From 2340ac50723e570575f0a2535c2c199429fc2552 Mon Sep 17 00:00:00 2001 From: Nakul Sabharwal Date: Thu, 24 Jan 2019 18:38:03 +0530 Subject: [PATCH] Merged extensions and generated, refreshed sdk, renamed response classes and deleted Base*.java files of generated folders of models and extensions. --- .../extensions/ActivityHistoryItem.java | 134 +- .../models/extensions/AdministrativeUnit.java | 60 +- .../graph/models/extensions/Alert.java | 322 ++- .../graph/models/extensions/AlertTrigger.java | 93 +- .../AllDevicesAssignmentTarget.java | 60 +- .../AllLicensedUsersAssignmentTarget.java | 60 +- .../extensions/AlternativeSecurityId.java | 93 +- .../extensions/AndroidCompliancePolicy.java | 230 +- .../AndroidCustomConfiguration.java | 69 +- .../AndroidGeneralDeviceConfiguration.java | 448 +++- .../models/extensions/AndroidLobApp.java | 93 +- .../AndroidManagedAppProtection.java | 142 +- .../AndroidManagedAppRegistration.java | 60 +- .../AndroidMinimumOperatingSystem.java | 133 +- .../AndroidMobileAppIdentifier.java | 68 +- .../models/extensions/AndroidStoreApp.java | 85 +- .../AndroidWorkProfileCompliancePolicy.java | 230 +- ...AndroidWorkProfileCustomConfiguration.java | 69 +- ...WorkProfileGeneralDeviceConfiguration.java | 335 ++- .../graph/models/extensions/AppCatalogs.java | 85 +- .../AppConfigurationSettingItem.java | 94 +- .../graph/models/extensions/AppListItem.java | 101 +- .../AppleDeviceFeaturesConfigurationBase.java | 60 +- .../ApplePushNotificationCertificate.java | 100 +- .../models/extensions/AssignedLicense.java | 85 +- .../graph/models/extensions/AssignedPlan.java | 101 +- .../graph/models/extensions/Attachment.java | 100 +- .../graph/models/extensions/Attendee.java | 69 +- .../extensions/AttendeeAvailability.java | 87 +- .../graph/models/extensions/AttendeeBase.java | 69 +- .../graph/models/extensions/Audio.java | 197 +- .../extensions/AutomaticRepliesMailTips.java | 103 +- .../extensions/AutomaticRepliesSetting.java | 120 +- .../graph/models/extensions/BaseItem.java | 149 +- .../models/extensions/BaseItemVersion.java | 86 +- .../BitLockerRemovableDrivePolicy.java | 94 +- .../models/extensions/BooleanColumn.java | 69 +- .../models/extensions/CalculatedColumn.java | 93 +- .../graph/models/extensions/Calendar.java | 215 +- .../models/extensions/CalendarGroup.java | 109 +- .../graph/models/extensions/Channel.java | 101 +- .../graph/models/extensions/ChoiceColumn.java | 93 +- .../extensions/CloudAppSecurityState.java | 93 +- .../models/extensions/ColumnDefinition.java | 222 +- .../graph/models/extensions/ColumnLink.java | 68 +- .../extensions/ComplexExtensionValue.java | 69 +- ...igurationManagerClientEnabledFeatures.java | 117 +- .../graph/models/extensions/Contact.java | 410 ++- .../models/extensions/ContactFolder.java | 176 +- .../graph/models/extensions/ContentType.java | 159 +- .../models/extensions/ContentTypeInfo.java | 77 +- .../models/extensions/ContentTypeOrder.java | 85 +- .../graph/models/extensions/Contract.java | 92 +- .../graph/models/extensions/Conversation.java | 125 +- .../models/extensions/ConversationThread.java | 150 +- .../ConversationThreadReplyBody.java | 59 +- .../models/extensions/CurrencyColumn.java | 77 +- .../models/extensions/CustomTimeZone.java | 86 +- .../extensions/DataPolicyOperation.java | 109 +- .../models/extensions/DateTimeColumn.java | 85 +- .../models/extensions/DateTimeTimeZone.java | 85 +- .../extensions/DaylightTimeZoneOffset.java | 68 +- .../models/extensions/DefaultColumnValue.java | 85 +- .../DefaultManagedAppProtection.java | 176 +- .../DefenderDetectedMalwareActions.java | 102 +- ...UserFromSharedAppleDeviceActionResult.java | 68 +- .../graph/models/extensions/Deleted.java | 77 +- .../graph/models/extensions/DetectedApp.java | 117 +- .../graph/models/extensions/Device.java | 296 ++- .../models/extensions/DeviceActionResult.java | 102 +- ...eviceAndAppManagementAssignmentTarget.java | 69 +- .../DeviceAndAppManagementRoleAssignment.java | 68 +- .../DeviceAndAppManagementRoleDefinition.java | 60 +- .../extensions/DeviceAppManagement.java | 442 +++- .../models/extensions/DeviceCategory.java | 76 +- .../DeviceComplianceActionItem.java | 93 +- .../DeviceComplianceDeviceOverview.java | 116 +- .../DeviceComplianceDeviceStatus.java | 117 +- .../extensions/DeviceCompliancePolicy.java | 243 +- .../DeviceCompliancePolicyAssignBody.java | 59 +- .../DeviceCompliancePolicyAssignment.java | 69 +- ...iceCompliancePolicyDeviceStateSummary.java | 132 +- ...ancePolicyScheduleActionsForRulesBody.java | 59 +- .../DeviceCompliancePolicySettingState.java | 167 +- ...ceCompliancePolicySettingStateSummary.java | 166 +- .../DeviceCompliancePolicyState.java | 111 +- ...eviceComplianceScheduledActionForRule.java | 93 +- .../DeviceComplianceSettingState.java | 149 +- .../DeviceComplianceUserOverview.java | 116 +- .../DeviceComplianceUserStatus.java | 101 +- .../extensions/DeviceConfiguration.java | 218 +- .../DeviceConfigurationAssignBody.java | 59 +- .../DeviceConfigurationAssignment.java | 69 +- .../DeviceConfigurationDeviceOverview.java | 116 +- ...DeviceConfigurationDeviceStateSummary.java | 116 +- .../DeviceConfigurationDeviceStatus.java | 117 +- .../DeviceConfigurationSettingState.java | 167 +- .../extensions/DeviceConfigurationState.java | 111 +- .../DeviceConfigurationUserOverview.java | 116 +- .../DeviceConfigurationUserStatus.java | 101 +- .../DeviceEnrollmentConfiguration.java | 133 +- ...viceEnrollmentConfigurationAssignBody.java | 59 +- ...nrollmentConfigurationSetPriorityBody.java | 59 +- .../DeviceEnrollmentLimitConfiguration.java | 68 +- .../DeviceEnrollmentPlatformRestriction.java | 101 +- ...mentPlatformRestrictionsConfiguration.java | 101 +- ...tWindowsHelloForBusinessConfiguration.java | 158 +- .../DeviceExchangeAccessStateSummary.java | 109 +- .../models/extensions/DeviceGeoLocation.java | 133 +- .../DeviceHealthAttestationState.java | 325 ++- .../models/extensions/DeviceInstallState.java | 125 +- .../models/extensions/DeviceManagement.java | 666 ++++- .../DeviceManagementExchangeConnector.java | 134 +- ...ceManagementExchangeConnectorSyncBody.java | 59 +- .../extensions/DeviceManagementPartner.java | 126 +- .../extensions/DeviceManagementSettings.java | 93 +- .../DeviceManagementTroubleshootingEvent.java | 76 +- .../DeviceOperatingSystemSummary.java | 117 +- .../graph/models/extensions/Diagnostic.java | 85 +- .../graph/models/extensions/Directory.java | 85 +- .../models/extensions/DirectoryObject.java | 68 +- .../DirectoryObjectCheckMemberGroupsBody.java | 59 +- .../DirectoryObjectGetByIdsBody.java | 67 +- .../DirectoryObjectGetMemberGroupsBody.java | 59 +- .../DirectoryObjectGetMemberObjectsBody.java | 59 +- .../models/extensions/DirectoryRole.java | 108 +- .../extensions/DirectoryRoleTemplate.java | 76 +- .../graph/models/extensions/Domain.java | 205 +- .../extensions/DomainDnsCnameRecord.java | 68 +- .../models/extensions/DomainDnsMxRecord.java | 76 +- .../models/extensions/DomainDnsRecord.java | 100 +- .../models/extensions/DomainDnsSrvRecord.java | 108 +- .../models/extensions/DomainDnsTxtRecord.java | 68 +- .../DomainDnsUnavailableRecord.java | 68 +- .../extensions/DomainForceDeleteBody.java | 59 +- .../graph/models/extensions/DomainState.java | 93 +- .../graph/models/extensions/Drive.java | 168 +- .../graph/models/extensions/DriveItem.java | 354 ++- .../models/extensions/DriveItemCopyBody.java | 67 +- .../extensions/DriveItemCreateLinkBody.java | 67 +- .../DriveItemCreateUploadSessionBody.java | 59 +- .../extensions/DriveItemInviteBody.java | 91 +- .../extensions/DriveItemPreviewBody.java | 67 +- .../DriveItemUploadableProperties.java | 94 +- .../models/extensions/DriveItemVersion.java | 68 +- .../models/extensions/DriveRecipient.java | 93 +- .../extensions/EBookInstallSummary.java | 108 +- .../models/extensions/EdgeSearchEngine.java | 69 +- .../extensions/EdgeSearchEngineBase.java | 69 +- .../extensions/EdgeSearchEngineCustom.java | 68 +- .../EditionUpgradeConfiguration.java | 94 +- .../models/extensions/EducationClass.java | 216 +- .../extensions/EducationOrganization.java | 85 +- .../extensions/EducationRelatedContact.java | 118 +- .../models/extensions/EducationRoot.java | 143 +- .../models/extensions/EducationSchool.java | 200 +- .../models/extensions/EducationStudent.java | 118 +- .../models/extensions/EducationTeacher.java | 85 +- .../models/extensions/EducationTerm.java | 101 +- .../models/extensions/EducationUser.java | 370 ++- .../graph/models/extensions/EmailAddress.java | 85 +- .../EnrollmentConfigurationAssignment.java | 69 +- .../EnrollmentTroubleshootingEvent.java | 126 +- .../graph/models/extensions/Entity.java | 77 +- .../graph/models/extensions/Event.java | 437 +++- .../models/extensions/EventAcceptBody.java | 67 +- .../models/extensions/EventDeclineBody.java | 67 +- .../graph/models/extensions/EventMessage.java | 78 +- .../extensions/EventSnoozeReminderBody.java | 59 +- .../EventTentativelyAcceptBody.java | 67 +- .../ExclusionGroupAssignmentTarget.java | 60 +- .../graph/models/extensions/Extension.java | 60 +- .../extensions/ExtensionSchemaProperty.java | 85 +- .../graph/models/extensions/ExternalLink.java | 77 +- .../models/extensions/FieldValueSet.java | 60 +- .../graph/models/extensions/File.java | 94 +- .../models/extensions/FileAttachment.java | 84 +- .../models/extensions/FileEncryptionInfo.java | 125 +- .../graph/models/extensions/FileHash.java | 86 +- .../models/extensions/FileSecurityState.java | 102 +- .../models/extensions/FileSystemInfo.java | 93 +- .../graph/models/extensions/Folder.java | 86 +- .../graph/models/extensions/FolderView.java | 93 +- .../graph/models/extensions/FollowupFlag.java | 103 +- .../models/extensions/GeoCoordinates.java | 93 +- .../graph/models/extensions/Group.java | 692 ++++- .../extensions/GroupAssignmentTarget.java | 68 +- .../extensions/GroupLifecyclePolicy.java | 84 +- .../GroupLifecyclePolicyAddGroupBody.java | 59 +- .../GroupLifecyclePolicyRemoveGroupBody.java | 59 +- .../graph/models/extensions/GroupSetting.java | 85 +- .../extensions/GroupSettingTemplate.java | 85 +- .../graph/models/extensions/Hashes.java | 93 +- .../models/extensions/HostSecurityState.java | 141 +- .../IBaseGraphServiceClient.java | 3 +- .../extensions/IGraphServiceClient.java | 21 +- .../graph/models/extensions/IPv4Range.java | 76 +- .../graph/models/extensions/IPv6Range.java | 76 +- .../graph/models/extensions/Identity.java | 85 +- .../graph/models/extensions/IdentitySet.java | 94 +- .../graph/models/extensions/Image.java | 85 +- .../graph/models/extensions/ImageInfo.java | 101 +- .../extensions/InferenceClassification.java | 85 +- .../InferenceClassificationOverride.java | 78 +- .../models/extensions/InsightIdentity.java | 93 +- .../extensions/InternetMessageHeader.java | 85 +- .../graph/models/extensions/IntuneBrand.java | 183 +- .../graph/models/extensions/Invitation.java | 134 +- .../extensions/InvitedUserMessageInfo.java | 94 +- .../extensions/IosCertificateProfile.java | 60 +- .../extensions/IosCompliancePolicy.java | 174 +- .../extensions/IosCustomConfiguration.java | 84 +- .../IosDeviceFeaturesConfiguration.java | 103 +- .../models/extensions/IosDeviceType.java | 85 +- .../IosGeneralDeviceConfiguration.java | 1123 +++++++- .../models/extensions/IosHomeScreenApp.java | 68 +- .../extensions/IosHomeScreenFolder.java | 69 +- .../extensions/IosHomeScreenFolderPage.java | 86 +- .../models/extensions/IosHomeScreenItem.java | 77 +- .../models/extensions/IosHomeScreenPage.java | 86 +- .../graph/models/extensions/IosLobApp.java | 110 +- .../IosLobAppAssignmentSettings.java | 68 +- .../extensions/IosManagedAppProtection.java | 127 +- .../extensions/IosManagedAppRegistration.java | 60 +- .../extensions/IosMinimumOperatingSystem.java | 109 +- .../extensions/IosMobileAppConfiguration.java | 77 +- .../extensions/IosMobileAppIdentifier.java | 68 +- .../extensions/IosNetworkUsageRule.java | 94 +- .../extensions/IosNotificationSettings.java | 142 +- .../graph/models/extensions/IosStoreApp.java | 94 +- .../IosStoreAppAssignmentSettings.java | 68 +- .../extensions/IosUpdateConfiguration.java | 93 +- .../extensions/IosUpdateDeviceStatus.java | 150 +- .../graph/models/extensions/IosVppApp.java | 143 +- .../IosVppAppAssignmentSettings.java | 76 +- .../graph/models/extensions/IosVppEBook.java | 124 +- .../extensions/IosVppEBookAssignment.java | 60 +- .../graph/models/extensions/IpRange.java | 69 +- .../models/extensions/ItemAttachment.java | 69 +- .../graph/models/extensions/ItemBody.java | 86 +- .../models/extensions/ItemPreviewInfo.java | 93 +- .../models/extensions/ItemReference.java | 126 +- .../graph/models/extensions/KeyValuePair.java | 85 +- .../models/extensions/LicenseDetails.java | 85 +- .../models/extensions/LicenseUnitsDetail.java | 93 +- .../graph/models/extensions/List.java | 179 +- .../graph/models/extensions/ListInfo.java | 93 +- .../graph/models/extensions/ListItem.java | 121 +- .../models/extensions/ListItemVersion.java | 69 +- .../graph/models/extensions/LocaleInfo.java | 85 +- .../LocalizedNotificationMessage.java | 100 +- .../extensions/LocateDeviceActionResult.java | 69 +- .../graph/models/extensions/Location.java | 137 +- .../models/extensions/LocationConstraint.java | 94 +- .../extensions/LocationConstraintItem.java | 68 +- .../graph/models/extensions/LookupColumn.java | 109 +- .../extensions/MacOSCompliancePolicy.java | 198 +- .../extensions/MacOSCustomConfiguration.java | 84 +- .../MacOSDeviceFeaturesConfiguration.java | 60 +- .../MacOSGeneralDeviceConfiguration.java | 159 +- .../extensions/MacOSOfficeSuiteApp.java | 60 +- .../graph/models/extensions/MailFolder.java | 225 +- .../models/extensions/MailFolderCopyBody.java | 59 +- .../models/extensions/MailFolderMoveBody.java | 59 +- .../graph/models/extensions/MailTips.java | 170 +- .../models/extensions/MailTipsError.java | 85 +- .../models/extensions/MailboxSettings.java | 112 +- .../graph/models/extensions/MalwareState.java | 109 +- .../extensions/ManagedAndroidLobApp.java | 93 +- .../extensions/ManagedAndroidStoreApp.java | 85 +- .../graph/models/extensions/ManagedApp.java | 77 +- .../extensions/ManagedAppConfiguration.java | 69 +- .../ManagedAppDiagnosticStatus.java | 93 +- .../extensions/ManagedAppOperation.java | 92 +- .../models/extensions/ManagedAppPolicy.java | 100 +- .../ManagedAppPolicyDeploymentSummary.java | 101 +- ...nagedAppPolicyDeploymentSummaryPerApp.java | 86 +- .../ManagedAppPolicyTargetAppsBody.java | 59 +- .../extensions/ManagedAppProtection.java | 272 +- .../ManagedAppProtectionTargetAppsBody.java | 59 +- .../extensions/ManagedAppRegistration.java | 230 +- .../models/extensions/ManagedAppStatus.java | 76 +- .../extensions/ManagedAppStatusRaw.java | 68 +- .../models/extensions/ManagedDevice.java | 498 +++- .../ManagedDeviceCleanWindowsDeviceBody.java | 59 +- ...ceDeleteUserFromSharedAppleDeviceBody.java | 59 +- .../ManagedDeviceMobileAppConfiguration.java | 201 +- ...eviceMobileAppConfigurationAssignBody.java | 59 +- ...eviceMobileAppConfigurationAssignment.java | 69 +- ...iceMobileAppConfigurationDeviceStatus.java | 117 +- ...ceMobileAppConfigurationDeviceSummary.java | 116 +- ...eviceMobileAppConfigurationUserStatus.java | 101 +- ...viceMobileAppConfigurationUserSummary.java | 116 +- .../extensions/ManagedDeviceOverview.java | 102 +- ...dDeviceUpdateWindowsDeviceAccountBody.java | 59 +- .../ManagedDeviceWindowsDefenderScanBody.java | 59 +- .../extensions/ManagedDeviceWipeBody.java | 75 +- .../graph/models/extensions/ManagedEBook.java | 217 +- .../extensions/ManagedEBookAssignBody.java | 59 +- .../extensions/ManagedEBookAssignment.java | 78 +- .../models/extensions/ManagedIOSLobApp.java | 110 +- .../models/extensions/ManagedIOSStoreApp.java | 94 +- .../models/extensions/ManagedMobileApp.java | 77 +- .../extensions/ManagedMobileLobApp.java | 109 +- ...MdmWindowsInformationProtectionPolicy.java | 60 +- .../MediaContentRatingAustralia.java | 87 +- .../extensions/MediaContentRatingCanada.java | 87 +- .../extensions/MediaContentRatingFrance.java | 87 +- .../extensions/MediaContentRatingGermany.java | 87 +- .../extensions/MediaContentRatingIreland.java | 87 +- .../extensions/MediaContentRatingJapan.java | 87 +- .../MediaContentRatingNewZealand.java | 87 +- .../MediaContentRatingUnitedKingdom.java | 87 +- .../MediaContentRatingUnitedStates.java | 87 +- .../extensions/MeetingTimeSuggestion.java | 121 +- .../MeetingTimeSuggestionsResult.java | 86 +- .../graph/models/extensions/Message.java | 366 ++- .../models/extensions/MessageCopyBody.java | 59 +- .../models/extensions/MessageForwardBody.java | 67 +- .../models/extensions/MessageMoveBody.java | 59 +- .../extensions/MessageReplyAllBody.java | 59 +- .../models/extensions/MessageReplyBody.java | 59 +- .../graph/models/extensions/MessageRule.java | 126 +- .../models/extensions/MessageRuleActions.java | 159 +- .../extensions/MessageRulePredicates.java | 314 ++- .../MicrosoftStoreForBusinessApp.java | 101 +- ...StoreForBusinessAppAssignmentSettings.java | 68 +- .../graph/models/extensions/MimeContent.java | 85 +- .../graph/models/extensions/MobileApp.java | 216 +- .../extensions/MobileAppAssignBody.java | 59 +- .../extensions/MobileAppAssignment.java | 87 +- .../MobileAppAssignmentSettings.java | 69 +- .../models/extensions/MobileAppCategory.java | 76 +- .../models/extensions/MobileAppContent.java | 85 +- .../extensions/MobileAppContentFile.java | 133 +- .../MobileAppContentFileCommitBody.java | 59 +- .../extensions/MobileAppIdentifier.java | 69 +- .../graph/models/extensions/MobileLobApp.java | 109 +- .../MobileThreatDefenseConnector.java | 125 +- .../MultiValueLegacyExtendedProperty.java | 68 +- .../models/extensions/NetworkConnection.java | 216 +- .../graph/models/extensions/Notebook.java | 160 +- .../extensions/NotebookCopyNotebookBody.java | 91 +- .../models/extensions/NotebookLinks.java | 86 +- .../NotificationMessageTemplate.java | 118 +- .../graph/models/extensions/NumberColumn.java | 101 +- .../extensions/OfficeGraphInsights.java | 135 +- .../graph/models/extensions/OmaSetting.java | 93 +- .../models/extensions/OmaSettingBase64.java | 76 +- .../models/extensions/OmaSettingBoolean.java | 68 +- .../models/extensions/OmaSettingDateTime.java | 68 +- .../extensions/OmaSettingFloatingPoint.java | 68 +- .../models/extensions/OmaSettingInteger.java | 68 +- .../models/extensions/OmaSettingString.java | 68 +- .../extensions/OmaSettingStringXml.java | 76 +- .../OnPremisesConditionalAccessSettings.java | 92 +- .../OnPremisesExtensionAttributes.java | 189 +- .../OnPremisesProvisioningError.java | 101 +- .../graph/models/extensions/Onenote.java | 210 +- .../extensions/OnenoteEntityBaseModel.java | 68 +- .../OnenoteEntityHierarchyModel.java | 93 +- .../OnenoteEntitySchemaObjectModel.java | 68 +- .../models/extensions/OnenoteOperation.java | 93 +- .../extensions/OnenoteOperationError.java | 85 +- .../graph/models/extensions/OnenotePage.java | 143 +- .../OnenotePageCopyToSectionBody.java | 83 +- .../OnenotePageOnenotePatchContentBody.java | 59 +- .../models/extensions/OnenotePagePreview.java | 86 +- .../extensions/OnenotePagePreviewLinks.java | 78 +- .../OnenotePatchContentCommand.java | 103 +- .../models/extensions/OnenoteResource.java | 68 +- .../models/extensions/OnenoteSection.java | 128 +- .../OnenoteSectionCopyToNotebookBody.java | 91 +- .../OnenoteSectionCopyToSectionGroupBody.java | 91 +- .../models/extensions/OpenTypeExtension.java | 68 +- .../graph/models/extensions/Operation.java | 85 +- .../models/extensions/OperationError.java | 85 +- .../graph/models/extensions/Organization.java | 250 +- .../models/extensions/OutlookCategory.java | 77 +- .../extensions/OutlookGeoCoordinates.java | 109 +- .../graph/models/extensions/OutlookItem.java | 92 +- .../graph/models/extensions/OutlookUser.java | 85 +- .../graph/models/extensions/Package.java | 77 +- .../graph/models/extensions/PageLinks.java | 86 +- .../models/extensions/PasswordProfile.java | 85 +- .../extensions/PatternedRecurrence.java | 87 +- .../graph/models/extensions/Permission.java | 112 +- .../graph/models/extensions/Person.java | 217 +- .../extensions/PersonOrGroupColumn.java | 93 +- .../graph/models/extensions/PersonType.java | 85 +- .../graph/models/extensions/Phone.java | 102 +- .../graph/models/extensions/Photo.java | 133 +- .../models/extensions/PhysicalAddress.java | 109 +- .../graph/models/extensions/Planner.java | 135 +- .../extensions/PlannerAppliedCategories.java | 113 +- .../PlannerAssignedToTaskBoardTaskFormat.java | 93 +- .../models/extensions/PlannerAssignment.java | 98 +- .../models/extensions/PlannerAssignments.java | 70 +- .../models/extensions/PlannerBucket.java | 116 +- .../PlannerBucketTaskBoardTaskFormat.java | 72 +- .../PlannerCategoryDescriptions.java | 117 +- .../extensions/PlannerChecklistItem.java | 115 +- .../extensions/PlannerChecklistItems.java | 90 +- .../extensions/PlannerExternalReference.java | 114 +- .../extensions/PlannerExternalReferences.java | 149 +- .../graph/models/extensions/PlannerGroup.java | 85 +- .../PlannerOrderHintsByAssignee.java | 69 +- .../graph/models/extensions/PlannerPlan.java | 152 +- .../models/extensions/PlannerPlanDetails.java | 82 +- .../PlannerProgressTaskBoardTaskFormat.java | 72 +- .../graph/models/extensions/PlannerTask.java | 266 +- .../models/extensions/PlannerTaskDetails.java | 103 +- .../graph/models/extensions/PlannerUser.java | 110 +- .../models/extensions/PlannerUserIds.java | 69 +- .../graph/models/extensions/Post.java | 235 +- .../models/extensions/PostForwardBody.java | 67 +- .../models/extensions/PostReplyBody.java | 59 +- .../models/extensions/PrivacyProfile.java | 85 +- .../graph/models/extensions/Process.java | 167 +- .../graph/models/extensions/ProfilePhoto.java | 76 +- .../models/extensions/ProvisionedPlan.java | 93 +- .../models/extensions/ProxiedDomain.java | 85 +- .../models/extensions/PublicationFacet.java | 85 +- .../graph/models/extensions/Quota.java | 109 +- .../models/extensions/RecentNotebook.java | 103 +- .../extensions/RecentNotebookLinks.java | 86 +- .../graph/models/extensions/Recipient.java | 78 +- .../models/extensions/RecurrencePattern.java | 128 +- .../models/extensions/RecurrenceRange.java | 110 +- .../extensions/ReferenceAttachment.java | 60 +- .../models/extensions/RegistryKeyState.java | 152 +- .../graph/models/extensions/Reminder.java | 135 +- .../extensions/RemoteAssistancePartner.java | 93 +- .../graph/models/extensions/RemoteItem.java | 213 +- .../extensions/RemoteLockActionResult.java | 68 +- .../graph/models/extensions/Report.java | 69 +- .../graph/models/extensions/ReportRoot.java | 60 +- .../extensions/ResetPasscodeActionResult.java | 68 +- .../models/extensions/ResourceAction.java | 85 +- .../models/extensions/ResourceOperation.java | 84 +- .../models/extensions/ResourceReference.java | 93 +- .../extensions/ResourceVisualization.java | 133 +- .../models/extensions/ResponseStatus.java | 86 +- .../graph/models/extensions/RgbColor.java | 93 +- .../models/extensions/RoleAssignment.java | 93 +- .../models/extensions/RoleDefinition.java | 118 +- .../models/extensions/RolePermission.java | 78 +- .../graph/models/extensions/Root.java | 69 +- .../models/extensions/SchemaExtension.java | 101 +- .../models/extensions/ScoredEmailAddress.java | 102 +- .../graph/models/extensions/SearchResult.java | 77 +- .../graph/models/extensions/SectionGroup.java | 143 +- .../graph/models/extensions/SectionLinks.java | 86 +- .../graph/models/extensions/Security.java | 85 +- .../extensions/SecurityVendorInformation.java | 101 +- .../models/extensions/ServicePlanInfo.java | 101 +- .../models/extensions/SettingSource.java | 85 +- .../extensions/SettingStateDeviceSummary.java | 132 +- .../extensions/SettingTemplateValue.java | 101 +- .../graph/models/extensions/SettingValue.java | 85 +- .../graph/models/extensions/Shared.java | 102 +- .../models/extensions/SharedDriveItem.java | 137 +- .../models/extensions/SharedInsight.java | 111 +- .../SharedPCAccountManagerPolicy.java | 102 +- .../extensions/SharedPCConfiguration.java | 158 +- .../models/extensions/SharepointIds.java | 117 +- .../models/extensions/SharingDetail.java | 111 +- .../models/extensions/SharingInvitation.java | 102 +- .../graph/models/extensions/SharingLink.java | 102 +- .../SingleValueLegacyExtendedProperty.java | 68 +- .../graph/models/extensions/Site.java | 261 +- .../models/extensions/SiteCollection.java | 86 +- .../graph/models/extensions/SizeRange.java | 85 +- .../SoftwareUpdateStatusSummary.java | 180 +- .../models/extensions/SpecialFolder.java | 77 +- .../extensions/StandardTimeZoneOffset.java | 110 +- .../models/extensions/SubscribedSku.java | 118 +- .../graph/models/extensions/Subscription.java | 116 +- .../graph/models/extensions/SystemFacet.java | 69 +- .../TargetedManagedAppConfiguration.java | 135 +- ...etedManagedAppConfigurationAssignBody.java | 59 +- ...ManagedAppConfigurationTargetAppsBody.java | 59 +- .../TargetedManagedAppPolicyAssignment.java | 69 +- .../TargetedManagedAppProtection.java | 93 +- ...argetedManagedAppProtectionAssignBody.java | 59 +- .../graph/models/extensions/Team.java | 187 +- .../models/extensions/TeamArchiveBody.java | 59 +- .../models/extensions/TeamClassSettings.java | 77 +- .../models/extensions/TeamCloneBody.java | 99 +- .../models/extensions/TeamFunSettings.java | 102 +- .../models/extensions/TeamGuestSettings.java | 85 +- .../models/extensions/TeamMemberSettings.java | 109 +- .../extensions/TeamMessagingSettings.java | 109 +- .../graph/models/extensions/TeamsApp.java | 110 +- .../models/extensions/TeamsAppDefinition.java | 84 +- .../extensions/TeamsAppInstallation.java | 78 +- .../extensions/TeamsAsyncOperation.java | 127 +- .../graph/models/extensions/TeamsTab.java | 94 +- .../extensions/TeamsTabConfiguration.java | 101 +- .../TelecomExpenseManagementPartner.java | 100 +- .../models/extensions/TermsAndConditions.java | 174 +- .../TermsAndConditionsAcceptanceStatus.java | 93 +- .../TermsAndConditionsAssignment.java | 69 +- .../graph/models/extensions/TextColumn.java | 109 +- .../graph/models/extensions/Thumbnail.java | 101 +- .../graph/models/extensions/ThumbnailSet.java | 93 +- .../models/extensions/TimeConstraint.java | 87 +- .../graph/models/extensions/TimeSlot.java | 86 +- .../graph/models/extensions/TimeZoneBase.java | 77 +- .../extensions/TimeZoneInformation.java | 85 +- .../graph/models/extensions/Trending.java | 102 +- ...teWindowsDeviceAccountActionParameter.java | 118 +- .../models/extensions/UploadSession.java | 93 +- .../graph/models/extensions/UsageDetails.java | 85 +- .../graph/models/extensions/UsedInsight.java | 95 +- .../graph/models/extensions/User.java | 1212 ++++++++- .../graph/models/extensions/UserActivity.java | 191 +- .../extensions/UserAssignLicenseBody.java | 67 +- .../extensions/UserChangePasswordBody.java | 67 +- .../UserExportPersonalDataBody.java | 59 +- .../extensions/UserFindMeetingTimesBody.java | 115 +- .../extensions/UserGetMailTipsBody.java | 67 +- .../extensions/UserInstallStateSummary.java | 117 +- .../models/extensions/UserSecurityState.java | 184 +- .../models/extensions/UserSendMailBody.java | 67 +- .../graph/models/extensions/UserSettings.java | 76 +- ...anagedAppRegistrationsByDeviceTagBody.java | 59 +- .../models/extensions/VerifiedDomain.java | 109 +- .../graph/models/extensions/Video.java | 149 +- .../graph/models/extensions/VisualInfo.java | 110 +- .../models/extensions/VppLicensingType.java | 85 +- .../graph/models/extensions/VppToken.java | 151 +- .../models/extensions/VulnerabilityState.java | 93 +- .../graph/models/extensions/WebApp.java | 76 +- .../graph/models/extensions/Website.java | 94 +- .../extensions/Windows10CompliancePolicy.java | 213 +- .../Windows10CustomConfiguration.java | 69 +- ...dows10EndpointProtectionConfiguration.java | 356 ++- ...priseModernAppManagementConfiguration.java | 68 +- .../Windows10GeneralConfiguration.java | 1685 +++++++++++- .../Windows10MobileCompliancePolicy.java | 189 +- .../Windows10NetworkProxyServer.java | 93 +- ...indows10SecureAssessmentConfiguration.java | 100 +- .../Windows10TeamGeneralConfiguration.java | 222 +- .../extensions/Windows81CompliancePolicy.java | 149 +- .../Windows81GeneralConfiguration.java | 328 ++- ...AdvancedThreatProtectionConfiguration.java | 76 +- .../WindowsDefenderScanActionResult.java | 68 +- .../extensions/WindowsDeviceADAccount.java | 76 +- .../extensions/WindowsDeviceAccount.java | 77 +- .../WindowsDeviceAzureADAccount.java | 68 +- .../WindowsFirewallNetworkProfile.java | 166 +- .../WindowsInformationProtection.java | 314 ++- .../WindowsInformationProtectionApp.java | 109 +- ...formationProtectionAppLearningSummary.java | 85 +- ...owsInformationProtectionAppLockerFile.java | 92 +- ...indowsInformationProtectionAssignBody.java | 59 +- ...tionProtectionDataRecoveryCertificate.java | 101 +- ...indowsInformationProtectionDesktopApp.java | 84 +- ...nformationProtectionIPRangeCollection.java | 86 +- ...ationProtectionNetworkLearningSummary.java | 76 +- .../WindowsInformationProtectionPolicy.java | 157 +- ...tionProtectionProxiedDomainCollection.java | 86 +- ...formationProtectionResourceCollection.java | 85 +- .../WindowsInformationProtectionStoreApp.java | 60 +- .../WindowsMinimumOperatingSystem.java | 93 +- .../models/extensions/WindowsMobileMSI.java | 92 +- .../WindowsPhone81CompliancePolicy.java | 149 +- .../WindowsPhone81CustomConfiguration.java | 69 +- .../WindowsPhone81GeneralConfiguration.java | 295 ++- .../extensions/WindowsUniversalAppX.java | 127 +- .../WindowsUpdateActiveHoursInstall.java | 76 +- ...WindowsUpdateForBusinessConfiguration.java | 169 +- .../WindowsUpdateInstallScheduleType.java | 69 +- .../WindowsUpdateScheduledInstall.java | 77 +- .../graph/models/extensions/Workbook.java | 153 +- .../extensions/WorkbookApplication.java | 68 +- .../WorkbookApplicationCalculateBody.java | 59 +- .../models/extensions/WorkbookChart.java | 179 +- .../extensions/WorkbookChartAddBody.java | 75 +- .../extensions/WorkbookChartAreaFormat.java | 78 +- .../models/extensions/WorkbookChartAxes.java | 85 +- .../models/extensions/WorkbookChartAxis.java | 127 +- .../extensions/WorkbookChartAxisFormat.java | 78 +- .../extensions/WorkbookChartAxisTitle.java | 85 +- .../WorkbookChartAxisTitleFormat.java | 69 +- .../WorkbookChartDataLabelFormat.java | 78 +- .../extensions/WorkbookChartDataLabels.java | 133 +- .../models/extensions/WorkbookChartFill.java | 60 +- .../WorkbookChartFillSetSolidColorBody.java | 59 +- .../models/extensions/WorkbookChartFont.java | 108 +- .../extensions/WorkbookChartGridlines.java | 77 +- .../WorkbookChartGridlinesFormat.java | 69 +- .../extensions/WorkbookChartLegend.java | 93 +- .../extensions/WorkbookChartLegendFormat.java | 78 +- .../extensions/WorkbookChartLineFormat.java | 68 +- .../models/extensions/WorkbookChartPoint.java | 77 +- .../extensions/WorkbookChartPointFormat.java | 69 +- .../extensions/WorkbookChartSeries.java | 102 +- .../extensions/WorkbookChartSeriesFormat.java | 78 +- .../extensions/WorkbookChartSetDataBody.java | 67 +- .../WorkbookChartSetPositionBody.java | 67 +- .../models/extensions/WorkbookChartTitle.java | 93 +- .../extensions/WorkbookChartTitleFormat.java | 78 +- .../extensions/WorkbookCreateSessionBody.java | 59 +- .../models/extensions/WorkbookFilter.java | 69 +- .../extensions/WorkbookFilterApplyBody.java | 59 +- ...kbookFilterApplyBottomItemsFilterBody.java | 59 +- ...ookFilterApplyBottomPercentFilterBody.java | 59 +- ...orkbookFilterApplyCellColorFilterBody.java | 59 +- .../WorkbookFilterApplyCustomFilterBody.java | 75 +- .../WorkbookFilterApplyDynamicFilterBody.java | 59 +- ...orkbookFilterApplyFontColorFilterBody.java | 59 +- .../WorkbookFilterApplyIconFilterBody.java | 59 +- ...WorkbookFilterApplyTopItemsFilterBody.java | 59 +- ...rkbookFilterApplyTopPercentFilterBody.java | 59 +- .../WorkbookFilterApplyValuesFilterBody.java | 59 +- .../extensions/WorkbookFilterCriteria.java | 134 +- .../extensions/WorkbookFilterDatetime.java | 85 +- .../extensions/WorkbookFormatProtection.java | 76 +- .../extensions/WorkbookFunctionResult.java | 76 +- .../models/extensions/WorkbookFunctions.java | 60 +- .../extensions/WorkbookFunctionsAbsBody.java | 59 +- .../WorkbookFunctionsAccrIntBody.java | 115 +- .../WorkbookFunctionsAccrIntMBody.java | 91 +- .../extensions/WorkbookFunctionsAcosBody.java | 59 +- .../WorkbookFunctionsAcoshBody.java | 59 +- .../extensions/WorkbookFunctionsAcotBody.java | 59 +- .../WorkbookFunctionsAcothBody.java | 59 +- .../WorkbookFunctionsAmorDegrcBody.java | 107 +- .../WorkbookFunctionsAmorLincBody.java | 107 +- .../extensions/WorkbookFunctionsAndBody.java | 59 +- .../WorkbookFunctionsArabicBody.java | 59 +- .../WorkbookFunctionsAreasBody.java | 59 +- .../extensions/WorkbookFunctionsAscBody.java | 59 +- .../extensions/WorkbookFunctionsAsinBody.java | 59 +- .../WorkbookFunctionsAsinhBody.java | 59 +- .../WorkbookFunctionsAtan2Body.java | 67 +- .../extensions/WorkbookFunctionsAtanBody.java | 59 +- .../WorkbookFunctionsAtanhBody.java | 59 +- .../WorkbookFunctionsAveDevBody.java | 59 +- .../WorkbookFunctionsAverageABody.java | 59 +- .../WorkbookFunctionsAverageBody.java | 59 +- .../WorkbookFunctionsAverageIfBody.java | 75 +- .../WorkbookFunctionsAverageIfsBody.java | 67 +- .../WorkbookFunctionsBahtTextBody.java | 59 +- .../extensions/WorkbookFunctionsBaseBody.java | 75 +- .../WorkbookFunctionsBesselIBody.java | 67 +- .../WorkbookFunctionsBesselJBody.java | 67 +- .../WorkbookFunctionsBesselKBody.java | 67 +- .../WorkbookFunctionsBesselYBody.java | 67 +- .../WorkbookFunctionsBeta_DistBody.java | 99 +- .../WorkbookFunctionsBeta_InvBody.java | 91 +- .../WorkbookFunctionsBin2DecBody.java | 59 +- .../WorkbookFunctionsBin2HexBody.java | 67 +- .../WorkbookFunctionsBin2OctBody.java | 67 +- .../WorkbookFunctionsBinom_DistBody.java | 83 +- ...WorkbookFunctionsBinom_Dist_RangeBody.java | 83 +- .../WorkbookFunctionsBinom_InvBody.java | 75 +- .../WorkbookFunctionsBitandBody.java | 67 +- .../WorkbookFunctionsBitlshiftBody.java | 67 +- .../WorkbookFunctionsBitorBody.java | 67 +- .../WorkbookFunctionsBitrshiftBody.java | 67 +- .../WorkbookFunctionsBitxorBody.java | 67 +- .../WorkbookFunctionsCeiling_MathBody.java | 75 +- .../WorkbookFunctionsCeiling_PreciseBody.java | 67 +- .../extensions/WorkbookFunctionsCharBody.java | 59 +- .../WorkbookFunctionsChiSq_DistBody.java | 75 +- .../WorkbookFunctionsChiSq_Dist_RTBody.java | 67 +- .../WorkbookFunctionsChiSq_InvBody.java | 67 +- .../WorkbookFunctionsChiSq_Inv_RTBody.java | 67 +- .../WorkbookFunctionsChooseBody.java | 67 +- .../WorkbookFunctionsCleanBody.java | 59 +- .../extensions/WorkbookFunctionsCodeBody.java | 59 +- .../WorkbookFunctionsColumnsBody.java | 59 +- .../WorkbookFunctionsCombinBody.java | 67 +- .../WorkbookFunctionsCombinaBody.java | 67 +- .../WorkbookFunctionsComplexBody.java | 75 +- .../WorkbookFunctionsConcatenateBody.java | 59 +- .../WorkbookFunctionsConfidence_NormBody.java | 75 +- .../WorkbookFunctionsConfidence_TBody.java | 75 +- .../WorkbookFunctionsConvertBody.java | 75 +- .../extensions/WorkbookFunctionsCosBody.java | 59 +- .../extensions/WorkbookFunctionsCoshBody.java | 59 +- .../extensions/WorkbookFunctionsCotBody.java | 59 +- .../extensions/WorkbookFunctionsCothBody.java | 59 +- .../WorkbookFunctionsCountABody.java | 59 +- .../WorkbookFunctionsCountBlankBody.java | 59 +- .../WorkbookFunctionsCountBody.java | 59 +- .../WorkbookFunctionsCountIfBody.java | 67 +- .../WorkbookFunctionsCountIfsBody.java | 59 +- .../WorkbookFunctionsCoupDayBsBody.java | 83 +- .../WorkbookFunctionsCoupDaysBody.java | 83 +- .../WorkbookFunctionsCoupDaysNcBody.java | 83 +- .../WorkbookFunctionsCoupNcdBody.java | 83 +- .../WorkbookFunctionsCoupNumBody.java | 83 +- .../WorkbookFunctionsCoupPcdBody.java | 83 +- .../extensions/WorkbookFunctionsCscBody.java | 59 +- .../extensions/WorkbookFunctionsCschBody.java | 59 +- .../WorkbookFunctionsCumIPmtBody.java | 99 +- .../WorkbookFunctionsCumPrincBody.java | 99 +- .../extensions/WorkbookFunctionsDateBody.java | 75 +- .../WorkbookFunctionsDatevalueBody.java | 59 +- .../WorkbookFunctionsDaverageBody.java | 75 +- .../extensions/WorkbookFunctionsDayBody.java | 59 +- .../WorkbookFunctionsDays360Body.java | 75 +- .../extensions/WorkbookFunctionsDaysBody.java | 67 +- .../extensions/WorkbookFunctionsDbBody.java | 91 +- .../extensions/WorkbookFunctionsDbcsBody.java | 59 +- .../WorkbookFunctionsDcountABody.java | 75 +- .../WorkbookFunctionsDcountBody.java | 75 +- .../extensions/WorkbookFunctionsDdbBody.java | 91 +- .../WorkbookFunctionsDec2BinBody.java | 67 +- .../WorkbookFunctionsDec2HexBody.java | 67 +- .../WorkbookFunctionsDec2OctBody.java | 67 +- .../WorkbookFunctionsDecimalBody.java | 67 +- .../WorkbookFunctionsDegreesBody.java | 59 +- .../WorkbookFunctionsDeltaBody.java | 67 +- .../WorkbookFunctionsDevSqBody.java | 59 +- .../extensions/WorkbookFunctionsDgetBody.java | 75 +- .../extensions/WorkbookFunctionsDiscBody.java | 91 +- .../extensions/WorkbookFunctionsDmaxBody.java | 75 +- .../extensions/WorkbookFunctionsDminBody.java | 75 +- .../WorkbookFunctionsDollarBody.java | 67 +- .../WorkbookFunctionsDollarDeBody.java | 67 +- .../WorkbookFunctionsDollarFrBody.java | 67 +- .../WorkbookFunctionsDproductBody.java | 75 +- .../WorkbookFunctionsDstDevBody.java | 75 +- .../WorkbookFunctionsDstDevPBody.java | 75 +- .../extensions/WorkbookFunctionsDsumBody.java | 75 +- .../WorkbookFunctionsDurationBody.java | 99 +- .../extensions/WorkbookFunctionsDvarBody.java | 75 +- .../WorkbookFunctionsDvarPBody.java | 75 +- .../WorkbookFunctionsEcma_CeilingBody.java | 67 +- .../WorkbookFunctionsEdateBody.java | 67 +- .../WorkbookFunctionsEffectBody.java | 67 +- .../WorkbookFunctionsEoMonthBody.java | 67 +- .../extensions/WorkbookFunctionsErfBody.java | 67 +- .../extensions/WorkbookFunctionsErfCBody.java | 59 +- .../WorkbookFunctionsErfC_PreciseBody.java | 59 +- .../WorkbookFunctionsErf_PreciseBody.java | 59 +- .../WorkbookFunctionsError_TypeBody.java | 59 +- .../extensions/WorkbookFunctionsEvenBody.java | 59 +- .../WorkbookFunctionsExactBody.java | 67 +- .../extensions/WorkbookFunctionsExpBody.java | 59 +- .../WorkbookFunctionsExpon_DistBody.java | 75 +- .../WorkbookFunctionsF_DistBody.java | 83 +- .../WorkbookFunctionsF_Dist_RTBody.java | 75 +- .../WorkbookFunctionsF_InvBody.java | 75 +- .../WorkbookFunctionsF_Inv_RTBody.java | 75 +- .../extensions/WorkbookFunctionsFactBody.java | 59 +- .../WorkbookFunctionsFactDoubleBody.java | 59 +- .../WorkbookFunctionsFindBBody.java | 75 +- .../extensions/WorkbookFunctionsFindBody.java | 75 +- .../WorkbookFunctionsFisherBody.java | 59 +- .../WorkbookFunctionsFisherInvBody.java | 59 +- .../WorkbookFunctionsFixedBody.java | 75 +- .../WorkbookFunctionsFloor_MathBody.java | 75 +- .../WorkbookFunctionsFloor_PreciseBody.java | 67 +- .../extensions/WorkbookFunctionsFvBody.java | 91 +- .../WorkbookFunctionsFvscheduleBody.java | 67 +- .../WorkbookFunctionsGammaBody.java | 59 +- .../WorkbookFunctionsGammaLnBody.java | 59 +- .../WorkbookFunctionsGammaLn_PreciseBody.java | 59 +- .../WorkbookFunctionsGamma_DistBody.java | 83 +- .../WorkbookFunctionsGamma_InvBody.java | 75 +- .../WorkbookFunctionsGaussBody.java | 59 +- .../extensions/WorkbookFunctionsGcdBody.java | 59 +- .../WorkbookFunctionsGeStepBody.java | 67 +- .../WorkbookFunctionsGeoMeanBody.java | 59 +- .../WorkbookFunctionsHarMeanBody.java | 59 +- .../WorkbookFunctionsHex2BinBody.java | 67 +- .../WorkbookFunctionsHex2DecBody.java | 59 +- .../WorkbookFunctionsHex2OctBody.java | 67 +- .../WorkbookFunctionsHlookupBody.java | 83 +- .../extensions/WorkbookFunctionsHourBody.java | 59 +- .../WorkbookFunctionsHypGeom_DistBody.java | 91 +- .../WorkbookFunctionsHyperlinkBody.java | 67 +- .../extensions/WorkbookFunctionsIfBody.java | 75 +- .../WorkbookFunctionsImAbsBody.java | 59 +- .../WorkbookFunctionsImArgumentBody.java | 59 +- .../WorkbookFunctionsImConjugateBody.java | 59 +- .../WorkbookFunctionsImCosBody.java | 59 +- .../WorkbookFunctionsImCoshBody.java | 59 +- .../WorkbookFunctionsImCotBody.java | 59 +- .../WorkbookFunctionsImCscBody.java | 59 +- .../WorkbookFunctionsImCschBody.java | 59 +- .../WorkbookFunctionsImDivBody.java | 67 +- .../WorkbookFunctionsImExpBody.java | 59 +- .../extensions/WorkbookFunctionsImLnBody.java | 59 +- .../WorkbookFunctionsImLog10Body.java | 59 +- .../WorkbookFunctionsImLog2Body.java | 59 +- .../WorkbookFunctionsImPowerBody.java | 67 +- .../WorkbookFunctionsImProductBody.java | 59 +- .../WorkbookFunctionsImRealBody.java | 59 +- .../WorkbookFunctionsImSecBody.java | 59 +- .../WorkbookFunctionsImSechBody.java | 59 +- .../WorkbookFunctionsImSinBody.java | 59 +- .../WorkbookFunctionsImSinhBody.java | 59 +- .../WorkbookFunctionsImSqrtBody.java | 59 +- .../WorkbookFunctionsImSubBody.java | 67 +- .../WorkbookFunctionsImSumBody.java | 59 +- .../WorkbookFunctionsImTanBody.java | 59 +- .../WorkbookFunctionsImaginaryBody.java | 59 +- .../extensions/WorkbookFunctionsIntBody.java | 59 +- .../WorkbookFunctionsIntRateBody.java | 91 +- .../extensions/WorkbookFunctionsIpmtBody.java | 99 +- .../extensions/WorkbookFunctionsIrrBody.java | 67 +- .../WorkbookFunctionsIsErrBody.java | 59 +- .../WorkbookFunctionsIsErrorBody.java | 59 +- .../WorkbookFunctionsIsEvenBody.java | 59 +- .../WorkbookFunctionsIsFormulaBody.java | 59 +- .../WorkbookFunctionsIsLogicalBody.java | 59 +- .../extensions/WorkbookFunctionsIsNABody.java | 59 +- .../WorkbookFunctionsIsNonTextBody.java | 59 +- .../WorkbookFunctionsIsNumberBody.java | 59 +- .../WorkbookFunctionsIsOddBody.java | 59 +- .../WorkbookFunctionsIsTextBody.java | 59 +- .../WorkbookFunctionsIsoWeekNumBody.java | 59 +- .../WorkbookFunctionsIso_CeilingBody.java | 67 +- .../WorkbookFunctionsIspmtBody.java | 83 +- .../WorkbookFunctionsIsrefBody.java | 59 +- .../extensions/WorkbookFunctionsKurtBody.java | 59 +- .../WorkbookFunctionsLargeBody.java | 67 +- .../extensions/WorkbookFunctionsLcmBody.java | 59 +- .../extensions/WorkbookFunctionsLeftBody.java | 67 +- .../WorkbookFunctionsLeftbBody.java | 67 +- .../extensions/WorkbookFunctionsLenBody.java | 59 +- .../extensions/WorkbookFunctionsLenbBody.java | 59 +- .../extensions/WorkbookFunctionsLnBody.java | 59 +- .../WorkbookFunctionsLog10Body.java | 59 +- .../extensions/WorkbookFunctionsLogBody.java | 67 +- .../WorkbookFunctionsLogNorm_DistBody.java | 83 +- .../WorkbookFunctionsLogNorm_InvBody.java | 75 +- .../WorkbookFunctionsLookupBody.java | 75 +- .../WorkbookFunctionsLowerBody.java | 59 +- .../WorkbookFunctionsMatchBody.java | 75 +- .../extensions/WorkbookFunctionsMaxABody.java | 59 +- .../extensions/WorkbookFunctionsMaxBody.java | 59 +- .../WorkbookFunctionsMdurationBody.java | 99 +- .../WorkbookFunctionsMedianBody.java | 59 +- .../extensions/WorkbookFunctionsMidBody.java | 75 +- .../extensions/WorkbookFunctionsMidbBody.java | 75 +- .../extensions/WorkbookFunctionsMinABody.java | 59 +- .../extensions/WorkbookFunctionsMinBody.java | 59 +- .../WorkbookFunctionsMinuteBody.java | 59 +- .../extensions/WorkbookFunctionsMirrBody.java | 75 +- .../extensions/WorkbookFunctionsModBody.java | 67 +- .../WorkbookFunctionsMonthBody.java | 59 +- .../WorkbookFunctionsMroundBody.java | 67 +- .../WorkbookFunctionsMultiNomialBody.java | 59 +- .../extensions/WorkbookFunctionsNBody.java | 59 +- .../WorkbookFunctionsNegBinom_DistBody.java | 83 +- .../WorkbookFunctionsNetworkDaysBody.java | 75 +- ...WorkbookFunctionsNetworkDays_IntlBody.java | 83 +- .../WorkbookFunctionsNominalBody.java | 67 +- .../WorkbookFunctionsNorm_DistBody.java | 83 +- .../WorkbookFunctionsNorm_InvBody.java | 75 +- .../WorkbookFunctionsNorm_S_DistBody.java | 67 +- .../WorkbookFunctionsNorm_S_InvBody.java | 59 +- .../extensions/WorkbookFunctionsNotBody.java | 59 +- .../extensions/WorkbookFunctionsNperBody.java | 91 +- .../extensions/WorkbookFunctionsNpvBody.java | 67 +- .../WorkbookFunctionsNumberValueBody.java | 75 +- .../WorkbookFunctionsOct2BinBody.java | 67 +- .../WorkbookFunctionsOct2DecBody.java | 59 +- .../WorkbookFunctionsOct2HexBody.java | 67 +- .../extensions/WorkbookFunctionsOddBody.java | 59 +- .../WorkbookFunctionsOddFPriceBody.java | 123 +- .../WorkbookFunctionsOddFYieldBody.java | 123 +- .../WorkbookFunctionsOddLPriceBody.java | 115 +- .../WorkbookFunctionsOddLYieldBody.java | 115 +- .../extensions/WorkbookFunctionsOrBody.java | 59 +- .../WorkbookFunctionsPdurationBody.java | 75 +- .../WorkbookFunctionsPercentRank_ExcBody.java | 75 +- .../WorkbookFunctionsPercentRank_IncBody.java | 75 +- .../WorkbookFunctionsPercentile_ExcBody.java | 67 +- .../WorkbookFunctionsPercentile_IncBody.java | 67 +- .../WorkbookFunctionsPermutBody.java | 67 +- .../WorkbookFunctionsPermutationaBody.java | 67 +- .../extensions/WorkbookFunctionsPhiBody.java | 59 +- .../extensions/WorkbookFunctionsPmtBody.java | 91 +- .../WorkbookFunctionsPoisson_DistBody.java | 75 +- .../WorkbookFunctionsPowerBody.java | 67 +- .../extensions/WorkbookFunctionsPpmtBody.java | 99 +- .../WorkbookFunctionsPriceBody.java | 107 +- .../WorkbookFunctionsPriceDiscBody.java | 91 +- .../WorkbookFunctionsPriceMatBody.java | 99 +- .../WorkbookFunctionsProductBody.java | 59 +- .../WorkbookFunctionsProperBody.java | 59 +- .../extensions/WorkbookFunctionsPvBody.java | 91 +- .../WorkbookFunctionsQuartile_ExcBody.java | 67 +- .../WorkbookFunctionsQuartile_IncBody.java | 67 +- .../WorkbookFunctionsQuotientBody.java | 67 +- .../WorkbookFunctionsRadiansBody.java | 59 +- .../WorkbookFunctionsRandBetweenBody.java | 67 +- .../WorkbookFunctionsRank_AvgBody.java | 75 +- .../WorkbookFunctionsRank_EqBody.java | 75 +- .../extensions/WorkbookFunctionsRateBody.java | 99 +- .../WorkbookFunctionsReceivedBody.java | 91 +- .../WorkbookFunctionsReplaceBBody.java | 83 +- .../WorkbookFunctionsReplaceBody.java | 83 +- .../extensions/WorkbookFunctionsReptBody.java | 67 +- .../WorkbookFunctionsRightBody.java | 67 +- .../WorkbookFunctionsRightbBody.java | 67 +- .../WorkbookFunctionsRomanBody.java | 67 +- .../WorkbookFunctionsRoundBody.java | 67 +- .../WorkbookFunctionsRoundDownBody.java | 67 +- .../WorkbookFunctionsRoundUpBody.java | 67 +- .../extensions/WorkbookFunctionsRowsBody.java | 59 +- .../extensions/WorkbookFunctionsRriBody.java | 75 +- .../extensions/WorkbookFunctionsSecBody.java | 59 +- .../extensions/WorkbookFunctionsSechBody.java | 59 +- .../WorkbookFunctionsSecondBody.java | 59 +- .../WorkbookFunctionsSeriesSumBody.java | 83 +- .../WorkbookFunctionsSheetBody.java | 59 +- .../WorkbookFunctionsSheetsBody.java | 59 +- .../extensions/WorkbookFunctionsSignBody.java | 59 +- .../extensions/WorkbookFunctionsSinBody.java | 59 +- .../extensions/WorkbookFunctionsSinhBody.java | 59 +- .../extensions/WorkbookFunctionsSkewBody.java | 59 +- .../WorkbookFunctionsSkew_pBody.java | 59 +- .../extensions/WorkbookFunctionsSlnBody.java | 75 +- .../WorkbookFunctionsSmallBody.java | 67 +- .../extensions/WorkbookFunctionsSqrtBody.java | 59 +- .../WorkbookFunctionsSqrtPiBody.java | 59 +- .../WorkbookFunctionsStDevABody.java | 59 +- .../WorkbookFunctionsStDevPABody.java | 59 +- .../WorkbookFunctionsStDev_PBody.java | 59 +- .../WorkbookFunctionsStDev_SBody.java | 59 +- .../WorkbookFunctionsStandardizeBody.java | 75 +- .../WorkbookFunctionsSubstituteBody.java | 83 +- .../WorkbookFunctionsSubtotalBody.java | 67 +- .../extensions/WorkbookFunctionsSumBody.java | 59 +- .../WorkbookFunctionsSumIfBody.java | 75 +- .../WorkbookFunctionsSumIfsBody.java | 67 +- .../WorkbookFunctionsSumSqBody.java | 59 +- .../extensions/WorkbookFunctionsSydBody.java | 83 +- .../extensions/WorkbookFunctionsTBody.java | 59 +- .../WorkbookFunctionsT_DistBody.java | 75 +- .../WorkbookFunctionsT_Dist_2TBody.java | 67 +- .../WorkbookFunctionsT_Dist_RTBody.java | 67 +- .../WorkbookFunctionsT_InvBody.java | 67 +- .../WorkbookFunctionsT_Inv_2TBody.java | 67 +- .../extensions/WorkbookFunctionsTanBody.java | 59 +- .../extensions/WorkbookFunctionsTanhBody.java | 59 +- .../WorkbookFunctionsTbillEqBody.java | 75 +- .../WorkbookFunctionsTbillPriceBody.java | 75 +- .../WorkbookFunctionsTbillYieldBody.java | 75 +- .../extensions/WorkbookFunctionsTextBody.java | 67 +- .../extensions/WorkbookFunctionsTimeBody.java | 75 +- .../WorkbookFunctionsTimevalueBody.java | 59 +- .../extensions/WorkbookFunctionsTrimBody.java | 59 +- .../WorkbookFunctionsTrimMeanBody.java | 67 +- .../WorkbookFunctionsTruncBody.java | 67 +- .../extensions/WorkbookFunctionsTypeBody.java | 59 +- .../WorkbookFunctionsUnicharBody.java | 59 +- .../WorkbookFunctionsUnicodeBody.java | 59 +- .../WorkbookFunctionsUpperBody.java | 59 +- .../WorkbookFunctionsUsdollarBody.java | 67 +- .../WorkbookFunctionsValueBody.java | 59 +- .../extensions/WorkbookFunctionsVarABody.java | 59 +- .../WorkbookFunctionsVarPABody.java | 59 +- .../WorkbookFunctionsVar_PBody.java | 59 +- .../WorkbookFunctionsVar_SBody.java | 59 +- .../extensions/WorkbookFunctionsVdbBody.java | 107 +- .../WorkbookFunctionsVlookupBody.java | 83 +- .../WorkbookFunctionsWeekNumBody.java | 67 +- .../WorkbookFunctionsWeekdayBody.java | 67 +- .../WorkbookFunctionsWeibull_DistBody.java | 83 +- .../WorkbookFunctionsWorkDayBody.java | 75 +- .../WorkbookFunctionsWorkDay_IntlBody.java | 83 +- .../extensions/WorkbookFunctionsXirrBody.java | 75 +- .../extensions/WorkbookFunctionsXnpvBody.java | 75 +- .../extensions/WorkbookFunctionsXorBody.java | 59 +- .../extensions/WorkbookFunctionsYearBody.java | 59 +- .../WorkbookFunctionsYearFracBody.java | 75 +- .../WorkbookFunctionsYieldBody.java | 107 +- .../WorkbookFunctionsYieldDiscBody.java | 91 +- .../WorkbookFunctionsYieldMatBody.java | 99 +- .../WorkbookFunctionsZ_TestBody.java | 75 +- .../graph/models/extensions/WorkbookIcon.java | 85 +- .../models/extensions/WorkbookNamedItem.java | 117 +- .../extensions/WorkbookNamedItemAddBody.java | 75 +- .../WorkbookNamedItemAddFormulaLocalBody.java | 75 +- .../models/extensions/WorkbookPivotTable.java | 77 +- .../extensions/WorkbookProcessQueryBody.java | 59 +- .../models/extensions/WorkbookRange.java | 223 +- .../extensions/WorkbookRangeBorder.java | 92 +- .../extensions/WorkbookRangeClearBody.java | 59 +- .../extensions/WorkbookRangeDeleteBody.java | 59 +- .../models/extensions/WorkbookRangeFill.java | 68 +- .../models/extensions/WorkbookRangeFont.java | 108 +- .../extensions/WorkbookRangeFormat.java | 152 +- .../extensions/WorkbookRangeInsertBody.java | 59 +- .../extensions/WorkbookRangeMergeBody.java | 59 +- .../extensions/WorkbookRangeReference.java | 77 +- .../models/extensions/WorkbookRangeSort.java | 60 +- .../WorkbookRangeSortApplyBody.java | 91 +- .../models/extensions/WorkbookRangeView.java | 173 +- .../extensions/WorkbookSessionInfo.java | 85 +- .../models/extensions/WorkbookSortField.java | 118 +- .../models/extensions/WorkbookTable.java | 200 +- .../extensions/WorkbookTableAddBody.java | 67 +- .../extensions/WorkbookTableColumn.java | 93 +- .../WorkbookTableColumnAddBody.java | 75 +- .../models/extensions/WorkbookTableRow.java | 76 +- .../extensions/WorkbookTableRowAddBody.java | 67 +- .../models/extensions/WorkbookTableSort.java | 85 +- .../WorkbookTableSortApplyBody.java | 75 +- .../models/extensions/WorkbookWorksheet.java | 193 +- .../extensions/WorkbookWorksheetAddBody.java | 59 +- .../WorkbookWorksheetProtection.java | 77 +- .../WorkbookWorksheetProtectionOptions.java | 157 +- ...orkbookWorksheetProtectionProtectBody.java | 59 +- .../graph/models/extensions/WorkingHours.java | 103 +- .../generated/BaseActivityHistoryItem.java | 144 -- .../generated/BaseAdministrativeUnit.java | 70 - .../graph/models/generated/BaseAlert.java | 332 --- .../models/generated/BaseAlertTrigger.java | 103 - .../BaseAllDevicesAssignmentTarget.java | 70 - .../BaseAllLicensedUsersAssignmentTarget.java | 70 - .../generated/BaseAlternativeSecurityId.java | 103 - .../BaseAndroidCompliancePolicy.java | 240 -- .../BaseAndroidCustomConfiguration.java | 79 - ...BaseAndroidGeneralDeviceConfiguration.java | 458 ---- .../models/generated/BaseAndroidLobApp.java | 103 - .../BaseAndroidManagedAppProtection.java | 152 -- .../BaseAndroidManagedAppRegistration.java | 70 - .../BaseAndroidMinimumOperatingSystem.java | 143 -- .../BaseAndroidMobileAppIdentifier.java | 78 - .../models/generated/BaseAndroidStoreApp.java | 95 - ...aseAndroidWorkProfileCompliancePolicy.java | 240 -- ...AndroidWorkProfileCustomConfiguration.java | 79 - ...WorkProfileGeneralDeviceConfiguration.java | 345 --- .../models/generated/BaseAppCatalogs.java | 95 - .../BaseAppConfigurationSettingItem.java | 104 - .../models/generated/BaseAppListItem.java | 111 - ...eAppleDeviceFeaturesConfigurationBase.java | 70 - .../BaseApplePushNotificationCertificate.java | 110 - .../models/generated/BaseAssignedLicense.java | 95 - .../models/generated/BaseAssignedPlan.java | 111 - .../models/generated/BaseAttachment.java | 110 - .../graph/models/generated/BaseAttendee.java | 79 - .../generated/BaseAttendeeAvailability.java | 97 - .../models/generated/BaseAttendeeBase.java | 79 - .../graph/models/generated/BaseAudio.java | 207 -- .../BaseAutomaticRepliesMailTips.java | 113 - .../BaseAutomaticRepliesSetting.java | 130 - .../graph/models/generated/BaseBaseItem.java | 161 -- .../models/generated/BaseBaseItemVersion.java | 96 - .../BaseBitLockerRemovableDrivePolicy.java | 104 - .../models/generated/BaseBooleanColumn.java | 79 - .../generated/BaseCalculatedColumn.java | 103 - .../graph/models/generated/BaseCalendar.java | 225 -- .../models/generated/BaseCalendarGroup.java | 119 - .../graph/models/generated/BaseChannel.java | 111 - .../models/generated/BaseChoiceColumn.java | 103 - .../generated/BaseCloudAppSecurityState.java | 103 - .../generated/BaseColumnDefinition.java | 232 -- .../models/generated/BaseColumnLink.java | 78 - .../generated/BaseComplexExtensionValue.java | 79 - ...igurationManagerClientEnabledFeatures.java | 127 - .../graph/models/generated/BaseContact.java | 420 --- .../models/generated/BaseContactFolder.java | 186 -- .../models/generated/BaseContentType.java | 169 -- .../models/generated/BaseContentTypeInfo.java | 87 - .../generated/BaseContentTypeOrder.java | 95 - .../graph/models/generated/BaseContract.java | 102 - .../models/generated/BaseConversation.java | 135 - .../generated/BaseConversationThread.java | 160 -- .../BaseConversationThreadReplyBody.java | 70 - .../models/generated/BaseCurrencyColumn.java | 87 - .../models/generated/BaseCustomTimeZone.java | 96 - .../generated/BaseDataPolicyOperation.java | 119 - .../models/generated/BaseDateTimeColumn.java | 95 - .../generated/BaseDateTimeTimeZone.java | 95 - .../generated/BaseDaylightTimeZoneOffset.java | 78 - .../generated/BaseDefaultColumnValue.java | 95 - .../BaseDefaultManagedAppProtection.java | 186 -- .../BaseDefenderDetectedMalwareActions.java | 112 - ...UserFromSharedAppleDeviceActionResult.java | 78 - .../graph/models/generated/BaseDeleted.java | 87 - .../models/generated/BaseDetectedApp.java | 127 - .../graph/models/generated/BaseDevice.java | 284 --- .../generated/BaseDeviceActionResult.java | 112 - ...eviceAndAppManagementAssignmentTarget.java | 79 - ...eDeviceAndAppManagementRoleAssignment.java | 78 - ...eDeviceAndAppManagementRoleDefinition.java | 70 - .../generated/BaseDeviceAppManagement.java | 452 ---- .../models/generated/BaseDeviceCategory.java | 86 - .../BaseDeviceComplianceActionItem.java | 103 - .../BaseDeviceComplianceDeviceOverview.java | 126 - .../BaseDeviceComplianceDeviceStatus.java | 127 - .../generated/BaseDeviceCompliancePolicy.java | 253 -- .../BaseDeviceCompliancePolicyAssignBody.java | 70 - .../BaseDeviceCompliancePolicyAssignment.java | 79 - ...iceCompliancePolicyDeviceStateSummary.java | 142 -- ...ancePolicyScheduleActionsForRulesBody.java | 70 - ...aseDeviceCompliancePolicySettingState.java | 177 -- ...ceCompliancePolicySettingStateSummary.java | 176 -- .../BaseDeviceCompliancePolicyState.java | 121 - ...eviceComplianceScheduledActionForRule.java | 103 - .../BaseDeviceComplianceSettingState.java | 159 -- .../BaseDeviceComplianceUserOverview.java | 126 - .../BaseDeviceComplianceUserStatus.java | 111 - .../generated/BaseDeviceConfiguration.java | 228 -- .../BaseDeviceConfigurationAssignBody.java | 70 - .../BaseDeviceConfigurationAssignment.java | 79 - ...BaseDeviceConfigurationDeviceOverview.java | 126 - ...DeviceConfigurationDeviceStateSummary.java | 126 - .../BaseDeviceConfigurationDeviceStatus.java | 127 - .../BaseDeviceConfigurationSettingState.java | 177 -- .../BaseDeviceConfigurationState.java | 121 - .../BaseDeviceConfigurationUserOverview.java | 126 - .../BaseDeviceConfigurationUserStatus.java | 111 - .../BaseDeviceEnrollmentConfiguration.java | 143 -- ...viceEnrollmentConfigurationAssignBody.java | 70 - ...nrollmentConfigurationSetPriorityBody.java | 70 - ...aseDeviceEnrollmentLimitConfiguration.java | 78 - ...seDeviceEnrollmentPlatformRestriction.java | 111 - ...mentPlatformRestrictionsConfiguration.java | 111 - ...tWindowsHelloForBusinessConfiguration.java | 168 -- .../BaseDeviceExchangeAccessStateSummary.java | 119 - .../generated/BaseDeviceGeoLocation.java | 143 -- .../BaseDeviceHealthAttestationState.java | 335 --- .../generated/BaseDeviceInstallState.java | 135 - .../generated/BaseDeviceManagement.java | 676 ----- ...BaseDeviceManagementExchangeConnector.java | 144 -- ...ceManagementExchangeConnectorSyncBody.java | 70 - .../BaseDeviceManagementPartner.java | 136 - .../BaseDeviceManagementSettings.java | 103 - ...eDeviceManagementTroubleshootingEvent.java | 86 - .../BaseDeviceOperatingSystemSummary.java | 127 - .../models/generated/BaseDiagnostic.java | 95 - .../graph/models/generated/BaseDirectory.java | 95 - .../models/generated/BaseDirectoryObject.java | 78 - ...eDirectoryObjectCheckMemberGroupsBody.java | 70 - .../BaseDirectoryObjectGetByIdsBody.java | 78 - ...aseDirectoryObjectGetMemberGroupsBody.java | 70 - ...seDirectoryObjectGetMemberObjectsBody.java | 70 - .../models/generated/BaseDirectoryRole.java | 118 - .../generated/BaseDirectoryRoleTemplate.java | 86 - .../graph/models/generated/BaseDomain.java | 215 -- .../generated/BaseDomainDnsCnameRecord.java | 78 - .../generated/BaseDomainDnsMxRecord.java | 86 - .../models/generated/BaseDomainDnsRecord.java | 110 - .../generated/BaseDomainDnsSrvRecord.java | 118 - .../generated/BaseDomainDnsTxtRecord.java | 78 - .../BaseDomainDnsUnavailableRecord.java | 78 - .../generated/BaseDomainForceDeleteBody.java | 70 - .../models/generated/BaseDomainState.java | 103 - .../graph/models/generated/BaseDrive.java | 178 -- .../graph/models/generated/BaseDriveItem.java | 364 --- .../generated/BaseDriveItemCopyBody.java | 78 - .../BaseDriveItemCreateLinkBody.java | 78 - .../BaseDriveItemCreateUploadSessionBody.java | 70 - .../generated/BaseDriveItemInviteBody.java | 102 - .../generated/BaseDriveItemPreviewBody.java | 78 - .../BaseDriveItemUploadableProperties.java | 104 - .../generated/BaseDriveItemVersion.java | 78 - .../models/generated/BaseDriveRecipient.java | 103 - .../generated/BaseEBookInstallSummary.java | 118 - .../generated/BaseEdgeSearchEngine.java | 79 - .../generated/BaseEdgeSearchEngineBase.java | 79 - .../generated/BaseEdgeSearchEngineCustom.java | 78 - .../BaseEditionUpgradeConfiguration.java | 104 - .../models/generated/BaseEducationClass.java | 226 -- .../generated/BaseEducationOrganization.java | 95 - .../BaseEducationRelatedContact.java | 128 - .../models/generated/BaseEducationRoot.java | 153 -- .../models/generated/BaseEducationSchool.java | 210 -- .../generated/BaseEducationStudent.java | 128 - .../generated/BaseEducationTeacher.java | 95 - .../models/generated/BaseEducationTerm.java | 111 - .../models/generated/BaseEducationUser.java | 380 --- .../models/generated/BaseEmailAddress.java | 95 - ...BaseEnrollmentConfigurationAssignment.java | 79 - .../BaseEnrollmentTroubleshootingEvent.java | 136 - .../graph/models/generated/BaseEntity.java | 87 - .../graph/models/generated/BaseEvent.java | 447 ---- .../models/generated/BaseEventAcceptBody.java | 78 - .../generated/BaseEventDeclineBody.java | 78 - .../models/generated/BaseEventMessage.java | 88 - .../BaseEventSnoozeReminderBody.java | 70 - .../BaseEventTentativelyAcceptBody.java | 78 - .../BaseExclusionGroupAssignmentTarget.java | 70 - .../graph/models/generated/BaseExtension.java | 70 - .../BaseExtensionSchemaProperty.java | 95 - .../models/generated/BaseExternalLink.java | 87 - .../models/generated/BaseFieldValueSet.java | 70 - .../graph/models/generated/BaseFile.java | 104 - .../models/generated/BaseFileAttachment.java | 94 - .../generated/BaseFileEncryptionInfo.java | 135 - .../graph/models/generated/BaseFileHash.java | 96 - .../generated/BaseFileSecurityState.java | 112 - .../models/generated/BaseFileSystemInfo.java | 103 - .../graph/models/generated/BaseFolder.java | 96 - .../models/generated/BaseFolderView.java | 103 - .../models/generated/BaseFollowupFlag.java | 113 - .../models/generated/BaseGeoCoordinates.java | 103 - .../graph/models/generated/BaseGroup.java | 658 ----- .../generated/BaseGroupAssignmentTarget.java | 78 - .../generated/BaseGroupLifecyclePolicy.java | 94 - .../BaseGroupLifecyclePolicyAddGroupBody.java | 70 - ...seGroupLifecyclePolicyRemoveGroupBody.java | 70 - .../models/generated/BaseGroupSetting.java | 95 - .../generated/BaseGroupSettingTemplate.java | 95 - .../graph/models/generated/BaseHashes.java | 103 - .../generated/BaseHostSecurityState.java | 151 -- .../graph/models/generated/BaseIPv4Range.java | 86 - .../graph/models/generated/BaseIPv6Range.java | 86 - .../graph/models/generated/BaseIdentity.java | 95 - .../models/generated/BaseIdentitySet.java | 104 - .../graph/models/generated/BaseImage.java | 95 - .../graph/models/generated/BaseImageInfo.java | 111 - .../BaseInferenceClassification.java | 95 - .../BaseInferenceClassificationOverride.java | 88 - .../models/generated/BaseInsightIdentity.java | 103 - .../generated/BaseInternetMessageHeader.java | 95 - .../models/generated/BaseIntuneBrand.java | 193 -- .../models/generated/BaseInvitation.java | 144 -- .../generated/BaseInvitedUserMessageInfo.java | 104 - .../generated/BaseIosCertificateProfile.java | 70 - .../generated/BaseIosCompliancePolicy.java | 184 -- .../generated/BaseIosCustomConfiguration.java | 94 - .../BaseIosDeviceFeaturesConfiguration.java | 113 - .../models/generated/BaseIosDeviceType.java | 95 - .../BaseIosGeneralDeviceConfiguration.java | 1133 --------- .../generated/BaseIosHomeScreenApp.java | 78 - .../generated/BaseIosHomeScreenFolder.java | 79 - .../BaseIosHomeScreenFolderPage.java | 96 - .../generated/BaseIosHomeScreenItem.java | 87 - .../generated/BaseIosHomeScreenPage.java | 96 - .../graph/models/generated/BaseIosLobApp.java | 120 - .../BaseIosLobAppAssignmentSettings.java | 78 - .../BaseIosManagedAppProtection.java | 137 - .../BaseIosManagedAppRegistration.java | 70 - .../BaseIosMinimumOperatingSystem.java | 119 - .../BaseIosMobileAppConfiguration.java | 87 - .../generated/BaseIosMobileAppIdentifier.java | 78 - .../generated/BaseIosNetworkUsageRule.java | 104 - .../BaseIosNotificationSettings.java | 152 -- .../models/generated/BaseIosStoreApp.java | 104 - .../BaseIosStoreAppAssignmentSettings.java | 78 - .../generated/BaseIosUpdateConfiguration.java | 103 - .../generated/BaseIosUpdateDeviceStatus.java | 160 -- .../graph/models/generated/BaseIosVppApp.java | 153 -- .../BaseIosVppAppAssignmentSettings.java | 86 - .../models/generated/BaseIosVppEBook.java | 134 - .../generated/BaseIosVppEBookAssignment.java | 70 - .../graph/models/generated/BaseIpRange.java | 79 - .../models/generated/BaseItemAttachment.java | 79 - .../graph/models/generated/BaseItemBody.java | 96 - .../models/generated/BaseItemPreviewInfo.java | 103 - .../models/generated/BaseItemReference.java | 136 - .../models/generated/BaseKeyValuePair.java | 95 - .../models/generated/BaseLicenseDetails.java | 95 - .../generated/BaseLicenseUnitsDetail.java | 103 - .../graph/models/generated/BaseList.java | 189 -- .../graph/models/generated/BaseListInfo.java | 103 - .../graph/models/generated/BaseListItem.java | 131 - .../models/generated/BaseListItemVersion.java | 79 - .../models/generated/BaseLocaleInfo.java | 95 - .../BaseLocalizedNotificationMessage.java | 110 - .../BaseLocateDeviceActionResult.java | 79 - .../graph/models/generated/BaseLocation.java | 147 -- .../generated/BaseLocationConstraint.java | 104 - .../generated/BaseLocationConstraintItem.java | 78 - .../models/generated/BaseLookupColumn.java | 119 - .../generated/BaseMacOSCompliancePolicy.java | 208 -- .../BaseMacOSCustomConfiguration.java | 94 - .../BaseMacOSDeviceFeaturesConfiguration.java | 70 - .../BaseMacOSGeneralDeviceConfiguration.java | 169 -- .../generated/BaseMacOSOfficeSuiteApp.java | 70 - .../models/generated/BaseMailFolder.java | 235 -- .../generated/BaseMailFolderCopyBody.java | 70 - .../generated/BaseMailFolderMoveBody.java | 70 - .../graph/models/generated/BaseMailTips.java | 180 -- .../models/generated/BaseMailTipsError.java | 95 - .../models/generated/BaseMailboxSettings.java | 122 - .../models/generated/BaseMalwareState.java | 119 - .../generated/BaseManagedAndroidLobApp.java | 103 - .../generated/BaseManagedAndroidStoreApp.java | 95 - .../models/generated/BaseManagedApp.java | 87 - .../BaseManagedAppConfiguration.java | 79 - .../BaseManagedAppDiagnosticStatus.java | 103 - .../generated/BaseManagedAppOperation.java | 102 - .../generated/BaseManagedAppPolicy.java | 110 - ...BaseManagedAppPolicyDeploymentSummary.java | 111 - ...nagedAppPolicyDeploymentSummaryPerApp.java | 96 - .../BaseManagedAppPolicyTargetAppsBody.java | 70 - .../generated/BaseManagedAppProtection.java | 282 --- ...aseManagedAppProtectionTargetAppsBody.java | 70 - .../generated/BaseManagedAppRegistration.java | 240 -- .../generated/BaseManagedAppStatus.java | 86 - .../generated/BaseManagedAppStatusRaw.java | 78 - .../models/generated/BaseManagedDevice.java | 508 ---- ...seManagedDeviceCleanWindowsDeviceBody.java | 70 - ...ceDeleteUserFromSharedAppleDeviceBody.java | 70 - ...seManagedDeviceMobileAppConfiguration.java | 211 -- ...eviceMobileAppConfigurationAssignBody.java | 70 - ...eviceMobileAppConfigurationAssignment.java | 79 - ...iceMobileAppConfigurationDeviceStatus.java | 127 - ...ceMobileAppConfigurationDeviceSummary.java | 126 - ...eviceMobileAppConfigurationUserStatus.java | 111 - ...viceMobileAppConfigurationUserSummary.java | 126 - .../generated/BaseManagedDeviceOverview.java | 112 - ...dDeviceUpdateWindowsDeviceAccountBody.java | 70 - ...eManagedDeviceWindowsDefenderScanBody.java | 70 - .../generated/BaseManagedDeviceWipeBody.java | 86 - .../models/generated/BaseManagedEBook.java | 227 -- .../generated/BaseManagedEBookAssignBody.java | 70 - .../generated/BaseManagedEBookAssignment.java | 88 - .../generated/BaseManagedIOSLobApp.java | 120 - .../generated/BaseManagedIOSStoreApp.java | 104 - .../generated/BaseManagedMobileApp.java | 87 - .../generated/BaseManagedMobileLobApp.java | 119 - ...MdmWindowsInformationProtectionPolicy.java | 70 - .../BaseMediaContentRatingAustralia.java | 97 - .../BaseMediaContentRatingCanada.java | 97 - .../BaseMediaContentRatingFrance.java | 97 - .../BaseMediaContentRatingGermany.java | 97 - .../BaseMediaContentRatingIreland.java | 97 - .../BaseMediaContentRatingJapan.java | 97 - .../BaseMediaContentRatingNewZealand.java | 97 - .../BaseMediaContentRatingUnitedKingdom.java | 97 - .../BaseMediaContentRatingUnitedStates.java | 97 - .../generated/BaseMeetingTimeSuggestion.java | 131 - .../BaseMeetingTimeSuggestionsResult.java | 96 - .../graph/models/generated/BaseMessage.java | 376 --- .../models/generated/BaseMessageCopyBody.java | 70 - .../generated/BaseMessageForwardBody.java | 78 - .../models/generated/BaseMessageMoveBody.java | 70 - .../generated/BaseMessageReplyAllBody.java | 70 - .../generated/BaseMessageReplyBody.java | 70 - .../models/generated/BaseMessageRule.java | 136 - .../generated/BaseMessageRuleActions.java | 169 -- .../generated/BaseMessageRulePredicates.java | 324 --- .../BaseMicrosoftStoreForBusinessApp.java | 111 - ...StoreForBusinessAppAssignmentSettings.java | 78 - .../models/generated/BaseMimeContent.java | 95 - .../graph/models/generated/BaseMobileApp.java | 226 -- .../generated/BaseMobileAppAssignBody.java | 70 - .../generated/BaseMobileAppAssignment.java | 97 - .../BaseMobileAppAssignmentSettings.java | 79 - .../generated/BaseMobileAppCategory.java | 86 - .../generated/BaseMobileAppContent.java | 95 - .../generated/BaseMobileAppContentFile.java | 143 -- .../BaseMobileAppContentFileCommitBody.java | 70 - .../generated/BaseMobileAppIdentifier.java | 79 - .../models/generated/BaseMobileLobApp.java | 119 - .../BaseMobileThreatDefenseConnector.java | 135 - .../BaseMultiValueLegacyExtendedProperty.java | 78 - .../generated/BaseNetworkConnection.java | 226 -- .../graph/models/generated/BaseNotebook.java | 170 -- .../BaseNotebookCopyNotebookBody.java | 102 - .../models/generated/BaseNotebookLinks.java | 96 - .../BaseNotificationMessageTemplate.java | 128 - .../models/generated/BaseNumberColumn.java | 111 - .../generated/BaseOfficeGraphInsights.java | 145 -- .../models/generated/BaseOmaSetting.java | 103 - .../generated/BaseOmaSettingBase64.java | 86 - .../generated/BaseOmaSettingBoolean.java | 78 - .../generated/BaseOmaSettingDateTime.java | 78 - .../BaseOmaSettingFloatingPoint.java | 78 - .../generated/BaseOmaSettingInteger.java | 78 - .../generated/BaseOmaSettingString.java | 78 - .../generated/BaseOmaSettingStringXml.java | 86 - ...seOnPremisesConditionalAccessSettings.java | 102 - .../BaseOnPremisesExtensionAttributes.java | 199 -- .../BaseOnPremisesProvisioningError.java | 111 - .../graph/models/generated/BaseOnenote.java | 220 -- .../generated/BaseOnenoteEntityBaseModel.java | 78 - .../BaseOnenoteEntityHierarchyModel.java | 103 - .../BaseOnenoteEntitySchemaObjectModel.java | 78 - .../generated/BaseOnenoteOperation.java | 103 - .../generated/BaseOnenoteOperationError.java | 95 - .../models/generated/BaseOnenotePage.java | 153 -- .../BaseOnenotePageCopyToSectionBody.java | 94 - ...aseOnenotePageOnenotePatchContentBody.java | 70 - .../generated/BaseOnenotePagePreview.java | 96 - .../BaseOnenotePagePreviewLinks.java | 88 - .../BaseOnenotePatchContentCommand.java | 113 - .../models/generated/BaseOnenoteResource.java | 78 - .../models/generated/BaseOnenoteSection.java | 138 - .../BaseOnenoteSectionCopyToNotebookBody.java | 102 - ...eOnenoteSectionCopyToSectionGroupBody.java | 102 - .../generated/BaseOpenTypeExtension.java | 78 - .../graph/models/generated/BaseOperation.java | 95 - .../models/generated/BaseOperationError.java | 95 - .../models/generated/BaseOrganization.java | 260 -- .../models/generated/BaseOutlookCategory.java | 87 - .../generated/BaseOutlookGeoCoordinates.java | 119 - .../models/generated/BaseOutlookItem.java | 102 - .../models/generated/BaseOutlookUser.java | 95 - .../graph/models/generated/BasePackage.java | 87 - .../graph/models/generated/BasePageLinks.java | 96 - .../models/generated/BasePasswordProfile.java | 95 - .../generated/BasePatternedRecurrence.java | 97 - .../models/generated/BasePermission.java | 122 - .../graph/models/generated/BasePerson.java | 227 -- .../generated/BasePersonOrGroupColumn.java | 103 - .../models/generated/BasePersonType.java | 95 - .../graph/models/generated/BasePhone.java | 112 - .../graph/models/generated/BasePhoto.java | 143 -- .../models/generated/BasePhysicalAddress.java | 119 - .../graph/models/generated/BasePlanner.java | 145 -- .../BasePlannerAppliedCategories.java | 79 - ...ePlannerAssignedToTaskBoardTaskFormat.java | 87 - .../generated/BasePlannerAssignment.java | 104 - .../generated/BasePlannerAssignments.java | 80 - .../models/generated/BasePlannerBucket.java | 119 - .../BasePlannerBucketTaskBoardTaskFormat.java | 78 - .../BasePlannerCategoryDescriptions.java | 127 - .../generated/BasePlannerChecklistItem.java | 120 - .../generated/BasePlannerChecklistItems.java | 80 - .../BasePlannerExternalReference.java | 120 - .../BasePlannerExternalReferences.java | 79 - .../models/generated/BasePlannerGroup.java | 95 - .../BasePlannerOrderHintsByAssignee.java | 79 - .../models/generated/BasePlannerPlan.java | 162 -- .../generated/BasePlannerPlanDetails.java | 88 - ...asePlannerProgressTaskBoardTaskFormat.java | 78 - .../models/generated/BasePlannerTask.java | 270 -- .../generated/BasePlannerTaskDetails.java | 105 - .../models/generated/BasePlannerUser.java | 120 - .../models/generated/BasePlannerUserIds.java | 79 - .../graph/models/generated/BasePost.java | 245 -- .../models/generated/BasePostForwardBody.java | 78 - .../models/generated/BasePostReplyBody.java | 70 - .../models/generated/BasePrivacyProfile.java | 95 - .../graph/models/generated/BaseProcess.java | 177 -- .../models/generated/BaseProfilePhoto.java | 86 - .../models/generated/BaseProvisionedPlan.java | 103 - .../models/generated/BaseProxiedDomain.java | 95 - .../generated/BasePublicationFacet.java | 95 - .../graph/models/generated/BaseQuota.java | 119 - .../models/generated/BaseRecentNotebook.java | 113 - .../generated/BaseRecentNotebookLinks.java | 96 - .../graph/models/generated/BaseRecipient.java | 88 - .../generated/BaseRecurrencePattern.java | 138 - .../models/generated/BaseRecurrenceRange.java | 120 - .../generated/BaseReferenceAttachment.java | 70 - .../generated/BaseRegistryKeyState.java | 162 -- .../graph/models/generated/BaseReminder.java | 145 -- .../BaseRemoteAssistancePartner.java | 103 - .../models/generated/BaseRemoteItem.java | 223 -- .../generated/BaseRemoteLockActionResult.java | 78 - .../graph/models/generated/BaseReport.java | 79 - .../models/generated/BaseReportRoot.java | 70 - .../BaseResetPasscodeActionResult.java | 78 - .../models/generated/BaseResourceAction.java | 95 - .../generated/BaseResourceOperation.java | 94 - .../generated/BaseResourceReference.java | 103 - .../generated/BaseResourceVisualization.java | 143 -- .../models/generated/BaseResponseStatus.java | 96 - .../graph/models/generated/BaseRgbColor.java | 103 - .../models/generated/BaseRoleAssignment.java | 103 - .../models/generated/BaseRoleDefinition.java | 128 - .../models/generated/BaseRolePermission.java | 88 - .../graph/models/generated/BaseRoot.java | 79 - .../models/generated/BaseSchemaExtension.java | 111 - .../generated/BaseScoredEmailAddress.java | 112 - .../models/generated/BaseSearchResult.java | 87 - .../models/generated/BaseSectionGroup.java | 153 -- .../models/generated/BaseSectionLinks.java | 96 - .../graph/models/generated/BaseSecurity.java | 95 - .../BaseSecurityVendorInformation.java | 111 - .../models/generated/BaseServicePlanInfo.java | 111 - .../models/generated/BaseSettingSource.java | 95 - .../BaseSettingStateDeviceSummary.java | 142 -- .../generated/BaseSettingTemplateValue.java | 111 - .../models/generated/BaseSettingValue.java | 95 - .../graph/models/generated/BaseShared.java | 112 - .../models/generated/BaseSharedDriveItem.java | 147 -- .../models/generated/BaseSharedInsight.java | 121 - .../BaseSharedPCAccountManagerPolicy.java | 112 - .../generated/BaseSharedPCConfiguration.java | 168 -- .../models/generated/BaseSharepointIds.java | 127 - .../models/generated/BaseSharingDetail.java | 121 - .../generated/BaseSharingInvitation.java | 112 - .../models/generated/BaseSharingLink.java | 112 - ...BaseSingleValueLegacyExtendedProperty.java | 78 - .../graph/models/generated/BaseSite.java | 271 -- .../models/generated/BaseSiteCollection.java | 96 - .../graph/models/generated/BaseSizeRange.java | 95 - .../BaseSoftwareUpdateStatusSummary.java | 190 -- .../models/generated/BaseSpecialFolder.java | 87 - .../generated/BaseStandardTimeZoneOffset.java | 120 - .../models/generated/BaseSubscribedSku.java | 128 - .../models/generated/BaseSubscription.java | 126 - .../models/generated/BaseSystemFacet.java | 79 - .../BaseTargetedManagedAppConfiguration.java | 145 -- ...etedManagedAppConfigurationAssignBody.java | 70 - ...ManagedAppConfigurationTargetAppsBody.java | 70 - ...aseTargetedManagedAppPolicyAssignment.java | 79 - .../BaseTargetedManagedAppProtection.java | 103 - ...argetedManagedAppProtectionAssignBody.java | 70 - .../graph/models/generated/BaseTeam.java | 197 -- .../models/generated/BaseTeamArchiveBody.java | 70 - .../generated/BaseTeamClassSettings.java | 87 - .../models/generated/BaseTeamCloneBody.java | 110 - .../models/generated/BaseTeamFunSettings.java | 112 - .../generated/BaseTeamGuestSettings.java | 95 - .../generated/BaseTeamMemberSettings.java | 119 - .../generated/BaseTeamMessagingSettings.java | 119 - .../graph/models/generated/BaseTeamsApp.java | 120 - .../generated/BaseTeamsAppDefinition.java | 94 - .../generated/BaseTeamsAppInstallation.java | 88 - .../generated/BaseTeamsAsyncOperation.java | 137 - .../graph/models/generated/BaseTeamsTab.java | 104 - .../generated/BaseTeamsTabConfiguration.java | 111 - .../BaseTelecomExpenseManagementPartner.java | 110 - .../generated/BaseTermsAndConditions.java | 184 -- ...aseTermsAndConditionsAcceptanceStatus.java | 103 - .../BaseTermsAndConditionsAssignment.java | 79 - .../models/generated/BaseTextColumn.java | 119 - .../graph/models/generated/BaseThumbnail.java | 111 - .../models/generated/BaseThumbnailSet.java | 103 - .../models/generated/BaseTimeConstraint.java | 97 - .../graph/models/generated/BaseTimeSlot.java | 96 - .../models/generated/BaseTimeZoneBase.java | 87 - .../generated/BaseTimeZoneInformation.java | 95 - .../graph/models/generated/BaseTrending.java | 112 - ...teWindowsDeviceAccountActionParameter.java | 128 - .../models/generated/BaseUploadSession.java | 103 - .../models/generated/BaseUsageDetails.java | 95 - .../models/generated/BaseUsedInsight.java | 105 - .../graph/models/generated/BaseUser.java | 1160 --------- .../models/generated/BaseUserActivity.java | 201 -- .../generated/BaseUserAssignLicenseBody.java | 78 - .../generated/BaseUserChangePasswordBody.java | 78 - .../BaseUserExportPersonalDataBody.java | 70 - .../BaseUserFindMeetingTimesBody.java | 126 - .../generated/BaseUserGetMailTipsBody.java | 78 - .../BaseUserInstallStateSummary.java | 127 - .../generated/BaseUserSecurityState.java | 194 -- .../generated/BaseUserSendMailBody.java | 78 - .../models/generated/BaseUserSettings.java | 86 - ...anagedAppRegistrationsByDeviceTagBody.java | 70 - .../models/generated/BaseVerifiedDomain.java | 119 - .../graph/models/generated/BaseVideo.java | 159 -- .../models/generated/BaseVisualInfo.java | 120 - .../generated/BaseVppLicensingType.java | 95 - .../graph/models/generated/BaseVppToken.java | 161 -- .../generated/BaseVulnerabilityState.java | 103 - .../graph/models/generated/BaseWebApp.java | 86 - .../graph/models/generated/BaseWebsite.java | 104 - .../BaseWindows10CompliancePolicy.java | 223 -- .../BaseWindows10CustomConfiguration.java | 79 - ...dows10EndpointProtectionConfiguration.java | 366 --- ...priseModernAppManagementConfiguration.java | 78 - .../BaseWindows10GeneralConfiguration.java | 1687 ------------- .../BaseWindows10MobileCompliancePolicy.java | 199 -- .../BaseWindows10NetworkProxyServer.java | 103 - ...indows10SecureAssessmentConfiguration.java | 110 - ...BaseWindows10TeamGeneralConfiguration.java | 232 -- .../BaseWindows81CompliancePolicy.java | 159 -- .../BaseWindows81GeneralConfiguration.java | 338 --- ...AdvancedThreatProtectionConfiguration.java | 86 - .../BaseWindowsDefenderScanActionResult.java | 78 - .../generated/BaseWindowsDeviceADAccount.java | 86 - .../generated/BaseWindowsDeviceAccount.java | 87 - .../BaseWindowsDeviceAzureADAccount.java | 78 - .../BaseWindowsFirewallNetworkProfile.java | 176 -- .../BaseWindowsInformationProtection.java | 324 --- .../BaseWindowsInformationProtectionApp.java | 119 - ...formationProtectionAppLearningSummary.java | 95 - ...owsInformationProtectionAppLockerFile.java | 102 - ...indowsInformationProtectionAssignBody.java | 70 - ...tionProtectionDataRecoveryCertificate.java | 111 - ...indowsInformationProtectionDesktopApp.java | 94 - ...nformationProtectionIPRangeCollection.java | 96 - ...ationProtectionNetworkLearningSummary.java | 86 - ...aseWindowsInformationProtectionPolicy.java | 167 -- ...tionProtectionProxiedDomainCollection.java | 96 - ...formationProtectionResourceCollection.java | 95 - ...eWindowsInformationProtectionStoreApp.java | 70 - .../BaseWindowsMinimumOperatingSystem.java | 103 - .../generated/BaseWindowsMobileMSI.java | 102 - .../BaseWindowsPhone81CompliancePolicy.java | 159 -- ...BaseWindowsPhone81CustomConfiguration.java | 79 - ...aseWindowsPhone81GeneralConfiguration.java | 305 --- .../generated/BaseWindowsUniversalAppX.java | 137 - .../BaseWindowsUpdateActiveHoursInstall.java | 86 - ...WindowsUpdateForBusinessConfiguration.java | 179 -- .../BaseWindowsUpdateInstallScheduleType.java | 79 - .../BaseWindowsUpdateScheduledInstall.java | 87 - .../graph/models/generated/BaseWorkbook.java | 163 -- .../generated/BaseWorkbookApplication.java | 78 - .../BaseWorkbookApplicationCalculateBody.java | 70 - .../models/generated/BaseWorkbookChart.java | 189 -- .../generated/BaseWorkbookChartAddBody.java | 86 - .../BaseWorkbookChartAreaFormat.java | 88 - .../generated/BaseWorkbookChartAxes.java | 95 - .../generated/BaseWorkbookChartAxis.java | 137 - .../BaseWorkbookChartAxisFormat.java | 88 - .../generated/BaseWorkbookChartAxisTitle.java | 95 - .../BaseWorkbookChartAxisTitleFormat.java | 79 - .../BaseWorkbookChartDataLabelFormat.java | 88 - .../BaseWorkbookChartDataLabels.java | 143 -- .../generated/BaseWorkbookChartFill.java | 70 - ...aseWorkbookChartFillSetSolidColorBody.java | 70 - .../generated/BaseWorkbookChartFont.java | 118 - .../generated/BaseWorkbookChartGridlines.java | 87 - .../BaseWorkbookChartGridlinesFormat.java | 79 - .../generated/BaseWorkbookChartLegend.java | 103 - .../BaseWorkbookChartLegendFormat.java | 88 - .../BaseWorkbookChartLineFormat.java | 78 - .../generated/BaseWorkbookChartPoint.java | 87 - .../BaseWorkbookChartPointFormat.java | 79 - .../generated/BaseWorkbookChartSeries.java | 112 - .../BaseWorkbookChartSeriesFormat.java | 88 - .../BaseWorkbookChartSetDataBody.java | 78 - .../BaseWorkbookChartSetPositionBody.java | 78 - .../generated/BaseWorkbookChartTitle.java | 103 - .../BaseWorkbookChartTitleFormat.java | 88 - .../BaseWorkbookCreateSessionBody.java | 70 - .../models/generated/BaseWorkbookFilter.java | 79 - .../BaseWorkbookFilterApplyBody.java | 70 - ...kbookFilterApplyBottomItemsFilterBody.java | 70 - ...ookFilterApplyBottomPercentFilterBody.java | 70 - ...orkbookFilterApplyCellColorFilterBody.java | 70 - ...seWorkbookFilterApplyCustomFilterBody.java | 86 - ...eWorkbookFilterApplyDynamicFilterBody.java | 70 - ...orkbookFilterApplyFontColorFilterBody.java | 70 - ...BaseWorkbookFilterApplyIconFilterBody.java | 70 - ...WorkbookFilterApplyTopItemsFilterBody.java | 70 - ...rkbookFilterApplyTopPercentFilterBody.java | 70 - ...seWorkbookFilterApplyValuesFilterBody.java | 70 - .../generated/BaseWorkbookFilterCriteria.java | 144 -- .../generated/BaseWorkbookFilterDatetime.java | 95 - .../BaseWorkbookFormatProtection.java | 86 - .../generated/BaseWorkbookFunctionResult.java | 86 - .../generated/BaseWorkbookFunctions.java | 70 - .../BaseWorkbookFunctionsAbsBody.java | 70 - .../BaseWorkbookFunctionsAccrIntBody.java | 126 - .../BaseWorkbookFunctionsAccrIntMBody.java | 102 - .../BaseWorkbookFunctionsAcosBody.java | 70 - .../BaseWorkbookFunctionsAcoshBody.java | 70 - .../BaseWorkbookFunctionsAcotBody.java | 70 - .../BaseWorkbookFunctionsAcothBody.java | 70 - .../BaseWorkbookFunctionsAmorDegrcBody.java | 118 - .../BaseWorkbookFunctionsAmorLincBody.java | 118 - .../BaseWorkbookFunctionsAndBody.java | 70 - .../BaseWorkbookFunctionsArabicBody.java | 70 - .../BaseWorkbookFunctionsAreasBody.java | 70 - .../BaseWorkbookFunctionsAscBody.java | 70 - .../BaseWorkbookFunctionsAsinBody.java | 70 - .../BaseWorkbookFunctionsAsinhBody.java | 70 - .../BaseWorkbookFunctionsAtan2Body.java | 78 - .../BaseWorkbookFunctionsAtanBody.java | 70 - .../BaseWorkbookFunctionsAtanhBody.java | 70 - .../BaseWorkbookFunctionsAveDevBody.java | 70 - .../BaseWorkbookFunctionsAverageABody.java | 70 - .../BaseWorkbookFunctionsAverageBody.java | 70 - .../BaseWorkbookFunctionsAverageIfBody.java | 86 - .../BaseWorkbookFunctionsAverageIfsBody.java | 78 - .../BaseWorkbookFunctionsBahtTextBody.java | 70 - .../BaseWorkbookFunctionsBaseBody.java | 86 - .../BaseWorkbookFunctionsBesselIBody.java | 78 - .../BaseWorkbookFunctionsBesselJBody.java | 78 - .../BaseWorkbookFunctionsBesselKBody.java | 78 - .../BaseWorkbookFunctionsBesselYBody.java | 78 - .../BaseWorkbookFunctionsBeta_DistBody.java | 110 - .../BaseWorkbookFunctionsBeta_InvBody.java | 102 - .../BaseWorkbookFunctionsBin2DecBody.java | 70 - .../BaseWorkbookFunctionsBin2HexBody.java | 78 - .../BaseWorkbookFunctionsBin2OctBody.java | 78 - .../BaseWorkbookFunctionsBinom_DistBody.java | 94 - ...WorkbookFunctionsBinom_Dist_RangeBody.java | 94 - .../BaseWorkbookFunctionsBinom_InvBody.java | 86 - .../BaseWorkbookFunctionsBitandBody.java | 78 - .../BaseWorkbookFunctionsBitlshiftBody.java | 78 - .../BaseWorkbookFunctionsBitorBody.java | 78 - .../BaseWorkbookFunctionsBitrshiftBody.java | 78 - .../BaseWorkbookFunctionsBitxorBody.java | 78 - ...BaseWorkbookFunctionsCeiling_MathBody.java | 86 - ...eWorkbookFunctionsCeiling_PreciseBody.java | 78 - .../BaseWorkbookFunctionsCharBody.java | 70 - .../BaseWorkbookFunctionsChiSq_DistBody.java | 86 - ...aseWorkbookFunctionsChiSq_Dist_RTBody.java | 78 - .../BaseWorkbookFunctionsChiSq_InvBody.java | 78 - ...BaseWorkbookFunctionsChiSq_Inv_RTBody.java | 78 - .../BaseWorkbookFunctionsChooseBody.java | 78 - .../BaseWorkbookFunctionsCleanBody.java | 70 - .../BaseWorkbookFunctionsCodeBody.java | 70 - .../BaseWorkbookFunctionsColumnsBody.java | 70 - .../BaseWorkbookFunctionsCombinBody.java | 78 - .../BaseWorkbookFunctionsCombinaBody.java | 78 - .../BaseWorkbookFunctionsComplexBody.java | 86 - .../BaseWorkbookFunctionsConcatenateBody.java | 70 - ...eWorkbookFunctionsConfidence_NormBody.java | 86 - ...BaseWorkbookFunctionsConfidence_TBody.java | 86 - .../BaseWorkbookFunctionsConvertBody.java | 86 - .../BaseWorkbookFunctionsCosBody.java | 70 - .../BaseWorkbookFunctionsCoshBody.java | 70 - .../BaseWorkbookFunctionsCotBody.java | 70 - .../BaseWorkbookFunctionsCothBody.java | 70 - .../BaseWorkbookFunctionsCountABody.java | 70 - .../BaseWorkbookFunctionsCountBlankBody.java | 70 - .../BaseWorkbookFunctionsCountBody.java | 70 - .../BaseWorkbookFunctionsCountIfBody.java | 78 - .../BaseWorkbookFunctionsCountIfsBody.java | 70 - .../BaseWorkbookFunctionsCoupDayBsBody.java | 94 - .../BaseWorkbookFunctionsCoupDaysBody.java | 94 - .../BaseWorkbookFunctionsCoupDaysNcBody.java | 94 - .../BaseWorkbookFunctionsCoupNcdBody.java | 94 - .../BaseWorkbookFunctionsCoupNumBody.java | 94 - .../BaseWorkbookFunctionsCoupPcdBody.java | 94 - .../BaseWorkbookFunctionsCscBody.java | 70 - .../BaseWorkbookFunctionsCschBody.java | 70 - .../BaseWorkbookFunctionsCumIPmtBody.java | 110 - .../BaseWorkbookFunctionsCumPrincBody.java | 110 - .../BaseWorkbookFunctionsDateBody.java | 86 - .../BaseWorkbookFunctionsDatevalueBody.java | 70 - .../BaseWorkbookFunctionsDaverageBody.java | 86 - .../BaseWorkbookFunctionsDayBody.java | 70 - .../BaseWorkbookFunctionsDays360Body.java | 86 - .../BaseWorkbookFunctionsDaysBody.java | 78 - .../BaseWorkbookFunctionsDbBody.java | 102 - .../BaseWorkbookFunctionsDbcsBody.java | 70 - .../BaseWorkbookFunctionsDcountABody.java | 86 - .../BaseWorkbookFunctionsDcountBody.java | 86 - .../BaseWorkbookFunctionsDdbBody.java | 102 - .../BaseWorkbookFunctionsDec2BinBody.java | 78 - .../BaseWorkbookFunctionsDec2HexBody.java | 78 - .../BaseWorkbookFunctionsDec2OctBody.java | 78 - .../BaseWorkbookFunctionsDecimalBody.java | 78 - .../BaseWorkbookFunctionsDegreesBody.java | 70 - .../BaseWorkbookFunctionsDeltaBody.java | 78 - .../BaseWorkbookFunctionsDevSqBody.java | 70 - .../BaseWorkbookFunctionsDgetBody.java | 86 - .../BaseWorkbookFunctionsDiscBody.java | 102 - .../BaseWorkbookFunctionsDmaxBody.java | 86 - .../BaseWorkbookFunctionsDminBody.java | 86 - .../BaseWorkbookFunctionsDollarBody.java | 78 - .../BaseWorkbookFunctionsDollarDeBody.java | 78 - .../BaseWorkbookFunctionsDollarFrBody.java | 78 - .../BaseWorkbookFunctionsDproductBody.java | 86 - .../BaseWorkbookFunctionsDstDevBody.java | 86 - .../BaseWorkbookFunctionsDstDevPBody.java | 86 - .../BaseWorkbookFunctionsDsumBody.java | 86 - .../BaseWorkbookFunctionsDurationBody.java | 110 - .../BaseWorkbookFunctionsDvarBody.java | 86 - .../BaseWorkbookFunctionsDvarPBody.java | 86 - ...BaseWorkbookFunctionsEcma_CeilingBody.java | 78 - .../BaseWorkbookFunctionsEdateBody.java | 78 - .../BaseWorkbookFunctionsEffectBody.java | 78 - .../BaseWorkbookFunctionsEoMonthBody.java | 78 - .../BaseWorkbookFunctionsErfBody.java | 78 - .../BaseWorkbookFunctionsErfCBody.java | 70 - ...BaseWorkbookFunctionsErfC_PreciseBody.java | 70 - .../BaseWorkbookFunctionsErf_PreciseBody.java | 70 - .../BaseWorkbookFunctionsError_TypeBody.java | 70 - .../BaseWorkbookFunctionsEvenBody.java | 70 - .../BaseWorkbookFunctionsExactBody.java | 78 - .../BaseWorkbookFunctionsExpBody.java | 70 - .../BaseWorkbookFunctionsExpon_DistBody.java | 86 - .../BaseWorkbookFunctionsF_DistBody.java | 94 - .../BaseWorkbookFunctionsF_Dist_RTBody.java | 86 - .../BaseWorkbookFunctionsF_InvBody.java | 86 - .../BaseWorkbookFunctionsF_Inv_RTBody.java | 86 - .../BaseWorkbookFunctionsFactBody.java | 70 - .../BaseWorkbookFunctionsFactDoubleBody.java | 70 - .../BaseWorkbookFunctionsFindBBody.java | 86 - .../BaseWorkbookFunctionsFindBody.java | 86 - .../BaseWorkbookFunctionsFisherBody.java | 70 - .../BaseWorkbookFunctionsFisherInvBody.java | 70 - .../BaseWorkbookFunctionsFixedBody.java | 86 - .../BaseWorkbookFunctionsFloor_MathBody.java | 86 - ...aseWorkbookFunctionsFloor_PreciseBody.java | 78 - .../BaseWorkbookFunctionsFvBody.java | 102 - .../BaseWorkbookFunctionsFvscheduleBody.java | 78 - .../BaseWorkbookFunctionsGammaBody.java | 70 - .../BaseWorkbookFunctionsGammaLnBody.java | 70 - ...eWorkbookFunctionsGammaLn_PreciseBody.java | 70 - .../BaseWorkbookFunctionsGamma_DistBody.java | 94 - .../BaseWorkbookFunctionsGamma_InvBody.java | 86 - .../BaseWorkbookFunctionsGaussBody.java | 70 - .../BaseWorkbookFunctionsGcdBody.java | 70 - .../BaseWorkbookFunctionsGeStepBody.java | 78 - .../BaseWorkbookFunctionsGeoMeanBody.java | 70 - .../BaseWorkbookFunctionsHarMeanBody.java | 70 - .../BaseWorkbookFunctionsHex2BinBody.java | 78 - .../BaseWorkbookFunctionsHex2DecBody.java | 70 - .../BaseWorkbookFunctionsHex2OctBody.java | 78 - .../BaseWorkbookFunctionsHlookupBody.java | 94 - .../BaseWorkbookFunctionsHourBody.java | 70 - ...BaseWorkbookFunctionsHypGeom_DistBody.java | 102 - .../BaseWorkbookFunctionsHyperlinkBody.java | 78 - .../BaseWorkbookFunctionsIfBody.java | 86 - .../BaseWorkbookFunctionsImAbsBody.java | 70 - .../BaseWorkbookFunctionsImArgumentBody.java | 70 - .../BaseWorkbookFunctionsImConjugateBody.java | 70 - .../BaseWorkbookFunctionsImCosBody.java | 70 - .../BaseWorkbookFunctionsImCoshBody.java | 70 - .../BaseWorkbookFunctionsImCotBody.java | 70 - .../BaseWorkbookFunctionsImCscBody.java | 70 - .../BaseWorkbookFunctionsImCschBody.java | 70 - .../BaseWorkbookFunctionsImDivBody.java | 78 - .../BaseWorkbookFunctionsImExpBody.java | 70 - .../BaseWorkbookFunctionsImLnBody.java | 70 - .../BaseWorkbookFunctionsImLog10Body.java | 70 - .../BaseWorkbookFunctionsImLog2Body.java | 70 - .../BaseWorkbookFunctionsImPowerBody.java | 78 - .../BaseWorkbookFunctionsImProductBody.java | 70 - .../BaseWorkbookFunctionsImRealBody.java | 70 - .../BaseWorkbookFunctionsImSecBody.java | 70 - .../BaseWorkbookFunctionsImSechBody.java | 70 - .../BaseWorkbookFunctionsImSinBody.java | 70 - .../BaseWorkbookFunctionsImSinhBody.java | 70 - .../BaseWorkbookFunctionsImSqrtBody.java | 70 - .../BaseWorkbookFunctionsImSubBody.java | 78 - .../BaseWorkbookFunctionsImSumBody.java | 70 - .../BaseWorkbookFunctionsImTanBody.java | 70 - .../BaseWorkbookFunctionsImaginaryBody.java | 70 - .../BaseWorkbookFunctionsIntBody.java | 70 - .../BaseWorkbookFunctionsIntRateBody.java | 102 - .../BaseWorkbookFunctionsIpmtBody.java | 110 - .../BaseWorkbookFunctionsIrrBody.java | 78 - .../BaseWorkbookFunctionsIsErrBody.java | 70 - .../BaseWorkbookFunctionsIsErrorBody.java | 70 - .../BaseWorkbookFunctionsIsEvenBody.java | 70 - .../BaseWorkbookFunctionsIsFormulaBody.java | 70 - .../BaseWorkbookFunctionsIsLogicalBody.java | 70 - .../BaseWorkbookFunctionsIsNABody.java | 70 - .../BaseWorkbookFunctionsIsNonTextBody.java | 70 - .../BaseWorkbookFunctionsIsNumberBody.java | 70 - .../BaseWorkbookFunctionsIsOddBody.java | 70 - .../BaseWorkbookFunctionsIsTextBody.java | 70 - .../BaseWorkbookFunctionsIsoWeekNumBody.java | 70 - .../BaseWorkbookFunctionsIso_CeilingBody.java | 78 - .../BaseWorkbookFunctionsIspmtBody.java | 94 - .../BaseWorkbookFunctionsIsrefBody.java | 70 - .../BaseWorkbookFunctionsKurtBody.java | 70 - .../BaseWorkbookFunctionsLargeBody.java | 78 - .../BaseWorkbookFunctionsLcmBody.java | 70 - .../BaseWorkbookFunctionsLeftBody.java | 78 - .../BaseWorkbookFunctionsLeftbBody.java | 78 - .../BaseWorkbookFunctionsLenBody.java | 70 - .../BaseWorkbookFunctionsLenbBody.java | 70 - .../BaseWorkbookFunctionsLnBody.java | 70 - .../BaseWorkbookFunctionsLog10Body.java | 70 - .../BaseWorkbookFunctionsLogBody.java | 78 - ...BaseWorkbookFunctionsLogNorm_DistBody.java | 94 - .../BaseWorkbookFunctionsLogNorm_InvBody.java | 86 - .../BaseWorkbookFunctionsLookupBody.java | 86 - .../BaseWorkbookFunctionsLowerBody.java | 70 - .../BaseWorkbookFunctionsMatchBody.java | 86 - .../BaseWorkbookFunctionsMaxABody.java | 70 - .../BaseWorkbookFunctionsMaxBody.java | 70 - .../BaseWorkbookFunctionsMdurationBody.java | 110 - .../BaseWorkbookFunctionsMedianBody.java | 70 - .../BaseWorkbookFunctionsMidBody.java | 86 - .../BaseWorkbookFunctionsMidbBody.java | 86 - .../BaseWorkbookFunctionsMinABody.java | 70 - .../BaseWorkbookFunctionsMinBody.java | 70 - .../BaseWorkbookFunctionsMinuteBody.java | 70 - .../BaseWorkbookFunctionsMirrBody.java | 86 - .../BaseWorkbookFunctionsModBody.java | 78 - .../BaseWorkbookFunctionsMonthBody.java | 70 - .../BaseWorkbookFunctionsMroundBody.java | 78 - .../BaseWorkbookFunctionsMultiNomialBody.java | 70 - .../generated/BaseWorkbookFunctionsNBody.java | 70 - ...aseWorkbookFunctionsNegBinom_DistBody.java | 94 - .../BaseWorkbookFunctionsNetworkDaysBody.java | 86 - ...WorkbookFunctionsNetworkDays_IntlBody.java | 94 - .../BaseWorkbookFunctionsNominalBody.java | 78 - .../BaseWorkbookFunctionsNorm_DistBody.java | 94 - .../BaseWorkbookFunctionsNorm_InvBody.java | 86 - .../BaseWorkbookFunctionsNorm_S_DistBody.java | 78 - .../BaseWorkbookFunctionsNorm_S_InvBody.java | 70 - .../BaseWorkbookFunctionsNotBody.java | 70 - .../BaseWorkbookFunctionsNperBody.java | 102 - .../BaseWorkbookFunctionsNpvBody.java | 78 - .../BaseWorkbookFunctionsNumberValueBody.java | 86 - .../BaseWorkbookFunctionsOct2BinBody.java | 78 - .../BaseWorkbookFunctionsOct2DecBody.java | 70 - .../BaseWorkbookFunctionsOct2HexBody.java | 78 - .../BaseWorkbookFunctionsOddBody.java | 70 - .../BaseWorkbookFunctionsOddFPriceBody.java | 134 - .../BaseWorkbookFunctionsOddFYieldBody.java | 134 - .../BaseWorkbookFunctionsOddLPriceBody.java | 126 - .../BaseWorkbookFunctionsOddLYieldBody.java | 126 - .../BaseWorkbookFunctionsOrBody.java | 70 - .../BaseWorkbookFunctionsPdurationBody.java | 86 - ...eWorkbookFunctionsPercentRank_ExcBody.java | 86 - ...eWorkbookFunctionsPercentRank_IncBody.java | 86 - ...seWorkbookFunctionsPercentile_ExcBody.java | 78 - ...seWorkbookFunctionsPercentile_IncBody.java | 78 - .../BaseWorkbookFunctionsPermutBody.java | 78 - ...BaseWorkbookFunctionsPermutationaBody.java | 78 - .../BaseWorkbookFunctionsPhiBody.java | 70 - .../BaseWorkbookFunctionsPmtBody.java | 102 - ...BaseWorkbookFunctionsPoisson_DistBody.java | 86 - .../BaseWorkbookFunctionsPowerBody.java | 78 - .../BaseWorkbookFunctionsPpmtBody.java | 110 - .../BaseWorkbookFunctionsPriceBody.java | 118 - .../BaseWorkbookFunctionsPriceDiscBody.java | 102 - .../BaseWorkbookFunctionsPriceMatBody.java | 110 - .../BaseWorkbookFunctionsProductBody.java | 70 - .../BaseWorkbookFunctionsProperBody.java | 70 - .../BaseWorkbookFunctionsPvBody.java | 102 - ...BaseWorkbookFunctionsQuartile_ExcBody.java | 78 - ...BaseWorkbookFunctionsQuartile_IncBody.java | 78 - .../BaseWorkbookFunctionsQuotientBody.java | 78 - .../BaseWorkbookFunctionsRadiansBody.java | 70 - .../BaseWorkbookFunctionsRandBetweenBody.java | 78 - .../BaseWorkbookFunctionsRank_AvgBody.java | 86 - .../BaseWorkbookFunctionsRank_EqBody.java | 86 - .../BaseWorkbookFunctionsRateBody.java | 110 - .../BaseWorkbookFunctionsReceivedBody.java | 102 - .../BaseWorkbookFunctionsReplaceBBody.java | 94 - .../BaseWorkbookFunctionsReplaceBody.java | 94 - .../BaseWorkbookFunctionsReptBody.java | 78 - .../BaseWorkbookFunctionsRightBody.java | 78 - .../BaseWorkbookFunctionsRightbBody.java | 78 - .../BaseWorkbookFunctionsRomanBody.java | 78 - .../BaseWorkbookFunctionsRoundBody.java | 78 - .../BaseWorkbookFunctionsRoundDownBody.java | 78 - .../BaseWorkbookFunctionsRoundUpBody.java | 78 - .../BaseWorkbookFunctionsRowsBody.java | 70 - .../BaseWorkbookFunctionsRriBody.java | 86 - .../BaseWorkbookFunctionsSecBody.java | 70 - .../BaseWorkbookFunctionsSechBody.java | 70 - .../BaseWorkbookFunctionsSecondBody.java | 70 - .../BaseWorkbookFunctionsSeriesSumBody.java | 94 - .../BaseWorkbookFunctionsSheetBody.java | 70 - .../BaseWorkbookFunctionsSheetsBody.java | 70 - .../BaseWorkbookFunctionsSignBody.java | 70 - .../BaseWorkbookFunctionsSinBody.java | 70 - .../BaseWorkbookFunctionsSinhBody.java | 70 - .../BaseWorkbookFunctionsSkewBody.java | 70 - .../BaseWorkbookFunctionsSkew_pBody.java | 70 - .../BaseWorkbookFunctionsSlnBody.java | 86 - .../BaseWorkbookFunctionsSmallBody.java | 78 - .../BaseWorkbookFunctionsSqrtBody.java | 70 - .../BaseWorkbookFunctionsSqrtPiBody.java | 70 - .../BaseWorkbookFunctionsStDevABody.java | 70 - .../BaseWorkbookFunctionsStDevPABody.java | 70 - .../BaseWorkbookFunctionsStDev_PBody.java | 70 - .../BaseWorkbookFunctionsStDev_SBody.java | 70 - .../BaseWorkbookFunctionsStandardizeBody.java | 86 - .../BaseWorkbookFunctionsSubstituteBody.java | 94 - .../BaseWorkbookFunctionsSubtotalBody.java | 78 - .../BaseWorkbookFunctionsSumBody.java | 70 - .../BaseWorkbookFunctionsSumIfBody.java | 86 - .../BaseWorkbookFunctionsSumIfsBody.java | 78 - .../BaseWorkbookFunctionsSumSqBody.java | 70 - .../BaseWorkbookFunctionsSydBody.java | 94 - .../generated/BaseWorkbookFunctionsTBody.java | 70 - .../BaseWorkbookFunctionsT_DistBody.java | 86 - .../BaseWorkbookFunctionsT_Dist_2TBody.java | 78 - .../BaseWorkbookFunctionsT_Dist_RTBody.java | 78 - .../BaseWorkbookFunctionsT_InvBody.java | 78 - .../BaseWorkbookFunctionsT_Inv_2TBody.java | 78 - .../BaseWorkbookFunctionsTanBody.java | 70 - .../BaseWorkbookFunctionsTanhBody.java | 70 - .../BaseWorkbookFunctionsTbillEqBody.java | 86 - .../BaseWorkbookFunctionsTbillPriceBody.java | 86 - .../BaseWorkbookFunctionsTbillYieldBody.java | 86 - .../BaseWorkbookFunctionsTextBody.java | 78 - .../BaseWorkbookFunctionsTimeBody.java | 86 - .../BaseWorkbookFunctionsTimevalueBody.java | 70 - .../BaseWorkbookFunctionsTrimBody.java | 70 - .../BaseWorkbookFunctionsTrimMeanBody.java | 78 - .../BaseWorkbookFunctionsTruncBody.java | 78 - .../BaseWorkbookFunctionsTypeBody.java | 70 - .../BaseWorkbookFunctionsUnicharBody.java | 70 - .../BaseWorkbookFunctionsUnicodeBody.java | 70 - .../BaseWorkbookFunctionsUpperBody.java | 70 - .../BaseWorkbookFunctionsUsdollarBody.java | 78 - .../BaseWorkbookFunctionsValueBody.java | 70 - .../BaseWorkbookFunctionsVarABody.java | 70 - .../BaseWorkbookFunctionsVarPABody.java | 70 - .../BaseWorkbookFunctionsVar_PBody.java | 70 - .../BaseWorkbookFunctionsVar_SBody.java | 70 - .../BaseWorkbookFunctionsVdbBody.java | 118 - .../BaseWorkbookFunctionsVlookupBody.java | 94 - .../BaseWorkbookFunctionsWeekNumBody.java | 78 - .../BaseWorkbookFunctionsWeekdayBody.java | 78 - ...BaseWorkbookFunctionsWeibull_DistBody.java | 94 - .../BaseWorkbookFunctionsWorkDayBody.java | 86 - ...BaseWorkbookFunctionsWorkDay_IntlBody.java | 94 - .../BaseWorkbookFunctionsXirrBody.java | 86 - .../BaseWorkbookFunctionsXnpvBody.java | 86 - .../BaseWorkbookFunctionsXorBody.java | 70 - .../BaseWorkbookFunctionsYearBody.java | 70 - .../BaseWorkbookFunctionsYearFracBody.java | 86 - .../BaseWorkbookFunctionsYieldBody.java | 118 - .../BaseWorkbookFunctionsYieldDiscBody.java | 102 - .../BaseWorkbookFunctionsYieldMatBody.java | 110 - .../BaseWorkbookFunctionsZ_TestBody.java | 86 - .../models/generated/BaseWorkbookIcon.java | 95 - .../generated/BaseWorkbookNamedItem.java | 127 - .../BaseWorkbookNamedItemAddBody.java | 86 - ...eWorkbookNamedItemAddFormulaLocalBody.java | 86 - .../generated/BaseWorkbookPivotTable.java | 87 - .../BaseWorkbookProcessQueryBody.java | 70 - .../models/generated/BaseWorkbookRange.java | 233 -- .../generated/BaseWorkbookRangeBorder.java | 102 - .../generated/BaseWorkbookRangeClearBody.java | 70 - .../BaseWorkbookRangeDeleteBody.java | 70 - .../generated/BaseWorkbookRangeFill.java | 78 - .../generated/BaseWorkbookRangeFont.java | 118 - .../generated/BaseWorkbookRangeFormat.java | 162 -- .../BaseWorkbookRangeInsertBody.java | 70 - .../generated/BaseWorkbookRangeMergeBody.java | 70 - .../generated/BaseWorkbookRangeReference.java | 87 - .../generated/BaseWorkbookRangeSort.java | 70 - .../BaseWorkbookRangeSortApplyBody.java | 102 - .../generated/BaseWorkbookRangeView.java | 183 -- .../generated/BaseWorkbookSessionInfo.java | 95 - .../generated/BaseWorkbookSortField.java | 128 - .../models/generated/BaseWorkbookTable.java | 210 -- .../generated/BaseWorkbookTableAddBody.java | 78 - .../generated/BaseWorkbookTableColumn.java | 103 - .../BaseWorkbookTableColumnAddBody.java | 86 - .../generated/BaseWorkbookTableRow.java | 86 - .../BaseWorkbookTableRowAddBody.java | 78 - .../generated/BaseWorkbookTableSort.java | 95 - .../BaseWorkbookTableSortApplyBody.java | 86 - .../generated/BaseWorkbookWorksheet.java | 203 -- .../BaseWorkbookWorksheetAddBody.java | 70 - .../BaseWorkbookWorksheetProtection.java | 87 - ...aseWorkbookWorksheetProtectionOptions.java | 167 -- ...orkbookWorksheetProtectionProtectBody.java | 70 - .../models/generated/BaseWorkingHours.java | 113 - .../ActivityHistoryItemCollectionPage.java | 20 +- .../ActivityHistoryItemCollectionRequest.java | 102 +- ...tyHistoryItemCollectionRequestBuilder.java | 32 +- ...ActivityHistoryItemCollectionResponse.java | 90 + .../ActivityHistoryItemRequest.java | 119 +- .../ActivityHistoryItemRequestBuilder.java | 42 +- .../extensions/AdministrativeUnitRequest.java | 119 +- .../AdministrativeUnitRequestBuilder.java | 31 +- .../extensions/AlertCollectionPage.java | 20 +- .../extensions/AlertCollectionRequest.java | 102 +- .../AlertCollectionRequestBuilder.java | 32 +- .../extensions/AlertCollectionResponse.java | 90 + .../requests/extensions/AlertRequest.java | 119 +- .../extensions/AlertRequestBuilder.java | 31 +- .../AndroidCompliancePolicyRequest.java | 119 +- ...AndroidCompliancePolicyRequestBuilder.java | 31 +- .../AndroidCustomConfigurationRequest.java | 119 +- ...roidCustomConfigurationRequestBuilder.java | 31 +- ...roidGeneralDeviceConfigurationRequest.java | 119 +- ...eralDeviceConfigurationRequestBuilder.java | 31 +- .../extensions/AndroidLobAppRequest.java | 119 +- .../AndroidLobAppRequestBuilder.java | 31 +- ...oidManagedAppProtectionCollectionPage.java | 20 +- ...ManagedAppProtectionCollectionRequest.java | 102 +- ...AppProtectionCollectionRequestBuilder.java | 32 +- ...anagedAppProtectionCollectionResponse.java | 90 + .../AndroidManagedAppProtectionRequest.java | 119 +- ...oidManagedAppProtectionRequestBuilder.java | 53 +- .../AndroidManagedAppRegistrationRequest.java | 119 +- ...dManagedAppRegistrationRequestBuilder.java | 31 +- .../extensions/AndroidStoreAppRequest.java | 119 +- .../AndroidStoreAppRequestBuilder.java | 31 +- ...oidWorkProfileCompliancePolicyRequest.java | 119 +- ...ProfileCompliancePolicyRequestBuilder.java | 31 +- ...WorkProfileCustomConfigurationRequest.java | 119 +- ...fileCustomConfigurationRequestBuilder.java | 31 +- ...fileGeneralDeviceConfigurationRequest.java | 119 +- ...eralDeviceConfigurationRequestBuilder.java | 31 +- .../extensions/AppCatalogsRequest.java | 119 +- .../extensions/AppCatalogsRequestBuilder.java | 42 +- ...eviceFeaturesConfigurationBaseRequest.java | 119 +- ...aturesConfigurationBaseRequestBuilder.java | 31 +- ...ationCertificateSigningRequestRequest.java | 57 +- ...rtificateSigningRequestRequestBuilder.java | 40 +- ...plePushNotificationCertificateRequest.java | 119 +- ...NotificationCertificateRequestBuilder.java | 37 +- .../extensions/AttachmentCollectionPage.java | 20 +- .../AttachmentCollectionRequest.java | 102 +- .../AttachmentCollectionRequestBuilder.java | 32 +- .../AttachmentCollectionResponse.java | 90 + .../extensions/AttachmentRequest.java | 119 +- .../extensions/AttachmentRequestBuilder.java | 31 +- .../BaseGraphServiceClient.java | 3 +- .../extensions/BaseItemCollectionPage.java | 18 +- .../extensions/BaseItemCollectionRequest.java | 100 +- .../BaseItemCollectionRequestBuilder.java | 30 +- .../BaseItemCollectionResponse.java | 90 + .../requests/extensions/BaseItemRequest.java | 117 +- .../extensions/BaseItemRequestBuilder.java | 51 +- .../extensions/BaseItemVersionRequest.java | 117 +- .../BaseItemVersionRequestBuilder.java | 29 +- .../extensions/CalendarCollectionPage.java | 20 +- .../extensions/CalendarCollectionRequest.java | 102 +- .../CalendarCollectionRequestBuilder.java | 32 +- .../CalendarCollectionResponse.java | 90 + .../CalendarGroupCollectionPage.java | 20 +- .../CalendarGroupCollectionRequest.java | 102 +- ...CalendarGroupCollectionRequestBuilder.java | 32 +- .../CalendarGroupCollectionResponse.java | 90 + .../extensions/CalendarGroupRequest.java | 119 +- .../CalendarGroupRequestBuilder.java | 42 +- .../requests/extensions/CalendarRequest.java | 119 +- .../extensions/CalendarRequestBuilder.java | 75 +- .../extensions/ChannelCollectionPage.java | 20 +- .../extensions/ChannelCollectionRequest.java | 102 +- .../ChannelCollectionRequestBuilder.java | 32 +- .../extensions/ChannelCollectionResponse.java | 90 + .../requests/extensions/ChannelRequest.java | 119 +- .../extensions/ChannelRequestBuilder.java | 42 +- .../ColumnDefinitionCollectionPage.java | 20 +- .../ColumnDefinitionCollectionRequest.java | 102 +- ...umnDefinitionCollectionRequestBuilder.java | 32 +- .../ColumnDefinitionCollectionResponse.java | 90 + .../extensions/ColumnDefinitionRequest.java | 119 +- .../ColumnDefinitionRequestBuilder.java | 31 +- .../extensions/ColumnLinkCollectionPage.java | 20 +- .../ColumnLinkCollectionRequest.java | 102 +- .../ColumnLinkCollectionRequestBuilder.java | 32 +- .../ColumnLinkCollectionResponse.java | 90 + .../extensions/ColumnLinkRequest.java | 119 +- .../extensions/ColumnLinkRequestBuilder.java | 31 +- .../extensions/ContactCollectionPage.java | 20 +- .../extensions/ContactCollectionRequest.java | 102 +- .../ContactCollectionRequestBuilder.java | 40 +- .../extensions/ContactCollectionResponse.java | 90 + .../ContactDeltaCollectionPage.java | 50 +- .../ContactDeltaCollectionRequest.java | 90 +- .../ContactDeltaCollectionRequestBuilder.java | 35 +- .../ContactDeltaCollectionResponse.java | 91 + .../ContactFolderCollectionPage.java | 20 +- .../ContactFolderCollectionRequest.java | 102 +- ...ContactFolderCollectionRequestBuilder.java | 40 +- .../ContactFolderCollectionResponse.java | 90 + .../ContactFolderDeltaCollectionPage.java | 50 +- .../ContactFolderDeltaCollectionRequest.java | 90 +- ...ctFolderDeltaCollectionRequestBuilder.java | 35 +- .../ContactFolderDeltaCollectionResponse.java | 91 + .../extensions/ContactFolderRequest.java | 119 +- .../ContactFolderRequestBuilder.java | 75 +- .../requests/extensions/ContactRequest.java | 119 +- .../extensions/ContactRequestBuilder.java | 75 +- .../extensions/ContentTypeCollectionPage.java | 20 +- .../ContentTypeCollectionRequest.java | 102 +- .../ContentTypeCollectionRequestBuilder.java | 32 +- .../ContentTypeCollectionResponse.java | 90 + .../extensions/ContentTypeRequest.java | 119 +- .../extensions/ContentTypeRequestBuilder.java | 42 +- .../extensions/ContractCollectionPage.java | 20 +- .../extensions/ContractCollectionRequest.java | 102 +- .../ContractCollectionRequestBuilder.java | 32 +- .../ContractCollectionResponse.java | 90 + .../requests/extensions/ContractRequest.java | 119 +- .../extensions/ContractRequestBuilder.java | 31 +- .../ConversationCollectionPage.java | 20 +- .../ConversationCollectionRequest.java | 102 +- .../ConversationCollectionRequestBuilder.java | 32 +- .../ConversationCollectionResponse.java | 90 + .../extensions/ConversationRequest.java | 119 +- .../ConversationRequestBuilder.java | 42 +- .../ConversationThreadCollectionPage.java | 20 +- .../ConversationThreadCollectionRequest.java | 102 +- ...rsationThreadCollectionRequestBuilder.java | 32 +- .../ConversationThreadCollectionResponse.java | 90 + .../ConversationThreadReplyRequest.java | 59 +- ...ConversationThreadReplyRequestBuilder.java | 45 +- .../extensions/ConversationThreadRequest.java | 119 +- .../ConversationThreadRequestBuilder.java | 49 +- .../DataPolicyOperationCollectionPage.java | 20 +- .../DataPolicyOperationCollectionRequest.java | 102 +- ...licyOperationCollectionRequestBuilder.java | 32 +- ...DataPolicyOperationCollectionResponse.java | 90 + .../DataPolicyOperationRequest.java | 119 +- .../DataPolicyOperationRequestBuilder.java | 31 +- ...ultManagedAppProtectionCollectionPage.java | 20 +- ...ManagedAppProtectionCollectionRequest.java | 102 +- ...AppProtectionCollectionRequestBuilder.java | 32 +- ...anagedAppProtectionCollectionResponse.java | 90 + .../DefaultManagedAppProtectionRequest.java | 119 +- ...ultManagedAppProtectionRequestBuilder.java | 53 +- .../extensions/DetectedAppCollectionPage.java | 20 +- .../DetectedAppCollectionRequest.java | 102 +- .../DetectedAppCollectionRequestBuilder.java | 32 +- .../DetectedAppCollectionResponse.java | 90 + .../extensions/DetectedAppRequest.java | 119 +- .../extensions/DetectedAppRequestBuilder.java | 42 +- ...anagementRoleAssignmentCollectionPage.java | 20 +- ...gementRoleAssignmentCollectionRequest.java | 102 +- ...oleAssignmentCollectionRequestBuilder.java | 32 +- ...ementRoleAssignmentCollectionResponse.java | 90 + ...AndAppManagementRoleAssignmentRequest.java | 119 +- ...anagementRoleAssignmentRequestBuilder.java | 31 +- ...AndAppManagementRoleDefinitionRequest.java | 119 +- ...anagementRoleDefinitionRequestBuilder.java | 31 +- .../DeviceAppManagementRequest.java | 119 +- .../DeviceAppManagementRequestBuilder.java | 191 +- ...cMicrosoftStoreForBusinessAppsRequest.java | 44 +- ...oftStoreForBusinessAppsRequestBuilder.java | 36 +- .../DeviceCategoryCollectionPage.java | 20 +- .../DeviceCategoryCollectionRequest.java | 102 +- ...eviceCategoryCollectionRequestBuilder.java | 32 +- .../DeviceCategoryCollectionResponse.java | 90 + .../extensions/DeviceCategoryRequest.java | 119 +- .../DeviceCategoryRequestBuilder.java | 31 +- .../extensions/DeviceCollectionPage.java | 20 +- .../extensions/DeviceCollectionRequest.java | 102 +- .../DeviceCollectionRequestBuilder.java | 32 +- .../extensions/DeviceCollectionResponse.java | 90 + ...iceComplianceActionItemCollectionPage.java | 20 +- ...ComplianceActionItemCollectionRequest.java | 102 +- ...nceActionItemCollectionRequestBuilder.java | 32 +- ...omplianceActionItemCollectionResponse.java | 90 + .../DeviceComplianceActionItemRequest.java | 119 +- ...iceComplianceActionItemRequestBuilder.java | 31 +- ...DeviceComplianceDeviceOverviewRequest.java | 119 +- ...omplianceDeviceOverviewRequestBuilder.java | 31 +- ...eComplianceDeviceStatusCollectionPage.java | 20 +- ...mplianceDeviceStatusCollectionRequest.java | 102 +- ...eDeviceStatusCollectionRequestBuilder.java | 32 +- ...plianceDeviceStatusCollectionResponse.java | 90 + .../DeviceComplianceDeviceStatusRequest.java | 119 +- ...eComplianceDeviceStatusRequestBuilder.java | 31 +- ...eCompliancePolicyAssignCollectionPage.java | 30 +- ...mpliancePolicyAssignCollectionRequest.java | 94 +- ...ePolicyAssignCollectionRequestBuilder.java | 41 +- ...pliancePolicyAssignCollectionResponse.java | 91 + ...pliancePolicyAssignmentCollectionPage.java | 20 +- ...ancePolicyAssignmentCollectionRequest.java | 102 +- ...icyAssignmentCollectionRequestBuilder.java | 32 +- ...ncePolicyAssignmentCollectionResponse.java | 90 + ...viceCompliancePolicyAssignmentRequest.java | 119 +- ...pliancePolicyAssignmentRequestBuilder.java | 31 +- .../DeviceCompliancePolicyCollectionPage.java | 20 +- ...viceCompliancePolicyCollectionRequest.java | 102 +- ...pliancePolicyCollectionRequestBuilder.java | 32 +- ...iceCompliancePolicyCollectionResponse.java | 90 + ...liancePolicyDeviceStateSummaryRequest.java | 119 +- ...olicyDeviceStateSummaryRequestBuilder.java | 31 +- .../DeviceCompliancePolicyRequest.java | 119 +- .../DeviceCompliancePolicyRequestBuilder.java | 122 +- ...ePolicyScheduleActionsForRulesRequest.java | 59 +- ...ScheduleActionsForRulesRequestBuilder.java | 45 +- ...licySettingStateSummaryCollectionPage.java | 20 +- ...ySettingStateSummaryCollectionRequest.java | 102 +- ...gStateSummaryCollectionRequestBuilder.java | 32 +- ...SettingStateSummaryCollectionResponse.java | 90 + ...iancePolicySettingStateSummaryRequest.java | 119 +- ...licySettingStateSummaryRequestBuilder.java | 42 +- ...ceCompliancePolicyStateCollectionPage.java | 20 +- ...ompliancePolicyStateCollectionRequest.java | 102 +- ...cePolicyStateCollectionRequestBuilder.java | 32 +- ...mpliancePolicyStateCollectionResponse.java | 90 + .../DeviceCompliancePolicyStateRequest.java | 119 +- ...ceCompliancePolicyStateRequestBuilder.java | 31 +- ...eScheduledActionForRuleCollectionPage.java | 20 +- ...heduledActionForRuleCollectionRequest.java | 102 +- ...ActionForRuleCollectionRequestBuilder.java | 32 +- ...eduledActionForRuleCollectionResponse.java | 90 + ...mplianceScheduledActionForRuleRequest.java | 119 +- ...eScheduledActionForRuleRequestBuilder.java | 42 +- ...eComplianceSettingStateCollectionPage.java | 20 +- ...mplianceSettingStateCollectionRequest.java | 102 +- ...eSettingStateCollectionRequestBuilder.java | 32 +- ...plianceSettingStateCollectionResponse.java | 90 + .../DeviceComplianceSettingStateRequest.java | 119 +- ...eComplianceSettingStateRequestBuilder.java | 31 +- .../DeviceComplianceUserOverviewRequest.java | 119 +- ...eComplianceUserOverviewRequestBuilder.java | 31 +- ...iceComplianceUserStatusCollectionPage.java | 20 +- ...ComplianceUserStatusCollectionRequest.java | 102 +- ...nceUserStatusCollectionRequestBuilder.java | 32 +- ...omplianceUserStatusCollectionResponse.java | 90 + .../DeviceComplianceUserStatusRequest.java | 119 +- ...iceComplianceUserStatusRequestBuilder.java | 31 +- ...viceConfigurationAssignCollectionPage.java | 30 +- ...eConfigurationAssignCollectionRequest.java | 94 +- ...urationAssignCollectionRequestBuilder.java | 41 +- ...ConfigurationAssignCollectionResponse.java | 91 + ...ConfigurationAssignmentCollectionPage.java | 20 +- ...figurationAssignmentCollectionRequest.java | 102 +- ...ionAssignmentCollectionRequestBuilder.java | 32 +- ...igurationAssignmentCollectionResponse.java | 90 + .../DeviceConfigurationAssignmentRequest.java | 119 +- ...ConfigurationAssignmentRequestBuilder.java | 31 +- .../DeviceConfigurationCollectionPage.java | 20 +- .../DeviceConfigurationCollectionRequest.java | 102 +- ...ConfigurationCollectionRequestBuilder.java | 32 +- ...DeviceConfigurationCollectionResponse.java | 90 + ...iceConfigurationDeviceOverviewRequest.java | 119 +- ...igurationDeviceOverviewRequestBuilder.java | 31 +- ...onfigurationDeviceStateSummaryRequest.java | 119 +- ...ationDeviceStateSummaryRequestBuilder.java | 31 +- ...nfigurationDeviceStatusCollectionPage.java | 20 +- ...gurationDeviceStatusCollectionRequest.java | 102 +- ...nDeviceStatusCollectionRequestBuilder.java | 32 +- ...urationDeviceStatusCollectionResponse.java | 90 + ...eviceConfigurationDeviceStatusRequest.java | 119 +- ...nfigurationDeviceStatusRequestBuilder.java | 31 +- .../DeviceConfigurationRequest.java | 119 +- .../DeviceConfigurationRequestBuilder.java | 104 +- ...eviceConfigurationStateCollectionPage.java | 20 +- ...ceConfigurationStateCollectionRequest.java | 102 +- ...gurationStateCollectionRequestBuilder.java | 32 +- ...eConfigurationStateCollectionResponse.java | 90 + .../DeviceConfigurationStateRequest.java | 119 +- ...eviceConfigurationStateRequestBuilder.java | 31 +- ...eviceConfigurationUserOverviewRequest.java | 119 +- ...nfigurationUserOverviewRequestBuilder.java | 31 +- ...ConfigurationUserStatusCollectionPage.java | 20 +- ...figurationUserStatusCollectionRequest.java | 102 +- ...ionUserStatusCollectionRequestBuilder.java | 32 +- ...igurationUserStatusCollectionResponse.java | 90 + .../DeviceConfigurationUserStatusRequest.java | 119 +- ...ConfigurationUserStatusRequestBuilder.java | 31 +- ...eEnrollmentConfigurationAssignRequest.java | 59 +- ...mentConfigurationAssignRequestBuilder.java | 45 +- ...EnrollmentConfigurationCollectionPage.java | 20 +- ...ollmentConfigurationCollectionRequest.java | 102 +- ...ConfigurationCollectionRequestBuilder.java | 32 +- ...llmentConfigurationCollectionResponse.java | 90 + .../DeviceEnrollmentConfigurationRequest.java | 119 +- ...EnrollmentConfigurationRequestBuilder.java | 55 +- ...llmentConfigurationSetPriorityRequest.java | 59 +- ...onfigurationSetPriorityRequestBuilder.java | 43 +- ...ceEnrollmentLimitConfigurationRequest.java | 119 +- ...lmentLimitConfigurationRequestBuilder.java | 31 +- ...tformRestrictionsConfigurationRequest.java | 119 +- ...strictionsConfigurationRequestBuilder.java | 31 +- ...sHelloForBusinessConfigurationRequest.java | 119 +- ...orBusinessConfigurationRequestBuilder.java | 31 +- .../DeviceInstallStateCollectionPage.java | 20 +- .../DeviceInstallStateCollectionRequest.java | 102 +- ...eInstallStateCollectionRequestBuilder.java | 32 +- .../DeviceInstallStateCollectionResponse.java | 90 + .../extensions/DeviceInstallStateRequest.java | 119 +- .../DeviceInstallStateRequestBuilder.java | 31 +- ...gementExchangeConnectorCollectionPage.java | 20 +- ...entExchangeConnectorCollectionRequest.java | 102 +- ...angeConnectorCollectionRequestBuilder.java | 32 +- ...ntExchangeConnectorCollectionResponse.java | 90 + ...iceManagementExchangeConnectorRequest.java | 119 +- ...gementExchangeConnectorRequestBuilder.java | 38 +- ...anagementExchangeConnectorSyncRequest.java | 59 +- ...ntExchangeConnectorSyncRequestBuilder.java | 45 +- ...GetEffectivePermissionsCollectionPage.java | 30 +- ...EffectivePermissionsCollectionRequest.java | 90 +- ...vePermissionsCollectionRequestBuilder.java | 40 +- ...ffectivePermissionsCollectionResponse.java | 91 + ...DeviceManagementPartnerCollectionPage.java | 20 +- ...iceManagementPartnerCollectionRequest.java | 102 +- ...gementPartnerCollectionRequestBuilder.java | 32 +- ...ceManagementPartnerCollectionResponse.java | 90 + .../DeviceManagementPartnerRequest.java | 119 +- ...DeviceManagementPartnerRequestBuilder.java | 31 +- .../extensions/DeviceManagementRequest.java | 119 +- .../DeviceManagementRequestBuilder.java | 340 ++- ...entTroubleshootingEventCollectionPage.java | 20 +- ...TroubleshootingEventCollectionRequest.java | 102 +- ...shootingEventCollectionRequestBuilder.java | 32 +- ...roubleshootingEventCollectionResponse.java | 90 + ...ManagementTroubleshootingEventRequest.java | 119 +- ...entTroubleshootingEventRequestBuilder.java | 31 +- ...WindowsEnrollmentAutoDiscoveryRequest.java | 57 +- ...EnrollmentAutoDiscoveryRequestBuilder.java | 43 +- .../requests/extensions/DeviceRequest.java | 119 +- .../extensions/DeviceRequestBuilder.java | 86 +- ...ObjectCheckMemberGroupsCollectionPage.java | 30 +- ...ectCheckMemberGroupsCollectionRequest.java | 94 +- ...kMemberGroupsCollectionRequestBuilder.java | 40 +- ...ctCheckMemberGroupsCollectionResponse.java | 84 + .../DirectoryObjectCollectionPage.java | 20 +- ...ctoryObjectCollectionReferenceRequest.java | 78 +- ...jectCollectionReferenceRequestBuilder.java | 26 +- .../DirectoryObjectCollectionRequest.java | 102 +- ...rectoryObjectCollectionRequestBuilder.java | 36 +- .../DirectoryObjectCollectionResponse.java | 90 + ...oryObjectCollectionWithReferencesPage.java | 28 +- ...ObjectCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- ...DirectoryObjectGetByIdsCollectionPage.java | 30 +- ...ectoryObjectGetByIdsCollectionRequest.java | 94 +- ...bjectGetByIdsCollectionRequestBuilder.java | 46 +- ...ctoryObjectGetByIdsCollectionResponse.java | 91 + ...ryObjectGetMemberGroupsCollectionPage.java | 30 +- ...bjectGetMemberGroupsCollectionRequest.java | 94 +- ...tMemberGroupsCollectionRequestBuilder.java | 40 +- ...jectGetMemberGroupsCollectionResponse.java | 84 + ...yObjectGetMemberObjectsCollectionPage.java | 30 +- ...jectGetMemberObjectsCollectionRequest.java | 94 +- ...MemberObjectsCollectionRequestBuilder.java | 40 +- ...ectGetMemberObjectsCollectionResponse.java | 84 + .../DirectoryObjectReferenceRequest.java | 72 +- ...irectoryObjectReferenceRequestBuilder.java | 38 +- .../extensions/DirectoryObjectRequest.java | 119 +- .../DirectoryObjectRequestBuilder.java | 55 +- .../DirectoryObjectRestoreRequest.java | 58 +- .../DirectoryObjectRestoreRequestBuilder.java | 36 +- .../DirectoryObjectWithReferenceRequest.java | 81 +- ...toryObjectWithReferenceRequestBuilder.java | 42 +- .../requests/extensions/DirectoryRequest.java | 119 +- .../extensions/DirectoryRequestBuilder.java | 42 +- .../DirectoryRoleCollectionPage.java | 20 +- .../DirectoryRoleCollectionRequest.java | 102 +- ...DirectoryRoleCollectionRequestBuilder.java | 40 +- .../DirectoryRoleCollectionResponse.java | 90 + .../DirectoryRoleDeltaCollectionPage.java | 50 +- .../DirectoryRoleDeltaCollectionRequest.java | 90 +- ...toryRoleDeltaCollectionRequestBuilder.java | 35 +- .../DirectoryRoleDeltaCollectionResponse.java | 91 + .../extensions/DirectoryRoleRequest.java | 119 +- .../DirectoryRoleRequestBuilder.java | 42 +- .../DirectoryRoleTemplateCollectionPage.java | 20 +- ...irectoryRoleTemplateCollectionRequest.java | 102 +- ...yRoleTemplateCollectionRequestBuilder.java | 32 +- ...rectoryRoleTemplateCollectionResponse.java | 90 + .../DirectoryRoleTemplateRequest.java | 119 +- .../DirectoryRoleTemplateRequestBuilder.java | 31 +- .../extensions/DomainCollectionPage.java | 20 +- .../extensions/DomainCollectionRequest.java | 102 +- .../DomainCollectionRequestBuilder.java | 32 +- .../extensions/DomainCollectionResponse.java | 90 + .../DomainDnsCnameRecordRequest.java | 119 +- .../DomainDnsCnameRecordRequestBuilder.java | 31 +- .../extensions/DomainDnsMxRecordRequest.java | 119 +- .../DomainDnsMxRecordRequestBuilder.java | 31 +- .../DomainDnsRecordCollectionPage.java | 20 +- .../DomainDnsRecordCollectionRequest.java | 102 +- ...mainDnsRecordCollectionRequestBuilder.java | 32 +- .../DomainDnsRecordCollectionResponse.java | 90 + .../extensions/DomainDnsRecordRequest.java | 119 +- .../DomainDnsRecordRequestBuilder.java | 31 +- .../extensions/DomainDnsSrvRecordRequest.java | 119 +- .../DomainDnsSrvRecordRequestBuilder.java | 31 +- .../extensions/DomainDnsTxtRecordRequest.java | 119 +- .../DomainDnsTxtRecordRequestBuilder.java | 31 +- .../DomainDnsUnavailableRecordRequest.java | 119 +- ...ainDnsUnavailableRecordRequestBuilder.java | 31 +- .../extensions/DomainForceDeleteRequest.java | 59 +- .../DomainForceDeleteRequestBuilder.java | 43 +- .../requests/extensions/DomainRequest.java | 119 +- .../extensions/DomainRequestBuilder.java | 76 +- .../extensions/DomainVerifyRequest.java | 58 +- .../DomainVerifyRequestBuilder.java | 36 +- .../extensions/DriveCollectionPage.java | 20 +- .../extensions/DriveCollectionRequest.java | 102 +- .../DriveCollectionRequestBuilder.java | 32 +- .../extensions/DriveCollectionResponse.java | 90 + .../extensions/DriveItemCollectionPage.java | 20 +- .../DriveItemCollectionRequest.java | 102 +- .../DriveItemCollectionRequestBuilder.java | 33 +- .../DriveItemCollectionResponse.java | 90 + .../extensions/DriveItemCopyRequest.java | 60 +- .../DriveItemCopyRequestBuilder.java | 50 +- .../DriveItemCreateLinkRequest.java | 60 +- .../DriveItemCreateLinkRequestBuilder.java | 48 +- .../DriveItemCreateUploadSessionRequest.java | 60 +- ...ItemCreateUploadSessionRequestBuilder.java | 45 +- .../DriveItemDeltaCollectionPage.java | 50 +- .../DriveItemDeltaCollectionRequest.java | 90 +- ...riveItemDeltaCollectionRequestBuilder.java | 43 +- .../DriveItemDeltaCollectionResponse.java | 91 + .../DriveItemInviteCollectionPage.java | 30 +- .../DriveItemInviteCollectionRequest.java | 94 +- ...iveItemInviteCollectionRequestBuilder.java | 65 +- .../DriveItemInviteCollectionResponse.java | 91 + .../extensions/DriveItemPreviewRequest.java | 60 +- .../DriveItemPreviewRequestBuilder.java | 48 +- .../requests/extensions/DriveItemRequest.java | 119 +- .../extensions/DriveItemRequestBuilder.java | 153 +- .../DriveItemSearchCollectionPage.java | 30 +- .../DriveItemSearchCollectionRequest.java | 90 +- ...iveItemSearchCollectionRequestBuilder.java | 40 +- .../DriveItemSearchCollectionResponse.java | 91 + .../extensions/DriveItemStreamRequest.java | 61 +- .../DriveItemStreamRequestBuilder.java | 31 +- .../DriveItemVersionCollectionPage.java | 20 +- .../DriveItemVersionCollectionRequest.java | 102 +- ...veItemVersionCollectionRequestBuilder.java | 32 +- .../DriveItemVersionCollectionResponse.java | 90 + .../extensions/DriveItemVersionRequest.java | 119 +- .../DriveItemVersionRequestBuilder.java | 43 +- ...DriveItemVersionRestoreVersionRequest.java | 44 +- ...emVersionRestoreVersionRequestBuilder.java | 36 +- .../DriveItemVersionStreamRequest.java | 61 +- .../DriveItemVersionStreamRequestBuilder.java | 31 +- .../extensions/DriveRecentCollectionPage.java | 30 +- .../DriveRecentCollectionRequest.java | 90 +- .../DriveRecentCollectionRequestBuilder.java | 35 +- .../DriveRecentCollectionResponse.java | 91 + .../requests/extensions/DriveRequest.java | 119 +- .../extensions/DriveRequestBuilder.java | 93 +- .../extensions/DriveSearchCollectionPage.java | 30 +- .../DriveSearchCollectionRequest.java | 90 +- .../DriveSearchCollectionRequestBuilder.java | 40 +- .../DriveSearchCollectionResponse.java | 91 + .../DriveSharedWithMeCollectionPage.java | 30 +- .../DriveSharedWithMeCollectionRequest.java | 90 +- ...eSharedWithMeCollectionRequestBuilder.java | 35 +- .../DriveSharedWithMeCollectionResponse.java | 91 + .../EBookInstallSummaryRequest.java | 119 +- .../EBookInstallSummaryRequestBuilder.java | 31 +- .../EditionUpgradeConfigurationRequest.java | 119 +- ...ionUpgradeConfigurationRequestBuilder.java | 31 +- .../EducationClassCollectionPage.java | 20 +- ...cationClassCollectionReferenceRequest.java | 78 +- ...lassCollectionReferenceRequestBuilder.java | 26 +- .../EducationClassCollectionRequest.java | 102 +- ...ducationClassCollectionRequestBuilder.java | 32 +- .../EducationClassCollectionResponse.java | 90 + ...tionClassCollectionWithReferencesPage.java | 28 +- ...nClassCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- .../EducationClassReferenceRequest.java | 72 +- ...EducationClassReferenceRequestBuilder.java | 38 +- .../extensions/EducationClassRequest.java | 119 +- .../EducationClassRequestBuilder.java | 75 +- .../EducationClassWithReferenceRequest.java | 81 +- ...ationClassWithReferenceRequestBuilder.java | 42 +- .../EducationOrganizationRequest.java | 119 +- .../EducationOrganizationRequestBuilder.java | 31 +- .../extensions/EducationRootRequest.java | 119 +- .../EducationRootRequestBuilder.java | 75 +- .../EducationSchoolCollectionPage.java | 20 +- ...ationSchoolCollectionReferenceRequest.java | 78 +- ...hoolCollectionReferenceRequestBuilder.java | 26 +- .../EducationSchoolCollectionRequest.java | 102 +- ...ucationSchoolCollectionRequestBuilder.java | 32 +- .../EducationSchoolCollectionResponse.java | 90 + ...ionSchoolCollectionWithReferencesPage.java | 28 +- ...SchoolCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- .../EducationSchoolReferenceRequest.java | 72 +- ...ducationSchoolReferenceRequestBuilder.java | 38 +- .../extensions/EducationSchoolRequest.java | 119 +- .../EducationSchoolRequestBuilder.java | 53 +- .../EducationSchoolWithReferenceRequest.java | 81 +- ...tionSchoolWithReferenceRequestBuilder.java | 42 +- .../EducationUserCollectionPage.java | 20 +- ...ucationUserCollectionReferenceRequest.java | 78 +- ...UserCollectionReferenceRequestBuilder.java | 26 +- .../EducationUserCollectionRequest.java | 102 +- ...EducationUserCollectionRequestBuilder.java | 32 +- .../EducationUserCollectionResponse.java | 90 + ...ationUserCollectionWithReferencesPage.java | 28 +- ...onUserCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- .../EducationUserReferenceRequest.java | 72 +- .../EducationUserReferenceRequestBuilder.java | 38 +- .../extensions/EducationUserRequest.java | 119 +- .../EducationUserRequestBuilder.java | 64 +- .../EducationUserWithReferenceRequest.java | 81 +- ...cationUserWithReferenceRequestBuilder.java | 42 +- ...ConfigurationAssignmentCollectionPage.java | 20 +- ...figurationAssignmentCollectionRequest.java | 102 +- ...ionAssignmentCollectionRequestBuilder.java | 32 +- ...igurationAssignmentCollectionResponse.java | 90 + ...ollmentConfigurationAssignmentRequest.java | 119 +- ...ConfigurationAssignmentRequestBuilder.java | 31 +- ...EnrollmentTroubleshootingEventRequest.java | 119 +- ...entTroubleshootingEventRequestBuilder.java | 31 +- .../extensions/EntityReferenceRequest.java | 72 +- .../EntityReferenceRequestBuilder.java | 38 +- .../requests/extensions/EntityRequest.java | 40 +- .../extensions/EntityRequestBuilder.java | 31 +- .../EntityWithReferenceRequest.java | 81 +- .../EntityWithReferenceRequestBuilder.java | 42 +- .../extensions/EventAcceptRequest.java | 59 +- .../extensions/EventAcceptRequestBuilder.java | 48 +- .../extensions/EventCollectionPage.java | 20 +- .../extensions/EventCollectionRequest.java | 102 +- .../EventCollectionRequestBuilder.java | 40 +- .../extensions/EventCollectionResponse.java | 90 + .../extensions/EventDeclineRequest.java | 59 +- .../EventDeclineRequestBuilder.java | 48 +- .../extensions/EventDeltaCollectionPage.java | 50 +- .../EventDeltaCollectionRequest.java | 90 +- .../EventDeltaCollectionRequestBuilder.java | 35 +- .../EventDeltaCollectionResponse.java | 91 + .../EventDismissReminderRequest.java | 44 +- .../EventDismissReminderRequestBuilder.java | 36 +- .../extensions/EventMessageRequest.java | 119 +- .../EventMessageRequestBuilder.java | 42 +- .../requests/extensions/EventRequest.java | 119 +- .../extensions/EventRequestBuilder.java | 128 +- .../EventSnoozeReminderRequest.java | 59 +- .../EventSnoozeReminderRequestBuilder.java | 45 +- .../EventTentativelyAcceptRequest.java | 59 +- .../EventTentativelyAcceptRequestBuilder.java | 48 +- .../extensions/ExtensionCollectionPage.java | 20 +- .../ExtensionCollectionRequest.java | 102 +- .../ExtensionCollectionRequestBuilder.java | 32 +- .../ExtensionCollectionResponse.java | 90 + .../requests/extensions/ExtensionRequest.java | 119 +- .../extensions/ExtensionRequestBuilder.java | 31 +- .../extensions/FieldValueSetRequest.java | 119 +- .../FieldValueSetRequestBuilder.java | 31 +- .../extensions/FileAttachmentRequest.java | 119 +- .../FileAttachmentRequestBuilder.java | 31 +- .../extensions/GraphServiceClient.java | 38 +- .../extensions/GroupAddFavoriteRequest.java | 44 +- .../GroupAddFavoriteRequestBuilder.java | 36 +- .../extensions/GroupCollectionPage.java | 20 +- .../extensions/GroupCollectionRequest.java | 102 +- .../GroupCollectionRequestBuilder.java | 40 +- .../extensions/GroupCollectionResponse.java | 90 + .../extensions/GroupDeltaCollectionPage.java | 50 +- .../GroupDeltaCollectionRequest.java | 90 +- .../GroupDeltaCollectionRequestBuilder.java | 35 +- .../GroupDeltaCollectionResponse.java | 91 + .../GroupLifecyclePolicyAddGroupRequest.java | 59 +- ...LifecyclePolicyAddGroupRequestBuilder.java | 43 +- .../GroupLifecyclePolicyCollectionPage.java | 20 +- ...GroupLifecyclePolicyCollectionRequest.java | 102 +- ...fecyclePolicyCollectionRequestBuilder.java | 32 +- ...roupLifecyclePolicyCollectionResponse.java | 90 + ...roupLifecyclePolicyRemoveGroupRequest.java | 59 +- ...ecyclePolicyRemoveGroupRequestBuilder.java | 43 +- .../GroupLifecyclePolicyRequest.java | 119 +- .../GroupLifecyclePolicyRequestBuilder.java | 43 +- .../extensions/GroupReferenceRequest.java | 72 +- .../GroupReferenceRequestBuilder.java | 38 +- .../GroupRemoveFavoriteRequest.java | 44 +- .../GroupRemoveFavoriteRequestBuilder.java | 36 +- .../extensions/GroupRenewRequest.java | 44 +- .../extensions/GroupRenewRequestBuilder.java | 36 +- .../requests/extensions/GroupRequest.java | 119 +- .../extensions/GroupRequestBuilder.java | 331 ++- .../GroupResetUnseenCountRequest.java | 44 +- .../GroupResetUnseenCountRequestBuilder.java | 36 +- .../GroupSettingCollectionPage.java | 20 +- .../GroupSettingCollectionRequest.java | 102 +- .../GroupSettingCollectionRequestBuilder.java | 32 +- .../GroupSettingCollectionResponse.java | 90 + .../extensions/GroupSettingRequest.java | 119 +- .../GroupSettingRequestBuilder.java | 31 +- .../GroupSettingTemplateCollectionPage.java | 20 +- ...GroupSettingTemplateCollectionRequest.java | 102 +- ...ttingTemplateCollectionRequestBuilder.java | 32 +- ...roupSettingTemplateCollectionResponse.java | 90 + .../GroupSettingTemplateRequest.java | 119 +- .../GroupSettingTemplateRequestBuilder.java | 31 +- .../GroupSubscribeByMailRequest.java | 44 +- .../GroupSubscribeByMailRequestBuilder.java | 36 +- .../GroupUnsubscribeByMailRequest.java | 44 +- .../GroupUnsubscribeByMailRequestBuilder.java | 36 +- .../extensions/GroupWithReferenceRequest.java | 81 +- .../GroupWithReferenceRequestBuilder.java | 42 +- .../IActivityHistoryItemCollectionPage.java | 19 +- ...IActivityHistoryItemCollectionRequest.java | 48 +- ...tyHistoryItemCollectionRequestBuilder.java | 22 +- .../IActivityHistoryItemRequest.java | 89 +- .../IActivityHistoryItemRequestBuilder.java | 32 +- .../IAdministrativeUnitRequest.java | 89 +- .../IAdministrativeUnitRequestBuilder.java | 24 +- .../extensions/IAlertCollectionPage.java | 19 +- .../extensions/IAlertCollectionRequest.java | 48 +- .../IAlertCollectionRequestBuilder.java | 22 +- .../requests/extensions/IAlertRequest.java | 89 +- .../extensions/IAlertRequestBuilder.java | 24 +- .../IAndroidCompliancePolicyRequest.java | 89 +- ...AndroidCompliancePolicyRequestBuilder.java | 24 +- .../IAndroidCustomConfigurationRequest.java | 89 +- ...roidCustomConfigurationRequestBuilder.java | 24 +- ...roidGeneralDeviceConfigurationRequest.java | 89 +- ...eralDeviceConfigurationRequestBuilder.java | 24 +- .../extensions/IAndroidLobAppRequest.java | 89 +- .../IAndroidLobAppRequestBuilder.java | 24 +- ...oidManagedAppProtectionCollectionPage.java | 19 +- ...ManagedAppProtectionCollectionRequest.java | 48 +- ...AppProtectionCollectionRequestBuilder.java | 22 +- .../IAndroidManagedAppProtectionRequest.java | 89 +- ...oidManagedAppProtectionRequestBuilder.java | 38 +- ...IAndroidManagedAppRegistrationRequest.java | 89 +- ...dManagedAppRegistrationRequestBuilder.java | 24 +- .../extensions/IAndroidStoreAppRequest.java | 89 +- .../IAndroidStoreAppRequestBuilder.java | 24 +- ...oidWorkProfileCompliancePolicyRequest.java | 89 +- ...ProfileCompliancePolicyRequestBuilder.java | 24 +- ...WorkProfileCustomConfigurationRequest.java | 89 +- ...fileCustomConfigurationRequestBuilder.java | 24 +- ...fileGeneralDeviceConfigurationRequest.java | 89 +- ...eralDeviceConfigurationRequestBuilder.java | 24 +- .../extensions/IAppCatalogsRequest.java | 89 +- .../IAppCatalogsRequestBuilder.java | 30 +- ...eviceFeaturesConfigurationBaseRequest.java | 89 +- ...aturesConfigurationBaseRequestBuilder.java | 24 +- ...ationCertificateSigningRequestRequest.java | 45 +- ...rtificateSigningRequestRequestBuilder.java | 22 +- ...plePushNotificationCertificateRequest.java | 89 +- ...NotificationCertificateRequestBuilder.java | 26 +- .../extensions/IAttachmentCollectionPage.java | 19 +- .../IAttachmentCollectionRequest.java | 48 +- .../IAttachmentCollectionRequestBuilder.java | 22 +- .../extensions/IAttachmentRequest.java | 89 +- .../extensions/IAttachmentRequestBuilder.java | 24 +- .../extensions/IBaseItemCollectionPage.java | 17 +- .../IBaseItemCollectionRequest.java | 46 +- .../IBaseItemCollectionRequestBuilder.java | 20 +- .../requests/extensions/IBaseItemRequest.java | 87 +- .../extensions/IBaseItemRequestBuilder.java | 38 +- .../extensions/IBaseItemVersionRequest.java | 87 +- .../IBaseItemVersionRequestBuilder.java | 22 +- .../extensions/ICalendarCollectionPage.java | 19 +- .../ICalendarCollectionRequest.java | 48 +- .../ICalendarCollectionRequestBuilder.java | 22 +- .../ICalendarGroupCollectionPage.java | 19 +- .../ICalendarGroupCollectionRequest.java | 48 +- ...CalendarGroupCollectionRequestBuilder.java | 22 +- .../extensions/ICalendarGroupRequest.java | 89 +- .../ICalendarGroupRequestBuilder.java | 30 +- .../requests/extensions/ICalendarRequest.java | 89 +- .../extensions/ICalendarRequestBuilder.java | 48 +- .../extensions/IChannelCollectionPage.java | 19 +- .../extensions/IChannelCollectionRequest.java | 48 +- .../IChannelCollectionRequestBuilder.java | 22 +- .../requests/extensions/IChannelRequest.java | 89 +- .../extensions/IChannelRequestBuilder.java | 30 +- .../IColumnDefinitionCollectionPage.java | 19 +- .../IColumnDefinitionCollectionRequest.java | 48 +- ...umnDefinitionCollectionRequestBuilder.java | 22 +- .../extensions/IColumnDefinitionRequest.java | 89 +- .../IColumnDefinitionRequestBuilder.java | 24 +- .../extensions/IColumnLinkCollectionPage.java | 19 +- .../IColumnLinkCollectionRequest.java | 48 +- .../IColumnLinkCollectionRequestBuilder.java | 22 +- .../extensions/IColumnLinkRequest.java | 89 +- .../extensions/IColumnLinkRequestBuilder.java | 24 +- .../extensions/IContactCollectionPage.java | 19 +- .../extensions/IContactCollectionRequest.java | 48 +- .../IContactCollectionRequestBuilder.java | 26 +- .../IContactDeltaCollectionPage.java | 25 +- .../IContactDeltaCollectionRequest.java | 47 +- ...IContactDeltaCollectionRequestBuilder.java | 20 +- .../IContactFolderCollectionPage.java | 19 +- .../IContactFolderCollectionRequest.java | 48 +- ...ContactFolderCollectionRequestBuilder.java | 26 +- .../IContactFolderDeltaCollectionPage.java | 25 +- .../IContactFolderDeltaCollectionRequest.java | 47 +- ...ctFolderDeltaCollectionRequestBuilder.java | 20 +- .../extensions/IContactFolderRequest.java | 89 +- .../IContactFolderRequestBuilder.java | 48 +- .../requests/extensions/IContactRequest.java | 89 +- .../extensions/IContactRequestBuilder.java | 50 +- .../IContentTypeCollectionPage.java | 19 +- .../IContentTypeCollectionRequest.java | 48 +- .../IContentTypeCollectionRequestBuilder.java | 22 +- .../extensions/IContentTypeRequest.java | 89 +- .../IContentTypeRequestBuilder.java | 30 +- .../extensions/IContractCollectionPage.java | 19 +- .../IContractCollectionRequest.java | 48 +- .../IContractCollectionRequestBuilder.java | 22 +- .../requests/extensions/IContractRequest.java | 89 +- .../extensions/IContractRequestBuilder.java | 24 +- .../IConversationCollectionPage.java | 19 +- .../IConversationCollectionRequest.java | 48 +- ...IConversationCollectionRequestBuilder.java | 22 +- .../extensions/IConversationRequest.java | 89 +- .../IConversationRequestBuilder.java | 30 +- .../IConversationThreadCollectionPage.java | 19 +- .../IConversationThreadCollectionRequest.java | 48 +- ...rsationThreadCollectionRequestBuilder.java | 22 +- .../IConversationThreadReplyRequest.java | 36 +- ...ConversationThreadReplyRequestBuilder.java | 22 +- .../IConversationThreadRequest.java | 89 +- .../IConversationThreadRequestBuilder.java | 33 +- .../IDataPolicyOperationCollectionPage.java | 19 +- ...IDataPolicyOperationCollectionRequest.java | 48 +- ...licyOperationCollectionRequestBuilder.java | 22 +- .../IDataPolicyOperationRequest.java | 89 +- .../IDataPolicyOperationRequestBuilder.java | 24 +- ...ultManagedAppProtectionCollectionPage.java | 19 +- ...ManagedAppProtectionCollectionRequest.java | 48 +- ...AppProtectionCollectionRequestBuilder.java | 22 +- .../IDefaultManagedAppProtectionRequest.java | 89 +- ...ultManagedAppProtectionRequestBuilder.java | 38 +- .../IDetectedAppCollectionPage.java | 19 +- .../IDetectedAppCollectionRequest.java | 48 +- .../IDetectedAppCollectionRequestBuilder.java | 22 +- .../extensions/IDetectedAppRequest.java | 89 +- .../IDetectedAppRequestBuilder.java | 30 +- ...anagementRoleAssignmentCollectionPage.java | 19 +- ...gementRoleAssignmentCollectionRequest.java | 48 +- ...oleAssignmentCollectionRequestBuilder.java | 22 +- ...AndAppManagementRoleAssignmentRequest.java | 89 +- ...anagementRoleAssignmentRequestBuilder.java | 24 +- ...AndAppManagementRoleDefinitionRequest.java | 89 +- ...anagementRoleDefinitionRequestBuilder.java | 24 +- .../IDeviceAppManagementRequest.java | 89 +- .../IDeviceAppManagementRequestBuilder.java | 110 +- ...cMicrosoftStoreForBusinessAppsRequest.java | 28 +- ...oftStoreForBusinessAppsRequestBuilder.java | 22 +- .../IDeviceCategoryCollectionPage.java | 19 +- .../IDeviceCategoryCollectionRequest.java | 48 +- ...eviceCategoryCollectionRequestBuilder.java | 22 +- .../extensions/IDeviceCategoryRequest.java | 89 +- .../IDeviceCategoryRequestBuilder.java | 24 +- .../extensions/IDeviceCollectionPage.java | 19 +- .../extensions/IDeviceCollectionRequest.java | 48 +- .../IDeviceCollectionRequestBuilder.java | 22 +- ...iceComplianceActionItemCollectionPage.java | 19 +- ...ComplianceActionItemCollectionRequest.java | 48 +- ...nceActionItemCollectionRequestBuilder.java | 22 +- .../IDeviceComplianceActionItemRequest.java | 89 +- ...iceComplianceActionItemRequestBuilder.java | 24 +- ...DeviceComplianceDeviceOverviewRequest.java | 89 +- ...omplianceDeviceOverviewRequestBuilder.java | 24 +- ...eComplianceDeviceStatusCollectionPage.java | 19 +- ...mplianceDeviceStatusCollectionRequest.java | 48 +- ...eDeviceStatusCollectionRequestBuilder.java | 22 +- .../IDeviceComplianceDeviceStatusRequest.java | 89 +- ...eComplianceDeviceStatusRequestBuilder.java | 24 +- ...eCompliancePolicyAssignCollectionPage.java | 19 +- ...mpliancePolicyAssignCollectionRequest.java | 47 +- ...ePolicyAssignCollectionRequestBuilder.java | 20 +- ...pliancePolicyAssignmentCollectionPage.java | 19 +- ...ancePolicyAssignmentCollectionRequest.java | 48 +- ...icyAssignmentCollectionRequestBuilder.java | 22 +- ...viceCompliancePolicyAssignmentRequest.java | 89 +- ...pliancePolicyAssignmentRequestBuilder.java | 24 +- ...IDeviceCompliancePolicyCollectionPage.java | 19 +- ...viceCompliancePolicyCollectionRequest.java | 48 +- ...pliancePolicyCollectionRequestBuilder.java | 22 +- ...liancePolicyDeviceStateSummaryRequest.java | 89 +- ...olicyDeviceStateSummaryRequestBuilder.java | 24 +- .../IDeviceCompliancePolicyRequest.java | 89 +- ...IDeviceCompliancePolicyRequestBuilder.java | 77 +- ...ePolicyScheduleActionsForRulesRequest.java | 36 +- ...ScheduleActionsForRulesRequestBuilder.java | 22 +- ...licySettingStateSummaryCollectionPage.java | 19 +- ...ySettingStateSummaryCollectionRequest.java | 48 +- ...gStateSummaryCollectionRequestBuilder.java | 22 +- ...iancePolicySettingStateSummaryRequest.java | 89 +- ...licySettingStateSummaryRequestBuilder.java | 30 +- ...ceCompliancePolicyStateCollectionPage.java | 19 +- ...ompliancePolicyStateCollectionRequest.java | 48 +- ...cePolicyStateCollectionRequestBuilder.java | 22 +- .../IDeviceCompliancePolicyStateRequest.java | 89 +- ...ceCompliancePolicyStateRequestBuilder.java | 24 +- ...eScheduledActionForRuleCollectionPage.java | 19 +- ...heduledActionForRuleCollectionRequest.java | 48 +- ...ActionForRuleCollectionRequestBuilder.java | 22 +- ...mplianceScheduledActionForRuleRequest.java | 89 +- ...eScheduledActionForRuleRequestBuilder.java | 30 +- ...eComplianceSettingStateCollectionPage.java | 19 +- ...mplianceSettingStateCollectionRequest.java | 48 +- ...eSettingStateCollectionRequestBuilder.java | 22 +- .../IDeviceComplianceSettingStateRequest.java | 89 +- ...eComplianceSettingStateRequestBuilder.java | 24 +- .../IDeviceComplianceUserOverviewRequest.java | 89 +- ...eComplianceUserOverviewRequestBuilder.java | 24 +- ...iceComplianceUserStatusCollectionPage.java | 19 +- ...ComplianceUserStatusCollectionRequest.java | 48 +- ...nceUserStatusCollectionRequestBuilder.java | 22 +- .../IDeviceComplianceUserStatusRequest.java | 89 +- ...iceComplianceUserStatusRequestBuilder.java | 24 +- ...viceConfigurationAssignCollectionPage.java | 19 +- ...eConfigurationAssignCollectionRequest.java | 47 +- ...urationAssignCollectionRequestBuilder.java | 20 +- ...ConfigurationAssignmentCollectionPage.java | 19 +- ...figurationAssignmentCollectionRequest.java | 48 +- ...ionAssignmentCollectionRequestBuilder.java | 22 +- ...IDeviceConfigurationAssignmentRequest.java | 89 +- ...ConfigurationAssignmentRequestBuilder.java | 24 +- .../IDeviceConfigurationCollectionPage.java | 19 +- ...IDeviceConfigurationCollectionRequest.java | 48 +- ...ConfigurationCollectionRequestBuilder.java | 22 +- ...iceConfigurationDeviceOverviewRequest.java | 89 +- ...igurationDeviceOverviewRequestBuilder.java | 24 +- ...onfigurationDeviceStateSummaryRequest.java | 89 +- ...ationDeviceStateSummaryRequestBuilder.java | 24 +- ...nfigurationDeviceStatusCollectionPage.java | 19 +- ...gurationDeviceStatusCollectionRequest.java | 48 +- ...nDeviceStatusCollectionRequestBuilder.java | 22 +- ...eviceConfigurationDeviceStatusRequest.java | 89 +- ...nfigurationDeviceStatusRequestBuilder.java | 24 +- .../IDeviceConfigurationRequest.java | 89 +- .../IDeviceConfigurationRequestBuilder.java | 68 +- ...eviceConfigurationStateCollectionPage.java | 19 +- ...ceConfigurationStateCollectionRequest.java | 48 +- ...gurationStateCollectionRequestBuilder.java | 22 +- .../IDeviceConfigurationStateRequest.java | 89 +- ...eviceConfigurationStateRequestBuilder.java | 24 +- ...eviceConfigurationUserOverviewRequest.java | 89 +- ...nfigurationUserOverviewRequestBuilder.java | 24 +- ...ConfigurationUserStatusCollectionPage.java | 19 +- ...figurationUserStatusCollectionRequest.java | 48 +- ...ionUserStatusCollectionRequestBuilder.java | 22 +- ...IDeviceConfigurationUserStatusRequest.java | 89 +- ...ConfigurationUserStatusRequestBuilder.java | 24 +- ...eEnrollmentConfigurationAssignRequest.java | 36 +- ...mentConfigurationAssignRequestBuilder.java | 22 +- ...EnrollmentConfigurationCollectionPage.java | 19 +- ...ollmentConfigurationCollectionRequest.java | 48 +- ...ConfigurationCollectionRequestBuilder.java | 22 +- ...IDeviceEnrollmentConfigurationRequest.java | 89 +- ...EnrollmentConfigurationRequestBuilder.java | 35 +- ...llmentConfigurationSetPriorityRequest.java | 36 +- ...onfigurationSetPriorityRequestBuilder.java | 22 +- ...ceEnrollmentLimitConfigurationRequest.java | 89 +- ...lmentLimitConfigurationRequestBuilder.java | 24 +- ...tformRestrictionsConfigurationRequest.java | 89 +- ...strictionsConfigurationRequestBuilder.java | 24 +- ...sHelloForBusinessConfigurationRequest.java | 89 +- ...orBusinessConfigurationRequestBuilder.java | 24 +- .../IDeviceInstallStateCollectionPage.java | 19 +- .../IDeviceInstallStateCollectionRequest.java | 48 +- ...eInstallStateCollectionRequestBuilder.java | 22 +- .../IDeviceInstallStateRequest.java | 89 +- .../IDeviceInstallStateRequestBuilder.java | 24 +- ...gementExchangeConnectorCollectionPage.java | 19 +- ...entExchangeConnectorCollectionRequest.java | 48 +- ...angeConnectorCollectionRequestBuilder.java | 22 +- ...iceManagementExchangeConnectorRequest.java | 89 +- ...gementExchangeConnectorRequestBuilder.java | 27 +- ...anagementExchangeConnectorSyncRequest.java | 36 +- ...ntExchangeConnectorSyncRequestBuilder.java | 22 +- ...GetEffectivePermissionsCollectionPage.java | 19 +- ...EffectivePermissionsCollectionRequest.java | 47 +- ...vePermissionsCollectionRequestBuilder.java | 20 +- ...DeviceManagementPartnerCollectionPage.java | 19 +- ...iceManagementPartnerCollectionRequest.java | 48 +- ...gementPartnerCollectionRequestBuilder.java | 22 +- .../IDeviceManagementPartnerRequest.java | 89 +- ...DeviceManagementPartnerRequestBuilder.java | 24 +- .../extensions/IDeviceManagementRequest.java | 89 +- .../IDeviceManagementRequestBuilder.java | 203 +- ...entTroubleshootingEventCollectionPage.java | 19 +- ...TroubleshootingEventCollectionRequest.java | 48 +- ...shootingEventCollectionRequestBuilder.java | 22 +- ...ManagementTroubleshootingEventRequest.java | 89 +- ...entTroubleshootingEventRequestBuilder.java | 24 +- ...WindowsEnrollmentAutoDiscoveryRequest.java | 45 +- ...EnrollmentAutoDiscoveryRequestBuilder.java | 22 +- .../requests/extensions/IDeviceRequest.java | 89 +- .../extensions/IDeviceRequestBuilder.java | 54 +- ...ObjectCheckMemberGroupsCollectionPage.java | 19 +- ...ectCheckMemberGroupsCollectionRequest.java | 47 +- ...kMemberGroupsCollectionRequestBuilder.java | 20 +- .../IDirectoryObjectCollectionPage.java | 19 +- ...ctoryObjectCollectionReferenceRequest.java | 24 +- ...jectCollectionReferenceRequestBuilder.java | 19 +- .../IDirectoryObjectCollectionRequest.java | 48 +- ...rectoryObjectCollectionRequestBuilder.java | 24 +- ...oryObjectCollectionWithReferencesPage.java | 19 +- ...ObjectCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- ...DirectoryObjectGetByIdsCollectionPage.java | 19 +- ...ectoryObjectGetByIdsCollectionRequest.java | 47 +- ...bjectGetByIdsCollectionRequestBuilder.java | 20 +- ...ryObjectGetMemberGroupsCollectionPage.java | 19 +- ...bjectGetMemberGroupsCollectionRequest.java | 47 +- ...tMemberGroupsCollectionRequestBuilder.java | 20 +- ...yObjectGetMemberObjectsCollectionPage.java | 19 +- ...jectGetMemberObjectsCollectionRequest.java | 47 +- ...MemberObjectsCollectionRequestBuilder.java | 20 +- .../IDirectoryObjectReferenceRequest.java | 52 +- ...irectoryObjectReferenceRequestBuilder.java | 30 +- .../extensions/IDirectoryObjectRequest.java | 89 +- .../IDirectoryObjectRequestBuilder.java | 35 +- .../IDirectoryObjectRestoreRequest.java | 46 +- ...IDirectoryObjectRestoreRequestBuilder.java | 22 +- .../IDirectoryObjectWithReferenceRequest.java | 36 +- ...toryObjectWithReferenceRequestBuilder.java | 33 +- .../extensions/IDirectoryRequest.java | 89 +- .../extensions/IDirectoryRequestBuilder.java | 30 +- .../IDirectoryRoleCollectionPage.java | 19 +- .../IDirectoryRoleCollectionRequest.java | 48 +- ...DirectoryRoleCollectionRequestBuilder.java | 26 +- .../IDirectoryRoleDeltaCollectionPage.java | 25 +- .../IDirectoryRoleDeltaCollectionRequest.java | 47 +- ...toryRoleDeltaCollectionRequestBuilder.java | 20 +- .../extensions/IDirectoryRoleRequest.java | 89 +- .../IDirectoryRoleRequestBuilder.java | 30 +- .../IDirectoryRoleTemplateCollectionPage.java | 19 +- ...irectoryRoleTemplateCollectionRequest.java | 48 +- ...yRoleTemplateCollectionRequestBuilder.java | 22 +- .../IDirectoryRoleTemplateRequest.java | 89 +- .../IDirectoryRoleTemplateRequestBuilder.java | 24 +- .../extensions/IDomainCollectionPage.java | 19 +- .../extensions/IDomainCollectionRequest.java | 48 +- .../IDomainCollectionRequestBuilder.java | 22 +- .../IDomainDnsCnameRecordRequest.java | 89 +- .../IDomainDnsCnameRecordRequestBuilder.java | 24 +- .../extensions/IDomainDnsMxRecordRequest.java | 89 +- .../IDomainDnsMxRecordRequestBuilder.java | 24 +- .../IDomainDnsRecordCollectionPage.java | 19 +- .../IDomainDnsRecordCollectionRequest.java | 48 +- ...mainDnsRecordCollectionRequestBuilder.java | 22 +- .../extensions/IDomainDnsRecordRequest.java | 89 +- .../IDomainDnsRecordRequestBuilder.java | 24 +- .../IDomainDnsSrvRecordRequest.java | 89 +- .../IDomainDnsSrvRecordRequestBuilder.java | 24 +- .../IDomainDnsTxtRecordRequest.java | 89 +- .../IDomainDnsTxtRecordRequestBuilder.java | 24 +- .../IDomainDnsUnavailableRecordRequest.java | 89 +- ...ainDnsUnavailableRecordRequestBuilder.java | 24 +- .../extensions/IDomainForceDeleteRequest.java | 36 +- .../IDomainForceDeleteRequestBuilder.java | 22 +- .../requests/extensions/IDomainRequest.java | 89 +- .../extensions/IDomainRequestBuilder.java | 46 +- .../extensions/IDomainVerifyRequest.java | 46 +- .../IDomainVerifyRequestBuilder.java | 22 +- .../extensions/IDriveCollectionPage.java | 19 +- .../extensions/IDriveCollectionRequest.java | 48 +- .../IDriveCollectionRequestBuilder.java | 22 +- .../extensions/IDriveItemCollectionPage.java | 19 +- .../IDriveItemCollectionRequest.java | 48 +- .../IDriveItemCollectionRequestBuilder.java | 24 +- .../extensions/IDriveItemCopyRequest.java | 37 +- .../IDriveItemCopyRequestBuilder.java | 22 +- .../IDriveItemCreateLinkRequest.java | 37 +- .../IDriveItemCreateLinkRequestBuilder.java | 22 +- .../IDriveItemCreateUploadSessionRequest.java | 37 +- ...ItemCreateUploadSessionRequestBuilder.java | 22 +- .../IDriveItemDeltaCollectionPage.java | 25 +- .../IDriveItemDeltaCollectionRequest.java | 47 +- ...riveItemDeltaCollectionRequestBuilder.java | 20 +- .../IDriveItemInviteCollectionPage.java | 19 +- .../IDriveItemInviteCollectionRequest.java | 47 +- ...iveItemInviteCollectionRequestBuilder.java | 20 +- .../extensions/IDriveItemPreviewRequest.java | 37 +- .../IDriveItemPreviewRequestBuilder.java | 22 +- .../extensions/IDriveItemRequest.java | 89 +- .../extensions/IDriveItemRequestBuilder.java | 89 +- .../IDriveItemSearchCollectionPage.java | 19 +- .../IDriveItemSearchCollectionRequest.java | 47 +- ...iveItemSearchCollectionRequestBuilder.java | 20 +- .../extensions/IDriveItemStreamRequest.java | 49 +- .../IDriveItemStreamRequestBuilder.java | 24 +- .../IDriveItemVersionCollectionPage.java | 19 +- .../IDriveItemVersionCollectionRequest.java | 48 +- ...veItemVersionCollectionRequestBuilder.java | 22 +- .../extensions/IDriveItemVersionRequest.java | 89 +- .../IDriveItemVersionRequestBuilder.java | 29 +- ...DriveItemVersionRestoreVersionRequest.java | 28 +- ...emVersionRestoreVersionRequestBuilder.java | 22 +- .../IDriveItemVersionStreamRequest.java | 49 +- ...IDriveItemVersionStreamRequestBuilder.java | 24 +- .../IDriveRecentCollectionPage.java | 19 +- .../IDriveRecentCollectionRequest.java | 47 +- .../IDriveRecentCollectionRequestBuilder.java | 20 +- .../requests/extensions/IDriveRequest.java | 89 +- .../extensions/IDriveRequestBuilder.java | 61 +- .../IDriveSearchCollectionPage.java | 19 +- .../IDriveSearchCollectionRequest.java | 47 +- .../IDriveSearchCollectionRequestBuilder.java | 20 +- .../IDriveSharedWithMeCollectionPage.java | 19 +- .../IDriveSharedWithMeCollectionRequest.java | 47 +- ...eSharedWithMeCollectionRequestBuilder.java | 20 +- .../IEBookInstallSummaryRequest.java | 89 +- .../IEBookInstallSummaryRequestBuilder.java | 24 +- .../IEditionUpgradeConfigurationRequest.java | 89 +- ...ionUpgradeConfigurationRequestBuilder.java | 24 +- .../IEducationClassCollectionPage.java | 19 +- ...cationClassCollectionReferenceRequest.java | 24 +- ...lassCollectionReferenceRequestBuilder.java | 19 +- .../IEducationClassCollectionRequest.java | 48 +- ...ducationClassCollectionRequestBuilder.java | 22 +- ...tionClassCollectionWithReferencesPage.java | 19 +- ...nClassCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- .../IEducationClassReferenceRequest.java | 52 +- ...EducationClassReferenceRequestBuilder.java | 30 +- .../extensions/IEducationClassRequest.java | 89 +- .../IEducationClassRequestBuilder.java | 50 +- .../IEducationClassWithReferenceRequest.java | 36 +- ...ationClassWithReferenceRequestBuilder.java | 33 +- .../IEducationOrganizationRequest.java | 89 +- .../IEducationOrganizationRequestBuilder.java | 24 +- .../extensions/IEducationRootRequest.java | 89 +- .../IEducationRootRequestBuilder.java | 50 +- .../IEducationSchoolCollectionPage.java | 19 +- ...ationSchoolCollectionReferenceRequest.java | 24 +- ...hoolCollectionReferenceRequestBuilder.java | 19 +- .../IEducationSchoolCollectionRequest.java | 48 +- ...ucationSchoolCollectionRequestBuilder.java | 22 +- ...ionSchoolCollectionWithReferencesPage.java | 19 +- ...SchoolCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- .../IEducationSchoolReferenceRequest.java | 52 +- ...ducationSchoolReferenceRequestBuilder.java | 30 +- .../extensions/IEducationSchoolRequest.java | 89 +- .../IEducationSchoolRequestBuilder.java | 36 +- .../IEducationSchoolWithReferenceRequest.java | 36 +- ...tionSchoolWithReferenceRequestBuilder.java | 33 +- .../IEducationUserCollectionPage.java | 19 +- ...ucationUserCollectionReferenceRequest.java | 24 +- ...UserCollectionReferenceRequestBuilder.java | 19 +- .../IEducationUserCollectionRequest.java | 48 +- ...EducationUserCollectionRequestBuilder.java | 22 +- ...ationUserCollectionWithReferencesPage.java | 19 +- ...onUserCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- .../IEducationUserReferenceRequest.java | 52 +- ...IEducationUserReferenceRequestBuilder.java | 30 +- .../extensions/IEducationUserRequest.java | 89 +- .../IEducationUserRequestBuilder.java | 44 +- .../IEducationUserWithReferenceRequest.java | 36 +- ...cationUserWithReferenceRequestBuilder.java | 33 +- ...ConfigurationAssignmentCollectionPage.java | 19 +- ...figurationAssignmentCollectionRequest.java | 48 +- ...ionAssignmentCollectionRequestBuilder.java | 22 +- ...ollmentConfigurationAssignmentRequest.java | 89 +- ...ConfigurationAssignmentRequestBuilder.java | 24 +- ...EnrollmentTroubleshootingEventRequest.java | 89 +- ...entTroubleshootingEventRequestBuilder.java | 24 +- .../extensions/IEntityReferenceRequest.java | 52 +- .../IEntityReferenceRequestBuilder.java | 30 +- .../requests/extensions/IEntityRequest.java | 26 +- .../extensions/IEntityRequestBuilder.java | 24 +- .../IEntityWithReferenceRequest.java | 36 +- .../IEntityWithReferenceRequestBuilder.java | 33 +- .../extensions/IEventAcceptRequest.java | 36 +- .../IEventAcceptRequestBuilder.java | 22 +- .../extensions/IEventCollectionPage.java | 19 +- .../extensions/IEventCollectionRequest.java | 48 +- .../IEventCollectionRequestBuilder.java | 26 +- .../extensions/IEventDeclineRequest.java | 36 +- .../IEventDeclineRequestBuilder.java | 22 +- .../extensions/IEventDeltaCollectionPage.java | 25 +- .../IEventDeltaCollectionRequest.java | 47 +- .../IEventDeltaCollectionRequestBuilder.java | 20 +- .../IEventDismissReminderRequest.java | 28 +- .../IEventDismissReminderRequestBuilder.java | 22 +- .../extensions/IEventMessageRequest.java | 89 +- .../IEventMessageRequestBuilder.java | 32 +- .../requests/extensions/IEventRequest.java | 89 +- .../extensions/IEventRequestBuilder.java | 73 +- .../IEventSnoozeReminderRequest.java | 36 +- .../IEventSnoozeReminderRequestBuilder.java | 22 +- .../IEventTentativelyAcceptRequest.java | 36 +- ...IEventTentativelyAcceptRequestBuilder.java | 22 +- .../extensions/IExtensionCollectionPage.java | 19 +- .../IExtensionCollectionRequest.java | 48 +- .../IExtensionCollectionRequestBuilder.java | 22 +- .../extensions/IExtensionRequest.java | 89 +- .../extensions/IExtensionRequestBuilder.java | 24 +- .../extensions/IFieldValueSetRequest.java | 89 +- .../IFieldValueSetRequestBuilder.java | 24 +- .../extensions/IFileAttachmentRequest.java | 89 +- .../IFileAttachmentRequestBuilder.java | 24 +- .../extensions/IGroupAddFavoriteRequest.java | 28 +- .../IGroupAddFavoriteRequestBuilder.java | 22 +- .../extensions/IGroupCollectionPage.java | 19 +- .../extensions/IGroupCollectionRequest.java | 48 +- .../IGroupCollectionRequestBuilder.java | 26 +- .../extensions/IGroupDeltaCollectionPage.java | 25 +- .../IGroupDeltaCollectionRequest.java | 47 +- .../IGroupDeltaCollectionRequestBuilder.java | 20 +- .../IGroupLifecyclePolicyAddGroupRequest.java | 36 +- ...LifecyclePolicyAddGroupRequestBuilder.java | 22 +- .../IGroupLifecyclePolicyCollectionPage.java | 19 +- ...GroupLifecyclePolicyCollectionRequest.java | 48 +- ...fecyclePolicyCollectionRequestBuilder.java | 22 +- ...roupLifecyclePolicyRemoveGroupRequest.java | 36 +- ...ecyclePolicyRemoveGroupRequestBuilder.java | 22 +- .../IGroupLifecyclePolicyRequest.java | 89 +- .../IGroupLifecyclePolicyRequestBuilder.java | 28 +- .../extensions/IGroupReferenceRequest.java | 52 +- .../IGroupReferenceRequestBuilder.java | 30 +- .../IGroupRemoveFavoriteRequest.java | 28 +- .../IGroupRemoveFavoriteRequestBuilder.java | 22 +- .../extensions/IGroupRenewRequest.java | 28 +- .../extensions/IGroupRenewRequestBuilder.java | 22 +- .../requests/extensions/IGroupRequest.java | 89 +- .../extensions/IGroupRequestBuilder.java | 194 +- .../IGroupResetUnseenCountRequest.java | 28 +- .../IGroupResetUnseenCountRequestBuilder.java | 22 +- .../IGroupSettingCollectionPage.java | 19 +- .../IGroupSettingCollectionRequest.java | 48 +- ...IGroupSettingCollectionRequestBuilder.java | 22 +- .../extensions/IGroupSettingRequest.java | 89 +- .../IGroupSettingRequestBuilder.java | 24 +- .../IGroupSettingTemplateCollectionPage.java | 19 +- ...GroupSettingTemplateCollectionRequest.java | 48 +- ...ttingTemplateCollectionRequestBuilder.java | 22 +- .../IGroupSettingTemplateRequest.java | 89 +- .../IGroupSettingTemplateRequestBuilder.java | 24 +- .../IGroupSubscribeByMailRequest.java | 28 +- .../IGroupSubscribeByMailRequestBuilder.java | 22 +- .../IGroupUnsubscribeByMailRequest.java | 28 +- ...IGroupUnsubscribeByMailRequestBuilder.java | 22 +- .../IGroupWithReferenceRequest.java | 36 +- .../IGroupWithReferenceRequestBuilder.java | 33 +- ...eClassificationOverrideCollectionPage.java | 19 +- ...assificationOverrideCollectionRequest.java | 48 +- ...ationOverrideCollectionRequestBuilder.java | 22 +- ...nferenceClassificationOverrideRequest.java | 89 +- ...eClassificationOverrideRequestBuilder.java | 24 +- .../IInferenceClassificationRequest.java | 89 +- ...InferenceClassificationRequestBuilder.java | 30 +- .../extensions/IInvitationCollectionPage.java | 19 +- .../IInvitationCollectionRequest.java | 48 +- .../IInvitationCollectionRequestBuilder.java | 22 +- .../extensions/IInvitationRequest.java | 89 +- .../extensions/IInvitationRequestBuilder.java | 32 +- .../IIosCertificateProfileRequest.java | 89 +- .../IIosCertificateProfileRequestBuilder.java | 24 +- .../IIosCompliancePolicyRequest.java | 89 +- .../IIosCompliancePolicyRequestBuilder.java | 24 +- .../IIosCustomConfigurationRequest.java | 89 +- ...IIosCustomConfigurationRequestBuilder.java | 24 +- ...IosDeviceFeaturesConfigurationRequest.java | 89 +- ...ceFeaturesConfigurationRequestBuilder.java | 24 +- ...IIosGeneralDeviceConfigurationRequest.java | 89 +- ...eralDeviceConfigurationRequestBuilder.java | 24 +- .../extensions/IIosLobAppRequest.java | 89 +- .../extensions/IIosLobAppRequestBuilder.java | 24 +- ...IosManagedAppProtectionCollectionPage.java | 19 +- ...ManagedAppProtectionCollectionRequest.java | 48 +- ...AppProtectionCollectionRequestBuilder.java | 22 +- .../IIosManagedAppProtectionRequest.java | 89 +- ...IosManagedAppProtectionRequestBuilder.java | 38 +- .../IIosManagedAppRegistrationRequest.java | 89 +- ...sManagedAppRegistrationRequestBuilder.java | 24 +- .../IIosMobileAppConfigurationRequest.java | 89 +- ...sMobileAppConfigurationRequestBuilder.java | 24 +- .../extensions/IIosStoreAppRequest.java | 89 +- .../IIosStoreAppRequestBuilder.java | 24 +- .../IIosUpdateConfigurationRequest.java | 89 +- ...IIosUpdateConfigurationRequestBuilder.java | 24 +- .../IIosUpdateDeviceStatusCollectionPage.java | 19 +- ...osUpdateDeviceStatusCollectionRequest.java | 48 +- ...eDeviceStatusCollectionRequestBuilder.java | 22 +- .../IIosUpdateDeviceStatusRequest.java | 89 +- .../IIosUpdateDeviceStatusRequestBuilder.java | 24 +- .../extensions/IIosVppAppRequest.java | 89 +- .../extensions/IIosVppAppRequestBuilder.java | 24 +- .../IIosVppEBookAssignmentRequest.java | 89 +- .../IIosVppEBookAssignmentRequestBuilder.java | 24 +- .../extensions/IIosVppEBookRequest.java | 89 +- .../IIosVppEBookRequestBuilder.java | 24 +- .../extensions/IItemAttachmentRequest.java | 89 +- .../IItemAttachmentRequestBuilder.java | 32 +- .../ILicenseDetailsCollectionPage.java | 19 +- .../ILicenseDetailsCollectionRequest.java | 48 +- ...icenseDetailsCollectionRequestBuilder.java | 22 +- .../extensions/ILicenseDetailsRequest.java | 89 +- .../ILicenseDetailsRequestBuilder.java | 24 +- .../extensions/IListCollectionPage.java | 19 +- .../extensions/IListCollectionRequest.java | 48 +- .../IListCollectionRequestBuilder.java | 22 +- .../extensions/IListItemCollectionPage.java | 19 +- .../IListItemCollectionRequest.java | 48 +- .../IListItemCollectionRequestBuilder.java | 22 +- .../requests/extensions/IListItemRequest.java | 89 +- .../extensions/IListItemRequestBuilder.java | 46 +- .../IListItemVersionCollectionPage.java | 19 +- .../IListItemVersionCollectionRequest.java | 48 +- ...stItemVersionCollectionRequestBuilder.java | 22 +- .../extensions/IListItemVersionRequest.java | 89 +- .../IListItemVersionRequestBuilder.java | 34 +- ...IListItemVersionRestoreVersionRequest.java | 28 +- ...emVersionRestoreVersionRequestBuilder.java | 22 +- .../requests/extensions/IListRequest.java | 89 +- .../extensions/IListRequestBuilder.java | 50 +- ...izedNotificationMessageCollectionPage.java | 19 +- ...dNotificationMessageCollectionRequest.java | 48 +- ...cationMessageCollectionRequestBuilder.java | 22 +- .../ILocalizedNotificationMessageRequest.java | 89 +- ...izedNotificationMessageRequestBuilder.java | 24 +- .../IMacOSCompliancePolicyRequest.java | 89 +- .../IMacOSCompliancePolicyRequestBuilder.java | 24 +- .../IMacOSCustomConfigurationRequest.java | 89 +- ...acOSCustomConfigurationRequestBuilder.java | 24 +- ...cOSDeviceFeaturesConfigurationRequest.java | 89 +- ...ceFeaturesConfigurationRequestBuilder.java | 24 +- ...acOSGeneralDeviceConfigurationRequest.java | 89 +- ...eralDeviceConfigurationRequestBuilder.java | 24 +- .../IMacOSOfficeSuiteAppRequest.java | 89 +- .../IMacOSOfficeSuiteAppRequestBuilder.java | 24 +- .../extensions/IMailFolderCollectionPage.java | 19 +- .../IMailFolderCollectionRequest.java | 48 +- .../IMailFolderCollectionRequestBuilder.java | 26 +- .../extensions/IMailFolderCopyRequest.java | 37 +- .../IMailFolderCopyRequestBuilder.java | 22 +- .../IMailFolderDeltaCollectionPage.java | 25 +- .../IMailFolderDeltaCollectionRequest.java | 47 +- ...ilFolderDeltaCollectionRequestBuilder.java | 20 +- .../extensions/IMailFolderMoveRequest.java | 37 +- .../IMailFolderMoveRequestBuilder.java | 22 +- .../extensions/IMailFolderRequest.java | 89 +- .../extensions/IMailFolderRequestBuilder.java | 58 +- .../IManagedAndroidLobAppRequest.java | 89 +- .../IManagedAndroidLobAppRequestBuilder.java | 24 +- .../IManagedAndroidStoreAppRequest.java | 89 +- ...IManagedAndroidStoreAppRequestBuilder.java | 24 +- .../IManagedAppConfigurationRequest.java | 89 +- ...ManagedAppConfigurationRequestBuilder.java | 24 +- .../IManagedAppOperationCollectionPage.java | 19 +- ...IManagedAppOperationCollectionRequest.java | 48 +- ...dAppOperationCollectionRequestBuilder.java | 22 +- .../IManagedAppOperationRequest.java | 89 +- .../IManagedAppOperationRequestBuilder.java | 24 +- .../IManagedAppPolicyCollectionPage.java | 19 +- .../IManagedAppPolicyCollectionRequest.java | 48 +- ...agedAppPolicyCollectionRequestBuilder.java | 22 +- ...agedAppPolicyDeploymentSummaryRequest.java | 89 +- ...PolicyDeploymentSummaryRequestBuilder.java | 24 +- .../extensions/IManagedAppPolicyRequest.java | 89 +- .../IManagedAppPolicyRequestBuilder.java | 27 +- .../IManagedAppPolicyTargetAppsRequest.java | 36 +- ...agedAppPolicyTargetAppsRequestBuilder.java | 22 +- .../IManagedAppProtectionRequest.java | 89 +- .../IManagedAppProtectionRequestBuilder.java | 27 +- ...ManagedAppProtectionTargetAppsRequest.java | 36 +- ...AppProtectionTargetAppsRequestBuilder.java | 22 +- ...IManagedAppRegistrationCollectionPage.java | 19 +- ...egistrationCollectionReferenceRequest.java | 24 +- ...tionCollectionReferenceRequestBuilder.java | 19 +- ...nagedAppRegistrationCollectionRequest.java | 48 +- ...pRegistrationCollectionRequestBuilder.java | 24 +- ...istrationCollectionWithReferencesPage.java | 19 +- ...rationCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- ...hFlaggedAppRegistrationCollectionPage.java | 19 +- ...aggedAppRegistrationCollectionRequest.java | 47 +- ...pRegistrationCollectionRequestBuilder.java | 20 +- ...anagedAppRegistrationReferenceRequest.java | 52 +- ...ppRegistrationReferenceRequestBuilder.java | 30 +- .../IManagedAppRegistrationRequest.java | 89 +- ...IManagedAppRegistrationRequestBuilder.java | 42 +- ...edAppRegistrationWithReferenceRequest.java | 36 +- ...gistrationWithReferenceRequestBuilder.java | 33 +- .../extensions/IManagedAppRequest.java | 89 +- .../extensions/IManagedAppRequestBuilder.java | 24 +- .../IManagedAppStatusCollectionPage.java | 19 +- .../IManagedAppStatusCollectionRequest.java | 48 +- ...agedAppStatusCollectionRequestBuilder.java | 22 +- .../IManagedAppStatusRawRequest.java | 89 +- .../IManagedAppStatusRawRequestBuilder.java | 24 +- .../extensions/IManagedAppStatusRequest.java | 89 +- .../IManagedAppStatusRequestBuilder.java | 24 +- ...agedDeviceBypassActivationLockRequest.java | 28 +- ...iceBypassActivationLockRequestBuilder.java | 22 +- ...anagedDeviceCleanWindowsDeviceRequest.java | 36 +- ...eviceCleanWindowsDeviceRequestBuilder.java | 22 +- .../IManagedDeviceCollectionPage.java | 19 +- ...nagedDeviceCollectionReferenceRequest.java | 24 +- ...viceCollectionReferenceRequestBuilder.java | 19 +- .../IManagedDeviceCollectionRequest.java | 48 +- ...ManagedDeviceCollectionRequestBuilder.java | 22 +- ...gedDeviceCollectionWithReferencesPage.java | 19 +- ...DeviceCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- ...eleteUserFromSharedAppleDeviceRequest.java | 36 +- ...erFromSharedAppleDeviceRequestBuilder.java | 22 +- .../IManagedDeviceDisableLostModeRequest.java | 28 +- ...edDeviceDisableLostModeRequestBuilder.java | 22 +- .../IManagedDeviceLocateDeviceRequest.java | 28 +- ...nagedDeviceLocateDeviceRequestBuilder.java | 22 +- ...outSharedAppleDeviceActiveUserRequest.java | 28 +- ...edAppleDeviceActiveUserRequestBuilder.java | 22 +- ...ceMobileAppConfigurationAssignRequest.java | 36 +- ...eAppConfigurationAssignRequestBuilder.java | 22 +- ...ConfigurationAssignmentCollectionPage.java | 19 +- ...figurationAssignmentCollectionRequest.java | 48 +- ...ionAssignmentCollectionRequestBuilder.java | 22 +- ...bileAppConfigurationAssignmentRequest.java | 89 +- ...ConfigurationAssignmentRequestBuilder.java | 24 +- ...eMobileAppConfigurationCollectionPage.java | 19 +- ...bileAppConfigurationCollectionRequest.java | 48 +- ...ConfigurationCollectionRequestBuilder.java | 22 +- ...nfigurationDeviceStatusCollectionPage.java | 19 +- ...gurationDeviceStatusCollectionRequest.java | 48 +- ...nDeviceStatusCollectionRequestBuilder.java | 22 +- ...leAppConfigurationDeviceStatusRequest.java | 89 +- ...nfigurationDeviceStatusRequestBuilder.java | 24 +- ...eAppConfigurationDeviceSummaryRequest.java | 89 +- ...figurationDeviceSummaryRequestBuilder.java | 24 +- ...edDeviceMobileAppConfigurationRequest.java | 89 +- ...eMobileAppConfigurationRequestBuilder.java | 61 +- ...ConfigurationUserStatusCollectionPage.java | 19 +- ...figurationUserStatusCollectionRequest.java | 48 +- ...ionUserStatusCollectionRequestBuilder.java | 22 +- ...bileAppConfigurationUserStatusRequest.java | 89 +- ...ConfigurationUserStatusRequestBuilder.java | 24 +- ...ileAppConfigurationUserSummaryRequest.java | 89 +- ...onfigurationUserSummaryRequestBuilder.java | 24 +- ...ManagedDeviceOverviewReferenceRequest.java | 52 +- ...DeviceOverviewReferenceRequestBuilder.java | 30 +- .../IManagedDeviceOverviewRequest.java | 89 +- .../IManagedDeviceOverviewRequestBuilder.java | 24 +- ...gedDeviceOverviewWithReferenceRequest.java | 36 +- ...ceOverviewWithReferenceRequestBuilder.java | 33 +- .../IManagedDeviceRebootNowRequest.java | 28 +- ...IManagedDeviceRebootNowRequestBuilder.java | 22 +- .../IManagedDeviceRecoverPasscodeRequest.java | 28 +- ...edDeviceRecoverPasscodeRequestBuilder.java | 22 +- .../IManagedDeviceReferenceRequest.java | 52 +- ...IManagedDeviceReferenceRequestBuilder.java | 30 +- .../IManagedDeviceRemoteLockRequest.java | 28 +- ...ManagedDeviceRemoteLockRequestBuilder.java | 22 +- .../extensions/IManagedDeviceRequest.java | 89 +- .../IManagedDeviceRequestBuilder.java | 81 +- ...dDeviceRequestRemoteAssistanceRequest.java | 28 +- ...RequestRemoteAssistanceRequestBuilder.java | 22 +- .../IManagedDeviceResetPasscodeRequest.java | 28 +- ...agedDeviceResetPasscodeRequestBuilder.java | 22 +- .../IManagedDeviceRetireRequest.java | 28 +- .../IManagedDeviceRetireRequestBuilder.java | 22 +- .../IManagedDeviceShutDownRequest.java | 28 +- .../IManagedDeviceShutDownRequestBuilder.java | 22 +- .../IManagedDeviceSyncDeviceRequest.java | 28 +- ...ManagedDeviceSyncDeviceRequestBuilder.java | 22 +- ...viceUpdateWindowsDeviceAccountRequest.java | 36 +- ...ateWindowsDeviceAccountRequestBuilder.java | 22 +- ...nagedDeviceWindowsDefenderScanRequest.java | 36 +- ...viceWindowsDefenderScanRequestBuilder.java | 22 +- ...indowsDefenderUpdateSignaturesRequest.java | 28 +- ...efenderUpdateSignaturesRequestBuilder.java | 22 +- .../extensions/IManagedDeviceWipeRequest.java | 36 +- .../IManagedDeviceWipeRequestBuilder.java | 22 +- .../IManagedDeviceWithReferenceRequest.java | 36 +- ...agedDeviceWithReferenceRequestBuilder.java | 33 +- .../IManagedEBookAssignRequest.java | 36 +- .../IManagedEBookAssignRequestBuilder.java | 22 +- ...IManagedEBookAssignmentCollectionPage.java | 19 +- ...nagedEBookAssignmentCollectionRequest.java | 48 +- ...ookAssignmentCollectionRequestBuilder.java | 22 +- .../IManagedEBookAssignmentRequest.java | 89 +- ...IManagedEBookAssignmentRequestBuilder.java | 24 +- .../IManagedEBookCollectionPage.java | 19 +- .../IManagedEBookCollectionRequest.java | 48 +- ...IManagedEBookCollectionRequestBuilder.java | 22 +- .../extensions/IManagedEBookRequest.java | 89 +- .../IManagedEBookRequestBuilder.java | 53 +- .../extensions/IManagedIOSLobAppRequest.java | 89 +- .../IManagedIOSLobAppRequestBuilder.java | 24 +- .../IManagedIOSStoreAppRequest.java | 89 +- .../IManagedIOSStoreAppRequestBuilder.java | 24 +- .../IManagedMobileAppCollectionPage.java | 19 +- .../IManagedMobileAppCollectionRequest.java | 48 +- ...agedMobileAppCollectionRequestBuilder.java | 22 +- .../extensions/IManagedMobileAppRequest.java | 89 +- .../IManagedMobileAppRequestBuilder.java | 24 +- .../IManagedMobileLobAppRequest.java | 89 +- .../IManagedMobileLobAppRequestBuilder.java | 30 +- ...rmationProtectionPolicyCollectionPage.java | 19 +- ...tionProtectionPolicyCollectionRequest.java | 48 +- ...tectionPolicyCollectionRequestBuilder.java | 22 +- ...owsInformationProtectionPolicyRequest.java | 89 +- ...rmationProtectionPolicyRequestBuilder.java | 24 +- .../extensions/IMessageCollectionPage.java | 19 +- .../extensions/IMessageCollectionRequest.java | 48 +- .../IMessageCollectionRequestBuilder.java | 26 +- .../extensions/IMessageCopyRequest.java | 37 +- .../IMessageCopyRequestBuilder.java | 22 +- .../IMessageCreateForwardRequest.java | 46 +- .../IMessageCreateForwardRequestBuilder.java | 22 +- .../IMessageCreateReplyAllRequest.java | 46 +- .../IMessageCreateReplyAllRequestBuilder.java | 22 +- .../IMessageCreateReplyRequest.java | 46 +- .../IMessageCreateReplyRequestBuilder.java | 22 +- .../IMessageDeltaCollectionPage.java | 25 +- .../IMessageDeltaCollectionRequest.java | 47 +- ...IMessageDeltaCollectionRequestBuilder.java | 20 +- .../extensions/IMessageForwardRequest.java | 36 +- .../IMessageForwardRequestBuilder.java | 22 +- .../extensions/IMessageMoveRequest.java | 37 +- .../IMessageMoveRequestBuilder.java | 22 +- .../extensions/IMessageReplyAllRequest.java | 36 +- .../IMessageReplyAllRequestBuilder.java | 22 +- .../extensions/IMessageReplyRequest.java | 36 +- .../IMessageReplyRequestBuilder.java | 22 +- .../requests/extensions/IMessageRequest.java | 89 +- .../extensions/IMessageRequestBuilder.java | 67 +- .../IMessageRuleCollectionPage.java | 19 +- .../IMessageRuleCollectionRequest.java | 48 +- .../IMessageRuleCollectionRequestBuilder.java | 22 +- .../extensions/IMessageRuleRequest.java | 89 +- .../IMessageRuleRequestBuilder.java | 24 +- .../extensions/IMessageSendRequest.java | 28 +- .../IMessageSendRequestBuilder.java | 22 +- .../IMicrosoftStoreForBusinessAppRequest.java | 89 +- ...softStoreForBusinessAppRequestBuilder.java | 24 +- .../extensions/IMobileAppAssignRequest.java | 36 +- .../IMobileAppAssignRequestBuilder.java | 22 +- .../IMobileAppAssignmentCollectionPage.java | 19 +- ...IMobileAppAssignmentCollectionRequest.java | 48 +- ...AppAssignmentCollectionRequestBuilder.java | 22 +- .../IMobileAppAssignmentRequest.java | 89 +- .../IMobileAppAssignmentRequestBuilder.java | 24 +- .../IMobileAppCategoryCollectionPage.java | 19 +- ...AppCategoryCollectionReferenceRequest.java | 24 +- ...goryCollectionReferenceRequestBuilder.java | 19 +- .../IMobileAppCategoryCollectionRequest.java | 48 +- ...leAppCategoryCollectionRequestBuilder.java | 22 +- ...pCategoryCollectionWithReferencesPage.java | 19 +- ...tegoryCollectionWithReferencesRequest.java | 26 +- ...ollectionWithReferencesRequestBuilder.java | 23 +- .../IMobileAppCategoryReferenceRequest.java | 52 +- ...ileAppCategoryReferenceRequestBuilder.java | 30 +- .../extensions/IMobileAppCategoryRequest.java | 89 +- .../IMobileAppCategoryRequestBuilder.java | 24 +- ...MobileAppCategoryWithReferenceRequest.java | 36 +- ...ppCategoryWithReferenceRequestBuilder.java | 33 +- .../extensions/IMobileAppCollectionPage.java | 19 +- .../IMobileAppCollectionRequest.java | 48 +- .../IMobileAppCollectionRequestBuilder.java | 22 +- .../IMobileAppContentCollectionPage.java | 19 +- .../IMobileAppContentCollectionRequest.java | 48 +- ...ileAppContentCollectionRequestBuilder.java | 22 +- .../IMobileAppContentFileCollectionPage.java | 19 +- ...MobileAppContentFileCollectionRequest.java | 48 +- ...ppContentFileCollectionRequestBuilder.java | 22 +- .../IMobileAppContentFileCommitRequest.java | 36 +- ...ileAppContentFileCommitRequestBuilder.java | 22 +- ...obileAppContentFileRenewUploadRequest.java | 28 +- ...pContentFileRenewUploadRequestBuilder.java | 22 +- .../IMobileAppContentFileRequest.java | 89 +- .../IMobileAppContentFileRequestBuilder.java | 29 +- .../extensions/IMobileAppContentRequest.java | 89 +- .../IMobileAppContentRequestBuilder.java | 30 +- .../extensions/IMobileAppRequest.java | 89 +- .../extensions/IMobileAppRequestBuilder.java | 39 +- .../extensions/IMobileLobAppRequest.java | 89 +- .../IMobileLobAppRequestBuilder.java | 30 +- ...eThreatDefenseConnectorCollectionPage.java | 19 +- ...reatDefenseConnectorCollectionRequest.java | 48 +- ...enseConnectorCollectionRequestBuilder.java | 22 +- .../IMobileThreatDefenseConnectorRequest.java | 89 +- ...eThreatDefenseConnectorRequestBuilder.java | 24 +- ...eLegacyExtendedPropertyCollectionPage.java | 19 +- ...gacyExtendedPropertyCollectionRequest.java | 48 +- ...endedPropertyCollectionRequestBuilder.java | 22 +- ...ltiValueLegacyExtendedPropertyRequest.java | 89 +- ...eLegacyExtendedPropertyRequestBuilder.java | 24 +- .../extensions/INotebookCollectionPage.java | 19 +- .../INotebookCollectionRequest.java | 48 +- .../INotebookCollectionRequestBuilder.java | 24 +- .../INotebookCopyNotebookRequest.java | 37 +- .../INotebookCopyNotebookRequestBuilder.java | 22 +- ...ebookGetRecentNotebooksCollectionPage.java | 19 +- ...okGetRecentNotebooksCollectionRequest.java | 47 +- ...centNotebooksCollectionRequestBuilder.java | 20 +- .../requests/extensions/INotebookRequest.java | 89 +- .../extensions/INotebookRequestBuilder.java | 38 +- ...ficationMessageTemplateCollectionPage.java | 19 +- ...ationMessageTemplateCollectionRequest.java | 48 +- ...ssageTemplateCollectionRequestBuilder.java | 22 +- .../INotificationMessageTemplateRequest.java | 89 +- ...ficationMessageTemplateRequestBuilder.java | 32 +- ...MessageTemplateSendTestMessageRequest.java | 28 +- ...TemplateSendTestMessageRequestBuilder.java | 22 +- .../IOfficeGraphInsightsRequest.java | 89 +- .../IOfficeGraphInsightsRequestBuilder.java | 42 +- ...misesConditionalAccessSettingsRequest.java | 89 +- ...nditionalAccessSettingsRequestBuilder.java | 24 +- .../IOnenoteEntityBaseModelRequest.java | 89 +- ...IOnenoteEntityBaseModelRequestBuilder.java | 24 +- .../IOnenoteEntityHierarchyModelRequest.java | 89 +- ...oteEntityHierarchyModelRequestBuilder.java | 24 +- ...OnenoteEntitySchemaObjectModelRequest.java | 89 +- ...EntitySchemaObjectModelRequestBuilder.java | 24 +- .../IOnenoteOperationCollectionPage.java | 19 +- .../IOnenoteOperationCollectionRequest.java | 48 +- ...noteOperationCollectionRequestBuilder.java | 22 +- .../extensions/IOnenoteOperationRequest.java | 89 +- .../IOnenoteOperationRequestBuilder.java | 24 +- .../IOnenotePageCollectionPage.java | 19 +- .../IOnenotePageCollectionRequest.java | 48 +- .../IOnenotePageCollectionRequestBuilder.java | 22 +- .../IOnenotePageCopyToSectionRequest.java | 37 +- ...nenotePageCopyToSectionRequestBuilder.java | 22 +- ...OnenotePageOnenotePatchContentRequest.java | 36 +- ...PageOnenotePatchContentRequestBuilder.java | 22 +- .../IOnenotePagePreviewRequest.java | 46 +- .../IOnenotePagePreviewRequestBuilder.java | 22 +- .../extensions/IOnenotePageRequest.java | 89 +- .../IOnenotePageRequestBuilder.java | 50 +- .../extensions/IOnenotePageStreamRequest.java | 49 +- .../IOnenotePageStreamRequestBuilder.java | 24 +- .../requests/extensions/IOnenoteRequest.java | 89 +- .../extensions/IOnenoteRequestBuilder.java | 60 +- .../IOnenoteResourceCollectionPage.java | 19 +- .../IOnenoteResourceCollectionRequest.java | 48 +- ...enoteResourceCollectionRequestBuilder.java | 22 +- .../extensions/IOnenoteResourceRequest.java | 89 +- .../IOnenoteResourceRequestBuilder.java | 27 +- .../IOnenoteResourceStreamRequest.java | 49 +- .../IOnenoteResourceStreamRequestBuilder.java | 24 +- .../IOnenoteSectionCollectionPage.java | 19 +- .../IOnenoteSectionCollectionRequest.java | 48 +- ...nenoteSectionCollectionRequestBuilder.java | 22 +- .../IOnenoteSectionCopyToNotebookRequest.java | 37 +- ...teSectionCopyToNotebookRequestBuilder.java | 22 +- ...enoteSectionCopyToSectionGroupRequest.java | 37 +- ...ctionCopyToSectionGroupRequestBuilder.java | 22 +- .../extensions/IOnenoteSectionRequest.java | 89 +- .../IOnenoteSectionRequestBuilder.java | 50 +- .../extensions/IOpenTypeExtensionRequest.java | 89 +- .../IOpenTypeExtensionRequestBuilder.java | 24 +- .../extensions/IOperationRequest.java | 89 +- .../extensions/IOperationRequestBuilder.java | 24 +- .../IOrganizationCollectionPage.java | 19 +- .../IOrganizationCollectionRequest.java | 48 +- ...IOrganizationCollectionRequestBuilder.java | 22 +- .../extensions/IOrganizationRequest.java | 89 +- .../IOrganizationRequestBuilder.java | 32 +- ...obileDeviceManagementAuthorityRequest.java | 45 +- ...viceManagementAuthorityRequestBuilder.java | 22 +- .../IOutlookCategoryCollectionPage.java | 19 +- .../IOutlookCategoryCollectionRequest.java | 48 +- ...tlookCategoryCollectionRequestBuilder.java | 22 +- .../extensions/IOutlookCategoryRequest.java | 89 +- .../IOutlookCategoryRequestBuilder.java | 24 +- .../extensions/IOutlookItemRequest.java | 89 +- .../IOutlookItemRequestBuilder.java | 24 +- .../extensions/IOutlookUserRequest.java | 89 +- .../IOutlookUserRequestBuilder.java | 40 +- ...kUserSupportedLanguagesCollectionPage.java | 19 +- ...erSupportedLanguagesCollectionRequest.java | 47 +- ...rtedLanguagesCollectionRequestBuilder.java | 20 +- ...kUserSupportedTimeZonesCollectionPage.java | 19 +- ...erSupportedTimeZonesCollectionRequest.java | 47 +- ...rtedTimeZonesCollectionRequestBuilder.java | 20 +- .../extensions/IPermissionCollectionPage.java | 19 +- .../IPermissionCollectionRequest.java | 48 +- .../IPermissionCollectionRequestBuilder.java | 22 +- .../extensions/IPermissionRequest.java | 89 +- .../extensions/IPermissionRequestBuilder.java | 24 +- .../extensions/IPersonCollectionPage.java | 19 +- .../extensions/IPersonCollectionRequest.java | 48 +- .../IPersonCollectionRequestBuilder.java | 22 +- .../requests/extensions/IPersonRequest.java | 89 +- .../extensions/IPersonRequestBuilder.java | 24 +- ...rAssignedToTaskBoardTaskFormatRequest.java | 89 +- ...edToTaskBoardTaskFormatRequestBuilder.java | 24 +- .../IPlannerBucketCollectionPage.java | 19 +- .../IPlannerBucketCollectionRequest.java | 48 +- ...PlannerBucketCollectionRequestBuilder.java | 22 +- .../extensions/IPlannerBucketRequest.java | 89 +- .../IPlannerBucketRequestBuilder.java | 30 +- ...annerBucketTaskBoardTaskFormatRequest.java | 89 +- ...cketTaskBoardTaskFormatRequestBuilder.java | 24 +- .../extensions/IPlannerGroupRequest.java | 89 +- .../IPlannerGroupRequestBuilder.java | 30 +- .../IPlannerPlanCollectionPage.java | 19 +- .../IPlannerPlanCollectionRequest.java | 48 +- .../IPlannerPlanCollectionRequestBuilder.java | 22 +- .../IPlannerPlanDetailsRequest.java | 89 +- .../IPlannerPlanDetailsRequestBuilder.java | 24 +- .../extensions/IPlannerPlanRequest.java | 89 +- .../IPlannerPlanRequestBuilder.java | 44 +- ...nerProgressTaskBoardTaskFormatRequest.java | 89 +- ...ressTaskBoardTaskFormatRequestBuilder.java | 24 +- .../requests/extensions/IPlannerRequest.java | 89 +- .../extensions/IPlannerRequestBuilder.java | 42 +- .../IPlannerTaskCollectionPage.java | 19 +- .../IPlannerTaskCollectionRequest.java | 48 +- .../IPlannerTaskCollectionRequestBuilder.java | 22 +- .../IPlannerTaskDetailsRequest.java | 89 +- .../IPlannerTaskDetailsRequestBuilder.java | 24 +- .../extensions/IPlannerTaskRequest.java | 89 +- .../IPlannerTaskRequestBuilder.java | 56 +- .../extensions/IPlannerUserRequest.java | 89 +- .../IPlannerUserRequestBuilder.java | 36 +- .../extensions/IPostCollectionPage.java | 19 +- .../extensions/IPostCollectionRequest.java | 48 +- .../IPostCollectionRequestBuilder.java | 22 +- .../extensions/IPostForwardRequest.java | 36 +- .../IPostForwardRequestBuilder.java | 22 +- .../extensions/IPostReplyRequest.java | 36 +- .../extensions/IPostReplyRequestBuilder.java | 22 +- .../requests/extensions/IPostRequest.java | 89 +- .../extensions/IPostRequestBuilder.java | 62 +- .../IProfilePhotoCollectionPage.java | 19 +- .../IProfilePhotoCollectionRequest.java | 48 +- ...IProfilePhotoCollectionRequestBuilder.java | 22 +- .../extensions/IProfilePhotoRequest.java | 89 +- .../IProfilePhotoRequestBuilder.java | 27 +- .../IProfilePhotoStreamRequest.java | 49 +- .../IProfilePhotoStreamRequestBuilder.java | 34 +- .../IReferenceAttachmentRequest.java | 89 +- .../IReferenceAttachmentRequestBuilder.java | 24 +- ...sistancePartnerBeginOnboardingRequest.java | 28 +- ...ePartnerBeginOnboardingRequestBuilder.java | 22 +- ...RemoteAssistancePartnerCollectionPage.java | 19 +- ...oteAssistancePartnerCollectionRequest.java | 48 +- ...stancePartnerCollectionRequestBuilder.java | 22 +- ...oteAssistancePartnerDisconnectRequest.java | 28 +- ...stancePartnerDisconnectRequestBuilder.java | 22 +- .../IRemoteAssistancePartnerRequest.java | 89 +- ...RemoteAssistancePartnerRequestBuilder.java | 28 +- ...iceConfigurationDeviceActivityRequest.java | 79 +- ...igurationDeviceActivityRequestBuilder.java | 22 +- ...eviceConfigurationUserActivityRequest.java | 79 +- ...nfigurationUserActivityRequestBuilder.java | 22 +- ...portRootGetEmailActivityCountsRequest.java | 79 +- ...tGetEmailActivityCountsRequestBuilder.java | 22 +- ...RootGetEmailActivityUserCountsRequest.java | 79 +- ...EmailActivityUserCountsRequestBuilder.java | 22 +- ...RootGetEmailActivityUserDetailRequest.java | 79 +- ...EmailActivityUserDetailRequestBuilder.java | 22 +- ...GetEmailAppUsageAppsUserCountsRequest.java | 79 +- ...lAppUsageAppsUserCountsRequestBuilder.java | 22 +- ...RootGetEmailAppUsageUserCountsRequest.java | 79 +- ...EmailAppUsageUserCountsRequestBuilder.java | 22 +- ...RootGetEmailAppUsageUserDetailRequest.java | 79 +- ...EmailAppUsageUserDetailRequestBuilder.java | 22 +- ...mailAppUsageVersionsUserCountsRequest.java | 79 +- ...UsageVersionsUserCountsRequestBuilder.java | 22 +- ...eportRootGetMailboxUsageDetailRequest.java | 79 +- ...otGetMailboxUsageDetailRequestBuilder.java | 22 +- ...otGetMailboxUsageMailboxCountsRequest.java | 79 +- ...ilboxUsageMailboxCountsRequestBuilder.java | 22 +- ...xUsageQuotaStatusMailboxCountsRequest.java | 79 +- ...uotaStatusMailboxCountsRequestBuilder.java | 22 +- ...portRootGetMailboxUsageStorageRequest.java | 79 +- ...tGetMailboxUsageStorageRequestBuilder.java | 22 +- ...otGetOffice365ActivationCountsRequest.java | 79 +- ...fice365ActivationCountsRequestBuilder.java | 22 +- ...Office365ActivationsUserCountsRequest.java | 79 +- ...65ActivationsUserCountsRequestBuilder.java | 22 +- ...Office365ActivationsUserDetailRequest.java | 79 +- ...65ActivationsUserDetailRequestBuilder.java | 22 +- ...otGetOffice365ActiveUserCountsRequest.java | 79 +- ...fice365ActiveUserCountsRequestBuilder.java | 22 +- ...otGetOffice365ActiveUserDetailRequest.java | 79 +- ...fice365ActiveUserDetailRequestBuilder.java | 22 +- ...tOffice365GroupsActivityCountsRequest.java | 79 +- ...365GroupsActivityCountsRequestBuilder.java | 22 +- ...tOffice365GroupsActivityDetailRequest.java | 79 +- ...365GroupsActivityDetailRequestBuilder.java | 22 +- ...ice365GroupsActivityFileCountsRequest.java | 79 +- ...roupsActivityFileCountsRequestBuilder.java | 22 +- ...ce365GroupsActivityGroupCountsRequest.java | 79 +- ...oupsActivityGroupCountsRequestBuilder.java | 22 +- ...Office365GroupsActivityStorageRequest.java | 79 +- ...65GroupsActivityStorageRequestBuilder.java | 22 +- ...GetOffice365ServicesUserCountsRequest.java | 79 +- ...ce365ServicesUserCountsRequestBuilder.java | 22 +- ...tGetOneDriveActivityFileCountsRequest.java | 79 +- ...DriveActivityFileCountsRequestBuilder.java | 22 +- ...tGetOneDriveActivityUserCountsRequest.java | 79 +- ...DriveActivityUserCountsRequestBuilder.java | 22 +- ...tGetOneDriveActivityUserDetailRequest.java | 79 +- ...DriveActivityUserDetailRequestBuilder.java | 22 +- ...tGetOneDriveUsageAccountCountsRequest.java | 79 +- ...DriveUsageAccountCountsRequestBuilder.java | 22 +- ...tGetOneDriveUsageAccountDetailRequest.java | 79 +- ...DriveUsageAccountDetailRequestBuilder.java | 22 +- ...RootGetOneDriveUsageFileCountsRequest.java | 79 +- ...OneDriveUsageFileCountsRequestBuilder.java | 22 +- ...ortRootGetOneDriveUsageStorageRequest.java | 79 +- ...GetOneDriveUsageStorageRequestBuilder.java | 22 +- ...etSharePointActivityFileCountsRequest.java | 79 +- ...PointActivityFileCountsRequestBuilder.java | 22 +- ...RootGetSharePointActivityPagesRequest.java | 79 +- ...SharePointActivityPagesRequestBuilder.java | 22 +- ...etSharePointActivityUserCountsRequest.java | 79 +- ...PointActivityUserCountsRequestBuilder.java | 22 +- ...etSharePointActivityUserDetailRequest.java | 79 +- ...PointActivityUserDetailRequestBuilder.java | 22 +- ...otGetSharePointSiteUsageDetailRequest.java | 79 +- ...arePointSiteUsageDetailRequestBuilder.java | 22 +- ...tSharePointSiteUsageFileCountsRequest.java | 79 +- ...ointSiteUsageFileCountsRequestBuilder.java | 22 +- ...ootGetSharePointSiteUsagePagesRequest.java | 79 +- ...harePointSiteUsagePagesRequestBuilder.java | 22 +- ...tSharePointSiteUsageSiteCountsRequest.java | 79 +- ...ointSiteUsageSiteCountsRequestBuilder.java | 22 +- ...tGetSharePointSiteUsageStorageRequest.java | 79 +- ...rePointSiteUsageStorageRequestBuilder.java | 22 +- ...SkypeForBusinessActivityCountsRequest.java | 79 +- ...rBusinessActivityCountsRequestBuilder.java | 22 +- ...eForBusinessActivityUserCountsRequest.java | 79 +- ...inessActivityUserCountsRequestBuilder.java | 22 +- ...eForBusinessActivityUserDetailRequest.java | 79 +- ...inessActivityUserDetailRequestBuilder.java | 22 +- ...iceUsageDistributionUserCountsRequest.java | 79 +- ...eDistributionUserCountsRequestBuilder.java | 22 +- ...rBusinessDeviceUsageUserCountsRequest.java | 79 +- ...ssDeviceUsageUserCountsRequestBuilder.java | 22 +- ...rBusinessDeviceUsageUserDetailRequest.java | 79 +- ...ssDeviceUsageUserDetailRequestBuilder.java | 22 +- ...usinessOrganizerActivityCountsRequest.java | 79 +- ...OrganizerActivityCountsRequestBuilder.java | 22 +- ...sOrganizerActivityMinuteCountsRequest.java | 79 +- ...zerActivityMinuteCountsRequestBuilder.java | 22 +- ...essOrganizerActivityUserCountsRequest.java | 79 +- ...nizerActivityUserCountsRequestBuilder.java | 22 +- ...inessParticipantActivityCountsRequest.java | 79 +- ...rticipantActivityCountsRequestBuilder.java | 22 +- ...articipantActivityMinuteCountsRequest.java | 79 +- ...antActivityMinuteCountsRequestBuilder.java | 22 +- ...sParticipantActivityUserCountsRequest.java | 79 +- ...ipantActivityUserCountsRequestBuilder.java | 22 +- ...sinessPeerToPeerActivityCountsRequest.java | 79 +- ...eerToPeerActivityCountsRequestBuilder.java | 22 +- ...PeerToPeerActivityMinuteCountsRequest.java | 79 +- ...eerActivityMinuteCountsRequestBuilder.java | 22 +- ...ssPeerToPeerActivityUserCountsRequest.java | 79 +- ...oPeerActivityUserCountsRequestBuilder.java | 22 +- ...iceUsageDistributionUserCountsRequest.java | 79 +- ...eDistributionUserCountsRequestBuilder.java | 22 +- ...tGetTeamsDeviceUsageUserCountsRequest.java | 79 +- ...msDeviceUsageUserCountsRequestBuilder.java | 22 +- ...tGetTeamsDeviceUsageUserDetailRequest.java | 79 +- ...msDeviceUsageUserDetailRequestBuilder.java | 22 +- ...RootGetTeamsUserActivityCountsRequest.java | 79 +- ...TeamsUserActivityCountsRequestBuilder.java | 22 +- ...GetTeamsUserActivityUserCountsRequest.java | 79 +- ...sUserActivityUserCountsRequestBuilder.java | 22 +- ...GetTeamsUserActivityUserDetailRequest.java | 79 +- ...sUserActivityUserDetailRequestBuilder.java | 22 +- ...ortRootGetYammerActivityCountsRequest.java | 79 +- ...GetYammerActivityCountsRequestBuilder.java | 22 +- ...ootGetYammerActivityUserCountsRequest.java | 79 +- ...ammerActivityUserCountsRequestBuilder.java | 22 +- ...ootGetYammerActivityUserDetailRequest.java | 79 +- ...ammerActivityUserDetailRequestBuilder.java | 22 +- ...iceUsageDistributionUserCountsRequest.java | 79 +- ...eDistributionUserCountsRequestBuilder.java | 22 +- ...GetYammerDeviceUsageUserCountsRequest.java | 79 +- ...erDeviceUsageUserCountsRequestBuilder.java | 22 +- ...GetYammerDeviceUsageUserDetailRequest.java | 79 +- ...erDeviceUsageUserDetailRequestBuilder.java | 22 +- ...tGetYammerGroupsActivityCountsRequest.java | 79 +- ...merGroupsActivityCountsRequestBuilder.java | 22 +- ...tGetYammerGroupsActivityDetailRequest.java | 79 +- ...merGroupsActivityDetailRequestBuilder.java | 22 +- ...ammerGroupsActivityGroupCountsRequest.java | 79 +- ...oupsActivityGroupCountsRequestBuilder.java | 22 +- ...DeviceEnrollmentFailureDetailsRequest.java | 46 +- ...nrollmentFailureDetailsRequestBuilder.java | 22 +- ...gedDeviceEnrollmentTopFailuresRequest.java | 46 +- ...ceEnrollmentTopFailuresRequestBuilder.java | 22 +- .../extensions/IReportRootRequest.java | 89 +- .../extensions/IReportRootRequestBuilder.java | 202 +- .../extensions/IReportStreamRequest.java | 49 +- .../IReportStreamRequestBuilder.java | 24 +- .../IResourceOperationCollectionPage.java | 19 +- .../IResourceOperationCollectionRequest.java | 48 +- ...urceOperationCollectionRequestBuilder.java | 22 +- .../extensions/IResourceOperationRequest.java | 89 +- .../IResourceOperationRequestBuilder.java | 24 +- .../IRoleAssignmentCollectionPage.java | 19 +- .../IRoleAssignmentCollectionRequest.java | 48 +- ...oleAssignmentCollectionRequestBuilder.java | 22 +- .../extensions/IRoleAssignmentRequest.java | 89 +- .../IRoleAssignmentRequestBuilder.java | 32 +- .../IRoleDefinitionCollectionPage.java | 19 +- .../IRoleDefinitionCollectionRequest.java | 48 +- ...oleDefinitionCollectionRequestBuilder.java | 22 +- .../IRoleDefinitionReferenceRequest.java | 52 +- ...RoleDefinitionReferenceRequestBuilder.java | 30 +- .../extensions/IRoleDefinitionRequest.java | 89 +- .../IRoleDefinitionRequestBuilder.java | 30 +- .../IRoleDefinitionWithReferenceRequest.java | 36 +- ...DefinitionWithReferenceRequestBuilder.java | 33 +- .../ISchemaExtensionCollectionPage.java | 19 +- .../ISchemaExtensionCollectionRequest.java | 48 +- ...hemaExtensionCollectionRequestBuilder.java | 22 +- .../extensions/ISchemaExtensionRequest.java | 89 +- .../ISchemaExtensionRequestBuilder.java | 24 +- .../ISectionGroupCollectionPage.java | 19 +- .../ISectionGroupCollectionRequest.java | 48 +- ...ISectionGroupCollectionRequestBuilder.java | 22 +- .../extensions/ISectionGroupRequest.java | 89 +- .../ISectionGroupRequestBuilder.java | 52 +- .../requests/extensions/ISecurityRequest.java | 89 +- .../extensions/ISecurityRequestBuilder.java | 30 +- ...ttingStateDeviceSummaryCollectionPage.java | 19 +- ...ngStateDeviceSummaryCollectionRequest.java | 48 +- ...DeviceSummaryCollectionRequestBuilder.java | 22 +- .../ISettingStateDeviceSummaryRequest.java | 89 +- ...ttingStateDeviceSummaryRequestBuilder.java | 24 +- .../ISharedDriveItemCollectionPage.java | 19 +- .../ISharedDriveItemCollectionRequest.java | 48 +- ...aredDriveItemCollectionRequestBuilder.java | 22 +- .../extensions/ISharedDriveItemRequest.java | 89 +- .../ISharedDriveItemRequestBuilder.java | 70 +- .../ISharedInsightCollectionPage.java | 19 +- .../ISharedInsightCollectionRequest.java | 48 +- ...SharedInsightCollectionRequestBuilder.java | 22 +- .../extensions/ISharedInsightRequest.java | 89 +- .../ISharedInsightRequestBuilder.java | 40 +- .../ISharedPCConfigurationRequest.java | 89 +- .../ISharedPCConfigurationRequestBuilder.java | 24 +- ...eLegacyExtendedPropertyCollectionPage.java | 19 +- ...gacyExtendedPropertyCollectionRequest.java | 48 +- ...endedPropertyCollectionRequestBuilder.java | 22 +- ...gleValueLegacyExtendedPropertyRequest.java | 89 +- ...eLegacyExtendedPropertyRequestBuilder.java | 24 +- .../extensions/ISiteCollectionPage.java | 19 +- .../extensions/ISiteCollectionRequest.java | 48 +- .../ISiteCollectionRequestBuilder.java | 22 +- .../extensions/ISiteGetByPathRequest.java | 79 +- .../ISiteGetByPathRequestBuilder.java | 22 +- .../requests/extensions/ISiteRequest.java | 89 +- .../extensions/ISiteRequestBuilder.java | 78 +- ...reUpdateStatusSummaryReferenceRequest.java | 52 +- ...eStatusSummaryReferenceRequestBuilder.java | 30 +- .../ISoftwareUpdateStatusSummaryRequest.java | 89 +- ...wareUpdateStatusSummaryRequestBuilder.java | 24 +- ...dateStatusSummaryWithReferenceRequest.java | 36 +- ...tusSummaryWithReferenceRequestBuilder.java | 33 +- .../ISubscribedSkuCollectionPage.java | 19 +- .../ISubscribedSkuCollectionRequest.java | 48 +- ...SubscribedSkuCollectionRequestBuilder.java | 22 +- .../extensions/ISubscribedSkuRequest.java | 89 +- .../ISubscribedSkuRequestBuilder.java | 24 +- .../ISubscriptionCollectionPage.java | 19 +- .../ISubscriptionCollectionRequest.java | 48 +- ...ISubscriptionCollectionRequestBuilder.java | 22 +- .../extensions/ISubscriptionRequest.java | 89 +- .../ISubscriptionRequestBuilder.java | 24 +- ...dManagedAppConfigurationAssignRequest.java | 36 +- ...dAppConfigurationAssignRequestBuilder.java | 22 +- ...ManagedAppConfigurationCollectionPage.java | 19 +- ...agedAppConfigurationCollectionRequest.java | 48 +- ...ConfigurationCollectionRequestBuilder.java | 22 +- ...argetedManagedAppConfigurationRequest.java | 89 +- ...ManagedAppConfigurationRequestBuilder.java | 50 +- ...agedAppConfigurationTargetAppsRequest.java | 36 +- ...ConfigurationTargetAppsRequestBuilder.java | 22 +- ...agedAppPolicyAssignmentCollectionPage.java | 19 +- ...dAppPolicyAssignmentCollectionRequest.java | 48 +- ...icyAssignmentCollectionRequestBuilder.java | 22 +- ...etedManagedAppPolicyAssignmentRequest.java | 89 +- ...agedAppPolicyAssignmentRequestBuilder.java | 24 +- ...etedManagedAppProtectionAssignRequest.java | 36 +- ...agedAppProtectionAssignRequestBuilder.java | 22 +- .../ITargetedManagedAppProtectionRequest.java | 89 +- ...tedManagedAppProtectionRequestBuilder.java | 33 +- .../extensions/ITeamArchiveRequest.java | 36 +- .../ITeamArchiveRequestBuilder.java | 22 +- .../extensions/ITeamCloneRequest.java | 36 +- .../extensions/ITeamCloneRequestBuilder.java | 22 +- .../extensions/ITeamCollectionPage.java | 19 +- .../extensions/ITeamCollectionRequest.java | 48 +- .../ITeamCollectionRequestBuilder.java | 22 +- .../requests/extensions/ITeamRequest.java | 89 +- .../extensions/ITeamRequestBuilder.java | 50 +- .../extensions/ITeamUnarchiveRequest.java | 28 +- .../ITeamUnarchiveRequestBuilder.java | 22 +- .../extensions/ITeamsAppCollectionPage.java | 19 +- .../ITeamsAppCollectionRequest.java | 48 +- .../ITeamsAppCollectionRequestBuilder.java | 22 +- .../ITeamsAppDefinitionCollectionPage.java | 19 +- .../ITeamsAppDefinitionCollectionRequest.java | 48 +- ...AppDefinitionCollectionRequestBuilder.java | 22 +- .../ITeamsAppDefinitionReferenceRequest.java | 52 +- ...sAppDefinitionReferenceRequestBuilder.java | 30 +- .../ITeamsAppDefinitionRequest.java | 89 +- .../ITeamsAppDefinitionRequestBuilder.java | 24 +- ...eamsAppDefinitionWithReferenceRequest.java | 36 +- ...DefinitionWithReferenceRequestBuilder.java | 33 +- .../ITeamsAppInstallationCollectionPage.java | 19 +- ...TeamsAppInstallationCollectionRequest.java | 48 +- ...pInstallationCollectionRequestBuilder.java | 22 +- .../ITeamsAppInstallationRequest.java | 89 +- .../ITeamsAppInstallationRequestBuilder.java | 42 +- .../ITeamsAppInstallationUpgradeRequest.java | 28 +- ...sAppInstallationUpgradeRequestBuilder.java | 22 +- .../extensions/ITeamsAppReferenceRequest.java | 52 +- .../ITeamsAppReferenceRequestBuilder.java | 30 +- .../requests/extensions/ITeamsAppRequest.java | 89 +- .../extensions/ITeamsAppRequestBuilder.java | 30 +- .../ITeamsAppWithReferenceRequest.java | 36 +- .../ITeamsAppWithReferenceRequestBuilder.java | 33 +- .../ITeamsAsyncOperationCollectionPage.java | 19 +- ...ITeamsAsyncOperationCollectionRequest.java | 48 +- ...syncOperationCollectionRequestBuilder.java | 22 +- .../ITeamsAsyncOperationRequest.java | 89 +- .../ITeamsAsyncOperationRequestBuilder.java | 24 +- .../extensions/ITeamsTabCollectionPage.java | 19 +- .../ITeamsTabCollectionRequest.java | 48 +- .../ITeamsTabCollectionRequestBuilder.java | 22 +- .../requests/extensions/ITeamsTabRequest.java | 89 +- .../extensions/ITeamsTabRequestBuilder.java | 32 +- ...xpenseManagementPartnerCollectionPage.java | 19 +- ...nseManagementPartnerCollectionRequest.java | 48 +- ...gementPartnerCollectionRequestBuilder.java | 22 +- ...elecomExpenseManagementPartnerRequest.java | 89 +- ...xpenseManagementPartnerRequestBuilder.java | 24 +- ...ditionsAcceptanceStatusCollectionPage.java | 19 +- ...ionsAcceptanceStatusCollectionRequest.java | 48 +- ...eptanceStatusCollectionRequestBuilder.java | 22 +- ...sAndConditionsAcceptanceStatusRequest.java | 89 +- ...ditionsAcceptanceStatusRequestBuilder.java | 32 +- ...AndConditionsAssignmentCollectionPage.java | 19 +- ...ConditionsAssignmentCollectionRequest.java | 48 +- ...onsAssignmentCollectionRequestBuilder.java | 22 +- .../ITermsAndConditionsAssignmentRequest.java | 89 +- ...AndConditionsAssignmentRequestBuilder.java | 24 +- .../ITermsAndConditionsCollectionPage.java | 19 +- .../ITermsAndConditionsCollectionRequest.java | 48 +- ...AndConditionsCollectionRequestBuilder.java | 22 +- .../ITermsAndConditionsReferenceRequest.java | 52 +- ...sAndConditionsReferenceRequestBuilder.java | 30 +- .../ITermsAndConditionsRequest.java | 89 +- .../ITermsAndConditionsRequestBuilder.java | 36 +- ...ermsAndConditionsWithReferenceRequest.java | 36 +- ...ConditionsWithReferenceRequestBuilder.java | 33 +- .../extensions/IThumbnailRequest.java | 89 +- .../extensions/IThumbnailRequestBuilder.java | 27 +- .../IThumbnailSetCollectionPage.java | 19 +- .../IThumbnailSetCollectionRequest.java | 48 +- ...IThumbnailSetCollectionRequestBuilder.java | 22 +- .../extensions/IThumbnailSetRequest.java | 89 +- .../IThumbnailSetRequestBuilder.java | 23 +- .../extensions/IThumbnailStreamRequest.java | 49 +- .../IThumbnailStreamRequestBuilder.java | 24 +- .../extensions/ITrendingCollectionPage.java | 19 +- .../ITrendingCollectionRequest.java | 48 +- .../ITrendingCollectionRequestBuilder.java | 22 +- .../requests/extensions/ITrendingRequest.java | 89 +- .../extensions/ITrendingRequestBuilder.java | 32 +- .../IUsedInsightCollectionPage.java | 19 +- .../IUsedInsightCollectionRequest.java | 48 +- .../IUsedInsightCollectionRequestBuilder.java | 22 +- .../extensions/IUsedInsightRequest.java | 89 +- .../IUsedInsightRequestBuilder.java | 32 +- .../IUserActivityCollectionPage.java | 19 +- .../IUserActivityCollectionRequest.java | 48 +- ...IUserActivityCollectionRequestBuilder.java | 24 +- .../IUserActivityRecentCollectionPage.java | 19 +- .../IUserActivityRecentCollectionRequest.java | 47 +- ...ctivityRecentCollectionRequestBuilder.java | 20 +- .../IUserActivityReferenceRequest.java | 52 +- .../IUserActivityReferenceRequestBuilder.java | 30 +- .../extensions/IUserActivityRequest.java | 89 +- .../IUserActivityRequestBuilder.java | 30 +- .../IUserActivityWithReferenceRequest.java | 36 +- ...erActivityWithReferenceRequestBuilder.java | 33 +- .../extensions/IUserAssignLicenseRequest.java | 37 +- .../IUserAssignLicenseRequestBuilder.java | 22 +- .../IUserChangePasswordRequest.java | 36 +- .../IUserChangePasswordRequestBuilder.java | 22 +- .../extensions/IUserCollectionPage.java | 19 +- .../extensions/IUserCollectionRequest.java | 48 +- .../IUserCollectionRequestBuilder.java | 26 +- .../extensions/IUserDeltaCollectionPage.java | 25 +- .../IUserDeltaCollectionRequest.java | 47 +- .../IUserDeltaCollectionRequestBuilder.java | 20 +- .../IUserExportPersonalDataRequest.java | 36 +- ...IUserExportPersonalDataRequestBuilder.java | 22 +- .../IUserFindMeetingTimesRequest.java | 37 +- .../IUserFindMeetingTimesRequestBuilder.java | 22 +- .../IUserGetMailTipsCollectionPage.java | 19 +- .../IUserGetMailTipsCollectionRequest.java | 47 +- ...erGetMailTipsCollectionRequestBuilder.java | 20 +- ...edAppDiagnosticStatusesCollectionPage.java | 19 +- ...ppDiagnosticStatusesCollectionRequest.java | 47 +- ...osticStatusesCollectionRequestBuilder.java | 20 +- ...erGetManagedAppPoliciesCollectionPage.java | 19 +- ...etManagedAppPoliciesCollectionRequest.java | 47 +- ...edAppPoliciesCollectionRequestBuilder.java | 20 +- ...UserInstallStateSummaryCollectionPage.java | 19 +- ...rInstallStateSummaryCollectionRequest.java | 48 +- ...lStateSummaryCollectionRequestBuilder.java | 22 +- .../IUserInstallStateSummaryRequest.java | 89 +- ...UserInstallStateSummaryRequestBuilder.java | 30 +- .../extensions/IUserReferenceRequest.java | 52 +- .../IUserReferenceRequestBuilder.java | 30 +- .../IUserReminderViewCollectionPage.java | 19 +- .../IUserReminderViewCollectionRequest.java | 47 +- ...rReminderViewCollectionRequestBuilder.java | 20 +- ...RemoveAllDevicesFromManagementRequest.java | 28 +- ...llDevicesFromManagementRequestBuilder.java | 22 +- .../requests/extensions/IUserRequest.java | 89 +- .../extensions/IUserRequestBuilder.java | 286 ++- .../extensions/IUserSendMailRequest.java | 36 +- .../IUserSendMailRequestBuilder.java | 22 +- .../extensions/IUserSettingsRequest.java | 89 +- .../IUserSettingsRequestBuilder.java | 24 +- ...gedAppRegistrationsByDeviceTagRequest.java | 36 +- ...egistrationsByDeviceTagRequestBuilder.java | 22 +- .../extensions/IUserWithReferenceRequest.java | 36 +- .../IUserWithReferenceRequestBuilder.java | 33 +- .../extensions/IVppTokenCollectionPage.java | 19 +- .../IVppTokenCollectionRequest.java | 48 +- .../IVppTokenCollectionRequestBuilder.java | 22 +- .../requests/extensions/IVppTokenRequest.java | 89 +- .../extensions/IVppTokenRequestBuilder.java | 26 +- .../IVppTokenSyncLicensesRequest.java | 46 +- .../IVppTokenSyncLicensesRequestBuilder.java | 22 +- .../requests/extensions/IWebAppRequest.java | 89 +- .../extensions/IWebAppRequestBuilder.java | 24 +- .../IWindows10CompliancePolicyRequest.java | 89 +- ...ndows10CompliancePolicyRequestBuilder.java | 24 +- .../IWindows10CustomConfigurationRequest.java | 89 +- ...ws10CustomConfigurationRequestBuilder.java | 24 +- ...ndpointProtectionConfigurationRequest.java | 89 +- ...ProtectionConfigurationRequestBuilder.java | 24 +- ...dernAppManagementConfigurationRequest.java | 89 +- ...ManagementConfigurationRequestBuilder.java | 24 +- ...IWindows10GeneralConfigurationRequest.java | 89 +- ...s10GeneralConfigurationRequestBuilder.java | 24 +- ...indows10MobileCompliancePolicyRequest.java | 89 +- ...0MobileCompliancePolicyRequestBuilder.java | 24 +- ...0SecureAssessmentConfigurationRequest.java | 89 +- ...AssessmentConfigurationRequestBuilder.java | 24 +- ...dows10TeamGeneralConfigurationRequest.java | 89 +- ...eamGeneralConfigurationRequestBuilder.java | 24 +- .../IWindows81CompliancePolicyRequest.java | 89 +- ...ndows81CompliancePolicyRequestBuilder.java | 24 +- ...IWindows81GeneralConfigurationRequest.java | 89 +- ...s81GeneralConfigurationRequestBuilder.java | 24 +- ...dThreatProtectionConfigurationRequest.java | 89 +- ...ProtectionConfigurationRequestBuilder.java | 24 +- ...ctionAppLearningSummaryCollectionPage.java | 19 +- ...onAppLearningSummaryCollectionRequest.java | 48 +- ...arningSummaryCollectionRequestBuilder.java | 22 +- ...onProtectionAppLearningSummaryRequest.java | 89 +- ...ctionAppLearningSummaryRequestBuilder.java | 24 +- ...ProtectionAppLockerFileCollectionPage.java | 19 +- ...tectionAppLockerFileCollectionRequest.java | 48 +- ...AppLockerFileCollectionRequestBuilder.java | 22 +- ...rmationProtectionAppLockerFileRequest.java | 89 +- ...ProtectionAppLockerFileRequestBuilder.java | 24 +- ...owsInformationProtectionAssignRequest.java | 36 +- ...rmationProtectionAssignRequestBuilder.java | 22 +- ...nNetworkLearningSummaryCollectionPage.java | 19 +- ...tworkLearningSummaryCollectionRequest.java | 48 +- ...arningSummaryCollectionRequestBuilder.java | 22 +- ...otectionNetworkLearningSummaryRequest.java | 89 +- ...nNetworkLearningSummaryRequestBuilder.java | 24 +- ...rmationProtectionPolicyCollectionPage.java | 19 +- ...tionProtectionPolicyCollectionRequest.java | 48 +- ...tectionPolicyCollectionRequestBuilder.java | 22 +- ...owsInformationProtectionPolicyRequest.java | 89 +- ...rmationProtectionPolicyRequestBuilder.java | 24 +- .../IWindowsInformationProtectionRequest.java | 89 +- ...wsInformationProtectionRequestBuilder.java | 45 +- .../extensions/IWindowsMobileMSIRequest.java | 89 +- .../IWindowsMobileMSIRequestBuilder.java | 24 +- ...WindowsPhone81CompliancePolicyRequest.java | 89 +- ...Phone81CompliancePolicyRequestBuilder.java | 24 +- ...dowsPhone81CustomConfigurationRequest.java | 89 +- ...ne81CustomConfigurationRequestBuilder.java | 24 +- ...owsPhone81GeneralConfigurationRequest.java | 89 +- ...e81GeneralConfigurationRequestBuilder.java | 24 +- .../IWindowsUniversalAppXRequest.java | 89 +- .../IWindowsUniversalAppXRequestBuilder.java | 24 +- ...UpdateForBusinessConfigurationRequest.java | 89 +- ...orBusinessConfigurationRequestBuilder.java | 24 +- .../IWorkbookApplicationCalculateRequest.java | 36 +- ...ookApplicationCalculateRequestBuilder.java | 22 +- .../IWorkbookApplicationRequest.java | 89 +- .../IWorkbookApplicationRequestBuilder.java | 26 +- .../extensions/IWorkbookChartAddRequest.java | 37 +- .../IWorkbookChartAddRequestBuilder.java | 22 +- .../IWorkbookChartAreaFormatRequest.java | 89 +- ...WorkbookChartAreaFormatRequestBuilder.java | 40 +- .../extensions/IWorkbookChartAxesRequest.java | 89 +- .../IWorkbookChartAxesRequestBuilder.java | 48 +- .../IWorkbookChartAxisFormatRequest.java | 89 +- ...WorkbookChartAxisFormatRequestBuilder.java | 40 +- .../extensions/IWorkbookChartAxisRequest.java | 89 +- .../IWorkbookChartAxisRequestBuilder.java | 56 +- .../IWorkbookChartAxisTitleFormatRequest.java | 89 +- ...ookChartAxisTitleFormatRequestBuilder.java | 32 +- .../IWorkbookChartAxisTitleRequest.java | 89 +- ...IWorkbookChartAxisTitleRequestBuilder.java | 32 +- .../IWorkbookChartCollectionPage.java | 19 +- .../IWorkbookChartCollectionRequest.java | 48 +- ...WorkbookChartCollectionRequestBuilder.java | 26 +- .../IWorkbookChartCountRequest.java | 45 +- .../IWorkbookChartCountRequestBuilder.java | 22 +- .../IWorkbookChartDataLabelFormatRequest.java | 89 +- ...ookChartDataLabelFormatRequestBuilder.java | 40 +- .../IWorkbookChartDataLabelsRequest.java | 89 +- ...WorkbookChartDataLabelsRequestBuilder.java | 32 +- .../IWorkbookChartFillClearRequest.java | 28 +- ...IWorkbookChartFillClearRequestBuilder.java | 22 +- .../extensions/IWorkbookChartFillRequest.java | 89 +- .../IWorkbookChartFillRequestBuilder.java | 28 +- ...WorkbookChartFillSetSolidColorRequest.java | 36 +- ...kChartFillSetSolidColorRequestBuilder.java | 22 +- .../extensions/IWorkbookChartFontRequest.java | 89 +- .../IWorkbookChartFontRequestBuilder.java | 24 +- .../IWorkbookChartGridlinesFormatRequest.java | 89 +- ...ookChartGridlinesFormatRequestBuilder.java | 32 +- .../IWorkbookChartGridlinesRequest.java | 89 +- ...IWorkbookChartGridlinesRequestBuilder.java | 32 +- .../IWorkbookChartImageRequest.java | 45 +- .../IWorkbookChartImageRequestBuilder.java | 22 +- .../IWorkbookChartItemAtRequest.java | 79 +- .../IWorkbookChartItemAtRequestBuilder.java | 22 +- .../extensions/IWorkbookChartItemRequest.java | 79 +- .../IWorkbookChartItemRequestBuilder.java | 22 +- .../IWorkbookChartLegendFormatRequest.java | 89 +- ...rkbookChartLegendFormatRequestBuilder.java | 40 +- .../IWorkbookChartLegendRequest.java | 89 +- .../IWorkbookChartLegendRequestBuilder.java | 32 +- .../IWorkbookChartLineFormatClearRequest.java | 28 +- ...ookChartLineFormatClearRequestBuilder.java | 22 +- .../IWorkbookChartLineFormatRequest.java | 89 +- ...WorkbookChartLineFormatRequestBuilder.java | 26 +- .../IWorkbookChartPointCollectionPage.java | 19 +- .../IWorkbookChartPointCollectionRequest.java | 48 +- ...ookChartPointCollectionRequestBuilder.java | 24 +- .../IWorkbookChartPointCountRequest.java | 45 +- ...WorkbookChartPointCountRequestBuilder.java | 22 +- .../IWorkbookChartPointFormatRequest.java | 89 +- ...orkbookChartPointFormatRequestBuilder.java | 32 +- .../IWorkbookChartPointItemAtRequest.java | 79 +- ...orkbookChartPointItemAtRequestBuilder.java | 22 +- .../IWorkbookChartPointRequest.java | 89 +- .../IWorkbookChartPointRequestBuilder.java | 32 +- .../extensions/IWorkbookChartRequest.java | 89 +- .../IWorkbookChartRequestBuilder.java | 90 +- .../IWorkbookChartSeriesCollectionPage.java | 19 +- ...IWorkbookChartSeriesCollectionRequest.java | 48 +- ...okChartSeriesCollectionRequestBuilder.java | 24 +- .../IWorkbookChartSeriesCountRequest.java | 45 +- ...orkbookChartSeriesCountRequestBuilder.java | 22 +- .../IWorkbookChartSeriesFormatRequest.java | 89 +- ...rkbookChartSeriesFormatRequestBuilder.java | 40 +- .../IWorkbookChartSeriesItemAtRequest.java | 79 +- ...rkbookChartSeriesItemAtRequestBuilder.java | 22 +- .../IWorkbookChartSeriesRequest.java | 89 +- .../IWorkbookChartSeriesRequestBuilder.java | 38 +- .../IWorkbookChartSetDataRequest.java | 36 +- .../IWorkbookChartSetDataRequestBuilder.java | 22 +- .../IWorkbookChartSetPositionRequest.java | 36 +- ...orkbookChartSetPositionRequestBuilder.java | 22 +- .../IWorkbookChartTitleFormatRequest.java | 89 +- ...orkbookChartTitleFormatRequestBuilder.java | 40 +- .../IWorkbookChartTitleRequest.java | 89 +- .../IWorkbookChartTitleRequestBuilder.java | 32 +- .../IWorkbookCloseSessionRequest.java | 28 +- .../IWorkbookCloseSessionRequestBuilder.java | 22 +- .../IWorkbookCreateSessionRequest.java | 37 +- .../IWorkbookCreateSessionRequestBuilder.java | 22 +- ...okFilterApplyBottomItemsFilterRequest.java | 36 +- ...rApplyBottomItemsFilterRequestBuilder.java | 22 +- ...FilterApplyBottomPercentFilterRequest.java | 36 +- ...pplyBottomPercentFilterRequestBuilder.java | 22 +- ...bookFilterApplyCellColorFilterRequest.java | 36 +- ...terApplyCellColorFilterRequestBuilder.java | 22 +- ...orkbookFilterApplyCustomFilterRequest.java | 36 +- ...FilterApplyCustomFilterRequestBuilder.java | 22 +- ...rkbookFilterApplyDynamicFilterRequest.java | 36 +- ...ilterApplyDynamicFilterRequestBuilder.java | 22 +- ...bookFilterApplyFontColorFilterRequest.java | 36 +- ...terApplyFontColorFilterRequestBuilder.java | 22 +- ...IWorkbookFilterApplyIconFilterRequest.java | 36 +- ...okFilterApplyIconFilterRequestBuilder.java | 22 +- .../IWorkbookFilterApplyRequest.java | 36 +- .../IWorkbookFilterApplyRequestBuilder.java | 22 +- ...kbookFilterApplyTopItemsFilterRequest.java | 36 +- ...lterApplyTopItemsFilterRequestBuilder.java | 22 +- ...ookFilterApplyTopPercentFilterRequest.java | 36 +- ...erApplyTopPercentFilterRequestBuilder.java | 22 +- ...orkbookFilterApplyValuesFilterRequest.java | 36 +- ...FilterApplyValuesFilterRequestBuilder.java | 22 +- .../IWorkbookFilterClearRequest.java | 28 +- .../IWorkbookFilterClearRequestBuilder.java | 22 +- .../extensions/IWorkbookFilterRequest.java | 89 +- .../IWorkbookFilterRequestBuilder.java | 50 +- .../IWorkbookFormatProtectionRequest.java | 89 +- ...orkbookFormatProtectionRequestBuilder.java | 24 +- .../IWorkbookFunctionResultRequest.java | 89 +- ...IWorkbookFunctionResultRequestBuilder.java | 24 +- .../IWorkbookFunctionsAbsRequest.java | 37 +- .../IWorkbookFunctionsAbsRequestBuilder.java | 22 +- .../IWorkbookFunctionsAccrIntMRequest.java | 37 +- ...rkbookFunctionsAccrIntMRequestBuilder.java | 22 +- .../IWorkbookFunctionsAccrIntRequest.java | 37 +- ...orkbookFunctionsAccrIntRequestBuilder.java | 22 +- .../IWorkbookFunctionsAcosRequest.java | 37 +- .../IWorkbookFunctionsAcosRequestBuilder.java | 22 +- .../IWorkbookFunctionsAcoshRequest.java | 37 +- ...IWorkbookFunctionsAcoshRequestBuilder.java | 22 +- .../IWorkbookFunctionsAcotRequest.java | 37 +- .../IWorkbookFunctionsAcotRequestBuilder.java | 22 +- .../IWorkbookFunctionsAcothRequest.java | 37 +- ...IWorkbookFunctionsAcothRequestBuilder.java | 22 +- .../IWorkbookFunctionsAmorDegrcRequest.java | 37 +- ...kbookFunctionsAmorDegrcRequestBuilder.java | 22 +- .../IWorkbookFunctionsAmorLincRequest.java | 37 +- ...rkbookFunctionsAmorLincRequestBuilder.java | 22 +- .../IWorkbookFunctionsAndRequest.java | 37 +- .../IWorkbookFunctionsAndRequestBuilder.java | 22 +- .../IWorkbookFunctionsArabicRequest.java | 37 +- ...WorkbookFunctionsArabicRequestBuilder.java | 22 +- .../IWorkbookFunctionsAreasRequest.java | 37 +- ...IWorkbookFunctionsAreasRequestBuilder.java | 22 +- .../IWorkbookFunctionsAscRequest.java | 37 +- .../IWorkbookFunctionsAscRequestBuilder.java | 22 +- .../IWorkbookFunctionsAsinRequest.java | 37 +- .../IWorkbookFunctionsAsinRequestBuilder.java | 22 +- .../IWorkbookFunctionsAsinhRequest.java | 37 +- ...IWorkbookFunctionsAsinhRequestBuilder.java | 22 +- .../IWorkbookFunctionsAtan2Request.java | 37 +- ...IWorkbookFunctionsAtan2RequestBuilder.java | 22 +- .../IWorkbookFunctionsAtanRequest.java | 37 +- .../IWorkbookFunctionsAtanRequestBuilder.java | 22 +- .../IWorkbookFunctionsAtanhRequest.java | 37 +- ...IWorkbookFunctionsAtanhRequestBuilder.java | 22 +- .../IWorkbookFunctionsAveDevRequest.java | 37 +- ...WorkbookFunctionsAveDevRequestBuilder.java | 22 +- .../IWorkbookFunctionsAverageARequest.java | 37 +- ...rkbookFunctionsAverageARequestBuilder.java | 22 +- .../IWorkbookFunctionsAverageIfRequest.java | 37 +- ...kbookFunctionsAverageIfRequestBuilder.java | 22 +- .../IWorkbookFunctionsAverageIfsRequest.java | 37 +- ...bookFunctionsAverageIfsRequestBuilder.java | 22 +- .../IWorkbookFunctionsAverageRequest.java | 37 +- ...orkbookFunctionsAverageRequestBuilder.java | 22 +- .../IWorkbookFunctionsBahtTextRequest.java | 37 +- ...rkbookFunctionsBahtTextRequestBuilder.java | 22 +- .../IWorkbookFunctionsBaseRequest.java | 37 +- .../IWorkbookFunctionsBaseRequestBuilder.java | 22 +- .../IWorkbookFunctionsBesselIRequest.java | 37 +- ...orkbookFunctionsBesselIRequestBuilder.java | 22 +- .../IWorkbookFunctionsBesselJRequest.java | 37 +- ...orkbookFunctionsBesselJRequestBuilder.java | 22 +- .../IWorkbookFunctionsBesselKRequest.java | 37 +- ...orkbookFunctionsBesselKRequestBuilder.java | 22 +- .../IWorkbookFunctionsBesselYRequest.java | 37 +- ...orkbookFunctionsBesselYRequestBuilder.java | 22 +- .../IWorkbookFunctionsBeta_DistRequest.java | 37 +- ...kbookFunctionsBeta_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsBeta_InvRequest.java | 37 +- ...rkbookFunctionsBeta_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsBin2DecRequest.java | 37 +- ...orkbookFunctionsBin2DecRequestBuilder.java | 22 +- .../IWorkbookFunctionsBin2HexRequest.java | 37 +- ...orkbookFunctionsBin2HexRequestBuilder.java | 22 +- .../IWorkbookFunctionsBin2OctRequest.java | 37 +- ...orkbookFunctionsBin2OctRequestBuilder.java | 22 +- .../IWorkbookFunctionsBinom_DistRequest.java | 37 +- ...bookFunctionsBinom_DistRequestBuilder.java | 22 +- ...kbookFunctionsBinom_Dist_RangeRequest.java | 37 +- ...nctionsBinom_Dist_RangeRequestBuilder.java | 22 +- .../IWorkbookFunctionsBinom_InvRequest.java | 37 +- ...kbookFunctionsBinom_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsBitandRequest.java | 37 +- ...WorkbookFunctionsBitandRequestBuilder.java | 22 +- .../IWorkbookFunctionsBitlshiftRequest.java | 37 +- ...kbookFunctionsBitlshiftRequestBuilder.java | 22 +- .../IWorkbookFunctionsBitorRequest.java | 37 +- ...IWorkbookFunctionsBitorRequestBuilder.java | 22 +- .../IWorkbookFunctionsBitrshiftRequest.java | 37 +- ...kbookFunctionsBitrshiftRequestBuilder.java | 22 +- .../IWorkbookFunctionsBitxorRequest.java | 37 +- ...WorkbookFunctionsBitxorRequestBuilder.java | 22 +- ...IWorkbookFunctionsCeiling_MathRequest.java | 37 +- ...okFunctionsCeiling_MathRequestBuilder.java | 22 +- ...rkbookFunctionsCeiling_PreciseRequest.java | 37 +- ...unctionsCeiling_PreciseRequestBuilder.java | 22 +- .../IWorkbookFunctionsCharRequest.java | 37 +- .../IWorkbookFunctionsCharRequestBuilder.java | 22 +- .../IWorkbookFunctionsChiSq_DistRequest.java | 37 +- ...bookFunctionsChiSq_DistRequestBuilder.java | 22 +- ...WorkbookFunctionsChiSq_Dist_RTRequest.java | 37 +- ...kFunctionsChiSq_Dist_RTRequestBuilder.java | 22 +- .../IWorkbookFunctionsChiSq_InvRequest.java | 37 +- ...kbookFunctionsChiSq_InvRequestBuilder.java | 22 +- ...IWorkbookFunctionsChiSq_Inv_RTRequest.java | 37 +- ...okFunctionsChiSq_Inv_RTRequestBuilder.java | 22 +- .../IWorkbookFunctionsChooseRequest.java | 37 +- ...WorkbookFunctionsChooseRequestBuilder.java | 22 +- .../IWorkbookFunctionsCleanRequest.java | 37 +- ...IWorkbookFunctionsCleanRequestBuilder.java | 22 +- .../IWorkbookFunctionsCodeRequest.java | 37 +- .../IWorkbookFunctionsCodeRequestBuilder.java | 22 +- .../IWorkbookFunctionsColumnsRequest.java | 37 +- ...orkbookFunctionsColumnsRequestBuilder.java | 22 +- .../IWorkbookFunctionsCombinRequest.java | 37 +- ...WorkbookFunctionsCombinRequestBuilder.java | 22 +- .../IWorkbookFunctionsCombinaRequest.java | 37 +- ...orkbookFunctionsCombinaRequestBuilder.java | 22 +- .../IWorkbookFunctionsComplexRequest.java | 37 +- ...orkbookFunctionsComplexRequestBuilder.java | 22 +- .../IWorkbookFunctionsConcatenateRequest.java | 37 +- ...ookFunctionsConcatenateRequestBuilder.java | 22 +- ...rkbookFunctionsConfidence_NormRequest.java | 37 +- ...unctionsConfidence_NormRequestBuilder.java | 22 +- ...IWorkbookFunctionsConfidence_TRequest.java | 37 +- ...okFunctionsConfidence_TRequestBuilder.java | 22 +- .../IWorkbookFunctionsConvertRequest.java | 37 +- ...orkbookFunctionsConvertRequestBuilder.java | 22 +- .../IWorkbookFunctionsCosRequest.java | 37 +- .../IWorkbookFunctionsCosRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoshRequest.java | 37 +- .../IWorkbookFunctionsCoshRequestBuilder.java | 22 +- .../IWorkbookFunctionsCotRequest.java | 37 +- .../IWorkbookFunctionsCotRequestBuilder.java | 22 +- .../IWorkbookFunctionsCothRequest.java | 37 +- .../IWorkbookFunctionsCothRequestBuilder.java | 22 +- .../IWorkbookFunctionsCountARequest.java | 37 +- ...WorkbookFunctionsCountARequestBuilder.java | 22 +- .../IWorkbookFunctionsCountBlankRequest.java | 37 +- ...bookFunctionsCountBlankRequestBuilder.java | 22 +- .../IWorkbookFunctionsCountIfRequest.java | 37 +- ...orkbookFunctionsCountIfRequestBuilder.java | 22 +- .../IWorkbookFunctionsCountIfsRequest.java | 37 +- ...rkbookFunctionsCountIfsRequestBuilder.java | 22 +- .../IWorkbookFunctionsCountRequest.java | 37 +- ...IWorkbookFunctionsCountRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoupDayBsRequest.java | 37 +- ...kbookFunctionsCoupDayBsRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoupDaysNcRequest.java | 37 +- ...bookFunctionsCoupDaysNcRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoupDaysRequest.java | 37 +- ...rkbookFunctionsCoupDaysRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoupNcdRequest.java | 37 +- ...orkbookFunctionsCoupNcdRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoupNumRequest.java | 37 +- ...orkbookFunctionsCoupNumRequestBuilder.java | 22 +- .../IWorkbookFunctionsCoupPcdRequest.java | 37 +- ...orkbookFunctionsCoupPcdRequestBuilder.java | 22 +- .../IWorkbookFunctionsCscRequest.java | 37 +- .../IWorkbookFunctionsCscRequestBuilder.java | 22 +- .../IWorkbookFunctionsCschRequest.java | 37 +- .../IWorkbookFunctionsCschRequestBuilder.java | 22 +- .../IWorkbookFunctionsCumIPmtRequest.java | 37 +- ...orkbookFunctionsCumIPmtRequestBuilder.java | 22 +- .../IWorkbookFunctionsCumPrincRequest.java | 37 +- ...rkbookFunctionsCumPrincRequestBuilder.java | 22 +- .../IWorkbookFunctionsDateRequest.java | 37 +- .../IWorkbookFunctionsDateRequestBuilder.java | 22 +- .../IWorkbookFunctionsDatevalueRequest.java | 37 +- ...kbookFunctionsDatevalueRequestBuilder.java | 22 +- .../IWorkbookFunctionsDaverageRequest.java | 37 +- ...rkbookFunctionsDaverageRequestBuilder.java | 22 +- .../IWorkbookFunctionsDayRequest.java | 37 +- .../IWorkbookFunctionsDayRequestBuilder.java | 22 +- .../IWorkbookFunctionsDays360Request.java | 37 +- ...orkbookFunctionsDays360RequestBuilder.java | 22 +- .../IWorkbookFunctionsDaysRequest.java | 37 +- .../IWorkbookFunctionsDaysRequestBuilder.java | 22 +- .../IWorkbookFunctionsDbRequest.java | 37 +- .../IWorkbookFunctionsDbRequestBuilder.java | 22 +- .../IWorkbookFunctionsDbcsRequest.java | 37 +- .../IWorkbookFunctionsDbcsRequestBuilder.java | 22 +- .../IWorkbookFunctionsDcountARequest.java | 37 +- ...orkbookFunctionsDcountARequestBuilder.java | 22 +- .../IWorkbookFunctionsDcountRequest.java | 37 +- ...WorkbookFunctionsDcountRequestBuilder.java | 22 +- .../IWorkbookFunctionsDdbRequest.java | 37 +- .../IWorkbookFunctionsDdbRequestBuilder.java | 22 +- .../IWorkbookFunctionsDec2BinRequest.java | 37 +- ...orkbookFunctionsDec2BinRequestBuilder.java | 22 +- .../IWorkbookFunctionsDec2HexRequest.java | 37 +- ...orkbookFunctionsDec2HexRequestBuilder.java | 22 +- .../IWorkbookFunctionsDec2OctRequest.java | 37 +- ...orkbookFunctionsDec2OctRequestBuilder.java | 22 +- .../IWorkbookFunctionsDecimalRequest.java | 37 +- ...orkbookFunctionsDecimalRequestBuilder.java | 22 +- .../IWorkbookFunctionsDegreesRequest.java | 37 +- ...orkbookFunctionsDegreesRequestBuilder.java | 22 +- .../IWorkbookFunctionsDeltaRequest.java | 37 +- ...IWorkbookFunctionsDeltaRequestBuilder.java | 22 +- .../IWorkbookFunctionsDevSqRequest.java | 37 +- ...IWorkbookFunctionsDevSqRequestBuilder.java | 22 +- .../IWorkbookFunctionsDgetRequest.java | 37 +- .../IWorkbookFunctionsDgetRequestBuilder.java | 22 +- .../IWorkbookFunctionsDiscRequest.java | 37 +- .../IWorkbookFunctionsDiscRequestBuilder.java | 22 +- .../IWorkbookFunctionsDmaxRequest.java | 37 +- .../IWorkbookFunctionsDmaxRequestBuilder.java | 22 +- .../IWorkbookFunctionsDminRequest.java | 37 +- .../IWorkbookFunctionsDminRequestBuilder.java | 22 +- .../IWorkbookFunctionsDollarDeRequest.java | 37 +- ...rkbookFunctionsDollarDeRequestBuilder.java | 22 +- .../IWorkbookFunctionsDollarFrRequest.java | 37 +- ...rkbookFunctionsDollarFrRequestBuilder.java | 22 +- .../IWorkbookFunctionsDollarRequest.java | 37 +- ...WorkbookFunctionsDollarRequestBuilder.java | 22 +- .../IWorkbookFunctionsDproductRequest.java | 37 +- ...rkbookFunctionsDproductRequestBuilder.java | 22 +- .../IWorkbookFunctionsDstDevPRequest.java | 37 +- ...orkbookFunctionsDstDevPRequestBuilder.java | 22 +- .../IWorkbookFunctionsDstDevRequest.java | 37 +- ...WorkbookFunctionsDstDevRequestBuilder.java | 22 +- .../IWorkbookFunctionsDsumRequest.java | 37 +- .../IWorkbookFunctionsDsumRequestBuilder.java | 22 +- .../IWorkbookFunctionsDurationRequest.java | 37 +- ...rkbookFunctionsDurationRequestBuilder.java | 22 +- .../IWorkbookFunctionsDvarPRequest.java | 37 +- ...IWorkbookFunctionsDvarPRequestBuilder.java | 22 +- .../IWorkbookFunctionsDvarRequest.java | 37 +- .../IWorkbookFunctionsDvarRequestBuilder.java | 22 +- ...IWorkbookFunctionsEcma_CeilingRequest.java | 37 +- ...okFunctionsEcma_CeilingRequestBuilder.java | 22 +- .../IWorkbookFunctionsEdateRequest.java | 37 +- ...IWorkbookFunctionsEdateRequestBuilder.java | 22 +- .../IWorkbookFunctionsEffectRequest.java | 37 +- ...WorkbookFunctionsEffectRequestBuilder.java | 22 +- .../IWorkbookFunctionsEoMonthRequest.java | 37 +- ...orkbookFunctionsEoMonthRequestBuilder.java | 22 +- .../IWorkbookFunctionsErfCRequest.java | 37 +- .../IWorkbookFunctionsErfCRequestBuilder.java | 22 +- ...IWorkbookFunctionsErfC_PreciseRequest.java | 37 +- ...okFunctionsErfC_PreciseRequestBuilder.java | 22 +- .../IWorkbookFunctionsErfRequest.java | 37 +- .../IWorkbookFunctionsErfRequestBuilder.java | 22 +- .../IWorkbookFunctionsErf_PreciseRequest.java | 37 +- ...ookFunctionsErf_PreciseRequestBuilder.java | 22 +- .../IWorkbookFunctionsError_TypeRequest.java | 37 +- ...bookFunctionsError_TypeRequestBuilder.java | 22 +- .../IWorkbookFunctionsEvenRequest.java | 37 +- .../IWorkbookFunctionsEvenRequestBuilder.java | 22 +- .../IWorkbookFunctionsExactRequest.java | 37 +- ...IWorkbookFunctionsExactRequestBuilder.java | 22 +- .../IWorkbookFunctionsExpRequest.java | 37 +- .../IWorkbookFunctionsExpRequestBuilder.java | 22 +- .../IWorkbookFunctionsExpon_DistRequest.java | 37 +- ...bookFunctionsExpon_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsF_DistRequest.java | 37 +- ...WorkbookFunctionsF_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsF_Dist_RTRequest.java | 37 +- ...kbookFunctionsF_Dist_RTRequestBuilder.java | 22 +- .../IWorkbookFunctionsF_InvRequest.java | 37 +- ...IWorkbookFunctionsF_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsF_Inv_RTRequest.java | 37 +- ...rkbookFunctionsF_Inv_RTRequestBuilder.java | 22 +- .../IWorkbookFunctionsFactDoubleRequest.java | 37 +- ...bookFunctionsFactDoubleRequestBuilder.java | 22 +- .../IWorkbookFunctionsFactRequest.java | 37 +- .../IWorkbookFunctionsFactRequestBuilder.java | 22 +- .../IWorkbookFunctionsFalseRequest.java | 46 +- ...IWorkbookFunctionsFalseRequestBuilder.java | 22 +- .../IWorkbookFunctionsFindBRequest.java | 37 +- ...IWorkbookFunctionsFindBRequestBuilder.java | 22 +- .../IWorkbookFunctionsFindRequest.java | 37 +- .../IWorkbookFunctionsFindRequestBuilder.java | 22 +- .../IWorkbookFunctionsFisherInvRequest.java | 37 +- ...kbookFunctionsFisherInvRequestBuilder.java | 22 +- .../IWorkbookFunctionsFisherRequest.java | 37 +- ...WorkbookFunctionsFisherRequestBuilder.java | 22 +- .../IWorkbookFunctionsFixedRequest.java | 37 +- ...IWorkbookFunctionsFixedRequestBuilder.java | 22 +- .../IWorkbookFunctionsFloor_MathRequest.java | 37 +- ...bookFunctionsFloor_MathRequestBuilder.java | 22 +- ...WorkbookFunctionsFloor_PreciseRequest.java | 37 +- ...kFunctionsFloor_PreciseRequestBuilder.java | 22 +- .../IWorkbookFunctionsFvRequest.java | 37 +- .../IWorkbookFunctionsFvRequestBuilder.java | 22 +- .../IWorkbookFunctionsFvscheduleRequest.java | 37 +- ...bookFunctionsFvscheduleRequestBuilder.java | 22 +- .../IWorkbookFunctionsGammaLnRequest.java | 37 +- ...orkbookFunctionsGammaLnRequestBuilder.java | 22 +- ...rkbookFunctionsGammaLn_PreciseRequest.java | 37 +- ...unctionsGammaLn_PreciseRequestBuilder.java | 22 +- .../IWorkbookFunctionsGammaRequest.java | 37 +- ...IWorkbookFunctionsGammaRequestBuilder.java | 22 +- .../IWorkbookFunctionsGamma_DistRequest.java | 37 +- ...bookFunctionsGamma_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsGamma_InvRequest.java | 37 +- ...kbookFunctionsGamma_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsGaussRequest.java | 37 +- ...IWorkbookFunctionsGaussRequestBuilder.java | 22 +- .../IWorkbookFunctionsGcdRequest.java | 37 +- .../IWorkbookFunctionsGcdRequestBuilder.java | 22 +- .../IWorkbookFunctionsGeStepRequest.java | 37 +- ...WorkbookFunctionsGeStepRequestBuilder.java | 22 +- .../IWorkbookFunctionsGeoMeanRequest.java | 37 +- ...orkbookFunctionsGeoMeanRequestBuilder.java | 22 +- .../IWorkbookFunctionsHarMeanRequest.java | 37 +- ...orkbookFunctionsHarMeanRequestBuilder.java | 22 +- .../IWorkbookFunctionsHex2BinRequest.java | 37 +- ...orkbookFunctionsHex2BinRequestBuilder.java | 22 +- .../IWorkbookFunctionsHex2DecRequest.java | 37 +- ...orkbookFunctionsHex2DecRequestBuilder.java | 22 +- .../IWorkbookFunctionsHex2OctRequest.java | 37 +- ...orkbookFunctionsHex2OctRequestBuilder.java | 22 +- .../IWorkbookFunctionsHlookupRequest.java | 37 +- ...orkbookFunctionsHlookupRequestBuilder.java | 22 +- .../IWorkbookFunctionsHourRequest.java | 37 +- .../IWorkbookFunctionsHourRequestBuilder.java | 22 +- ...IWorkbookFunctionsHypGeom_DistRequest.java | 37 +- ...okFunctionsHypGeom_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsHyperlinkRequest.java | 37 +- ...kbookFunctionsHyperlinkRequestBuilder.java | 22 +- .../IWorkbookFunctionsIfRequest.java | 37 +- .../IWorkbookFunctionsIfRequestBuilder.java | 22 +- .../IWorkbookFunctionsImAbsRequest.java | 37 +- ...IWorkbookFunctionsImAbsRequestBuilder.java | 22 +- .../IWorkbookFunctionsImArgumentRequest.java | 37 +- ...bookFunctionsImArgumentRequestBuilder.java | 22 +- .../IWorkbookFunctionsImConjugateRequest.java | 37 +- ...ookFunctionsImConjugateRequestBuilder.java | 22 +- .../IWorkbookFunctionsImCosRequest.java | 37 +- ...IWorkbookFunctionsImCosRequestBuilder.java | 22 +- .../IWorkbookFunctionsImCoshRequest.java | 37 +- ...WorkbookFunctionsImCoshRequestBuilder.java | 22 +- .../IWorkbookFunctionsImCotRequest.java | 37 +- ...IWorkbookFunctionsImCotRequestBuilder.java | 22 +- .../IWorkbookFunctionsImCscRequest.java | 37 +- ...IWorkbookFunctionsImCscRequestBuilder.java | 22 +- .../IWorkbookFunctionsImCschRequest.java | 37 +- ...WorkbookFunctionsImCschRequestBuilder.java | 22 +- .../IWorkbookFunctionsImDivRequest.java | 37 +- ...IWorkbookFunctionsImDivRequestBuilder.java | 22 +- .../IWorkbookFunctionsImExpRequest.java | 37 +- ...IWorkbookFunctionsImExpRequestBuilder.java | 22 +- .../IWorkbookFunctionsImLnRequest.java | 37 +- .../IWorkbookFunctionsImLnRequestBuilder.java | 22 +- .../IWorkbookFunctionsImLog10Request.java | 37 +- ...orkbookFunctionsImLog10RequestBuilder.java | 22 +- .../IWorkbookFunctionsImLog2Request.java | 37 +- ...WorkbookFunctionsImLog2RequestBuilder.java | 22 +- .../IWorkbookFunctionsImPowerRequest.java | 37 +- ...orkbookFunctionsImPowerRequestBuilder.java | 22 +- .../IWorkbookFunctionsImProductRequest.java | 37 +- ...kbookFunctionsImProductRequestBuilder.java | 22 +- .../IWorkbookFunctionsImRealRequest.java | 37 +- ...WorkbookFunctionsImRealRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSecRequest.java | 37 +- ...IWorkbookFunctionsImSecRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSechRequest.java | 37 +- ...WorkbookFunctionsImSechRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSinRequest.java | 37 +- ...IWorkbookFunctionsImSinRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSinhRequest.java | 37 +- ...WorkbookFunctionsImSinhRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSqrtRequest.java | 37 +- ...WorkbookFunctionsImSqrtRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSubRequest.java | 37 +- ...IWorkbookFunctionsImSubRequestBuilder.java | 22 +- .../IWorkbookFunctionsImSumRequest.java | 37 +- ...IWorkbookFunctionsImSumRequestBuilder.java | 22 +- .../IWorkbookFunctionsImTanRequest.java | 37 +- ...IWorkbookFunctionsImTanRequestBuilder.java | 22 +- .../IWorkbookFunctionsImaginaryRequest.java | 37 +- ...kbookFunctionsImaginaryRequestBuilder.java | 22 +- .../IWorkbookFunctionsIntRateRequest.java | 37 +- ...orkbookFunctionsIntRateRequestBuilder.java | 22 +- .../IWorkbookFunctionsIntRequest.java | 37 +- .../IWorkbookFunctionsIntRequestBuilder.java | 22 +- .../IWorkbookFunctionsIpmtRequest.java | 37 +- .../IWorkbookFunctionsIpmtRequestBuilder.java | 22 +- .../IWorkbookFunctionsIrrRequest.java | 37 +- .../IWorkbookFunctionsIrrRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsErrRequest.java | 37 +- ...IWorkbookFunctionsIsErrRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsErrorRequest.java | 37 +- ...orkbookFunctionsIsErrorRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsEvenRequest.java | 37 +- ...WorkbookFunctionsIsEvenRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsFormulaRequest.java | 37 +- ...kbookFunctionsIsFormulaRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsLogicalRequest.java | 37 +- ...kbookFunctionsIsLogicalRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsNARequest.java | 37 +- .../IWorkbookFunctionsIsNARequestBuilder.java | 22 +- .../IWorkbookFunctionsIsNonTextRequest.java | 37 +- ...kbookFunctionsIsNonTextRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsNumberRequest.java | 37 +- ...rkbookFunctionsIsNumberRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsOddRequest.java | 37 +- ...IWorkbookFunctionsIsOddRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsTextRequest.java | 37 +- ...WorkbookFunctionsIsTextRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsoWeekNumRequest.java | 37 +- ...bookFunctionsIsoWeekNumRequestBuilder.java | 22 +- .../IWorkbookFunctionsIso_CeilingRequest.java | 37 +- ...ookFunctionsIso_CeilingRequestBuilder.java | 22 +- .../IWorkbookFunctionsIspmtRequest.java | 37 +- ...IWorkbookFunctionsIspmtRequestBuilder.java | 22 +- .../IWorkbookFunctionsIsrefRequest.java | 37 +- ...IWorkbookFunctionsIsrefRequestBuilder.java | 22 +- .../IWorkbookFunctionsKurtRequest.java | 37 +- .../IWorkbookFunctionsKurtRequestBuilder.java | 22 +- .../IWorkbookFunctionsLargeRequest.java | 37 +- ...IWorkbookFunctionsLargeRequestBuilder.java | 22 +- .../IWorkbookFunctionsLcmRequest.java | 37 +- .../IWorkbookFunctionsLcmRequestBuilder.java | 22 +- .../IWorkbookFunctionsLeftRequest.java | 37 +- .../IWorkbookFunctionsLeftRequestBuilder.java | 22 +- .../IWorkbookFunctionsLeftbRequest.java | 37 +- ...IWorkbookFunctionsLeftbRequestBuilder.java | 22 +- .../IWorkbookFunctionsLenRequest.java | 37 +- .../IWorkbookFunctionsLenRequestBuilder.java | 22 +- .../IWorkbookFunctionsLenbRequest.java | 37 +- .../IWorkbookFunctionsLenbRequestBuilder.java | 22 +- .../IWorkbookFunctionsLnRequest.java | 37 +- .../IWorkbookFunctionsLnRequestBuilder.java | 22 +- .../IWorkbookFunctionsLog10Request.java | 37 +- ...IWorkbookFunctionsLog10RequestBuilder.java | 22 +- ...IWorkbookFunctionsLogNorm_DistRequest.java | 37 +- ...okFunctionsLogNorm_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsLogNorm_InvRequest.java | 37 +- ...ookFunctionsLogNorm_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsLogRequest.java | 37 +- .../IWorkbookFunctionsLogRequestBuilder.java | 22 +- .../IWorkbookFunctionsLookupRequest.java | 37 +- ...WorkbookFunctionsLookupRequestBuilder.java | 22 +- .../IWorkbookFunctionsLowerRequest.java | 37 +- ...IWorkbookFunctionsLowerRequestBuilder.java | 22 +- .../IWorkbookFunctionsMatchRequest.java | 37 +- ...IWorkbookFunctionsMatchRequestBuilder.java | 22 +- .../IWorkbookFunctionsMaxARequest.java | 37 +- .../IWorkbookFunctionsMaxARequestBuilder.java | 22 +- .../IWorkbookFunctionsMaxRequest.java | 37 +- .../IWorkbookFunctionsMaxRequestBuilder.java | 22 +- .../IWorkbookFunctionsMdurationRequest.java | 37 +- ...kbookFunctionsMdurationRequestBuilder.java | 22 +- .../IWorkbookFunctionsMedianRequest.java | 37 +- ...WorkbookFunctionsMedianRequestBuilder.java | 22 +- .../IWorkbookFunctionsMidRequest.java | 37 +- .../IWorkbookFunctionsMidRequestBuilder.java | 22 +- .../IWorkbookFunctionsMidbRequest.java | 37 +- .../IWorkbookFunctionsMidbRequestBuilder.java | 22 +- .../IWorkbookFunctionsMinARequest.java | 37 +- .../IWorkbookFunctionsMinARequestBuilder.java | 22 +- .../IWorkbookFunctionsMinRequest.java | 37 +- .../IWorkbookFunctionsMinRequestBuilder.java | 22 +- .../IWorkbookFunctionsMinuteRequest.java | 37 +- ...WorkbookFunctionsMinuteRequestBuilder.java | 22 +- .../IWorkbookFunctionsMirrRequest.java | 37 +- .../IWorkbookFunctionsMirrRequestBuilder.java | 22 +- .../IWorkbookFunctionsModRequest.java | 37 +- .../IWorkbookFunctionsModRequestBuilder.java | 22 +- .../IWorkbookFunctionsMonthRequest.java | 37 +- ...IWorkbookFunctionsMonthRequestBuilder.java | 22 +- .../IWorkbookFunctionsMroundRequest.java | 37 +- ...WorkbookFunctionsMroundRequestBuilder.java | 22 +- .../IWorkbookFunctionsMultiNomialRequest.java | 37 +- ...ookFunctionsMultiNomialRequestBuilder.java | 22 +- .../IWorkbookFunctionsNRequest.java | 37 +- .../IWorkbookFunctionsNRequestBuilder.java | 22 +- .../IWorkbookFunctionsNaRequest.java | 46 +- .../IWorkbookFunctionsNaRequestBuilder.java | 22 +- ...WorkbookFunctionsNegBinom_DistRequest.java | 37 +- ...kFunctionsNegBinom_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsNetworkDaysRequest.java | 37 +- ...ookFunctionsNetworkDaysRequestBuilder.java | 22 +- ...kbookFunctionsNetworkDays_IntlRequest.java | 37 +- ...nctionsNetworkDays_IntlRequestBuilder.java | 22 +- .../IWorkbookFunctionsNominalRequest.java | 37 +- ...orkbookFunctionsNominalRequestBuilder.java | 22 +- .../IWorkbookFunctionsNorm_DistRequest.java | 37 +- ...kbookFunctionsNorm_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsNorm_InvRequest.java | 37 +- ...rkbookFunctionsNorm_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsNorm_S_DistRequest.java | 37 +- ...ookFunctionsNorm_S_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsNorm_S_InvRequest.java | 37 +- ...bookFunctionsNorm_S_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsNotRequest.java | 37 +- .../IWorkbookFunctionsNotRequestBuilder.java | 22 +- .../IWorkbookFunctionsNowRequest.java | 46 +- .../IWorkbookFunctionsNowRequestBuilder.java | 22 +- .../IWorkbookFunctionsNperRequest.java | 37 +- .../IWorkbookFunctionsNperRequestBuilder.java | 22 +- .../IWorkbookFunctionsNpvRequest.java | 37 +- .../IWorkbookFunctionsNpvRequestBuilder.java | 22 +- .../IWorkbookFunctionsNumberValueRequest.java | 37 +- ...ookFunctionsNumberValueRequestBuilder.java | 22 +- .../IWorkbookFunctionsOct2BinRequest.java | 37 +- ...orkbookFunctionsOct2BinRequestBuilder.java | 22 +- .../IWorkbookFunctionsOct2DecRequest.java | 37 +- ...orkbookFunctionsOct2DecRequestBuilder.java | 22 +- .../IWorkbookFunctionsOct2HexRequest.java | 37 +- ...orkbookFunctionsOct2HexRequestBuilder.java | 22 +- .../IWorkbookFunctionsOddFPriceRequest.java | 37 +- ...kbookFunctionsOddFPriceRequestBuilder.java | 22 +- .../IWorkbookFunctionsOddFYieldRequest.java | 37 +- ...kbookFunctionsOddFYieldRequestBuilder.java | 22 +- .../IWorkbookFunctionsOddLPriceRequest.java | 37 +- ...kbookFunctionsOddLPriceRequestBuilder.java | 22 +- .../IWorkbookFunctionsOddLYieldRequest.java | 37 +- ...kbookFunctionsOddLYieldRequestBuilder.java | 22 +- .../IWorkbookFunctionsOddRequest.java | 37 +- .../IWorkbookFunctionsOddRequestBuilder.java | 22 +- .../IWorkbookFunctionsOrRequest.java | 37 +- .../IWorkbookFunctionsOrRequestBuilder.java | 22 +- .../IWorkbookFunctionsPdurationRequest.java | 37 +- ...kbookFunctionsPdurationRequestBuilder.java | 22 +- ...rkbookFunctionsPercentRank_ExcRequest.java | 37 +- ...unctionsPercentRank_ExcRequestBuilder.java | 22 +- ...rkbookFunctionsPercentRank_IncRequest.java | 37 +- ...unctionsPercentRank_IncRequestBuilder.java | 22 +- ...orkbookFunctionsPercentile_ExcRequest.java | 37 +- ...FunctionsPercentile_ExcRequestBuilder.java | 22 +- ...orkbookFunctionsPercentile_IncRequest.java | 37 +- ...FunctionsPercentile_IncRequestBuilder.java | 22 +- .../IWorkbookFunctionsPermutRequest.java | 37 +- ...WorkbookFunctionsPermutRequestBuilder.java | 22 +- ...IWorkbookFunctionsPermutationaRequest.java | 37 +- ...okFunctionsPermutationaRequestBuilder.java | 22 +- .../IWorkbookFunctionsPhiRequest.java | 37 +- .../IWorkbookFunctionsPhiRequestBuilder.java | 22 +- .../IWorkbookFunctionsPiRequest.java | 46 +- .../IWorkbookFunctionsPiRequestBuilder.java | 22 +- .../IWorkbookFunctionsPmtRequest.java | 37 +- .../IWorkbookFunctionsPmtRequestBuilder.java | 22 +- ...IWorkbookFunctionsPoisson_DistRequest.java | 37 +- ...okFunctionsPoisson_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsPowerRequest.java | 37 +- ...IWorkbookFunctionsPowerRequestBuilder.java | 22 +- .../IWorkbookFunctionsPpmtRequest.java | 37 +- .../IWorkbookFunctionsPpmtRequestBuilder.java | 22 +- .../IWorkbookFunctionsPriceDiscRequest.java | 37 +- ...kbookFunctionsPriceDiscRequestBuilder.java | 22 +- .../IWorkbookFunctionsPriceMatRequest.java | 37 +- ...rkbookFunctionsPriceMatRequestBuilder.java | 22 +- .../IWorkbookFunctionsPriceRequest.java | 37 +- ...IWorkbookFunctionsPriceRequestBuilder.java | 22 +- .../IWorkbookFunctionsProductRequest.java | 37 +- ...orkbookFunctionsProductRequestBuilder.java | 22 +- .../IWorkbookFunctionsProperRequest.java | 37 +- ...WorkbookFunctionsProperRequestBuilder.java | 22 +- .../IWorkbookFunctionsPvRequest.java | 37 +- .../IWorkbookFunctionsPvRequestBuilder.java | 22 +- ...IWorkbookFunctionsQuartile_ExcRequest.java | 37 +- ...okFunctionsQuartile_ExcRequestBuilder.java | 22 +- ...IWorkbookFunctionsQuartile_IncRequest.java | 37 +- ...okFunctionsQuartile_IncRequestBuilder.java | 22 +- .../IWorkbookFunctionsQuotientRequest.java | 37 +- ...rkbookFunctionsQuotientRequestBuilder.java | 22 +- .../IWorkbookFunctionsRadiansRequest.java | 37 +- ...orkbookFunctionsRadiansRequestBuilder.java | 22 +- .../IWorkbookFunctionsRandBetweenRequest.java | 37 +- ...ookFunctionsRandBetweenRequestBuilder.java | 22 +- .../IWorkbookFunctionsRandRequest.java | 46 +- .../IWorkbookFunctionsRandRequestBuilder.java | 22 +- .../IWorkbookFunctionsRank_AvgRequest.java | 37 +- ...rkbookFunctionsRank_AvgRequestBuilder.java | 22 +- .../IWorkbookFunctionsRank_EqRequest.java | 37 +- ...orkbookFunctionsRank_EqRequestBuilder.java | 22 +- .../IWorkbookFunctionsRateRequest.java | 37 +- .../IWorkbookFunctionsRateRequestBuilder.java | 22 +- .../IWorkbookFunctionsReceivedRequest.java | 37 +- ...rkbookFunctionsReceivedRequestBuilder.java | 22 +- .../IWorkbookFunctionsReplaceBRequest.java | 37 +- ...rkbookFunctionsReplaceBRequestBuilder.java | 22 +- .../IWorkbookFunctionsReplaceRequest.java | 37 +- ...orkbookFunctionsReplaceRequestBuilder.java | 22 +- .../IWorkbookFunctionsReptRequest.java | 37 +- .../IWorkbookFunctionsReptRequestBuilder.java | 22 +- .../extensions/IWorkbookFunctionsRequest.java | 89 +- .../IWorkbookFunctionsRequestBuilder.java | 756 +++++- .../IWorkbookFunctionsRightRequest.java | 37 +- ...IWorkbookFunctionsRightRequestBuilder.java | 22 +- .../IWorkbookFunctionsRightbRequest.java | 37 +- ...WorkbookFunctionsRightbRequestBuilder.java | 22 +- .../IWorkbookFunctionsRomanRequest.java | 37 +- ...IWorkbookFunctionsRomanRequestBuilder.java | 22 +- .../IWorkbookFunctionsRoundDownRequest.java | 37 +- ...kbookFunctionsRoundDownRequestBuilder.java | 22 +- .../IWorkbookFunctionsRoundRequest.java | 37 +- ...IWorkbookFunctionsRoundRequestBuilder.java | 22 +- .../IWorkbookFunctionsRoundUpRequest.java | 37 +- ...orkbookFunctionsRoundUpRequestBuilder.java | 22 +- .../IWorkbookFunctionsRowsRequest.java | 37 +- .../IWorkbookFunctionsRowsRequestBuilder.java | 22 +- .../IWorkbookFunctionsRriRequest.java | 37 +- .../IWorkbookFunctionsRriRequestBuilder.java | 22 +- .../IWorkbookFunctionsSecRequest.java | 37 +- .../IWorkbookFunctionsSecRequestBuilder.java | 22 +- .../IWorkbookFunctionsSechRequest.java | 37 +- .../IWorkbookFunctionsSechRequestBuilder.java | 22 +- .../IWorkbookFunctionsSecondRequest.java | 37 +- ...WorkbookFunctionsSecondRequestBuilder.java | 22 +- .../IWorkbookFunctionsSeriesSumRequest.java | 37 +- ...kbookFunctionsSeriesSumRequestBuilder.java | 22 +- .../IWorkbookFunctionsSheetRequest.java | 37 +- ...IWorkbookFunctionsSheetRequestBuilder.java | 22 +- .../IWorkbookFunctionsSheetsRequest.java | 37 +- ...WorkbookFunctionsSheetsRequestBuilder.java | 22 +- .../IWorkbookFunctionsSignRequest.java | 37 +- .../IWorkbookFunctionsSignRequestBuilder.java | 22 +- .../IWorkbookFunctionsSinRequest.java | 37 +- .../IWorkbookFunctionsSinRequestBuilder.java | 22 +- .../IWorkbookFunctionsSinhRequest.java | 37 +- .../IWorkbookFunctionsSinhRequestBuilder.java | 22 +- .../IWorkbookFunctionsSkewRequest.java | 37 +- .../IWorkbookFunctionsSkewRequestBuilder.java | 22 +- .../IWorkbookFunctionsSkew_pRequest.java | 37 +- ...WorkbookFunctionsSkew_pRequestBuilder.java | 22 +- .../IWorkbookFunctionsSlnRequest.java | 37 +- .../IWorkbookFunctionsSlnRequestBuilder.java | 22 +- .../IWorkbookFunctionsSmallRequest.java | 37 +- ...IWorkbookFunctionsSmallRequestBuilder.java | 22 +- .../IWorkbookFunctionsSqrtPiRequest.java | 37 +- ...WorkbookFunctionsSqrtPiRequestBuilder.java | 22 +- .../IWorkbookFunctionsSqrtRequest.java | 37 +- .../IWorkbookFunctionsSqrtRequestBuilder.java | 22 +- .../IWorkbookFunctionsStDevARequest.java | 37 +- ...WorkbookFunctionsStDevARequestBuilder.java | 22 +- .../IWorkbookFunctionsStDevPARequest.java | 37 +- ...orkbookFunctionsStDevPARequestBuilder.java | 22 +- .../IWorkbookFunctionsStDev_PRequest.java | 37 +- ...orkbookFunctionsStDev_PRequestBuilder.java | 22 +- .../IWorkbookFunctionsStDev_SRequest.java | 37 +- ...orkbookFunctionsStDev_SRequestBuilder.java | 22 +- .../IWorkbookFunctionsStandardizeRequest.java | 37 +- ...ookFunctionsStandardizeRequestBuilder.java | 22 +- .../IWorkbookFunctionsSubstituteRequest.java | 37 +- ...bookFunctionsSubstituteRequestBuilder.java | 22 +- .../IWorkbookFunctionsSubtotalRequest.java | 37 +- ...rkbookFunctionsSubtotalRequestBuilder.java | 22 +- .../IWorkbookFunctionsSumIfRequest.java | 37 +- ...IWorkbookFunctionsSumIfRequestBuilder.java | 22 +- .../IWorkbookFunctionsSumIfsRequest.java | 37 +- ...WorkbookFunctionsSumIfsRequestBuilder.java | 22 +- .../IWorkbookFunctionsSumRequest.java | 37 +- .../IWorkbookFunctionsSumRequestBuilder.java | 22 +- .../IWorkbookFunctionsSumSqRequest.java | 37 +- ...IWorkbookFunctionsSumSqRequestBuilder.java | 22 +- .../IWorkbookFunctionsSydRequest.java | 37 +- .../IWorkbookFunctionsSydRequestBuilder.java | 22 +- .../IWorkbookFunctionsTRequest.java | 37 +- .../IWorkbookFunctionsTRequestBuilder.java | 22 +- .../IWorkbookFunctionsT_DistRequest.java | 37 +- ...WorkbookFunctionsT_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsT_Dist_2TRequest.java | 37 +- ...kbookFunctionsT_Dist_2TRequestBuilder.java | 22 +- .../IWorkbookFunctionsT_Dist_RTRequest.java | 37 +- ...kbookFunctionsT_Dist_RTRequestBuilder.java | 22 +- .../IWorkbookFunctionsT_InvRequest.java | 37 +- ...IWorkbookFunctionsT_InvRequestBuilder.java | 22 +- .../IWorkbookFunctionsT_Inv_2TRequest.java | 37 +- ...rkbookFunctionsT_Inv_2TRequestBuilder.java | 22 +- .../IWorkbookFunctionsTanRequest.java | 37 +- .../IWorkbookFunctionsTanRequestBuilder.java | 22 +- .../IWorkbookFunctionsTanhRequest.java | 37 +- .../IWorkbookFunctionsTanhRequestBuilder.java | 22 +- .../IWorkbookFunctionsTbillEqRequest.java | 37 +- ...orkbookFunctionsTbillEqRequestBuilder.java | 22 +- .../IWorkbookFunctionsTbillPriceRequest.java | 37 +- ...bookFunctionsTbillPriceRequestBuilder.java | 22 +- .../IWorkbookFunctionsTbillYieldRequest.java | 37 +- ...bookFunctionsTbillYieldRequestBuilder.java | 22 +- .../IWorkbookFunctionsTextRequest.java | 37 +- .../IWorkbookFunctionsTextRequestBuilder.java | 22 +- .../IWorkbookFunctionsTimeRequest.java | 37 +- .../IWorkbookFunctionsTimeRequestBuilder.java | 22 +- .../IWorkbookFunctionsTimevalueRequest.java | 37 +- ...kbookFunctionsTimevalueRequestBuilder.java | 22 +- .../IWorkbookFunctionsTodayRequest.java | 46 +- ...IWorkbookFunctionsTodayRequestBuilder.java | 22 +- .../IWorkbookFunctionsTrimMeanRequest.java | 37 +- ...rkbookFunctionsTrimMeanRequestBuilder.java | 22 +- .../IWorkbookFunctionsTrimRequest.java | 37 +- .../IWorkbookFunctionsTrimRequestBuilder.java | 22 +- .../IWorkbookFunctionsTrueRequest.java | 46 +- .../IWorkbookFunctionsTrueRequestBuilder.java | 22 +- .../IWorkbookFunctionsTruncRequest.java | 37 +- ...IWorkbookFunctionsTruncRequestBuilder.java | 22 +- .../IWorkbookFunctionsTypeRequest.java | 37 +- .../IWorkbookFunctionsTypeRequestBuilder.java | 22 +- .../IWorkbookFunctionsUnicharRequest.java | 37 +- ...orkbookFunctionsUnicharRequestBuilder.java | 22 +- .../IWorkbookFunctionsUnicodeRequest.java | 37 +- ...orkbookFunctionsUnicodeRequestBuilder.java | 22 +- .../IWorkbookFunctionsUpperRequest.java | 37 +- ...IWorkbookFunctionsUpperRequestBuilder.java | 22 +- .../IWorkbookFunctionsUsdollarRequest.java | 37 +- ...rkbookFunctionsUsdollarRequestBuilder.java | 22 +- .../IWorkbookFunctionsValueRequest.java | 37 +- ...IWorkbookFunctionsValueRequestBuilder.java | 22 +- .../IWorkbookFunctionsVarARequest.java | 37 +- .../IWorkbookFunctionsVarARequestBuilder.java | 22 +- .../IWorkbookFunctionsVarPARequest.java | 37 +- ...IWorkbookFunctionsVarPARequestBuilder.java | 22 +- .../IWorkbookFunctionsVar_PRequest.java | 37 +- ...IWorkbookFunctionsVar_PRequestBuilder.java | 22 +- .../IWorkbookFunctionsVar_SRequest.java | 37 +- ...IWorkbookFunctionsVar_SRequestBuilder.java | 22 +- .../IWorkbookFunctionsVdbRequest.java | 37 +- .../IWorkbookFunctionsVdbRequestBuilder.java | 22 +- .../IWorkbookFunctionsVlookupRequest.java | 37 +- ...orkbookFunctionsVlookupRequestBuilder.java | 22 +- .../IWorkbookFunctionsWeekNumRequest.java | 37 +- ...orkbookFunctionsWeekNumRequestBuilder.java | 22 +- .../IWorkbookFunctionsWeekdayRequest.java | 37 +- ...orkbookFunctionsWeekdayRequestBuilder.java | 22 +- ...IWorkbookFunctionsWeibull_DistRequest.java | 37 +- ...okFunctionsWeibull_DistRequestBuilder.java | 22 +- .../IWorkbookFunctionsWorkDayRequest.java | 37 +- ...orkbookFunctionsWorkDayRequestBuilder.java | 22 +- ...IWorkbookFunctionsWorkDay_IntlRequest.java | 37 +- ...okFunctionsWorkDay_IntlRequestBuilder.java | 22 +- .../IWorkbookFunctionsXirrRequest.java | 37 +- .../IWorkbookFunctionsXirrRequestBuilder.java | 22 +- .../IWorkbookFunctionsXnpvRequest.java | 37 +- .../IWorkbookFunctionsXnpvRequestBuilder.java | 22 +- .../IWorkbookFunctionsXorRequest.java | 37 +- .../IWorkbookFunctionsXorRequestBuilder.java | 22 +- .../IWorkbookFunctionsYearFracRequest.java | 37 +- ...rkbookFunctionsYearFracRequestBuilder.java | 22 +- .../IWorkbookFunctionsYearRequest.java | 37 +- .../IWorkbookFunctionsYearRequestBuilder.java | 22 +- .../IWorkbookFunctionsYieldDiscRequest.java | 37 +- ...kbookFunctionsYieldDiscRequestBuilder.java | 22 +- .../IWorkbookFunctionsYieldMatRequest.java | 37 +- ...rkbookFunctionsYieldMatRequestBuilder.java | 22 +- .../IWorkbookFunctionsYieldRequest.java | 37 +- ...IWorkbookFunctionsYieldRequestBuilder.java | 22 +- .../IWorkbookFunctionsZ_TestRequest.java | 37 +- ...WorkbookFunctionsZ_TestRequestBuilder.java | 22 +- ...rkbookNamedItemAddFormulaLocalRequest.java | 37 +- ...amedItemAddFormulaLocalRequestBuilder.java | 22 +- .../IWorkbookNamedItemAddRequest.java | 37 +- .../IWorkbookNamedItemAddRequestBuilder.java | 22 +- .../IWorkbookNamedItemCollectionPage.java | 19 +- .../IWorkbookNamedItemCollectionRequest.java | 48 +- ...bookNamedItemCollectionRequestBuilder.java | 24 +- .../IWorkbookNamedItemRangeRequest.java | 79 +- ...IWorkbookNamedItemRangeRequestBuilder.java | 22 +- .../extensions/IWorkbookNamedItemRequest.java | 89 +- .../IWorkbookNamedItemRequestBuilder.java | 34 +- .../IWorkbookPivotTableCollectionPage.java | 19 +- .../IWorkbookPivotTableCollectionRequest.java | 48 +- ...ookPivotTableCollectionRequestBuilder.java | 23 +- .../IWorkbookPivotTableRefreshAllRequest.java | 28 +- ...ookPivotTableRefreshAllRequestBuilder.java | 22 +- .../IWorkbookPivotTableRefreshRequest.java | 28 +- ...rkbookPivotTableRefreshRequestBuilder.java | 22 +- .../IWorkbookPivotTableRequest.java | 89 +- .../IWorkbookPivotTableRequestBuilder.java | 34 +- .../IWorkbookProcessQueryRequest.java | 36 +- .../IWorkbookProcessQueryRequestBuilder.java | 22 +- .../IWorkbookRangeBorderCollectionPage.java | 19 +- ...IWorkbookRangeBorderCollectionRequest.java | 48 +- ...okRangeBorderCollectionRequestBuilder.java | 24 +- .../IWorkbookRangeBorderCountRequest.java | 45 +- ...orkbookRangeBorderCountRequestBuilder.java | 22 +- .../IWorkbookRangeBorderItemAtRequest.java | 79 +- ...rkbookRangeBorderItemAtRequestBuilder.java | 22 +- .../IWorkbookRangeBorderRequest.java | 89 +- .../IWorkbookRangeBorderRequestBuilder.java | 24 +- .../IWorkbookRangeBoundingRectRequest.java | 79 +- ...rkbookRangeBoundingRectRequestBuilder.java | 22 +- .../extensions/IWorkbookRangeCellRequest.java | 79 +- .../IWorkbookRangeCellRequestBuilder.java | 22 +- .../IWorkbookRangeClearRequest.java | 36 +- .../IWorkbookRangeClearRequestBuilder.java | 22 +- .../IWorkbookRangeColumnRequest.java | 79 +- .../IWorkbookRangeColumnRequestBuilder.java | 22 +- .../IWorkbookRangeColumnsAfterRequest.java | 79 +- ...rkbookRangeColumnsAfterRequestBuilder.java | 22 +- .../IWorkbookRangeColumnsBeforeRequest.java | 79 +- ...kbookRangeColumnsBeforeRequestBuilder.java | 22 +- .../IWorkbookRangeDeleteRequest.java | 36 +- .../IWorkbookRangeDeleteRequestBuilder.java | 22 +- .../IWorkbookRangeEntireColumnRequest.java | 79 +- ...rkbookRangeEntireColumnRequestBuilder.java | 22 +- .../IWorkbookRangeEntireRowRequest.java | 79 +- ...IWorkbookRangeEntireRowRequestBuilder.java | 22 +- .../IWorkbookRangeFillClearRequest.java | 28 +- ...IWorkbookRangeFillClearRequestBuilder.java | 22 +- .../extensions/IWorkbookRangeFillRequest.java | 89 +- .../IWorkbookRangeFillRequestBuilder.java | 26 +- .../extensions/IWorkbookRangeFontRequest.java | 89 +- .../IWorkbookRangeFontRequestBuilder.java | 24 +- ...kbookRangeFormatAutofitColumnsRequest.java | 28 +- ...ngeFormatAutofitColumnsRequestBuilder.java | 22 +- ...WorkbookRangeFormatAutofitRowsRequest.java | 28 +- ...kRangeFormatAutofitRowsRequestBuilder.java | 22 +- .../IWorkbookRangeFormatRequest.java | 89 +- .../IWorkbookRangeFormatRequestBuilder.java | 58 +- .../IWorkbookRangeInsertRequest.java | 37 +- .../IWorkbookRangeInsertRequestBuilder.java | 22 +- .../IWorkbookRangeIntersectionRequest.java | 79 +- ...rkbookRangeIntersectionRequestBuilder.java | 22 +- .../IWorkbookRangeLastCellRequest.java | 79 +- .../IWorkbookRangeLastCellRequestBuilder.java | 22 +- .../IWorkbookRangeLastColumnRequest.java | 79 +- ...WorkbookRangeLastColumnRequestBuilder.java | 22 +- .../IWorkbookRangeLastRowRequest.java | 79 +- .../IWorkbookRangeLastRowRequestBuilder.java | 22 +- .../IWorkbookRangeMergeRequest.java | 36 +- .../IWorkbookRangeMergeRequestBuilder.java | 22 +- .../IWorkbookRangeOffsetRangeRequest.java | 79 +- ...orkbookRangeOffsetRangeRequestBuilder.java | 22 +- .../extensions/IWorkbookRangeRequest.java | 89 +- .../IWorkbookRangeRequestBuilder.java | 104 +- .../IWorkbookRangeResizedRangeRequest.java | 79 +- ...rkbookRangeResizedRangeRequestBuilder.java | 22 +- .../extensions/IWorkbookRangeRowRequest.java | 79 +- .../IWorkbookRangeRowRequestBuilder.java | 22 +- .../IWorkbookRangeRowsAboveRequest.java | 79 +- ...IWorkbookRangeRowsAboveRequestBuilder.java | 22 +- .../IWorkbookRangeRowsBelowRequest.java | 79 +- ...IWorkbookRangeRowsBelowRequestBuilder.java | 22 +- .../IWorkbookRangeSortApplyRequest.java | 36 +- ...IWorkbookRangeSortApplyRequestBuilder.java | 22 +- .../extensions/IWorkbookRangeSortRequest.java | 89 +- .../IWorkbookRangeSortRequestBuilder.java | 27 +- .../IWorkbookRangeUnmergeRequest.java | 28 +- .../IWorkbookRangeUnmergeRequestBuilder.java | 22 +- .../IWorkbookRangeUsedRangeRequest.java | 79 +- ...IWorkbookRangeUsedRangeRequestBuilder.java | 22 +- .../IWorkbookRangeViewCollectionPage.java | 19 +- .../IWorkbookRangeViewCollectionRequest.java | 48 +- ...bookRangeViewCollectionRequestBuilder.java | 23 +- .../IWorkbookRangeViewItemAtRequest.java | 79 +- ...WorkbookRangeViewItemAtRequestBuilder.java | 22 +- .../IWorkbookRangeViewRangeRequest.java | 79 +- ...IWorkbookRangeViewRangeRequestBuilder.java | 22 +- .../extensions/IWorkbookRangeViewRequest.java | 89 +- .../IWorkbookRangeViewRequestBuilder.java | 32 +- .../IWorkbookRangeVisibleViewRequest.java | 79 +- ...orkbookRangeVisibleViewRequestBuilder.java | 22 +- .../IWorkbookRefreshSessionRequest.java | 28 +- ...IWorkbookRefreshSessionRequestBuilder.java | 22 +- .../requests/extensions/IWorkbookRequest.java | 89 +- .../extensions/IWorkbookRequestBuilder.java | 66 +- .../extensions/IWorkbookTableAddRequest.java | 37 +- .../IWorkbookTableAddRequestBuilder.java | 22 +- .../IWorkbookTableClearFiltersRequest.java | 28 +- ...rkbookTableClearFiltersRequestBuilder.java | 22 +- .../IWorkbookTableCollectionPage.java | 19 +- .../IWorkbookTableCollectionRequest.java | 48 +- ...WorkbookTableCollectionRequestBuilder.java | 25 +- .../IWorkbookTableColumnAddRequest.java | 37 +- ...IWorkbookTableColumnAddRequestBuilder.java | 22 +- .../IWorkbookTableColumnCollectionPage.java | 19 +- ...IWorkbookTableColumnCollectionRequest.java | 48 +- ...okTableColumnCollectionRequestBuilder.java | 25 +- .../IWorkbookTableColumnCountRequest.java | 45 +- ...orkbookTableColumnCountRequestBuilder.java | 22 +- ...rkbookTableColumnDataBodyRangeRequest.java | 79 +- ...ableColumnDataBodyRangeRequestBuilder.java | 22 +- ...kbookTableColumnHeaderRowRangeRequest.java | 79 +- ...bleColumnHeaderRowRangeRequestBuilder.java | 22 +- .../IWorkbookTableColumnItemAtRequest.java | 79 +- ...rkbookTableColumnItemAtRequestBuilder.java | 22 +- .../IWorkbookTableColumnRangeRequest.java | 79 +- ...orkbookTableColumnRangeRequestBuilder.java | 22 +- .../IWorkbookTableColumnRequest.java | 89 +- .../IWorkbookTableColumnRequestBuilder.java | 40 +- ...rkbookTableColumnTotalRowRangeRequest.java | 79 +- ...ableColumnTotalRowRangeRequestBuilder.java | 22 +- .../IWorkbookTableConvertToRangeRequest.java | 46 +- ...bookTableConvertToRangeRequestBuilder.java | 22 +- .../IWorkbookTableCountRequest.java | 45 +- .../IWorkbookTableCountRequestBuilder.java | 22 +- .../IWorkbookTableDataBodyRangeRequest.java | 79 +- ...kbookTableDataBodyRangeRequestBuilder.java | 22 +- .../IWorkbookTableHeaderRowRangeRequest.java | 79 +- ...bookTableHeaderRowRangeRequestBuilder.java | 22 +- .../IWorkbookTableItemAtRequest.java | 79 +- .../IWorkbookTableItemAtRequestBuilder.java | 22 +- .../IWorkbookTableRangeRequest.java | 79 +- .../IWorkbookTableRangeRequestBuilder.java | 22 +- .../IWorkbookTableReapplyFiltersRequest.java | 28 +- ...bookTableReapplyFiltersRequestBuilder.java | 22 +- .../extensions/IWorkbookTableRequest.java | 89 +- .../IWorkbookTableRequestBuilder.java | 66 +- .../IWorkbookTableRowAddRequest.java | 37 +- .../IWorkbookTableRowAddRequestBuilder.java | 22 +- .../IWorkbookTableRowCollectionPage.java | 19 +- .../IWorkbookTableRowCollectionRequest.java | 48 +- ...kbookTableRowCollectionRequestBuilder.java | 25 +- .../IWorkbookTableRowCountRequest.java | 45 +- .../IWorkbookTableRowCountRequestBuilder.java | 22 +- .../IWorkbookTableRowItemAtRequest.java | 79 +- ...IWorkbookTableRowItemAtRequestBuilder.java | 22 +- .../IWorkbookTableRowRangeRequest.java | 79 +- .../IWorkbookTableRowRangeRequestBuilder.java | 22 +- .../extensions/IWorkbookTableRowRequest.java | 89 +- .../IWorkbookTableRowRequestBuilder.java | 26 +- .../IWorkbookTableSortApplyRequest.java | 36 +- ...IWorkbookTableSortApplyRequestBuilder.java | 22 +- .../IWorkbookTableSortClearRequest.java | 28 +- ...IWorkbookTableSortClearRequestBuilder.java | 22 +- .../IWorkbookTableSortReapplyRequest.java | 28 +- ...orkbookTableSortReapplyRequestBuilder.java | 22 +- .../extensions/IWorkbookTableSortRequest.java | 89 +- .../IWorkbookTableSortRequestBuilder.java | 31 +- .../IWorkbookTableTotalRowRangeRequest.java | 79 +- ...kbookTableTotalRowRangeRequestBuilder.java | 22 +- .../IWorkbookWorksheetAddRequest.java | 37 +- .../IWorkbookWorksheetAddRequestBuilder.java | 22 +- .../IWorkbookWorksheetCellRequest.java | 79 +- .../IWorkbookWorksheetCellRequestBuilder.java | 22 +- .../IWorkbookWorksheetCollectionPage.java | 19 +- .../IWorkbookWorksheetCollectionRequest.java | 48 +- ...bookWorksheetCollectionRequestBuilder.java | 23 +- ...bookWorksheetProtectionProtectRequest.java | 36 +- ...ksheetProtectionProtectRequestBuilder.java | 22 +- .../IWorkbookWorksheetProtectionRequest.java | 89 +- ...bookWorksheetProtectionRequestBuilder.java | 29 +- ...okWorksheetProtectionUnprotectRequest.java | 28 +- ...heetProtectionUnprotectRequestBuilder.java | 22 +- .../IWorkbookWorksheetRangeRequest.java | 79 +- ...IWorkbookWorksheetRangeRequestBuilder.java | 22 +- .../extensions/IWorkbookWorksheetRequest.java | 89 +- .../IWorkbookWorksheetRequestBuilder.java | 66 +- .../IWorkbookWorksheetUsedRangeRequest.java | 79 +- ...kbookWorksheetUsedRangeRequestBuilder.java | 22 +- ...eClassificationOverrideCollectionPage.java | 20 +- ...assificationOverrideCollectionRequest.java | 102 +- ...ationOverrideCollectionRequestBuilder.java | 32 +- ...ssificationOverrideCollectionResponse.java | 90 + ...nferenceClassificationOverrideRequest.java | 119 +- ...eClassificationOverrideRequestBuilder.java | 31 +- .../InferenceClassificationRequest.java | 119 +- ...InferenceClassificationRequestBuilder.java | 42 +- .../extensions/InvitationCollectionPage.java | 20 +- .../InvitationCollectionRequest.java | 102 +- .../InvitationCollectionRequestBuilder.java | 32 +- .../InvitationCollectionResponse.java | 90 + .../extensions/InvitationRequest.java | 119 +- .../extensions/InvitationRequestBuilder.java | 42 +- .../IosCertificateProfileRequest.java | 119 +- .../IosCertificateProfileRequestBuilder.java | 31 +- .../IosCompliancePolicyRequest.java | 119 +- .../IosCompliancePolicyRequestBuilder.java | 31 +- .../IosCustomConfigurationRequest.java | 119 +- .../IosCustomConfigurationRequestBuilder.java | 31 +- ...IosDeviceFeaturesConfigurationRequest.java | 119 +- ...ceFeaturesConfigurationRequestBuilder.java | 31 +- .../IosGeneralDeviceConfigurationRequest.java | 119 +- ...eralDeviceConfigurationRequestBuilder.java | 31 +- .../requests/extensions/IosLobAppRequest.java | 119 +- .../extensions/IosLobAppRequestBuilder.java | 31 +- ...IosManagedAppProtectionCollectionPage.java | 20 +- ...ManagedAppProtectionCollectionRequest.java | 102 +- ...AppProtectionCollectionRequestBuilder.java | 32 +- ...anagedAppProtectionCollectionResponse.java | 90 + .../IosManagedAppProtectionRequest.java | 119 +- ...IosManagedAppProtectionRequestBuilder.java | 53 +- .../IosManagedAppRegistrationRequest.java | 119 +- ...sManagedAppRegistrationRequestBuilder.java | 31 +- .../IosMobileAppConfigurationRequest.java | 119 +- ...sMobileAppConfigurationRequestBuilder.java | 31 +- .../extensions/IosStoreAppRequest.java | 119 +- .../extensions/IosStoreAppRequestBuilder.java | 31 +- .../IosUpdateConfigurationRequest.java | 119 +- .../IosUpdateConfigurationRequestBuilder.java | 31 +- .../IosUpdateDeviceStatusCollectionPage.java | 20 +- ...osUpdateDeviceStatusCollectionRequest.java | 102 +- ...eDeviceStatusCollectionRequestBuilder.java | 32 +- ...sUpdateDeviceStatusCollectionResponse.java | 90 + .../IosUpdateDeviceStatusRequest.java | 119 +- .../IosUpdateDeviceStatusRequestBuilder.java | 31 +- .../requests/extensions/IosVppAppRequest.java | 119 +- .../extensions/IosVppAppRequestBuilder.java | 31 +- .../IosVppEBookAssignmentRequest.java | 119 +- .../IosVppEBookAssignmentRequestBuilder.java | 31 +- .../extensions/IosVppEBookRequest.java | 119 +- .../extensions/IosVppEBookRequestBuilder.java | 31 +- .../extensions/ItemAttachmentRequest.java | 119 +- .../ItemAttachmentRequestBuilder.java | 42 +- .../LicenseDetailsCollectionPage.java | 20 +- .../LicenseDetailsCollectionRequest.java | 102 +- ...icenseDetailsCollectionRequestBuilder.java | 32 +- .../LicenseDetailsCollectionResponse.java | 90 + .../extensions/LicenseDetailsRequest.java | 119 +- .../LicenseDetailsRequestBuilder.java | 31 +- .../extensions/ListCollectionPage.java | 20 +- .../extensions/ListCollectionRequest.java | 102 +- .../ListCollectionRequestBuilder.java | 32 +- .../extensions/ListCollectionResponse.java | 90 + .../extensions/ListItemCollectionPage.java | 20 +- .../extensions/ListItemCollectionRequest.java | 102 +- .../ListItemCollectionRequestBuilder.java | 32 +- .../ListItemCollectionResponse.java | 90 + .../requests/extensions/ListItemRequest.java | 119 +- .../extensions/ListItemRequestBuilder.java | 64 +- .../ListItemVersionCollectionPage.java | 20 +- .../ListItemVersionCollectionRequest.java | 102 +- ...stItemVersionCollectionRequestBuilder.java | 32 +- .../ListItemVersionCollectionResponse.java | 90 + .../extensions/ListItemVersionRequest.java | 119 +- .../ListItemVersionRequestBuilder.java | 48 +- .../ListItemVersionRestoreVersionRequest.java | 44 +- ...emVersionRestoreVersionRequestBuilder.java | 36 +- .../requests/extensions/ListRequest.java | 119 +- .../extensions/ListRequestBuilder.java | 75 +- ...izedNotificationMessageCollectionPage.java | 20 +- ...dNotificationMessageCollectionRequest.java | 102 +- ...cationMessageCollectionRequestBuilder.java | 32 +- ...NotificationMessageCollectionResponse.java | 90 + .../LocalizedNotificationMessageRequest.java | 119 +- ...izedNotificationMessageRequestBuilder.java | 31 +- .../MacOSCompliancePolicyRequest.java | 119 +- .../MacOSCompliancePolicyRequestBuilder.java | 31 +- .../MacOSCustomConfigurationRequest.java | 119 +- ...acOSCustomConfigurationRequestBuilder.java | 31 +- ...cOSDeviceFeaturesConfigurationRequest.java | 119 +- ...ceFeaturesConfigurationRequestBuilder.java | 31 +- ...acOSGeneralDeviceConfigurationRequest.java | 119 +- ...eralDeviceConfigurationRequestBuilder.java | 31 +- .../MacOSOfficeSuiteAppRequest.java | 119 +- .../MacOSOfficeSuiteAppRequestBuilder.java | 31 +- .../extensions/MailFolderCollectionPage.java | 20 +- .../MailFolderCollectionRequest.java | 102 +- .../MailFolderCollectionRequestBuilder.java | 40 +- .../MailFolderCollectionResponse.java | 90 + .../extensions/MailFolderCopyRequest.java | 60 +- .../MailFolderCopyRequestBuilder.java | 43 +- .../MailFolderDeltaCollectionPage.java | 50 +- .../MailFolderDeltaCollectionRequest.java | 90 +- ...ilFolderDeltaCollectionRequestBuilder.java | 35 +- .../MailFolderDeltaCollectionResponse.java | 91 + .../extensions/MailFolderMoveRequest.java | 60 +- .../MailFolderMoveRequestBuilder.java | 43 +- .../extensions/MailFolderRequest.java | 119 +- .../extensions/MailFolderRequestBuilder.java | 98 +- .../ManagedAndroidLobAppRequest.java | 119 +- .../ManagedAndroidLobAppRequestBuilder.java | 31 +- .../ManagedAndroidStoreAppRequest.java | 119 +- .../ManagedAndroidStoreAppRequestBuilder.java | 31 +- .../ManagedAppConfigurationRequest.java | 119 +- ...ManagedAppConfigurationRequestBuilder.java | 31 +- .../ManagedAppOperationCollectionPage.java | 20 +- .../ManagedAppOperationCollectionRequest.java | 102 +- ...dAppOperationCollectionRequestBuilder.java | 32 +- ...ManagedAppOperationCollectionResponse.java | 90 + .../ManagedAppOperationRequest.java | 119 +- .../ManagedAppOperationRequestBuilder.java | 31 +- .../ManagedAppPolicyCollectionPage.java | 20 +- .../ManagedAppPolicyCollectionRequest.java | 102 +- ...agedAppPolicyCollectionRequestBuilder.java | 32 +- .../ManagedAppPolicyCollectionResponse.java | 90 + ...agedAppPolicyDeploymentSummaryRequest.java | 119 +- ...PolicyDeploymentSummaryRequestBuilder.java | 31 +- .../extensions/ManagedAppPolicyRequest.java | 119 +- .../ManagedAppPolicyRequestBuilder.java | 38 +- .../ManagedAppPolicyTargetAppsRequest.java | 59 +- ...agedAppPolicyTargetAppsRequestBuilder.java | 45 +- .../ManagedAppProtectionRequest.java | 119 +- .../ManagedAppProtectionRequestBuilder.java | 38 +- ...ManagedAppProtectionTargetAppsRequest.java | 59 +- ...AppProtectionTargetAppsRequestBuilder.java | 45 +- .../ManagedAppRegistrationCollectionPage.java | 20 +- ...egistrationCollectionReferenceRequest.java | 78 +- ...tionCollectionReferenceRequestBuilder.java | 26 +- ...nagedAppRegistrationCollectionRequest.java | 102 +- ...pRegistrationCollectionRequestBuilder.java | 36 +- ...agedAppRegistrationCollectionResponse.java | 90 + ...istrationCollectionWithReferencesPage.java | 28 +- ...rationCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- ...hFlaggedAppRegistrationCollectionPage.java | 30 +- ...aggedAppRegistrationCollectionRequest.java | 90 +- ...pRegistrationCollectionRequestBuilder.java | 35 +- ...ggedAppRegistrationCollectionResponse.java | 84 + ...anagedAppRegistrationReferenceRequest.java | 72 +- ...ppRegistrationReferenceRequestBuilder.java | 38 +- .../ManagedAppRegistrationRequest.java | 119 +- .../ManagedAppRegistrationRequestBuilder.java | 64 +- ...edAppRegistrationWithReferenceRequest.java | 81 +- ...gistrationWithReferenceRequestBuilder.java | 42 +- .../extensions/ManagedAppRequest.java | 119 +- .../extensions/ManagedAppRequestBuilder.java | 31 +- .../ManagedAppStatusCollectionPage.java | 20 +- .../ManagedAppStatusCollectionRequest.java | 102 +- ...agedAppStatusCollectionRequestBuilder.java | 32 +- .../ManagedAppStatusCollectionResponse.java | 90 + .../ManagedAppStatusRawRequest.java | 119 +- .../ManagedAppStatusRawRequestBuilder.java | 31 +- .../extensions/ManagedAppStatusRequest.java | 119 +- .../ManagedAppStatusRequestBuilder.java | 31 +- ...agedDeviceBypassActivationLockRequest.java | 44 +- ...iceBypassActivationLockRequestBuilder.java | 36 +- ...anagedDeviceCleanWindowsDeviceRequest.java | 59 +- ...eviceCleanWindowsDeviceRequestBuilder.java | 43 +- .../ManagedDeviceCollectionPage.java | 20 +- ...nagedDeviceCollectionReferenceRequest.java | 78 +- ...viceCollectionReferenceRequestBuilder.java | 26 +- .../ManagedDeviceCollectionRequest.java | 102 +- ...ManagedDeviceCollectionRequestBuilder.java | 32 +- .../ManagedDeviceCollectionResponse.java | 90 + ...gedDeviceCollectionWithReferencesPage.java | 28 +- ...DeviceCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- ...eleteUserFromSharedAppleDeviceRequest.java | 59 +- ...erFromSharedAppleDeviceRequestBuilder.java | 43 +- .../ManagedDeviceDisableLostModeRequest.java | 44 +- ...edDeviceDisableLostModeRequestBuilder.java | 36 +- .../ManagedDeviceLocateDeviceRequest.java | 44 +- ...nagedDeviceLocateDeviceRequestBuilder.java | 36 +- ...outSharedAppleDeviceActiveUserRequest.java | 44 +- ...edAppleDeviceActiveUserRequestBuilder.java | 36 +- ...ceMobileAppConfigurationAssignRequest.java | 59 +- ...eAppConfigurationAssignRequestBuilder.java | 45 +- ...ConfigurationAssignmentCollectionPage.java | 20 +- ...figurationAssignmentCollectionRequest.java | 102 +- ...ionAssignmentCollectionRequestBuilder.java | 32 +- ...igurationAssignmentCollectionResponse.java | 90 + ...bileAppConfigurationAssignmentRequest.java | 119 +- ...ConfigurationAssignmentRequestBuilder.java | 31 +- ...eMobileAppConfigurationCollectionPage.java | 20 +- ...bileAppConfigurationCollectionRequest.java | 102 +- ...ConfigurationCollectionRequestBuilder.java | 32 +- ...ileAppConfigurationCollectionResponse.java | 90 + ...nfigurationDeviceStatusCollectionPage.java | 20 +- ...gurationDeviceStatusCollectionRequest.java | 102 +- ...nDeviceStatusCollectionRequestBuilder.java | 32 +- ...urationDeviceStatusCollectionResponse.java | 90 + ...leAppConfigurationDeviceStatusRequest.java | 119 +- ...nfigurationDeviceStatusRequestBuilder.java | 31 +- ...eAppConfigurationDeviceSummaryRequest.java | 119 +- ...figurationDeviceSummaryRequestBuilder.java | 31 +- ...edDeviceMobileAppConfigurationRequest.java | 132 +- ...eMobileAppConfigurationRequestBuilder.java | 93 +- ...ConfigurationUserStatusCollectionPage.java | 20 +- ...figurationUserStatusCollectionRequest.java | 102 +- ...ionUserStatusCollectionRequestBuilder.java | 32 +- ...igurationUserStatusCollectionResponse.java | 90 + ...bileAppConfigurationUserStatusRequest.java | 119 +- ...ConfigurationUserStatusRequestBuilder.java | 31 +- ...ileAppConfigurationUserSummaryRequest.java | 119 +- ...onfigurationUserSummaryRequestBuilder.java | 31 +- ...ManagedDeviceOverviewReferenceRequest.java | 72 +- ...DeviceOverviewReferenceRequestBuilder.java | 38 +- .../ManagedDeviceOverviewRequest.java | 119 +- .../ManagedDeviceOverviewRequestBuilder.java | 31 +- ...gedDeviceOverviewWithReferenceRequest.java | 81 +- ...ceOverviewWithReferenceRequestBuilder.java | 42 +- .../ManagedDeviceRebootNowRequest.java | 44 +- .../ManagedDeviceRebootNowRequestBuilder.java | 36 +- .../ManagedDeviceRecoverPasscodeRequest.java | 44 +- ...edDeviceRecoverPasscodeRequestBuilder.java | 36 +- .../ManagedDeviceReferenceRequest.java | 72 +- .../ManagedDeviceReferenceRequestBuilder.java | 38 +- .../ManagedDeviceRemoteLockRequest.java | 44 +- ...ManagedDeviceRemoteLockRequestBuilder.java | 36 +- .../extensions/ManagedDeviceRequest.java | 119 +- .../ManagedDeviceRequestBuilder.java | 173 +- ...dDeviceRequestRemoteAssistanceRequest.java | 44 +- ...RequestRemoteAssistanceRequestBuilder.java | 36 +- .../ManagedDeviceResetPasscodeRequest.java | 44 +- ...agedDeviceResetPasscodeRequestBuilder.java | 36 +- .../ManagedDeviceRetireRequest.java | 44 +- .../ManagedDeviceRetireRequestBuilder.java | 36 +- .../ManagedDeviceShutDownRequest.java | 44 +- .../ManagedDeviceShutDownRequestBuilder.java | 36 +- .../ManagedDeviceSyncDeviceRequest.java | 44 +- ...ManagedDeviceSyncDeviceRequestBuilder.java | 36 +- ...viceUpdateWindowsDeviceAccountRequest.java | 59 +- ...ateWindowsDeviceAccountRequestBuilder.java | 45 +- ...nagedDeviceWindowsDefenderScanRequest.java | 59 +- ...viceWindowsDefenderScanRequestBuilder.java | 43 +- ...indowsDefenderUpdateSignaturesRequest.java | 44 +- ...efenderUpdateSignaturesRequestBuilder.java | 36 +- .../extensions/ManagedDeviceWipeRequest.java | 59 +- .../ManagedDeviceWipeRequestBuilder.java | 53 +- .../ManagedDeviceWithReferenceRequest.java | 81 +- ...agedDeviceWithReferenceRequestBuilder.java | 42 +- .../extensions/ManagedEBookAssignRequest.java | 59 +- .../ManagedEBookAssignRequestBuilder.java | 45 +- .../ManagedEBookAssignmentCollectionPage.java | 20 +- ...nagedEBookAssignmentCollectionRequest.java | 102 +- ...ookAssignmentCollectionRequestBuilder.java | 32 +- ...agedEBookAssignmentCollectionResponse.java | 90 + .../ManagedEBookAssignmentRequest.java | 119 +- .../ManagedEBookAssignmentRequestBuilder.java | 31 +- .../ManagedEBookCollectionPage.java | 20 +- .../ManagedEBookCollectionRequest.java | 102 +- .../ManagedEBookCollectionRequestBuilder.java | 32 +- .../ManagedEBookCollectionResponse.java | 90 + .../extensions/ManagedEBookRequest.java | 119 +- .../ManagedEBookRequestBuilder.java | 82 +- .../extensions/ManagedIOSLobAppRequest.java | 119 +- .../ManagedIOSLobAppRequestBuilder.java | 31 +- .../extensions/ManagedIOSStoreAppRequest.java | 119 +- .../ManagedIOSStoreAppRequestBuilder.java | 31 +- .../ManagedMobileAppCollectionPage.java | 20 +- .../ManagedMobileAppCollectionRequest.java | 102 +- ...agedMobileAppCollectionRequestBuilder.java | 32 +- .../ManagedMobileAppCollectionResponse.java | 90 + .../extensions/ManagedMobileAppRequest.java | 119 +- .../ManagedMobileAppRequestBuilder.java | 31 +- .../ManagedMobileLobAppRequest.java | 119 +- .../ManagedMobileLobAppRequestBuilder.java | 42 +- ...rmationProtectionPolicyCollectionPage.java | 20 +- ...tionProtectionPolicyCollectionRequest.java | 102 +- ...tectionPolicyCollectionRequestBuilder.java | 32 +- ...ionProtectionPolicyCollectionResponse.java | 90 + ...owsInformationProtectionPolicyRequest.java | 119 +- ...rmationProtectionPolicyRequestBuilder.java | 31 +- .../extensions/MessageCollectionPage.java | 20 +- .../extensions/MessageCollectionRequest.java | 102 +- .../MessageCollectionRequestBuilder.java | 40 +- .../extensions/MessageCollectionResponse.java | 90 + .../extensions/MessageCopyRequest.java | 60 +- .../extensions/MessageCopyRequestBuilder.java | 43 +- .../MessageCreateForwardRequest.java | 58 +- .../MessageCreateForwardRequestBuilder.java | 36 +- .../MessageCreateReplyAllRequest.java | 58 +- .../MessageCreateReplyAllRequestBuilder.java | 36 +- .../extensions/MessageCreateReplyRequest.java | 58 +- .../MessageCreateReplyRequestBuilder.java | 36 +- .../MessageDeltaCollectionPage.java | 50 +- .../MessageDeltaCollectionRequest.java | 90 +- .../MessageDeltaCollectionRequestBuilder.java | 35 +- .../MessageDeltaCollectionResponse.java | 91 + .../extensions/MessageForwardRequest.java | 59 +- .../MessageForwardRequestBuilder.java | 50 +- .../extensions/MessageMoveRequest.java | 60 +- .../extensions/MessageMoveRequestBuilder.java | 43 +- .../extensions/MessageReplyAllRequest.java | 59 +- .../MessageReplyAllRequestBuilder.java | 43 +- .../extensions/MessageReplyRequest.java | 59 +- .../MessageReplyRequestBuilder.java | 43 +- .../requests/extensions/MessageRequest.java | 119 +- .../extensions/MessageRequestBuilder.java | 130 +- .../extensions/MessageRuleCollectionPage.java | 20 +- .../MessageRuleCollectionRequest.java | 102 +- .../MessageRuleCollectionRequestBuilder.java | 32 +- .../MessageRuleCollectionResponse.java | 90 + .../extensions/MessageRuleRequest.java | 119 +- .../extensions/MessageRuleRequestBuilder.java | 31 +- .../extensions/MessageSendRequest.java | 44 +- .../extensions/MessageSendRequestBuilder.java | 36 +- .../MicrosoftStoreForBusinessAppRequest.java | 119 +- ...softStoreForBusinessAppRequestBuilder.java | 31 +- .../extensions/MobileAppAssignRequest.java | 59 +- .../MobileAppAssignRequestBuilder.java | 45 +- .../MobileAppAssignmentCollectionPage.java | 20 +- .../MobileAppAssignmentCollectionRequest.java | 102 +- ...AppAssignmentCollectionRequestBuilder.java | 32 +- ...MobileAppAssignmentCollectionResponse.java | 90 + .../MobileAppAssignmentRequest.java | 119 +- .../MobileAppAssignmentRequestBuilder.java | 31 +- .../MobileAppCategoryCollectionPage.java | 20 +- ...AppCategoryCollectionReferenceRequest.java | 78 +- ...goryCollectionReferenceRequestBuilder.java | 26 +- .../MobileAppCategoryCollectionRequest.java | 102 +- ...leAppCategoryCollectionRequestBuilder.java | 34 +- .../MobileAppCategoryCollectionResponse.java | 90 + ...pCategoryCollectionWithReferencesPage.java | 28 +- ...tegoryCollectionWithReferencesRequest.java | 70 +- ...ollectionWithReferencesRequestBuilder.java | 34 +- .../MobileAppCategoryReferenceRequest.java | 72 +- ...ileAppCategoryReferenceRequestBuilder.java | 38 +- .../extensions/MobileAppCategoryRequest.java | 119 +- .../MobileAppCategoryRequestBuilder.java | 31 +- ...MobileAppCategoryWithReferenceRequest.java | 81 +- ...ppCategoryWithReferenceRequestBuilder.java | 42 +- .../extensions/MobileAppCollectionPage.java | 20 +- .../MobileAppCollectionRequest.java | 102 +- .../MobileAppCollectionRequestBuilder.java | 32 +- .../MobileAppCollectionResponse.java | 90 + .../MobileAppContentCollectionPage.java | 20 +- .../MobileAppContentCollectionRequest.java | 102 +- ...ileAppContentCollectionRequestBuilder.java | 32 +- .../MobileAppContentCollectionResponse.java | 90 + .../MobileAppContentFileCollectionPage.java | 20 +- ...MobileAppContentFileCollectionRequest.java | 102 +- ...ppContentFileCollectionRequestBuilder.java | 32 +- ...obileAppContentFileCollectionResponse.java | 90 + .../MobileAppContentFileCommitRequest.java | 59 +- ...ileAppContentFileCommitRequestBuilder.java | 45 +- ...obileAppContentFileRenewUploadRequest.java | 44 +- ...pContentFileRenewUploadRequestBuilder.java | 36 +- .../MobileAppContentFileRequest.java | 119 +- .../MobileAppContentFileRequestBuilder.java | 44 +- .../extensions/MobileAppContentRequest.java | 119 +- .../MobileAppContentRequestBuilder.java | 42 +- .../requests/extensions/MobileAppRequest.java | 119 +- .../extensions/MobileAppRequestBuilder.java | 60 +- .../extensions/MobileLobAppRequest.java | 119 +- .../MobileLobAppRequestBuilder.java | 42 +- ...eThreatDefenseConnectorCollectionPage.java | 20 +- ...reatDefenseConnectorCollectionRequest.java | 102 +- ...enseConnectorCollectionRequestBuilder.java | 32 +- ...eatDefenseConnectorCollectionResponse.java | 90 + .../MobileThreatDefenseConnectorRequest.java | 119 +- ...eThreatDefenseConnectorRequestBuilder.java | 31 +- ...eLegacyExtendedPropertyCollectionPage.java | 20 +- ...gacyExtendedPropertyCollectionRequest.java | 102 +- ...endedPropertyCollectionRequestBuilder.java | 32 +- ...acyExtendedPropertyCollectionResponse.java | 90 + ...ltiValueLegacyExtendedPropertyRequest.java | 119 +- ...eLegacyExtendedPropertyRequestBuilder.java | 31 +- .../extensions/NotebookCollectionPage.java | 20 +- .../extensions/NotebookCollectionRequest.java | 102 +- .../NotebookCollectionRequestBuilder.java | 36 +- .../NotebookCollectionResponse.java | 90 + .../NotebookCopyNotebookRequest.java | 60 +- .../NotebookCopyNotebookRequestBuilder.java | 63 +- ...ebookGetRecentNotebooksCollectionPage.java | 30 +- ...okGetRecentNotebooksCollectionRequest.java | 90 +- ...centNotebooksCollectionRequestBuilder.java | 40 +- ...kGetRecentNotebooksCollectionResponse.java | 91 + .../requests/extensions/NotebookRequest.java | 119 +- .../extensions/NotebookRequestBuilder.java | 59 +- ...ficationMessageTemplateCollectionPage.java | 20 +- ...ationMessageTemplateCollectionRequest.java | 102 +- ...ssageTemplateCollectionRequestBuilder.java | 32 +- ...tionMessageTemplateCollectionResponse.java | 90 + .../NotificationMessageTemplateRequest.java | 119 +- ...ficationMessageTemplateRequestBuilder.java | 48 +- ...MessageTemplateSendTestMessageRequest.java | 44 +- ...TemplateSendTestMessageRequestBuilder.java | 36 +- .../OfficeGraphInsightsRequest.java | 119 +- .../OfficeGraphInsightsRequestBuilder.java | 64 +- ...misesConditionalAccessSettingsRequest.java | 119 +- ...nditionalAccessSettingsRequestBuilder.java | 31 +- .../OnenoteEntityBaseModelRequest.java | 119 +- .../OnenoteEntityBaseModelRequestBuilder.java | 31 +- .../OnenoteEntityHierarchyModelRequest.java | 119 +- ...oteEntityHierarchyModelRequestBuilder.java | 31 +- ...OnenoteEntitySchemaObjectModelRequest.java | 119 +- ...EntitySchemaObjectModelRequestBuilder.java | 31 +- .../OnenoteOperationCollectionPage.java | 20 +- .../OnenoteOperationCollectionRequest.java | 102 +- ...noteOperationCollectionRequestBuilder.java | 32 +- .../OnenoteOperationCollectionResponse.java | 90 + .../extensions/OnenoteOperationRequest.java | 119 +- .../OnenoteOperationRequestBuilder.java | 31 +- .../extensions/OnenotePageCollectionPage.java | 20 +- .../OnenotePageCollectionRequest.java | 102 +- .../OnenotePageCollectionRequestBuilder.java | 32 +- .../OnenotePageCollectionResponse.java | 90 + .../OnenotePageCopyToSectionRequest.java | 60 +- ...nenotePageCopyToSectionRequestBuilder.java | 58 +- ...OnenotePageOnenotePatchContentRequest.java | 59 +- ...PageOnenotePatchContentRequestBuilder.java | 45 +- .../extensions/OnenotePagePreviewRequest.java | 58 +- .../OnenotePagePreviewRequestBuilder.java | 40 +- .../extensions/OnenotePageRequest.java | 119 +- .../extensions/OnenotePageRequestBuilder.java | 78 +- .../extensions/OnenotePageStreamRequest.java | 61 +- .../OnenotePageStreamRequestBuilder.java | 31 +- .../requests/extensions/OnenoteRequest.java | 119 +- .../extensions/OnenoteRequestBuilder.java | 97 +- .../OnenoteResourceCollectionPage.java | 20 +- .../OnenoteResourceCollectionRequest.java | 102 +- ...enoteResourceCollectionRequestBuilder.java | 32 +- .../OnenoteResourceCollectionResponse.java | 90 + .../extensions/OnenoteResourceRequest.java | 119 +- .../OnenoteResourceRequestBuilder.java | 37 +- .../OnenoteResourceStreamRequest.java | 61 +- .../OnenoteResourceStreamRequestBuilder.java | 31 +- .../OnenoteSectionCollectionPage.java | 20 +- .../OnenoteSectionCollectionRequest.java | 102 +- ...nenoteSectionCollectionRequestBuilder.java | 32 +- .../OnenoteSectionCollectionResponse.java | 90 + .../OnenoteSectionCopyToNotebookRequest.java | 60 +- ...teSectionCopyToNotebookRequestBuilder.java | 63 +- ...enoteSectionCopyToSectionGroupRequest.java | 60 +- ...ctionCopyToSectionGroupRequestBuilder.java | 63 +- .../extensions/OnenoteSectionRequest.java | 119 +- .../OnenoteSectionRequestBuilder.java | 76 +- .../extensions/OpenTypeExtensionRequest.java | 119 +- .../OpenTypeExtensionRequestBuilder.java | 31 +- .../requests/extensions/OperationRequest.java | 119 +- .../extensions/OperationRequestBuilder.java | 31 +- .../OrganizationCollectionPage.java | 20 +- .../OrganizationCollectionRequest.java | 102 +- .../OrganizationCollectionRequestBuilder.java | 32 +- .../OrganizationCollectionResponse.java | 90 + .../extensions/OrganizationRequest.java | 119 +- .../OrganizationRequestBuilder.java | 48 +- ...obileDeviceManagementAuthorityRequest.java | 57 +- ...viceManagementAuthorityRequestBuilder.java | 36 +- .../OutlookCategoryCollectionPage.java | 20 +- .../OutlookCategoryCollectionRequest.java | 102 +- ...tlookCategoryCollectionRequestBuilder.java | 32 +- .../OutlookCategoryCollectionResponse.java | 90 + .../extensions/OutlookCategoryRequest.java | 119 +- .../OutlookCategoryRequestBuilder.java | 31 +- .../extensions/OutlookItemRequest.java | 119 +- .../extensions/OutlookItemRequestBuilder.java | 31 +- .../extensions/OutlookUserRequest.java | 119 +- .../extensions/OutlookUserRequestBuilder.java | 61 +- ...kUserSupportedLanguagesCollectionPage.java | 30 +- ...erSupportedLanguagesCollectionRequest.java | 90 +- ...rtedLanguagesCollectionRequestBuilder.java | 35 +- ...rSupportedLanguagesCollectionResponse.java | 91 + ...kUserSupportedTimeZonesCollectionPage.java | 30 +- ...erSupportedTimeZonesCollectionRequest.java | 90 +- ...rtedTimeZonesCollectionRequestBuilder.java | 42 +- ...rSupportedTimeZonesCollectionResponse.java | 91 + .../extensions/PermissionCollectionPage.java | 20 +- .../PermissionCollectionRequest.java | 102 +- .../PermissionCollectionRequestBuilder.java | 32 +- .../PermissionCollectionResponse.java | 90 + .../extensions/PermissionRequest.java | 119 +- .../extensions/PermissionRequestBuilder.java | 31 +- .../extensions/PersonCollectionPage.java | 20 +- .../extensions/PersonCollectionRequest.java | 102 +- .../PersonCollectionRequestBuilder.java | 32 +- .../extensions/PersonCollectionResponse.java | 90 + .../requests/extensions/PersonRequest.java | 119 +- .../extensions/PersonRequestBuilder.java | 31 +- ...rAssignedToTaskBoardTaskFormatRequest.java | 119 +- ...edToTaskBoardTaskFormatRequestBuilder.java | 31 +- .../PlannerBucketCollectionPage.java | 20 +- .../PlannerBucketCollectionRequest.java | 102 +- ...PlannerBucketCollectionRequestBuilder.java | 32 +- .../PlannerBucketCollectionResponse.java | 90 + .../extensions/PlannerBucketRequest.java | 119 +- .../PlannerBucketRequestBuilder.java | 42 +- ...annerBucketTaskBoardTaskFormatRequest.java | 119 +- ...cketTaskBoardTaskFormatRequestBuilder.java | 31 +- .../extensions/PlannerGroupRequest.java | 119 +- .../PlannerGroupRequestBuilder.java | 42 +- .../extensions/PlannerPlanCollectionPage.java | 20 +- .../PlannerPlanCollectionRequest.java | 102 +- .../PlannerPlanCollectionRequestBuilder.java | 32 +- .../PlannerPlanCollectionResponse.java | 90 + .../extensions/PlannerPlanDetailsRequest.java | 119 +- .../PlannerPlanDetailsRequestBuilder.java | 31 +- .../extensions/PlannerPlanRequest.java | 119 +- .../extensions/PlannerPlanRequestBuilder.java | 64 +- ...nerProgressTaskBoardTaskFormatRequest.java | 119 +- ...ressTaskBoardTaskFormatRequestBuilder.java | 31 +- .../requests/extensions/PlannerRequest.java | 119 +- .../extensions/PlannerRequestBuilder.java | 64 +- .../extensions/PlannerTaskCollectionPage.java | 20 +- .../PlannerTaskCollectionRequest.java | 102 +- .../PlannerTaskCollectionRequestBuilder.java | 32 +- .../PlannerTaskCollectionResponse.java | 90 + .../extensions/PlannerTaskDetailsRequest.java | 119 +- .../PlannerTaskDetailsRequestBuilder.java | 31 +- .../extensions/PlannerTaskRequest.java | 119 +- .../extensions/PlannerTaskRequestBuilder.java | 75 +- .../extensions/PlannerUserRequest.java | 119 +- .../extensions/PlannerUserRequestBuilder.java | 53 +- .../extensions/PostCollectionPage.java | 20 +- .../extensions/PostCollectionRequest.java | 102 +- .../PostCollectionRequestBuilder.java | 32 +- .../extensions/PostCollectionResponse.java | 90 + .../extensions/PostForwardRequest.java | 59 +- .../extensions/PostForwardRequestBuilder.java | 50 +- .../requests/extensions/PostReplyRequest.java | 59 +- .../extensions/PostReplyRequestBuilder.java | 45 +- .../requests/extensions/PostRequest.java | 119 +- .../extensions/PostRequestBuilder.java | 100 +- .../ProfilePhotoCollectionPage.java | 20 +- .../ProfilePhotoCollectionRequest.java | 102 +- .../ProfilePhotoCollectionRequestBuilder.java | 32 +- .../ProfilePhotoCollectionResponse.java | 90 + .../extensions/ProfilePhotoRequest.java | 119 +- .../ProfilePhotoRequestBuilder.java | 37 +- .../extensions/ProfilePhotoStreamRequest.java | 61 +- .../ProfilePhotoStreamRequestBuilder.java | 39 +- .../ReferenceAttachmentRequest.java | 119 +- .../ReferenceAttachmentRequestBuilder.java | 31 +- ...sistancePartnerBeginOnboardingRequest.java | 44 +- ...ePartnerBeginOnboardingRequestBuilder.java | 36 +- ...RemoteAssistancePartnerCollectionPage.java | 20 +- ...oteAssistancePartnerCollectionRequest.java | 102 +- ...stancePartnerCollectionRequestBuilder.java | 32 +- ...teAssistancePartnerCollectionResponse.java | 90 + ...oteAssistancePartnerDisconnectRequest.java | 44 +- ...stancePartnerDisconnectRequestBuilder.java | 36 +- .../RemoteAssistancePartnerRequest.java | 119 +- ...RemoteAssistancePartnerRequestBuilder.java | 43 +- ...iceConfigurationDeviceActivityRequest.java | 98 +- ...igurationDeviceActivityRequestBuilder.java | 40 +- ...eviceConfigurationUserActivityRequest.java | 98 +- ...nfigurationUserActivityRequestBuilder.java | 40 +- ...portRootGetEmailActivityCountsRequest.java | 98 +- ...tGetEmailActivityCountsRequestBuilder.java | 43 +- ...RootGetEmailActivityUserCountsRequest.java | 98 +- ...EmailActivityUserCountsRequestBuilder.java | 43 +- ...RootGetEmailActivityUserDetailRequest.java | 98 +- ...EmailActivityUserDetailRequestBuilder.java | 47 +- ...GetEmailAppUsageAppsUserCountsRequest.java | 98 +- ...lAppUsageAppsUserCountsRequestBuilder.java | 43 +- ...RootGetEmailAppUsageUserCountsRequest.java | 98 +- ...EmailAppUsageUserCountsRequestBuilder.java | 43 +- ...RootGetEmailAppUsageUserDetailRequest.java | 98 +- ...EmailAppUsageUserDetailRequestBuilder.java | 47 +- ...mailAppUsageVersionsUserCountsRequest.java | 98 +- ...UsageVersionsUserCountsRequestBuilder.java | 43 +- ...eportRootGetMailboxUsageDetailRequest.java | 98 +- ...otGetMailboxUsageDetailRequestBuilder.java | 43 +- ...otGetMailboxUsageMailboxCountsRequest.java | 98 +- ...ilboxUsageMailboxCountsRequestBuilder.java | 43 +- ...xUsageQuotaStatusMailboxCountsRequest.java | 98 +- ...uotaStatusMailboxCountsRequestBuilder.java | 43 +- ...portRootGetMailboxUsageStorageRequest.java | 98 +- ...tGetMailboxUsageStorageRequestBuilder.java | 43 +- ...otGetOffice365ActivationCountsRequest.java | 98 +- ...fice365ActivationCountsRequestBuilder.java | 40 +- ...Office365ActivationsUserCountsRequest.java | 98 +- ...65ActivationsUserCountsRequestBuilder.java | 40 +- ...Office365ActivationsUserDetailRequest.java | 98 +- ...65ActivationsUserDetailRequestBuilder.java | 40 +- ...otGetOffice365ActiveUserCountsRequest.java | 98 +- ...fice365ActiveUserCountsRequestBuilder.java | 43 +- ...otGetOffice365ActiveUserDetailRequest.java | 98 +- ...fice365ActiveUserDetailRequestBuilder.java | 47 +- ...tOffice365GroupsActivityCountsRequest.java | 98 +- ...365GroupsActivityCountsRequestBuilder.java | 43 +- ...tOffice365GroupsActivityDetailRequest.java | 98 +- ...365GroupsActivityDetailRequestBuilder.java | 47 +- ...ice365GroupsActivityFileCountsRequest.java | 98 +- ...roupsActivityFileCountsRequestBuilder.java | 43 +- ...ce365GroupsActivityGroupCountsRequest.java | 98 +- ...oupsActivityGroupCountsRequestBuilder.java | 43 +- ...Office365GroupsActivityStorageRequest.java | 98 +- ...65GroupsActivityStorageRequestBuilder.java | 43 +- ...GetOffice365ServicesUserCountsRequest.java | 98 +- ...ce365ServicesUserCountsRequestBuilder.java | 43 +- ...tGetOneDriveActivityFileCountsRequest.java | 98 +- ...DriveActivityFileCountsRequestBuilder.java | 43 +- ...tGetOneDriveActivityUserCountsRequest.java | 98 +- ...DriveActivityUserCountsRequestBuilder.java | 43 +- ...tGetOneDriveActivityUserDetailRequest.java | 98 +- ...DriveActivityUserDetailRequestBuilder.java | 47 +- ...tGetOneDriveUsageAccountCountsRequest.java | 98 +- ...DriveUsageAccountCountsRequestBuilder.java | 43 +- ...tGetOneDriveUsageAccountDetailRequest.java | 98 +- ...DriveUsageAccountDetailRequestBuilder.java | 47 +- ...RootGetOneDriveUsageFileCountsRequest.java | 98 +- ...OneDriveUsageFileCountsRequestBuilder.java | 43 +- ...ortRootGetOneDriveUsageStorageRequest.java | 98 +- ...GetOneDriveUsageStorageRequestBuilder.java | 43 +- ...etSharePointActivityFileCountsRequest.java | 98 +- ...PointActivityFileCountsRequestBuilder.java | 43 +- ...RootGetSharePointActivityPagesRequest.java | 98 +- ...SharePointActivityPagesRequestBuilder.java | 43 +- ...etSharePointActivityUserCountsRequest.java | 98 +- ...PointActivityUserCountsRequestBuilder.java | 43 +- ...etSharePointActivityUserDetailRequest.java | 98 +- ...PointActivityUserDetailRequestBuilder.java | 47 +- ...otGetSharePointSiteUsageDetailRequest.java | 98 +- ...arePointSiteUsageDetailRequestBuilder.java | 47 +- ...tSharePointSiteUsageFileCountsRequest.java | 98 +- ...ointSiteUsageFileCountsRequestBuilder.java | 43 +- ...ootGetSharePointSiteUsagePagesRequest.java | 98 +- ...harePointSiteUsagePagesRequestBuilder.java | 43 +- ...tSharePointSiteUsageSiteCountsRequest.java | 98 +- ...ointSiteUsageSiteCountsRequestBuilder.java | 43 +- ...tGetSharePointSiteUsageStorageRequest.java | 98 +- ...rePointSiteUsageStorageRequestBuilder.java | 43 +- ...SkypeForBusinessActivityCountsRequest.java | 98 +- ...rBusinessActivityCountsRequestBuilder.java | 43 +- ...eForBusinessActivityUserCountsRequest.java | 98 +- ...inessActivityUserCountsRequestBuilder.java | 43 +- ...eForBusinessActivityUserDetailRequest.java | 98 +- ...inessActivityUserDetailRequestBuilder.java | 47 +- ...iceUsageDistributionUserCountsRequest.java | 98 +- ...eDistributionUserCountsRequestBuilder.java | 43 +- ...rBusinessDeviceUsageUserCountsRequest.java | 98 +- ...ssDeviceUsageUserCountsRequestBuilder.java | 43 +- ...rBusinessDeviceUsageUserDetailRequest.java | 98 +- ...ssDeviceUsageUserDetailRequestBuilder.java | 47 +- ...usinessOrganizerActivityCountsRequest.java | 98 +- ...OrganizerActivityCountsRequestBuilder.java | 43 +- ...sOrganizerActivityMinuteCountsRequest.java | 98 +- ...zerActivityMinuteCountsRequestBuilder.java | 43 +- ...essOrganizerActivityUserCountsRequest.java | 98 +- ...nizerActivityUserCountsRequestBuilder.java | 43 +- ...inessParticipantActivityCountsRequest.java | 98 +- ...rticipantActivityCountsRequestBuilder.java | 43 +- ...articipantActivityMinuteCountsRequest.java | 98 +- ...antActivityMinuteCountsRequestBuilder.java | 43 +- ...sParticipantActivityUserCountsRequest.java | 98 +- ...ipantActivityUserCountsRequestBuilder.java | 43 +- ...sinessPeerToPeerActivityCountsRequest.java | 98 +- ...eerToPeerActivityCountsRequestBuilder.java | 43 +- ...PeerToPeerActivityMinuteCountsRequest.java | 98 +- ...eerActivityMinuteCountsRequestBuilder.java | 43 +- ...ssPeerToPeerActivityUserCountsRequest.java | 98 +- ...oPeerActivityUserCountsRequestBuilder.java | 43 +- ...iceUsageDistributionUserCountsRequest.java | 98 +- ...eDistributionUserCountsRequestBuilder.java | 43 +- ...tGetTeamsDeviceUsageUserCountsRequest.java | 98 +- ...msDeviceUsageUserCountsRequestBuilder.java | 43 +- ...tGetTeamsDeviceUsageUserDetailRequest.java | 98 +- ...msDeviceUsageUserDetailRequestBuilder.java | 47 +- ...RootGetTeamsUserActivityCountsRequest.java | 98 +- ...TeamsUserActivityCountsRequestBuilder.java | 43 +- ...GetTeamsUserActivityUserCountsRequest.java | 98 +- ...sUserActivityUserCountsRequestBuilder.java | 43 +- ...GetTeamsUserActivityUserDetailRequest.java | 98 +- ...sUserActivityUserDetailRequestBuilder.java | 47 +- ...ortRootGetYammerActivityCountsRequest.java | 98 +- ...GetYammerActivityCountsRequestBuilder.java | 43 +- ...ootGetYammerActivityUserCountsRequest.java | 98 +- ...ammerActivityUserCountsRequestBuilder.java | 43 +- ...ootGetYammerActivityUserDetailRequest.java | 98 +- ...ammerActivityUserDetailRequestBuilder.java | 47 +- ...iceUsageDistributionUserCountsRequest.java | 98 +- ...eDistributionUserCountsRequestBuilder.java | 43 +- ...GetYammerDeviceUsageUserCountsRequest.java | 98 +- ...erDeviceUsageUserCountsRequestBuilder.java | 43 +- ...GetYammerDeviceUsageUserDetailRequest.java | 98 +- ...erDeviceUsageUserDetailRequestBuilder.java | 47 +- ...tGetYammerGroupsActivityCountsRequest.java | 98 +- ...merGroupsActivityCountsRequestBuilder.java | 43 +- ...tGetYammerGroupsActivityDetailRequest.java | 98 +- ...merGroupsActivityDetailRequestBuilder.java | 47 +- ...ammerGroupsActivityGroupCountsRequest.java | 98 +- ...oupsActivityGroupCountsRequestBuilder.java | 43 +- ...DeviceEnrollmentFailureDetailsRequest.java | 58 +- ...nrollmentFailureDetailsRequestBuilder.java | 47 +- ...gedDeviceEnrollmentTopFailuresRequest.java | 58 +- ...ceEnrollmentTopFailuresRequestBuilder.java | 44 +- .../extensions/ReportRootRequest.java | 119 +- .../extensions/ReportRootRequestBuilder.java | 565 ++++- .../extensions/ReportStreamRequest.java | 61 +- .../ReportStreamRequestBuilder.java | 31 +- .../ResourceOperationCollectionPage.java | 20 +- .../ResourceOperationCollectionRequest.java | 102 +- ...urceOperationCollectionRequestBuilder.java | 32 +- .../ResourceOperationCollectionResponse.java | 90 + .../extensions/ResourceOperationRequest.java | 119 +- .../ResourceOperationRequestBuilder.java | 31 +- .../RoleAssignmentCollectionPage.java | 20 +- .../RoleAssignmentCollectionRequest.java | 102 +- ...oleAssignmentCollectionRequestBuilder.java | 32 +- .../RoleAssignmentCollectionResponse.java | 90 + .../extensions/RoleAssignmentRequest.java | 119 +- .../RoleAssignmentRequestBuilder.java | 42 +- .../RoleDefinitionCollectionPage.java | 20 +- .../RoleDefinitionCollectionRequest.java | 102 +- ...oleDefinitionCollectionRequestBuilder.java | 32 +- .../RoleDefinitionCollectionResponse.java | 90 + .../RoleDefinitionReferenceRequest.java | 72 +- ...RoleDefinitionReferenceRequestBuilder.java | 38 +- .../extensions/RoleDefinitionRequest.java | 119 +- .../RoleDefinitionRequestBuilder.java | 42 +- .../RoleDefinitionWithReferenceRequest.java | 81 +- ...DefinitionWithReferenceRequestBuilder.java | 42 +- .../SchemaExtensionCollectionPage.java | 20 +- .../SchemaExtensionCollectionRequest.java | 102 +- ...hemaExtensionCollectionRequestBuilder.java | 32 +- .../SchemaExtensionCollectionResponse.java | 90 + .../extensions/SchemaExtensionRequest.java | 119 +- .../SchemaExtensionRequestBuilder.java | 31 +- .../SectionGroupCollectionPage.java | 20 +- .../SectionGroupCollectionRequest.java | 102 +- .../SectionGroupCollectionRequestBuilder.java | 32 +- .../SectionGroupCollectionResponse.java | 90 + .../extensions/SectionGroupRequest.java | 119 +- .../SectionGroupRequestBuilder.java | 75 +- .../requests/extensions/SecurityRequest.java | 119 +- .../extensions/SecurityRequestBuilder.java | 42 +- ...ttingStateDeviceSummaryCollectionPage.java | 20 +- ...ngStateDeviceSummaryCollectionRequest.java | 102 +- ...DeviceSummaryCollectionRequestBuilder.java | 32 +- ...gStateDeviceSummaryCollectionResponse.java | 90 + .../SettingStateDeviceSummaryRequest.java | 119 +- ...ttingStateDeviceSummaryRequestBuilder.java | 31 +- .../SharedDriveItemCollectionPage.java | 20 +- .../SharedDriveItemCollectionRequest.java | 102 +- ...aredDriveItemCollectionRequestBuilder.java | 32 +- .../SharedDriveItemCollectionResponse.java | 90 + .../extensions/SharedDriveItemRequest.java | 119 +- .../SharedDriveItemRequestBuilder.java | 97 +- .../SharedInsightCollectionPage.java | 20 +- .../SharedInsightCollectionRequest.java | 102 +- ...SharedInsightCollectionRequestBuilder.java | 32 +- .../SharedInsightCollectionResponse.java | 90 + .../extensions/SharedInsightRequest.java | 119 +- .../SharedInsightRequestBuilder.java | 53 +- .../SharedPCConfigurationRequest.java | 119 +- .../SharedPCConfigurationRequestBuilder.java | 31 +- ...eLegacyExtendedPropertyCollectionPage.java | 20 +- ...gacyExtendedPropertyCollectionRequest.java | 102 +- ...endedPropertyCollectionRequestBuilder.java | 32 +- ...acyExtendedPropertyCollectionResponse.java | 90 + ...gleValueLegacyExtendedPropertyRequest.java | 119 +- ...eLegacyExtendedPropertyRequestBuilder.java | 31 +- .../extensions/SiteCollectionPage.java | 20 +- .../extensions/SiteCollectionRequest.java | 102 +- .../SiteCollectionRequestBuilder.java | 32 +- .../extensions/SiteCollectionResponse.java | 90 + .../extensions/SiteGetByPathRequest.java | 98 +- .../SiteGetByPathRequestBuilder.java | 43 +- .../requests/extensions/SiteRequest.java | 119 +- .../extensions/SiteRequestBuilder.java | 125 +- ...reUpdateStatusSummaryReferenceRequest.java | 72 +- ...eStatusSummaryReferenceRequestBuilder.java | 38 +- .../SoftwareUpdateStatusSummaryRequest.java | 119 +- ...wareUpdateStatusSummaryRequestBuilder.java | 31 +- ...dateStatusSummaryWithReferenceRequest.java | 81 +- ...tusSummaryWithReferenceRequestBuilder.java | 42 +- .../SubscribedSkuCollectionPage.java | 20 +- .../SubscribedSkuCollectionRequest.java | 102 +- ...SubscribedSkuCollectionRequestBuilder.java | 32 +- .../SubscribedSkuCollectionResponse.java | 90 + .../extensions/SubscribedSkuRequest.java | 119 +- .../SubscribedSkuRequestBuilder.java | 31 +- .../SubscriptionCollectionPage.java | 20 +- .../SubscriptionCollectionRequest.java | 102 +- .../SubscriptionCollectionRequestBuilder.java | 32 +- .../SubscriptionCollectionResponse.java | 90 + .../extensions/SubscriptionRequest.java | 119 +- .../SubscriptionRequestBuilder.java | 31 +- ...dManagedAppConfigurationAssignRequest.java | 59 +- ...dAppConfigurationAssignRequestBuilder.java | 45 +- ...ManagedAppConfigurationCollectionPage.java | 20 +- ...agedAppConfigurationCollectionRequest.java | 102 +- ...ConfigurationCollectionRequestBuilder.java | 32 +- ...gedAppConfigurationCollectionResponse.java | 90 + ...argetedManagedAppConfigurationRequest.java | 119 +- ...ManagedAppConfigurationRequestBuilder.java | 78 +- ...agedAppConfigurationTargetAppsRequest.java | 59 +- ...ConfigurationTargetAppsRequestBuilder.java | 45 +- ...agedAppPolicyAssignmentCollectionPage.java | 20 +- ...dAppPolicyAssignmentCollectionRequest.java | 102 +- ...icyAssignmentCollectionRequestBuilder.java | 32 +- ...AppPolicyAssignmentCollectionResponse.java | 90 + ...etedManagedAppPolicyAssignmentRequest.java | 119 +- ...agedAppPolicyAssignmentRequestBuilder.java | 31 +- ...etedManagedAppProtectionAssignRequest.java | 59 +- ...agedAppProtectionAssignRequestBuilder.java | 45 +- .../TargetedManagedAppProtectionRequest.java | 119 +- ...tedManagedAppProtectionRequestBuilder.java | 49 +- .../extensions/TeamArchiveRequest.java | 59 +- .../extensions/TeamArchiveRequestBuilder.java | 43 +- .../requests/extensions/TeamCloneRequest.java | 59 +- .../extensions/TeamCloneRequestBuilder.java | 73 +- .../extensions/TeamCollectionPage.java | 20 +- .../extensions/TeamCollectionRequest.java | 102 +- .../TeamCollectionRequestBuilder.java | 32 +- .../extensions/TeamCollectionResponse.java | 90 + .../requests/extensions/TeamRequest.java | 119 +- .../extensions/TeamRequestBuilder.java | 84 +- .../extensions/TeamUnarchiveRequest.java | 44 +- .../TeamUnarchiveRequestBuilder.java | 36 +- .../extensions/TeamsAppCollectionPage.java | 20 +- .../extensions/TeamsAppCollectionRequest.java | 102 +- .../TeamsAppCollectionRequestBuilder.java | 32 +- .../TeamsAppCollectionResponse.java | 90 + .../TeamsAppDefinitionCollectionPage.java | 20 +- .../TeamsAppDefinitionCollectionRequest.java | 102 +- ...AppDefinitionCollectionRequestBuilder.java | 32 +- .../TeamsAppDefinitionCollectionResponse.java | 90 + .../TeamsAppDefinitionReferenceRequest.java | 72 +- ...sAppDefinitionReferenceRequestBuilder.java | 38 +- .../extensions/TeamsAppDefinitionRequest.java | 119 +- .../TeamsAppDefinitionRequestBuilder.java | 31 +- ...eamsAppDefinitionWithReferenceRequest.java | 81 +- ...DefinitionWithReferenceRequestBuilder.java | 42 +- .../TeamsAppInstallationCollectionPage.java | 20 +- ...TeamsAppInstallationCollectionRequest.java | 102 +- ...pInstallationCollectionRequestBuilder.java | 32 +- ...eamsAppInstallationCollectionResponse.java | 90 + .../TeamsAppInstallationRequest.java | 119 +- .../TeamsAppInstallationRequestBuilder.java | 59 +- .../TeamsAppInstallationUpgradeRequest.java | 44 +- ...sAppInstallationUpgradeRequestBuilder.java | 36 +- .../extensions/TeamsAppReferenceRequest.java | 72 +- .../TeamsAppReferenceRequestBuilder.java | 38 +- .../requests/extensions/TeamsAppRequest.java | 119 +- .../extensions/TeamsAppRequestBuilder.java | 42 +- .../TeamsAppWithReferenceRequest.java | 81 +- .../TeamsAppWithReferenceRequestBuilder.java | 42 +- .../TeamsAsyncOperationCollectionPage.java | 20 +- .../TeamsAsyncOperationCollectionRequest.java | 102 +- ...syncOperationCollectionRequestBuilder.java | 32 +- ...TeamsAsyncOperationCollectionResponse.java | 90 + .../TeamsAsyncOperationRequest.java | 119 +- .../TeamsAsyncOperationRequestBuilder.java | 31 +- .../extensions/TeamsTabCollectionPage.java | 20 +- .../extensions/TeamsTabCollectionRequest.java | 102 +- .../TeamsTabCollectionRequestBuilder.java | 32 +- .../TeamsTabCollectionResponse.java | 90 + .../requests/extensions/TeamsTabRequest.java | 119 +- .../extensions/TeamsTabRequestBuilder.java | 42 +- ...xpenseManagementPartnerCollectionPage.java | 20 +- ...nseManagementPartnerCollectionRequest.java | 102 +- ...gementPartnerCollectionRequestBuilder.java | 32 +- ...seManagementPartnerCollectionResponse.java | 90 + ...elecomExpenseManagementPartnerRequest.java | 119 +- ...xpenseManagementPartnerRequestBuilder.java | 31 +- ...ditionsAcceptanceStatusCollectionPage.java | 20 +- ...ionsAcceptanceStatusCollectionRequest.java | 102 +- ...eptanceStatusCollectionRequestBuilder.java | 32 +- ...onsAcceptanceStatusCollectionResponse.java | 90 + ...sAndConditionsAcceptanceStatusRequest.java | 119 +- ...ditionsAcceptanceStatusRequestBuilder.java | 42 +- ...AndConditionsAssignmentCollectionPage.java | 20 +- ...ConditionsAssignmentCollectionRequest.java | 102 +- ...onsAssignmentCollectionRequestBuilder.java | 32 +- ...onditionsAssignmentCollectionResponse.java | 90 + .../TermsAndConditionsAssignmentRequest.java | 119 +- ...AndConditionsAssignmentRequestBuilder.java | 31 +- .../TermsAndConditionsCollectionPage.java | 20 +- .../TermsAndConditionsCollectionRequest.java | 102 +- ...AndConditionsCollectionRequestBuilder.java | 32 +- .../TermsAndConditionsCollectionResponse.java | 90 + .../TermsAndConditionsReferenceRequest.java | 72 +- ...sAndConditionsReferenceRequestBuilder.java | 38 +- .../extensions/TermsAndConditionsRequest.java | 119 +- .../TermsAndConditionsRequestBuilder.java | 53 +- ...ermsAndConditionsWithReferenceRequest.java | 81 +- ...ConditionsWithReferenceRequestBuilder.java | 42 +- .../requests/extensions/ThumbnailRequest.java | 119 +- .../extensions/ThumbnailRequestBuilder.java | 37 +- .../ThumbnailSetCollectionPage.java | 20 +- .../ThumbnailSetCollectionRequest.java | 102 +- .../ThumbnailSetCollectionRequestBuilder.java | 32 +- .../ThumbnailSetCollectionResponse.java | 90 + .../extensions/ThumbnailSetRequest.java | 119 +- .../ThumbnailSetRequestBuilder.java | 30 +- .../extensions/ThumbnailStreamRequest.java | 61 +- .../ThumbnailStreamRequestBuilder.java | 31 +- .../extensions/TrendingCollectionPage.java | 20 +- .../extensions/TrendingCollectionRequest.java | 102 +- .../TrendingCollectionRequestBuilder.java | 32 +- .../TrendingCollectionResponse.java | 90 + .../requests/extensions/TrendingRequest.java | 119 +- .../extensions/TrendingRequestBuilder.java | 42 +- .../extensions/UsedInsightCollectionPage.java | 20 +- .../UsedInsightCollectionRequest.java | 102 +- .../UsedInsightCollectionRequestBuilder.java | 32 +- .../UsedInsightCollectionResponse.java | 90 + .../extensions/UsedInsightRequest.java | 119 +- .../extensions/UsedInsightRequestBuilder.java | 42 +- .../UserActivityCollectionPage.java | 20 +- .../UserActivityCollectionRequest.java | 102 +- .../UserActivityCollectionRequestBuilder.java | 36 +- .../UserActivityCollectionResponse.java | 90 + .../UserActivityRecentCollectionPage.java | 30 +- .../UserActivityRecentCollectionRequest.java | 90 +- ...ctivityRecentCollectionRequestBuilder.java | 35 +- .../UserActivityRecentCollectionResponse.java | 91 + .../UserActivityReferenceRequest.java | 72 +- .../UserActivityReferenceRequestBuilder.java | 38 +- .../extensions/UserActivityRequest.java | 119 +- .../UserActivityRequestBuilder.java | 42 +- .../UserActivityWithReferenceRequest.java | 81 +- ...erActivityWithReferenceRequestBuilder.java | 42 +- .../extensions/UserAssignLicenseRequest.java | 60 +- .../UserAssignLicenseRequestBuilder.java | 50 +- .../extensions/UserChangePasswordRequest.java | 59 +- .../UserChangePasswordRequestBuilder.java | 48 +- .../extensions/UserCollectionPage.java | 20 +- .../extensions/UserCollectionRequest.java | 102 +- .../UserCollectionRequestBuilder.java | 40 +- .../extensions/UserCollectionResponse.java | 90 + .../extensions/UserDeltaCollectionPage.java | 50 +- .../UserDeltaCollectionRequest.java | 90 +- .../UserDeltaCollectionRequestBuilder.java | 35 +- .../UserDeltaCollectionResponse.java | 91 + .../UserExportPersonalDataRequest.java | 59 +- .../UserExportPersonalDataRequestBuilder.java | 43 +- .../UserFindMeetingTimesRequest.java | 60 +- .../UserFindMeetingTimesRequestBuilder.java | 82 +- .../UserGetMailTipsCollectionPage.java | 30 +- .../UserGetMailTipsCollectionRequest.java | 94 +- ...erGetMailTipsCollectionRequestBuilder.java | 49 +- .../UserGetMailTipsCollectionResponse.java | 91 + ...edAppDiagnosticStatusesCollectionPage.java | 30 +- ...ppDiagnosticStatusesCollectionRequest.java | 90 +- ...osticStatusesCollectionRequestBuilder.java | 35 +- ...pDiagnosticStatusesCollectionResponse.java | 91 + ...erGetManagedAppPoliciesCollectionPage.java | 30 +- ...etManagedAppPoliciesCollectionRequest.java | 90 +- ...edAppPoliciesCollectionRequestBuilder.java | 35 +- ...tManagedAppPoliciesCollectionResponse.java | 91 + ...UserInstallStateSummaryCollectionPage.java | 20 +- ...rInstallStateSummaryCollectionRequest.java | 102 +- ...lStateSummaryCollectionRequestBuilder.java | 32 +- ...InstallStateSummaryCollectionResponse.java | 90 + .../UserInstallStateSummaryRequest.java | 119 +- ...UserInstallStateSummaryRequestBuilder.java | 42 +- .../extensions/UserReferenceRequest.java | 72 +- .../UserReferenceRequestBuilder.java | 38 +- .../UserReminderViewCollectionPage.java | 30 +- .../UserReminderViewCollectionRequest.java | 90 +- ...rReminderViewCollectionRequestBuilder.java | 43 +- .../UserReminderViewCollectionResponse.java | 91 + ...RemoveAllDevicesFromManagementRequest.java | 44 +- ...llDevicesFromManagementRequestBuilder.java | 36 +- .../requests/extensions/UserRequest.java | 119 +- .../extensions/UserRequestBuilder.java | 488 +++- .../extensions/UserSendMailRequest.java | 59 +- .../UserSendMailRequestBuilder.java | 50 +- .../extensions/UserSettingsRequest.java | 119 +- .../UserSettingsRequestBuilder.java | 31 +- ...gedAppRegistrationsByDeviceTagRequest.java | 59 +- ...egistrationsByDeviceTagRequestBuilder.java | 43 +- .../extensions/UserWithReferenceRequest.java | 81 +- .../UserWithReferenceRequestBuilder.java | 42 +- .../extensions/VppTokenCollectionPage.java | 20 +- .../extensions/VppTokenCollectionRequest.java | 102 +- .../VppTokenCollectionRequestBuilder.java | 32 +- .../VppTokenCollectionResponse.java | 90 + .../requests/extensions/VppTokenRequest.java | 119 +- .../extensions/VppTokenRequestBuilder.java | 37 +- .../VppTokenSyncLicensesRequest.java | 58 +- .../VppTokenSyncLicensesRequestBuilder.java | 36 +- .../requests/extensions/WebAppRequest.java | 119 +- .../extensions/WebAppRequestBuilder.java | 31 +- .../Windows10CompliancePolicyRequest.java | 119 +- ...ndows10CompliancePolicyRequestBuilder.java | 31 +- .../Windows10CustomConfigurationRequest.java | 119 +- ...ws10CustomConfigurationRequestBuilder.java | 31 +- ...ndpointProtectionConfigurationRequest.java | 119 +- ...ProtectionConfigurationRequestBuilder.java | 31 +- ...dernAppManagementConfigurationRequest.java | 119 +- ...ManagementConfigurationRequestBuilder.java | 31 +- .../Windows10GeneralConfigurationRequest.java | 119 +- ...s10GeneralConfigurationRequestBuilder.java | 31 +- ...indows10MobileCompliancePolicyRequest.java | 119 +- ...0MobileCompliancePolicyRequestBuilder.java | 31 +- ...0SecureAssessmentConfigurationRequest.java | 119 +- ...AssessmentConfigurationRequestBuilder.java | 31 +- ...dows10TeamGeneralConfigurationRequest.java | 119 +- ...eamGeneralConfigurationRequestBuilder.java | 31 +- .../Windows81CompliancePolicyRequest.java | 119 +- ...ndows81CompliancePolicyRequestBuilder.java | 31 +- .../Windows81GeneralConfigurationRequest.java | 119 +- ...s81GeneralConfigurationRequestBuilder.java | 31 +- ...dThreatProtectionConfigurationRequest.java | 119 +- ...ProtectionConfigurationRequestBuilder.java | 31 +- ...ctionAppLearningSummaryCollectionPage.java | 20 +- ...onAppLearningSummaryCollectionRequest.java | 102 +- ...arningSummaryCollectionRequestBuilder.java | 32 +- ...nAppLearningSummaryCollectionResponse.java | 90 + ...onProtectionAppLearningSummaryRequest.java | 119 +- ...ctionAppLearningSummaryRequestBuilder.java | 31 +- ...ProtectionAppLockerFileCollectionPage.java | 20 +- ...tectionAppLockerFileCollectionRequest.java | 102 +- ...AppLockerFileCollectionRequestBuilder.java | 32 +- ...ectionAppLockerFileCollectionResponse.java | 90 + ...rmationProtectionAppLockerFileRequest.java | 119 +- ...ProtectionAppLockerFileRequestBuilder.java | 31 +- ...owsInformationProtectionAssignRequest.java | 59 +- ...rmationProtectionAssignRequestBuilder.java | 45 +- ...nNetworkLearningSummaryCollectionPage.java | 20 +- ...tworkLearningSummaryCollectionRequest.java | 102 +- ...arningSummaryCollectionRequestBuilder.java | 32 +- ...workLearningSummaryCollectionResponse.java | 90 + ...otectionNetworkLearningSummaryRequest.java | 119 +- ...nNetworkLearningSummaryRequestBuilder.java | 31 +- ...rmationProtectionPolicyCollectionPage.java | 20 +- ...tionProtectionPolicyCollectionRequest.java | 102 +- ...tectionPolicyCollectionRequestBuilder.java | 32 +- ...ionProtectionPolicyCollectionResponse.java | 90 + ...owsInformationProtectionPolicyRequest.java | 119 +- ...rmationProtectionPolicyRequestBuilder.java | 31 +- .../WindowsInformationProtectionRequest.java | 119 +- ...wsInformationProtectionRequestBuilder.java | 71 +- .../extensions/WindowsMobileMSIRequest.java | 119 +- .../WindowsMobileMSIRequestBuilder.java | 31 +- ...WindowsPhone81CompliancePolicyRequest.java | 119 +- ...Phone81CompliancePolicyRequestBuilder.java | 31 +- ...dowsPhone81CustomConfigurationRequest.java | 119 +- ...ne81CustomConfigurationRequestBuilder.java | 31 +- ...owsPhone81GeneralConfigurationRequest.java | 119 +- ...e81GeneralConfigurationRequestBuilder.java | 31 +- .../WindowsUniversalAppXRequest.java | 119 +- .../WindowsUniversalAppXRequestBuilder.java | 31 +- ...UpdateForBusinessConfigurationRequest.java | 119 +- ...orBusinessConfigurationRequestBuilder.java | 31 +- .../WorkbookApplicationCalculateRequest.java | 59 +- ...ookApplicationCalculateRequestBuilder.java | 43 +- .../WorkbookApplicationRequest.java | 119 +- .../WorkbookApplicationRequestBuilder.java | 37 +- .../extensions/WorkbookChartAddRequest.java | 60 +- .../WorkbookChartAddRequestBuilder.java | 53 +- .../WorkbookChartAreaFormatRequest.java | 119 +- ...WorkbookChartAreaFormatRequestBuilder.java | 53 +- .../extensions/WorkbookChartAxesRequest.java | 119 +- .../WorkbookChartAxesRequestBuilder.java | 64 +- .../WorkbookChartAxisFormatRequest.java | 119 +- ...WorkbookChartAxisFormatRequestBuilder.java | 53 +- .../extensions/WorkbookChartAxisRequest.java | 119 +- .../WorkbookChartAxisRequestBuilder.java | 75 +- .../WorkbookChartAxisTitleFormatRequest.java | 119 +- ...ookChartAxisTitleFormatRequestBuilder.java | 42 +- .../WorkbookChartAxisTitleRequest.java | 119 +- .../WorkbookChartAxisTitleRequestBuilder.java | 42 +- .../WorkbookChartCollectionPage.java | 20 +- .../WorkbookChartCollectionRequest.java | 102 +- ...WorkbookChartCollectionRequestBuilder.java | 48 +- .../WorkbookChartCollectionResponse.java | 90 + .../extensions/WorkbookChartCountRequest.java | 57 +- .../WorkbookChartCountRequestBuilder.java | 40 +- .../WorkbookChartDataLabelFormatRequest.java | 119 +- ...ookChartDataLabelFormatRequestBuilder.java | 53 +- .../WorkbookChartDataLabelsRequest.java | 119 +- ...WorkbookChartDataLabelsRequestBuilder.java | 42 +- .../WorkbookChartFillClearRequest.java | 44 +- .../WorkbookChartFillClearRequestBuilder.java | 36 +- .../extensions/WorkbookChartFillRequest.java | 119 +- .../WorkbookChartFillRequestBuilder.java | 43 +- ...WorkbookChartFillSetSolidColorRequest.java | 59 +- ...kChartFillSetSolidColorRequestBuilder.java | 43 +- .../extensions/WorkbookChartFontRequest.java | 119 +- .../WorkbookChartFontRequestBuilder.java | 31 +- .../WorkbookChartGridlinesFormatRequest.java | 119 +- ...ookChartGridlinesFormatRequestBuilder.java | 42 +- .../WorkbookChartGridlinesRequest.java | 119 +- .../WorkbookChartGridlinesRequestBuilder.java | 42 +- .../extensions/WorkbookChartImageRequest.java | 57 +- .../WorkbookChartImageRequestBuilder.java | 55 +- .../WorkbookChartItemAtRequest.java | 98 +- .../WorkbookChartItemAtRequestBuilder.java | 43 +- .../extensions/WorkbookChartItemRequest.java | 98 +- .../WorkbookChartItemRequestBuilder.java | 43 +- .../WorkbookChartLegendFormatRequest.java | 119 +- ...rkbookChartLegendFormatRequestBuilder.java | 53 +- .../WorkbookChartLegendRequest.java | 119 +- .../WorkbookChartLegendRequestBuilder.java | 42 +- .../WorkbookChartLineFormatClearRequest.java | 44 +- ...ookChartLineFormatClearRequestBuilder.java | 36 +- .../WorkbookChartLineFormatRequest.java | 119 +- ...WorkbookChartLineFormatRequestBuilder.java | 37 +- .../WorkbookChartPointCollectionPage.java | 20 +- .../WorkbookChartPointCollectionRequest.java | 102 +- ...ookChartPointCollectionRequestBuilder.java | 40 +- .../WorkbookChartPointCollectionResponse.java | 90 + .../WorkbookChartPointCountRequest.java | 57 +- ...WorkbookChartPointCountRequestBuilder.java | 40 +- .../WorkbookChartPointFormatRequest.java | 119 +- ...orkbookChartPointFormatRequestBuilder.java | 42 +- .../WorkbookChartPointItemAtRequest.java | 98 +- ...orkbookChartPointItemAtRequestBuilder.java | 43 +- .../extensions/WorkbookChartPointRequest.java | 119 +- .../WorkbookChartPointRequestBuilder.java | 42 +- .../extensions/WorkbookChartRequest.java | 119 +- .../WorkbookChartRequestBuilder.java | 144 +- .../WorkbookChartSeriesCollectionPage.java | 20 +- .../WorkbookChartSeriesCollectionRequest.java | 102 +- ...okChartSeriesCollectionRequestBuilder.java | 40 +- ...WorkbookChartSeriesCollectionResponse.java | 90 + .../WorkbookChartSeriesCountRequest.java | 57 +- ...orkbookChartSeriesCountRequestBuilder.java | 40 +- .../WorkbookChartSeriesFormatRequest.java | 119 +- ...rkbookChartSeriesFormatRequestBuilder.java | 53 +- .../WorkbookChartSeriesItemAtRequest.java | 98 +- ...rkbookChartSeriesItemAtRequestBuilder.java | 43 +- .../WorkbookChartSeriesRequest.java | 119 +- .../WorkbookChartSeriesRequestBuilder.java | 53 +- .../WorkbookChartSetDataRequest.java | 59 +- .../WorkbookChartSetDataRequestBuilder.java | 48 +- .../WorkbookChartSetPositionRequest.java | 59 +- ...orkbookChartSetPositionRequestBuilder.java | 48 +- .../WorkbookChartTitleFormatRequest.java | 119 +- ...orkbookChartTitleFormatRequestBuilder.java | 53 +- .../extensions/WorkbookChartTitleRequest.java | 119 +- .../WorkbookChartTitleRequestBuilder.java | 42 +- .../WorkbookCloseSessionRequest.java | 44 +- .../WorkbookCloseSessionRequestBuilder.java | 36 +- .../WorkbookCreateSessionRequest.java | 60 +- .../WorkbookCreateSessionRequestBuilder.java | 43 +- ...okFilterApplyBottomItemsFilterRequest.java | 59 +- ...rApplyBottomItemsFilterRequestBuilder.java | 43 +- ...FilterApplyBottomPercentFilterRequest.java | 59 +- ...pplyBottomPercentFilterRequestBuilder.java | 43 +- ...bookFilterApplyCellColorFilterRequest.java | 59 +- ...terApplyCellColorFilterRequestBuilder.java | 43 +- ...orkbookFilterApplyCustomFilterRequest.java | 59 +- ...FilterApplyCustomFilterRequestBuilder.java | 53 +- ...rkbookFilterApplyDynamicFilterRequest.java | 59 +- ...ilterApplyDynamicFilterRequestBuilder.java | 43 +- ...bookFilterApplyFontColorFilterRequest.java | 59 +- ...terApplyFontColorFilterRequestBuilder.java | 43 +- .../WorkbookFilterApplyIconFilterRequest.java | 59 +- ...okFilterApplyIconFilterRequestBuilder.java | 45 +- .../WorkbookFilterApplyRequest.java | 59 +- .../WorkbookFilterApplyRequestBuilder.java | 45 +- ...kbookFilterApplyTopItemsFilterRequest.java | 59 +- ...lterApplyTopItemsFilterRequestBuilder.java | 43 +- ...ookFilterApplyTopPercentFilterRequest.java | 59 +- ...erApplyTopPercentFilterRequestBuilder.java | 43 +- ...orkbookFilterApplyValuesFilterRequest.java | 59 +- ...FilterApplyValuesFilterRequestBuilder.java | 43 +- .../WorkbookFilterClearRequest.java | 44 +- .../WorkbookFilterClearRequestBuilder.java | 36 +- .../extensions/WorkbookFilterRequest.java | 119 +- .../WorkbookFilterRequestBuilder.java | 105 +- .../WorkbookFormatProtectionRequest.java | 119 +- ...orkbookFormatProtectionRequestBuilder.java | 31 +- .../WorkbookFunctionResultRequest.java | 119 +- .../WorkbookFunctionResultRequestBuilder.java | 31 +- .../WorkbookFunctionsAbsRequest.java | 60 +- .../WorkbookFunctionsAbsRequestBuilder.java | 43 +- .../WorkbookFunctionsAccrIntMRequest.java | 60 +- ...rkbookFunctionsAccrIntMRequestBuilder.java | 63 +- .../WorkbookFunctionsAccrIntRequest.java | 60 +- ...orkbookFunctionsAccrIntRequestBuilder.java | 78 +- .../WorkbookFunctionsAcosRequest.java | 60 +- .../WorkbookFunctionsAcosRequestBuilder.java | 43 +- .../WorkbookFunctionsAcoshRequest.java | 60 +- .../WorkbookFunctionsAcoshRequestBuilder.java | 43 +- .../WorkbookFunctionsAcotRequest.java | 60 +- .../WorkbookFunctionsAcotRequestBuilder.java | 43 +- .../WorkbookFunctionsAcothRequest.java | 60 +- .../WorkbookFunctionsAcothRequestBuilder.java | 43 +- .../WorkbookFunctionsAmorDegrcRequest.java | 60 +- ...kbookFunctionsAmorDegrcRequestBuilder.java | 73 +- .../WorkbookFunctionsAmorLincRequest.java | 60 +- ...rkbookFunctionsAmorLincRequestBuilder.java | 73 +- .../WorkbookFunctionsAndRequest.java | 60 +- .../WorkbookFunctionsAndRequestBuilder.java | 43 +- .../WorkbookFunctionsArabicRequest.java | 60 +- ...WorkbookFunctionsArabicRequestBuilder.java | 43 +- .../WorkbookFunctionsAreasRequest.java | 60 +- .../WorkbookFunctionsAreasRequestBuilder.java | 43 +- .../WorkbookFunctionsAscRequest.java | 60 +- .../WorkbookFunctionsAscRequestBuilder.java | 43 +- .../WorkbookFunctionsAsinRequest.java | 60 +- .../WorkbookFunctionsAsinRequestBuilder.java | 43 +- .../WorkbookFunctionsAsinhRequest.java | 60 +- .../WorkbookFunctionsAsinhRequestBuilder.java | 43 +- .../WorkbookFunctionsAtan2Request.java | 60 +- .../WorkbookFunctionsAtan2RequestBuilder.java | 48 +- .../WorkbookFunctionsAtanRequest.java | 60 +- .../WorkbookFunctionsAtanRequestBuilder.java | 43 +- .../WorkbookFunctionsAtanhRequest.java | 60 +- .../WorkbookFunctionsAtanhRequestBuilder.java | 43 +- .../WorkbookFunctionsAveDevRequest.java | 60 +- ...WorkbookFunctionsAveDevRequestBuilder.java | 43 +- .../WorkbookFunctionsAverageARequest.java | 60 +- ...rkbookFunctionsAverageARequestBuilder.java | 43 +- .../WorkbookFunctionsAverageIfRequest.java | 60 +- ...kbookFunctionsAverageIfRequestBuilder.java | 53 +- .../WorkbookFunctionsAverageIfsRequest.java | 60 +- ...bookFunctionsAverageIfsRequestBuilder.java | 48 +- .../WorkbookFunctionsAverageRequest.java | 60 +- ...orkbookFunctionsAverageRequestBuilder.java | 43 +- .../WorkbookFunctionsBahtTextRequest.java | 60 +- ...rkbookFunctionsBahtTextRequestBuilder.java | 43 +- .../WorkbookFunctionsBaseRequest.java | 60 +- .../WorkbookFunctionsBaseRequestBuilder.java | 53 +- .../WorkbookFunctionsBesselIRequest.java | 60 +- ...orkbookFunctionsBesselIRequestBuilder.java | 48 +- .../WorkbookFunctionsBesselJRequest.java | 60 +- ...orkbookFunctionsBesselJRequestBuilder.java | 48 +- .../WorkbookFunctionsBesselKRequest.java | 60 +- ...orkbookFunctionsBesselKRequestBuilder.java | 48 +- .../WorkbookFunctionsBesselYRequest.java | 60 +- ...orkbookFunctionsBesselYRequestBuilder.java | 48 +- .../WorkbookFunctionsBeta_DistRequest.java | 60 +- ...kbookFunctionsBeta_DistRequestBuilder.java | 68 +- .../WorkbookFunctionsBeta_InvRequest.java | 60 +- ...rkbookFunctionsBeta_InvRequestBuilder.java | 63 +- .../WorkbookFunctionsBin2DecRequest.java | 60 +- ...orkbookFunctionsBin2DecRequestBuilder.java | 43 +- .../WorkbookFunctionsBin2HexRequest.java | 60 +- ...orkbookFunctionsBin2HexRequestBuilder.java | 48 +- .../WorkbookFunctionsBin2OctRequest.java | 60 +- ...orkbookFunctionsBin2OctRequestBuilder.java | 48 +- .../WorkbookFunctionsBinom_DistRequest.java | 60 +- ...bookFunctionsBinom_DistRequestBuilder.java | 58 +- ...kbookFunctionsBinom_Dist_RangeRequest.java | 60 +- ...nctionsBinom_Dist_RangeRequestBuilder.java | 58 +- .../WorkbookFunctionsBinom_InvRequest.java | 60 +- ...kbookFunctionsBinom_InvRequestBuilder.java | 53 +- .../WorkbookFunctionsBitandRequest.java | 60 +- ...WorkbookFunctionsBitandRequestBuilder.java | 48 +- .../WorkbookFunctionsBitlshiftRequest.java | 60 +- ...kbookFunctionsBitlshiftRequestBuilder.java | 48 +- .../WorkbookFunctionsBitorRequest.java | 60 +- .../WorkbookFunctionsBitorRequestBuilder.java | 48 +- .../WorkbookFunctionsBitrshiftRequest.java | 60 +- ...kbookFunctionsBitrshiftRequestBuilder.java | 48 +- .../WorkbookFunctionsBitxorRequest.java | 60 +- ...WorkbookFunctionsBitxorRequestBuilder.java | 48 +- .../WorkbookFunctionsCeiling_MathRequest.java | 60 +- ...okFunctionsCeiling_MathRequestBuilder.java | 53 +- ...rkbookFunctionsCeiling_PreciseRequest.java | 60 +- ...unctionsCeiling_PreciseRequestBuilder.java | 48 +- .../WorkbookFunctionsCharRequest.java | 60 +- .../WorkbookFunctionsCharRequestBuilder.java | 43 +- .../WorkbookFunctionsChiSq_DistRequest.java | 60 +- ...bookFunctionsChiSq_DistRequestBuilder.java | 53 +- ...WorkbookFunctionsChiSq_Dist_RTRequest.java | 60 +- ...kFunctionsChiSq_Dist_RTRequestBuilder.java | 48 +- .../WorkbookFunctionsChiSq_InvRequest.java | 60 +- ...kbookFunctionsChiSq_InvRequestBuilder.java | 48 +- .../WorkbookFunctionsChiSq_Inv_RTRequest.java | 60 +- ...okFunctionsChiSq_Inv_RTRequestBuilder.java | 48 +- .../WorkbookFunctionsChooseRequest.java | 60 +- ...WorkbookFunctionsChooseRequestBuilder.java | 48 +- .../WorkbookFunctionsCleanRequest.java | 60 +- .../WorkbookFunctionsCleanRequestBuilder.java | 43 +- .../WorkbookFunctionsCodeRequest.java | 60 +- .../WorkbookFunctionsCodeRequestBuilder.java | 43 +- .../WorkbookFunctionsColumnsRequest.java | 60 +- ...orkbookFunctionsColumnsRequestBuilder.java | 43 +- .../WorkbookFunctionsCombinRequest.java | 60 +- ...WorkbookFunctionsCombinRequestBuilder.java | 48 +- .../WorkbookFunctionsCombinaRequest.java | 60 +- ...orkbookFunctionsCombinaRequestBuilder.java | 48 +- .../WorkbookFunctionsComplexRequest.java | 60 +- ...orkbookFunctionsComplexRequestBuilder.java | 53 +- .../WorkbookFunctionsConcatenateRequest.java | 60 +- ...ookFunctionsConcatenateRequestBuilder.java | 43 +- ...rkbookFunctionsConfidence_NormRequest.java | 60 +- ...unctionsConfidence_NormRequestBuilder.java | 53 +- .../WorkbookFunctionsConfidence_TRequest.java | 60 +- ...okFunctionsConfidence_TRequestBuilder.java | 53 +- .../WorkbookFunctionsConvertRequest.java | 60 +- ...orkbookFunctionsConvertRequestBuilder.java | 53 +- .../WorkbookFunctionsCosRequest.java | 60 +- .../WorkbookFunctionsCosRequestBuilder.java | 43 +- .../WorkbookFunctionsCoshRequest.java | 60 +- .../WorkbookFunctionsCoshRequestBuilder.java | 43 +- .../WorkbookFunctionsCotRequest.java | 60 +- .../WorkbookFunctionsCotRequestBuilder.java | 43 +- .../WorkbookFunctionsCothRequest.java | 60 +- .../WorkbookFunctionsCothRequestBuilder.java | 43 +- .../WorkbookFunctionsCountARequest.java | 60 +- ...WorkbookFunctionsCountARequestBuilder.java | 43 +- .../WorkbookFunctionsCountBlankRequest.java | 60 +- ...bookFunctionsCountBlankRequestBuilder.java | 43 +- .../WorkbookFunctionsCountIfRequest.java | 60 +- ...orkbookFunctionsCountIfRequestBuilder.java | 48 +- .../WorkbookFunctionsCountIfsRequest.java | 60 +- ...rkbookFunctionsCountIfsRequestBuilder.java | 43 +- .../WorkbookFunctionsCountRequest.java | 60 +- .../WorkbookFunctionsCountRequestBuilder.java | 43 +- .../WorkbookFunctionsCoupDayBsRequest.java | 60 +- ...kbookFunctionsCoupDayBsRequestBuilder.java | 58 +- .../WorkbookFunctionsCoupDaysNcRequest.java | 60 +- ...bookFunctionsCoupDaysNcRequestBuilder.java | 58 +- .../WorkbookFunctionsCoupDaysRequest.java | 60 +- ...rkbookFunctionsCoupDaysRequestBuilder.java | 58 +- .../WorkbookFunctionsCoupNcdRequest.java | 60 +- ...orkbookFunctionsCoupNcdRequestBuilder.java | 58 +- .../WorkbookFunctionsCoupNumRequest.java | 60 +- ...orkbookFunctionsCoupNumRequestBuilder.java | 58 +- .../WorkbookFunctionsCoupPcdRequest.java | 60 +- ...orkbookFunctionsCoupPcdRequestBuilder.java | 58 +- .../WorkbookFunctionsCscRequest.java | 60 +- .../WorkbookFunctionsCscRequestBuilder.java | 43 +- .../WorkbookFunctionsCschRequest.java | 60 +- .../WorkbookFunctionsCschRequestBuilder.java | 43 +- .../WorkbookFunctionsCumIPmtRequest.java | 60 +- ...orkbookFunctionsCumIPmtRequestBuilder.java | 68 +- .../WorkbookFunctionsCumPrincRequest.java | 60 +- ...rkbookFunctionsCumPrincRequestBuilder.java | 68 +- .../WorkbookFunctionsDateRequest.java | 60 +- .../WorkbookFunctionsDateRequestBuilder.java | 53 +- .../WorkbookFunctionsDatevalueRequest.java | 60 +- ...kbookFunctionsDatevalueRequestBuilder.java | 43 +- .../WorkbookFunctionsDaverageRequest.java | 60 +- ...rkbookFunctionsDaverageRequestBuilder.java | 53 +- .../WorkbookFunctionsDayRequest.java | 60 +- .../WorkbookFunctionsDayRequestBuilder.java | 43 +- .../WorkbookFunctionsDays360Request.java | 60 +- ...orkbookFunctionsDays360RequestBuilder.java | 53 +- .../WorkbookFunctionsDaysRequest.java | 60 +- .../WorkbookFunctionsDaysRequestBuilder.java | 48 +- .../WorkbookFunctionsDbRequest.java | 60 +- .../WorkbookFunctionsDbRequestBuilder.java | 63 +- .../WorkbookFunctionsDbcsRequest.java | 60 +- .../WorkbookFunctionsDbcsRequestBuilder.java | 43 +- .../WorkbookFunctionsDcountARequest.java | 60 +- ...orkbookFunctionsDcountARequestBuilder.java | 53 +- .../WorkbookFunctionsDcountRequest.java | 60 +- ...WorkbookFunctionsDcountRequestBuilder.java | 53 +- .../WorkbookFunctionsDdbRequest.java | 60 +- .../WorkbookFunctionsDdbRequestBuilder.java | 63 +- .../WorkbookFunctionsDec2BinRequest.java | 60 +- ...orkbookFunctionsDec2BinRequestBuilder.java | 48 +- .../WorkbookFunctionsDec2HexRequest.java | 60 +- ...orkbookFunctionsDec2HexRequestBuilder.java | 48 +- .../WorkbookFunctionsDec2OctRequest.java | 60 +- ...orkbookFunctionsDec2OctRequestBuilder.java | 48 +- .../WorkbookFunctionsDecimalRequest.java | 60 +- ...orkbookFunctionsDecimalRequestBuilder.java | 48 +- .../WorkbookFunctionsDegreesRequest.java | 60 +- ...orkbookFunctionsDegreesRequestBuilder.java | 43 +- .../WorkbookFunctionsDeltaRequest.java | 60 +- .../WorkbookFunctionsDeltaRequestBuilder.java | 48 +- .../WorkbookFunctionsDevSqRequest.java | 60 +- .../WorkbookFunctionsDevSqRequestBuilder.java | 43 +- .../WorkbookFunctionsDgetRequest.java | 60 +- .../WorkbookFunctionsDgetRequestBuilder.java | 53 +- .../WorkbookFunctionsDiscRequest.java | 60 +- .../WorkbookFunctionsDiscRequestBuilder.java | 63 +- .../WorkbookFunctionsDmaxRequest.java | 60 +- .../WorkbookFunctionsDmaxRequestBuilder.java | 53 +- .../WorkbookFunctionsDminRequest.java | 60 +- .../WorkbookFunctionsDminRequestBuilder.java | 53 +- .../WorkbookFunctionsDollarDeRequest.java | 60 +- ...rkbookFunctionsDollarDeRequestBuilder.java | 48 +- .../WorkbookFunctionsDollarFrRequest.java | 60 +- ...rkbookFunctionsDollarFrRequestBuilder.java | 48 +- .../WorkbookFunctionsDollarRequest.java | 60 +- ...WorkbookFunctionsDollarRequestBuilder.java | 48 +- .../WorkbookFunctionsDproductRequest.java | 60 +- ...rkbookFunctionsDproductRequestBuilder.java | 53 +- .../WorkbookFunctionsDstDevPRequest.java | 60 +- ...orkbookFunctionsDstDevPRequestBuilder.java | 53 +- .../WorkbookFunctionsDstDevRequest.java | 60 +- ...WorkbookFunctionsDstDevRequestBuilder.java | 53 +- .../WorkbookFunctionsDsumRequest.java | 60 +- .../WorkbookFunctionsDsumRequestBuilder.java | 53 +- .../WorkbookFunctionsDurationRequest.java | 60 +- ...rkbookFunctionsDurationRequestBuilder.java | 68 +- .../WorkbookFunctionsDvarPRequest.java | 60 +- .../WorkbookFunctionsDvarPRequestBuilder.java | 53 +- .../WorkbookFunctionsDvarRequest.java | 60 +- .../WorkbookFunctionsDvarRequestBuilder.java | 53 +- .../WorkbookFunctionsEcma_CeilingRequest.java | 60 +- ...okFunctionsEcma_CeilingRequestBuilder.java | 48 +- .../WorkbookFunctionsEdateRequest.java | 60 +- .../WorkbookFunctionsEdateRequestBuilder.java | 48 +- .../WorkbookFunctionsEffectRequest.java | 60 +- ...WorkbookFunctionsEffectRequestBuilder.java | 48 +- .../WorkbookFunctionsEoMonthRequest.java | 60 +- ...orkbookFunctionsEoMonthRequestBuilder.java | 48 +- .../WorkbookFunctionsErfCRequest.java | 60 +- .../WorkbookFunctionsErfCRequestBuilder.java | 43 +- .../WorkbookFunctionsErfC_PreciseRequest.java | 60 +- ...okFunctionsErfC_PreciseRequestBuilder.java | 43 +- .../WorkbookFunctionsErfRequest.java | 60 +- .../WorkbookFunctionsErfRequestBuilder.java | 48 +- .../WorkbookFunctionsErf_PreciseRequest.java | 60 +- ...ookFunctionsErf_PreciseRequestBuilder.java | 43 +- .../WorkbookFunctionsError_TypeRequest.java | 60 +- ...bookFunctionsError_TypeRequestBuilder.java | 43 +- .../WorkbookFunctionsEvenRequest.java | 60 +- .../WorkbookFunctionsEvenRequestBuilder.java | 43 +- .../WorkbookFunctionsExactRequest.java | 60 +- .../WorkbookFunctionsExactRequestBuilder.java | 48 +- .../WorkbookFunctionsExpRequest.java | 60 +- .../WorkbookFunctionsExpRequestBuilder.java | 43 +- .../WorkbookFunctionsExpon_DistRequest.java | 60 +- ...bookFunctionsExpon_DistRequestBuilder.java | 53 +- .../WorkbookFunctionsF_DistRequest.java | 60 +- ...WorkbookFunctionsF_DistRequestBuilder.java | 58 +- .../WorkbookFunctionsF_Dist_RTRequest.java | 60 +- ...kbookFunctionsF_Dist_RTRequestBuilder.java | 53 +- .../WorkbookFunctionsF_InvRequest.java | 60 +- .../WorkbookFunctionsF_InvRequestBuilder.java | 53 +- .../WorkbookFunctionsF_Inv_RTRequest.java | 60 +- ...rkbookFunctionsF_Inv_RTRequestBuilder.java | 53 +- .../WorkbookFunctionsFactDoubleRequest.java | 60 +- ...bookFunctionsFactDoubleRequestBuilder.java | 43 +- .../WorkbookFunctionsFactRequest.java | 60 +- .../WorkbookFunctionsFactRequestBuilder.java | 43 +- .../WorkbookFunctionsFalseRequest.java | 58 +- .../WorkbookFunctionsFalseRequestBuilder.java | 36 +- .../WorkbookFunctionsFindBRequest.java | 60 +- .../WorkbookFunctionsFindBRequestBuilder.java | 53 +- .../WorkbookFunctionsFindRequest.java | 60 +- .../WorkbookFunctionsFindRequestBuilder.java | 53 +- .../WorkbookFunctionsFisherInvRequest.java | 60 +- ...kbookFunctionsFisherInvRequestBuilder.java | 43 +- .../WorkbookFunctionsFisherRequest.java | 60 +- ...WorkbookFunctionsFisherRequestBuilder.java | 43 +- .../WorkbookFunctionsFixedRequest.java | 60 +- .../WorkbookFunctionsFixedRequestBuilder.java | 53 +- .../WorkbookFunctionsFloor_MathRequest.java | 60 +- ...bookFunctionsFloor_MathRequestBuilder.java | 53 +- ...WorkbookFunctionsFloor_PreciseRequest.java | 60 +- ...kFunctionsFloor_PreciseRequestBuilder.java | 48 +- .../WorkbookFunctionsFvRequest.java | 60 +- .../WorkbookFunctionsFvRequestBuilder.java | 63 +- .../WorkbookFunctionsFvscheduleRequest.java | 60 +- ...bookFunctionsFvscheduleRequestBuilder.java | 48 +- .../WorkbookFunctionsGammaLnRequest.java | 60 +- ...orkbookFunctionsGammaLnRequestBuilder.java | 43 +- ...rkbookFunctionsGammaLn_PreciseRequest.java | 60 +- ...unctionsGammaLn_PreciseRequestBuilder.java | 43 +- .../WorkbookFunctionsGammaRequest.java | 60 +- .../WorkbookFunctionsGammaRequestBuilder.java | 43 +- .../WorkbookFunctionsGamma_DistRequest.java | 60 +- ...bookFunctionsGamma_DistRequestBuilder.java | 58 +- .../WorkbookFunctionsGamma_InvRequest.java | 60 +- ...kbookFunctionsGamma_InvRequestBuilder.java | 53 +- .../WorkbookFunctionsGaussRequest.java | 60 +- .../WorkbookFunctionsGaussRequestBuilder.java | 43 +- .../WorkbookFunctionsGcdRequest.java | 60 +- .../WorkbookFunctionsGcdRequestBuilder.java | 43 +- .../WorkbookFunctionsGeStepRequest.java | 60 +- ...WorkbookFunctionsGeStepRequestBuilder.java | 48 +- .../WorkbookFunctionsGeoMeanRequest.java | 60 +- ...orkbookFunctionsGeoMeanRequestBuilder.java | 43 +- .../WorkbookFunctionsHarMeanRequest.java | 60 +- ...orkbookFunctionsHarMeanRequestBuilder.java | 43 +- .../WorkbookFunctionsHex2BinRequest.java | 60 +- ...orkbookFunctionsHex2BinRequestBuilder.java | 48 +- .../WorkbookFunctionsHex2DecRequest.java | 60 +- ...orkbookFunctionsHex2DecRequestBuilder.java | 43 +- .../WorkbookFunctionsHex2OctRequest.java | 60 +- ...orkbookFunctionsHex2OctRequestBuilder.java | 48 +- .../WorkbookFunctionsHlookupRequest.java | 60 +- ...orkbookFunctionsHlookupRequestBuilder.java | 58 +- .../WorkbookFunctionsHourRequest.java | 60 +- .../WorkbookFunctionsHourRequestBuilder.java | 43 +- .../WorkbookFunctionsHypGeom_DistRequest.java | 60 +- ...okFunctionsHypGeom_DistRequestBuilder.java | 63 +- .../WorkbookFunctionsHyperlinkRequest.java | 60 +- ...kbookFunctionsHyperlinkRequestBuilder.java | 48 +- .../WorkbookFunctionsIfRequest.java | 60 +- .../WorkbookFunctionsIfRequestBuilder.java | 53 +- .../WorkbookFunctionsImAbsRequest.java | 60 +- .../WorkbookFunctionsImAbsRequestBuilder.java | 43 +- .../WorkbookFunctionsImArgumentRequest.java | 60 +- ...bookFunctionsImArgumentRequestBuilder.java | 43 +- .../WorkbookFunctionsImConjugateRequest.java | 60 +- ...ookFunctionsImConjugateRequestBuilder.java | 43 +- .../WorkbookFunctionsImCosRequest.java | 60 +- .../WorkbookFunctionsImCosRequestBuilder.java | 43 +- .../WorkbookFunctionsImCoshRequest.java | 60 +- ...WorkbookFunctionsImCoshRequestBuilder.java | 43 +- .../WorkbookFunctionsImCotRequest.java | 60 +- .../WorkbookFunctionsImCotRequestBuilder.java | 43 +- .../WorkbookFunctionsImCscRequest.java | 60 +- .../WorkbookFunctionsImCscRequestBuilder.java | 43 +- .../WorkbookFunctionsImCschRequest.java | 60 +- ...WorkbookFunctionsImCschRequestBuilder.java | 43 +- .../WorkbookFunctionsImDivRequest.java | 60 +- .../WorkbookFunctionsImDivRequestBuilder.java | 48 +- .../WorkbookFunctionsImExpRequest.java | 60 +- .../WorkbookFunctionsImExpRequestBuilder.java | 43 +- .../WorkbookFunctionsImLnRequest.java | 60 +- .../WorkbookFunctionsImLnRequestBuilder.java | 43 +- .../WorkbookFunctionsImLog10Request.java | 60 +- ...orkbookFunctionsImLog10RequestBuilder.java | 43 +- .../WorkbookFunctionsImLog2Request.java | 60 +- ...WorkbookFunctionsImLog2RequestBuilder.java | 43 +- .../WorkbookFunctionsImPowerRequest.java | 60 +- ...orkbookFunctionsImPowerRequestBuilder.java | 48 +- .../WorkbookFunctionsImProductRequest.java | 60 +- ...kbookFunctionsImProductRequestBuilder.java | 43 +- .../WorkbookFunctionsImRealRequest.java | 60 +- ...WorkbookFunctionsImRealRequestBuilder.java | 43 +- .../WorkbookFunctionsImSecRequest.java | 60 +- .../WorkbookFunctionsImSecRequestBuilder.java | 43 +- .../WorkbookFunctionsImSechRequest.java | 60 +- ...WorkbookFunctionsImSechRequestBuilder.java | 43 +- .../WorkbookFunctionsImSinRequest.java | 60 +- .../WorkbookFunctionsImSinRequestBuilder.java | 43 +- .../WorkbookFunctionsImSinhRequest.java | 60 +- ...WorkbookFunctionsImSinhRequestBuilder.java | 43 +- .../WorkbookFunctionsImSqrtRequest.java | 60 +- ...WorkbookFunctionsImSqrtRequestBuilder.java | 43 +- .../WorkbookFunctionsImSubRequest.java | 60 +- .../WorkbookFunctionsImSubRequestBuilder.java | 48 +- .../WorkbookFunctionsImSumRequest.java | 60 +- .../WorkbookFunctionsImSumRequestBuilder.java | 43 +- .../WorkbookFunctionsImTanRequest.java | 60 +- .../WorkbookFunctionsImTanRequestBuilder.java | 43 +- .../WorkbookFunctionsImaginaryRequest.java | 60 +- ...kbookFunctionsImaginaryRequestBuilder.java | 43 +- .../WorkbookFunctionsIntRateRequest.java | 60 +- ...orkbookFunctionsIntRateRequestBuilder.java | 63 +- .../WorkbookFunctionsIntRequest.java | 60 +- .../WorkbookFunctionsIntRequestBuilder.java | 43 +- .../WorkbookFunctionsIpmtRequest.java | 60 +- .../WorkbookFunctionsIpmtRequestBuilder.java | 68 +- .../WorkbookFunctionsIrrRequest.java | 60 +- .../WorkbookFunctionsIrrRequestBuilder.java | 48 +- .../WorkbookFunctionsIsErrRequest.java | 60 +- .../WorkbookFunctionsIsErrRequestBuilder.java | 43 +- .../WorkbookFunctionsIsErrorRequest.java | 60 +- ...orkbookFunctionsIsErrorRequestBuilder.java | 43 +- .../WorkbookFunctionsIsEvenRequest.java | 60 +- ...WorkbookFunctionsIsEvenRequestBuilder.java | 43 +- .../WorkbookFunctionsIsFormulaRequest.java | 60 +- ...kbookFunctionsIsFormulaRequestBuilder.java | 43 +- .../WorkbookFunctionsIsLogicalRequest.java | 60 +- ...kbookFunctionsIsLogicalRequestBuilder.java | 43 +- .../WorkbookFunctionsIsNARequest.java | 60 +- .../WorkbookFunctionsIsNARequestBuilder.java | 43 +- .../WorkbookFunctionsIsNonTextRequest.java | 60 +- ...kbookFunctionsIsNonTextRequestBuilder.java | 43 +- .../WorkbookFunctionsIsNumberRequest.java | 60 +- ...rkbookFunctionsIsNumberRequestBuilder.java | 43 +- .../WorkbookFunctionsIsOddRequest.java | 60 +- .../WorkbookFunctionsIsOddRequestBuilder.java | 43 +- .../WorkbookFunctionsIsTextRequest.java | 60 +- ...WorkbookFunctionsIsTextRequestBuilder.java | 43 +- .../WorkbookFunctionsIsoWeekNumRequest.java | 60 +- ...bookFunctionsIsoWeekNumRequestBuilder.java | 43 +- .../WorkbookFunctionsIso_CeilingRequest.java | 60 +- ...ookFunctionsIso_CeilingRequestBuilder.java | 48 +- .../WorkbookFunctionsIspmtRequest.java | 60 +- .../WorkbookFunctionsIspmtRequestBuilder.java | 58 +- .../WorkbookFunctionsIsrefRequest.java | 60 +- .../WorkbookFunctionsIsrefRequestBuilder.java | 43 +- .../WorkbookFunctionsKurtRequest.java | 60 +- .../WorkbookFunctionsKurtRequestBuilder.java | 43 +- .../WorkbookFunctionsLargeRequest.java | 60 +- .../WorkbookFunctionsLargeRequestBuilder.java | 48 +- .../WorkbookFunctionsLcmRequest.java | 60 +- .../WorkbookFunctionsLcmRequestBuilder.java | 43 +- .../WorkbookFunctionsLeftRequest.java | 60 +- .../WorkbookFunctionsLeftRequestBuilder.java | 48 +- .../WorkbookFunctionsLeftbRequest.java | 60 +- .../WorkbookFunctionsLeftbRequestBuilder.java | 48 +- .../WorkbookFunctionsLenRequest.java | 60 +- .../WorkbookFunctionsLenRequestBuilder.java | 43 +- .../WorkbookFunctionsLenbRequest.java | 60 +- .../WorkbookFunctionsLenbRequestBuilder.java | 43 +- .../WorkbookFunctionsLnRequest.java | 60 +- .../WorkbookFunctionsLnRequestBuilder.java | 43 +- .../WorkbookFunctionsLog10Request.java | 60 +- .../WorkbookFunctionsLog10RequestBuilder.java | 43 +- .../WorkbookFunctionsLogNorm_DistRequest.java | 60 +- ...okFunctionsLogNorm_DistRequestBuilder.java | 58 +- .../WorkbookFunctionsLogNorm_InvRequest.java | 60 +- ...ookFunctionsLogNorm_InvRequestBuilder.java | 53 +- .../WorkbookFunctionsLogRequest.java | 60 +- .../WorkbookFunctionsLogRequestBuilder.java | 48 +- .../WorkbookFunctionsLookupRequest.java | 60 +- ...WorkbookFunctionsLookupRequestBuilder.java | 53 +- .../WorkbookFunctionsLowerRequest.java | 60 +- .../WorkbookFunctionsLowerRequestBuilder.java | 43 +- .../WorkbookFunctionsMatchRequest.java | 60 +- .../WorkbookFunctionsMatchRequestBuilder.java | 53 +- .../WorkbookFunctionsMaxARequest.java | 60 +- .../WorkbookFunctionsMaxARequestBuilder.java | 43 +- .../WorkbookFunctionsMaxRequest.java | 60 +- .../WorkbookFunctionsMaxRequestBuilder.java | 43 +- .../WorkbookFunctionsMdurationRequest.java | 60 +- ...kbookFunctionsMdurationRequestBuilder.java | 68 +- .../WorkbookFunctionsMedianRequest.java | 60 +- ...WorkbookFunctionsMedianRequestBuilder.java | 43 +- .../WorkbookFunctionsMidRequest.java | 60 +- .../WorkbookFunctionsMidRequestBuilder.java | 53 +- .../WorkbookFunctionsMidbRequest.java | 60 +- .../WorkbookFunctionsMidbRequestBuilder.java | 53 +- .../WorkbookFunctionsMinARequest.java | 60 +- .../WorkbookFunctionsMinARequestBuilder.java | 43 +- .../WorkbookFunctionsMinRequest.java | 60 +- .../WorkbookFunctionsMinRequestBuilder.java | 43 +- .../WorkbookFunctionsMinuteRequest.java | 60 +- ...WorkbookFunctionsMinuteRequestBuilder.java | 43 +- .../WorkbookFunctionsMirrRequest.java | 60 +- .../WorkbookFunctionsMirrRequestBuilder.java | 53 +- .../WorkbookFunctionsModRequest.java | 60 +- .../WorkbookFunctionsModRequestBuilder.java | 48 +- .../WorkbookFunctionsMonthRequest.java | 60 +- .../WorkbookFunctionsMonthRequestBuilder.java | 43 +- .../WorkbookFunctionsMroundRequest.java | 60 +- ...WorkbookFunctionsMroundRequestBuilder.java | 48 +- .../WorkbookFunctionsMultiNomialRequest.java | 60 +- ...ookFunctionsMultiNomialRequestBuilder.java | 43 +- .../extensions/WorkbookFunctionsNRequest.java | 60 +- .../WorkbookFunctionsNRequestBuilder.java | 43 +- .../WorkbookFunctionsNaRequest.java | 58 +- .../WorkbookFunctionsNaRequestBuilder.java | 36 +- ...WorkbookFunctionsNegBinom_DistRequest.java | 60 +- ...kFunctionsNegBinom_DistRequestBuilder.java | 58 +- .../WorkbookFunctionsNetworkDaysRequest.java | 60 +- ...ookFunctionsNetworkDaysRequestBuilder.java | 53 +- ...kbookFunctionsNetworkDays_IntlRequest.java | 60 +- ...nctionsNetworkDays_IntlRequestBuilder.java | 58 +- .../WorkbookFunctionsNominalRequest.java | 60 +- ...orkbookFunctionsNominalRequestBuilder.java | 48 +- .../WorkbookFunctionsNorm_DistRequest.java | 60 +- ...kbookFunctionsNorm_DistRequestBuilder.java | 58 +- .../WorkbookFunctionsNorm_InvRequest.java | 60 +- ...rkbookFunctionsNorm_InvRequestBuilder.java | 53 +- .../WorkbookFunctionsNorm_S_DistRequest.java | 60 +- ...ookFunctionsNorm_S_DistRequestBuilder.java | 48 +- .../WorkbookFunctionsNorm_S_InvRequest.java | 60 +- ...bookFunctionsNorm_S_InvRequestBuilder.java | 43 +- .../WorkbookFunctionsNotRequest.java | 60 +- .../WorkbookFunctionsNotRequestBuilder.java | 43 +- .../WorkbookFunctionsNowRequest.java | 58 +- .../WorkbookFunctionsNowRequestBuilder.java | 36 +- .../WorkbookFunctionsNperRequest.java | 60 +- .../WorkbookFunctionsNperRequestBuilder.java | 63 +- .../WorkbookFunctionsNpvRequest.java | 60 +- .../WorkbookFunctionsNpvRequestBuilder.java | 48 +- .../WorkbookFunctionsNumberValueRequest.java | 60 +- ...ookFunctionsNumberValueRequestBuilder.java | 53 +- .../WorkbookFunctionsOct2BinRequest.java | 60 +- ...orkbookFunctionsOct2BinRequestBuilder.java | 48 +- .../WorkbookFunctionsOct2DecRequest.java | 60 +- ...orkbookFunctionsOct2DecRequestBuilder.java | 43 +- .../WorkbookFunctionsOct2HexRequest.java | 60 +- ...orkbookFunctionsOct2HexRequestBuilder.java | 48 +- .../WorkbookFunctionsOddFPriceRequest.java | 60 +- ...kbookFunctionsOddFPriceRequestBuilder.java | 83 +- .../WorkbookFunctionsOddFYieldRequest.java | 60 +- ...kbookFunctionsOddFYieldRequestBuilder.java | 83 +- .../WorkbookFunctionsOddLPriceRequest.java | 60 +- ...kbookFunctionsOddLPriceRequestBuilder.java | 78 +- .../WorkbookFunctionsOddLYieldRequest.java | 60 +- ...kbookFunctionsOddLYieldRequestBuilder.java | 78 +- .../WorkbookFunctionsOddRequest.java | 60 +- .../WorkbookFunctionsOddRequestBuilder.java | 43 +- .../WorkbookFunctionsOrRequest.java | 60 +- .../WorkbookFunctionsOrRequestBuilder.java | 43 +- .../WorkbookFunctionsPdurationRequest.java | 60 +- ...kbookFunctionsPdurationRequestBuilder.java | 53 +- ...rkbookFunctionsPercentRank_ExcRequest.java | 60 +- ...unctionsPercentRank_ExcRequestBuilder.java | 53 +- ...rkbookFunctionsPercentRank_IncRequest.java | 60 +- ...unctionsPercentRank_IncRequestBuilder.java | 53 +- ...orkbookFunctionsPercentile_ExcRequest.java | 60 +- ...FunctionsPercentile_ExcRequestBuilder.java | 48 +- ...orkbookFunctionsPercentile_IncRequest.java | 60 +- ...FunctionsPercentile_IncRequestBuilder.java | 48 +- .../WorkbookFunctionsPermutRequest.java | 60 +- ...WorkbookFunctionsPermutRequestBuilder.java | 48 +- .../WorkbookFunctionsPermutationaRequest.java | 60 +- ...okFunctionsPermutationaRequestBuilder.java | 48 +- .../WorkbookFunctionsPhiRequest.java | 60 +- .../WorkbookFunctionsPhiRequestBuilder.java | 43 +- .../WorkbookFunctionsPiRequest.java | 58 +- .../WorkbookFunctionsPiRequestBuilder.java | 36 +- .../WorkbookFunctionsPmtRequest.java | 60 +- .../WorkbookFunctionsPmtRequestBuilder.java | 63 +- .../WorkbookFunctionsPoisson_DistRequest.java | 60 +- ...okFunctionsPoisson_DistRequestBuilder.java | 53 +- .../WorkbookFunctionsPowerRequest.java | 60 +- .../WorkbookFunctionsPowerRequestBuilder.java | 48 +- .../WorkbookFunctionsPpmtRequest.java | 60 +- .../WorkbookFunctionsPpmtRequestBuilder.java | 68 +- .../WorkbookFunctionsPriceDiscRequest.java | 60 +- ...kbookFunctionsPriceDiscRequestBuilder.java | 63 +- .../WorkbookFunctionsPriceMatRequest.java | 60 +- ...rkbookFunctionsPriceMatRequestBuilder.java | 68 +- .../WorkbookFunctionsPriceRequest.java | 60 +- .../WorkbookFunctionsPriceRequestBuilder.java | 73 +- .../WorkbookFunctionsProductRequest.java | 60 +- ...orkbookFunctionsProductRequestBuilder.java | 43 +- .../WorkbookFunctionsProperRequest.java | 60 +- ...WorkbookFunctionsProperRequestBuilder.java | 43 +- .../WorkbookFunctionsPvRequest.java | 60 +- .../WorkbookFunctionsPvRequestBuilder.java | 63 +- .../WorkbookFunctionsQuartile_ExcRequest.java | 60 +- ...okFunctionsQuartile_ExcRequestBuilder.java | 48 +- .../WorkbookFunctionsQuartile_IncRequest.java | 60 +- ...okFunctionsQuartile_IncRequestBuilder.java | 48 +- .../WorkbookFunctionsQuotientRequest.java | 60 +- ...rkbookFunctionsQuotientRequestBuilder.java | 48 +- .../WorkbookFunctionsRadiansRequest.java | 60 +- ...orkbookFunctionsRadiansRequestBuilder.java | 43 +- .../WorkbookFunctionsRandBetweenRequest.java | 60 +- ...ookFunctionsRandBetweenRequestBuilder.java | 48 +- .../WorkbookFunctionsRandRequest.java | 58 +- .../WorkbookFunctionsRandRequestBuilder.java | 36 +- .../WorkbookFunctionsRank_AvgRequest.java | 60 +- ...rkbookFunctionsRank_AvgRequestBuilder.java | 53 +- .../WorkbookFunctionsRank_EqRequest.java | 60 +- ...orkbookFunctionsRank_EqRequestBuilder.java | 53 +- .../WorkbookFunctionsRateRequest.java | 60 +- .../WorkbookFunctionsRateRequestBuilder.java | 68 +- .../WorkbookFunctionsReceivedRequest.java | 60 +- ...rkbookFunctionsReceivedRequestBuilder.java | 63 +- .../WorkbookFunctionsReplaceBRequest.java | 60 +- ...rkbookFunctionsReplaceBRequestBuilder.java | 58 +- .../WorkbookFunctionsReplaceRequest.java | 60 +- ...orkbookFunctionsReplaceRequestBuilder.java | 58 +- .../WorkbookFunctionsReptRequest.java | 60 +- .../WorkbookFunctionsReptRequestBuilder.java | 48 +- .../extensions/WorkbookFunctionsRequest.java | 119 +- .../WorkbookFunctionsRequestBuilder.java | 2227 +++++++++++++++- .../WorkbookFunctionsRightRequest.java | 60 +- .../WorkbookFunctionsRightRequestBuilder.java | 48 +- .../WorkbookFunctionsRightbRequest.java | 60 +- ...WorkbookFunctionsRightbRequestBuilder.java | 48 +- .../WorkbookFunctionsRomanRequest.java | 60 +- .../WorkbookFunctionsRomanRequestBuilder.java | 48 +- .../WorkbookFunctionsRoundDownRequest.java | 60 +- ...kbookFunctionsRoundDownRequestBuilder.java | 48 +- .../WorkbookFunctionsRoundRequest.java | 60 +- .../WorkbookFunctionsRoundRequestBuilder.java | 48 +- .../WorkbookFunctionsRoundUpRequest.java | 60 +- ...orkbookFunctionsRoundUpRequestBuilder.java | 48 +- .../WorkbookFunctionsRowsRequest.java | 60 +- .../WorkbookFunctionsRowsRequestBuilder.java | 43 +- .../WorkbookFunctionsRriRequest.java | 60 +- .../WorkbookFunctionsRriRequestBuilder.java | 53 +- .../WorkbookFunctionsSecRequest.java | 60 +- .../WorkbookFunctionsSecRequestBuilder.java | 43 +- .../WorkbookFunctionsSechRequest.java | 60 +- .../WorkbookFunctionsSechRequestBuilder.java | 43 +- .../WorkbookFunctionsSecondRequest.java | 60 +- ...WorkbookFunctionsSecondRequestBuilder.java | 43 +- .../WorkbookFunctionsSeriesSumRequest.java | 60 +- ...kbookFunctionsSeriesSumRequestBuilder.java | 58 +- .../WorkbookFunctionsSheetRequest.java | 60 +- .../WorkbookFunctionsSheetRequestBuilder.java | 43 +- .../WorkbookFunctionsSheetsRequest.java | 60 +- ...WorkbookFunctionsSheetsRequestBuilder.java | 43 +- .../WorkbookFunctionsSignRequest.java | 60 +- .../WorkbookFunctionsSignRequestBuilder.java | 43 +- .../WorkbookFunctionsSinRequest.java | 60 +- .../WorkbookFunctionsSinRequestBuilder.java | 43 +- .../WorkbookFunctionsSinhRequest.java | 60 +- .../WorkbookFunctionsSinhRequestBuilder.java | 43 +- .../WorkbookFunctionsSkewRequest.java | 60 +- .../WorkbookFunctionsSkewRequestBuilder.java | 43 +- .../WorkbookFunctionsSkew_pRequest.java | 60 +- ...WorkbookFunctionsSkew_pRequestBuilder.java | 43 +- .../WorkbookFunctionsSlnRequest.java | 60 +- .../WorkbookFunctionsSlnRequestBuilder.java | 53 +- .../WorkbookFunctionsSmallRequest.java | 60 +- .../WorkbookFunctionsSmallRequestBuilder.java | 48 +- .../WorkbookFunctionsSqrtPiRequest.java | 60 +- ...WorkbookFunctionsSqrtPiRequestBuilder.java | 43 +- .../WorkbookFunctionsSqrtRequest.java | 60 +- .../WorkbookFunctionsSqrtRequestBuilder.java | 43 +- .../WorkbookFunctionsStDevARequest.java | 60 +- ...WorkbookFunctionsStDevARequestBuilder.java | 43 +- .../WorkbookFunctionsStDevPARequest.java | 60 +- ...orkbookFunctionsStDevPARequestBuilder.java | 43 +- .../WorkbookFunctionsStDev_PRequest.java | 60 +- ...orkbookFunctionsStDev_PRequestBuilder.java | 43 +- .../WorkbookFunctionsStDev_SRequest.java | 60 +- ...orkbookFunctionsStDev_SRequestBuilder.java | 43 +- .../WorkbookFunctionsStandardizeRequest.java | 60 +- ...ookFunctionsStandardizeRequestBuilder.java | 53 +- .../WorkbookFunctionsSubstituteRequest.java | 60 +- ...bookFunctionsSubstituteRequestBuilder.java | 58 +- .../WorkbookFunctionsSubtotalRequest.java | 60 +- ...rkbookFunctionsSubtotalRequestBuilder.java | 48 +- .../WorkbookFunctionsSumIfRequest.java | 60 +- .../WorkbookFunctionsSumIfRequestBuilder.java | 53 +- .../WorkbookFunctionsSumIfsRequest.java | 60 +- ...WorkbookFunctionsSumIfsRequestBuilder.java | 48 +- .../WorkbookFunctionsSumRequest.java | 60 +- .../WorkbookFunctionsSumRequestBuilder.java | 43 +- .../WorkbookFunctionsSumSqRequest.java | 60 +- .../WorkbookFunctionsSumSqRequestBuilder.java | 43 +- .../WorkbookFunctionsSydRequest.java | 60 +- .../WorkbookFunctionsSydRequestBuilder.java | 58 +- .../extensions/WorkbookFunctionsTRequest.java | 60 +- .../WorkbookFunctionsTRequestBuilder.java | 43 +- .../WorkbookFunctionsT_DistRequest.java | 60 +- ...WorkbookFunctionsT_DistRequestBuilder.java | 53 +- .../WorkbookFunctionsT_Dist_2TRequest.java | 60 +- ...kbookFunctionsT_Dist_2TRequestBuilder.java | 48 +- .../WorkbookFunctionsT_Dist_RTRequest.java | 60 +- ...kbookFunctionsT_Dist_RTRequestBuilder.java | 48 +- .../WorkbookFunctionsT_InvRequest.java | 60 +- .../WorkbookFunctionsT_InvRequestBuilder.java | 48 +- .../WorkbookFunctionsT_Inv_2TRequest.java | 60 +- ...rkbookFunctionsT_Inv_2TRequestBuilder.java | 48 +- .../WorkbookFunctionsTanRequest.java | 60 +- .../WorkbookFunctionsTanRequestBuilder.java | 43 +- .../WorkbookFunctionsTanhRequest.java | 60 +- .../WorkbookFunctionsTanhRequestBuilder.java | 43 +- .../WorkbookFunctionsTbillEqRequest.java | 60 +- ...orkbookFunctionsTbillEqRequestBuilder.java | 53 +- .../WorkbookFunctionsTbillPriceRequest.java | 60 +- ...bookFunctionsTbillPriceRequestBuilder.java | 53 +- .../WorkbookFunctionsTbillYieldRequest.java | 60 +- ...bookFunctionsTbillYieldRequestBuilder.java | 53 +- .../WorkbookFunctionsTextRequest.java | 60 +- .../WorkbookFunctionsTextRequestBuilder.java | 48 +- .../WorkbookFunctionsTimeRequest.java | 60 +- .../WorkbookFunctionsTimeRequestBuilder.java | 53 +- .../WorkbookFunctionsTimevalueRequest.java | 60 +- ...kbookFunctionsTimevalueRequestBuilder.java | 43 +- .../WorkbookFunctionsTodayRequest.java | 58 +- .../WorkbookFunctionsTodayRequestBuilder.java | 36 +- .../WorkbookFunctionsTrimMeanRequest.java | 60 +- ...rkbookFunctionsTrimMeanRequestBuilder.java | 48 +- .../WorkbookFunctionsTrimRequest.java | 60 +- .../WorkbookFunctionsTrimRequestBuilder.java | 43 +- .../WorkbookFunctionsTrueRequest.java | 58 +- .../WorkbookFunctionsTrueRequestBuilder.java | 36 +- .../WorkbookFunctionsTruncRequest.java | 60 +- .../WorkbookFunctionsTruncRequestBuilder.java | 48 +- .../WorkbookFunctionsTypeRequest.java | 60 +- .../WorkbookFunctionsTypeRequestBuilder.java | 43 +- .../WorkbookFunctionsUnicharRequest.java | 60 +- ...orkbookFunctionsUnicharRequestBuilder.java | 43 +- .../WorkbookFunctionsUnicodeRequest.java | 60 +- ...orkbookFunctionsUnicodeRequestBuilder.java | 43 +- .../WorkbookFunctionsUpperRequest.java | 60 +- .../WorkbookFunctionsUpperRequestBuilder.java | 43 +- .../WorkbookFunctionsUsdollarRequest.java | 60 +- ...rkbookFunctionsUsdollarRequestBuilder.java | 48 +- .../WorkbookFunctionsValueRequest.java | 60 +- .../WorkbookFunctionsValueRequestBuilder.java | 43 +- .../WorkbookFunctionsVarARequest.java | 60 +- .../WorkbookFunctionsVarARequestBuilder.java | 43 +- .../WorkbookFunctionsVarPARequest.java | 60 +- .../WorkbookFunctionsVarPARequestBuilder.java | 43 +- .../WorkbookFunctionsVar_PRequest.java | 60 +- .../WorkbookFunctionsVar_PRequestBuilder.java | 43 +- .../WorkbookFunctionsVar_SRequest.java | 60 +- .../WorkbookFunctionsVar_SRequestBuilder.java | 43 +- .../WorkbookFunctionsVdbRequest.java | 60 +- .../WorkbookFunctionsVdbRequestBuilder.java | 73 +- .../WorkbookFunctionsVlookupRequest.java | 60 +- ...orkbookFunctionsVlookupRequestBuilder.java | 58 +- .../WorkbookFunctionsWeekNumRequest.java | 60 +- ...orkbookFunctionsWeekNumRequestBuilder.java | 48 +- .../WorkbookFunctionsWeekdayRequest.java | 60 +- ...orkbookFunctionsWeekdayRequestBuilder.java | 48 +- .../WorkbookFunctionsWeibull_DistRequest.java | 60 +- ...okFunctionsWeibull_DistRequestBuilder.java | 58 +- .../WorkbookFunctionsWorkDayRequest.java | 60 +- ...orkbookFunctionsWorkDayRequestBuilder.java | 53 +- .../WorkbookFunctionsWorkDay_IntlRequest.java | 60 +- ...okFunctionsWorkDay_IntlRequestBuilder.java | 58 +- .../WorkbookFunctionsXirrRequest.java | 60 +- .../WorkbookFunctionsXirrRequestBuilder.java | 53 +- .../WorkbookFunctionsXnpvRequest.java | 60 +- .../WorkbookFunctionsXnpvRequestBuilder.java | 53 +- .../WorkbookFunctionsXorRequest.java | 60 +- .../WorkbookFunctionsXorRequestBuilder.java | 43 +- .../WorkbookFunctionsYearFracRequest.java | 60 +- ...rkbookFunctionsYearFracRequestBuilder.java | 53 +- .../WorkbookFunctionsYearRequest.java | 60 +- .../WorkbookFunctionsYearRequestBuilder.java | 43 +- .../WorkbookFunctionsYieldDiscRequest.java | 60 +- ...kbookFunctionsYieldDiscRequestBuilder.java | 63 +- .../WorkbookFunctionsYieldMatRequest.java | 60 +- ...rkbookFunctionsYieldMatRequestBuilder.java | 68 +- .../WorkbookFunctionsYieldRequest.java | 60 +- .../WorkbookFunctionsYieldRequestBuilder.java | 73 +- .../WorkbookFunctionsZ_TestRequest.java | 60 +- ...WorkbookFunctionsZ_TestRequestBuilder.java | 53 +- ...rkbookNamedItemAddFormulaLocalRequest.java | 60 +- ...amedItemAddFormulaLocalRequestBuilder.java | 53 +- .../WorkbookNamedItemAddRequest.java | 60 +- .../WorkbookNamedItemAddRequestBuilder.java | 53 +- .../WorkbookNamedItemCollectionPage.java | 20 +- .../WorkbookNamedItemCollectionRequest.java | 102 +- ...bookNamedItemCollectionRequestBuilder.java | 40 +- .../WorkbookNamedItemCollectionResponse.java | 90 + .../WorkbookNamedItemRangeRequest.java | 98 +- .../WorkbookNamedItemRangeRequestBuilder.java | 40 +- .../extensions/WorkbookNamedItemRequest.java | 119 +- .../WorkbookNamedItemRequestBuilder.java | 48 +- .../WorkbookPivotTableCollectionPage.java | 20 +- .../WorkbookPivotTableCollectionRequest.java | 102 +- ...ookPivotTableCollectionRequestBuilder.java | 36 +- .../WorkbookPivotTableCollectionResponse.java | 90 + .../WorkbookPivotTableRefreshAllRequest.java | 44 +- ...ookPivotTableRefreshAllRequestBuilder.java | 36 +- .../WorkbookPivotTableRefreshRequest.java | 44 +- ...rkbookPivotTableRefreshRequestBuilder.java | 36 +- .../extensions/WorkbookPivotTableRequest.java | 119 +- .../WorkbookPivotTableRequestBuilder.java | 48 +- .../WorkbookProcessQueryRequest.java | 59 +- .../WorkbookProcessQueryRequestBuilder.java | 43 +- .../WorkbookRangeBorderCollectionPage.java | 20 +- .../WorkbookRangeBorderCollectionRequest.java | 102 +- ...okRangeBorderCollectionRequestBuilder.java | 40 +- ...WorkbookRangeBorderCollectionResponse.java | 90 + .../WorkbookRangeBorderCountRequest.java | 57 +- ...orkbookRangeBorderCountRequestBuilder.java | 40 +- .../WorkbookRangeBorderItemAtRequest.java | 98 +- ...rkbookRangeBorderItemAtRequestBuilder.java | 43 +- .../WorkbookRangeBorderRequest.java | 119 +- .../WorkbookRangeBorderRequestBuilder.java | 31 +- .../WorkbookRangeBoundingRectRequest.java | 98 +- ...rkbookRangeBoundingRectRequestBuilder.java | 43 +- .../extensions/WorkbookRangeCellRequest.java | 98 +- .../WorkbookRangeCellRequestBuilder.java | 44 +- .../extensions/WorkbookRangeClearRequest.java | 59 +- .../WorkbookRangeClearRequestBuilder.java | 43 +- .../WorkbookRangeColumnRequest.java | 98 +- .../WorkbookRangeColumnRequestBuilder.java | 43 +- .../WorkbookRangeColumnsAfterRequest.java | 98 +- ...rkbookRangeColumnsAfterRequestBuilder.java | 44 +- .../WorkbookRangeColumnsBeforeRequest.java | 98 +- ...kbookRangeColumnsBeforeRequestBuilder.java | 44 +- .../WorkbookRangeDeleteRequest.java | 59 +- .../WorkbookRangeDeleteRequestBuilder.java | 43 +- .../WorkbookRangeEntireColumnRequest.java | 98 +- ...rkbookRangeEntireColumnRequestBuilder.java | 40 +- .../WorkbookRangeEntireRowRequest.java | 98 +- .../WorkbookRangeEntireRowRequestBuilder.java | 40 +- .../WorkbookRangeFillClearRequest.java | 44 +- .../WorkbookRangeFillClearRequestBuilder.java | 36 +- .../extensions/WorkbookRangeFillRequest.java | 119 +- .../WorkbookRangeFillRequestBuilder.java | 37 +- .../extensions/WorkbookRangeFontRequest.java | 119 +- .../WorkbookRangeFontRequestBuilder.java | 31 +- ...kbookRangeFormatAutofitColumnsRequest.java | 44 +- ...ngeFormatAutofitColumnsRequestBuilder.java | 36 +- ...WorkbookRangeFormatAutofitRowsRequest.java | 44 +- ...kRangeFormatAutofitRowsRequestBuilder.java | 36 +- .../WorkbookRangeFormatRequest.java | 119 +- .../WorkbookRangeFormatRequestBuilder.java | 87 +- .../WorkbookRangeInsertRequest.java | 60 +- .../WorkbookRangeInsertRequestBuilder.java | 43 +- .../WorkbookRangeIntersectionRequest.java | 98 +- ...rkbookRangeIntersectionRequestBuilder.java | 43 +- .../WorkbookRangeLastCellRequest.java | 98 +- .../WorkbookRangeLastCellRequestBuilder.java | 40 +- .../WorkbookRangeLastColumnRequest.java | 98 +- ...WorkbookRangeLastColumnRequestBuilder.java | 40 +- .../WorkbookRangeLastRowRequest.java | 98 +- .../WorkbookRangeLastRowRequestBuilder.java | 40 +- .../extensions/WorkbookRangeMergeRequest.java | 59 +- .../WorkbookRangeMergeRequestBuilder.java | 43 +- .../WorkbookRangeOffsetRangeRequest.java | 98 +- ...orkbookRangeOffsetRangeRequestBuilder.java | 44 +- .../extensions/WorkbookRangeRequest.java | 119 +- .../WorkbookRangeRequestBuilder.java | 232 +- .../WorkbookRangeResizedRangeRequest.java | 98 +- ...rkbookRangeResizedRangeRequestBuilder.java | 44 +- .../extensions/WorkbookRangeRowRequest.java | 98 +- .../WorkbookRangeRowRequestBuilder.java | 43 +- .../WorkbookRangeRowsAboveRequest.java | 98 +- .../WorkbookRangeRowsAboveRequestBuilder.java | 44 +- .../WorkbookRangeRowsBelowRequest.java | 98 +- .../WorkbookRangeRowsBelowRequestBuilder.java | 44 +- .../WorkbookRangeSortApplyRequest.java | 59 +- .../WorkbookRangeSortApplyRequestBuilder.java | 65 +- .../extensions/WorkbookRangeSortRequest.java | 119 +- .../WorkbookRangeSortRequestBuilder.java | 38 +- .../WorkbookRangeUnmergeRequest.java | 44 +- .../WorkbookRangeUnmergeRequestBuilder.java | 36 +- .../WorkbookRangeUsedRangeRequest.java | 98 +- .../WorkbookRangeUsedRangeRequestBuilder.java | 44 +- .../WorkbookRangeViewCollectionPage.java | 20 +- .../WorkbookRangeViewCollectionRequest.java | 102 +- ...bookRangeViewCollectionRequestBuilder.java | 36 +- .../WorkbookRangeViewCollectionResponse.java | 90 + .../WorkbookRangeViewItemAtRequest.java | 98 +- ...WorkbookRangeViewItemAtRequestBuilder.java | 43 +- .../WorkbookRangeViewRangeRequest.java | 98 +- .../WorkbookRangeViewRangeRequestBuilder.java | 40 +- .../extensions/WorkbookRangeViewRequest.java | 119 +- .../WorkbookRangeViewRequestBuilder.java | 48 +- .../WorkbookRangeVisibleViewRequest.java | 98 +- ...orkbookRangeVisibleViewRequestBuilder.java | 40 +- .../WorkbookRefreshSessionRequest.java | 44 +- .../WorkbookRefreshSessionRequestBuilder.java | 36 +- .../requests/extensions/WorkbookRequest.java | 119 +- .../extensions/WorkbookRequestBuilder.java | 110 +- .../extensions/WorkbookTableAddRequest.java | 60 +- .../WorkbookTableAddRequestBuilder.java | 48 +- .../WorkbookTableClearFiltersRequest.java | 44 +- ...rkbookTableClearFiltersRequestBuilder.java | 36 +- .../WorkbookTableCollectionPage.java | 20 +- .../WorkbookTableCollectionRequest.java | 102 +- ...WorkbookTableCollectionRequestBuilder.java | 44 +- .../WorkbookTableCollectionResponse.java | 90 + .../WorkbookTableColumnAddRequest.java | 60 +- .../WorkbookTableColumnAddRequestBuilder.java | 53 +- .../WorkbookTableColumnCollectionPage.java | 20 +- .../WorkbookTableColumnCollectionRequest.java | 102 +- ...okTableColumnCollectionRequestBuilder.java | 44 +- ...WorkbookTableColumnCollectionResponse.java | 90 + .../WorkbookTableColumnCountRequest.java | 57 +- ...orkbookTableColumnCountRequestBuilder.java | 40 +- ...rkbookTableColumnDataBodyRangeRequest.java | 98 +- ...ableColumnDataBodyRangeRequestBuilder.java | 40 +- ...kbookTableColumnHeaderRowRangeRequest.java | 98 +- ...bleColumnHeaderRowRangeRequestBuilder.java | 40 +- .../WorkbookTableColumnItemAtRequest.java | 98 +- ...rkbookTableColumnItemAtRequestBuilder.java | 43 +- .../WorkbookTableColumnRangeRequest.java | 98 +- ...orkbookTableColumnRangeRequestBuilder.java | 40 +- .../WorkbookTableColumnRequest.java | 119 +- .../WorkbookTableColumnRequestBuilder.java | 66 +- ...rkbookTableColumnTotalRowRangeRequest.java | 98 +- ...ableColumnTotalRowRangeRequestBuilder.java | 40 +- .../WorkbookTableConvertToRangeRequest.java | 58 +- ...bookTableConvertToRangeRequestBuilder.java | 36 +- .../extensions/WorkbookTableCountRequest.java | 57 +- .../WorkbookTableCountRequestBuilder.java | 40 +- .../WorkbookTableDataBodyRangeRequest.java | 98 +- ...kbookTableDataBodyRangeRequestBuilder.java | 40 +- .../WorkbookTableHeaderRowRangeRequest.java | 98 +- ...bookTableHeaderRowRangeRequestBuilder.java | 40 +- .../WorkbookTableItemAtRequest.java | 98 +- .../WorkbookTableItemAtRequestBuilder.java | 43 +- .../extensions/WorkbookTableRangeRequest.java | 98 +- .../WorkbookTableRangeRequestBuilder.java | 40 +- .../WorkbookTableReapplyFiltersRequest.java | 44 +- ...bookTableReapplyFiltersRequestBuilder.java | 36 +- .../extensions/WorkbookTableRequest.java | 119 +- .../WorkbookTableRequestBuilder.java | 117 +- .../WorkbookTableRowAddRequest.java | 60 +- .../WorkbookTableRowAddRequestBuilder.java | 48 +- .../WorkbookTableRowCollectionPage.java | 20 +- .../WorkbookTableRowCollectionRequest.java | 102 +- ...kbookTableRowCollectionRequestBuilder.java | 44 +- .../WorkbookTableRowCollectionResponse.java | 90 + .../WorkbookTableRowCountRequest.java | 57 +- .../WorkbookTableRowCountRequestBuilder.java | 40 +- .../WorkbookTableRowItemAtRequest.java | 98 +- .../WorkbookTableRowItemAtRequestBuilder.java | 43 +- .../WorkbookTableRowRangeRequest.java | 98 +- .../WorkbookTableRowRangeRequestBuilder.java | 40 +- .../extensions/WorkbookTableRowRequest.java | 119 +- .../WorkbookTableRowRequestBuilder.java | 37 +- .../WorkbookTableSortApplyRequest.java | 59 +- .../WorkbookTableSortApplyRequestBuilder.java | 55 +- .../WorkbookTableSortClearRequest.java | 44 +- .../WorkbookTableSortClearRequestBuilder.java | 36 +- .../WorkbookTableSortReapplyRequest.java | 44 +- ...orkbookTableSortReapplyRequestBuilder.java | 36 +- .../extensions/WorkbookTableSortRequest.java | 119 +- .../WorkbookTableSortRequestBuilder.java | 50 +- .../WorkbookTableTotalRowRangeRequest.java | 98 +- ...kbookTableTotalRowRangeRequestBuilder.java | 40 +- .../WorkbookWorksheetAddRequest.java | 60 +- .../WorkbookWorksheetAddRequestBuilder.java | 43 +- .../WorkbookWorksheetCellRequest.java | 98 +- .../WorkbookWorksheetCellRequestBuilder.java | 44 +- .../WorkbookWorksheetCollectionPage.java | 20 +- .../WorkbookWorksheetCollectionRequest.java | 102 +- ...bookWorksheetCollectionRequestBuilder.java | 36 +- .../WorkbookWorksheetCollectionResponse.java | 90 + ...bookWorksheetProtectionProtectRequest.java | 59 +- ...ksheetProtectionProtectRequestBuilder.java | 45 +- .../WorkbookWorksheetProtectionRequest.java | 119 +- ...bookWorksheetProtectionRequestBuilder.java | 44 +- ...okWorksheetProtectionUnprotectRequest.java | 44 +- ...heetProtectionUnprotectRequestBuilder.java | 36 +- .../WorkbookWorksheetRangeRequest.java | 98 +- .../WorkbookWorksheetRangeRequestBuilder.java | 44 +- .../extensions/WorkbookWorksheetRequest.java | 119 +- .../WorkbookWorksheetRequestBuilder.java | 116 +- .../WorkbookWorksheetUsedRangeRequest.java | 98 +- ...kbookWorksheetUsedRangeRequestBuilder.java | 44 +- ...BaseActivityHistoryItemCollectionPage.java | 27 - ...eActivityHistoryItemCollectionRequest.java | 116 - ...tyHistoryItemCollectionRequestBuilder.java | 49 - ...ActivityHistoryItemCollectionResponse.java | 90 - .../BaseActivityHistoryItemRequest.java | 142 -- ...BaseActivityHistoryItemRequestBuilder.java | 63 - .../BaseAdministrativeUnitRequest.java | 142 -- .../BaseAdministrativeUnitRequestBuilder.java | 52 - .../generated/BaseAlertCollectionPage.java | 27 - .../generated/BaseAlertCollectionRequest.java | 116 - .../BaseAlertCollectionRequestBuilder.java | 49 - .../BaseAlertCollectionResponse.java | 90 - .../requests/generated/BaseAlertRequest.java | 142 -- .../generated/BaseAlertRequestBuilder.java | 52 - .../BaseAndroidCompliancePolicyRequest.java | 142 -- ...AndroidCompliancePolicyRequestBuilder.java | 52 - ...BaseAndroidCustomConfigurationRequest.java | 142 -- ...roidCustomConfigurationRequestBuilder.java | 52 - ...roidGeneralDeviceConfigurationRequest.java | 142 -- ...eralDeviceConfigurationRequestBuilder.java | 52 - .../generated/BaseAndroidLobAppRequest.java | 142 -- .../BaseAndroidLobAppRequestBuilder.java | 52 - ...oidManagedAppProtectionCollectionPage.java | 27 - ...ManagedAppProtectionCollectionRequest.java | 116 - ...AppProtectionCollectionRequestBuilder.java | 49 - ...anagedAppProtectionCollectionResponse.java | 90 - ...aseAndroidManagedAppProtectionRequest.java | 142 -- ...oidManagedAppProtectionRequestBuilder.java | 74 - ...eAndroidManagedAppRegistrationRequest.java | 142 -- ...dManagedAppRegistrationRequestBuilder.java | 52 - .../generated/BaseAndroidStoreAppRequest.java | 142 -- .../BaseAndroidStoreAppRequestBuilder.java | 52 - ...oidWorkProfileCompliancePolicyRequest.java | 142 -- ...ProfileCompliancePolicyRequestBuilder.java | 52 - ...WorkProfileCustomConfigurationRequest.java | 142 -- ...fileCustomConfigurationRequestBuilder.java | 52 - ...fileGeneralDeviceConfigurationRequest.java | 142 -- ...eralDeviceConfigurationRequestBuilder.java | 52 - .../generated/BaseAppCatalogsRequest.java | 142 -- .../BaseAppCatalogsRequestBuilder.java | 63 - ...eviceFeaturesConfigurationBaseRequest.java | 142 -- ...aturesConfigurationBaseRequestBuilder.java | 52 - ...ationCertificateSigningRequestRequest.java | 77 - ...rtificateSigningRequestRequestBuilder.java | 62 - ...plePushNotificationCertificateRequest.java | 142 -- ...NotificationCertificateRequestBuilder.java | 58 - .../BaseAttachmentCollectionPage.java | 27 - .../BaseAttachmentCollectionRequest.java | 116 - ...aseAttachmentCollectionRequestBuilder.java | 49 - .../BaseAttachmentCollectionResponse.java | 90 - .../generated/BaseAttachmentRequest.java | 142 -- .../BaseAttachmentRequestBuilder.java | 52 - .../generated/BaseBaseItemCollectionPage.java | 27 - .../BaseBaseItemCollectionRequest.java | 116 - .../BaseBaseItemCollectionRequestBuilder.java | 49 - .../BaseBaseItemCollectionResponse.java | 90 - .../generated/BaseBaseItemRequest.java | 142 -- .../generated/BaseBaseItemRequestBuilder.java | 74 - .../generated/BaseBaseItemVersionRequest.java | 142 -- .../BaseBaseItemVersionRequestBuilder.java | 52 - .../generated/BaseCalendarCollectionPage.java | 27 - .../BaseCalendarCollectionRequest.java | 116 - .../BaseCalendarCollectionRequestBuilder.java | 49 - .../BaseCalendarCollectionResponse.java | 90 - .../BaseCalendarGroupCollectionPage.java | 27 - .../BaseCalendarGroupCollectionRequest.java | 116 - ...CalendarGroupCollectionRequestBuilder.java | 49 - .../BaseCalendarGroupCollectionResponse.java | 90 - .../generated/BaseCalendarGroupRequest.java | 142 -- .../BaseCalendarGroupRequestBuilder.java | 63 - .../generated/BaseCalendarRequest.java | 142 -- .../generated/BaseCalendarRequestBuilder.java | 96 - .../generated/BaseChannelCollectionPage.java | 27 - .../BaseChannelCollectionRequest.java | 116 - .../BaseChannelCollectionRequestBuilder.java | 49 - .../BaseChannelCollectionResponse.java | 90 - .../generated/BaseChannelRequest.java | 142 -- .../generated/BaseChannelRequestBuilder.java | 63 - .../BaseColumnDefinitionCollectionPage.java | 27 - ...BaseColumnDefinitionCollectionRequest.java | 116 - ...umnDefinitionCollectionRequestBuilder.java | 49 - ...aseColumnDefinitionCollectionResponse.java | 90 - .../BaseColumnDefinitionRequest.java | 142 -- .../BaseColumnDefinitionRequestBuilder.java | 52 - .../BaseColumnLinkCollectionPage.java | 27 - .../BaseColumnLinkCollectionRequest.java | 116 - ...aseColumnLinkCollectionRequestBuilder.java | 49 - .../BaseColumnLinkCollectionResponse.java | 90 - .../generated/BaseColumnLinkRequest.java | 142 -- .../BaseColumnLinkRequestBuilder.java | 52 - .../generated/BaseContactCollectionPage.java | 27 - .../BaseContactCollectionRequest.java | 116 - .../BaseContactCollectionRequestBuilder.java | 57 - .../BaseContactCollectionResponse.java | 90 - .../BaseContactDeltaCollectionPage.java | 59 - .../BaseContactDeltaCollectionRequest.java | 105 - ...eContactDeltaCollectionRequestBuilder.java | 54 - .../BaseContactDeltaCollectionResponse.java | 92 - .../BaseContactFolderCollectionPage.java | 27 - .../BaseContactFolderCollectionRequest.java | 116 - ...ContactFolderCollectionRequestBuilder.java | 57 - .../BaseContactFolderCollectionResponse.java | 90 - .../BaseContactFolderDeltaCollectionPage.java | 59 - ...seContactFolderDeltaCollectionRequest.java | 105 - ...ctFolderDeltaCollectionRequestBuilder.java | 54 - ...eContactFolderDeltaCollectionResponse.java | 92 - .../generated/BaseContactFolderRequest.java | 142 -- .../BaseContactFolderRequestBuilder.java | 96 - .../generated/BaseContactRequest.java | 142 -- .../generated/BaseContactRequestBuilder.java | 96 - .../BaseContentTypeCollectionPage.java | 27 - .../BaseContentTypeCollectionRequest.java | 116 - ...seContentTypeCollectionRequestBuilder.java | 49 - .../BaseContentTypeCollectionResponse.java | 90 - .../generated/BaseContentTypeRequest.java | 142 -- .../BaseContentTypeRequestBuilder.java | 63 - .../generated/BaseContractCollectionPage.java | 27 - .../BaseContractCollectionRequest.java | 116 - .../BaseContractCollectionRequestBuilder.java | 49 - .../BaseContractCollectionResponse.java | 90 - .../generated/BaseContractRequest.java | 142 -- .../generated/BaseContractRequestBuilder.java | 52 - .../BaseConversationCollectionPage.java | 27 - .../BaseConversationCollectionRequest.java | 116 - ...eConversationCollectionRequestBuilder.java | 49 - .../BaseConversationCollectionResponse.java | 90 - .../generated/BaseConversationRequest.java | 142 -- .../BaseConversationRequestBuilder.java | 63 - .../BaseConversationThreadCollectionPage.java | 27 - ...seConversationThreadCollectionRequest.java | 116 - ...rsationThreadCollectionRequestBuilder.java | 49 - ...eConversationThreadCollectionResponse.java | 90 - .../BaseConversationThreadReplyRequest.java | 79 - ...ConversationThreadReplyRequestBuilder.java | 65 - .../BaseConversationThreadRequest.java | 142 -- .../BaseConversationThreadRequestBuilder.java | 70 - ...BaseDataPolicyOperationCollectionPage.java | 27 - ...eDataPolicyOperationCollectionRequest.java | 116 - ...licyOperationCollectionRequestBuilder.java | 49 - ...DataPolicyOperationCollectionResponse.java | 90 - .../BaseDataPolicyOperationRequest.java | 142 -- ...BaseDataPolicyOperationRequestBuilder.java | 52 - ...ultManagedAppProtectionCollectionPage.java | 27 - ...ManagedAppProtectionCollectionRequest.java | 116 - ...AppProtectionCollectionRequestBuilder.java | 49 - ...anagedAppProtectionCollectionResponse.java | 90 - ...aseDefaultManagedAppProtectionRequest.java | 142 -- ...ultManagedAppProtectionRequestBuilder.java | 74 - .../BaseDetectedAppCollectionPage.java | 27 - .../BaseDetectedAppCollectionRequest.java | 116 - ...seDetectedAppCollectionRequestBuilder.java | 49 - .../BaseDetectedAppCollectionResponse.java | 90 - .../generated/BaseDetectedAppRequest.java | 142 -- .../BaseDetectedAppRequestBuilder.java | 63 - ...anagementRoleAssignmentCollectionPage.java | 27 - ...gementRoleAssignmentCollectionRequest.java | 116 - ...oleAssignmentCollectionRequestBuilder.java | 49 - ...ementRoleAssignmentCollectionResponse.java | 90 - ...AndAppManagementRoleAssignmentRequest.java | 142 -- ...anagementRoleAssignmentRequestBuilder.java | 52 - ...AndAppManagementRoleDefinitionRequest.java | 142 -- ...anagementRoleDefinitionRequestBuilder.java | 52 - .../BaseDeviceAppManagementRequest.java | 142 -- ...BaseDeviceAppManagementRequestBuilder.java | 212 -- ...cMicrosoftStoreForBusinessAppsRequest.java | 64 - ...oftStoreForBusinessAppsRequestBuilder.java | 58 - .../BaseDeviceCategoryCollectionPage.java | 27 - .../BaseDeviceCategoryCollectionRequest.java | 116 - ...eviceCategoryCollectionRequestBuilder.java | 49 - .../BaseDeviceCategoryCollectionResponse.java | 90 - .../generated/BaseDeviceCategoryRequest.java | 142 -- .../BaseDeviceCategoryRequestBuilder.java | 52 - .../generated/BaseDeviceCollectionPage.java | 27 - .../BaseDeviceCollectionRequest.java | 116 - .../BaseDeviceCollectionRequestBuilder.java | 49 - .../BaseDeviceCollectionResponse.java | 90 - ...iceComplianceActionItemCollectionPage.java | 27 - ...ComplianceActionItemCollectionRequest.java | 116 - ...nceActionItemCollectionRequestBuilder.java | 49 - ...omplianceActionItemCollectionResponse.java | 90 - ...BaseDeviceComplianceActionItemRequest.java | 142 -- ...iceComplianceActionItemRequestBuilder.java | 52 - ...DeviceComplianceDeviceOverviewRequest.java | 142 -- ...omplianceDeviceOverviewRequestBuilder.java | 52 - ...eComplianceDeviceStatusCollectionPage.java | 27 - ...mplianceDeviceStatusCollectionRequest.java | 116 - ...eDeviceStatusCollectionRequestBuilder.java | 49 - ...plianceDeviceStatusCollectionResponse.java | 90 - ...seDeviceComplianceDeviceStatusRequest.java | 142 -- ...eComplianceDeviceStatusRequestBuilder.java | 52 - ...eCompliancePolicyAssignCollectionPage.java | 39 - ...mpliancePolicyAssignCollectionRequest.java | 109 - ...ePolicyAssignCollectionRequestBuilder.java | 58 - ...pliancePolicyAssignCollectionResponse.java | 92 - ...pliancePolicyAssignmentCollectionPage.java | 27 - ...ancePolicyAssignmentCollectionRequest.java | 116 - ...icyAssignmentCollectionRequestBuilder.java | 49 - ...ncePolicyAssignmentCollectionResponse.java | 90 - ...viceCompliancePolicyAssignmentRequest.java | 142 -- ...pliancePolicyAssignmentRequestBuilder.java | 52 - ...eDeviceCompliancePolicyCollectionPage.java | 27 - ...viceCompliancePolicyCollectionRequest.java | 116 - ...pliancePolicyCollectionRequestBuilder.java | 49 - ...iceCompliancePolicyCollectionResponse.java | 90 - ...liancePolicyDeviceStateSummaryRequest.java | 142 -- ...olicyDeviceStateSummaryRequestBuilder.java | 52 - .../BaseDeviceCompliancePolicyRequest.java | 142 -- ...eDeviceCompliancePolicyRequestBuilder.java | 143 -- ...ePolicyScheduleActionsForRulesRequest.java | 79 - ...ScheduleActionsForRulesRequestBuilder.java | 65 - ...licySettingStateSummaryCollectionPage.java | 27 - ...ySettingStateSummaryCollectionRequest.java | 116 - ...gStateSummaryCollectionRequestBuilder.java | 49 - ...SettingStateSummaryCollectionResponse.java | 90 - ...iancePolicySettingStateSummaryRequest.java | 142 -- ...licySettingStateSummaryRequestBuilder.java | 63 - ...ceCompliancePolicyStateCollectionPage.java | 27 - ...ompliancePolicyStateCollectionRequest.java | 116 - ...cePolicyStateCollectionRequestBuilder.java | 49 - ...mpliancePolicyStateCollectionResponse.java | 90 - ...aseDeviceCompliancePolicyStateRequest.java | 142 -- ...ceCompliancePolicyStateRequestBuilder.java | 52 - ...eScheduledActionForRuleCollectionPage.java | 27 - ...heduledActionForRuleCollectionRequest.java | 116 - ...ActionForRuleCollectionRequestBuilder.java | 49 - ...eduledActionForRuleCollectionResponse.java | 90 - ...mplianceScheduledActionForRuleRequest.java | 142 -- ...eScheduledActionForRuleRequestBuilder.java | 63 - ...eComplianceSettingStateCollectionPage.java | 27 - ...mplianceSettingStateCollectionRequest.java | 116 - ...eSettingStateCollectionRequestBuilder.java | 49 - ...plianceSettingStateCollectionResponse.java | 90 - ...seDeviceComplianceSettingStateRequest.java | 142 -- ...eComplianceSettingStateRequestBuilder.java | 52 - ...seDeviceComplianceUserOverviewRequest.java | 142 -- ...eComplianceUserOverviewRequestBuilder.java | 52 - ...iceComplianceUserStatusCollectionPage.java | 27 - ...ComplianceUserStatusCollectionRequest.java | 116 - ...nceUserStatusCollectionRequestBuilder.java | 49 - ...omplianceUserStatusCollectionResponse.java | 90 - ...BaseDeviceComplianceUserStatusRequest.java | 142 -- ...iceComplianceUserStatusRequestBuilder.java | 52 - ...viceConfigurationAssignCollectionPage.java | 39 - ...eConfigurationAssignCollectionRequest.java | 109 - ...urationAssignCollectionRequestBuilder.java | 58 - ...ConfigurationAssignCollectionResponse.java | 92 - ...ConfigurationAssignmentCollectionPage.java | 27 - ...figurationAssignmentCollectionRequest.java | 116 - ...ionAssignmentCollectionRequestBuilder.java | 49 - ...igurationAssignmentCollectionResponse.java | 90 - ...eDeviceConfigurationAssignmentRequest.java | 142 -- ...ConfigurationAssignmentRequestBuilder.java | 52 - ...BaseDeviceConfigurationCollectionPage.java | 27 - ...eDeviceConfigurationCollectionRequest.java | 116 - ...ConfigurationCollectionRequestBuilder.java | 49 - ...DeviceConfigurationCollectionResponse.java | 90 - ...iceConfigurationDeviceOverviewRequest.java | 142 -- ...igurationDeviceOverviewRequestBuilder.java | 52 - ...onfigurationDeviceStateSummaryRequest.java | 142 -- ...ationDeviceStateSummaryRequestBuilder.java | 52 - ...nfigurationDeviceStatusCollectionPage.java | 27 - ...gurationDeviceStatusCollectionRequest.java | 116 - ...nDeviceStatusCollectionRequestBuilder.java | 49 - ...urationDeviceStatusCollectionResponse.java | 90 - ...eviceConfigurationDeviceStatusRequest.java | 142 -- ...nfigurationDeviceStatusRequestBuilder.java | 52 - .../BaseDeviceConfigurationRequest.java | 142 -- ...BaseDeviceConfigurationRequestBuilder.java | 125 - ...eviceConfigurationStateCollectionPage.java | 27 - ...ceConfigurationStateCollectionRequest.java | 116 - ...gurationStateCollectionRequestBuilder.java | 49 - ...eConfigurationStateCollectionResponse.java | 90 - .../BaseDeviceConfigurationStateRequest.java | 142 -- ...eviceConfigurationStateRequestBuilder.java | 52 - ...eviceConfigurationUserOverviewRequest.java | 142 -- ...nfigurationUserOverviewRequestBuilder.java | 52 - ...ConfigurationUserStatusCollectionPage.java | 27 - ...figurationUserStatusCollectionRequest.java | 116 - ...ionUserStatusCollectionRequestBuilder.java | 49 - ...igurationUserStatusCollectionResponse.java | 90 - ...eDeviceConfigurationUserStatusRequest.java | 142 -- ...ConfigurationUserStatusRequestBuilder.java | 52 - ...eEnrollmentConfigurationAssignRequest.java | 79 - ...mentConfigurationAssignRequestBuilder.java | 65 - ...EnrollmentConfigurationCollectionPage.java | 27 - ...ollmentConfigurationCollectionRequest.java | 116 - ...ConfigurationCollectionRequestBuilder.java | 49 - ...llmentConfigurationCollectionResponse.java | 90 - ...eDeviceEnrollmentConfigurationRequest.java | 142 -- ...EnrollmentConfigurationRequestBuilder.java | 76 - ...llmentConfigurationSetPriorityRequest.java | 79 - ...onfigurationSetPriorityRequestBuilder.java | 64 - ...ceEnrollmentLimitConfigurationRequest.java | 142 -- ...lmentLimitConfigurationRequestBuilder.java | 52 - ...tformRestrictionsConfigurationRequest.java | 142 -- ...strictionsConfigurationRequestBuilder.java | 52 - ...sHelloForBusinessConfigurationRequest.java | 142 -- ...orBusinessConfigurationRequestBuilder.java | 52 - .../BaseDeviceInstallStateCollectionPage.java | 27 - ...seDeviceInstallStateCollectionRequest.java | 116 - ...eInstallStateCollectionRequestBuilder.java | 49 - ...eDeviceInstallStateCollectionResponse.java | 90 - .../BaseDeviceInstallStateRequest.java | 142 -- .../BaseDeviceInstallStateRequestBuilder.java | 52 - ...gementExchangeConnectorCollectionPage.java | 27 - ...entExchangeConnectorCollectionRequest.java | 116 - ...angeConnectorCollectionRequestBuilder.java | 49 - ...ntExchangeConnectorCollectionResponse.java | 90 - ...iceManagementExchangeConnectorRequest.java | 142 -- ...gementExchangeConnectorRequestBuilder.java | 59 - ...anagementExchangeConnectorSyncRequest.java | 79 - ...ntExchangeConnectorSyncRequestBuilder.java | 65 - ...GetEffectivePermissionsCollectionPage.java | 39 - ...EffectivePermissionsCollectionRequest.java | 105 - ...vePermissionsCollectionRequestBuilder.java | 58 - ...ffectivePermissionsCollectionResponse.java | 92 - ...DeviceManagementPartnerCollectionPage.java | 27 - ...iceManagementPartnerCollectionRequest.java | 116 - ...gementPartnerCollectionRequestBuilder.java | 49 - ...ceManagementPartnerCollectionResponse.java | 90 - .../BaseDeviceManagementPartnerRequest.java | 142 -- ...DeviceManagementPartnerRequestBuilder.java | 52 - .../BaseDeviceManagementRequest.java | 142 -- .../BaseDeviceManagementRequestBuilder.java | 361 --- ...entTroubleshootingEventCollectionPage.java | 27 - ...TroubleshootingEventCollectionRequest.java | 116 - ...shootingEventCollectionRequestBuilder.java | 49 - ...roubleshootingEventCollectionResponse.java | 90 - ...ManagementTroubleshootingEventRequest.java | 142 -- ...entTroubleshootingEventRequestBuilder.java | 52 - ...WindowsEnrollmentAutoDiscoveryRequest.java | 77 - ...EnrollmentAutoDiscoveryRequestBuilder.java | 64 - .../requests/generated/BaseDeviceRequest.java | 142 -- .../generated/BaseDeviceRequestBuilder.java | 96 - ...ObjectCheckMemberGroupsCollectionPage.java | 39 - ...ectCheckMemberGroupsCollectionRequest.java | 109 - ...kMemberGroupsCollectionRequestBuilder.java | 58 - ...ctCheckMemberGroupsCollectionResponse.java | 85 - .../BaseDirectoryObjectCollectionPage.java | 27 - ...ctoryObjectCollectionReferenceRequest.java | 86 - ...jectCollectionReferenceRequestBuilder.java | 45 - .../BaseDirectoryObjectCollectionRequest.java | 116 - ...rectoryObjectCollectionRequestBuilder.java | 53 - ...BaseDirectoryObjectCollectionResponse.java | 90 - ...oryObjectCollectionWithReferencesPage.java | 40 - ...ObjectCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - ...DirectoryObjectGetByIdsCollectionPage.java | 39 - ...ectoryObjectGetByIdsCollectionRequest.java | 109 - ...bjectGetByIdsCollectionRequestBuilder.java | 65 - ...ctoryObjectGetByIdsCollectionResponse.java | 92 - ...ryObjectGetMemberGroupsCollectionPage.java | 39 - ...bjectGetMemberGroupsCollectionRequest.java | 109 - ...tMemberGroupsCollectionRequestBuilder.java | 58 - ...jectGetMemberGroupsCollectionResponse.java | 85 - ...yObjectGetMemberObjectsCollectionPage.java | 39 - ...jectGetMemberObjectsCollectionRequest.java | 109 - ...MemberObjectsCollectionRequestBuilder.java | 58 - ...ectGetMemberObjectsCollectionResponse.java | 85 - .../BaseDirectoryObjectReferenceRequest.java | 87 - ...irectoryObjectReferenceRequestBuilder.java | 57 - .../generated/BaseDirectoryObjectRequest.java | 142 -- .../BaseDirectoryObjectRequestBuilder.java | 76 - .../BaseDirectoryObjectRestoreRequest.java | 78 - ...eDirectoryObjectRestoreRequestBuilder.java | 58 - ...seDirectoryObjectWithReferenceRequest.java | 96 - ...toryObjectWithReferenceRequestBuilder.java | 61 - .../generated/BaseDirectoryRequest.java | 142 -- .../BaseDirectoryRequestBuilder.java | 63 - .../BaseDirectoryRoleCollectionPage.java | 27 - .../BaseDirectoryRoleCollectionRequest.java | 116 - ...DirectoryRoleCollectionRequestBuilder.java | 57 - .../BaseDirectoryRoleCollectionResponse.java | 90 - .../BaseDirectoryRoleDeltaCollectionPage.java | 59 - ...seDirectoryRoleDeltaCollectionRequest.java | 105 - ...toryRoleDeltaCollectionRequestBuilder.java | 54 - ...eDirectoryRoleDeltaCollectionResponse.java | 92 - .../generated/BaseDirectoryRoleRequest.java | 142 -- .../BaseDirectoryRoleRequestBuilder.java | 63 - ...seDirectoryRoleTemplateCollectionPage.java | 27 - ...irectoryRoleTemplateCollectionRequest.java | 116 - ...yRoleTemplateCollectionRequestBuilder.java | 49 - ...rectoryRoleTemplateCollectionResponse.java | 90 - .../BaseDirectoryRoleTemplateRequest.java | 142 -- ...seDirectoryRoleTemplateRequestBuilder.java | 52 - .../generated/BaseDomainCollectionPage.java | 27 - .../BaseDomainCollectionRequest.java | 116 - .../BaseDomainCollectionRequestBuilder.java | 49 - .../BaseDomainCollectionResponse.java | 90 - .../BaseDomainDnsCnameRecordRequest.java | 142 -- ...aseDomainDnsCnameRecordRequestBuilder.java | 52 - .../BaseDomainDnsMxRecordRequest.java | 142 -- .../BaseDomainDnsMxRecordRequestBuilder.java | 52 - .../BaseDomainDnsRecordCollectionPage.java | 27 - .../BaseDomainDnsRecordCollectionRequest.java | 116 - ...mainDnsRecordCollectionRequestBuilder.java | 49 - ...BaseDomainDnsRecordCollectionResponse.java | 90 - .../generated/BaseDomainDnsRecordRequest.java | 142 -- .../BaseDomainDnsRecordRequestBuilder.java | 52 - .../BaseDomainDnsSrvRecordRequest.java | 142 -- .../BaseDomainDnsSrvRecordRequestBuilder.java | 52 - .../BaseDomainDnsTxtRecordRequest.java | 142 -- .../BaseDomainDnsTxtRecordRequestBuilder.java | 52 - ...BaseDomainDnsUnavailableRecordRequest.java | 142 -- ...ainDnsUnavailableRecordRequestBuilder.java | 52 - .../BaseDomainForceDeleteRequest.java | 79 - .../BaseDomainForceDeleteRequestBuilder.java | 64 - .../requests/generated/BaseDomainRequest.java | 142 -- .../generated/BaseDomainRequestBuilder.java | 97 - .../generated/BaseDomainVerifyRequest.java | 78 - .../BaseDomainVerifyRequestBuilder.java | 58 - .../generated/BaseDriveCollectionPage.java | 27 - .../generated/BaseDriveCollectionRequest.java | 116 - .../BaseDriveCollectionRequestBuilder.java | 49 - .../BaseDriveCollectionResponse.java | 90 - .../BaseDriveItemCollectionPage.java | 27 - .../BaseDriveItemCollectionRequest.java | 116 - ...BaseDriveItemCollectionRequestBuilder.java | 49 - .../BaseDriveItemCollectionResponse.java | 90 - .../generated/BaseDriveItemCopyRequest.java | 80 - .../BaseDriveItemCopyRequestBuilder.java | 71 - .../BaseDriveItemCreateLinkRequest.java | 80 - ...BaseDriveItemCreateLinkRequestBuilder.java | 70 - ...seDriveItemCreateUploadSessionRequest.java | 80 - ...ItemCreateUploadSessionRequestBuilder.java | 65 - .../BaseDriveItemDeltaCollectionPage.java | 59 - .../BaseDriveItemDeltaCollectionRequest.java | 105 - ...riveItemDeltaCollectionRequestBuilder.java | 68 - .../BaseDriveItemDeltaCollectionResponse.java | 92 - .../BaseDriveItemInviteCollectionPage.java | 39 - .../BaseDriveItemInviteCollectionRequest.java | 109 - ...iveItemInviteCollectionRequestBuilder.java | 86 - ...BaseDriveItemInviteCollectionResponse.java | 92 - .../BaseDriveItemPreviewRequest.java | 80 - .../BaseDriveItemPreviewRequestBuilder.java | 70 - .../generated/BaseDriveItemRequest.java | 142 -- .../BaseDriveItemRequestBuilder.java | 175 -- .../BaseDriveItemSearchCollectionPage.java | 39 - .../BaseDriveItemSearchCollectionRequest.java | 105 - ...iveItemSearchCollectionRequestBuilder.java | 58 - ...BaseDriveItemSearchCollectionResponse.java | 92 - .../generated/BaseDriveItemStreamRequest.java | 84 - .../BaseDriveItemStreamRequestBuilder.java | 52 - .../BaseDriveItemVersionCollectionPage.java | 27 - ...BaseDriveItemVersionCollectionRequest.java | 116 - ...veItemVersionCollectionRequestBuilder.java | 49 - ...aseDriveItemVersionCollectionResponse.java | 90 - .../BaseDriveItemVersionRequest.java | 142 -- .../BaseDriveItemVersionRequestBuilder.java | 64 - ...DriveItemVersionRestoreVersionRequest.java | 64 - ...emVersionRestoreVersionRequestBuilder.java | 58 - .../BaseDriveItemVersionStreamRequest.java | 84 - ...eDriveItemVersionStreamRequestBuilder.java | 52 - .../BaseDriveRecentCollectionPage.java | 39 - .../BaseDriveRecentCollectionRequest.java | 105 - ...seDriveRecentCollectionRequestBuilder.java | 54 - .../BaseDriveRecentCollectionResponse.java | 92 - .../requests/generated/BaseDriveRequest.java | 142 -- .../generated/BaseDriveRequestBuilder.java | 114 - .../BaseDriveSearchCollectionPage.java | 39 - .../BaseDriveSearchCollectionRequest.java | 105 - ...seDriveSearchCollectionRequestBuilder.java | 58 - .../BaseDriveSearchCollectionResponse.java | 92 - .../BaseDriveSharedWithMeCollectionPage.java | 39 - ...aseDriveSharedWithMeCollectionRequest.java | 105 - ...eSharedWithMeCollectionRequestBuilder.java | 54 - ...seDriveSharedWithMeCollectionResponse.java | 92 - .../BaseEBookInstallSummaryRequest.java | 142 -- ...BaseEBookInstallSummaryRequestBuilder.java | 52 - ...aseEditionUpgradeConfigurationRequest.java | 142 -- ...ionUpgradeConfigurationRequestBuilder.java | 52 - .../BaseEducationClassCollectionPage.java | 27 - ...cationClassCollectionReferenceRequest.java | 86 - ...lassCollectionReferenceRequestBuilder.java | 45 - .../BaseEducationClassCollectionRequest.java | 116 - ...ducationClassCollectionRequestBuilder.java | 49 - .../BaseEducationClassCollectionResponse.java | 90 - ...tionClassCollectionWithReferencesPage.java | 40 - ...nClassCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - .../BaseEducationClassReferenceRequest.java | 87 - ...EducationClassReferenceRequestBuilder.java | 57 - .../generated/BaseEducationClassRequest.java | 142 -- .../BaseEducationClassRequestBuilder.java | 96 - ...aseEducationClassWithReferenceRequest.java | 96 - ...ationClassWithReferenceRequestBuilder.java | 61 - .../BaseEducationOrganizationRequest.java | 142 -- ...seEducationOrganizationRequestBuilder.java | 52 - .../generated/BaseEducationRootRequest.java | 142 -- .../BaseEducationRootRequestBuilder.java | 96 - .../BaseEducationSchoolCollectionPage.java | 27 - ...ationSchoolCollectionReferenceRequest.java | 86 - ...hoolCollectionReferenceRequestBuilder.java | 45 - .../BaseEducationSchoolCollectionRequest.java | 116 - ...ucationSchoolCollectionRequestBuilder.java | 49 - ...BaseEducationSchoolCollectionResponse.java | 90 - ...ionSchoolCollectionWithReferencesPage.java | 40 - ...SchoolCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - .../BaseEducationSchoolReferenceRequest.java | 87 - ...ducationSchoolReferenceRequestBuilder.java | 57 - .../generated/BaseEducationSchoolRequest.java | 142 -- .../BaseEducationSchoolRequestBuilder.java | 74 - ...seEducationSchoolWithReferenceRequest.java | 96 - ...tionSchoolWithReferenceRequestBuilder.java | 61 - .../BaseEducationUserCollectionPage.java | 27 - ...ucationUserCollectionReferenceRequest.java | 86 - ...UserCollectionReferenceRequestBuilder.java | 45 - .../BaseEducationUserCollectionRequest.java | 116 - ...EducationUserCollectionRequestBuilder.java | 49 - .../BaseEducationUserCollectionResponse.java | 90 - ...ationUserCollectionWithReferencesPage.java | 40 - ...onUserCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - .../BaseEducationUserReferenceRequest.java | 87 - ...eEducationUserReferenceRequestBuilder.java | 57 - .../generated/BaseEducationUserRequest.java | 142 -- .../BaseEducationUserRequestBuilder.java | 85 - ...BaseEducationUserWithReferenceRequest.java | 96 - ...cationUserWithReferenceRequestBuilder.java | 61 - ...ConfigurationAssignmentCollectionPage.java | 27 - ...figurationAssignmentCollectionRequest.java | 116 - ...ionAssignmentCollectionRequestBuilder.java | 49 - ...igurationAssignmentCollectionResponse.java | 90 - ...ollmentConfigurationAssignmentRequest.java | 142 -- ...ConfigurationAssignmentRequestBuilder.java | 52 - ...EnrollmentTroubleshootingEventRequest.java | 142 -- ...entTroubleshootingEventRequestBuilder.java | 52 - .../generated/BaseEntityReferenceRequest.java | 87 - .../BaseEntityReferenceRequestBuilder.java | 57 - .../requests/generated/BaseEntityRequest.java | 63 - .../generated/BaseEntityRequestBuilder.java | 52 - .../BaseEntityWithReferenceRequest.java | 96 - ...BaseEntityWithReferenceRequestBuilder.java | 61 - .../generated/BaseEventAcceptRequest.java | 79 - .../BaseEventAcceptRequestBuilder.java | 70 - .../generated/BaseEventCollectionPage.java | 27 - .../generated/BaseEventCollectionRequest.java | 116 - .../BaseEventCollectionRequestBuilder.java | 57 - .../BaseEventCollectionResponse.java | 90 - .../generated/BaseEventDeclineRequest.java | 79 - .../BaseEventDeclineRequestBuilder.java | 70 - .../BaseEventDeltaCollectionPage.java | 59 - .../BaseEventDeltaCollectionRequest.java | 105 - ...aseEventDeltaCollectionRequestBuilder.java | 54 - .../BaseEventDeltaCollectionResponse.java | 92 - .../BaseEventDismissReminderRequest.java | 64 - ...aseEventDismissReminderRequestBuilder.java | 58 - .../generated/BaseEventMessageRequest.java | 142 -- .../BaseEventMessageRequestBuilder.java | 63 - .../requests/generated/BaseEventRequest.java | 142 -- .../generated/BaseEventRequestBuilder.java | 149 -- .../BaseEventSnoozeReminderRequest.java | 79 - ...BaseEventSnoozeReminderRequestBuilder.java | 65 - .../BaseEventTentativelyAcceptRequest.java | 79 - ...eEventTentativelyAcceptRequestBuilder.java | 70 - .../BaseExtensionCollectionPage.java | 27 - .../BaseExtensionCollectionRequest.java | 116 - ...BaseExtensionCollectionRequestBuilder.java | 49 - .../BaseExtensionCollectionResponse.java | 90 - .../generated/BaseExtensionRequest.java | 142 -- .../BaseExtensionRequestBuilder.java | 52 - .../generated/BaseFieldValueSetRequest.java | 142 -- .../BaseFieldValueSetRequestBuilder.java | 52 - .../generated/BaseFileAttachmentRequest.java | 142 -- .../BaseFileAttachmentRequestBuilder.java | 52 - .../BaseGroupAddFavoriteRequest.java | 64 - .../BaseGroupAddFavoriteRequestBuilder.java | 58 - .../generated/BaseGroupCollectionPage.java | 27 - .../generated/BaseGroupCollectionRequest.java | 116 - .../BaseGroupCollectionRequestBuilder.java | 57 - .../BaseGroupCollectionResponse.java | 90 - .../BaseGroupDeltaCollectionPage.java | 59 - .../BaseGroupDeltaCollectionRequest.java | 105 - ...aseGroupDeltaCollectionRequestBuilder.java | 54 - .../BaseGroupDeltaCollectionResponse.java | 92 - ...seGroupLifecyclePolicyAddGroupRequest.java | 79 - ...LifecyclePolicyAddGroupRequestBuilder.java | 64 - ...aseGroupLifecyclePolicyCollectionPage.java | 27 - ...GroupLifecyclePolicyCollectionRequest.java | 116 - ...fecyclePolicyCollectionRequestBuilder.java | 49 - ...roupLifecyclePolicyCollectionResponse.java | 90 - ...roupLifecyclePolicyRemoveGroupRequest.java | 79 - ...ecyclePolicyRemoveGroupRequestBuilder.java | 64 - .../BaseGroupLifecyclePolicyRequest.java | 142 -- ...aseGroupLifecyclePolicyRequestBuilder.java | 64 - .../generated/BaseGroupReferenceRequest.java | 87 - .../BaseGroupReferenceRequestBuilder.java | 57 - .../BaseGroupRemoveFavoriteRequest.java | 64 - ...BaseGroupRemoveFavoriteRequestBuilder.java | 58 - .../generated/BaseGroupRenewRequest.java | 64 - .../BaseGroupRenewRequestBuilder.java | 58 - .../requests/generated/BaseGroupRequest.java | 142 -- .../generated/BaseGroupRequestBuilder.java | 330 --- .../BaseGroupResetUnseenCountRequest.java | 64 - ...seGroupResetUnseenCountRequestBuilder.java | 58 - .../BaseGroupSettingCollectionPage.java | 27 - .../BaseGroupSettingCollectionRequest.java | 116 - ...eGroupSettingCollectionRequestBuilder.java | 49 - .../BaseGroupSettingCollectionResponse.java | 90 - .../generated/BaseGroupSettingRequest.java | 142 -- .../BaseGroupSettingRequestBuilder.java | 52 - ...aseGroupSettingTemplateCollectionPage.java | 27 - ...GroupSettingTemplateCollectionRequest.java | 116 - ...ttingTemplateCollectionRequestBuilder.java | 49 - ...roupSettingTemplateCollectionResponse.java | 90 - .../BaseGroupSettingTemplateRequest.java | 142 -- ...aseGroupSettingTemplateRequestBuilder.java | 52 - .../BaseGroupSubscribeByMailRequest.java | 64 - ...aseGroupSubscribeByMailRequestBuilder.java | 58 - .../BaseGroupUnsubscribeByMailRequest.java | 64 - ...eGroupUnsubscribeByMailRequestBuilder.java | 58 - .../BaseGroupWithReferenceRequest.java | 96 - .../BaseGroupWithReferenceRequestBuilder.java | 61 - ...eClassificationOverrideCollectionPage.java | 27 - ...assificationOverrideCollectionRequest.java | 116 - ...ationOverrideCollectionRequestBuilder.java | 49 - ...ssificationOverrideCollectionResponse.java | 90 - ...nferenceClassificationOverrideRequest.java | 142 -- ...eClassificationOverrideRequestBuilder.java | 52 - .../BaseInferenceClassificationRequest.java | 142 -- ...InferenceClassificationRequestBuilder.java | 63 - .../BaseInvitationCollectionPage.java | 27 - .../BaseInvitationCollectionRequest.java | 116 - ...aseInvitationCollectionRequestBuilder.java | 49 - .../BaseInvitationCollectionResponse.java | 90 - .../generated/BaseInvitationRequest.java | 142 -- .../BaseInvitationRequestBuilder.java | 63 - .../BaseIosCertificateProfileRequest.java | 142 -- ...seIosCertificateProfileRequestBuilder.java | 52 - .../BaseIosCompliancePolicyRequest.java | 142 -- ...BaseIosCompliancePolicyRequestBuilder.java | 52 - .../BaseIosCustomConfigurationRequest.java | 142 -- ...eIosCustomConfigurationRequestBuilder.java | 52 - ...IosDeviceFeaturesConfigurationRequest.java | 142 -- ...ceFeaturesConfigurationRequestBuilder.java | 52 - ...eIosGeneralDeviceConfigurationRequest.java | 142 -- ...eralDeviceConfigurationRequestBuilder.java | 52 - .../generated/BaseIosLobAppRequest.java | 142 -- .../BaseIosLobAppRequestBuilder.java | 52 - ...IosManagedAppProtectionCollectionPage.java | 27 - ...ManagedAppProtectionCollectionRequest.java | 116 - ...AppProtectionCollectionRequestBuilder.java | 49 - ...anagedAppProtectionCollectionResponse.java | 90 - .../BaseIosManagedAppProtectionRequest.java | 142 -- ...IosManagedAppProtectionRequestBuilder.java | 74 - .../BaseIosManagedAppRegistrationRequest.java | 142 -- ...sManagedAppRegistrationRequestBuilder.java | 52 - .../BaseIosMobileAppConfigurationRequest.java | 142 -- ...sMobileAppConfigurationRequestBuilder.java | 52 - .../generated/BaseIosStoreAppRequest.java | 142 -- .../BaseIosStoreAppRequestBuilder.java | 52 - .../BaseIosUpdateConfigurationRequest.java | 142 -- ...eIosUpdateConfigurationRequestBuilder.java | 52 - ...seIosUpdateDeviceStatusCollectionPage.java | 27 - ...osUpdateDeviceStatusCollectionRequest.java | 116 - ...eDeviceStatusCollectionRequestBuilder.java | 49 - ...sUpdateDeviceStatusCollectionResponse.java | 90 - .../BaseIosUpdateDeviceStatusRequest.java | 142 -- ...seIosUpdateDeviceStatusRequestBuilder.java | 52 - .../generated/BaseIosVppAppRequest.java | 142 -- .../BaseIosVppAppRequestBuilder.java | 52 - .../BaseIosVppEBookAssignmentRequest.java | 142 -- ...seIosVppEBookAssignmentRequestBuilder.java | 52 - .../generated/BaseIosVppEBookRequest.java | 142 -- .../BaseIosVppEBookRequestBuilder.java | 52 - .../generated/BaseItemAttachmentRequest.java | 142 -- .../BaseItemAttachmentRequestBuilder.java | 63 - .../BaseLicenseDetailsCollectionPage.java | 27 - .../BaseLicenseDetailsCollectionRequest.java | 116 - ...icenseDetailsCollectionRequestBuilder.java | 49 - .../BaseLicenseDetailsCollectionResponse.java | 90 - .../generated/BaseLicenseDetailsRequest.java | 142 -- .../BaseLicenseDetailsRequestBuilder.java | 52 - .../generated/BaseListCollectionPage.java | 27 - .../generated/BaseListCollectionRequest.java | 116 - .../BaseListCollectionRequestBuilder.java | 49 - .../generated/BaseListCollectionResponse.java | 90 - .../generated/BaseListItemCollectionPage.java | 27 - .../BaseListItemCollectionRequest.java | 116 - .../BaseListItemCollectionRequestBuilder.java | 49 - .../BaseListItemCollectionResponse.java | 90 - .../generated/BaseListItemRequest.java | 142 -- .../generated/BaseListItemRequestBuilder.java | 85 - .../BaseListItemVersionCollectionPage.java | 27 - .../BaseListItemVersionCollectionRequest.java | 116 - ...stItemVersionCollectionRequestBuilder.java | 49 - ...BaseListItemVersionCollectionResponse.java | 90 - .../generated/BaseListItemVersionRequest.java | 142 -- .../BaseListItemVersionRequestBuilder.java | 69 - ...eListItemVersionRestoreVersionRequest.java | 64 - ...emVersionRestoreVersionRequestBuilder.java | 58 - .../requests/generated/BaseListRequest.java | 142 -- .../generated/BaseListRequestBuilder.java | 96 - ...izedNotificationMessageCollectionPage.java | 27 - ...dNotificationMessageCollectionRequest.java | 116 - ...cationMessageCollectionRequestBuilder.java | 49 - ...NotificationMessageCollectionResponse.java | 90 - ...seLocalizedNotificationMessageRequest.java | 142 -- ...izedNotificationMessageRequestBuilder.java | 52 - .../BaseMacOSCompliancePolicyRequest.java | 142 -- ...seMacOSCompliancePolicyRequestBuilder.java | 52 - .../BaseMacOSCustomConfigurationRequest.java | 142 -- ...acOSCustomConfigurationRequestBuilder.java | 52 - ...cOSDeviceFeaturesConfigurationRequest.java | 142 -- ...ceFeaturesConfigurationRequestBuilder.java | 52 - ...acOSGeneralDeviceConfigurationRequest.java | 142 -- ...eralDeviceConfigurationRequestBuilder.java | 52 - .../BaseMacOSOfficeSuiteAppRequest.java | 142 -- ...BaseMacOSOfficeSuiteAppRequestBuilder.java | 52 - .../BaseMailFolderCollectionPage.java | 27 - .../BaseMailFolderCollectionRequest.java | 116 - ...aseMailFolderCollectionRequestBuilder.java | 57 - .../BaseMailFolderCollectionResponse.java | 90 - .../generated/BaseMailFolderCopyRequest.java | 80 - .../BaseMailFolderCopyRequestBuilder.java | 64 - .../BaseMailFolderDeltaCollectionPage.java | 59 - .../BaseMailFolderDeltaCollectionRequest.java | 105 - ...ilFolderDeltaCollectionRequestBuilder.java | 54 - ...BaseMailFolderDeltaCollectionResponse.java | 92 - .../generated/BaseMailFolderMoveRequest.java | 80 - .../BaseMailFolderMoveRequestBuilder.java | 64 - .../generated/BaseMailFolderRequest.java | 142 -- .../BaseMailFolderRequestBuilder.java | 119 - .../BaseManagedAndroidLobAppRequest.java | 142 -- ...aseManagedAndroidLobAppRequestBuilder.java | 52 - .../BaseManagedAndroidStoreAppRequest.java | 142 -- ...eManagedAndroidStoreAppRequestBuilder.java | 52 - .../BaseManagedAppConfigurationRequest.java | 142 -- ...ManagedAppConfigurationRequestBuilder.java | 52 - ...BaseManagedAppOperationCollectionPage.java | 27 - ...eManagedAppOperationCollectionRequest.java | 116 - ...dAppOperationCollectionRequestBuilder.java | 49 - ...ManagedAppOperationCollectionResponse.java | 90 - .../BaseManagedAppOperationRequest.java | 142 -- ...BaseManagedAppOperationRequestBuilder.java | 52 - .../BaseManagedAppPolicyCollectionPage.java | 27 - ...BaseManagedAppPolicyCollectionRequest.java | 116 - ...agedAppPolicyCollectionRequestBuilder.java | 49 - ...aseManagedAppPolicyCollectionResponse.java | 90 - ...agedAppPolicyDeploymentSummaryRequest.java | 142 -- ...PolicyDeploymentSummaryRequestBuilder.java | 52 - .../BaseManagedAppPolicyRequest.java | 142 -- .../BaseManagedAppPolicyRequestBuilder.java | 59 - ...BaseManagedAppPolicyTargetAppsRequest.java | 79 - ...agedAppPolicyTargetAppsRequestBuilder.java | 65 - .../BaseManagedAppProtectionRequest.java | 142 -- ...aseManagedAppProtectionRequestBuilder.java | 59 - ...ManagedAppProtectionTargetAppsRequest.java | 79 - ...AppProtectionTargetAppsRequestBuilder.java | 65 - ...eManagedAppRegistrationCollectionPage.java | 27 - ...egistrationCollectionReferenceRequest.java | 86 - ...tionCollectionReferenceRequestBuilder.java | 45 - ...nagedAppRegistrationCollectionRequest.java | 116 - ...pRegistrationCollectionRequestBuilder.java | 53 - ...agedAppRegistrationCollectionResponse.java | 90 - ...istrationCollectionWithReferencesPage.java | 40 - ...rationCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - ...hFlaggedAppRegistrationCollectionPage.java | 39 - ...aggedAppRegistrationCollectionRequest.java | 105 - ...pRegistrationCollectionRequestBuilder.java | 54 - ...ggedAppRegistrationCollectionResponse.java | 85 - ...anagedAppRegistrationReferenceRequest.java | 87 - ...ppRegistrationReferenceRequestBuilder.java | 57 - .../BaseManagedAppRegistrationRequest.java | 142 -- ...eManagedAppRegistrationRequestBuilder.java | 85 - ...edAppRegistrationWithReferenceRequest.java | 96 - ...gistrationWithReferenceRequestBuilder.java | 61 - .../generated/BaseManagedAppRequest.java | 142 -- .../BaseManagedAppRequestBuilder.java | 52 - .../BaseManagedAppStatusCollectionPage.java | 27 - ...BaseManagedAppStatusCollectionRequest.java | 116 - ...agedAppStatusCollectionRequestBuilder.java | 49 - ...aseManagedAppStatusCollectionResponse.java | 90 - .../BaseManagedAppStatusRawRequest.java | 142 -- ...BaseManagedAppStatusRawRequestBuilder.java | 52 - .../BaseManagedAppStatusRequest.java | 142 -- .../BaseManagedAppStatusRequestBuilder.java | 52 - ...agedDeviceBypassActivationLockRequest.java | 64 - ...iceBypassActivationLockRequestBuilder.java | 58 - ...anagedDeviceCleanWindowsDeviceRequest.java | 79 - ...eviceCleanWindowsDeviceRequestBuilder.java | 64 - .../BaseManagedDeviceCollectionPage.java | 27 - ...nagedDeviceCollectionReferenceRequest.java | 86 - ...viceCollectionReferenceRequestBuilder.java | 45 - .../BaseManagedDeviceCollectionRequest.java | 116 - ...ManagedDeviceCollectionRequestBuilder.java | 49 - .../BaseManagedDeviceCollectionResponse.java | 90 - ...gedDeviceCollectionWithReferencesPage.java | 40 - ...DeviceCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - ...eleteUserFromSharedAppleDeviceRequest.java | 79 - ...erFromSharedAppleDeviceRequestBuilder.java | 64 - ...seManagedDeviceDisableLostModeRequest.java | 64 - ...edDeviceDisableLostModeRequestBuilder.java | 58 - .../BaseManagedDeviceLocateDeviceRequest.java | 64 - ...nagedDeviceLocateDeviceRequestBuilder.java | 58 - ...outSharedAppleDeviceActiveUserRequest.java | 64 - ...edAppleDeviceActiveUserRequestBuilder.java | 58 - ...ceMobileAppConfigurationAssignRequest.java | 79 - ...eAppConfigurationAssignRequestBuilder.java | 65 - ...ConfigurationAssignmentCollectionPage.java | 27 - ...figurationAssignmentCollectionRequest.java | 116 - ...ionAssignmentCollectionRequestBuilder.java | 49 - ...igurationAssignmentCollectionResponse.java | 90 - ...bileAppConfigurationAssignmentRequest.java | 142 -- ...ConfigurationAssignmentRequestBuilder.java | 52 - ...eMobileAppConfigurationCollectionPage.java | 27 - ...bileAppConfigurationCollectionRequest.java | 116 - ...ConfigurationCollectionRequestBuilder.java | 49 - ...ileAppConfigurationCollectionResponse.java | 90 - ...nfigurationDeviceStatusCollectionPage.java | 27 - ...gurationDeviceStatusCollectionRequest.java | 116 - ...nDeviceStatusCollectionRequestBuilder.java | 49 - ...urationDeviceStatusCollectionResponse.java | 90 - ...leAppConfigurationDeviceStatusRequest.java | 142 -- ...nfigurationDeviceStatusRequestBuilder.java | 52 - ...eAppConfigurationDeviceSummaryRequest.java | 142 -- ...figurationDeviceSummaryRequestBuilder.java | 52 - ...edDeviceMobileAppConfigurationRequest.java | 142 -- ...eMobileAppConfigurationRequestBuilder.java | 114 - ...ConfigurationUserStatusCollectionPage.java | 27 - ...figurationUserStatusCollectionRequest.java | 116 - ...ionUserStatusCollectionRequestBuilder.java | 49 - ...igurationUserStatusCollectionResponse.java | 90 - ...bileAppConfigurationUserStatusRequest.java | 142 -- ...ConfigurationUserStatusRequestBuilder.java | 52 - ...ileAppConfigurationUserSummaryRequest.java | 142 -- ...onfigurationUserSummaryRequestBuilder.java | 52 - ...ManagedDeviceOverviewReferenceRequest.java | 87 - ...DeviceOverviewReferenceRequestBuilder.java | 57 - .../BaseManagedDeviceOverviewRequest.java | 142 -- ...seManagedDeviceOverviewRequestBuilder.java | 52 - ...gedDeviceOverviewWithReferenceRequest.java | 96 - ...ceOverviewWithReferenceRequestBuilder.java | 61 - .../BaseManagedDeviceRebootNowRequest.java | 64 - ...eManagedDeviceRebootNowRequestBuilder.java | 58 - ...seManagedDeviceRecoverPasscodeRequest.java | 64 - ...edDeviceRecoverPasscodeRequestBuilder.java | 58 - .../BaseManagedDeviceReferenceRequest.java | 87 - ...eManagedDeviceReferenceRequestBuilder.java | 57 - .../BaseManagedDeviceRemoteLockRequest.java | 64 - ...ManagedDeviceRemoteLockRequestBuilder.java | 58 - .../generated/BaseManagedDeviceRequest.java | 142 -- .../BaseManagedDeviceRequestBuilder.java | 194 -- ...dDeviceRequestRemoteAssistanceRequest.java | 64 - ...RequestRemoteAssistanceRequestBuilder.java | 58 - ...BaseManagedDeviceResetPasscodeRequest.java | 64 - ...agedDeviceResetPasscodeRequestBuilder.java | 58 - .../BaseManagedDeviceRetireRequest.java | 64 - ...BaseManagedDeviceRetireRequestBuilder.java | 58 - .../BaseManagedDeviceShutDownRequest.java | 64 - ...seManagedDeviceShutDownRequestBuilder.java | 58 - .../BaseManagedDeviceSyncDeviceRequest.java | 64 - ...ManagedDeviceSyncDeviceRequestBuilder.java | 58 - ...viceUpdateWindowsDeviceAccountRequest.java | 79 - ...ateWindowsDeviceAccountRequestBuilder.java | 65 - ...nagedDeviceWindowsDefenderScanRequest.java | 79 - ...viceWindowsDefenderScanRequestBuilder.java | 64 - ...indowsDefenderUpdateSignaturesRequest.java | 64 - ...efenderUpdateSignaturesRequestBuilder.java | 58 - .../BaseManagedDeviceWipeRequest.java | 79 - .../BaseManagedDeviceWipeRequestBuilder.java | 76 - ...BaseManagedDeviceWithReferenceRequest.java | 96 - ...agedDeviceWithReferenceRequestBuilder.java | 61 - .../BaseManagedEBookAssignRequest.java | 79 - .../BaseManagedEBookAssignRequestBuilder.java | 65 - ...eManagedEBookAssignmentCollectionPage.java | 27 - ...nagedEBookAssignmentCollectionRequest.java | 116 - ...ookAssignmentCollectionRequestBuilder.java | 49 - ...agedEBookAssignmentCollectionResponse.java | 90 - .../BaseManagedEBookAssignmentRequest.java | 142 -- ...eManagedEBookAssignmentRequestBuilder.java | 52 - .../BaseManagedEBookCollectionPage.java | 27 - .../BaseManagedEBookCollectionRequest.java | 116 - ...eManagedEBookCollectionRequestBuilder.java | 49 - .../BaseManagedEBookCollectionResponse.java | 90 - .../generated/BaseManagedEBookRequest.java | 142 -- .../BaseManagedEBookRequestBuilder.java | 103 - .../BaseManagedIOSLobAppRequest.java | 142 -- .../BaseManagedIOSLobAppRequestBuilder.java | 52 - .../BaseManagedIOSStoreAppRequest.java | 142 -- .../BaseManagedIOSStoreAppRequestBuilder.java | 52 - .../BaseManagedMobileAppCollectionPage.java | 27 - ...BaseManagedMobileAppCollectionRequest.java | 116 - ...agedMobileAppCollectionRequestBuilder.java | 49 - ...aseManagedMobileAppCollectionResponse.java | 90 - .../BaseManagedMobileAppRequest.java | 142 -- .../BaseManagedMobileAppRequestBuilder.java | 52 - .../BaseManagedMobileLobAppRequest.java | 142 -- ...BaseManagedMobileLobAppRequestBuilder.java | 63 - ...rmationProtectionPolicyCollectionPage.java | 27 - ...tionProtectionPolicyCollectionRequest.java | 116 - ...tectionPolicyCollectionRequestBuilder.java | 49 - ...ionProtectionPolicyCollectionResponse.java | 90 - ...owsInformationProtectionPolicyRequest.java | 142 -- ...rmationProtectionPolicyRequestBuilder.java | 52 - .../generated/BaseMessageCollectionPage.java | 27 - .../BaseMessageCollectionRequest.java | 116 - .../BaseMessageCollectionRequestBuilder.java | 57 - .../BaseMessageCollectionResponse.java | 90 - .../generated/BaseMessageCopyRequest.java | 80 - .../BaseMessageCopyRequestBuilder.java | 64 - .../BaseMessageCreateForwardRequest.java | 78 - ...aseMessageCreateForwardRequestBuilder.java | 58 - .../BaseMessageCreateReplyAllRequest.java | 78 - ...seMessageCreateReplyAllRequestBuilder.java | 58 - .../BaseMessageCreateReplyRequest.java | 78 - .../BaseMessageCreateReplyRequestBuilder.java | 58 - .../BaseMessageDeltaCollectionPage.java | 59 - .../BaseMessageDeltaCollectionRequest.java | 105 - ...eMessageDeltaCollectionRequestBuilder.java | 54 - .../BaseMessageDeltaCollectionResponse.java | 92 - .../generated/BaseMessageForwardRequest.java | 79 - .../BaseMessageForwardRequestBuilder.java | 71 - .../generated/BaseMessageMoveRequest.java | 80 - .../BaseMessageMoveRequestBuilder.java | 64 - .../generated/BaseMessageReplyAllRequest.java | 79 - .../BaseMessageReplyAllRequestBuilder.java | 64 - .../generated/BaseMessageReplyRequest.java | 79 - .../BaseMessageReplyRequestBuilder.java | 64 - .../generated/BaseMessageRequest.java | 142 -- .../generated/BaseMessageRequestBuilder.java | 151 -- .../BaseMessageRuleCollectionPage.java | 27 - .../BaseMessageRuleCollectionRequest.java | 116 - ...seMessageRuleCollectionRequestBuilder.java | 49 - .../BaseMessageRuleCollectionResponse.java | 90 - .../generated/BaseMessageRuleRequest.java | 142 -- .../BaseMessageRuleRequestBuilder.java | 52 - .../generated/BaseMessageSendRequest.java | 64 - .../BaseMessageSendRequestBuilder.java | 58 - ...seMicrosoftStoreForBusinessAppRequest.java | 142 -- ...softStoreForBusinessAppRequestBuilder.java | 52 - .../generated/BaseMobileAppAssignRequest.java | 79 - .../BaseMobileAppAssignRequestBuilder.java | 65 - ...BaseMobileAppAssignmentCollectionPage.java | 27 - ...eMobileAppAssignmentCollectionRequest.java | 116 - ...AppAssignmentCollectionRequestBuilder.java | 49 - ...MobileAppAssignmentCollectionResponse.java | 90 - .../BaseMobileAppAssignmentRequest.java | 142 -- ...BaseMobileAppAssignmentRequestBuilder.java | 52 - .../BaseMobileAppCategoryCollectionPage.java | 27 - ...AppCategoryCollectionReferenceRequest.java | 86 - ...goryCollectionReferenceRequestBuilder.java | 45 - ...aseMobileAppCategoryCollectionRequest.java | 116 - ...leAppCategoryCollectionRequestBuilder.java | 49 - ...seMobileAppCategoryCollectionResponse.java | 90 - ...pCategoryCollectionWithReferencesPage.java | 40 - ...tegoryCollectionWithReferencesRequest.java | 84 - ...ollectionWithReferencesRequestBuilder.java | 53 - ...BaseMobileAppCategoryReferenceRequest.java | 87 - ...ileAppCategoryReferenceRequestBuilder.java | 57 - .../BaseMobileAppCategoryRequest.java | 142 -- .../BaseMobileAppCategoryRequestBuilder.java | 52 - ...MobileAppCategoryWithReferenceRequest.java | 96 - ...ppCategoryWithReferenceRequestBuilder.java | 61 - .../BaseMobileAppCollectionPage.java | 27 - .../BaseMobileAppCollectionRequest.java | 116 - ...BaseMobileAppCollectionRequestBuilder.java | 49 - .../BaseMobileAppCollectionResponse.java | 90 - .../BaseMobileAppContentCollectionPage.java | 27 - ...BaseMobileAppContentCollectionRequest.java | 116 - ...ileAppContentCollectionRequestBuilder.java | 49 - ...aseMobileAppContentCollectionResponse.java | 90 - ...aseMobileAppContentFileCollectionPage.java | 27 - ...MobileAppContentFileCollectionRequest.java | 116 - ...ppContentFileCollectionRequestBuilder.java | 49 - ...obileAppContentFileCollectionResponse.java | 90 - ...BaseMobileAppContentFileCommitRequest.java | 79 - ...ileAppContentFileCommitRequestBuilder.java | 65 - ...obileAppContentFileRenewUploadRequest.java | 64 - ...pContentFileRenewUploadRequestBuilder.java | 58 - .../BaseMobileAppContentFileRequest.java | 142 -- ...aseMobileAppContentFileRequestBuilder.java | 65 - .../BaseMobileAppContentRequest.java | 142 -- .../BaseMobileAppContentRequestBuilder.java | 63 - .../generated/BaseMobileAppRequest.java | 142 -- .../BaseMobileAppRequestBuilder.java | 81 - .../generated/BaseMobileLobAppRequest.java | 142 -- .../BaseMobileLobAppRequestBuilder.java | 63 - ...eThreatDefenseConnectorCollectionPage.java | 27 - ...reatDefenseConnectorCollectionRequest.java | 116 - ...enseConnectorCollectionRequestBuilder.java | 49 - ...eatDefenseConnectorCollectionResponse.java | 90 - ...seMobileThreatDefenseConnectorRequest.java | 142 -- ...eThreatDefenseConnectorRequestBuilder.java | 52 - ...eLegacyExtendedPropertyCollectionPage.java | 27 - ...gacyExtendedPropertyCollectionRequest.java | 116 - ...endedPropertyCollectionRequestBuilder.java | 49 - ...acyExtendedPropertyCollectionResponse.java | 90 - ...ltiValueLegacyExtendedPropertyRequest.java | 142 -- ...eLegacyExtendedPropertyRequestBuilder.java | 52 - .../generated/BaseNotebookCollectionPage.java | 27 - .../BaseNotebookCollectionRequest.java | 116 - .../BaseNotebookCollectionRequestBuilder.java | 53 - .../BaseNotebookCollectionResponse.java | 90 - .../BaseNotebookCopyNotebookRequest.java | 80 - ...aseNotebookCopyNotebookRequestBuilder.java | 88 - ...ebookGetRecentNotebooksCollectionPage.java | 39 - ...okGetRecentNotebooksCollectionRequest.java | 105 - ...centNotebooksCollectionRequestBuilder.java | 58 - ...kGetRecentNotebooksCollectionResponse.java | 92 - .../generated/BaseNotebookRequest.java | 142 -- .../generated/BaseNotebookRequestBuilder.java | 80 - ...ficationMessageTemplateCollectionPage.java | 27 - ...ationMessageTemplateCollectionRequest.java | 116 - ...ssageTemplateCollectionRequestBuilder.java | 49 - ...tionMessageTemplateCollectionResponse.java | 90 - ...aseNotificationMessageTemplateRequest.java | 142 -- ...ficationMessageTemplateRequestBuilder.java | 69 - ...MessageTemplateSendTestMessageRequest.java | 64 - ...TemplateSendTestMessageRequestBuilder.java | 58 - .../BaseOfficeGraphInsightsRequest.java | 142 -- ...BaseOfficeGraphInsightsRequestBuilder.java | 85 - ...misesConditionalAccessSettingsRequest.java | 142 -- ...nditionalAccessSettingsRequestBuilder.java | 52 - .../BaseOnenoteEntityBaseModelRequest.java | 142 -- ...eOnenoteEntityBaseModelRequestBuilder.java | 52 - ...aseOnenoteEntityHierarchyModelRequest.java | 142 -- ...oteEntityHierarchyModelRequestBuilder.java | 52 - ...OnenoteEntitySchemaObjectModelRequest.java | 142 -- ...EntitySchemaObjectModelRequestBuilder.java | 52 - .../BaseOnenoteOperationCollectionPage.java | 27 - ...BaseOnenoteOperationCollectionRequest.java | 116 - ...noteOperationCollectionRequestBuilder.java | 49 - ...aseOnenoteOperationCollectionResponse.java | 90 - .../BaseOnenoteOperationRequest.java | 142 -- .../BaseOnenoteOperationRequestBuilder.java | 52 - .../BaseOnenotePageCollectionPage.java | 27 - .../BaseOnenotePageCollectionRequest.java | 116 - ...seOnenotePageCollectionRequestBuilder.java | 49 - .../BaseOnenotePageCollectionResponse.java | 90 - .../BaseOnenotePageCopyToSectionRequest.java | 80 - ...nenotePageCopyToSectionRequestBuilder.java | 82 - ...OnenotePageOnenotePatchContentRequest.java | 79 - ...PageOnenotePatchContentRequestBuilder.java | 65 - .../BaseOnenotePagePreviewRequest.java | 78 - .../BaseOnenotePagePreviewRequestBuilder.java | 62 - .../generated/BaseOnenotePageRequest.java | 142 -- .../BaseOnenotePageRequestBuilder.java | 99 - .../BaseOnenotePageStreamRequest.java | 84 - .../BaseOnenotePageStreamRequestBuilder.java | 52 - .../generated/BaseOnenoteRequest.java | 142 -- .../generated/BaseOnenoteRequestBuilder.java | 118 - .../BaseOnenoteResourceCollectionPage.java | 27 - .../BaseOnenoteResourceCollectionRequest.java | 116 - ...enoteResourceCollectionRequestBuilder.java | 49 - ...BaseOnenoteResourceCollectionResponse.java | 90 - .../generated/BaseOnenoteResourceRequest.java | 142 -- .../BaseOnenoteResourceRequestBuilder.java | 58 - .../BaseOnenoteResourceStreamRequest.java | 84 - ...seOnenoteResourceStreamRequestBuilder.java | 52 - .../BaseOnenoteSectionCollectionPage.java | 27 - .../BaseOnenoteSectionCollectionRequest.java | 116 - ...nenoteSectionCollectionRequestBuilder.java | 49 - .../BaseOnenoteSectionCollectionResponse.java | 90 - ...seOnenoteSectionCopyToNotebookRequest.java | 80 - ...teSectionCopyToNotebookRequestBuilder.java | 88 - ...enoteSectionCopyToSectionGroupRequest.java | 80 - ...ctionCopyToSectionGroupRequestBuilder.java | 88 - .../generated/BaseOnenoteSectionRequest.java | 142 -- .../BaseOnenoteSectionRequestBuilder.java | 97 - .../BaseOpenTypeExtensionRequest.java | 142 -- .../BaseOpenTypeExtensionRequestBuilder.java | 52 - .../generated/BaseOperationRequest.java | 142 -- .../BaseOperationRequestBuilder.java | 52 - .../BaseOrganizationCollectionPage.java | 27 - .../BaseOrganizationCollectionRequest.java | 116 - ...eOrganizationCollectionRequestBuilder.java | 49 - .../BaseOrganizationCollectionResponse.java | 90 - .../generated/BaseOrganizationRequest.java | 142 -- .../BaseOrganizationRequestBuilder.java | 69 - ...obileDeviceManagementAuthorityRequest.java | 77 - ...viceManagementAuthorityRequestBuilder.java | 58 - .../BaseOutlookCategoryCollectionPage.java | 27 - .../BaseOutlookCategoryCollectionRequest.java | 116 - ...tlookCategoryCollectionRequestBuilder.java | 49 - ...BaseOutlookCategoryCollectionResponse.java | 90 - .../generated/BaseOutlookCategoryRequest.java | 142 -- .../BaseOutlookCategoryRequestBuilder.java | 52 - .../generated/BaseOutlookItemRequest.java | 142 -- .../BaseOutlookItemRequestBuilder.java | 52 - .../generated/BaseOutlookUserRequest.java | 142 -- .../BaseOutlookUserRequestBuilder.java | 82 - ...kUserSupportedLanguagesCollectionPage.java | 39 - ...erSupportedLanguagesCollectionRequest.java | 105 - ...rtedLanguagesCollectionRequestBuilder.java | 54 - ...rSupportedLanguagesCollectionResponse.java | 92 - ...kUserSupportedTimeZonesCollectionPage.java | 39 - ...erSupportedTimeZonesCollectionRequest.java | 105 - ...rtedTimeZonesCollectionRequestBuilder.java | 68 - ...rSupportedTimeZonesCollectionResponse.java | 92 - .../BasePermissionCollectionPage.java | 27 - .../BasePermissionCollectionRequest.java | 116 - ...asePermissionCollectionRequestBuilder.java | 49 - .../BasePermissionCollectionResponse.java | 90 - .../generated/BasePermissionRequest.java | 142 -- .../BasePermissionRequestBuilder.java | 52 - .../generated/BasePersonCollectionPage.java | 27 - .../BasePersonCollectionRequest.java | 116 - .../BasePersonCollectionRequestBuilder.java | 49 - .../BasePersonCollectionResponse.java | 90 - .../requests/generated/BasePersonRequest.java | 142 -- .../generated/BasePersonRequestBuilder.java | 52 - ...rAssignedToTaskBoardTaskFormatRequest.java | 142 -- ...edToTaskBoardTaskFormatRequestBuilder.java | 52 - .../BasePlannerBucketCollectionPage.java | 27 - .../BasePlannerBucketCollectionRequest.java | 116 - ...PlannerBucketCollectionRequestBuilder.java | 49 - .../BasePlannerBucketCollectionResponse.java | 90 - .../generated/BasePlannerBucketRequest.java | 142 -- .../BasePlannerBucketRequestBuilder.java | 63 - ...annerBucketTaskBoardTaskFormatRequest.java | 142 -- ...cketTaskBoardTaskFormatRequestBuilder.java | 52 - .../generated/BasePlannerGroupRequest.java | 142 -- .../BasePlannerGroupRequestBuilder.java | 63 - .../BasePlannerPlanCollectionPage.java | 27 - .../BasePlannerPlanCollectionRequest.java | 116 - ...sePlannerPlanCollectionRequestBuilder.java | 49 - .../BasePlannerPlanCollectionResponse.java | 90 - .../BasePlannerPlanDetailsRequest.java | 142 -- .../BasePlannerPlanDetailsRequestBuilder.java | 52 - .../generated/BasePlannerPlanRequest.java | 142 -- .../BasePlannerPlanRequestBuilder.java | 85 - ...nerProgressTaskBoardTaskFormatRequest.java | 142 -- ...ressTaskBoardTaskFormatRequestBuilder.java | 52 - .../generated/BasePlannerRequest.java | 142 -- .../generated/BasePlannerRequestBuilder.java | 85 - .../BasePlannerTaskCollectionPage.java | 27 - .../BasePlannerTaskCollectionRequest.java | 116 - ...sePlannerTaskCollectionRequestBuilder.java | 49 - .../BasePlannerTaskCollectionResponse.java | 90 - .../BasePlannerTaskDetailsRequest.java | 142 -- .../BasePlannerTaskDetailsRequestBuilder.java | 52 - .../generated/BasePlannerTaskRequest.java | 142 -- .../BasePlannerTaskRequestBuilder.java | 96 - .../generated/BasePlannerUserRequest.java | 142 -- .../BasePlannerUserRequestBuilder.java | 74 - .../generated/BasePostCollectionPage.java | 27 - .../generated/BasePostCollectionRequest.java | 116 - .../BasePostCollectionRequestBuilder.java | 49 - .../generated/BasePostCollectionResponse.java | 90 - .../generated/BasePostForwardRequest.java | 79 - .../BasePostForwardRequestBuilder.java | 71 - .../generated/BasePostReplyRequest.java | 79 - .../BasePostReplyRequestBuilder.java | 65 - .../requests/generated/BasePostRequest.java | 142 -- .../generated/BasePostRequestBuilder.java | 121 - .../BaseProfilePhotoCollectionPage.java | 27 - .../BaseProfilePhotoCollectionRequest.java | 116 - ...eProfilePhotoCollectionRequestBuilder.java | 49 - .../BaseProfilePhotoCollectionResponse.java | 90 - .../generated/BaseProfilePhotoRequest.java | 142 -- .../BaseProfilePhotoRequestBuilder.java | 58 - .../BaseProfilePhotoStreamRequest.java | 84 - .../BaseProfilePhotoStreamRequestBuilder.java | 58 - .../BaseReferenceAttachmentRequest.java | 142 -- ...BaseReferenceAttachmentRequestBuilder.java | 52 - ...sistancePartnerBeginOnboardingRequest.java | 64 - ...ePartnerBeginOnboardingRequestBuilder.java | 58 - ...RemoteAssistancePartnerCollectionPage.java | 27 - ...oteAssistancePartnerCollectionRequest.java | 116 - ...stancePartnerCollectionRequestBuilder.java | 49 - ...teAssistancePartnerCollectionResponse.java | 90 - ...oteAssistancePartnerDisconnectRequest.java | 64 - ...stancePartnerDisconnectRequestBuilder.java | 58 - .../BaseRemoteAssistancePartnerRequest.java | 142 -- ...RemoteAssistancePartnerRequestBuilder.java | 64 - ...iceConfigurationDeviceActivityRequest.java | 118 - ...igurationDeviceActivityRequestBuilder.java | 62 - ...eviceConfigurationUserActivityRequest.java | 118 - ...nfigurationUserActivityRequestBuilder.java | 62 - ...portRootGetEmailActivityCountsRequest.java | 118 - ...tGetEmailActivityCountsRequestBuilder.java | 64 - ...RootGetEmailActivityUserCountsRequest.java | 118 - ...EmailActivityUserCountsRequestBuilder.java | 64 - ...RootGetEmailActivityUserDetailRequest.java | 118 - ...EmailActivityUserDetailRequestBuilder.java | 76 - ...GetEmailAppUsageAppsUserCountsRequest.java | 118 - ...lAppUsageAppsUserCountsRequestBuilder.java | 64 - ...RootGetEmailAppUsageUserCountsRequest.java | 118 - ...EmailAppUsageUserCountsRequestBuilder.java | 64 - ...RootGetEmailAppUsageUserDetailRequest.java | 118 - ...EmailAppUsageUserDetailRequestBuilder.java | 76 - ...mailAppUsageVersionsUserCountsRequest.java | 118 - ...UsageVersionsUserCountsRequestBuilder.java | 64 - ...eportRootGetMailboxUsageDetailRequest.java | 118 - ...otGetMailboxUsageDetailRequestBuilder.java | 64 - ...otGetMailboxUsageMailboxCountsRequest.java | 118 - ...ilboxUsageMailboxCountsRequestBuilder.java | 64 - ...xUsageQuotaStatusMailboxCountsRequest.java | 118 - ...uotaStatusMailboxCountsRequestBuilder.java | 64 - ...portRootGetMailboxUsageStorageRequest.java | 118 - ...tGetMailboxUsageStorageRequestBuilder.java | 64 - ...otGetOffice365ActivationCountsRequest.java | 118 - ...fice365ActivationCountsRequestBuilder.java | 62 - ...Office365ActivationsUserCountsRequest.java | 118 - ...65ActivationsUserCountsRequestBuilder.java | 62 - ...Office365ActivationsUserDetailRequest.java | 118 - ...65ActivationsUserDetailRequestBuilder.java | 62 - ...otGetOffice365ActiveUserCountsRequest.java | 118 - ...fice365ActiveUserCountsRequestBuilder.java | 64 - ...otGetOffice365ActiveUserDetailRequest.java | 118 - ...fice365ActiveUserDetailRequestBuilder.java | 76 - ...tOffice365GroupsActivityCountsRequest.java | 118 - ...365GroupsActivityCountsRequestBuilder.java | 64 - ...tOffice365GroupsActivityDetailRequest.java | 118 - ...365GroupsActivityDetailRequestBuilder.java | 76 - ...ice365GroupsActivityFileCountsRequest.java | 118 - ...roupsActivityFileCountsRequestBuilder.java | 64 - ...ce365GroupsActivityGroupCountsRequest.java | 118 - ...oupsActivityGroupCountsRequestBuilder.java | 64 - ...Office365GroupsActivityStorageRequest.java | 118 - ...65GroupsActivityStorageRequestBuilder.java | 64 - ...GetOffice365ServicesUserCountsRequest.java | 118 - ...ce365ServicesUserCountsRequestBuilder.java | 64 - ...tGetOneDriveActivityFileCountsRequest.java | 118 - ...DriveActivityFileCountsRequestBuilder.java | 64 - ...tGetOneDriveActivityUserCountsRequest.java | 118 - ...DriveActivityUserCountsRequestBuilder.java | 64 - ...tGetOneDriveActivityUserDetailRequest.java | 118 - ...DriveActivityUserDetailRequestBuilder.java | 76 - ...tGetOneDriveUsageAccountCountsRequest.java | 118 - ...DriveUsageAccountCountsRequestBuilder.java | 64 - ...tGetOneDriveUsageAccountDetailRequest.java | 118 - ...DriveUsageAccountDetailRequestBuilder.java | 76 - ...RootGetOneDriveUsageFileCountsRequest.java | 118 - ...OneDriveUsageFileCountsRequestBuilder.java | 64 - ...ortRootGetOneDriveUsageStorageRequest.java | 118 - ...GetOneDriveUsageStorageRequestBuilder.java | 64 - ...etSharePointActivityFileCountsRequest.java | 118 - ...PointActivityFileCountsRequestBuilder.java | 64 - ...RootGetSharePointActivityPagesRequest.java | 118 - ...SharePointActivityPagesRequestBuilder.java | 64 - ...etSharePointActivityUserCountsRequest.java | 118 - ...PointActivityUserCountsRequestBuilder.java | 64 - ...etSharePointActivityUserDetailRequest.java | 118 - ...PointActivityUserDetailRequestBuilder.java | 76 - ...otGetSharePointSiteUsageDetailRequest.java | 118 - ...arePointSiteUsageDetailRequestBuilder.java | 76 - ...tSharePointSiteUsageFileCountsRequest.java | 118 - ...ointSiteUsageFileCountsRequestBuilder.java | 64 - ...ootGetSharePointSiteUsagePagesRequest.java | 118 - ...harePointSiteUsagePagesRequestBuilder.java | 64 - ...tSharePointSiteUsageSiteCountsRequest.java | 118 - ...ointSiteUsageSiteCountsRequestBuilder.java | 64 - ...tGetSharePointSiteUsageStorageRequest.java | 118 - ...rePointSiteUsageStorageRequestBuilder.java | 64 - ...SkypeForBusinessActivityCountsRequest.java | 118 - ...rBusinessActivityCountsRequestBuilder.java | 64 - ...eForBusinessActivityUserCountsRequest.java | 118 - ...inessActivityUserCountsRequestBuilder.java | 64 - ...eForBusinessActivityUserDetailRequest.java | 118 - ...inessActivityUserDetailRequestBuilder.java | 76 - ...iceUsageDistributionUserCountsRequest.java | 118 - ...eDistributionUserCountsRequestBuilder.java | 64 - ...rBusinessDeviceUsageUserCountsRequest.java | 118 - ...ssDeviceUsageUserCountsRequestBuilder.java | 64 - ...rBusinessDeviceUsageUserDetailRequest.java | 118 - ...ssDeviceUsageUserDetailRequestBuilder.java | 76 - ...usinessOrganizerActivityCountsRequest.java | 118 - ...OrganizerActivityCountsRequestBuilder.java | 64 - ...sOrganizerActivityMinuteCountsRequest.java | 118 - ...zerActivityMinuteCountsRequestBuilder.java | 64 - ...essOrganizerActivityUserCountsRequest.java | 118 - ...nizerActivityUserCountsRequestBuilder.java | 64 - ...inessParticipantActivityCountsRequest.java | 118 - ...rticipantActivityCountsRequestBuilder.java | 64 - ...articipantActivityMinuteCountsRequest.java | 118 - ...antActivityMinuteCountsRequestBuilder.java | 64 - ...sParticipantActivityUserCountsRequest.java | 118 - ...ipantActivityUserCountsRequestBuilder.java | 64 - ...sinessPeerToPeerActivityCountsRequest.java | 118 - ...eerToPeerActivityCountsRequestBuilder.java | 64 - ...PeerToPeerActivityMinuteCountsRequest.java | 118 - ...eerActivityMinuteCountsRequestBuilder.java | 64 - ...ssPeerToPeerActivityUserCountsRequest.java | 118 - ...oPeerActivityUserCountsRequestBuilder.java | 64 - ...iceUsageDistributionUserCountsRequest.java | 118 - ...eDistributionUserCountsRequestBuilder.java | 64 - ...tGetTeamsDeviceUsageUserCountsRequest.java | 118 - ...msDeviceUsageUserCountsRequestBuilder.java | 64 - ...tGetTeamsDeviceUsageUserDetailRequest.java | 118 - ...msDeviceUsageUserDetailRequestBuilder.java | 76 - ...RootGetTeamsUserActivityCountsRequest.java | 118 - ...TeamsUserActivityCountsRequestBuilder.java | 64 - ...GetTeamsUserActivityUserCountsRequest.java | 118 - ...sUserActivityUserCountsRequestBuilder.java | 64 - ...GetTeamsUserActivityUserDetailRequest.java | 118 - ...sUserActivityUserDetailRequestBuilder.java | 76 - ...ortRootGetYammerActivityCountsRequest.java | 118 - ...GetYammerActivityCountsRequestBuilder.java | 64 - ...ootGetYammerActivityUserCountsRequest.java | 118 - ...ammerActivityUserCountsRequestBuilder.java | 64 - ...ootGetYammerActivityUserDetailRequest.java | 118 - ...ammerActivityUserDetailRequestBuilder.java | 76 - ...iceUsageDistributionUserCountsRequest.java | 118 - ...eDistributionUserCountsRequestBuilder.java | 64 - ...GetYammerDeviceUsageUserCountsRequest.java | 118 - ...erDeviceUsageUserCountsRequestBuilder.java | 64 - ...GetYammerDeviceUsageUserDetailRequest.java | 118 - ...erDeviceUsageUserDetailRequestBuilder.java | 76 - ...tGetYammerGroupsActivityCountsRequest.java | 118 - ...merGroupsActivityCountsRequestBuilder.java | 64 - ...tGetYammerGroupsActivityDetailRequest.java | 118 - ...merGroupsActivityDetailRequestBuilder.java | 76 - ...ammerGroupsActivityGroupCountsRequest.java | 118 - ...oupsActivityGroupCountsRequestBuilder.java | 64 - ...DeviceEnrollmentFailureDetailsRequest.java | 78 - ...nrollmentFailureDetailsRequestBuilder.java | 80 - ...gedDeviceEnrollmentTopFailuresRequest.java | 78 - ...ceEnrollmentTopFailuresRequestBuilder.java | 74 - .../generated/BaseReportRootRequest.java | 142 -- .../BaseReportRootRequestBuilder.java | 586 ----- .../generated/BaseReportStreamRequest.java | 84 - .../BaseReportStreamRequestBuilder.java | 52 - .../BaseResourceOperationCollectionPage.java | 27 - ...aseResourceOperationCollectionRequest.java | 116 - ...urceOperationCollectionRequestBuilder.java | 49 - ...seResourceOperationCollectionResponse.java | 90 - .../BaseResourceOperationRequest.java | 142 -- .../BaseResourceOperationRequestBuilder.java | 52 - .../BaseRoleAssignmentCollectionPage.java | 27 - .../BaseRoleAssignmentCollectionRequest.java | 116 - ...oleAssignmentCollectionRequestBuilder.java | 49 - .../BaseRoleAssignmentCollectionResponse.java | 90 - .../generated/BaseRoleAssignmentRequest.java | 142 -- .../BaseRoleAssignmentRequestBuilder.java | 63 - .../BaseRoleDefinitionCollectionPage.java | 27 - .../BaseRoleDefinitionCollectionRequest.java | 116 - ...oleDefinitionCollectionRequestBuilder.java | 49 - .../BaseRoleDefinitionCollectionResponse.java | 90 - .../BaseRoleDefinitionReferenceRequest.java | 87 - ...RoleDefinitionReferenceRequestBuilder.java | 57 - .../generated/BaseRoleDefinitionRequest.java | 142 -- .../BaseRoleDefinitionRequestBuilder.java | 63 - ...aseRoleDefinitionWithReferenceRequest.java | 96 - ...DefinitionWithReferenceRequestBuilder.java | 61 - .../BaseSchemaExtensionCollectionPage.java | 27 - .../BaseSchemaExtensionCollectionRequest.java | 116 - ...hemaExtensionCollectionRequestBuilder.java | 49 - ...BaseSchemaExtensionCollectionResponse.java | 90 - .../generated/BaseSchemaExtensionRequest.java | 142 -- .../BaseSchemaExtensionRequestBuilder.java | 52 - .../BaseSectionGroupCollectionPage.java | 27 - .../BaseSectionGroupCollectionRequest.java | 116 - ...eSectionGroupCollectionRequestBuilder.java | 49 - .../BaseSectionGroupCollectionResponse.java | 90 - .../generated/BaseSectionGroupRequest.java | 142 -- .../BaseSectionGroupRequestBuilder.java | 96 - .../generated/BaseSecurityRequest.java | 142 -- .../generated/BaseSecurityRequestBuilder.java | 63 - ...ttingStateDeviceSummaryCollectionPage.java | 27 - ...ngStateDeviceSummaryCollectionRequest.java | 116 - ...DeviceSummaryCollectionRequestBuilder.java | 49 - ...gStateDeviceSummaryCollectionResponse.java | 90 - .../BaseSettingStateDeviceSummaryRequest.java | 142 -- ...ttingStateDeviceSummaryRequestBuilder.java | 52 - .../BaseSharedDriveItemCollectionPage.java | 27 - .../BaseSharedDriveItemCollectionRequest.java | 116 - ...aredDriveItemCollectionRequestBuilder.java | 49 - ...BaseSharedDriveItemCollectionResponse.java | 90 - .../generated/BaseSharedDriveItemRequest.java | 142 -- .../BaseSharedDriveItemRequestBuilder.java | 118 - .../BaseSharedInsightCollectionPage.java | 27 - .../BaseSharedInsightCollectionRequest.java | 116 - ...SharedInsightCollectionRequestBuilder.java | 49 - .../BaseSharedInsightCollectionResponse.java | 90 - .../generated/BaseSharedInsightRequest.java | 142 -- .../BaseSharedInsightRequestBuilder.java | 74 - .../BaseSharedPCConfigurationRequest.java | 142 -- ...seSharedPCConfigurationRequestBuilder.java | 52 - ...eLegacyExtendedPropertyCollectionPage.java | 27 - ...gacyExtendedPropertyCollectionRequest.java | 116 - ...endedPropertyCollectionRequestBuilder.java | 49 - ...acyExtendedPropertyCollectionResponse.java | 90 - ...gleValueLegacyExtendedPropertyRequest.java | 142 -- ...eLegacyExtendedPropertyRequestBuilder.java | 52 - .../generated/BaseSiteCollectionPage.java | 27 - .../generated/BaseSiteCollectionRequest.java | 116 - .../BaseSiteCollectionRequestBuilder.java | 49 - .../generated/BaseSiteCollectionResponse.java | 90 - .../generated/BaseSiteGetByPathRequest.java | 118 - .../BaseSiteGetByPathRequestBuilder.java | 64 - .../requests/generated/BaseSiteRequest.java | 142 -- .../generated/BaseSiteRequestBuilder.java | 146 -- ...reUpdateStatusSummaryReferenceRequest.java | 87 - ...eStatusSummaryReferenceRequestBuilder.java | 57 - ...aseSoftwareUpdateStatusSummaryRequest.java | 142 -- ...wareUpdateStatusSummaryRequestBuilder.java | 52 - ...dateStatusSummaryWithReferenceRequest.java | 96 - ...tusSummaryWithReferenceRequestBuilder.java | 61 - .../BaseSubscribedSkuCollectionPage.java | 27 - .../BaseSubscribedSkuCollectionRequest.java | 116 - ...SubscribedSkuCollectionRequestBuilder.java | 49 - .../BaseSubscribedSkuCollectionResponse.java | 90 - .../generated/BaseSubscribedSkuRequest.java | 142 -- .../BaseSubscribedSkuRequestBuilder.java | 52 - .../BaseSubscriptionCollectionPage.java | 27 - .../BaseSubscriptionCollectionRequest.java | 116 - ...eSubscriptionCollectionRequestBuilder.java | 49 - .../BaseSubscriptionCollectionResponse.java | 90 - .../generated/BaseSubscriptionRequest.java | 142 -- .../BaseSubscriptionRequestBuilder.java | 52 - ...dManagedAppConfigurationAssignRequest.java | 79 - ...dAppConfigurationAssignRequestBuilder.java | 65 - ...ManagedAppConfigurationCollectionPage.java | 27 - ...agedAppConfigurationCollectionRequest.java | 116 - ...ConfigurationCollectionRequestBuilder.java | 49 - ...gedAppConfigurationCollectionResponse.java | 90 - ...argetedManagedAppConfigurationRequest.java | 142 -- ...ManagedAppConfigurationRequestBuilder.java | 99 - ...agedAppConfigurationTargetAppsRequest.java | 79 - ...ConfigurationTargetAppsRequestBuilder.java | 65 - ...agedAppPolicyAssignmentCollectionPage.java | 27 - ...dAppPolicyAssignmentCollectionRequest.java | 116 - ...icyAssignmentCollectionRequestBuilder.java | 49 - ...AppPolicyAssignmentCollectionResponse.java | 90 - ...etedManagedAppPolicyAssignmentRequest.java | 142 -- ...agedAppPolicyAssignmentRequestBuilder.java | 52 - ...etedManagedAppProtectionAssignRequest.java | 79 - ...agedAppProtectionAssignRequestBuilder.java | 65 - ...seTargetedManagedAppProtectionRequest.java | 142 -- ...tedManagedAppProtectionRequestBuilder.java | 70 - .../generated/BaseTeamArchiveRequest.java | 79 - .../BaseTeamArchiveRequestBuilder.java | 64 - .../generated/BaseTeamCloneRequest.java | 79 - .../BaseTeamCloneRequestBuilder.java | 97 - .../generated/BaseTeamCollectionPage.java | 27 - .../generated/BaseTeamCollectionRequest.java | 116 - .../BaseTeamCollectionRequestBuilder.java | 49 - .../generated/BaseTeamCollectionResponse.java | 90 - .../requests/generated/BaseTeamRequest.java | 142 -- .../generated/BaseTeamRequestBuilder.java | 105 - .../generated/BaseTeamUnarchiveRequest.java | 64 - .../BaseTeamUnarchiveRequestBuilder.java | 58 - .../generated/BaseTeamsAppCollectionPage.java | 27 - .../BaseTeamsAppCollectionRequest.java | 116 - .../BaseTeamsAppCollectionRequestBuilder.java | 49 - .../BaseTeamsAppCollectionResponse.java | 90 - .../BaseTeamsAppDefinitionCollectionPage.java | 27 - ...seTeamsAppDefinitionCollectionRequest.java | 116 - ...AppDefinitionCollectionRequestBuilder.java | 49 - ...eTeamsAppDefinitionCollectionResponse.java | 90 - ...aseTeamsAppDefinitionReferenceRequest.java | 87 - ...sAppDefinitionReferenceRequestBuilder.java | 57 - .../BaseTeamsAppDefinitionRequest.java | 142 -- .../BaseTeamsAppDefinitionRequestBuilder.java | 52 - ...eamsAppDefinitionWithReferenceRequest.java | 96 - ...DefinitionWithReferenceRequestBuilder.java | 61 - ...aseTeamsAppInstallationCollectionPage.java | 27 - ...TeamsAppInstallationCollectionRequest.java | 116 - ...pInstallationCollectionRequestBuilder.java | 49 - ...eamsAppInstallationCollectionResponse.java | 90 - .../BaseTeamsAppInstallationRequest.java | 142 -- ...aseTeamsAppInstallationRequestBuilder.java | 80 - ...aseTeamsAppInstallationUpgradeRequest.java | 64 - ...sAppInstallationUpgradeRequestBuilder.java | 58 - .../BaseTeamsAppReferenceRequest.java | 87 - .../BaseTeamsAppReferenceRequestBuilder.java | 57 - .../generated/BaseTeamsAppRequest.java | 142 -- .../generated/BaseTeamsAppRequestBuilder.java | 63 - .../BaseTeamsAppWithReferenceRequest.java | 96 - ...seTeamsAppWithReferenceRequestBuilder.java | 61 - ...BaseTeamsAsyncOperationCollectionPage.java | 27 - ...eTeamsAsyncOperationCollectionRequest.java | 116 - ...syncOperationCollectionRequestBuilder.java | 49 - ...TeamsAsyncOperationCollectionResponse.java | 90 - .../BaseTeamsAsyncOperationRequest.java | 142 -- ...BaseTeamsAsyncOperationRequestBuilder.java | 52 - .../generated/BaseTeamsTabCollectionPage.java | 27 - .../BaseTeamsTabCollectionRequest.java | 116 - .../BaseTeamsTabCollectionRequestBuilder.java | 49 - .../BaseTeamsTabCollectionResponse.java | 90 - .../generated/BaseTeamsTabRequest.java | 142 -- .../generated/BaseTeamsTabRequestBuilder.java | 63 - ...xpenseManagementPartnerCollectionPage.java | 27 - ...nseManagementPartnerCollectionRequest.java | 116 - ...gementPartnerCollectionRequestBuilder.java | 49 - ...seManagementPartnerCollectionResponse.java | 90 - ...elecomExpenseManagementPartnerRequest.java | 142 -- ...xpenseManagementPartnerRequestBuilder.java | 52 - ...ditionsAcceptanceStatusCollectionPage.java | 27 - ...ionsAcceptanceStatusCollectionRequest.java | 116 - ...eptanceStatusCollectionRequestBuilder.java | 49 - ...onsAcceptanceStatusCollectionResponse.java | 90 - ...sAndConditionsAcceptanceStatusRequest.java | 142 -- ...ditionsAcceptanceStatusRequestBuilder.java | 63 - ...AndConditionsAssignmentCollectionPage.java | 27 - ...ConditionsAssignmentCollectionRequest.java | 116 - ...onsAssignmentCollectionRequestBuilder.java | 49 - ...onditionsAssignmentCollectionResponse.java | 90 - ...seTermsAndConditionsAssignmentRequest.java | 142 -- ...AndConditionsAssignmentRequestBuilder.java | 52 - .../BaseTermsAndConditionsCollectionPage.java | 27 - ...seTermsAndConditionsCollectionRequest.java | 116 - ...AndConditionsCollectionRequestBuilder.java | 49 - ...eTermsAndConditionsCollectionResponse.java | 90 - ...aseTermsAndConditionsReferenceRequest.java | 87 - ...sAndConditionsReferenceRequestBuilder.java | 57 - .../BaseTermsAndConditionsRequest.java | 142 -- .../BaseTermsAndConditionsRequestBuilder.java | 74 - ...ermsAndConditionsWithReferenceRequest.java | 96 - ...ConditionsWithReferenceRequestBuilder.java | 61 - .../generated/BaseThumbnailRequest.java | 142 -- .../BaseThumbnailRequestBuilder.java | 58 - .../BaseThumbnailSetCollectionPage.java | 27 - .../BaseThumbnailSetCollectionRequest.java | 116 - ...eThumbnailSetCollectionRequestBuilder.java | 49 - .../BaseThumbnailSetCollectionResponse.java | 90 - .../generated/BaseThumbnailSetRequest.java | 142 -- .../BaseThumbnailSetRequestBuilder.java | 52 - .../generated/BaseThumbnailStreamRequest.java | 84 - .../BaseThumbnailStreamRequestBuilder.java | 52 - .../generated/BaseTrendingCollectionPage.java | 27 - .../BaseTrendingCollectionRequest.java | 116 - .../BaseTrendingCollectionRequestBuilder.java | 49 - .../BaseTrendingCollectionResponse.java | 90 - .../generated/BaseTrendingRequest.java | 142 -- .../generated/BaseTrendingRequestBuilder.java | 63 - .../BaseUsedInsightCollectionPage.java | 27 - .../BaseUsedInsightCollectionRequest.java | 116 - ...seUsedInsightCollectionRequestBuilder.java | 49 - .../BaseUsedInsightCollectionResponse.java | 90 - .../generated/BaseUsedInsightRequest.java | 142 -- .../BaseUsedInsightRequestBuilder.java | 63 - .../BaseUserActivityCollectionPage.java | 27 - .../BaseUserActivityCollectionRequest.java | 116 - ...eUserActivityCollectionRequestBuilder.java | 53 - .../BaseUserActivityCollectionResponse.java | 90 - .../BaseUserActivityRecentCollectionPage.java | 39 - ...seUserActivityRecentCollectionRequest.java | 105 - ...ctivityRecentCollectionRequestBuilder.java | 54 - ...eUserActivityRecentCollectionResponse.java | 92 - .../BaseUserActivityReferenceRequest.java | 87 - ...seUserActivityReferenceRequestBuilder.java | 57 - .../generated/BaseUserActivityRequest.java | 142 -- .../BaseUserActivityRequestBuilder.java | 63 - .../BaseUserActivityWithReferenceRequest.java | 96 - ...erActivityWithReferenceRequestBuilder.java | 61 - .../BaseUserAssignLicenseRequest.java | 80 - .../BaseUserAssignLicenseRequestBuilder.java | 71 - .../BaseUserChangePasswordRequest.java | 79 - .../BaseUserChangePasswordRequestBuilder.java | 70 - .../generated/BaseUserCollectionPage.java | 27 - .../generated/BaseUserCollectionRequest.java | 116 - .../BaseUserCollectionRequestBuilder.java | 57 - .../generated/BaseUserCollectionResponse.java | 90 - .../BaseUserDeltaCollectionPage.java | 59 - .../BaseUserDeltaCollectionRequest.java | 105 - ...BaseUserDeltaCollectionRequestBuilder.java | 54 - .../BaseUserDeltaCollectionResponse.java | 92 - .../BaseUserExportPersonalDataRequest.java | 79 - ...eUserExportPersonalDataRequestBuilder.java | 64 - .../BaseUserFindMeetingTimesRequest.java | 80 - ...aseUserFindMeetingTimesRequestBuilder.java | 109 - .../BaseUserGetMailTipsCollectionPage.java | 39 - .../BaseUserGetMailTipsCollectionRequest.java | 109 - ...erGetMailTipsCollectionRequestBuilder.java | 65 - ...BaseUserGetMailTipsCollectionResponse.java | 92 - ...edAppDiagnosticStatusesCollectionPage.java | 39 - ...ppDiagnosticStatusesCollectionRequest.java | 105 - ...osticStatusesCollectionRequestBuilder.java | 54 - ...pDiagnosticStatusesCollectionResponse.java | 92 - ...erGetManagedAppPoliciesCollectionPage.java | 39 - ...etManagedAppPoliciesCollectionRequest.java | 105 - ...edAppPoliciesCollectionRequestBuilder.java | 54 - ...tManagedAppPoliciesCollectionResponse.java | 92 - ...UserInstallStateSummaryCollectionPage.java | 27 - ...rInstallStateSummaryCollectionRequest.java | 116 - ...lStateSummaryCollectionRequestBuilder.java | 49 - ...InstallStateSummaryCollectionResponse.java | 90 - .../BaseUserInstallStateSummaryRequest.java | 142 -- ...UserInstallStateSummaryRequestBuilder.java | 63 - .../generated/BaseUserReferenceRequest.java | 87 - .../BaseUserReferenceRequestBuilder.java | 57 - .../BaseUserReminderViewCollectionPage.java | 39 - ...BaseUserReminderViewCollectionRequest.java | 105 - ...rReminderViewCollectionRequestBuilder.java | 62 - ...aseUserReminderViewCollectionResponse.java | 92 - ...RemoveAllDevicesFromManagementRequest.java | 64 - ...llDevicesFromManagementRequestBuilder.java | 58 - .../requests/generated/BaseUserRequest.java | 142 -- .../generated/BaseUserRequestBuilder.java | 498 ---- .../generated/BaseUserSendMailRequest.java | 79 - .../BaseUserSendMailRequestBuilder.java | 71 - .../generated/BaseUserSettingsRequest.java | 142 -- .../BaseUserSettingsRequestBuilder.java | 52 - ...gedAppRegistrationsByDeviceTagRequest.java | 79 - ...egistrationsByDeviceTagRequestBuilder.java | 64 - .../BaseUserWithReferenceRequest.java | 96 - .../BaseUserWithReferenceRequestBuilder.java | 61 - .../generated/BaseVppTokenCollectionPage.java | 27 - .../BaseVppTokenCollectionRequest.java | 116 - .../BaseVppTokenCollectionRequestBuilder.java | 49 - .../BaseVppTokenCollectionResponse.java | 90 - .../generated/BaseVppTokenRequest.java | 142 -- .../generated/BaseVppTokenRequestBuilder.java | 58 - .../BaseVppTokenSyncLicensesRequest.java | 78 - ...aseVppTokenSyncLicensesRequestBuilder.java | 58 - .../requests/generated/BaseWebAppRequest.java | 142 -- .../generated/BaseWebAppRequestBuilder.java | 52 - .../BaseWindows10CompliancePolicyRequest.java | 142 -- ...ndows10CompliancePolicyRequestBuilder.java | 52 - ...seWindows10CustomConfigurationRequest.java | 142 -- ...ws10CustomConfigurationRequestBuilder.java | 52 - ...ndpointProtectionConfigurationRequest.java | 142 -- ...ProtectionConfigurationRequestBuilder.java | 52 - ...dernAppManagementConfigurationRequest.java | 142 -- ...ManagementConfigurationRequestBuilder.java | 52 - ...eWindows10GeneralConfigurationRequest.java | 142 -- ...s10GeneralConfigurationRequestBuilder.java | 52 - ...indows10MobileCompliancePolicyRequest.java | 142 -- ...0MobileCompliancePolicyRequestBuilder.java | 52 - ...0SecureAssessmentConfigurationRequest.java | 142 -- ...AssessmentConfigurationRequestBuilder.java | 52 - ...dows10TeamGeneralConfigurationRequest.java | 142 -- ...eamGeneralConfigurationRequestBuilder.java | 52 - .../BaseWindows81CompliancePolicyRequest.java | 142 -- ...ndows81CompliancePolicyRequestBuilder.java | 52 - ...eWindows81GeneralConfigurationRequest.java | 142 -- ...s81GeneralConfigurationRequestBuilder.java | 52 - ...dThreatProtectionConfigurationRequest.java | 142 -- ...ProtectionConfigurationRequestBuilder.java | 52 - ...ctionAppLearningSummaryCollectionPage.java | 27 - ...onAppLearningSummaryCollectionRequest.java | 116 - ...arningSummaryCollectionRequestBuilder.java | 49 - ...nAppLearningSummaryCollectionResponse.java | 90 - ...onProtectionAppLearningSummaryRequest.java | 142 -- ...ctionAppLearningSummaryRequestBuilder.java | 52 - ...ProtectionAppLockerFileCollectionPage.java | 27 - ...tectionAppLockerFileCollectionRequest.java | 116 - ...AppLockerFileCollectionRequestBuilder.java | 49 - ...ectionAppLockerFileCollectionResponse.java | 90 - ...rmationProtectionAppLockerFileRequest.java | 142 -- ...ProtectionAppLockerFileRequestBuilder.java | 52 - ...owsInformationProtectionAssignRequest.java | 79 - ...rmationProtectionAssignRequestBuilder.java | 65 - ...nNetworkLearningSummaryCollectionPage.java | 27 - ...tworkLearningSummaryCollectionRequest.java | 116 - ...arningSummaryCollectionRequestBuilder.java | 49 - ...workLearningSummaryCollectionResponse.java | 90 - ...otectionNetworkLearningSummaryRequest.java | 142 -- ...nNetworkLearningSummaryRequestBuilder.java | 52 - ...rmationProtectionPolicyCollectionPage.java | 27 - ...tionProtectionPolicyCollectionRequest.java | 116 - ...tectionPolicyCollectionRequestBuilder.java | 49 - ...ionProtectionPolicyCollectionResponse.java | 90 - ...owsInformationProtectionPolicyRequest.java | 142 -- ...rmationProtectionPolicyRequestBuilder.java | 52 - ...seWindowsInformationProtectionRequest.java | 142 -- ...wsInformationProtectionRequestBuilder.java | 92 - .../BaseWindowsMobileMSIRequest.java | 142 -- .../BaseWindowsMobileMSIRequestBuilder.java | 52 - ...WindowsPhone81CompliancePolicyRequest.java | 142 -- ...Phone81CompliancePolicyRequestBuilder.java | 52 - ...dowsPhone81CustomConfigurationRequest.java | 142 -- ...ne81CustomConfigurationRequestBuilder.java | 52 - ...owsPhone81GeneralConfigurationRequest.java | 142 -- ...e81GeneralConfigurationRequestBuilder.java | 52 - .../BaseWindowsUniversalAppXRequest.java | 142 -- ...aseWindowsUniversalAppXRequestBuilder.java | 52 - ...UpdateForBusinessConfigurationRequest.java | 142 -- ...orBusinessConfigurationRequestBuilder.java | 52 - ...seWorkbookApplicationCalculateRequest.java | 79 - ...ookApplicationCalculateRequestBuilder.java | 64 - .../BaseWorkbookApplicationRequest.java | 142 -- ...BaseWorkbookApplicationRequestBuilder.java | 58 - .../BaseWorkbookChartAddRequest.java | 80 - .../BaseWorkbookChartAddRequestBuilder.java | 76 - .../BaseWorkbookChartAreaFormatRequest.java | 142 -- ...WorkbookChartAreaFormatRequestBuilder.java | 74 - .../BaseWorkbookChartAxesRequest.java | 142 -- .../BaseWorkbookChartAxesRequestBuilder.java | 85 - .../BaseWorkbookChartAxisFormatRequest.java | 142 -- ...WorkbookChartAxisFormatRequestBuilder.java | 74 - .../BaseWorkbookChartAxisRequest.java | 142 -- .../BaseWorkbookChartAxisRequestBuilder.java | 96 - ...seWorkbookChartAxisTitleFormatRequest.java | 142 -- ...ookChartAxisTitleFormatRequestBuilder.java | 63 - .../BaseWorkbookChartAxisTitleRequest.java | 142 -- ...eWorkbookChartAxisTitleRequestBuilder.java | 63 - .../BaseWorkbookChartCollectionPage.java | 27 - .../BaseWorkbookChartCollectionRequest.java | 116 - ...WorkbookChartCollectionRequestBuilder.java | 65 - .../BaseWorkbookChartCollectionResponse.java | 90 - .../BaseWorkbookChartCountRequest.java | 77 - .../BaseWorkbookChartCountRequestBuilder.java | 62 - ...seWorkbookChartDataLabelFormatRequest.java | 142 -- ...ookChartDataLabelFormatRequestBuilder.java | 74 - .../BaseWorkbookChartDataLabelsRequest.java | 142 -- ...WorkbookChartDataLabelsRequestBuilder.java | 63 - .../BaseWorkbookChartFillClearRequest.java | 64 - ...eWorkbookChartFillClearRequestBuilder.java | 58 - .../BaseWorkbookChartFillRequest.java | 142 -- .../BaseWorkbookChartFillRequestBuilder.java | 64 - ...WorkbookChartFillSetSolidColorRequest.java | 79 - ...kChartFillSetSolidColorRequestBuilder.java | 64 - .../BaseWorkbookChartFontRequest.java | 142 -- .../BaseWorkbookChartFontRequestBuilder.java | 52 - ...seWorkbookChartGridlinesFormatRequest.java | 142 -- ...ookChartGridlinesFormatRequestBuilder.java | 63 - .../BaseWorkbookChartGridlinesRequest.java | 142 -- ...eWorkbookChartGridlinesRequestBuilder.java | 63 - .../BaseWorkbookChartImageRequest.java | 77 - .../BaseWorkbookChartImageRequestBuilder.java | 104 - .../BaseWorkbookChartItemAtRequest.java | 118 - ...BaseWorkbookChartItemAtRequestBuilder.java | 64 - .../BaseWorkbookChartItemRequest.java | 118 - .../BaseWorkbookChartItemRequestBuilder.java | 64 - .../BaseWorkbookChartLegendFormatRequest.java | 142 -- ...rkbookChartLegendFormatRequestBuilder.java | 74 - .../BaseWorkbookChartLegendRequest.java | 142 -- ...BaseWorkbookChartLegendRequestBuilder.java | 63 - ...seWorkbookChartLineFormatClearRequest.java | 64 - ...ookChartLineFormatClearRequestBuilder.java | 58 - .../BaseWorkbookChartLineFormatRequest.java | 142 -- ...WorkbookChartLineFormatRequestBuilder.java | 58 - .../BaseWorkbookChartPointCollectionPage.java | 27 - ...seWorkbookChartPointCollectionRequest.java | 116 - ...ookChartPointCollectionRequestBuilder.java | 57 - ...eWorkbookChartPointCollectionResponse.java | 90 - .../BaseWorkbookChartPointCountRequest.java | 77 - ...WorkbookChartPointCountRequestBuilder.java | 62 - .../BaseWorkbookChartPointFormatRequest.java | 142 -- ...orkbookChartPointFormatRequestBuilder.java | 63 - .../BaseWorkbookChartPointItemAtRequest.java | 118 - ...orkbookChartPointItemAtRequestBuilder.java | 64 - .../BaseWorkbookChartPointRequest.java | 142 -- .../BaseWorkbookChartPointRequestBuilder.java | 63 - .../generated/BaseWorkbookChartRequest.java | 142 -- .../BaseWorkbookChartRequestBuilder.java | 165 -- ...BaseWorkbookChartSeriesCollectionPage.java | 27 - ...eWorkbookChartSeriesCollectionRequest.java | 116 - ...okChartSeriesCollectionRequestBuilder.java | 57 - ...WorkbookChartSeriesCollectionResponse.java | 90 - .../BaseWorkbookChartSeriesCountRequest.java | 77 - ...orkbookChartSeriesCountRequestBuilder.java | 62 - .../BaseWorkbookChartSeriesFormatRequest.java | 142 -- ...rkbookChartSeriesFormatRequestBuilder.java | 74 - .../BaseWorkbookChartSeriesItemAtRequest.java | 118 - ...rkbookChartSeriesItemAtRequestBuilder.java | 64 - .../BaseWorkbookChartSeriesRequest.java | 142 -- ...BaseWorkbookChartSeriesRequestBuilder.java | 74 - .../BaseWorkbookChartSetDataRequest.java | 79 - ...aseWorkbookChartSetDataRequestBuilder.java | 70 - .../BaseWorkbookChartSetPositionRequest.java | 79 - ...orkbookChartSetPositionRequestBuilder.java | 70 - .../BaseWorkbookChartTitleFormatRequest.java | 142 -- ...orkbookChartTitleFormatRequestBuilder.java | 74 - .../BaseWorkbookChartTitleRequest.java | 142 -- .../BaseWorkbookChartTitleRequestBuilder.java | 63 - .../BaseWorkbookCloseSessionRequest.java | 64 - ...aseWorkbookCloseSessionRequestBuilder.java | 58 - .../BaseWorkbookCreateSessionRequest.java | 80 - ...seWorkbookCreateSessionRequestBuilder.java | 64 - ...okFilterApplyBottomItemsFilterRequest.java | 79 - ...rApplyBottomItemsFilterRequestBuilder.java | 64 - ...FilterApplyBottomPercentFilterRequest.java | 79 - ...pplyBottomPercentFilterRequestBuilder.java | 64 - ...bookFilterApplyCellColorFilterRequest.java | 79 - ...terApplyCellColorFilterRequestBuilder.java | 64 - ...orkbookFilterApplyCustomFilterRequest.java | 79 - ...FilterApplyCustomFilterRequestBuilder.java | 76 - ...rkbookFilterApplyDynamicFilterRequest.java | 79 - ...ilterApplyDynamicFilterRequestBuilder.java | 64 - ...bookFilterApplyFontColorFilterRequest.java | 79 - ...terApplyFontColorFilterRequestBuilder.java | 64 - ...eWorkbookFilterApplyIconFilterRequest.java | 79 - ...okFilterApplyIconFilterRequestBuilder.java | 65 - .../BaseWorkbookFilterApplyRequest.java | 79 - ...BaseWorkbookFilterApplyRequestBuilder.java | 65 - ...kbookFilterApplyTopItemsFilterRequest.java | 79 - ...lterApplyTopItemsFilterRequestBuilder.java | 64 - ...ookFilterApplyTopPercentFilterRequest.java | 79 - ...erApplyTopPercentFilterRequestBuilder.java | 64 - ...orkbookFilterApplyValuesFilterRequest.java | 79 - ...FilterApplyValuesFilterRequestBuilder.java | 64 - .../BaseWorkbookFilterClearRequest.java | 64 - ...BaseWorkbookFilterClearRequestBuilder.java | 58 - .../generated/BaseWorkbookFilterRequest.java | 142 -- .../BaseWorkbookFilterRequestBuilder.java | 126 - .../BaseWorkbookFormatProtectionRequest.java | 142 -- ...orkbookFormatProtectionRequestBuilder.java | 52 - .../BaseWorkbookFunctionResultRequest.java | 142 -- ...eWorkbookFunctionResultRequestBuilder.java | 52 - .../BaseWorkbookFunctionsAbsRequest.java | 80 - ...aseWorkbookFunctionsAbsRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAccrIntMRequest.java | 80 - ...rkbookFunctionsAccrIntMRequestBuilder.java | 88 - .../BaseWorkbookFunctionsAccrIntRequest.java | 80 - ...orkbookFunctionsAccrIntRequestBuilder.java | 106 - .../BaseWorkbookFunctionsAcosRequest.java | 80 - ...seWorkbookFunctionsAcosRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAcoshRequest.java | 80 - ...eWorkbookFunctionsAcoshRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAcotRequest.java | 80 - ...seWorkbookFunctionsAcotRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAcothRequest.java | 80 - ...eWorkbookFunctionsAcothRequestBuilder.java | 64 - ...BaseWorkbookFunctionsAmorDegrcRequest.java | 80 - ...kbookFunctionsAmorDegrcRequestBuilder.java | 100 - .../BaseWorkbookFunctionsAmorLincRequest.java | 80 - ...rkbookFunctionsAmorLincRequestBuilder.java | 100 - .../BaseWorkbookFunctionsAndRequest.java | 80 - ...aseWorkbookFunctionsAndRequestBuilder.java | 64 - .../BaseWorkbookFunctionsArabicRequest.java | 80 - ...WorkbookFunctionsArabicRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAreasRequest.java | 80 - ...eWorkbookFunctionsAreasRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAscRequest.java | 80 - ...aseWorkbookFunctionsAscRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAsinRequest.java | 80 - ...seWorkbookFunctionsAsinRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAsinhRequest.java | 80 - ...eWorkbookFunctionsAsinhRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAtan2Request.java | 80 - ...eWorkbookFunctionsAtan2RequestBuilder.java | 70 - .../BaseWorkbookFunctionsAtanRequest.java | 80 - ...seWorkbookFunctionsAtanRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAtanhRequest.java | 80 - ...eWorkbookFunctionsAtanhRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAveDevRequest.java | 80 - ...WorkbookFunctionsAveDevRequestBuilder.java | 64 - .../BaseWorkbookFunctionsAverageARequest.java | 80 - ...rkbookFunctionsAverageARequestBuilder.java | 64 - ...BaseWorkbookFunctionsAverageIfRequest.java | 80 - ...kbookFunctionsAverageIfRequestBuilder.java | 76 - ...aseWorkbookFunctionsAverageIfsRequest.java | 80 - ...bookFunctionsAverageIfsRequestBuilder.java | 70 - .../BaseWorkbookFunctionsAverageRequest.java | 80 - ...orkbookFunctionsAverageRequestBuilder.java | 64 - .../BaseWorkbookFunctionsBahtTextRequest.java | 80 - ...rkbookFunctionsBahtTextRequestBuilder.java | 64 - .../BaseWorkbookFunctionsBaseRequest.java | 80 - ...seWorkbookFunctionsBaseRequestBuilder.java | 76 - .../BaseWorkbookFunctionsBesselIRequest.java | 80 - ...orkbookFunctionsBesselIRequestBuilder.java | 70 - .../BaseWorkbookFunctionsBesselJRequest.java | 80 - ...orkbookFunctionsBesselJRequestBuilder.java | 70 - .../BaseWorkbookFunctionsBesselKRequest.java | 80 - ...orkbookFunctionsBesselKRequestBuilder.java | 70 - .../BaseWorkbookFunctionsBesselYRequest.java | 80 - ...orkbookFunctionsBesselYRequestBuilder.java | 70 - ...BaseWorkbookFunctionsBeta_DistRequest.java | 80 - ...kbookFunctionsBeta_DistRequestBuilder.java | 94 - .../BaseWorkbookFunctionsBeta_InvRequest.java | 80 - ...rkbookFunctionsBeta_InvRequestBuilder.java | 88 - .../BaseWorkbookFunctionsBin2DecRequest.java | 80 - ...orkbookFunctionsBin2DecRequestBuilder.java | 64 - .../BaseWorkbookFunctionsBin2HexRequest.java | 80 - ...orkbookFunctionsBin2HexRequestBuilder.java | 70 - .../BaseWorkbookFunctionsBin2OctRequest.java | 80 - ...orkbookFunctionsBin2OctRequestBuilder.java | 70 - ...aseWorkbookFunctionsBinom_DistRequest.java | 80 - ...bookFunctionsBinom_DistRequestBuilder.java | 82 - ...kbookFunctionsBinom_Dist_RangeRequest.java | 80 - ...nctionsBinom_Dist_RangeRequestBuilder.java | 82 - ...BaseWorkbookFunctionsBinom_InvRequest.java | 80 - ...kbookFunctionsBinom_InvRequestBuilder.java | 76 - .../BaseWorkbookFunctionsBitandRequest.java | 80 - ...WorkbookFunctionsBitandRequestBuilder.java | 70 - ...BaseWorkbookFunctionsBitlshiftRequest.java | 80 - ...kbookFunctionsBitlshiftRequestBuilder.java | 70 - .../BaseWorkbookFunctionsBitorRequest.java | 80 - ...eWorkbookFunctionsBitorRequestBuilder.java | 70 - ...BaseWorkbookFunctionsBitrshiftRequest.java | 80 - ...kbookFunctionsBitrshiftRequestBuilder.java | 70 - .../BaseWorkbookFunctionsBitxorRequest.java | 80 - ...WorkbookFunctionsBitxorRequestBuilder.java | 70 - ...eWorkbookFunctionsCeiling_MathRequest.java | 80 - ...okFunctionsCeiling_MathRequestBuilder.java | 76 - ...rkbookFunctionsCeiling_PreciseRequest.java | 80 - ...unctionsCeiling_PreciseRequestBuilder.java | 70 - .../BaseWorkbookFunctionsCharRequest.java | 80 - ...seWorkbookFunctionsCharRequestBuilder.java | 64 - ...aseWorkbookFunctionsChiSq_DistRequest.java | 80 - ...bookFunctionsChiSq_DistRequestBuilder.java | 76 - ...WorkbookFunctionsChiSq_Dist_RTRequest.java | 80 - ...kFunctionsChiSq_Dist_RTRequestBuilder.java | 70 - ...BaseWorkbookFunctionsChiSq_InvRequest.java | 80 - ...kbookFunctionsChiSq_InvRequestBuilder.java | 70 - ...eWorkbookFunctionsChiSq_Inv_RTRequest.java | 80 - ...okFunctionsChiSq_Inv_RTRequestBuilder.java | 70 - .../BaseWorkbookFunctionsChooseRequest.java | 80 - ...WorkbookFunctionsChooseRequestBuilder.java | 70 - .../BaseWorkbookFunctionsCleanRequest.java | 80 - ...eWorkbookFunctionsCleanRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCodeRequest.java | 80 - ...seWorkbookFunctionsCodeRequestBuilder.java | 64 - .../BaseWorkbookFunctionsColumnsRequest.java | 80 - ...orkbookFunctionsColumnsRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCombinRequest.java | 80 - ...WorkbookFunctionsCombinRequestBuilder.java | 70 - .../BaseWorkbookFunctionsCombinaRequest.java | 80 - ...orkbookFunctionsCombinaRequestBuilder.java | 70 - .../BaseWorkbookFunctionsComplexRequest.java | 80 - ...orkbookFunctionsComplexRequestBuilder.java | 76 - ...seWorkbookFunctionsConcatenateRequest.java | 80 - ...ookFunctionsConcatenateRequestBuilder.java | 64 - ...rkbookFunctionsConfidence_NormRequest.java | 80 - ...unctionsConfidence_NormRequestBuilder.java | 76 - ...eWorkbookFunctionsConfidence_TRequest.java | 80 - ...okFunctionsConfidence_TRequestBuilder.java | 76 - .../BaseWorkbookFunctionsConvertRequest.java | 80 - ...orkbookFunctionsConvertRequestBuilder.java | 76 - .../BaseWorkbookFunctionsCosRequest.java | 80 - ...aseWorkbookFunctionsCosRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCoshRequest.java | 80 - ...seWorkbookFunctionsCoshRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCotRequest.java | 80 - ...aseWorkbookFunctionsCotRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCothRequest.java | 80 - ...seWorkbookFunctionsCothRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCountARequest.java | 80 - ...WorkbookFunctionsCountARequestBuilder.java | 64 - ...aseWorkbookFunctionsCountBlankRequest.java | 80 - ...bookFunctionsCountBlankRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCountIfRequest.java | 80 - ...orkbookFunctionsCountIfRequestBuilder.java | 70 - .../BaseWorkbookFunctionsCountIfsRequest.java | 80 - ...rkbookFunctionsCountIfsRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCountRequest.java | 80 - ...eWorkbookFunctionsCountRequestBuilder.java | 64 - ...BaseWorkbookFunctionsCoupDayBsRequest.java | 80 - ...kbookFunctionsCoupDayBsRequestBuilder.java | 82 - ...aseWorkbookFunctionsCoupDaysNcRequest.java | 80 - ...bookFunctionsCoupDaysNcRequestBuilder.java | 82 - .../BaseWorkbookFunctionsCoupDaysRequest.java | 80 - ...rkbookFunctionsCoupDaysRequestBuilder.java | 82 - .../BaseWorkbookFunctionsCoupNcdRequest.java | 80 - ...orkbookFunctionsCoupNcdRequestBuilder.java | 82 - .../BaseWorkbookFunctionsCoupNumRequest.java | 80 - ...orkbookFunctionsCoupNumRequestBuilder.java | 82 - .../BaseWorkbookFunctionsCoupPcdRequest.java | 80 - ...orkbookFunctionsCoupPcdRequestBuilder.java | 82 - .../BaseWorkbookFunctionsCscRequest.java | 80 - ...aseWorkbookFunctionsCscRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCschRequest.java | 80 - ...seWorkbookFunctionsCschRequestBuilder.java | 64 - .../BaseWorkbookFunctionsCumIPmtRequest.java | 80 - ...orkbookFunctionsCumIPmtRequestBuilder.java | 94 - .../BaseWorkbookFunctionsCumPrincRequest.java | 80 - ...rkbookFunctionsCumPrincRequestBuilder.java | 94 - .../BaseWorkbookFunctionsDateRequest.java | 80 - ...seWorkbookFunctionsDateRequestBuilder.java | 76 - ...BaseWorkbookFunctionsDatevalueRequest.java | 80 - ...kbookFunctionsDatevalueRequestBuilder.java | 64 - .../BaseWorkbookFunctionsDaverageRequest.java | 80 - ...rkbookFunctionsDaverageRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDayRequest.java | 80 - ...aseWorkbookFunctionsDayRequestBuilder.java | 64 - .../BaseWorkbookFunctionsDays360Request.java | 80 - ...orkbookFunctionsDays360RequestBuilder.java | 76 - .../BaseWorkbookFunctionsDaysRequest.java | 80 - ...seWorkbookFunctionsDaysRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDbRequest.java | 80 - ...BaseWorkbookFunctionsDbRequestBuilder.java | 88 - .../BaseWorkbookFunctionsDbcsRequest.java | 80 - ...seWorkbookFunctionsDbcsRequestBuilder.java | 64 - .../BaseWorkbookFunctionsDcountARequest.java | 80 - ...orkbookFunctionsDcountARequestBuilder.java | 76 - .../BaseWorkbookFunctionsDcountRequest.java | 80 - ...WorkbookFunctionsDcountRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDdbRequest.java | 80 - ...aseWorkbookFunctionsDdbRequestBuilder.java | 88 - .../BaseWorkbookFunctionsDec2BinRequest.java | 80 - ...orkbookFunctionsDec2BinRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDec2HexRequest.java | 80 - ...orkbookFunctionsDec2HexRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDec2OctRequest.java | 80 - ...orkbookFunctionsDec2OctRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDecimalRequest.java | 80 - ...orkbookFunctionsDecimalRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDegreesRequest.java | 80 - ...orkbookFunctionsDegreesRequestBuilder.java | 64 - .../BaseWorkbookFunctionsDeltaRequest.java | 80 - ...eWorkbookFunctionsDeltaRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDevSqRequest.java | 80 - ...eWorkbookFunctionsDevSqRequestBuilder.java | 64 - .../BaseWorkbookFunctionsDgetRequest.java | 80 - ...seWorkbookFunctionsDgetRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDiscRequest.java | 80 - ...seWorkbookFunctionsDiscRequestBuilder.java | 88 - .../BaseWorkbookFunctionsDmaxRequest.java | 80 - ...seWorkbookFunctionsDmaxRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDminRequest.java | 80 - ...seWorkbookFunctionsDminRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDollarDeRequest.java | 80 - ...rkbookFunctionsDollarDeRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDollarFrRequest.java | 80 - ...rkbookFunctionsDollarFrRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDollarRequest.java | 80 - ...WorkbookFunctionsDollarRequestBuilder.java | 70 - .../BaseWorkbookFunctionsDproductRequest.java | 80 - ...rkbookFunctionsDproductRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDstDevPRequest.java | 80 - ...orkbookFunctionsDstDevPRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDstDevRequest.java | 80 - ...WorkbookFunctionsDstDevRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDsumRequest.java | 80 - ...seWorkbookFunctionsDsumRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDurationRequest.java | 80 - ...rkbookFunctionsDurationRequestBuilder.java | 94 - .../BaseWorkbookFunctionsDvarPRequest.java | 80 - ...eWorkbookFunctionsDvarPRequestBuilder.java | 76 - .../BaseWorkbookFunctionsDvarRequest.java | 80 - ...seWorkbookFunctionsDvarRequestBuilder.java | 76 - ...eWorkbookFunctionsEcma_CeilingRequest.java | 80 - ...okFunctionsEcma_CeilingRequestBuilder.java | 70 - .../BaseWorkbookFunctionsEdateRequest.java | 80 - ...eWorkbookFunctionsEdateRequestBuilder.java | 70 - .../BaseWorkbookFunctionsEffectRequest.java | 80 - ...WorkbookFunctionsEffectRequestBuilder.java | 70 - .../BaseWorkbookFunctionsEoMonthRequest.java | 80 - ...orkbookFunctionsEoMonthRequestBuilder.java | 70 - .../BaseWorkbookFunctionsErfCRequest.java | 80 - ...seWorkbookFunctionsErfCRequestBuilder.java | 64 - ...eWorkbookFunctionsErfC_PreciseRequest.java | 80 - ...okFunctionsErfC_PreciseRequestBuilder.java | 64 - .../BaseWorkbookFunctionsErfRequest.java | 80 - ...aseWorkbookFunctionsErfRequestBuilder.java | 70 - ...seWorkbookFunctionsErf_PreciseRequest.java | 80 - ...ookFunctionsErf_PreciseRequestBuilder.java | 64 - ...aseWorkbookFunctionsError_TypeRequest.java | 80 - ...bookFunctionsError_TypeRequestBuilder.java | 64 - .../BaseWorkbookFunctionsEvenRequest.java | 80 - ...seWorkbookFunctionsEvenRequestBuilder.java | 64 - .../BaseWorkbookFunctionsExactRequest.java | 80 - ...eWorkbookFunctionsExactRequestBuilder.java | 70 - .../BaseWorkbookFunctionsExpRequest.java | 80 - ...aseWorkbookFunctionsExpRequestBuilder.java | 64 - ...aseWorkbookFunctionsExpon_DistRequest.java | 80 - ...bookFunctionsExpon_DistRequestBuilder.java | 76 - .../BaseWorkbookFunctionsF_DistRequest.java | 80 - ...WorkbookFunctionsF_DistRequestBuilder.java | 82 - ...BaseWorkbookFunctionsF_Dist_RTRequest.java | 80 - ...kbookFunctionsF_Dist_RTRequestBuilder.java | 76 - .../BaseWorkbookFunctionsF_InvRequest.java | 80 - ...eWorkbookFunctionsF_InvRequestBuilder.java | 76 - .../BaseWorkbookFunctionsF_Inv_RTRequest.java | 80 - ...rkbookFunctionsF_Inv_RTRequestBuilder.java | 76 - ...aseWorkbookFunctionsFactDoubleRequest.java | 80 - ...bookFunctionsFactDoubleRequestBuilder.java | 64 - .../BaseWorkbookFunctionsFactRequest.java | 80 - ...seWorkbookFunctionsFactRequestBuilder.java | 64 - .../BaseWorkbookFunctionsFalseRequest.java | 78 - ...eWorkbookFunctionsFalseRequestBuilder.java | 58 - .../BaseWorkbookFunctionsFindBRequest.java | 80 - ...eWorkbookFunctionsFindBRequestBuilder.java | 76 - .../BaseWorkbookFunctionsFindRequest.java | 80 - ...seWorkbookFunctionsFindRequestBuilder.java | 76 - ...BaseWorkbookFunctionsFisherInvRequest.java | 80 - ...kbookFunctionsFisherInvRequestBuilder.java | 64 - .../BaseWorkbookFunctionsFisherRequest.java | 80 - ...WorkbookFunctionsFisherRequestBuilder.java | 64 - .../BaseWorkbookFunctionsFixedRequest.java | 80 - ...eWorkbookFunctionsFixedRequestBuilder.java | 76 - ...aseWorkbookFunctionsFloor_MathRequest.java | 80 - ...bookFunctionsFloor_MathRequestBuilder.java | 76 - ...WorkbookFunctionsFloor_PreciseRequest.java | 80 - ...kFunctionsFloor_PreciseRequestBuilder.java | 70 - .../BaseWorkbookFunctionsFvRequest.java | 80 - ...BaseWorkbookFunctionsFvRequestBuilder.java | 88 - ...aseWorkbookFunctionsFvscheduleRequest.java | 80 - ...bookFunctionsFvscheduleRequestBuilder.java | 70 - .../BaseWorkbookFunctionsGammaLnRequest.java | 80 - ...orkbookFunctionsGammaLnRequestBuilder.java | 64 - ...rkbookFunctionsGammaLn_PreciseRequest.java | 80 - ...unctionsGammaLn_PreciseRequestBuilder.java | 64 - .../BaseWorkbookFunctionsGammaRequest.java | 80 - ...eWorkbookFunctionsGammaRequestBuilder.java | 64 - ...aseWorkbookFunctionsGamma_DistRequest.java | 80 - ...bookFunctionsGamma_DistRequestBuilder.java | 82 - ...BaseWorkbookFunctionsGamma_InvRequest.java | 80 - ...kbookFunctionsGamma_InvRequestBuilder.java | 76 - .../BaseWorkbookFunctionsGaussRequest.java | 80 - ...eWorkbookFunctionsGaussRequestBuilder.java | 64 - .../BaseWorkbookFunctionsGcdRequest.java | 80 - ...aseWorkbookFunctionsGcdRequestBuilder.java | 64 - .../BaseWorkbookFunctionsGeStepRequest.java | 80 - ...WorkbookFunctionsGeStepRequestBuilder.java | 70 - .../BaseWorkbookFunctionsGeoMeanRequest.java | 80 - ...orkbookFunctionsGeoMeanRequestBuilder.java | 64 - .../BaseWorkbookFunctionsHarMeanRequest.java | 80 - ...orkbookFunctionsHarMeanRequestBuilder.java | 64 - .../BaseWorkbookFunctionsHex2BinRequest.java | 80 - ...orkbookFunctionsHex2BinRequestBuilder.java | 70 - .../BaseWorkbookFunctionsHex2DecRequest.java | 80 - ...orkbookFunctionsHex2DecRequestBuilder.java | 64 - .../BaseWorkbookFunctionsHex2OctRequest.java | 80 - ...orkbookFunctionsHex2OctRequestBuilder.java | 70 - .../BaseWorkbookFunctionsHlookupRequest.java | 80 - ...orkbookFunctionsHlookupRequestBuilder.java | 82 - .../BaseWorkbookFunctionsHourRequest.java | 80 - ...seWorkbookFunctionsHourRequestBuilder.java | 64 - ...eWorkbookFunctionsHypGeom_DistRequest.java | 80 - ...okFunctionsHypGeom_DistRequestBuilder.java | 88 - ...BaseWorkbookFunctionsHyperlinkRequest.java | 80 - ...kbookFunctionsHyperlinkRequestBuilder.java | 70 - .../BaseWorkbookFunctionsIfRequest.java | 80 - ...BaseWorkbookFunctionsIfRequestBuilder.java | 76 - .../BaseWorkbookFunctionsImAbsRequest.java | 80 - ...eWorkbookFunctionsImAbsRequestBuilder.java | 64 - ...aseWorkbookFunctionsImArgumentRequest.java | 80 - ...bookFunctionsImArgumentRequestBuilder.java | 64 - ...seWorkbookFunctionsImConjugateRequest.java | 80 - ...ookFunctionsImConjugateRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImCosRequest.java | 80 - ...eWorkbookFunctionsImCosRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImCoshRequest.java | 80 - ...WorkbookFunctionsImCoshRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImCotRequest.java | 80 - ...eWorkbookFunctionsImCotRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImCscRequest.java | 80 - ...eWorkbookFunctionsImCscRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImCschRequest.java | 80 - ...WorkbookFunctionsImCschRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImDivRequest.java | 80 - ...eWorkbookFunctionsImDivRequestBuilder.java | 70 - .../BaseWorkbookFunctionsImExpRequest.java | 80 - ...eWorkbookFunctionsImExpRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImLnRequest.java | 80 - ...seWorkbookFunctionsImLnRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImLog10Request.java | 80 - ...orkbookFunctionsImLog10RequestBuilder.java | 64 - .../BaseWorkbookFunctionsImLog2Request.java | 80 - ...WorkbookFunctionsImLog2RequestBuilder.java | 64 - .../BaseWorkbookFunctionsImPowerRequest.java | 80 - ...orkbookFunctionsImPowerRequestBuilder.java | 70 - ...BaseWorkbookFunctionsImProductRequest.java | 80 - ...kbookFunctionsImProductRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImRealRequest.java | 80 - ...WorkbookFunctionsImRealRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImSecRequest.java | 80 - ...eWorkbookFunctionsImSecRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImSechRequest.java | 80 - ...WorkbookFunctionsImSechRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImSinRequest.java | 80 - ...eWorkbookFunctionsImSinRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImSinhRequest.java | 80 - ...WorkbookFunctionsImSinhRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImSqrtRequest.java | 80 - ...WorkbookFunctionsImSqrtRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImSubRequest.java | 80 - ...eWorkbookFunctionsImSubRequestBuilder.java | 70 - .../BaseWorkbookFunctionsImSumRequest.java | 80 - ...eWorkbookFunctionsImSumRequestBuilder.java | 64 - .../BaseWorkbookFunctionsImTanRequest.java | 80 - ...eWorkbookFunctionsImTanRequestBuilder.java | 64 - ...BaseWorkbookFunctionsImaginaryRequest.java | 80 - ...kbookFunctionsImaginaryRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIntRateRequest.java | 80 - ...orkbookFunctionsIntRateRequestBuilder.java | 88 - .../BaseWorkbookFunctionsIntRequest.java | 80 - ...aseWorkbookFunctionsIntRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIpmtRequest.java | 80 - ...seWorkbookFunctionsIpmtRequestBuilder.java | 94 - .../BaseWorkbookFunctionsIrrRequest.java | 80 - ...aseWorkbookFunctionsIrrRequestBuilder.java | 70 - .../BaseWorkbookFunctionsIsErrRequest.java | 80 - ...eWorkbookFunctionsIsErrRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIsErrorRequest.java | 80 - ...orkbookFunctionsIsErrorRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIsEvenRequest.java | 80 - ...WorkbookFunctionsIsEvenRequestBuilder.java | 64 - ...BaseWorkbookFunctionsIsFormulaRequest.java | 80 - ...kbookFunctionsIsFormulaRequestBuilder.java | 64 - ...BaseWorkbookFunctionsIsLogicalRequest.java | 80 - ...kbookFunctionsIsLogicalRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIsNARequest.java | 80 - ...seWorkbookFunctionsIsNARequestBuilder.java | 64 - ...BaseWorkbookFunctionsIsNonTextRequest.java | 80 - ...kbookFunctionsIsNonTextRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIsNumberRequest.java | 80 - ...rkbookFunctionsIsNumberRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIsOddRequest.java | 80 - ...eWorkbookFunctionsIsOddRequestBuilder.java | 64 - .../BaseWorkbookFunctionsIsTextRequest.java | 80 - ...WorkbookFunctionsIsTextRequestBuilder.java | 64 - ...aseWorkbookFunctionsIsoWeekNumRequest.java | 80 - ...bookFunctionsIsoWeekNumRequestBuilder.java | 64 - ...seWorkbookFunctionsIso_CeilingRequest.java | 80 - ...ookFunctionsIso_CeilingRequestBuilder.java | 70 - .../BaseWorkbookFunctionsIspmtRequest.java | 80 - ...eWorkbookFunctionsIspmtRequestBuilder.java | 82 - .../BaseWorkbookFunctionsIsrefRequest.java | 80 - ...eWorkbookFunctionsIsrefRequestBuilder.java | 64 - .../BaseWorkbookFunctionsKurtRequest.java | 80 - ...seWorkbookFunctionsKurtRequestBuilder.java | 64 - .../BaseWorkbookFunctionsLargeRequest.java | 80 - ...eWorkbookFunctionsLargeRequestBuilder.java | 70 - .../BaseWorkbookFunctionsLcmRequest.java | 80 - ...aseWorkbookFunctionsLcmRequestBuilder.java | 64 - .../BaseWorkbookFunctionsLeftRequest.java | 80 - ...seWorkbookFunctionsLeftRequestBuilder.java | 70 - .../BaseWorkbookFunctionsLeftbRequest.java | 80 - ...eWorkbookFunctionsLeftbRequestBuilder.java | 70 - .../BaseWorkbookFunctionsLenRequest.java | 80 - ...aseWorkbookFunctionsLenRequestBuilder.java | 64 - .../BaseWorkbookFunctionsLenbRequest.java | 80 - ...seWorkbookFunctionsLenbRequestBuilder.java | 64 - .../BaseWorkbookFunctionsLnRequest.java | 80 - ...BaseWorkbookFunctionsLnRequestBuilder.java | 64 - .../BaseWorkbookFunctionsLog10Request.java | 80 - ...eWorkbookFunctionsLog10RequestBuilder.java | 64 - ...eWorkbookFunctionsLogNorm_DistRequest.java | 80 - ...okFunctionsLogNorm_DistRequestBuilder.java | 82 - ...seWorkbookFunctionsLogNorm_InvRequest.java | 80 - ...ookFunctionsLogNorm_InvRequestBuilder.java | 76 - .../BaseWorkbookFunctionsLogRequest.java | 80 - ...aseWorkbookFunctionsLogRequestBuilder.java | 70 - .../BaseWorkbookFunctionsLookupRequest.java | 80 - ...WorkbookFunctionsLookupRequestBuilder.java | 76 - .../BaseWorkbookFunctionsLowerRequest.java | 80 - ...eWorkbookFunctionsLowerRequestBuilder.java | 64 - .../BaseWorkbookFunctionsMatchRequest.java | 80 - ...eWorkbookFunctionsMatchRequestBuilder.java | 76 - .../BaseWorkbookFunctionsMaxARequest.java | 80 - ...seWorkbookFunctionsMaxARequestBuilder.java | 64 - .../BaseWorkbookFunctionsMaxRequest.java | 80 - ...aseWorkbookFunctionsMaxRequestBuilder.java | 64 - ...BaseWorkbookFunctionsMdurationRequest.java | 80 - ...kbookFunctionsMdurationRequestBuilder.java | 94 - .../BaseWorkbookFunctionsMedianRequest.java | 80 - ...WorkbookFunctionsMedianRequestBuilder.java | 64 - .../BaseWorkbookFunctionsMidRequest.java | 80 - ...aseWorkbookFunctionsMidRequestBuilder.java | 76 - .../BaseWorkbookFunctionsMidbRequest.java | 80 - ...seWorkbookFunctionsMidbRequestBuilder.java | 76 - .../BaseWorkbookFunctionsMinARequest.java | 80 - ...seWorkbookFunctionsMinARequestBuilder.java | 64 - .../BaseWorkbookFunctionsMinRequest.java | 80 - ...aseWorkbookFunctionsMinRequestBuilder.java | 64 - .../BaseWorkbookFunctionsMinuteRequest.java | 80 - ...WorkbookFunctionsMinuteRequestBuilder.java | 64 - .../BaseWorkbookFunctionsMirrRequest.java | 80 - ...seWorkbookFunctionsMirrRequestBuilder.java | 76 - .../BaseWorkbookFunctionsModRequest.java | 80 - ...aseWorkbookFunctionsModRequestBuilder.java | 70 - .../BaseWorkbookFunctionsMonthRequest.java | 80 - ...eWorkbookFunctionsMonthRequestBuilder.java | 64 - .../BaseWorkbookFunctionsMroundRequest.java | 80 - ...WorkbookFunctionsMroundRequestBuilder.java | 70 - ...seWorkbookFunctionsMultiNomialRequest.java | 80 - ...ookFunctionsMultiNomialRequestBuilder.java | 64 - .../BaseWorkbookFunctionsNRequest.java | 80 - .../BaseWorkbookFunctionsNRequestBuilder.java | 64 - .../BaseWorkbookFunctionsNaRequest.java | 78 - ...BaseWorkbookFunctionsNaRequestBuilder.java | 58 - ...WorkbookFunctionsNegBinom_DistRequest.java | 80 - ...kFunctionsNegBinom_DistRequestBuilder.java | 82 - ...seWorkbookFunctionsNetworkDaysRequest.java | 80 - ...ookFunctionsNetworkDaysRequestBuilder.java | 76 - ...kbookFunctionsNetworkDays_IntlRequest.java | 80 - ...nctionsNetworkDays_IntlRequestBuilder.java | 82 - .../BaseWorkbookFunctionsNominalRequest.java | 80 - ...orkbookFunctionsNominalRequestBuilder.java | 70 - ...BaseWorkbookFunctionsNorm_DistRequest.java | 80 - ...kbookFunctionsNorm_DistRequestBuilder.java | 82 - .../BaseWorkbookFunctionsNorm_InvRequest.java | 80 - ...rkbookFunctionsNorm_InvRequestBuilder.java | 76 - ...seWorkbookFunctionsNorm_S_DistRequest.java | 80 - ...ookFunctionsNorm_S_DistRequestBuilder.java | 70 - ...aseWorkbookFunctionsNorm_S_InvRequest.java | 80 - ...bookFunctionsNorm_S_InvRequestBuilder.java | 64 - .../BaseWorkbookFunctionsNotRequest.java | 80 - ...aseWorkbookFunctionsNotRequestBuilder.java | 64 - .../BaseWorkbookFunctionsNowRequest.java | 78 - ...aseWorkbookFunctionsNowRequestBuilder.java | 58 - .../BaseWorkbookFunctionsNperRequest.java | 80 - ...seWorkbookFunctionsNperRequestBuilder.java | 88 - .../BaseWorkbookFunctionsNpvRequest.java | 80 - ...aseWorkbookFunctionsNpvRequestBuilder.java | 70 - ...seWorkbookFunctionsNumberValueRequest.java | 80 - ...ookFunctionsNumberValueRequestBuilder.java | 76 - .../BaseWorkbookFunctionsOct2BinRequest.java | 80 - ...orkbookFunctionsOct2BinRequestBuilder.java | 70 - .../BaseWorkbookFunctionsOct2DecRequest.java | 80 - ...orkbookFunctionsOct2DecRequestBuilder.java | 64 - .../BaseWorkbookFunctionsOct2HexRequest.java | 80 - ...orkbookFunctionsOct2HexRequestBuilder.java | 70 - ...BaseWorkbookFunctionsOddFPriceRequest.java | 80 - ...kbookFunctionsOddFPriceRequestBuilder.java | 112 - ...BaseWorkbookFunctionsOddFYieldRequest.java | 80 - ...kbookFunctionsOddFYieldRequestBuilder.java | 112 - ...BaseWorkbookFunctionsOddLPriceRequest.java | 80 - ...kbookFunctionsOddLPriceRequestBuilder.java | 106 - ...BaseWorkbookFunctionsOddLYieldRequest.java | 80 - ...kbookFunctionsOddLYieldRequestBuilder.java | 106 - .../BaseWorkbookFunctionsOddRequest.java | 80 - ...aseWorkbookFunctionsOddRequestBuilder.java | 64 - .../BaseWorkbookFunctionsOrRequest.java | 80 - ...BaseWorkbookFunctionsOrRequestBuilder.java | 64 - ...BaseWorkbookFunctionsPdurationRequest.java | 80 - ...kbookFunctionsPdurationRequestBuilder.java | 76 - ...rkbookFunctionsPercentRank_ExcRequest.java | 80 - ...unctionsPercentRank_ExcRequestBuilder.java | 76 - ...rkbookFunctionsPercentRank_IncRequest.java | 80 - ...unctionsPercentRank_IncRequestBuilder.java | 76 - ...orkbookFunctionsPercentile_ExcRequest.java | 80 - ...FunctionsPercentile_ExcRequestBuilder.java | 70 - ...orkbookFunctionsPercentile_IncRequest.java | 80 - ...FunctionsPercentile_IncRequestBuilder.java | 70 - .../BaseWorkbookFunctionsPermutRequest.java | 80 - ...WorkbookFunctionsPermutRequestBuilder.java | 70 - ...eWorkbookFunctionsPermutationaRequest.java | 80 - ...okFunctionsPermutationaRequestBuilder.java | 70 - .../BaseWorkbookFunctionsPhiRequest.java | 80 - ...aseWorkbookFunctionsPhiRequestBuilder.java | 64 - .../BaseWorkbookFunctionsPiRequest.java | 78 - ...BaseWorkbookFunctionsPiRequestBuilder.java | 58 - .../BaseWorkbookFunctionsPmtRequest.java | 80 - ...aseWorkbookFunctionsPmtRequestBuilder.java | 88 - ...eWorkbookFunctionsPoisson_DistRequest.java | 80 - ...okFunctionsPoisson_DistRequestBuilder.java | 76 - .../BaseWorkbookFunctionsPowerRequest.java | 80 - ...eWorkbookFunctionsPowerRequestBuilder.java | 70 - .../BaseWorkbookFunctionsPpmtRequest.java | 80 - ...seWorkbookFunctionsPpmtRequestBuilder.java | 94 - ...BaseWorkbookFunctionsPriceDiscRequest.java | 80 - ...kbookFunctionsPriceDiscRequestBuilder.java | 88 - .../BaseWorkbookFunctionsPriceMatRequest.java | 80 - ...rkbookFunctionsPriceMatRequestBuilder.java | 94 - .../BaseWorkbookFunctionsPriceRequest.java | 80 - ...eWorkbookFunctionsPriceRequestBuilder.java | 100 - .../BaseWorkbookFunctionsProductRequest.java | 80 - ...orkbookFunctionsProductRequestBuilder.java | 64 - .../BaseWorkbookFunctionsProperRequest.java | 80 - ...WorkbookFunctionsProperRequestBuilder.java | 64 - .../BaseWorkbookFunctionsPvRequest.java | 80 - ...BaseWorkbookFunctionsPvRequestBuilder.java | 88 - ...eWorkbookFunctionsQuartile_ExcRequest.java | 80 - ...okFunctionsQuartile_ExcRequestBuilder.java | 70 - ...eWorkbookFunctionsQuartile_IncRequest.java | 80 - ...okFunctionsQuartile_IncRequestBuilder.java | 70 - .../BaseWorkbookFunctionsQuotientRequest.java | 80 - ...rkbookFunctionsQuotientRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRadiansRequest.java | 80 - ...orkbookFunctionsRadiansRequestBuilder.java | 64 - ...seWorkbookFunctionsRandBetweenRequest.java | 80 - ...ookFunctionsRandBetweenRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRandRequest.java | 78 - ...seWorkbookFunctionsRandRequestBuilder.java | 58 - .../BaseWorkbookFunctionsRank_AvgRequest.java | 80 - ...rkbookFunctionsRank_AvgRequestBuilder.java | 76 - .../BaseWorkbookFunctionsRank_EqRequest.java | 80 - ...orkbookFunctionsRank_EqRequestBuilder.java | 76 - .../BaseWorkbookFunctionsRateRequest.java | 80 - ...seWorkbookFunctionsRateRequestBuilder.java | 94 - .../BaseWorkbookFunctionsReceivedRequest.java | 80 - ...rkbookFunctionsReceivedRequestBuilder.java | 88 - .../BaseWorkbookFunctionsReplaceBRequest.java | 80 - ...rkbookFunctionsReplaceBRequestBuilder.java | 82 - .../BaseWorkbookFunctionsReplaceRequest.java | 80 - ...orkbookFunctionsReplaceRequestBuilder.java | 82 - .../BaseWorkbookFunctionsReptRequest.java | 80 - ...seWorkbookFunctionsReptRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRequest.java | 142 -- .../BaseWorkbookFunctionsRequestBuilder.java | 2248 ----------------- .../BaseWorkbookFunctionsRightRequest.java | 80 - ...eWorkbookFunctionsRightRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRightbRequest.java | 80 - ...WorkbookFunctionsRightbRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRomanRequest.java | 80 - ...eWorkbookFunctionsRomanRequestBuilder.java | 70 - ...BaseWorkbookFunctionsRoundDownRequest.java | 80 - ...kbookFunctionsRoundDownRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRoundRequest.java | 80 - ...eWorkbookFunctionsRoundRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRoundUpRequest.java | 80 - ...orkbookFunctionsRoundUpRequestBuilder.java | 70 - .../BaseWorkbookFunctionsRowsRequest.java | 80 - ...seWorkbookFunctionsRowsRequestBuilder.java | 64 - .../BaseWorkbookFunctionsRriRequest.java | 80 - ...aseWorkbookFunctionsRriRequestBuilder.java | 76 - .../BaseWorkbookFunctionsSecRequest.java | 80 - ...aseWorkbookFunctionsSecRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSechRequest.java | 80 - ...seWorkbookFunctionsSechRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSecondRequest.java | 80 - ...WorkbookFunctionsSecondRequestBuilder.java | 64 - ...BaseWorkbookFunctionsSeriesSumRequest.java | 80 - ...kbookFunctionsSeriesSumRequestBuilder.java | 82 - .../BaseWorkbookFunctionsSheetRequest.java | 80 - ...eWorkbookFunctionsSheetRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSheetsRequest.java | 80 - ...WorkbookFunctionsSheetsRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSignRequest.java | 80 - ...seWorkbookFunctionsSignRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSinRequest.java | 80 - ...aseWorkbookFunctionsSinRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSinhRequest.java | 80 - ...seWorkbookFunctionsSinhRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSkewRequest.java | 80 - ...seWorkbookFunctionsSkewRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSkew_pRequest.java | 80 - ...WorkbookFunctionsSkew_pRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSlnRequest.java | 80 - ...aseWorkbookFunctionsSlnRequestBuilder.java | 76 - .../BaseWorkbookFunctionsSmallRequest.java | 80 - ...eWorkbookFunctionsSmallRequestBuilder.java | 70 - .../BaseWorkbookFunctionsSqrtPiRequest.java | 80 - ...WorkbookFunctionsSqrtPiRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSqrtRequest.java | 80 - ...seWorkbookFunctionsSqrtRequestBuilder.java | 64 - .../BaseWorkbookFunctionsStDevARequest.java | 80 - ...WorkbookFunctionsStDevARequestBuilder.java | 64 - .../BaseWorkbookFunctionsStDevPARequest.java | 80 - ...orkbookFunctionsStDevPARequestBuilder.java | 64 - .../BaseWorkbookFunctionsStDev_PRequest.java | 80 - ...orkbookFunctionsStDev_PRequestBuilder.java | 64 - .../BaseWorkbookFunctionsStDev_SRequest.java | 80 - ...orkbookFunctionsStDev_SRequestBuilder.java | 64 - ...seWorkbookFunctionsStandardizeRequest.java | 80 - ...ookFunctionsStandardizeRequestBuilder.java | 76 - ...aseWorkbookFunctionsSubstituteRequest.java | 80 - ...bookFunctionsSubstituteRequestBuilder.java | 82 - .../BaseWorkbookFunctionsSubtotalRequest.java | 80 - ...rkbookFunctionsSubtotalRequestBuilder.java | 70 - .../BaseWorkbookFunctionsSumIfRequest.java | 80 - ...eWorkbookFunctionsSumIfRequestBuilder.java | 76 - .../BaseWorkbookFunctionsSumIfsRequest.java | 80 - ...WorkbookFunctionsSumIfsRequestBuilder.java | 70 - .../BaseWorkbookFunctionsSumRequest.java | 80 - ...aseWorkbookFunctionsSumRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSumSqRequest.java | 80 - ...eWorkbookFunctionsSumSqRequestBuilder.java | 64 - .../BaseWorkbookFunctionsSydRequest.java | 80 - ...aseWorkbookFunctionsSydRequestBuilder.java | 82 - .../BaseWorkbookFunctionsTRequest.java | 80 - .../BaseWorkbookFunctionsTRequestBuilder.java | 64 - .../BaseWorkbookFunctionsT_DistRequest.java | 80 - ...WorkbookFunctionsT_DistRequestBuilder.java | 76 - ...BaseWorkbookFunctionsT_Dist_2TRequest.java | 80 - ...kbookFunctionsT_Dist_2TRequestBuilder.java | 70 - ...BaseWorkbookFunctionsT_Dist_RTRequest.java | 80 - ...kbookFunctionsT_Dist_RTRequestBuilder.java | 70 - .../BaseWorkbookFunctionsT_InvRequest.java | 80 - ...eWorkbookFunctionsT_InvRequestBuilder.java | 70 - .../BaseWorkbookFunctionsT_Inv_2TRequest.java | 80 - ...rkbookFunctionsT_Inv_2TRequestBuilder.java | 70 - .../BaseWorkbookFunctionsTanRequest.java | 80 - ...aseWorkbookFunctionsTanRequestBuilder.java | 64 - .../BaseWorkbookFunctionsTanhRequest.java | 80 - ...seWorkbookFunctionsTanhRequestBuilder.java | 64 - .../BaseWorkbookFunctionsTbillEqRequest.java | 80 - ...orkbookFunctionsTbillEqRequestBuilder.java | 76 - ...aseWorkbookFunctionsTbillPriceRequest.java | 80 - ...bookFunctionsTbillPriceRequestBuilder.java | 76 - ...aseWorkbookFunctionsTbillYieldRequest.java | 80 - ...bookFunctionsTbillYieldRequestBuilder.java | 76 - .../BaseWorkbookFunctionsTextRequest.java | 80 - ...seWorkbookFunctionsTextRequestBuilder.java | 70 - .../BaseWorkbookFunctionsTimeRequest.java | 80 - ...seWorkbookFunctionsTimeRequestBuilder.java | 76 - ...BaseWorkbookFunctionsTimevalueRequest.java | 80 - ...kbookFunctionsTimevalueRequestBuilder.java | 64 - .../BaseWorkbookFunctionsTodayRequest.java | 78 - ...eWorkbookFunctionsTodayRequestBuilder.java | 58 - .../BaseWorkbookFunctionsTrimMeanRequest.java | 80 - ...rkbookFunctionsTrimMeanRequestBuilder.java | 70 - .../BaseWorkbookFunctionsTrimRequest.java | 80 - ...seWorkbookFunctionsTrimRequestBuilder.java | 64 - .../BaseWorkbookFunctionsTrueRequest.java | 78 - ...seWorkbookFunctionsTrueRequestBuilder.java | 58 - .../BaseWorkbookFunctionsTruncRequest.java | 80 - ...eWorkbookFunctionsTruncRequestBuilder.java | 70 - .../BaseWorkbookFunctionsTypeRequest.java | 80 - ...seWorkbookFunctionsTypeRequestBuilder.java | 64 - .../BaseWorkbookFunctionsUnicharRequest.java | 80 - ...orkbookFunctionsUnicharRequestBuilder.java | 64 - .../BaseWorkbookFunctionsUnicodeRequest.java | 80 - ...orkbookFunctionsUnicodeRequestBuilder.java | 64 - .../BaseWorkbookFunctionsUpperRequest.java | 80 - ...eWorkbookFunctionsUpperRequestBuilder.java | 64 - .../BaseWorkbookFunctionsUsdollarRequest.java | 80 - ...rkbookFunctionsUsdollarRequestBuilder.java | 70 - .../BaseWorkbookFunctionsValueRequest.java | 80 - ...eWorkbookFunctionsValueRequestBuilder.java | 64 - .../BaseWorkbookFunctionsVarARequest.java | 80 - ...seWorkbookFunctionsVarARequestBuilder.java | 64 - .../BaseWorkbookFunctionsVarPARequest.java | 80 - ...eWorkbookFunctionsVarPARequestBuilder.java | 64 - .../BaseWorkbookFunctionsVar_PRequest.java | 80 - ...eWorkbookFunctionsVar_PRequestBuilder.java | 64 - .../BaseWorkbookFunctionsVar_SRequest.java | 80 - ...eWorkbookFunctionsVar_SRequestBuilder.java | 64 - .../BaseWorkbookFunctionsVdbRequest.java | 80 - ...aseWorkbookFunctionsVdbRequestBuilder.java | 100 - .../BaseWorkbookFunctionsVlookupRequest.java | 80 - ...orkbookFunctionsVlookupRequestBuilder.java | 82 - .../BaseWorkbookFunctionsWeekNumRequest.java | 80 - ...orkbookFunctionsWeekNumRequestBuilder.java | 70 - .../BaseWorkbookFunctionsWeekdayRequest.java | 80 - ...orkbookFunctionsWeekdayRequestBuilder.java | 70 - ...eWorkbookFunctionsWeibull_DistRequest.java | 80 - ...okFunctionsWeibull_DistRequestBuilder.java | 82 - .../BaseWorkbookFunctionsWorkDayRequest.java | 80 - ...orkbookFunctionsWorkDayRequestBuilder.java | 76 - ...eWorkbookFunctionsWorkDay_IntlRequest.java | 80 - ...okFunctionsWorkDay_IntlRequestBuilder.java | 82 - .../BaseWorkbookFunctionsXirrRequest.java | 80 - ...seWorkbookFunctionsXirrRequestBuilder.java | 76 - .../BaseWorkbookFunctionsXnpvRequest.java | 80 - ...seWorkbookFunctionsXnpvRequestBuilder.java | 76 - .../BaseWorkbookFunctionsXorRequest.java | 80 - ...aseWorkbookFunctionsXorRequestBuilder.java | 64 - .../BaseWorkbookFunctionsYearFracRequest.java | 80 - ...rkbookFunctionsYearFracRequestBuilder.java | 76 - .../BaseWorkbookFunctionsYearRequest.java | 80 - ...seWorkbookFunctionsYearRequestBuilder.java | 64 - ...BaseWorkbookFunctionsYieldDiscRequest.java | 80 - ...kbookFunctionsYieldDiscRequestBuilder.java | 88 - .../BaseWorkbookFunctionsYieldMatRequest.java | 80 - ...rkbookFunctionsYieldMatRequestBuilder.java | 94 - .../BaseWorkbookFunctionsYieldRequest.java | 80 - ...eWorkbookFunctionsYieldRequestBuilder.java | 100 - .../BaseWorkbookFunctionsZ_TestRequest.java | 80 - ...WorkbookFunctionsZ_TestRequestBuilder.java | 76 - ...rkbookNamedItemAddFormulaLocalRequest.java | 80 - ...amedItemAddFormulaLocalRequestBuilder.java | 76 - .../BaseWorkbookNamedItemAddRequest.java | 80 - ...aseWorkbookNamedItemAddRequestBuilder.java | 76 - .../BaseWorkbookNamedItemCollectionPage.java | 27 - ...aseWorkbookNamedItemCollectionRequest.java | 116 - ...bookNamedItemCollectionRequestBuilder.java | 57 - ...seWorkbookNamedItemCollectionResponse.java | 90 - .../BaseWorkbookNamedItemRangeRequest.java | 118 - ...eWorkbookNamedItemRangeRequestBuilder.java | 62 - .../BaseWorkbookNamedItemRequest.java | 142 -- .../BaseWorkbookNamedItemRequestBuilder.java | 69 - .../BaseWorkbookPivotTableCollectionPage.java | 27 - ...seWorkbookPivotTableCollectionRequest.java | 116 - ...ookPivotTableCollectionRequestBuilder.java | 53 - ...eWorkbookPivotTableCollectionResponse.java | 90 - ...seWorkbookPivotTableRefreshAllRequest.java | 64 - ...ookPivotTableRefreshAllRequestBuilder.java | 58 - .../BaseWorkbookPivotTableRefreshRequest.java | 64 - ...rkbookPivotTableRefreshRequestBuilder.java | 58 - .../BaseWorkbookPivotTableRequest.java | 142 -- .../BaseWorkbookPivotTableRequestBuilder.java | 69 - .../BaseWorkbookProcessQueryRequest.java | 79 - ...aseWorkbookProcessQueryRequestBuilder.java | 64 - ...BaseWorkbookRangeBorderCollectionPage.java | 27 - ...eWorkbookRangeBorderCollectionRequest.java | 116 - ...okRangeBorderCollectionRequestBuilder.java | 57 - ...WorkbookRangeBorderCollectionResponse.java | 90 - .../BaseWorkbookRangeBorderCountRequest.java | 77 - ...orkbookRangeBorderCountRequestBuilder.java | 62 - .../BaseWorkbookRangeBorderItemAtRequest.java | 118 - ...rkbookRangeBorderItemAtRequestBuilder.java | 64 - .../BaseWorkbookRangeBorderRequest.java | 142 -- ...BaseWorkbookRangeBorderRequestBuilder.java | 52 - .../BaseWorkbookRangeBoundingRectRequest.java | 118 - ...rkbookRangeBoundingRectRequestBuilder.java | 64 - .../BaseWorkbookRangeCellRequest.java | 118 - .../BaseWorkbookRangeCellRequestBuilder.java | 66 - .../BaseWorkbookRangeClearRequest.java | 79 - .../BaseWorkbookRangeClearRequestBuilder.java | 64 - .../BaseWorkbookRangeColumnRequest.java | 118 - ...BaseWorkbookRangeColumnRequestBuilder.java | 64 - .../BaseWorkbookRangeColumnsAfterRequest.java | 118 - ...rkbookRangeColumnsAfterRequestBuilder.java | 74 - ...BaseWorkbookRangeColumnsBeforeRequest.java | 118 - ...kbookRangeColumnsBeforeRequestBuilder.java | 74 - .../BaseWorkbookRangeDeleteRequest.java | 79 - ...BaseWorkbookRangeDeleteRequestBuilder.java | 64 - .../BaseWorkbookRangeEntireColumnRequest.java | 118 - ...rkbookRangeEntireColumnRequestBuilder.java | 62 - .../BaseWorkbookRangeEntireRowRequest.java | 118 - ...eWorkbookRangeEntireRowRequestBuilder.java | 62 - .../BaseWorkbookRangeFillClearRequest.java | 64 - ...eWorkbookRangeFillClearRequestBuilder.java | 58 - .../BaseWorkbookRangeFillRequest.java | 142 -- .../BaseWorkbookRangeFillRequestBuilder.java | 58 - .../BaseWorkbookRangeFontRequest.java | 142 -- .../BaseWorkbookRangeFontRequestBuilder.java | 52 - ...kbookRangeFormatAutofitColumnsRequest.java | 64 - ...ngeFormatAutofitColumnsRequestBuilder.java | 58 - ...WorkbookRangeFormatAutofitRowsRequest.java | 64 - ...kRangeFormatAutofitRowsRequestBuilder.java | 58 - .../BaseWorkbookRangeFormatRequest.java | 142 -- ...BaseWorkbookRangeFormatRequestBuilder.java | 108 - .../BaseWorkbookRangeInsertRequest.java | 80 - ...BaseWorkbookRangeInsertRequestBuilder.java | 64 - .../BaseWorkbookRangeIntersectionRequest.java | 118 - ...rkbookRangeIntersectionRequestBuilder.java | 64 - .../BaseWorkbookRangeLastCellRequest.java | 118 - ...seWorkbookRangeLastCellRequestBuilder.java | 62 - .../BaseWorkbookRangeLastColumnRequest.java | 118 - ...WorkbookRangeLastColumnRequestBuilder.java | 62 - .../BaseWorkbookRangeLastRowRequest.java | 118 - ...aseWorkbookRangeLastRowRequestBuilder.java | 62 - .../BaseWorkbookRangeMergeRequest.java | 79 - .../BaseWorkbookRangeMergeRequestBuilder.java | 64 - .../BaseWorkbookRangeOffsetRangeRequest.java | 118 - ...orkbookRangeOffsetRangeRequestBuilder.java | 66 - .../generated/BaseWorkbookRangeRequest.java | 142 -- .../BaseWorkbookRangeRequestBuilder.java | 253 -- .../BaseWorkbookRangeResizedRangeRequest.java | 118 - ...rkbookRangeResizedRangeRequestBuilder.java | 66 - .../BaseWorkbookRangeRowRequest.java | 118 - .../BaseWorkbookRangeRowRequestBuilder.java | 64 - .../BaseWorkbookRangeRowsAboveRequest.java | 118 - ...eWorkbookRangeRowsAboveRequestBuilder.java | 74 - .../BaseWorkbookRangeRowsBelowRequest.java | 118 - ...eWorkbookRangeRowsBelowRequestBuilder.java | 74 - .../BaseWorkbookRangeSortApplyRequest.java | 79 - ...eWorkbookRangeSortApplyRequestBuilder.java | 89 - .../BaseWorkbookRangeSortRequest.java | 142 -- .../BaseWorkbookRangeSortRequestBuilder.java | 59 - .../BaseWorkbookRangeUnmergeRequest.java | 64 - ...aseWorkbookRangeUnmergeRequestBuilder.java | 58 - .../BaseWorkbookRangeUsedRangeRequest.java | 118 - ...eWorkbookRangeUsedRangeRequestBuilder.java | 74 - .../BaseWorkbookRangeViewCollectionPage.java | 27 - ...aseWorkbookRangeViewCollectionRequest.java | 116 - ...bookRangeViewCollectionRequestBuilder.java | 53 - ...seWorkbookRangeViewCollectionResponse.java | 90 - .../BaseWorkbookRangeViewItemAtRequest.java | 118 - ...WorkbookRangeViewItemAtRequestBuilder.java | 64 - .../BaseWorkbookRangeViewRangeRequest.java | 118 - ...eWorkbookRangeViewRangeRequestBuilder.java | 62 - .../BaseWorkbookRangeViewRequest.java | 142 -- .../BaseWorkbookRangeViewRequestBuilder.java | 69 - .../BaseWorkbookRangeVisibleViewRequest.java | 118 - ...orkbookRangeVisibleViewRequestBuilder.java | 62 - .../BaseWorkbookRefreshSessionRequest.java | 64 - ...eWorkbookRefreshSessionRequestBuilder.java | 58 - .../generated/BaseWorkbookRequest.java | 142 -- .../generated/BaseWorkbookRequestBuilder.java | 131 - .../BaseWorkbookTableAddRequest.java | 80 - .../BaseWorkbookTableAddRequestBuilder.java | 70 - .../BaseWorkbookTableClearFiltersRequest.java | 64 - ...rkbookTableClearFiltersRequestBuilder.java | 58 - .../BaseWorkbookTableCollectionPage.java | 27 - .../BaseWorkbookTableCollectionRequest.java | 116 - ...WorkbookTableCollectionRequestBuilder.java | 61 - .../BaseWorkbookTableCollectionResponse.java | 90 - .../BaseWorkbookTableColumnAddRequest.java | 80 - ...eWorkbookTableColumnAddRequestBuilder.java | 76 - ...BaseWorkbookTableColumnCollectionPage.java | 27 - ...eWorkbookTableColumnCollectionRequest.java | 116 - ...okTableColumnCollectionRequestBuilder.java | 61 - ...WorkbookTableColumnCollectionResponse.java | 90 - .../BaseWorkbookTableColumnCountRequest.java | 77 - ...orkbookTableColumnCountRequestBuilder.java | 62 - ...rkbookTableColumnDataBodyRangeRequest.java | 118 - ...ableColumnDataBodyRangeRequestBuilder.java | 62 - ...kbookTableColumnHeaderRowRangeRequest.java | 118 - ...bleColumnHeaderRowRangeRequestBuilder.java | 62 - .../BaseWorkbookTableColumnItemAtRequest.java | 118 - ...rkbookTableColumnItemAtRequestBuilder.java | 64 - .../BaseWorkbookTableColumnRangeRequest.java | 118 - ...orkbookTableColumnRangeRequestBuilder.java | 62 - .../BaseWorkbookTableColumnRequest.java | 142 -- ...BaseWorkbookTableColumnRequestBuilder.java | 87 - ...rkbookTableColumnTotalRowRangeRequest.java | 118 - ...ableColumnTotalRowRangeRequestBuilder.java | 62 - ...aseWorkbookTableConvertToRangeRequest.java | 78 - ...bookTableConvertToRangeRequestBuilder.java | 58 - .../BaseWorkbookTableCountRequest.java | 77 - .../BaseWorkbookTableCountRequestBuilder.java | 62 - ...BaseWorkbookTableDataBodyRangeRequest.java | 118 - ...kbookTableDataBodyRangeRequestBuilder.java | 62 - ...aseWorkbookTableHeaderRowRangeRequest.java | 118 - ...bookTableHeaderRowRangeRequestBuilder.java | 62 - .../BaseWorkbookTableItemAtRequest.java | 118 - ...BaseWorkbookTableItemAtRequestBuilder.java | 64 - .../BaseWorkbookTableRangeRequest.java | 118 - .../BaseWorkbookTableRangeRequestBuilder.java | 62 - ...aseWorkbookTableReapplyFiltersRequest.java | 64 - ...bookTableReapplyFiltersRequestBuilder.java | 58 - .../generated/BaseWorkbookTableRequest.java | 142 -- .../BaseWorkbookTableRequestBuilder.java | 138 - .../BaseWorkbookTableRowAddRequest.java | 80 - ...BaseWorkbookTableRowAddRequestBuilder.java | 70 - .../BaseWorkbookTableRowCollectionPage.java | 27 - ...BaseWorkbookTableRowCollectionRequest.java | 116 - ...kbookTableRowCollectionRequestBuilder.java | 61 - ...aseWorkbookTableRowCollectionResponse.java | 90 - .../BaseWorkbookTableRowCountRequest.java | 77 - ...seWorkbookTableRowCountRequestBuilder.java | 62 - .../BaseWorkbookTableRowItemAtRequest.java | 118 - ...eWorkbookTableRowItemAtRequestBuilder.java | 64 - .../BaseWorkbookTableRowRangeRequest.java | 118 - ...seWorkbookTableRowRangeRequestBuilder.java | 62 - .../BaseWorkbookTableRowRequest.java | 142 -- .../BaseWorkbookTableRowRequestBuilder.java | 58 - .../BaseWorkbookTableSortApplyRequest.java | 79 - ...eWorkbookTableSortApplyRequestBuilder.java | 77 - .../BaseWorkbookTableSortClearRequest.java | 64 - ...eWorkbookTableSortClearRequestBuilder.java | 58 - .../BaseWorkbookTableSortReapplyRequest.java | 64 - ...orkbookTableSortReapplyRequestBuilder.java | 58 - .../BaseWorkbookTableSortRequest.java | 142 -- .../BaseWorkbookTableSortRequestBuilder.java | 71 - ...BaseWorkbookTableTotalRowRangeRequest.java | 118 - ...kbookTableTotalRowRangeRequestBuilder.java | 62 - .../BaseWorkbookWorksheetAddRequest.java | 80 - ...aseWorkbookWorksheetAddRequestBuilder.java | 64 - .../BaseWorkbookWorksheetCellRequest.java | 118 - ...seWorkbookWorksheetCellRequestBuilder.java | 66 - .../BaseWorkbookWorksheetCollectionPage.java | 27 - ...aseWorkbookWorksheetCollectionRequest.java | 116 - ...bookWorksheetCollectionRequestBuilder.java | 53 - ...seWorkbookWorksheetCollectionResponse.java | 90 - ...bookWorksheetProtectionProtectRequest.java | 79 - ...ksheetProtectionProtectRequestBuilder.java | 65 - ...aseWorkbookWorksheetProtectionRequest.java | 142 -- ...bookWorksheetProtectionRequestBuilder.java | 65 - ...okWorksheetProtectionUnprotectRequest.java | 64 - ...heetProtectionUnprotectRequestBuilder.java | 58 - .../BaseWorkbookWorksheetRangeRequest.java | 118 - ...eWorkbookWorksheetRangeRequestBuilder.java | 74 - .../BaseWorkbookWorksheetRequest.java | 142 -- .../BaseWorkbookWorksheetRequestBuilder.java | 137 - ...BaseWorkbookWorksheetUsedRangeRequest.java | 118 - ...kbookWorksheetUsedRangeRequestBuilder.java | 74 - ...BaseActivityHistoryItemCollectionPage.java | 28 - ...eActivityHistoryItemCollectionRequest.java | 59 - ...tyHistoryItemCollectionRequestBuilder.java | 33 - .../IBaseActivityHistoryItemRequest.java | 99 - ...BaseActivityHistoryItemRequestBuilder.java | 41 - .../IBaseAdministrativeUnitRequest.java | 99 - ...IBaseAdministrativeUnitRequestBuilder.java | 33 - .../generated/IBaseAlertCollectionPage.java | 28 - .../IBaseAlertCollectionRequest.java | 59 - .../IBaseAlertCollectionRequestBuilder.java | 33 - .../requests/generated/IBaseAlertRequest.java | 99 - .../generated/IBaseAlertRequestBuilder.java | 33 - .../IBaseAndroidCompliancePolicyRequest.java | 99 - ...AndroidCompliancePolicyRequestBuilder.java | 33 - ...BaseAndroidCustomConfigurationRequest.java | 99 - ...roidCustomConfigurationRequestBuilder.java | 33 - ...roidGeneralDeviceConfigurationRequest.java | 99 - ...eralDeviceConfigurationRequestBuilder.java | 33 - .../generated/IBaseAndroidLobAppRequest.java | 99 - .../IBaseAndroidLobAppRequestBuilder.java | 33 - ...oidManagedAppProtectionCollectionPage.java | 28 - ...ManagedAppProtectionCollectionRequest.java | 59 - ...AppProtectionCollectionRequestBuilder.java | 33 - ...aseAndroidManagedAppProtectionRequest.java | 99 - ...oidManagedAppProtectionRequestBuilder.java | 47 - ...eAndroidManagedAppRegistrationRequest.java | 99 - ...dManagedAppRegistrationRequestBuilder.java | 33 - .../IBaseAndroidStoreAppRequest.java | 99 - .../IBaseAndroidStoreAppRequestBuilder.java | 33 - ...oidWorkProfileCompliancePolicyRequest.java | 99 - ...ProfileCompliancePolicyRequestBuilder.java | 33 - ...WorkProfileCustomConfigurationRequest.java | 99 - ...fileCustomConfigurationRequestBuilder.java | 33 - ...fileGeneralDeviceConfigurationRequest.java | 99 - ...eralDeviceConfigurationRequestBuilder.java | 33 - .../generated/IBaseAppCatalogsRequest.java | 99 - .../IBaseAppCatalogsRequestBuilder.java | 39 - ...eviceFeaturesConfigurationBaseRequest.java | 99 - ...aturesConfigurationBaseRequestBuilder.java | 33 - ...ationCertificateSigningRequestRequest.java | 55 - ...rtificateSigningRequestRequestBuilder.java | 32 - ...plePushNotificationCertificateRequest.java | 99 - ...NotificationCertificateRequestBuilder.java | 35 - .../IBaseAttachmentCollectionPage.java | 28 - .../IBaseAttachmentCollectionRequest.java | 59 - ...aseAttachmentCollectionRequestBuilder.java | 33 - .../generated/IBaseAttachmentRequest.java | 99 - .../IBaseAttachmentRequestBuilder.java | 33 - .../IBaseBaseItemCollectionPage.java | 28 - .../IBaseBaseItemCollectionRequest.java | 59 - ...IBaseBaseItemCollectionRequestBuilder.java | 33 - .../generated/IBaseBaseItemRequest.java | 99 - .../IBaseBaseItemRequestBuilder.java | 49 - .../IBaseBaseItemVersionRequest.java | 99 - .../IBaseBaseItemVersionRequestBuilder.java | 33 - .../IBaseCalendarCollectionPage.java | 28 - .../IBaseCalendarCollectionRequest.java | 59 - ...IBaseCalendarCollectionRequestBuilder.java | 33 - .../IBaseCalendarGroupCollectionPage.java | 28 - .../IBaseCalendarGroupCollectionRequest.java | 59 - ...CalendarGroupCollectionRequestBuilder.java | 33 - .../generated/IBaseCalendarGroupRequest.java | 99 - .../IBaseCalendarGroupRequestBuilder.java | 39 - .../generated/IBaseCalendarRequest.java | 99 - .../IBaseCalendarRequestBuilder.java | 57 - .../generated/IBaseChannelCollectionPage.java | 28 - .../IBaseChannelCollectionRequest.java | 59 - .../IBaseChannelCollectionRequestBuilder.java | 33 - .../generated/IBaseChannelRequest.java | 99 - .../generated/IBaseChannelRequestBuilder.java | 39 - .../IBaseColumnDefinitionCollectionPage.java | 28 - ...BaseColumnDefinitionCollectionRequest.java | 59 - ...umnDefinitionCollectionRequestBuilder.java | 33 - .../IBaseColumnDefinitionRequest.java | 99 - .../IBaseColumnDefinitionRequestBuilder.java | 33 - .../IBaseColumnLinkCollectionPage.java | 28 - .../IBaseColumnLinkCollectionRequest.java | 59 - ...aseColumnLinkCollectionRequestBuilder.java | 33 - .../generated/IBaseColumnLinkRequest.java | 99 - .../IBaseColumnLinkRequestBuilder.java | 33 - .../generated/IBaseContactCollectionPage.java | 28 - .../IBaseContactCollectionRequest.java | 59 - .../IBaseContactCollectionRequestBuilder.java | 37 - .../IBaseContactDeltaCollectionPage.java | 34 - .../IBaseContactDeltaCollectionRequest.java | 58 - ...eContactDeltaCollectionRequestBuilder.java | 31 - .../IBaseContactFolderCollectionPage.java | 28 - .../IBaseContactFolderCollectionRequest.java | 59 - ...ContactFolderCollectionRequestBuilder.java | 37 - ...IBaseContactFolderDeltaCollectionPage.java | 34 - ...seContactFolderDeltaCollectionRequest.java | 58 - ...ctFolderDeltaCollectionRequestBuilder.java | 31 - .../generated/IBaseContactFolderRequest.java | 99 - .../IBaseContactFolderRequestBuilder.java | 57 - .../generated/IBaseContactRequest.java | 99 - .../generated/IBaseContactRequestBuilder.java | 59 - .../IBaseContentTypeCollectionPage.java | 28 - .../IBaseContentTypeCollectionRequest.java | 59 - ...seContentTypeCollectionRequestBuilder.java | 33 - .../generated/IBaseContentTypeRequest.java | 99 - .../IBaseContentTypeRequestBuilder.java | 39 - .../IBaseContractCollectionPage.java | 28 - .../IBaseContractCollectionRequest.java | 59 - ...IBaseContractCollectionRequestBuilder.java | 33 - .../generated/IBaseContractRequest.java | 99 - .../IBaseContractRequestBuilder.java | 33 - .../IBaseConversationCollectionPage.java | 28 - .../IBaseConversationCollectionRequest.java | 59 - ...eConversationCollectionRequestBuilder.java | 33 - .../generated/IBaseConversationRequest.java | 99 - .../IBaseConversationRequestBuilder.java | 39 - ...IBaseConversationThreadCollectionPage.java | 28 - ...seConversationThreadCollectionRequest.java | 59 - ...rsationThreadCollectionRequestBuilder.java | 33 - .../IBaseConversationThreadReplyRequest.java | 46 - ...ConversationThreadReplyRequestBuilder.java | 32 - .../IBaseConversationThreadRequest.java | 99 - ...IBaseConversationThreadRequestBuilder.java | 42 - ...BaseDataPolicyOperationCollectionPage.java | 28 - ...eDataPolicyOperationCollectionRequest.java | 59 - ...licyOperationCollectionRequestBuilder.java | 33 - .../IBaseDataPolicyOperationRequest.java | 99 - ...BaseDataPolicyOperationRequestBuilder.java | 33 - ...ultManagedAppProtectionCollectionPage.java | 28 - ...ManagedAppProtectionCollectionRequest.java | 59 - ...AppProtectionCollectionRequestBuilder.java | 33 - ...aseDefaultManagedAppProtectionRequest.java | 99 - ...ultManagedAppProtectionRequestBuilder.java | 47 - .../IBaseDetectedAppCollectionPage.java | 28 - .../IBaseDetectedAppCollectionRequest.java | 59 - ...seDetectedAppCollectionRequestBuilder.java | 33 - .../generated/IBaseDetectedAppRequest.java | 99 - .../IBaseDetectedAppRequestBuilder.java | 39 - ...anagementRoleAssignmentCollectionPage.java | 28 - ...gementRoleAssignmentCollectionRequest.java | 59 - ...oleAssignmentCollectionRequestBuilder.java | 33 - ...AndAppManagementRoleAssignmentRequest.java | 99 - ...anagementRoleAssignmentRequestBuilder.java | 33 - ...AndAppManagementRoleDefinitionRequest.java | 99 - ...anagementRoleDefinitionRequestBuilder.java | 33 - .../IBaseDeviceAppManagementRequest.java | 99 - ...BaseDeviceAppManagementRequestBuilder.java | 119 - ...cMicrosoftStoreForBusinessAppsRequest.java | 38 - ...oftStoreForBusinessAppsRequestBuilder.java | 32 - .../IBaseDeviceCategoryCollectionPage.java | 28 - .../IBaseDeviceCategoryCollectionRequest.java | 59 - ...eviceCategoryCollectionRequestBuilder.java | 33 - .../generated/IBaseDeviceCategoryRequest.java | 99 - .../IBaseDeviceCategoryRequestBuilder.java | 33 - .../generated/IBaseDeviceCollectionPage.java | 28 - .../IBaseDeviceCollectionRequest.java | 59 - .../IBaseDeviceCollectionRequestBuilder.java | 33 - ...iceComplianceActionItemCollectionPage.java | 28 - ...ComplianceActionItemCollectionRequest.java | 59 - ...nceActionItemCollectionRequestBuilder.java | 33 - ...BaseDeviceComplianceActionItemRequest.java | 99 - ...iceComplianceActionItemRequestBuilder.java | 33 - ...DeviceComplianceDeviceOverviewRequest.java | 99 - ...omplianceDeviceOverviewRequestBuilder.java | 33 - ...eComplianceDeviceStatusCollectionPage.java | 28 - ...mplianceDeviceStatusCollectionRequest.java | 59 - ...eDeviceStatusCollectionRequestBuilder.java | 33 - ...seDeviceComplianceDeviceStatusRequest.java | 99 - ...eComplianceDeviceStatusRequestBuilder.java | 33 - ...eCompliancePolicyAssignCollectionPage.java | 28 - ...mpliancePolicyAssignCollectionRequest.java | 58 - ...ePolicyAssignCollectionRequestBuilder.java | 31 - ...pliancePolicyAssignmentCollectionPage.java | 28 - ...ancePolicyAssignmentCollectionRequest.java | 59 - ...icyAssignmentCollectionRequestBuilder.java | 33 - ...viceCompliancePolicyAssignmentRequest.java | 99 - ...pliancePolicyAssignmentRequestBuilder.java | 33 - ...eDeviceCompliancePolicyCollectionPage.java | 28 - ...viceCompliancePolicyCollectionRequest.java | 59 - ...pliancePolicyCollectionRequestBuilder.java | 33 - ...liancePolicyDeviceStateSummaryRequest.java | 99 - ...olicyDeviceStateSummaryRequestBuilder.java | 33 - .../IBaseDeviceCompliancePolicyRequest.java | 99 - ...eDeviceCompliancePolicyRequestBuilder.java | 86 - ...ePolicyScheduleActionsForRulesRequest.java | 46 - ...ScheduleActionsForRulesRequestBuilder.java | 32 - ...licySettingStateSummaryCollectionPage.java | 28 - ...ySettingStateSummaryCollectionRequest.java | 59 - ...gStateSummaryCollectionRequestBuilder.java | 33 - ...iancePolicySettingStateSummaryRequest.java | 99 - ...licySettingStateSummaryRequestBuilder.java | 39 - ...ceCompliancePolicyStateCollectionPage.java | 28 - ...ompliancePolicyStateCollectionRequest.java | 59 - ...cePolicyStateCollectionRequestBuilder.java | 33 - ...aseDeviceCompliancePolicyStateRequest.java | 99 - ...ceCompliancePolicyStateRequestBuilder.java | 33 - ...eScheduledActionForRuleCollectionPage.java | 28 - ...heduledActionForRuleCollectionRequest.java | 59 - ...ActionForRuleCollectionRequestBuilder.java | 33 - ...mplianceScheduledActionForRuleRequest.java | 99 - ...eScheduledActionForRuleRequestBuilder.java | 39 - ...eComplianceSettingStateCollectionPage.java | 28 - ...mplianceSettingStateCollectionRequest.java | 59 - ...eSettingStateCollectionRequestBuilder.java | 33 - ...seDeviceComplianceSettingStateRequest.java | 99 - ...eComplianceSettingStateRequestBuilder.java | 33 - ...seDeviceComplianceUserOverviewRequest.java | 99 - ...eComplianceUserOverviewRequestBuilder.java | 33 - ...iceComplianceUserStatusCollectionPage.java | 28 - ...ComplianceUserStatusCollectionRequest.java | 59 - ...nceUserStatusCollectionRequestBuilder.java | 33 - ...BaseDeviceComplianceUserStatusRequest.java | 99 - ...iceComplianceUserStatusRequestBuilder.java | 33 - ...viceConfigurationAssignCollectionPage.java | 28 - ...eConfigurationAssignCollectionRequest.java | 58 - ...urationAssignCollectionRequestBuilder.java | 31 - ...ConfigurationAssignmentCollectionPage.java | 28 - ...figurationAssignmentCollectionRequest.java | 59 - ...ionAssignmentCollectionRequestBuilder.java | 33 - ...eDeviceConfigurationAssignmentRequest.java | 99 - ...ConfigurationAssignmentRequestBuilder.java | 33 - ...BaseDeviceConfigurationCollectionPage.java | 28 - ...eDeviceConfigurationCollectionRequest.java | 59 - ...ConfigurationCollectionRequestBuilder.java | 33 - ...iceConfigurationDeviceOverviewRequest.java | 99 - ...igurationDeviceOverviewRequestBuilder.java | 33 - ...onfigurationDeviceStateSummaryRequest.java | 99 - ...ationDeviceStateSummaryRequestBuilder.java | 33 - ...nfigurationDeviceStatusCollectionPage.java | 28 - ...gurationDeviceStatusCollectionRequest.java | 59 - ...nDeviceStatusCollectionRequestBuilder.java | 33 - ...eviceConfigurationDeviceStatusRequest.java | 99 - ...nfigurationDeviceStatusRequestBuilder.java | 33 - .../IBaseDeviceConfigurationRequest.java | 99 - ...BaseDeviceConfigurationRequestBuilder.java | 77 - ...eviceConfigurationStateCollectionPage.java | 28 - ...ceConfigurationStateCollectionRequest.java | 59 - ...gurationStateCollectionRequestBuilder.java | 33 - .../IBaseDeviceConfigurationStateRequest.java | 99 - ...eviceConfigurationStateRequestBuilder.java | 33 - ...eviceConfigurationUserOverviewRequest.java | 99 - ...nfigurationUserOverviewRequestBuilder.java | 33 - ...ConfigurationUserStatusCollectionPage.java | 28 - ...figurationUserStatusCollectionRequest.java | 59 - ...ionUserStatusCollectionRequestBuilder.java | 33 - ...eDeviceConfigurationUserStatusRequest.java | 99 - ...ConfigurationUserStatusRequestBuilder.java | 33 - ...eEnrollmentConfigurationAssignRequest.java | 46 - ...mentConfigurationAssignRequestBuilder.java | 32 - ...EnrollmentConfigurationCollectionPage.java | 28 - ...ollmentConfigurationCollectionRequest.java | 59 - ...ConfigurationCollectionRequestBuilder.java | 33 - ...eDeviceEnrollmentConfigurationRequest.java | 99 - ...EnrollmentConfigurationRequestBuilder.java | 44 - ...llmentConfigurationSetPriorityRequest.java | 46 - ...onfigurationSetPriorityRequestBuilder.java | 32 - ...ceEnrollmentLimitConfigurationRequest.java | 99 - ...lmentLimitConfigurationRequestBuilder.java | 33 - ...tformRestrictionsConfigurationRequest.java | 99 - ...strictionsConfigurationRequestBuilder.java | 33 - ...sHelloForBusinessConfigurationRequest.java | 99 - ...orBusinessConfigurationRequestBuilder.java | 33 - ...IBaseDeviceInstallStateCollectionPage.java | 28 - ...seDeviceInstallStateCollectionRequest.java | 59 - ...eInstallStateCollectionRequestBuilder.java | 33 - .../IBaseDeviceInstallStateRequest.java | 99 - ...IBaseDeviceInstallStateRequestBuilder.java | 33 - ...gementExchangeConnectorCollectionPage.java | 28 - ...entExchangeConnectorCollectionRequest.java | 59 - ...angeConnectorCollectionRequestBuilder.java | 33 - ...iceManagementExchangeConnectorRequest.java | 99 - ...gementExchangeConnectorRequestBuilder.java | 36 - ...anagementExchangeConnectorSyncRequest.java | 46 - ...ntExchangeConnectorSyncRequestBuilder.java | 32 - ...GetEffectivePermissionsCollectionPage.java | 28 - ...EffectivePermissionsCollectionRequest.java | 58 - ...vePermissionsCollectionRequestBuilder.java | 31 - ...DeviceManagementPartnerCollectionPage.java | 28 - ...iceManagementPartnerCollectionRequest.java | 59 - ...gementPartnerCollectionRequestBuilder.java | 33 - .../IBaseDeviceManagementPartnerRequest.java | 99 - ...DeviceManagementPartnerRequestBuilder.java | 33 - .../IBaseDeviceManagementRequest.java | 99 - .../IBaseDeviceManagementRequestBuilder.java | 212 -- ...entTroubleshootingEventCollectionPage.java | 28 - ...TroubleshootingEventCollectionRequest.java | 59 - ...shootingEventCollectionRequestBuilder.java | 33 - ...ManagementTroubleshootingEventRequest.java | 99 - ...entTroubleshootingEventRequestBuilder.java | 33 - ...WindowsEnrollmentAutoDiscoveryRequest.java | 55 - ...EnrollmentAutoDiscoveryRequestBuilder.java | 32 - .../generated/IBaseDeviceRequest.java | 99 - .../generated/IBaseDeviceRequestBuilder.java | 57 - ...ObjectCheckMemberGroupsCollectionPage.java | 28 - ...ectCheckMemberGroupsCollectionRequest.java | 58 - ...kMemberGroupsCollectionRequestBuilder.java | 31 - .../IBaseDirectoryObjectCollectionPage.java | 28 - ...ctoryObjectCollectionReferenceRequest.java | 35 - ...jectCollectionReferenceRequestBuilder.java | 30 - ...IBaseDirectoryObjectCollectionRequest.java | 59 - ...rectoryObjectCollectionRequestBuilder.java | 35 - ...oryObjectCollectionWithReferencesPage.java | 28 - ...ObjectCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - ...DirectoryObjectGetByIdsCollectionPage.java | 28 - ...ectoryObjectGetByIdsCollectionRequest.java | 58 - ...bjectGetByIdsCollectionRequestBuilder.java | 31 - ...ryObjectGetMemberGroupsCollectionPage.java | 28 - ...bjectGetMemberGroupsCollectionRequest.java | 58 - ...tMemberGroupsCollectionRequestBuilder.java | 31 - ...yObjectGetMemberObjectsCollectionPage.java | 28 - ...jectGetMemberObjectsCollectionRequest.java | 58 - ...MemberObjectsCollectionRequestBuilder.java | 31 - .../IBaseDirectoryObjectReferenceRequest.java | 63 - ...irectoryObjectReferenceRequestBuilder.java | 41 - .../IBaseDirectoryObjectRequest.java | 99 - .../IBaseDirectoryObjectRequestBuilder.java | 44 - .../IBaseDirectoryObjectRestoreRequest.java | 56 - ...eDirectoryObjectRestoreRequestBuilder.java | 32 - ...seDirectoryObjectWithReferenceRequest.java | 47 - ...toryObjectWithReferenceRequestBuilder.java | 44 - .../generated/IBaseDirectoryRequest.java | 99 - .../IBaseDirectoryRequestBuilder.java | 39 - .../IBaseDirectoryRoleCollectionPage.java | 28 - .../IBaseDirectoryRoleCollectionRequest.java | 59 - ...DirectoryRoleCollectionRequestBuilder.java | 37 - ...IBaseDirectoryRoleDeltaCollectionPage.java | 34 - ...seDirectoryRoleDeltaCollectionRequest.java | 58 - ...toryRoleDeltaCollectionRequestBuilder.java | 31 - .../generated/IBaseDirectoryRoleRequest.java | 99 - .../IBaseDirectoryRoleRequestBuilder.java | 39 - ...seDirectoryRoleTemplateCollectionPage.java | 28 - ...irectoryRoleTemplateCollectionRequest.java | 59 - ...yRoleTemplateCollectionRequestBuilder.java | 33 - .../IBaseDirectoryRoleTemplateRequest.java | 99 - ...seDirectoryRoleTemplateRequestBuilder.java | 33 - .../generated/IBaseDomainCollectionPage.java | 28 - .../IBaseDomainCollectionRequest.java | 59 - .../IBaseDomainCollectionRequestBuilder.java | 33 - .../IBaseDomainDnsCnameRecordRequest.java | 99 - ...aseDomainDnsCnameRecordRequestBuilder.java | 33 - .../IBaseDomainDnsMxRecordRequest.java | 99 - .../IBaseDomainDnsMxRecordRequestBuilder.java | 33 - .../IBaseDomainDnsRecordCollectionPage.java | 28 - ...IBaseDomainDnsRecordCollectionRequest.java | 59 - ...mainDnsRecordCollectionRequestBuilder.java | 33 - .../IBaseDomainDnsRecordRequest.java | 99 - .../IBaseDomainDnsRecordRequestBuilder.java | 33 - .../IBaseDomainDnsSrvRecordRequest.java | 99 - ...IBaseDomainDnsSrvRecordRequestBuilder.java | 33 - .../IBaseDomainDnsTxtRecordRequest.java | 99 - ...IBaseDomainDnsTxtRecordRequestBuilder.java | 33 - ...BaseDomainDnsUnavailableRecordRequest.java | 99 - ...ainDnsUnavailableRecordRequestBuilder.java | 33 - .../IBaseDomainForceDeleteRequest.java | 46 - .../IBaseDomainForceDeleteRequestBuilder.java | 32 - .../generated/IBaseDomainRequest.java | 99 - .../generated/IBaseDomainRequestBuilder.java | 55 - .../generated/IBaseDomainVerifyRequest.java | 56 - .../IBaseDomainVerifyRequestBuilder.java | 32 - .../generated/IBaseDriveCollectionPage.java | 28 - .../IBaseDriveCollectionRequest.java | 59 - .../IBaseDriveCollectionRequestBuilder.java | 33 - .../IBaseDriveItemCollectionPage.java | 28 - .../IBaseDriveItemCollectionRequest.java | 59 - ...BaseDriveItemCollectionRequestBuilder.java | 33 - .../generated/IBaseDriveItemCopyRequest.java | 47 - .../IBaseDriveItemCopyRequestBuilder.java | 32 - .../IBaseDriveItemCreateLinkRequest.java | 47 - ...BaseDriveItemCreateLinkRequestBuilder.java | 32 - ...seDriveItemCreateUploadSessionRequest.java | 47 - ...ItemCreateUploadSessionRequestBuilder.java | 32 - .../IBaseDriveItemDeltaCollectionPage.java | 34 - .../IBaseDriveItemDeltaCollectionRequest.java | 58 - ...riveItemDeltaCollectionRequestBuilder.java | 31 - .../IBaseDriveItemInviteCollectionPage.java | 28 - ...IBaseDriveItemInviteCollectionRequest.java | 58 - ...iveItemInviteCollectionRequestBuilder.java | 31 - .../IBaseDriveItemPreviewRequest.java | 47 - .../IBaseDriveItemPreviewRequestBuilder.java | 32 - .../generated/IBaseDriveItemRequest.java | 99 - .../IBaseDriveItemRequestBuilder.java | 99 - .../IBaseDriveItemSearchCollectionPage.java | 28 - ...IBaseDriveItemSearchCollectionRequest.java | 58 - ...iveItemSearchCollectionRequestBuilder.java | 31 - .../IBaseDriveItemStreamRequest.java | 60 - .../IBaseDriveItemStreamRequestBuilder.java | 33 - .../IBaseDriveItemVersionCollectionPage.java | 28 - ...BaseDriveItemVersionCollectionRequest.java | 59 - ...veItemVersionCollectionRequestBuilder.java | 33 - .../IBaseDriveItemVersionRequest.java | 99 - .../IBaseDriveItemVersionRequestBuilder.java | 38 - ...DriveItemVersionRestoreVersionRequest.java | 38 - ...emVersionRestoreVersionRequestBuilder.java | 32 - .../IBaseDriveItemVersionStreamRequest.java | 60 - ...eDriveItemVersionStreamRequestBuilder.java | 33 - .../IBaseDriveRecentCollectionPage.java | 28 - .../IBaseDriveRecentCollectionRequest.java | 58 - ...seDriveRecentCollectionRequestBuilder.java | 31 - .../requests/generated/IBaseDriveRequest.java | 99 - .../generated/IBaseDriveRequestBuilder.java | 70 - .../IBaseDriveSearchCollectionPage.java | 28 - .../IBaseDriveSearchCollectionRequest.java | 58 - ...seDriveSearchCollectionRequestBuilder.java | 31 - .../IBaseDriveSharedWithMeCollectionPage.java | 28 - ...aseDriveSharedWithMeCollectionRequest.java | 58 - ...eSharedWithMeCollectionRequestBuilder.java | 31 - .../IBaseEBookInstallSummaryRequest.java | 99 - ...BaseEBookInstallSummaryRequestBuilder.java | 33 - ...aseEditionUpgradeConfigurationRequest.java | 99 - ...ionUpgradeConfigurationRequestBuilder.java | 33 - .../IBaseEducationClassCollectionPage.java | 28 - ...cationClassCollectionReferenceRequest.java | 35 - ...lassCollectionReferenceRequestBuilder.java | 30 - .../IBaseEducationClassCollectionRequest.java | 59 - ...ducationClassCollectionRequestBuilder.java | 33 - ...tionClassCollectionWithReferencesPage.java | 28 - ...nClassCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - .../IBaseEducationClassReferenceRequest.java | 63 - ...EducationClassReferenceRequestBuilder.java | 41 - .../generated/IBaseEducationClassRequest.java | 99 - .../IBaseEducationClassRequestBuilder.java | 59 - ...aseEducationClassWithReferenceRequest.java | 47 - ...ationClassWithReferenceRequestBuilder.java | 44 - .../IBaseEducationOrganizationRequest.java | 99 - ...seEducationOrganizationRequestBuilder.java | 33 - .../generated/IBaseEducationRootRequest.java | 99 - .../IBaseEducationRootRequestBuilder.java | 59 - .../IBaseEducationSchoolCollectionPage.java | 28 - ...ationSchoolCollectionReferenceRequest.java | 35 - ...hoolCollectionReferenceRequestBuilder.java | 30 - ...IBaseEducationSchoolCollectionRequest.java | 59 - ...ucationSchoolCollectionRequestBuilder.java | 33 - ...ionSchoolCollectionWithReferencesPage.java | 28 - ...SchoolCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - .../IBaseEducationSchoolReferenceRequest.java | 63 - ...ducationSchoolReferenceRequestBuilder.java | 41 - .../IBaseEducationSchoolRequest.java | 99 - .../IBaseEducationSchoolRequestBuilder.java | 45 - ...seEducationSchoolWithReferenceRequest.java | 47 - ...tionSchoolWithReferenceRequestBuilder.java | 44 - .../IBaseEducationUserCollectionPage.java | 28 - ...ucationUserCollectionReferenceRequest.java | 35 - ...UserCollectionReferenceRequestBuilder.java | 30 - .../IBaseEducationUserCollectionRequest.java | 59 - ...EducationUserCollectionRequestBuilder.java | 33 - ...ationUserCollectionWithReferencesPage.java | 28 - ...onUserCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - .../IBaseEducationUserReferenceRequest.java | 63 - ...eEducationUserReferenceRequestBuilder.java | 41 - .../generated/IBaseEducationUserRequest.java | 99 - .../IBaseEducationUserRequestBuilder.java | 53 - ...BaseEducationUserWithReferenceRequest.java | 47 - ...cationUserWithReferenceRequestBuilder.java | 44 - ...ConfigurationAssignmentCollectionPage.java | 28 - ...figurationAssignmentCollectionRequest.java | 59 - ...ionAssignmentCollectionRequestBuilder.java | 33 - ...ollmentConfigurationAssignmentRequest.java | 99 - ...ConfigurationAssignmentRequestBuilder.java | 33 - ...EnrollmentTroubleshootingEventRequest.java | 99 - ...entTroubleshootingEventRequestBuilder.java | 33 - .../IBaseEntityReferenceRequest.java | 63 - .../IBaseEntityReferenceRequestBuilder.java | 41 - .../generated/IBaseEntityRequest.java | 36 - .../generated/IBaseEntityRequestBuilder.java | 33 - .../IBaseEntityWithReferenceRequest.java | 47 - ...BaseEntityWithReferenceRequestBuilder.java | 44 - .../generated/IBaseEventAcceptRequest.java | 46 - .../IBaseEventAcceptRequestBuilder.java | 32 - .../generated/IBaseEventCollectionPage.java | 28 - .../IBaseEventCollectionRequest.java | 59 - .../IBaseEventCollectionRequestBuilder.java | 37 - .../generated/IBaseEventDeclineRequest.java | 46 - .../IBaseEventDeclineRequestBuilder.java | 32 - .../IBaseEventDeltaCollectionPage.java | 34 - .../IBaseEventDeltaCollectionRequest.java | 58 - ...aseEventDeltaCollectionRequestBuilder.java | 31 - .../IBaseEventDismissReminderRequest.java | 38 - ...aseEventDismissReminderRequestBuilder.java | 32 - .../generated/IBaseEventMessageRequest.java | 99 - .../IBaseEventMessageRequestBuilder.java | 41 - .../requests/generated/IBaseEventRequest.java | 99 - .../generated/IBaseEventRequestBuilder.java | 82 - .../IBaseEventSnoozeReminderRequest.java | 46 - ...BaseEventSnoozeReminderRequestBuilder.java | 32 - .../IBaseEventTentativelyAcceptRequest.java | 46 - ...eEventTentativelyAcceptRequestBuilder.java | 32 - .../IBaseExtensionCollectionPage.java | 28 - .../IBaseExtensionCollectionRequest.java | 59 - ...BaseExtensionCollectionRequestBuilder.java | 33 - .../generated/IBaseExtensionRequest.java | 99 - .../IBaseExtensionRequestBuilder.java | 33 - .../generated/IBaseFieldValueSetRequest.java | 99 - .../IBaseFieldValueSetRequestBuilder.java | 33 - .../generated/IBaseFileAttachmentRequest.java | 99 - .../IBaseFileAttachmentRequestBuilder.java | 33 - .../IBaseGroupAddFavoriteRequest.java | 38 - .../IBaseGroupAddFavoriteRequestBuilder.java | 32 - .../generated/IBaseGroupCollectionPage.java | 28 - .../IBaseGroupCollectionRequest.java | 59 - .../IBaseGroupCollectionRequestBuilder.java | 37 - .../IBaseGroupDeltaCollectionPage.java | 34 - .../IBaseGroupDeltaCollectionRequest.java | 58 - ...aseGroupDeltaCollectionRequestBuilder.java | 31 - ...seGroupLifecyclePolicyAddGroupRequest.java | 46 - ...LifecyclePolicyAddGroupRequestBuilder.java | 32 - ...aseGroupLifecyclePolicyCollectionPage.java | 28 - ...GroupLifecyclePolicyCollectionRequest.java | 59 - ...fecyclePolicyCollectionRequestBuilder.java | 33 - ...roupLifecyclePolicyRemoveGroupRequest.java | 46 - ...ecyclePolicyRemoveGroupRequestBuilder.java | 32 - .../IBaseGroupLifecyclePolicyRequest.java | 99 - ...aseGroupLifecyclePolicyRequestBuilder.java | 37 - .../generated/IBaseGroupReferenceRequest.java | 63 - .../IBaseGroupReferenceRequestBuilder.java | 41 - .../IBaseGroupRemoveFavoriteRequest.java | 38 - ...BaseGroupRemoveFavoriteRequestBuilder.java | 32 - .../generated/IBaseGroupRenewRequest.java | 38 - .../IBaseGroupRenewRequestBuilder.java | 32 - .../requests/generated/IBaseGroupRequest.java | 99 - .../generated/IBaseGroupRequestBuilder.java | 191 -- .../IBaseGroupResetUnseenCountRequest.java | 38 - ...seGroupResetUnseenCountRequestBuilder.java | 32 - .../IBaseGroupSettingCollectionPage.java | 28 - .../IBaseGroupSettingCollectionRequest.java | 59 - ...eGroupSettingCollectionRequestBuilder.java | 33 - .../generated/IBaseGroupSettingRequest.java | 99 - .../IBaseGroupSettingRequestBuilder.java | 33 - ...aseGroupSettingTemplateCollectionPage.java | 28 - ...GroupSettingTemplateCollectionRequest.java | 59 - ...ttingTemplateCollectionRequestBuilder.java | 33 - .../IBaseGroupSettingTemplateRequest.java | 99 - ...aseGroupSettingTemplateRequestBuilder.java | 33 - .../IBaseGroupSubscribeByMailRequest.java | 38 - ...aseGroupSubscribeByMailRequestBuilder.java | 32 - .../IBaseGroupUnsubscribeByMailRequest.java | 38 - ...eGroupUnsubscribeByMailRequestBuilder.java | 32 - .../IBaseGroupWithReferenceRequest.java | 47 - ...IBaseGroupWithReferenceRequestBuilder.java | 44 - ...eClassificationOverrideCollectionPage.java | 28 - ...assificationOverrideCollectionRequest.java | 59 - ...ationOverrideCollectionRequestBuilder.java | 33 - ...nferenceClassificationOverrideRequest.java | 99 - ...eClassificationOverrideRequestBuilder.java | 33 - .../IBaseInferenceClassificationRequest.java | 99 - ...InferenceClassificationRequestBuilder.java | 39 - .../IBaseInvitationCollectionPage.java | 28 - .../IBaseInvitationCollectionRequest.java | 59 - ...aseInvitationCollectionRequestBuilder.java | 33 - .../generated/IBaseInvitationRequest.java | 99 - .../IBaseInvitationRequestBuilder.java | 41 - .../IBaseIosCertificateProfileRequest.java | 99 - ...seIosCertificateProfileRequestBuilder.java | 33 - .../IBaseIosCompliancePolicyRequest.java | 99 - ...BaseIosCompliancePolicyRequestBuilder.java | 33 - .../IBaseIosCustomConfigurationRequest.java | 99 - ...eIosCustomConfigurationRequestBuilder.java | 33 - ...IosDeviceFeaturesConfigurationRequest.java | 99 - ...ceFeaturesConfigurationRequestBuilder.java | 33 - ...eIosGeneralDeviceConfigurationRequest.java | 99 - ...eralDeviceConfigurationRequestBuilder.java | 33 - .../generated/IBaseIosLobAppRequest.java | 99 - .../IBaseIosLobAppRequestBuilder.java | 33 - ...IosManagedAppProtectionCollectionPage.java | 28 - ...ManagedAppProtectionCollectionRequest.java | 59 - ...AppProtectionCollectionRequestBuilder.java | 33 - .../IBaseIosManagedAppProtectionRequest.java | 99 - ...IosManagedAppProtectionRequestBuilder.java | 47 - ...IBaseIosManagedAppRegistrationRequest.java | 99 - ...sManagedAppRegistrationRequestBuilder.java | 33 - ...IBaseIosMobileAppConfigurationRequest.java | 99 - ...sMobileAppConfigurationRequestBuilder.java | 33 - .../generated/IBaseIosStoreAppRequest.java | 99 - .../IBaseIosStoreAppRequestBuilder.java | 33 - .../IBaseIosUpdateConfigurationRequest.java | 99 - ...eIosUpdateConfigurationRequestBuilder.java | 33 - ...seIosUpdateDeviceStatusCollectionPage.java | 28 - ...osUpdateDeviceStatusCollectionRequest.java | 59 - ...eDeviceStatusCollectionRequestBuilder.java | 33 - .../IBaseIosUpdateDeviceStatusRequest.java | 99 - ...seIosUpdateDeviceStatusRequestBuilder.java | 33 - .../generated/IBaseIosVppAppRequest.java | 99 - .../IBaseIosVppAppRequestBuilder.java | 33 - .../IBaseIosVppEBookAssignmentRequest.java | 99 - ...seIosVppEBookAssignmentRequestBuilder.java | 33 - .../generated/IBaseIosVppEBookRequest.java | 99 - .../IBaseIosVppEBookRequestBuilder.java | 33 - .../generated/IBaseItemAttachmentRequest.java | 99 - .../IBaseItemAttachmentRequestBuilder.java | 41 - .../IBaseLicenseDetailsCollectionPage.java | 28 - .../IBaseLicenseDetailsCollectionRequest.java | 59 - ...icenseDetailsCollectionRequestBuilder.java | 33 - .../generated/IBaseLicenseDetailsRequest.java | 99 - .../IBaseLicenseDetailsRequestBuilder.java | 33 - .../generated/IBaseListCollectionPage.java | 28 - .../generated/IBaseListCollectionRequest.java | 59 - .../IBaseListCollectionRequestBuilder.java | 33 - .../IBaseListItemCollectionPage.java | 28 - .../IBaseListItemCollectionRequest.java | 59 - ...IBaseListItemCollectionRequestBuilder.java | 33 - .../generated/IBaseListItemRequest.java | 99 - .../IBaseListItemRequestBuilder.java | 55 - .../IBaseListItemVersionCollectionPage.java | 28 - ...IBaseListItemVersionCollectionRequest.java | 59 - ...stItemVersionCollectionRequestBuilder.java | 33 - .../IBaseListItemVersionRequest.java | 99 - .../IBaseListItemVersionRequestBuilder.java | 43 - ...eListItemVersionRestoreVersionRequest.java | 38 - ...emVersionRestoreVersionRequestBuilder.java | 32 - .../requests/generated/IBaseListRequest.java | 99 - .../generated/IBaseListRequestBuilder.java | 59 - ...izedNotificationMessageCollectionPage.java | 28 - ...dNotificationMessageCollectionRequest.java | 59 - ...cationMessageCollectionRequestBuilder.java | 33 - ...seLocalizedNotificationMessageRequest.java | 99 - ...izedNotificationMessageRequestBuilder.java | 33 - .../IBaseMacOSCompliancePolicyRequest.java | 99 - ...seMacOSCompliancePolicyRequestBuilder.java | 33 - .../IBaseMacOSCustomConfigurationRequest.java | 99 - ...acOSCustomConfigurationRequestBuilder.java | 33 - ...cOSDeviceFeaturesConfigurationRequest.java | 99 - ...ceFeaturesConfigurationRequestBuilder.java | 33 - ...acOSGeneralDeviceConfigurationRequest.java | 99 - ...eralDeviceConfigurationRequestBuilder.java | 33 - .../IBaseMacOSOfficeSuiteAppRequest.java | 99 - ...BaseMacOSOfficeSuiteAppRequestBuilder.java | 33 - .../IBaseMailFolderCollectionPage.java | 28 - .../IBaseMailFolderCollectionRequest.java | 59 - ...aseMailFolderCollectionRequestBuilder.java | 37 - .../generated/IBaseMailFolderCopyRequest.java | 47 - .../IBaseMailFolderCopyRequestBuilder.java | 32 - .../IBaseMailFolderDeltaCollectionPage.java | 34 - ...IBaseMailFolderDeltaCollectionRequest.java | 58 - ...ilFolderDeltaCollectionRequestBuilder.java | 31 - .../generated/IBaseMailFolderMoveRequest.java | 47 - .../IBaseMailFolderMoveRequestBuilder.java | 32 - .../generated/IBaseMailFolderRequest.java | 99 - .../IBaseMailFolderRequestBuilder.java | 67 - .../IBaseManagedAndroidLobAppRequest.java | 99 - ...aseManagedAndroidLobAppRequestBuilder.java | 33 - .../IBaseManagedAndroidStoreAppRequest.java | 99 - ...eManagedAndroidStoreAppRequestBuilder.java | 33 - .../IBaseManagedAppConfigurationRequest.java | 99 - ...ManagedAppConfigurationRequestBuilder.java | 33 - ...BaseManagedAppOperationCollectionPage.java | 28 - ...eManagedAppOperationCollectionRequest.java | 59 - ...dAppOperationCollectionRequestBuilder.java | 33 - .../IBaseManagedAppOperationRequest.java | 99 - ...BaseManagedAppOperationRequestBuilder.java | 33 - .../IBaseManagedAppPolicyCollectionPage.java | 28 - ...BaseManagedAppPolicyCollectionRequest.java | 59 - ...agedAppPolicyCollectionRequestBuilder.java | 33 - ...agedAppPolicyDeploymentSummaryRequest.java | 99 - ...PolicyDeploymentSummaryRequestBuilder.java | 33 - .../IBaseManagedAppPolicyRequest.java | 99 - .../IBaseManagedAppPolicyRequestBuilder.java | 36 - ...BaseManagedAppPolicyTargetAppsRequest.java | 46 - ...agedAppPolicyTargetAppsRequestBuilder.java | 32 - .../IBaseManagedAppProtectionRequest.java | 99 - ...aseManagedAppProtectionRequestBuilder.java | 36 - ...ManagedAppProtectionTargetAppsRequest.java | 46 - ...AppProtectionTargetAppsRequestBuilder.java | 32 - ...eManagedAppRegistrationCollectionPage.java | 28 - ...egistrationCollectionReferenceRequest.java | 35 - ...tionCollectionReferenceRequestBuilder.java | 30 - ...nagedAppRegistrationCollectionRequest.java | 59 - ...pRegistrationCollectionRequestBuilder.java | 35 - ...istrationCollectionWithReferencesPage.java | 28 - ...rationCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - ...hFlaggedAppRegistrationCollectionPage.java | 28 - ...aggedAppRegistrationCollectionRequest.java | 58 - ...pRegistrationCollectionRequestBuilder.java | 31 - ...anagedAppRegistrationReferenceRequest.java | 63 - ...ppRegistrationReferenceRequestBuilder.java | 41 - .../IBaseManagedAppRegistrationRequest.java | 99 - ...eManagedAppRegistrationRequestBuilder.java | 51 - ...edAppRegistrationWithReferenceRequest.java | 47 - ...gistrationWithReferenceRequestBuilder.java | 44 - .../generated/IBaseManagedAppRequest.java | 99 - .../IBaseManagedAppRequestBuilder.java | 33 - .../IBaseManagedAppStatusCollectionPage.java | 28 - ...BaseManagedAppStatusCollectionRequest.java | 59 - ...agedAppStatusCollectionRequestBuilder.java | 33 - .../IBaseManagedAppStatusRawRequest.java | 99 - ...BaseManagedAppStatusRawRequestBuilder.java | 33 - .../IBaseManagedAppStatusRequest.java | 99 - .../IBaseManagedAppStatusRequestBuilder.java | 33 - ...agedDeviceBypassActivationLockRequest.java | 38 - ...iceBypassActivationLockRequestBuilder.java | 32 - ...anagedDeviceCleanWindowsDeviceRequest.java | 46 - ...eviceCleanWindowsDeviceRequestBuilder.java | 32 - .../IBaseManagedDeviceCollectionPage.java | 28 - ...nagedDeviceCollectionReferenceRequest.java | 35 - ...viceCollectionReferenceRequestBuilder.java | 30 - .../IBaseManagedDeviceCollectionRequest.java | 59 - ...ManagedDeviceCollectionRequestBuilder.java | 33 - ...gedDeviceCollectionWithReferencesPage.java | 28 - ...DeviceCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - ...eleteUserFromSharedAppleDeviceRequest.java | 46 - ...erFromSharedAppleDeviceRequestBuilder.java | 32 - ...seManagedDeviceDisableLostModeRequest.java | 38 - ...edDeviceDisableLostModeRequestBuilder.java | 32 - ...IBaseManagedDeviceLocateDeviceRequest.java | 38 - ...nagedDeviceLocateDeviceRequestBuilder.java | 32 - ...outSharedAppleDeviceActiveUserRequest.java | 38 - ...edAppleDeviceActiveUserRequestBuilder.java | 32 - ...ceMobileAppConfigurationAssignRequest.java | 46 - ...eAppConfigurationAssignRequestBuilder.java | 32 - ...ConfigurationAssignmentCollectionPage.java | 28 - ...figurationAssignmentCollectionRequest.java | 59 - ...ionAssignmentCollectionRequestBuilder.java | 33 - ...bileAppConfigurationAssignmentRequest.java | 99 - ...ConfigurationAssignmentRequestBuilder.java | 33 - ...eMobileAppConfigurationCollectionPage.java | 28 - ...bileAppConfigurationCollectionRequest.java | 59 - ...ConfigurationCollectionRequestBuilder.java | 33 - ...nfigurationDeviceStatusCollectionPage.java | 28 - ...gurationDeviceStatusCollectionRequest.java | 59 - ...nDeviceStatusCollectionRequestBuilder.java | 33 - ...leAppConfigurationDeviceStatusRequest.java | 99 - ...nfigurationDeviceStatusRequestBuilder.java | 33 - ...eAppConfigurationDeviceSummaryRequest.java | 99 - ...figurationDeviceSummaryRequestBuilder.java | 33 - ...edDeviceMobileAppConfigurationRequest.java | 99 - ...eMobileAppConfigurationRequestBuilder.java | 70 - ...ConfigurationUserStatusCollectionPage.java | 28 - ...figurationUserStatusCollectionRequest.java | 59 - ...ionUserStatusCollectionRequestBuilder.java | 33 - ...bileAppConfigurationUserStatusRequest.java | 99 - ...ConfigurationUserStatusRequestBuilder.java | 33 - ...ileAppConfigurationUserSummaryRequest.java | 99 - ...onfigurationUserSummaryRequestBuilder.java | 33 - ...ManagedDeviceOverviewReferenceRequest.java | 63 - ...DeviceOverviewReferenceRequestBuilder.java | 41 - .../IBaseManagedDeviceOverviewRequest.java | 99 - ...seManagedDeviceOverviewRequestBuilder.java | 33 - ...gedDeviceOverviewWithReferenceRequest.java | 47 - ...ceOverviewWithReferenceRequestBuilder.java | 44 - .../IBaseManagedDeviceRebootNowRequest.java | 38 - ...eManagedDeviceRebootNowRequestBuilder.java | 32 - ...seManagedDeviceRecoverPasscodeRequest.java | 38 - ...edDeviceRecoverPasscodeRequestBuilder.java | 32 - .../IBaseManagedDeviceReferenceRequest.java | 63 - ...eManagedDeviceReferenceRequestBuilder.java | 41 - .../IBaseManagedDeviceRemoteLockRequest.java | 38 - ...ManagedDeviceRemoteLockRequestBuilder.java | 32 - .../generated/IBaseManagedDeviceRequest.java | 99 - .../IBaseManagedDeviceRequestBuilder.java | 90 - ...dDeviceRequestRemoteAssistanceRequest.java | 38 - ...RequestRemoteAssistanceRequestBuilder.java | 32 - ...BaseManagedDeviceResetPasscodeRequest.java | 38 - ...agedDeviceResetPasscodeRequestBuilder.java | 32 - .../IBaseManagedDeviceRetireRequest.java | 38 - ...BaseManagedDeviceRetireRequestBuilder.java | 32 - .../IBaseManagedDeviceShutDownRequest.java | 38 - ...seManagedDeviceShutDownRequestBuilder.java | 32 - .../IBaseManagedDeviceSyncDeviceRequest.java | 38 - ...ManagedDeviceSyncDeviceRequestBuilder.java | 32 - ...viceUpdateWindowsDeviceAccountRequest.java | 46 - ...ateWindowsDeviceAccountRequestBuilder.java | 32 - ...nagedDeviceWindowsDefenderScanRequest.java | 46 - ...viceWindowsDefenderScanRequestBuilder.java | 32 - ...indowsDefenderUpdateSignaturesRequest.java | 38 - ...efenderUpdateSignaturesRequestBuilder.java | 32 - .../IBaseManagedDeviceWipeRequest.java | 46 - .../IBaseManagedDeviceWipeRequestBuilder.java | 32 - ...BaseManagedDeviceWithReferenceRequest.java | 47 - ...agedDeviceWithReferenceRequestBuilder.java | 44 - .../IBaseManagedEBookAssignRequest.java | 46 - ...IBaseManagedEBookAssignRequestBuilder.java | 32 - ...eManagedEBookAssignmentCollectionPage.java | 28 - ...nagedEBookAssignmentCollectionRequest.java | 59 - ...ookAssignmentCollectionRequestBuilder.java | 33 - .../IBaseManagedEBookAssignmentRequest.java | 99 - ...eManagedEBookAssignmentRequestBuilder.java | 33 - .../IBaseManagedEBookCollectionPage.java | 28 - .../IBaseManagedEBookCollectionRequest.java | 59 - ...eManagedEBookCollectionRequestBuilder.java | 33 - .../generated/IBaseManagedEBookRequest.java | 99 - .../IBaseManagedEBookRequestBuilder.java | 62 - .../IBaseManagedIOSLobAppRequest.java | 99 - .../IBaseManagedIOSLobAppRequestBuilder.java | 33 - .../IBaseManagedIOSStoreAppRequest.java | 99 - ...IBaseManagedIOSStoreAppRequestBuilder.java | 33 - .../IBaseManagedMobileAppCollectionPage.java | 28 - ...BaseManagedMobileAppCollectionRequest.java | 59 - ...agedMobileAppCollectionRequestBuilder.java | 33 - .../IBaseManagedMobileAppRequest.java | 99 - .../IBaseManagedMobileAppRequestBuilder.java | 33 - .../IBaseManagedMobileLobAppRequest.java | 99 - ...BaseManagedMobileLobAppRequestBuilder.java | 39 - ...rmationProtectionPolicyCollectionPage.java | 28 - ...tionProtectionPolicyCollectionRequest.java | 59 - ...tectionPolicyCollectionRequestBuilder.java | 33 - ...owsInformationProtectionPolicyRequest.java | 99 - ...rmationProtectionPolicyRequestBuilder.java | 33 - .../generated/IBaseMessageCollectionPage.java | 28 - .../IBaseMessageCollectionRequest.java | 59 - .../IBaseMessageCollectionRequestBuilder.java | 37 - .../generated/IBaseMessageCopyRequest.java | 47 - .../IBaseMessageCopyRequestBuilder.java | 32 - .../IBaseMessageCreateForwardRequest.java | 56 - ...aseMessageCreateForwardRequestBuilder.java | 32 - .../IBaseMessageCreateReplyAllRequest.java | 56 - ...seMessageCreateReplyAllRequestBuilder.java | 32 - .../IBaseMessageCreateReplyRequest.java | 56 - ...IBaseMessageCreateReplyRequestBuilder.java | 32 - .../IBaseMessageDeltaCollectionPage.java | 34 - .../IBaseMessageDeltaCollectionRequest.java | 58 - ...eMessageDeltaCollectionRequestBuilder.java | 31 - .../generated/IBaseMessageForwardRequest.java | 46 - .../IBaseMessageForwardRequestBuilder.java | 32 - .../generated/IBaseMessageMoveRequest.java | 47 - .../IBaseMessageMoveRequestBuilder.java | 32 - .../IBaseMessageReplyAllRequest.java | 46 - .../IBaseMessageReplyAllRequestBuilder.java | 32 - .../generated/IBaseMessageReplyRequest.java | 46 - .../IBaseMessageReplyRequestBuilder.java | 32 - .../generated/IBaseMessageRequest.java | 99 - .../generated/IBaseMessageRequestBuilder.java | 76 - .../IBaseMessageRuleCollectionPage.java | 28 - .../IBaseMessageRuleCollectionRequest.java | 59 - ...seMessageRuleCollectionRequestBuilder.java | 33 - .../generated/IBaseMessageRuleRequest.java | 99 - .../IBaseMessageRuleRequestBuilder.java | 33 - .../generated/IBaseMessageSendRequest.java | 38 - .../IBaseMessageSendRequestBuilder.java | 32 - ...seMicrosoftStoreForBusinessAppRequest.java | 99 - ...softStoreForBusinessAppRequestBuilder.java | 33 - .../IBaseMobileAppAssignRequest.java | 46 - .../IBaseMobileAppAssignRequestBuilder.java | 32 - ...BaseMobileAppAssignmentCollectionPage.java | 28 - ...eMobileAppAssignmentCollectionRequest.java | 59 - ...AppAssignmentCollectionRequestBuilder.java | 33 - .../IBaseMobileAppAssignmentRequest.java | 99 - ...BaseMobileAppAssignmentRequestBuilder.java | 33 - .../IBaseMobileAppCategoryCollectionPage.java | 28 - ...AppCategoryCollectionReferenceRequest.java | 35 - ...goryCollectionReferenceRequestBuilder.java | 30 - ...aseMobileAppCategoryCollectionRequest.java | 59 - ...leAppCategoryCollectionRequestBuilder.java | 33 - ...pCategoryCollectionWithReferencesPage.java | 28 - ...tegoryCollectionWithReferencesRequest.java | 37 - ...ollectionWithReferencesRequestBuilder.java | 34 - ...BaseMobileAppCategoryReferenceRequest.java | 63 - ...ileAppCategoryReferenceRequestBuilder.java | 41 - .../IBaseMobileAppCategoryRequest.java | 99 - .../IBaseMobileAppCategoryRequestBuilder.java | 33 - ...MobileAppCategoryWithReferenceRequest.java | 47 - ...ppCategoryWithReferenceRequestBuilder.java | 44 - .../IBaseMobileAppCollectionPage.java | 28 - .../IBaseMobileAppCollectionRequest.java | 59 - ...BaseMobileAppCollectionRequestBuilder.java | 33 - .../IBaseMobileAppContentCollectionPage.java | 28 - ...BaseMobileAppContentCollectionRequest.java | 59 - ...ileAppContentCollectionRequestBuilder.java | 33 - ...aseMobileAppContentFileCollectionPage.java | 28 - ...MobileAppContentFileCollectionRequest.java | 59 - ...ppContentFileCollectionRequestBuilder.java | 33 - ...BaseMobileAppContentFileCommitRequest.java | 46 - ...ileAppContentFileCommitRequestBuilder.java | 32 - ...obileAppContentFileRenewUploadRequest.java | 38 - ...pContentFileRenewUploadRequestBuilder.java | 32 - .../IBaseMobileAppContentFileRequest.java | 99 - ...aseMobileAppContentFileRequestBuilder.java | 38 - .../IBaseMobileAppContentRequest.java | 99 - .../IBaseMobileAppContentRequestBuilder.java | 39 - .../generated/IBaseMobileAppRequest.java | 99 - .../IBaseMobileAppRequestBuilder.java | 48 - .../generated/IBaseMobileLobAppRequest.java | 99 - .../IBaseMobileLobAppRequestBuilder.java | 39 - ...eThreatDefenseConnectorCollectionPage.java | 28 - ...reatDefenseConnectorCollectionRequest.java | 59 - ...enseConnectorCollectionRequestBuilder.java | 33 - ...seMobileThreatDefenseConnectorRequest.java | 99 - ...eThreatDefenseConnectorRequestBuilder.java | 33 - ...eLegacyExtendedPropertyCollectionPage.java | 28 - ...gacyExtendedPropertyCollectionRequest.java | 59 - ...endedPropertyCollectionRequestBuilder.java | 33 - ...ltiValueLegacyExtendedPropertyRequest.java | 99 - ...eLegacyExtendedPropertyRequestBuilder.java | 33 - .../IBaseNotebookCollectionPage.java | 28 - .../IBaseNotebookCollectionRequest.java | 59 - ...IBaseNotebookCollectionRequestBuilder.java | 35 - .../IBaseNotebookCopyNotebookRequest.java | 47 - ...aseNotebookCopyNotebookRequestBuilder.java | 32 - ...ebookGetRecentNotebooksCollectionPage.java | 28 - ...okGetRecentNotebooksCollectionRequest.java | 58 - ...centNotebooksCollectionRequestBuilder.java | 31 - .../generated/IBaseNotebookRequest.java | 99 - .../IBaseNotebookRequestBuilder.java | 47 - ...ficationMessageTemplateCollectionPage.java | 28 - ...ationMessageTemplateCollectionRequest.java | 59 - ...ssageTemplateCollectionRequestBuilder.java | 33 - ...aseNotificationMessageTemplateRequest.java | 99 - ...ficationMessageTemplateRequestBuilder.java | 41 - ...MessageTemplateSendTestMessageRequest.java | 38 - ...TemplateSendTestMessageRequestBuilder.java | 32 - .../IBaseOfficeGraphInsightsRequest.java | 99 - ...BaseOfficeGraphInsightsRequestBuilder.java | 51 - ...misesConditionalAccessSettingsRequest.java | 99 - ...nditionalAccessSettingsRequestBuilder.java | 33 - .../IBaseOnenoteEntityBaseModelRequest.java | 99 - ...eOnenoteEntityBaseModelRequestBuilder.java | 33 - ...aseOnenoteEntityHierarchyModelRequest.java | 99 - ...oteEntityHierarchyModelRequestBuilder.java | 33 - ...OnenoteEntitySchemaObjectModelRequest.java | 99 - ...EntitySchemaObjectModelRequestBuilder.java | 33 - .../IBaseOnenoteOperationCollectionPage.java | 28 - ...BaseOnenoteOperationCollectionRequest.java | 59 - ...noteOperationCollectionRequestBuilder.java | 33 - .../IBaseOnenoteOperationRequest.java | 99 - .../IBaseOnenoteOperationRequestBuilder.java | 33 - .../IBaseOnenotePageCollectionPage.java | 28 - .../IBaseOnenotePageCollectionRequest.java | 59 - ...seOnenotePageCollectionRequestBuilder.java | 33 - .../IBaseOnenotePageCopyToSectionRequest.java | 47 - ...nenotePageCopyToSectionRequestBuilder.java | 32 - ...OnenotePageOnenotePatchContentRequest.java | 46 - ...PageOnenotePatchContentRequestBuilder.java | 32 - .../IBaseOnenotePagePreviewRequest.java | 56 - ...IBaseOnenotePagePreviewRequestBuilder.java | 32 - .../generated/IBaseOnenotePageRequest.java | 99 - .../IBaseOnenotePageRequestBuilder.java | 59 - .../IBaseOnenotePageStreamRequest.java | 60 - .../IBaseOnenotePageStreamRequestBuilder.java | 33 - .../generated/IBaseOnenoteRequest.java | 99 - .../generated/IBaseOnenoteRequestBuilder.java | 69 - .../IBaseOnenoteResourceCollectionPage.java | 28 - ...IBaseOnenoteResourceCollectionRequest.java | 59 - ...enoteResourceCollectionRequestBuilder.java | 33 - .../IBaseOnenoteResourceRequest.java | 99 - .../IBaseOnenoteResourceRequestBuilder.java | 36 - .../IBaseOnenoteResourceStreamRequest.java | 60 - ...seOnenoteResourceStreamRequestBuilder.java | 33 - .../IBaseOnenoteSectionCollectionPage.java | 28 - .../IBaseOnenoteSectionCollectionRequest.java | 59 - ...nenoteSectionCollectionRequestBuilder.java | 33 - ...seOnenoteSectionCopyToNotebookRequest.java | 47 - ...teSectionCopyToNotebookRequestBuilder.java | 32 - ...enoteSectionCopyToSectionGroupRequest.java | 47 - ...ctionCopyToSectionGroupRequestBuilder.java | 32 - .../generated/IBaseOnenoteSectionRequest.java | 99 - .../IBaseOnenoteSectionRequestBuilder.java | 59 - .../IBaseOpenTypeExtensionRequest.java | 99 - .../IBaseOpenTypeExtensionRequestBuilder.java | 33 - .../generated/IBaseOperationRequest.java | 99 - .../IBaseOperationRequestBuilder.java | 33 - .../IBaseOrganizationCollectionPage.java | 28 - .../IBaseOrganizationCollectionRequest.java | 59 - ...eOrganizationCollectionRequestBuilder.java | 33 - .../generated/IBaseOrganizationRequest.java | 99 - .../IBaseOrganizationRequestBuilder.java | 41 - ...obileDeviceManagementAuthorityRequest.java | 55 - ...viceManagementAuthorityRequestBuilder.java | 32 - .../IBaseOutlookCategoryCollectionPage.java | 28 - ...IBaseOutlookCategoryCollectionRequest.java | 59 - ...tlookCategoryCollectionRequestBuilder.java | 33 - .../IBaseOutlookCategoryRequest.java | 99 - .../IBaseOutlookCategoryRequestBuilder.java | 33 - .../generated/IBaseOutlookItemRequest.java | 99 - .../IBaseOutlookItemRequestBuilder.java | 33 - .../generated/IBaseOutlookUserRequest.java | 99 - .../IBaseOutlookUserRequestBuilder.java | 49 - ...kUserSupportedLanguagesCollectionPage.java | 28 - ...erSupportedLanguagesCollectionRequest.java | 58 - ...rtedLanguagesCollectionRequestBuilder.java | 31 - ...kUserSupportedTimeZonesCollectionPage.java | 28 - ...erSupportedTimeZonesCollectionRequest.java | 58 - ...rtedTimeZonesCollectionRequestBuilder.java | 31 - .../IBasePermissionCollectionPage.java | 28 - .../IBasePermissionCollectionRequest.java | 59 - ...asePermissionCollectionRequestBuilder.java | 33 - .../generated/IBasePermissionRequest.java | 99 - .../IBasePermissionRequestBuilder.java | 33 - .../generated/IBasePersonCollectionPage.java | 28 - .../IBasePersonCollectionRequest.java | 59 - .../IBasePersonCollectionRequestBuilder.java | 33 - .../generated/IBasePersonRequest.java | 99 - .../generated/IBasePersonRequestBuilder.java | 33 - ...rAssignedToTaskBoardTaskFormatRequest.java | 99 - ...edToTaskBoardTaskFormatRequestBuilder.java | 33 - .../IBasePlannerBucketCollectionPage.java | 28 - .../IBasePlannerBucketCollectionRequest.java | 59 - ...PlannerBucketCollectionRequestBuilder.java | 33 - .../generated/IBasePlannerBucketRequest.java | 99 - .../IBasePlannerBucketRequestBuilder.java | 39 - ...annerBucketTaskBoardTaskFormatRequest.java | 99 - ...cketTaskBoardTaskFormatRequestBuilder.java | 33 - .../generated/IBasePlannerGroupRequest.java | 99 - .../IBasePlannerGroupRequestBuilder.java | 39 - .../IBasePlannerPlanCollectionPage.java | 28 - .../IBasePlannerPlanCollectionRequest.java | 59 - ...sePlannerPlanCollectionRequestBuilder.java | 33 - .../IBasePlannerPlanDetailsRequest.java | 99 - ...IBasePlannerPlanDetailsRequestBuilder.java | 33 - .../generated/IBasePlannerPlanRequest.java | 99 - .../IBasePlannerPlanRequestBuilder.java | 53 - ...nerProgressTaskBoardTaskFormatRequest.java | 99 - ...ressTaskBoardTaskFormatRequestBuilder.java | 33 - .../generated/IBasePlannerRequest.java | 99 - .../generated/IBasePlannerRequestBuilder.java | 51 - .../IBasePlannerTaskCollectionPage.java | 28 - .../IBasePlannerTaskCollectionRequest.java | 59 - ...sePlannerTaskCollectionRequestBuilder.java | 33 - .../IBasePlannerTaskDetailsRequest.java | 99 - ...IBasePlannerTaskDetailsRequestBuilder.java | 33 - .../generated/IBasePlannerTaskRequest.java | 99 - .../IBasePlannerTaskRequestBuilder.java | 65 - .../generated/IBasePlannerUserRequest.java | 99 - .../IBasePlannerUserRequestBuilder.java | 45 - .../generated/IBasePostCollectionPage.java | 28 - .../generated/IBasePostCollectionRequest.java | 59 - .../IBasePostCollectionRequestBuilder.java | 33 - .../generated/IBasePostForwardRequest.java | 46 - .../IBasePostForwardRequestBuilder.java | 32 - .../generated/IBasePostReplyRequest.java | 46 - .../IBasePostReplyRequestBuilder.java | 32 - .../requests/generated/IBasePostRequest.java | 99 - .../generated/IBasePostRequestBuilder.java | 71 - .../IBaseProfilePhotoCollectionPage.java | 28 - .../IBaseProfilePhotoCollectionRequest.java | 59 - ...eProfilePhotoCollectionRequestBuilder.java | 33 - .../generated/IBaseProfilePhotoRequest.java | 99 - .../IBaseProfilePhotoRequestBuilder.java | 36 - .../IBaseProfilePhotoStreamRequest.java | 60 - ...IBaseProfilePhotoStreamRequestBuilder.java | 45 - .../IBaseReferenceAttachmentRequest.java | 99 - ...BaseReferenceAttachmentRequestBuilder.java | 33 - ...sistancePartnerBeginOnboardingRequest.java | 38 - ...ePartnerBeginOnboardingRequestBuilder.java | 32 - ...RemoteAssistancePartnerCollectionPage.java | 28 - ...oteAssistancePartnerCollectionRequest.java | 59 - ...stancePartnerCollectionRequestBuilder.java | 33 - ...oteAssistancePartnerDisconnectRequest.java | 38 - ...stancePartnerDisconnectRequestBuilder.java | 32 - .../IBaseRemoteAssistancePartnerRequest.java | 99 - ...RemoteAssistancePartnerRequestBuilder.java | 37 - ...iceConfigurationDeviceActivityRequest.java | 89 - ...igurationDeviceActivityRequestBuilder.java | 32 - ...eviceConfigurationUserActivityRequest.java | 89 - ...nfigurationUserActivityRequestBuilder.java | 32 - ...portRootGetEmailActivityCountsRequest.java | 89 - ...tGetEmailActivityCountsRequestBuilder.java | 32 - ...RootGetEmailActivityUserCountsRequest.java | 89 - ...EmailActivityUserCountsRequestBuilder.java | 32 - ...RootGetEmailActivityUserDetailRequest.java | 89 - ...EmailActivityUserDetailRequestBuilder.java | 32 - ...GetEmailAppUsageAppsUserCountsRequest.java | 89 - ...lAppUsageAppsUserCountsRequestBuilder.java | 32 - ...RootGetEmailAppUsageUserCountsRequest.java | 89 - ...EmailAppUsageUserCountsRequestBuilder.java | 32 - ...RootGetEmailAppUsageUserDetailRequest.java | 89 - ...EmailAppUsageUserDetailRequestBuilder.java | 32 - ...mailAppUsageVersionsUserCountsRequest.java | 89 - ...UsageVersionsUserCountsRequestBuilder.java | 32 - ...eportRootGetMailboxUsageDetailRequest.java | 89 - ...otGetMailboxUsageDetailRequestBuilder.java | 32 - ...otGetMailboxUsageMailboxCountsRequest.java | 89 - ...ilboxUsageMailboxCountsRequestBuilder.java | 32 - ...xUsageQuotaStatusMailboxCountsRequest.java | 89 - ...uotaStatusMailboxCountsRequestBuilder.java | 32 - ...portRootGetMailboxUsageStorageRequest.java | 89 - ...tGetMailboxUsageStorageRequestBuilder.java | 32 - ...otGetOffice365ActivationCountsRequest.java | 89 - ...fice365ActivationCountsRequestBuilder.java | 32 - ...Office365ActivationsUserCountsRequest.java | 89 - ...65ActivationsUserCountsRequestBuilder.java | 32 - ...Office365ActivationsUserDetailRequest.java | 89 - ...65ActivationsUserDetailRequestBuilder.java | 32 - ...otGetOffice365ActiveUserCountsRequest.java | 89 - ...fice365ActiveUserCountsRequestBuilder.java | 32 - ...otGetOffice365ActiveUserDetailRequest.java | 89 - ...fice365ActiveUserDetailRequestBuilder.java | 32 - ...tOffice365GroupsActivityCountsRequest.java | 89 - ...365GroupsActivityCountsRequestBuilder.java | 32 - ...tOffice365GroupsActivityDetailRequest.java | 89 - ...365GroupsActivityDetailRequestBuilder.java | 32 - ...ice365GroupsActivityFileCountsRequest.java | 89 - ...roupsActivityFileCountsRequestBuilder.java | 32 - ...ce365GroupsActivityGroupCountsRequest.java | 89 - ...oupsActivityGroupCountsRequestBuilder.java | 32 - ...Office365GroupsActivityStorageRequest.java | 89 - ...65GroupsActivityStorageRequestBuilder.java | 32 - ...GetOffice365ServicesUserCountsRequest.java | 89 - ...ce365ServicesUserCountsRequestBuilder.java | 32 - ...tGetOneDriveActivityFileCountsRequest.java | 89 - ...DriveActivityFileCountsRequestBuilder.java | 32 - ...tGetOneDriveActivityUserCountsRequest.java | 89 - ...DriveActivityUserCountsRequestBuilder.java | 32 - ...tGetOneDriveActivityUserDetailRequest.java | 89 - ...DriveActivityUserDetailRequestBuilder.java | 32 - ...tGetOneDriveUsageAccountCountsRequest.java | 89 - ...DriveUsageAccountCountsRequestBuilder.java | 32 - ...tGetOneDriveUsageAccountDetailRequest.java | 89 - ...DriveUsageAccountDetailRequestBuilder.java | 32 - ...RootGetOneDriveUsageFileCountsRequest.java | 89 - ...OneDriveUsageFileCountsRequestBuilder.java | 32 - ...ortRootGetOneDriveUsageStorageRequest.java | 89 - ...GetOneDriveUsageStorageRequestBuilder.java | 32 - ...etSharePointActivityFileCountsRequest.java | 89 - ...PointActivityFileCountsRequestBuilder.java | 32 - ...RootGetSharePointActivityPagesRequest.java | 89 - ...SharePointActivityPagesRequestBuilder.java | 32 - ...etSharePointActivityUserCountsRequest.java | 89 - ...PointActivityUserCountsRequestBuilder.java | 32 - ...etSharePointActivityUserDetailRequest.java | 89 - ...PointActivityUserDetailRequestBuilder.java | 32 - ...otGetSharePointSiteUsageDetailRequest.java | 89 - ...arePointSiteUsageDetailRequestBuilder.java | 32 - ...tSharePointSiteUsageFileCountsRequest.java | 89 - ...ointSiteUsageFileCountsRequestBuilder.java | 32 - ...ootGetSharePointSiteUsagePagesRequest.java | 89 - ...harePointSiteUsagePagesRequestBuilder.java | 32 - ...tSharePointSiteUsageSiteCountsRequest.java | 89 - ...ointSiteUsageSiteCountsRequestBuilder.java | 32 - ...tGetSharePointSiteUsageStorageRequest.java | 89 - ...rePointSiteUsageStorageRequestBuilder.java | 32 - ...SkypeForBusinessActivityCountsRequest.java | 89 - ...rBusinessActivityCountsRequestBuilder.java | 32 - ...eForBusinessActivityUserCountsRequest.java | 89 - ...inessActivityUserCountsRequestBuilder.java | 32 - ...eForBusinessActivityUserDetailRequest.java | 89 - ...inessActivityUserDetailRequestBuilder.java | 32 - ...iceUsageDistributionUserCountsRequest.java | 89 - ...eDistributionUserCountsRequestBuilder.java | 32 - ...rBusinessDeviceUsageUserCountsRequest.java | 89 - ...ssDeviceUsageUserCountsRequestBuilder.java | 32 - ...rBusinessDeviceUsageUserDetailRequest.java | 89 - ...ssDeviceUsageUserDetailRequestBuilder.java | 32 - ...usinessOrganizerActivityCountsRequest.java | 89 - ...OrganizerActivityCountsRequestBuilder.java | 32 - ...sOrganizerActivityMinuteCountsRequest.java | 89 - ...zerActivityMinuteCountsRequestBuilder.java | 32 - ...essOrganizerActivityUserCountsRequest.java | 89 - ...nizerActivityUserCountsRequestBuilder.java | 32 - ...inessParticipantActivityCountsRequest.java | 89 - ...rticipantActivityCountsRequestBuilder.java | 32 - ...articipantActivityMinuteCountsRequest.java | 89 - ...antActivityMinuteCountsRequestBuilder.java | 32 - ...sParticipantActivityUserCountsRequest.java | 89 - ...ipantActivityUserCountsRequestBuilder.java | 32 - ...sinessPeerToPeerActivityCountsRequest.java | 89 - ...eerToPeerActivityCountsRequestBuilder.java | 32 - ...PeerToPeerActivityMinuteCountsRequest.java | 89 - ...eerActivityMinuteCountsRequestBuilder.java | 32 - ...ssPeerToPeerActivityUserCountsRequest.java | 89 - ...oPeerActivityUserCountsRequestBuilder.java | 32 - ...iceUsageDistributionUserCountsRequest.java | 89 - ...eDistributionUserCountsRequestBuilder.java | 32 - ...tGetTeamsDeviceUsageUserCountsRequest.java | 89 - ...msDeviceUsageUserCountsRequestBuilder.java | 32 - ...tGetTeamsDeviceUsageUserDetailRequest.java | 89 - ...msDeviceUsageUserDetailRequestBuilder.java | 32 - ...RootGetTeamsUserActivityCountsRequest.java | 89 - ...TeamsUserActivityCountsRequestBuilder.java | 32 - ...GetTeamsUserActivityUserCountsRequest.java | 89 - ...sUserActivityUserCountsRequestBuilder.java | 32 - ...GetTeamsUserActivityUserDetailRequest.java | 89 - ...sUserActivityUserDetailRequestBuilder.java | 32 - ...ortRootGetYammerActivityCountsRequest.java | 89 - ...GetYammerActivityCountsRequestBuilder.java | 32 - ...ootGetYammerActivityUserCountsRequest.java | 89 - ...ammerActivityUserCountsRequestBuilder.java | 32 - ...ootGetYammerActivityUserDetailRequest.java | 89 - ...ammerActivityUserDetailRequestBuilder.java | 32 - ...iceUsageDistributionUserCountsRequest.java | 89 - ...eDistributionUserCountsRequestBuilder.java | 32 - ...GetYammerDeviceUsageUserCountsRequest.java | 89 - ...erDeviceUsageUserCountsRequestBuilder.java | 32 - ...GetYammerDeviceUsageUserDetailRequest.java | 89 - ...erDeviceUsageUserDetailRequestBuilder.java | 32 - ...tGetYammerGroupsActivityCountsRequest.java | 89 - ...merGroupsActivityCountsRequestBuilder.java | 32 - ...tGetYammerGroupsActivityDetailRequest.java | 89 - ...merGroupsActivityDetailRequestBuilder.java | 32 - ...ammerGroupsActivityGroupCountsRequest.java | 89 - ...oupsActivityGroupCountsRequestBuilder.java | 32 - ...DeviceEnrollmentFailureDetailsRequest.java | 56 - ...nrollmentFailureDetailsRequestBuilder.java | 32 - ...gedDeviceEnrollmentTopFailuresRequest.java | 56 - ...ceEnrollmentTopFailuresRequestBuilder.java | 32 - .../generated/IBaseReportRootRequest.java | 99 - .../IBaseReportRootRequestBuilder.java | 211 -- .../generated/IBaseReportStreamRequest.java | 60 - .../IBaseReportStreamRequestBuilder.java | 33 - .../IBaseResourceOperationCollectionPage.java | 28 - ...aseResourceOperationCollectionRequest.java | 59 - ...urceOperationCollectionRequestBuilder.java | 33 - .../IBaseResourceOperationRequest.java | 99 - .../IBaseResourceOperationRequestBuilder.java | 33 - .../IBaseRoleAssignmentCollectionPage.java | 28 - .../IBaseRoleAssignmentCollectionRequest.java | 59 - ...oleAssignmentCollectionRequestBuilder.java | 33 - .../generated/IBaseRoleAssignmentRequest.java | 99 - .../IBaseRoleAssignmentRequestBuilder.java | 41 - .../IBaseRoleDefinitionCollectionPage.java | 28 - .../IBaseRoleDefinitionCollectionRequest.java | 59 - ...oleDefinitionCollectionRequestBuilder.java | 33 - .../IBaseRoleDefinitionReferenceRequest.java | 63 - ...RoleDefinitionReferenceRequestBuilder.java | 41 - .../generated/IBaseRoleDefinitionRequest.java | 99 - .../IBaseRoleDefinitionRequestBuilder.java | 39 - ...aseRoleDefinitionWithReferenceRequest.java | 47 - ...DefinitionWithReferenceRequestBuilder.java | 44 - .../IBaseSchemaExtensionCollectionPage.java | 28 - ...IBaseSchemaExtensionCollectionRequest.java | 59 - ...hemaExtensionCollectionRequestBuilder.java | 33 - .../IBaseSchemaExtensionRequest.java | 99 - .../IBaseSchemaExtensionRequestBuilder.java | 33 - .../IBaseSectionGroupCollectionPage.java | 28 - .../IBaseSectionGroupCollectionRequest.java | 59 - ...eSectionGroupCollectionRequestBuilder.java | 33 - .../generated/IBaseSectionGroupRequest.java | 99 - .../IBaseSectionGroupRequestBuilder.java | 61 - .../generated/IBaseSecurityRequest.java | 99 - .../IBaseSecurityRequestBuilder.java | 39 - ...ttingStateDeviceSummaryCollectionPage.java | 28 - ...ngStateDeviceSummaryCollectionRequest.java | 59 - ...DeviceSummaryCollectionRequestBuilder.java | 33 - ...IBaseSettingStateDeviceSummaryRequest.java | 99 - ...ttingStateDeviceSummaryRequestBuilder.java | 33 - .../IBaseSharedDriveItemCollectionPage.java | 28 - ...IBaseSharedDriveItemCollectionRequest.java | 59 - ...aredDriveItemCollectionRequestBuilder.java | 33 - .../IBaseSharedDriveItemRequest.java | 99 - .../IBaseSharedDriveItemRequestBuilder.java | 79 - .../IBaseSharedInsightCollectionPage.java | 28 - .../IBaseSharedInsightCollectionRequest.java | 59 - ...SharedInsightCollectionRequestBuilder.java | 33 - .../generated/IBaseSharedInsightRequest.java | 99 - .../IBaseSharedInsightRequestBuilder.java | 49 - .../IBaseSharedPCConfigurationRequest.java | 99 - ...seSharedPCConfigurationRequestBuilder.java | 33 - ...eLegacyExtendedPropertyCollectionPage.java | 28 - ...gacyExtendedPropertyCollectionRequest.java | 59 - ...endedPropertyCollectionRequestBuilder.java | 33 - ...gleValueLegacyExtendedPropertyRequest.java | 99 - ...eLegacyExtendedPropertyRequestBuilder.java | 33 - .../generated/IBaseSiteCollectionPage.java | 28 - .../generated/IBaseSiteCollectionRequest.java | 59 - .../IBaseSiteCollectionRequestBuilder.java | 33 - .../generated/IBaseSiteGetByPathRequest.java | 89 - .../IBaseSiteGetByPathRequestBuilder.java | 32 - .../requests/generated/IBaseSiteRequest.java | 99 - .../generated/IBaseSiteRequestBuilder.java | 87 - ...reUpdateStatusSummaryReferenceRequest.java | 63 - ...eStatusSummaryReferenceRequestBuilder.java | 41 - ...aseSoftwareUpdateStatusSummaryRequest.java | 99 - ...wareUpdateStatusSummaryRequestBuilder.java | 33 - ...dateStatusSummaryWithReferenceRequest.java | 47 - ...tusSummaryWithReferenceRequestBuilder.java | 44 - .../IBaseSubscribedSkuCollectionPage.java | 28 - .../IBaseSubscribedSkuCollectionRequest.java | 59 - ...SubscribedSkuCollectionRequestBuilder.java | 33 - .../generated/IBaseSubscribedSkuRequest.java | 99 - .../IBaseSubscribedSkuRequestBuilder.java | 33 - .../IBaseSubscriptionCollectionPage.java | 28 - .../IBaseSubscriptionCollectionRequest.java | 59 - ...eSubscriptionCollectionRequestBuilder.java | 33 - .../generated/IBaseSubscriptionRequest.java | 99 - .../IBaseSubscriptionRequestBuilder.java | 33 - ...dManagedAppConfigurationAssignRequest.java | 46 - ...dAppConfigurationAssignRequestBuilder.java | 32 - ...ManagedAppConfigurationCollectionPage.java | 28 - ...agedAppConfigurationCollectionRequest.java | 59 - ...ConfigurationCollectionRequestBuilder.java | 33 - ...argetedManagedAppConfigurationRequest.java | 99 - ...ManagedAppConfigurationRequestBuilder.java | 59 - ...agedAppConfigurationTargetAppsRequest.java | 46 - ...ConfigurationTargetAppsRequestBuilder.java | 32 - ...agedAppPolicyAssignmentCollectionPage.java | 28 - ...dAppPolicyAssignmentCollectionRequest.java | 59 - ...icyAssignmentCollectionRequestBuilder.java | 33 - ...etedManagedAppPolicyAssignmentRequest.java | 99 - ...agedAppPolicyAssignmentRequestBuilder.java | 33 - ...etedManagedAppProtectionAssignRequest.java | 46 - ...agedAppProtectionAssignRequestBuilder.java | 32 - ...seTargetedManagedAppProtectionRequest.java | 99 - ...tedManagedAppProtectionRequestBuilder.java | 42 - .../generated/IBaseTeamArchiveRequest.java | 46 - .../IBaseTeamArchiveRequestBuilder.java | 32 - .../generated/IBaseTeamCloneRequest.java | 46 - .../IBaseTeamCloneRequestBuilder.java | 32 - .../generated/IBaseTeamCollectionPage.java | 28 - .../generated/IBaseTeamCollectionRequest.java | 59 - .../IBaseTeamCollectionRequestBuilder.java | 33 - .../requests/generated/IBaseTeamRequest.java | 99 - .../generated/IBaseTeamRequestBuilder.java | 59 - .../generated/IBaseTeamUnarchiveRequest.java | 38 - .../IBaseTeamUnarchiveRequestBuilder.java | 32 - .../IBaseTeamsAppCollectionPage.java | 28 - .../IBaseTeamsAppCollectionRequest.java | 59 - ...IBaseTeamsAppCollectionRequestBuilder.java | 33 - ...IBaseTeamsAppDefinitionCollectionPage.java | 28 - ...seTeamsAppDefinitionCollectionRequest.java | 59 - ...AppDefinitionCollectionRequestBuilder.java | 33 - ...aseTeamsAppDefinitionReferenceRequest.java | 63 - ...sAppDefinitionReferenceRequestBuilder.java | 41 - .../IBaseTeamsAppDefinitionRequest.java | 99 - ...IBaseTeamsAppDefinitionRequestBuilder.java | 33 - ...eamsAppDefinitionWithReferenceRequest.java | 47 - ...DefinitionWithReferenceRequestBuilder.java | 44 - ...aseTeamsAppInstallationCollectionPage.java | 28 - ...TeamsAppInstallationCollectionRequest.java | 59 - ...pInstallationCollectionRequestBuilder.java | 33 - .../IBaseTeamsAppInstallationRequest.java | 99 - ...aseTeamsAppInstallationRequestBuilder.java | 51 - ...aseTeamsAppInstallationUpgradeRequest.java | 38 - ...sAppInstallationUpgradeRequestBuilder.java | 32 - .../IBaseTeamsAppReferenceRequest.java | 63 - .../IBaseTeamsAppReferenceRequestBuilder.java | 41 - .../generated/IBaseTeamsAppRequest.java | 99 - .../IBaseTeamsAppRequestBuilder.java | 39 - .../IBaseTeamsAppWithReferenceRequest.java | 47 - ...seTeamsAppWithReferenceRequestBuilder.java | 44 - ...BaseTeamsAsyncOperationCollectionPage.java | 28 - ...eTeamsAsyncOperationCollectionRequest.java | 59 - ...syncOperationCollectionRequestBuilder.java | 33 - .../IBaseTeamsAsyncOperationRequest.java | 99 - ...BaseTeamsAsyncOperationRequestBuilder.java | 33 - .../IBaseTeamsTabCollectionPage.java | 28 - .../IBaseTeamsTabCollectionRequest.java | 59 - ...IBaseTeamsTabCollectionRequestBuilder.java | 33 - .../generated/IBaseTeamsTabRequest.java | 99 - .../IBaseTeamsTabRequestBuilder.java | 41 - ...xpenseManagementPartnerCollectionPage.java | 28 - ...nseManagementPartnerCollectionRequest.java | 59 - ...gementPartnerCollectionRequestBuilder.java | 33 - ...elecomExpenseManagementPartnerRequest.java | 99 - ...xpenseManagementPartnerRequestBuilder.java | 33 - ...ditionsAcceptanceStatusCollectionPage.java | 28 - ...ionsAcceptanceStatusCollectionRequest.java | 59 - ...eptanceStatusCollectionRequestBuilder.java | 33 - ...sAndConditionsAcceptanceStatusRequest.java | 99 - ...ditionsAcceptanceStatusRequestBuilder.java | 41 - ...AndConditionsAssignmentCollectionPage.java | 28 - ...ConditionsAssignmentCollectionRequest.java | 59 - ...onsAssignmentCollectionRequestBuilder.java | 33 - ...seTermsAndConditionsAssignmentRequest.java | 99 - ...AndConditionsAssignmentRequestBuilder.java | 33 - ...IBaseTermsAndConditionsCollectionPage.java | 28 - ...seTermsAndConditionsCollectionRequest.java | 59 - ...AndConditionsCollectionRequestBuilder.java | 33 - ...aseTermsAndConditionsReferenceRequest.java | 63 - ...sAndConditionsReferenceRequestBuilder.java | 41 - .../IBaseTermsAndConditionsRequest.java | 99 - ...IBaseTermsAndConditionsRequestBuilder.java | 45 - ...ermsAndConditionsWithReferenceRequest.java | 47 - ...ConditionsWithReferenceRequestBuilder.java | 44 - .../generated/IBaseThumbnailRequest.java | 99 - .../IBaseThumbnailRequestBuilder.java | 36 - .../IBaseThumbnailSetCollectionPage.java | 28 - .../IBaseThumbnailSetCollectionRequest.java | 59 - ...eThumbnailSetCollectionRequestBuilder.java | 33 - .../generated/IBaseThumbnailSetRequest.java | 99 - .../IBaseThumbnailSetRequestBuilder.java | 33 - .../IBaseThumbnailStreamRequest.java | 60 - .../IBaseThumbnailStreamRequestBuilder.java | 33 - .../IBaseTrendingCollectionPage.java | 28 - .../IBaseTrendingCollectionRequest.java | 59 - ...IBaseTrendingCollectionRequestBuilder.java | 33 - .../generated/IBaseTrendingRequest.java | 99 - .../IBaseTrendingRequestBuilder.java | 41 - .../IBaseUsedInsightCollectionPage.java | 28 - .../IBaseUsedInsightCollectionRequest.java | 59 - ...seUsedInsightCollectionRequestBuilder.java | 33 - .../generated/IBaseUsedInsightRequest.java | 99 - .../IBaseUsedInsightRequestBuilder.java | 41 - .../IBaseUserActivityCollectionPage.java | 28 - .../IBaseUserActivityCollectionRequest.java | 59 - ...eUserActivityCollectionRequestBuilder.java | 35 - ...IBaseUserActivityRecentCollectionPage.java | 28 - ...seUserActivityRecentCollectionRequest.java | 58 - ...ctivityRecentCollectionRequestBuilder.java | 31 - .../IBaseUserActivityReferenceRequest.java | 63 - ...seUserActivityReferenceRequestBuilder.java | 41 - .../generated/IBaseUserActivityRequest.java | 99 - .../IBaseUserActivityRequestBuilder.java | 39 - ...IBaseUserActivityWithReferenceRequest.java | 47 - ...erActivityWithReferenceRequestBuilder.java | 44 - .../IBaseUserAssignLicenseRequest.java | 47 - .../IBaseUserAssignLicenseRequestBuilder.java | 32 - .../IBaseUserChangePasswordRequest.java | 46 - ...IBaseUserChangePasswordRequestBuilder.java | 32 - .../generated/IBaseUserCollectionPage.java | 28 - .../generated/IBaseUserCollectionRequest.java | 59 - .../IBaseUserCollectionRequestBuilder.java | 37 - .../IBaseUserDeltaCollectionPage.java | 34 - .../IBaseUserDeltaCollectionRequest.java | 58 - ...BaseUserDeltaCollectionRequestBuilder.java | 31 - .../IBaseUserExportPersonalDataRequest.java | 46 - ...eUserExportPersonalDataRequestBuilder.java | 32 - .../IBaseUserFindMeetingTimesRequest.java | 47 - ...aseUserFindMeetingTimesRequestBuilder.java | 32 - .../IBaseUserGetMailTipsCollectionPage.java | 28 - ...IBaseUserGetMailTipsCollectionRequest.java | 58 - ...erGetMailTipsCollectionRequestBuilder.java | 31 - ...edAppDiagnosticStatusesCollectionPage.java | 28 - ...ppDiagnosticStatusesCollectionRequest.java | 58 - ...osticStatusesCollectionRequestBuilder.java | 31 - ...erGetManagedAppPoliciesCollectionPage.java | 28 - ...etManagedAppPoliciesCollectionRequest.java | 58 - ...edAppPoliciesCollectionRequestBuilder.java | 31 - ...UserInstallStateSummaryCollectionPage.java | 28 - ...rInstallStateSummaryCollectionRequest.java | 59 - ...lStateSummaryCollectionRequestBuilder.java | 33 - .../IBaseUserInstallStateSummaryRequest.java | 99 - ...UserInstallStateSummaryRequestBuilder.java | 39 - .../generated/IBaseUserReferenceRequest.java | 63 - .../IBaseUserReferenceRequestBuilder.java | 41 - .../IBaseUserReminderViewCollectionPage.java | 28 - ...BaseUserReminderViewCollectionRequest.java | 58 - ...rReminderViewCollectionRequestBuilder.java | 31 - ...RemoveAllDevicesFromManagementRequest.java | 38 - ...llDevicesFromManagementRequestBuilder.java | 32 - .../requests/generated/IBaseUserRequest.java | 99 - .../generated/IBaseUserRequestBuilder.java | 289 --- .../generated/IBaseUserSendMailRequest.java | 46 - .../IBaseUserSendMailRequestBuilder.java | 32 - .../generated/IBaseUserSettingsRequest.java | 99 - .../IBaseUserSettingsRequestBuilder.java | 33 - ...gedAppRegistrationsByDeviceTagRequest.java | 46 - ...egistrationsByDeviceTagRequestBuilder.java | 32 - .../IBaseUserWithReferenceRequest.java | 47 - .../IBaseUserWithReferenceRequestBuilder.java | 44 - .../IBaseVppTokenCollectionPage.java | 28 - .../IBaseVppTokenCollectionRequest.java | 59 - ...IBaseVppTokenCollectionRequestBuilder.java | 33 - .../generated/IBaseVppTokenRequest.java | 99 - .../IBaseVppTokenRequestBuilder.java | 35 - .../IBaseVppTokenSyncLicensesRequest.java | 56 - ...aseVppTokenSyncLicensesRequestBuilder.java | 32 - .../generated/IBaseWebAppRequest.java | 99 - .../generated/IBaseWebAppRequestBuilder.java | 33 - ...IBaseWindows10CompliancePolicyRequest.java | 99 - ...ndows10CompliancePolicyRequestBuilder.java | 33 - ...seWindows10CustomConfigurationRequest.java | 99 - ...ws10CustomConfigurationRequestBuilder.java | 33 - ...ndpointProtectionConfigurationRequest.java | 99 - ...ProtectionConfigurationRequestBuilder.java | 33 - ...dernAppManagementConfigurationRequest.java | 99 - ...ManagementConfigurationRequestBuilder.java | 33 - ...eWindows10GeneralConfigurationRequest.java | 99 - ...s10GeneralConfigurationRequestBuilder.java | 33 - ...indows10MobileCompliancePolicyRequest.java | 99 - ...0MobileCompliancePolicyRequestBuilder.java | 33 - ...0SecureAssessmentConfigurationRequest.java | 99 - ...AssessmentConfigurationRequestBuilder.java | 33 - ...dows10TeamGeneralConfigurationRequest.java | 99 - ...eamGeneralConfigurationRequestBuilder.java | 33 - ...IBaseWindows81CompliancePolicyRequest.java | 99 - ...ndows81CompliancePolicyRequestBuilder.java | 33 - ...eWindows81GeneralConfigurationRequest.java | 99 - ...s81GeneralConfigurationRequestBuilder.java | 33 - ...dThreatProtectionConfigurationRequest.java | 99 - ...ProtectionConfigurationRequestBuilder.java | 33 - ...ctionAppLearningSummaryCollectionPage.java | 28 - ...onAppLearningSummaryCollectionRequest.java | 59 - ...arningSummaryCollectionRequestBuilder.java | 33 - ...onProtectionAppLearningSummaryRequest.java | 99 - ...ctionAppLearningSummaryRequestBuilder.java | 33 - ...ProtectionAppLockerFileCollectionPage.java | 28 - ...tectionAppLockerFileCollectionRequest.java | 59 - ...AppLockerFileCollectionRequestBuilder.java | 33 - ...rmationProtectionAppLockerFileRequest.java | 99 - ...ProtectionAppLockerFileRequestBuilder.java | 33 - ...owsInformationProtectionAssignRequest.java | 46 - ...rmationProtectionAssignRequestBuilder.java | 32 - ...nNetworkLearningSummaryCollectionPage.java | 28 - ...tworkLearningSummaryCollectionRequest.java | 59 - ...arningSummaryCollectionRequestBuilder.java | 33 - ...otectionNetworkLearningSummaryRequest.java | 99 - ...nNetworkLearningSummaryRequestBuilder.java | 33 - ...rmationProtectionPolicyCollectionPage.java | 28 - ...tionProtectionPolicyCollectionRequest.java | 59 - ...tectionPolicyCollectionRequestBuilder.java | 33 - ...owsInformationProtectionPolicyRequest.java | 99 - ...rmationProtectionPolicyRequestBuilder.java | 33 - ...seWindowsInformationProtectionRequest.java | 99 - ...wsInformationProtectionRequestBuilder.java | 54 - .../IBaseWindowsMobileMSIRequest.java | 99 - .../IBaseWindowsMobileMSIRequestBuilder.java | 33 - ...WindowsPhone81CompliancePolicyRequest.java | 99 - ...Phone81CompliancePolicyRequestBuilder.java | 33 - ...dowsPhone81CustomConfigurationRequest.java | 99 - ...ne81CustomConfigurationRequestBuilder.java | 33 - ...owsPhone81GeneralConfigurationRequest.java | 99 - ...e81GeneralConfigurationRequestBuilder.java | 33 - .../IBaseWindowsUniversalAppXRequest.java | 99 - ...aseWindowsUniversalAppXRequestBuilder.java | 33 - ...UpdateForBusinessConfigurationRequest.java | 99 - ...orBusinessConfigurationRequestBuilder.java | 33 - ...seWorkbookApplicationCalculateRequest.java | 46 - ...ookApplicationCalculateRequestBuilder.java | 32 - .../IBaseWorkbookApplicationRequest.java | 99 - ...BaseWorkbookApplicationRequestBuilder.java | 35 - .../IBaseWorkbookChartAddRequest.java | 47 - .../IBaseWorkbookChartAddRequestBuilder.java | 32 - .../IBaseWorkbookChartAreaFormatRequest.java | 99 - ...WorkbookChartAreaFormatRequestBuilder.java | 49 - .../IBaseWorkbookChartAxesRequest.java | 99 - .../IBaseWorkbookChartAxesRequestBuilder.java | 57 - .../IBaseWorkbookChartAxisFormatRequest.java | 99 - ...WorkbookChartAxisFormatRequestBuilder.java | 49 - .../IBaseWorkbookChartAxisRequest.java | 99 - .../IBaseWorkbookChartAxisRequestBuilder.java | 65 - ...seWorkbookChartAxisTitleFormatRequest.java | 99 - ...ookChartAxisTitleFormatRequestBuilder.java | 41 - .../IBaseWorkbookChartAxisTitleRequest.java | 99 - ...eWorkbookChartAxisTitleRequestBuilder.java | 41 - .../IBaseWorkbookChartCollectionPage.java | 28 - .../IBaseWorkbookChartCollectionRequest.java | 59 - ...WorkbookChartCollectionRequestBuilder.java | 37 - .../IBaseWorkbookChartCountRequest.java | 55 - ...IBaseWorkbookChartCountRequestBuilder.java | 32 - ...seWorkbookChartDataLabelFormatRequest.java | 99 - ...ookChartDataLabelFormatRequestBuilder.java | 49 - .../IBaseWorkbookChartDataLabelsRequest.java | 99 - ...WorkbookChartDataLabelsRequestBuilder.java | 41 - .../IBaseWorkbookChartFillClearRequest.java | 38 - ...eWorkbookChartFillClearRequestBuilder.java | 32 - .../IBaseWorkbookChartFillRequest.java | 99 - .../IBaseWorkbookChartFillRequestBuilder.java | 37 - ...WorkbookChartFillSetSolidColorRequest.java | 46 - ...kChartFillSetSolidColorRequestBuilder.java | 32 - .../IBaseWorkbookChartFontRequest.java | 99 - .../IBaseWorkbookChartFontRequestBuilder.java | 33 - ...seWorkbookChartGridlinesFormatRequest.java | 99 - ...ookChartGridlinesFormatRequestBuilder.java | 41 - .../IBaseWorkbookChartGridlinesRequest.java | 99 - ...eWorkbookChartGridlinesRequestBuilder.java | 41 - .../IBaseWorkbookChartImageRequest.java | 55 - ...IBaseWorkbookChartImageRequestBuilder.java | 32 - .../IBaseWorkbookChartItemAtRequest.java | 89 - ...BaseWorkbookChartItemAtRequestBuilder.java | 32 - .../IBaseWorkbookChartItemRequest.java | 89 - .../IBaseWorkbookChartItemRequestBuilder.java | 32 - ...IBaseWorkbookChartLegendFormatRequest.java | 99 - ...rkbookChartLegendFormatRequestBuilder.java | 49 - .../IBaseWorkbookChartLegendRequest.java | 99 - ...BaseWorkbookChartLegendRequestBuilder.java | 41 - ...seWorkbookChartLineFormatClearRequest.java | 38 - ...ookChartLineFormatClearRequestBuilder.java | 32 - .../IBaseWorkbookChartLineFormatRequest.java | 99 - ...WorkbookChartLineFormatRequestBuilder.java | 35 - ...IBaseWorkbookChartPointCollectionPage.java | 28 - ...seWorkbookChartPointCollectionRequest.java | 59 - ...ookChartPointCollectionRequestBuilder.java | 35 - .../IBaseWorkbookChartPointCountRequest.java | 55 - ...WorkbookChartPointCountRequestBuilder.java | 32 - .../IBaseWorkbookChartPointFormatRequest.java | 99 - ...orkbookChartPointFormatRequestBuilder.java | 41 - .../IBaseWorkbookChartPointItemAtRequest.java | 89 - ...orkbookChartPointItemAtRequestBuilder.java | 32 - .../IBaseWorkbookChartPointRequest.java | 99 - ...IBaseWorkbookChartPointRequestBuilder.java | 41 - .../generated/IBaseWorkbookChartRequest.java | 99 - .../IBaseWorkbookChartRequestBuilder.java | 99 - ...BaseWorkbookChartSeriesCollectionPage.java | 28 - ...eWorkbookChartSeriesCollectionRequest.java | 59 - ...okChartSeriesCollectionRequestBuilder.java | 35 - .../IBaseWorkbookChartSeriesCountRequest.java | 55 - ...orkbookChartSeriesCountRequestBuilder.java | 32 - ...IBaseWorkbookChartSeriesFormatRequest.java | 99 - ...rkbookChartSeriesFormatRequestBuilder.java | 49 - ...IBaseWorkbookChartSeriesItemAtRequest.java | 89 - ...rkbookChartSeriesItemAtRequestBuilder.java | 32 - .../IBaseWorkbookChartSeriesRequest.java | 99 - ...BaseWorkbookChartSeriesRequestBuilder.java | 47 - .../IBaseWorkbookChartSetDataRequest.java | 46 - ...aseWorkbookChartSetDataRequestBuilder.java | 32 - .../IBaseWorkbookChartSetPositionRequest.java | 46 - ...orkbookChartSetPositionRequestBuilder.java | 32 - .../IBaseWorkbookChartTitleFormatRequest.java | 99 - ...orkbookChartTitleFormatRequestBuilder.java | 49 - .../IBaseWorkbookChartTitleRequest.java | 99 - ...IBaseWorkbookChartTitleRequestBuilder.java | 41 - .../IBaseWorkbookCloseSessionRequest.java | 38 - ...aseWorkbookCloseSessionRequestBuilder.java | 32 - .../IBaseWorkbookCreateSessionRequest.java | 47 - ...seWorkbookCreateSessionRequestBuilder.java | 32 - ...okFilterApplyBottomItemsFilterRequest.java | 46 - ...rApplyBottomItemsFilterRequestBuilder.java | 32 - ...FilterApplyBottomPercentFilterRequest.java | 46 - ...pplyBottomPercentFilterRequestBuilder.java | 32 - ...bookFilterApplyCellColorFilterRequest.java | 46 - ...terApplyCellColorFilterRequestBuilder.java | 32 - ...orkbookFilterApplyCustomFilterRequest.java | 46 - ...FilterApplyCustomFilterRequestBuilder.java | 32 - ...rkbookFilterApplyDynamicFilterRequest.java | 46 - ...ilterApplyDynamicFilterRequestBuilder.java | 32 - ...bookFilterApplyFontColorFilterRequest.java | 46 - ...terApplyFontColorFilterRequestBuilder.java | 32 - ...eWorkbookFilterApplyIconFilterRequest.java | 46 - ...okFilterApplyIconFilterRequestBuilder.java | 32 - .../IBaseWorkbookFilterApplyRequest.java | 46 - ...BaseWorkbookFilterApplyRequestBuilder.java | 32 - ...kbookFilterApplyTopItemsFilterRequest.java | 46 - ...lterApplyTopItemsFilterRequestBuilder.java | 32 - ...ookFilterApplyTopPercentFilterRequest.java | 46 - ...erApplyTopPercentFilterRequestBuilder.java | 32 - ...orkbookFilterApplyValuesFilterRequest.java | 46 - ...FilterApplyValuesFilterRequestBuilder.java | 32 - .../IBaseWorkbookFilterClearRequest.java | 38 - ...BaseWorkbookFilterClearRequestBuilder.java | 32 - .../generated/IBaseWorkbookFilterRequest.java | 99 - .../IBaseWorkbookFilterRequestBuilder.java | 59 - .../IBaseWorkbookFormatProtectionRequest.java | 99 - ...orkbookFormatProtectionRequestBuilder.java | 33 - .../IBaseWorkbookFunctionResultRequest.java | 99 - ...eWorkbookFunctionResultRequestBuilder.java | 33 - .../IBaseWorkbookFunctionsAbsRequest.java | 47 - ...aseWorkbookFunctionsAbsRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsAccrIntMRequest.java | 47 - ...rkbookFunctionsAccrIntMRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAccrIntRequest.java | 47 - ...orkbookFunctionsAccrIntRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAcosRequest.java | 47 - ...seWorkbookFunctionsAcosRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAcoshRequest.java | 47 - ...eWorkbookFunctionsAcoshRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAcotRequest.java | 47 - ...seWorkbookFunctionsAcotRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAcothRequest.java | 47 - ...eWorkbookFunctionsAcothRequestBuilder.java | 32 - ...BaseWorkbookFunctionsAmorDegrcRequest.java | 47 - ...kbookFunctionsAmorDegrcRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsAmorLincRequest.java | 47 - ...rkbookFunctionsAmorLincRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAndRequest.java | 47 - ...aseWorkbookFunctionsAndRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsArabicRequest.java | 47 - ...WorkbookFunctionsArabicRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAreasRequest.java | 47 - ...eWorkbookFunctionsAreasRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAscRequest.java | 47 - ...aseWorkbookFunctionsAscRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAsinRequest.java | 47 - ...seWorkbookFunctionsAsinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAsinhRequest.java | 47 - ...eWorkbookFunctionsAsinhRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAtan2Request.java | 47 - ...eWorkbookFunctionsAtan2RequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAtanRequest.java | 47 - ...seWorkbookFunctionsAtanRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAtanhRequest.java | 47 - ...eWorkbookFunctionsAtanhRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAveDevRequest.java | 47 - ...WorkbookFunctionsAveDevRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsAverageARequest.java | 47 - ...rkbookFunctionsAverageARequestBuilder.java | 32 - ...BaseWorkbookFunctionsAverageIfRequest.java | 47 - ...kbookFunctionsAverageIfRequestBuilder.java | 32 - ...aseWorkbookFunctionsAverageIfsRequest.java | 47 - ...bookFunctionsAverageIfsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsAverageRequest.java | 47 - ...orkbookFunctionsAverageRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsBahtTextRequest.java | 47 - ...rkbookFunctionsBahtTextRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBaseRequest.java | 47 - ...seWorkbookFunctionsBaseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBesselIRequest.java | 47 - ...orkbookFunctionsBesselIRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBesselJRequest.java | 47 - ...orkbookFunctionsBesselJRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBesselKRequest.java | 47 - ...orkbookFunctionsBesselKRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBesselYRequest.java | 47 - ...orkbookFunctionsBesselYRequestBuilder.java | 32 - ...BaseWorkbookFunctionsBeta_DistRequest.java | 47 - ...kbookFunctionsBeta_DistRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsBeta_InvRequest.java | 47 - ...rkbookFunctionsBeta_InvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBin2DecRequest.java | 47 - ...orkbookFunctionsBin2DecRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBin2HexRequest.java | 47 - ...orkbookFunctionsBin2HexRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBin2OctRequest.java | 47 - ...orkbookFunctionsBin2OctRequestBuilder.java | 32 - ...aseWorkbookFunctionsBinom_DistRequest.java | 47 - ...bookFunctionsBinom_DistRequestBuilder.java | 32 - ...kbookFunctionsBinom_Dist_RangeRequest.java | 47 - ...nctionsBinom_Dist_RangeRequestBuilder.java | 32 - ...BaseWorkbookFunctionsBinom_InvRequest.java | 47 - ...kbookFunctionsBinom_InvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBitandRequest.java | 47 - ...WorkbookFunctionsBitandRequestBuilder.java | 32 - ...BaseWorkbookFunctionsBitlshiftRequest.java | 47 - ...kbookFunctionsBitlshiftRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBitorRequest.java | 47 - ...eWorkbookFunctionsBitorRequestBuilder.java | 32 - ...BaseWorkbookFunctionsBitrshiftRequest.java | 47 - ...kbookFunctionsBitrshiftRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsBitxorRequest.java | 47 - ...WorkbookFunctionsBitxorRequestBuilder.java | 32 - ...eWorkbookFunctionsCeiling_MathRequest.java | 47 - ...okFunctionsCeiling_MathRequestBuilder.java | 32 - ...rkbookFunctionsCeiling_PreciseRequest.java | 47 - ...unctionsCeiling_PreciseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCharRequest.java | 47 - ...seWorkbookFunctionsCharRequestBuilder.java | 32 - ...aseWorkbookFunctionsChiSq_DistRequest.java | 47 - ...bookFunctionsChiSq_DistRequestBuilder.java | 32 - ...WorkbookFunctionsChiSq_Dist_RTRequest.java | 47 - ...kFunctionsChiSq_Dist_RTRequestBuilder.java | 32 - ...BaseWorkbookFunctionsChiSq_InvRequest.java | 47 - ...kbookFunctionsChiSq_InvRequestBuilder.java | 32 - ...eWorkbookFunctionsChiSq_Inv_RTRequest.java | 47 - ...okFunctionsChiSq_Inv_RTRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsChooseRequest.java | 47 - ...WorkbookFunctionsChooseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCleanRequest.java | 47 - ...eWorkbookFunctionsCleanRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCodeRequest.java | 47 - ...seWorkbookFunctionsCodeRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsColumnsRequest.java | 47 - ...orkbookFunctionsColumnsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCombinRequest.java | 47 - ...WorkbookFunctionsCombinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCombinaRequest.java | 47 - ...orkbookFunctionsCombinaRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsComplexRequest.java | 47 - ...orkbookFunctionsComplexRequestBuilder.java | 32 - ...seWorkbookFunctionsConcatenateRequest.java | 47 - ...ookFunctionsConcatenateRequestBuilder.java | 32 - ...rkbookFunctionsConfidence_NormRequest.java | 47 - ...unctionsConfidence_NormRequestBuilder.java | 32 - ...eWorkbookFunctionsConfidence_TRequest.java | 47 - ...okFunctionsConfidence_TRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsConvertRequest.java | 47 - ...orkbookFunctionsConvertRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCosRequest.java | 47 - ...aseWorkbookFunctionsCosRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCoshRequest.java | 47 - ...seWorkbookFunctionsCoshRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCotRequest.java | 47 - ...aseWorkbookFunctionsCotRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCothRequest.java | 47 - ...seWorkbookFunctionsCothRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCountARequest.java | 47 - ...WorkbookFunctionsCountARequestBuilder.java | 32 - ...aseWorkbookFunctionsCountBlankRequest.java | 47 - ...bookFunctionsCountBlankRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCountIfRequest.java | 47 - ...orkbookFunctionsCountIfRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsCountIfsRequest.java | 47 - ...rkbookFunctionsCountIfsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCountRequest.java | 47 - ...eWorkbookFunctionsCountRequestBuilder.java | 32 - ...BaseWorkbookFunctionsCoupDayBsRequest.java | 47 - ...kbookFunctionsCoupDayBsRequestBuilder.java | 32 - ...aseWorkbookFunctionsCoupDaysNcRequest.java | 47 - ...bookFunctionsCoupDaysNcRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsCoupDaysRequest.java | 47 - ...rkbookFunctionsCoupDaysRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCoupNcdRequest.java | 47 - ...orkbookFunctionsCoupNcdRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCoupNumRequest.java | 47 - ...orkbookFunctionsCoupNumRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCoupPcdRequest.java | 47 - ...orkbookFunctionsCoupPcdRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCscRequest.java | 47 - ...aseWorkbookFunctionsCscRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCschRequest.java | 47 - ...seWorkbookFunctionsCschRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsCumIPmtRequest.java | 47 - ...orkbookFunctionsCumIPmtRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsCumPrincRequest.java | 47 - ...rkbookFunctionsCumPrincRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDateRequest.java | 47 - ...seWorkbookFunctionsDateRequestBuilder.java | 32 - ...BaseWorkbookFunctionsDatevalueRequest.java | 47 - ...kbookFunctionsDatevalueRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsDaverageRequest.java | 47 - ...rkbookFunctionsDaverageRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDayRequest.java | 47 - ...aseWorkbookFunctionsDayRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDays360Request.java | 47 - ...orkbookFunctionsDays360RequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDaysRequest.java | 47 - ...seWorkbookFunctionsDaysRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDbRequest.java | 47 - ...BaseWorkbookFunctionsDbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDbcsRequest.java | 47 - ...seWorkbookFunctionsDbcsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDcountARequest.java | 47 - ...orkbookFunctionsDcountARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDcountRequest.java | 47 - ...WorkbookFunctionsDcountRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDdbRequest.java | 47 - ...aseWorkbookFunctionsDdbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDec2BinRequest.java | 47 - ...orkbookFunctionsDec2BinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDec2HexRequest.java | 47 - ...orkbookFunctionsDec2HexRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDec2OctRequest.java | 47 - ...orkbookFunctionsDec2OctRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDecimalRequest.java | 47 - ...orkbookFunctionsDecimalRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDegreesRequest.java | 47 - ...orkbookFunctionsDegreesRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDeltaRequest.java | 47 - ...eWorkbookFunctionsDeltaRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDevSqRequest.java | 47 - ...eWorkbookFunctionsDevSqRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDgetRequest.java | 47 - ...seWorkbookFunctionsDgetRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDiscRequest.java | 47 - ...seWorkbookFunctionsDiscRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDmaxRequest.java | 47 - ...seWorkbookFunctionsDmaxRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDminRequest.java | 47 - ...seWorkbookFunctionsDminRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsDollarDeRequest.java | 47 - ...rkbookFunctionsDollarDeRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsDollarFrRequest.java | 47 - ...rkbookFunctionsDollarFrRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDollarRequest.java | 47 - ...WorkbookFunctionsDollarRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsDproductRequest.java | 47 - ...rkbookFunctionsDproductRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDstDevPRequest.java | 47 - ...orkbookFunctionsDstDevPRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDstDevRequest.java | 47 - ...WorkbookFunctionsDstDevRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDsumRequest.java | 47 - ...seWorkbookFunctionsDsumRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsDurationRequest.java | 47 - ...rkbookFunctionsDurationRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDvarPRequest.java | 47 - ...eWorkbookFunctionsDvarPRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsDvarRequest.java | 47 - ...seWorkbookFunctionsDvarRequestBuilder.java | 32 - ...eWorkbookFunctionsEcma_CeilingRequest.java | 47 - ...okFunctionsEcma_CeilingRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsEdateRequest.java | 47 - ...eWorkbookFunctionsEdateRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsEffectRequest.java | 47 - ...WorkbookFunctionsEffectRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsEoMonthRequest.java | 47 - ...orkbookFunctionsEoMonthRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsErfCRequest.java | 47 - ...seWorkbookFunctionsErfCRequestBuilder.java | 32 - ...eWorkbookFunctionsErfC_PreciseRequest.java | 47 - ...okFunctionsErfC_PreciseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsErfRequest.java | 47 - ...aseWorkbookFunctionsErfRequestBuilder.java | 32 - ...seWorkbookFunctionsErf_PreciseRequest.java | 47 - ...ookFunctionsErf_PreciseRequestBuilder.java | 32 - ...aseWorkbookFunctionsError_TypeRequest.java | 47 - ...bookFunctionsError_TypeRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsEvenRequest.java | 47 - ...seWorkbookFunctionsEvenRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsExactRequest.java | 47 - ...eWorkbookFunctionsExactRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsExpRequest.java | 47 - ...aseWorkbookFunctionsExpRequestBuilder.java | 32 - ...aseWorkbookFunctionsExpon_DistRequest.java | 47 - ...bookFunctionsExpon_DistRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsF_DistRequest.java | 47 - ...WorkbookFunctionsF_DistRequestBuilder.java | 32 - ...BaseWorkbookFunctionsF_Dist_RTRequest.java | 47 - ...kbookFunctionsF_Dist_RTRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsF_InvRequest.java | 47 - ...eWorkbookFunctionsF_InvRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsF_Inv_RTRequest.java | 47 - ...rkbookFunctionsF_Inv_RTRequestBuilder.java | 32 - ...aseWorkbookFunctionsFactDoubleRequest.java | 47 - ...bookFunctionsFactDoubleRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFactRequest.java | 47 - ...seWorkbookFunctionsFactRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFalseRequest.java | 56 - ...eWorkbookFunctionsFalseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFindBRequest.java | 47 - ...eWorkbookFunctionsFindBRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFindRequest.java | 47 - ...seWorkbookFunctionsFindRequestBuilder.java | 32 - ...BaseWorkbookFunctionsFisherInvRequest.java | 47 - ...kbookFunctionsFisherInvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFisherRequest.java | 47 - ...WorkbookFunctionsFisherRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFixedRequest.java | 47 - ...eWorkbookFunctionsFixedRequestBuilder.java | 32 - ...aseWorkbookFunctionsFloor_MathRequest.java | 47 - ...bookFunctionsFloor_MathRequestBuilder.java | 32 - ...WorkbookFunctionsFloor_PreciseRequest.java | 47 - ...kFunctionsFloor_PreciseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsFvRequest.java | 47 - ...BaseWorkbookFunctionsFvRequestBuilder.java | 32 - ...aseWorkbookFunctionsFvscheduleRequest.java | 47 - ...bookFunctionsFvscheduleRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsGammaLnRequest.java | 47 - ...orkbookFunctionsGammaLnRequestBuilder.java | 32 - ...rkbookFunctionsGammaLn_PreciseRequest.java | 47 - ...unctionsGammaLn_PreciseRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsGammaRequest.java | 47 - ...eWorkbookFunctionsGammaRequestBuilder.java | 32 - ...aseWorkbookFunctionsGamma_DistRequest.java | 47 - ...bookFunctionsGamma_DistRequestBuilder.java | 32 - ...BaseWorkbookFunctionsGamma_InvRequest.java | 47 - ...kbookFunctionsGamma_InvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsGaussRequest.java | 47 - ...eWorkbookFunctionsGaussRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsGcdRequest.java | 47 - ...aseWorkbookFunctionsGcdRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsGeStepRequest.java | 47 - ...WorkbookFunctionsGeStepRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsGeoMeanRequest.java | 47 - ...orkbookFunctionsGeoMeanRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsHarMeanRequest.java | 47 - ...orkbookFunctionsHarMeanRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsHex2BinRequest.java | 47 - ...orkbookFunctionsHex2BinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsHex2DecRequest.java | 47 - ...orkbookFunctionsHex2DecRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsHex2OctRequest.java | 47 - ...orkbookFunctionsHex2OctRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsHlookupRequest.java | 47 - ...orkbookFunctionsHlookupRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsHourRequest.java | 47 - ...seWorkbookFunctionsHourRequestBuilder.java | 32 - ...eWorkbookFunctionsHypGeom_DistRequest.java | 47 - ...okFunctionsHypGeom_DistRequestBuilder.java | 32 - ...BaseWorkbookFunctionsHyperlinkRequest.java | 47 - ...kbookFunctionsHyperlinkRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIfRequest.java | 47 - ...BaseWorkbookFunctionsIfRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImAbsRequest.java | 47 - ...eWorkbookFunctionsImAbsRequestBuilder.java | 32 - ...aseWorkbookFunctionsImArgumentRequest.java | 47 - ...bookFunctionsImArgumentRequestBuilder.java | 32 - ...seWorkbookFunctionsImConjugateRequest.java | 47 - ...ookFunctionsImConjugateRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImCosRequest.java | 47 - ...eWorkbookFunctionsImCosRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImCoshRequest.java | 47 - ...WorkbookFunctionsImCoshRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImCotRequest.java | 47 - ...eWorkbookFunctionsImCotRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImCscRequest.java | 47 - ...eWorkbookFunctionsImCscRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImCschRequest.java | 47 - ...WorkbookFunctionsImCschRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImDivRequest.java | 47 - ...eWorkbookFunctionsImDivRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImExpRequest.java | 47 - ...eWorkbookFunctionsImExpRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImLnRequest.java | 47 - ...seWorkbookFunctionsImLnRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImLog10Request.java | 47 - ...orkbookFunctionsImLog10RequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImLog2Request.java | 47 - ...WorkbookFunctionsImLog2RequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImPowerRequest.java | 47 - ...orkbookFunctionsImPowerRequestBuilder.java | 32 - ...BaseWorkbookFunctionsImProductRequest.java | 47 - ...kbookFunctionsImProductRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImRealRequest.java | 47 - ...WorkbookFunctionsImRealRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSecRequest.java | 47 - ...eWorkbookFunctionsImSecRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSechRequest.java | 47 - ...WorkbookFunctionsImSechRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSinRequest.java | 47 - ...eWorkbookFunctionsImSinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSinhRequest.java | 47 - ...WorkbookFunctionsImSinhRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSqrtRequest.java | 47 - ...WorkbookFunctionsImSqrtRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSubRequest.java | 47 - ...eWorkbookFunctionsImSubRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImSumRequest.java | 47 - ...eWorkbookFunctionsImSumRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsImTanRequest.java | 47 - ...eWorkbookFunctionsImTanRequestBuilder.java | 32 - ...BaseWorkbookFunctionsImaginaryRequest.java | 47 - ...kbookFunctionsImaginaryRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIntRateRequest.java | 47 - ...orkbookFunctionsIntRateRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIntRequest.java | 47 - ...aseWorkbookFunctionsIntRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIpmtRequest.java | 47 - ...seWorkbookFunctionsIpmtRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIrrRequest.java | 47 - ...aseWorkbookFunctionsIrrRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsErrRequest.java | 47 - ...eWorkbookFunctionsIsErrRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsErrorRequest.java | 47 - ...orkbookFunctionsIsErrorRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsEvenRequest.java | 47 - ...WorkbookFunctionsIsEvenRequestBuilder.java | 32 - ...BaseWorkbookFunctionsIsFormulaRequest.java | 47 - ...kbookFunctionsIsFormulaRequestBuilder.java | 32 - ...BaseWorkbookFunctionsIsLogicalRequest.java | 47 - ...kbookFunctionsIsLogicalRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsNARequest.java | 47 - ...seWorkbookFunctionsIsNARequestBuilder.java | 32 - ...BaseWorkbookFunctionsIsNonTextRequest.java | 47 - ...kbookFunctionsIsNonTextRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsIsNumberRequest.java | 47 - ...rkbookFunctionsIsNumberRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsOddRequest.java | 47 - ...eWorkbookFunctionsIsOddRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsTextRequest.java | 47 - ...WorkbookFunctionsIsTextRequestBuilder.java | 32 - ...aseWorkbookFunctionsIsoWeekNumRequest.java | 47 - ...bookFunctionsIsoWeekNumRequestBuilder.java | 32 - ...seWorkbookFunctionsIso_CeilingRequest.java | 47 - ...ookFunctionsIso_CeilingRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIspmtRequest.java | 47 - ...eWorkbookFunctionsIspmtRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsIsrefRequest.java | 47 - ...eWorkbookFunctionsIsrefRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsKurtRequest.java | 47 - ...seWorkbookFunctionsKurtRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLargeRequest.java | 47 - ...eWorkbookFunctionsLargeRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLcmRequest.java | 47 - ...aseWorkbookFunctionsLcmRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLeftRequest.java | 47 - ...seWorkbookFunctionsLeftRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLeftbRequest.java | 47 - ...eWorkbookFunctionsLeftbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLenRequest.java | 47 - ...aseWorkbookFunctionsLenRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLenbRequest.java | 47 - ...seWorkbookFunctionsLenbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLnRequest.java | 47 - ...BaseWorkbookFunctionsLnRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLog10Request.java | 47 - ...eWorkbookFunctionsLog10RequestBuilder.java | 32 - ...eWorkbookFunctionsLogNorm_DistRequest.java | 47 - ...okFunctionsLogNorm_DistRequestBuilder.java | 32 - ...seWorkbookFunctionsLogNorm_InvRequest.java | 47 - ...ookFunctionsLogNorm_InvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLogRequest.java | 47 - ...aseWorkbookFunctionsLogRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLookupRequest.java | 47 - ...WorkbookFunctionsLookupRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsLowerRequest.java | 47 - ...eWorkbookFunctionsLowerRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMatchRequest.java | 47 - ...eWorkbookFunctionsMatchRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMaxARequest.java | 47 - ...seWorkbookFunctionsMaxARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMaxRequest.java | 47 - ...aseWorkbookFunctionsMaxRequestBuilder.java | 32 - ...BaseWorkbookFunctionsMdurationRequest.java | 47 - ...kbookFunctionsMdurationRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMedianRequest.java | 47 - ...WorkbookFunctionsMedianRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMidRequest.java | 47 - ...aseWorkbookFunctionsMidRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMidbRequest.java | 47 - ...seWorkbookFunctionsMidbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMinARequest.java | 47 - ...seWorkbookFunctionsMinARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMinRequest.java | 47 - ...aseWorkbookFunctionsMinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMinuteRequest.java | 47 - ...WorkbookFunctionsMinuteRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMirrRequest.java | 47 - ...seWorkbookFunctionsMirrRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsModRequest.java | 47 - ...aseWorkbookFunctionsModRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMonthRequest.java | 47 - ...eWorkbookFunctionsMonthRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsMroundRequest.java | 47 - ...WorkbookFunctionsMroundRequestBuilder.java | 32 - ...seWorkbookFunctionsMultiNomialRequest.java | 47 - ...ookFunctionsMultiNomialRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNRequest.java | 47 - ...IBaseWorkbookFunctionsNRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNaRequest.java | 56 - ...BaseWorkbookFunctionsNaRequestBuilder.java | 32 - ...WorkbookFunctionsNegBinom_DistRequest.java | 47 - ...kFunctionsNegBinom_DistRequestBuilder.java | 32 - ...seWorkbookFunctionsNetworkDaysRequest.java | 47 - ...ookFunctionsNetworkDaysRequestBuilder.java | 32 - ...kbookFunctionsNetworkDays_IntlRequest.java | 47 - ...nctionsNetworkDays_IntlRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNominalRequest.java | 47 - ...orkbookFunctionsNominalRequestBuilder.java | 32 - ...BaseWorkbookFunctionsNorm_DistRequest.java | 47 - ...kbookFunctionsNorm_DistRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsNorm_InvRequest.java | 47 - ...rkbookFunctionsNorm_InvRequestBuilder.java | 32 - ...seWorkbookFunctionsNorm_S_DistRequest.java | 47 - ...ookFunctionsNorm_S_DistRequestBuilder.java | 32 - ...aseWorkbookFunctionsNorm_S_InvRequest.java | 47 - ...bookFunctionsNorm_S_InvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNotRequest.java | 47 - ...aseWorkbookFunctionsNotRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNowRequest.java | 56 - ...aseWorkbookFunctionsNowRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNperRequest.java | 47 - ...seWorkbookFunctionsNperRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsNpvRequest.java | 47 - ...aseWorkbookFunctionsNpvRequestBuilder.java | 32 - ...seWorkbookFunctionsNumberValueRequest.java | 47 - ...ookFunctionsNumberValueRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsOct2BinRequest.java | 47 - ...orkbookFunctionsOct2BinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsOct2DecRequest.java | 47 - ...orkbookFunctionsOct2DecRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsOct2HexRequest.java | 47 - ...orkbookFunctionsOct2HexRequestBuilder.java | 32 - ...BaseWorkbookFunctionsOddFPriceRequest.java | 47 - ...kbookFunctionsOddFPriceRequestBuilder.java | 32 - ...BaseWorkbookFunctionsOddFYieldRequest.java | 47 - ...kbookFunctionsOddFYieldRequestBuilder.java | 32 - ...BaseWorkbookFunctionsOddLPriceRequest.java | 47 - ...kbookFunctionsOddLPriceRequestBuilder.java | 32 - ...BaseWorkbookFunctionsOddLYieldRequest.java | 47 - ...kbookFunctionsOddLYieldRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsOddRequest.java | 47 - ...aseWorkbookFunctionsOddRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsOrRequest.java | 47 - ...BaseWorkbookFunctionsOrRequestBuilder.java | 32 - ...BaseWorkbookFunctionsPdurationRequest.java | 47 - ...kbookFunctionsPdurationRequestBuilder.java | 32 - ...rkbookFunctionsPercentRank_ExcRequest.java | 47 - ...unctionsPercentRank_ExcRequestBuilder.java | 32 - ...rkbookFunctionsPercentRank_IncRequest.java | 47 - ...unctionsPercentRank_IncRequestBuilder.java | 32 - ...orkbookFunctionsPercentile_ExcRequest.java | 47 - ...FunctionsPercentile_ExcRequestBuilder.java | 32 - ...orkbookFunctionsPercentile_IncRequest.java | 47 - ...FunctionsPercentile_IncRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPermutRequest.java | 47 - ...WorkbookFunctionsPermutRequestBuilder.java | 32 - ...eWorkbookFunctionsPermutationaRequest.java | 47 - ...okFunctionsPermutationaRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPhiRequest.java | 47 - ...aseWorkbookFunctionsPhiRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPiRequest.java | 56 - ...BaseWorkbookFunctionsPiRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPmtRequest.java | 47 - ...aseWorkbookFunctionsPmtRequestBuilder.java | 32 - ...eWorkbookFunctionsPoisson_DistRequest.java | 47 - ...okFunctionsPoisson_DistRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPowerRequest.java | 47 - ...eWorkbookFunctionsPowerRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPpmtRequest.java | 47 - ...seWorkbookFunctionsPpmtRequestBuilder.java | 32 - ...BaseWorkbookFunctionsPriceDiscRequest.java | 47 - ...kbookFunctionsPriceDiscRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsPriceMatRequest.java | 47 - ...rkbookFunctionsPriceMatRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPriceRequest.java | 47 - ...eWorkbookFunctionsPriceRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsProductRequest.java | 47 - ...orkbookFunctionsProductRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsProperRequest.java | 47 - ...WorkbookFunctionsProperRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsPvRequest.java | 47 - ...BaseWorkbookFunctionsPvRequestBuilder.java | 32 - ...eWorkbookFunctionsQuartile_ExcRequest.java | 47 - ...okFunctionsQuartile_ExcRequestBuilder.java | 32 - ...eWorkbookFunctionsQuartile_IncRequest.java | 47 - ...okFunctionsQuartile_IncRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsQuotientRequest.java | 47 - ...rkbookFunctionsQuotientRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRadiansRequest.java | 47 - ...orkbookFunctionsRadiansRequestBuilder.java | 32 - ...seWorkbookFunctionsRandBetweenRequest.java | 47 - ...ookFunctionsRandBetweenRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRandRequest.java | 56 - ...seWorkbookFunctionsRandRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsRank_AvgRequest.java | 47 - ...rkbookFunctionsRank_AvgRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRank_EqRequest.java | 47 - ...orkbookFunctionsRank_EqRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRateRequest.java | 47 - ...seWorkbookFunctionsRateRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsReceivedRequest.java | 47 - ...rkbookFunctionsReceivedRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsReplaceBRequest.java | 47 - ...rkbookFunctionsReplaceBRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsReplaceRequest.java | 47 - ...orkbookFunctionsReplaceRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsReptRequest.java | 47 - ...seWorkbookFunctionsReptRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRequest.java | 99 - .../IBaseWorkbookFunctionsRequestBuilder.java | 765 ------ .../IBaseWorkbookFunctionsRightRequest.java | 47 - ...eWorkbookFunctionsRightRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRightbRequest.java | 47 - ...WorkbookFunctionsRightbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRomanRequest.java | 47 - ...eWorkbookFunctionsRomanRequestBuilder.java | 32 - ...BaseWorkbookFunctionsRoundDownRequest.java | 47 - ...kbookFunctionsRoundDownRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRoundRequest.java | 47 - ...eWorkbookFunctionsRoundRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRoundUpRequest.java | 47 - ...orkbookFunctionsRoundUpRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRowsRequest.java | 47 - ...seWorkbookFunctionsRowsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsRriRequest.java | 47 - ...aseWorkbookFunctionsRriRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSecRequest.java | 47 - ...aseWorkbookFunctionsSecRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSechRequest.java | 47 - ...seWorkbookFunctionsSechRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSecondRequest.java | 47 - ...WorkbookFunctionsSecondRequestBuilder.java | 32 - ...BaseWorkbookFunctionsSeriesSumRequest.java | 47 - ...kbookFunctionsSeriesSumRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSheetRequest.java | 47 - ...eWorkbookFunctionsSheetRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSheetsRequest.java | 47 - ...WorkbookFunctionsSheetsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSignRequest.java | 47 - ...seWorkbookFunctionsSignRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSinRequest.java | 47 - ...aseWorkbookFunctionsSinRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSinhRequest.java | 47 - ...seWorkbookFunctionsSinhRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSkewRequest.java | 47 - ...seWorkbookFunctionsSkewRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSkew_pRequest.java | 47 - ...WorkbookFunctionsSkew_pRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSlnRequest.java | 47 - ...aseWorkbookFunctionsSlnRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSmallRequest.java | 47 - ...eWorkbookFunctionsSmallRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSqrtPiRequest.java | 47 - ...WorkbookFunctionsSqrtPiRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSqrtRequest.java | 47 - ...seWorkbookFunctionsSqrtRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsStDevARequest.java | 47 - ...WorkbookFunctionsStDevARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsStDevPARequest.java | 47 - ...orkbookFunctionsStDevPARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsStDev_PRequest.java | 47 - ...orkbookFunctionsStDev_PRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsStDev_SRequest.java | 47 - ...orkbookFunctionsStDev_SRequestBuilder.java | 32 - ...seWorkbookFunctionsStandardizeRequest.java | 47 - ...ookFunctionsStandardizeRequestBuilder.java | 32 - ...aseWorkbookFunctionsSubstituteRequest.java | 47 - ...bookFunctionsSubstituteRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsSubtotalRequest.java | 47 - ...rkbookFunctionsSubtotalRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSumIfRequest.java | 47 - ...eWorkbookFunctionsSumIfRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSumIfsRequest.java | 47 - ...WorkbookFunctionsSumIfsRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSumRequest.java | 47 - ...aseWorkbookFunctionsSumRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSumSqRequest.java | 47 - ...eWorkbookFunctionsSumSqRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsSydRequest.java | 47 - ...aseWorkbookFunctionsSydRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTRequest.java | 47 - ...IBaseWorkbookFunctionsTRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsT_DistRequest.java | 47 - ...WorkbookFunctionsT_DistRequestBuilder.java | 32 - ...BaseWorkbookFunctionsT_Dist_2TRequest.java | 47 - ...kbookFunctionsT_Dist_2TRequestBuilder.java | 32 - ...BaseWorkbookFunctionsT_Dist_RTRequest.java | 47 - ...kbookFunctionsT_Dist_RTRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsT_InvRequest.java | 47 - ...eWorkbookFunctionsT_InvRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsT_Inv_2TRequest.java | 47 - ...rkbookFunctionsT_Inv_2TRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTanRequest.java | 47 - ...aseWorkbookFunctionsTanRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTanhRequest.java | 47 - ...seWorkbookFunctionsTanhRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTbillEqRequest.java | 47 - ...orkbookFunctionsTbillEqRequestBuilder.java | 32 - ...aseWorkbookFunctionsTbillPriceRequest.java | 47 - ...bookFunctionsTbillPriceRequestBuilder.java | 32 - ...aseWorkbookFunctionsTbillYieldRequest.java | 47 - ...bookFunctionsTbillYieldRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTextRequest.java | 47 - ...seWorkbookFunctionsTextRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTimeRequest.java | 47 - ...seWorkbookFunctionsTimeRequestBuilder.java | 32 - ...BaseWorkbookFunctionsTimevalueRequest.java | 47 - ...kbookFunctionsTimevalueRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTodayRequest.java | 56 - ...eWorkbookFunctionsTodayRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsTrimMeanRequest.java | 47 - ...rkbookFunctionsTrimMeanRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTrimRequest.java | 47 - ...seWorkbookFunctionsTrimRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTrueRequest.java | 56 - ...seWorkbookFunctionsTrueRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTruncRequest.java | 47 - ...eWorkbookFunctionsTruncRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsTypeRequest.java | 47 - ...seWorkbookFunctionsTypeRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsUnicharRequest.java | 47 - ...orkbookFunctionsUnicharRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsUnicodeRequest.java | 47 - ...orkbookFunctionsUnicodeRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsUpperRequest.java | 47 - ...eWorkbookFunctionsUpperRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsUsdollarRequest.java | 47 - ...rkbookFunctionsUsdollarRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsValueRequest.java | 47 - ...eWorkbookFunctionsValueRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsVarARequest.java | 47 - ...seWorkbookFunctionsVarARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsVarPARequest.java | 47 - ...eWorkbookFunctionsVarPARequestBuilder.java | 32 - .../IBaseWorkbookFunctionsVar_PRequest.java | 47 - ...eWorkbookFunctionsVar_PRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsVar_SRequest.java | 47 - ...eWorkbookFunctionsVar_SRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsVdbRequest.java | 47 - ...aseWorkbookFunctionsVdbRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsVlookupRequest.java | 47 - ...orkbookFunctionsVlookupRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsWeekNumRequest.java | 47 - ...orkbookFunctionsWeekNumRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsWeekdayRequest.java | 47 - ...orkbookFunctionsWeekdayRequestBuilder.java | 32 - ...eWorkbookFunctionsWeibull_DistRequest.java | 47 - ...okFunctionsWeibull_DistRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsWorkDayRequest.java | 47 - ...orkbookFunctionsWorkDayRequestBuilder.java | 32 - ...eWorkbookFunctionsWorkDay_IntlRequest.java | 47 - ...okFunctionsWorkDay_IntlRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsXirrRequest.java | 47 - ...seWorkbookFunctionsXirrRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsXnpvRequest.java | 47 - ...seWorkbookFunctionsXnpvRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsXorRequest.java | 47 - ...aseWorkbookFunctionsXorRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsYearFracRequest.java | 47 - ...rkbookFunctionsYearFracRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsYearRequest.java | 47 - ...seWorkbookFunctionsYearRequestBuilder.java | 32 - ...BaseWorkbookFunctionsYieldDiscRequest.java | 47 - ...kbookFunctionsYieldDiscRequestBuilder.java | 32 - ...IBaseWorkbookFunctionsYieldMatRequest.java | 47 - ...rkbookFunctionsYieldMatRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsYieldRequest.java | 47 - ...eWorkbookFunctionsYieldRequestBuilder.java | 32 - .../IBaseWorkbookFunctionsZ_TestRequest.java | 47 - ...WorkbookFunctionsZ_TestRequestBuilder.java | 32 - ...rkbookNamedItemAddFormulaLocalRequest.java | 47 - ...amedItemAddFormulaLocalRequestBuilder.java | 32 - .../IBaseWorkbookNamedItemAddRequest.java | 47 - ...aseWorkbookNamedItemAddRequestBuilder.java | 32 - .../IBaseWorkbookNamedItemCollectionPage.java | 28 - ...aseWorkbookNamedItemCollectionRequest.java | 59 - ...bookNamedItemCollectionRequestBuilder.java | 35 - .../IBaseWorkbookNamedItemRangeRequest.java | 89 - ...eWorkbookNamedItemRangeRequestBuilder.java | 32 - .../IBaseWorkbookNamedItemRequest.java | 99 - .../IBaseWorkbookNamedItemRequestBuilder.java | 43 - ...IBaseWorkbookPivotTableCollectionPage.java | 28 - ...seWorkbookPivotTableCollectionRequest.java | 59 - ...ookPivotTableCollectionRequestBuilder.java | 34 - ...seWorkbookPivotTableRefreshAllRequest.java | 38 - ...ookPivotTableRefreshAllRequestBuilder.java | 32 - ...IBaseWorkbookPivotTableRefreshRequest.java | 38 - ...rkbookPivotTableRefreshRequestBuilder.java | 32 - .../IBaseWorkbookPivotTableRequest.java | 99 - ...IBaseWorkbookPivotTableRequestBuilder.java | 43 - .../IBaseWorkbookProcessQueryRequest.java | 46 - ...aseWorkbookProcessQueryRequestBuilder.java | 32 - ...BaseWorkbookRangeBorderCollectionPage.java | 28 - ...eWorkbookRangeBorderCollectionRequest.java | 59 - ...okRangeBorderCollectionRequestBuilder.java | 35 - .../IBaseWorkbookRangeBorderCountRequest.java | 55 - ...orkbookRangeBorderCountRequestBuilder.java | 32 - ...IBaseWorkbookRangeBorderItemAtRequest.java | 89 - ...rkbookRangeBorderItemAtRequestBuilder.java | 32 - .../IBaseWorkbookRangeBorderRequest.java | 99 - ...BaseWorkbookRangeBorderRequestBuilder.java | 33 - ...IBaseWorkbookRangeBoundingRectRequest.java | 89 - ...rkbookRangeBoundingRectRequestBuilder.java | 32 - .../IBaseWorkbookRangeCellRequest.java | 89 - .../IBaseWorkbookRangeCellRequestBuilder.java | 32 - .../IBaseWorkbookRangeClearRequest.java | 46 - ...IBaseWorkbookRangeClearRequestBuilder.java | 32 - .../IBaseWorkbookRangeColumnRequest.java | 89 - ...BaseWorkbookRangeColumnRequestBuilder.java | 32 - ...IBaseWorkbookRangeColumnsAfterRequest.java | 89 - ...rkbookRangeColumnsAfterRequestBuilder.java | 32 - ...BaseWorkbookRangeColumnsBeforeRequest.java | 89 - ...kbookRangeColumnsBeforeRequestBuilder.java | 32 - .../IBaseWorkbookRangeDeleteRequest.java | 46 - ...BaseWorkbookRangeDeleteRequestBuilder.java | 32 - ...IBaseWorkbookRangeEntireColumnRequest.java | 89 - ...rkbookRangeEntireColumnRequestBuilder.java | 32 - .../IBaseWorkbookRangeEntireRowRequest.java | 89 - ...eWorkbookRangeEntireRowRequestBuilder.java | 32 - .../IBaseWorkbookRangeFillClearRequest.java | 38 - ...eWorkbookRangeFillClearRequestBuilder.java | 32 - .../IBaseWorkbookRangeFillRequest.java | 99 - .../IBaseWorkbookRangeFillRequestBuilder.java | 35 - .../IBaseWorkbookRangeFontRequest.java | 99 - .../IBaseWorkbookRangeFontRequestBuilder.java | 33 - ...kbookRangeFormatAutofitColumnsRequest.java | 38 - ...ngeFormatAutofitColumnsRequestBuilder.java | 32 - ...WorkbookRangeFormatAutofitRowsRequest.java | 38 - ...kRangeFormatAutofitRowsRequestBuilder.java | 32 - .../IBaseWorkbookRangeFormatRequest.java | 99 - ...BaseWorkbookRangeFormatRequestBuilder.java | 67 - .../IBaseWorkbookRangeInsertRequest.java | 47 - ...BaseWorkbookRangeInsertRequestBuilder.java | 32 - ...IBaseWorkbookRangeIntersectionRequest.java | 89 - ...rkbookRangeIntersectionRequestBuilder.java | 32 - .../IBaseWorkbookRangeLastCellRequest.java | 89 - ...seWorkbookRangeLastCellRequestBuilder.java | 32 - .../IBaseWorkbookRangeLastColumnRequest.java | 89 - ...WorkbookRangeLastColumnRequestBuilder.java | 32 - .../IBaseWorkbookRangeLastRowRequest.java | 89 - ...aseWorkbookRangeLastRowRequestBuilder.java | 32 - .../IBaseWorkbookRangeMergeRequest.java | 46 - ...IBaseWorkbookRangeMergeRequestBuilder.java | 32 - .../IBaseWorkbookRangeOffsetRangeRequest.java | 89 - ...orkbookRangeOffsetRangeRequestBuilder.java | 32 - .../generated/IBaseWorkbookRangeRequest.java | 99 - .../IBaseWorkbookRangeRequestBuilder.java | 113 - ...IBaseWorkbookRangeResizedRangeRequest.java | 89 - ...rkbookRangeResizedRangeRequestBuilder.java | 32 - .../IBaseWorkbookRangeRowRequest.java | 89 - .../IBaseWorkbookRangeRowRequestBuilder.java | 32 - .../IBaseWorkbookRangeRowsAboveRequest.java | 89 - ...eWorkbookRangeRowsAboveRequestBuilder.java | 32 - .../IBaseWorkbookRangeRowsBelowRequest.java | 89 - ...eWorkbookRangeRowsBelowRequestBuilder.java | 32 - .../IBaseWorkbookRangeSortApplyRequest.java | 46 - ...eWorkbookRangeSortApplyRequestBuilder.java | 32 - .../IBaseWorkbookRangeSortRequest.java | 99 - .../IBaseWorkbookRangeSortRequestBuilder.java | 36 - .../IBaseWorkbookRangeUnmergeRequest.java | 38 - ...aseWorkbookRangeUnmergeRequestBuilder.java | 32 - .../IBaseWorkbookRangeUsedRangeRequest.java | 89 - ...eWorkbookRangeUsedRangeRequestBuilder.java | 32 - .../IBaseWorkbookRangeViewCollectionPage.java | 28 - ...aseWorkbookRangeViewCollectionRequest.java | 59 - ...bookRangeViewCollectionRequestBuilder.java | 34 - .../IBaseWorkbookRangeViewItemAtRequest.java | 89 - ...WorkbookRangeViewItemAtRequestBuilder.java | 32 - .../IBaseWorkbookRangeViewRangeRequest.java | 89 - ...eWorkbookRangeViewRangeRequestBuilder.java | 32 - .../IBaseWorkbookRangeViewRequest.java | 99 - .../IBaseWorkbookRangeViewRequestBuilder.java | 41 - .../IBaseWorkbookRangeVisibleViewRequest.java | 89 - ...orkbookRangeVisibleViewRequestBuilder.java | 32 - .../IBaseWorkbookRefreshSessionRequest.java | 38 - ...eWorkbookRefreshSessionRequestBuilder.java | 32 - .../generated/IBaseWorkbookRequest.java | 99 - .../IBaseWorkbookRequestBuilder.java | 75 - .../IBaseWorkbookTableAddRequest.java | 47 - .../IBaseWorkbookTableAddRequestBuilder.java | 32 - ...IBaseWorkbookTableClearFiltersRequest.java | 38 - ...rkbookTableClearFiltersRequestBuilder.java | 32 - .../IBaseWorkbookTableCollectionPage.java | 28 - .../IBaseWorkbookTableCollectionRequest.java | 59 - ...WorkbookTableCollectionRequestBuilder.java | 36 - .../IBaseWorkbookTableColumnAddRequest.java | 47 - ...eWorkbookTableColumnAddRequestBuilder.java | 32 - ...BaseWorkbookTableColumnCollectionPage.java | 28 - ...eWorkbookTableColumnCollectionRequest.java | 59 - ...okTableColumnCollectionRequestBuilder.java | 36 - .../IBaseWorkbookTableColumnCountRequest.java | 55 - ...orkbookTableColumnCountRequestBuilder.java | 32 - ...rkbookTableColumnDataBodyRangeRequest.java | 89 - ...ableColumnDataBodyRangeRequestBuilder.java | 32 - ...kbookTableColumnHeaderRowRangeRequest.java | 89 - ...bleColumnHeaderRowRangeRequestBuilder.java | 32 - ...IBaseWorkbookTableColumnItemAtRequest.java | 89 - ...rkbookTableColumnItemAtRequestBuilder.java | 32 - .../IBaseWorkbookTableColumnRangeRequest.java | 89 - ...orkbookTableColumnRangeRequestBuilder.java | 32 - .../IBaseWorkbookTableColumnRequest.java | 99 - ...BaseWorkbookTableColumnRequestBuilder.java | 49 - ...rkbookTableColumnTotalRowRangeRequest.java | 89 - ...ableColumnTotalRowRangeRequestBuilder.java | 32 - ...aseWorkbookTableConvertToRangeRequest.java | 56 - ...bookTableConvertToRangeRequestBuilder.java | 32 - .../IBaseWorkbookTableCountRequest.java | 55 - ...IBaseWorkbookTableCountRequestBuilder.java | 32 - ...BaseWorkbookTableDataBodyRangeRequest.java | 89 - ...kbookTableDataBodyRangeRequestBuilder.java | 32 - ...aseWorkbookTableHeaderRowRangeRequest.java | 89 - ...bookTableHeaderRowRangeRequestBuilder.java | 32 - .../IBaseWorkbookTableItemAtRequest.java | 89 - ...BaseWorkbookTableItemAtRequestBuilder.java | 32 - .../IBaseWorkbookTableRangeRequest.java | 89 - ...IBaseWorkbookTableRangeRequestBuilder.java | 32 - ...aseWorkbookTableReapplyFiltersRequest.java | 38 - ...bookTableReapplyFiltersRequestBuilder.java | 32 - .../generated/IBaseWorkbookTableRequest.java | 99 - .../IBaseWorkbookTableRequestBuilder.java | 75 - .../IBaseWorkbookTableRowAddRequest.java | 47 - ...BaseWorkbookTableRowAddRequestBuilder.java | 32 - .../IBaseWorkbookTableRowCollectionPage.java | 28 - ...BaseWorkbookTableRowCollectionRequest.java | 59 - ...kbookTableRowCollectionRequestBuilder.java | 36 - .../IBaseWorkbookTableRowCountRequest.java | 55 - ...seWorkbookTableRowCountRequestBuilder.java | 32 - .../IBaseWorkbookTableRowItemAtRequest.java | 89 - ...eWorkbookTableRowItemAtRequestBuilder.java | 32 - .../IBaseWorkbookTableRowRangeRequest.java | 89 - ...seWorkbookTableRowRangeRequestBuilder.java | 32 - .../IBaseWorkbookTableRowRequest.java | 99 - .../IBaseWorkbookTableRowRequestBuilder.java | 35 - .../IBaseWorkbookTableSortApplyRequest.java | 46 - ...eWorkbookTableSortApplyRequestBuilder.java | 32 - .../IBaseWorkbookTableSortClearRequest.java | 38 - ...eWorkbookTableSortClearRequestBuilder.java | 32 - .../IBaseWorkbookTableSortReapplyRequest.java | 38 - ...orkbookTableSortReapplyRequestBuilder.java | 32 - .../IBaseWorkbookTableSortRequest.java | 99 - .../IBaseWorkbookTableSortRequestBuilder.java | 40 - ...BaseWorkbookTableTotalRowRangeRequest.java | 89 - ...kbookTableTotalRowRangeRequestBuilder.java | 32 - .../IBaseWorkbookWorksheetAddRequest.java | 47 - ...aseWorkbookWorksheetAddRequestBuilder.java | 32 - .../IBaseWorkbookWorksheetCellRequest.java | 89 - ...seWorkbookWorksheetCellRequestBuilder.java | 32 - .../IBaseWorkbookWorksheetCollectionPage.java | 28 - ...aseWorkbookWorksheetCollectionRequest.java | 59 - ...bookWorksheetCollectionRequestBuilder.java | 34 - ...bookWorksheetProtectionProtectRequest.java | 46 - ...ksheetProtectionProtectRequestBuilder.java | 32 - ...aseWorkbookWorksheetProtectionRequest.java | 99 - ...bookWorksheetProtectionRequestBuilder.java | 38 - ...okWorksheetProtectionUnprotectRequest.java | 38 - ...heetProtectionUnprotectRequestBuilder.java | 32 - .../IBaseWorkbookWorksheetRangeRequest.java | 89 - ...eWorkbookWorksheetRangeRequestBuilder.java | 32 - .../IBaseWorkbookWorksheetRequest.java | 99 - .../IBaseWorkbookWorksheetRequestBuilder.java | 75 - ...BaseWorkbookWorksheetUsedRangeRequest.java | 89 - ...kbookWorksheetUsedRangeRequestBuilder.java | 32 - .../graph/functional/PlannerTests.java | 36 +- .../graph/serializer/AdditionalDataTests.java | 2 +- .../serializer/DefaultSerializerTests.java | 6 +- 12553 files changed, 351735 insertions(+), 482683 deletions(-) rename src/main/java/com/microsoft/graph/models/{generated => extensions}/IBaseGraphServiceClient.java (99%) delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseActivityHistoryItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAdministrativeUnit.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAlert.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAlertTrigger.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAllDevicesAssignmentTarget.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAllLicensedUsersAssignmentTarget.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAlternativeSecurityId.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidCompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidCustomConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidGeneralDeviceConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidLobApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppRegistration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidMinimumOperatingSystem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidMobileAppIdentifier.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidStoreApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCustomConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileGeneralDeviceConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAppCatalogs.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAppConfigurationSettingItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAppListItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAppleDeviceFeaturesConfigurationBase.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseApplePushNotificationCertificate.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAssignedLicense.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAssignedPlan.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAttachment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAttendee.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAttendeeAvailability.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAttendeeBase.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAudio.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesMailTips.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesSetting.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseBaseItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseBaseItemVersion.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseBitLockerRemovableDrivePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseBooleanColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseCalculatedColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseCalendar.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseCalendarGroup.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseChannel.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseChoiceColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseCloudAppSecurityState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseColumnDefinition.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseColumnLink.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseComplexExtensionValue.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseConfigurationManagerClientEnabledFeatures.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseContact.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseContactFolder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseContentType.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseContentTypeInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseContentTypeOrder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseContract.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseConversation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseConversationThread.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseConversationThreadReplyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseCurrencyColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseCustomTimeZone.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDataPolicyOperation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDateTimeColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDateTimeTimeZone.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDaylightTimeZoneOffset.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDefaultColumnValue.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDefaultManagedAppProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDefenderDetectedMalwareActions.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeleteUserFromSharedAppleDeviceActionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeleted.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDetectedApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDevice.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceActionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementAssignmentTarget.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleDefinition.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceAppManagement.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCategory.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceActionItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceOverview.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyDeviceStateSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingStateSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceScheduledActionForRule.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceSettingState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserOverview.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceOverview.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStateSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationSettingState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserOverview.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationSetPriorityBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentLimitConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestriction.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestrictionsConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceExchangeAccessStateSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceGeoLocation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceHealthAttestationState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceInstallState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagement.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnector.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnectorSyncBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementPartner.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementTroubleshootingEvent.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDeviceOperatingSystemSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDiagnostic.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectory.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObject.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectCheckMemberGroupsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetByIdsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberGroupsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberObjectsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRole.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRoleTemplate.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomain.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsCnameRecord.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsMxRecord.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsRecord.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsSrvRecord.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsTxtRecord.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsUnavailableRecord.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainForceDeleteBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDomainState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDrive.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCopyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateLinkBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateUploadSessionBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemInviteBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemPreviewBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemUploadableProperties.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveItemVersion.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseDriveRecipient.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEBookInstallSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngine.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineBase.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineCustom.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEditionUpgradeConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationClass.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationOrganization.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationRelatedContact.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationRoot.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationSchool.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationStudent.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationTeacher.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationTerm.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEducationUser.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEmailAddress.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentConfigurationAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentTroubleshootingEvent.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEntity.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEvent.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEventAcceptBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEventDeclineBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEventMessage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEventSnoozeReminderBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseEventTentativelyAcceptBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseExclusionGroupAssignmentTarget.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseExtension.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseExtensionSchemaProperty.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseExternalLink.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFieldValueSet.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFileAttachment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFileEncryptionInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFileHash.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFileSecurityState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFileSystemInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFolder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFolderView.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseFollowupFlag.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGeoCoordinates.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroup.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroupAssignmentTarget.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyAddGroupBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyRemoveGroupBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroupSetting.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseGroupSettingTemplate.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseHashes.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseHostSecurityState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIPv4Range.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIPv6Range.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIdentity.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIdentitySet.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseImage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseImageInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassification.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassificationOverride.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseInsightIdentity.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseInternetMessageHeader.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIntuneBrand.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseInvitation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseInvitedUserMessageInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosCertificateProfile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosCompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosCustomConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceFeaturesConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceType.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosGeneralDeviceConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolderPage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenPage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosLobApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosLobAppAssignmentSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppRegistration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosMinimumOperatingSystem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppIdentifier.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosNetworkUsageRule.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosNotificationSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosStoreApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosStoreAppAssignmentSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateDeviceStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosVppApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosVppAppAssignmentSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBook.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBookAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseIpRange.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseItemAttachment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseItemBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseItemPreviewInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseItemReference.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseKeyValuePair.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLicenseDetails.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLicenseUnitsDetail.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseList.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseListInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseListItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseListItemVersion.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLocaleInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLocalizedNotificationMessage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLocateDeviceActionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLocation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraint.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraintItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseLookupColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMacOSCompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMacOSCustomConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMacOSDeviceFeaturesConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMacOSGeneralDeviceConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMacOSOfficeSuiteApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMailFolder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMailFolderCopyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMailFolderMoveBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMailTips.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMailTipsError.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMailboxSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMalwareState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidLobApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidStoreApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppDiagnosticStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppOperation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummaryPerApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyTargetAppsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtectionTargetAppsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppRegistration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatusRaw.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDevice.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceCleanWindowsDeviceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceOverview.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceUpdateWindowsDeviceAccountBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWindowsDefenderScanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWipeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedEBook.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSLobApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSStoreApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileLobApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMdmWindowsInformationProtectionPolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingAustralia.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingCanada.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingFrance.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingGermany.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingIreland.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingJapan.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingNewZealand.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedKingdom.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedStates.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestion.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestionsResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageCopyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageForwardBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageMoveBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyAllBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageRule.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageRuleActions.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMessageRulePredicates.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessAppAssignmentSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMimeContent.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignmentSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppCategory.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContent.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFileCommitBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileAppIdentifier.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileLobApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMobileThreatDefenseConnector.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseMultiValueLegacyExtendedProperty.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseNetworkConnection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseNotebook.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseNotebookCopyNotebookBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseNotebookLinks.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseNotificationMessageTemplate.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseNumberColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOfficeGraphInsights.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSetting.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBase64.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBoolean.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingDateTime.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingFloatingPoint.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingInteger.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingString.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingStringXml.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesConditionalAccessSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesExtensionAttributes.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesProvisioningError.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenote.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityBaseModel.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityHierarchyModel.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntitySchemaObjectModel.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperationError.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenotePage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageCopyToSectionBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageOnenotePatchContentBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreview.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreviewLinks.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenotePatchContentCommand.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteResource.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToNotebookBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToSectionGroupBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOpenTypeExtension.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOperation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOperationError.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOrganization.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOutlookCategory.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOutlookGeoCoordinates.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOutlookItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseOutlookUser.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePackage.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePageLinks.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePasswordProfile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePatternedRecurrence.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePermission.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePerson.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePersonOrGroupColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePersonType.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePhone.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePhoto.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePhysicalAddress.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlanner.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerAppliedCategories.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignedToTaskBoardTaskFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignments.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerBucket.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerBucketTaskBoardTaskFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerCategoryDescriptions.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItems.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReference.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReferences.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerGroup.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerOrderHintsByAssignee.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerPlan.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerPlanDetails.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerProgressTaskBoardTaskFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerTask.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerTaskDetails.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerUser.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePlannerUserIds.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePost.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePostForwardBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePostReplyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePrivacyProfile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseProcess.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseProfilePhoto.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseProvisionedPlan.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseProxiedDomain.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BasePublicationFacet.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseQuota.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebook.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebookLinks.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRecipient.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRecurrencePattern.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRecurrenceRange.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseReferenceAttachment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRegistryKeyState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseReminder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRemoteAssistancePartner.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRemoteItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRemoteLockActionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseReport.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseReportRoot.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseResetPasscodeActionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseResourceAction.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseResourceOperation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseResourceReference.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseResourceVisualization.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseResponseStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRgbColor.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRoleAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRoleDefinition.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRolePermission.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseRoot.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSchemaExtension.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseScoredEmailAddress.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSearchResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSectionGroup.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSectionLinks.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSecurity.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSecurityVendorInformation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseServicePlanInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSettingSource.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSettingStateDeviceSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSettingTemplateValue.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSettingValue.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseShared.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharedDriveItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharedInsight.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharedPCAccountManagerPolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharedPCConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharepointIds.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharingDetail.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharingInvitation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSharingLink.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSingleValueLegacyExtendedProperty.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSite.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSiteCollection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSizeRange.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSoftwareUpdateStatusSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSpecialFolder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseStandardTimeZoneOffset.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSubscribedSku.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSubscription.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseSystemFacet.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationTargetAppsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppPolicyAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtectionAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeam.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamArchiveBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamClassSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamCloneBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamFunSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamGuestSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamMemberSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamMessagingSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamsApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppDefinition.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppInstallation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamsAsyncOperation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamsTab.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTeamsTabConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTelecomExpenseManagementPartner.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditions.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAcceptanceStatus.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAssignment.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTextColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseThumbnail.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseThumbnailSet.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTimeConstraint.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTimeSlot.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneBase.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneInformation.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseTrending.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUpdateWindowsDeviceAccountActionParameter.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUploadSession.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUsageDetails.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUsedInsight.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUser.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserActivity.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserAssignLicenseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserChangePasswordBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserExportPersonalDataBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserFindMeetingTimesBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserGetMailTipsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserInstallStateSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserSecurityState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserSendMailBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserSettings.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseVerifiedDomain.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseVideo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseVisualInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseVppLicensingType.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseVppToken.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseVulnerabilityState.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWebApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWebsite.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10CompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10CustomConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10EndpointProtectionConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10EnterpriseModernAppManagementConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10GeneralConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10MobileCompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10NetworkProxyServer.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10SecureAssessmentConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows10TeamGeneralConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows81CompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindows81GeneralConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderAdvancedThreatProtectionConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderScanActionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceADAccount.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAccount.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAzureADAccount.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsFirewallNetworkProfile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLearningSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLockerFile.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAssignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDataRecoveryCertificate.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDesktopApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionIPRangeCollection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionNetworkLearningSummary.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionPolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionProxiedDomainCollection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionResourceCollection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionStoreApp.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsMinimumOperatingSystem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsMobileMSI.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CompliancePolicy.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CustomConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81GeneralConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsUniversalAppX.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateActiveHoursInstall.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateForBusinessConfiguration.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateInstallScheduleType.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateScheduledInstall.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbook.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplication.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplicationCalculateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChart.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAreaFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxes.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxis.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitle.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitleFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabelFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabels.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFill.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFillSetSolidColorBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFont.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlines.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlinesFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegend.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegendFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLineFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPoint.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPointFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeries.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeriesFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetDataBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetPositionBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitle.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitleFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookCreateSessionBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilter.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomItemsFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomPercentFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCellColorFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCustomFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyDynamicFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyFontColorFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyIconFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopItemsFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopPercentFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyValuesFilterBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterCriteria.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterDatetime.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFormatProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionResult.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctions.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAbsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntMBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcosBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcoshBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcotBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcothBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorDegrcBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorLincBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAndBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsArabicBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAreasBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAscBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinhBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtan2Body.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanhBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAveDevBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBahtTextBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBaseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselIBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselJBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselKBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselYBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2DecBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2HexBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2OctBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_Dist_RangeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitandBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitlshiftBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitorBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitrshiftBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitxorBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_MathBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_PreciseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCharBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Dist_RTBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Inv_RTBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChooseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCleanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCodeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsColumnsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinaBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsComplexBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConcatenateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_NormBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_TBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConvertBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCosBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoshBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCotBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCothBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBlankBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDayBsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysNcBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNcdBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupPcdBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCscBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCschBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumIPmtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumPrincBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDatevalueBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaverageBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDayBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDays360Body.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaysBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbcsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDdbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2BinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2HexBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2OctBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDecimalBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDegreesBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDeltaBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDevSqBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDgetBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDiscBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDmaxBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDminBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarDeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarFrBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDproductBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevPBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDsumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDurationBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarPBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEcma_CeilingBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEdateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEffectBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEoMonthBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfCBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfC_PreciseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErf_PreciseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsError_TypeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEvenBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExactBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpon_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Dist_RTBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Inv_RTBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactDoubleBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherInvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFixedBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_MathBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_PreciseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvscheduleBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLnBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLn_PreciseBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGaussBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGcdBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeStepBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeoMeanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHarMeanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2BinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2DecBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2OctBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHlookupBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHourBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHypGeom_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHyperlinkBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIfBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImAbsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImArgumentBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImConjugateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCosBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCoshBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCotBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCscBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCschBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImDivBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImExpBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLnBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog10Body.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog2Body.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImPowerBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImProductBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImRealBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSecBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSechBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinhBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSqrtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSubBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImTanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImaginaryBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntRateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIpmtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIrrBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrorBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsEvenBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsFormulaBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsLogicalBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNonTextBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNumberBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsOddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsTextBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsoWeekNumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIso_CeilingBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIspmtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsrefBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsKurtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLargeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLcmBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLnBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLog10Body.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLookupBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLowerBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMatchBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMdurationBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMedianBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinuteBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMirrBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsModBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMonthBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMroundBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMultiNomialBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNegBinom_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDaysBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDays_IntlBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNominalBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNotBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNperBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNpvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNumberValueBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2BinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2DecBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2HexBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFPriceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFYieldBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLPriceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLYieldBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOrBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPdurationBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_ExcBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_IncBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_ExcBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_IncBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutationaBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPhiBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPmtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPoisson_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPowerBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPpmtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceDiscBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceMatBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProductBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProperBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_ExcBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_IncBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuotientBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRadiansBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRandBetweenBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_AvgBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_EqBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRateBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReceivedBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReptBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRomanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundDownBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundUpBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRowsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRriBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSechBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecondBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSeriesSumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSignBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinhBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkewBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkew_pBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSlnBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSmallBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtPiBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevPABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_PBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_SBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStandardizeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubstituteBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubtotalBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfsBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumSqBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSydBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_2TBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_RTBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_InvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Inv_2TBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanhBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillEqBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillPriceBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillYieldBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTextBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimevalueBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimMeanBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTruncBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTypeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicharBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicodeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUpperBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUsdollarBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsValueBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarPABody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_PBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_SBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVdbBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVlookupBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekNumBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekdayBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeibull_DistBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDayBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDay_IntlBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXirrBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXnpvBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXorBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearFracBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldDiscBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldMatBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsZ_TestBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookIcon.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItem.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddFormulaLocalBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookPivotTable.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookProcessQueryBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRange.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeBorder.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeClearBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeDeleteBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFill.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFont.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFormat.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeInsertBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeMergeBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeReference.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSort.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSortApplyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeView.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSessionInfo.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSortField.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTable.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableAddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumn.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumnAddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRow.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRowAddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSort.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSortApplyBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheet.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetAddBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtection.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionOptions.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionProtectBody.java delete mode 100644 src/main/java/com/microsoft/graph/models/generated/BaseWorkingHours.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionResponse.java rename src/main/java/com/microsoft/graph/requests/{generated => extensions}/BaseGraphServiceClient.java (99%) create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/EventCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ListCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/PostCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContactRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContractRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseContractRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseListRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePersonRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePersonRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BasePostRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionResponse.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseListRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBasePostRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10Request.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10RequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionPage.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequestBuilder.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequest.java delete mode 100644 src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java b/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java index 176c63bd2b4..625a15f9e10 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java @@ -3,12 +3,142 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.Status; +import com.microsoft.graph.models.extensions.UserActivity; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseActivityHistoryItem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Activity History Item. */ -public class ActivityHistoryItem extends BaseActivityHistoryItem { +public class ActivityHistoryItem extends Entity implements IJsonBackedObject { + + + /** + * The Status. + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + */ + @SerializedName("status") + @Expose + public Status status; + + /** + * The Active Duration Seconds. + * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. + */ + @SerializedName("activeDurationSeconds") + @Expose + public Integer activeDurationSeconds; + + /** + * The Created Date Time. + * Set by the server. DateTime in UTC when the object was created on the server. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Active Date Time. + * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + */ + @SerializedName("lastActiveDateTime") + @Expose + public java.util.Calendar lastActiveDateTime; + + /** + * The Last Modified Date Time. + * Set by the server. DateTime in UTC when the object was modified on the server. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Expiration Date Time. + * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Started Date Time. + * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + */ + @SerializedName("startedDateTime") + @Expose + public java.util.Calendar startedDateTime; + + /** + * The User Timezone. + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. + */ + @SerializedName("userTimezone") + @Expose + public String userTimezone; + + /** + * The Activity. + * Optional. NavigationProperty/Containment; navigation property to the associated activity. + */ + @SerializedName("activity") + @Expose + public UserActivity activity; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java b/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java index 1cc81aaa33b..ba64409d47a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.generated.BaseAdministrativeUnit; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Administrative Unit. */ -public class AdministrativeUnit extends BaseAdministrativeUnit { +public class AdministrativeUnit extends DirectoryObject implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Alert.java b/src/main/java/com/microsoft/graph/models/extensions/Alert.java index 374388bf81f..7519bab8793 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Alert.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Alert.java @@ -3,12 +3,330 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.CloudAppSecurityState; +import com.microsoft.graph.models.generated.AlertFeedback; +import com.microsoft.graph.models.extensions.FileSecurityState; +import com.microsoft.graph.models.extensions.HostSecurityState; +import com.microsoft.graph.models.extensions.MalwareState; +import com.microsoft.graph.models.extensions.NetworkConnection; +import com.microsoft.graph.models.extensions.Process; +import com.microsoft.graph.models.extensions.RegistryKeyState; +import com.microsoft.graph.models.generated.AlertSeverity; +import com.microsoft.graph.models.generated.AlertStatus; +import com.microsoft.graph.models.extensions.AlertTrigger; +import com.microsoft.graph.models.extensions.UserSecurityState; +import com.microsoft.graph.models.extensions.SecurityVendorInformation; +import com.microsoft.graph.models.extensions.VulnerabilityState; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseAlert; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert. */ -public class Alert extends BaseAlert { +public class Alert extends Entity implements IJsonBackedObject { + + + /** + * The Activity Group Name. + * Name or alias of the activity group (attacker) this alert is attributed to. + */ + @SerializedName("activityGroupName") + @Expose + public String activityGroupName; + + /** + * The Assigned To. + * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). + */ + @SerializedName("assignedTo") + @Expose + public String assignedTo; + + /** + * The Azure Subscription Id. + * Azure subscription ID, present if this alert is related to an Azure resource. + */ + @SerializedName("azureSubscriptionId") + @Expose + public String azureSubscriptionId; + + /** + * The Azure Tenant Id. + * Azure Active Directory tenant ID. Required. + */ + @SerializedName("azureTenantId") + @Expose + public String azureTenantId; + + /** + * The Category. + * Category of the alert (for example, credentialTheft, ransomware, etc.). + */ + @SerializedName("category") + @Expose + public String category; + + /** + * The Closed Date Time. + * Time at which the alert was closed. 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 would look like this: '2014-01-01T00:00:00Z' (supports update). + */ + @SerializedName("closedDateTime") + @Expose + public java.util.Calendar closedDateTime; + + /** + * The Cloud App States. + * Security-related stateful information generated by the provider about the cloud application/s related to this alert. + */ + @SerializedName("cloudAppStates") + @Expose + public java.util.List cloudAppStates; + + /** + * The Comments. + * Customer-provided comments on alert (for customer alert management) (supports update). + */ + @SerializedName("comments") + @Expose + public java.util.List comments; + + /** + * The Confidence. + * Confidence of the detection logic (percentage between 1-100). + */ + @SerializedName("confidence") + @Expose + public Integer confidence; + + /** + * The Created Date Time. + * Time at which the alert was created by the alert provider. 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 would look like this: '2014-01-01T00:00:00Z'. Required. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Description. + * Alert description. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Detection Ids. + * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). + */ + @SerializedName("detectionIds") + @Expose + public java.util.List detectionIds; + + /** + * The Event Date Time. + * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 would look like this: '2014-01-01T00:00:00Z'. Required. + */ + @SerializedName("eventDateTime") + @Expose + public java.util.Calendar eventDateTime; + + /** + * The Feedback. + * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) + */ + @SerializedName("feedback") + @Expose + public AlertFeedback feedback; + + /** + * The File States. + * Security-related stateful information generated by the provider about the file(s) related to this alert. + */ + @SerializedName("fileStates") + @Expose + public java.util.List fileStates; + + /** + * The Host States. + * Security-related stateful information generated by the provider about the host(s) related to this alert. + */ + @SerializedName("hostStates") + @Expose + public java.util.List hostStates; + + /** + * The Last Modified Date Time. + * Time at which the alert entity 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 would look like this: '2014-01-01T00:00:00Z'. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Malware States. + * Threat Intelligence pertaining to malware related to this alert. + */ + @SerializedName("malwareStates") + @Expose + public java.util.List malwareStates; + + /** + * The Network Connections. + * Security-related stateful information generated by the provider about the network connection(s) related to this alert. + */ + @SerializedName("networkConnections") + @Expose + public java.util.List networkConnections; + + /** + * The Processes. + * Security-related stateful information generated by the provider about the process or processes related to this alert. + */ + @SerializedName("processes") + @Expose + public java.util.List processes; + + /** + * The Recommended Actions. + * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + */ + @SerializedName("recommendedActions") + @Expose + public java.util.List recommendedActions; + + /** + * The Registry Key States. + * Security-related stateful information generated by the provider about the registry keys related to this alert. + */ + @SerializedName("registryKeyStates") + @Expose + public java.util.List registryKeyStates; + + /** + * The Severity. + * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required. + */ + @SerializedName("severity") + @Expose + public AlertSeverity severity; + + /** + * The Source Materials. + * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. + */ + @SerializedName("sourceMaterials") + @Expose + public java.util.List sourceMaterials; + + /** + * The Status. + * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required. + */ + @SerializedName("status") + @Expose + public AlertStatus status; + + /** + * The Tags. + * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). + */ + @SerializedName("tags") + @Expose + public java.util.List tags; + + /** + * The Title. + * Alert title. Required. + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Triggers. + * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation. + */ + @SerializedName("triggers") + @Expose + public java.util.List triggers; + + /** + * The User States. + * Security-related stateful information generated by the provider about the user accounts related to this alert. + */ + @SerializedName("userStates") + @Expose + public java.util.List userStates; + + /** + * The Vendor Information. + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required. + */ + @SerializedName("vendorInformation") + @Expose + public SecurityVendorInformation vendorInformation; + + /** + * The Vulnerability States. + * Threat intelligence pertaining to one or more vulnerabilities related to this alert. + */ + @SerializedName("vulnerabilityStates") + @Expose + public java.util.List vulnerabilityStates; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AlertTrigger.java b/src/main/java/com/microsoft/graph/models/extensions/AlertTrigger.java index d3ba859e7ed..52c4d24bb4f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AlertTrigger.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AlertTrigger.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAlertTrigger; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert Trigger. */ -public class AlertTrigger extends BaseAlertTrigger { +public class AlertTrigger implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * Name of the property serving as a detection trigger. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Type. + * Type of the property in the key:value pair for interpretation. For example, String, Boolean, etc. + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Value. + * Value of the property serving as a detection trigger. + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AllDevicesAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/extensions/AllDevicesAssignmentTarget.java index 95ad3921b3e..34892c2823f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AllDevicesAssignmentTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AllDevicesAssignmentTarget.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.generated.BaseAllDevicesAssignmentTarget; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the All Devices Assignment Target. */ -public class AllDevicesAssignmentTarget extends BaseAllDevicesAssignmentTarget { +public class AllDevicesAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AllLicensedUsersAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/extensions/AllLicensedUsersAssignmentTarget.java index a687594b4eb..7702fcd217c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AllLicensedUsersAssignmentTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AllLicensedUsersAssignmentTarget.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.generated.BaseAllLicensedUsersAssignmentTarget; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the All Licensed Users Assignment Target. */ -public class AllLicensedUsersAssignmentTarget extends BaseAllLicensedUsersAssignmentTarget { +public class AllLicensedUsersAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java b/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java index 1e39a0efb86..753fa9feefe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAlternativeSecurityId; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alternative Security Id. */ -public class AlternativeSecurityId extends BaseAlternativeSecurityId { +public class AlternativeSecurityId implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * For internal use only + */ + @SerializedName("type") + @Expose + public Integer type; + + /** + * The Identity Provider. + * For internal use only + */ + @SerializedName("identityProvider") + @Expose + public String identityProvider; + + /** + * The Key. + * For internal use only + */ + @SerializedName("key") + @Expose + public byte[] key; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java index 13ff023fbdb..913ed1495de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java @@ -3,12 +3,238 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; +import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseAndroidCompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Compliance Policy. */ -public class AndroidCompliancePolicy extends BaseAndroidCompliancePolicy { +public class AndroidCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Required. + * Require a password to unlock device. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Minimum Length. + * Minimum password length. Valid values 4 to 16 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Required Type. + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + */ + @SerializedName("passwordRequiredType") + @Expose + public AndroidRequiredPasswordType passwordRequiredType; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 65535 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Security Prevent Install Apps From Unknown Sources. + * Require that devices disallow installation of apps from unknown sources. + */ + @SerializedName("securityPreventInstallAppsFromUnknownSources") + @Expose + public Boolean securityPreventInstallAppsFromUnknownSources; + + /** + * The Security Disable Usb Debugging. + * Disable USB debugging on Android devices. + */ + @SerializedName("securityDisableUsbDebugging") + @Expose + public Boolean securityDisableUsbDebugging; + + /** + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. + */ + @SerializedName("securityRequireVerifyApps") + @Expose + public Boolean securityRequireVerifyApps; + + /** + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. + */ + @SerializedName("deviceThreatProtectionEnabled") + @Expose + public Boolean deviceThreatProtectionEnabled; + + /** + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + */ + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @Expose + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + + /** + * The Security Block Jailbroken Devices. + * Devices must not be jailbroken or rooted. + */ + @SerializedName("securityBlockJailbrokenDevices") + @Expose + public Boolean securityBlockJailbrokenDevices; + + /** + * The Os Minimum Version. + * Minimum Android version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum Android version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Min Android Security Patch Level. + * Minimum Android security patch level. + */ + @SerializedName("minAndroidSecurityPatchLevel") + @Expose + public String minAndroidSecurityPatchLevel; + + /** + * The Storage Require Encryption. + * Require encryption on Android devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + /** + * The Security Require Safety Net Attestation Basic Integrity. + * Require the device to pass the SafetyNet basic integrity check. + */ + @SerializedName("securityRequireSafetyNetAttestationBasicIntegrity") + @Expose + public Boolean securityRequireSafetyNetAttestationBasicIntegrity; + + /** + * The Security Require Safety Net Attestation Certified Device. + * Require the device to pass the SafetyNet certified device check. + */ + @SerializedName("securityRequireSafetyNetAttestationCertifiedDevice") + @Expose + public Boolean securityRequireSafetyNetAttestationCertifiedDevice; + + /** + * The Security Require Google Play Services. + * Require Google Play Services to be installed and enabled on the device. + */ + @SerializedName("securityRequireGooglePlayServices") + @Expose + public Boolean securityRequireGooglePlayServices; + + /** + * The Security Require Up To Date Security Providers. + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + */ + @SerializedName("securityRequireUpToDateSecurityProviders") + @Expose + public Boolean securityRequireUpToDateSecurityProviders; + + /** + * The Security Require Company Portal App Integrity. + * Require the device to pass the Company Portal client app runtime integrity check. + */ + @SerializedName("securityRequireCompanyPortalAppIntegrity") + @Expose + public Boolean securityRequireCompanyPortalAppIntegrity; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidCustomConfiguration.java index a6b7a677e26..0814afc8526 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidCustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidCustomConfiguration.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseAndroidCustomConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Custom Configuration. */ -public class AndroidCustomConfiguration extends BaseAndroidCustomConfiguration { +public class AndroidCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Oma Settings. + * OMA settings. This collection can contain a maximum of 1000 elements. + */ + @SerializedName("omaSettings") + @Expose + public java.util.List omaSettings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java index 37c453719c6..e8ddea841e5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java @@ -3,12 +3,456 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppListItem; +import com.microsoft.graph.models.generated.AppListType; +import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; +import com.microsoft.graph.models.generated.WebBrowserCookieSettings; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseAndroidGeneralDeviceConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android General Device Configuration. */ -public class AndroidGeneralDeviceConfiguration extends BaseAndroidGeneralDeviceConfiguration { +public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Apps Block Clipboard Sharing. + * Indicates whether or not to block clipboard sharing to copy and paste between applications. + */ + @SerializedName("appsBlockClipboardSharing") + @Expose + public Boolean appsBlockClipboardSharing; + + /** + * The Apps Block Copy Paste. + * Indicates whether or not to block copy and paste within applications. + */ + @SerializedName("appsBlockCopyPaste") + @Expose + public Boolean appsBlockCopyPaste; + + /** + * The Apps Block You Tube. + * Indicates whether or not to block the YouTube app. + */ + @SerializedName("appsBlockYouTube") + @Expose + public Boolean appsBlockYouTube; + + /** + * The Bluetooth Blocked. + * Indicates whether or not to block Bluetooth. + */ + @SerializedName("bluetoothBlocked") + @Expose + public Boolean bluetoothBlocked; + + /** + * The Camera Blocked. + * Indicates whether or not to block the use of the camera. + */ + @SerializedName("cameraBlocked") + @Expose + public Boolean cameraBlocked; + + /** + * The Cellular Block Data Roaming. + * Indicates whether or not to block data roaming. + */ + @SerializedName("cellularBlockDataRoaming") + @Expose + public Boolean cellularBlockDataRoaming; + + /** + * The Cellular Block Messaging. + * Indicates whether or not to block SMS/MMS messaging. + */ + @SerializedName("cellularBlockMessaging") + @Expose + public Boolean cellularBlockMessaging; + + /** + * The Cellular Block Voice Roaming. + * Indicates whether or not to block voice roaming. + */ + @SerializedName("cellularBlockVoiceRoaming") + @Expose + public Boolean cellularBlockVoiceRoaming; + + /** + * The Cellular Block Wi Fi Tethering. + * Indicates whether or not to block syncing Wi-Fi tethering. + */ + @SerializedName("cellularBlockWiFiTethering") + @Expose + public Boolean cellularBlockWiFiTethering; + + /** + * The Compliant Apps List. + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("compliantAppsList") + @Expose + public java.util.List compliantAppsList; + + /** + * The Compliant App List Type. + * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("compliantAppListType") + @Expose + public AppListType compliantAppListType; + + /** + * The Diagnostic Data Block Submission. + * Indicates whether or not to block diagnostic data submission. + */ + @SerializedName("diagnosticDataBlockSubmission") + @Expose + public Boolean diagnosticDataBlockSubmission; + + /** + * The Location Services Blocked. + * Indicates whether or not to block location services. + */ + @SerializedName("locationServicesBlocked") + @Expose + public Boolean locationServicesBlocked; + + /** + * The Google Account Block Auto Sync. + * Indicates whether or not to block Google account auto sync. + */ + @SerializedName("googleAccountBlockAutoSync") + @Expose + public Boolean googleAccountBlockAutoSync; + + /** + * The Google Play Store Blocked. + * Indicates whether or not to block the Google Play store. + */ + @SerializedName("googlePlayStoreBlocked") + @Expose + public Boolean googlePlayStoreBlocked; + + /** + * The Kiosk Mode Block Sleep Button. + * Indicates whether or not to block the screen sleep button while in Kiosk Mode. + */ + @SerializedName("kioskModeBlockSleepButton") + @Expose + public Boolean kioskModeBlockSleepButton; + + /** + * The Kiosk Mode Block Volume Buttons. + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + */ + @SerializedName("kioskModeBlockVolumeButtons") + @Expose + public Boolean kioskModeBlockVolumeButtons; + + /** + * The Kiosk Mode Apps. + * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + */ + @SerializedName("kioskModeApps") + @Expose + public java.util.List kioskModeApps; + + /** + * The Nfc Blocked. + * Indicates whether or not to block Near-Field Communication. + */ + @SerializedName("nfcBlocked") + @Expose + public Boolean nfcBlocked; + + /** + * The Password Block Fingerprint Unlock. + * Indicates whether or not to block fingerprint unlock. + */ + @SerializedName("passwordBlockFingerprintUnlock") + @Expose + public Boolean passwordBlockFingerprintUnlock; + + /** + * The Password Block Trust Agents. + * Indicates whether or not to block Smart Lock and other trust agents. + */ + @SerializedName("passwordBlockTrustAgents") + @Expose + public Boolean passwordBlockTrustAgents; + + /** + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * Minimum length of passwords. Valid values 4 to 16 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity before the screen times out. + */ + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 0 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before factory reset. Valid values 4 to 11 + */ + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @Expose + public Integer passwordSignInFailureCountBeforeFactoryReset; + + /** + * The Password Required Type. + * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + */ + @SerializedName("passwordRequiredType") + @Expose + public AndroidRequiredPasswordType passwordRequiredType; + + /** + * The Password Required. + * Indicates whether or not to require a password. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Power Off Blocked. + * Indicates whether or not to block powering off the device. + */ + @SerializedName("powerOffBlocked") + @Expose + public Boolean powerOffBlocked; + + /** + * The Factory Reset Blocked. + * Indicates whether or not to block user performing a factory reset. + */ + @SerializedName("factoryResetBlocked") + @Expose + public Boolean factoryResetBlocked; + + /** + * The Screen Capture Blocked. + * Indicates whether or not to block screenshots. + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Device Sharing Allowed. + * Indicates whether or not to allow device sharing mode. + */ + @SerializedName("deviceSharingAllowed") + @Expose + public Boolean deviceSharingAllowed; + + /** + * The Storage Block Google Backup. + * Indicates whether or not to block Google Backup. + */ + @SerializedName("storageBlockGoogleBackup") + @Expose + public Boolean storageBlockGoogleBackup; + + /** + * The Storage Block Removable Storage. + * Indicates whether or not to block removable storage usage. + */ + @SerializedName("storageBlockRemovableStorage") + @Expose + public Boolean storageBlockRemovableStorage; + + /** + * The Storage Require Device Encryption. + * Indicates whether or not to require device encryption. + */ + @SerializedName("storageRequireDeviceEncryption") + @Expose + public Boolean storageRequireDeviceEncryption; + + /** + * The Storage Require Removable Storage Encryption. + * Indicates whether or not to require removable storage encryption. + */ + @SerializedName("storageRequireRemovableStorageEncryption") + @Expose + public Boolean storageRequireRemovableStorageEncryption; + + /** + * The Voice Assistant Blocked. + * Indicates whether or not to block the use of the Voice Assistant. + */ + @SerializedName("voiceAssistantBlocked") + @Expose + public Boolean voiceAssistantBlocked; + + /** + * The Voice Dialing Blocked. + * Indicates whether or not to block voice dialing. + */ + @SerializedName("voiceDialingBlocked") + @Expose + public Boolean voiceDialingBlocked; + + /** + * The Web Browser Block Popups. + * Indicates whether or not to block popups within the web browser. + */ + @SerializedName("webBrowserBlockPopups") + @Expose + public Boolean webBrowserBlockPopups; + + /** + * The Web Browser Block Autofill. + * Indicates whether or not to block the web browser's auto fill feature. + */ + @SerializedName("webBrowserBlockAutofill") + @Expose + public Boolean webBrowserBlockAutofill; + + /** + * The Web Browser Block Java Script. + * Indicates whether or not to block JavaScript within the web browser. + */ + @SerializedName("webBrowserBlockJavaScript") + @Expose + public Boolean webBrowserBlockJavaScript; + + /** + * The Web Browser Blocked. + * Indicates whether or not to block the web browser. + */ + @SerializedName("webBrowserBlocked") + @Expose + public Boolean webBrowserBlocked; + + /** + * The Web Browser Cookie Settings. + * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + */ + @SerializedName("webBrowserCookieSettings") + @Expose + public WebBrowserCookieSettings webBrowserCookieSettings; + + /** + * The Wi Fi Blocked. + * Indicates whether or not to block syncing Wi-Fi. + */ + @SerializedName("wiFiBlocked") + @Expose + public Boolean wiFiBlocked; + + /** + * The Apps Install Allow List. + * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsInstallAllowList") + @Expose + public java.util.List appsInstallAllowList; + + /** + * The Apps Launch Block List. + * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsLaunchBlockList") + @Expose + public java.util.List appsLaunchBlockList; + + /** + * The Apps Hide List. + * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsHideList") + @Expose + public java.util.List appsHideList; + + /** + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. + */ + @SerializedName("securityRequireVerifyApps") + @Expose + public Boolean securityRequireVerifyApps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java index b5944fe44fa..f029fd8b3c2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.MobileLobApp; -import com.microsoft.graph.models.generated.BaseAndroidLobApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Lob App. */ -public class AndroidLobApp extends BaseAndroidLobApp { +public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject { + + + /** + * The Package Id. + * The package identifier. + */ + @SerializedName("packageId") + @Expose + public String packageId; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; + + /** + * The Version Name. + * The version name of Android Line of Business (LoB) app. + */ + @SerializedName("versionName") + @Expose + public String versionName; + + /** + * The Version Code. + * The version code of Android Line of Business (LoB) app. + */ + @SerializedName("versionCode") + @Expose + public String versionCode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java index 26dbb3b440d..949a3f9ac36 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java @@ -3,12 +3,150 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; -import com.microsoft.graph.models.generated.BaseAndroidManagedAppProtection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Protection. */ -public class AndroidManagedAppProtection extends BaseAndroidManagedAppProtection { +public class AndroidManagedAppProtection extends TargetedManagedAppProtection implements IJsonBackedObject { + + + /** + * The Screen Capture Blocked. + * Indicates whether a managed user can take screen captures of managed apps + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Disable App Encryption If Device Encryption Is Enabled. + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled + */ + @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") + @Expose + public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; + + /** + * The Encrypt App Data. + * Indicates whether application data for managed apps should be encrypted + */ + @SerializedName("encryptAppData") + @Expose + public Boolean encryptAppData; + + /** + * The Deployed App Count. + * Count of apps to which the current policy is deployed. + */ + @SerializedName("deployedAppCount") + @Expose + public Integer deployedAppCount; + + /** + * The Minimum Required Patch Version. + * Define the oldest required Android security patch level a user can have to gain secure access to the app. + */ + @SerializedName("minimumRequiredPatchVersion") + @Expose + public String minimumRequiredPatchVersion; + + /** + * The Minimum Warning Patch Version. + * Define the oldest recommended Android security patch level a user can have for secure access to the app. + */ + @SerializedName("minimumWarningPatchVersion") + @Expose + public String minimumWarningPatchVersion; + + /** + * The Apps. + * List of apps to which the policy is deployed. + */ + public ManagedMobileAppCollectionPage apps; + + /** + * The Deployment Summary. + * Navigation property to deployment summary of the configuration. + */ + @SerializedName("deploymentSummary") + @Expose + public ManagedAppPolicyDeploymentSummary deploymentSummary; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("apps")) { + final ManagedMobileAppCollectionResponse response = new ManagedMobileAppCollectionResponse(); + if (json.has("apps@odata.nextLink")) { + response.nextLink = json.get("apps@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); + final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + apps = new ManagedMobileAppCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppRegistration.java index 5c9917235d6..98159079672 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppRegistration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppRegistration.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; -import com.microsoft.graph.models.generated.BaseAndroidManagedAppRegistration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Registration. */ -public class AndroidManagedAppRegistration extends BaseAndroidManagedAppRegistration { +public class AndroidManagedAppRegistration extends ManagedAppRegistration implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidMinimumOperatingSystem.java index 2fbbed6f8b1..14bfd836e3b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidMinimumOperatingSystem.java @@ -3,12 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAndroidMinimumOperatingSystem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Minimum Operating System. */ -public class AndroidMinimumOperatingSystem extends BaseAndroidMinimumOperatingSystem { +public class AndroidMinimumOperatingSystem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The V4_0. + * Version 4.0 or later. + */ + @SerializedName("v4_0") + @Expose + public Boolean v4_0; + + /** + * The V4_0_3. + * Version 4.0.3 or later. + */ + @SerializedName("v4_0_3") + @Expose + public Boolean v4_0_3; + + /** + * The V4_1. + * Version 4.1 or later. + */ + @SerializedName("v4_1") + @Expose + public Boolean v4_1; + + /** + * The V4_2. + * Version 4.2 or later. + */ + @SerializedName("v4_2") + @Expose + public Boolean v4_2; + + /** + * The V4_3. + * Version 4.3 or later. + */ + @SerializedName("v4_3") + @Expose + public Boolean v4_3; + + /** + * The V4_4. + * Version 4.4 or later. + */ + @SerializedName("v4_4") + @Expose + public Boolean v4_4; + + /** + * The V5_0. + * Version 5.0 or later. + */ + @SerializedName("v5_0") + @Expose + public Boolean v5_0; + + /** + * The V5_1. + * Version 5.1 or later. + */ + @SerializedName("v5_1") + @Expose + public Boolean v5_1; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidMobileAppIdentifier.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidMobileAppIdentifier.java index 75da05c1c89..d6ed95c3fb9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidMobileAppIdentifier.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidMobileAppIdentifier.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppIdentifier; -import com.microsoft.graph.models.generated.BaseAndroidMobileAppIdentifier; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Mobile App Identifier. */ -public class AndroidMobileAppIdentifier extends BaseAndroidMobileAppIdentifier { +public class AndroidMobileAppIdentifier extends MobileAppIdentifier implements IJsonBackedObject { + + + /** + * The Package Id. + * The identifier for an app, as specified in the play store. + */ + @SerializedName("packageId") + @Expose + public String packageId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java index b4d6e9618a7..76bc2905569 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseAndroidStoreApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Store App. */ -public class AndroidStoreApp extends BaseAndroidStoreApp { +public class AndroidStoreApp extends MobileApp implements IJsonBackedObject { + + + /** + * The Package Id. + * The package identifier. + */ + @SerializedName("packageId") + @Expose + public String packageId; + + /** + * The App Store Url. + * The Android app store URL. + */ + @SerializedName("appStoreUrl") + @Expose + public String appStoreUrl; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java index 43520b47f79..cfdc6c8db6d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java @@ -3,12 +3,238 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; +import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseAndroidWorkProfileCompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile Compliance Policy. */ -public class AndroidWorkProfileCompliancePolicy extends BaseAndroidWorkProfileCompliancePolicy { +public class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Required. + * Require a password to unlock device. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Minimum Length. + * Minimum password length. Valid values 4 to 16 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Required Type. + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + */ + @SerializedName("passwordRequiredType") + @Expose + public AndroidRequiredPasswordType passwordRequiredType; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Security Prevent Install Apps From Unknown Sources. + * Require that devices disallow installation of apps from unknown sources. + */ + @SerializedName("securityPreventInstallAppsFromUnknownSources") + @Expose + public Boolean securityPreventInstallAppsFromUnknownSources; + + /** + * The Security Disable Usb Debugging. + * Disable USB debugging on Android devices. + */ + @SerializedName("securityDisableUsbDebugging") + @Expose + public Boolean securityDisableUsbDebugging; + + /** + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. + */ + @SerializedName("securityRequireVerifyApps") + @Expose + public Boolean securityRequireVerifyApps; + + /** + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. + */ + @SerializedName("deviceThreatProtectionEnabled") + @Expose + public Boolean deviceThreatProtectionEnabled; + + /** + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + */ + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @Expose + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + + /** + * The Security Block Jailbroken Devices. + * Devices must not be jailbroken or rooted. + */ + @SerializedName("securityBlockJailbrokenDevices") + @Expose + public Boolean securityBlockJailbrokenDevices; + + /** + * The Os Minimum Version. + * Minimum Android version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum Android version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Min Android Security Patch Level. + * Minimum Android security patch level. + */ + @SerializedName("minAndroidSecurityPatchLevel") + @Expose + public String minAndroidSecurityPatchLevel; + + /** + * The Storage Require Encryption. + * Require encryption on Android devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + /** + * The Security Require Safety Net Attestation Basic Integrity. + * Require the device to pass the SafetyNet basic integrity check. + */ + @SerializedName("securityRequireSafetyNetAttestationBasicIntegrity") + @Expose + public Boolean securityRequireSafetyNetAttestationBasicIntegrity; + + /** + * The Security Require Safety Net Attestation Certified Device. + * Require the device to pass the SafetyNet certified device check. + */ + @SerializedName("securityRequireSafetyNetAttestationCertifiedDevice") + @Expose + public Boolean securityRequireSafetyNetAttestationCertifiedDevice; + + /** + * The Security Require Google Play Services. + * Require Google Play Services to be installed and enabled on the device. + */ + @SerializedName("securityRequireGooglePlayServices") + @Expose + public Boolean securityRequireGooglePlayServices; + + /** + * The Security Require Up To Date Security Providers. + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + */ + @SerializedName("securityRequireUpToDateSecurityProviders") + @Expose + public Boolean securityRequireUpToDateSecurityProviders; + + /** + * The Security Require Company Portal App Integrity. + * Require the device to pass the Company Portal client app runtime integrity check. + */ + @SerializedName("securityRequireCompanyPortalAppIntegrity") + @Expose + public Boolean securityRequireCompanyPortalAppIntegrity; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCustomConfiguration.java index aded747d7f3..4523454edc7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCustomConfiguration.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseAndroidWorkProfileCustomConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile Custom Configuration. */ -public class AndroidWorkProfileCustomConfiguration extends BaseAndroidWorkProfileCustomConfiguration { +public class AndroidWorkProfileCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Oma Settings. + * OMA settings. This collection can contain a maximum of 500 elements. + */ + @SerializedName("omaSettings") + @Expose + public java.util.List omaSettings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java index 04a40cd024f..fb2cc8c14ad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java @@ -3,12 +3,343 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.AndroidWorkProfileRequiredPasswordType; +import com.microsoft.graph.models.generated.AndroidWorkProfileCrossProfileDataSharingType; +import com.microsoft.graph.models.generated.AndroidWorkProfileDefaultAppPermissionPolicyType; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseAndroidWorkProfileGeneralDeviceConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile General Device Configuration. */ -public class AndroidWorkProfileGeneralDeviceConfiguration extends BaseAndroidWorkProfileGeneralDeviceConfiguration { +public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Password Block Fingerprint Unlock. + * Indicates whether or not to block fingerprint unlock. + */ + @SerializedName("passwordBlockFingerprintUnlock") + @Expose + public Boolean passwordBlockFingerprintUnlock; + + /** + * The Password Block Trust Agents. + * Indicates whether or not to block Smart Lock and other trust agents. + */ + @SerializedName("passwordBlockTrustAgents") + @Expose + public Boolean passwordBlockTrustAgents; + + /** + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * Minimum length of passwords. Valid values 4 to 16 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity before the screen times out. + */ + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 0 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before factory reset. Valid values 4 to 11 + */ + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @Expose + public Integer passwordSignInFailureCountBeforeFactoryReset; + + /** + * The Password Required Type. + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + */ + @SerializedName("passwordRequiredType") + @Expose + public AndroidWorkProfileRequiredPasswordType passwordRequiredType; + + /** + * The Work Profile Data Sharing Type. + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + */ + @SerializedName("workProfileDataSharingType") + @Expose + public AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType; + + /** + * The Work Profile Block Notifications While Device Locked. + * Indicates whether or not to block notifications while device locked. + */ + @SerializedName("workProfileBlockNotificationsWhileDeviceLocked") + @Expose + public Boolean workProfileBlockNotificationsWhileDeviceLocked; + + /** + * The Work Profile Block Adding Accounts. + * Block users from adding/removing accounts in work profile. + */ + @SerializedName("workProfileBlockAddingAccounts") + @Expose + public Boolean workProfileBlockAddingAccounts; + + /** + * The Work Profile Bluetooth Enable Contact Sharing. + * Allow bluetooth devices to access enterprise contacts. + */ + @SerializedName("workProfileBluetoothEnableContactSharing") + @Expose + public Boolean workProfileBluetoothEnableContactSharing; + + /** + * The Work Profile Block Screen Capture. + * Block screen capture in work profile. + */ + @SerializedName("workProfileBlockScreenCapture") + @Expose + public Boolean workProfileBlockScreenCapture; + + /** + * The Work Profile Block Cross Profile Caller Id. + * Block display work profile caller ID in personal profile. + */ + @SerializedName("workProfileBlockCrossProfileCallerId") + @Expose + public Boolean workProfileBlockCrossProfileCallerId; + + /** + * The Work Profile Block Camera. + * Block work profile camera. + */ + @SerializedName("workProfileBlockCamera") + @Expose + public Boolean workProfileBlockCamera; + + /** + * The Work Profile Block Cross Profile Contacts Search. + * Block work profile contacts availability in personal profile. + */ + @SerializedName("workProfileBlockCrossProfileContactsSearch") + @Expose + public Boolean workProfileBlockCrossProfileContactsSearch; + + /** + * The Work Profile Block Cross Profile Copy Paste. + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + */ + @SerializedName("workProfileBlockCrossProfileCopyPaste") + @Expose + public Boolean workProfileBlockCrossProfileCopyPaste; + + /** + * The Work Profile Default App Permission Policy. + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + */ + @SerializedName("workProfileDefaultAppPermissionPolicy") + @Expose + public AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy; + + /** + * The Work Profile Password Block Fingerprint Unlock. + * Indicates whether or not to block fingerprint unlock for work profile. + */ + @SerializedName("workProfilePasswordBlockFingerprintUnlock") + @Expose + public Boolean workProfilePasswordBlockFingerprintUnlock; + + /** + * The Work Profile Password Block Trust Agents. + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + */ + @SerializedName("workProfilePasswordBlockTrustAgents") + @Expose + public Boolean workProfilePasswordBlockTrustAgents; + + /** + * The Work Profile Password Expiration Days. + * Number of days before the work profile password expires. Valid values 1 to 365 + */ + @SerializedName("workProfilePasswordExpirationDays") + @Expose + public Integer workProfilePasswordExpirationDays; + + /** + * The Work Profile Password Minimum Length. + * Minimum length of work profile password. Valid values 4 to 16 + */ + @SerializedName("workProfilePasswordMinimumLength") + @Expose + public Integer workProfilePasswordMinimumLength; + + /** + * The Work Profile Password Min Numeric Characters. + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinNumericCharacters") + @Expose + public Integer workProfilePasswordMinNumericCharacters; + + /** + * The Work Profile Password Min Non Letter Characters. + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinNonLetterCharacters") + @Expose + public Integer workProfilePasswordMinNonLetterCharacters; + + /** + * The Work Profile Password Min Letter Characters. + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinLetterCharacters") + @Expose + public Integer workProfilePasswordMinLetterCharacters; + + /** + * The Work Profile Password Min Lower Case Characters. + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinLowerCaseCharacters") + @Expose + public Integer workProfilePasswordMinLowerCaseCharacters; + + /** + * The Work Profile Password Min Upper Case Characters. + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinUpperCaseCharacters") + @Expose + public Integer workProfilePasswordMinUpperCaseCharacters; + + /** + * The Work Profile Password Min Symbol Characters. + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinSymbolCharacters") + @Expose + public Integer workProfilePasswordMinSymbolCharacters; + + /** + * The Work Profile Password Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity before the screen times out. + */ + @SerializedName("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Work Profile Password Previous Password Block Count. + * Number of previous work profile passwords to block. Valid values 0 to 24 + */ + @SerializedName("workProfilePasswordPreviousPasswordBlockCount") + @Expose + public Integer workProfilePasswordPreviousPasswordBlockCount; + + /** + * The Work Profile Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 4 to 11 + */ + @SerializedName("workProfilePasswordSignInFailureCountBeforeFactoryReset") + @Expose + public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset; + + /** + * The Work Profile Password Required Type. + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + */ + @SerializedName("workProfilePasswordRequiredType") + @Expose + public AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType; + + /** + * The Work Profile Require Password. + * Password is required or not for work profile + */ + @SerializedName("workProfileRequirePassword") + @Expose + public Boolean workProfileRequirePassword; + + /** + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. + */ + @SerializedName("securityRequireVerifyApps") + @Expose + public Boolean securityRequireVerifyApps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppCatalogs.java b/src/main/java/com/microsoft/graph/models/extensions/AppCatalogs.java index 1bb8f9df7e5..721ef688eac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppCatalogs.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppCatalogs.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TeamsApp; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TeamsAppCollectionResponse; +import com.microsoft.graph.requests.extensions.TeamsAppCollectionPage; -import com.microsoft.graph.models.generated.BaseAppCatalogs; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the App Catalogs. */ -public class AppCatalogs extends BaseAppCatalogs { +public class AppCatalogs extends Entity implements IJsonBackedObject { + + + /** + * The Teams Apps. + * + */ + public TeamsAppCollectionPage teamsApps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("teamsApps")) { + final TeamsAppCollectionResponse response = new TeamsAppCollectionResponse(); + if (json.has("teamsApps@odata.nextLink")) { + response.nextLink = json.get("teamsApps@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("teamsApps").toString(), JsonObject[].class); + final TeamsApp[] array = new TeamsApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + teamsApps = new TeamsAppCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppConfigurationSettingItem.java b/src/main/java/com/microsoft/graph/models/extensions/AppConfigurationSettingItem.java index 93a5c5a5395..6d94c0106e0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppConfigurationSettingItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppConfigurationSettingItem.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MdmAppConfigKeyType; -import com.microsoft.graph.models.generated.BaseAppConfigurationSettingItem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the App Configuration Setting Item. */ -public class AppConfigurationSettingItem extends BaseAppConfigurationSettingItem { +public class AppConfigurationSettingItem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The App Config Key. + * app configuration key. + */ + @SerializedName("appConfigKey") + @Expose + public String appConfigKey; + + /** + * The App Config Key Type. + * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType. + */ + @SerializedName("appConfigKeyType") + @Expose + public MdmAppConfigKeyType appConfigKeyType; + + /** + * The App Config Key Value. + * app configuration key value. + */ + @SerializedName("appConfigKeyValue") + @Expose + public String appConfigKeyValue; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java b/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java index ac65da324b6..a3a4cc34306 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAppListItem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the App List Item. */ -public class AppListItem extends BaseAppListItem { +public class AppListItem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * The application name + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Publisher. + * The publisher of the application + */ + @SerializedName("publisher") + @Expose + public String publisher; + + /** + * The App Store Url. + * The Store URL of the application + */ + @SerializedName("appStoreUrl") + @Expose + public String appStoreUrl; + + /** + * The App Id. + * The application or bundle identifier of the application + */ + @SerializedName("appId") + @Expose + public String appId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppleDeviceFeaturesConfigurationBase.java b/src/main/java/com/microsoft/graph/models/extensions/AppleDeviceFeaturesConfigurationBase.java index 71c96bf8ce1..fb849041bcb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppleDeviceFeaturesConfigurationBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppleDeviceFeaturesConfigurationBase.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseAppleDeviceFeaturesConfigurationBase; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Device Features Configuration Base. */ -public class AppleDeviceFeaturesConfigurationBase extends BaseAppleDeviceFeaturesConfigurationBase { +public class AppleDeviceFeaturesConfigurationBase extends DeviceConfiguration implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java index f007c5b6505..53a9334bfaa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java @@ -3,12 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseApplePushNotificationCertificate; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Push Notification Certificate. */ -public class ApplePushNotificationCertificate extends BaseApplePushNotificationCertificate { +public class ApplePushNotificationCertificate extends Entity implements IJsonBackedObject { + + + /** + * The Apple Identifier. + * Apple Id of the account used to create the MDM push certificate. + */ + @SerializedName("appleIdentifier") + @Expose + public String appleIdentifier; + + /** + * The Topic Identifier. + * Topic Id. + */ + @SerializedName("topicIdentifier") + @Expose + public String topicIdentifier; + + /** + * The Last Modified Date Time. + * Last modified date and time for Apple push notification certificate. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Expiration Date Time. + * The expiration date and time for Apple push notification certificate. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Certificate. + * Not yet documented + */ + @SerializedName("certificate") + @Expose + public String certificate; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AssignedLicense.java b/src/main/java/com/microsoft/graph/models/extensions/AssignedLicense.java index 815183cf274..c25e4125237 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AssignedLicense.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AssignedLicense.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAssignedLicense; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Assigned License. */ -public class AssignedLicense extends BaseAssignedLicense { +public class AssignedLicense implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Disabled Plans. + * A collection of the unique identifiers for plans that have been disabled. + */ + @SerializedName("disabledPlans") + @Expose + public java.util.List disabledPlans; + + /** + * The Sku Id. + * The unique identifier for the SKU. + */ + @SerializedName("skuId") + @Expose + public java.util.UUID skuId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AssignedPlan.java b/src/main/java/com/microsoft/graph/models/extensions/AssignedPlan.java index 58e46ae7593..a18cb615834 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AssignedPlan.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AssignedPlan.java @@ -3,14 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAssignedPlan; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Assigned Plan. */ -public class AssignedPlan extends BaseAssignedPlan { +public class AssignedPlan implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Assigned Date Time. + * The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("assignedDateTime") + @Expose + public java.util.Calendar assignedDateTime; + + /** + * The Capability Status. + * For example, 'Enabled'. + */ + @SerializedName("capabilityStatus") + @Expose + public String capabilityStatus; + + /** + * The Service. + * The name of the service; for example, 'Exchange'. + */ + @SerializedName("service") + @Expose + public String service; + + /** + * The Service Plan Id. + * A GUID that identifies the service plan. + */ + @SerializedName("servicePlanId") + @Expose + public java.util.UUID servicePlanId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Attachment.java b/src/main/java/com/microsoft/graph/models/extensions/Attachment.java index b392fd1a6d8..904ff913b8d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Attachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Attachment.java @@ -3,14 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseAttachment; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attachment. */ -public class Attachment extends BaseAttachment { +public class Attachment extends Entity implements IJsonBackedObject { + + + /** + * The Last Modified Date Time. + * 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Name. + * The attachment's file name. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Content Type. + * The MIME type. + */ + @SerializedName("contentType") + @Expose + public String contentType; + + /** + * The Size. + * The length of the attachment in bytes. + */ + @SerializedName("size") + @Expose + public Integer size; + + /** + * The Is Inline. + * true if the attachment is an inline attachment; otherwise, false. + */ + @SerializedName("isInline") + @Expose + public Boolean isInline; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Attendee.java b/src/main/java/com/microsoft/graph/models/extensions/Attendee.java index 3b850024bac..366af4aa6b8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Attendee.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Attendee.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ResponseStatus; +import com.microsoft.graph.models.extensions.AttendeeBase; -import com.microsoft.graph.models.generated.BaseAttendee; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attendee. */ -public class Attendee extends BaseAttendee { +public class Attendee extends AttendeeBase implements IJsonBackedObject { + + + /** + * The Status. + * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. + */ + @SerializedName("status") + @Expose + public ResponseStatus status; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AttendeeAvailability.java b/src/main/java/com/microsoft/graph/models/extensions/AttendeeAvailability.java index f73e073f8c2..0813ac8552d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AttendeeAvailability.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AttendeeAvailability.java @@ -3,14 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AttendeeBase; +import com.microsoft.graph.models.generated.FreeBusyStatus; -import com.microsoft.graph.models.generated.BaseAttendeeAvailability; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attendee Availability. */ -public class AttendeeAvailability extends BaseAttendeeAvailability { +public class AttendeeAvailability implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Attendee. + * The type of attendee - whether it's a person or a resource, and whether required or optional if it's a person. + */ + @SerializedName("attendee") + @Expose + public AttendeeBase attendee; + + /** + * The Availability. + * The availability status of the attendee. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + */ + @SerializedName("availability") + @Expose + public FreeBusyStatus availability; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AttendeeBase.java b/src/main/java/com/microsoft/graph/models/extensions/AttendeeBase.java index 8999f34c2a3..bc76a80998c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AttendeeBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AttendeeBase.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.AttendeeType; +import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.generated.BaseAttendeeBase; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attendee Base. */ -public class AttendeeBase extends BaseAttendeeBase { +public class AttendeeBase extends Recipient implements IJsonBackedObject { + + + /** + * The Type. + * The type of attendee. The possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type. + */ + @SerializedName("type") + @Expose + public AttendeeType type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Audio.java b/src/main/java/com/microsoft/graph/models/extensions/Audio.java index eb67cbe3a2f..7141bd36cdb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Audio.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Audio.java @@ -3,14 +3,205 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseAudio; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Audio. */ -public class Audio extends BaseAudio { +public class Audio implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Album. + * The title of the album for this audio file. + */ + @SerializedName("album") + @Expose + public String album; + + /** + * The Album Artist. + * The artist named on the album for the audio file. + */ + @SerializedName("albumArtist") + @Expose + public String albumArtist; + + /** + * The Artist. + * The performing artist for the audio file. + */ + @SerializedName("artist") + @Expose + public String artist; + + /** + * The Bitrate. + * Bitrate expressed in kbps. + */ + @SerializedName("bitrate") + @Expose + public Long bitrate; + + /** + * The Composers. + * The name of the composer of the audio file. + */ + @SerializedName("composers") + @Expose + public String composers; + + /** + * The Copyright. + * Copyright information for the audio file. + */ + @SerializedName("copyright") + @Expose + public String copyright; + + /** + * The Disc. + * The number of the disc this audio file came from. + */ + @SerializedName("disc") + @Expose + public Integer disc; + + /** + * The Disc Count. + * The total number of discs in this album. + */ + @SerializedName("discCount") + @Expose + public Integer discCount; + + /** + * The Duration. + * Duration of the audio file, expressed in milliseconds + */ + @SerializedName("duration") + @Expose + public Long duration; + + /** + * The Genre. + * The genre of this audio file. + */ + @SerializedName("genre") + @Expose + public String genre; + + /** + * The Has Drm. + * Indicates if the file is protected with digital rights management. + */ + @SerializedName("hasDrm") + @Expose + public Boolean hasDrm; + + /** + * The Is Variable Bitrate. + * Indicates if the file is encoded with a variable bitrate. + */ + @SerializedName("isVariableBitrate") + @Expose + public Boolean isVariableBitrate; + + /** + * The Title. + * The title of the audio file. + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Track. + * The number of the track on the original disc for this audio file. + */ + @SerializedName("track") + @Expose + public Integer track; + + /** + * The Track Count. + * The total number of tracks on the original disc for this audio file. + */ + @SerializedName("trackCount") + @Expose + public Integer trackCount; + + /** + * The Year. + * The year the audio file was recorded. + */ + @SerializedName("year") + @Expose + public Integer year; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java index feb326b8839..8c0df5319db 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java @@ -3,12 +3,111 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.LocaleInfo; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.models.generated.BaseAutomaticRepliesMailTips; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Automatic Replies Mail Tips. */ -public class AutomaticRepliesMailTips extends BaseAutomaticRepliesMailTips { +public class AutomaticRepliesMailTips implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Message. + * The automatic reply message. + */ + @SerializedName("message") + @Expose + public String message; + + /** + * The Message Language. + * The language that the automatic reply message is in. + */ + @SerializedName("messageLanguage") + @Expose + public LocaleInfo messageLanguage; + + /** + * The Scheduled Start Time. + * The date and time that automatic replies are set to begin. + */ + @SerializedName("scheduledStartTime") + @Expose + public DateTimeTimeZone scheduledStartTime; + + /** + * The Scheduled End Time. + * The date and time that automatic replies are set to end. + */ + @SerializedName("scheduledEndTime") + @Expose + public DateTimeTimeZone scheduledEndTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java index 70b278a29c0..47ecf946820 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java @@ -3,14 +3,128 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.AutomaticRepliesStatus; +import com.microsoft.graph.models.generated.ExternalAudienceScope; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.models.generated.BaseAutomaticRepliesSetting; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Automatic Replies Setting. */ -public class AutomaticRepliesSetting extends BaseAutomaticRepliesSetting { +public class AutomaticRepliesSetting implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Status. + * Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled. + */ + @SerializedName("status") + @Expose + public AutomaticRepliesStatus status; + + /** + * The External Audience. + * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. The possible values are: none, contactsOnly, all. + */ + @SerializedName("externalAudience") + @Expose + public ExternalAudienceScope externalAudience; + + /** + * The Scheduled Start Date Time. + * The date and time that automatic replies are set to begin, if Status is set to Scheduled. + */ + @SerializedName("scheduledStartDateTime") + @Expose + public DateTimeTimeZone scheduledStartDateTime; + + /** + * The Scheduled End Date Time. + * The date and time that automatic replies are set to end, if Status is set to Scheduled. + */ + @SerializedName("scheduledEndDateTime") + @Expose + public DateTimeTimeZone scheduledEndDateTime; + + /** + * The Internal Reply Message. + * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + */ + @SerializedName("internalReplyMessage") + @Expose + public String internalReplyMessage; + + /** + * The External Reply Message. + * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. + */ + @SerializedName("externalReplyMessage") + @Expose + public String externalReplyMessage; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/BaseItem.java b/src/main/java/com/microsoft/graph/models/extensions/BaseItem.java index 50021e8fb11..8705777736e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BaseItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BaseItem.java @@ -3,14 +3,159 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseBaseItem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item. */ -public class BaseItem extends BaseBaseItem { +public class BaseItem extends Entity implements IJsonBackedObject { + + + /** + * The Created By. + * Identity of the user, device, or application which created the item. Read-only. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Created Date Time. + * Date and time of item creation. Read-only. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Description. + * Provides a user-visible description of the item. Optional. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The ETag. + * ETag for the item. Read-only. + */ + @SerializedName("eTag") + @Expose + public String eTag; + + /** + * The Last Modified By. + * Identity of the user, device, and application which last modified the item. Read-only. + */ + @SerializedName("lastModifiedBy") + @Expose + public IdentitySet lastModifiedBy; + + /** + * The Last Modified Date Time. + * Date and time the item was last modified. Read-only. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Name. + * The name of the item. Read-write. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Parent Reference. + * Parent information, if the item has a parent. Read-write. + */ + @SerializedName("parentReference") + @Expose + public ItemReference parentReference; + + /** + * The Web Url. + * URL that displays the resource in the browser. Read-only. + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + /** + * The Created By User. + * Identity of the user who created the item. Read-only. + */ + @SerializedName("createdByUser") + @Expose + public User createdByUser; + + /** + * The Last Modified By User. + * Identity of the user who last modified the item. Read-only. + */ + @SerializedName("lastModifiedByUser") + @Expose + public User lastModifiedByUser; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/BaseItemVersion.java b/src/main/java/com/microsoft/graph/models/extensions/BaseItemVersion.java index 24d853938e8..8bdff4e21b6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BaseItemVersion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BaseItemVersion.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.PublicationFacet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseBaseItemVersion; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Version. */ -public class BaseItemVersion extends BaseBaseItemVersion { +public class BaseItemVersion extends Entity implements IJsonBackedObject { + + + /** + * The Last Modified By. + * Identity of the user which last modified the version. Read-only. + */ + @SerializedName("lastModifiedBy") + @Expose + public IdentitySet lastModifiedBy; + + /** + * The Last Modified Date Time. + * Date and time the version was last modified. Read-only. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Publication. + * Indicates the publication status of this particular version. Read-only. + */ + @SerializedName("publication") + @Expose + public PublicationFacet publication; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java index b6d393b8e97..9279da727a0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.BitLockerEncryptionMethod; -import com.microsoft.graph.models.generated.BaseBitLockerRemovableDrivePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Bit Locker Removable Drive Policy. */ -public class BitLockerRemovableDrivePolicy extends BaseBitLockerRemovableDrivePolicy { +public class BitLockerRemovableDrivePolicy implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Encryption Method. + * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + */ + @SerializedName("encryptionMethod") + @Expose + public BitLockerEncryptionMethod encryptionMethod; + + /** + * The Require Encryption For Write Access. + * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect. + */ + @SerializedName("requireEncryptionForWriteAccess") + @Expose + public Boolean requireEncryptionForWriteAccess; + + /** + * The Block Cross Organization Write Access. + * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer. + */ + @SerializedName("blockCrossOrganizationWriteAccess") + @Expose + public Boolean blockCrossOrganizationWriteAccess; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/BooleanColumn.java b/src/main/java/com/microsoft/graph/models/extensions/BooleanColumn.java index cae4634ff56..3ae15c7f2af 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BooleanColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BooleanColumn.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseBooleanColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Boolean Column. */ -public class BooleanColumn extends BaseBooleanColumn { +public class BooleanColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CalculatedColumn.java b/src/main/java/com/microsoft/graph/models/extensions/CalculatedColumn.java index aee20475e49..ff817539236 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CalculatedColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CalculatedColumn.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseCalculatedColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calculated Column. */ -public class CalculatedColumn extends BaseCalculatedColumn { +public class CalculatedColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Format. + * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime. + */ + @SerializedName("format") + @Expose + public String format; + + /** + * The Formula. + * The formula used to compute the value for this column. + */ + @SerializedName("formula") + @Expose + public String formula; + + /** + * The Output Type. + * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. + */ + @SerializedName("outputType") + @Expose + public String outputType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Calendar.java b/src/main/java/com/microsoft/graph/models/extensions/Calendar.java index 7b154ce0997..410e0a30ce9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Calendar.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Calendar.java @@ -3,14 +3,223 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.CalendarColor; +import com.microsoft.graph.models.extensions.EmailAddress; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.EventCollectionResponse; +import com.microsoft.graph.requests.extensions.EventCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BaseCalendar; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar. */ -public class Calendar extends BaseCalendar { +public class Calendar extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * The calendar name. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Color. + * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1 + */ + @SerializedName("color") + @Expose + public CalendarColor color; + + /** + * The Change Key. + * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + */ + @SerializedName("changeKey") + @Expose + public String changeKey; + + /** + * The Can Share. + * True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. + */ + @SerializedName("canShare") + @Expose + public Boolean canShare; + + /** + * The Can View Private Items. + * True if the user can read calendar items that have been marked private, false otherwise. + */ + @SerializedName("canViewPrivateItems") + @Expose + public Boolean canViewPrivateItems; + + /** + * The Can Edit. + * True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access. + */ + @SerializedName("canEdit") + @Expose + public Boolean canEdit; + + /** + * The Owner. + * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. + */ + @SerializedName("owner") + @Expose + public EmailAddress owner; + + /** + * The Events. + * The events in the calendar. Navigation property. Read-only. + */ + public EventCollectionPage events; + + /** + * The Calendar View. + * The calendar view for the calendar. Navigation property. Read-only. + */ + public EventCollectionPage calendarView; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("events")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("events@odata.nextLink")) { + response.nextLink = json.get("events@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + events = new EventCollectionPage(response, null); + } + + if (json.has("calendarView")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("calendarView@odata.nextLink")) { + response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendarView = new EventCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java b/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java index 60e0aef28f0..ae881cd39a4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java @@ -3,14 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.CalendarCollectionResponse; +import com.microsoft.graph.requests.extensions.CalendarCollectionPage; -import com.microsoft.graph.models.generated.BaseCalendarGroup; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Group. */ -public class CalendarGroup extends BaseCalendarGroup { +public class CalendarGroup extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * The group name. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Class Id. + * The class identifier. Read-only. + */ + @SerializedName("classId") + @Expose + public java.util.UUID classId; + + /** + * The Change Key. + * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + */ + @SerializedName("changeKey") + @Expose + public String changeKey; + + /** + * The Calendars. + * The calendars in the calendar group. Navigation property. Read-only. Nullable. + */ + public CalendarCollectionPage calendars; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("calendars")) { + final CalendarCollectionResponse response = new CalendarCollectionResponse(); + if (json.has("calendars@odata.nextLink")) { + response.nextLink = json.get("calendars@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendars").toString(), JsonObject[].class); + final Calendar[] array = new Calendar[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Calendar.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendars = new CalendarCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Channel.java b/src/main/java/com/microsoft/graph/models/extensions/Channel.java index 2b25a0ccb17..35824d76ff9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Channel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Channel.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TeamsTab; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TeamsTabCollectionResponse; +import com.microsoft.graph.requests.extensions.TeamsTabCollectionPage; -import com.microsoft.graph.models.generated.BaseChannel; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Channel. */ -public class Channel extends BaseChannel { +public class Channel extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Channel name as it will appear to the user in Microsoft Teams. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Optional textual description for the channel. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Tabs. + * A collection of all the tabs in the channel. A navigation property. + */ + public TeamsTabCollectionPage tabs; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("tabs")) { + final TeamsTabCollectionResponse response = new TeamsTabCollectionResponse(); + if (json.has("tabs@odata.nextLink")) { + response.nextLink = json.get("tabs@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tabs").toString(), JsonObject[].class); + final TeamsTab[] array = new TeamsTab[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsTab.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tabs = new TeamsTabCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChoiceColumn.java b/src/main/java/com/microsoft/graph/models/extensions/ChoiceColumn.java index c5e57acc3e6..cc156bcfbe7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChoiceColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChoiceColumn.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseChoiceColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Choice Column. */ -public class ChoiceColumn extends BaseChoiceColumn { +public class ChoiceColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Text Entry. + * If true, allows custom values that aren't in the configured choices. + */ + @SerializedName("allowTextEntry") + @Expose + public Boolean allowTextEntry; + + /** + * The Choices. + * The list of values available for this column. + */ + @SerializedName("choices") + @Expose + public java.util.List choices; + + /** + * The Display As. + * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons + */ + @SerializedName("displayAs") + @Expose + public String displayAs; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CloudAppSecurityState.java b/src/main/java/com/microsoft/graph/models/extensions/CloudAppSecurityState.java index 04178840344..163768031a1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CloudAppSecurityState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CloudAppSecurityState.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseCloudAppSecurityState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Cloud App Security State. */ -public class CloudAppSecurityState extends BaseCloudAppSecurityState { +public class CloudAppSecurityState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Destination Service Ip. + * Destination IP Address of the connection to the cloud application/service. + */ + @SerializedName("destinationServiceIp") + @Expose + public String destinationServiceIp; + + /** + * The Destination Service Name. + * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.). + */ + @SerializedName("destinationServiceName") + @Expose + public String destinationServiceName; + + /** + * The Risk Score. + * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage. + */ + @SerializedName("riskScore") + @Expose + public String riskScore; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ColumnDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/ColumnDefinition.java index ce64e3d45d2..447a480f03e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ColumnDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ColumnDefinition.java @@ -3,14 +3,230 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.BooleanColumn; +import com.microsoft.graph.models.extensions.CalculatedColumn; +import com.microsoft.graph.models.extensions.ChoiceColumn; +import com.microsoft.graph.models.extensions.CurrencyColumn; +import com.microsoft.graph.models.extensions.DateTimeColumn; +import com.microsoft.graph.models.extensions.DefaultColumnValue; +import com.microsoft.graph.models.extensions.LookupColumn; +import com.microsoft.graph.models.extensions.NumberColumn; +import com.microsoft.graph.models.extensions.PersonOrGroupColumn; +import com.microsoft.graph.models.extensions.TextColumn; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseColumnDefinition; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Definition. */ -public class ColumnDefinition extends BaseColumnDefinition { +public class ColumnDefinition extends Entity implements IJsonBackedObject { + + + /** + * The Boolean. + * This column stores boolean values. + */ + @SerializedName("boolean") + @Expose + public BooleanColumn msgraphboolean; + + /** + * The Calculated. + * This column's data is calculated based on other columns. + */ + @SerializedName("calculated") + @Expose + public CalculatedColumn calculated; + + /** + * The Choice. + * This column stores data from a list of choices. + */ + @SerializedName("choice") + @Expose + public ChoiceColumn choice; + + /** + * The Column Group. + * For site columns, the name of the group this column belongs to. Helps organize related columns. + */ + @SerializedName("columnGroup") + @Expose + public String columnGroup; + + /** + * The Currency. + * This column stores currency values. + */ + @SerializedName("currency") + @Expose + public CurrencyColumn currency; + + /** + * The Date Time. + * This column stores DateTime values. + */ + @SerializedName("dateTime") + @Expose + public DateTimeColumn dateTime; + + /** + * The Default Value. + * The default value for this column. + */ + @SerializedName("defaultValue") + @Expose + public DefaultColumnValue defaultValue; + + /** + * The Description. + * The user-facing description of the column. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Name. + * The user-facing name of the column. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Enforce Unique Values. + * If true, no two list items may have the same value for this column. + */ + @SerializedName("enforceUniqueValues") + @Expose + public Boolean enforceUniqueValues; + + /** + * The Hidden. + * Specifies whether the column is displayed in the user interface. + */ + @SerializedName("hidden") + @Expose + public Boolean hidden; + + /** + * The Indexed. + * Specifies whether the column values can used for sorting and searching. + */ + @SerializedName("indexed") + @Expose + public Boolean indexed; + + /** + * The Lookup. + * This column's data is looked up from another source in the site. + */ + @SerializedName("lookup") + @Expose + public LookupColumn lookup; + + /** + * The Name. + * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Number. + * This column stores number values. + */ + @SerializedName("number") + @Expose + public NumberColumn number; + + /** + * The Person Or Group. + * This column stores Person or Group values. + */ + @SerializedName("personOrGroup") + @Expose + public PersonOrGroupColumn personOrGroup; + + /** + * The Read Only. + * Specifies whether the column values can be modified. + */ + @SerializedName("readOnly") + @Expose + public Boolean readOnly; + + /** + * The Required. + * Specifies whether the column value is not optional. + */ + @SerializedName("required") + @Expose + public Boolean required; + + /** + * The Text. + * This column stores text values. + */ + @SerializedName("text") + @Expose + public TextColumn text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ColumnLink.java b/src/main/java/com/microsoft/graph/models/extensions/ColumnLink.java index f1c09cbb142..23fd7d89bc2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ColumnLink.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ColumnLink.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseColumnLink; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Link. */ -public class ColumnLink extends BaseColumnLink { +public class ColumnLink extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * The name of the column in this content type. + */ + @SerializedName("name") + @Expose + public String name; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ComplexExtensionValue.java b/src/main/java/com/microsoft/graph/models/extensions/ComplexExtensionValue.java index 6b631ab2bc4..7b379544870 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ComplexExtensionValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ComplexExtensionValue.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseComplexExtensionValue; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Complex Extension Value. */ -public class ComplexExtensionValue extends BaseComplexExtensionValue { +public class ComplexExtensionValue implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java b/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java index a27f58c3c9a..1aac3fb5862 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseConfigurationManagerClientEnabledFeatures; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Configuration Manager Client Enabled Features. */ -public class ConfigurationManagerClientEnabledFeatures extends BaseConfigurationManagerClientEnabledFeatures { +public class ConfigurationManagerClientEnabledFeatures implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Inventory. + * Whether inventory is managed by Intune + */ + @SerializedName("inventory") + @Expose + public Boolean inventory; + + /** + * The Modern Apps. + * Whether modern application is managed by Intune + */ + @SerializedName("modernApps") + @Expose + public Boolean modernApps; + + /** + * The Resource Access. + * Whether resource access is managed by Intune + */ + @SerializedName("resourceAccess") + @Expose + public Boolean resourceAccess; + + /** + * The Device Configuration. + * Whether device configuration is managed by Intune + */ + @SerializedName("deviceConfiguration") + @Expose + public Boolean deviceConfiguration; + + /** + * The Compliance Policy. + * Whether compliance policy is managed by Intune + */ + @SerializedName("compliancePolicy") + @Expose + public Boolean compliancePolicy; + + /** + * The Windows Update For Business. + * Whether Windows Update for Business is managed by Intune + */ + @SerializedName("windowsUpdateForBusiness") + @Expose + public Boolean windowsUpdateForBusiness; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Contact.java b/src/main/java/com/microsoft/graph/models/extensions/Contact.java index e6c9de67bd4..fb78dc56ccd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Contact.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Contact.java @@ -3,14 +3,418 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EmailAddress; +import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.ProfilePhoto; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BaseContact; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact. */ -public class Contact extends BaseContact { +public class Contact extends OutlookItem implements IJsonBackedObject { + + + /** + * The Parent Folder Id. + * The ID of the contact's parent folder. + */ + @SerializedName("parentFolderId") + @Expose + public String parentFolderId; + + /** + * The Birthday. + * The contact's birthday. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("birthday") + @Expose + public java.util.Calendar birthday; + + /** + * The File As. + * The name the contact is filed under. + */ + @SerializedName("fileAs") + @Expose + public String fileAs; + + /** + * The Display Name. + * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Given Name. + * The contact's given name. + */ + @SerializedName("givenName") + @Expose + public String givenName; + + /** + * The Initials. + * The contact's initials. + */ + @SerializedName("initials") + @Expose + public String initials; + + /** + * The Middle Name. + * The contact's middle name. + */ + @SerializedName("middleName") + @Expose + public String middleName; + + /** + * The Nick Name. + * The contact's nickname. + */ + @SerializedName("nickName") + @Expose + public String nickName; + + /** + * The Surname. + * The contact's surname. + */ + @SerializedName("surname") + @Expose + public String surname; + + /** + * The Title. + * The contact's title. + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Yomi Given Name. + * The phonetic Japanese given name (first name) of the contact. + */ + @SerializedName("yomiGivenName") + @Expose + public String yomiGivenName; + + /** + * The Yomi Surname. + * The phonetic Japanese surname (last name) of the contact. + */ + @SerializedName("yomiSurname") + @Expose + public String yomiSurname; + + /** + * The Yomi Company Name. + * The phonetic Japanese company name of the contact. + */ + @SerializedName("yomiCompanyName") + @Expose + public String yomiCompanyName; + + /** + * The Generation. + * The contact's generation. + */ + @SerializedName("generation") + @Expose + public String generation; + + /** + * The Email Addresses. + * The contact's email addresses. + */ + @SerializedName("emailAddresses") + @Expose + public java.util.List emailAddresses; + + /** + * The Im Addresses. + * The contact's instant messaging (IM) addresses. + */ + @SerializedName("imAddresses") + @Expose + public java.util.List imAddresses; + + /** + * The Job Title. + * The contact’s job title. + */ + @SerializedName("jobTitle") + @Expose + public String jobTitle; + + /** + * The Company Name. + * The name of the contact's company. + */ + @SerializedName("companyName") + @Expose + public String companyName; + + /** + * The Department. + * The contact's department. + */ + @SerializedName("department") + @Expose + public String department; + + /** + * The Office Location. + * The location of the contact's office. + */ + @SerializedName("officeLocation") + @Expose + public String officeLocation; + + /** + * The Profession. + * The contact's profession. + */ + @SerializedName("profession") + @Expose + public String profession; + + /** + * The Business Home Page. + * The business home page of the contact. + */ + @SerializedName("businessHomePage") + @Expose + public String businessHomePage; + + /** + * The Assistant Name. + * The name of the contact's assistant. + */ + @SerializedName("assistantName") + @Expose + public String assistantName; + + /** + * The Manager. + * The name of the contact's manager. + */ + @SerializedName("manager") + @Expose + public String manager; + + /** + * The Home Phones. + * The contact's home phone numbers. + */ + @SerializedName("homePhones") + @Expose + public java.util.List homePhones; + + /** + * The Mobile Phone. + * The contact's mobile phone number. + */ + @SerializedName("mobilePhone") + @Expose + public String mobilePhone; + + /** + * The Business Phones. + * The contact's business phone numbers. + */ + @SerializedName("businessPhones") + @Expose + public java.util.List businessPhones; + + /** + * The Home Address. + * The contact's home address. + */ + @SerializedName("homeAddress") + @Expose + public PhysicalAddress homeAddress; + + /** + * The Business Address. + * The contact's business address. + */ + @SerializedName("businessAddress") + @Expose + public PhysicalAddress businessAddress; + + /** + * The Other Address. + * Other addresses for the contact. + */ + @SerializedName("otherAddress") + @Expose + public PhysicalAddress otherAddress; + + /** + * The Spouse Name. + * The name of the contact's spouse/partner. + */ + @SerializedName("spouseName") + @Expose + public String spouseName; + + /** + * The Personal Notes. + * The user's notes about the contact. + */ + @SerializedName("personalNotes") + @Expose + public String personalNotes; + + /** + * The Children. + * The names of the contact's children. + */ + @SerializedName("children") + @Expose + public java.util.List children; + + /** + * The Extensions. + * The collection of open extensions defined for the contact. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the contact. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the contact. Read-only. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + /** + * The Photo. + * Optional contact picture. You can get or set a photo for a contact. + */ + @SerializedName("photo") + @Expose + public ProfilePhoto photo; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java b/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java index 76ef254bf20..8d53410aaac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java @@ -3,14 +3,184 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Contact; +import com.microsoft.graph.models.extensions.ContactFolder; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ContactCollectionResponse; +import com.microsoft.graph.requests.extensions.ContactCollectionPage; +import com.microsoft.graph.requests.extensions.ContactFolderCollectionResponse; +import com.microsoft.graph.requests.extensions.ContactFolderCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BaseContactFolder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder. */ -public class ContactFolder extends BaseContactFolder { +public class ContactFolder extends Entity implements IJsonBackedObject { + + + /** + * The Parent Folder Id. + * The ID of the folder's parent folder. + */ + @SerializedName("parentFolderId") + @Expose + public String parentFolderId; + + /** + * The Display Name. + * The folder's display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Contacts. + * The contacts in the folder. Navigation property. Read-only. Nullable. + */ + public ContactCollectionPage contacts; + + /** + * The Child Folders. + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + */ + public ContactFolderCollectionPage childFolders; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("contacts")) { + final ContactCollectionResponse response = new ContactCollectionResponse(); + if (json.has("contacts@odata.nextLink")) { + response.nextLink = json.get("contacts@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contacts").toString(), JsonObject[].class); + final Contact[] array = new Contact[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Contact.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contacts = new ContactCollectionPage(response, null); + } + + if (json.has("childFolders")) { + final ContactFolderCollectionResponse response = new ContactFolderCollectionResponse(); + if (json.has("childFolders@odata.nextLink")) { + response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); + final ContactFolder[] array = new ContactFolder[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContactFolder.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + childFolders = new ContactFolderCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContentType.java b/src/main/java/com/microsoft/graph/models/extensions/ContentType.java index f4e50afe589..c1f220420fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContentType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContentType.java @@ -3,14 +3,167 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.models.extensions.ContentTypeOrder; +import com.microsoft.graph.models.extensions.ColumnLink; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ColumnLinkCollectionResponse; +import com.microsoft.graph.requests.extensions.ColumnLinkCollectionPage; -import com.microsoft.graph.models.generated.BaseContentType; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type. */ -public class ContentType extends BaseContentType { +public class ContentType extends Entity implements IJsonBackedObject { + + + /** + * The Description. + * The descriptive text for the item. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Group. + * The name of the group this content type belongs to. Helps organize related content types. + */ + @SerializedName("group") + @Expose + public String group; + + /** + * The Hidden. + * Indicates whether the content type is hidden in the list's 'New' menu. + */ + @SerializedName("hidden") + @Expose + public Boolean hidden; + + /** + * The Inherited From. + * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined. + */ + @SerializedName("inheritedFrom") + @Expose + public ItemReference inheritedFrom; + + /** + * The Name. + * The name of the content type. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Order. + * Specifies the order in which the content type appears in the selection UI. + */ + @SerializedName("order") + @Expose + public ContentTypeOrder order; + + /** + * The Parent Id. + * The unique identifier of the content type. + */ + @SerializedName("parentId") + @Expose + public String parentId; + + /** + * The Read Only. + * If true, the content type cannot be modified unless this value is first set to false. + */ + @SerializedName("readOnly") + @Expose + public Boolean readOnly; + + /** + * The Sealed. + * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. + */ + @SerializedName("sealed") + @Expose + public Boolean sealed; + + /** + * The Column Links. + * The collection of columns that are required by this content type + */ + public ColumnLinkCollectionPage columnLinks; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("columnLinks")) { + final ColumnLinkCollectionResponse response = new ColumnLinkCollectionResponse(); + if (json.has("columnLinks@odata.nextLink")) { + response.nextLink = json.get("columnLinks@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columnLinks").toString(), JsonObject[].class); + final ColumnLink[] array = new ColumnLink[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ColumnLink.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + columnLinks = new ColumnLinkCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContentTypeInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ContentTypeInfo.java index fc02fb2aa4b..169ecb0495a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContentTypeInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContentTypeInfo.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseContentTypeInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Info. */ -public class ContentTypeInfo extends BaseContentTypeInfo { +public class ContentTypeInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Id. + * The id of the content type. + */ + @SerializedName("id") + @Expose + public String id; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContentTypeOrder.java b/src/main/java/com/microsoft/graph/models/extensions/ContentTypeOrder.java index 5d2d5c2cb07..0c974f50bdd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContentTypeOrder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContentTypeOrder.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseContentTypeOrder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Order. */ -public class ContentTypeOrder extends BaseContentTypeOrder { +public class ContentTypeOrder implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Default. + * Whether this is the default Content Type + */ + @SerializedName("default") + @Expose + public Boolean msgraphdefault; + + /** + * The Position. + * Specifies the position in which the Content Type appears in the selection UI. + */ + @SerializedName("position") + @Expose + public Integer position; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Contract.java b/src/main/java/com/microsoft/graph/models/extensions/Contract.java index 6e83478427d..8737772519f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Contract.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Contract.java @@ -3,14 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.generated.BaseContract; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contract. */ -public class Contract extends BaseContract { +public class Contract extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Contract Type. + * Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners. + */ + @SerializedName("contractType") + @Expose + public String contractType; + + /** + * The Customer Id. + * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. + */ + @SerializedName("customerId") + @Expose + public java.util.UUID customerId; + + /** + * The Default Domain Name. + * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + */ + @SerializedName("defaultDomainName") + @Expose + public String defaultDomainName; + + /** + * The Display Name. + * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Conversation.java b/src/main/java/com/microsoft/graph/models/extensions/Conversation.java index 1ce0b62724c..f1ac7eb457f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Conversation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Conversation.java @@ -3,14 +3,133 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ConversationThread; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ConversationThreadCollectionResponse; +import com.microsoft.graph.requests.extensions.ConversationThreadCollectionPage; -import com.microsoft.graph.models.generated.BaseConversation; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation. */ -public class Conversation extends BaseConversation { +public class Conversation extends Entity implements IJsonBackedObject { + + + /** + * The Topic. + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + */ + @SerializedName("topic") + @Expose + public String topic; + + /** + * The Has Attachments. + * Indicates whether any of the posts within this Conversation has at least one attachment. + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The Last Delivered Date Time. + * 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastDeliveredDateTime") + @Expose + public java.util.Calendar lastDeliveredDateTime; + + /** + * The Unique Senders. + * All the users that sent a message to this Conversation. + */ + @SerializedName("uniqueSenders") + @Expose + public java.util.List uniqueSenders; + + /** + * The Preview. + * A short summary from the body of the latest post in this converstaion. + */ + @SerializedName("preview") + @Expose + public String preview; + + /** + * The Threads. + * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. + */ + public ConversationThreadCollectionPage threads; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("threads")) { + final ConversationThreadCollectionResponse response = new ConversationThreadCollectionResponse(); + if (json.has("threads@odata.nextLink")) { + response.nextLink = json.get("threads@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("threads").toString(), JsonObject[].class); + final ConversationThread[] array = new ConversationThread[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConversationThread.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + threads = new ConversationThreadCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java b/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java index 6ee4f9b3be1..995fbb6bdc9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java @@ -3,14 +3,158 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.PostCollectionResponse; +import com.microsoft.graph.requests.extensions.PostCollectionPage; -import com.microsoft.graph.models.generated.BaseConversationThread; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread. */ -public class ConversationThread extends BaseConversationThread { +public class ConversationThread extends Entity implements IJsonBackedObject { + + + /** + * The To Recipients. + * The To: recipients for the thread. + */ + @SerializedName("toRecipients") + @Expose + public java.util.List toRecipients; + + /** + * The Topic. + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + */ + @SerializedName("topic") + @Expose + public String topic; + + /** + * The Has Attachments. + * Indicates whether any of the posts within this thread has at least one attachment. + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The Last Delivered Date Time. + * 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastDeliveredDateTime") + @Expose + public java.util.Calendar lastDeliveredDateTime; + + /** + * The Unique Senders. + * All the users that sent a message to this thread. + */ + @SerializedName("uniqueSenders") + @Expose + public java.util.List uniqueSenders; + + /** + * The Cc Recipients. + * The Cc: recipients for the thread. + */ + @SerializedName("ccRecipients") + @Expose + public java.util.List ccRecipients; + + /** + * The Preview. + * A short summary from the body of the latest post in this converstaion. + */ + @SerializedName("preview") + @Expose + public String preview; + + /** + * The Is Locked. + * Indicates if the thread is locked. + */ + @SerializedName("isLocked") + @Expose + public Boolean isLocked; + + /** + * The Posts. + * Read-only. Nullable. + */ + public PostCollectionPage posts; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("posts")) { + final PostCollectionResponse response = new PostCollectionResponse(); + if (json.has("posts@odata.nextLink")) { + response.nextLink = json.get("posts@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("posts").toString(), JsonObject[].class); + final Post[] array = new Post[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Post.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + posts = new PostCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConversationThreadReplyBody.java b/src/main/java/com/microsoft/graph/models/extensions/ConversationThreadReplyBody.java index 37db80a2994..f2bd19eab8c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConversationThreadReplyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConversationThreadReplyBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseConversationThreadReplyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Reply Body. */ -public class ConversationThreadReplyBody extends BaseConversationThreadReplyBody { +public class ConversationThreadReplyBody { + /** + * The post. + * + */ + @SerializedName("post") + @Expose + public Post post; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CurrencyColumn.java b/src/main/java/com/microsoft/graph/models/extensions/CurrencyColumn.java index 1dcc0546459..051388eff88 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CurrencyColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CurrencyColumn.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseCurrencyColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Currency Column. */ -public class CurrencyColumn extends BaseCurrencyColumn { +public class CurrencyColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Locale. + * Specifies the locale from which to infer the currency symbol. + */ + @SerializedName("locale") + @Expose + public String locale; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java b/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java index 32f770f67e1..306f75879d7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.StandardTimeZoneOffset; +import com.microsoft.graph.models.extensions.DaylightTimeZoneOffset; +import com.microsoft.graph.models.extensions.TimeZoneBase; -import com.microsoft.graph.models.generated.BaseCustomTimeZone; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Custom Time Zone. */ -public class CustomTimeZone extends BaseCustomTimeZone { +public class CustomTimeZone extends TimeZoneBase implements IJsonBackedObject { + + + /** + * The Bias. + * The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset. + */ + @SerializedName("bias") + @Expose + public Integer bias; + + /** + * The Standard Offset. + * Specifies when the time zone switches from daylight saving time to standard time. + */ + @SerializedName("standardOffset") + @Expose + public StandardTimeZoneOffset standardOffset; + + /** + * The Daylight Offset. + * Specifies when the time zone switches from standard time to daylight saving time. + */ + @SerializedName("daylightOffset") + @Expose + public DaylightTimeZoneOffset daylightOffset; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java b/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java index 56c8938921c..ef6d444cec9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DataPolicyOperationStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDataPolicyOperation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Data Policy Operation. */ -public class DataPolicyOperation extends BaseDataPolicyOperation { +public class DataPolicyOperation extends Entity implements IJsonBackedObject { + + + /** + * The Completed Date Time. + * Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Null until the operation completes. + */ + @SerializedName("completedDateTime") + @Expose + public java.util.Calendar completedDateTime; + + /** + * The Status. + * Possible values are: notStarted, running, complete, failed, unknownFutureValue. + */ + @SerializedName("status") + @Expose + public DataPolicyOperationStatus status; + + /** + * The Storage Location. + * The URL location to where data is being exported for export requests. + */ + @SerializedName("storageLocation") + @Expose + public String storageLocation; + + /** + * The User Id. + * The id for the user on whom the operation is performed. + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The Submitted Date Time. + * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("submittedDateTime") + @Expose + public java.util.Calendar submittedDateTime; + + /** + * The Progress. + * Specifies the progress of an operation. + */ + @SerializedName("progress") + @Expose + public Double progress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DateTimeColumn.java b/src/main/java/com/microsoft/graph/models/extensions/DateTimeColumn.java index ca6fb0d1fc4..a8f14994dc3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DateTimeColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DateTimeColumn.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDateTimeColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Date Time Column. */ -public class DateTimeColumn extends BaseDateTimeColumn { +public class DateTimeColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display As. + * How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default. + */ + @SerializedName("displayAs") + @Expose + public String displayAs; + + /** + * The Format. + * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime + */ + @SerializedName("format") + @Expose + public String format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DateTimeTimeZone.java b/src/main/java/com/microsoft/graph/models/extensions/DateTimeTimeZone.java index f595115fad8..59e6f4e816f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DateTimeTimeZone.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DateTimeTimeZone.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDateTimeTimeZone; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Date Time Time Zone. */ -public class DateTimeTimeZone extends BaseDateTimeTimeZone { +public class DateTimeTimeZone implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Date Time. + * A single point of time in a combined date and time representation (&lt;date&gt;T&lt;time&gt;). + */ + @SerializedName("dateTime") + @Expose + public String dateTime; + + /** + * The Time Zone. + * One of the following time zone names. + */ + @SerializedName("timeZone") + @Expose + public String timeZone; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DaylightTimeZoneOffset.java b/src/main/java/com/microsoft/graph/models/extensions/DaylightTimeZoneOffset.java index 66f8d3f01d1..18dcde6a804 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DaylightTimeZoneOffset.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DaylightTimeZoneOffset.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.StandardTimeZoneOffset; -import com.microsoft.graph.models.generated.BaseDaylightTimeZoneOffset; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Daylight Time Zone Offset. */ -public class DaylightTimeZoneOffset extends BaseDaylightTimeZoneOffset { +public class DaylightTimeZoneOffset extends StandardTimeZoneOffset implements IJsonBackedObject { + + + /** + * The Daylight Bias. + * The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes. + */ + @SerializedName("daylightBias") + @Expose + public Integer daylightBias; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DefaultColumnValue.java b/src/main/java/com/microsoft/graph/models/extensions/DefaultColumnValue.java index 5c997793624..616d3b4b22d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DefaultColumnValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DefaultColumnValue.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDefaultColumnValue; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Column Value. */ -public class DefaultColumnValue extends BaseDefaultColumnValue { +public class DefaultColumnValue implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Formula. + * The formula used to compute the default value for this column. + */ + @SerializedName("formula") + @Expose + public String formula; + + /** + * The Value. + * The direct value to use as the default value for this column. + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java index 1fcf2bba869..a61283ed6df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java @@ -3,12 +3,184 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppDataEncryptionType; +import com.microsoft.graph.models.extensions.KeyValuePair; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.models.extensions.ManagedAppProtection; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; -import com.microsoft.graph.models.generated.BaseDefaultManagedAppProtection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Managed App Protection. */ -public class DefaultManagedAppProtection extends BaseDefaultManagedAppProtection { +public class DefaultManagedAppProtection extends ManagedAppProtection implements IJsonBackedObject { + + + /** + * The App Data Encryption Type. + * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + */ + @SerializedName("appDataEncryptionType") + @Expose + public ManagedAppDataEncryptionType appDataEncryptionType; + + /** + * The Screen Capture Blocked. + * Indicates whether screen capture is blocked. (Android only) + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Encrypt App Data. + * Indicates whether managed-app data should be encrypted. (Android only) + */ + @SerializedName("encryptAppData") + @Expose + public Boolean encryptAppData; + + /** + * The Disable App Encryption If Device Encryption Is Enabled. + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) + */ + @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") + @Expose + public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; + + /** + * The Minimum Required Sdk Version. + * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) + */ + @SerializedName("minimumRequiredSdkVersion") + @Expose + public String minimumRequiredSdkVersion; + + /** + * The Custom Settings. + * A set of string key and string value pairs to be sent to the affected users, unalterned by this service + */ + @SerializedName("customSettings") + @Expose + public java.util.List customSettings; + + /** + * The Deployed App Count. + * Count of apps to which the current policy is deployed. + */ + @SerializedName("deployedAppCount") + @Expose + public Integer deployedAppCount; + + /** + * The Minimum Required Patch Version. + * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) + */ + @SerializedName("minimumRequiredPatchVersion") + @Expose + public String minimumRequiredPatchVersion; + + /** + * The Minimum Warning Patch Version. + * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + */ + @SerializedName("minimumWarningPatchVersion") + @Expose + public String minimumWarningPatchVersion; + + /** + * The Face Id Blocked. + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) + */ + @SerializedName("faceIdBlocked") + @Expose + public Boolean faceIdBlocked; + + /** + * The Apps. + * List of apps to which the policy is deployed. + */ + public ManagedMobileAppCollectionPage apps; + + /** + * The Deployment Summary. + * Navigation property to deployment summary of the configuration. + */ + @SerializedName("deploymentSummary") + @Expose + public ManagedAppPolicyDeploymentSummary deploymentSummary; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("apps")) { + final ManagedMobileAppCollectionResponse response = new ManagedMobileAppCollectionResponse(); + if (json.has("apps@odata.nextLink")) { + response.nextLink = json.get("apps@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); + final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + apps = new ManagedMobileAppCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java b/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java index 525e4f56f01..e204c4b34df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DefenderThreatAction; -import com.microsoft.graph.models.generated.BaseDefenderDetectedMalwareActions; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Defender Detected Malware Actions. */ -public class DefenderDetectedMalwareActions extends BaseDefenderDetectedMalwareActions { +public class DefenderDetectedMalwareActions implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Low Severity. + * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + */ + @SerializedName("lowSeverity") + @Expose + public DefenderThreatAction lowSeverity; + + /** + * The Moderate Severity. + * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + */ + @SerializedName("moderateSeverity") + @Expose + public DefenderThreatAction moderateSeverity; + + /** + * The High Severity. + * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + */ + @SerializedName("highSeverity") + @Expose + public DefenderThreatAction highSeverity; + + /** + * The Severe Severity. + * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + */ + @SerializedName("severeSeverity") + @Expose + public DefenderThreatAction severeSeverity; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeleteUserFromSharedAppleDeviceActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/DeleteUserFromSharedAppleDeviceActionResult.java index bb80d8a6e5b..ea797c502d9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeleteUserFromSharedAppleDeviceActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeleteUserFromSharedAppleDeviceActionResult.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.BaseDeleteUserFromSharedAppleDeviceActionResult; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Delete User From Shared Apple Device Action Result. */ -public class DeleteUserFromSharedAppleDeviceActionResult extends BaseDeleteUserFromSharedAppleDeviceActionResult { +public class DeleteUserFromSharedAppleDeviceActionResult extends DeviceActionResult implements IJsonBackedObject { + + + /** + * The User Principal Name. + * User principal name of the user to be deleted + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Deleted.java b/src/main/java/com/microsoft/graph/models/extensions/Deleted.java index 6a92380cbf1..1c4624f8d93 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Deleted.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Deleted.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeleted; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Deleted. */ -public class Deleted extends BaseDeleted { +public class Deleted implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The State. + * Represents the state of the deleted item. + */ + @SerializedName("state") + @Expose + public String state; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java b/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java index 03b35e7bb35..08a014086ee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; -import com.microsoft.graph.models.generated.BaseDetectedApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Detected App. */ -public class DetectedApp extends BaseDetectedApp { +public class DetectedApp extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Name of the discovered application. Read-only + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * Version of the discovered application. Read-only + */ + @SerializedName("version") + @Expose + public String version; + + /** + * The Size In Byte. + * Discovered application size in bytes. Read-only + */ + @SerializedName("sizeInByte") + @Expose + public Long sizeInByte; + + /** + * The Device Count. + * The number of devices that have installed this application + */ + @SerializedName("deviceCount") + @Expose + public Integer deviceCount; + + /** + * The Managed Devices. + * The devices that have the discovered application installed + */ + public ManagedDeviceCollectionPage managedDevices; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("managedDevices")) { + final ManagedDeviceCollectionResponse response = new ManagedDeviceCollectionResponse(); + if (json.has("managedDevices@odata.nextLink")) { + response.nextLink = json.get("managedDevices@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedDevices").toString(), JsonObject[].class); + final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedDevices = new ManagedDeviceCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Device.java b/src/main/java/com/microsoft/graph/models/extensions/Device.java index 87fa6e0b7ee..657d5f3769e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Device.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Device.java @@ -3,14 +3,304 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AlternativeSecurityId; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.models.generated.BaseDevice; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device. */ -public class Device extends BaseDevice { +public class Device extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Account Enabled. + * true if the account is enabled; otherwise, false. Required. + */ + @SerializedName("accountEnabled") + @Expose + public Boolean accountEnabled; + + /** + * The Alternative Security Ids. + * For internal use only. Not nullable. + */ + @SerializedName("alternativeSecurityIds") + @Expose + public java.util.List alternativeSecurityIds; + + /** + * The Approximate Last Sign In Date Time. + * 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 would look like this: '2014-01-01T00:00:00Z' Read-only. + */ + @SerializedName("approximateLastSignInDateTime") + @Expose + public java.util.Calendar approximateLastSignInDateTime; + + /** + * The Device Id. + * Unique identifier set by Azure Device Registration Service at the time of registration. + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Device Metadata. + * For interal use only. Set to null. + */ + @SerializedName("deviceMetadata") + @Expose + public String deviceMetadata; + + /** + * The Device Version. + * For interal use only. + */ + @SerializedName("deviceVersion") + @Expose + public Integer deviceVersion; + + /** + * The Display Name. + * The display name for the device. Required. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Is Compliant. + * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. + */ + @SerializedName("isCompliant") + @Expose + public Boolean isCompliant; + + /** + * The Is Managed. + * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. + */ + @SerializedName("isManaged") + @Expose + public Boolean isManaged; + + /** + * The On Premises Last Sync Date Time. + * The last time at which the object was synced with the on-premises directory.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 would look like this: '2014-01-01T00:00:00Z' Read-only. + */ + @SerializedName("onPremisesLastSyncDateTime") + @Expose + public java.util.Calendar onPremisesLastSyncDateTime; + + /** + * The On Premises Sync Enabled. + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. + */ + @SerializedName("onPremisesSyncEnabled") + @Expose + public Boolean onPremisesSyncEnabled; + + /** + * The Operating System. + * The type of operating system on the device. Required. + */ + @SerializedName("operatingSystem") + @Expose + public String operatingSystem; + + /** + * The Operating System Version. + * The version of the operating system on the device. Required. + */ + @SerializedName("operatingSystemVersion") + @Expose + public String operatingSystemVersion; + + /** + * The Physical Ids. + * For interal use only. Not nullable. + */ + @SerializedName("physicalIds") + @Expose + public java.util.List physicalIds; + + /** + * The Trust Type. + * Type of trust for the joined device. Read-only. Possible values: Workplace - indicates bring your own personal devicesAzureAd - Cloud only joined devicesServerAd - on-premises domain joined devices joined to Azure AD. For more details, see Introduction to device management in Azure Active Directory + */ + @SerializedName("trustType") + @Expose + public String trustType; + + /** + * The Member Of. + * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. + */ + public DirectoryObjectCollectionPage memberOf; + + /** + * The Registered Owners. + * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage registeredOwners; + + /** + * The Registered Users. + * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage registeredUsers; + + /** + * The Transitive Member Of. + * + */ + public DirectoryObjectCollectionPage transitiveMemberOf; + + /** + * The Extensions. + * The collection of open extensions defined for the device. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("memberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("memberOf@odata.nextLink")) { + response.nextLink = json.get("memberOf@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("memberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + memberOf = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("registeredOwners")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("registeredOwners@odata.nextLink")) { + response.nextLink = json.get("registeredOwners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("registeredOwners").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + registeredOwners = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("registeredUsers")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("registeredUsers@odata.nextLink")) { + response.nextLink = json.get("registeredUsers@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("registeredUsers").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + registeredUsers = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("transitiveMemberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("transitiveMemberOf@odata.nextLink")) { + response.nextLink = json.get("transitiveMemberOf@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMemberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + transitiveMemberOf = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java index c4b962f8ba8..0b1f4dc2afb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ActionState; -import com.microsoft.graph.models.generated.BaseDeviceActionResult; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Action Result. */ -public class DeviceActionResult extends BaseDeviceActionResult { +public class DeviceActionResult implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Action Name. + * Action name + */ + @SerializedName("actionName") + @Expose + public String actionName; + + /** + * The Action State. + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + */ + @SerializedName("actionState") + @Expose + public ActionState actionState; + + /** + * The Start Date Time. + * Time the action was initiated + */ + @SerializedName("startDateTime") + @Expose + public java.util.Calendar startDateTime; + + /** + * The Last Updated Date Time. + * Time the action state was last updated + */ + @SerializedName("lastUpdatedDateTime") + @Expose + public java.util.Calendar lastUpdatedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentTarget.java index d149f431ee2..520bee9bd27 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentTarget.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceAndAppManagementAssignmentTarget; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Assignment Target. */ -public class DeviceAndAppManagementAssignmentTarget extends BaseDeviceAndAppManagementAssignmentTarget { +public class DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleAssignment.java index ab640c76d44..22d523af808 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleAssignment.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RoleAssignment; -import com.microsoft.graph.models.generated.BaseDeviceAndAppManagementRoleAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Assignment. */ -public class DeviceAndAppManagementRoleAssignment extends BaseDeviceAndAppManagementRoleAssignment { +public class DeviceAndAppManagementRoleAssignment extends RoleAssignment implements IJsonBackedObject { + + + /** + * The Members. + * The list of ids of role member security groups. These are IDs from Azure Active Directory. + */ + @SerializedName("members") + @Expose + public java.util.List members; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleDefinition.java index 69d554ac901..6c40e853766 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementRoleDefinition.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RoleDefinition; -import com.microsoft.graph.models.generated.BaseDeviceAndAppManagementRoleDefinition; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Definition. */ -public class DeviceAndAppManagementRoleDefinition extends BaseDeviceAndAppManagementRoleDefinition { +public class DeviceAndAppManagementRoleDefinition extends RoleDefinition implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java index c5893131807..31f233fc08d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java @@ -3,12 +3,450 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileApp; +import com.microsoft.graph.models.extensions.MobileAppCategory; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; +import com.microsoft.graph.models.extensions.VppToken; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; +import com.microsoft.graph.models.extensions.IosManagedAppProtection; +import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; +import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; +import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; +import com.microsoft.graph.models.extensions.ManagedAppStatus; +import com.microsoft.graph.models.extensions.ManagedEBook; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.MobileAppCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.VppTokenCollectionResponse; +import com.microsoft.graph.requests.extensions.VppTokenCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionResponse; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionPage; +import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionResponse; +import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionPage; +import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionResponse; +import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionPage; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedEBookCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedEBookCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceAppManagement; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device App Management. */ -public class DeviceAppManagement extends BaseDeviceAppManagement { +public class DeviceAppManagement extends Entity implements IJsonBackedObject { + + + /** + * The Microsoft Store For Business Last Successful Sync Date Time. + * The last time the apps from the Microsoft Store for Business were synced successfully for the account. + */ + @SerializedName("microsoftStoreForBusinessLastSuccessfulSyncDateTime") + @Expose + public java.util.Calendar microsoftStoreForBusinessLastSuccessfulSyncDateTime; + + /** + * The Is Enabled For Microsoft Store For Business. + * Whether the account is enabled for syncing applications from the Microsoft Store for Business. + */ + @SerializedName("isEnabledForMicrosoftStoreForBusiness") + @Expose + public Boolean isEnabledForMicrosoftStoreForBusiness; + + /** + * The Microsoft Store For Business Language. + * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&lt;country/regioncode2&gt;, where is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture. + */ + @SerializedName("microsoftStoreForBusinessLanguage") + @Expose + public String microsoftStoreForBusinessLanguage; + + /** + * The Microsoft Store For Business Last Completed Application Sync Time. + * The last time an application sync from the Microsoft Store for Business was completed. + */ + @SerializedName("microsoftStoreForBusinessLastCompletedApplicationSyncTime") + @Expose + public java.util.Calendar microsoftStoreForBusinessLastCompletedApplicationSyncTime; + + /** + * The Mobile Apps. + * The mobile apps. + */ + public MobileAppCollectionPage mobileApps; + + /** + * The Mobile App Categories. + * The mobile app categories. + */ + public MobileAppCategoryCollectionPage mobileAppCategories; + + /** + * The Mobile App Configurations. + * The Managed Device Mobile Application Configurations. + */ + public ManagedDeviceMobileAppConfigurationCollectionPage mobileAppConfigurations; + + /** + * The Vpp Tokens. + * List of Vpp tokens for this organization. + */ + public VppTokenCollectionPage vppTokens; + + /** + * The Managed App Policies. + * Managed app policies. + */ + public ManagedAppPolicyCollectionPage managedAppPolicies; + + /** + * The Ios Managed App Protections. + * iOS managed app policies. + */ + public IosManagedAppProtectionCollectionPage iosManagedAppProtections; + + /** + * The Android Managed App Protections. + * Android managed app policies. + */ + public AndroidManagedAppProtectionCollectionPage androidManagedAppProtections; + + /** + * The Default Managed App Protections. + * Default managed app policies. + */ + public DefaultManagedAppProtectionCollectionPage defaultManagedAppProtections; + + /** + * The Targeted Managed App Configurations. + * Targeted managed app configurations. + */ + public TargetedManagedAppConfigurationCollectionPage targetedManagedAppConfigurations; + + /** + * The Mdm Windows Information Protection Policies. + * Windows information protection for apps running on devices which are MDM enrolled. + */ + public MdmWindowsInformationProtectionPolicyCollectionPage mdmWindowsInformationProtectionPolicies; + + /** + * The Windows Information Protection Policies. + * Windows information protection for apps running on devices which are not MDM enrolled. + */ + public WindowsInformationProtectionPolicyCollectionPage windowsInformationProtectionPolicies; + + /** + * The Managed App Registrations. + * The managed app registrations. + */ + public ManagedAppRegistrationCollectionPage managedAppRegistrations; + + /** + * The Managed App Statuses. + * The managed app statuses. + */ + public ManagedAppStatusCollectionPage managedAppStatuses; + + /** + * The Managed EBooks. + * The Managed eBook. + */ + public ManagedEBookCollectionPage managedEBooks; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("mobileApps")) { + final MobileAppCollectionResponse response = new MobileAppCollectionResponse(); + if (json.has("mobileApps@odata.nextLink")) { + response.nextLink = json.get("mobileApps@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileApps").toString(), JsonObject[].class); + final MobileApp[] array = new MobileApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mobileApps = new MobileAppCollectionPage(response, null); + } + + if (json.has("mobileAppCategories")) { + final MobileAppCategoryCollectionResponse response = new MobileAppCategoryCollectionResponse(); + if (json.has("mobileAppCategories@odata.nextLink")) { + response.nextLink = json.get("mobileAppCategories@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppCategories").toString(), JsonObject[].class); + final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mobileAppCategories = new MobileAppCategoryCollectionPage(response, null); + } + + if (json.has("mobileAppConfigurations")) { + final ManagedDeviceMobileAppConfigurationCollectionResponse response = new ManagedDeviceMobileAppConfigurationCollectionResponse(); + if (json.has("mobileAppConfigurations@odata.nextLink")) { + response.nextLink = json.get("mobileAppConfigurations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppConfigurations").toString(), JsonObject[].class); + final ManagedDeviceMobileAppConfiguration[] array = new ManagedDeviceMobileAppConfiguration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfiguration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mobileAppConfigurations = new ManagedDeviceMobileAppConfigurationCollectionPage(response, null); + } + + if (json.has("vppTokens")) { + final VppTokenCollectionResponse response = new VppTokenCollectionResponse(); + if (json.has("vppTokens@odata.nextLink")) { + response.nextLink = json.get("vppTokens@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("vppTokens").toString(), JsonObject[].class); + final VppToken[] array = new VppToken[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), VppToken.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + vppTokens = new VppTokenCollectionPage(response, null); + } + + if (json.has("managedAppPolicies")) { + final ManagedAppPolicyCollectionResponse response = new ManagedAppPolicyCollectionResponse(); + if (json.has("managedAppPolicies@odata.nextLink")) { + response.nextLink = json.get("managedAppPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppPolicies").toString(), JsonObject[].class); + final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedAppPolicies = new ManagedAppPolicyCollectionPage(response, null); + } + + if (json.has("iosManagedAppProtections")) { + final IosManagedAppProtectionCollectionResponse response = new IosManagedAppProtectionCollectionResponse(); + if (json.has("iosManagedAppProtections@odata.nextLink")) { + response.nextLink = json.get("iosManagedAppProtections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosManagedAppProtections").toString(), JsonObject[].class); + final IosManagedAppProtection[] array = new IosManagedAppProtection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosManagedAppProtection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + iosManagedAppProtections = new IosManagedAppProtectionCollectionPage(response, null); + } + + if (json.has("androidManagedAppProtections")) { + final AndroidManagedAppProtectionCollectionResponse response = new AndroidManagedAppProtectionCollectionResponse(); + if (json.has("androidManagedAppProtections@odata.nextLink")) { + response.nextLink = json.get("androidManagedAppProtections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("androidManagedAppProtections").toString(), JsonObject[].class); + final AndroidManagedAppProtection[] array = new AndroidManagedAppProtection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AndroidManagedAppProtection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + androidManagedAppProtections = new AndroidManagedAppProtectionCollectionPage(response, null); + } + + if (json.has("defaultManagedAppProtections")) { + final DefaultManagedAppProtectionCollectionResponse response = new DefaultManagedAppProtectionCollectionResponse(); + if (json.has("defaultManagedAppProtections@odata.nextLink")) { + response.nextLink = json.get("defaultManagedAppProtections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("defaultManagedAppProtections").toString(), JsonObject[].class); + final DefaultManagedAppProtection[] array = new DefaultManagedAppProtection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DefaultManagedAppProtection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + defaultManagedAppProtections = new DefaultManagedAppProtectionCollectionPage(response, null); + } + + if (json.has("targetedManagedAppConfigurations")) { + final TargetedManagedAppConfigurationCollectionResponse response = new TargetedManagedAppConfigurationCollectionResponse(); + if (json.has("targetedManagedAppConfigurations@odata.nextLink")) { + response.nextLink = json.get("targetedManagedAppConfigurations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("targetedManagedAppConfigurations").toString(), JsonObject[].class); + final TargetedManagedAppConfiguration[] array = new TargetedManagedAppConfiguration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppConfiguration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + targetedManagedAppConfigurations = new TargetedManagedAppConfigurationCollectionPage(response, null); + } + + if (json.has("mdmWindowsInformationProtectionPolicies")) { + final MdmWindowsInformationProtectionPolicyCollectionResponse response = new MdmWindowsInformationProtectionPolicyCollectionResponse(); + if (json.has("mdmWindowsInformationProtectionPolicies@odata.nextLink")) { + response.nextLink = json.get("mdmWindowsInformationProtectionPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mdmWindowsInformationProtectionPolicies").toString(), JsonObject[].class); + final MdmWindowsInformationProtectionPolicy[] array = new MdmWindowsInformationProtectionPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MdmWindowsInformationProtectionPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mdmWindowsInformationProtectionPolicies = new MdmWindowsInformationProtectionPolicyCollectionPage(response, null); + } + + if (json.has("windowsInformationProtectionPolicies")) { + final WindowsInformationProtectionPolicyCollectionResponse response = new WindowsInformationProtectionPolicyCollectionResponse(); + if (json.has("windowsInformationProtectionPolicies@odata.nextLink")) { + response.nextLink = json.get("windowsInformationProtectionPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionPolicies").toString(), JsonObject[].class); + final WindowsInformationProtectionPolicy[] array = new WindowsInformationProtectionPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + windowsInformationProtectionPolicies = new WindowsInformationProtectionPolicyCollectionPage(response, null); + } + + if (json.has("managedAppRegistrations")) { + final ManagedAppRegistrationCollectionResponse response = new ManagedAppRegistrationCollectionResponse(); + if (json.has("managedAppRegistrations@odata.nextLink")) { + response.nextLink = json.get("managedAppRegistrations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppRegistrations").toString(), JsonObject[].class); + final ManagedAppRegistration[] array = new ManagedAppRegistration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppRegistration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedAppRegistrations = new ManagedAppRegistrationCollectionPage(response, null); + } + + if (json.has("managedAppStatuses")) { + final ManagedAppStatusCollectionResponse response = new ManagedAppStatusCollectionResponse(); + if (json.has("managedAppStatuses@odata.nextLink")) { + response.nextLink = json.get("managedAppStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppStatuses").toString(), JsonObject[].class); + final ManagedAppStatus[] array = new ManagedAppStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedAppStatuses = new ManagedAppStatusCollectionPage(response, null); + } + + if (json.has("managedEBooks")) { + final ManagedEBookCollectionResponse response = new ManagedEBookCollectionResponse(); + if (json.has("managedEBooks@odata.nextLink")) { + response.nextLink = json.get("managedEBooks@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedEBooks").toString(), JsonObject[].class); + final ManagedEBook[] array = new ManagedEBook[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBook.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedEBooks = new ManagedEBookCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java index c700b0bf2c8..155925ffaef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceCategory; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Category. */ -public class DeviceCategory extends BaseDeviceCategory { +public class DeviceCategory extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Display name for the device category. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Optional description for the device category. + */ + @SerializedName("description") + @Expose + public String description; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java index 48d36837fc3..088df2a44c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DeviceComplianceActionType; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceComplianceActionItem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Action Item. */ -public class DeviceComplianceActionItem extends BaseDeviceComplianceActionItem { +public class DeviceComplianceActionItem extends Entity implements IJsonBackedObject { + + + /** + * The Grace Period Hours. + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + */ + @SerializedName("gracePeriodHours") + @Expose + public Integer gracePeriodHours; + + /** + * The Action Type. + * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification. + */ + @SerializedName("actionType") + @Expose + public DeviceComplianceActionType actionType; + + /** + * The Notification Template Id. + * What notification Message template to use + */ + @SerializedName("notificationTemplateId") + @Expose + public String notificationTemplateId; + + /** + * The Notification Message CCList. + * A list of group IDs to speicify who to CC this notification message to. + */ + @SerializedName("notificationMessageCCList") + @Expose + public java.util.List notificationMessageCCList; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java index 9aa81fb0106..164c9e83d73 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceComplianceDeviceOverview; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Overview. */ -public class DeviceComplianceDeviceOverview extends BaseDeviceComplianceDeviceOverview { +public class DeviceComplianceDeviceOverview extends Entity implements IJsonBackedObject { + + + /** + * The Pending Count. + * Number of pending devices + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Not Applicable Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableCount") + @Expose + public Integer notApplicableCount; + + /** + * The Success Count. + * Number of succeeded devices + */ + @SerializedName("successCount") + @Expose + public Integer successCount; + + /** + * The Error Count. + * Number of error devices + */ + @SerializedName("errorCount") + @Expose + public Integer errorCount; + + /** + * The Failed Count. + * Number of failed devices + */ + @SerializedName("failedCount") + @Expose + public Integer failedCount; + + /** + * The Last Update Date Time. + * Last update time + */ + @SerializedName("lastUpdateDateTime") + @Expose + public java.util.Calendar lastUpdateDateTime; + + /** + * The Configuration Version. + * Version of the policy for that overview + */ + @SerializedName("configurationVersion") + @Expose + public Integer configurationVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java index 2e89cc90aaf..9c90ecb448d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceComplianceDeviceStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Status. */ -public class DeviceComplianceDeviceStatus extends BaseDeviceComplianceDeviceStatus { +public class DeviceComplianceDeviceStatus extends Entity implements IJsonBackedObject { + + + /** + * The Device Display Name. + * Device name of the DevicePolicyStatus. + */ + @SerializedName("deviceDisplayName") + @Expose + public String deviceDisplayName; + + /** + * The User Name. + * The User Name that is being reported + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java index 1c94d1ba87a..958ba40a9e1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java @@ -3,12 +3,251 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; +import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; +import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionPage; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy. */ -public class DeviceCompliancePolicy extends BaseDeviceCompliancePolicy { +public class DeviceCompliancePolicy extends Entity implements IJsonBackedObject { + + + /** + * The Created Date Time. + * DateTime the object was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Description. + * Admin provided description of the Device Configuration. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Display Name. + * Admin provided name of the device configuration. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * Version of the device configuration. + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Scheduled Actions For Rule. + * The list of scheduled action for this rule + */ + public DeviceComplianceScheduledActionForRuleCollectionPage scheduledActionsForRule; + + /** + * The Device Statuses. + * List of DeviceComplianceDeviceStatus. + */ + public DeviceComplianceDeviceStatusCollectionPage deviceStatuses; + + /** + * The User Statuses. + * List of DeviceComplianceUserStatus. + */ + public DeviceComplianceUserStatusCollectionPage userStatuses; + + /** + * The Device Status Overview. + * Device compliance devices status overview + */ + @SerializedName("deviceStatusOverview") + @Expose + public DeviceComplianceDeviceOverview deviceStatusOverview; + + /** + * The User Status Overview. + * Device compliance users status overview + */ + @SerializedName("userStatusOverview") + @Expose + public DeviceComplianceUserOverview userStatusOverview; + + /** + * The Device Setting State Summaries. + * Compliance Setting State Device Summary + */ + public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; + + /** + * The Assignments. + * The collection of assignments for this compliance policy. + */ + public DeviceCompliancePolicyAssignmentCollectionPage assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("scheduledActionsForRule")) { + final DeviceComplianceScheduledActionForRuleCollectionResponse response = new DeviceComplianceScheduledActionForRuleCollectionResponse(); + if (json.has("scheduledActionsForRule@odata.nextLink")) { + response.nextLink = json.get("scheduledActionsForRule@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scheduledActionsForRule").toString(), JsonObject[].class); + final DeviceComplianceScheduledActionForRule[] array = new DeviceComplianceScheduledActionForRule[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceScheduledActionForRule.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + scheduledActionsForRule = new DeviceComplianceScheduledActionForRuleCollectionPage(response, null); + } + + if (json.has("deviceStatuses")) { + final DeviceComplianceDeviceStatusCollectionResponse response = new DeviceComplianceDeviceStatusCollectionResponse(); + if (json.has("deviceStatuses@odata.nextLink")) { + response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); + final DeviceComplianceDeviceStatus[] array = new DeviceComplianceDeviceStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceDeviceStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceStatuses = new DeviceComplianceDeviceStatusCollectionPage(response, null); + } + + if (json.has("userStatuses")) { + final DeviceComplianceUserStatusCollectionResponse response = new DeviceComplianceUserStatusCollectionResponse(); + if (json.has("userStatuses@odata.nextLink")) { + response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); + final DeviceComplianceUserStatus[] array = new DeviceComplianceUserStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceUserStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + userStatuses = new DeviceComplianceUserStatusCollectionPage(response, null); + } + + if (json.has("deviceSettingStateSummaries")) { + final SettingStateDeviceSummaryCollectionResponse response = new SettingStateDeviceSummaryCollectionResponse(); + if (json.has("deviceSettingStateSummaries@odata.nextLink")) { + response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); + final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); + } + + if (json.has("assignments")) { + final DeviceCompliancePolicyAssignmentCollectionResponse response = new DeviceCompliancePolicyAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final DeviceCompliancePolicyAssignment[] array = new DeviceCompliancePolicyAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicyAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new DeviceCompliancePolicyAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignBody.java index 8bc7abaa08d..c1a4d9dff77 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicyAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assign Body. */ -public class DeviceCompliancePolicyAssignBody extends BaseDeviceCompliancePolicyAssignBody { +public class DeviceCompliancePolicyAssignBody { + /** + * The assignments. + * + */ + @SerializedName("assignments") + @Expose + public java.util.List assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java index ebe661bf90d..b69ee9f9838 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicyAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assignment. */ -public class DeviceCompliancePolicyAssignment extends BaseDeviceCompliancePolicyAssignment { +public class DeviceCompliancePolicyAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * Target for the compliance policy assignment. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java index c6ef147ee31..94b02e68064 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java @@ -3,12 +3,140 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicyDeviceStateSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Device State Summary. */ -public class DeviceCompliancePolicyDeviceStateSummary extends BaseDeviceCompliancePolicyDeviceStateSummary { +public class DeviceCompliancePolicyDeviceStateSummary extends Entity implements IJsonBackedObject { + + + /** + * The In Grace Period Count. + * Number of devices that are in grace period + */ + @SerializedName("inGracePeriodCount") + @Expose + public Integer inGracePeriodCount; + + /** + * The Config Manager Count. + * Number of devices that have compliance managed by System Center Configuration Manager + */ + @SerializedName("configManagerCount") + @Expose + public Integer configManagerCount; + + /** + * The Unknown Device Count. + * Number of unknown devices + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + + /** + * The Not Applicable Device Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableDeviceCount") + @Expose + public Integer notApplicableDeviceCount; + + /** + * The Compliant Device Count. + * Number of compliant devices + */ + @SerializedName("compliantDeviceCount") + @Expose + public Integer compliantDeviceCount; + + /** + * The Remediated Device Count. + * Number of remediated devices + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + + /** + * The Non Compliant Device Count. + * Number of NonCompliant devices + */ + @SerializedName("nonCompliantDeviceCount") + @Expose + public Integer nonCompliantDeviceCount; + + /** + * The Error Device Count. + * Number of error devices + */ + @SerializedName("errorDeviceCount") + @Expose + public Integer errorDeviceCount; + + /** + * The Conflict Device Count. + * Number of conflict devices + */ + @SerializedName("conflictDeviceCount") + @Expose + public Integer conflictDeviceCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyScheduleActionsForRulesBody.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyScheduleActionsForRulesBody.java index fcc21e66ad5..130c8f2d10d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyScheduleActionsForRulesBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyScheduleActionsForRulesBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicyScheduleActionsForRulesBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Schedule Actions For Rules Body. */ -public class DeviceCompliancePolicyScheduleActionsForRulesBody extends BaseDeviceCompliancePolicyScheduleActionsForRulesBody { +public class DeviceCompliancePolicyScheduleActionsForRulesBody { + /** + * The device Compliance Scheduled Action For Rules. + * + */ + @SerializedName("deviceComplianceScheduledActionForRules") + @Expose + public java.util.List deviceComplianceScheduledActionForRules; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java index 05086a765a3..890ff30cb98 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java @@ -3,12 +3,175 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.SettingSource; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicySettingState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State. */ -public class DeviceCompliancePolicySettingState extends BaseDeviceCompliancePolicySettingState { +public class DeviceCompliancePolicySettingState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Setting. + * The setting that is being reported + */ + @SerializedName("setting") + @Expose + public String setting; + + /** + * The Setting Name. + * Localized/user friendly setting name that is being reported + */ + @SerializedName("settingName") + @Expose + public String settingName; + + /** + * The Instance Display Name. + * Name of setting instance that is being reported. + */ + @SerializedName("instanceDisplayName") + @Expose + public String instanceDisplayName; + + /** + * The State. + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + + /** + * The Error Code. + * Error code for the setting + */ + @SerializedName("errorCode") + @Expose + public Long errorCode; + + /** + * The Error Description. + * Error description + */ + @SerializedName("errorDescription") + @Expose + public String errorDescription; + + /** + * The User Id. + * UserId + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The User Name. + * UserName + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The User Email. + * UserEmail + */ + @SerializedName("userEmail") + @Expose + public String userEmail; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The Sources. + * Contributing policies + */ + @SerializedName("sources") + @Expose + public java.util.List sources; + + /** + * The Current Value. + * Current value of setting on device + */ + @SerializedName("currentValue") + @Expose + public String currentValue; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java index 22110acbad6..5b7379be6c4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java @@ -3,12 +3,174 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.PolicyPlatformType; +import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicySettingStateSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State Summary. */ -public class DeviceCompliancePolicySettingStateSummary extends BaseDeviceCompliancePolicySettingStateSummary { +public class DeviceCompliancePolicySettingStateSummary extends Entity implements IJsonBackedObject { + + + /** + * The Setting. + * The setting class name and property name. + */ + @SerializedName("setting") + @Expose + public String setting; + + /** + * The Setting Name. + * Name of the setting. + */ + @SerializedName("settingName") + @Expose + public String settingName; + + /** + * The Platform Type. + * Setting platform. Possible values are: android, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, all. + */ + @SerializedName("platformType") + @Expose + public PolicyPlatformType platformType; + + /** + * The Unknown Device Count. + * Number of unknown devices + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + + /** + * The Not Applicable Device Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableDeviceCount") + @Expose + public Integer notApplicableDeviceCount; + + /** + * The Compliant Device Count. + * Number of compliant devices + */ + @SerializedName("compliantDeviceCount") + @Expose + public Integer compliantDeviceCount; + + /** + * The Remediated Device Count. + * Number of remediated devices + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + + /** + * The Non Compliant Device Count. + * Number of NonCompliant devices + */ + @SerializedName("nonCompliantDeviceCount") + @Expose + public Integer nonCompliantDeviceCount; + + /** + * The Error Device Count. + * Number of error devices + */ + @SerializedName("errorDeviceCount") + @Expose + public Integer errorDeviceCount; + + /** + * The Conflict Device Count. + * Number of conflict devices + */ + @SerializedName("conflictDeviceCount") + @Expose + public Integer conflictDeviceCount; + + /** + * The Device Compliance Setting States. + * Not yet documented + */ + public DeviceComplianceSettingStateCollectionPage deviceComplianceSettingStates; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("deviceComplianceSettingStates")) { + final DeviceComplianceSettingStateCollectionResponse response = new DeviceComplianceSettingStateCollectionResponse(); + if (json.has("deviceComplianceSettingStates@odata.nextLink")) { + response.nextLink = json.get("deviceComplianceSettingStates@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceComplianceSettingStates").toString(), JsonObject[].class); + final DeviceComplianceSettingState[] array = new DeviceComplianceSettingState[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceSettingState.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceComplianceSettingStates = new DeviceComplianceSettingStateCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java index 14a8fa23668..1d07aad5849 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java @@ -3,12 +3,119 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingState; +import com.microsoft.graph.models.generated.PolicyPlatformType; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceCompliancePolicyState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy State. */ -public class DeviceCompliancePolicyState extends BaseDeviceCompliancePolicyState { +public class DeviceCompliancePolicyState extends Entity implements IJsonBackedObject { + + + /** + * The Setting States. + * + */ + @SerializedName("settingStates") + @Expose + public java.util.List settingStates; + + /** + * The Display Name. + * The name of the policy for this policyBase + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * The version of the policy + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Platform Type. + * Platform type that the policy applies to + */ + @SerializedName("platformType") + @Expose + public PolicyPlatformType platformType; + + /** + * The State. + * The compliance state of the policy + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + + /** + * The Setting Count. + * Count of how many setting a policy holds + */ + @SerializedName("settingCount") + @Expose + public Integer settingCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScheduledActionForRule.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScheduledActionForRule.java index 03941aca3c6..7f94e362c8d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScheduledActionForRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScheduledActionForRule.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceComplianceScheduledActionForRule; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Scheduled Action For Rule. */ -public class DeviceComplianceScheduledActionForRule extends BaseDeviceComplianceScheduledActionForRule { +public class DeviceComplianceScheduledActionForRule extends Entity implements IJsonBackedObject { + + + /** + * The Rule Name. + * Name of the rule which this scheduled action applies to. + */ + @SerializedName("ruleName") + @Expose + public String ruleName; + + /** + * The Scheduled Action Configurations. + * The list of scheduled action configurations for this compliance policy. + */ + public DeviceComplianceActionItemCollectionPage scheduledActionConfigurations; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("scheduledActionConfigurations")) { + final DeviceComplianceActionItemCollectionResponse response = new DeviceComplianceActionItemCollectionResponse(); + if (json.has("scheduledActionConfigurations@odata.nextLink")) { + response.nextLink = json.get("scheduledActionConfigurations@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scheduledActionConfigurations").toString(), JsonObject[].class); + final DeviceComplianceActionItem[] array = new DeviceComplianceActionItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceActionItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + scheduledActionConfigurations = new DeviceComplianceActionItemCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java index 01a11e4f3b6..067018f7668 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java @@ -3,12 +3,157 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceComplianceSettingState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Setting State. */ -public class DeviceComplianceSettingState extends BaseDeviceComplianceSettingState { +public class DeviceComplianceSettingState extends Entity implements IJsonBackedObject { + + + /** + * The Setting. + * The setting class name and property name. + */ + @SerializedName("setting") + @Expose + public String setting; + + /** + * The Setting Name. + * The Setting Name that is being reported + */ + @SerializedName("settingName") + @Expose + public String settingName; + + /** + * The Device Id. + * The Device Id that is being reported + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Device Name. + * The Device Name that is being reported + */ + @SerializedName("deviceName") + @Expose + public String deviceName; + + /** + * The User Id. + * The user Id that is being reported + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The User Email. + * The User email address that is being reported + */ + @SerializedName("userEmail") + @Expose + public String userEmail; + + /** + * The User Name. + * The User Name that is being reported + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The User Principal Name. + * The User PrincipalName that is being reported + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The State. + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java index 5de720795e3..f75a18591d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceComplianceUserOverview; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Overview. */ -public class DeviceComplianceUserOverview extends BaseDeviceComplianceUserOverview { +public class DeviceComplianceUserOverview extends Entity implements IJsonBackedObject { + + + /** + * The Pending Count. + * Number of pending Users + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Not Applicable Count. + * Number of not applicable users + */ + @SerializedName("notApplicableCount") + @Expose + public Integer notApplicableCount; + + /** + * The Success Count. + * Number of succeeded Users + */ + @SerializedName("successCount") + @Expose + public Integer successCount; + + /** + * The Error Count. + * Number of error Users + */ + @SerializedName("errorCount") + @Expose + public Integer errorCount; + + /** + * The Failed Count. + * Number of failed Users + */ + @SerializedName("failedCount") + @Expose + public Integer failedCount; + + /** + * The Last Update Date Time. + * Last update time + */ + @SerializedName("lastUpdateDateTime") + @Expose + public java.util.Calendar lastUpdateDateTime; + + /** + * The Configuration Version. + * Version of the policy for that overview + */ + @SerializedName("configurationVersion") + @Expose + public Integer configurationVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java index 5c312167294..0399a2bbe0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceComplianceUserStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Status. */ -public class DeviceComplianceUserStatus extends BaseDeviceComplianceUserStatus { +public class DeviceComplianceUserStatus extends Entity implements IJsonBackedObject { + + + /** + * The User Display Name. + * User name of the DevicePolicyStatus. + */ + @SerializedName("userDisplayName") + @Expose + public String userDisplayName; + + /** + * The Devices Count. + * Devices count for that user. + */ + @SerializedName("devicesCount") + @Expose + public Integer devicesCount; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java index e24a2af6b54..f95db7a352b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java @@ -3,12 +3,226 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionPage; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration. */ -public class DeviceConfiguration extends BaseDeviceConfiguration { +public class DeviceConfiguration extends Entity implements IJsonBackedObject { + + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Created Date Time. + * DateTime the object was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Description. + * Admin provided description of the Device Configuration. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Name. + * Admin provided name of the device configuration. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * Version of the device configuration. + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Assignments. + * The list of assignments for the device configuration profile. + */ + public DeviceConfigurationAssignmentCollectionPage assignments; + + /** + * The Device Statuses. + * Device configuration installation status by device. + */ + public DeviceConfigurationDeviceStatusCollectionPage deviceStatuses; + + /** + * The User Statuses. + * Device configuration installation status by user. + */ + public DeviceConfigurationUserStatusCollectionPage userStatuses; + + /** + * The Device Status Overview. + * Device Configuration devices status overview + */ + @SerializedName("deviceStatusOverview") + @Expose + public DeviceConfigurationDeviceOverview deviceStatusOverview; + + /** + * The User Status Overview. + * Device Configuration users status overview + */ + @SerializedName("userStatusOverview") + @Expose + public DeviceConfigurationUserOverview userStatusOverview; + + /** + * The Device Setting State Summaries. + * Device Configuration Setting State Device Summary + */ + public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("assignments")) { + final DeviceConfigurationAssignmentCollectionResponse response = new DeviceConfigurationAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final DeviceConfigurationAssignment[] array = new DeviceConfigurationAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new DeviceConfigurationAssignmentCollectionPage(response, null); + } + + if (json.has("deviceStatuses")) { + final DeviceConfigurationDeviceStatusCollectionResponse response = new DeviceConfigurationDeviceStatusCollectionResponse(); + if (json.has("deviceStatuses@odata.nextLink")) { + response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); + final DeviceConfigurationDeviceStatus[] array = new DeviceConfigurationDeviceStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationDeviceStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceStatuses = new DeviceConfigurationDeviceStatusCollectionPage(response, null); + } + + if (json.has("userStatuses")) { + final DeviceConfigurationUserStatusCollectionResponse response = new DeviceConfigurationUserStatusCollectionResponse(); + if (json.has("userStatuses@odata.nextLink")) { + response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); + final DeviceConfigurationUserStatus[] array = new DeviceConfigurationUserStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationUserStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + userStatuses = new DeviceConfigurationUserStatusCollectionPage(response, null); + } + + if (json.has("deviceSettingStateSummaries")) { + final SettingStateDeviceSummaryCollectionResponse response = new SettingStateDeviceSummaryCollectionResponse(); + if (json.has("deviceSettingStateSummaries@odata.nextLink")) { + response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); + final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignBody.java index cb95a569d5d..27a3a099b09 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assign Body. */ -public class DeviceConfigurationAssignBody extends BaseDeviceConfigurationAssignBody { +public class DeviceConfigurationAssignBody { + /** + * The assignments. + * + */ + @SerializedName("assignments") + @Expose + public java.util.List assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java index cbd3a6bc27d..f72b6c3d0ec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assignment. */ -public class DeviceConfigurationAssignment extends BaseDeviceConfigurationAssignment { +public class DeviceConfigurationAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * The assignment target for the device configuration. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java index 1e1db823565..c5e262e0d45 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationDeviceOverview; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Overview. */ -public class DeviceConfigurationDeviceOverview extends BaseDeviceConfigurationDeviceOverview { +public class DeviceConfigurationDeviceOverview extends Entity implements IJsonBackedObject { + + + /** + * The Pending Count. + * Number of pending devices + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Not Applicable Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableCount") + @Expose + public Integer notApplicableCount; + + /** + * The Success Count. + * Number of succeeded devices + */ + @SerializedName("successCount") + @Expose + public Integer successCount; + + /** + * The Error Count. + * Number of error devices + */ + @SerializedName("errorCount") + @Expose + public Integer errorCount; + + /** + * The Failed Count. + * Number of failed devices + */ + @SerializedName("failedCount") + @Expose + public Integer failedCount; + + /** + * The Last Update Date Time. + * Last update time + */ + @SerializedName("lastUpdateDateTime") + @Expose + public java.util.Calendar lastUpdateDateTime; + + /** + * The Configuration Version. + * Version of the policy for that overview + */ + @SerializedName("configurationVersion") + @Expose + public Integer configurationVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java index 86285a7993f..d6cb800ee9b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationDeviceStateSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device State Summary. */ -public class DeviceConfigurationDeviceStateSummary extends BaseDeviceConfigurationDeviceStateSummary { +public class DeviceConfigurationDeviceStateSummary extends Entity implements IJsonBackedObject { + + + /** + * The Unknown Device Count. + * Number of unknown devices + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + + /** + * The Not Applicable Device Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableDeviceCount") + @Expose + public Integer notApplicableDeviceCount; + + /** + * The Compliant Device Count. + * Number of compliant devices + */ + @SerializedName("compliantDeviceCount") + @Expose + public Integer compliantDeviceCount; + + /** + * The Remediated Device Count. + * Number of remediated devices + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + + /** + * The Non Compliant Device Count. + * Number of NonCompliant devices + */ + @SerializedName("nonCompliantDeviceCount") + @Expose + public Integer nonCompliantDeviceCount; + + /** + * The Error Device Count. + * Number of error devices + */ + @SerializedName("errorDeviceCount") + @Expose + public Integer errorDeviceCount; + + /** + * The Conflict Device Count. + * Number of conflict devices + */ + @SerializedName("conflictDeviceCount") + @Expose + public Integer conflictDeviceCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java index 056c0a889ec..7176464d65a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationDeviceStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Status. */ -public class DeviceConfigurationDeviceStatus extends BaseDeviceConfigurationDeviceStatus { +public class DeviceConfigurationDeviceStatus extends Entity implements IJsonBackedObject { + + + /** + * The Device Display Name. + * Device name of the DevicePolicyStatus. + */ + @SerializedName("deviceDisplayName") + @Expose + public String deviceDisplayName; + + /** + * The User Name. + * The User Name that is being reported + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java index e1b98344b37..8c99062d921 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java @@ -3,12 +3,175 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.SettingSource; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationSettingState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Setting State. */ -public class DeviceConfigurationSettingState extends BaseDeviceConfigurationSettingState { +public class DeviceConfigurationSettingState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Setting. + * The setting that is being reported + */ + @SerializedName("setting") + @Expose + public String setting; + + /** + * The Setting Name. + * Localized/user friendly setting name that is being reported + */ + @SerializedName("settingName") + @Expose + public String settingName; + + /** + * The Instance Display Name. + * Name of setting instance that is being reported. + */ + @SerializedName("instanceDisplayName") + @Expose + public String instanceDisplayName; + + /** + * The State. + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + + /** + * The Error Code. + * Error code for the setting + */ + @SerializedName("errorCode") + @Expose + public Long errorCode; + + /** + * The Error Description. + * Error description + */ + @SerializedName("errorDescription") + @Expose + public String errorDescription; + + /** + * The User Id. + * UserId + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The User Name. + * UserName + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The User Email. + * UserEmail + */ + @SerializedName("userEmail") + @Expose + public String userEmail; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The Sources. + * Contributing policies + */ + @SerializedName("sources") + @Expose + public java.util.List sources; + + /** + * The Current Value. + * Current value of setting on device + */ + @SerializedName("currentValue") + @Expose + public String currentValue; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java index 309f5d1029e..e15e14beceb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java @@ -3,12 +3,119 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfigurationSettingState; +import com.microsoft.graph.models.generated.PolicyPlatformType; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration State. */ -public class DeviceConfigurationState extends BaseDeviceConfigurationState { +public class DeviceConfigurationState extends Entity implements IJsonBackedObject { + + + /** + * The Setting States. + * + */ + @SerializedName("settingStates") + @Expose + public java.util.List settingStates; + + /** + * The Display Name. + * The name of the policy for this policyBase + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * The version of the policy + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Platform Type. + * Platform type that the policy applies to + */ + @SerializedName("platformType") + @Expose + public PolicyPlatformType platformType; + + /** + * The State. + * The compliance state of the policy + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + + /** + * The Setting Count. + * Count of how many setting a policy holds + */ + @SerializedName("settingCount") + @Expose + public Integer settingCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java index 26b21c90f23..4b55b67d8ea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationUserOverview; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Overview. */ -public class DeviceConfigurationUserOverview extends BaseDeviceConfigurationUserOverview { +public class DeviceConfigurationUserOverview extends Entity implements IJsonBackedObject { + + + /** + * The Pending Count. + * Number of pending Users + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Not Applicable Count. + * Number of not applicable users + */ + @SerializedName("notApplicableCount") + @Expose + public Integer notApplicableCount; + + /** + * The Success Count. + * Number of succeeded Users + */ + @SerializedName("successCount") + @Expose + public Integer successCount; + + /** + * The Error Count. + * Number of error Users + */ + @SerializedName("errorCount") + @Expose + public Integer errorCount; + + /** + * The Failed Count. + * Number of failed Users + */ + @SerializedName("failedCount") + @Expose + public Integer failedCount; + + /** + * The Last Update Date Time. + * Last update time + */ + @SerializedName("lastUpdateDateTime") + @Expose + public java.util.Calendar lastUpdateDateTime; + + /** + * The Configuration Version. + * Version of the policy for that overview + */ + @SerializedName("configurationVersion") + @Expose + public Integer configurationVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java index bd1a3f1e208..738f476e503 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceConfigurationUserStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Status. */ -public class DeviceConfigurationUserStatus extends BaseDeviceConfigurationUserStatus { +public class DeviceConfigurationUserStatus extends Entity implements IJsonBackedObject { + + + /** + * The User Display Name. + * User name of the DevicePolicyStatus. + */ + @SerializedName("userDisplayName") + @Expose + public String userDisplayName; + + /** + * The Devices Count. + * Devices count for that user. + */ + @SerializedName("devicesCount") + @Expose + public Integer devicesCount; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java index 3c1575a2d24..b63b706e28f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java @@ -3,12 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration. */ -public class DeviceEnrollmentConfiguration extends BaseDeviceEnrollmentConfiguration { +public class DeviceEnrollmentConfiguration extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Not yet documented + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Not yet documented + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Priority. + * Not yet documented + */ + @SerializedName("priority") + @Expose + public Integer priority; + + /** + * The Created Date Time. + * Not yet documented + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * Not yet documented + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Version. + * Not yet documented + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Assignments. + * The list of group assignments for the device configuration profile. + */ + public EnrollmentConfigurationAssignmentCollectionPage assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("assignments")) { + final EnrollmentConfigurationAssignmentCollectionResponse response = new EnrollmentConfigurationAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final EnrollmentConfigurationAssignment[] array = new EnrollmentConfigurationAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EnrollmentConfigurationAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new EnrollmentConfigurationAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationAssignBody.java index aef1168d3a4..e47a0c14d2e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentConfigurationAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Assign Body. */ -public class DeviceEnrollmentConfigurationAssignBody extends BaseDeviceEnrollmentConfigurationAssignBody { +public class DeviceEnrollmentConfigurationAssignBody { + /** + * The enrollment Configuration Assignments. + * + */ + @SerializedName("enrollmentConfigurationAssignments") + @Expose + public java.util.List enrollmentConfigurationAssignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationSetPriorityBody.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationSetPriorityBody.java index 7d5e32fa1c6..57e95b004c2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationSetPriorityBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfigurationSetPriorityBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentConfigurationSetPriorityBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Set Priority Body. */ -public class DeviceEnrollmentConfigurationSetPriorityBody extends BaseDeviceEnrollmentConfigurationSetPriorityBody { +public class DeviceEnrollmentConfigurationSetPriorityBody { + /** + * The priority. + * + */ + @SerializedName("priority") + @Expose + public Integer priority; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentLimitConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentLimitConfiguration.java index a1dca21fcf7..bbe297d334b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentLimitConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentLimitConfiguration.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentLimitConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Limit Configuration. */ -public class DeviceEnrollmentLimitConfiguration extends BaseDeviceEnrollmentLimitConfiguration { +public class DeviceEnrollmentLimitConfiguration extends DeviceEnrollmentConfiguration implements IJsonBackedObject { + + + /** + * The Limit. + * Not yet documented + */ + @SerializedName("limit") + @Expose + public Integer limit; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java index 3ff96bf3a88..47d46c0a362 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentPlatformRestriction; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Platform Restriction. */ -public class DeviceEnrollmentPlatformRestriction extends BaseDeviceEnrollmentPlatformRestriction { +public class DeviceEnrollmentPlatformRestriction implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Platform Blocked. + * Block the platform from enrolling + */ + @SerializedName("platformBlocked") + @Expose + public Boolean platformBlocked; + + /** + * The Personal Device Enrollment Blocked. + * Block personally owned devices from enrolling + */ + @SerializedName("personalDeviceEnrollmentBlocked") + @Expose + public Boolean personalDeviceEnrollmentBlocked; + + /** + * The Os Minimum Version. + * Min OS version supported + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Max OS version supported + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java index 542441c21d5..cb4cdd6fe07 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestriction; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentPlatformRestrictionsConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Platform Restrictions Configuration. */ -public class DeviceEnrollmentPlatformRestrictionsConfiguration extends BaseDeviceEnrollmentPlatformRestrictionsConfiguration { +public class DeviceEnrollmentPlatformRestrictionsConfiguration extends DeviceEnrollmentConfiguration implements IJsonBackedObject { + + + /** + * The Ios Restriction. + * Not yet documented + */ + @SerializedName("iosRestriction") + @Expose + public DeviceEnrollmentPlatformRestriction iosRestriction; + + /** + * The Windows Restriction. + * Not yet documented + */ + @SerializedName("windowsRestriction") + @Expose + public DeviceEnrollmentPlatformRestriction windowsRestriction; + + /** + * The Windows Mobile Restriction. + * Not yet documented + */ + @SerializedName("windowsMobileRestriction") + @Expose + public DeviceEnrollmentPlatformRestriction windowsMobileRestriction; + + /** + * The Android Restriction. + * Not yet documented + */ + @SerializedName("androidRestriction") + @Expose + public DeviceEnrollmentPlatformRestriction androidRestriction; + + /** + * The Mac OSRestriction. + * Not yet documented + */ + @SerializedName("macOSRestriction") + @Expose + public DeviceEnrollmentPlatformRestriction macOSRestriction; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java index 295acfea68d..de26df68add 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java @@ -3,12 +3,166 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WindowsHelloForBusinessPinUsage; +import com.microsoft.graph.models.generated.Enablement; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; -import com.microsoft.graph.models.generated.BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Windows Hello For Business Configuration. */ -public class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration { +public class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends DeviceEnrollmentConfiguration implements IJsonBackedObject { + + + /** + * The Pin Minimum Length. + * Not yet documented + */ + @SerializedName("pinMinimumLength") + @Expose + public Integer pinMinimumLength; + + /** + * The Pin Maximum Length. + * Not yet documented + */ + @SerializedName("pinMaximumLength") + @Expose + public Integer pinMaximumLength; + + /** + * The Pin Uppercase Characters Usage. + * Not yet documented. Possible values are: allowed, required, disallowed. + */ + @SerializedName("pinUppercaseCharactersUsage") + @Expose + public WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage; + + /** + * The Pin Lowercase Characters Usage. + * Not yet documented. Possible values are: allowed, required, disallowed. + */ + @SerializedName("pinLowercaseCharactersUsage") + @Expose + public WindowsHelloForBusinessPinUsage pinLowercaseCharactersUsage; + + /** + * The Pin Special Characters Usage. + * Not yet documented. Possible values are: allowed, required, disallowed. + */ + @SerializedName("pinSpecialCharactersUsage") + @Expose + public WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage; + + /** + * The State. + * Not yet documented. Possible values are: notConfigured, enabled, disabled. + */ + @SerializedName("state") + @Expose + public Enablement state; + + /** + * The Security Device Required. + * Not yet documented + */ + @SerializedName("securityDeviceRequired") + @Expose + public Boolean securityDeviceRequired; + + /** + * The Unlock With Biometrics Enabled. + * Not yet documented + */ + @SerializedName("unlockWithBiometricsEnabled") + @Expose + public Boolean unlockWithBiometricsEnabled; + + /** + * The Remote Passport Enabled. + * Not yet documented + */ + @SerializedName("remotePassportEnabled") + @Expose + public Boolean remotePassportEnabled; + + /** + * The Pin Previous Block Count. + * Not yet documented + */ + @SerializedName("pinPreviousBlockCount") + @Expose + public Integer pinPreviousBlockCount; + + /** + * The Pin Expiration In Days. + * Not yet documented + */ + @SerializedName("pinExpirationInDays") + @Expose + public Integer pinExpirationInDays; + + /** + * The Enhanced Biometrics State. + * Not yet documented. Possible values are: notConfigured, enabled, disabled. + */ + @SerializedName("enhancedBiometricsState") + @Expose + public Enablement enhancedBiometricsState; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java index 51bf3a213dd..603f1261e60 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceExchangeAccessStateSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Exchange Access State Summary. */ -public class DeviceExchangeAccessStateSummary extends BaseDeviceExchangeAccessStateSummary { +public class DeviceExchangeAccessStateSummary implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allowed Device Count. + * Total count of devices with Exchange Access State: Allowed. + */ + @SerializedName("allowedDeviceCount") + @Expose + public Integer allowedDeviceCount; + + /** + * The Blocked Device Count. + * Total count of devices with Exchange Access State: Blocked. + */ + @SerializedName("blockedDeviceCount") + @Expose + public Integer blockedDeviceCount; + + /** + * The Quarantined Device Count. + * Total count of devices with Exchange Access State: Quarantined. + */ + @SerializedName("quarantinedDeviceCount") + @Expose + public Integer quarantinedDeviceCount; + + /** + * The Unknown Device Count. + * Total count of devices with Exchange Access State: Unknown. + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + + /** + * The Unavailable Device Count. + * Total count of devices for which no Exchange Access State could be found. + */ + @SerializedName("unavailableDeviceCount") + @Expose + public Integer unavailableDeviceCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java index 769309c0e32..a5463d37134 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java @@ -3,12 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceGeoLocation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Geo Location. */ -public class DeviceGeoLocation extends BaseDeviceGeoLocation { +public class DeviceGeoLocation implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Last Collected Date Time. + * Time at which location was recorded, relative to UTC + */ + @SerializedName("lastCollectedDateTime") + @Expose + public java.util.Calendar lastCollectedDateTime; + + /** + * The Longitude. + * Longitude coordinate of the device's location + */ + @SerializedName("longitude") + @Expose + public Double longitude; + + /** + * The Latitude. + * Latitude coordinate of the device's location + */ + @SerializedName("latitude") + @Expose + public Double latitude; + + /** + * The Altitude. + * Altitude, given in meters above sea level + */ + @SerializedName("altitude") + @Expose + public Double altitude; + + /** + * The Horizontal Accuracy. + * Accuracy of longitude and latitude in meters + */ + @SerializedName("horizontalAccuracy") + @Expose + public Double horizontalAccuracy; + + /** + * The Vertical Accuracy. + * Accuracy of altitude in meters + */ + @SerializedName("verticalAccuracy") + @Expose + public Double verticalAccuracy; + + /** + * The Heading. + * Heading in degrees from true north + */ + @SerializedName("heading") + @Expose + public Double heading; + + /** + * The Speed. + * Speed the device is traveling in meters per second + */ + @SerializedName("speed") + @Expose + public Double speed; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java index 5fec7280d72..71ddd55496b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java @@ -3,12 +3,333 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceHealthAttestationState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Health Attestation State. */ -public class DeviceHealthAttestationState extends BaseDeviceHealthAttestationState { +public class DeviceHealthAttestationState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Last Update Date Time. + * The Timestamp of the last update. + */ + @SerializedName("lastUpdateDateTime") + @Expose + public String lastUpdateDateTime; + + /** + * The Content Namespace Url. + * The DHA report version. (Namespace version) + */ + @SerializedName("contentNamespaceUrl") + @Expose + public String contentNamespaceUrl; + + /** + * The Device Health Attestation Status. + * The DHA report version. (Namespace version) + */ + @SerializedName("deviceHealthAttestationStatus") + @Expose + public String deviceHealthAttestationStatus; + + /** + * The Content Version. + * The HealthAttestation state schema version + */ + @SerializedName("contentVersion") + @Expose + public String contentVersion; + + /** + * The Issued Date Time. + * The DateTime when device was evaluated or issued to MDM + */ + @SerializedName("issuedDateTime") + @Expose + public java.util.Calendar issuedDateTime; + + /** + * The Attestation Identity Key. + * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate. + */ + @SerializedName("attestationIdentityKey") + @Expose + public String attestationIdentityKey; + + /** + * The Reset Count. + * The number of times a PC device has hibernated or resumed + */ + @SerializedName("resetCount") + @Expose + public Long resetCount; + + /** + * The Restart Count. + * The number of times a PC device has rebooted + */ + @SerializedName("restartCount") + @Expose + public Long restartCount; + + /** + * The Data Excution Policy. + * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory + */ + @SerializedName("dataExcutionPolicy") + @Expose + public String dataExcutionPolicy; + + /** + * The Bit Locker Status. + * On or Off of BitLocker Drive Encryption + */ + @SerializedName("bitLockerStatus") + @Expose + public String bitLockerStatus; + + /** + * The Boot Manager Version. + * The version of the Boot Manager + */ + @SerializedName("bootManagerVersion") + @Expose + public String bootManagerVersion; + + /** + * The Code Integrity Check Version. + * The version of the Boot Manager + */ + @SerializedName("codeIntegrityCheckVersion") + @Expose + public String codeIntegrityCheckVersion; + + /** + * The Secure Boot. + * When Secure Boot is enabled, the core components must have the correct cryptographic signatures + */ + @SerializedName("secureBoot") + @Expose + public String secureBoot; + + /** + * The Boot Debugging. + * When bootDebugging is enabled, the device is used in development and testing + */ + @SerializedName("bootDebugging") + @Expose + public String bootDebugging; + + /** + * The Operating System Kernel Debugging. + * When operatingSystemKernelDebugging is enabled, the device is used in development and testing + */ + @SerializedName("operatingSystemKernelDebugging") + @Expose + public String operatingSystemKernelDebugging; + + /** + * The Code Integrity. + * When code integrity is enabled, code execution is restricted to integrity verified code + */ + @SerializedName("codeIntegrity") + @Expose + public String codeIntegrity; + + /** + * The Test Signing. + * When test signing is allowed, the device does not enforce signature validation during boot + */ + @SerializedName("testSigning") + @Expose + public String testSigning; + + /** + * The Safe Mode. + * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state + */ + @SerializedName("safeMode") + @Expose + public String safeMode; + + /** + * The Windows PE. + * Operating system running with limited services that is used to prepare a computer for Windows + */ + @SerializedName("windowsPE") + @Expose + public String windowsPE; + + /** + * The Early Launch Anti Malware Driver Protection. + * ELAM provides protection for the computers in your network when they start up + */ + @SerializedName("earlyLaunchAntiMalwareDriverProtection") + @Expose + public String earlyLaunchAntiMalwareDriverProtection; + + /** + * The Virtual Secure Mode. + * VSM is a container that protects high value assets from a compromised kernel + */ + @SerializedName("virtualSecureMode") + @Expose + public String virtualSecureMode; + + /** + * The Pcr Hash Algorithm. + * Informational attribute that identifies the HASH algorithm that was used by TPM + */ + @SerializedName("pcrHashAlgorithm") + @Expose + public String pcrHashAlgorithm; + + /** + * The Boot App Security Version. + * The security version number of the Boot Application + */ + @SerializedName("bootAppSecurityVersion") + @Expose + public String bootAppSecurityVersion; + + /** + * The Boot Manager Security Version. + * The security version number of the Boot Application + */ + @SerializedName("bootManagerSecurityVersion") + @Expose + public String bootManagerSecurityVersion; + + /** + * The Tpm Version. + * The security version number of the Boot Application + */ + @SerializedName("tpmVersion") + @Expose + public String tpmVersion; + + /** + * The Pcr0. + * The measurement that is captured in PCR[0] + */ + @SerializedName("pcr0") + @Expose + public String pcr0; + + /** + * The Secure Boot Configuration Policy Finger Print. + * Fingerprint of the Custom Secure Boot Configuration Policy + */ + @SerializedName("secureBootConfigurationPolicyFingerPrint") + @Expose + public String secureBootConfigurationPolicyFingerPrint; + + /** + * The Code Integrity Policy. + * The Code Integrity policy that is controlling the security of the boot environment + */ + @SerializedName("codeIntegrityPolicy") + @Expose + public String codeIntegrityPolicy; + + /** + * The Boot Revision List Info. + * The Boot Revision List that was loaded during initial boot on the attested device + */ + @SerializedName("bootRevisionListInfo") + @Expose + public String bootRevisionListInfo; + + /** + * The Operating System Rev List Info. + * The Operating System Revision List that was loaded during initial boot on the attested device + */ + @SerializedName("operatingSystemRevListInfo") + @Expose + public String operatingSystemRevListInfo; + + /** + * The Health Status Mismatch Info. + * This attribute appears if DHA-Service detects an integrity issue + */ + @SerializedName("healthStatusMismatchInfo") + @Expose + public String healthStatusMismatchInfo; + + /** + * The Health Attestation Supported Status. + * This attribute indicates if DHA is supported for the device + */ + @SerializedName("healthAttestationSupportedStatus") + @Expose + public String healthAttestationSupportedStatus; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java index 45896bd1d6b..ad211694583 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java @@ -3,12 +3,133 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.InstallState; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceInstallState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Install State. */ -public class DeviceInstallState extends BaseDeviceInstallState { +public class DeviceInstallState extends Entity implements IJsonBackedObject { + + + /** + * The Device Name. + * Device name. + */ + @SerializedName("deviceName") + @Expose + public String deviceName; + + /** + * The Device Id. + * Device Id. + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Last Sync Date Time. + * Last sync date and time. + */ + @SerializedName("lastSyncDateTime") + @Expose + public java.util.Calendar lastSyncDateTime; + + /** + * The Install State. + * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. + */ + @SerializedName("installState") + @Expose + public InstallState installState; + + /** + * The Error Code. + * The error code for install failures. + */ + @SerializedName("errorCode") + @Expose + public String errorCode; + + /** + * The Os Version. + * OS Version. + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + + /** + * The Os Description. + * OS Description. + */ + @SerializedName("osDescription") + @Expose + public String osDescription; + + /** + * The User Name. + * Device User Name. + */ + @SerializedName("userName") + @Expose + public String userName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java index 9f18dd310a3..f56cc3708c2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java @@ -3,12 +3,674 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DeviceManagementSubscriptionState; +import com.microsoft.graph.models.extensions.DeviceManagementSettings; +import com.microsoft.graph.models.extensions.IntuneBrand; +import com.microsoft.graph.models.extensions.TermsAndConditions; +import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; +import com.microsoft.graph.models.extensions.ManagedDeviceOverview; +import com.microsoft.graph.models.extensions.DetectedApp; +import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.models.extensions.DeviceConfiguration; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; +import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; +import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; +import com.microsoft.graph.models.extensions.DeviceCategory; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; +import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; +import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; +import com.microsoft.graph.models.extensions.DeviceManagementPartner; +import com.microsoft.graph.models.extensions.NotificationMessageTemplate; +import com.microsoft.graph.models.extensions.RoleDefinition; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; +import com.microsoft.graph.models.extensions.ResourceOperation; +import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; +import com.microsoft.graph.models.extensions.RemoteAssistancePartner; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionResponse; +import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionPage; +import com.microsoft.graph.requests.extensions.DetectedAppCollectionResponse; +import com.microsoft.graph.requests.extensions.DetectedAppCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionPage; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionPage; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionResponse; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionPage; +import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.ResourceOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.ResourceOperationCollectionPage; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionResponse; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionPage; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionResponse; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionPage; -import com.microsoft.graph.models.generated.BaseDeviceManagement; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management. */ -public class DeviceManagement extends BaseDeviceManagement { +public class DeviceManagement extends Entity implements IJsonBackedObject { + + + /** + * The Subscription State. + * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + */ + @SerializedName("subscriptionState") + @Expose + public DeviceManagementSubscriptionState subscriptionState; + + /** + * The Settings. + * Account level settings. + */ + @SerializedName("settings") + @Expose + public DeviceManagementSettings settings; + + /** + * The Intune Brand. + * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. + */ + @SerializedName("intuneBrand") + @Expose + public IntuneBrand intuneBrand; + + /** + * The Terms And Conditions. + * The terms and conditions associated with device management of the company. + */ + public TermsAndConditionsCollectionPage termsAndConditions; + + /** + * The Apple Push Notification Certificate. + * Apple push notification certificate. + */ + @SerializedName("applePushNotificationCertificate") + @Expose + public ApplePushNotificationCertificate applePushNotificationCertificate; + + /** + * The Managed Device Overview. + * Device overview + */ + @SerializedName("managedDeviceOverview") + @Expose + public ManagedDeviceOverview managedDeviceOverview; + + /** + * The Detected Apps. + * The list of detected apps associated with a device. + */ + public DetectedAppCollectionPage detectedApps; + + /** + * The Managed Devices. + * The list of managed devices. + */ + public ManagedDeviceCollectionPage managedDevices; + + /** + * The Device Configurations. + * The device configurations. + */ + public DeviceConfigurationCollectionPage deviceConfigurations; + + /** + * The Device Compliance Policies. + * The device compliance policies. + */ + public DeviceCompliancePolicyCollectionPage deviceCompliancePolicies; + + /** + * The Software Update Status Summary. + * The software update status summary. + */ + @SerializedName("softwareUpdateStatusSummary") + @Expose + public SoftwareUpdateStatusSummary softwareUpdateStatusSummary; + + /** + * The Device Compliance Policy Device State Summary. + * The device compliance state summary for this account. + */ + @SerializedName("deviceCompliancePolicyDeviceStateSummary") + @Expose + public DeviceCompliancePolicyDeviceStateSummary deviceCompliancePolicyDeviceStateSummary; + + /** + * The Device Compliance Policy Setting State Summaries. + * The summary states of compliance policy settings for this account. + */ + public DeviceCompliancePolicySettingStateSummaryCollectionPage deviceCompliancePolicySettingStateSummaries; + + /** + * The Device Configuration Device State Summaries. + * The device configuration device state summary for this account. + */ + @SerializedName("deviceConfigurationDeviceStateSummaries") + @Expose + public DeviceConfigurationDeviceStateSummary deviceConfigurationDeviceStateSummaries; + + /** + * The Ios Update Statuses. + * The IOS software update installation statuses for this account. + */ + public IosUpdateDeviceStatusCollectionPage iosUpdateStatuses; + + /** + * The Device Categories. + * The list of device categories with the tenant. + */ + public DeviceCategoryCollectionPage deviceCategories; + + /** + * The Exchange Connectors. + * The list of Exchange Connectors configured by the tenant. + */ + public DeviceManagementExchangeConnectorCollectionPage exchangeConnectors; + + /** + * The Device Enrollment Configurations. + * The list of device enrollment configurations + */ + public DeviceEnrollmentConfigurationCollectionPage deviceEnrollmentConfigurations; + + /** + * The Conditional Access Settings. + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + */ + @SerializedName("conditionalAccessSettings") + @Expose + public OnPremisesConditionalAccessSettings conditionalAccessSettings; + + /** + * The Mobile Threat Defense Connectors. + * The list of Mobile threat Defense connectors configured by the tenant. + */ + public MobileThreatDefenseConnectorCollectionPage mobileThreatDefenseConnectors; + + /** + * The Device Management Partners. + * The list of Device Management Partners configured by the tenant. + */ + public DeviceManagementPartnerCollectionPage deviceManagementPartners; + + /** + * The Notification Message Templates. + * The Notification Message Templates. + */ + public NotificationMessageTemplateCollectionPage notificationMessageTemplates; + + /** + * The Role Definitions. + * The Role Definitions. + */ + public RoleDefinitionCollectionPage roleDefinitions; + + /** + * The Role Assignments. + * The Role Assignments. + */ + public DeviceAndAppManagementRoleAssignmentCollectionPage roleAssignments; + + /** + * The Resource Operations. + * The Resource Operations. + */ + public ResourceOperationCollectionPage resourceOperations; + + /** + * The Telecom Expense Management Partners. + * The telecom expense management partners. + */ + public TelecomExpenseManagementPartnerCollectionPage telecomExpenseManagementPartners; + + /** + * The Remote Assistance Partners. + * The remote assist partners. + */ + public RemoteAssistancePartnerCollectionPage remoteAssistancePartners; + + /** + * The Windows Information Protection App Learning Summaries. + * The windows information protection app learning summaries. + */ + public WindowsInformationProtectionAppLearningSummaryCollectionPage windowsInformationProtectionAppLearningSummaries; + + /** + * The Windows Information Protection Network Learning Summaries. + * The windows information protection network learning summaries. + */ + public WindowsInformationProtectionNetworkLearningSummaryCollectionPage windowsInformationProtectionNetworkLearningSummaries; + + /** + * The Troubleshooting Events. + * The list of troubleshooting events for the tenant. + */ + public DeviceManagementTroubleshootingEventCollectionPage troubleshootingEvents; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("termsAndConditions")) { + final TermsAndConditionsCollectionResponse response = new TermsAndConditionsCollectionResponse(); + if (json.has("termsAndConditions@odata.nextLink")) { + response.nextLink = json.get("termsAndConditions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("termsAndConditions").toString(), JsonObject[].class); + final TermsAndConditions[] array = new TermsAndConditions[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TermsAndConditions.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + termsAndConditions = new TermsAndConditionsCollectionPage(response, null); + } + + if (json.has("detectedApps")) { + final DetectedAppCollectionResponse response = new DetectedAppCollectionResponse(); + if (json.has("detectedApps@odata.nextLink")) { + response.nextLink = json.get("detectedApps@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("detectedApps").toString(), JsonObject[].class); + final DetectedApp[] array = new DetectedApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DetectedApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + detectedApps = new DetectedAppCollectionPage(response, null); + } + + if (json.has("managedDevices")) { + final ManagedDeviceCollectionResponse response = new ManagedDeviceCollectionResponse(); + if (json.has("managedDevices@odata.nextLink")) { + response.nextLink = json.get("managedDevices@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedDevices").toString(), JsonObject[].class); + final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedDevices = new ManagedDeviceCollectionPage(response, null); + } + + if (json.has("deviceConfigurations")) { + final DeviceConfigurationCollectionResponse response = new DeviceConfigurationCollectionResponse(); + if (json.has("deviceConfigurations@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurations").toString(), JsonObject[].class); + final DeviceConfiguration[] array = new DeviceConfiguration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfiguration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceConfigurations = new DeviceConfigurationCollectionPage(response, null); + } + + if (json.has("deviceCompliancePolicies")) { + final DeviceCompliancePolicyCollectionResponse response = new DeviceCompliancePolicyCollectionResponse(); + if (json.has("deviceCompliancePolicies@odata.nextLink")) { + response.nextLink = json.get("deviceCompliancePolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCompliancePolicies").toString(), JsonObject[].class); + final DeviceCompliancePolicy[] array = new DeviceCompliancePolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceCompliancePolicies = new DeviceCompliancePolicyCollectionPage(response, null); + } + + if (json.has("deviceCompliancePolicySettingStateSummaries")) { + final DeviceCompliancePolicySettingStateSummaryCollectionResponse response = new DeviceCompliancePolicySettingStateSummaryCollectionResponse(); + if (json.has("deviceCompliancePolicySettingStateSummaries@odata.nextLink")) { + response.nextLink = json.get("deviceCompliancePolicySettingStateSummaries@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCompliancePolicySettingStateSummaries").toString(), JsonObject[].class); + final DeviceCompliancePolicySettingStateSummary[] array = new DeviceCompliancePolicySettingStateSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicySettingStateSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceCompliancePolicySettingStateSummaries = new DeviceCompliancePolicySettingStateSummaryCollectionPage(response, null); + } + + if (json.has("iosUpdateStatuses")) { + final IosUpdateDeviceStatusCollectionResponse response = new IosUpdateDeviceStatusCollectionResponse(); + if (json.has("iosUpdateStatuses@odata.nextLink")) { + response.nextLink = json.get("iosUpdateStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosUpdateStatuses").toString(), JsonObject[].class); + final IosUpdateDeviceStatus[] array = new IosUpdateDeviceStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosUpdateDeviceStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + iosUpdateStatuses = new IosUpdateDeviceStatusCollectionPage(response, null); + } + + if (json.has("deviceCategories")) { + final DeviceCategoryCollectionResponse response = new DeviceCategoryCollectionResponse(); + if (json.has("deviceCategories@odata.nextLink")) { + response.nextLink = json.get("deviceCategories@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCategories").toString(), JsonObject[].class); + final DeviceCategory[] array = new DeviceCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceCategories = new DeviceCategoryCollectionPage(response, null); + } + + if (json.has("exchangeConnectors")) { + final DeviceManagementExchangeConnectorCollectionResponse response = new DeviceManagementExchangeConnectorCollectionResponse(); + if (json.has("exchangeConnectors@odata.nextLink")) { + response.nextLink = json.get("exchangeConnectors@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exchangeConnectors").toString(), JsonObject[].class); + final DeviceManagementExchangeConnector[] array = new DeviceManagementExchangeConnector[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementExchangeConnector.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + exchangeConnectors = new DeviceManagementExchangeConnectorCollectionPage(response, null); + } + + if (json.has("deviceEnrollmentConfigurations")) { + final DeviceEnrollmentConfigurationCollectionResponse response = new DeviceEnrollmentConfigurationCollectionResponse(); + if (json.has("deviceEnrollmentConfigurations@odata.nextLink")) { + response.nextLink = json.get("deviceEnrollmentConfigurations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceEnrollmentConfigurations").toString(), JsonObject[].class); + final DeviceEnrollmentConfiguration[] array = new DeviceEnrollmentConfiguration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceEnrollmentConfiguration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceEnrollmentConfigurations = new DeviceEnrollmentConfigurationCollectionPage(response, null); + } + + if (json.has("mobileThreatDefenseConnectors")) { + final MobileThreatDefenseConnectorCollectionResponse response = new MobileThreatDefenseConnectorCollectionResponse(); + if (json.has("mobileThreatDefenseConnectors@odata.nextLink")) { + response.nextLink = json.get("mobileThreatDefenseConnectors@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileThreatDefenseConnectors").toString(), JsonObject[].class); + final MobileThreatDefenseConnector[] array = new MobileThreatDefenseConnector[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileThreatDefenseConnector.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mobileThreatDefenseConnectors = new MobileThreatDefenseConnectorCollectionPage(response, null); + } + + if (json.has("deviceManagementPartners")) { + final DeviceManagementPartnerCollectionResponse response = new DeviceManagementPartnerCollectionResponse(); + if (json.has("deviceManagementPartners@odata.nextLink")) { + response.nextLink = json.get("deviceManagementPartners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementPartners").toString(), JsonObject[].class); + final DeviceManagementPartner[] array = new DeviceManagementPartner[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementPartner.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceManagementPartners = new DeviceManagementPartnerCollectionPage(response, null); + } + + if (json.has("notificationMessageTemplates")) { + final NotificationMessageTemplateCollectionResponse response = new NotificationMessageTemplateCollectionResponse(); + if (json.has("notificationMessageTemplates@odata.nextLink")) { + response.nextLink = json.get("notificationMessageTemplates@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("notificationMessageTemplates").toString(), JsonObject[].class); + final NotificationMessageTemplate[] array = new NotificationMessageTemplate[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), NotificationMessageTemplate.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + notificationMessageTemplates = new NotificationMessageTemplateCollectionPage(response, null); + } + + if (json.has("roleDefinitions")) { + final RoleDefinitionCollectionResponse response = new RoleDefinitionCollectionResponse(); + if (json.has("roleDefinitions@odata.nextLink")) { + response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); + final RoleDefinition[] array = new RoleDefinition[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleDefinition.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + roleDefinitions = new RoleDefinitionCollectionPage(response, null); + } + + if (json.has("roleAssignments")) { + final DeviceAndAppManagementRoleAssignmentCollectionResponse response = new DeviceAndAppManagementRoleAssignmentCollectionResponse(); + if (json.has("roleAssignments@odata.nextLink")) { + response.nextLink = json.get("roleAssignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignments").toString(), JsonObject[].class); + final DeviceAndAppManagementRoleAssignment[] array = new DeviceAndAppManagementRoleAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceAndAppManagementRoleAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + roleAssignments = new DeviceAndAppManagementRoleAssignmentCollectionPage(response, null); + } + + if (json.has("resourceOperations")) { + final ResourceOperationCollectionResponse response = new ResourceOperationCollectionResponse(); + if (json.has("resourceOperations@odata.nextLink")) { + response.nextLink = json.get("resourceOperations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("resourceOperations").toString(), JsonObject[].class); + final ResourceOperation[] array = new ResourceOperation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ResourceOperation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + resourceOperations = new ResourceOperationCollectionPage(response, null); + } + + if (json.has("telecomExpenseManagementPartners")) { + final TelecomExpenseManagementPartnerCollectionResponse response = new TelecomExpenseManagementPartnerCollectionResponse(); + if (json.has("telecomExpenseManagementPartners@odata.nextLink")) { + response.nextLink = json.get("telecomExpenseManagementPartners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("telecomExpenseManagementPartners").toString(), JsonObject[].class); + final TelecomExpenseManagementPartner[] array = new TelecomExpenseManagementPartner[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TelecomExpenseManagementPartner.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + telecomExpenseManagementPartners = new TelecomExpenseManagementPartnerCollectionPage(response, null); + } + + if (json.has("remoteAssistancePartners")) { + final RemoteAssistancePartnerCollectionResponse response = new RemoteAssistancePartnerCollectionResponse(); + if (json.has("remoteAssistancePartners@odata.nextLink")) { + response.nextLink = json.get("remoteAssistancePartners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("remoteAssistancePartners").toString(), JsonObject[].class); + final RemoteAssistancePartner[] array = new RemoteAssistancePartner[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RemoteAssistancePartner.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + remoteAssistancePartners = new RemoteAssistancePartnerCollectionPage(response, null); + } + + if (json.has("windowsInformationProtectionAppLearningSummaries")) { + final WindowsInformationProtectionAppLearningSummaryCollectionResponse response = new WindowsInformationProtectionAppLearningSummaryCollectionResponse(); + if (json.has("windowsInformationProtectionAppLearningSummaries@odata.nextLink")) { + response.nextLink = json.get("windowsInformationProtectionAppLearningSummaries@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionAppLearningSummaries").toString(), JsonObject[].class); + final WindowsInformationProtectionAppLearningSummary[] array = new WindowsInformationProtectionAppLearningSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionAppLearningSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + windowsInformationProtectionAppLearningSummaries = new WindowsInformationProtectionAppLearningSummaryCollectionPage(response, null); + } + + if (json.has("windowsInformationProtectionNetworkLearningSummaries")) { + final WindowsInformationProtectionNetworkLearningSummaryCollectionResponse response = new WindowsInformationProtectionNetworkLearningSummaryCollectionResponse(); + if (json.has("windowsInformationProtectionNetworkLearningSummaries@odata.nextLink")) { + response.nextLink = json.get("windowsInformationProtectionNetworkLearningSummaries@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionNetworkLearningSummaries").toString(), JsonObject[].class); + final WindowsInformationProtectionNetworkLearningSummary[] array = new WindowsInformationProtectionNetworkLearningSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionNetworkLearningSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + windowsInformationProtectionNetworkLearningSummaries = new WindowsInformationProtectionNetworkLearningSummaryCollectionPage(response, null); + } + + if (json.has("troubleshootingEvents")) { + final DeviceManagementTroubleshootingEventCollectionResponse response = new DeviceManagementTroubleshootingEventCollectionResponse(); + if (json.has("troubleshootingEvents@odata.nextLink")) { + response.nextLink = json.get("troubleshootingEvents@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("troubleshootingEvents").toString(), JsonObject[].class); + final DeviceManagementTroubleshootingEvent[] array = new DeviceManagementTroubleshootingEvent[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementTroubleshootingEvent.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + troubleshootingEvents = new DeviceManagementTroubleshootingEventCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java index ad4567798e3..22380c59843 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java @@ -3,12 +3,142 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorStatus; +import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorType; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceManagementExchangeConnector; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector. */ -public class DeviceManagementExchangeConnector extends BaseDeviceManagementExchangeConnector { +public class DeviceManagementExchangeConnector extends Entity implements IJsonBackedObject { + + + /** + * The Last Sync Date Time. + * Last sync time for the Exchange Connector + */ + @SerializedName("lastSyncDateTime") + @Expose + public java.util.Calendar lastSyncDateTime; + + /** + * The Status. + * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. + */ + @SerializedName("status") + @Expose + public DeviceManagementExchangeConnectorStatus status; + + /** + * The Primary Smtp Address. + * Email address used to configure the Service To Service Exchange Connector. + */ + @SerializedName("primarySmtpAddress") + @Expose + public String primarySmtpAddress; + + /** + * The Server Name. + * The name of the Exchange server. + */ + @SerializedName("serverName") + @Expose + public String serverName; + + /** + * The Connector Server Name. + * The name of the server hosting the Exchange Connector. + */ + @SerializedName("connectorServerName") + @Expose + public String connectorServerName; + + /** + * The Exchange Connector Type. + * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. + */ + @SerializedName("exchangeConnectorType") + @Expose + public DeviceManagementExchangeConnectorType exchangeConnectorType; + + /** + * The Version. + * The version of the ExchangeConnectorAgent + */ + @SerializedName("version") + @Expose + public String version; + + /** + * The Exchange Alias. + * An alias assigned to the Exchange server + */ + @SerializedName("exchangeAlias") + @Expose + public String exchangeAlias; + + /** + * The Exchange Organization. + * Exchange Organization to the Exchange server + */ + @SerializedName("exchangeOrganization") + @Expose + public String exchangeOrganization; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnectorSyncBody.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnectorSyncBody.java index d43163cd57e..40899212ba2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnectorSyncBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnectorSyncBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDeviceManagementExchangeConnectorSyncBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Sync Body. */ -public class DeviceManagementExchangeConnectorSyncBody extends BaseDeviceManagementExchangeConnectorSyncBody { +public class DeviceManagementExchangeConnectorSyncBody { + /** + * The sync Type. + * + */ + @SerializedName("syncType") + @Expose + public DeviceManagementExchangeConnectorSyncType syncType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java index e956ce1bb5b..367c594b1cd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java @@ -3,12 +3,134 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DeviceManagementPartnerTenantState; +import com.microsoft.graph.models.generated.DeviceManagementPartnerAppType; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceManagementPartner; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Partner. */ -public class DeviceManagementPartner extends BaseDeviceManagementPartner { +public class DeviceManagementPartner extends Entity implements IJsonBackedObject { + + + /** + * The Last Heartbeat Date Time. + * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner + */ + @SerializedName("lastHeartbeatDateTime") + @Expose + public java.util.Calendar lastHeartbeatDateTime; + + /** + * The Partner State. + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + */ + @SerializedName("partnerState") + @Expose + public DeviceManagementPartnerTenantState partnerState; + + /** + * The Partner App Type. + * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. + */ + @SerializedName("partnerAppType") + @Expose + public DeviceManagementPartnerAppType partnerAppType; + + /** + * The Single Tenant App Id. + * Partner Single tenant App id + */ + @SerializedName("singleTenantAppId") + @Expose + public String singleTenantAppId; + + /** + * The Display Name. + * Partner display name + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Is Configured. + * Whether device management partner is configured or not + */ + @SerializedName("isConfigured") + @Expose + public Boolean isConfigured; + + /** + * The When Partner Devices Will Be Removed Date Time. + * DateTime in UTC when PartnerDevices will be removed + */ + @SerializedName("whenPartnerDevicesWillBeRemovedDateTime") + @Expose + public java.util.Calendar whenPartnerDevicesWillBeRemovedDateTime; + + /** + * The When Partner Devices Will Be Marked As Non Compliant Date Time. + * DateTime in UTC when PartnerDevices will be marked as NonCompliant + */ + @SerializedName("whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime") + @Expose + public java.util.Calendar whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java index 814c308fcbc..1bae8c882dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceManagementSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Settings. */ -public class DeviceManagementSettings extends BaseDeviceManagementSettings { +public class DeviceManagementSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Device Compliance Checkin Threshold Days. + * The number of days a device is allowed to go without checking in to remain compliant. Valid values 0 to 120 + */ + @SerializedName("deviceComplianceCheckinThresholdDays") + @Expose + public Integer deviceComplianceCheckinThresholdDays; + + /** + * The Is Scheduled Action Enabled. + * Is feature enabled or not for scheduled action for rule. + */ + @SerializedName("isScheduledActionEnabled") + @Expose + public Boolean isScheduledActionEnabled; + + /** + * The Secure By Default. + * Device should be noncompliant when there is no compliance policy targeted when this is true + */ + @SerializedName("secureByDefault") + @Expose + public Boolean secureByDefault; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java index ac44bdbf05d..5fc1e06eb73 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDeviceManagementTroubleshootingEvent; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Troubleshooting Event. */ -public class DeviceManagementTroubleshootingEvent extends BaseDeviceManagementTroubleshootingEvent { +public class DeviceManagementTroubleshootingEvent extends Entity implements IJsonBackedObject { + + + /** + * The Event Date Time. + * Time when the event occurred . + */ + @SerializedName("eventDateTime") + @Expose + public java.util.Calendar eventDateTime; + + /** + * The Correlation Id. + * Id used for tracing the failure in the service. + */ + @SerializedName("correlationId") + @Expose + public String correlationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java index c0bf0830bdd..61027b8dfe7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDeviceOperatingSystemSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Operating System Summary. */ -public class DeviceOperatingSystemSummary extends BaseDeviceOperatingSystemSummary { +public class DeviceOperatingSystemSummary implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Android Count. + * Number of android device count. + */ + @SerializedName("androidCount") + @Expose + public Integer androidCount; + + /** + * The Ios Count. + * Number of iOS device count. + */ + @SerializedName("iosCount") + @Expose + public Integer iosCount; + + /** + * The Mac OSCount. + * Number of Mac OS X device count. + */ + @SerializedName("macOSCount") + @Expose + public Integer macOSCount; + + /** + * The Windows Mobile Count. + * Number of Windows mobile device count. + */ + @SerializedName("windowsMobileCount") + @Expose + public Integer windowsMobileCount; + + /** + * The Windows Count. + * Number of Windows device count. + */ + @SerializedName("windowsCount") + @Expose + public Integer windowsCount; + + /** + * The Unknown Count. + * Number of unknown device count. + */ + @SerializedName("unknownCount") + @Expose + public Integer unknownCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Diagnostic.java b/src/main/java/com/microsoft/graph/models/extensions/Diagnostic.java index 43bbe591bb8..fa2712b0849 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Diagnostic.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Diagnostic.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDiagnostic; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Diagnostic. */ -public class Diagnostic extends BaseDiagnostic { +public class Diagnostic implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Message. + * + */ + @SerializedName("message") + @Expose + public String message; + + /** + * The Url. + * + */ + @SerializedName("url") + @Expose + public String url; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Directory.java b/src/main/java/com/microsoft/graph/models/extensions/Directory.java index 268b0b8c419..5fb20b3be15 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Directory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Directory.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.models.generated.BaseDirectory; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory. */ -public class Directory extends BaseDirectory { +public class Directory extends Entity implements IJsonBackedObject { + + + /** + * The Deleted Items. + * Recently deleted items. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage deletedItems; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("deletedItems")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("deletedItems@odata.nextLink")) { + response.nextLink = json.get("deletedItems@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deletedItems").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deletedItems = new DirectoryObjectCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObject.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObject.java index 81f95300196..f2b469389f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObject.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObject.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDirectoryObject; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object. */ -public class DirectoryObject extends BaseDirectoryObject { +public class DirectoryObject extends Entity implements IJsonBackedObject { + + + /** + * The Deleted Date Time. + * + */ + @SerializedName("deletedDateTime") + @Expose + public java.util.Calendar deletedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectCheckMemberGroupsBody.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectCheckMemberGroupsBody.java index 93825808818..2717ff38a59 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectCheckMemberGroupsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectCheckMemberGroupsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDirectoryObjectCheckMemberGroupsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Check Member Groups Body. */ -public class DirectoryObjectCheckMemberGroupsBody extends BaseDirectoryObjectCheckMemberGroupsBody { +public class DirectoryObjectCheckMemberGroupsBody { + /** + * The group Ids. + * + */ + @SerializedName("groupIds") + @Expose + public java.util.List groupIds; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetByIdsBody.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetByIdsBody.java index 47b67deb71c..861cf12701b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetByIdsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetByIdsBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDirectoryObjectGetByIdsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get By Ids Body. */ -public class DirectoryObjectGetByIdsBody extends BaseDirectoryObjectGetByIdsBody { +public class DirectoryObjectGetByIdsBody { + /** + * The ids. + * + */ + @SerializedName("ids") + @Expose + public java.util.List ids; + + /** + * The types. + * + */ + @SerializedName("types") + @Expose + public java.util.List types; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberGroupsBody.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberGroupsBody.java index 3788fcb5504..6f9fd668038 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberGroupsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberGroupsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDirectoryObjectGetMemberGroupsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Groups Body. */ -public class DirectoryObjectGetMemberGroupsBody extends BaseDirectoryObjectGetMemberGroupsBody { +public class DirectoryObjectGetMemberGroupsBody { + /** + * The security Enabled Only. + * + */ + @SerializedName("securityEnabledOnly") + @Expose + public Boolean securityEnabledOnly; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberObjectsBody.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberObjectsBody.java index 69e8132ea53..ceb54651125 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberObjectsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryObjectGetMemberObjectsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDirectoryObjectGetMemberObjectsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Objects Body. */ -public class DirectoryObjectGetMemberObjectsBody extends BaseDirectoryObjectGetMemberObjectsBody { +public class DirectoryObjectGetMemberObjectsBody { + /** + * The security Enabled Only. + * + */ + @SerializedName("securityEnabledOnly") + @Expose + public Boolean securityEnabledOnly; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryRole.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryRole.java index 980b552f05c..0a0f379402d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryRole.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryRole.java @@ -3,14 +3,116 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.models.generated.BaseDirectoryRole; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role. */ -public class DirectoryRole extends BaseDirectoryRole { +public class DirectoryRole extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Description. + * The description for the directory role. Read-only. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Name. + * The display name for the directory role. Read-only. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Role Template Id. + * The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. + */ + @SerializedName("roleTemplateId") + @Expose + public String roleTemplateId; + + /** + * The Members. + * Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage members; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("members")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + members = new DirectoryObjectCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryRoleTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryRoleTemplate.java index 69f0e7cfe1d..dc82ea774fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryRoleTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryRoleTemplate.java @@ -3,14 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.generated.BaseDirectoryRoleTemplate; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Template. */ -public class DirectoryRoleTemplate extends BaseDirectoryRoleTemplate { +public class DirectoryRoleTemplate extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Description. + * The description to set for the directory role. Read-only. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Name. + * The display name to set for the directory role. Read-only. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Domain.java b/src/main/java/com/microsoft/graph/models/extensions/Domain.java index 4346a090027..f3be5558580 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Domain.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Domain.java @@ -3,14 +3,213 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DomainState; +import com.microsoft.graph.models.extensions.DomainDnsRecord; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionResponse; +import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionPage; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.models.generated.BaseDomain; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain. */ -public class Domain extends BaseDomain { +public class Domain extends Entity implements IJsonBackedObject { + + + /** + * The Authentication Type. + * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable + */ + @SerializedName("authenticationType") + @Expose + public String authenticationType; + + /** + * The Availability Status. + * This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled. + */ + @SerializedName("availabilityStatus") + @Expose + public String availabilityStatus; + + /** + * The Is Admin Managed. + * The value of the property is false if the DNS record management of the domain has been delegated to Office 365. Otherwise, the value is true. Not nullable + */ + @SerializedName("isAdminManaged") + @Expose + public Boolean isAdminManaged; + + /** + * The Is Default. + * True if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable + */ + @SerializedName("isDefault") + @Expose + public Boolean isDefault; + + /** + * The Is Initial. + * True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable + */ + @SerializedName("isInitial") + @Expose + public Boolean isInitial; + + /** + * The Is Root. + * True if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable + */ + @SerializedName("isRoot") + @Expose + public Boolean isRoot; + + /** + * The Is Verified. + * True if the domain has completed domain ownership verification. Not nullable + */ + @SerializedName("isVerified") + @Expose + public Boolean isVerified; + + /** + * The Supported Services. + * The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable + */ + @SerializedName("supportedServices") + @Expose + public java.util.List supportedServices; + + /** + * The State. + * Status of asynchronous operations scheduled for the domain. + */ + @SerializedName("state") + @Expose + public DomainState state; + + /** + * The Service Configuration Records. + * DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable + */ + public DomainDnsRecordCollectionPage serviceConfigurationRecords; + + /** + * The Verification Dns Records. + * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable + */ + public DomainDnsRecordCollectionPage verificationDnsRecords; + + /** + * The Domain Name References. + * Read-only, Nullable + */ + public DirectoryObjectCollectionPage domainNameReferences; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("serviceConfigurationRecords")) { + final DomainDnsRecordCollectionResponse response = new DomainDnsRecordCollectionResponse(); + if (json.has("serviceConfigurationRecords@odata.nextLink")) { + response.nextLink = json.get("serviceConfigurationRecords@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("serviceConfigurationRecords").toString(), JsonObject[].class); + final DomainDnsRecord[] array = new DomainDnsRecord[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DomainDnsRecord.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + serviceConfigurationRecords = new DomainDnsRecordCollectionPage(response, null); + } + + if (json.has("verificationDnsRecords")) { + final DomainDnsRecordCollectionResponse response = new DomainDnsRecordCollectionResponse(); + if (json.has("verificationDnsRecords@odata.nextLink")) { + response.nextLink = json.get("verificationDnsRecords@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("verificationDnsRecords").toString(), JsonObject[].class); + final DomainDnsRecord[] array = new DomainDnsRecord[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DomainDnsRecord.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + verificationDnsRecords = new DomainDnsRecordCollectionPage(response, null); + } + + if (json.has("domainNameReferences")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("domainNameReferences@odata.nextLink")) { + response.nextLink = json.get("domainNameReferences@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("domainNameReferences").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + domainNameReferences = new DirectoryObjectCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsCnameRecord.java b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsCnameRecord.java index 6aaaf3898dd..3a9441391df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsCnameRecord.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsCnameRecord.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.models.generated.BaseDomainDnsCnameRecord; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Cname Record. */ -public class DomainDnsCnameRecord extends BaseDomainDnsCnameRecord { +public class DomainDnsCnameRecord extends DomainDnsRecord implements IJsonBackedObject { + + + /** + * The Canonical Name. + * The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host. + */ + @SerializedName("canonicalName") + @Expose + public String canonicalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsMxRecord.java b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsMxRecord.java index 244764f4926..04ff4e18f73 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsMxRecord.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsMxRecord.java @@ -3,14 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.models.generated.BaseDomainDnsMxRecord; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Mx Record. */ -public class DomainDnsMxRecord extends BaseDomainDnsMxRecord { +public class DomainDnsMxRecord extends DomainDnsRecord implements IJsonBackedObject { + + + /** + * The Mail Exchange. + * Value used when configuring the answer/destination/value of the MX record at the DNS host. + */ + @SerializedName("mailExchange") + @Expose + public String mailExchange; + + /** + * The Preference. + * Value used when configuring the Preference/Priority property of the MX record at the DNS host. + */ + @SerializedName("preference") + @Expose + public Integer preference; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsRecord.java b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsRecord.java index f365fc2ab85..e555cd7b151 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsRecord.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsRecord.java @@ -3,14 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseDomainDnsRecord; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Record. */ -public class DomainDnsRecord extends BaseDomainDnsRecord { +public class DomainDnsRecord extends Entity implements IJsonBackedObject { + + + /** + * The Is Optional. + * If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain. + */ + @SerializedName("isOptional") + @Expose + public Boolean isOptional; + + /** + * The Label. + * Value used when configuring the name of the DNS record at the DNS host. + */ + @SerializedName("label") + @Expose + public String label; + + /** + * The Record Type. + * Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey + */ + @SerializedName("recordType") + @Expose + public String recordType; + + /** + * The Supported Service. + * Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune + */ + @SerializedName("supportedService") + @Expose + public String supportedService; + + /** + * The Ttl. + * Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable + */ + @SerializedName("ttl") + @Expose + public Integer ttl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsSrvRecord.java b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsSrvRecord.java index ee245dedd71..2ed91cc916b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsSrvRecord.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsSrvRecord.java @@ -3,14 +3,116 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.models.generated.BaseDomainDnsSrvRecord; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Srv Record. */ -public class DomainDnsSrvRecord extends BaseDomainDnsSrvRecord { +public class DomainDnsSrvRecord extends DomainDnsRecord implements IJsonBackedObject { + + + /** + * The Name Target. + * Value to use when configuring the Target property of the SRV record at the DNS host. + */ + @SerializedName("nameTarget") + @Expose + public String nameTarget; + + /** + * The Port. + * Value to use when configuring the port property of the SRV record at the DNS host. + */ + @SerializedName("port") + @Expose + public Integer port; + + /** + * The Priority. + * Value to use when configuring the priority property of the SRV record at the DNS host. + */ + @SerializedName("priority") + @Expose + public Integer priority; + + /** + * The Protocol. + * Value to use when configuring the protocol property of the SRV record at the DNS host. + */ + @SerializedName("protocol") + @Expose + public String protocol; + + /** + * The Service. + * Value to use when configuring the service property of the SRV record at the DNS host. + */ + @SerializedName("service") + @Expose + public String service; + + /** + * The Weight. + * Value to use when configuring the weight property of the SRV record at the DNS host. + */ + @SerializedName("weight") + @Expose + public Integer weight; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsTxtRecord.java b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsTxtRecord.java index cb8e1787c0a..6adfe938d36 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsTxtRecord.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsTxtRecord.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.models.generated.BaseDomainDnsTxtRecord; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Txt Record. */ -public class DomainDnsTxtRecord extends BaseDomainDnsTxtRecord { +public class DomainDnsTxtRecord extends DomainDnsRecord implements IJsonBackedObject { + + + /** + * The Text. + * Value used when configuring the text property at the DNS host. + */ + @SerializedName("text") + @Expose + public String text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsUnavailableRecord.java b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsUnavailableRecord.java index 4c1a227bf4d..76d5177d125 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainDnsUnavailableRecord.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainDnsUnavailableRecord.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.models.generated.BaseDomainDnsUnavailableRecord; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Unavailable Record. */ -public class DomainDnsUnavailableRecord extends BaseDomainDnsUnavailableRecord { +public class DomainDnsUnavailableRecord extends DomainDnsRecord implements IJsonBackedObject { + + + /** + * The Description. + * Provides the reason why the DomainDnsUnavailableRecord entity is returned. + */ + @SerializedName("description") + @Expose + public String description; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainForceDeleteBody.java b/src/main/java/com/microsoft/graph/models/extensions/DomainForceDeleteBody.java index 8b8d7b3493e..3c5950a8189 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainForceDeleteBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainForceDeleteBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDomainForceDeleteBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Force Delete Body. */ -public class DomainForceDeleteBody extends BaseDomainForceDeleteBody { +public class DomainForceDeleteBody { + /** + * The disable User Accounts. + * + */ + @SerializedName("disableUserAccounts") + @Expose + public Boolean disableUserAccounts; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainState.java b/src/main/java/com/microsoft/graph/models/extensions/DomainState.java index 57512b2f491..25ca6af7b8e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainState.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDomainState; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain State. */ -public class DomainState extends BaseDomainState { +public class DomainState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Status. + * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + */ + @SerializedName("status") + @Expose + public String status; + + /** + * The Operation. + * Type of asynchronous operation. The values can be ForceDelete or Verification + */ + @SerializedName("operation") + @Expose + public String operation; + + /** + * The Last Action Date Time. + * Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes. + */ + @SerializedName("lastActionDateTime") + @Expose + public java.util.Calendar lastActionDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Drive.java b/src/main/java/com/microsoft/graph/models/extensions/Drive.java index 40952fbcc2f..3d0550c0622 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Drive.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Drive.java @@ -3,14 +3,176 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.Quota; +import com.microsoft.graph.models.extensions.SharepointIds; +import com.microsoft.graph.models.extensions.SystemFacet; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.models.extensions.List; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.requests.extensions.DriveItemCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveItemCollectionPage; -import com.microsoft.graph.models.generated.BaseDrive; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive. */ -public class Drive extends BaseDrive { +public class Drive extends BaseItem implements IJsonBackedObject { + + + /** + * The Drive Type. + * Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only. + */ + @SerializedName("driveType") + @Expose + public String driveType; + + /** + * The Owner. + * Optional. The user account that owns the drive. Read-only. + */ + @SerializedName("owner") + @Expose + public IdentitySet owner; + + /** + * The Quota. + * Optional. Information about the drive's storage space quota. Read-only. + */ + @SerializedName("quota") + @Expose + public Quota quota; + + /** + * The Share Point Ids. + * + */ + @SerializedName("sharePointIds") + @Expose + public SharepointIds sharePointIds; + + /** + * The System. + * If present, indicates that this is a system-managed drive. Read-only. + */ + @SerializedName("system") + @Expose + public SystemFacet system; + + /** + * The Items. + * All items contained in the drive. Read-only. Nullable. + */ + public DriveItemCollectionPage items; + + /** + * The List. + * For drives in SharePoint, the underlying document library list. Read-only. Nullable. + */ + @SerializedName("list") + @Expose + public List list; + + /** + * The Root. + * The root folder of the drive. Read-only. + */ + @SerializedName("root") + @Expose + public DriveItem root; + + /** + * The Special. + * Collection of common folders available in OneDrive. Read-only. Nullable. + */ + public DriveItemCollectionPage special; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("items")) { + final DriveItemCollectionResponse response = new DriveItemCollectionResponse(); + if (json.has("items@odata.nextLink")) { + response.nextLink = json.get("items@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); + final DriveItem[] array = new DriveItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + items = new DriveItemCollectionPage(response, null); + } + + if (json.has("special")) { + final DriveItemCollectionResponse response = new DriveItemCollectionResponse(); + if (json.has("special@odata.nextLink")) { + response.nextLink = json.get("special@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("special").toString(), JsonObject[].class); + final DriveItem[] array = new DriveItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + special = new DriveItemCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItem.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItem.java index 8a237719c26..1a95329731b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItem.java @@ -3,14 +3,362 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Audio; +import com.microsoft.graph.models.extensions.Deleted; +import com.microsoft.graph.models.extensions.File; +import com.microsoft.graph.models.extensions.FileSystemInfo; +import com.microsoft.graph.models.extensions.Folder; +import com.microsoft.graph.models.extensions.Image; +import com.microsoft.graph.models.extensions.GeoCoordinates; +import com.microsoft.graph.models.extensions.Photo; +import com.microsoft.graph.models.extensions.PublicationFacet; +import com.microsoft.graph.models.extensions.RemoteItem; +import com.microsoft.graph.models.extensions.Root; +import com.microsoft.graph.models.extensions.SearchResult; +import com.microsoft.graph.models.extensions.Shared; +import com.microsoft.graph.models.extensions.SharepointIds; +import com.microsoft.graph.models.extensions.SpecialFolder; +import com.microsoft.graph.models.extensions.Video; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.models.extensions.ListItem; +import com.microsoft.graph.models.extensions.Permission; +import com.microsoft.graph.models.extensions.ThumbnailSet; +import com.microsoft.graph.models.extensions.DriveItemVersion; +import com.microsoft.graph.models.extensions.Workbook; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.requests.extensions.DriveItemCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveItemCollectionPage; +import com.microsoft.graph.requests.extensions.PermissionCollectionResponse; +import com.microsoft.graph.requests.extensions.PermissionCollectionPage; +import com.microsoft.graph.requests.extensions.ThumbnailSetCollectionResponse; +import com.microsoft.graph.requests.extensions.ThumbnailSetCollectionPage; +import com.microsoft.graph.requests.extensions.DriveItemVersionCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveItemVersionCollectionPage; -import com.microsoft.graph.models.generated.BaseDriveItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item. */ -public class DriveItem extends BaseDriveItem { +public class DriveItem extends BaseItem implements IJsonBackedObject { + + + /** + * The Audio. + * Audio metadata, if the item is an audio file. Read-only. + */ + @SerializedName("audio") + @Expose + public Audio audio; + + /** + * The CTag. + * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + */ + @SerializedName("cTag") + @Expose + public String cTag; + + /** + * The Deleted. + * Information about the deleted state of the item. Read-only. + */ + @SerializedName("deleted") + @Expose + public Deleted deleted; + + /** + * The File. + * File metadata, if the item is a file. Read-only. + */ + @SerializedName("file") + @Expose + public File file; + + /** + * The File System Info. + * File system information on client. Read-write. + */ + @SerializedName("fileSystemInfo") + @Expose + public FileSystemInfo fileSystemInfo; + + /** + * The Folder. + * Folder metadata, if the item is a folder. Read-only. + */ + @SerializedName("folder") + @Expose + public Folder folder; + + /** + * The Image. + * Image metadata, if the item is an image. Read-only. + */ + @SerializedName("image") + @Expose + public Image image; + + /** + * The Location. + * Location metadata, if the item has location data. Read-only. + */ + @SerializedName("location") + @Expose + public GeoCoordinates location; + + /** + * The Package. + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + */ + @SerializedName("package") + @Expose + public com.microsoft.graph.models.extensions.Package msgraphpackage; + + /** + * The Photo. + * Photo metadata, if the item is a photo. Read-only. + */ + @SerializedName("photo") + @Expose + public Photo photo; + + /** + * The Publication. + * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + */ + @SerializedName("publication") + @Expose + public PublicationFacet publication; + + /** + * The Remote Item. + * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. + */ + @SerializedName("remoteItem") + @Expose + public RemoteItem remoteItem; + + /** + * The Root. + * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. + */ + @SerializedName("root") + @Expose + public Root root; + + /** + * The Search Result. + * Search metadata, if the item is from a search result. Read-only. + */ + @SerializedName("searchResult") + @Expose + public SearchResult searchResult; + + /** + * The Shared. + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + */ + @SerializedName("shared") + @Expose + public Shared shared; + + /** + * The Sharepoint Ids. + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + */ + @SerializedName("sharepointIds") + @Expose + public SharepointIds sharepointIds; + + /** + * The Size. + * Size of the item in bytes. Read-only. + */ + @SerializedName("size") + @Expose + public Long size; + + /** + * The Special Folder. + * If the current item is also available as a special folder, this facet is returned. Read-only. + */ + @SerializedName("specialFolder") + @Expose + public SpecialFolder specialFolder; + + /** + * The Video. + * Video metadata, if the item is a video. Read-only. + */ + @SerializedName("video") + @Expose + public Video video; + + /** + * The Web Dav Url. + * WebDAV compatible URL for the item. + */ + @SerializedName("webDavUrl") + @Expose + public String webDavUrl; + + /** + * The Children. + * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. + */ + public DriveItemCollectionPage children; + + /** + * The List Item. + * For drives in SharePoint, the associated document library list item. Read-only. Nullable. + */ + @SerializedName("listItem") + @Expose + public ListItem listItem; + + /** + * The Permissions. + * The set of permissions for the item. Read-only. Nullable. + */ + public PermissionCollectionPage permissions; + + /** + * The Thumbnails. + * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + */ + public ThumbnailSetCollectionPage thumbnails; + + /** + * The Versions. + * The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. + */ + public DriveItemVersionCollectionPage versions; + + /** + * The Workbook. + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + */ + @SerializedName("workbook") + @Expose + public Workbook workbook; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("children")) { + final DriveItemCollectionResponse response = new DriveItemCollectionResponse(); + if (json.has("children@odata.nextLink")) { + response.nextLink = json.get("children@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("children").toString(), JsonObject[].class); + final DriveItem[] array = new DriveItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + children = new DriveItemCollectionPage(response, null); + } + + if (json.has("permissions")) { + final PermissionCollectionResponse response = new PermissionCollectionResponse(); + if (json.has("permissions@odata.nextLink")) { + response.nextLink = json.get("permissions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("permissions").toString(), JsonObject[].class); + final Permission[] array = new Permission[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Permission.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + permissions = new PermissionCollectionPage(response, null); + } + + if (json.has("thumbnails")) { + final ThumbnailSetCollectionResponse response = new ThumbnailSetCollectionResponse(); + if (json.has("thumbnails@odata.nextLink")) { + response.nextLink = json.get("thumbnails@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("thumbnails").toString(), JsonObject[].class); + final ThumbnailSet[] array = new ThumbnailSet[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ThumbnailSet.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + thumbnails = new ThumbnailSetCollectionPage(response, null); + } + + if (json.has("versions")) { + final DriveItemVersionCollectionResponse response = new DriveItemVersionCollectionResponse(); + if (json.has("versions@odata.nextLink")) { + response.nextLink = json.get("versions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("versions").toString(), JsonObject[].class); + final DriveItemVersion[] array = new DriveItemVersion[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItemVersion.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + versions = new DriveItemVersionCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemCopyBody.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemCopyBody.java index 313e227eecf..bff439e4d48 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemCopyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemCopyBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDriveItemCopyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Copy Body. */ -public class DriveItemCopyBody extends BaseDriveItemCopyBody { +public class DriveItemCopyBody { + /** + * The name. + * + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The parent Reference. + * + */ + @SerializedName("parentReference") + @Expose + public ItemReference parentReference; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateLinkBody.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateLinkBody.java index 9ec0757a8f3..7c1fba244d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateLinkBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateLinkBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDriveItemCreateLinkBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Create Link Body. */ -public class DriveItemCreateLinkBody extends BaseDriveItemCreateLinkBody { +public class DriveItemCreateLinkBody { + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The scope. + * + */ + @SerializedName("scope") + @Expose + public String scope; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateUploadSessionBody.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateUploadSessionBody.java index 575d92fc792..23dec5bfa64 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateUploadSessionBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemCreateUploadSessionBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDriveItemCreateUploadSessionBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Create Upload Session Body. */ -public class DriveItemCreateUploadSessionBody extends BaseDriveItemCreateUploadSessionBody { +public class DriveItemCreateUploadSessionBody { + /** + * The item. + * + */ + @SerializedName("item") + @Expose + public DriveItemUploadableProperties item; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemInviteBody.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemInviteBody.java index 76e5548c88f..22c2c1d40dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemInviteBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemInviteBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDriveItemInviteBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Invite Body. */ -public class DriveItemInviteBody extends BaseDriveItemInviteBody { +public class DriveItemInviteBody { + /** + * The require Sign In. + * + */ + @SerializedName("requireSignIn") + @Expose + public Boolean requireSignIn; + + /** + * The roles. + * + */ + @SerializedName("roles") + @Expose + public java.util.List roles; + + /** + * The send Invitation. + * + */ + @SerializedName("sendInvitation") + @Expose + public Boolean sendInvitation; + + /** + * The message. + * + */ + @SerializedName("message") + @Expose + public String message; + + /** + * The recipients. + * + */ + @SerializedName("recipients") + @Expose + public java.util.List recipients; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemPreviewBody.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemPreviewBody.java index c0d364d246e..ff036c27bf1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemPreviewBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemPreviewBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseDriveItemPreviewBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Preview Body. */ -public class DriveItemPreviewBody extends BaseDriveItemPreviewBody { +public class DriveItemPreviewBody { + /** + * The page. + * + */ + @SerializedName("page") + @Expose + public String page; + + /** + * The zoom. + * + */ + @SerializedName("zoom") + @Expose + public Double zoom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java index a1c781e40c8..0878b2e677f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java @@ -3,14 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.FileSystemInfo; -import com.microsoft.graph.models.generated.BaseDriveItemUploadableProperties; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Uploadable Properties. */ -public class DriveItemUploadableProperties extends BaseDriveItemUploadableProperties { +public class DriveItemUploadableProperties implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Description. + * Provides a user-visible description of the item. Read-write. Only on OneDrive Personal + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The File System Info. + * File system information on client. Read-write. + */ + @SerializedName("fileSystemInfo") + @Expose + public FileSystemInfo fileSystemInfo; + + /** + * The Name. + * The name of the item (filename and extension). Read-write. + */ + @SerializedName("name") + @Expose + public String name; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemVersion.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemVersion.java index 9394808111d..570bf67b3aa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemVersion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemVersion.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.BaseItemVersion; -import com.microsoft.graph.models.generated.BaseDriveItemVersion; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version. */ -public class DriveItemVersion extends BaseDriveItemVersion { +public class DriveItemVersion extends BaseItemVersion implements IJsonBackedObject { + + + /** + * The Size. + * Indicates the size of the content stream for this version of the item. + */ + @SerializedName("size") + @Expose + public Long size; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveRecipient.java b/src/main/java/com/microsoft/graph/models/extensions/DriveRecipient.java index fc1bfa455a4..05392aafd72 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveRecipient.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveRecipient.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseDriveRecipient; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Recipient. */ -public class DriveRecipient extends BaseDriveRecipient { +public class DriveRecipient implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Alias. + * The alias of the domain object, for cases where an email address is unavailable (e.g. security groups). + */ + @SerializedName("alias") + @Expose + public String alias; + + /** + * The Email. + * The email address for the recipient, if the recipient has an associated email address. + */ + @SerializedName("email") + @Expose + public String email; + + /** + * The Object Id. + * The unique identifier for the recipient in the directory. + */ + @SerializedName("objectId") + @Expose + public String objectId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java b/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java index a28d1c4533c..e7afec1f69a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java @@ -3,12 +3,116 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseEBookInstallSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the EBook Install Summary. */ -public class EBookInstallSummary extends BaseEBookInstallSummary { +public class EBookInstallSummary extends Entity implements IJsonBackedObject { + + + /** + * The Installed Device Count. + * Number of Devices that have successfully installed this book. + */ + @SerializedName("installedDeviceCount") + @Expose + public Integer installedDeviceCount; + + /** + * The Failed Device Count. + * Number of Devices that have failed to install this book. + */ + @SerializedName("failedDeviceCount") + @Expose + public Integer failedDeviceCount; + + /** + * The Not Installed Device Count. + * Number of Devices that does not have this book installed. + */ + @SerializedName("notInstalledDeviceCount") + @Expose + public Integer notInstalledDeviceCount; + + /** + * The Installed User Count. + * Number of Users whose devices have all succeeded to install this book. + */ + @SerializedName("installedUserCount") + @Expose + public Integer installedUserCount; + + /** + * The Failed User Count. + * Number of Users that have 1 or more device that failed to install this book. + */ + @SerializedName("failedUserCount") + @Expose + public Integer failedUserCount; + + /** + * The Not Installed User Count. + * Number of Users that did not install this book. + */ + @SerializedName("notInstalledUserCount") + @Expose + public Integer notInstalledUserCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngine.java b/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngine.java index 7de271130a9..2e351e9bbd3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngine.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngine.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EdgeSearchEngineType; +import com.microsoft.graph.models.extensions.EdgeSearchEngineBase; -import com.microsoft.graph.models.generated.BaseEdgeSearchEngine; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Edge Search Engine. */ -public class EdgeSearchEngine extends BaseEdgeSearchEngine { +public class EdgeSearchEngine extends EdgeSearchEngineBase implements IJsonBackedObject { + + + /** + * The Edge Search Engine Type. + * Allows IT admins to set a predefined default search engine for MDM-Controlled devices. Possible values are: default, bing. + */ + @SerializedName("edgeSearchEngineType") + @Expose + public EdgeSearchEngineType edgeSearchEngineType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineBase.java b/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineBase.java index 9c32f0f74e7..9aa93556372 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineBase.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseEdgeSearchEngineBase; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Edge Search Engine Base. */ -public class EdgeSearchEngineBase extends BaseEdgeSearchEngineBase { +public class EdgeSearchEngineBase implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineCustom.java b/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineCustom.java index 1f97703772b..3dc0d4e9176 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineCustom.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EdgeSearchEngineCustom.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EdgeSearchEngineBase; -import com.microsoft.graph.models.generated.BaseEdgeSearchEngineCustom; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Edge Search Engine Custom. */ -public class EdgeSearchEngineCustom extends BaseEdgeSearchEngineCustom { +public class EdgeSearchEngineCustom extends EdgeSearchEngineBase implements IJsonBackedObject { + + + /** + * The Edge Search Engine Open Search Xml Url. + * Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. + */ + @SerializedName("edgeSearchEngineOpenSearchXmlUrl") + @Expose + public String edgeSearchEngineOpenSearchXmlUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java index 2c36e481e24..1e985cb5427 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EditionUpgradeLicenseType; +import com.microsoft.graph.models.generated.Windows10EditionType; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseEditionUpgradeConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Edition Upgrade Configuration. */ -public class EditionUpgradeConfiguration extends BaseEditionUpgradeConfiguration { +public class EditionUpgradeConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The License Type. + * Edition Upgrade License Type. Possible values are: productKey, licenseFile. + */ + @SerializedName("licenseType") + @Expose + public EditionUpgradeLicenseType licenseType; + + /** + * The Target Edition. + * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN. + */ + @SerializedName("targetEdition") + @Expose + public Windows10EditionType targetEdition; + + /** + * The License. + * Edition Upgrade License File Content. + */ + @SerializedName("license") + @Expose + public String license; + + /** + * The Product Key. + * Edition Upgrade Product Key. + */ + @SerializedName("productKey") + @Expose + public String productKey; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java b/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java index 627f26fa672..86f6a3c2a63 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java @@ -3,12 +3,224 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.generated.EducationExternalSource; +import com.microsoft.graph.models.extensions.EducationTerm; +import com.microsoft.graph.models.extensions.EducationSchool; +import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.models.extensions.Group; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionPage; +import com.microsoft.graph.requests.extensions.EducationUserCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; -import com.microsoft.graph.models.generated.BaseEducationClass; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class. */ -public class EducationClass extends BaseEducationClass { +public class EducationClass extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Name of the class. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Mail Nickname. + * Mail name for sending email to all members, if this is enabled. + */ + @SerializedName("mailNickname") + @Expose + public String mailNickname; + + /** + * The Description. + * Description of the class. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Created By. + * Entity who created the class + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Class Code. + * Class code used by the school to identify the class. + */ + @SerializedName("classCode") + @Expose + public String classCode; + + /** + * The External Name. + * Name of the class in the syncing system. + */ + @SerializedName("externalName") + @Expose + public String externalName; + + /** + * The External Id. + * ID of the class from the syncing system. + */ + @SerializedName("externalId") + @Expose + public String externalId; + + /** + * The External Source. + * How this class was created. The possible values are: sis, manual, unknownFutureValue. + */ + @SerializedName("externalSource") + @Expose + public EducationExternalSource externalSource; + + /** + * The Term. + * Term for this class. + */ + @SerializedName("term") + @Expose + public EducationTerm term; + + /** + * The Schools. + * All schools that this class is associated with. Nullable. + */ + public EducationSchoolCollectionPage schools; + + /** + * The Members. + * All users in the class. Nullable. + */ + public EducationUserCollectionPage members; + + /** + * The Teachers. + * All teachers in the class. Nullable. + */ + public EducationUserCollectionPage teachers; + + /** + * The Group. + * The directory group corresponding to this class. + */ + @SerializedName("group") + @Expose + public Group group; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("schools")) { + final EducationSchoolCollectionResponse response = new EducationSchoolCollectionResponse(); + if (json.has("schools@odata.nextLink")) { + response.nextLink = json.get("schools@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("schools").toString(), JsonObject[].class); + final EducationSchool[] array = new EducationSchool[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationSchool.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + schools = new EducationSchoolCollectionPage(response, null); + } + + if (json.has("members")) { + final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); + final EducationUser[] array = new EducationUser[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + members = new EducationUserCollectionPage(response, null); + } + + if (json.has("teachers")) { + final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); + if (json.has("teachers@odata.nextLink")) { + response.nextLink = json.get("teachers@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("teachers").toString(), JsonObject[].class); + final EducationUser[] array = new EducationUser[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + teachers = new EducationUserCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java b/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java index 0c0f2a6d237..f051d82f7f4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EducationExternalSource; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseEducationOrganization; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Organization. */ -public class EducationOrganization extends BaseEducationOrganization { +public class EducationOrganization extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Organization display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Organization description. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The External Source. + * Source where this organization was created from. The possible values are: sis, manual, unknownFutureValue. + */ + @SerializedName("externalSource") + @Expose + public EducationExternalSource externalSource; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationRelatedContact.java b/src/main/java/com/microsoft/graph/models/extensions/EducationRelatedContact.java index f3dd53cd40a..739b8de398c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationRelatedContact.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationRelatedContact.java @@ -3,12 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EducationContactRelationship; -import com.microsoft.graph.models.generated.BaseEducationRelatedContact; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Related Contact. */ -public class EducationRelatedContact extends BaseEducationRelatedContact { +public class EducationRelatedContact implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Id. + * + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Display Name. + * + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Email Address. + * + */ + @SerializedName("emailAddress") + @Expose + public String emailAddress; + + /** + * The Mobile Phone. + * + */ + @SerializedName("mobilePhone") + @Expose + public String mobilePhone; + + /** + * The Relationship. + * + */ + @SerializedName("relationship") + @Expose + public EducationContactRelationship relationship; + + /** + * The Access Consent. + * + */ + @SerializedName("accessConsent") + @Expose + public Boolean accessConsent; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java b/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java index b7891cefc87..dcfc2c7c86b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java @@ -3,12 +3,151 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EducationClass; +import com.microsoft.graph.models.extensions.EducationSchool; +import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.EducationClassCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionPage; +import com.microsoft.graph.requests.extensions.EducationUserCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; -import com.microsoft.graph.models.generated.BaseEducationRoot; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Root. */ -public class EducationRoot extends BaseEducationRoot { +public class EducationRoot extends Entity implements IJsonBackedObject { + + + /** + * The Classes. + * Read-only. Nullable. + */ + public EducationClassCollectionPage classes; + + /** + * The Schools. + * Read-only. Nullable. + */ + public EducationSchoolCollectionPage schools; + + /** + * The Users. + * Read-only. Nullable. + */ + public EducationUserCollectionPage users; + + /** + * The Me. + * Read-only. Nullable. + */ + @SerializedName("me") + @Expose + public EducationUser me; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("classes")) { + final EducationClassCollectionResponse response = new EducationClassCollectionResponse(); + if (json.has("classes@odata.nextLink")) { + response.nextLink = json.get("classes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classes").toString(), JsonObject[].class); + final EducationClass[] array = new EducationClass[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + classes = new EducationClassCollectionPage(response, null); + } + + if (json.has("schools")) { + final EducationSchoolCollectionResponse response = new EducationSchoolCollectionResponse(); + if (json.has("schools@odata.nextLink")) { + response.nextLink = json.get("schools@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("schools").toString(), JsonObject[].class); + final EducationSchool[] array = new EducationSchool[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationSchool.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + schools = new EducationSchoolCollectionPage(response, null); + } + + if (json.has("users")) { + final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); + if (json.has("users@odata.nextLink")) { + response.nextLink = json.get("users@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("users").toString(), JsonObject[].class); + final EducationUser[] array = new EducationUser[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + users = new EducationUserCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java index ec0fa5c716f..d844f26bf6d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java @@ -3,12 +3,208 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.EducationClass; +import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.models.extensions.EducationOrganization; +import com.microsoft.graph.requests.extensions.EducationClassCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; +import com.microsoft.graph.requests.extensions.EducationUserCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; -import com.microsoft.graph.models.generated.BaseEducationSchool; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School. */ -public class EducationSchool extends BaseEducationSchool { +public class EducationSchool extends EducationOrganization implements IJsonBackedObject { + + + /** + * The Principal Email. + * Email address of the principal. + */ + @SerializedName("principalEmail") + @Expose + public String principalEmail; + + /** + * The Principal Name. + * Name of the principal. + */ + @SerializedName("principalName") + @Expose + public String principalName; + + /** + * The External Principal Id. + * ID of principal in syncing system. + */ + @SerializedName("externalPrincipalId") + @Expose + public String externalPrincipalId; + + /** + * The Lowest Grade. + * Lowest grade taught. + */ + @SerializedName("lowestGrade") + @Expose + public String lowestGrade; + + /** + * The Highest Grade. + * Highest grade taught. + */ + @SerializedName("highestGrade") + @Expose + public String highestGrade; + + /** + * The School Number. + * School Number. + */ + @SerializedName("schoolNumber") + @Expose + public String schoolNumber; + + /** + * The External Id. + * ID of school in syncing system. + */ + @SerializedName("externalId") + @Expose + public String externalId; + + /** + * The Phone. + * Phone number of school. + */ + @SerializedName("phone") + @Expose + public String phone; + + /** + * The Fax. + * Fax number of school. + */ + @SerializedName("fax") + @Expose + public String fax; + + /** + * The Created By. + * Entity who created the school. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Address. + * Address of the school. + */ + @SerializedName("address") + @Expose + public PhysicalAddress address; + + /** + * The Classes. + * Classes taught at the school. Nullable. + */ + public EducationClassCollectionPage classes; + + /** + * The Users. + * Users in the school. Nullable. + */ + public EducationUserCollectionPage users; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("classes")) { + final EducationClassCollectionResponse response = new EducationClassCollectionResponse(); + if (json.has("classes@odata.nextLink")) { + response.nextLink = json.get("classes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classes").toString(), JsonObject[].class); + final EducationClass[] array = new EducationClass[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + classes = new EducationClassCollectionPage(response, null); + } + + if (json.has("users")) { + final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); + if (json.has("users@odata.nextLink")) { + response.nextLink = json.get("users@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("users").toString(), JsonObject[].class); + final EducationUser[] array = new EducationUser[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + users = new EducationUserCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java b/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java index d3cff8e7827..ede18a5c1a6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java @@ -3,12 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EducationGender; -import com.microsoft.graph.models.generated.BaseEducationStudent; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Student. */ -public class EducationStudent extends BaseEducationStudent { +public class EducationStudent implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Graduation Year. + * Year the student is graduating from the school. + */ + @SerializedName("graduationYear") + @Expose + public String graduationYear; + + /** + * The Grade. + * Current grade level of the student. + */ + @SerializedName("grade") + @Expose + public String grade; + + /** + * The Birth Date. + * Birth date of the student. + */ + @SerializedName("birthDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly birthDate; + + /** + * The Gender. + * The possible values are: female, male, other, unknownFutureValue. + */ + @SerializedName("gender") + @Expose + public EducationGender gender; + + /** + * The Student Number. + * Student Number. + */ + @SerializedName("studentNumber") + @Expose + public String studentNumber; + + /** + * The External Id. + * ID of the student in the source system. + */ + @SerializedName("externalId") + @Expose + public String externalId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java b/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java index 875a294cda4..ff561930250 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseEducationTeacher; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Teacher. */ -public class EducationTeacher extends BaseEducationTeacher { +public class EducationTeacher implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Teacher Number. + * Teacher number. + */ + @SerializedName("teacherNumber") + @Expose + public String teacherNumber; + + /** + * The External Id. + * ID of the teacher in the source system. + */ + @SerializedName("externalId") + @Expose + public String externalId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java b/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java index 8a134177c95..8c0c0e56bcc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseEducationTerm; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Term. */ -public class EducationTerm extends BaseEducationTerm { +public class EducationTerm implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The External Id. + * ID of term in the syncing system. + */ + @SerializedName("externalId") + @Expose + public String externalId; + + /** + * The Start Date. + * Start of the term. + */ + @SerializedName("startDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly startDate; + + /** + * The End Date. + * End of the term. + */ + @SerializedName("endDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly endDate; + + /** + * The Display Name. + * Display name of the term. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java b/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java index ad5143aa5c6..72cb5d3a524 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java @@ -3,12 +3,378 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EducationUserRole; +import com.microsoft.graph.models.generated.EducationExternalSource; +import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.EducationStudent; +import com.microsoft.graph.models.extensions.EducationTeacher; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.EducationRelatedContact; +import com.microsoft.graph.models.extensions.AssignedLicense; +import com.microsoft.graph.models.extensions.AssignedPlan; +import com.microsoft.graph.models.extensions.PasswordProfile; +import com.microsoft.graph.models.extensions.ProvisionedPlan; +import com.microsoft.graph.models.extensions.EducationSchool; +import com.microsoft.graph.models.extensions.EducationClass; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionPage; +import com.microsoft.graph.requests.extensions.EducationClassCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; -import com.microsoft.graph.models.generated.BaseEducationUser; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User. */ -public class EducationUser extends BaseEducationUser { +public class EducationUser extends Entity implements IJsonBackedObject { + + + /** + * The Primary Role. + * Default role for a user. The user's role might be different in an individual class. The possible values are: student, teacher, unknownFutureValue. Supports $filter. + */ + @SerializedName("primaryRole") + @Expose + public EducationUserRole primaryRole; + + /** + * The Middle Name. + * The middle name of user. + */ + @SerializedName("middleName") + @Expose + public String middleName; + + /** + * The External Source. + * Where this user was created from. The possible values are: sis, manual, unkownFutureValue. + */ + @SerializedName("externalSource") + @Expose + public EducationExternalSource externalSource; + + /** + * The Residence Address. + * Address where user lives. + */ + @SerializedName("residenceAddress") + @Expose + public PhysicalAddress residenceAddress; + + /** + * The Mailing Address. + * Mail address of user. + */ + @SerializedName("mailingAddress") + @Expose + public PhysicalAddress mailingAddress; + + /** + * The Student. + * If the primary role is student, this block will contain student specific data. + */ + @SerializedName("student") + @Expose + public EducationStudent student; + + /** + * The Teacher. + * If the primary role is teacher, this block will conatin teacher specific data. + */ + @SerializedName("teacher") + @Expose + public EducationTeacher teacher; + + /** + * The Created By. + * Entity who created the user. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Related Contacts. + * + */ + @SerializedName("relatedContacts") + @Expose + public java.util.List relatedContacts; + + /** + * The Account Enabled. + * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter. + */ + @SerializedName("accountEnabled") + @Expose + public Boolean accountEnabled; + + /** + * The Assigned Licenses. + * The licenses that are assigned to the user. Not nullable. + */ + @SerializedName("assignedLicenses") + @Expose + public java.util.List assignedLicenses; + + /** + * The Assigned Plans. + * The plans that are assigned to the user. Read-only. Not nullable. + */ + @SerializedName("assignedPlans") + @Expose + public java.util.List assignedPlans; + + /** + * The Business Phones. + * The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property. + */ + @SerializedName("businessPhones") + @Expose + public java.util.List businessPhones; + + /** + * The Department. + * The name for the department in which the user works. Supports $filter. + */ + @SerializedName("department") + @Expose + public String department; + + /** + * The Display Name. + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Given Name. + * The given name (first name) of the user. Supports $filter. + */ + @SerializedName("givenName") + @Expose + public String givenName; + + /** + * The Mail. + * The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports $filter. + */ + @SerializedName("mail") + @Expose + public String mail; + + /** + * The Mail Nickname. + * The mail alias for the user. This property must be specified when a user is created. Supports $filter. + */ + @SerializedName("mailNickname") + @Expose + public String mailNickname; + + /** + * The Mobile Phone. + * The primary cellular telephone number for the user. + */ + @SerializedName("mobilePhone") + @Expose + public String mobilePhone; + + /** + * The Password Policies. + * Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two can be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'. + */ + @SerializedName("passwordPolicies") + @Expose + public String passwordPolicies; + + /** + * The Password Profile. + * Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. + */ + @SerializedName("passwordProfile") + @Expose + public PasswordProfile passwordProfile; + + /** + * The Office Location. + * + */ + @SerializedName("officeLocation") + @Expose + public String officeLocation; + + /** + * The Preferred Language. + * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. + */ + @SerializedName("preferredLanguage") + @Expose + public String preferredLanguage; + + /** + * The Provisioned Plans. + * The plans that are provisioned for the user. Read-only. Not nullable. + */ + @SerializedName("provisionedPlans") + @Expose + public java.util.List provisionedPlans; + + /** + * The Refresh Tokens Valid From Date Time. + * + */ + @SerializedName("refreshTokensValidFromDateTime") + @Expose + public java.util.Calendar refreshTokensValidFromDateTime; + + /** + * The Show In Address List. + * + */ + @SerializedName("showInAddressList") + @Expose + public Boolean showInAddressList; + + /** + * The Surname. + * The user's surname (family name or last name). Supports $filter. + */ + @SerializedName("surname") + @Expose + public String surname; + + /** + * The Usage Location. + * A two-letter country code (ISO standard 3166). Required for users who will be assigned licenses due to a legal requirement to check for availability of services in countries or regions. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter. + */ + @SerializedName("usageLocation") + @Expose + public String usageLocation; + + /** + * The User Principal Name. + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Supports $filter and $orderby. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The User Type. + * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter. + */ + @SerializedName("userType") + @Expose + public String userType; + + /** + * The Schools. + * Schools to which the user belongs. Nullable. + */ + public EducationSchoolCollectionPage schools; + + /** + * The Classes. + * Classes to which the user belongs. Nullable. + */ + public EducationClassCollectionPage classes; + + /** + * The User. + * The directory user corresponding to this user. + */ + @SerializedName("user") + @Expose + public User user; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("schools")) { + final EducationSchoolCollectionResponse response = new EducationSchoolCollectionResponse(); + if (json.has("schools@odata.nextLink")) { + response.nextLink = json.get("schools@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("schools").toString(), JsonObject[].class); + final EducationSchool[] array = new EducationSchool[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationSchool.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + schools = new EducationSchoolCollectionPage(response, null); + } + + if (json.has("classes")) { + final EducationClassCollectionResponse response = new EducationClassCollectionResponse(); + if (json.has("classes@odata.nextLink")) { + response.nextLink = json.get("classes@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classes").toString(), JsonObject[].class); + final EducationClass[] array = new EducationClass[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + classes = new EducationClassCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java b/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java index eea6edb7bcd..626c37f3fd5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseEmailAddress; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Email Address. */ -public class EmailAddress extends BaseEmailAddress { +public class EmailAddress implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * The display name of the person or entity. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Address. + * The email address of the person or entity. + */ + @SerializedName("address") + @Expose + public String address; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java index 19dc471a523..c6f8e380e0b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseEnrollmentConfigurationAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Configuration Assignment. */ -public class EnrollmentConfigurationAssignment extends BaseEnrollmentConfigurationAssignment { +public class EnrollmentConfigurationAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * Not yet documented + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java index b5fdab2e377..d3c1c8b14ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java @@ -3,12 +3,134 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DeviceEnrollmentType; +import com.microsoft.graph.models.generated.DeviceEnrollmentFailureReason; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; -import com.microsoft.graph.models.generated.BaseEnrollmentTroubleshootingEvent; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Troubleshooting Event. */ -public class EnrollmentTroubleshootingEvent extends BaseEnrollmentTroubleshootingEvent { +public class EnrollmentTroubleshootingEvent extends DeviceManagementTroubleshootingEvent implements IJsonBackedObject { + + + /** + * The Managed Device Identifier. + * Device identifier created or collected by Intune. + */ + @SerializedName("managedDeviceIdentifier") + @Expose + public String managedDeviceIdentifier; + + /** + * The Operating System. + * Operating System. + */ + @SerializedName("operatingSystem") + @Expose + public String operatingSystem; + + /** + * The Os Version. + * OS Version. + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + + /** + * The User Id. + * Identifier for the user that tried to enroll the device. + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The Device Id. + * Azure AD device identifier. + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Enrollment Type. + * Type of the enrollment. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + */ + @SerializedName("enrollmentType") + @Expose + public DeviceEnrollmentType enrollmentType; + + /** + * The Failure Category. + * Highlevel failure category. Possible values are: unknown, authentication, authorization, accountValidation, userValidation, deviceNotSupported, inMaintenance, badRequest, featureNotSupported, enrollmentRestrictionsEnforced, clientDisconnected, userAbandonment. + */ + @SerializedName("failureCategory") + @Expose + public DeviceEnrollmentFailureReason failureCategory; + + /** + * The Failure Reason. + * Detailed failure reason. + */ + @SerializedName("failureReason") + @Expose + public String failureReason; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Entity.java b/src/main/java/com/microsoft/graph/models/extensions/Entity.java index 6ec933c301a..25ce00c9831 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Entity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Entity.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseEntity; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity. */ -public class Entity extends BaseEntity { +public class Entity implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Id. + * Read-only. + */ + @SerializedName("id") + @Expose + public String id; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Event.java b/src/main/java/com/microsoft/graph/models/extensions/Event.java index fd7902f8ed7..5b56dc61d0c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Event.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Event.java @@ -3,14 +3,445 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ResponseStatus; +import com.microsoft.graph.models.extensions.ItemBody; +import com.microsoft.graph.models.generated.Importance; +import com.microsoft.graph.models.generated.Sensitivity; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.extensions.Location; +import com.microsoft.graph.models.extensions.PatternedRecurrence; +import com.microsoft.graph.models.generated.FreeBusyStatus; +import com.microsoft.graph.models.generated.EventType; +import com.microsoft.graph.models.extensions.Attendee; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.requests.extensions.EventCollectionResponse; +import com.microsoft.graph.requests.extensions.EventCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; +import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BaseEvent; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event. */ -public class Event extends BaseEvent { +public class Event extends OutlookItem implements IJsonBackedObject { + + + /** + * The Original Start Time Zone. + * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. + */ + @SerializedName("originalStartTimeZone") + @Expose + public String originalStartTimeZone; + + /** + * The Original End Time Zone. + * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. + */ + @SerializedName("originalEndTimeZone") + @Expose + public String originalEndTimeZone; + + /** + * The Response Status. + * Indicates the type of response sent in response to an event message. + */ + @SerializedName("responseStatus") + @Expose + public ResponseStatus responseStatus; + + /** + * The ICal UId. + * A unique identifier that is shared by all instances of an event across different calendars. Read-only. + */ + @SerializedName("iCalUId") + @Expose + public String iCalUId; + + /** + * The Reminder Minutes Before Start. + * The number of minutes before the event start time that the reminder alert occurs. + */ + @SerializedName("reminderMinutesBeforeStart") + @Expose + public Integer reminderMinutesBeforeStart; + + /** + * The Is Reminder On. + * Set to true if an alert is set to remind the user of the event. + */ + @SerializedName("isReminderOn") + @Expose + public Boolean isReminderOn; + + /** + * The Has Attachments. + * Set to true if the event has attachments. + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The Subject. + * The text of the event's subject line. + */ + @SerializedName("subject") + @Expose + public String subject; + + /** + * The Body. + * The body of the message associated with the event. It can be in HTML or text format. + */ + @SerializedName("body") + @Expose + public ItemBody body; + + /** + * The Body Preview. + * The preview of the message associated with the event. It is in text format. + */ + @SerializedName("bodyPreview") + @Expose + public String bodyPreview; + + /** + * The Importance. + * The importance of the event. The possible values are: low, normal, high. + */ + @SerializedName("importance") + @Expose + public Importance importance; + + /** + * The Sensitivity. + * The possible values are: normal, personal, private, confidential. + */ + @SerializedName("sensitivity") + @Expose + public Sensitivity sensitivity; + + /** + * The Start. + * The date, time, and time zone that the event starts. + */ + @SerializedName("start") + @Expose + public DateTimeTimeZone start; + + /** + * The Original Start. + * 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("originalStart") + @Expose + public java.util.Calendar originalStart; + + /** + * The End. + * The date, time, and time zone that the event ends. + */ + @SerializedName("end") + @Expose + public DateTimeTimeZone end; + + /** + * The Location. + * The location of the event. + */ + @SerializedName("location") + @Expose + public Location location; + + /** + * The Locations. + * The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. + */ + @SerializedName("locations") + @Expose + public java.util.List locations; + + /** + * The Is All Day. + * Set to true if the event lasts all day. + */ + @SerializedName("isAllDay") + @Expose + public Boolean isAllDay; + + /** + * The Is Cancelled. + * Set to true if the event has been canceled. + */ + @SerializedName("isCancelled") + @Expose + public Boolean isCancelled; + + /** + * The Is Organizer. + * Set to true if the message sender is also the organizer. + */ + @SerializedName("isOrganizer") + @Expose + public Boolean isOrganizer; + + /** + * The Recurrence. + * The recurrence pattern for the event. + */ + @SerializedName("recurrence") + @Expose + public PatternedRecurrence recurrence; + + /** + * The Response Requested. + * Set to true if the sender would like a response when the event is accepted or declined. + */ + @SerializedName("responseRequested") + @Expose + public Boolean responseRequested; + + /** + * The Series Master Id. + * The ID for the recurring series master item, if this event is part of a recurring series. + */ + @SerializedName("seriesMasterId") + @Expose + public String seriesMasterId; + + /** + * The Show As. + * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + */ + @SerializedName("showAs") + @Expose + public FreeBusyStatus showAs; + + /** + * The Type. + * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. + */ + @SerializedName("type") + @Expose + public EventType type; + + /** + * The Attendees. + * The collection of attendees for the event. + */ + @SerializedName("attendees") + @Expose + public java.util.List attendees; + + /** + * The Organizer. + * The organizer of the event. + */ + @SerializedName("organizer") + @Expose + public Recipient organizer; + + /** + * The Web Link. + * The URL to open the event in Outlook Web App.The event will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. + */ + @SerializedName("webLink") + @Expose + public String webLink; + + /** + * The Online Meeting Url. + * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. + */ + @SerializedName("onlineMeetingUrl") + @Expose + public String onlineMeetingUrl; + + /** + * The Calendar. + * The calendar that contains the event. Navigation property. Read-only. + */ + @SerializedName("calendar") + @Expose + public Calendar calendar; + + /** + * The Instances. + * The instances of the event. Navigation property. Read-only. Nullable. + */ + public EventCollectionPage instances; + + /** + * The Extensions. + * The collection of open extensions defined for the event. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + /** + * The Attachments. + * The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable. + */ + public AttachmentCollectionPage attachments; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the event. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("instances")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("instances@odata.nextLink")) { + response.nextLink = json.get("instances@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("instances").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + instances = new EventCollectionPage(response, null); + } + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("attachments")) { + final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); + if (json.has("attachments@odata.nextLink")) { + response.nextLink = json.get("attachments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); + final Attachment[] array = new Attachment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + attachments = new AttachmentCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventAcceptBody.java b/src/main/java/com/microsoft/graph/models/extensions/EventAcceptBody.java index af29712c102..9cd9dc1a563 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventAcceptBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventAcceptBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseEventAcceptBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Accept Body. */ -public class EventAcceptBody extends BaseEventAcceptBody { +public class EventAcceptBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + /** + * The send Response. + * + */ + @SerializedName("sendResponse") + @Expose + public Boolean sendResponse; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventDeclineBody.java b/src/main/java/com/microsoft/graph/models/extensions/EventDeclineBody.java index 9018cc63fef..71ad48fd38a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventDeclineBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventDeclineBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseEventDeclineBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Decline Body. */ -public class EventDeclineBody extends BaseEventDeclineBody { +public class EventDeclineBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + /** + * The send Response. + * + */ + @SerializedName("sendResponse") + @Expose + public Boolean sendResponse; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java b/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java index 5a3d55743cc..7d894b64e25 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MeetingMessageType; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.models.generated.BaseEventMessage; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Message. */ -public class EventMessage extends BaseEventMessage { +public class EventMessage extends Message implements IJsonBackedObject { + + + /** + * The Meeting Message Type. + * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. + */ + @SerializedName("meetingMessageType") + @Expose + public MeetingMessageType meetingMessageType; + + /** + * The Event. + * The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. + */ + @SerializedName("event") + @Expose + public Event event; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventSnoozeReminderBody.java b/src/main/java/com/microsoft/graph/models/extensions/EventSnoozeReminderBody.java index 4a54ab4788a..fde3cf6ff75 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventSnoozeReminderBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventSnoozeReminderBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseEventSnoozeReminderBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Snooze Reminder Body. */ -public class EventSnoozeReminderBody extends BaseEventSnoozeReminderBody { +public class EventSnoozeReminderBody { + /** + * The new Reminder Time. + * + */ + @SerializedName("newReminderTime") + @Expose + public DateTimeTimeZone newReminderTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventTentativelyAcceptBody.java b/src/main/java/com/microsoft/graph/models/extensions/EventTentativelyAcceptBody.java index 7dac0962b41..2dee90b14cb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventTentativelyAcceptBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventTentativelyAcceptBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseEventTentativelyAcceptBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Tentatively Accept Body. */ -public class EventTentativelyAcceptBody extends BaseEventTentativelyAcceptBody { +public class EventTentativelyAcceptBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + /** + * The send Response. + * + */ + @SerializedName("sendResponse") + @Expose + public Boolean sendResponse; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExclusionGroupAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/extensions/ExclusionGroupAssignmentTarget.java index f2de6777bc7..c6fead587c6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExclusionGroupAssignmentTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExclusionGroupAssignmentTarget.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.GroupAssignmentTarget; -import com.microsoft.graph.models.generated.BaseExclusionGroupAssignmentTarget; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Exclusion Group Assignment Target. */ -public class ExclusionGroupAssignmentTarget extends BaseExclusionGroupAssignmentTarget { +public class ExclusionGroupAssignmentTarget extends GroupAssignmentTarget implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Extension.java b/src/main/java/com/microsoft/graph/models/extensions/Extension.java index 7286b8f54e5..4bf5c5f39b7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Extension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Extension.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseExtension; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension. */ -public class Extension extends BaseExtension { +public class Extension extends Entity implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExtensionSchemaProperty.java b/src/main/java/com/microsoft/graph/models/extensions/ExtensionSchemaProperty.java index fcec0ca13a0..2dca1f8634b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExtensionSchemaProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExtensionSchemaProperty.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseExtensionSchemaProperty; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension Schema Property. */ -public class ExtensionSchemaProperty extends BaseExtensionSchemaProperty { +public class ExtensionSchemaProperty implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * The name of the strongly-typed property defined as part of a schema extension. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Type. + * The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + */ + @SerializedName("type") + @Expose + public String type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalLink.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalLink.java index 18280e3f6ab..8d63cdb9443 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalLink.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalLink.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseExternalLink; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the External Link. */ -public class ExternalLink extends BaseExternalLink { +public class ExternalLink implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Href. + * The url of the link. + */ + @SerializedName("href") + @Expose + public String href; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FieldValueSet.java b/src/main/java/com/microsoft/graph/models/extensions/FieldValueSet.java index 16c9cdd32c6..cc3c9af3605 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FieldValueSet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FieldValueSet.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseFieldValueSet; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Field Value Set. */ -public class FieldValueSet extends BaseFieldValueSet { +public class FieldValueSet extends Entity implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/File.java b/src/main/java/com/microsoft/graph/models/extensions/File.java index 68f81345e1f..5248051c466 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/File.java +++ b/src/main/java/com/microsoft/graph/models/extensions/File.java @@ -3,14 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Hashes; -import com.microsoft.graph.models.generated.BaseFile; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File. */ -public class File extends BaseFile { +public class File implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Hashes. + * Hashes of the file's binary content, if available. Read-only. + */ + @SerializedName("hashes") + @Expose + public Hashes hashes; + + /** + * The Mime Type. + * The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. + */ + @SerializedName("mimeType") + @Expose + public String mimeType; + + /** + * The Processing Metadata. + * + */ + @SerializedName("processingMetadata") + @Expose + public Boolean processingMetadata; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java b/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java index 144a17116ff..e75b3afea5e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java @@ -3,14 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.generated.BaseFileAttachment; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File Attachment. */ -public class FileAttachment extends BaseFileAttachment { +public class FileAttachment extends Attachment implements IJsonBackedObject { + + + /** + * The Content Id. + * The ID of the attachment in the Exchange store. + */ + @SerializedName("contentId") + @Expose + public String contentId; + + /** + * The Content Location. + * The Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment. + */ + @SerializedName("contentLocation") + @Expose + public String contentLocation; + + /** + * The Content Bytes. + * The base64-encoded contents of the file. + */ + @SerializedName("contentBytes") + @Expose + public byte[] contentBytes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java b/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java index ef990b08d06..a46cef14669 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java @@ -3,12 +3,133 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseFileEncryptionInfo; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File Encryption Info. */ -public class FileEncryptionInfo extends BaseFileEncryptionInfo { +public class FileEncryptionInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Encryption Key. + * The key used to encrypt the file content. + */ + @SerializedName("encryptionKey") + @Expose + public byte[] encryptionKey; + + /** + * The Initialization Vector. + * The initialization vector used for the encryption algorithm. + */ + @SerializedName("initializationVector") + @Expose + public byte[] initializationVector; + + /** + * The Mac. + * The hash of the encrypted file content + IV (content hash). + */ + @SerializedName("mac") + @Expose + public byte[] mac; + + /** + * The Mac Key. + * The key used to get mac. + */ + @SerializedName("macKey") + @Expose + public byte[] macKey; + + /** + * The Profile Identifier. + * The the profile identifier. + */ + @SerializedName("profileIdentifier") + @Expose + public String profileIdentifier; + + /** + * The File Digest. + * The file digest prior to encryption. + */ + @SerializedName("fileDigest") + @Expose + public byte[] fileDigest; + + /** + * The File Digest Algorithm. + * The file digest algorithm. + */ + @SerializedName("fileDigestAlgorithm") + @Expose + public String fileDigestAlgorithm; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileHash.java b/src/main/java/com/microsoft/graph/models/extensions/FileHash.java index 7420b7abe85..daa3574bf13 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileHash.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileHash.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.FileHashType; -import com.microsoft.graph.models.generated.BaseFileHash; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File Hash. */ -public class FileHash extends BaseFileHash { +public class FileHash implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Hash Type. + * File hash type. Possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. + */ + @SerializedName("hashType") + @Expose + public FileHashType hashType; + + /** + * The Hash Value. + * Value of the file hash. + */ + @SerializedName("hashValue") + @Expose + public String hashValue; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileSecurityState.java b/src/main/java/com/microsoft/graph/models/extensions/FileSecurityState.java index d1c2cc1fac7..51658bf1205 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileSecurityState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileSecurityState.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.FileHash; -import com.microsoft.graph.models.generated.BaseFileSecurityState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File Security State. */ -public class FileSecurityState extends BaseFileSecurityState { +public class FileSecurityState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The File Hash. + * Complex type containing file hashes (cryptographic and location-sensitive). + */ + @SerializedName("fileHash") + @Expose + public FileHash fileHash; + + /** + * The Name. + * File name (without path). + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Path. + * Full file path of the file/imageFile. + */ + @SerializedName("path") + @Expose + public String path; + + /** + * The Risk Score. + * Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage. + */ + @SerializedName("riskScore") + @Expose + public String riskScore; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileSystemInfo.java b/src/main/java/com/microsoft/graph/models/extensions/FileSystemInfo.java index cc704966204..0091eec6617 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileSystemInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileSystemInfo.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseFileSystemInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File System Info. */ -public class FileSystemInfo extends BaseFileSystemInfo { +public class FileSystemInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Created Date Time. + * The UTC date and time the file was created on a client. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Accessed Date Time. + * The UTC date and time the file was last accessed. Available for the recent file list only. + */ + @SerializedName("lastAccessedDateTime") + @Expose + public java.util.Calendar lastAccessedDateTime; + + /** + * The Last Modified Date Time. + * The UTC date and time the file was last modified on a client. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Folder.java b/src/main/java/com/microsoft/graph/models/extensions/Folder.java index d92cd6bd5e2..5aed9bc35f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Folder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Folder.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.FolderView; -import com.microsoft.graph.models.generated.BaseFolder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Folder. */ -public class Folder extends BaseFolder { +public class Folder implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Child Count. + * Number of children contained immediately within this container. + */ + @SerializedName("childCount") + @Expose + public Integer childCount; + + /** + * The View. + * A collection of properties defining the recommended view for the folder. + */ + @SerializedName("view") + @Expose + public FolderView view; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FolderView.java b/src/main/java/com/microsoft/graph/models/extensions/FolderView.java index e27b7a4a572..36d66f0304c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FolderView.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FolderView.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseFolderView; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Folder View. */ -public class FolderView extends BaseFolderView { +public class FolderView implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Sort By. + * The method by which the folder should be sorted. + */ + @SerializedName("sortBy") + @Expose + public String sortBy; + + /** + * The Sort Order. + * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. + */ + @SerializedName("sortOrder") + @Expose + public String sortOrder; + + /** + * The View Type. + * The type of view that should be used to represent the folder. + */ + @SerializedName("viewType") + @Expose + public String viewType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java b/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java index 24c296d5a36..c7a6704fa6a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java @@ -3,12 +3,111 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.generated.FollowupFlagStatus; -import com.microsoft.graph.models.generated.BaseFollowupFlag; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Followup Flag. */ -public class FollowupFlag extends BaseFollowupFlag { +public class FollowupFlag implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Completed Date Time. + * The date and time that the follow-up was finished. + */ + @SerializedName("completedDateTime") + @Expose + public DateTimeTimeZone completedDateTime; + + /** + * The Due Date Time. + * The date and time that the follow-up is to be finished. + */ + @SerializedName("dueDateTime") + @Expose + public DateTimeTimeZone dueDateTime; + + /** + * The Start Date Time. + * The date and time that the follow-up is to begin. + */ + @SerializedName("startDateTime") + @Expose + public DateTimeTimeZone startDateTime; + + /** + * The Flag Status. + * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. + */ + @SerializedName("flagStatus") + @Expose + public FollowupFlagStatus flagStatus; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GeoCoordinates.java b/src/main/java/com/microsoft/graph/models/extensions/GeoCoordinates.java index 132864ed4c7..2e598703ae1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GeoCoordinates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GeoCoordinates.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseGeoCoordinates; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Geo Coordinates. */ -public class GeoCoordinates extends BaseGeoCoordinates { +public class GeoCoordinates implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Altitude. + * Optional. The altitude (height), in feet, above sea level for the item. Read-only. + */ + @SerializedName("altitude") + @Expose + public Double altitude; + + /** + * The Latitude. + * Optional. The latitude, in decimal, for the item. Read-only. + */ + @SerializedName("latitude") + @Expose + public Double latitude; + + /** + * The Longitude. + * Optional. The longitude, in decimal, for the item. Read-only. + */ + @SerializedName("longitude") + @Expose + public Double longitude; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Group.java b/src/main/java/com/microsoft/graph/models/extensions/Group.java index dd2151c5e15..cd2f34aa4e8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Group.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Group.java @@ -3,14 +3,700 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OnPremisesProvisioningError; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.GroupSetting; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.ConversationThread; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.models.extensions.Conversation; +import com.microsoft.graph.models.extensions.ProfilePhoto; +import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.models.extensions.PlannerGroup; +import com.microsoft.graph.models.extensions.Onenote; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; +import com.microsoft.graph.models.extensions.Team; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; +import com.microsoft.graph.requests.extensions.GroupSettingCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupSettingCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.ConversationThreadCollectionResponse; +import com.microsoft.graph.requests.extensions.ConversationThreadCollectionPage; +import com.microsoft.graph.requests.extensions.EventCollectionResponse; +import com.microsoft.graph.requests.extensions.EventCollectionPage; +import com.microsoft.graph.requests.extensions.ConversationCollectionResponse; +import com.microsoft.graph.requests.extensions.ConversationCollectionPage; +import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionResponse; +import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionPage; +import com.microsoft.graph.requests.extensions.DriveCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveCollectionPage; +import com.microsoft.graph.requests.extensions.SiteCollectionResponse; +import com.microsoft.graph.requests.extensions.SiteCollectionPage; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyCollectionPage; -import com.microsoft.graph.models.generated.BaseGroup; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group. */ -public class Group extends BaseGroup { +public class Group extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Classification. + * Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. + */ + @SerializedName("classification") + @Expose + public String classification; + + /** + * The Created Date Time. + * Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. 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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Description. + * An optional description for the group. Returned by default. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Name. + * The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Group Types. + * Specifies the type of group to create. Possible values are Unified to create an Office 365 group, or DynamicMembership for dynamic groups. For all other group types, like security-enabled groups and email-enabled security groups, do not set this property. Returned by default. Supports $filter. + */ + @SerializedName("groupTypes") + @Expose + public java.util.List groupTypes; + + /** + * The Mail. + * The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter. + */ + @SerializedName("mail") + @Expose + public String mail; + + /** + * The Mail Enabled. + * Specifies whether the group is mail-enabled. If the securityEnabled property is also true, the group is a mail-enabled security group; otherwise, the group is a Microsoft Exchange distribution group. Returned by default. + */ + @SerializedName("mailEnabled") + @Expose + public Boolean mailEnabled; + + /** + * The Mail Nickname. + * The mail alias for the group, unique in the organization. This property must be specified when a group is created. Returned by default. Supports $filter. + */ + @SerializedName("mailNickname") + @Expose + public String mailNickname; + + /** + * The On Premises Last Sync Date Time. + * Indicates the last time at which the group was synced with the on-premises directory.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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only. Supports $filter. + */ + @SerializedName("onPremisesLastSyncDateTime") + @Expose + public java.util.Calendar onPremisesLastSyncDateTime; + + /** + * The On Premises Provisioning Errors. + * Errors when using Microsoft synchronization product during provisioning. Returned by default. + */ + @SerializedName("onPremisesProvisioningErrors") + @Expose + public java.util.List onPremisesProvisioningErrors; + + /** + * The On Premises Security Identifier. + * Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only. + */ + @SerializedName("onPremisesSecurityIdentifier") + @Expose + public String onPremisesSecurityIdentifier; + + /** + * The On Premises Sync Enabled. + * true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter. + */ + @SerializedName("onPremisesSyncEnabled") + @Expose + public Boolean onPremisesSyncEnabled; + + /** + * The Proxy Addresses. + * Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required to filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter. + */ + @SerializedName("proxyAddresses") + @Expose + public java.util.List proxyAddresses; + + /** + * The Renewed Date Time. + * Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only. + */ + @SerializedName("renewedDateTime") + @Expose + public java.util.Calendar renewedDateTime; + + /** + * The Security Enabled. + * Specifies whether the group is a security group. If the mailEnabled property is also true, the group is a mail-enabled security group; otherwise it is a security group. Must be false for Office 365 groups. Returned by default. Supports $filter. + */ + @SerializedName("securityEnabled") + @Expose + public Boolean securityEnabled; + + /** + * The Visibility. + * Specifies the visibility of an Office 365 group. Possible values are: private, public, or hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default. + */ + @SerializedName("visibility") + @Expose + public String visibility; + + /** + * The Allow External Senders. + * Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. + */ + @SerializedName("allowExternalSenders") + @Expose + public Boolean allowExternalSenders; + + /** + * The Auto Subscribe New Members. + * Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. + */ + @SerializedName("autoSubscribeNewMembers") + @Expose + public Boolean autoSubscribeNewMembers; + + /** + * The Is Subscribed By Mail. + * Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. + */ + @SerializedName("isSubscribedByMail") + @Expose + public Boolean isSubscribedByMail; + + /** + * The Unseen Count. + * Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select. + */ + @SerializedName("unseenCount") + @Expose + public Integer unseenCount; + + /** + * The Is Archived. + * + */ + @SerializedName("isArchived") + @Expose + public Boolean isArchived; + + /** + * The Members. + * Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Office 365 groups, security groups and mail-enabled security groups), DELETE (supported for Office 365 groups and security groups) Nullable. + */ + public DirectoryObjectCollectionPage members; + + /** + * The Member Of. + * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. + */ + public DirectoryObjectCollectionPage memberOf; + + /** + * The Transitive Members. + * + */ + public DirectoryObjectCollectionPage transitiveMembers; + + /** + * The Transitive Member Of. + * + */ + public DirectoryObjectCollectionPage transitiveMemberOf; + + /** + * The Created On Behalf Of. + * The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only. + */ + @SerializedName("createdOnBehalfOf") + @Expose + public DirectoryObject createdOnBehalfOf; + + /** + * The Owners. + * The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 10 owners. HTTP Methods: GET (supported for all groups), POST (supported for Office 365 groups, security groups and mail-enabled security groups), DELETE (supported for Office 365 groups and security groups). Nullable. + */ + public DirectoryObjectCollectionPage owners; + + /** + * The Settings. + * Read-only. Nullable. + */ + public GroupSettingCollectionPage settings; + + /** + * The Extensions. + * The collection of open extensions defined for the group. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + /** + * The Threads. + * The group's conversation threads. Nullable. + */ + public ConversationThreadCollectionPage threads; + + /** + * The Calendar. + * The group's calendar. Read-only. + */ + @SerializedName("calendar") + @Expose + public Calendar calendar; + + /** + * The Calendar View. + * The calendar view for the calendar. Read-only. + */ + public EventCollectionPage calendarView; + + /** + * The Events. + * The group's calendar events. + */ + public EventCollectionPage events; + + /** + * The Conversations. + * The group's conversations. + */ + public ConversationCollectionPage conversations; + + /** + * The Photo. + * The group's profile photo + */ + @SerializedName("photo") + @Expose + public ProfilePhoto photo; + + /** + * The Photos. + * The profile photos owned by the group. Read-only. Nullable. + */ + public ProfilePhotoCollectionPage photos; + + /** + * The Accepted Senders. + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + */ + public DirectoryObjectCollectionPage acceptedSenders; + + /** + * The Rejected Senders. + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + */ + public DirectoryObjectCollectionPage rejectedSenders; + + /** + * The Drive. + * The group's default drive. Read-only. + */ + @SerializedName("drive") + @Expose + public Drive drive; + + /** + * The Drives. + * The group's drives. Read-only. + */ + public DriveCollectionPage drives; + + /** + * The Sites. + * The list of SharePoint sites in this group. Access the default site with /sites/root. + */ + public SiteCollectionPage sites; + + /** + * The Planner. + * Entry-point to Planner resource that might exist for a Unified Group. + */ + @SerializedName("planner") + @Expose + public PlannerGroup planner; + + /** + * The Onenote. + * Read-only. + */ + @SerializedName("onenote") + @Expose + public Onenote onenote; + + /** + * The Group Lifecycle Policies. + * The collection of lifecycle policies for this group. Read-only. Nullable. + */ + public GroupLifecyclePolicyCollectionPage groupLifecyclePolicies; + + /** + * The Team. + * + */ + @SerializedName("team") + @Expose + public Team team; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("members")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + members = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("memberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("memberOf@odata.nextLink")) { + response.nextLink = json.get("memberOf@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("memberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + memberOf = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("transitiveMembers")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("transitiveMembers@odata.nextLink")) { + response.nextLink = json.get("transitiveMembers@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMembers").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + transitiveMembers = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("transitiveMemberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("transitiveMemberOf@odata.nextLink")) { + response.nextLink = json.get("transitiveMemberOf@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMemberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + transitiveMemberOf = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("owners")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("owners@odata.nextLink")) { + response.nextLink = json.get("owners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("owners").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + owners = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("settings")) { + final GroupSettingCollectionResponse response = new GroupSettingCollectionResponse(); + if (json.has("settings@odata.nextLink")) { + response.nextLink = json.get("settings@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("settings").toString(), JsonObject[].class); + final GroupSetting[] array = new GroupSetting[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupSetting.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + settings = new GroupSettingCollectionPage(response, null); + } + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("threads")) { + final ConversationThreadCollectionResponse response = new ConversationThreadCollectionResponse(); + if (json.has("threads@odata.nextLink")) { + response.nextLink = json.get("threads@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("threads").toString(), JsonObject[].class); + final ConversationThread[] array = new ConversationThread[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConversationThread.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + threads = new ConversationThreadCollectionPage(response, null); + } + + if (json.has("calendarView")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("calendarView@odata.nextLink")) { + response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendarView = new EventCollectionPage(response, null); + } + + if (json.has("events")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("events@odata.nextLink")) { + response.nextLink = json.get("events@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + events = new EventCollectionPage(response, null); + } + + if (json.has("conversations")) { + final ConversationCollectionResponse response = new ConversationCollectionResponse(); + if (json.has("conversations@odata.nextLink")) { + response.nextLink = json.get("conversations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("conversations").toString(), JsonObject[].class); + final Conversation[] array = new Conversation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Conversation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + conversations = new ConversationCollectionPage(response, null); + } + + if (json.has("photos")) { + final ProfilePhotoCollectionResponse response = new ProfilePhotoCollectionResponse(); + if (json.has("photos@odata.nextLink")) { + response.nextLink = json.get("photos@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("photos").toString(), JsonObject[].class); + final ProfilePhoto[] array = new ProfilePhoto[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ProfilePhoto.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + photos = new ProfilePhotoCollectionPage(response, null); + } + + if (json.has("acceptedSenders")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("acceptedSenders@odata.nextLink")) { + response.nextLink = json.get("acceptedSenders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("acceptedSenders").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + acceptedSenders = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("rejectedSenders")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("rejectedSenders@odata.nextLink")) { + response.nextLink = json.get("rejectedSenders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("rejectedSenders").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + rejectedSenders = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("drives")) { + final DriveCollectionResponse response = new DriveCollectionResponse(); + if (json.has("drives@odata.nextLink")) { + response.nextLink = json.get("drives@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("drives").toString(), JsonObject[].class); + final Drive[] array = new Drive[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Drive.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + drives = new DriveCollectionPage(response, null); + } + + if (json.has("sites")) { + final SiteCollectionResponse response = new SiteCollectionResponse(); + if (json.has("sites@odata.nextLink")) { + response.nextLink = json.get("sites@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sites").toString(), JsonObject[].class); + final Site[] array = new Site[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Site.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sites = new SiteCollectionPage(response, null); + } + + if (json.has("groupLifecyclePolicies")) { + final GroupLifecyclePolicyCollectionResponse response = new GroupLifecyclePolicyCollectionResponse(); + if (json.has("groupLifecyclePolicies@odata.nextLink")) { + response.nextLink = json.get("groupLifecyclePolicies@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupLifecyclePolicies").toString(), JsonObject[].class); + final GroupLifecyclePolicy[] array = new GroupLifecyclePolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupLifecyclePolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + groupLifecyclePolicies = new GroupLifecyclePolicyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/extensions/GroupAssignmentTarget.java index fcddb8179ba..0b5c6b83da5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupAssignmentTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupAssignmentTarget.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.generated.BaseGroupAssignmentTarget; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Assignment Target. */ -public class GroupAssignmentTarget extends BaseGroupAssignmentTarget { +public class GroupAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { + + + /** + * The Group Id. + * The group Id that is the target of the assignment. + */ + @SerializedName("groupId") + @Expose + public String groupId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java index 3b3ea8fc55b..c0523c2775a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java @@ -3,12 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseGroupLifecyclePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy. */ -public class GroupLifecyclePolicy extends BaseGroupLifecyclePolicy { +public class GroupLifecyclePolicy extends Entity implements IJsonBackedObject { + + + /** + * The Group Lifetime In Days. + * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. + */ + @SerializedName("groupLifetimeInDays") + @Expose + public Integer groupLifetimeInDays; + + /** + * The Managed Group Types. + * The group type for which the expiration policy applies. Possible values are All, Selected or None. + */ + @SerializedName("managedGroupTypes") + @Expose + public String managedGroupTypes; + + /** + * The Alternate Notification Emails. + * List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. + */ + @SerializedName("alternateNotificationEmails") + @Expose + public String alternateNotificationEmails; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyAddGroupBody.java b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyAddGroupBody.java index 7368657a407..88e3d9d9972 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyAddGroupBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyAddGroupBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseGroupLifecyclePolicyAddGroupBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Add Group Body. */ -public class GroupLifecyclePolicyAddGroupBody extends BaseGroupLifecyclePolicyAddGroupBody { +public class GroupLifecyclePolicyAddGroupBody { + /** + * The group Id. + * + */ + @SerializedName("groupId") + @Expose + public String groupId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyRemoveGroupBody.java b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyRemoveGroupBody.java index 83d014e6e54..ac9d8cd85d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyRemoveGroupBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicyRemoveGroupBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseGroupLifecyclePolicyRemoveGroupBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Remove Group Body. */ -public class GroupLifecyclePolicyRemoveGroupBody extends BaseGroupLifecyclePolicyRemoveGroupBody { +public class GroupLifecyclePolicyRemoveGroupBody { + /** + * The group Id. + * + */ + @SerializedName("groupId") + @Expose + public String groupId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupSetting.java b/src/main/java/com/microsoft/graph/models/extensions/GroupSetting.java index 2ed45884250..96d71dde8a6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupSetting.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.SettingValue; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseGroupSetting; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting. */ -public class GroupSetting extends BaseGroupSetting { +public class GroupSetting extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Display name of this group of settings, which comes from the associated template. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Template Id. + * Unique identifier for the template used to create this group of settings. Read-only. + */ + @SerializedName("templateId") + @Expose + public String templateId; + + /** + * The Values. + * Collection of name value pairs. Must contain and set all the settings defined in the template. + */ + @SerializedName("values") + @Expose + public java.util.List values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupSettingTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/GroupSettingTemplate.java index 9881b2f0dac..99c2eb7bf8b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupSettingTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupSettingTemplate.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.SettingTemplateValue; +import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.generated.BaseGroupSettingTemplate; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Template. */ -public class GroupSettingTemplate extends BaseGroupSettingTemplate { +public class GroupSettingTemplate extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Display Name. + * Display name of the template. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Description of the template. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Values. + * Collection of settingTemplateValues that list the set of available settings, defaults and types that make up this template. + */ + @SerializedName("values") + @Expose + public java.util.List values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Hashes.java b/src/main/java/com/microsoft/graph/models/extensions/Hashes.java index a01ca08dc78..b7fdeece506 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Hashes.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Hashes.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseHashes; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Hashes. */ -public class Hashes extends BaseHashes { +public class Hashes implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Crc32Hash. + * The CRC32 value of the file in little endian (if available). Read-only. + */ + @SerializedName("crc32Hash") + @Expose + public String crc32Hash; + + /** + * The Quick Xor Hash. + * A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only. + */ + @SerializedName("quickXorHash") + @Expose + public String quickXorHash; + + /** + * The Sha1Hash. + * SHA1 hash for the contents of the file (if available). Read-only. + */ + @SerializedName("sha1Hash") + @Expose + public String sha1Hash; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/HostSecurityState.java b/src/main/java/com/microsoft/graph/models/extensions/HostSecurityState.java index b73944eb5ab..b006cefc64c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/HostSecurityState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/HostSecurityState.java @@ -3,12 +3,149 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseHostSecurityState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Host Security State. */ -public class HostSecurityState extends BaseHostSecurityState { +public class HostSecurityState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Fqdn. + * Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com). + */ + @SerializedName("fqdn") + @Expose + public String fqdn; + + /** + * The Is Azure Ad Joined. + * + */ + @SerializedName("isAzureAdJoined") + @Expose + public Boolean isAzureAdJoined; + + /** + * The Is Azure Ad Registered. + * + */ + @SerializedName("isAzureAdRegistered") + @Expose + public Boolean isAzureAdRegistered; + + /** + * The Is Hybrid Azure Domain Joined. + * True if the host is domain joined to an on-premises Active Directory domain. + */ + @SerializedName("isHybridAzureDomainJoined") + @Expose + public Boolean isHybridAzureDomainJoined; + + /** + * The Net Bios Name. + * The local host name, without the DNS domain name. + */ + @SerializedName("netBiosName") + @Expose + public String netBiosName; + + /** + * The Os. + * Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). + */ + @SerializedName("os") + @Expose + public String os; + + /** + * The Private Ip Address. + * Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert. + */ + @SerializedName("privateIpAddress") + @Expose + public String privateIpAddress; + + /** + * The Public Ip Address. + * Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert. + */ + @SerializedName("publicIpAddress") + @Expose + public String publicIpAddress; + + /** + * The Risk Score. + * Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage. + */ + @SerializedName("riskScore") + @Expose + public String riskScore; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/generated/IBaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java similarity index 99% rename from src/main/java/com/microsoft/graph/models/generated/IBaseGraphServiceClient.java rename to src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java index b6288c7f026..f916c178bf8 100644 --- a/src/main/java/com/microsoft/graph/models/generated/IBaseGraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java @@ -2,7 +2,7 @@ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ -package com.microsoft.graph.models.generated; +package com.microsoft.graph.models.extensions; import com.microsoft.graph.concurrency.*; import com.microsoft.graph.core.*; @@ -10,7 +10,6 @@ import com.microsoft.graph.models.generated.*; import com.microsoft.graph.http.*; import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; import com.microsoft.graph.options.*; import com.microsoft.graph.serializer.*; diff --git a/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java b/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java index 6a4ce569f59..2c14343471d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java @@ -4,18 +4,27 @@ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; import com.google.gson.JsonObject; -import com.microsoft.graph.models.generated.IBaseGraphServiceClient; -import com.microsoft.graph.requests.extensions.CustomRequestBuilder; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Graph Service Client. */ public interface IGraphServiceClient extends IBaseGraphServiceClient { + + CustomRequestBuilder customRequest(final String url, final Class responseType); - CustomRequestBuilder customRequest(final String url, final Class responseType); - - CustomRequestBuilder customRequest(final String url); + CustomRequestBuilder customRequest(final String url); } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IPv4Range.java b/src/main/java/com/microsoft/graph/models/extensions/IPv4Range.java index 398e54d1621..81522555790 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IPv4Range.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IPv4Range.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IpRange; -import com.microsoft.graph.models.generated.BaseIPv4Range; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the IPv4Range. */ -public class IPv4Range extends BaseIPv4Range { +public class IPv4Range extends IpRange implements IJsonBackedObject { + + + /** + * The Lower Address. + * Lower IP Address + */ + @SerializedName("lowerAddress") + @Expose + public String lowerAddress; + + /** + * The Upper Address. + * Upper IP Address + */ + @SerializedName("upperAddress") + @Expose + public String upperAddress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IPv6Range.java b/src/main/java/com/microsoft/graph/models/extensions/IPv6Range.java index 88b2e41c91e..5678b827fe9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IPv6Range.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IPv6Range.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IpRange; -import com.microsoft.graph.models.generated.BaseIPv6Range; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the IPv6Range. */ -public class IPv6Range extends BaseIPv6Range { +public class IPv6Range extends IpRange implements IJsonBackedObject { + + + /** + * The Lower Address. + * Lower IP Address + */ + @SerializedName("lowerAddress") + @Expose + public String lowerAddress; + + /** + * The Upper Address. + * Upper IP Address + */ + @SerializedName("upperAddress") + @Expose + public String upperAddress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Identity.java b/src/main/java/com/microsoft/graph/models/extensions/Identity.java index ca861a71c9e..2e35f2210fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Identity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Identity.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseIdentity; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Identity. */ -public class Identity extends BaseIdentity { +public class Identity implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Id. + * Unique identifier for the identity. + */ + @SerializedName("id") + @Expose + public String id; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IdentitySet.java b/src/main/java/com/microsoft/graph/models/extensions/IdentitySet.java index 8e363ce6b07..f9b0be26551 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IdentitySet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IdentitySet.java @@ -3,14 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Identity; -import com.microsoft.graph.models.generated.BaseIdentitySet; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Identity Set. */ -public class IdentitySet extends BaseIdentitySet { +public class IdentitySet implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Application. + * Optional. The application associated with this action. + */ + @SerializedName("application") + @Expose + public Identity application; + + /** + * The Device. + * Optional. The device associated with this action. + */ + @SerializedName("device") + @Expose + public Identity device; + + /** + * The User. + * Optional. The user associated with this action. + */ + @SerializedName("user") + @Expose + public Identity user; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Image.java b/src/main/java/com/microsoft/graph/models/extensions/Image.java index 642d0612179..98ef96ddd23 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Image.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Image.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseImage; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Image. */ -public class Image extends BaseImage { +public class Image implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Height. + * Optional. Height of the image, in pixels. Read-only. + */ + @SerializedName("height") + @Expose + public Integer height; + + /** + * The Width. + * Optional. Width of the image, in pixels. Read-only. + */ + @SerializedName("width") + @Expose + public Integer width; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java index b9e4b2e45b6..3697b3afd5d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseImageInfo; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Image Info. */ -public class ImageInfo extends BaseImageInfo { +public class ImageInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Icon Url. + * Optional; URI that points to an icon which represents the application used to generate the activity + */ + @SerializedName("iconUrl") + @Expose + public String iconUrl; + + /** + * The Alternative Text. + * + */ + @SerializedName("alternativeText") + @Expose + public String alternativeText; + + /** + * The Alternate Text. + * Optional; alt-text accessible content for the image + */ + @SerializedName("alternateText") + @Expose + public String alternateText; + + /** + * The Add Image Query. + * Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image + */ + @SerializedName("addImageQuery") + @Expose + public Boolean addImageQuery; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/InferenceClassification.java b/src/main/java/com/microsoft/graph/models/extensions/InferenceClassification.java index 819ccc4cbd7..479e399f2c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InferenceClassification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InferenceClassification.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.InferenceClassificationOverride; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideCollectionResponse; +import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideCollectionPage; -import com.microsoft.graph.models.generated.BaseInferenceClassification; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification. */ -public class InferenceClassification extends BaseInferenceClassification { +public class InferenceClassification extends Entity implements IJsonBackedObject { + + + /** + * The Overrides. + * A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. + */ + public InferenceClassificationOverrideCollectionPage overrides; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("overrides")) { + final InferenceClassificationOverrideCollectionResponse response = new InferenceClassificationOverrideCollectionResponse(); + if (json.has("overrides@odata.nextLink")) { + response.nextLink = json.get("overrides@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("overrides").toString(), JsonObject[].class); + final InferenceClassificationOverride[] array = new InferenceClassificationOverride[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), InferenceClassificationOverride.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + overrides = new InferenceClassificationOverrideCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/InferenceClassificationOverride.java b/src/main/java/com/microsoft/graph/models/extensions/InferenceClassificationOverride.java index 035302a02a4..fe986fcc71d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InferenceClassificationOverride.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InferenceClassificationOverride.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.InferenceClassificationType; +import com.microsoft.graph.models.extensions.EmailAddress; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseInferenceClassificationOverride; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Override. */ -public class InferenceClassificationOverride extends BaseInferenceClassificationOverride { +public class InferenceClassificationOverride extends Entity implements IJsonBackedObject { + + + /** + * The Classify As. + * Specifies how incoming messages from a specific sender should always be classified as. The possible values are: focused, other. + */ + @SerializedName("classifyAs") + @Expose + public InferenceClassificationType classifyAs; + + /** + * The Sender Email Address. + * The email address information of the sender for whom the override is created. + */ + @SerializedName("senderEmailAddress") + @Expose + public EmailAddress senderEmailAddress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java index 15047db7a3a..d86fb665477 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseInsightIdentity; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Insight Identity. */ -public class InsightIdentity extends BaseInsightIdentity { +public class InsightIdentity implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Id. + * + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Address. + * + */ + @SerializedName("address") + @Expose + public String address; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/InternetMessageHeader.java b/src/main/java/com/microsoft/graph/models/extensions/InternetMessageHeader.java index b3fcba8bfb5..9e24af436e6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InternetMessageHeader.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InternetMessageHeader.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseInternetMessageHeader; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Internet Message Header. */ -public class InternetMessageHeader extends BaseInternetMessageHeader { +public class InternetMessageHeader implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * Represents the key in a key-value pair. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Value. + * The value in a key-value pair. + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java b/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java index 616e558b703..fcc6e6aa619 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java @@ -3,12 +3,191 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RgbColor; +import com.microsoft.graph.models.extensions.MimeContent; -import com.microsoft.graph.models.generated.BaseIntuneBrand; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Intune Brand. */ -public class IntuneBrand extends BaseIntuneBrand { +public class IntuneBrand implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Company/organization name that is displayed to end users. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Contact ITName. + * Name of the person/organization responsible for IT support. + */ + @SerializedName("contactITName") + @Expose + public String contactITName; + + /** + * The Contact ITPhone Number. + * Phone number of the person/organization responsible for IT support. + */ + @SerializedName("contactITPhoneNumber") + @Expose + public String contactITPhoneNumber; + + /** + * The Contact ITEmail Address. + * Email address of the person/organization responsible for IT support. + */ + @SerializedName("contactITEmailAddress") + @Expose + public String contactITEmailAddress; + + /** + * The Contact ITNotes. + * Text comments regarding the person/organization responsible for IT support. + */ + @SerializedName("contactITNotes") + @Expose + public String contactITNotes; + + /** + * The Privacy Url. + * URL to the company/organization’s privacy policy. + */ + @SerializedName("privacyUrl") + @Expose + public String privacyUrl; + + /** + * The Online Support Site Url. + * URL to the company/organization’s IT helpdesk site. + */ + @SerializedName("onlineSupportSiteUrl") + @Expose + public String onlineSupportSiteUrl; + + /** + * The Online Support Site Name. + * Display name of the company/organization’s IT helpdesk site. + */ + @SerializedName("onlineSupportSiteName") + @Expose + public String onlineSupportSiteName; + + /** + * The Theme Color. + * Primary theme color used in the Company Portal applications and web portal. + */ + @SerializedName("themeColor") + @Expose + public RgbColor themeColor; + + /** + * The Show Logo. + * Boolean that represents whether the administrator-supplied logo images are shown or not shown. + */ + @SerializedName("showLogo") + @Expose + public Boolean showLogo; + + /** + * The Light Background Logo. + * Logo image displayed in Company Portal apps which have a light background behind the logo. + */ + @SerializedName("lightBackgroundLogo") + @Expose + public MimeContent lightBackgroundLogo; + + /** + * The Dark Background Logo. + * Logo image displayed in Company Portal apps which have a dark background behind the logo. + */ + @SerializedName("darkBackgroundLogo") + @Expose + public MimeContent darkBackgroundLogo; + + /** + * The Show Name Next To Logo. + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + */ + @SerializedName("showNameNextToLogo") + @Expose + public Boolean showNameNextToLogo; + + /** + * The Show Display Name Next To Logo. + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + */ + @SerializedName("showDisplayNameNextToLogo") + @Expose + public Boolean showDisplayNameNextToLogo; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Invitation.java b/src/main/java/com/microsoft/graph/models/extensions/Invitation.java index 7e8e91d077c..4cb4e89fd72 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Invitation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Invitation.java @@ -3,14 +3,142 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.InvitedUserMessageInfo; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseInvitation; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invitation. */ -public class Invitation extends BaseInvitation { +public class Invitation extends Entity implements IJsonBackedObject { + + + /** + * The Invited User Display Name. + * The display name of the user being invited. + */ + @SerializedName("invitedUserDisplayName") + @Expose + public String invitedUserDisplayName; + + /** + * The Invited User Type. + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. + */ + @SerializedName("invitedUserType") + @Expose + public String invitedUserType; + + /** + * The Invited User Email Address. + * The email address of the user being invited. Required. + */ + @SerializedName("invitedUserEmailAddress") + @Expose + public String invitedUserEmailAddress; + + /** + * The Invited User Message Info. + * Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. + */ + @SerializedName("invitedUserMessageInfo") + @Expose + public InvitedUserMessageInfo invitedUserMessageInfo; + + /** + * The Send Invitation Message. + * Indicates whether an email should be sent to the user being invited or not. The default is false. + */ + @SerializedName("sendInvitationMessage") + @Expose + public Boolean sendInvitationMessage; + + /** + * The Invite Redirect Url. + * The URL user should be redirected to once the invitation is redeemed. Required. + */ + @SerializedName("inviteRedirectUrl") + @Expose + public String inviteRedirectUrl; + + /** + * The Invite Redeem Url. + * The URL user can use to redeem his invitation. Read-Only + */ + @SerializedName("inviteRedeemUrl") + @Expose + public String inviteRedeemUrl; + + /** + * The Status. + * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + */ + @SerializedName("status") + @Expose + public String status; + + /** + * The Invited User. + * The user created as part of the invitation creation. Read-Only + */ + @SerializedName("invitedUser") + @Expose + public User invitedUser; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java b/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java index b34004f45d7..72de54250f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java @@ -3,14 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.generated.BaseInvitedUserMessageInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invited User Message Info. */ -public class InvitedUserMessageInfo extends BaseInvitedUserMessageInfo { +public class InvitedUserMessageInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Cc Recipients. + * Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. + */ + @SerializedName("ccRecipients") + @Expose + public java.util.List ccRecipients; + + /** + * The Message Language. + * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. + */ + @SerializedName("messageLanguage") + @Expose + public String messageLanguage; + + /** + * The Customized Message Body. + * Customized message body you want to send if you don't want the default message. + */ + @SerializedName("customizedMessageBody") + @Expose + public String customizedMessageBody; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfile.java index 7a6a41e7994..0b4b2d3f855 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfile.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseIosCertificateProfile; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Certificate Profile. */ -public class IosCertificateProfile extends BaseIosCertificateProfile { +public class IosCertificateProfile extends DeviceConfiguration implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java index 95a2fa1c80d..330a019ea11 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java @@ -3,12 +3,182 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseIosCompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Compliance Policy. */ -public class IosCompliancePolicy extends BaseIosCompliancePolicy { +public class IosCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Passcode Block Simple. + * Indicates whether or not to block simple passcodes. + */ + @SerializedName("passcodeBlockSimple") + @Expose + public Boolean passcodeBlockSimple; + + /** + * The Passcode Expiration Days. + * Number of days before the passcode expires. Valid values 1 to 65535 + */ + @SerializedName("passcodeExpirationDays") + @Expose + public Integer passcodeExpirationDays; + + /** + * The Passcode Minimum Length. + * Minimum length of passcode. Valid values 4 to 14 + */ + @SerializedName("passcodeMinimumLength") + @Expose + public Integer passcodeMinimumLength; + + /** + * The Passcode Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a passcode is required. + */ + @SerializedName("passcodeMinutesOfInactivityBeforeLock") + @Expose + public Integer passcodeMinutesOfInactivityBeforeLock; + + /** + * The Passcode Previous Passcode Block Count. + * Number of previous passcodes to block. Valid values 1 to 24 + */ + @SerializedName("passcodePreviousPasscodeBlockCount") + @Expose + public Integer passcodePreviousPasscodeBlockCount; + + /** + * The Passcode Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passcodeMinimumCharacterSetCount") + @Expose + public Integer passcodeMinimumCharacterSetCount; + + /** + * The Passcode Required Type. + * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passcodeRequiredType") + @Expose + public RequiredPasswordType passcodeRequiredType; + + /** + * The Passcode Required. + * Indicates whether or not to require a passcode. + */ + @SerializedName("passcodeRequired") + @Expose + public Boolean passcodeRequired; + + /** + * The Os Minimum Version. + * Minimum IOS version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum IOS version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Security Block Jailbroken Devices. + * Devices must not be jailbroken or rooted. + */ + @SerializedName("securityBlockJailbrokenDevices") + @Expose + public Boolean securityBlockJailbrokenDevices; + + /** + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection . + */ + @SerializedName("deviceThreatProtectionEnabled") + @Expose + public Boolean deviceThreatProtectionEnabled; + + /** + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + */ + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @Expose + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + + /** + * The Managed Email Profile Required. + * Indicates whether or not to require a managed email profile. + */ + @SerializedName("managedEmailProfileRequired") + @Expose + public Boolean managedEmailProfileRequired; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java index caff1611567..be1b073e1bb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java @@ -3,12 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseIosCustomConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Custom Configuration. */ -public class IosCustomConfiguration extends BaseIosCustomConfiguration { +public class IosCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Payload Name. + * Name that is displayed to the user. + */ + @SerializedName("payloadName") + @Expose + public String payloadName; + + /** + * The Payload File Name. + * Payload file name (.mobileconfig + */ + @SerializedName("payloadFileName") + @Expose + public String payloadFileName; + + /** + * The Payload. + * Payload. (UTF8 encoded byte array) + */ + @SerializedName("payload") + @Expose + public byte[] payload; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java index 694a4b742d1..36284bc106f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java @@ -3,12 +3,111 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosHomeScreenItem; +import com.microsoft.graph.models.extensions.IosHomeScreenPage; +import com.microsoft.graph.models.extensions.IosNotificationSettings; +import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; -import com.microsoft.graph.models.generated.BaseIosDeviceFeaturesConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Device Features Configuration. */ -public class IosDeviceFeaturesConfiguration extends BaseIosDeviceFeaturesConfiguration { +public class IosDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigurationBase implements IJsonBackedObject { + + + /** + * The Asset Tag Template. + * Asset tag information for the device, displayed on the login window and lock screen. + */ + @SerializedName("assetTagTemplate") + @Expose + public String assetTagTemplate; + + /** + * The Lock Screen Footnote. + * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. + */ + @SerializedName("lockScreenFootnote") + @Expose + public String lockScreenFootnote; + + /** + * The Home Screen Dock Icons. + * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. + */ + @SerializedName("homeScreenDockIcons") + @Expose + public java.util.List homeScreenDockIcons; + + /** + * The Home Screen Pages. + * A list of pages on the Home Screen. This collection can contain a maximum of 500 elements. + */ + @SerializedName("homeScreenPages") + @Expose + public java.util.List homeScreenPages; + + /** + * The Notification Settings. + * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. + */ + @SerializedName("notificationSettings") + @Expose + public java.util.List notificationSettings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosDeviceType.java b/src/main/java/com/microsoft/graph/models/extensions/IosDeviceType.java index ed476fe094f..5f23cd79450 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosDeviceType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosDeviceType.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseIosDeviceType; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Device Type. */ -public class IosDeviceType extends BaseIosDeviceType { +public class IosDeviceType implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The IPad. + * Whether the app should run on iPads. + */ + @SerializedName("iPad") + @Expose + public Boolean iPad; + + /** + * The IPhone And IPod. + * Whether the app should run on iPhones and iPods. + */ + @SerializedName("iPhoneAndIPod") + @Expose + public Boolean iPhoneAndIPod; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java index a2231ca1dc5..61760de504b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java @@ -3,12 +3,1131 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppListItem; +import com.microsoft.graph.models.generated.AppListType; +import com.microsoft.graph.models.extensions.MediaContentRatingAustralia; +import com.microsoft.graph.models.extensions.MediaContentRatingCanada; +import com.microsoft.graph.models.extensions.MediaContentRatingFrance; +import com.microsoft.graph.models.extensions.MediaContentRatingGermany; +import com.microsoft.graph.models.extensions.MediaContentRatingIreland; +import com.microsoft.graph.models.extensions.MediaContentRatingJapan; +import com.microsoft.graph.models.extensions.MediaContentRatingNewZealand; +import com.microsoft.graph.models.extensions.MediaContentRatingUnitedKingdom; +import com.microsoft.graph.models.extensions.MediaContentRatingUnitedStates; +import com.microsoft.graph.models.extensions.IosNetworkUsageRule; +import com.microsoft.graph.models.generated.RatingAppsType; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.generated.WebBrowserCookieSettings; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseIosGeneralDeviceConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios General Device Configuration. */ -public class IosGeneralDeviceConfiguration extends BaseIosGeneralDeviceConfiguration { +public class IosGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Account Block Modification. + * Indicates whether or not to allow account modification when the device is in supervised mode. + */ + @SerializedName("accountBlockModification") + @Expose + public Boolean accountBlockModification; + + /** + * The Activation Lock Allow When Supervised. + * Indicates whether or not to allow activation lock when the device is in the supervised mode. + */ + @SerializedName("activationLockAllowWhenSupervised") + @Expose + public Boolean activationLockAllowWhenSupervised; + + /** + * The Air Drop Blocked. + * Indicates whether or not to allow AirDrop when the device is in supervised mode. + */ + @SerializedName("airDropBlocked") + @Expose + public Boolean airDropBlocked; + + /** + * The Air Drop Force Unmanaged Drop Target. + * Indicates whether or not to cause AirDrop to be considered an unmanaged drop target (iOS 9.0 and later). + */ + @SerializedName("airDropForceUnmanagedDropTarget") + @Expose + public Boolean airDropForceUnmanagedDropTarget; + + /** + * The Air Play Force Pairing Password For Outgoing Requests. + * Indicates whether or not to enforce all devices receiving AirPlay requests from this device to use a pairing password. + */ + @SerializedName("airPlayForcePairingPasswordForOutgoingRequests") + @Expose + public Boolean airPlayForcePairingPasswordForOutgoingRequests; + + /** + * The Apple Watch Block Pairing. + * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). + */ + @SerializedName("appleWatchBlockPairing") + @Expose + public Boolean appleWatchBlockPairing; + + /** + * The Apple Watch Force Wrist Detection. + * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). + */ + @SerializedName("appleWatchForceWristDetection") + @Expose + public Boolean appleWatchForceWristDetection; + + /** + * The Apple News Blocked. + * Indicates whether or not to block the user from using News when the device is in supervised mode (iOS 9.0 and later). + */ + @SerializedName("appleNewsBlocked") + @Expose + public Boolean appleNewsBlocked; + + /** + * The Apps Single App Mode List. + * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsSingleAppModeList") + @Expose + public java.util.List appsSingleAppModeList; + + /** + * The Apps Visibility List. + * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("appsVisibilityList") + @Expose + public java.util.List appsVisibilityList; + + /** + * The Apps Visibility List Type. + * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("appsVisibilityListType") + @Expose + public AppListType appsVisibilityListType; + + /** + * The App Store Block Automatic Downloads. + * Indicates whether or not to block the automatic downloading of apps purchased on other devices when the device is in supervised mode (iOS 9.0 and later). + */ + @SerializedName("appStoreBlockAutomaticDownloads") + @Expose + public Boolean appStoreBlockAutomaticDownloads; + + /** + * The App Store Blocked. + * Indicates whether or not to block the user from using the App Store. + */ + @SerializedName("appStoreBlocked") + @Expose + public Boolean appStoreBlocked; + + /** + * The App Store Block In App Purchases. + * Indicates whether or not to block the user from making in app purchases. + */ + @SerializedName("appStoreBlockInAppPurchases") + @Expose + public Boolean appStoreBlockInAppPurchases; + + /** + * The App Store Block UIApp Installation. + * Indicates whether or not to block the App Store app, not restricting installation through Host apps. Applies to supervised mode only (iOS 9.0 and later). + */ + @SerializedName("appStoreBlockUIAppInstallation") + @Expose + public Boolean appStoreBlockUIAppInstallation; + + /** + * The App Store Require Password. + * Indicates whether or not to require a password when using the app store. + */ + @SerializedName("appStoreRequirePassword") + @Expose + public Boolean appStoreRequirePassword; + + /** + * The Bluetooth Block Modification. + * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). + */ + @SerializedName("bluetoothBlockModification") + @Expose + public Boolean bluetoothBlockModification; + + /** + * The Camera Blocked. + * Indicates whether or not to block the user from accessing the camera of the device. + */ + @SerializedName("cameraBlocked") + @Expose + public Boolean cameraBlocked; + + /** + * The Cellular Block Data Roaming. + * Indicates whether or not to block data roaming. + */ + @SerializedName("cellularBlockDataRoaming") + @Expose + public Boolean cellularBlockDataRoaming; + + /** + * The Cellular Block Global Background Fetch While Roaming. + * Indicates whether or not to block global background fetch while roaming. + */ + @SerializedName("cellularBlockGlobalBackgroundFetchWhileRoaming") + @Expose + public Boolean cellularBlockGlobalBackgroundFetchWhileRoaming; + + /** + * The Cellular Block Per App Data Modification. + * Indicates whether or not to allow changes to cellular app data usage settings when the device is in supervised mode. + */ + @SerializedName("cellularBlockPerAppDataModification") + @Expose + public Boolean cellularBlockPerAppDataModification; + + /** + * The Cellular Block Personal Hotspot. + * Indicates whether or not to block Personal Hotspot. + */ + @SerializedName("cellularBlockPersonalHotspot") + @Expose + public Boolean cellularBlockPersonalHotspot; + + /** + * The Cellular Block Voice Roaming. + * Indicates whether or not to block voice roaming. + */ + @SerializedName("cellularBlockVoiceRoaming") + @Expose + public Boolean cellularBlockVoiceRoaming; + + /** + * The Certificates Block Untrusted Tls Certificates. + * Indicates whether or not to block untrusted TLS certificates. + */ + @SerializedName("certificatesBlockUntrustedTlsCertificates") + @Expose + public Boolean certificatesBlockUntrustedTlsCertificates; + + /** + * The Classroom App Block Remote Screen Observation. + * Indicates whether or not to allow remote screen observation by Classroom app when the device is in supervised mode (iOS 9.3 and later). + */ + @SerializedName("classroomAppBlockRemoteScreenObservation") + @Expose + public Boolean classroomAppBlockRemoteScreenObservation; + + /** + * The Classroom App Force Unprompted Screen Observation. + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting when the device is in supervised mode. + */ + @SerializedName("classroomAppForceUnpromptedScreenObservation") + @Expose + public Boolean classroomAppForceUnpromptedScreenObservation; + + /** + * The Compliant Apps List. + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("compliantAppsList") + @Expose + public java.util.List compliantAppsList; + + /** + * The Compliant App List Type. + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("compliantAppListType") + @Expose + public AppListType compliantAppListType; + + /** + * The Configuration Profile Block Changes. + * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. + */ + @SerializedName("configurationProfileBlockChanges") + @Expose + public Boolean configurationProfileBlockChanges; + + /** + * The Definition Lookup Blocked. + * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). + */ + @SerializedName("definitionLookupBlocked") + @Expose + public Boolean definitionLookupBlocked; + + /** + * The Device Block Enable Restrictions. + * Indicates whether or not to allow the user to enables restrictions in the device settings when the device is in supervised mode. + */ + @SerializedName("deviceBlockEnableRestrictions") + @Expose + public Boolean deviceBlockEnableRestrictions; + + /** + * The Device Block Erase Content And Settings. + * Indicates whether or not to allow the use of the 'Erase all content and settings' option on the device when the device is in supervised mode. + */ + @SerializedName("deviceBlockEraseContentAndSettings") + @Expose + public Boolean deviceBlockEraseContentAndSettings; + + /** + * The Device Block Name Modification. + * Indicates whether or not to allow device name modification when the device is in supervised mode (iOS 9.0 and later). + */ + @SerializedName("deviceBlockNameModification") + @Expose + public Boolean deviceBlockNameModification; + + /** + * The Diagnostic Data Block Submission. + * Indicates whether or not to block diagnostic data submission. + */ + @SerializedName("diagnosticDataBlockSubmission") + @Expose + public Boolean diagnosticDataBlockSubmission; + + /** + * The Diagnostic Data Block Submission Modification. + * Indicates whether or not to allow diagnostics submission settings modification when the device is in supervised mode (iOS 9.3.2 and later). + */ + @SerializedName("diagnosticDataBlockSubmissionModification") + @Expose + public Boolean diagnosticDataBlockSubmissionModification; + + /** + * The Documents Block Managed Documents In Unmanaged Apps. + * Indicates whether or not to block the user from viewing managed documents in unmanaged apps. + */ + @SerializedName("documentsBlockManagedDocumentsInUnmanagedApps") + @Expose + public Boolean documentsBlockManagedDocumentsInUnmanagedApps; + + /** + * The Documents Block Unmanaged Documents In Managed Apps. + * Indicates whether or not to block the user from viewing unmanaged documents in managed apps. + */ + @SerializedName("documentsBlockUnmanagedDocumentsInManagedApps") + @Expose + public Boolean documentsBlockUnmanagedDocumentsInManagedApps; + + /** + * The Email In Domain Suffixes. + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + */ + @SerializedName("emailInDomainSuffixes") + @Expose + public java.util.List emailInDomainSuffixes; + + /** + * The Enterprise App Block Trust. + * Indicates whether or not to block the user from trusting an enterprise app. + */ + @SerializedName("enterpriseAppBlockTrust") + @Expose + public Boolean enterpriseAppBlockTrust; + + /** + * The Enterprise App Block Trust Modification. + * Indicates whether or not to block the user from modifying the enterprise app trust settings. + */ + @SerializedName("enterpriseAppBlockTrustModification") + @Expose + public Boolean enterpriseAppBlockTrustModification; + + /** + * The Face Time Blocked. + * Indicates whether or not to block the user from using FaceTime. + */ + @SerializedName("faceTimeBlocked") + @Expose + public Boolean faceTimeBlocked; + + /** + * The Find My Friends Blocked. + * Indicates whether or not to block Find My Friends when the device is in supervised mode. + */ + @SerializedName("findMyFriendsBlocked") + @Expose + public Boolean findMyFriendsBlocked; + + /** + * The Gaming Block Game Center Friends. + * Indicates whether or not to block the user from having friends in Game Center. + */ + @SerializedName("gamingBlockGameCenterFriends") + @Expose + public Boolean gamingBlockGameCenterFriends; + + /** + * The Gaming Block Multiplayer. + * Indicates whether or not to block the user from using multiplayer gaming. + */ + @SerializedName("gamingBlockMultiplayer") + @Expose + public Boolean gamingBlockMultiplayer; + + /** + * The Game Center Blocked. + * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. + */ + @SerializedName("gameCenterBlocked") + @Expose + public Boolean gameCenterBlocked; + + /** + * The Host Pairing Blocked. + * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. + */ + @SerializedName("hostPairingBlocked") + @Expose + public Boolean hostPairingBlocked; + + /** + * The IBooks Store Blocked. + * Indicates whether or not to block the user from using the iBooks Store when the device is in supervised mode. + */ + @SerializedName("iBooksStoreBlocked") + @Expose + public Boolean iBooksStoreBlocked; + + /** + * The IBooks Store Block Erotica. + * Indicates whether or not to block the user from downloading media from the iBookstore that has been tagged as erotica. + */ + @SerializedName("iBooksStoreBlockErotica") + @Expose + public Boolean iBooksStoreBlockErotica; + + /** + * The ICloud Block Activity Continuation. + * Indicates whether or not to block the the user from continuing work they started on iOS device to another iOS or macOS device. + */ + @SerializedName("iCloudBlockActivityContinuation") + @Expose + public Boolean iCloudBlockActivityContinuation; + + /** + * The ICloud Block Backup. + * Indicates whether or not to block iCloud backup. + */ + @SerializedName("iCloudBlockBackup") + @Expose + public Boolean iCloudBlockBackup; + + /** + * The ICloud Block Document Sync. + * Indicates whether or not to block iCloud document sync. + */ + @SerializedName("iCloudBlockDocumentSync") + @Expose + public Boolean iCloudBlockDocumentSync; + + /** + * The ICloud Block Managed Apps Sync. + * Indicates whether or not to block Managed Apps Cloud Sync. + */ + @SerializedName("iCloudBlockManagedAppsSync") + @Expose + public Boolean iCloudBlockManagedAppsSync; + + /** + * The ICloud Block Photo Library. + * Indicates whether or not to block iCloud Photo Library. + */ + @SerializedName("iCloudBlockPhotoLibrary") + @Expose + public Boolean iCloudBlockPhotoLibrary; + + /** + * The ICloud Block Photo Stream Sync. + * Indicates whether or not to block iCloud Photo Stream Sync. + */ + @SerializedName("iCloudBlockPhotoStreamSync") + @Expose + public Boolean iCloudBlockPhotoStreamSync; + + /** + * The ICloud Block Shared Photo Stream. + * Indicates whether or not to block Shared Photo Stream. + */ + @SerializedName("iCloudBlockSharedPhotoStream") + @Expose + public Boolean iCloudBlockSharedPhotoStream; + + /** + * The ICloud Require Encrypted Backup. + * Indicates whether or not to require backups to iCloud be encrypted. + */ + @SerializedName("iCloudRequireEncryptedBackup") + @Expose + public Boolean iCloudRequireEncryptedBackup; + + /** + * The ITunes Block Explicit Content. + * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. + */ + @SerializedName("iTunesBlockExplicitContent") + @Expose + public Boolean iTunesBlockExplicitContent; + + /** + * The ITunes Block Music Service. + * Indicates whether or not to block Music service and revert Music app to classic mode when the device is in supervised mode (iOS 9.3 and later and macOS 10.12 and later). + */ + @SerializedName("iTunesBlockMusicService") + @Expose + public Boolean iTunesBlockMusicService; + + /** + * The ITunes Block Radio. + * Indicates whether or not to block the user from using iTunes Radio when the device is in supervised mode (iOS 9.3 and later). + */ + @SerializedName("iTunesBlockRadio") + @Expose + public Boolean iTunesBlockRadio; + + /** + * The Keyboard Block Auto Correct. + * Indicates whether or not to block keyboard auto-correction when the device is in supervised mode (iOS 8.1.3 and later). + */ + @SerializedName("keyboardBlockAutoCorrect") + @Expose + public Boolean keyboardBlockAutoCorrect; + + /** + * The Keyboard Block Dictation. + * Indicates whether or not to block the user from using dictation input when the device is in supervised mode. + */ + @SerializedName("keyboardBlockDictation") + @Expose + public Boolean keyboardBlockDictation; + + /** + * The Keyboard Block Predictive. + * Indicates whether or not to block predictive keyboards when device is in supervised mode (iOS 8.1.3 and later). + */ + @SerializedName("keyboardBlockPredictive") + @Expose + public Boolean keyboardBlockPredictive; + + /** + * The Keyboard Block Shortcuts. + * Indicates whether or not to block keyboard shortcuts when the device is in supervised mode (iOS 9.0 and later). + */ + @SerializedName("keyboardBlockShortcuts") + @Expose + public Boolean keyboardBlockShortcuts; + + /** + * The Keyboard Block Spell Check. + * Indicates whether or not to block keyboard spell-checking when the device is in supervised mode (iOS 8.1.3 and later). + */ + @SerializedName("keyboardBlockSpellCheck") + @Expose + public Boolean keyboardBlockSpellCheck; + + /** + * The Kiosk Mode Allow Assistive Speak. + * Indicates whether or not to allow assistive speak while in kiosk mode. + */ + @SerializedName("kioskModeAllowAssistiveSpeak") + @Expose + public Boolean kioskModeAllowAssistiveSpeak; + + /** + * The Kiosk Mode Allow Assistive Touch Settings. + * Indicates whether or not to allow access to the Assistive Touch Settings while in kiosk mode. + */ + @SerializedName("kioskModeAllowAssistiveTouchSettings") + @Expose + public Boolean kioskModeAllowAssistiveTouchSettings; + + /** + * The Kiosk Mode Allow Auto Lock. + * Indicates whether or not to allow device auto lock while in kiosk mode. + */ + @SerializedName("kioskModeAllowAutoLock") + @Expose + public Boolean kioskModeAllowAutoLock; + + /** + * The Kiosk Mode Allow Color Inversion Settings. + * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. + */ + @SerializedName("kioskModeAllowColorInversionSettings") + @Expose + public Boolean kioskModeAllowColorInversionSettings; + + /** + * The Kiosk Mode Allow Ringer Switch. + * Indicates whether or not to allow use of the ringer switch while in kiosk mode. + */ + @SerializedName("kioskModeAllowRingerSwitch") + @Expose + public Boolean kioskModeAllowRingerSwitch; + + /** + * The Kiosk Mode Allow Screen Rotation. + * Indicates whether or not to allow screen rotation while in kiosk mode. + */ + @SerializedName("kioskModeAllowScreenRotation") + @Expose + public Boolean kioskModeAllowScreenRotation; + + /** + * The Kiosk Mode Allow Sleep Button. + * Indicates whether or not to allow use of the sleep button while in kiosk mode. + */ + @SerializedName("kioskModeAllowSleepButton") + @Expose + public Boolean kioskModeAllowSleepButton; + + /** + * The Kiosk Mode Allow Touchscreen. + * Indicates whether or not to allow use of the touchscreen while in kiosk mode. + */ + @SerializedName("kioskModeAllowTouchscreen") + @Expose + public Boolean kioskModeAllowTouchscreen; + + /** + * The Kiosk Mode Allow Voice Over Settings. + * Indicates whether or not to allow access to the voice over settings while in kiosk mode. + */ + @SerializedName("kioskModeAllowVoiceOverSettings") + @Expose + public Boolean kioskModeAllowVoiceOverSettings; + + /** + * The Kiosk Mode Allow Volume Buttons. + * Indicates whether or not to allow use of the volume buttons while in kiosk mode. + */ + @SerializedName("kioskModeAllowVolumeButtons") + @Expose + public Boolean kioskModeAllowVolumeButtons; + + /** + * The Kiosk Mode Allow Zoom Settings. + * Indicates whether or not to allow access to the zoom settings while in kiosk mode. + */ + @SerializedName("kioskModeAllowZoomSettings") + @Expose + public Boolean kioskModeAllowZoomSettings; + + /** + * The Kiosk Mode App Store Url. + * URL in the app store to the app to use for kiosk mode. Use if KioskModeManagedAppId is not known. + */ + @SerializedName("kioskModeAppStoreUrl") + @Expose + public String kioskModeAppStoreUrl; + + /** + * The Kiosk Mode Built In App Id. + * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. + */ + @SerializedName("kioskModeBuiltInAppId") + @Expose + public String kioskModeBuiltInAppId; + + /** + * The Kiosk Mode Require Assistive Touch. + * Indicates whether or not to require assistive touch while in kiosk mode. + */ + @SerializedName("kioskModeRequireAssistiveTouch") + @Expose + public Boolean kioskModeRequireAssistiveTouch; + + /** + * The Kiosk Mode Require Color Inversion. + * Indicates whether or not to require color inversion while in kiosk mode. + */ + @SerializedName("kioskModeRequireColorInversion") + @Expose + public Boolean kioskModeRequireColorInversion; + + /** + * The Kiosk Mode Require Mono Audio. + * Indicates whether or not to require mono audio while in kiosk mode. + */ + @SerializedName("kioskModeRequireMonoAudio") + @Expose + public Boolean kioskModeRequireMonoAudio; + + /** + * The Kiosk Mode Require Voice Over. + * Indicates whether or not to require voice over while in kiosk mode. + */ + @SerializedName("kioskModeRequireVoiceOver") + @Expose + public Boolean kioskModeRequireVoiceOver; + + /** + * The Kiosk Mode Require Zoom. + * Indicates whether or not to require zoom while in kiosk mode. + */ + @SerializedName("kioskModeRequireZoom") + @Expose + public Boolean kioskModeRequireZoom; + + /** + * The Kiosk Mode Managed App Id. + * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. + */ + @SerializedName("kioskModeManagedAppId") + @Expose + public String kioskModeManagedAppId; + + /** + * The Lock Screen Block Control Center. + * Indicates whether or not to block the user from using control center on the lock screen. + */ + @SerializedName("lockScreenBlockControlCenter") + @Expose + public Boolean lockScreenBlockControlCenter; + + /** + * The Lock Screen Block Notification View. + * Indicates whether or not to block the user from using the notification view on the lock screen. + */ + @SerializedName("lockScreenBlockNotificationView") + @Expose + public Boolean lockScreenBlockNotificationView; + + /** + * The Lock Screen Block Passbook. + * Indicates whether or not to block the user from using passbook when the device is locked. + */ + @SerializedName("lockScreenBlockPassbook") + @Expose + public Boolean lockScreenBlockPassbook; + + /** + * The Lock Screen Block Today View. + * Indicates whether or not to block the user from using the Today View on the lock screen. + */ + @SerializedName("lockScreenBlockTodayView") + @Expose + public Boolean lockScreenBlockTodayView; + + /** + * The Media Content Rating Australia. + * Media content rating settings for Australia + */ + @SerializedName("mediaContentRatingAustralia") + @Expose + public MediaContentRatingAustralia mediaContentRatingAustralia; + + /** + * The Media Content Rating Canada. + * Media content rating settings for Canada + */ + @SerializedName("mediaContentRatingCanada") + @Expose + public MediaContentRatingCanada mediaContentRatingCanada; + + /** + * The Media Content Rating France. + * Media content rating settings for France + */ + @SerializedName("mediaContentRatingFrance") + @Expose + public MediaContentRatingFrance mediaContentRatingFrance; + + /** + * The Media Content Rating Germany. + * Media content rating settings for Germany + */ + @SerializedName("mediaContentRatingGermany") + @Expose + public MediaContentRatingGermany mediaContentRatingGermany; + + /** + * The Media Content Rating Ireland. + * Media content rating settings for Ireland + */ + @SerializedName("mediaContentRatingIreland") + @Expose + public MediaContentRatingIreland mediaContentRatingIreland; + + /** + * The Media Content Rating Japan. + * Media content rating settings for Japan + */ + @SerializedName("mediaContentRatingJapan") + @Expose + public MediaContentRatingJapan mediaContentRatingJapan; + + /** + * The Media Content Rating New Zealand. + * Media content rating settings for New Zealand + */ + @SerializedName("mediaContentRatingNewZealand") + @Expose + public MediaContentRatingNewZealand mediaContentRatingNewZealand; + + /** + * The Media Content Rating United Kingdom. + * Media content rating settings for United Kingdom + */ + @SerializedName("mediaContentRatingUnitedKingdom") + @Expose + public MediaContentRatingUnitedKingdom mediaContentRatingUnitedKingdom; + + /** + * The Media Content Rating United States. + * Media content rating settings for United States + */ + @SerializedName("mediaContentRatingUnitedStates") + @Expose + public MediaContentRatingUnitedStates mediaContentRatingUnitedStates; + + /** + * The Network Usage Rules. + * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. + */ + @SerializedName("networkUsageRules") + @Expose + public java.util.List networkUsageRules; + + /** + * The Media Content Rating Apps. + * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. + */ + @SerializedName("mediaContentRatingApps") + @Expose + public RatingAppsType mediaContentRatingApps; + + /** + * The Messages Blocked. + * Indicates whether or not to block the user from using the Messages app on the supervised device. + */ + @SerializedName("messagesBlocked") + @Expose + public Boolean messagesBlocked; + + /** + * The Notifications Block Settings Modification. + * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). + */ + @SerializedName("notificationsBlockSettingsModification") + @Expose + public Boolean notificationsBlockSettingsModification; + + /** + * The Passcode Block Fingerprint Unlock. + * Indicates whether or not to block fingerprint unlock. + */ + @SerializedName("passcodeBlockFingerprintUnlock") + @Expose + public Boolean passcodeBlockFingerprintUnlock; + + /** + * The Passcode Block Fingerprint Modification. + * Block modification of registered Touch ID fingerprints when in supervised mode. + */ + @SerializedName("passcodeBlockFingerprintModification") + @Expose + public Boolean passcodeBlockFingerprintModification; + + /** + * The Passcode Block Modification. + * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). + */ + @SerializedName("passcodeBlockModification") + @Expose + public Boolean passcodeBlockModification; + + /** + * The Passcode Block Simple. + * Indicates whether or not to block simple passcodes. + */ + @SerializedName("passcodeBlockSimple") + @Expose + public Boolean passcodeBlockSimple; + + /** + * The Passcode Expiration Days. + * Number of days before the passcode expires. Valid values 1 to 65535 + */ + @SerializedName("passcodeExpirationDays") + @Expose + public Integer passcodeExpirationDays; + + /** + * The Passcode Minimum Length. + * Minimum length of passcode. Valid values 4 to 14 + */ + @SerializedName("passcodeMinimumLength") + @Expose + public Integer passcodeMinimumLength; + + /** + * The Passcode Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a passcode is required. + */ + @SerializedName("passcodeMinutesOfInactivityBeforeLock") + @Expose + public Integer passcodeMinutesOfInactivityBeforeLock; + + /** + * The Passcode Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity before the screen times out. + */ + @SerializedName("passcodeMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passcodeMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Passcode Minimum Character Set Count. + * Number of character sets a passcode must contain. Valid values 0 to 4 + */ + @SerializedName("passcodeMinimumCharacterSetCount") + @Expose + public Integer passcodeMinimumCharacterSetCount; + + /** + * The Passcode Previous Passcode Block Count. + * Number of previous passcodes to block. Valid values 1 to 24 + */ + @SerializedName("passcodePreviousPasscodeBlockCount") + @Expose + public Integer passcodePreviousPasscodeBlockCount; + + /** + * The Passcode Sign In Failure Count Before Wipe. + * Number of sign in failures allowed before wiping the device. Valid values 4 to 11 + */ + @SerializedName("passcodeSignInFailureCountBeforeWipe") + @Expose + public Integer passcodeSignInFailureCountBeforeWipe; + + /** + * The Passcode Required Type. + * Type of passcode that is required. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passcodeRequiredType") + @Expose + public RequiredPasswordType passcodeRequiredType; + + /** + * The Passcode Required. + * Indicates whether or not to require a passcode. + */ + @SerializedName("passcodeRequired") + @Expose + public Boolean passcodeRequired; + + /** + * The Podcasts Blocked. + * Indicates whether or not to block the user from using podcasts on the supervised device (iOS 8.0 and later). + */ + @SerializedName("podcastsBlocked") + @Expose + public Boolean podcastsBlocked; + + /** + * The Safari Block Autofill. + * Indicates whether or not to block the user from using Auto fill in Safari. + */ + @SerializedName("safariBlockAutofill") + @Expose + public Boolean safariBlockAutofill; + + /** + * The Safari Block Java Script. + * Indicates whether or not to block JavaScript in Safari. + */ + @SerializedName("safariBlockJavaScript") + @Expose + public Boolean safariBlockJavaScript; + + /** + * The Safari Block Popups. + * Indicates whether or not to block popups in Safari. + */ + @SerializedName("safariBlockPopups") + @Expose + public Boolean safariBlockPopups; + + /** + * The Safari Blocked. + * Indicates whether or not to block the user from using Safari. + */ + @SerializedName("safariBlocked") + @Expose + public Boolean safariBlocked; + + /** + * The Safari Cookie Settings. + * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + */ + @SerializedName("safariCookieSettings") + @Expose + public WebBrowserCookieSettings safariCookieSettings; + + /** + * The Safari Managed Domains. + * URLs matching the patterns listed here will be considered managed. + */ + @SerializedName("safariManagedDomains") + @Expose + public java.util.List safariManagedDomains; + + /** + * The Safari Password Auto Fill Domains. + * Users can save passwords in Safari only from URLs matching the patterns listed here. Applies to devices in supervised mode (iOS 9.3 and later). + */ + @SerializedName("safariPasswordAutoFillDomains") + @Expose + public java.util.List safariPasswordAutoFillDomains; + + /** + * The Safari Require Fraud Warning. + * Indicates whether or not to require fraud warning in Safari. + */ + @SerializedName("safariRequireFraudWarning") + @Expose + public Boolean safariRequireFraudWarning; + + /** + * The Screen Capture Blocked. + * Indicates whether or not to block the user from taking Screenshots. + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Siri Blocked. + * Indicates whether or not to block the user from using Siri. + */ + @SerializedName("siriBlocked") + @Expose + public Boolean siriBlocked; + + /** + * The Siri Blocked When Locked. + * Indicates whether or not to block the user from using Siri when locked. + */ + @SerializedName("siriBlockedWhenLocked") + @Expose + public Boolean siriBlockedWhenLocked; + + /** + * The Siri Block User Generated Content. + * Indicates whether or not to block Siri from querying user-generated content when used on a supervised device. + */ + @SerializedName("siriBlockUserGeneratedContent") + @Expose + public Boolean siriBlockUserGeneratedContent; + + /** + * The Siri Require Profanity Filter. + * Indicates whether or not to prevent Siri from dictating, or speaking profane language on supervised device. + */ + @SerializedName("siriRequireProfanityFilter") + @Expose + public Boolean siriRequireProfanityFilter; + + /** + * The Spotlight Block Internet Results. + * Indicates whether or not to block Spotlight search from returning internet results on supervised device. + */ + @SerializedName("spotlightBlockInternetResults") + @Expose + public Boolean spotlightBlockInternetResults; + + /** + * The Voice Dialing Blocked. + * Indicates whether or not to block voice dialing. + */ + @SerializedName("voiceDialingBlocked") + @Expose + public Boolean voiceDialingBlocked; + + /** + * The Wallpaper Block Modification. + * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . + */ + @SerializedName("wallpaperBlockModification") + @Expose + public Boolean wallpaperBlockModification; + + /** + * The Wi Fi Connect Only To Configured Networks. + * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. + */ + @SerializedName("wiFiConnectOnlyToConfiguredNetworks") + @Expose + public Boolean wiFiConnectOnlyToConfiguredNetworks; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenApp.java index 79bf62c58ca..4919f17edd2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenApp.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosHomeScreenItem; -import com.microsoft.graph.models.generated.BaseIosHomeScreenApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Home Screen App. */ -public class IosHomeScreenApp extends BaseIosHomeScreenApp { +public class IosHomeScreenApp extends IosHomeScreenItem implements IJsonBackedObject { + + + /** + * The Bundle ID. + * BundleID of app + */ + @SerializedName("bundleID") + @Expose + public String bundleID; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolder.java b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolder.java index b0c28179682..ee214730150 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolder.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosHomeScreenFolderPage; +import com.microsoft.graph.models.extensions.IosHomeScreenItem; -import com.microsoft.graph.models.generated.BaseIosHomeScreenFolder; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Home Screen Folder. */ -public class IosHomeScreenFolder extends BaseIosHomeScreenFolder { +public class IosHomeScreenFolder extends IosHomeScreenItem implements IJsonBackedObject { + + + /** + * The Pages. + * Pages of Home Screen Layout Icons which must be Application Type. This collection can contain a maximum of 500 elements. + */ + @SerializedName("pages") + @Expose + public java.util.List pages; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java index 5b3d0494bbd..0b3606bc444 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosHomeScreenApp; -import com.microsoft.graph.models.generated.BaseIosHomeScreenFolderPage; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Home Screen Folder Page. */ -public class IosHomeScreenFolderPage extends BaseIosHomeScreenFolderPage { +public class IosHomeScreenFolderPage implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Name of the folder page + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Apps. + * A list of apps to appear on a page within a folder. This collection can contain a maximum of 500 elements. + */ + @SerializedName("apps") + @Expose + public java.util.List apps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenItem.java b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenItem.java index b984ecedf7d..58bd9c5267c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenItem.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseIosHomeScreenItem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Home Screen Item. */ -public class IosHomeScreenItem extends BaseIosHomeScreenItem { +public class IosHomeScreenItem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Name of the app + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenPage.java b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenPage.java index 43b8fe29c55..b3c912fe7d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenPage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenPage.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosHomeScreenItem; -import com.microsoft.graph.models.generated.BaseIosHomeScreenPage; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Home Screen Page. */ -public class IosHomeScreenPage extends BaseIosHomeScreenPage { +public class IosHomeScreenPage implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Name of the page + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Icons. + * A list of apps and folders to appear on a page. This collection can contain a maximum of 500 elements. + */ + @SerializedName("icons") + @Expose + public java.util.List icons; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java index 671470c4f16..82225156e3b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java @@ -3,12 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosDeviceType; +import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.MobileLobApp; -import com.microsoft.graph.models.generated.BaseIosLobApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Lob App. */ -public class IosLobApp extends BaseIosLobApp { +public class IosLobApp extends MobileLobApp implements IJsonBackedObject { + + + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + + /** + * The Applicable Device Type. + * The iOS architecture for which this app can run on. + */ + @SerializedName("applicableDeviceType") + @Expose + public IosDeviceType applicableDeviceType; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public IosMinimumOperatingSystem minimumSupportedOperatingSystem; + + /** + * The Expiration Date Time. + * The expiration time. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Version Number. + * The version number of iOS Line of Business (LoB) app. + */ + @SerializedName("versionNumber") + @Expose + public String versionNumber; + + /** + * The Build Number. + * The build number of iOS Line of Business (LoB) app. + */ + @SerializedName("buildNumber") + @Expose + public String buildNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java index fb65800b3e2..4695d70e74c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; -import com.microsoft.graph.models.generated.BaseIosLobAppAssignmentSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Lob App Assignment Settings. */ -public class IosLobAppAssignmentSettings extends BaseIosLobAppAssignmentSettings { +public class IosLobAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { + + + /** + * The Vpn Configuration Id. + * The VPN Configuration Id to apply for this app. + */ + @SerializedName("vpnConfigurationId") + @Expose + public String vpnConfigurationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java index 5e3ee72db5c..39f02c806be 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java @@ -3,12 +3,135 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppDataEncryptionType; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; -import com.microsoft.graph.models.generated.BaseIosManagedAppProtection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Protection. */ -public class IosManagedAppProtection extends BaseIosManagedAppProtection { +public class IosManagedAppProtection extends TargetedManagedAppProtection implements IJsonBackedObject { + + + /** + * The App Data Encryption Type. + * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + */ + @SerializedName("appDataEncryptionType") + @Expose + public ManagedAppDataEncryptionType appDataEncryptionType; + + /** + * The Minimum Required Sdk Version. + * Versions less than the specified version will block the managed app from accessing company data. + */ + @SerializedName("minimumRequiredSdkVersion") + @Expose + public String minimumRequiredSdkVersion; + + /** + * The Deployed App Count. + * Count of apps to which the current policy is deployed. + */ + @SerializedName("deployedAppCount") + @Expose + public Integer deployedAppCount; + + /** + * The Face Id Blocked. + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. + */ + @SerializedName("faceIdBlocked") + @Expose + public Boolean faceIdBlocked; + + /** + * The Apps. + * List of apps to which the policy is deployed. + */ + public ManagedMobileAppCollectionPage apps; + + /** + * The Deployment Summary. + * Navigation property to deployment summary of the configuration. + */ + @SerializedName("deploymentSummary") + @Expose + public ManagedAppPolicyDeploymentSummary deploymentSummary; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("apps")) { + final ManagedMobileAppCollectionResponse response = new ManagedMobileAppCollectionResponse(); + if (json.has("apps@odata.nextLink")) { + response.nextLink = json.get("apps@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); + final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + apps = new ManagedMobileAppCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppRegistration.java index 86f27039c38..78790f17c2a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppRegistration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppRegistration.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; -import com.microsoft.graph.models.generated.BaseIosManagedAppRegistration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Registration. */ -public class IosManagedAppRegistration extends BaseIosManagedAppRegistration { +public class IosManagedAppRegistration extends ManagedAppRegistration implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java index b03c3e3dab7..17e55583fca 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseIosMinimumOperatingSystem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Minimum Operating System. */ -public class IosMinimumOperatingSystem extends BaseIosMinimumOperatingSystem { +public class IosMinimumOperatingSystem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The V8_0. + * Version 8.0 or later. + */ + @SerializedName("v8_0") + @Expose + public Boolean v8_0; + + /** + * The V9_0. + * Version 9.0 or later. + */ + @SerializedName("v9_0") + @Expose + public Boolean v9_0; + + /** + * The V10_0. + * Version 10.0 or later. + */ + @SerializedName("v10_0") + @Expose + public Boolean v10_0; + + /** + * The V11_0. + * Version 11.0 or later. + */ + @SerializedName("v11_0") + @Expose + public Boolean v11_0; + + /** + * The V12_0. + * Version 12.0 or later. + */ + @SerializedName("v12_0") + @Expose + public Boolean v12_0; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppConfiguration.java index 804ae855ca5..f45a073b059 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppConfiguration.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppConfigurationSettingItem; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; -import com.microsoft.graph.models.generated.BaseIosMobileAppConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Mobile App Configuration. */ -public class IosMobileAppConfiguration extends BaseIosMobileAppConfiguration { +public class IosMobileAppConfiguration extends ManagedDeviceMobileAppConfiguration implements IJsonBackedObject { + + + /** + * The Encoded Setting Xml. + * mdm app configuration Base64 binary. + */ + @SerializedName("encodedSettingXml") + @Expose + public byte[] encodedSettingXml; + + /** + * The Settings. + * app configuration setting items. + */ + @SerializedName("settings") + @Expose + public java.util.List settings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppIdentifier.java b/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppIdentifier.java index fe8bdae8ca7..f59fe423ef8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppIdentifier.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosMobileAppIdentifier.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppIdentifier; -import com.microsoft.graph.models.generated.BaseIosMobileAppIdentifier; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Mobile App Identifier. */ -public class IosMobileAppIdentifier extends BaseIosMobileAppIdentifier { +public class IosMobileAppIdentifier extends MobileAppIdentifier implements IJsonBackedObject { + + + /** + * The Bundle Id. + * The identifier for an app, as specified in the app store. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java b/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java index a37943cb7ad..90507f5e6b1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.generated.BaseIosNetworkUsageRule; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Network Usage Rule. */ -public class IosNetworkUsageRule extends BaseIosNetworkUsageRule { +public class IosNetworkUsageRule implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Managed Apps. + * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. + */ + @SerializedName("managedApps") + @Expose + public java.util.List managedApps; + + /** + * The Cellular Data Block When Roaming. + * If set to true, corresponding managed apps will not be allowed to use cellular data when roaming. + */ + @SerializedName("cellularDataBlockWhenRoaming") + @Expose + public Boolean cellularDataBlockWhenRoaming; + + /** + * The Cellular Data Blocked. + * If set to true, corresponding managed apps will not be allowed to use cellular data at any time. + */ + @SerializedName("cellularDataBlocked") + @Expose + public Boolean cellularDataBlocked; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java index 7d8777ac4aa..17569d5df32 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java @@ -3,12 +3,150 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.IosNotificationAlertType; -import com.microsoft.graph.models.generated.BaseIosNotificationSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Notification Settings. */ -public class IosNotificationSettings extends BaseIosNotificationSettings { +public class IosNotificationSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Bundle ID. + * Bundle id of app to which to apply these notification settings. + */ + @SerializedName("bundleID") + @Expose + public String bundleID; + + /** + * The App Name. + * Application name to be associated with the bundleID. + */ + @SerializedName("appName") + @Expose + public String appName; + + /** + * The Publisher. + * Publisher to be associated with the bundleID. + */ + @SerializedName("publisher") + @Expose + public String publisher; + + /** + * The Enabled. + * Indicates whether notifications are allowed for this app. + */ + @SerializedName("enabled") + @Expose + public Boolean enabled; + + /** + * The Show In Notification Center. + * Indicates whether notifications can be shown in notification center. + */ + @SerializedName("showInNotificationCenter") + @Expose + public Boolean showInNotificationCenter; + + /** + * The Show On Lock Screen. + * Indicates whether notifications can be shown on the lock screen. + */ + @SerializedName("showOnLockScreen") + @Expose + public Boolean showOnLockScreen; + + /** + * The Alert Type. + * Indicates the type of alert for notifications for this app. Possible values are: deviceDefault, banner, modal, none. + */ + @SerializedName("alertType") + @Expose + public IosNotificationAlertType alertType; + + /** + * The Badges Enabled. + * Indicates whether badges are allowed for this app. + */ + @SerializedName("badgesEnabled") + @Expose + public Boolean badgesEnabled; + + /** + * The Sounds Enabled. + * Indicates whether sounds are allowed for this app. + */ + @SerializedName("soundsEnabled") + @Expose + public Boolean soundsEnabled; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java index d83bf35fc68..18bb181d387 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosDeviceType; +import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseIosStoreApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Store App. */ -public class IosStoreApp extends BaseIosStoreApp { +public class IosStoreApp extends MobileApp implements IJsonBackedObject { + + + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + + /** + * The App Store Url. + * The Apple App Store URL + */ + @SerializedName("appStoreUrl") + @Expose + public String appStoreUrl; + + /** + * The Applicable Device Type. + * The iOS architecture for which this app can run on. + */ + @SerializedName("applicableDeviceType") + @Expose + public IosDeviceType applicableDeviceType; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public IosMinimumOperatingSystem minimumSupportedOperatingSystem; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java index 19c04be4390..60be474c4ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; -import com.microsoft.graph.models.generated.BaseIosStoreAppAssignmentSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Store App Assignment Settings. */ -public class IosStoreAppAssignmentSettings extends BaseIosStoreAppAssignmentSettings { +public class IosStoreAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { + + + /** + * The Vpn Configuration Id. + * The VPN Configuration Id to apply for this app. + */ + @SerializedName("vpnConfigurationId") + @Expose + public String vpnConfigurationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java index d130cbb3933..720ff3b8aa7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DayOfWeek; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseIosUpdateConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Configuration. */ -public class IosUpdateConfiguration extends BaseIosUpdateConfiguration { +public class IosUpdateConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Active Hours Start. + * Active Hours Start (active hours mean the time window when updates install should not happen) + */ + @SerializedName("activeHoursStart") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay activeHoursStart; + + /** + * The Active Hours End. + * Active Hours End (active hours mean the time window when updates install should not happen) + */ + @SerializedName("activeHoursEnd") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay activeHoursEnd; + + /** + * The Scheduled Install Days. + * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. + */ + @SerializedName("scheduledInstallDays") + @Expose + public java.util.List scheduledInstallDays; + + /** + * The Utc Time Offset In Minutes. + * UTC Time Offset indicated in minutes + */ + @SerializedName("utcTimeOffsetInMinutes") + @Expose + public Integer utcTimeOffsetInMinutes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java index 7226e3272e2..b5d506a4490 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java @@ -3,12 +3,158 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.IosUpdatesInstallStatus; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseIosUpdateDeviceStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Device Status. */ -public class IosUpdateDeviceStatus extends BaseIosUpdateDeviceStatus { +public class IosUpdateDeviceStatus extends Entity implements IJsonBackedObject { + + + /** + * The Install Status. + * The installation status of the policy report. Possible values are: success, available, idle, unknown, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError. + */ + @SerializedName("installStatus") + @Expose + public IosUpdatesInstallStatus installStatus; + + /** + * The Os Version. + * The device version that is being reported. + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + + /** + * The Device Id. + * The device id that is being reported. + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The User Id. + * The User id that is being reported. + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The Device Display Name. + * Device name of the DevicePolicyStatus. + */ + @SerializedName("deviceDisplayName") + @Expose + public String deviceDisplayName; + + /** + * The User Name. + * The User Name that is being reported + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java index c03b74ccfdd..81747d5780e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java @@ -3,12 +3,151 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.VppLicensingType; +import com.microsoft.graph.models.extensions.IosDeviceType; +import com.microsoft.graph.models.generated.VppTokenAccountType; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseIosVppApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp App. */ -public class IosVppApp extends BaseIosVppApp { +public class IosVppApp extends MobileApp implements IJsonBackedObject { + + + /** + * The Used License Count. + * The number of VPP licenses in use. + */ + @SerializedName("usedLicenseCount") + @Expose + public Integer usedLicenseCount; + + /** + * The Total License Count. + * The total number of VPP licenses. + */ + @SerializedName("totalLicenseCount") + @Expose + public Integer totalLicenseCount; + + /** + * The Release Date Time. + * The VPP application release date and time. + */ + @SerializedName("releaseDateTime") + @Expose + public java.util.Calendar releaseDateTime; + + /** + * The App Store Url. + * The store URL. + */ + @SerializedName("appStoreUrl") + @Expose + public String appStoreUrl; + + /** + * The Licensing Type. + * The supported License Type. + */ + @SerializedName("licensingType") + @Expose + public VppLicensingType licensingType; + + /** + * The Applicable Device Type. + * The applicable iOS Device Type. + */ + @SerializedName("applicableDeviceType") + @Expose + public IosDeviceType applicableDeviceType; + + /** + * The Vpp Token Organization Name. + * The organization associated with the Apple Volume Purchase Program Token + */ + @SerializedName("vppTokenOrganizationName") + @Expose + public String vppTokenOrganizationName; + + /** + * The Vpp Token Account Type. + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + */ + @SerializedName("vppTokenAccountType") + @Expose + public VppTokenAccountType vppTokenAccountType; + + /** + * The Vpp Token Apple Id. + * The Apple Id associated with the given Apple Volume Purchase Program Token. + */ + @SerializedName("vppTokenAppleId") + @Expose + public String vppTokenAppleId; + + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java index 28423ef7133..e2a2f02fb14 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; -import com.microsoft.graph.models.generated.BaseIosVppAppAssignmentSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp App Assignment Settings. */ -public class IosVppAppAssignmentSettings extends BaseIosVppAppAssignmentSettings { +public class IosVppAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { + + + /** + * The Use Device Licensing. + * Whether or not to use device licensing. + */ + @SerializedName("useDeviceLicensing") + @Expose + public Boolean useDeviceLicensing; + + /** + * The Vpn Configuration Id. + * The VPN Configuration Id to apply for this app. + */ + @SerializedName("vpnConfigurationId") + @Expose + public String vpnConfigurationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java index da8957450fb..f448c17fe95 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java @@ -3,12 +3,132 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedEBook; -import com.microsoft.graph.models.generated.BaseIosVppEBook; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp EBook. */ -public class IosVppEBook extends BaseIosVppEBook { +public class IosVppEBook extends ManagedEBook implements IJsonBackedObject { + + + /** + * The Vpp Token Id. + * The Vpp token ID. + */ + @SerializedName("vppTokenId") + @Expose + public java.util.UUID vppTokenId; + + /** + * The Apple Id. + * The Apple ID associated with Vpp token. + */ + @SerializedName("appleId") + @Expose + public String appleId; + + /** + * The Vpp Organization Name. + * The Vpp token's organization name. + */ + @SerializedName("vppOrganizationName") + @Expose + public String vppOrganizationName; + + /** + * The Genres. + * Genres. + */ + @SerializedName("genres") + @Expose + public java.util.List genres; + + /** + * The Language. + * Language. + */ + @SerializedName("language") + @Expose + public String language; + + /** + * The Seller. + * Seller. + */ + @SerializedName("seller") + @Expose + public String seller; + + /** + * The Total License Count. + * Total license count. + */ + @SerializedName("totalLicenseCount") + @Expose + public Integer totalLicenseCount; + + /** + * The Used License Count. + * Used license count. + */ + @SerializedName("usedLicenseCount") + @Expose + public Integer usedLicenseCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppEBookAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppEBookAssignment.java index 31ee818159c..6125edb539f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppEBookAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppEBookAssignment.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.models.generated.BaseIosVppEBookAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp EBook Assignment. */ -public class IosVppEBookAssignment extends BaseIosVppEBookAssignment { +public class IosVppEBookAssignment extends ManagedEBookAssignment implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IpRange.java b/src/main/java/com/microsoft/graph/models/extensions/IpRange.java index 30bb79a7ac5..cc9fabf7e00 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IpRange.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IpRange.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseIpRange; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ip Range. */ -public class IpRange extends BaseIpRange { +public class IpRange implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemAttachment.java b/src/main/java/com/microsoft/graph/models/extensions/ItemAttachment.java index 66e875db9e4..84abcda2d62 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemAttachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemAttachment.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.generated.BaseItemAttachment; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Item Attachment. */ -public class ItemAttachment extends BaseItemAttachment { +public class ItemAttachment extends Attachment implements IJsonBackedObject { + + + /** + * The Item. + * The attached message or event. Navigation property. + */ + @SerializedName("item") + @Expose + public OutlookItem item; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java b/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java index 0ffe2e160f7..47cb10606ed 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.BodyType; -import com.microsoft.graph.models.generated.BaseItemBody; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Item Body. */ -public class ItemBody extends BaseItemBody { +public class ItemBody implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Content Type. + * The type of the content. Possible values are Text and HTML. + */ + @SerializedName("contentType") + @Expose + public BodyType contentType; + + /** + * The Content. + * The content of the item. + */ + @SerializedName("content") + @Expose + public String content; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemPreviewInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ItemPreviewInfo.java index 24188b44aaf..102fc3f8f0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemPreviewInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemPreviewInfo.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseItemPreviewInfo; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Item Preview Info. */ -public class ItemPreviewInfo extends BaseItemPreviewInfo { +public class ItemPreviewInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Get Url. + * + */ + @SerializedName("getUrl") + @Expose + public String getUrl; + + /** + * The Post Parameters. + * + */ + @SerializedName("postParameters") + @Expose + public String postParameters; + + /** + * The Post Url. + * + */ + @SerializedName("postUrl") + @Expose + public String postUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemReference.java b/src/main/java/com/microsoft/graph/models/extensions/ItemReference.java index 5fcf115743e..c08f28758ea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemReference.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemReference.java @@ -3,14 +3,134 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.generated.BaseItemReference; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Item Reference. */ -public class ItemReference extends BaseItemReference { +public class ItemReference implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Drive Id. + * Unique identifier of the drive instance that contains the item. Read-only. + */ + @SerializedName("driveId") + @Expose + public String driveId; + + /** + * The Drive Type. + * Identifies the type of drive. See [drive][] resource for values. + */ + @SerializedName("driveType") + @Expose + public String driveType; + + /** + * The Id. + * Unique identifier of the item in the drive. Read-only. + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Name. + * The name of the item being referenced. Read-only. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Path. + * Path that can be used to navigate to the item. Read-only. + */ + @SerializedName("path") + @Expose + public String path; + + /** + * The Share Id. + * A unique identifier for a shared resource that can be accessed via the [Shares][] API. + */ + @SerializedName("shareId") + @Expose + public String shareId; + + /** + * The Sharepoint Ids. + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + */ + @SerializedName("sharepointIds") + @Expose + public SharepointIds sharepointIds; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/KeyValuePair.java b/src/main/java/com/microsoft/graph/models/extensions/KeyValuePair.java index a8a958b16f0..ca11bc16bc5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/KeyValuePair.java +++ b/src/main/java/com/microsoft/graph/models/extensions/KeyValuePair.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseKeyValuePair; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Key Value Pair. */ -public class KeyValuePair extends BaseKeyValuePair { +public class KeyValuePair implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * Name for this key-value pair + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Value. + * Value for this key-value pair + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LicenseDetails.java b/src/main/java/com/microsoft/graph/models/extensions/LicenseDetails.java index e6b80928a07..079f09517f5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LicenseDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LicenseDetails.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ServicePlanInfo; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseLicenseDetails; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Details. */ -public class LicenseDetails extends BaseLicenseDetails { +public class LicenseDetails extends Entity implements IJsonBackedObject { + + + /** + * The Service Plans. + * Information about the service plans assigned with the license. Read-only, Not nullable + */ + @SerializedName("servicePlans") + @Expose + public java.util.List servicePlans; + + /** + * The Sku Id. + * Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only + */ + @SerializedName("skuId") + @Expose + public java.util.UUID skuId; + + /** + * The Sku Part Number. + * Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only + */ + @SerializedName("skuPartNumber") + @Expose + public String skuPartNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LicenseUnitsDetail.java b/src/main/java/com/microsoft/graph/models/extensions/LicenseUnitsDetail.java index c78248b68ba..de22e58e827 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LicenseUnitsDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LicenseUnitsDetail.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseLicenseUnitsDetail; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Units Detail. */ -public class LicenseUnitsDetail extends BaseLicenseUnitsDetail { +public class LicenseUnitsDetail implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Enabled. + * The number of units that are enabled. + */ + @SerializedName("enabled") + @Expose + public Integer enabled; + + /** + * The Suspended. + * The number of units that are suspended. + */ + @SerializedName("suspended") + @Expose + public Integer suspended; + + /** + * The Warning. + * The number of units that are in warning status. + */ + @SerializedName("warning") + @Expose + public Integer warning; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/List.java b/src/main/java/com/microsoft/graph/models/extensions/List.java index 6558371e1c5..d3a84ffe27c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/List.java +++ b/src/main/java/com/microsoft/graph/models/extensions/List.java @@ -3,14 +3,187 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ListInfo; +import com.microsoft.graph.models.extensions.SharepointIds; +import com.microsoft.graph.models.extensions.SystemFacet; +import com.microsoft.graph.models.extensions.ColumnDefinition; +import com.microsoft.graph.models.extensions.ContentType; +import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.models.extensions.ListItem; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionPage; +import com.microsoft.graph.requests.extensions.ContentTypeCollectionResponse; +import com.microsoft.graph.requests.extensions.ContentTypeCollectionPage; +import com.microsoft.graph.requests.extensions.ListItemCollectionResponse; +import com.microsoft.graph.requests.extensions.ListItemCollectionPage; -import com.microsoft.graph.models.generated.BaseList; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List. */ -public class List extends BaseList { +public class List extends BaseItem implements IJsonBackedObject { + + + /** + * The Display Name. + * The displayable title of the list. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The List. + * Provides additional details about the list. + */ + @SerializedName("list") + @Expose + public ListInfo list; + + /** + * The Sharepoint Ids. + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + */ + @SerializedName("sharepointIds") + @Expose + public SharepointIds sharepointIds; + + /** + * The System. + * If present, indicates that this is a system-managed list. Read-only. + */ + @SerializedName("system") + @Expose + public SystemFacet system; + + /** + * The Columns. + * The collection of field definitions for this list. + */ + public ColumnDefinitionCollectionPage columns; + + /** + * The Content Types. + * The collection of content types present in this list. + */ + public ContentTypeCollectionPage contentTypes; + + /** + * The Drive. + * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. + */ + @SerializedName("drive") + @Expose + public Drive drive; + + /** + * The Items. + * All items contained in the list. + */ + public ListItemCollectionPage items; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("columns")) { + final ColumnDefinitionCollectionResponse response = new ColumnDefinitionCollectionResponse(); + if (json.has("columns@odata.nextLink")) { + response.nextLink = json.get("columns@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columns").toString(), JsonObject[].class); + final ColumnDefinition[] array = new ColumnDefinition[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ColumnDefinition.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + columns = new ColumnDefinitionCollectionPage(response, null); + } + + if (json.has("contentTypes")) { + final ContentTypeCollectionResponse response = new ContentTypeCollectionResponse(); + if (json.has("contentTypes@odata.nextLink")) { + response.nextLink = json.get("contentTypes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentTypes").toString(), JsonObject[].class); + final ContentType[] array = new ContentType[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContentType.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contentTypes = new ContentTypeCollectionPage(response, null); + } + + if (json.has("items")) { + final ListItemCollectionResponse response = new ListItemCollectionResponse(); + if (json.has("items@odata.nextLink")) { + response.nextLink = json.get("items@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); + final ListItem[] array = new ListItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ListItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + items = new ListItemCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ListInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ListInfo.java index 5ab98a0b997..ccd37564696 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ListInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ListInfo.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseListInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Info. */ -public class ListInfo extends BaseListInfo { +public class ListInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Content Types Enabled. + * If true, indicates that content types are enabled for this list. + */ + @SerializedName("contentTypesEnabled") + @Expose + public Boolean contentTypesEnabled; + + /** + * The Hidden. + * If true, indicates that the list is not normally visible in the SharePoint user experience. + */ + @SerializedName("hidden") + @Expose + public Boolean hidden; + + /** + * The Template. + * An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more. + */ + @SerializedName("template") + @Expose + public String template; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ListItem.java b/src/main/java/com/microsoft/graph/models/extensions/ListItem.java index d3885d2e68f..e81b3b6ecaa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ListItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ListItem.java @@ -3,14 +3,129 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ContentTypeInfo; +import com.microsoft.graph.models.extensions.SharepointIds; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.models.extensions.FieldValueSet; +import com.microsoft.graph.models.extensions.ListItemVersion; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.requests.extensions.ListItemVersionCollectionResponse; +import com.microsoft.graph.requests.extensions.ListItemVersionCollectionPage; -import com.microsoft.graph.models.generated.BaseListItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item. */ -public class ListItem extends BaseListItem { +public class ListItem extends BaseItem implements IJsonBackedObject { + + + /** + * The Content Type. + * The content type of this list item + */ + @SerializedName("contentType") + @Expose + public ContentTypeInfo contentType; + + /** + * The Sharepoint Ids. + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + */ + @SerializedName("sharepointIds") + @Expose + public SharepointIds sharepointIds; + + /** + * The Drive Item. + * For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + */ + @SerializedName("driveItem") + @Expose + public DriveItem driveItem; + + /** + * The Fields. + * The values of the columns set on this list item. + */ + @SerializedName("fields") + @Expose + public FieldValueSet fields; + + /** + * The Versions. + * The list of previous versions of the list item. + */ + public ListItemVersionCollectionPage versions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("versions")) { + final ListItemVersionCollectionResponse response = new ListItemVersionCollectionResponse(); + if (json.has("versions@odata.nextLink")) { + response.nextLink = json.get("versions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("versions").toString(), JsonObject[].class); + final ListItemVersion[] array = new ListItemVersion[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ListItemVersion.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + versions = new ListItemVersionCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ListItemVersion.java b/src/main/java/com/microsoft/graph/models/extensions/ListItemVersion.java index 9be573b1f0a..31fa2f8a4f8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ListItemVersion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ListItemVersion.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.FieldValueSet; +import com.microsoft.graph.models.extensions.BaseItemVersion; -import com.microsoft.graph.models.generated.BaseListItemVersion; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version. */ -public class ListItemVersion extends BaseListItemVersion { +public class ListItemVersion extends BaseItemVersion implements IJsonBackedObject { + + + /** + * The Fields. + * A collection of the fields and values for this version of the list item. + */ + @SerializedName("fields") + @Expose + public FieldValueSet fields; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java b/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java index af558a2fbf6..9f214f2fbb1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseLocaleInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Locale Info. */ -public class LocaleInfo extends BaseLocaleInfo { +public class LocaleInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Locale. + * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. + */ + @SerializedName("locale") + @Expose + public String locale; + + /** + * The Display Name. + * A name representing the user's locale in natural language, for example, 'English (United States)'. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java b/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java index 30995d346c0..b549badcaff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java @@ -3,12 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseLocalizedNotificationMessage; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Localized Notification Message. */ -public class LocalizedNotificationMessage extends BaseLocalizedNotificationMessage { +public class LocalizedNotificationMessage extends Entity implements IJsonBackedObject { + + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Locale. + * The Locale for which this message is destined. + */ + @SerializedName("locale") + @Expose + public String locale; + + /** + * The Subject. + * The Message Template Subject. + */ + @SerializedName("subject") + @Expose + public String subject; + + /** + * The Message Template. + * The Message Template content. + */ + @SerializedName("messageTemplate") + @Expose + public String messageTemplate; + + /** + * The Is Default. + * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. + */ + @SerializedName("isDefault") + @Expose + public Boolean isDefault; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocateDeviceActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/LocateDeviceActionResult.java index 228cf687675..3ffeee311b4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocateDeviceActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocateDeviceActionResult.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceGeoLocation; +import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.BaseLocateDeviceActionResult; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Locate Device Action Result. */ -public class LocateDeviceActionResult extends BaseLocateDeviceActionResult { +public class LocateDeviceActionResult extends DeviceActionResult implements IJsonBackedObject { + + + /** + * The Device Location. + * device location + */ + @SerializedName("deviceLocation") + @Expose + public DeviceGeoLocation deviceLocation; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Location.java b/src/main/java/com/microsoft/graph/models/extensions/Location.java index 0435a713962..76048e97d18 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Location.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Location.java @@ -3,14 +3,145 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.OutlookGeoCoordinates; +import com.microsoft.graph.models.generated.LocationType; +import com.microsoft.graph.models.generated.LocationUniqueIdType; -import com.microsoft.graph.models.generated.BaseLocation; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Location. */ -public class Location extends BaseLocation { +public class Location implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * The name associated with the location. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Location Email Address. + * Optional email address of the location. + */ + @SerializedName("locationEmailAddress") + @Expose + public String locationEmailAddress; + + /** + * The Address. + * The street address of the location. + */ + @SerializedName("address") + @Expose + public PhysicalAddress address; + + /** + * The Coordinates. + * The geographic coordinates and elevation of the location. + */ + @SerializedName("coordinates") + @Expose + public OutlookGeoCoordinates coordinates; + + /** + * The Location Uri. + * Optional URI representing the location. + */ + @SerializedName("locationUri") + @Expose + public String locationUri; + + /** + * The Location Type. + * The type of location. The possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only. + */ + @SerializedName("locationType") + @Expose + public LocationType locationType; + + /** + * The Unique Id. + * For internal use only. + */ + @SerializedName("uniqueId") + @Expose + public String uniqueId; + + /** + * The Unique Id Type. + * For internal use only. + */ + @SerializedName("uniqueIdType") + @Expose + public LocationUniqueIdType uniqueIdType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java b/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java index 061c508c21e..82f1051cbac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java @@ -3,14 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.LocationConstraintItem; -import com.microsoft.graph.models.generated.BaseLocationConstraint; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Location Constraint. */ -public class LocationConstraint extends BaseLocationConstraint { +public class LocationConstraint implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Is Required. + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + */ + @SerializedName("isRequired") + @Expose + public Boolean isRequired; + + /** + * The Suggest Location. + * The client requests the service to suggest one or more meeting locations. + */ + @SerializedName("suggestLocation") + @Expose + public Boolean suggestLocation; + + /** + * The Locations. + * Constraint information for one or more locations that the client requests for the meeting. + */ + @SerializedName("locations") + @Expose + public java.util.List locations; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocationConstraintItem.java b/src/main/java/com/microsoft/graph/models/extensions/LocationConstraintItem.java index 89bc9bb4e90..34aa1836268 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocationConstraintItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocationConstraintItem.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.generated.BaseLocationConstraintItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Location Constraint Item. */ -public class LocationConstraintItem extends BaseLocationConstraintItem { +public class LocationConstraintItem extends Location implements IJsonBackedObject { + + + /** + * The Resolve Availability. + * If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true. + */ + @SerializedName("resolveAvailability") + @Expose + public Boolean resolveAvailability; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/LookupColumn.java b/src/main/java/com/microsoft/graph/models/extensions/LookupColumn.java index 047a3b8b55f..e3976477033 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LookupColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LookupColumn.java @@ -3,14 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseLookupColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Lookup Column. */ -public class LookupColumn extends BaseLookupColumn { +public class LookupColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Multiple Values. + * Indicates whether multiple values can be selected from the source. + */ + @SerializedName("allowMultipleValues") + @Expose + public Boolean allowMultipleValues; + + /** + * The Allow Unlimited Length. + * Indicates whether values in the column should be able to exceed the standard limit of 255 characters. + */ + @SerializedName("allowUnlimitedLength") + @Expose + public Boolean allowUnlimitedLength; + + /** + * The Column Name. + * The name of the lookup source column. + */ + @SerializedName("columnName") + @Expose + public String columnName; + + /** + * The List Id. + * The unique identifier of the lookup source list. + */ + @SerializedName("listId") + @Expose + public String listId; + + /** + * The Primary Lookup Column Id. + * If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here. + */ + @SerializedName("primaryLookupColumnId") + @Expose + public String primaryLookupColumnId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java index 3ce861bf5ba..7df3d088049 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java @@ -3,12 +3,206 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseMacOSCompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSCompliance Policy. */ -public class MacOSCompliancePolicy extends BaseMacOSCompliancePolicy { +public class MacOSCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Required. + * Whether or not to require a password. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Block Simple. + * Indicates whether or not to block simple passwords. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 65535 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * Minimum length of password. Valid values 4 to 14 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 1 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Os Minimum Version. + * Minimum IOS version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum IOS version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The System Integrity Protection Enabled. + * Require that devices have enabled system integrity protection. + */ + @SerializedName("systemIntegrityProtectionEnabled") + @Expose + public Boolean systemIntegrityProtectionEnabled; + + /** + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection . + */ + @SerializedName("deviceThreatProtectionEnabled") + @Expose + public Boolean deviceThreatProtectionEnabled; + + /** + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + */ + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @Expose + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + + /** + * The Storage Require Encryption. + * Require encryption on Mac OS devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + /** + * The Firewall Enabled. + * Whether the firewall should be enabled or not. + */ + @SerializedName("firewallEnabled") + @Expose + public Boolean firewallEnabled; + + /** + * The Firewall Block All Incoming. + * Corresponds to the 'Block all incoming connections' option. + */ + @SerializedName("firewallBlockAllIncoming") + @Expose + public Boolean firewallBlockAllIncoming; + + /** + * The Firewall Enable Stealth Mode. + * Corresponds to 'Enable stealth mode.' + */ + @SerializedName("firewallEnableStealthMode") + @Expose + public Boolean firewallEnableStealthMode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java index 9605d64ce19..55c7ba041ac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java @@ -3,12 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseMacOSCustomConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSCustom Configuration. */ -public class MacOSCustomConfiguration extends BaseMacOSCustomConfiguration { +public class MacOSCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Payload Name. + * Name that is displayed to the user. + */ + @SerializedName("payloadName") + @Expose + public String payloadName; + + /** + * The Payload File Name. + * Payload file name (.mobileconfig + */ + @SerializedName("payloadFileName") + @Expose + public String payloadFileName; + + /** + * The Payload. + * Payload. (UTF8 encoded byte array) + */ + @SerializedName("payload") + @Expose + public byte[] payload; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java index af8a5f9e937..f5e8d6d32a1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; -import com.microsoft.graph.models.generated.BaseMacOSDeviceFeaturesConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSDevice Features Configuration. */ -public class MacOSDeviceFeaturesConfiguration extends BaseMacOSDeviceFeaturesConfiguration { +public class MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigurationBase implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java index 13e940c7f47..2dd23ed7c12 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java @@ -3,12 +3,167 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppListItem; +import com.microsoft.graph.models.generated.AppListType; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseMacOSGeneralDeviceConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSGeneral Device Configuration. */ -public class MacOSGeneralDeviceConfiguration extends BaseMacOSGeneralDeviceConfiguration { +public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Compliant Apps List. + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("compliantAppsList") + @Expose + public java.util.List compliantAppsList; + + /** + * The Compliant App List Type. + * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("compliantAppListType") + @Expose + public AppListType compliantAppListType; + + /** + * The Email In Domain Suffixes. + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + */ + @SerializedName("emailInDomainSuffixes") + @Expose + public java.util.List emailInDomainSuffixes; + + /** + * The Password Block Simple. + * Block simple passwords. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Expiration Days. + * Number of days before the password expires. + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Character Set Count. + * Number of character sets a password must contain. Valid values 0 to 4 + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Minimum Length. + * Minimum length of passwords. + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity required before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity required before the screen times out. + */ + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Required Type. + * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Required. + * Whether or not to require a password. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSOfficeSuiteApp.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSOfficeSuiteApp.java index b6789046d3e..c0aeb019fd1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSOfficeSuiteApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSOfficeSuiteApp.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseMacOSOfficeSuiteApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSOffice Suite App. */ -public class MacOSOfficeSuiteApp extends BaseMacOSOfficeSuiteApp { +public class MacOSOfficeSuiteApp extends MobileApp implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java b/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java index 54a86575649..7ea48518ab3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java @@ -3,14 +3,233 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.models.extensions.MessageRule; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.MessageCollectionResponse; +import com.microsoft.graph.requests.extensions.MessageCollectionPage; +import com.microsoft.graph.requests.extensions.MessageRuleCollectionResponse; +import com.microsoft.graph.requests.extensions.MessageRuleCollectionPage; +import com.microsoft.graph.requests.extensions.MailFolderCollectionResponse; +import com.microsoft.graph.requests.extensions.MailFolderCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BaseMailFolder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder. */ -public class MailFolder extends BaseMailFolder { +public class MailFolder extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The mailFolder's display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Parent Folder Id. + * The unique identifier for the mailFolder's parent mailFolder. + */ + @SerializedName("parentFolderId") + @Expose + public String parentFolderId; + + /** + * The Child Folder Count. + * The number of immediate child mailFolders in the current mailFolder. + */ + @SerializedName("childFolderCount") + @Expose + public Integer childFolderCount; + + /** + * The Unread Item Count. + * The number of items in the mailFolder marked as unread. + */ + @SerializedName("unreadItemCount") + @Expose + public Integer unreadItemCount; + + /** + * The Total Item Count. + * The number of items in the mailFolder. + */ + @SerializedName("totalItemCount") + @Expose + public Integer totalItemCount; + + /** + * The Messages. + * The collection of messages in the mailFolder. + */ + public MessageCollectionPage messages; + + /** + * The Message Rules. + * The collection of rules that apply to the user's Inbox folder. + */ + public MessageRuleCollectionPage messageRules; + + /** + * The Child Folders. + * The collection of child folders in the mailFolder. + */ + public MailFolderCollectionPage childFolders; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("messages")) { + final MessageCollectionResponse response = new MessageCollectionResponse(); + if (json.has("messages@odata.nextLink")) { + response.nextLink = json.get("messages@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messages").toString(), JsonObject[].class); + final Message[] array = new Message[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Message.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + messages = new MessageCollectionPage(response, null); + } + + if (json.has("messageRules")) { + final MessageRuleCollectionResponse response = new MessageRuleCollectionResponse(); + if (json.has("messageRules@odata.nextLink")) { + response.nextLink = json.get("messageRules@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messageRules").toString(), JsonObject[].class); + final MessageRule[] array = new MessageRule[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MessageRule.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + messageRules = new MessageRuleCollectionPage(response, null); + } + + if (json.has("childFolders")) { + final MailFolderCollectionResponse response = new MailFolderCollectionResponse(); + if (json.has("childFolders@odata.nextLink")) { + response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); + final MailFolder[] array = new MailFolder[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MailFolder.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + childFolders = new MailFolderCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailFolderCopyBody.java b/src/main/java/com/microsoft/graph/models/extensions/MailFolderCopyBody.java index cb3ea263ecf..6c6a7fa16b3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailFolderCopyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailFolderCopyBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMailFolderCopyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Copy Body. */ -public class MailFolderCopyBody extends BaseMailFolderCopyBody { +public class MailFolderCopyBody { + /** + * The destination Id. + * + */ + @SerializedName("destinationId") + @Expose + public String destinationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailFolderMoveBody.java b/src/main/java/com/microsoft/graph/models/extensions/MailFolderMoveBody.java index cf776255d0e..02ff05d8a39 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailFolderMoveBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailFolderMoveBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMailFolderMoveBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Move Body. */ -public class MailFolderMoveBody extends BaseMailFolderMoveBody { +public class MailFolderMoveBody { + /** + * The destination Id. + * + */ + @SerializedName("destinationId") + @Expose + public String destinationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailTips.java b/src/main/java/com/microsoft/graph/models/extensions/MailTips.java index b539097a9ba..cda8c2464a1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailTips.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailTips.java @@ -3,12 +3,178 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EmailAddress; +import com.microsoft.graph.models.extensions.AutomaticRepliesMailTips; +import com.microsoft.graph.models.generated.RecipientScopeType; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.extensions.MailTipsError; -import com.microsoft.graph.models.generated.BaseMailTips; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Tips. */ -public class MailTips extends BaseMailTips { +public class MailTips implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Email Address. + * The email address of the recipient to get mailtips for. + */ + @SerializedName("emailAddress") + @Expose + public EmailAddress emailAddress; + + /** + * The Automatic Replies. + * Mail tips for automatic reply if it has been set up by the recipient. + */ + @SerializedName("automaticReplies") + @Expose + public AutomaticRepliesMailTips automaticReplies; + + /** + * The Mailbox Full. + * The mailbox full status of the recipient. + */ + @SerializedName("mailboxFull") + @Expose + public Boolean mailboxFull; + + /** + * The Custom Mail Tip. + * A custom mail tip that can be set on the recipient's mailbox. + */ + @SerializedName("customMailTip") + @Expose + public String customMailTip; + + /** + * The External Member Count. + * The number of external members if the recipient is a distribution list. + */ + @SerializedName("externalMemberCount") + @Expose + public Integer externalMemberCount; + + /** + * The Total Member Count. + * The number of members if the recipient is a distribution list. + */ + @SerializedName("totalMemberCount") + @Expose + public Integer totalMemberCount; + + /** + * The Delivery Restricted. + * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. + */ + @SerializedName("deliveryRestricted") + @Expose + public Boolean deliveryRestricted; + + /** + * The Is Moderated. + * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. + */ + @SerializedName("isModerated") + @Expose + public Boolean isModerated; + + /** + * The Recipient Scope. + * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. + */ + @SerializedName("recipientScope") + @Expose + public EnumSet recipientScope; + + /** + * The Recipient Suggestions. + * Recipients suggested based on previous contexts where they appear in the same message. + */ + @SerializedName("recipientSuggestions") + @Expose + public java.util.List recipientSuggestions; + + /** + * The Max Message Size. + * The maximum message size that has been configured for the recipient's organization or mailbox. + */ + @SerializedName("maxMessageSize") + @Expose + public Integer maxMessageSize; + + /** + * The Error. + * Errors that occur during the getMailTips action. + */ + @SerializedName("error") + @Expose + public MailTipsError error; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java b/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java index 0f4edf37825..ed30e123763 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseMailTipsError; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Tips Error. */ -public class MailTipsError extends BaseMailTipsError { +public class MailTipsError implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Message. + * The error message. + */ + @SerializedName("message") + @Expose + public String message; + + /** + * The Code. + * The error code. + */ + @SerializedName("code") + @Expose + public String code; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java b/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java index 653eab4a6a5..3466512c69f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java @@ -3,14 +3,120 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AutomaticRepliesSetting; +import com.microsoft.graph.models.extensions.LocaleInfo; +import com.microsoft.graph.models.extensions.WorkingHours; -import com.microsoft.graph.models.generated.BaseMailboxSettings; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mailbox Settings. */ -public class MailboxSettings extends BaseMailboxSettings { +public class MailboxSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Automatic Replies Setting. + * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. + */ + @SerializedName("automaticRepliesSetting") + @Expose + public AutomaticRepliesSetting automaticRepliesSetting; + + /** + * The Archive Folder. + * Folder ID of an archive folder for the user. + */ + @SerializedName("archiveFolder") + @Expose + public String archiveFolder; + + /** + * The Time Zone. + * The default time zone for the user's mailbox. + */ + @SerializedName("timeZone") + @Expose + public String timeZone; + + /** + * The Language. + * The locale information for the user, including the preferred language and country/region. + */ + @SerializedName("language") + @Expose + public LocaleInfo language; + + /** + * The Working Hours. + * The days of the week and hours in a specific time zone that the user works. + */ + @SerializedName("workingHours") + @Expose + public WorkingHours workingHours; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MalwareState.java b/src/main/java/com/microsoft/graph/models/extensions/MalwareState.java index ac3aa96d6a7..ff077708fc6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MalwareState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MalwareState.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseMalwareState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Malware State. */ -public class MalwareState extends BaseMalwareState { +public class MalwareState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Category. + * Provider-generated malware category (for example, trojan, ransomware, etc.). + */ + @SerializedName("category") + @Expose + public String category; + + /** + * The Family. + * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + */ + @SerializedName("family") + @Expose + public String family; + + /** + * The Name. + * Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H). + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Severity. + * Provider-determined severity of this malware. + */ + @SerializedName("severity") + @Expose + public String severity; + + /** + * The Was Running. + * Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk. + */ + @SerializedName("wasRunning") + @Expose + public Boolean wasRunning; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java index e86bfc0f126..17ea73f091f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.ManagedMobileLobApp; -import com.microsoft.graph.models.generated.BaseManagedAndroidLobApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Android Lob App. */ -public class ManagedAndroidLobApp extends BaseManagedAndroidLobApp { +public class ManagedAndroidLobApp extends ManagedMobileLobApp implements IJsonBackedObject { + + + /** + * The Package Id. + * The package identifier. + */ + @SerializedName("packageId") + @Expose + public String packageId; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; + + /** + * The Version Name. + * The version name of managed Android Line of Business (LoB) app. + */ + @SerializedName("versionName") + @Expose + public String versionName; + + /** + * The Version Code. + * The version code of managed Android Line of Business (LoB) app. + */ + @SerializedName("versionCode") + @Expose + public String versionCode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java index 1696258e6f6..5d189485da4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.ManagedApp; -import com.microsoft.graph.models.generated.BaseManagedAndroidStoreApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Android Store App. */ -public class ManagedAndroidStoreApp extends BaseManagedAndroidStoreApp { +public class ManagedAndroidStoreApp extends ManagedApp implements IJsonBackedObject { + + + /** + * The Package Id. + * The app's package ID. + */ + @SerializedName("packageId") + @Expose + public String packageId; + + /** + * The App Store Url. + * The Android AppStoreUrl. + */ + @SerializedName("appStoreUrl") + @Expose + public String appStoreUrl; + + /** + * The Minimum Supported Operating System. + * The value for the minimum supported operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedApp.java index c75239b8430..d0be23e9389 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedApp.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppAvailability; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseManagedApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App. */ -public class ManagedApp extends BaseManagedApp { +public class ManagedApp extends MobileApp implements IJsonBackedObject { + + + /** + * The App Availability. + * The Application's availability. Possible values are: global, lineOfBusiness. + */ + @SerializedName("appAvailability") + @Expose + public ManagedAppAvailability appAvailability; + + /** + * The Version. + * The Application's version. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppConfiguration.java index 9f720d8b9e4..bb8ab934aff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppConfiguration.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.KeyValuePair; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.models.generated.BaseManagedAppConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Configuration. */ -public class ManagedAppConfiguration extends BaseManagedAppConfiguration { +public class ManagedAppConfiguration extends ManagedAppPolicy implements IJsonBackedObject { + + + /** + * The Custom Settings. + * A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service + */ + @SerializedName("customSettings") + @Expose + public java.util.List customSettings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java index 01abbf1f81c..be0f0f82a9b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseManagedAppDiagnosticStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Diagnostic Status. */ -public class ManagedAppDiagnosticStatus extends BaseManagedAppDiagnosticStatus { +public class ManagedAppDiagnosticStatus implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Validation Name. + * The validation friendly name + */ + @SerializedName("validationName") + @Expose + public String validationName; + + /** + * The State. + * The state of the operation + */ + @SerializedName("state") + @Expose + public String state; + + /** + * The Mitigation Instruction. + * Instruction on how to mitigate a failed validation + */ + @SerializedName("mitigationInstruction") + @Expose + public String mitigationInstruction; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppOperation.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppOperation.java index b402f42ac5e..c7cb4ae291f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppOperation.java @@ -3,12 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedAppOperation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Operation. */ -public class ManagedAppOperation extends BaseManagedAppOperation { +public class ManagedAppOperation extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The operation name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Last Modified Date Time. + * The last time the app operation was modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The State. + * The current state of the operation + */ + @SerializedName("state") + @Expose + public String state; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java index a479e3daa25..847a61ab53e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java @@ -3,12 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedAppPolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy. */ -public class ManagedAppPolicy extends BaseManagedAppPolicy { +public class ManagedAppPolicy extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Policy display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * The policy's description. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Created Date Time. + * The date and time the policy was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * Last time the policy was modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java index eb8927768f1..ada4e864057 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummaryPerApp; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedAppPolicyDeploymentSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Deployment Summary. */ -public class ManagedAppPolicyDeploymentSummary extends BaseManagedAppPolicyDeploymentSummary { +public class ManagedAppPolicyDeploymentSummary extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Not yet documented + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Configuration Deployed User Count. + * Not yet documented + */ + @SerializedName("configurationDeployedUserCount") + @Expose + public Integer configurationDeployedUserCount; + + /** + * The Last Refresh Time. + * Not yet documented + */ + @SerializedName("lastRefreshTime") + @Expose + public java.util.Calendar lastRefreshTime; + + /** + * The Configuration Deployment Summary Per App. + * Not yet documented + */ + @SerializedName("configurationDeploymentSummaryPerApp") + @Expose + public java.util.List configurationDeploymentSummaryPerApp; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java index 9e5e792f5d9..02f96fec145 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppIdentifier; -import com.microsoft.graph.models.generated.BaseManagedAppPolicyDeploymentSummaryPerApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Deployment Summary Per App. */ -public class ManagedAppPolicyDeploymentSummaryPerApp extends BaseManagedAppPolicyDeploymentSummaryPerApp { +public class ManagedAppPolicyDeploymentSummaryPerApp implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Mobile App Identifier. + * Deployment of an app. + */ + @SerializedName("mobileAppIdentifier") + @Expose + public MobileAppIdentifier mobileAppIdentifier; + + /** + * The Configuration Applied User Count. + * Number of users the policy is applied. + */ + @SerializedName("configurationAppliedUserCount") + @Expose + public Integer configurationAppliedUserCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyTargetAppsBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyTargetAppsBody.java index 2e1048b3124..5b087e3f1f0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyTargetAppsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyTargetAppsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedAppPolicyTargetAppsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Target Apps Body. */ -public class ManagedAppPolicyTargetAppsBody extends BaseManagedAppPolicyTargetAppsBody { +public class ManagedAppPolicyTargetAppsBody { + /** + * The apps. + * + */ + @SerializedName("apps") + @Expose + public java.util.List apps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java index f341c02fd96..e8ce9106839 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java @@ -3,12 +3,280 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppDataTransferLevel; +import com.microsoft.graph.models.generated.ManagedAppClipboardSharingLevel; +import com.microsoft.graph.models.generated.ManagedAppPinCharacterSet; +import com.microsoft.graph.models.generated.ManagedAppDataStorageLocation; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.models.generated.BaseManagedAppProtection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Protection. */ -public class ManagedAppProtection extends BaseManagedAppProtection { +public class ManagedAppProtection extends ManagedAppPolicy implements IJsonBackedObject { + + + /** + * The Period Offline Before Access Check. + * The period after which access is checked when the device is not connected to the internet. + */ + @SerializedName("periodOfflineBeforeAccessCheck") + @Expose + public javax.xml.datatype.Duration periodOfflineBeforeAccessCheck; + + /** + * The Period Online Before Access Check. + * The period after which access is checked when the device is connected to the internet. + */ + @SerializedName("periodOnlineBeforeAccessCheck") + @Expose + public javax.xml.datatype.Duration periodOnlineBeforeAccessCheck; + + /** + * The Allowed Inbound Data Transfer Sources. + * Sources from which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + */ + @SerializedName("allowedInboundDataTransferSources") + @Expose + public ManagedAppDataTransferLevel allowedInboundDataTransferSources; + + /** + * The Allowed Outbound Data Transfer Destinations. + * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + */ + @SerializedName("allowedOutboundDataTransferDestinations") + @Expose + public ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations; + + /** + * The Organizational Credentials Required. + * Indicates whether organizational credentials are required for app use. + */ + @SerializedName("organizationalCredentialsRequired") + @Expose + public Boolean organizationalCredentialsRequired; + + /** + * The Allowed Outbound Clipboard Sharing Level. + * The level to which the clipboard may be shared between apps on the managed device. Possible values are: allApps, managedAppsWithPasteIn, managedApps, blocked. + */ + @SerializedName("allowedOutboundClipboardSharingLevel") + @Expose + public ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel; + + /** + * The Data Backup Blocked. + * Indicates whether the backup of a managed app's data is blocked. + */ + @SerializedName("dataBackupBlocked") + @Expose + public Boolean dataBackupBlocked; + + /** + * The Device Compliance Required. + * Indicates whether device compliance is required. + */ + @SerializedName("deviceComplianceRequired") + @Expose + public Boolean deviceComplianceRequired; + + /** + * The Managed Browser To Open Links Required. + * Indicates whether internet links should be opened in the managed browser app. + */ + @SerializedName("managedBrowserToOpenLinksRequired") + @Expose + public Boolean managedBrowserToOpenLinksRequired; + + /** + * The Save As Blocked. + * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. + */ + @SerializedName("saveAsBlocked") + @Expose + public Boolean saveAsBlocked; + + /** + * The Period Offline Before Wipe Is Enforced. + * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. + */ + @SerializedName("periodOfflineBeforeWipeIsEnforced") + @Expose + public javax.xml.datatype.Duration periodOfflineBeforeWipeIsEnforced; + + /** + * The Pin Required. + * Indicates whether an app-level pin is required. + */ + @SerializedName("pinRequired") + @Expose + public Boolean pinRequired; + + /** + * The Maximum Pin Retries. + * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. + */ + @SerializedName("maximumPinRetries") + @Expose + public Integer maximumPinRetries; + + /** + * The Simple Pin Blocked. + * Indicates whether simplePin is blocked. + */ + @SerializedName("simplePinBlocked") + @Expose + public Boolean simplePinBlocked; + + /** + * The Minimum Pin Length. + * Minimum pin length required for an app-level pin if PinRequired is set to True + */ + @SerializedName("minimumPinLength") + @Expose + public Integer minimumPinLength; + + /** + * The Pin Character Set. + * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. + */ + @SerializedName("pinCharacterSet") + @Expose + public ManagedAppPinCharacterSet pinCharacterSet; + + /** + * The Period Before Pin Reset. + * TimePeriod before the all-level pin must be reset if PinRequired is set to True. + */ + @SerializedName("periodBeforePinReset") + @Expose + public javax.xml.datatype.Duration periodBeforePinReset; + + /** + * The Allowed Data Storage Locations. + * Data storage locations where a user may store managed data. + */ + @SerializedName("allowedDataStorageLocations") + @Expose + public java.util.List allowedDataStorageLocations; + + /** + * The Contact Sync Blocked. + * Indicates whether contacts can be synced to the user's device. + */ + @SerializedName("contactSyncBlocked") + @Expose + public Boolean contactSyncBlocked; + + /** + * The Print Blocked. + * Indicates whether printing is allowed from managed apps. + */ + @SerializedName("printBlocked") + @Expose + public Boolean printBlocked; + + /** + * The Fingerprint Blocked. + * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. + */ + @SerializedName("fingerprintBlocked") + @Expose + public Boolean fingerprintBlocked; + + /** + * The Disable App Pin If Device Pin Is Set. + * Indicates whether use of the app pin is required if the device pin is set. + */ + @SerializedName("disableAppPinIfDevicePinIsSet") + @Expose + public Boolean disableAppPinIfDevicePinIsSet; + + /** + * The Minimum Required Os Version. + * Versions less than the specified version will block the managed app from accessing company data. + */ + @SerializedName("minimumRequiredOsVersion") + @Expose + public String minimumRequiredOsVersion; + + /** + * The Minimum Warning Os Version. + * Versions less than the specified version will result in warning message on the managed app from accessing company data. + */ + @SerializedName("minimumWarningOsVersion") + @Expose + public String minimumWarningOsVersion; + + /** + * The Minimum Required App Version. + * Versions less than the specified version will block the managed app from accessing company data. + */ + @SerializedName("minimumRequiredAppVersion") + @Expose + public String minimumRequiredAppVersion; + + /** + * The Minimum Warning App Version. + * Versions less than the specified version will result in warning message on the managed app. + */ + @SerializedName("minimumWarningAppVersion") + @Expose + public String minimumWarningAppVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtectionTargetAppsBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtectionTargetAppsBody.java index 1ed2c073e76..85ade64b961 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtectionTargetAppsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtectionTargetAppsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedAppProtectionTargetAppsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Protection Target Apps Body. */ -public class ManagedAppProtectionTargetAppsBody extends BaseManagedAppProtectionTargetAppsBody { +public class ManagedAppProtectionTargetAppsBody { + /** + * The apps. + * + */ + @SerializedName("apps") + @Expose + public java.util.List apps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java index 136bc07907a..4d0a578728b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java @@ -3,12 +3,238 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppFlaggedReason; +import com.microsoft.graph.models.extensions.MobileAppIdentifier; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; +import com.microsoft.graph.models.extensions.ManagedAppOperation; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedAppOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppOperationCollectionPage; -import com.microsoft.graph.models.generated.BaseManagedAppRegistration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration. */ -public class ManagedAppRegistration extends BaseManagedAppRegistration { +public class ManagedAppRegistration extends Entity implements IJsonBackedObject { + + + /** + * The Created Date Time. + * Date and time of creation + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Sync Date Time. + * Date and time of last the app synced with management service. + */ + @SerializedName("lastSyncDateTime") + @Expose + public java.util.Calendar lastSyncDateTime; + + /** + * The Application Version. + * App version + */ + @SerializedName("applicationVersion") + @Expose + public String applicationVersion; + + /** + * The Management Sdk Version. + * App management SDK version + */ + @SerializedName("managementSdkVersion") + @Expose + public String managementSdkVersion; + + /** + * The Platform Version. + * Operating System version + */ + @SerializedName("platformVersion") + @Expose + public String platformVersion; + + /** + * The Device Type. + * Host device type + */ + @SerializedName("deviceType") + @Expose + public String deviceType; + + /** + * The Device Tag. + * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. + */ + @SerializedName("deviceTag") + @Expose + public String deviceTag; + + /** + * The Device Name. + * Host device name + */ + @SerializedName("deviceName") + @Expose + public String deviceName; + + /** + * The Flagged Reasons. + * Zero or more reasons an app registration is flagged. E.g. app running on rooted device + */ + @SerializedName("flaggedReasons") + @Expose + public java.util.List flaggedReasons; + + /** + * The User Id. + * The user Id to who this app registration belongs. + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The App Identifier. + * The app package Identifier + */ + @SerializedName("appIdentifier") + @Expose + public MobileAppIdentifier appIdentifier; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + /** + * The Applied Policies. + * Zero or more policys already applied on the registered app when it last synchronized with managment service. + */ + public ManagedAppPolicyCollectionPage appliedPolicies; + + /** + * The Intended Policies. + * Zero or more policies admin intended for the app as of now. + */ + public ManagedAppPolicyCollectionPage intendedPolicies; + + /** + * The Operations. + * Zero or more long running operations triggered on the app registration. + */ + public ManagedAppOperationCollectionPage operations; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("appliedPolicies")) { + final ManagedAppPolicyCollectionResponse response = new ManagedAppPolicyCollectionResponse(); + if (json.has("appliedPolicies@odata.nextLink")) { + response.nextLink = json.get("appliedPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("appliedPolicies").toString(), JsonObject[].class); + final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + appliedPolicies = new ManagedAppPolicyCollectionPage(response, null); + } + + if (json.has("intendedPolicies")) { + final ManagedAppPolicyCollectionResponse response = new ManagedAppPolicyCollectionResponse(); + if (json.has("intendedPolicies@odata.nextLink")) { + response.nextLink = json.get("intendedPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("intendedPolicies").toString(), JsonObject[].class); + final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + intendedPolicies = new ManagedAppPolicyCollectionPage(response, null); + } + + if (json.has("operations")) { + final ManagedAppOperationCollectionResponse response = new ManagedAppOperationCollectionResponse(); + if (json.has("operations@odata.nextLink")) { + response.nextLink = json.get("operations@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); + final ManagedAppOperation[] array = new ManagedAppOperation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppOperation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + operations = new ManagedAppOperationCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatus.java index b792cd26c2c..2dae2c0a653 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatus.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedAppStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status. */ -public class ManagedAppStatus extends BaseManagedAppStatus { +public class ManagedAppStatus extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Friendly name of the status report. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatusRaw.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatusRaw.java index 58b2ad7d5fa..ec013ab591d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatusRaw.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppStatusRaw.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedAppStatus; -import com.microsoft.graph.models.generated.BaseManagedAppStatusRaw; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Raw. */ -public class ManagedAppStatusRaw extends BaseManagedAppStatusRaw { +public class ManagedAppStatusRaw extends ManagedAppStatus implements IJsonBackedObject { + + + /** + * The Content. + * Status report content. + */ + @SerializedName("content") + @Expose + public com.google.gson.JsonElement content; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java index fb7b1296681..5f74fad0ebf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java @@ -3,12 +3,506 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedDeviceOwnerType; +import com.microsoft.graph.models.extensions.DeviceActionResult; +import com.microsoft.graph.models.generated.ComplianceState; +import com.microsoft.graph.models.generated.ManagementAgentType; +import com.microsoft.graph.models.generated.DeviceEnrollmentType; +import com.microsoft.graph.models.generated.DeviceRegistrationState; +import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessState; +import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessStateReason; +import com.microsoft.graph.models.extensions.ConfigurationManagerClientEnabledFeatures; +import com.microsoft.graph.models.extensions.DeviceHealthAttestationState; +import com.microsoft.graph.models.generated.ManagedDevicePartnerReportedHealthState; +import com.microsoft.graph.models.extensions.DeviceConfigurationState; +import com.microsoft.graph.models.extensions.DeviceCategory; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionPage; -import com.microsoft.graph.models.generated.BaseManagedDevice; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device. */ -public class ManagedDevice extends BaseManagedDevice { +public class ManagedDevice extends Entity implements IJsonBackedObject { + + + /** + * The User Id. + * Unique Identifier for the user associated with the device + */ + @SerializedName("userId") + @Expose + public String userId; + + /** + * The Device Name. + * Name of the device + */ + @SerializedName("deviceName") + @Expose + public String deviceName; + + /** + * The Managed Device Owner Type. + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + */ + @SerializedName("managedDeviceOwnerType") + @Expose + public ManagedDeviceOwnerType managedDeviceOwnerType; + + /** + * The Device Action Results. + * List of ComplexType deviceActionResult objects. + */ + @SerializedName("deviceActionResults") + @Expose + public java.util.List deviceActionResults; + + /** + * The Enrolled Date Time. + * Enrollment time of the device. + */ + @SerializedName("enrolledDateTime") + @Expose + public java.util.Calendar enrolledDateTime; + + /** + * The Last Sync Date Time. + * The date and time that the device last completed a successful sync with Intune. + */ + @SerializedName("lastSyncDateTime") + @Expose + public java.util.Calendar lastSyncDateTime; + + /** + * The Operating System. + * Operating system of the device. Windows, iOS, etc. + */ + @SerializedName("operatingSystem") + @Expose + public String operatingSystem; + + /** + * The Compliance State. + * Compliance state of the device. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. + */ + @SerializedName("complianceState") + @Expose + public ComplianceState complianceState; + + /** + * The Jail Broken. + * whether the device is jail broken or rooted. + */ + @SerializedName("jailBroken") + @Expose + public String jailBroken; + + /** + * The Management Agent. + * Management channel of the device. Intune, EAS, etc. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. + */ + @SerializedName("managementAgent") + @Expose + public ManagementAgentType managementAgent; + + /** + * The Os Version. + * Operating system version of the device. + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + + /** + * The Eas Activated. + * Whether the device is Exchange ActiveSync activated. + */ + @SerializedName("easActivated") + @Expose + public Boolean easActivated; + + /** + * The Eas Device Id. + * Exchange ActiveSync Id of the device. + */ + @SerializedName("easDeviceId") + @Expose + public String easDeviceId; + + /** + * The Eas Activation Date Time. + * Exchange ActivationSync activation time of the device. + */ + @SerializedName("easActivationDateTime") + @Expose + public java.util.Calendar easActivationDateTime; + + /** + * The Azure ADRegistered. + * Whether the device is Azure Active Directory registered. + */ + @SerializedName("azureADRegistered") + @Expose + public Boolean azureADRegistered; + + /** + * The Device Enrollment Type. + * Enrollment type of the device. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + */ + @SerializedName("deviceEnrollmentType") + @Expose + public DeviceEnrollmentType deviceEnrollmentType; + + /** + * The Activation Lock Bypass Code. + * Code that allows the Activation Lock on a device to be bypassed. + */ + @SerializedName("activationLockBypassCode") + @Expose + public String activationLockBypassCode; + + /** + * The Email Address. + * Email(s) for the user associated with the device + */ + @SerializedName("emailAddress") + @Expose + public String emailAddress; + + /** + * The Azure ADDevice Id. + * The unique identifier for the Azure Active Directory device. Read only. + */ + @SerializedName("azureADDeviceId") + @Expose + public String azureADDeviceId; + + /** + * The Device Registration State. + * Device registration state. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + */ + @SerializedName("deviceRegistrationState") + @Expose + public DeviceRegistrationState deviceRegistrationState; + + /** + * The Device Category Display Name. + * Device category display name + */ + @SerializedName("deviceCategoryDisplayName") + @Expose + public String deviceCategoryDisplayName; + + /** + * The Is Supervised. + * Device supervised status + */ + @SerializedName("isSupervised") + @Expose + public Boolean isSupervised; + + /** + * The Exchange Last Successful Sync Date Time. + * Last time the device contacted Exchange. + */ + @SerializedName("exchangeLastSuccessfulSyncDateTime") + @Expose + public java.util.Calendar exchangeLastSuccessfulSyncDateTime; + + /** + * The Exchange Access State. + * The Access State of the device in Exchange. Possible values are: none, unknown, allowed, blocked, quarantined. + */ + @SerializedName("exchangeAccessState") + @Expose + public DeviceManagementExchangeAccessState exchangeAccessState; + + /** + * The Exchange Access State Reason. + * The reason for the device's access state in Exchange. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + */ + @SerializedName("exchangeAccessStateReason") + @Expose + public DeviceManagementExchangeAccessStateReason exchangeAccessStateReason; + + /** + * The Remote Assistance Session Url. + * Url that allows a Remote Assistance session to be established with the device. + */ + @SerializedName("remoteAssistanceSessionUrl") + @Expose + public String remoteAssistanceSessionUrl; + + /** + * The Remote Assistance Session Error Details. + * An error string that identifies issues when creating Remote Assistance session objects. + */ + @SerializedName("remoteAssistanceSessionErrorDetails") + @Expose + public String remoteAssistanceSessionErrorDetails; + + /** + * The Is Encrypted. + * Device encryption status + */ + @SerializedName("isEncrypted") + @Expose + public Boolean isEncrypted; + + /** + * The User Principal Name. + * Device user principal name + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The Model. + * Model of the device + */ + @SerializedName("model") + @Expose + public String model; + + /** + * The Manufacturer. + * Manufacturer of the device + */ + @SerializedName("manufacturer") + @Expose + public String manufacturer; + + /** + * The Imei. + * IMEI + */ + @SerializedName("imei") + @Expose + public String imei; + + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Serial Number. + * SerialNumber + */ + @SerializedName("serialNumber") + @Expose + public String serialNumber; + + /** + * The Phone Number. + * Phone number of the device + */ + @SerializedName("phoneNumber") + @Expose + public String phoneNumber; + + /** + * The Android Security Patch Level. + * Android security patch level + */ + @SerializedName("androidSecurityPatchLevel") + @Expose + public String androidSecurityPatchLevel; + + /** + * The User Display Name. + * User display name + */ + @SerializedName("userDisplayName") + @Expose + public String userDisplayName; + + /** + * The Configuration Manager Client Enabled Features. + * ConfigrMgr client enabled features + */ + @SerializedName("configurationManagerClientEnabledFeatures") + @Expose + public ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures; + + /** + * The Wi Fi Mac Address. + * Wi-Fi MAC + */ + @SerializedName("wiFiMacAddress") + @Expose + public String wiFiMacAddress; + + /** + * The Device Health Attestation State. + * The device health attestation state. + */ + @SerializedName("deviceHealthAttestationState") + @Expose + public DeviceHealthAttestationState deviceHealthAttestationState; + + /** + * The Subscriber Carrier. + * Subscriber Carrier + */ + @SerializedName("subscriberCarrier") + @Expose + public String subscriberCarrier; + + /** + * The Meid. + * MEID + */ + @SerializedName("meid") + @Expose + public String meid; + + /** + * The Total Storage Space In Bytes. + * Total Storage in Bytes + */ + @SerializedName("totalStorageSpaceInBytes") + @Expose + public Long totalStorageSpaceInBytes; + + /** + * The Free Storage Space In Bytes. + * Free Storage in Bytes + */ + @SerializedName("freeStorageSpaceInBytes") + @Expose + public Long freeStorageSpaceInBytes; + + /** + * The Managed Device Name. + * Automatically generated name to identify a device. Can be overwritten to a user friendly name. + */ + @SerializedName("managedDeviceName") + @Expose + public String managedDeviceName; + + /** + * The Partner Reported Threat State. + * Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. Possible values are: unknown, activated, deactivated, secured, lowSeverity, mediumSeverity, highSeverity, unresponsive, compromised, misconfigured. + */ + @SerializedName("partnerReportedThreatState") + @Expose + public ManagedDevicePartnerReportedHealthState partnerReportedThreatState; + + /** + * The Device Configuration States. + * Device configuration states for this device. + */ + public DeviceConfigurationStateCollectionPage deviceConfigurationStates; + + /** + * The Device Category. + * Device category + */ + @SerializedName("deviceCategory") + @Expose + public DeviceCategory deviceCategory; + + /** + * The Device Compliance Policy States. + * Device compliance policy states for this device. + */ + public DeviceCompliancePolicyStateCollectionPage deviceCompliancePolicyStates; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("deviceConfigurationStates")) { + final DeviceConfigurationStateCollectionResponse response = new DeviceConfigurationStateCollectionResponse(); + if (json.has("deviceConfigurationStates@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurationStates@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationStates").toString(), JsonObject[].class); + final DeviceConfigurationState[] array = new DeviceConfigurationState[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationState.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceConfigurationStates = new DeviceConfigurationStateCollectionPage(response, null); + } + + if (json.has("deviceCompliancePolicyStates")) { + final DeviceCompliancePolicyStateCollectionResponse response = new DeviceCompliancePolicyStateCollectionResponse(); + if (json.has("deviceCompliancePolicyStates@odata.nextLink")) { + response.nextLink = json.get("deviceCompliancePolicyStates@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCompliancePolicyStates").toString(), JsonObject[].class); + final DeviceCompliancePolicyState[] array = new DeviceCompliancePolicyState[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicyState.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceCompliancePolicyStates = new DeviceCompliancePolicyStateCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCleanWindowsDeviceBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCleanWindowsDeviceBody.java index aa3a2b24bd7..67012c3fbce 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCleanWindowsDeviceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCleanWindowsDeviceBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedDeviceCleanWindowsDeviceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Clean Windows Device Body. */ -public class ManagedDeviceCleanWindowsDeviceBody extends BaseManagedDeviceCleanWindowsDeviceBody { +public class ManagedDeviceCleanWindowsDeviceBody { + /** + * The keep User Data. + * + */ + @SerializedName("keepUserData") + @Expose + public Boolean keepUserData; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceBody.java index 0ea4aec7763..cdff3164259 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Delete User From Shared Apple Device Body. */ -public class ManagedDeviceDeleteUserFromSharedAppleDeviceBody extends BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody { +public class ManagedDeviceDeleteUserFromSharedAppleDeviceBody { + /** + * The user Principal Name. + * + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java index 52b0b19907f..d2081097070 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java @@ -3,12 +3,209 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionPage; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration. */ -public class ManagedDeviceMobileAppConfiguration extends BaseManagedDeviceMobileAppConfiguration { +public class ManagedDeviceMobileAppConfiguration extends Entity implements IJsonBackedObject { + + + /** + * The Targeted Mobile Apps. + * the associated app. + */ + @SerializedName("targetedMobileApps") + @Expose + public java.util.List targetedMobileApps; + + /** + * The Created Date Time. + * DateTime the object was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Description. + * Admin provided description of the Device Configuration. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Display Name. + * Admin provided name of the device configuration. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * Version of the device configuration. + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Assignments. + * The list of group assignemenets for app configration. + */ + public ManagedDeviceMobileAppConfigurationAssignmentCollectionPage assignments; + + /** + * The Device Statuses. + * List of ManagedDeviceMobileAppConfigurationDeviceStatus. + */ + public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage deviceStatuses; + + /** + * The User Statuses. + * List of ManagedDeviceMobileAppConfigurationUserStatus. + */ + public ManagedDeviceMobileAppConfigurationUserStatusCollectionPage userStatuses; + + /** + * The Device Status Summary. + * App configuration device status summary. + */ + @SerializedName("deviceStatusSummary") + @Expose + public ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary; + + /** + * The User Status Summary. + * App configuration user status summary. + */ + @SerializedName("userStatusSummary") + @Expose + public ManagedDeviceMobileAppConfigurationUserSummary userStatusSummary; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("assignments")) { + final ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response = new ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final ManagedDeviceMobileAppConfigurationAssignment[] array = new ManagedDeviceMobileAppConfigurationAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfigurationAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new ManagedDeviceMobileAppConfigurationAssignmentCollectionPage(response, null); + } + + if (json.has("deviceStatuses")) { + final ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse(); + if (json.has("deviceStatuses@odata.nextLink")) { + response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); + final ManagedDeviceMobileAppConfigurationDeviceStatus[] array = new ManagedDeviceMobileAppConfigurationDeviceStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfigurationDeviceStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceStatuses = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(response, null); + } + + if (json.has("userStatuses")) { + final ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response = new ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse(); + if (json.has("userStatuses@odata.nextLink")) { + response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); + final ManagedDeviceMobileAppConfigurationUserStatus[] array = new ManagedDeviceMobileAppConfigurationUserStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfigurationUserStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + userStatuses = new ManagedDeviceMobileAppConfigurationUserStatusCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignBody.java index 4ca34c7e48e..a8d37fedbde 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfigurationAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assign Body. */ -public class ManagedDeviceMobileAppConfigurationAssignBody extends BaseManagedDeviceMobileAppConfigurationAssignBody { +public class ManagedDeviceMobileAppConfigurationAssignBody { + /** + * The assignments. + * + */ + @SerializedName("assignments") + @Expose + public java.util.List assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignment.java index 44dc1466d5f..9aca6ef2a2f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationAssignment.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfigurationAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assignment. */ -public class ManagedDeviceMobileAppConfigurationAssignment extends BaseManagedDeviceMobileAppConfigurationAssignment { +public class ManagedDeviceMobileAppConfigurationAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * Assignment target that the T&C policy is assigned to. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java index 91785aab98f..e263ab30bd6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Status. */ -public class ManagedDeviceMobileAppConfigurationDeviceStatus extends BaseManagedDeviceMobileAppConfigurationDeviceStatus { +public class ManagedDeviceMobileAppConfigurationDeviceStatus extends Entity implements IJsonBackedObject { + + + /** + * The Device Display Name. + * Device name of the DevicePolicyStatus. + */ + @SerializedName("deviceDisplayName") + @Expose + public String deviceDisplayName; + + /** + * The User Name. + * The User Name that is being reported + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java index 82b83d11c8f..3b8e0523e85 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfigurationDeviceSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Summary. */ -public class ManagedDeviceMobileAppConfigurationDeviceSummary extends BaseManagedDeviceMobileAppConfigurationDeviceSummary { +public class ManagedDeviceMobileAppConfigurationDeviceSummary extends Entity implements IJsonBackedObject { + + + /** + * The Pending Count. + * Number of pending devices + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Not Applicable Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableCount") + @Expose + public Integer notApplicableCount; + + /** + * The Success Count. + * Number of succeeded devices + */ + @SerializedName("successCount") + @Expose + public Integer successCount; + + /** + * The Error Count. + * Number of error devices + */ + @SerializedName("errorCount") + @Expose + public Integer errorCount; + + /** + * The Failed Count. + * Number of failed devices + */ + @SerializedName("failedCount") + @Expose + public Integer failedCount; + + /** + * The Last Update Date Time. + * Last update time + */ + @SerializedName("lastUpdateDateTime") + @Expose + public java.util.Calendar lastUpdateDateTime; + + /** + * The Configuration Version. + * Version of the policy for that overview + */ + @SerializedName("configurationVersion") + @Expose + public Integer configurationVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java index 316cc19a4e1..fad3844e44a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ComplianceStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfigurationUserStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Status. */ -public class ManagedDeviceMobileAppConfigurationUserStatus extends BaseManagedDeviceMobileAppConfigurationUserStatus { +public class ManagedDeviceMobileAppConfigurationUserStatus extends Entity implements IJsonBackedObject { + + + /** + * The User Display Name. + * User name of the DevicePolicyStatus. + */ + @SerializedName("userDisplayName") + @Expose + public String userDisplayName; + + /** + * The Devices Count. + * Devices count for that user. + */ + @SerializedName("devicesCount") + @Expose + public Integer devicesCount; + + /** + * The Status. + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + */ + @SerializedName("status") + @Expose + public ComplianceStatus status; + + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + + /** + * The User Principal Name. + * UserPrincipalName. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java index cf5aae891f9..ac08a76d211 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java @@ -3,12 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedDeviceMobileAppConfigurationUserSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Summary. */ -public class ManagedDeviceMobileAppConfigurationUserSummary extends BaseManagedDeviceMobileAppConfigurationUserSummary { +public class ManagedDeviceMobileAppConfigurationUserSummary extends Entity implements IJsonBackedObject { + + + /** + * The Pending Count. + * Number of pending Users + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Not Applicable Count. + * Number of not applicable users + */ + @SerializedName("notApplicableCount") + @Expose + public Integer notApplicableCount; + + /** + * The Success Count. + * Number of succeeded Users + */ + @SerializedName("successCount") + @Expose + public Integer successCount; + + /** + * The Error Count. + * Number of error Users + */ + @SerializedName("errorCount") + @Expose + public Integer errorCount; + + /** + * The Failed Count. + * Number of failed Users + */ + @SerializedName("failedCount") + @Expose + public Integer failedCount; + + /** + * The Last Update Date Time. + * Last update time + */ + @SerializedName("lastUpdateDateTime") + @Expose + public java.util.Calendar lastUpdateDateTime; + + /** + * The Configuration Version. + * Version of the policy for that overview + */ + @SerializedName("configurationVersion") + @Expose + public Integer configurationVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java index 2bc4d444a51..2b3aee9c734 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceOperatingSystemSummary; +import com.microsoft.graph.models.extensions.DeviceExchangeAccessStateSummary; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedDeviceOverview; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview. */ -public class ManagedDeviceOverview extends BaseManagedDeviceOverview { +public class ManagedDeviceOverview extends Entity implements IJsonBackedObject { + + + /** + * The Enrolled Device Count. + * Total enrolled device count. Does not include PC devices managed via Intune PC Agent + */ + @SerializedName("enrolledDeviceCount") + @Expose + public Integer enrolledDeviceCount; + + /** + * The Mdm Enrolled Count. + * The number of devices enrolled in MDM + */ + @SerializedName("mdmEnrolledCount") + @Expose + public Integer mdmEnrolledCount; + + /** + * The Dual Enrolled Device Count. + * The number of devices enrolled in both MDM and EAS + */ + @SerializedName("dualEnrolledDeviceCount") + @Expose + public Integer dualEnrolledDeviceCount; + + /** + * The Device Operating System Summary. + * Device operating system summary. + */ + @SerializedName("deviceOperatingSystemSummary") + @Expose + public DeviceOperatingSystemSummary deviceOperatingSystemSummary; + + /** + * The Device Exchange Access State Summary. + * Distribution of Exchange Access State in Intune + */ + @SerializedName("deviceExchangeAccessStateSummary") + @Expose + public DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceUpdateWindowsDeviceAccountBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceUpdateWindowsDeviceAccountBody.java index 397665af848..7e07bdb23c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceUpdateWindowsDeviceAccountBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceUpdateWindowsDeviceAccountBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedDeviceUpdateWindowsDeviceAccountBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Update Windows Device Account Body. */ -public class ManagedDeviceUpdateWindowsDeviceAccountBody extends BaseManagedDeviceUpdateWindowsDeviceAccountBody { +public class ManagedDeviceUpdateWindowsDeviceAccountBody { + /** + * The update Windows Device Account Action Parameter. + * + */ + @SerializedName("updateWindowsDeviceAccountActionParameter") + @Expose + public UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWindowsDefenderScanBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWindowsDefenderScanBody.java index 16dce8b3946..7cc0559d549 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWindowsDefenderScanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWindowsDefenderScanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedDeviceWindowsDefenderScanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Windows Defender Scan Body. */ -public class ManagedDeviceWindowsDefenderScanBody extends BaseManagedDeviceWindowsDefenderScanBody { +public class ManagedDeviceWindowsDefenderScanBody { + /** + * The quick Scan. + * + */ + @SerializedName("quickScan") + @Expose + public Boolean quickScan; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWipeBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWipeBody.java index e12c8c8b342..dc12f9226d5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWipeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceWipeBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedDeviceWipeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Wipe Body. */ -public class ManagedDeviceWipeBody extends BaseManagedDeviceWipeBody { +public class ManagedDeviceWipeBody { + /** + * The keep Enrollment Data. + * + */ + @SerializedName("keepEnrollmentData") + @Expose + public Boolean keepEnrollmentData; + + /** + * The keep User Data. + * + */ + @SerializedName("keepUserData") + @Expose + public Boolean keepUserData; + + /** + * The mac Os Unlock Code. + * + */ + @SerializedName("macOsUnlockCode") + @Expose + public String macOsUnlockCode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java index 8437af897de..ba52b598329 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java @@ -3,12 +3,225 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MimeContent; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.models.extensions.EBookInstallSummary; +import com.microsoft.graph.models.extensions.DeviceInstallState; +import com.microsoft.graph.models.extensions.UserInstallStateSummary; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionPage; +import com.microsoft.graph.requests.extensions.UserInstallStateSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.UserInstallStateSummaryCollectionPage; -import com.microsoft.graph.models.generated.BaseManagedEBook; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook. */ -public class ManagedEBook extends BaseManagedEBook { +public class ManagedEBook extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Name of the eBook. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Description. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Publisher. + * Publisher. + */ + @SerializedName("publisher") + @Expose + public String publisher; + + /** + * The Published Date Time. + * The date and time when the eBook was published. + */ + @SerializedName("publishedDateTime") + @Expose + public java.util.Calendar publishedDateTime; + + /** + * The Large Cover. + * Book cover. + */ + @SerializedName("largeCover") + @Expose + public MimeContent largeCover; + + /** + * The Created Date Time. + * The date and time when the eBook file was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * The date and time when the eBook was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Information Url. + * The more information Url. + */ + @SerializedName("informationUrl") + @Expose + public String informationUrl; + + /** + * The Privacy Information Url. + * The privacy statement Url. + */ + @SerializedName("privacyInformationUrl") + @Expose + public String privacyInformationUrl; + + /** + * The Assignments. + * The list of assignments for this eBook. + */ + public ManagedEBookAssignmentCollectionPage assignments; + + /** + * The Install Summary. + * Mobile App Install Summary. + */ + @SerializedName("installSummary") + @Expose + public EBookInstallSummary installSummary; + + /** + * The Device States. + * The list of installation states for this eBook. + */ + public DeviceInstallStateCollectionPage deviceStates; + + /** + * The User State Summary. + * The list of installation states for this eBook. + */ + public UserInstallStateSummaryCollectionPage userStateSummary; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("assignments")) { + final ManagedEBookAssignmentCollectionResponse response = new ManagedEBookAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final ManagedEBookAssignment[] array = new ManagedEBookAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBookAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new ManagedEBookAssignmentCollectionPage(response, null); + } + + if (json.has("deviceStates")) { + final DeviceInstallStateCollectionResponse response = new DeviceInstallStateCollectionResponse(); + if (json.has("deviceStates@odata.nextLink")) { + response.nextLink = json.get("deviceStates@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStates").toString(), JsonObject[].class); + final DeviceInstallState[] array = new DeviceInstallState[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceInstallState.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceStates = new DeviceInstallStateCollectionPage(response, null); + } + + if (json.has("userStateSummary")) { + final UserInstallStateSummaryCollectionResponse response = new UserInstallStateSummaryCollectionResponse(); + if (json.has("userStateSummary@odata.nextLink")) { + response.nextLink = json.get("userStateSummary@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStateSummary").toString(), JsonObject[].class); + final UserInstallStateSummary[] array = new UserInstallStateSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserInstallStateSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + userStateSummary = new UserInstallStateSummaryCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignBody.java index ccfed2ff107..530350c2657 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseManagedEBookAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assign Body. */ -public class ManagedEBookAssignBody extends BaseManagedEBookAssignBody { +public class ManagedEBookAssignBody { + /** + * The managed EBook Assignments. + * + */ + @SerializedName("managedEBookAssignments") + @Expose + public java.util.List managedEBookAssignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java index efc013390cb..510868d73ad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java @@ -3,12 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.generated.InstallIntent; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedEBookAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assignment. */ -public class ManagedEBookAssignment extends BaseManagedEBookAssignment { +public class ManagedEBookAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * The assignment target for eBook. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + /** + * The Install Intent. + * The install intent for eBook. Possible values are: available, required, uninstall, availableWithoutEnrollment. + */ + @SerializedName("installIntent") + @Expose + public InstallIntent installIntent; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java index 42247bddcb6..60f72b86599 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java @@ -3,12 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosDeviceType; +import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.ManagedMobileLobApp; -import com.microsoft.graph.models.generated.BaseManagedIOSLobApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed IOSLob App. */ -public class ManagedIOSLobApp extends BaseManagedIOSLobApp { +public class ManagedIOSLobApp extends ManagedMobileLobApp implements IJsonBackedObject { + + + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + + /** + * The Applicable Device Type. + * The iOS architecture for which this app can run on. + */ + @SerializedName("applicableDeviceType") + @Expose + public IosDeviceType applicableDeviceType; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public IosMinimumOperatingSystem minimumSupportedOperatingSystem; + + /** + * The Expiration Date Time. + * The expiration time. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Version Number. + * The version number of managed iOS Line of Business (LoB) app. + */ + @SerializedName("versionNumber") + @Expose + public String versionNumber; + + /** + * The Build Number. + * The build number of managed iOS Line of Business (LoB) app. + */ + @SerializedName("buildNumber") + @Expose + public String buildNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java index a364187275e..1679b6c2eed 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IosDeviceType; +import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.ManagedApp; -import com.microsoft.graph.models.generated.BaseManagedIOSStoreApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed IOSStore App. */ -public class ManagedIOSStoreApp extends BaseManagedIOSStoreApp { +public class ManagedIOSStoreApp extends ManagedApp implements IJsonBackedObject { + + + /** + * The Bundle Id. + * The app's Bundle ID. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + + /** + * The App Store Url. + * The Apple AppStoreUrl. + */ + @SerializedName("appStoreUrl") + @Expose + public String appStoreUrl; + + /** + * The Applicable Device Type. + * The iOS architecture for which this app can run on. + */ + @SerializedName("applicableDeviceType") + @Expose + public IosDeviceType applicableDeviceType; + + /** + * The Minimum Supported Operating System. + * The value for the minimum supported operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public IosMinimumOperatingSystem minimumSupportedOperatingSystem; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileApp.java index 858528c85fe..76c9275a18f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileApp.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppIdentifier; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseManagedMobileApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile App. */ -public class ManagedMobileApp extends BaseManagedMobileApp { +public class ManagedMobileApp extends Entity implements IJsonBackedObject { + + + /** + * The Mobile App Identifier. + * The identifier for an app with it's operating system type. + */ + @SerializedName("mobileAppIdentifier") + @Expose + public MobileAppIdentifier mobileAppIdentifier; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileLobApp.java index facfbff6efe..f146da0a6f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedMobileLobApp.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppContent; +import com.microsoft.graph.models.extensions.ManagedApp; +import com.microsoft.graph.requests.extensions.MobileAppContentCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppContentCollectionPage; -import com.microsoft.graph.models.generated.BaseManagedMobileLobApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile Lob App. */ -public class ManagedMobileLobApp extends BaseManagedMobileLobApp { +public class ManagedMobileLobApp extends ManagedApp implements IJsonBackedObject { + + + /** + * The Committed Content Version. + * The internal committed content version. + */ + @SerializedName("committedContentVersion") + @Expose + public String committedContentVersion; + + /** + * The File Name. + * The name of the main Lob application file. + */ + @SerializedName("fileName") + @Expose + public String fileName; + + /** + * The Size. + * The total size, including all uploaded files. + */ + @SerializedName("size") + @Expose + public Long size; + + /** + * The Content Versions. + * The list of content versions for this app. + */ + public MobileAppContentCollectionPage contentVersions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("contentVersions")) { + final MobileAppContentCollectionResponse response = new MobileAppContentCollectionResponse(); + if (json.has("contentVersions@odata.nextLink")) { + response.nextLink = json.get("contentVersions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentVersions").toString(), JsonObject[].class); + final MobileAppContent[] array = new MobileAppContent[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContent.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contentVersions = new MobileAppContentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MdmWindowsInformationProtectionPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/MdmWindowsInformationProtectionPolicy.java index 5e4d04029b9..4bfff1ce2d2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MdmWindowsInformationProtectionPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MdmWindowsInformationProtectionPolicy.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsInformationProtection; -import com.microsoft.graph.models.generated.BaseMdmWindowsInformationProtectionPolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mdm Windows Information Protection Policy. */ -public class MdmWindowsInformationProtectionPolicy extends BaseMdmWindowsInformationProtectionPolicy { +public class MdmWindowsInformationProtectionPolicy extends WindowsInformationProtection implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingAustralia.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingAustralia.java index 49de77502f4..99f8685c103 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingAustralia.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingAustralia.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingAustraliaMoviesType; +import com.microsoft.graph.models.generated.RatingAustraliaTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingAustralia; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating Australia. */ -public class MediaContentRatingAustralia extends BaseMediaContentRatingAustralia { +public class MediaContentRatingAustralia implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for Australia. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove15, agesAbove18. + */ + @SerializedName("movieRating") + @Expose + public RatingAustraliaMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for Australia. Possible values are: allAllowed, allBlocked, preschoolers, children, general, parentalGuidance, mature, agesAbove15, agesAbove15AdultViolence. + */ + @SerializedName("tvRating") + @Expose + public RatingAustraliaTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingCanada.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingCanada.java index 70d6fa13f0d..dde59ce0f88 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingCanada.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingCanada.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingCanadaMoviesType; +import com.microsoft.graph.models.generated.RatingCanadaTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingCanada; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating Canada. */ -public class MediaContentRatingCanada extends BaseMediaContentRatingCanada { +public class MediaContentRatingCanada implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for Canada. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove14, agesAbove18, restricted. + */ + @SerializedName("movieRating") + @Expose + public RatingCanadaMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for Canada. Possible values are: allAllowed, allBlocked, children, childrenAbove8, general, parentalGuidance, agesAbove14, agesAbove18. + */ + @SerializedName("tvRating") + @Expose + public RatingCanadaTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingFrance.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingFrance.java index aaa3e774950..ca43656bb45 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingFrance.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingFrance.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingFranceMoviesType; +import com.microsoft.graph.models.generated.RatingFranceTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingFrance; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating France. */ -public class MediaContentRatingFrance extends BaseMediaContentRatingFrance { +public class MediaContentRatingFrance implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + */ + @SerializedName("movieRating") + @Expose + public RatingFranceMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + */ + @SerializedName("tvRating") + @Expose + public RatingFranceTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingGermany.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingGermany.java index 244f757dd0e..a163135e5fa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingGermany.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingGermany.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingGermanyMoviesType; +import com.microsoft.graph.models.generated.RatingGermanyTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingGermany; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating Germany. */ -public class MediaContentRatingGermany extends BaseMediaContentRatingGermany { +public class MediaContentRatingGermany implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + */ + @SerializedName("movieRating") + @Expose + public RatingGermanyMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + */ + @SerializedName("tvRating") + @Expose + public RatingGermanyTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingIreland.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingIreland.java index 61b9f4ad0fc..af8b67427ec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingIreland.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingIreland.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingIrelandMoviesType; +import com.microsoft.graph.models.generated.RatingIrelandTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingIreland; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating Ireland. */ -public class MediaContentRatingIreland extends BaseMediaContentRatingIreland { +public class MediaContentRatingIreland implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove12, agesAbove15, agesAbove16, adults. + */ + @SerializedName("movieRating") + @Expose + public RatingIrelandMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, children, youngAdults, parentalSupervision, mature. + */ + @SerializedName("tvRating") + @Expose + public RatingIrelandTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingJapan.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingJapan.java index 59e4f1e5770..1ab2c800821 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingJapan.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingJapan.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingJapanMoviesType; +import com.microsoft.graph.models.generated.RatingJapanTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingJapan; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating Japan. */ -public class MediaContentRatingJapan extends BaseMediaContentRatingJapan { +public class MediaContentRatingJapan implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for Japan. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove15, agesAbove18. + */ + @SerializedName("movieRating") + @Expose + public RatingJapanMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for Japan. Possible values are: allAllowed, allBlocked, explicitAllowed. + */ + @SerializedName("tvRating") + @Expose + public RatingJapanTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingNewZealand.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingNewZealand.java index 414a0db909b..19cd30cc7fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingNewZealand.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingNewZealand.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingNewZealandMoviesType; +import com.microsoft.graph.models.generated.RatingNewZealandTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingNewZealand; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating New Zealand. */ -public class MediaContentRatingNewZealand extends BaseMediaContentRatingNewZealand { +public class MediaContentRatingNewZealand implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove13, agesAbove15, agesAbove16, agesAbove18, restricted, agesAbove16Restricted. + */ + @SerializedName("movieRating") + @Expose + public RatingNewZealandMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, adults. + */ + @SerializedName("tvRating") + @Expose + public RatingNewZealandTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedKingdom.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedKingdom.java index 2bd309340b9..fbe3b30e4d9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedKingdom.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedKingdom.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingUnitedKingdomMoviesType; +import com.microsoft.graph.models.generated.RatingUnitedKingdomTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingUnitedKingdom; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating United Kingdom. */ -public class MediaContentRatingUnitedKingdom extends BaseMediaContentRatingUnitedKingdom { +public class MediaContentRatingUnitedKingdom implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, general, universalChildren, parentalGuidance, agesAbove12Video, agesAbove12Cinema, agesAbove15, adults. + */ + @SerializedName("movieRating") + @Expose + public RatingUnitedKingdomMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, caution. + */ + @SerializedName("tvRating") + @Expose + public RatingUnitedKingdomTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedStates.java b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedStates.java index 5db7c8c62d6..0099005e262 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedStates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaContentRatingUnitedStates.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RatingUnitedStatesMoviesType; +import com.microsoft.graph.models.generated.RatingUnitedStatesTelevisionType; -import com.microsoft.graph.models.generated.BaseMediaContentRatingUnitedStates; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Media Content Rating United States. */ -public class MediaContentRatingUnitedStates extends BaseMediaContentRatingUnitedStates { +public class MediaContentRatingUnitedStates implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Movie Rating. + * Movies rating selected for United States. Possible values are: allAllowed, allBlocked, general, parentalGuidance, parentalGuidance13, restricted, adults. + */ + @SerializedName("movieRating") + @Expose + public RatingUnitedStatesMoviesType movieRating; + + /** + * The Tv Rating. + * TV rating selected for United States. Possible values are: allAllowed, allBlocked, childrenAll, childrenAbove7, general, parentalGuidance, childrenAbove14, adults. + */ + @SerializedName("tvRating") + @Expose + public RatingUnitedStatesTelevisionType tvRating; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java index 6581d303cac..25f3ed3ba0c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java @@ -3,14 +3,129 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TimeSlot; +import com.microsoft.graph.models.generated.FreeBusyStatus; +import com.microsoft.graph.models.extensions.AttendeeAvailability; +import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.generated.BaseMeetingTimeSuggestion; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Meeting Time Suggestion. */ -public class MeetingTimeSuggestion extends BaseMeetingTimeSuggestion { +public class MeetingTimeSuggestion implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Meeting Time Slot. + * A time period suggested for the meeting. + */ + @SerializedName("meetingTimeSlot") + @Expose + public TimeSlot meetingTimeSlot; + + /** + * The Confidence. + * A percentage that represents the likelhood of all the attendees attending. + */ + @SerializedName("confidence") + @Expose + public Double confidence; + + /** + * The Organizer Availability. + * Availability of the meeting organizer for this meeting suggestion. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + */ + @SerializedName("organizerAvailability") + @Expose + public FreeBusyStatus organizerAvailability; + + /** + * The Attendee Availability. + * An array that shows the availability status of each attendee for this meeting suggestion. + */ + @SerializedName("attendeeAvailability") + @Expose + public java.util.List attendeeAvailability; + + /** + * The Locations. + * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. + */ + @SerializedName("locations") + @Expose + public java.util.List locations; + + /** + * The Suggestion Reason. + * Reason for suggesting the meeting time. + */ + @SerializedName("suggestionReason") + @Expose + public String suggestionReason; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java index 689cd442c24..6112723681f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MeetingTimeSuggestion; -import com.microsoft.graph.models.generated.BaseMeetingTimeSuggestionsResult; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Meeting Time Suggestions Result. */ -public class MeetingTimeSuggestionsResult extends BaseMeetingTimeSuggestionsResult { +public class MeetingTimeSuggestionsResult implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Meeting Time Suggestions. + * An array of meeting suggestions. + */ + @SerializedName("meetingTimeSuggestions") + @Expose + public java.util.List meetingTimeSuggestions; + + /** + * The Empty Suggestions Reason. + * A reason for not returning any meeting suggestions. The possible values are: attendeesUnavailable, attendeesUnavailableOrUnknown, locationsUnavailable, organizerUnavailable, or unknown. This property is an empty string if the meetingTimeSuggestions property does include any meeting suggestions. + */ + @SerializedName("emptySuggestionsReason") + @Expose + public String emptySuggestionsReason; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Message.java b/src/main/java/com/microsoft/graph/models/extensions/Message.java index 722b17a81b7..9a5aa835900 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Message.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Message.java @@ -3,14 +3,374 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.InternetMessageHeader; +import com.microsoft.graph.models.extensions.ItemBody; +import com.microsoft.graph.models.generated.Importance; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.generated.InferenceClassificationType; +import com.microsoft.graph.models.extensions.FollowupFlag; +import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; +import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BaseMessage; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message. */ -public class Message extends BaseMessage { +public class Message extends OutlookItem implements IJsonBackedObject { + + + /** + * The Received Date Time. + * The date and time the message was received. + */ + @SerializedName("receivedDateTime") + @Expose + public java.util.Calendar receivedDateTime; + + /** + * The Sent Date Time. + * The date and time the message was sent. + */ + @SerializedName("sentDateTime") + @Expose + public java.util.Calendar sentDateTime; + + /** + * The Has Attachments. + * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The Internet Message Id. + * The message ID in the format specified by RFC2822. + */ + @SerializedName("internetMessageId") + @Expose + public String internetMessageId; + + /** + * The Internet Message Headers. + * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. + */ + @SerializedName("internetMessageHeaders") + @Expose + public java.util.List internetMessageHeaders; + + /** + * The Subject. + * The subject of the message. + */ + @SerializedName("subject") + @Expose + public String subject; + + /** + * The Body. + * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. + */ + @SerializedName("body") + @Expose + public ItemBody body; + + /** + * The Body Preview. + * The first 255 characters of the message body. It is in text format. + */ + @SerializedName("bodyPreview") + @Expose + public String bodyPreview; + + /** + * The Importance. + * The importance of the message: Low, Normal, High. + */ + @SerializedName("importance") + @Expose + public Importance importance; + + /** + * The Parent Folder Id. + * The unique identifier for the message's parent mailFolder. + */ + @SerializedName("parentFolderId") + @Expose + public String parentFolderId; + + /** + * The Sender. + * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, or sending a message as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + */ + @SerializedName("sender") + @Expose + public Recipient sender; + + /** + * The From. + * The mailbox owner and sender of the message. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + */ + @SerializedName("from") + @Expose + public Recipient from; + + /** + * The To Recipients. + * The To: recipients for the message. + */ + @SerializedName("toRecipients") + @Expose + public java.util.List toRecipients; + + /** + * The Cc Recipients. + * The Cc: recipients for the message. + */ + @SerializedName("ccRecipients") + @Expose + public java.util.List ccRecipients; + + /** + * The Bcc Recipients. + * The Bcc: recipients for the message. + */ + @SerializedName("bccRecipients") + @Expose + public java.util.List bccRecipients; + + /** + * The Reply To. + * The email addresses to use when replying. + */ + @SerializedName("replyTo") + @Expose + public java.util.List replyTo; + + /** + * The Conversation Id. + * The ID of the conversation the email belongs to. + */ + @SerializedName("conversationId") + @Expose + public String conversationId; + + /** + * The Unique Body. + * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. + */ + @SerializedName("uniqueBody") + @Expose + public ItemBody uniqueBody; + + /** + * The Is Delivery Receipt Requested. + * Indicates whether a read receipt is requested for the message. + */ + @SerializedName("isDeliveryReceiptRequested") + @Expose + public Boolean isDeliveryReceiptRequested; + + /** + * The Is Read Receipt Requested. + * Indicates whether a read receipt is requested for the message. + */ + @SerializedName("isReadReceiptRequested") + @Expose + public Boolean isReadReceiptRequested; + + /** + * The Is Read. + * Indicates whether the message has been read. + */ + @SerializedName("isRead") + @Expose + public Boolean isRead; + + /** + * The Is Draft. + * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. + */ + @SerializedName("isDraft") + @Expose + public Boolean isDraft; + + /** + * The Web Link. + * The URL to open the message in Outlook Web App.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. + */ + @SerializedName("webLink") + @Expose + public String webLink; + + /** + * The Inference Classification. + * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. + */ + @SerializedName("inferenceClassification") + @Expose + public InferenceClassificationType inferenceClassification; + + /** + * The Flag. + * The flag value that indicates the status, start date, due date, or completion date for the message. + */ + @SerializedName("flag") + @Expose + public FollowupFlag flag; + + /** + * The Attachments. + * The fileAttachment and itemAttachment attachments for the message. + */ + public AttachmentCollectionPage attachments; + + /** + * The Extensions. + * The collection of open extensions defined for the message. Nullable. + */ + public ExtensionCollectionPage extensions; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the message. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the message. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("attachments")) { + final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); + if (json.has("attachments@odata.nextLink")) { + response.nextLink = json.get("attachments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); + final Attachment[] array = new Attachment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + attachments = new AttachmentCollectionPage(response, null); + } + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageCopyBody.java b/src/main/java/com/microsoft/graph/models/extensions/MessageCopyBody.java index ee09d514dbe..0472c99ba88 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageCopyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageCopyBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMessageCopyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Copy Body. */ -public class MessageCopyBody extends BaseMessageCopyBody { +public class MessageCopyBody { + /** + * The destination Id. + * + */ + @SerializedName("destinationId") + @Expose + public String destinationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageForwardBody.java b/src/main/java/com/microsoft/graph/models/extensions/MessageForwardBody.java index 0c6386733c0..e879f1b86e7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageForwardBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageForwardBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMessageForwardBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Forward Body. */ -public class MessageForwardBody extends BaseMessageForwardBody { +public class MessageForwardBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + /** + * The to Recipients. + * + */ + @SerializedName("toRecipients") + @Expose + public java.util.List toRecipients; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageMoveBody.java b/src/main/java/com/microsoft/graph/models/extensions/MessageMoveBody.java index b7bedae1d14..5143cacd6fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageMoveBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageMoveBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMessageMoveBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Move Body. */ -public class MessageMoveBody extends BaseMessageMoveBody { +public class MessageMoveBody { + /** + * The destination Id. + * + */ + @SerializedName("destinationId") + @Expose + public String destinationId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageReplyAllBody.java b/src/main/java/com/microsoft/graph/models/extensions/MessageReplyAllBody.java index 93856e988f9..65c8df03955 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageReplyAllBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageReplyAllBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMessageReplyAllBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Reply All Body. */ -public class MessageReplyAllBody extends BaseMessageReplyAllBody { +public class MessageReplyAllBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageReplyBody.java b/src/main/java/com/microsoft/graph/models/extensions/MessageReplyBody.java index c1f2c3bc93b..826bc6eea5f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageReplyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageReplyBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMessageReplyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Reply Body. */ -public class MessageReplyBody extends BaseMessageReplyBody { +public class MessageReplyBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java b/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java index 847b7ccf62e..1fca78b4394 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java @@ -3,12 +3,134 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MessageRulePredicates; +import com.microsoft.graph.models.extensions.MessageRuleActions; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseMessageRule; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule. */ -public class MessageRule extends BaseMessageRule { +public class MessageRule extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The display name of the rule. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Sequence. + * Indicates the order in which the rule is executed, among other rules. + */ + @SerializedName("sequence") + @Expose + public Integer sequence; + + /** + * The Conditions. + * Conditions that when fulfilled, will trigger the corresponding actions for that rule. + */ + @SerializedName("conditions") + @Expose + public MessageRulePredicates conditions; + + /** + * The Actions. + * Actions to be taken on a message when the corresponding conditions are fulfilled. + */ + @SerializedName("actions") + @Expose + public MessageRuleActions actions; + + /** + * The Exceptions. + * Exception conditions for the rule. + */ + @SerializedName("exceptions") + @Expose + public MessageRulePredicates exceptions; + + /** + * The Is Enabled. + * Indicates whether the rule is enabled to be applied to messages. + */ + @SerializedName("isEnabled") + @Expose + public Boolean isEnabled; + + /** + * The Has Error. + * Indicates whether the rule is in an error condition. Read-only. + */ + @SerializedName("hasError") + @Expose + public Boolean hasError; + + /** + * The Is Read Only. + * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. + */ + @SerializedName("isReadOnly") + @Expose + public Boolean isReadOnly; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java b/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java index 14e414d8c3b..7b0e6fa3fac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java @@ -3,12 +3,167 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.Importance; +import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.generated.BaseMessageRuleActions; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Actions. */ -public class MessageRuleActions extends BaseMessageRuleActions { +public class MessageRuleActions implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Move To Folder. + * The ID of the folder that a message will be moved to. + */ + @SerializedName("moveToFolder") + @Expose + public String moveToFolder; + + /** + * The Copy To Folder. + * The ID of a folder that a message is to be copied to. + */ + @SerializedName("copyToFolder") + @Expose + public String copyToFolder; + + /** + * The Delete. + * Indicates whether a message should be moved to the Deleted Items folder. + */ + @SerializedName("delete") + @Expose + public Boolean delete; + + /** + * The Permanent Delete. + * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. + */ + @SerializedName("permanentDelete") + @Expose + public Boolean permanentDelete; + + /** + * The Mark As Read. + * Indicates whether a message should be marked as read. + */ + @SerializedName("markAsRead") + @Expose + public Boolean markAsRead; + + /** + * The Mark Importance. + * Sets the importance of the message, which can be: low, normal, high. + */ + @SerializedName("markImportance") + @Expose + public Importance markImportance; + + /** + * The Forward To. + * The email addresses of the recipients to which a message should be forwarded. + */ + @SerializedName("forwardTo") + @Expose + public java.util.List forwardTo; + + /** + * The Forward As Attachment To. + * The email addresses of the recipients to which a message should be forwarded as an attachment. + */ + @SerializedName("forwardAsAttachmentTo") + @Expose + public java.util.List forwardAsAttachmentTo; + + /** + * The Redirect To. + * The email addresses to which a message should be redirected. + */ + @SerializedName("redirectTo") + @Expose + public java.util.List redirectTo; + + /** + * The Assign Categories. + * A list of categories to be assigned to a message. + */ + @SerializedName("assignCategories") + @Expose + public java.util.List assignCategories; + + /** + * The Stop Processing Rules. + * Indicates whether subsequent rules should be evaluated. + */ + @SerializedName("stopProcessingRules") + @Expose + public Boolean stopProcessingRules; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java b/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java index b98c6303df7..41f20883c56 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java @@ -3,12 +3,322 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MessageActionFlag; +import com.microsoft.graph.models.generated.Importance; +import com.microsoft.graph.models.generated.Sensitivity; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.extensions.SizeRange; -import com.microsoft.graph.models.generated.BaseMessageRulePredicates; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Predicates. */ -public class MessageRulePredicates extends BaseMessageRulePredicates { +public class MessageRulePredicates implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Categories. + * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. + */ + @SerializedName("categories") + @Expose + public java.util.List categories; + + /** + * The Subject Contains. + * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("subjectContains") + @Expose + public java.util.List subjectContains; + + /** + * The Body Contains. + * Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("bodyContains") + @Expose + public java.util.List bodyContains; + + /** + * The Body Or Subject Contains. + * Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("bodyOrSubjectContains") + @Expose + public java.util.List bodyOrSubjectContains; + + /** + * The Sender Contains. + * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("senderContains") + @Expose + public java.util.List senderContains; + + /** + * The Recipient Contains. + * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("recipientContains") + @Expose + public java.util.List recipientContains; + + /** + * The Header Contains. + * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("headerContains") + @Expose + public java.util.List headerContains; + + /** + * The Message Action Flag. + * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. + */ + @SerializedName("messageActionFlag") + @Expose + public MessageActionFlag messageActionFlag; + + /** + * The Importance. + * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. + */ + @SerializedName("importance") + @Expose + public Importance importance; + + /** + * The Sensitivity. + * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + */ + @SerializedName("sensitivity") + @Expose + public Sensitivity sensitivity; + + /** + * The From Addresses. + * Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("fromAddresses") + @Expose + public java.util.List fromAddresses; + + /** + * The Sent To Addresses. + * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. + */ + @SerializedName("sentToAddresses") + @Expose + public java.util.List sentToAddresses; + + /** + * The Sent To Me. + * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentToMe") + @Expose + public Boolean sentToMe; + + /** + * The Sent Only To Me. + * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentOnlyToMe") + @Expose + public Boolean sentOnlyToMe; + + /** + * The Sent Cc Me. + * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentCcMe") + @Expose + public Boolean sentCcMe; + + /** + * The Sent To Or Cc Me. + * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentToOrCcMe") + @Expose + public Boolean sentToOrCcMe; + + /** + * The Not Sent To Me. + * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("notSentToMe") + @Expose + public Boolean notSentToMe; + + /** + * The Has Attachments. + * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The Is Approval Request. + * Indicates whether an incoming message must be an approval request in order for the condition or exception to apply. + */ + @SerializedName("isApprovalRequest") + @Expose + public Boolean isApprovalRequest; + + /** + * The Is Automatic Forward. + * Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply. + */ + @SerializedName("isAutomaticForward") + @Expose + public Boolean isAutomaticForward; + + /** + * The Is Automatic Reply. + * Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply. + */ + @SerializedName("isAutomaticReply") + @Expose + public Boolean isAutomaticReply; + + /** + * The Is Encrypted. + * Indicates whether an incoming message must be encrypted in order for the condition or exception to apply. + */ + @SerializedName("isEncrypted") + @Expose + public Boolean isEncrypted; + + /** + * The Is Meeting Request. + * Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply. + */ + @SerializedName("isMeetingRequest") + @Expose + public Boolean isMeetingRequest; + + /** + * The Is Meeting Response. + * Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply. + */ + @SerializedName("isMeetingResponse") + @Expose + public Boolean isMeetingResponse; + + /** + * The Is Non Delivery Report. + * Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply. + */ + @SerializedName("isNonDeliveryReport") + @Expose + public Boolean isNonDeliveryReport; + + /** + * The Is Permission Controlled. + * Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply. + */ + @SerializedName("isPermissionControlled") + @Expose + public Boolean isPermissionControlled; + + /** + * The Is Read Receipt. + * Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply. + */ + @SerializedName("isReadReceipt") + @Expose + public Boolean isReadReceipt; + + /** + * The Is Signed. + * Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply. + */ + @SerializedName("isSigned") + @Expose + public Boolean isSigned; + + /** + * The Is Voicemail. + * Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply. + */ + @SerializedName("isVoicemail") + @Expose + public Boolean isVoicemail; + + /** + * The Within Size Range. + * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. + */ + @SerializedName("withinSizeRange") + @Expose + public SizeRange withinSizeRange; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java index c1806419f91..0a7b233275a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MicrosoftStoreForBusinessLicenseType; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseMicrosoftStoreForBusinessApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Microsoft Store For Business App. */ -public class MicrosoftStoreForBusinessApp extends BaseMicrosoftStoreForBusinessApp { +public class MicrosoftStoreForBusinessApp extends MobileApp implements IJsonBackedObject { + + + /** + * The Used License Count. + * The number of Microsoft Store for Business licenses in use. + */ + @SerializedName("usedLicenseCount") + @Expose + public Integer usedLicenseCount; + + /** + * The Total License Count. + * The total number of Microsoft Store for Business licenses. + */ + @SerializedName("totalLicenseCount") + @Expose + public Integer totalLicenseCount; + + /** + * The Product Key. + * The app product key + */ + @SerializedName("productKey") + @Expose + public String productKey; + + /** + * The License Type. + * The app license type. Possible values are: offline, online. + */ + @SerializedName("licenseType") + @Expose + public MicrosoftStoreForBusinessLicenseType licenseType; + + /** + * The Package Identity Name. + * The app package identifier + */ + @SerializedName("packageIdentityName") + @Expose + public String packageIdentityName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessAppAssignmentSettings.java index c2b31f70008..ba947f86165 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessAppAssignmentSettings.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; -import com.microsoft.graph.models.generated.BaseMicrosoftStoreForBusinessAppAssignmentSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Microsoft Store For Business App Assignment Settings. */ -public class MicrosoftStoreForBusinessAppAssignmentSettings extends BaseMicrosoftStoreForBusinessAppAssignmentSettings { +public class MicrosoftStoreForBusinessAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { + + + /** + * The Use Device Context. + * Whether or not to use device execution context for Microsoft Store for Business mobile app. + */ + @SerializedName("useDeviceContext") + @Expose + public Boolean useDeviceContext; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MimeContent.java b/src/main/java/com/microsoft/graph/models/extensions/MimeContent.java index 5e9e567a17a..8ad434fde58 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MimeContent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MimeContent.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseMimeContent; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mime Content. */ -public class MimeContent extends BaseMimeContent { +public class MimeContent implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * Indicates the content mime type. + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Value. + * The byte array that contains the actual content. + */ + @SerializedName("value") + @Expose + public byte[] value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java b/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java index 1231d16c0bf..f7754bfd13c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java @@ -3,12 +3,224 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MimeContent; +import com.microsoft.graph.models.generated.MobileAppPublishingState; +import com.microsoft.graph.models.extensions.MobileAppCategory; +import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseMobileApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App. */ -public class MobileApp extends BaseMobileApp { +public class MobileApp extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The admin provided or imported title of the app. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * The description of the app. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Publisher. + * The publisher of the app. + */ + @SerializedName("publisher") + @Expose + public String publisher; + + /** + * The Large Icon. + * The large icon, to be displayed in the app details and used for upload of the icon. + */ + @SerializedName("largeIcon") + @Expose + public MimeContent largeIcon; + + /** + * The Created Date Time. + * The date and time the app was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * The date and time the app was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Is Featured. + * The value indicating whether the app is marked as featured by the admin. + */ + @SerializedName("isFeatured") + @Expose + public Boolean isFeatured; + + /** + * The Privacy Information Url. + * The privacy statement Url. + */ + @SerializedName("privacyInformationUrl") + @Expose + public String privacyInformationUrl; + + /** + * The Information Url. + * The more information Url. + */ + @SerializedName("informationUrl") + @Expose + public String informationUrl; + + /** + * The Owner. + * The owner of the app. + */ + @SerializedName("owner") + @Expose + public String owner; + + /** + * The Developer. + * The developer of the app. + */ + @SerializedName("developer") + @Expose + public String developer; + + /** + * The Notes. + * Notes for the app. + */ + @SerializedName("notes") + @Expose + public String notes; + + /** + * The Publishing State. + * The publishing state for the app. The app cannot be assigned unless the app is published. Possible values are: notPublished, processing, published. + */ + @SerializedName("publishingState") + @Expose + public MobileAppPublishingState publishingState; + + /** + * The Categories. + * The list of categories for this app. + */ + public MobileAppCategoryCollectionPage categories; + + /** + * The Assignments. + * The list of group assignments for this mobile app. + */ + public MobileAppAssignmentCollectionPage assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("categories")) { + final MobileAppCategoryCollectionResponse response = new MobileAppCategoryCollectionResponse(); + if (json.has("categories@odata.nextLink")) { + response.nextLink = json.get("categories@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); + final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + categories = new MobileAppCategoryCollectionPage(response, null); + } + + if (json.has("assignments")) { + final MobileAppAssignmentCollectionResponse response = new MobileAppAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final MobileAppAssignment[] array = new MobileAppAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new MobileAppAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignBody.java index 28c6d2a7828..2a73bcb099f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMobileAppAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assign Body. */ -public class MobileAppAssignBody extends BaseMobileAppAssignBody { +public class MobileAppAssignBody { + /** + * The mobile App Assignments. + * + */ + @SerializedName("mobileAppAssignments") + @Expose + public java.util.List mobileAppAssignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java index 08f81151e03..481ee12fa16 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java @@ -3,12 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.InstallIntent; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseMobileAppAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment. */ -public class MobileAppAssignment extends BaseMobileAppAssignment { +public class MobileAppAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Intent. + * The install intent defined by the admin. Possible values are: available, required, uninstall, availableWithoutEnrollment. + */ + @SerializedName("intent") + @Expose + public InstallIntent intent; + + /** + * The Target. + * The target group assignment defined by the admin. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + /** + * The Settings. + * The settings for target assignment defined by the admin. + */ + @SerializedName("settings") + @Expose + public MobileAppAssignmentSettings settings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignmentSettings.java index 367381d8c85..33067d2bca3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignmentSettings.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseMobileAppAssignmentSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment Settings. */ -public class MobileAppAssignmentSettings extends BaseMobileAppAssignmentSettings { +public class MobileAppAssignmentSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppCategory.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppCategory.java index 62ea24396bd..5cbbcd48e96 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppCategory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppCategory.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseMobileAppCategory; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category. */ -public class MobileAppCategory extends BaseMobileAppCategory { +public class MobileAppCategory extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The name of the app category. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Last Modified Date Time. + * The date and time the mobileAppCategory was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java index db3fe9cde79..3e4ddb45999 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppContentFile; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionPage; -import com.microsoft.graph.models.generated.BaseMobileAppContent; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content. */ -public class MobileAppContent extends BaseMobileAppContent { +public class MobileAppContent extends Entity implements IJsonBackedObject { + + + /** + * The Files. + * The list of files for this app content version. + */ + public MobileAppContentFileCollectionPage files; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("files")) { + final MobileAppContentFileCollectionResponse response = new MobileAppContentFileCollectionResponse(); + if (json.has("files@odata.nextLink")) { + response.nextLink = json.get("files@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("files").toString(), JsonObject[].class); + final MobileAppContentFile[] array = new MobileAppContentFile[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContentFile.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + files = new MobileAppContentFileCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java index 255daa4c293..0b6edf3b4b0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java @@ -3,12 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MobileAppContentFileUploadState; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseMobileAppContentFile; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File. */ -public class MobileAppContentFile extends BaseMobileAppContentFile { +public class MobileAppContentFile extends Entity implements IJsonBackedObject { + + + /** + * The Azure Storage Uri. + * The Azure Storage URI. + */ + @SerializedName("azureStorageUri") + @Expose + public String azureStorageUri; + + /** + * The Is Committed. + * A value indicating whether the file is committed. + */ + @SerializedName("isCommitted") + @Expose + public Boolean isCommitted; + + /** + * The Created Date Time. + * The time the file was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Name. + * the file name. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Size. + * The size of the file prior to encryption. + */ + @SerializedName("size") + @Expose + public Long size; + + /** + * The Size Encrypted. + * The size of the file after encryption. + */ + @SerializedName("sizeEncrypted") + @Expose + public Long sizeEncrypted; + + /** + * The Azure Storage Uri Expiration Date Time. + * The time the Azure storage Uri expires. + */ + @SerializedName("azureStorageUriExpirationDateTime") + @Expose + public java.util.Calendar azureStorageUriExpirationDateTime; + + /** + * The Manifest. + * The manifest information. + */ + @SerializedName("manifest") + @Expose + public byte[] manifest; + + /** + * The Upload State. + * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + */ + @SerializedName("uploadState") + @Expose + public MobileAppContentFileUploadState uploadState; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFileCommitBody.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFileCommitBody.java index b4a0c998dfa..c634f5bd701 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFileCommitBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFileCommitBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseMobileAppContentFileCommitBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Commit Body. */ -public class MobileAppContentFileCommitBody extends BaseMobileAppContentFileCommitBody { +public class MobileAppContentFileCommitBody { + /** + * The file Encryption Info. + * + */ + @SerializedName("fileEncryptionInfo") + @Expose + public FileEncryptionInfo fileEncryptionInfo; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppIdentifier.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppIdentifier.java index 1fcb6125a44..c36ef652ecf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppIdentifier.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppIdentifier.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseMobileAppIdentifier; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Identifier. */ -public class MobileAppIdentifier extends BaseMobileAppIdentifier { +public class MobileAppIdentifier implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/MobileLobApp.java index 46f708f05f9..d66d8139644 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileLobApp.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileAppContent; +import com.microsoft.graph.models.extensions.MobileApp; +import com.microsoft.graph.requests.extensions.MobileAppContentCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppContentCollectionPage; -import com.microsoft.graph.models.generated.BaseMobileLobApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Lob App. */ -public class MobileLobApp extends BaseMobileLobApp { +public class MobileLobApp extends MobileApp implements IJsonBackedObject { + + + /** + * The Committed Content Version. + * The internal committed content version. + */ + @SerializedName("committedContentVersion") + @Expose + public String committedContentVersion; + + /** + * The File Name. + * The name of the main Lob application file. + */ + @SerializedName("fileName") + @Expose + public String fileName; + + /** + * The Size. + * The total size, including all uploaded files. + */ + @SerializedName("size") + @Expose + public Long size; + + /** + * The Content Versions. + * The list of content versions for this app. + */ + public MobileAppContentCollectionPage contentVersions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("contentVersions")) { + final MobileAppContentCollectionResponse response = new MobileAppContentCollectionResponse(); + if (json.has("contentVersions@odata.nextLink")) { + response.nextLink = json.get("contentVersions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentVersions").toString(), JsonObject[].class); + final MobileAppContent[] array = new MobileAppContent[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContent.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contentVersions = new MobileAppContentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java b/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java index f1f26f778a2..3f8814607f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java @@ -3,12 +3,133 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MobileThreatPartnerTenantState; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseMobileThreatDefenseConnector; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Threat Defense Connector. */ -public class MobileThreatDefenseConnector extends BaseMobileThreatDefenseConnector { +public class MobileThreatDefenseConnector extends Entity implements IJsonBackedObject { + + + /** + * The Last Heartbeat Date Time. + * DateTime of last Heartbeat recieved from the Data Sync Partner + */ + @SerializedName("lastHeartbeatDateTime") + @Expose + public java.util.Calendar lastHeartbeatDateTime; + + /** + * The Partner State. + * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + */ + @SerializedName("partnerState") + @Expose + public MobileThreatPartnerTenantState partnerState; + + /** + * The Android Enabled. + * For Android, set whether data from the data sync partner should be used during compliance evaluations + */ + @SerializedName("androidEnabled") + @Expose + public Boolean androidEnabled; + + /** + * The Ios Enabled. + * For IOS, get or set whether data from the data sync partner should be used during compliance evaluations + */ + @SerializedName("iosEnabled") + @Expose + public Boolean iosEnabled; + + /** + * The Android Device Blocked On Missing Partner Data. + * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant + */ + @SerializedName("androidDeviceBlockedOnMissingPartnerData") + @Expose + public Boolean androidDeviceBlockedOnMissingPartnerData; + + /** + * The Ios Device Blocked On Missing Partner Data. + * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant + */ + @SerializedName("iosDeviceBlockedOnMissingPartnerData") + @Expose + public Boolean iosDeviceBlockedOnMissingPartnerData; + + /** + * The Partner Unsupported Os Version Blocked. + * Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner + */ + @SerializedName("partnerUnsupportedOsVersionBlocked") + @Expose + public Boolean partnerUnsupportedOsVersionBlocked; + + /** + * The Partner Unresponsiveness Threshold In Days. + * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + */ + @SerializedName("partnerUnresponsivenessThresholdInDays") + @Expose + public Integer partnerUnresponsivenessThresholdInDays; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MultiValueLegacyExtendedProperty.java b/src/main/java/com/microsoft/graph/models/extensions/MultiValueLegacyExtendedProperty.java index 56256669744..362eac43aaf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MultiValueLegacyExtendedProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MultiValueLegacyExtendedProperty.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseMultiValueLegacyExtendedProperty; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Multi Value Legacy Extended Property. */ -public class MultiValueLegacyExtendedProperty extends BaseMultiValueLegacyExtendedProperty { +public class MultiValueLegacyExtendedProperty extends Entity implements IJsonBackedObject { + + + /** + * The Value. + * A collection of property values. + */ + @SerializedName("value") + @Expose + public java.util.List value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/NetworkConnection.java b/src/main/java/com/microsoft/graph/models/extensions/NetworkConnection.java index 5775ed3fa7e..8e6e87a67f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NetworkConnection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NetworkConnection.java @@ -3,12 +3,224 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ConnectionDirection; +import com.microsoft.graph.models.generated.SecurityNetworkProtocol; +import com.microsoft.graph.models.generated.ConnectionStatus; -import com.microsoft.graph.models.generated.BaseNetworkConnection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Network Connection. */ -public class NetworkConnection extends BaseNetworkConnection { +public class NetworkConnection implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Application Name. + * Name of the application managing the network connection (for example, Facebook, SMTP, etc.). + */ + @SerializedName("applicationName") + @Expose + public String applicationName; + + /** + * The Destination Address. + * Destination IP address (of the network connection). + */ + @SerializedName("destinationAddress") + @Expose + public String destinationAddress; + + /** + * The Destination Domain. + * Destination domain portion of the destination URL. (for example 'www.contoso.com'). + */ + @SerializedName("destinationDomain") + @Expose + public String destinationDomain; + + /** + * The Destination Port. + * Destination port (of the network connection). + */ + @SerializedName("destinationPort") + @Expose + public String destinationPort; + + /** + * The Destination Url. + * Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html') + */ + @SerializedName("destinationUrl") + @Expose + public String destinationUrl; + + /** + * The Direction. + * Network connection direction. Possible values are: unknown, inbound, outbound. + */ + @SerializedName("direction") + @Expose + public ConnectionDirection direction; + + /** + * The Domain Registered Date Time. + * Date when the destination domain was registered. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("domainRegisteredDateTime") + @Expose + public java.util.Calendar domainRegisteredDateTime; + + /** + * The Local Dns Name. + * The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with). + */ + @SerializedName("localDnsName") + @Expose + public String localDnsName; + + /** + * The Nat Destination Address. + * Network Address Translation destination IP address. + */ + @SerializedName("natDestinationAddress") + @Expose + public String natDestinationAddress; + + /** + * The Nat Destination Port. + * Network Address Translation destination port. + */ + @SerializedName("natDestinationPort") + @Expose + public String natDestinationPort; + + /** + * The Nat Source Address. + * Network Address Translation source IP address. + */ + @SerializedName("natSourceAddress") + @Expose + public String natSourceAddress; + + /** + * The Nat Source Port. + * Network Address Translation source port. + */ + @SerializedName("natSourcePort") + @Expose + public String natSourcePort; + + /** + * The Protocol. + * Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. + */ + @SerializedName("protocol") + @Expose + public SecurityNetworkProtocol protocol; + + /** + * The Risk Score. + * Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage. + */ + @SerializedName("riskScore") + @Expose + public String riskScore; + + /** + * The Source Address. + * Source (i.e. origin) IP address (of the network connection). + */ + @SerializedName("sourceAddress") + @Expose + public String sourceAddress; + + /** + * The Source Port. + * Source (i.e. origin) IP port (of the network connection). + */ + @SerializedName("sourcePort") + @Expose + public String sourcePort; + + /** + * The Status. + * Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. + */ + @SerializedName("status") + @Expose + public ConnectionStatus status; + + /** + * The Url Parameters. + * Parameters (suffix) of the destination URL. + */ + @SerializedName("urlParameters") + @Expose + public String urlParameters; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Notebook.java b/src/main/java/com/microsoft/graph/models/extensions/Notebook.java index ee0891b7568..a488accf37d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Notebook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Notebook.java @@ -3,14 +3,168 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.OnenoteUserRole; +import com.microsoft.graph.models.extensions.NotebookLinks; +import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; -import com.microsoft.graph.models.generated.BaseNotebook; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook. */ -public class Notebook extends BaseNotebook { +public class Notebook extends OnenoteEntityHierarchyModel implements IJsonBackedObject { + + + /** + * The Is Default. + * Indicates whether this is the user's default notebook. Read-only. + */ + @SerializedName("isDefault") + @Expose + public Boolean isDefault; + + /** + * The User Role. + * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. + */ + @SerializedName("userRole") + @Expose + public OnenoteUserRole userRole; + + /** + * The Is Shared. + * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. + */ + @SerializedName("isShared") + @Expose + public Boolean isShared; + + /** + * The Sections Url. + * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. + */ + @SerializedName("sectionsUrl") + @Expose + public String sectionsUrl; + + /** + * The Section Groups Url. + * The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. + */ + @SerializedName("sectionGroupsUrl") + @Expose + public String sectionGroupsUrl; + + /** + * The Links. + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote Online. + */ + @SerializedName("links") + @Expose + public NotebookLinks links; + + /** + * The Sections. + * The sections in the notebook. Read-only. Nullable. + */ + public OnenoteSectionCollectionPage sections; + + /** + * The Section Groups. + * The section groups in the notebook. Read-only. Nullable. + */ + public SectionGroupCollectionPage sectionGroups; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("sections")) { + final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); + if (json.has("sections@odata.nextLink")) { + response.nextLink = json.get("sections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); + final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sections = new OnenoteSectionCollectionPage(response, null); + } + + if (json.has("sectionGroups")) { + final SectionGroupCollectionResponse response = new SectionGroupCollectionResponse(); + if (json.has("sectionGroups@odata.nextLink")) { + response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); + final SectionGroup[] array = new SectionGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sectionGroups = new SectionGroupCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/NotebookCopyNotebookBody.java b/src/main/java/com/microsoft/graph/models/extensions/NotebookCopyNotebookBody.java index 5d3b9d3f415..6d0cf003fe5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NotebookCopyNotebookBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NotebookCopyNotebookBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseNotebookCopyNotebookBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Copy Notebook Body. */ -public class NotebookCopyNotebookBody extends BaseNotebookCopyNotebookBody { +public class NotebookCopyNotebookBody { + /** + * The group Id. + * + */ + @SerializedName("groupId") + @Expose + public String groupId; + + /** + * The rename As. + * + */ + @SerializedName("renameAs") + @Expose + public String renameAs; + + /** + * The notebook Folder. + * + */ + @SerializedName("notebookFolder") + @Expose + public String notebookFolder; + + /** + * The site Collection Id. + * + */ + @SerializedName("siteCollectionId") + @Expose + public String siteCollectionId; + + /** + * The site Id. + * + */ + @SerializedName("siteId") + @Expose + public String siteId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/NotebookLinks.java b/src/main/java/com/microsoft/graph/models/extensions/NotebookLinks.java index 2cf1b8a15b5..6037d34b7d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NotebookLinks.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NotebookLinks.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ExternalLink; -import com.microsoft.graph.models.generated.BaseNotebookLinks; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Links. */ -public class NotebookLinks extends BaseNotebookLinks { +public class NotebookLinks implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The One Note Client Url. + * Opens the notebook in the OneNote native client if it's installed. + */ + @SerializedName("oneNoteClientUrl") + @Expose + public ExternalLink oneNoteClientUrl; + + /** + * The One Note Web Url. + * Opens the notebook in OneNote Online. + */ + @SerializedName("oneNoteWebUrl") + @Expose + public ExternalLink oneNoteWebUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java index 01fcac15f7f..cb042010393 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java @@ -3,12 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.NotificationTemplateBrandingOptions; +import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageCollectionResponse; +import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageCollectionPage; -import com.microsoft.graph.models.generated.BaseNotificationMessageTemplate; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template. */ -public class NotificationMessageTemplate extends BaseNotificationMessageTemplate { +public class NotificationMessageTemplate extends Entity implements IJsonBackedObject { + + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Display Name. + * Display name for the Notification Message Template. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Default Locale. + * The default locale to fallback onto when the requested locale is not available. + */ + @SerializedName("defaultLocale") + @Expose + public String defaultLocale; + + /** + * The Branding Options. + * The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation. + */ + @SerializedName("brandingOptions") + @Expose + public EnumSet brandingOptions; + + /** + * The Localized Notification Messages. + * The list of localized messages for this Notification Message Template. + */ + public LocalizedNotificationMessageCollectionPage localizedNotificationMessages; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("localizedNotificationMessages")) { + final LocalizedNotificationMessageCollectionResponse response = new LocalizedNotificationMessageCollectionResponse(); + if (json.has("localizedNotificationMessages@odata.nextLink")) { + response.nextLink = json.get("localizedNotificationMessages@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("localizedNotificationMessages").toString(), JsonObject[].class); + final LocalizedNotificationMessage[] array = new LocalizedNotificationMessage[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), LocalizedNotificationMessage.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + localizedNotificationMessages = new LocalizedNotificationMessageCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/NumberColumn.java b/src/main/java/com/microsoft/graph/models/extensions/NumberColumn.java index 33f5a06e0b9..8733e1cf5e2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NumberColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NumberColumn.java @@ -3,14 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseNumberColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Number Column. */ -public class NumberColumn extends BaseNumberColumn { +public class NumberColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Decimal Places. + * How many decimal places to display. See below for information about the possible values. + */ + @SerializedName("decimalPlaces") + @Expose + public String decimalPlaces; + + /** + * The Display As. + * How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. + */ + @SerializedName("displayAs") + @Expose + public String displayAs; + + /** + * The Maximum. + * The maximum permitted value. + */ + @SerializedName("maximum") + @Expose + public Double maximum; + + /** + * The Minimum. + * The minimum permitted value. + */ + @SerializedName("minimum") + @Expose + public Double minimum; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java b/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java index 8cee568c812..cb75294c0e1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java @@ -3,12 +3,143 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Trending; +import com.microsoft.graph.models.extensions.SharedInsight; +import com.microsoft.graph.models.extensions.UsedInsight; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TrendingCollectionResponse; +import com.microsoft.graph.requests.extensions.TrendingCollectionPage; +import com.microsoft.graph.requests.extensions.SharedInsightCollectionResponse; +import com.microsoft.graph.requests.extensions.SharedInsightCollectionPage; +import com.microsoft.graph.requests.extensions.UsedInsightCollectionResponse; +import com.microsoft.graph.requests.extensions.UsedInsightCollectionPage; -import com.microsoft.graph.models.generated.BaseOfficeGraphInsights; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Office Graph Insights. */ -public class OfficeGraphInsights extends BaseOfficeGraphInsights { +public class OfficeGraphInsights extends Entity implements IJsonBackedObject { + + + /** + * The Trending. + * + */ + public TrendingCollectionPage trending; + + /** + * The Shared. + * + */ + public SharedInsightCollectionPage shared; + + /** + * The Used. + * + */ + public UsedInsightCollectionPage used; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("trending")) { + final TrendingCollectionResponse response = new TrendingCollectionResponse(); + if (json.has("trending@odata.nextLink")) { + response.nextLink = json.get("trending@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("trending").toString(), JsonObject[].class); + final Trending[] array = new Trending[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Trending.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + trending = new TrendingCollectionPage(response, null); + } + + if (json.has("shared")) { + final SharedInsightCollectionResponse response = new SharedInsightCollectionResponse(); + if (json.has("shared@odata.nextLink")) { + response.nextLink = json.get("shared@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("shared").toString(), JsonObject[].class); + final SharedInsight[] array = new SharedInsight[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SharedInsight.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + shared = new SharedInsightCollectionPage(response, null); + } + + if (json.has("used")) { + final UsedInsightCollectionResponse response = new UsedInsightCollectionResponse(); + if (json.has("used@odata.nextLink")) { + response.nextLink = json.get("used@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("used").toString(), JsonObject[].class); + final UsedInsight[] array = new UsedInsight[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UsedInsight.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + used = new UsedInsightCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java index a5073493719..e4e72b8130a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseOmaSetting; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting. */ -public class OmaSetting extends BaseOmaSetting { +public class OmaSetting implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Display Name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Description. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Oma Uri. + * OMA. + */ + @SerializedName("omaUri") + @Expose + public String omaUri; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBase64.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBase64.java index 03426802daa..a6fbb75c0bd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBase64.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBase64.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingBase64; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting Base64. */ -public class OmaSettingBase64 extends BaseOmaSettingBase64 { +public class OmaSettingBase64 extends OmaSetting implements IJsonBackedObject { + + + /** + * The File Name. + * File name associated with the Value property (.cer + */ + @SerializedName("fileName") + @Expose + public String fileName; + + /** + * The Value. + * Value. (Base64 encoded string) + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBoolean.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBoolean.java index c0be1fdd98a..59cccf7417d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBoolean.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingBoolean.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingBoolean; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting Boolean. */ -public class OmaSettingBoolean extends BaseOmaSettingBoolean { +public class OmaSettingBoolean extends OmaSetting implements IJsonBackedObject { + + + /** + * The Value. + * Value. + */ + @SerializedName("value") + @Expose + public Boolean value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingDateTime.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingDateTime.java index 17e1fba2529..37b9446c12c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingDateTime.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingDateTime.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingDateTime; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting Date Time. */ -public class OmaSettingDateTime extends BaseOmaSettingDateTime { +public class OmaSettingDateTime extends OmaSetting implements IJsonBackedObject { + + + /** + * The Value. + * Value. + */ + @SerializedName("value") + @Expose + public java.util.Calendar value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingFloatingPoint.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingFloatingPoint.java index 17a595fe253..bba3c520076 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingFloatingPoint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingFloatingPoint.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingFloatingPoint; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting Floating Point. */ -public class OmaSettingFloatingPoint extends BaseOmaSettingFloatingPoint { +public class OmaSettingFloatingPoint extends OmaSetting implements IJsonBackedObject { + + + /** + * The Value. + * Value. + */ + @SerializedName("value") + @Expose + public float value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java index fb9ef51687b..e72991f1d78 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingInteger; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting Integer. */ -public class OmaSettingInteger extends BaseOmaSettingInteger { +public class OmaSettingInteger extends OmaSetting implements IJsonBackedObject { + + + /** + * The Value. + * Value. + */ + @SerializedName("value") + @Expose + public Integer value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingString.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingString.java index 0d1c0265a02..76edc68da96 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingString.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingString.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingString; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting String. */ -public class OmaSettingString extends BaseOmaSettingString { +public class OmaSettingString extends OmaSetting implements IJsonBackedObject { + + + /** + * The Value. + * Value. + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingStringXml.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingStringXml.java index 91ddbb9aa11..b41d611f97e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingStringXml.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingStringXml.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.generated.BaseOmaSettingStringXml; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Oma Setting String Xml. */ -public class OmaSettingStringXml extends BaseOmaSettingStringXml { +public class OmaSettingStringXml extends OmaSetting implements IJsonBackedObject { + + + /** + * The File Name. + * File name associated with the Value property (.xml). + */ + @SerializedName("fileName") + @Expose + public String fileName; + + /** + * The Value. + * Value. (UTF8 encoded byte array) + */ + @SerializedName("value") + @Expose + public byte[] value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java index ccf1014ff33..4bdc78d5490 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java @@ -3,12 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseOnPremisesConditionalAccessSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the On Premises Conditional Access Settings. */ -public class OnPremisesConditionalAccessSettings extends BaseOnPremisesConditionalAccessSettings { +public class OnPremisesConditionalAccessSettings extends Entity implements IJsonBackedObject { + + + /** + * The Enabled. + * Indicates if on premises conditional access is enabled for this organization + */ + @SerializedName("enabled") + @Expose + public Boolean enabled; + + /** + * The Included Groups. + * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. + */ + @SerializedName("includedGroups") + @Expose + public java.util.List includedGroups; + + /** + * The Excluded Groups. + * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. + */ + @SerializedName("excludedGroups") + @Expose + public java.util.List excludedGroups; + + /** + * The Override Default Rule. + * Override the default access rule when allowing a device to ensure access is granted. + */ + @SerializedName("overrideDefaultRule") + @Expose + public Boolean overrideDefaultRule; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java index cf5223acc63..adcf4f62485 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java @@ -3,12 +3,197 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseOnPremisesExtensionAttributes; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the On Premises Extension Attributes. */ -public class OnPremisesExtensionAttributes extends BaseOnPremisesExtensionAttributes { +public class OnPremisesExtensionAttributes implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Extension Attribute1. + * First customizable extension attribute. + */ + @SerializedName("extensionAttribute1") + @Expose + public String extensionAttribute1; + + /** + * The Extension Attribute2. + * Second customizable extension attribute. + */ + @SerializedName("extensionAttribute2") + @Expose + public String extensionAttribute2; + + /** + * The Extension Attribute3. + * Third customizable extension attribute. + */ + @SerializedName("extensionAttribute3") + @Expose + public String extensionAttribute3; + + /** + * The Extension Attribute4. + * Fourth customizable extension attribute. + */ + @SerializedName("extensionAttribute4") + @Expose + public String extensionAttribute4; + + /** + * The Extension Attribute5. + * Fifth customizable extension attribute. + */ + @SerializedName("extensionAttribute5") + @Expose + public String extensionAttribute5; + + /** + * The Extension Attribute6. + * Sixth customizable extension attribute. + */ + @SerializedName("extensionAttribute6") + @Expose + public String extensionAttribute6; + + /** + * The Extension Attribute7. + * Seventh customizable extension attribute. + */ + @SerializedName("extensionAttribute7") + @Expose + public String extensionAttribute7; + + /** + * The Extension Attribute8. + * Eighth customizable extension attribute. + */ + @SerializedName("extensionAttribute8") + @Expose + public String extensionAttribute8; + + /** + * The Extension Attribute9. + * Ninth customizable extension attribute. + */ + @SerializedName("extensionAttribute9") + @Expose + public String extensionAttribute9; + + /** + * The Extension Attribute10. + * Tenth customizable extension attribute. + */ + @SerializedName("extensionAttribute10") + @Expose + public String extensionAttribute10; + + /** + * The Extension Attribute11. + * Eleventh customizable extension attribute. + */ + @SerializedName("extensionAttribute11") + @Expose + public String extensionAttribute11; + + /** + * The Extension Attribute12. + * Twelfth customizable extension attribute. + */ + @SerializedName("extensionAttribute12") + @Expose + public String extensionAttribute12; + + /** + * The Extension Attribute13. + * Thirteenth customizable extension attribute. + */ + @SerializedName("extensionAttribute13") + @Expose + public String extensionAttribute13; + + /** + * The Extension Attribute14. + * Fourteenth customizable extension attribute. + */ + @SerializedName("extensionAttribute14") + @Expose + public String extensionAttribute14; + + /** + * The Extension Attribute15. + * Fifteenth customizable extension attribute. + */ + @SerializedName("extensionAttribute15") + @Expose + public String extensionAttribute15; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java index 5999a561182..1cc80e5c755 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseOnPremisesProvisioningError; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the On Premises Provisioning Error. */ -public class OnPremisesProvisioningError extends BaseOnPremisesProvisioningError { +public class OnPremisesProvisioningError implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Value. + * Value of the property causing the error. + */ + @SerializedName("value") + @Expose + public String value; + + /** + * The Category. + * Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property. + */ + @SerializedName("category") + @Expose + public String category; + + /** + * The Property Causing Error. + * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress + */ + @SerializedName("propertyCausingError") + @Expose + public String propertyCausingError; + + /** + * The Occurred Date Time. + * The date and time at which the error occurred. + */ + @SerializedName("occurredDateTime") + @Expose + public java.util.Calendar occurredDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Onenote.java b/src/main/java/com/microsoft/graph/models/extensions/Onenote.java index 8b2f1a1e0f6..bc40776ee0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Onenote.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Onenote.java @@ -3,14 +3,218 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenotePage; +import com.microsoft.graph.models.extensions.OnenoteResource; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.NotebookCollectionResponse; +import com.microsoft.graph.requests.extensions.NotebookCollectionPage; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; +import com.microsoft.graph.requests.extensions.OnenotePageCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenotePageCollectionPage; +import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionPage; +import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionPage; -import com.microsoft.graph.models.generated.BaseOnenote; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote. */ -public class Onenote extends BaseOnenote { +public class Onenote extends Entity implements IJsonBackedObject { + + + /** + * The Notebooks. + * The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. + */ + public NotebookCollectionPage notebooks; + + /** + * The Sections. + * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + */ + public OnenoteSectionCollectionPage sections; + + /** + * The Section Groups. + * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + */ + public SectionGroupCollectionPage sectionGroups; + + /** + * The Pages. + * The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + */ + public OnenotePageCollectionPage pages; + + /** + * The Resources. + * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + */ + public OnenoteResourceCollectionPage resources; + + /** + * The Operations. + * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + */ + public OnenoteOperationCollectionPage operations; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("notebooks")) { + final NotebookCollectionResponse response = new NotebookCollectionResponse(); + if (json.has("notebooks@odata.nextLink")) { + response.nextLink = json.get("notebooks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("notebooks").toString(), JsonObject[].class); + final Notebook[] array = new Notebook[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Notebook.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + notebooks = new NotebookCollectionPage(response, null); + } + + if (json.has("sections")) { + final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); + if (json.has("sections@odata.nextLink")) { + response.nextLink = json.get("sections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); + final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sections = new OnenoteSectionCollectionPage(response, null); + } + + if (json.has("sectionGroups")) { + final SectionGroupCollectionResponse response = new SectionGroupCollectionResponse(); + if (json.has("sectionGroups@odata.nextLink")) { + response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); + final SectionGroup[] array = new SectionGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sectionGroups = new SectionGroupCollectionPage(response, null); + } + + if (json.has("pages")) { + final OnenotePageCollectionResponse response = new OnenotePageCollectionResponse(); + if (json.has("pages@odata.nextLink")) { + response.nextLink = json.get("pages@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pages").toString(), JsonObject[].class); + final OnenotePage[] array = new OnenotePage[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenotePage.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + pages = new OnenotePageCollectionPage(response, null); + } + + if (json.has("resources")) { + final OnenoteResourceCollectionResponse response = new OnenoteResourceCollectionResponse(); + if (json.has("resources@odata.nextLink")) { + response.nextLink = json.get("resources@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("resources").toString(), JsonObject[].class); + final OnenoteResource[] array = new OnenoteResource[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteResource.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + resources = new OnenoteResourceCollectionPage(response, null); + } + + if (json.has("operations")) { + final OnenoteOperationCollectionResponse response = new OnenoteOperationCollectionResponse(); + if (json.has("operations@odata.nextLink")) { + response.nextLink = json.get("operations@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); + final OnenoteOperation[] array = new OnenoteOperation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteOperation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + operations = new OnenoteOperationCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityBaseModel.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityBaseModel.java index 5749892bb4c..307f1c4c2dd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityBaseModel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityBaseModel.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseOnenoteEntityBaseModel; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Base Model. */ -public class OnenoteEntityBaseModel extends BaseOnenoteEntityBaseModel { +public class OnenoteEntityBaseModel extends Entity implements IJsonBackedObject { + + + /** + * The Self. + * The endpoint where you can get details about the page. Read-only. + */ + @SerializedName("self") + @Expose + public String self; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java index 9e24e4ef6ba..2bcb14a137d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; -import com.microsoft.graph.models.generated.BaseOnenoteEntityHierarchyModel; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Hierarchy Model. */ -public class OnenoteEntityHierarchyModel extends BaseOnenoteEntityHierarchyModel { +public class OnenoteEntityHierarchyModel extends OnenoteEntitySchemaObjectModel implements IJsonBackedObject { + + + /** + * The Display Name. + * The name of the notebook. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Created By. + * Identity of the user, device, and application which created the item. Read-only. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Last Modified By. + * Identity of the user, device, and application which created the item. Read-only. + */ + @SerializedName("lastModifiedBy") + @Expose + public IdentitySet lastModifiedBy; + + /** + * The Last Modified Date Time. + * The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntitySchemaObjectModel.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntitySchemaObjectModel.java index 4606ab1a3a3..be21c9bb6e0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntitySchemaObjectModel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntitySchemaObjectModel.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; -import com.microsoft.graph.models.generated.BaseOnenoteEntitySchemaObjectModel; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Schema Object Model. */ -public class OnenoteEntitySchemaObjectModel extends BaseOnenoteEntitySchemaObjectModel { +public class OnenoteEntitySchemaObjectModel extends OnenoteEntityBaseModel implements IJsonBackedObject { + + + /** + * The Created Date Time. + * The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java index d39d0746491..6793346b7c4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OnenoteOperationError; +import com.microsoft.graph.models.extensions.Operation; -import com.microsoft.graph.models.generated.BaseOnenoteOperation; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation. */ -public class OnenoteOperation extends BaseOnenoteOperation { +public class OnenoteOperation extends Operation implements IJsonBackedObject { + + + /** + * The Resource Location. + * The resource URI for the object. For example, the resource URI for a copied page or section. + */ + @SerializedName("resourceLocation") + @Expose + public String resourceLocation; + + /** + * The Resource Id. + * The resource id. + */ + @SerializedName("resourceId") + @Expose + public String resourceId; + + /** + * The Error. + * The error returned by the operation. + */ + @SerializedName("error") + @Expose + public OnenoteOperationError error; + + /** + * The Percent Complete. + * The operation percent complete if the operation is still in running status + */ + @SerializedName("percentComplete") + @Expose + public String percentComplete; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperationError.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperationError.java index b1a460bfa58..5d462fe928a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperationError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperationError.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseOnenoteOperationError; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation Error. */ -public class OnenoteOperationError extends BaseOnenoteOperationError { +public class OnenoteOperationError implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Code. + * The error code. + */ + @SerializedName("code") + @Expose + public String code; + + /** + * The Message. + * The error message. + */ + @SerializedName("message") + @Expose + public String message; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java index ec5fcf5b221..4214715a2ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java @@ -3,14 +3,151 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PageLinks; +import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; -import com.microsoft.graph.models.generated.BaseOnenotePage; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page. */ -public class OnenotePage extends BaseOnenotePage { +public class OnenotePage extends OnenoteEntitySchemaObjectModel implements IJsonBackedObject { + + + /** + * The Title. + * The title of the page. + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Created By App Id. + * The unique identifier of the application that created the page. Read-only. + */ + @SerializedName("createdByAppId") + @Expose + public String createdByAppId; + + /** + * The Links. + * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote Online. Read-only. + */ + @SerializedName("links") + @Expose + public PageLinks links; + + /** + * The Content Url. + * The URL for the page's HTML content. Read-only. + */ + @SerializedName("contentUrl") + @Expose + public String contentUrl; + + /** + * The Last Modified Date Time. + * The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Level. + * The indentation level of the page. Read-only. + */ + @SerializedName("level") + @Expose + public Integer level; + + /** + * The Order. + * The order of the page within its parent section. Read-only. + */ + @SerializedName("order") + @Expose + public Integer order; + + /** + * The User Tags. + * + */ + @SerializedName("userTags") + @Expose + public java.util.List userTags; + + /** + * The Parent Section. + * The section that contains the page. Read-only. + */ + @SerializedName("parentSection") + @Expose + public OnenoteSection parentSection; + + /** + * The Parent Notebook. + * The notebook that contains the page. Read-only. + */ + @SerializedName("parentNotebook") + @Expose + public Notebook parentNotebook; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePageCopyToSectionBody.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePageCopyToSectionBody.java index 99dcb5a901c..01e768c2b0f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePageCopyToSectionBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePageCopyToSectionBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseOnenotePageCopyToSectionBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Copy To Section Body. */ -public class OnenotePageCopyToSectionBody extends BaseOnenotePageCopyToSectionBody { +public class OnenotePageCopyToSectionBody { + /** + * The id. + * + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The group Id. + * + */ + @SerializedName("groupId") + @Expose + public String groupId; + + /** + * The site Collection Id. + * + */ + @SerializedName("siteCollectionId") + @Expose + public String siteCollectionId; + + /** + * The site Id. + * + */ + @SerializedName("siteId") + @Expose + public String siteId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePageOnenotePatchContentBody.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePageOnenotePatchContentBody.java index a088b8fb62d..1ddaaff7152 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePageOnenotePatchContentBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePageOnenotePatchContentBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseOnenotePageOnenotePatchContentBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Onenote Patch Content Body. */ -public class OnenotePageOnenotePatchContentBody extends BaseOnenotePageOnenotePatchContentBody { +public class OnenotePageOnenotePatchContentBody { + /** + * The commands. + * + */ + @SerializedName("commands") + @Expose + public java.util.List commands; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java index 06f43ad1084..3cb91a1c0b8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OnenotePagePreviewLinks; -import com.microsoft.graph.models.generated.BaseOnenotePagePreview; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Preview. */ -public class OnenotePagePreview extends BaseOnenotePagePreview { +public class OnenotePagePreview implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Preview Text. + * + */ + @SerializedName("previewText") + @Expose + public String previewText; + + /** + * The Links. + * + */ + @SerializedName("links") + @Expose + public OnenotePagePreviewLinks links; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreviewLinks.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreviewLinks.java index dab670f5930..419a647c743 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreviewLinks.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreviewLinks.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ExternalLink; -import com.microsoft.graph.models.generated.BaseOnenotePagePreviewLinks; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Preview Links. */ -public class OnenotePagePreviewLinks extends BaseOnenotePagePreviewLinks { +public class OnenotePagePreviewLinks implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Preview Image Url. + * + */ + @SerializedName("previewImageUrl") + @Expose + public ExternalLink previewImageUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java index bebf7cd12ae..d51ae0470d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java @@ -3,14 +3,111 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.OnenotePatchActionType; +import com.microsoft.graph.models.generated.OnenotePatchInsertPosition; -import com.microsoft.graph.models.generated.BaseOnenotePatchContentCommand; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Patch Content Command. */ -public class OnenotePatchContentCommand extends BaseOnenotePatchContentCommand { +public class OnenotePatchContentCommand implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Action. + * The action to perform on the target element. The possible values are: replace, append, delete, insert, or prepend. + */ + @SerializedName("action") + @Expose + public OnenotePatchActionType action; + + /** + * The Target. + * The element to update. Must be the #&lt;data-id&gt; or the generated &lt;id&gt; of the element, or the body or title keyword. + */ + @SerializedName("target") + @Expose + public String target; + + /** + * The Content. + * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. + */ + @SerializedName("content") + @Expose + public String content; + + /** + * The Position. + * The location to add the supplied content, relative to the target element. The possible values are: after (default) or before. + */ + @SerializedName("position") + @Expose + public OnenotePatchInsertPosition position; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteResource.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteResource.java index 104046d42cf..2e6ec38c77b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteResource.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; -import com.microsoft.graph.models.generated.BaseOnenoteResource; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource. */ -public class OnenoteResource extends BaseOnenoteResource { +public class OnenoteResource extends OnenoteEntityBaseModel implements IJsonBackedObject { + + + /** + * The Content Url. + * The URL for downloading the content + */ + @SerializedName("contentUrl") + @Expose + public String contentUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java index db080a745a5..f83fb9661e9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java @@ -3,14 +3,136 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.SectionLinks; +import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenotePage; +import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; +import com.microsoft.graph.requests.extensions.OnenotePageCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenotePageCollectionPage; -import com.microsoft.graph.models.generated.BaseOnenoteSection; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section. */ -public class OnenoteSection extends BaseOnenoteSection { +public class OnenoteSection extends OnenoteEntityHierarchyModel implements IJsonBackedObject { + + + /** + * The Is Default. + * Indicates whether this is the user's default section. Read-only. + */ + @SerializedName("isDefault") + @Expose + public Boolean isDefault; + + /** + * The Links. + * Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote Online. + */ + @SerializedName("links") + @Expose + public SectionLinks links; + + /** + * The Pages Url. + * The pages endpoint where you can get details for all the pages in the section. Read-only. + */ + @SerializedName("pagesUrl") + @Expose + public String pagesUrl; + + /** + * The Parent Notebook. + * The notebook that contains the section. Read-only. + */ + @SerializedName("parentNotebook") + @Expose + public Notebook parentNotebook; + + /** + * The Parent Section Group. + * The section group that contains the section. Read-only. + */ + @SerializedName("parentSectionGroup") + @Expose + public SectionGroup parentSectionGroup; + + /** + * The Pages. + * The collection of pages in the section. Read-only. Nullable. + */ + public OnenotePageCollectionPage pages; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("pages")) { + final OnenotePageCollectionResponse response = new OnenotePageCollectionResponse(); + if (json.has("pages@odata.nextLink")) { + response.nextLink = json.get("pages@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pages").toString(), JsonObject[].class); + final OnenotePage[] array = new OnenotePage[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenotePage.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + pages = new OnenotePageCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToNotebookBody.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToNotebookBody.java index d931a819435..6cecaec6f1a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToNotebookBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToNotebookBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseOnenoteSectionCopyToNotebookBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Copy To Notebook Body. */ -public class OnenoteSectionCopyToNotebookBody extends BaseOnenoteSectionCopyToNotebookBody { +public class OnenoteSectionCopyToNotebookBody { + /** + * The id. + * + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The group Id. + * + */ + @SerializedName("groupId") + @Expose + public String groupId; + + /** + * The rename As. + * + */ + @SerializedName("renameAs") + @Expose + public String renameAs; + + /** + * The site Collection Id. + * + */ + @SerializedName("siteCollectionId") + @Expose + public String siteCollectionId; + + /** + * The site Id. + * + */ + @SerializedName("siteId") + @Expose + public String siteId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToSectionGroupBody.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToSectionGroupBody.java index 2c103e5e2e5..9f76d2a450c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToSectionGroupBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSectionCopyToSectionGroupBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseOnenoteSectionCopyToSectionGroupBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Copy To Section Group Body. */ -public class OnenoteSectionCopyToSectionGroupBody extends BaseOnenoteSectionCopyToSectionGroupBody { +public class OnenoteSectionCopyToSectionGroupBody { + /** + * The id. + * + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The group Id. + * + */ + @SerializedName("groupId") + @Expose + public String groupId; + + /** + * The rename As. + * + */ + @SerializedName("renameAs") + @Expose + public String renameAs; + + /** + * The site Collection Id. + * + */ + @SerializedName("siteCollectionId") + @Expose + public String siteCollectionId; + + /** + * The site Id. + * + */ + @SerializedName("siteId") + @Expose + public String siteId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OpenTypeExtension.java b/src/main/java/com/microsoft/graph/models/extensions/OpenTypeExtension.java index 9ac799fd4f4..eb9c627a4de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OpenTypeExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OpenTypeExtension.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.generated.BaseOpenTypeExtension; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Open Type Extension. */ -public class OpenTypeExtension extends BaseOpenTypeExtension { +public class OpenTypeExtension extends Extension implements IJsonBackedObject { + + + /** + * The Extension Name. + * A unique text identifier for an open type open extension. Required. + */ + @SerializedName("extensionName") + @Expose + public String extensionName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Operation.java b/src/main/java/com/microsoft/graph/models/extensions/Operation.java index 5333644fe16..b9c5729e221 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Operation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Operation.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.OperationStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseOperation; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Operation. */ -public class Operation extends BaseOperation { +public class Operation extends Entity implements IJsonBackedObject { + + + /** + * The Status. + * The current status of the operation: notStarted, running, completed, failed + */ + @SerializedName("status") + @Expose + public OperationStatus status; + + /** + * The Created Date Time. + * The start time of the operation. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Action Date Time. + * The time of the last action of the operation. + */ + @SerializedName("lastActionDateTime") + @Expose + public java.util.Calendar lastActionDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OperationError.java b/src/main/java/com/microsoft/graph/models/extensions/OperationError.java index c842a10da2b..16178d01c2f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OperationError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OperationError.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseOperationError; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Operation Error. */ -public class OperationError extends BaseOperationError { +public class OperationError implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Code. + * Operation error code. + */ + @SerializedName("code") + @Expose + public String code; + + /** + * The Message. + * Operation error message. + */ + @SerializedName("message") + @Expose + public String message; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Organization.java b/src/main/java/com/microsoft/graph/models/extensions/Organization.java index b95f9785c46..1e112c7b0a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Organization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Organization.java @@ -3,14 +3,258 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AssignedPlan; +import com.microsoft.graph.models.extensions.PrivacyProfile; +import com.microsoft.graph.models.extensions.ProvisionedPlan; +import com.microsoft.graph.models.extensions.VerifiedDomain; +import com.microsoft.graph.models.generated.MdmAuthority; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.models.generated.BaseOrganization; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization. */ -public class Organization extends BaseOrganization { +public class Organization extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Assigned Plans. + * The collection of service plans associated with the tenant. Not nullable. + */ + @SerializedName("assignedPlans") + @Expose + public java.util.List assignedPlans; + + /** + * The Business Phones. + * Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property. + */ + @SerializedName("businessPhones") + @Expose + public java.util.List businessPhones; + + /** + * The City. + * City name of the address for the organization + */ + @SerializedName("city") + @Expose + public String city; + + /** + * The Country. + * Country/region name of the address for the organization + */ + @SerializedName("country") + @Expose + public String country; + + /** + * The Country Letter Code. + * Country/region abbreviation for the organization + */ + @SerializedName("countryLetterCode") + @Expose + public String countryLetterCode; + + /** + * The Display Name. + * The display name for the tenant. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Marketing Notification Emails. + * Not nullable. + */ + @SerializedName("marketingNotificationEmails") + @Expose + public java.util.List marketingNotificationEmails; + + /** + * The On Premises Last Sync Date Time. + * The time and date at which the tenant was last synced with the on-premise directory. 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 would look like this: '2014-01-01T00:00:00Z'. Read-only. + */ + @SerializedName("onPremisesLastSyncDateTime") + @Expose + public java.util.Calendar onPremisesLastSyncDateTime; + + /** + * The On Premises Sync Enabled. + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). + */ + @SerializedName("onPremisesSyncEnabled") + @Expose + public Boolean onPremisesSyncEnabled; + + /** + * The Postal Code. + * Postal code of the address for the organization + */ + @SerializedName("postalCode") + @Expose + public String postalCode; + + /** + * The Preferred Language. + * The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'. + */ + @SerializedName("preferredLanguage") + @Expose + public String preferredLanguage; + + /** + * The Privacy Profile. + * The privacy profile of an organization. + */ + @SerializedName("privacyProfile") + @Expose + public PrivacyProfile privacyProfile; + + /** + * The Provisioned Plans. + * Not nullable. + */ + @SerializedName("provisionedPlans") + @Expose + public java.util.List provisionedPlans; + + /** + * The Security Compliance Notification Mails. + * + */ + @SerializedName("securityComplianceNotificationMails") + @Expose + public java.util.List securityComplianceNotificationMails; + + /** + * The Security Compliance Notification Phones. + * + */ + @SerializedName("securityComplianceNotificationPhones") + @Expose + public java.util.List securityComplianceNotificationPhones; + + /** + * The State. + * State name of the address for the organization + */ + @SerializedName("state") + @Expose + public String state; + + /** + * The Street. + * Street name of the address for organization + */ + @SerializedName("street") + @Expose + public String street; + + /** + * The Technical Notification Mails. + * Not nullable. + */ + @SerializedName("technicalNotificationMails") + @Expose + public java.util.List technicalNotificationMails; + + /** + * The Verified Domains. + * The collection of domains associated with this tenant. Not nullable. + */ + @SerializedName("verifiedDomains") + @Expose + public java.util.List verifiedDomains; + + /** + * The Mobile Device Management Authority. + * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. + */ + @SerializedName("mobileDeviceManagementAuthority") + @Expose + public MdmAuthority mobileDeviceManagementAuthority; + + /** + * The Extensions. + * The collection of open extensions defined for the organization. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java index b64404f3da1..d2b79fb75be 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.CategoryColor; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseOutlookCategory; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Category. */ -public class OutlookCategory extends BaseOutlookCategory { +public class OutlookCategory extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Color. + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + */ + @SerializedName("color") + @Expose + public CategoryColor color; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java index c48e5397d2f..840880623de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseOutlookGeoCoordinates; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Geo Coordinates. */ -public class OutlookGeoCoordinates extends BaseOutlookGeoCoordinates { +public class OutlookGeoCoordinates implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Altitude. + * The altitude of the location. + */ + @SerializedName("altitude") + @Expose + public Double altitude; + + /** + * The Latitude. + * The latitude of the location. + */ + @SerializedName("latitude") + @Expose + public Double latitude; + + /** + * The Longitude. + * The longitude of the location. + */ + @SerializedName("longitude") + @Expose + public Double longitude; + + /** + * The Accuracy. + * The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. + */ + @SerializedName("accuracy") + @Expose + public Double accuracy; + + /** + * The Altitude Accuracy. + * The accuracy of the altitude. + */ + @SerializedName("altitudeAccuracy") + @Expose + public Double altitudeAccuracy; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java index f7ce5dd67e5..35688f08504 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java @@ -3,14 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseOutlookItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Item. */ -public class OutlookItem extends BaseOutlookItem { +public class OutlookItem extends Entity implements IJsonBackedObject { + + + /** + * The Created Date Time. + * 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Change Key. + * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + */ + @SerializedName("changeKey") + @Expose + public String changeKey; + + /** + * The Categories. + * The categories associated with the item + */ + @SerializedName("categories") + @Expose + public java.util.List categories; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java index 0c0f0bfceed..2ba08900d3d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OutlookCategory; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionPage; -import com.microsoft.graph.models.generated.BaseOutlookUser; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User. */ -public class OutlookUser extends BaseOutlookUser { +public class OutlookUser extends Entity implements IJsonBackedObject { + + + /** + * The Master Categories. + * A list of categories defined for the user. + */ + public OutlookCategoryCollectionPage masterCategories; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("masterCategories")) { + final OutlookCategoryCollectionResponse response = new OutlookCategoryCollectionResponse(); + if (json.has("masterCategories@odata.nextLink")) { + response.nextLink = json.get("masterCategories@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("masterCategories").toString(), JsonObject[].class); + final OutlookCategory[] array = new OutlookCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OutlookCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + masterCategories = new OutlookCategoryCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Package.java b/src/main/java/com/microsoft/graph/models/extensions/Package.java index 89d7e04f0cf..b32e745e7e9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Package.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Package.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePackage; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Package. */ -public class Package extends BasePackage { +public class Package implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. + */ + @SerializedName("type") + @Expose + public String type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PageLinks.java b/src/main/java/com/microsoft/graph/models/extensions/PageLinks.java index 1ebec8efbcb..db3ec6cfb64 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PageLinks.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PageLinks.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ExternalLink; -import com.microsoft.graph.models.generated.BasePageLinks; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Page Links. */ -public class PageLinks extends BasePageLinks { +public class PageLinks implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The One Note Client Url. + * Opens the page in the OneNote native client if it's installed. + */ + @SerializedName("oneNoteClientUrl") + @Expose + public ExternalLink oneNoteClientUrl; + + /** + * The One Note Web Url. + * Opens the page in OneNote Online. + */ + @SerializedName("oneNoteWebUrl") + @Expose + public ExternalLink oneNoteWebUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java b/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java index 2418c15d52e..a5fdf70e420 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePasswordProfile; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Password Profile. */ -public class PasswordProfile extends BasePasswordProfile { +public class PasswordProfile implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Password. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + */ + @SerializedName("password") + @Expose + public String password; + + /** + * The Force Change Password Next Sign In. + * true if the user must change her password on the next login; otherwise false. + */ + @SerializedName("forceChangePasswordNextSignIn") + @Expose + public Boolean forceChangePasswordNextSignIn; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PatternedRecurrence.java b/src/main/java/com/microsoft/graph/models/extensions/PatternedRecurrence.java index 081efbd904a..171cbf2edb5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PatternedRecurrence.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PatternedRecurrence.java @@ -3,14 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RecurrencePattern; +import com.microsoft.graph.models.extensions.RecurrenceRange; -import com.microsoft.graph.models.generated.BasePatternedRecurrence; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Patterned Recurrence. */ -public class PatternedRecurrence extends BasePatternedRecurrence { +public class PatternedRecurrence implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Pattern. + * The frequency of an event. + */ + @SerializedName("pattern") + @Expose + public RecurrencePattern pattern; + + /** + * The Range. + * The duration of an event. + */ + @SerializedName("range") + @Expose + public RecurrenceRange range; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Permission.java b/src/main/java/com/microsoft/graph/models/extensions/Permission.java index f666037c014..e846aaac4b2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Permission.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Permission.java @@ -3,14 +3,120 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.models.extensions.SharingInvitation; +import com.microsoft.graph.models.extensions.SharingLink; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BasePermission; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Permission. */ -public class Permission extends BasePermission { +public class Permission extends Entity implements IJsonBackedObject { + + + /** + * The Granted To. + * For user type permissions, the details of the users & applications for this permission. Read-only. + */ + @SerializedName("grantedTo") + @Expose + public IdentitySet grantedTo; + + /** + * The Inherited From. + * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + */ + @SerializedName("inheritedFrom") + @Expose + public ItemReference inheritedFrom; + + /** + * The Invitation. + * Details of any associated sharing invitation for this permission. Read-only. + */ + @SerializedName("invitation") + @Expose + public SharingInvitation invitation; + + /** + * The Link. + * Provides the link details of the current permission, if it is a link type permissions. Read-only. + */ + @SerializedName("link") + @Expose + public SharingLink link; + + /** + * The Roles. + * The type of permission, e.g. read. See below for the full list of roles. Read-only. + */ + @SerializedName("roles") + @Expose + public java.util.List roles; + + /** + * The Share Id. + * A unique token that can be used to access this shared item via the **shares** API. Read-only. + */ + @SerializedName("shareId") + @Expose + public String shareId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Person.java b/src/main/java/com/microsoft/graph/models/extensions/Person.java index a22817254c8..13527797117 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Person.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Person.java @@ -3,14 +3,225 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ScoredEmailAddress; +import com.microsoft.graph.models.extensions.Phone; +import com.microsoft.graph.models.extensions.Location; +import com.microsoft.graph.models.extensions.Website; +import com.microsoft.graph.models.extensions.PersonType; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BasePerson; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person. */ -public class Person extends BasePerson { +public class Person extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The person's display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Given Name. + * The person's given name. + */ + @SerializedName("givenName") + @Expose + public String givenName; + + /** + * The Surname. + * The person's surname. + */ + @SerializedName("surname") + @Expose + public String surname; + + /** + * The Birthday. + * The person's birthday. + */ + @SerializedName("birthday") + @Expose + public String birthday; + + /** + * The Person Notes. + * Free-form notes that the user has taken about this person. + */ + @SerializedName("personNotes") + @Expose + public String personNotes; + + /** + * The Is Favorite. + * true if the user has flagged this person as a favorite. + */ + @SerializedName("isFavorite") + @Expose + public Boolean isFavorite; + + /** + * The Scored Email Addresses. + * The person's email addresses. + */ + @SerializedName("scoredEmailAddresses") + @Expose + public java.util.List scoredEmailAddresses; + + /** + * The Phones. + * The person's phone numbers. + */ + @SerializedName("phones") + @Expose + public java.util.List phones; + + /** + * The Postal Addresses. + * The person's addresses. + */ + @SerializedName("postalAddresses") + @Expose + public java.util.List postalAddresses; + + /** + * The Websites. + * The person's websites. + */ + @SerializedName("websites") + @Expose + public java.util.List websites; + + /** + * The Job Title. + * The person's job title. + */ + @SerializedName("jobTitle") + @Expose + public String jobTitle; + + /** + * The Company Name. + * The name of the person's company. + */ + @SerializedName("companyName") + @Expose + public String companyName; + + /** + * The Yomi Company. + * The phonetic Japanese name of the person's company. + */ + @SerializedName("yomiCompany") + @Expose + public String yomiCompany; + + /** + * The Department. + * The person's department. + */ + @SerializedName("department") + @Expose + public String department; + + /** + * The Office Location. + * The location of the person's office. + */ + @SerializedName("officeLocation") + @Expose + public String officeLocation; + + /** + * The Profession. + * The person's profession. + */ + @SerializedName("profession") + @Expose + public String profession; + + /** + * The Person Type. + * The type of person. + */ + @SerializedName("personType") + @Expose + public PersonType personType; + + /** + * The User Principal Name. + * The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The Im Address. + * The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only. + */ + @SerializedName("imAddress") + @Expose + public String imAddress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PersonOrGroupColumn.java b/src/main/java/com/microsoft/graph/models/extensions/PersonOrGroupColumn.java index 276efb3d418..705558c9bdb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PersonOrGroupColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PersonOrGroupColumn.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePersonOrGroupColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Or Group Column. */ -public class PersonOrGroupColumn extends BasePersonOrGroupColumn { +public class PersonOrGroupColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Multiple Selection. + * Indicates whether multiple values can be selected from the source. + */ + @SerializedName("allowMultipleSelection") + @Expose + public Boolean allowMultipleSelection; + + /** + * The Choose From Type. + * Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly. + */ + @SerializedName("chooseFromType") + @Expose + public String chooseFromType; + + /** + * The Display As. + * How to display the information about the person or group chosen. See below. + */ + @SerializedName("displayAs") + @Expose + public String displayAs; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PersonType.java b/src/main/java/com/microsoft/graph/models/extensions/PersonType.java index d4635e3a49d..4c826a6d2f9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PersonType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PersonType.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePersonType; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Type. */ -public class PersonType extends BasePersonType { +public class PersonType implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Class. + * The type of data source, such as Person. + */ + @SerializedName("class") + @Expose + public String msgraphclass; + + /** + * The Subclass. + * The secondary type of data source, such as OrganizationUser. + */ + @SerializedName("subclass") + @Expose + public String subclass; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Phone.java b/src/main/java/com/microsoft/graph/models/extensions/Phone.java index 284cce491f1..95b6e545f95 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Phone.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Phone.java @@ -3,14 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.PhoneType; -import com.microsoft.graph.models.generated.BasePhone; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Phone. */ -public class Phone extends BasePhone { +public class Phone implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + */ + @SerializedName("type") + @Expose + public PhoneType type; + + /** + * The Number. + * The phone number. + */ + @SerializedName("number") + @Expose + public String number; + + /** + * The Region. + * + */ + @SerializedName("region") + @Expose + public String region; + + /** + * The Language. + * + */ + @SerializedName("language") + @Expose + public String language; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Photo.java b/src/main/java/com/microsoft/graph/models/extensions/Photo.java index 02d7b85ede7..8a7a2a8415c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Photo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Photo.java @@ -3,14 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePhoto; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Photo. */ -public class Photo extends BasePhoto { +public class Photo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Camera Make. + * Camera manufacturer. Read-only. + */ + @SerializedName("cameraMake") + @Expose + public String cameraMake; + + /** + * The Camera Model. + * Camera model. Read-only. + */ + @SerializedName("cameraModel") + @Expose + public String cameraModel; + + /** + * The Exposure Denominator. + * The denominator for the exposure time fraction from the camera. Read-only. + */ + @SerializedName("exposureDenominator") + @Expose + public Double exposureDenominator; + + /** + * The Exposure Numerator. + * The numerator for the exposure time fraction from the camera. Read-only. + */ + @SerializedName("exposureNumerator") + @Expose + public Double exposureNumerator; + + /** + * The FNumber. + * The F-stop value from the camera. Read-only. + */ + @SerializedName("fNumber") + @Expose + public Double fNumber; + + /** + * The Focal Length. + * The focal length from the camera. Read-only. + */ + @SerializedName("focalLength") + @Expose + public Double focalLength; + + /** + * The Iso. + * The ISO value from the camera. Read-only. + */ + @SerializedName("iso") + @Expose + public Integer iso; + + /** + * The Taken Date Time. + * Represents the date and time the photo was taken. Read-only. + */ + @SerializedName("takenDateTime") + @Expose + public java.util.Calendar takenDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java b/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java index 5f935106823..251917fd023 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java @@ -3,14 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePhysicalAddress; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Physical Address. */ -public class PhysicalAddress extends BasePhysicalAddress { +public class PhysicalAddress implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Street. + * The street. + */ + @SerializedName("street") + @Expose + public String street; + + /** + * The City. + * The city. + */ + @SerializedName("city") + @Expose + public String city; + + /** + * The State. + * The state. + */ + @SerializedName("state") + @Expose + public String state; + + /** + * The Country Or Region. + * The country or region. It's a free-format string value, for example, 'United States'. + */ + @SerializedName("countryOrRegion") + @Expose + public String countryOrRegion; + + /** + * The Postal Code. + * The postal code. + */ + @SerializedName("postalCode") + @Expose + public String postalCode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Planner.java b/src/main/java/com/microsoft/graph/models/extensions/Planner.java index 293dd83619f..0e17dea54d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Planner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Planner.java @@ -3,14 +3,143 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.models.extensions.PlannerBucket; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerBucketCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerBucketCollectionPage; -import com.microsoft.graph.models.generated.BasePlanner; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner. */ -public class Planner extends BasePlanner { +public class Planner extends Entity implements IJsonBackedObject { + + + /** + * The Tasks. + * Read-only. Nullable. Returns a collection of the specified tasks + */ + public PlannerTaskCollectionPage tasks; + + /** + * The Plans. + * Read-only. Nullable. Returns a collection of the specified plans + */ + public PlannerPlanCollectionPage plans; + + /** + * The Buckets. + * Read-only. Nullable. Returns a collection of the specified buckets + */ + public PlannerBucketCollectionPage buckets; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tasks = new PlannerTaskCollectionPage(response, null); + } + + if (json.has("plans")) { + final PlannerPlanCollectionResponse response = new PlannerPlanCollectionResponse(); + if (json.has("plans@odata.nextLink")) { + response.nextLink = json.get("plans@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); + final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + plans = new PlannerPlanCollectionPage(response, null); + } + + if (json.has("buckets")) { + final PlannerBucketCollectionResponse response = new PlannerBucketCollectionResponse(); + if (json.has("buckets@odata.nextLink")) { + response.nextLink = json.get("buckets@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("buckets").toString(), JsonObject[].class); + final PlannerBucket[] array = new PlannerBucket[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerBucket.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + buckets = new PlannerBucketCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerAppliedCategories.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerAppliedCategories.java index 38da50116a5..b4631bb96e4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerAppliedCategories.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerAppliedCategories.java @@ -3,56 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerAppliedCategories; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Applied Categories. */ -public class PlannerAppliedCategories extends BasePlannerAppliedCategories { - /** - * The Category1 - */ - @SerializedName("category1") - @Expose - public boolean category1; - - /** - * The Category1 - */ - @SerializedName("category2") - @Expose - public boolean category2; - - /** - * The Category1 - */ - @SerializedName("category3") - @Expose - public boolean category3; - - /** - * The Category1 - */ - @SerializedName("category4") - @Expose - public boolean category4; - - /** - * The Category1 - */ - @SerializedName("category5") - @Expose - public boolean category5; - - /** - * The Category1 - */ - @SerializedName("category6") - @Expose - public boolean category6; +public class PlannerAppliedCategories implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java index 5596843158b..0a8d809a0d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java @@ -3,34 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerOrderHintsByAssignee; +import com.microsoft.graph.models.extensions.Entity; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerAssignedToTaskBoardTaskFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Assigned To Task Board Task Format. */ -public class PlannerAssignedToTaskBoardTaskFormat extends BasePlannerAssignedToTaskBoardTaskFormat { +public class PlannerAssignedToTaskBoardTaskFormat extends Entity implements IJsonBackedObject { + + + /** + * The Unassigned Order Hint. + * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + */ + @SerializedName("unassignedOrderHint") + @Expose + public String unassignedOrderHint; - /** - * The Etag. + /** + * The Order Hints By Assignee. + * Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here. */ - @SerializedName("@odata.etag") + @SerializedName("orderHintsByAssignee") @Expose - public String etag; - - /** - * The GetOrderHintForAssignee - * - * @param userId The assignee ID to get the order hint for - * @return The order hint for the given user - */ - public String orderHintForAssignee(String userId) - { - String orderHints = this.orderHintsByAssignee.get(userId); - return (orderHints != null) ? orderHints : this.unassignedOrderHint; - } + public PlannerOrderHintsByAssignee orderHintsByAssignee; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignment.java index 894a7f861b8..e3498504e89 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignment.java @@ -3,16 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.BasePlannerAssignment; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Assignment. */ -public class PlannerAssignment extends BasePlannerAssignment { - public PlannerAssignment() { - oDataType = "#microsoft.graph.plannerAssignment"; - } +public class PlannerAssignment implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Assigned By. + * The identity of the user that performed the assignment of the task, i.e. the assignor. + */ + @SerializedName("assignedBy") + @Expose + public IdentitySet assignedBy; + + /** + * The Assigned Date Time. + * The time at which the task was assigned. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("assignedDateTime") + @Expose + public java.util.Calendar assignedDateTime; + + /** + * The Order Hint. + * Hint used to order assignees in a task. The format is defined as outlined here. + */ + @SerializedName("orderHint") + @Expose + public String orderHint; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignments.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignments.java index 2064e8992a3..b760cf37b70 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignments.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignments.java @@ -3,14 +3,78 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerAssignment; -import com.microsoft.graph.models.generated.BasePlannerAssignments; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Assignments. */ -public class PlannerAssignments extends BasePlannerAssignments { +public class PlannerAssignments extends HashMap implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java index b0f3d71d378..19d9cf91467 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java @@ -3,25 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerBucket; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket. */ -public class PlannerBucket extends BasePlannerBucket { - /** - * The Etag. +public class PlannerBucket extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * Name of the bucket. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Plan Id. + * Plan ID to which the bucket belongs. + */ + @SerializedName("planId") + @Expose + public String planId; + + /** + * The Order Hint. + * Hint used to order items of this type in a list view. The format is defined as outlined here. */ - @SerializedName("@odata.etag") + @SerializedName("orderHint") @Expose - public String etag; - - public PlannerBucket() { - oDataType = "#microsoft.graph.plannerBucket"; + public String orderHint; + + /** + * The Tasks. + * Read-only. Nullable. The collection of tasks in the bucket. + */ + public PlannerTaskCollectionPage tasks; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tasks = new PlannerTaskCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerBucketTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerBucketTaskBoardTaskFormat.java index 85ebd691de2..9a5212f885f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerBucketTaskBoardTaskFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerBucketTaskBoardTaskFormat.java @@ -3,22 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerBucketTaskBoardTaskFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Task Board Task Format. */ -public class PlannerBucketTaskBoardTaskFormat extends BasePlannerBucketTaskBoardTaskFormat { +public class PlannerBucketTaskBoardTaskFormat extends Entity implements IJsonBackedObject { + - /** - * The Etag. + /** + * The Order Hint. + * Hint used to order tasks in the Bucket view of the Task Board. The format is defined as outlined here. */ - @SerializedName("@odata.etag") + @SerializedName("orderHint") @Expose - public String etag; + public String orderHint; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerCategoryDescriptions.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerCategoryDescriptions.java index e5ff9cc2ac6..288807521fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerCategoryDescriptions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerCategoryDescriptions.java @@ -3,14 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePlannerCategoryDescriptions; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Category Descriptions. */ -public class PlannerCategoryDescriptions extends BasePlannerCategoryDescriptions { +public class PlannerCategoryDescriptions implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Category1. + * The label associated with Category 1 + */ + @SerializedName("category1") + @Expose + public String category1; + + /** + * The Category2. + * The label associated with Category 2 + */ + @SerializedName("category2") + @Expose + public String category2; + + /** + * The Category3. + * The label associated with Category 3 + */ + @SerializedName("category3") + @Expose + public String category3; + + /** + * The Category4. + * The label associated with Category 4 + */ + @SerializedName("category4") + @Expose + public String category4; + + /** + * The Category5. + * The label associated with Category 5 + */ + @SerializedName("category5") + @Expose + public String category5; + + /** + * The Category6. + * The label associated with Category 6 + */ + @SerializedName("category6") + @Expose + public String category6; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java index ff5004b125d..a3fcf216a0f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java @@ -3,17 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.BasePlannerChecklistItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Checklist Item. */ -public class PlannerChecklistItem extends BasePlannerChecklistItem { - - public PlannerChecklistItem() { - oDataType = "#microsoft.graph.plannerChecklistItem"; - } +public class PlannerChecklistItem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Is Checked. + * Value is true if the item is checked and false otherwise. + */ + @SerializedName("isChecked") + @Expose + public Boolean isChecked; + + /** + * The Title. + * Title of the checklist item + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Order Hint. + * Used to set the relative order of items in the checklist. The format is defined as outlined here. + */ + @SerializedName("orderHint") + @Expose + public String orderHint; + + /** + * The Last Modified By. + * Read-only. User ID by which this is last modified. + */ + @SerializedName("lastModifiedBy") + @Expose + public IdentitySet lastModifiedBy; + + /** + * The Last Modified Date Time. + * Read-only. Date and time at which this is 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItems.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItems.java index 08c5f04773c..b4384934843 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItems.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItems.java @@ -3,34 +3,78 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerChecklistItem; -import java.util.UUID; -import com.google.gson.JsonPrimitive; -import com.microsoft.graph.models.generated.BasePlannerChecklistItems; -import com.microsoft.graph.serializer.ISerializer; +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Checklist Items. */ -public class PlannerChecklistItems extends BasePlannerChecklistItems { - /** - * Create a new checklist item with the given title - * @param title Title of the checklist item - * @return The ID of the checklist item - */ - public String addChecklistItem(String title) { - PlannerChecklistItem plannerChecklistItem = new PlannerChecklistItem(); - plannerChecklistItem.title = title; - String newChecklistItemId = UUID.randomUUID().toString(); - - ISerializer serializer = this.getSerializer(); - String serializedItem = serializer.serializeObject(plannerChecklistItem); - - this.additionalDataManager().put(newChecklistItemId, new JsonPrimitive(serializedItem)); - - return newChecklistItemId; - } +public class PlannerChecklistItems extends HashMap implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java index a5e62688750..d0fd90a666d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java @@ -3,16 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.BasePlannerExternalReference; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner External Reference. */ -public class PlannerExternalReference extends BasePlannerExternalReference { - public PlannerExternalReference() { - oDataType = "#microsoft.graph.plannerExternalReference"; - } +public class PlannerExternalReference implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Alias. + * A name alias to describe the reference. + */ + @SerializedName("alias") + @Expose + public String alias; + + /** + * The Type. + * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Preview Priority. + * Used to set the relative priority order in which the reference will be shown as a preview on the task. + */ + @SerializedName("previewPriority") + @Expose + public String previewPriority; + + /** + * The Last Modified By. + * Read-only. User ID by which this is last modified. + */ + @SerializedName("lastModifiedBy") + @Expose + public IdentitySet lastModifiedBy; + + /** + * The Last Modified Date Time. + * Read-only. Date and time at which this is 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReferences.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReferences.java index 51fa7404c99..af9cd62204e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReferences.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReferences.java @@ -3,94 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import java.security.InvalidParameterException; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; import com.google.gson.JsonElement; -import com.microsoft.graph.models.generated.BasePlannerExternalReferences; -import com.microsoft.graph.serializer.ISerializer; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner External References. */ -public class PlannerExternalReferences extends BasePlannerExternalReferences { - /* - * Specifies the character - encoding pairs to apply on the external reference URLs - */ - private static String[][] conversions = { { "%", "%25" }, { "@", "%40" }, { ".", "%2E" }, { ":", "%3A" } }; - - /** - * Gets external reference data for a given reference URL - * @param url The external reference URL - * @return The external reference - */ - public PlannerExternalReference reference(String url) { - if (url == null || url.isEmpty()) { - throw new InvalidParameterException("URL cannot be empty"); - } - if (this.additionalDataManager().containsKey(encode(url))) { - JsonElement refObject = this.additionalDataManager().get(encode(url)); - ISerializer serializer = this.getSerializer(); - return serializer.deserializeObject( - refObject.getAsString(), - PlannerExternalReference.class - ); - } else { - return null; - } - } - - /** - * Adds a new external reference with the given URL and short name - * @param url URL of the external reference - * @param alias Short name for the external reference - * @return The created external reference - */ - public PlannerExternalReference addReference(String url, String alias) { - if (url == null || url.isEmpty()) { - throw new InvalidParameterException("URL cannot be empty"); - } - if (alias == null || alias.isEmpty()) { - throw new InvalidParameterException("Alias cannot be empty"); - } - - PlannerExternalReference plannerExternalReference = new PlannerExternalReference(); - plannerExternalReference.alias = alias; - this.additionalDataManager().put(encode(url), plannerExternalReference.getRawObject()); - return plannerExternalReference; - } - - /** - * Encodes the URL of an external reference to be compatible with OData property naming requirements - * @param externalReferenceUrl URL to encode - * @return Encoded URL - */ - private static String encode(String externalReferenceUrl) { - if (externalReferenceUrl == null || externalReferenceUrl.isEmpty()) { - throw new InvalidParameterException("URL cannot be empty"); - } - - for (int i = 0; i < conversions.length; i++) - { - externalReferenceUrl = externalReferenceUrl.replace(conversions[i][0], conversions[i][1]); - } - return externalReferenceUrl; - } - - /** - * Decodes an encoded URL of an external reference - * @param externalReferenceUrl URL to encode - * @return Decoded URL - */ - private static String decode(String externalReferenceUrl) { - if (externalReferenceUrl == null || externalReferenceUrl.isEmpty()) { - throw new InvalidParameterException("URL cannot be empty"); - } - - for (int i = conversions.length - 1; i >= 0; i--) { - externalReferenceUrl = externalReferenceUrl.replace(conversions[i][1], conversions[i][0]); - } - return externalReferenceUrl; - } +public class PlannerExternalReferences extends HashMap implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerGroup.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerGroup.java index 32382108cfd..edc07891c77 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerGroup.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; -import com.microsoft.graph.models.generated.BasePlannerGroup; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Group. */ -public class PlannerGroup extends BasePlannerGroup { +public class PlannerGroup extends Entity implements IJsonBackedObject { + + + /** + * The Plans. + * Read-only. Nullable. Returns the plannerPlans owned by the group. + */ + public PlannerPlanCollectionPage plans; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("plans")) { + final PlannerPlanCollectionResponse response = new PlannerPlanCollectionResponse(); + if (json.has("plans@odata.nextLink")) { + response.nextLink = json.get("plans@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); + final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + plans = new PlannerPlanCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerOrderHintsByAssignee.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerOrderHintsByAssignee.java index f6829f0cd9c..3c61d9336f0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerOrderHintsByAssignee.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerOrderHintsByAssignee.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePlannerOrderHintsByAssignee; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Order Hints By Assignee. */ -public class PlannerOrderHintsByAssignee extends BasePlannerOrderHintsByAssignee { +public class PlannerOrderHintsByAssignee extends HashMap implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java index 555e60d9033..75804e806b8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java @@ -3,14 +3,160 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.models.extensions.PlannerBucket; +import com.microsoft.graph.models.extensions.PlannerPlanDetails; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerBucketCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerBucketCollectionPage; -import com.microsoft.graph.models.generated.BasePlannerPlan; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan. */ -public class PlannerPlan extends BasePlannerPlan { +public class PlannerPlan extends Entity implements IJsonBackedObject { + + + /** + * The Created By. + * Read-only. The user who created the plan. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Created Date Time. + * Read-only. Date and time at which the plan is created. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Owner. + * ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated. + */ + @SerializedName("owner") + @Expose + public String owner; + + /** + * The Title. + * Required. Title of the plan. + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Tasks. + * Read-only. Nullable. Collection of tasks in the plan. + */ + public PlannerTaskCollectionPage tasks; + + /** + * The Buckets. + * Read-only. Nullable. Collection of buckets in the plan. + */ + public PlannerBucketCollectionPage buckets; + + /** + * The Details. + * Read-only. Nullable. Additional details about the plan. + */ + @SerializedName("details") + @Expose + public PlannerPlanDetails details; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tasks = new PlannerTaskCollectionPage(response, null); + } + + if (json.has("buckets")) { + final PlannerBucketCollectionResponse response = new PlannerBucketCollectionResponse(); + if (json.has("buckets@odata.nextLink")) { + response.nextLink = json.get("buckets@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("buckets").toString(), JsonObject[].class); + final PlannerBucket[] array = new PlannerBucket[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerBucket.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + buckets = new PlannerBucketCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java index 75e3c397db6..26669b35dff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java @@ -3,22 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerUserIds; +import com.microsoft.graph.models.extensions.PlannerCategoryDescriptions; +import com.microsoft.graph.models.extensions.Entity; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerPlanDetails; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Details. */ -public class PlannerPlanDetails extends BasePlannerPlanDetails { +public class PlannerPlanDetails extends Entity implements IJsonBackedObject { + + + /** + * The Shared With. + * Set of user ids that this plan is shared with. If you are leveraging Office 365 Groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group. + */ + @SerializedName("sharedWith") + @Expose + public PlannerUserIds sharedWith; - /** - * The Etag. + /** + * The Category Descriptions. + * An object that specifies the descriptions of the six categories that can be associated with tasks in the plan */ - @SerializedName("@odata.etag") + @SerializedName("categoryDescriptions") @Expose - public String etag; + public PlannerCategoryDescriptions categoryDescriptions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerProgressTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerProgressTaskBoardTaskFormat.java index a0f8b7499d1..64778e991c0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerProgressTaskBoardTaskFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerProgressTaskBoardTaskFormat.java @@ -3,22 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerProgressTaskBoardTaskFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Progress Task Board Task Format. */ -public class PlannerProgressTaskBoardTaskFormat extends BasePlannerProgressTaskBoardTaskFormat { +public class PlannerProgressTaskBoardTaskFormat extends Entity implements IJsonBackedObject { + - /** - * The Etag. + /** + * The Order Hint. + * Hint value used to order the task on the Progress view of the Task Board. The format is defined as outlined here. */ - @SerializedName("@odata.etag") + @SerializedName("orderHint") @Expose - public String etag; + public String orderHint; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java index b6fc5df9e2a..9ba788f82ee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java @@ -3,26 +3,268 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.generated.PlannerPreviewType; +import com.microsoft.graph.models.extensions.PlannerAppliedCategories; +import com.microsoft.graph.models.extensions.PlannerAssignments; +import com.microsoft.graph.models.extensions.PlannerTaskDetails; +import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; +import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; +import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerTask; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task. */ -public class PlannerTask extends BasePlannerTask { +public class PlannerTask extends Entity implements IJsonBackedObject { + + + /** + * The Created By. + * Identity of the user that created the task. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Plan Id. + * Plan ID to which the task belongs. + */ + @SerializedName("planId") + @Expose + public String planId; + + /** + * The Bucket Id. + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + */ + @SerializedName("bucketId") + @Expose + public String bucketId; - /** - * The Etag. + /** + * The Title. + * Title of the task. */ - @SerializedName("@odata.etag") + @SerializedName("title") @Expose - public String etag; - - public PlannerTask() { - oDataType = "#microsoft.graph.plannerTask"; + public String title; + + /** + * The Order Hint. + * Hint used to order items of this type in a list view. The format is defined as outlined here. + */ + @SerializedName("orderHint") + @Expose + public String orderHint; + + /** + * The Assignee Priority. + * Hint used to order items of this type in a list view. The format is defined as outlined here. + */ + @SerializedName("assigneePriority") + @Expose + public String assigneePriority; + + /** + * The Percent Complete. + * Percentage of task completion. When set to 100, the task is considered completed. + */ + @SerializedName("percentComplete") + @Expose + public Integer percentComplete; + + /** + * The Start Date Time. + * Date and time at which the task starts. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("startDateTime") + @Expose + public java.util.Calendar startDateTime; + + /** + * The Created Date Time. + * Read-only. Date and time at which the task is created. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Due Date Time. + * Date and time at which the task is due. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("dueDateTime") + @Expose + public java.util.Calendar dueDateTime; + + /** + * The Has Description. + * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. + */ + @SerializedName("hasDescription") + @Expose + public Boolean hasDescription; + + /** + * The Preview Type. + * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. + */ + @SerializedName("previewType") + @Expose + public PlannerPreviewType previewType; + + /** + * The Completed Date Time. + * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("completedDateTime") + @Expose + public java.util.Calendar completedDateTime; + + /** + * The Completed By. + * Identity of the user that completed the task. + */ + @SerializedName("completedBy") + @Expose + public IdentitySet completedBy; + + /** + * The Reference Count. + * Number of external references that exist on the task. + */ + @SerializedName("referenceCount") + @Expose + public Integer referenceCount; + + /** + * The Checklist Item Count. + * Number of checklist items that are present on the task. + */ + @SerializedName("checklistItemCount") + @Expose + public Integer checklistItemCount; + + /** + * The Active Checklist Item Count. + * Number of checklist items with value set to 'false', representing incomplete items. + */ + @SerializedName("activeChecklistItemCount") + @Expose + public Integer activeChecklistItemCount; + + /** + * The Applied Categories. + * The categories to which the task has been applied. See applied Categories for possible values. + */ + @SerializedName("appliedCategories") + @Expose + public PlannerAppliedCategories appliedCategories; + + /** + * The Assignments. + * The set of assignees the task is assigned to. + */ + @SerializedName("assignments") + @Expose + public PlannerAssignments assignments; + + /** + * The Conversation Thread Id. + * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. + */ + @SerializedName("conversationThreadId") + @Expose + public String conversationThreadId; + + /** + * The Details. + * Read-only. Nullable. Additional details about the task. + */ + @SerializedName("details") + @Expose + public PlannerTaskDetails details; + + /** + * The Assigned To Task Board Format. + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. + */ + @SerializedName("assignedToTaskBoardFormat") + @Expose + public PlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat; + + /** + * The Progress Task Board Format. + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. + */ + @SerializedName("progressTaskBoardFormat") + @Expose + public PlannerProgressTaskBoardTaskFormat progressTaskBoardFormat; + + /** + * The Bucket Task Board Format. + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. + */ + @SerializedName("bucketTaskBoardFormat") + @Expose + public PlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java index c8829e36ad5..0507e5dbf06 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java @@ -3,26 +3,103 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.PlannerPreviewType; +import com.microsoft.graph.models.extensions.PlannerExternalReferences; +import com.microsoft.graph.models.extensions.PlannerChecklistItems; +import com.microsoft.graph.models.extensions.Entity; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.models.generated.BasePlannerTaskDetails; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Details. */ -public class PlannerTaskDetails extends BasePlannerTaskDetails { - - /** - * The Etag. +public class PlannerTaskDetails extends Entity implements IJsonBackedObject { + + + /** + * The Description. + * Description of the task */ - @SerializedName("@odata.etag") + @SerializedName("description") @Expose - public String etag; - - public PlannerTaskDetails() { - oDataType = "#microsoft.graph.plannerTaskDetails"; + public String description; + + /** + * The Preview Type. + * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task. + */ + @SerializedName("previewType") + @Expose + public PlannerPreviewType previewType; + + /** + * The References. + * The collection of references on the task. + */ + @SerializedName("references") + @Expose + public PlannerExternalReferences references; + + /** + * The Checklist. + * The collection of checklist items on the task. + */ + @SerializedName("checklist") + @Expose + public PlannerChecklistItems checklist; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java index df63607415b..3fc6b501d75 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java @@ -3,14 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; -import com.microsoft.graph.models.generated.BasePlannerUser; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner User. */ -public class PlannerUser extends BasePlannerUser { +public class PlannerUser extends Entity implements IJsonBackedObject { + + + /** + * The Tasks. + * Read-only. Nullable. Returns the plannerPlans shared with the user. + */ + public PlannerTaskCollectionPage tasks; + + /** + * The Plans. + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + */ + public PlannerPlanCollectionPage plans; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tasks = new PlannerTaskCollectionPage(response, null); + } + + if (json.has("plans")) { + final PlannerPlanCollectionResponse response = new PlannerPlanCollectionResponse(); + if (json.has("plans@odata.nextLink")) { + response.nextLink = json.get("plans@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); + final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + plans = new PlannerPlanCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerUserIds.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerUserIds.java index 9a6bae9b119..c7a518791c0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerUserIds.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerUserIds.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePlannerUserIds; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner User Ids. */ -public class PlannerUserIds extends BasePlannerUserIds { +public class PlannerUserIds implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Post.java b/src/main/java/com/microsoft/graph/models/extensions/Post.java index ad6df52a522..69e5a619778 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Post.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Post.java @@ -3,14 +3,243 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ItemBody; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; +import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.models.generated.BasePost; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post. */ -public class Post extends BasePost { +public class Post extends OutlookItem implements IJsonBackedObject { + + + /** + * The Body. + * The contents of the post. This is a default property. This property can be null. + */ + @SerializedName("body") + @Expose + public ItemBody body; + + /** + * The Received Date Time. + * Specifies when the post was received. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("receivedDateTime") + @Expose + public java.util.Calendar receivedDateTime; + + /** + * The Has Attachments. + * Indicates whether the post has at least one attachment. This is a default property. + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The From. + * Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. + */ + @SerializedName("from") + @Expose + public Recipient from; + + /** + * The Sender. + * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. + */ + @SerializedName("sender") + @Expose + public Recipient sender; + + /** + * The Conversation Thread Id. + * Unique ID of the conversation thread. Read-only. + */ + @SerializedName("conversationThreadId") + @Expose + public String conversationThreadId; + + /** + * The New Participants. + * Conversation participants that were added to the thread as part of this post. + */ + @SerializedName("newParticipants") + @Expose + public java.util.List newParticipants; + + /** + * The Conversation Id. + * Unique ID of the conversation. Read-only. + */ + @SerializedName("conversationId") + @Expose + public String conversationId; + + /** + * The Extensions. + * The collection of open extensions defined for the post. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + /** + * The In Reply To. + * Read-only. + */ + @SerializedName("inReplyTo") + @Expose + public Post inReplyTo; + + /** + * The Attachments. + * Read-only. Nullable. + */ + public AttachmentCollectionPage attachments; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the post. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the post. Read-only. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("attachments")) { + final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); + if (json.has("attachments@odata.nextLink")) { + response.nextLink = json.get("attachments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); + final Attachment[] array = new Attachment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + attachments = new AttachmentCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PostForwardBody.java b/src/main/java/com/microsoft/graph/models/extensions/PostForwardBody.java index 782b7a2bebf..385fa3899ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PostForwardBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PostForwardBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BasePostForwardBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Forward Body. */ -public class PostForwardBody extends BasePostForwardBody { +public class PostForwardBody { + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + /** + * The to Recipients. + * + */ + @SerializedName("toRecipients") + @Expose + public java.util.List toRecipients; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PostReplyBody.java b/src/main/java/com/microsoft/graph/models/extensions/PostReplyBody.java index ad293599655..1d7cd0e5ee5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PostReplyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PostReplyBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BasePostReplyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Reply Body. */ -public class PostReplyBody extends BasePostReplyBody { +public class PostReplyBody { + /** + * The post. + * + */ + @SerializedName("post") + @Expose + public Post post; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivacyProfile.java b/src/main/java/com/microsoft/graph/models/extensions/PrivacyProfile.java index cc4cece33bb..f866a484b17 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivacyProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivacyProfile.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePrivacyProfile; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Privacy Profile. */ -public class PrivacyProfile extends BasePrivacyProfile { +public class PrivacyProfile implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Contact Email. + * A valid smtp email address for the privacy statement contact. Not required. + */ + @SerializedName("contactEmail") + @Expose + public String contactEmail; + + /** + * The Statement Url. + * A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required. + */ + @SerializedName("statementUrl") + @Expose + public String statementUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Process.java b/src/main/java/com/microsoft/graph/models/extensions/Process.java index 8fab744eb82..c56c5adbde2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Process.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Process.java @@ -3,12 +3,175 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.FileHash; +import com.microsoft.graph.models.generated.ProcessIntegrityLevel; -import com.microsoft.graph.models.generated.BaseProcess; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Process. */ -public class Process extends BaseProcess { +public class Process implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Account Name. + * User account identifier (user account context the process ran under) for example, AccountName, SID, and so on. + */ + @SerializedName("accountName") + @Expose + public String accountName; + + /** + * The Command Line. + * The full process invocation commandline including all parameters. + */ + @SerializedName("commandLine") + @Expose + public String commandLine; + + /** + * The Created Date Time. + * Time at which the process was started. 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 would look like this: '2014-01-01T00:00:00Z'. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The File Hash. + * Complex type containing file hashes (cryptographic and location-sensitive). + */ + @SerializedName("fileHash") + @Expose + public FileHash fileHash; + + /** + * The Integrity Level. + * The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. + */ + @SerializedName("integrityLevel") + @Expose + public ProcessIntegrityLevel integrityLevel; + + /** + * The Is Elevated. + * True if the process is elevated. + */ + @SerializedName("isElevated") + @Expose + public Boolean isElevated; + + /** + * The Name. + * The name of the process' Image file. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Parent Process Created Date Time. + * DateTime at which the parent process was started. 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 would look like this: '2014-01-01T00:00:00Z'. + */ + @SerializedName("parentProcessCreatedDateTime") + @Expose + public java.util.Calendar parentProcessCreatedDateTime; + + /** + * The Parent Process Id. + * The Process ID (PID) of the parent process. + */ + @SerializedName("parentProcessId") + @Expose + public Integer parentProcessId; + + /** + * The Parent Process Name. + * The name of the image file of the parent process. + */ + @SerializedName("parentProcessName") + @Expose + public String parentProcessName; + + /** + * The Path. + * Full path, including filename. + */ + @SerializedName("path") + @Expose + public String path; + + /** + * The Process Id. + * The Process ID (PID) of the process. + */ + @SerializedName("processId") + @Expose + public Integer processId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ProfilePhoto.java b/src/main/java/com/microsoft/graph/models/extensions/ProfilePhoto.java index 79ecd53c443..178aebd43ae 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ProfilePhoto.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ProfilePhoto.java @@ -3,14 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseProfilePhoto; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo. */ -public class ProfilePhoto extends BaseProfilePhoto { +public class ProfilePhoto extends Entity implements IJsonBackedObject { + + + /** + * The Height. + * The height of the photo. Read-only. + */ + @SerializedName("height") + @Expose + public Integer height; + + /** + * The Width. + * The width of the photo. Read-only. + */ + @SerializedName("width") + @Expose + public Integer width; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ProvisionedPlan.java b/src/main/java/com/microsoft/graph/models/extensions/ProvisionedPlan.java index 041f054b49a..d0731ae8943 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ProvisionedPlan.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ProvisionedPlan.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseProvisionedPlan; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Provisioned Plan. */ -public class ProvisionedPlan extends BaseProvisionedPlan { +public class ProvisionedPlan implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Capability Status. + * For example, 'Enabled'. + */ + @SerializedName("capabilityStatus") + @Expose + public String capabilityStatus; + + /** + * The Provisioning Status. + * For example, 'Success'. + */ + @SerializedName("provisioningStatus") + @Expose + public String provisioningStatus; + + /** + * The Service. + * The name of the service; for example, 'AccessControlS2S' + */ + @SerializedName("service") + @Expose + public String service; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ProxiedDomain.java b/src/main/java/com/microsoft/graph/models/extensions/ProxiedDomain.java index 35b500dc46f..3253e8bc786 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ProxiedDomain.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ProxiedDomain.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseProxiedDomain; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Proxied Domain. */ -public class ProxiedDomain extends BaseProxiedDomain { +public class ProxiedDomain implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Ip Address Or FQDN. + * The IP address or FQDN + */ + @SerializedName("ipAddressOrFQDN") + @Expose + public String ipAddressOrFQDN; + + /** + * The Proxy. + * Proxy IP + */ + @SerializedName("proxy") + @Expose + public String proxy; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PublicationFacet.java b/src/main/java/com/microsoft/graph/models/extensions/PublicationFacet.java index 01d9c81327c..b68202be9a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PublicationFacet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PublicationFacet.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BasePublicationFacet; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Publication Facet. */ -public class PublicationFacet extends BasePublicationFacet { +public class PublicationFacet implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Level. + * The state of publication for this document. Either published or checkout. Read-only. + */ + @SerializedName("level") + @Expose + public String level; + + /** + * The Version Id. + * The unique identifier for the version that is visible to the current caller. Read-only. + */ + @SerializedName("versionId") + @Expose + public String versionId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Quota.java b/src/main/java/com/microsoft/graph/models/extensions/Quota.java index 86512b76b13..f64c558c184 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Quota.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Quota.java @@ -3,14 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseQuota; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Quota. */ -public class Quota extends BaseQuota { +public class Quota implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Deleted. + * Total space consumed by files in the recycle bin, in bytes. Read-only. + */ + @SerializedName("deleted") + @Expose + public Long deleted; + + /** + * The Remaining. + * Total space remaining before reaching the quota limit, in bytes. Read-only. + */ + @SerializedName("remaining") + @Expose + public Long remaining; + + /** + * The State. + * Enumeration value that indicates the state of the storage space. Read-only. + */ + @SerializedName("state") + @Expose + public String state; + + /** + * The Total. + * Total allowed storage space, in bytes. Read-only. + */ + @SerializedName("total") + @Expose + public Long total; + + /** + * The Used. + * Total space used, in bytes. Read-only. + */ + @SerializedName("used") + @Expose + public Long used; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RecentNotebook.java b/src/main/java/com/microsoft/graph/models/extensions/RecentNotebook.java index 2fdf83985b6..d741cf9fe70 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RecentNotebook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RecentNotebook.java @@ -3,14 +3,111 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RecentNotebookLinks; +import com.microsoft.graph.models.generated.OnenoteSourceService; -import com.microsoft.graph.models.generated.BaseRecentNotebook; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Recent Notebook. */ -public class RecentNotebook extends BaseRecentNotebook { +public class RecentNotebook implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * The name of the notebook. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Last Accessed Time. + * The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + */ + @SerializedName("lastAccessedTime") + @Expose + public java.util.Calendar lastAccessedTime; + + /** + * The Links. + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote Online. + */ + @SerializedName("links") + @Expose + public RecentNotebookLinks links; + + /** + * The Source Service. + * The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive. + */ + @SerializedName("sourceService") + @Expose + public OnenoteSourceService sourceService; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RecentNotebookLinks.java b/src/main/java/com/microsoft/graph/models/extensions/RecentNotebookLinks.java index 6247d1980c4..ecffaee1a81 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RecentNotebookLinks.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RecentNotebookLinks.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ExternalLink; -import com.microsoft.graph.models.generated.BaseRecentNotebookLinks; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Recent Notebook Links. */ -public class RecentNotebookLinks extends BaseRecentNotebookLinks { +public class RecentNotebookLinks implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The One Note Client Url. + * Opens the notebook in the OneNote native client if it's installed. + */ + @SerializedName("oneNoteClientUrl") + @Expose + public ExternalLink oneNoteClientUrl; + + /** + * The One Note Web Url. + * Opens the notebook in OneNote Online. + */ + @SerializedName("oneNoteWebUrl") + @Expose + public ExternalLink oneNoteWebUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Recipient.java b/src/main/java/com/microsoft/graph/models/extensions/Recipient.java index d8d7e652bdd..fe400e6ef97 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Recipient.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Recipient.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EmailAddress; -import com.microsoft.graph.models.generated.BaseRecipient; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Recipient. */ -public class Recipient extends BaseRecipient { +public class Recipient implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Email Address. + * The recipient's email address. + */ + @SerializedName("emailAddress") + @Expose + public EmailAddress emailAddress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RecurrencePattern.java b/src/main/java/com/microsoft/graph/models/extensions/RecurrencePattern.java index e2182e8fb90..0f52035c0e6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RecurrencePattern.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RecurrencePattern.java @@ -3,14 +3,136 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RecurrencePatternType; +import com.microsoft.graph.models.generated.DayOfWeek; +import com.microsoft.graph.models.generated.WeekIndex; -import com.microsoft.graph.models.generated.BaseRecurrencePattern; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Recurrence Pattern. */ -public class RecurrencePattern extends BaseRecurrencePattern { +public class RecurrencePattern implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. + */ + @SerializedName("type") + @Expose + public RecurrencePatternType type; + + /** + * The Interval. + * The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. + */ + @SerializedName("interval") + @Expose + public Integer interval; + + /** + * The Month. + * The month in which the event occurs. This is a number from 1 to 12. + */ + @SerializedName("month") + @Expose + public Integer month; + + /** + * The Day Of Month. + * The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly. + */ + @SerializedName("dayOfMonth") + @Expose + public Integer dayOfMonth; + + /** + * The Days Of Week. + * A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. + */ + @SerializedName("daysOfWeek") + @Expose + public java.util.List daysOfWeek; + + /** + * The First Day Of Week. + * The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. + */ + @SerializedName("firstDayOfWeek") + @Expose + public DayOfWeek firstDayOfWeek; + + /** + * The Index. + * Specifies on which instance of the allowed days specified in daysOfsWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. + */ + @SerializedName("index") + @Expose + public WeekIndex index; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RecurrenceRange.java b/src/main/java/com/microsoft/graph/models/extensions/RecurrenceRange.java index 4219b283588..df6e9fb748b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RecurrenceRange.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RecurrenceRange.java @@ -3,14 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RecurrenceRangeType; -import com.microsoft.graph.models.generated.BaseRecurrenceRange; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Recurrence Range. */ -public class RecurrenceRange extends BaseRecurrenceRange { +public class RecurrenceRange implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * The recurrence range. The possible values are: endDate, noEnd, numbered. Required. + */ + @SerializedName("type") + @Expose + public RecurrenceRangeType type; + + /** + * The Start Date. + * The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required. + */ + @SerializedName("startDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly startDate; + + /** + * The End Date. + * The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate. + */ + @SerializedName("endDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly endDate; + + /** + * The Recurrence Time Zone. + * Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used. + */ + @SerializedName("recurrenceTimeZone") + @Expose + public String recurrenceTimeZone; + + /** + * The Number Of Occurrences. + * The number of times to repeat the event. Required and must be positive if type is numbered. + */ + @SerializedName("numberOfOccurrences") + @Expose + public Integer numberOfOccurrences; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ReferenceAttachment.java b/src/main/java/com/microsoft/graph/models/extensions/ReferenceAttachment.java index 3efef06fbcc..02aa6573d06 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ReferenceAttachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ReferenceAttachment.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.generated.BaseReferenceAttachment; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Reference Attachment. */ -public class ReferenceAttachment extends BaseReferenceAttachment { +public class ReferenceAttachment extends Attachment implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RegistryKeyState.java b/src/main/java/com/microsoft/graph/models/extensions/RegistryKeyState.java index 35fd29902db..da166c3e5ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RegistryKeyState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RegistryKeyState.java @@ -3,12 +3,160 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RegistryHive; +import com.microsoft.graph.models.generated.RegistryOperation; +import com.microsoft.graph.models.generated.RegistryValueType; -import com.microsoft.graph.models.generated.BaseRegistryKeyState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Registry Key State. */ -public class RegistryKeyState extends BaseRegistryKeyState { +public class RegistryKeyState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Hive. + * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSamSoftware, localMachineSystem, usersDefault. + */ + @SerializedName("hive") + @Expose + public RegistryHive hive; + + /** + * The Key. + * Current (i.e. changed) registry key (excludes HIVE). + */ + @SerializedName("key") + @Expose + public String key; + + /** + * The Old Key. + * Previous (i.e. before changed) registry key (excludes HIVE). + */ + @SerializedName("oldKey") + @Expose + public String oldKey; + + /** + * The Old Value Data. + * Previous (i.e. before changed) registry key value data (contents). + */ + @SerializedName("oldValueData") + @Expose + public String oldValueData; + + /** + * The Old Value Name. + * Previous (i.e. before changed) registry key value name. + */ + @SerializedName("oldValueName") + @Expose + public String oldValueName; + + /** + * The Operation. + * Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. + */ + @SerializedName("operation") + @Expose + public RegistryOperation operation; + + /** + * The Process Id. + * Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection). + */ + @SerializedName("processId") + @Expose + public Integer processId; + + /** + * The Value Data. + * Current (i.e. changed) registry key value data (contents). + */ + @SerializedName("valueData") + @Expose + public String valueData; + + /** + * The Value Name. + * Current (i.e. changed) registry key value name + */ + @SerializedName("valueName") + @Expose + public String valueName; + + /** + * The Value Type. + * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + */ + @SerializedName("valueType") + @Expose + public RegistryValueType valueType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Reminder.java b/src/main/java/com/microsoft/graph/models/extensions/Reminder.java index 55cff66e77d..a9cc9c083f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Reminder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Reminder.java @@ -3,14 +3,143 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.generated.BaseReminder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Reminder. */ -public class Reminder extends BaseReminder { +public class Reminder implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Event Id. + * The unique ID of the event. Read only. + */ + @SerializedName("eventId") + @Expose + public String eventId; + + /** + * The Event Start Time. + * The date, time, and time zone that the event starts. + */ + @SerializedName("eventStartTime") + @Expose + public DateTimeTimeZone eventStartTime; + + /** + * The Event End Time. + * The date, time and time zone that the event ends. + */ + @SerializedName("eventEndTime") + @Expose + public DateTimeTimeZone eventEndTime; + + /** + * The Change Key. + * Identifies the version of the reminder. Every time the reminder is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. + */ + @SerializedName("changeKey") + @Expose + public String changeKey; + + /** + * The Event Subject. + * The text of the event's subject line. + */ + @SerializedName("eventSubject") + @Expose + public String eventSubject; + + /** + * The Event Location. + * The location of the event. + */ + @SerializedName("eventLocation") + @Expose + public Location eventLocation; + + /** + * The Event Web Link. + * The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. + */ + @SerializedName("eventWebLink") + @Expose + public String eventWebLink; + + /** + * The Reminder Fire Time. + * The date, time, and time zone that the reminder is set to occur. + */ + @SerializedName("reminderFireTime") + @Expose + public DateTimeTimeZone reminderFireTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RemoteAssistancePartner.java b/src/main/java/com/microsoft/graph/models/extensions/RemoteAssistancePartner.java index 4b90d57cdfc..53752a9c972 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RemoteAssistancePartner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RemoteAssistancePartner.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RemoteAssistanceOnboardingStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseRemoteAssistancePartner; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner. */ -public class RemoteAssistancePartner extends BaseRemoteAssistancePartner { +public class RemoteAssistancePartner extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Display name of the partner. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Onboarding Url. + * URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service. + */ + @SerializedName("onboardingUrl") + @Expose + public String onboardingUrl; + + /** + * The Onboarding Status. + * TBD. Possible values are: notOnboarded, onboarding, onboarded. + */ + @SerializedName("onboardingStatus") + @Expose + public RemoteAssistanceOnboardingStatus onboardingStatus; + + /** + * The Last Connection Date Time. + * Timestamp of the last request sent to Intune by the TEM partner. + */ + @SerializedName("lastConnectionDateTime") + @Expose + public java.util.Calendar lastConnectionDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RemoteItem.java b/src/main/java/com/microsoft/graph/models/extensions/RemoteItem.java index 1b6a2f66021..87977b35453 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RemoteItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RemoteItem.java @@ -3,14 +3,221 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.File; +import com.microsoft.graph.models.extensions.FileSystemInfo; +import com.microsoft.graph.models.extensions.Folder; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.models.extensions.Shared; +import com.microsoft.graph.models.extensions.SharepointIds; +import com.microsoft.graph.models.extensions.SpecialFolder; -import com.microsoft.graph.models.generated.BaseRemoteItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Item. */ -public class RemoteItem extends BaseRemoteItem { +public class RemoteItem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Created By. + * Identity of the user, device, and application which created the item. Read-only. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + + /** + * The Created Date Time. + * Date and time of item creation. Read-only. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The File. + * Indicates that the remote item is a file. Read-only. + */ + @SerializedName("file") + @Expose + public File file; + + /** + * The File System Info. + * Information about the remote item from the local file system. Read-only. + */ + @SerializedName("fileSystemInfo") + @Expose + public FileSystemInfo fileSystemInfo; + + /** + * The Folder. + * Indicates that the remote item is a folder. Read-only. + */ + @SerializedName("folder") + @Expose + public Folder folder; + + /** + * The Id. + * Unique identifier for the remote item in its drive. Read-only. + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Last Modified By. + * Identity of the user, device, and application which last modified the item. Read-only. + */ + @SerializedName("lastModifiedBy") + @Expose + public IdentitySet lastModifiedBy; + + /** + * The Last Modified Date Time. + * Date and time the item was last modified. Read-only. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Name. + * Optional. Filename of the remote item. Read-only. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Package. + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + */ + @SerializedName("package") + @Expose + public com.microsoft.graph.models.extensions.Package msgraphpackage; + + /** + * The Parent Reference. + * Properties of the parent of the remote item. Read-only. + */ + @SerializedName("parentReference") + @Expose + public ItemReference parentReference; + + /** + * The Shared. + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + */ + @SerializedName("shared") + @Expose + public Shared shared; + + /** + * The Sharepoint Ids. + * Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only. + */ + @SerializedName("sharepointIds") + @Expose + public SharepointIds sharepointIds; + + /** + * The Size. + * Size of the remote item. Read-only. + */ + @SerializedName("size") + @Expose + public Long size; + + /** + * The Special Folder. + * If the current item is also available as a special folder, this facet is returned. Read-only. + */ + @SerializedName("specialFolder") + @Expose + public SpecialFolder specialFolder; + + /** + * The Web Dav Url. + * DAV compatible URL for the item. + */ + @SerializedName("webDavUrl") + @Expose + public String webDavUrl; + + /** + * The Web Url. + * URL that displays the resource in the browser. Read-only. + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RemoteLockActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/RemoteLockActionResult.java index 4a49f143ed4..f81bbe7bba9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RemoteLockActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RemoteLockActionResult.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.BaseRemoteLockActionResult; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Lock Action Result. */ -public class RemoteLockActionResult extends BaseRemoteLockActionResult { +public class RemoteLockActionResult extends DeviceActionResult implements IJsonBackedObject { + + + /** + * The Unlock Pin. + * Pin to unlock the client + */ + @SerializedName("unlockPin") + @Expose + public String unlockPin; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Report.java b/src/main/java/com/microsoft/graph/models/extensions/Report.java index b82599513df..3352092b0d4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Report.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Report.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseReport; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report. */ -public class Report extends BaseReport { +public class Report implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ReportRoot.java b/src/main/java/com/microsoft/graph/models/extensions/ReportRoot.java index d06ee3bd924..13288aa2adc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ReportRoot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ReportRoot.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseReportRoot; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root. */ -public class ReportRoot extends BaseReportRoot { +public class ReportRoot extends Entity implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ResetPasscodeActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/ResetPasscodeActionResult.java index 11a9bb843f7..0f903109ffa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ResetPasscodeActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ResetPasscodeActionResult.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.BaseResetPasscodeActionResult; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Reset Passcode Action Result. */ -public class ResetPasscodeActionResult extends BaseResetPasscodeActionResult { +public class ResetPasscodeActionResult extends DeviceActionResult implements IJsonBackedObject { + + + /** + * The Passcode. + * Newly generated passcode for the device + */ + @SerializedName("passcode") + @Expose + public String passcode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ResourceAction.java b/src/main/java/com/microsoft/graph/models/extensions/ResourceAction.java index f2e1ae6f1ea..97a84177412 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ResourceAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ResourceAction.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseResourceAction; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Action. */ -public class ResourceAction extends BaseResourceAction { +public class ResourceAction implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allowed Resource Actions. + * Allowed Actions + */ + @SerializedName("allowedResourceActions") + @Expose + public java.util.List allowedResourceActions; + + /** + * The Not Allowed Resource Actions. + * Not Allowed Actions + */ + @SerializedName("notAllowedResourceActions") + @Expose + public java.util.List notAllowedResourceActions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ResourceOperation.java b/src/main/java/com/microsoft/graph/models/extensions/ResourceOperation.java index 92c7f43087e..190ac2a2e91 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ResourceOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ResourceOperation.java @@ -3,12 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseResourceOperation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Operation. */ -public class ResourceOperation extends BaseResourceOperation { +public class ResourceOperation extends Entity implements IJsonBackedObject { + + + /** + * The Resource Name. + * Name of the Resource this operation is performed on. + */ + @SerializedName("resourceName") + @Expose + public String resourceName; + + /** + * The Action Name. + * Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible. + */ + @SerializedName("actionName") + @Expose + public String actionName; + + /** + * The Description. + * Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal. + */ + @SerializedName("description") + @Expose + public String description; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ResourceReference.java b/src/main/java/com/microsoft/graph/models/extensions/ResourceReference.java index f58159011c5..93b0fb3a8f5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ResourceReference.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ResourceReference.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseResourceReference; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Reference. */ -public class ResourceReference extends BaseResourceReference { +public class ResourceReference implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Web Url. + * + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + /** + * The Id. + * + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Type. + * + */ + @SerializedName("type") + @Expose + public String type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ResourceVisualization.java b/src/main/java/com/microsoft/graph/models/extensions/ResourceVisualization.java index ed9b44caf7e..b8add53558a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ResourceVisualization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ResourceVisualization.java @@ -3,12 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseResourceVisualization; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Visualization. */ -public class ResourceVisualization extends BaseResourceVisualization { +public class ResourceVisualization implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Title. + * + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Type. + * + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Media Type. + * + */ + @SerializedName("mediaType") + @Expose + public String mediaType; + + /** + * The Preview Image Url. + * + */ + @SerializedName("previewImageUrl") + @Expose + public String previewImageUrl; + + /** + * The Preview Text. + * + */ + @SerializedName("previewText") + @Expose + public String previewText; + + /** + * The Container Web Url. + * + */ + @SerializedName("containerWebUrl") + @Expose + public String containerWebUrl; + + /** + * The Container Display Name. + * + */ + @SerializedName("containerDisplayName") + @Expose + public String containerDisplayName; + + /** + * The Container Type. + * + */ + @SerializedName("containerType") + @Expose + public String containerType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ResponseStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ResponseStatus.java index f033894bdb8..08a6467e00a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ResponseStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ResponseStatus.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ResponseType; -import com.microsoft.graph.models.generated.BaseResponseStatus; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Response Status. */ -public class ResponseStatus extends BaseResponseStatus { +public class ResponseStatus implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Response. + * The response type. The possible values are: None, Organizer, TentativelyAccepted, Accepted, Declined, NotResponded. + */ + @SerializedName("response") + @Expose + public ResponseType response; + + /** + * The Time. + * The date and time that the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("time") + @Expose + public java.util.Calendar time; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RgbColor.java b/src/main/java/com/microsoft/graph/models/extensions/RgbColor.java index f475d08831c..dcf3dec286a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RgbColor.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RgbColor.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseRgbColor; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Rgb Color. */ -public class RgbColor extends BaseRgbColor { +public class RgbColor implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The R. + * Red value + */ + @SerializedName("r") + @Expose + public Byte r; + + /** + * The G. + * Green value + */ + @SerializedName("g") + @Expose + public Byte g; + + /** + * The B. + * Blue value + */ + @SerializedName("b") + @Expose + public Byte b; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RoleAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/RoleAssignment.java index ccfd80cc103..0569a7ce3b9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RoleAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RoleAssignment.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RoleDefinition; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseRoleAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Assignment. */ -public class RoleAssignment extends BaseRoleAssignment { +public class RoleAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The display or friendly name of the role Assignment. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Description of the Role Assignment. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Resource Scopes. + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + */ + @SerializedName("resourceScopes") + @Expose + public java.util.List resourceScopes; + + /** + * The Role Definition. + * Role definition this assignment is part of. + */ + @SerializedName("roleDefinition") + @Expose + public RoleDefinition roleDefinition; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RoleDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/RoleDefinition.java index 085306c3a00..7f0ec36db58 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RoleDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RoleDefinition.java @@ -3,12 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RolePermission; +import com.microsoft.graph.models.extensions.RoleAssignment; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.RoleAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.RoleAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseRoleDefinition; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition. */ -public class RoleDefinition extends BaseRoleDefinition { +public class RoleDefinition extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Display Name of the Role definition. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Description of the Role definition. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Role Permissions. + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + */ + @SerializedName("rolePermissions") + @Expose + public java.util.List rolePermissions; + + /** + * The Is Built In. + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + */ + @SerializedName("isBuiltIn") + @Expose + public Boolean isBuiltIn; + + /** + * The Role Assignments. + * List of Role assignments for this role definition. + */ + public RoleAssignmentCollectionPage roleAssignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("roleAssignments")) { + final RoleAssignmentCollectionResponse response = new RoleAssignmentCollectionResponse(); + if (json.has("roleAssignments@odata.nextLink")) { + response.nextLink = json.get("roleAssignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignments").toString(), JsonObject[].class); + final RoleAssignment[] array = new RoleAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + roleAssignments = new RoleAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/RolePermission.java b/src/main/java/com/microsoft/graph/models/extensions/RolePermission.java index fb6504778b5..e4b4a46ae94 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/RolePermission.java +++ b/src/main/java/com/microsoft/graph/models/extensions/RolePermission.java @@ -3,12 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ResourceAction; -import com.microsoft.graph.models.generated.BaseRolePermission; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Permission. */ -public class RolePermission extends BaseRolePermission { +public class RolePermission implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Resource Actions. + * Actions + */ + @SerializedName("resourceActions") + @Expose + public java.util.List resourceActions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Root.java b/src/main/java/com/microsoft/graph/models/extensions/Root.java index fcc18c00a12..ae381efd4c3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Root.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Root.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseRoot; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Root. */ -public class Root extends BaseRoot { +public class Root implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SchemaExtension.java b/src/main/java/com/microsoft/graph/models/extensions/SchemaExtension.java index e97093c425c..51476ced2ea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SchemaExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SchemaExtension.java @@ -3,14 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ExtensionSchemaProperty; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSchemaExtension; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Schema Extension. */ -public class SchemaExtension extends BaseSchemaExtension { +public class SchemaExtension extends Entity implements IJsonBackedObject { + + + /** + * The Description. + * Description for the schema extension. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Target Types. + * Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from contact, device, event, group, message, organization, post, or user. + */ + @SerializedName("targetTypes") + @Expose + public java.util.List targetTypes; + + /** + * The Properties. + * The collection of property names and types that make up the schema extension definition. + */ + @SerializedName("properties") + @Expose + public java.util.List properties; + + /** + * The Status. + * The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. + */ + @SerializedName("status") + @Expose + public String status; + + /** + * The Owner. + * The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. Once set, this property is read-only and cannot be changed. + */ + @SerializedName("owner") + @Expose + public String owner; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ScoredEmailAddress.java b/src/main/java/com/microsoft/graph/models/extensions/ScoredEmailAddress.java index 87b1dc8629e..111a10a794e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ScoredEmailAddress.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ScoredEmailAddress.java @@ -3,14 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.SelectionLikelihoodInfo; -import com.microsoft.graph.models.generated.BaseScoredEmailAddress; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Scored Email Address. */ -public class ScoredEmailAddress extends BaseScoredEmailAddress { +public class ScoredEmailAddress implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Address. + * The email address. + */ + @SerializedName("address") + @Expose + public String address; + + /** + * The Relevance Score. + * The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships. + */ + @SerializedName("relevanceScore") + @Expose + public Double relevanceScore; + + /** + * The Selection Likelihood. + * + */ + @SerializedName("selectionLikelihood") + @Expose + public SelectionLikelihoodInfo selectionLikelihood; + + /** + * The Item Id. + * + */ + @SerializedName("ItemId") + @Expose + public String string; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SearchResult.java b/src/main/java/com/microsoft/graph/models/extensions/SearchResult.java index e2d2ecfe8df..2857af37ed8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SearchResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SearchResult.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSearchResult; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Search Result. */ -public class SearchResult extends BaseSearchResult { +public class SearchResult implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The On Click Telemetry Url. + * A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results. + */ + @SerializedName("onClickTelemetryUrl") + @Expose + public String onClickTelemetryUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SectionGroup.java b/src/main/java/com/microsoft/graph/models/extensions/SectionGroup.java index 2ee2a552864..eb3ac0c72ca 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SectionGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SectionGroup.java @@ -3,14 +3,151 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; -import com.microsoft.graph.models.generated.BaseSectionGroup; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Group. */ -public class SectionGroup extends BaseSectionGroup { +public class SectionGroup extends OnenoteEntityHierarchyModel implements IJsonBackedObject { + + + /** + * The Sections Url. + * The URL for the sections navigation property, which returns all the sections in the section group. Read-only. + */ + @SerializedName("sectionsUrl") + @Expose + public String sectionsUrl; + + /** + * The Section Groups Url. + * The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only. + */ + @SerializedName("sectionGroupsUrl") + @Expose + public String sectionGroupsUrl; + + /** + * The Parent Notebook. + * The notebook that contains the section group. Read-only. + */ + @SerializedName("parentNotebook") + @Expose + public Notebook parentNotebook; + + /** + * The Parent Section Group. + * The section group that contains the section group. Read-only. + */ + @SerializedName("parentSectionGroup") + @Expose + public SectionGroup parentSectionGroup; + + /** + * The Sections. + * The sections in the section group. Read-only. Nullable. + */ + public OnenoteSectionCollectionPage sections; + + /** + * The Section Groups. + * The section groups in the section. Read-only. Nullable. + */ + public SectionGroupCollectionPage sectionGroups; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("sections")) { + final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); + if (json.has("sections@odata.nextLink")) { + response.nextLink = json.get("sections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); + final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sections = new OnenoteSectionCollectionPage(response, null); + } + + if (json.has("sectionGroups")) { + final SectionGroupCollectionResponse response = new SectionGroupCollectionResponse(); + if (json.has("sectionGroups@odata.nextLink")) { + response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); + final SectionGroup[] array = new SectionGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sectionGroups = new SectionGroupCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SectionLinks.java b/src/main/java/com/microsoft/graph/models/extensions/SectionLinks.java index d7cf6c683b4..dc9e330d414 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SectionLinks.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SectionLinks.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ExternalLink; -import com.microsoft.graph.models.generated.BaseSectionLinks; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Links. */ -public class SectionLinks extends BaseSectionLinks { +public class SectionLinks implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The One Note Client Url. + * Opens the section in the OneNote native client if it's installed. + */ + @SerializedName("oneNoteClientUrl") + @Expose + public ExternalLink oneNoteClientUrl; + + /** + * The One Note Web Url. + * Opens the section in OneNote Online. + */ + @SerializedName("oneNoteWebUrl") + @Expose + public ExternalLink oneNoteWebUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Security.java b/src/main/java/com/microsoft/graph/models/extensions/Security.java index f0c71f3f33c..136b41a277c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Security.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Security.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Alert; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.AlertCollectionResponse; +import com.microsoft.graph.requests.extensions.AlertCollectionPage; -import com.microsoft.graph.models.generated.BaseSecurity; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Security. */ -public class Security extends BaseSecurity { +public class Security extends Entity implements IJsonBackedObject { + + + /** + * The Alerts. + * Read-only. Nullable. + */ + public AlertCollectionPage alerts; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("alerts")) { + final AlertCollectionResponse response = new AlertCollectionResponse(); + if (json.has("alerts@odata.nextLink")) { + response.nextLink = json.get("alerts@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("alerts").toString(), JsonObject[].class); + final Alert[] array = new Alert[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Alert.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + alerts = new AlertCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SecurityVendorInformation.java b/src/main/java/com/microsoft/graph/models/extensions/SecurityVendorInformation.java index f291e3159a5..9d470b4303e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SecurityVendorInformation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SecurityVendorInformation.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSecurityVendorInformation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Security Vendor Information. */ -public class SecurityVendorInformation extends BaseSecurityVendorInformation { +public class SecurityVendorInformation implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Provider. + * Specific provider (product/service - not vendor company); for example, WindowsDefenderATP. + */ + @SerializedName("provider") + @Expose + public String provider; + + /** + * The Provider Version. + * Version of the provider or subprovider, if it exists, that generated the alert. Required + */ + @SerializedName("providerVersion") + @Expose + public String providerVersion; + + /** + * The Sub Provider. + * Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen. + */ + @SerializedName("subProvider") + @Expose + public String subProvider; + + /** + * The Vendor. + * Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required + */ + @SerializedName("vendor") + @Expose + public String vendor; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ServicePlanInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ServicePlanInfo.java index fe027e04670..84b26d91c38 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ServicePlanInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ServicePlanInfo.java @@ -3,14 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseServicePlanInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Service Plan Info. */ -public class ServicePlanInfo extends BaseServicePlanInfo { +public class ServicePlanInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Service Plan Id. + * The unique identifier of the service plan. + */ + @SerializedName("servicePlanId") + @Expose + public java.util.UUID servicePlanId; + + /** + * The Service Plan Name. + * The name of the service plan. + */ + @SerializedName("servicePlanName") + @Expose + public String servicePlanName; + + /** + * The Provisioning Status. + * The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. + */ + @SerializedName("provisioningStatus") + @Expose + public String provisioningStatus; + + /** + * The Applies To. + * The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant. + */ + @SerializedName("appliesTo") + @Expose + public String appliesTo; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SettingSource.java b/src/main/java/com/microsoft/graph/models/extensions/SettingSource.java index 0b6a8bc2220..f2b81140713 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SettingSource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SettingSource.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSettingSource; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting Source. */ -public class SettingSource extends BaseSettingSource { +public class SettingSource implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Id. + * Not yet documented + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Display Name. + * Not yet documented + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SettingStateDeviceSummary.java b/src/main/java/com/microsoft/graph/models/extensions/SettingStateDeviceSummary.java index a5da3799d5b..fdcc59e6183 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SettingStateDeviceSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SettingStateDeviceSummary.java @@ -3,12 +3,140 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSettingStateDeviceSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting State Device Summary. */ -public class SettingStateDeviceSummary extends BaseSettingStateDeviceSummary { +public class SettingStateDeviceSummary extends Entity implements IJsonBackedObject { + + + /** + * The Setting Name. + * Name of the setting + */ + @SerializedName("settingName") + @Expose + public String settingName; + + /** + * The Instance Path. + * Name of the InstancePath for the setting + */ + @SerializedName("instancePath") + @Expose + public String instancePath; + + /** + * The Unknown Device Count. + * Device Unkown count for the setting + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + + /** + * The Not Applicable Device Count. + * Device Not Applicable count for the setting + */ + @SerializedName("notApplicableDeviceCount") + @Expose + public Integer notApplicableDeviceCount; + + /** + * The Compliant Device Count. + * Device Compliant count for the setting + */ + @SerializedName("compliantDeviceCount") + @Expose + public Integer compliantDeviceCount; + + /** + * The Remediated Device Count. + * Device Compliant count for the setting + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + + /** + * The Non Compliant Device Count. + * Device NonCompliant count for the setting + */ + @SerializedName("nonCompliantDeviceCount") + @Expose + public Integer nonCompliantDeviceCount; + + /** + * The Error Device Count. + * Device error count for the setting + */ + @SerializedName("errorDeviceCount") + @Expose + public Integer errorDeviceCount; + + /** + * The Conflict Device Count. + * Device conflict error count for the setting + */ + @SerializedName("conflictDeviceCount") + @Expose + public Integer conflictDeviceCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SettingTemplateValue.java b/src/main/java/com/microsoft/graph/models/extensions/SettingTemplateValue.java index 7d8b3cfa56d..ace91a617d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SettingTemplateValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SettingTemplateValue.java @@ -3,14 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSettingTemplateValue; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting Template Value. */ -public class SettingTemplateValue extends BaseSettingTemplateValue { +public class SettingTemplateValue implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * Name of the setting. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Type. + * Type of the setting. + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Default Value. + * Default value for the setting. + */ + @SerializedName("defaultValue") + @Expose + public String defaultValue; + + /** + * The Description. + * Description of the setting. + */ + @SerializedName("description") + @Expose + public String description; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SettingValue.java b/src/main/java/com/microsoft/graph/models/extensions/SettingValue.java index 3b701f03dcb..45fd7588508 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SettingValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SettingValue.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSettingValue; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting Value. */ -public class SettingValue extends BaseSettingValue { +public class SettingValue implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * Name of the setting (as defined by the groupSettingTemplate). + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Value. + * Value of the setting. + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Shared.java b/src/main/java/com/microsoft/graph/models/extensions/Shared.java index ddb216703dc..13028d446b1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Shared.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Shared.java @@ -3,14 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.BaseShared; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared. */ -public class Shared extends BaseShared { +public class Shared implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Owner. + * The identity of the owner of the shared item. Read-only. + */ + @SerializedName("owner") + @Expose + public IdentitySet owner; + + /** + * The Scope. + * Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + */ + @SerializedName("scope") + @Expose + public String scope; + + /** + * The Shared By. + * The identity of the user who shared the item. Read-only. + */ + @SerializedName("sharedBy") + @Expose + public IdentitySet sharedBy; + + /** + * The Shared Date Time. + * The UTC date and time when the item was shared. Read-only. + */ + @SerializedName("sharedDateTime") + @Expose + public java.util.Calendar sharedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharedDriveItem.java b/src/main/java/com/microsoft/graph/models/extensions/SharedDriveItem.java index 671ff3c127f..e7690cb2825 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharedDriveItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharedDriveItem.java @@ -3,14 +3,145 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.models.extensions.List; +import com.microsoft.graph.models.extensions.ListItem; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.requests.extensions.DriveItemCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveItemCollectionPage; -import com.microsoft.graph.models.generated.BaseSharedDriveItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Drive Item. */ -public class SharedDriveItem extends BaseSharedDriveItem { +public class SharedDriveItem extends BaseItem implements IJsonBackedObject { + + + /** + * The Owner. + * Information about the owner of the shared item being referenced. + */ + @SerializedName("owner") + @Expose + public IdentitySet owner; + + /** + * The Drive Item. + * Used to access the underlying driveItem + */ + @SerializedName("driveItem") + @Expose + public DriveItem driveItem; + + /** + * The Items. + * All driveItems contained in the sharing root. This collection cannot be enumerated. + */ + public DriveItemCollectionPage items; + + /** + * The List. + * Used to access the underlying list + */ + @SerializedName("list") + @Expose + public List list; + + /** + * The List Item. + * Used to access the underlying listItem + */ + @SerializedName("listItem") + @Expose + public ListItem listItem; + + /** + * The Root. + * Used to access the underlying driveItem. Deprecated -- use driveItem instead. + */ + @SerializedName("root") + @Expose + public DriveItem root; + + /** + * The Site. + * Used to access the underlying site + */ + @SerializedName("site") + @Expose + public Site site; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("items")) { + final DriveItemCollectionResponse response = new DriveItemCollectionResponse(); + if (json.has("items@odata.nextLink")) { + response.nextLink = json.get("items@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); + final DriveItem[] array = new DriveItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + items = new DriveItemCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharedInsight.java b/src/main/java/com/microsoft/graph/models/extensions/SharedInsight.java index 88fcb675caf..0b5ae26589c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharedInsight.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharedInsight.java @@ -3,12 +3,119 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.SharingDetail; +import com.microsoft.graph.models.extensions.ResourceVisualization; +import com.microsoft.graph.models.extensions.ResourceReference; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSharedInsight; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Insight. */ -public class SharedInsight extends BaseSharedInsight { +public class SharedInsight extends Entity implements IJsonBackedObject { + + + /** + * The Last Shared. + * + */ + @SerializedName("lastShared") + @Expose + public SharingDetail lastShared; + + /** + * The Sharing History. + * + */ + @SerializedName("sharingHistory") + @Expose + public java.util.List sharingHistory; + + /** + * The Resource Visualization. + * + */ + @SerializedName("resourceVisualization") + @Expose + public ResourceVisualization resourceVisualization; + + /** + * The Resource Reference. + * + */ + @SerializedName("resourceReference") + @Expose + public ResourceReference resourceReference; + + /** + * The Last Shared Method. + * + */ + @SerializedName("lastSharedMethod") + @Expose + public Entity lastSharedMethod; + + /** + * The Resource. + * + */ + @SerializedName("resource") + @Expose + public Entity resource; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharedPCAccountManagerPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/SharedPCAccountManagerPolicy.java index fa44373031a..7d9cfc01fbe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharedPCAccountManagerPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharedPCAccountManagerPolicy.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.SharedPCAccountDeletionPolicyType; -import com.microsoft.graph.models.generated.BaseSharedPCAccountManagerPolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared PCAccount Manager Policy. */ -public class SharedPCAccountManagerPolicy extends BaseSharedPCAccountManagerPolicy { +public class SharedPCAccountManagerPolicy implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Account Deletion Policy. + * Configures when accounts are deleted. Possible values are: immediate, diskSpaceThreshold, diskSpaceThresholdOrInactiveThreshold. + */ + @SerializedName("accountDeletionPolicy") + @Expose + public SharedPCAccountDeletionPolicyType accountDeletionPolicy; + + /** + * The Cache Accounts Above Disk Free Percentage. + * Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + */ + @SerializedName("cacheAccountsAboveDiskFreePercentage") + @Expose + public Integer cacheAccountsAboveDiskFreePercentage; + + /** + * The Inactive Threshold Days. + * Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. + */ + @SerializedName("inactiveThresholdDays") + @Expose + public Integer inactiveThresholdDays; + + /** + * The Remove Accounts Below Disk Free Percentage. + * Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + */ + @SerializedName("removeAccountsBelowDiskFreePercentage") + @Expose + public Integer removeAccountsBelowDiskFreePercentage; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharedPCConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/SharedPCConfiguration.java index 3ea5b699f51..e23fd129b69 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharedPCConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharedPCConfiguration.java @@ -3,12 +3,166 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.SharedPCAccountManagerPolicy; +import com.microsoft.graph.models.generated.SharedPCAllowedAccountType; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseSharedPCConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared PCConfiguration. */ -public class SharedPCConfiguration extends BaseSharedPCConfiguration { +public class SharedPCConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Account Manager Policy. + * Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. + */ + @SerializedName("accountManagerPolicy") + @Expose + public SharedPCAccountManagerPolicy accountManagerPolicy; + + /** + * The Allowed Accounts. + * Indicates which type of accounts are allowed to use on a shared PC. Possible values are: guest, domain. + */ + @SerializedName("allowedAccounts") + @Expose + public EnumSet allowedAccounts; + + /** + * The Allow Local Storage. + * Specifies whether local storage is allowed on a shared PC. + */ + @SerializedName("allowLocalStorage") + @Expose + public Boolean allowLocalStorage; + + /** + * The Disable Account Manager. + * Disables the account manager for shared PC mode. + */ + @SerializedName("disableAccountManager") + @Expose + public Boolean disableAccountManager; + + /** + * The Disable Edu Policies. + * Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. + */ + @SerializedName("disableEduPolicies") + @Expose + public Boolean disableEduPolicies; + + /** + * The Disable Power Policies. + * Specifies whether the default shared PC power policies should be disabled. + */ + @SerializedName("disablePowerPolicies") + @Expose + public Boolean disablePowerPolicies; + + /** + * The Disable Sign In On Resume. + * Disables the requirement to sign in whenever the device wakes up from sleep mode. + */ + @SerializedName("disableSignInOnResume") + @Expose + public Boolean disableSignInOnResume; + + /** + * The Enabled. + * Enables shared PC mode and applies the shared pc policies. + */ + @SerializedName("enabled") + @Expose + public Boolean enabled; + + /** + * The Idle Time Before Sleep In Seconds. + * Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. + */ + @SerializedName("idleTimeBeforeSleepInSeconds") + @Expose + public Integer idleTimeBeforeSleepInSeconds; + + /** + * The Kiosk App Display Name. + * Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. + */ + @SerializedName("kioskAppDisplayName") + @Expose + public String kioskAppDisplayName; + + /** + * The Kiosk App User Model Id. + * Specifies the application user model ID of the app to use with assigned access. + */ + @SerializedName("kioskAppUserModelId") + @Expose + public String kioskAppUserModelId; + + /** + * The Maintenance Start Time. + * Specifies the daily start time of maintenance hour. + */ + @SerializedName("maintenanceStartTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay maintenanceStartTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharepointIds.java b/src/main/java/com/microsoft/graph/models/extensions/SharepointIds.java index 8b2fa773aaf..ee56572a2cf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharepointIds.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharepointIds.java @@ -3,14 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSharepointIds; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Sharepoint Ids. */ -public class SharepointIds extends BaseSharepointIds { +public class SharepointIds implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The List Id. + * The unique identifier (guid) for the item's list in SharePoint. + */ + @SerializedName("listId") + @Expose + public String listId; + + /** + * The List Item Id. + * An integer identifier for the item within the containing list. + */ + @SerializedName("listItemId") + @Expose + public String listItemId; + + /** + * The List Item Unique Id. + * The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. + */ + @SerializedName("listItemUniqueId") + @Expose + public String listItemUniqueId; + + /** + * The Site Id. + * The unique identifier (guid) for the item's site collection (SPSite). + */ + @SerializedName("siteId") + @Expose + public String siteId; + + /** + * The Site Url. + * The SharePoint URL for the site that contains the item. + */ + @SerializedName("siteUrl") + @Expose + public String siteUrl; + + /** + * The Web Id. + * The unique identifier (guid) for the item's site (SPWeb). + */ + @SerializedName("webId") + @Expose + public String webId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharingDetail.java b/src/main/java/com/microsoft/graph/models/extensions/SharingDetail.java index 2b820691a25..c6a35d8da76 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharingDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharingDetail.java @@ -3,12 +3,119 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.InsightIdentity; +import com.microsoft.graph.models.extensions.ResourceReference; -import com.microsoft.graph.models.generated.BaseSharingDetail; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Sharing Detail. */ -public class SharingDetail extends BaseSharingDetail { +public class SharingDetail implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Shared By. + * + */ + @SerializedName("sharedBy") + @Expose + public InsightIdentity sharedBy; + + /** + * The Shared Date Time. + * + */ + @SerializedName("sharedDateTime") + @Expose + public java.util.Calendar sharedDateTime; + + /** + * The Sharing Subject. + * + */ + @SerializedName("sharingSubject") + @Expose + public String sharingSubject; + + /** + * The Sharing Type. + * + */ + @SerializedName("sharingType") + @Expose + public String sharingType; + + /** + * The Sharing Reference. + * + */ + @SerializedName("sharingReference") + @Expose + public ResourceReference sharingReference; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharingInvitation.java b/src/main/java/com/microsoft/graph/models/extensions/SharingInvitation.java index 41752abf401..f62b870c3c5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharingInvitation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharingInvitation.java @@ -3,14 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.BaseSharingInvitation; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Sharing Invitation. */ -public class SharingInvitation extends BaseSharingInvitation { +public class SharingInvitation implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Email. + * The email address provided for the recipient of the sharing invitation. Read-only. + */ + @SerializedName("email") + @Expose + public String email; + + /** + * The Invited By. + * Provides information about who sent the invitation that created this permission, if that information is available. Read-only. + */ + @SerializedName("invitedBy") + @Expose + public IdentitySet invitedBy; + + /** + * The Redeemed By. + * + */ + @SerializedName("redeemedBy") + @Expose + public String redeemedBy; + + /** + * The Sign In Required. + * If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. + */ + @SerializedName("signInRequired") + @Expose + public Boolean signInRequired; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SharingLink.java b/src/main/java/com/microsoft/graph/models/extensions/SharingLink.java index a418af052b5..7ff63a8a134 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SharingLink.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SharingLink.java @@ -3,14 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Identity; -import com.microsoft.graph.models.generated.BaseSharingLink; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Sharing Link. */ -public class SharingLink extends BaseSharingLink { +public class SharingLink implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Application. + * The app the link is associated with. + */ + @SerializedName("application") + @Expose + public Identity application; + + /** + * The Scope. + * The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. + */ + @SerializedName("scope") + @Expose + public String scope; + + /** + * The Type. + * The type of the link created. + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Web Url. + * A URL that opens the item in the browser on the OneDrive website. + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SingleValueLegacyExtendedProperty.java b/src/main/java/com/microsoft/graph/models/extensions/SingleValueLegacyExtendedProperty.java index 7bff43b9ec0..ed01796c1de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SingleValueLegacyExtendedProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SingleValueLegacyExtendedProperty.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSingleValueLegacyExtendedProperty; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Single Value Legacy Extended Property. */ -public class SingleValueLegacyExtendedProperty extends BaseSingleValueLegacyExtendedProperty { +public class SingleValueLegacyExtendedProperty extends Entity implements IJsonBackedObject { + + + /** + * The Value. + * A property value. + */ + @SerializedName("value") + @Expose + public String value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Site.java b/src/main/java/com/microsoft/graph/models/extensions/Site.java index 96fadd7eef2..43a942f83eb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Site.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Site.java @@ -3,14 +3,269 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Root; +import com.microsoft.graph.models.extensions.SharepointIds; +import com.microsoft.graph.models.extensions.SiteCollection; +import com.microsoft.graph.models.extensions.ColumnDefinition; +import com.microsoft.graph.models.extensions.ContentType; +import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.models.extensions.List; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.models.extensions.Onenote; +import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionPage; +import com.microsoft.graph.requests.extensions.ContentTypeCollectionResponse; +import com.microsoft.graph.requests.extensions.ContentTypeCollectionPage; +import com.microsoft.graph.requests.extensions.DriveCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveCollectionPage; +import com.microsoft.graph.requests.extensions.BaseItemCollectionResponse; +import com.microsoft.graph.requests.extensions.BaseItemCollectionPage; +import com.microsoft.graph.requests.extensions.ListCollectionResponse; +import com.microsoft.graph.requests.extensions.ListCollectionPage; +import com.microsoft.graph.requests.extensions.SiteCollectionResponse; +import com.microsoft.graph.requests.extensions.SiteCollectionPage; -import com.microsoft.graph.models.generated.BaseSite; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site. */ -public class Site extends BaseSite { +public class Site extends BaseItem implements IJsonBackedObject { + + + /** + * The Display Name. + * The full title for the site. Read-only. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Root. + * If present, indicates that this is the root site in the site collection. Read-only. + */ + @SerializedName("root") + @Expose + public Root root; + + /** + * The Sharepoint Ids. + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + */ + @SerializedName("sharepointIds") + @Expose + public SharepointIds sharepointIds; + + /** + * The Site Collection. + * Provides details about the site's site collection. Available only on the root site. Read-only. + */ + @SerializedName("siteCollection") + @Expose + public SiteCollection siteCollection; + + /** + * The Columns. + * The collection of column definitions reusable across lists under this site. + */ + public ColumnDefinitionCollectionPage columns; + + /** + * The Content Types. + * The collection of content types defined for this site. + */ + public ContentTypeCollectionPage contentTypes; + + /** + * The Drive. + * The default drive (document library) for this site. + */ + @SerializedName("drive") + @Expose + public Drive drive; + + /** + * The Drives. + * The collection of drives (document libraries) under this site. + */ + public DriveCollectionPage drives; + + /** + * The Items. + * Used to address any item contained in this site. This collection cannot be enumerated. + */ + public BaseItemCollectionPage items; + + /** + * The Lists. + * The collection of lists under this site. + */ + public ListCollectionPage lists; + + /** + * The Sites. + * The collection of the sub-sites under this site. + */ + public SiteCollectionPage sites; + + /** + * The Onenote. + * Calls the OneNote service for notebook related operations. + */ + @SerializedName("onenote") + @Expose + public Onenote onenote; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("columns")) { + final ColumnDefinitionCollectionResponse response = new ColumnDefinitionCollectionResponse(); + if (json.has("columns@odata.nextLink")) { + response.nextLink = json.get("columns@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columns").toString(), JsonObject[].class); + final ColumnDefinition[] array = new ColumnDefinition[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ColumnDefinition.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + columns = new ColumnDefinitionCollectionPage(response, null); + } + + if (json.has("contentTypes")) { + final ContentTypeCollectionResponse response = new ContentTypeCollectionResponse(); + if (json.has("contentTypes@odata.nextLink")) { + response.nextLink = json.get("contentTypes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentTypes").toString(), JsonObject[].class); + final ContentType[] array = new ContentType[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContentType.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contentTypes = new ContentTypeCollectionPage(response, null); + } + + if (json.has("drives")) { + final DriveCollectionResponse response = new DriveCollectionResponse(); + if (json.has("drives@odata.nextLink")) { + response.nextLink = json.get("drives@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("drives").toString(), JsonObject[].class); + final Drive[] array = new Drive[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Drive.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + drives = new DriveCollectionPage(response, null); + } + + if (json.has("items")) { + final BaseItemCollectionResponse response = new BaseItemCollectionResponse(); + if (json.has("items@odata.nextLink")) { + response.nextLink = json.get("items@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); + final BaseItem[] array = new BaseItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), BaseItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + items = new BaseItemCollectionPage(response, null); + } + + if (json.has("lists")) { + final ListCollectionResponse response = new ListCollectionResponse(); + if (json.has("lists@odata.nextLink")) { + response.nextLink = json.get("lists@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("lists").toString(), JsonObject[].class); + final List[] array = new List[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), List.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + lists = new ListCollectionPage(response, null); + } + + if (json.has("sites")) { + final SiteCollectionResponse response = new SiteCollectionResponse(); + if (json.has("sites@odata.nextLink")) { + response.nextLink = json.get("sites@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sites").toString(), JsonObject[].class); + final Site[] array = new Site[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Site.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sites = new SiteCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SiteCollection.java b/src/main/java/com/microsoft/graph/models/extensions/SiteCollection.java index dc747c02bdb..ebf0169078f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SiteCollection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SiteCollection.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Root; -import com.microsoft.graph.models.generated.BaseSiteCollection; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Collection. */ -public class SiteCollection extends BaseSiteCollection { +public class SiteCollection implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Hostname. + * The hostname for the site collection. Read-only. + */ + @SerializedName("hostname") + @Expose + public String hostname; + + /** + * The Root. + * If present, indicates that this is a root site collection in SharePoint. Read-only. + */ + @SerializedName("root") + @Expose + public Root root; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SizeRange.java b/src/main/java/com/microsoft/graph/models/extensions/SizeRange.java index 80e4346b1fa..3639f0eb3e8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SizeRange.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SizeRange.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSizeRange; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Size Range. */ -public class SizeRange extends BaseSizeRange { +public class SizeRange implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Minimum Size. + * The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + */ + @SerializedName("minimumSize") + @Expose + public Integer minimumSize; + + /** + * The Maximum Size. + * The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + */ + @SerializedName("maximumSize") + @Expose + public Integer maximumSize; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SoftwareUpdateStatusSummary.java b/src/main/java/com/microsoft/graph/models/extensions/SoftwareUpdateStatusSummary.java index 84264c85326..418f055acbf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SoftwareUpdateStatusSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SoftwareUpdateStatusSummary.java @@ -3,12 +3,188 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSoftwareUpdateStatusSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary. */ -public class SoftwareUpdateStatusSummary extends BaseSoftwareUpdateStatusSummary { +public class SoftwareUpdateStatusSummary extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The name of the policy. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Compliant Device Count. + * Number of compliant devices. + */ + @SerializedName("compliantDeviceCount") + @Expose + public Integer compliantDeviceCount; + + /** + * The Non Compliant Device Count. + * Number of non compliant devices. + */ + @SerializedName("nonCompliantDeviceCount") + @Expose + public Integer nonCompliantDeviceCount; + + /** + * The Remediated Device Count. + * Number of remediated devices. + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + + /** + * The Error Device Count. + * Number of devices had error. + */ + @SerializedName("errorDeviceCount") + @Expose + public Integer errorDeviceCount; + + /** + * The Unknown Device Count. + * Number of unknown devices. + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + + /** + * The Conflict Device Count. + * Number of conflict devices. + */ + @SerializedName("conflictDeviceCount") + @Expose + public Integer conflictDeviceCount; + + /** + * The Not Applicable Device Count. + * Number of not applicable devices. + */ + @SerializedName("notApplicableDeviceCount") + @Expose + public Integer notApplicableDeviceCount; + + /** + * The Compliant User Count. + * Number of compliant users. + */ + @SerializedName("compliantUserCount") + @Expose + public Integer compliantUserCount; + + /** + * The Non Compliant User Count. + * Number of non compliant users. + */ + @SerializedName("nonCompliantUserCount") + @Expose + public Integer nonCompliantUserCount; + + /** + * The Remediated User Count. + * Number of remediated users. + */ + @SerializedName("remediatedUserCount") + @Expose + public Integer remediatedUserCount; + + /** + * The Error User Count. + * Number of users had error. + */ + @SerializedName("errorUserCount") + @Expose + public Integer errorUserCount; + + /** + * The Unknown User Count. + * Number of unknown users. + */ + @SerializedName("unknownUserCount") + @Expose + public Integer unknownUserCount; + + /** + * The Conflict User Count. + * Number of conflict users. + */ + @SerializedName("conflictUserCount") + @Expose + public Integer conflictUserCount; + + /** + * The Not Applicable User Count. + * Number of not applicable users. + */ + @SerializedName("notApplicableUserCount") + @Expose + public Integer notApplicableUserCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SpecialFolder.java b/src/main/java/com/microsoft/graph/models/extensions/SpecialFolder.java index 3f842be6a0b..76b5a5058ed 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SpecialFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SpecialFolder.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSpecialFolder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Special Folder. */ -public class SpecialFolder extends BaseSpecialFolder { +public class SpecialFolder implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * The unique identifier for this item in the /drive/special collection + */ + @SerializedName("name") + @Expose + public String name; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/StandardTimeZoneOffset.java b/src/main/java/com/microsoft/graph/models/extensions/StandardTimeZoneOffset.java index 04e904ef815..0a9edee8a22 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/StandardTimeZoneOffset.java +++ b/src/main/java/com/microsoft/graph/models/extensions/StandardTimeZoneOffset.java @@ -3,12 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DayOfWeek; -import com.microsoft.graph.models.generated.BaseStandardTimeZoneOffset; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Standard Time Zone Offset. */ -public class StandardTimeZoneOffset extends BaseStandardTimeZoneOffset { +public class StandardTimeZoneOffset implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Time. + * Represents the time of day when the transition from daylight saving time to standard time occurs. + */ + @SerializedName("time") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay time; + + /** + * The Day Occurrence. + * Represents the nth occurrence of the day of week that the transition from daylight saving time to standard time occurs. + */ + @SerializedName("dayOccurrence") + @Expose + public Integer dayOccurrence; + + /** + * The Day Of Week. + * Represents the day of the week when the transition from daylight saving time to standard time. + */ + @SerializedName("dayOfWeek") + @Expose + public DayOfWeek dayOfWeek; + + /** + * The Month. + * Represents the month of the year when the transition from daylight saving time to standard time occurs. + */ + @SerializedName("month") + @Expose + public Integer month; + + /** + * The Year. + * Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year. + */ + @SerializedName("year") + @Expose + public Integer year; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SubscribedSku.java b/src/main/java/com/microsoft/graph/models/extensions/SubscribedSku.java index 3bf1f12d461..7ad576aed41 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SubscribedSku.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SubscribedSku.java @@ -3,14 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.LicenseUnitsDetail; +import com.microsoft.graph.models.extensions.ServicePlanInfo; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSubscribedSku; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscribed Sku. */ -public class SubscribedSku extends BaseSubscribedSku { +public class SubscribedSku extends Entity implements IJsonBackedObject { + + + /** + * The Capability Status. + * For example, 'Enabled'. + */ + @SerializedName("capabilityStatus") + @Expose + public String capabilityStatus; + + /** + * The Consumed Units. + * The number of licenses that have been assigned. + */ + @SerializedName("consumedUnits") + @Expose + public Integer consumedUnits; + + /** + * The Prepaid Units. + * Information about the number and status of prepaid licenses. + */ + @SerializedName("prepaidUnits") + @Expose + public LicenseUnitsDetail prepaidUnits; + + /** + * The Service Plans. + * Information about the service plans that are available with the SKU. Not nullable + */ + @SerializedName("servicePlans") + @Expose + public java.util.List servicePlans; + + /** + * The Sku Id. + * The unique identifier (GUID) for the service SKU. + */ + @SerializedName("skuId") + @Expose + public java.util.UUID skuId; + + /** + * The Sku Part Number. + * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. + */ + @SerializedName("skuPartNumber") + @Expose + public String skuPartNumber; + + /** + * The Applies To. + * For example, 'User' or 'Company'. + */ + @SerializedName("appliesTo") + @Expose + public String appliesTo; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Subscription.java b/src/main/java/com/microsoft/graph/models/extensions/Subscription.java index ea02e0b0428..a1c1b2b2bc4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Subscription.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Subscription.java @@ -3,14 +3,124 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseSubscription; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscription. */ -public class Subscription extends BaseSubscription { +public class Subscription extends Entity implements IJsonBackedObject { + + + /** + * The Resource. + * Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/v1.0/). + */ + @SerializedName("resource") + @Expose + public String resource; + + /** + * The Change Type. + * Required. Indicates the type of change in the subscribed resource that will raise a notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list.Note: Drive root item notifications support only the updated changeType. User and group notifications support updated and deleted changeType. + */ + @SerializedName("changeType") + @Expose + public String changeType; + + /** + * The Client State. + * Optional. Specifies the value of the clientState property sent by the service in each notification. The maximum length is 128 characters. The client can check that the notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each notification. + */ + @SerializedName("clientState") + @Expose + public String clientState; + + /** + * The Notification Url. + * Required. The URL of the endpoint that will receive the notifications. This URL must make use of the HTTPS protocol. + */ + @SerializedName("notificationUrl") + @Expose + public String notificationUrl; + + /** + * The Expiration Date Time. + * Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. See the table below for maximum supported subscription length of time. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Application Id. + * Identifier of the application used to create the subscription. Read-only. + */ + @SerializedName("applicationId") + @Expose + public String applicationId; + + /** + * The Creator Id. + * Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the id of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the id of the service principal corresponding to the app. Read-only. + */ + @SerializedName("creatorId") + @Expose + public String creatorId; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/SystemFacet.java b/src/main/java/com/microsoft/graph/models/extensions/SystemFacet.java index d0f65a4c36f..9b672ba97e7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/SystemFacet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/SystemFacet.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseSystemFacet; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the System Facet. */ -public class SystemFacet extends BaseSystemFacet { +public class SystemFacet implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfiguration.java index 86708964842..e32bf7f44ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfiguration.java @@ -3,12 +3,143 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.models.extensions.ManagedAppConfiguration; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseTargetedManagedAppConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration. */ -public class TargetedManagedAppConfiguration extends BaseTargetedManagedAppConfiguration { +public class TargetedManagedAppConfiguration extends ManagedAppConfiguration implements IJsonBackedObject { + + + /** + * The Deployed App Count. + * Count of apps to which the current policy is deployed. + */ + @SerializedName("deployedAppCount") + @Expose + public Integer deployedAppCount; + + /** + * The Is Assigned. + * Indicates if the policy is deployed to any inclusion groups or not. + */ + @SerializedName("isAssigned") + @Expose + public Boolean isAssigned; + + /** + * The Apps. + * List of apps to which the policy is deployed. + */ + public ManagedMobileAppCollectionPage apps; + + /** + * The Deployment Summary. + * Navigation property to deployment summary of the configuration. + */ + @SerializedName("deploymentSummary") + @Expose + public ManagedAppPolicyDeploymentSummary deploymentSummary; + + /** + * The Assignments. + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + */ + public TargetedManagedAppPolicyAssignmentCollectionPage assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("apps")) { + final ManagedMobileAppCollectionResponse response = new ManagedMobileAppCollectionResponse(); + if (json.has("apps@odata.nextLink")) { + response.nextLink = json.get("apps@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); + final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + apps = new ManagedMobileAppCollectionPage(response, null); + } + + if (json.has("assignments")) { + final TargetedManagedAppPolicyAssignmentCollectionResponse response = new TargetedManagedAppPolicyAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final TargetedManagedAppPolicyAssignment[] array = new TargetedManagedAppPolicyAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppPolicyAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new TargetedManagedAppPolicyAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationAssignBody.java index f9c44eaa8e3..c04ad66f4c0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseTargetedManagedAppConfigurationAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Assign Body. */ -public class TargetedManagedAppConfigurationAssignBody extends BaseTargetedManagedAppConfigurationAssignBody { +public class TargetedManagedAppConfigurationAssignBody { + /** + * The assignments. + * + */ + @SerializedName("assignments") + @Expose + public java.util.List assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationTargetAppsBody.java b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationTargetAppsBody.java index 24c79ba339f..e1cfec27e9a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationTargetAppsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppConfigurationTargetAppsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseTargetedManagedAppConfigurationTargetAppsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Target Apps Body. */ -public class TargetedManagedAppConfigurationTargetAppsBody extends BaseTargetedManagedAppConfigurationTargetAppsBody { +public class TargetedManagedAppConfigurationTargetAppsBody { + /** + * The apps. + * + */ + @SerializedName("apps") + @Expose + public java.util.List apps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppPolicyAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppPolicyAssignment.java index 34ac7505174..6c3ec697b4b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppPolicyAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppPolicyAssignment.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTargetedManagedAppPolicyAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Policy Assignment. */ -public class TargetedManagedAppPolicyAssignment extends BaseTargetedManagedAppPolicyAssignment { +public class TargetedManagedAppPolicyAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * Identifier for deployment of a group or app + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtection.java index 2ab8185e52b..591ac42bc4c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtection.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.models.extensions.ManagedAppProtection; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseTargetedManagedAppProtection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Protection. */ -public class TargetedManagedAppProtection extends BaseTargetedManagedAppProtection { +public class TargetedManagedAppProtection extends ManagedAppProtection implements IJsonBackedObject { + + + /** + * The Is Assigned. + * Indicates if the policy is deployed to any inclusion groups or not. + */ + @SerializedName("isAssigned") + @Expose + public Boolean isAssigned; + + /** + * The Assignments. + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + */ + public TargetedManagedAppPolicyAssignmentCollectionPage assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("assignments")) { + final TargetedManagedAppPolicyAssignmentCollectionResponse response = new TargetedManagedAppPolicyAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final TargetedManagedAppPolicyAssignment[] array = new TargetedManagedAppPolicyAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppPolicyAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new TargetedManagedAppPolicyAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtectionAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtectionAssignBody.java index 4d683867534..8389f204f80 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtectionAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TargetedManagedAppProtectionAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseTargetedManagedAppProtectionAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Protection Assign Body. */ -public class TargetedManagedAppProtectionAssignBody extends BaseTargetedManagedAppProtectionAssignBody { +public class TargetedManagedAppProtectionAssignBody { + /** + * The assignments. + * + */ + @SerializedName("assignments") + @Expose + public java.util.List assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Team.java b/src/main/java/com/microsoft/graph/models/extensions/Team.java index 75bb76ebca5..c4e7559bebd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Team.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Team.java @@ -3,12 +3,195 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TeamMemberSettings; +import com.microsoft.graph.models.extensions.TeamGuestSettings; +import com.microsoft.graph.models.extensions.TeamMessagingSettings; +import com.microsoft.graph.models.extensions.TeamFunSettings; +import com.microsoft.graph.models.extensions.Channel; +import com.microsoft.graph.models.extensions.TeamsAppInstallation; +import com.microsoft.graph.models.extensions.TeamsAsyncOperation; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ChannelCollectionResponse; +import com.microsoft.graph.requests.extensions.ChannelCollectionPage; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionResponse; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionPage; +import com.microsoft.graph.requests.extensions.TeamsAsyncOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.TeamsAsyncOperationCollectionPage; -import com.microsoft.graph.models.generated.BaseTeam; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team. */ -public class Team extends BaseTeam { +public class Team extends Entity implements IJsonBackedObject { + + + /** + * The Web Url. + * A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + /** + * The Member Settings. + * Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team. + */ + @SerializedName("memberSettings") + @Expose + public TeamMemberSettings memberSettings; + + /** + * The Guest Settings. + * Settings to configure whether guests can create, update, or delete channels in the team. + */ + @SerializedName("guestSettings") + @Expose + public TeamGuestSettings guestSettings; + + /** + * The Messaging Settings. + * Settings to configure messaging and mentions in the team. + */ + @SerializedName("messagingSettings") + @Expose + public TeamMessagingSettings messagingSettings; + + /** + * The Fun Settings. + * Settings to configure use of Giphy, memes, and stickers in the team. + */ + @SerializedName("funSettings") + @Expose + public TeamFunSettings funSettings; + + /** + * The Is Archived. + * Whether this team is in read-only mode. + */ + @SerializedName("isArchived") + @Expose + public Boolean isArchived; + + /** + * The Channels. + * The collection of channels & messages associated with the team. + */ + public ChannelCollectionPage channels; + + /** + * The Installed Apps. + * The apps installed in this team. + */ + public TeamsAppInstallationCollectionPage installedApps; + + /** + * The Operations. + * + */ + public TeamsAsyncOperationCollectionPage operations; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("channels")) { + final ChannelCollectionResponse response = new ChannelCollectionResponse(); + if (json.has("channels@odata.nextLink")) { + response.nextLink = json.get("channels@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("channels").toString(), JsonObject[].class); + final Channel[] array = new Channel[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Channel.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + channels = new ChannelCollectionPage(response, null); + } + + if (json.has("installedApps")) { + final TeamsAppInstallationCollectionResponse response = new TeamsAppInstallationCollectionResponse(); + if (json.has("installedApps@odata.nextLink")) { + response.nextLink = json.get("installedApps@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("installedApps").toString(), JsonObject[].class); + final TeamsAppInstallation[] array = new TeamsAppInstallation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAppInstallation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + installedApps = new TeamsAppInstallationCollectionPage(response, null); + } + + if (json.has("operations")) { + final TeamsAsyncOperationCollectionResponse response = new TeamsAsyncOperationCollectionResponse(); + if (json.has("operations@odata.nextLink")) { + response.nextLink = json.get("operations@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); + final TeamsAsyncOperation[] array = new TeamsAsyncOperation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAsyncOperation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + operations = new TeamsAsyncOperationCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamArchiveBody.java b/src/main/java/com/microsoft/graph/models/extensions/TeamArchiveBody.java index 53cec98fd18..f239e359746 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamArchiveBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamArchiveBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseTeamArchiveBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Archive Body. */ -public class TeamArchiveBody extends BaseTeamArchiveBody { +public class TeamArchiveBody { + /** + * The should Set Spo Site Read Only For Members. + * + */ + @SerializedName("shouldSetSpoSiteReadOnlyForMembers") + @Expose + public Boolean shouldSetSpoSiteReadOnlyForMembers; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamClassSettings.java b/src/main/java/com/microsoft/graph/models/extensions/TeamClassSettings.java index 0d0d0f34a09..9b1648ac3ef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamClassSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamClassSettings.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTeamClassSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Class Settings. */ -public class TeamClassSettings extends BaseTeamClassSettings { +public class TeamClassSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Notify Guardians About Assignments. + * + */ + @SerializedName("notifyGuardiansAboutAssignments") + @Expose + public Boolean notifyGuardiansAboutAssignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamCloneBody.java b/src/main/java/com/microsoft/graph/models/extensions/TeamCloneBody.java index 8343c85cdcb..6f5778976a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamCloneBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamCloneBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseTeamCloneBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Clone Body. */ -public class TeamCloneBody extends BaseTeamCloneBody { +public class TeamCloneBody { + /** + * The display Name. + * + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The description. + * + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The mail Nickname. + * + */ + @SerializedName("mailNickname") + @Expose + public String mailNickname; + + /** + * The classification. + * + */ + @SerializedName("classification") + @Expose + public String classification; + + /** + * The visibility. + * + */ + @SerializedName("visibility") + @Expose + public TeamVisibilityType visibility; + + /** + * The parts To Clone. + * + */ + @SerializedName("partsToClone") + @Expose + public EnumSet partsToClone; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamFunSettings.java b/src/main/java/com/microsoft/graph/models/extensions/TeamFunSettings.java index a80d9274a94..ac9b40da1ee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamFunSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamFunSettings.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.GiphyRatingType; -import com.microsoft.graph.models.generated.BaseTeamFunSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Fun Settings. */ -public class TeamFunSettings extends BaseTeamFunSettings { +public class TeamFunSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Giphy. + * If set to true, enables Giphy use. + */ + @SerializedName("allowGiphy") + @Expose + public Boolean allowGiphy; + + /** + * The Giphy Content Rating. + * Giphy content rating. Possible values are: moderate, strict. + */ + @SerializedName("giphyContentRating") + @Expose + public GiphyRatingType giphyContentRating; + + /** + * The Allow Stickers And Memes. + * If set to true, enables users to include stickers and memes. + */ + @SerializedName("allowStickersAndMemes") + @Expose + public Boolean allowStickersAndMemes; + + /** + * The Allow Custom Memes. + * If set to true, enables users to include custom memes. + */ + @SerializedName("allowCustomMemes") + @Expose + public Boolean allowCustomMemes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamGuestSettings.java b/src/main/java/com/microsoft/graph/models/extensions/TeamGuestSettings.java index 2d9111d9efe..35c3cfe0bd1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamGuestSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamGuestSettings.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTeamGuestSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Guest Settings. */ -public class TeamGuestSettings extends BaseTeamGuestSettings { +public class TeamGuestSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Create Update Channels. + * If set to true, guests can add and update channels. + */ + @SerializedName("allowCreateUpdateChannels") + @Expose + public Boolean allowCreateUpdateChannels; + + /** + * The Allow Delete Channels. + * If set to true, guests can delete channels. + */ + @SerializedName("allowDeleteChannels") + @Expose + public Boolean allowDeleteChannels; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamMemberSettings.java b/src/main/java/com/microsoft/graph/models/extensions/TeamMemberSettings.java index f508e4be59a..ed7fd057f3e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamMemberSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamMemberSettings.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTeamMemberSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Member Settings. */ -public class TeamMemberSettings extends BaseTeamMemberSettings { +public class TeamMemberSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Create Update Channels. + * If set to true, members can add and update channels. + */ + @SerializedName("allowCreateUpdateChannels") + @Expose + public Boolean allowCreateUpdateChannels; + + /** + * The Allow Delete Channels. + * If set to true, members can delete channels. + */ + @SerializedName("allowDeleteChannels") + @Expose + public Boolean allowDeleteChannels; + + /** + * The Allow Add Remove Apps. + * If set to true, members can add and remove apps. + */ + @SerializedName("allowAddRemoveApps") + @Expose + public Boolean allowAddRemoveApps; + + /** + * The Allow Create Update Remove Tabs. + * If set to true, members can add, update, and remove tabs. + */ + @SerializedName("allowCreateUpdateRemoveTabs") + @Expose + public Boolean allowCreateUpdateRemoveTabs; + + /** + * The Allow Create Update Remove Connectors. + * If set to true, members can add, update, and remove connectors. + */ + @SerializedName("allowCreateUpdateRemoveConnectors") + @Expose + public Boolean allowCreateUpdateRemoveConnectors; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamMessagingSettings.java b/src/main/java/com/microsoft/graph/models/extensions/TeamMessagingSettings.java index 7230cc40750..a81dbe4f17e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamMessagingSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamMessagingSettings.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTeamMessagingSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Messaging Settings. */ -public class TeamMessagingSettings extends BaseTeamMessagingSettings { +public class TeamMessagingSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow User Edit Messages. + * If set to true, users can edit their messages. + */ + @SerializedName("allowUserEditMessages") + @Expose + public Boolean allowUserEditMessages; + + /** + * The Allow User Delete Messages. + * If set to true, users can delete their messages. + */ + @SerializedName("allowUserDeleteMessages") + @Expose + public Boolean allowUserDeleteMessages; + + /** + * The Allow Owner Delete Messages. + * If set to true, owners can delete any message. + */ + @SerializedName("allowOwnerDeleteMessages") + @Expose + public Boolean allowOwnerDeleteMessages; + + /** + * The Allow Team Mentions. + * If set to true, @team mentions are allowed. + */ + @SerializedName("allowTeamMentions") + @Expose + public Boolean allowTeamMentions; + + /** + * The Allow Channel Mentions. + * If set to true, @channel mentions are allowed. + */ + @SerializedName("allowChannelMentions") + @Expose + public Boolean allowChannelMentions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamsApp.java b/src/main/java/com/microsoft/graph/models/extensions/TeamsApp.java index 440acc7a6f3..1e7b990866c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamsApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamsApp.java @@ -3,12 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.TeamsAppDistributionMethod; +import com.microsoft.graph.models.extensions.TeamsAppDefinition; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionCollectionPage; -import com.microsoft.graph.models.generated.BaseTeamsApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App. */ -public class TeamsApp extends BaseTeamsApp { +public class TeamsApp extends Entity implements IJsonBackedObject { + + + /** + * The External Id. + * The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. + */ + @SerializedName("externalId") + @Expose + public String externalId; + + /** + * The Display Name. + * The name of the catalog app provided by the app developer in the Microsoft Teams zip app package. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Distribution Method. + * The method of distribution for the app. + */ + @SerializedName("distributionMethod") + @Expose + public TeamsAppDistributionMethod distributionMethod; + + /** + * The App Definitions. + * The details for each version of the app. + */ + public TeamsAppDefinitionCollectionPage appDefinitions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("appDefinitions")) { + final TeamsAppDefinitionCollectionResponse response = new TeamsAppDefinitionCollectionResponse(); + if (json.has("appDefinitions@odata.nextLink")) { + response.nextLink = json.get("appDefinitions@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("appDefinitions").toString(), JsonObject[].class); + final TeamsAppDefinition[] array = new TeamsAppDefinition[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAppDefinition.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + appDefinitions = new TeamsAppDefinitionCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamsAppDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/TeamsAppDefinition.java index 2124e35ba24..f33b0970b22 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamsAppDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamsAppDefinition.java @@ -3,12 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTeamsAppDefinition; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition. */ -public class TeamsAppDefinition extends BaseTeamsAppDefinition { +public class TeamsAppDefinition extends Entity implements IJsonBackedObject { + + + /** + * The Teams App Id. + * The id from the Teams App manifest. + */ + @SerializedName("teamsAppId") + @Expose + public String teamsAppId; + + /** + * The Display Name. + * The name of the app provided by the app developer. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Version. + * The version number of the application. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamsAppInstallation.java b/src/main/java/com/microsoft/graph/models/extensions/TeamsAppInstallation.java index a48fcb35578..91d98496d91 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamsAppInstallation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamsAppInstallation.java @@ -3,12 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TeamsApp; +import com.microsoft.graph.models.extensions.TeamsAppDefinition; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTeamsAppInstallation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation. */ -public class TeamsAppInstallation extends BaseTeamsAppInstallation { +public class TeamsAppInstallation extends Entity implements IJsonBackedObject { + + + /** + * The Teams App. + * The app that is installed. + */ + @SerializedName("teamsApp") + @Expose + public TeamsApp teamsApp; + + /** + * The Teams App Definition. + * The details of this version of the app. + */ + @SerializedName("teamsAppDefinition") + @Expose + public TeamsAppDefinition teamsAppDefinition; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamsAsyncOperation.java b/src/main/java/com/microsoft/graph/models/extensions/TeamsAsyncOperation.java index 7326f090bd1..b0b9a1e19f9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamsAsyncOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamsAsyncOperation.java @@ -3,12 +3,135 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.TeamsAsyncOperationType; +import com.microsoft.graph.models.generated.TeamsAsyncOperationStatus; +import com.microsoft.graph.models.extensions.OperationError; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTeamsAsyncOperation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Async Operation. */ -public class TeamsAsyncOperation extends BaseTeamsAsyncOperation { +public class TeamsAsyncOperation extends Entity implements IJsonBackedObject { + + + /** + * The Operation Type. + * + */ + @SerializedName("operationType") + @Expose + public TeamsAsyncOperationType operationType; + + /** + * The Created Date Time. + * + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Status. + * + */ + @SerializedName("status") + @Expose + public TeamsAsyncOperationStatus status; + + /** + * The Last Action Date Time. + * + */ + @SerializedName("lastActionDateTime") + @Expose + public java.util.Calendar lastActionDateTime; + + /** + * The Attempts Count. + * + */ + @SerializedName("attemptsCount") + @Expose + public Integer attemptsCount; + + /** + * The Target Resource Id. + * + */ + @SerializedName("targetResourceId") + @Expose + public String targetResourceId; + + /** + * The Target Resource Location. + * + */ + @SerializedName("targetResourceLocation") + @Expose + public String targetResourceLocation; + + /** + * The Error. + * + */ + @SerializedName("error") + @Expose + public OperationError error; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamsTab.java b/src/main/java/com/microsoft/graph/models/extensions/TeamsTab.java index 04349684a49..89b20858bcc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamsTab.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamsTab.java @@ -3,12 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TeamsTabConfiguration; +import com.microsoft.graph.models.extensions.TeamsApp; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTeamsTab; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab. */ -public class TeamsTab extends BaseTeamsTab { +public class TeamsTab extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Name of the tab. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Web Url. + * Deep link url of the tab instance. Read only. + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + /** + * The Configuration. + * Container for custom settings applied to a tab. The tab is considered configured only once this property is set. + */ + @SerializedName("configuration") + @Expose + public TeamsTabConfiguration configuration; + + /** + * The Teams App. + * The application that is linked to the tab. This cannot be changed after tab creation. + */ + @SerializedName("teamsApp") + @Expose + public TeamsApp teamsApp; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TeamsTabConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/TeamsTabConfiguration.java index f61f845fa18..45bf3ef483f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TeamsTabConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TeamsTabConfiguration.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTeamsTabConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab Configuration. */ -public class TeamsTabConfiguration extends BaseTeamsTabConfiguration { +public class TeamsTabConfiguration implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Entity Id. + * Identifier for the entity hosted by the tab provider. + */ + @SerializedName("entityId") + @Expose + public String entityId; + + /** + * The Content Url. + * Url used for rendering tab contents in Teams. Required. + */ + @SerializedName("contentUrl") + @Expose + public String contentUrl; + + /** + * The Remove Url. + * Url called by Teams client when a Tab is removed using the Teams Client. + */ + @SerializedName("removeUrl") + @Expose + public String removeUrl; + + /** + * The Website Url. + * Url for showing tab contents outside of Teams. + */ + @SerializedName("websiteUrl") + @Expose + public String websiteUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TelecomExpenseManagementPartner.java b/src/main/java/com/microsoft/graph/models/extensions/TelecomExpenseManagementPartner.java index 482ce145fe0..83758beed49 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TelecomExpenseManagementPartner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TelecomExpenseManagementPartner.java @@ -3,12 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTelecomExpenseManagementPartner; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Telecom Expense Management Partner. */ -public class TelecomExpenseManagementPartner extends BaseTelecomExpenseManagementPartner { +public class TelecomExpenseManagementPartner extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * Display name of the TEM partner. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Url. + * URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. + */ + @SerializedName("url") + @Expose + public String url; + + /** + * The App Authorized. + * Whether the partner's AAD app has been authorized to access Intune. + */ + @SerializedName("appAuthorized") + @Expose + public Boolean appAuthorized; + + /** + * The Enabled. + * Whether Intune's connection to the TEM service is currently enabled or disabled. + */ + @SerializedName("enabled") + @Expose + public Boolean enabled; + + /** + * The Last Connection Date Time. + * Timestamp of the last request sent to Intune by the TEM partner. + */ + @SerializedName("lastConnectionDateTime") + @Expose + public java.util.Calendar lastConnectionDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditions.java b/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditions.java index d5b35ad3a03..01dd7013db0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditions.java @@ -3,12 +3,182 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; +import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusCollectionPage; -import com.microsoft.graph.models.generated.BaseTermsAndConditions; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions. */ -public class TermsAndConditions extends BaseTermsAndConditions { +public class TermsAndConditions extends Entity implements IJsonBackedObject { + + + /** + * The Created Date Time. + * DateTime the object was created. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Display Name. + * Administrator-supplied name for the T&C policy. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * Administrator-supplied description of the T&C policy. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Title. + * Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. + */ + @SerializedName("title") + @Expose + public String title; + + /** + * The Body Text. + * Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. + */ + @SerializedName("bodyText") + @Expose + public String bodyText; + + /** + * The Acceptance Statement. + * Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy. + */ + @SerializedName("acceptanceStatement") + @Expose + public String acceptanceStatement; + + /** + * The Version. + * Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. + */ + @SerializedName("version") + @Expose + public Integer version; + + /** + * The Assignments. + * The list of assignments for this T&C policy. + */ + public TermsAndConditionsAssignmentCollectionPage assignments; + + /** + * The Acceptance Statuses. + * The list of acceptance statuses for this T&C policy. + */ + public TermsAndConditionsAcceptanceStatusCollectionPage acceptanceStatuses; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("assignments")) { + final TermsAndConditionsAssignmentCollectionResponse response = new TermsAndConditionsAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final TermsAndConditionsAssignment[] array = new TermsAndConditionsAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TermsAndConditionsAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new TermsAndConditionsAssignmentCollectionPage(response, null); + } + + if (json.has("acceptanceStatuses")) { + final TermsAndConditionsAcceptanceStatusCollectionResponse response = new TermsAndConditionsAcceptanceStatusCollectionResponse(); + if (json.has("acceptanceStatuses@odata.nextLink")) { + response.nextLink = json.get("acceptanceStatuses@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("acceptanceStatuses").toString(), JsonObject[].class); + final TermsAndConditionsAcceptanceStatus[] array = new TermsAndConditionsAcceptanceStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TermsAndConditionsAcceptanceStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + acceptanceStatuses = new TermsAndConditionsAcceptanceStatusCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAcceptanceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAcceptanceStatus.java index df1658381f2..79500c67a39 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAcceptanceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAcceptanceStatus.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TermsAndConditions; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTermsAndConditionsAcceptanceStatus; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Acceptance Status. */ -public class TermsAndConditionsAcceptanceStatus extends BaseTermsAndConditionsAcceptanceStatus { +public class TermsAndConditionsAcceptanceStatus extends Entity implements IJsonBackedObject { + + + /** + * The User Display Name. + * Display name of the user whose acceptance the entity represents. + */ + @SerializedName("userDisplayName") + @Expose + public String userDisplayName; + + /** + * The Accepted Version. + * Most recent version number of the T&C accepted by the user. + */ + @SerializedName("acceptedVersion") + @Expose + public Integer acceptedVersion; + + /** + * The Accepted Date Time. + * DateTime when the terms were last accepted by the user. + */ + @SerializedName("acceptedDateTime") + @Expose + public java.util.Calendar acceptedDateTime; + + /** + * The Terms And Conditions. + * Navigation link to the terms and conditions that are assigned. + */ + @SerializedName("termsAndConditions") + @Expose + public TermsAndConditions termsAndConditions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAssignment.java index fb257cb9d55..b0fff9556a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TermsAndConditionsAssignment.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTermsAndConditionsAssignment; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Assignment. */ -public class TermsAndConditionsAssignment extends BaseTermsAndConditionsAssignment { +public class TermsAndConditionsAssignment extends Entity implements IJsonBackedObject { + + + /** + * The Target. + * Assignment target that the T&C policy is assigned to. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TextColumn.java b/src/main/java/com/microsoft/graph/models/extensions/TextColumn.java index 69b78a55fc5..88f151bafb4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TextColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TextColumn.java @@ -3,14 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTextColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Text Column. */ -public class TextColumn extends BaseTextColumn { +public class TextColumn implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Multiple Lines. + * Whether to allow multiple lines of text. + */ + @SerializedName("allowMultipleLines") + @Expose + public Boolean allowMultipleLines; + + /** + * The Append Changes To Existing Text. + * Whether updates to this column should replace existing text, or append to it. + */ + @SerializedName("appendChangesToExistingText") + @Expose + public Boolean appendChangesToExistingText; + + /** + * The Lines For Editing. + * The size of the text box. + */ + @SerializedName("linesForEditing") + @Expose + public Integer linesForEditing; + + /** + * The Max Length. + * The maximum number of characters for the value. + */ + @SerializedName("maxLength") + @Expose + public Integer maxLength; + + /** + * The Text Type. + * The type of text being stored. Must be one of plain or richText + */ + @SerializedName("textType") + @Expose + public String textType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Thumbnail.java b/src/main/java/com/microsoft/graph/models/extensions/Thumbnail.java index 75851d793c8..32aeec6336a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Thumbnail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Thumbnail.java @@ -3,14 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseThumbnail; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail. */ -public class Thumbnail extends BaseThumbnail { +public class Thumbnail implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Height. + * The height of the thumbnail, in pixels. + */ + @SerializedName("height") + @Expose + public Integer height; + + /** + * The Source Item Id. + * The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested. + */ + @SerializedName("sourceItemId") + @Expose + public String sourceItemId; + + /** + * The Url. + * The URL used to fetch the thumbnail content. + */ + @SerializedName("url") + @Expose + public String url; + + /** + * The Width. + * The width of the thumbnail, in pixels. + */ + @SerializedName("width") + @Expose + public Integer width; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ThumbnailSet.java b/src/main/java/com/microsoft/graph/models/extensions/ThumbnailSet.java index 1d80a6c48cd..4bdb1fe5186 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ThumbnailSet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ThumbnailSet.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Thumbnail; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseThumbnailSet; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Set. */ -public class ThumbnailSet extends BaseThumbnailSet { +public class ThumbnailSet extends Entity implements IJsonBackedObject { + + + /** + * The Large. + * A 1920x1920 scaled thumbnail. + */ + @SerializedName("large") + @Expose + public Thumbnail large; + + /** + * The Medium. + * A 176x176 scaled thumbnail. + */ + @SerializedName("medium") + @Expose + public Thumbnail medium; + + /** + * The Small. + * A 48x48 cropped thumbnail. + */ + @SerializedName("small") + @Expose + public Thumbnail small; + + /** + * The Source. + * A custom thumbnail image or the original image used to generate other thumbnails. + */ + @SerializedName("source") + @Expose + public Thumbnail source; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TimeConstraint.java b/src/main/java/com/microsoft/graph/models/extensions/TimeConstraint.java index 9cc0042239f..906b1b51097 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TimeConstraint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TimeConstraint.java @@ -3,14 +3,95 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ActivityDomain; +import com.microsoft.graph.models.extensions.TimeSlot; -import com.microsoft.graph.models.generated.BaseTimeConstraint; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Time Constraint. */ -public class TimeConstraint extends BaseTimeConstraint { +public class TimeConstraint implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Activity Domain. + * The nature of the activity, optional. The possible values are: work, personal, unrestricted, or unknown. + */ + @SerializedName("activityDomain") + @Expose + public ActivityDomain activityDomain; + + /** + * The Timeslots. + * An array of time periods. + */ + @SerializedName("timeslots") + @Expose + public java.util.List timeslots; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TimeSlot.java b/src/main/java/com/microsoft/graph/models/extensions/TimeSlot.java index 89c267ad0fd..b2b1ad9c3d9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TimeSlot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TimeSlot.java @@ -3,14 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.models.generated.BaseTimeSlot; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Time Slot. */ -public class TimeSlot extends BaseTimeSlot { +public class TimeSlot implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Start. + * The time the period ends. + */ + @SerializedName("start") + @Expose + public DateTimeTimeZone start; + + /** + * The End. + * The time a period begins. + */ + @SerializedName("end") + @Expose + public DateTimeTimeZone end; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TimeZoneBase.java b/src/main/java/com/microsoft/graph/models/extensions/TimeZoneBase.java index 9c03ab3af2d..73f858e3163 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TimeZoneBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TimeZoneBase.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTimeZoneBase; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Time Zone Base. */ -public class TimeZoneBase extends BaseTimeZoneBase { +public class TimeZoneBase implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Name. + * The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone. + */ + @SerializedName("name") + @Expose + public String name; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/TimeZoneInformation.java b/src/main/java/com/microsoft/graph/models/extensions/TimeZoneInformation.java index 51eae5e55fb..4eafd528eeb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/TimeZoneInformation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/TimeZoneInformation.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseTimeZoneInformation; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Time Zone Information. */ -public class TimeZoneInformation extends BaseTimeZoneInformation { +public class TimeZoneInformation implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Alias. + * An identifier for the time zone. + */ + @SerializedName("alias") + @Expose + public String alias; + + /** + * The Display Name. + * A display string that represents the time zone. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Trending.java b/src/main/java/com/microsoft/graph/models/extensions/Trending.java index bacee7bb426..4eb3874b2d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Trending.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Trending.java @@ -3,12 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ResourceVisualization; +import com.microsoft.graph.models.extensions.ResourceReference; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseTrending; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Trending. */ -public class Trending extends BaseTrending { +public class Trending extends Entity implements IJsonBackedObject { + + + /** + * The Weight. + * + */ + @SerializedName("weight") + @Expose + public Double weight; + + /** + * The Resource Visualization. + * + */ + @SerializedName("resourceVisualization") + @Expose + public ResourceVisualization resourceVisualization; + + /** + * The Resource Reference. + * + */ + @SerializedName("resourceReference") + @Expose + public ResourceReference resourceReference; + + /** + * The Last Modified Date Time. + * + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The Resource. + * + */ + @SerializedName("resource") + @Expose + public Entity resource; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UpdateWindowsDeviceAccountActionParameter.java b/src/main/java/com/microsoft/graph/models/extensions/UpdateWindowsDeviceAccountActionParameter.java index af52594ae9c..a5d5361eead 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UpdateWindowsDeviceAccountActionParameter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UpdateWindowsDeviceAccountActionParameter.java @@ -3,12 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsDeviceAccount; -import com.microsoft.graph.models.generated.BaseUpdateWindowsDeviceAccountActionParameter; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Update Windows Device Account Action Parameter. */ -public class UpdateWindowsDeviceAccountActionParameter extends BaseUpdateWindowsDeviceAccountActionParameter { +public class UpdateWindowsDeviceAccountActionParameter implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Device Account. + * Not yet documented + */ + @SerializedName("deviceAccount") + @Expose + public WindowsDeviceAccount deviceAccount; + + /** + * The Password Rotation Enabled. + * Not yet documented + */ + @SerializedName("passwordRotationEnabled") + @Expose + public Boolean passwordRotationEnabled; + + /** + * The Calendar Sync Enabled. + * Not yet documented + */ + @SerializedName("calendarSyncEnabled") + @Expose + public Boolean calendarSyncEnabled; + + /** + * The Device Account Email. + * Not yet documented + */ + @SerializedName("deviceAccountEmail") + @Expose + public String deviceAccountEmail; + + /** + * The Exchange Server. + * Not yet documented + */ + @SerializedName("exchangeServer") + @Expose + public String exchangeServer; + + /** + * The Session Initiation Protocal Address. + * Not yet documented + */ + @SerializedName("sessionInitiationProtocalAddress") + @Expose + public String sessionInitiationProtocalAddress; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UploadSession.java b/src/main/java/com/microsoft/graph/models/extensions/UploadSession.java index a478abe5d93..387f95322e8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UploadSession.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UploadSession.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseUploadSession; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Upload Session. */ -public class UploadSession extends BaseUploadSession { +public class UploadSession implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Expiration Date Time. + * The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Next Expected Ranges. + * A collection of byte ranges that the server is missing for the file. These ranges are zero indexed and of the format 'start-end' (e.g. '0-26' to indicate the first 27 bytes of the file). + */ + @SerializedName("nextExpectedRanges") + @Expose + public java.util.List nextExpectedRanges; + + /** + * The Upload Url. + * The URL endpoint that accepts PUT requests for byte ranges of the file. + */ + @SerializedName("uploadUrl") + @Expose + public String uploadUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UsageDetails.java b/src/main/java/com/microsoft/graph/models/extensions/UsageDetails.java index 0093c95387a..15390521dad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UsageDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UsageDetails.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseUsageDetails; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Usage Details. */ -public class UsageDetails extends BaseUsageDetails { +public class UsageDetails implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Last Accessed Date Time. + * + */ + @SerializedName("lastAccessedDateTime") + @Expose + public java.util.Calendar lastAccessedDateTime; + + /** + * The Last Modified Date Time. + * + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UsedInsight.java b/src/main/java/com/microsoft/graph/models/extensions/UsedInsight.java index 89d104593d2..5f764ef1f31 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UsedInsight.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UsedInsight.java @@ -3,12 +3,103 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.UsageDetails; +import com.microsoft.graph.models.extensions.ResourceVisualization; +import com.microsoft.graph.models.extensions.ResourceReference; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseUsedInsight; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Used Insight. */ -public class UsedInsight extends BaseUsedInsight { +public class UsedInsight extends Entity implements IJsonBackedObject { + + + /** + * The Last Used. + * + */ + @SerializedName("lastUsed") + @Expose + public UsageDetails lastUsed; + + /** + * The Resource Visualization. + * + */ + @SerializedName("resourceVisualization") + @Expose + public ResourceVisualization resourceVisualization; + + /** + * The Resource Reference. + * + */ + @SerializedName("resourceReference") + @Expose + public ResourceReference resourceReference; + + /** + * The Resource. + * + */ + @SerializedName("resource") + @Expose + public Entity resource; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/User.java b/src/main/java/com/microsoft/graph/models/extensions/User.java index a555c5b43aa..00f4938a640 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/User.java +++ b/src/main/java/com/microsoft/graph/models/extensions/User.java @@ -3,14 +3,1220 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AssignedLicense; +import com.microsoft.graph.models.extensions.AssignedPlan; +import com.microsoft.graph.models.extensions.OnPremisesExtensionAttributes; +import com.microsoft.graph.models.extensions.OnPremisesProvisioningError; +import com.microsoft.graph.models.extensions.PasswordProfile; +import com.microsoft.graph.models.extensions.ProvisionedPlan; +import com.microsoft.graph.models.extensions.MailboxSettings; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.LicenseDetails; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.OutlookUser; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.models.extensions.CalendarGroup; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.models.extensions.Person; +import com.microsoft.graph.models.extensions.Contact; +import com.microsoft.graph.models.extensions.ContactFolder; +import com.microsoft.graph.models.extensions.InferenceClassification; +import com.microsoft.graph.models.extensions.ProfilePhoto; +import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.models.extensions.PlannerUser; +import com.microsoft.graph.models.extensions.Onenote; +import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; +import com.microsoft.graph.models.extensions.UserActivity; +import com.microsoft.graph.models.extensions.OfficeGraphInsights; +import com.microsoft.graph.models.extensions.UserSettings; +import com.microsoft.graph.models.extensions.Group; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; +import com.microsoft.graph.requests.extensions.LicenseDetailsCollectionResponse; +import com.microsoft.graph.requests.extensions.LicenseDetailsCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.MessageCollectionResponse; +import com.microsoft.graph.requests.extensions.MessageCollectionPage; +import com.microsoft.graph.requests.extensions.MailFolderCollectionResponse; +import com.microsoft.graph.requests.extensions.MailFolderCollectionPage; +import com.microsoft.graph.requests.extensions.CalendarCollectionResponse; +import com.microsoft.graph.requests.extensions.CalendarCollectionPage; +import com.microsoft.graph.requests.extensions.CalendarGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.CalendarGroupCollectionPage; +import com.microsoft.graph.requests.extensions.EventCollectionResponse; +import com.microsoft.graph.requests.extensions.EventCollectionPage; +import com.microsoft.graph.requests.extensions.PersonCollectionResponse; +import com.microsoft.graph.requests.extensions.PersonCollectionPage; +import com.microsoft.graph.requests.extensions.ContactCollectionResponse; +import com.microsoft.graph.requests.extensions.ContactCollectionPage; +import com.microsoft.graph.requests.extensions.ContactFolderCollectionResponse; +import com.microsoft.graph.requests.extensions.ContactFolderCollectionPage; +import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionResponse; +import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionPage; +import com.microsoft.graph.requests.extensions.DriveCollectionResponse; +import com.microsoft.graph.requests.extensions.DriveCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionPage; +import com.microsoft.graph.requests.extensions.UserActivityCollectionResponse; +import com.microsoft.graph.requests.extensions.UserActivityCollectionPage; +import com.microsoft.graph.requests.extensions.GroupCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupCollectionPage; -import com.microsoft.graph.models.generated.BaseUser; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User. */ -public class User extends BaseUser { +public class User extends DirectoryObject implements IJsonBackedObject { + + + /** + * The Account Enabled. + * true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter. + */ + @SerializedName("accountEnabled") + @Expose + public Boolean accountEnabled; + + /** + * The Age Group. + * Sets the age group of the user. Allowed values: null, minor, notAdult and adult. Refer to the legal age group property definitions for further information. + */ + @SerializedName("ageGroup") + @Expose + public String ageGroup; + + /** + * The Assigned Licenses. + * The licenses that are assigned to the user. Not nullable. + */ + @SerializedName("assignedLicenses") + @Expose + public java.util.List assignedLicenses; + + /** + * The Assigned Plans. + * The plans that are assigned to the user. Read-only. Not nullable. + */ + @SerializedName("assignedPlans") + @Expose + public java.util.List assignedPlans; + + /** + * The Business Phones. + * The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. + */ + @SerializedName("businessPhones") + @Expose + public java.util.List businessPhones; + + /** + * The City. + * The city in which the user is located. Supports $filter. + */ + @SerializedName("city") + @Expose + public String city; + + /** + * The Company Name. + * The company name which the user is associated. Read-only. + */ + @SerializedName("companyName") + @Expose + public String companyName; + + /** + * The Consent Provided For Minor. + * Sets whether consent has been obtained for minors. Allowed values: null, granted, denied and notRequired. Refer to the legal age group property definitions for further information. + */ + @SerializedName("consentProvidedForMinor") + @Expose + public String consentProvidedForMinor; + + /** + * The Country. + * The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter. + */ + @SerializedName("country") + @Expose + public String country; + + /** + * The Department. + * The name for the department in which the user works. Supports $filter. + */ + @SerializedName("department") + @Expose + public String department; + + /** + * The Display Name. + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Employee Id. + * + */ + @SerializedName("employeeId") + @Expose + public String employeeId; + + /** + * The Fax Number. + * + */ + @SerializedName("faxNumber") + @Expose + public String faxNumber; + + /** + * The Given Name. + * The given name (first name) of the user. Supports $filter. + */ + @SerializedName("givenName") + @Expose + public String givenName; + + /** + * The Im Addresses. + * The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. + */ + @SerializedName("imAddresses") + @Expose + public java.util.List imAddresses; + + /** + * The Job Title. + * The user’s job title. Supports $filter. + */ + @SerializedName("jobTitle") + @Expose + public String jobTitle; + + /** + * The Legal Age Group Classification. + * Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, minorWithOutParentalConsent, minorWithParentalConsent, minorNoParentalConsentRequired, notAdult and adult. Refer to the legal age group property definitions for further information.) + */ + @SerializedName("legalAgeGroupClassification") + @Expose + public String legalAgeGroupClassification; + + /** + * The Mail. + * The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports $filter. + */ + @SerializedName("mail") + @Expose + public String mail; + + /** + * The Mail Nickname. + * The mail alias for the user. This property must be specified when a user is created. Supports $filter. + */ + @SerializedName("mailNickname") + @Expose + public String mailNickname; + + /** + * The Mobile Phone. + * The primary cellular telephone number for the user. + */ + @SerializedName("mobilePhone") + @Expose + public String mobilePhone; + + /** + * The On Premises Distinguished Name. + * + */ + @SerializedName("onPremisesDistinguishedName") + @Expose + public String onPremisesDistinguishedName; + + /** + * The On Premises Extension Attributes. + * Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, this set of properties is mastered on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. + */ + @SerializedName("onPremisesExtensionAttributes") + @Expose + public OnPremisesExtensionAttributes onPremisesExtensionAttributes; + + /** + * The On Premises Immutable Id. + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this property. Supports $filter. + */ + @SerializedName("onPremisesImmutableId") + @Expose + public String onPremisesImmutableId; + + /** + * The On Premises Last Sync Date Time. + * Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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 would look like this: '2014-01-01T00:00:00Z'. Read-only. + */ + @SerializedName("onPremisesLastSyncDateTime") + @Expose + public java.util.Calendar onPremisesLastSyncDateTime; + + /** + * The On Premises Provisioning Errors. + * Errors when using Microsoft synchronization product during provisioning. + */ + @SerializedName("onPremisesProvisioningErrors") + @Expose + public java.util.List onPremisesProvisioningErrors; + + /** + * The On Premises Security Identifier. + * Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. + */ + @SerializedName("onPremisesSecurityIdentifier") + @Expose + public String onPremisesSecurityIdentifier; + + /** + * The On Premises Sync Enabled. + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only + */ + @SerializedName("onPremisesSyncEnabled") + @Expose + public Boolean onPremisesSyncEnabled; + + /** + * The On Premises Domain Name. + * Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + */ + @SerializedName("onPremisesDomainName") + @Expose + public String onPremisesDomainName; + + /** + * The On Premises Sam Account Name. + * Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + */ + @SerializedName("onPremisesSamAccountName") + @Expose + public String onPremisesSamAccountName; + + /** + * The On Premises User Principal Name. + * Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + */ + @SerializedName("onPremisesUserPrincipalName") + @Expose + public String onPremisesUserPrincipalName; + + /** + * The Other Mails. + * + */ + @SerializedName("otherMails") + @Expose + public java.util.List otherMails; + + /** + * The Password Policies. + * Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two may be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'. + */ + @SerializedName("passwordPolicies") + @Expose + public String passwordPolicies; + + /** + * The Password Profile. + * Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. + */ + @SerializedName("passwordProfile") + @Expose + public PasswordProfile passwordProfile; + + /** + * The Office Location. + * The office location in the user's place of business. + */ + @SerializedName("officeLocation") + @Expose + public String officeLocation; + + /** + * The Postal Code. + * The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. + */ + @SerializedName("postalCode") + @Expose + public String postalCode; + + /** + * The Preferred Language. + * The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'. + */ + @SerializedName("preferredLanguage") + @Expose + public String preferredLanguage; + + /** + * The Provisioned Plans. + * The plans that are provisioned for the user. Read-only. Not nullable. + */ + @SerializedName("provisionedPlans") + @Expose + public java.util.List provisionedPlans; + + /** + * The Proxy Addresses. + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Read-only, Not nullable. Supports $filter. + */ + @SerializedName("proxyAddresses") + @Expose + public java.util.List proxyAddresses; + + /** + * The Show In Address List. + * + */ + @SerializedName("showInAddressList") + @Expose + public Boolean showInAddressList; + + /** + * The State. + * The state or province in the user's address. Supports $filter. + */ + @SerializedName("state") + @Expose + public String state; + + /** + * The Street Address. + * The street address of the user's place of business. + */ + @SerializedName("streetAddress") + @Expose + public String streetAddress; + + /** + * The Surname. + * The user's surname (family name or last name). Supports $filter. + */ + @SerializedName("surname") + @Expose + public String surname; + + /** + * The Usage Location. + * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter. + */ + @SerializedName("usageLocation") + @Expose + public String usageLocation; + + /** + * The User Principal Name. + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Supports $filter and $orderby. + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + /** + * The User Type. + * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter. + */ + @SerializedName("userType") + @Expose + public String userType; + + /** + * The Mailbox Settings. + * 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. + */ + @SerializedName("mailboxSettings") + @Expose + public MailboxSettings mailboxSettings; + + /** + * The About Me. + * A freeform text entry field for the user to describe themselves. + */ + @SerializedName("aboutMe") + @Expose + public String aboutMe; + + /** + * The Birthday. + * The birthday of the user. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("birthday") + @Expose + public java.util.Calendar birthday; + + /** + * The Hire Date. + * The hire date of the user. 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 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("hireDate") + @Expose + public java.util.Calendar hireDate; + + /** + * The Interests. + * A list for the user to describe their interests. + */ + @SerializedName("interests") + @Expose + public java.util.List interests; + + /** + * The My Site. + * The URL for the user's personal site. + */ + @SerializedName("mySite") + @Expose + public String mySite; + + /** + * The Past Projects. + * A list for the user to enumerate their past projects. + */ + @SerializedName("pastProjects") + @Expose + public java.util.List pastProjects; + + /** + * The Preferred Name. + * The preferred name for the user. + */ + @SerializedName("preferredName") + @Expose + public String preferredName; + + /** + * The Responsibilities. + * A list for the user to enumerate their responsibilities. + */ + @SerializedName("responsibilities") + @Expose + public java.util.List responsibilities; + + /** + * The Schools. + * A list for the user to enumerate the schools they have attended. + */ + @SerializedName("schools") + @Expose + public java.util.List schools; + + /** + * The Skills. + * A list for the user to enumerate their skills. + */ + @SerializedName("skills") + @Expose + public java.util.List skills; + + /** + * The Device Enrollment Limit. + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + */ + @SerializedName("deviceEnrollmentLimit") + @Expose + public Integer deviceEnrollmentLimit; + + /** + * The Owned Devices. + * Devices that are owned by the user. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage ownedDevices; + + /** + * The Registered Devices. + * Devices that are registered for the user. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage registeredDevices; + + /** + * The Manager. + * The user or contact that is this user’s manager. Read-only. (HTTP Methods: GET, PUT, DELETE.) + */ + @SerializedName("manager") + @Expose + public DirectoryObject manager; + + /** + * The Direct Reports. + * The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. + */ + public DirectoryObjectCollectionPage directReports; + + /** + * The Member Of. + * The groups and directory roles that the user is a member of. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage memberOf; + + /** + * The Created Objects. + * Directory objects that were created by the user. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage createdObjects; + + /** + * The Owned Objects. + * Directory objects that are owned by the user. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage ownedObjects; + + /** + * The License Details. + * A collection of this user's license details. Nullable. + */ + public LicenseDetailsCollectionPage licenseDetails; + + /** + * The Transitive Member Of. + * + */ + public DirectoryObjectCollectionPage transitiveMemberOf; + + /** + * The Extensions. + * The collection of open extensions defined for the user. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; + + /** + * The Outlook. + * Read-only. + */ + @SerializedName("outlook") + @Expose + public OutlookUser outlook; + + /** + * The Messages. + * The messages in a mailbox or folder. Read-only. Nullable. + */ + public MessageCollectionPage messages; + + /** + * The Mail Folders. + * The user's mail folders. Read-only. Nullable. + */ + public MailFolderCollectionPage mailFolders; + + /** + * The Calendar. + * The user's primary calendar. Read-only. + */ + @SerializedName("calendar") + @Expose + public Calendar calendar; + + /** + * The Calendars. + * The user's calendars. Read-only. Nullable. + */ + public CalendarCollectionPage calendars; + + /** + * The Calendar Groups. + * The user's calendar groups. Read-only. Nullable. + */ + public CalendarGroupCollectionPage calendarGroups; + + /** + * The Calendar View. + * The calendar view for the calendar. Read-only. Nullable. + */ + public EventCollectionPage calendarView; + + /** + * The Events. + * The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable. + */ + public EventCollectionPage events; + + /** + * The People. + * People that are relevant to the user. Read-only. Nullable. + */ + public PersonCollectionPage people; + + /** + * The Contacts. + * The user's contacts. Read-only. Nullable. + */ + public ContactCollectionPage contacts; + + /** + * The Contact Folders. + * The user's contacts folders. Read-only. Nullable. + */ + public ContactFolderCollectionPage contactFolders; + + /** + * The Inference Classification. + * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + */ + @SerializedName("inferenceClassification") + @Expose + public InferenceClassification inferenceClassification; + + /** + * The Photo. + * The user's profile photo. Read-only. + */ + @SerializedName("photo") + @Expose + public ProfilePhoto photo; + + /** + * The Photos. + * + */ + public ProfilePhotoCollectionPage photos; + + /** + * The Drive. + * The user's OneDrive. Read-only. + */ + @SerializedName("drive") + @Expose + public Drive drive; + + /** + * The Drives. + * A collection of drives available for this user. Read-only. + */ + public DriveCollectionPage drives; + + /** + * The Planner. + * Entry-point to the Planner resource that might exist for a user. Read-only. + */ + @SerializedName("planner") + @Expose + public PlannerUser planner; + + /** + * The Onenote. + * Read-only. + */ + @SerializedName("onenote") + @Expose + public Onenote onenote; + + /** + * The Managed Devices. + * The managed devices associated with the user. + */ + public ManagedDeviceCollectionPage managedDevices; + + /** + * The Managed App Registrations. + * Zero or more managed app registrations that belong to the user. + */ + public ManagedAppRegistrationCollectionPage managedAppRegistrations; + + /** + * The Device Management Troubleshooting Events. + * The list of troubleshooting events for this user. + */ + public DeviceManagementTroubleshootingEventCollectionPage deviceManagementTroubleshootingEvents; + + /** + * The Activities. + * The user's activities across devices. Read-only. Nullable. + */ + public UserActivityCollectionPage activities; + + /** + * The Insights. + * + */ + @SerializedName("insights") + @Expose + public OfficeGraphInsights insights; + + /** + * The Settings. + * + */ + @SerializedName("settings") + @Expose + public UserSettings settings; + + /** + * The Joined Teams. + * + */ + public GroupCollectionPage joinedTeams; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("ownedDevices")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("ownedDevices@odata.nextLink")) { + response.nextLink = json.get("ownedDevices@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("ownedDevices").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + ownedDevices = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("registeredDevices")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("registeredDevices@odata.nextLink")) { + response.nextLink = json.get("registeredDevices@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("registeredDevices").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + registeredDevices = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("directReports")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("directReports@odata.nextLink")) { + response.nextLink = json.get("directReports@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("directReports").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + directReports = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("memberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("memberOf@odata.nextLink")) { + response.nextLink = json.get("memberOf@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("memberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + memberOf = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("createdObjects")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("createdObjects@odata.nextLink")) { + response.nextLink = json.get("createdObjects@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("createdObjects").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + createdObjects = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("ownedObjects")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("ownedObjects@odata.nextLink")) { + response.nextLink = json.get("ownedObjects@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("ownedObjects").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + ownedObjects = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("licenseDetails")) { + final LicenseDetailsCollectionResponse response = new LicenseDetailsCollectionResponse(); + if (json.has("licenseDetails@odata.nextLink")) { + response.nextLink = json.get("licenseDetails@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("licenseDetails").toString(), JsonObject[].class); + final LicenseDetails[] array = new LicenseDetails[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), LicenseDetails.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + licenseDetails = new LicenseDetailsCollectionPage(response, null); + } + + if (json.has("transitiveMemberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("transitiveMemberOf@odata.nextLink")) { + response.nextLink = json.get("transitiveMemberOf@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMemberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + transitiveMemberOf = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("messages")) { + final MessageCollectionResponse response = new MessageCollectionResponse(); + if (json.has("messages@odata.nextLink")) { + response.nextLink = json.get("messages@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messages").toString(), JsonObject[].class); + final Message[] array = new Message[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Message.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + messages = new MessageCollectionPage(response, null); + } + + if (json.has("mailFolders")) { + final MailFolderCollectionResponse response = new MailFolderCollectionResponse(); + if (json.has("mailFolders@odata.nextLink")) { + response.nextLink = json.get("mailFolders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mailFolders").toString(), JsonObject[].class); + final MailFolder[] array = new MailFolder[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MailFolder.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mailFolders = new MailFolderCollectionPage(response, null); + } + + if (json.has("calendars")) { + final CalendarCollectionResponse response = new CalendarCollectionResponse(); + if (json.has("calendars@odata.nextLink")) { + response.nextLink = json.get("calendars@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendars").toString(), JsonObject[].class); + final Calendar[] array = new Calendar[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Calendar.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendars = new CalendarCollectionPage(response, null); + } + + if (json.has("calendarGroups")) { + final CalendarGroupCollectionResponse response = new CalendarGroupCollectionResponse(); + if (json.has("calendarGroups@odata.nextLink")) { + response.nextLink = json.get("calendarGroups@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarGroups").toString(), JsonObject[].class); + final CalendarGroup[] array = new CalendarGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), CalendarGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendarGroups = new CalendarGroupCollectionPage(response, null); + } + + if (json.has("calendarView")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("calendarView@odata.nextLink")) { + response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendarView = new EventCollectionPage(response, null); + } + + if (json.has("events")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("events@odata.nextLink")) { + response.nextLink = json.get("events@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + events = new EventCollectionPage(response, null); + } + + if (json.has("people")) { + final PersonCollectionResponse response = new PersonCollectionResponse(); + if (json.has("people@odata.nextLink")) { + response.nextLink = json.get("people@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("people").toString(), JsonObject[].class); + final Person[] array = new Person[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Person.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + people = new PersonCollectionPage(response, null); + } + + if (json.has("contacts")) { + final ContactCollectionResponse response = new ContactCollectionResponse(); + if (json.has("contacts@odata.nextLink")) { + response.nextLink = json.get("contacts@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contacts").toString(), JsonObject[].class); + final Contact[] array = new Contact[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Contact.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contacts = new ContactCollectionPage(response, null); + } + + if (json.has("contactFolders")) { + final ContactFolderCollectionResponse response = new ContactFolderCollectionResponse(); + if (json.has("contactFolders@odata.nextLink")) { + response.nextLink = json.get("contactFolders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contactFolders").toString(), JsonObject[].class); + final ContactFolder[] array = new ContactFolder[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContactFolder.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + contactFolders = new ContactFolderCollectionPage(response, null); + } + + if (json.has("photos")) { + final ProfilePhotoCollectionResponse response = new ProfilePhotoCollectionResponse(); + if (json.has("photos@odata.nextLink")) { + response.nextLink = json.get("photos@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("photos").toString(), JsonObject[].class); + final ProfilePhoto[] array = new ProfilePhoto[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ProfilePhoto.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + photos = new ProfilePhotoCollectionPage(response, null); + } + + if (json.has("drives")) { + final DriveCollectionResponse response = new DriveCollectionResponse(); + if (json.has("drives@odata.nextLink")) { + response.nextLink = json.get("drives@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("drives").toString(), JsonObject[].class); + final Drive[] array = new Drive[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Drive.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + drives = new DriveCollectionPage(response, null); + } + + if (json.has("managedDevices")) { + final ManagedDeviceCollectionResponse response = new ManagedDeviceCollectionResponse(); + if (json.has("managedDevices@odata.nextLink")) { + response.nextLink = json.get("managedDevices@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedDevices").toString(), JsonObject[].class); + final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedDevices = new ManagedDeviceCollectionPage(response, null); + } + + if (json.has("managedAppRegistrations")) { + final ManagedAppRegistrationCollectionResponse response = new ManagedAppRegistrationCollectionResponse(); + if (json.has("managedAppRegistrations@odata.nextLink")) { + response.nextLink = json.get("managedAppRegistrations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppRegistrations").toString(), JsonObject[].class); + final ManagedAppRegistration[] array = new ManagedAppRegistration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppRegistration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedAppRegistrations = new ManagedAppRegistrationCollectionPage(response, null); + } + + if (json.has("deviceManagementTroubleshootingEvents")) { + final DeviceManagementTroubleshootingEventCollectionResponse response = new DeviceManagementTroubleshootingEventCollectionResponse(); + if (json.has("deviceManagementTroubleshootingEvents@odata.nextLink")) { + response.nextLink = json.get("deviceManagementTroubleshootingEvents@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementTroubleshootingEvents").toString(), JsonObject[].class); + final DeviceManagementTroubleshootingEvent[] array = new DeviceManagementTroubleshootingEvent[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementTroubleshootingEvent.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceManagementTroubleshootingEvents = new DeviceManagementTroubleshootingEventCollectionPage(response, null); + } + + if (json.has("activities")) { + final UserActivityCollectionResponse response = new UserActivityCollectionResponse(); + if (json.has("activities@odata.nextLink")) { + response.nextLink = json.get("activities@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("activities").toString(), JsonObject[].class); + final UserActivity[] array = new UserActivity[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserActivity.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + activities = new UserActivityCollectionPage(response, null); + } + + if (json.has("joinedTeams")) { + final GroupCollectionResponse response = new GroupCollectionResponse(); + if (json.has("joinedTeams@odata.nextLink")) { + response.nextLink = json.get("joinedTeams@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("joinedTeams").toString(), JsonObject[].class); + final Group[] array = new Group[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Group.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + joinedTeams = new GroupCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserActivity.java b/src/main/java/com/microsoft/graph/models/extensions/UserActivity.java index e9a16d89d73..7754c1d94b6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserActivity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserActivity.java @@ -3,12 +3,199 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.VisualInfo; +import com.microsoft.graph.models.generated.Status; +import com.microsoft.graph.models.extensions.ActivityHistoryItem; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ActivityHistoryItemCollectionResponse; +import com.microsoft.graph.requests.extensions.ActivityHistoryItemCollectionPage; -import com.microsoft.graph.models.generated.BaseUserActivity; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity. */ -public class UserActivity extends BaseUserActivity { +public class UserActivity extends Entity implements IJsonBackedObject { + + + /** + * The Visual Elements. + * Required. The object containing information to render the activity in the UX. + */ + @SerializedName("visualElements") + @Expose + public VisualInfo visualElements; + + /** + * The Activity Source Host. + * Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. + */ + @SerializedName("activitySourceHost") + @Expose + public String activitySourceHost; + + /** + * The Activation Url. + * Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists. + */ + @SerializedName("activationUrl") + @Expose + public String activationUrl; + + /** + * The App Activity Id. + * Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. + */ + @SerializedName("appActivityId") + @Expose + public String appActivityId; + + /** + * The App Display Name. + * Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. + */ + @SerializedName("appDisplayName") + @Expose + public String appDisplayName; + + /** + * The Content Url. + * Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). + */ + @SerializedName("contentUrl") + @Expose + public String contentUrl; + + /** + * The Created Date Time. + * Set by the server. DateTime in UTC when the object was created on the server. + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; + + /** + * The Expiration Date Time. + * Set by the server. DateTime in UTC when the object expired on the server. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Fallback Url. + * Optional. URL used to launch the activity in a web-based app, if available. + */ + @SerializedName("fallbackUrl") + @Expose + public String fallbackUrl; + + /** + * The Last Modified Date Time. + * Set by the server. DateTime in UTC when the object was modified on the server. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The User Timezone. + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation. + */ + @SerializedName("userTimezone") + @Expose + public String userTimezone; + + /** + * The Content Info. + * Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. + */ + @SerializedName("contentInfo") + @Expose + public com.google.gson.JsonElement contentInfo; + + /** + * The Status. + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + */ + @SerializedName("status") + @Expose + public Status status; + + /** + * The History Items. + * Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. + */ + public ActivityHistoryItemCollectionPage historyItems; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("historyItems")) { + final ActivityHistoryItemCollectionResponse response = new ActivityHistoryItemCollectionResponse(); + if (json.has("historyItems@odata.nextLink")) { + response.nextLink = json.get("historyItems@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("historyItems").toString(), JsonObject[].class); + final ActivityHistoryItem[] array = new ActivityHistoryItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ActivityHistoryItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + historyItems = new ActivityHistoryItemCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserAssignLicenseBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserAssignLicenseBody.java index dc7ca8a7369..ab0aadae9ee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserAssignLicenseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserAssignLicenseBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserAssignLicenseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Assign License Body. */ -public class UserAssignLicenseBody extends BaseUserAssignLicenseBody { +public class UserAssignLicenseBody { + /** + * The add Licenses. + * + */ + @SerializedName("addLicenses") + @Expose + public java.util.List addLicenses; + + /** + * The remove Licenses. + * + */ + @SerializedName("removeLicenses") + @Expose + public java.util.List removeLicenses; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserChangePasswordBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserChangePasswordBody.java index d6985889a78..ae6f12a98ee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserChangePasswordBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserChangePasswordBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserChangePasswordBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Change Password Body. */ -public class UserChangePasswordBody extends BaseUserChangePasswordBody { +public class UserChangePasswordBody { + /** + * The current Password. + * + */ + @SerializedName("currentPassword") + @Expose + public String currentPassword; + + /** + * The new Password. + * + */ + @SerializedName("newPassword") + @Expose + public String newPassword; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserExportPersonalDataBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserExportPersonalDataBody.java index cab7ad40d7a..8612268ab4c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserExportPersonalDataBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserExportPersonalDataBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserExportPersonalDataBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Export Personal Data Body. */ -public class UserExportPersonalDataBody extends BaseUserExportPersonalDataBody { +public class UserExportPersonalDataBody { + /** + * The storage Location. + * + */ + @SerializedName("storageLocation") + @Expose + public String storageLocation; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserFindMeetingTimesBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserFindMeetingTimesBody.java index 7324cb70c9f..6817437576c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserFindMeetingTimesBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserFindMeetingTimesBody.java @@ -4,13 +4,122 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserFindMeetingTimesBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Find Meeting Times Body. */ -public class UserFindMeetingTimesBody extends BaseUserFindMeetingTimesBody { +public class UserFindMeetingTimesBody { + /** + * The attendees. + * + */ + @SerializedName("attendees") + @Expose + public java.util.List attendees; + + /** + * The location Constraint. + * + */ + @SerializedName("locationConstraint") + @Expose + public LocationConstraint locationConstraint; + + /** + * The time Constraint. + * + */ + @SerializedName("timeConstraint") + @Expose + public TimeConstraint timeConstraint; + + /** + * The meeting Duration. + * + */ + @SerializedName("meetingDuration") + @Expose + public javax.xml.datatype.Duration meetingDuration; + + /** + * The max Candidates. + * + */ + @SerializedName("maxCandidates") + @Expose + public Integer maxCandidates; + + /** + * The is Organizer Optional. + * + */ + @SerializedName("isOrganizerOptional") + @Expose + public Boolean isOrganizerOptional; + + /** + * The return Suggestion Reasons. + * + */ + @SerializedName("returnSuggestionReasons") + @Expose + public Boolean returnSuggestionReasons; + + /** + * The minimum Attendee Percentage. + * + */ + @SerializedName("minimumAttendeePercentage") + @Expose + public Double minimumAttendeePercentage; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserGetMailTipsBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserGetMailTipsBody.java index 38f823ae382..5edd3ec33e7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserGetMailTipsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserGetMailTipsBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserGetMailTipsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Mail Tips Body. */ -public class UserGetMailTipsBody extends BaseUserGetMailTipsBody { +public class UserGetMailTipsBody { + /** + * The email Addresses. + * + */ + @SerializedName("emailAddresses") + @Expose + public java.util.List emailAddresses; + + /** + * The mail Tips Options. + * + */ + @SerializedName("mailTipsOptions") + @Expose + public EnumSet mailTipsOptions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserInstallStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/UserInstallStateSummary.java index 3ad03a8cc6d..63fb1e265e4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserInstallStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserInstallStateSummary.java @@ -3,12 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceInstallState; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionPage; -import com.microsoft.graph.models.generated.BaseUserInstallStateSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Install State Summary. */ -public class UserInstallStateSummary extends BaseUserInstallStateSummary { +public class UserInstallStateSummary extends Entity implements IJsonBackedObject { + + + /** + * The User Name. + * User name. + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The Installed Device Count. + * Installed Device Count. + */ + @SerializedName("installedDeviceCount") + @Expose + public Integer installedDeviceCount; + + /** + * The Failed Device Count. + * Failed Device Count. + */ + @SerializedName("failedDeviceCount") + @Expose + public Integer failedDeviceCount; + + /** + * The Not Installed Device Count. + * Not installed device count. + */ + @SerializedName("notInstalledDeviceCount") + @Expose + public Integer notInstalledDeviceCount; + + /** + * The Device States. + * The install state of the eBook. + */ + public DeviceInstallStateCollectionPage deviceStates; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("deviceStates")) { + final DeviceInstallStateCollectionResponse response = new DeviceInstallStateCollectionResponse(); + if (json.has("deviceStates@odata.nextLink")) { + response.nextLink = json.get("deviceStates@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStates").toString(), JsonObject[].class); + final DeviceInstallState[] array = new DeviceInstallState[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceInstallState.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceStates = new DeviceInstallStateCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserSecurityState.java b/src/main/java/com/microsoft/graph/models/extensions/UserSecurityState.java index eb48ae4808c..92c9a3d798f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserSecurityState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserSecurityState.java @@ -3,12 +3,192 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.EmailRole; +import com.microsoft.graph.models.generated.LogonType; +import com.microsoft.graph.models.generated.UserAccountSecurityType; -import com.microsoft.graph.models.generated.BaseUserSecurityState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Security State. */ -public class UserSecurityState extends BaseUserSecurityState { +public class UserSecurityState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Aad User Id. + * AAD User object identifier (GUID) - represents the physical/multi-account user entity. + */ + @SerializedName("aadUserId") + @Expose + public String aadUserId; + + /** + * The Account Name. + * Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName). + */ + @SerializedName("accountName") + @Expose + public String accountName; + + /** + * The Domain Name. + * NetBIOS/Active Directory domain of user account (that is, domain/account format). + */ + @SerializedName("domainName") + @Expose + public String domainName; + + /** + * The Email Role. + * For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. + */ + @SerializedName("emailRole") + @Expose + public EmailRole emailRole; + + /** + * The Is Vpn. + * Indicates whether the user logged on through a VPN. + */ + @SerializedName("isVpn") + @Expose + public Boolean isVpn; + + /** + * The Logon Date Time. + * Time at which the sign-in occurred. 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 would look like this: '2014-01-01T00:00:00Z'. + */ + @SerializedName("logonDateTime") + @Expose + public java.util.Calendar logonDateTime; + + /** + * The Logon Id. + * User sign-in ID. + */ + @SerializedName("logonId") + @Expose + public String logonId; + + /** + * The Logon Ip. + * IP Address the sign-in request originated from. + */ + @SerializedName("logonIp") + @Expose + public String logonIp; + + /** + * The Logon Location. + * Location (by IP address mapping) associated with a user sign-in event by this user. + */ + @SerializedName("logonLocation") + @Expose + public String logonLocation; + + /** + * The Logon Type. + * Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + */ + @SerializedName("logonType") + @Expose + public LogonType logonType; + + /** + * The On Premises Security Identifier. + * Active Directory (on-premises) Security Identifier (SID) of the user. + */ + @SerializedName("onPremisesSecurityIdentifier") + @Expose + public String onPremisesSecurityIdentifier; + + /** + * The Risk Score. + * Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage. + */ + @SerializedName("riskScore") + @Expose + public String riskScore; + + /** + * The User Account Type. + * User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. + */ + @SerializedName("userAccountType") + @Expose + public UserAccountSecurityType userAccountType; + + /** + * The User Principal Name. + * User sign-in name - internet format: (user account name)@(user account DNS domain name). + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserSendMailBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserSendMailBody.java index b1660e81bf3..35db2b2484b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserSendMailBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserSendMailBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserSendMailBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Send Mail Body. */ -public class UserSendMailBody extends BaseUserSendMailBody { +public class UserSendMailBody { + /** + * The message. + * + */ + @SerializedName("message") + @Expose + public Message message; + + /** + * The save To Sent Items. + * + */ + @SerializedName("saveToSentItems") + @Expose + public Boolean saveToSentItems; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserSettings.java b/src/main/java/com/microsoft/graph/models/extensions/UserSettings.java index 5bfe74b225a..403a9b73600 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserSettings.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseUserSettings; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Settings. */ -public class UserSettings extends BaseUserSettings { +public class UserSettings extends Entity implements IJsonBackedObject { + + + /** + * The Contribution To Content Discovery Disabled. + * + */ + @SerializedName("contributionToContentDiscoveryDisabled") + @Expose + public Boolean contributionToContentDiscoveryDisabled; + + /** + * The Contribution To Content Discovery As Organization Disabled. + * + */ + @SerializedName("contributionToContentDiscoveryAsOrganizationDisabled") + @Expose + public Boolean contributionToContentDiscoveryAsOrganizationDisabled; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/UserWipeManagedAppRegistrationsByDeviceTagBody.java b/src/main/java/com/microsoft/graph/models/extensions/UserWipeManagedAppRegistrationsByDeviceTagBody.java index 73fc425a79b..a9d76ebc6a5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/UserWipeManagedAppRegistrationsByDeviceTagBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/UserWipeManagedAppRegistrationsByDeviceTagBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseUserWipeManagedAppRegistrationsByDeviceTagBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Wipe Managed App Registrations By Device Tag Body. */ -public class UserWipeManagedAppRegistrationsByDeviceTagBody extends BaseUserWipeManagedAppRegistrationsByDeviceTagBody { +public class UserWipeManagedAppRegistrationsByDeviceTagBody { + /** + * The device Tag. + * + */ + @SerializedName("deviceTag") + @Expose + public String deviceTag; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/VerifiedDomain.java b/src/main/java/com/microsoft/graph/models/extensions/VerifiedDomain.java index 8ea023e61b7..3f69cf72fd4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/VerifiedDomain.java +++ b/src/main/java/com/microsoft/graph/models/extensions/VerifiedDomain.java @@ -3,14 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseVerifiedDomain; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Verified Domain. */ -public class VerifiedDomain extends BaseVerifiedDomain { +public class VerifiedDomain implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Capabilities. + * For example, 'Email', 'OfficeCommunicationsOnline'. + */ + @SerializedName("capabilities") + @Expose + public String capabilities; + + /** + * The Is Default. + * true if this is the default domain associated with the tenant; otherwise, false. + */ + @SerializedName("isDefault") + @Expose + public Boolean isDefault; + + /** + * The Is Initial. + * true if this is the initial domain associated with the tenant; otherwise, false + */ + @SerializedName("isInitial") + @Expose + public Boolean isInitial; + + /** + * The Name. + * The domain name; for example, 'contoso.onmicrosoft.com' + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Type. + * For example, 'Managed'. + */ + @SerializedName("type") + @Expose + public String type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Video.java b/src/main/java/com/microsoft/graph/models/extensions/Video.java index cd2d8cf19c8..53b5f2978d8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Video.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Video.java @@ -3,14 +3,157 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseVideo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Video. */ -public class Video extends BaseVideo { +public class Video implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Audio Bits Per Sample. + * Number of audio bits per sample. + */ + @SerializedName("audioBitsPerSample") + @Expose + public Integer audioBitsPerSample; + + /** + * The Audio Channels. + * Number of audio channels. + */ + @SerializedName("audioChannels") + @Expose + public Integer audioChannels; + + /** + * The Audio Format. + * Name of the audio format (AAC, MP3, etc.). + */ + @SerializedName("audioFormat") + @Expose + public String audioFormat; + + /** + * The Audio Samples Per Second. + * Number of audio samples per second. + */ + @SerializedName("audioSamplesPerSecond") + @Expose + public Integer audioSamplesPerSecond; + + /** + * The Bitrate. + * Bit rate of the video in bits per second. + */ + @SerializedName("bitrate") + @Expose + public Integer bitrate; + + /** + * The Duration. + * Duration of the file in milliseconds. + */ + @SerializedName("duration") + @Expose + public Long duration; + + /** + * The Four CC. + * 'Four character code' name of the video format. + */ + @SerializedName("fourCC") + @Expose + public String fourCC; + + /** + * The Frame Rate. + * Frame rate of the video. + */ + @SerializedName("frameRate") + @Expose + public Double frameRate; + + /** + * The Height. + * Height of the video, in pixels. + */ + @SerializedName("height") + @Expose + public Integer height; + + /** + * The Width. + * Width of the video, in pixels. + */ + @SerializedName("width") + @Expose + public Integer width; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/VisualInfo.java b/src/main/java/com/microsoft/graph/models/extensions/VisualInfo.java index 11b462fe478..edef4d12fd3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/VisualInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/VisualInfo.java @@ -3,12 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ImageInfo; -import com.microsoft.graph.models.generated.BaseVisualInfo; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Visual Info. */ -public class VisualInfo extends BaseVisualInfo { +public class VisualInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Attribution. + * Optional. JSON object used to represent an icon which represents the application used to generate the activity + */ + @SerializedName("attribution") + @Expose + public ImageInfo attribution; + + /** + * The Background Color. + * Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color + */ + @SerializedName("backgroundColor") + @Expose + public String backgroundColor; + + /** + * The Description. + * Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Text. + * Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation) + */ + @SerializedName("displayText") + @Expose + public String displayText; + + /** + * The Content. + * Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI + */ + @SerializedName("content") + @Expose + public com.google.gson.JsonElement content; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/VppLicensingType.java b/src/main/java/com/microsoft/graph/models/extensions/VppLicensingType.java index 7c15fc151ed..cbfb8e54d33 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/VppLicensingType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/VppLicensingType.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseVppLicensingType; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Licensing Type. */ -public class VppLicensingType extends BaseVppLicensingType { +public class VppLicensingType implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Supports User Licensing. + * Whether the program supports the user licensing type. + */ + @SerializedName("supportsUserLicensing") + @Expose + public Boolean supportsUserLicensing; + + /** + * The Supports Device Licensing. + * Whether the program supports the device licensing type. + */ + @SerializedName("supportsDeviceLicensing") + @Expose + public Boolean supportsDeviceLicensing; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/VppToken.java b/src/main/java/com/microsoft/graph/models/extensions/VppToken.java index 297fe1dd3d0..5c319eaf2b9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/VppToken.java +++ b/src/main/java/com/microsoft/graph/models/extensions/VppToken.java @@ -3,12 +3,159 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.VppTokenAccountType; +import com.microsoft.graph.models.generated.VppTokenState; +import com.microsoft.graph.models.generated.VppTokenSyncStatus; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseVppToken; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token. */ -public class VppToken extends BaseVppToken { +public class VppToken extends Entity implements IJsonBackedObject { + + + /** + * The Organization Name. + * The organization associated with the Apple Volume Purchase Program Token + */ + @SerializedName("organizationName") + @Expose + public String organizationName; + + /** + * The Vpp Token Account Type. + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + */ + @SerializedName("vppTokenAccountType") + @Expose + public VppTokenAccountType vppTokenAccountType; + + /** + * The Apple Id. + * The apple Id associated with the given Apple Volume Purchase Program Token. + */ + @SerializedName("appleId") + @Expose + public String appleId; + + /** + * The Expiration Date Time. + * The expiration date time of the Apple Volume Purchase Program Token. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Last Sync Date Time. + * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + */ + @SerializedName("lastSyncDateTime") + @Expose + public java.util.Calendar lastSyncDateTime; + + /** + * The Token. + * The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. + */ + @SerializedName("token") + @Expose + public String token; + + /** + * The Last Modified Date Time. + * Last modification date time associated with the Apple Volume Purchase Program Token. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + + /** + * The State. + * Current state of the Apple Volume Purchase Program Token. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. + */ + @SerializedName("state") + @Expose + public VppTokenState state; + + /** + * The Last Sync Status. + * Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: none, inProgress, completed, failed. Possible values are: none, inProgress, completed, failed. + */ + @SerializedName("lastSyncStatus") + @Expose + public VppTokenSyncStatus lastSyncStatus; + + /** + * The Automatically Update Apps. + * Whether or not apps for the VPP token will be automatically updated. + */ + @SerializedName("automaticallyUpdateApps") + @Expose + public Boolean automaticallyUpdateApps; + + /** + * The Country Or Region. + * Whether or not apps for the VPP token will be automatically updated. + */ + @SerializedName("countryOrRegion") + @Expose + public String countryOrRegion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/VulnerabilityState.java b/src/main/java/com/microsoft/graph/models/extensions/VulnerabilityState.java index 8020a416525..c8541a362fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/VulnerabilityState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/VulnerabilityState.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseVulnerabilityState; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vulnerability State. */ -public class VulnerabilityState extends BaseVulnerabilityState { +public class VulnerabilityState implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Cve. + * Common Vulnerabilities and Exposures (CVE) for the vulnerability. + */ + @SerializedName("cve") + @Expose + public String cve; + + /** + * The Severity. + * Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability. + */ + @SerializedName("severity") + @Expose + public String severity; + + /** + * The Was Running. + * Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk. + */ + @SerializedName("wasRunning") + @Expose + public Boolean wasRunning; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WebApp.java b/src/main/java/com/microsoft/graph/models/extensions/WebApp.java index 2e197942a87..e6f83e11a2b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WebApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WebApp.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.generated.BaseWebApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Web App. */ -public class WebApp extends BaseWebApp { +public class WebApp extends MobileApp implements IJsonBackedObject { + + + /** + * The App Url. + * The web app URL. + */ + @SerializedName("appUrl") + @Expose + public String appUrl; + + /** + * The Use Managed Browser. + * Whether or not to use managed browser. This property is only applicable for Android and IOS. + */ + @SerializedName("useManagedBrowser") + @Expose + public Boolean useManagedBrowser; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Website.java b/src/main/java/com/microsoft/graph/models/extensions/Website.java index 5c524835f30..a277950b4ef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Website.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Website.java @@ -3,14 +3,102 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WebsiteType; -import com.microsoft.graph.models.generated.BaseWebsite; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Website. */ -public class Website extends BaseWebsite { +public class Website implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Type. + * The possible values are: other, home, work, blog, profile. + */ + @SerializedName("type") + @Expose + public WebsiteType type; + + /** + * The Address. + * The URL of the website. + */ + @SerializedName("address") + @Expose + public String address; + + /** + * The Display Name. + * The display name of the web site. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10CompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10CompliancePolicy.java index 74dc4a51481..fd366fefc46 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10CompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10CompliancePolicy.java @@ -3,12 +3,221 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseWindows10CompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Compliance Policy. */ -public class Windows10CompliancePolicy extends BaseWindows10CompliancePolicy { +public class Windows10CompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Required. + * Require a password to unlock Windows device. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Block Simple. + * Indicates whether or not to block simple password. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Required To Unlock From Idle. + * Require a password to unlock an idle device. + */ + @SerializedName("passwordRequiredToUnlockFromIdle") + @Expose + public Boolean passwordRequiredToUnlockFromIdle; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Expiration Days. + * The password expiration in days. + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * The minimum password length. + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Previous Password Block Count. + * The number of previous passwords to prevent re-use of. + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Require Healthy Device Report. + * Require devices to be reported as healthy by Windows Device Health Attestation. + */ + @SerializedName("requireHealthyDeviceReport") + @Expose + public Boolean requireHealthyDeviceReport; + + /** + * The Os Minimum Version. + * Minimum Windows 10 version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum Windows 10 version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Mobile Os Minimum Version. + * Minimum Windows Phone version. + */ + @SerializedName("mobileOsMinimumVersion") + @Expose + public String mobileOsMinimumVersion; + + /** + * The Mobile Os Maximum Version. + * Maximum Windows Phone version. + */ + @SerializedName("mobileOsMaximumVersion") + @Expose + public String mobileOsMaximumVersion; + + /** + * The Early Launch Anti Malware Driver Enabled. + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + */ + @SerializedName("earlyLaunchAntiMalwareDriverEnabled") + @Expose + public Boolean earlyLaunchAntiMalwareDriverEnabled; + + /** + * The Bit Locker Enabled. + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + */ + @SerializedName("bitLockerEnabled") + @Expose + public Boolean bitLockerEnabled; + + /** + * The Secure Boot Enabled. + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + */ + @SerializedName("secureBootEnabled") + @Expose + public Boolean secureBootEnabled; + + /** + * The Code Integrity Enabled. + * Require devices to be reported as healthy by Windows Device Health Attestation. + */ + @SerializedName("codeIntegrityEnabled") + @Expose + public Boolean codeIntegrityEnabled; + + /** + * The Storage Require Encryption. + * Require encryption on windows devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10CustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10CustomConfiguration.java index ff7e2f1bbfd..abc016a76fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10CustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10CustomConfiguration.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows10CustomConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Custom Configuration. */ -public class Windows10CustomConfiguration extends BaseWindows10CustomConfiguration { +public class Windows10CustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Oma Settings. + * OMA settings. This collection can contain a maximum of 1000 elements. + */ + @SerializedName("omaSettings") + @Expose + public java.util.List omaSettings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10EndpointProtectionConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10EndpointProtectionConfiguration.java index e53add02748..ee8f98be8dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10EndpointProtectionConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10EndpointProtectionConfiguration.java @@ -3,12 +3,364 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.FirewallPreSharedKeyEncodingMethodType; +import com.microsoft.graph.models.generated.FirewallCertificateRevocationListCheckMethodType; +import com.microsoft.graph.models.generated.FirewallPacketQueueingMethodType; +import com.microsoft.graph.models.extensions.WindowsFirewallNetworkProfile; +import com.microsoft.graph.models.generated.AppLockerApplicationControlType; +import com.microsoft.graph.models.generated.ApplicationGuardBlockFileTransferType; +import com.microsoft.graph.models.generated.ApplicationGuardBlockClipboardSharingType; +import com.microsoft.graph.models.extensions.BitLockerRemovableDrivePolicy; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows10EndpointProtectionConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Endpoint Protection Configuration. */ -public class Windows10EndpointProtectionConfiguration extends BaseWindows10EndpointProtectionConfiguration { +public class Windows10EndpointProtectionConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Firewall Block Stateful FTP. + * Blocks stateful FTP connections to the device + */ + @SerializedName("firewallBlockStatefulFTP") + @Expose + public Boolean firewallBlockStatefulFTP; + + /** + * The Firewall Idle Timeout For Security Association In Seconds. + * Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600 + */ + @SerializedName("firewallIdleTimeoutForSecurityAssociationInSeconds") + @Expose + public Integer firewallIdleTimeoutForSecurityAssociationInSeconds; + + /** + * The Firewall Pre Shared Key Encoding Method. + * Select the preshared key encoding to be used. Possible values are: deviceDefault, none, utF8. + */ + @SerializedName("firewallPreSharedKeyEncodingMethod") + @Expose + public FirewallPreSharedKeyEncodingMethodType firewallPreSharedKeyEncodingMethod; + + /** + * The Firewall IPSec Exemptions Allow Neighbor Discovery. + * Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes + */ + @SerializedName("firewallIPSecExemptionsAllowNeighborDiscovery") + @Expose + public Boolean firewallIPSecExemptionsAllowNeighborDiscovery; + + /** + * The Firewall IPSec Exemptions Allow ICMP. + * Configures IPSec exemptions to allow ICMP + */ + @SerializedName("firewallIPSecExemptionsAllowICMP") + @Expose + public Boolean firewallIPSecExemptionsAllowICMP; + + /** + * The Firewall IPSec Exemptions Allow Router Discovery. + * Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes + */ + @SerializedName("firewallIPSecExemptionsAllowRouterDiscovery") + @Expose + public Boolean firewallIPSecExemptionsAllowRouterDiscovery; + + /** + * The Firewall IPSec Exemptions Allow DHCP. + * Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic + */ + @SerializedName("firewallIPSecExemptionsAllowDHCP") + @Expose + public Boolean firewallIPSecExemptionsAllowDHCP; + + /** + * The Firewall Certificate Revocation List Check Method. + * Specify how the certificate revocation list is to be enforced. Possible values are: deviceDefault, none, attempt, require. + */ + @SerializedName("firewallCertificateRevocationListCheckMethod") + @Expose + public FirewallCertificateRevocationListCheckMethodType firewallCertificateRevocationListCheckMethod; + + /** + * The Firewall Merge Keying Module Settings. + * If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set + */ + @SerializedName("firewallMergeKeyingModuleSettings") + @Expose + public Boolean firewallMergeKeyingModuleSettings; + + /** + * The Firewall Packet Queueing Method. + * Configures how packet queueing should be applied in the tunnel gateway scenario. Possible values are: deviceDefault, disabled, queueInbound, queueOutbound, queueBoth. + */ + @SerializedName("firewallPacketQueueingMethod") + @Expose + public FirewallPacketQueueingMethodType firewallPacketQueueingMethod; + + /** + * The Firewall Profile Domain. + * Configures the firewall profile settings for domain networks + */ + @SerializedName("firewallProfileDomain") + @Expose + public WindowsFirewallNetworkProfile firewallProfileDomain; + + /** + * The Firewall Profile Public. + * Configures the firewall profile settings for public networks + */ + @SerializedName("firewallProfilePublic") + @Expose + public WindowsFirewallNetworkProfile firewallProfilePublic; + + /** + * The Firewall Profile Private. + * Configures the firewall profile settings for private networks + */ + @SerializedName("firewallProfilePrivate") + @Expose + public WindowsFirewallNetworkProfile firewallProfilePrivate; + + /** + * The Defender Attack Surface Reduction Excluded Paths. + * List of exe files and folders to be excluded from attack surface reduction rules + */ + @SerializedName("defenderAttackSurfaceReductionExcludedPaths") + @Expose + public java.util.List defenderAttackSurfaceReductionExcludedPaths; + + /** + * The Defender Guarded Folders Allowed App Paths. + * List of paths to exe that are allowed to access protected folders + */ + @SerializedName("defenderGuardedFoldersAllowedAppPaths") + @Expose + public java.util.List defenderGuardedFoldersAllowedAppPaths; + + /** + * The Defender Additional Guarded Folders. + * List of folder paths to be added to the list of protected folders + */ + @SerializedName("defenderAdditionalGuardedFolders") + @Expose + public java.util.List defenderAdditionalGuardedFolders; + + /** + * The Defender Exploit Protection Xml. + * Xml content containing information regarding exploit protection details. + */ + @SerializedName("defenderExploitProtectionXml") + @Expose + public byte[] defenderExploitProtectionXml; + + /** + * The Defender Exploit Protection Xml File Name. + * Name of the file from which DefenderExploitProtectionXml was obtained. + */ + @SerializedName("defenderExploitProtectionXmlFileName") + @Expose + public String defenderExploitProtectionXmlFileName; + + /** + * The Defender Security Center Block Exploit Protection Override. + * Indicates whether or not to block user from overriding Exploit Protection settings. + */ + @SerializedName("defenderSecurityCenterBlockExploitProtectionOverride") + @Expose + public Boolean defenderSecurityCenterBlockExploitProtectionOverride; + + /** + * The App Locker Application Control. + * Enables the Admin to choose what types of app to allow on devices. Possible values are: notConfigured, enforceComponentsAndStoreApps, auditComponentsAndStoreApps, enforceComponentsStoreAppsAndSmartlocker, auditComponentsStoreAppsAndSmartlocker. + */ + @SerializedName("appLockerApplicationControl") + @Expose + public AppLockerApplicationControlType appLockerApplicationControl; + + /** + * The Smart Screen Enable In Shell. + * Allows IT Admins to configure SmartScreen for Windows. + */ + @SerializedName("smartScreenEnableInShell") + @Expose + public Boolean smartScreenEnableInShell; + + /** + * The Smart Screen Block Override For Files. + * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + */ + @SerializedName("smartScreenBlockOverrideForFiles") + @Expose + public Boolean smartScreenBlockOverrideForFiles; + + /** + * The Application Guard Enabled. + * Enable Windows Defender Application Guard + */ + @SerializedName("applicationGuardEnabled") + @Expose + public Boolean applicationGuardEnabled; + + /** + * The Application Guard Block File Transfer. + * Block clipboard to transfer image file, text file or neither of them. Possible values are: notConfigured, blockImageAndTextFile, blockImageFile, blockNone, blockTextFile. + */ + @SerializedName("applicationGuardBlockFileTransfer") + @Expose + public ApplicationGuardBlockFileTransferType applicationGuardBlockFileTransfer; + + /** + * The Application Guard Block Non Enterprise Content. + * Block enterprise sites to load non-enterprise content, such as third party plug-ins + */ + @SerializedName("applicationGuardBlockNonEnterpriseContent") + @Expose + public Boolean applicationGuardBlockNonEnterpriseContent; + + /** + * The Application Guard Allow Persistence. + * Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.) + */ + @SerializedName("applicationGuardAllowPersistence") + @Expose + public Boolean applicationGuardAllowPersistence; + + /** + * The Application Guard Force Auditing. + * Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.) + */ + @SerializedName("applicationGuardForceAuditing") + @Expose + public Boolean applicationGuardForceAuditing; + + /** + * The Application Guard Block Clipboard Sharing. + * Block clipboard to share data from Host to Container, or from Container to Host, or both ways, or neither ways. Possible values are: notConfigured, blockBoth, blockHostToContainer, blockContainerToHost, blockNone. + */ + @SerializedName("applicationGuardBlockClipboardSharing") + @Expose + public ApplicationGuardBlockClipboardSharingType applicationGuardBlockClipboardSharing; + + /** + * The Application Guard Allow Print To PDF. + * Allow printing to PDF from Container + */ + @SerializedName("applicationGuardAllowPrintToPDF") + @Expose + public Boolean applicationGuardAllowPrintToPDF; + + /** + * The Application Guard Allow Print To XPS. + * Allow printing to XPS from Container + */ + @SerializedName("applicationGuardAllowPrintToXPS") + @Expose + public Boolean applicationGuardAllowPrintToXPS; + + /** + * The Application Guard Allow Print To Local Printers. + * Allow printing to Local Printers from Container + */ + @SerializedName("applicationGuardAllowPrintToLocalPrinters") + @Expose + public Boolean applicationGuardAllowPrintToLocalPrinters; + + /** + * The Application Guard Allow Print To Network Printers. + * Allow printing to Network Printers from Container + */ + @SerializedName("applicationGuardAllowPrintToNetworkPrinters") + @Expose + public Boolean applicationGuardAllowPrintToNetworkPrinters; + + /** + * The Bit Locker Disable Warning For Other Disk Encryption. + * Allows the Admin to disable the warning prompt for other disk encryption on the user machines. + */ + @SerializedName("bitLockerDisableWarningForOtherDiskEncryption") + @Expose + public Boolean bitLockerDisableWarningForOtherDiskEncryption; + + /** + * The Bit Locker Enable Storage Card Encryption On Mobile. + * Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU. + */ + @SerializedName("bitLockerEnableStorageCardEncryptionOnMobile") + @Expose + public Boolean bitLockerEnableStorageCardEncryptionOnMobile; + + /** + * The Bit Locker Encrypt Device. + * Allows the admin to require encryption to be turned on using BitLocker. + */ + @SerializedName("bitLockerEncryptDevice") + @Expose + public Boolean bitLockerEncryptDevice; + + /** + * The Bit Locker Removable Drive Policy. + * BitLocker Removable Drive Policy. + */ + @SerializedName("bitLockerRemovableDrivePolicy") + @Expose + public BitLockerRemovableDrivePolicy bitLockerRemovableDrivePolicy; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10EnterpriseModernAppManagementConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10EnterpriseModernAppManagementConfiguration.java index 0b98a875f1e..67b37130205 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10EnterpriseModernAppManagementConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10EnterpriseModernAppManagementConfiguration.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows10EnterpriseModernAppManagementConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Enterprise Modern App Management Configuration. */ -public class Windows10EnterpriseModernAppManagementConfiguration extends BaseWindows10EnterpriseModernAppManagementConfiguration { +public class Windows10EnterpriseModernAppManagementConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Uninstall Built In Apps. + * Indicates whether or not to uninstall a fixed list of built-in Windows apps. + */ + @SerializedName("uninstallBuiltInApps") + @Expose + public Boolean uninstallBuiltInApps; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10GeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10GeneralConfiguration.java index 6f9660b8189..6d5cbca4499 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10GeneralConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10GeneralConfiguration.java @@ -3,12 +3,1693 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DiagnosticDataSubmissionMode; +import com.microsoft.graph.models.generated.EdgeCookiePolicy; +import com.microsoft.graph.models.extensions.DefenderDetectedMalwareActions; +import com.microsoft.graph.models.generated.WeeklySchedule; +import com.microsoft.graph.models.generated.DefenderMonitorFileActivity; +import com.microsoft.graph.models.generated.DefenderPromptForSampleSubmission; +import com.microsoft.graph.models.generated.DefenderScanType; +import com.microsoft.graph.models.generated.DefenderCloudBlockLevelType; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.generated.StateManagementSetting; +import com.microsoft.graph.models.generated.WindowsStartMenuAppListVisibilityType; +import com.microsoft.graph.models.generated.WindowsStartMenuModeType; +import com.microsoft.graph.models.generated.VisibilitySetting; +import com.microsoft.graph.models.generated.WindowsSpotlightEnablementSettings; +import com.microsoft.graph.models.extensions.Windows10NetworkProxyServer; +import com.microsoft.graph.models.generated.SafeSearchFilterType; +import com.microsoft.graph.models.extensions.EdgeSearchEngineBase; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows10GeneralConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10General Configuration. */ -public class Windows10GeneralConfiguration extends BaseWindows10GeneralConfiguration { +public class Windows10GeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Enterprise Cloud Print Discovery End Point. + * Endpoint for discovering cloud printers. + */ + @SerializedName("enterpriseCloudPrintDiscoveryEndPoint") + @Expose + public String enterpriseCloudPrintDiscoveryEndPoint; + + /** + * The Enterprise Cloud Print OAuth Authority. + * Authentication endpoint for acquiring OAuth tokens. + */ + @SerializedName("enterpriseCloudPrintOAuthAuthority") + @Expose + public String enterpriseCloudPrintOAuthAuthority; + + /** + * The Enterprise Cloud Print OAuth Client Identifier. + * GUID of a client application authorized to retrieve OAuth tokens from the OAuth Authority. + */ + @SerializedName("enterpriseCloudPrintOAuthClientIdentifier") + @Expose + public String enterpriseCloudPrintOAuthClientIdentifier; + + /** + * The Enterprise Cloud Print Resource Identifier. + * OAuth resource URI for print service as configured in the Azure portal. + */ + @SerializedName("enterpriseCloudPrintResourceIdentifier") + @Expose + public String enterpriseCloudPrintResourceIdentifier; + + /** + * The Enterprise Cloud Print Discovery Max Limit. + * Maximum number of printers that should be queried from a discovery endpoint. This is a mobile only setting. Valid values 1 to 65535 + */ + @SerializedName("enterpriseCloudPrintDiscoveryMaxLimit") + @Expose + public Integer enterpriseCloudPrintDiscoveryMaxLimit; + + /** + * The Enterprise Cloud Print Mopria Discovery Resource Identifier. + * OAuth resource URI for printer discovery service as configured in Azure portal. + */ + @SerializedName("enterpriseCloudPrintMopriaDiscoveryResourceIdentifier") + @Expose + public String enterpriseCloudPrintMopriaDiscoveryResourceIdentifier; + + /** + * The Search Block Diacritics. + * Specifies if search can use diacritics. + */ + @SerializedName("searchBlockDiacritics") + @Expose + public Boolean searchBlockDiacritics; + + /** + * The Search Disable Auto Language Detection. + * Specifies whether to use automatic language detection when indexing content and properties. + */ + @SerializedName("searchDisableAutoLanguageDetection") + @Expose + public Boolean searchDisableAutoLanguageDetection; + + /** + * The Search Disable Indexing Encrypted Items. + * Indicates whether or not to block indexing of WIP-protected items to prevent them from appearing in search results for Cortana or Explorer. + */ + @SerializedName("searchDisableIndexingEncryptedItems") + @Expose + public Boolean searchDisableIndexingEncryptedItems; + + /** + * The Search Enable Remote Queries. + * Indicates whether or not to block remote queries of this computer’s index. + */ + @SerializedName("searchEnableRemoteQueries") + @Expose + public Boolean searchEnableRemoteQueries; + + /** + * The Search Disable Indexer Backoff. + * Indicates whether or not to disable the search indexer backoff feature. + */ + @SerializedName("searchDisableIndexerBackoff") + @Expose + public Boolean searchDisableIndexerBackoff; + + /** + * The Search Disable Indexing Removable Drive. + * Indicates whether or not to allow users to add locations on removable drives to libraries and to be indexed. + */ + @SerializedName("searchDisableIndexingRemovableDrive") + @Expose + public Boolean searchDisableIndexingRemovableDrive; + + /** + * The Search Enable Automatic Index Size Manangement. + * Specifies minimum amount of hard drive space on the same drive as the index location before indexing stops. + */ + @SerializedName("searchEnableAutomaticIndexSizeManangement") + @Expose + public Boolean searchEnableAutomaticIndexSizeManangement; + + /** + * The Diagnostics Data Submission Mode. + * Gets or sets a value allowing the device to send diagnostic and usage telemetry data, such as Watson. Possible values are: userDefined, none, basic, enhanced, full. + */ + @SerializedName("diagnosticsDataSubmissionMode") + @Expose + public DiagnosticDataSubmissionMode diagnosticsDataSubmissionMode; + + /** + * The One Drive Disable File Sync. + * Gets or sets a value allowing IT admins to prevent apps and features from working with files on OneDrive. + */ + @SerializedName("oneDriveDisableFileSync") + @Expose + public Boolean oneDriveDisableFileSync; + + /** + * The Smart Screen Enable App Install Control. + * Allows IT Admins to control whether users are allowed to install apps from places other than the Store. + */ + @SerializedName("smartScreenEnableAppInstallControl") + @Expose + public Boolean smartScreenEnableAppInstallControl; + + /** + * The Personalization Desktop Image Url. + * A http or https Url to a jpg, jpeg or png image that needs to be downloaded and used as the Desktop Image or a file Url to a local image on the file system that needs to used as the Desktop Image. + */ + @SerializedName("personalizationDesktopImageUrl") + @Expose + public String personalizationDesktopImageUrl; + + /** + * The Personalization Lock Screen Image Url. + * A http or https Url to a jpg, jpeg or png image that neeeds to be downloaded and used as the Lock Screen Image or a file Url to a local image on the file system that needs to be used as the Lock Screen Image. + */ + @SerializedName("personalizationLockScreenImageUrl") + @Expose + public String personalizationLockScreenImageUrl; + + /** + * The Bluetooth Allowed Services. + * Specify a list of allowed Bluetooth services and profiles in hex formatted strings. + */ + @SerializedName("bluetoothAllowedServices") + @Expose + public java.util.List bluetoothAllowedServices; + + /** + * The Bluetooth Block Advertising. + * Whether or not to Block the user from using bluetooth advertising. + */ + @SerializedName("bluetoothBlockAdvertising") + @Expose + public Boolean bluetoothBlockAdvertising; + + /** + * The Bluetooth Block Discoverable Mode. + * Whether or not to Block the user from using bluetooth discoverable mode. + */ + @SerializedName("bluetoothBlockDiscoverableMode") + @Expose + public Boolean bluetoothBlockDiscoverableMode; + + /** + * The Bluetooth Block Pre Pairing. + * Whether or not to block specific bundled Bluetooth peripherals to automatically pair with the host device. + */ + @SerializedName("bluetoothBlockPrePairing") + @Expose + public Boolean bluetoothBlockPrePairing; + + /** + * The Edge Block Autofill. + * Indicates whether or not to block auto fill. + */ + @SerializedName("edgeBlockAutofill") + @Expose + public Boolean edgeBlockAutofill; + + /** + * The Edge Blocked. + * Indicates whether or not to Block the user from using the Edge browser. + */ + @SerializedName("edgeBlocked") + @Expose + public Boolean edgeBlocked; + + /** + * The Edge Cookie Policy. + * Indicates which cookies to block in the Edge browser. Possible values are: userDefined, allow, blockThirdParty, blockAll. + */ + @SerializedName("edgeCookiePolicy") + @Expose + public EdgeCookiePolicy edgeCookiePolicy; + + /** + * The Edge Block Developer Tools. + * Indicates whether or not to block developer tools in the Edge browser. + */ + @SerializedName("edgeBlockDeveloperTools") + @Expose + public Boolean edgeBlockDeveloperTools; + + /** + * The Edge Block Sending Do Not Track Header. + * Indicates whether or not to Block the user from sending the do not track header. + */ + @SerializedName("edgeBlockSendingDoNotTrackHeader") + @Expose + public Boolean edgeBlockSendingDoNotTrackHeader; + + /** + * The Edge Block Extensions. + * Indicates whether or not to block extensions in the Edge browser. + */ + @SerializedName("edgeBlockExtensions") + @Expose + public Boolean edgeBlockExtensions; + + /** + * The Edge Block In Private Browsing. + * Indicates whether or not to block InPrivate browsing on corporate networks, in the Edge browser. + */ + @SerializedName("edgeBlockInPrivateBrowsing") + @Expose + public Boolean edgeBlockInPrivateBrowsing; + + /** + * The Edge Block Java Script. + * Indicates whether or not to Block the user from using JavaScript. + */ + @SerializedName("edgeBlockJavaScript") + @Expose + public Boolean edgeBlockJavaScript; + + /** + * The Edge Block Password Manager. + * Indicates whether or not to Block password manager. + */ + @SerializedName("edgeBlockPasswordManager") + @Expose + public Boolean edgeBlockPasswordManager; + + /** + * The Edge Block Address Bar Dropdown. + * Block the address bar dropdown functionality in Microsoft Edge. Disable this settings to minimize network connections from Microsoft Edge to Microsoft services. + */ + @SerializedName("edgeBlockAddressBarDropdown") + @Expose + public Boolean edgeBlockAddressBarDropdown; + + /** + * The Edge Block Compatibility List. + * Block Microsoft compatibility list in Microsoft Edge. This list from Microsoft helps Edge properly display sites with known compatibility issues. + */ + @SerializedName("edgeBlockCompatibilityList") + @Expose + public Boolean edgeBlockCompatibilityList; + + /** + * The Edge Clear Browsing Data On Exit. + * Clear browsing data on exiting Microsoft Edge. + */ + @SerializedName("edgeClearBrowsingDataOnExit") + @Expose + public Boolean edgeClearBrowsingDataOnExit; + + /** + * The Edge Allow Start Pages Modification. + * Allow users to change Start pages on Edge. Use the EdgeHomepageUrls to specify the Start pages that the user would see by default when they open Edge. + */ + @SerializedName("edgeAllowStartPagesModification") + @Expose + public Boolean edgeAllowStartPagesModification; + + /** + * The Edge Disable First Run Page. + * Block the Microsoft web page that opens on the first use of Microsoft Edge. This policy allows enterprises, like those enrolled in zero emissions configurations, to block this page. + */ + @SerializedName("edgeDisableFirstRunPage") + @Expose + public Boolean edgeDisableFirstRunPage; + + /** + * The Edge Block Live Tile Data Collection. + * Block the collection of information by Microsoft for live tile creation when users pin a site to Start from Microsoft Edge. + */ + @SerializedName("edgeBlockLiveTileDataCollection") + @Expose + public Boolean edgeBlockLiveTileDataCollection; + + /** + * The Edge Sync Favorites With Internet Explorer. + * Enable favorites sync between Internet Explorer and Microsoft Edge. Additions, deletions, modifications and order changes to favorites are shared between browsers. + */ + @SerializedName("edgeSyncFavoritesWithInternetExplorer") + @Expose + public Boolean edgeSyncFavoritesWithInternetExplorer; + + /** + * The Cellular Block Data When Roaming. + * Whether or not to Block the user from using data over cellular while roaming. + */ + @SerializedName("cellularBlockDataWhenRoaming") + @Expose + public Boolean cellularBlockDataWhenRoaming; + + /** + * The Cellular Block Vpn. + * Whether or not to Block the user from using VPN over cellular. + */ + @SerializedName("cellularBlockVpn") + @Expose + public Boolean cellularBlockVpn; + + /** + * The Cellular Block Vpn When Roaming. + * Whether or not to Block the user from using VPN when roaming over cellular. + */ + @SerializedName("cellularBlockVpnWhenRoaming") + @Expose + public Boolean cellularBlockVpnWhenRoaming; + + /** + * The Defender Block End User Access. + * Whether or not to block end user access to Defender. + */ + @SerializedName("defenderBlockEndUserAccess") + @Expose + public Boolean defenderBlockEndUserAccess; + + /** + * The Defender Days Before Deleting Quarantined Malware. + * Number of days before deleting quarantined malware. Valid values 0 to 90 + */ + @SerializedName("defenderDaysBeforeDeletingQuarantinedMalware") + @Expose + public Integer defenderDaysBeforeDeletingQuarantinedMalware; + + /** + * The Defender Detected Malware Actions. + * Gets or sets Defender’s actions to take on detected Malware per threat level. + */ + @SerializedName("defenderDetectedMalwareActions") + @Expose + public DefenderDetectedMalwareActions defenderDetectedMalwareActions; + + /** + * The Defender System Scan Schedule. + * Defender day of the week for the system scan. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday. + */ + @SerializedName("defenderSystemScanSchedule") + @Expose + public WeeklySchedule defenderSystemScanSchedule; + + /** + * The Defender Files And Folders To Exclude. + * Files and folder to exclude from scans and real time protection. + */ + @SerializedName("defenderFilesAndFoldersToExclude") + @Expose + public java.util.List defenderFilesAndFoldersToExclude; + + /** + * The Defender File Extensions To Exclude. + * File extensions to exclude from scans and real time protection. + */ + @SerializedName("defenderFileExtensionsToExclude") + @Expose + public java.util.List defenderFileExtensionsToExclude; + + /** + * The Defender Scan Max Cpu. + * Max CPU usage percentage during scan. Valid values 0 to 100 + */ + @SerializedName("defenderScanMaxCpu") + @Expose + public Integer defenderScanMaxCpu; + + /** + * The Defender Monitor File Activity. + * Value for monitoring file activity. Possible values are: userDefined, disable, monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + */ + @SerializedName("defenderMonitorFileActivity") + @Expose + public DefenderMonitorFileActivity defenderMonitorFileActivity; + + /** + * The Defender Processes To Exclude. + * Processes to exclude from scans and real time protection. + */ + @SerializedName("defenderProcessesToExclude") + @Expose + public java.util.List defenderProcessesToExclude; + + /** + * The Defender Prompt For Sample Submission. + * The configuration for how to prompt user for sample submission. Possible values are: userDefined, alwaysPrompt, promptBeforeSendingPersonalData, neverSendData, sendAllDataWithoutPrompting. + */ + @SerializedName("defenderPromptForSampleSubmission") + @Expose + public DefenderPromptForSampleSubmission defenderPromptForSampleSubmission; + + /** + * The Defender Require Behavior Monitoring. + * Indicates whether or not to require behavior monitoring. + */ + @SerializedName("defenderRequireBehaviorMonitoring") + @Expose + public Boolean defenderRequireBehaviorMonitoring; + + /** + * The Defender Require Cloud Protection. + * Indicates whether or not to require cloud protection. + */ + @SerializedName("defenderRequireCloudProtection") + @Expose + public Boolean defenderRequireCloudProtection; + + /** + * The Defender Require Network Inspection System. + * Indicates whether or not to require network inspection system. + */ + @SerializedName("defenderRequireNetworkInspectionSystem") + @Expose + public Boolean defenderRequireNetworkInspectionSystem; + + /** + * The Defender Require Real Time Monitoring. + * Indicates whether or not to require real time monitoring. + */ + @SerializedName("defenderRequireRealTimeMonitoring") + @Expose + public Boolean defenderRequireRealTimeMonitoring; + + /** + * The Defender Scan Archive Files. + * Indicates whether or not to scan archive files. + */ + @SerializedName("defenderScanArchiveFiles") + @Expose + public Boolean defenderScanArchiveFiles; + + /** + * The Defender Scan Downloads. + * Indicates whether or not to scan downloads. + */ + @SerializedName("defenderScanDownloads") + @Expose + public Boolean defenderScanDownloads; + + /** + * The Defender Scan Network Files. + * Indicates whether or not to scan files opened from a network folder. + */ + @SerializedName("defenderScanNetworkFiles") + @Expose + public Boolean defenderScanNetworkFiles; + + /** + * The Defender Scan Incoming Mail. + * Indicates whether or not to scan incoming mail messages. + */ + @SerializedName("defenderScanIncomingMail") + @Expose + public Boolean defenderScanIncomingMail; + + /** + * The Defender Scan Mapped Network Drives During Full Scan. + * Indicates whether or not to scan mapped network drives during full scan. + */ + @SerializedName("defenderScanMappedNetworkDrivesDuringFullScan") + @Expose + public Boolean defenderScanMappedNetworkDrivesDuringFullScan; + + /** + * The Defender Scan Removable Drives During Full Scan. + * Indicates whether or not to scan removable drives during full scan. + */ + @SerializedName("defenderScanRemovableDrivesDuringFullScan") + @Expose + public Boolean defenderScanRemovableDrivesDuringFullScan; + + /** + * The Defender Scan Scripts Loaded In Internet Explorer. + * Indicates whether or not to scan scripts loaded in Internet Explorer browser. + */ + @SerializedName("defenderScanScriptsLoadedInInternetExplorer") + @Expose + public Boolean defenderScanScriptsLoadedInInternetExplorer; + + /** + * The Defender Signature Update Interval In Hours. + * The signature update interval in hours. Specify 0 not to check. Valid values 0 to 24 + */ + @SerializedName("defenderSignatureUpdateIntervalInHours") + @Expose + public Integer defenderSignatureUpdateIntervalInHours; + + /** + * The Defender Scan Type. + * The defender system scan type. Possible values are: userDefined, disabled, quick, full. + */ + @SerializedName("defenderScanType") + @Expose + public DefenderScanType defenderScanType; + + /** + * The Defender Scheduled Scan Time. + * The defender time for the system scan. + */ + @SerializedName("defenderScheduledScanTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay defenderScheduledScanTime; + + /** + * The Defender Scheduled Quick Scan Time. + * The time to perform a daily quick scan. + */ + @SerializedName("defenderScheduledQuickScanTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay defenderScheduledQuickScanTime; + + /** + * The Defender Cloud Block Level. + * Specifies the level of cloud-delivered protection. Possible values are: notConfigured, high, highPlus, zeroTolerance. + */ + @SerializedName("defenderCloudBlockLevel") + @Expose + public DefenderCloudBlockLevelType defenderCloudBlockLevel; + + /** + * The Lock Screen Allow Timeout Configuration. + * Specify whether to show a user-configurable setting to control the screen timeout while on the lock screen of Windows 10 Mobile devices. If this policy is set to Allow, the value set by lockScreenTimeoutInSeconds is ignored. + */ + @SerializedName("lockScreenAllowTimeoutConfiguration") + @Expose + public Boolean lockScreenAllowTimeoutConfiguration; + + /** + * The Lock Screen Block Action Center Notifications. + * Indicates whether or not to block action center notifications over lock screen. + */ + @SerializedName("lockScreenBlockActionCenterNotifications") + @Expose + public Boolean lockScreenBlockActionCenterNotifications; + + /** + * The Lock Screen Block Cortana. + * Indicates whether or not the user can interact with Cortana using speech while the system is locked. + */ + @SerializedName("lockScreenBlockCortana") + @Expose + public Boolean lockScreenBlockCortana; + + /** + * The Lock Screen Block Toast Notifications. + * Indicates whether to allow toast notifications above the device lock screen. + */ + @SerializedName("lockScreenBlockToastNotifications") + @Expose + public Boolean lockScreenBlockToastNotifications; + + /** + * The Lock Screen Timeout In Seconds. + * Set the duration (in seconds) from the screen locking to the screen turning off for Windows 10 Mobile devices. Supported values are 11-1800. Valid values 11 to 1800 + */ + @SerializedName("lockScreenTimeoutInSeconds") + @Expose + public Integer lockScreenTimeoutInSeconds; + + /** + * The Password Block Simple. + * Specify whether PINs or passwords such as '1111' or '1234' are allowed. For Windows 10 desktops, it also controls the use of picture passwords. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Expiration Days. + * The password expiration in days. Valid values 0 to 730 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * The minimum password length. Valid values 4 to 16 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Screen Timeout. + * The minutes of inactivity before the screen times out. + */ + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Previous Password Block Count. + * The number of previous passwords to prevent reuse of. Valid values 0 to 50 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Required. + * Indicates whether or not to require the user to have a password. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Require When Resume From Idle State. + * Indicates whether or not to require a password upon resuming from an idle state. + */ + @SerializedName("passwordRequireWhenResumeFromIdleState") + @Expose + public Boolean passwordRequireWhenResumeFromIdleState; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Sign In Failure Count Before Factory Reset. + * The number of sign in failures before factory reset. Valid values 0 to 999 + */ + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @Expose + public Integer passwordSignInFailureCountBeforeFactoryReset; + + /** + * The Privacy Advertising Id. + * Enables or disables the use of advertising ID. Added in Windows 10, version 1607. Possible values are: notConfigured, blocked, allowed. + */ + @SerializedName("privacyAdvertisingId") + @Expose + public StateManagementSetting privacyAdvertisingId; + + /** + * The Privacy Auto Accept Pairing And Consent Prompts. + * Indicates whether or not to allow the automatic acceptance of the pairing and privacy user consent dialog when launching apps. + */ + @SerializedName("privacyAutoAcceptPairingAndConsentPrompts") + @Expose + public Boolean privacyAutoAcceptPairingAndConsentPrompts; + + /** + * The Privacy Block Input Personalization. + * Indicates whether or not to block the usage of cloud based speech services for Cortana, Dictation, or Store applications. + */ + @SerializedName("privacyBlockInputPersonalization") + @Expose + public Boolean privacyBlockInputPersonalization; + + /** + * The Start Block Unpinning Apps From Taskbar. + * Indicates whether or not to block the user from unpinning apps from taskbar. + */ + @SerializedName("startBlockUnpinningAppsFromTaskbar") + @Expose + public Boolean startBlockUnpinningAppsFromTaskbar; + + /** + * The Start Menu App List Visibility. + * Setting the value of this collapses the app list, removes the app list entirely, or disables the corresponding toggle in the Settings app. Possible values are: userDefined, collapse, remove, disableSettingsApp. + */ + @SerializedName("startMenuAppListVisibility") + @Expose + public EnumSet startMenuAppListVisibility; + + /** + * The Start Menu Hide Change Account Settings. + * Enabling this policy hides the change account setting from appearing in the user tile in the start menu. + */ + @SerializedName("startMenuHideChangeAccountSettings") + @Expose + public Boolean startMenuHideChangeAccountSettings; + + /** + * The Start Menu Hide Frequently Used Apps. + * Enabling this policy hides the most used apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + */ + @SerializedName("startMenuHideFrequentlyUsedApps") + @Expose + public Boolean startMenuHideFrequentlyUsedApps; + + /** + * The Start Menu Hide Hibernate. + * Enabling this policy hides hibernate from appearing in the power button in the start menu. + */ + @SerializedName("startMenuHideHibernate") + @Expose + public Boolean startMenuHideHibernate; + + /** + * The Start Menu Hide Lock. + * Enabling this policy hides lock from appearing in the user tile in the start menu. + */ + @SerializedName("startMenuHideLock") + @Expose + public Boolean startMenuHideLock; + + /** + * The Start Menu Hide Power Button. + * Enabling this policy hides the power button from appearing in the start menu. + */ + @SerializedName("startMenuHidePowerButton") + @Expose + public Boolean startMenuHidePowerButton; + + /** + * The Start Menu Hide Recent Jump Lists. + * Enabling this policy hides recent jump lists from appearing on the start menu/taskbar and disables the corresponding toggle in the Settings app. + */ + @SerializedName("startMenuHideRecentJumpLists") + @Expose + public Boolean startMenuHideRecentJumpLists; + + /** + * The Start Menu Hide Recently Added Apps. + * Enabling this policy hides recently added apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + */ + @SerializedName("startMenuHideRecentlyAddedApps") + @Expose + public Boolean startMenuHideRecentlyAddedApps; + + /** + * The Start Menu Hide Restart Options. + * Enabling this policy hides 'Restart/Update and Restart' from appearing in the power button in the start menu. + */ + @SerializedName("startMenuHideRestartOptions") + @Expose + public Boolean startMenuHideRestartOptions; + + /** + * The Start Menu Hide Shut Down. + * Enabling this policy hides shut down/update and shut down from appearing in the power button in the start menu. + */ + @SerializedName("startMenuHideShutDown") + @Expose + public Boolean startMenuHideShutDown; + + /** + * The Start Menu Hide Sign Out. + * Enabling this policy hides sign out from appearing in the user tile in the start menu. + */ + @SerializedName("startMenuHideSignOut") + @Expose + public Boolean startMenuHideSignOut; + + /** + * The Start Menu Hide Sleep. + * Enabling this policy hides sleep from appearing in the power button in the start menu. + */ + @SerializedName("startMenuHideSleep") + @Expose + public Boolean startMenuHideSleep; + + /** + * The Start Menu Hide Switch Account. + * Enabling this policy hides switch account from appearing in the user tile in the start menu. + */ + @SerializedName("startMenuHideSwitchAccount") + @Expose + public Boolean startMenuHideSwitchAccount; + + /** + * The Start Menu Hide User Tile. + * Enabling this policy hides the user tile from appearing in the start menu. + */ + @SerializedName("startMenuHideUserTile") + @Expose + public Boolean startMenuHideUserTile; + + /** + * The Start Menu Layout Edge Assets Xml. + * This policy setting allows you to import Edge assets to be used with startMenuLayoutXml policy. Start layout can contain secondary tile from Edge app which looks for Edge local asset file. Edge local asset would not exist and cause Edge secondary tile to appear empty in this case. This policy only gets applied when startMenuLayoutXml policy is modified. The value should be a UTF-8 Base64 encoded byte array. + */ + @SerializedName("startMenuLayoutEdgeAssetsXml") + @Expose + public byte[] startMenuLayoutEdgeAssetsXml; + + /** + * The Start Menu Layout Xml. + * Allows admins to override the default Start menu layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in a UTF8 encoded byte array format. + */ + @SerializedName("startMenuLayoutXml") + @Expose + public byte[] startMenuLayoutXml; + + /** + * The Start Menu Mode. + * Allows admins to decide how the Start menu is displayed. Possible values are: userDefined, fullScreen, nonFullScreen. + */ + @SerializedName("startMenuMode") + @Expose + public WindowsStartMenuModeType startMenuMode; + + /** + * The Start Menu Pinned Folder Documents. + * Enforces the visibility (Show/Hide) of the Documents folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderDocuments") + @Expose + public VisibilitySetting startMenuPinnedFolderDocuments; + + /** + * The Start Menu Pinned Folder Downloads. + * Enforces the visibility (Show/Hide) of the Downloads folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderDownloads") + @Expose + public VisibilitySetting startMenuPinnedFolderDownloads; + + /** + * The Start Menu Pinned Folder File Explorer. + * Enforces the visibility (Show/Hide) of the FileExplorer shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderFileExplorer") + @Expose + public VisibilitySetting startMenuPinnedFolderFileExplorer; + + /** + * The Start Menu Pinned Folder Home Group. + * Enforces the visibility (Show/Hide) of the HomeGroup folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderHomeGroup") + @Expose + public VisibilitySetting startMenuPinnedFolderHomeGroup; + + /** + * The Start Menu Pinned Folder Music. + * Enforces the visibility (Show/Hide) of the Music folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderMusic") + @Expose + public VisibilitySetting startMenuPinnedFolderMusic; + + /** + * The Start Menu Pinned Folder Network. + * Enforces the visibility (Show/Hide) of the Network folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderNetwork") + @Expose + public VisibilitySetting startMenuPinnedFolderNetwork; + + /** + * The Start Menu Pinned Folder Personal Folder. + * Enforces the visibility (Show/Hide) of the PersonalFolder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderPersonalFolder") + @Expose + public VisibilitySetting startMenuPinnedFolderPersonalFolder; + + /** + * The Start Menu Pinned Folder Pictures. + * Enforces the visibility (Show/Hide) of the Pictures folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderPictures") + @Expose + public VisibilitySetting startMenuPinnedFolderPictures; + + /** + * The Start Menu Pinned Folder Settings. + * Enforces the visibility (Show/Hide) of the Settings folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderSettings") + @Expose + public VisibilitySetting startMenuPinnedFolderSettings; + + /** + * The Start Menu Pinned Folder Videos. + * Enforces the visibility (Show/Hide) of the Videos folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + */ + @SerializedName("startMenuPinnedFolderVideos") + @Expose + public VisibilitySetting startMenuPinnedFolderVideos; + + /** + * The Settings Block Settings App. + * Indicates whether or not to block access to Settings app. + */ + @SerializedName("settingsBlockSettingsApp") + @Expose + public Boolean settingsBlockSettingsApp; + + /** + * The Settings Block System Page. + * Indicates whether or not to block access to System in Settings app. + */ + @SerializedName("settingsBlockSystemPage") + @Expose + public Boolean settingsBlockSystemPage; + + /** + * The Settings Block Devices Page. + * Indicates whether or not to block access to Devices in Settings app. + */ + @SerializedName("settingsBlockDevicesPage") + @Expose + public Boolean settingsBlockDevicesPage; + + /** + * The Settings Block Network Internet Page. + * Indicates whether or not to block access to Network & Internet in Settings app. + */ + @SerializedName("settingsBlockNetworkInternetPage") + @Expose + public Boolean settingsBlockNetworkInternetPage; + + /** + * The Settings Block Personalization Page. + * Indicates whether or not to block access to Personalization in Settings app. + */ + @SerializedName("settingsBlockPersonalizationPage") + @Expose + public Boolean settingsBlockPersonalizationPage; + + /** + * The Settings Block Accounts Page. + * Indicates whether or not to block access to Accounts in Settings app. + */ + @SerializedName("settingsBlockAccountsPage") + @Expose + public Boolean settingsBlockAccountsPage; + + /** + * The Settings Block Time Language Page. + * Indicates whether or not to block access to Time & Language in Settings app. + */ + @SerializedName("settingsBlockTimeLanguagePage") + @Expose + public Boolean settingsBlockTimeLanguagePage; + + /** + * The Settings Block Ease Of Access Page. + * Indicates whether or not to block access to Ease of Access in Settings app. + */ + @SerializedName("settingsBlockEaseOfAccessPage") + @Expose + public Boolean settingsBlockEaseOfAccessPage; + + /** + * The Settings Block Privacy Page. + * Indicates whether or not to block access to Privacy in Settings app. + */ + @SerializedName("settingsBlockPrivacyPage") + @Expose + public Boolean settingsBlockPrivacyPage; + + /** + * The Settings Block Update Security Page. + * Indicates whether or not to block access to Update & Security in Settings app. + */ + @SerializedName("settingsBlockUpdateSecurityPage") + @Expose + public Boolean settingsBlockUpdateSecurityPage; + + /** + * The Settings Block Apps Page. + * Indicates whether or not to block access to Apps in Settings app. + */ + @SerializedName("settingsBlockAppsPage") + @Expose + public Boolean settingsBlockAppsPage; + + /** + * The Settings Block Gaming Page. + * Indicates whether or not to block access to Gaming in Settings app. + */ + @SerializedName("settingsBlockGamingPage") + @Expose + public Boolean settingsBlockGamingPage; + + /** + * The Windows Spotlight Block Consumer Specific Features. + * Allows IT admins to block experiences that are typically for consumers only, such as Start suggestions, Membership notifications, Post-OOBE app install and redirect tiles. + */ + @SerializedName("windowsSpotlightBlockConsumerSpecificFeatures") + @Expose + public Boolean windowsSpotlightBlockConsumerSpecificFeatures; + + /** + * The Windows Spotlight Blocked. + * Allows IT admins to turn off all Windows Spotlight features + */ + @SerializedName("windowsSpotlightBlocked") + @Expose + public Boolean windowsSpotlightBlocked; + + /** + * The Windows Spotlight Block On Action Center. + * Block suggestions from Microsoft that show after each OS clean install, upgrade or in an on-going basis to introduce users to what is new or changed + */ + @SerializedName("windowsSpotlightBlockOnActionCenter") + @Expose + public Boolean windowsSpotlightBlockOnActionCenter; + + /** + * The Windows Spotlight Block Tailored Experiences. + * Block personalized content in Windows spotlight based on user’s device usage. + */ + @SerializedName("windowsSpotlightBlockTailoredExperiences") + @Expose + public Boolean windowsSpotlightBlockTailoredExperiences; + + /** + * The Windows Spotlight Block Third Party Notifications. + * Block third party content delivered via Windows Spotlight + */ + @SerializedName("windowsSpotlightBlockThirdPartyNotifications") + @Expose + public Boolean windowsSpotlightBlockThirdPartyNotifications; + + /** + * The Windows Spotlight Block Welcome Experience. + * Block Windows Spotlight Windows welcome experience + */ + @SerializedName("windowsSpotlightBlockWelcomeExperience") + @Expose + public Boolean windowsSpotlightBlockWelcomeExperience; + + /** + * The Windows Spotlight Block Windows Tips. + * Allows IT admins to turn off the popup of Windows Tips. + */ + @SerializedName("windowsSpotlightBlockWindowsTips") + @Expose + public Boolean windowsSpotlightBlockWindowsTips; + + /** + * The Windows Spotlight Configure On Lock Screen. + * Specifies the type of Spotlight. Possible values are: notConfigured, disabled, enabled. + */ + @SerializedName("windowsSpotlightConfigureOnLockScreen") + @Expose + public WindowsSpotlightEnablementSettings windowsSpotlightConfigureOnLockScreen; + + /** + * The Network Proxy Apply Settings Device Wide. + * If set, proxy settings will be applied to all processes and accounts in the device. Otherwise, it will be applied to the user account that’s enrolled into MDM. + */ + @SerializedName("networkProxyApplySettingsDeviceWide") + @Expose + public Boolean networkProxyApplySettingsDeviceWide; + + /** + * The Network Proxy Disable Auto Detect. + * Disable automatic detection of settings. If enabled, the system will try to find the path to a proxy auto-config (PAC) script. + */ + @SerializedName("networkProxyDisableAutoDetect") + @Expose + public Boolean networkProxyDisableAutoDetect; + + /** + * The Network Proxy Automatic Configuration Url. + * Address to the proxy auto-config (PAC) script you want to use. + */ + @SerializedName("networkProxyAutomaticConfigurationUrl") + @Expose + public String networkProxyAutomaticConfigurationUrl; + + /** + * The Network Proxy Server. + * Specifies manual proxy server settings. + */ + @SerializedName("networkProxyServer") + @Expose + public Windows10NetworkProxyServer networkProxyServer; + + /** + * The Accounts Block Adding Non Microsoft Account Email. + * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. + */ + @SerializedName("accountsBlockAddingNonMicrosoftAccountEmail") + @Expose + public Boolean accountsBlockAddingNonMicrosoftAccountEmail; + + /** + * The Anti Theft Mode Blocked. + * Indicates whether or not to block the user from selecting an AntiTheft mode preference (Windows 10 Mobile only). + */ + @SerializedName("antiTheftModeBlocked") + @Expose + public Boolean antiTheftModeBlocked; + + /** + * The Bluetooth Blocked. + * Whether or not to Block the user from using bluetooth. + */ + @SerializedName("bluetoothBlocked") + @Expose + public Boolean bluetoothBlocked; + + /** + * The Camera Blocked. + * Whether or not to Block the user from accessing the camera of the device. + */ + @SerializedName("cameraBlocked") + @Expose + public Boolean cameraBlocked; + + /** + * The Connected Devices Service Blocked. + * Whether or not to block Connected Devices Service which enables discovery and connection to other devices, remote messaging, remote app sessions and other cross-device experiences. + */ + @SerializedName("connectedDevicesServiceBlocked") + @Expose + public Boolean connectedDevicesServiceBlocked; + + /** + * The Certificates Block Manual Root Certificate Installation. + * Whether or not to Block the user from doing manual root certificate installation. + */ + @SerializedName("certificatesBlockManualRootCertificateInstallation") + @Expose + public Boolean certificatesBlockManualRootCertificateInstallation; + + /** + * The Copy Paste Blocked. + * Whether or not to Block the user from using copy paste. + */ + @SerializedName("copyPasteBlocked") + @Expose + public Boolean copyPasteBlocked; + + /** + * The Cortana Blocked. + * Whether or not to Block the user from using Cortana. + */ + @SerializedName("cortanaBlocked") + @Expose + public Boolean cortanaBlocked; + + /** + * The Device Management Block Factory Reset On Mobile. + * Indicates whether or not to Block the user from resetting their phone. + */ + @SerializedName("deviceManagementBlockFactoryResetOnMobile") + @Expose + public Boolean deviceManagementBlockFactoryResetOnMobile; + + /** + * The Device Management Block Manual Unenroll. + * Indicates whether or not to Block the user from doing manual un-enrollment from device management. + */ + @SerializedName("deviceManagementBlockManualUnenroll") + @Expose + public Boolean deviceManagementBlockManualUnenroll; + + /** + * The Safe Search Filter. + * Specifies what filter level of safe search is required. Possible values are: userDefined, strict, moderate. + */ + @SerializedName("safeSearchFilter") + @Expose + public SafeSearchFilterType safeSearchFilter; + + /** + * The Edge Block Popups. + * Indicates whether or not to block popups. + */ + @SerializedName("edgeBlockPopups") + @Expose + public Boolean edgeBlockPopups; + + /** + * The Edge Block Search Suggestions. + * Indicates whether or not to Block the user from using the search suggestions in the address bar. + */ + @SerializedName("edgeBlockSearchSuggestions") + @Expose + public Boolean edgeBlockSearchSuggestions; + + /** + * The Edge Block Sending Intranet Traffic To Internet Explorer. + * Indicates whether or not to Block the user from sending Intranet traffic to Internet Explorer from Edge. + */ + @SerializedName("edgeBlockSendingIntranetTrafficToInternetExplorer") + @Expose + public Boolean edgeBlockSendingIntranetTrafficToInternetExplorer; + + /** + * The Edge Send Intranet Traffic To Internet Explorer. + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. + */ + @SerializedName("edgeSendIntranetTrafficToInternetExplorer") + @Expose + public Boolean edgeSendIntranetTrafficToInternetExplorer; + + /** + * The Edge Require Smart Screen. + * Indicates whether or not to Require the user to use the smart screen filter. + */ + @SerializedName("edgeRequireSmartScreen") + @Expose + public Boolean edgeRequireSmartScreen; + + /** + * The Edge Enterprise Mode Site List Location. + * Indicates the enterprise mode site list location. Could be a local file, local network or http location. + */ + @SerializedName("edgeEnterpriseModeSiteListLocation") + @Expose + public String edgeEnterpriseModeSiteListLocation; + + /** + * The Edge First Run Url. + * The first run URL for when Edge browser is opened for the first time. + */ + @SerializedName("edgeFirstRunUrl") + @Expose + public String edgeFirstRunUrl; + + /** + * The Edge Search Engine. + * Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. + */ + @SerializedName("edgeSearchEngine") + @Expose + public EdgeSearchEngineBase edgeSearchEngine; + + /** + * The Edge Homepage Urls. + * The list of URLs for homepages shodwn on MDM-enrolled devices on Edge browser. + */ + @SerializedName("edgeHomepageUrls") + @Expose + public java.util.List edgeHomepageUrls; + + /** + * The Edge Block Access To About Flags. + * Indicates whether or not to prevent access to about flags on Edge browser. + */ + @SerializedName("edgeBlockAccessToAboutFlags") + @Expose + public Boolean edgeBlockAccessToAboutFlags; + + /** + * The Smart Screen Block Prompt Override. + * Indicates whether or not users can override SmartScreen Filter warnings about potentially malicious websites. + */ + @SerializedName("smartScreenBlockPromptOverride") + @Expose + public Boolean smartScreenBlockPromptOverride; + + /** + * The Smart Screen Block Prompt Override For Files. + * Indicates whether or not users can override the SmartScreen Filter warnings about downloading unverified files + */ + @SerializedName("smartScreenBlockPromptOverrideForFiles") + @Expose + public Boolean smartScreenBlockPromptOverrideForFiles; + + /** + * The Web Rtc Block Localhost Ip Address. + * Indicates whether or not user's localhost IP address is displayed while making phone calls using the WebRTC + */ + @SerializedName("webRtcBlockLocalhostIpAddress") + @Expose + public Boolean webRtcBlockLocalhostIpAddress; + + /** + * The Internet Sharing Blocked. + * Indicates whether or not to Block the user from using internet sharing. + */ + @SerializedName("internetSharingBlocked") + @Expose + public Boolean internetSharingBlocked; + + /** + * The Settings Block Add Provisioning Package. + * Indicates whether or not to block the user from installing provisioning packages. + */ + @SerializedName("settingsBlockAddProvisioningPackage") + @Expose + public Boolean settingsBlockAddProvisioningPackage; + + /** + * The Settings Block Remove Provisioning Package. + * Indicates whether or not to block the runtime configuration agent from removing provisioning packages. + */ + @SerializedName("settingsBlockRemoveProvisioningPackage") + @Expose + public Boolean settingsBlockRemoveProvisioningPackage; + + /** + * The Settings Block Change System Time. + * Indicates whether or not to block the user from changing date and time settings. + */ + @SerializedName("settingsBlockChangeSystemTime") + @Expose + public Boolean settingsBlockChangeSystemTime; + + /** + * The Settings Block Edit Device Name. + * Indicates whether or not to block the user from editing the device name. + */ + @SerializedName("settingsBlockEditDeviceName") + @Expose + public Boolean settingsBlockEditDeviceName; + + /** + * The Settings Block Change Region. + * Indicates whether or not to block the user from changing the region settings. + */ + @SerializedName("settingsBlockChangeRegion") + @Expose + public Boolean settingsBlockChangeRegion; + + /** + * The Settings Block Change Language. + * Indicates whether or not to block the user from changing the language settings. + */ + @SerializedName("settingsBlockChangeLanguage") + @Expose + public Boolean settingsBlockChangeLanguage; + + /** + * The Settings Block Change Power Sleep. + * Indicates whether or not to block the user from changing power and sleep settings. + */ + @SerializedName("settingsBlockChangePowerSleep") + @Expose + public Boolean settingsBlockChangePowerSleep; + + /** + * The Location Services Blocked. + * Indicates whether or not to Block the user from location services. + */ + @SerializedName("locationServicesBlocked") + @Expose + public Boolean locationServicesBlocked; + + /** + * The Microsoft Account Blocked. + * Indicates whether or not to Block a Microsoft account. + */ + @SerializedName("microsoftAccountBlocked") + @Expose + public Boolean microsoftAccountBlocked; + + /** + * The Microsoft Account Block Settings Sync. + * Indicates whether or not to Block Microsoft account settings sync. + */ + @SerializedName("microsoftAccountBlockSettingsSync") + @Expose + public Boolean microsoftAccountBlockSettingsSync; + + /** + * The Nfc Blocked. + * Indicates whether or not to Block the user from using near field communication. + */ + @SerializedName("nfcBlocked") + @Expose + public Boolean nfcBlocked; + + /** + * The Reset Protection Mode Blocked. + * Indicates whether or not to Block the user from reset protection mode. + */ + @SerializedName("resetProtectionModeBlocked") + @Expose + public Boolean resetProtectionModeBlocked; + + /** + * The Screen Capture Blocked. + * Indicates whether or not to Block the user from taking Screenshots. + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Storage Block Removable Storage. + * Indicates whether or not to Block the user from using removable storage. + */ + @SerializedName("storageBlockRemovableStorage") + @Expose + public Boolean storageBlockRemovableStorage; + + /** + * The Storage Require Mobile Device Encryption. + * Indicating whether or not to require encryption on a mobile device. + */ + @SerializedName("storageRequireMobileDeviceEncryption") + @Expose + public Boolean storageRequireMobileDeviceEncryption; + + /** + * The Usb Blocked. + * Indicates whether or not to Block the user from USB connection. + */ + @SerializedName("usbBlocked") + @Expose + public Boolean usbBlocked; + + /** + * The Voice Recording Blocked. + * Indicates whether or not to Block the user from voice recording. + */ + @SerializedName("voiceRecordingBlocked") + @Expose + public Boolean voiceRecordingBlocked; + + /** + * The Wi Fi Block Automatic Connect Hotspots. + * Indicating whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + */ + @SerializedName("wiFiBlockAutomaticConnectHotspots") + @Expose + public Boolean wiFiBlockAutomaticConnectHotspots; + + /** + * The Wi Fi Blocked. + * Indicates whether or not to Block the user from using Wi-Fi. + */ + @SerializedName("wiFiBlocked") + @Expose + public Boolean wiFiBlocked; + + /** + * The Wi Fi Block Manual Configuration. + * Indicates whether or not to Block the user from using Wi-Fi manual configuration. + */ + @SerializedName("wiFiBlockManualConfiguration") + @Expose + public Boolean wiFiBlockManualConfiguration; + + /** + * The Wi Fi Scan Interval. + * Specify how often devices scan for Wi-Fi networks. Supported values are 1-500, where 100 = default, and 500 = low frequency. Valid values 1 to 500 + */ + @SerializedName("wiFiScanInterval") + @Expose + public Integer wiFiScanInterval; + + /** + * The Wireless Display Block Projection To This Device. + * Indicates whether or not to allow other devices from discovering this PC for projection. + */ + @SerializedName("wirelessDisplayBlockProjectionToThisDevice") + @Expose + public Boolean wirelessDisplayBlockProjectionToThisDevice; + + /** + * The Wireless Display Block User Input From Receiver. + * Indicates whether or not to allow user input from wireless display receiver. + */ + @SerializedName("wirelessDisplayBlockUserInputFromReceiver") + @Expose + public Boolean wirelessDisplayBlockUserInputFromReceiver; + + /** + * The Wireless Display Require Pin For Pairing. + * Indicates whether or not to require a PIN for new devices to initiate pairing. + */ + @SerializedName("wirelessDisplayRequirePinForPairing") + @Expose + public Boolean wirelessDisplayRequirePinForPairing; + + /** + * The Windows Store Blocked. + * Indicates whether or not to Block the user from using the Windows store. + */ + @SerializedName("windowsStoreBlocked") + @Expose + public Boolean windowsStoreBlocked; + + /** + * The Apps Allow Trusted Apps Sideloading. + * Indicates whether apps from AppX packages signed with a trusted certificate can be side loaded. Possible values are: notConfigured, blocked, allowed. + */ + @SerializedName("appsAllowTrustedAppsSideloading") + @Expose + public StateManagementSetting appsAllowTrustedAppsSideloading; + + /** + * The Windows Store Block Auto Update. + * Indicates whether or not to block automatic update of apps from Windows Store. + */ + @SerializedName("windowsStoreBlockAutoUpdate") + @Expose + public Boolean windowsStoreBlockAutoUpdate; + + /** + * The Developer Unlock Setting. + * Indicates whether or not to allow developer unlock. Possible values are: notConfigured, blocked, allowed. + */ + @SerializedName("developerUnlockSetting") + @Expose + public StateManagementSetting developerUnlockSetting; + + /** + * The Shared User App Data Allowed. + * Indicates whether or not to block multiple users of the same app to share data. + */ + @SerializedName("sharedUserAppDataAllowed") + @Expose + public Boolean sharedUserAppDataAllowed; + + /** + * The Apps Block Windows Store Originated Apps. + * Indicates whether or not to disable the launch of all apps from Windows Store that came pre-installed or were downloaded. + */ + @SerializedName("appsBlockWindowsStoreOriginatedApps") + @Expose + public Boolean appsBlockWindowsStoreOriginatedApps; + + /** + * The Windows Store Enable Private Store Only. + * Indicates whether or not to enable Private Store Only. + */ + @SerializedName("windowsStoreEnablePrivateStoreOnly") + @Expose + public Boolean windowsStoreEnablePrivateStoreOnly; + + /** + * The Storage Restrict App Data To System Volume. + * Indicates whether application data is restricted to the system drive. + */ + @SerializedName("storageRestrictAppDataToSystemVolume") + @Expose + public Boolean storageRestrictAppDataToSystemVolume; + + /** + * The Storage Restrict App Install To System Volume. + * Indicates whether the installation of applications is restricted to the system drive. + */ + @SerializedName("storageRestrictAppInstallToSystemVolume") + @Expose + public Boolean storageRestrictAppInstallToSystemVolume; + + /** + * The Game Dvr Blocked. + * Indicates whether or not to block DVR and broadcasting. + */ + @SerializedName("gameDvrBlocked") + @Expose + public Boolean gameDvrBlocked; + + /** + * The Experience Block Device Discovery. + * Indicates whether or not to enable device discovery UX. + */ + @SerializedName("experienceBlockDeviceDiscovery") + @Expose + public Boolean experienceBlockDeviceDiscovery; + + /** + * The Experience Block Error Dialog When No SIM. + * Indicates whether or not to allow the error dialog from displaying if no SIM card is detected. + */ + @SerializedName("experienceBlockErrorDialogWhenNoSIM") + @Expose + public Boolean experienceBlockErrorDialogWhenNoSIM; + + /** + * The Experience Block Task Switcher. + * Indicates whether or not to enable task switching on the device. + */ + @SerializedName("experienceBlockTaskSwitcher") + @Expose + public Boolean experienceBlockTaskSwitcher; + + /** + * The Logon Block Fast User Switching. + * Disables the ability to quickly switch between users that are logged on simultaneously without logging off. + */ + @SerializedName("logonBlockFastUserSwitching") + @Expose + public Boolean logonBlockFastUserSwitching; + + /** + * The Tenant Lockdown Require Network During Out Of Box Experience. + * Whether the device is required to connect to the network. + */ + @SerializedName("tenantLockdownRequireNetworkDuringOutOfBoxExperience") + @Expose + public Boolean tenantLockdownRequireNetworkDuringOutOfBoxExperience; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10MobileCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10MobileCompliancePolicy.java index 68271f409cf..12c396c0d0d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10MobileCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10MobileCompliancePolicy.java @@ -3,12 +3,197 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseWindows10MobileCompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Mobile Compliance Policy. */ -public class Windows10MobileCompliancePolicy extends BaseWindows10MobileCompliancePolicy { +public class Windows10MobileCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Required. + * Require a password to unlock Windows Phone device. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Block Simple. + * Whether or not to block syncing the calendar. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Minimum Length. + * Minimum password length. Valid values 4 to 16 + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Previous Password Block Count. + * The number of previous passwords to prevent re-use of. + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Expiration Days. + * Number of days before password expiration. Valid values 1 to 255 + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Require To Unlock From Idle. + * Require a password to unlock an idle device. + */ + @SerializedName("passwordRequireToUnlockFromIdle") + @Expose + public Boolean passwordRequireToUnlockFromIdle; + + /** + * The Os Minimum Version. + * Minimum Windows Phone version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum Windows Phone version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Early Launch Anti Malware Driver Enabled. + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + */ + @SerializedName("earlyLaunchAntiMalwareDriverEnabled") + @Expose + public Boolean earlyLaunchAntiMalwareDriverEnabled; + + /** + * The Bit Locker Enabled. + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + */ + @SerializedName("bitLockerEnabled") + @Expose + public Boolean bitLockerEnabled; + + /** + * The Secure Boot Enabled. + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + */ + @SerializedName("secureBootEnabled") + @Expose + public Boolean secureBootEnabled; + + /** + * The Code Integrity Enabled. + * Require devices to be reported as healthy by Windows Device Health Attestation. + */ + @SerializedName("codeIntegrityEnabled") + @Expose + public Boolean codeIntegrityEnabled; + + /** + * The Storage Require Encryption. + * Require encryption on windows devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10NetworkProxyServer.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10NetworkProxyServer.java index c4574e2e802..c37a56c5d44 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10NetworkProxyServer.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10NetworkProxyServer.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindows10NetworkProxyServer; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Network Proxy Server. */ -public class Windows10NetworkProxyServer extends BaseWindows10NetworkProxyServer { +public class Windows10NetworkProxyServer implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Address. + * Address to the proxy server. Specify an address in the format [':'] + */ + @SerializedName("address") + @Expose + public String address; + + /** + * The Exceptions. + * Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node. + */ + @SerializedName("exceptions") + @Expose + public java.util.List exceptions; + + /** + * The Use For Local Addresses. + * Specifies whether the proxy server should be used for local (intranet) addresses. + */ + @SerializedName("useForLocalAddresses") + @Expose + public Boolean useForLocalAddresses; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10SecureAssessmentConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10SecureAssessmentConfiguration.java index 5569227c945..e9cd5ccaab0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10SecureAssessmentConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10SecureAssessmentConfiguration.java @@ -3,12 +3,108 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows10SecureAssessmentConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Secure Assessment Configuration. */ -public class Windows10SecureAssessmentConfiguration extends BaseWindows10SecureAssessmentConfiguration { +public class Windows10SecureAssessmentConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Launch Uri. + * Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/). + */ + @SerializedName("launchUri") + @Expose + public String launchUri; + + /** + * The Configuration Account. + * The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account (username@tenant.com) or a local account (username). + */ + @SerializedName("configurationAccount") + @Expose + public String configurationAccount; + + /** + * The Allow Printing. + * Indicates whether or not to allow the app from printing during the test. + */ + @SerializedName("allowPrinting") + @Expose + public Boolean allowPrinting; + + /** + * The Allow Screen Capture. + * Indicates whether or not to allow screen capture capability during a test. + */ + @SerializedName("allowScreenCapture") + @Expose + public Boolean allowScreenCapture; + + /** + * The Allow Text Suggestion. + * Indicates whether or not to allow text suggestions during the test. + */ + @SerializedName("allowTextSuggestion") + @Expose + public Boolean allowTextSuggestion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows10TeamGeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows10TeamGeneralConfiguration.java index 04a63dbcfaf..e3dfd237a88 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows10TeamGeneralConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows10TeamGeneralConfiguration.java @@ -3,12 +3,230 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.MiracastChannel; +import com.microsoft.graph.models.generated.WelcomeScreenMeetingInformation; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows10TeamGeneralConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Team General Configuration. */ -public class Windows10TeamGeneralConfiguration extends BaseWindows10TeamGeneralConfiguration { +public class Windows10TeamGeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Azure Operational Insights Block Telemetry. + * Indicates whether or not to Block Azure Operational Insights. + */ + @SerializedName("azureOperationalInsightsBlockTelemetry") + @Expose + public Boolean azureOperationalInsightsBlockTelemetry; + + /** + * The Azure Operational Insights Workspace Id. + * The Azure Operational Insights workspace id. + */ + @SerializedName("azureOperationalInsightsWorkspaceId") + @Expose + public String azureOperationalInsightsWorkspaceId; + + /** + * The Azure Operational Insights Workspace Key. + * The Azure Operational Insights Workspace key. + */ + @SerializedName("azureOperationalInsightsWorkspaceKey") + @Expose + public String azureOperationalInsightsWorkspaceKey; + + /** + * The Connect App Block Auto Launch. + * Specifies whether to automatically launch the Connect app whenever a projection is initiated. + */ + @SerializedName("connectAppBlockAutoLaunch") + @Expose + public Boolean connectAppBlockAutoLaunch; + + /** + * The Maintenance Window Blocked. + * Indicates whether or not to Block setting a maintenance window for device updates. + */ + @SerializedName("maintenanceWindowBlocked") + @Expose + public Boolean maintenanceWindowBlocked; + + /** + * The Maintenance Window Duration In Hours. + * Maintenance window duration for device updates. Valid values 0 to 5 + */ + @SerializedName("maintenanceWindowDurationInHours") + @Expose + public Integer maintenanceWindowDurationInHours; + + /** + * The Maintenance Window Start Time. + * Maintenance window start time for device updates. + */ + @SerializedName("maintenanceWindowStartTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay maintenanceWindowStartTime; + + /** + * The Miracast Channel. + * The channel. Possible values are: userDefined, one, two, three, four, five, six, seven, eight, nine, ten, eleven, thirtySix, forty, fortyFour, fortyEight, oneHundredFortyNine, oneHundredFiftyThree, oneHundredFiftySeven, oneHundredSixtyOne, oneHundredSixtyFive. + */ + @SerializedName("miracastChannel") + @Expose + public MiracastChannel miracastChannel; + + /** + * The Miracast Blocked. + * Indicates whether or not to Block wireless projection. + */ + @SerializedName("miracastBlocked") + @Expose + public Boolean miracastBlocked; + + /** + * The Miracast Require Pin. + * Indicates whether or not to require a pin for wireless projection. + */ + @SerializedName("miracastRequirePin") + @Expose + public Boolean miracastRequirePin; + + /** + * The Settings Block My Meetings And Files. + * Specifies whether to disable the 'My meetings and files' feature in the Start menu, which shows the signed-in user's meetings and files from Office 365. + */ + @SerializedName("settingsBlockMyMeetingsAndFiles") + @Expose + public Boolean settingsBlockMyMeetingsAndFiles; + + /** + * The Settings Block Session Resume. + * Specifies whether to allow the ability to resume a session when the session times out. + */ + @SerializedName("settingsBlockSessionResume") + @Expose + public Boolean settingsBlockSessionResume; + + /** + * The Settings Block Signin Suggestions. + * Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings. + */ + @SerializedName("settingsBlockSigninSuggestions") + @Expose + public Boolean settingsBlockSigninSuggestions; + + /** + * The Settings Default Volume. + * Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100 + */ + @SerializedName("settingsDefaultVolume") + @Expose + public Integer settingsDefaultVolume; + + /** + * The Settings Screen Timeout In Minutes. + * Specifies the number of minutes until the Hub screen turns off. + */ + @SerializedName("settingsScreenTimeoutInMinutes") + @Expose + public Integer settingsScreenTimeoutInMinutes; + + /** + * The Settings Session Timeout In Minutes. + * Specifies the number of minutes until the session times out. + */ + @SerializedName("settingsSessionTimeoutInMinutes") + @Expose + public Integer settingsSessionTimeoutInMinutes; + + /** + * The Settings Sleep Timeout In Minutes. + * Specifies the number of minutes until the Hub enters sleep mode. + */ + @SerializedName("settingsSleepTimeoutInMinutes") + @Expose + public Integer settingsSleepTimeoutInMinutes; + + /** + * The Welcome Screen Block Automatic Wake Up. + * Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room. + */ + @SerializedName("welcomeScreenBlockAutomaticWakeUp") + @Expose + public Boolean welcomeScreenBlockAutomaticWakeUp; + + /** + * The Welcome Screen Background Image Url. + * The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image. + */ + @SerializedName("welcomeScreenBackgroundImageUrl") + @Expose + public String welcomeScreenBackgroundImageUrl; + + /** + * The Welcome Screen Meeting Information. + * The welcome screen meeting information shown. Possible values are: userDefined, showOrganizerAndTimeOnly, showOrganizerAndTimeAndSubject. + */ + @SerializedName("welcomeScreenMeetingInformation") + @Expose + public WelcomeScreenMeetingInformation welcomeScreenMeetingInformation; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows81CompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/Windows81CompliancePolicy.java index 452055be121..150764d8c40 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows81CompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows81CompliancePolicy.java @@ -3,12 +3,157 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseWindows81CompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows81Compliance Policy. */ -public class Windows81CompliancePolicy extends BaseWindows81CompliancePolicy { +public class Windows81CompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Required. + * Require a password to unlock Windows device. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Block Simple. + * Indicates whether or not to block simple password. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Expiration Days. + * Password expiration in days. + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * The minimum password length. + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Previous Password Block Count. + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Os Minimum Version. + * Minimum Windows 8.1 version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum Windows 8.1 version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Storage Require Encryption. + * Indicates whether or not to require encryption on a windows 8.1 device. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Windows81GeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/Windows81GeneralConfiguration.java index 1dcd9b669db..4b874bc1960 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Windows81GeneralConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Windows81GeneralConfiguration.java @@ -3,12 +3,336 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.InternetSiteSecurityLevel; +import com.microsoft.graph.models.generated.SiteSecurityLevel; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.generated.WindowsUserAccountControlSettings; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindows81GeneralConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows81General Configuration. */ -public class Windows81GeneralConfiguration extends BaseWindows81GeneralConfiguration { +public class Windows81GeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Accounts Block Adding Non Microsoft Account Email. + * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. + */ + @SerializedName("accountsBlockAddingNonMicrosoftAccountEmail") + @Expose + public Boolean accountsBlockAddingNonMicrosoftAccountEmail; + + /** + * The Apply Only To Windows81. + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + */ + @SerializedName("applyOnlyToWindows81") + @Expose + public Boolean applyOnlyToWindows81; + + /** + * The Browser Block Autofill. + * Indicates whether or not to block auto fill. + */ + @SerializedName("browserBlockAutofill") + @Expose + public Boolean browserBlockAutofill; + + /** + * The Browser Block Automatic Detection Of Intranet Sites. + * Indicates whether or not to block automatic detection of Intranet sites. + */ + @SerializedName("browserBlockAutomaticDetectionOfIntranetSites") + @Expose + public Boolean browserBlockAutomaticDetectionOfIntranetSites; + + /** + * The Browser Block Enterprise Mode Access. + * Indicates whether or not to block enterprise mode access. + */ + @SerializedName("browserBlockEnterpriseModeAccess") + @Expose + public Boolean browserBlockEnterpriseModeAccess; + + /** + * The Browser Block Java Script. + * Indicates whether or not to Block the user from using JavaScript. + */ + @SerializedName("browserBlockJavaScript") + @Expose + public Boolean browserBlockJavaScript; + + /** + * The Browser Block Plugins. + * Indicates whether or not to block plug-ins. + */ + @SerializedName("browserBlockPlugins") + @Expose + public Boolean browserBlockPlugins; + + /** + * The Browser Block Popups. + * Indicates whether or not to block popups. + */ + @SerializedName("browserBlockPopups") + @Expose + public Boolean browserBlockPopups; + + /** + * The Browser Block Sending Do Not Track Header. + * Indicates whether or not to Block the user from sending the do not track header. + */ + @SerializedName("browserBlockSendingDoNotTrackHeader") + @Expose + public Boolean browserBlockSendingDoNotTrackHeader; + + /** + * The Browser Block Single Word Entry On Intranet Sites. + * Indicates whether or not to block a single word entry on Intranet sites. + */ + @SerializedName("browserBlockSingleWordEntryOnIntranetSites") + @Expose + public Boolean browserBlockSingleWordEntryOnIntranetSites; + + /** + * The Browser Require Smart Screen. + * Indicates whether or not to require the user to use the smart screen filter. + */ + @SerializedName("browserRequireSmartScreen") + @Expose + public Boolean browserRequireSmartScreen; + + /** + * The Browser Enterprise Mode Site List Location. + * The enterprise mode site list location. Could be a local file, local network or http location. + */ + @SerializedName("browserEnterpriseModeSiteListLocation") + @Expose + public String browserEnterpriseModeSiteListLocation; + + /** + * The Browser Internet Security Level. + * The internet security level. Possible values are: userDefined, medium, mediumHigh, high. + */ + @SerializedName("browserInternetSecurityLevel") + @Expose + public InternetSiteSecurityLevel browserInternetSecurityLevel; + + /** + * The Browser Intranet Security Level. + * The Intranet security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + */ + @SerializedName("browserIntranetSecurityLevel") + @Expose + public SiteSecurityLevel browserIntranetSecurityLevel; + + /** + * The Browser Logging Report Location. + * The logging report location. + */ + @SerializedName("browserLoggingReportLocation") + @Expose + public String browserLoggingReportLocation; + + /** + * The Browser Require High Security For Restricted Sites. + * Indicates whether or not to require high security for restricted sites. + */ + @SerializedName("browserRequireHighSecurityForRestrictedSites") + @Expose + public Boolean browserRequireHighSecurityForRestrictedSites; + + /** + * The Browser Require Firewall. + * Indicates whether or not to require a firewall. + */ + @SerializedName("browserRequireFirewall") + @Expose + public Boolean browserRequireFirewall; + + /** + * The Browser Require Fraud Warning. + * Indicates whether or not to require fraud warning. + */ + @SerializedName("browserRequireFraudWarning") + @Expose + public Boolean browserRequireFraudWarning; + + /** + * The Browser Trusted Sites Security Level. + * The trusted sites security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + */ + @SerializedName("browserTrustedSitesSecurityLevel") + @Expose + public SiteSecurityLevel browserTrustedSitesSecurityLevel; + + /** + * The Cellular Block Data Roaming. + * Indicates whether or not to block data roaming. + */ + @SerializedName("cellularBlockDataRoaming") + @Expose + public Boolean cellularBlockDataRoaming; + + /** + * The Diagnostics Block Data Submission. + * Indicates whether or not to block diagnostic data submission. + */ + @SerializedName("diagnosticsBlockDataSubmission") + @Expose + public Boolean diagnosticsBlockDataSubmission; + + /** + * The Password Block Picture Password And Pin. + * Indicates whether or not to Block the user from using a pictures password and pin. + */ + @SerializedName("passwordBlockPicturePasswordAndPin") + @Expose + public Boolean passwordBlockPicturePasswordAndPin; + + /** + * The Password Expiration Days. + * Password expiration in days. + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * The minimum password length. + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Screen Timeout. + * The minutes of inactivity before the screen times out. + */ + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Previous Password Block Count. + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Sign In Failure Count Before Factory Reset. + * The number of sign in failures before factory reset. + */ + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @Expose + public Integer passwordSignInFailureCountBeforeFactoryReset; + + /** + * The Storage Require Device Encryption. + * Indicates whether or not to require encryption on a mobile device. + */ + @SerializedName("storageRequireDeviceEncryption") + @Expose + public Boolean storageRequireDeviceEncryption; + + /** + * The Updates Require Automatic Updates. + * Indicates whether or not to require automatic updates. + */ + @SerializedName("updatesRequireAutomaticUpdates") + @Expose + public Boolean updatesRequireAutomaticUpdates; + + /** + * The User Account Control Settings. + * The user account control settings. Possible values are: userDefined, alwaysNotify, notifyOnAppChanges, notifyOnAppChangesWithoutDimming, neverNotify. + */ + @SerializedName("userAccountControlSettings") + @Expose + public WindowsUserAccountControlSettings userAccountControlSettings; + + /** + * The Work Folders Url. + * The work folders url. + */ + @SerializedName("workFoldersUrl") + @Expose + public String workFoldersUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderAdvancedThreatProtectionConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderAdvancedThreatProtectionConfiguration.java index df7e0bb9bac..f21639f0928 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderAdvancedThreatProtectionConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderAdvancedThreatProtectionConfiguration.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindowsDefenderAdvancedThreatProtectionConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Defender Advanced Threat Protection Configuration. */ -public class WindowsDefenderAdvancedThreatProtectionConfiguration extends BaseWindowsDefenderAdvancedThreatProtectionConfiguration { +public class WindowsDefenderAdvancedThreatProtectionConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Allow Sample Sharing. + * Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule + */ + @SerializedName("allowSampleSharing") + @Expose + public Boolean allowSampleSharing; + + /** + * The Enable Expedited Telemetry Reporting. + * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. + */ + @SerializedName("enableExpeditedTelemetryReporting") + @Expose + public Boolean enableExpeditedTelemetryReporting; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderScanActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderScanActionResult.java index f3a74d3f037..39dd6e9eb71 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderScanActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsDefenderScanActionResult.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.BaseWindowsDefenderScanActionResult; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Defender Scan Action Result. */ -public class WindowsDefenderScanActionResult extends BaseWindowsDefenderScanActionResult { +public class WindowsDefenderScanActionResult extends DeviceActionResult implements IJsonBackedObject { + + + /** + * The Scan Type. + * Scan type either full scan or quick scan + */ + @SerializedName("scanType") + @Expose + public String scanType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceADAccount.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceADAccount.java index 70a870d22d0..5be09efc2d8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceADAccount.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceADAccount.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsDeviceAccount; -import com.microsoft.graph.models.generated.BaseWindowsDeviceADAccount; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Device ADAccount. */ -public class WindowsDeviceADAccount extends BaseWindowsDeviceADAccount { +public class WindowsDeviceADAccount extends WindowsDeviceAccount implements IJsonBackedObject { + + + /** + * The Domain Name. + * Not yet documented + */ + @SerializedName("domainName") + @Expose + public String domainName; + + /** + * The User Name. + * Not yet documented + */ + @SerializedName("userName") + @Expose + public String userName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAccount.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAccount.java index f178682f368..dd62f6f2ddc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAccount.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAccount.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindowsDeviceAccount; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Device Account. */ -public class WindowsDeviceAccount extends BaseWindowsDeviceAccount { +public class WindowsDeviceAccount implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Password. + * Not yet documented + */ + @SerializedName("password") + @Expose + public String password; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAzureADAccount.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAzureADAccount.java index 04fc54cd810..486bd1926db 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAzureADAccount.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsDeviceAzureADAccount.java @@ -3,12 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsDeviceAccount; -import com.microsoft.graph.models.generated.BaseWindowsDeviceAzureADAccount; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Device Azure ADAccount. */ -public class WindowsDeviceAzureADAccount extends BaseWindowsDeviceAzureADAccount { +public class WindowsDeviceAzureADAccount extends WindowsDeviceAccount implements IJsonBackedObject { + + + /** + * The User Principal Name. + * Not yet documented + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsFirewallNetworkProfile.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsFirewallNetworkProfile.java index 5f2c097c5b6..115f868c40a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsFirewallNetworkProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsFirewallNetworkProfile.java @@ -3,12 +3,174 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.StateManagementSetting; -import com.microsoft.graph.models.generated.BaseWindowsFirewallNetworkProfile; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Firewall Network Profile. */ -public class WindowsFirewallNetworkProfile extends BaseWindowsFirewallNetworkProfile { +public class WindowsFirewallNetworkProfile implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Firewall Enabled. + * Configures the host device to allow or block the firewall and advanced security enforcement for the network profile. Possible values are: notConfigured, blocked, allowed. + */ + @SerializedName("firewallEnabled") + @Expose + public StateManagementSetting firewallEnabled; + + /** + * The Stealth Mode Blocked. + * Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + */ + @SerializedName("stealthModeBlocked") + @Expose + public Boolean stealthModeBlocked; + + /** + * The Incoming Traffic Blocked. + * Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + */ + @SerializedName("incomingTrafficBlocked") + @Expose + public Boolean incomingTrafficBlocked; + + /** + * The Unicast Responses To Multicast Broadcasts Blocked. + * Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + */ + @SerializedName("unicastResponsesToMulticastBroadcastsBlocked") + @Expose + public Boolean unicastResponsesToMulticastBroadcastsBlocked; + + /** + * The Inbound Notifications Blocked. + * Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + */ + @SerializedName("inboundNotificationsBlocked") + @Expose + public Boolean inboundNotificationsBlocked; + + /** + * The Authorized Application Rules From Group Policy Merged. + * Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority. + */ + @SerializedName("authorizedApplicationRulesFromGroupPolicyMerged") + @Expose + public Boolean authorizedApplicationRulesFromGroupPolicyMerged; + + /** + * The Global Port Rules From Group Policy Merged. + * Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + */ + @SerializedName("globalPortRulesFromGroupPolicyMerged") + @Expose + public Boolean globalPortRulesFromGroupPolicyMerged; + + /** + * The Connection Security Rules From Group Policy Merged. + * Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + */ + @SerializedName("connectionSecurityRulesFromGroupPolicyMerged") + @Expose + public Boolean connectionSecurityRulesFromGroupPolicyMerged; + + /** + * The Outbound Connections Blocked. + * Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. + */ + @SerializedName("outboundConnectionsBlocked") + @Expose + public Boolean outboundConnectionsBlocked; + + /** + * The Inbound Connections Blocked. + * Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + */ + @SerializedName("inboundConnectionsBlocked") + @Expose + public Boolean inboundConnectionsBlocked; + + /** + * The Secured Packet Exemption Allowed. + * Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + */ + @SerializedName("securedPacketExemptionAllowed") + @Expose + public Boolean securedPacketExemptionAllowed; + + /** + * The Policy Rules From Group Policy Merged. + * Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + */ + @SerializedName("policyRulesFromGroupPolicyMerged") + @Expose + public Boolean policyRulesFromGroupPolicyMerged; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtection.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtection.java index 8ef18d923c7..73e27f44913 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtection.java @@ -3,12 +3,322 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WindowsInformationProtectionEnforcementLevel; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionResourceCollection; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionDataRecoveryCertificate; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionApp; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionProxiedDomainCollection; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionIPRangeCollection; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionPage; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionPage; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection. */ -public class WindowsInformationProtection extends BaseWindowsInformationProtection { +public class WindowsInformationProtection extends ManagedAppPolicy implements IJsonBackedObject { + + + /** + * The Enforcement Level. + * WIP enforcement level.See the Enum definition for supported values. Possible values are: noProtection, encryptAndAuditOnly, encryptAuditAndPrompt, encryptAuditAndBlock. + */ + @SerializedName("enforcementLevel") + @Expose + public WindowsInformationProtectionEnforcementLevel enforcementLevel; + + /** + * The Enterprise Domain. + * Primary enterprise domain + */ + @SerializedName("enterpriseDomain") + @Expose + public String enterpriseDomain; + + /** + * The Enterprise Protected Domain Names. + * List of enterprise domains to be protected + */ + @SerializedName("enterpriseProtectedDomainNames") + @Expose + public java.util.List enterpriseProtectedDomainNames; + + /** + * The Protection Under Lock Config Required. + * Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured + */ + @SerializedName("protectionUnderLockConfigRequired") + @Expose + public Boolean protectionUnderLockConfigRequired; + + /** + * The Data Recovery Certificate. + * Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) + */ + @SerializedName("dataRecoveryCertificate") + @Expose + public WindowsInformationProtectionDataRecoveryCertificate dataRecoveryCertificate; + + /** + * The Revoke On Unenroll Disabled. + * This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. + */ + @SerializedName("revokeOnUnenrollDisabled") + @Expose + public Boolean revokeOnUnenrollDisabled; + + /** + * The Rights Management Services Template Id. + * TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access + */ + @SerializedName("rightsManagementServicesTemplateId") + @Expose + public java.util.UUID rightsManagementServicesTemplateId; + + /** + * The Azure Rights Management Services Allowed. + * Specifies whether to allow Azure RMS encryption for WIP + */ + @SerializedName("azureRightsManagementServicesAllowed") + @Expose + public Boolean azureRightsManagementServicesAllowed; + + /** + * The Icons Visible. + * Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app + */ + @SerializedName("iconsVisible") + @Expose + public Boolean iconsVisible; + + /** + * The Protected Apps. + * Protected applications can access enterprise data and the data handled by those applications are protected with encryption + */ + @SerializedName("protectedApps") + @Expose + public java.util.List protectedApps; + + /** + * The Exempt Apps. + * Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. + */ + @SerializedName("exemptApps") + @Expose + public java.util.List exemptApps; + + /** + * The Enterprise Network Domain Names. + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to + */ + @SerializedName("enterpriseNetworkDomainNames") + @Expose + public java.util.List enterpriseNetworkDomainNames; + + /** + * The Enterprise Proxied Domains. + * Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy + */ + @SerializedName("enterpriseProxiedDomains") + @Expose + public java.util.List enterpriseProxiedDomains; + + /** + * The Enterprise IPRanges. + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to + */ + @SerializedName("enterpriseIPRanges") + @Expose + public java.util.List enterpriseIPRanges; + + /** + * The Enterprise IPRanges Are Authoritative. + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false + */ + @SerializedName("enterpriseIPRangesAreAuthoritative") + @Expose + public Boolean enterpriseIPRangesAreAuthoritative; + + /** + * The Enterprise Proxy Servers. + * This is a list of proxy servers. Any server not on this list is considered non-enterprise + */ + @SerializedName("enterpriseProxyServers") + @Expose + public java.util.List enterpriseProxyServers; + + /** + * The Enterprise Internal Proxy Servers. + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies + */ + @SerializedName("enterpriseInternalProxyServers") + @Expose + public java.util.List enterpriseInternalProxyServers; + + /** + * The Enterprise Proxy Servers Are Authoritative. + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + */ + @SerializedName("enterpriseProxyServersAreAuthoritative") + @Expose + public Boolean enterpriseProxyServersAreAuthoritative; + + /** + * The Neutral Domain Resources. + * List of domain names that can used for work or personal resource + */ + @SerializedName("neutralDomainResources") + @Expose + public java.util.List neutralDomainResources; + + /** + * The Indexing Encrypted Stores Or Items Blocked. + * This switch is for the Windows Search Indexer, to allow or disallow indexing of items + */ + @SerializedName("indexingEncryptedStoresOrItemsBlocked") + @Expose + public Boolean indexingEncryptedStoresOrItemsBlocked; + + /** + * The Smb Auto Encrypted File Extensions. + * Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary + */ + @SerializedName("smbAutoEncryptedFileExtensions") + @Expose + public java.util.List smbAutoEncryptedFileExtensions; + + /** + * The Is Assigned. + * Indicates if the policy is deployed to any inclusion groups or not. + */ + @SerializedName("isAssigned") + @Expose + public Boolean isAssigned; + + /** + * The Protected App Locker Files. + * Another way to input protected apps through xml files + */ + public WindowsInformationProtectionAppLockerFileCollectionPage protectedAppLockerFiles; + + /** + * The Exempt App Locker Files. + * Another way to input exempt apps through xml files + */ + public WindowsInformationProtectionAppLockerFileCollectionPage exemptAppLockerFiles; + + /** + * The Assignments. + * Navigation property to list of security groups targeted for policy. + */ + public TargetedManagedAppPolicyAssignmentCollectionPage assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("protectedAppLockerFiles")) { + final WindowsInformationProtectionAppLockerFileCollectionResponse response = new WindowsInformationProtectionAppLockerFileCollectionResponse(); + if (json.has("protectedAppLockerFiles@odata.nextLink")) { + response.nextLink = json.get("protectedAppLockerFiles@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("protectedAppLockerFiles").toString(), JsonObject[].class); + final WindowsInformationProtectionAppLockerFile[] array = new WindowsInformationProtectionAppLockerFile[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionAppLockerFile.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + protectedAppLockerFiles = new WindowsInformationProtectionAppLockerFileCollectionPage(response, null); + } + + if (json.has("exemptAppLockerFiles")) { + final WindowsInformationProtectionAppLockerFileCollectionResponse response = new WindowsInformationProtectionAppLockerFileCollectionResponse(); + if (json.has("exemptAppLockerFiles@odata.nextLink")) { + response.nextLink = json.get("exemptAppLockerFiles@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exemptAppLockerFiles").toString(), JsonObject[].class); + final WindowsInformationProtectionAppLockerFile[] array = new WindowsInformationProtectionAppLockerFile[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionAppLockerFile.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + exemptAppLockerFiles = new WindowsInformationProtectionAppLockerFileCollectionPage(response, null); + } + + if (json.has("assignments")) { + final TargetedManagedAppPolicyAssignmentCollectionResponse response = new TargetedManagedAppPolicyAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final TargetedManagedAppPolicyAssignment[] array = new TargetedManagedAppPolicyAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppPolicyAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + assignments = new TargetedManagedAppPolicyAssignmentCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionApp.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionApp.java index ea5f2080c50..c6b57664c9d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionApp.java @@ -3,12 +3,117 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App. */ -public class WindowsInformationProtectionApp extends BaseWindowsInformationProtectionApp { +public class WindowsInformationProtectionApp implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * App display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Description. + * The app's description. + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Publisher Name. + * The publisher name + */ + @SerializedName("publisherName") + @Expose + public String publisherName; + + /** + * The Product Name. + * The product name. + */ + @SerializedName("productName") + @Expose + public String productName; + + /** + * The Denied. + * If true, app is denied protection or exemption. + */ + @SerializedName("denied") + @Expose + public Boolean denied; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLearningSummary.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLearningSummary.java index 0af906775c6..4fad3b7774d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLearningSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLearningSummary.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ApplicationType; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionAppLearningSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Learning Summary. */ -public class WindowsInformationProtectionAppLearningSummary extends BaseWindowsInformationProtectionAppLearningSummary { +public class WindowsInformationProtectionAppLearningSummary extends Entity implements IJsonBackedObject { + + + /** + * The Application Name. + * Application Name + */ + @SerializedName("applicationName") + @Expose + public String applicationName; + + /** + * The Application Type. + * Application Type. Possible values are: universal, desktop. + */ + @SerializedName("applicationType") + @Expose + public ApplicationType applicationType; + + /** + * The Device Count. + * Device Count + */ + @SerializedName("deviceCount") + @Expose + public Integer deviceCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLockerFile.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLockerFile.java index d947fc3f699..f46abe86e26 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLockerFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAppLockerFile.java @@ -3,12 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionAppLockerFile; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Locker File. */ -public class WindowsInformationProtectionAppLockerFile extends BaseWindowsInformationProtectionAppLockerFile { +public class WindowsInformationProtectionAppLockerFile extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * The friendly name + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The File Hash. + * SHA256 hash of the file + */ + @SerializedName("fileHash") + @Expose + public String fileHash; + + /** + * The File. + * File as a byte array + */ + @SerializedName("file") + @Expose + public byte[] file; + + /** + * The Version. + * Version of the entity. + */ + @SerializedName("version") + @Expose + public String version; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAssignBody.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAssignBody.java index f86beeb6790..0b6f62a9163 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAssignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionAssignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionAssignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Assign Body. */ -public class WindowsInformationProtectionAssignBody extends BaseWindowsInformationProtectionAssignBody { +public class WindowsInformationProtectionAssignBody { + /** + * The assignments. + * + */ + @SerializedName("assignments") + @Expose + public java.util.List assignments; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDataRecoveryCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDataRecoveryCertificate.java index e68e37400c3..701cebaeb4d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDataRecoveryCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDataRecoveryCertificate.java @@ -3,12 +3,109 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionDataRecoveryCertificate; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Data Recovery Certificate. */ -public class WindowsInformationProtectionDataRecoveryCertificate extends BaseWindowsInformationProtectionDataRecoveryCertificate { +public class WindowsInformationProtectionDataRecoveryCertificate implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Subject Name. + * Data recovery Certificate subject name + */ + @SerializedName("subjectName") + @Expose + public String subjectName; + + /** + * The Description. + * Data recovery Certificate description + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Expiration Date Time. + * Data recovery Certificate expiration datetime + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + + /** + * The Certificate. + * Data recovery Certificate + */ + @SerializedName("certificate") + @Expose + public byte[] certificate; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDesktopApp.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDesktopApp.java index c33bf7408b6..d3387eea5db 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDesktopApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionDesktopApp.java @@ -3,12 +3,92 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionApp; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionDesktopApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Desktop App. */ -public class WindowsInformationProtectionDesktopApp extends BaseWindowsInformationProtectionDesktopApp { +public class WindowsInformationProtectionDesktopApp extends WindowsInformationProtectionApp implements IJsonBackedObject { + + + /** + * The Binary Name. + * The binary name. + */ + @SerializedName("binaryName") + @Expose + public String binaryName; + + /** + * The Binary Version Low. + * The lower binary version. + */ + @SerializedName("binaryVersionLow") + @Expose + public String binaryVersionLow; + + /** + * The Binary Version High. + * The high binary version. + */ + @SerializedName("binaryVersionHigh") + @Expose + public String binaryVersionHigh; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionIPRangeCollection.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionIPRangeCollection.java index adca920d3a1..b5c323d3b6d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionIPRangeCollection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionIPRangeCollection.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IpRange; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionIPRangeCollection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection IPRange Collection. */ -public class WindowsInformationProtectionIPRangeCollection extends BaseWindowsInformationProtectionIPRangeCollection { +public class WindowsInformationProtectionIPRangeCollection implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Display name + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Ranges. + * Collection of ip ranges + */ + @SerializedName("ranges") + @Expose + public java.util.List ranges; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionNetworkLearningSummary.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionNetworkLearningSummary.java index 14c7687211d..78f6672fd8d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionNetworkLearningSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionNetworkLearningSummary.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionNetworkLearningSummary; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Network Learning Summary. */ -public class WindowsInformationProtectionNetworkLearningSummary extends BaseWindowsInformationProtectionNetworkLearningSummary { +public class WindowsInformationProtectionNetworkLearningSummary extends Entity implements IJsonBackedObject { + + + /** + * The Url. + * Website url + */ + @SerializedName("url") + @Expose + public String url; + + /** + * The Device Count. + * Device Count + */ + @SerializedName("deviceCount") + @Expose + public Integer deviceCount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionPolicy.java index 94ce06fb7cb..51046ebc160 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionPolicy.java @@ -3,12 +3,165 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WindowsInformationProtectionPinCharacterRequirements; +import com.microsoft.graph.models.extensions.WindowsInformationProtection; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionPolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Policy. */ -public class WindowsInformationProtectionPolicy extends BaseWindowsInformationProtectionPolicy { +public class WindowsInformationProtectionPolicy extends WindowsInformationProtection implements IJsonBackedObject { + + + /** + * The Revoke On Mdm Handoff Disabled. + * New property in RS2, pending documentation + */ + @SerializedName("revokeOnMdmHandoffDisabled") + @Expose + public Boolean revokeOnMdmHandoffDisabled; + + /** + * The Mdm Enrollment Url. + * Enrollment url for the MDM + */ + @SerializedName("mdmEnrollmentUrl") + @Expose + public String mdmEnrollmentUrl; + + /** + * The Windows Hello For Business Blocked. + * Boolean value that sets Windows Hello for Business as a method for signing into Windows. + */ + @SerializedName("windowsHelloForBusinessBlocked") + @Expose + public Boolean windowsHelloForBusinessBlocked; + + /** + * The Pin Minimum Length. + * Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. + */ + @SerializedName("pinMinimumLength") + @Expose + public Integer pinMinimumLength; + + /** + * The Pin Uppercase Letters. + * Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + */ + @SerializedName("pinUppercaseLetters") + @Expose + public WindowsInformationProtectionPinCharacterRequirements pinUppercaseLetters; + + /** + * The Pin Lowercase Letters. + * Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + */ + @SerializedName("pinLowercaseLetters") + @Expose + public WindowsInformationProtectionPinCharacterRequirements pinLowercaseLetters; + + /** + * The Pin Special Characters. + * Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! ' # $ % & ' ( ) + , - . / : ; &lt; = &gt; ? @ [ / ] ^ ` { + */ + @SerializedName("pinSpecialCharacters") + @Expose + public WindowsInformationProtectionPinCharacterRequirements pinSpecialCharacters; + + /** + * The Pin Expiration Days. + * Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. + */ + @SerializedName("pinExpirationDays") + @Expose + public Integer pinExpirationDays; + + /** + * The Number Of Past Pins Remembered. + * Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. + */ + @SerializedName("numberOfPastPinsRemembered") + @Expose + public Integer numberOfPastPinsRemembered; + + /** + * The Password Maximum Attempt Count. + * The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 &lt;= X &lt;= 16 for desktop and 0 &lt;= X &lt;= 999 for mobile devices. + */ + @SerializedName("passwordMaximumAttemptCount") + @Expose + public Integer passwordMaximumAttemptCount; + + /** + * The Minutes Of Inactivity Before Device Lock. + * Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 &lt;= X &lt;= 999. + */ + @SerializedName("minutesOfInactivityBeforeDeviceLock") + @Expose + public Integer minutesOfInactivityBeforeDeviceLock; + + /** + * The Days Without Contact Before Unenroll. + * Offline interval before app data is wiped (days) + */ + @SerializedName("daysWithoutContactBeforeUnenroll") + @Expose + public Integer daysWithoutContactBeforeUnenroll; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionProxiedDomainCollection.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionProxiedDomainCollection.java index 48fa0e5f48f..64d8187f6a1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionProxiedDomainCollection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionProxiedDomainCollection.java @@ -3,12 +3,94 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ProxiedDomain; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionProxiedDomainCollection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Proxied Domain Collection. */ -public class WindowsInformationProtectionProxiedDomainCollection extends BaseWindowsInformationProtectionProxiedDomainCollection { +public class WindowsInformationProtectionProxiedDomainCollection implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Display name + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Proxied Domains. + * Collection of proxied domains + */ + @SerializedName("proxiedDomains") + @Expose + public java.util.List proxiedDomains; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionResourceCollection.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionResourceCollection.java index 081167f5f5c..04fa0572f88 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionResourceCollection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionResourceCollection.java @@ -3,12 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionResourceCollection; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Resource Collection. */ -public class WindowsInformationProtectionResourceCollection extends BaseWindowsInformationProtectionResourceCollection { +public class WindowsInformationProtectionResourceCollection implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Display Name. + * Display name + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Resources. + * Collection of resources + */ + @SerializedName("resources") + @Expose + public java.util.List resources; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionStoreApp.java index e7744e1143a..b3715fb9afc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsInformationProtectionStoreApp.java @@ -3,12 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionApp; -import com.microsoft.graph.models.generated.BaseWindowsInformationProtectionStoreApp; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Store App. */ -public class WindowsInformationProtectionStoreApp extends BaseWindowsInformationProtectionStoreApp { +public class WindowsInformationProtectionStoreApp extends WindowsInformationProtectionApp implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsMinimumOperatingSystem.java index 5742cd4ed59..e69cd391ea9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsMinimumOperatingSystem.java @@ -3,12 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindowsMinimumOperatingSystem; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Minimum Operating System. */ -public class WindowsMinimumOperatingSystem extends BaseWindowsMinimumOperatingSystem { +public class WindowsMinimumOperatingSystem implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The V8_0. + * Windows version 8.0 or later. + */ + @SerializedName("v8_0") + @Expose + public Boolean v8_0; + + /** + * The V8_1. + * Windows version 8.1 or later. + */ + @SerializedName("v8_1") + @Expose + public Boolean v8_1; + + /** + * The V10_0. + * Windows version 10.0 or later. + */ + @SerializedName("v10_0") + @Expose + public Boolean v10_0; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsMobileMSI.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsMobileMSI.java index b4a6b249ff5..809e7f4128b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsMobileMSI.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsMobileMSI.java @@ -3,12 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.MobileLobApp; -import com.microsoft.graph.models.generated.BaseWindowsMobileMSI; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Mobile MSI. */ -public class WindowsMobileMSI extends BaseWindowsMobileMSI { +public class WindowsMobileMSI extends MobileLobApp implements IJsonBackedObject { + + + /** + * The Command Line. + * The command line. + */ + @SerializedName("commandLine") + @Expose + public String commandLine; + + /** + * The Product Code. + * The product code. + */ + @SerializedName("productCode") + @Expose + public String productCode; + + /** + * The Product Version. + * The product version of Windows Mobile MSI Line of Business (LoB) app. + */ + @SerializedName("productVersion") + @Expose + public String productVersion; + + /** + * The Ignore Version Detection. + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature. + */ + @SerializedName("ignoreVersionDetection") + @Expose + public Boolean ignoreVersionDetection; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CompliancePolicy.java index 8466a149a5f..59fa8bb52be 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CompliancePolicy.java @@ -3,12 +3,157 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.generated.BaseWindowsPhone81CompliancePolicy; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81Compliance Policy. */ -public class WindowsPhone81CompliancePolicy extends BaseWindowsPhone81CompliancePolicy { +public class WindowsPhone81CompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { + + + /** + * The Password Block Simple. + * Whether or not to block syncing the calendar. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Expiration Days. + * Number of days before the password expires. + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * Minimum length of passwords. + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. + */ + @SerializedName("passwordMinutesOfInactivityBeforeLock") + @Expose + public Integer passwordMinutesOfInactivityBeforeLock; + + /** + * The Password Minimum Character Set Count. + * The number of character sets required in the password. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 0 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Required. + * Whether or not to require a password. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Os Minimum Version. + * Minimum Windows Phone version. + */ + @SerializedName("osMinimumVersion") + @Expose + public String osMinimumVersion; + + /** + * The Os Maximum Version. + * Maximum Windows Phone version. + */ + @SerializedName("osMaximumVersion") + @Expose + public String osMaximumVersion; + + /** + * The Storage Require Encryption. + * Require encryption on windows phone devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CustomConfiguration.java index f3360beb7e8..0d36c45d82a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81CustomConfiguration.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.OmaSetting; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindowsPhone81CustomConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81Custom Configuration. */ -public class WindowsPhone81CustomConfiguration extends BaseWindowsPhone81CustomConfiguration { +public class WindowsPhone81CustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Oma Settings. + * OMA settings. This collection can contain a maximum of 1000 elements. + */ + @SerializedName("omaSettings") + @Expose + public java.util.List omaSettings; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81GeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81GeneralConfiguration.java index 38120bc8953..288fd90e27a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81GeneralConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsPhone81GeneralConfiguration.java @@ -3,12 +3,303 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppListItem; +import com.microsoft.graph.models.generated.AppListType; +import com.microsoft.graph.models.generated.RequiredPasswordType; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindowsPhone81GeneralConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81General Configuration. */ -public class WindowsPhone81GeneralConfiguration extends BaseWindowsPhone81GeneralConfiguration { +public class WindowsPhone81GeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Apply Only To Windows Phone81. + * Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only. + */ + @SerializedName("applyOnlyToWindowsPhone81") + @Expose + public Boolean applyOnlyToWindowsPhone81; + + /** + * The Apps Block Copy Paste. + * Indicates whether or not to block copy paste. + */ + @SerializedName("appsBlockCopyPaste") + @Expose + public Boolean appsBlockCopyPaste; + + /** + * The Bluetooth Blocked. + * Indicates whether or not to block bluetooth. + */ + @SerializedName("bluetoothBlocked") + @Expose + public Boolean bluetoothBlocked; + + /** + * The Camera Blocked. + * Indicates whether or not to block camera. + */ + @SerializedName("cameraBlocked") + @Expose + public Boolean cameraBlocked; + + /** + * The Cellular Block Wifi Tethering. + * Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked. + */ + @SerializedName("cellularBlockWifiTethering") + @Expose + public Boolean cellularBlockWifiTethering; + + /** + * The Compliant Apps List. + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("compliantAppsList") + @Expose + public java.util.List compliantAppsList; + + /** + * The Compliant App List Type. + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("compliantAppListType") + @Expose + public AppListType compliantAppListType; + + /** + * The Diagnostic Data Block Submission. + * Indicates whether or not to block diagnostic data submission. + */ + @SerializedName("diagnosticDataBlockSubmission") + @Expose + public Boolean diagnosticDataBlockSubmission; + + /** + * The Email Block Adding Accounts. + * Indicates whether or not to block custom email accounts. + */ + @SerializedName("emailBlockAddingAccounts") + @Expose + public Boolean emailBlockAddingAccounts; + + /** + * The Location Services Blocked. + * Indicates whether or not to block location services. + */ + @SerializedName("locationServicesBlocked") + @Expose + public Boolean locationServicesBlocked; + + /** + * The Microsoft Account Blocked. + * Indicates whether or not to block using a Microsoft Account. + */ + @SerializedName("microsoftAccountBlocked") + @Expose + public Boolean microsoftAccountBlocked; + + /** + * The Nfc Blocked. + * Indicates whether or not to block Near-Field Communication. + */ + @SerializedName("nfcBlocked") + @Expose + public Boolean nfcBlocked; + + /** + * The Password Block Simple. + * Indicates whether or not to block syncing the calendar. + */ + @SerializedName("passwordBlockSimple") + @Expose + public Boolean passwordBlockSimple; + + /** + * The Password Expiration Days. + * Number of days before the password expires. + */ + @SerializedName("passwordExpirationDays") + @Expose + public Integer passwordExpirationDays; + + /** + * The Password Minimum Length. + * Minimum length of passwords. + */ + @SerializedName("passwordMinimumLength") + @Expose + public Integer passwordMinimumLength; + + /** + * The Password Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity before screen timeout. + */ + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @Expose + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + + /** + * The Password Minimum Character Set Count. + * Number of character sets a password must contain. + */ + @SerializedName("passwordMinimumCharacterSetCount") + @Expose + public Integer passwordMinimumCharacterSetCount; + + /** + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 0 to 24 + */ + @SerializedName("passwordPreviousPasswordBlockCount") + @Expose + public Integer passwordPreviousPasswordBlockCount; + + /** + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before factory reset. + */ + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @Expose + public Integer passwordSignInFailureCountBeforeFactoryReset; + + /** + * The Password Required Type. + * Password type that is required. Possible values are: deviceDefault, alphanumeric, numeric. + */ + @SerializedName("passwordRequiredType") + @Expose + public RequiredPasswordType passwordRequiredType; + + /** + * The Password Required. + * Indicates whether or not to require a password. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Screen Capture Blocked. + * Indicates whether or not to block screenshots. + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Storage Block Removable Storage. + * Indicates whether or not to block removable storage. + */ + @SerializedName("storageBlockRemovableStorage") + @Expose + public Boolean storageBlockRemovableStorage; + + /** + * The Storage Require Encryption. + * Indicates whether or not to require encryption. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + /** + * The Web Browser Blocked. + * Indicates whether or not to block the web browser. + */ + @SerializedName("webBrowserBlocked") + @Expose + public Boolean webBrowserBlocked; + + /** + * The Wifi Blocked. + * Indicates whether or not to block Wi-Fi. + */ + @SerializedName("wifiBlocked") + @Expose + public Boolean wifiBlocked; + + /** + * The Wifi Block Automatic Connect Hotspots. + * Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + */ + @SerializedName("wifiBlockAutomaticConnectHotspots") + @Expose + public Boolean wifiBlockAutomaticConnectHotspots; + + /** + * The Wifi Block Hotspot Reporting. + * Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked. + */ + @SerializedName("wifiBlockHotspotReporting") + @Expose + public Boolean wifiBlockHotspotReporting; + + /** + * The Windows Store Blocked. + * Indicates whether or not to block the Windows Store. + */ + @SerializedName("windowsStoreBlocked") + @Expose + public Boolean windowsStoreBlocked; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsUniversalAppX.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsUniversalAppX.java index 22329abd665..cf7ebc01e69 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsUniversalAppX.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsUniversalAppX.java @@ -3,12 +3,135 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WindowsArchitecture; +import com.microsoft.graph.models.generated.WindowsDeviceType; +import com.microsoft.graph.models.extensions.WindowsMinimumOperatingSystem; +import com.microsoft.graph.models.extensions.MobileLobApp; -import com.microsoft.graph.models.generated.BaseWindowsUniversalAppX; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Universal App X. */ -public class WindowsUniversalAppX extends BaseWindowsUniversalAppX { +public class WindowsUniversalAppX extends MobileLobApp implements IJsonBackedObject { + + + /** + * The Applicable Architectures. + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral. + */ + @SerializedName("applicableArchitectures") + @Expose + public EnumSet applicableArchitectures; + + /** + * The Applicable Device Types. + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + */ + @SerializedName("applicableDeviceTypes") + @Expose + public EnumSet applicableDeviceTypes; + + /** + * The Identity Name. + * The Identity Name. + */ + @SerializedName("identityName") + @Expose + public String identityName; + + /** + * The Identity Publisher Hash. + * The Identity Publisher Hash. + */ + @SerializedName("identityPublisherHash") + @Expose + public String identityPublisherHash; + + /** + * The Identity Resource Identifier. + * The Identity Resource Identifier. + */ + @SerializedName("identityResourceIdentifier") + @Expose + public String identityResourceIdentifier; + + /** + * The Is Bundle. + * Whether or not the app is a bundle. + */ + @SerializedName("isBundle") + @Expose + public Boolean isBundle; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public WindowsMinimumOperatingSystem minimumSupportedOperatingSystem; + + /** + * The Identity Version. + * The identity version. + */ + @SerializedName("identityVersion") + @Expose + public String identityVersion; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateActiveHoursInstall.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateActiveHoursInstall.java index b6b9d6b7fbc..2288b21d4d6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateActiveHoursInstall.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateActiveHoursInstall.java @@ -3,12 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WindowsUpdateInstallScheduleType; -import com.microsoft.graph.models.generated.BaseWindowsUpdateActiveHoursInstall; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Update Active Hours Install. */ -public class WindowsUpdateActiveHoursInstall extends BaseWindowsUpdateActiveHoursInstall { +public class WindowsUpdateActiveHoursInstall extends WindowsUpdateInstallScheduleType implements IJsonBackedObject { + + + /** + * The Active Hours Start. + * Active Hours Start + */ + @SerializedName("activeHoursStart") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay activeHoursStart; + + /** + * The Active Hours End. + * Active Hours End + */ + @SerializedName("activeHoursEnd") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay activeHoursEnd; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateForBusinessConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateForBusinessConfiguration.java index a9153172149..9019a385834 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateForBusinessConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateForBusinessConfiguration.java @@ -3,12 +3,177 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WindowsDeliveryOptimizationMode; +import com.microsoft.graph.models.generated.PrereleaseFeatures; +import com.microsoft.graph.models.generated.AutomaticUpdateMode; +import com.microsoft.graph.models.extensions.WindowsUpdateInstallScheduleType; +import com.microsoft.graph.models.generated.WindowsUpdateType; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.generated.BaseWindowsUpdateForBusinessConfiguration; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Update For Business Configuration. */ -public class WindowsUpdateForBusinessConfiguration extends BaseWindowsUpdateForBusinessConfiguration { +public class WindowsUpdateForBusinessConfiguration extends DeviceConfiguration implements IJsonBackedObject { + + + /** + * The Delivery Optimization Mode. + * Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + */ + @SerializedName("deliveryOptimizationMode") + @Expose + public WindowsDeliveryOptimizationMode deliveryOptimizationMode; + + /** + * The Prerelease Features. + * The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. + */ + @SerializedName("prereleaseFeatures") + @Expose + public PrereleaseFeatures prereleaseFeatures; + + /** + * The Automatic Update Mode. + * Automatic update mode. Possible values are: userDefined, notifyDownload, autoInstallAtMaintenanceTime, autoInstallAndRebootAtMaintenanceTime, autoInstallAndRebootAtScheduledTime, autoInstallAndRebootWithoutEndUserControl. + */ + @SerializedName("automaticUpdateMode") + @Expose + public AutomaticUpdateMode automaticUpdateMode; + + /** + * The Microsoft Update Service Allowed. + * Allow Microsoft Update Service + */ + @SerializedName("microsoftUpdateServiceAllowed") + @Expose + public Boolean microsoftUpdateServiceAllowed; + + /** + * The Drivers Excluded. + * Exclude Windows update Drivers + */ + @SerializedName("driversExcluded") + @Expose + public Boolean driversExcluded; + + /** + * The Installation Schedule. + * Installation schedule + */ + @SerializedName("installationSchedule") + @Expose + public WindowsUpdateInstallScheduleType installationSchedule; + + /** + * The Quality Updates Deferral Period In Days. + * Defer Quality Updates by these many days + */ + @SerializedName("qualityUpdatesDeferralPeriodInDays") + @Expose + public Integer qualityUpdatesDeferralPeriodInDays; + + /** + * The Feature Updates Deferral Period In Days. + * Defer Feature Updates by these many days + */ + @SerializedName("featureUpdatesDeferralPeriodInDays") + @Expose + public Integer featureUpdatesDeferralPeriodInDays; + + /** + * The Quality Updates Paused. + * Pause Quality Updates + */ + @SerializedName("qualityUpdatesPaused") + @Expose + public Boolean qualityUpdatesPaused; + + /** + * The Feature Updates Paused. + * Pause Feature Updates + */ + @SerializedName("featureUpdatesPaused") + @Expose + public Boolean featureUpdatesPaused; + + /** + * The Quality Updates Pause Expiry Date Time. + * Quality Updates Pause Expiry datetime + */ + @SerializedName("qualityUpdatesPauseExpiryDateTime") + @Expose + public java.util.Calendar qualityUpdatesPauseExpiryDateTime; + + /** + * The Feature Updates Pause Expiry Date Time. + * Feature Updates Pause Expiry datetime + */ + @SerializedName("featureUpdatesPauseExpiryDateTime") + @Expose + public java.util.Calendar featureUpdatesPauseExpiryDateTime; + + /** + * The Business Ready Updates Only. + * Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. + */ + @SerializedName("businessReadyUpdatesOnly") + @Expose + public WindowsUpdateType businessReadyUpdatesOnly; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateInstallScheduleType.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateInstallScheduleType.java index 562696c4fb1..dfbe97a30f0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateInstallScheduleType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateInstallScheduleType.java @@ -3,12 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWindowsUpdateInstallScheduleType; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Update Install Schedule Type. */ -public class WindowsUpdateInstallScheduleType extends BaseWindowsUpdateInstallScheduleType { +public class WindowsUpdateInstallScheduleType implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateScheduledInstall.java b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateScheduledInstall.java index 6f282e4594b..bdee41e57a1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateScheduledInstall.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WindowsUpdateScheduledInstall.java @@ -3,12 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.WeeklySchedule; +import com.microsoft.graph.models.extensions.WindowsUpdateInstallScheduleType; -import com.microsoft.graph.models.generated.BaseWindowsUpdateScheduledInstall; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Update Scheduled Install. */ -public class WindowsUpdateScheduledInstall extends BaseWindowsUpdateScheduledInstall { +public class WindowsUpdateScheduledInstall extends WindowsUpdateInstallScheduleType implements IJsonBackedObject { + + + /** + * The Scheduled Install Day. + * Scheduled Install Day in week. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday. + */ + @SerializedName("scheduledInstallDay") + @Expose + public WeeklySchedule scheduledInstallDay; + + /** + * The Scheduled Install Time. + * Scheduled Install Time during day + */ + @SerializedName("scheduledInstallTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay scheduledInstallTime; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Workbook.java b/src/main/java/com/microsoft/graph/models/extensions/Workbook.java index 60c392d7931..8f12082e4cd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Workbook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Workbook.java @@ -3,14 +3,161 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookApplication; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.models.extensions.WorkbookFunctions; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionPage; +import com.microsoft.graph.requests.extensions.WorkbookTableCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookTableCollectionPage; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbook; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook. */ -public class Workbook extends BaseWorkbook { +public class Workbook extends Entity implements IJsonBackedObject { + + + /** + * The Application. + * + */ + @SerializedName("application") + @Expose + public WorkbookApplication application; + + /** + * The Names. + * Represents a collection of workbook scoped named items (named ranges and constants). Read-only. + */ + public WorkbookNamedItemCollectionPage names; + + /** + * The Tables. + * Represents a collection of tables associated with the workbook. Read-only. + */ + public WorkbookTableCollectionPage tables; + + /** + * The Worksheets. + * Represents a collection of worksheets associated with the workbook. Read-only. + */ + public WorkbookWorksheetCollectionPage worksheets; + + /** + * The Functions. + * + */ + @SerializedName("functions") + @Expose + public WorkbookFunctions functions; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("names")) { + final WorkbookNamedItemCollectionResponse response = new WorkbookNamedItemCollectionResponse(); + if (json.has("names@odata.nextLink")) { + response.nextLink = json.get("names@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("names").toString(), JsonObject[].class); + final WorkbookNamedItem[] array = new WorkbookNamedItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookNamedItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + names = new WorkbookNamedItemCollectionPage(response, null); + } + + if (json.has("tables")) { + final WorkbookTableCollectionResponse response = new WorkbookTableCollectionResponse(); + if (json.has("tables@odata.nextLink")) { + response.nextLink = json.get("tables@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tables").toString(), JsonObject[].class); + final WorkbookTable[] array = new WorkbookTable[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTable.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tables = new WorkbookTableCollectionPage(response, null); + } + + if (json.has("worksheets")) { + final WorkbookWorksheetCollectionResponse response = new WorkbookWorksheetCollectionResponse(); + if (json.has("worksheets@odata.nextLink")) { + response.nextLink = json.get("worksheets@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("worksheets").toString(), JsonObject[].class); + final WorkbookWorksheet[] array = new WorkbookWorksheet[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookWorksheet.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + worksheets = new WorkbookWorksheetCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplication.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplication.java index b8525391ee0..b8327a54b1e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplication.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplication.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookApplication; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Application. */ -public class WorkbookApplication extends BaseWorkbookApplication { +public class WorkbookApplication extends Entity implements IJsonBackedObject { + + + /** + * The Calculation Mode. + * + */ + @SerializedName("calculationMode") + @Expose + public String calculationMode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplicationCalculateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplicationCalculateBody.java index d188470bcdd..d2d07f67a22 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplicationCalculateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookApplicationCalculateBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookApplicationCalculateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Application Calculate Body. */ -public class WorkbookApplicationCalculateBody extends BaseWorkbookApplicationCalculateBody { +public class WorkbookApplicationCalculateBody { + /** + * The calculation Type. + * + */ + @SerializedName("calculationType") + @Expose + public String calculationType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChart.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChart.java index e7d9c44cee4..e3ffc1d3975 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChart.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChart.java @@ -3,14 +3,187 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartAxes; +import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; +import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; +import com.microsoft.graph.models.extensions.WorkbookChartLegend; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; +import com.microsoft.graph.models.extensions.WorkbookChartTitle; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbookChart; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart. */ -public class WorkbookChart extends BaseWorkbookChart { +public class WorkbookChart extends Entity implements IJsonBackedObject { + + + /** + * The Height. + * Represents the height, in points, of the chart object. + */ + @SerializedName("height") + @Expose + public Double height; + + /** + * The Left. + * The distance, in points, from the left side of the chart to the worksheet origin. + */ + @SerializedName("left") + @Expose + public Double left; + + /** + * The Name. + * Represents the name of a chart object. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Top. + * Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). + */ + @SerializedName("top") + @Expose + public Double top; + + /** + * The Width. + * Represents the width, in points, of the chart object. + */ + @SerializedName("width") + @Expose + public Double width; + + /** + * The Axes. + * Represents chart axes. Read-only. + */ + @SerializedName("axes") + @Expose + public WorkbookChartAxes axes; + + /** + * The Data Labels. + * Represents the datalabels on the chart. Read-only. + */ + @SerializedName("dataLabels") + @Expose + public WorkbookChartDataLabels dataLabels; + + /** + * The Format. + * Encapsulates the format properties for the chart area. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartAreaFormat format; + + /** + * The Legend. + * Represents the legend for the chart. Read-only. + */ + @SerializedName("legend") + @Expose + public WorkbookChartLegend legend; + + /** + * The Series. + * Represents either a single series or collection of series in the chart. Read-only. + */ + public WorkbookChartSeriesCollectionPage series; + + /** + * The Title. + * Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + */ + @SerializedName("title") + @Expose + public WorkbookChartTitle title; + + /** + * The Worksheet. + * The worksheet containing the current chart. Read-only. + */ + @SerializedName("worksheet") + @Expose + public WorkbookWorksheet worksheet; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("series")) { + final WorkbookChartSeriesCollectionResponse response = new WorkbookChartSeriesCollectionResponse(); + if (json.has("series@odata.nextLink")) { + response.nextLink = json.get("series@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("series").toString(), JsonObject[].class); + final WorkbookChartSeries[] array = new WorkbookChartSeries[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookChartSeries.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + series = new WorkbookChartSeriesCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAddBody.java index 03214a525aa..2de9e990c42 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAddBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookChartAddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Add Body. */ -public class WorkbookChartAddBody extends BaseWorkbookChartAddBody { +public class WorkbookChartAddBody { + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The source Data. + * + */ + @SerializedName("sourceData") + @Expose + public com.google.gson.JsonElement sourceData; + + /** + * The series By. + * + */ + @SerializedName("seriesBy") + @Expose + public String seriesBy; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAreaFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAreaFormat.java index 778614bfdf1..78797cf18ac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAreaFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAreaFormat.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartAreaFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Area Format. */ -public class WorkbookChartAreaFormat extends BaseWorkbookChartAreaFormat { +public class WorkbookChartAreaFormat extends Entity implements IJsonBackedObject { + + + /** + * The Fill. + * Represents the fill format of an object, which includes background formatting information. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookChartFill fill; + + /** + * The Font. + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookChartFont font; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxes.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxes.java index f8cc250b181..c29343e2649 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxes.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxes.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartAxis; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartAxes; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axes. */ -public class WorkbookChartAxes extends BaseWorkbookChartAxes { +public class WorkbookChartAxes extends Entity implements IJsonBackedObject { + + + /** + * The Category Axis. + * Represents the category axis in a chart. Read-only. + */ + @SerializedName("categoryAxis") + @Expose + public WorkbookChartAxis categoryAxis; + + /** + * The Series Axis. + * Represents the series axis of a 3-dimensional chart. Read-only. + */ + @SerializedName("seriesAxis") + @Expose + public WorkbookChartAxis seriesAxis; + + /** + * The Value Axis. + * Represents the value axis in an axis. Read-only. + */ + @SerializedName("valueAxis") + @Expose + public WorkbookChartAxis valueAxis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxis.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxis.java index d2be52d0c79..b75aafde575 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxis.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxis.java @@ -3,14 +3,135 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; +import com.microsoft.graph.models.extensions.WorkbookChartGridlines; +import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartAxis; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis. */ -public class WorkbookChartAxis extends BaseWorkbookChartAxis { +public class WorkbookChartAxis extends Entity implements IJsonBackedObject { + + + /** + * The Major Unit. + * Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number. + */ + @SerializedName("majorUnit") + @Expose + public com.google.gson.JsonElement majorUnit; + + /** + * The Maximum. + * Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + */ + @SerializedName("maximum") + @Expose + public com.google.gson.JsonElement maximum; + + /** + * The Minimum. + * Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + */ + @SerializedName("minimum") + @Expose + public com.google.gson.JsonElement minimum; + + /** + * The Minor Unit. + * Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + */ + @SerializedName("minorUnit") + @Expose + public com.google.gson.JsonElement minorUnit; + + /** + * The Format. + * Represents the formatting of a chart object, which includes line and font formatting. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartAxisFormat format; + + /** + * The Major Gridlines. + * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. + */ + @SerializedName("majorGridlines") + @Expose + public WorkbookChartGridlines majorGridlines; + + /** + * The Minor Gridlines. + * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. + */ + @SerializedName("minorGridlines") + @Expose + public WorkbookChartGridlines minorGridlines; + + /** + * The Title. + * Represents the axis title. Read-only. + */ + @SerializedName("title") + @Expose + public WorkbookChartAxisTitle title; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisFormat.java index 1693ddf4be5..22736aedf29 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisFormat.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartAxisFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Format. */ -public class WorkbookChartAxisFormat extends BaseWorkbookChartAxisFormat { +public class WorkbookChartAxisFormat extends Entity implements IJsonBackedObject { + + + /** + * The Font. + * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookChartFont font; + + /** + * The Line. + * Represents chart line formatting. Read-only. + */ + @SerializedName("line") + @Expose + public WorkbookChartLineFormat line; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitle.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitle.java index d6bfb913dd6..677b08e09df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitle.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitle.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartAxisTitle; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Title. */ -public class WorkbookChartAxisTitle extends BaseWorkbookChartAxisTitle { +public class WorkbookChartAxisTitle extends Entity implements IJsonBackedObject { + + + /** + * The Text. + * Represents the axis title. + */ + @SerializedName("text") + @Expose + public String text; + + /** + * The Visible. + * A boolean that specifies the visibility of an axis title. + */ + @SerializedName("visible") + @Expose + public Boolean visible; + + /** + * The Format. + * Represents the formatting of chart axis title. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartAxisTitleFormat format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitleFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitleFormat.java index 67709db9aac..ab392f34802 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitleFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartAxisTitleFormat.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartAxisTitleFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Title Format. */ -public class WorkbookChartAxisTitleFormat extends BaseWorkbookChartAxisTitleFormat { +public class WorkbookChartAxisTitleFormat extends Entity implements IJsonBackedObject { + + + /** + * The Font. + * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookChartFont font; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabelFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabelFormat.java index 482e51215aa..bdba2e4751b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabelFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabelFormat.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartDataLabelFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Data Label Format. */ -public class WorkbookChartDataLabelFormat extends BaseWorkbookChartDataLabelFormat { +public class WorkbookChartDataLabelFormat extends Entity implements IJsonBackedObject { + + + /** + * The Fill. + * Represents the fill format of the current chart data label. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookChartFill fill; + + /** + * The Font. + * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookChartFont font; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabels.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabels.java index 4ae956e475a..f5f790bfca1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabels.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartDataLabels.java @@ -3,14 +3,141 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartDataLabels; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Data Labels. */ -public class WorkbookChartDataLabels extends BaseWorkbookChartDataLabels { +public class WorkbookChartDataLabels extends Entity implements IJsonBackedObject { + + + /** + * The Position. + * DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout. + */ + @SerializedName("position") + @Expose + public String position; + + /** + * The Separator. + * String representing the separator used for the data labels on a chart. + */ + @SerializedName("separator") + @Expose + public String separator; + + /** + * The Show Bubble Size. + * Boolean value representing if the data label bubble size is visible or not. + */ + @SerializedName("showBubbleSize") + @Expose + public Boolean showBubbleSize; + + /** + * The Show Category Name. + * Boolean value representing if the data label category name is visible or not. + */ + @SerializedName("showCategoryName") + @Expose + public Boolean showCategoryName; + + /** + * The Show Legend Key. + * Boolean value representing if the data label legend key is visible or not. + */ + @SerializedName("showLegendKey") + @Expose + public Boolean showLegendKey; + + /** + * The Show Percentage. + * Boolean value representing if the data label percentage is visible or not. + */ + @SerializedName("showPercentage") + @Expose + public Boolean showPercentage; + + /** + * The Show Series Name. + * Boolean value representing if the data label series name is visible or not. + */ + @SerializedName("showSeriesName") + @Expose + public Boolean showSeriesName; + + /** + * The Show Value. + * Boolean value representing if the data label value is visible or not. + */ + @SerializedName("showValue") + @Expose + public Boolean showValue; + + /** + * The Format. + * Represents the format of chart data labels, which includes fill and font formatting. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartDataLabelFormat format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFill.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFill.java index 5a32310fed5..366bc940a35 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFill.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFill.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartFill; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill. */ -public class WorkbookChartFill extends BaseWorkbookChartFill { +public class WorkbookChartFill extends Entity implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFillSetSolidColorBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFillSetSolidColorBody.java index fb8cccd9d59..6ec51439b34 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFillSetSolidColorBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFillSetSolidColorBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookChartFillSetSolidColorBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Set Solid Color Body. */ -public class WorkbookChartFillSetSolidColorBody extends BaseWorkbookChartFillSetSolidColorBody { +public class WorkbookChartFillSetSolidColorBody { + /** + * The color. + * + */ + @SerializedName("color") + @Expose + public String color; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFont.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFont.java index c7bfa4fb33d..7e9c0e9456b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFont.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartFont.java @@ -3,14 +3,116 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartFont; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Font. */ -public class WorkbookChartFont extends BaseWorkbookChartFont { +public class WorkbookChartFont extends Entity implements IJsonBackedObject { + + + /** + * The Bold. + * Represents the bold status of font. + */ + @SerializedName("bold") + @Expose + public Boolean bold; + + /** + * The Color. + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + */ + @SerializedName("color") + @Expose + public String color; + + /** + * The Italic. + * Represents the italic status of the font. + */ + @SerializedName("italic") + @Expose + public Boolean italic; + + /** + * The Name. + * Font name (e.g. 'Calibri') + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Size. + * Size of the font (e.g. 11) + */ + @SerializedName("size") + @Expose + public Double size; + + /** + * The Underline. + * Type of underline applied to the font. The possible values are: None, Single. + */ + @SerializedName("underline") + @Expose + public String underline; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlines.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlines.java index 2afcc4c0f69..33581a8b3ce 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlines.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlines.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartGridlines; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Gridlines. */ -public class WorkbookChartGridlines extends BaseWorkbookChartGridlines { +public class WorkbookChartGridlines extends Entity implements IJsonBackedObject { + + + /** + * The Visible. + * Boolean value representing if the axis gridlines are visible or not. + */ + @SerializedName("visible") + @Expose + public Boolean visible; + + /** + * The Format. + * Represents the formatting of chart gridlines. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartGridlinesFormat format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlinesFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlinesFormat.java index 1609ba9e5b4..0aef0dd25d8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlinesFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartGridlinesFormat.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartGridlinesFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Gridlines Format. */ -public class WorkbookChartGridlinesFormat extends BaseWorkbookChartGridlinesFormat { +public class WorkbookChartGridlinesFormat extends Entity implements IJsonBackedObject { + + + /** + * The Line. + * Represents chart line formatting. Read-only. + */ + @SerializedName("line") + @Expose + public WorkbookChartLineFormat line; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegend.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegend.java index 1669945351f..ed72847b7f8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegend.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegend.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartLegend; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Legend. */ -public class WorkbookChartLegend extends BaseWorkbookChartLegend { +public class WorkbookChartLegend extends Entity implements IJsonBackedObject { + + + /** + * The Overlay. + * Boolean value for whether the chart legend should overlap with the main body of the chart. + */ + @SerializedName("overlay") + @Expose + public Boolean overlay; + + /** + * The Position. + * Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom. + */ + @SerializedName("position") + @Expose + public String position; + + /** + * The Visible. + * A boolean value the represents the visibility of a ChartLegend object. + */ + @SerializedName("visible") + @Expose + public Boolean visible; + + /** + * The Format. + * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartLegendFormat format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegendFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegendFormat.java index 50397dcb511..088bd2c9245 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegendFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLegendFormat.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartLegendFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Legend Format. */ -public class WorkbookChartLegendFormat extends BaseWorkbookChartLegendFormat { +public class WorkbookChartLegendFormat extends Entity implements IJsonBackedObject { + + + /** + * The Fill. + * Represents the fill format of an object, which includes background formating information. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookChartFill fill; + + /** + * The Font. + * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookChartFont font; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLineFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLineFormat.java index cda3de3de43..ea9a6514df1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLineFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartLineFormat.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartLineFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Line Format. */ -public class WorkbookChartLineFormat extends BaseWorkbookChartLineFormat { +public class WorkbookChartLineFormat extends Entity implements IJsonBackedObject { + + + /** + * The Color. + * HTML color code representing the color of lines in the chart. + */ + @SerializedName("color") + @Expose + public String color; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPoint.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPoint.java index faee738422b..f6c8a9e0878 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPoint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPoint.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartPoint; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point. */ -public class WorkbookChartPoint extends BaseWorkbookChartPoint { +public class WorkbookChartPoint extends Entity implements IJsonBackedObject { + + + /** + * The Value. + * Returns the value of a chart point. Read-only. + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + /** + * The Format. + * Encapsulates the format properties chart point. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartPointFormat format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPointFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPointFormat.java index ff29b3d2f36..2b56b4a2edd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPointFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartPointFormat.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartPointFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Format. */ -public class WorkbookChartPointFormat extends BaseWorkbookChartPointFormat { +public class WorkbookChartPointFormat extends Entity implements IJsonBackedObject { + + + /** + * The Fill. + * Represents the fill format of a chart, which includes background formating information. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookChartFill fill; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeries.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeries.java index d373f2cab0a..db599605330 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeries.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeries.java @@ -3,14 +3,110 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookChartPointCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookChartPointCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbookChartSeries; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series. */ -public class WorkbookChartSeries extends BaseWorkbookChartSeries { +public class WorkbookChartSeries extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * Represents the name of a series in a chart. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Format. + * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartSeriesFormat format; + + /** + * The Points. + * Represents a collection of all points in the series. Read-only. + */ + public WorkbookChartPointCollectionPage points; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("points")) { + final WorkbookChartPointCollectionResponse response = new WorkbookChartPointCollectionResponse(); + if (json.has("points@odata.nextLink")) { + response.nextLink = json.get("points@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("points").toString(), JsonObject[].class); + final WorkbookChartPoint[] array = new WorkbookChartPoint[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookChartPoint.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + points = new WorkbookChartPointCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeriesFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeriesFormat.java index b334c9331fb..4d798576fed 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeriesFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSeriesFormat.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartSeriesFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Format. */ -public class WorkbookChartSeriesFormat extends BaseWorkbookChartSeriesFormat { +public class WorkbookChartSeriesFormat extends Entity implements IJsonBackedObject { + + + /** + * The Fill. + * Represents the fill format of a chart series, which includes background formating information. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookChartFill fill; + + /** + * The Line. + * Represents line formatting. Read-only. + */ + @SerializedName("line") + @Expose + public WorkbookChartLineFormat line; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetDataBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetDataBody.java index aa9dde64b56..6945b1859d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetDataBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetDataBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookChartSetDataBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Set Data Body. */ -public class WorkbookChartSetDataBody extends BaseWorkbookChartSetDataBody { +public class WorkbookChartSetDataBody { + /** + * The source Data. + * + */ + @SerializedName("sourceData") + @Expose + public com.google.gson.JsonElement sourceData; + + /** + * The series By. + * + */ + @SerializedName("seriesBy") + @Expose + public String seriesBy; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetPositionBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetPositionBody.java index 17b0e3fe7a8..d3ec570f67b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetPositionBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartSetPositionBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookChartSetPositionBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Set Position Body. */ -public class WorkbookChartSetPositionBody extends BaseWorkbookChartSetPositionBody { +public class WorkbookChartSetPositionBody { + /** + * The start Cell. + * + */ + @SerializedName("startCell") + @Expose + public com.google.gson.JsonElement startCell; + + /** + * The end Cell. + * + */ + @SerializedName("endCell") + @Expose + public com.google.gson.JsonElement endCell; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitle.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitle.java index f0ee5cd6ce9..6ef39c65901 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitle.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitle.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartTitle; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Title. */ -public class WorkbookChartTitle extends BaseWorkbookChartTitle { +public class WorkbookChartTitle extends Entity implements IJsonBackedObject { + + + /** + * The Overlay. + * Boolean value representing if the chart title will overlay the chart or not. + */ + @SerializedName("overlay") + @Expose + public Boolean overlay; + + /** + * The Text. + * Represents the title text of a chart. + */ + @SerializedName("text") + @Expose + public String text; + + /** + * The Visible. + * A boolean value the represents the visibility of a chart title object. + */ + @SerializedName("visible") + @Expose + public Boolean visible; + + /** + * The Format. + * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookChartTitleFormat format; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitleFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitleFormat.java index c7b08eeee08..9a544164815 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitleFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookChartTitleFormat.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookChartTitleFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Title Format. */ -public class WorkbookChartTitleFormat extends BaseWorkbookChartTitleFormat { +public class WorkbookChartTitleFormat extends Entity implements IJsonBackedObject { + + + /** + * The Fill. + * Represents the fill format of an object, which includes background formatting information. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookChartFill fill; + + /** + * The Font. + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookChartFont font; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookCreateSessionBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookCreateSessionBody.java index 56845457f87..1168ca3a9d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookCreateSessionBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookCreateSessionBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookCreateSessionBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Create Session Body. */ -public class WorkbookCreateSessionBody extends BaseWorkbookCreateSessionBody { +public class WorkbookCreateSessionBody { + /** + * The persist Changes. + * + */ + @SerializedName("persistChanges") + @Expose + public Boolean persistChanges; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilter.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilter.java index 1f9b39661e6..e8484ec7600 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilter.java @@ -3,14 +3,77 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookFilter; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter. */ -public class WorkbookFilter extends BaseWorkbookFilter { +public class WorkbookFilter extends Entity implements IJsonBackedObject { + + + /** + * The Criteria. + * The currently applied filter on the given column. Read-only. + */ + @SerializedName("criteria") + @Expose + public WorkbookFilterCriteria criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBody.java index 2af9c167ab4..ed9a2b09a42 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Body. */ -public class WorkbookFilterApplyBody extends BaseWorkbookFilterApplyBody { +public class WorkbookFilterApplyBody { + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public WorkbookFilterCriteria criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomItemsFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomItemsFilterBody.java index 0c9a1a21d3f..7e987f5d615 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomItemsFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomItemsFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyBottomItemsFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Bottom Items Filter Body. */ -public class WorkbookFilterApplyBottomItemsFilterBody extends BaseWorkbookFilterApplyBottomItemsFilterBody { +public class WorkbookFilterApplyBottomItemsFilterBody { + /** + * The count. + * + */ + @SerializedName("count") + @Expose + public Integer count; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomPercentFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomPercentFilterBody.java index dd8be0d36f1..98cae059956 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomPercentFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyBottomPercentFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyBottomPercentFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Bottom Percent Filter Body. */ -public class WorkbookFilterApplyBottomPercentFilterBody extends BaseWorkbookFilterApplyBottomPercentFilterBody { +public class WorkbookFilterApplyBottomPercentFilterBody { + /** + * The percent. + * + */ + @SerializedName("percent") + @Expose + public Integer percent; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCellColorFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCellColorFilterBody.java index e1e3c4f9dc9..859f9f47bb7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCellColorFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCellColorFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyCellColorFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Cell Color Filter Body. */ -public class WorkbookFilterApplyCellColorFilterBody extends BaseWorkbookFilterApplyCellColorFilterBody { +public class WorkbookFilterApplyCellColorFilterBody { + /** + * The color. + * + */ + @SerializedName("color") + @Expose + public String color; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCustomFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCustomFilterBody.java index d4c7e6582b6..3fa38c5c469 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCustomFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyCustomFilterBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyCustomFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Custom Filter Body. */ -public class WorkbookFilterApplyCustomFilterBody extends BaseWorkbookFilterApplyCustomFilterBody { +public class WorkbookFilterApplyCustomFilterBody { + /** + * The criteria1. + * + */ + @SerializedName("criteria1") + @Expose + public String criteria1; + + /** + * The criteria2. + * + */ + @SerializedName("criteria2") + @Expose + public String criteria2; + + /** + * The oper. + * + */ + @SerializedName("oper") + @Expose + public String oper; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyDynamicFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyDynamicFilterBody.java index 72df295f557..95a852ca819 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyDynamicFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyDynamicFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyDynamicFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Dynamic Filter Body. */ -public class WorkbookFilterApplyDynamicFilterBody extends BaseWorkbookFilterApplyDynamicFilterBody { +public class WorkbookFilterApplyDynamicFilterBody { + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public String criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyFontColorFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyFontColorFilterBody.java index c8467a701f1..a1183fa9f67 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyFontColorFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyFontColorFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyFontColorFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Font Color Filter Body. */ -public class WorkbookFilterApplyFontColorFilterBody extends BaseWorkbookFilterApplyFontColorFilterBody { +public class WorkbookFilterApplyFontColorFilterBody { + /** + * The color. + * + */ + @SerializedName("color") + @Expose + public String color; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyIconFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyIconFilterBody.java index 490c55f5767..c43cd2c0e3b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyIconFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyIconFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyIconFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Icon Filter Body. */ -public class WorkbookFilterApplyIconFilterBody extends BaseWorkbookFilterApplyIconFilterBody { +public class WorkbookFilterApplyIconFilterBody { + /** + * The icon. + * + */ + @SerializedName("icon") + @Expose + public WorkbookIcon icon; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopItemsFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopItemsFilterBody.java index 8dd2039b99e..a287671574f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopItemsFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopItemsFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyTopItemsFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Top Items Filter Body. */ -public class WorkbookFilterApplyTopItemsFilterBody extends BaseWorkbookFilterApplyTopItemsFilterBody { +public class WorkbookFilterApplyTopItemsFilterBody { + /** + * The count. + * + */ + @SerializedName("count") + @Expose + public Integer count; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopPercentFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopPercentFilterBody.java index 32620733d1f..92c9bacb29c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopPercentFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyTopPercentFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyTopPercentFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Top Percent Filter Body. */ -public class WorkbookFilterApplyTopPercentFilterBody extends BaseWorkbookFilterApplyTopPercentFilterBody { +public class WorkbookFilterApplyTopPercentFilterBody { + /** + * The percent. + * + */ + @SerializedName("percent") + @Expose + public Integer percent; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyValuesFilterBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyValuesFilterBody.java index 82209183b94..a3c62e8b5e0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyValuesFilterBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterApplyValuesFilterBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFilterApplyValuesFilterBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Values Filter Body. */ -public class WorkbookFilterApplyValuesFilterBody extends BaseWorkbookFilterApplyValuesFilterBody { +public class WorkbookFilterApplyValuesFilterBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterCriteria.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterCriteria.java index a9e38a1f3c2..630f75eee66 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterCriteria.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterCriteria.java @@ -3,14 +3,142 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookIcon; -import com.microsoft.graph.models.generated.BaseWorkbookFilterCriteria; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Criteria. */ -public class WorkbookFilterCriteria extends BaseWorkbookFilterCriteria { +public class WorkbookFilterCriteria implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Color. + * + */ + @SerializedName("color") + @Expose + public String color; + + /** + * The Criterion1. + * + */ + @SerializedName("criterion1") + @Expose + public String criterion1; + + /** + * The Criterion2. + * + */ + @SerializedName("criterion2") + @Expose + public String criterion2; + + /** + * The Dynamic Criteria. + * + */ + @SerializedName("dynamicCriteria") + @Expose + public String dynamicCriteria; + + /** + * The Filter On. + * + */ + @SerializedName("filterOn") + @Expose + public String filterOn; + + /** + * The Icon. + * + */ + @SerializedName("icon") + @Expose + public WorkbookIcon icon; + + /** + * The Operator. + * + */ + @SerializedName("operator") + @Expose + public String operator; + + /** + * The Values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterDatetime.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterDatetime.java index 3c34b91d25e..edf45778125 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterDatetime.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFilterDatetime.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWorkbookFilterDatetime; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Datetime. */ -public class WorkbookFilterDatetime extends BaseWorkbookFilterDatetime { +public class WorkbookFilterDatetime implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Date. + * + */ + @SerializedName("date") + @Expose + public String date; + + /** + * The Specificity. + * + */ + @SerializedName("specificity") + @Expose + public String specificity; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFormatProtection.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFormatProtection.java index 098853c8ba7..b55e9b31658 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFormatProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFormatProtection.java @@ -3,14 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookFormatProtection; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Format Protection. */ -public class WorkbookFormatProtection extends BaseWorkbookFormatProtection { +public class WorkbookFormatProtection extends Entity implements IJsonBackedObject { + + + /** + * The Formula Hidden. + * 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. + */ + @SerializedName("formulaHidden") + @Expose + public Boolean formulaHidden; + + /** + * The Locked. + * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + */ + @SerializedName("locked") + @Expose + public Boolean locked; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionResult.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionResult.java index 5f01d2168bb..f3c3fe76bdd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionResult.java @@ -3,14 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionResult; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Function Result. */ -public class WorkbookFunctionResult extends BaseWorkbookFunctionResult { +public class WorkbookFunctionResult extends Entity implements IJsonBackedObject { + + + /** + * The Error. + * + */ + @SerializedName("error") + @Expose + public String error; + + /** + * The Value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctions.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctions.java index d2c45543891..0ada9faca83 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctions.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookFunctions; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions. */ -public class WorkbookFunctions extends BaseWorkbookFunctions { +public class WorkbookFunctions extends Entity implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAbsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAbsBody.java index 4ffa0e0302b..d56427e4bac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAbsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAbsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAbsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Abs Body. */ -public class WorkbookFunctionsAbsBody extends BaseWorkbookFunctionsAbsBody { +public class WorkbookFunctionsAbsBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntBody.java index 3a44af969cb..bf7ffa7470d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntBody.java @@ -4,13 +4,122 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAccrIntBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Accr Int Body. */ -public class WorkbookFunctionsAccrIntBody extends BaseWorkbookFunctionsAccrIntBody { +public class WorkbookFunctionsAccrIntBody { + /** + * The issue. + * + */ + @SerializedName("issue") + @Expose + public com.google.gson.JsonElement issue; + + /** + * The first Interest. + * + */ + @SerializedName("firstInterest") + @Expose + public com.google.gson.JsonElement firstInterest; + + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The par. + * + */ + @SerializedName("par") + @Expose + public com.google.gson.JsonElement par; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + /** + * The calc Method. + * + */ + @SerializedName("calcMethod") + @Expose + public com.google.gson.JsonElement calcMethod; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntMBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntMBody.java index c780c0b2bb9..5d51f697a0c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntMBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAccrIntMBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAccrIntMBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Accr Int MBody. */ -public class WorkbookFunctionsAccrIntMBody extends BaseWorkbookFunctionsAccrIntMBody { +public class WorkbookFunctionsAccrIntMBody { + /** + * The issue. + * + */ + @SerializedName("issue") + @Expose + public com.google.gson.JsonElement issue; + + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The par. + * + */ + @SerializedName("par") + @Expose + public com.google.gson.JsonElement par; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcosBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcosBody.java index 93e58507bad..6bef5e25a17 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcosBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcosBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAcosBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acos Body. */ -public class WorkbookFunctionsAcosBody extends BaseWorkbookFunctionsAcosBody { +public class WorkbookFunctionsAcosBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcoshBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcoshBody.java index 77594a53e7f..76f30f9fc59 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcoshBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcoshBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAcoshBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acosh Body. */ -public class WorkbookFunctionsAcoshBody extends BaseWorkbookFunctionsAcoshBody { +public class WorkbookFunctionsAcoshBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcotBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcotBody.java index 20bf17904d6..5e05439869f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcotBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcotBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAcotBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acot Body. */ -public class WorkbookFunctionsAcotBody extends BaseWorkbookFunctionsAcotBody { +public class WorkbookFunctionsAcotBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcothBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcothBody.java index 8cb9247343f..fba0688f16c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcothBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAcothBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAcothBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acoth Body. */ -public class WorkbookFunctionsAcothBody extends BaseWorkbookFunctionsAcothBody { +public class WorkbookFunctionsAcothBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorDegrcBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorDegrcBody.java index 27440700e77..cce42c3b0ef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorDegrcBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorDegrcBody.java @@ -4,13 +4,114 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAmorDegrcBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Amor Degrc Body. */ -public class WorkbookFunctionsAmorDegrcBody extends BaseWorkbookFunctionsAmorDegrcBody { +public class WorkbookFunctionsAmorDegrcBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The date Purchased. + * + */ + @SerializedName("datePurchased") + @Expose + public com.google.gson.JsonElement datePurchased; + + /** + * The first Period. + * + */ + @SerializedName("firstPeriod") + @Expose + public com.google.gson.JsonElement firstPeriod; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The period. + * + */ + @SerializedName("period") + @Expose + public com.google.gson.JsonElement period; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorLincBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorLincBody.java index 809972851d9..eaee9d74d41 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorLincBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAmorLincBody.java @@ -4,13 +4,114 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAmorLincBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Amor Linc Body. */ -public class WorkbookFunctionsAmorLincBody extends BaseWorkbookFunctionsAmorLincBody { +public class WorkbookFunctionsAmorLincBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The date Purchased. + * + */ + @SerializedName("datePurchased") + @Expose + public com.google.gson.JsonElement datePurchased; + + /** + * The first Period. + * + */ + @SerializedName("firstPeriod") + @Expose + public com.google.gson.JsonElement firstPeriod; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The period. + * + */ + @SerializedName("period") + @Expose + public com.google.gson.JsonElement period; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAndBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAndBody.java index 7d0e16294cc..27e3198882e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAndBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAndBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAndBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions And Body. */ -public class WorkbookFunctionsAndBody extends BaseWorkbookFunctionsAndBody { +public class WorkbookFunctionsAndBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsArabicBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsArabicBody.java index 2e9023e17db..898ecd13293 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsArabicBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsArabicBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsArabicBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Arabic Body. */ -public class WorkbookFunctionsArabicBody extends BaseWorkbookFunctionsArabicBody { +public class WorkbookFunctionsArabicBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAreasBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAreasBody.java index af3aec6efa5..893bfff55cf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAreasBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAreasBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAreasBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Areas Body. */ -public class WorkbookFunctionsAreasBody extends BaseWorkbookFunctionsAreasBody { +public class WorkbookFunctionsAreasBody { + /** + * The reference. + * + */ + @SerializedName("reference") + @Expose + public com.google.gson.JsonElement reference; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAscBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAscBody.java index c35749a1de3..b5d7f66c72f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAscBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAscBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAscBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asc Body. */ -public class WorkbookFunctionsAscBody extends BaseWorkbookFunctionsAscBody { +public class WorkbookFunctionsAscBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinBody.java index 51d1ddf36f0..555eff43672 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAsinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asin Body. */ -public class WorkbookFunctionsAsinBody extends BaseWorkbookFunctionsAsinBody { +public class WorkbookFunctionsAsinBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinhBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinhBody.java index 60fa0758020..c0ffd70b1f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinhBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAsinhBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAsinhBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asinh Body. */ -public class WorkbookFunctionsAsinhBody extends BaseWorkbookFunctionsAsinhBody { +public class WorkbookFunctionsAsinhBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtan2Body.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtan2Body.java index 04e7632ce2c..41d08d94b01 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtan2Body.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtan2Body.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAtan2Body; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atan2Body. */ -public class WorkbookFunctionsAtan2Body extends BaseWorkbookFunctionsAtan2Body { +public class WorkbookFunctionsAtan2Body { + /** + * The x Num. + * + */ + @SerializedName("xNum") + @Expose + public com.google.gson.JsonElement xNum; + + /** + * The y Num. + * + */ + @SerializedName("yNum") + @Expose + public com.google.gson.JsonElement yNum; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanBody.java index 5d2b6ea3e05..f428a520b7f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAtanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atan Body. */ -public class WorkbookFunctionsAtanBody extends BaseWorkbookFunctionsAtanBody { +public class WorkbookFunctionsAtanBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanhBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanhBody.java index 6a47ce8842b..92afe4671ca 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanhBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAtanhBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAtanhBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atanh Body. */ -public class WorkbookFunctionsAtanhBody extends BaseWorkbookFunctionsAtanhBody { +public class WorkbookFunctionsAtanhBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAveDevBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAveDevBody.java index a54647f19a8..d4a99288605 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAveDevBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAveDevBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAveDevBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ave Dev Body. */ -public class WorkbookFunctionsAveDevBody extends BaseWorkbookFunctionsAveDevBody { +public class WorkbookFunctionsAveDevBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageABody.java index 374bd5974ae..674c3b80751 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAverageABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average ABody. */ -public class WorkbookFunctionsAverageABody extends BaseWorkbookFunctionsAverageABody { +public class WorkbookFunctionsAverageABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageBody.java index 554ddff70dd..7d70f70c977 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAverageBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average Body. */ -public class WorkbookFunctionsAverageBody extends BaseWorkbookFunctionsAverageBody { +public class WorkbookFunctionsAverageBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfBody.java index af3238b8799..0ff6db3a1a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAverageIfBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average If Body. */ -public class WorkbookFunctionsAverageIfBody extends BaseWorkbookFunctionsAverageIfBody { +public class WorkbookFunctionsAverageIfBody { + /** + * The range. + * + */ + @SerializedName("range") + @Expose + public com.google.gson.JsonElement range; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + /** + * The average Range. + * + */ + @SerializedName("averageRange") + @Expose + public com.google.gson.JsonElement averageRange; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfsBody.java index cc3c921ffb6..066c4c20c39 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsAverageIfsBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsAverageIfsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average Ifs Body. */ -public class WorkbookFunctionsAverageIfsBody extends BaseWorkbookFunctionsAverageIfsBody { +public class WorkbookFunctionsAverageIfsBody { + /** + * The average Range. + * + */ + @SerializedName("averageRange") + @Expose + public com.google.gson.JsonElement averageRange; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBahtTextBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBahtTextBody.java index 329d0e1bb06..6804fec7474 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBahtTextBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBahtTextBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBahtTextBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Baht Text Body. */ -public class WorkbookFunctionsBahtTextBody extends BaseWorkbookFunctionsBahtTextBody { +public class WorkbookFunctionsBahtTextBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBaseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBaseBody.java index d0d3b36f132..3eb430c538b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBaseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBaseBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBaseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Base Body. */ -public class WorkbookFunctionsBaseBody extends BaseWorkbookFunctionsBaseBody { +public class WorkbookFunctionsBaseBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The radix. + * + */ + @SerializedName("radix") + @Expose + public com.google.gson.JsonElement radix; + + /** + * The min Length. + * + */ + @SerializedName("minLength") + @Expose + public com.google.gson.JsonElement minLength; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselIBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselIBody.java index 60dabc7bea2..b9ea4519cb3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselIBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselIBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBesselIBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel IBody. */ -public class WorkbookFunctionsBesselIBody extends BaseWorkbookFunctionsBesselIBody { +public class WorkbookFunctionsBesselIBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The n. + * + */ + @SerializedName("n") + @Expose + public com.google.gson.JsonElement n; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselJBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselJBody.java index 2834d5eebfd..670ad62edb4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselJBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselJBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBesselJBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel JBody. */ -public class WorkbookFunctionsBesselJBody extends BaseWorkbookFunctionsBesselJBody { +public class WorkbookFunctionsBesselJBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The n. + * + */ + @SerializedName("n") + @Expose + public com.google.gson.JsonElement n; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselKBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselKBody.java index 17d27cb6371..e5e572895a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselKBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselKBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBesselKBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel KBody. */ -public class WorkbookFunctionsBesselKBody extends BaseWorkbookFunctionsBesselKBody { +public class WorkbookFunctionsBesselKBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The n. + * + */ + @SerializedName("n") + @Expose + public com.google.gson.JsonElement n; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselYBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselYBody.java index 244b9d81999..ccf071f6dda 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselYBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBesselYBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBesselYBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel YBody. */ -public class WorkbookFunctionsBesselYBody extends BaseWorkbookFunctionsBesselYBody { +public class WorkbookFunctionsBesselYBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The n. + * + */ + @SerializedName("n") + @Expose + public com.google.gson.JsonElement n; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_DistBody.java index a1cf162ae88..51f680d0d5b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_DistBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBeta_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Beta_Dist Body. */ -public class WorkbookFunctionsBeta_DistBody extends BaseWorkbookFunctionsBeta_DistBody { +public class WorkbookFunctionsBeta_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The beta. + * + */ + @SerializedName("beta") + @Expose + public com.google.gson.JsonElement beta; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + /** + * The a. + * + */ + @SerializedName("a") + @Expose + public com.google.gson.JsonElement a; + + /** + * The b. + * + */ + @SerializedName("b") + @Expose + public com.google.gson.JsonElement b; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_InvBody.java index 8f99e5fdde1..205844b715d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBeta_InvBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBeta_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Beta_Inv Body. */ -public class WorkbookFunctionsBeta_InvBody extends BaseWorkbookFunctionsBeta_InvBody { +public class WorkbookFunctionsBeta_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The beta. + * + */ + @SerializedName("beta") + @Expose + public com.google.gson.JsonElement beta; + + /** + * The a. + * + */ + @SerializedName("a") + @Expose + public com.google.gson.JsonElement a; + + /** + * The b. + * + */ + @SerializedName("b") + @Expose + public com.google.gson.JsonElement b; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2DecBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2DecBody.java index f9e2c0cd162..83fe5d7065b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2DecBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2DecBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBin2DecBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Dec Body. */ -public class WorkbookFunctionsBin2DecBody extends BaseWorkbookFunctionsBin2DecBody { +public class WorkbookFunctionsBin2DecBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2HexBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2HexBody.java index 43dc6c53672..a05003a7349 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2HexBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2HexBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBin2HexBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Hex Body. */ -public class WorkbookFunctionsBin2HexBody extends BaseWorkbookFunctionsBin2HexBody { +public class WorkbookFunctionsBin2HexBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2OctBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2OctBody.java index fca6e291a89..87b62e98570 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2OctBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBin2OctBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBin2OctBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Oct Body. */ -public class WorkbookFunctionsBin2OctBody extends BaseWorkbookFunctionsBin2OctBody { +public class WorkbookFunctionsBin2OctBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_DistBody.java index ba48d2a08d0..7bdcc96e0ff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBinom_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Dist Body. */ -public class WorkbookFunctionsBinom_DistBody extends BaseWorkbookFunctionsBinom_DistBody { +public class WorkbookFunctionsBinom_DistBody { + /** + * The number S. + * + */ + @SerializedName("numberS") + @Expose + public com.google.gson.JsonElement numberS; + + /** + * The trials. + * + */ + @SerializedName("trials") + @Expose + public com.google.gson.JsonElement trials; + + /** + * The probability S. + * + */ + @SerializedName("probabilityS") + @Expose + public com.google.gson.JsonElement probabilityS; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_Dist_RangeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_Dist_RangeBody.java index de57eb366d7..d7dede3b5b8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_Dist_RangeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_Dist_RangeBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBinom_Dist_RangeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Dist_Range Body. */ -public class WorkbookFunctionsBinom_Dist_RangeBody extends BaseWorkbookFunctionsBinom_Dist_RangeBody { +public class WorkbookFunctionsBinom_Dist_RangeBody { + /** + * The trials. + * + */ + @SerializedName("trials") + @Expose + public com.google.gson.JsonElement trials; + + /** + * The probability S. + * + */ + @SerializedName("probabilityS") + @Expose + public com.google.gson.JsonElement probabilityS; + + /** + * The number S. + * + */ + @SerializedName("numberS") + @Expose + public com.google.gson.JsonElement numberS; + + /** + * The number S2. + * + */ + @SerializedName("numberS2") + @Expose + public com.google.gson.JsonElement numberS2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_InvBody.java index 94fc7f2d891..f32287922d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBinom_InvBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBinom_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Inv Body. */ -public class WorkbookFunctionsBinom_InvBody extends BaseWorkbookFunctionsBinom_InvBody { +public class WorkbookFunctionsBinom_InvBody { + /** + * The trials. + * + */ + @SerializedName("trials") + @Expose + public com.google.gson.JsonElement trials; + + /** + * The probability S. + * + */ + @SerializedName("probabilityS") + @Expose + public com.google.gson.JsonElement probabilityS; + + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitandBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitandBody.java index 4756b9c34c6..839172ee231 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitandBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitandBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBitandBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitand Body. */ -public class WorkbookFunctionsBitandBody extends BaseWorkbookFunctionsBitandBody { +public class WorkbookFunctionsBitandBody { + /** + * The number1. + * + */ + @SerializedName("number1") + @Expose + public com.google.gson.JsonElement number1; + + /** + * The number2. + * + */ + @SerializedName("number2") + @Expose + public com.google.gson.JsonElement number2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitlshiftBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitlshiftBody.java index bf6aac6c88b..b7c7583e3b9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitlshiftBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitlshiftBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBitlshiftBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitlshift Body. */ -public class WorkbookFunctionsBitlshiftBody extends BaseWorkbookFunctionsBitlshiftBody { +public class WorkbookFunctionsBitlshiftBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The shift Amount. + * + */ + @SerializedName("shiftAmount") + @Expose + public com.google.gson.JsonElement shiftAmount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitorBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitorBody.java index 594975c74e8..eed3f65a562 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitorBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitorBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBitorBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitor Body. */ -public class WorkbookFunctionsBitorBody extends BaseWorkbookFunctionsBitorBody { +public class WorkbookFunctionsBitorBody { + /** + * The number1. + * + */ + @SerializedName("number1") + @Expose + public com.google.gson.JsonElement number1; + + /** + * The number2. + * + */ + @SerializedName("number2") + @Expose + public com.google.gson.JsonElement number2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitrshiftBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitrshiftBody.java index 8a22d432db6..9bf41abcfd5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitrshiftBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitrshiftBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBitrshiftBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitrshift Body. */ -public class WorkbookFunctionsBitrshiftBody extends BaseWorkbookFunctionsBitrshiftBody { +public class WorkbookFunctionsBitrshiftBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The shift Amount. + * + */ + @SerializedName("shiftAmount") + @Expose + public com.google.gson.JsonElement shiftAmount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitxorBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitxorBody.java index 5d7261bc96d..44e837a4e63 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitxorBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsBitxorBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsBitxorBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitxor Body. */ -public class WorkbookFunctionsBitxorBody extends BaseWorkbookFunctionsBitxorBody { +public class WorkbookFunctionsBitxorBody { + /** + * The number1. + * + */ + @SerializedName("number1") + @Expose + public com.google.gson.JsonElement number1; + + /** + * The number2. + * + */ + @SerializedName("number2") + @Expose + public com.google.gson.JsonElement number2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_MathBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_MathBody.java index 08a7d213407..f5d31288f27 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_MathBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_MathBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCeiling_MathBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ceiling_Math Body. */ -public class WorkbookFunctionsCeiling_MathBody extends BaseWorkbookFunctionsCeiling_MathBody { +public class WorkbookFunctionsCeiling_MathBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + /** + * The mode. + * + */ + @SerializedName("mode") + @Expose + public com.google.gson.JsonElement mode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_PreciseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_PreciseBody.java index 105b52a4680..09e5f082f0d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_PreciseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCeiling_PreciseBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCeiling_PreciseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ceiling_Precise Body. */ -public class WorkbookFunctionsCeiling_PreciseBody extends BaseWorkbookFunctionsCeiling_PreciseBody { +public class WorkbookFunctionsCeiling_PreciseBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCharBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCharBody.java index 06f311fcc11..aeb9573287b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCharBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCharBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCharBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Char Body. */ -public class WorkbookFunctionsCharBody extends BaseWorkbookFunctionsCharBody { +public class WorkbookFunctionsCharBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_DistBody.java index c8cf134638d..f1bd04ea890 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_DistBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsChiSq_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Dist Body. */ -public class WorkbookFunctionsChiSq_DistBody extends BaseWorkbookFunctionsChiSq_DistBody { +public class WorkbookFunctionsChiSq_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Dist_RTBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Dist_RTBody.java index ea5b5c716e4..ff88ea52008 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Dist_RTBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Dist_RTBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsChiSq_Dist_RTBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Dist_RTBody. */ -public class WorkbookFunctionsChiSq_Dist_RTBody extends BaseWorkbookFunctionsChiSq_Dist_RTBody { +public class WorkbookFunctionsChiSq_Dist_RTBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_InvBody.java index 5cb2b94be1e..d36fd1232fd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_InvBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsChiSq_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Inv Body. */ -public class WorkbookFunctionsChiSq_InvBody extends BaseWorkbookFunctionsChiSq_InvBody { +public class WorkbookFunctionsChiSq_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Inv_RTBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Inv_RTBody.java index 2e1f55b9066..b956216528b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Inv_RTBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChiSq_Inv_RTBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsChiSq_Inv_RTBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Inv_RTBody. */ -public class WorkbookFunctionsChiSq_Inv_RTBody extends BaseWorkbookFunctionsChiSq_Inv_RTBody { +public class WorkbookFunctionsChiSq_Inv_RTBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChooseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChooseBody.java index 7d8cf36edca..fffb63c0d30 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChooseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsChooseBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsChooseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Choose Body. */ -public class WorkbookFunctionsChooseBody extends BaseWorkbookFunctionsChooseBody { +public class WorkbookFunctionsChooseBody { + /** + * The index Num. + * + */ + @SerializedName("indexNum") + @Expose + public com.google.gson.JsonElement indexNum; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCleanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCleanBody.java index 4c842d1a424..136f204ea98 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCleanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCleanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCleanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Clean Body. */ -public class WorkbookFunctionsCleanBody extends BaseWorkbookFunctionsCleanBody { +public class WorkbookFunctionsCleanBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCodeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCodeBody.java index 55a3d72924c..e78594cd85d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCodeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCodeBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCodeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Code Body. */ -public class WorkbookFunctionsCodeBody extends BaseWorkbookFunctionsCodeBody { +public class WorkbookFunctionsCodeBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsColumnsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsColumnsBody.java index d68e03bc714..49b2b1cffaa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsColumnsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsColumnsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsColumnsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Columns Body. */ -public class WorkbookFunctionsColumnsBody extends BaseWorkbookFunctionsColumnsBody { +public class WorkbookFunctionsColumnsBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinBody.java index 61d68087fa9..e5788fbc0b1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCombinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Combin Body. */ -public class WorkbookFunctionsCombinBody extends BaseWorkbookFunctionsCombinBody { +public class WorkbookFunctionsCombinBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The number Chosen. + * + */ + @SerializedName("numberChosen") + @Expose + public com.google.gson.JsonElement numberChosen; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinaBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinaBody.java index 27f5ebf35c9..b889f41da18 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinaBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCombinaBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCombinaBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Combina Body. */ -public class WorkbookFunctionsCombinaBody extends BaseWorkbookFunctionsCombinaBody { +public class WorkbookFunctionsCombinaBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The number Chosen. + * + */ + @SerializedName("numberChosen") + @Expose + public com.google.gson.JsonElement numberChosen; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsComplexBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsComplexBody.java index 7db475caf4e..e4fa58c13c9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsComplexBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsComplexBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsComplexBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Complex Body. */ -public class WorkbookFunctionsComplexBody extends BaseWorkbookFunctionsComplexBody { +public class WorkbookFunctionsComplexBody { + /** + * The real Num. + * + */ + @SerializedName("realNum") + @Expose + public com.google.gson.JsonElement realNum; + + /** + * The i Num. + * + */ + @SerializedName("iNum") + @Expose + public com.google.gson.JsonElement iNum; + + /** + * The suffix. + * + */ + @SerializedName("suffix") + @Expose + public com.google.gson.JsonElement suffix; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConcatenateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConcatenateBody.java index c8ce8f9194b..ceea88b6808 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConcatenateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConcatenateBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsConcatenateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Concatenate Body. */ -public class WorkbookFunctionsConcatenateBody extends BaseWorkbookFunctionsConcatenateBody { +public class WorkbookFunctionsConcatenateBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_NormBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_NormBody.java index 79bceab525f..f84b119ce4b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_NormBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_NormBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsConfidence_NormBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Confidence_Norm Body. */ -public class WorkbookFunctionsConfidence_NormBody extends BaseWorkbookFunctionsConfidence_NormBody { +public class WorkbookFunctionsConfidence_NormBody { + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + /** + * The size. + * + */ + @SerializedName("size") + @Expose + public com.google.gson.JsonElement size; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_TBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_TBody.java index c84f8e82a60..d3f06b6b746 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_TBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConfidence_TBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsConfidence_TBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Confidence_TBody. */ -public class WorkbookFunctionsConfidence_TBody extends BaseWorkbookFunctionsConfidence_TBody { +public class WorkbookFunctionsConfidence_TBody { + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + /** + * The size. + * + */ + @SerializedName("size") + @Expose + public com.google.gson.JsonElement size; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConvertBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConvertBody.java index 0d738f17959..f70d63aa440 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConvertBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsConvertBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsConvertBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Convert Body. */ -public class WorkbookFunctionsConvertBody extends BaseWorkbookFunctionsConvertBody { +public class WorkbookFunctionsConvertBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The from Unit. + * + */ + @SerializedName("fromUnit") + @Expose + public com.google.gson.JsonElement fromUnit; + + /** + * The to Unit. + * + */ + @SerializedName("toUnit") + @Expose + public com.google.gson.JsonElement toUnit; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCosBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCosBody.java index f33e1f59a9f..f348456d61f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCosBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCosBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCosBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cos Body. */ -public class WorkbookFunctionsCosBody extends BaseWorkbookFunctionsCosBody { +public class WorkbookFunctionsCosBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoshBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoshBody.java index 213f11eb156..f6ceadce26c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoshBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoshBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoshBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cosh Body. */ -public class WorkbookFunctionsCoshBody extends BaseWorkbookFunctionsCoshBody { +public class WorkbookFunctionsCoshBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCotBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCotBody.java index 0a9a5cc4822..dfe48d236c9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCotBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCotBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCotBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cot Body. */ -public class WorkbookFunctionsCotBody extends BaseWorkbookFunctionsCotBody { +public class WorkbookFunctionsCotBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCothBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCothBody.java index b523a6026fb..2ef578aadab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCothBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCothBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCothBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coth Body. */ -public class WorkbookFunctionsCothBody extends BaseWorkbookFunctionsCothBody { +public class WorkbookFunctionsCothBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountABody.java index 07e48dcb61e..fa778ef4ded 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCountABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count ABody. */ -public class WorkbookFunctionsCountABody extends BaseWorkbookFunctionsCountABody { +public class WorkbookFunctionsCountABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBlankBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBlankBody.java index 895e6682329..6293a9a228e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBlankBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBlankBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCountBlankBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Blank Body. */ -public class WorkbookFunctionsCountBlankBody extends BaseWorkbookFunctionsCountBlankBody { +public class WorkbookFunctionsCountBlankBody { + /** + * The range. + * + */ + @SerializedName("range") + @Expose + public com.google.gson.JsonElement range; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBody.java index 7078cf035e6..2cc10dbe3e4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCountBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Body. */ -public class WorkbookFunctionsCountBody extends BaseWorkbookFunctionsCountBody { +public class WorkbookFunctionsCountBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfBody.java index 92ee015ea6e..aa84904e399 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCountIfBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count If Body. */ -public class WorkbookFunctionsCountIfBody extends BaseWorkbookFunctionsCountIfBody { +public class WorkbookFunctionsCountIfBody { + /** + * The range. + * + */ + @SerializedName("range") + @Expose + public com.google.gson.JsonElement range; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfsBody.java index efb5a1407f5..f9fce160d55 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCountIfsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCountIfsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Ifs Body. */ -public class WorkbookFunctionsCountIfsBody extends BaseWorkbookFunctionsCountIfsBody { +public class WorkbookFunctionsCountIfsBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDayBsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDayBsBody.java index e8add370be8..74b832e9ee3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDayBsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDayBsBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoupDayBsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Day Bs Body. */ -public class WorkbookFunctionsCoupDayBsBody extends BaseWorkbookFunctionsCoupDayBsBody { +public class WorkbookFunctionsCoupDayBsBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysBody.java index ba5735eeca4..bbed6011ede 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoupDaysBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Days Body. */ -public class WorkbookFunctionsCoupDaysBody extends BaseWorkbookFunctionsCoupDaysBody { +public class WorkbookFunctionsCoupDaysBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysNcBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysNcBody.java index 0bb6d3b3577..e6bd862efa2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysNcBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupDaysNcBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoupDaysNcBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Days Nc Body. */ -public class WorkbookFunctionsCoupDaysNcBody extends BaseWorkbookFunctionsCoupDaysNcBody { +public class WorkbookFunctionsCoupDaysNcBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNcdBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNcdBody.java index bcf64b6c2a9..c2ef1428294 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNcdBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNcdBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoupNcdBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Ncd Body. */ -public class WorkbookFunctionsCoupNcdBody extends BaseWorkbookFunctionsCoupNcdBody { +public class WorkbookFunctionsCoupNcdBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNumBody.java index 231ac77e596..ce27f2a01cf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupNumBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoupNumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Num Body. */ -public class WorkbookFunctionsCoupNumBody extends BaseWorkbookFunctionsCoupNumBody { +public class WorkbookFunctionsCoupNumBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupPcdBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupPcdBody.java index a05aa264802..f8d8ad77fec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupPcdBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCoupPcdBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCoupPcdBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Pcd Body. */ -public class WorkbookFunctionsCoupPcdBody extends BaseWorkbookFunctionsCoupPcdBody { +public class WorkbookFunctionsCoupPcdBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCscBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCscBody.java index 170651c0fd9..b63fec10053 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCscBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCscBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCscBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Csc Body. */ -public class WorkbookFunctionsCscBody extends BaseWorkbookFunctionsCscBody { +public class WorkbookFunctionsCscBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCschBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCschBody.java index c7013e97b80..0b5a4df75f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCschBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCschBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCschBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Csch Body. */ -public class WorkbookFunctionsCschBody extends BaseWorkbookFunctionsCschBody { +public class WorkbookFunctionsCschBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumIPmtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumIPmtBody.java index e13b49c009e..8b631311da7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumIPmtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumIPmtBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCumIPmtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cum IPmt Body. */ -public class WorkbookFunctionsCumIPmtBody extends BaseWorkbookFunctionsCumIPmtBody { +public class WorkbookFunctionsCumIPmtBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The start Period. + * + */ + @SerializedName("startPeriod") + @Expose + public com.google.gson.JsonElement startPeriod; + + /** + * The end Period. + * + */ + @SerializedName("endPeriod") + @Expose + public com.google.gson.JsonElement endPeriod; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumPrincBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumPrincBody.java index cb864cc0d2d..492d7efabf8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumPrincBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsCumPrincBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsCumPrincBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cum Princ Body. */ -public class WorkbookFunctionsCumPrincBody extends BaseWorkbookFunctionsCumPrincBody { +public class WorkbookFunctionsCumPrincBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The start Period. + * + */ + @SerializedName("startPeriod") + @Expose + public com.google.gson.JsonElement startPeriod; + + /** + * The end Period. + * + */ + @SerializedName("endPeriod") + @Expose + public com.google.gson.JsonElement endPeriod; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDateBody.java index 458bfe3db3d..a3530670160 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDateBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Date Body. */ -public class WorkbookFunctionsDateBody extends BaseWorkbookFunctionsDateBody { +public class WorkbookFunctionsDateBody { + /** + * The year. + * + */ + @SerializedName("year") + @Expose + public com.google.gson.JsonElement year; + + /** + * The month. + * + */ + @SerializedName("month") + @Expose + public com.google.gson.JsonElement month; + + /** + * The day. + * + */ + @SerializedName("day") + @Expose + public com.google.gson.JsonElement day; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDatevalueBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDatevalueBody.java index 75397dbcccf..93b66ca54d5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDatevalueBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDatevalueBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDatevalueBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Datevalue Body. */ -public class WorkbookFunctionsDatevalueBody extends BaseWorkbookFunctionsDatevalueBody { +public class WorkbookFunctionsDatevalueBody { + /** + * The date Text. + * + */ + @SerializedName("dateText") + @Expose + public com.google.gson.JsonElement dateText; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaverageBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaverageBody.java index 50c8b3d6871..66390f9bf9d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaverageBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaverageBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDaverageBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Daverage Body. */ -public class WorkbookFunctionsDaverageBody extends BaseWorkbookFunctionsDaverageBody { +public class WorkbookFunctionsDaverageBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDayBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDayBody.java index f270091ba98..32c8d7624fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDayBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDayBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDayBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Day Body. */ -public class WorkbookFunctionsDayBody extends BaseWorkbookFunctionsDayBody { +public class WorkbookFunctionsDayBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDays360Body.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDays360Body.java index 420d0c554e7..6065bf4209d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDays360Body.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDays360Body.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDays360Body; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Days360Body. */ -public class WorkbookFunctionsDays360Body extends BaseWorkbookFunctionsDays360Body { +public class WorkbookFunctionsDays360Body { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The end Date. + * + */ + @SerializedName("endDate") + @Expose + public com.google.gson.JsonElement endDate; + + /** + * The method. + * + */ + @SerializedName("method") + @Expose + public com.google.gson.JsonElement method; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaysBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaysBody.java index 9b7df90b332..856c0bc29e5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaysBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDaysBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDaysBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Days Body. */ -public class WorkbookFunctionsDaysBody extends BaseWorkbookFunctionsDaysBody { +public class WorkbookFunctionsDaysBody { + /** + * The end Date. + * + */ + @SerializedName("endDate") + @Expose + public com.google.gson.JsonElement endDate; + + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbBody.java index f14a802d433..43c9ebd7c3c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Db Body. */ -public class WorkbookFunctionsDbBody extends BaseWorkbookFunctionsDbBody { +public class WorkbookFunctionsDbBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The life. + * + */ + @SerializedName("life") + @Expose + public com.google.gson.JsonElement life; + + /** + * The period. + * + */ + @SerializedName("period") + @Expose + public com.google.gson.JsonElement period; + + /** + * The month. + * + */ + @SerializedName("month") + @Expose + public com.google.gson.JsonElement month; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbcsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbcsBody.java index 70c907a2b09..dca1a4f6c35 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbcsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDbcsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDbcsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dbcs Body. */ -public class WorkbookFunctionsDbcsBody extends BaseWorkbookFunctionsDbcsBody { +public class WorkbookFunctionsDbcsBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountABody.java index 2867f858386..08be17fbd45 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountABody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDcountABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dcount ABody. */ -public class WorkbookFunctionsDcountABody extends BaseWorkbookFunctionsDcountABody { +public class WorkbookFunctionsDcountABody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountBody.java index 8cd9bcdd3a6..97d27a8ccaf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDcountBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDcountBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dcount Body. */ -public class WorkbookFunctionsDcountBody extends BaseWorkbookFunctionsDcountBody { +public class WorkbookFunctionsDcountBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDdbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDdbBody.java index b67eee62535..b8bad4e17b1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDdbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDdbBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDdbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ddb Body. */ -public class WorkbookFunctionsDdbBody extends BaseWorkbookFunctionsDdbBody { +public class WorkbookFunctionsDdbBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The life. + * + */ + @SerializedName("life") + @Expose + public com.google.gson.JsonElement life; + + /** + * The period. + * + */ + @SerializedName("period") + @Expose + public com.google.gson.JsonElement period; + + /** + * The factor. + * + */ + @SerializedName("factor") + @Expose + public com.google.gson.JsonElement factor; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2BinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2BinBody.java index 79ecdfeb874..6dbba3ccf44 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2BinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2BinBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDec2BinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Bin Body. */ -public class WorkbookFunctionsDec2BinBody extends BaseWorkbookFunctionsDec2BinBody { +public class WorkbookFunctionsDec2BinBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2HexBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2HexBody.java index 4774ee7f6ee..d08321d6908 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2HexBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2HexBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDec2HexBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Hex Body. */ -public class WorkbookFunctionsDec2HexBody extends BaseWorkbookFunctionsDec2HexBody { +public class WorkbookFunctionsDec2HexBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2OctBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2OctBody.java index e266aca56fd..aec329444cf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2OctBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDec2OctBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDec2OctBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Oct Body. */ -public class WorkbookFunctionsDec2OctBody extends BaseWorkbookFunctionsDec2OctBody { +public class WorkbookFunctionsDec2OctBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDecimalBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDecimalBody.java index 2c8abf0fc73..cfc68f282a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDecimalBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDecimalBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDecimalBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Decimal Body. */ -public class WorkbookFunctionsDecimalBody extends BaseWorkbookFunctionsDecimalBody { +public class WorkbookFunctionsDecimalBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The radix. + * + */ + @SerializedName("radix") + @Expose + public com.google.gson.JsonElement radix; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDegreesBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDegreesBody.java index 1f587b623fe..25c76aa21fa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDegreesBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDegreesBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDegreesBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Degrees Body. */ -public class WorkbookFunctionsDegreesBody extends BaseWorkbookFunctionsDegreesBody { +public class WorkbookFunctionsDegreesBody { + /** + * The angle. + * + */ + @SerializedName("angle") + @Expose + public com.google.gson.JsonElement angle; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDeltaBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDeltaBody.java index 9afdf09488a..4325378f432 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDeltaBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDeltaBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDeltaBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Delta Body. */ -public class WorkbookFunctionsDeltaBody extends BaseWorkbookFunctionsDeltaBody { +public class WorkbookFunctionsDeltaBody { + /** + * The number1. + * + */ + @SerializedName("number1") + @Expose + public com.google.gson.JsonElement number1; + + /** + * The number2. + * + */ + @SerializedName("number2") + @Expose + public com.google.gson.JsonElement number2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDevSqBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDevSqBody.java index 75ba98b4004..19941790442 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDevSqBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDevSqBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDevSqBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dev Sq Body. */ -public class WorkbookFunctionsDevSqBody extends BaseWorkbookFunctionsDevSqBody { +public class WorkbookFunctionsDevSqBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDgetBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDgetBody.java index 423b059bd65..aa73b63c55c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDgetBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDgetBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDgetBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dget Body. */ -public class WorkbookFunctionsDgetBody extends BaseWorkbookFunctionsDgetBody { +public class WorkbookFunctionsDgetBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDiscBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDiscBody.java index 0f9252bf469..18c06389a6c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDiscBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDiscBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDiscBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Disc Body. */ -public class WorkbookFunctionsDiscBody extends BaseWorkbookFunctionsDiscBody { +public class WorkbookFunctionsDiscBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDmaxBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDmaxBody.java index 4eb6ec15559..ceb3d12c575 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDmaxBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDmaxBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDmaxBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dmax Body. */ -public class WorkbookFunctionsDmaxBody extends BaseWorkbookFunctionsDmaxBody { +public class WorkbookFunctionsDmaxBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDminBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDminBody.java index c3282c98137..a30bccd30d8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDminBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDminBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDminBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dmin Body. */ -public class WorkbookFunctionsDminBody extends BaseWorkbookFunctionsDminBody { +public class WorkbookFunctionsDminBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarBody.java index 4556760ddf5..92e35860bf5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDollarBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar Body. */ -public class WorkbookFunctionsDollarBody extends BaseWorkbookFunctionsDollarBody { +public class WorkbookFunctionsDollarBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The decimals. + * + */ + @SerializedName("decimals") + @Expose + public com.google.gson.JsonElement decimals; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarDeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarDeBody.java index 6976cb4bddb..cbdfeaf2494 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarDeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarDeBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDollarDeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar De Body. */ -public class WorkbookFunctionsDollarDeBody extends BaseWorkbookFunctionsDollarDeBody { +public class WorkbookFunctionsDollarDeBody { + /** + * The fractional Dollar. + * + */ + @SerializedName("fractionalDollar") + @Expose + public com.google.gson.JsonElement fractionalDollar; + + /** + * The fraction. + * + */ + @SerializedName("fraction") + @Expose + public com.google.gson.JsonElement fraction; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarFrBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarFrBody.java index a140c46d757..f006ad2c176 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarFrBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDollarFrBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDollarFrBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar Fr Body. */ -public class WorkbookFunctionsDollarFrBody extends BaseWorkbookFunctionsDollarFrBody { +public class WorkbookFunctionsDollarFrBody { + /** + * The decimal Dollar. + * + */ + @SerializedName("decimalDollar") + @Expose + public com.google.gson.JsonElement decimalDollar; + + /** + * The fraction. + * + */ + @SerializedName("fraction") + @Expose + public com.google.gson.JsonElement fraction; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDproductBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDproductBody.java index c39ab6e319d..b0147bb8317 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDproductBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDproductBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDproductBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dproduct Body. */ -public class WorkbookFunctionsDproductBody extends BaseWorkbookFunctionsDproductBody { +public class WorkbookFunctionsDproductBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevBody.java index a823d542605..238c06f39e3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDstDevBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dst Dev Body. */ -public class WorkbookFunctionsDstDevBody extends BaseWorkbookFunctionsDstDevBody { +public class WorkbookFunctionsDstDevBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevPBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevPBody.java index 5086a8dbf32..21abfdaf1b7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevPBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDstDevPBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDstDevPBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dst Dev PBody. */ -public class WorkbookFunctionsDstDevPBody extends BaseWorkbookFunctionsDstDevPBody { +public class WorkbookFunctionsDstDevPBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDsumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDsumBody.java index 693b8c75a72..72e2875119d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDsumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDsumBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDsumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dsum Body. */ -public class WorkbookFunctionsDsumBody extends BaseWorkbookFunctionsDsumBody { +public class WorkbookFunctionsDsumBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDurationBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDurationBody.java index 63b79f0da99..61d74accaec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDurationBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDurationBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDurationBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Duration Body. */ -public class WorkbookFunctionsDurationBody extends BaseWorkbookFunctionsDurationBody { +public class WorkbookFunctionsDurationBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The coupon. + * + */ + @SerializedName("coupon") + @Expose + public com.google.gson.JsonElement coupon; + + /** + * The yld. + * + */ + @SerializedName("yld") + @Expose + public com.google.gson.JsonElement yld; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarBody.java index 5761d154297..d8b15897971 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDvarBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dvar Body. */ -public class WorkbookFunctionsDvarBody extends BaseWorkbookFunctionsDvarBody { +public class WorkbookFunctionsDvarBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarPBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarPBody.java index f43148aa291..1cc1b8d2108 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarPBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsDvarPBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsDvarPBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dvar PBody. */ -public class WorkbookFunctionsDvarPBody extends BaseWorkbookFunctionsDvarPBody { +public class WorkbookFunctionsDvarPBody { + /** + * The database. + * + */ + @SerializedName("database") + @Expose + public com.google.gson.JsonElement database; + + /** + * The field. + * + */ + @SerializedName("field") + @Expose + public com.google.gson.JsonElement field; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEcma_CeilingBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEcma_CeilingBody.java index 0890fd6aefd..3f260a5e2d6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEcma_CeilingBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEcma_CeilingBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsEcma_CeilingBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ecma_Ceiling Body. */ -public class WorkbookFunctionsEcma_CeilingBody extends BaseWorkbookFunctionsEcma_CeilingBody { +public class WorkbookFunctionsEcma_CeilingBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEdateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEdateBody.java index 2e151e6074a..be90ca99051 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEdateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEdateBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsEdateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Edate Body. */ -public class WorkbookFunctionsEdateBody extends BaseWorkbookFunctionsEdateBody { +public class WorkbookFunctionsEdateBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The months. + * + */ + @SerializedName("months") + @Expose + public com.google.gson.JsonElement months; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEffectBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEffectBody.java index fa0f91eae97..9b8c49af055 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEffectBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEffectBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsEffectBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Effect Body. */ -public class WorkbookFunctionsEffectBody extends BaseWorkbookFunctionsEffectBody { +public class WorkbookFunctionsEffectBody { + /** + * The nominal Rate. + * + */ + @SerializedName("nominalRate") + @Expose + public com.google.gson.JsonElement nominalRate; + + /** + * The npery. + * + */ + @SerializedName("npery") + @Expose + public com.google.gson.JsonElement npery; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEoMonthBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEoMonthBody.java index 815e371a7c4..be7c6cff3bd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEoMonthBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEoMonthBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsEoMonthBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Eo Month Body. */ -public class WorkbookFunctionsEoMonthBody extends BaseWorkbookFunctionsEoMonthBody { +public class WorkbookFunctionsEoMonthBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The months. + * + */ + @SerializedName("months") + @Expose + public com.google.gson.JsonElement months; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfBody.java index 71cdbc8f695..0aa1b60b4b3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsErfBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf Body. */ -public class WorkbookFunctionsErfBody extends BaseWorkbookFunctionsErfBody { +public class WorkbookFunctionsErfBody { + /** + * The lower Limit. + * + */ + @SerializedName("lowerLimit") + @Expose + public com.google.gson.JsonElement lowerLimit; + + /** + * The upper Limit. + * + */ + @SerializedName("upperLimit") + @Expose + public com.google.gson.JsonElement upperLimit; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfCBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfCBody.java index 00424e4ef8e..510f69d8155 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfCBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfCBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsErfCBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf CBody. */ -public class WorkbookFunctionsErfCBody extends BaseWorkbookFunctionsErfCBody { +public class WorkbookFunctionsErfCBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfC_PreciseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfC_PreciseBody.java index 33a170fa27b..eb94de78049 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfC_PreciseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErfC_PreciseBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsErfC_PreciseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf C_Precise Body. */ -public class WorkbookFunctionsErfC_PreciseBody extends BaseWorkbookFunctionsErfC_PreciseBody { +public class WorkbookFunctionsErfC_PreciseBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErf_PreciseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErf_PreciseBody.java index a11c9c8a429..2be2f35ceb6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErf_PreciseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsErf_PreciseBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsErf_PreciseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf_Precise Body. */ -public class WorkbookFunctionsErf_PreciseBody extends BaseWorkbookFunctionsErf_PreciseBody { +public class WorkbookFunctionsErf_PreciseBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsError_TypeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsError_TypeBody.java index 65261c0029b..0162171cc83 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsError_TypeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsError_TypeBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsError_TypeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Error_Type Body. */ -public class WorkbookFunctionsError_TypeBody extends BaseWorkbookFunctionsError_TypeBody { +public class WorkbookFunctionsError_TypeBody { + /** + * The error Val. + * + */ + @SerializedName("errorVal") + @Expose + public com.google.gson.JsonElement errorVal; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEvenBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEvenBody.java index b84c4d7f21a..d00319ff014 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEvenBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsEvenBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsEvenBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Even Body. */ -public class WorkbookFunctionsEvenBody extends BaseWorkbookFunctionsEvenBody { +public class WorkbookFunctionsEvenBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExactBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExactBody.java index 761b1fd9f43..9a8990e31dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExactBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExactBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsExactBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Exact Body. */ -public class WorkbookFunctionsExactBody extends BaseWorkbookFunctionsExactBody { +public class WorkbookFunctionsExactBody { + /** + * The text1. + * + */ + @SerializedName("text1") + @Expose + public com.google.gson.JsonElement text1; + + /** + * The text2. + * + */ + @SerializedName("text2") + @Expose + public com.google.gson.JsonElement text2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpBody.java index b49ffe7f883..ec22c1f67d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsExpBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Exp Body. */ -public class WorkbookFunctionsExpBody extends BaseWorkbookFunctionsExpBody { +public class WorkbookFunctionsExpBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpon_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpon_DistBody.java index 1690c084bd6..1c4c2242134 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpon_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsExpon_DistBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsExpon_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Expon_Dist Body. */ -public class WorkbookFunctionsExpon_DistBody extends BaseWorkbookFunctionsExpon_DistBody { +public class WorkbookFunctionsExpon_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The lambda. + * + */ + @SerializedName("lambda") + @Expose + public com.google.gson.JsonElement lambda; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_DistBody.java index 43e3d01412d..10f11eb2ad4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsF_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Dist Body. */ -public class WorkbookFunctionsF_DistBody extends BaseWorkbookFunctionsF_DistBody { +public class WorkbookFunctionsF_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom1. + * + */ + @SerializedName("degFreedom1") + @Expose + public com.google.gson.JsonElement degFreedom1; + + /** + * The deg Freedom2. + * + */ + @SerializedName("degFreedom2") + @Expose + public com.google.gson.JsonElement degFreedom2; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Dist_RTBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Dist_RTBody.java index dd3f016c9f1..2a1cd01f655 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Dist_RTBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Dist_RTBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsF_Dist_RTBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Dist_RTBody. */ -public class WorkbookFunctionsF_Dist_RTBody extends BaseWorkbookFunctionsF_Dist_RTBody { +public class WorkbookFunctionsF_Dist_RTBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom1. + * + */ + @SerializedName("degFreedom1") + @Expose + public com.google.gson.JsonElement degFreedom1; + + /** + * The deg Freedom2. + * + */ + @SerializedName("degFreedom2") + @Expose + public com.google.gson.JsonElement degFreedom2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_InvBody.java index 00e9de2a0f1..ec44f622cf4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_InvBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsF_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Inv Body. */ -public class WorkbookFunctionsF_InvBody extends BaseWorkbookFunctionsF_InvBody { +public class WorkbookFunctionsF_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The deg Freedom1. + * + */ + @SerializedName("degFreedom1") + @Expose + public com.google.gson.JsonElement degFreedom1; + + /** + * The deg Freedom2. + * + */ + @SerializedName("degFreedom2") + @Expose + public com.google.gson.JsonElement degFreedom2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Inv_RTBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Inv_RTBody.java index cfa3a24a8aa..1c7a5f9436b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Inv_RTBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsF_Inv_RTBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsF_Inv_RTBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Inv_RTBody. */ -public class WorkbookFunctionsF_Inv_RTBody extends BaseWorkbookFunctionsF_Inv_RTBody { +public class WorkbookFunctionsF_Inv_RTBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The deg Freedom1. + * + */ + @SerializedName("degFreedom1") + @Expose + public com.google.gson.JsonElement degFreedom1; + + /** + * The deg Freedom2. + * + */ + @SerializedName("degFreedom2") + @Expose + public com.google.gson.JsonElement degFreedom2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactBody.java index ddae98d14dc..42f98187b51 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFactBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fact Body. */ -public class WorkbookFunctionsFactBody extends BaseWorkbookFunctionsFactBody { +public class WorkbookFunctionsFactBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactDoubleBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactDoubleBody.java index 5134d152987..8f657de0d8f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactDoubleBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFactDoubleBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFactDoubleBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fact Double Body. */ -public class WorkbookFunctionsFactDoubleBody extends BaseWorkbookFunctionsFactDoubleBody { +public class WorkbookFunctionsFactDoubleBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBBody.java index edaf8817d47..2e32c137d0a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFindBBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Find BBody. */ -public class WorkbookFunctionsFindBBody extends BaseWorkbookFunctionsFindBBody { +public class WorkbookFunctionsFindBBody { + /** + * The find Text. + * + */ + @SerializedName("findText") + @Expose + public com.google.gson.JsonElement findText; + + /** + * The within Text. + * + */ + @SerializedName("withinText") + @Expose + public com.google.gson.JsonElement withinText; + + /** + * The start Num. + * + */ + @SerializedName("startNum") + @Expose + public com.google.gson.JsonElement startNum; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBody.java index 420cb898099..ab4c8268dbf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFindBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFindBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Find Body. */ -public class WorkbookFunctionsFindBody extends BaseWorkbookFunctionsFindBody { +public class WorkbookFunctionsFindBody { + /** + * The find Text. + * + */ + @SerializedName("findText") + @Expose + public com.google.gson.JsonElement findText; + + /** + * The within Text. + * + */ + @SerializedName("withinText") + @Expose + public com.google.gson.JsonElement withinText; + + /** + * The start Num. + * + */ + @SerializedName("startNum") + @Expose + public com.google.gson.JsonElement startNum; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherBody.java index 11343c3855f..f7a65dc3c8b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFisherBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fisher Body. */ -public class WorkbookFunctionsFisherBody extends BaseWorkbookFunctionsFisherBody { +public class WorkbookFunctionsFisherBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherInvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherInvBody.java index 89974a572c1..4eda399b634 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherInvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFisherInvBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFisherInvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fisher Inv Body. */ -public class WorkbookFunctionsFisherInvBody extends BaseWorkbookFunctionsFisherInvBody { +public class WorkbookFunctionsFisherInvBody { + /** + * The y. + * + */ + @SerializedName("y") + @Expose + public com.google.gson.JsonElement y; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFixedBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFixedBody.java index f70faed3fe1..3b9d877f3ea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFixedBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFixedBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFixedBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fixed Body. */ -public class WorkbookFunctionsFixedBody extends BaseWorkbookFunctionsFixedBody { +public class WorkbookFunctionsFixedBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The decimals. + * + */ + @SerializedName("decimals") + @Expose + public com.google.gson.JsonElement decimals; + + /** + * The no Commas. + * + */ + @SerializedName("noCommas") + @Expose + public com.google.gson.JsonElement noCommas; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_MathBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_MathBody.java index a76b6f4ce17..bd7e4774281 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_MathBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_MathBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFloor_MathBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Floor_Math Body. */ -public class WorkbookFunctionsFloor_MathBody extends BaseWorkbookFunctionsFloor_MathBody { +public class WorkbookFunctionsFloor_MathBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + /** + * The mode. + * + */ + @SerializedName("mode") + @Expose + public com.google.gson.JsonElement mode; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_PreciseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_PreciseBody.java index 072a2a88ede..1afc3627f27 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_PreciseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFloor_PreciseBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFloor_PreciseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Floor_Precise Body. */ -public class WorkbookFunctionsFloor_PreciseBody extends BaseWorkbookFunctionsFloor_PreciseBody { +public class WorkbookFunctionsFloor_PreciseBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvBody.java index 4b159bb6d46..9741b9af022 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fv Body. */ -public class WorkbookFunctionsFvBody extends BaseWorkbookFunctionsFvBody { +public class WorkbookFunctionsFvBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pmt. + * + */ + @SerializedName("pmt") + @Expose + public com.google.gson.JsonElement pmt; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvscheduleBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvscheduleBody.java index c3acf681f0e..7e731f417ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvscheduleBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsFvscheduleBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsFvscheduleBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fvschedule Body. */ -public class WorkbookFunctionsFvscheduleBody extends BaseWorkbookFunctionsFvscheduleBody { +public class WorkbookFunctionsFvscheduleBody { + /** + * The principal. + * + */ + @SerializedName("principal") + @Expose + public com.google.gson.JsonElement principal; + + /** + * The schedule. + * + */ + @SerializedName("schedule") + @Expose + public com.google.gson.JsonElement schedule; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaBody.java index c4935f9e364..82849dcdcc9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGammaBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Body. */ -public class WorkbookFunctionsGammaBody extends BaseWorkbookFunctionsGammaBody { +public class WorkbookFunctionsGammaBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLnBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLnBody.java index 53bd8f79f7a..aae001c3f51 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLnBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLnBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGammaLnBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Ln Body. */ -public class WorkbookFunctionsGammaLnBody extends BaseWorkbookFunctionsGammaLnBody { +public class WorkbookFunctionsGammaLnBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLn_PreciseBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLn_PreciseBody.java index 21668b32f19..750c857a944 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLn_PreciseBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGammaLn_PreciseBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGammaLn_PreciseBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Ln_Precise Body. */ -public class WorkbookFunctionsGammaLn_PreciseBody extends BaseWorkbookFunctionsGammaLn_PreciseBody { +public class WorkbookFunctionsGammaLn_PreciseBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_DistBody.java index 1d043ef0b7b..dc233dd560f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGamma_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma_Dist Body. */ -public class WorkbookFunctionsGamma_DistBody extends BaseWorkbookFunctionsGamma_DistBody { +public class WorkbookFunctionsGamma_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The beta. + * + */ + @SerializedName("beta") + @Expose + public com.google.gson.JsonElement beta; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_InvBody.java index c5be4720d09..85692092036 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGamma_InvBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGamma_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma_Inv Body. */ -public class WorkbookFunctionsGamma_InvBody extends BaseWorkbookFunctionsGamma_InvBody { +public class WorkbookFunctionsGamma_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The beta. + * + */ + @SerializedName("beta") + @Expose + public com.google.gson.JsonElement beta; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGaussBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGaussBody.java index 69a858fa828..e1748a377ff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGaussBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGaussBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGaussBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gauss Body. */ -public class WorkbookFunctionsGaussBody extends BaseWorkbookFunctionsGaussBody { +public class WorkbookFunctionsGaussBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGcdBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGcdBody.java index 5703e81e1c1..ab59aa63210 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGcdBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGcdBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGcdBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gcd Body. */ -public class WorkbookFunctionsGcdBody extends BaseWorkbookFunctionsGcdBody { +public class WorkbookFunctionsGcdBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeStepBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeStepBody.java index 02513ad7158..783f6e20d74 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeStepBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeStepBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGeStepBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ge Step Body. */ -public class WorkbookFunctionsGeStepBody extends BaseWorkbookFunctionsGeStepBody { +public class WorkbookFunctionsGeStepBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The step. + * + */ + @SerializedName("step") + @Expose + public com.google.gson.JsonElement step; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeoMeanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeoMeanBody.java index edd1e729faa..bdf7beccf3a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeoMeanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsGeoMeanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsGeoMeanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Geo Mean Body. */ -public class WorkbookFunctionsGeoMeanBody extends BaseWorkbookFunctionsGeoMeanBody { +public class WorkbookFunctionsGeoMeanBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHarMeanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHarMeanBody.java index 1bc15d53757..f295f350f60 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHarMeanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHarMeanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHarMeanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Har Mean Body. */ -public class WorkbookFunctionsHarMeanBody extends BaseWorkbookFunctionsHarMeanBody { +public class WorkbookFunctionsHarMeanBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2BinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2BinBody.java index f0ba8a0bdd0..3474f999d2f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2BinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2BinBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHex2BinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Bin Body. */ -public class WorkbookFunctionsHex2BinBody extends BaseWorkbookFunctionsHex2BinBody { +public class WorkbookFunctionsHex2BinBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2DecBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2DecBody.java index efb0de8e518..baca33a1316 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2DecBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2DecBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHex2DecBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Dec Body. */ -public class WorkbookFunctionsHex2DecBody extends BaseWorkbookFunctionsHex2DecBody { +public class WorkbookFunctionsHex2DecBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2OctBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2OctBody.java index f88f9e90f9b..0c2c0cbf27c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2OctBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHex2OctBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHex2OctBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Oct Body. */ -public class WorkbookFunctionsHex2OctBody extends BaseWorkbookFunctionsHex2OctBody { +public class WorkbookFunctionsHex2OctBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHlookupBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHlookupBody.java index 4f474612b6b..c9b1615abe7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHlookupBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHlookupBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHlookupBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hlookup Body. */ -public class WorkbookFunctionsHlookupBody extends BaseWorkbookFunctionsHlookupBody { +public class WorkbookFunctionsHlookupBody { + /** + * The lookup Value. + * + */ + @SerializedName("lookupValue") + @Expose + public com.google.gson.JsonElement lookupValue; + + /** + * The table Array. + * + */ + @SerializedName("tableArray") + @Expose + public com.google.gson.JsonElement tableArray; + + /** + * The row Index Num. + * + */ + @SerializedName("rowIndexNum") + @Expose + public com.google.gson.JsonElement rowIndexNum; + + /** + * The range Lookup. + * + */ + @SerializedName("rangeLookup") + @Expose + public com.google.gson.JsonElement rangeLookup; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHourBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHourBody.java index 48bed822d78..3f40199f8a2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHourBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHourBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHourBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hour Body. */ -public class WorkbookFunctionsHourBody extends BaseWorkbookFunctionsHourBody { +public class WorkbookFunctionsHourBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHypGeom_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHypGeom_DistBody.java index 486e5a65182..8a52d7ad7a2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHypGeom_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHypGeom_DistBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHypGeom_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hyp Geom_Dist Body. */ -public class WorkbookFunctionsHypGeom_DistBody extends BaseWorkbookFunctionsHypGeom_DistBody { +public class WorkbookFunctionsHypGeom_DistBody { + /** + * The sample S. + * + */ + @SerializedName("sampleS") + @Expose + public com.google.gson.JsonElement sampleS; + + /** + * The number Sample. + * + */ + @SerializedName("numberSample") + @Expose + public com.google.gson.JsonElement numberSample; + + /** + * The population S. + * + */ + @SerializedName("populationS") + @Expose + public com.google.gson.JsonElement populationS; + + /** + * The number Pop. + * + */ + @SerializedName("numberPop") + @Expose + public com.google.gson.JsonElement numberPop; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHyperlinkBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHyperlinkBody.java index 4e2383712fa..013b468a3fe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHyperlinkBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsHyperlinkBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsHyperlinkBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hyperlink Body. */ -public class WorkbookFunctionsHyperlinkBody extends BaseWorkbookFunctionsHyperlinkBody { +public class WorkbookFunctionsHyperlinkBody { + /** + * The link Location. + * + */ + @SerializedName("linkLocation") + @Expose + public com.google.gson.JsonElement linkLocation; + + /** + * The friendly Name. + * + */ + @SerializedName("friendlyName") + @Expose + public com.google.gson.JsonElement friendlyName; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIfBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIfBody.java index c7aa6e6440c..4cd53969211 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIfBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIfBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIfBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions If Body. */ -public class WorkbookFunctionsIfBody extends BaseWorkbookFunctionsIfBody { +public class WorkbookFunctionsIfBody { + /** + * The logical Test. + * + */ + @SerializedName("logicalTest") + @Expose + public com.google.gson.JsonElement logicalTest; + + /** + * The value If True. + * + */ + @SerializedName("valueIfTrue") + @Expose + public com.google.gson.JsonElement valueIfTrue; + + /** + * The value If False. + * + */ + @SerializedName("valueIfFalse") + @Expose + public com.google.gson.JsonElement valueIfFalse; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImAbsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImAbsBody.java index 2d08adef7dd..d9a4268ec34 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImAbsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImAbsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImAbsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Abs Body. */ -public class WorkbookFunctionsImAbsBody extends BaseWorkbookFunctionsImAbsBody { +public class WorkbookFunctionsImAbsBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImArgumentBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImArgumentBody.java index 6248bcab7a7..2cdad54b79b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImArgumentBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImArgumentBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImArgumentBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Argument Body. */ -public class WorkbookFunctionsImArgumentBody extends BaseWorkbookFunctionsImArgumentBody { +public class WorkbookFunctionsImArgumentBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImConjugateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImConjugateBody.java index 8d7b38ecf41..eeb57969df6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImConjugateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImConjugateBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImConjugateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Conjugate Body. */ -public class WorkbookFunctionsImConjugateBody extends BaseWorkbookFunctionsImConjugateBody { +public class WorkbookFunctionsImConjugateBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCosBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCosBody.java index 9c1a6aaeccb..2160c2b21d2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCosBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCosBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImCosBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cos Body. */ -public class WorkbookFunctionsImCosBody extends BaseWorkbookFunctionsImCosBody { +public class WorkbookFunctionsImCosBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCoshBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCoshBody.java index a36d603810e..4c8ced670ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCoshBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCoshBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImCoshBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cosh Body. */ -public class WorkbookFunctionsImCoshBody extends BaseWorkbookFunctionsImCoshBody { +public class WorkbookFunctionsImCoshBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCotBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCotBody.java index 335ce4afd38..2a6bcc3ac80 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCotBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCotBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImCotBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cot Body. */ -public class WorkbookFunctionsImCotBody extends BaseWorkbookFunctionsImCotBody { +public class WorkbookFunctionsImCotBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCscBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCscBody.java index 4b8bfb48d1d..99a1f151f58 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCscBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCscBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImCscBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Csc Body. */ -public class WorkbookFunctionsImCscBody extends BaseWorkbookFunctionsImCscBody { +public class WorkbookFunctionsImCscBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCschBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCschBody.java index 1f083ea4015..a33798a15f8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCschBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImCschBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImCschBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Csch Body. */ -public class WorkbookFunctionsImCschBody extends BaseWorkbookFunctionsImCschBody { +public class WorkbookFunctionsImCschBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImDivBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImDivBody.java index 5c29dca87cb..7be53d4e339 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImDivBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImDivBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImDivBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Div Body. */ -public class WorkbookFunctionsImDivBody extends BaseWorkbookFunctionsImDivBody { +public class WorkbookFunctionsImDivBody { + /** + * The inumber1. + * + */ + @SerializedName("inumber1") + @Expose + public com.google.gson.JsonElement inumber1; + + /** + * The inumber2. + * + */ + @SerializedName("inumber2") + @Expose + public com.google.gson.JsonElement inumber2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImExpBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImExpBody.java index ee0dfe575b8..b80744ab4ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImExpBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImExpBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImExpBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Exp Body. */ -public class WorkbookFunctionsImExpBody extends BaseWorkbookFunctionsImExpBody { +public class WorkbookFunctionsImExpBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLnBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLnBody.java index 014251a09d2..a853cb682af 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLnBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLnBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImLnBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Ln Body. */ -public class WorkbookFunctionsImLnBody extends BaseWorkbookFunctionsImLnBody { +public class WorkbookFunctionsImLnBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog10Body.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog10Body.java index 66110d44fee..ae980b0065a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog10Body.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog10Body.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImLog10Body; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Log10Body. */ -public class WorkbookFunctionsImLog10Body extends BaseWorkbookFunctionsImLog10Body { +public class WorkbookFunctionsImLog10Body { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog2Body.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog2Body.java index 693188624cc..7853e0fedad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog2Body.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImLog2Body.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImLog2Body; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Log2Body. */ -public class WorkbookFunctionsImLog2Body extends BaseWorkbookFunctionsImLog2Body { +public class WorkbookFunctionsImLog2Body { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImPowerBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImPowerBody.java index c1688766a3d..5be7d9e273d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImPowerBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImPowerBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImPowerBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Power Body. */ -public class WorkbookFunctionsImPowerBody extends BaseWorkbookFunctionsImPowerBody { +public class WorkbookFunctionsImPowerBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImProductBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImProductBody.java index 424be5d0c52..aea7d645831 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImProductBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImProductBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImProductBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Product Body. */ -public class WorkbookFunctionsImProductBody extends BaseWorkbookFunctionsImProductBody { +public class WorkbookFunctionsImProductBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImRealBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImRealBody.java index 06929a3e02a..e2bf575ff85 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImRealBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImRealBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImRealBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Real Body. */ -public class WorkbookFunctionsImRealBody extends BaseWorkbookFunctionsImRealBody { +public class WorkbookFunctionsImRealBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSecBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSecBody.java index fd23b77d1f3..dba6ce1003f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSecBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSecBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSecBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sec Body. */ -public class WorkbookFunctionsImSecBody extends BaseWorkbookFunctionsImSecBody { +public class WorkbookFunctionsImSecBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSechBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSechBody.java index dad6e0889be..7472fff57ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSechBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSechBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSechBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sech Body. */ -public class WorkbookFunctionsImSechBody extends BaseWorkbookFunctionsImSechBody { +public class WorkbookFunctionsImSechBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinBody.java index b5f21b9130f..a5c17d511c9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sin Body. */ -public class WorkbookFunctionsImSinBody extends BaseWorkbookFunctionsImSinBody { +public class WorkbookFunctionsImSinBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinhBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinhBody.java index 7fcabdff081..e66f6ad1569 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinhBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSinhBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSinhBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sinh Body. */ -public class WorkbookFunctionsImSinhBody extends BaseWorkbookFunctionsImSinhBody { +public class WorkbookFunctionsImSinhBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSqrtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSqrtBody.java index 929502c288a..064a7301d4d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSqrtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSqrtBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSqrtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sqrt Body. */ -public class WorkbookFunctionsImSqrtBody extends BaseWorkbookFunctionsImSqrtBody { +public class WorkbookFunctionsImSqrtBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSubBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSubBody.java index 54ee817b764..16a92939f4f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSubBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSubBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSubBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sub Body. */ -public class WorkbookFunctionsImSubBody extends BaseWorkbookFunctionsImSubBody { +public class WorkbookFunctionsImSubBody { + /** + * The inumber1. + * + */ + @SerializedName("inumber1") + @Expose + public com.google.gson.JsonElement inumber1; + + /** + * The inumber2. + * + */ + @SerializedName("inumber2") + @Expose + public com.google.gson.JsonElement inumber2; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSumBody.java index 04791778c72..8f158bdf5f8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImSumBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImSumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sum Body. */ -public class WorkbookFunctionsImSumBody extends BaseWorkbookFunctionsImSumBody { +public class WorkbookFunctionsImSumBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImTanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImTanBody.java index dc117577273..4b14d2f8804 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImTanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImTanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImTanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Tan Body. */ -public class WorkbookFunctionsImTanBody extends BaseWorkbookFunctionsImTanBody { +public class WorkbookFunctionsImTanBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImaginaryBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImaginaryBody.java index be0ea42c825..57a6a7d2d0a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImaginaryBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsImaginaryBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsImaginaryBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Imaginary Body. */ -public class WorkbookFunctionsImaginaryBody extends BaseWorkbookFunctionsImaginaryBody { +public class WorkbookFunctionsImaginaryBody { + /** + * The inumber. + * + */ + @SerializedName("inumber") + @Expose + public com.google.gson.JsonElement inumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntBody.java index 460497f547f..c24141abc9b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIntBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Int Body. */ -public class WorkbookFunctionsIntBody extends BaseWorkbookFunctionsIntBody { +public class WorkbookFunctionsIntBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntRateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntRateBody.java index 97103cffdc4..27af5c0cfc1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntRateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIntRateBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIntRateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Int Rate Body. */ -public class WorkbookFunctionsIntRateBody extends BaseWorkbookFunctionsIntRateBody { +public class WorkbookFunctionsIntRateBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The investment. + * + */ + @SerializedName("investment") + @Expose + public com.google.gson.JsonElement investment; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIpmtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIpmtBody.java index 5838241c03a..d2363d01d43 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIpmtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIpmtBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIpmtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ipmt Body. */ -public class WorkbookFunctionsIpmtBody extends BaseWorkbookFunctionsIpmtBody { +public class WorkbookFunctionsIpmtBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The per. + * + */ + @SerializedName("per") + @Expose + public com.google.gson.JsonElement per; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIrrBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIrrBody.java index f28ea79cc24..5cfb7e68bf0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIrrBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIrrBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIrrBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Irr Body. */ -public class WorkbookFunctionsIrrBody extends BaseWorkbookFunctionsIrrBody { +public class WorkbookFunctionsIrrBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The guess. + * + */ + @SerializedName("guess") + @Expose + public com.google.gson.JsonElement guess; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrBody.java index 39b82b4507d..c8792b27978 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsErrBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Err Body. */ -public class WorkbookFunctionsIsErrBody extends BaseWorkbookFunctionsIsErrBody { +public class WorkbookFunctionsIsErrBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrorBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrorBody.java index 6e96d549b2d..f15692af98b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrorBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsErrorBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsErrorBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Error Body. */ -public class WorkbookFunctionsIsErrorBody extends BaseWorkbookFunctionsIsErrorBody { +public class WorkbookFunctionsIsErrorBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsEvenBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsEvenBody.java index d6a43b80758..2cf9fb49404 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsEvenBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsEvenBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsEvenBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Even Body. */ -public class WorkbookFunctionsIsEvenBody extends BaseWorkbookFunctionsIsEvenBody { +public class WorkbookFunctionsIsEvenBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsFormulaBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsFormulaBody.java index 75040fade9e..50d3ff58e7f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsFormulaBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsFormulaBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsFormulaBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Formula Body. */ -public class WorkbookFunctionsIsFormulaBody extends BaseWorkbookFunctionsIsFormulaBody { +public class WorkbookFunctionsIsFormulaBody { + /** + * The reference. + * + */ + @SerializedName("reference") + @Expose + public com.google.gson.JsonElement reference; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsLogicalBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsLogicalBody.java index d1ff1bcd754..7c6cdaf840c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsLogicalBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsLogicalBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsLogicalBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Logical Body. */ -public class WorkbookFunctionsIsLogicalBody extends BaseWorkbookFunctionsIsLogicalBody { +public class WorkbookFunctionsIsLogicalBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNABody.java index ba431ab4ec1..4def0bfc1f7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsNABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is NABody. */ -public class WorkbookFunctionsIsNABody extends BaseWorkbookFunctionsIsNABody { +public class WorkbookFunctionsIsNABody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNonTextBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNonTextBody.java index fe93dc84db7..8502b45564f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNonTextBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNonTextBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsNonTextBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Non Text Body. */ -public class WorkbookFunctionsIsNonTextBody extends BaseWorkbookFunctionsIsNonTextBody { +public class WorkbookFunctionsIsNonTextBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNumberBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNumberBody.java index 48b15d94ed4..49bfc383c7e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNumberBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsNumberBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsNumberBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Number Body. */ -public class WorkbookFunctionsIsNumberBody extends BaseWorkbookFunctionsIsNumberBody { +public class WorkbookFunctionsIsNumberBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsOddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsOddBody.java index 4b242888970..01b788832a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsOddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsOddBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsOddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Odd Body. */ -public class WorkbookFunctionsIsOddBody extends BaseWorkbookFunctionsIsOddBody { +public class WorkbookFunctionsIsOddBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsTextBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsTextBody.java index b9cc1a255cf..0008c561e99 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsTextBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsTextBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsTextBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Text Body. */ -public class WorkbookFunctionsIsTextBody extends BaseWorkbookFunctionsIsTextBody { +public class WorkbookFunctionsIsTextBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsoWeekNumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsoWeekNumBody.java index 48e9f0ae0d0..7de718f054e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsoWeekNumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsoWeekNumBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsoWeekNumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Iso Week Num Body. */ -public class WorkbookFunctionsIsoWeekNumBody extends BaseWorkbookFunctionsIsoWeekNumBody { +public class WorkbookFunctionsIsoWeekNumBody { + /** + * The date. + * + */ + @SerializedName("date") + @Expose + public com.google.gson.JsonElement date; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIso_CeilingBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIso_CeilingBody.java index 523e830b0bb..d758211e7ca 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIso_CeilingBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIso_CeilingBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIso_CeilingBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Iso_Ceiling Body. */ -public class WorkbookFunctionsIso_CeilingBody extends BaseWorkbookFunctionsIso_CeilingBody { +public class WorkbookFunctionsIso_CeilingBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIspmtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIspmtBody.java index ac9b061adc4..45acc2f400d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIspmtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIspmtBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIspmtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ispmt Body. */ -public class WorkbookFunctionsIspmtBody extends BaseWorkbookFunctionsIspmtBody { +public class WorkbookFunctionsIspmtBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The per. + * + */ + @SerializedName("per") + @Expose + public com.google.gson.JsonElement per; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsrefBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsrefBody.java index 2a0f6751f64..e3427144b68 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsrefBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsIsrefBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsIsrefBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Isref Body. */ -public class WorkbookFunctionsIsrefBody extends BaseWorkbookFunctionsIsrefBody { +public class WorkbookFunctionsIsrefBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsKurtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsKurtBody.java index 81641285da5..6f97765f3f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsKurtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsKurtBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsKurtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Kurt Body. */ -public class WorkbookFunctionsKurtBody extends BaseWorkbookFunctionsKurtBody { +public class WorkbookFunctionsKurtBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLargeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLargeBody.java index 7dfc263cb71..b2b77f7ea55 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLargeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLargeBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLargeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Large Body. */ -public class WorkbookFunctionsLargeBody extends BaseWorkbookFunctionsLargeBody { +public class WorkbookFunctionsLargeBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The k. + * + */ + @SerializedName("k") + @Expose + public com.google.gson.JsonElement k; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLcmBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLcmBody.java index 3684eba5392..c483c077280 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLcmBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLcmBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLcmBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lcm Body. */ -public class WorkbookFunctionsLcmBody extends BaseWorkbookFunctionsLcmBody { +public class WorkbookFunctionsLcmBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftBody.java index d4c88cf66c3..2fd483d2741 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLeftBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Left Body. */ -public class WorkbookFunctionsLeftBody extends BaseWorkbookFunctionsLeftBody { +public class WorkbookFunctionsLeftBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The num Chars. + * + */ + @SerializedName("numChars") + @Expose + public com.google.gson.JsonElement numChars; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftbBody.java index 32350ed3d80..73ff9a2422b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLeftbBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLeftbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Leftb Body. */ -public class WorkbookFunctionsLeftbBody extends BaseWorkbookFunctionsLeftbBody { +public class WorkbookFunctionsLeftbBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The num Bytes. + * + */ + @SerializedName("numBytes") + @Expose + public com.google.gson.JsonElement numBytes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenBody.java index 30043dcbd68..11a354fef84 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLenBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Len Body. */ -public class WorkbookFunctionsLenBody extends BaseWorkbookFunctionsLenBody { +public class WorkbookFunctionsLenBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenbBody.java index 442974e9aef..dda8a6b2c68 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLenbBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLenbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lenb Body. */ -public class WorkbookFunctionsLenbBody extends BaseWorkbookFunctionsLenbBody { +public class WorkbookFunctionsLenbBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLnBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLnBody.java index c7e00552c68..72504069a58 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLnBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLnBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLnBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ln Body. */ -public class WorkbookFunctionsLnBody extends BaseWorkbookFunctionsLnBody { +public class WorkbookFunctionsLnBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLog10Body.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLog10Body.java index 162f60778b1..c6c41c47825 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLog10Body.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLog10Body.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLog10Body; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log10Body. */ -public class WorkbookFunctionsLog10Body extends BaseWorkbookFunctionsLog10Body { +public class WorkbookFunctionsLog10Body { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogBody.java index 0c14c9ae066..f381d28b046 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLogBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Body. */ -public class WorkbookFunctionsLogBody extends BaseWorkbookFunctionsLogBody { +public class WorkbookFunctionsLogBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The base. + * + */ + @SerializedName("base") + @Expose + public com.google.gson.JsonElement base; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_DistBody.java index 47310faec73..45a1da98885 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLogNorm_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Norm_Dist Body. */ -public class WorkbookFunctionsLogNorm_DistBody extends BaseWorkbookFunctionsLogNorm_DistBody { +public class WorkbookFunctionsLogNorm_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The mean. + * + */ + @SerializedName("mean") + @Expose + public com.google.gson.JsonElement mean; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_InvBody.java index 4eb223daf3e..5efd7ead6e4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLogNorm_InvBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLogNorm_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Norm_Inv Body. */ -public class WorkbookFunctionsLogNorm_InvBody extends BaseWorkbookFunctionsLogNorm_InvBody { +public class WorkbookFunctionsLogNorm_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The mean. + * + */ + @SerializedName("mean") + @Expose + public com.google.gson.JsonElement mean; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLookupBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLookupBody.java index 5f25694d36f..0e3764a35fe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLookupBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLookupBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLookupBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lookup Body. */ -public class WorkbookFunctionsLookupBody extends BaseWorkbookFunctionsLookupBody { +public class WorkbookFunctionsLookupBody { + /** + * The lookup Value. + * + */ + @SerializedName("lookupValue") + @Expose + public com.google.gson.JsonElement lookupValue; + + /** + * The lookup Vector. + * + */ + @SerializedName("lookupVector") + @Expose + public com.google.gson.JsonElement lookupVector; + + /** + * The result Vector. + * + */ + @SerializedName("resultVector") + @Expose + public com.google.gson.JsonElement resultVector; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLowerBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLowerBody.java index 1e06b2bdeb6..f27d625be71 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLowerBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsLowerBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsLowerBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lower Body. */ -public class WorkbookFunctionsLowerBody extends BaseWorkbookFunctionsLowerBody { +public class WorkbookFunctionsLowerBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMatchBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMatchBody.java index 7b78436d746..adf5b4a27f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMatchBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMatchBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMatchBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Match Body. */ -public class WorkbookFunctionsMatchBody extends BaseWorkbookFunctionsMatchBody { +public class WorkbookFunctionsMatchBody { + /** + * The lookup Value. + * + */ + @SerializedName("lookupValue") + @Expose + public com.google.gson.JsonElement lookupValue; + + /** + * The lookup Array. + * + */ + @SerializedName("lookupArray") + @Expose + public com.google.gson.JsonElement lookupArray; + + /** + * The match Type. + * + */ + @SerializedName("matchType") + @Expose + public com.google.gson.JsonElement matchType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxABody.java index 672f9e2cdad..bfe6e82dc77 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMaxABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Max ABody. */ -public class WorkbookFunctionsMaxABody extends BaseWorkbookFunctionsMaxABody { +public class WorkbookFunctionsMaxABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxBody.java index 4e2173bcf30..8e7c1420683 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMaxBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMaxBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Max Body. */ -public class WorkbookFunctionsMaxBody extends BaseWorkbookFunctionsMaxBody { +public class WorkbookFunctionsMaxBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMdurationBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMdurationBody.java index 7a4b8296039..4b68085aa29 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMdurationBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMdurationBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMdurationBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mduration Body. */ -public class WorkbookFunctionsMdurationBody extends BaseWorkbookFunctionsMdurationBody { +public class WorkbookFunctionsMdurationBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The coupon. + * + */ + @SerializedName("coupon") + @Expose + public com.google.gson.JsonElement coupon; + + /** + * The yld. + * + */ + @SerializedName("yld") + @Expose + public com.google.gson.JsonElement yld; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMedianBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMedianBody.java index 6ee977c9cd2..8e3ddee2b60 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMedianBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMedianBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMedianBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Median Body. */ -public class WorkbookFunctionsMedianBody extends BaseWorkbookFunctionsMedianBody { +public class WorkbookFunctionsMedianBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidBody.java index 4ae889eef14..40517c755ff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMidBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mid Body. */ -public class WorkbookFunctionsMidBody extends BaseWorkbookFunctionsMidBody { +public class WorkbookFunctionsMidBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The start Num. + * + */ + @SerializedName("startNum") + @Expose + public com.google.gson.JsonElement startNum; + + /** + * The num Chars. + * + */ + @SerializedName("numChars") + @Expose + public com.google.gson.JsonElement numChars; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidbBody.java index 18031c372c9..8c4081bee94 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMidbBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMidbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Midb Body. */ -public class WorkbookFunctionsMidbBody extends BaseWorkbookFunctionsMidbBody { +public class WorkbookFunctionsMidbBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The start Num. + * + */ + @SerializedName("startNum") + @Expose + public com.google.gson.JsonElement startNum; + + /** + * The num Bytes. + * + */ + @SerializedName("numBytes") + @Expose + public com.google.gson.JsonElement numBytes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinABody.java index b68add7ae17..c5babfeb549 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMinABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Min ABody. */ -public class WorkbookFunctionsMinABody extends BaseWorkbookFunctionsMinABody { +public class WorkbookFunctionsMinABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinBody.java index e18c8007fa8..d3e307e5986 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Min Body. */ -public class WorkbookFunctionsMinBody extends BaseWorkbookFunctionsMinBody { +public class WorkbookFunctionsMinBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinuteBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinuteBody.java index 05138568a7b..26fa9d472b0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinuteBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMinuteBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMinuteBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Minute Body. */ -public class WorkbookFunctionsMinuteBody extends BaseWorkbookFunctionsMinuteBody { +public class WorkbookFunctionsMinuteBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMirrBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMirrBody.java index a7dc442b4e9..9ebaffbf99a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMirrBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMirrBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMirrBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mirr Body. */ -public class WorkbookFunctionsMirrBody extends BaseWorkbookFunctionsMirrBody { +public class WorkbookFunctionsMirrBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The finance Rate. + * + */ + @SerializedName("financeRate") + @Expose + public com.google.gson.JsonElement financeRate; + + /** + * The reinvest Rate. + * + */ + @SerializedName("reinvestRate") + @Expose + public com.google.gson.JsonElement reinvestRate; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsModBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsModBody.java index 01baf97f52f..f2a67dcda86 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsModBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsModBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsModBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mod Body. */ -public class WorkbookFunctionsModBody extends BaseWorkbookFunctionsModBody { +public class WorkbookFunctionsModBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The divisor. + * + */ + @SerializedName("divisor") + @Expose + public com.google.gson.JsonElement divisor; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMonthBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMonthBody.java index 9701034b670..7741ba75c8d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMonthBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMonthBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMonthBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Month Body. */ -public class WorkbookFunctionsMonthBody extends BaseWorkbookFunctionsMonthBody { +public class WorkbookFunctionsMonthBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMroundBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMroundBody.java index 77717ac2489..5cd3087fb65 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMroundBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMroundBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMroundBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mround Body. */ -public class WorkbookFunctionsMroundBody extends BaseWorkbookFunctionsMroundBody { +public class WorkbookFunctionsMroundBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The multiple. + * + */ + @SerializedName("multiple") + @Expose + public com.google.gson.JsonElement multiple; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMultiNomialBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMultiNomialBody.java index 1314104c290..ef7d3f7b433 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMultiNomialBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsMultiNomialBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsMultiNomialBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Multi Nomial Body. */ -public class WorkbookFunctionsMultiNomialBody extends BaseWorkbookFunctionsMultiNomialBody { +public class WorkbookFunctionsMultiNomialBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNBody.java index db8d81d4f28..5ebda416064 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions NBody. */ -public class WorkbookFunctionsNBody extends BaseWorkbookFunctionsNBody { +public class WorkbookFunctionsNBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNegBinom_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNegBinom_DistBody.java index 25fa548b1db..2197fb83e2f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNegBinom_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNegBinom_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNegBinom_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Neg Binom_Dist Body. */ -public class WorkbookFunctionsNegBinom_DistBody extends BaseWorkbookFunctionsNegBinom_DistBody { +public class WorkbookFunctionsNegBinom_DistBody { + /** + * The number F. + * + */ + @SerializedName("numberF") + @Expose + public com.google.gson.JsonElement numberF; + + /** + * The number S. + * + */ + @SerializedName("numberS") + @Expose + public com.google.gson.JsonElement numberS; + + /** + * The probability S. + * + */ + @SerializedName("probabilityS") + @Expose + public com.google.gson.JsonElement probabilityS; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDaysBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDaysBody.java index 94cbc4c3017..14575a2bbc3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDaysBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDaysBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNetworkDaysBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Network Days Body. */ -public class WorkbookFunctionsNetworkDaysBody extends BaseWorkbookFunctionsNetworkDaysBody { +public class WorkbookFunctionsNetworkDaysBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The end Date. + * + */ + @SerializedName("endDate") + @Expose + public com.google.gson.JsonElement endDate; + + /** + * The holidays. + * + */ + @SerializedName("holidays") + @Expose + public com.google.gson.JsonElement holidays; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDays_IntlBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDays_IntlBody.java index 61365b4423f..61e92e05f1b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDays_IntlBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNetworkDays_IntlBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNetworkDays_IntlBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Network Days_Intl Body. */ -public class WorkbookFunctionsNetworkDays_IntlBody extends BaseWorkbookFunctionsNetworkDays_IntlBody { +public class WorkbookFunctionsNetworkDays_IntlBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The end Date. + * + */ + @SerializedName("endDate") + @Expose + public com.google.gson.JsonElement endDate; + + /** + * The weekend. + * + */ + @SerializedName("weekend") + @Expose + public com.google.gson.JsonElement weekend; + + /** + * The holidays. + * + */ + @SerializedName("holidays") + @Expose + public com.google.gson.JsonElement holidays; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNominalBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNominalBody.java index f8218048672..2722c7814c1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNominalBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNominalBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNominalBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Nominal Body. */ -public class WorkbookFunctionsNominalBody extends BaseWorkbookFunctionsNominalBody { +public class WorkbookFunctionsNominalBody { + /** + * The effect Rate. + * + */ + @SerializedName("effectRate") + @Expose + public com.google.gson.JsonElement effectRate; + + /** + * The npery. + * + */ + @SerializedName("npery") + @Expose + public com.google.gson.JsonElement npery; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_DistBody.java index c28e9e58a3c..8d46562a985 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNorm_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_Dist Body. */ -public class WorkbookFunctionsNorm_DistBody extends BaseWorkbookFunctionsNorm_DistBody { +public class WorkbookFunctionsNorm_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The mean. + * + */ + @SerializedName("mean") + @Expose + public com.google.gson.JsonElement mean; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_InvBody.java index d2acd0fcee2..ce528f991f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_InvBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNorm_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_Inv Body. */ -public class WorkbookFunctionsNorm_InvBody extends BaseWorkbookFunctionsNorm_InvBody { +public class WorkbookFunctionsNorm_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The mean. + * + */ + @SerializedName("mean") + @Expose + public com.google.gson.JsonElement mean; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_DistBody.java index c13c68b5552..48cd2a9cf1e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_DistBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNorm_S_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_S_Dist Body. */ -public class WorkbookFunctionsNorm_S_DistBody extends BaseWorkbookFunctionsNorm_S_DistBody { +public class WorkbookFunctionsNorm_S_DistBody { + /** + * The z. + * + */ + @SerializedName("z") + @Expose + public com.google.gson.JsonElement z; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_InvBody.java index f354609db9f..676f35d9902 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNorm_S_InvBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNorm_S_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_S_Inv Body. */ -public class WorkbookFunctionsNorm_S_InvBody extends BaseWorkbookFunctionsNorm_S_InvBody { +public class WorkbookFunctionsNorm_S_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNotBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNotBody.java index aa0125f2a29..7994be0eaa8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNotBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNotBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNotBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Not Body. */ -public class WorkbookFunctionsNotBody extends BaseWorkbookFunctionsNotBody { +public class WorkbookFunctionsNotBody { + /** + * The logical. + * + */ + @SerializedName("logical") + @Expose + public com.google.gson.JsonElement logical; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNperBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNperBody.java index d883e4f0c93..aa537210605 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNperBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNperBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNperBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Nper Body. */ -public class WorkbookFunctionsNperBody extends BaseWorkbookFunctionsNperBody { +public class WorkbookFunctionsNperBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The pmt. + * + */ + @SerializedName("pmt") + @Expose + public com.google.gson.JsonElement pmt; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNpvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNpvBody.java index 07636907f30..c225d2c7249 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNpvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNpvBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNpvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Npv Body. */ -public class WorkbookFunctionsNpvBody extends BaseWorkbookFunctionsNpvBody { +public class WorkbookFunctionsNpvBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNumberValueBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNumberValueBody.java index 6eca47c16ba..bf6a694b238 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNumberValueBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsNumberValueBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsNumberValueBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Number Value Body. */ -public class WorkbookFunctionsNumberValueBody extends BaseWorkbookFunctionsNumberValueBody { +public class WorkbookFunctionsNumberValueBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The decimal Separator. + * + */ + @SerializedName("decimalSeparator") + @Expose + public com.google.gson.JsonElement decimalSeparator; + + /** + * The group Separator. + * + */ + @SerializedName("groupSeparator") + @Expose + public com.google.gson.JsonElement groupSeparator; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2BinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2BinBody.java index ba2b9951ac1..625b2d4e082 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2BinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2BinBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOct2BinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Bin Body. */ -public class WorkbookFunctionsOct2BinBody extends BaseWorkbookFunctionsOct2BinBody { +public class WorkbookFunctionsOct2BinBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2DecBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2DecBody.java index da5bae1adef..abe3802a662 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2DecBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2DecBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOct2DecBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Dec Body. */ -public class WorkbookFunctionsOct2DecBody extends BaseWorkbookFunctionsOct2DecBody { +public class WorkbookFunctionsOct2DecBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2HexBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2HexBody.java index d773a297d11..22c17c39333 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2HexBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOct2HexBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOct2HexBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Hex Body. */ -public class WorkbookFunctionsOct2HexBody extends BaseWorkbookFunctionsOct2HexBody { +public class WorkbookFunctionsOct2HexBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The places. + * + */ + @SerializedName("places") + @Expose + public com.google.gson.JsonElement places; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddBody.java index c45055a20b6..44017008fd4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd Body. */ -public class WorkbookFunctionsOddBody extends BaseWorkbookFunctionsOddBody { +public class WorkbookFunctionsOddBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFPriceBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFPriceBody.java index 4805b969b76..66bd0a30b98 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFPriceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFPriceBody.java @@ -4,13 +4,130 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOddFPriceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd FPrice Body. */ -public class WorkbookFunctionsOddFPriceBody extends BaseWorkbookFunctionsOddFPriceBody { +public class WorkbookFunctionsOddFPriceBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The issue. + * + */ + @SerializedName("issue") + @Expose + public com.google.gson.JsonElement issue; + + /** + * The first Coupon. + * + */ + @SerializedName("firstCoupon") + @Expose + public com.google.gson.JsonElement firstCoupon; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The yld. + * + */ + @SerializedName("yld") + @Expose + public com.google.gson.JsonElement yld; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFYieldBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFYieldBody.java index 3ff5029e333..777b746d2d4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFYieldBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddFYieldBody.java @@ -4,13 +4,130 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOddFYieldBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd FYield Body. */ -public class WorkbookFunctionsOddFYieldBody extends BaseWorkbookFunctionsOddFYieldBody { +public class WorkbookFunctionsOddFYieldBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The issue. + * + */ + @SerializedName("issue") + @Expose + public com.google.gson.JsonElement issue; + + /** + * The first Coupon. + * + */ + @SerializedName("firstCoupon") + @Expose + public com.google.gson.JsonElement firstCoupon; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLPriceBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLPriceBody.java index dbc3b55746a..a6b8a0601e3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLPriceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLPriceBody.java @@ -4,13 +4,122 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOddLPriceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd LPrice Body. */ -public class WorkbookFunctionsOddLPriceBody extends BaseWorkbookFunctionsOddLPriceBody { +public class WorkbookFunctionsOddLPriceBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The last Interest. + * + */ + @SerializedName("lastInterest") + @Expose + public com.google.gson.JsonElement lastInterest; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The yld. + * + */ + @SerializedName("yld") + @Expose + public com.google.gson.JsonElement yld; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLYieldBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLYieldBody.java index ec1b6e91c60..82b80b32684 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLYieldBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOddLYieldBody.java @@ -4,13 +4,122 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOddLYieldBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd LYield Body. */ -public class WorkbookFunctionsOddLYieldBody extends BaseWorkbookFunctionsOddLYieldBody { +public class WorkbookFunctionsOddLYieldBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The last Interest. + * + */ + @SerializedName("lastInterest") + @Expose + public com.google.gson.JsonElement lastInterest; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOrBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOrBody.java index c1daa6193d8..f838a5fccbb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOrBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsOrBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsOrBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Or Body. */ -public class WorkbookFunctionsOrBody extends BaseWorkbookFunctionsOrBody { +public class WorkbookFunctionsOrBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPdurationBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPdurationBody.java index 934f91ce57d..7f3f8b7e2f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPdurationBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPdurationBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPdurationBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pduration Body. */ -public class WorkbookFunctionsPdurationBody extends BaseWorkbookFunctionsPdurationBody { +public class WorkbookFunctionsPdurationBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_ExcBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_ExcBody.java index 0d9c54ea140..89edaa5e3f9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_ExcBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_ExcBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPercentRank_ExcBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percent Rank_Exc Body. */ -public class WorkbookFunctionsPercentRank_ExcBody extends BaseWorkbookFunctionsPercentRank_ExcBody { +public class WorkbookFunctionsPercentRank_ExcBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_IncBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_IncBody.java index 1c7485ce194..569b2768715 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_IncBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentRank_IncBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPercentRank_IncBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percent Rank_Inc Body. */ -public class WorkbookFunctionsPercentRank_IncBody extends BaseWorkbookFunctionsPercentRank_IncBody { +public class WorkbookFunctionsPercentRank_IncBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The significance. + * + */ + @SerializedName("significance") + @Expose + public com.google.gson.JsonElement significance; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_ExcBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_ExcBody.java index 23e5a79e1c8..4eb28bac5fa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_ExcBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_ExcBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPercentile_ExcBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percentile_Exc Body. */ -public class WorkbookFunctionsPercentile_ExcBody extends BaseWorkbookFunctionsPercentile_ExcBody { +public class WorkbookFunctionsPercentile_ExcBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The k. + * + */ + @SerializedName("k") + @Expose + public com.google.gson.JsonElement k; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_IncBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_IncBody.java index 9a11b434ff6..dd22e12a552 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_IncBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPercentile_IncBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPercentile_IncBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percentile_Inc Body. */ -public class WorkbookFunctionsPercentile_IncBody extends BaseWorkbookFunctionsPercentile_IncBody { +public class WorkbookFunctionsPercentile_IncBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The k. + * + */ + @SerializedName("k") + @Expose + public com.google.gson.JsonElement k; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutBody.java index 25a9fa986c6..0e803b3ff9f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPermutBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Permut Body. */ -public class WorkbookFunctionsPermutBody extends BaseWorkbookFunctionsPermutBody { +public class WorkbookFunctionsPermutBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The number Chosen. + * + */ + @SerializedName("numberChosen") + @Expose + public com.google.gson.JsonElement numberChosen; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutationaBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutationaBody.java index 4630a77dcfe..5dd3f79e71e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutationaBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPermutationaBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPermutationaBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Permutationa Body. */ -public class WorkbookFunctionsPermutationaBody extends BaseWorkbookFunctionsPermutationaBody { +public class WorkbookFunctionsPermutationaBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The number Chosen. + * + */ + @SerializedName("numberChosen") + @Expose + public com.google.gson.JsonElement numberChosen; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPhiBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPhiBody.java index c6cebd0373a..6461ffaddcb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPhiBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPhiBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPhiBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Phi Body. */ -public class WorkbookFunctionsPhiBody extends BaseWorkbookFunctionsPhiBody { +public class WorkbookFunctionsPhiBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPmtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPmtBody.java index da64ec995e5..3a79761603c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPmtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPmtBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPmtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pmt Body. */ -public class WorkbookFunctionsPmtBody extends BaseWorkbookFunctionsPmtBody { +public class WorkbookFunctionsPmtBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPoisson_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPoisson_DistBody.java index 0cd49a00f77..c90fa7f18bb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPoisson_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPoisson_DistBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPoisson_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Poisson_Dist Body. */ -public class WorkbookFunctionsPoisson_DistBody extends BaseWorkbookFunctionsPoisson_DistBody { +public class WorkbookFunctionsPoisson_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The mean. + * + */ + @SerializedName("mean") + @Expose + public com.google.gson.JsonElement mean; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPowerBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPowerBody.java index b170bf5a86f..13140f7a814 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPowerBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPowerBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPowerBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Power Body. */ -public class WorkbookFunctionsPowerBody extends BaseWorkbookFunctionsPowerBody { +public class WorkbookFunctionsPowerBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The power. + * + */ + @SerializedName("power") + @Expose + public com.google.gson.JsonElement power; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPpmtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPpmtBody.java index 3af747beeb4..1df74f52701 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPpmtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPpmtBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPpmtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ppmt Body. */ -public class WorkbookFunctionsPpmtBody extends BaseWorkbookFunctionsPpmtBody { +public class WorkbookFunctionsPpmtBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The per. + * + */ + @SerializedName("per") + @Expose + public com.google.gson.JsonElement per; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceBody.java index 93bd083120d..a9ad57658c7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceBody.java @@ -4,13 +4,114 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPriceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Body. */ -public class WorkbookFunctionsPriceBody extends BaseWorkbookFunctionsPriceBody { +public class WorkbookFunctionsPriceBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The yld. + * + */ + @SerializedName("yld") + @Expose + public com.google.gson.JsonElement yld; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceDiscBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceDiscBody.java index 7cfcbefa02a..4d0f41b220d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceDiscBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceDiscBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPriceDiscBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Disc Body. */ -public class WorkbookFunctionsPriceDiscBody extends BaseWorkbookFunctionsPriceDiscBody { +public class WorkbookFunctionsPriceDiscBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The discount. + * + */ + @SerializedName("discount") + @Expose + public com.google.gson.JsonElement discount; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceMatBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceMatBody.java index e899a3af8bb..8fba166f3ad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceMatBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPriceMatBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPriceMatBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Mat Body. */ -public class WorkbookFunctionsPriceMatBody extends BaseWorkbookFunctionsPriceMatBody { +public class WorkbookFunctionsPriceMatBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The issue. + * + */ + @SerializedName("issue") + @Expose + public com.google.gson.JsonElement issue; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The yld. + * + */ + @SerializedName("yld") + @Expose + public com.google.gson.JsonElement yld; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProductBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProductBody.java index cf8a6ced571..8a111c3a239 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProductBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProductBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsProductBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Product Body. */ -public class WorkbookFunctionsProductBody extends BaseWorkbookFunctionsProductBody { +public class WorkbookFunctionsProductBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProperBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProperBody.java index 6db1165319c..728da30e439 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProperBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsProperBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsProperBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Proper Body. */ -public class WorkbookFunctionsProperBody extends BaseWorkbookFunctionsProperBody { +public class WorkbookFunctionsProperBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPvBody.java index fac4fd6e73c..24a91297c54 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsPvBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsPvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pv Body. */ -public class WorkbookFunctionsPvBody extends BaseWorkbookFunctionsPvBody { +public class WorkbookFunctionsPvBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pmt. + * + */ + @SerializedName("pmt") + @Expose + public com.google.gson.JsonElement pmt; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_ExcBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_ExcBody.java index 27a3b6fa071..bd8b2a501ce 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_ExcBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_ExcBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsQuartile_ExcBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quartile_Exc Body. */ -public class WorkbookFunctionsQuartile_ExcBody extends BaseWorkbookFunctionsQuartile_ExcBody { +public class WorkbookFunctionsQuartile_ExcBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The quart. + * + */ + @SerializedName("quart") + @Expose + public com.google.gson.JsonElement quart; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_IncBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_IncBody.java index 346544c4c50..3a5996943c6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_IncBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuartile_IncBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsQuartile_IncBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quartile_Inc Body. */ -public class WorkbookFunctionsQuartile_IncBody extends BaseWorkbookFunctionsQuartile_IncBody { +public class WorkbookFunctionsQuartile_IncBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The quart. + * + */ + @SerializedName("quart") + @Expose + public com.google.gson.JsonElement quart; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuotientBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuotientBody.java index f8efaf2f293..38548b0c779 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuotientBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsQuotientBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsQuotientBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quotient Body. */ -public class WorkbookFunctionsQuotientBody extends BaseWorkbookFunctionsQuotientBody { +public class WorkbookFunctionsQuotientBody { + /** + * The numerator. + * + */ + @SerializedName("numerator") + @Expose + public com.google.gson.JsonElement numerator; + + /** + * The denominator. + * + */ + @SerializedName("denominator") + @Expose + public com.google.gson.JsonElement denominator; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRadiansBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRadiansBody.java index 967177bd022..f1992777522 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRadiansBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRadiansBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRadiansBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Radians Body. */ -public class WorkbookFunctionsRadiansBody extends BaseWorkbookFunctionsRadiansBody { +public class WorkbookFunctionsRadiansBody { + /** + * The angle. + * + */ + @SerializedName("angle") + @Expose + public com.google.gson.JsonElement angle; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRandBetweenBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRandBetweenBody.java index 59e01152c4c..a640c906391 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRandBetweenBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRandBetweenBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRandBetweenBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rand Between Body. */ -public class WorkbookFunctionsRandBetweenBody extends BaseWorkbookFunctionsRandBetweenBody { +public class WorkbookFunctionsRandBetweenBody { + /** + * The bottom. + * + */ + @SerializedName("bottom") + @Expose + public com.google.gson.JsonElement bottom; + + /** + * The top. + * + */ + @SerializedName("top") + @Expose + public com.google.gson.JsonElement top; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_AvgBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_AvgBody.java index d674b9876e9..d61ccb564f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_AvgBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_AvgBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRank_AvgBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rank_Avg Body. */ -public class WorkbookFunctionsRank_AvgBody extends BaseWorkbookFunctionsRank_AvgBody { +public class WorkbookFunctionsRank_AvgBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The ref. + * + */ + @SerializedName("ref") + @Expose + public com.google.gson.JsonElement ref; + + /** + * The order. + * + */ + @SerializedName("order") + @Expose + public com.google.gson.JsonElement order; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_EqBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_EqBody.java index 3bfe35de3ed..d6f617c45f9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_EqBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRank_EqBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRank_EqBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rank_Eq Body. */ -public class WorkbookFunctionsRank_EqBody extends BaseWorkbookFunctionsRank_EqBody { +public class WorkbookFunctionsRank_EqBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The ref. + * + */ + @SerializedName("ref") + @Expose + public com.google.gson.JsonElement ref; + + /** + * The order. + * + */ + @SerializedName("order") + @Expose + public com.google.gson.JsonElement order; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRateBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRateBody.java index c8aa5b5eb4c..a9696887303 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRateBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRateBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRateBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rate Body. */ -public class WorkbookFunctionsRateBody extends BaseWorkbookFunctionsRateBody { +public class WorkbookFunctionsRateBody { + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pmt. + * + */ + @SerializedName("pmt") + @Expose + public com.google.gson.JsonElement pmt; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + /** + * The type. + * + */ + @SerializedName("type") + @Expose + public com.google.gson.JsonElement type; + + /** + * The guess. + * + */ + @SerializedName("guess") + @Expose + public com.google.gson.JsonElement guess; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReceivedBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReceivedBody.java index c1757c8ac17..0465cb1abbe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReceivedBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReceivedBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsReceivedBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Received Body. */ -public class WorkbookFunctionsReceivedBody extends BaseWorkbookFunctionsReceivedBody { +public class WorkbookFunctionsReceivedBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The investment. + * + */ + @SerializedName("investment") + @Expose + public com.google.gson.JsonElement investment; + + /** + * The discount. + * + */ + @SerializedName("discount") + @Expose + public com.google.gson.JsonElement discount; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBBody.java index 17121a80836..5829944d54a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsReplaceBBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Replace BBody. */ -public class WorkbookFunctionsReplaceBBody extends BaseWorkbookFunctionsReplaceBBody { +public class WorkbookFunctionsReplaceBBody { + /** + * The old Text. + * + */ + @SerializedName("oldText") + @Expose + public com.google.gson.JsonElement oldText; + + /** + * The start Num. + * + */ + @SerializedName("startNum") + @Expose + public com.google.gson.JsonElement startNum; + + /** + * The num Bytes. + * + */ + @SerializedName("numBytes") + @Expose + public com.google.gson.JsonElement numBytes; + + /** + * The new Text. + * + */ + @SerializedName("newText") + @Expose + public com.google.gson.JsonElement newText; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBody.java index bb04d6a68e6..9e7a3af9f12 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReplaceBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsReplaceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Replace Body. */ -public class WorkbookFunctionsReplaceBody extends BaseWorkbookFunctionsReplaceBody { +public class WorkbookFunctionsReplaceBody { + /** + * The old Text. + * + */ + @SerializedName("oldText") + @Expose + public com.google.gson.JsonElement oldText; + + /** + * The start Num. + * + */ + @SerializedName("startNum") + @Expose + public com.google.gson.JsonElement startNum; + + /** + * The num Chars. + * + */ + @SerializedName("numChars") + @Expose + public com.google.gson.JsonElement numChars; + + /** + * The new Text. + * + */ + @SerializedName("newText") + @Expose + public com.google.gson.JsonElement newText; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReptBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReptBody.java index 7af24111a56..eee1aa9bb47 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReptBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsReptBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsReptBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rept Body. */ -public class WorkbookFunctionsReptBody extends BaseWorkbookFunctionsReptBody { +public class WorkbookFunctionsReptBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The number Times. + * + */ + @SerializedName("numberTimes") + @Expose + public com.google.gson.JsonElement numberTimes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightBody.java index 2a0d53d8809..65b22e1e52e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRightBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Right Body. */ -public class WorkbookFunctionsRightBody extends BaseWorkbookFunctionsRightBody { +public class WorkbookFunctionsRightBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The num Chars. + * + */ + @SerializedName("numChars") + @Expose + public com.google.gson.JsonElement numChars; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightbBody.java index 9e7661e0daa..916ccb315d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRightbBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRightbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rightb Body. */ -public class WorkbookFunctionsRightbBody extends BaseWorkbookFunctionsRightbBody { +public class WorkbookFunctionsRightbBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The num Bytes. + * + */ + @SerializedName("numBytes") + @Expose + public com.google.gson.JsonElement numBytes; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRomanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRomanBody.java index 4e4f98d8465..55b4074481c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRomanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRomanBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRomanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Roman Body. */ -public class WorkbookFunctionsRomanBody extends BaseWorkbookFunctionsRomanBody { +public class WorkbookFunctionsRomanBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The form. + * + */ + @SerializedName("form") + @Expose + public com.google.gson.JsonElement form; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundBody.java index 44c22f7a3e7..79a177a2539 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRoundBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Body. */ -public class WorkbookFunctionsRoundBody extends BaseWorkbookFunctionsRoundBody { +public class WorkbookFunctionsRoundBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The num Digits. + * + */ + @SerializedName("numDigits") + @Expose + public com.google.gson.JsonElement numDigits; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundDownBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundDownBody.java index ee2f99091b9..44d851210a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundDownBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundDownBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRoundDownBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Down Body. */ -public class WorkbookFunctionsRoundDownBody extends BaseWorkbookFunctionsRoundDownBody { +public class WorkbookFunctionsRoundDownBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The num Digits. + * + */ + @SerializedName("numDigits") + @Expose + public com.google.gson.JsonElement numDigits; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundUpBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundUpBody.java index 866ee826817..40e7b2ecd9b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundUpBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRoundUpBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRoundUpBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Up Body. */ -public class WorkbookFunctionsRoundUpBody extends BaseWorkbookFunctionsRoundUpBody { +public class WorkbookFunctionsRoundUpBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The num Digits. + * + */ + @SerializedName("numDigits") + @Expose + public com.google.gson.JsonElement numDigits; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRowsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRowsBody.java index e4ca6b7c3f9..4c6c196d600 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRowsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRowsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRowsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rows Body. */ -public class WorkbookFunctionsRowsBody extends BaseWorkbookFunctionsRowsBody { +public class WorkbookFunctionsRowsBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRriBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRriBody.java index 3e4a60bc011..5e9b2194a1e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRriBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsRriBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsRriBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rri Body. */ -public class WorkbookFunctionsRriBody extends BaseWorkbookFunctionsRriBody { +public class WorkbookFunctionsRriBody { + /** + * The nper. + * + */ + @SerializedName("nper") + @Expose + public com.google.gson.JsonElement nper; + + /** + * The pv. + * + */ + @SerializedName("pv") + @Expose + public com.google.gson.JsonElement pv; + + /** + * The fv. + * + */ + @SerializedName("fv") + @Expose + public com.google.gson.JsonElement fv; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecBody.java index 1f8f376ffab..35d784dfdb2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSecBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sec Body. */ -public class WorkbookFunctionsSecBody extends BaseWorkbookFunctionsSecBody { +public class WorkbookFunctionsSecBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSechBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSechBody.java index c5359c6e610..c226320711f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSechBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSechBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSechBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sech Body. */ -public class WorkbookFunctionsSechBody extends BaseWorkbookFunctionsSechBody { +public class WorkbookFunctionsSechBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecondBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecondBody.java index 48dfd398479..11d822f322b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecondBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSecondBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSecondBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Second Body. */ -public class WorkbookFunctionsSecondBody extends BaseWorkbookFunctionsSecondBody { +public class WorkbookFunctionsSecondBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSeriesSumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSeriesSumBody.java index 45efca1dee8..c000feaf937 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSeriesSumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSeriesSumBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSeriesSumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Series Sum Body. */ -public class WorkbookFunctionsSeriesSumBody extends BaseWorkbookFunctionsSeriesSumBody { +public class WorkbookFunctionsSeriesSumBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The n. + * + */ + @SerializedName("n") + @Expose + public com.google.gson.JsonElement n; + + /** + * The m. + * + */ + @SerializedName("m") + @Expose + public com.google.gson.JsonElement m; + + /** + * The coefficients. + * + */ + @SerializedName("coefficients") + @Expose + public com.google.gson.JsonElement coefficients; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetBody.java index cc4d17da3c3..c55a0a8fc1f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSheetBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sheet Body. */ -public class WorkbookFunctionsSheetBody extends BaseWorkbookFunctionsSheetBody { +public class WorkbookFunctionsSheetBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetsBody.java index 22f5575d08a..7db1c6ebf19 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSheetsBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSheetsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sheets Body. */ -public class WorkbookFunctionsSheetsBody extends BaseWorkbookFunctionsSheetsBody { +public class WorkbookFunctionsSheetsBody { + /** + * The reference. + * + */ + @SerializedName("reference") + @Expose + public com.google.gson.JsonElement reference; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSignBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSignBody.java index a95f7b0cb54..ce9e31f14dd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSignBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSignBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSignBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sign Body. */ -public class WorkbookFunctionsSignBody extends BaseWorkbookFunctionsSignBody { +public class WorkbookFunctionsSignBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinBody.java index 9136f3525f6..6d917f4ee3f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSinBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sin Body. */ -public class WorkbookFunctionsSinBody extends BaseWorkbookFunctionsSinBody { +public class WorkbookFunctionsSinBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinhBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinhBody.java index 1e1898f33bb..cc358e43849 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinhBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSinhBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSinhBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sinh Body. */ -public class WorkbookFunctionsSinhBody extends BaseWorkbookFunctionsSinhBody { +public class WorkbookFunctionsSinhBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkewBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkewBody.java index 6ff3a52495c..c400acc56a6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkewBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkewBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSkewBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Skew Body. */ -public class WorkbookFunctionsSkewBody extends BaseWorkbookFunctionsSkewBody { +public class WorkbookFunctionsSkewBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkew_pBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkew_pBody.java index d82d39828b3..eecaf84c0bf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkew_pBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSkew_pBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSkew_pBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Skew_p Body. */ -public class WorkbookFunctionsSkew_pBody extends BaseWorkbookFunctionsSkew_pBody { +public class WorkbookFunctionsSkew_pBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSlnBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSlnBody.java index 45c3a135caf..3da36f9198e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSlnBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSlnBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSlnBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sln Body. */ -public class WorkbookFunctionsSlnBody extends BaseWorkbookFunctionsSlnBody { +public class WorkbookFunctionsSlnBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The life. + * + */ + @SerializedName("life") + @Expose + public com.google.gson.JsonElement life; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSmallBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSmallBody.java index 367f6e1d7a7..1a2def3f9b3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSmallBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSmallBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSmallBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Small Body. */ -public class WorkbookFunctionsSmallBody extends BaseWorkbookFunctionsSmallBody { +public class WorkbookFunctionsSmallBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The k. + * + */ + @SerializedName("k") + @Expose + public com.google.gson.JsonElement k; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtBody.java index 5ca090e21e8..17ac0285840 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSqrtBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sqrt Body. */ -public class WorkbookFunctionsSqrtBody extends BaseWorkbookFunctionsSqrtBody { +public class WorkbookFunctionsSqrtBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtPiBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtPiBody.java index 03a9d2294a1..849e9700545 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtPiBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSqrtPiBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSqrtPiBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sqrt Pi Body. */ -public class WorkbookFunctionsSqrtPiBody extends BaseWorkbookFunctionsSqrtPiBody { +public class WorkbookFunctionsSqrtPiBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevABody.java index 396001a42c6..7c7878b985b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsStDevABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev ABody. */ -public class WorkbookFunctionsStDevABody extends BaseWorkbookFunctionsStDevABody { +public class WorkbookFunctionsStDevABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevPABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevPABody.java index 5983a7a2606..61d72af7de9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevPABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDevPABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsStDevPABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev PABody. */ -public class WorkbookFunctionsStDevPABody extends BaseWorkbookFunctionsStDevPABody { +public class WorkbookFunctionsStDevPABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_PBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_PBody.java index 585dc6e6dad..e35e9001a9a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_PBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_PBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsStDev_PBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev_PBody. */ -public class WorkbookFunctionsStDev_PBody extends BaseWorkbookFunctionsStDev_PBody { +public class WorkbookFunctionsStDev_PBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_SBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_SBody.java index 73d3b7cc115..7f71b2a964a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_SBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStDev_SBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsStDev_SBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev_SBody. */ -public class WorkbookFunctionsStDev_SBody extends BaseWorkbookFunctionsStDev_SBody { +public class WorkbookFunctionsStDev_SBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStandardizeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStandardizeBody.java index f3a45209e79..1170176b8fe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStandardizeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsStandardizeBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsStandardizeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Standardize Body. */ -public class WorkbookFunctionsStandardizeBody extends BaseWorkbookFunctionsStandardizeBody { +public class WorkbookFunctionsStandardizeBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The mean. + * + */ + @SerializedName("mean") + @Expose + public com.google.gson.JsonElement mean; + + /** + * The standard Dev. + * + */ + @SerializedName("standardDev") + @Expose + public com.google.gson.JsonElement standardDev; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubstituteBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubstituteBody.java index 4a51b35e2d1..5f26273a92a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubstituteBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubstituteBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSubstituteBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Substitute Body. */ -public class WorkbookFunctionsSubstituteBody extends BaseWorkbookFunctionsSubstituteBody { +public class WorkbookFunctionsSubstituteBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The old Text. + * + */ + @SerializedName("oldText") + @Expose + public com.google.gson.JsonElement oldText; + + /** + * The new Text. + * + */ + @SerializedName("newText") + @Expose + public com.google.gson.JsonElement newText; + + /** + * The instance Num. + * + */ + @SerializedName("instanceNum") + @Expose + public com.google.gson.JsonElement instanceNum; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubtotalBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubtotalBody.java index d23683025fa..8d77c9c476e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubtotalBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSubtotalBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSubtotalBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Subtotal Body. */ -public class WorkbookFunctionsSubtotalBody extends BaseWorkbookFunctionsSubtotalBody { +public class WorkbookFunctionsSubtotalBody { + /** + * The function Num. + * + */ + @SerializedName("functionNum") + @Expose + public com.google.gson.JsonElement functionNum; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumBody.java index 172f790b20c..991150b0921 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Body. */ -public class WorkbookFunctionsSumBody extends BaseWorkbookFunctionsSumBody { +public class WorkbookFunctionsSumBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfBody.java index ed199bd3ba5..b301234b8ca 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSumIfBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum If Body. */ -public class WorkbookFunctionsSumIfBody extends BaseWorkbookFunctionsSumIfBody { +public class WorkbookFunctionsSumIfBody { + /** + * The range. + * + */ + @SerializedName("range") + @Expose + public com.google.gson.JsonElement range; + + /** + * The criteria. + * + */ + @SerializedName("criteria") + @Expose + public com.google.gson.JsonElement criteria; + + /** + * The sum Range. + * + */ + @SerializedName("sumRange") + @Expose + public com.google.gson.JsonElement sumRange; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfsBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfsBody.java index 0e7c7dab05a..5193d950b70 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfsBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumIfsBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSumIfsBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Ifs Body. */ -public class WorkbookFunctionsSumIfsBody extends BaseWorkbookFunctionsSumIfsBody { +public class WorkbookFunctionsSumIfsBody { + /** + * The sum Range. + * + */ + @SerializedName("sumRange") + @Expose + public com.google.gson.JsonElement sumRange; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumSqBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumSqBody.java index e1753cdca3c..14ca4bf1322 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumSqBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSumSqBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSumSqBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Sq Body. */ -public class WorkbookFunctionsSumSqBody extends BaseWorkbookFunctionsSumSqBody { +public class WorkbookFunctionsSumSqBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSydBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSydBody.java index edab7e4e6ed..54024863a89 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSydBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsSydBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsSydBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Syd Body. */ -public class WorkbookFunctionsSydBody extends BaseWorkbookFunctionsSydBody { +public class WorkbookFunctionsSydBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The life. + * + */ + @SerializedName("life") + @Expose + public com.google.gson.JsonElement life; + + /** + * The per. + * + */ + @SerializedName("per") + @Expose + public com.google.gson.JsonElement per; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTBody.java index 0a3e189725c..9ce5f95cfc5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions TBody. */ -public class WorkbookFunctionsTBody extends BaseWorkbookFunctionsTBody { +public class WorkbookFunctionsTBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_DistBody.java index 3b576e43fa7..3ce4af4c72f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_DistBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsT_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist Body. */ -public class WorkbookFunctionsT_DistBody extends BaseWorkbookFunctionsT_DistBody { +public class WorkbookFunctionsT_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_2TBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_2TBody.java index a14d5435689..da2261e2149 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_2TBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_2TBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsT_Dist_2TBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist_2TBody. */ -public class WorkbookFunctionsT_Dist_2TBody extends BaseWorkbookFunctionsT_Dist_2TBody { +public class WorkbookFunctionsT_Dist_2TBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_RTBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_RTBody.java index 91b6bfe011a..51f6d5bd90f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_RTBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Dist_RTBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsT_Dist_RTBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist_RTBody. */ -public class WorkbookFunctionsT_Dist_RTBody extends BaseWorkbookFunctionsT_Dist_RTBody { +public class WorkbookFunctionsT_Dist_RTBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_InvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_InvBody.java index 11311ba1005..f571445ee89 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_InvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_InvBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsT_InvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Inv Body. */ -public class WorkbookFunctionsT_InvBody extends BaseWorkbookFunctionsT_InvBody { +public class WorkbookFunctionsT_InvBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Inv_2TBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Inv_2TBody.java index 95057591327..ef05b8346d1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Inv_2TBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsT_Inv_2TBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsT_Inv_2TBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Inv_2TBody. */ -public class WorkbookFunctionsT_Inv_2TBody extends BaseWorkbookFunctionsT_Inv_2TBody { +public class WorkbookFunctionsT_Inv_2TBody { + /** + * The probability. + * + */ + @SerializedName("probability") + @Expose + public com.google.gson.JsonElement probability; + + /** + * The deg Freedom. + * + */ + @SerializedName("degFreedom") + @Expose + public com.google.gson.JsonElement degFreedom; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanBody.java index 6c7032d34d7..4a0bb64d8ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tan Body. */ -public class WorkbookFunctionsTanBody extends BaseWorkbookFunctionsTanBody { +public class WorkbookFunctionsTanBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanhBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanhBody.java index 802bca14e95..9af9466f93f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanhBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTanhBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTanhBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tanh Body. */ -public class WorkbookFunctionsTanhBody extends BaseWorkbookFunctionsTanhBody { +public class WorkbookFunctionsTanhBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillEqBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillEqBody.java index 9399b05eec3..b5d0970a923 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillEqBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillEqBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTbillEqBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Eq Body. */ -public class WorkbookFunctionsTbillEqBody extends BaseWorkbookFunctionsTbillEqBody { +public class WorkbookFunctionsTbillEqBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The discount. + * + */ + @SerializedName("discount") + @Expose + public com.google.gson.JsonElement discount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillPriceBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillPriceBody.java index 7b0672e072a..831263cb898 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillPriceBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillPriceBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTbillPriceBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Price Body. */ -public class WorkbookFunctionsTbillPriceBody extends BaseWorkbookFunctionsTbillPriceBody { +public class WorkbookFunctionsTbillPriceBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The discount. + * + */ + @SerializedName("discount") + @Expose + public com.google.gson.JsonElement discount; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillYieldBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillYieldBody.java index aa2825b36e0..26778e64867 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillYieldBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTbillYieldBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTbillYieldBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Yield Body. */ -public class WorkbookFunctionsTbillYieldBody extends BaseWorkbookFunctionsTbillYieldBody { +public class WorkbookFunctionsTbillYieldBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTextBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTextBody.java index ef3277c4a2a..444445ca91c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTextBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTextBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTextBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Text Body. */ -public class WorkbookFunctionsTextBody extends BaseWorkbookFunctionsTextBody { +public class WorkbookFunctionsTextBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + /** + * The format Text. + * + */ + @SerializedName("formatText") + @Expose + public com.google.gson.JsonElement formatText; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimeBody.java index aa18aee0a32..b548a7c1535 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimeBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTimeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Time Body. */ -public class WorkbookFunctionsTimeBody extends BaseWorkbookFunctionsTimeBody { +public class WorkbookFunctionsTimeBody { + /** + * The hour. + * + */ + @SerializedName("hour") + @Expose + public com.google.gson.JsonElement hour; + + /** + * The minute. + * + */ + @SerializedName("minute") + @Expose + public com.google.gson.JsonElement minute; + + /** + * The second. + * + */ + @SerializedName("second") + @Expose + public com.google.gson.JsonElement second; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimevalueBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimevalueBody.java index 7617a0b342d..bb27c32d601 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimevalueBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTimevalueBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTimevalueBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Timevalue Body. */ -public class WorkbookFunctionsTimevalueBody extends BaseWorkbookFunctionsTimevalueBody { +public class WorkbookFunctionsTimevalueBody { + /** + * The time Text. + * + */ + @SerializedName("timeText") + @Expose + public com.google.gson.JsonElement timeText; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimBody.java index 97cd1887342..c11cfdf1a70 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTrimBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trim Body. */ -public class WorkbookFunctionsTrimBody extends BaseWorkbookFunctionsTrimBody { +public class WorkbookFunctionsTrimBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimMeanBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimMeanBody.java index 153e0d5f238..3856b64aa5d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimMeanBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTrimMeanBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTrimMeanBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trim Mean Body. */ -public class WorkbookFunctionsTrimMeanBody extends BaseWorkbookFunctionsTrimMeanBody { +public class WorkbookFunctionsTrimMeanBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The percent. + * + */ + @SerializedName("percent") + @Expose + public com.google.gson.JsonElement percent; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTruncBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTruncBody.java index c2ad00c6109..4973e70b9d2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTruncBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTruncBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTruncBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trunc Body. */ -public class WorkbookFunctionsTruncBody extends BaseWorkbookFunctionsTruncBody { +public class WorkbookFunctionsTruncBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The num Digits. + * + */ + @SerializedName("numDigits") + @Expose + public com.google.gson.JsonElement numDigits; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTypeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTypeBody.java index a1531cf644f..f8461c8cf70 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTypeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsTypeBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsTypeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Type Body. */ -public class WorkbookFunctionsTypeBody extends BaseWorkbookFunctionsTypeBody { +public class WorkbookFunctionsTypeBody { + /** + * The value. + * + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicharBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicharBody.java index e5c98694c18..fdd6ca1ceb9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicharBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicharBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsUnicharBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Unichar Body. */ -public class WorkbookFunctionsUnicharBody extends BaseWorkbookFunctionsUnicharBody { +public class WorkbookFunctionsUnicharBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicodeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicodeBody.java index d5c102399c5..032e3a4cada 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicodeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUnicodeBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsUnicodeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Unicode Body. */ -public class WorkbookFunctionsUnicodeBody extends BaseWorkbookFunctionsUnicodeBody { +public class WorkbookFunctionsUnicodeBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUpperBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUpperBody.java index 11e292c177b..ddd1e40fb06 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUpperBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUpperBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsUpperBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Upper Body. */ -public class WorkbookFunctionsUpperBody extends BaseWorkbookFunctionsUpperBody { +public class WorkbookFunctionsUpperBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUsdollarBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUsdollarBody.java index a510aa0a799..cd89ff07763 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUsdollarBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsUsdollarBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsUsdollarBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Usdollar Body. */ -public class WorkbookFunctionsUsdollarBody extends BaseWorkbookFunctionsUsdollarBody { +public class WorkbookFunctionsUsdollarBody { + /** + * The number. + * + */ + @SerializedName("number") + @Expose + public com.google.gson.JsonElement number; + + /** + * The decimals. + * + */ + @SerializedName("decimals") + @Expose + public com.google.gson.JsonElement decimals; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsValueBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsValueBody.java index 2030a4c0f35..a622e51bc38 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsValueBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsValueBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsValueBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Value Body. */ -public class WorkbookFunctionsValueBody extends BaseWorkbookFunctionsValueBody { +public class WorkbookFunctionsValueBody { + /** + * The text. + * + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarABody.java index 77f4bd6597b..d4206f94bfb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsVarABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var ABody. */ -public class WorkbookFunctionsVarABody extends BaseWorkbookFunctionsVarABody { +public class WorkbookFunctionsVarABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarPABody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarPABody.java index 89f2efd47e1..3c561cf09e5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarPABody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVarPABody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsVarPABody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var PABody. */ -public class WorkbookFunctionsVarPABody extends BaseWorkbookFunctionsVarPABody { +public class WorkbookFunctionsVarPABody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_PBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_PBody.java index 0c3926ca241..4358c9b0743 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_PBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_PBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsVar_PBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var_PBody. */ -public class WorkbookFunctionsVar_PBody extends BaseWorkbookFunctionsVar_PBody { +public class WorkbookFunctionsVar_PBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_SBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_SBody.java index b3bd6cebfe9..1d0d272418c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_SBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVar_SBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsVar_SBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var_SBody. */ -public class WorkbookFunctionsVar_SBody extends BaseWorkbookFunctionsVar_SBody { +public class WorkbookFunctionsVar_SBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVdbBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVdbBody.java index 158425b6f68..734e45cbcd4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVdbBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVdbBody.java @@ -4,13 +4,114 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsVdbBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Vdb Body. */ -public class WorkbookFunctionsVdbBody extends BaseWorkbookFunctionsVdbBody { +public class WorkbookFunctionsVdbBody { + /** + * The cost. + * + */ + @SerializedName("cost") + @Expose + public com.google.gson.JsonElement cost; + + /** + * The salvage. + * + */ + @SerializedName("salvage") + @Expose + public com.google.gson.JsonElement salvage; + + /** + * The life. + * + */ + @SerializedName("life") + @Expose + public com.google.gson.JsonElement life; + + /** + * The start Period. + * + */ + @SerializedName("startPeriod") + @Expose + public com.google.gson.JsonElement startPeriod; + + /** + * The end Period. + * + */ + @SerializedName("endPeriod") + @Expose + public com.google.gson.JsonElement endPeriod; + + /** + * The factor. + * + */ + @SerializedName("factor") + @Expose + public com.google.gson.JsonElement factor; + + /** + * The no Switch. + * + */ + @SerializedName("noSwitch") + @Expose + public com.google.gson.JsonElement noSwitch; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVlookupBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVlookupBody.java index 561c4be5f90..acd7a4eb348 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVlookupBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsVlookupBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsVlookupBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Vlookup Body. */ -public class WorkbookFunctionsVlookupBody extends BaseWorkbookFunctionsVlookupBody { +public class WorkbookFunctionsVlookupBody { + /** + * The lookup Value. + * + */ + @SerializedName("lookupValue") + @Expose + public com.google.gson.JsonElement lookupValue; + + /** + * The table Array. + * + */ + @SerializedName("tableArray") + @Expose + public com.google.gson.JsonElement tableArray; + + /** + * The col Index Num. + * + */ + @SerializedName("colIndexNum") + @Expose + public com.google.gson.JsonElement colIndexNum; + + /** + * The range Lookup. + * + */ + @SerializedName("rangeLookup") + @Expose + public com.google.gson.JsonElement rangeLookup; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekNumBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekNumBody.java index efaa3a85b6a..0fe5ec6d9bf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekNumBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekNumBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsWeekNumBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Week Num Body. */ -public class WorkbookFunctionsWeekNumBody extends BaseWorkbookFunctionsWeekNumBody { +public class WorkbookFunctionsWeekNumBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + /** + * The return Type. + * + */ + @SerializedName("returnType") + @Expose + public com.google.gson.JsonElement returnType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekdayBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekdayBody.java index 0d3b33c6717..5bc62a74dcc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekdayBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeekdayBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsWeekdayBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Weekday Body. */ -public class WorkbookFunctionsWeekdayBody extends BaseWorkbookFunctionsWeekdayBody { +public class WorkbookFunctionsWeekdayBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + /** + * The return Type. + * + */ + @SerializedName("returnType") + @Expose + public com.google.gson.JsonElement returnType; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeibull_DistBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeibull_DistBody.java index ec4981e687e..bc6ae850764 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeibull_DistBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWeibull_DistBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsWeibull_DistBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Weibull_Dist Body. */ -public class WorkbookFunctionsWeibull_DistBody extends BaseWorkbookFunctionsWeibull_DistBody { +public class WorkbookFunctionsWeibull_DistBody { + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The alpha. + * + */ + @SerializedName("alpha") + @Expose + public com.google.gson.JsonElement alpha; + + /** + * The beta. + * + */ + @SerializedName("beta") + @Expose + public com.google.gson.JsonElement beta; + + /** + * The cumulative. + * + */ + @SerializedName("cumulative") + @Expose + public com.google.gson.JsonElement cumulative; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDayBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDayBody.java index 477afa03cca..b77d70c2c0d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDayBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDayBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsWorkDayBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Work Day Body. */ -public class WorkbookFunctionsWorkDayBody extends BaseWorkbookFunctionsWorkDayBody { +public class WorkbookFunctionsWorkDayBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The days. + * + */ + @SerializedName("days") + @Expose + public com.google.gson.JsonElement days; + + /** + * The holidays. + * + */ + @SerializedName("holidays") + @Expose + public com.google.gson.JsonElement holidays; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDay_IntlBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDay_IntlBody.java index dd0d416e6cf..3c19c0fafa2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDay_IntlBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsWorkDay_IntlBody.java @@ -4,13 +4,90 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsWorkDay_IntlBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Work Day_Intl Body. */ -public class WorkbookFunctionsWorkDay_IntlBody extends BaseWorkbookFunctionsWorkDay_IntlBody { +public class WorkbookFunctionsWorkDay_IntlBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The days. + * + */ + @SerializedName("days") + @Expose + public com.google.gson.JsonElement days; + + /** + * The weekend. + * + */ + @SerializedName("weekend") + @Expose + public com.google.gson.JsonElement weekend; + + /** + * The holidays. + * + */ + @SerializedName("holidays") + @Expose + public com.google.gson.JsonElement holidays; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXirrBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXirrBody.java index 2a0e4d0b159..4af6c0179df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXirrBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXirrBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsXirrBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xirr Body. */ -public class WorkbookFunctionsXirrBody extends BaseWorkbookFunctionsXirrBody { +public class WorkbookFunctionsXirrBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The dates. + * + */ + @SerializedName("dates") + @Expose + public com.google.gson.JsonElement dates; + + /** + * The guess. + * + */ + @SerializedName("guess") + @Expose + public com.google.gson.JsonElement guess; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXnpvBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXnpvBody.java index f1016e09db4..d2dd9e1948f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXnpvBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXnpvBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsXnpvBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xnpv Body. */ -public class WorkbookFunctionsXnpvBody extends BaseWorkbookFunctionsXnpvBody { +public class WorkbookFunctionsXnpvBody { + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The dates. + * + */ + @SerializedName("dates") + @Expose + public com.google.gson.JsonElement dates; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXorBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXorBody.java index 9004032ced9..ecf6c256dc7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXorBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsXorBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsXorBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xor Body. */ -public class WorkbookFunctionsXorBody extends BaseWorkbookFunctionsXorBody { +public class WorkbookFunctionsXorBody { + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearBody.java index 3235493a2dc..3bfa9ec7465 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsYearBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Year Body. */ -public class WorkbookFunctionsYearBody extends BaseWorkbookFunctionsYearBody { +public class WorkbookFunctionsYearBody { + /** + * The serial Number. + * + */ + @SerializedName("serialNumber") + @Expose + public com.google.gson.JsonElement serialNumber; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearFracBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearFracBody.java index 4440aba767a..f2b89c5a7ec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearFracBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYearFracBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsYearFracBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Year Frac Body. */ -public class WorkbookFunctionsYearFracBody extends BaseWorkbookFunctionsYearFracBody { +public class WorkbookFunctionsYearFracBody { + /** + * The start Date. + * + */ + @SerializedName("startDate") + @Expose + public com.google.gson.JsonElement startDate; + + /** + * The end Date. + * + */ + @SerializedName("endDate") + @Expose + public com.google.gson.JsonElement endDate; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldBody.java index 65424d8b393..cce8f89b9eb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldBody.java @@ -4,13 +4,114 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsYieldBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Body. */ -public class WorkbookFunctionsYieldBody extends BaseWorkbookFunctionsYieldBody { +public class WorkbookFunctionsYieldBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The frequency. + * + */ + @SerializedName("frequency") + @Expose + public com.google.gson.JsonElement frequency; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldDiscBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldDiscBody.java index d5f71868781..9a773e166c9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldDiscBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldDiscBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsYieldDiscBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Disc Body. */ -public class WorkbookFunctionsYieldDiscBody extends BaseWorkbookFunctionsYieldDiscBody { +public class WorkbookFunctionsYieldDiscBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + /** + * The redemption. + * + */ + @SerializedName("redemption") + @Expose + public com.google.gson.JsonElement redemption; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldMatBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldMatBody.java index 9be674560a2..ca369770e58 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldMatBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsYieldMatBody.java @@ -4,13 +4,106 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsYieldMatBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Mat Body. */ -public class WorkbookFunctionsYieldMatBody extends BaseWorkbookFunctionsYieldMatBody { +public class WorkbookFunctionsYieldMatBody { + /** + * The settlement. + * + */ + @SerializedName("settlement") + @Expose + public com.google.gson.JsonElement settlement; + + /** + * The maturity. + * + */ + @SerializedName("maturity") + @Expose + public com.google.gson.JsonElement maturity; + + /** + * The issue. + * + */ + @SerializedName("issue") + @Expose + public com.google.gson.JsonElement issue; + + /** + * The rate. + * + */ + @SerializedName("rate") + @Expose + public com.google.gson.JsonElement rate; + + /** + * The pr. + * + */ + @SerializedName("pr") + @Expose + public com.google.gson.JsonElement pr; + + /** + * The basis. + * + */ + @SerializedName("basis") + @Expose + public com.google.gson.JsonElement basis; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsZ_TestBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsZ_TestBody.java index 6d08e82620b..3d61df1fff8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsZ_TestBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookFunctionsZ_TestBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookFunctionsZ_TestBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Z_Test Body. */ -public class WorkbookFunctionsZ_TestBody extends BaseWorkbookFunctionsZ_TestBody { +public class WorkbookFunctionsZ_TestBody { + /** + * The array. + * + */ + @SerializedName("array") + @Expose + public com.google.gson.JsonElement array; + + /** + * The x. + * + */ + @SerializedName("x") + @Expose + public com.google.gson.JsonElement x; + + /** + * The sigma. + * + */ + @SerializedName("sigma") + @Expose + public com.google.gson.JsonElement sigma; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookIcon.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookIcon.java index 1e2fd648e22..99167f3ff67 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookIcon.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookIcon.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWorkbookIcon; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Icon. */ -public class WorkbookIcon extends BaseWorkbookIcon { +public class WorkbookIcon implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Index. + * Represents the index of the icon in the given set. + */ + @SerializedName("index") + @Expose + public Integer index; + + /** + * The Set. + * 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. + */ + @SerializedName("set") + @Expose + public String set; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItem.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItem.java index 1d85fd673f9..2ff6fee6eaa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItem.java @@ -3,14 +3,125 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookNamedItem; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item. */ -public class WorkbookNamedItem extends BaseWorkbookNamedItem { +public class WorkbookNamedItem extends Entity implements IJsonBackedObject { + + + /** + * The Comment. + * Represents the comment associated with this name. + */ + @SerializedName("comment") + @Expose + public String comment; + + /** + * The Name. + * The name of the object. Read-only. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Scope. + * Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only. + */ + @SerializedName("scope") + @Expose + public String scope; + + /** + * The Type. + * Indicates what type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only. + */ + @SerializedName("type") + @Expose + public String type; + + /** + * The Value. + * Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + */ + @SerializedName("value") + @Expose + public com.google.gson.JsonElement value; + + /** + * The Visible. + * Specifies whether the object is visible or not. + */ + @SerializedName("visible") + @Expose + public Boolean visible; + + /** + * The Worksheet. + * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + */ + @SerializedName("worksheet") + @Expose + public WorkbookWorksheet worksheet; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddBody.java index 06bb39db145..2e47bb1e239 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookNamedItemAddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Add Body. */ -public class WorkbookNamedItemAddBody extends BaseWorkbookNamedItemAddBody { +public class WorkbookNamedItemAddBody { + /** + * The name. + * + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The reference. + * + */ + @SerializedName("reference") + @Expose + public com.google.gson.JsonElement reference; + + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddFormulaLocalBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddFormulaLocalBody.java index 1f80d789a9a..413fa514b26 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddFormulaLocalBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookNamedItemAddFormulaLocalBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookNamedItemAddFormulaLocalBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Add Formula Local Body. */ -public class WorkbookNamedItemAddFormulaLocalBody extends BaseWorkbookNamedItemAddFormulaLocalBody { +public class WorkbookNamedItemAddFormulaLocalBody { + /** + * The name. + * + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The formula. + * + */ + @SerializedName("formula") + @Expose + public String formula; + + /** + * The comment. + * + */ + @SerializedName("comment") + @Expose + public String comment; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookPivotTable.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookPivotTable.java index d243eee5a18..0e692cfb7a4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookPivotTable.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookPivotTable.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookPivotTable; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table. */ -public class WorkbookPivotTable extends BaseWorkbookPivotTable { +public class WorkbookPivotTable extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * Name of the PivotTable. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Worksheet. + * The worksheet containing the current PivotTable. Read-only. + */ + @SerializedName("worksheet") + @Expose + public WorkbookWorksheet worksheet; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookProcessQueryBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookProcessQueryBody.java index e9dabcc97dc..45a5c3c98a8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookProcessQueryBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookProcessQueryBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookProcessQueryBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Process Query Body. */ -public class WorkbookProcessQueryBody extends BaseWorkbookProcessQueryBody { +public class WorkbookProcessQueryBody { + /** + * The input. + * + */ + @SerializedName("input") + @Expose + public byte[] input; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRange.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRange.java index 98451b4e8e1..a1717344f40 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRange.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRange.java @@ -3,14 +3,231 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookRangeFormat; +import com.microsoft.graph.models.extensions.WorkbookRangeSort; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookRange; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range. */ -public class WorkbookRange extends BaseWorkbookRange { +public class WorkbookRange extends Entity implements IJsonBackedObject { + + + /** + * The Address. + * Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. + */ + @SerializedName("address") + @Expose + public String address; + + /** + * The Address Local. + * Represents range reference for the specified range in the language of the user. Read-only. + */ + @SerializedName("addressLocal") + @Expose + public String addressLocal; + + /** + * The Cell Count. + * Number of cells in the range. Read-only. + */ + @SerializedName("cellCount") + @Expose + public Integer cellCount; + + /** + * The Column Count. + * Represents the total number of columns in the range. Read-only. + */ + @SerializedName("columnCount") + @Expose + public Integer columnCount; + + /** + * The Column Hidden. + * Represents if all columns of the current range are hidden. + */ + @SerializedName("columnHidden") + @Expose + public Boolean columnHidden; + + /** + * The Column Index. + * Represents the column number of the first cell in the range. Zero-indexed. Read-only. + */ + @SerializedName("columnIndex") + @Expose + public Integer columnIndex; + + /** + * The Formulas. + * Represents the formula in A1-style notation. + */ + @SerializedName("formulas") + @Expose + public com.google.gson.JsonElement formulas; + + /** + * The Formulas Local. + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + */ + @SerializedName("formulasLocal") + @Expose + public com.google.gson.JsonElement formulasLocal; + + /** + * The Formulas R1C1. + * Represents the formula in R1C1-style notation. + */ + @SerializedName("formulasR1C1") + @Expose + public com.google.gson.JsonElement formulasR1C1; + + /** + * The Hidden. + * Represents if all cells of the current range are hidden. Read-only. + */ + @SerializedName("hidden") + @Expose + public Boolean hidden; + + /** + * The Number Format. + * Represents Excel's number format code for the given cell. + */ + @SerializedName("numberFormat") + @Expose + public com.google.gson.JsonElement numberFormat; + + /** + * The Row Count. + * Returns the total number of rows in the range. Read-only. + */ + @SerializedName("rowCount") + @Expose + public Integer rowCount; + + /** + * The Row Hidden. + * Represents if all rows of the current range are hidden. + */ + @SerializedName("rowHidden") + @Expose + public Boolean rowHidden; + + /** + * The Row Index. + * Returns the row number of the first cell in the range. Zero-indexed. Read-only. + */ + @SerializedName("rowIndex") + @Expose + public Integer rowIndex; + + /** + * The Text. + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The Value Types. + * Represents the type of data of each cell. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. + */ + @SerializedName("valueTypes") + @Expose + public com.google.gson.JsonElement valueTypes; + + /** + * The Values. + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The Format. + * Returns a format object, encapsulating the range's font, fill, borders, alignment, and other properties. Read-only. + */ + @SerializedName("format") + @Expose + public WorkbookRangeFormat format; + + /** + * The Sort. + * The worksheet containing the current range. Read-only. + */ + @SerializedName("sort") + @Expose + public WorkbookRangeSort sort; + + /** + * The Worksheet. + * The worksheet containing the current range. Read-only. + */ + @SerializedName("worksheet") + @Expose + public WorkbookWorksheet worksheet; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeBorder.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeBorder.java index 83f564b49a1..0d0b0abc645 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeBorder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeBorder.java @@ -3,14 +3,100 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookRangeBorder; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border. */ -public class WorkbookRangeBorder extends BaseWorkbookRangeBorder { +public class WorkbookRangeBorder extends Entity implements IJsonBackedObject { + + + /** + * The Color. + * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). + */ + @SerializedName("color") + @Expose + public String color; + + /** + * The Side Index. + * Constant value that indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + */ + @SerializedName("sideIndex") + @Expose + public String sideIndex; + + /** + * The Style. + * 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. + */ + @SerializedName("style") + @Expose + public String style; + + /** + * The Weight. + * Specifies the weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick. + */ + @SerializedName("weight") + @Expose + public String weight; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeClearBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeClearBody.java index 98bd45d9c60..1e63fc973e7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeClearBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeClearBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookRangeClearBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Clear Body. */ -public class WorkbookRangeClearBody extends BaseWorkbookRangeClearBody { +public class WorkbookRangeClearBody { + /** + * The apply To. + * + */ + @SerializedName("applyTo") + @Expose + public String applyTo; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeDeleteBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeDeleteBody.java index 5f95aa6595e..0f7309b712c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeDeleteBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeDeleteBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookRangeDeleteBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Delete Body. */ -public class WorkbookRangeDeleteBody extends BaseWorkbookRangeDeleteBody { +public class WorkbookRangeDeleteBody { + /** + * The shift. + * + */ + @SerializedName("shift") + @Expose + public String shift; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFill.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFill.java index ee647cefa6b..be0e8d3ff18 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFill.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFill.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookRangeFill; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Fill. */ -public class WorkbookRangeFill extends BaseWorkbookRangeFill { +public class WorkbookRangeFill extends Entity implements IJsonBackedObject { + + + /** + * The Color. + * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange') + */ + @SerializedName("color") + @Expose + public String color; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFont.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFont.java index 619a45fbc24..fa0eec4ed83 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFont.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFont.java @@ -3,14 +3,116 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookRangeFont; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Font. */ -public class WorkbookRangeFont extends BaseWorkbookRangeFont { +public class WorkbookRangeFont extends Entity implements IJsonBackedObject { + + + /** + * The Bold. + * Represents the bold status of font. + */ + @SerializedName("bold") + @Expose + public Boolean bold; + + /** + * The Color. + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + */ + @SerializedName("color") + @Expose + public String color; + + /** + * The Italic. + * Represents the italic status of the font. + */ + @SerializedName("italic") + @Expose + public Boolean italic; + + /** + * The Name. + * Font name (e.g. 'Calibri') + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Size. + * Font size. + */ + @SerializedName("size") + @Expose + public Double size; + + /** + * The Underline. + * Type of underline applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + */ + @SerializedName("underline") + @Expose + public String underline; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFormat.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFormat.java index 475d8c5cc88..366e0386f43 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeFormat.java @@ -3,14 +3,160 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; +import com.microsoft.graph.models.extensions.WorkbookRangeFill; +import com.microsoft.graph.models.extensions.WorkbookRangeFont; +import com.microsoft.graph.models.extensions.WorkbookFormatProtection; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbookRangeFormat; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format. */ -public class WorkbookRangeFormat extends BaseWorkbookRangeFormat { +public class WorkbookRangeFormat extends Entity implements IJsonBackedObject { + + + /** + * The Column Width. + * Gets or sets the width of all colums within the range. If the column widths are not uniform, null will be returned. + */ + @SerializedName("columnWidth") + @Expose + public Double columnWidth; + + /** + * The Horizontal Alignment. + * Represents the horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + */ + @SerializedName("horizontalAlignment") + @Expose + public String horizontalAlignment; + + /** + * The Row Height. + * Gets or sets the height of all rows in the range. If the row heights are not uniform null will be returned. + */ + @SerializedName("rowHeight") + @Expose + public Double rowHeight; + + /** + * The Vertical Alignment. + * Represents the vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. + */ + @SerializedName("verticalAlignment") + @Expose + public String verticalAlignment; + + /** + * The Wrap Text. + * Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + */ + @SerializedName("wrapText") + @Expose + public Boolean wrapText; + + /** + * The Borders. + * Collection of border objects that apply to the overall range selected Read-only. + */ + public WorkbookRangeBorderCollectionPage borders; + + /** + * The Fill. + * Returns the fill object defined on the overall range. Read-only. + */ + @SerializedName("fill") + @Expose + public WorkbookRangeFill fill; + + /** + * The Font. + * Returns the font object defined on the overall range selected Read-only. + */ + @SerializedName("font") + @Expose + public WorkbookRangeFont font; + + /** + * The Protection. + * Returns the format protection object for a range. Read-only. + */ + @SerializedName("protection") + @Expose + public WorkbookFormatProtection protection; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("borders")) { + final WorkbookRangeBorderCollectionResponse response = new WorkbookRangeBorderCollectionResponse(); + if (json.has("borders@odata.nextLink")) { + response.nextLink = json.get("borders@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("borders").toString(), JsonObject[].class); + final WorkbookRangeBorder[] array = new WorkbookRangeBorder[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookRangeBorder.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + borders = new WorkbookRangeBorderCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeInsertBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeInsertBody.java index 0f558393c3d..573fc8f4fd4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeInsertBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeInsertBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookRangeInsertBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Insert Body. */ -public class WorkbookRangeInsertBody extends BaseWorkbookRangeInsertBody { +public class WorkbookRangeInsertBody { + /** + * The shift. + * + */ + @SerializedName("shift") + @Expose + public String shift; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeMergeBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeMergeBody.java index cba96ed5f02..910b37b6637 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeMergeBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeMergeBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookRangeMergeBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Merge Body. */ -public class WorkbookRangeMergeBody extends BaseWorkbookRangeMergeBody { +public class WorkbookRangeMergeBody { + /** + * The across. + * + */ + @SerializedName("across") + @Expose + public Boolean across; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeReference.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeReference.java index 78f50f9f864..615d30317d4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeReference.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeReference.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWorkbookRangeReference; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Reference. */ -public class WorkbookRangeReference extends BaseWorkbookRangeReference { +public class WorkbookRangeReference implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Address. + * + */ + @SerializedName("address") + @Expose + public String address; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSort.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSort.java index 5697c8e7549..435729eb4ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSort.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSort.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookRangeSort; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Sort. */ -public class WorkbookRangeSort extends BaseWorkbookRangeSort { +public class WorkbookRangeSort extends Entity implements IJsonBackedObject { + + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSortApplyBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSortApplyBody.java index 5b3b41c9af8..cd09ec4bf37 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSortApplyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeSortApplyBody.java @@ -4,13 +4,98 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookRangeSortApplyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Sort Apply Body. */ -public class WorkbookRangeSortApplyBody extends BaseWorkbookRangeSortApplyBody { +public class WorkbookRangeSortApplyBody { + /** + * The fields. + * + */ + @SerializedName("fields") + @Expose + public java.util.List fields; + + /** + * The match Case. + * + */ + @SerializedName("matchCase") + @Expose + public Boolean matchCase; + + /** + * The has Headers. + * + */ + @SerializedName("hasHeaders") + @Expose + public Boolean hasHeaders; + + /** + * The orientation. + * + */ + @SerializedName("orientation") + @Expose + public String orientation; + + /** + * The method. + * + */ + @SerializedName("method") + @Expose + public String method; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeView.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeView.java index e8a37a15231..d0b1c3e8719 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeView.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookRangeView.java @@ -3,14 +3,181 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbookRangeView; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View. */ -public class WorkbookRangeView extends BaseWorkbookRangeView { +public class WorkbookRangeView extends Entity implements IJsonBackedObject { + + + /** + * The Cell Addresses. + * Represents the cell addresses + */ + @SerializedName("cellAddresses") + @Expose + public com.google.gson.JsonElement cellAddresses; + + /** + * The Column Count. + * Returns the number of visible columns. Read-only. + */ + @SerializedName("columnCount") + @Expose + public Integer columnCount; + + /** + * The Formulas. + * Represents the formula in A1-style notation. + */ + @SerializedName("formulas") + @Expose + public com.google.gson.JsonElement formulas; + + /** + * The Formulas Local. + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + */ + @SerializedName("formulasLocal") + @Expose + public com.google.gson.JsonElement formulasLocal; + + /** + * The Formulas R1C1. + * Represents the formula in R1C1-style notation. + */ + @SerializedName("formulasR1C1") + @Expose + public com.google.gson.JsonElement formulasR1C1; + + /** + * The Index. + * Index of the range. + */ + @SerializedName("index") + @Expose + public Integer index; + + /** + * The Number Format. + * Represents Excel's number format code for the given cell. Read-only. + */ + @SerializedName("numberFormat") + @Expose + public com.google.gson.JsonElement numberFormat; + + /** + * The Row Count. + * Returns the number of visible rows. Read-only. + */ + @SerializedName("rowCount") + @Expose + public Integer rowCount; + + /** + * The Text. + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + */ + @SerializedName("text") + @Expose + public com.google.gson.JsonElement text; + + /** + * The Value Types. + * Represents the type of data of each cell. Read-only. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. + */ + @SerializedName("valueTypes") + @Expose + public com.google.gson.JsonElement valueTypes; + + /** + * The Values. + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The Rows. + * Represents a collection of range views associated with the range. Read-only. Read-only. + */ + public WorkbookRangeViewCollectionPage rows; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("rows")) { + final WorkbookRangeViewCollectionResponse response = new WorkbookRangeViewCollectionResponse(); + if (json.has("rows@odata.nextLink")) { + response.nextLink = json.get("rows@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("rows").toString(), JsonObject[].class); + final WorkbookRangeView[] array = new WorkbookRangeView[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookRangeView.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + rows = new WorkbookRangeViewCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookSessionInfo.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookSessionInfo.java index 87bfd5243fd..4f13b743bc4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookSessionInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookSessionInfo.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWorkbookSessionInfo; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Session Info. */ -public class WorkbookSessionInfo extends BaseWorkbookSessionInfo { +public class WorkbookSessionInfo implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Id. + * Id of the workbook session. + */ + @SerializedName("id") + @Expose + public String id; + + /** + * The Persist Changes. + * true for persistent session. false for non-persistent session (view mode) + */ + @SerializedName("persistChanges") + @Expose + public Boolean persistChanges; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookSortField.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookSortField.java index c168b2e1774..d7e306cf0ad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookSortField.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookSortField.java @@ -3,14 +3,126 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookIcon; -import com.microsoft.graph.models.generated.BaseWorkbookSortField; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Sort Field. */ -public class WorkbookSortField extends BaseWorkbookSortField { +public class WorkbookSortField implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Ascending. + * Represents whether the sorting is done in an ascending fashion. + */ + @SerializedName("ascending") + @Expose + public Boolean ascending; + + /** + * The Color. + * Represents the color that is the target of the condition if the sorting is on font or cell color. + */ + @SerializedName("color") + @Expose + public String color; + + /** + * The Data Option. + * Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber. + */ + @SerializedName("dataOption") + @Expose + public String dataOption; + + /** + * The Icon. + * Represents the icon that is the target of the condition if the sorting is on the cell's icon. + */ + @SerializedName("icon") + @Expose + public WorkbookIcon icon; + + /** + * The Key. + * Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row). + */ + @SerializedName("key") + @Expose + public Integer key; + + /** + * The Sort On. + * Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon. + */ + @SerializedName("sortOn") + @Expose + public String sortOn; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTable.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTable.java index b1b142f86d0..7bbfe86cd34 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTable.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTable.java @@ -3,14 +3,208 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.models.extensions.WorkbookTableSort; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnCollectionPage; +import com.microsoft.graph.requests.extensions.WorkbookTableRowCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookTableRowCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbookTable; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table. */ -public class WorkbookTable extends BaseWorkbookTable { +public class WorkbookTable extends Entity implements IJsonBackedObject { + + + /** + * The Highlight First Column. + * Indicates whether the first column contains special formatting. + */ + @SerializedName("highlightFirstColumn") + @Expose + public Boolean highlightFirstColumn; + + /** + * The Highlight Last Column. + * Indicates whether the last column contains special formatting. + */ + @SerializedName("highlightLastColumn") + @Expose + public Boolean highlightLastColumn; + + /** + * The Name. + * Name of the table. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Show Banded Columns. + * Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier. + */ + @SerializedName("showBandedColumns") + @Expose + public Boolean showBandedColumns; + + /** + * The Show Banded Rows. + * Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier. + */ + @SerializedName("showBandedRows") + @Expose + public Boolean showBandedRows; + + /** + * The Show Filter Button. + * Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row. + */ + @SerializedName("showFilterButton") + @Expose + public Boolean showFilterButton; + + /** + * The Show Headers. + * Indicates whether the header row is visible or not. This value can be set to show or remove the header row. + */ + @SerializedName("showHeaders") + @Expose + public Boolean showHeaders; + + /** + * The Show Totals. + * Indicates whether the total row is visible or not. This value can be set to show or remove the total row. + */ + @SerializedName("showTotals") + @Expose + public Boolean showTotals; + + /** + * The Style. + * Constant value that represents the Table style. The possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + */ + @SerializedName("style") + @Expose + public String style; + + /** + * The Columns. + * Represents a collection of all the columns in the table. Read-only. + */ + public WorkbookTableColumnCollectionPage columns; + + /** + * The Rows. + * Represents a collection of all the rows in the table. Read-only. + */ + public WorkbookTableRowCollectionPage rows; + + /** + * The Sort. + * Represents the sorting for the table. Read-only. + */ + @SerializedName("sort") + @Expose + public WorkbookTableSort sort; + + /** + * The Worksheet. + * The worksheet containing the current table. Read-only. + */ + @SerializedName("worksheet") + @Expose + public WorkbookWorksheet worksheet; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("columns")) { + final WorkbookTableColumnCollectionResponse response = new WorkbookTableColumnCollectionResponse(); + if (json.has("columns@odata.nextLink")) { + response.nextLink = json.get("columns@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columns").toString(), JsonObject[].class); + final WorkbookTableColumn[] array = new WorkbookTableColumn[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTableColumn.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + columns = new WorkbookTableColumnCollectionPage(response, null); + } + + if (json.has("rows")) { + final WorkbookTableRowCollectionResponse response = new WorkbookTableRowCollectionResponse(); + if (json.has("rows@odata.nextLink")) { + response.nextLink = json.get("rows@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("rows").toString(), JsonObject[].class); + final WorkbookTableRow[] array = new WorkbookTableRow[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTableRow.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + rows = new WorkbookTableRowCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableAddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableAddBody.java index 834b6a8f9ce..9c3586a4971 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableAddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableAddBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookTableAddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Add Body. */ -public class WorkbookTableAddBody extends BaseWorkbookTableAddBody { +public class WorkbookTableAddBody { + /** + * The address. + * + */ + @SerializedName("address") + @Expose + public String address; + + /** + * The has Headers. + * + */ + @SerializedName("hasHeaders") + @Expose + public Boolean hasHeaders; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumn.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumn.java index ed19c652ece..55a29cc078b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumn.java @@ -3,14 +3,101 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookFilter; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookTableColumn; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column. */ -public class WorkbookTableColumn extends BaseWorkbookTableColumn { +public class WorkbookTableColumn extends Entity implements IJsonBackedObject { + + + /** + * The Index. + * Returns the index number of the column within the columns collection of the table. Zero-indexed. Read-only. + */ + @SerializedName("index") + @Expose + public Integer index; + + /** + * The Name. + * Returns the name of the table column. Read-only. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Values. + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The Filter. + * Retrieve the filter applied to the column. Read-only. + */ + @SerializedName("filter") + @Expose + public WorkbookFilter filter; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumnAddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumnAddBody.java index a651fb0fd90..e28b4bcde29 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumnAddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableColumnAddBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookTableColumnAddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Add Body. */ -public class WorkbookTableColumnAddBody extends BaseWorkbookTableColumnAddBody { +public class WorkbookTableColumnAddBody { + /** + * The index. + * + */ + @SerializedName("index") + @Expose + public Integer index; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + /** + * The name. + * + */ + @SerializedName("name") + @Expose + public String name; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRow.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRow.java index c3a24d019bd..649626e0434 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRow.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRow.java @@ -3,14 +3,84 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookTableRow; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row. */ -public class WorkbookTableRow extends BaseWorkbookTableRow { +public class WorkbookTableRow extends Entity implements IJsonBackedObject { + + + /** + * The Index. + * Returns the index number of the row within the rows collection of the table. Zero-indexed. Read-only. + */ + @SerializedName("index") + @Expose + public Integer index; + + /** + * The Values. + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRowAddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRowAddBody.java index a3436238d21..217abdcafc1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRowAddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableRowAddBody.java @@ -4,13 +4,74 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookTableRowAddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Add Body. */ -public class WorkbookTableRowAddBody extends BaseWorkbookTableRowAddBody { +public class WorkbookTableRowAddBody { + /** + * The index. + * + */ + @SerializedName("index") + @Expose + public Integer index; + + /** + * The values. + * + */ + @SerializedName("values") + @Expose + public com.google.gson.JsonElement values; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSort.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSort.java index caea97cada1..0392e7185e9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSort.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSort.java @@ -3,14 +3,93 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookTableSort; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort. */ -public class WorkbookTableSort extends BaseWorkbookTableSort { +public class WorkbookTableSort extends Entity implements IJsonBackedObject { + + + /** + * The Fields. + * Represents the current conditions used to last sort the table. Read-only. + */ + @SerializedName("fields") + @Expose + public java.util.List fields; + + /** + * The Match Case. + * Represents whether the casing impacted the last sort of the table. Read-only. + */ + @SerializedName("matchCase") + @Expose + public Boolean matchCase; + + /** + * The Method. + * Represents Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only. + */ + @SerializedName("method") + @Expose + public String method; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSortApplyBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSortApplyBody.java index 6cbe46f3446..fe30135689b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSortApplyBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookTableSortApplyBody.java @@ -4,13 +4,82 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookTableSortApplyBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Apply Body. */ -public class WorkbookTableSortApplyBody extends BaseWorkbookTableSortApplyBody { +public class WorkbookTableSortApplyBody { + /** + * The fields. + * + */ + @SerializedName("fields") + @Expose + public java.util.List fields; + + /** + * The match Case. + * + */ + @SerializedName("matchCase") + @Expose + public Boolean matchCase; + + /** + * The method. + * + */ + @SerializedName("method") + @Expose + public String method; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheet.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheet.java index 52a30bfc9fb..b66b1653b43 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheet.java @@ -3,14 +3,201 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.models.extensions.WorkbookPivotTable; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.WorkbookChartCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookChartCollectionPage; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionPage; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableCollectionPage; +import com.microsoft.graph.requests.extensions.WorkbookTableCollectionResponse; +import com.microsoft.graph.requests.extensions.WorkbookTableCollectionPage; -import com.microsoft.graph.models.generated.BaseWorkbookWorksheet; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet. */ -public class WorkbookWorksheet extends BaseWorkbookWorksheet { +public class WorkbookWorksheet extends Entity implements IJsonBackedObject { + + + /** + * The Name. + * The display name of the worksheet. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Position. + * The zero-based position of the worksheet within the workbook. + */ + @SerializedName("position") + @Expose + public Integer position; + + /** + * The Visibility. + * The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + */ + @SerializedName("visibility") + @Expose + public String visibility; + + /** + * The Charts. + * Returns collection of charts that are part of the worksheet. Read-only. + */ + public WorkbookChartCollectionPage charts; + + /** + * The Names. + * Returns collection of names that are associated with the worksheet. Read-only. + */ + public WorkbookNamedItemCollectionPage names; + + /** + * The Pivot Tables. + * Collection of PivotTables that are part of the worksheet. + */ + public WorkbookPivotTableCollectionPage pivotTables; + + /** + * The Protection. + * Returns sheet protection object for a worksheet. Read-only. + */ + @SerializedName("protection") + @Expose + public WorkbookWorksheetProtection protection; + + /** + * The Tables. + * Collection of tables that are part of the worksheet. Read-only. + */ + public WorkbookTableCollectionPage tables; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("charts")) { + final WorkbookChartCollectionResponse response = new WorkbookChartCollectionResponse(); + if (json.has("charts@odata.nextLink")) { + response.nextLink = json.get("charts@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("charts").toString(), JsonObject[].class); + final WorkbookChart[] array = new WorkbookChart[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookChart.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + charts = new WorkbookChartCollectionPage(response, null); + } + + if (json.has("names")) { + final WorkbookNamedItemCollectionResponse response = new WorkbookNamedItemCollectionResponse(); + if (json.has("names@odata.nextLink")) { + response.nextLink = json.get("names@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("names").toString(), JsonObject[].class); + final WorkbookNamedItem[] array = new WorkbookNamedItem[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookNamedItem.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + names = new WorkbookNamedItemCollectionPage(response, null); + } + + if (json.has("pivotTables")) { + final WorkbookPivotTableCollectionResponse response = new WorkbookPivotTableCollectionResponse(); + if (json.has("pivotTables@odata.nextLink")) { + response.nextLink = json.get("pivotTables@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pivotTables").toString(), JsonObject[].class); + final WorkbookPivotTable[] array = new WorkbookPivotTable[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookPivotTable.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + pivotTables = new WorkbookPivotTableCollectionPage(response, null); + } + + if (json.has("tables")) { + final WorkbookTableCollectionResponse response = new WorkbookTableCollectionResponse(); + if (json.has("tables@odata.nextLink")) { + response.nextLink = json.get("tables@odata.nextLink").getAsString(); + } + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tables").toString(), JsonObject[].class); + final WorkbookTable[] array = new WorkbookTable[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTable.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tables = new WorkbookTableCollectionPage(response, null); + } + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetAddBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetAddBody.java index 48521a05fc9..39d5c858061 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetAddBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetAddBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookWorksheetAddBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Add Body. */ -public class WorkbookWorksheetAddBody extends BaseWorkbookWorksheetAddBody { +public class WorkbookWorksheetAddBody { + /** + * The name. + * + */ + @SerializedName("name") + @Expose + public String name; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtection.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtection.java index adf15a7e550..ab70dcde641 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtection.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.models.generated.BaseWorkbookWorksheetProtection; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection. */ -public class WorkbookWorksheetProtection extends BaseWorkbookWorksheetProtection { +public class WorkbookWorksheetProtection extends Entity implements IJsonBackedObject { + + + /** + * The Options. + * Sheet protection options. Read-only. + */ + @SerializedName("options") + @Expose + public WorkbookWorksheetProtectionOptions options; + + /** + * The Protected. + * Indicates if the worksheet is protected. Read-only. + */ + @SerializedName("protected") + @Expose + public Boolean msgraphprotected; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionOptions.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionOptions.java index ea6f5683af9..5e5d5c40027 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionOptions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionOptions.java @@ -3,14 +3,165 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; -import com.microsoft.graph.models.generated.BaseWorkbookWorksheetProtectionOptions; -// This file is available for extending, afterwards please submit a pull request. +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Options. */ -public class WorkbookWorksheetProtectionOptions extends BaseWorkbookWorksheetProtectionOptions { +public class WorkbookWorksheetProtectionOptions implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Allow Auto Filter. + * Represents the worksheet protection option of allowing using auto filter feature. + */ + @SerializedName("allowAutoFilter") + @Expose + public Boolean allowAutoFilter; + + /** + * The Allow Delete Columns. + * Represents the worksheet protection option of allowing deleting columns. + */ + @SerializedName("allowDeleteColumns") + @Expose + public Boolean allowDeleteColumns; + + /** + * The Allow Delete Rows. + * Represents the worksheet protection option of allowing deleting rows. + */ + @SerializedName("allowDeleteRows") + @Expose + public Boolean allowDeleteRows; + + /** + * The Allow Format Cells. + * Represents the worksheet protection option of allowing formatting cells. + */ + @SerializedName("allowFormatCells") + @Expose + public Boolean allowFormatCells; + + /** + * The Allow Format Columns. + * Represents the worksheet protection option of allowing formatting columns. + */ + @SerializedName("allowFormatColumns") + @Expose + public Boolean allowFormatColumns; + + /** + * The Allow Format Rows. + * Represents the worksheet protection option of allowing formatting rows. + */ + @SerializedName("allowFormatRows") + @Expose + public Boolean allowFormatRows; + + /** + * The Allow Insert Columns. + * Represents the worksheet protection option of allowing inserting columns. + */ + @SerializedName("allowInsertColumns") + @Expose + public Boolean allowInsertColumns; + + /** + * The Allow Insert Hyperlinks. + * Represents the worksheet protection option of allowing inserting hyperlinks. + */ + @SerializedName("allowInsertHyperlinks") + @Expose + public Boolean allowInsertHyperlinks; + + /** + * The Allow Insert Rows. + * Represents the worksheet protection option of allowing inserting rows. + */ + @SerializedName("allowInsertRows") + @Expose + public Boolean allowInsertRows; + + /** + * The Allow Pivot Tables. + * Represents the worksheet protection option of allowing using pivot table feature. + */ + @SerializedName("allowPivotTables") + @Expose + public Boolean allowPivotTables; + + /** + * The Allow Sort. + * Represents the worksheet protection option of allowing using sort feature. + */ + @SerializedName("allowSort") + @Expose + public Boolean allowSort; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionProtectBody.java b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionProtectBody.java index 7cce1d43e08..ebf39355a49 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionProtectBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkbookWorksheetProtectionProtectBody.java @@ -4,13 +4,66 @@ package com.microsoft.graph.models.extensions; -import com.microsoft.graph.models.generated.BaseWorkbookWorksheetProtectionProtectBody; +import com.microsoft.graph.models.generated.*; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.google.gson.JsonObject; +import com.microsoft.graph.serializer.ISerializer; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Protect Body. */ -public class WorkbookWorksheetProtectionProtectBody extends BaseWorkbookWorksheetProtectionProtectBody { +public class WorkbookWorksheetProtectionProtectBody { + /** + * The options. + * + */ + @SerializedName("options") + @Expose + public WorkbookWorksheetProtectionOptions options; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/WorkingHours.java b/src/main/java/com/microsoft/graph/models/extensions/WorkingHours.java index 0c9a3e8554e..05dcd5c6647 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/WorkingHours.java +++ b/src/main/java/com/microsoft/graph/models/extensions/WorkingHours.java @@ -3,12 +3,111 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.models.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.DayOfWeek; +import com.microsoft.graph.models.extensions.TimeZoneBase; -import com.microsoft.graph.models.generated.BaseWorkingHours; + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.*; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Working Hours. */ -public class WorkingHours extends BaseWorkingHours { +public class WorkingHours implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Days Of Week. + * The days of the week on which the user works. + */ + @SerializedName("daysOfWeek") + @Expose + public java.util.List daysOfWeek; + + /** + * The Start Time. + * The time of the day that the user starts working. + */ + @SerializedName("startTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay startTime; + + /** + * The End Time. + * The time of the day that the user stops working. + */ + @SerializedName("endTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay endTime; + + /** + * The Time Zone. + * The time zone to which the working hours apply. + */ + @SerializedName("timeZone") + @Expose + public TimeZoneBase timeZone; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + } } diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseActivityHistoryItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseActivityHistoryItem.java deleted file mode 100644 index 05c53effc0d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseActivityHistoryItem.java +++ /dev/null @@ -1,144 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.Status; -import com.microsoft.graph.models.extensions.UserActivity; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item. - */ -public class BaseActivityHistoryItem extends Entity implements IJsonBackedObject { - - - /** - * The Status. - * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. - */ - @SerializedName("status") - @Expose - public Status status; - - /** - * The Active Duration Seconds. - * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. - */ - @SerializedName("activeDurationSeconds") - @Expose - public Integer activeDurationSeconds; - - /** - * The Created Date Time. - * Set by the server. DateTime in UTC when the object was created on the server. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Active Date Time. - * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. - */ - @SerializedName("lastActiveDateTime") - @Expose - public java.util.Calendar lastActiveDateTime; - - /** - * The Last Modified Date Time. - * Set by the server. DateTime in UTC when the object was modified on the server. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Expiration Date Time. - * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Started Date Time. - * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. - */ - @SerializedName("startedDateTime") - @Expose - public java.util.Calendar startedDateTime; - - /** - * The User Timezone. - * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. - */ - @SerializedName("userTimezone") - @Expose - public String userTimezone; - - /** - * The Activity. - * Optional. NavigationProperty/Containment; navigation property to the associated activity. - */ - @SerializedName("activity") - @Expose - public UserActivity activity; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAdministrativeUnit.java b/src/main/java/com/microsoft/graph/models/generated/BaseAdministrativeUnit.java deleted file mode 100644 index adcd70a9868..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAdministrativeUnit.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DirectoryObject; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Administrative Unit. - */ -public class BaseAdministrativeUnit extends DirectoryObject implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAlert.java b/src/main/java/com/microsoft/graph/models/generated/BaseAlert.java deleted file mode 100644 index ffff07f80fe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAlert.java +++ /dev/null @@ -1,332 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.CloudAppSecurityState; -import com.microsoft.graph.models.generated.AlertFeedback; -import com.microsoft.graph.models.extensions.FileSecurityState; -import com.microsoft.graph.models.extensions.HostSecurityState; -import com.microsoft.graph.models.extensions.MalwareState; -import com.microsoft.graph.models.extensions.NetworkConnection; -import com.microsoft.graph.models.extensions.Process; -import com.microsoft.graph.models.extensions.RegistryKeyState; -import com.microsoft.graph.models.generated.AlertSeverity; -import com.microsoft.graph.models.generated.AlertStatus; -import com.microsoft.graph.models.extensions.AlertTrigger; -import com.microsoft.graph.models.extensions.UserSecurityState; -import com.microsoft.graph.models.extensions.SecurityVendorInformation; -import com.microsoft.graph.models.extensions.VulnerabilityState; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert. - */ -public class BaseAlert extends Entity implements IJsonBackedObject { - - - /** - * The Activity Group Name. - * Name or alias of the activity group (attacker) this alert is attributed to. - */ - @SerializedName("activityGroupName") - @Expose - public String activityGroupName; - - /** - * The Assigned To. - * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). - */ - @SerializedName("assignedTo") - @Expose - public String assignedTo; - - /** - * The Azure Subscription Id. - * Azure subscription ID, present if this alert is related to an Azure resource. - */ - @SerializedName("azureSubscriptionId") - @Expose - public String azureSubscriptionId; - - /** - * The Azure Tenant Id. - * Azure Active Directory tenant ID. Required. - */ - @SerializedName("azureTenantId") - @Expose - public String azureTenantId; - - /** - * The Category. - * Category of the alert (for example, credentialTheft, ransomware, etc.). - */ - @SerializedName("category") - @Expose - public String category; - - /** - * The Closed Date Time. - * Time at which the alert was closed. 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 would look like this: '2014-01-01T00:00:00Z' (supports update). - */ - @SerializedName("closedDateTime") - @Expose - public java.util.Calendar closedDateTime; - - /** - * The Cloud App States. - * Security-related stateful information generated by the provider about the cloud application/s related to this alert. - */ - @SerializedName("cloudAppStates") - @Expose - public java.util.List cloudAppStates; - - /** - * The Comments. - * Customer-provided comments on alert (for customer alert management) (supports update). - */ - @SerializedName("comments") - @Expose - public java.util.List comments; - - /** - * The Confidence. - * Confidence of the detection logic (percentage between 1-100). - */ - @SerializedName("confidence") - @Expose - public Integer confidence; - - /** - * The Created Date Time. - * Time at which the alert was created by the alert provider. 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 would look like this: '2014-01-01T00:00:00Z'. Required. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Description. - * Alert description. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Detection Ids. - * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). - */ - @SerializedName("detectionIds") - @Expose - public java.util.List detectionIds; - - /** - * The Event Date Time. - * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 would look like this: '2014-01-01T00:00:00Z'. Required. - */ - @SerializedName("eventDateTime") - @Expose - public java.util.Calendar eventDateTime; - - /** - * The Feedback. - * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) - */ - @SerializedName("feedback") - @Expose - public AlertFeedback feedback; - - /** - * The File States. - * Security-related stateful information generated by the provider about the file(s) related to this alert. - */ - @SerializedName("fileStates") - @Expose - public java.util.List fileStates; - - /** - * The Host States. - * Security-related stateful information generated by the provider about the host(s) related to this alert. - */ - @SerializedName("hostStates") - @Expose - public java.util.List hostStates; - - /** - * The Last Modified Date Time. - * Time at which the alert entity 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 would look like this: '2014-01-01T00:00:00Z'. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Malware States. - * Threat Intelligence pertaining to malware related to this alert. - */ - @SerializedName("malwareStates") - @Expose - public java.util.List malwareStates; - - /** - * The Network Connections. - * Security-related stateful information generated by the provider about the network connection(s) related to this alert. - */ - @SerializedName("networkConnections") - @Expose - public java.util.List networkConnections; - - /** - * The Processes. - * Security-related stateful information generated by the provider about the process or processes related to this alert. - */ - @SerializedName("processes") - @Expose - public java.util.List processes; - - /** - * The Recommended Actions. - * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). - */ - @SerializedName("recommendedActions") - @Expose - public java.util.List recommendedActions; - - /** - * The Registry Key States. - * Security-related stateful information generated by the provider about the registry keys related to this alert. - */ - @SerializedName("registryKeyStates") - @Expose - public java.util.List registryKeyStates; - - /** - * The Severity. - * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required. - */ - @SerializedName("severity") - @Expose - public AlertSeverity severity; - - /** - * The Source Materials. - * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. - */ - @SerializedName("sourceMaterials") - @Expose - public java.util.List sourceMaterials; - - /** - * The Status. - * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required. - */ - @SerializedName("status") - @Expose - public AlertStatus status; - - /** - * The Tags. - * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). - */ - @SerializedName("tags") - @Expose - public java.util.List tags; - - /** - * The Title. - * Alert title. Required. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Triggers. - * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation. - */ - @SerializedName("triggers") - @Expose - public java.util.List triggers; - - /** - * The User States. - * Security-related stateful information generated by the provider about the user accounts related to this alert. - */ - @SerializedName("userStates") - @Expose - public java.util.List userStates; - - /** - * The Vendor Information. - * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required. - */ - @SerializedName("vendorInformation") - @Expose - public SecurityVendorInformation vendorInformation; - - /** - * The Vulnerability States. - * Threat intelligence pertaining to one or more vulnerabilities related to this alert. - */ - @SerializedName("vulnerabilityStates") - @Expose - public java.util.List vulnerabilityStates; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAlertTrigger.java b/src/main/java/com/microsoft/graph/models/generated/BaseAlertTrigger.java deleted file mode 100644 index 3fc9c620dbb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAlertTrigger.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Trigger. - */ -public class BaseAlertTrigger implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * Name of the property serving as a detection trigger. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Type. - * Type of the property in the key:value pair for interpretation. For example, String, Boolean, etc. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Value. - * Value of the property serving as a detection trigger. - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAllDevicesAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/generated/BaseAllDevicesAssignmentTarget.java deleted file mode 100644 index 997e78dcaba..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAllDevicesAssignmentTarget.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base All Devices Assignment Target. - */ -public class BaseAllDevicesAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAllLicensedUsersAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/generated/BaseAllLicensedUsersAssignmentTarget.java deleted file mode 100644 index 92ec9702287..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAllLicensedUsersAssignmentTarget.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base All Licensed Users Assignment Target. - */ -public class BaseAllLicensedUsersAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAlternativeSecurityId.java b/src/main/java/com/microsoft/graph/models/generated/BaseAlternativeSecurityId.java deleted file mode 100644 index d45a7d77682..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAlternativeSecurityId.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alternative Security Id. - */ -public class BaseAlternativeSecurityId implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * For internal use only - */ - @SerializedName("type") - @Expose - public Integer type; - - /** - * The Identity Provider. - * For internal use only - */ - @SerializedName("identityProvider") - @Expose - public String identityProvider; - - /** - * The Key. - * For internal use only - */ - @SerializedName("key") - @Expose - public byte[] key; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidCompliancePolicy.java deleted file mode 100644 index afc44fda605..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidCompliancePolicy.java +++ /dev/null @@ -1,240 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; -import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Compliance Policy. - */ -public class BaseAndroidCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Required. - * Require a password to unlock device. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Minimum Length. - * Minimum password length. Valid values 4 to 16 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Required Type. - * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. - */ - @SerializedName("passwordRequiredType") - @Expose - public AndroidRequiredPasswordType passwordRequiredType; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 65535 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Security Prevent Install Apps From Unknown Sources. - * Require that devices disallow installation of apps from unknown sources. - */ - @SerializedName("securityPreventInstallAppsFromUnknownSources") - @Expose - public Boolean securityPreventInstallAppsFromUnknownSources; - - /** - * The Security Disable Usb Debugging. - * Disable USB debugging on Android devices. - */ - @SerializedName("securityDisableUsbDebugging") - @Expose - public Boolean securityDisableUsbDebugging; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - - /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. - */ - @SerializedName("deviceThreatProtectionEnabled") - @Expose - public Boolean deviceThreatProtectionEnabled; - - /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. - */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") - @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; - - /** - * The Security Block Jailbroken Devices. - * Devices must not be jailbroken or rooted. - */ - @SerializedName("securityBlockJailbrokenDevices") - @Expose - public Boolean securityBlockJailbrokenDevices; - - /** - * The Os Minimum Version. - * Minimum Android version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum Android version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Min Android Security Patch Level. - * Minimum Android security patch level. - */ - @SerializedName("minAndroidSecurityPatchLevel") - @Expose - public String minAndroidSecurityPatchLevel; - - /** - * The Storage Require Encryption. - * Require encryption on Android devices. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - /** - * The Security Require Safety Net Attestation Basic Integrity. - * Require the device to pass the SafetyNet basic integrity check. - */ - @SerializedName("securityRequireSafetyNetAttestationBasicIntegrity") - @Expose - public Boolean securityRequireSafetyNetAttestationBasicIntegrity; - - /** - * The Security Require Safety Net Attestation Certified Device. - * Require the device to pass the SafetyNet certified device check. - */ - @SerializedName("securityRequireSafetyNetAttestationCertifiedDevice") - @Expose - public Boolean securityRequireSafetyNetAttestationCertifiedDevice; - - /** - * The Security Require Google Play Services. - * Require Google Play Services to be installed and enabled on the device. - */ - @SerializedName("securityRequireGooglePlayServices") - @Expose - public Boolean securityRequireGooglePlayServices; - - /** - * The Security Require Up To Date Security Providers. - * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. - */ - @SerializedName("securityRequireUpToDateSecurityProviders") - @Expose - public Boolean securityRequireUpToDateSecurityProviders; - - /** - * The Security Require Company Portal App Integrity. - * Require the device to pass the Company Portal client app runtime integrity check. - */ - @SerializedName("securityRequireCompanyPortalAppIntegrity") - @Expose - public Boolean securityRequireCompanyPortalAppIntegrity; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidCustomConfiguration.java deleted file mode 100644 index ce96154f89b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidCustomConfiguration.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Custom Configuration. - */ -public class BaseAndroidCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Oma Settings. - * OMA settings. This collection can contain a maximum of 1000 elements. - */ - @SerializedName("omaSettings") - @Expose - public java.util.List omaSettings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidGeneralDeviceConfiguration.java deleted file mode 100644 index 36cfc9a682c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidGeneralDeviceConfiguration.java +++ /dev/null @@ -1,458 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.generated.AppListType; -import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; -import com.microsoft.graph.models.generated.WebBrowserCookieSettings; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android General Device Configuration. - */ -public class BaseAndroidGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Apps Block Clipboard Sharing. - * Indicates whether or not to block clipboard sharing to copy and paste between applications. - */ - @SerializedName("appsBlockClipboardSharing") - @Expose - public Boolean appsBlockClipboardSharing; - - /** - * The Apps Block Copy Paste. - * Indicates whether or not to block copy and paste within applications. - */ - @SerializedName("appsBlockCopyPaste") - @Expose - public Boolean appsBlockCopyPaste; - - /** - * The Apps Block You Tube. - * Indicates whether or not to block the YouTube app. - */ - @SerializedName("appsBlockYouTube") - @Expose - public Boolean appsBlockYouTube; - - /** - * The Bluetooth Blocked. - * Indicates whether or not to block Bluetooth. - */ - @SerializedName("bluetoothBlocked") - @Expose - public Boolean bluetoothBlocked; - - /** - * The Camera Blocked. - * Indicates whether or not to block the use of the camera. - */ - @SerializedName("cameraBlocked") - @Expose - public Boolean cameraBlocked; - - /** - * The Cellular Block Data Roaming. - * Indicates whether or not to block data roaming. - */ - @SerializedName("cellularBlockDataRoaming") - @Expose - public Boolean cellularBlockDataRoaming; - - /** - * The Cellular Block Messaging. - * Indicates whether or not to block SMS/MMS messaging. - */ - @SerializedName("cellularBlockMessaging") - @Expose - public Boolean cellularBlockMessaging; - - /** - * The Cellular Block Voice Roaming. - * Indicates whether or not to block voice roaming. - */ - @SerializedName("cellularBlockVoiceRoaming") - @Expose - public Boolean cellularBlockVoiceRoaming; - - /** - * The Cellular Block Wi Fi Tethering. - * Indicates whether or not to block syncing Wi-Fi tethering. - */ - @SerializedName("cellularBlockWiFiTethering") - @Expose - public Boolean cellularBlockWiFiTethering; - - /** - * The Compliant Apps List. - * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. - */ - @SerializedName("compliantAppsList") - @Expose - public java.util.List compliantAppsList; - - /** - * The Compliant App List Type. - * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. - */ - @SerializedName("compliantAppListType") - @Expose - public AppListType compliantAppListType; - - /** - * The Diagnostic Data Block Submission. - * Indicates whether or not to block diagnostic data submission. - */ - @SerializedName("diagnosticDataBlockSubmission") - @Expose - public Boolean diagnosticDataBlockSubmission; - - /** - * The Location Services Blocked. - * Indicates whether or not to block location services. - */ - @SerializedName("locationServicesBlocked") - @Expose - public Boolean locationServicesBlocked; - - /** - * The Google Account Block Auto Sync. - * Indicates whether or not to block Google account auto sync. - */ - @SerializedName("googleAccountBlockAutoSync") - @Expose - public Boolean googleAccountBlockAutoSync; - - /** - * The Google Play Store Blocked. - * Indicates whether or not to block the Google Play store. - */ - @SerializedName("googlePlayStoreBlocked") - @Expose - public Boolean googlePlayStoreBlocked; - - /** - * The Kiosk Mode Block Sleep Button. - * Indicates whether or not to block the screen sleep button while in Kiosk Mode. - */ - @SerializedName("kioskModeBlockSleepButton") - @Expose - public Boolean kioskModeBlockSleepButton; - - /** - * The Kiosk Mode Block Volume Buttons. - * Indicates whether or not to block the volume buttons while in Kiosk Mode. - */ - @SerializedName("kioskModeBlockVolumeButtons") - @Expose - public Boolean kioskModeBlockVolumeButtons; - - /** - * The Kiosk Mode Apps. - * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. - */ - @SerializedName("kioskModeApps") - @Expose - public java.util.List kioskModeApps; - - /** - * The Nfc Blocked. - * Indicates whether or not to block Near-Field Communication. - */ - @SerializedName("nfcBlocked") - @Expose - public Boolean nfcBlocked; - - /** - * The Password Block Fingerprint Unlock. - * Indicates whether or not to block fingerprint unlock. - */ - @SerializedName("passwordBlockFingerprintUnlock") - @Expose - public Boolean passwordBlockFingerprintUnlock; - - /** - * The Password Block Trust Agents. - * Indicates whether or not to block Smart Lock and other trust agents. - */ - @SerializedName("passwordBlockTrustAgents") - @Expose - public Boolean passwordBlockTrustAgents; - - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * Minimum length of passwords. Valid values 4 to 16 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity before the screen times out. - */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 0 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before factory reset. Valid values 4 to 11 - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - - /** - * The Password Required Type. - * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. - */ - @SerializedName("passwordRequiredType") - @Expose - public AndroidRequiredPasswordType passwordRequiredType; - - /** - * The Password Required. - * Indicates whether or not to require a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Power Off Blocked. - * Indicates whether or not to block powering off the device. - */ - @SerializedName("powerOffBlocked") - @Expose - public Boolean powerOffBlocked; - - /** - * The Factory Reset Blocked. - * Indicates whether or not to block user performing a factory reset. - */ - @SerializedName("factoryResetBlocked") - @Expose - public Boolean factoryResetBlocked; - - /** - * The Screen Capture Blocked. - * Indicates whether or not to block screenshots. - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Device Sharing Allowed. - * Indicates whether or not to allow device sharing mode. - */ - @SerializedName("deviceSharingAllowed") - @Expose - public Boolean deviceSharingAllowed; - - /** - * The Storage Block Google Backup. - * Indicates whether or not to block Google Backup. - */ - @SerializedName("storageBlockGoogleBackup") - @Expose - public Boolean storageBlockGoogleBackup; - - /** - * The Storage Block Removable Storage. - * Indicates whether or not to block removable storage usage. - */ - @SerializedName("storageBlockRemovableStorage") - @Expose - public Boolean storageBlockRemovableStorage; - - /** - * The Storage Require Device Encryption. - * Indicates whether or not to require device encryption. - */ - @SerializedName("storageRequireDeviceEncryption") - @Expose - public Boolean storageRequireDeviceEncryption; - - /** - * The Storage Require Removable Storage Encryption. - * Indicates whether or not to require removable storage encryption. - */ - @SerializedName("storageRequireRemovableStorageEncryption") - @Expose - public Boolean storageRequireRemovableStorageEncryption; - - /** - * The Voice Assistant Blocked. - * Indicates whether or not to block the use of the Voice Assistant. - */ - @SerializedName("voiceAssistantBlocked") - @Expose - public Boolean voiceAssistantBlocked; - - /** - * The Voice Dialing Blocked. - * Indicates whether or not to block voice dialing. - */ - @SerializedName("voiceDialingBlocked") - @Expose - public Boolean voiceDialingBlocked; - - /** - * The Web Browser Block Popups. - * Indicates whether or not to block popups within the web browser. - */ - @SerializedName("webBrowserBlockPopups") - @Expose - public Boolean webBrowserBlockPopups; - - /** - * The Web Browser Block Autofill. - * Indicates whether or not to block the web browser's auto fill feature. - */ - @SerializedName("webBrowserBlockAutofill") - @Expose - public Boolean webBrowserBlockAutofill; - - /** - * The Web Browser Block Java Script. - * Indicates whether or not to block JavaScript within the web browser. - */ - @SerializedName("webBrowserBlockJavaScript") - @Expose - public Boolean webBrowserBlockJavaScript; - - /** - * The Web Browser Blocked. - * Indicates whether or not to block the web browser. - */ - @SerializedName("webBrowserBlocked") - @Expose - public Boolean webBrowserBlocked; - - /** - * The Web Browser Cookie Settings. - * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. - */ - @SerializedName("webBrowserCookieSettings") - @Expose - public WebBrowserCookieSettings webBrowserCookieSettings; - - /** - * The Wi Fi Blocked. - * Indicates whether or not to block syncing Wi-Fi. - */ - @SerializedName("wiFiBlocked") - @Expose - public Boolean wiFiBlocked; - - /** - * The Apps Install Allow List. - * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsInstallAllowList") - @Expose - public java.util.List appsInstallAllowList; - - /** - * The Apps Launch Block List. - * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsLaunchBlockList") - @Expose - public java.util.List appsLaunchBlockList; - - /** - * The Apps Hide List. - * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsHideList") - @Expose - public java.util.List appsHideList; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidLobApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidLobApp.java deleted file mode 100644 index a84817921cb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidLobApp.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.MobileLobApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Lob App. - */ -public class BaseAndroidLobApp extends MobileLobApp implements IJsonBackedObject { - - - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; - - /** - * The Version Name. - * The version name of Android Line of Business (LoB) app. - */ - @SerializedName("versionName") - @Expose - public String versionName; - - /** - * The Version Code. - * The version code of Android Line of Business (LoB) app. - */ - @SerializedName("versionCode") - @Expose - public String versionCode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppProtection.java deleted file mode 100644 index 201f2331cf3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppProtection.java +++ /dev/null @@ -1,152 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; -import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection. - */ -public class BaseAndroidManagedAppProtection extends TargetedManagedAppProtection implements IJsonBackedObject { - - - /** - * The Screen Capture Blocked. - * Indicates whether a managed user can take screen captures of managed apps - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Disable App Encryption If Device Encryption Is Enabled. - * When this setting is enabled, app level encryption is disabled if device level encryption is enabled - */ - @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") - @Expose - public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; - - /** - * The Encrypt App Data. - * Indicates whether application data for managed apps should be encrypted - */ - @SerializedName("encryptAppData") - @Expose - public Boolean encryptAppData; - - /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. - */ - @SerializedName("deployedAppCount") - @Expose - public Integer deployedAppCount; - - /** - * The Minimum Required Patch Version. - * Define the oldest required Android security patch level a user can have to gain secure access to the app. - */ - @SerializedName("minimumRequiredPatchVersion") - @Expose - public String minimumRequiredPatchVersion; - - /** - * The Minimum Warning Patch Version. - * Define the oldest recommended Android security patch level a user can have for secure access to the app. - */ - @SerializedName("minimumWarningPatchVersion") - @Expose - public String minimumWarningPatchVersion; - - /** - * The Apps. - * List of apps to which the policy is deployed. - */ - public ManagedMobileAppCollectionPage apps; - - /** - * The Deployment Summary. - * Navigation property to deployment summary of the configuration. - */ - @SerializedName("deploymentSummary") - @Expose - public ManagedAppPolicyDeploymentSummary deploymentSummary; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("apps")) { - final BaseManagedMobileAppCollectionResponse response = new BaseManagedMobileAppCollectionResponse(); - if (json.has("apps@odata.nextLink")) { - response.nextLink = json.get("apps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); - final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - apps = new ManagedMobileAppCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppRegistration.java deleted file mode 100644 index fa0ac96c5d9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidManagedAppRegistration.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Registration. - */ -public class BaseAndroidManagedAppRegistration extends ManagedAppRegistration implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidMinimumOperatingSystem.java deleted file mode 100644 index b2b8c0e2a28..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidMinimumOperatingSystem.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Minimum Operating System. - */ -public class BaseAndroidMinimumOperatingSystem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The V4_0. - * Version 4.0 or later. - */ - @SerializedName("v4_0") - @Expose - public Boolean v4_0; - - /** - * The V4_0_3. - * Version 4.0.3 or later. - */ - @SerializedName("v4_0_3") - @Expose - public Boolean v4_0_3; - - /** - * The V4_1. - * Version 4.1 or later. - */ - @SerializedName("v4_1") - @Expose - public Boolean v4_1; - - /** - * The V4_2. - * Version 4.2 or later. - */ - @SerializedName("v4_2") - @Expose - public Boolean v4_2; - - /** - * The V4_3. - * Version 4.3 or later. - */ - @SerializedName("v4_3") - @Expose - public Boolean v4_3; - - /** - * The V4_4. - * Version 4.4 or later. - */ - @SerializedName("v4_4") - @Expose - public Boolean v4_4; - - /** - * The V5_0. - * Version 5.0 or later. - */ - @SerializedName("v5_0") - @Expose - public Boolean v5_0; - - /** - * The V5_1. - * Version 5.1 or later. - */ - @SerializedName("v5_1") - @Expose - public Boolean v5_1; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidMobileAppIdentifier.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidMobileAppIdentifier.java deleted file mode 100644 index 5a3eff75a91..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidMobileAppIdentifier.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppIdentifier; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Mobile App Identifier. - */ -public class BaseAndroidMobileAppIdentifier extends MobileAppIdentifier implements IJsonBackedObject { - - - /** - * The Package Id. - * The identifier for an app, as specified in the play store. - */ - @SerializedName("packageId") - @Expose - public String packageId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidStoreApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidStoreApp.java deleted file mode 100644 index 62624a23cf4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidStoreApp.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Store App. - */ -public class BaseAndroidStoreApp extends MobileApp implements IJsonBackedObject { - - - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - - /** - * The App Store Url. - * The Android app store URL. - */ - @SerializedName("appStoreUrl") - @Expose - public String appStoreUrl; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCompliancePolicy.java deleted file mode 100644 index f0c2e1d3bb5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCompliancePolicy.java +++ /dev/null @@ -1,240 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; -import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile Compliance Policy. - */ -public class BaseAndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Required. - * Require a password to unlock device. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Minimum Length. - * Minimum password length. Valid values 4 to 16 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Required Type. - * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. - */ - @SerializedName("passwordRequiredType") - @Expose - public AndroidRequiredPasswordType passwordRequiredType; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Security Prevent Install Apps From Unknown Sources. - * Require that devices disallow installation of apps from unknown sources. - */ - @SerializedName("securityPreventInstallAppsFromUnknownSources") - @Expose - public Boolean securityPreventInstallAppsFromUnknownSources; - - /** - * The Security Disable Usb Debugging. - * Disable USB debugging on Android devices. - */ - @SerializedName("securityDisableUsbDebugging") - @Expose - public Boolean securityDisableUsbDebugging; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - - /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. - */ - @SerializedName("deviceThreatProtectionEnabled") - @Expose - public Boolean deviceThreatProtectionEnabled; - - /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. - */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") - @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; - - /** - * The Security Block Jailbroken Devices. - * Devices must not be jailbroken or rooted. - */ - @SerializedName("securityBlockJailbrokenDevices") - @Expose - public Boolean securityBlockJailbrokenDevices; - - /** - * The Os Minimum Version. - * Minimum Android version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum Android version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Min Android Security Patch Level. - * Minimum Android security patch level. - */ - @SerializedName("minAndroidSecurityPatchLevel") - @Expose - public String minAndroidSecurityPatchLevel; - - /** - * The Storage Require Encryption. - * Require encryption on Android devices. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - /** - * The Security Require Safety Net Attestation Basic Integrity. - * Require the device to pass the SafetyNet basic integrity check. - */ - @SerializedName("securityRequireSafetyNetAttestationBasicIntegrity") - @Expose - public Boolean securityRequireSafetyNetAttestationBasicIntegrity; - - /** - * The Security Require Safety Net Attestation Certified Device. - * Require the device to pass the SafetyNet certified device check. - */ - @SerializedName("securityRequireSafetyNetAttestationCertifiedDevice") - @Expose - public Boolean securityRequireSafetyNetAttestationCertifiedDevice; - - /** - * The Security Require Google Play Services. - * Require Google Play Services to be installed and enabled on the device. - */ - @SerializedName("securityRequireGooglePlayServices") - @Expose - public Boolean securityRequireGooglePlayServices; - - /** - * The Security Require Up To Date Security Providers. - * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. - */ - @SerializedName("securityRequireUpToDateSecurityProviders") - @Expose - public Boolean securityRequireUpToDateSecurityProviders; - - /** - * The Security Require Company Portal App Integrity. - * Require the device to pass the Company Portal client app runtime integrity check. - */ - @SerializedName("securityRequireCompanyPortalAppIntegrity") - @Expose - public Boolean securityRequireCompanyPortalAppIntegrity; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCustomConfiguration.java deleted file mode 100644 index d2bbd427f9b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileCustomConfiguration.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile Custom Configuration. - */ -public class BaseAndroidWorkProfileCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Oma Settings. - * OMA settings. This collection can contain a maximum of 500 elements. - */ - @SerializedName("omaSettings") - @Expose - public java.util.List omaSettings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileGeneralDeviceConfiguration.java deleted file mode 100644 index 16b6793957f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAndroidWorkProfileGeneralDeviceConfiguration.java +++ /dev/null @@ -1,345 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidWorkProfileRequiredPasswordType; -import com.microsoft.graph.models.generated.AndroidWorkProfileCrossProfileDataSharingType; -import com.microsoft.graph.models.generated.AndroidWorkProfileDefaultAppPermissionPolicyType; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile General Device Configuration. - */ -public class BaseAndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Password Block Fingerprint Unlock. - * Indicates whether or not to block fingerprint unlock. - */ - @SerializedName("passwordBlockFingerprintUnlock") - @Expose - public Boolean passwordBlockFingerprintUnlock; - - /** - * The Password Block Trust Agents. - * Indicates whether or not to block Smart Lock and other trust agents. - */ - @SerializedName("passwordBlockTrustAgents") - @Expose - public Boolean passwordBlockTrustAgents; - - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * Minimum length of passwords. Valid values 4 to 16 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity before the screen times out. - */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 0 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before factory reset. Valid values 4 to 11 - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - - /** - * The Password Required Type. - * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. - */ - @SerializedName("passwordRequiredType") - @Expose - public AndroidWorkProfileRequiredPasswordType passwordRequiredType; - - /** - * The Work Profile Data Sharing Type. - * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. - */ - @SerializedName("workProfileDataSharingType") - @Expose - public AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType; - - /** - * The Work Profile Block Notifications While Device Locked. - * Indicates whether or not to block notifications while device locked. - */ - @SerializedName("workProfileBlockNotificationsWhileDeviceLocked") - @Expose - public Boolean workProfileBlockNotificationsWhileDeviceLocked; - - /** - * The Work Profile Block Adding Accounts. - * Block users from adding/removing accounts in work profile. - */ - @SerializedName("workProfileBlockAddingAccounts") - @Expose - public Boolean workProfileBlockAddingAccounts; - - /** - * The Work Profile Bluetooth Enable Contact Sharing. - * Allow bluetooth devices to access enterprise contacts. - */ - @SerializedName("workProfileBluetoothEnableContactSharing") - @Expose - public Boolean workProfileBluetoothEnableContactSharing; - - /** - * The Work Profile Block Screen Capture. - * Block screen capture in work profile. - */ - @SerializedName("workProfileBlockScreenCapture") - @Expose - public Boolean workProfileBlockScreenCapture; - - /** - * The Work Profile Block Cross Profile Caller Id. - * Block display work profile caller ID in personal profile. - */ - @SerializedName("workProfileBlockCrossProfileCallerId") - @Expose - public Boolean workProfileBlockCrossProfileCallerId; - - /** - * The Work Profile Block Camera. - * Block work profile camera. - */ - @SerializedName("workProfileBlockCamera") - @Expose - public Boolean workProfileBlockCamera; - - /** - * The Work Profile Block Cross Profile Contacts Search. - * Block work profile contacts availability in personal profile. - */ - @SerializedName("workProfileBlockCrossProfileContactsSearch") - @Expose - public Boolean workProfileBlockCrossProfileContactsSearch; - - /** - * The Work Profile Block Cross Profile Copy Paste. - * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. - */ - @SerializedName("workProfileBlockCrossProfileCopyPaste") - @Expose - public Boolean workProfileBlockCrossProfileCopyPaste; - - /** - * The Work Profile Default App Permission Policy. - * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. - */ - @SerializedName("workProfileDefaultAppPermissionPolicy") - @Expose - public AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy; - - /** - * The Work Profile Password Block Fingerprint Unlock. - * Indicates whether or not to block fingerprint unlock for work profile. - */ - @SerializedName("workProfilePasswordBlockFingerprintUnlock") - @Expose - public Boolean workProfilePasswordBlockFingerprintUnlock; - - /** - * The Work Profile Password Block Trust Agents. - * Indicates whether or not to block Smart Lock and other trust agents for work profile. - */ - @SerializedName("workProfilePasswordBlockTrustAgents") - @Expose - public Boolean workProfilePasswordBlockTrustAgents; - - /** - * The Work Profile Password Expiration Days. - * Number of days before the work profile password expires. Valid values 1 to 365 - */ - @SerializedName("workProfilePasswordExpirationDays") - @Expose - public Integer workProfilePasswordExpirationDays; - - /** - * The Work Profile Password Minimum Length. - * Minimum length of work profile password. Valid values 4 to 16 - */ - @SerializedName("workProfilePasswordMinimumLength") - @Expose - public Integer workProfilePasswordMinimumLength; - - /** - * The Work Profile Password Min Numeric Characters. - * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinNumericCharacters") - @Expose - public Integer workProfilePasswordMinNumericCharacters; - - /** - * The Work Profile Password Min Non Letter Characters. - * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinNonLetterCharacters") - @Expose - public Integer workProfilePasswordMinNonLetterCharacters; - - /** - * The Work Profile Password Min Letter Characters. - * Minimum # of letter characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinLetterCharacters") - @Expose - public Integer workProfilePasswordMinLetterCharacters; - - /** - * The Work Profile Password Min Lower Case Characters. - * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinLowerCaseCharacters") - @Expose - public Integer workProfilePasswordMinLowerCaseCharacters; - - /** - * The Work Profile Password Min Upper Case Characters. - * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinUpperCaseCharacters") - @Expose - public Integer workProfilePasswordMinUpperCaseCharacters; - - /** - * The Work Profile Password Min Symbol Characters. - * Minimum # of symbols required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinSymbolCharacters") - @Expose - public Integer workProfilePasswordMinSymbolCharacters; - - /** - * The Work Profile Password Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity before the screen times out. - */ - @SerializedName("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Work Profile Password Previous Password Block Count. - * Number of previous work profile passwords to block. Valid values 0 to 24 - */ - @SerializedName("workProfilePasswordPreviousPasswordBlockCount") - @Expose - public Integer workProfilePasswordPreviousPasswordBlockCount; - - /** - * The Work Profile Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 4 to 11 - */ - @SerializedName("workProfilePasswordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset; - - /** - * The Work Profile Password Required Type. - * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. - */ - @SerializedName("workProfilePasswordRequiredType") - @Expose - public AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType; - - /** - * The Work Profile Require Password. - * Password is required or not for work profile - */ - @SerializedName("workProfileRequirePassword") - @Expose - public Boolean workProfileRequirePassword; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAppCatalogs.java b/src/main/java/com/microsoft/graph/models/generated/BaseAppCatalogs.java deleted file mode 100644 index cf9168f3306..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAppCatalogs.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TeamsApp; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseTeamsAppCollectionResponse; -import com.microsoft.graph.requests.extensions.TeamsAppCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base App Catalogs. - */ -public class BaseAppCatalogs extends Entity implements IJsonBackedObject { - - - /** - * The Teams Apps. - * - */ - public TeamsAppCollectionPage teamsApps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("teamsApps")) { - final BaseTeamsAppCollectionResponse response = new BaseTeamsAppCollectionResponse(); - if (json.has("teamsApps@odata.nextLink")) { - response.nextLink = json.get("teamsApps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("teamsApps").toString(), JsonObject[].class); - final TeamsApp[] array = new TeamsApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - teamsApps = new TeamsAppCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAppConfigurationSettingItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseAppConfigurationSettingItem.java deleted file mode 100644 index b598c57c195..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAppConfigurationSettingItem.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MdmAppConfigKeyType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base App Configuration Setting Item. - */ -public class BaseAppConfigurationSettingItem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The App Config Key. - * app configuration key. - */ - @SerializedName("appConfigKey") - @Expose - public String appConfigKey; - - /** - * The App Config Key Type. - * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType. - */ - @SerializedName("appConfigKeyType") - @Expose - public MdmAppConfigKeyType appConfigKeyType; - - /** - * The App Config Key Value. - * app configuration key value. - */ - @SerializedName("appConfigKeyValue") - @Expose - public String appConfigKeyValue; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAppListItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseAppListItem.java deleted file mode 100644 index afa0234cdb8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAppListItem.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base App List Item. - */ -public class BaseAppListItem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * The application name - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Publisher. - * The publisher of the application - */ - @SerializedName("publisher") - @Expose - public String publisher; - - /** - * The App Store Url. - * The Store URL of the application - */ - @SerializedName("appStoreUrl") - @Expose - public String appStoreUrl; - - /** - * The App Id. - * The application or bundle identifier of the application - */ - @SerializedName("appId") - @Expose - public String appId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAppleDeviceFeaturesConfigurationBase.java b/src/main/java/com/microsoft/graph/models/generated/BaseAppleDeviceFeaturesConfigurationBase.java deleted file mode 100644 index b32de884cd0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAppleDeviceFeaturesConfigurationBase.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Device Features Configuration Base. - */ -public class BaseAppleDeviceFeaturesConfigurationBase extends DeviceConfiguration implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseApplePushNotificationCertificate.java b/src/main/java/com/microsoft/graph/models/generated/BaseApplePushNotificationCertificate.java deleted file mode 100644 index 1e7ce75dd5c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseApplePushNotificationCertificate.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Push Notification Certificate. - */ -public class BaseApplePushNotificationCertificate extends Entity implements IJsonBackedObject { - - - /** - * The Apple Identifier. - * Apple Id of the account used to create the MDM push certificate. - */ - @SerializedName("appleIdentifier") - @Expose - public String appleIdentifier; - - /** - * The Topic Identifier. - * Topic Id. - */ - @SerializedName("topicIdentifier") - @Expose - public String topicIdentifier; - - /** - * The Last Modified Date Time. - * Last modified date and time for Apple push notification certificate. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Expiration Date Time. - * The expiration date and time for Apple push notification certificate. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Certificate. - * Not yet documented - */ - @SerializedName("certificate") - @Expose - public String certificate; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAssignedLicense.java b/src/main/java/com/microsoft/graph/models/generated/BaseAssignedLicense.java deleted file mode 100644 index d3700e2381e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAssignedLicense.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Assigned License. - */ -public class BaseAssignedLicense implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Disabled Plans. - * A collection of the unique identifiers for plans that have been disabled. - */ - @SerializedName("disabledPlans") - @Expose - public java.util.List disabledPlans; - - /** - * The Sku Id. - * The unique identifier for the SKU. - */ - @SerializedName("skuId") - @Expose - public java.util.UUID skuId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAssignedPlan.java b/src/main/java/com/microsoft/graph/models/generated/BaseAssignedPlan.java deleted file mode 100644 index bc46747d499..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAssignedPlan.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Assigned Plan. - */ -public class BaseAssignedPlan implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Assigned Date Time. - * The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("assignedDateTime") - @Expose - public java.util.Calendar assignedDateTime; - - /** - * The Capability Status. - * For example, 'Enabled'. - */ - @SerializedName("capabilityStatus") - @Expose - public String capabilityStatus; - - /** - * The Service. - * The name of the service; for example, 'Exchange'. - */ - @SerializedName("service") - @Expose - public String service; - - /** - * The Service Plan Id. - * A GUID that identifies the service plan. - */ - @SerializedName("servicePlanId") - @Expose - public java.util.UUID servicePlanId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAttachment.java b/src/main/java/com/microsoft/graph/models/generated/BaseAttachment.java deleted file mode 100644 index 9b5a42aa202..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAttachment.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment. - */ -public class BaseAttachment extends Entity implements IJsonBackedObject { - - - /** - * The Last Modified Date Time. - * 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Name. - * The attachment's file name. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Content Type. - * The MIME type. - */ - @SerializedName("contentType") - @Expose - public String contentType; - - /** - * The Size. - * The length of the attachment in bytes. - */ - @SerializedName("size") - @Expose - public Integer size; - - /** - * The Is Inline. - * true if the attachment is an inline attachment; otherwise, false. - */ - @SerializedName("isInline") - @Expose - public Boolean isInline; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAttendee.java b/src/main/java/com/microsoft/graph/models/generated/BaseAttendee.java deleted file mode 100644 index 3d2319f1df1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAttendee.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ResponseStatus; -import com.microsoft.graph.models.extensions.AttendeeBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attendee. - */ -public class BaseAttendee extends AttendeeBase implements IJsonBackedObject { - - - /** - * The Status. - * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. - */ - @SerializedName("status") - @Expose - public ResponseStatus status; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAttendeeAvailability.java b/src/main/java/com/microsoft/graph/models/generated/BaseAttendeeAvailability.java deleted file mode 100644 index 29b79476ade..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAttendeeAvailability.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AttendeeBase; -import com.microsoft.graph.models.generated.FreeBusyStatus; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attendee Availability. - */ -public class BaseAttendeeAvailability implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Attendee. - * The type of attendee - whether it's a person or a resource, and whether required or optional if it's a person. - */ - @SerializedName("attendee") - @Expose - public AttendeeBase attendee; - - /** - * The Availability. - * The availability status of the attendee. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - */ - @SerializedName("availability") - @Expose - public FreeBusyStatus availability; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAttendeeBase.java b/src/main/java/com/microsoft/graph/models/generated/BaseAttendeeBase.java deleted file mode 100644 index e46b61a6514..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAttendeeBase.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.AttendeeType; -import com.microsoft.graph.models.extensions.Recipient; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attendee Base. - */ -public class BaseAttendeeBase extends Recipient implements IJsonBackedObject { - - - /** - * The Type. - * The type of attendee. The possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type. - */ - @SerializedName("type") - @Expose - public AttendeeType type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAudio.java b/src/main/java/com/microsoft/graph/models/generated/BaseAudio.java deleted file mode 100644 index 6fc707d074b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAudio.java +++ /dev/null @@ -1,207 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Audio. - */ -public class BaseAudio implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Album. - * The title of the album for this audio file. - */ - @SerializedName("album") - @Expose - public String album; - - /** - * The Album Artist. - * The artist named on the album for the audio file. - */ - @SerializedName("albumArtist") - @Expose - public String albumArtist; - - /** - * The Artist. - * The performing artist for the audio file. - */ - @SerializedName("artist") - @Expose - public String artist; - - /** - * The Bitrate. - * Bitrate expressed in kbps. - */ - @SerializedName("bitrate") - @Expose - public Long bitrate; - - /** - * The Composers. - * The name of the composer of the audio file. - */ - @SerializedName("composers") - @Expose - public String composers; - - /** - * The Copyright. - * Copyright information for the audio file. - */ - @SerializedName("copyright") - @Expose - public String copyright; - - /** - * The Disc. - * The number of the disc this audio file came from. - */ - @SerializedName("disc") - @Expose - public Integer disc; - - /** - * The Disc Count. - * The total number of discs in this album. - */ - @SerializedName("discCount") - @Expose - public Integer discCount; - - /** - * The Duration. - * Duration of the audio file, expressed in milliseconds - */ - @SerializedName("duration") - @Expose - public Long duration; - - /** - * The Genre. - * The genre of this audio file. - */ - @SerializedName("genre") - @Expose - public String genre; - - /** - * The Has Drm. - * Indicates if the file is protected with digital rights management. - */ - @SerializedName("hasDrm") - @Expose - public Boolean hasDrm; - - /** - * The Is Variable Bitrate. - * Indicates if the file is encoded with a variable bitrate. - */ - @SerializedName("isVariableBitrate") - @Expose - public Boolean isVariableBitrate; - - /** - * The Title. - * The title of the audio file. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Track. - * The number of the track on the original disc for this audio file. - */ - @SerializedName("track") - @Expose - public Integer track; - - /** - * The Track Count. - * The total number of tracks on the original disc for this audio file. - */ - @SerializedName("trackCount") - @Expose - public Integer trackCount; - - /** - * The Year. - * The year the audio file was recorded. - */ - @SerializedName("year") - @Expose - public Integer year; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesMailTips.java b/src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesMailTips.java deleted file mode 100644 index a87b20153a6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesMailTips.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.LocaleInfo; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Automatic Replies Mail Tips. - */ -public class BaseAutomaticRepliesMailTips implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Message. - * The automatic reply message. - */ - @SerializedName("message") - @Expose - public String message; - - /** - * The Message Language. - * The language that the automatic reply message is in. - */ - @SerializedName("messageLanguage") - @Expose - public LocaleInfo messageLanguage; - - /** - * The Scheduled Start Time. - * The date and time that automatic replies are set to begin. - */ - @SerializedName("scheduledStartTime") - @Expose - public DateTimeTimeZone scheduledStartTime; - - /** - * The Scheduled End Time. - * The date and time that automatic replies are set to end. - */ - @SerializedName("scheduledEndTime") - @Expose - public DateTimeTimeZone scheduledEndTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesSetting.java b/src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesSetting.java deleted file mode 100644 index 3384edebafb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseAutomaticRepliesSetting.java +++ /dev/null @@ -1,130 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.AutomaticRepliesStatus; -import com.microsoft.graph.models.generated.ExternalAudienceScope; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Automatic Replies Setting. - */ -public class BaseAutomaticRepliesSetting implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Status. - * Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled. - */ - @SerializedName("status") - @Expose - public AutomaticRepliesStatus status; - - /** - * The External Audience. - * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. The possible values are: none, contactsOnly, all. - */ - @SerializedName("externalAudience") - @Expose - public ExternalAudienceScope externalAudience; - - /** - * The Scheduled Start Date Time. - * The date and time that automatic replies are set to begin, if Status is set to Scheduled. - */ - @SerializedName("scheduledStartDateTime") - @Expose - public DateTimeTimeZone scheduledStartDateTime; - - /** - * The Scheduled End Date Time. - * The date and time that automatic replies are set to end, if Status is set to Scheduled. - */ - @SerializedName("scheduledEndDateTime") - @Expose - public DateTimeTimeZone scheduledEndDateTime; - - /** - * The Internal Reply Message. - * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. - */ - @SerializedName("internalReplyMessage") - @Expose - public String internalReplyMessage; - - /** - * The External Reply Message. - * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. - */ - @SerializedName("externalReplyMessage") - @Expose - public String externalReplyMessage; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseBaseItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseBaseItem.java deleted file mode 100644 index 5c44cbf052e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseBaseItem.java +++ /dev/null @@ -1,161 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.ItemReference; -import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item. - */ -public class BaseBaseItem extends Entity implements IJsonBackedObject { - - - /** - * The Created By. - * Identity of the user, device, or application which created the item. Read-only. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Created Date Time. - * Date and time of item creation. Read-only. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Description. - * Provides a user-visible description of the item. Optional. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The ETag. - * ETag for the item. Read-only. - */ - @SerializedName("eTag") - @Expose - public String eTag; - - /** - * The Last Modified By. - * Identity of the user, device, and application which last modified the item. Read-only. - */ - @SerializedName("lastModifiedBy") - @Expose - public IdentitySet lastModifiedBy; - - /** - * The Last Modified Date Time. - * Date and time the item was last modified. Read-only. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Name. - * The name of the item. Read-write. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Parent Reference. - * Parent information, if the item has a parent. Read-write. - */ - @SerializedName("parentReference") - @Expose - public ItemReference parentReference; - - /** - * The Web Url. - * URL that displays the resource in the browser. Read-only. - */ - @SerializedName("webUrl") - @Expose - public String webUrl; - - /** - * The Created By User. - * Identity of the user who created the item. Read-only. - */ - @SerializedName("createdByUser") - @Expose - public User createdByUser; - - /** - * The Last Modified By User. - * Identity of the user who last modified the item. Read-only. - */ - @SerializedName("lastModifiedByUser") - @Expose - public User lastModifiedByUser; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseBaseItemVersion.java b/src/main/java/com/microsoft/graph/models/generated/BaseBaseItemVersion.java deleted file mode 100644 index b850b65b283..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseBaseItemVersion.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.PublicationFacet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Version. - */ -public class BaseBaseItemVersion extends Entity implements IJsonBackedObject { - - - /** - * The Last Modified By. - * Identity of the user which last modified the version. Read-only. - */ - @SerializedName("lastModifiedBy") - @Expose - public IdentitySet lastModifiedBy; - - /** - * The Last Modified Date Time. - * Date and time the version was last modified. Read-only. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Publication. - * Indicates the publication status of this particular version. Read-only. - */ - @SerializedName("publication") - @Expose - public PublicationFacet publication; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseBitLockerRemovableDrivePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseBitLockerRemovableDrivePolicy.java deleted file mode 100644 index d2ced4c25a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseBitLockerRemovableDrivePolicy.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.BitLockerEncryptionMethod; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Bit Locker Removable Drive Policy. - */ -public class BaseBitLockerRemovableDrivePolicy implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Encryption Method. - * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. - */ - @SerializedName("encryptionMethod") - @Expose - public BitLockerEncryptionMethod encryptionMethod; - - /** - * The Require Encryption For Write Access. - * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect. - */ - @SerializedName("requireEncryptionForWriteAccess") - @Expose - public Boolean requireEncryptionForWriteAccess; - - /** - * The Block Cross Organization Write Access. - * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer. - */ - @SerializedName("blockCrossOrganizationWriteAccess") - @Expose - public Boolean blockCrossOrganizationWriteAccess; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseBooleanColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseBooleanColumn.java deleted file mode 100644 index df671985d5a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseBooleanColumn.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Boolean Column. - */ -public class BaseBooleanColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseCalculatedColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseCalculatedColumn.java deleted file mode 100644 index cfe6689cb3f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseCalculatedColumn.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calculated Column. - */ -public class BaseCalculatedColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Format. - * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime. - */ - @SerializedName("format") - @Expose - public String format; - - /** - * The Formula. - * The formula used to compute the value for this column. - */ - @SerializedName("formula") - @Expose - public String formula; - - /** - * The Output Type. - * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. - */ - @SerializedName("outputType") - @Expose - public String outputType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseCalendar.java b/src/main/java/com/microsoft/graph/models/generated/BaseCalendar.java deleted file mode 100644 index d25c80cbd78..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseCalendar.java +++ /dev/null @@ -1,225 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.CalendarColor; -import com.microsoft.graph.models.extensions.EmailAddress; -import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseEventCollectionResponse; -import com.microsoft.graph.requests.extensions.EventCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar. - */ -public class BaseCalendar extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * The calendar name. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Color. - * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1 - */ - @SerializedName("color") - @Expose - public CalendarColor color; - - /** - * The Change Key. - * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. - */ - @SerializedName("changeKey") - @Expose - public String changeKey; - - /** - * The Can Share. - * True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. - */ - @SerializedName("canShare") - @Expose - public Boolean canShare; - - /** - * The Can View Private Items. - * True if the user can read calendar items that have been marked private, false otherwise. - */ - @SerializedName("canViewPrivateItems") - @Expose - public Boolean canViewPrivateItems; - - /** - * The Can Edit. - * True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access. - */ - @SerializedName("canEdit") - @Expose - public Boolean canEdit; - - /** - * The Owner. - * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. - */ - @SerializedName("owner") - @Expose - public EmailAddress owner; - - /** - * The Events. - * The events in the calendar. Navigation property. Read-only. - */ - public EventCollectionPage events; - - /** - * The Calendar View. - * The calendar view for the calendar. Navigation property. Read-only. - */ - public EventCollectionPage calendarView; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("events")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("events@odata.nextLink")) { - response.nextLink = json.get("events@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - events = new EventCollectionPage(response, null); - } - - if (json.has("calendarView")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("calendarView@odata.nextLink")) { - response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendarView = new EventCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseCalendarGroup.java b/src/main/java/com/microsoft/graph/models/generated/BaseCalendarGroup.java deleted file mode 100644 index cbada421cc7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseCalendarGroup.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseCalendarCollectionResponse; -import com.microsoft.graph.requests.extensions.CalendarCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group. - */ -public class BaseCalendarGroup extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * The group name. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Class Id. - * The class identifier. Read-only. - */ - @SerializedName("classId") - @Expose - public java.util.UUID classId; - - /** - * The Change Key. - * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. - */ - @SerializedName("changeKey") - @Expose - public String changeKey; - - /** - * The Calendars. - * The calendars in the calendar group. Navigation property. Read-only. Nullable. - */ - public CalendarCollectionPage calendars; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("calendars")) { - final BaseCalendarCollectionResponse response = new BaseCalendarCollectionResponse(); - if (json.has("calendars@odata.nextLink")) { - response.nextLink = json.get("calendars@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendars").toString(), JsonObject[].class); - final Calendar[] array = new Calendar[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Calendar.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendars = new CalendarCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseChannel.java b/src/main/java/com/microsoft/graph/models/generated/BaseChannel.java deleted file mode 100644 index 5e508f6013e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseChannel.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TeamsTab; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseTeamsTabCollectionResponse; -import com.microsoft.graph.requests.extensions.TeamsTabCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel. - */ -public class BaseChannel extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Channel name as it will appear to the user in Microsoft Teams. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Optional textual description for the channel. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Tabs. - * A collection of all the tabs in the channel. A navigation property. - */ - public TeamsTabCollectionPage tabs; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("tabs")) { - final BaseTeamsTabCollectionResponse response = new BaseTeamsTabCollectionResponse(); - if (json.has("tabs@odata.nextLink")) { - response.nextLink = json.get("tabs@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tabs").toString(), JsonObject[].class); - final TeamsTab[] array = new TeamsTab[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsTab.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tabs = new TeamsTabCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseChoiceColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseChoiceColumn.java deleted file mode 100644 index 14e16839459..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseChoiceColumn.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Choice Column. - */ -public class BaseChoiceColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Text Entry. - * If true, allows custom values that aren't in the configured choices. - */ - @SerializedName("allowTextEntry") - @Expose - public Boolean allowTextEntry; - - /** - * The Choices. - * The list of values available for this column. - */ - @SerializedName("choices") - @Expose - public java.util.List choices; - - /** - * The Display As. - * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons - */ - @SerializedName("displayAs") - @Expose - public String displayAs; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseCloudAppSecurityState.java b/src/main/java/com/microsoft/graph/models/generated/BaseCloudAppSecurityState.java deleted file mode 100644 index 56231c97fb8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseCloudAppSecurityState.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Cloud App Security State. - */ -public class BaseCloudAppSecurityState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Destination Service Ip. - * Destination IP Address of the connection to the cloud application/service. - */ - @SerializedName("destinationServiceIp") - @Expose - public String destinationServiceIp; - - /** - * The Destination Service Name. - * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.). - */ - @SerializedName("destinationServiceName") - @Expose - public String destinationServiceName; - - /** - * The Risk Score. - * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage. - */ - @SerializedName("riskScore") - @Expose - public String riskScore; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseColumnDefinition.java b/src/main/java/com/microsoft/graph/models/generated/BaseColumnDefinition.java deleted file mode 100644 index ad25be76ef5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseColumnDefinition.java +++ /dev/null @@ -1,232 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.BooleanColumn; -import com.microsoft.graph.models.extensions.CalculatedColumn; -import com.microsoft.graph.models.extensions.ChoiceColumn; -import com.microsoft.graph.models.extensions.CurrencyColumn; -import com.microsoft.graph.models.extensions.DateTimeColumn; -import com.microsoft.graph.models.extensions.DefaultColumnValue; -import com.microsoft.graph.models.extensions.LookupColumn; -import com.microsoft.graph.models.extensions.NumberColumn; -import com.microsoft.graph.models.extensions.PersonOrGroupColumn; -import com.microsoft.graph.models.extensions.TextColumn; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition. - */ -public class BaseColumnDefinition extends Entity implements IJsonBackedObject { - - - /** - * The Boolean. - * This column stores boolean values. - */ - @SerializedName("boolean") - @Expose - public BooleanColumn msgraphboolean; - - /** - * The Calculated. - * This column's data is calculated based on other columns. - */ - @SerializedName("calculated") - @Expose - public CalculatedColumn calculated; - - /** - * The Choice. - * This column stores data from a list of choices. - */ - @SerializedName("choice") - @Expose - public ChoiceColumn choice; - - /** - * The Column Group. - * For site columns, the name of the group this column belongs to. Helps organize related columns. - */ - @SerializedName("columnGroup") - @Expose - public String columnGroup; - - /** - * The Currency. - * This column stores currency values. - */ - @SerializedName("currency") - @Expose - public CurrencyColumn currency; - - /** - * The Date Time. - * This column stores DateTime values. - */ - @SerializedName("dateTime") - @Expose - public DateTimeColumn dateTime; - - /** - * The Default Value. - * The default value for this column. - */ - @SerializedName("defaultValue") - @Expose - public DefaultColumnValue defaultValue; - - /** - * The Description. - * The user-facing description of the column. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Display Name. - * The user-facing name of the column. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Enforce Unique Values. - * If true, no two list items may have the same value for this column. - */ - @SerializedName("enforceUniqueValues") - @Expose - public Boolean enforceUniqueValues; - - /** - * The Hidden. - * Specifies whether the column is displayed in the user interface. - */ - @SerializedName("hidden") - @Expose - public Boolean hidden; - - /** - * The Indexed. - * Specifies whether the column values can used for sorting and searching. - */ - @SerializedName("indexed") - @Expose - public Boolean indexed; - - /** - * The Lookup. - * This column's data is looked up from another source in the site. - */ - @SerializedName("lookup") - @Expose - public LookupColumn lookup; - - /** - * The Name. - * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Number. - * This column stores number values. - */ - @SerializedName("number") - @Expose - public NumberColumn number; - - /** - * The Person Or Group. - * This column stores Person or Group values. - */ - @SerializedName("personOrGroup") - @Expose - public PersonOrGroupColumn personOrGroup; - - /** - * The Read Only. - * Specifies whether the column values can be modified. - */ - @SerializedName("readOnly") - @Expose - public Boolean readOnly; - - /** - * The Required. - * Specifies whether the column value is not optional. - */ - @SerializedName("required") - @Expose - public Boolean required; - - /** - * The Text. - * This column stores text values. - */ - @SerializedName("text") - @Expose - public TextColumn text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseColumnLink.java b/src/main/java/com/microsoft/graph/models/generated/BaseColumnLink.java deleted file mode 100644 index 35ec4497c53..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseColumnLink.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link. - */ -public class BaseColumnLink extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * The name of the column in this content type. - */ - @SerializedName("name") - @Expose - public String name; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseComplexExtensionValue.java b/src/main/java/com/microsoft/graph/models/generated/BaseComplexExtensionValue.java deleted file mode 100644 index 02a8260eacc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseComplexExtensionValue.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Complex Extension Value. - */ -public class BaseComplexExtensionValue implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseConfigurationManagerClientEnabledFeatures.java b/src/main/java/com/microsoft/graph/models/generated/BaseConfigurationManagerClientEnabledFeatures.java deleted file mode 100644 index 172a3a18365..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseConfigurationManagerClientEnabledFeatures.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Configuration Manager Client Enabled Features. - */ -public class BaseConfigurationManagerClientEnabledFeatures implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Inventory. - * Whether inventory is managed by Intune - */ - @SerializedName("inventory") - @Expose - public Boolean inventory; - - /** - * The Modern Apps. - * Whether modern application is managed by Intune - */ - @SerializedName("modernApps") - @Expose - public Boolean modernApps; - - /** - * The Resource Access. - * Whether resource access is managed by Intune - */ - @SerializedName("resourceAccess") - @Expose - public Boolean resourceAccess; - - /** - * The Device Configuration. - * Whether device configuration is managed by Intune - */ - @SerializedName("deviceConfiguration") - @Expose - public Boolean deviceConfiguration; - - /** - * The Compliance Policy. - * Whether compliance policy is managed by Intune - */ - @SerializedName("compliancePolicy") - @Expose - public Boolean compliancePolicy; - - /** - * The Windows Update For Business. - * Whether Windows Update for Business is managed by Intune - */ - @SerializedName("windowsUpdateForBusiness") - @Expose - public Boolean windowsUpdateForBusiness; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseContact.java b/src/main/java/com/microsoft/graph/models/generated/BaseContact.java deleted file mode 100644 index c3844d2c519..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseContact.java +++ /dev/null @@ -1,420 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EmailAddress; -import com.microsoft.graph.models.extensions.PhysicalAddress; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact. - */ -public class BaseContact extends OutlookItem implements IJsonBackedObject { - - - /** - * The Parent Folder Id. - * The ID of the contact's parent folder. - */ - @SerializedName("parentFolderId") - @Expose - public String parentFolderId; - - /** - * The Birthday. - * The contact's birthday. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("birthday") - @Expose - public java.util.Calendar birthday; - - /** - * The File As. - * The name the contact is filed under. - */ - @SerializedName("fileAs") - @Expose - public String fileAs; - - /** - * The Display Name. - * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Given Name. - * The contact's given name. - */ - @SerializedName("givenName") - @Expose - public String givenName; - - /** - * The Initials. - * The contact's initials. - */ - @SerializedName("initials") - @Expose - public String initials; - - /** - * The Middle Name. - * The contact's middle name. - */ - @SerializedName("middleName") - @Expose - public String middleName; - - /** - * The Nick Name. - * The contact's nickname. - */ - @SerializedName("nickName") - @Expose - public String nickName; - - /** - * The Surname. - * The contact's surname. - */ - @SerializedName("surname") - @Expose - public String surname; - - /** - * The Title. - * The contact's title. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Yomi Given Name. - * The phonetic Japanese given name (first name) of the contact. - */ - @SerializedName("yomiGivenName") - @Expose - public String yomiGivenName; - - /** - * The Yomi Surname. - * The phonetic Japanese surname (last name) of the contact. - */ - @SerializedName("yomiSurname") - @Expose - public String yomiSurname; - - /** - * The Yomi Company Name. - * The phonetic Japanese company name of the contact. - */ - @SerializedName("yomiCompanyName") - @Expose - public String yomiCompanyName; - - /** - * The Generation. - * The contact's generation. - */ - @SerializedName("generation") - @Expose - public String generation; - - /** - * The Email Addresses. - * The contact's email addresses. - */ - @SerializedName("emailAddresses") - @Expose - public java.util.List emailAddresses; - - /** - * The Im Addresses. - * The contact's instant messaging (IM) addresses. - */ - @SerializedName("imAddresses") - @Expose - public java.util.List imAddresses; - - /** - * The Job Title. - * The contact’s job title. - */ - @SerializedName("jobTitle") - @Expose - public String jobTitle; - - /** - * The Company Name. - * The name of the contact's company. - */ - @SerializedName("companyName") - @Expose - public String companyName; - - /** - * The Department. - * The contact's department. - */ - @SerializedName("department") - @Expose - public String department; - - /** - * The Office Location. - * The location of the contact's office. - */ - @SerializedName("officeLocation") - @Expose - public String officeLocation; - - /** - * The Profession. - * The contact's profession. - */ - @SerializedName("profession") - @Expose - public String profession; - - /** - * The Business Home Page. - * The business home page of the contact. - */ - @SerializedName("businessHomePage") - @Expose - public String businessHomePage; - - /** - * The Assistant Name. - * The name of the contact's assistant. - */ - @SerializedName("assistantName") - @Expose - public String assistantName; - - /** - * The Manager. - * The name of the contact's manager. - */ - @SerializedName("manager") - @Expose - public String manager; - - /** - * The Home Phones. - * The contact's home phone numbers. - */ - @SerializedName("homePhones") - @Expose - public java.util.List homePhones; - - /** - * The Mobile Phone. - * The contact's mobile phone number. - */ - @SerializedName("mobilePhone") - @Expose - public String mobilePhone; - - /** - * The Business Phones. - * The contact's business phone numbers. - */ - @SerializedName("businessPhones") - @Expose - public java.util.List businessPhones; - - /** - * The Home Address. - * The contact's home address. - */ - @SerializedName("homeAddress") - @Expose - public PhysicalAddress homeAddress; - - /** - * The Business Address. - * The contact's business address. - */ - @SerializedName("businessAddress") - @Expose - public PhysicalAddress businessAddress; - - /** - * The Other Address. - * Other addresses for the contact. - */ - @SerializedName("otherAddress") - @Expose - public PhysicalAddress otherAddress; - - /** - * The Spouse Name. - * The name of the contact's spouse/partner. - */ - @SerializedName("spouseName") - @Expose - public String spouseName; - - /** - * The Personal Notes. - * The user's notes about the contact. - */ - @SerializedName("personalNotes") - @Expose - public String personalNotes; - - /** - * The Children. - * The names of the contact's children. - */ - @SerializedName("children") - @Expose - public java.util.List children; - - /** - * The Extensions. - * The collection of open extensions defined for the contact. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the contact. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the contact. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - /** - * The Photo. - * Optional contact picture. You can get or set a photo for a contact. - */ - @SerializedName("photo") - @Expose - public ProfilePhoto photo; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseContactFolder.java b/src/main/java/com/microsoft/graph/models/generated/BaseContactFolder.java deleted file mode 100644 index 486335592df..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseContactFolder.java +++ /dev/null @@ -1,186 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Contact; -import com.microsoft.graph.models.extensions.ContactFolder; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseContactCollectionResponse; -import com.microsoft.graph.requests.extensions.ContactCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactFolderCollectionResponse; -import com.microsoft.graph.requests.extensions.ContactFolderCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder. - */ -public class BaseContactFolder extends Entity implements IJsonBackedObject { - - - /** - * The Parent Folder Id. - * The ID of the folder's parent folder. - */ - @SerializedName("parentFolderId") - @Expose - public String parentFolderId; - - /** - * The Display Name. - * The folder's display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Contacts. - * The contacts in the folder. Navigation property. Read-only. Nullable. - */ - public ContactCollectionPage contacts; - - /** - * The Child Folders. - * The collection of child folders in the folder. Navigation property. Read-only. Nullable. - */ - public ContactFolderCollectionPage childFolders; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("contacts")) { - final BaseContactCollectionResponse response = new BaseContactCollectionResponse(); - if (json.has("contacts@odata.nextLink")) { - response.nextLink = json.get("contacts@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contacts").toString(), JsonObject[].class); - final Contact[] array = new Contact[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Contact.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contacts = new ContactCollectionPage(response, null); - } - - if (json.has("childFolders")) { - final BaseContactFolderCollectionResponse response = new BaseContactFolderCollectionResponse(); - if (json.has("childFolders@odata.nextLink")) { - response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); - final ContactFolder[] array = new ContactFolder[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContactFolder.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - childFolders = new ContactFolderCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseContentType.java b/src/main/java/com/microsoft/graph/models/generated/BaseContentType.java deleted file mode 100644 index b4a6dbcfa7f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseContentType.java +++ /dev/null @@ -1,169 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ItemReference; -import com.microsoft.graph.models.extensions.ContentTypeOrder; -import com.microsoft.graph.models.extensions.ColumnLink; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseColumnLinkCollectionResponse; -import com.microsoft.graph.requests.extensions.ColumnLinkCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type. - */ -public class BaseContentType extends Entity implements IJsonBackedObject { - - - /** - * The Description. - * The descriptive text for the item. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Group. - * The name of the group this content type belongs to. Helps organize related content types. - */ - @SerializedName("group") - @Expose - public String group; - - /** - * The Hidden. - * Indicates whether the content type is hidden in the list's 'New' menu. - */ - @SerializedName("hidden") - @Expose - public Boolean hidden; - - /** - * The Inherited From. - * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined. - */ - @SerializedName("inheritedFrom") - @Expose - public ItemReference inheritedFrom; - - /** - * The Name. - * The name of the content type. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Order. - * Specifies the order in which the content type appears in the selection UI. - */ - @SerializedName("order") - @Expose - public ContentTypeOrder order; - - /** - * The Parent Id. - * The unique identifier of the content type. - */ - @SerializedName("parentId") - @Expose - public String parentId; - - /** - * The Read Only. - * If true, the content type cannot be modified unless this value is first set to false. - */ - @SerializedName("readOnly") - @Expose - public Boolean readOnly; - - /** - * The Sealed. - * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. - */ - @SerializedName("sealed") - @Expose - public Boolean sealed; - - /** - * The Column Links. - * The collection of columns that are required by this content type - */ - public ColumnLinkCollectionPage columnLinks; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("columnLinks")) { - final BaseColumnLinkCollectionResponse response = new BaseColumnLinkCollectionResponse(); - if (json.has("columnLinks@odata.nextLink")) { - response.nextLink = json.get("columnLinks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columnLinks").toString(), JsonObject[].class); - final ColumnLink[] array = new ColumnLink[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ColumnLink.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - columnLinks = new ColumnLinkCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseContentTypeInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseContentTypeInfo.java deleted file mode 100644 index 85ea2d53748..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseContentTypeInfo.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Info. - */ -public class BaseContentTypeInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Id. - * The id of the content type. - */ - @SerializedName("id") - @Expose - public String id; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseContentTypeOrder.java b/src/main/java/com/microsoft/graph/models/generated/BaseContentTypeOrder.java deleted file mode 100644 index 692eb79a26c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseContentTypeOrder.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Order. - */ -public class BaseContentTypeOrder implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Default. - * Whether this is the default Content Type - */ - @SerializedName("default") - @Expose - public Boolean msgraphdefault; - - /** - * The Position. - * Specifies the position in which the Content Type appears in the selection UI. - */ - @SerializedName("position") - @Expose - public Integer position; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseContract.java b/src/main/java/com/microsoft/graph/models/generated/BaseContract.java deleted file mode 100644 index b42aa44316c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseContract.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DirectoryObject; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract. - */ -public class BaseContract extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Contract Type. - * Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners. - */ - @SerializedName("contractType") - @Expose - public String contractType; - - /** - * The Customer Id. - * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. - */ - @SerializedName("customerId") - @Expose - public java.util.UUID customerId; - - /** - * The Default Domain Name. - * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. - */ - @SerializedName("defaultDomainName") - @Expose - public String defaultDomainName; - - /** - * The Display Name. - * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseConversation.java b/src/main/java/com/microsoft/graph/models/generated/BaseConversation.java deleted file mode 100644 index 7ca013d5172..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseConversation.java +++ /dev/null @@ -1,135 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ConversationThread; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseConversationThreadCollectionResponse; -import com.microsoft.graph.requests.extensions.ConversationThreadCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation. - */ -public class BaseConversation extends Entity implements IJsonBackedObject { - - - /** - * The Topic. - * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. - */ - @SerializedName("topic") - @Expose - public String topic; - - /** - * The Has Attachments. - * Indicates whether any of the posts within this Conversation has at least one attachment. - */ - @SerializedName("hasAttachments") - @Expose - public Boolean hasAttachments; - - /** - * The Last Delivered Date Time. - * 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastDeliveredDateTime") - @Expose - public java.util.Calendar lastDeliveredDateTime; - - /** - * The Unique Senders. - * All the users that sent a message to this Conversation. - */ - @SerializedName("uniqueSenders") - @Expose - public java.util.List uniqueSenders; - - /** - * The Preview. - * A short summary from the body of the latest post in this converstaion. - */ - @SerializedName("preview") - @Expose - public String preview; - - /** - * The Threads. - * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. - */ - public ConversationThreadCollectionPage threads; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("threads")) { - final BaseConversationThreadCollectionResponse response = new BaseConversationThreadCollectionResponse(); - if (json.has("threads@odata.nextLink")) { - response.nextLink = json.get("threads@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("threads").toString(), JsonObject[].class); - final ConversationThread[] array = new ConversationThread[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConversationThread.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - threads = new ConversationThreadCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseConversationThread.java b/src/main/java/com/microsoft/graph/models/generated/BaseConversationThread.java deleted file mode 100644 index f9f10c19c6c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseConversationThread.java +++ /dev/null @@ -1,160 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BasePostCollectionResponse; -import com.microsoft.graph.requests.extensions.PostCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread. - */ -public class BaseConversationThread extends Entity implements IJsonBackedObject { - - - /** - * The To Recipients. - * The To: recipients for the thread. - */ - @SerializedName("toRecipients") - @Expose - public java.util.List toRecipients; - - /** - * The Topic. - * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. - */ - @SerializedName("topic") - @Expose - public String topic; - - /** - * The Has Attachments. - * Indicates whether any of the posts within this thread has at least one attachment. - */ - @SerializedName("hasAttachments") - @Expose - public Boolean hasAttachments; - - /** - * The Last Delivered Date Time. - * 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastDeliveredDateTime") - @Expose - public java.util.Calendar lastDeliveredDateTime; - - /** - * The Unique Senders. - * All the users that sent a message to this thread. - */ - @SerializedName("uniqueSenders") - @Expose - public java.util.List uniqueSenders; - - /** - * The Cc Recipients. - * The Cc: recipients for the thread. - */ - @SerializedName("ccRecipients") - @Expose - public java.util.List ccRecipients; - - /** - * The Preview. - * A short summary from the body of the latest post in this converstaion. - */ - @SerializedName("preview") - @Expose - public String preview; - - /** - * The Is Locked. - * Indicates if the thread is locked. - */ - @SerializedName("isLocked") - @Expose - public Boolean isLocked; - - /** - * The Posts. - * Read-only. Nullable. - */ - public PostCollectionPage posts; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("posts")) { - final BasePostCollectionResponse response = new BasePostCollectionResponse(); - if (json.has("posts@odata.nextLink")) { - response.nextLink = json.get("posts@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("posts").toString(), JsonObject[].class); - final Post[] array = new Post[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Post.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - posts = new PostCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseConversationThreadReplyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseConversationThreadReplyBody.java deleted file mode 100644 index 53329ddace2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseConversationThreadReplyBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Reply Body. - */ -public class BaseConversationThreadReplyBody { - - /** - * The post. - * - */ - @SerializedName("post") - @Expose - public Post post; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseCurrencyColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseCurrencyColumn.java deleted file mode 100644 index 3235ecc7778..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseCurrencyColumn.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Currency Column. - */ -public class BaseCurrencyColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Locale. - * Specifies the locale from which to infer the currency symbol. - */ - @SerializedName("locale") - @Expose - public String locale; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseCustomTimeZone.java b/src/main/java/com/microsoft/graph/models/generated/BaseCustomTimeZone.java deleted file mode 100644 index fd6f1be9efa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseCustomTimeZone.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.StandardTimeZoneOffset; -import com.microsoft.graph.models.extensions.DaylightTimeZoneOffset; -import com.microsoft.graph.models.extensions.TimeZoneBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Custom Time Zone. - */ -public class BaseCustomTimeZone extends TimeZoneBase implements IJsonBackedObject { - - - /** - * The Bias. - * The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset. - */ - @SerializedName("bias") - @Expose - public Integer bias; - - /** - * The Standard Offset. - * Specifies when the time zone switches from daylight saving time to standard time. - */ - @SerializedName("standardOffset") - @Expose - public StandardTimeZoneOffset standardOffset; - - /** - * The Daylight Offset. - * Specifies when the time zone switches from standard time to daylight saving time. - */ - @SerializedName("daylightOffset") - @Expose - public DaylightTimeZoneOffset daylightOffset; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDataPolicyOperation.java b/src/main/java/com/microsoft/graph/models/generated/BaseDataPolicyOperation.java deleted file mode 100644 index 0414e9e84ce..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDataPolicyOperation.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DataPolicyOperationStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation. - */ -public class BaseDataPolicyOperation extends Entity implements IJsonBackedObject { - - - /** - * The Completed Date Time. - * Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Null until the operation completes. - */ - @SerializedName("completedDateTime") - @Expose - public java.util.Calendar completedDateTime; - - /** - * The Status. - * Possible values are: notStarted, running, complete, failed, unknownFutureValue. - */ - @SerializedName("status") - @Expose - public DataPolicyOperationStatus status; - - /** - * The Storage Location. - * The URL location to where data is being exported for export requests. - */ - @SerializedName("storageLocation") - @Expose - public String storageLocation; - - /** - * The User Id. - * The id for the user on whom the operation is performed. - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The Submitted Date Time. - * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("submittedDateTime") - @Expose - public java.util.Calendar submittedDateTime; - - /** - * The Progress. - * Specifies the progress of an operation. - */ - @SerializedName("progress") - @Expose - public Double progress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDateTimeColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseDateTimeColumn.java deleted file mode 100644 index 6a9c9c7195e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDateTimeColumn.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Date Time Column. - */ -public class BaseDateTimeColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display As. - * How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default. - */ - @SerializedName("displayAs") - @Expose - public String displayAs; - - /** - * The Format. - * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime - */ - @SerializedName("format") - @Expose - public String format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDateTimeTimeZone.java b/src/main/java/com/microsoft/graph/models/generated/BaseDateTimeTimeZone.java deleted file mode 100644 index 25b6772cd35..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDateTimeTimeZone.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Date Time Time Zone. - */ -public class BaseDateTimeTimeZone implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Date Time. - * A single point of time in a combined date and time representation (&lt;date&gt;T&lt;time&gt;). - */ - @SerializedName("dateTime") - @Expose - public String dateTime; - - /** - * The Time Zone. - * One of the following time zone names. - */ - @SerializedName("timeZone") - @Expose - public String timeZone; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDaylightTimeZoneOffset.java b/src/main/java/com/microsoft/graph/models/generated/BaseDaylightTimeZoneOffset.java deleted file mode 100644 index b195dccc026..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDaylightTimeZoneOffset.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.StandardTimeZoneOffset; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Daylight Time Zone Offset. - */ -public class BaseDaylightTimeZoneOffset extends StandardTimeZoneOffset implements IJsonBackedObject { - - - /** - * The Daylight Bias. - * The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes. - */ - @SerializedName("daylightBias") - @Expose - public Integer daylightBias; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDefaultColumnValue.java b/src/main/java/com/microsoft/graph/models/generated/BaseDefaultColumnValue.java deleted file mode 100644 index 4057469b6d7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDefaultColumnValue.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Column Value. - */ -public class BaseDefaultColumnValue implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Formula. - * The formula used to compute the default value for this column. - */ - @SerializedName("formula") - @Expose - public String formula; - - /** - * The Value. - * The direct value to use as the default value for this column. - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDefaultManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseDefaultManagedAppProtection.java deleted file mode 100644 index 696506077e2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDefaultManagedAppProtection.java +++ /dev/null @@ -1,186 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedAppDataEncryptionType; -import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; -import com.microsoft.graph.models.extensions.ManagedAppProtection; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection. - */ -public class BaseDefaultManagedAppProtection extends ManagedAppProtection implements IJsonBackedObject { - - - /** - * The App Data Encryption Type. - * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. - */ - @SerializedName("appDataEncryptionType") - @Expose - public ManagedAppDataEncryptionType appDataEncryptionType; - - /** - * The Screen Capture Blocked. - * Indicates whether screen capture is blocked. (Android only) - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Encrypt App Data. - * Indicates whether managed-app data should be encrypted. (Android only) - */ - @SerializedName("encryptAppData") - @Expose - public Boolean encryptAppData; - - /** - * The Disable App Encryption If Device Encryption Is Enabled. - * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - */ - @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") - @Expose - public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; - - /** - * The Minimum Required Sdk Version. - * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - */ - @SerializedName("minimumRequiredSdkVersion") - @Expose - public String minimumRequiredSdkVersion; - - /** - * The Custom Settings. - * A set of string key and string value pairs to be sent to the affected users, unalterned by this service - */ - @SerializedName("customSettings") - @Expose - public java.util.List customSettings; - - /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. - */ - @SerializedName("deployedAppCount") - @Expose - public Integer deployedAppCount; - - /** - * The Minimum Required Patch Version. - * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - */ - @SerializedName("minimumRequiredPatchVersion") - @Expose - public String minimumRequiredPatchVersion; - - /** - * The Minimum Warning Patch Version. - * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - */ - @SerializedName("minimumWarningPatchVersion") - @Expose - public String minimumWarningPatchVersion; - - /** - * The Face Id Blocked. - * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - */ - @SerializedName("faceIdBlocked") - @Expose - public Boolean faceIdBlocked; - - /** - * The Apps. - * List of apps to which the policy is deployed. - */ - public ManagedMobileAppCollectionPage apps; - - /** - * The Deployment Summary. - * Navigation property to deployment summary of the configuration. - */ - @SerializedName("deploymentSummary") - @Expose - public ManagedAppPolicyDeploymentSummary deploymentSummary; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("apps")) { - final BaseManagedMobileAppCollectionResponse response = new BaseManagedMobileAppCollectionResponse(); - if (json.has("apps@odata.nextLink")) { - response.nextLink = json.get("apps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); - final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - apps = new ManagedMobileAppCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDefenderDetectedMalwareActions.java b/src/main/java/com/microsoft/graph/models/generated/BaseDefenderDetectedMalwareActions.java deleted file mode 100644 index c1434a4ef7d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDefenderDetectedMalwareActions.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DefenderThreatAction; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Defender Detected Malware Actions. - */ -public class BaseDefenderDetectedMalwareActions implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Low Severity. - * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. - */ - @SerializedName("lowSeverity") - @Expose - public DefenderThreatAction lowSeverity; - - /** - * The Moderate Severity. - * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. - */ - @SerializedName("moderateSeverity") - @Expose - public DefenderThreatAction moderateSeverity; - - /** - * The High Severity. - * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. - */ - @SerializedName("highSeverity") - @Expose - public DefenderThreatAction highSeverity; - - /** - * The Severe Severity. - * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. - */ - @SerializedName("severeSeverity") - @Expose - public DefenderThreatAction severeSeverity; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeleteUserFromSharedAppleDeviceActionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeleteUserFromSharedAppleDeviceActionResult.java deleted file mode 100644 index 5d442f9210b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeleteUserFromSharedAppleDeviceActionResult.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceActionResult; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Delete User From Shared Apple Device Action Result. - */ -public class BaseDeleteUserFromSharedAppleDeviceActionResult extends DeviceActionResult implements IJsonBackedObject { - - - /** - * The User Principal Name. - * User principal name of the user to be deleted - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeleted.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeleted.java deleted file mode 100644 index 2e3871e27eb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeleted.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Deleted. - */ -public class BaseDeleted implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The State. - * Represents the state of the deleted item. - */ - @SerializedName("state") - @Expose - public String state; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDetectedApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseDetectedApp.java deleted file mode 100644 index b39b0c8d849..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDetectedApp.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedDevice; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App. - */ -public class BaseDetectedApp extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Name of the discovered application. Read-only - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * Version of the discovered application. Read-only - */ - @SerializedName("version") - @Expose - public String version; - - /** - * The Size In Byte. - * Discovered application size in bytes. Read-only - */ - @SerializedName("sizeInByte") - @Expose - public Long sizeInByte; - - /** - * The Device Count. - * The number of devices that have installed this application - */ - @SerializedName("deviceCount") - @Expose - public Integer deviceCount; - - /** - * The Managed Devices. - * The devices that have the discovered application installed - */ - public ManagedDeviceCollectionPage managedDevices; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("managedDevices")) { - final BaseManagedDeviceCollectionResponse response = new BaseManagedDeviceCollectionResponse(); - if (json.has("managedDevices@odata.nextLink")) { - response.nextLink = json.get("managedDevices@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedDevices").toString(), JsonObject[].class); - final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedDevices = new ManagedDeviceCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDevice.java b/src/main/java/com/microsoft/graph/models/generated/BaseDevice.java deleted file mode 100644 index 3b2bf6c9f7d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDevice.java +++ /dev/null @@ -1,284 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AlternativeSecurityId; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device. - */ -public class BaseDevice extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Account Enabled. - * true if the account is enabled; otherwise, false. Required. - */ - @SerializedName("accountEnabled") - @Expose - public Boolean accountEnabled; - - /** - * The Alternative Security Ids. - * For internal use only. Not nullable. - */ - @SerializedName("alternativeSecurityIds") - @Expose - public java.util.List alternativeSecurityIds; - - /** - * The Approximate Last Sign In Date Time. - * 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 would look like this: '2014-01-01T00:00:00Z' Read-only. - */ - @SerializedName("approximateLastSignInDateTime") - @Expose - public java.util.Calendar approximateLastSignInDateTime; - - /** - * The Device Id. - * Unique identifier set by Azure Device Registration Service at the time of registration. - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The Device Metadata. - * For interal use only. Set to null. - */ - @SerializedName("deviceMetadata") - @Expose - public String deviceMetadata; - - /** - * The Device Version. - * For interal use only. - */ - @SerializedName("deviceVersion") - @Expose - public Integer deviceVersion; - - /** - * The Display Name. - * The display name for the device. Required. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Is Compliant. - * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. - */ - @SerializedName("isCompliant") - @Expose - public Boolean isCompliant; - - /** - * The Is Managed. - * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. - */ - @SerializedName("isManaged") - @Expose - public Boolean isManaged; - - /** - * The On Premises Last Sync Date Time. - * The last time at which the object was synced with the on-premises directory.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 would look like this: '2014-01-01T00:00:00Z' Read-only. - */ - @SerializedName("onPremisesLastSyncDateTime") - @Expose - public java.util.Calendar onPremisesLastSyncDateTime; - - /** - * The On Premises Sync Enabled. - * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. - */ - @SerializedName("onPremisesSyncEnabled") - @Expose - public Boolean onPremisesSyncEnabled; - - /** - * The Operating System. - * The type of operating system on the device. Required. - */ - @SerializedName("operatingSystem") - @Expose - public String operatingSystem; - - /** - * The Operating System Version. - * The version of the operating system on the device. Required. - */ - @SerializedName("operatingSystemVersion") - @Expose - public String operatingSystemVersion; - - /** - * The Physical Ids. - * For interal use only. Not nullable. - */ - @SerializedName("physicalIds") - @Expose - public java.util.List physicalIds; - - /** - * The Trust Type. - * Type of trust for the joined device. Read-only. Possible values: Workplace - indicates bring your own personal devicesAzureAd - Cloud only joined devicesServerAd - on-premises domain joined devices joined to Azure AD. For more details, see Introduction to device management in Azure Active Directory - */ - @SerializedName("trustType") - @Expose - public String trustType; - - /** - * The Member Of. - * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. - */ - public DirectoryObjectCollectionPage memberOf; - - /** - * The Registered Owners. - * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage registeredOwners; - - /** - * The Registered Users. - * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage registeredUsers; - - /** - * The Extensions. - * The collection of open extensions defined for the device. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("memberOf")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("memberOf@odata.nextLink")) { - response.nextLink = json.get("memberOf@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("memberOf").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - memberOf = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("registeredOwners")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("registeredOwners@odata.nextLink")) { - response.nextLink = json.get("registeredOwners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("registeredOwners").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - registeredOwners = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("registeredUsers")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("registeredUsers@odata.nextLink")) { - response.nextLink = json.get("registeredUsers@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("registeredUsers").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - registeredUsers = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceActionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceActionResult.java deleted file mode 100644 index 347264e24f0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceActionResult.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ActionState; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Action Result. - */ -public class BaseDeviceActionResult implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Action Name. - * Action name - */ - @SerializedName("actionName") - @Expose - public String actionName; - - /** - * The Action State. - * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. - */ - @SerializedName("actionState") - @Expose - public ActionState actionState; - - /** - * The Start Date Time. - * Time the action was initiated - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - - /** - * The Last Updated Date Time. - * Time the action state was last updated - */ - @SerializedName("lastUpdatedDateTime") - @Expose - public java.util.Calendar lastUpdatedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementAssignmentTarget.java deleted file mode 100644 index 1a5a82e6232..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementAssignmentTarget.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Assignment Target. - */ -public class BaseDeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleAssignment.java deleted file mode 100644 index 0e211892c37..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleAssignment.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RoleAssignment; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment. - */ -public class BaseDeviceAndAppManagementRoleAssignment extends RoleAssignment implements IJsonBackedObject { - - - /** - * The Members. - * The list of ids of role member security groups. These are IDs from Azure Active Directory. - */ - @SerializedName("members") - @Expose - public java.util.List members; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleDefinition.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleDefinition.java deleted file mode 100644 index bd5ead21f32..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAndAppManagementRoleDefinition.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RoleDefinition; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Definition. - */ -public class BaseDeviceAndAppManagementRoleDefinition extends RoleDefinition implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAppManagement.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAppManagement.java deleted file mode 100644 index d3ea07fd507..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceAppManagement.java +++ /dev/null @@ -1,452 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.extensions.MobileAppCategory; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; -import com.microsoft.graph.models.extensions.VppToken; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; -import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; -import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; -import com.microsoft.graph.models.extensions.ManagedAppStatus; -import com.microsoft.graph.models.extensions.ManagedEBook; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseMobileAppCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseVppTokenCollectionResponse; -import com.microsoft.graph.requests.extensions.VppTokenCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionCollectionResponse; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionCollectionResponse; -import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionCollectionResponse; -import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedEBookCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedEBookCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device App Management. - */ -public class BaseDeviceAppManagement extends Entity implements IJsonBackedObject { - - - /** - * The Microsoft Store For Business Last Successful Sync Date Time. - * The last time the apps from the Microsoft Store for Business were synced successfully for the account. - */ - @SerializedName("microsoftStoreForBusinessLastSuccessfulSyncDateTime") - @Expose - public java.util.Calendar microsoftStoreForBusinessLastSuccessfulSyncDateTime; - - /** - * The Is Enabled For Microsoft Store For Business. - * Whether the account is enabled for syncing applications from the Microsoft Store for Business. - */ - @SerializedName("isEnabledForMicrosoftStoreForBusiness") - @Expose - public Boolean isEnabledForMicrosoftStoreForBusiness; - - /** - * The Microsoft Store For Business Language. - * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&lt;country/regioncode2&gt;, where is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture. - */ - @SerializedName("microsoftStoreForBusinessLanguage") - @Expose - public String microsoftStoreForBusinessLanguage; - - /** - * The Microsoft Store For Business Last Completed Application Sync Time. - * The last time an application sync from the Microsoft Store for Business was completed. - */ - @SerializedName("microsoftStoreForBusinessLastCompletedApplicationSyncTime") - @Expose - public java.util.Calendar microsoftStoreForBusinessLastCompletedApplicationSyncTime; - - /** - * The Mobile Apps. - * The mobile apps. - */ - public MobileAppCollectionPage mobileApps; - - /** - * The Mobile App Categories. - * The mobile app categories. - */ - public MobileAppCategoryCollectionPage mobileAppCategories; - - /** - * The Mobile App Configurations. - * The Managed Device Mobile Application Configurations. - */ - public ManagedDeviceMobileAppConfigurationCollectionPage mobileAppConfigurations; - - /** - * The Vpp Tokens. - * List of Vpp tokens for this organization. - */ - public VppTokenCollectionPage vppTokens; - - /** - * The Managed App Policies. - * Managed app policies. - */ - public ManagedAppPolicyCollectionPage managedAppPolicies; - - /** - * The Ios Managed App Protections. - * iOS managed app policies. - */ - public IosManagedAppProtectionCollectionPage iosManagedAppProtections; - - /** - * The Android Managed App Protections. - * Android managed app policies. - */ - public AndroidManagedAppProtectionCollectionPage androidManagedAppProtections; - - /** - * The Default Managed App Protections. - * Default managed app policies. - */ - public DefaultManagedAppProtectionCollectionPage defaultManagedAppProtections; - - /** - * The Targeted Managed App Configurations. - * Targeted managed app configurations. - */ - public TargetedManagedAppConfigurationCollectionPage targetedManagedAppConfigurations; - - /** - * The Mdm Windows Information Protection Policies. - * Windows information protection for apps running on devices which are MDM enrolled. - */ - public MdmWindowsInformationProtectionPolicyCollectionPage mdmWindowsInformationProtectionPolicies; - - /** - * The Windows Information Protection Policies. - * Windows information protection for apps running on devices which are not MDM enrolled. - */ - public WindowsInformationProtectionPolicyCollectionPage windowsInformationProtectionPolicies; - - /** - * The Managed App Registrations. - * The managed app registrations. - */ - public ManagedAppRegistrationCollectionPage managedAppRegistrations; - - /** - * The Managed App Statuses. - * The managed app statuses. - */ - public ManagedAppStatusCollectionPage managedAppStatuses; - - /** - * The Managed EBooks. - * The Managed eBook. - */ - public ManagedEBookCollectionPage managedEBooks; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("mobileApps")) { - final BaseMobileAppCollectionResponse response = new BaseMobileAppCollectionResponse(); - if (json.has("mobileApps@odata.nextLink")) { - response.nextLink = json.get("mobileApps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileApps").toString(), JsonObject[].class); - final MobileApp[] array = new MobileApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mobileApps = new MobileAppCollectionPage(response, null); - } - - if (json.has("mobileAppCategories")) { - final BaseMobileAppCategoryCollectionResponse response = new BaseMobileAppCategoryCollectionResponse(); - if (json.has("mobileAppCategories@odata.nextLink")) { - response.nextLink = json.get("mobileAppCategories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppCategories").toString(), JsonObject[].class); - final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mobileAppCategories = new MobileAppCategoryCollectionPage(response, null); - } - - if (json.has("mobileAppConfigurations")) { - final BaseManagedDeviceMobileAppConfigurationCollectionResponse response = new BaseManagedDeviceMobileAppConfigurationCollectionResponse(); - if (json.has("mobileAppConfigurations@odata.nextLink")) { - response.nextLink = json.get("mobileAppConfigurations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppConfigurations").toString(), JsonObject[].class); - final ManagedDeviceMobileAppConfiguration[] array = new ManagedDeviceMobileAppConfiguration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfiguration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mobileAppConfigurations = new ManagedDeviceMobileAppConfigurationCollectionPage(response, null); - } - - if (json.has("vppTokens")) { - final BaseVppTokenCollectionResponse response = new BaseVppTokenCollectionResponse(); - if (json.has("vppTokens@odata.nextLink")) { - response.nextLink = json.get("vppTokens@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("vppTokens").toString(), JsonObject[].class); - final VppToken[] array = new VppToken[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), VppToken.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - vppTokens = new VppTokenCollectionPage(response, null); - } - - if (json.has("managedAppPolicies")) { - final BaseManagedAppPolicyCollectionResponse response = new BaseManagedAppPolicyCollectionResponse(); - if (json.has("managedAppPolicies@odata.nextLink")) { - response.nextLink = json.get("managedAppPolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppPolicies").toString(), JsonObject[].class); - final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedAppPolicies = new ManagedAppPolicyCollectionPage(response, null); - } - - if (json.has("iosManagedAppProtections")) { - final BaseIosManagedAppProtectionCollectionResponse response = new BaseIosManagedAppProtectionCollectionResponse(); - if (json.has("iosManagedAppProtections@odata.nextLink")) { - response.nextLink = json.get("iosManagedAppProtections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosManagedAppProtections").toString(), JsonObject[].class); - final IosManagedAppProtection[] array = new IosManagedAppProtection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosManagedAppProtection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - iosManagedAppProtections = new IosManagedAppProtectionCollectionPage(response, null); - } - - if (json.has("androidManagedAppProtections")) { - final BaseAndroidManagedAppProtectionCollectionResponse response = new BaseAndroidManagedAppProtectionCollectionResponse(); - if (json.has("androidManagedAppProtections@odata.nextLink")) { - response.nextLink = json.get("androidManagedAppProtections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("androidManagedAppProtections").toString(), JsonObject[].class); - final AndroidManagedAppProtection[] array = new AndroidManagedAppProtection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AndroidManagedAppProtection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - androidManagedAppProtections = new AndroidManagedAppProtectionCollectionPage(response, null); - } - - if (json.has("defaultManagedAppProtections")) { - final BaseDefaultManagedAppProtectionCollectionResponse response = new BaseDefaultManagedAppProtectionCollectionResponse(); - if (json.has("defaultManagedAppProtections@odata.nextLink")) { - response.nextLink = json.get("defaultManagedAppProtections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("defaultManagedAppProtections").toString(), JsonObject[].class); - final DefaultManagedAppProtection[] array = new DefaultManagedAppProtection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DefaultManagedAppProtection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - defaultManagedAppProtections = new DefaultManagedAppProtectionCollectionPage(response, null); - } - - if (json.has("targetedManagedAppConfigurations")) { - final BaseTargetedManagedAppConfigurationCollectionResponse response = new BaseTargetedManagedAppConfigurationCollectionResponse(); - if (json.has("targetedManagedAppConfigurations@odata.nextLink")) { - response.nextLink = json.get("targetedManagedAppConfigurations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("targetedManagedAppConfigurations").toString(), JsonObject[].class); - final TargetedManagedAppConfiguration[] array = new TargetedManagedAppConfiguration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppConfiguration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - targetedManagedAppConfigurations = new TargetedManagedAppConfigurationCollectionPage(response, null); - } - - if (json.has("mdmWindowsInformationProtectionPolicies")) { - final BaseMdmWindowsInformationProtectionPolicyCollectionResponse response = new BaseMdmWindowsInformationProtectionPolicyCollectionResponse(); - if (json.has("mdmWindowsInformationProtectionPolicies@odata.nextLink")) { - response.nextLink = json.get("mdmWindowsInformationProtectionPolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mdmWindowsInformationProtectionPolicies").toString(), JsonObject[].class); - final MdmWindowsInformationProtectionPolicy[] array = new MdmWindowsInformationProtectionPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MdmWindowsInformationProtectionPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mdmWindowsInformationProtectionPolicies = new MdmWindowsInformationProtectionPolicyCollectionPage(response, null); - } - - if (json.has("windowsInformationProtectionPolicies")) { - final BaseWindowsInformationProtectionPolicyCollectionResponse response = new BaseWindowsInformationProtectionPolicyCollectionResponse(); - if (json.has("windowsInformationProtectionPolicies@odata.nextLink")) { - response.nextLink = json.get("windowsInformationProtectionPolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionPolicies").toString(), JsonObject[].class); - final WindowsInformationProtectionPolicy[] array = new WindowsInformationProtectionPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - windowsInformationProtectionPolicies = new WindowsInformationProtectionPolicyCollectionPage(response, null); - } - - if (json.has("managedAppRegistrations")) { - final BaseManagedAppRegistrationCollectionResponse response = new BaseManagedAppRegistrationCollectionResponse(); - if (json.has("managedAppRegistrations@odata.nextLink")) { - response.nextLink = json.get("managedAppRegistrations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppRegistrations").toString(), JsonObject[].class); - final ManagedAppRegistration[] array = new ManagedAppRegistration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppRegistration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedAppRegistrations = new ManagedAppRegistrationCollectionPage(response, null); - } - - if (json.has("managedAppStatuses")) { - final BaseManagedAppStatusCollectionResponse response = new BaseManagedAppStatusCollectionResponse(); - if (json.has("managedAppStatuses@odata.nextLink")) { - response.nextLink = json.get("managedAppStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppStatuses").toString(), JsonObject[].class); - final ManagedAppStatus[] array = new ManagedAppStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedAppStatuses = new ManagedAppStatusCollectionPage(response, null); - } - - if (json.has("managedEBooks")) { - final BaseManagedEBookCollectionResponse response = new BaseManagedEBookCollectionResponse(); - if (json.has("managedEBooks@odata.nextLink")) { - response.nextLink = json.get("managedEBooks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedEBooks").toString(), JsonObject[].class); - final ManagedEBook[] array = new ManagedEBook[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBook.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedEBooks = new ManagedEBookCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCategory.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCategory.java deleted file mode 100644 index 7cea4cea857..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCategory.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category. - */ -public class BaseDeviceCategory extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Display name for the device category. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Optional description for the device category. - */ - @SerializedName("description") - @Expose - public String description; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceActionItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceActionItem.java deleted file mode 100644 index 5180b311f33..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceActionItem.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceComplianceActionType; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item. - */ -public class BaseDeviceComplianceActionItem extends Entity implements IJsonBackedObject { - - - /** - * The Grace Period Hours. - * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 - */ - @SerializedName("gracePeriodHours") - @Expose - public Integer gracePeriodHours; - - /** - * The Action Type. - * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification. - */ - @SerializedName("actionType") - @Expose - public DeviceComplianceActionType actionType; - - /** - * The Notification Template Id. - * What notification Message template to use - */ - @SerializedName("notificationTemplateId") - @Expose - public String notificationTemplateId; - - /** - * The Notification Message CCList. - * A list of group IDs to speicify who to CC this notification message to. - */ - @SerializedName("notificationMessageCCList") - @Expose - public java.util.List notificationMessageCCList; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceOverview.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceOverview.java deleted file mode 100644 index 404248d029e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceOverview.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Overview. - */ -public class BaseDeviceComplianceDeviceOverview extends Entity implements IJsonBackedObject { - - - /** - * The Pending Count. - * Number of pending devices - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Success Count. - * Number of succeeded devices - */ - @SerializedName("successCount") - @Expose - public Integer successCount; - - /** - * The Error Count. - * Number of error devices - */ - @SerializedName("errorCount") - @Expose - public Integer errorCount; - - /** - * The Failed Count. - * Number of failed devices - */ - @SerializedName("failedCount") - @Expose - public Integer failedCount; - - /** - * The Last Update Date Time. - * Last update time - */ - @SerializedName("lastUpdateDateTime") - @Expose - public java.util.Calendar lastUpdateDateTime; - - /** - * The Configuration Version. - * Version of the policy for that overview - */ - @SerializedName("configurationVersion") - @Expose - public Integer configurationVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceStatus.java deleted file mode 100644 index 8b53238390d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceDeviceStatus.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status. - */ -public class BaseDeviceComplianceDeviceStatus extends Entity implements IJsonBackedObject { - - - /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. - */ - @SerializedName("deviceDisplayName") - @Expose - public String deviceDisplayName; - - /** - * The User Name. - * The User Name that is being reported - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicy.java deleted file mode 100644 index 32328ed0ab7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicy.java +++ /dev/null @@ -1,253 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; -import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy. - */ -public class BaseDeviceCompliancePolicy extends Entity implements IJsonBackedObject { - - - /** - * The Created Date Time. - * DateTime the object was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Description. - * Admin provided description of the Device Configuration. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Display Name. - * Admin provided name of the device configuration. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * Version of the device configuration. - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Scheduled Actions For Rule. - * The list of scheduled action for this rule - */ - public DeviceComplianceScheduledActionForRuleCollectionPage scheduledActionsForRule; - - /** - * The Device Statuses. - * List of DeviceComplianceDeviceStatus. - */ - public DeviceComplianceDeviceStatusCollectionPage deviceStatuses; - - /** - * The User Statuses. - * List of DeviceComplianceUserStatus. - */ - public DeviceComplianceUserStatusCollectionPage userStatuses; - - /** - * The Device Status Overview. - * Device compliance devices status overview - */ - @SerializedName("deviceStatusOverview") - @Expose - public DeviceComplianceDeviceOverview deviceStatusOverview; - - /** - * The User Status Overview. - * Device compliance users status overview - */ - @SerializedName("userStatusOverview") - @Expose - public DeviceComplianceUserOverview userStatusOverview; - - /** - * The Device Setting State Summaries. - * Compliance Setting State Device Summary - */ - public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; - - /** - * The Assignments. - * The collection of assignments for this compliance policy. - */ - public DeviceCompliancePolicyAssignmentCollectionPage assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("scheduledActionsForRule")) { - final BaseDeviceComplianceScheduledActionForRuleCollectionResponse response = new BaseDeviceComplianceScheduledActionForRuleCollectionResponse(); - if (json.has("scheduledActionsForRule@odata.nextLink")) { - response.nextLink = json.get("scheduledActionsForRule@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scheduledActionsForRule").toString(), JsonObject[].class); - final DeviceComplianceScheduledActionForRule[] array = new DeviceComplianceScheduledActionForRule[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceScheduledActionForRule.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - scheduledActionsForRule = new DeviceComplianceScheduledActionForRuleCollectionPage(response, null); - } - - if (json.has("deviceStatuses")) { - final BaseDeviceComplianceDeviceStatusCollectionResponse response = new BaseDeviceComplianceDeviceStatusCollectionResponse(); - if (json.has("deviceStatuses@odata.nextLink")) { - response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); - final DeviceComplianceDeviceStatus[] array = new DeviceComplianceDeviceStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceDeviceStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceStatuses = new DeviceComplianceDeviceStatusCollectionPage(response, null); - } - - if (json.has("userStatuses")) { - final BaseDeviceComplianceUserStatusCollectionResponse response = new BaseDeviceComplianceUserStatusCollectionResponse(); - if (json.has("userStatuses@odata.nextLink")) { - response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); - final DeviceComplianceUserStatus[] array = new DeviceComplianceUserStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceUserStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userStatuses = new DeviceComplianceUserStatusCollectionPage(response, null); - } - - if (json.has("deviceSettingStateSummaries")) { - final BaseSettingStateDeviceSummaryCollectionResponse response = new BaseSettingStateDeviceSummaryCollectionResponse(); - if (json.has("deviceSettingStateSummaries@odata.nextLink")) { - response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); - final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); - } - - if (json.has("assignments")) { - final BaseDeviceCompliancePolicyAssignmentCollectionResponse response = new BaseDeviceCompliancePolicyAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final DeviceCompliancePolicyAssignment[] array = new DeviceCompliancePolicyAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicyAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new DeviceCompliancePolicyAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignBody.java deleted file mode 100644 index 6850592a03f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assign Body. - */ -public class BaseDeviceCompliancePolicyAssignBody { - - /** - * The assignments. - * - */ - @SerializedName("assignments") - @Expose - public java.util.List assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignment.java deleted file mode 100644 index 43596fd7d53..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyAssignment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment. - */ -public class BaseDeviceCompliancePolicyAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * Target for the compliance policy assignment. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyDeviceStateSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyDeviceStateSummary.java deleted file mode 100644 index 370f52e0d44..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyDeviceStateSummary.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Device State Summary. - */ -public class BaseDeviceCompliancePolicyDeviceStateSummary extends Entity implements IJsonBackedObject { - - - /** - * The In Grace Period Count. - * Number of devices that are in grace period - */ - @SerializedName("inGracePeriodCount") - @Expose - public Integer inGracePeriodCount; - - /** - * The Config Manager Count. - * Number of devices that have compliance managed by System Center Configuration Manager - */ - @SerializedName("configManagerCount") - @Expose - public Integer configManagerCount; - - /** - * The Unknown Device Count. - * Number of unknown devices - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - - /** - * The Compliant Device Count. - * Number of compliant devices - */ - @SerializedName("compliantDeviceCount") - @Expose - public Integer compliantDeviceCount; - - /** - * The Remediated Device Count. - * Number of remediated devices - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - - /** - * The Non Compliant Device Count. - * Number of NonCompliant devices - */ - @SerializedName("nonCompliantDeviceCount") - @Expose - public Integer nonCompliantDeviceCount; - - /** - * The Error Device Count. - * Number of error devices - */ - @SerializedName("errorDeviceCount") - @Expose - public Integer errorDeviceCount; - - /** - * The Conflict Device Count. - * Number of conflict devices - */ - @SerializedName("conflictDeviceCount") - @Expose - public Integer conflictDeviceCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesBody.java deleted file mode 100644 index d24495300f0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Schedule Actions For Rules Body. - */ -public class BaseDeviceCompliancePolicyScheduleActionsForRulesBody { - - /** - * The device Compliance Scheduled Action For Rules. - * - */ - @SerializedName("deviceComplianceScheduledActionForRules") - @Expose - public java.util.List deviceComplianceScheduledActionForRules; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingState.java deleted file mode 100644 index c2cfe0d6bd9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingState.java +++ /dev/null @@ -1,177 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.SettingSource; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State. - */ -public class BaseDeviceCompliancePolicySettingState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Setting. - * The setting that is being reported - */ - @SerializedName("setting") - @Expose - public String setting; - - /** - * The Setting Name. - * Localized/user friendly setting name that is being reported - */ - @SerializedName("settingName") - @Expose - public String settingName; - - /** - * The Instance Display Name. - * Name of setting instance that is being reported. - */ - @SerializedName("instanceDisplayName") - @Expose - public String instanceDisplayName; - - /** - * The State. - * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Error Code. - * Error code for the setting - */ - @SerializedName("errorCode") - @Expose - public Long errorCode; - - /** - * The Error Description. - * Error description - */ - @SerializedName("errorDescription") - @Expose - public String errorDescription; - - /** - * The User Id. - * UserId - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The User Name. - * UserName - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The User Email. - * UserEmail - */ - @SerializedName("userEmail") - @Expose - public String userEmail; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Sources. - * Contributing policies - */ - @SerializedName("sources") - @Expose - public java.util.List sources; - - /** - * The Current Value. - * Current value of setting on device - */ - @SerializedName("currentValue") - @Expose - public String currentValue; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingStateSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingStateSummary.java deleted file mode 100644 index c095c34654b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicySettingStateSummary.java +++ /dev/null @@ -1,176 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.PolicyPlatformType; -import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary. - */ -public class BaseDeviceCompliancePolicySettingStateSummary extends Entity implements IJsonBackedObject { - - - /** - * The Setting. - * The setting class name and property name. - */ - @SerializedName("setting") - @Expose - public String setting; - - /** - * The Setting Name. - * Name of the setting. - */ - @SerializedName("settingName") - @Expose - public String settingName; - - /** - * The Platform Type. - * Setting platform. Possible values are: android, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, all. - */ - @SerializedName("platformType") - @Expose - public PolicyPlatformType platformType; - - /** - * The Unknown Device Count. - * Number of unknown devices - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - - /** - * The Compliant Device Count. - * Number of compliant devices - */ - @SerializedName("compliantDeviceCount") - @Expose - public Integer compliantDeviceCount; - - /** - * The Remediated Device Count. - * Number of remediated devices - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - - /** - * The Non Compliant Device Count. - * Number of NonCompliant devices - */ - @SerializedName("nonCompliantDeviceCount") - @Expose - public Integer nonCompliantDeviceCount; - - /** - * The Error Device Count. - * Number of error devices - */ - @SerializedName("errorDeviceCount") - @Expose - public Integer errorDeviceCount; - - /** - * The Conflict Device Count. - * Number of conflict devices - */ - @SerializedName("conflictDeviceCount") - @Expose - public Integer conflictDeviceCount; - - /** - * The Device Compliance Setting States. - * Not yet documented - */ - public DeviceComplianceSettingStateCollectionPage deviceComplianceSettingStates; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("deviceComplianceSettingStates")) { - final BaseDeviceComplianceSettingStateCollectionResponse response = new BaseDeviceComplianceSettingStateCollectionResponse(); - if (json.has("deviceComplianceSettingStates@odata.nextLink")) { - response.nextLink = json.get("deviceComplianceSettingStates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceComplianceSettingStates").toString(), JsonObject[].class); - final DeviceComplianceSettingState[] array = new DeviceComplianceSettingState[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceSettingState.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceComplianceSettingStates = new DeviceComplianceSettingStateCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyState.java deleted file mode 100644 index 38b7159b1ba..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceCompliancePolicyState.java +++ /dev/null @@ -1,121 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingState; -import com.microsoft.graph.models.generated.PolicyPlatformType; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State. - */ -public class BaseDeviceCompliancePolicyState extends Entity implements IJsonBackedObject { - - - /** - * The Setting States. - * - */ - @SerializedName("settingStates") - @Expose - public java.util.List settingStates; - - /** - * The Display Name. - * The name of the policy for this policyBase - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * The version of the policy - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Platform Type. - * Platform type that the policy applies to - */ - @SerializedName("platformType") - @Expose - public PolicyPlatformType platformType; - - /** - * The State. - * The compliance state of the policy - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Setting Count. - * Count of how many setting a policy holds - */ - @SerializedName("settingCount") - @Expose - public Integer settingCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceScheduledActionForRule.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceScheduledActionForRule.java deleted file mode 100644 index 4d9904ad013..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceScheduledActionForRule.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule. - */ -public class BaseDeviceComplianceScheduledActionForRule extends Entity implements IJsonBackedObject { - - - /** - * The Rule Name. - * Name of the rule which this scheduled action applies to. - */ - @SerializedName("ruleName") - @Expose - public String ruleName; - - /** - * The Scheduled Action Configurations. - * The list of scheduled action configurations for this compliance policy. - */ - public DeviceComplianceActionItemCollectionPage scheduledActionConfigurations; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("scheduledActionConfigurations")) { - final BaseDeviceComplianceActionItemCollectionResponse response = new BaseDeviceComplianceActionItemCollectionResponse(); - if (json.has("scheduledActionConfigurations@odata.nextLink")) { - response.nextLink = json.get("scheduledActionConfigurations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scheduledActionConfigurations").toString(), JsonObject[].class); - final DeviceComplianceActionItem[] array = new DeviceComplianceActionItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceActionItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - scheduledActionConfigurations = new DeviceComplianceActionItemCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceSettingState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceSettingState.java deleted file mode 100644 index fa2c5b02fb6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceSettingState.java +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State. - */ -public class BaseDeviceComplianceSettingState extends Entity implements IJsonBackedObject { - - - /** - * The Setting. - * The setting class name and property name. - */ - @SerializedName("setting") - @Expose - public String setting; - - /** - * The Setting Name. - * The Setting Name that is being reported - */ - @SerializedName("settingName") - @Expose - public String settingName; - - /** - * The Device Id. - * The Device Id that is being reported - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The Device Name. - * The Device Name that is being reported - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - - /** - * The User Id. - * The user Id that is being reported - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The User Email. - * The User email address that is being reported - */ - @SerializedName("userEmail") - @Expose - public String userEmail; - - /** - * The User Name. - * The User Name that is being reported - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The User Principal Name. - * The User PrincipalName that is being reported - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The State. - * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserOverview.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserOverview.java deleted file mode 100644 index 5f91388fe2c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserOverview.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Overview. - */ -public class BaseDeviceComplianceUserOverview extends Entity implements IJsonBackedObject { - - - /** - * The Pending Count. - * Number of pending Users - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable users - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Success Count. - * Number of succeeded Users - */ - @SerializedName("successCount") - @Expose - public Integer successCount; - - /** - * The Error Count. - * Number of error Users - */ - @SerializedName("errorCount") - @Expose - public Integer errorCount; - - /** - * The Failed Count. - * Number of failed Users - */ - @SerializedName("failedCount") - @Expose - public Integer failedCount; - - /** - * The Last Update Date Time. - * Last update time - */ - @SerializedName("lastUpdateDateTime") - @Expose - public java.util.Calendar lastUpdateDateTime; - - /** - * The Configuration Version. - * Version of the policy for that overview - */ - @SerializedName("configurationVersion") - @Expose - public Integer configurationVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserStatus.java deleted file mode 100644 index fb4a0a3ab96..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceComplianceUserStatus.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status. - */ -public class BaseDeviceComplianceUserStatus extends Entity implements IJsonBackedObject { - - - /** - * The User Display Name. - * User name of the DevicePolicyStatus. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - - /** - * The Devices Count. - * Devices count for that user. - */ - @SerializedName("devicesCount") - @Expose - public Integer devicesCount; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfiguration.java deleted file mode 100644 index d0bce62af7e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfiguration.java +++ /dev/null @@ -1,228 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration. - */ -public class BaseDeviceConfiguration extends Entity implements IJsonBackedObject { - - - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Created Date Time. - * DateTime the object was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Description. - * Admin provided description of the Device Configuration. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Display Name. - * Admin provided name of the device configuration. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * Version of the device configuration. - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Assignments. - * The list of assignments for the device configuration profile. - */ - public DeviceConfigurationAssignmentCollectionPage assignments; - - /** - * The Device Statuses. - * Device configuration installation status by device. - */ - public DeviceConfigurationDeviceStatusCollectionPage deviceStatuses; - - /** - * The User Statuses. - * Device configuration installation status by user. - */ - public DeviceConfigurationUserStatusCollectionPage userStatuses; - - /** - * The Device Status Overview. - * Device Configuration devices status overview - */ - @SerializedName("deviceStatusOverview") - @Expose - public DeviceConfigurationDeviceOverview deviceStatusOverview; - - /** - * The User Status Overview. - * Device Configuration users status overview - */ - @SerializedName("userStatusOverview") - @Expose - public DeviceConfigurationUserOverview userStatusOverview; - - /** - * The Device Setting State Summaries. - * Device Configuration Setting State Device Summary - */ - public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("assignments")) { - final BaseDeviceConfigurationAssignmentCollectionResponse response = new BaseDeviceConfigurationAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final DeviceConfigurationAssignment[] array = new DeviceConfigurationAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new DeviceConfigurationAssignmentCollectionPage(response, null); - } - - if (json.has("deviceStatuses")) { - final BaseDeviceConfigurationDeviceStatusCollectionResponse response = new BaseDeviceConfigurationDeviceStatusCollectionResponse(); - if (json.has("deviceStatuses@odata.nextLink")) { - response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); - final DeviceConfigurationDeviceStatus[] array = new DeviceConfigurationDeviceStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationDeviceStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceStatuses = new DeviceConfigurationDeviceStatusCollectionPage(response, null); - } - - if (json.has("userStatuses")) { - final BaseDeviceConfigurationUserStatusCollectionResponse response = new BaseDeviceConfigurationUserStatusCollectionResponse(); - if (json.has("userStatuses@odata.nextLink")) { - response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); - final DeviceConfigurationUserStatus[] array = new DeviceConfigurationUserStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationUserStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userStatuses = new DeviceConfigurationUserStatusCollectionPage(response, null); - } - - if (json.has("deviceSettingStateSummaries")) { - final BaseSettingStateDeviceSummaryCollectionResponse response = new BaseSettingStateDeviceSummaryCollectionResponse(); - if (json.has("deviceSettingStateSummaries@odata.nextLink")) { - response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); - final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignBody.java deleted file mode 100644 index 3f6088dcd1b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assign Body. - */ -public class BaseDeviceConfigurationAssignBody { - - /** - * The assignments. - * - */ - @SerializedName("assignments") - @Expose - public java.util.List assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignment.java deleted file mode 100644 index bae2cc84e03..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationAssignment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment. - */ -public class BaseDeviceConfigurationAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * The assignment target for the device configuration. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceOverview.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceOverview.java deleted file mode 100644 index e3274e3ac2b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceOverview.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Overview. - */ -public class BaseDeviceConfigurationDeviceOverview extends Entity implements IJsonBackedObject { - - - /** - * The Pending Count. - * Number of pending devices - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Success Count. - * Number of succeeded devices - */ - @SerializedName("successCount") - @Expose - public Integer successCount; - - /** - * The Error Count. - * Number of error devices - */ - @SerializedName("errorCount") - @Expose - public Integer errorCount; - - /** - * The Failed Count. - * Number of failed devices - */ - @SerializedName("failedCount") - @Expose - public Integer failedCount; - - /** - * The Last Update Date Time. - * Last update time - */ - @SerializedName("lastUpdateDateTime") - @Expose - public java.util.Calendar lastUpdateDateTime; - - /** - * The Configuration Version. - * Version of the policy for that overview - */ - @SerializedName("configurationVersion") - @Expose - public Integer configurationVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStateSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStateSummary.java deleted file mode 100644 index 146b300ae9b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStateSummary.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device State Summary. - */ -public class BaseDeviceConfigurationDeviceStateSummary extends Entity implements IJsonBackedObject { - - - /** - * The Unknown Device Count. - * Number of unknown devices - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - - /** - * The Compliant Device Count. - * Number of compliant devices - */ - @SerializedName("compliantDeviceCount") - @Expose - public Integer compliantDeviceCount; - - /** - * The Remediated Device Count. - * Number of remediated devices - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - - /** - * The Non Compliant Device Count. - * Number of NonCompliant devices - */ - @SerializedName("nonCompliantDeviceCount") - @Expose - public Integer nonCompliantDeviceCount; - - /** - * The Error Device Count. - * Number of error devices - */ - @SerializedName("errorDeviceCount") - @Expose - public Integer errorDeviceCount; - - /** - * The Conflict Device Count. - * Number of conflict devices - */ - @SerializedName("conflictDeviceCount") - @Expose - public Integer conflictDeviceCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStatus.java deleted file mode 100644 index 4e7fb7a5692..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationDeviceStatus.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status. - */ -public class BaseDeviceConfigurationDeviceStatus extends Entity implements IJsonBackedObject { - - - /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. - */ - @SerializedName("deviceDisplayName") - @Expose - public String deviceDisplayName; - - /** - * The User Name. - * The User Name that is being reported - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationSettingState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationSettingState.java deleted file mode 100644 index 2da3d49be9f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationSettingState.java +++ /dev/null @@ -1,177 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.SettingSource; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Setting State. - */ -public class BaseDeviceConfigurationSettingState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Setting. - * The setting that is being reported - */ - @SerializedName("setting") - @Expose - public String setting; - - /** - * The Setting Name. - * Localized/user friendly setting name that is being reported - */ - @SerializedName("settingName") - @Expose - public String settingName; - - /** - * The Instance Display Name. - * Name of setting instance that is being reported. - */ - @SerializedName("instanceDisplayName") - @Expose - public String instanceDisplayName; - - /** - * The State. - * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Error Code. - * Error code for the setting - */ - @SerializedName("errorCode") - @Expose - public Long errorCode; - - /** - * The Error Description. - * Error description - */ - @SerializedName("errorDescription") - @Expose - public String errorDescription; - - /** - * The User Id. - * UserId - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The User Name. - * UserName - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The User Email. - * UserEmail - */ - @SerializedName("userEmail") - @Expose - public String userEmail; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Sources. - * Contributing policies - */ - @SerializedName("sources") - @Expose - public java.util.List sources; - - /** - * The Current Value. - * Current value of setting on device - */ - @SerializedName("currentValue") - @Expose - public String currentValue; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationState.java deleted file mode 100644 index 07295dd2531..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationState.java +++ /dev/null @@ -1,121 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfigurationSettingState; -import com.microsoft.graph.models.generated.PolicyPlatformType; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State. - */ -public class BaseDeviceConfigurationState extends Entity implements IJsonBackedObject { - - - /** - * The Setting States. - * - */ - @SerializedName("settingStates") - @Expose - public java.util.List settingStates; - - /** - * The Display Name. - * The name of the policy for this policyBase - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * The version of the policy - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Platform Type. - * Platform type that the policy applies to - */ - @SerializedName("platformType") - @Expose - public PolicyPlatformType platformType; - - /** - * The State. - * The compliance state of the policy - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Setting Count. - * Count of how many setting a policy holds - */ - @SerializedName("settingCount") - @Expose - public Integer settingCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserOverview.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserOverview.java deleted file mode 100644 index b952531ab56..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserOverview.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Overview. - */ -public class BaseDeviceConfigurationUserOverview extends Entity implements IJsonBackedObject { - - - /** - * The Pending Count. - * Number of pending Users - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable users - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Success Count. - * Number of succeeded Users - */ - @SerializedName("successCount") - @Expose - public Integer successCount; - - /** - * The Error Count. - * Number of error Users - */ - @SerializedName("errorCount") - @Expose - public Integer errorCount; - - /** - * The Failed Count. - * Number of failed Users - */ - @SerializedName("failedCount") - @Expose - public Integer failedCount; - - /** - * The Last Update Date Time. - * Last update time - */ - @SerializedName("lastUpdateDateTime") - @Expose - public java.util.Calendar lastUpdateDateTime; - - /** - * The Configuration Version. - * Version of the policy for that overview - */ - @SerializedName("configurationVersion") - @Expose - public Integer configurationVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserStatus.java deleted file mode 100644 index 8673a017d62..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceConfigurationUserStatus.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status. - */ -public class BaseDeviceConfigurationUserStatus extends Entity implements IJsonBackedObject { - - - /** - * The User Display Name. - * User name of the DevicePolicyStatus. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - - /** - * The Devices Count. - * Devices count for that user. - */ - @SerializedName("devicesCount") - @Expose - public Integer devicesCount; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfiguration.java deleted file mode 100644 index c4784796551..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfiguration.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration. - */ -public class BaseDeviceEnrollmentConfiguration extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Not yet documented - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Not yet documented - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Priority. - * Not yet documented - */ - @SerializedName("priority") - @Expose - public Integer priority; - - /** - * The Created Date Time. - * Not yet documented - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * Not yet documented - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Version. - * Not yet documented - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Assignments. - * The list of group assignments for the device configuration profile. - */ - public EnrollmentConfigurationAssignmentCollectionPage assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("assignments")) { - final BaseEnrollmentConfigurationAssignmentCollectionResponse response = new BaseEnrollmentConfigurationAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final EnrollmentConfigurationAssignment[] array = new EnrollmentConfigurationAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EnrollmentConfigurationAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new EnrollmentConfigurationAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationAssignBody.java deleted file mode 100644 index 84f6c11170b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Assign Body. - */ -public class BaseDeviceEnrollmentConfigurationAssignBody { - - /** - * The enrollment Configuration Assignments. - * - */ - @SerializedName("enrollmentConfigurationAssignments") - @Expose - public java.util.List enrollmentConfigurationAssignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationSetPriorityBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationSetPriorityBody.java deleted file mode 100644 index c7452a42be9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentConfigurationSetPriorityBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Set Priority Body. - */ -public class BaseDeviceEnrollmentConfigurationSetPriorityBody { - - /** - * The priority. - * - */ - @SerializedName("priority") - @Expose - public Integer priority; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentLimitConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentLimitConfiguration.java deleted file mode 100644 index 84f83b26269..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentLimitConfiguration.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Limit Configuration. - */ -public class BaseDeviceEnrollmentLimitConfiguration extends DeviceEnrollmentConfiguration implements IJsonBackedObject { - - - /** - * The Limit. - * Not yet documented - */ - @SerializedName("limit") - @Expose - public Integer limit; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestriction.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestriction.java deleted file mode 100644 index a6cb3ef2c8b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestriction.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Platform Restriction. - */ -public class BaseDeviceEnrollmentPlatformRestriction implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Platform Blocked. - * Block the platform from enrolling - */ - @SerializedName("platformBlocked") - @Expose - public Boolean platformBlocked; - - /** - * The Personal Device Enrollment Blocked. - * Block personally owned devices from enrolling - */ - @SerializedName("personalDeviceEnrollmentBlocked") - @Expose - public Boolean personalDeviceEnrollmentBlocked; - - /** - * The Os Minimum Version. - * Min OS version supported - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Max OS version supported - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestrictionsConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestrictionsConfiguration.java deleted file mode 100644 index c21b66b7cef..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentPlatformRestrictionsConfiguration.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestriction; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Platform Restrictions Configuration. - */ -public class BaseDeviceEnrollmentPlatformRestrictionsConfiguration extends DeviceEnrollmentConfiguration implements IJsonBackedObject { - - - /** - * The Ios Restriction. - * Not yet documented - */ - @SerializedName("iosRestriction") - @Expose - public DeviceEnrollmentPlatformRestriction iosRestriction; - - /** - * The Windows Restriction. - * Not yet documented - */ - @SerializedName("windowsRestriction") - @Expose - public DeviceEnrollmentPlatformRestriction windowsRestriction; - - /** - * The Windows Mobile Restriction. - * Not yet documented - */ - @SerializedName("windowsMobileRestriction") - @Expose - public DeviceEnrollmentPlatformRestriction windowsMobileRestriction; - - /** - * The Android Restriction. - * Not yet documented - */ - @SerializedName("androidRestriction") - @Expose - public DeviceEnrollmentPlatformRestriction androidRestriction; - - /** - * The Mac OSRestriction. - * Not yet documented - */ - @SerializedName("macOSRestriction") - @Expose - public DeviceEnrollmentPlatformRestriction macOSRestriction; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration.java deleted file mode 100644 index 1af33d35bea..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration.java +++ /dev/null @@ -1,168 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsHelloForBusinessPinUsage; -import com.microsoft.graph.models.generated.Enablement; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Windows Hello For Business Configuration. - */ -public class BaseDeviceEnrollmentWindowsHelloForBusinessConfiguration extends DeviceEnrollmentConfiguration implements IJsonBackedObject { - - - /** - * The Pin Minimum Length. - * Not yet documented - */ - @SerializedName("pinMinimumLength") - @Expose - public Integer pinMinimumLength; - - /** - * The Pin Maximum Length. - * Not yet documented - */ - @SerializedName("pinMaximumLength") - @Expose - public Integer pinMaximumLength; - - /** - * The Pin Uppercase Characters Usage. - * Not yet documented. Possible values are: allowed, required, disallowed. - */ - @SerializedName("pinUppercaseCharactersUsage") - @Expose - public WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage; - - /** - * The Pin Lowercase Characters Usage. - * Not yet documented. Possible values are: allowed, required, disallowed. - */ - @SerializedName("pinLowercaseCharactersUsage") - @Expose - public WindowsHelloForBusinessPinUsage pinLowercaseCharactersUsage; - - /** - * The Pin Special Characters Usage. - * Not yet documented. Possible values are: allowed, required, disallowed. - */ - @SerializedName("pinSpecialCharactersUsage") - @Expose - public WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage; - - /** - * The State. - * Not yet documented. Possible values are: notConfigured, enabled, disabled. - */ - @SerializedName("state") - @Expose - public Enablement state; - - /** - * The Security Device Required. - * Not yet documented - */ - @SerializedName("securityDeviceRequired") - @Expose - public Boolean securityDeviceRequired; - - /** - * The Unlock With Biometrics Enabled. - * Not yet documented - */ - @SerializedName("unlockWithBiometricsEnabled") - @Expose - public Boolean unlockWithBiometricsEnabled; - - /** - * The Remote Passport Enabled. - * Not yet documented - */ - @SerializedName("remotePassportEnabled") - @Expose - public Boolean remotePassportEnabled; - - /** - * The Pin Previous Block Count. - * Not yet documented - */ - @SerializedName("pinPreviousBlockCount") - @Expose - public Integer pinPreviousBlockCount; - - /** - * The Pin Expiration In Days. - * Not yet documented - */ - @SerializedName("pinExpirationInDays") - @Expose - public Integer pinExpirationInDays; - - /** - * The Enhanced Biometrics State. - * Not yet documented. Possible values are: notConfigured, enabled, disabled. - */ - @SerializedName("enhancedBiometricsState") - @Expose - public Enablement enhancedBiometricsState; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceExchangeAccessStateSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceExchangeAccessStateSummary.java deleted file mode 100644 index 69482270135..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceExchangeAccessStateSummary.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Exchange Access State Summary. - */ -public class BaseDeviceExchangeAccessStateSummary implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allowed Device Count. - * Total count of devices with Exchange Access State: Allowed. - */ - @SerializedName("allowedDeviceCount") - @Expose - public Integer allowedDeviceCount; - - /** - * The Blocked Device Count. - * Total count of devices with Exchange Access State: Blocked. - */ - @SerializedName("blockedDeviceCount") - @Expose - public Integer blockedDeviceCount; - - /** - * The Quarantined Device Count. - * Total count of devices with Exchange Access State: Quarantined. - */ - @SerializedName("quarantinedDeviceCount") - @Expose - public Integer quarantinedDeviceCount; - - /** - * The Unknown Device Count. - * Total count of devices with Exchange Access State: Unknown. - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Unavailable Device Count. - * Total count of devices for which no Exchange Access State could be found. - */ - @SerializedName("unavailableDeviceCount") - @Expose - public Integer unavailableDeviceCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceGeoLocation.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceGeoLocation.java deleted file mode 100644 index dc4240696da..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceGeoLocation.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Geo Location. - */ -public class BaseDeviceGeoLocation implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Last Collected Date Time. - * Time at which location was recorded, relative to UTC - */ - @SerializedName("lastCollectedDateTime") - @Expose - public java.util.Calendar lastCollectedDateTime; - - /** - * The Longitude. - * Longitude coordinate of the device's location - */ - @SerializedName("longitude") - @Expose - public Double longitude; - - /** - * The Latitude. - * Latitude coordinate of the device's location - */ - @SerializedName("latitude") - @Expose - public Double latitude; - - /** - * The Altitude. - * Altitude, given in meters above sea level - */ - @SerializedName("altitude") - @Expose - public Double altitude; - - /** - * The Horizontal Accuracy. - * Accuracy of longitude and latitude in meters - */ - @SerializedName("horizontalAccuracy") - @Expose - public Double horizontalAccuracy; - - /** - * The Vertical Accuracy. - * Accuracy of altitude in meters - */ - @SerializedName("verticalAccuracy") - @Expose - public Double verticalAccuracy; - - /** - * The Heading. - * Heading in degrees from true north - */ - @SerializedName("heading") - @Expose - public Double heading; - - /** - * The Speed. - * Speed the device is traveling in meters per second - */ - @SerializedName("speed") - @Expose - public Double speed; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceHealthAttestationState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceHealthAttestationState.java deleted file mode 100644 index 64572ef6330..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceHealthAttestationState.java +++ /dev/null @@ -1,335 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Health Attestation State. - */ -public class BaseDeviceHealthAttestationState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Last Update Date Time. - * The Timestamp of the last update. - */ - @SerializedName("lastUpdateDateTime") - @Expose - public String lastUpdateDateTime; - - /** - * The Content Namespace Url. - * The DHA report version. (Namespace version) - */ - @SerializedName("contentNamespaceUrl") - @Expose - public String contentNamespaceUrl; - - /** - * The Device Health Attestation Status. - * The DHA report version. (Namespace version) - */ - @SerializedName("deviceHealthAttestationStatus") - @Expose - public String deviceHealthAttestationStatus; - - /** - * The Content Version. - * The HealthAttestation state schema version - */ - @SerializedName("contentVersion") - @Expose - public String contentVersion; - - /** - * The Issued Date Time. - * The DateTime when device was evaluated or issued to MDM - */ - @SerializedName("issuedDateTime") - @Expose - public java.util.Calendar issuedDateTime; - - /** - * The Attestation Identity Key. - * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate. - */ - @SerializedName("attestationIdentityKey") - @Expose - public String attestationIdentityKey; - - /** - * The Reset Count. - * The number of times a PC device has hibernated or resumed - */ - @SerializedName("resetCount") - @Expose - public Long resetCount; - - /** - * The Restart Count. - * The number of times a PC device has rebooted - */ - @SerializedName("restartCount") - @Expose - public Long restartCount; - - /** - * The Data Excution Policy. - * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory - */ - @SerializedName("dataExcutionPolicy") - @Expose - public String dataExcutionPolicy; - - /** - * The Bit Locker Status. - * On or Off of BitLocker Drive Encryption - */ - @SerializedName("bitLockerStatus") - @Expose - public String bitLockerStatus; - - /** - * The Boot Manager Version. - * The version of the Boot Manager - */ - @SerializedName("bootManagerVersion") - @Expose - public String bootManagerVersion; - - /** - * The Code Integrity Check Version. - * The version of the Boot Manager - */ - @SerializedName("codeIntegrityCheckVersion") - @Expose - public String codeIntegrityCheckVersion; - - /** - * The Secure Boot. - * When Secure Boot is enabled, the core components must have the correct cryptographic signatures - */ - @SerializedName("secureBoot") - @Expose - public String secureBoot; - - /** - * The Boot Debugging. - * When bootDebugging is enabled, the device is used in development and testing - */ - @SerializedName("bootDebugging") - @Expose - public String bootDebugging; - - /** - * The Operating System Kernel Debugging. - * When operatingSystemKernelDebugging is enabled, the device is used in development and testing - */ - @SerializedName("operatingSystemKernelDebugging") - @Expose - public String operatingSystemKernelDebugging; - - /** - * The Code Integrity. - * When code integrity is enabled, code execution is restricted to integrity verified code - */ - @SerializedName("codeIntegrity") - @Expose - public String codeIntegrity; - - /** - * The Test Signing. - * When test signing is allowed, the device does not enforce signature validation during boot - */ - @SerializedName("testSigning") - @Expose - public String testSigning; - - /** - * The Safe Mode. - * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state - */ - @SerializedName("safeMode") - @Expose - public String safeMode; - - /** - * The Windows PE. - * Operating system running with limited services that is used to prepare a computer for Windows - */ - @SerializedName("windowsPE") - @Expose - public String windowsPE; - - /** - * The Early Launch Anti Malware Driver Protection. - * ELAM provides protection for the computers in your network when they start up - */ - @SerializedName("earlyLaunchAntiMalwareDriverProtection") - @Expose - public String earlyLaunchAntiMalwareDriverProtection; - - /** - * The Virtual Secure Mode. - * VSM is a container that protects high value assets from a compromised kernel - */ - @SerializedName("virtualSecureMode") - @Expose - public String virtualSecureMode; - - /** - * The Pcr Hash Algorithm. - * Informational attribute that identifies the HASH algorithm that was used by TPM - */ - @SerializedName("pcrHashAlgorithm") - @Expose - public String pcrHashAlgorithm; - - /** - * The Boot App Security Version. - * The security version number of the Boot Application - */ - @SerializedName("bootAppSecurityVersion") - @Expose - public String bootAppSecurityVersion; - - /** - * The Boot Manager Security Version. - * The security version number of the Boot Application - */ - @SerializedName("bootManagerSecurityVersion") - @Expose - public String bootManagerSecurityVersion; - - /** - * The Tpm Version. - * The security version number of the Boot Application - */ - @SerializedName("tpmVersion") - @Expose - public String tpmVersion; - - /** - * The Pcr0. - * The measurement that is captured in PCR[0] - */ - @SerializedName("pcr0") - @Expose - public String pcr0; - - /** - * The Secure Boot Configuration Policy Finger Print. - * Fingerprint of the Custom Secure Boot Configuration Policy - */ - @SerializedName("secureBootConfigurationPolicyFingerPrint") - @Expose - public String secureBootConfigurationPolicyFingerPrint; - - /** - * The Code Integrity Policy. - * The Code Integrity policy that is controlling the security of the boot environment - */ - @SerializedName("codeIntegrityPolicy") - @Expose - public String codeIntegrityPolicy; - - /** - * The Boot Revision List Info. - * The Boot Revision List that was loaded during initial boot on the attested device - */ - @SerializedName("bootRevisionListInfo") - @Expose - public String bootRevisionListInfo; - - /** - * The Operating System Rev List Info. - * The Operating System Revision List that was loaded during initial boot on the attested device - */ - @SerializedName("operatingSystemRevListInfo") - @Expose - public String operatingSystemRevListInfo; - - /** - * The Health Status Mismatch Info. - * This attribute appears if DHA-Service detects an integrity issue - */ - @SerializedName("healthStatusMismatchInfo") - @Expose - public String healthStatusMismatchInfo; - - /** - * The Health Attestation Supported Status. - * This attribute indicates if DHA is supported for the device - */ - @SerializedName("healthAttestationSupportedStatus") - @Expose - public String healthAttestationSupportedStatus; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceInstallState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceInstallState.java deleted file mode 100644 index 6605976ca5c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceInstallState.java +++ /dev/null @@ -1,135 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.InstallState; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State. - */ -public class BaseDeviceInstallState extends Entity implements IJsonBackedObject { - - - /** - * The Device Name. - * Device name. - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - - /** - * The Device Id. - * Device Id. - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The Last Sync Date Time. - * Last sync date and time. - */ - @SerializedName("lastSyncDateTime") - @Expose - public java.util.Calendar lastSyncDateTime; - - /** - * The Install State. - * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. - */ - @SerializedName("installState") - @Expose - public InstallState installState; - - /** - * The Error Code. - * The error code for install failures. - */ - @SerializedName("errorCode") - @Expose - public String errorCode; - - /** - * The Os Version. - * OS Version. - */ - @SerializedName("osVersion") - @Expose - public String osVersion; - - /** - * The Os Description. - * OS Description. - */ - @SerializedName("osDescription") - @Expose - public String osDescription; - - /** - * The User Name. - * Device User Name. - */ - @SerializedName("userName") - @Expose - public String userName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagement.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagement.java deleted file mode 100644 index 799194b5a5f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagement.java +++ /dev/null @@ -1,676 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementSubscriptionState; -import com.microsoft.graph.models.extensions.DeviceManagementSettings; -import com.microsoft.graph.models.extensions.IntuneBrand; -import com.microsoft.graph.models.extensions.TermsAndConditions; -import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; -import com.microsoft.graph.models.extensions.ManagedDeviceOverview; -import com.microsoft.graph.models.extensions.DetectedApp; -import com.microsoft.graph.models.extensions.ManagedDevice; -import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; -import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; -import com.microsoft.graph.models.extensions.DeviceCategory; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; -import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; -import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; -import com.microsoft.graph.models.extensions.NotificationMessageTemplate; -import com.microsoft.graph.models.extensions.RoleDefinition; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; -import com.microsoft.graph.models.extensions.ResourceOperation; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; -import com.microsoft.graph.models.extensions.RemoteAssistancePartner; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsCollectionResponse; -import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionPage; -import com.microsoft.graph.requests.generated.BaseDetectedAppCollectionResponse; -import com.microsoft.graph.requests.extensions.DetectedAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionPage; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateCollectionResponse; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionPage; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseResourceOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.ResourceOperationCollectionPage; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerCollectionResponse; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionPage; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerCollectionResponse; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management. - */ -public class BaseDeviceManagement extends Entity implements IJsonBackedObject { - - - /** - * The Subscription State. - * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. - */ - @SerializedName("subscriptionState") - @Expose - public DeviceManagementSubscriptionState subscriptionState; - - /** - * The Settings. - * Account level settings. - */ - @SerializedName("settings") - @Expose - public DeviceManagementSettings settings; - - /** - * The Intune Brand. - * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. - */ - @SerializedName("intuneBrand") - @Expose - public IntuneBrand intuneBrand; - - /** - * The Terms And Conditions. - * The terms and conditions associated with device management of the company. - */ - public TermsAndConditionsCollectionPage termsAndConditions; - - /** - * The Apple Push Notification Certificate. - * Apple push notification certificate. - */ - @SerializedName("applePushNotificationCertificate") - @Expose - public ApplePushNotificationCertificate applePushNotificationCertificate; - - /** - * The Managed Device Overview. - * Device overview - */ - @SerializedName("managedDeviceOverview") - @Expose - public ManagedDeviceOverview managedDeviceOverview; - - /** - * The Detected Apps. - * The list of detected apps associated with a device. - */ - public DetectedAppCollectionPage detectedApps; - - /** - * The Managed Devices. - * The list of managed devices. - */ - public ManagedDeviceCollectionPage managedDevices; - - /** - * The Device Configurations. - * The device configurations. - */ - public DeviceConfigurationCollectionPage deviceConfigurations; - - /** - * The Device Compliance Policies. - * The device compliance policies. - */ - public DeviceCompliancePolicyCollectionPage deviceCompliancePolicies; - - /** - * The Software Update Status Summary. - * The software update status summary. - */ - @SerializedName("softwareUpdateStatusSummary") - @Expose - public SoftwareUpdateStatusSummary softwareUpdateStatusSummary; - - /** - * The Device Compliance Policy Device State Summary. - * The device compliance state summary for this account. - */ - @SerializedName("deviceCompliancePolicyDeviceStateSummary") - @Expose - public DeviceCompliancePolicyDeviceStateSummary deviceCompliancePolicyDeviceStateSummary; - - /** - * The Device Compliance Policy Setting State Summaries. - * The summary states of compliance policy settings for this account. - */ - public DeviceCompliancePolicySettingStateSummaryCollectionPage deviceCompliancePolicySettingStateSummaries; - - /** - * The Device Configuration Device State Summaries. - * The device configuration device state summary for this account. - */ - @SerializedName("deviceConfigurationDeviceStateSummaries") - @Expose - public DeviceConfigurationDeviceStateSummary deviceConfigurationDeviceStateSummaries; - - /** - * The Ios Update Statuses. - * The IOS software update installation statuses for this account. - */ - public IosUpdateDeviceStatusCollectionPage iosUpdateStatuses; - - /** - * The Device Categories. - * The list of device categories with the tenant. - */ - public DeviceCategoryCollectionPage deviceCategories; - - /** - * The Exchange Connectors. - * The list of Exchange Connectors configured by the tenant. - */ - public DeviceManagementExchangeConnectorCollectionPage exchangeConnectors; - - /** - * The Device Enrollment Configurations. - * The list of device enrollment configurations - */ - public DeviceEnrollmentConfigurationCollectionPage deviceEnrollmentConfigurations; - - /** - * The Conditional Access Settings. - * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access - */ - @SerializedName("conditionalAccessSettings") - @Expose - public OnPremisesConditionalAccessSettings conditionalAccessSettings; - - /** - * The Mobile Threat Defense Connectors. - * The list of Mobile threat Defense connectors configured by the tenant. - */ - public MobileThreatDefenseConnectorCollectionPage mobileThreatDefenseConnectors; - - /** - * The Device Management Partners. - * The list of Device Management Partners configured by the tenant. - */ - public DeviceManagementPartnerCollectionPage deviceManagementPartners; - - /** - * The Notification Message Templates. - * The Notification Message Templates. - */ - public NotificationMessageTemplateCollectionPage notificationMessageTemplates; - - /** - * The Role Definitions. - * The Role Definitions. - */ - public RoleDefinitionCollectionPage roleDefinitions; - - /** - * The Role Assignments. - * The Role Assignments. - */ - public DeviceAndAppManagementRoleAssignmentCollectionPage roleAssignments; - - /** - * The Resource Operations. - * The Resource Operations. - */ - public ResourceOperationCollectionPage resourceOperations; - - /** - * The Telecom Expense Management Partners. - * The telecom expense management partners. - */ - public TelecomExpenseManagementPartnerCollectionPage telecomExpenseManagementPartners; - - /** - * The Remote Assistance Partners. - * The remote assist partners. - */ - public RemoteAssistancePartnerCollectionPage remoteAssistancePartners; - - /** - * The Windows Information Protection App Learning Summaries. - * The windows information protection app learning summaries. - */ - public WindowsInformationProtectionAppLearningSummaryCollectionPage windowsInformationProtectionAppLearningSummaries; - - /** - * The Windows Information Protection Network Learning Summaries. - * The windows information protection network learning summaries. - */ - public WindowsInformationProtectionNetworkLearningSummaryCollectionPage windowsInformationProtectionNetworkLearningSummaries; - - /** - * The Troubleshooting Events. - * The list of troubleshooting events for the tenant. - */ - public DeviceManagementTroubleshootingEventCollectionPage troubleshootingEvents; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("termsAndConditions")) { - final BaseTermsAndConditionsCollectionResponse response = new BaseTermsAndConditionsCollectionResponse(); - if (json.has("termsAndConditions@odata.nextLink")) { - response.nextLink = json.get("termsAndConditions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("termsAndConditions").toString(), JsonObject[].class); - final TermsAndConditions[] array = new TermsAndConditions[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TermsAndConditions.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - termsAndConditions = new TermsAndConditionsCollectionPage(response, null); - } - - if (json.has("detectedApps")) { - final BaseDetectedAppCollectionResponse response = new BaseDetectedAppCollectionResponse(); - if (json.has("detectedApps@odata.nextLink")) { - response.nextLink = json.get("detectedApps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("detectedApps").toString(), JsonObject[].class); - final DetectedApp[] array = new DetectedApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DetectedApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - detectedApps = new DetectedAppCollectionPage(response, null); - } - - if (json.has("managedDevices")) { - final BaseManagedDeviceCollectionResponse response = new BaseManagedDeviceCollectionResponse(); - if (json.has("managedDevices@odata.nextLink")) { - response.nextLink = json.get("managedDevices@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedDevices").toString(), JsonObject[].class); - final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedDevices = new ManagedDeviceCollectionPage(response, null); - } - - if (json.has("deviceConfigurations")) { - final BaseDeviceConfigurationCollectionResponse response = new BaseDeviceConfigurationCollectionResponse(); - if (json.has("deviceConfigurations@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurations").toString(), JsonObject[].class); - final DeviceConfiguration[] array = new DeviceConfiguration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfiguration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceConfigurations = new DeviceConfigurationCollectionPage(response, null); - } - - if (json.has("deviceCompliancePolicies")) { - final BaseDeviceCompliancePolicyCollectionResponse response = new BaseDeviceCompliancePolicyCollectionResponse(); - if (json.has("deviceCompliancePolicies@odata.nextLink")) { - response.nextLink = json.get("deviceCompliancePolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCompliancePolicies").toString(), JsonObject[].class); - final DeviceCompliancePolicy[] array = new DeviceCompliancePolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceCompliancePolicies = new DeviceCompliancePolicyCollectionPage(response, null); - } - - if (json.has("deviceCompliancePolicySettingStateSummaries")) { - final BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse response = new BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse(); - if (json.has("deviceCompliancePolicySettingStateSummaries@odata.nextLink")) { - response.nextLink = json.get("deviceCompliancePolicySettingStateSummaries@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCompliancePolicySettingStateSummaries").toString(), JsonObject[].class); - final DeviceCompliancePolicySettingStateSummary[] array = new DeviceCompliancePolicySettingStateSummary[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicySettingStateSummary.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceCompliancePolicySettingStateSummaries = new DeviceCompliancePolicySettingStateSummaryCollectionPage(response, null); - } - - if (json.has("iosUpdateStatuses")) { - final BaseIosUpdateDeviceStatusCollectionResponse response = new BaseIosUpdateDeviceStatusCollectionResponse(); - if (json.has("iosUpdateStatuses@odata.nextLink")) { - response.nextLink = json.get("iosUpdateStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosUpdateStatuses").toString(), JsonObject[].class); - final IosUpdateDeviceStatus[] array = new IosUpdateDeviceStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosUpdateDeviceStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - iosUpdateStatuses = new IosUpdateDeviceStatusCollectionPage(response, null); - } - - if (json.has("deviceCategories")) { - final BaseDeviceCategoryCollectionResponse response = new BaseDeviceCategoryCollectionResponse(); - if (json.has("deviceCategories@odata.nextLink")) { - response.nextLink = json.get("deviceCategories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCategories").toString(), JsonObject[].class); - final DeviceCategory[] array = new DeviceCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceCategories = new DeviceCategoryCollectionPage(response, null); - } - - if (json.has("exchangeConnectors")) { - final BaseDeviceManagementExchangeConnectorCollectionResponse response = new BaseDeviceManagementExchangeConnectorCollectionResponse(); - if (json.has("exchangeConnectors@odata.nextLink")) { - response.nextLink = json.get("exchangeConnectors@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exchangeConnectors").toString(), JsonObject[].class); - final DeviceManagementExchangeConnector[] array = new DeviceManagementExchangeConnector[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementExchangeConnector.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - exchangeConnectors = new DeviceManagementExchangeConnectorCollectionPage(response, null); - } - - if (json.has("deviceEnrollmentConfigurations")) { - final BaseDeviceEnrollmentConfigurationCollectionResponse response = new BaseDeviceEnrollmentConfigurationCollectionResponse(); - if (json.has("deviceEnrollmentConfigurations@odata.nextLink")) { - response.nextLink = json.get("deviceEnrollmentConfigurations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceEnrollmentConfigurations").toString(), JsonObject[].class); - final DeviceEnrollmentConfiguration[] array = new DeviceEnrollmentConfiguration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceEnrollmentConfiguration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceEnrollmentConfigurations = new DeviceEnrollmentConfigurationCollectionPage(response, null); - } - - if (json.has("mobileThreatDefenseConnectors")) { - final BaseMobileThreatDefenseConnectorCollectionResponse response = new BaseMobileThreatDefenseConnectorCollectionResponse(); - if (json.has("mobileThreatDefenseConnectors@odata.nextLink")) { - response.nextLink = json.get("mobileThreatDefenseConnectors@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileThreatDefenseConnectors").toString(), JsonObject[].class); - final MobileThreatDefenseConnector[] array = new MobileThreatDefenseConnector[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileThreatDefenseConnector.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mobileThreatDefenseConnectors = new MobileThreatDefenseConnectorCollectionPage(response, null); - } - - if (json.has("deviceManagementPartners")) { - final BaseDeviceManagementPartnerCollectionResponse response = new BaseDeviceManagementPartnerCollectionResponse(); - if (json.has("deviceManagementPartners@odata.nextLink")) { - response.nextLink = json.get("deviceManagementPartners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementPartners").toString(), JsonObject[].class); - final DeviceManagementPartner[] array = new DeviceManagementPartner[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementPartner.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceManagementPartners = new DeviceManagementPartnerCollectionPage(response, null); - } - - if (json.has("notificationMessageTemplates")) { - final BaseNotificationMessageTemplateCollectionResponse response = new BaseNotificationMessageTemplateCollectionResponse(); - if (json.has("notificationMessageTemplates@odata.nextLink")) { - response.nextLink = json.get("notificationMessageTemplates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("notificationMessageTemplates").toString(), JsonObject[].class); - final NotificationMessageTemplate[] array = new NotificationMessageTemplate[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), NotificationMessageTemplate.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - notificationMessageTemplates = new NotificationMessageTemplateCollectionPage(response, null); - } - - if (json.has("roleDefinitions")) { - final BaseRoleDefinitionCollectionResponse response = new BaseRoleDefinitionCollectionResponse(); - if (json.has("roleDefinitions@odata.nextLink")) { - response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); - final RoleDefinition[] array = new RoleDefinition[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleDefinition.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - roleDefinitions = new RoleDefinitionCollectionPage(response, null); - } - - if (json.has("roleAssignments")) { - final BaseDeviceAndAppManagementRoleAssignmentCollectionResponse response = new BaseDeviceAndAppManagementRoleAssignmentCollectionResponse(); - if (json.has("roleAssignments@odata.nextLink")) { - response.nextLink = json.get("roleAssignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignments").toString(), JsonObject[].class); - final DeviceAndAppManagementRoleAssignment[] array = new DeviceAndAppManagementRoleAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceAndAppManagementRoleAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - roleAssignments = new DeviceAndAppManagementRoleAssignmentCollectionPage(response, null); - } - - if (json.has("resourceOperations")) { - final BaseResourceOperationCollectionResponse response = new BaseResourceOperationCollectionResponse(); - if (json.has("resourceOperations@odata.nextLink")) { - response.nextLink = json.get("resourceOperations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("resourceOperations").toString(), JsonObject[].class); - final ResourceOperation[] array = new ResourceOperation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ResourceOperation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - resourceOperations = new ResourceOperationCollectionPage(response, null); - } - - if (json.has("telecomExpenseManagementPartners")) { - final BaseTelecomExpenseManagementPartnerCollectionResponse response = new BaseTelecomExpenseManagementPartnerCollectionResponse(); - if (json.has("telecomExpenseManagementPartners@odata.nextLink")) { - response.nextLink = json.get("telecomExpenseManagementPartners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("telecomExpenseManagementPartners").toString(), JsonObject[].class); - final TelecomExpenseManagementPartner[] array = new TelecomExpenseManagementPartner[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TelecomExpenseManagementPartner.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - telecomExpenseManagementPartners = new TelecomExpenseManagementPartnerCollectionPage(response, null); - } - - if (json.has("remoteAssistancePartners")) { - final BaseRemoteAssistancePartnerCollectionResponse response = new BaseRemoteAssistancePartnerCollectionResponse(); - if (json.has("remoteAssistancePartners@odata.nextLink")) { - response.nextLink = json.get("remoteAssistancePartners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("remoteAssistancePartners").toString(), JsonObject[].class); - final RemoteAssistancePartner[] array = new RemoteAssistancePartner[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RemoteAssistancePartner.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - remoteAssistancePartners = new RemoteAssistancePartnerCollectionPage(response, null); - } - - if (json.has("windowsInformationProtectionAppLearningSummaries")) { - final BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse response = new BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse(); - if (json.has("windowsInformationProtectionAppLearningSummaries@odata.nextLink")) { - response.nextLink = json.get("windowsInformationProtectionAppLearningSummaries@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionAppLearningSummaries").toString(), JsonObject[].class); - final WindowsInformationProtectionAppLearningSummary[] array = new WindowsInformationProtectionAppLearningSummary[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionAppLearningSummary.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - windowsInformationProtectionAppLearningSummaries = new WindowsInformationProtectionAppLearningSummaryCollectionPage(response, null); - } - - if (json.has("windowsInformationProtectionNetworkLearningSummaries")) { - final BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse response = new BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse(); - if (json.has("windowsInformationProtectionNetworkLearningSummaries@odata.nextLink")) { - response.nextLink = json.get("windowsInformationProtectionNetworkLearningSummaries@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionNetworkLearningSummaries").toString(), JsonObject[].class); - final WindowsInformationProtectionNetworkLearningSummary[] array = new WindowsInformationProtectionNetworkLearningSummary[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionNetworkLearningSummary.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - windowsInformationProtectionNetworkLearningSummaries = new WindowsInformationProtectionNetworkLearningSummaryCollectionPage(response, null); - } - - if (json.has("troubleshootingEvents")) { - final BaseDeviceManagementTroubleshootingEventCollectionResponse response = new BaseDeviceManagementTroubleshootingEventCollectionResponse(); - if (json.has("troubleshootingEvents@odata.nextLink")) { - response.nextLink = json.get("troubleshootingEvents@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("troubleshootingEvents").toString(), JsonObject[].class); - final DeviceManagementTroubleshootingEvent[] array = new DeviceManagementTroubleshootingEvent[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementTroubleshootingEvent.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - troubleshootingEvents = new DeviceManagementTroubleshootingEventCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnector.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnector.java deleted file mode 100644 index 865a9bcb519..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnector.java +++ /dev/null @@ -1,144 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorStatus; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorType; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector. - */ -public class BaseDeviceManagementExchangeConnector extends Entity implements IJsonBackedObject { - - - /** - * The Last Sync Date Time. - * Last sync time for the Exchange Connector - */ - @SerializedName("lastSyncDateTime") - @Expose - public java.util.Calendar lastSyncDateTime; - - /** - * The Status. - * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. - */ - @SerializedName("status") - @Expose - public DeviceManagementExchangeConnectorStatus status; - - /** - * The Primary Smtp Address. - * Email address used to configure the Service To Service Exchange Connector. - */ - @SerializedName("primarySmtpAddress") - @Expose - public String primarySmtpAddress; - - /** - * The Server Name. - * The name of the Exchange server. - */ - @SerializedName("serverName") - @Expose - public String serverName; - - /** - * The Connector Server Name. - * The name of the server hosting the Exchange Connector. - */ - @SerializedName("connectorServerName") - @Expose - public String connectorServerName; - - /** - * The Exchange Connector Type. - * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. - */ - @SerializedName("exchangeConnectorType") - @Expose - public DeviceManagementExchangeConnectorType exchangeConnectorType; - - /** - * The Version. - * The version of the ExchangeConnectorAgent - */ - @SerializedName("version") - @Expose - public String version; - - /** - * The Exchange Alias. - * An alias assigned to the Exchange server - */ - @SerializedName("exchangeAlias") - @Expose - public String exchangeAlias; - - /** - * The Exchange Organization. - * Exchange Organization to the Exchange server - */ - @SerializedName("exchangeOrganization") - @Expose - public String exchangeOrganization; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnectorSyncBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnectorSyncBody.java deleted file mode 100644 index b05a783729c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementExchangeConnectorSyncBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Sync Body. - */ -public class BaseDeviceManagementExchangeConnectorSyncBody { - - /** - * The sync Type. - * - */ - @SerializedName("syncType") - @Expose - public DeviceManagementExchangeConnectorSyncType syncType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementPartner.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementPartner.java deleted file mode 100644 index 793adacaef2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementPartner.java +++ /dev/null @@ -1,136 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementPartnerTenantState; -import com.microsoft.graph.models.generated.DeviceManagementPartnerAppType; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner. - */ -public class BaseDeviceManagementPartner extends Entity implements IJsonBackedObject { - - - /** - * The Last Heartbeat Date Time. - * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner - */ - @SerializedName("lastHeartbeatDateTime") - @Expose - public java.util.Calendar lastHeartbeatDateTime; - - /** - * The Partner State. - * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. - */ - @SerializedName("partnerState") - @Expose - public DeviceManagementPartnerTenantState partnerState; - - /** - * The Partner App Type. - * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. - */ - @SerializedName("partnerAppType") - @Expose - public DeviceManagementPartnerAppType partnerAppType; - - /** - * The Single Tenant App Id. - * Partner Single tenant App id - */ - @SerializedName("singleTenantAppId") - @Expose - public String singleTenantAppId; - - /** - * The Display Name. - * Partner display name - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Is Configured. - * Whether device management partner is configured or not - */ - @SerializedName("isConfigured") - @Expose - public Boolean isConfigured; - - /** - * The When Partner Devices Will Be Removed Date Time. - * DateTime in UTC when PartnerDevices will be removed - */ - @SerializedName("whenPartnerDevicesWillBeRemovedDateTime") - @Expose - public java.util.Calendar whenPartnerDevicesWillBeRemovedDateTime; - - /** - * The When Partner Devices Will Be Marked As Non Compliant Date Time. - * DateTime in UTC when PartnerDevices will be marked as NonCompliant - */ - @SerializedName("whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime") - @Expose - public java.util.Calendar whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementSettings.java deleted file mode 100644 index fb655e7f088..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementSettings.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Settings. - */ -public class BaseDeviceManagementSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Device Compliance Checkin Threshold Days. - * The number of days a device is allowed to go without checking in to remain compliant. Valid values 0 to 120 - */ - @SerializedName("deviceComplianceCheckinThresholdDays") - @Expose - public Integer deviceComplianceCheckinThresholdDays; - - /** - * The Is Scheduled Action Enabled. - * Is feature enabled or not for scheduled action for rule. - */ - @SerializedName("isScheduledActionEnabled") - @Expose - public Boolean isScheduledActionEnabled; - - /** - * The Secure By Default. - * Device should be noncompliant when there is no compliance policy targeted when this is true - */ - @SerializedName("secureByDefault") - @Expose - public Boolean secureByDefault; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementTroubleshootingEvent.java deleted file mode 100644 index d0bc970606b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceManagementTroubleshootingEvent.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event. - */ -public class BaseDeviceManagementTroubleshootingEvent extends Entity implements IJsonBackedObject { - - - /** - * The Event Date Time. - * Time when the event occurred . - */ - @SerializedName("eventDateTime") - @Expose - public java.util.Calendar eventDateTime; - - /** - * The Correlation Id. - * Id used for tracing the failure in the service. - */ - @SerializedName("correlationId") - @Expose - public String correlationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceOperatingSystemSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseDeviceOperatingSystemSummary.java deleted file mode 100644 index 20c8055f14d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDeviceOperatingSystemSummary.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Operating System Summary. - */ -public class BaseDeviceOperatingSystemSummary implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Android Count. - * Number of android device count. - */ - @SerializedName("androidCount") - @Expose - public Integer androidCount; - - /** - * The Ios Count. - * Number of iOS device count. - */ - @SerializedName("iosCount") - @Expose - public Integer iosCount; - - /** - * The Mac OSCount. - * Number of Mac OS X device count. - */ - @SerializedName("macOSCount") - @Expose - public Integer macOSCount; - - /** - * The Windows Mobile Count. - * Number of Windows mobile device count. - */ - @SerializedName("windowsMobileCount") - @Expose - public Integer windowsMobileCount; - - /** - * The Windows Count. - * Number of Windows device count. - */ - @SerializedName("windowsCount") - @Expose - public Integer windowsCount; - - /** - * The Unknown Count. - * Number of unknown device count. - */ - @SerializedName("unknownCount") - @Expose - public Integer unknownCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDiagnostic.java b/src/main/java/com/microsoft/graph/models/generated/BaseDiagnostic.java deleted file mode 100644 index 41c7e954ed0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDiagnostic.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Diagnostic. - */ -public class BaseDiagnostic implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Message. - * - */ - @SerializedName("message") - @Expose - public String message; - - /** - * The Url. - * - */ - @SerializedName("url") - @Expose - public String url; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectory.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectory.java deleted file mode 100644 index 28838984a33..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectory.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory. - */ -public class BaseDirectory extends Entity implements IJsonBackedObject { - - - /** - * The Deleted Items. - * Recently deleted items. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage deletedItems; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("deletedItems")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("deletedItems@odata.nextLink")) { - response.nextLink = json.get("deletedItems@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deletedItems").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deletedItems = new DirectoryObjectCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObject.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObject.java deleted file mode 100644 index e7813aa7814..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObject.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object. - */ -public class BaseDirectoryObject extends Entity implements IJsonBackedObject { - - - /** - * The Deleted Date Time. - * - */ - @SerializedName("deletedDateTime") - @Expose - public java.util.Calendar deletedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectCheckMemberGroupsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectCheckMemberGroupsBody.java deleted file mode 100644 index 8bc976abc3b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectCheckMemberGroupsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Check Member Groups Body. - */ -public class BaseDirectoryObjectCheckMemberGroupsBody { - - /** - * The group Ids. - * - */ - @SerializedName("groupIds") - @Expose - public java.util.List groupIds; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetByIdsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetByIdsBody.java deleted file mode 100644 index 02196fb18d3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetByIdsBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get By Ids Body. - */ -public class BaseDirectoryObjectGetByIdsBody { - - /** - * The ids. - * - */ - @SerializedName("ids") - @Expose - public java.util.List ids; - - /** - * The types. - * - */ - @SerializedName("types") - @Expose - public java.util.List types; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberGroupsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberGroupsBody.java deleted file mode 100644 index b76bd8e66c5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberGroupsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Groups Body. - */ -public class BaseDirectoryObjectGetMemberGroupsBody { - - /** - * The security Enabled Only. - * - */ - @SerializedName("securityEnabledOnly") - @Expose - public Boolean securityEnabledOnly; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberObjectsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberObjectsBody.java deleted file mode 100644 index 59ec7b7157f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryObjectGetMemberObjectsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Objects Body. - */ -public class BaseDirectoryObjectGetMemberObjectsBody { - - /** - * The security Enabled Only. - * - */ - @SerializedName("securityEnabledOnly") - @Expose - public Boolean securityEnabledOnly; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRole.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRole.java deleted file mode 100644 index edc1f55c57c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRole.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role. - */ -public class BaseDirectoryRole extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Description. - * The description for the directory role. Read-only. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Display Name. - * The display name for the directory role. Read-only. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Role Template Id. - * The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. - */ - @SerializedName("roleTemplateId") - @Expose - public String roleTemplateId; - - /** - * The Members. - * Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage members; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("members")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - members = new DirectoryObjectCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRoleTemplate.java b/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRoleTemplate.java deleted file mode 100644 index 2459351e9be..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDirectoryRoleTemplate.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DirectoryObject; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template. - */ -public class BaseDirectoryRoleTemplate extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Description. - * The description to set for the directory role. Read-only. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Display Name. - * The display name to set for the directory role. Read-only. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomain.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomain.java deleted file mode 100644 index 11af40619f8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomain.java +++ /dev/null @@ -1,215 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DomainState; -import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordCollectionResponse; -import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain. - */ -public class BaseDomain extends Entity implements IJsonBackedObject { - - - /** - * The Authentication Type. - * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable - */ - @SerializedName("authenticationType") - @Expose - public String authenticationType; - - /** - * The Availability Status. - * This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled. - */ - @SerializedName("availabilityStatus") - @Expose - public String availabilityStatus; - - /** - * The Is Admin Managed. - * The value of the property is false if the DNS record management of the domain has been delegated to Office 365. Otherwise, the value is true. Not nullable - */ - @SerializedName("isAdminManaged") - @Expose - public Boolean isAdminManaged; - - /** - * The Is Default. - * True if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable - */ - @SerializedName("isDefault") - @Expose - public Boolean isDefault; - - /** - * The Is Initial. - * True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable - */ - @SerializedName("isInitial") - @Expose - public Boolean isInitial; - - /** - * The Is Root. - * True if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable - */ - @SerializedName("isRoot") - @Expose - public Boolean isRoot; - - /** - * The Is Verified. - * True if the domain has completed domain ownership verification. Not nullable - */ - @SerializedName("isVerified") - @Expose - public Boolean isVerified; - - /** - * The Supported Services. - * The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable - */ - @SerializedName("supportedServices") - @Expose - public java.util.List supportedServices; - - /** - * The State. - * Status of asynchronous operations scheduled for the domain. - */ - @SerializedName("state") - @Expose - public DomainState state; - - /** - * The Service Configuration Records. - * DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable - */ - public DomainDnsRecordCollectionPage serviceConfigurationRecords; - - /** - * The Verification Dns Records. - * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable - */ - public DomainDnsRecordCollectionPage verificationDnsRecords; - - /** - * The Domain Name References. - * Read-only, Nullable - */ - public DirectoryObjectCollectionPage domainNameReferences; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("serviceConfigurationRecords")) { - final BaseDomainDnsRecordCollectionResponse response = new BaseDomainDnsRecordCollectionResponse(); - if (json.has("serviceConfigurationRecords@odata.nextLink")) { - response.nextLink = json.get("serviceConfigurationRecords@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("serviceConfigurationRecords").toString(), JsonObject[].class); - final DomainDnsRecord[] array = new DomainDnsRecord[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DomainDnsRecord.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - serviceConfigurationRecords = new DomainDnsRecordCollectionPage(response, null); - } - - if (json.has("verificationDnsRecords")) { - final BaseDomainDnsRecordCollectionResponse response = new BaseDomainDnsRecordCollectionResponse(); - if (json.has("verificationDnsRecords@odata.nextLink")) { - response.nextLink = json.get("verificationDnsRecords@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("verificationDnsRecords").toString(), JsonObject[].class); - final DomainDnsRecord[] array = new DomainDnsRecord[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DomainDnsRecord.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - verificationDnsRecords = new DomainDnsRecordCollectionPage(response, null); - } - - if (json.has("domainNameReferences")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("domainNameReferences@odata.nextLink")) { - response.nextLink = json.get("domainNameReferences@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("domainNameReferences").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - domainNameReferences = new DirectoryObjectCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsCnameRecord.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsCnameRecord.java deleted file mode 100644 index 17cf43c0d7c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsCnameRecord.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Cname Record. - */ -public class BaseDomainDnsCnameRecord extends DomainDnsRecord implements IJsonBackedObject { - - - /** - * The Canonical Name. - * The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host. - */ - @SerializedName("canonicalName") - @Expose - public String canonicalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsMxRecord.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsMxRecord.java deleted file mode 100644 index cfea9709e45..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsMxRecord.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Mx Record. - */ -public class BaseDomainDnsMxRecord extends DomainDnsRecord implements IJsonBackedObject { - - - /** - * The Mail Exchange. - * Value used when configuring the answer/destination/value of the MX record at the DNS host. - */ - @SerializedName("mailExchange") - @Expose - public String mailExchange; - - /** - * The Preference. - * Value used when configuring the Preference/Priority property of the MX record at the DNS host. - */ - @SerializedName("preference") - @Expose - public Integer preference; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsRecord.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsRecord.java deleted file mode 100644 index 65f196d77cf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsRecord.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record. - */ -public class BaseDomainDnsRecord extends Entity implements IJsonBackedObject { - - - /** - * The Is Optional. - * If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain. - */ - @SerializedName("isOptional") - @Expose - public Boolean isOptional; - - /** - * The Label. - * Value used when configuring the name of the DNS record at the DNS host. - */ - @SerializedName("label") - @Expose - public String label; - - /** - * The Record Type. - * Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey - */ - @SerializedName("recordType") - @Expose - public String recordType; - - /** - * The Supported Service. - * Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune - */ - @SerializedName("supportedService") - @Expose - public String supportedService; - - /** - * The Ttl. - * Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable - */ - @SerializedName("ttl") - @Expose - public Integer ttl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsSrvRecord.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsSrvRecord.java deleted file mode 100644 index 47457312f70..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsSrvRecord.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Srv Record. - */ -public class BaseDomainDnsSrvRecord extends DomainDnsRecord implements IJsonBackedObject { - - - /** - * The Name Target. - * Value to use when configuring the Target property of the SRV record at the DNS host. - */ - @SerializedName("nameTarget") - @Expose - public String nameTarget; - - /** - * The Port. - * Value to use when configuring the port property of the SRV record at the DNS host. - */ - @SerializedName("port") - @Expose - public Integer port; - - /** - * The Priority. - * Value to use when configuring the priority property of the SRV record at the DNS host. - */ - @SerializedName("priority") - @Expose - public Integer priority; - - /** - * The Protocol. - * Value to use when configuring the protocol property of the SRV record at the DNS host. - */ - @SerializedName("protocol") - @Expose - public String protocol; - - /** - * The Service. - * Value to use when configuring the service property of the SRV record at the DNS host. - */ - @SerializedName("service") - @Expose - public String service; - - /** - * The Weight. - * Value to use when configuring the weight property of the SRV record at the DNS host. - */ - @SerializedName("weight") - @Expose - public Integer weight; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsTxtRecord.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsTxtRecord.java deleted file mode 100644 index 4b3ee80f609..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsTxtRecord.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Txt Record. - */ -public class BaseDomainDnsTxtRecord extends DomainDnsRecord implements IJsonBackedObject { - - - /** - * The Text. - * Value used when configuring the text property at the DNS host. - */ - @SerializedName("text") - @Expose - public String text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsUnavailableRecord.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsUnavailableRecord.java deleted file mode 100644 index 6f713d98901..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainDnsUnavailableRecord.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Unavailable Record. - */ -public class BaseDomainDnsUnavailableRecord extends DomainDnsRecord implements IJsonBackedObject { - - - /** - * The Description. - * Provides the reason why the DomainDnsUnavailableRecord entity is returned. - */ - @SerializedName("description") - @Expose - public String description; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainForceDeleteBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainForceDeleteBody.java deleted file mode 100644 index a89721e80da..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainForceDeleteBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Force Delete Body. - */ -public class BaseDomainForceDeleteBody { - - /** - * The disable User Accounts. - * - */ - @SerializedName("disableUserAccounts") - @Expose - public Boolean disableUserAccounts; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDomainState.java b/src/main/java/com/microsoft/graph/models/generated/BaseDomainState.java deleted file mode 100644 index 57a7aff347c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDomainState.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain State. - */ -public class BaseDomainState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Status. - * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. - */ - @SerializedName("status") - @Expose - public String status; - - /** - * The Operation. - * Type of asynchronous operation. The values can be ForceDelete or Verification - */ - @SerializedName("operation") - @Expose - public String operation; - - /** - * The Last Action Date Time. - * Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes. - */ - @SerializedName("lastActionDateTime") - @Expose - public java.util.Calendar lastActionDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDrive.java b/src/main/java/com/microsoft/graph/models/generated/BaseDrive.java deleted file mode 100644 index 644c354dc02..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDrive.java +++ /dev/null @@ -1,178 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.Quota; -import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.extensions.SystemFacet; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.models.extensions.List; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveItemCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive. - */ -public class BaseDrive extends BaseItem implements IJsonBackedObject { - - - /** - * The Drive Type. - * Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only. - */ - @SerializedName("driveType") - @Expose - public String driveType; - - /** - * The Owner. - * Optional. The user account that owns the drive. Read-only. - */ - @SerializedName("owner") - @Expose - public IdentitySet owner; - - /** - * The Quota. - * Optional. Information about the drive's storage space quota. Read-only. - */ - @SerializedName("quota") - @Expose - public Quota quota; - - /** - * The Share Point Ids. - * - */ - @SerializedName("sharePointIds") - @Expose - public SharepointIds sharePointIds; - - /** - * The System. - * If present, indicates that this is a system-managed drive. Read-only. - */ - @SerializedName("system") - @Expose - public SystemFacet system; - - /** - * The Items. - * All items contained in the drive. Read-only. Nullable. - */ - public DriveItemCollectionPage items; - - /** - * The List. - * For drives in SharePoint, the underlying document library list. Read-only. Nullable. - */ - @SerializedName("list") - @Expose - public List list; - - /** - * The Root. - * The root folder of the drive. Read-only. - */ - @SerializedName("root") - @Expose - public DriveItem root; - - /** - * The Special. - * Collection of common folders available in OneDrive. Read-only. Nullable. - */ - public DriveItemCollectionPage special; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("items")) { - final BaseDriveItemCollectionResponse response = new BaseDriveItemCollectionResponse(); - if (json.has("items@odata.nextLink")) { - response.nextLink = json.get("items@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); - final DriveItem[] array = new DriveItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - items = new DriveItemCollectionPage(response, null); - } - - if (json.has("special")) { - final BaseDriveItemCollectionResponse response = new BaseDriveItemCollectionResponse(); - if (json.has("special@odata.nextLink")) { - response.nextLink = json.get("special@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("special").toString(), JsonObject[].class); - final DriveItem[] array = new DriveItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - special = new DriveItemCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItem.java deleted file mode 100644 index 68e0af3fb7a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItem.java +++ /dev/null @@ -1,364 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Audio; -import com.microsoft.graph.models.extensions.Deleted; -import com.microsoft.graph.models.extensions.File; -import com.microsoft.graph.models.extensions.FileSystemInfo; -import com.microsoft.graph.models.extensions.Folder; -import com.microsoft.graph.models.extensions.Image; -import com.microsoft.graph.models.extensions.GeoCoordinates; -import com.microsoft.graph.models.extensions.Photo; -import com.microsoft.graph.models.extensions.PublicationFacet; -import com.microsoft.graph.models.extensions.RemoteItem; -import com.microsoft.graph.models.extensions.Root; -import com.microsoft.graph.models.extensions.SearchResult; -import com.microsoft.graph.models.extensions.Shared; -import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.extensions.SpecialFolder; -import com.microsoft.graph.models.extensions.Video; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.models.extensions.ListItem; -import com.microsoft.graph.models.extensions.Permission; -import com.microsoft.graph.models.extensions.ThumbnailSet; -import com.microsoft.graph.models.extensions.DriveItemVersion; -import com.microsoft.graph.models.extensions.Workbook; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveItemCollectionPage; -import com.microsoft.graph.requests.generated.BasePermissionCollectionResponse; -import com.microsoft.graph.requests.extensions.PermissionCollectionPage; -import com.microsoft.graph.requests.generated.BaseThumbnailSetCollectionResponse; -import com.microsoft.graph.requests.extensions.ThumbnailSetCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveItemVersionCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item. - */ -public class BaseDriveItem extends BaseItem implements IJsonBackedObject { - - - /** - * The Audio. - * Audio metadata, if the item is an audio file. Read-only. - */ - @SerializedName("audio") - @Expose - public Audio audio; - - /** - * The CTag. - * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. - */ - @SerializedName("cTag") - @Expose - public String cTag; - - /** - * The Deleted. - * Information about the deleted state of the item. Read-only. - */ - @SerializedName("deleted") - @Expose - public Deleted deleted; - - /** - * The File. - * File metadata, if the item is a file. Read-only. - */ - @SerializedName("file") - @Expose - public File file; - - /** - * The File System Info. - * File system information on client. Read-write. - */ - @SerializedName("fileSystemInfo") - @Expose - public FileSystemInfo fileSystemInfo; - - /** - * The Folder. - * Folder metadata, if the item is a folder. Read-only. - */ - @SerializedName("folder") - @Expose - public Folder folder; - - /** - * The Image. - * Image metadata, if the item is an image. Read-only. - */ - @SerializedName("image") - @Expose - public Image image; - - /** - * The Location. - * Location metadata, if the item has location data. Read-only. - */ - @SerializedName("location") - @Expose - public GeoCoordinates location; - - /** - * The Package. - * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. - */ - @SerializedName("package") - @Expose - public com.microsoft.graph.models.extensions.Package msgraphpackage; - - /** - * The Photo. - * Photo metadata, if the item is a photo. Read-only. - */ - @SerializedName("photo") - @Expose - public Photo photo; - - /** - * The Publication. - * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. - */ - @SerializedName("publication") - @Expose - public PublicationFacet publication; - - /** - * The Remote Item. - * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. - */ - @SerializedName("remoteItem") - @Expose - public RemoteItem remoteItem; - - /** - * The Root. - * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. - */ - @SerializedName("root") - @Expose - public Root root; - - /** - * The Search Result. - * Search metadata, if the item is from a search result. Read-only. - */ - @SerializedName("searchResult") - @Expose - public SearchResult searchResult; - - /** - * The Shared. - * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. - */ - @SerializedName("shared") - @Expose - public Shared shared; - - /** - * The Sharepoint Ids. - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - */ - @SerializedName("sharepointIds") - @Expose - public SharepointIds sharepointIds; - - /** - * The Size. - * Size of the item in bytes. Read-only. - */ - @SerializedName("size") - @Expose - public Long size; - - /** - * The Special Folder. - * If the current item is also available as a special folder, this facet is returned. Read-only. - */ - @SerializedName("specialFolder") - @Expose - public SpecialFolder specialFolder; - - /** - * The Video. - * Video metadata, if the item is a video. Read-only. - */ - @SerializedName("video") - @Expose - public Video video; - - /** - * The Web Dav Url. - * WebDAV compatible URL for the item. - */ - @SerializedName("webDavUrl") - @Expose - public String webDavUrl; - - /** - * The Children. - * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. - */ - public DriveItemCollectionPage children; - - /** - * The List Item. - * For drives in SharePoint, the associated document library list item. Read-only. Nullable. - */ - @SerializedName("listItem") - @Expose - public ListItem listItem; - - /** - * The Permissions. - * The set of permissions for the item. Read-only. Nullable. - */ - public PermissionCollectionPage permissions; - - /** - * The Thumbnails. - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. - */ - public ThumbnailSetCollectionPage thumbnails; - - /** - * The Versions. - * The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. - */ - public DriveItemVersionCollectionPage versions; - - /** - * The Workbook. - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. - */ - @SerializedName("workbook") - @Expose - public Workbook workbook; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("children")) { - final BaseDriveItemCollectionResponse response = new BaseDriveItemCollectionResponse(); - if (json.has("children@odata.nextLink")) { - response.nextLink = json.get("children@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("children").toString(), JsonObject[].class); - final DriveItem[] array = new DriveItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - children = new DriveItemCollectionPage(response, null); - } - - if (json.has("permissions")) { - final BasePermissionCollectionResponse response = new BasePermissionCollectionResponse(); - if (json.has("permissions@odata.nextLink")) { - response.nextLink = json.get("permissions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("permissions").toString(), JsonObject[].class); - final Permission[] array = new Permission[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Permission.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - permissions = new PermissionCollectionPage(response, null); - } - - if (json.has("thumbnails")) { - final BaseThumbnailSetCollectionResponse response = new BaseThumbnailSetCollectionResponse(); - if (json.has("thumbnails@odata.nextLink")) { - response.nextLink = json.get("thumbnails@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("thumbnails").toString(), JsonObject[].class); - final ThumbnailSet[] array = new ThumbnailSet[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ThumbnailSet.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - thumbnails = new ThumbnailSetCollectionPage(response, null); - } - - if (json.has("versions")) { - final BaseDriveItemVersionCollectionResponse response = new BaseDriveItemVersionCollectionResponse(); - if (json.has("versions@odata.nextLink")) { - response.nextLink = json.get("versions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("versions").toString(), JsonObject[].class); - final DriveItemVersion[] array = new DriveItemVersion[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItemVersion.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - versions = new DriveItemVersionCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCopyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCopyBody.java deleted file mode 100644 index 17b4f2e107b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCopyBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Copy Body. - */ -public class BaseDriveItemCopyBody { - - /** - * The name. - * - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The parent Reference. - * - */ - @SerializedName("parentReference") - @Expose - public ItemReference parentReference; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateLinkBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateLinkBody.java deleted file mode 100644 index 2d2bd5b3e50..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateLinkBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Create Link Body. - */ -public class BaseDriveItemCreateLinkBody { - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The scope. - * - */ - @SerializedName("scope") - @Expose - public String scope; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateUploadSessionBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateUploadSessionBody.java deleted file mode 100644 index 3a145b8cc35..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemCreateUploadSessionBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Create Upload Session Body. - */ -public class BaseDriveItemCreateUploadSessionBody { - - /** - * The item. - * - */ - @SerializedName("item") - @Expose - public DriveItemUploadableProperties item; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemInviteBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemInviteBody.java deleted file mode 100644 index adaf0cb7847..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemInviteBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Invite Body. - */ -public class BaseDriveItemInviteBody { - - /** - * The require Sign In. - * - */ - @SerializedName("requireSignIn") - @Expose - public Boolean requireSignIn; - - /** - * The roles. - * - */ - @SerializedName("roles") - @Expose - public java.util.List roles; - - /** - * The send Invitation. - * - */ - @SerializedName("sendInvitation") - @Expose - public Boolean sendInvitation; - - /** - * The message. - * - */ - @SerializedName("message") - @Expose - public String message; - - /** - * The recipients. - * - */ - @SerializedName("recipients") - @Expose - public java.util.List recipients; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemPreviewBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemPreviewBody.java deleted file mode 100644 index 1f9ad3523a9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemPreviewBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Preview Body. - */ -public class BaseDriveItemPreviewBody { - - /** - * The page. - * - */ - @SerializedName("page") - @Expose - public String page; - - /** - * The zoom. - * - */ - @SerializedName("zoom") - @Expose - public Double zoom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemUploadableProperties.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemUploadableProperties.java deleted file mode 100644 index 50b3373a76f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemUploadableProperties.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.FileSystemInfo; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Uploadable Properties. - */ -public class BaseDriveItemUploadableProperties implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Description. - * Provides a user-visible description of the item. Read-write. Only on OneDrive Personal - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The File System Info. - * File system information on client. Read-write. - */ - @SerializedName("fileSystemInfo") - @Expose - public FileSystemInfo fileSystemInfo; - - /** - * The Name. - * The name of the item (filename and extension). Read-write. - */ - @SerializedName("name") - @Expose - public String name; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemVersion.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemVersion.java deleted file mode 100644 index 2706f32d157..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveItemVersion.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.BaseItemVersion; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version. - */ -public class BaseDriveItemVersion extends BaseItemVersion implements IJsonBackedObject { - - - /** - * The Size. - * Indicates the size of the content stream for this version of the item. - */ - @SerializedName("size") - @Expose - public Long size; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseDriveRecipient.java b/src/main/java/com/microsoft/graph/models/generated/BaseDriveRecipient.java deleted file mode 100644 index e1966a78711..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseDriveRecipient.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Recipient. - */ -public class BaseDriveRecipient implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Alias. - * The alias of the domain object, for cases where an email address is unavailable (e.g. security groups). - */ - @SerializedName("alias") - @Expose - public String alias; - - /** - * The Email. - * The email address for the recipient, if the recipient has an associated email address. - */ - @SerializedName("email") - @Expose - public String email; - - /** - * The Object Id. - * The unique identifier for the recipient in the directory. - */ - @SerializedName("objectId") - @Expose - public String objectId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEBookInstallSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseEBookInstallSummary.java deleted file mode 100644 index e6e187ad784..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEBookInstallSummary.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base EBook Install Summary. - */ -public class BaseEBookInstallSummary extends Entity implements IJsonBackedObject { - - - /** - * The Installed Device Count. - * Number of Devices that have successfully installed this book. - */ - @SerializedName("installedDeviceCount") - @Expose - public Integer installedDeviceCount; - - /** - * The Failed Device Count. - * Number of Devices that have failed to install this book. - */ - @SerializedName("failedDeviceCount") - @Expose - public Integer failedDeviceCount; - - /** - * The Not Installed Device Count. - * Number of Devices that does not have this book installed. - */ - @SerializedName("notInstalledDeviceCount") - @Expose - public Integer notInstalledDeviceCount; - - /** - * The Installed User Count. - * Number of Users whose devices have all succeeded to install this book. - */ - @SerializedName("installedUserCount") - @Expose - public Integer installedUserCount; - - /** - * The Failed User Count. - * Number of Users that have 1 or more device that failed to install this book. - */ - @SerializedName("failedUserCount") - @Expose - public Integer failedUserCount; - - /** - * The Not Installed User Count. - * Number of Users that did not install this book. - */ - @SerializedName("notInstalledUserCount") - @Expose - public Integer notInstalledUserCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngine.java b/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngine.java deleted file mode 100644 index 52c44cb7cb3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngine.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EdgeSearchEngineType; -import com.microsoft.graph.models.extensions.EdgeSearchEngineBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Edge Search Engine. - */ -public class BaseEdgeSearchEngine extends EdgeSearchEngineBase implements IJsonBackedObject { - - - /** - * The Edge Search Engine Type. - * Allows IT admins to set a predefined default search engine for MDM-Controlled devices. Possible values are: default, bing. - */ - @SerializedName("edgeSearchEngineType") - @Expose - public EdgeSearchEngineType edgeSearchEngineType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineBase.java b/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineBase.java deleted file mode 100644 index 8a71e000aa3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineBase.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Edge Search Engine Base. - */ -public class BaseEdgeSearchEngineBase implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineCustom.java b/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineCustom.java deleted file mode 100644 index b05074d07a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEdgeSearchEngineCustom.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EdgeSearchEngineBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Edge Search Engine Custom. - */ -public class BaseEdgeSearchEngineCustom extends EdgeSearchEngineBase implements IJsonBackedObject { - - - /** - * The Edge Search Engine Open Search Xml Url. - * Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. - */ - @SerializedName("edgeSearchEngineOpenSearchXmlUrl") - @Expose - public String edgeSearchEngineOpenSearchXmlUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEditionUpgradeConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseEditionUpgradeConfiguration.java deleted file mode 100644 index 6ae6d9dc077..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEditionUpgradeConfiguration.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EditionUpgradeLicenseType; -import com.microsoft.graph.models.generated.Windows10EditionType; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Edition Upgrade Configuration. - */ -public class BaseEditionUpgradeConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The License Type. - * Edition Upgrade License Type. Possible values are: productKey, licenseFile. - */ - @SerializedName("licenseType") - @Expose - public EditionUpgradeLicenseType licenseType; - - /** - * The Target Edition. - * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN. - */ - @SerializedName("targetEdition") - @Expose - public Windows10EditionType targetEdition; - - /** - * The License. - * Edition Upgrade License File Content. - */ - @SerializedName("license") - @Expose - public String license; - - /** - * The Product Key. - * Edition Upgrade Product Key. - */ - @SerializedName("productKey") - @Expose - public String productKey; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationClass.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationClass.java deleted file mode 100644 index 4c1b1ca270f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationClass.java +++ /dev/null @@ -1,226 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.EducationExternalSource; -import com.microsoft.graph.models.extensions.EducationTerm; -import com.microsoft.graph.models.extensions.EducationSchool; -import com.microsoft.graph.models.extensions.EducationUser; -import com.microsoft.graph.models.extensions.Group; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationSchoolCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class. - */ -public class BaseEducationClass extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Name of the class. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Mail Nickname. - * Mail name for sending email to all members, if this is enabled. - */ - @SerializedName("mailNickname") - @Expose - public String mailNickname; - - /** - * The Description. - * Description of the class. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Created By. - * Entity who created the class - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Class Code. - * Class code used by the school to identify the class. - */ - @SerializedName("classCode") - @Expose - public String classCode; - - /** - * The External Name. - * Name of the class in the syncing system. - */ - @SerializedName("externalName") - @Expose - public String externalName; - - /** - * The External Id. - * ID of the class from the syncing system. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - /** - * The External Source. - * How this class was created. The possible values are: sis, manual, unknownFutureValue. - */ - @SerializedName("externalSource") - @Expose - public EducationExternalSource externalSource; - - /** - * The Term. - * Term for this class. - */ - @SerializedName("term") - @Expose - public EducationTerm term; - - /** - * The Schools. - * All schools that this class is associated with. Nullable. - */ - public EducationSchoolCollectionPage schools; - - /** - * The Members. - * All users in the class. Nullable. - */ - public EducationUserCollectionPage members; - - /** - * The Teachers. - * All teachers in the class. Nullable. - */ - public EducationUserCollectionPage teachers; - - /** - * The Group. - * The directory group corresponding to this class. - */ - @SerializedName("group") - @Expose - public Group group; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("schools")) { - final BaseEducationSchoolCollectionResponse response = new BaseEducationSchoolCollectionResponse(); - if (json.has("schools@odata.nextLink")) { - response.nextLink = json.get("schools@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("schools").toString(), JsonObject[].class); - final EducationSchool[] array = new EducationSchool[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationSchool.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - schools = new EducationSchoolCollectionPage(response, null); - } - - if (json.has("members")) { - final BaseEducationUserCollectionResponse response = new BaseEducationUserCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final EducationUser[] array = new EducationUser[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - members = new EducationUserCollectionPage(response, null); - } - - if (json.has("teachers")) { - final BaseEducationUserCollectionResponse response = new BaseEducationUserCollectionResponse(); - if (json.has("teachers@odata.nextLink")) { - response.nextLink = json.get("teachers@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("teachers").toString(), JsonObject[].class); - final EducationUser[] array = new EducationUser[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - teachers = new EducationUserCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationOrganization.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationOrganization.java deleted file mode 100644 index 59f41e8a510..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationOrganization.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EducationExternalSource; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Organization. - */ -public class BaseEducationOrganization extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Organization display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Organization description. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The External Source. - * Source where this organization was created from. The possible values are: sis, manual, unknownFutureValue. - */ - @SerializedName("externalSource") - @Expose - public EducationExternalSource externalSource; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationRelatedContact.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationRelatedContact.java deleted file mode 100644 index 24e859541ad..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationRelatedContact.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EducationContactRelationship; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Related Contact. - */ -public class BaseEducationRelatedContact implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Id. - * - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Display Name. - * - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Email Address. - * - */ - @SerializedName("emailAddress") - @Expose - public String emailAddress; - - /** - * The Mobile Phone. - * - */ - @SerializedName("mobilePhone") - @Expose - public String mobilePhone; - - /** - * The Relationship. - * - */ - @SerializedName("relationship") - @Expose - public EducationContactRelationship relationship; - - /** - * The Access Consent. - * - */ - @SerializedName("accessConsent") - @Expose - public Boolean accessConsent; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationRoot.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationRoot.java deleted file mode 100644 index 251749cfc1e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationRoot.java +++ /dev/null @@ -1,153 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EducationClass; -import com.microsoft.graph.models.extensions.EducationSchool; -import com.microsoft.graph.models.extensions.EducationUser; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationSchoolCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Root. - */ -public class BaseEducationRoot extends Entity implements IJsonBackedObject { - - - /** - * The Classes. - * Read-only. Nullable. - */ - public EducationClassCollectionPage classes; - - /** - * The Schools. - * Read-only. Nullable. - */ - public EducationSchoolCollectionPage schools; - - /** - * The Users. - * Read-only. Nullable. - */ - public EducationUserCollectionPage users; - - /** - * The Me. - * Read-only. Nullable. - */ - @SerializedName("me") - @Expose - public EducationUser me; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("classes")) { - final BaseEducationClassCollectionResponse response = new BaseEducationClassCollectionResponse(); - if (json.has("classes@odata.nextLink")) { - response.nextLink = json.get("classes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classes").toString(), JsonObject[].class); - final EducationClass[] array = new EducationClass[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - classes = new EducationClassCollectionPage(response, null); - } - - if (json.has("schools")) { - final BaseEducationSchoolCollectionResponse response = new BaseEducationSchoolCollectionResponse(); - if (json.has("schools@odata.nextLink")) { - response.nextLink = json.get("schools@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("schools").toString(), JsonObject[].class); - final EducationSchool[] array = new EducationSchool[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationSchool.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - schools = new EducationSchoolCollectionPage(response, null); - } - - if (json.has("users")) { - final BaseEducationUserCollectionResponse response = new BaseEducationUserCollectionResponse(); - if (json.has("users@odata.nextLink")) { - response.nextLink = json.get("users@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("users").toString(), JsonObject[].class); - final EducationUser[] array = new EducationUser[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - users = new EducationUserCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationSchool.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationSchool.java deleted file mode 100644 index ce404b4a375..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationSchool.java +++ /dev/null @@ -1,210 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.PhysicalAddress; -import com.microsoft.graph.models.extensions.EducationClass; -import com.microsoft.graph.models.extensions.EducationUser; -import com.microsoft.graph.models.extensions.EducationOrganization; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School. - */ -public class BaseEducationSchool extends EducationOrganization implements IJsonBackedObject { - - - /** - * The Principal Email. - * Email address of the principal. - */ - @SerializedName("principalEmail") - @Expose - public String principalEmail; - - /** - * The Principal Name. - * Name of the principal. - */ - @SerializedName("principalName") - @Expose - public String principalName; - - /** - * The External Principal Id. - * ID of principal in syncing system. - */ - @SerializedName("externalPrincipalId") - @Expose - public String externalPrincipalId; - - /** - * The Lowest Grade. - * Lowest grade taught. - */ - @SerializedName("lowestGrade") - @Expose - public String lowestGrade; - - /** - * The Highest Grade. - * Highest grade taught. - */ - @SerializedName("highestGrade") - @Expose - public String highestGrade; - - /** - * The School Number. - * School Number. - */ - @SerializedName("schoolNumber") - @Expose - public String schoolNumber; - - /** - * The External Id. - * ID of school in syncing system. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - /** - * The Phone. - * Phone number of school. - */ - @SerializedName("phone") - @Expose - public String phone; - - /** - * The Fax. - * Fax number of school. - */ - @SerializedName("fax") - @Expose - public String fax; - - /** - * The Created By. - * Entity who created the school. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Address. - * Address of the school. - */ - @SerializedName("address") - @Expose - public PhysicalAddress address; - - /** - * The Classes. - * Classes taught at the school. Nullable. - */ - public EducationClassCollectionPage classes; - - /** - * The Users. - * Users in the school. Nullable. - */ - public EducationUserCollectionPage users; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("classes")) { - final BaseEducationClassCollectionResponse response = new BaseEducationClassCollectionResponse(); - if (json.has("classes@odata.nextLink")) { - response.nextLink = json.get("classes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classes").toString(), JsonObject[].class); - final EducationClass[] array = new EducationClass[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - classes = new EducationClassCollectionPage(response, null); - } - - if (json.has("users")) { - final BaseEducationUserCollectionResponse response = new BaseEducationUserCollectionResponse(); - if (json.has("users@odata.nextLink")) { - response.nextLink = json.get("users@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("users").toString(), JsonObject[].class); - final EducationUser[] array = new EducationUser[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - users = new EducationUserCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationStudent.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationStudent.java deleted file mode 100644 index 217817db8ec..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationStudent.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EducationGender; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Student. - */ -public class BaseEducationStudent implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Graduation Year. - * Year the student is graduating from the school. - */ - @SerializedName("graduationYear") - @Expose - public String graduationYear; - - /** - * The Grade. - * Current grade level of the student. - */ - @SerializedName("grade") - @Expose - public String grade; - - /** - * The Birth Date. - * Birth date of the student. - */ - @SerializedName("birthDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly birthDate; - - /** - * The Gender. - * The possible values are: female, male, other, unknownFutureValue. - */ - @SerializedName("gender") - @Expose - public EducationGender gender; - - /** - * The Student Number. - * Student Number. - */ - @SerializedName("studentNumber") - @Expose - public String studentNumber; - - /** - * The External Id. - * ID of the student in the source system. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationTeacher.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationTeacher.java deleted file mode 100644 index 0608cc8f037..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationTeacher.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Teacher. - */ -public class BaseEducationTeacher implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Teacher Number. - * Teacher number. - */ - @SerializedName("teacherNumber") - @Expose - public String teacherNumber; - - /** - * The External Id. - * ID of the teacher in the source system. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationTerm.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationTerm.java deleted file mode 100644 index c40bf582a20..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationTerm.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Term. - */ -public class BaseEducationTerm implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The External Id. - * ID of term in the syncing system. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - /** - * The Start Date. - * Start of the term. - */ - @SerializedName("startDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly startDate; - - /** - * The End Date. - * End of the term. - */ - @SerializedName("endDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly endDate; - - /** - * The Display Name. - * Display name of the term. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEducationUser.java b/src/main/java/com/microsoft/graph/models/generated/BaseEducationUser.java deleted file mode 100644 index fe96336dc77..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEducationUser.java +++ /dev/null @@ -1,380 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EducationUserRole; -import com.microsoft.graph.models.generated.EducationExternalSource; -import com.microsoft.graph.models.extensions.PhysicalAddress; -import com.microsoft.graph.models.extensions.EducationStudent; -import com.microsoft.graph.models.extensions.EducationTeacher; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.EducationRelatedContact; -import com.microsoft.graph.models.extensions.AssignedLicense; -import com.microsoft.graph.models.extensions.AssignedPlan; -import com.microsoft.graph.models.extensions.PasswordProfile; -import com.microsoft.graph.models.extensions.ProvisionedPlan; -import com.microsoft.graph.models.extensions.EducationSchool; -import com.microsoft.graph.models.extensions.EducationClass; -import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationSchoolCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User. - */ -public class BaseEducationUser extends Entity implements IJsonBackedObject { - - - /** - * The Primary Role. - * Default role for a user. The user's role might be different in an individual class. The possible values are: student, teacher, unknownFutureValue. Supports $filter. - */ - @SerializedName("primaryRole") - @Expose - public EducationUserRole primaryRole; - - /** - * The Middle Name. - * The middle name of user. - */ - @SerializedName("middleName") - @Expose - public String middleName; - - /** - * The External Source. - * Where this user was created from. The possible values are: sis, manual, unkownFutureValue. - */ - @SerializedName("externalSource") - @Expose - public EducationExternalSource externalSource; - - /** - * The Residence Address. - * Address where user lives. - */ - @SerializedName("residenceAddress") - @Expose - public PhysicalAddress residenceAddress; - - /** - * The Mailing Address. - * Mail address of user. - */ - @SerializedName("mailingAddress") - @Expose - public PhysicalAddress mailingAddress; - - /** - * The Student. - * If the primary role is student, this block will contain student specific data. - */ - @SerializedName("student") - @Expose - public EducationStudent student; - - /** - * The Teacher. - * If the primary role is teacher, this block will conatin teacher specific data. - */ - @SerializedName("teacher") - @Expose - public EducationTeacher teacher; - - /** - * The Created By. - * Entity who created the user. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Related Contacts. - * - */ - @SerializedName("relatedContacts") - @Expose - public java.util.List relatedContacts; - - /** - * The Account Enabled. - * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter. - */ - @SerializedName("accountEnabled") - @Expose - public Boolean accountEnabled; - - /** - * The Assigned Licenses. - * The licenses that are assigned to the user. Not nullable. - */ - @SerializedName("assignedLicenses") - @Expose - public java.util.List assignedLicenses; - - /** - * The Assigned Plans. - * The plans that are assigned to the user. Read-only. Not nullable. - */ - @SerializedName("assignedPlans") - @Expose - public java.util.List assignedPlans; - - /** - * The Business Phones. - * The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property. - */ - @SerializedName("businessPhones") - @Expose - public java.util.List businessPhones; - - /** - * The Department. - * The name for the department in which the user works. Supports $filter. - */ - @SerializedName("department") - @Expose - public String department; - - /** - * The Display Name. - * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Given Name. - * The given name (first name) of the user. Supports $filter. - */ - @SerializedName("givenName") - @Expose - public String givenName; - - /** - * The Mail. - * The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports $filter. - */ - @SerializedName("mail") - @Expose - public String mail; - - /** - * The Mail Nickname. - * The mail alias for the user. This property must be specified when a user is created. Supports $filter. - */ - @SerializedName("mailNickname") - @Expose - public String mailNickname; - - /** - * The Mobile Phone. - * The primary cellular telephone number for the user. - */ - @SerializedName("mobilePhone") - @Expose - public String mobilePhone; - - /** - * The Password Policies. - * Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two can be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'. - */ - @SerializedName("passwordPolicies") - @Expose - public String passwordPolicies; - - /** - * The Password Profile. - * Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. - */ - @SerializedName("passwordProfile") - @Expose - public PasswordProfile passwordProfile; - - /** - * The Office Location. - * - */ - @SerializedName("officeLocation") - @Expose - public String officeLocation; - - /** - * The Preferred Language. - * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. - */ - @SerializedName("preferredLanguage") - @Expose - public String preferredLanguage; - - /** - * The Provisioned Plans. - * The plans that are provisioned for the user. Read-only. Not nullable. - */ - @SerializedName("provisionedPlans") - @Expose - public java.util.List provisionedPlans; - - /** - * The Refresh Tokens Valid From Date Time. - * - */ - @SerializedName("refreshTokensValidFromDateTime") - @Expose - public java.util.Calendar refreshTokensValidFromDateTime; - - /** - * The Show In Address List. - * - */ - @SerializedName("showInAddressList") - @Expose - public Boolean showInAddressList; - - /** - * The Surname. - * The user's surname (family name or last name). Supports $filter. - */ - @SerializedName("surname") - @Expose - public String surname; - - /** - * The Usage Location. - * A two-letter country code (ISO standard 3166). Required for users who will be assigned licenses due to a legal requirement to check for availability of services in countries or regions. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter. - */ - @SerializedName("usageLocation") - @Expose - public String usageLocation; - - /** - * The User Principal Name. - * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Supports $filter and $orderby. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The User Type. - * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter. - */ - @SerializedName("userType") - @Expose - public String userType; - - /** - * The Schools. - * Schools to which the user belongs. Nullable. - */ - public EducationSchoolCollectionPage schools; - - /** - * The Classes. - * Classes to which the user belongs. Nullable. - */ - public EducationClassCollectionPage classes; - - /** - * The User. - * The directory user corresponding to this user. - */ - @SerializedName("user") - @Expose - public User user; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("schools")) { - final BaseEducationSchoolCollectionResponse response = new BaseEducationSchoolCollectionResponse(); - if (json.has("schools@odata.nextLink")) { - response.nextLink = json.get("schools@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("schools").toString(), JsonObject[].class); - final EducationSchool[] array = new EducationSchool[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationSchool.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - schools = new EducationSchoolCollectionPage(response, null); - } - - if (json.has("classes")) { - final BaseEducationClassCollectionResponse response = new BaseEducationClassCollectionResponse(); - if (json.has("classes@odata.nextLink")) { - response.nextLink = json.get("classes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classes").toString(), JsonObject[].class); - final EducationClass[] array = new EducationClass[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - classes = new EducationClassCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEmailAddress.java b/src/main/java/com/microsoft/graph/models/generated/BaseEmailAddress.java deleted file mode 100644 index 2c708e258e0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEmailAddress.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Email Address. - */ -public class BaseEmailAddress implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * The display name of the person or entity. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Address. - * The email address of the person or entity. - */ - @SerializedName("address") - @Expose - public String address; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentConfigurationAssignment.java deleted file mode 100644 index 39aa259e253..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentConfigurationAssignment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment. - */ -public class BaseEnrollmentConfigurationAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * Not yet documented - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentTroubleshootingEvent.java deleted file mode 100644 index 9b58be9953e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEnrollmentTroubleshootingEvent.java +++ /dev/null @@ -1,136 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceEnrollmentType; -import com.microsoft.graph.models.generated.DeviceEnrollmentFailureReason; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Troubleshooting Event. - */ -public class BaseEnrollmentTroubleshootingEvent extends DeviceManagementTroubleshootingEvent implements IJsonBackedObject { - - - /** - * The Managed Device Identifier. - * Device identifier created or collected by Intune. - */ - @SerializedName("managedDeviceIdentifier") - @Expose - public String managedDeviceIdentifier; - - /** - * The Operating System. - * Operating System. - */ - @SerializedName("operatingSystem") - @Expose - public String operatingSystem; - - /** - * The Os Version. - * OS Version. - */ - @SerializedName("osVersion") - @Expose - public String osVersion; - - /** - * The User Id. - * Identifier for the user that tried to enroll the device. - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The Device Id. - * Azure AD device identifier. - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The Enrollment Type. - * Type of the enrollment. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. - */ - @SerializedName("enrollmentType") - @Expose - public DeviceEnrollmentType enrollmentType; - - /** - * The Failure Category. - * Highlevel failure category. Possible values are: unknown, authentication, authorization, accountValidation, userValidation, deviceNotSupported, inMaintenance, badRequest, featureNotSupported, enrollmentRestrictionsEnforced, clientDisconnected, userAbandonment. - */ - @SerializedName("failureCategory") - @Expose - public DeviceEnrollmentFailureReason failureCategory; - - /** - * The Failure Reason. - * Detailed failure reason. - */ - @SerializedName("failureReason") - @Expose - public String failureReason; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEntity.java b/src/main/java/com/microsoft/graph/models/generated/BaseEntity.java deleted file mode 100644 index 1b34d729346..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEntity.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity. - */ -public class BaseEntity implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Id. - * Read-only. - */ - @SerializedName("id") - @Expose - public String id; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEvent.java b/src/main/java/com/microsoft/graph/models/generated/BaseEvent.java deleted file mode 100644 index 2c92714d7e3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEvent.java +++ /dev/null @@ -1,447 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ResponseStatus; -import com.microsoft.graph.models.extensions.ItemBody; -import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.generated.Sensitivity; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.extensions.PatternedRecurrence; -import com.microsoft.graph.models.generated.FreeBusyStatus; -import com.microsoft.graph.models.generated.EventType; -import com.microsoft.graph.models.extensions.Attendee; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.generated.BaseEventCollectionResponse; -import com.microsoft.graph.requests.extensions.EventCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionResponse; -import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event. - */ -public class BaseEvent extends OutlookItem implements IJsonBackedObject { - - - /** - * The Original Start Time Zone. - * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - */ - @SerializedName("originalStartTimeZone") - @Expose - public String originalStartTimeZone; - - /** - * The Original End Time Zone. - * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - */ - @SerializedName("originalEndTimeZone") - @Expose - public String originalEndTimeZone; - - /** - * The Response Status. - * Indicates the type of response sent in response to an event message. - */ - @SerializedName("responseStatus") - @Expose - public ResponseStatus responseStatus; - - /** - * The ICal UId. - * A unique identifier that is shared by all instances of an event across different calendars. Read-only. - */ - @SerializedName("iCalUId") - @Expose - public String iCalUId; - - /** - * The Reminder Minutes Before Start. - * The number of minutes before the event start time that the reminder alert occurs. - */ - @SerializedName("reminderMinutesBeforeStart") - @Expose - public Integer reminderMinutesBeforeStart; - - /** - * The Is Reminder On. - * Set to true if an alert is set to remind the user of the event. - */ - @SerializedName("isReminderOn") - @Expose - public Boolean isReminderOn; - - /** - * The Has Attachments. - * Set to true if the event has attachments. - */ - @SerializedName("hasAttachments") - @Expose - public Boolean hasAttachments; - - /** - * The Subject. - * The text of the event's subject line. - */ - @SerializedName("subject") - @Expose - public String subject; - - /** - * The Body. - * The body of the message associated with the event. It can be in HTML or text format. - */ - @SerializedName("body") - @Expose - public ItemBody body; - - /** - * The Body Preview. - * The preview of the message associated with the event. It is in text format. - */ - @SerializedName("bodyPreview") - @Expose - public String bodyPreview; - - /** - * The Importance. - * The importance of the event. The possible values are: low, normal, high. - */ - @SerializedName("importance") - @Expose - public Importance importance; - - /** - * The Sensitivity. - * The possible values are: normal, personal, private, confidential. - */ - @SerializedName("sensitivity") - @Expose - public Sensitivity sensitivity; - - /** - * The Start. - * The date, time, and time zone that the event starts. - */ - @SerializedName("start") - @Expose - public DateTimeTimeZone start; - - /** - * The Original Start. - * 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("originalStart") - @Expose - public java.util.Calendar originalStart; - - /** - * The End. - * The date, time, and time zone that the event ends. - */ - @SerializedName("end") - @Expose - public DateTimeTimeZone end; - - /** - * The Location. - * The location of the event. - */ - @SerializedName("location") - @Expose - public Location location; - - /** - * The Locations. - * The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. - */ - @SerializedName("locations") - @Expose - public java.util.List locations; - - /** - * The Is All Day. - * Set to true if the event lasts all day. - */ - @SerializedName("isAllDay") - @Expose - public Boolean isAllDay; - - /** - * The Is Cancelled. - * Set to true if the event has been canceled. - */ - @SerializedName("isCancelled") - @Expose - public Boolean isCancelled; - - /** - * The Is Organizer. - * Set to true if the message sender is also the organizer. - */ - @SerializedName("isOrganizer") - @Expose - public Boolean isOrganizer; - - /** - * The Recurrence. - * The recurrence pattern for the event. - */ - @SerializedName("recurrence") - @Expose - public PatternedRecurrence recurrence; - - /** - * The Response Requested. - * Set to true if the sender would like a response when the event is accepted or declined. - */ - @SerializedName("responseRequested") - @Expose - public Boolean responseRequested; - - /** - * The Series Master Id. - * The ID for the recurring series master item, if this event is part of a recurring series. - */ - @SerializedName("seriesMasterId") - @Expose - public String seriesMasterId; - - /** - * The Show As. - * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - */ - @SerializedName("showAs") - @Expose - public FreeBusyStatus showAs; - - /** - * The Type. - * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. - */ - @SerializedName("type") - @Expose - public EventType type; - - /** - * The Attendees. - * The collection of attendees for the event. - */ - @SerializedName("attendees") - @Expose - public java.util.List attendees; - - /** - * The Organizer. - * The organizer of the event. - */ - @SerializedName("organizer") - @Expose - public Recipient organizer; - - /** - * The Web Link. - * The URL to open the event in Outlook Web App.The event will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. - */ - @SerializedName("webLink") - @Expose - public String webLink; - - /** - * The Online Meeting Url. - * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. - */ - @SerializedName("onlineMeetingUrl") - @Expose - public String onlineMeetingUrl; - - /** - * The Calendar. - * The calendar that contains the event. Navigation property. Read-only. - */ - @SerializedName("calendar") - @Expose - public Calendar calendar; - - /** - * The Instances. - * The instances of the event. Navigation property. Read-only. Nullable. - */ - public EventCollectionPage instances; - - /** - * The Extensions. - * The collection of open extensions defined for the event. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The Attachments. - * The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable. - */ - public AttachmentCollectionPage attachments; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the event. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the event. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("instances")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("instances@odata.nextLink")) { - response.nextLink = json.get("instances@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("instances").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - instances = new EventCollectionPage(response, null); - } - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - - if (json.has("attachments")) { - final BaseAttachmentCollectionResponse response = new BaseAttachmentCollectionResponse(); - if (json.has("attachments@odata.nextLink")) { - response.nextLink = json.get("attachments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); - final Attachment[] array = new Attachment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - attachments = new AttachmentCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEventAcceptBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseEventAcceptBody.java deleted file mode 100644 index 9e1eca80705..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEventAcceptBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Accept Body. - */ -public class BaseEventAcceptBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - /** - * The send Response. - * - */ - @SerializedName("sendResponse") - @Expose - public Boolean sendResponse; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEventDeclineBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseEventDeclineBody.java deleted file mode 100644 index 13b77a465f1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEventDeclineBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Decline Body. - */ -public class BaseEventDeclineBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - /** - * The send Response. - * - */ - @SerializedName("sendResponse") - @Expose - public Boolean sendResponse; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEventMessage.java b/src/main/java/com/microsoft/graph/models/generated/BaseEventMessage.java deleted file mode 100644 index 9c685e55e57..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEventMessage.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MeetingMessageType; -import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.models.extensions.Message; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Message. - */ -public class BaseEventMessage extends Message implements IJsonBackedObject { - - - /** - * The Meeting Message Type. - * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. - */ - @SerializedName("meetingMessageType") - @Expose - public MeetingMessageType meetingMessageType; - - /** - * The Event. - * The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. - */ - @SerializedName("event") - @Expose - public Event event; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEventSnoozeReminderBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseEventSnoozeReminderBody.java deleted file mode 100644 index 19ad0242d58..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEventSnoozeReminderBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Snooze Reminder Body. - */ -public class BaseEventSnoozeReminderBody { - - /** - * The new Reminder Time. - * - */ - @SerializedName("newReminderTime") - @Expose - public DateTimeTimeZone newReminderTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseEventTentativelyAcceptBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseEventTentativelyAcceptBody.java deleted file mode 100644 index 7b1ad2477f7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseEventTentativelyAcceptBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Tentatively Accept Body. - */ -public class BaseEventTentativelyAcceptBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - /** - * The send Response. - * - */ - @SerializedName("sendResponse") - @Expose - public Boolean sendResponse; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseExclusionGroupAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/generated/BaseExclusionGroupAssignmentTarget.java deleted file mode 100644 index 67c3ee0c728..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseExclusionGroupAssignmentTarget.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.GroupAssignmentTarget; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Exclusion Group Assignment Target. - */ -public class BaseExclusionGroupAssignmentTarget extends GroupAssignmentTarget implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseExtension.java b/src/main/java/com/microsoft/graph/models/generated/BaseExtension.java deleted file mode 100644 index 5d7c06a201f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseExtension.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension. - */ -public class BaseExtension extends Entity implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseExtensionSchemaProperty.java b/src/main/java/com/microsoft/graph/models/generated/BaseExtensionSchemaProperty.java deleted file mode 100644 index 42ce1d931a2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseExtensionSchemaProperty.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Schema Property. - */ -public class BaseExtensionSchemaProperty implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * The name of the strongly-typed property defined as part of a schema extension. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Type. - * The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. - */ - @SerializedName("type") - @Expose - public String type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseExternalLink.java b/src/main/java/com/microsoft/graph/models/generated/BaseExternalLink.java deleted file mode 100644 index 3230767921c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseExternalLink.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base External Link. - */ -public class BaseExternalLink implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Href. - * The url of the link. - */ - @SerializedName("href") - @Expose - public String href; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFieldValueSet.java b/src/main/java/com/microsoft/graph/models/generated/BaseFieldValueSet.java deleted file mode 100644 index 869bf011b2f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFieldValueSet.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Field Value Set. - */ -public class BaseFieldValueSet extends Entity implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFile.java b/src/main/java/com/microsoft/graph/models/generated/BaseFile.java deleted file mode 100644 index dbfdf38661e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFile.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Hashes; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File. - */ -public class BaseFile implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Hashes. - * Hashes of the file's binary content, if available. Read-only. - */ - @SerializedName("hashes") - @Expose - public Hashes hashes; - - /** - * The Mime Type. - * The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. - */ - @SerializedName("mimeType") - @Expose - public String mimeType; - - /** - * The Processing Metadata. - * - */ - @SerializedName("processingMetadata") - @Expose - public Boolean processingMetadata; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFileAttachment.java b/src/main/java/com/microsoft/graph/models/generated/BaseFileAttachment.java deleted file mode 100644 index 1f6f47466b6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFileAttachment.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Attachment; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File Attachment. - */ -public class BaseFileAttachment extends Attachment implements IJsonBackedObject { - - - /** - * The Content Id. - * The ID of the attachment in the Exchange store. - */ - @SerializedName("contentId") - @Expose - public String contentId; - - /** - * The Content Location. - * The Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment. - */ - @SerializedName("contentLocation") - @Expose - public String contentLocation; - - /** - * The Content Bytes. - * The base64-encoded contents of the file. - */ - @SerializedName("contentBytes") - @Expose - public byte[] contentBytes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFileEncryptionInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseFileEncryptionInfo.java deleted file mode 100644 index 376dd480652..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFileEncryptionInfo.java +++ /dev/null @@ -1,135 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File Encryption Info. - */ -public class BaseFileEncryptionInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Encryption Key. - * The key used to encrypt the file content. - */ - @SerializedName("encryptionKey") - @Expose - public byte[] encryptionKey; - - /** - * The Initialization Vector. - * The initialization vector used for the encryption algorithm. - */ - @SerializedName("initializationVector") - @Expose - public byte[] initializationVector; - - /** - * The Mac. - * The hash of the encrypted file content + IV (content hash). - */ - @SerializedName("mac") - @Expose - public byte[] mac; - - /** - * The Mac Key. - * The key used to get mac. - */ - @SerializedName("macKey") - @Expose - public byte[] macKey; - - /** - * The Profile Identifier. - * The the profile identifier. - */ - @SerializedName("profileIdentifier") - @Expose - public String profileIdentifier; - - /** - * The File Digest. - * The file digest prior to encryption. - */ - @SerializedName("fileDigest") - @Expose - public byte[] fileDigest; - - /** - * The File Digest Algorithm. - * The file digest algorithm. - */ - @SerializedName("fileDigestAlgorithm") - @Expose - public String fileDigestAlgorithm; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFileHash.java b/src/main/java/com/microsoft/graph/models/generated/BaseFileHash.java deleted file mode 100644 index 7cf90a099d5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFileHash.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.FileHashType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File Hash. - */ -public class BaseFileHash implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Hash Type. - * File hash type. Possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. - */ - @SerializedName("hashType") - @Expose - public FileHashType hashType; - - /** - * The Hash Value. - * Value of the file hash. - */ - @SerializedName("hashValue") - @Expose - public String hashValue; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFileSecurityState.java b/src/main/java/com/microsoft/graph/models/generated/BaseFileSecurityState.java deleted file mode 100644 index 69562340d8e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFileSecurityState.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.FileHash; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File Security State. - */ -public class BaseFileSecurityState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The File Hash. - * Complex type containing file hashes (cryptographic and location-sensitive). - */ - @SerializedName("fileHash") - @Expose - public FileHash fileHash; - - /** - * The Name. - * File name (without path). - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Path. - * Full file path of the file/imageFile. - */ - @SerializedName("path") - @Expose - public String path; - - /** - * The Risk Score. - * Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage. - */ - @SerializedName("riskScore") - @Expose - public String riskScore; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFileSystemInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseFileSystemInfo.java deleted file mode 100644 index 956f6f428b3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFileSystemInfo.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File System Info. - */ -public class BaseFileSystemInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Created Date Time. - * The UTC date and time the file was created on a client. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Accessed Date Time. - * The UTC date and time the file was last accessed. Available for the recent file list only. - */ - @SerializedName("lastAccessedDateTime") - @Expose - public java.util.Calendar lastAccessedDateTime; - - /** - * The Last Modified Date Time. - * The UTC date and time the file was last modified on a client. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFolder.java b/src/main/java/com/microsoft/graph/models/generated/BaseFolder.java deleted file mode 100644 index 9aec819a479..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFolder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.FolderView; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Folder. - */ -public class BaseFolder implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Child Count. - * Number of children contained immediately within this container. - */ - @SerializedName("childCount") - @Expose - public Integer childCount; - - /** - * The View. - * A collection of properties defining the recommended view for the folder. - */ - @SerializedName("view") - @Expose - public FolderView view; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFolderView.java b/src/main/java/com/microsoft/graph/models/generated/BaseFolderView.java deleted file mode 100644 index 9f00c9016db..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFolderView.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Folder View. - */ -public class BaseFolderView implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Sort By. - * The method by which the folder should be sorted. - */ - @SerializedName("sortBy") - @Expose - public String sortBy; - - /** - * The Sort Order. - * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. - */ - @SerializedName("sortOrder") - @Expose - public String sortOrder; - - /** - * The View Type. - * The type of view that should be used to represent the folder. - */ - @SerializedName("viewType") - @Expose - public String viewType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseFollowupFlag.java b/src/main/java/com/microsoft/graph/models/generated/BaseFollowupFlag.java deleted file mode 100644 index 9ccf4a3a08c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseFollowupFlag.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.models.generated.FollowupFlagStatus; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Followup Flag. - */ -public class BaseFollowupFlag implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Completed Date Time. - * The date and time that the follow-up was finished. - */ - @SerializedName("completedDateTime") - @Expose - public DateTimeTimeZone completedDateTime; - - /** - * The Due Date Time. - * The date and time that the follow-up is to be finished. - */ - @SerializedName("dueDateTime") - @Expose - public DateTimeTimeZone dueDateTime; - - /** - * The Start Date Time. - * The date and time that the follow-up is to begin. - */ - @SerializedName("startDateTime") - @Expose - public DateTimeTimeZone startDateTime; - - /** - * The Flag Status. - * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. - */ - @SerializedName("flagStatus") - @Expose - public FollowupFlagStatus flagStatus; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGeoCoordinates.java b/src/main/java/com/microsoft/graph/models/generated/BaseGeoCoordinates.java deleted file mode 100644 index c5ea757e296..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGeoCoordinates.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Geo Coordinates. - */ -public class BaseGeoCoordinates implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Altitude. - * Optional. The altitude (height), in feet, above sea level for the item. Read-only. - */ - @SerializedName("altitude") - @Expose - public Double altitude; - - /** - * The Latitude. - * Optional. The latitude, in decimal, for the item. Read-only. - */ - @SerializedName("latitude") - @Expose - public Double latitude; - - /** - * The Longitude. - * Optional. The longitude, in decimal, for the item. Read-only. - */ - @SerializedName("longitude") - @Expose - public Double longitude; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroup.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroup.java deleted file mode 100644 index ad21199a66c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroup.java +++ /dev/null @@ -1,658 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OnPremisesProvisioningError; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.extensions.GroupSetting; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.ConversationThread; -import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.models.extensions.Conversation; -import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.models.extensions.Drive; -import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.models.extensions.PlannerGroup; -import com.microsoft.graph.models.extensions.Onenote; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; -import com.microsoft.graph.models.extensions.Team; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupSettingCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupSettingCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseConversationThreadCollectionResponse; -import com.microsoft.graph.requests.extensions.ConversationThreadCollectionPage; -import com.microsoft.graph.requests.generated.BaseEventCollectionResponse; -import com.microsoft.graph.requests.extensions.EventCollectionPage; -import com.microsoft.graph.requests.generated.BaseConversationCollectionResponse; -import com.microsoft.graph.requests.extensions.ConversationCollectionPage; -import com.microsoft.graph.requests.generated.BaseProfilePhotoCollectionResponse; -import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveCollectionPage; -import com.microsoft.graph.requests.generated.BaseSiteCollectionResponse; -import com.microsoft.graph.requests.extensions.SiteCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group. - */ -public class BaseGroup extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Classification. - * Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition. - */ - @SerializedName("classification") - @Expose - public String classification; - - /** - * The Created Date Time. - * Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. 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 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Description. - * An optional description for the group. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Display Name. - * The display name for the group. This property is required when a group is created and it cannot be cleared during updates. Supports $filter and $orderby. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Group Types. - * Specifies the type of group to create. Possible values are Unified to create an Office 365 group, or DynamicMembership for dynamic groups. For all other group types, like security-enabled groups and email-enabled security groups, do not set this property. Supports $filter. - */ - @SerializedName("groupTypes") - @Expose - public java.util.List groupTypes; - - /** - * The Mail. - * The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Read-only. Supports $filter. - */ - @SerializedName("mail") - @Expose - public String mail; - - /** - * The Mail Enabled. - * Specifies whether the group is mail-enabled. If the securityEnabled property is also true, the group is a mail-enabled security group; otherwise, the group is a Microsoft Exchange distribution group. - */ - @SerializedName("mailEnabled") - @Expose - public Boolean mailEnabled; - - /** - * The Mail Nickname. - * The mail alias for the group, unique in the organization. This property must be specified when a group is created. Supports $filter. - */ - @SerializedName("mailNickname") - @Expose - public String mailNickname; - - /** - * The On Premises Last Sync Date Time. - * Indicates the last time at which the group was synced with the on-premises directory.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 would look like this: '2014-01-01T00:00:00Z'. Read-only. Supports $filter. - */ - @SerializedName("onPremisesLastSyncDateTime") - @Expose - public java.util.Calendar onPremisesLastSyncDateTime; - - /** - * The On Premises Provisioning Errors. - * Errors when using Microsoft synchronization product during provisioning. - */ - @SerializedName("onPremisesProvisioningErrors") - @Expose - public java.util.List onPremisesProvisioningErrors; - - /** - * The On Premises Security Identifier. - * Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Read-only. - */ - @SerializedName("onPremisesSecurityIdentifier") - @Expose - public String onPremisesSecurityIdentifier; - - /** - * The On Premises Sync Enabled. - * true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter. - */ - @SerializedName("onPremisesSyncEnabled") - @Expose - public Boolean onPremisesSyncEnabled; - - /** - * The Proxy Addresses. - * The any operator is required for filter expressions on multi-valued properties. Read-only. Not nullable. Supports $filter. - */ - @SerializedName("proxyAddresses") - @Expose - public java.util.List proxyAddresses; - - /** - * The Renewed Date Time. - * Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("renewedDateTime") - @Expose - public java.util.Calendar renewedDateTime; - - /** - * The Security Enabled. - * Specifies whether the group is a security group. If the mailEnabled property is also true, the group is a mail-enabled security group; otherwise it is a security group. Must be false for Office 365 groups. Supports $filter. - */ - @SerializedName("securityEnabled") - @Expose - public Boolean securityEnabled; - - /** - * The Visibility. - * Specifies the visibility of an Office 365 group. Possible values are: private, public, or hiddenmembership; blank values are treated as public. See Group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. - */ - @SerializedName("visibility") - @Expose - public String visibility; - - /** - * The Allow External Senders. - * Default is false. Indicates if people external to the organization can send messages to the group. - */ - @SerializedName("allowExternalSenders") - @Expose - public Boolean allowExternalSenders; - - /** - * The Auto Subscribe New Members. - * Default is false. Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. - */ - @SerializedName("autoSubscribeNewMembers") - @Expose - public Boolean autoSubscribeNewMembers; - - /** - * The Is Subscribed By Mail. - * Default value is true. Indicates whether the current user is subscribed to receive email conversations. - */ - @SerializedName("isSubscribedByMail") - @Expose - public Boolean isSubscribedByMail; - - /** - * The Unseen Count. - * Count of conversations that have been delivered one or more new posts since the signed-in user's last visit to the group. - */ - @SerializedName("unseenCount") - @Expose - public Integer unseenCount; - - /** - * The Is Archived. - * - */ - @SerializedName("isArchived") - @Expose - public Boolean isArchived; - - /** - * The Members. - * Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Office 365 groups, security groups and mail-enabled security groups), DELETE (supported for Office 365 groups and security groups) Nullable. - */ - public DirectoryObjectCollectionPage members; - - /** - * The Member Of. - * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. - */ - public DirectoryObjectCollectionPage memberOf; - - /** - * The Created On Behalf Of. - * The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only. - */ - @SerializedName("createdOnBehalfOf") - @Expose - public DirectoryObject createdOnBehalfOf; - - /** - * The Owners. - * The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 10 owners. HTTP Methods: GET (supported for all groups), POST (supported for Office 365 groups, security groups and mail-enabled security groups), DELETE (supported for Office 365 groups and security groups). Nullable. - */ - public DirectoryObjectCollectionPage owners; - - /** - * The Settings. - * Read-only. Nullable. - */ - public GroupSettingCollectionPage settings; - - /** - * The Extensions. - * The collection of open extensions defined for the group. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The Threads. - * The group's conversation threads. Nullable. - */ - public ConversationThreadCollectionPage threads; - - /** - * The Calendar. - * The group's calendar. Read-only. - */ - @SerializedName("calendar") - @Expose - public Calendar calendar; - - /** - * The Calendar View. - * The calendar view for the calendar. Read-only. - */ - public EventCollectionPage calendarView; - - /** - * The Events. - * The group's calendar events. - */ - public EventCollectionPage events; - - /** - * The Conversations. - * The group's conversations. - */ - public ConversationCollectionPage conversations; - - /** - * The Photo. - * The group's profile photo - */ - @SerializedName("photo") - @Expose - public ProfilePhoto photo; - - /** - * The Photos. - * The profile photos owned by the group. Read-only. Nullable. - */ - public ProfilePhotoCollectionPage photos; - - /** - * The Accepted Senders. - * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. - */ - public DirectoryObjectCollectionPage acceptedSenders; - - /** - * The Rejected Senders. - * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable - */ - public DirectoryObjectCollectionPage rejectedSenders; - - /** - * The Drive. - * The group's default drive. Read-only. - */ - @SerializedName("drive") - @Expose - public Drive drive; - - /** - * The Drives. - * The group's drives. Read-only. - */ - public DriveCollectionPage drives; - - /** - * The Sites. - * The list of SharePoint sites in this group. Access the default site with /sites/root. - */ - public SiteCollectionPage sites; - - /** - * The Planner. - * Entry-point to Planner resource that might exist for a Unified Group. - */ - @SerializedName("planner") - @Expose - public PlannerGroup planner; - - /** - * The Onenote. - * Read-only. - */ - @SerializedName("onenote") - @Expose - public Onenote onenote; - - /** - * The Group Lifecycle Policies. - * The collection of lifecycle policies for this group. Read-only. Nullable. - */ - public GroupLifecyclePolicyCollectionPage groupLifecyclePolicies; - - /** - * The Team. - * - */ - @SerializedName("team") - @Expose - public Team team; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("members")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - members = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("memberOf")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("memberOf@odata.nextLink")) { - response.nextLink = json.get("memberOf@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("memberOf").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - memberOf = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("owners")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("owners@odata.nextLink")) { - response.nextLink = json.get("owners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("owners").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - owners = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("settings")) { - final BaseGroupSettingCollectionResponse response = new BaseGroupSettingCollectionResponse(); - if (json.has("settings@odata.nextLink")) { - response.nextLink = json.get("settings@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("settings").toString(), JsonObject[].class); - final GroupSetting[] array = new GroupSetting[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupSetting.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - settings = new GroupSettingCollectionPage(response, null); - } - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - - if (json.has("threads")) { - final BaseConversationThreadCollectionResponse response = new BaseConversationThreadCollectionResponse(); - if (json.has("threads@odata.nextLink")) { - response.nextLink = json.get("threads@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("threads").toString(), JsonObject[].class); - final ConversationThread[] array = new ConversationThread[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConversationThread.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - threads = new ConversationThreadCollectionPage(response, null); - } - - if (json.has("calendarView")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("calendarView@odata.nextLink")) { - response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendarView = new EventCollectionPage(response, null); - } - - if (json.has("events")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("events@odata.nextLink")) { - response.nextLink = json.get("events@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - events = new EventCollectionPage(response, null); - } - - if (json.has("conversations")) { - final BaseConversationCollectionResponse response = new BaseConversationCollectionResponse(); - if (json.has("conversations@odata.nextLink")) { - response.nextLink = json.get("conversations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("conversations").toString(), JsonObject[].class); - final Conversation[] array = new Conversation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Conversation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - conversations = new ConversationCollectionPage(response, null); - } - - if (json.has("photos")) { - final BaseProfilePhotoCollectionResponse response = new BaseProfilePhotoCollectionResponse(); - if (json.has("photos@odata.nextLink")) { - response.nextLink = json.get("photos@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("photos").toString(), JsonObject[].class); - final ProfilePhoto[] array = new ProfilePhoto[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ProfilePhoto.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - photos = new ProfilePhotoCollectionPage(response, null); - } - - if (json.has("acceptedSenders")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("acceptedSenders@odata.nextLink")) { - response.nextLink = json.get("acceptedSenders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("acceptedSenders").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - acceptedSenders = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("rejectedSenders")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("rejectedSenders@odata.nextLink")) { - response.nextLink = json.get("rejectedSenders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("rejectedSenders").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - rejectedSenders = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("drives")) { - final BaseDriveCollectionResponse response = new BaseDriveCollectionResponse(); - if (json.has("drives@odata.nextLink")) { - response.nextLink = json.get("drives@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("drives").toString(), JsonObject[].class); - final Drive[] array = new Drive[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Drive.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - drives = new DriveCollectionPage(response, null); - } - - if (json.has("sites")) { - final BaseSiteCollectionResponse response = new BaseSiteCollectionResponse(); - if (json.has("sites@odata.nextLink")) { - response.nextLink = json.get("sites@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sites").toString(), JsonObject[].class); - final Site[] array = new Site[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Site.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sites = new SiteCollectionPage(response, null); - } - - if (json.has("groupLifecyclePolicies")) { - final BaseGroupLifecyclePolicyCollectionResponse response = new BaseGroupLifecyclePolicyCollectionResponse(); - if (json.has("groupLifecyclePolicies@odata.nextLink")) { - response.nextLink = json.get("groupLifecyclePolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupLifecyclePolicies").toString(), JsonObject[].class); - final GroupLifecyclePolicy[] array = new GroupLifecyclePolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupLifecyclePolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groupLifecyclePolicies = new GroupLifecyclePolicyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroupAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroupAssignmentTarget.java deleted file mode 100644 index da49cb4a9b5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroupAssignmentTarget.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Assignment Target. - */ -public class BaseGroupAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { - - - /** - * The Group Id. - * The group Id that is the target of the assignment. - */ - @SerializedName("groupId") - @Expose - public String groupId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicy.java deleted file mode 100644 index 77114cd286a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicy.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy. - */ -public class BaseGroupLifecyclePolicy extends Entity implements IJsonBackedObject { - - - /** - * The Group Lifetime In Days. - * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. - */ - @SerializedName("groupLifetimeInDays") - @Expose - public Integer groupLifetimeInDays; - - /** - * The Managed Group Types. - * The group type for which the expiration policy applies. Possible values are All, Selected or None. - */ - @SerializedName("managedGroupTypes") - @Expose - public String managedGroupTypes; - - /** - * The Alternate Notification Emails. - * List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. - */ - @SerializedName("alternateNotificationEmails") - @Expose - public String alternateNotificationEmails; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyAddGroupBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyAddGroupBody.java deleted file mode 100644 index 6ce4cf3b03c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyAddGroupBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Add Group Body. - */ -public class BaseGroupLifecyclePolicyAddGroupBody { - - /** - * The group Id. - * - */ - @SerializedName("groupId") - @Expose - public String groupId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyRemoveGroupBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyRemoveGroupBody.java deleted file mode 100644 index f1cfdde8eeb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroupLifecyclePolicyRemoveGroupBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Remove Group Body. - */ -public class BaseGroupLifecyclePolicyRemoveGroupBody { - - /** - * The group Id. - * - */ - @SerializedName("groupId") - @Expose - public String groupId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroupSetting.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroupSetting.java deleted file mode 100644 index fbb67c247e4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroupSetting.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SettingValue; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting. - */ -public class BaseGroupSetting extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Display name of this group of settings, which comes from the associated template. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Template Id. - * Unique identifier for the template used to create this group of settings. Read-only. - */ - @SerializedName("templateId") - @Expose - public String templateId; - - /** - * The Values. - * Collection of name value pairs. Must contain and set all the settings defined in the template. - */ - @SerializedName("values") - @Expose - public java.util.List values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseGroupSettingTemplate.java b/src/main/java/com/microsoft/graph/models/generated/BaseGroupSettingTemplate.java deleted file mode 100644 index 80d0aff0f4b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseGroupSettingTemplate.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SettingTemplateValue; -import com.microsoft.graph.models.extensions.DirectoryObject; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template. - */ -public class BaseGroupSettingTemplate extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Display Name. - * Display name of the template. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description of the template. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Values. - * Collection of settingTemplateValues that list the set of available settings, defaults and types that make up this template. - */ - @SerializedName("values") - @Expose - public java.util.List values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseHashes.java b/src/main/java/com/microsoft/graph/models/generated/BaseHashes.java deleted file mode 100644 index 5fe8b7943aa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseHashes.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Hashes. - */ -public class BaseHashes implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Crc32Hash. - * The CRC32 value of the file in little endian (if available). Read-only. - */ - @SerializedName("crc32Hash") - @Expose - public String crc32Hash; - - /** - * The Quick Xor Hash. - * A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only. - */ - @SerializedName("quickXorHash") - @Expose - public String quickXorHash; - - /** - * The Sha1Hash. - * SHA1 hash for the contents of the file (if available). Read-only. - */ - @SerializedName("sha1Hash") - @Expose - public String sha1Hash; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseHostSecurityState.java b/src/main/java/com/microsoft/graph/models/generated/BaseHostSecurityState.java deleted file mode 100644 index 53489ee458d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseHostSecurityState.java +++ /dev/null @@ -1,151 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Host Security State. - */ -public class BaseHostSecurityState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Fqdn. - * Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com). - */ - @SerializedName("fqdn") - @Expose - public String fqdn; - - /** - * The Is Azure Ad Joined. - * - */ - @SerializedName("isAzureAdJoined") - @Expose - public Boolean isAzureAdJoined; - - /** - * The Is Azure Ad Registered. - * - */ - @SerializedName("isAzureAdRegistered") - @Expose - public Boolean isAzureAdRegistered; - - /** - * The Is Hybrid Azure Domain Joined. - * True if the host is domain joined to an on-premises Active Directory domain. - */ - @SerializedName("isHybridAzureDomainJoined") - @Expose - public Boolean isHybridAzureDomainJoined; - - /** - * The Net Bios Name. - * The local host name, without the DNS domain name. - */ - @SerializedName("netBiosName") - @Expose - public String netBiosName; - - /** - * The Os. - * Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). - */ - @SerializedName("os") - @Expose - public String os; - - /** - * The Private Ip Address. - * Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert. - */ - @SerializedName("privateIpAddress") - @Expose - public String privateIpAddress; - - /** - * The Public Ip Address. - * Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert. - */ - @SerializedName("publicIpAddress") - @Expose - public String publicIpAddress; - - /** - * The Risk Score. - * Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage. - */ - @SerializedName("riskScore") - @Expose - public String riskScore; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIPv4Range.java b/src/main/java/com/microsoft/graph/models/generated/BaseIPv4Range.java deleted file mode 100644 index 6fe94549ec8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIPv4Range.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IpRange; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base IPv4Range. - */ -public class BaseIPv4Range extends IpRange implements IJsonBackedObject { - - - /** - * The Lower Address. - * Lower IP Address - */ - @SerializedName("lowerAddress") - @Expose - public String lowerAddress; - - /** - * The Upper Address. - * Upper IP Address - */ - @SerializedName("upperAddress") - @Expose - public String upperAddress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIPv6Range.java b/src/main/java/com/microsoft/graph/models/generated/BaseIPv6Range.java deleted file mode 100644 index 728f4ff760f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIPv6Range.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IpRange; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base IPv6Range. - */ -public class BaseIPv6Range extends IpRange implements IJsonBackedObject { - - - /** - * The Lower Address. - * Lower IP Address - */ - @SerializedName("lowerAddress") - @Expose - public String lowerAddress; - - /** - * The Upper Address. - * Upper IP Address - */ - @SerializedName("upperAddress") - @Expose - public String upperAddress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIdentity.java b/src/main/java/com/microsoft/graph/models/generated/BaseIdentity.java deleted file mode 100644 index 047292971ba..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIdentity.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Identity. - */ -public class BaseIdentity implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Id. - * Unique identifier for the identity. - */ - @SerializedName("id") - @Expose - public String id; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIdentitySet.java b/src/main/java/com/microsoft/graph/models/generated/BaseIdentitySet.java deleted file mode 100644 index c9fb049df12..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIdentitySet.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Identity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Identity Set. - */ -public class BaseIdentitySet implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Application. - * Optional. The application associated with this action. - */ - @SerializedName("application") - @Expose - public Identity application; - - /** - * The Device. - * Optional. The device associated with this action. - */ - @SerializedName("device") - @Expose - public Identity device; - - /** - * The User. - * Optional. The user associated with this action. - */ - @SerializedName("user") - @Expose - public Identity user; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseImage.java b/src/main/java/com/microsoft/graph/models/generated/BaseImage.java deleted file mode 100644 index 62ff5a4ec93..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseImage.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Image. - */ -public class BaseImage implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Height. - * Optional. Height of the image, in pixels. Read-only. - */ - @SerializedName("height") - @Expose - public Integer height; - - /** - * The Width. - * Optional. Width of the image, in pixels. Read-only. - */ - @SerializedName("width") - @Expose - public Integer width; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseImageInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseImageInfo.java deleted file mode 100644 index e87c0adca0a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseImageInfo.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Image Info. - */ -public class BaseImageInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Icon Url. - * Optional; URI that points to an icon which represents the application used to generate the activity - */ - @SerializedName("iconUrl") - @Expose - public String iconUrl; - - /** - * The Alternative Text. - * - */ - @SerializedName("alternativeText") - @Expose - public String alternativeText; - - /** - * The Alternate Text. - * Optional; alt-text accessible content for the image - */ - @SerializedName("alternateText") - @Expose - public String alternateText; - - /** - * The Add Image Query. - * Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image - */ - @SerializedName("addImageQuery") - @Expose - public Boolean addImageQuery; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassification.java b/src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassification.java deleted file mode 100644 index f2ae9dbd05c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassification.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.InferenceClassificationOverride; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideCollectionResponse; -import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification. - */ -public class BaseInferenceClassification extends Entity implements IJsonBackedObject { - - - /** - * The Overrides. - * A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. - */ - public InferenceClassificationOverrideCollectionPage overrides; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("overrides")) { - final BaseInferenceClassificationOverrideCollectionResponse response = new BaseInferenceClassificationOverrideCollectionResponse(); - if (json.has("overrides@odata.nextLink")) { - response.nextLink = json.get("overrides@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("overrides").toString(), JsonObject[].class); - final InferenceClassificationOverride[] array = new InferenceClassificationOverride[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), InferenceClassificationOverride.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - overrides = new InferenceClassificationOverrideCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassificationOverride.java b/src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassificationOverride.java deleted file mode 100644 index fca3c9d0156..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseInferenceClassificationOverride.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.InferenceClassificationType; -import com.microsoft.graph.models.extensions.EmailAddress; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override. - */ -public class BaseInferenceClassificationOverride extends Entity implements IJsonBackedObject { - - - /** - * The Classify As. - * Specifies how incoming messages from a specific sender should always be classified as. The possible values are: focused, other. - */ - @SerializedName("classifyAs") - @Expose - public InferenceClassificationType classifyAs; - - /** - * The Sender Email Address. - * The email address information of the sender for whom the override is created. - */ - @SerializedName("senderEmailAddress") - @Expose - public EmailAddress senderEmailAddress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseInsightIdentity.java b/src/main/java/com/microsoft/graph/models/generated/BaseInsightIdentity.java deleted file mode 100644 index d511ed02451..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseInsightIdentity.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Insight Identity. - */ -public class BaseInsightIdentity implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Id. - * - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Address. - * - */ - @SerializedName("address") - @Expose - public String address; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseInternetMessageHeader.java b/src/main/java/com/microsoft/graph/models/generated/BaseInternetMessageHeader.java deleted file mode 100644 index bd4775a2385..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseInternetMessageHeader.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Internet Message Header. - */ -public class BaseInternetMessageHeader implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * Represents the key in a key-value pair. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Value. - * The value in a key-value pair. - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIntuneBrand.java b/src/main/java/com/microsoft/graph/models/generated/BaseIntuneBrand.java deleted file mode 100644 index 936e00b86b2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIntuneBrand.java +++ /dev/null @@ -1,193 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RgbColor; -import com.microsoft.graph.models.extensions.MimeContent; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Intune Brand. - */ -public class BaseIntuneBrand implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Company/organization name that is displayed to end users. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Contact ITName. - * Name of the person/organization responsible for IT support. - */ - @SerializedName("contactITName") - @Expose - public String contactITName; - - /** - * The Contact ITPhone Number. - * Phone number of the person/organization responsible for IT support. - */ - @SerializedName("contactITPhoneNumber") - @Expose - public String contactITPhoneNumber; - - /** - * The Contact ITEmail Address. - * Email address of the person/organization responsible for IT support. - */ - @SerializedName("contactITEmailAddress") - @Expose - public String contactITEmailAddress; - - /** - * The Contact ITNotes. - * Text comments regarding the person/organization responsible for IT support. - */ - @SerializedName("contactITNotes") - @Expose - public String contactITNotes; - - /** - * The Privacy Url. - * URL to the company/organization’s privacy policy. - */ - @SerializedName("privacyUrl") - @Expose - public String privacyUrl; - - /** - * The Online Support Site Url. - * URL to the company/organization’s IT helpdesk site. - */ - @SerializedName("onlineSupportSiteUrl") - @Expose - public String onlineSupportSiteUrl; - - /** - * The Online Support Site Name. - * Display name of the company/organization’s IT helpdesk site. - */ - @SerializedName("onlineSupportSiteName") - @Expose - public String onlineSupportSiteName; - - /** - * The Theme Color. - * Primary theme color used in the Company Portal applications and web portal. - */ - @SerializedName("themeColor") - @Expose - public RgbColor themeColor; - - /** - * The Show Logo. - * Boolean that represents whether the administrator-supplied logo images are shown or not shown. - */ - @SerializedName("showLogo") - @Expose - public Boolean showLogo; - - /** - * The Light Background Logo. - * Logo image displayed in Company Portal apps which have a light background behind the logo. - */ - @SerializedName("lightBackgroundLogo") - @Expose - public MimeContent lightBackgroundLogo; - - /** - * The Dark Background Logo. - * Logo image displayed in Company Portal apps which have a dark background behind the logo. - */ - @SerializedName("darkBackgroundLogo") - @Expose - public MimeContent darkBackgroundLogo; - - /** - * The Show Name Next To Logo. - * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. - */ - @SerializedName("showNameNextToLogo") - @Expose - public Boolean showNameNextToLogo; - - /** - * The Show Display Name Next To Logo. - * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. - */ - @SerializedName("showDisplayNameNextToLogo") - @Expose - public Boolean showDisplayNameNextToLogo; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseInvitation.java b/src/main/java/com/microsoft/graph/models/generated/BaseInvitation.java deleted file mode 100644 index 08c8bba872d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseInvitation.java +++ /dev/null @@ -1,144 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.InvitedUserMessageInfo; -import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation. - */ -public class BaseInvitation extends Entity implements IJsonBackedObject { - - - /** - * The Invited User Display Name. - * The display name of the user being invited. - */ - @SerializedName("invitedUserDisplayName") - @Expose - public String invitedUserDisplayName; - - /** - * The Invited User Type. - * The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. - */ - @SerializedName("invitedUserType") - @Expose - public String invitedUserType; - - /** - * The Invited User Email Address. - * The email address of the user being invited. Required. - */ - @SerializedName("invitedUserEmailAddress") - @Expose - public String invitedUserEmailAddress; - - /** - * The Invited User Message Info. - * Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. - */ - @SerializedName("invitedUserMessageInfo") - @Expose - public InvitedUserMessageInfo invitedUserMessageInfo; - - /** - * The Send Invitation Message. - * Indicates whether an email should be sent to the user being invited or not. The default is false. - */ - @SerializedName("sendInvitationMessage") - @Expose - public Boolean sendInvitationMessage; - - /** - * The Invite Redirect Url. - * The URL user should be redirected to once the invitation is redeemed. Required. - */ - @SerializedName("inviteRedirectUrl") - @Expose - public String inviteRedirectUrl; - - /** - * The Invite Redeem Url. - * The URL user can use to redeem his invitation. Read-Only - */ - @SerializedName("inviteRedeemUrl") - @Expose - public String inviteRedeemUrl; - - /** - * The Status. - * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error - */ - @SerializedName("status") - @Expose - public String status; - - /** - * The Invited User. - * The user created as part of the invitation creation. Read-Only - */ - @SerializedName("invitedUser") - @Expose - public User invitedUser; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseInvitedUserMessageInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseInvitedUserMessageInfo.java deleted file mode 100644 index 48c6006d27a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseInvitedUserMessageInfo.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Recipient; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invited User Message Info. - */ -public class BaseInvitedUserMessageInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Cc Recipients. - * Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. - */ - @SerializedName("ccRecipients") - @Expose - public java.util.List ccRecipients; - - /** - * The Message Language. - * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. - */ - @SerializedName("messageLanguage") - @Expose - public String messageLanguage; - - /** - * The Customized Message Body. - * Customized message body you want to send if you don't want the default message. - */ - @SerializedName("customizedMessageBody") - @Expose - public String customizedMessageBody; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosCertificateProfile.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosCertificateProfile.java deleted file mode 100644 index 9e2a6001888..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosCertificateProfile.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Certificate Profile. - */ -public class BaseIosCertificateProfile extends DeviceConfiguration implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosCompliancePolicy.java deleted file mode 100644 index 728b2f24328..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosCompliancePolicy.java +++ /dev/null @@ -1,184 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Compliance Policy. - */ -public class BaseIosCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Passcode Block Simple. - * Indicates whether or not to block simple passcodes. - */ - @SerializedName("passcodeBlockSimple") - @Expose - public Boolean passcodeBlockSimple; - - /** - * The Passcode Expiration Days. - * Number of days before the passcode expires. Valid values 1 to 65535 - */ - @SerializedName("passcodeExpirationDays") - @Expose - public Integer passcodeExpirationDays; - - /** - * The Passcode Minimum Length. - * Minimum length of passcode. Valid values 4 to 14 - */ - @SerializedName("passcodeMinimumLength") - @Expose - public Integer passcodeMinimumLength; - - /** - * The Passcode Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a passcode is required. - */ - @SerializedName("passcodeMinutesOfInactivityBeforeLock") - @Expose - public Integer passcodeMinutesOfInactivityBeforeLock; - - /** - * The Passcode Previous Passcode Block Count. - * Number of previous passcodes to block. Valid values 1 to 24 - */ - @SerializedName("passcodePreviousPasscodeBlockCount") - @Expose - public Integer passcodePreviousPasscodeBlockCount; - - /** - * The Passcode Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passcodeMinimumCharacterSetCount") - @Expose - public Integer passcodeMinimumCharacterSetCount; - - /** - * The Passcode Required Type. - * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passcodeRequiredType") - @Expose - public RequiredPasswordType passcodeRequiredType; - - /** - * The Passcode Required. - * Indicates whether or not to require a passcode. - */ - @SerializedName("passcodeRequired") - @Expose - public Boolean passcodeRequired; - - /** - * The Os Minimum Version. - * Minimum IOS version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum IOS version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Security Block Jailbroken Devices. - * Devices must not be jailbroken or rooted. - */ - @SerializedName("securityBlockJailbrokenDevices") - @Expose - public Boolean securityBlockJailbrokenDevices; - - /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection . - */ - @SerializedName("deviceThreatProtectionEnabled") - @Expose - public Boolean deviceThreatProtectionEnabled; - - /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. - */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") - @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; - - /** - * The Managed Email Profile Required. - * Indicates whether or not to require a managed email profile. - */ - @SerializedName("managedEmailProfileRequired") - @Expose - public Boolean managedEmailProfileRequired; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosCustomConfiguration.java deleted file mode 100644 index 6cc32a439fa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosCustomConfiguration.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Custom Configuration. - */ -public class BaseIosCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Payload Name. - * Name that is displayed to the user. - */ - @SerializedName("payloadName") - @Expose - public String payloadName; - - /** - * The Payload File Name. - * Payload file name (.mobileconfig - */ - @SerializedName("payloadFileName") - @Expose - public String payloadFileName; - - /** - * The Payload. - * Payload. (UTF8 encoded byte array) - */ - @SerializedName("payload") - @Expose - public byte[] payload; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceFeaturesConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceFeaturesConfiguration.java deleted file mode 100644 index 544031aba14..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceFeaturesConfiguration.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosHomeScreenItem; -import com.microsoft.graph.models.extensions.IosHomeScreenPage; -import com.microsoft.graph.models.extensions.IosNotificationSettings; -import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Device Features Configuration. - */ -public class BaseIosDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigurationBase implements IJsonBackedObject { - - - /** - * The Asset Tag Template. - * Asset tag information for the device, displayed on the login window and lock screen. - */ - @SerializedName("assetTagTemplate") - @Expose - public String assetTagTemplate; - - /** - * The Lock Screen Footnote. - * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. - */ - @SerializedName("lockScreenFootnote") - @Expose - public String lockScreenFootnote; - - /** - * The Home Screen Dock Icons. - * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. - */ - @SerializedName("homeScreenDockIcons") - @Expose - public java.util.List homeScreenDockIcons; - - /** - * The Home Screen Pages. - * A list of pages on the Home Screen. This collection can contain a maximum of 500 elements. - */ - @SerializedName("homeScreenPages") - @Expose - public java.util.List homeScreenPages; - - /** - * The Notification Settings. - * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. - */ - @SerializedName("notificationSettings") - @Expose - public java.util.List notificationSettings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceType.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceType.java deleted file mode 100644 index 2ff8af8ea63..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosDeviceType.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Device Type. - */ -public class BaseIosDeviceType implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The IPad. - * Whether the app should run on iPads. - */ - @SerializedName("iPad") - @Expose - public Boolean iPad; - - /** - * The IPhone And IPod. - * Whether the app should run on iPhones and iPods. - */ - @SerializedName("iPhoneAndIPod") - @Expose - public Boolean iPhoneAndIPod; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosGeneralDeviceConfiguration.java deleted file mode 100644 index 315e7ea1625..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosGeneralDeviceConfiguration.java +++ /dev/null @@ -1,1133 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.generated.AppListType; -import com.microsoft.graph.models.extensions.MediaContentRatingAustralia; -import com.microsoft.graph.models.extensions.MediaContentRatingCanada; -import com.microsoft.graph.models.extensions.MediaContentRatingFrance; -import com.microsoft.graph.models.extensions.MediaContentRatingGermany; -import com.microsoft.graph.models.extensions.MediaContentRatingIreland; -import com.microsoft.graph.models.extensions.MediaContentRatingJapan; -import com.microsoft.graph.models.extensions.MediaContentRatingNewZealand; -import com.microsoft.graph.models.extensions.MediaContentRatingUnitedKingdom; -import com.microsoft.graph.models.extensions.MediaContentRatingUnitedStates; -import com.microsoft.graph.models.extensions.IosNetworkUsageRule; -import com.microsoft.graph.models.generated.RatingAppsType; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.generated.WebBrowserCookieSettings; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios General Device Configuration. - */ -public class BaseIosGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Account Block Modification. - * Indicates whether or not to allow account modification when the device is in supervised mode. - */ - @SerializedName("accountBlockModification") - @Expose - public Boolean accountBlockModification; - - /** - * The Activation Lock Allow When Supervised. - * Indicates whether or not to allow activation lock when the device is in the supervised mode. - */ - @SerializedName("activationLockAllowWhenSupervised") - @Expose - public Boolean activationLockAllowWhenSupervised; - - /** - * The Air Drop Blocked. - * Indicates whether or not to allow AirDrop when the device is in supervised mode. - */ - @SerializedName("airDropBlocked") - @Expose - public Boolean airDropBlocked; - - /** - * The Air Drop Force Unmanaged Drop Target. - * Indicates whether or not to cause AirDrop to be considered an unmanaged drop target (iOS 9.0 and later). - */ - @SerializedName("airDropForceUnmanagedDropTarget") - @Expose - public Boolean airDropForceUnmanagedDropTarget; - - /** - * The Air Play Force Pairing Password For Outgoing Requests. - * Indicates whether or not to enforce all devices receiving AirPlay requests from this device to use a pairing password. - */ - @SerializedName("airPlayForcePairingPasswordForOutgoingRequests") - @Expose - public Boolean airPlayForcePairingPasswordForOutgoingRequests; - - /** - * The Apple Watch Block Pairing. - * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). - */ - @SerializedName("appleWatchBlockPairing") - @Expose - public Boolean appleWatchBlockPairing; - - /** - * The Apple Watch Force Wrist Detection. - * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). - */ - @SerializedName("appleWatchForceWristDetection") - @Expose - public Boolean appleWatchForceWristDetection; - - /** - * The Apple News Blocked. - * Indicates whether or not to block the user from using News when the device is in supervised mode (iOS 9.0 and later). - */ - @SerializedName("appleNewsBlocked") - @Expose - public Boolean appleNewsBlocked; - - /** - * The Apps Single App Mode List. - * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsSingleAppModeList") - @Expose - public java.util.List appsSingleAppModeList; - - /** - * The Apps Visibility List. - * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. - */ - @SerializedName("appsVisibilityList") - @Expose - public java.util.List appsVisibilityList; - - /** - * The Apps Visibility List Type. - * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. - */ - @SerializedName("appsVisibilityListType") - @Expose - public AppListType appsVisibilityListType; - - /** - * The App Store Block Automatic Downloads. - * Indicates whether or not to block the automatic downloading of apps purchased on other devices when the device is in supervised mode (iOS 9.0 and later). - */ - @SerializedName("appStoreBlockAutomaticDownloads") - @Expose - public Boolean appStoreBlockAutomaticDownloads; - - /** - * The App Store Blocked. - * Indicates whether or not to block the user from using the App Store. - */ - @SerializedName("appStoreBlocked") - @Expose - public Boolean appStoreBlocked; - - /** - * The App Store Block In App Purchases. - * Indicates whether or not to block the user from making in app purchases. - */ - @SerializedName("appStoreBlockInAppPurchases") - @Expose - public Boolean appStoreBlockInAppPurchases; - - /** - * The App Store Block UIApp Installation. - * Indicates whether or not to block the App Store app, not restricting installation through Host apps. Applies to supervised mode only (iOS 9.0 and later). - */ - @SerializedName("appStoreBlockUIAppInstallation") - @Expose - public Boolean appStoreBlockUIAppInstallation; - - /** - * The App Store Require Password. - * Indicates whether or not to require a password when using the app store. - */ - @SerializedName("appStoreRequirePassword") - @Expose - public Boolean appStoreRequirePassword; - - /** - * The Bluetooth Block Modification. - * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). - */ - @SerializedName("bluetoothBlockModification") - @Expose - public Boolean bluetoothBlockModification; - - /** - * The Camera Blocked. - * Indicates whether or not to block the user from accessing the camera of the device. - */ - @SerializedName("cameraBlocked") - @Expose - public Boolean cameraBlocked; - - /** - * The Cellular Block Data Roaming. - * Indicates whether or not to block data roaming. - */ - @SerializedName("cellularBlockDataRoaming") - @Expose - public Boolean cellularBlockDataRoaming; - - /** - * The Cellular Block Global Background Fetch While Roaming. - * Indicates whether or not to block global background fetch while roaming. - */ - @SerializedName("cellularBlockGlobalBackgroundFetchWhileRoaming") - @Expose - public Boolean cellularBlockGlobalBackgroundFetchWhileRoaming; - - /** - * The Cellular Block Per App Data Modification. - * Indicates whether or not to allow changes to cellular app data usage settings when the device is in supervised mode. - */ - @SerializedName("cellularBlockPerAppDataModification") - @Expose - public Boolean cellularBlockPerAppDataModification; - - /** - * The Cellular Block Personal Hotspot. - * Indicates whether or not to block Personal Hotspot. - */ - @SerializedName("cellularBlockPersonalHotspot") - @Expose - public Boolean cellularBlockPersonalHotspot; - - /** - * The Cellular Block Voice Roaming. - * Indicates whether or not to block voice roaming. - */ - @SerializedName("cellularBlockVoiceRoaming") - @Expose - public Boolean cellularBlockVoiceRoaming; - - /** - * The Certificates Block Untrusted Tls Certificates. - * Indicates whether or not to block untrusted TLS certificates. - */ - @SerializedName("certificatesBlockUntrustedTlsCertificates") - @Expose - public Boolean certificatesBlockUntrustedTlsCertificates; - - /** - * The Classroom App Block Remote Screen Observation. - * Indicates whether or not to allow remote screen observation by Classroom app when the device is in supervised mode (iOS 9.3 and later). - */ - @SerializedName("classroomAppBlockRemoteScreenObservation") - @Expose - public Boolean classroomAppBlockRemoteScreenObservation; - - /** - * The Classroom App Force Unprompted Screen Observation. - * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting when the device is in supervised mode. - */ - @SerializedName("classroomAppForceUnpromptedScreenObservation") - @Expose - public Boolean classroomAppForceUnpromptedScreenObservation; - - /** - * The Compliant Apps List. - * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. - */ - @SerializedName("compliantAppsList") - @Expose - public java.util.List compliantAppsList; - - /** - * The Compliant App List Type. - * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. - */ - @SerializedName("compliantAppListType") - @Expose - public AppListType compliantAppListType; - - /** - * The Configuration Profile Block Changes. - * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. - */ - @SerializedName("configurationProfileBlockChanges") - @Expose - public Boolean configurationProfileBlockChanges; - - /** - * The Definition Lookup Blocked. - * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). - */ - @SerializedName("definitionLookupBlocked") - @Expose - public Boolean definitionLookupBlocked; - - /** - * The Device Block Enable Restrictions. - * Indicates whether or not to allow the user to enables restrictions in the device settings when the device is in supervised mode. - */ - @SerializedName("deviceBlockEnableRestrictions") - @Expose - public Boolean deviceBlockEnableRestrictions; - - /** - * The Device Block Erase Content And Settings. - * Indicates whether or not to allow the use of the 'Erase all content and settings' option on the device when the device is in supervised mode. - */ - @SerializedName("deviceBlockEraseContentAndSettings") - @Expose - public Boolean deviceBlockEraseContentAndSettings; - - /** - * The Device Block Name Modification. - * Indicates whether or not to allow device name modification when the device is in supervised mode (iOS 9.0 and later). - */ - @SerializedName("deviceBlockNameModification") - @Expose - public Boolean deviceBlockNameModification; - - /** - * The Diagnostic Data Block Submission. - * Indicates whether or not to block diagnostic data submission. - */ - @SerializedName("diagnosticDataBlockSubmission") - @Expose - public Boolean diagnosticDataBlockSubmission; - - /** - * The Diagnostic Data Block Submission Modification. - * Indicates whether or not to allow diagnostics submission settings modification when the device is in supervised mode (iOS 9.3.2 and later). - */ - @SerializedName("diagnosticDataBlockSubmissionModification") - @Expose - public Boolean diagnosticDataBlockSubmissionModification; - - /** - * The Documents Block Managed Documents In Unmanaged Apps. - * Indicates whether or not to block the user from viewing managed documents in unmanaged apps. - */ - @SerializedName("documentsBlockManagedDocumentsInUnmanagedApps") - @Expose - public Boolean documentsBlockManagedDocumentsInUnmanagedApps; - - /** - * The Documents Block Unmanaged Documents In Managed Apps. - * Indicates whether or not to block the user from viewing unmanaged documents in managed apps. - */ - @SerializedName("documentsBlockUnmanagedDocumentsInManagedApps") - @Expose - public Boolean documentsBlockUnmanagedDocumentsInManagedApps; - - /** - * The Email In Domain Suffixes. - * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. - */ - @SerializedName("emailInDomainSuffixes") - @Expose - public java.util.List emailInDomainSuffixes; - - /** - * The Enterprise App Block Trust. - * Indicates whether or not to block the user from trusting an enterprise app. - */ - @SerializedName("enterpriseAppBlockTrust") - @Expose - public Boolean enterpriseAppBlockTrust; - - /** - * The Enterprise App Block Trust Modification. - * Indicates whether or not to block the user from modifying the enterprise app trust settings. - */ - @SerializedName("enterpriseAppBlockTrustModification") - @Expose - public Boolean enterpriseAppBlockTrustModification; - - /** - * The Face Time Blocked. - * Indicates whether or not to block the user from using FaceTime. - */ - @SerializedName("faceTimeBlocked") - @Expose - public Boolean faceTimeBlocked; - - /** - * The Find My Friends Blocked. - * Indicates whether or not to block Find My Friends when the device is in supervised mode. - */ - @SerializedName("findMyFriendsBlocked") - @Expose - public Boolean findMyFriendsBlocked; - - /** - * The Gaming Block Game Center Friends. - * Indicates whether or not to block the user from having friends in Game Center. - */ - @SerializedName("gamingBlockGameCenterFriends") - @Expose - public Boolean gamingBlockGameCenterFriends; - - /** - * The Gaming Block Multiplayer. - * Indicates whether or not to block the user from using multiplayer gaming. - */ - @SerializedName("gamingBlockMultiplayer") - @Expose - public Boolean gamingBlockMultiplayer; - - /** - * The Game Center Blocked. - * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. - */ - @SerializedName("gameCenterBlocked") - @Expose - public Boolean gameCenterBlocked; - - /** - * The Host Pairing Blocked. - * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. - */ - @SerializedName("hostPairingBlocked") - @Expose - public Boolean hostPairingBlocked; - - /** - * The IBooks Store Blocked. - * Indicates whether or not to block the user from using the iBooks Store when the device is in supervised mode. - */ - @SerializedName("iBooksStoreBlocked") - @Expose - public Boolean iBooksStoreBlocked; - - /** - * The IBooks Store Block Erotica. - * Indicates whether or not to block the user from downloading media from the iBookstore that has been tagged as erotica. - */ - @SerializedName("iBooksStoreBlockErotica") - @Expose - public Boolean iBooksStoreBlockErotica; - - /** - * The ICloud Block Activity Continuation. - * Indicates whether or not to block the the user from continuing work they started on iOS device to another iOS or macOS device. - */ - @SerializedName("iCloudBlockActivityContinuation") - @Expose - public Boolean iCloudBlockActivityContinuation; - - /** - * The ICloud Block Backup. - * Indicates whether or not to block iCloud backup. - */ - @SerializedName("iCloudBlockBackup") - @Expose - public Boolean iCloudBlockBackup; - - /** - * The ICloud Block Document Sync. - * Indicates whether or not to block iCloud document sync. - */ - @SerializedName("iCloudBlockDocumentSync") - @Expose - public Boolean iCloudBlockDocumentSync; - - /** - * The ICloud Block Managed Apps Sync. - * Indicates whether or not to block Managed Apps Cloud Sync. - */ - @SerializedName("iCloudBlockManagedAppsSync") - @Expose - public Boolean iCloudBlockManagedAppsSync; - - /** - * The ICloud Block Photo Library. - * Indicates whether or not to block iCloud Photo Library. - */ - @SerializedName("iCloudBlockPhotoLibrary") - @Expose - public Boolean iCloudBlockPhotoLibrary; - - /** - * The ICloud Block Photo Stream Sync. - * Indicates whether or not to block iCloud Photo Stream Sync. - */ - @SerializedName("iCloudBlockPhotoStreamSync") - @Expose - public Boolean iCloudBlockPhotoStreamSync; - - /** - * The ICloud Block Shared Photo Stream. - * Indicates whether or not to block Shared Photo Stream. - */ - @SerializedName("iCloudBlockSharedPhotoStream") - @Expose - public Boolean iCloudBlockSharedPhotoStream; - - /** - * The ICloud Require Encrypted Backup. - * Indicates whether or not to require backups to iCloud be encrypted. - */ - @SerializedName("iCloudRequireEncryptedBackup") - @Expose - public Boolean iCloudRequireEncryptedBackup; - - /** - * The ITunes Block Explicit Content. - * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. - */ - @SerializedName("iTunesBlockExplicitContent") - @Expose - public Boolean iTunesBlockExplicitContent; - - /** - * The ITunes Block Music Service. - * Indicates whether or not to block Music service and revert Music app to classic mode when the device is in supervised mode (iOS 9.3 and later and macOS 10.12 and later). - */ - @SerializedName("iTunesBlockMusicService") - @Expose - public Boolean iTunesBlockMusicService; - - /** - * The ITunes Block Radio. - * Indicates whether or not to block the user from using iTunes Radio when the device is in supervised mode (iOS 9.3 and later). - */ - @SerializedName("iTunesBlockRadio") - @Expose - public Boolean iTunesBlockRadio; - - /** - * The Keyboard Block Auto Correct. - * Indicates whether or not to block keyboard auto-correction when the device is in supervised mode (iOS 8.1.3 and later). - */ - @SerializedName("keyboardBlockAutoCorrect") - @Expose - public Boolean keyboardBlockAutoCorrect; - - /** - * The Keyboard Block Dictation. - * Indicates whether or not to block the user from using dictation input when the device is in supervised mode. - */ - @SerializedName("keyboardBlockDictation") - @Expose - public Boolean keyboardBlockDictation; - - /** - * The Keyboard Block Predictive. - * Indicates whether or not to block predictive keyboards when device is in supervised mode (iOS 8.1.3 and later). - */ - @SerializedName("keyboardBlockPredictive") - @Expose - public Boolean keyboardBlockPredictive; - - /** - * The Keyboard Block Shortcuts. - * Indicates whether or not to block keyboard shortcuts when the device is in supervised mode (iOS 9.0 and later). - */ - @SerializedName("keyboardBlockShortcuts") - @Expose - public Boolean keyboardBlockShortcuts; - - /** - * The Keyboard Block Spell Check. - * Indicates whether or not to block keyboard spell-checking when the device is in supervised mode (iOS 8.1.3 and later). - */ - @SerializedName("keyboardBlockSpellCheck") - @Expose - public Boolean keyboardBlockSpellCheck; - - /** - * The Kiosk Mode Allow Assistive Speak. - * Indicates whether or not to allow assistive speak while in kiosk mode. - */ - @SerializedName("kioskModeAllowAssistiveSpeak") - @Expose - public Boolean kioskModeAllowAssistiveSpeak; - - /** - * The Kiosk Mode Allow Assistive Touch Settings. - * Indicates whether or not to allow access to the Assistive Touch Settings while in kiosk mode. - */ - @SerializedName("kioskModeAllowAssistiveTouchSettings") - @Expose - public Boolean kioskModeAllowAssistiveTouchSettings; - - /** - * The Kiosk Mode Allow Auto Lock. - * Indicates whether or not to allow device auto lock while in kiosk mode. - */ - @SerializedName("kioskModeAllowAutoLock") - @Expose - public Boolean kioskModeAllowAutoLock; - - /** - * The Kiosk Mode Allow Color Inversion Settings. - * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. - */ - @SerializedName("kioskModeAllowColorInversionSettings") - @Expose - public Boolean kioskModeAllowColorInversionSettings; - - /** - * The Kiosk Mode Allow Ringer Switch. - * Indicates whether or not to allow use of the ringer switch while in kiosk mode. - */ - @SerializedName("kioskModeAllowRingerSwitch") - @Expose - public Boolean kioskModeAllowRingerSwitch; - - /** - * The Kiosk Mode Allow Screen Rotation. - * Indicates whether or not to allow screen rotation while in kiosk mode. - */ - @SerializedName("kioskModeAllowScreenRotation") - @Expose - public Boolean kioskModeAllowScreenRotation; - - /** - * The Kiosk Mode Allow Sleep Button. - * Indicates whether or not to allow use of the sleep button while in kiosk mode. - */ - @SerializedName("kioskModeAllowSleepButton") - @Expose - public Boolean kioskModeAllowSleepButton; - - /** - * The Kiosk Mode Allow Touchscreen. - * Indicates whether or not to allow use of the touchscreen while in kiosk mode. - */ - @SerializedName("kioskModeAllowTouchscreen") - @Expose - public Boolean kioskModeAllowTouchscreen; - - /** - * The Kiosk Mode Allow Voice Over Settings. - * Indicates whether or not to allow access to the voice over settings while in kiosk mode. - */ - @SerializedName("kioskModeAllowVoiceOverSettings") - @Expose - public Boolean kioskModeAllowVoiceOverSettings; - - /** - * The Kiosk Mode Allow Volume Buttons. - * Indicates whether or not to allow use of the volume buttons while in kiosk mode. - */ - @SerializedName("kioskModeAllowVolumeButtons") - @Expose - public Boolean kioskModeAllowVolumeButtons; - - /** - * The Kiosk Mode Allow Zoom Settings. - * Indicates whether or not to allow access to the zoom settings while in kiosk mode. - */ - @SerializedName("kioskModeAllowZoomSettings") - @Expose - public Boolean kioskModeAllowZoomSettings; - - /** - * The Kiosk Mode App Store Url. - * URL in the app store to the app to use for kiosk mode. Use if KioskModeManagedAppId is not known. - */ - @SerializedName("kioskModeAppStoreUrl") - @Expose - public String kioskModeAppStoreUrl; - - /** - * The Kiosk Mode Built In App Id. - * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. - */ - @SerializedName("kioskModeBuiltInAppId") - @Expose - public String kioskModeBuiltInAppId; - - /** - * The Kiosk Mode Require Assistive Touch. - * Indicates whether or not to require assistive touch while in kiosk mode. - */ - @SerializedName("kioskModeRequireAssistiveTouch") - @Expose - public Boolean kioskModeRequireAssistiveTouch; - - /** - * The Kiosk Mode Require Color Inversion. - * Indicates whether or not to require color inversion while in kiosk mode. - */ - @SerializedName("kioskModeRequireColorInversion") - @Expose - public Boolean kioskModeRequireColorInversion; - - /** - * The Kiosk Mode Require Mono Audio. - * Indicates whether or not to require mono audio while in kiosk mode. - */ - @SerializedName("kioskModeRequireMonoAudio") - @Expose - public Boolean kioskModeRequireMonoAudio; - - /** - * The Kiosk Mode Require Voice Over. - * Indicates whether or not to require voice over while in kiosk mode. - */ - @SerializedName("kioskModeRequireVoiceOver") - @Expose - public Boolean kioskModeRequireVoiceOver; - - /** - * The Kiosk Mode Require Zoom. - * Indicates whether or not to require zoom while in kiosk mode. - */ - @SerializedName("kioskModeRequireZoom") - @Expose - public Boolean kioskModeRequireZoom; - - /** - * The Kiosk Mode Managed App Id. - * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. - */ - @SerializedName("kioskModeManagedAppId") - @Expose - public String kioskModeManagedAppId; - - /** - * The Lock Screen Block Control Center. - * Indicates whether or not to block the user from using control center on the lock screen. - */ - @SerializedName("lockScreenBlockControlCenter") - @Expose - public Boolean lockScreenBlockControlCenter; - - /** - * The Lock Screen Block Notification View. - * Indicates whether or not to block the user from using the notification view on the lock screen. - */ - @SerializedName("lockScreenBlockNotificationView") - @Expose - public Boolean lockScreenBlockNotificationView; - - /** - * The Lock Screen Block Passbook. - * Indicates whether or not to block the user from using passbook when the device is locked. - */ - @SerializedName("lockScreenBlockPassbook") - @Expose - public Boolean lockScreenBlockPassbook; - - /** - * The Lock Screen Block Today View. - * Indicates whether or not to block the user from using the Today View on the lock screen. - */ - @SerializedName("lockScreenBlockTodayView") - @Expose - public Boolean lockScreenBlockTodayView; - - /** - * The Media Content Rating Australia. - * Media content rating settings for Australia - */ - @SerializedName("mediaContentRatingAustralia") - @Expose - public MediaContentRatingAustralia mediaContentRatingAustralia; - - /** - * The Media Content Rating Canada. - * Media content rating settings for Canada - */ - @SerializedName("mediaContentRatingCanada") - @Expose - public MediaContentRatingCanada mediaContentRatingCanada; - - /** - * The Media Content Rating France. - * Media content rating settings for France - */ - @SerializedName("mediaContentRatingFrance") - @Expose - public MediaContentRatingFrance mediaContentRatingFrance; - - /** - * The Media Content Rating Germany. - * Media content rating settings for Germany - */ - @SerializedName("mediaContentRatingGermany") - @Expose - public MediaContentRatingGermany mediaContentRatingGermany; - - /** - * The Media Content Rating Ireland. - * Media content rating settings for Ireland - */ - @SerializedName("mediaContentRatingIreland") - @Expose - public MediaContentRatingIreland mediaContentRatingIreland; - - /** - * The Media Content Rating Japan. - * Media content rating settings for Japan - */ - @SerializedName("mediaContentRatingJapan") - @Expose - public MediaContentRatingJapan mediaContentRatingJapan; - - /** - * The Media Content Rating New Zealand. - * Media content rating settings for New Zealand - */ - @SerializedName("mediaContentRatingNewZealand") - @Expose - public MediaContentRatingNewZealand mediaContentRatingNewZealand; - - /** - * The Media Content Rating United Kingdom. - * Media content rating settings for United Kingdom - */ - @SerializedName("mediaContentRatingUnitedKingdom") - @Expose - public MediaContentRatingUnitedKingdom mediaContentRatingUnitedKingdom; - - /** - * The Media Content Rating United States. - * Media content rating settings for United States - */ - @SerializedName("mediaContentRatingUnitedStates") - @Expose - public MediaContentRatingUnitedStates mediaContentRatingUnitedStates; - - /** - * The Network Usage Rules. - * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. - */ - @SerializedName("networkUsageRules") - @Expose - public java.util.List networkUsageRules; - - /** - * The Media Content Rating Apps. - * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. - */ - @SerializedName("mediaContentRatingApps") - @Expose - public RatingAppsType mediaContentRatingApps; - - /** - * The Messages Blocked. - * Indicates whether or not to block the user from using the Messages app on the supervised device. - */ - @SerializedName("messagesBlocked") - @Expose - public Boolean messagesBlocked; - - /** - * The Notifications Block Settings Modification. - * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). - */ - @SerializedName("notificationsBlockSettingsModification") - @Expose - public Boolean notificationsBlockSettingsModification; - - /** - * The Passcode Block Fingerprint Unlock. - * Indicates whether or not to block fingerprint unlock. - */ - @SerializedName("passcodeBlockFingerprintUnlock") - @Expose - public Boolean passcodeBlockFingerprintUnlock; - - /** - * The Passcode Block Fingerprint Modification. - * Block modification of registered Touch ID fingerprints when in supervised mode. - */ - @SerializedName("passcodeBlockFingerprintModification") - @Expose - public Boolean passcodeBlockFingerprintModification; - - /** - * The Passcode Block Modification. - * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). - */ - @SerializedName("passcodeBlockModification") - @Expose - public Boolean passcodeBlockModification; - - /** - * The Passcode Block Simple. - * Indicates whether or not to block simple passcodes. - */ - @SerializedName("passcodeBlockSimple") - @Expose - public Boolean passcodeBlockSimple; - - /** - * The Passcode Expiration Days. - * Number of days before the passcode expires. Valid values 1 to 65535 - */ - @SerializedName("passcodeExpirationDays") - @Expose - public Integer passcodeExpirationDays; - - /** - * The Passcode Minimum Length. - * Minimum length of passcode. Valid values 4 to 14 - */ - @SerializedName("passcodeMinimumLength") - @Expose - public Integer passcodeMinimumLength; - - /** - * The Passcode Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a passcode is required. - */ - @SerializedName("passcodeMinutesOfInactivityBeforeLock") - @Expose - public Integer passcodeMinutesOfInactivityBeforeLock; - - /** - * The Passcode Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity before the screen times out. - */ - @SerializedName("passcodeMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passcodeMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Passcode Minimum Character Set Count. - * Number of character sets a passcode must contain. Valid values 0 to 4 - */ - @SerializedName("passcodeMinimumCharacterSetCount") - @Expose - public Integer passcodeMinimumCharacterSetCount; - - /** - * The Passcode Previous Passcode Block Count. - * Number of previous passcodes to block. Valid values 1 to 24 - */ - @SerializedName("passcodePreviousPasscodeBlockCount") - @Expose - public Integer passcodePreviousPasscodeBlockCount; - - /** - * The Passcode Sign In Failure Count Before Wipe. - * Number of sign in failures allowed before wiping the device. Valid values 4 to 11 - */ - @SerializedName("passcodeSignInFailureCountBeforeWipe") - @Expose - public Integer passcodeSignInFailureCountBeforeWipe; - - /** - * The Passcode Required Type. - * Type of passcode that is required. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passcodeRequiredType") - @Expose - public RequiredPasswordType passcodeRequiredType; - - /** - * The Passcode Required. - * Indicates whether or not to require a passcode. - */ - @SerializedName("passcodeRequired") - @Expose - public Boolean passcodeRequired; - - /** - * The Podcasts Blocked. - * Indicates whether or not to block the user from using podcasts on the supervised device (iOS 8.0 and later). - */ - @SerializedName("podcastsBlocked") - @Expose - public Boolean podcastsBlocked; - - /** - * The Safari Block Autofill. - * Indicates whether or not to block the user from using Auto fill in Safari. - */ - @SerializedName("safariBlockAutofill") - @Expose - public Boolean safariBlockAutofill; - - /** - * The Safari Block Java Script. - * Indicates whether or not to block JavaScript in Safari. - */ - @SerializedName("safariBlockJavaScript") - @Expose - public Boolean safariBlockJavaScript; - - /** - * The Safari Block Popups. - * Indicates whether or not to block popups in Safari. - */ - @SerializedName("safariBlockPopups") - @Expose - public Boolean safariBlockPopups; - - /** - * The Safari Blocked. - * Indicates whether or not to block the user from using Safari. - */ - @SerializedName("safariBlocked") - @Expose - public Boolean safariBlocked; - - /** - * The Safari Cookie Settings. - * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. - */ - @SerializedName("safariCookieSettings") - @Expose - public WebBrowserCookieSettings safariCookieSettings; - - /** - * The Safari Managed Domains. - * URLs matching the patterns listed here will be considered managed. - */ - @SerializedName("safariManagedDomains") - @Expose - public java.util.List safariManagedDomains; - - /** - * The Safari Password Auto Fill Domains. - * Users can save passwords in Safari only from URLs matching the patterns listed here. Applies to devices in supervised mode (iOS 9.3 and later). - */ - @SerializedName("safariPasswordAutoFillDomains") - @Expose - public java.util.List safariPasswordAutoFillDomains; - - /** - * The Safari Require Fraud Warning. - * Indicates whether or not to require fraud warning in Safari. - */ - @SerializedName("safariRequireFraudWarning") - @Expose - public Boolean safariRequireFraudWarning; - - /** - * The Screen Capture Blocked. - * Indicates whether or not to block the user from taking Screenshots. - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Siri Blocked. - * Indicates whether or not to block the user from using Siri. - */ - @SerializedName("siriBlocked") - @Expose - public Boolean siriBlocked; - - /** - * The Siri Blocked When Locked. - * Indicates whether or not to block the user from using Siri when locked. - */ - @SerializedName("siriBlockedWhenLocked") - @Expose - public Boolean siriBlockedWhenLocked; - - /** - * The Siri Block User Generated Content. - * Indicates whether or not to block Siri from querying user-generated content when used on a supervised device. - */ - @SerializedName("siriBlockUserGeneratedContent") - @Expose - public Boolean siriBlockUserGeneratedContent; - - /** - * The Siri Require Profanity Filter. - * Indicates whether or not to prevent Siri from dictating, or speaking profane language on supervised device. - */ - @SerializedName("siriRequireProfanityFilter") - @Expose - public Boolean siriRequireProfanityFilter; - - /** - * The Spotlight Block Internet Results. - * Indicates whether or not to block Spotlight search from returning internet results on supervised device. - */ - @SerializedName("spotlightBlockInternetResults") - @Expose - public Boolean spotlightBlockInternetResults; - - /** - * The Voice Dialing Blocked. - * Indicates whether or not to block voice dialing. - */ - @SerializedName("voiceDialingBlocked") - @Expose - public Boolean voiceDialingBlocked; - - /** - * The Wallpaper Block Modification. - * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . - */ - @SerializedName("wallpaperBlockModification") - @Expose - public Boolean wallpaperBlockModification; - - /** - * The Wi Fi Connect Only To Configured Networks. - * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. - */ - @SerializedName("wiFiConnectOnlyToConfiguredNetworks") - @Expose - public Boolean wiFiConnectOnlyToConfiguredNetworks; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenApp.java deleted file mode 100644 index a9642f348db..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenApp.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosHomeScreenItem; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Home Screen App. - */ -public class BaseIosHomeScreenApp extends IosHomeScreenItem implements IJsonBackedObject { - - - /** - * The Bundle ID. - * BundleID of app - */ - @SerializedName("bundleID") - @Expose - public String bundleID; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolder.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolder.java deleted file mode 100644 index 8a045ba423a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolder.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosHomeScreenFolderPage; -import com.microsoft.graph.models.extensions.IosHomeScreenItem; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Home Screen Folder. - */ -public class BaseIosHomeScreenFolder extends IosHomeScreenItem implements IJsonBackedObject { - - - /** - * The Pages. - * Pages of Home Screen Layout Icons which must be Application Type. This collection can contain a maximum of 500 elements. - */ - @SerializedName("pages") - @Expose - public java.util.List pages; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolderPage.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolderPage.java deleted file mode 100644 index f0aef075f99..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenFolderPage.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosHomeScreenApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Home Screen Folder Page. - */ -public class BaseIosHomeScreenFolderPage implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Name of the folder page - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Apps. - * A list of apps to appear on a page within a folder. This collection can contain a maximum of 500 elements. - */ - @SerializedName("apps") - @Expose - public java.util.List apps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenItem.java deleted file mode 100644 index ec867c96038..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenItem.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Home Screen Item. - */ -public class BaseIosHomeScreenItem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Name of the app - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenPage.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenPage.java deleted file mode 100644 index 472b01652d2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosHomeScreenPage.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosHomeScreenItem; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Home Screen Page. - */ -public class BaseIosHomeScreenPage implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Name of the page - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Icons. - * A list of apps and folders to appear on a page. This collection can contain a maximum of 500 elements. - */ - @SerializedName("icons") - @Expose - public java.util.List icons; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosLobApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosLobApp.java deleted file mode 100644 index 883d5e8a7a6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosLobApp.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosDeviceType; -import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.MobileLobApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Lob App. - */ -public class BaseIosLobApp extends MobileLobApp implements IJsonBackedObject { - - - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - /** - * The Applicable Device Type. - * The iOS architecture for which this app can run on. - */ - @SerializedName("applicableDeviceType") - @Expose - public IosDeviceType applicableDeviceType; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public IosMinimumOperatingSystem minimumSupportedOperatingSystem; - - /** - * The Expiration Date Time. - * The expiration time. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Version Number. - * The version number of iOS Line of Business (LoB) app. - */ - @SerializedName("versionNumber") - @Expose - public String versionNumber; - - /** - * The Build Number. - * The build number of iOS Line of Business (LoB) app. - */ - @SerializedName("buildNumber") - @Expose - public String buildNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosLobAppAssignmentSettings.java deleted file mode 100644 index cbaa880c377..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosLobAppAssignmentSettings.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Lob App Assignment Settings. - */ -public class BaseIosLobAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { - - - /** - * The Vpn Configuration Id. - * The VPN Configuration Id to apply for this app. - */ - @SerializedName("vpnConfigurationId") - @Expose - public String vpnConfigurationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppProtection.java deleted file mode 100644 index 689918c9cbd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppProtection.java +++ /dev/null @@ -1,137 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedAppDataEncryptionType; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; -import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection. - */ -public class BaseIosManagedAppProtection extends TargetedManagedAppProtection implements IJsonBackedObject { - - - /** - * The App Data Encryption Type. - * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. - */ - @SerializedName("appDataEncryptionType") - @Expose - public ManagedAppDataEncryptionType appDataEncryptionType; - - /** - * The Minimum Required Sdk Version. - * Versions less than the specified version will block the managed app from accessing company data. - */ - @SerializedName("minimumRequiredSdkVersion") - @Expose - public String minimumRequiredSdkVersion; - - /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. - */ - @SerializedName("deployedAppCount") - @Expose - public Integer deployedAppCount; - - /** - * The Face Id Blocked. - * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. - */ - @SerializedName("faceIdBlocked") - @Expose - public Boolean faceIdBlocked; - - /** - * The Apps. - * List of apps to which the policy is deployed. - */ - public ManagedMobileAppCollectionPage apps; - - /** - * The Deployment Summary. - * Navigation property to deployment summary of the configuration. - */ - @SerializedName("deploymentSummary") - @Expose - public ManagedAppPolicyDeploymentSummary deploymentSummary; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("apps")) { - final BaseManagedMobileAppCollectionResponse response = new BaseManagedMobileAppCollectionResponse(); - if (json.has("apps@odata.nextLink")) { - response.nextLink = json.get("apps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); - final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - apps = new ManagedMobileAppCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppRegistration.java deleted file mode 100644 index 51501723895..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosManagedAppRegistration.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Registration. - */ -public class BaseIosManagedAppRegistration extends ManagedAppRegistration implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosMinimumOperatingSystem.java deleted file mode 100644 index 4fc0a6b68f6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosMinimumOperatingSystem.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Minimum Operating System. - */ -public class BaseIosMinimumOperatingSystem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The V8_0. - * Version 8.0 or later. - */ - @SerializedName("v8_0") - @Expose - public Boolean v8_0; - - /** - * The V9_0. - * Version 9.0 or later. - */ - @SerializedName("v9_0") - @Expose - public Boolean v9_0; - - /** - * The V10_0. - * Version 10.0 or later. - */ - @SerializedName("v10_0") - @Expose - public Boolean v10_0; - - /** - * The V11_0. - * Version 11.0 or later. - */ - @SerializedName("v11_0") - @Expose - public Boolean v11_0; - - /** - * The V12_0. - * Version 12.0 or later. - */ - @SerializedName("v12_0") - @Expose - public Boolean v12_0; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppConfiguration.java deleted file mode 100644 index 421a87ee19e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppConfiguration.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppConfigurationSettingItem; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Mobile App Configuration. - */ -public class BaseIosMobileAppConfiguration extends ManagedDeviceMobileAppConfiguration implements IJsonBackedObject { - - - /** - * The Encoded Setting Xml. - * mdm app configuration Base64 binary. - */ - @SerializedName("encodedSettingXml") - @Expose - public byte[] encodedSettingXml; - - /** - * The Settings. - * app configuration setting items. - */ - @SerializedName("settings") - @Expose - public java.util.List settings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppIdentifier.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppIdentifier.java deleted file mode 100644 index 0bbdf759309..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosMobileAppIdentifier.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppIdentifier; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Mobile App Identifier. - */ -public class BaseIosMobileAppIdentifier extends MobileAppIdentifier implements IJsonBackedObject { - - - /** - * The Bundle Id. - * The identifier for an app, as specified in the app store. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosNetworkUsageRule.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosNetworkUsageRule.java deleted file mode 100644 index 95f52cd535a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosNetworkUsageRule.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppListItem; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Network Usage Rule. - */ -public class BaseIosNetworkUsageRule implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Managed Apps. - * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. - */ - @SerializedName("managedApps") - @Expose - public java.util.List managedApps; - - /** - * The Cellular Data Block When Roaming. - * If set to true, corresponding managed apps will not be allowed to use cellular data when roaming. - */ - @SerializedName("cellularDataBlockWhenRoaming") - @Expose - public Boolean cellularDataBlockWhenRoaming; - - /** - * The Cellular Data Blocked. - * If set to true, corresponding managed apps will not be allowed to use cellular data at any time. - */ - @SerializedName("cellularDataBlocked") - @Expose - public Boolean cellularDataBlocked; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosNotificationSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosNotificationSettings.java deleted file mode 100644 index e682791bc8b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosNotificationSettings.java +++ /dev/null @@ -1,152 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.IosNotificationAlertType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Notification Settings. - */ -public class BaseIosNotificationSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Bundle ID. - * Bundle id of app to which to apply these notification settings. - */ - @SerializedName("bundleID") - @Expose - public String bundleID; - - /** - * The App Name. - * Application name to be associated with the bundleID. - */ - @SerializedName("appName") - @Expose - public String appName; - - /** - * The Publisher. - * Publisher to be associated with the bundleID. - */ - @SerializedName("publisher") - @Expose - public String publisher; - - /** - * The Enabled. - * Indicates whether notifications are allowed for this app. - */ - @SerializedName("enabled") - @Expose - public Boolean enabled; - - /** - * The Show In Notification Center. - * Indicates whether notifications can be shown in notification center. - */ - @SerializedName("showInNotificationCenter") - @Expose - public Boolean showInNotificationCenter; - - /** - * The Show On Lock Screen. - * Indicates whether notifications can be shown on the lock screen. - */ - @SerializedName("showOnLockScreen") - @Expose - public Boolean showOnLockScreen; - - /** - * The Alert Type. - * Indicates the type of alert for notifications for this app. Possible values are: deviceDefault, banner, modal, none. - */ - @SerializedName("alertType") - @Expose - public IosNotificationAlertType alertType; - - /** - * The Badges Enabled. - * Indicates whether badges are allowed for this app. - */ - @SerializedName("badgesEnabled") - @Expose - public Boolean badgesEnabled; - - /** - * The Sounds Enabled. - * Indicates whether sounds are allowed for this app. - */ - @SerializedName("soundsEnabled") - @Expose - public Boolean soundsEnabled; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosStoreApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosStoreApp.java deleted file mode 100644 index c82f64b4f8f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosStoreApp.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosDeviceType; -import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Store App. - */ -public class BaseIosStoreApp extends MobileApp implements IJsonBackedObject { - - - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - /** - * The App Store Url. - * The Apple App Store URL - */ - @SerializedName("appStoreUrl") - @Expose - public String appStoreUrl; - - /** - * The Applicable Device Type. - * The iOS architecture for which this app can run on. - */ - @SerializedName("applicableDeviceType") - @Expose - public IosDeviceType applicableDeviceType; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public IosMinimumOperatingSystem minimumSupportedOperatingSystem; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosStoreAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosStoreAppAssignmentSettings.java deleted file mode 100644 index a8974a9813a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosStoreAppAssignmentSettings.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Store App Assignment Settings. - */ -public class BaseIosStoreAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { - - - /** - * The Vpn Configuration Id. - * The VPN Configuration Id to apply for this app. - */ - @SerializedName("vpnConfigurationId") - @Expose - public String vpnConfigurationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateConfiguration.java deleted file mode 100644 index 000eed0eb7b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateConfiguration.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DayOfWeek; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Configuration. - */ -public class BaseIosUpdateConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Active Hours Start. - * Active Hours Start (active hours mean the time window when updates install should not happen) - */ - @SerializedName("activeHoursStart") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay activeHoursStart; - - /** - * The Active Hours End. - * Active Hours End (active hours mean the time window when updates install should not happen) - */ - @SerializedName("activeHoursEnd") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay activeHoursEnd; - - /** - * The Scheduled Install Days. - * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. - */ - @SerializedName("scheduledInstallDays") - @Expose - public java.util.List scheduledInstallDays; - - /** - * The Utc Time Offset In Minutes. - * UTC Time Offset indicated in minutes - */ - @SerializedName("utcTimeOffsetInMinutes") - @Expose - public Integer utcTimeOffsetInMinutes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateDeviceStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateDeviceStatus.java deleted file mode 100644 index 50e276eb0fb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosUpdateDeviceStatus.java +++ /dev/null @@ -1,160 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.IosUpdatesInstallStatus; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status. - */ -public class BaseIosUpdateDeviceStatus extends Entity implements IJsonBackedObject { - - - /** - * The Install Status. - * The installation status of the policy report. Possible values are: success, available, idle, unknown, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError. - */ - @SerializedName("installStatus") - @Expose - public IosUpdatesInstallStatus installStatus; - - /** - * The Os Version. - * The device version that is being reported. - */ - @SerializedName("osVersion") - @Expose - public String osVersion; - - /** - * The Device Id. - * The device id that is being reported. - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The User Id. - * The User id that is being reported. - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. - */ - @SerializedName("deviceDisplayName") - @Expose - public String deviceDisplayName; - - /** - * The User Name. - * The User Name that is being reported - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosVppApp.java deleted file mode 100644 index b9e40b1995f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppApp.java +++ /dev/null @@ -1,153 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.VppLicensingType; -import com.microsoft.graph.models.extensions.IosDeviceType; -import com.microsoft.graph.models.generated.VppTokenAccountType; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp App. - */ -public class BaseIosVppApp extends MobileApp implements IJsonBackedObject { - - - /** - * The Used License Count. - * The number of VPP licenses in use. - */ - @SerializedName("usedLicenseCount") - @Expose - public Integer usedLicenseCount; - - /** - * The Total License Count. - * The total number of VPP licenses. - */ - @SerializedName("totalLicenseCount") - @Expose - public Integer totalLicenseCount; - - /** - * The Release Date Time. - * The VPP application release date and time. - */ - @SerializedName("releaseDateTime") - @Expose - public java.util.Calendar releaseDateTime; - - /** - * The App Store Url. - * The store URL. - */ - @SerializedName("appStoreUrl") - @Expose - public String appStoreUrl; - - /** - * The Licensing Type. - * The supported License Type. - */ - @SerializedName("licensingType") - @Expose - public VppLicensingType licensingType; - - /** - * The Applicable Device Type. - * The applicable iOS Device Type. - */ - @SerializedName("applicableDeviceType") - @Expose - public IosDeviceType applicableDeviceType; - - /** - * The Vpp Token Organization Name. - * The organization associated with the Apple Volume Purchase Program Token - */ - @SerializedName("vppTokenOrganizationName") - @Expose - public String vppTokenOrganizationName; - - /** - * The Vpp Token Account Type. - * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. - */ - @SerializedName("vppTokenAccountType") - @Expose - public VppTokenAccountType vppTokenAccountType; - - /** - * The Vpp Token Apple Id. - * The Apple Id associated with the given Apple Volume Purchase Program Token. - */ - @SerializedName("vppTokenAppleId") - @Expose - public String vppTokenAppleId; - - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosVppAppAssignmentSettings.java deleted file mode 100644 index edb33e6c1ed..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppAppAssignmentSettings.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp App Assignment Settings. - */ -public class BaseIosVppAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { - - - /** - * The Use Device Licensing. - * Whether or not to use device licensing. - */ - @SerializedName("useDeviceLicensing") - @Expose - public Boolean useDeviceLicensing; - - /** - * The Vpn Configuration Id. - * The VPN Configuration Id to apply for this app. - */ - @SerializedName("vpnConfigurationId") - @Expose - public String vpnConfigurationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBook.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBook.java deleted file mode 100644 index f5ad0250c1e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBook.java +++ /dev/null @@ -1,134 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedEBook; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp EBook. - */ -public class BaseIosVppEBook extends ManagedEBook implements IJsonBackedObject { - - - /** - * The Vpp Token Id. - * The Vpp token ID. - */ - @SerializedName("vppTokenId") - @Expose - public java.util.UUID vppTokenId; - - /** - * The Apple Id. - * The Apple ID associated with Vpp token. - */ - @SerializedName("appleId") - @Expose - public String appleId; - - /** - * The Vpp Organization Name. - * The Vpp token's organization name. - */ - @SerializedName("vppOrganizationName") - @Expose - public String vppOrganizationName; - - /** - * The Genres. - * Genres. - */ - @SerializedName("genres") - @Expose - public java.util.List genres; - - /** - * The Language. - * Language. - */ - @SerializedName("language") - @Expose - public String language; - - /** - * The Seller. - * Seller. - */ - @SerializedName("seller") - @Expose - public String seller; - - /** - * The Total License Count. - * Total license count. - */ - @SerializedName("totalLicenseCount") - @Expose - public Integer totalLicenseCount; - - /** - * The Used License Count. - * Used license count. - */ - @SerializedName("usedLicenseCount") - @Expose - public Integer usedLicenseCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBookAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBookAssignment.java deleted file mode 100644 index 8ebba6825c8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIosVppEBookAssignment.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp EBook Assignment. - */ -public class BaseIosVppEBookAssignment extends ManagedEBookAssignment implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseIpRange.java b/src/main/java/com/microsoft/graph/models/generated/BaseIpRange.java deleted file mode 100644 index 757f31c0755..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseIpRange.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ip Range. - */ -public class BaseIpRange implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseItemAttachment.java b/src/main/java/com/microsoft/graph/models/generated/BaseItemAttachment.java deleted file mode 100644 index b8fe11a1e6b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseItemAttachment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.models.extensions.Attachment; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Item Attachment. - */ -public class BaseItemAttachment extends Attachment implements IJsonBackedObject { - - - /** - * The Item. - * The attached message or event. Navigation property. - */ - @SerializedName("item") - @Expose - public OutlookItem item; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseItemBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseItemBody.java deleted file mode 100644 index fef54cffea1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseItemBody.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.BodyType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Item Body. - */ -public class BaseItemBody implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Content Type. - * The type of the content. Possible values are Text and HTML. - */ - @SerializedName("contentType") - @Expose - public BodyType contentType; - - /** - * The Content. - * The content of the item. - */ - @SerializedName("content") - @Expose - public String content; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseItemPreviewInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseItemPreviewInfo.java deleted file mode 100644 index 1329b681535..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseItemPreviewInfo.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Item Preview Info. - */ -public class BaseItemPreviewInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Get Url. - * - */ - @SerializedName("getUrl") - @Expose - public String getUrl; - - /** - * The Post Parameters. - * - */ - @SerializedName("postParameters") - @Expose - public String postParameters; - - /** - * The Post Url. - * - */ - @SerializedName("postUrl") - @Expose - public String postUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseItemReference.java b/src/main/java/com/microsoft/graph/models/generated/BaseItemReference.java deleted file mode 100644 index 9f8fc56ae97..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseItemReference.java +++ /dev/null @@ -1,136 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SharepointIds; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Item Reference. - */ -public class BaseItemReference implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Drive Id. - * Unique identifier of the drive instance that contains the item. Read-only. - */ - @SerializedName("driveId") - @Expose - public String driveId; - - /** - * The Drive Type. - * Identifies the type of drive. See [drive][] resource for values. - */ - @SerializedName("driveType") - @Expose - public String driveType; - - /** - * The Id. - * Unique identifier of the item in the drive. Read-only. - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Name. - * The name of the item being referenced. Read-only. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Path. - * Path that can be used to navigate to the item. Read-only. - */ - @SerializedName("path") - @Expose - public String path; - - /** - * The Share Id. - * A unique identifier for a shared resource that can be accessed via the [Shares][] API. - */ - @SerializedName("shareId") - @Expose - public String shareId; - - /** - * The Sharepoint Ids. - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - */ - @SerializedName("sharepointIds") - @Expose - public SharepointIds sharepointIds; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseKeyValuePair.java b/src/main/java/com/microsoft/graph/models/generated/BaseKeyValuePair.java deleted file mode 100644 index e2cc41a7166..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseKeyValuePair.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Key Value Pair. - */ -public class BaseKeyValuePair implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * Name for this key-value pair - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Value. - * Value for this key-value pair - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLicenseDetails.java b/src/main/java/com/microsoft/graph/models/generated/BaseLicenseDetails.java deleted file mode 100644 index 3e4faebf239..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLicenseDetails.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ServicePlanInfo; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details. - */ -public class BaseLicenseDetails extends Entity implements IJsonBackedObject { - - - /** - * The Service Plans. - * Information about the service plans assigned with the license. Read-only, Not nullable - */ - @SerializedName("servicePlans") - @Expose - public java.util.List servicePlans; - - /** - * The Sku Id. - * Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only - */ - @SerializedName("skuId") - @Expose - public java.util.UUID skuId; - - /** - * The Sku Part Number. - * Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only - */ - @SerializedName("skuPartNumber") - @Expose - public String skuPartNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLicenseUnitsDetail.java b/src/main/java/com/microsoft/graph/models/generated/BaseLicenseUnitsDetail.java deleted file mode 100644 index 9efdbf71a1c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLicenseUnitsDetail.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Units Detail. - */ -public class BaseLicenseUnitsDetail implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Enabled. - * The number of units that are enabled. - */ - @SerializedName("enabled") - @Expose - public Integer enabled; - - /** - * The Suspended. - * The number of units that are suspended. - */ - @SerializedName("suspended") - @Expose - public Integer suspended; - - /** - * The Warning. - * The number of units that are in warning status. - */ - @SerializedName("warning") - @Expose - public Integer warning; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseList.java b/src/main/java/com/microsoft/graph/models/generated/BaseList.java deleted file mode 100644 index 28cd1d92d3b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseList.java +++ /dev/null @@ -1,189 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ListInfo; -import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.extensions.SystemFacet; -import com.microsoft.graph.models.extensions.ColumnDefinition; -import com.microsoft.graph.models.extensions.ContentType; -import com.microsoft.graph.models.extensions.Drive; -import com.microsoft.graph.models.extensions.ListItem; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionPage; -import com.microsoft.graph.requests.generated.BaseContentTypeCollectionResponse; -import com.microsoft.graph.requests.extensions.ContentTypeCollectionPage; -import com.microsoft.graph.requests.generated.BaseListItemCollectionResponse; -import com.microsoft.graph.requests.extensions.ListItemCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List. - */ -public class BaseList extends BaseItem implements IJsonBackedObject { - - - /** - * The Display Name. - * The displayable title of the list. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The List. - * Provides additional details about the list. - */ - @SerializedName("list") - @Expose - public ListInfo list; - - /** - * The Sharepoint Ids. - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - */ - @SerializedName("sharepointIds") - @Expose - public SharepointIds sharepointIds; - - /** - * The System. - * If present, indicates that this is a system-managed list. Read-only. - */ - @SerializedName("system") - @Expose - public SystemFacet system; - - /** - * The Columns. - * The collection of field definitions for this list. - */ - public ColumnDefinitionCollectionPage columns; - - /** - * The Content Types. - * The collection of content types present in this list. - */ - public ContentTypeCollectionPage contentTypes; - - /** - * The Drive. - * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. - */ - @SerializedName("drive") - @Expose - public Drive drive; - - /** - * The Items. - * All items contained in the list. - */ - public ListItemCollectionPage items; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("columns")) { - final BaseColumnDefinitionCollectionResponse response = new BaseColumnDefinitionCollectionResponse(); - if (json.has("columns@odata.nextLink")) { - response.nextLink = json.get("columns@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columns").toString(), JsonObject[].class); - final ColumnDefinition[] array = new ColumnDefinition[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ColumnDefinition.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - columns = new ColumnDefinitionCollectionPage(response, null); - } - - if (json.has("contentTypes")) { - final BaseContentTypeCollectionResponse response = new BaseContentTypeCollectionResponse(); - if (json.has("contentTypes@odata.nextLink")) { - response.nextLink = json.get("contentTypes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentTypes").toString(), JsonObject[].class); - final ContentType[] array = new ContentType[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContentType.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contentTypes = new ContentTypeCollectionPage(response, null); - } - - if (json.has("items")) { - final BaseListItemCollectionResponse response = new BaseListItemCollectionResponse(); - if (json.has("items@odata.nextLink")) { - response.nextLink = json.get("items@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); - final ListItem[] array = new ListItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ListItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - items = new ListItemCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseListInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseListInfo.java deleted file mode 100644 index 742196e54f1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseListInfo.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Info. - */ -public class BaseListInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Content Types Enabled. - * If true, indicates that content types are enabled for this list. - */ - @SerializedName("contentTypesEnabled") - @Expose - public Boolean contentTypesEnabled; - - /** - * The Hidden. - * If true, indicates that the list is not normally visible in the SharePoint user experience. - */ - @SerializedName("hidden") - @Expose - public Boolean hidden; - - /** - * The Template. - * An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more. - */ - @SerializedName("template") - @Expose - public String template; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseListItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseListItem.java deleted file mode 100644 index 599e0ce842a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseListItem.java +++ /dev/null @@ -1,131 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ContentTypeInfo; -import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.models.extensions.FieldValueSet; -import com.microsoft.graph.models.extensions.ListItemVersion; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.generated.BaseListItemVersionCollectionResponse; -import com.microsoft.graph.requests.extensions.ListItemVersionCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item. - */ -public class BaseListItem extends BaseItem implements IJsonBackedObject { - - - /** - * The Content Type. - * The content type of this list item - */ - @SerializedName("contentType") - @Expose - public ContentTypeInfo contentType; - - /** - * The Sharepoint Ids. - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - */ - @SerializedName("sharepointIds") - @Expose - public SharepointIds sharepointIds; - - /** - * The Drive Item. - * For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] - */ - @SerializedName("driveItem") - @Expose - public DriveItem driveItem; - - /** - * The Fields. - * The values of the columns set on this list item. - */ - @SerializedName("fields") - @Expose - public FieldValueSet fields; - - /** - * The Versions. - * The list of previous versions of the list item. - */ - public ListItemVersionCollectionPage versions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("versions")) { - final BaseListItemVersionCollectionResponse response = new BaseListItemVersionCollectionResponse(); - if (json.has("versions@odata.nextLink")) { - response.nextLink = json.get("versions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("versions").toString(), JsonObject[].class); - final ListItemVersion[] array = new ListItemVersion[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ListItemVersion.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - versions = new ListItemVersionCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseListItemVersion.java b/src/main/java/com/microsoft/graph/models/generated/BaseListItemVersion.java deleted file mode 100644 index 6f3b87598c3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseListItemVersion.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.FieldValueSet; -import com.microsoft.graph.models.extensions.BaseItemVersion; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version. - */ -public class BaseListItemVersion extends BaseItemVersion implements IJsonBackedObject { - - - /** - * The Fields. - * A collection of the fields and values for this version of the list item. - */ - @SerializedName("fields") - @Expose - public FieldValueSet fields; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLocaleInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseLocaleInfo.java deleted file mode 100644 index 10ffc9bd912..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLocaleInfo.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Locale Info. - */ -public class BaseLocaleInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Locale. - * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. - */ - @SerializedName("locale") - @Expose - public String locale; - - /** - * The Display Name. - * A name representing the user's locale in natural language, for example, 'English (United States)'. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLocalizedNotificationMessage.java b/src/main/java/com/microsoft/graph/models/generated/BaseLocalizedNotificationMessage.java deleted file mode 100644 index db78811ec85..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLocalizedNotificationMessage.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message. - */ -public class BaseLocalizedNotificationMessage extends Entity implements IJsonBackedObject { - - - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Locale. - * The Locale for which this message is destined. - */ - @SerializedName("locale") - @Expose - public String locale; - - /** - * The Subject. - * The Message Template Subject. - */ - @SerializedName("subject") - @Expose - public String subject; - - /** - * The Message Template. - * The Message Template content. - */ - @SerializedName("messageTemplate") - @Expose - public String messageTemplate; - - /** - * The Is Default. - * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. - */ - @SerializedName("isDefault") - @Expose - public Boolean isDefault; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLocateDeviceActionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseLocateDeviceActionResult.java deleted file mode 100644 index a24315f1312..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLocateDeviceActionResult.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceGeoLocation; -import com.microsoft.graph.models.extensions.DeviceActionResult; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Locate Device Action Result. - */ -public class BaseLocateDeviceActionResult extends DeviceActionResult implements IJsonBackedObject { - - - /** - * The Device Location. - * device location - */ - @SerializedName("deviceLocation") - @Expose - public DeviceGeoLocation deviceLocation; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLocation.java b/src/main/java/com/microsoft/graph/models/generated/BaseLocation.java deleted file mode 100644 index 9a52176bb03..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLocation.java +++ /dev/null @@ -1,147 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PhysicalAddress; -import com.microsoft.graph.models.extensions.OutlookGeoCoordinates; -import com.microsoft.graph.models.generated.LocationType; -import com.microsoft.graph.models.generated.LocationUniqueIdType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Location. - */ -public class BaseLocation implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * The name associated with the location. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Location Email Address. - * Optional email address of the location. - */ - @SerializedName("locationEmailAddress") - @Expose - public String locationEmailAddress; - - /** - * The Address. - * The street address of the location. - */ - @SerializedName("address") - @Expose - public PhysicalAddress address; - - /** - * The Coordinates. - * The geographic coordinates and elevation of the location. - */ - @SerializedName("coordinates") - @Expose - public OutlookGeoCoordinates coordinates; - - /** - * The Location Uri. - * Optional URI representing the location. - */ - @SerializedName("locationUri") - @Expose - public String locationUri; - - /** - * The Location Type. - * The type of location. The possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only. - */ - @SerializedName("locationType") - @Expose - public LocationType locationType; - - /** - * The Unique Id. - * For internal use only. - */ - @SerializedName("uniqueId") - @Expose - public String uniqueId; - - /** - * The Unique Id Type. - * For internal use only. - */ - @SerializedName("uniqueIdType") - @Expose - public LocationUniqueIdType uniqueIdType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraint.java b/src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraint.java deleted file mode 100644 index 94d8b0f858d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraint.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.LocationConstraintItem; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Location Constraint. - */ -public class BaseLocationConstraint implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Is Required. - * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. - */ - @SerializedName("isRequired") - @Expose - public Boolean isRequired; - - /** - * The Suggest Location. - * The client requests the service to suggest one or more meeting locations. - */ - @SerializedName("suggestLocation") - @Expose - public Boolean suggestLocation; - - /** - * The Locations. - * Constraint information for one or more locations that the client requests for the meeting. - */ - @SerializedName("locations") - @Expose - public java.util.List locations; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraintItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraintItem.java deleted file mode 100644 index 0e21b8d7173..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLocationConstraintItem.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Location; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Location Constraint Item. - */ -public class BaseLocationConstraintItem extends Location implements IJsonBackedObject { - - - /** - * The Resolve Availability. - * If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true. - */ - @SerializedName("resolveAvailability") - @Expose - public Boolean resolveAvailability; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseLookupColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseLookupColumn.java deleted file mode 100644 index e6b39057c2b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseLookupColumn.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Lookup Column. - */ -public class BaseLookupColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Multiple Values. - * Indicates whether multiple values can be selected from the source. - */ - @SerializedName("allowMultipleValues") - @Expose - public Boolean allowMultipleValues; - - /** - * The Allow Unlimited Length. - * Indicates whether values in the column should be able to exceed the standard limit of 255 characters. - */ - @SerializedName("allowUnlimitedLength") - @Expose - public Boolean allowUnlimitedLength; - - /** - * The Column Name. - * The name of the lookup source column. - */ - @SerializedName("columnName") - @Expose - public String columnName; - - /** - * The List Id. - * The unique identifier of the lookup source list. - */ - @SerializedName("listId") - @Expose - public String listId; - - /** - * The Primary Lookup Column Id. - * If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here. - */ - @SerializedName("primaryLookupColumnId") - @Expose - public String primaryLookupColumnId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseMacOSCompliancePolicy.java deleted file mode 100644 index a260cdcdc00..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSCompliancePolicy.java +++ /dev/null @@ -1,208 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSCompliance Policy. - */ -public class BaseMacOSCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Required. - * Whether or not to require a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Block Simple. - * Indicates whether or not to block simple passwords. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 65535 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * Minimum length of password. Valid values 4 to 14 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 1 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Os Minimum Version. - * Minimum IOS version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum IOS version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The System Integrity Protection Enabled. - * Require that devices have enabled system integrity protection. - */ - @SerializedName("systemIntegrityProtectionEnabled") - @Expose - public Boolean systemIntegrityProtectionEnabled; - - /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection . - */ - @SerializedName("deviceThreatProtectionEnabled") - @Expose - public Boolean deviceThreatProtectionEnabled; - - /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. - */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") - @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; - - /** - * The Storage Require Encryption. - * Require encryption on Mac OS devices. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - /** - * The Firewall Enabled. - * Whether the firewall should be enabled or not. - */ - @SerializedName("firewallEnabled") - @Expose - public Boolean firewallEnabled; - - /** - * The Firewall Block All Incoming. - * Corresponds to the 'Block all incoming connections' option. - */ - @SerializedName("firewallBlockAllIncoming") - @Expose - public Boolean firewallBlockAllIncoming; - - /** - * The Firewall Enable Stealth Mode. - * Corresponds to 'Enable stealth mode.' - */ - @SerializedName("firewallEnableStealthMode") - @Expose - public Boolean firewallEnableStealthMode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseMacOSCustomConfiguration.java deleted file mode 100644 index c48d198570f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSCustomConfiguration.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSCustom Configuration. - */ -public class BaseMacOSCustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Payload Name. - * Name that is displayed to the user. - */ - @SerializedName("payloadName") - @Expose - public String payloadName; - - /** - * The Payload File Name. - * Payload file name (.mobileconfig - */ - @SerializedName("payloadFileName") - @Expose - public String payloadFileName; - - /** - * The Payload. - * Payload. (UTF8 encoded byte array) - */ - @SerializedName("payload") - @Expose - public byte[] payload; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSDeviceFeaturesConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseMacOSDeviceFeaturesConfiguration.java deleted file mode 100644 index e825801df4d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSDeviceFeaturesConfiguration.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSDevice Features Configuration. - */ -public class BaseMacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigurationBase implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseMacOSGeneralDeviceConfiguration.java deleted file mode 100644 index fdd6180a6cf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSGeneralDeviceConfiguration.java +++ /dev/null @@ -1,169 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.generated.AppListType; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSGeneral Device Configuration. - */ -public class BaseMacOSGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Compliant Apps List. - * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. - */ - @SerializedName("compliantAppsList") - @Expose - public java.util.List compliantAppsList; - - /** - * The Compliant App List Type. - * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. - */ - @SerializedName("compliantAppListType") - @Expose - public AppListType compliantAppListType; - - /** - * The Email In Domain Suffixes. - * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. - */ - @SerializedName("emailInDomainSuffixes") - @Expose - public java.util.List emailInDomainSuffixes; - - /** - * The Password Block Simple. - * Block simple passwords. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Number of days before the password expires. - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Character Set Count. - * Number of character sets a password must contain. Valid values 0 to 4 - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Minimum Length. - * Minimum length of passwords. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity required before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity required before the screen times out. - */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Required Type. - * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Required. - * Whether or not to require a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSOfficeSuiteApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseMacOSOfficeSuiteApp.java deleted file mode 100644 index 15f70c88919..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMacOSOfficeSuiteApp.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSOffice Suite App. - */ -public class BaseMacOSOfficeSuiteApp extends MobileApp implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMailFolder.java b/src/main/java/com/microsoft/graph/models/generated/BaseMailFolder.java deleted file mode 100644 index 4240137f369..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMailFolder.java +++ /dev/null @@ -1,235 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.models.extensions.MessageRule; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseMessageCollectionResponse; -import com.microsoft.graph.requests.extensions.MessageCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageRuleCollectionResponse; -import com.microsoft.graph.requests.extensions.MessageRuleCollectionPage; -import com.microsoft.graph.requests.generated.BaseMailFolderCollectionResponse; -import com.microsoft.graph.requests.extensions.MailFolderCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder. - */ -public class BaseMailFolder extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The mailFolder's display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Parent Folder Id. - * The unique identifier for the mailFolder's parent mailFolder. - */ - @SerializedName("parentFolderId") - @Expose - public String parentFolderId; - - /** - * The Child Folder Count. - * The number of immediate child mailFolders in the current mailFolder. - */ - @SerializedName("childFolderCount") - @Expose - public Integer childFolderCount; - - /** - * The Unread Item Count. - * The number of items in the mailFolder marked as unread. - */ - @SerializedName("unreadItemCount") - @Expose - public Integer unreadItemCount; - - /** - * The Total Item Count. - * The number of items in the mailFolder. - */ - @SerializedName("totalItemCount") - @Expose - public Integer totalItemCount; - - /** - * The Messages. - * The collection of messages in the mailFolder. - */ - public MessageCollectionPage messages; - - /** - * The Message Rules. - * The collection of rules that apply to the user's Inbox folder. - */ - public MessageRuleCollectionPage messageRules; - - /** - * The Child Folders. - * The collection of child folders in the mailFolder. - */ - public MailFolderCollectionPage childFolders; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("messages")) { - final BaseMessageCollectionResponse response = new BaseMessageCollectionResponse(); - if (json.has("messages@odata.nextLink")) { - response.nextLink = json.get("messages@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messages").toString(), JsonObject[].class); - final Message[] array = new Message[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Message.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - messages = new MessageCollectionPage(response, null); - } - - if (json.has("messageRules")) { - final BaseMessageRuleCollectionResponse response = new BaseMessageRuleCollectionResponse(); - if (json.has("messageRules@odata.nextLink")) { - response.nextLink = json.get("messageRules@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messageRules").toString(), JsonObject[].class); - final MessageRule[] array = new MessageRule[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MessageRule.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - messageRules = new MessageRuleCollectionPage(response, null); - } - - if (json.has("childFolders")) { - final BaseMailFolderCollectionResponse response = new BaseMailFolderCollectionResponse(); - if (json.has("childFolders@odata.nextLink")) { - response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); - final MailFolder[] array = new MailFolder[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MailFolder.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - childFolders = new MailFolderCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMailFolderCopyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMailFolderCopyBody.java deleted file mode 100644 index 11e76adcd3d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMailFolderCopyBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Copy Body. - */ -public class BaseMailFolderCopyBody { - - /** - * The destination Id. - * - */ - @SerializedName("destinationId") - @Expose - public String destinationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMailFolderMoveBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMailFolderMoveBody.java deleted file mode 100644 index c13a4d767c6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMailFolderMoveBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Move Body. - */ -public class BaseMailFolderMoveBody { - - /** - * The destination Id. - * - */ - @SerializedName("destinationId") - @Expose - public String destinationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMailTips.java b/src/main/java/com/microsoft/graph/models/generated/BaseMailTips.java deleted file mode 100644 index 0cdbf332f18..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMailTips.java +++ /dev/null @@ -1,180 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EmailAddress; -import com.microsoft.graph.models.extensions.AutomaticRepliesMailTips; -import com.microsoft.graph.models.generated.RecipientScopeType; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.MailTipsError; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Tips. - */ -public class BaseMailTips implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Email Address. - * The email address of the recipient to get mailtips for. - */ - @SerializedName("emailAddress") - @Expose - public EmailAddress emailAddress; - - /** - * The Automatic Replies. - * Mail tips for automatic reply if it has been set up by the recipient. - */ - @SerializedName("automaticReplies") - @Expose - public AutomaticRepliesMailTips automaticReplies; - - /** - * The Mailbox Full. - * The mailbox full status of the recipient. - */ - @SerializedName("mailboxFull") - @Expose - public Boolean mailboxFull; - - /** - * The Custom Mail Tip. - * A custom mail tip that can be set on the recipient's mailbox. - */ - @SerializedName("customMailTip") - @Expose - public String customMailTip; - - /** - * The External Member Count. - * The number of external members if the recipient is a distribution list. - */ - @SerializedName("externalMemberCount") - @Expose - public Integer externalMemberCount; - - /** - * The Total Member Count. - * The number of members if the recipient is a distribution list. - */ - @SerializedName("totalMemberCount") - @Expose - public Integer totalMemberCount; - - /** - * The Delivery Restricted. - * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. - */ - @SerializedName("deliveryRestricted") - @Expose - public Boolean deliveryRestricted; - - /** - * The Is Moderated. - * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. - */ - @SerializedName("isModerated") - @Expose - public Boolean isModerated; - - /** - * The Recipient Scope. - * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. - */ - @SerializedName("recipientScope") - @Expose - public EnumSet recipientScope; - - /** - * The Recipient Suggestions. - * Recipients suggested based on previous contexts where they appear in the same message. - */ - @SerializedName("recipientSuggestions") - @Expose - public java.util.List recipientSuggestions; - - /** - * The Max Message Size. - * The maximum message size that has been configured for the recipient's organization or mailbox. - */ - @SerializedName("maxMessageSize") - @Expose - public Integer maxMessageSize; - - /** - * The Error. - * Errors that occur during the getMailTips action. - */ - @SerializedName("error") - @Expose - public MailTipsError error; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMailTipsError.java b/src/main/java/com/microsoft/graph/models/generated/BaseMailTipsError.java deleted file mode 100644 index f2277265b85..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMailTipsError.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Tips Error. - */ -public class BaseMailTipsError implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Message. - * The error message. - */ - @SerializedName("message") - @Expose - public String message; - - /** - * The Code. - * The error code. - */ - @SerializedName("code") - @Expose - public String code; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMailboxSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseMailboxSettings.java deleted file mode 100644 index 22e3288a752..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMailboxSettings.java +++ /dev/null @@ -1,122 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AutomaticRepliesSetting; -import com.microsoft.graph.models.extensions.LocaleInfo; -import com.microsoft.graph.models.extensions.WorkingHours; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mailbox Settings. - */ -public class BaseMailboxSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Automatic Replies Setting. - * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. - */ - @SerializedName("automaticRepliesSetting") - @Expose - public AutomaticRepliesSetting automaticRepliesSetting; - - /** - * The Archive Folder. - * Folder ID of an archive folder for the user. - */ - @SerializedName("archiveFolder") - @Expose - public String archiveFolder; - - /** - * The Time Zone. - * The default time zone for the user's mailbox. - */ - @SerializedName("timeZone") - @Expose - public String timeZone; - - /** - * The Language. - * The locale information for the user, including the preferred language and country/region. - */ - @SerializedName("language") - @Expose - public LocaleInfo language; - - /** - * The Working Hours. - * The days of the week and hours in a specific time zone that the user works. - */ - @SerializedName("workingHours") - @Expose - public WorkingHours workingHours; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMalwareState.java b/src/main/java/com/microsoft/graph/models/generated/BaseMalwareState.java deleted file mode 100644 index af4f23b1509..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMalwareState.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Malware State. - */ -public class BaseMalwareState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Category. - * Provider-generated malware category (for example, trojan, ransomware, etc.). - */ - @SerializedName("category") - @Expose - public String category; - - /** - * The Family. - * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). - */ - @SerializedName("family") - @Expose - public String family; - - /** - * The Name. - * Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H). - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Severity. - * Provider-determined severity of this malware. - */ - @SerializedName("severity") - @Expose - public String severity; - - /** - * The Was Running. - * Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk. - */ - @SerializedName("wasRunning") - @Expose - public Boolean wasRunning; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidLobApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidLobApp.java deleted file mode 100644 index bea8e39ee14..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidLobApp.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.ManagedMobileLobApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Android Lob App. - */ -public class BaseManagedAndroidLobApp extends ManagedMobileLobApp implements IJsonBackedObject { - - - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; - - /** - * The Version Name. - * The version name of managed Android Line of Business (LoB) app. - */ - @SerializedName("versionName") - @Expose - public String versionName; - - /** - * The Version Code. - * The version code of managed Android Line of Business (LoB) app. - */ - @SerializedName("versionCode") - @Expose - public String versionCode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidStoreApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidStoreApp.java deleted file mode 100644 index 21a56a09e1e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAndroidStoreApp.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AndroidMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.ManagedApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Android Store App. - */ -public class BaseManagedAndroidStoreApp extends ManagedApp implements IJsonBackedObject { - - - /** - * The Package Id. - * The app's package ID. - */ - @SerializedName("packageId") - @Expose - public String packageId; - - /** - * The App Store Url. - * The Android AppStoreUrl. - */ - @SerializedName("appStoreUrl") - @Expose - public String appStoreUrl; - - /** - * The Minimum Supported Operating System. - * The value for the minimum supported operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedApp.java deleted file mode 100644 index c070128e9a5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedApp.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedAppAvailability; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App. - */ -public class BaseManagedApp extends MobileApp implements IJsonBackedObject { - - - /** - * The App Availability. - * The Application's availability. Possible values are: global, lineOfBusiness. - */ - @SerializedName("appAvailability") - @Expose - public ManagedAppAvailability appAvailability; - - /** - * The Version. - * The Application's version. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppConfiguration.java deleted file mode 100644 index e127875ce8b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppConfiguration.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Configuration. - */ -public class BaseManagedAppConfiguration extends ManagedAppPolicy implements IJsonBackedObject { - - - /** - * The Custom Settings. - * A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - */ - @SerializedName("customSettings") - @Expose - public java.util.List customSettings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppDiagnosticStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppDiagnosticStatus.java deleted file mode 100644 index 9b753bfd632..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppDiagnosticStatus.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Diagnostic Status. - */ -public class BaseManagedAppDiagnosticStatus implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Validation Name. - * The validation friendly name - */ - @SerializedName("validationName") - @Expose - public String validationName; - - /** - * The State. - * The state of the operation - */ - @SerializedName("state") - @Expose - public String state; - - /** - * The Mitigation Instruction. - * Instruction on how to mitigate a failed validation - */ - @SerializedName("mitigationInstruction") - @Expose - public String mitigationInstruction; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppOperation.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppOperation.java deleted file mode 100644 index adf0664f04c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppOperation.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation. - */ -public class BaseManagedAppOperation extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The operation name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Last Modified Date Time. - * The last time the app operation was modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The State. - * The current state of the operation - */ - @SerializedName("state") - @Expose - public String state; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicy.java deleted file mode 100644 index 69ea72bb814..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicy.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy. - */ -public class BaseManagedAppPolicy extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Policy display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * The policy's description. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Created Date Time. - * The date and time the policy was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * Last time the policy was modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummary.java deleted file mode 100644 index 8f25e292f29..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummary.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummaryPerApp; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Deployment Summary. - */ -public class BaseManagedAppPolicyDeploymentSummary extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Not yet documented - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Configuration Deployed User Count. - * Not yet documented - */ - @SerializedName("configurationDeployedUserCount") - @Expose - public Integer configurationDeployedUserCount; - - /** - * The Last Refresh Time. - * Not yet documented - */ - @SerializedName("lastRefreshTime") - @Expose - public java.util.Calendar lastRefreshTime; - - /** - * The Configuration Deployment Summary Per App. - * Not yet documented - */ - @SerializedName("configurationDeploymentSummaryPerApp") - @Expose - public java.util.List configurationDeploymentSummaryPerApp; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummaryPerApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummaryPerApp.java deleted file mode 100644 index d7f3d8a1df1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyDeploymentSummaryPerApp.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppIdentifier; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Deployment Summary Per App. - */ -public class BaseManagedAppPolicyDeploymentSummaryPerApp implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Mobile App Identifier. - * Deployment of an app. - */ - @SerializedName("mobileAppIdentifier") - @Expose - public MobileAppIdentifier mobileAppIdentifier; - - /** - * The Configuration Applied User Count. - * Number of users the policy is applied. - */ - @SerializedName("configurationAppliedUserCount") - @Expose - public Integer configurationAppliedUserCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyTargetAppsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyTargetAppsBody.java deleted file mode 100644 index edf3cff6cb8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppPolicyTargetAppsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Target Apps Body. - */ -public class BaseManagedAppPolicyTargetAppsBody { - - /** - * The apps. - * - */ - @SerializedName("apps") - @Expose - public java.util.List apps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtection.java deleted file mode 100644 index b01f3716037..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtection.java +++ /dev/null @@ -1,282 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedAppDataTransferLevel; -import com.microsoft.graph.models.generated.ManagedAppClipboardSharingLevel; -import com.microsoft.graph.models.generated.ManagedAppPinCharacterSet; -import com.microsoft.graph.models.generated.ManagedAppDataStorageLocation; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Protection. - */ -public class BaseManagedAppProtection extends ManagedAppPolicy implements IJsonBackedObject { - - - /** - * The Period Offline Before Access Check. - * The period after which access is checked when the device is not connected to the internet. - */ - @SerializedName("periodOfflineBeforeAccessCheck") - @Expose - public javax.xml.datatype.Duration periodOfflineBeforeAccessCheck; - - /** - * The Period Online Before Access Check. - * The period after which access is checked when the device is connected to the internet. - */ - @SerializedName("periodOnlineBeforeAccessCheck") - @Expose - public javax.xml.datatype.Duration periodOnlineBeforeAccessCheck; - - /** - * The Allowed Inbound Data Transfer Sources. - * Sources from which data is allowed to be transferred. Possible values are: allApps, managedApps, none. - */ - @SerializedName("allowedInboundDataTransferSources") - @Expose - public ManagedAppDataTransferLevel allowedInboundDataTransferSources; - - /** - * The Allowed Outbound Data Transfer Destinations. - * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. - */ - @SerializedName("allowedOutboundDataTransferDestinations") - @Expose - public ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations; - - /** - * The Organizational Credentials Required. - * Indicates whether organizational credentials are required for app use. - */ - @SerializedName("organizationalCredentialsRequired") - @Expose - public Boolean organizationalCredentialsRequired; - - /** - * The Allowed Outbound Clipboard Sharing Level. - * The level to which the clipboard may be shared between apps on the managed device. Possible values are: allApps, managedAppsWithPasteIn, managedApps, blocked. - */ - @SerializedName("allowedOutboundClipboardSharingLevel") - @Expose - public ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel; - - /** - * The Data Backup Blocked. - * Indicates whether the backup of a managed app's data is blocked. - */ - @SerializedName("dataBackupBlocked") - @Expose - public Boolean dataBackupBlocked; - - /** - * The Device Compliance Required. - * Indicates whether device compliance is required. - */ - @SerializedName("deviceComplianceRequired") - @Expose - public Boolean deviceComplianceRequired; - - /** - * The Managed Browser To Open Links Required. - * Indicates whether internet links should be opened in the managed browser app. - */ - @SerializedName("managedBrowserToOpenLinksRequired") - @Expose - public Boolean managedBrowserToOpenLinksRequired; - - /** - * The Save As Blocked. - * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. - */ - @SerializedName("saveAsBlocked") - @Expose - public Boolean saveAsBlocked; - - /** - * The Period Offline Before Wipe Is Enforced. - * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - */ - @SerializedName("periodOfflineBeforeWipeIsEnforced") - @Expose - public javax.xml.datatype.Duration periodOfflineBeforeWipeIsEnforced; - - /** - * The Pin Required. - * Indicates whether an app-level pin is required. - */ - @SerializedName("pinRequired") - @Expose - public Boolean pinRequired; - - /** - * The Maximum Pin Retries. - * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - */ - @SerializedName("maximumPinRetries") - @Expose - public Integer maximumPinRetries; - - /** - * The Simple Pin Blocked. - * Indicates whether simplePin is blocked. - */ - @SerializedName("simplePinBlocked") - @Expose - public Boolean simplePinBlocked; - - /** - * The Minimum Pin Length. - * Minimum pin length required for an app-level pin if PinRequired is set to True - */ - @SerializedName("minimumPinLength") - @Expose - public Integer minimumPinLength; - - /** - * The Pin Character Set. - * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. - */ - @SerializedName("pinCharacterSet") - @Expose - public ManagedAppPinCharacterSet pinCharacterSet; - - /** - * The Period Before Pin Reset. - * TimePeriod before the all-level pin must be reset if PinRequired is set to True. - */ - @SerializedName("periodBeforePinReset") - @Expose - public javax.xml.datatype.Duration periodBeforePinReset; - - /** - * The Allowed Data Storage Locations. - * Data storage locations where a user may store managed data. - */ - @SerializedName("allowedDataStorageLocations") - @Expose - public java.util.List allowedDataStorageLocations; - - /** - * The Contact Sync Blocked. - * Indicates whether contacts can be synced to the user's device. - */ - @SerializedName("contactSyncBlocked") - @Expose - public Boolean contactSyncBlocked; - - /** - * The Print Blocked. - * Indicates whether printing is allowed from managed apps. - */ - @SerializedName("printBlocked") - @Expose - public Boolean printBlocked; - - /** - * The Fingerprint Blocked. - * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - */ - @SerializedName("fingerprintBlocked") - @Expose - public Boolean fingerprintBlocked; - - /** - * The Disable App Pin If Device Pin Is Set. - * Indicates whether use of the app pin is required if the device pin is set. - */ - @SerializedName("disableAppPinIfDevicePinIsSet") - @Expose - public Boolean disableAppPinIfDevicePinIsSet; - - /** - * The Minimum Required Os Version. - * Versions less than the specified version will block the managed app from accessing company data. - */ - @SerializedName("minimumRequiredOsVersion") - @Expose - public String minimumRequiredOsVersion; - - /** - * The Minimum Warning Os Version. - * Versions less than the specified version will result in warning message on the managed app from accessing company data. - */ - @SerializedName("minimumWarningOsVersion") - @Expose - public String minimumWarningOsVersion; - - /** - * The Minimum Required App Version. - * Versions less than the specified version will block the managed app from accessing company data. - */ - @SerializedName("minimumRequiredAppVersion") - @Expose - public String minimumRequiredAppVersion; - - /** - * The Minimum Warning App Version. - * Versions less than the specified version will result in warning message on the managed app. - */ - @SerializedName("minimumWarningAppVersion") - @Expose - public String minimumWarningAppVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtectionTargetAppsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtectionTargetAppsBody.java deleted file mode 100644 index 166dbc74dcf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppProtectionTargetAppsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Protection Target Apps Body. - */ -public class BaseManagedAppProtectionTargetAppsBody { - - /** - * The apps. - * - */ - @SerializedName("apps") - @Expose - public java.util.List apps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppRegistration.java deleted file mode 100644 index ca9944e8631..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppRegistration.java +++ /dev/null @@ -1,240 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedAppFlaggedReason; -import com.microsoft.graph.models.extensions.MobileAppIdentifier; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.models.extensions.ManagedAppOperation; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppOperationCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration. - */ -public class BaseManagedAppRegistration extends Entity implements IJsonBackedObject { - - - /** - * The Created Date Time. - * Date and time of creation - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Sync Date Time. - * Date and time of last the app synced with management service. - */ - @SerializedName("lastSyncDateTime") - @Expose - public java.util.Calendar lastSyncDateTime; - - /** - * The Application Version. - * App version - */ - @SerializedName("applicationVersion") - @Expose - public String applicationVersion; - - /** - * The Management Sdk Version. - * App management SDK version - */ - @SerializedName("managementSdkVersion") - @Expose - public String managementSdkVersion; - - /** - * The Platform Version. - * Operating System version - */ - @SerializedName("platformVersion") - @Expose - public String platformVersion; - - /** - * The Device Type. - * Host device type - */ - @SerializedName("deviceType") - @Expose - public String deviceType; - - /** - * The Device Tag. - * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. - */ - @SerializedName("deviceTag") - @Expose - public String deviceTag; - - /** - * The Device Name. - * Host device name - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - - /** - * The Flagged Reasons. - * Zero or more reasons an app registration is flagged. E.g. app running on rooted device - */ - @SerializedName("flaggedReasons") - @Expose - public java.util.List flaggedReasons; - - /** - * The User Id. - * The user Id to who this app registration belongs. - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The App Identifier. - * The app package Identifier - */ - @SerializedName("appIdentifier") - @Expose - public MobileAppIdentifier appIdentifier; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - /** - * The Applied Policies. - * Zero or more policys already applied on the registered app when it last synchronized with managment service. - */ - public ManagedAppPolicyCollectionPage appliedPolicies; - - /** - * The Intended Policies. - * Zero or more policies admin intended for the app as of now. - */ - public ManagedAppPolicyCollectionPage intendedPolicies; - - /** - * The Operations. - * Zero or more long running operations triggered on the app registration. - */ - public ManagedAppOperationCollectionPage operations; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("appliedPolicies")) { - final BaseManagedAppPolicyCollectionResponse response = new BaseManagedAppPolicyCollectionResponse(); - if (json.has("appliedPolicies@odata.nextLink")) { - response.nextLink = json.get("appliedPolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("appliedPolicies").toString(), JsonObject[].class); - final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - appliedPolicies = new ManagedAppPolicyCollectionPage(response, null); - } - - if (json.has("intendedPolicies")) { - final BaseManagedAppPolicyCollectionResponse response = new BaseManagedAppPolicyCollectionResponse(); - if (json.has("intendedPolicies@odata.nextLink")) { - response.nextLink = json.get("intendedPolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("intendedPolicies").toString(), JsonObject[].class); - final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - intendedPolicies = new ManagedAppPolicyCollectionPage(response, null); - } - - if (json.has("operations")) { - final BaseManagedAppOperationCollectionResponse response = new BaseManagedAppOperationCollectionResponse(); - if (json.has("operations@odata.nextLink")) { - response.nextLink = json.get("operations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); - final ManagedAppOperation[] array = new ManagedAppOperation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppOperation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - operations = new ManagedAppOperationCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatus.java deleted file mode 100644 index 633d596fa48..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatus.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status. - */ -public class BaseManagedAppStatus extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Friendly name of the status report. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatusRaw.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatusRaw.java deleted file mode 100644 index 53b34933f2f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedAppStatusRaw.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedAppStatus; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Raw. - */ -public class BaseManagedAppStatusRaw extends ManagedAppStatus implements IJsonBackedObject { - - - /** - * The Content. - * Status report content. - */ - @SerializedName("content") - @Expose - public com.google.gson.JsonElement content; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDevice.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDevice.java deleted file mode 100644 index a2f4b6c3e9e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDevice.java +++ /dev/null @@ -1,508 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedDeviceOwnerType; -import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.ComplianceState; -import com.microsoft.graph.models.generated.ManagementAgentType; -import com.microsoft.graph.models.generated.DeviceEnrollmentType; -import com.microsoft.graph.models.generated.DeviceRegistrationState; -import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessState; -import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessStateReason; -import com.microsoft.graph.models.extensions.ConfigurationManagerClientEnabledFeatures; -import com.microsoft.graph.models.extensions.DeviceHealthAttestationState; -import com.microsoft.graph.models.generated.ManagedDevicePartnerReportedHealthState; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; -import com.microsoft.graph.models.extensions.DeviceCategory; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device. - */ -public class BaseManagedDevice extends Entity implements IJsonBackedObject { - - - /** - * The User Id. - * Unique Identifier for the user associated with the device - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The Device Name. - * Name of the device - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - - /** - * The Managed Device Owner Type. - * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. - */ - @SerializedName("managedDeviceOwnerType") - @Expose - public ManagedDeviceOwnerType managedDeviceOwnerType; - - /** - * The Device Action Results. - * List of ComplexType deviceActionResult objects. - */ - @SerializedName("deviceActionResults") - @Expose - public java.util.List deviceActionResults; - - /** - * The Enrolled Date Time. - * Enrollment time of the device. - */ - @SerializedName("enrolledDateTime") - @Expose - public java.util.Calendar enrolledDateTime; - - /** - * The Last Sync Date Time. - * The date and time that the device last completed a successful sync with Intune. - */ - @SerializedName("lastSyncDateTime") - @Expose - public java.util.Calendar lastSyncDateTime; - - /** - * The Operating System. - * Operating system of the device. Windows, iOS, etc. - */ - @SerializedName("operatingSystem") - @Expose - public String operatingSystem; - - /** - * The Compliance State. - * Compliance state of the device. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. - */ - @SerializedName("complianceState") - @Expose - public ComplianceState complianceState; - - /** - * The Jail Broken. - * whether the device is jail broken or rooted. - */ - @SerializedName("jailBroken") - @Expose - public String jailBroken; - - /** - * The Management Agent. - * Management channel of the device. Intune, EAS, etc. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. - */ - @SerializedName("managementAgent") - @Expose - public ManagementAgentType managementAgent; - - /** - * The Os Version. - * Operating system version of the device. - */ - @SerializedName("osVersion") - @Expose - public String osVersion; - - /** - * The Eas Activated. - * Whether the device is Exchange ActiveSync activated. - */ - @SerializedName("easActivated") - @Expose - public Boolean easActivated; - - /** - * The Eas Device Id. - * Exchange ActiveSync Id of the device. - */ - @SerializedName("easDeviceId") - @Expose - public String easDeviceId; - - /** - * The Eas Activation Date Time. - * Exchange ActivationSync activation time of the device. - */ - @SerializedName("easActivationDateTime") - @Expose - public java.util.Calendar easActivationDateTime; - - /** - * The Azure ADRegistered. - * Whether the device is Azure Active Directory registered. - */ - @SerializedName("azureADRegistered") - @Expose - public Boolean azureADRegistered; - - /** - * The Device Enrollment Type. - * Enrollment type of the device. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. - */ - @SerializedName("deviceEnrollmentType") - @Expose - public DeviceEnrollmentType deviceEnrollmentType; - - /** - * The Activation Lock Bypass Code. - * Code that allows the Activation Lock on a device to be bypassed. - */ - @SerializedName("activationLockBypassCode") - @Expose - public String activationLockBypassCode; - - /** - * The Email Address. - * Email(s) for the user associated with the device - */ - @SerializedName("emailAddress") - @Expose - public String emailAddress; - - /** - * The Azure ADDevice Id. - * The unique identifier for the Azure Active Directory device. Read only. - */ - @SerializedName("azureADDeviceId") - @Expose - public String azureADDeviceId; - - /** - * The Device Registration State. - * Device registration state. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. - */ - @SerializedName("deviceRegistrationState") - @Expose - public DeviceRegistrationState deviceRegistrationState; - - /** - * The Device Category Display Name. - * Device category display name - */ - @SerializedName("deviceCategoryDisplayName") - @Expose - public String deviceCategoryDisplayName; - - /** - * The Is Supervised. - * Device supervised status - */ - @SerializedName("isSupervised") - @Expose - public Boolean isSupervised; - - /** - * The Exchange Last Successful Sync Date Time. - * Last time the device contacted Exchange. - */ - @SerializedName("exchangeLastSuccessfulSyncDateTime") - @Expose - public java.util.Calendar exchangeLastSuccessfulSyncDateTime; - - /** - * The Exchange Access State. - * The Access State of the device in Exchange. Possible values are: none, unknown, allowed, blocked, quarantined. - */ - @SerializedName("exchangeAccessState") - @Expose - public DeviceManagementExchangeAccessState exchangeAccessState; - - /** - * The Exchange Access State Reason. - * The reason for the device's access state in Exchange. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. - */ - @SerializedName("exchangeAccessStateReason") - @Expose - public DeviceManagementExchangeAccessStateReason exchangeAccessStateReason; - - /** - * The Remote Assistance Session Url. - * Url that allows a Remote Assistance session to be established with the device. - */ - @SerializedName("remoteAssistanceSessionUrl") - @Expose - public String remoteAssistanceSessionUrl; - - /** - * The Remote Assistance Session Error Details. - * An error string that identifies issues when creating Remote Assistance session objects. - */ - @SerializedName("remoteAssistanceSessionErrorDetails") - @Expose - public String remoteAssistanceSessionErrorDetails; - - /** - * The Is Encrypted. - * Device encryption status - */ - @SerializedName("isEncrypted") - @Expose - public Boolean isEncrypted; - - /** - * The User Principal Name. - * Device user principal name - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Model. - * Model of the device - */ - @SerializedName("model") - @Expose - public String model; - - /** - * The Manufacturer. - * Manufacturer of the device - */ - @SerializedName("manufacturer") - @Expose - public String manufacturer; - - /** - * The Imei. - * IMEI - */ - @SerializedName("imei") - @Expose - public String imei; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - - /** - * The Serial Number. - * SerialNumber - */ - @SerializedName("serialNumber") - @Expose - public String serialNumber; - - /** - * The Phone Number. - * Phone number of the device - */ - @SerializedName("phoneNumber") - @Expose - public String phoneNumber; - - /** - * The Android Security Patch Level. - * Android security patch level - */ - @SerializedName("androidSecurityPatchLevel") - @Expose - public String androidSecurityPatchLevel; - - /** - * The User Display Name. - * User display name - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - - /** - * The Configuration Manager Client Enabled Features. - * ConfigrMgr client enabled features - */ - @SerializedName("configurationManagerClientEnabledFeatures") - @Expose - public ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures; - - /** - * The Wi Fi Mac Address. - * Wi-Fi MAC - */ - @SerializedName("wiFiMacAddress") - @Expose - public String wiFiMacAddress; - - /** - * The Device Health Attestation State. - * The device health attestation state. - */ - @SerializedName("deviceHealthAttestationState") - @Expose - public DeviceHealthAttestationState deviceHealthAttestationState; - - /** - * The Subscriber Carrier. - * Subscriber Carrier - */ - @SerializedName("subscriberCarrier") - @Expose - public String subscriberCarrier; - - /** - * The Meid. - * MEID - */ - @SerializedName("meid") - @Expose - public String meid; - - /** - * The Total Storage Space In Bytes. - * Total Storage in Bytes - */ - @SerializedName("totalStorageSpaceInBytes") - @Expose - public Long totalStorageSpaceInBytes; - - /** - * The Free Storage Space In Bytes. - * Free Storage in Bytes - */ - @SerializedName("freeStorageSpaceInBytes") - @Expose - public Long freeStorageSpaceInBytes; - - /** - * The Managed Device Name. - * Automatically generated name to identify a device. Can be overwritten to a user friendly name. - */ - @SerializedName("managedDeviceName") - @Expose - public String managedDeviceName; - - /** - * The Partner Reported Threat State. - * Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. Possible values are: unknown, activated, deactivated, secured, lowSeverity, mediumSeverity, highSeverity, unresponsive, compromised, misconfigured. - */ - @SerializedName("partnerReportedThreatState") - @Expose - public ManagedDevicePartnerReportedHealthState partnerReportedThreatState; - - /** - * The Device Configuration States. - * Device configuration states for this device. - */ - public DeviceConfigurationStateCollectionPage deviceConfigurationStates; - - /** - * The Device Category. - * Device category - */ - @SerializedName("deviceCategory") - @Expose - public DeviceCategory deviceCategory; - - /** - * The Device Compliance Policy States. - * Device compliance policy states for this device. - */ - public DeviceCompliancePolicyStateCollectionPage deviceCompliancePolicyStates; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("deviceConfigurationStates")) { - final BaseDeviceConfigurationStateCollectionResponse response = new BaseDeviceConfigurationStateCollectionResponse(); - if (json.has("deviceConfigurationStates@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurationStates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationStates").toString(), JsonObject[].class); - final DeviceConfigurationState[] array = new DeviceConfigurationState[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationState.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceConfigurationStates = new DeviceConfigurationStateCollectionPage(response, null); - } - - if (json.has("deviceCompliancePolicyStates")) { - final BaseDeviceCompliancePolicyStateCollectionResponse response = new BaseDeviceCompliancePolicyStateCollectionResponse(); - if (json.has("deviceCompliancePolicyStates@odata.nextLink")) { - response.nextLink = json.get("deviceCompliancePolicyStates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceCompliancePolicyStates").toString(), JsonObject[].class); - final DeviceCompliancePolicyState[] array = new DeviceCompliancePolicyState[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicyState.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceCompliancePolicyStates = new DeviceCompliancePolicyStateCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceCleanWindowsDeviceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceCleanWindowsDeviceBody.java deleted file mode 100644 index 53065034ab0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceCleanWindowsDeviceBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Clean Windows Device Body. - */ -public class BaseManagedDeviceCleanWindowsDeviceBody { - - /** - * The keep User Data. - * - */ - @SerializedName("keepUserData") - @Expose - public Boolean keepUserData; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody.java deleted file mode 100644 index ab31601e0bb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Delete User From Shared Apple Device Body. - */ -public class BaseManagedDeviceDeleteUserFromSharedAppleDeviceBody { - - /** - * The user Principal Name. - * - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfiguration.java deleted file mode 100644 index 695d8c54d96..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfiguration.java +++ /dev/null @@ -1,211 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration. - */ -public class BaseManagedDeviceMobileAppConfiguration extends Entity implements IJsonBackedObject { - - - /** - * The Targeted Mobile Apps. - * the associated app. - */ - @SerializedName("targetedMobileApps") - @Expose - public java.util.List targetedMobileApps; - - /** - * The Created Date Time. - * DateTime the object was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Description. - * Admin provided description of the Device Configuration. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Display Name. - * Admin provided name of the device configuration. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * Version of the device configuration. - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Assignments. - * The list of group assignemenets for app configration. - */ - public ManagedDeviceMobileAppConfigurationAssignmentCollectionPage assignments; - - /** - * The Device Statuses. - * List of ManagedDeviceMobileAppConfigurationDeviceStatus. - */ - public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage deviceStatuses; - - /** - * The User Statuses. - * List of ManagedDeviceMobileAppConfigurationUserStatus. - */ - public ManagedDeviceMobileAppConfigurationUserStatusCollectionPage userStatuses; - - /** - * The Device Status Summary. - * App configuration device status summary. - */ - @SerializedName("deviceStatusSummary") - @Expose - public ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary; - - /** - * The User Status Summary. - * App configuration user status summary. - */ - @SerializedName("userStatusSummary") - @Expose - public ManagedDeviceMobileAppConfigurationUserSummary userStatusSummary; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("assignments")) { - final BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response = new BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final ManagedDeviceMobileAppConfigurationAssignment[] array = new ManagedDeviceMobileAppConfigurationAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfigurationAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new ManagedDeviceMobileAppConfigurationAssignmentCollectionPage(response, null); - } - - if (json.has("deviceStatuses")) { - final BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response = new BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse(); - if (json.has("deviceStatuses@odata.nextLink")) { - response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); - final ManagedDeviceMobileAppConfigurationDeviceStatus[] array = new ManagedDeviceMobileAppConfigurationDeviceStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfigurationDeviceStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceStatuses = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(response, null); - } - - if (json.has("userStatuses")) { - final BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response = new BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse(); - if (json.has("userStatuses@odata.nextLink")) { - response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); - final ManagedDeviceMobileAppConfigurationUserStatus[] array = new ManagedDeviceMobileAppConfigurationUserStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDeviceMobileAppConfigurationUserStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userStatuses = new ManagedDeviceMobileAppConfigurationUserStatusCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignBody.java deleted file mode 100644 index 8b9dff7f87e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assign Body. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignBody { - - /** - * The assignments. - * - */ - @SerializedName("assignments") - @Expose - public java.util.List assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignment.java deleted file mode 100644 index 17341b213d3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationAssignment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * Assignment target that the T&C policy is assigned to. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatus.java deleted file mode 100644 index d0a981a338a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatus.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatus extends Entity implements IJsonBackedObject { - - - /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. - */ - @SerializedName("deviceDisplayName") - @Expose - public String deviceDisplayName; - - /** - * The User Name. - * The User Name that is being reported - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummary.java deleted file mode 100644 index e9aca7281f1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummary.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Summary. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceSummary extends Entity implements IJsonBackedObject { - - - /** - * The Pending Count. - * Number of pending devices - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Success Count. - * Number of succeeded devices - */ - @SerializedName("successCount") - @Expose - public Integer successCount; - - /** - * The Error Count. - * Number of error devices - */ - @SerializedName("errorCount") - @Expose - public Integer errorCount; - - /** - * The Failed Count. - * Number of failed devices - */ - @SerializedName("failedCount") - @Expose - public Integer failedCount; - - /** - * The Last Update Date Time. - * Last update time - */ - @SerializedName("lastUpdateDateTime") - @Expose - public java.util.Calendar lastUpdateDateTime; - - /** - * The Configuration Version. - * Version of the policy for that overview - */ - @SerializedName("configurationVersion") - @Expose - public Integer configurationVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserStatus.java deleted file mode 100644 index d791ca70f08..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserStatus.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatus extends Entity implements IJsonBackedObject { - - - /** - * The User Display Name. - * User name of the DevicePolicyStatus. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - - /** - * The Devices Count. - * Devices count for that user. - */ - @SerializedName("devicesCount") - @Expose - public Integer devicesCount; - - /** - * The Status. - * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("status") - @Expose - public ComplianceStatus status; - - /** - * The Last Reported Date Time. - * Last modified date time of the policy report. - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - - /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserSummary.java deleted file mode 100644 index 6a1fd56f7a7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceMobileAppConfigurationUserSummary.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Summary. - */ -public class BaseManagedDeviceMobileAppConfigurationUserSummary extends Entity implements IJsonBackedObject { - - - /** - * The Pending Count. - * Number of pending Users - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable users - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Success Count. - * Number of succeeded Users - */ - @SerializedName("successCount") - @Expose - public Integer successCount; - - /** - * The Error Count. - * Number of error Users - */ - @SerializedName("errorCount") - @Expose - public Integer errorCount; - - /** - * The Failed Count. - * Number of failed Users - */ - @SerializedName("failedCount") - @Expose - public Integer failedCount; - - /** - * The Last Update Date Time. - * Last update time - */ - @SerializedName("lastUpdateDateTime") - @Expose - public java.util.Calendar lastUpdateDateTime; - - /** - * The Configuration Version. - * Version of the policy for that overview - */ - @SerializedName("configurationVersion") - @Expose - public Integer configurationVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceOverview.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceOverview.java deleted file mode 100644 index 1a8b9f59976..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceOverview.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceOperatingSystemSummary; -import com.microsoft.graph.models.extensions.DeviceExchangeAccessStateSummary; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview. - */ -public class BaseManagedDeviceOverview extends Entity implements IJsonBackedObject { - - - /** - * The Enrolled Device Count. - * Total enrolled device count. Does not include PC devices managed via Intune PC Agent - */ - @SerializedName("enrolledDeviceCount") - @Expose - public Integer enrolledDeviceCount; - - /** - * The Mdm Enrolled Count. - * The number of devices enrolled in MDM - */ - @SerializedName("mdmEnrolledCount") - @Expose - public Integer mdmEnrolledCount; - - /** - * The Dual Enrolled Device Count. - * The number of devices enrolled in both MDM and EAS - */ - @SerializedName("dualEnrolledDeviceCount") - @Expose - public Integer dualEnrolledDeviceCount; - - /** - * The Device Operating System Summary. - * Device operating system summary. - */ - @SerializedName("deviceOperatingSystemSummary") - @Expose - public DeviceOperatingSystemSummary deviceOperatingSystemSummary; - - /** - * The Device Exchange Access State Summary. - * Distribution of Exchange Access State in Intune - */ - @SerializedName("deviceExchangeAccessStateSummary") - @Expose - public DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceUpdateWindowsDeviceAccountBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceUpdateWindowsDeviceAccountBody.java deleted file mode 100644 index 8943c1b3283..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceUpdateWindowsDeviceAccountBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Update Windows Device Account Body. - */ -public class BaseManagedDeviceUpdateWindowsDeviceAccountBody { - - /** - * The update Windows Device Account Action Parameter. - * - */ - @SerializedName("updateWindowsDeviceAccountActionParameter") - @Expose - public UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWindowsDefenderScanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWindowsDefenderScanBody.java deleted file mode 100644 index 99ceee9c573..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWindowsDefenderScanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Windows Defender Scan Body. - */ -public class BaseManagedDeviceWindowsDefenderScanBody { - - /** - * The quick Scan. - * - */ - @SerializedName("quickScan") - @Expose - public Boolean quickScan; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWipeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWipeBody.java deleted file mode 100644 index 4693ce571a7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedDeviceWipeBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Wipe Body. - */ -public class BaseManagedDeviceWipeBody { - - /** - * The keep Enrollment Data. - * - */ - @SerializedName("keepEnrollmentData") - @Expose - public Boolean keepEnrollmentData; - - /** - * The keep User Data. - * - */ - @SerializedName("keepUserData") - @Expose - public Boolean keepUserData; - - /** - * The mac Os Unlock Code. - * - */ - @SerializedName("macOsUnlockCode") - @Expose - public String macOsUnlockCode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBook.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBook.java deleted file mode 100644 index cda00de1f66..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBook.java +++ /dev/null @@ -1,227 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MimeContent; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.models.extensions.EBookInstallSummary; -import com.microsoft.graph.models.extensions.DeviceInstallState; -import com.microsoft.graph.models.extensions.UserInstallStateSummary; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.UserInstallStateSummaryCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook. - */ -public class BaseManagedEBook extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Name of the eBook. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Publisher. - * Publisher. - */ - @SerializedName("publisher") - @Expose - public String publisher; - - /** - * The Published Date Time. - * The date and time when the eBook was published. - */ - @SerializedName("publishedDateTime") - @Expose - public java.util.Calendar publishedDateTime; - - /** - * The Large Cover. - * Book cover. - */ - @SerializedName("largeCover") - @Expose - public MimeContent largeCover; - - /** - * The Created Date Time. - * The date and time when the eBook file was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * The date and time when the eBook was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Information Url. - * The more information Url. - */ - @SerializedName("informationUrl") - @Expose - public String informationUrl; - - /** - * The Privacy Information Url. - * The privacy statement Url. - */ - @SerializedName("privacyInformationUrl") - @Expose - public String privacyInformationUrl; - - /** - * The Assignments. - * The list of assignments for this eBook. - */ - public ManagedEBookAssignmentCollectionPage assignments; - - /** - * The Install Summary. - * Mobile App Install Summary. - */ - @SerializedName("installSummary") - @Expose - public EBookInstallSummary installSummary; - - /** - * The Device States. - * The list of installation states for this eBook. - */ - public DeviceInstallStateCollectionPage deviceStates; - - /** - * The User State Summary. - * The list of installation states for this eBook. - */ - public UserInstallStateSummaryCollectionPage userStateSummary; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("assignments")) { - final BaseManagedEBookAssignmentCollectionResponse response = new BaseManagedEBookAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final ManagedEBookAssignment[] array = new ManagedEBookAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBookAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new ManagedEBookAssignmentCollectionPage(response, null); - } - - if (json.has("deviceStates")) { - final BaseDeviceInstallStateCollectionResponse response = new BaseDeviceInstallStateCollectionResponse(); - if (json.has("deviceStates@odata.nextLink")) { - response.nextLink = json.get("deviceStates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStates").toString(), JsonObject[].class); - final DeviceInstallState[] array = new DeviceInstallState[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceInstallState.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceStates = new DeviceInstallStateCollectionPage(response, null); - } - - if (json.has("userStateSummary")) { - final BaseUserInstallStateSummaryCollectionResponse response = new BaseUserInstallStateSummaryCollectionResponse(); - if (json.has("userStateSummary@odata.nextLink")) { - response.nextLink = json.get("userStateSummary@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStateSummary").toString(), JsonObject[].class); - final UserInstallStateSummary[] array = new UserInstallStateSummary[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserInstallStateSummary.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userStateSummary = new UserInstallStateSummaryCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignBody.java deleted file mode 100644 index ee0382fa00f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assign Body. - */ -public class BaseManagedEBookAssignBody { - - /** - * The managed EBook Assignments. - * - */ - @SerializedName("managedEBookAssignments") - @Expose - public java.util.List managedEBookAssignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignment.java deleted file mode 100644 index f1dce72bfcb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedEBookAssignment.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.generated.InstallIntent; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment. - */ -public class BaseManagedEBookAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * The assignment target for eBook. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - /** - * The Install Intent. - * The install intent for eBook. Possible values are: available, required, uninstall, availableWithoutEnrollment. - */ - @SerializedName("installIntent") - @Expose - public InstallIntent installIntent; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSLobApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSLobApp.java deleted file mode 100644 index 3157aaf83c2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSLobApp.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosDeviceType; -import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.ManagedMobileLobApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed IOSLob App. - */ -public class BaseManagedIOSLobApp extends ManagedMobileLobApp implements IJsonBackedObject { - - - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - /** - * The Applicable Device Type. - * The iOS architecture for which this app can run on. - */ - @SerializedName("applicableDeviceType") - @Expose - public IosDeviceType applicableDeviceType; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public IosMinimumOperatingSystem minimumSupportedOperatingSystem; - - /** - * The Expiration Date Time. - * The expiration time. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Version Number. - * The version number of managed iOS Line of Business (LoB) app. - */ - @SerializedName("versionNumber") - @Expose - public String versionNumber; - - /** - * The Build Number. - * The build number of managed iOS Line of Business (LoB) app. - */ - @SerializedName("buildNumber") - @Expose - public String buildNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSStoreApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSStoreApp.java deleted file mode 100644 index 5e95bba3b89..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedIOSStoreApp.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IosDeviceType; -import com.microsoft.graph.models.extensions.IosMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.ManagedApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed IOSStore App. - */ -public class BaseManagedIOSStoreApp extends ManagedApp implements IJsonBackedObject { - - - /** - * The Bundle Id. - * The app's Bundle ID. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - /** - * The App Store Url. - * The Apple AppStoreUrl. - */ - @SerializedName("appStoreUrl") - @Expose - public String appStoreUrl; - - /** - * The Applicable Device Type. - * The iOS architecture for which this app can run on. - */ - @SerializedName("applicableDeviceType") - @Expose - public IosDeviceType applicableDeviceType; - - /** - * The Minimum Supported Operating System. - * The value for the minimum supported operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public IosMinimumOperatingSystem minimumSupportedOperatingSystem; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileApp.java deleted file mode 100644 index 8fee0880150..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileApp.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppIdentifier; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App. - */ -public class BaseManagedMobileApp extends Entity implements IJsonBackedObject { - - - /** - * The Mobile App Identifier. - * The identifier for an app with it's operating system type. - */ - @SerializedName("mobileAppIdentifier") - @Expose - public MobileAppIdentifier mobileAppIdentifier; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileLobApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileLobApp.java deleted file mode 100644 index a1d4644f9da..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseManagedMobileLobApp.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppContent; -import com.microsoft.graph.models.extensions.ManagedApp; -import com.microsoft.graph.requests.generated.BaseMobileAppContentCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppContentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile Lob App. - */ -public class BaseManagedMobileLobApp extends ManagedApp implements IJsonBackedObject { - - - /** - * The Committed Content Version. - * The internal committed content version. - */ - @SerializedName("committedContentVersion") - @Expose - public String committedContentVersion; - - /** - * The File Name. - * The name of the main Lob application file. - */ - @SerializedName("fileName") - @Expose - public String fileName; - - /** - * The Size. - * The total size, including all uploaded files. - */ - @SerializedName("size") - @Expose - public Long size; - - /** - * The Content Versions. - * The list of content versions for this app. - */ - public MobileAppContentCollectionPage contentVersions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("contentVersions")) { - final BaseMobileAppContentCollectionResponse response = new BaseMobileAppContentCollectionResponse(); - if (json.has("contentVersions@odata.nextLink")) { - response.nextLink = json.get("contentVersions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentVersions").toString(), JsonObject[].class); - final MobileAppContent[] array = new MobileAppContent[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContent.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contentVersions = new MobileAppContentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMdmWindowsInformationProtectionPolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseMdmWindowsInformationProtectionPolicy.java deleted file mode 100644 index e47147408eb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMdmWindowsInformationProtectionPolicy.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsInformationProtection; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy. - */ -public class BaseMdmWindowsInformationProtectionPolicy extends WindowsInformationProtection implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingAustralia.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingAustralia.java deleted file mode 100644 index b40620e649e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingAustralia.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingAustraliaMoviesType; -import com.microsoft.graph.models.generated.RatingAustraliaTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating Australia. - */ -public class BaseMediaContentRatingAustralia implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for Australia. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove15, agesAbove18. - */ - @SerializedName("movieRating") - @Expose - public RatingAustraliaMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for Australia. Possible values are: allAllowed, allBlocked, preschoolers, children, general, parentalGuidance, mature, agesAbove15, agesAbove15AdultViolence. - */ - @SerializedName("tvRating") - @Expose - public RatingAustraliaTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingCanada.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingCanada.java deleted file mode 100644 index 6789b581bf3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingCanada.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingCanadaMoviesType; -import com.microsoft.graph.models.generated.RatingCanadaTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating Canada. - */ -public class BaseMediaContentRatingCanada implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for Canada. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove14, agesAbove18, restricted. - */ - @SerializedName("movieRating") - @Expose - public RatingCanadaMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for Canada. Possible values are: allAllowed, allBlocked, children, childrenAbove8, general, parentalGuidance, agesAbove14, agesAbove18. - */ - @SerializedName("tvRating") - @Expose - public RatingCanadaTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingFrance.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingFrance.java deleted file mode 100644 index 9f370d575a9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingFrance.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingFranceMoviesType; -import com.microsoft.graph.models.generated.RatingFranceTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating France. - */ -public class BaseMediaContentRatingFrance implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. - */ - @SerializedName("movieRating") - @Expose - public RatingFranceMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. - */ - @SerializedName("tvRating") - @Expose - public RatingFranceTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingGermany.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingGermany.java deleted file mode 100644 index a443f9be0a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingGermany.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingGermanyMoviesType; -import com.microsoft.graph.models.generated.RatingGermanyTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating Germany. - */ -public class BaseMediaContentRatingGermany implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. - */ - @SerializedName("movieRating") - @Expose - public RatingGermanyMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. - */ - @SerializedName("tvRating") - @Expose - public RatingGermanyTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingIreland.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingIreland.java deleted file mode 100644 index 1b6f6b88996..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingIreland.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingIrelandMoviesType; -import com.microsoft.graph.models.generated.RatingIrelandTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating Ireland. - */ -public class BaseMediaContentRatingIreland implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove12, agesAbove15, agesAbove16, adults. - */ - @SerializedName("movieRating") - @Expose - public RatingIrelandMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, children, youngAdults, parentalSupervision, mature. - */ - @SerializedName("tvRating") - @Expose - public RatingIrelandTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingJapan.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingJapan.java deleted file mode 100644 index 78fd193e299..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingJapan.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingJapanMoviesType; -import com.microsoft.graph.models.generated.RatingJapanTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating Japan. - */ -public class BaseMediaContentRatingJapan implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for Japan. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove15, agesAbove18. - */ - @SerializedName("movieRating") - @Expose - public RatingJapanMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for Japan. Possible values are: allAllowed, allBlocked, explicitAllowed. - */ - @SerializedName("tvRating") - @Expose - public RatingJapanTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingNewZealand.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingNewZealand.java deleted file mode 100644 index 22c121c66dd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingNewZealand.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingNewZealandMoviesType; -import com.microsoft.graph.models.generated.RatingNewZealandTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating New Zealand. - */ -public class BaseMediaContentRatingNewZealand implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove13, agesAbove15, agesAbove16, agesAbove18, restricted, agesAbove16Restricted. - */ - @SerializedName("movieRating") - @Expose - public RatingNewZealandMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, adults. - */ - @SerializedName("tvRating") - @Expose - public RatingNewZealandTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedKingdom.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedKingdom.java deleted file mode 100644 index 87477b4cb7a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedKingdom.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingUnitedKingdomMoviesType; -import com.microsoft.graph.models.generated.RatingUnitedKingdomTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating United Kingdom. - */ -public class BaseMediaContentRatingUnitedKingdom implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, general, universalChildren, parentalGuidance, agesAbove12Video, agesAbove12Cinema, agesAbove15, adults. - */ - @SerializedName("movieRating") - @Expose - public RatingUnitedKingdomMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, caution. - */ - @SerializedName("tvRating") - @Expose - public RatingUnitedKingdomTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedStates.java b/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedStates.java deleted file mode 100644 index 0cc3ad05024..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMediaContentRatingUnitedStates.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RatingUnitedStatesMoviesType; -import com.microsoft.graph.models.generated.RatingUnitedStatesTelevisionType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Media Content Rating United States. - */ -public class BaseMediaContentRatingUnitedStates implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Movie Rating. - * Movies rating selected for United States. Possible values are: allAllowed, allBlocked, general, parentalGuidance, parentalGuidance13, restricted, adults. - */ - @SerializedName("movieRating") - @Expose - public RatingUnitedStatesMoviesType movieRating; - - /** - * The Tv Rating. - * TV rating selected for United States. Possible values are: allAllowed, allBlocked, childrenAll, childrenAbove7, general, parentalGuidance, childrenAbove14, adults. - */ - @SerializedName("tvRating") - @Expose - public RatingUnitedStatesTelevisionType tvRating; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestion.java b/src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestion.java deleted file mode 100644 index 131be6b9fc6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestion.java +++ /dev/null @@ -1,131 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TimeSlot; -import com.microsoft.graph.models.generated.FreeBusyStatus; -import com.microsoft.graph.models.extensions.AttendeeAvailability; -import com.microsoft.graph.models.extensions.Location; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Meeting Time Suggestion. - */ -public class BaseMeetingTimeSuggestion implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Meeting Time Slot. - * A time period suggested for the meeting. - */ - @SerializedName("meetingTimeSlot") - @Expose - public TimeSlot meetingTimeSlot; - - /** - * The Confidence. - * A percentage that represents the likelhood of all the attendees attending. - */ - @SerializedName("confidence") - @Expose - public Double confidence; - - /** - * The Organizer Availability. - * Availability of the meeting organizer for this meeting suggestion. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - */ - @SerializedName("organizerAvailability") - @Expose - public FreeBusyStatus organizerAvailability; - - /** - * The Attendee Availability. - * An array that shows the availability status of each attendee for this meeting suggestion. - */ - @SerializedName("attendeeAvailability") - @Expose - public java.util.List attendeeAvailability; - - /** - * The Locations. - * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. - */ - @SerializedName("locations") - @Expose - public java.util.List locations; - - /** - * The Suggestion Reason. - * Reason for suggesting the meeting time. - */ - @SerializedName("suggestionReason") - @Expose - public String suggestionReason; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestionsResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestionsResult.java deleted file mode 100644 index 8415cf810ce..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMeetingTimeSuggestionsResult.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MeetingTimeSuggestion; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Meeting Time Suggestions Result. - */ -public class BaseMeetingTimeSuggestionsResult implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Meeting Time Suggestions. - * An array of meeting suggestions. - */ - @SerializedName("meetingTimeSuggestions") - @Expose - public java.util.List meetingTimeSuggestions; - - /** - * The Empty Suggestions Reason. - * A reason for not returning any meeting suggestions. The possible values are: attendeesUnavailable, attendeesUnavailableOrUnknown, locationsUnavailable, organizerUnavailable, or unknown. This property is an empty string if the meetingTimeSuggestions property does include any meeting suggestions. - */ - @SerializedName("emptySuggestionsReason") - @Expose - public String emptySuggestionsReason; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessage.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessage.java deleted file mode 100644 index 377fe7ec06a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessage.java +++ /dev/null @@ -1,376 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.InternetMessageHeader; -import com.microsoft.graph.models.extensions.ItemBody; -import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.generated.InferenceClassificationType; -import com.microsoft.graph.models.extensions.FollowupFlag; -import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionResponse; -import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message. - */ -public class BaseMessage extends OutlookItem implements IJsonBackedObject { - - - /** - * The Received Date Time. - * The date and time the message was received. - */ - @SerializedName("receivedDateTime") - @Expose - public java.util.Calendar receivedDateTime; - - /** - * The Sent Date Time. - * The date and time the message was sent. - */ - @SerializedName("sentDateTime") - @Expose - public java.util.Calendar sentDateTime; - - /** - * The Has Attachments. - * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. - */ - @SerializedName("hasAttachments") - @Expose - public Boolean hasAttachments; - - /** - * The Internet Message Id. - * The message ID in the format specified by RFC2822. - */ - @SerializedName("internetMessageId") - @Expose - public String internetMessageId; - - /** - * The Internet Message Headers. - * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. - */ - @SerializedName("internetMessageHeaders") - @Expose - public java.util.List internetMessageHeaders; - - /** - * The Subject. - * The subject of the message. - */ - @SerializedName("subject") - @Expose - public String subject; - - /** - * The Body. - * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. - */ - @SerializedName("body") - @Expose - public ItemBody body; - - /** - * The Body Preview. - * The first 255 characters of the message body. It is in text format. - */ - @SerializedName("bodyPreview") - @Expose - public String bodyPreview; - - /** - * The Importance. - * The importance of the message: Low, Normal, High. - */ - @SerializedName("importance") - @Expose - public Importance importance; - - /** - * The Parent Folder Id. - * The unique identifier for the message's parent mailFolder. - */ - @SerializedName("parentFolderId") - @Expose - public String parentFolderId; - - /** - * The Sender. - * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, or sending a message as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. - */ - @SerializedName("sender") - @Expose - public Recipient sender; - - /** - * The From. - * The mailbox owner and sender of the message. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. - */ - @SerializedName("from") - @Expose - public Recipient from; - - /** - * The To Recipients. - * The To: recipients for the message. - */ - @SerializedName("toRecipients") - @Expose - public java.util.List toRecipients; - - /** - * The Cc Recipients. - * The Cc: recipients for the message. - */ - @SerializedName("ccRecipients") - @Expose - public java.util.List ccRecipients; - - /** - * The Bcc Recipients. - * The Bcc: recipients for the message. - */ - @SerializedName("bccRecipients") - @Expose - public java.util.List bccRecipients; - - /** - * The Reply To. - * The email addresses to use when replying. - */ - @SerializedName("replyTo") - @Expose - public java.util.List replyTo; - - /** - * The Conversation Id. - * The ID of the conversation the email belongs to. - */ - @SerializedName("conversationId") - @Expose - public String conversationId; - - /** - * The Unique Body. - * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. - */ - @SerializedName("uniqueBody") - @Expose - public ItemBody uniqueBody; - - /** - * The Is Delivery Receipt Requested. - * Indicates whether a read receipt is requested for the message. - */ - @SerializedName("isDeliveryReceiptRequested") - @Expose - public Boolean isDeliveryReceiptRequested; - - /** - * The Is Read Receipt Requested. - * Indicates whether a read receipt is requested for the message. - */ - @SerializedName("isReadReceiptRequested") - @Expose - public Boolean isReadReceiptRequested; - - /** - * The Is Read. - * Indicates whether the message has been read. - */ - @SerializedName("isRead") - @Expose - public Boolean isRead; - - /** - * The Is Draft. - * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. - */ - @SerializedName("isDraft") - @Expose - public Boolean isDraft; - - /** - * The Web Link. - * The URL to open the message in Outlook Web App.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. - */ - @SerializedName("webLink") - @Expose - public String webLink; - - /** - * The Inference Classification. - * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. - */ - @SerializedName("inferenceClassification") - @Expose - public InferenceClassificationType inferenceClassification; - - /** - * The Flag. - * The flag value that indicates the status, start date, due date, or completion date for the message. - */ - @SerializedName("flag") - @Expose - public FollowupFlag flag; - - /** - * The Attachments. - * The fileAttachment and itemAttachment attachments for the message. - */ - public AttachmentCollectionPage attachments; - - /** - * The Extensions. - * The collection of open extensions defined for the message. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the message. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the message. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("attachments")) { - final BaseAttachmentCollectionResponse response = new BaseAttachmentCollectionResponse(); - if (json.has("attachments@odata.nextLink")) { - response.nextLink = json.get("attachments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); - final Attachment[] array = new Attachment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - attachments = new AttachmentCollectionPage(response, null); - } - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageCopyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageCopyBody.java deleted file mode 100644 index e3fc0336919..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageCopyBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Copy Body. - */ -public class BaseMessageCopyBody { - - /** - * The destination Id. - * - */ - @SerializedName("destinationId") - @Expose - public String destinationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageForwardBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageForwardBody.java deleted file mode 100644 index 545f1196683..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageForwardBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Forward Body. - */ -public class BaseMessageForwardBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - /** - * The to Recipients. - * - */ - @SerializedName("toRecipients") - @Expose - public java.util.List toRecipients; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageMoveBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageMoveBody.java deleted file mode 100644 index 75f8a42cd56..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageMoveBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Move Body. - */ -public class BaseMessageMoveBody { - - /** - * The destination Id. - * - */ - @SerializedName("destinationId") - @Expose - public String destinationId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyAllBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyAllBody.java deleted file mode 100644 index 1d50c636d3f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyAllBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Reply All Body. - */ -public class BaseMessageReplyAllBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyBody.java deleted file mode 100644 index c396e7931d6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageReplyBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Reply Body. - */ -public class BaseMessageReplyBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageRule.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageRule.java deleted file mode 100644 index cdb438d3bd9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageRule.java +++ /dev/null @@ -1,136 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MessageRulePredicates; -import com.microsoft.graph.models.extensions.MessageRuleActions; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule. - */ -public class BaseMessageRule extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The display name of the rule. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Sequence. - * Indicates the order in which the rule is executed, among other rules. - */ - @SerializedName("sequence") - @Expose - public Integer sequence; - - /** - * The Conditions. - * Conditions that when fulfilled, will trigger the corresponding actions for that rule. - */ - @SerializedName("conditions") - @Expose - public MessageRulePredicates conditions; - - /** - * The Actions. - * Actions to be taken on a message when the corresponding conditions are fulfilled. - */ - @SerializedName("actions") - @Expose - public MessageRuleActions actions; - - /** - * The Exceptions. - * Exception conditions for the rule. - */ - @SerializedName("exceptions") - @Expose - public MessageRulePredicates exceptions; - - /** - * The Is Enabled. - * Indicates whether the rule is enabled to be applied to messages. - */ - @SerializedName("isEnabled") - @Expose - public Boolean isEnabled; - - /** - * The Has Error. - * Indicates whether the rule is in an error condition. Read-only. - */ - @SerializedName("hasError") - @Expose - public Boolean hasError; - - /** - * The Is Read Only. - * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. - */ - @SerializedName("isReadOnly") - @Expose - public Boolean isReadOnly; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageRuleActions.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageRuleActions.java deleted file mode 100644 index f7c03f09940..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageRuleActions.java +++ /dev/null @@ -1,169 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.extensions.Recipient; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Actions. - */ -public class BaseMessageRuleActions implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Move To Folder. - * The ID of the folder that a message will be moved to. - */ - @SerializedName("moveToFolder") - @Expose - public String moveToFolder; - - /** - * The Copy To Folder. - * The ID of a folder that a message is to be copied to. - */ - @SerializedName("copyToFolder") - @Expose - public String copyToFolder; - - /** - * The Delete. - * Indicates whether a message should be moved to the Deleted Items folder. - */ - @SerializedName("delete") - @Expose - public Boolean delete; - - /** - * The Permanent Delete. - * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. - */ - @SerializedName("permanentDelete") - @Expose - public Boolean permanentDelete; - - /** - * The Mark As Read. - * Indicates whether a message should be marked as read. - */ - @SerializedName("markAsRead") - @Expose - public Boolean markAsRead; - - /** - * The Mark Importance. - * Sets the importance of the message, which can be: low, normal, high. - */ - @SerializedName("markImportance") - @Expose - public Importance markImportance; - - /** - * The Forward To. - * The email addresses of the recipients to which a message should be forwarded. - */ - @SerializedName("forwardTo") - @Expose - public java.util.List forwardTo; - - /** - * The Forward As Attachment To. - * The email addresses of the recipients to which a message should be forwarded as an attachment. - */ - @SerializedName("forwardAsAttachmentTo") - @Expose - public java.util.List forwardAsAttachmentTo; - - /** - * The Redirect To. - * The email addresses to which a message should be redirected. - */ - @SerializedName("redirectTo") - @Expose - public java.util.List redirectTo; - - /** - * The Assign Categories. - * A list of categories to be assigned to a message. - */ - @SerializedName("assignCategories") - @Expose - public java.util.List assignCategories; - - /** - * The Stop Processing Rules. - * Indicates whether subsequent rules should be evaluated. - */ - @SerializedName("stopProcessingRules") - @Expose - public Boolean stopProcessingRules; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMessageRulePredicates.java b/src/main/java/com/microsoft/graph/models/generated/BaseMessageRulePredicates.java deleted file mode 100644 index 7cac66ec05f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMessageRulePredicates.java +++ /dev/null @@ -1,324 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MessageActionFlag; -import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.generated.Sensitivity; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.SizeRange; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Predicates. - */ -public class BaseMessageRulePredicates implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Categories. - * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. - */ - @SerializedName("categories") - @Expose - public java.util.List categories; - - /** - * The Subject Contains. - * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("subjectContains") - @Expose - public java.util.List subjectContains; - - /** - * The Body Contains. - * Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("bodyContains") - @Expose - public java.util.List bodyContains; - - /** - * The Body Or Subject Contains. - * Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("bodyOrSubjectContains") - @Expose - public java.util.List bodyOrSubjectContains; - - /** - * The Sender Contains. - * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("senderContains") - @Expose - public java.util.List senderContains; - - /** - * The Recipient Contains. - * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("recipientContains") - @Expose - public java.util.List recipientContains; - - /** - * The Header Contains. - * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("headerContains") - @Expose - public java.util.List headerContains; - - /** - * The Message Action Flag. - * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. - */ - @SerializedName("messageActionFlag") - @Expose - public MessageActionFlag messageActionFlag; - - /** - * The Importance. - * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. - */ - @SerializedName("importance") - @Expose - public Importance importance; - - /** - * The Sensitivity. - * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. - */ - @SerializedName("sensitivity") - @Expose - public Sensitivity sensitivity; - - /** - * The From Addresses. - * Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("fromAddresses") - @Expose - public java.util.List fromAddresses; - - /** - * The Sent To Addresses. - * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. - */ - @SerializedName("sentToAddresses") - @Expose - public java.util.List sentToAddresses; - - /** - * The Sent To Me. - * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentToMe") - @Expose - public Boolean sentToMe; - - /** - * The Sent Only To Me. - * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentOnlyToMe") - @Expose - public Boolean sentOnlyToMe; - - /** - * The Sent Cc Me. - * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentCcMe") - @Expose - public Boolean sentCcMe; - - /** - * The Sent To Or Cc Me. - * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentToOrCcMe") - @Expose - public Boolean sentToOrCcMe; - - /** - * The Not Sent To Me. - * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("notSentToMe") - @Expose - public Boolean notSentToMe; - - /** - * The Has Attachments. - * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. - */ - @SerializedName("hasAttachments") - @Expose - public Boolean hasAttachments; - - /** - * The Is Approval Request. - * Indicates whether an incoming message must be an approval request in order for the condition or exception to apply. - */ - @SerializedName("isApprovalRequest") - @Expose - public Boolean isApprovalRequest; - - /** - * The Is Automatic Forward. - * Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply. - */ - @SerializedName("isAutomaticForward") - @Expose - public Boolean isAutomaticForward; - - /** - * The Is Automatic Reply. - * Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply. - */ - @SerializedName("isAutomaticReply") - @Expose - public Boolean isAutomaticReply; - - /** - * The Is Encrypted. - * Indicates whether an incoming message must be encrypted in order for the condition or exception to apply. - */ - @SerializedName("isEncrypted") - @Expose - public Boolean isEncrypted; - - /** - * The Is Meeting Request. - * Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply. - */ - @SerializedName("isMeetingRequest") - @Expose - public Boolean isMeetingRequest; - - /** - * The Is Meeting Response. - * Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply. - */ - @SerializedName("isMeetingResponse") - @Expose - public Boolean isMeetingResponse; - - /** - * The Is Non Delivery Report. - * Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply. - */ - @SerializedName("isNonDeliveryReport") - @Expose - public Boolean isNonDeliveryReport; - - /** - * The Is Permission Controlled. - * Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply. - */ - @SerializedName("isPermissionControlled") - @Expose - public Boolean isPermissionControlled; - - /** - * The Is Read Receipt. - * Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply. - */ - @SerializedName("isReadReceipt") - @Expose - public Boolean isReadReceipt; - - /** - * The Is Signed. - * Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply. - */ - @SerializedName("isSigned") - @Expose - public Boolean isSigned; - - /** - * The Is Voicemail. - * Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply. - */ - @SerializedName("isVoicemail") - @Expose - public Boolean isVoicemail; - - /** - * The Within Size Range. - * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. - */ - @SerializedName("withinSizeRange") - @Expose - public SizeRange withinSizeRange; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessApp.java deleted file mode 100644 index f62716ec121..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessApp.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MicrosoftStoreForBusinessLicenseType; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Microsoft Store For Business App. - */ -public class BaseMicrosoftStoreForBusinessApp extends MobileApp implements IJsonBackedObject { - - - /** - * The Used License Count. - * The number of Microsoft Store for Business licenses in use. - */ - @SerializedName("usedLicenseCount") - @Expose - public Integer usedLicenseCount; - - /** - * The Total License Count. - * The total number of Microsoft Store for Business licenses. - */ - @SerializedName("totalLicenseCount") - @Expose - public Integer totalLicenseCount; - - /** - * The Product Key. - * The app product key - */ - @SerializedName("productKey") - @Expose - public String productKey; - - /** - * The License Type. - * The app license type. Possible values are: offline, online. - */ - @SerializedName("licenseType") - @Expose - public MicrosoftStoreForBusinessLicenseType licenseType; - - /** - * The Package Identity Name. - * The app package identifier - */ - @SerializedName("packageIdentityName") - @Expose - public String packageIdentityName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessAppAssignmentSettings.java deleted file mode 100644 index 4fcce86943f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMicrosoftStoreForBusinessAppAssignmentSettings.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Microsoft Store For Business App Assignment Settings. - */ -public class BaseMicrosoftStoreForBusinessAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { - - - /** - * The Use Device Context. - * Whether or not to use device execution context for Microsoft Store for Business mobile app. - */ - @SerializedName("useDeviceContext") - @Expose - public Boolean useDeviceContext; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMimeContent.java b/src/main/java/com/microsoft/graph/models/generated/BaseMimeContent.java deleted file mode 100644 index d5862b250f5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMimeContent.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mime Content. - */ -public class BaseMimeContent implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * Indicates the content mime type. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Value. - * The byte array that contains the actual content. - */ - @SerializedName("value") - @Expose - public byte[] value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileApp.java deleted file mode 100644 index af6e6be4679..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileApp.java +++ /dev/null @@ -1,226 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MimeContent; -import com.microsoft.graph.models.generated.MobileAppPublishingState; -import com.microsoft.graph.models.extensions.MobileAppCategory; -import com.microsoft.graph.models.extensions.MobileAppAssignment; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App. - */ -public class BaseMobileApp extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The admin provided or imported title of the app. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * The description of the app. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Publisher. - * The publisher of the app. - */ - @SerializedName("publisher") - @Expose - public String publisher; - - /** - * The Large Icon. - * The large icon, to be displayed in the app details and used for upload of the icon. - */ - @SerializedName("largeIcon") - @Expose - public MimeContent largeIcon; - - /** - * The Created Date Time. - * The date and time the app was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * The date and time the app was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Is Featured. - * The value indicating whether the app is marked as featured by the admin. - */ - @SerializedName("isFeatured") - @Expose - public Boolean isFeatured; - - /** - * The Privacy Information Url. - * The privacy statement Url. - */ - @SerializedName("privacyInformationUrl") - @Expose - public String privacyInformationUrl; - - /** - * The Information Url. - * The more information Url. - */ - @SerializedName("informationUrl") - @Expose - public String informationUrl; - - /** - * The Owner. - * The owner of the app. - */ - @SerializedName("owner") - @Expose - public String owner; - - /** - * The Developer. - * The developer of the app. - */ - @SerializedName("developer") - @Expose - public String developer; - - /** - * The Notes. - * Notes for the app. - */ - @SerializedName("notes") - @Expose - public String notes; - - /** - * The Publishing State. - * The publishing state for the app. The app cannot be assigned unless the app is published. Possible values are: notPublished, processing, published. - */ - @SerializedName("publishingState") - @Expose - public MobileAppPublishingState publishingState; - - /** - * The Categories. - * The list of categories for this app. - */ - public MobileAppCategoryCollectionPage categories; - - /** - * The Assignments. - * The list of group assignments for this mobile app. - */ - public MobileAppAssignmentCollectionPage assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("categories")) { - final BaseMobileAppCategoryCollectionResponse response = new BaseMobileAppCategoryCollectionResponse(); - if (json.has("categories@odata.nextLink")) { - response.nextLink = json.get("categories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); - final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - categories = new MobileAppCategoryCollectionPage(response, null); - } - - if (json.has("assignments")) { - final BaseMobileAppAssignmentCollectionResponse response = new BaseMobileAppAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final MobileAppAssignment[] array = new MobileAppAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new MobileAppAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignBody.java deleted file mode 100644 index 07df6f9438c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assign Body. - */ -public class BaseMobileAppAssignBody { - - /** - * The mobile App Assignments. - * - */ - @SerializedName("mobileAppAssignments") - @Expose - public java.util.List mobileAppAssignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignment.java deleted file mode 100644 index 3e60cdc872b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignment.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.InstallIntent; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment. - */ -public class BaseMobileAppAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Intent. - * The install intent defined by the admin. Possible values are: available, required, uninstall, availableWithoutEnrollment. - */ - @SerializedName("intent") - @Expose - public InstallIntent intent; - - /** - * The Target. - * The target group assignment defined by the admin. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - /** - * The Settings. - * The settings for target assignment defined by the admin. - */ - @SerializedName("settings") - @Expose - public MobileAppAssignmentSettings settings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignmentSettings.java deleted file mode 100644 index d5e32cac712..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppAssignmentSettings.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Settings. - */ -public class BaseMobileAppAssignmentSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppCategory.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppCategory.java deleted file mode 100644 index 0e177a1b267..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppCategory.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category. - */ -public class BaseMobileAppCategory extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The name of the app category. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Last Modified Date Time. - * The date and time the mobileAppCategory was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContent.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContent.java deleted file mode 100644 index 0e8409f3ce3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContent.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppContentFile; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content. - */ -public class BaseMobileAppContent extends Entity implements IJsonBackedObject { - - - /** - * The Files. - * The list of files for this app content version. - */ - public MobileAppContentFileCollectionPage files; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("files")) { - final BaseMobileAppContentFileCollectionResponse response = new BaseMobileAppContentFileCollectionResponse(); - if (json.has("files@odata.nextLink")) { - response.nextLink = json.get("files@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("files").toString(), JsonObject[].class); - final MobileAppContentFile[] array = new MobileAppContentFile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContentFile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - files = new MobileAppContentFileCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFile.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFile.java deleted file mode 100644 index 6db52bc2689..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFile.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MobileAppContentFileUploadState; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File. - */ -public class BaseMobileAppContentFile extends Entity implements IJsonBackedObject { - - - /** - * The Azure Storage Uri. - * The Azure Storage URI. - */ - @SerializedName("azureStorageUri") - @Expose - public String azureStorageUri; - - /** - * The Is Committed. - * A value indicating whether the file is committed. - */ - @SerializedName("isCommitted") - @Expose - public Boolean isCommitted; - - /** - * The Created Date Time. - * The time the file was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Name. - * the file name. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Size. - * The size of the file prior to encryption. - */ - @SerializedName("size") - @Expose - public Long size; - - /** - * The Size Encrypted. - * The size of the file after encryption. - */ - @SerializedName("sizeEncrypted") - @Expose - public Long sizeEncrypted; - - /** - * The Azure Storage Uri Expiration Date Time. - * The time the Azure storage Uri expires. - */ - @SerializedName("azureStorageUriExpirationDateTime") - @Expose - public java.util.Calendar azureStorageUriExpirationDateTime; - - /** - * The Manifest. - * The manifest information. - */ - @SerializedName("manifest") - @Expose - public byte[] manifest; - - /** - * The Upload State. - * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. - */ - @SerializedName("uploadState") - @Expose - public MobileAppContentFileUploadState uploadState; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFileCommitBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFileCommitBody.java deleted file mode 100644 index 684ecd8e3f6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppContentFileCommitBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Commit Body. - */ -public class BaseMobileAppContentFileCommitBody { - - /** - * The file Encryption Info. - * - */ - @SerializedName("fileEncryptionInfo") - @Expose - public FileEncryptionInfo fileEncryptionInfo; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppIdentifier.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppIdentifier.java deleted file mode 100644 index 60929bfd809..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileAppIdentifier.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Identifier. - */ -public class BaseMobileAppIdentifier implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileLobApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileLobApp.java deleted file mode 100644 index 830c5e75383..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileLobApp.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppContent; -import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.requests.generated.BaseMobileAppContentCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppContentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Lob App. - */ -public class BaseMobileLobApp extends MobileApp implements IJsonBackedObject { - - - /** - * The Committed Content Version. - * The internal committed content version. - */ - @SerializedName("committedContentVersion") - @Expose - public String committedContentVersion; - - /** - * The File Name. - * The name of the main Lob application file. - */ - @SerializedName("fileName") - @Expose - public String fileName; - - /** - * The Size. - * The total size, including all uploaded files. - */ - @SerializedName("size") - @Expose - public Long size; - - /** - * The Content Versions. - * The list of content versions for this app. - */ - public MobileAppContentCollectionPage contentVersions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("contentVersions")) { - final BaseMobileAppContentCollectionResponse response = new BaseMobileAppContentCollectionResponse(); - if (json.has("contentVersions@odata.nextLink")) { - response.nextLink = json.get("contentVersions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentVersions").toString(), JsonObject[].class); - final MobileAppContent[] array = new MobileAppContent[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContent.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contentVersions = new MobileAppContentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMobileThreatDefenseConnector.java b/src/main/java/com/microsoft/graph/models/generated/BaseMobileThreatDefenseConnector.java deleted file mode 100644 index cf884f70611..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMobileThreatDefenseConnector.java +++ /dev/null @@ -1,135 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MobileThreatPartnerTenantState; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector. - */ -public class BaseMobileThreatDefenseConnector extends Entity implements IJsonBackedObject { - - - /** - * The Last Heartbeat Date Time. - * DateTime of last Heartbeat recieved from the Data Sync Partner - */ - @SerializedName("lastHeartbeatDateTime") - @Expose - public java.util.Calendar lastHeartbeatDateTime; - - /** - * The Partner State. - * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. - */ - @SerializedName("partnerState") - @Expose - public MobileThreatPartnerTenantState partnerState; - - /** - * The Android Enabled. - * For Android, set whether data from the data sync partner should be used during compliance evaluations - */ - @SerializedName("androidEnabled") - @Expose - public Boolean androidEnabled; - - /** - * The Ios Enabled. - * For IOS, get or set whether data from the data sync partner should be used during compliance evaluations - */ - @SerializedName("iosEnabled") - @Expose - public Boolean iosEnabled; - - /** - * The Android Device Blocked On Missing Partner Data. - * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant - */ - @SerializedName("androidDeviceBlockedOnMissingPartnerData") - @Expose - public Boolean androidDeviceBlockedOnMissingPartnerData; - - /** - * The Ios Device Blocked On Missing Partner Data. - * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant - */ - @SerializedName("iosDeviceBlockedOnMissingPartnerData") - @Expose - public Boolean iosDeviceBlockedOnMissingPartnerData; - - /** - * The Partner Unsupported Os Version Blocked. - * Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner - */ - @SerializedName("partnerUnsupportedOsVersionBlocked") - @Expose - public Boolean partnerUnsupportedOsVersionBlocked; - - /** - * The Partner Unresponsiveness Threshold In Days. - * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration - */ - @SerializedName("partnerUnresponsivenessThresholdInDays") - @Expose - public Integer partnerUnresponsivenessThresholdInDays; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseMultiValueLegacyExtendedProperty.java b/src/main/java/com/microsoft/graph/models/generated/BaseMultiValueLegacyExtendedProperty.java deleted file mode 100644 index 6e5175175ef..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseMultiValueLegacyExtendedProperty.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property. - */ -public class BaseMultiValueLegacyExtendedProperty extends Entity implements IJsonBackedObject { - - - /** - * The Value. - * A collection of property values. - */ - @SerializedName("value") - @Expose - public java.util.List value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseNetworkConnection.java b/src/main/java/com/microsoft/graph/models/generated/BaseNetworkConnection.java deleted file mode 100644 index 2e0a7a2bd0f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseNetworkConnection.java +++ /dev/null @@ -1,226 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ConnectionDirection; -import com.microsoft.graph.models.generated.SecurityNetworkProtocol; -import com.microsoft.graph.models.generated.ConnectionStatus; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Network Connection. - */ -public class BaseNetworkConnection implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Application Name. - * Name of the application managing the network connection (for example, Facebook, SMTP, etc.). - */ - @SerializedName("applicationName") - @Expose - public String applicationName; - - /** - * The Destination Address. - * Destination IP address (of the network connection). - */ - @SerializedName("destinationAddress") - @Expose - public String destinationAddress; - - /** - * The Destination Domain. - * Destination domain portion of the destination URL. (for example 'www.contoso.com'). - */ - @SerializedName("destinationDomain") - @Expose - public String destinationDomain; - - /** - * The Destination Port. - * Destination port (of the network connection). - */ - @SerializedName("destinationPort") - @Expose - public String destinationPort; - - /** - * The Destination Url. - * Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html') - */ - @SerializedName("destinationUrl") - @Expose - public String destinationUrl; - - /** - * The Direction. - * Network connection direction. Possible values are: unknown, inbound, outbound. - */ - @SerializedName("direction") - @Expose - public ConnectionDirection direction; - - /** - * The Domain Registered Date Time. - * Date when the destination domain was registered. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("domainRegisteredDateTime") - @Expose - public java.util.Calendar domainRegisteredDateTime; - - /** - * The Local Dns Name. - * The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with). - */ - @SerializedName("localDnsName") - @Expose - public String localDnsName; - - /** - * The Nat Destination Address. - * Network Address Translation destination IP address. - */ - @SerializedName("natDestinationAddress") - @Expose - public String natDestinationAddress; - - /** - * The Nat Destination Port. - * Network Address Translation destination port. - */ - @SerializedName("natDestinationPort") - @Expose - public String natDestinationPort; - - /** - * The Nat Source Address. - * Network Address Translation source IP address. - */ - @SerializedName("natSourceAddress") - @Expose - public String natSourceAddress; - - /** - * The Nat Source Port. - * Network Address Translation source port. - */ - @SerializedName("natSourcePort") - @Expose - public String natSourcePort; - - /** - * The Protocol. - * Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. - */ - @SerializedName("protocol") - @Expose - public SecurityNetworkProtocol protocol; - - /** - * The Risk Score. - * Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage. - */ - @SerializedName("riskScore") - @Expose - public String riskScore; - - /** - * The Source Address. - * Source (i.e. origin) IP address (of the network connection). - */ - @SerializedName("sourceAddress") - @Expose - public String sourceAddress; - - /** - * The Source Port. - * Source (i.e. origin) IP port (of the network connection). - */ - @SerializedName("sourcePort") - @Expose - public String sourcePort; - - /** - * The Status. - * Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. - */ - @SerializedName("status") - @Expose - public ConnectionStatus status; - - /** - * The Url Parameters. - * Parameters (suffix) of the destination URL. - */ - @SerializedName("urlParameters") - @Expose - public String urlParameters; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseNotebook.java b/src/main/java/com/microsoft/graph/models/generated/BaseNotebook.java deleted file mode 100644 index 6dbe6a5d92d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseNotebook.java +++ /dev/null @@ -1,170 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.OnenoteUserRole; -import com.microsoft.graph.models.extensions.NotebookLinks; -import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook. - */ -public class BaseNotebook extends OnenoteEntityHierarchyModel implements IJsonBackedObject { - - - /** - * The Is Default. - * Indicates whether this is the user's default notebook. Read-only. - */ - @SerializedName("isDefault") - @Expose - public Boolean isDefault; - - /** - * The User Role. - * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. - */ - @SerializedName("userRole") - @Expose - public OnenoteUserRole userRole; - - /** - * The Is Shared. - * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. - */ - @SerializedName("isShared") - @Expose - public Boolean isShared; - - /** - * The Sections Url. - * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. - */ - @SerializedName("sectionsUrl") - @Expose - public String sectionsUrl; - - /** - * The Section Groups Url. - * The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. - */ - @SerializedName("sectionGroupsUrl") - @Expose - public String sectionGroupsUrl; - - /** - * The Links. - * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote Online. - */ - @SerializedName("links") - @Expose - public NotebookLinks links; - - /** - * The Sections. - * The sections in the notebook. Read-only. Nullable. - */ - public OnenoteSectionCollectionPage sections; - - /** - * The Section Groups. - * The section groups in the notebook. Read-only. Nullable. - */ - public SectionGroupCollectionPage sectionGroups; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("sections")) { - final BaseOnenoteSectionCollectionResponse response = new BaseOnenoteSectionCollectionResponse(); - if (json.has("sections@odata.nextLink")) { - response.nextLink = json.get("sections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); - final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sections = new OnenoteSectionCollectionPage(response, null); - } - - if (json.has("sectionGroups")) { - final BaseSectionGroupCollectionResponse response = new BaseSectionGroupCollectionResponse(); - if (json.has("sectionGroups@odata.nextLink")) { - response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); - final SectionGroup[] array = new SectionGroup[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sectionGroups = new SectionGroupCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseNotebookCopyNotebookBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseNotebookCopyNotebookBody.java deleted file mode 100644 index 1bbb91cad17..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseNotebookCopyNotebookBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Copy Notebook Body. - */ -public class BaseNotebookCopyNotebookBody { - - /** - * The group Id. - * - */ - @SerializedName("groupId") - @Expose - public String groupId; - - /** - * The rename As. - * - */ - @SerializedName("renameAs") - @Expose - public String renameAs; - - /** - * The notebook Folder. - * - */ - @SerializedName("notebookFolder") - @Expose - public String notebookFolder; - - /** - * The site Collection Id. - * - */ - @SerializedName("siteCollectionId") - @Expose - public String siteCollectionId; - - /** - * The site Id. - * - */ - @SerializedName("siteId") - @Expose - public String siteId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseNotebookLinks.java b/src/main/java/com/microsoft/graph/models/generated/BaseNotebookLinks.java deleted file mode 100644 index 6e2a52b91e2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseNotebookLinks.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ExternalLink; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Links. - */ -public class BaseNotebookLinks implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The One Note Client Url. - * Opens the notebook in the OneNote native client if it's installed. - */ - @SerializedName("oneNoteClientUrl") - @Expose - public ExternalLink oneNoteClientUrl; - - /** - * The One Note Web Url. - * Opens the notebook in OneNote Online. - */ - @SerializedName("oneNoteWebUrl") - @Expose - public ExternalLink oneNoteWebUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseNotificationMessageTemplate.java b/src/main/java/com/microsoft/graph/models/generated/BaseNotificationMessageTemplate.java deleted file mode 100644 index dd195f4927c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseNotificationMessageTemplate.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.NotificationTemplateBrandingOptions; -import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageCollectionResponse; -import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template. - */ -public class BaseNotificationMessageTemplate extends Entity implements IJsonBackedObject { - - - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Display Name. - * Display name for the Notification Message Template. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Default Locale. - * The default locale to fallback onto when the requested locale is not available. - */ - @SerializedName("defaultLocale") - @Expose - public String defaultLocale; - - /** - * The Branding Options. - * The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation. - */ - @SerializedName("brandingOptions") - @Expose - public EnumSet brandingOptions; - - /** - * The Localized Notification Messages. - * The list of localized messages for this Notification Message Template. - */ - public LocalizedNotificationMessageCollectionPage localizedNotificationMessages; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("localizedNotificationMessages")) { - final BaseLocalizedNotificationMessageCollectionResponse response = new BaseLocalizedNotificationMessageCollectionResponse(); - if (json.has("localizedNotificationMessages@odata.nextLink")) { - response.nextLink = json.get("localizedNotificationMessages@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("localizedNotificationMessages").toString(), JsonObject[].class); - final LocalizedNotificationMessage[] array = new LocalizedNotificationMessage[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), LocalizedNotificationMessage.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - localizedNotificationMessages = new LocalizedNotificationMessageCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseNumberColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseNumberColumn.java deleted file mode 100644 index b82499b3f57..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseNumberColumn.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Number Column. - */ -public class BaseNumberColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Decimal Places. - * How many decimal places to display. See below for information about the possible values. - */ - @SerializedName("decimalPlaces") - @Expose - public String decimalPlaces; - - /** - * The Display As. - * How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. - */ - @SerializedName("displayAs") - @Expose - public String displayAs; - - /** - * The Maximum. - * The maximum permitted value. - */ - @SerializedName("maximum") - @Expose - public Double maximum; - - /** - * The Minimum. - * The minimum permitted value. - */ - @SerializedName("minimum") - @Expose - public Double minimum; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOfficeGraphInsights.java b/src/main/java/com/microsoft/graph/models/generated/BaseOfficeGraphInsights.java deleted file mode 100644 index b3b704cee83..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOfficeGraphInsights.java +++ /dev/null @@ -1,145 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Trending; -import com.microsoft.graph.models.extensions.SharedInsight; -import com.microsoft.graph.models.extensions.UsedInsight; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseTrendingCollectionResponse; -import com.microsoft.graph.requests.extensions.TrendingCollectionPage; -import com.microsoft.graph.requests.generated.BaseSharedInsightCollectionResponse; -import com.microsoft.graph.requests.extensions.SharedInsightCollectionPage; -import com.microsoft.graph.requests.generated.BaseUsedInsightCollectionResponse; -import com.microsoft.graph.requests.extensions.UsedInsightCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Office Graph Insights. - */ -public class BaseOfficeGraphInsights extends Entity implements IJsonBackedObject { - - - /** - * The Trending. - * - */ - public TrendingCollectionPage trending; - - /** - * The Shared. - * - */ - public SharedInsightCollectionPage shared; - - /** - * The Used. - * - */ - public UsedInsightCollectionPage used; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("trending")) { - final BaseTrendingCollectionResponse response = new BaseTrendingCollectionResponse(); - if (json.has("trending@odata.nextLink")) { - response.nextLink = json.get("trending@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("trending").toString(), JsonObject[].class); - final Trending[] array = new Trending[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Trending.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - trending = new TrendingCollectionPage(response, null); - } - - if (json.has("shared")) { - final BaseSharedInsightCollectionResponse response = new BaseSharedInsightCollectionResponse(); - if (json.has("shared@odata.nextLink")) { - response.nextLink = json.get("shared@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("shared").toString(), JsonObject[].class); - final SharedInsight[] array = new SharedInsight[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SharedInsight.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - shared = new SharedInsightCollectionPage(response, null); - } - - if (json.has("used")) { - final BaseUsedInsightCollectionResponse response = new BaseUsedInsightCollectionResponse(); - if (json.has("used@odata.nextLink")) { - response.nextLink = json.get("used@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("used").toString(), JsonObject[].class); - final UsedInsight[] array = new UsedInsight[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UsedInsight.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - used = new UsedInsightCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSetting.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSetting.java deleted file mode 100644 index 029d2ab7b0c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSetting.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting. - */ -public class BaseOmaSetting implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Display Name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Oma Uri. - * OMA. - */ - @SerializedName("omaUri") - @Expose - public String omaUri; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBase64.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBase64.java deleted file mode 100644 index bd65e905f25..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBase64.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting Base64. - */ -public class BaseOmaSettingBase64 extends OmaSetting implements IJsonBackedObject { - - - /** - * The File Name. - * File name associated with the Value property (.cer - */ - @SerializedName("fileName") - @Expose - public String fileName; - - /** - * The Value. - * Value. (Base64 encoded string) - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBoolean.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBoolean.java deleted file mode 100644 index 6973f3514c2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingBoolean.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting Boolean. - */ -public class BaseOmaSettingBoolean extends OmaSetting implements IJsonBackedObject { - - - /** - * The Value. - * Value. - */ - @SerializedName("value") - @Expose - public Boolean value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingDateTime.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingDateTime.java deleted file mode 100644 index ce7258ebd43..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingDateTime.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting Date Time. - */ -public class BaseOmaSettingDateTime extends OmaSetting implements IJsonBackedObject { - - - /** - * The Value. - * Value. - */ - @SerializedName("value") - @Expose - public java.util.Calendar value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingFloatingPoint.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingFloatingPoint.java deleted file mode 100644 index 3b4dbcbd08c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingFloatingPoint.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting Floating Point. - */ -public class BaseOmaSettingFloatingPoint extends OmaSetting implements IJsonBackedObject { - - - /** - * The Value. - * Value. - */ - @SerializedName("value") - @Expose - public float value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingInteger.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingInteger.java deleted file mode 100644 index a9d334bbb70..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingInteger.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting Integer. - */ -public class BaseOmaSettingInteger extends OmaSetting implements IJsonBackedObject { - - - /** - * The Value. - * Value. - */ - @SerializedName("value") - @Expose - public Integer value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingString.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingString.java deleted file mode 100644 index 7b84d7820ae..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingString.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting String. - */ -public class BaseOmaSettingString extends OmaSetting implements IJsonBackedObject { - - - /** - * The Value. - * Value. - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingStringXml.java b/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingStringXml.java deleted file mode 100644 index 2c3f3862454..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOmaSettingStringXml.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Oma Setting String Xml. - */ -public class BaseOmaSettingStringXml extends OmaSetting implements IJsonBackedObject { - - - /** - * The File Name. - * File name associated with the Value property (.xml). - */ - @SerializedName("fileName") - @Expose - public String fileName; - - /** - * The Value. - * Value. (UTF8 encoded byte array) - */ - @SerializedName("value") - @Expose - public byte[] value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesConditionalAccessSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesConditionalAccessSettings.java deleted file mode 100644 index 51ca02957be..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesConditionalAccessSettings.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base On Premises Conditional Access Settings. - */ -public class BaseOnPremisesConditionalAccessSettings extends Entity implements IJsonBackedObject { - - - /** - * The Enabled. - * Indicates if on premises conditional access is enabled for this organization - */ - @SerializedName("enabled") - @Expose - public Boolean enabled; - - /** - * The Included Groups. - * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. - */ - @SerializedName("includedGroups") - @Expose - public java.util.List includedGroups; - - /** - * The Excluded Groups. - * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. - */ - @SerializedName("excludedGroups") - @Expose - public java.util.List excludedGroups; - - /** - * The Override Default Rule. - * Override the default access rule when allowing a device to ensure access is granted. - */ - @SerializedName("overrideDefaultRule") - @Expose - public Boolean overrideDefaultRule; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesExtensionAttributes.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesExtensionAttributes.java deleted file mode 100644 index b3dd31b101c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesExtensionAttributes.java +++ /dev/null @@ -1,199 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base On Premises Extension Attributes. - */ -public class BaseOnPremisesExtensionAttributes implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Extension Attribute1. - * First customizable extension attribute. - */ - @SerializedName("extensionAttribute1") - @Expose - public String extensionAttribute1; - - /** - * The Extension Attribute2. - * Second customizable extension attribute. - */ - @SerializedName("extensionAttribute2") - @Expose - public String extensionAttribute2; - - /** - * The Extension Attribute3. - * Third customizable extension attribute. - */ - @SerializedName("extensionAttribute3") - @Expose - public String extensionAttribute3; - - /** - * The Extension Attribute4. - * Fourth customizable extension attribute. - */ - @SerializedName("extensionAttribute4") - @Expose - public String extensionAttribute4; - - /** - * The Extension Attribute5. - * Fifth customizable extension attribute. - */ - @SerializedName("extensionAttribute5") - @Expose - public String extensionAttribute5; - - /** - * The Extension Attribute6. - * Sixth customizable extension attribute. - */ - @SerializedName("extensionAttribute6") - @Expose - public String extensionAttribute6; - - /** - * The Extension Attribute7. - * Seventh customizable extension attribute. - */ - @SerializedName("extensionAttribute7") - @Expose - public String extensionAttribute7; - - /** - * The Extension Attribute8. - * Eighth customizable extension attribute. - */ - @SerializedName("extensionAttribute8") - @Expose - public String extensionAttribute8; - - /** - * The Extension Attribute9. - * Ninth customizable extension attribute. - */ - @SerializedName("extensionAttribute9") - @Expose - public String extensionAttribute9; - - /** - * The Extension Attribute10. - * Tenth customizable extension attribute. - */ - @SerializedName("extensionAttribute10") - @Expose - public String extensionAttribute10; - - /** - * The Extension Attribute11. - * Eleventh customizable extension attribute. - */ - @SerializedName("extensionAttribute11") - @Expose - public String extensionAttribute11; - - /** - * The Extension Attribute12. - * Twelfth customizable extension attribute. - */ - @SerializedName("extensionAttribute12") - @Expose - public String extensionAttribute12; - - /** - * The Extension Attribute13. - * Thirteenth customizable extension attribute. - */ - @SerializedName("extensionAttribute13") - @Expose - public String extensionAttribute13; - - /** - * The Extension Attribute14. - * Fourteenth customizable extension attribute. - */ - @SerializedName("extensionAttribute14") - @Expose - public String extensionAttribute14; - - /** - * The Extension Attribute15. - * Fifteenth customizable extension attribute. - */ - @SerializedName("extensionAttribute15") - @Expose - public String extensionAttribute15; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesProvisioningError.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesProvisioningError.java deleted file mode 100644 index 752eb7ff03d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnPremisesProvisioningError.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base On Premises Provisioning Error. - */ -public class BaseOnPremisesProvisioningError implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Value. - * Value of the property causing the error. - */ - @SerializedName("value") - @Expose - public String value; - - /** - * The Category. - * Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property. - */ - @SerializedName("category") - @Expose - public String category; - - /** - * The Property Causing Error. - * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress - */ - @SerializedName("propertyCausingError") - @Expose - public String propertyCausingError; - - /** - * The Occurred Date Time. - * The date and time at which the error occurred. - */ - @SerializedName("occurredDateTime") - @Expose - public java.util.Calendar occurredDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenote.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenote.java deleted file mode 100644 index 6e4c3146451..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenote.java +++ /dev/null @@ -1,220 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.models.extensions.OnenotePage; -import com.microsoft.graph.models.extensions.OnenoteResource; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseNotebookCollectionResponse; -import com.microsoft.graph.requests.extensions.NotebookCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenotePageCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenotePageCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote. - */ -public class BaseOnenote extends Entity implements IJsonBackedObject { - - - /** - * The Notebooks. - * The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. - */ - public NotebookCollectionPage notebooks; - - /** - * The Sections. - * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. - */ - public OnenoteSectionCollectionPage sections; - - /** - * The Section Groups. - * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. - */ - public SectionGroupCollectionPage sectionGroups; - - /** - * The Pages. - * The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. - */ - public OnenotePageCollectionPage pages; - - /** - * The Resources. - * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. - */ - public OnenoteResourceCollectionPage resources; - - /** - * The Operations. - * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. - */ - public OnenoteOperationCollectionPage operations; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("notebooks")) { - final BaseNotebookCollectionResponse response = new BaseNotebookCollectionResponse(); - if (json.has("notebooks@odata.nextLink")) { - response.nextLink = json.get("notebooks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("notebooks").toString(), JsonObject[].class); - final Notebook[] array = new Notebook[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Notebook.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - notebooks = new NotebookCollectionPage(response, null); - } - - if (json.has("sections")) { - final BaseOnenoteSectionCollectionResponse response = new BaseOnenoteSectionCollectionResponse(); - if (json.has("sections@odata.nextLink")) { - response.nextLink = json.get("sections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); - final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sections = new OnenoteSectionCollectionPage(response, null); - } - - if (json.has("sectionGroups")) { - final BaseSectionGroupCollectionResponse response = new BaseSectionGroupCollectionResponse(); - if (json.has("sectionGroups@odata.nextLink")) { - response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); - final SectionGroup[] array = new SectionGroup[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sectionGroups = new SectionGroupCollectionPage(response, null); - } - - if (json.has("pages")) { - final BaseOnenotePageCollectionResponse response = new BaseOnenotePageCollectionResponse(); - if (json.has("pages@odata.nextLink")) { - response.nextLink = json.get("pages@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pages").toString(), JsonObject[].class); - final OnenotePage[] array = new OnenotePage[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenotePage.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - pages = new OnenotePageCollectionPage(response, null); - } - - if (json.has("resources")) { - final BaseOnenoteResourceCollectionResponse response = new BaseOnenoteResourceCollectionResponse(); - if (json.has("resources@odata.nextLink")) { - response.nextLink = json.get("resources@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("resources").toString(), JsonObject[].class); - final OnenoteResource[] array = new OnenoteResource[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteResource.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - resources = new OnenoteResourceCollectionPage(response, null); - } - - if (json.has("operations")) { - final BaseOnenoteOperationCollectionResponse response = new BaseOnenoteOperationCollectionResponse(); - if (json.has("operations@odata.nextLink")) { - response.nextLink = json.get("operations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); - final OnenoteOperation[] array = new OnenoteOperation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteOperation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - operations = new OnenoteOperationCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityBaseModel.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityBaseModel.java deleted file mode 100644 index dddf0fe1e84..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityBaseModel.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Base Model. - */ -public class BaseOnenoteEntityBaseModel extends Entity implements IJsonBackedObject { - - - /** - * The Self. - * The endpoint where you can get details about the page. Read-only. - */ - @SerializedName("self") - @Expose - public String self; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityHierarchyModel.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityHierarchyModel.java deleted file mode 100644 index 7ed52d9b5ea..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntityHierarchyModel.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Hierarchy Model. - */ -public class BaseOnenoteEntityHierarchyModel extends OnenoteEntitySchemaObjectModel implements IJsonBackedObject { - - - /** - * The Display Name. - * The name of the notebook. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Created By. - * Identity of the user, device, and application which created the item. Read-only. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Last Modified By. - * Identity of the user, device, and application which created the item. Read-only. - */ - @SerializedName("lastModifiedBy") - @Expose - public IdentitySet lastModifiedBy; - - /** - * The Last Modified Date Time. - * The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntitySchemaObjectModel.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntitySchemaObjectModel.java deleted file mode 100644 index 1bee18ce5c8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteEntitySchemaObjectModel.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Schema Object Model. - */ -public class BaseOnenoteEntitySchemaObjectModel extends OnenoteEntityBaseModel implements IJsonBackedObject { - - - /** - * The Created Date Time. - * The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperation.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperation.java deleted file mode 100644 index cf639ae8510..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperation.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OnenoteOperationError; -import com.microsoft.graph.models.extensions.Operation; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation. - */ -public class BaseOnenoteOperation extends Operation implements IJsonBackedObject { - - - /** - * The Resource Location. - * The resource URI for the object. For example, the resource URI for a copied page or section. - */ - @SerializedName("resourceLocation") - @Expose - public String resourceLocation; - - /** - * The Resource Id. - * The resource id. - */ - @SerializedName("resourceId") - @Expose - public String resourceId; - - /** - * The Error. - * The error returned by the operation. - */ - @SerializedName("error") - @Expose - public OnenoteOperationError error; - - /** - * The Percent Complete. - * The operation percent complete if the operation is still in running status - */ - @SerializedName("percentComplete") - @Expose - public String percentComplete; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperationError.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperationError.java deleted file mode 100644 index 9f90bd9ee45..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteOperationError.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Error. - */ -public class BaseOnenoteOperationError implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Code. - * The error code. - */ - @SerializedName("code") - @Expose - public String code; - - /** - * The Message. - * The error message. - */ - @SerializedName("message") - @Expose - public String message; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePage.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePage.java deleted file mode 100644 index fd613097353..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePage.java +++ /dev/null @@ -1,153 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PageLinks; -import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page. - */ -public class BaseOnenotePage extends OnenoteEntitySchemaObjectModel implements IJsonBackedObject { - - - /** - * The Title. - * The title of the page. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Created By App Id. - * The unique identifier of the application that created the page. Read-only. - */ - @SerializedName("createdByAppId") - @Expose - public String createdByAppId; - - /** - * The Links. - * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote Online. Read-only. - */ - @SerializedName("links") - @Expose - public PageLinks links; - - /** - * The Content Url. - * The URL for the page's HTML content. Read-only. - */ - @SerializedName("contentUrl") - @Expose - public String contentUrl; - - /** - * The Last Modified Date Time. - * The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Level. - * The indentation level of the page. Read-only. - */ - @SerializedName("level") - @Expose - public Integer level; - - /** - * The Order. - * The order of the page within its parent section. Read-only. - */ - @SerializedName("order") - @Expose - public Integer order; - - /** - * The User Tags. - * - */ - @SerializedName("userTags") - @Expose - public java.util.List userTags; - - /** - * The Parent Section. - * The section that contains the page. Read-only. - */ - @SerializedName("parentSection") - @Expose - public OnenoteSection parentSection; - - /** - * The Parent Notebook. - * The notebook that contains the page. Read-only. - */ - @SerializedName("parentNotebook") - @Expose - public Notebook parentNotebook; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageCopyToSectionBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageCopyToSectionBody.java deleted file mode 100644 index e6600d5575a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageCopyToSectionBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Copy To Section Body. - */ -public class BaseOnenotePageCopyToSectionBody { - - /** - * The id. - * - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The group Id. - * - */ - @SerializedName("groupId") - @Expose - public String groupId; - - /** - * The site Collection Id. - * - */ - @SerializedName("siteCollectionId") - @Expose - public String siteCollectionId; - - /** - * The site Id. - * - */ - @SerializedName("siteId") - @Expose - public String siteId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageOnenotePatchContentBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageOnenotePatchContentBody.java deleted file mode 100644 index 636819f2a65..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePageOnenotePatchContentBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Onenote Patch Content Body. - */ -public class BaseOnenotePageOnenotePatchContentBody { - - /** - * The commands. - * - */ - @SerializedName("commands") - @Expose - public java.util.List commands; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreview.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreview.java deleted file mode 100644 index 2cdf822374f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreview.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OnenotePagePreviewLinks; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Preview. - */ -public class BaseOnenotePagePreview implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Preview Text. - * - */ - @SerializedName("previewText") - @Expose - public String previewText; - - /** - * The Links. - * - */ - @SerializedName("links") - @Expose - public OnenotePagePreviewLinks links; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreviewLinks.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreviewLinks.java deleted file mode 100644 index 1bd98de7c02..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePagePreviewLinks.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ExternalLink; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Preview Links. - */ -public class BaseOnenotePagePreviewLinks implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Preview Image Url. - * - */ - @SerializedName("previewImageUrl") - @Expose - public ExternalLink previewImageUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePatchContentCommand.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePatchContentCommand.java deleted file mode 100644 index 265d9723cf6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenotePatchContentCommand.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.OnenotePatchActionType; -import com.microsoft.graph.models.generated.OnenotePatchInsertPosition; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Patch Content Command. - */ -public class BaseOnenotePatchContentCommand implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Action. - * The action to perform on the target element. The possible values are: replace, append, delete, insert, or prepend. - */ - @SerializedName("action") - @Expose - public OnenotePatchActionType action; - - /** - * The Target. - * The element to update. Must be the #&lt;data-id&gt; or the generated &lt;id&gt; of the element, or the body or title keyword. - */ - @SerializedName("target") - @Expose - public String target; - - /** - * The Content. - * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. - */ - @SerializedName("content") - @Expose - public String content; - - /** - * The Position. - * The location to add the supplied content, relative to the target element. The possible values are: after (default) or before. - */ - @SerializedName("position") - @Expose - public OnenotePatchInsertPosition position; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteResource.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteResource.java deleted file mode 100644 index 53118acb691..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteResource.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource. - */ -public class BaseOnenoteResource extends OnenoteEntityBaseModel implements IJsonBackedObject { - - - /** - * The Content Url. - * The URL for downloading the content - */ - @SerializedName("contentUrl") - @Expose - public String contentUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSection.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSection.java deleted file mode 100644 index 4ad51057420..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSection.java +++ /dev/null @@ -1,138 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SectionLinks; -import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.models.extensions.OnenotePage; -import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; -import com.microsoft.graph.requests.generated.BaseOnenotePageCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenotePageCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section. - */ -public class BaseOnenoteSection extends OnenoteEntityHierarchyModel implements IJsonBackedObject { - - - /** - * The Is Default. - * Indicates whether this is the user's default section. Read-only. - */ - @SerializedName("isDefault") - @Expose - public Boolean isDefault; - - /** - * The Links. - * Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote Online. - */ - @SerializedName("links") - @Expose - public SectionLinks links; - - /** - * The Pages Url. - * The pages endpoint where you can get details for all the pages in the section. Read-only. - */ - @SerializedName("pagesUrl") - @Expose - public String pagesUrl; - - /** - * The Parent Notebook. - * The notebook that contains the section. Read-only. - */ - @SerializedName("parentNotebook") - @Expose - public Notebook parentNotebook; - - /** - * The Parent Section Group. - * The section group that contains the section. Read-only. - */ - @SerializedName("parentSectionGroup") - @Expose - public SectionGroup parentSectionGroup; - - /** - * The Pages. - * The collection of pages in the section. Read-only. Nullable. - */ - public OnenotePageCollectionPage pages; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("pages")) { - final BaseOnenotePageCollectionResponse response = new BaseOnenotePageCollectionResponse(); - if (json.has("pages@odata.nextLink")) { - response.nextLink = json.get("pages@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pages").toString(), JsonObject[].class); - final OnenotePage[] array = new OnenotePage[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenotePage.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - pages = new OnenotePageCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToNotebookBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToNotebookBody.java deleted file mode 100644 index ed582e14d0c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToNotebookBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Copy To Notebook Body. - */ -public class BaseOnenoteSectionCopyToNotebookBody { - - /** - * The id. - * - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The group Id. - * - */ - @SerializedName("groupId") - @Expose - public String groupId; - - /** - * The rename As. - * - */ - @SerializedName("renameAs") - @Expose - public String renameAs; - - /** - * The site Collection Id. - * - */ - @SerializedName("siteCollectionId") - @Expose - public String siteCollectionId; - - /** - * The site Id. - * - */ - @SerializedName("siteId") - @Expose - public String siteId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToSectionGroupBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToSectionGroupBody.java deleted file mode 100644 index 3a7ba52b265..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOnenoteSectionCopyToSectionGroupBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Copy To Section Group Body. - */ -public class BaseOnenoteSectionCopyToSectionGroupBody { - - /** - * The id. - * - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The group Id. - * - */ - @SerializedName("groupId") - @Expose - public String groupId; - - /** - * The rename As. - * - */ - @SerializedName("renameAs") - @Expose - public String renameAs; - - /** - * The site Collection Id. - * - */ - @SerializedName("siteCollectionId") - @Expose - public String siteCollectionId; - - /** - * The site Id. - * - */ - @SerializedName("siteId") - @Expose - public String siteId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOpenTypeExtension.java b/src/main/java/com/microsoft/graph/models/generated/BaseOpenTypeExtension.java deleted file mode 100644 index 71d914fdfb2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOpenTypeExtension.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Extension; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Open Type Extension. - */ -public class BaseOpenTypeExtension extends Extension implements IJsonBackedObject { - - - /** - * The Extension Name. - * A unique text identifier for an open type open extension. Required. - */ - @SerializedName("extensionName") - @Expose - public String extensionName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOperation.java b/src/main/java/com/microsoft/graph/models/generated/BaseOperation.java deleted file mode 100644 index cffded8e55d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOperation.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.OperationStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Operation. - */ -public class BaseOperation extends Entity implements IJsonBackedObject { - - - /** - * The Status. - * The current status of the operation: notStarted, running, completed, failed - */ - @SerializedName("status") - @Expose - public OperationStatus status; - - /** - * The Created Date Time. - * The start time of the operation. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Action Date Time. - * The time of the last action of the operation. - */ - @SerializedName("lastActionDateTime") - @Expose - public java.util.Calendar lastActionDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOperationError.java b/src/main/java/com/microsoft/graph/models/generated/BaseOperationError.java deleted file mode 100644 index cd61725d682..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOperationError.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Operation Error. - */ -public class BaseOperationError implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Code. - * Operation error code. - */ - @SerializedName("code") - @Expose - public String code; - - /** - * The Message. - * Operation error message. - */ - @SerializedName("message") - @Expose - public String message; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOrganization.java b/src/main/java/com/microsoft/graph/models/generated/BaseOrganization.java deleted file mode 100644 index bce2f5ca68c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOrganization.java +++ /dev/null @@ -1,260 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AssignedPlan; -import com.microsoft.graph.models.extensions.PrivacyProfile; -import com.microsoft.graph.models.extensions.ProvisionedPlan; -import com.microsoft.graph.models.extensions.VerifiedDomain; -import com.microsoft.graph.models.generated.MdmAuthority; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization. - */ -public class BaseOrganization extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Assigned Plans. - * The collection of service plans associated with the tenant. Not nullable. - */ - @SerializedName("assignedPlans") - @Expose - public java.util.List assignedPlans; - - /** - * The Business Phones. - * - */ - @SerializedName("businessPhones") - @Expose - public java.util.List businessPhones; - - /** - * The City. - * City name of the address for the organization - */ - @SerializedName("city") - @Expose - public String city; - - /** - * The Country. - * Country/region name of the address for the organization - */ - @SerializedName("country") - @Expose - public String country; - - /** - * The Country Letter Code. - * Country/region abbreviation for the organization - */ - @SerializedName("countryLetterCode") - @Expose - public String countryLetterCode; - - /** - * The Display Name. - * The display name for the tenant. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Marketing Notification Emails. - * Not nullable. - */ - @SerializedName("marketingNotificationEmails") - @Expose - public java.util.List marketingNotificationEmails; - - /** - * The On Premises Last Sync Date Time. - * - */ - @SerializedName("onPremisesLastSyncDateTime") - @Expose - public java.util.Calendar onPremisesLastSyncDateTime; - - /** - * The On Premises Sync Enabled. - * - */ - @SerializedName("onPremisesSyncEnabled") - @Expose - public Boolean onPremisesSyncEnabled; - - /** - * The Postal Code. - * Postal code of the address for the organization - */ - @SerializedName("postalCode") - @Expose - public String postalCode; - - /** - * The Preferred Language. - * The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'. - */ - @SerializedName("preferredLanguage") - @Expose - public String preferredLanguage; - - /** - * The Privacy Profile. - * The privacy profile of an organization. - */ - @SerializedName("privacyProfile") - @Expose - public PrivacyProfile privacyProfile; - - /** - * The Provisioned Plans. - * Not nullable. - */ - @SerializedName("provisionedPlans") - @Expose - public java.util.List provisionedPlans; - - /** - * The Security Compliance Notification Mails. - * - */ - @SerializedName("securityComplianceNotificationMails") - @Expose - public java.util.List securityComplianceNotificationMails; - - /** - * The Security Compliance Notification Phones. - * - */ - @SerializedName("securityComplianceNotificationPhones") - @Expose - public java.util.List securityComplianceNotificationPhones; - - /** - * The State. - * State name of the address for the organization - */ - @SerializedName("state") - @Expose - public String state; - - /** - * The Street. - * Street name of the address for organization - */ - @SerializedName("street") - @Expose - public String street; - - /** - * The Technical Notification Mails. - * Not nullable. - */ - @SerializedName("technicalNotificationMails") - @Expose - public java.util.List technicalNotificationMails; - - /** - * The Verified Domains. - * The collection of domains associated with this tenant. Not nullable. - */ - @SerializedName("verifiedDomains") - @Expose - public java.util.List verifiedDomains; - - /** - * The Mobile Device Management Authority. - * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. - */ - @SerializedName("mobileDeviceManagementAuthority") - @Expose - public MdmAuthority mobileDeviceManagementAuthority; - - /** - * The Extensions. - * The collection of open extensions defined for the organization. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookCategory.java b/src/main/java/com/microsoft/graph/models/generated/BaseOutlookCategory.java deleted file mode 100644 index fbe2cb1beb1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookCategory.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.CategoryColor; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category. - */ -public class BaseOutlookCategory extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Color. - * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. - */ - @SerializedName("color") - @Expose - public CategoryColor color; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookGeoCoordinates.java b/src/main/java/com/microsoft/graph/models/generated/BaseOutlookGeoCoordinates.java deleted file mode 100644 index bd7d4cf597a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookGeoCoordinates.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Geo Coordinates. - */ -public class BaseOutlookGeoCoordinates implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Altitude. - * The altitude of the location. - */ - @SerializedName("altitude") - @Expose - public Double altitude; - - /** - * The Latitude. - * The latitude of the location. - */ - @SerializedName("latitude") - @Expose - public Double latitude; - - /** - * The Longitude. - * The longitude of the location. - */ - @SerializedName("longitude") - @Expose - public Double longitude; - - /** - * The Accuracy. - * The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. - */ - @SerializedName("accuracy") - @Expose - public Double accuracy; - - /** - * The Altitude Accuracy. - * The accuracy of the altitude. - */ - @SerializedName("altitudeAccuracy") - @Expose - public Double altitudeAccuracy; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseOutlookItem.java deleted file mode 100644 index 638962271a6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookItem.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Item. - */ -public class BaseOutlookItem extends Entity implements IJsonBackedObject { - - - /** - * The Created Date Time. - * 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Change Key. - * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. - */ - @SerializedName("changeKey") - @Expose - public String changeKey; - - /** - * The Categories. - * The categories associated with the item - */ - @SerializedName("categories") - @Expose - public java.util.List categories; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookUser.java b/src/main/java/com/microsoft/graph/models/generated/BaseOutlookUser.java deleted file mode 100644 index cdec0bad3bd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseOutlookUser.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OutlookCategory; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User. - */ -public class BaseOutlookUser extends Entity implements IJsonBackedObject { - - - /** - * The Master Categories. - * A list of categories defined for the user. - */ - public OutlookCategoryCollectionPage masterCategories; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("masterCategories")) { - final BaseOutlookCategoryCollectionResponse response = new BaseOutlookCategoryCollectionResponse(); - if (json.has("masterCategories@odata.nextLink")) { - response.nextLink = json.get("masterCategories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("masterCategories").toString(), JsonObject[].class); - final OutlookCategory[] array = new OutlookCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OutlookCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - masterCategories = new OutlookCategoryCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePackage.java b/src/main/java/com/microsoft/graph/models/generated/BasePackage.java deleted file mode 100644 index 79c3fdba10e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePackage.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Package. - */ -public class BasePackage implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. - */ - @SerializedName("type") - @Expose - public String type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePageLinks.java b/src/main/java/com/microsoft/graph/models/generated/BasePageLinks.java deleted file mode 100644 index 47aca5e05c5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePageLinks.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ExternalLink; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Page Links. - */ -public class BasePageLinks implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The One Note Client Url. - * Opens the page in the OneNote native client if it's installed. - */ - @SerializedName("oneNoteClientUrl") - @Expose - public ExternalLink oneNoteClientUrl; - - /** - * The One Note Web Url. - * Opens the page in OneNote Online. - */ - @SerializedName("oneNoteWebUrl") - @Expose - public ExternalLink oneNoteWebUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePasswordProfile.java b/src/main/java/com/microsoft/graph/models/generated/BasePasswordProfile.java deleted file mode 100644 index 8dd40e9f248..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePasswordProfile.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Password Profile. - */ -public class BasePasswordProfile implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Password. - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. - */ - @SerializedName("password") - @Expose - public String password; - - /** - * The Force Change Password Next Sign In. - * true if the user must change her password on the next login; otherwise false. - */ - @SerializedName("forceChangePasswordNextSignIn") - @Expose - public Boolean forceChangePasswordNextSignIn; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePatternedRecurrence.java b/src/main/java/com/microsoft/graph/models/generated/BasePatternedRecurrence.java deleted file mode 100644 index b72ee9b3399..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePatternedRecurrence.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RecurrencePattern; -import com.microsoft.graph.models.extensions.RecurrenceRange; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Patterned Recurrence. - */ -public class BasePatternedRecurrence implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Pattern. - * The frequency of an event. - */ - @SerializedName("pattern") - @Expose - public RecurrencePattern pattern; - - /** - * The Range. - * The duration of an event. - */ - @SerializedName("range") - @Expose - public RecurrenceRange range; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePermission.java b/src/main/java/com/microsoft/graph/models/generated/BasePermission.java deleted file mode 100644 index b1a98eacb9a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePermission.java +++ /dev/null @@ -1,122 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.ItemReference; -import com.microsoft.graph.models.extensions.SharingInvitation; -import com.microsoft.graph.models.extensions.SharingLink; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission. - */ -public class BasePermission extends Entity implements IJsonBackedObject { - - - /** - * The Granted To. - * For user type permissions, the details of the users & applications for this permission. Read-only. - */ - @SerializedName("grantedTo") - @Expose - public IdentitySet grantedTo; - - /** - * The Inherited From. - * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. - */ - @SerializedName("inheritedFrom") - @Expose - public ItemReference inheritedFrom; - - /** - * The Invitation. - * Details of any associated sharing invitation for this permission. Read-only. - */ - @SerializedName("invitation") - @Expose - public SharingInvitation invitation; - - /** - * The Link. - * Provides the link details of the current permission, if it is a link type permissions. Read-only. - */ - @SerializedName("link") - @Expose - public SharingLink link; - - /** - * The Roles. - * The type of permission, e.g. read. See below for the full list of roles. Read-only. - */ - @SerializedName("roles") - @Expose - public java.util.List roles; - - /** - * The Share Id. - * A unique token that can be used to access this shared item via the **shares** API. Read-only. - */ - @SerializedName("shareId") - @Expose - public String shareId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePerson.java b/src/main/java/com/microsoft/graph/models/generated/BasePerson.java deleted file mode 100644 index 2ff21e36ec6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePerson.java +++ /dev/null @@ -1,227 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ScoredEmailAddress; -import com.microsoft.graph.models.extensions.Phone; -import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.extensions.Website; -import com.microsoft.graph.models.extensions.PersonType; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person. - */ -public class BasePerson extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The person's display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Given Name. - * The person's given name. - */ - @SerializedName("givenName") - @Expose - public String givenName; - - /** - * The Surname. - * The person's surname. - */ - @SerializedName("surname") - @Expose - public String surname; - - /** - * The Birthday. - * The person's birthday. - */ - @SerializedName("birthday") - @Expose - public String birthday; - - /** - * The Person Notes. - * Free-form notes that the user has taken about this person. - */ - @SerializedName("personNotes") - @Expose - public String personNotes; - - /** - * The Is Favorite. - * true if the user has flagged this person as a favorite. - */ - @SerializedName("isFavorite") - @Expose - public Boolean isFavorite; - - /** - * The Scored Email Addresses. - * The person's email addresses. - */ - @SerializedName("scoredEmailAddresses") - @Expose - public java.util.List scoredEmailAddresses; - - /** - * The Phones. - * The person's phone numbers. - */ - @SerializedName("phones") - @Expose - public java.util.List phones; - - /** - * The Postal Addresses. - * The person's addresses. - */ - @SerializedName("postalAddresses") - @Expose - public java.util.List postalAddresses; - - /** - * The Websites. - * The person's websites. - */ - @SerializedName("websites") - @Expose - public java.util.List websites; - - /** - * The Job Title. - * The person's job title. - */ - @SerializedName("jobTitle") - @Expose - public String jobTitle; - - /** - * The Company Name. - * The name of the person's company. - */ - @SerializedName("companyName") - @Expose - public String companyName; - - /** - * The Yomi Company. - * The phonetic Japanese name of the person's company. - */ - @SerializedName("yomiCompany") - @Expose - public String yomiCompany; - - /** - * The Department. - * The person's department. - */ - @SerializedName("department") - @Expose - public String department; - - /** - * The Office Location. - * The location of the person's office. - */ - @SerializedName("officeLocation") - @Expose - public String officeLocation; - - /** - * The Profession. - * The person's profession. - */ - @SerializedName("profession") - @Expose - public String profession; - - /** - * The Person Type. - * The type of person. - */ - @SerializedName("personType") - @Expose - public PersonType personType; - - /** - * The User Principal Name. - * The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Im Address. - * The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only. - */ - @SerializedName("imAddress") - @Expose - public String imAddress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePersonOrGroupColumn.java b/src/main/java/com/microsoft/graph/models/generated/BasePersonOrGroupColumn.java deleted file mode 100644 index 0fa7844152f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePersonOrGroupColumn.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Or Group Column. - */ -public class BasePersonOrGroupColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Multiple Selection. - * Indicates whether multiple values can be selected from the source. - */ - @SerializedName("allowMultipleSelection") - @Expose - public Boolean allowMultipleSelection; - - /** - * The Choose From Type. - * Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly. - */ - @SerializedName("chooseFromType") - @Expose - public String chooseFromType; - - /** - * The Display As. - * How to display the information about the person or group chosen. See below. - */ - @SerializedName("displayAs") - @Expose - public String displayAs; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePersonType.java b/src/main/java/com/microsoft/graph/models/generated/BasePersonType.java deleted file mode 100644 index 1c5149cfe3c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePersonType.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Type. - */ -public class BasePersonType implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Class. - * The type of data source, such as Person. - */ - @SerializedName("class") - @Expose - public String msgraphclass; - - /** - * The Subclass. - * The secondary type of data source, such as OrganizationUser. - */ - @SerializedName("subclass") - @Expose - public String subclass; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePhone.java b/src/main/java/com/microsoft/graph/models/generated/BasePhone.java deleted file mode 100644 index 191d488c02f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePhone.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.PhoneType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Phone. - */ -public class BasePhone implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. - */ - @SerializedName("type") - @Expose - public PhoneType type; - - /** - * The Number. - * The phone number. - */ - @SerializedName("number") - @Expose - public String number; - - /** - * The Region. - * - */ - @SerializedName("region") - @Expose - public String region; - - /** - * The Language. - * - */ - @SerializedName("language") - @Expose - public String language; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePhoto.java b/src/main/java/com/microsoft/graph/models/generated/BasePhoto.java deleted file mode 100644 index 6ac680038a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePhoto.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Photo. - */ -public class BasePhoto implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Camera Make. - * Camera manufacturer. Read-only. - */ - @SerializedName("cameraMake") - @Expose - public String cameraMake; - - /** - * The Camera Model. - * Camera model. Read-only. - */ - @SerializedName("cameraModel") - @Expose - public String cameraModel; - - /** - * The Exposure Denominator. - * The denominator for the exposure time fraction from the camera. Read-only. - */ - @SerializedName("exposureDenominator") - @Expose - public Double exposureDenominator; - - /** - * The Exposure Numerator. - * The numerator for the exposure time fraction from the camera. Read-only. - */ - @SerializedName("exposureNumerator") - @Expose - public Double exposureNumerator; - - /** - * The FNumber. - * The F-stop value from the camera. Read-only. - */ - @SerializedName("fNumber") - @Expose - public Double fNumber; - - /** - * The Focal Length. - * The focal length from the camera. Read-only. - */ - @SerializedName("focalLength") - @Expose - public Double focalLength; - - /** - * The Iso. - * The ISO value from the camera. Read-only. - */ - @SerializedName("iso") - @Expose - public Integer iso; - - /** - * The Taken Date Time. - * Represents the date and time the photo was taken. Read-only. - */ - @SerializedName("takenDateTime") - @Expose - public java.util.Calendar takenDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePhysicalAddress.java b/src/main/java/com/microsoft/graph/models/generated/BasePhysicalAddress.java deleted file mode 100644 index 04ac7e990d0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePhysicalAddress.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Physical Address. - */ -public class BasePhysicalAddress implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Street. - * The street. - */ - @SerializedName("street") - @Expose - public String street; - - /** - * The City. - * The city. - */ - @SerializedName("city") - @Expose - public String city; - - /** - * The State. - * The state. - */ - @SerializedName("state") - @Expose - public String state; - - /** - * The Country Or Region. - * The country or region. It's a free-format string value, for example, 'United States'. - */ - @SerializedName("countryOrRegion") - @Expose - public String countryOrRegion; - - /** - * The Postal Code. - * The postal code. - */ - @SerializedName("postalCode") - @Expose - public String postalCode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlanner.java b/src/main/java/com/microsoft/graph/models/generated/BasePlanner.java deleted file mode 100644 index 5d3eed3e339..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlanner.java +++ /dev/null @@ -1,145 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.models.extensions.PlannerPlan; -import com.microsoft.graph.models.extensions.PlannerBucket; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerBucketCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerBucketCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner. - */ -public class BasePlanner extends Entity implements IJsonBackedObject { - - - /** - * The Tasks. - * Read-only. Nullable. Returns a collection of the specified tasks - */ - public PlannerTaskCollectionPage tasks; - - /** - * The Plans. - * Read-only. Nullable. Returns a collection of the specified plans - */ - public PlannerPlanCollectionPage plans; - - /** - * The Buckets. - * Read-only. Nullable. Returns a collection of the specified buckets - */ - public PlannerBucketCollectionPage buckets; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("tasks")) { - final BasePlannerTaskCollectionResponse response = new BasePlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); - } - - if (json.has("plans")) { - final BasePlannerPlanCollectionResponse response = new BasePlannerPlanCollectionResponse(); - if (json.has("plans@odata.nextLink")) { - response.nextLink = json.get("plans@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); - final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - plans = new PlannerPlanCollectionPage(response, null); - } - - if (json.has("buckets")) { - final BasePlannerBucketCollectionResponse response = new BasePlannerBucketCollectionResponse(); - if (json.has("buckets@odata.nextLink")) { - response.nextLink = json.get("buckets@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("buckets").toString(), JsonObject[].class); - final PlannerBucket[] array = new PlannerBucket[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerBucket.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - buckets = new PlannerBucketCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAppliedCategories.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerAppliedCategories.java deleted file mode 100644 index 178a6d4ec01..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAppliedCategories.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Applied Categories. - */ -public class BasePlannerAppliedCategories implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignedToTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignedToTaskBoardTaskFormat.java deleted file mode 100644 index a3a959e576e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignedToTaskBoardTaskFormat.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerOrderHintsByAssignee; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Assigned To Task Board Task Format. - */ -public class BasePlannerAssignedToTaskBoardTaskFormat extends Entity implements IJsonBackedObject { - - - /** - * The Unassigned Order Hint. - * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. - */ - @SerializedName("unassignedOrderHint") - @Expose - public String unassignedOrderHint; - - /** - * The Order Hints By Assignee. - * Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here. - */ - @SerializedName("orderHintsByAssignee") - @Expose - public PlannerOrderHintsByAssignee orderHintsByAssignee; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignment.java deleted file mode 100644 index cd46b5148bc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignment.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Assignment. - */ -public class BasePlannerAssignment implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Assigned By. - * The identity of the user that performed the assignment of the task, i.e. the assignor. - */ - @SerializedName("assignedBy") - @Expose - public IdentitySet assignedBy; - - /** - * The Assigned Date Time. - * The time at which the task was assigned. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("assignedDateTime") - @Expose - public java.util.Calendar assignedDateTime; - - /** - * The Order Hint. - * Hint used to order assignees in a task. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignments.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignments.java deleted file mode 100644 index b9c02c8e54f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerAssignments.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerAssignment; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Assignments. - */ -public class BasePlannerAssignments extends HashMap implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerBucket.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerBucket.java deleted file mode 100644 index db642127c23..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerBucket.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket. - */ -public class BasePlannerBucket extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * Name of the bucket. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Plan Id. - * Plan ID to which the bucket belongs. - */ - @SerializedName("planId") - @Expose - public String planId; - - /** - * The Order Hint. - * Hint used to order items of this type in a list view. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - - /** - * The Tasks. - * Read-only. Nullable. The collection of tasks in the bucket. - */ - public PlannerTaskCollectionPage tasks; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("tasks")) { - final BasePlannerTaskCollectionResponse response = new BasePlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerBucketTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerBucketTaskBoardTaskFormat.java deleted file mode 100644 index 385410f7cae..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerBucketTaskBoardTaskFormat.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Task Board Task Format. - */ -public class BasePlannerBucketTaskBoardTaskFormat extends Entity implements IJsonBackedObject { - - - /** - * The Order Hint. - * Hint used to order tasks in the Bucket view of the Task Board. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerCategoryDescriptions.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerCategoryDescriptions.java deleted file mode 100644 index 191b697d647..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerCategoryDescriptions.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Category Descriptions. - */ -public class BasePlannerCategoryDescriptions implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Category1. - * The label associated with Category 1 - */ - @SerializedName("category1") - @Expose - public String category1; - - /** - * The Category2. - * The label associated with Category 2 - */ - @SerializedName("category2") - @Expose - public String category2; - - /** - * The Category3. - * The label associated with Category 3 - */ - @SerializedName("category3") - @Expose - public String category3; - - /** - * The Category4. - * The label associated with Category 4 - */ - @SerializedName("category4") - @Expose - public String category4; - - /** - * The Category5. - * The label associated with Category 5 - */ - @SerializedName("category5") - @Expose - public String category5; - - /** - * The Category6. - * The label associated with Category 6 - */ - @SerializedName("category6") - @Expose - public String category6; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItem.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItem.java deleted file mode 100644 index f6c456a9361..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItem.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Checklist Item. - */ -public class BasePlannerChecklistItem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Is Checked. - * Value is true if the item is checked and false otherwise. - */ - @SerializedName("isChecked") - @Expose - public Boolean isChecked; - - /** - * The Title. - * Title of the checklist item - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Order Hint. - * Used to set the relative order of items in the checklist. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - - /** - * The Last Modified By. - * Read-only. User ID by which this is last modified. - */ - @SerializedName("lastModifiedBy") - @Expose - public IdentitySet lastModifiedBy; - - /** - * The Last Modified Date Time. - * Read-only. Date and time at which this is 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItems.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItems.java deleted file mode 100644 index 1e002846a59..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerChecklistItems.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerChecklistItem; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Checklist Items. - */ -public class BasePlannerChecklistItems extends HashMap implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReference.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReference.java deleted file mode 100644 index 81c256cf157..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReference.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner External Reference. - */ -public class BasePlannerExternalReference implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Alias. - * A name alias to describe the reference. - */ - @SerializedName("alias") - @Expose - public String alias; - - /** - * The Type. - * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Preview Priority. - * Used to set the relative priority order in which the reference will be shown as a preview on the task. - */ - @SerializedName("previewPriority") - @Expose - public String previewPriority; - - /** - * The Last Modified By. - * Read-only. User ID by which this is last modified. - */ - @SerializedName("lastModifiedBy") - @Expose - public IdentitySet lastModifiedBy; - - /** - * The Last Modified Date Time. - * Read-only. Date and time at which this is 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReferences.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReferences.java deleted file mode 100644 index 19210904b86..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerExternalReferences.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner External References. - */ -public class BasePlannerExternalReferences extends HashMap implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerGroup.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerGroup.java deleted file mode 100644 index 0f5b6527b38..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerGroup.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerPlan; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Group. - */ -public class BasePlannerGroup extends Entity implements IJsonBackedObject { - - - /** - * The Plans. - * Read-only. Nullable. Returns the plannerPlans owned by the group. - */ - public PlannerPlanCollectionPage plans; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("plans")) { - final BasePlannerPlanCollectionResponse response = new BasePlannerPlanCollectionResponse(); - if (json.has("plans@odata.nextLink")) { - response.nextLink = json.get("plans@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); - final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - plans = new PlannerPlanCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerOrderHintsByAssignee.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerOrderHintsByAssignee.java deleted file mode 100644 index f9aa14f0d01..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerOrderHintsByAssignee.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Order Hints By Assignee. - */ -public class BasePlannerOrderHintsByAssignee extends HashMap implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerPlan.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerPlan.java deleted file mode 100644 index 0410f2a370a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerPlan.java +++ /dev/null @@ -1,162 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.models.extensions.PlannerBucket; -import com.microsoft.graph.models.extensions.PlannerPlanDetails; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerBucketCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerBucketCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan. - */ -public class BasePlannerPlan extends Entity implements IJsonBackedObject { - - - /** - * The Created By. - * Read-only. The user who created the plan. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Created Date Time. - * Read-only. Date and time at which the plan is created. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Owner. - * ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated. - */ - @SerializedName("owner") - @Expose - public String owner; - - /** - * The Title. - * Required. Title of the plan. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Tasks. - * Read-only. Nullable. Collection of tasks in the plan. - */ - public PlannerTaskCollectionPage tasks; - - /** - * The Buckets. - * Read-only. Nullable. Collection of buckets in the plan. - */ - public PlannerBucketCollectionPage buckets; - - /** - * The Details. - * Read-only. Nullable. Additional details about the plan. - */ - @SerializedName("details") - @Expose - public PlannerPlanDetails details; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("tasks")) { - final BasePlannerTaskCollectionResponse response = new BasePlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); - } - - if (json.has("buckets")) { - final BasePlannerBucketCollectionResponse response = new BasePlannerBucketCollectionResponse(); - if (json.has("buckets@odata.nextLink")) { - response.nextLink = json.get("buckets@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("buckets").toString(), JsonObject[].class); - final PlannerBucket[] array = new PlannerBucket[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerBucket.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - buckets = new PlannerBucketCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerPlanDetails.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerPlanDetails.java deleted file mode 100644 index 9acc707c17c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerPlanDetails.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerUserIds; -import com.microsoft.graph.models.extensions.PlannerCategoryDescriptions; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Details. - */ -public class BasePlannerPlanDetails extends Entity implements IJsonBackedObject { - - - /** - * The Shared With. - * Set of user ids that this plan is shared with. If you are leveraging Office 365 Groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group. - */ - @SerializedName("sharedWith") - @Expose - public PlannerUserIds sharedWith; - - /** - * The Category Descriptions. - * An object that specifies the descriptions of the six categories that can be associated with tasks in the plan - */ - @SerializedName("categoryDescriptions") - @Expose - public PlannerCategoryDescriptions categoryDescriptions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerProgressTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerProgressTaskBoardTaskFormat.java deleted file mode 100644 index 8095649e9f4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerProgressTaskBoardTaskFormat.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Progress Task Board Task Format. - */ -public class BasePlannerProgressTaskBoardTaskFormat extends Entity implements IJsonBackedObject { - - - /** - * The Order Hint. - * Hint value used to order the task on the Progress view of the Task Board. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerTask.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerTask.java deleted file mode 100644 index 849b9fc04e4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerTask.java +++ /dev/null @@ -1,270 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.PlannerPreviewType; -import com.microsoft.graph.models.extensions.PlannerAppliedCategories; -import com.microsoft.graph.models.extensions.PlannerAssignments; -import com.microsoft.graph.models.extensions.PlannerTaskDetails; -import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; -import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; -import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task. - */ -public class BasePlannerTask extends Entity implements IJsonBackedObject { - - - /** - * The Created By. - * Identity of the user that created the task. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Plan Id. - * Plan ID to which the task belongs. - */ - @SerializedName("planId") - @Expose - public String planId; - - /** - * The Bucket Id. - * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. - */ - @SerializedName("bucketId") - @Expose - public String bucketId; - - /** - * The Title. - * Title of the task. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Order Hint. - * Hint used to order items of this type in a list view. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - - /** - * The Assignee Priority. - * Hint used to order items of this type in a list view. The format is defined as outlined here. - */ - @SerializedName("assigneePriority") - @Expose - public String assigneePriority; - - /** - * The Percent Complete. - * Percentage of task completion. When set to 100, the task is considered completed. - */ - @SerializedName("percentComplete") - @Expose - public Integer percentComplete; - - /** - * The Start Date Time. - * Date and time at which the task starts. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - - /** - * The Created Date Time. - * Read-only. Date and time at which the task is created. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Due Date Time. - * Date and time at which the task is due. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("dueDateTime") - @Expose - public java.util.Calendar dueDateTime; - - /** - * The Has Description. - * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. - */ - @SerializedName("hasDescription") - @Expose - public Boolean hasDescription; - - /** - * The Preview Type. - * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. - */ - @SerializedName("previewType") - @Expose - public PlannerPreviewType previewType; - - /** - * The Completed Date Time. - * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("completedDateTime") - @Expose - public java.util.Calendar completedDateTime; - - /** - * The Completed By. - * Identity of the user that completed the task. - */ - @SerializedName("completedBy") - @Expose - public IdentitySet completedBy; - - /** - * The Reference Count. - * Number of external references that exist on the task. - */ - @SerializedName("referenceCount") - @Expose - public Integer referenceCount; - - /** - * The Checklist Item Count. - * Number of checklist items that are present on the task. - */ - @SerializedName("checklistItemCount") - @Expose - public Integer checklistItemCount; - - /** - * The Active Checklist Item Count. - * Number of checklist items with value set to 'false', representing incomplete items. - */ - @SerializedName("activeChecklistItemCount") - @Expose - public Integer activeChecklistItemCount; - - /** - * The Applied Categories. - * The categories to which the task has been applied. See applied Categories for possible values. - */ - @SerializedName("appliedCategories") - @Expose - public PlannerAppliedCategories appliedCategories; - - /** - * The Assignments. - * The set of assignees the task is assigned to. - */ - @SerializedName("assignments") - @Expose - public PlannerAssignments assignments; - - /** - * The Conversation Thread Id. - * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. - */ - @SerializedName("conversationThreadId") - @Expose - public String conversationThreadId; - - /** - * The Details. - * Read-only. Nullable. Additional details about the task. - */ - @SerializedName("details") - @Expose - public PlannerTaskDetails details; - - /** - * The Assigned To Task Board Format. - * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - */ - @SerializedName("assignedToTaskBoardFormat") - @Expose - public PlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat; - - /** - * The Progress Task Board Format. - * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - */ - @SerializedName("progressTaskBoardFormat") - @Expose - public PlannerProgressTaskBoardTaskFormat progressTaskBoardFormat; - - /** - * The Bucket Task Board Format. - * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - */ - @SerializedName("bucketTaskBoardFormat") - @Expose - public PlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerTaskDetails.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerTaskDetails.java deleted file mode 100644 index d541069610b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerTaskDetails.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.PlannerPreviewType; -import com.microsoft.graph.models.extensions.PlannerExternalReferences; -import com.microsoft.graph.models.extensions.PlannerChecklistItems; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Details. - */ -public class BasePlannerTaskDetails extends Entity implements IJsonBackedObject { - - - /** - * The Description. - * Description of the task - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Preview Type. - * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task. - */ - @SerializedName("previewType") - @Expose - public PlannerPreviewType previewType; - - /** - * The References. - * The collection of references on the task. - */ - @SerializedName("references") - @Expose - public PlannerExternalReferences references; - - /** - * The Checklist. - * The collection of checklist items on the task. - */ - @SerializedName("checklist") - @Expose - public PlannerChecklistItems checklist; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerUser.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerUser.java deleted file mode 100644 index 6aad501741b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerUser.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.models.extensions.PlannerPlan; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner User. - */ -public class BasePlannerUser extends Entity implements IJsonBackedObject { - - - /** - * The Tasks. - * Read-only. Nullable. Returns the plannerPlans shared with the user. - */ - public PlannerTaskCollectionPage tasks; - - /** - * The Plans. - * Read-only. Nullable. Returns the plannerTasks assigned to the user. - */ - public PlannerPlanCollectionPage plans; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("tasks")) { - final BasePlannerTaskCollectionResponse response = new BasePlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); - } - - if (json.has("plans")) { - final BasePlannerPlanCollectionResponse response = new BasePlannerPlanCollectionResponse(); - if (json.has("plans@odata.nextLink")) { - response.nextLink = json.get("plans@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); - final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - plans = new PlannerPlanCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePlannerUserIds.java b/src/main/java/com/microsoft/graph/models/generated/BasePlannerUserIds.java deleted file mode 100644 index f12528de8d0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePlannerUserIds.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner User Ids. - */ -public class BasePlannerUserIds implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePost.java b/src/main/java/com/microsoft/graph/models/generated/BasePost.java deleted file mode 100644 index 47d6763a212..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePost.java +++ /dev/null @@ -1,245 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ItemBody; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionResponse; -import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post. - */ -public class BasePost extends OutlookItem implements IJsonBackedObject { - - - /** - * The Body. - * The contents of the post. This is a default property. This property can be null. - */ - @SerializedName("body") - @Expose - public ItemBody body; - - /** - * The Received Date Time. - * Specifies when the post was received. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("receivedDateTime") - @Expose - public java.util.Calendar receivedDateTime; - - /** - * The Has Attachments. - * Indicates whether the post has at least one attachment. This is a default property. - */ - @SerializedName("hasAttachments") - @Expose - public Boolean hasAttachments; - - /** - * The From. - * Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. - */ - @SerializedName("from") - @Expose - public Recipient from; - - /** - * The Sender. - * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. - */ - @SerializedName("sender") - @Expose - public Recipient sender; - - /** - * The Conversation Thread Id. - * Unique ID of the conversation thread. Read-only. - */ - @SerializedName("conversationThreadId") - @Expose - public String conversationThreadId; - - /** - * The New Participants. - * Conversation participants that were added to the thread as part of this post. - */ - @SerializedName("newParticipants") - @Expose - public java.util.List newParticipants; - - /** - * The Conversation Id. - * Unique ID of the conversation. Read-only. - */ - @SerializedName("conversationId") - @Expose - public String conversationId; - - /** - * The Extensions. - * The collection of open extensions defined for the post. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The In Reply To. - * Read-only. - */ - @SerializedName("inReplyTo") - @Expose - public Post inReplyTo; - - /** - * The Attachments. - * Read-only. Nullable. - */ - public AttachmentCollectionPage attachments; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the post. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the post. Read-only. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - - if (json.has("attachments")) { - final BaseAttachmentCollectionResponse response = new BaseAttachmentCollectionResponse(); - if (json.has("attachments@odata.nextLink")) { - response.nextLink = json.get("attachments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); - final Attachment[] array = new Attachment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - attachments = new AttachmentCollectionPage(response, null); - } - - if (json.has("singleValueExtendedProperties")) { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = new BaseSingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = new BaseMultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePostForwardBody.java b/src/main/java/com/microsoft/graph/models/generated/BasePostForwardBody.java deleted file mode 100644 index 65d00fbc531..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePostForwardBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Forward Body. - */ -public class BasePostForwardBody { - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - /** - * The to Recipients. - * - */ - @SerializedName("toRecipients") - @Expose - public java.util.List toRecipients; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePostReplyBody.java b/src/main/java/com/microsoft/graph/models/generated/BasePostReplyBody.java deleted file mode 100644 index c85c7ae7312..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePostReplyBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Reply Body. - */ -public class BasePostReplyBody { - - /** - * The post. - * - */ - @SerializedName("post") - @Expose - public Post post; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePrivacyProfile.java b/src/main/java/com/microsoft/graph/models/generated/BasePrivacyProfile.java deleted file mode 100644 index bb8ea06b62a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePrivacyProfile.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Privacy Profile. - */ -public class BasePrivacyProfile implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Contact Email. - * A valid smtp email address for the privacy statement contact. Not required. - */ - @SerializedName("contactEmail") - @Expose - public String contactEmail; - - /** - * The Statement Url. - * A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required. - */ - @SerializedName("statementUrl") - @Expose - public String statementUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseProcess.java b/src/main/java/com/microsoft/graph/models/generated/BaseProcess.java deleted file mode 100644 index 501756a7607..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseProcess.java +++ /dev/null @@ -1,177 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.FileHash; -import com.microsoft.graph.models.generated.ProcessIntegrityLevel; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Process. - */ -public class BaseProcess implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Account Name. - * User account identifier (user account context the process ran under) for example, AccountName, SID, and so on. - */ - @SerializedName("accountName") - @Expose - public String accountName; - - /** - * The Command Line. - * The full process invocation commandline including all parameters. - */ - @SerializedName("commandLine") - @Expose - public String commandLine; - - /** - * The Created Date Time. - * Time at which the process was started. 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 would look like this: '2014-01-01T00:00:00Z'. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The File Hash. - * Complex type containing file hashes (cryptographic and location-sensitive). - */ - @SerializedName("fileHash") - @Expose - public FileHash fileHash; - - /** - * The Integrity Level. - * The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. - */ - @SerializedName("integrityLevel") - @Expose - public ProcessIntegrityLevel integrityLevel; - - /** - * The Is Elevated. - * True if the process is elevated. - */ - @SerializedName("isElevated") - @Expose - public Boolean isElevated; - - /** - * The Name. - * The name of the process' Image file. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Parent Process Created Date Time. - * DateTime at which the parent process was started. 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 would look like this: '2014-01-01T00:00:00Z'. - */ - @SerializedName("parentProcessCreatedDateTime") - @Expose - public java.util.Calendar parentProcessCreatedDateTime; - - /** - * The Parent Process Id. - * The Process ID (PID) of the parent process. - */ - @SerializedName("parentProcessId") - @Expose - public Integer parentProcessId; - - /** - * The Parent Process Name. - * The name of the image file of the parent process. - */ - @SerializedName("parentProcessName") - @Expose - public String parentProcessName; - - /** - * The Path. - * Full path, including filename. - */ - @SerializedName("path") - @Expose - public String path; - - /** - * The Process Id. - * The Process ID (PID) of the process. - */ - @SerializedName("processId") - @Expose - public Integer processId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseProfilePhoto.java b/src/main/java/com/microsoft/graph/models/generated/BaseProfilePhoto.java deleted file mode 100644 index aaa88add60b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseProfilePhoto.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo. - */ -public class BaseProfilePhoto extends Entity implements IJsonBackedObject { - - - /** - * The Height. - * The height of the photo. Read-only. - */ - @SerializedName("height") - @Expose - public Integer height; - - /** - * The Width. - * The width of the photo. Read-only. - */ - @SerializedName("width") - @Expose - public Integer width; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseProvisionedPlan.java b/src/main/java/com/microsoft/graph/models/generated/BaseProvisionedPlan.java deleted file mode 100644 index 0aa213da023..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseProvisionedPlan.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Provisioned Plan. - */ -public class BaseProvisionedPlan implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Capability Status. - * For example, 'Enabled'. - */ - @SerializedName("capabilityStatus") - @Expose - public String capabilityStatus; - - /** - * The Provisioning Status. - * For example, 'Success'. - */ - @SerializedName("provisioningStatus") - @Expose - public String provisioningStatus; - - /** - * The Service. - * The name of the service; for example, 'AccessControlS2S' - */ - @SerializedName("service") - @Expose - public String service; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseProxiedDomain.java b/src/main/java/com/microsoft/graph/models/generated/BaseProxiedDomain.java deleted file mode 100644 index b4771da677e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseProxiedDomain.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Proxied Domain. - */ -public class BaseProxiedDomain implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Ip Address Or FQDN. - * The IP address or FQDN - */ - @SerializedName("ipAddressOrFQDN") - @Expose - public String ipAddressOrFQDN; - - /** - * The Proxy. - * Proxy IP - */ - @SerializedName("proxy") - @Expose - public String proxy; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BasePublicationFacet.java b/src/main/java/com/microsoft/graph/models/generated/BasePublicationFacet.java deleted file mode 100644 index 269c6ead22c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BasePublicationFacet.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Publication Facet. - */ -public class BasePublicationFacet implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Level. - * The state of publication for this document. Either published or checkout. Read-only. - */ - @SerializedName("level") - @Expose - public String level; - - /** - * The Version Id. - * The unique identifier for the version that is visible to the current caller. Read-only. - */ - @SerializedName("versionId") - @Expose - public String versionId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseQuota.java b/src/main/java/com/microsoft/graph/models/generated/BaseQuota.java deleted file mode 100644 index c9b9e8dede1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseQuota.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Quota. - */ -public class BaseQuota implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Deleted. - * Total space consumed by files in the recycle bin, in bytes. Read-only. - */ - @SerializedName("deleted") - @Expose - public Long deleted; - - /** - * The Remaining. - * Total space remaining before reaching the quota limit, in bytes. Read-only. - */ - @SerializedName("remaining") - @Expose - public Long remaining; - - /** - * The State. - * Enumeration value that indicates the state of the storage space. Read-only. - */ - @SerializedName("state") - @Expose - public String state; - - /** - * The Total. - * Total allowed storage space, in bytes. Read-only. - */ - @SerializedName("total") - @Expose - public Long total; - - /** - * The Used. - * Total space used, in bytes. Read-only. - */ - @SerializedName("used") - @Expose - public Long used; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebook.java b/src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebook.java deleted file mode 100644 index 42928c89012..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebook.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RecentNotebookLinks; -import com.microsoft.graph.models.generated.OnenoteSourceService; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Recent Notebook. - */ -public class BaseRecentNotebook implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * The name of the notebook. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Last Accessed Time. - * The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("lastAccessedTime") - @Expose - public java.util.Calendar lastAccessedTime; - - /** - * The Links. - * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote Online. - */ - @SerializedName("links") - @Expose - public RecentNotebookLinks links; - - /** - * The Source Service. - * The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive. - */ - @SerializedName("sourceService") - @Expose - public OnenoteSourceService sourceService; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebookLinks.java b/src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebookLinks.java deleted file mode 100644 index fd0bb428dc3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRecentNotebookLinks.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ExternalLink; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Recent Notebook Links. - */ -public class BaseRecentNotebookLinks implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The One Note Client Url. - * Opens the notebook in the OneNote native client if it's installed. - */ - @SerializedName("oneNoteClientUrl") - @Expose - public ExternalLink oneNoteClientUrl; - - /** - * The One Note Web Url. - * Opens the notebook in OneNote Online. - */ - @SerializedName("oneNoteWebUrl") - @Expose - public ExternalLink oneNoteWebUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRecipient.java b/src/main/java/com/microsoft/graph/models/generated/BaseRecipient.java deleted file mode 100644 index a1ed4be625b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRecipient.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EmailAddress; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Recipient. - */ -public class BaseRecipient implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Email Address. - * The recipient's email address. - */ - @SerializedName("emailAddress") - @Expose - public EmailAddress emailAddress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRecurrencePattern.java b/src/main/java/com/microsoft/graph/models/generated/BaseRecurrencePattern.java deleted file mode 100644 index 1e35cb47ee4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRecurrencePattern.java +++ /dev/null @@ -1,138 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RecurrencePatternType; -import com.microsoft.graph.models.generated.DayOfWeek; -import com.microsoft.graph.models.generated.WeekIndex; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Recurrence Pattern. - */ -public class BaseRecurrencePattern implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. - */ - @SerializedName("type") - @Expose - public RecurrencePatternType type; - - /** - * The Interval. - * The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. - */ - @SerializedName("interval") - @Expose - public Integer interval; - - /** - * The Month. - * The month in which the event occurs. This is a number from 1 to 12. - */ - @SerializedName("month") - @Expose - public Integer month; - - /** - * The Day Of Month. - * The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly. - */ - @SerializedName("dayOfMonth") - @Expose - public Integer dayOfMonth; - - /** - * The Days Of Week. - * A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. - */ - @SerializedName("daysOfWeek") - @Expose - public java.util.List daysOfWeek; - - /** - * The First Day Of Week. - * The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. - */ - @SerializedName("firstDayOfWeek") - @Expose - public DayOfWeek firstDayOfWeek; - - /** - * The Index. - * Specifies on which instance of the allowed days specified in daysOfsWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. - */ - @SerializedName("index") - @Expose - public WeekIndex index; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRecurrenceRange.java b/src/main/java/com/microsoft/graph/models/generated/BaseRecurrenceRange.java deleted file mode 100644 index 406e4b73556..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRecurrenceRange.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RecurrenceRangeType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Recurrence Range. - */ -public class BaseRecurrenceRange implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * The recurrence range. The possible values are: endDate, noEnd, numbered. Required. - */ - @SerializedName("type") - @Expose - public RecurrenceRangeType type; - - /** - * The Start Date. - * The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required. - */ - @SerializedName("startDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly startDate; - - /** - * The End Date. - * The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate. - */ - @SerializedName("endDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly endDate; - - /** - * The Recurrence Time Zone. - * Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used. - */ - @SerializedName("recurrenceTimeZone") - @Expose - public String recurrenceTimeZone; - - /** - * The Number Of Occurrences. - * The number of times to repeat the event. Required and must be positive if type is numbered. - */ - @SerializedName("numberOfOccurrences") - @Expose - public Integer numberOfOccurrences; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseReferenceAttachment.java b/src/main/java/com/microsoft/graph/models/generated/BaseReferenceAttachment.java deleted file mode 100644 index f7924bee873..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseReferenceAttachment.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Attachment; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Reference Attachment. - */ -public class BaseReferenceAttachment extends Attachment implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRegistryKeyState.java b/src/main/java/com/microsoft/graph/models/generated/BaseRegistryKeyState.java deleted file mode 100644 index e151389acd7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRegistryKeyState.java +++ /dev/null @@ -1,162 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RegistryHive; -import com.microsoft.graph.models.generated.RegistryOperation; -import com.microsoft.graph.models.generated.RegistryValueType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Registry Key State. - */ -public class BaseRegistryKeyState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Hive. - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSamSoftware, localMachineSystem, usersDefault. - */ - @SerializedName("hive") - @Expose - public RegistryHive hive; - - /** - * The Key. - * Current (i.e. changed) registry key (excludes HIVE). - */ - @SerializedName("key") - @Expose - public String key; - - /** - * The Old Key. - * Previous (i.e. before changed) registry key (excludes HIVE). - */ - @SerializedName("oldKey") - @Expose - public String oldKey; - - /** - * The Old Value Data. - * Previous (i.e. before changed) registry key value data (contents). - */ - @SerializedName("oldValueData") - @Expose - public String oldValueData; - - /** - * The Old Value Name. - * Previous (i.e. before changed) registry key value name. - */ - @SerializedName("oldValueName") - @Expose - public String oldValueName; - - /** - * The Operation. - * Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. - */ - @SerializedName("operation") - @Expose - public RegistryOperation operation; - - /** - * The Process Id. - * Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection). - */ - @SerializedName("processId") - @Expose - public Integer processId; - - /** - * The Value Data. - * Current (i.e. changed) registry key value data (contents). - */ - @SerializedName("valueData") - @Expose - public String valueData; - - /** - * The Value Name. - * Current (i.e. changed) registry key value name - */ - @SerializedName("valueName") - @Expose - public String valueName; - - /** - * The Value Type. - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. - */ - @SerializedName("valueType") - @Expose - public RegistryValueType valueType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseReminder.java b/src/main/java/com/microsoft/graph/models/generated/BaseReminder.java deleted file mode 100644 index 9068cc071b8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseReminder.java +++ /dev/null @@ -1,145 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.models.extensions.Location; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Reminder. - */ -public class BaseReminder implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Event Id. - * The unique ID of the event. Read only. - */ - @SerializedName("eventId") - @Expose - public String eventId; - - /** - * The Event Start Time. - * The date, time, and time zone that the event starts. - */ - @SerializedName("eventStartTime") - @Expose - public DateTimeTimeZone eventStartTime; - - /** - * The Event End Time. - * The date, time and time zone that the event ends. - */ - @SerializedName("eventEndTime") - @Expose - public DateTimeTimeZone eventEndTime; - - /** - * The Change Key. - * Identifies the version of the reminder. Every time the reminder is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. - */ - @SerializedName("changeKey") - @Expose - public String changeKey; - - /** - * The Event Subject. - * The text of the event's subject line. - */ - @SerializedName("eventSubject") - @Expose - public String eventSubject; - - /** - * The Event Location. - * The location of the event. - */ - @SerializedName("eventLocation") - @Expose - public Location eventLocation; - - /** - * The Event Web Link. - * The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. - */ - @SerializedName("eventWebLink") - @Expose - public String eventWebLink; - - /** - * The Reminder Fire Time. - * The date, time, and time zone that the reminder is set to occur. - */ - @SerializedName("reminderFireTime") - @Expose - public DateTimeTimeZone reminderFireTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRemoteAssistancePartner.java b/src/main/java/com/microsoft/graph/models/generated/BaseRemoteAssistancePartner.java deleted file mode 100644 index f2bf5afdebd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRemoteAssistancePartner.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RemoteAssistanceOnboardingStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner. - */ -public class BaseRemoteAssistancePartner extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Display name of the partner. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Onboarding Url. - * URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service. - */ - @SerializedName("onboardingUrl") - @Expose - public String onboardingUrl; - - /** - * The Onboarding Status. - * TBD. Possible values are: notOnboarded, onboarding, onboarded. - */ - @SerializedName("onboardingStatus") - @Expose - public RemoteAssistanceOnboardingStatus onboardingStatus; - - /** - * The Last Connection Date Time. - * Timestamp of the last request sent to Intune by the TEM partner. - */ - @SerializedName("lastConnectionDateTime") - @Expose - public java.util.Calendar lastConnectionDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRemoteItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseRemoteItem.java deleted file mode 100644 index 6d93e0e11e5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRemoteItem.java +++ /dev/null @@ -1,223 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.File; -import com.microsoft.graph.models.extensions.FileSystemInfo; -import com.microsoft.graph.models.extensions.Folder; -import com.microsoft.graph.models.extensions.ItemReference; -import com.microsoft.graph.models.extensions.Shared; -import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.extensions.SpecialFolder; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Item. - */ -public class BaseRemoteItem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Created By. - * Identity of the user, device, and application which created the item. Read-only. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - - /** - * The Created Date Time. - * Date and time of item creation. Read-only. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The File. - * Indicates that the remote item is a file. Read-only. - */ - @SerializedName("file") - @Expose - public File file; - - /** - * The File System Info. - * Information about the remote item from the local file system. Read-only. - */ - @SerializedName("fileSystemInfo") - @Expose - public FileSystemInfo fileSystemInfo; - - /** - * The Folder. - * Indicates that the remote item is a folder. Read-only. - */ - @SerializedName("folder") - @Expose - public Folder folder; - - /** - * The Id. - * Unique identifier for the remote item in its drive. Read-only. - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Last Modified By. - * Identity of the user, device, and application which last modified the item. Read-only. - */ - @SerializedName("lastModifiedBy") - @Expose - public IdentitySet lastModifiedBy; - - /** - * The Last Modified Date Time. - * Date and time the item was last modified. Read-only. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Name. - * Optional. Filename of the remote item. Read-only. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Package. - * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. - */ - @SerializedName("package") - @Expose - public com.microsoft.graph.models.extensions.Package msgraphpackage; - - /** - * The Parent Reference. - * Properties of the parent of the remote item. Read-only. - */ - @SerializedName("parentReference") - @Expose - public ItemReference parentReference; - - /** - * The Shared. - * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. - */ - @SerializedName("shared") - @Expose - public Shared shared; - - /** - * The Sharepoint Ids. - * Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only. - */ - @SerializedName("sharepointIds") - @Expose - public SharepointIds sharepointIds; - - /** - * The Size. - * Size of the remote item. Read-only. - */ - @SerializedName("size") - @Expose - public Long size; - - /** - * The Special Folder. - * If the current item is also available as a special folder, this facet is returned. Read-only. - */ - @SerializedName("specialFolder") - @Expose - public SpecialFolder specialFolder; - - /** - * The Web Dav Url. - * DAV compatible URL for the item. - */ - @SerializedName("webDavUrl") - @Expose - public String webDavUrl; - - /** - * The Web Url. - * URL that displays the resource in the browser. Read-only. - */ - @SerializedName("webUrl") - @Expose - public String webUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRemoteLockActionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseRemoteLockActionResult.java deleted file mode 100644 index afb1fa5ee8b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRemoteLockActionResult.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceActionResult; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Lock Action Result. - */ -public class BaseRemoteLockActionResult extends DeviceActionResult implements IJsonBackedObject { - - - /** - * The Unlock Pin. - * Pin to unlock the client - */ - @SerializedName("unlockPin") - @Expose - public String unlockPin; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseReport.java b/src/main/java/com/microsoft/graph/models/generated/BaseReport.java deleted file mode 100644 index fdc9649aa3b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseReport.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report. - */ -public class BaseReport implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseReportRoot.java b/src/main/java/com/microsoft/graph/models/generated/BaseReportRoot.java deleted file mode 100644 index f038cd6d5bf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseReportRoot.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root. - */ -public class BaseReportRoot extends Entity implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseResetPasscodeActionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseResetPasscodeActionResult.java deleted file mode 100644 index c6b96ff7d7a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseResetPasscodeActionResult.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceActionResult; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Reset Passcode Action Result. - */ -public class BaseResetPasscodeActionResult extends DeviceActionResult implements IJsonBackedObject { - - - /** - * The Passcode. - * Newly generated passcode for the device - */ - @SerializedName("passcode") - @Expose - public String passcode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseResourceAction.java b/src/main/java/com/microsoft/graph/models/generated/BaseResourceAction.java deleted file mode 100644 index e61cfbd1284..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseResourceAction.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Action. - */ -public class BaseResourceAction implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allowed Resource Actions. - * Allowed Actions - */ - @SerializedName("allowedResourceActions") - @Expose - public java.util.List allowedResourceActions; - - /** - * The Not Allowed Resource Actions. - * Not Allowed Actions - */ - @SerializedName("notAllowedResourceActions") - @Expose - public java.util.List notAllowedResourceActions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseResourceOperation.java b/src/main/java/com/microsoft/graph/models/generated/BaseResourceOperation.java deleted file mode 100644 index 58d861d2bac..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseResourceOperation.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation. - */ -public class BaseResourceOperation extends Entity implements IJsonBackedObject { - - - /** - * The Resource Name. - * Name of the Resource this operation is performed on. - */ - @SerializedName("resourceName") - @Expose - public String resourceName; - - /** - * The Action Name. - * Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible. - */ - @SerializedName("actionName") - @Expose - public String actionName; - - /** - * The Description. - * Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal. - */ - @SerializedName("description") - @Expose - public String description; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseResourceReference.java b/src/main/java/com/microsoft/graph/models/generated/BaseResourceReference.java deleted file mode 100644 index 97de64ddafe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseResourceReference.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Reference. - */ -public class BaseResourceReference implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Web Url. - * - */ - @SerializedName("webUrl") - @Expose - public String webUrl; - - /** - * The Id. - * - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Type. - * - */ - @SerializedName("type") - @Expose - public String type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseResourceVisualization.java b/src/main/java/com/microsoft/graph/models/generated/BaseResourceVisualization.java deleted file mode 100644 index f51785c7b70..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseResourceVisualization.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Visualization. - */ -public class BaseResourceVisualization implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Title. - * - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Type. - * - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Media Type. - * - */ - @SerializedName("mediaType") - @Expose - public String mediaType; - - /** - * The Preview Image Url. - * - */ - @SerializedName("previewImageUrl") - @Expose - public String previewImageUrl; - - /** - * The Preview Text. - * - */ - @SerializedName("previewText") - @Expose - public String previewText; - - /** - * The Container Web Url. - * - */ - @SerializedName("containerWebUrl") - @Expose - public String containerWebUrl; - - /** - * The Container Display Name. - * - */ - @SerializedName("containerDisplayName") - @Expose - public String containerDisplayName; - - /** - * The Container Type. - * - */ - @SerializedName("containerType") - @Expose - public String containerType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseResponseStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseResponseStatus.java deleted file mode 100644 index 47ace8adcc1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseResponseStatus.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ResponseType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Response Status. - */ -public class BaseResponseStatus implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Response. - * The response type. The possible values are: None, Organizer, TentativelyAccepted, Accepted, Declined, NotResponded. - */ - @SerializedName("response") - @Expose - public ResponseType response; - - /** - * The Time. - * The date and time that the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("time") - @Expose - public java.util.Calendar time; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRgbColor.java b/src/main/java/com/microsoft/graph/models/generated/BaseRgbColor.java deleted file mode 100644 index 9badd4509d7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRgbColor.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Rgb Color. - */ -public class BaseRgbColor implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The R. - * Red value - */ - @SerializedName("r") - @Expose - public Byte r; - - /** - * The G. - * Green value - */ - @SerializedName("g") - @Expose - public Byte g; - - /** - * The B. - * Blue value - */ - @SerializedName("b") - @Expose - public Byte b; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRoleAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseRoleAssignment.java deleted file mode 100644 index 40d6d88b430..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRoleAssignment.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RoleDefinition; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment. - */ -public class BaseRoleAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The display or friendly name of the role Assignment. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description of the Role Assignment. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Resource Scopes. - * List of ids of role scope member security groups. These are IDs from Azure Active Directory. - */ - @SerializedName("resourceScopes") - @Expose - public java.util.List resourceScopes; - - /** - * The Role Definition. - * Role definition this assignment is part of. - */ - @SerializedName("roleDefinition") - @Expose - public RoleDefinition roleDefinition; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRoleDefinition.java b/src/main/java/com/microsoft/graph/models/generated/BaseRoleDefinition.java deleted file mode 100644 index c36355531af..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRoleDefinition.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RolePermission; -import com.microsoft.graph.models.extensions.RoleAssignment; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.RoleAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition. - */ -public class BaseRoleDefinition extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Display Name of the Role definition. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description of the Role definition. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Role Permissions. - * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. - */ - @SerializedName("rolePermissions") - @Expose - public java.util.List rolePermissions; - - /** - * The Is Built In. - * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. - */ - @SerializedName("isBuiltIn") - @Expose - public Boolean isBuiltIn; - - /** - * The Role Assignments. - * List of Role assignments for this role definition. - */ - public RoleAssignmentCollectionPage roleAssignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("roleAssignments")) { - final BaseRoleAssignmentCollectionResponse response = new BaseRoleAssignmentCollectionResponse(); - if (json.has("roleAssignments@odata.nextLink")) { - response.nextLink = json.get("roleAssignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignments").toString(), JsonObject[].class); - final RoleAssignment[] array = new RoleAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - roleAssignments = new RoleAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRolePermission.java b/src/main/java/com/microsoft/graph/models/generated/BaseRolePermission.java deleted file mode 100644 index 0e97fd08314..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRolePermission.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ResourceAction; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Permission. - */ -public class BaseRolePermission implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Resource Actions. - * Actions - */ - @SerializedName("resourceActions") - @Expose - public java.util.List resourceActions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseRoot.java b/src/main/java/com/microsoft/graph/models/generated/BaseRoot.java deleted file mode 100644 index 5e84bc824da..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseRoot.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Root. - */ -public class BaseRoot implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSchemaExtension.java b/src/main/java/com/microsoft/graph/models/generated/BaseSchemaExtension.java deleted file mode 100644 index 53f626e983a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSchemaExtension.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ExtensionSchemaProperty; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension. - */ -public class BaseSchemaExtension extends Entity implements IJsonBackedObject { - - - /** - * The Description. - * Description for the schema extension. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Target Types. - * Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from contact, device, event, group, message, organization, post, or user. - */ - @SerializedName("targetTypes") - @Expose - public java.util.List targetTypes; - - /** - * The Properties. - * The collection of property names and types that make up the schema extension definition. - */ - @SerializedName("properties") - @Expose - public java.util.List properties; - - /** - * The Status. - * The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. - */ - @SerializedName("status") - @Expose - public String status; - - /** - * The Owner. - * The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. Once set, this property is read-only and cannot be changed. - */ - @SerializedName("owner") - @Expose - public String owner; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseScoredEmailAddress.java b/src/main/java/com/microsoft/graph/models/generated/BaseScoredEmailAddress.java deleted file mode 100644 index d808600dbe9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseScoredEmailAddress.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.SelectionLikelihoodInfo; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Scored Email Address. - */ -public class BaseScoredEmailAddress implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Address. - * The email address. - */ - @SerializedName("address") - @Expose - public String address; - - /** - * The Relevance Score. - * The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships. - */ - @SerializedName("relevanceScore") - @Expose - public Double relevanceScore; - - /** - * The Selection Likelihood. - * - */ - @SerializedName("selectionLikelihood") - @Expose - public SelectionLikelihoodInfo selectionLikelihood; - - /** - * The Item Id. - * - */ - @SerializedName("ItemId") - @Expose - public String string; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSearchResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseSearchResult.java deleted file mode 100644 index f35b6c61473..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSearchResult.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Search Result. - */ -public class BaseSearchResult implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The On Click Telemetry Url. - * A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results. - */ - @SerializedName("onClickTelemetryUrl") - @Expose - public String onClickTelemetryUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSectionGroup.java b/src/main/java/com/microsoft/graph/models/generated/BaseSectionGroup.java deleted file mode 100644 index bb78f32c0eb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSectionGroup.java +++ /dev/null @@ -1,153 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group. - */ -public class BaseSectionGroup extends OnenoteEntityHierarchyModel implements IJsonBackedObject { - - - /** - * The Sections Url. - * The URL for the sections navigation property, which returns all the sections in the section group. Read-only. - */ - @SerializedName("sectionsUrl") - @Expose - public String sectionsUrl; - - /** - * The Section Groups Url. - * The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only. - */ - @SerializedName("sectionGroupsUrl") - @Expose - public String sectionGroupsUrl; - - /** - * The Parent Notebook. - * The notebook that contains the section group. Read-only. - */ - @SerializedName("parentNotebook") - @Expose - public Notebook parentNotebook; - - /** - * The Parent Section Group. - * The section group that contains the section group. Read-only. - */ - @SerializedName("parentSectionGroup") - @Expose - public SectionGroup parentSectionGroup; - - /** - * The Sections. - * The sections in the section group. Read-only. Nullable. - */ - public OnenoteSectionCollectionPage sections; - - /** - * The Section Groups. - * The section groups in the section. Read-only. Nullable. - */ - public SectionGroupCollectionPage sectionGroups; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("sections")) { - final BaseOnenoteSectionCollectionResponse response = new BaseOnenoteSectionCollectionResponse(); - if (json.has("sections@odata.nextLink")) { - response.nextLink = json.get("sections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); - final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sections = new OnenoteSectionCollectionPage(response, null); - } - - if (json.has("sectionGroups")) { - final BaseSectionGroupCollectionResponse response = new BaseSectionGroupCollectionResponse(); - if (json.has("sectionGroups@odata.nextLink")) { - response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); - final SectionGroup[] array = new SectionGroup[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sectionGroups = new SectionGroupCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSectionLinks.java b/src/main/java/com/microsoft/graph/models/generated/BaseSectionLinks.java deleted file mode 100644 index 26482cf4551..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSectionLinks.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ExternalLink; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Links. - */ -public class BaseSectionLinks implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The One Note Client Url. - * Opens the section in the OneNote native client if it's installed. - */ - @SerializedName("oneNoteClientUrl") - @Expose - public ExternalLink oneNoteClientUrl; - - /** - * The One Note Web Url. - * Opens the section in OneNote Online. - */ - @SerializedName("oneNoteWebUrl") - @Expose - public ExternalLink oneNoteWebUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSecurity.java b/src/main/java/com/microsoft/graph/models/generated/BaseSecurity.java deleted file mode 100644 index 811c5e19cee..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSecurity.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Alert; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseAlertCollectionResponse; -import com.microsoft.graph.requests.extensions.AlertCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Security. - */ -public class BaseSecurity extends Entity implements IJsonBackedObject { - - - /** - * The Alerts. - * Read-only. Nullable. - */ - public AlertCollectionPage alerts; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("alerts")) { - final BaseAlertCollectionResponse response = new BaseAlertCollectionResponse(); - if (json.has("alerts@odata.nextLink")) { - response.nextLink = json.get("alerts@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("alerts").toString(), JsonObject[].class); - final Alert[] array = new Alert[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Alert.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - alerts = new AlertCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSecurityVendorInformation.java b/src/main/java/com/microsoft/graph/models/generated/BaseSecurityVendorInformation.java deleted file mode 100644 index cc359e040d4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSecurityVendorInformation.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Security Vendor Information. - */ -public class BaseSecurityVendorInformation implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Provider. - * Specific provider (product/service - not vendor company); for example, WindowsDefenderATP. - */ - @SerializedName("provider") - @Expose - public String provider; - - /** - * The Provider Version. - * Version of the provider or subprovider, if it exists, that generated the alert. Required - */ - @SerializedName("providerVersion") - @Expose - public String providerVersion; - - /** - * The Sub Provider. - * Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen. - */ - @SerializedName("subProvider") - @Expose - public String subProvider; - - /** - * The Vendor. - * Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required - */ - @SerializedName("vendor") - @Expose - public String vendor; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseServicePlanInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseServicePlanInfo.java deleted file mode 100644 index 2bc40873a65..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseServicePlanInfo.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Service Plan Info. - */ -public class BaseServicePlanInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Service Plan Id. - * The unique identifier of the service plan. - */ - @SerializedName("servicePlanId") - @Expose - public java.util.UUID servicePlanId; - - /** - * The Service Plan Name. - * The name of the service plan. - */ - @SerializedName("servicePlanName") - @Expose - public String servicePlanName; - - /** - * The Provisioning Status. - * The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. - */ - @SerializedName("provisioningStatus") - @Expose - public String provisioningStatus; - - /** - * The Applies To. - * The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant. - */ - @SerializedName("appliesTo") - @Expose - public String appliesTo; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSettingSource.java b/src/main/java/com/microsoft/graph/models/generated/BaseSettingSource.java deleted file mode 100644 index 9e7887ebbbd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSettingSource.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting Source. - */ -public class BaseSettingSource implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Id. - * Not yet documented - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Display Name. - * Not yet documented - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSettingStateDeviceSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseSettingStateDeviceSummary.java deleted file mode 100644 index a9dbe93ce82..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSettingStateDeviceSummary.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary. - */ -public class BaseSettingStateDeviceSummary extends Entity implements IJsonBackedObject { - - - /** - * The Setting Name. - * Name of the setting - */ - @SerializedName("settingName") - @Expose - public String settingName; - - /** - * The Instance Path. - * Name of the InstancePath for the setting - */ - @SerializedName("instancePath") - @Expose - public String instancePath; - - /** - * The Unknown Device Count. - * Device Unkown count for the setting - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Device Not Applicable count for the setting - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - - /** - * The Compliant Device Count. - * Device Compliant count for the setting - */ - @SerializedName("compliantDeviceCount") - @Expose - public Integer compliantDeviceCount; - - /** - * The Remediated Device Count. - * Device Compliant count for the setting - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - - /** - * The Non Compliant Device Count. - * Device NonCompliant count for the setting - */ - @SerializedName("nonCompliantDeviceCount") - @Expose - public Integer nonCompliantDeviceCount; - - /** - * The Error Device Count. - * Device error count for the setting - */ - @SerializedName("errorDeviceCount") - @Expose - public Integer errorDeviceCount; - - /** - * The Conflict Device Count. - * Device conflict error count for the setting - */ - @SerializedName("conflictDeviceCount") - @Expose - public Integer conflictDeviceCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSettingTemplateValue.java b/src/main/java/com/microsoft/graph/models/generated/BaseSettingTemplateValue.java deleted file mode 100644 index 981ec36ae83..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSettingTemplateValue.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting Template Value. - */ -public class BaseSettingTemplateValue implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * Name of the setting. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Type. - * Type of the setting. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Default Value. - * Default value for the setting. - */ - @SerializedName("defaultValue") - @Expose - public String defaultValue; - - /** - * The Description. - * Description of the setting. - */ - @SerializedName("description") - @Expose - public String description; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSettingValue.java b/src/main/java/com/microsoft/graph/models/generated/BaseSettingValue.java deleted file mode 100644 index 702d52df90e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSettingValue.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting Value. - */ -public class BaseSettingValue implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * Name of the setting (as defined by the groupSettingTemplate). - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Value. - * Value of the setting. - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseShared.java b/src/main/java/com/microsoft/graph/models/generated/BaseShared.java deleted file mode 100644 index e6b902cc9eb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseShared.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared. - */ -public class BaseShared implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Owner. - * The identity of the owner of the shared item. Read-only. - */ - @SerializedName("owner") - @Expose - public IdentitySet owner; - - /** - * The Scope. - * Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. - */ - @SerializedName("scope") - @Expose - public String scope; - - /** - * The Shared By. - * The identity of the user who shared the item. Read-only. - */ - @SerializedName("sharedBy") - @Expose - public IdentitySet sharedBy; - - /** - * The Shared Date Time. - * The UTC date and time when the item was shared. Read-only. - */ - @SerializedName("sharedDateTime") - @Expose - public java.util.Calendar sharedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharedDriveItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharedDriveItem.java deleted file mode 100644 index 244d278ecc0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharedDriveItem.java +++ /dev/null @@ -1,147 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.models.extensions.List; -import com.microsoft.graph.models.extensions.ListItem; -import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveItemCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item. - */ -public class BaseSharedDriveItem extends BaseItem implements IJsonBackedObject { - - - /** - * The Owner. - * Information about the owner of the shared item being referenced. - */ - @SerializedName("owner") - @Expose - public IdentitySet owner; - - /** - * The Drive Item. - * Used to access the underlying driveItem - */ - @SerializedName("driveItem") - @Expose - public DriveItem driveItem; - - /** - * The Items. - * All driveItems contained in the sharing root. This collection cannot be enumerated. - */ - public DriveItemCollectionPage items; - - /** - * The List. - * Used to access the underlying list - */ - @SerializedName("list") - @Expose - public List list; - - /** - * The List Item. - * Used to access the underlying listItem - */ - @SerializedName("listItem") - @Expose - public ListItem listItem; - - /** - * The Root. - * Used to access the underlying driveItem. Deprecated -- use driveItem instead. - */ - @SerializedName("root") - @Expose - public DriveItem root; - - /** - * The Site. - * Used to access the underlying site - */ - @SerializedName("site") - @Expose - public Site site; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("items")) { - final BaseDriveItemCollectionResponse response = new BaseDriveItemCollectionResponse(); - if (json.has("items@odata.nextLink")) { - response.nextLink = json.get("items@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); - final DriveItem[] array = new DriveItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DriveItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - items = new DriveItemCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharedInsight.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharedInsight.java deleted file mode 100644 index eadbe78c5a9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharedInsight.java +++ /dev/null @@ -1,121 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SharingDetail; -import com.microsoft.graph.models.extensions.ResourceVisualization; -import com.microsoft.graph.models.extensions.ResourceReference; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight. - */ -public class BaseSharedInsight extends Entity implements IJsonBackedObject { - - - /** - * The Last Shared. - * - */ - @SerializedName("lastShared") - @Expose - public SharingDetail lastShared; - - /** - * The Sharing History. - * - */ - @SerializedName("sharingHistory") - @Expose - public java.util.List sharingHistory; - - /** - * The Resource Visualization. - * - */ - @SerializedName("resourceVisualization") - @Expose - public ResourceVisualization resourceVisualization; - - /** - * The Resource Reference. - * - */ - @SerializedName("resourceReference") - @Expose - public ResourceReference resourceReference; - - /** - * The Last Shared Method. - * - */ - @SerializedName("lastSharedMethod") - @Expose - public Entity lastSharedMethod; - - /** - * The Resource. - * - */ - @SerializedName("resource") - @Expose - public Entity resource; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharedPCAccountManagerPolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharedPCAccountManagerPolicy.java deleted file mode 100644 index 29a9ac47777..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharedPCAccountManagerPolicy.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.SharedPCAccountDeletionPolicyType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared PCAccount Manager Policy. - */ -public class BaseSharedPCAccountManagerPolicy implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Account Deletion Policy. - * Configures when accounts are deleted. Possible values are: immediate, diskSpaceThreshold, diskSpaceThresholdOrInactiveThreshold. - */ - @SerializedName("accountDeletionPolicy") - @Expose - public SharedPCAccountDeletionPolicyType accountDeletionPolicy; - - /** - * The Cache Accounts Above Disk Free Percentage. - * Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 - */ - @SerializedName("cacheAccountsAboveDiskFreePercentage") - @Expose - public Integer cacheAccountsAboveDiskFreePercentage; - - /** - * The Inactive Threshold Days. - * Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. - */ - @SerializedName("inactiveThresholdDays") - @Expose - public Integer inactiveThresholdDays; - - /** - * The Remove Accounts Below Disk Free Percentage. - * Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 - */ - @SerializedName("removeAccountsBelowDiskFreePercentage") - @Expose - public Integer removeAccountsBelowDiskFreePercentage; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharedPCConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharedPCConfiguration.java deleted file mode 100644 index 8a864bc0218..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharedPCConfiguration.java +++ /dev/null @@ -1,168 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SharedPCAccountManagerPolicy; -import com.microsoft.graph.models.generated.SharedPCAllowedAccountType; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared PCConfiguration. - */ -public class BaseSharedPCConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Account Manager Policy. - * Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. - */ - @SerializedName("accountManagerPolicy") - @Expose - public SharedPCAccountManagerPolicy accountManagerPolicy; - - /** - * The Allowed Accounts. - * Indicates which type of accounts are allowed to use on a shared PC. Possible values are: guest, domain. - */ - @SerializedName("allowedAccounts") - @Expose - public EnumSet allowedAccounts; - - /** - * The Allow Local Storage. - * Specifies whether local storage is allowed on a shared PC. - */ - @SerializedName("allowLocalStorage") - @Expose - public Boolean allowLocalStorage; - - /** - * The Disable Account Manager. - * Disables the account manager for shared PC mode. - */ - @SerializedName("disableAccountManager") - @Expose - public Boolean disableAccountManager; - - /** - * The Disable Edu Policies. - * Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. - */ - @SerializedName("disableEduPolicies") - @Expose - public Boolean disableEduPolicies; - - /** - * The Disable Power Policies. - * Specifies whether the default shared PC power policies should be disabled. - */ - @SerializedName("disablePowerPolicies") - @Expose - public Boolean disablePowerPolicies; - - /** - * The Disable Sign In On Resume. - * Disables the requirement to sign in whenever the device wakes up from sleep mode. - */ - @SerializedName("disableSignInOnResume") - @Expose - public Boolean disableSignInOnResume; - - /** - * The Enabled. - * Enables shared PC mode and applies the shared pc policies. - */ - @SerializedName("enabled") - @Expose - public Boolean enabled; - - /** - * The Idle Time Before Sleep In Seconds. - * Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. - */ - @SerializedName("idleTimeBeforeSleepInSeconds") - @Expose - public Integer idleTimeBeforeSleepInSeconds; - - /** - * The Kiosk App Display Name. - * Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. - */ - @SerializedName("kioskAppDisplayName") - @Expose - public String kioskAppDisplayName; - - /** - * The Kiosk App User Model Id. - * Specifies the application user model ID of the app to use with assigned access. - */ - @SerializedName("kioskAppUserModelId") - @Expose - public String kioskAppUserModelId; - - /** - * The Maintenance Start Time. - * Specifies the daily start time of maintenance hour. - */ - @SerializedName("maintenanceStartTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay maintenanceStartTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharepointIds.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharepointIds.java deleted file mode 100644 index 5c1dedf2913..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharepointIds.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Sharepoint Ids. - */ -public class BaseSharepointIds implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The List Id. - * The unique identifier (guid) for the item's list in SharePoint. - */ - @SerializedName("listId") - @Expose - public String listId; - - /** - * The List Item Id. - * An integer identifier for the item within the containing list. - */ - @SerializedName("listItemId") - @Expose - public String listItemId; - - /** - * The List Item Unique Id. - * The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. - */ - @SerializedName("listItemUniqueId") - @Expose - public String listItemUniqueId; - - /** - * The Site Id. - * The unique identifier (guid) for the item's site collection (SPSite). - */ - @SerializedName("siteId") - @Expose - public String siteId; - - /** - * The Site Url. - * The SharePoint URL for the site that contains the item. - */ - @SerializedName("siteUrl") - @Expose - public String siteUrl; - - /** - * The Web Id. - * The unique identifier (guid) for the item's site (SPWeb). - */ - @SerializedName("webId") - @Expose - public String webId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharingDetail.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharingDetail.java deleted file mode 100644 index fff0617d847..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharingDetail.java +++ /dev/null @@ -1,121 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.InsightIdentity; -import com.microsoft.graph.models.extensions.ResourceReference; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Sharing Detail. - */ -public class BaseSharingDetail implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Shared By. - * - */ - @SerializedName("sharedBy") - @Expose - public InsightIdentity sharedBy; - - /** - * The Shared Date Time. - * - */ - @SerializedName("sharedDateTime") - @Expose - public java.util.Calendar sharedDateTime; - - /** - * The Sharing Subject. - * - */ - @SerializedName("sharingSubject") - @Expose - public String sharingSubject; - - /** - * The Sharing Type. - * - */ - @SerializedName("sharingType") - @Expose - public String sharingType; - - /** - * The Sharing Reference. - * - */ - @SerializedName("sharingReference") - @Expose - public ResourceReference sharingReference; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharingInvitation.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharingInvitation.java deleted file mode 100644 index dcf6c40e532..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharingInvitation.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Sharing Invitation. - */ -public class BaseSharingInvitation implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Email. - * The email address provided for the recipient of the sharing invitation. Read-only. - */ - @SerializedName("email") - @Expose - public String email; - - /** - * The Invited By. - * Provides information about who sent the invitation that created this permission, if that information is available. Read-only. - */ - @SerializedName("invitedBy") - @Expose - public IdentitySet invitedBy; - - /** - * The Redeemed By. - * - */ - @SerializedName("redeemedBy") - @Expose - public String redeemedBy; - - /** - * The Sign In Required. - * If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. - */ - @SerializedName("signInRequired") - @Expose - public Boolean signInRequired; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSharingLink.java b/src/main/java/com/microsoft/graph/models/generated/BaseSharingLink.java deleted file mode 100644 index 02c8307167e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSharingLink.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Identity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Sharing Link. - */ -public class BaseSharingLink implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Application. - * The app the link is associated with. - */ - @SerializedName("application") - @Expose - public Identity application; - - /** - * The Scope. - * The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. - */ - @SerializedName("scope") - @Expose - public String scope; - - /** - * The Type. - * The type of the link created. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Web Url. - * A URL that opens the item in the browser on the OneDrive website. - */ - @SerializedName("webUrl") - @Expose - public String webUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSingleValueLegacyExtendedProperty.java b/src/main/java/com/microsoft/graph/models/generated/BaseSingleValueLegacyExtendedProperty.java deleted file mode 100644 index b98ded3d07a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSingleValueLegacyExtendedProperty.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property. - */ -public class BaseSingleValueLegacyExtendedProperty extends Entity implements IJsonBackedObject { - - - /** - * The Value. - * A property value. - */ - @SerializedName("value") - @Expose - public String value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSite.java b/src/main/java/com/microsoft/graph/models/generated/BaseSite.java deleted file mode 100644 index 79238306890..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSite.java +++ /dev/null @@ -1,271 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Root; -import com.microsoft.graph.models.extensions.SharepointIds; -import com.microsoft.graph.models.extensions.SiteCollection; -import com.microsoft.graph.models.extensions.ColumnDefinition; -import com.microsoft.graph.models.extensions.ContentType; -import com.microsoft.graph.models.extensions.Drive; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.models.extensions.List; -import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.models.extensions.Onenote; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionPage; -import com.microsoft.graph.requests.generated.BaseContentTypeCollectionResponse; -import com.microsoft.graph.requests.extensions.ContentTypeCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveCollectionPage; -import com.microsoft.graph.requests.generated.BaseBaseItemCollectionResponse; -import com.microsoft.graph.requests.extensions.BaseItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseListCollectionResponse; -import com.microsoft.graph.requests.extensions.ListCollectionPage; -import com.microsoft.graph.requests.generated.BaseSiteCollectionResponse; -import com.microsoft.graph.requests.extensions.SiteCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site. - */ -public class BaseSite extends BaseItem implements IJsonBackedObject { - - - /** - * The Display Name. - * The full title for the site. Read-only. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Root. - * If present, indicates that this is the root site in the site collection. Read-only. - */ - @SerializedName("root") - @Expose - public Root root; - - /** - * The Sharepoint Ids. - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - */ - @SerializedName("sharepointIds") - @Expose - public SharepointIds sharepointIds; - - /** - * The Site Collection. - * Provides details about the site's site collection. Available only on the root site. Read-only. - */ - @SerializedName("siteCollection") - @Expose - public SiteCollection siteCollection; - - /** - * The Columns. - * The collection of column definitions reusable across lists under this site. - */ - public ColumnDefinitionCollectionPage columns; - - /** - * The Content Types. - * The collection of content types defined for this site. - */ - public ContentTypeCollectionPage contentTypes; - - /** - * The Drive. - * The default drive (document library) for this site. - */ - @SerializedName("drive") - @Expose - public Drive drive; - - /** - * The Drives. - * The collection of drives (document libraries) under this site. - */ - public DriveCollectionPage drives; - - /** - * The Items. - * Used to address any item contained in this site. This collection cannot be enumerated. - */ - public BaseItemCollectionPage items; - - /** - * The Lists. - * The collection of lists under this site. - */ - public ListCollectionPage lists; - - /** - * The Sites. - * The collection of the sub-sites under this site. - */ - public SiteCollectionPage sites; - - /** - * The Onenote. - * Calls the OneNote service for notebook related operations. - */ - @SerializedName("onenote") - @Expose - public Onenote onenote; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("columns")) { - final BaseColumnDefinitionCollectionResponse response = new BaseColumnDefinitionCollectionResponse(); - if (json.has("columns@odata.nextLink")) { - response.nextLink = json.get("columns@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columns").toString(), JsonObject[].class); - final ColumnDefinition[] array = new ColumnDefinition[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ColumnDefinition.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - columns = new ColumnDefinitionCollectionPage(response, null); - } - - if (json.has("contentTypes")) { - final BaseContentTypeCollectionResponse response = new BaseContentTypeCollectionResponse(); - if (json.has("contentTypes@odata.nextLink")) { - response.nextLink = json.get("contentTypes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contentTypes").toString(), JsonObject[].class); - final ContentType[] array = new ContentType[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContentType.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contentTypes = new ContentTypeCollectionPage(response, null); - } - - if (json.has("drives")) { - final BaseDriveCollectionResponse response = new BaseDriveCollectionResponse(); - if (json.has("drives@odata.nextLink")) { - response.nextLink = json.get("drives@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("drives").toString(), JsonObject[].class); - final Drive[] array = new Drive[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Drive.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - drives = new DriveCollectionPage(response, null); - } - - if (json.has("items")) { - final BaseBaseItemCollectionResponse response = new BaseBaseItemCollectionResponse(); - if (json.has("items@odata.nextLink")) { - response.nextLink = json.get("items@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); - final BaseItem[] array = new BaseItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), BaseItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - items = new BaseItemCollectionPage(response, null); - } - - if (json.has("lists")) { - final BaseListCollectionResponse response = new BaseListCollectionResponse(); - if (json.has("lists@odata.nextLink")) { - response.nextLink = json.get("lists@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("lists").toString(), JsonObject[].class); - final List[] array = new List[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), List.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - lists = new ListCollectionPage(response, null); - } - - if (json.has("sites")) { - final BaseSiteCollectionResponse response = new BaseSiteCollectionResponse(); - if (json.has("sites@odata.nextLink")) { - response.nextLink = json.get("sites@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sites").toString(), JsonObject[].class); - final Site[] array = new Site[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Site.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sites = new SiteCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSiteCollection.java b/src/main/java/com/microsoft/graph/models/generated/BaseSiteCollection.java deleted file mode 100644 index 9ddaf7c6822..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSiteCollection.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Root; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Collection. - */ -public class BaseSiteCollection implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Hostname. - * The hostname for the site collection. Read-only. - */ - @SerializedName("hostname") - @Expose - public String hostname; - - /** - * The Root. - * If present, indicates that this is a root site collection in SharePoint. Read-only. - */ - @SerializedName("root") - @Expose - public Root root; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSizeRange.java b/src/main/java/com/microsoft/graph/models/generated/BaseSizeRange.java deleted file mode 100644 index 7250f8018ca..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSizeRange.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Size Range. - */ -public class BaseSizeRange implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Minimum Size. - * The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. - */ - @SerializedName("minimumSize") - @Expose - public Integer minimumSize; - - /** - * The Maximum Size. - * The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. - */ - @SerializedName("maximumSize") - @Expose - public Integer maximumSize; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSoftwareUpdateStatusSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseSoftwareUpdateStatusSummary.java deleted file mode 100644 index 957d3203df6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSoftwareUpdateStatusSummary.java +++ /dev/null @@ -1,190 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary. - */ -public class BaseSoftwareUpdateStatusSummary extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The name of the policy. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Compliant Device Count. - * Number of compliant devices. - */ - @SerializedName("compliantDeviceCount") - @Expose - public Integer compliantDeviceCount; - - /** - * The Non Compliant Device Count. - * Number of non compliant devices. - */ - @SerializedName("nonCompliantDeviceCount") - @Expose - public Integer nonCompliantDeviceCount; - - /** - * The Remediated Device Count. - * Number of remediated devices. - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - - /** - * The Error Device Count. - * Number of devices had error. - */ - @SerializedName("errorDeviceCount") - @Expose - public Integer errorDeviceCount; - - /** - * The Unknown Device Count. - * Number of unknown devices. - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Conflict Device Count. - * Number of conflict devices. - */ - @SerializedName("conflictDeviceCount") - @Expose - public Integer conflictDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices. - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - - /** - * The Compliant User Count. - * Number of compliant users. - */ - @SerializedName("compliantUserCount") - @Expose - public Integer compliantUserCount; - - /** - * The Non Compliant User Count. - * Number of non compliant users. - */ - @SerializedName("nonCompliantUserCount") - @Expose - public Integer nonCompliantUserCount; - - /** - * The Remediated User Count. - * Number of remediated users. - */ - @SerializedName("remediatedUserCount") - @Expose - public Integer remediatedUserCount; - - /** - * The Error User Count. - * Number of users had error. - */ - @SerializedName("errorUserCount") - @Expose - public Integer errorUserCount; - - /** - * The Unknown User Count. - * Number of unknown users. - */ - @SerializedName("unknownUserCount") - @Expose - public Integer unknownUserCount; - - /** - * The Conflict User Count. - * Number of conflict users. - */ - @SerializedName("conflictUserCount") - @Expose - public Integer conflictUserCount; - - /** - * The Not Applicable User Count. - * Number of not applicable users. - */ - @SerializedName("notApplicableUserCount") - @Expose - public Integer notApplicableUserCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSpecialFolder.java b/src/main/java/com/microsoft/graph/models/generated/BaseSpecialFolder.java deleted file mode 100644 index 95907d958e5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSpecialFolder.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Special Folder. - */ -public class BaseSpecialFolder implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * The unique identifier for this item in the /drive/special collection - */ - @SerializedName("name") - @Expose - public String name; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseStandardTimeZoneOffset.java b/src/main/java/com/microsoft/graph/models/generated/BaseStandardTimeZoneOffset.java deleted file mode 100644 index 915934c1367..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseStandardTimeZoneOffset.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DayOfWeek; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Standard Time Zone Offset. - */ -public class BaseStandardTimeZoneOffset implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Time. - * Represents the time of day when the transition from daylight saving time to standard time occurs. - */ - @SerializedName("time") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay time; - - /** - * The Day Occurrence. - * Represents the nth occurrence of the day of week that the transition from daylight saving time to standard time occurs. - */ - @SerializedName("dayOccurrence") - @Expose - public Integer dayOccurrence; - - /** - * The Day Of Week. - * Represents the day of the week when the transition from daylight saving time to standard time. - */ - @SerializedName("dayOfWeek") - @Expose - public DayOfWeek dayOfWeek; - - /** - * The Month. - * Represents the month of the year when the transition from daylight saving time to standard time occurs. - */ - @SerializedName("month") - @Expose - public Integer month; - - /** - * The Year. - * Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year. - */ - @SerializedName("year") - @Expose - public Integer year; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSubscribedSku.java b/src/main/java/com/microsoft/graph/models/generated/BaseSubscribedSku.java deleted file mode 100644 index 71231c25368..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSubscribedSku.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.LicenseUnitsDetail; -import com.microsoft.graph.models.extensions.ServicePlanInfo; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku. - */ -public class BaseSubscribedSku extends Entity implements IJsonBackedObject { - - - /** - * The Capability Status. - * For example, 'Enabled'. - */ - @SerializedName("capabilityStatus") - @Expose - public String capabilityStatus; - - /** - * The Consumed Units. - * The number of licenses that have been assigned. - */ - @SerializedName("consumedUnits") - @Expose - public Integer consumedUnits; - - /** - * The Prepaid Units. - * Information about the number and status of prepaid licenses. - */ - @SerializedName("prepaidUnits") - @Expose - public LicenseUnitsDetail prepaidUnits; - - /** - * The Service Plans. - * Information about the service plans that are available with the SKU. Not nullable - */ - @SerializedName("servicePlans") - @Expose - public java.util.List servicePlans; - - /** - * The Sku Id. - * The unique identifier (GUID) for the service SKU. - */ - @SerializedName("skuId") - @Expose - public java.util.UUID skuId; - - /** - * The Sku Part Number. - * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. - */ - @SerializedName("skuPartNumber") - @Expose - public String skuPartNumber; - - /** - * The Applies To. - * For example, 'User' or 'Company'. - */ - @SerializedName("appliesTo") - @Expose - public String appliesTo; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSubscription.java b/src/main/java/com/microsoft/graph/models/generated/BaseSubscription.java deleted file mode 100644 index e76da24a119..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSubscription.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription. - */ -public class BaseSubscription extends Entity implements IJsonBackedObject { - - - /** - * The Resource. - * Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/v1.0/). - */ - @SerializedName("resource") - @Expose - public String resource; - - /** - * The Change Type. - * Required. Indicates the type of change in the subscribed resource that will raise a notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list.Note: Drive root item notifications support only the updated changeType. User and group notifications support updated and deleted changeType. - */ - @SerializedName("changeType") - @Expose - public String changeType; - - /** - * The Client State. - * Optional. Specifies the value of the clientState property sent by the service in each notification. The maximum length is 128 characters. The client can check that the notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each notification. - */ - @SerializedName("clientState") - @Expose - public String clientState; - - /** - * The Notification Url. - * Required. The URL of the endpoint that will receive the notifications. This URL must make use of the HTTPS protocol. - */ - @SerializedName("notificationUrl") - @Expose - public String notificationUrl; - - /** - * The Expiration Date Time. - * Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. See the table below for maximum supported subscription length of time. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Application Id. - * Identifier of the application used to create the subscription. Read-only. - */ - @SerializedName("applicationId") - @Expose - public String applicationId; - - /** - * The Creator Id. - * Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the id of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the id of the service principal corresponding to the app. Read-only. - */ - @SerializedName("creatorId") - @Expose - public String creatorId; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseSystemFacet.java b/src/main/java/com/microsoft/graph/models/generated/BaseSystemFacet.java deleted file mode 100644 index fc7b76f4f98..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseSystemFacet.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base System Facet. - */ -public class BaseSystemFacet implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfiguration.java deleted file mode 100644 index bf6b6b21f33..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfiguration.java +++ /dev/null @@ -1,145 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.models.extensions.ManagedAppConfiguration; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration. - */ -public class BaseTargetedManagedAppConfiguration extends ManagedAppConfiguration implements IJsonBackedObject { - - - /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. - */ - @SerializedName("deployedAppCount") - @Expose - public Integer deployedAppCount; - - /** - * The Is Assigned. - * Indicates if the policy is deployed to any inclusion groups or not. - */ - @SerializedName("isAssigned") - @Expose - public Boolean isAssigned; - - /** - * The Apps. - * List of apps to which the policy is deployed. - */ - public ManagedMobileAppCollectionPage apps; - - /** - * The Deployment Summary. - * Navigation property to deployment summary of the configuration. - */ - @SerializedName("deploymentSummary") - @Expose - public ManagedAppPolicyDeploymentSummary deploymentSummary; - - /** - * The Assignments. - * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. - */ - public TargetedManagedAppPolicyAssignmentCollectionPage assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("apps")) { - final BaseManagedMobileAppCollectionResponse response = new BaseManagedMobileAppCollectionResponse(); - if (json.has("apps@odata.nextLink")) { - response.nextLink = json.get("apps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("apps").toString(), JsonObject[].class); - final ManagedMobileApp[] array = new ManagedMobileApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedMobileApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - apps = new ManagedMobileAppCollectionPage(response, null); - } - - if (json.has("assignments")) { - final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response = new BaseTargetedManagedAppPolicyAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final TargetedManagedAppPolicyAssignment[] array = new TargetedManagedAppPolicyAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppPolicyAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new TargetedManagedAppPolicyAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationAssignBody.java deleted file mode 100644 index cc9c8847574..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Assign Body. - */ -public class BaseTargetedManagedAppConfigurationAssignBody { - - /** - * The assignments. - * - */ - @SerializedName("assignments") - @Expose - public java.util.List assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationTargetAppsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationTargetAppsBody.java deleted file mode 100644 index a6655676636..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppConfigurationTargetAppsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Target Apps Body. - */ -public class BaseTargetedManagedAppConfigurationTargetAppsBody { - - /** - * The apps. - * - */ - @SerializedName("apps") - @Expose - public java.util.List apps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppPolicyAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppPolicyAssignment.java deleted file mode 100644 index a88135ac8da..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppPolicyAssignment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment. - */ -public class BaseTargetedManagedAppPolicyAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * Identifier for deployment of a group or app - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtection.java deleted file mode 100644 index 58deff4e3cb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtection.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.models.extensions.ManagedAppProtection; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Protection. - */ -public class BaseTargetedManagedAppProtection extends ManagedAppProtection implements IJsonBackedObject { - - - /** - * The Is Assigned. - * Indicates if the policy is deployed to any inclusion groups or not. - */ - @SerializedName("isAssigned") - @Expose - public Boolean isAssigned; - - /** - * The Assignments. - * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. - */ - public TargetedManagedAppPolicyAssignmentCollectionPage assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("assignments")) { - final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response = new BaseTargetedManagedAppPolicyAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final TargetedManagedAppPolicyAssignment[] array = new TargetedManagedAppPolicyAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppPolicyAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new TargetedManagedAppPolicyAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtectionAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtectionAssignBody.java deleted file mode 100644 index 7a4adc804e7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTargetedManagedAppProtectionAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Protection Assign Body. - */ -public class BaseTargetedManagedAppProtectionAssignBody { - - /** - * The assignments. - * - */ - @SerializedName("assignments") - @Expose - public java.util.List assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeam.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeam.java deleted file mode 100644 index 5415a54d28e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeam.java +++ /dev/null @@ -1,197 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TeamMemberSettings; -import com.microsoft.graph.models.extensions.TeamGuestSettings; -import com.microsoft.graph.models.extensions.TeamMessagingSettings; -import com.microsoft.graph.models.extensions.TeamFunSettings; -import com.microsoft.graph.models.extensions.Channel; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; -import com.microsoft.graph.models.extensions.TeamsAsyncOperation; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseChannelCollectionResponse; -import com.microsoft.graph.requests.extensions.ChannelCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationCollectionResponse; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.TeamsAsyncOperationCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team. - */ -public class BaseTeam extends Entity implements IJsonBackedObject { - - - /** - * The Web Url. - * A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. - */ - @SerializedName("webUrl") - @Expose - public String webUrl; - - /** - * The Member Settings. - * Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team. - */ - @SerializedName("memberSettings") - @Expose - public TeamMemberSettings memberSettings; - - /** - * The Guest Settings. - * Settings to configure whether guests can create, update, or delete channels in the team. - */ - @SerializedName("guestSettings") - @Expose - public TeamGuestSettings guestSettings; - - /** - * The Messaging Settings. - * Settings to configure messaging and mentions in the team. - */ - @SerializedName("messagingSettings") - @Expose - public TeamMessagingSettings messagingSettings; - - /** - * The Fun Settings. - * Settings to configure use of Giphy, memes, and stickers in the team. - */ - @SerializedName("funSettings") - @Expose - public TeamFunSettings funSettings; - - /** - * The Is Archived. - * Whether this team is in read-only mode. - */ - @SerializedName("isArchived") - @Expose - public Boolean isArchived; - - /** - * The Channels. - * The collection of channels & messages associated with the team. - */ - public ChannelCollectionPage channels; - - /** - * The Installed Apps. - * The apps installed in this team. - */ - public TeamsAppInstallationCollectionPage installedApps; - - /** - * The Operations. - * - */ - public TeamsAsyncOperationCollectionPage operations; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("channels")) { - final BaseChannelCollectionResponse response = new BaseChannelCollectionResponse(); - if (json.has("channels@odata.nextLink")) { - response.nextLink = json.get("channels@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("channels").toString(), JsonObject[].class); - final Channel[] array = new Channel[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Channel.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - channels = new ChannelCollectionPage(response, null); - } - - if (json.has("installedApps")) { - final BaseTeamsAppInstallationCollectionResponse response = new BaseTeamsAppInstallationCollectionResponse(); - if (json.has("installedApps@odata.nextLink")) { - response.nextLink = json.get("installedApps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("installedApps").toString(), JsonObject[].class); - final TeamsAppInstallation[] array = new TeamsAppInstallation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAppInstallation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - installedApps = new TeamsAppInstallationCollectionPage(response, null); - } - - if (json.has("operations")) { - final BaseTeamsAsyncOperationCollectionResponse response = new BaseTeamsAsyncOperationCollectionResponse(); - if (json.has("operations@odata.nextLink")) { - response.nextLink = json.get("operations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); - final TeamsAsyncOperation[] array = new TeamsAsyncOperation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAsyncOperation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - operations = new TeamsAsyncOperationCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamArchiveBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamArchiveBody.java deleted file mode 100644 index 0ca0af1ff0f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamArchiveBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Archive Body. - */ -public class BaseTeamArchiveBody { - - /** - * The should Set Spo Site Read Only For Members. - * - */ - @SerializedName("shouldSetSpoSiteReadOnlyForMembers") - @Expose - public Boolean shouldSetSpoSiteReadOnlyForMembers; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamClassSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamClassSettings.java deleted file mode 100644 index cda1281db6b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamClassSettings.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Class Settings. - */ -public class BaseTeamClassSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Notify Guardians About Assignments. - * - */ - @SerializedName("notifyGuardiansAboutAssignments") - @Expose - public Boolean notifyGuardiansAboutAssignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamCloneBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamCloneBody.java deleted file mode 100644 index f8eefa28ace..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamCloneBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Clone Body. - */ -public class BaseTeamCloneBody { - - /** - * The display Name. - * - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The description. - * - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The mail Nickname. - * - */ - @SerializedName("mailNickname") - @Expose - public String mailNickname; - - /** - * The classification. - * - */ - @SerializedName("classification") - @Expose - public String classification; - - /** - * The visibility. - * - */ - @SerializedName("visibility") - @Expose - public TeamVisibilityType visibility; - - /** - * The parts To Clone. - * - */ - @SerializedName("partsToClone") - @Expose - public EnumSet partsToClone; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamFunSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamFunSettings.java deleted file mode 100644 index 6335f70d635..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamFunSettings.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.GiphyRatingType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Fun Settings. - */ -public class BaseTeamFunSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Giphy. - * If set to true, enables Giphy use. - */ - @SerializedName("allowGiphy") - @Expose - public Boolean allowGiphy; - - /** - * The Giphy Content Rating. - * Giphy content rating. Possible values are: moderate, strict. - */ - @SerializedName("giphyContentRating") - @Expose - public GiphyRatingType giphyContentRating; - - /** - * The Allow Stickers And Memes. - * If set to true, enables users to include stickers and memes. - */ - @SerializedName("allowStickersAndMemes") - @Expose - public Boolean allowStickersAndMemes; - - /** - * The Allow Custom Memes. - * If set to true, enables users to include custom memes. - */ - @SerializedName("allowCustomMemes") - @Expose - public Boolean allowCustomMemes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamGuestSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamGuestSettings.java deleted file mode 100644 index 821c504fffa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamGuestSettings.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Guest Settings. - */ -public class BaseTeamGuestSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Create Update Channels. - * If set to true, guests can add and update channels. - */ - @SerializedName("allowCreateUpdateChannels") - @Expose - public Boolean allowCreateUpdateChannels; - - /** - * The Allow Delete Channels. - * If set to true, guests can delete channels. - */ - @SerializedName("allowDeleteChannels") - @Expose - public Boolean allowDeleteChannels; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamMemberSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamMemberSettings.java deleted file mode 100644 index cf2029bd5f8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamMemberSettings.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Member Settings. - */ -public class BaseTeamMemberSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Create Update Channels. - * If set to true, members can add and update channels. - */ - @SerializedName("allowCreateUpdateChannels") - @Expose - public Boolean allowCreateUpdateChannels; - - /** - * The Allow Delete Channels. - * If set to true, members can delete channels. - */ - @SerializedName("allowDeleteChannels") - @Expose - public Boolean allowDeleteChannels; - - /** - * The Allow Add Remove Apps. - * If set to true, members can add and remove apps. - */ - @SerializedName("allowAddRemoveApps") - @Expose - public Boolean allowAddRemoveApps; - - /** - * The Allow Create Update Remove Tabs. - * If set to true, members can add, update, and remove tabs. - */ - @SerializedName("allowCreateUpdateRemoveTabs") - @Expose - public Boolean allowCreateUpdateRemoveTabs; - - /** - * The Allow Create Update Remove Connectors. - * If set to true, members can add, update, and remove connectors. - */ - @SerializedName("allowCreateUpdateRemoveConnectors") - @Expose - public Boolean allowCreateUpdateRemoveConnectors; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamMessagingSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamMessagingSettings.java deleted file mode 100644 index 6611e1610f9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamMessagingSettings.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Messaging Settings. - */ -public class BaseTeamMessagingSettings implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow User Edit Messages. - * If set to true, users can edit their messages. - */ - @SerializedName("allowUserEditMessages") - @Expose - public Boolean allowUserEditMessages; - - /** - * The Allow User Delete Messages. - * If set to true, users can delete their messages. - */ - @SerializedName("allowUserDeleteMessages") - @Expose - public Boolean allowUserDeleteMessages; - - /** - * The Allow Owner Delete Messages. - * If set to true, owners can delete any message. - */ - @SerializedName("allowOwnerDeleteMessages") - @Expose - public Boolean allowOwnerDeleteMessages; - - /** - * The Allow Team Mentions. - * If set to true, @team mentions are allowed. - */ - @SerializedName("allowTeamMentions") - @Expose - public Boolean allowTeamMentions; - - /** - * The Allow Channel Mentions. - * If set to true, @channel mentions are allowed. - */ - @SerializedName("allowChannelMentions") - @Expose - public Boolean allowChannelMentions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamsApp.java deleted file mode 100644 index cc3eff681ff..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsApp.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.TeamsAppDistributionMethod; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.TeamsAppDefinitionCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App. - */ -public class BaseTeamsApp extends Entity implements IJsonBackedObject { - - - /** - * The External Id. - * The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - /** - * The Display Name. - * The name of the catalog app provided by the app developer in the Microsoft Teams zip app package. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Distribution Method. - * The method of distribution for the app. - */ - @SerializedName("distributionMethod") - @Expose - public TeamsAppDistributionMethod distributionMethod; - - /** - * The App Definitions. - * The details for each version of the app. - */ - public TeamsAppDefinitionCollectionPage appDefinitions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("appDefinitions")) { - final BaseTeamsAppDefinitionCollectionResponse response = new BaseTeamsAppDefinitionCollectionResponse(); - if (json.has("appDefinitions@odata.nextLink")) { - response.nextLink = json.get("appDefinitions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("appDefinitions").toString(), JsonObject[].class); - final TeamsAppDefinition[] array = new TeamsAppDefinition[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAppDefinition.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - appDefinitions = new TeamsAppDefinitionCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppDefinition.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppDefinition.java deleted file mode 100644 index f663bbd1756..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppDefinition.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition. - */ -public class BaseTeamsAppDefinition extends Entity implements IJsonBackedObject { - - - /** - * The Teams App Id. - * The id from the Teams App manifest. - */ - @SerializedName("teamsAppId") - @Expose - public String teamsAppId; - - /** - * The Display Name. - * The name of the app provided by the app developer. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Version. - * The version number of the application. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppInstallation.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppInstallation.java deleted file mode 100644 index 6188689c3b3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAppInstallation.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TeamsApp; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation. - */ -public class BaseTeamsAppInstallation extends Entity implements IJsonBackedObject { - - - /** - * The Teams App. - * The app that is installed. - */ - @SerializedName("teamsApp") - @Expose - public TeamsApp teamsApp; - - /** - * The Teams App Definition. - * The details of this version of the app. - */ - @SerializedName("teamsAppDefinition") - @Expose - public TeamsAppDefinition teamsAppDefinition; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAsyncOperation.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAsyncOperation.java deleted file mode 100644 index f226500ef6e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsAsyncOperation.java +++ /dev/null @@ -1,137 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.TeamsAsyncOperationType; -import com.microsoft.graph.models.generated.TeamsAsyncOperationStatus; -import com.microsoft.graph.models.extensions.OperationError; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation. - */ -public class BaseTeamsAsyncOperation extends Entity implements IJsonBackedObject { - - - /** - * The Operation Type. - * - */ - @SerializedName("operationType") - @Expose - public TeamsAsyncOperationType operationType; - - /** - * The Created Date Time. - * - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Status. - * - */ - @SerializedName("status") - @Expose - public TeamsAsyncOperationStatus status; - - /** - * The Last Action Date Time. - * - */ - @SerializedName("lastActionDateTime") - @Expose - public java.util.Calendar lastActionDateTime; - - /** - * The Attempts Count. - * - */ - @SerializedName("attemptsCount") - @Expose - public Integer attemptsCount; - - /** - * The Target Resource Id. - * - */ - @SerializedName("targetResourceId") - @Expose - public String targetResourceId; - - /** - * The Target Resource Location. - * - */ - @SerializedName("targetResourceLocation") - @Expose - public String targetResourceLocation; - - /** - * The Error. - * - */ - @SerializedName("error") - @Expose - public OperationError error; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsTab.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamsTab.java deleted file mode 100644 index 8e9731dd222..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsTab.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TeamsTabConfiguration; -import com.microsoft.graph.models.extensions.TeamsApp; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab. - */ -public class BaseTeamsTab extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Name of the tab. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Web Url. - * Deep link url of the tab instance. Read only. - */ - @SerializedName("webUrl") - @Expose - public String webUrl; - - /** - * The Configuration. - * Container for custom settings applied to a tab. The tab is considered configured only once this property is set. - */ - @SerializedName("configuration") - @Expose - public TeamsTabConfiguration configuration; - - /** - * The Teams App. - * The application that is linked to the tab. This cannot be changed after tab creation. - */ - @SerializedName("teamsApp") - @Expose - public TeamsApp teamsApp; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsTabConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseTeamsTabConfiguration.java deleted file mode 100644 index da4f8b6778c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTeamsTabConfiguration.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Configuration. - */ -public class BaseTeamsTabConfiguration implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Entity Id. - * Identifier for the entity hosted by the tab provider. - */ - @SerializedName("entityId") - @Expose - public String entityId; - - /** - * The Content Url. - * Url used for rendering tab contents in Teams. Required. - */ - @SerializedName("contentUrl") - @Expose - public String contentUrl; - - /** - * The Remove Url. - * Url called by Teams client when a Tab is removed using the Teams Client. - */ - @SerializedName("removeUrl") - @Expose - public String removeUrl; - - /** - * The Website Url. - * Url for showing tab contents outside of Teams. - */ - @SerializedName("websiteUrl") - @Expose - public String websiteUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTelecomExpenseManagementPartner.java b/src/main/java/com/microsoft/graph/models/generated/BaseTelecomExpenseManagementPartner.java deleted file mode 100644 index b03b90b0a93..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTelecomExpenseManagementPartner.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner. - */ -public class BaseTelecomExpenseManagementPartner extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * Display name of the TEM partner. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Url. - * URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. - */ - @SerializedName("url") - @Expose - public String url; - - /** - * The App Authorized. - * Whether the partner's AAD app has been authorized to access Intune. - */ - @SerializedName("appAuthorized") - @Expose - public Boolean appAuthorized; - - /** - * The Enabled. - * Whether Intune's connection to the TEM service is currently enabled or disabled. - */ - @SerializedName("enabled") - @Expose - public Boolean enabled; - - /** - * The Last Connection Date Time. - * Timestamp of the last request sent to Intune by the TEM partner. - */ - @SerializedName("lastConnectionDateTime") - @Expose - public java.util.Calendar lastConnectionDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditions.java b/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditions.java deleted file mode 100644 index db986853166..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditions.java +++ /dev/null @@ -1,184 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; -import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions. - */ -public class BaseTermsAndConditions extends Entity implements IJsonBackedObject { - - - /** - * The Created Date Time. - * DateTime the object was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Display Name. - * Administrator-supplied name for the T&C policy. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Administrator-supplied description of the T&C policy. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Title. - * Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Body Text. - * Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. - */ - @SerializedName("bodyText") - @Expose - public String bodyText; - - /** - * The Acceptance Statement. - * Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy. - */ - @SerializedName("acceptanceStatement") - @Expose - public String acceptanceStatement; - - /** - * The Version. - * Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. - */ - @SerializedName("version") - @Expose - public Integer version; - - /** - * The Assignments. - * The list of assignments for this T&C policy. - */ - public TermsAndConditionsAssignmentCollectionPage assignments; - - /** - * The Acceptance Statuses. - * The list of acceptance statuses for this T&C policy. - */ - public TermsAndConditionsAcceptanceStatusCollectionPage acceptanceStatuses; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("assignments")) { - final BaseTermsAndConditionsAssignmentCollectionResponse response = new BaseTermsAndConditionsAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final TermsAndConditionsAssignment[] array = new TermsAndConditionsAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TermsAndConditionsAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new TermsAndConditionsAssignmentCollectionPage(response, null); - } - - if (json.has("acceptanceStatuses")) { - final BaseTermsAndConditionsAcceptanceStatusCollectionResponse response = new BaseTermsAndConditionsAcceptanceStatusCollectionResponse(); - if (json.has("acceptanceStatuses@odata.nextLink")) { - response.nextLink = json.get("acceptanceStatuses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("acceptanceStatuses").toString(), JsonObject[].class); - final TermsAndConditionsAcceptanceStatus[] array = new TermsAndConditionsAcceptanceStatus[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TermsAndConditionsAcceptanceStatus.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - acceptanceStatuses = new TermsAndConditionsAcceptanceStatusCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAcceptanceStatus.java b/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAcceptanceStatus.java deleted file mode 100644 index 657649c6af4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAcceptanceStatus.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.TermsAndConditions; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status. - */ -public class BaseTermsAndConditionsAcceptanceStatus extends Entity implements IJsonBackedObject { - - - /** - * The User Display Name. - * Display name of the user whose acceptance the entity represents. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - - /** - * The Accepted Version. - * Most recent version number of the T&C accepted by the user. - */ - @SerializedName("acceptedVersion") - @Expose - public Integer acceptedVersion; - - /** - * The Accepted Date Time. - * DateTime when the terms were last accepted by the user. - */ - @SerializedName("acceptedDateTime") - @Expose - public java.util.Calendar acceptedDateTime; - - /** - * The Terms And Conditions. - * Navigation link to the terms and conditions that are assigned. - */ - @SerializedName("termsAndConditions") - @Expose - public TermsAndConditions termsAndConditions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAssignment.java b/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAssignment.java deleted file mode 100644 index c636a5b3a8d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTermsAndConditionsAssignment.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment. - */ -public class BaseTermsAndConditionsAssignment extends Entity implements IJsonBackedObject { - - - /** - * The Target. - * Assignment target that the T&C policy is assigned to. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTextColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseTextColumn.java deleted file mode 100644 index c46ff86ba44..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTextColumn.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Text Column. - */ -public class BaseTextColumn implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Multiple Lines. - * Whether to allow multiple lines of text. - */ - @SerializedName("allowMultipleLines") - @Expose - public Boolean allowMultipleLines; - - /** - * The Append Changes To Existing Text. - * Whether updates to this column should replace existing text, or append to it. - */ - @SerializedName("appendChangesToExistingText") - @Expose - public Boolean appendChangesToExistingText; - - /** - * The Lines For Editing. - * The size of the text box. - */ - @SerializedName("linesForEditing") - @Expose - public Integer linesForEditing; - - /** - * The Max Length. - * The maximum number of characters for the value. - */ - @SerializedName("maxLength") - @Expose - public Integer maxLength; - - /** - * The Text Type. - * The type of text being stored. Must be one of plain or richText - */ - @SerializedName("textType") - @Expose - public String textType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseThumbnail.java b/src/main/java/com/microsoft/graph/models/generated/BaseThumbnail.java deleted file mode 100644 index 0c50a4333a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseThumbnail.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail. - */ -public class BaseThumbnail implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Height. - * The height of the thumbnail, in pixels. - */ - @SerializedName("height") - @Expose - public Integer height; - - /** - * The Source Item Id. - * The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested. - */ - @SerializedName("sourceItemId") - @Expose - public String sourceItemId; - - /** - * The Url. - * The URL used to fetch the thumbnail content. - */ - @SerializedName("url") - @Expose - public String url; - - /** - * The Width. - * The width of the thumbnail, in pixels. - */ - @SerializedName("width") - @Expose - public Integer width; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseThumbnailSet.java b/src/main/java/com/microsoft/graph/models/generated/BaseThumbnailSet.java deleted file mode 100644 index 8bc643269ef..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseThumbnailSet.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Thumbnail; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set. - */ -public class BaseThumbnailSet extends Entity implements IJsonBackedObject { - - - /** - * The Large. - * A 1920x1920 scaled thumbnail. - */ - @SerializedName("large") - @Expose - public Thumbnail large; - - /** - * The Medium. - * A 176x176 scaled thumbnail. - */ - @SerializedName("medium") - @Expose - public Thumbnail medium; - - /** - * The Small. - * A 48x48 cropped thumbnail. - */ - @SerializedName("small") - @Expose - public Thumbnail small; - - /** - * The Source. - * A custom thumbnail image or the original image used to generate other thumbnails. - */ - @SerializedName("source") - @Expose - public Thumbnail source; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTimeConstraint.java b/src/main/java/com/microsoft/graph/models/generated/BaseTimeConstraint.java deleted file mode 100644 index fc2d702ecfe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTimeConstraint.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ActivityDomain; -import com.microsoft.graph.models.extensions.TimeSlot; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Time Constraint. - */ -public class BaseTimeConstraint implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Activity Domain. - * The nature of the activity, optional. The possible values are: work, personal, unrestricted, or unknown. - */ - @SerializedName("activityDomain") - @Expose - public ActivityDomain activityDomain; - - /** - * The Timeslots. - * An array of time periods. - */ - @SerializedName("timeslots") - @Expose - public java.util.List timeslots; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTimeSlot.java b/src/main/java/com/microsoft/graph/models/generated/BaseTimeSlot.java deleted file mode 100644 index ced859c60ad..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTimeSlot.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Time Slot. - */ -public class BaseTimeSlot implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Start. - * The time the period ends. - */ - @SerializedName("start") - @Expose - public DateTimeTimeZone start; - - /** - * The End. - * The time a period begins. - */ - @SerializedName("end") - @Expose - public DateTimeTimeZone end; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneBase.java b/src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneBase.java deleted file mode 100644 index 030d18f902f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneBase.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Time Zone Base. - */ -public class BaseTimeZoneBase implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Name. - * The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone. - */ - @SerializedName("name") - @Expose - public String name; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneInformation.java b/src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneInformation.java deleted file mode 100644 index 2290b655979..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTimeZoneInformation.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Time Zone Information. - */ -public class BaseTimeZoneInformation implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Alias. - * An identifier for the time zone. - */ - @SerializedName("alias") - @Expose - public String alias; - - /** - * The Display Name. - * A display string that represents the time zone. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseTrending.java b/src/main/java/com/microsoft/graph/models/generated/BaseTrending.java deleted file mode 100644 index 52ea165cab2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseTrending.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ResourceVisualization; -import com.microsoft.graph.models.extensions.ResourceReference; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending. - */ -public class BaseTrending extends Entity implements IJsonBackedObject { - - - /** - * The Weight. - * - */ - @SerializedName("weight") - @Expose - public Double weight; - - /** - * The Resource Visualization. - * - */ - @SerializedName("resourceVisualization") - @Expose - public ResourceVisualization resourceVisualization; - - /** - * The Resource Reference. - * - */ - @SerializedName("resourceReference") - @Expose - public ResourceReference resourceReference; - - /** - * The Last Modified Date Time. - * - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Resource. - * - */ - @SerializedName("resource") - @Expose - public Entity resource; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUpdateWindowsDeviceAccountActionParameter.java b/src/main/java/com/microsoft/graph/models/generated/BaseUpdateWindowsDeviceAccountActionParameter.java deleted file mode 100644 index 8b90ce118bc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUpdateWindowsDeviceAccountActionParameter.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsDeviceAccount; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Update Windows Device Account Action Parameter. - */ -public class BaseUpdateWindowsDeviceAccountActionParameter implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Device Account. - * Not yet documented - */ - @SerializedName("deviceAccount") - @Expose - public WindowsDeviceAccount deviceAccount; - - /** - * The Password Rotation Enabled. - * Not yet documented - */ - @SerializedName("passwordRotationEnabled") - @Expose - public Boolean passwordRotationEnabled; - - /** - * The Calendar Sync Enabled. - * Not yet documented - */ - @SerializedName("calendarSyncEnabled") - @Expose - public Boolean calendarSyncEnabled; - - /** - * The Device Account Email. - * Not yet documented - */ - @SerializedName("deviceAccountEmail") - @Expose - public String deviceAccountEmail; - - /** - * The Exchange Server. - * Not yet documented - */ - @SerializedName("exchangeServer") - @Expose - public String exchangeServer; - - /** - * The Session Initiation Protocal Address. - * Not yet documented - */ - @SerializedName("sessionInitiationProtocalAddress") - @Expose - public String sessionInitiationProtocalAddress; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUploadSession.java b/src/main/java/com/microsoft/graph/models/generated/BaseUploadSession.java deleted file mode 100644 index 762d9cebe79..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUploadSession.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Upload Session. - */ -public class BaseUploadSession implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Expiration Date Time. - * The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Next Expected Ranges. - * A collection of byte ranges that the server is missing for the file. These ranges are zero indexed and of the format 'start-end' (e.g. '0-26' to indicate the first 27 bytes of the file). - */ - @SerializedName("nextExpectedRanges") - @Expose - public java.util.List nextExpectedRanges; - - /** - * The Upload Url. - * The URL endpoint that accepts PUT requests for byte ranges of the file. - */ - @SerializedName("uploadUrl") - @Expose - public String uploadUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUsageDetails.java b/src/main/java/com/microsoft/graph/models/generated/BaseUsageDetails.java deleted file mode 100644 index 07a81fb7b18..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUsageDetails.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Usage Details. - */ -public class BaseUsageDetails implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Last Accessed Date Time. - * - */ - @SerializedName("lastAccessedDateTime") - @Expose - public java.util.Calendar lastAccessedDateTime; - - /** - * The Last Modified Date Time. - * - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUsedInsight.java b/src/main/java/com/microsoft/graph/models/generated/BaseUsedInsight.java deleted file mode 100644 index 0471348f072..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUsedInsight.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.UsageDetails; -import com.microsoft.graph.models.extensions.ResourceVisualization; -import com.microsoft.graph.models.extensions.ResourceReference; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight. - */ -public class BaseUsedInsight extends Entity implements IJsonBackedObject { - - - /** - * The Last Used. - * - */ - @SerializedName("lastUsed") - @Expose - public UsageDetails lastUsed; - - /** - * The Resource Visualization. - * - */ - @SerializedName("resourceVisualization") - @Expose - public ResourceVisualization resourceVisualization; - - /** - * The Resource Reference. - * - */ - @SerializedName("resourceReference") - @Expose - public ResourceReference resourceReference; - - /** - * The Resource. - * - */ - @SerializedName("resource") - @Expose - public Entity resource; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUser.java b/src/main/java/com/microsoft/graph/models/generated/BaseUser.java deleted file mode 100644 index 10778e5a9a1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUser.java +++ /dev/null @@ -1,1160 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AssignedLicense; -import com.microsoft.graph.models.extensions.AssignedPlan; -import com.microsoft.graph.models.extensions.OnPremisesExtensionAttributes; -import com.microsoft.graph.models.extensions.OnPremisesProvisioningError; -import com.microsoft.graph.models.extensions.PasswordProfile; -import com.microsoft.graph.models.extensions.ProvisionedPlan; -import com.microsoft.graph.models.extensions.MailboxSettings; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.extensions.LicenseDetails; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.models.extensions.OutlookUser; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.models.extensions.CalendarGroup; -import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.models.extensions.Person; -import com.microsoft.graph.models.extensions.Contact; -import com.microsoft.graph.models.extensions.ContactFolder; -import com.microsoft.graph.models.extensions.InferenceClassification; -import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.models.extensions.Drive; -import com.microsoft.graph.models.extensions.PlannerUser; -import com.microsoft.graph.models.extensions.Onenote; -import com.microsoft.graph.models.extensions.ManagedDevice; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; -import com.microsoft.graph.models.extensions.UserActivity; -import com.microsoft.graph.models.extensions.OfficeGraphInsights; -import com.microsoft.graph.models.extensions.UserSettings; -import com.microsoft.graph.models.extensions.Group; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsCollectionResponse; -import com.microsoft.graph.requests.extensions.LicenseDetailsCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageCollectionResponse; -import com.microsoft.graph.requests.extensions.MessageCollectionPage; -import com.microsoft.graph.requests.generated.BaseMailFolderCollectionResponse; -import com.microsoft.graph.requests.extensions.MailFolderCollectionPage; -import com.microsoft.graph.requests.generated.BaseCalendarCollectionResponse; -import com.microsoft.graph.requests.extensions.CalendarCollectionPage; -import com.microsoft.graph.requests.generated.BaseCalendarGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.CalendarGroupCollectionPage; -import com.microsoft.graph.requests.generated.BaseEventCollectionResponse; -import com.microsoft.graph.requests.extensions.EventCollectionPage; -import com.microsoft.graph.requests.generated.BasePersonCollectionResponse; -import com.microsoft.graph.requests.extensions.PersonCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactCollectionResponse; -import com.microsoft.graph.requests.extensions.ContactCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactFolderCollectionResponse; -import com.microsoft.graph.requests.extensions.ContactFolderCollectionPage; -import com.microsoft.graph.requests.generated.BaseProfilePhotoCollectionResponse; -import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveCollectionResponse; -import com.microsoft.graph.requests.extensions.DriveCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserActivityCollectionResponse; -import com.microsoft.graph.requests.extensions.UserActivityCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User. - */ -public class BaseUser extends DirectoryObject implements IJsonBackedObject { - - - /** - * The Account Enabled. - * true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter. - */ - @SerializedName("accountEnabled") - @Expose - public Boolean accountEnabled; - - /** - * The Age Group. - * Sets the age group of the user. Allowed values: null, minor, notAdult and adult. Refer to the legal age group property definitions for further information. - */ - @SerializedName("ageGroup") - @Expose - public String ageGroup; - - /** - * The Assigned Licenses. - * The licenses that are assigned to the user. Not nullable. - */ - @SerializedName("assignedLicenses") - @Expose - public java.util.List assignedLicenses; - - /** - * The Assigned Plans. - * The plans that are assigned to the user. Read-only. Not nullable. - */ - @SerializedName("assignedPlans") - @Expose - public java.util.List assignedPlans; - - /** - * The Business Phones. - * The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. - */ - @SerializedName("businessPhones") - @Expose - public java.util.List businessPhones; - - /** - * The City. - * The city in which the user is located. Supports $filter. - */ - @SerializedName("city") - @Expose - public String city; - - /** - * The Company Name. - * The company name which the user is associated. Read-only. - */ - @SerializedName("companyName") - @Expose - public String companyName; - - /** - * The Consent Provided For Minor. - * Sets whether consent has been obtained for minors. Allowed values: null, granted, denied and notRequired. Refer to the legal age group property definitions for further information. - */ - @SerializedName("consentProvidedForMinor") - @Expose - public String consentProvidedForMinor; - - /** - * The Country. - * The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter. - */ - @SerializedName("country") - @Expose - public String country; - - /** - * The Department. - * The name for the department in which the user works. Supports $filter. - */ - @SerializedName("department") - @Expose - public String department; - - /** - * The Display Name. - * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Given Name. - * The given name (first name) of the user. Supports $filter. - */ - @SerializedName("givenName") - @Expose - public String givenName; - - /** - * The Im Addresses. - * The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. - */ - @SerializedName("imAddresses") - @Expose - public java.util.List imAddresses; - - /** - * The Job Title. - * The user’s job title. Supports $filter. - */ - @SerializedName("jobTitle") - @Expose - public String jobTitle; - - /** - * The Legal Age Group Classification. - * Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, minorWithOutParentalConsent, minorWithParentalConsent, minorNoParentalConsentRequired, notAdult and adult. Refer to the legal age group property definitions for further information.) - */ - @SerializedName("legalAgeGroupClassification") - @Expose - public String legalAgeGroupClassification; - - /** - * The Mail. - * The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports $filter. - */ - @SerializedName("mail") - @Expose - public String mail; - - /** - * The Mail Nickname. - * The mail alias for the user. This property must be specified when a user is created. Supports $filter. - */ - @SerializedName("mailNickname") - @Expose - public String mailNickname; - - /** - * The Mobile Phone. - * The primary cellular telephone number for the user. - */ - @SerializedName("mobilePhone") - @Expose - public String mobilePhone; - - /** - * The On Premises Extension Attributes. - * Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, this set of properties is mastered on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. - */ - @SerializedName("onPremisesExtensionAttributes") - @Expose - public OnPremisesExtensionAttributes onPremisesExtensionAttributes; - - /** - * The On Premises Immutable Id. - * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this property. Supports $filter. - */ - @SerializedName("onPremisesImmutableId") - @Expose - public String onPremisesImmutableId; - - /** - * The On Premises Last Sync Date Time. - * Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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 would look like this: '2014-01-01T00:00:00Z'. Read-only. - */ - @SerializedName("onPremisesLastSyncDateTime") - @Expose - public java.util.Calendar onPremisesLastSyncDateTime; - - /** - * The On Premises Provisioning Errors. - * Errors when using Microsoft synchronization product during provisioning. - */ - @SerializedName("onPremisesProvisioningErrors") - @Expose - public java.util.List onPremisesProvisioningErrors; - - /** - * The On Premises Security Identifier. - * Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. - */ - @SerializedName("onPremisesSecurityIdentifier") - @Expose - public String onPremisesSecurityIdentifier; - - /** - * The On Premises Sync Enabled. - * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only - */ - @SerializedName("onPremisesSyncEnabled") - @Expose - public Boolean onPremisesSyncEnabled; - - /** - * The On Premises Domain Name. - * Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. - */ - @SerializedName("onPremisesDomainName") - @Expose - public String onPremisesDomainName; - - /** - * The On Premises Sam Account Name. - * Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. - */ - @SerializedName("onPremisesSamAccountName") - @Expose - public String onPremisesSamAccountName; - - /** - * The On Premises User Principal Name. - * Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. - */ - @SerializedName("onPremisesUserPrincipalName") - @Expose - public String onPremisesUserPrincipalName; - - /** - * The Password Policies. - * Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two may be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'. - */ - @SerializedName("passwordPolicies") - @Expose - public String passwordPolicies; - - /** - * The Password Profile. - * Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. - */ - @SerializedName("passwordProfile") - @Expose - public PasswordProfile passwordProfile; - - /** - * The Office Location. - * The office location in the user's place of business. - */ - @SerializedName("officeLocation") - @Expose - public String officeLocation; - - /** - * The Postal Code. - * The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. - */ - @SerializedName("postalCode") - @Expose - public String postalCode; - - /** - * The Preferred Language. - * The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'. - */ - @SerializedName("preferredLanguage") - @Expose - public String preferredLanguage; - - /** - * The Provisioned Plans. - * The plans that are provisioned for the user. Read-only. Not nullable. - */ - @SerializedName("provisionedPlans") - @Expose - public java.util.List provisionedPlans; - - /** - * The Proxy Addresses. - * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Read-only, Not nullable. Supports $filter. - */ - @SerializedName("proxyAddresses") - @Expose - public java.util.List proxyAddresses; - - /** - * The State. - * The state or province in the user's address. Supports $filter. - */ - @SerializedName("state") - @Expose - public String state; - - /** - * The Street Address. - * The street address of the user's place of business. - */ - @SerializedName("streetAddress") - @Expose - public String streetAddress; - - /** - * The Surname. - * The user's surname (family name or last name). Supports $filter. - */ - @SerializedName("surname") - @Expose - public String surname; - - /** - * The Usage Location. - * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter. - */ - @SerializedName("usageLocation") - @Expose - public String usageLocation; - - /** - * The User Principal Name. - * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Supports $filter and $orderby. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The User Type. - * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter. - */ - @SerializedName("userType") - @Expose - public String userType; - - /** - * The Mailbox Settings. - * 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. - */ - @SerializedName("mailboxSettings") - @Expose - public MailboxSettings mailboxSettings; - - /** - * The About Me. - * A freeform text entry field for the user to describe themselves. - */ - @SerializedName("aboutMe") - @Expose - public String aboutMe; - - /** - * The Birthday. - * The birthday of the user. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("birthday") - @Expose - public java.util.Calendar birthday; - - /** - * The Hire Date. - * The hire date of the user. 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 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("hireDate") - @Expose - public java.util.Calendar hireDate; - - /** - * The Interests. - * A list for the user to describe their interests. - */ - @SerializedName("interests") - @Expose - public java.util.List interests; - - /** - * The My Site. - * The URL for the user's personal site. - */ - @SerializedName("mySite") - @Expose - public String mySite; - - /** - * The Past Projects. - * A list for the user to enumerate their past projects. - */ - @SerializedName("pastProjects") - @Expose - public java.util.List pastProjects; - - /** - * The Preferred Name. - * The preferred name for the user. - */ - @SerializedName("preferredName") - @Expose - public String preferredName; - - /** - * The Responsibilities. - * A list for the user to enumerate their responsibilities. - */ - @SerializedName("responsibilities") - @Expose - public java.util.List responsibilities; - - /** - * The Schools. - * A list for the user to enumerate the schools they have attended. - */ - @SerializedName("schools") - @Expose - public java.util.List schools; - - /** - * The Skills. - * A list for the user to enumerate their skills. - */ - @SerializedName("skills") - @Expose - public java.util.List skills; - - /** - * The Device Enrollment Limit. - * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - */ - @SerializedName("deviceEnrollmentLimit") - @Expose - public Integer deviceEnrollmentLimit; - - /** - * The Owned Devices. - * Devices that are owned by the user. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage ownedDevices; - - /** - * The Registered Devices. - * Devices that are registered for the user. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage registeredDevices; - - /** - * The Manager. - * The user or contact that is this user’s manager. Read-only. (HTTP Methods: GET, PUT, DELETE.) - */ - @SerializedName("manager") - @Expose - public DirectoryObject manager; - - /** - * The Direct Reports. - * The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. - */ - public DirectoryObjectCollectionPage directReports; - - /** - * The Member Of. - * The groups and directory roles that the user is a member of. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage memberOf; - - /** - * The Created Objects. - * Directory objects that were created by the user. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage createdObjects; - - /** - * The Owned Objects. - * Directory objects that are owned by the user. Read-only. Nullable. - */ - public DirectoryObjectCollectionPage ownedObjects; - - /** - * The License Details. - * A collection of this user's license details. Nullable. - */ - public LicenseDetailsCollectionPage licenseDetails; - - /** - * The Extensions. - * The collection of open extensions defined for the user. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The Outlook. - * Read-only. - */ - @SerializedName("outlook") - @Expose - public OutlookUser outlook; - - /** - * The Messages. - * The messages in a mailbox or folder. Read-only. Nullable. - */ - public MessageCollectionPage messages; - - /** - * The Mail Folders. - * The user's mail folders. Read-only. Nullable. - */ - public MailFolderCollectionPage mailFolders; - - /** - * The Calendar. - * The user's primary calendar. Read-only. - */ - @SerializedName("calendar") - @Expose - public Calendar calendar; - - /** - * The Calendars. - * The user's calendars. Read-only. Nullable. - */ - public CalendarCollectionPage calendars; - - /** - * The Calendar Groups. - * The user's calendar groups. Read-only. Nullable. - */ - public CalendarGroupCollectionPage calendarGroups; - - /** - * The Calendar View. - * The calendar view for the calendar. Read-only. Nullable. - */ - public EventCollectionPage calendarView; - - /** - * The Events. - * The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable. - */ - public EventCollectionPage events; - - /** - * The People. - * People that are relevant to the user. Read-only. Nullable. - */ - public PersonCollectionPage people; - - /** - * The Contacts. - * The user's contacts. Read-only. Nullable. - */ - public ContactCollectionPage contacts; - - /** - * The Contact Folders. - * The user's contacts folders. Read-only. Nullable. - */ - public ContactFolderCollectionPage contactFolders; - - /** - * The Inference Classification. - * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. - */ - @SerializedName("inferenceClassification") - @Expose - public InferenceClassification inferenceClassification; - - /** - * The Photo. - * The user's profile photo. Read-only. - */ - @SerializedName("photo") - @Expose - public ProfilePhoto photo; - - /** - * The Photos. - * - */ - public ProfilePhotoCollectionPage photos; - - /** - * The Drive. - * The user's OneDrive. Read-only. - */ - @SerializedName("drive") - @Expose - public Drive drive; - - /** - * The Drives. - * A collection of drives available for this user. Read-only. - */ - public DriveCollectionPage drives; - - /** - * The Planner. - * Entry-point to the Planner resource that might exist for a user. Read-only. - */ - @SerializedName("planner") - @Expose - public PlannerUser planner; - - /** - * The Onenote. - * Read-only. - */ - @SerializedName("onenote") - @Expose - public Onenote onenote; - - /** - * The Managed Devices. - * The managed devices associated with the user. - */ - public ManagedDeviceCollectionPage managedDevices; - - /** - * The Managed App Registrations. - * Zero or more managed app registrations that belong to the user. - */ - public ManagedAppRegistrationCollectionPage managedAppRegistrations; - - /** - * The Device Management Troubleshooting Events. - * The list of troubleshooting events for this user. - */ - public DeviceManagementTroubleshootingEventCollectionPage deviceManagementTroubleshootingEvents; - - /** - * The Activities. - * The user's activities across devices. Read-only. Nullable. - */ - public UserActivityCollectionPage activities; - - /** - * The Insights. - * - */ - @SerializedName("insights") - @Expose - public OfficeGraphInsights insights; - - /** - * The Settings. - * - */ - @SerializedName("settings") - @Expose - public UserSettings settings; - - /** - * The Joined Teams. - * - */ - public GroupCollectionPage joinedTeams; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("ownedDevices")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("ownedDevices@odata.nextLink")) { - response.nextLink = json.get("ownedDevices@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("ownedDevices").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - ownedDevices = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("registeredDevices")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("registeredDevices@odata.nextLink")) { - response.nextLink = json.get("registeredDevices@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("registeredDevices").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - registeredDevices = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("directReports")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("directReports@odata.nextLink")) { - response.nextLink = json.get("directReports@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("directReports").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - directReports = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("memberOf")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("memberOf@odata.nextLink")) { - response.nextLink = json.get("memberOf@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("memberOf").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - memberOf = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("createdObjects")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("createdObjects@odata.nextLink")) { - response.nextLink = json.get("createdObjects@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("createdObjects").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - createdObjects = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("ownedObjects")) { - final BaseDirectoryObjectCollectionResponse response = new BaseDirectoryObjectCollectionResponse(); - if (json.has("ownedObjects@odata.nextLink")) { - response.nextLink = json.get("ownedObjects@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("ownedObjects").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - ownedObjects = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("licenseDetails")) { - final BaseLicenseDetailsCollectionResponse response = new BaseLicenseDetailsCollectionResponse(); - if (json.has("licenseDetails@odata.nextLink")) { - response.nextLink = json.get("licenseDetails@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("licenseDetails").toString(), JsonObject[].class); - final LicenseDetails[] array = new LicenseDetails[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), LicenseDetails.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - licenseDetails = new LicenseDetailsCollectionPage(response, null); - } - - if (json.has("extensions")) { - final BaseExtensionCollectionResponse response = new BaseExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); - } - - if (json.has("messages")) { - final BaseMessageCollectionResponse response = new BaseMessageCollectionResponse(); - if (json.has("messages@odata.nextLink")) { - response.nextLink = json.get("messages@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messages").toString(), JsonObject[].class); - final Message[] array = new Message[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Message.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - messages = new MessageCollectionPage(response, null); - } - - if (json.has("mailFolders")) { - final BaseMailFolderCollectionResponse response = new BaseMailFolderCollectionResponse(); - if (json.has("mailFolders@odata.nextLink")) { - response.nextLink = json.get("mailFolders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mailFolders").toString(), JsonObject[].class); - final MailFolder[] array = new MailFolder[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MailFolder.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mailFolders = new MailFolderCollectionPage(response, null); - } - - if (json.has("calendars")) { - final BaseCalendarCollectionResponse response = new BaseCalendarCollectionResponse(); - if (json.has("calendars@odata.nextLink")) { - response.nextLink = json.get("calendars@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendars").toString(), JsonObject[].class); - final Calendar[] array = new Calendar[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Calendar.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendars = new CalendarCollectionPage(response, null); - } - - if (json.has("calendarGroups")) { - final BaseCalendarGroupCollectionResponse response = new BaseCalendarGroupCollectionResponse(); - if (json.has("calendarGroups@odata.nextLink")) { - response.nextLink = json.get("calendarGroups@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarGroups").toString(), JsonObject[].class); - final CalendarGroup[] array = new CalendarGroup[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), CalendarGroup.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendarGroups = new CalendarGroupCollectionPage(response, null); - } - - if (json.has("calendarView")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("calendarView@odata.nextLink")) { - response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendarView = new EventCollectionPage(response, null); - } - - if (json.has("events")) { - final BaseEventCollectionResponse response = new BaseEventCollectionResponse(); - if (json.has("events@odata.nextLink")) { - response.nextLink = json.get("events@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - events = new EventCollectionPage(response, null); - } - - if (json.has("people")) { - final BasePersonCollectionResponse response = new BasePersonCollectionResponse(); - if (json.has("people@odata.nextLink")) { - response.nextLink = json.get("people@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("people").toString(), JsonObject[].class); - final Person[] array = new Person[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Person.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - people = new PersonCollectionPage(response, null); - } - - if (json.has("contacts")) { - final BaseContactCollectionResponse response = new BaseContactCollectionResponse(); - if (json.has("contacts@odata.nextLink")) { - response.nextLink = json.get("contacts@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contacts").toString(), JsonObject[].class); - final Contact[] array = new Contact[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Contact.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contacts = new ContactCollectionPage(response, null); - } - - if (json.has("contactFolders")) { - final BaseContactFolderCollectionResponse response = new BaseContactFolderCollectionResponse(); - if (json.has("contactFolders@odata.nextLink")) { - response.nextLink = json.get("contactFolders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("contactFolders").toString(), JsonObject[].class); - final ContactFolder[] array = new ContactFolder[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContactFolder.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - contactFolders = new ContactFolderCollectionPage(response, null); - } - - if (json.has("photos")) { - final BaseProfilePhotoCollectionResponse response = new BaseProfilePhotoCollectionResponse(); - if (json.has("photos@odata.nextLink")) { - response.nextLink = json.get("photos@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("photos").toString(), JsonObject[].class); - final ProfilePhoto[] array = new ProfilePhoto[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ProfilePhoto.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - photos = new ProfilePhotoCollectionPage(response, null); - } - - if (json.has("drives")) { - final BaseDriveCollectionResponse response = new BaseDriveCollectionResponse(); - if (json.has("drives@odata.nextLink")) { - response.nextLink = json.get("drives@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("drives").toString(), JsonObject[].class); - final Drive[] array = new Drive[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Drive.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - drives = new DriveCollectionPage(response, null); - } - - if (json.has("managedDevices")) { - final BaseManagedDeviceCollectionResponse response = new BaseManagedDeviceCollectionResponse(); - if (json.has("managedDevices@odata.nextLink")) { - response.nextLink = json.get("managedDevices@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedDevices").toString(), JsonObject[].class); - final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedDevices = new ManagedDeviceCollectionPage(response, null); - } - - if (json.has("managedAppRegistrations")) { - final BaseManagedAppRegistrationCollectionResponse response = new BaseManagedAppRegistrationCollectionResponse(); - if (json.has("managedAppRegistrations@odata.nextLink")) { - response.nextLink = json.get("managedAppRegistrations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppRegistrations").toString(), JsonObject[].class); - final ManagedAppRegistration[] array = new ManagedAppRegistration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppRegistration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedAppRegistrations = new ManagedAppRegistrationCollectionPage(response, null); - } - - if (json.has("deviceManagementTroubleshootingEvents")) { - final BaseDeviceManagementTroubleshootingEventCollectionResponse response = new BaseDeviceManagementTroubleshootingEventCollectionResponse(); - if (json.has("deviceManagementTroubleshootingEvents@odata.nextLink")) { - response.nextLink = json.get("deviceManagementTroubleshootingEvents@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementTroubleshootingEvents").toString(), JsonObject[].class); - final DeviceManagementTroubleshootingEvent[] array = new DeviceManagementTroubleshootingEvent[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementTroubleshootingEvent.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceManagementTroubleshootingEvents = new DeviceManagementTroubleshootingEventCollectionPage(response, null); - } - - if (json.has("activities")) { - final BaseUserActivityCollectionResponse response = new BaseUserActivityCollectionResponse(); - if (json.has("activities@odata.nextLink")) { - response.nextLink = json.get("activities@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("activities").toString(), JsonObject[].class); - final UserActivity[] array = new UserActivity[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserActivity.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - activities = new UserActivityCollectionPage(response, null); - } - - if (json.has("joinedTeams")) { - final BaseGroupCollectionResponse response = new BaseGroupCollectionResponse(); - if (json.has("joinedTeams@odata.nextLink")) { - response.nextLink = json.get("joinedTeams@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("joinedTeams").toString(), JsonObject[].class); - final Group[] array = new Group[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Group.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - joinedTeams = new GroupCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserActivity.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserActivity.java deleted file mode 100644 index a88e5f38e84..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserActivity.java +++ /dev/null @@ -1,201 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.VisualInfo; -import com.microsoft.graph.models.generated.Status; -import com.microsoft.graph.models.extensions.ActivityHistoryItem; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemCollectionResponse; -import com.microsoft.graph.requests.extensions.ActivityHistoryItemCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity. - */ -public class BaseUserActivity extends Entity implements IJsonBackedObject { - - - /** - * The Visual Elements. - * Required. The object containing information to render the activity in the UX. - */ - @SerializedName("visualElements") - @Expose - public VisualInfo visualElements; - - /** - * The Activity Source Host. - * Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. - */ - @SerializedName("activitySourceHost") - @Expose - public String activitySourceHost; - - /** - * The Activation Url. - * Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists. - */ - @SerializedName("activationUrl") - @Expose - public String activationUrl; - - /** - * The App Activity Id. - * Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. - */ - @SerializedName("appActivityId") - @Expose - public String appActivityId; - - /** - * The App Display Name. - * Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. - */ - @SerializedName("appDisplayName") - @Expose - public String appDisplayName; - - /** - * The Content Url. - * Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). - */ - @SerializedName("contentUrl") - @Expose - public String contentUrl; - - /** - * The Created Date Time. - * Set by the server. DateTime in UTC when the object was created on the server. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Expiration Date Time. - * Set by the server. DateTime in UTC when the object expired on the server. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Fallback Url. - * Optional. URL used to launch the activity in a web-based app, if available. - */ - @SerializedName("fallbackUrl") - @Expose - public String fallbackUrl; - - /** - * The Last Modified Date Time. - * Set by the server. DateTime in UTC when the object was modified on the server. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The User Timezone. - * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation. - */ - @SerializedName("userTimezone") - @Expose - public String userTimezone; - - /** - * The Content Info. - * Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. - */ - @SerializedName("contentInfo") - @Expose - public com.google.gson.JsonElement contentInfo; - - /** - * The Status. - * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. - */ - @SerializedName("status") - @Expose - public Status status; - - /** - * The History Items. - * Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - */ - public ActivityHistoryItemCollectionPage historyItems; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("historyItems")) { - final BaseActivityHistoryItemCollectionResponse response = new BaseActivityHistoryItemCollectionResponse(); - if (json.has("historyItems@odata.nextLink")) { - response.nextLink = json.get("historyItems@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("historyItems").toString(), JsonObject[].class); - final ActivityHistoryItem[] array = new ActivityHistoryItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ActivityHistoryItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - historyItems = new ActivityHistoryItemCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserAssignLicenseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserAssignLicenseBody.java deleted file mode 100644 index 5c9d082fcc7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserAssignLicenseBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Assign License Body. - */ -public class BaseUserAssignLicenseBody { - - /** - * The add Licenses. - * - */ - @SerializedName("addLicenses") - @Expose - public java.util.List addLicenses; - - /** - * The remove Licenses. - * - */ - @SerializedName("removeLicenses") - @Expose - public java.util.List removeLicenses; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserChangePasswordBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserChangePasswordBody.java deleted file mode 100644 index 16f51cc6745..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserChangePasswordBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Change Password Body. - */ -public class BaseUserChangePasswordBody { - - /** - * The current Password. - * - */ - @SerializedName("currentPassword") - @Expose - public String currentPassword; - - /** - * The new Password. - * - */ - @SerializedName("newPassword") - @Expose - public String newPassword; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserExportPersonalDataBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserExportPersonalDataBody.java deleted file mode 100644 index 10b07ef3239..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserExportPersonalDataBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Export Personal Data Body. - */ -public class BaseUserExportPersonalDataBody { - - /** - * The storage Location. - * - */ - @SerializedName("storageLocation") - @Expose - public String storageLocation; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserFindMeetingTimesBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserFindMeetingTimesBody.java deleted file mode 100644 index cf207c7e1c4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserFindMeetingTimesBody.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Find Meeting Times Body. - */ -public class BaseUserFindMeetingTimesBody { - - /** - * The attendees. - * - */ - @SerializedName("attendees") - @Expose - public java.util.List attendees; - - /** - * The location Constraint. - * - */ - @SerializedName("locationConstraint") - @Expose - public LocationConstraint locationConstraint; - - /** - * The time Constraint. - * - */ - @SerializedName("timeConstraint") - @Expose - public TimeConstraint timeConstraint; - - /** - * The meeting Duration. - * - */ - @SerializedName("meetingDuration") - @Expose - public javax.xml.datatype.Duration meetingDuration; - - /** - * The max Candidates. - * - */ - @SerializedName("maxCandidates") - @Expose - public Integer maxCandidates; - - /** - * The is Organizer Optional. - * - */ - @SerializedName("isOrganizerOptional") - @Expose - public Boolean isOrganizerOptional; - - /** - * The return Suggestion Reasons. - * - */ - @SerializedName("returnSuggestionReasons") - @Expose - public Boolean returnSuggestionReasons; - - /** - * The minimum Attendee Percentage. - * - */ - @SerializedName("minimumAttendeePercentage") - @Expose - public Double minimumAttendeePercentage; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserGetMailTipsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserGetMailTipsBody.java deleted file mode 100644 index 52bcd73bba7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserGetMailTipsBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Mail Tips Body. - */ -public class BaseUserGetMailTipsBody { - - /** - * The email Addresses. - * - */ - @SerializedName("emailAddresses") - @Expose - public java.util.List emailAddresses; - - /** - * The mail Tips Options. - * - */ - @SerializedName("mailTipsOptions") - @Expose - public EnumSet mailTipsOptions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserInstallStateSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserInstallStateSummary.java deleted file mode 100644 index b7b4baa6b67..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserInstallStateSummary.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceInstallState; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary. - */ -public class BaseUserInstallStateSummary extends Entity implements IJsonBackedObject { - - - /** - * The User Name. - * User name. - */ - @SerializedName("userName") - @Expose - public String userName; - - /** - * The Installed Device Count. - * Installed Device Count. - */ - @SerializedName("installedDeviceCount") - @Expose - public Integer installedDeviceCount; - - /** - * The Failed Device Count. - * Failed Device Count. - */ - @SerializedName("failedDeviceCount") - @Expose - public Integer failedDeviceCount; - - /** - * The Not Installed Device Count. - * Not installed device count. - */ - @SerializedName("notInstalledDeviceCount") - @Expose - public Integer notInstalledDeviceCount; - - /** - * The Device States. - * The install state of the eBook. - */ - public DeviceInstallStateCollectionPage deviceStates; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("deviceStates")) { - final BaseDeviceInstallStateCollectionResponse response = new BaseDeviceInstallStateCollectionResponse(); - if (json.has("deviceStates@odata.nextLink")) { - response.nextLink = json.get("deviceStates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStates").toString(), JsonObject[].class); - final DeviceInstallState[] array = new DeviceInstallState[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceInstallState.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceStates = new DeviceInstallStateCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserSecurityState.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserSecurityState.java deleted file mode 100644 index 5af7a87f57c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserSecurityState.java +++ /dev/null @@ -1,194 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.EmailRole; -import com.microsoft.graph.models.generated.LogonType; -import com.microsoft.graph.models.generated.UserAccountSecurityType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Security State. - */ -public class BaseUserSecurityState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Aad User Id. - * AAD User object identifier (GUID) - represents the physical/multi-account user entity. - */ - @SerializedName("aadUserId") - @Expose - public String aadUserId; - - /** - * The Account Name. - * Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName). - */ - @SerializedName("accountName") - @Expose - public String accountName; - - /** - * The Domain Name. - * NetBIOS/Active Directory domain of user account (that is, domain/account format). - */ - @SerializedName("domainName") - @Expose - public String domainName; - - /** - * The Email Role. - * For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. - */ - @SerializedName("emailRole") - @Expose - public EmailRole emailRole; - - /** - * The Is Vpn. - * Indicates whether the user logged on through a VPN. - */ - @SerializedName("isVpn") - @Expose - public Boolean isVpn; - - /** - * The Logon Date Time. - * Time at which the sign-in occurred. 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 would look like this: '2014-01-01T00:00:00Z'. - */ - @SerializedName("logonDateTime") - @Expose - public java.util.Calendar logonDateTime; - - /** - * The Logon Id. - * User sign-in ID. - */ - @SerializedName("logonId") - @Expose - public String logonId; - - /** - * The Logon Ip. - * IP Address the sign-in request originated from. - */ - @SerializedName("logonIp") - @Expose - public String logonIp; - - /** - * The Logon Location. - * Location (by IP address mapping) associated with a user sign-in event by this user. - */ - @SerializedName("logonLocation") - @Expose - public String logonLocation; - - /** - * The Logon Type. - * Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. - */ - @SerializedName("logonType") - @Expose - public LogonType logonType; - - /** - * The On Premises Security Identifier. - * Active Directory (on-premises) Security Identifier (SID) of the user. - */ - @SerializedName("onPremisesSecurityIdentifier") - @Expose - public String onPremisesSecurityIdentifier; - - /** - * The Risk Score. - * Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage. - */ - @SerializedName("riskScore") - @Expose - public String riskScore; - - /** - * The User Account Type. - * User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. - */ - @SerializedName("userAccountType") - @Expose - public UserAccountSecurityType userAccountType; - - /** - * The User Principal Name. - * User sign-in name - internet format: (user account name)@(user account DNS domain name). - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserSendMailBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserSendMailBody.java deleted file mode 100644 index 066be3ee674..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserSendMailBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Send Mail Body. - */ -public class BaseUserSendMailBody { - - /** - * The message. - * - */ - @SerializedName("message") - @Expose - public Message message; - - /** - * The save To Sent Items. - * - */ - @SerializedName("saveToSentItems") - @Expose - public Boolean saveToSentItems; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserSettings.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserSettings.java deleted file mode 100644 index f9320c079d8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserSettings.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Settings. - */ -public class BaseUserSettings extends Entity implements IJsonBackedObject { - - - /** - * The Contribution To Content Discovery Disabled. - * - */ - @SerializedName("contributionToContentDiscoveryDisabled") - @Expose - public Boolean contributionToContentDiscoveryDisabled; - - /** - * The Contribution To Content Discovery As Organization Disabled. - * - */ - @SerializedName("contributionToContentDiscoveryAsOrganizationDisabled") - @Expose - public Boolean contributionToContentDiscoveryAsOrganizationDisabled; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagBody.java deleted file mode 100644 index a15406da02a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Wipe Managed App Registrations By Device Tag Body. - */ -public class BaseUserWipeManagedAppRegistrationsByDeviceTagBody { - - /** - * The device Tag. - * - */ - @SerializedName("deviceTag") - @Expose - public String deviceTag; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseVerifiedDomain.java b/src/main/java/com/microsoft/graph/models/generated/BaseVerifiedDomain.java deleted file mode 100644 index 4ae25228bce..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseVerifiedDomain.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Verified Domain. - */ -public class BaseVerifiedDomain implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Capabilities. - * For example, 'Email', 'OfficeCommunicationsOnline'. - */ - @SerializedName("capabilities") - @Expose - public String capabilities; - - /** - * The Is Default. - * true if this is the default domain associated with the tenant; otherwise, false. - */ - @SerializedName("isDefault") - @Expose - public Boolean isDefault; - - /** - * The Is Initial. - * true if this is the initial domain associated with the tenant; otherwise, false - */ - @SerializedName("isInitial") - @Expose - public Boolean isInitial; - - /** - * The Name. - * The domain name; for example, 'contoso.onmicrosoft.com' - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Type. - * For example, 'Managed'. - */ - @SerializedName("type") - @Expose - public String type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseVideo.java b/src/main/java/com/microsoft/graph/models/generated/BaseVideo.java deleted file mode 100644 index e8dce48c0ef..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseVideo.java +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Video. - */ -public class BaseVideo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Audio Bits Per Sample. - * Number of audio bits per sample. - */ - @SerializedName("audioBitsPerSample") - @Expose - public Integer audioBitsPerSample; - - /** - * The Audio Channels. - * Number of audio channels. - */ - @SerializedName("audioChannels") - @Expose - public Integer audioChannels; - - /** - * The Audio Format. - * Name of the audio format (AAC, MP3, etc.). - */ - @SerializedName("audioFormat") - @Expose - public String audioFormat; - - /** - * The Audio Samples Per Second. - * Number of audio samples per second. - */ - @SerializedName("audioSamplesPerSecond") - @Expose - public Integer audioSamplesPerSecond; - - /** - * The Bitrate. - * Bit rate of the video in bits per second. - */ - @SerializedName("bitrate") - @Expose - public Integer bitrate; - - /** - * The Duration. - * Duration of the file in milliseconds. - */ - @SerializedName("duration") - @Expose - public Long duration; - - /** - * The Four CC. - * 'Four character code' name of the video format. - */ - @SerializedName("fourCC") - @Expose - public String fourCC; - - /** - * The Frame Rate. - * Frame rate of the video. - */ - @SerializedName("frameRate") - @Expose - public Double frameRate; - - /** - * The Height. - * Height of the video, in pixels. - */ - @SerializedName("height") - @Expose - public Integer height; - - /** - * The Width. - * Width of the video, in pixels. - */ - @SerializedName("width") - @Expose - public Integer width; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseVisualInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseVisualInfo.java deleted file mode 100644 index 8f41df10b4d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseVisualInfo.java +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ImageInfo; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Visual Info. - */ -public class BaseVisualInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Attribution. - * Optional. JSON object used to represent an icon which represents the application used to generate the activity - */ - @SerializedName("attribution") - @Expose - public ImageInfo attribution; - - /** - * The Background Color. - * Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color - */ - @SerializedName("backgroundColor") - @Expose - public String backgroundColor; - - /** - * The Description. - * Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Display Text. - * Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation) - */ - @SerializedName("displayText") - @Expose - public String displayText; - - /** - * The Content. - * Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI - */ - @SerializedName("content") - @Expose - public com.google.gson.JsonElement content; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseVppLicensingType.java b/src/main/java/com/microsoft/graph/models/generated/BaseVppLicensingType.java deleted file mode 100644 index 7b3d387d546..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseVppLicensingType.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Licensing Type. - */ -public class BaseVppLicensingType implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Supports User Licensing. - * Whether the program supports the user licensing type. - */ - @SerializedName("supportsUserLicensing") - @Expose - public Boolean supportsUserLicensing; - - /** - * The Supports Device Licensing. - * Whether the program supports the device licensing type. - */ - @SerializedName("supportsDeviceLicensing") - @Expose - public Boolean supportsDeviceLicensing; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseVppToken.java b/src/main/java/com/microsoft/graph/models/generated/BaseVppToken.java deleted file mode 100644 index ea673959db8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseVppToken.java +++ /dev/null @@ -1,161 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.VppTokenAccountType; -import com.microsoft.graph.models.generated.VppTokenState; -import com.microsoft.graph.models.generated.VppTokenSyncStatus; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token. - */ -public class BaseVppToken extends Entity implements IJsonBackedObject { - - - /** - * The Organization Name. - * The organization associated with the Apple Volume Purchase Program Token - */ - @SerializedName("organizationName") - @Expose - public String organizationName; - - /** - * The Vpp Token Account Type. - * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. - */ - @SerializedName("vppTokenAccountType") - @Expose - public VppTokenAccountType vppTokenAccountType; - - /** - * The Apple Id. - * The apple Id associated with the given Apple Volume Purchase Program Token. - */ - @SerializedName("appleId") - @Expose - public String appleId; - - /** - * The Expiration Date Time. - * The expiration date time of the Apple Volume Purchase Program Token. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Last Sync Date Time. - * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. - */ - @SerializedName("lastSyncDateTime") - @Expose - public java.util.Calendar lastSyncDateTime; - - /** - * The Token. - * The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. - */ - @SerializedName("token") - @Expose - public String token; - - /** - * The Last Modified Date Time. - * Last modification date time associated with the Apple Volume Purchase Program Token. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The State. - * Current state of the Apple Volume Purchase Program Token. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. - */ - @SerializedName("state") - @Expose - public VppTokenState state; - - /** - * The Last Sync Status. - * Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: none, inProgress, completed, failed. Possible values are: none, inProgress, completed, failed. - */ - @SerializedName("lastSyncStatus") - @Expose - public VppTokenSyncStatus lastSyncStatus; - - /** - * The Automatically Update Apps. - * Whether or not apps for the VPP token will be automatically updated. - */ - @SerializedName("automaticallyUpdateApps") - @Expose - public Boolean automaticallyUpdateApps; - - /** - * The Country Or Region. - * Whether or not apps for the VPP token will be automatically updated. - */ - @SerializedName("countryOrRegion") - @Expose - public String countryOrRegion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseVulnerabilityState.java b/src/main/java/com/microsoft/graph/models/generated/BaseVulnerabilityState.java deleted file mode 100644 index 7bbedb59be1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseVulnerabilityState.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vulnerability State. - */ -public class BaseVulnerabilityState implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Cve. - * Common Vulnerabilities and Exposures (CVE) for the vulnerability. - */ - @SerializedName("cve") - @Expose - public String cve; - - /** - * The Severity. - * Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability. - */ - @SerializedName("severity") - @Expose - public String severity; - - /** - * The Was Running. - * Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk. - */ - @SerializedName("wasRunning") - @Expose - public Boolean wasRunning; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWebApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseWebApp.java deleted file mode 100644 index 3ecc1fe9d50..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWebApp.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Web App. - */ -public class BaseWebApp extends MobileApp implements IJsonBackedObject { - - - /** - * The App Url. - * The web app URL. - */ - @SerializedName("appUrl") - @Expose - public String appUrl; - - /** - * The Use Managed Browser. - * Whether or not to use managed browser. This property is only applicable for Android and IOS. - */ - @SerializedName("useManagedBrowser") - @Expose - public Boolean useManagedBrowser; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWebsite.java b/src/main/java/com/microsoft/graph/models/generated/BaseWebsite.java deleted file mode 100644 index b6ba896b8c8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWebsite.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WebsiteType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Website. - */ -public class BaseWebsite implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Type. - * The possible values are: other, home, work, blog, profile. - */ - @SerializedName("type") - @Expose - public WebsiteType type; - - /** - * The Address. - * The URL of the website. - */ - @SerializedName("address") - @Expose - public String address; - - /** - * The Display Name. - * The display name of the web site. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10CompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10CompliancePolicy.java deleted file mode 100644 index eb101c87a43..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10CompliancePolicy.java +++ /dev/null @@ -1,223 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Compliance Policy. - */ -public class BaseWindows10CompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Required. - * Require a password to unlock Windows device. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Block Simple. - * Indicates whether or not to block simple password. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Required To Unlock From Idle. - * Require a password to unlock an idle device. - */ - @SerializedName("passwordRequiredToUnlockFromIdle") - @Expose - public Boolean passwordRequiredToUnlockFromIdle; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Expiration Days. - * The password expiration in days. - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * The minimum password length. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Previous Password Block Count. - * The number of previous passwords to prevent re-use of. - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Require Healthy Device Report. - * Require devices to be reported as healthy by Windows Device Health Attestation. - */ - @SerializedName("requireHealthyDeviceReport") - @Expose - public Boolean requireHealthyDeviceReport; - - /** - * The Os Minimum Version. - * Minimum Windows 10 version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum Windows 10 version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Mobile Os Minimum Version. - * Minimum Windows Phone version. - */ - @SerializedName("mobileOsMinimumVersion") - @Expose - public String mobileOsMinimumVersion; - - /** - * The Mobile Os Maximum Version. - * Maximum Windows Phone version. - */ - @SerializedName("mobileOsMaximumVersion") - @Expose - public String mobileOsMaximumVersion; - - /** - * The Early Launch Anti Malware Driver Enabled. - * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. - */ - @SerializedName("earlyLaunchAntiMalwareDriverEnabled") - @Expose - public Boolean earlyLaunchAntiMalwareDriverEnabled; - - /** - * The Bit Locker Enabled. - * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled - */ - @SerializedName("bitLockerEnabled") - @Expose - public Boolean bitLockerEnabled; - - /** - * The Secure Boot Enabled. - * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. - */ - @SerializedName("secureBootEnabled") - @Expose - public Boolean secureBootEnabled; - - /** - * The Code Integrity Enabled. - * Require devices to be reported as healthy by Windows Device Health Attestation. - */ - @SerializedName("codeIntegrityEnabled") - @Expose - public Boolean codeIntegrityEnabled; - - /** - * The Storage Require Encryption. - * Require encryption on windows devices. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10CustomConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10CustomConfiguration.java deleted file mode 100644 index bd1a5610857..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10CustomConfiguration.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Custom Configuration. - */ -public class BaseWindows10CustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Oma Settings. - * OMA settings. This collection can contain a maximum of 1000 elements. - */ - @SerializedName("omaSettings") - @Expose - public java.util.List omaSettings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10EndpointProtectionConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10EndpointProtectionConfiguration.java deleted file mode 100644 index c3a89677e88..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10EndpointProtectionConfiguration.java +++ /dev/null @@ -1,366 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.FirewallPreSharedKeyEncodingMethodType; -import com.microsoft.graph.models.generated.FirewallCertificateRevocationListCheckMethodType; -import com.microsoft.graph.models.generated.FirewallPacketQueueingMethodType; -import com.microsoft.graph.models.extensions.WindowsFirewallNetworkProfile; -import com.microsoft.graph.models.generated.AppLockerApplicationControlType; -import com.microsoft.graph.models.generated.ApplicationGuardBlockFileTransferType; -import com.microsoft.graph.models.generated.ApplicationGuardBlockClipboardSharingType; -import com.microsoft.graph.models.extensions.BitLockerRemovableDrivePolicy; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Endpoint Protection Configuration. - */ -public class BaseWindows10EndpointProtectionConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Firewall Block Stateful FTP. - * Blocks stateful FTP connections to the device - */ - @SerializedName("firewallBlockStatefulFTP") - @Expose - public Boolean firewallBlockStatefulFTP; - - /** - * The Firewall Idle Timeout For Security Association In Seconds. - * Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600 - */ - @SerializedName("firewallIdleTimeoutForSecurityAssociationInSeconds") - @Expose - public Integer firewallIdleTimeoutForSecurityAssociationInSeconds; - - /** - * The Firewall Pre Shared Key Encoding Method. - * Select the preshared key encoding to be used. Possible values are: deviceDefault, none, utF8. - */ - @SerializedName("firewallPreSharedKeyEncodingMethod") - @Expose - public FirewallPreSharedKeyEncodingMethodType firewallPreSharedKeyEncodingMethod; - - /** - * The Firewall IPSec Exemptions Allow Neighbor Discovery. - * Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes - */ - @SerializedName("firewallIPSecExemptionsAllowNeighborDiscovery") - @Expose - public Boolean firewallIPSecExemptionsAllowNeighborDiscovery; - - /** - * The Firewall IPSec Exemptions Allow ICMP. - * Configures IPSec exemptions to allow ICMP - */ - @SerializedName("firewallIPSecExemptionsAllowICMP") - @Expose - public Boolean firewallIPSecExemptionsAllowICMP; - - /** - * The Firewall IPSec Exemptions Allow Router Discovery. - * Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes - */ - @SerializedName("firewallIPSecExemptionsAllowRouterDiscovery") - @Expose - public Boolean firewallIPSecExemptionsAllowRouterDiscovery; - - /** - * The Firewall IPSec Exemptions Allow DHCP. - * Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic - */ - @SerializedName("firewallIPSecExemptionsAllowDHCP") - @Expose - public Boolean firewallIPSecExemptionsAllowDHCP; - - /** - * The Firewall Certificate Revocation List Check Method. - * Specify how the certificate revocation list is to be enforced. Possible values are: deviceDefault, none, attempt, require. - */ - @SerializedName("firewallCertificateRevocationListCheckMethod") - @Expose - public FirewallCertificateRevocationListCheckMethodType firewallCertificateRevocationListCheckMethod; - - /** - * The Firewall Merge Keying Module Settings. - * If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set - */ - @SerializedName("firewallMergeKeyingModuleSettings") - @Expose - public Boolean firewallMergeKeyingModuleSettings; - - /** - * The Firewall Packet Queueing Method. - * Configures how packet queueing should be applied in the tunnel gateway scenario. Possible values are: deviceDefault, disabled, queueInbound, queueOutbound, queueBoth. - */ - @SerializedName("firewallPacketQueueingMethod") - @Expose - public FirewallPacketQueueingMethodType firewallPacketQueueingMethod; - - /** - * The Firewall Profile Domain. - * Configures the firewall profile settings for domain networks - */ - @SerializedName("firewallProfileDomain") - @Expose - public WindowsFirewallNetworkProfile firewallProfileDomain; - - /** - * The Firewall Profile Public. - * Configures the firewall profile settings for public networks - */ - @SerializedName("firewallProfilePublic") - @Expose - public WindowsFirewallNetworkProfile firewallProfilePublic; - - /** - * The Firewall Profile Private. - * Configures the firewall profile settings for private networks - */ - @SerializedName("firewallProfilePrivate") - @Expose - public WindowsFirewallNetworkProfile firewallProfilePrivate; - - /** - * The Defender Attack Surface Reduction Excluded Paths. - * List of exe files and folders to be excluded from attack surface reduction rules - */ - @SerializedName("defenderAttackSurfaceReductionExcludedPaths") - @Expose - public java.util.List defenderAttackSurfaceReductionExcludedPaths; - - /** - * The Defender Guarded Folders Allowed App Paths. - * List of paths to exe that are allowed to access protected folders - */ - @SerializedName("defenderGuardedFoldersAllowedAppPaths") - @Expose - public java.util.List defenderGuardedFoldersAllowedAppPaths; - - /** - * The Defender Additional Guarded Folders. - * List of folder paths to be added to the list of protected folders - */ - @SerializedName("defenderAdditionalGuardedFolders") - @Expose - public java.util.List defenderAdditionalGuardedFolders; - - /** - * The Defender Exploit Protection Xml. - * Xml content containing information regarding exploit protection details. - */ - @SerializedName("defenderExploitProtectionXml") - @Expose - public byte[] defenderExploitProtectionXml; - - /** - * The Defender Exploit Protection Xml File Name. - * Name of the file from which DefenderExploitProtectionXml was obtained. - */ - @SerializedName("defenderExploitProtectionXmlFileName") - @Expose - public String defenderExploitProtectionXmlFileName; - - /** - * The Defender Security Center Block Exploit Protection Override. - * Indicates whether or not to block user from overriding Exploit Protection settings. - */ - @SerializedName("defenderSecurityCenterBlockExploitProtectionOverride") - @Expose - public Boolean defenderSecurityCenterBlockExploitProtectionOverride; - - /** - * The App Locker Application Control. - * Enables the Admin to choose what types of app to allow on devices. Possible values are: notConfigured, enforceComponentsAndStoreApps, auditComponentsAndStoreApps, enforceComponentsStoreAppsAndSmartlocker, auditComponentsStoreAppsAndSmartlocker. - */ - @SerializedName("appLockerApplicationControl") - @Expose - public AppLockerApplicationControlType appLockerApplicationControl; - - /** - * The Smart Screen Enable In Shell. - * Allows IT Admins to configure SmartScreen for Windows. - */ - @SerializedName("smartScreenEnableInShell") - @Expose - public Boolean smartScreenEnableInShell; - - /** - * The Smart Screen Block Override For Files. - * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. - */ - @SerializedName("smartScreenBlockOverrideForFiles") - @Expose - public Boolean smartScreenBlockOverrideForFiles; - - /** - * The Application Guard Enabled. - * Enable Windows Defender Application Guard - */ - @SerializedName("applicationGuardEnabled") - @Expose - public Boolean applicationGuardEnabled; - - /** - * The Application Guard Block File Transfer. - * Block clipboard to transfer image file, text file or neither of them. Possible values are: notConfigured, blockImageAndTextFile, blockImageFile, blockNone, blockTextFile. - */ - @SerializedName("applicationGuardBlockFileTransfer") - @Expose - public ApplicationGuardBlockFileTransferType applicationGuardBlockFileTransfer; - - /** - * The Application Guard Block Non Enterprise Content. - * Block enterprise sites to load non-enterprise content, such as third party plug-ins - */ - @SerializedName("applicationGuardBlockNonEnterpriseContent") - @Expose - public Boolean applicationGuardBlockNonEnterpriseContent; - - /** - * The Application Guard Allow Persistence. - * Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.) - */ - @SerializedName("applicationGuardAllowPersistence") - @Expose - public Boolean applicationGuardAllowPersistence; - - /** - * The Application Guard Force Auditing. - * Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.) - */ - @SerializedName("applicationGuardForceAuditing") - @Expose - public Boolean applicationGuardForceAuditing; - - /** - * The Application Guard Block Clipboard Sharing. - * Block clipboard to share data from Host to Container, or from Container to Host, or both ways, or neither ways. Possible values are: notConfigured, blockBoth, blockHostToContainer, blockContainerToHost, blockNone. - */ - @SerializedName("applicationGuardBlockClipboardSharing") - @Expose - public ApplicationGuardBlockClipboardSharingType applicationGuardBlockClipboardSharing; - - /** - * The Application Guard Allow Print To PDF. - * Allow printing to PDF from Container - */ - @SerializedName("applicationGuardAllowPrintToPDF") - @Expose - public Boolean applicationGuardAllowPrintToPDF; - - /** - * The Application Guard Allow Print To XPS. - * Allow printing to XPS from Container - */ - @SerializedName("applicationGuardAllowPrintToXPS") - @Expose - public Boolean applicationGuardAllowPrintToXPS; - - /** - * The Application Guard Allow Print To Local Printers. - * Allow printing to Local Printers from Container - */ - @SerializedName("applicationGuardAllowPrintToLocalPrinters") - @Expose - public Boolean applicationGuardAllowPrintToLocalPrinters; - - /** - * The Application Guard Allow Print To Network Printers. - * Allow printing to Network Printers from Container - */ - @SerializedName("applicationGuardAllowPrintToNetworkPrinters") - @Expose - public Boolean applicationGuardAllowPrintToNetworkPrinters; - - /** - * The Bit Locker Disable Warning For Other Disk Encryption. - * Allows the Admin to disable the warning prompt for other disk encryption on the user machines. - */ - @SerializedName("bitLockerDisableWarningForOtherDiskEncryption") - @Expose - public Boolean bitLockerDisableWarningForOtherDiskEncryption; - - /** - * The Bit Locker Enable Storage Card Encryption On Mobile. - * Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU. - */ - @SerializedName("bitLockerEnableStorageCardEncryptionOnMobile") - @Expose - public Boolean bitLockerEnableStorageCardEncryptionOnMobile; - - /** - * The Bit Locker Encrypt Device. - * Allows the admin to require encryption to be turned on using BitLocker. - */ - @SerializedName("bitLockerEncryptDevice") - @Expose - public Boolean bitLockerEncryptDevice; - - /** - * The Bit Locker Removable Drive Policy. - * BitLocker Removable Drive Policy. - */ - @SerializedName("bitLockerRemovableDrivePolicy") - @Expose - public BitLockerRemovableDrivePolicy bitLockerRemovableDrivePolicy; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10EnterpriseModernAppManagementConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10EnterpriseModernAppManagementConfiguration.java deleted file mode 100644 index f112791a3da..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10EnterpriseModernAppManagementConfiguration.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Enterprise Modern App Management Configuration. - */ -public class BaseWindows10EnterpriseModernAppManagementConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Uninstall Built In Apps. - * Indicates whether or not to uninstall a fixed list of built-in Windows apps. - */ - @SerializedName("uninstallBuiltInApps") - @Expose - public Boolean uninstallBuiltInApps; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10GeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10GeneralConfiguration.java deleted file mode 100644 index 8a65ab1051b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10GeneralConfiguration.java +++ /dev/null @@ -1,1687 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DiagnosticDataSubmissionMode; -import com.microsoft.graph.models.generated.EdgeCookiePolicy; -import com.microsoft.graph.models.extensions.DefenderDetectedMalwareActions; -import com.microsoft.graph.models.generated.WeeklySchedule; -import com.microsoft.graph.models.generated.DefenderMonitorFileActivity; -import com.microsoft.graph.models.generated.DefenderPromptForSampleSubmission; -import com.microsoft.graph.models.generated.DefenderScanType; -import com.microsoft.graph.models.generated.DefenderCloudBlockLevelType; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.generated.StateManagementSetting; -import com.microsoft.graph.models.generated.WindowsStartMenuAppListVisibilityType; -import com.microsoft.graph.models.generated.WindowsStartMenuModeType; -import com.microsoft.graph.models.generated.VisibilitySetting; -import com.microsoft.graph.models.generated.WindowsSpotlightEnablementSettings; -import com.microsoft.graph.models.extensions.Windows10NetworkProxyServer; -import com.microsoft.graph.models.generated.SafeSearchFilterType; -import com.microsoft.graph.models.extensions.EdgeSearchEngineBase; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10General Configuration. - */ -public class BaseWindows10GeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Enterprise Cloud Print Discovery End Point. - * Endpoint for discovering cloud printers. - */ - @SerializedName("enterpriseCloudPrintDiscoveryEndPoint") - @Expose - public String enterpriseCloudPrintDiscoveryEndPoint; - - /** - * The Enterprise Cloud Print OAuth Authority. - * Authentication endpoint for acquiring OAuth tokens. - */ - @SerializedName("enterpriseCloudPrintOAuthAuthority") - @Expose - public String enterpriseCloudPrintOAuthAuthority; - - /** - * The Enterprise Cloud Print OAuth Client Identifier. - * GUID of a client application authorized to retrieve OAuth tokens from the OAuth Authority. - */ - @SerializedName("enterpriseCloudPrintOAuthClientIdentifier") - @Expose - public String enterpriseCloudPrintOAuthClientIdentifier; - - /** - * The Enterprise Cloud Print Resource Identifier. - * OAuth resource URI for print service as configured in the Azure portal. - */ - @SerializedName("enterpriseCloudPrintResourceIdentifier") - @Expose - public String enterpriseCloudPrintResourceIdentifier; - - /** - * The Enterprise Cloud Print Discovery Max Limit. - * Maximum number of printers that should be queried from a discovery endpoint. This is a mobile only setting. Valid values 1 to 65535 - */ - @SerializedName("enterpriseCloudPrintDiscoveryMaxLimit") - @Expose - public Integer enterpriseCloudPrintDiscoveryMaxLimit; - - /** - * The Enterprise Cloud Print Mopria Discovery Resource Identifier. - * OAuth resource URI for printer discovery service as configured in Azure portal. - */ - @SerializedName("enterpriseCloudPrintMopriaDiscoveryResourceIdentifier") - @Expose - public String enterpriseCloudPrintMopriaDiscoveryResourceIdentifier; - - /** - * The Search Block Diacritics. - * Specifies if search can use diacritics. - */ - @SerializedName("searchBlockDiacritics") - @Expose - public Boolean searchBlockDiacritics; - - /** - * The Search Disable Auto Language Detection. - * Specifies whether to use automatic language detection when indexing content and properties. - */ - @SerializedName("searchDisableAutoLanguageDetection") - @Expose - public Boolean searchDisableAutoLanguageDetection; - - /** - * The Search Disable Indexing Encrypted Items. - * Indicates whether or not to block indexing of WIP-protected items to prevent them from appearing in search results for Cortana or Explorer. - */ - @SerializedName("searchDisableIndexingEncryptedItems") - @Expose - public Boolean searchDisableIndexingEncryptedItems; - - /** - * The Search Enable Remote Queries. - * Indicates whether or not to block remote queries of this computer’s index. - */ - @SerializedName("searchEnableRemoteQueries") - @Expose - public Boolean searchEnableRemoteQueries; - - /** - * The Search Disable Indexer Backoff. - * Indicates whether or not to disable the search indexer backoff feature. - */ - @SerializedName("searchDisableIndexerBackoff") - @Expose - public Boolean searchDisableIndexerBackoff; - - /** - * The Search Disable Indexing Removable Drive. - * Indicates whether or not to allow users to add locations on removable drives to libraries and to be indexed. - */ - @SerializedName("searchDisableIndexingRemovableDrive") - @Expose - public Boolean searchDisableIndexingRemovableDrive; - - /** - * The Search Enable Automatic Index Size Manangement. - * Specifies minimum amount of hard drive space on the same drive as the index location before indexing stops. - */ - @SerializedName("searchEnableAutomaticIndexSizeManangement") - @Expose - public Boolean searchEnableAutomaticIndexSizeManangement; - - /** - * The Diagnostics Data Submission Mode. - * Gets or sets a value allowing the device to send diagnostic and usage telemetry data, such as Watson. Possible values are: userDefined, none, basic, enhanced, full. - */ - @SerializedName("diagnosticsDataSubmissionMode") - @Expose - public DiagnosticDataSubmissionMode diagnosticsDataSubmissionMode; - - /** - * The One Drive Disable File Sync. - * Gets or sets a value allowing IT admins to prevent apps and features from working with files on OneDrive. - */ - @SerializedName("oneDriveDisableFileSync") - @Expose - public Boolean oneDriveDisableFileSync; - - /** - * The Smart Screen Enable App Install Control. - * Allows IT Admins to control whether users are allowed to install apps from places other than the Store. - */ - @SerializedName("smartScreenEnableAppInstallControl") - @Expose - public Boolean smartScreenEnableAppInstallControl; - - /** - * The Personalization Desktop Image Url. - * A http or https Url to a jpg, jpeg or png image that needs to be downloaded and used as the Desktop Image or a file Url to a local image on the file system that needs to used as the Desktop Image. - */ - @SerializedName("personalizationDesktopImageUrl") - @Expose - public String personalizationDesktopImageUrl; - - /** - * The Personalization Lock Screen Image Url. - * A http or https Url to a jpg, jpeg or png image that neeeds to be downloaded and used as the Lock Screen Image or a file Url to a local image on the file system that needs to be used as the Lock Screen Image. - */ - @SerializedName("personalizationLockScreenImageUrl") - @Expose - public String personalizationLockScreenImageUrl; - - /** - * The Bluetooth Allowed Services. - * Specify a list of allowed Bluetooth services and profiles in hex formatted strings. - */ - @SerializedName("bluetoothAllowedServices") - @Expose - public java.util.List bluetoothAllowedServices; - - /** - * The Bluetooth Block Advertising. - * Whether or not to Block the user from using bluetooth advertising. - */ - @SerializedName("bluetoothBlockAdvertising") - @Expose - public Boolean bluetoothBlockAdvertising; - - /** - * The Bluetooth Block Discoverable Mode. - * Whether or not to Block the user from using bluetooth discoverable mode. - */ - @SerializedName("bluetoothBlockDiscoverableMode") - @Expose - public Boolean bluetoothBlockDiscoverableMode; - - /** - * The Bluetooth Block Pre Pairing. - * Whether or not to block specific bundled Bluetooth peripherals to automatically pair with the host device. - */ - @SerializedName("bluetoothBlockPrePairing") - @Expose - public Boolean bluetoothBlockPrePairing; - - /** - * The Edge Block Autofill. - * Indicates whether or not to block auto fill. - */ - @SerializedName("edgeBlockAutofill") - @Expose - public Boolean edgeBlockAutofill; - - /** - * The Edge Blocked. - * Indicates whether or not to Block the user from using the Edge browser. - */ - @SerializedName("edgeBlocked") - @Expose - public Boolean edgeBlocked; - - /** - * The Edge Cookie Policy. - * Indicates which cookies to block in the Edge browser. Possible values are: userDefined, allow, blockThirdParty, blockAll. - */ - @SerializedName("edgeCookiePolicy") - @Expose - public EdgeCookiePolicy edgeCookiePolicy; - - /** - * The Edge Block Developer Tools. - * Indicates whether or not to block developer tools in the Edge browser. - */ - @SerializedName("edgeBlockDeveloperTools") - @Expose - public Boolean edgeBlockDeveloperTools; - - /** - * The Edge Block Sending Do Not Track Header. - * Indicates whether or not to Block the user from sending the do not track header. - */ - @SerializedName("edgeBlockSendingDoNotTrackHeader") - @Expose - public Boolean edgeBlockSendingDoNotTrackHeader; - - /** - * The Edge Block Extensions. - * Indicates whether or not to block extensions in the Edge browser. - */ - @SerializedName("edgeBlockExtensions") - @Expose - public Boolean edgeBlockExtensions; - - /** - * The Edge Block In Private Browsing. - * Indicates whether or not to block InPrivate browsing on corporate networks, in the Edge browser. - */ - @SerializedName("edgeBlockInPrivateBrowsing") - @Expose - public Boolean edgeBlockInPrivateBrowsing; - - /** - * The Edge Block Java Script. - * Indicates whether or not to Block the user from using JavaScript. - */ - @SerializedName("edgeBlockJavaScript") - @Expose - public Boolean edgeBlockJavaScript; - - /** - * The Edge Block Password Manager. - * Indicates whether or not to Block password manager. - */ - @SerializedName("edgeBlockPasswordManager") - @Expose - public Boolean edgeBlockPasswordManager; - - /** - * The Edge Block Address Bar Dropdown. - * Block the address bar dropdown functionality in Microsoft Edge. Disable this settings to minimize network connections from Microsoft Edge to Microsoft services. - */ - @SerializedName("edgeBlockAddressBarDropdown") - @Expose - public Boolean edgeBlockAddressBarDropdown; - - /** - * The Edge Block Compatibility List. - * Block Microsoft compatibility list in Microsoft Edge. This list from Microsoft helps Edge properly display sites with known compatibility issues. - */ - @SerializedName("edgeBlockCompatibilityList") - @Expose - public Boolean edgeBlockCompatibilityList; - - /** - * The Edge Clear Browsing Data On Exit. - * Clear browsing data on exiting Microsoft Edge. - */ - @SerializedName("edgeClearBrowsingDataOnExit") - @Expose - public Boolean edgeClearBrowsingDataOnExit; - - /** - * The Edge Allow Start Pages Modification. - * Allow users to change Start pages on Edge. Use the EdgeHomepageUrls to specify the Start pages that the user would see by default when they open Edge. - */ - @SerializedName("edgeAllowStartPagesModification") - @Expose - public Boolean edgeAllowStartPagesModification; - - /** - * The Edge Disable First Run Page. - * Block the Microsoft web page that opens on the first use of Microsoft Edge. This policy allows enterprises, like those enrolled in zero emissions configurations, to block this page. - */ - @SerializedName("edgeDisableFirstRunPage") - @Expose - public Boolean edgeDisableFirstRunPage; - - /** - * The Edge Block Live Tile Data Collection. - * Block the collection of information by Microsoft for live tile creation when users pin a site to Start from Microsoft Edge. - */ - @SerializedName("edgeBlockLiveTileDataCollection") - @Expose - public Boolean edgeBlockLiveTileDataCollection; - - /** - * The Edge Sync Favorites With Internet Explorer. - * Enable favorites sync between Internet Explorer and Microsoft Edge. Additions, deletions, modifications and order changes to favorites are shared between browsers. - */ - @SerializedName("edgeSyncFavoritesWithInternetExplorer") - @Expose - public Boolean edgeSyncFavoritesWithInternetExplorer; - - /** - * The Cellular Block Data When Roaming. - * Whether or not to Block the user from using data over cellular while roaming. - */ - @SerializedName("cellularBlockDataWhenRoaming") - @Expose - public Boolean cellularBlockDataWhenRoaming; - - /** - * The Cellular Block Vpn. - * Whether or not to Block the user from using VPN over cellular. - */ - @SerializedName("cellularBlockVpn") - @Expose - public Boolean cellularBlockVpn; - - /** - * The Cellular Block Vpn When Roaming. - * Whether or not to Block the user from using VPN when roaming over cellular. - */ - @SerializedName("cellularBlockVpnWhenRoaming") - @Expose - public Boolean cellularBlockVpnWhenRoaming; - - /** - * The Defender Block End User Access. - * Whether or not to block end user access to Defender. - */ - @SerializedName("defenderBlockEndUserAccess") - @Expose - public Boolean defenderBlockEndUserAccess; - - /** - * The Defender Days Before Deleting Quarantined Malware. - * Number of days before deleting quarantined malware. Valid values 0 to 90 - */ - @SerializedName("defenderDaysBeforeDeletingQuarantinedMalware") - @Expose - public Integer defenderDaysBeforeDeletingQuarantinedMalware; - - /** - * The Defender Detected Malware Actions. - * Gets or sets Defender’s actions to take on detected Malware per threat level. - */ - @SerializedName("defenderDetectedMalwareActions") - @Expose - public DefenderDetectedMalwareActions defenderDetectedMalwareActions; - - /** - * The Defender System Scan Schedule. - * Defender day of the week for the system scan. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday. - */ - @SerializedName("defenderSystemScanSchedule") - @Expose - public WeeklySchedule defenderSystemScanSchedule; - - /** - * The Defender Files And Folders To Exclude. - * Files and folder to exclude from scans and real time protection. - */ - @SerializedName("defenderFilesAndFoldersToExclude") - @Expose - public java.util.List defenderFilesAndFoldersToExclude; - - /** - * The Defender File Extensions To Exclude. - * File extensions to exclude from scans and real time protection. - */ - @SerializedName("defenderFileExtensionsToExclude") - @Expose - public java.util.List defenderFileExtensionsToExclude; - - /** - * The Defender Scan Max Cpu. - * Max CPU usage percentage during scan. Valid values 0 to 100 - */ - @SerializedName("defenderScanMaxCpu") - @Expose - public Integer defenderScanMaxCpu; - - /** - * The Defender Monitor File Activity. - * Value for monitoring file activity. Possible values are: userDefined, disable, monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. - */ - @SerializedName("defenderMonitorFileActivity") - @Expose - public DefenderMonitorFileActivity defenderMonitorFileActivity; - - /** - * The Defender Processes To Exclude. - * Processes to exclude from scans and real time protection. - */ - @SerializedName("defenderProcessesToExclude") - @Expose - public java.util.List defenderProcessesToExclude; - - /** - * The Defender Prompt For Sample Submission. - * The configuration for how to prompt user for sample submission. Possible values are: userDefined, alwaysPrompt, promptBeforeSendingPersonalData, neverSendData, sendAllDataWithoutPrompting. - */ - @SerializedName("defenderPromptForSampleSubmission") - @Expose - public DefenderPromptForSampleSubmission defenderPromptForSampleSubmission; - - /** - * The Defender Require Behavior Monitoring. - * Indicates whether or not to require behavior monitoring. - */ - @SerializedName("defenderRequireBehaviorMonitoring") - @Expose - public Boolean defenderRequireBehaviorMonitoring; - - /** - * The Defender Require Cloud Protection. - * Indicates whether or not to require cloud protection. - */ - @SerializedName("defenderRequireCloudProtection") - @Expose - public Boolean defenderRequireCloudProtection; - - /** - * The Defender Require Network Inspection System. - * Indicates whether or not to require network inspection system. - */ - @SerializedName("defenderRequireNetworkInspectionSystem") - @Expose - public Boolean defenderRequireNetworkInspectionSystem; - - /** - * The Defender Require Real Time Monitoring. - * Indicates whether or not to require real time monitoring. - */ - @SerializedName("defenderRequireRealTimeMonitoring") - @Expose - public Boolean defenderRequireRealTimeMonitoring; - - /** - * The Defender Scan Archive Files. - * Indicates whether or not to scan archive files. - */ - @SerializedName("defenderScanArchiveFiles") - @Expose - public Boolean defenderScanArchiveFiles; - - /** - * The Defender Scan Downloads. - * Indicates whether or not to scan downloads. - */ - @SerializedName("defenderScanDownloads") - @Expose - public Boolean defenderScanDownloads; - - /** - * The Defender Scan Network Files. - * Indicates whether or not to scan files opened from a network folder. - */ - @SerializedName("defenderScanNetworkFiles") - @Expose - public Boolean defenderScanNetworkFiles; - - /** - * The Defender Scan Incoming Mail. - * Indicates whether or not to scan incoming mail messages. - */ - @SerializedName("defenderScanIncomingMail") - @Expose - public Boolean defenderScanIncomingMail; - - /** - * The Defender Scan Mapped Network Drives During Full Scan. - * Indicates whether or not to scan mapped network drives during full scan. - */ - @SerializedName("defenderScanMappedNetworkDrivesDuringFullScan") - @Expose - public Boolean defenderScanMappedNetworkDrivesDuringFullScan; - - /** - * The Defender Scan Removable Drives During Full Scan. - * Indicates whether or not to scan removable drives during full scan. - */ - @SerializedName("defenderScanRemovableDrivesDuringFullScan") - @Expose - public Boolean defenderScanRemovableDrivesDuringFullScan; - - /** - * The Defender Scan Scripts Loaded In Internet Explorer. - * Indicates whether or not to scan scripts loaded in Internet Explorer browser. - */ - @SerializedName("defenderScanScriptsLoadedInInternetExplorer") - @Expose - public Boolean defenderScanScriptsLoadedInInternetExplorer; - - /** - * The Defender Signature Update Interval In Hours. - * The signature update interval in hours. Specify 0 not to check. Valid values 0 to 24 - */ - @SerializedName("defenderSignatureUpdateIntervalInHours") - @Expose - public Integer defenderSignatureUpdateIntervalInHours; - - /** - * The Defender Scan Type. - * The defender system scan type. Possible values are: userDefined, disabled, quick, full. - */ - @SerializedName("defenderScanType") - @Expose - public DefenderScanType defenderScanType; - - /** - * The Defender Scheduled Scan Time. - * The defender time for the system scan. - */ - @SerializedName("defenderScheduledScanTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay defenderScheduledScanTime; - - /** - * The Defender Scheduled Quick Scan Time. - * The time to perform a daily quick scan. - */ - @SerializedName("defenderScheduledQuickScanTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay defenderScheduledQuickScanTime; - - /** - * The Defender Cloud Block Level. - * Specifies the level of cloud-delivered protection. Possible values are: notConfigured, high, highPlus, zeroTolerance. - */ - @SerializedName("defenderCloudBlockLevel") - @Expose - public DefenderCloudBlockLevelType defenderCloudBlockLevel; - - /** - * The Lock Screen Allow Timeout Configuration. - * Specify whether to show a user-configurable setting to control the screen timeout while on the lock screen of Windows 10 Mobile devices. If this policy is set to Allow, the value set by lockScreenTimeoutInSeconds is ignored. - */ - @SerializedName("lockScreenAllowTimeoutConfiguration") - @Expose - public Boolean lockScreenAllowTimeoutConfiguration; - - /** - * The Lock Screen Block Action Center Notifications. - * Indicates whether or not to block action center notifications over lock screen. - */ - @SerializedName("lockScreenBlockActionCenterNotifications") - @Expose - public Boolean lockScreenBlockActionCenterNotifications; - - /** - * The Lock Screen Block Cortana. - * Indicates whether or not the user can interact with Cortana using speech while the system is locked. - */ - @SerializedName("lockScreenBlockCortana") - @Expose - public Boolean lockScreenBlockCortana; - - /** - * The Lock Screen Block Toast Notifications. - * Indicates whether to allow toast notifications above the device lock screen. - */ - @SerializedName("lockScreenBlockToastNotifications") - @Expose - public Boolean lockScreenBlockToastNotifications; - - /** - * The Lock Screen Timeout In Seconds. - * Set the duration (in seconds) from the screen locking to the screen turning off for Windows 10 Mobile devices. Supported values are 11-1800. Valid values 11 to 1800 - */ - @SerializedName("lockScreenTimeoutInSeconds") - @Expose - public Integer lockScreenTimeoutInSeconds; - - /** - * The Password Block Simple. - * Specify whether PINs or passwords such as '1111' or '1234' are allowed. For Windows 10 desktops, it also controls the use of picture passwords. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * The password expiration in days. Valid values 0 to 730 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * The minimum password length. Valid values 4 to 16 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * The minutes of inactivity before the screen times out. - */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Previous Password Block Count. - * The number of previous passwords to prevent reuse of. Valid values 0 to 50 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Required. - * Indicates whether or not to require the user to have a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Require When Resume From Idle State. - * Indicates whether or not to require a password upon resuming from an idle state. - */ - @SerializedName("passwordRequireWhenResumeFromIdleState") - @Expose - public Boolean passwordRequireWhenResumeFromIdleState; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Sign In Failure Count Before Factory Reset. - * The number of sign in failures before factory reset. Valid values 0 to 999 - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - - /** - * The Privacy Advertising Id. - * Enables or disables the use of advertising ID. Added in Windows 10, version 1607. Possible values are: notConfigured, blocked, allowed. - */ - @SerializedName("privacyAdvertisingId") - @Expose - public StateManagementSetting privacyAdvertisingId; - - /** - * The Privacy Auto Accept Pairing And Consent Prompts. - * Indicates whether or not to allow the automatic acceptance of the pairing and privacy user consent dialog when launching apps. - */ - @SerializedName("privacyAutoAcceptPairingAndConsentPrompts") - @Expose - public Boolean privacyAutoAcceptPairingAndConsentPrompts; - - /** - * The Privacy Block Input Personalization. - * Indicates whether or not to block the usage of cloud based speech services for Cortana, Dictation, or Store applications. - */ - @SerializedName("privacyBlockInputPersonalization") - @Expose - public Boolean privacyBlockInputPersonalization; - - /** - * The Start Block Unpinning Apps From Taskbar. - * Indicates whether or not to block the user from unpinning apps from taskbar. - */ - @SerializedName("startBlockUnpinningAppsFromTaskbar") - @Expose - public Boolean startBlockUnpinningAppsFromTaskbar; - - /** - * The Start Menu App List Visibility. - * Setting the value of this collapses the app list, removes the app list entirely, or disables the corresponding toggle in the Settings app. Possible values are: userDefined, collapse, remove, disableSettingsApp. - */ - @SerializedName("startMenuAppListVisibility") - @Expose - public EnumSet startMenuAppListVisibility; - - /** - * The Start Menu Hide Change Account Settings. - * Enabling this policy hides the change account setting from appearing in the user tile in the start menu. - */ - @SerializedName("startMenuHideChangeAccountSettings") - @Expose - public Boolean startMenuHideChangeAccountSettings; - - /** - * The Start Menu Hide Frequently Used Apps. - * Enabling this policy hides the most used apps from appearing on the start menu and disables the corresponding toggle in the Settings app. - */ - @SerializedName("startMenuHideFrequentlyUsedApps") - @Expose - public Boolean startMenuHideFrequentlyUsedApps; - - /** - * The Start Menu Hide Hibernate. - * Enabling this policy hides hibernate from appearing in the power button in the start menu. - */ - @SerializedName("startMenuHideHibernate") - @Expose - public Boolean startMenuHideHibernate; - - /** - * The Start Menu Hide Lock. - * Enabling this policy hides lock from appearing in the user tile in the start menu. - */ - @SerializedName("startMenuHideLock") - @Expose - public Boolean startMenuHideLock; - - /** - * The Start Menu Hide Power Button. - * Enabling this policy hides the power button from appearing in the start menu. - */ - @SerializedName("startMenuHidePowerButton") - @Expose - public Boolean startMenuHidePowerButton; - - /** - * The Start Menu Hide Recent Jump Lists. - * Enabling this policy hides recent jump lists from appearing on the start menu/taskbar and disables the corresponding toggle in the Settings app. - */ - @SerializedName("startMenuHideRecentJumpLists") - @Expose - public Boolean startMenuHideRecentJumpLists; - - /** - * The Start Menu Hide Recently Added Apps. - * Enabling this policy hides recently added apps from appearing on the start menu and disables the corresponding toggle in the Settings app. - */ - @SerializedName("startMenuHideRecentlyAddedApps") - @Expose - public Boolean startMenuHideRecentlyAddedApps; - - /** - * The Start Menu Hide Restart Options. - * Enabling this policy hides 'Restart/Update and Restart' from appearing in the power button in the start menu. - */ - @SerializedName("startMenuHideRestartOptions") - @Expose - public Boolean startMenuHideRestartOptions; - - /** - * The Start Menu Hide Shut Down. - * Enabling this policy hides shut down/update and shut down from appearing in the power button in the start menu. - */ - @SerializedName("startMenuHideShutDown") - @Expose - public Boolean startMenuHideShutDown; - - /** - * The Start Menu Hide Sign Out. - * Enabling this policy hides sign out from appearing in the user tile in the start menu. - */ - @SerializedName("startMenuHideSignOut") - @Expose - public Boolean startMenuHideSignOut; - - /** - * The Start Menu Hide Sleep. - * Enabling this policy hides sleep from appearing in the power button in the start menu. - */ - @SerializedName("startMenuHideSleep") - @Expose - public Boolean startMenuHideSleep; - - /** - * The Start Menu Hide Switch Account. - * Enabling this policy hides switch account from appearing in the user tile in the start menu. - */ - @SerializedName("startMenuHideSwitchAccount") - @Expose - public Boolean startMenuHideSwitchAccount; - - /** - * The Start Menu Hide User Tile. - * Enabling this policy hides the user tile from appearing in the start menu. - */ - @SerializedName("startMenuHideUserTile") - @Expose - public Boolean startMenuHideUserTile; - - /** - * The Start Menu Layout Edge Assets Xml. - * This policy setting allows you to import Edge assets to be used with startMenuLayoutXml policy. Start layout can contain secondary tile from Edge app which looks for Edge local asset file. Edge local asset would not exist and cause Edge secondary tile to appear empty in this case. This policy only gets applied when startMenuLayoutXml policy is modified. The value should be a UTF-8 Base64 encoded byte array. - */ - @SerializedName("startMenuLayoutEdgeAssetsXml") - @Expose - public byte[] startMenuLayoutEdgeAssetsXml; - - /** - * The Start Menu Layout Xml. - * Allows admins to override the default Start menu layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in a UTF8 encoded byte array format. - */ - @SerializedName("startMenuLayoutXml") - @Expose - public byte[] startMenuLayoutXml; - - /** - * The Start Menu Mode. - * Allows admins to decide how the Start menu is displayed. Possible values are: userDefined, fullScreen, nonFullScreen. - */ - @SerializedName("startMenuMode") - @Expose - public WindowsStartMenuModeType startMenuMode; - - /** - * The Start Menu Pinned Folder Documents. - * Enforces the visibility (Show/Hide) of the Documents folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderDocuments") - @Expose - public VisibilitySetting startMenuPinnedFolderDocuments; - - /** - * The Start Menu Pinned Folder Downloads. - * Enforces the visibility (Show/Hide) of the Downloads folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderDownloads") - @Expose - public VisibilitySetting startMenuPinnedFolderDownloads; - - /** - * The Start Menu Pinned Folder File Explorer. - * Enforces the visibility (Show/Hide) of the FileExplorer shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderFileExplorer") - @Expose - public VisibilitySetting startMenuPinnedFolderFileExplorer; - - /** - * The Start Menu Pinned Folder Home Group. - * Enforces the visibility (Show/Hide) of the HomeGroup folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderHomeGroup") - @Expose - public VisibilitySetting startMenuPinnedFolderHomeGroup; - - /** - * The Start Menu Pinned Folder Music. - * Enforces the visibility (Show/Hide) of the Music folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderMusic") - @Expose - public VisibilitySetting startMenuPinnedFolderMusic; - - /** - * The Start Menu Pinned Folder Network. - * Enforces the visibility (Show/Hide) of the Network folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderNetwork") - @Expose - public VisibilitySetting startMenuPinnedFolderNetwork; - - /** - * The Start Menu Pinned Folder Personal Folder. - * Enforces the visibility (Show/Hide) of the PersonalFolder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderPersonalFolder") - @Expose - public VisibilitySetting startMenuPinnedFolderPersonalFolder; - - /** - * The Start Menu Pinned Folder Pictures. - * Enforces the visibility (Show/Hide) of the Pictures folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderPictures") - @Expose - public VisibilitySetting startMenuPinnedFolderPictures; - - /** - * The Start Menu Pinned Folder Settings. - * Enforces the visibility (Show/Hide) of the Settings folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderSettings") - @Expose - public VisibilitySetting startMenuPinnedFolderSettings; - - /** - * The Start Menu Pinned Folder Videos. - * Enforces the visibility (Show/Hide) of the Videos folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. - */ - @SerializedName("startMenuPinnedFolderVideos") - @Expose - public VisibilitySetting startMenuPinnedFolderVideos; - - /** - * The Settings Block Settings App. - * Indicates whether or not to block access to Settings app. - */ - @SerializedName("settingsBlockSettingsApp") - @Expose - public Boolean settingsBlockSettingsApp; - - /** - * The Settings Block System Page. - * Indicates whether or not to block access to System in Settings app. - */ - @SerializedName("settingsBlockSystemPage") - @Expose - public Boolean settingsBlockSystemPage; - - /** - * The Settings Block Devices Page. - * Indicates whether or not to block access to Devices in Settings app. - */ - @SerializedName("settingsBlockDevicesPage") - @Expose - public Boolean settingsBlockDevicesPage; - - /** - * The Settings Block Network Internet Page. - * Indicates whether or not to block access to Network & Internet in Settings app. - */ - @SerializedName("settingsBlockNetworkInternetPage") - @Expose - public Boolean settingsBlockNetworkInternetPage; - - /** - * The Settings Block Personalization Page. - * Indicates whether or not to block access to Personalization in Settings app. - */ - @SerializedName("settingsBlockPersonalizationPage") - @Expose - public Boolean settingsBlockPersonalizationPage; - - /** - * The Settings Block Accounts Page. - * Indicates whether or not to block access to Accounts in Settings app. - */ - @SerializedName("settingsBlockAccountsPage") - @Expose - public Boolean settingsBlockAccountsPage; - - /** - * The Settings Block Time Language Page. - * Indicates whether or not to block access to Time & Language in Settings app. - */ - @SerializedName("settingsBlockTimeLanguagePage") - @Expose - public Boolean settingsBlockTimeLanguagePage; - - /** - * The Settings Block Ease Of Access Page. - * Indicates whether or not to block access to Ease of Access in Settings app. - */ - @SerializedName("settingsBlockEaseOfAccessPage") - @Expose - public Boolean settingsBlockEaseOfAccessPage; - - /** - * The Settings Block Privacy Page. - * Indicates whether or not to block access to Privacy in Settings app. - */ - @SerializedName("settingsBlockPrivacyPage") - @Expose - public Boolean settingsBlockPrivacyPage; - - /** - * The Settings Block Update Security Page. - * Indicates whether or not to block access to Update & Security in Settings app. - */ - @SerializedName("settingsBlockUpdateSecurityPage") - @Expose - public Boolean settingsBlockUpdateSecurityPage; - - /** - * The Settings Block Apps Page. - * Indicates whether or not to block access to Apps in Settings app. - */ - @SerializedName("settingsBlockAppsPage") - @Expose - public Boolean settingsBlockAppsPage; - - /** - * The Settings Block Gaming Page. - * Indicates whether or not to block access to Gaming in Settings app. - */ - @SerializedName("settingsBlockGamingPage") - @Expose - public Boolean settingsBlockGamingPage; - - /** - * The Windows Spotlight Block Consumer Specific Features. - * Allows IT admins to block experiences that are typically for consumers only, such as Start suggestions, Membership notifications, Post-OOBE app install and redirect tiles. - */ - @SerializedName("windowsSpotlightBlockConsumerSpecificFeatures") - @Expose - public Boolean windowsSpotlightBlockConsumerSpecificFeatures; - - /** - * The Windows Spotlight Blocked. - * Allows IT admins to turn off all Windows Spotlight features - */ - @SerializedName("windowsSpotlightBlocked") - @Expose - public Boolean windowsSpotlightBlocked; - - /** - * The Windows Spotlight Block On Action Center. - * Block suggestions from Microsoft that show after each OS clean install, upgrade or in an on-going basis to introduce users to what is new or changed - */ - @SerializedName("windowsSpotlightBlockOnActionCenter") - @Expose - public Boolean windowsSpotlightBlockOnActionCenter; - - /** - * The Windows Spotlight Block Tailored Experiences. - * Block personalized content in Windows spotlight based on user’s device usage. - */ - @SerializedName("windowsSpotlightBlockTailoredExperiences") - @Expose - public Boolean windowsSpotlightBlockTailoredExperiences; - - /** - * The Windows Spotlight Block Third Party Notifications. - * Block third party content delivered via Windows Spotlight - */ - @SerializedName("windowsSpotlightBlockThirdPartyNotifications") - @Expose - public Boolean windowsSpotlightBlockThirdPartyNotifications; - - /** - * The Windows Spotlight Block Welcome Experience. - * Block Windows Spotlight Windows welcome experience - */ - @SerializedName("windowsSpotlightBlockWelcomeExperience") - @Expose - public Boolean windowsSpotlightBlockWelcomeExperience; - - /** - * The Windows Spotlight Block Windows Tips. - * Allows IT admins to turn off the popup of Windows Tips. - */ - @SerializedName("windowsSpotlightBlockWindowsTips") - @Expose - public Boolean windowsSpotlightBlockWindowsTips; - - /** - * The Windows Spotlight Configure On Lock Screen. - * Specifies the type of Spotlight. Possible values are: notConfigured, disabled, enabled. - */ - @SerializedName("windowsSpotlightConfigureOnLockScreen") - @Expose - public WindowsSpotlightEnablementSettings windowsSpotlightConfigureOnLockScreen; - - /** - * The Network Proxy Apply Settings Device Wide. - * If set, proxy settings will be applied to all processes and accounts in the device. Otherwise, it will be applied to the user account that’s enrolled into MDM. - */ - @SerializedName("networkProxyApplySettingsDeviceWide") - @Expose - public Boolean networkProxyApplySettingsDeviceWide; - - /** - * The Network Proxy Disable Auto Detect. - * Disable automatic detection of settings. If enabled, the system will try to find the path to a proxy auto-config (PAC) script. - */ - @SerializedName("networkProxyDisableAutoDetect") - @Expose - public Boolean networkProxyDisableAutoDetect; - - /** - * The Network Proxy Automatic Configuration Url. - * Address to the proxy auto-config (PAC) script you want to use. - */ - @SerializedName("networkProxyAutomaticConfigurationUrl") - @Expose - public String networkProxyAutomaticConfigurationUrl; - - /** - * The Network Proxy Server. - * Specifies manual proxy server settings. - */ - @SerializedName("networkProxyServer") - @Expose - public Windows10NetworkProxyServer networkProxyServer; - - /** - * The Accounts Block Adding Non Microsoft Account Email. - * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. - */ - @SerializedName("accountsBlockAddingNonMicrosoftAccountEmail") - @Expose - public Boolean accountsBlockAddingNonMicrosoftAccountEmail; - - /** - * The Anti Theft Mode Blocked. - * Indicates whether or not to block the user from selecting an AntiTheft mode preference (Windows 10 Mobile only). - */ - @SerializedName("antiTheftModeBlocked") - @Expose - public Boolean antiTheftModeBlocked; - - /** - * The Bluetooth Blocked. - * Whether or not to Block the user from using bluetooth. - */ - @SerializedName("bluetoothBlocked") - @Expose - public Boolean bluetoothBlocked; - - /** - * The Camera Blocked. - * Whether or not to Block the user from accessing the camera of the device. - */ - @SerializedName("cameraBlocked") - @Expose - public Boolean cameraBlocked; - - /** - * The Connected Devices Service Blocked. - * Whether or not to block Connected Devices Service which enables discovery and connection to other devices, remote messaging, remote app sessions and other cross-device experiences. - */ - @SerializedName("connectedDevicesServiceBlocked") - @Expose - public Boolean connectedDevicesServiceBlocked; - - /** - * The Certificates Block Manual Root Certificate Installation. - * Whether or not to Block the user from doing manual root certificate installation. - */ - @SerializedName("certificatesBlockManualRootCertificateInstallation") - @Expose - public Boolean certificatesBlockManualRootCertificateInstallation; - - /** - * The Copy Paste Blocked. - * Whether or not to Block the user from using copy paste. - */ - @SerializedName("copyPasteBlocked") - @Expose - public Boolean copyPasteBlocked; - - /** - * The Cortana Blocked. - * Whether or not to Block the user from using Cortana. - */ - @SerializedName("cortanaBlocked") - @Expose - public Boolean cortanaBlocked; - - /** - * The Device Management Block Factory Reset On Mobile. - * Indicates whether or not to Block the user from resetting their phone. - */ - @SerializedName("deviceManagementBlockFactoryResetOnMobile") - @Expose - public Boolean deviceManagementBlockFactoryResetOnMobile; - - /** - * The Device Management Block Manual Unenroll. - * Indicates whether or not to Block the user from doing manual un-enrollment from device management. - */ - @SerializedName("deviceManagementBlockManualUnenroll") - @Expose - public Boolean deviceManagementBlockManualUnenroll; - - /** - * The Safe Search Filter. - * Specifies what filter level of safe search is required. Possible values are: userDefined, strict, moderate. - */ - @SerializedName("safeSearchFilter") - @Expose - public SafeSearchFilterType safeSearchFilter; - - /** - * The Edge Block Popups. - * Indicates whether or not to block popups. - */ - @SerializedName("edgeBlockPopups") - @Expose - public Boolean edgeBlockPopups; - - /** - * The Edge Block Search Suggestions. - * Indicates whether or not to Block the user from using the search suggestions in the address bar. - */ - @SerializedName("edgeBlockSearchSuggestions") - @Expose - public Boolean edgeBlockSearchSuggestions; - - /** - * The Edge Block Sending Intranet Traffic To Internet Explorer. - * Indicates whether or not to Block the user from sending Intranet traffic to Internet Explorer from Edge. - */ - @SerializedName("edgeBlockSendingIntranetTrafficToInternetExplorer") - @Expose - public Boolean edgeBlockSendingIntranetTrafficToInternetExplorer; - - /** - * The Edge Require Smart Screen. - * Indicates whether or not to Require the user to use the smart screen filter. - */ - @SerializedName("edgeRequireSmartScreen") - @Expose - public Boolean edgeRequireSmartScreen; - - /** - * The Edge Enterprise Mode Site List Location. - * Indicates the enterprise mode site list location. Could be a local file, local network or http location. - */ - @SerializedName("edgeEnterpriseModeSiteListLocation") - @Expose - public String edgeEnterpriseModeSiteListLocation; - - /** - * The Edge First Run Url. - * The first run URL for when Edge browser is opened for the first time. - */ - @SerializedName("edgeFirstRunUrl") - @Expose - public String edgeFirstRunUrl; - - /** - * The Edge Search Engine. - * Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. - */ - @SerializedName("edgeSearchEngine") - @Expose - public EdgeSearchEngineBase edgeSearchEngine; - - /** - * The Edge Homepage Urls. - * The list of URLs for homepages shodwn on MDM-enrolled devices on Edge browser. - */ - @SerializedName("edgeHomepageUrls") - @Expose - public java.util.List edgeHomepageUrls; - - /** - * The Edge Block Access To About Flags. - * Indicates whether or not to prevent access to about flags on Edge browser. - */ - @SerializedName("edgeBlockAccessToAboutFlags") - @Expose - public Boolean edgeBlockAccessToAboutFlags; - - /** - * The Smart Screen Block Prompt Override. - * Indicates whether or not users can override SmartScreen Filter warnings about potentially malicious websites. - */ - @SerializedName("smartScreenBlockPromptOverride") - @Expose - public Boolean smartScreenBlockPromptOverride; - - /** - * The Smart Screen Block Prompt Override For Files. - * Indicates whether or not users can override the SmartScreen Filter warnings about downloading unverified files - */ - @SerializedName("smartScreenBlockPromptOverrideForFiles") - @Expose - public Boolean smartScreenBlockPromptOverrideForFiles; - - /** - * The Web Rtc Block Localhost Ip Address. - * Indicates whether or not user's localhost IP address is displayed while making phone calls using the WebRTC - */ - @SerializedName("webRtcBlockLocalhostIpAddress") - @Expose - public Boolean webRtcBlockLocalhostIpAddress; - - /** - * The Internet Sharing Blocked. - * Indicates whether or not to Block the user from using internet sharing. - */ - @SerializedName("internetSharingBlocked") - @Expose - public Boolean internetSharingBlocked; - - /** - * The Settings Block Add Provisioning Package. - * Indicates whether or not to block the user from installing provisioning packages. - */ - @SerializedName("settingsBlockAddProvisioningPackage") - @Expose - public Boolean settingsBlockAddProvisioningPackage; - - /** - * The Settings Block Remove Provisioning Package. - * Indicates whether or not to block the runtime configuration agent from removing provisioning packages. - */ - @SerializedName("settingsBlockRemoveProvisioningPackage") - @Expose - public Boolean settingsBlockRemoveProvisioningPackage; - - /** - * The Settings Block Change System Time. - * Indicates whether or not to block the user from changing date and time settings. - */ - @SerializedName("settingsBlockChangeSystemTime") - @Expose - public Boolean settingsBlockChangeSystemTime; - - /** - * The Settings Block Edit Device Name. - * Indicates whether or not to block the user from editing the device name. - */ - @SerializedName("settingsBlockEditDeviceName") - @Expose - public Boolean settingsBlockEditDeviceName; - - /** - * The Settings Block Change Region. - * Indicates whether or not to block the user from changing the region settings. - */ - @SerializedName("settingsBlockChangeRegion") - @Expose - public Boolean settingsBlockChangeRegion; - - /** - * The Settings Block Change Language. - * Indicates whether or not to block the user from changing the language settings. - */ - @SerializedName("settingsBlockChangeLanguage") - @Expose - public Boolean settingsBlockChangeLanguage; - - /** - * The Settings Block Change Power Sleep. - * Indicates whether or not to block the user from changing power and sleep settings. - */ - @SerializedName("settingsBlockChangePowerSleep") - @Expose - public Boolean settingsBlockChangePowerSleep; - - /** - * The Location Services Blocked. - * Indicates whether or not to Block the user from location services. - */ - @SerializedName("locationServicesBlocked") - @Expose - public Boolean locationServicesBlocked; - - /** - * The Microsoft Account Blocked. - * Indicates whether or not to Block a Microsoft account. - */ - @SerializedName("microsoftAccountBlocked") - @Expose - public Boolean microsoftAccountBlocked; - - /** - * The Microsoft Account Block Settings Sync. - * Indicates whether or not to Block Microsoft account settings sync. - */ - @SerializedName("microsoftAccountBlockSettingsSync") - @Expose - public Boolean microsoftAccountBlockSettingsSync; - - /** - * The Nfc Blocked. - * Indicates whether or not to Block the user from using near field communication. - */ - @SerializedName("nfcBlocked") - @Expose - public Boolean nfcBlocked; - - /** - * The Reset Protection Mode Blocked. - * Indicates whether or not to Block the user from reset protection mode. - */ - @SerializedName("resetProtectionModeBlocked") - @Expose - public Boolean resetProtectionModeBlocked; - - /** - * The Screen Capture Blocked. - * Indicates whether or not to Block the user from taking Screenshots. - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Storage Block Removable Storage. - * Indicates whether or not to Block the user from using removable storage. - */ - @SerializedName("storageBlockRemovableStorage") - @Expose - public Boolean storageBlockRemovableStorage; - - /** - * The Storage Require Mobile Device Encryption. - * Indicating whether or not to require encryption on a mobile device. - */ - @SerializedName("storageRequireMobileDeviceEncryption") - @Expose - public Boolean storageRequireMobileDeviceEncryption; - - /** - * The Usb Blocked. - * Indicates whether or not to Block the user from USB connection. - */ - @SerializedName("usbBlocked") - @Expose - public Boolean usbBlocked; - - /** - * The Voice Recording Blocked. - * Indicates whether or not to Block the user from voice recording. - */ - @SerializedName("voiceRecordingBlocked") - @Expose - public Boolean voiceRecordingBlocked; - - /** - * The Wi Fi Block Automatic Connect Hotspots. - * Indicating whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. - */ - @SerializedName("wiFiBlockAutomaticConnectHotspots") - @Expose - public Boolean wiFiBlockAutomaticConnectHotspots; - - /** - * The Wi Fi Blocked. - * Indicates whether or not to Block the user from using Wi-Fi. - */ - @SerializedName("wiFiBlocked") - @Expose - public Boolean wiFiBlocked; - - /** - * The Wi Fi Block Manual Configuration. - * Indicates whether or not to Block the user from using Wi-Fi manual configuration. - */ - @SerializedName("wiFiBlockManualConfiguration") - @Expose - public Boolean wiFiBlockManualConfiguration; - - /** - * The Wi Fi Scan Interval. - * Specify how often devices scan for Wi-Fi networks. Supported values are 1-500, where 100 = default, and 500 = low frequency. Valid values 1 to 500 - */ - @SerializedName("wiFiScanInterval") - @Expose - public Integer wiFiScanInterval; - - /** - * The Wireless Display Block Projection To This Device. - * Indicates whether or not to allow other devices from discovering this PC for projection. - */ - @SerializedName("wirelessDisplayBlockProjectionToThisDevice") - @Expose - public Boolean wirelessDisplayBlockProjectionToThisDevice; - - /** - * The Wireless Display Block User Input From Receiver. - * Indicates whether or not to allow user input from wireless display receiver. - */ - @SerializedName("wirelessDisplayBlockUserInputFromReceiver") - @Expose - public Boolean wirelessDisplayBlockUserInputFromReceiver; - - /** - * The Wireless Display Require Pin For Pairing. - * Indicates whether or not to require a PIN for new devices to initiate pairing. - */ - @SerializedName("wirelessDisplayRequirePinForPairing") - @Expose - public Boolean wirelessDisplayRequirePinForPairing; - - /** - * The Windows Store Blocked. - * Indicates whether or not to Block the user from using the Windows store. - */ - @SerializedName("windowsStoreBlocked") - @Expose - public Boolean windowsStoreBlocked; - - /** - * The Apps Allow Trusted Apps Sideloading. - * Indicates whether apps from AppX packages signed with a trusted certificate can be side loaded. Possible values are: notConfigured, blocked, allowed. - */ - @SerializedName("appsAllowTrustedAppsSideloading") - @Expose - public StateManagementSetting appsAllowTrustedAppsSideloading; - - /** - * The Windows Store Block Auto Update. - * Indicates whether or not to block automatic update of apps from Windows Store. - */ - @SerializedName("windowsStoreBlockAutoUpdate") - @Expose - public Boolean windowsStoreBlockAutoUpdate; - - /** - * The Developer Unlock Setting. - * Indicates whether or not to allow developer unlock. Possible values are: notConfigured, blocked, allowed. - */ - @SerializedName("developerUnlockSetting") - @Expose - public StateManagementSetting developerUnlockSetting; - - /** - * The Shared User App Data Allowed. - * Indicates whether or not to block multiple users of the same app to share data. - */ - @SerializedName("sharedUserAppDataAllowed") - @Expose - public Boolean sharedUserAppDataAllowed; - - /** - * The Apps Block Windows Store Originated Apps. - * Indicates whether or not to disable the launch of all apps from Windows Store that came pre-installed or were downloaded. - */ - @SerializedName("appsBlockWindowsStoreOriginatedApps") - @Expose - public Boolean appsBlockWindowsStoreOriginatedApps; - - /** - * The Windows Store Enable Private Store Only. - * Indicates whether or not to enable Private Store Only. - */ - @SerializedName("windowsStoreEnablePrivateStoreOnly") - @Expose - public Boolean windowsStoreEnablePrivateStoreOnly; - - /** - * The Storage Restrict App Data To System Volume. - * Indicates whether application data is restricted to the system drive. - */ - @SerializedName("storageRestrictAppDataToSystemVolume") - @Expose - public Boolean storageRestrictAppDataToSystemVolume; - - /** - * The Storage Restrict App Install To System Volume. - * Indicates whether the installation of applications is restricted to the system drive. - */ - @SerializedName("storageRestrictAppInstallToSystemVolume") - @Expose - public Boolean storageRestrictAppInstallToSystemVolume; - - /** - * The Game Dvr Blocked. - * Indicates whether or not to block DVR and broadcasting. - */ - @SerializedName("gameDvrBlocked") - @Expose - public Boolean gameDvrBlocked; - - /** - * The Experience Block Device Discovery. - * Indicates whether or not to enable device discovery UX. - */ - @SerializedName("experienceBlockDeviceDiscovery") - @Expose - public Boolean experienceBlockDeviceDiscovery; - - /** - * The Experience Block Error Dialog When No SIM. - * Indicates whether or not to allow the error dialog from displaying if no SIM card is detected. - */ - @SerializedName("experienceBlockErrorDialogWhenNoSIM") - @Expose - public Boolean experienceBlockErrorDialogWhenNoSIM; - - /** - * The Experience Block Task Switcher. - * Indicates whether or not to enable task switching on the device. - */ - @SerializedName("experienceBlockTaskSwitcher") - @Expose - public Boolean experienceBlockTaskSwitcher; - - /** - * The Logon Block Fast User Switching. - * Disables the ability to quickly switch between users that are logged on simultaneously without logging off. - */ - @SerializedName("logonBlockFastUserSwitching") - @Expose - public Boolean logonBlockFastUserSwitching; - - /** - * The Tenant Lockdown Require Network During Out Of Box Experience. - * Whether the device is required to connect to the network. - */ - @SerializedName("tenantLockdownRequireNetworkDuringOutOfBoxExperience") - @Expose - public Boolean tenantLockdownRequireNetworkDuringOutOfBoxExperience; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10MobileCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10MobileCompliancePolicy.java deleted file mode 100644 index 02de0a9c8a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10MobileCompliancePolicy.java +++ /dev/null @@ -1,199 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Mobile Compliance Policy. - */ -public class BaseWindows10MobileCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Required. - * Require a password to unlock Windows Phone device. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Block Simple. - * Whether or not to block syncing the calendar. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Minimum Length. - * Minimum password length. Valid values 4 to 16 - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Previous Password Block Count. - * The number of previous passwords to prevent re-use of. - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Expiration Days. - * Number of days before password expiration. Valid values 1 to 255 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Require To Unlock From Idle. - * Require a password to unlock an idle device. - */ - @SerializedName("passwordRequireToUnlockFromIdle") - @Expose - public Boolean passwordRequireToUnlockFromIdle; - - /** - * The Os Minimum Version. - * Minimum Windows Phone version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum Windows Phone version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Early Launch Anti Malware Driver Enabled. - * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. - */ - @SerializedName("earlyLaunchAntiMalwareDriverEnabled") - @Expose - public Boolean earlyLaunchAntiMalwareDriverEnabled; - - /** - * The Bit Locker Enabled. - * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled - */ - @SerializedName("bitLockerEnabled") - @Expose - public Boolean bitLockerEnabled; - - /** - * The Secure Boot Enabled. - * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. - */ - @SerializedName("secureBootEnabled") - @Expose - public Boolean secureBootEnabled; - - /** - * The Code Integrity Enabled. - * Require devices to be reported as healthy by Windows Device Health Attestation. - */ - @SerializedName("codeIntegrityEnabled") - @Expose - public Boolean codeIntegrityEnabled; - - /** - * The Storage Require Encryption. - * Require encryption on windows devices. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10NetworkProxyServer.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10NetworkProxyServer.java deleted file mode 100644 index fbc1d8ea3c8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10NetworkProxyServer.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Network Proxy Server. - */ -public class BaseWindows10NetworkProxyServer implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Address. - * Address to the proxy server. Specify an address in the format [':'] - */ - @SerializedName("address") - @Expose - public String address; - - /** - * The Exceptions. - * Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node. - */ - @SerializedName("exceptions") - @Expose - public java.util.List exceptions; - - /** - * The Use For Local Addresses. - * Specifies whether the proxy server should be used for local (intranet) addresses. - */ - @SerializedName("useForLocalAddresses") - @Expose - public Boolean useForLocalAddresses; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10SecureAssessmentConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10SecureAssessmentConfiguration.java deleted file mode 100644 index 1b4b9d2ff81..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10SecureAssessmentConfiguration.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Secure Assessment Configuration. - */ -public class BaseWindows10SecureAssessmentConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Launch Uri. - * Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/). - */ - @SerializedName("launchUri") - @Expose - public String launchUri; - - /** - * The Configuration Account. - * The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account (username@tenant.com) or a local account (username). - */ - @SerializedName("configurationAccount") - @Expose - public String configurationAccount; - - /** - * The Allow Printing. - * Indicates whether or not to allow the app from printing during the test. - */ - @SerializedName("allowPrinting") - @Expose - public Boolean allowPrinting; - - /** - * The Allow Screen Capture. - * Indicates whether or not to allow screen capture capability during a test. - */ - @SerializedName("allowScreenCapture") - @Expose - public Boolean allowScreenCapture; - - /** - * The Allow Text Suggestion. - * Indicates whether or not to allow text suggestions during the test. - */ - @SerializedName("allowTextSuggestion") - @Expose - public Boolean allowTextSuggestion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10TeamGeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows10TeamGeneralConfiguration.java deleted file mode 100644 index 4435311cd99..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows10TeamGeneralConfiguration.java +++ /dev/null @@ -1,232 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.MiracastChannel; -import com.microsoft.graph.models.generated.WelcomeScreenMeetingInformation; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Team General Configuration. - */ -public class BaseWindows10TeamGeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Azure Operational Insights Block Telemetry. - * Indicates whether or not to Block Azure Operational Insights. - */ - @SerializedName("azureOperationalInsightsBlockTelemetry") - @Expose - public Boolean azureOperationalInsightsBlockTelemetry; - - /** - * The Azure Operational Insights Workspace Id. - * The Azure Operational Insights workspace id. - */ - @SerializedName("azureOperationalInsightsWorkspaceId") - @Expose - public String azureOperationalInsightsWorkspaceId; - - /** - * The Azure Operational Insights Workspace Key. - * The Azure Operational Insights Workspace key. - */ - @SerializedName("azureOperationalInsightsWorkspaceKey") - @Expose - public String azureOperationalInsightsWorkspaceKey; - - /** - * The Connect App Block Auto Launch. - * Specifies whether to automatically launch the Connect app whenever a projection is initiated. - */ - @SerializedName("connectAppBlockAutoLaunch") - @Expose - public Boolean connectAppBlockAutoLaunch; - - /** - * The Maintenance Window Blocked. - * Indicates whether or not to Block setting a maintenance window for device updates. - */ - @SerializedName("maintenanceWindowBlocked") - @Expose - public Boolean maintenanceWindowBlocked; - - /** - * The Maintenance Window Duration In Hours. - * Maintenance window duration for device updates. Valid values 0 to 5 - */ - @SerializedName("maintenanceWindowDurationInHours") - @Expose - public Integer maintenanceWindowDurationInHours; - - /** - * The Maintenance Window Start Time. - * Maintenance window start time for device updates. - */ - @SerializedName("maintenanceWindowStartTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay maintenanceWindowStartTime; - - /** - * The Miracast Channel. - * The channel. Possible values are: userDefined, one, two, three, four, five, six, seven, eight, nine, ten, eleven, thirtySix, forty, fortyFour, fortyEight, oneHundredFortyNine, oneHundredFiftyThree, oneHundredFiftySeven, oneHundredSixtyOne, oneHundredSixtyFive. - */ - @SerializedName("miracastChannel") - @Expose - public MiracastChannel miracastChannel; - - /** - * The Miracast Blocked. - * Indicates whether or not to Block wireless projection. - */ - @SerializedName("miracastBlocked") - @Expose - public Boolean miracastBlocked; - - /** - * The Miracast Require Pin. - * Indicates whether or not to require a pin for wireless projection. - */ - @SerializedName("miracastRequirePin") - @Expose - public Boolean miracastRequirePin; - - /** - * The Settings Block My Meetings And Files. - * Specifies whether to disable the 'My meetings and files' feature in the Start menu, which shows the signed-in user's meetings and files from Office 365. - */ - @SerializedName("settingsBlockMyMeetingsAndFiles") - @Expose - public Boolean settingsBlockMyMeetingsAndFiles; - - /** - * The Settings Block Session Resume. - * Specifies whether to allow the ability to resume a session when the session times out. - */ - @SerializedName("settingsBlockSessionResume") - @Expose - public Boolean settingsBlockSessionResume; - - /** - * The Settings Block Signin Suggestions. - * Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings. - */ - @SerializedName("settingsBlockSigninSuggestions") - @Expose - public Boolean settingsBlockSigninSuggestions; - - /** - * The Settings Default Volume. - * Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100 - */ - @SerializedName("settingsDefaultVolume") - @Expose - public Integer settingsDefaultVolume; - - /** - * The Settings Screen Timeout In Minutes. - * Specifies the number of minutes until the Hub screen turns off. - */ - @SerializedName("settingsScreenTimeoutInMinutes") - @Expose - public Integer settingsScreenTimeoutInMinutes; - - /** - * The Settings Session Timeout In Minutes. - * Specifies the number of minutes until the session times out. - */ - @SerializedName("settingsSessionTimeoutInMinutes") - @Expose - public Integer settingsSessionTimeoutInMinutes; - - /** - * The Settings Sleep Timeout In Minutes. - * Specifies the number of minutes until the Hub enters sleep mode. - */ - @SerializedName("settingsSleepTimeoutInMinutes") - @Expose - public Integer settingsSleepTimeoutInMinutes; - - /** - * The Welcome Screen Block Automatic Wake Up. - * Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room. - */ - @SerializedName("welcomeScreenBlockAutomaticWakeUp") - @Expose - public Boolean welcomeScreenBlockAutomaticWakeUp; - - /** - * The Welcome Screen Background Image Url. - * The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image. - */ - @SerializedName("welcomeScreenBackgroundImageUrl") - @Expose - public String welcomeScreenBackgroundImageUrl; - - /** - * The Welcome Screen Meeting Information. - * The welcome screen meeting information shown. Possible values are: userDefined, showOrganizerAndTimeOnly, showOrganizerAndTimeAndSubject. - */ - @SerializedName("welcomeScreenMeetingInformation") - @Expose - public WelcomeScreenMeetingInformation welcomeScreenMeetingInformation; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows81CompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows81CompliancePolicy.java deleted file mode 100644 index 72e332b621d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows81CompliancePolicy.java +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows81Compliance Policy. - */ -public class BaseWindows81CompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Required. - * Require a password to unlock Windows device. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Block Simple. - * Indicates whether or not to block simple password. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Password expiration in days. - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * The minimum password length. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Previous Password Block Count. - * The number of previous passwords to prevent re-use of. Valid values 0 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Os Minimum Version. - * Minimum Windows 8.1 version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum Windows 8.1 version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Storage Require Encryption. - * Indicates whether or not to require encryption on a windows 8.1 device. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindows81GeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindows81GeneralConfiguration.java deleted file mode 100644 index f3a4e3589b4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindows81GeneralConfiguration.java +++ /dev/null @@ -1,338 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.InternetSiteSecurityLevel; -import com.microsoft.graph.models.generated.SiteSecurityLevel; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.generated.WindowsUserAccountControlSettings; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows81General Configuration. - */ -public class BaseWindows81GeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Accounts Block Adding Non Microsoft Account Email. - * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. - */ - @SerializedName("accountsBlockAddingNonMicrosoftAccountEmail") - @Expose - public Boolean accountsBlockAddingNonMicrosoftAccountEmail; - - /** - * The Apply Only To Windows81. - * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. - */ - @SerializedName("applyOnlyToWindows81") - @Expose - public Boolean applyOnlyToWindows81; - - /** - * The Browser Block Autofill. - * Indicates whether or not to block auto fill. - */ - @SerializedName("browserBlockAutofill") - @Expose - public Boolean browserBlockAutofill; - - /** - * The Browser Block Automatic Detection Of Intranet Sites. - * Indicates whether or not to block automatic detection of Intranet sites. - */ - @SerializedName("browserBlockAutomaticDetectionOfIntranetSites") - @Expose - public Boolean browserBlockAutomaticDetectionOfIntranetSites; - - /** - * The Browser Block Enterprise Mode Access. - * Indicates whether or not to block enterprise mode access. - */ - @SerializedName("browserBlockEnterpriseModeAccess") - @Expose - public Boolean browserBlockEnterpriseModeAccess; - - /** - * The Browser Block Java Script. - * Indicates whether or not to Block the user from using JavaScript. - */ - @SerializedName("browserBlockJavaScript") - @Expose - public Boolean browserBlockJavaScript; - - /** - * The Browser Block Plugins. - * Indicates whether or not to block plug-ins. - */ - @SerializedName("browserBlockPlugins") - @Expose - public Boolean browserBlockPlugins; - - /** - * The Browser Block Popups. - * Indicates whether or not to block popups. - */ - @SerializedName("browserBlockPopups") - @Expose - public Boolean browserBlockPopups; - - /** - * The Browser Block Sending Do Not Track Header. - * Indicates whether or not to Block the user from sending the do not track header. - */ - @SerializedName("browserBlockSendingDoNotTrackHeader") - @Expose - public Boolean browserBlockSendingDoNotTrackHeader; - - /** - * The Browser Block Single Word Entry On Intranet Sites. - * Indicates whether or not to block a single word entry on Intranet sites. - */ - @SerializedName("browserBlockSingleWordEntryOnIntranetSites") - @Expose - public Boolean browserBlockSingleWordEntryOnIntranetSites; - - /** - * The Browser Require Smart Screen. - * Indicates whether or not to require the user to use the smart screen filter. - */ - @SerializedName("browserRequireSmartScreen") - @Expose - public Boolean browserRequireSmartScreen; - - /** - * The Browser Enterprise Mode Site List Location. - * The enterprise mode site list location. Could be a local file, local network or http location. - */ - @SerializedName("browserEnterpriseModeSiteListLocation") - @Expose - public String browserEnterpriseModeSiteListLocation; - - /** - * The Browser Internet Security Level. - * The internet security level. Possible values are: userDefined, medium, mediumHigh, high. - */ - @SerializedName("browserInternetSecurityLevel") - @Expose - public InternetSiteSecurityLevel browserInternetSecurityLevel; - - /** - * The Browser Intranet Security Level. - * The Intranet security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. - */ - @SerializedName("browserIntranetSecurityLevel") - @Expose - public SiteSecurityLevel browserIntranetSecurityLevel; - - /** - * The Browser Logging Report Location. - * The logging report location. - */ - @SerializedName("browserLoggingReportLocation") - @Expose - public String browserLoggingReportLocation; - - /** - * The Browser Require High Security For Restricted Sites. - * Indicates whether or not to require high security for restricted sites. - */ - @SerializedName("browserRequireHighSecurityForRestrictedSites") - @Expose - public Boolean browserRequireHighSecurityForRestrictedSites; - - /** - * The Browser Require Firewall. - * Indicates whether or not to require a firewall. - */ - @SerializedName("browserRequireFirewall") - @Expose - public Boolean browserRequireFirewall; - - /** - * The Browser Require Fraud Warning. - * Indicates whether or not to require fraud warning. - */ - @SerializedName("browserRequireFraudWarning") - @Expose - public Boolean browserRequireFraudWarning; - - /** - * The Browser Trusted Sites Security Level. - * The trusted sites security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. - */ - @SerializedName("browserTrustedSitesSecurityLevel") - @Expose - public SiteSecurityLevel browserTrustedSitesSecurityLevel; - - /** - * The Cellular Block Data Roaming. - * Indicates whether or not to block data roaming. - */ - @SerializedName("cellularBlockDataRoaming") - @Expose - public Boolean cellularBlockDataRoaming; - - /** - * The Diagnostics Block Data Submission. - * Indicates whether or not to block diagnostic data submission. - */ - @SerializedName("diagnosticsBlockDataSubmission") - @Expose - public Boolean diagnosticsBlockDataSubmission; - - /** - * The Password Block Picture Password And Pin. - * Indicates whether or not to Block the user from using a pictures password and pin. - */ - @SerializedName("passwordBlockPicturePasswordAndPin") - @Expose - public Boolean passwordBlockPicturePasswordAndPin; - - /** - * The Password Expiration Days. - * Password expiration in days. - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * The minimum password length. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * The minutes of inactivity before the screen times out. - */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Previous Password Block Count. - * The number of previous passwords to prevent re-use of. Valid values 0 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Sign In Failure Count Before Factory Reset. - * The number of sign in failures before factory reset. - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - - /** - * The Storage Require Device Encryption. - * Indicates whether or not to require encryption on a mobile device. - */ - @SerializedName("storageRequireDeviceEncryption") - @Expose - public Boolean storageRequireDeviceEncryption; - - /** - * The Updates Require Automatic Updates. - * Indicates whether or not to require automatic updates. - */ - @SerializedName("updatesRequireAutomaticUpdates") - @Expose - public Boolean updatesRequireAutomaticUpdates; - - /** - * The User Account Control Settings. - * The user account control settings. Possible values are: userDefined, alwaysNotify, notifyOnAppChanges, notifyOnAppChangesWithoutDimming, neverNotify. - */ - @SerializedName("userAccountControlSettings") - @Expose - public WindowsUserAccountControlSettings userAccountControlSettings; - - /** - * The Work Folders Url. - * The work folders url. - */ - @SerializedName("workFoldersUrl") - @Expose - public String workFoldersUrl; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderAdvancedThreatProtectionConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderAdvancedThreatProtectionConfiguration.java deleted file mode 100644 index 42642c8d595..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderAdvancedThreatProtectionConfiguration.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Defender Advanced Threat Protection Configuration. - */ -public class BaseWindowsDefenderAdvancedThreatProtectionConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Allow Sample Sharing. - * Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule - */ - @SerializedName("allowSampleSharing") - @Expose - public Boolean allowSampleSharing; - - /** - * The Enable Expedited Telemetry Reporting. - * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. - */ - @SerializedName("enableExpeditedTelemetryReporting") - @Expose - public Boolean enableExpeditedTelemetryReporting; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderScanActionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderScanActionResult.java deleted file mode 100644 index 1c2b6eec09d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDefenderScanActionResult.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceActionResult; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Defender Scan Action Result. - */ -public class BaseWindowsDefenderScanActionResult extends DeviceActionResult implements IJsonBackedObject { - - - /** - * The Scan Type. - * Scan type either full scan or quick scan - */ - @SerializedName("scanType") - @Expose - public String scanType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceADAccount.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceADAccount.java deleted file mode 100644 index 2e7d5290882..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceADAccount.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsDeviceAccount; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Device ADAccount. - */ -public class BaseWindowsDeviceADAccount extends WindowsDeviceAccount implements IJsonBackedObject { - - - /** - * The Domain Name. - * Not yet documented - */ - @SerializedName("domainName") - @Expose - public String domainName; - - /** - * The User Name. - * Not yet documented - */ - @SerializedName("userName") - @Expose - public String userName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAccount.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAccount.java deleted file mode 100644 index 889bb3c3cad..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAccount.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Device Account. - */ -public class BaseWindowsDeviceAccount implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Password. - * Not yet documented - */ - @SerializedName("password") - @Expose - public String password; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAzureADAccount.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAzureADAccount.java deleted file mode 100644 index e90c259da9b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsDeviceAzureADAccount.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsDeviceAccount; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Device Azure ADAccount. - */ -public class BaseWindowsDeviceAzureADAccount extends WindowsDeviceAccount implements IJsonBackedObject { - - - /** - * The User Principal Name. - * Not yet documented - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsFirewallNetworkProfile.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsFirewallNetworkProfile.java deleted file mode 100644 index 006a3e254f9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsFirewallNetworkProfile.java +++ /dev/null @@ -1,176 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.StateManagementSetting; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Firewall Network Profile. - */ -public class BaseWindowsFirewallNetworkProfile implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Firewall Enabled. - * Configures the host device to allow or block the firewall and advanced security enforcement for the network profile. Possible values are: notConfigured, blocked, allowed. - */ - @SerializedName("firewallEnabled") - @Expose - public StateManagementSetting firewallEnabled; - - /** - * The Stealth Mode Blocked. - * Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. - */ - @SerializedName("stealthModeBlocked") - @Expose - public Boolean stealthModeBlocked; - - /** - * The Incoming Traffic Blocked. - * Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. - */ - @SerializedName("incomingTrafficBlocked") - @Expose - public Boolean incomingTrafficBlocked; - - /** - * The Unicast Responses To Multicast Broadcasts Blocked. - * Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. - */ - @SerializedName("unicastResponsesToMulticastBroadcastsBlocked") - @Expose - public Boolean unicastResponsesToMulticastBroadcastsBlocked; - - /** - * The Inbound Notifications Blocked. - * Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. - */ - @SerializedName("inboundNotificationsBlocked") - @Expose - public Boolean inboundNotificationsBlocked; - - /** - * The Authorized Application Rules From Group Policy Merged. - * Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority. - */ - @SerializedName("authorizedApplicationRulesFromGroupPolicyMerged") - @Expose - public Boolean authorizedApplicationRulesFromGroupPolicyMerged; - - /** - * The Global Port Rules From Group Policy Merged. - * Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. - */ - @SerializedName("globalPortRulesFromGroupPolicyMerged") - @Expose - public Boolean globalPortRulesFromGroupPolicyMerged; - - /** - * The Connection Security Rules From Group Policy Merged. - * Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. - */ - @SerializedName("connectionSecurityRulesFromGroupPolicyMerged") - @Expose - public Boolean connectionSecurityRulesFromGroupPolicyMerged; - - /** - * The Outbound Connections Blocked. - * Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. - */ - @SerializedName("outboundConnectionsBlocked") - @Expose - public Boolean outboundConnectionsBlocked; - - /** - * The Inbound Connections Blocked. - * Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. - */ - @SerializedName("inboundConnectionsBlocked") - @Expose - public Boolean inboundConnectionsBlocked; - - /** - * The Secured Packet Exemption Allowed. - * Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. - */ - @SerializedName("securedPacketExemptionAllowed") - @Expose - public Boolean securedPacketExemptionAllowed; - - /** - * The Policy Rules From Group Policy Merged. - * Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. - */ - @SerializedName("policyRulesFromGroupPolicyMerged") - @Expose - public Boolean policyRulesFromGroupPolicyMerged; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtection.java deleted file mode 100644 index 9d5b151e362..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtection.java +++ /dev/null @@ -1,324 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsInformationProtectionEnforcementLevel; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionResourceCollection; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionDataRecoveryCertificate; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionApp; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionProxiedDomainCollection; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionIPRangeCollection; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection. - */ -public class BaseWindowsInformationProtection extends ManagedAppPolicy implements IJsonBackedObject { - - - /** - * The Enforcement Level. - * WIP enforcement level.See the Enum definition for supported values. Possible values are: noProtection, encryptAndAuditOnly, encryptAuditAndPrompt, encryptAuditAndBlock. - */ - @SerializedName("enforcementLevel") - @Expose - public WindowsInformationProtectionEnforcementLevel enforcementLevel; - - /** - * The Enterprise Domain. - * Primary enterprise domain - */ - @SerializedName("enterpriseDomain") - @Expose - public String enterpriseDomain; - - /** - * The Enterprise Protected Domain Names. - * List of enterprise domains to be protected - */ - @SerializedName("enterpriseProtectedDomainNames") - @Expose - public java.util.List enterpriseProtectedDomainNames; - - /** - * The Protection Under Lock Config Required. - * Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - */ - @SerializedName("protectionUnderLockConfigRequired") - @Expose - public Boolean protectionUnderLockConfigRequired; - - /** - * The Data Recovery Certificate. - * Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - */ - @SerializedName("dataRecoveryCertificate") - @Expose - public WindowsInformationProtectionDataRecoveryCertificate dataRecoveryCertificate; - - /** - * The Revoke On Unenroll Disabled. - * This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - */ - @SerializedName("revokeOnUnenrollDisabled") - @Expose - public Boolean revokeOnUnenrollDisabled; - - /** - * The Rights Management Services Template Id. - * TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - */ - @SerializedName("rightsManagementServicesTemplateId") - @Expose - public java.util.UUID rightsManagementServicesTemplateId; - - /** - * The Azure Rights Management Services Allowed. - * Specifies whether to allow Azure RMS encryption for WIP - */ - @SerializedName("azureRightsManagementServicesAllowed") - @Expose - public Boolean azureRightsManagementServicesAllowed; - - /** - * The Icons Visible. - * Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - */ - @SerializedName("iconsVisible") - @Expose - public Boolean iconsVisible; - - /** - * The Protected Apps. - * Protected applications can access enterprise data and the data handled by those applications are protected with encryption - */ - @SerializedName("protectedApps") - @Expose - public java.util.List protectedApps; - - /** - * The Exempt Apps. - * Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - */ - @SerializedName("exemptApps") - @Expose - public java.util.List exemptApps; - - /** - * The Enterprise Network Domain Names. - * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - */ - @SerializedName("enterpriseNetworkDomainNames") - @Expose - public java.util.List enterpriseNetworkDomainNames; - - /** - * The Enterprise Proxied Domains. - * Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - */ - @SerializedName("enterpriseProxiedDomains") - @Expose - public java.util.List enterpriseProxiedDomains; - - /** - * The Enterprise IPRanges. - * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - */ - @SerializedName("enterpriseIPRanges") - @Expose - public java.util.List enterpriseIPRanges; - - /** - * The Enterprise IPRanges Are Authoritative. - * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - */ - @SerializedName("enterpriseIPRangesAreAuthoritative") - @Expose - public Boolean enterpriseIPRangesAreAuthoritative; - - /** - * The Enterprise Proxy Servers. - * This is a list of proxy servers. Any server not on this list is considered non-enterprise - */ - @SerializedName("enterpriseProxyServers") - @Expose - public java.util.List enterpriseProxyServers; - - /** - * The Enterprise Internal Proxy Servers. - * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - */ - @SerializedName("enterpriseInternalProxyServers") - @Expose - public java.util.List enterpriseInternalProxyServers; - - /** - * The Enterprise Proxy Servers Are Authoritative. - * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - */ - @SerializedName("enterpriseProxyServersAreAuthoritative") - @Expose - public Boolean enterpriseProxyServersAreAuthoritative; - - /** - * The Neutral Domain Resources. - * List of domain names that can used for work or personal resource - */ - @SerializedName("neutralDomainResources") - @Expose - public java.util.List neutralDomainResources; - - /** - * The Indexing Encrypted Stores Or Items Blocked. - * This switch is for the Windows Search Indexer, to allow or disallow indexing of items - */ - @SerializedName("indexingEncryptedStoresOrItemsBlocked") - @Expose - public Boolean indexingEncryptedStoresOrItemsBlocked; - - /** - * The Smb Auto Encrypted File Extensions. - * Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - */ - @SerializedName("smbAutoEncryptedFileExtensions") - @Expose - public java.util.List smbAutoEncryptedFileExtensions; - - /** - * The Is Assigned. - * Indicates if the policy is deployed to any inclusion groups or not. - */ - @SerializedName("isAssigned") - @Expose - public Boolean isAssigned; - - /** - * The Protected App Locker Files. - * Another way to input protected apps through xml files - */ - public WindowsInformationProtectionAppLockerFileCollectionPage protectedAppLockerFiles; - - /** - * The Exempt App Locker Files. - * Another way to input exempt apps through xml files - */ - public WindowsInformationProtectionAppLockerFileCollectionPage exemptAppLockerFiles; - - /** - * The Assignments. - * Navigation property to list of security groups targeted for policy. - */ - public TargetedManagedAppPolicyAssignmentCollectionPage assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("protectedAppLockerFiles")) { - final BaseWindowsInformationProtectionAppLockerFileCollectionResponse response = new BaseWindowsInformationProtectionAppLockerFileCollectionResponse(); - if (json.has("protectedAppLockerFiles@odata.nextLink")) { - response.nextLink = json.get("protectedAppLockerFiles@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("protectedAppLockerFiles").toString(), JsonObject[].class); - final WindowsInformationProtectionAppLockerFile[] array = new WindowsInformationProtectionAppLockerFile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionAppLockerFile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - protectedAppLockerFiles = new WindowsInformationProtectionAppLockerFileCollectionPage(response, null); - } - - if (json.has("exemptAppLockerFiles")) { - final BaseWindowsInformationProtectionAppLockerFileCollectionResponse response = new BaseWindowsInformationProtectionAppLockerFileCollectionResponse(); - if (json.has("exemptAppLockerFiles@odata.nextLink")) { - response.nextLink = json.get("exemptAppLockerFiles@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exemptAppLockerFiles").toString(), JsonObject[].class); - final WindowsInformationProtectionAppLockerFile[] array = new WindowsInformationProtectionAppLockerFile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionAppLockerFile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - exemptAppLockerFiles = new WindowsInformationProtectionAppLockerFileCollectionPage(response, null); - } - - if (json.has("assignments")) { - final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response = new BaseTargetedManagedAppPolicyAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final TargetedManagedAppPolicyAssignment[] array = new TargetedManagedAppPolicyAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppPolicyAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new TargetedManagedAppPolicyAssignmentCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionApp.java deleted file mode 100644 index c17c1a39689..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionApp.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App. - */ -public class BaseWindowsInformationProtectionApp implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * App display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * The app's description. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Publisher Name. - * The publisher name - */ - @SerializedName("publisherName") - @Expose - public String publisherName; - - /** - * The Product Name. - * The product name. - */ - @SerializedName("productName") - @Expose - public String productName; - - /** - * The Denied. - * If true, app is denied protection or exemption. - */ - @SerializedName("denied") - @Expose - public Boolean denied; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLearningSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLearningSummary.java deleted file mode 100644 index 4daef419d27..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLearningSummary.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ApplicationType; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary. - */ -public class BaseWindowsInformationProtectionAppLearningSummary extends Entity implements IJsonBackedObject { - - - /** - * The Application Name. - * Application Name - */ - @SerializedName("applicationName") - @Expose - public String applicationName; - - /** - * The Application Type. - * Application Type. Possible values are: universal, desktop. - */ - @SerializedName("applicationType") - @Expose - public ApplicationType applicationType; - - /** - * The Device Count. - * Device Count - */ - @SerializedName("deviceCount") - @Expose - public Integer deviceCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLockerFile.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLockerFile.java deleted file mode 100644 index dfbf8274984..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAppLockerFile.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File. - */ -public class BaseWindowsInformationProtectionAppLockerFile extends Entity implements IJsonBackedObject { - - - /** - * The Display Name. - * The friendly name - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The File Hash. - * SHA256 hash of the file - */ - @SerializedName("fileHash") - @Expose - public String fileHash; - - /** - * The File. - * File as a byte array - */ - @SerializedName("file") - @Expose - public byte[] file; - - /** - * The Version. - * Version of the entity. - */ - @SerializedName("version") - @Expose - public String version; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAssignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAssignBody.java deleted file mode 100644 index ce36de76042..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionAssignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Assign Body. - */ -public class BaseWindowsInformationProtectionAssignBody { - - /** - * The assignments. - * - */ - @SerializedName("assignments") - @Expose - public java.util.List assignments; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDataRecoveryCertificate.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDataRecoveryCertificate.java deleted file mode 100644 index 3b13b9d31ad..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDataRecoveryCertificate.java +++ /dev/null @@ -1,111 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Data Recovery Certificate. - */ -public class BaseWindowsInformationProtectionDataRecoveryCertificate implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Subject Name. - * Data recovery Certificate subject name - */ - @SerializedName("subjectName") - @Expose - public String subjectName; - - /** - * The Description. - * Data recovery Certificate description - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Expiration Date Time. - * Data recovery Certificate expiration datetime - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Certificate. - * Data recovery Certificate - */ - @SerializedName("certificate") - @Expose - public byte[] certificate; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDesktopApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDesktopApp.java deleted file mode 100644 index df54d9f8a8a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionDesktopApp.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Desktop App. - */ -public class BaseWindowsInformationProtectionDesktopApp extends WindowsInformationProtectionApp implements IJsonBackedObject { - - - /** - * The Binary Name. - * The binary name. - */ - @SerializedName("binaryName") - @Expose - public String binaryName; - - /** - * The Binary Version Low. - * The lower binary version. - */ - @SerializedName("binaryVersionLow") - @Expose - public String binaryVersionLow; - - /** - * The Binary Version High. - * The high binary version. - */ - @SerializedName("binaryVersionHigh") - @Expose - public String binaryVersionHigh; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionIPRangeCollection.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionIPRangeCollection.java deleted file mode 100644 index e2d9d3e8687..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionIPRangeCollection.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IpRange; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection IPRange Collection. - */ -public class BaseWindowsInformationProtectionIPRangeCollection implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Display name - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Ranges. - * Collection of ip ranges - */ - @SerializedName("ranges") - @Expose - public java.util.List ranges; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionNetworkLearningSummary.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionNetworkLearningSummary.java deleted file mode 100644 index 5690f160ded..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionNetworkLearningSummary.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummary extends Entity implements IJsonBackedObject { - - - /** - * The Url. - * Website url - */ - @SerializedName("url") - @Expose - public String url; - - /** - * The Device Count. - * Device Count - */ - @SerializedName("deviceCount") - @Expose - public Integer deviceCount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionPolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionPolicy.java deleted file mode 100644 index c68114f0373..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionPolicy.java +++ /dev/null @@ -1,167 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsInformationProtectionPinCharacterRequirements; -import com.microsoft.graph.models.extensions.WindowsInformationProtection; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy. - */ -public class BaseWindowsInformationProtectionPolicy extends WindowsInformationProtection implements IJsonBackedObject { - - - /** - * The Revoke On Mdm Handoff Disabled. - * New property in RS2, pending documentation - */ - @SerializedName("revokeOnMdmHandoffDisabled") - @Expose - public Boolean revokeOnMdmHandoffDisabled; - - /** - * The Mdm Enrollment Url. - * Enrollment url for the MDM - */ - @SerializedName("mdmEnrollmentUrl") - @Expose - public String mdmEnrollmentUrl; - - /** - * The Windows Hello For Business Blocked. - * Boolean value that sets Windows Hello for Business as a method for signing into Windows. - */ - @SerializedName("windowsHelloForBusinessBlocked") - @Expose - public Boolean windowsHelloForBusinessBlocked; - - /** - * The Pin Minimum Length. - * Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - */ - @SerializedName("pinMinimumLength") - @Expose - public Integer pinMinimumLength; - - /** - * The Pin Uppercase Letters. - * Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. - */ - @SerializedName("pinUppercaseLetters") - @Expose - public WindowsInformationProtectionPinCharacterRequirements pinUppercaseLetters; - - /** - * The Pin Lowercase Letters. - * Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. - */ - @SerializedName("pinLowercaseLetters") - @Expose - public WindowsInformationProtectionPinCharacterRequirements pinLowercaseLetters; - - /** - * The Pin Special Characters. - * Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! ' # $ % & ' ( ) + , - . / : ; &lt; = &gt; ? @ [ / ] ^ ` { - */ - @SerializedName("pinSpecialCharacters") - @Expose - public WindowsInformationProtectionPinCharacterRequirements pinSpecialCharacters; - - /** - * The Pin Expiration Days. - * Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - */ - @SerializedName("pinExpirationDays") - @Expose - public Integer pinExpirationDays; - - /** - * The Number Of Past Pins Remembered. - * Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - */ - @SerializedName("numberOfPastPinsRemembered") - @Expose - public Integer numberOfPastPinsRemembered; - - /** - * The Password Maximum Attempt Count. - * The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 &lt;= X &lt;= 16 for desktop and 0 &lt;= X &lt;= 999 for mobile devices. - */ - @SerializedName("passwordMaximumAttemptCount") - @Expose - public Integer passwordMaximumAttemptCount; - - /** - * The Minutes Of Inactivity Before Device Lock. - * Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 &lt;= X &lt;= 999. - */ - @SerializedName("minutesOfInactivityBeforeDeviceLock") - @Expose - public Integer minutesOfInactivityBeforeDeviceLock; - - /** - * The Days Without Contact Before Unenroll. - * Offline interval before app data is wiped (days) - */ - @SerializedName("daysWithoutContactBeforeUnenroll") - @Expose - public Integer daysWithoutContactBeforeUnenroll; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionProxiedDomainCollection.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionProxiedDomainCollection.java deleted file mode 100644 index 2f15e28fe8b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionProxiedDomainCollection.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ProxiedDomain; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Proxied Domain Collection. - */ -public class BaseWindowsInformationProtectionProxiedDomainCollection implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Display name - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Proxied Domains. - * Collection of proxied domains - */ - @SerializedName("proxiedDomains") - @Expose - public java.util.List proxiedDomains; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionResourceCollection.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionResourceCollection.java deleted file mode 100644 index 04cfbd5be2e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionResourceCollection.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Resource Collection. - */ -public class BaseWindowsInformationProtectionResourceCollection implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Display Name. - * Display name - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Resources. - * Collection of resources - */ - @SerializedName("resources") - @Expose - public java.util.List resources; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionStoreApp.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionStoreApp.java deleted file mode 100644 index f22ec8edee4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsInformationProtectionStoreApp.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Store App. - */ -public class BaseWindowsInformationProtectionStoreApp extends WindowsInformationProtectionApp implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsMinimumOperatingSystem.java deleted file mode 100644 index b397bfa648c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsMinimumOperatingSystem.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Minimum Operating System. - */ -public class BaseWindowsMinimumOperatingSystem implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The V8_0. - * Windows version 8.0 or later. - */ - @SerializedName("v8_0") - @Expose - public Boolean v8_0; - - /** - * The V8_1. - * Windows version 8.1 or later. - */ - @SerializedName("v8_1") - @Expose - public Boolean v8_1; - - /** - * The V10_0. - * Windows version 10.0 or later. - */ - @SerializedName("v10_0") - @Expose - public Boolean v10_0; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsMobileMSI.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsMobileMSI.java deleted file mode 100644 index 7411dd9e479..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsMobileMSI.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileLobApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Mobile MSI. - */ -public class BaseWindowsMobileMSI extends MobileLobApp implements IJsonBackedObject { - - - /** - * The Command Line. - * The command line. - */ - @SerializedName("commandLine") - @Expose - public String commandLine; - - /** - * The Product Code. - * The product code. - */ - @SerializedName("productCode") - @Expose - public String productCode; - - /** - * The Product Version. - * The product version of Windows Mobile MSI Line of Business (LoB) app. - */ - @SerializedName("productVersion") - @Expose - public String productVersion; - - /** - * The Ignore Version Detection. - * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature. - */ - @SerializedName("ignoreVersionDetection") - @Expose - public Boolean ignoreVersionDetection; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CompliancePolicy.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CompliancePolicy.java deleted file mode 100644 index 7e24bd643bb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CompliancePolicy.java +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81Compliance Policy. - */ -public class BaseWindowsPhone81CompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - - - /** - * The Password Block Simple. - * Whether or not to block syncing the calendar. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Number of days before the password expires. - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * Minimum length of passwords. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. - */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") - @Expose - public Integer passwordMinutesOfInactivityBeforeLock; - - /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 0 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Required. - * Whether or not to require a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Os Minimum Version. - * Minimum Windows Phone version. - */ - @SerializedName("osMinimumVersion") - @Expose - public String osMinimumVersion; - - /** - * The Os Maximum Version. - * Maximum Windows Phone version. - */ - @SerializedName("osMaximumVersion") - @Expose - public String osMaximumVersion; - - /** - * The Storage Require Encryption. - * Require encryption on windows phone devices. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CustomConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CustomConfiguration.java deleted file mode 100644 index 325214bea8f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81CustomConfiguration.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OmaSetting; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81Custom Configuration. - */ -public class BaseWindowsPhone81CustomConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Oma Settings. - * OMA settings. This collection can contain a maximum of 1000 elements. - */ - @SerializedName("omaSettings") - @Expose - public java.util.List omaSettings; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81GeneralConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81GeneralConfiguration.java deleted file mode 100644 index 4226b6d7ec2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsPhone81GeneralConfiguration.java +++ /dev/null @@ -1,305 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.generated.AppListType; -import com.microsoft.graph.models.generated.RequiredPasswordType; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81General Configuration. - */ -public class BaseWindowsPhone81GeneralConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Apply Only To Windows Phone81. - * Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only. - */ - @SerializedName("applyOnlyToWindowsPhone81") - @Expose - public Boolean applyOnlyToWindowsPhone81; - - /** - * The Apps Block Copy Paste. - * Indicates whether or not to block copy paste. - */ - @SerializedName("appsBlockCopyPaste") - @Expose - public Boolean appsBlockCopyPaste; - - /** - * The Bluetooth Blocked. - * Indicates whether or not to block bluetooth. - */ - @SerializedName("bluetoothBlocked") - @Expose - public Boolean bluetoothBlocked; - - /** - * The Camera Blocked. - * Indicates whether or not to block camera. - */ - @SerializedName("cameraBlocked") - @Expose - public Boolean cameraBlocked; - - /** - * The Cellular Block Wifi Tethering. - * Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked. - */ - @SerializedName("cellularBlockWifiTethering") - @Expose - public Boolean cellularBlockWifiTethering; - - /** - * The Compliant Apps List. - * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. - */ - @SerializedName("compliantAppsList") - @Expose - public java.util.List compliantAppsList; - - /** - * The Compliant App List Type. - * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. - */ - @SerializedName("compliantAppListType") - @Expose - public AppListType compliantAppListType; - - /** - * The Diagnostic Data Block Submission. - * Indicates whether or not to block diagnostic data submission. - */ - @SerializedName("diagnosticDataBlockSubmission") - @Expose - public Boolean diagnosticDataBlockSubmission; - - /** - * The Email Block Adding Accounts. - * Indicates whether or not to block custom email accounts. - */ - @SerializedName("emailBlockAddingAccounts") - @Expose - public Boolean emailBlockAddingAccounts; - - /** - * The Location Services Blocked. - * Indicates whether or not to block location services. - */ - @SerializedName("locationServicesBlocked") - @Expose - public Boolean locationServicesBlocked; - - /** - * The Microsoft Account Blocked. - * Indicates whether or not to block using a Microsoft Account. - */ - @SerializedName("microsoftAccountBlocked") - @Expose - public Boolean microsoftAccountBlocked; - - /** - * The Nfc Blocked. - * Indicates whether or not to block Near-Field Communication. - */ - @SerializedName("nfcBlocked") - @Expose - public Boolean nfcBlocked; - - /** - * The Password Block Simple. - * Indicates whether or not to block syncing the calendar. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Number of days before the password expires. - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - - /** - * The Password Minimum Length. - * Minimum length of passwords. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity before screen timeout. - */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") - @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; - - /** - * The Password Minimum Character Set Count. - * Number of character sets a password must contain. - */ - @SerializedName("passwordMinimumCharacterSetCount") - @Expose - public Integer passwordMinimumCharacterSetCount; - - /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 0 to 24 - */ - @SerializedName("passwordPreviousPasswordBlockCount") - @Expose - public Integer passwordPreviousPasswordBlockCount; - - /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before factory reset. - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - - /** - * The Password Required Type. - * Password type that is required. Possible values are: deviceDefault, alphanumeric, numeric. - */ - @SerializedName("passwordRequiredType") - @Expose - public RequiredPasswordType passwordRequiredType; - - /** - * The Password Required. - * Indicates whether or not to require a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Screen Capture Blocked. - * Indicates whether or not to block screenshots. - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Storage Block Removable Storage. - * Indicates whether or not to block removable storage. - */ - @SerializedName("storageBlockRemovableStorage") - @Expose - public Boolean storageBlockRemovableStorage; - - /** - * The Storage Require Encryption. - * Indicates whether or not to require encryption. - */ - @SerializedName("storageRequireEncryption") - @Expose - public Boolean storageRequireEncryption; - - /** - * The Web Browser Blocked. - * Indicates whether or not to block the web browser. - */ - @SerializedName("webBrowserBlocked") - @Expose - public Boolean webBrowserBlocked; - - /** - * The Wifi Blocked. - * Indicates whether or not to block Wi-Fi. - */ - @SerializedName("wifiBlocked") - @Expose - public Boolean wifiBlocked; - - /** - * The Wifi Block Automatic Connect Hotspots. - * Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. - */ - @SerializedName("wifiBlockAutomaticConnectHotspots") - @Expose - public Boolean wifiBlockAutomaticConnectHotspots; - - /** - * The Wifi Block Hotspot Reporting. - * Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked. - */ - @SerializedName("wifiBlockHotspotReporting") - @Expose - public Boolean wifiBlockHotspotReporting; - - /** - * The Windows Store Blocked. - * Indicates whether or not to block the Windows Store. - */ - @SerializedName("windowsStoreBlocked") - @Expose - public Boolean windowsStoreBlocked; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUniversalAppX.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUniversalAppX.java deleted file mode 100644 index 9922a72b435..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUniversalAppX.java +++ /dev/null @@ -1,137 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsArchitecture; -import com.microsoft.graph.models.generated.WindowsDeviceType; -import com.microsoft.graph.models.extensions.WindowsMinimumOperatingSystem; -import com.microsoft.graph.models.extensions.MobileLobApp; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Universal App X. - */ -public class BaseWindowsUniversalAppX extends MobileLobApp implements IJsonBackedObject { - - - /** - * The Applicable Architectures. - * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral. - */ - @SerializedName("applicableArchitectures") - @Expose - public EnumSet applicableArchitectures; - - /** - * The Applicable Device Types. - * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. - */ - @SerializedName("applicableDeviceTypes") - @Expose - public EnumSet applicableDeviceTypes; - - /** - * The Identity Name. - * The Identity Name. - */ - @SerializedName("identityName") - @Expose - public String identityName; - - /** - * The Identity Publisher Hash. - * The Identity Publisher Hash. - */ - @SerializedName("identityPublisherHash") - @Expose - public String identityPublisherHash; - - /** - * The Identity Resource Identifier. - * The Identity Resource Identifier. - */ - @SerializedName("identityResourceIdentifier") - @Expose - public String identityResourceIdentifier; - - /** - * The Is Bundle. - * Whether or not the app is a bundle. - */ - @SerializedName("isBundle") - @Expose - public Boolean isBundle; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public WindowsMinimumOperatingSystem minimumSupportedOperatingSystem; - - /** - * The Identity Version. - * The identity version. - */ - @SerializedName("identityVersion") - @Expose - public String identityVersion; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateActiveHoursInstall.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateActiveHoursInstall.java deleted file mode 100644 index b169ed8973a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateActiveHoursInstall.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WindowsUpdateInstallScheduleType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Update Active Hours Install. - */ -public class BaseWindowsUpdateActiveHoursInstall extends WindowsUpdateInstallScheduleType implements IJsonBackedObject { - - - /** - * The Active Hours Start. - * Active Hours Start - */ - @SerializedName("activeHoursStart") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay activeHoursStart; - - /** - * The Active Hours End. - * Active Hours End - */ - @SerializedName("activeHoursEnd") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay activeHoursEnd; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateForBusinessConfiguration.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateForBusinessConfiguration.java deleted file mode 100644 index c9304fe5bbe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateForBusinessConfiguration.java +++ /dev/null @@ -1,179 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsDeliveryOptimizationMode; -import com.microsoft.graph.models.generated.PrereleaseFeatures; -import com.microsoft.graph.models.generated.AutomaticUpdateMode; -import com.microsoft.graph.models.extensions.WindowsUpdateInstallScheduleType; -import com.microsoft.graph.models.generated.WindowsUpdateType; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Update For Business Configuration. - */ -public class BaseWindowsUpdateForBusinessConfiguration extends DeviceConfiguration implements IJsonBackedObject { - - - /** - * The Delivery Optimization Mode. - * Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. - */ - @SerializedName("deliveryOptimizationMode") - @Expose - public WindowsDeliveryOptimizationMode deliveryOptimizationMode; - - /** - * The Prerelease Features. - * The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. - */ - @SerializedName("prereleaseFeatures") - @Expose - public PrereleaseFeatures prereleaseFeatures; - - /** - * The Automatic Update Mode. - * Automatic update mode. Possible values are: userDefined, notifyDownload, autoInstallAtMaintenanceTime, autoInstallAndRebootAtMaintenanceTime, autoInstallAndRebootAtScheduledTime, autoInstallAndRebootWithoutEndUserControl. - */ - @SerializedName("automaticUpdateMode") - @Expose - public AutomaticUpdateMode automaticUpdateMode; - - /** - * The Microsoft Update Service Allowed. - * Allow Microsoft Update Service - */ - @SerializedName("microsoftUpdateServiceAllowed") - @Expose - public Boolean microsoftUpdateServiceAllowed; - - /** - * The Drivers Excluded. - * Exclude Windows update Drivers - */ - @SerializedName("driversExcluded") - @Expose - public Boolean driversExcluded; - - /** - * The Installation Schedule. - * Installation schedule - */ - @SerializedName("installationSchedule") - @Expose - public WindowsUpdateInstallScheduleType installationSchedule; - - /** - * The Quality Updates Deferral Period In Days. - * Defer Quality Updates by these many days - */ - @SerializedName("qualityUpdatesDeferralPeriodInDays") - @Expose - public Integer qualityUpdatesDeferralPeriodInDays; - - /** - * The Feature Updates Deferral Period In Days. - * Defer Feature Updates by these many days - */ - @SerializedName("featureUpdatesDeferralPeriodInDays") - @Expose - public Integer featureUpdatesDeferralPeriodInDays; - - /** - * The Quality Updates Paused. - * Pause Quality Updates - */ - @SerializedName("qualityUpdatesPaused") - @Expose - public Boolean qualityUpdatesPaused; - - /** - * The Feature Updates Paused. - * Pause Feature Updates - */ - @SerializedName("featureUpdatesPaused") - @Expose - public Boolean featureUpdatesPaused; - - /** - * The Quality Updates Pause Expiry Date Time. - * Quality Updates Pause Expiry datetime - */ - @SerializedName("qualityUpdatesPauseExpiryDateTime") - @Expose - public java.util.Calendar qualityUpdatesPauseExpiryDateTime; - - /** - * The Feature Updates Pause Expiry Date Time. - * Feature Updates Pause Expiry datetime - */ - @SerializedName("featureUpdatesPauseExpiryDateTime") - @Expose - public java.util.Calendar featureUpdatesPauseExpiryDateTime; - - /** - * The Business Ready Updates Only. - * Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. - */ - @SerializedName("businessReadyUpdatesOnly") - @Expose - public WindowsUpdateType businessReadyUpdatesOnly; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateInstallScheduleType.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateInstallScheduleType.java deleted file mode 100644 index 4c50343585e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateInstallScheduleType.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Update Install Schedule Type. - */ -public class BaseWindowsUpdateInstallScheduleType implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateScheduledInstall.java b/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateScheduledInstall.java deleted file mode 100644 index 105fdf2458a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWindowsUpdateScheduledInstall.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.WeeklySchedule; -import com.microsoft.graph.models.extensions.WindowsUpdateInstallScheduleType; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Update Scheduled Install. - */ -public class BaseWindowsUpdateScheduledInstall extends WindowsUpdateInstallScheduleType implements IJsonBackedObject { - - - /** - * The Scheduled Install Day. - * Scheduled Install Day in week. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday. - */ - @SerializedName("scheduledInstallDay") - @Expose - public WeeklySchedule scheduledInstallDay; - - /** - * The Scheduled Install Time. - * Scheduled Install Time during day - */ - @SerializedName("scheduledInstallTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay scheduledInstallTime; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbook.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbook.java deleted file mode 100644 index 1743a3f7a64..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbook.java +++ /dev/null @@ -1,163 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookApplication; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.models.extensions.WorkbookFunctions; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookTableCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook. - */ -public class BaseWorkbook extends Entity implements IJsonBackedObject { - - - /** - * The Application. - * - */ - @SerializedName("application") - @Expose - public WorkbookApplication application; - - /** - * The Names. - * Represents a collection of workbook scoped named items (named ranges and constants). Read-only. - */ - public WorkbookNamedItemCollectionPage names; - - /** - * The Tables. - * Represents a collection of tables associated with the workbook. Read-only. - */ - public WorkbookTableCollectionPage tables; - - /** - * The Worksheets. - * Represents a collection of worksheets associated with the workbook. Read-only. - */ - public WorkbookWorksheetCollectionPage worksheets; - - /** - * The Functions. - * - */ - @SerializedName("functions") - @Expose - public WorkbookFunctions functions; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("names")) { - final BaseWorkbookNamedItemCollectionResponse response = new BaseWorkbookNamedItemCollectionResponse(); - if (json.has("names@odata.nextLink")) { - response.nextLink = json.get("names@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("names").toString(), JsonObject[].class); - final WorkbookNamedItem[] array = new WorkbookNamedItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookNamedItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - names = new WorkbookNamedItemCollectionPage(response, null); - } - - if (json.has("tables")) { - final BaseWorkbookTableCollectionResponse response = new BaseWorkbookTableCollectionResponse(); - if (json.has("tables@odata.nextLink")) { - response.nextLink = json.get("tables@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tables").toString(), JsonObject[].class); - final WorkbookTable[] array = new WorkbookTable[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTable.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tables = new WorkbookTableCollectionPage(response, null); - } - - if (json.has("worksheets")) { - final BaseWorkbookWorksheetCollectionResponse response = new BaseWorkbookWorksheetCollectionResponse(); - if (json.has("worksheets@odata.nextLink")) { - response.nextLink = json.get("worksheets@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("worksheets").toString(), JsonObject[].class); - final WorkbookWorksheet[] array = new WorkbookWorksheet[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookWorksheet.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - worksheets = new WorkbookWorksheetCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplication.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplication.java deleted file mode 100644 index ab5631e7beb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplication.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Application. - */ -public class BaseWorkbookApplication extends Entity implements IJsonBackedObject { - - - /** - * The Calculation Mode. - * - */ - @SerializedName("calculationMode") - @Expose - public String calculationMode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplicationCalculateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplicationCalculateBody.java deleted file mode 100644 index e23780e9e3c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookApplicationCalculateBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Application Calculate Body. - */ -public class BaseWorkbookApplicationCalculateBody { - - /** - * The calculation Type. - * - */ - @SerializedName("calculationType") - @Expose - public String calculationType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChart.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChart.java deleted file mode 100644 index 52d6432ecb4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChart.java +++ /dev/null @@ -1,189 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartAxes; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; -import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; -import com.microsoft.graph.models.extensions.WorkbookChartLegend; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; -import com.microsoft.graph.models.extensions.WorkbookChartTitle; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart. - */ -public class BaseWorkbookChart extends Entity implements IJsonBackedObject { - - - /** - * The Height. - * Represents the height, in points, of the chart object. - */ - @SerializedName("height") - @Expose - public Double height; - - /** - * The Left. - * The distance, in points, from the left side of the chart to the worksheet origin. - */ - @SerializedName("left") - @Expose - public Double left; - - /** - * The Name. - * Represents the name of a chart object. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Top. - * Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). - */ - @SerializedName("top") - @Expose - public Double top; - - /** - * The Width. - * Represents the width, in points, of the chart object. - */ - @SerializedName("width") - @Expose - public Double width; - - /** - * The Axes. - * Represents chart axes. Read-only. - */ - @SerializedName("axes") - @Expose - public WorkbookChartAxes axes; - - /** - * The Data Labels. - * Represents the datalabels on the chart. Read-only. - */ - @SerializedName("dataLabels") - @Expose - public WorkbookChartDataLabels dataLabels; - - /** - * The Format. - * Encapsulates the format properties for the chart area. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartAreaFormat format; - - /** - * The Legend. - * Represents the legend for the chart. Read-only. - */ - @SerializedName("legend") - @Expose - public WorkbookChartLegend legend; - - /** - * The Series. - * Represents either a single series or collection of series in the chart. Read-only. - */ - public WorkbookChartSeriesCollectionPage series; - - /** - * The Title. - * Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. - */ - @SerializedName("title") - @Expose - public WorkbookChartTitle title; - - /** - * The Worksheet. - * The worksheet containing the current chart. Read-only. - */ - @SerializedName("worksheet") - @Expose - public WorkbookWorksheet worksheet; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("series")) { - final BaseWorkbookChartSeriesCollectionResponse response = new BaseWorkbookChartSeriesCollectionResponse(); - if (json.has("series@odata.nextLink")) { - response.nextLink = json.get("series@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("series").toString(), JsonObject[].class); - final WorkbookChartSeries[] array = new WorkbookChartSeries[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookChartSeries.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - series = new WorkbookChartSeriesCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAddBody.java deleted file mode 100644 index e3b2f2ce48e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAddBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Add Body. - */ -public class BaseWorkbookChartAddBody { - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The source Data. - * - */ - @SerializedName("sourceData") - @Expose - public com.google.gson.JsonElement sourceData; - - /** - * The series By. - * - */ - @SerializedName("seriesBy") - @Expose - public String seriesBy; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAreaFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAreaFormat.java deleted file mode 100644 index 775fde7c316..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAreaFormat.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Area Format. - */ -public class BaseWorkbookChartAreaFormat extends Entity implements IJsonBackedObject { - - - /** - * The Fill. - * Represents the fill format of an object, which includes background formatting information. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookChartFill fill; - - /** - * The Font. - * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookChartFont font; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxes.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxes.java deleted file mode 100644 index f6f1b98fe5a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxes.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartAxis; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axes. - */ -public class BaseWorkbookChartAxes extends Entity implements IJsonBackedObject { - - - /** - * The Category Axis. - * Represents the category axis in a chart. Read-only. - */ - @SerializedName("categoryAxis") - @Expose - public WorkbookChartAxis categoryAxis; - - /** - * The Series Axis. - * Represents the series axis of a 3-dimensional chart. Read-only. - */ - @SerializedName("seriesAxis") - @Expose - public WorkbookChartAxis seriesAxis; - - /** - * The Value Axis. - * Represents the value axis in an axis. Read-only. - */ - @SerializedName("valueAxis") - @Expose - public WorkbookChartAxis valueAxis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxis.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxis.java deleted file mode 100644 index 40d9c6e6b2c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxis.java +++ /dev/null @@ -1,137 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; -import com.microsoft.graph.models.extensions.WorkbookChartGridlines; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis. - */ -public class BaseWorkbookChartAxis extends Entity implements IJsonBackedObject { - - - /** - * The Major Unit. - * Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number. - */ - @SerializedName("majorUnit") - @Expose - public com.google.gson.JsonElement majorUnit; - - /** - * The Maximum. - * Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - */ - @SerializedName("maximum") - @Expose - public com.google.gson.JsonElement maximum; - - /** - * The Minimum. - * Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - */ - @SerializedName("minimum") - @Expose - public com.google.gson.JsonElement minimum; - - /** - * The Minor Unit. - * Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - */ - @SerializedName("minorUnit") - @Expose - public com.google.gson.JsonElement minorUnit; - - /** - * The Format. - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartAxisFormat format; - - /** - * The Major Gridlines. - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - */ - @SerializedName("majorGridlines") - @Expose - public WorkbookChartGridlines majorGridlines; - - /** - * The Minor Gridlines. - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - */ - @SerializedName("minorGridlines") - @Expose - public WorkbookChartGridlines minorGridlines; - - /** - * The Title. - * Represents the axis title. Read-only. - */ - @SerializedName("title") - @Expose - public WorkbookChartAxisTitle title; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisFormat.java deleted file mode 100644 index 53b4696d7cb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisFormat.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Format. - */ -public class BaseWorkbookChartAxisFormat extends Entity implements IJsonBackedObject { - - - /** - * The Font. - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookChartFont font; - - /** - * The Line. - * Represents chart line formatting. Read-only. - */ - @SerializedName("line") - @Expose - public WorkbookChartLineFormat line; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitle.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitle.java deleted file mode 100644 index 7fcb0d27f42..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitle.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Title. - */ -public class BaseWorkbookChartAxisTitle extends Entity implements IJsonBackedObject { - - - /** - * The Text. - * Represents the axis title. - */ - @SerializedName("text") - @Expose - public String text; - - /** - * The Visible. - * A boolean that specifies the visibility of an axis title. - */ - @SerializedName("visible") - @Expose - public Boolean visible; - - /** - * The Format. - * Represents the formatting of chart axis title. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartAxisTitleFormat format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitleFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitleFormat.java deleted file mode 100644 index deab5fbdb7f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartAxisTitleFormat.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Title Format. - */ -public class BaseWorkbookChartAxisTitleFormat extends Entity implements IJsonBackedObject { - - - /** - * The Font. - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookChartFont font; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabelFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabelFormat.java deleted file mode 100644 index a196b8a8d3b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabelFormat.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Data Label Format. - */ -public class BaseWorkbookChartDataLabelFormat extends Entity implements IJsonBackedObject { - - - /** - * The Fill. - * Represents the fill format of the current chart data label. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookChartFill fill; - - /** - * The Font. - * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookChartFont font; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabels.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabels.java deleted file mode 100644 index a7572777119..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartDataLabels.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Data Labels. - */ -public class BaseWorkbookChartDataLabels extends Entity implements IJsonBackedObject { - - - /** - * The Position. - * DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout. - */ - @SerializedName("position") - @Expose - public String position; - - /** - * The Separator. - * String representing the separator used for the data labels on a chart. - */ - @SerializedName("separator") - @Expose - public String separator; - - /** - * The Show Bubble Size. - * Boolean value representing if the data label bubble size is visible or not. - */ - @SerializedName("showBubbleSize") - @Expose - public Boolean showBubbleSize; - - /** - * The Show Category Name. - * Boolean value representing if the data label category name is visible or not. - */ - @SerializedName("showCategoryName") - @Expose - public Boolean showCategoryName; - - /** - * The Show Legend Key. - * Boolean value representing if the data label legend key is visible or not. - */ - @SerializedName("showLegendKey") - @Expose - public Boolean showLegendKey; - - /** - * The Show Percentage. - * Boolean value representing if the data label percentage is visible or not. - */ - @SerializedName("showPercentage") - @Expose - public Boolean showPercentage; - - /** - * The Show Series Name. - * Boolean value representing if the data label series name is visible or not. - */ - @SerializedName("showSeriesName") - @Expose - public Boolean showSeriesName; - - /** - * The Show Value. - * Boolean value representing if the data label value is visible or not. - */ - @SerializedName("showValue") - @Expose - public Boolean showValue; - - /** - * The Format. - * Represents the format of chart data labels, which includes fill and font formatting. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartDataLabelFormat format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFill.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFill.java deleted file mode 100644 index 25b780bd762..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFill.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill. - */ -public class BaseWorkbookChartFill extends Entity implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFillSetSolidColorBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFillSetSolidColorBody.java deleted file mode 100644 index e1ad01b20a4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFillSetSolidColorBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Set Solid Color Body. - */ -public class BaseWorkbookChartFillSetSolidColorBody { - - /** - * The color. - * - */ - @SerializedName("color") - @Expose - public String color; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFont.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFont.java deleted file mode 100644 index d06b998d41f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartFont.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Font. - */ -public class BaseWorkbookChartFont extends Entity implements IJsonBackedObject { - - - /** - * The Bold. - * Represents the bold status of font. - */ - @SerializedName("bold") - @Expose - public Boolean bold; - - /** - * The Color. - * HTML color code representation of the text color. E.g. #FF0000 represents Red. - */ - @SerializedName("color") - @Expose - public String color; - - /** - * The Italic. - * Represents the italic status of the font. - */ - @SerializedName("italic") - @Expose - public Boolean italic; - - /** - * The Name. - * Font name (e.g. 'Calibri') - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Size. - * Size of the font (e.g. 11) - */ - @SerializedName("size") - @Expose - public Double size; - - /** - * The Underline. - * Type of underline applied to the font. The possible values are: None, Single. - */ - @SerializedName("underline") - @Expose - public String underline; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlines.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlines.java deleted file mode 100644 index d495abdc263..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlines.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Gridlines. - */ -public class BaseWorkbookChartGridlines extends Entity implements IJsonBackedObject { - - - /** - * The Visible. - * Boolean value representing if the axis gridlines are visible or not. - */ - @SerializedName("visible") - @Expose - public Boolean visible; - - /** - * The Format. - * Represents the formatting of chart gridlines. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartGridlinesFormat format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlinesFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlinesFormat.java deleted file mode 100644 index b6eafb192ed..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartGridlinesFormat.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Gridlines Format. - */ -public class BaseWorkbookChartGridlinesFormat extends Entity implements IJsonBackedObject { - - - /** - * The Line. - * Represents chart line formatting. Read-only. - */ - @SerializedName("line") - @Expose - public WorkbookChartLineFormat line; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegend.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegend.java deleted file mode 100644 index a2af890c9aa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegend.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Legend. - */ -public class BaseWorkbookChartLegend extends Entity implements IJsonBackedObject { - - - /** - * The Overlay. - * Boolean value for whether the chart legend should overlap with the main body of the chart. - */ - @SerializedName("overlay") - @Expose - public Boolean overlay; - - /** - * The Position. - * Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom. - */ - @SerializedName("position") - @Expose - public String position; - - /** - * The Visible. - * A boolean value the represents the visibility of a ChartLegend object. - */ - @SerializedName("visible") - @Expose - public Boolean visible; - - /** - * The Format. - * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartLegendFormat format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegendFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegendFormat.java deleted file mode 100644 index 9542a390fbd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLegendFormat.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Legend Format. - */ -public class BaseWorkbookChartLegendFormat extends Entity implements IJsonBackedObject { - - - /** - * The Fill. - * Represents the fill format of an object, which includes background formating information. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookChartFill fill; - - /** - * The Font. - * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookChartFont font; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLineFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLineFormat.java deleted file mode 100644 index 02cbb0b4a08..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartLineFormat.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Line Format. - */ -public class BaseWorkbookChartLineFormat extends Entity implements IJsonBackedObject { - - - /** - * The Color. - * HTML color code representing the color of lines in the chart. - */ - @SerializedName("color") - @Expose - public String color; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPoint.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPoint.java deleted file mode 100644 index 5c7c123525e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPoint.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point. - */ -public class BaseWorkbookChartPoint extends Entity implements IJsonBackedObject { - - - /** - * The Value. - * Returns the value of a chart point. Read-only. - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - /** - * The Format. - * Encapsulates the format properties chart point. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartPointFormat format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPointFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPointFormat.java deleted file mode 100644 index eb15cd79688..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartPointFormat.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Format. - */ -public class BaseWorkbookChartPointFormat extends Entity implements IJsonBackedObject { - - - /** - * The Fill. - * Represents the fill format of a chart, which includes background formating information. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookChartFill fill; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeries.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeries.java deleted file mode 100644 index 4bcaf929909..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeries.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookChartPointCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series. - */ -public class BaseWorkbookChartSeries extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * Represents the name of a series in a chart. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Format. - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartSeriesFormat format; - - /** - * The Points. - * Represents a collection of all points in the series. Read-only. - */ - public WorkbookChartPointCollectionPage points; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("points")) { - final BaseWorkbookChartPointCollectionResponse response = new BaseWorkbookChartPointCollectionResponse(); - if (json.has("points@odata.nextLink")) { - response.nextLink = json.get("points@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("points").toString(), JsonObject[].class); - final WorkbookChartPoint[] array = new WorkbookChartPoint[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookChartPoint.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - points = new WorkbookChartPointCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeriesFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeriesFormat.java deleted file mode 100644 index e70f86efa57..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSeriesFormat.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Format. - */ -public class BaseWorkbookChartSeriesFormat extends Entity implements IJsonBackedObject { - - - /** - * The Fill. - * Represents the fill format of a chart series, which includes background formating information. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookChartFill fill; - - /** - * The Line. - * Represents line formatting. Read-only. - */ - @SerializedName("line") - @Expose - public WorkbookChartLineFormat line; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetDataBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetDataBody.java deleted file mode 100644 index 1bb3eab1ba8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetDataBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Set Data Body. - */ -public class BaseWorkbookChartSetDataBody { - - /** - * The source Data. - * - */ - @SerializedName("sourceData") - @Expose - public com.google.gson.JsonElement sourceData; - - /** - * The series By. - * - */ - @SerializedName("seriesBy") - @Expose - public String seriesBy; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetPositionBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetPositionBody.java deleted file mode 100644 index 1b9d9dba6e9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartSetPositionBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Set Position Body. - */ -public class BaseWorkbookChartSetPositionBody { - - /** - * The start Cell. - * - */ - @SerializedName("startCell") - @Expose - public com.google.gson.JsonElement startCell; - - /** - * The end Cell. - * - */ - @SerializedName("endCell") - @Expose - public com.google.gson.JsonElement endCell; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitle.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitle.java deleted file mode 100644 index 7795c692f67..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitle.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Title. - */ -public class BaseWorkbookChartTitle extends Entity implements IJsonBackedObject { - - - /** - * The Overlay. - * Boolean value representing if the chart title will overlay the chart or not. - */ - @SerializedName("overlay") - @Expose - public Boolean overlay; - - /** - * The Text. - * Represents the title text of a chart. - */ - @SerializedName("text") - @Expose - public String text; - - /** - * The Visible. - * A boolean value the represents the visibility of a chart title object. - */ - @SerializedName("visible") - @Expose - public Boolean visible; - - /** - * The Format. - * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookChartTitleFormat format; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitleFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitleFormat.java deleted file mode 100644 index faa54de8c5a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookChartTitleFormat.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Title Format. - */ -public class BaseWorkbookChartTitleFormat extends Entity implements IJsonBackedObject { - - - /** - * The Fill. - * Represents the fill format of an object, which includes background formatting information. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookChartFill fill; - - /** - * The Font. - * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookChartFont font; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookCreateSessionBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookCreateSessionBody.java deleted file mode 100644 index 43af6b17e30..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookCreateSessionBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Create Session Body. - */ -public class BaseWorkbookCreateSessionBody { - - /** - * The persist Changes. - * - */ - @SerializedName("persistChanges") - @Expose - public Boolean persistChanges; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilter.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilter.java deleted file mode 100644 index 00c63daca01..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilter.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter. - */ -public class BaseWorkbookFilter extends Entity implements IJsonBackedObject { - - - /** - * The Criteria. - * The currently applied filter on the given column. Read-only. - */ - @SerializedName("criteria") - @Expose - public WorkbookFilterCriteria criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBody.java deleted file mode 100644 index 4f166ab25e3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Body. - */ -public class BaseWorkbookFilterApplyBody { - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public WorkbookFilterCriteria criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomItemsFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomItemsFilterBody.java deleted file mode 100644 index e0d05adb3b4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomItemsFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Bottom Items Filter Body. - */ -public class BaseWorkbookFilterApplyBottomItemsFilterBody { - - /** - * The count. - * - */ - @SerializedName("count") - @Expose - public Integer count; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomPercentFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomPercentFilterBody.java deleted file mode 100644 index 4d0bdb5a534..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyBottomPercentFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Bottom Percent Filter Body. - */ -public class BaseWorkbookFilterApplyBottomPercentFilterBody { - - /** - * The percent. - * - */ - @SerializedName("percent") - @Expose - public Integer percent; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCellColorFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCellColorFilterBody.java deleted file mode 100644 index 092a5e96b6e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCellColorFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Cell Color Filter Body. - */ -public class BaseWorkbookFilterApplyCellColorFilterBody { - - /** - * The color. - * - */ - @SerializedName("color") - @Expose - public String color; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCustomFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCustomFilterBody.java deleted file mode 100644 index 6a1c254896c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyCustomFilterBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Custom Filter Body. - */ -public class BaseWorkbookFilterApplyCustomFilterBody { - - /** - * The criteria1. - * - */ - @SerializedName("criteria1") - @Expose - public String criteria1; - - /** - * The criteria2. - * - */ - @SerializedName("criteria2") - @Expose - public String criteria2; - - /** - * The oper. - * - */ - @SerializedName("oper") - @Expose - public String oper; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyDynamicFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyDynamicFilterBody.java deleted file mode 100644 index 74ef525ff89..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyDynamicFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Dynamic Filter Body. - */ -public class BaseWorkbookFilterApplyDynamicFilterBody { - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public String criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyFontColorFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyFontColorFilterBody.java deleted file mode 100644 index 660391d8708..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyFontColorFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Font Color Filter Body. - */ -public class BaseWorkbookFilterApplyFontColorFilterBody { - - /** - * The color. - * - */ - @SerializedName("color") - @Expose - public String color; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyIconFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyIconFilterBody.java deleted file mode 100644 index 91428598027..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyIconFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Icon Filter Body. - */ -public class BaseWorkbookFilterApplyIconFilterBody { - - /** - * The icon. - * - */ - @SerializedName("icon") - @Expose - public WorkbookIcon icon; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopItemsFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopItemsFilterBody.java deleted file mode 100644 index d78adb28cca..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopItemsFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Top Items Filter Body. - */ -public class BaseWorkbookFilterApplyTopItemsFilterBody { - - /** - * The count. - * - */ - @SerializedName("count") - @Expose - public Integer count; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopPercentFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopPercentFilterBody.java deleted file mode 100644 index 7ab82e839c6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyTopPercentFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Top Percent Filter Body. - */ -public class BaseWorkbookFilterApplyTopPercentFilterBody { - - /** - * The percent. - * - */ - @SerializedName("percent") - @Expose - public Integer percent; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyValuesFilterBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyValuesFilterBody.java deleted file mode 100644 index 1359f1584f8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterApplyValuesFilterBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Values Filter Body. - */ -public class BaseWorkbookFilterApplyValuesFilterBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterCriteria.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterCriteria.java deleted file mode 100644 index 43deb39bd01..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterCriteria.java +++ /dev/null @@ -1,144 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookIcon; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Criteria. - */ -public class BaseWorkbookFilterCriteria implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Color. - * - */ - @SerializedName("color") - @Expose - public String color; - - /** - * The Criterion1. - * - */ - @SerializedName("criterion1") - @Expose - public String criterion1; - - /** - * The Criterion2. - * - */ - @SerializedName("criterion2") - @Expose - public String criterion2; - - /** - * The Dynamic Criteria. - * - */ - @SerializedName("dynamicCriteria") - @Expose - public String dynamicCriteria; - - /** - * The Filter On. - * - */ - @SerializedName("filterOn") - @Expose - public String filterOn; - - /** - * The Icon. - * - */ - @SerializedName("icon") - @Expose - public WorkbookIcon icon; - - /** - * The Operator. - * - */ - @SerializedName("operator") - @Expose - public String operator; - - /** - * The Values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterDatetime.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterDatetime.java deleted file mode 100644 index c0eb3644b0b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFilterDatetime.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Datetime. - */ -public class BaseWorkbookFilterDatetime implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Date. - * - */ - @SerializedName("date") - @Expose - public String date; - - /** - * The Specificity. - * - */ - @SerializedName("specificity") - @Expose - public String specificity; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFormatProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFormatProtection.java deleted file mode 100644 index c2bacda06fb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFormatProtection.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Format Protection. - */ -public class BaseWorkbookFormatProtection extends Entity implements IJsonBackedObject { - - - /** - * The Formula Hidden. - * 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. - */ - @SerializedName("formulaHidden") - @Expose - public Boolean formulaHidden; - - /** - * The Locked. - * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. - */ - @SerializedName("locked") - @Expose - public Boolean locked; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionResult.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionResult.java deleted file mode 100644 index 93e6561891c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionResult.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Function Result. - */ -public class BaseWorkbookFunctionResult extends Entity implements IJsonBackedObject { - - - /** - * The Error. - * - */ - @SerializedName("error") - @Expose - public String error; - - /** - * The Value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctions.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctions.java deleted file mode 100644 index 7d2c2110ce8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctions.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions. - */ -public class BaseWorkbookFunctions extends Entity implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAbsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAbsBody.java deleted file mode 100644 index 1874945422b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAbsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Abs Body. - */ -public class BaseWorkbookFunctionsAbsBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntBody.java deleted file mode 100644 index 0e3d75577dc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntBody.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Accr Int Body. - */ -public class BaseWorkbookFunctionsAccrIntBody { - - /** - * The issue. - * - */ - @SerializedName("issue") - @Expose - public com.google.gson.JsonElement issue; - - /** - * The first Interest. - * - */ - @SerializedName("firstInterest") - @Expose - public com.google.gson.JsonElement firstInterest; - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The par. - * - */ - @SerializedName("par") - @Expose - public com.google.gson.JsonElement par; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - /** - * The calc Method. - * - */ - @SerializedName("calcMethod") - @Expose - public com.google.gson.JsonElement calcMethod; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntMBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntMBody.java deleted file mode 100644 index d0664163ada..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAccrIntMBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Accr Int MBody. - */ -public class BaseWorkbookFunctionsAccrIntMBody { - - /** - * The issue. - * - */ - @SerializedName("issue") - @Expose - public com.google.gson.JsonElement issue; - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The par. - * - */ - @SerializedName("par") - @Expose - public com.google.gson.JsonElement par; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcosBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcosBody.java deleted file mode 100644 index b2ae4bebddc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcosBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acos Body. - */ -public class BaseWorkbookFunctionsAcosBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcoshBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcoshBody.java deleted file mode 100644 index 7180a5ffc65..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcoshBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acosh Body. - */ -public class BaseWorkbookFunctionsAcoshBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcotBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcotBody.java deleted file mode 100644 index 8c0052f1c21..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcotBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acot Body. - */ -public class BaseWorkbookFunctionsAcotBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcothBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcothBody.java deleted file mode 100644 index 0c586f80f7a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAcothBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acoth Body. - */ -public class BaseWorkbookFunctionsAcothBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorDegrcBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorDegrcBody.java deleted file mode 100644 index 623cc93ab7e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorDegrcBody.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Amor Degrc Body. - */ -public class BaseWorkbookFunctionsAmorDegrcBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The date Purchased. - * - */ - @SerializedName("datePurchased") - @Expose - public com.google.gson.JsonElement datePurchased; - - /** - * The first Period. - * - */ - @SerializedName("firstPeriod") - @Expose - public com.google.gson.JsonElement firstPeriod; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The period. - * - */ - @SerializedName("period") - @Expose - public com.google.gson.JsonElement period; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorLincBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorLincBody.java deleted file mode 100644 index 3d33adb4691..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAmorLincBody.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Amor Linc Body. - */ -public class BaseWorkbookFunctionsAmorLincBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The date Purchased. - * - */ - @SerializedName("datePurchased") - @Expose - public com.google.gson.JsonElement datePurchased; - - /** - * The first Period. - * - */ - @SerializedName("firstPeriod") - @Expose - public com.google.gson.JsonElement firstPeriod; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The period. - * - */ - @SerializedName("period") - @Expose - public com.google.gson.JsonElement period; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAndBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAndBody.java deleted file mode 100644 index 2cd67b1d82f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAndBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions And Body. - */ -public class BaseWorkbookFunctionsAndBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsArabicBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsArabicBody.java deleted file mode 100644 index fcaf9b65919..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsArabicBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Arabic Body. - */ -public class BaseWorkbookFunctionsArabicBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAreasBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAreasBody.java deleted file mode 100644 index 6adc3991919..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAreasBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Areas Body. - */ -public class BaseWorkbookFunctionsAreasBody { - - /** - * The reference. - * - */ - @SerializedName("reference") - @Expose - public com.google.gson.JsonElement reference; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAscBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAscBody.java deleted file mode 100644 index ca2fc9f7b79..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAscBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asc Body. - */ -public class BaseWorkbookFunctionsAscBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinBody.java deleted file mode 100644 index 1d63cec46b6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asin Body. - */ -public class BaseWorkbookFunctionsAsinBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinhBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinhBody.java deleted file mode 100644 index 5d0c14b0a8d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAsinhBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asinh Body. - */ -public class BaseWorkbookFunctionsAsinhBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtan2Body.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtan2Body.java deleted file mode 100644 index 29c17090d3a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtan2Body.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atan2Body. - */ -public class BaseWorkbookFunctionsAtan2Body { - - /** - * The x Num. - * - */ - @SerializedName("xNum") - @Expose - public com.google.gson.JsonElement xNum; - - /** - * The y Num. - * - */ - @SerializedName("yNum") - @Expose - public com.google.gson.JsonElement yNum; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanBody.java deleted file mode 100644 index 1b38e403add..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atan Body. - */ -public class BaseWorkbookFunctionsAtanBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanhBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanhBody.java deleted file mode 100644 index a259bd556bd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAtanhBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atanh Body. - */ -public class BaseWorkbookFunctionsAtanhBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAveDevBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAveDevBody.java deleted file mode 100644 index 57ce7498f4e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAveDevBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ave Dev Body. - */ -public class BaseWorkbookFunctionsAveDevBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageABody.java deleted file mode 100644 index c9e11daa189..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average ABody. - */ -public class BaseWorkbookFunctionsAverageABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageBody.java deleted file mode 100644 index 33b005b2073..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average Body. - */ -public class BaseWorkbookFunctionsAverageBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfBody.java deleted file mode 100644 index 7bd89df7ce2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average If Body. - */ -public class BaseWorkbookFunctionsAverageIfBody { - - /** - * The range. - * - */ - @SerializedName("range") - @Expose - public com.google.gson.JsonElement range; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - /** - * The average Range. - * - */ - @SerializedName("averageRange") - @Expose - public com.google.gson.JsonElement averageRange; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfsBody.java deleted file mode 100644 index c33dfb42929..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsAverageIfsBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average Ifs Body. - */ -public class BaseWorkbookFunctionsAverageIfsBody { - - /** - * The average Range. - * - */ - @SerializedName("averageRange") - @Expose - public com.google.gson.JsonElement averageRange; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBahtTextBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBahtTextBody.java deleted file mode 100644 index ce6ee34801d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBahtTextBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Baht Text Body. - */ -public class BaseWorkbookFunctionsBahtTextBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBaseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBaseBody.java deleted file mode 100644 index 561971591e1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBaseBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Base Body. - */ -public class BaseWorkbookFunctionsBaseBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The radix. - * - */ - @SerializedName("radix") - @Expose - public com.google.gson.JsonElement radix; - - /** - * The min Length. - * - */ - @SerializedName("minLength") - @Expose - public com.google.gson.JsonElement minLength; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselIBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselIBody.java deleted file mode 100644 index be8fd32e87d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselIBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel IBody. - */ -public class BaseWorkbookFunctionsBesselIBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The n. - * - */ - @SerializedName("n") - @Expose - public com.google.gson.JsonElement n; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselJBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselJBody.java deleted file mode 100644 index 1a824404ca9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselJBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel JBody. - */ -public class BaseWorkbookFunctionsBesselJBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The n. - * - */ - @SerializedName("n") - @Expose - public com.google.gson.JsonElement n; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselKBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselKBody.java deleted file mode 100644 index d6330e214c5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselKBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel KBody. - */ -public class BaseWorkbookFunctionsBesselKBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The n. - * - */ - @SerializedName("n") - @Expose - public com.google.gson.JsonElement n; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselYBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselYBody.java deleted file mode 100644 index 62370d1eadd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBesselYBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel YBody. - */ -public class BaseWorkbookFunctionsBesselYBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The n. - * - */ - @SerializedName("n") - @Expose - public com.google.gson.JsonElement n; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_DistBody.java deleted file mode 100644 index e3eed5bc465..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_DistBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Beta_Dist Body. - */ -public class BaseWorkbookFunctionsBeta_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The beta. - * - */ - @SerializedName("beta") - @Expose - public com.google.gson.JsonElement beta; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - /** - * The a. - * - */ - @SerializedName("a") - @Expose - public com.google.gson.JsonElement a; - - /** - * The b. - * - */ - @SerializedName("b") - @Expose - public com.google.gson.JsonElement b; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_InvBody.java deleted file mode 100644 index 2c02bfc72e0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBeta_InvBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Beta_Inv Body. - */ -public class BaseWorkbookFunctionsBeta_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The beta. - * - */ - @SerializedName("beta") - @Expose - public com.google.gson.JsonElement beta; - - /** - * The a. - * - */ - @SerializedName("a") - @Expose - public com.google.gson.JsonElement a; - - /** - * The b. - * - */ - @SerializedName("b") - @Expose - public com.google.gson.JsonElement b; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2DecBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2DecBody.java deleted file mode 100644 index d8d355e7a15..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2DecBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Dec Body. - */ -public class BaseWorkbookFunctionsBin2DecBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2HexBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2HexBody.java deleted file mode 100644 index fcc4423ef89..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2HexBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Hex Body. - */ -public class BaseWorkbookFunctionsBin2HexBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2OctBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2OctBody.java deleted file mode 100644 index db8ecb418e1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBin2OctBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Oct Body. - */ -public class BaseWorkbookFunctionsBin2OctBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_DistBody.java deleted file mode 100644 index 4a1a7c54253..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Dist Body. - */ -public class BaseWorkbookFunctionsBinom_DistBody { - - /** - * The number S. - * - */ - @SerializedName("numberS") - @Expose - public com.google.gson.JsonElement numberS; - - /** - * The trials. - * - */ - @SerializedName("trials") - @Expose - public com.google.gson.JsonElement trials; - - /** - * The probability S. - * - */ - @SerializedName("probabilityS") - @Expose - public com.google.gson.JsonElement probabilityS; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_Dist_RangeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_Dist_RangeBody.java deleted file mode 100644 index b19fe8e1d27..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_Dist_RangeBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Dist_Range Body. - */ -public class BaseWorkbookFunctionsBinom_Dist_RangeBody { - - /** - * The trials. - * - */ - @SerializedName("trials") - @Expose - public com.google.gson.JsonElement trials; - - /** - * The probability S. - * - */ - @SerializedName("probabilityS") - @Expose - public com.google.gson.JsonElement probabilityS; - - /** - * The number S. - * - */ - @SerializedName("numberS") - @Expose - public com.google.gson.JsonElement numberS; - - /** - * The number S2. - * - */ - @SerializedName("numberS2") - @Expose - public com.google.gson.JsonElement numberS2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_InvBody.java deleted file mode 100644 index 74a0cb8317e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBinom_InvBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Inv Body. - */ -public class BaseWorkbookFunctionsBinom_InvBody { - - /** - * The trials. - * - */ - @SerializedName("trials") - @Expose - public com.google.gson.JsonElement trials; - - /** - * The probability S. - * - */ - @SerializedName("probabilityS") - @Expose - public com.google.gson.JsonElement probabilityS; - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitandBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitandBody.java deleted file mode 100644 index cdf554cd985..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitandBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitand Body. - */ -public class BaseWorkbookFunctionsBitandBody { - - /** - * The number1. - * - */ - @SerializedName("number1") - @Expose - public com.google.gson.JsonElement number1; - - /** - * The number2. - * - */ - @SerializedName("number2") - @Expose - public com.google.gson.JsonElement number2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitlshiftBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitlshiftBody.java deleted file mode 100644 index efa254688a9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitlshiftBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitlshift Body. - */ -public class BaseWorkbookFunctionsBitlshiftBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The shift Amount. - * - */ - @SerializedName("shiftAmount") - @Expose - public com.google.gson.JsonElement shiftAmount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitorBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitorBody.java deleted file mode 100644 index 564aaa1b319..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitorBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitor Body. - */ -public class BaseWorkbookFunctionsBitorBody { - - /** - * The number1. - * - */ - @SerializedName("number1") - @Expose - public com.google.gson.JsonElement number1; - - /** - * The number2. - * - */ - @SerializedName("number2") - @Expose - public com.google.gson.JsonElement number2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitrshiftBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitrshiftBody.java deleted file mode 100644 index 2d9019036cb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitrshiftBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitrshift Body. - */ -public class BaseWorkbookFunctionsBitrshiftBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The shift Amount. - * - */ - @SerializedName("shiftAmount") - @Expose - public com.google.gson.JsonElement shiftAmount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitxorBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitxorBody.java deleted file mode 100644 index f1563f141e9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsBitxorBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitxor Body. - */ -public class BaseWorkbookFunctionsBitxorBody { - - /** - * The number1. - * - */ - @SerializedName("number1") - @Expose - public com.google.gson.JsonElement number1; - - /** - * The number2. - * - */ - @SerializedName("number2") - @Expose - public com.google.gson.JsonElement number2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_MathBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_MathBody.java deleted file mode 100644 index 04350485586..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_MathBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ceiling_Math Body. - */ -public class BaseWorkbookFunctionsCeiling_MathBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - /** - * The mode. - * - */ - @SerializedName("mode") - @Expose - public com.google.gson.JsonElement mode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_PreciseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_PreciseBody.java deleted file mode 100644 index 2f0c8859d98..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCeiling_PreciseBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ceiling_Precise Body. - */ -public class BaseWorkbookFunctionsCeiling_PreciseBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCharBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCharBody.java deleted file mode 100644 index 6c398686652..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCharBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Char Body. - */ -public class BaseWorkbookFunctionsCharBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_DistBody.java deleted file mode 100644 index 525c480be0c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_DistBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Dist Body. - */ -public class BaseWorkbookFunctionsChiSq_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Dist_RTBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Dist_RTBody.java deleted file mode 100644 index 6436e96da80..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Dist_RTBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Dist_RTBody. - */ -public class BaseWorkbookFunctionsChiSq_Dist_RTBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_InvBody.java deleted file mode 100644 index 49f48283f65..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_InvBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Inv Body. - */ -public class BaseWorkbookFunctionsChiSq_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Inv_RTBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Inv_RTBody.java deleted file mode 100644 index 921a9cbc6cc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChiSq_Inv_RTBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Inv_RTBody. - */ -public class BaseWorkbookFunctionsChiSq_Inv_RTBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChooseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChooseBody.java deleted file mode 100644 index 0c13bd8815b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsChooseBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Choose Body. - */ -public class BaseWorkbookFunctionsChooseBody { - - /** - * The index Num. - * - */ - @SerializedName("indexNum") - @Expose - public com.google.gson.JsonElement indexNum; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCleanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCleanBody.java deleted file mode 100644 index c8a118617e7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCleanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Clean Body. - */ -public class BaseWorkbookFunctionsCleanBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCodeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCodeBody.java deleted file mode 100644 index 07608f84c29..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCodeBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Code Body. - */ -public class BaseWorkbookFunctionsCodeBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsColumnsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsColumnsBody.java deleted file mode 100644 index 0c6c6985d0a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsColumnsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Columns Body. - */ -public class BaseWorkbookFunctionsColumnsBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinBody.java deleted file mode 100644 index 456569c5b22..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Combin Body. - */ -public class BaseWorkbookFunctionsCombinBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The number Chosen. - * - */ - @SerializedName("numberChosen") - @Expose - public com.google.gson.JsonElement numberChosen; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinaBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinaBody.java deleted file mode 100644 index 6d4e9150a56..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCombinaBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Combina Body. - */ -public class BaseWorkbookFunctionsCombinaBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The number Chosen. - * - */ - @SerializedName("numberChosen") - @Expose - public com.google.gson.JsonElement numberChosen; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsComplexBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsComplexBody.java deleted file mode 100644 index dc166468fb9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsComplexBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Complex Body. - */ -public class BaseWorkbookFunctionsComplexBody { - - /** - * The real Num. - * - */ - @SerializedName("realNum") - @Expose - public com.google.gson.JsonElement realNum; - - /** - * The i Num. - * - */ - @SerializedName("iNum") - @Expose - public com.google.gson.JsonElement iNum; - - /** - * The suffix. - * - */ - @SerializedName("suffix") - @Expose - public com.google.gson.JsonElement suffix; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConcatenateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConcatenateBody.java deleted file mode 100644 index e335d380051..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConcatenateBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Concatenate Body. - */ -public class BaseWorkbookFunctionsConcatenateBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_NormBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_NormBody.java deleted file mode 100644 index dfd0d2085ac..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_NormBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Confidence_Norm Body. - */ -public class BaseWorkbookFunctionsConfidence_NormBody { - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - /** - * The size. - * - */ - @SerializedName("size") - @Expose - public com.google.gson.JsonElement size; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_TBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_TBody.java deleted file mode 100644 index 8d39d7fedc8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConfidence_TBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Confidence_TBody. - */ -public class BaseWorkbookFunctionsConfidence_TBody { - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - /** - * The size. - * - */ - @SerializedName("size") - @Expose - public com.google.gson.JsonElement size; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConvertBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConvertBody.java deleted file mode 100644 index ee128a10399..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsConvertBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Convert Body. - */ -public class BaseWorkbookFunctionsConvertBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The from Unit. - * - */ - @SerializedName("fromUnit") - @Expose - public com.google.gson.JsonElement fromUnit; - - /** - * The to Unit. - * - */ - @SerializedName("toUnit") - @Expose - public com.google.gson.JsonElement toUnit; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCosBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCosBody.java deleted file mode 100644 index b5b5697a534..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCosBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cos Body. - */ -public class BaseWorkbookFunctionsCosBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoshBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoshBody.java deleted file mode 100644 index 4436da57ef7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoshBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cosh Body. - */ -public class BaseWorkbookFunctionsCoshBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCotBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCotBody.java deleted file mode 100644 index 849da3c3c40..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCotBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cot Body. - */ -public class BaseWorkbookFunctionsCotBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCothBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCothBody.java deleted file mode 100644 index 2b7b6a34865..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCothBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coth Body. - */ -public class BaseWorkbookFunctionsCothBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountABody.java deleted file mode 100644 index d25411307e4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count ABody. - */ -public class BaseWorkbookFunctionsCountABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBlankBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBlankBody.java deleted file mode 100644 index 3d540141ebe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBlankBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Blank Body. - */ -public class BaseWorkbookFunctionsCountBlankBody { - - /** - * The range. - * - */ - @SerializedName("range") - @Expose - public com.google.gson.JsonElement range; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBody.java deleted file mode 100644 index a447cf96cb1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Body. - */ -public class BaseWorkbookFunctionsCountBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfBody.java deleted file mode 100644 index 2dd7b1a4cc7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count If Body. - */ -public class BaseWorkbookFunctionsCountIfBody { - - /** - * The range. - * - */ - @SerializedName("range") - @Expose - public com.google.gson.JsonElement range; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfsBody.java deleted file mode 100644 index 598f6e7820e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCountIfsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Ifs Body. - */ -public class BaseWorkbookFunctionsCountIfsBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDayBsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDayBsBody.java deleted file mode 100644 index 4a6f453d8b7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDayBsBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Day Bs Body. - */ -public class BaseWorkbookFunctionsCoupDayBsBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysBody.java deleted file mode 100644 index 3d0786da2b3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Days Body. - */ -public class BaseWorkbookFunctionsCoupDaysBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysNcBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysNcBody.java deleted file mode 100644 index adf9f162957..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupDaysNcBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Days Nc Body. - */ -public class BaseWorkbookFunctionsCoupDaysNcBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNcdBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNcdBody.java deleted file mode 100644 index 799e69e59f3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNcdBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Ncd Body. - */ -public class BaseWorkbookFunctionsCoupNcdBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNumBody.java deleted file mode 100644 index b9d57327c94..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupNumBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Num Body. - */ -public class BaseWorkbookFunctionsCoupNumBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupPcdBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupPcdBody.java deleted file mode 100644 index a2c0dc37668..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCoupPcdBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Pcd Body. - */ -public class BaseWorkbookFunctionsCoupPcdBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCscBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCscBody.java deleted file mode 100644 index 712f2883e75..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCscBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Csc Body. - */ -public class BaseWorkbookFunctionsCscBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCschBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCschBody.java deleted file mode 100644 index a0123705961..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCschBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Csch Body. - */ -public class BaseWorkbookFunctionsCschBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumIPmtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumIPmtBody.java deleted file mode 100644 index 1718f8ea2b5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumIPmtBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cum IPmt Body. - */ -public class BaseWorkbookFunctionsCumIPmtBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The start Period. - * - */ - @SerializedName("startPeriod") - @Expose - public com.google.gson.JsonElement startPeriod; - - /** - * The end Period. - * - */ - @SerializedName("endPeriod") - @Expose - public com.google.gson.JsonElement endPeriod; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumPrincBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumPrincBody.java deleted file mode 100644 index 30254702c71..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsCumPrincBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cum Princ Body. - */ -public class BaseWorkbookFunctionsCumPrincBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The start Period. - * - */ - @SerializedName("startPeriod") - @Expose - public com.google.gson.JsonElement startPeriod; - - /** - * The end Period. - * - */ - @SerializedName("endPeriod") - @Expose - public com.google.gson.JsonElement endPeriod; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDateBody.java deleted file mode 100644 index 441e791abf4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDateBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Date Body. - */ -public class BaseWorkbookFunctionsDateBody { - - /** - * The year. - * - */ - @SerializedName("year") - @Expose - public com.google.gson.JsonElement year; - - /** - * The month. - * - */ - @SerializedName("month") - @Expose - public com.google.gson.JsonElement month; - - /** - * The day. - * - */ - @SerializedName("day") - @Expose - public com.google.gson.JsonElement day; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDatevalueBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDatevalueBody.java deleted file mode 100644 index 42c8a3ab4fa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDatevalueBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Datevalue Body. - */ -public class BaseWorkbookFunctionsDatevalueBody { - - /** - * The date Text. - * - */ - @SerializedName("dateText") - @Expose - public com.google.gson.JsonElement dateText; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaverageBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaverageBody.java deleted file mode 100644 index 3ce7e6d5c0a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaverageBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Daverage Body. - */ -public class BaseWorkbookFunctionsDaverageBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDayBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDayBody.java deleted file mode 100644 index ed857cf02f3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDayBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Day Body. - */ -public class BaseWorkbookFunctionsDayBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDays360Body.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDays360Body.java deleted file mode 100644 index f09fe30bd75..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDays360Body.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Days360Body. - */ -public class BaseWorkbookFunctionsDays360Body { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The end Date. - * - */ - @SerializedName("endDate") - @Expose - public com.google.gson.JsonElement endDate; - - /** - * The method. - * - */ - @SerializedName("method") - @Expose - public com.google.gson.JsonElement method; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaysBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaysBody.java deleted file mode 100644 index 7124d36debd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDaysBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Days Body. - */ -public class BaseWorkbookFunctionsDaysBody { - - /** - * The end Date. - * - */ - @SerializedName("endDate") - @Expose - public com.google.gson.JsonElement endDate; - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbBody.java deleted file mode 100644 index c650dfcd8f8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Db Body. - */ -public class BaseWorkbookFunctionsDbBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The life. - * - */ - @SerializedName("life") - @Expose - public com.google.gson.JsonElement life; - - /** - * The period. - * - */ - @SerializedName("period") - @Expose - public com.google.gson.JsonElement period; - - /** - * The month. - * - */ - @SerializedName("month") - @Expose - public com.google.gson.JsonElement month; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbcsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbcsBody.java deleted file mode 100644 index 377369b810e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDbcsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dbcs Body. - */ -public class BaseWorkbookFunctionsDbcsBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountABody.java deleted file mode 100644 index 4af076849eb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountABody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dcount ABody. - */ -public class BaseWorkbookFunctionsDcountABody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountBody.java deleted file mode 100644 index 3f78042203b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDcountBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dcount Body. - */ -public class BaseWorkbookFunctionsDcountBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDdbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDdbBody.java deleted file mode 100644 index 3ad1281bdaf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDdbBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ddb Body. - */ -public class BaseWorkbookFunctionsDdbBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The life. - * - */ - @SerializedName("life") - @Expose - public com.google.gson.JsonElement life; - - /** - * The period. - * - */ - @SerializedName("period") - @Expose - public com.google.gson.JsonElement period; - - /** - * The factor. - * - */ - @SerializedName("factor") - @Expose - public com.google.gson.JsonElement factor; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2BinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2BinBody.java deleted file mode 100644 index 4b50a81ed15..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2BinBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Bin Body. - */ -public class BaseWorkbookFunctionsDec2BinBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2HexBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2HexBody.java deleted file mode 100644 index eb24abd7b3c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2HexBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Hex Body. - */ -public class BaseWorkbookFunctionsDec2HexBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2OctBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2OctBody.java deleted file mode 100644 index e4b6d3d115d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDec2OctBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Oct Body. - */ -public class BaseWorkbookFunctionsDec2OctBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDecimalBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDecimalBody.java deleted file mode 100644 index 6b5a0b21631..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDecimalBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Decimal Body. - */ -public class BaseWorkbookFunctionsDecimalBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The radix. - * - */ - @SerializedName("radix") - @Expose - public com.google.gson.JsonElement radix; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDegreesBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDegreesBody.java deleted file mode 100644 index 6bd811d9a5d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDegreesBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Degrees Body. - */ -public class BaseWorkbookFunctionsDegreesBody { - - /** - * The angle. - * - */ - @SerializedName("angle") - @Expose - public com.google.gson.JsonElement angle; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDeltaBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDeltaBody.java deleted file mode 100644 index 81f90232386..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDeltaBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Delta Body. - */ -public class BaseWorkbookFunctionsDeltaBody { - - /** - * The number1. - * - */ - @SerializedName("number1") - @Expose - public com.google.gson.JsonElement number1; - - /** - * The number2. - * - */ - @SerializedName("number2") - @Expose - public com.google.gson.JsonElement number2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDevSqBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDevSqBody.java deleted file mode 100644 index bac42bdd877..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDevSqBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dev Sq Body. - */ -public class BaseWorkbookFunctionsDevSqBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDgetBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDgetBody.java deleted file mode 100644 index 5f43db3e144..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDgetBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dget Body. - */ -public class BaseWorkbookFunctionsDgetBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDiscBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDiscBody.java deleted file mode 100644 index 6b0bad381dc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDiscBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Disc Body. - */ -public class BaseWorkbookFunctionsDiscBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDmaxBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDmaxBody.java deleted file mode 100644 index 4bf6081953b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDmaxBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dmax Body. - */ -public class BaseWorkbookFunctionsDmaxBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDminBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDminBody.java deleted file mode 100644 index 0bda54743de..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDminBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dmin Body. - */ -public class BaseWorkbookFunctionsDminBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarBody.java deleted file mode 100644 index 043e92e8831..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar Body. - */ -public class BaseWorkbookFunctionsDollarBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The decimals. - * - */ - @SerializedName("decimals") - @Expose - public com.google.gson.JsonElement decimals; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarDeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarDeBody.java deleted file mode 100644 index 48d5146ed54..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarDeBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar De Body. - */ -public class BaseWorkbookFunctionsDollarDeBody { - - /** - * The fractional Dollar. - * - */ - @SerializedName("fractionalDollar") - @Expose - public com.google.gson.JsonElement fractionalDollar; - - /** - * The fraction. - * - */ - @SerializedName("fraction") - @Expose - public com.google.gson.JsonElement fraction; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarFrBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarFrBody.java deleted file mode 100644 index e48f945bb5d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDollarFrBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar Fr Body. - */ -public class BaseWorkbookFunctionsDollarFrBody { - - /** - * The decimal Dollar. - * - */ - @SerializedName("decimalDollar") - @Expose - public com.google.gson.JsonElement decimalDollar; - - /** - * The fraction. - * - */ - @SerializedName("fraction") - @Expose - public com.google.gson.JsonElement fraction; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDproductBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDproductBody.java deleted file mode 100644 index 7c552589e07..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDproductBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dproduct Body. - */ -public class BaseWorkbookFunctionsDproductBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevBody.java deleted file mode 100644 index 1d6de27a3c7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dst Dev Body. - */ -public class BaseWorkbookFunctionsDstDevBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevPBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevPBody.java deleted file mode 100644 index 5f354dc6e07..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDstDevPBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dst Dev PBody. - */ -public class BaseWorkbookFunctionsDstDevPBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDsumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDsumBody.java deleted file mode 100644 index 0b65e973630..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDsumBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dsum Body. - */ -public class BaseWorkbookFunctionsDsumBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDurationBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDurationBody.java deleted file mode 100644 index b602de1c01a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDurationBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Duration Body. - */ -public class BaseWorkbookFunctionsDurationBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The coupon. - * - */ - @SerializedName("coupon") - @Expose - public com.google.gson.JsonElement coupon; - - /** - * The yld. - * - */ - @SerializedName("yld") - @Expose - public com.google.gson.JsonElement yld; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarBody.java deleted file mode 100644 index fdde0857f1a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dvar Body. - */ -public class BaseWorkbookFunctionsDvarBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarPBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarPBody.java deleted file mode 100644 index 5a9ed604fd8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsDvarPBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dvar PBody. - */ -public class BaseWorkbookFunctionsDvarPBody { - - /** - * The database. - * - */ - @SerializedName("database") - @Expose - public com.google.gson.JsonElement database; - - /** - * The field. - * - */ - @SerializedName("field") - @Expose - public com.google.gson.JsonElement field; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEcma_CeilingBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEcma_CeilingBody.java deleted file mode 100644 index 37fa4f82fb4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEcma_CeilingBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ecma_Ceiling Body. - */ -public class BaseWorkbookFunctionsEcma_CeilingBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEdateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEdateBody.java deleted file mode 100644 index 151c61de5d2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEdateBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Edate Body. - */ -public class BaseWorkbookFunctionsEdateBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The months. - * - */ - @SerializedName("months") - @Expose - public com.google.gson.JsonElement months; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEffectBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEffectBody.java deleted file mode 100644 index 6dd5c13f1e4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEffectBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Effect Body. - */ -public class BaseWorkbookFunctionsEffectBody { - - /** - * The nominal Rate. - * - */ - @SerializedName("nominalRate") - @Expose - public com.google.gson.JsonElement nominalRate; - - /** - * The npery. - * - */ - @SerializedName("npery") - @Expose - public com.google.gson.JsonElement npery; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEoMonthBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEoMonthBody.java deleted file mode 100644 index f4d600d807e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEoMonthBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Eo Month Body. - */ -public class BaseWorkbookFunctionsEoMonthBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The months. - * - */ - @SerializedName("months") - @Expose - public com.google.gson.JsonElement months; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfBody.java deleted file mode 100644 index 518822f6115..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf Body. - */ -public class BaseWorkbookFunctionsErfBody { - - /** - * The lower Limit. - * - */ - @SerializedName("lowerLimit") - @Expose - public com.google.gson.JsonElement lowerLimit; - - /** - * The upper Limit. - * - */ - @SerializedName("upperLimit") - @Expose - public com.google.gson.JsonElement upperLimit; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfCBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfCBody.java deleted file mode 100644 index 58d7ca43f8b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfCBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf CBody. - */ -public class BaseWorkbookFunctionsErfCBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfC_PreciseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfC_PreciseBody.java deleted file mode 100644 index 7f8a6719421..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErfC_PreciseBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf C_Precise Body. - */ -public class BaseWorkbookFunctionsErfC_PreciseBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErf_PreciseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErf_PreciseBody.java deleted file mode 100644 index b10b74f5886..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsErf_PreciseBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf_Precise Body. - */ -public class BaseWorkbookFunctionsErf_PreciseBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsError_TypeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsError_TypeBody.java deleted file mode 100644 index bfb7ce5bf78..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsError_TypeBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Error_Type Body. - */ -public class BaseWorkbookFunctionsError_TypeBody { - - /** - * The error Val. - * - */ - @SerializedName("errorVal") - @Expose - public com.google.gson.JsonElement errorVal; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEvenBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEvenBody.java deleted file mode 100644 index 245b2f66697..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsEvenBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Even Body. - */ -public class BaseWorkbookFunctionsEvenBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExactBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExactBody.java deleted file mode 100644 index 0561e556708..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExactBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Exact Body. - */ -public class BaseWorkbookFunctionsExactBody { - - /** - * The text1. - * - */ - @SerializedName("text1") - @Expose - public com.google.gson.JsonElement text1; - - /** - * The text2. - * - */ - @SerializedName("text2") - @Expose - public com.google.gson.JsonElement text2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpBody.java deleted file mode 100644 index 9c35cdd7f7b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Exp Body. - */ -public class BaseWorkbookFunctionsExpBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpon_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpon_DistBody.java deleted file mode 100644 index ab5b7e68623..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsExpon_DistBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Expon_Dist Body. - */ -public class BaseWorkbookFunctionsExpon_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The lambda. - * - */ - @SerializedName("lambda") - @Expose - public com.google.gson.JsonElement lambda; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_DistBody.java deleted file mode 100644 index b5907e8b070..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Dist Body. - */ -public class BaseWorkbookFunctionsF_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom1. - * - */ - @SerializedName("degFreedom1") - @Expose - public com.google.gson.JsonElement degFreedom1; - - /** - * The deg Freedom2. - * - */ - @SerializedName("degFreedom2") - @Expose - public com.google.gson.JsonElement degFreedom2; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Dist_RTBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Dist_RTBody.java deleted file mode 100644 index 18f333cf201..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Dist_RTBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Dist_RTBody. - */ -public class BaseWorkbookFunctionsF_Dist_RTBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom1. - * - */ - @SerializedName("degFreedom1") - @Expose - public com.google.gson.JsonElement degFreedom1; - - /** - * The deg Freedom2. - * - */ - @SerializedName("degFreedom2") - @Expose - public com.google.gson.JsonElement degFreedom2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_InvBody.java deleted file mode 100644 index 4f85b64d495..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_InvBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Inv Body. - */ -public class BaseWorkbookFunctionsF_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The deg Freedom1. - * - */ - @SerializedName("degFreedom1") - @Expose - public com.google.gson.JsonElement degFreedom1; - - /** - * The deg Freedom2. - * - */ - @SerializedName("degFreedom2") - @Expose - public com.google.gson.JsonElement degFreedom2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Inv_RTBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Inv_RTBody.java deleted file mode 100644 index 6ac53b482b2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsF_Inv_RTBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Inv_RTBody. - */ -public class BaseWorkbookFunctionsF_Inv_RTBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The deg Freedom1. - * - */ - @SerializedName("degFreedom1") - @Expose - public com.google.gson.JsonElement degFreedom1; - - /** - * The deg Freedom2. - * - */ - @SerializedName("degFreedom2") - @Expose - public com.google.gson.JsonElement degFreedom2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactBody.java deleted file mode 100644 index 51f80c7bf37..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fact Body. - */ -public class BaseWorkbookFunctionsFactBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactDoubleBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactDoubleBody.java deleted file mode 100644 index b34a9fd69c7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFactDoubleBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fact Double Body. - */ -public class BaseWorkbookFunctionsFactDoubleBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBBody.java deleted file mode 100644 index c2d8cfe6717..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Find BBody. - */ -public class BaseWorkbookFunctionsFindBBody { - - /** - * The find Text. - * - */ - @SerializedName("findText") - @Expose - public com.google.gson.JsonElement findText; - - /** - * The within Text. - * - */ - @SerializedName("withinText") - @Expose - public com.google.gson.JsonElement withinText; - - /** - * The start Num. - * - */ - @SerializedName("startNum") - @Expose - public com.google.gson.JsonElement startNum; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBody.java deleted file mode 100644 index 75052bc15c2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFindBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Find Body. - */ -public class BaseWorkbookFunctionsFindBody { - - /** - * The find Text. - * - */ - @SerializedName("findText") - @Expose - public com.google.gson.JsonElement findText; - - /** - * The within Text. - * - */ - @SerializedName("withinText") - @Expose - public com.google.gson.JsonElement withinText; - - /** - * The start Num. - * - */ - @SerializedName("startNum") - @Expose - public com.google.gson.JsonElement startNum; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherBody.java deleted file mode 100644 index 7569fdceeb9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fisher Body. - */ -public class BaseWorkbookFunctionsFisherBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherInvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherInvBody.java deleted file mode 100644 index efbfc5f961d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFisherInvBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fisher Inv Body. - */ -public class BaseWorkbookFunctionsFisherInvBody { - - /** - * The y. - * - */ - @SerializedName("y") - @Expose - public com.google.gson.JsonElement y; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFixedBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFixedBody.java deleted file mode 100644 index 32b74e3c25c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFixedBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fixed Body. - */ -public class BaseWorkbookFunctionsFixedBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The decimals. - * - */ - @SerializedName("decimals") - @Expose - public com.google.gson.JsonElement decimals; - - /** - * The no Commas. - * - */ - @SerializedName("noCommas") - @Expose - public com.google.gson.JsonElement noCommas; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_MathBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_MathBody.java deleted file mode 100644 index 99fd7dc3b2f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_MathBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Floor_Math Body. - */ -public class BaseWorkbookFunctionsFloor_MathBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - /** - * The mode. - * - */ - @SerializedName("mode") - @Expose - public com.google.gson.JsonElement mode; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_PreciseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_PreciseBody.java deleted file mode 100644 index 0570741a365..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFloor_PreciseBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Floor_Precise Body. - */ -public class BaseWorkbookFunctionsFloor_PreciseBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvBody.java deleted file mode 100644 index 9eb3dbaf202..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fv Body. - */ -public class BaseWorkbookFunctionsFvBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pmt. - * - */ - @SerializedName("pmt") - @Expose - public com.google.gson.JsonElement pmt; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvscheduleBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvscheduleBody.java deleted file mode 100644 index 99fee7ee361..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsFvscheduleBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fvschedule Body. - */ -public class BaseWorkbookFunctionsFvscheduleBody { - - /** - * The principal. - * - */ - @SerializedName("principal") - @Expose - public com.google.gson.JsonElement principal; - - /** - * The schedule. - * - */ - @SerializedName("schedule") - @Expose - public com.google.gson.JsonElement schedule; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaBody.java deleted file mode 100644 index ef6965d8713..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Body. - */ -public class BaseWorkbookFunctionsGammaBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLnBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLnBody.java deleted file mode 100644 index 366ac9cdd73..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLnBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Ln Body. - */ -public class BaseWorkbookFunctionsGammaLnBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLn_PreciseBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLn_PreciseBody.java deleted file mode 100644 index a16a4889ae0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGammaLn_PreciseBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Ln_Precise Body. - */ -public class BaseWorkbookFunctionsGammaLn_PreciseBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_DistBody.java deleted file mode 100644 index 6592f151556..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma_Dist Body. - */ -public class BaseWorkbookFunctionsGamma_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The beta. - * - */ - @SerializedName("beta") - @Expose - public com.google.gson.JsonElement beta; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_InvBody.java deleted file mode 100644 index 64b7420cc74..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGamma_InvBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma_Inv Body. - */ -public class BaseWorkbookFunctionsGamma_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The beta. - * - */ - @SerializedName("beta") - @Expose - public com.google.gson.JsonElement beta; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGaussBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGaussBody.java deleted file mode 100644 index a77ef23db87..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGaussBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gauss Body. - */ -public class BaseWorkbookFunctionsGaussBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGcdBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGcdBody.java deleted file mode 100644 index d7f8eb09797..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGcdBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gcd Body. - */ -public class BaseWorkbookFunctionsGcdBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeStepBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeStepBody.java deleted file mode 100644 index f81152c1d06..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeStepBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ge Step Body. - */ -public class BaseWorkbookFunctionsGeStepBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The step. - * - */ - @SerializedName("step") - @Expose - public com.google.gson.JsonElement step; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeoMeanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeoMeanBody.java deleted file mode 100644 index 7c394388a69..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsGeoMeanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Geo Mean Body. - */ -public class BaseWorkbookFunctionsGeoMeanBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHarMeanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHarMeanBody.java deleted file mode 100644 index 962a3ae61ca..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHarMeanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Har Mean Body. - */ -public class BaseWorkbookFunctionsHarMeanBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2BinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2BinBody.java deleted file mode 100644 index 4580d44c2dc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2BinBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Bin Body. - */ -public class BaseWorkbookFunctionsHex2BinBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2DecBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2DecBody.java deleted file mode 100644 index efa97758f58..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2DecBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Dec Body. - */ -public class BaseWorkbookFunctionsHex2DecBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2OctBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2OctBody.java deleted file mode 100644 index a43fd1aca8a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHex2OctBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Oct Body. - */ -public class BaseWorkbookFunctionsHex2OctBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHlookupBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHlookupBody.java deleted file mode 100644 index ef3a999af36..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHlookupBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hlookup Body. - */ -public class BaseWorkbookFunctionsHlookupBody { - - /** - * The lookup Value. - * - */ - @SerializedName("lookupValue") - @Expose - public com.google.gson.JsonElement lookupValue; - - /** - * The table Array. - * - */ - @SerializedName("tableArray") - @Expose - public com.google.gson.JsonElement tableArray; - - /** - * The row Index Num. - * - */ - @SerializedName("rowIndexNum") - @Expose - public com.google.gson.JsonElement rowIndexNum; - - /** - * The range Lookup. - * - */ - @SerializedName("rangeLookup") - @Expose - public com.google.gson.JsonElement rangeLookup; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHourBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHourBody.java deleted file mode 100644 index be990115e3a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHourBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hour Body. - */ -public class BaseWorkbookFunctionsHourBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHypGeom_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHypGeom_DistBody.java deleted file mode 100644 index b0636d5ad4c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHypGeom_DistBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hyp Geom_Dist Body. - */ -public class BaseWorkbookFunctionsHypGeom_DistBody { - - /** - * The sample S. - * - */ - @SerializedName("sampleS") - @Expose - public com.google.gson.JsonElement sampleS; - - /** - * The number Sample. - * - */ - @SerializedName("numberSample") - @Expose - public com.google.gson.JsonElement numberSample; - - /** - * The population S. - * - */ - @SerializedName("populationS") - @Expose - public com.google.gson.JsonElement populationS; - - /** - * The number Pop. - * - */ - @SerializedName("numberPop") - @Expose - public com.google.gson.JsonElement numberPop; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHyperlinkBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHyperlinkBody.java deleted file mode 100644 index 343030b8508..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsHyperlinkBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hyperlink Body. - */ -public class BaseWorkbookFunctionsHyperlinkBody { - - /** - * The link Location. - * - */ - @SerializedName("linkLocation") - @Expose - public com.google.gson.JsonElement linkLocation; - - /** - * The friendly Name. - * - */ - @SerializedName("friendlyName") - @Expose - public com.google.gson.JsonElement friendlyName; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIfBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIfBody.java deleted file mode 100644 index 1c377a97fb3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIfBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions If Body. - */ -public class BaseWorkbookFunctionsIfBody { - - /** - * The logical Test. - * - */ - @SerializedName("logicalTest") - @Expose - public com.google.gson.JsonElement logicalTest; - - /** - * The value If True. - * - */ - @SerializedName("valueIfTrue") - @Expose - public com.google.gson.JsonElement valueIfTrue; - - /** - * The value If False. - * - */ - @SerializedName("valueIfFalse") - @Expose - public com.google.gson.JsonElement valueIfFalse; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImAbsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImAbsBody.java deleted file mode 100644 index 3f263ed41ea..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImAbsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Abs Body. - */ -public class BaseWorkbookFunctionsImAbsBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImArgumentBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImArgumentBody.java deleted file mode 100644 index 371d598c9fb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImArgumentBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Argument Body. - */ -public class BaseWorkbookFunctionsImArgumentBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImConjugateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImConjugateBody.java deleted file mode 100644 index d5450b40229..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImConjugateBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Conjugate Body. - */ -public class BaseWorkbookFunctionsImConjugateBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCosBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCosBody.java deleted file mode 100644 index d961791e49d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCosBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cos Body. - */ -public class BaseWorkbookFunctionsImCosBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCoshBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCoshBody.java deleted file mode 100644 index 8305e35beab..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCoshBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cosh Body. - */ -public class BaseWorkbookFunctionsImCoshBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCotBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCotBody.java deleted file mode 100644 index 08d619341fe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCotBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cot Body. - */ -public class BaseWorkbookFunctionsImCotBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCscBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCscBody.java deleted file mode 100644 index f8ff1541db3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCscBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Csc Body. - */ -public class BaseWorkbookFunctionsImCscBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCschBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCschBody.java deleted file mode 100644 index ed8136a6f27..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImCschBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Csch Body. - */ -public class BaseWorkbookFunctionsImCschBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImDivBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImDivBody.java deleted file mode 100644 index b6d5d0c816b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImDivBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Div Body. - */ -public class BaseWorkbookFunctionsImDivBody { - - /** - * The inumber1. - * - */ - @SerializedName("inumber1") - @Expose - public com.google.gson.JsonElement inumber1; - - /** - * The inumber2. - * - */ - @SerializedName("inumber2") - @Expose - public com.google.gson.JsonElement inumber2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImExpBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImExpBody.java deleted file mode 100644 index bf24d8cf100..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImExpBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Exp Body. - */ -public class BaseWorkbookFunctionsImExpBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLnBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLnBody.java deleted file mode 100644 index bc7baaf4939..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLnBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Ln Body. - */ -public class BaseWorkbookFunctionsImLnBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog10Body.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog10Body.java deleted file mode 100644 index b8aeaaa236e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog10Body.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Log10Body. - */ -public class BaseWorkbookFunctionsImLog10Body { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog2Body.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog2Body.java deleted file mode 100644 index 3f6d8997528..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImLog2Body.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Log2Body. - */ -public class BaseWorkbookFunctionsImLog2Body { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImPowerBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImPowerBody.java deleted file mode 100644 index 42c612f06a2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImPowerBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Power Body. - */ -public class BaseWorkbookFunctionsImPowerBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImProductBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImProductBody.java deleted file mode 100644 index c7b2140f534..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImProductBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Product Body. - */ -public class BaseWorkbookFunctionsImProductBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImRealBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImRealBody.java deleted file mode 100644 index 2f4d6a9ad4f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImRealBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Real Body. - */ -public class BaseWorkbookFunctionsImRealBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSecBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSecBody.java deleted file mode 100644 index 25a47fbce7c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSecBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sec Body. - */ -public class BaseWorkbookFunctionsImSecBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSechBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSechBody.java deleted file mode 100644 index abac7499e4d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSechBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sech Body. - */ -public class BaseWorkbookFunctionsImSechBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinBody.java deleted file mode 100644 index 2891d028d23..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sin Body. - */ -public class BaseWorkbookFunctionsImSinBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinhBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinhBody.java deleted file mode 100644 index b2c65c28801..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSinhBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sinh Body. - */ -public class BaseWorkbookFunctionsImSinhBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSqrtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSqrtBody.java deleted file mode 100644 index beef630e985..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSqrtBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sqrt Body. - */ -public class BaseWorkbookFunctionsImSqrtBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSubBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSubBody.java deleted file mode 100644 index 85e4660a5f0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSubBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sub Body. - */ -public class BaseWorkbookFunctionsImSubBody { - - /** - * The inumber1. - * - */ - @SerializedName("inumber1") - @Expose - public com.google.gson.JsonElement inumber1; - - /** - * The inumber2. - * - */ - @SerializedName("inumber2") - @Expose - public com.google.gson.JsonElement inumber2; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSumBody.java deleted file mode 100644 index bc365ba5a96..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImSumBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sum Body. - */ -public class BaseWorkbookFunctionsImSumBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImTanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImTanBody.java deleted file mode 100644 index a4c63d9f4a9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImTanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Tan Body. - */ -public class BaseWorkbookFunctionsImTanBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImaginaryBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImaginaryBody.java deleted file mode 100644 index d8f9e7c8b98..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsImaginaryBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Imaginary Body. - */ -public class BaseWorkbookFunctionsImaginaryBody { - - /** - * The inumber. - * - */ - @SerializedName("inumber") - @Expose - public com.google.gson.JsonElement inumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntBody.java deleted file mode 100644 index 9f6f338bd0f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Int Body. - */ -public class BaseWorkbookFunctionsIntBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntRateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntRateBody.java deleted file mode 100644 index 77e7d99863d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIntRateBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Int Rate Body. - */ -public class BaseWorkbookFunctionsIntRateBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The investment. - * - */ - @SerializedName("investment") - @Expose - public com.google.gson.JsonElement investment; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIpmtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIpmtBody.java deleted file mode 100644 index 9265cc164fe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIpmtBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ipmt Body. - */ -public class BaseWorkbookFunctionsIpmtBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The per. - * - */ - @SerializedName("per") - @Expose - public com.google.gson.JsonElement per; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIrrBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIrrBody.java deleted file mode 100644 index a9a35846558..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIrrBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Irr Body. - */ -public class BaseWorkbookFunctionsIrrBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The guess. - * - */ - @SerializedName("guess") - @Expose - public com.google.gson.JsonElement guess; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrBody.java deleted file mode 100644 index 6858ae268c5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Err Body. - */ -public class BaseWorkbookFunctionsIsErrBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrorBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrorBody.java deleted file mode 100644 index 2b072b897e6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsErrorBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Error Body. - */ -public class BaseWorkbookFunctionsIsErrorBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsEvenBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsEvenBody.java deleted file mode 100644 index d5f3e1eb38b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsEvenBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Even Body. - */ -public class BaseWorkbookFunctionsIsEvenBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsFormulaBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsFormulaBody.java deleted file mode 100644 index 8733e853a97..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsFormulaBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Formula Body. - */ -public class BaseWorkbookFunctionsIsFormulaBody { - - /** - * The reference. - * - */ - @SerializedName("reference") - @Expose - public com.google.gson.JsonElement reference; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsLogicalBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsLogicalBody.java deleted file mode 100644 index 79776375cf2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsLogicalBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Logical Body. - */ -public class BaseWorkbookFunctionsIsLogicalBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNABody.java deleted file mode 100644 index 79a46047b57..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is NABody. - */ -public class BaseWorkbookFunctionsIsNABody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNonTextBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNonTextBody.java deleted file mode 100644 index 68a67dbc96f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNonTextBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Non Text Body. - */ -public class BaseWorkbookFunctionsIsNonTextBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNumberBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNumberBody.java deleted file mode 100644 index 678cdf2f325..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsNumberBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Number Body. - */ -public class BaseWorkbookFunctionsIsNumberBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsOddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsOddBody.java deleted file mode 100644 index 8c3a0c53f4a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsOddBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Odd Body. - */ -public class BaseWorkbookFunctionsIsOddBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsTextBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsTextBody.java deleted file mode 100644 index b86a7b9b5c3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsTextBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Text Body. - */ -public class BaseWorkbookFunctionsIsTextBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsoWeekNumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsoWeekNumBody.java deleted file mode 100644 index 73b42a44717..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsoWeekNumBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Iso Week Num Body. - */ -public class BaseWorkbookFunctionsIsoWeekNumBody { - - /** - * The date. - * - */ - @SerializedName("date") - @Expose - public com.google.gson.JsonElement date; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIso_CeilingBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIso_CeilingBody.java deleted file mode 100644 index d777c46a99f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIso_CeilingBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Iso_Ceiling Body. - */ -public class BaseWorkbookFunctionsIso_CeilingBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIspmtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIspmtBody.java deleted file mode 100644 index 57914df7dd4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIspmtBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ispmt Body. - */ -public class BaseWorkbookFunctionsIspmtBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The per. - * - */ - @SerializedName("per") - @Expose - public com.google.gson.JsonElement per; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsrefBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsrefBody.java deleted file mode 100644 index 0e822e53416..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsIsrefBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Isref Body. - */ -public class BaseWorkbookFunctionsIsrefBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsKurtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsKurtBody.java deleted file mode 100644 index 531030e2c34..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsKurtBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Kurt Body. - */ -public class BaseWorkbookFunctionsKurtBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLargeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLargeBody.java deleted file mode 100644 index d9f2de3a767..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLargeBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Large Body. - */ -public class BaseWorkbookFunctionsLargeBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The k. - * - */ - @SerializedName("k") - @Expose - public com.google.gson.JsonElement k; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLcmBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLcmBody.java deleted file mode 100644 index e7d7c8d742a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLcmBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lcm Body. - */ -public class BaseWorkbookFunctionsLcmBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftBody.java deleted file mode 100644 index 2f194640186..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Left Body. - */ -public class BaseWorkbookFunctionsLeftBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The num Chars. - * - */ - @SerializedName("numChars") - @Expose - public com.google.gson.JsonElement numChars; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftbBody.java deleted file mode 100644 index a5491df874e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLeftbBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Leftb Body. - */ -public class BaseWorkbookFunctionsLeftbBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The num Bytes. - * - */ - @SerializedName("numBytes") - @Expose - public com.google.gson.JsonElement numBytes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenBody.java deleted file mode 100644 index 6e71d5ef831..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Len Body. - */ -public class BaseWorkbookFunctionsLenBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenbBody.java deleted file mode 100644 index 71c64daff1e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLenbBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lenb Body. - */ -public class BaseWorkbookFunctionsLenbBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLnBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLnBody.java deleted file mode 100644 index 2193f865303..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLnBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ln Body. - */ -public class BaseWorkbookFunctionsLnBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLog10Body.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLog10Body.java deleted file mode 100644 index d0e295c83a1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLog10Body.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log10Body. - */ -public class BaseWorkbookFunctionsLog10Body { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogBody.java deleted file mode 100644 index 964a5119c74..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Body. - */ -public class BaseWorkbookFunctionsLogBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The base. - * - */ - @SerializedName("base") - @Expose - public com.google.gson.JsonElement base; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_DistBody.java deleted file mode 100644 index 0990cfe2f30..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Norm_Dist Body. - */ -public class BaseWorkbookFunctionsLogNorm_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The mean. - * - */ - @SerializedName("mean") - @Expose - public com.google.gson.JsonElement mean; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_InvBody.java deleted file mode 100644 index 6f8fab97b09..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLogNorm_InvBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Norm_Inv Body. - */ -public class BaseWorkbookFunctionsLogNorm_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The mean. - * - */ - @SerializedName("mean") - @Expose - public com.google.gson.JsonElement mean; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLookupBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLookupBody.java deleted file mode 100644 index a5f75c33935..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLookupBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lookup Body. - */ -public class BaseWorkbookFunctionsLookupBody { - - /** - * The lookup Value. - * - */ - @SerializedName("lookupValue") - @Expose - public com.google.gson.JsonElement lookupValue; - - /** - * The lookup Vector. - * - */ - @SerializedName("lookupVector") - @Expose - public com.google.gson.JsonElement lookupVector; - - /** - * The result Vector. - * - */ - @SerializedName("resultVector") - @Expose - public com.google.gson.JsonElement resultVector; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLowerBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLowerBody.java deleted file mode 100644 index 6bc9153d549..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsLowerBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lower Body. - */ -public class BaseWorkbookFunctionsLowerBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMatchBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMatchBody.java deleted file mode 100644 index 12067a17dc5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMatchBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Match Body. - */ -public class BaseWorkbookFunctionsMatchBody { - - /** - * The lookup Value. - * - */ - @SerializedName("lookupValue") - @Expose - public com.google.gson.JsonElement lookupValue; - - /** - * The lookup Array. - * - */ - @SerializedName("lookupArray") - @Expose - public com.google.gson.JsonElement lookupArray; - - /** - * The match Type. - * - */ - @SerializedName("matchType") - @Expose - public com.google.gson.JsonElement matchType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxABody.java deleted file mode 100644 index 781c61bcebb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Max ABody. - */ -public class BaseWorkbookFunctionsMaxABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxBody.java deleted file mode 100644 index 0c77f0a79a3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMaxBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Max Body. - */ -public class BaseWorkbookFunctionsMaxBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMdurationBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMdurationBody.java deleted file mode 100644 index ffe3b9ad845..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMdurationBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mduration Body. - */ -public class BaseWorkbookFunctionsMdurationBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The coupon. - * - */ - @SerializedName("coupon") - @Expose - public com.google.gson.JsonElement coupon; - - /** - * The yld. - * - */ - @SerializedName("yld") - @Expose - public com.google.gson.JsonElement yld; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMedianBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMedianBody.java deleted file mode 100644 index 6173249d307..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMedianBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Median Body. - */ -public class BaseWorkbookFunctionsMedianBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidBody.java deleted file mode 100644 index da7ee6aa710..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mid Body. - */ -public class BaseWorkbookFunctionsMidBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The start Num. - * - */ - @SerializedName("startNum") - @Expose - public com.google.gson.JsonElement startNum; - - /** - * The num Chars. - * - */ - @SerializedName("numChars") - @Expose - public com.google.gson.JsonElement numChars; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidbBody.java deleted file mode 100644 index 3316fe82c21..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMidbBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Midb Body. - */ -public class BaseWorkbookFunctionsMidbBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The start Num. - * - */ - @SerializedName("startNum") - @Expose - public com.google.gson.JsonElement startNum; - - /** - * The num Bytes. - * - */ - @SerializedName("numBytes") - @Expose - public com.google.gson.JsonElement numBytes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinABody.java deleted file mode 100644 index 28a67ddfde6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Min ABody. - */ -public class BaseWorkbookFunctionsMinABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinBody.java deleted file mode 100644 index 65d1ba35f3a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Min Body. - */ -public class BaseWorkbookFunctionsMinBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinuteBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinuteBody.java deleted file mode 100644 index 775c30c4a28..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMinuteBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Minute Body. - */ -public class BaseWorkbookFunctionsMinuteBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMirrBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMirrBody.java deleted file mode 100644 index 0656c0c2709..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMirrBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mirr Body. - */ -public class BaseWorkbookFunctionsMirrBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The finance Rate. - * - */ - @SerializedName("financeRate") - @Expose - public com.google.gson.JsonElement financeRate; - - /** - * The reinvest Rate. - * - */ - @SerializedName("reinvestRate") - @Expose - public com.google.gson.JsonElement reinvestRate; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsModBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsModBody.java deleted file mode 100644 index 5b811b86c16..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsModBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mod Body. - */ -public class BaseWorkbookFunctionsModBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The divisor. - * - */ - @SerializedName("divisor") - @Expose - public com.google.gson.JsonElement divisor; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMonthBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMonthBody.java deleted file mode 100644 index c1cc013f851..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMonthBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Month Body. - */ -public class BaseWorkbookFunctionsMonthBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMroundBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMroundBody.java deleted file mode 100644 index 9956732983c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMroundBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mround Body. - */ -public class BaseWorkbookFunctionsMroundBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The multiple. - * - */ - @SerializedName("multiple") - @Expose - public com.google.gson.JsonElement multiple; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMultiNomialBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMultiNomialBody.java deleted file mode 100644 index 10bab5bd926..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsMultiNomialBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Multi Nomial Body. - */ -public class BaseWorkbookFunctionsMultiNomialBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNBody.java deleted file mode 100644 index ed9432f9a89..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions NBody. - */ -public class BaseWorkbookFunctionsNBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNegBinom_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNegBinom_DistBody.java deleted file mode 100644 index 5fbcea3af6b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNegBinom_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Neg Binom_Dist Body. - */ -public class BaseWorkbookFunctionsNegBinom_DistBody { - - /** - * The number F. - * - */ - @SerializedName("numberF") - @Expose - public com.google.gson.JsonElement numberF; - - /** - * The number S. - * - */ - @SerializedName("numberS") - @Expose - public com.google.gson.JsonElement numberS; - - /** - * The probability S. - * - */ - @SerializedName("probabilityS") - @Expose - public com.google.gson.JsonElement probabilityS; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDaysBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDaysBody.java deleted file mode 100644 index 1739e2ef536..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDaysBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Network Days Body. - */ -public class BaseWorkbookFunctionsNetworkDaysBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The end Date. - * - */ - @SerializedName("endDate") - @Expose - public com.google.gson.JsonElement endDate; - - /** - * The holidays. - * - */ - @SerializedName("holidays") - @Expose - public com.google.gson.JsonElement holidays; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDays_IntlBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDays_IntlBody.java deleted file mode 100644 index d013e16d36d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNetworkDays_IntlBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Network Days_Intl Body. - */ -public class BaseWorkbookFunctionsNetworkDays_IntlBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The end Date. - * - */ - @SerializedName("endDate") - @Expose - public com.google.gson.JsonElement endDate; - - /** - * The weekend. - * - */ - @SerializedName("weekend") - @Expose - public com.google.gson.JsonElement weekend; - - /** - * The holidays. - * - */ - @SerializedName("holidays") - @Expose - public com.google.gson.JsonElement holidays; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNominalBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNominalBody.java deleted file mode 100644 index cc206800435..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNominalBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Nominal Body. - */ -public class BaseWorkbookFunctionsNominalBody { - - /** - * The effect Rate. - * - */ - @SerializedName("effectRate") - @Expose - public com.google.gson.JsonElement effectRate; - - /** - * The npery. - * - */ - @SerializedName("npery") - @Expose - public com.google.gson.JsonElement npery; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_DistBody.java deleted file mode 100644 index d2238f0764d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_Dist Body. - */ -public class BaseWorkbookFunctionsNorm_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The mean. - * - */ - @SerializedName("mean") - @Expose - public com.google.gson.JsonElement mean; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_InvBody.java deleted file mode 100644 index fcd6a4a6e49..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_InvBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_Inv Body. - */ -public class BaseWorkbookFunctionsNorm_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The mean. - * - */ - @SerializedName("mean") - @Expose - public com.google.gson.JsonElement mean; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_DistBody.java deleted file mode 100644 index 166a1caea87..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_DistBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_S_Dist Body. - */ -public class BaseWorkbookFunctionsNorm_S_DistBody { - - /** - * The z. - * - */ - @SerializedName("z") - @Expose - public com.google.gson.JsonElement z; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_InvBody.java deleted file mode 100644 index fdba217160c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNorm_S_InvBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_S_Inv Body. - */ -public class BaseWorkbookFunctionsNorm_S_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNotBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNotBody.java deleted file mode 100644 index 5ec194779ea..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNotBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Not Body. - */ -public class BaseWorkbookFunctionsNotBody { - - /** - * The logical. - * - */ - @SerializedName("logical") - @Expose - public com.google.gson.JsonElement logical; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNperBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNperBody.java deleted file mode 100644 index 209cc8035a5..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNperBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Nper Body. - */ -public class BaseWorkbookFunctionsNperBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The pmt. - * - */ - @SerializedName("pmt") - @Expose - public com.google.gson.JsonElement pmt; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNpvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNpvBody.java deleted file mode 100644 index 49df593225c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNpvBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Npv Body. - */ -public class BaseWorkbookFunctionsNpvBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNumberValueBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNumberValueBody.java deleted file mode 100644 index c7748c5c4a7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsNumberValueBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Number Value Body. - */ -public class BaseWorkbookFunctionsNumberValueBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The decimal Separator. - * - */ - @SerializedName("decimalSeparator") - @Expose - public com.google.gson.JsonElement decimalSeparator; - - /** - * The group Separator. - * - */ - @SerializedName("groupSeparator") - @Expose - public com.google.gson.JsonElement groupSeparator; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2BinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2BinBody.java deleted file mode 100644 index cab7dc98f75..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2BinBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Bin Body. - */ -public class BaseWorkbookFunctionsOct2BinBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2DecBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2DecBody.java deleted file mode 100644 index 2b27cb02746..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2DecBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Dec Body. - */ -public class BaseWorkbookFunctionsOct2DecBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2HexBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2HexBody.java deleted file mode 100644 index e4808fbb0e0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOct2HexBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Hex Body. - */ -public class BaseWorkbookFunctionsOct2HexBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The places. - * - */ - @SerializedName("places") - @Expose - public com.google.gson.JsonElement places; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddBody.java deleted file mode 100644 index 8fc5a071beb..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd Body. - */ -public class BaseWorkbookFunctionsOddBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFPriceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFPriceBody.java deleted file mode 100644 index 18ff01a56c4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFPriceBody.java +++ /dev/null @@ -1,134 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd FPrice Body. - */ -public class BaseWorkbookFunctionsOddFPriceBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The issue. - * - */ - @SerializedName("issue") - @Expose - public com.google.gson.JsonElement issue; - - /** - * The first Coupon. - * - */ - @SerializedName("firstCoupon") - @Expose - public com.google.gson.JsonElement firstCoupon; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The yld. - * - */ - @SerializedName("yld") - @Expose - public com.google.gson.JsonElement yld; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFYieldBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFYieldBody.java deleted file mode 100644 index 5523e89aa77..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddFYieldBody.java +++ /dev/null @@ -1,134 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd FYield Body. - */ -public class BaseWorkbookFunctionsOddFYieldBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The issue. - * - */ - @SerializedName("issue") - @Expose - public com.google.gson.JsonElement issue; - - /** - * The first Coupon. - * - */ - @SerializedName("firstCoupon") - @Expose - public com.google.gson.JsonElement firstCoupon; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLPriceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLPriceBody.java deleted file mode 100644 index c29b045fd03..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLPriceBody.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd LPrice Body. - */ -public class BaseWorkbookFunctionsOddLPriceBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The last Interest. - * - */ - @SerializedName("lastInterest") - @Expose - public com.google.gson.JsonElement lastInterest; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The yld. - * - */ - @SerializedName("yld") - @Expose - public com.google.gson.JsonElement yld; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLYieldBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLYieldBody.java deleted file mode 100644 index e25a373d5ba..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOddLYieldBody.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd LYield Body. - */ -public class BaseWorkbookFunctionsOddLYieldBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The last Interest. - * - */ - @SerializedName("lastInterest") - @Expose - public com.google.gson.JsonElement lastInterest; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOrBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOrBody.java deleted file mode 100644 index 6cc5ff52ebd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsOrBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Or Body. - */ -public class BaseWorkbookFunctionsOrBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPdurationBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPdurationBody.java deleted file mode 100644 index 920bf8b81a7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPdurationBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pduration Body. - */ -public class BaseWorkbookFunctionsPdurationBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_ExcBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_ExcBody.java deleted file mode 100644 index d2a34269b29..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_ExcBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percent Rank_Exc Body. - */ -public class BaseWorkbookFunctionsPercentRank_ExcBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_IncBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_IncBody.java deleted file mode 100644 index ec9b7783dad..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentRank_IncBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percent Rank_Inc Body. - */ -public class BaseWorkbookFunctionsPercentRank_IncBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The significance. - * - */ - @SerializedName("significance") - @Expose - public com.google.gson.JsonElement significance; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_ExcBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_ExcBody.java deleted file mode 100644 index b502f66310e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_ExcBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percentile_Exc Body. - */ -public class BaseWorkbookFunctionsPercentile_ExcBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The k. - * - */ - @SerializedName("k") - @Expose - public com.google.gson.JsonElement k; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_IncBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_IncBody.java deleted file mode 100644 index 5b0c1712412..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPercentile_IncBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percentile_Inc Body. - */ -public class BaseWorkbookFunctionsPercentile_IncBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The k. - * - */ - @SerializedName("k") - @Expose - public com.google.gson.JsonElement k; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutBody.java deleted file mode 100644 index 7336ba459c3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Permut Body. - */ -public class BaseWorkbookFunctionsPermutBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The number Chosen. - * - */ - @SerializedName("numberChosen") - @Expose - public com.google.gson.JsonElement numberChosen; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutationaBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutationaBody.java deleted file mode 100644 index fffa15d8402..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPermutationaBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Permutationa Body. - */ -public class BaseWorkbookFunctionsPermutationaBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The number Chosen. - * - */ - @SerializedName("numberChosen") - @Expose - public com.google.gson.JsonElement numberChosen; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPhiBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPhiBody.java deleted file mode 100644 index 8ef94474ab3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPhiBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Phi Body. - */ -public class BaseWorkbookFunctionsPhiBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPmtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPmtBody.java deleted file mode 100644 index 0cc207260b9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPmtBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pmt Body. - */ -public class BaseWorkbookFunctionsPmtBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPoisson_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPoisson_DistBody.java deleted file mode 100644 index 7270b36efbd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPoisson_DistBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Poisson_Dist Body. - */ -public class BaseWorkbookFunctionsPoisson_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The mean. - * - */ - @SerializedName("mean") - @Expose - public com.google.gson.JsonElement mean; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPowerBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPowerBody.java deleted file mode 100644 index 0c63372602a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPowerBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Power Body. - */ -public class BaseWorkbookFunctionsPowerBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The power. - * - */ - @SerializedName("power") - @Expose - public com.google.gson.JsonElement power; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPpmtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPpmtBody.java deleted file mode 100644 index 6012fe908ac..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPpmtBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ppmt Body. - */ -public class BaseWorkbookFunctionsPpmtBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The per. - * - */ - @SerializedName("per") - @Expose - public com.google.gson.JsonElement per; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceBody.java deleted file mode 100644 index 31e30e5ae4b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceBody.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Body. - */ -public class BaseWorkbookFunctionsPriceBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The yld. - * - */ - @SerializedName("yld") - @Expose - public com.google.gson.JsonElement yld; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceDiscBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceDiscBody.java deleted file mode 100644 index bedd9ce38b7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceDiscBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Disc Body. - */ -public class BaseWorkbookFunctionsPriceDiscBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The discount. - * - */ - @SerializedName("discount") - @Expose - public com.google.gson.JsonElement discount; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceMatBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceMatBody.java deleted file mode 100644 index 166bc8dc8af..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPriceMatBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Mat Body. - */ -public class BaseWorkbookFunctionsPriceMatBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The issue. - * - */ - @SerializedName("issue") - @Expose - public com.google.gson.JsonElement issue; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The yld. - * - */ - @SerializedName("yld") - @Expose - public com.google.gson.JsonElement yld; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProductBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProductBody.java deleted file mode 100644 index bc1b8e5cd48..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProductBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Product Body. - */ -public class BaseWorkbookFunctionsProductBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProperBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProperBody.java deleted file mode 100644 index a5973f22d7f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsProperBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Proper Body. - */ -public class BaseWorkbookFunctionsProperBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPvBody.java deleted file mode 100644 index f7f36ab79e0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsPvBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pv Body. - */ -public class BaseWorkbookFunctionsPvBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pmt. - * - */ - @SerializedName("pmt") - @Expose - public com.google.gson.JsonElement pmt; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_ExcBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_ExcBody.java deleted file mode 100644 index 30bd50b0de4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_ExcBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quartile_Exc Body. - */ -public class BaseWorkbookFunctionsQuartile_ExcBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The quart. - * - */ - @SerializedName("quart") - @Expose - public com.google.gson.JsonElement quart; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_IncBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_IncBody.java deleted file mode 100644 index 1f96ba6cfa3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuartile_IncBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quartile_Inc Body. - */ -public class BaseWorkbookFunctionsQuartile_IncBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The quart. - * - */ - @SerializedName("quart") - @Expose - public com.google.gson.JsonElement quart; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuotientBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuotientBody.java deleted file mode 100644 index c6870994d41..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsQuotientBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quotient Body. - */ -public class BaseWorkbookFunctionsQuotientBody { - - /** - * The numerator. - * - */ - @SerializedName("numerator") - @Expose - public com.google.gson.JsonElement numerator; - - /** - * The denominator. - * - */ - @SerializedName("denominator") - @Expose - public com.google.gson.JsonElement denominator; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRadiansBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRadiansBody.java deleted file mode 100644 index 7ee48f8828a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRadiansBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Radians Body. - */ -public class BaseWorkbookFunctionsRadiansBody { - - /** - * The angle. - * - */ - @SerializedName("angle") - @Expose - public com.google.gson.JsonElement angle; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRandBetweenBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRandBetweenBody.java deleted file mode 100644 index 98d4b22055c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRandBetweenBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rand Between Body. - */ -public class BaseWorkbookFunctionsRandBetweenBody { - - /** - * The bottom. - * - */ - @SerializedName("bottom") - @Expose - public com.google.gson.JsonElement bottom; - - /** - * The top. - * - */ - @SerializedName("top") - @Expose - public com.google.gson.JsonElement top; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_AvgBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_AvgBody.java deleted file mode 100644 index 61667dd813e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_AvgBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rank_Avg Body. - */ -public class BaseWorkbookFunctionsRank_AvgBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The ref. - * - */ - @SerializedName("ref") - @Expose - public com.google.gson.JsonElement ref; - - /** - * The order. - * - */ - @SerializedName("order") - @Expose - public com.google.gson.JsonElement order; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_EqBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_EqBody.java deleted file mode 100644 index 5e3bc2b57b2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRank_EqBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rank_Eq Body. - */ -public class BaseWorkbookFunctionsRank_EqBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The ref. - * - */ - @SerializedName("ref") - @Expose - public com.google.gson.JsonElement ref; - - /** - * The order. - * - */ - @SerializedName("order") - @Expose - public com.google.gson.JsonElement order; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRateBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRateBody.java deleted file mode 100644 index d41b6dac2cc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRateBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rate Body. - */ -public class BaseWorkbookFunctionsRateBody { - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pmt. - * - */ - @SerializedName("pmt") - @Expose - public com.google.gson.JsonElement pmt; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - /** - * The type. - * - */ - @SerializedName("type") - @Expose - public com.google.gson.JsonElement type; - - /** - * The guess. - * - */ - @SerializedName("guess") - @Expose - public com.google.gson.JsonElement guess; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReceivedBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReceivedBody.java deleted file mode 100644 index 3cb81f51999..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReceivedBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Received Body. - */ -public class BaseWorkbookFunctionsReceivedBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The investment. - * - */ - @SerializedName("investment") - @Expose - public com.google.gson.JsonElement investment; - - /** - * The discount. - * - */ - @SerializedName("discount") - @Expose - public com.google.gson.JsonElement discount; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBBody.java deleted file mode 100644 index b8799f34a51..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Replace BBody. - */ -public class BaseWorkbookFunctionsReplaceBBody { - - /** - * The old Text. - * - */ - @SerializedName("oldText") - @Expose - public com.google.gson.JsonElement oldText; - - /** - * The start Num. - * - */ - @SerializedName("startNum") - @Expose - public com.google.gson.JsonElement startNum; - - /** - * The num Bytes. - * - */ - @SerializedName("numBytes") - @Expose - public com.google.gson.JsonElement numBytes; - - /** - * The new Text. - * - */ - @SerializedName("newText") - @Expose - public com.google.gson.JsonElement newText; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBody.java deleted file mode 100644 index 0da68906757..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReplaceBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Replace Body. - */ -public class BaseWorkbookFunctionsReplaceBody { - - /** - * The old Text. - * - */ - @SerializedName("oldText") - @Expose - public com.google.gson.JsonElement oldText; - - /** - * The start Num. - * - */ - @SerializedName("startNum") - @Expose - public com.google.gson.JsonElement startNum; - - /** - * The num Chars. - * - */ - @SerializedName("numChars") - @Expose - public com.google.gson.JsonElement numChars; - - /** - * The new Text. - * - */ - @SerializedName("newText") - @Expose - public com.google.gson.JsonElement newText; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReptBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReptBody.java deleted file mode 100644 index 33c2a7bae15..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsReptBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rept Body. - */ -public class BaseWorkbookFunctionsReptBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The number Times. - * - */ - @SerializedName("numberTimes") - @Expose - public com.google.gson.JsonElement numberTimes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightBody.java deleted file mode 100644 index b0ea3b7203b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Right Body. - */ -public class BaseWorkbookFunctionsRightBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The num Chars. - * - */ - @SerializedName("numChars") - @Expose - public com.google.gson.JsonElement numChars; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightbBody.java deleted file mode 100644 index b1b1e7f8890..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRightbBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rightb Body. - */ -public class BaseWorkbookFunctionsRightbBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The num Bytes. - * - */ - @SerializedName("numBytes") - @Expose - public com.google.gson.JsonElement numBytes; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRomanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRomanBody.java deleted file mode 100644 index 664a0daa93b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRomanBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Roman Body. - */ -public class BaseWorkbookFunctionsRomanBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The form. - * - */ - @SerializedName("form") - @Expose - public com.google.gson.JsonElement form; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundBody.java deleted file mode 100644 index 9b7fa952fca..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Body. - */ -public class BaseWorkbookFunctionsRoundBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The num Digits. - * - */ - @SerializedName("numDigits") - @Expose - public com.google.gson.JsonElement numDigits; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundDownBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundDownBody.java deleted file mode 100644 index dc90187d46b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundDownBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Down Body. - */ -public class BaseWorkbookFunctionsRoundDownBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The num Digits. - * - */ - @SerializedName("numDigits") - @Expose - public com.google.gson.JsonElement numDigits; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundUpBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundUpBody.java deleted file mode 100644 index 979311d3573..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRoundUpBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Up Body. - */ -public class BaseWorkbookFunctionsRoundUpBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The num Digits. - * - */ - @SerializedName("numDigits") - @Expose - public com.google.gson.JsonElement numDigits; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRowsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRowsBody.java deleted file mode 100644 index 663ee01a1aa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRowsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rows Body. - */ -public class BaseWorkbookFunctionsRowsBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRriBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRriBody.java deleted file mode 100644 index 883bbe76164..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsRriBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rri Body. - */ -public class BaseWorkbookFunctionsRriBody { - - /** - * The nper. - * - */ - @SerializedName("nper") - @Expose - public com.google.gson.JsonElement nper; - - /** - * The pv. - * - */ - @SerializedName("pv") - @Expose - public com.google.gson.JsonElement pv; - - /** - * The fv. - * - */ - @SerializedName("fv") - @Expose - public com.google.gson.JsonElement fv; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecBody.java deleted file mode 100644 index d8e14468dab..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sec Body. - */ -public class BaseWorkbookFunctionsSecBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSechBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSechBody.java deleted file mode 100644 index 500d742d9cf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSechBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sech Body. - */ -public class BaseWorkbookFunctionsSechBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecondBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecondBody.java deleted file mode 100644 index 88a2cc3c057..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSecondBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Second Body. - */ -public class BaseWorkbookFunctionsSecondBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSeriesSumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSeriesSumBody.java deleted file mode 100644 index 711982814e0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSeriesSumBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Series Sum Body. - */ -public class BaseWorkbookFunctionsSeriesSumBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The n. - * - */ - @SerializedName("n") - @Expose - public com.google.gson.JsonElement n; - - /** - * The m. - * - */ - @SerializedName("m") - @Expose - public com.google.gson.JsonElement m; - - /** - * The coefficients. - * - */ - @SerializedName("coefficients") - @Expose - public com.google.gson.JsonElement coefficients; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetBody.java deleted file mode 100644 index cbea7ad0fd7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sheet Body. - */ -public class BaseWorkbookFunctionsSheetBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetsBody.java deleted file mode 100644 index d0770418427..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSheetsBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sheets Body. - */ -public class BaseWorkbookFunctionsSheetsBody { - - /** - * The reference. - * - */ - @SerializedName("reference") - @Expose - public com.google.gson.JsonElement reference; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSignBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSignBody.java deleted file mode 100644 index 296423f6487..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSignBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sign Body. - */ -public class BaseWorkbookFunctionsSignBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinBody.java deleted file mode 100644 index cee53d29506..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sin Body. - */ -public class BaseWorkbookFunctionsSinBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinhBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinhBody.java deleted file mode 100644 index 8c0cffed534..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSinhBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sinh Body. - */ -public class BaseWorkbookFunctionsSinhBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkewBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkewBody.java deleted file mode 100644 index ffdb254fffe..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkewBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Skew Body. - */ -public class BaseWorkbookFunctionsSkewBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkew_pBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkew_pBody.java deleted file mode 100644 index b31a44562fc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSkew_pBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Skew_p Body. - */ -public class BaseWorkbookFunctionsSkew_pBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSlnBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSlnBody.java deleted file mode 100644 index 1f89fa9e2ce..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSlnBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sln Body. - */ -public class BaseWorkbookFunctionsSlnBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The life. - * - */ - @SerializedName("life") - @Expose - public com.google.gson.JsonElement life; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSmallBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSmallBody.java deleted file mode 100644 index cda7dd3a73d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSmallBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Small Body. - */ -public class BaseWorkbookFunctionsSmallBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The k. - * - */ - @SerializedName("k") - @Expose - public com.google.gson.JsonElement k; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtBody.java deleted file mode 100644 index ccbd4b5cd01..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sqrt Body. - */ -public class BaseWorkbookFunctionsSqrtBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtPiBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtPiBody.java deleted file mode 100644 index fb82edbdc5a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSqrtPiBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sqrt Pi Body. - */ -public class BaseWorkbookFunctionsSqrtPiBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevABody.java deleted file mode 100644 index c9da8aa27bc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev ABody. - */ -public class BaseWorkbookFunctionsStDevABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevPABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevPABody.java deleted file mode 100644 index 811de7aa65c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDevPABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev PABody. - */ -public class BaseWorkbookFunctionsStDevPABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_PBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_PBody.java deleted file mode 100644 index 52074e0cd7c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_PBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev_PBody. - */ -public class BaseWorkbookFunctionsStDev_PBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_SBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_SBody.java deleted file mode 100644 index dee7caec1c3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStDev_SBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev_SBody. - */ -public class BaseWorkbookFunctionsStDev_SBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStandardizeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStandardizeBody.java deleted file mode 100644 index f76092d31a6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsStandardizeBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Standardize Body. - */ -public class BaseWorkbookFunctionsStandardizeBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The mean. - * - */ - @SerializedName("mean") - @Expose - public com.google.gson.JsonElement mean; - - /** - * The standard Dev. - * - */ - @SerializedName("standardDev") - @Expose - public com.google.gson.JsonElement standardDev; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubstituteBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubstituteBody.java deleted file mode 100644 index 7d743b40a13..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubstituteBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Substitute Body. - */ -public class BaseWorkbookFunctionsSubstituteBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The old Text. - * - */ - @SerializedName("oldText") - @Expose - public com.google.gson.JsonElement oldText; - - /** - * The new Text. - * - */ - @SerializedName("newText") - @Expose - public com.google.gson.JsonElement newText; - - /** - * The instance Num. - * - */ - @SerializedName("instanceNum") - @Expose - public com.google.gson.JsonElement instanceNum; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubtotalBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubtotalBody.java deleted file mode 100644 index a29a60a34cd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSubtotalBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Subtotal Body. - */ -public class BaseWorkbookFunctionsSubtotalBody { - - /** - * The function Num. - * - */ - @SerializedName("functionNum") - @Expose - public com.google.gson.JsonElement functionNum; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumBody.java deleted file mode 100644 index 25e5ab87760..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Body. - */ -public class BaseWorkbookFunctionsSumBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfBody.java deleted file mode 100644 index 5d9d0657734..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum If Body. - */ -public class BaseWorkbookFunctionsSumIfBody { - - /** - * The range. - * - */ - @SerializedName("range") - @Expose - public com.google.gson.JsonElement range; - - /** - * The criteria. - * - */ - @SerializedName("criteria") - @Expose - public com.google.gson.JsonElement criteria; - - /** - * The sum Range. - * - */ - @SerializedName("sumRange") - @Expose - public com.google.gson.JsonElement sumRange; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfsBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfsBody.java deleted file mode 100644 index 41416013bc9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumIfsBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Ifs Body. - */ -public class BaseWorkbookFunctionsSumIfsBody { - - /** - * The sum Range. - * - */ - @SerializedName("sumRange") - @Expose - public com.google.gson.JsonElement sumRange; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumSqBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumSqBody.java deleted file mode 100644 index 0afa609eefc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSumSqBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Sq Body. - */ -public class BaseWorkbookFunctionsSumSqBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSydBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSydBody.java deleted file mode 100644 index 523ff954e97..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsSydBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Syd Body. - */ -public class BaseWorkbookFunctionsSydBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The life. - * - */ - @SerializedName("life") - @Expose - public com.google.gson.JsonElement life; - - /** - * The per. - * - */ - @SerializedName("per") - @Expose - public com.google.gson.JsonElement per; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTBody.java deleted file mode 100644 index ce86a1dc02f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions TBody. - */ -public class BaseWorkbookFunctionsTBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_DistBody.java deleted file mode 100644 index 1d8a710a108..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_DistBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist Body. - */ -public class BaseWorkbookFunctionsT_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_2TBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_2TBody.java deleted file mode 100644 index ef34590dbf0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_2TBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist_2TBody. - */ -public class BaseWorkbookFunctionsT_Dist_2TBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_RTBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_RTBody.java deleted file mode 100644 index 82bbe181378..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Dist_RTBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist_RTBody. - */ -public class BaseWorkbookFunctionsT_Dist_RTBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_InvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_InvBody.java deleted file mode 100644 index 4e28d2d89ea..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_InvBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Inv Body. - */ -public class BaseWorkbookFunctionsT_InvBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Inv_2TBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Inv_2TBody.java deleted file mode 100644 index c5c963e284c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsT_Inv_2TBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Inv_2TBody. - */ -public class BaseWorkbookFunctionsT_Inv_2TBody { - - /** - * The probability. - * - */ - @SerializedName("probability") - @Expose - public com.google.gson.JsonElement probability; - - /** - * The deg Freedom. - * - */ - @SerializedName("degFreedom") - @Expose - public com.google.gson.JsonElement degFreedom; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanBody.java deleted file mode 100644 index 0435404bab7..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tan Body. - */ -public class BaseWorkbookFunctionsTanBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanhBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanhBody.java deleted file mode 100644 index a5af1eaee40..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTanhBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tanh Body. - */ -public class BaseWorkbookFunctionsTanhBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillEqBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillEqBody.java deleted file mode 100644 index e7232737ead..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillEqBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Eq Body. - */ -public class BaseWorkbookFunctionsTbillEqBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The discount. - * - */ - @SerializedName("discount") - @Expose - public com.google.gson.JsonElement discount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillPriceBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillPriceBody.java deleted file mode 100644 index fd3f3c5c3a0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillPriceBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Price Body. - */ -public class BaseWorkbookFunctionsTbillPriceBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The discount. - * - */ - @SerializedName("discount") - @Expose - public com.google.gson.JsonElement discount; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillYieldBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillYieldBody.java deleted file mode 100644 index feb251b6fd0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTbillYieldBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Yield Body. - */ -public class BaseWorkbookFunctionsTbillYieldBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTextBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTextBody.java deleted file mode 100644 index c0a5d6d7ca6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTextBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Text Body. - */ -public class BaseWorkbookFunctionsTextBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - /** - * The format Text. - * - */ - @SerializedName("formatText") - @Expose - public com.google.gson.JsonElement formatText; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimeBody.java deleted file mode 100644 index e2a9f340757..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimeBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Time Body. - */ -public class BaseWorkbookFunctionsTimeBody { - - /** - * The hour. - * - */ - @SerializedName("hour") - @Expose - public com.google.gson.JsonElement hour; - - /** - * The minute. - * - */ - @SerializedName("minute") - @Expose - public com.google.gson.JsonElement minute; - - /** - * The second. - * - */ - @SerializedName("second") - @Expose - public com.google.gson.JsonElement second; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimevalueBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimevalueBody.java deleted file mode 100644 index 7efe44e0bdc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTimevalueBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Timevalue Body. - */ -public class BaseWorkbookFunctionsTimevalueBody { - - /** - * The time Text. - * - */ - @SerializedName("timeText") - @Expose - public com.google.gson.JsonElement timeText; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimBody.java deleted file mode 100644 index 503dc8730dc..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trim Body. - */ -public class BaseWorkbookFunctionsTrimBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimMeanBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimMeanBody.java deleted file mode 100644 index cf2786e9041..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTrimMeanBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trim Mean Body. - */ -public class BaseWorkbookFunctionsTrimMeanBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The percent. - * - */ - @SerializedName("percent") - @Expose - public com.google.gson.JsonElement percent; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTruncBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTruncBody.java deleted file mode 100644 index 100962a1ac9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTruncBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trunc Body. - */ -public class BaseWorkbookFunctionsTruncBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The num Digits. - * - */ - @SerializedName("numDigits") - @Expose - public com.google.gson.JsonElement numDigits; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTypeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTypeBody.java deleted file mode 100644 index 6b4f71cb0ed..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsTypeBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Type Body. - */ -public class BaseWorkbookFunctionsTypeBody { - - /** - * The value. - * - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicharBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicharBody.java deleted file mode 100644 index f78e84c78aa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicharBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Unichar Body. - */ -public class BaseWorkbookFunctionsUnicharBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicodeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicodeBody.java deleted file mode 100644 index 65b0c7b00ca..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUnicodeBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Unicode Body. - */ -public class BaseWorkbookFunctionsUnicodeBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUpperBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUpperBody.java deleted file mode 100644 index bb1aee19fc0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUpperBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Upper Body. - */ -public class BaseWorkbookFunctionsUpperBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUsdollarBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUsdollarBody.java deleted file mode 100644 index efef5e886e3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsUsdollarBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Usdollar Body. - */ -public class BaseWorkbookFunctionsUsdollarBody { - - /** - * The number. - * - */ - @SerializedName("number") - @Expose - public com.google.gson.JsonElement number; - - /** - * The decimals. - * - */ - @SerializedName("decimals") - @Expose - public com.google.gson.JsonElement decimals; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsValueBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsValueBody.java deleted file mode 100644 index 3c795eaf90a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsValueBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Value Body. - */ -public class BaseWorkbookFunctionsValueBody { - - /** - * The text. - * - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarABody.java deleted file mode 100644 index 9272d0e7e5d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var ABody. - */ -public class BaseWorkbookFunctionsVarABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarPABody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarPABody.java deleted file mode 100644 index 356203ddad1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVarPABody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var PABody. - */ -public class BaseWorkbookFunctionsVarPABody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_PBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_PBody.java deleted file mode 100644 index f442481295f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_PBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var_PBody. - */ -public class BaseWorkbookFunctionsVar_PBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_SBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_SBody.java deleted file mode 100644 index 6573c13f432..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVar_SBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var_SBody. - */ -public class BaseWorkbookFunctionsVar_SBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVdbBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVdbBody.java deleted file mode 100644 index e40910eee49..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVdbBody.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Vdb Body. - */ -public class BaseWorkbookFunctionsVdbBody { - - /** - * The cost. - * - */ - @SerializedName("cost") - @Expose - public com.google.gson.JsonElement cost; - - /** - * The salvage. - * - */ - @SerializedName("salvage") - @Expose - public com.google.gson.JsonElement salvage; - - /** - * The life. - * - */ - @SerializedName("life") - @Expose - public com.google.gson.JsonElement life; - - /** - * The start Period. - * - */ - @SerializedName("startPeriod") - @Expose - public com.google.gson.JsonElement startPeriod; - - /** - * The end Period. - * - */ - @SerializedName("endPeriod") - @Expose - public com.google.gson.JsonElement endPeriod; - - /** - * The factor. - * - */ - @SerializedName("factor") - @Expose - public com.google.gson.JsonElement factor; - - /** - * The no Switch. - * - */ - @SerializedName("noSwitch") - @Expose - public com.google.gson.JsonElement noSwitch; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVlookupBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVlookupBody.java deleted file mode 100644 index 28be716fb10..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsVlookupBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Vlookup Body. - */ -public class BaseWorkbookFunctionsVlookupBody { - - /** - * The lookup Value. - * - */ - @SerializedName("lookupValue") - @Expose - public com.google.gson.JsonElement lookupValue; - - /** - * The table Array. - * - */ - @SerializedName("tableArray") - @Expose - public com.google.gson.JsonElement tableArray; - - /** - * The col Index Num. - * - */ - @SerializedName("colIndexNum") - @Expose - public com.google.gson.JsonElement colIndexNum; - - /** - * The range Lookup. - * - */ - @SerializedName("rangeLookup") - @Expose - public com.google.gson.JsonElement rangeLookup; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekNumBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekNumBody.java deleted file mode 100644 index f1bef977824..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekNumBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Week Num Body. - */ -public class BaseWorkbookFunctionsWeekNumBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - /** - * The return Type. - * - */ - @SerializedName("returnType") - @Expose - public com.google.gson.JsonElement returnType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekdayBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekdayBody.java deleted file mode 100644 index fdc6fac9f0a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeekdayBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Weekday Body. - */ -public class BaseWorkbookFunctionsWeekdayBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - /** - * The return Type. - * - */ - @SerializedName("returnType") - @Expose - public com.google.gson.JsonElement returnType; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeibull_DistBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeibull_DistBody.java deleted file mode 100644 index bd5cf9c2b4c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWeibull_DistBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Weibull_Dist Body. - */ -public class BaseWorkbookFunctionsWeibull_DistBody { - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The alpha. - * - */ - @SerializedName("alpha") - @Expose - public com.google.gson.JsonElement alpha; - - /** - * The beta. - * - */ - @SerializedName("beta") - @Expose - public com.google.gson.JsonElement beta; - - /** - * The cumulative. - * - */ - @SerializedName("cumulative") - @Expose - public com.google.gson.JsonElement cumulative; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDayBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDayBody.java deleted file mode 100644 index 88f5560ce73..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDayBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Work Day Body. - */ -public class BaseWorkbookFunctionsWorkDayBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The days. - * - */ - @SerializedName("days") - @Expose - public com.google.gson.JsonElement days; - - /** - * The holidays. - * - */ - @SerializedName("holidays") - @Expose - public com.google.gson.JsonElement holidays; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDay_IntlBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDay_IntlBody.java deleted file mode 100644 index b70c5eb781f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsWorkDay_IntlBody.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Work Day_Intl Body. - */ -public class BaseWorkbookFunctionsWorkDay_IntlBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The days. - * - */ - @SerializedName("days") - @Expose - public com.google.gson.JsonElement days; - - /** - * The weekend. - * - */ - @SerializedName("weekend") - @Expose - public com.google.gson.JsonElement weekend; - - /** - * The holidays. - * - */ - @SerializedName("holidays") - @Expose - public com.google.gson.JsonElement holidays; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXirrBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXirrBody.java deleted file mode 100644 index df0005010b4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXirrBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xirr Body. - */ -public class BaseWorkbookFunctionsXirrBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The dates. - * - */ - @SerializedName("dates") - @Expose - public com.google.gson.JsonElement dates; - - /** - * The guess. - * - */ - @SerializedName("guess") - @Expose - public com.google.gson.JsonElement guess; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXnpvBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXnpvBody.java deleted file mode 100644 index a238b118a39..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXnpvBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xnpv Body. - */ -public class BaseWorkbookFunctionsXnpvBody { - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The dates. - * - */ - @SerializedName("dates") - @Expose - public com.google.gson.JsonElement dates; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXorBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXorBody.java deleted file mode 100644 index ee60810dd30..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsXorBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xor Body. - */ -public class BaseWorkbookFunctionsXorBody { - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearBody.java deleted file mode 100644 index 1a2858b642a..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Year Body. - */ -public class BaseWorkbookFunctionsYearBody { - - /** - * The serial Number. - * - */ - @SerializedName("serialNumber") - @Expose - public com.google.gson.JsonElement serialNumber; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearFracBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearFracBody.java deleted file mode 100644 index 82fc620f537..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYearFracBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Year Frac Body. - */ -public class BaseWorkbookFunctionsYearFracBody { - - /** - * The start Date. - * - */ - @SerializedName("startDate") - @Expose - public com.google.gson.JsonElement startDate; - - /** - * The end Date. - * - */ - @SerializedName("endDate") - @Expose - public com.google.gson.JsonElement endDate; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldBody.java deleted file mode 100644 index 88ccb30011b..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldBody.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Body. - */ -public class BaseWorkbookFunctionsYieldBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The frequency. - * - */ - @SerializedName("frequency") - @Expose - public com.google.gson.JsonElement frequency; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldDiscBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldDiscBody.java deleted file mode 100644 index 4c493671873..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldDiscBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Disc Body. - */ -public class BaseWorkbookFunctionsYieldDiscBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - /** - * The redemption. - * - */ - @SerializedName("redemption") - @Expose - public com.google.gson.JsonElement redemption; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldMatBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldMatBody.java deleted file mode 100644 index ac514dfc8cd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsYieldMatBody.java +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Mat Body. - */ -public class BaseWorkbookFunctionsYieldMatBody { - - /** - * The settlement. - * - */ - @SerializedName("settlement") - @Expose - public com.google.gson.JsonElement settlement; - - /** - * The maturity. - * - */ - @SerializedName("maturity") - @Expose - public com.google.gson.JsonElement maturity; - - /** - * The issue. - * - */ - @SerializedName("issue") - @Expose - public com.google.gson.JsonElement issue; - - /** - * The rate. - * - */ - @SerializedName("rate") - @Expose - public com.google.gson.JsonElement rate; - - /** - * The pr. - * - */ - @SerializedName("pr") - @Expose - public com.google.gson.JsonElement pr; - - /** - * The basis. - * - */ - @SerializedName("basis") - @Expose - public com.google.gson.JsonElement basis; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsZ_TestBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsZ_TestBody.java deleted file mode 100644 index 1ea722e27e0..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookFunctionsZ_TestBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Z_Test Body. - */ -public class BaseWorkbookFunctionsZ_TestBody { - - /** - * The array. - * - */ - @SerializedName("array") - @Expose - public com.google.gson.JsonElement array; - - /** - * The x. - * - */ - @SerializedName("x") - @Expose - public com.google.gson.JsonElement x; - - /** - * The sigma. - * - */ - @SerializedName("sigma") - @Expose - public com.google.gson.JsonElement sigma; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookIcon.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookIcon.java deleted file mode 100644 index 53c30bac619..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookIcon.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Icon. - */ -public class BaseWorkbookIcon implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Index. - * Represents the index of the icon in the given set. - */ - @SerializedName("index") - @Expose - public Integer index; - - /** - * The Set. - * 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. - */ - @SerializedName("set") - @Expose - public String set; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItem.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItem.java deleted file mode 100644 index 7191ebfa2f1..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItem.java +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item. - */ -public class BaseWorkbookNamedItem extends Entity implements IJsonBackedObject { - - - /** - * The Comment. - * Represents the comment associated with this name. - */ - @SerializedName("comment") - @Expose - public String comment; - - /** - * The Name. - * The name of the object. Read-only. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Scope. - * Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only. - */ - @SerializedName("scope") - @Expose - public String scope; - - /** - * The Type. - * Indicates what type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Value. - * Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. - */ - @SerializedName("value") - @Expose - public com.google.gson.JsonElement value; - - /** - * The Visible. - * Specifies whether the object is visible or not. - */ - @SerializedName("visible") - @Expose - public Boolean visible; - - /** - * The Worksheet. - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. - */ - @SerializedName("worksheet") - @Expose - public WorkbookWorksheet worksheet; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddBody.java deleted file mode 100644 index 9072f5409ed..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Add Body. - */ -public class BaseWorkbookNamedItemAddBody { - - /** - * The name. - * - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The reference. - * - */ - @SerializedName("reference") - @Expose - public com.google.gson.JsonElement reference; - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddFormulaLocalBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddFormulaLocalBody.java deleted file mode 100644 index c67fcbc8d7e..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookNamedItemAddFormulaLocalBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Add Formula Local Body. - */ -public class BaseWorkbookNamedItemAddFormulaLocalBody { - - /** - * The name. - * - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The formula. - * - */ - @SerializedName("formula") - @Expose - public String formula; - - /** - * The comment. - * - */ - @SerializedName("comment") - @Expose - public String comment; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookPivotTable.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookPivotTable.java deleted file mode 100644 index 9f06088f39f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookPivotTable.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table. - */ -public class BaseWorkbookPivotTable extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * Name of the PivotTable. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Worksheet. - * The worksheet containing the current PivotTable. Read-only. - */ - @SerializedName("worksheet") - @Expose - public WorkbookWorksheet worksheet; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookProcessQueryBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookProcessQueryBody.java deleted file mode 100644 index 69e2f624cb8..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookProcessQueryBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Process Query Body. - */ -public class BaseWorkbookProcessQueryBody { - - /** - * The input. - * - */ - @SerializedName("input") - @Expose - public byte[] input; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRange.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRange.java deleted file mode 100644 index 2086f7575d9..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRange.java +++ /dev/null @@ -1,233 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookRangeFormat; -import com.microsoft.graph.models.extensions.WorkbookRangeSort; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range. - */ -public class BaseWorkbookRange extends Entity implements IJsonBackedObject { - - - /** - * The Address. - * Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. - */ - @SerializedName("address") - @Expose - public String address; - - /** - * The Address Local. - * Represents range reference for the specified range in the language of the user. Read-only. - */ - @SerializedName("addressLocal") - @Expose - public String addressLocal; - - /** - * The Cell Count. - * Number of cells in the range. Read-only. - */ - @SerializedName("cellCount") - @Expose - public Integer cellCount; - - /** - * The Column Count. - * Represents the total number of columns in the range. Read-only. - */ - @SerializedName("columnCount") - @Expose - public Integer columnCount; - - /** - * The Column Hidden. - * Represents if all columns of the current range are hidden. - */ - @SerializedName("columnHidden") - @Expose - public Boolean columnHidden; - - /** - * The Column Index. - * Represents the column number of the first cell in the range. Zero-indexed. Read-only. - */ - @SerializedName("columnIndex") - @Expose - public Integer columnIndex; - - /** - * The Formulas. - * Represents the formula in A1-style notation. - */ - @SerializedName("formulas") - @Expose - public com.google.gson.JsonElement formulas; - - /** - * The Formulas Local. - * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. - */ - @SerializedName("formulasLocal") - @Expose - public com.google.gson.JsonElement formulasLocal; - - /** - * The Formulas R1C1. - * Represents the formula in R1C1-style notation. - */ - @SerializedName("formulasR1C1") - @Expose - public com.google.gson.JsonElement formulasR1C1; - - /** - * The Hidden. - * Represents if all cells of the current range are hidden. Read-only. - */ - @SerializedName("hidden") - @Expose - public Boolean hidden; - - /** - * The Number Format. - * Represents Excel's number format code for the given cell. - */ - @SerializedName("numberFormat") - @Expose - public com.google.gson.JsonElement numberFormat; - - /** - * The Row Count. - * Returns the total number of rows in the range. Read-only. - */ - @SerializedName("rowCount") - @Expose - public Integer rowCount; - - /** - * The Row Hidden. - * Represents if all rows of the current range are hidden. - */ - @SerializedName("rowHidden") - @Expose - public Boolean rowHidden; - - /** - * The Row Index. - * Returns the row number of the first cell in the range. Zero-indexed. Read-only. - */ - @SerializedName("rowIndex") - @Expose - public Integer rowIndex; - - /** - * The Text. - * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The Value Types. - * Represents the type of data of each cell. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. - */ - @SerializedName("valueTypes") - @Expose - public com.google.gson.JsonElement valueTypes; - - /** - * The Values. - * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The Format. - * Returns a format object, encapsulating the range's font, fill, borders, alignment, and other properties. Read-only. - */ - @SerializedName("format") - @Expose - public WorkbookRangeFormat format; - - /** - * The Sort. - * The worksheet containing the current range. Read-only. - */ - @SerializedName("sort") - @Expose - public WorkbookRangeSort sort; - - /** - * The Worksheet. - * The worksheet containing the current range. Read-only. - */ - @SerializedName("worksheet") - @Expose - public WorkbookWorksheet worksheet; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeBorder.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeBorder.java deleted file mode 100644 index 7e0abf4ee6c..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeBorder.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border. - */ -public class BaseWorkbookRangeBorder extends Entity implements IJsonBackedObject { - - - /** - * The Color. - * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). - */ - @SerializedName("color") - @Expose - public String color; - - /** - * The Side Index. - * Constant value that indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. - */ - @SerializedName("sideIndex") - @Expose - public String sideIndex; - - /** - * The Style. - * 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. - */ - @SerializedName("style") - @Expose - public String style; - - /** - * The Weight. - * Specifies the weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick. - */ - @SerializedName("weight") - @Expose - public String weight; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeClearBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeClearBody.java deleted file mode 100644 index d4e49a634cf..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeClearBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Clear Body. - */ -public class BaseWorkbookRangeClearBody { - - /** - * The apply To. - * - */ - @SerializedName("applyTo") - @Expose - public String applyTo; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeDeleteBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeDeleteBody.java deleted file mode 100644 index e83ead55e92..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeDeleteBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Delete Body. - */ -public class BaseWorkbookRangeDeleteBody { - - /** - * The shift. - * - */ - @SerializedName("shift") - @Expose - public String shift; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFill.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFill.java deleted file mode 100644 index f61450d190d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFill.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Fill. - */ -public class BaseWorkbookRangeFill extends Entity implements IJsonBackedObject { - - - /** - * The Color. - * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange') - */ - @SerializedName("color") - @Expose - public String color; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFont.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFont.java deleted file mode 100644 index 490bf639cb2..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFont.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Font. - */ -public class BaseWorkbookRangeFont extends Entity implements IJsonBackedObject { - - - /** - * The Bold. - * Represents the bold status of font. - */ - @SerializedName("bold") - @Expose - public Boolean bold; - - /** - * The Color. - * HTML color code representation of the text color. E.g. #FF0000 represents Red. - */ - @SerializedName("color") - @Expose - public String color; - - /** - * The Italic. - * Represents the italic status of the font. - */ - @SerializedName("italic") - @Expose - public Boolean italic; - - /** - * The Name. - * Font name (e.g. 'Calibri') - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Size. - * Font size. - */ - @SerializedName("size") - @Expose - public Double size; - - /** - * The Underline. - * Type of underline applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. - */ - @SerializedName("underline") - @Expose - public String underline; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFormat.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFormat.java deleted file mode 100644 index 99077215afa..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeFormat.java +++ /dev/null @@ -1,162 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; -import com.microsoft.graph.models.extensions.WorkbookRangeFill; -import com.microsoft.graph.models.extensions.WorkbookRangeFont; -import com.microsoft.graph.models.extensions.WorkbookFormatProtection; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format. - */ -public class BaseWorkbookRangeFormat extends Entity implements IJsonBackedObject { - - - /** - * The Column Width. - * Gets or sets the width of all colums within the range. If the column widths are not uniform, null will be returned. - */ - @SerializedName("columnWidth") - @Expose - public Double columnWidth; - - /** - * The Horizontal Alignment. - * Represents the horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. - */ - @SerializedName("horizontalAlignment") - @Expose - public String horizontalAlignment; - - /** - * The Row Height. - * Gets or sets the height of all rows in the range. If the row heights are not uniform null will be returned. - */ - @SerializedName("rowHeight") - @Expose - public Double rowHeight; - - /** - * The Vertical Alignment. - * Represents the vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. - */ - @SerializedName("verticalAlignment") - @Expose - public String verticalAlignment; - - /** - * The Wrap Text. - * Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting - */ - @SerializedName("wrapText") - @Expose - public Boolean wrapText; - - /** - * The Borders. - * Collection of border objects that apply to the overall range selected Read-only. - */ - public WorkbookRangeBorderCollectionPage borders; - - /** - * The Fill. - * Returns the fill object defined on the overall range. Read-only. - */ - @SerializedName("fill") - @Expose - public WorkbookRangeFill fill; - - /** - * The Font. - * Returns the font object defined on the overall range selected Read-only. - */ - @SerializedName("font") - @Expose - public WorkbookRangeFont font; - - /** - * The Protection. - * Returns the format protection object for a range. Read-only. - */ - @SerializedName("protection") - @Expose - public WorkbookFormatProtection protection; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("borders")) { - final BaseWorkbookRangeBorderCollectionResponse response = new BaseWorkbookRangeBorderCollectionResponse(); - if (json.has("borders@odata.nextLink")) { - response.nextLink = json.get("borders@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("borders").toString(), JsonObject[].class); - final WorkbookRangeBorder[] array = new WorkbookRangeBorder[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookRangeBorder.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - borders = new WorkbookRangeBorderCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeInsertBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeInsertBody.java deleted file mode 100644 index 66fd81965de..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeInsertBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Insert Body. - */ -public class BaseWorkbookRangeInsertBody { - - /** - * The shift. - * - */ - @SerializedName("shift") - @Expose - public String shift; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeMergeBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeMergeBody.java deleted file mode 100644 index 6859ec48e90..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeMergeBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Merge Body. - */ -public class BaseWorkbookRangeMergeBody { - - /** - * The across. - * - */ - @SerializedName("across") - @Expose - public Boolean across; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeReference.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeReference.java deleted file mode 100644 index f982bae81e6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeReference.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Reference. - */ -public class BaseWorkbookRangeReference implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Address. - * - */ - @SerializedName("address") - @Expose - public String address; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSort.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSort.java deleted file mode 100644 index d3a68f42394..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSort.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Sort. - */ -public class BaseWorkbookRangeSort extends Entity implements IJsonBackedObject { - - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSortApplyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSortApplyBody.java deleted file mode 100644 index 07fc90bf8e3..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeSortApplyBody.java +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Sort Apply Body. - */ -public class BaseWorkbookRangeSortApplyBody { - - /** - * The fields. - * - */ - @SerializedName("fields") - @Expose - public java.util.List fields; - - /** - * The match Case. - * - */ - @SerializedName("matchCase") - @Expose - public Boolean matchCase; - - /** - * The has Headers. - * - */ - @SerializedName("hasHeaders") - @Expose - public Boolean hasHeaders; - - /** - * The orientation. - * - */ - @SerializedName("orientation") - @Expose - public String orientation; - - /** - * The method. - * - */ - @SerializedName("method") - @Expose - public String method; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeView.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeView.java deleted file mode 100644 index bdc961c3191..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookRangeView.java +++ /dev/null @@ -1,183 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View. - */ -public class BaseWorkbookRangeView extends Entity implements IJsonBackedObject { - - - /** - * The Cell Addresses. - * Represents the cell addresses - */ - @SerializedName("cellAddresses") - @Expose - public com.google.gson.JsonElement cellAddresses; - - /** - * The Column Count. - * Returns the number of visible columns. Read-only. - */ - @SerializedName("columnCount") - @Expose - public Integer columnCount; - - /** - * The Formulas. - * Represents the formula in A1-style notation. - */ - @SerializedName("formulas") - @Expose - public com.google.gson.JsonElement formulas; - - /** - * The Formulas Local. - * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. - */ - @SerializedName("formulasLocal") - @Expose - public com.google.gson.JsonElement formulasLocal; - - /** - * The Formulas R1C1. - * Represents the formula in R1C1-style notation. - */ - @SerializedName("formulasR1C1") - @Expose - public com.google.gson.JsonElement formulasR1C1; - - /** - * The Index. - * Index of the range. - */ - @SerializedName("index") - @Expose - public Integer index; - - /** - * The Number Format. - * Represents Excel's number format code for the given cell. Read-only. - */ - @SerializedName("numberFormat") - @Expose - public com.google.gson.JsonElement numberFormat; - - /** - * The Row Count. - * Returns the number of visible rows. Read-only. - */ - @SerializedName("rowCount") - @Expose - public Integer rowCount; - - /** - * The Text. - * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. - */ - @SerializedName("text") - @Expose - public com.google.gson.JsonElement text; - - /** - * The Value Types. - * Represents the type of data of each cell. Read-only. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. - */ - @SerializedName("valueTypes") - @Expose - public com.google.gson.JsonElement valueTypes; - - /** - * The Values. - * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The Rows. - * Represents a collection of range views associated with the range. Read-only. Read-only. - */ - public WorkbookRangeViewCollectionPage rows; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("rows")) { - final BaseWorkbookRangeViewCollectionResponse response = new BaseWorkbookRangeViewCollectionResponse(); - if (json.has("rows@odata.nextLink")) { - response.nextLink = json.get("rows@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("rows").toString(), JsonObject[].class); - final WorkbookRangeView[] array = new WorkbookRangeView[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookRangeView.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - rows = new WorkbookRangeViewCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSessionInfo.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSessionInfo.java deleted file mode 100644 index ec7dfc573d6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSessionInfo.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Session Info. - */ -public class BaseWorkbookSessionInfo implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Id. - * Id of the workbook session. - */ - @SerializedName("id") - @Expose - public String id; - - /** - * The Persist Changes. - * true for persistent session. false for non-persistent session (view mode) - */ - @SerializedName("persistChanges") - @Expose - public Boolean persistChanges; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSortField.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSortField.java deleted file mode 100644 index 08a363ee4c4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookSortField.java +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookIcon; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Sort Field. - */ -public class BaseWorkbookSortField implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Ascending. - * Represents whether the sorting is done in an ascending fashion. - */ - @SerializedName("ascending") - @Expose - public Boolean ascending; - - /** - * The Color. - * Represents the color that is the target of the condition if the sorting is on font or cell color. - */ - @SerializedName("color") - @Expose - public String color; - - /** - * The Data Option. - * Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber. - */ - @SerializedName("dataOption") - @Expose - public String dataOption; - - /** - * The Icon. - * Represents the icon that is the target of the condition if the sorting is on the cell's icon. - */ - @SerializedName("icon") - @Expose - public WorkbookIcon icon; - - /** - * The Key. - * Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row). - */ - @SerializedName("key") - @Expose - public Integer key; - - /** - * The Sort On. - * Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon. - */ - @SerializedName("sortOn") - @Expose - public String sortOn; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTable.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTable.java deleted file mode 100644 index 83c57f3a511..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTable.java +++ /dev/null @@ -1,210 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.models.extensions.WorkbookTableSort; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookTableRowCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table. - */ -public class BaseWorkbookTable extends Entity implements IJsonBackedObject { - - - /** - * The Highlight First Column. - * Indicates whether the first column contains special formatting. - */ - @SerializedName("highlightFirstColumn") - @Expose - public Boolean highlightFirstColumn; - - /** - * The Highlight Last Column. - * Indicates whether the last column contains special formatting. - */ - @SerializedName("highlightLastColumn") - @Expose - public Boolean highlightLastColumn; - - /** - * The Name. - * Name of the table. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Show Banded Columns. - * Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier. - */ - @SerializedName("showBandedColumns") - @Expose - public Boolean showBandedColumns; - - /** - * The Show Banded Rows. - * Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier. - */ - @SerializedName("showBandedRows") - @Expose - public Boolean showBandedRows; - - /** - * The Show Filter Button. - * Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row. - */ - @SerializedName("showFilterButton") - @Expose - public Boolean showFilterButton; - - /** - * The Show Headers. - * Indicates whether the header row is visible or not. This value can be set to show or remove the header row. - */ - @SerializedName("showHeaders") - @Expose - public Boolean showHeaders; - - /** - * The Show Totals. - * Indicates whether the total row is visible or not. This value can be set to show or remove the total row. - */ - @SerializedName("showTotals") - @Expose - public Boolean showTotals; - - /** - * The Style. - * Constant value that represents the Table style. The possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. - */ - @SerializedName("style") - @Expose - public String style; - - /** - * The Columns. - * Represents a collection of all the columns in the table. Read-only. - */ - public WorkbookTableColumnCollectionPage columns; - - /** - * The Rows. - * Represents a collection of all the rows in the table. Read-only. - */ - public WorkbookTableRowCollectionPage rows; - - /** - * The Sort. - * Represents the sorting for the table. Read-only. - */ - @SerializedName("sort") - @Expose - public WorkbookTableSort sort; - - /** - * The Worksheet. - * The worksheet containing the current table. Read-only. - */ - @SerializedName("worksheet") - @Expose - public WorkbookWorksheet worksheet; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("columns")) { - final BaseWorkbookTableColumnCollectionResponse response = new BaseWorkbookTableColumnCollectionResponse(); - if (json.has("columns@odata.nextLink")) { - response.nextLink = json.get("columns@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("columns").toString(), JsonObject[].class); - final WorkbookTableColumn[] array = new WorkbookTableColumn[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTableColumn.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - columns = new WorkbookTableColumnCollectionPage(response, null); - } - - if (json.has("rows")) { - final BaseWorkbookTableRowCollectionResponse response = new BaseWorkbookTableRowCollectionResponse(); - if (json.has("rows@odata.nextLink")) { - response.nextLink = json.get("rows@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("rows").toString(), JsonObject[].class); - final WorkbookTableRow[] array = new WorkbookTableRow[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTableRow.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - rows = new WorkbookTableRowCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableAddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableAddBody.java deleted file mode 100644 index 0ef92b767ce..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableAddBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Add Body. - */ -public class BaseWorkbookTableAddBody { - - /** - * The address. - * - */ - @SerializedName("address") - @Expose - public String address; - - /** - * The has Headers. - * - */ - @SerializedName("hasHeaders") - @Expose - public Boolean hasHeaders; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumn.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumn.java deleted file mode 100644 index 7d90ccc8b0d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumn.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookFilter; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column. - */ -public class BaseWorkbookTableColumn extends Entity implements IJsonBackedObject { - - - /** - * The Index. - * Returns the index number of the column within the columns collection of the table. Zero-indexed. Read-only. - */ - @SerializedName("index") - @Expose - public Integer index; - - /** - * The Name. - * Returns the name of the table column. Read-only. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Values. - * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The Filter. - * Retrieve the filter applied to the column. Read-only. - */ - @SerializedName("filter") - @Expose - public WorkbookFilter filter; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumnAddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumnAddBody.java deleted file mode 100644 index adeba7a4860..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableColumnAddBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Add Body. - */ -public class BaseWorkbookTableColumnAddBody { - - /** - * The index. - * - */ - @SerializedName("index") - @Expose - public Integer index; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - /** - * The name. - * - */ - @SerializedName("name") - @Expose - public String name; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRow.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRow.java deleted file mode 100644 index 3df596a85bd..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRow.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row. - */ -public class BaseWorkbookTableRow extends Entity implements IJsonBackedObject { - - - /** - * The Index. - * Returns the index number of the row within the rows collection of the table. Zero-indexed. Read-only. - */ - @SerializedName("index") - @Expose - public Integer index; - - /** - * The Values. - * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRowAddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRowAddBody.java deleted file mode 100644 index 73981f930d4..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableRowAddBody.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Add Body. - */ -public class BaseWorkbookTableRowAddBody { - - /** - * The index. - * - */ - @SerializedName("index") - @Expose - public Integer index; - - /** - * The values. - * - */ - @SerializedName("values") - @Expose - public com.google.gson.JsonElement values; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSort.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSort.java deleted file mode 100644 index 72c5465acd6..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSort.java +++ /dev/null @@ -1,95 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookSortField; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort. - */ -public class BaseWorkbookTableSort extends Entity implements IJsonBackedObject { - - - /** - * The Fields. - * Represents the current conditions used to last sort the table. Read-only. - */ - @SerializedName("fields") - @Expose - public java.util.List fields; - - /** - * The Match Case. - * Represents whether the casing impacted the last sort of the table. Read-only. - */ - @SerializedName("matchCase") - @Expose - public Boolean matchCase; - - /** - * The Method. - * Represents Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only. - */ - @SerializedName("method") - @Expose - public String method; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSortApplyBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSortApplyBody.java deleted file mode 100644 index 8928a96f206..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookTableSortApplyBody.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Apply Body. - */ -public class BaseWorkbookTableSortApplyBody { - - /** - * The fields. - * - */ - @SerializedName("fields") - @Expose - public java.util.List fields; - - /** - * The match Case. - * - */ - @SerializedName("matchCase") - @Expose - public Boolean matchCase; - - /** - * The method. - * - */ - @SerializedName("method") - @Expose - public String method; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheet.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheet.java deleted file mode 100644 index 154ed13b79d..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheet.java +++ /dev/null @@ -1,203 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.models.extensions.WorkbookPivotTable; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookChartCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCollectionResponse; -import com.microsoft.graph.requests.extensions.WorkbookTableCollectionPage; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet. - */ -public class BaseWorkbookWorksheet extends Entity implements IJsonBackedObject { - - - /** - * The Name. - * The display name of the worksheet. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Position. - * The zero-based position of the worksheet within the workbook. - */ - @SerializedName("position") - @Expose - public Integer position; - - /** - * The Visibility. - * The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. - */ - @SerializedName("visibility") - @Expose - public String visibility; - - /** - * The Charts. - * Returns collection of charts that are part of the worksheet. Read-only. - */ - public WorkbookChartCollectionPage charts; - - /** - * The Names. - * Returns collection of names that are associated with the worksheet. Read-only. - */ - public WorkbookNamedItemCollectionPage names; - - /** - * The Pivot Tables. - * Collection of PivotTables that are part of the worksheet. - */ - public WorkbookPivotTableCollectionPage pivotTables; - - /** - * The Protection. - * Returns sheet protection object for a worksheet. Read-only. - */ - @SerializedName("protection") - @Expose - public WorkbookWorksheetProtection protection; - - /** - * The Tables. - * Collection of tables that are part of the worksheet. Read-only. - */ - public WorkbookTableCollectionPage tables; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("charts")) { - final BaseWorkbookChartCollectionResponse response = new BaseWorkbookChartCollectionResponse(); - if (json.has("charts@odata.nextLink")) { - response.nextLink = json.get("charts@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("charts").toString(), JsonObject[].class); - final WorkbookChart[] array = new WorkbookChart[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookChart.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - charts = new WorkbookChartCollectionPage(response, null); - } - - if (json.has("names")) { - final BaseWorkbookNamedItemCollectionResponse response = new BaseWorkbookNamedItemCollectionResponse(); - if (json.has("names@odata.nextLink")) { - response.nextLink = json.get("names@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("names").toString(), JsonObject[].class); - final WorkbookNamedItem[] array = new WorkbookNamedItem[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookNamedItem.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - names = new WorkbookNamedItemCollectionPage(response, null); - } - - if (json.has("pivotTables")) { - final BaseWorkbookPivotTableCollectionResponse response = new BaseWorkbookPivotTableCollectionResponse(); - if (json.has("pivotTables@odata.nextLink")) { - response.nextLink = json.get("pivotTables@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pivotTables").toString(), JsonObject[].class); - final WorkbookPivotTable[] array = new WorkbookPivotTable[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookPivotTable.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - pivotTables = new WorkbookPivotTableCollectionPage(response, null); - } - - if (json.has("tables")) { - final BaseWorkbookTableCollectionResponse response = new BaseWorkbookTableCollectionResponse(); - if (json.has("tables@odata.nextLink")) { - response.nextLink = json.get("tables@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tables").toString(), JsonObject[].class); - final WorkbookTable[] array = new WorkbookTable[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WorkbookTable.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tables = new WorkbookTableCollectionPage(response, null); - } - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetAddBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetAddBody.java deleted file mode 100644 index b27c7fe278f..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetAddBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Add Body. - */ -public class BaseWorkbookWorksheetAddBody { - - /** - * The name. - * - */ - @SerializedName("name") - @Expose - public String name; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtection.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtection.java deleted file mode 100644 index 1587cb91743..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtection.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; -import com.microsoft.graph.models.extensions.Entity; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection. - */ -public class BaseWorkbookWorksheetProtection extends Entity implements IJsonBackedObject { - - - /** - * The Options. - * Sheet protection options. Read-only. - */ - @SerializedName("options") - @Expose - public WorkbookWorksheetProtectionOptions options; - - /** - * The Protected. - * Indicates if the worksheet is protected. Read-only. - */ - @SerializedName("protected") - @Expose - public Boolean msgraphprotected; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionOptions.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionOptions.java deleted file mode 100644 index d5c4f8d6ace..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionOptions.java +++ /dev/null @@ -1,167 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Options. - */ -public class BaseWorkbookWorksheetProtectionOptions implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Allow Auto Filter. - * Represents the worksheet protection option of allowing using auto filter feature. - */ - @SerializedName("allowAutoFilter") - @Expose - public Boolean allowAutoFilter; - - /** - * The Allow Delete Columns. - * Represents the worksheet protection option of allowing deleting columns. - */ - @SerializedName("allowDeleteColumns") - @Expose - public Boolean allowDeleteColumns; - - /** - * The Allow Delete Rows. - * Represents the worksheet protection option of allowing deleting rows. - */ - @SerializedName("allowDeleteRows") - @Expose - public Boolean allowDeleteRows; - - /** - * The Allow Format Cells. - * Represents the worksheet protection option of allowing formatting cells. - */ - @SerializedName("allowFormatCells") - @Expose - public Boolean allowFormatCells; - - /** - * The Allow Format Columns. - * Represents the worksheet protection option of allowing formatting columns. - */ - @SerializedName("allowFormatColumns") - @Expose - public Boolean allowFormatColumns; - - /** - * The Allow Format Rows. - * Represents the worksheet protection option of allowing formatting rows. - */ - @SerializedName("allowFormatRows") - @Expose - public Boolean allowFormatRows; - - /** - * The Allow Insert Columns. - * Represents the worksheet protection option of allowing inserting columns. - */ - @SerializedName("allowInsertColumns") - @Expose - public Boolean allowInsertColumns; - - /** - * The Allow Insert Hyperlinks. - * Represents the worksheet protection option of allowing inserting hyperlinks. - */ - @SerializedName("allowInsertHyperlinks") - @Expose - public Boolean allowInsertHyperlinks; - - /** - * The Allow Insert Rows. - * Represents the worksheet protection option of allowing inserting rows. - */ - @SerializedName("allowInsertRows") - @Expose - public Boolean allowInsertRows; - - /** - * The Allow Pivot Tables. - * Represents the worksheet protection option of allowing using pivot table feature. - */ - @SerializedName("allowPivotTables") - @Expose - public Boolean allowPivotTables; - - /** - * The Allow Sort. - * Represents the worksheet protection option of allowing using sort feature. - */ - @SerializedName("allowSort") - @Expose - public Boolean allowSort; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionProtectBody.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionProtectBody.java deleted file mode 100644 index 597a7e91f84..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkbookWorksheetProtectionProtectBody.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; - - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.google.gson.JsonObject; -import com.microsoft.graph.serializer.ISerializer; -import com.microsoft.graph.models.extensions.*; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Protect Body. - */ -public class BaseWorkbookWorksheetProtectionProtectBody { - - /** - * The options. - * - */ - @SerializedName("options") - @Expose - public WorkbookWorksheetProtectionOptions options; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/models/generated/BaseWorkingHours.java b/src/main/java/com/microsoft/graph/models/generated/BaseWorkingHours.java deleted file mode 100644 index eef8094bb47..00000000000 --- a/src/main/java/com/microsoft/graph/models/generated/BaseWorkingHours.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.models.generated; -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; -import java.util.Arrays; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.DayOfWeek; -import com.microsoft.graph.models.extensions.TimeZoneBase; - - -import com.google.gson.JsonObject; -import com.google.gson.JsonElement; -import com.google.gson.annotations.*; -import java.util.HashMap; -import java.util.Map; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Working Hours. - */ -public class BaseWorkingHours implements IJsonBackedObject { - - @SerializedName("@odata.type") - @Expose - public String oDataType; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The Days Of Week. - * The days of the week on which the user works. - */ - @SerializedName("daysOfWeek") - @Expose - public java.util.List daysOfWeek; - - /** - * The Start Time. - * The time of the day that the user starts working. - */ - @SerializedName("startTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay startTime; - - /** - * The End Time. - * The time of the day that the user stops working. - */ - @SerializedName("endTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay endTime; - - /** - * The Time Zone. - * The time zone to which the working hours apply. - */ - @SerializedName("timeZone") - @Expose - public TimeZoneBase timeZone; - - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionPage.java index 8ac8729b2e6..07e9964d6f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ActivityHistoryItem; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Activity History Item Collection Page. */ -public class ActivityHistoryItemCollectionPage extends BaseActivityHistoryItemCollectionPage implements IActivityHistoryItemCollectionPage { +public class ActivityHistoryItemCollectionPage extends BaseCollectionPage implements IActivityHistoryItemCollectionPage { /** - * A collection page for UserActivity. + * A collection page for ActivityHistoryItem * - * @param response the serialized BaseActivityHistoryItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ActivityHistoryItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ActivityHistoryItemCollectionPage(final BaseActivityHistoryItemCollectionResponse response, final IActivityHistoryItemCollectionRequestBuilder builder) { - super(response, builder); + public ActivityHistoryItemCollectionPage(final ActivityHistoryItemCollectionResponse response, final IActivityHistoryItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequest.java index 276ede74abc..df50c09a82a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Activity History Item Collection Request. */ -public class ActivityHistoryItemCollectionRequest extends BaseActivityHistoryItemCollectionRequest implements IActivityHistoryItemCollectionRequest { +public class ActivityHistoryItemCollectionRequest extends BaseCollectionRequest implements IActivityHistoryItemCollectionRequest { /** - * The request for this collection of UserActivity + * The request builder for this collection of ActivityHistoryItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ActivityHistoryItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ActivityHistoryItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ActivityHistoryItemCollectionResponse.class, IActivityHistoryItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IActivityHistoryItemCollectionPage get() throws ClientException { + final ActivityHistoryItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ActivityHistoryItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newActivityHistoryItem, callback); + } + + public ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ActivityHistoryItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newActivityHistoryItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IActivityHistoryItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ActivityHistoryItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IActivityHistoryItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ActivityHistoryItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IActivityHistoryItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ActivityHistoryItemCollectionRequest)this; + } + + public IActivityHistoryItemCollectionPage buildFromResponse(final ActivityHistoryItemCollectionResponse response) { + final IActivityHistoryItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ActivityHistoryItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ActivityHistoryItemCollectionPage page = new ActivityHistoryItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequestBuilder.java index 48950b50a31..f0c81ead8bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Activity History Item Collection Request Builder. */ -public class ActivityHistoryItemCollectionRequestBuilder extends BaseActivityHistoryItemCollectionRequestBuilder implements IActivityHistoryItemCollectionRequestBuilder { +public class ActivityHistoryItemCollectionRequestBuilder extends BaseRequestBuilder implements IActivityHistoryItemCollectionRequestBuilder { /** * The request builder for this collection of UserActivity @@ -25,4 +33,18 @@ public class ActivityHistoryItemCollectionRequestBuilder extends BaseActivityHis public ActivityHistoryItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IActivityHistoryItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IActivityHistoryItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ActivityHistoryItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IActivityHistoryItemRequestBuilder byId(final String id) { + return new ActivityHistoryItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionResponse.java new file mode 100644 index 00000000000..a920d68d935 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ActivityHistoryItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Activity History Item Collection Response. + */ +public class ActivityHistoryItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of ActivityHistoryItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequest.java index 26c79534944..728a0ac181b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequest; +import com.microsoft.graph.requests.extensions.ActivityHistoryItemRequest; +import com.microsoft.graph.models.extensions.ActivityHistoryItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ActivityHistoryItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Activity History Item Request. */ -public class ActivityHistoryItemRequest extends BaseActivityHistoryItemRequest implements IActivityHistoryItemRequest { - +public class ActivityHistoryItemRequest extends BaseRequest implements IActivityHistoryItemRequest { + /** * The request for the ActivityHistoryItem * @@ -26,4 +32,107 @@ public class ActivityHistoryItemRequest extends BaseActivityHistoryItemRequest i public ActivityHistoryItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ActivityHistoryItem.class); } + + /** + * Gets the ActivityHistoryItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ActivityHistoryItem from the service + * + * @return the ActivityHistoryItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ActivityHistoryItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ActivityHistoryItem with a source + * + * @param sourceActivityHistoryItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ActivityHistoryItem sourceActivityHistoryItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceActivityHistoryItem); + } + + /** + * Patches this ActivityHistoryItem with a source + * + * @param sourceActivityHistoryItem the source object with updates + * @return the updated ActivityHistoryItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ActivityHistoryItem patch(final ActivityHistoryItem sourceActivityHistoryItem) throws ClientException { + return send(HttpMethod.PATCH, sourceActivityHistoryItem); + } + + /** + * Creates a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback) { + send(HttpMethod.POST, callback, newActivityHistoryItem); + } + + /** + * Creates a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the new object to create + * @return the created ActivityHistoryItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException { + return send(HttpMethod.POST, newActivityHistoryItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IActivityHistoryItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ActivityHistoryItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IActivityHistoryItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ActivityHistoryItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequestBuilder.java index 72d9b619325..76848126e5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequest; +import com.microsoft.graph.requests.extensions.ActivityHistoryItemRequest; +import com.microsoft.graph.requests.extensions.IUserActivityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.UserActivityWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseActivityHistoryItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Activity History Item Request Builder. */ -public class ActivityHistoryItemRequestBuilder extends BaseActivityHistoryItemRequestBuilder implements IActivityHistoryItemRequestBuilder { +public class ActivityHistoryItemRequestBuilder extends BaseRequestBuilder implements IActivityHistoryItemRequestBuilder { /** * The request builder for the ActivityHistoryItem @@ -25,4 +30,35 @@ public class ActivityHistoryItemRequestBuilder extends BaseActivityHistoryItemRe public ActivityHistoryItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IActivityHistoryItemRequest instance + */ + public IActivityHistoryItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IActivityHistoryItemRequest instance + */ + public IActivityHistoryItemRequest buildRequest(final java.util.List requestOptions) { + return new ActivityHistoryItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for UserActivity + * + * @return the IUserActivityWithReferenceRequestBuilder instance + */ + public IUserActivityWithReferenceRequestBuilder activity() { + return new UserActivityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("activity"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequest.java index 7cadbf51f30..3850733c34c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequest; +import com.microsoft.graph.requests.extensions.AdministrativeUnitRequest; +import com.microsoft.graph.models.extensions.AdministrativeUnit; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AdministrativeUnit; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAdministrativeUnitRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Administrative Unit Request. */ -public class AdministrativeUnitRequest extends BaseAdministrativeUnitRequest implements IAdministrativeUnitRequest { - +public class AdministrativeUnitRequest extends BaseRequest implements IAdministrativeUnitRequest { + /** * The request for the AdministrativeUnit * @@ -26,4 +32,107 @@ public class AdministrativeUnitRequest extends BaseAdministrativeUnitRequest imp public AdministrativeUnitRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AdministrativeUnit.class); } + + /** + * Gets the AdministrativeUnit from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AdministrativeUnit from the service + * + * @return the AdministrativeUnit from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AdministrativeUnit get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AdministrativeUnit with a source + * + * @param sourceAdministrativeUnit the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AdministrativeUnit sourceAdministrativeUnit, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAdministrativeUnit); + } + + /** + * Patches this AdministrativeUnit with a source + * + * @param sourceAdministrativeUnit the source object with updates + * @return the updated AdministrativeUnit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AdministrativeUnit patch(final AdministrativeUnit sourceAdministrativeUnit) throws ClientException { + return send(HttpMethod.PATCH, sourceAdministrativeUnit); + } + + /** + * Creates a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AdministrativeUnit newAdministrativeUnit, final ICallback callback) { + send(HttpMethod.POST, callback, newAdministrativeUnit); + } + + /** + * Creates a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the new object to create + * @return the created AdministrativeUnit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AdministrativeUnit post(final AdministrativeUnit newAdministrativeUnit) throws ClientException { + return send(HttpMethod.POST, newAdministrativeUnit); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAdministrativeUnitRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AdministrativeUnitRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAdministrativeUnitRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AdministrativeUnitRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequestBuilder.java index b6e47ed97ef..1aa0074316c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequest; +import com.microsoft.graph.requests.extensions.AdministrativeUnitRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAdministrativeUnitRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Administrative Unit Request Builder. */ -public class AdministrativeUnitRequestBuilder extends BaseAdministrativeUnitRequestBuilder implements IAdministrativeUnitRequestBuilder { +public class AdministrativeUnitRequestBuilder extends BaseRequestBuilder implements IAdministrativeUnitRequestBuilder { /** * The request builder for the AdministrativeUnit @@ -25,4 +28,26 @@ public class AdministrativeUnitRequestBuilder extends BaseAdministrativeUnitRequ public AdministrativeUnitRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAdministrativeUnitRequest instance + */ + public IAdministrativeUnitRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAdministrativeUnitRequest instance + */ + public IAdministrativeUnitRequest buildRequest(final java.util.List requestOptions) { + return new AdministrativeUnitRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionPage.java index 1349a3bc847..3b8b9c14969 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Alert; +import com.microsoft.graph.requests.extensions.IAlertCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseAlertCollectionPage; -import com.microsoft.graph.requests.generated.BaseAlertCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert Collection Page. */ -public class AlertCollectionPage extends BaseAlertCollectionPage implements IAlertCollectionPage { +public class AlertCollectionPage extends BaseCollectionPage implements IAlertCollectionPage { /** - * A collection page for Security. + * A collection page for Alert * - * @param response the serialized BaseAlertCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized AlertCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public AlertCollectionPage(final BaseAlertCollectionResponse response, final IAlertCollectionRequestBuilder builder) { - super(response, builder); + public AlertCollectionPage(final AlertCollectionResponse response, final IAlertCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequest.java index 8128053269b..370252ccb69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAlertCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert Collection Request. */ -public class AlertCollectionRequest extends BaseAlertCollectionRequest implements IAlertCollectionRequest { +public class AlertCollectionRequest extends BaseCollectionRequest implements IAlertCollectionRequest { /** - * The request for this collection of Security + * The request builder for this collection of Alert * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public AlertCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public AlertCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AlertCollectionResponse.class, IAlertCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IAlertCollectionPage get() throws ClientException { + final AlertCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Alert newAlert, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new AlertRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newAlert, callback); + } + + public Alert post(final Alert newAlert) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new AlertRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newAlert); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAlertCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (AlertCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAlertCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (AlertCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IAlertCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (AlertCollectionRequest)this; + } + + public IAlertCollectionPage buildFromResponse(final AlertCollectionResponse response) { + final IAlertCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new AlertCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final AlertCollectionPage page = new AlertCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequestBuilder.java index f14cb8d05b1..1cf08dd7bd9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAlertCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert Collection Request Builder. */ -public class AlertCollectionRequestBuilder extends BaseAlertCollectionRequestBuilder implements IAlertCollectionRequestBuilder { +public class AlertCollectionRequestBuilder extends BaseRequestBuilder implements IAlertCollectionRequestBuilder { /** * The request builder for this collection of Security @@ -25,4 +33,18 @@ public class AlertCollectionRequestBuilder extends BaseAlertCollectionRequestBui public AlertCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IAlertCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IAlertCollectionRequest buildRequest(final java.util.List requestOptions) { + return new AlertCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IAlertRequestBuilder byId(final String id) { + return new AlertRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionResponse.java new file mode 100644 index 00000000000..f6b6a2236a3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Alert; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Alert Collection Response. + */ +public class AlertCollectionResponse implements IJsonBackedObject { + + /** + * The list of Alert within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AlertRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AlertRequest.java index a3a59e4ebd4..f54a71c9b94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AlertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAlertRequest; +import com.microsoft.graph.requests.extensions.AlertRequest; +import com.microsoft.graph.models.extensions.Alert; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Alert; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAlertRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert Request. */ -public class AlertRequest extends BaseAlertRequest implements IAlertRequest { - +public class AlertRequest extends BaseRequest implements IAlertRequest { + /** * The request for the Alert * @@ -26,4 +32,107 @@ public class AlertRequest extends BaseAlertRequest implements IAlertRequest { public AlertRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Alert.class); } + + /** + * Gets the Alert from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Alert from the service + * + * @return the Alert from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Alert get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Alert with a source + * + * @param sourceAlert the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Alert sourceAlert, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAlert); + } + + /** + * Patches this Alert with a source + * + * @param sourceAlert the source object with updates + * @return the updated Alert + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Alert patch(final Alert sourceAlert) throws ClientException { + return send(HttpMethod.PATCH, sourceAlert); + } + + /** + * Creates a Alert with a new object + * + * @param newAlert the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Alert newAlert, final ICallback callback) { + send(HttpMethod.POST, callback, newAlert); + } + + /** + * Creates a Alert with a new object + * + * @param newAlert the new object to create + * @return the created Alert + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Alert post(final Alert newAlert) throws ClientException { + return send(HttpMethod.POST, newAlert); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAlertRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AlertRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAlertRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AlertRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AlertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AlertRequestBuilder.java index f8cca38d80a..1d55a8e1995 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AlertRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAlertRequest; +import com.microsoft.graph.requests.extensions.AlertRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAlertRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Alert Request Builder. */ -public class AlertRequestBuilder extends BaseAlertRequestBuilder implements IAlertRequestBuilder { +public class AlertRequestBuilder extends BaseRequestBuilder implements IAlertRequestBuilder { /** * The request builder for the Alert @@ -25,4 +28,26 @@ public class AlertRequestBuilder extends BaseAlertRequestBuilder implements IAle public AlertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAlertRequest instance + */ + public IAlertRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAlertRequest instance + */ + public IAlertRequest buildRequest(final java.util.List requestOptions) { + return new AlertRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequest.java index 1819e5f1851..60be3ff9adc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.AndroidCompliancePolicyRequest; +import com.microsoft.graph.models.extensions.AndroidCompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidCompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidCompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Compliance Policy Request. */ -public class AndroidCompliancePolicyRequest extends BaseAndroidCompliancePolicyRequest implements IAndroidCompliancePolicyRequest { - +public class AndroidCompliancePolicyRequest extends BaseRequest implements IAndroidCompliancePolicyRequest { + /** * The request for the AndroidCompliancePolicy * @@ -26,4 +32,107 @@ public class AndroidCompliancePolicyRequest extends BaseAndroidCompliancePolicyR public AndroidCompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidCompliancePolicy.class); } + + /** + * Gets the AndroidCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidCompliancePolicy from the service + * + * @return the AndroidCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidCompliancePolicy with a source + * + * @param sourceAndroidCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidCompliancePolicy); + } + + /** + * Patches this AndroidCompliancePolicy with a source + * + * @param sourceAndroidCompliancePolicy the source object with updates + * @return the updated AndroidCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCompliancePolicy patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidCompliancePolicy); + } + + /** + * Creates a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidCompliancePolicy newAndroidCompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidCompliancePolicy); + } + + /** + * Creates a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the new object to create + * @return the created AndroidCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCompliancePolicy post(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newAndroidCompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidCompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidCompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidCompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidCompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequestBuilder.java index 0fb0037c4cf..9529be3f6a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.AndroidCompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidCompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Compliance Policy Request Builder. */ -public class AndroidCompliancePolicyRequestBuilder extends BaseAndroidCompliancePolicyRequestBuilder implements IAndroidCompliancePolicyRequestBuilder { +public class AndroidCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IAndroidCompliancePolicyRequestBuilder { /** * The request builder for the AndroidCompliancePolicy @@ -25,4 +28,26 @@ public class AndroidCompliancePolicyRequestBuilder extends BaseAndroidCompliance public AndroidCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidCompliancePolicyRequest instance + */ + public IAndroidCompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidCompliancePolicyRequest instance + */ + public IAndroidCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new AndroidCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequest.java index 715d37d4ac4..f6ffa3706bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidCustomConfigurationRequest; +import com.microsoft.graph.models.extensions.AndroidCustomConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidCustomConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidCustomConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Custom Configuration Request. */ -public class AndroidCustomConfigurationRequest extends BaseAndroidCustomConfigurationRequest implements IAndroidCustomConfigurationRequest { - +public class AndroidCustomConfigurationRequest extends BaseRequest implements IAndroidCustomConfigurationRequest { + /** * The request for the AndroidCustomConfiguration * @@ -26,4 +32,107 @@ public class AndroidCustomConfigurationRequest extends BaseAndroidCustomConfigur public AndroidCustomConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidCustomConfiguration.class); } + + /** + * Gets the AndroidCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidCustomConfiguration from the service + * + * @return the AndroidCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCustomConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidCustomConfiguration with a source + * + * @param sourceAndroidCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidCustomConfiguration); + } + + /** + * Patches this AndroidCustomConfiguration with a source + * + * @param sourceAndroidCustomConfiguration the source object with updates + * @return the updated AndroidCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCustomConfiguration patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidCustomConfiguration); + } + + /** + * Creates a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidCustomConfiguration newAndroidCustomConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidCustomConfiguration); + } + + /** + * Creates a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the new object to create + * @return the created AndroidCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCustomConfiguration post(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException { + return send(HttpMethod.POST, newAndroidCustomConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidCustomConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidCustomConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidCustomConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidCustomConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequestBuilder.java index 02db1aaffb6..eb24982ef03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidCustomConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidCustomConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Custom Configuration Request Builder. */ -public class AndroidCustomConfigurationRequestBuilder extends BaseAndroidCustomConfigurationRequestBuilder implements IAndroidCustomConfigurationRequestBuilder { +public class AndroidCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IAndroidCustomConfigurationRequestBuilder { /** * The request builder for the AndroidCustomConfiguration @@ -25,4 +28,26 @@ public class AndroidCustomConfigurationRequestBuilder extends BaseAndroidCustomC public AndroidCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidCustomConfigurationRequest instance + */ + public IAndroidCustomConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidCustomConfigurationRequest instance + */ + public IAndroidCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new AndroidCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequest.java index ff1a17c18ad..6af94bd7998 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidGeneralDeviceConfigurationRequest; +import com.microsoft.graph.models.extensions.AndroidGeneralDeviceConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidGeneralDeviceConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidGeneralDeviceConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android General Device Configuration Request. */ -public class AndroidGeneralDeviceConfigurationRequest extends BaseAndroidGeneralDeviceConfigurationRequest implements IAndroidGeneralDeviceConfigurationRequest { - +public class AndroidGeneralDeviceConfigurationRequest extends BaseRequest implements IAndroidGeneralDeviceConfigurationRequest { + /** * The request for the AndroidGeneralDeviceConfiguration * @@ -26,4 +32,107 @@ public class AndroidGeneralDeviceConfigurationRequest extends BaseAndroidGeneral public AndroidGeneralDeviceConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidGeneralDeviceConfiguration.class); } + + /** + * Gets the AndroidGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidGeneralDeviceConfiguration from the service + * + * @return the AndroidGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidGeneralDeviceConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidGeneralDeviceConfiguration with a source + * + * @param sourceAndroidGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidGeneralDeviceConfiguration); + } + + /** + * Patches this AndroidGeneralDeviceConfiguration with a source + * + * @param sourceAndroidGeneralDeviceConfiguration the source object with updates + * @return the updated AndroidGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidGeneralDeviceConfiguration patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidGeneralDeviceConfiguration); + } + + /** + * Creates a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidGeneralDeviceConfiguration); + } + + /** + * Creates a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the new object to create + * @return the created AndroidGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidGeneralDeviceConfiguration post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.POST, newAndroidGeneralDeviceConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidGeneralDeviceConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidGeneralDeviceConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidGeneralDeviceConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidGeneralDeviceConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequestBuilder.java index 4bad824e904..38088315a6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidGeneralDeviceConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidGeneralDeviceConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android General Device Configuration Request Builder. */ -public class AndroidGeneralDeviceConfigurationRequestBuilder extends BaseAndroidGeneralDeviceConfigurationRequestBuilder implements IAndroidGeneralDeviceConfigurationRequestBuilder { +public class AndroidGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IAndroidGeneralDeviceConfigurationRequestBuilder { /** * The request builder for the AndroidGeneralDeviceConfiguration @@ -25,4 +28,26 @@ public class AndroidGeneralDeviceConfigurationRequestBuilder extends BaseAndroid public AndroidGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidGeneralDeviceConfigurationRequest instance + */ + public IAndroidGeneralDeviceConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidGeneralDeviceConfigurationRequest instance + */ + public IAndroidGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new AndroidGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequest.java index 7d8ca5857ac..eb206f4f836 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidLobAppRequest; +import com.microsoft.graph.requests.extensions.AndroidLobAppRequest; +import com.microsoft.graph.models.extensions.AndroidLobApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidLobApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidLobAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Lob App Request. */ -public class AndroidLobAppRequest extends BaseAndroidLobAppRequest implements IAndroidLobAppRequest { - +public class AndroidLobAppRequest extends BaseRequest implements IAndroidLobAppRequest { + /** * The request for the AndroidLobApp * @@ -26,4 +32,107 @@ public class AndroidLobAppRequest extends BaseAndroidLobAppRequest implements IA public AndroidLobAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidLobApp.class); } + + /** + * Gets the AndroidLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidLobApp from the service + * + * @return the AndroidLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidLobApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidLobApp with a source + * + * @param sourceAndroidLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidLobApp sourceAndroidLobApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidLobApp); + } + + /** + * Patches this AndroidLobApp with a source + * + * @param sourceAndroidLobApp the source object with updates + * @return the updated AndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidLobApp patch(final AndroidLobApp sourceAndroidLobApp) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidLobApp); + } + + /** + * Creates a AndroidLobApp with a new object + * + * @param newAndroidLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidLobApp newAndroidLobApp, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidLobApp); + } + + /** + * Creates a AndroidLobApp with a new object + * + * @param newAndroidLobApp the new object to create + * @return the created AndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidLobApp post(final AndroidLobApp newAndroidLobApp) throws ClientException { + return send(HttpMethod.POST, newAndroidLobApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidLobAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidLobAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidLobAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidLobAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequestBuilder.java index d0831330a73..ad5069ab539 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidLobAppRequest; +import com.microsoft.graph.requests.extensions.AndroidLobAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidLobAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Lob App Request Builder. */ -public class AndroidLobAppRequestBuilder extends BaseAndroidLobAppRequestBuilder implements IAndroidLobAppRequestBuilder { +public class AndroidLobAppRequestBuilder extends BaseRequestBuilder implements IAndroidLobAppRequestBuilder { /** * The request builder for the AndroidLobApp @@ -25,4 +28,26 @@ public class AndroidLobAppRequestBuilder extends BaseAndroidLobAppRequestBuilder public AndroidLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidLobAppRequest instance + */ + public IAndroidLobAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidLobAppRequest instance + */ + public IAndroidLobAppRequest buildRequest(final java.util.List requestOptions) { + return new AndroidLobAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionPage.java index e364f3bd2c5..ead0ef8d80d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Protection Collection Page. */ -public class AndroidManagedAppProtectionCollectionPage extends BaseAndroidManagedAppProtectionCollectionPage implements IAndroidManagedAppProtectionCollectionPage { +public class AndroidManagedAppProtectionCollectionPage extends BaseCollectionPage implements IAndroidManagedAppProtectionCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for AndroidManagedAppProtection * - * @param response the serialized BaseAndroidManagedAppProtectionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized AndroidManagedAppProtectionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public AndroidManagedAppProtectionCollectionPage(final BaseAndroidManagedAppProtectionCollectionResponse response, final IAndroidManagedAppProtectionCollectionRequestBuilder builder) { - super(response, builder); + public AndroidManagedAppProtectionCollectionPage(final AndroidManagedAppProtectionCollectionResponse response, final IAndroidManagedAppProtectionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequest.java index 1116b6afb2e..8e0c9c6bbff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Protection Collection Request. */ -public class AndroidManagedAppProtectionCollectionRequest extends BaseAndroidManagedAppProtectionCollectionRequest implements IAndroidManagedAppProtectionCollectionRequest { +public class AndroidManagedAppProtectionCollectionRequest extends BaseCollectionRequest implements IAndroidManagedAppProtectionCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of AndroidManagedAppProtection * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public AndroidManagedAppProtectionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public AndroidManagedAppProtectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AndroidManagedAppProtectionCollectionResponse.class, IAndroidManagedAppProtectionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IAndroidManagedAppProtectionCollectionPage get() throws ClientException { + final AndroidManagedAppProtectionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new AndroidManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newAndroidManagedAppProtection, callback); + } + + public AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new AndroidManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newAndroidManagedAppProtection); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidManagedAppProtectionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (AndroidManagedAppProtectionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidManagedAppProtectionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (AndroidManagedAppProtectionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IAndroidManagedAppProtectionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (AndroidManagedAppProtectionCollectionRequest)this; + } + + public IAndroidManagedAppProtectionCollectionPage buildFromResponse(final AndroidManagedAppProtectionCollectionResponse response) { + final IAndroidManagedAppProtectionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new AndroidManagedAppProtectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final AndroidManagedAppProtectionCollectionPage page = new AndroidManagedAppProtectionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequestBuilder.java index cdefa51babf..59e47168220 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Protection Collection Request Builder. */ -public class AndroidManagedAppProtectionCollectionRequestBuilder extends BaseAndroidManagedAppProtectionCollectionRequestBuilder implements IAndroidManagedAppProtectionCollectionRequestBuilder { +public class AndroidManagedAppProtectionCollectionRequestBuilder extends BaseRequestBuilder implements IAndroidManagedAppProtectionCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class AndroidManagedAppProtectionCollectionRequestBuilder extends BaseAnd public AndroidManagedAppProtectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IAndroidManagedAppProtectionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IAndroidManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new AndroidManagedAppProtectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IAndroidManagedAppProtectionRequestBuilder byId(final String id) { + return new AndroidManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionResponse.java new file mode 100644 index 00000000000..dccdef15ff5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Android Managed App Protection Collection Response. + */ +public class AndroidManagedAppProtectionCollectionResponse implements IJsonBackedObject { + + /** + * The list of AndroidManagedAppProtection within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequest.java index f2c1b69f118..86e31d2bb7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Protection Request. */ -public class AndroidManagedAppProtectionRequest extends BaseAndroidManagedAppProtectionRequest implements IAndroidManagedAppProtectionRequest { - +public class AndroidManagedAppProtectionRequest extends BaseRequest implements IAndroidManagedAppProtectionRequest { + /** * The request for the AndroidManagedAppProtection * @@ -26,4 +32,107 @@ public class AndroidManagedAppProtectionRequest extends BaseAndroidManagedAppPro public AndroidManagedAppProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidManagedAppProtection.class); } + + /** + * Gets the AndroidManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidManagedAppProtection from the service + * + * @return the AndroidManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidManagedAppProtection with a source + * + * @param sourceAndroidManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidManagedAppProtection); + } + + /** + * Patches this AndroidManagedAppProtection with a source + * + * @param sourceAndroidManagedAppProtection the source object with updates + * @return the updated AndroidManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppProtection patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidManagedAppProtection); + } + + /** + * Creates a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidManagedAppProtection); + } + + /** + * Creates a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the new object to create + * @return the created AndroidManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException { + return send(HttpMethod.POST, newAndroidManagedAppProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidManagedAppProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidManagedAppProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidManagedAppProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidManagedAppProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequestBuilder.java index 21e1381a931..4302d65253a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Protection Request Builder. */ -public class AndroidManagedAppProtectionRequestBuilder extends BaseAndroidManagedAppProtectionRequestBuilder implements IAndroidManagedAppProtectionRequestBuilder { +public class AndroidManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IAndroidManagedAppProtectionRequestBuilder { /** * The request builder for the AndroidManagedAppProtection @@ -25,4 +34,42 @@ public class AndroidManagedAppProtectionRequestBuilder extends BaseAndroidManage public AndroidManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidManagedAppProtectionRequest instance + */ + public IAndroidManagedAppProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidManagedAppProtectionRequest instance + */ + public IAndroidManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { + return new AndroidManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedMobileAppCollectionRequestBuilder apps() { + return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); + } + + public IManagedMobileAppRequestBuilder apps(final String id) { + return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { + return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequest.java index 8a498594242..157fb2ddf82 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.AndroidManagedAppRegistrationRequest; +import com.microsoft.graph.models.extensions.AndroidManagedAppRegistration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidManagedAppRegistration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppRegistrationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Registration Request. */ -public class AndroidManagedAppRegistrationRequest extends BaseAndroidManagedAppRegistrationRequest implements IAndroidManagedAppRegistrationRequest { - +public class AndroidManagedAppRegistrationRequest extends BaseRequest implements IAndroidManagedAppRegistrationRequest { + /** * The request for the AndroidManagedAppRegistration * @@ -26,4 +32,107 @@ public class AndroidManagedAppRegistrationRequest extends BaseAndroidManagedAppR public AndroidManagedAppRegistrationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidManagedAppRegistration.class); } + + /** + * Gets the AndroidManagedAppRegistration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidManagedAppRegistration from the service + * + * @return the AndroidManagedAppRegistration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppRegistration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidManagedAppRegistration with a source + * + * @param sourceAndroidManagedAppRegistration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidManagedAppRegistration); + } + + /** + * Patches this AndroidManagedAppRegistration with a source + * + * @param sourceAndroidManagedAppRegistration the source object with updates + * @return the updated AndroidManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppRegistration patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidManagedAppRegistration); + } + + /** + * Creates a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidManagedAppRegistration); + } + + /** + * Creates a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the new object to create + * @return the created AndroidManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppRegistration post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException { + return send(HttpMethod.POST, newAndroidManagedAppRegistration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidManagedAppRegistrationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidManagedAppRegistrationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidManagedAppRegistrationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidManagedAppRegistrationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequestBuilder.java index 3768f491df2..aa2964d6b08 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.AndroidManagedAppRegistrationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidManagedAppRegistrationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Managed App Registration Request Builder. */ -public class AndroidManagedAppRegistrationRequestBuilder extends BaseAndroidManagedAppRegistrationRequestBuilder implements IAndroidManagedAppRegistrationRequestBuilder { +public class AndroidManagedAppRegistrationRequestBuilder extends BaseRequestBuilder implements IAndroidManagedAppRegistrationRequestBuilder { /** * The request builder for the AndroidManagedAppRegistration @@ -25,4 +28,26 @@ public class AndroidManagedAppRegistrationRequestBuilder extends BaseAndroidMana public AndroidManagedAppRegistrationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidManagedAppRegistrationRequest instance + */ + public IAndroidManagedAppRegistrationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidManagedAppRegistrationRequest instance + */ + public IAndroidManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions) { + return new AndroidManagedAppRegistrationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequest.java index ed522bb3b57..f7f64830f37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidStoreAppRequest; +import com.microsoft.graph.requests.extensions.AndroidStoreAppRequest; +import com.microsoft.graph.models.extensions.AndroidStoreApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidStoreApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidStoreAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Store App Request. */ -public class AndroidStoreAppRequest extends BaseAndroidStoreAppRequest implements IAndroidStoreAppRequest { - +public class AndroidStoreAppRequest extends BaseRequest implements IAndroidStoreAppRequest { + /** * The request for the AndroidStoreApp * @@ -26,4 +32,107 @@ public class AndroidStoreAppRequest extends BaseAndroidStoreAppRequest implement public AndroidStoreAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidStoreApp.class); } + + /** + * Gets the AndroidStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidStoreApp from the service + * + * @return the AndroidStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidStoreApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidStoreApp with a source + * + * @param sourceAndroidStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidStoreApp sourceAndroidStoreApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidStoreApp); + } + + /** + * Patches this AndroidStoreApp with a source + * + * @param sourceAndroidStoreApp the source object with updates + * @return the updated AndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidStoreApp patch(final AndroidStoreApp sourceAndroidStoreApp) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidStoreApp); + } + + /** + * Creates a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidStoreApp newAndroidStoreApp, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidStoreApp); + } + + /** + * Creates a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the new object to create + * @return the created AndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidStoreApp post(final AndroidStoreApp newAndroidStoreApp) throws ClientException { + return send(HttpMethod.POST, newAndroidStoreApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidStoreAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidStoreAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidStoreAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidStoreAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequestBuilder.java index 256c932ba52..d3963675d7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidStoreAppRequest; +import com.microsoft.graph.requests.extensions.AndroidStoreAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidStoreAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Store App Request Builder. */ -public class AndroidStoreAppRequestBuilder extends BaseAndroidStoreAppRequestBuilder implements IAndroidStoreAppRequestBuilder { +public class AndroidStoreAppRequestBuilder extends BaseRequestBuilder implements IAndroidStoreAppRequestBuilder { /** * The request builder for the AndroidStoreApp @@ -25,4 +28,26 @@ public class AndroidStoreAppRequestBuilder extends BaseAndroidStoreAppRequestBui public AndroidStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidStoreAppRequest instance + */ + public IAndroidStoreAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidStoreAppRequest instance + */ + public IAndroidStoreAppRequest buildRequest(final java.util.List requestOptions) { + return new AndroidStoreAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequest.java index 981242d310a..cb5c2fd06b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.AndroidWorkProfileCompliancePolicyRequest; +import com.microsoft.graph.models.extensions.AndroidWorkProfileCompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidWorkProfileCompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidWorkProfileCompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile Compliance Policy Request. */ -public class AndroidWorkProfileCompliancePolicyRequest extends BaseAndroidWorkProfileCompliancePolicyRequest implements IAndroidWorkProfileCompliancePolicyRequest { - +public class AndroidWorkProfileCompliancePolicyRequest extends BaseRequest implements IAndroidWorkProfileCompliancePolicyRequest { + /** * The request for the AndroidWorkProfileCompliancePolicy * @@ -26,4 +32,107 @@ public class AndroidWorkProfileCompliancePolicyRequest extends BaseAndroidWorkPr public AndroidWorkProfileCompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidWorkProfileCompliancePolicy.class); } + + /** + * Gets the AndroidWorkProfileCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidWorkProfileCompliancePolicy from the service + * + * @return the AndroidWorkProfileCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidWorkProfileCompliancePolicy with a source + * + * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidWorkProfileCompliancePolicy); + } + + /** + * Patches this AndroidWorkProfileCompliancePolicy with a source + * + * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates + * @return the updated AndroidWorkProfileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCompliancePolicy patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidWorkProfileCompliancePolicy); + } + + /** + * Creates a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidWorkProfileCompliancePolicy); + } + + /** + * Creates a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the new object to create + * @return the created AndroidWorkProfileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCompliancePolicy post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newAndroidWorkProfileCompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidWorkProfileCompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidWorkProfileCompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidWorkProfileCompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidWorkProfileCompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequestBuilder.java index 94280952d4a..9cb782dde37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.AndroidWorkProfileCompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidWorkProfileCompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile Compliance Policy Request Builder. */ -public class AndroidWorkProfileCompliancePolicyRequestBuilder extends BaseAndroidWorkProfileCompliancePolicyRequestBuilder implements IAndroidWorkProfileCompliancePolicyRequestBuilder { +public class AndroidWorkProfileCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IAndroidWorkProfileCompliancePolicyRequestBuilder { /** * The request builder for the AndroidWorkProfileCompliancePolicy @@ -25,4 +28,26 @@ public class AndroidWorkProfileCompliancePolicyRequestBuilder extends BaseAndroi public AndroidWorkProfileCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidWorkProfileCompliancePolicyRequest instance + */ + public IAndroidWorkProfileCompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidWorkProfileCompliancePolicyRequest instance + */ + public IAndroidWorkProfileCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new AndroidWorkProfileCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequest.java index 7f62b55ee81..b2594b47d78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidWorkProfileCustomConfigurationRequest; +import com.microsoft.graph.models.extensions.AndroidWorkProfileCustomConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidWorkProfileCustomConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidWorkProfileCustomConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile Custom Configuration Request. */ -public class AndroidWorkProfileCustomConfigurationRequest extends BaseAndroidWorkProfileCustomConfigurationRequest implements IAndroidWorkProfileCustomConfigurationRequest { - +public class AndroidWorkProfileCustomConfigurationRequest extends BaseRequest implements IAndroidWorkProfileCustomConfigurationRequest { + /** * The request for the AndroidWorkProfileCustomConfiguration * @@ -26,4 +32,107 @@ public class AndroidWorkProfileCustomConfigurationRequest extends BaseAndroidWor public AndroidWorkProfileCustomConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidWorkProfileCustomConfiguration.class); } + + /** + * Gets the AndroidWorkProfileCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidWorkProfileCustomConfiguration from the service + * + * @return the AndroidWorkProfileCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCustomConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidWorkProfileCustomConfiguration with a source + * + * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidWorkProfileCustomConfiguration); + } + + /** + * Patches this AndroidWorkProfileCustomConfiguration with a source + * + * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates + * @return the updated AndroidWorkProfileCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCustomConfiguration patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidWorkProfileCustomConfiguration); + } + + /** + * Creates a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidWorkProfileCustomConfiguration); + } + + /** + * Creates a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the new object to create + * @return the created AndroidWorkProfileCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCustomConfiguration post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException { + return send(HttpMethod.POST, newAndroidWorkProfileCustomConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidWorkProfileCustomConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidWorkProfileCustomConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidWorkProfileCustomConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidWorkProfileCustomConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequestBuilder.java index 88ea28a176a..a0b8e94a763 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidWorkProfileCustomConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidWorkProfileCustomConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile Custom Configuration Request Builder. */ -public class AndroidWorkProfileCustomConfigurationRequestBuilder extends BaseAndroidWorkProfileCustomConfigurationRequestBuilder implements IAndroidWorkProfileCustomConfigurationRequestBuilder { +public class AndroidWorkProfileCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IAndroidWorkProfileCustomConfigurationRequestBuilder { /** * The request builder for the AndroidWorkProfileCustomConfiguration @@ -25,4 +28,26 @@ public class AndroidWorkProfileCustomConfigurationRequestBuilder extends BaseAnd public AndroidWorkProfileCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidWorkProfileCustomConfigurationRequest instance + */ + public IAndroidWorkProfileCustomConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidWorkProfileCustomConfigurationRequest instance + */ + public IAndroidWorkProfileCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new AndroidWorkProfileCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequest.java index a22eee25e88..6f822b3f07d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidWorkProfileGeneralDeviceConfigurationRequest; +import com.microsoft.graph.models.extensions.AndroidWorkProfileGeneralDeviceConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AndroidWorkProfileGeneralDeviceConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidWorkProfileGeneralDeviceConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile General Device Configuration Request. */ -public class AndroidWorkProfileGeneralDeviceConfigurationRequest extends BaseAndroidWorkProfileGeneralDeviceConfigurationRequest implements IAndroidWorkProfileGeneralDeviceConfigurationRequest { - +public class AndroidWorkProfileGeneralDeviceConfigurationRequest extends BaseRequest implements IAndroidWorkProfileGeneralDeviceConfigurationRequest { + /** * The request for the AndroidWorkProfileGeneralDeviceConfiguration * @@ -26,4 +32,107 @@ public class AndroidWorkProfileGeneralDeviceConfigurationRequest extends BaseAnd public AndroidWorkProfileGeneralDeviceConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AndroidWorkProfileGeneralDeviceConfiguration.class); } + + /** + * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service + * + * @return the AndroidWorkProfileGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileGeneralDeviceConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source + * + * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAndroidWorkProfileGeneralDeviceConfiguration); + } + + /** + * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source + * + * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates + * @return the updated AndroidWorkProfileGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileGeneralDeviceConfiguration patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceAndroidWorkProfileGeneralDeviceConfiguration); + } + + /** + * Creates a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newAndroidWorkProfileGeneralDeviceConfiguration); + } + + /** + * Creates a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create + * @return the created AndroidWorkProfileGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileGeneralDeviceConfiguration post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.POST, newAndroidWorkProfileGeneralDeviceConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAndroidWorkProfileGeneralDeviceConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AndroidWorkProfileGeneralDeviceConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAndroidWorkProfileGeneralDeviceConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AndroidWorkProfileGeneralDeviceConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java index ebe818df86f..811e238a2a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.AndroidWorkProfileGeneralDeviceConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Android Work Profile General Device Configuration Request Builder. */ -public class AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder implements IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder { +public class AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder { /** * The request builder for the AndroidWorkProfileGeneralDeviceConfiguration @@ -25,4 +28,26 @@ public class AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends public AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance + */ + public IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance + */ + public IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new AndroidWorkProfileGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequest.java index 48b862dc8d3..21b308ffb71 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAppCatalogsRequest; +import com.microsoft.graph.requests.extensions.AppCatalogsRequest; +import com.microsoft.graph.models.extensions.AppCatalogs; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AppCatalogs; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAppCatalogsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the App Catalogs Request. */ -public class AppCatalogsRequest extends BaseAppCatalogsRequest implements IAppCatalogsRequest { - +public class AppCatalogsRequest extends BaseRequest implements IAppCatalogsRequest { + /** * The request for the AppCatalogs * @@ -26,4 +32,107 @@ public class AppCatalogsRequest extends BaseAppCatalogsRequest implements IAppCa public AppCatalogsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AppCatalogs.class); } + + /** + * Gets the AppCatalogs from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AppCatalogs from the service + * + * @return the AppCatalogs from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppCatalogs get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AppCatalogs with a source + * + * @param sourceAppCatalogs the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AppCatalogs sourceAppCatalogs, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAppCatalogs); + } + + /** + * Patches this AppCatalogs with a source + * + * @param sourceAppCatalogs the source object with updates + * @return the updated AppCatalogs + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppCatalogs patch(final AppCatalogs sourceAppCatalogs) throws ClientException { + return send(HttpMethod.PATCH, sourceAppCatalogs); + } + + /** + * Creates a AppCatalogs with a new object + * + * @param newAppCatalogs the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AppCatalogs newAppCatalogs, final ICallback callback) { + send(HttpMethod.POST, callback, newAppCatalogs); + } + + /** + * Creates a AppCatalogs with a new object + * + * @param newAppCatalogs the new object to create + * @return the created AppCatalogs + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppCatalogs post(final AppCatalogs newAppCatalogs) throws ClientException { + return send(HttpMethod.POST, newAppCatalogs); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAppCatalogsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AppCatalogsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAppCatalogsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AppCatalogsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequestBuilder.java index 549d0a77155..3577a7fbd01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAppCatalogsRequest; +import com.microsoft.graph.requests.extensions.AppCatalogsRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAppCatalogsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the App Catalogs Request Builder. */ -public class AppCatalogsRequestBuilder extends BaseAppCatalogsRequestBuilder implements IAppCatalogsRequestBuilder { +public class AppCatalogsRequestBuilder extends BaseRequestBuilder implements IAppCatalogsRequestBuilder { /** * The request builder for the AppCatalogs @@ -25,4 +32,33 @@ public class AppCatalogsRequestBuilder extends BaseAppCatalogsRequestBuilder imp public AppCatalogsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAppCatalogsRequest instance + */ + public IAppCatalogsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAppCatalogsRequest instance + */ + public IAppCatalogsRequest buildRequest(final java.util.List requestOptions) { + return new AppCatalogsRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITeamsAppCollectionRequestBuilder teamsApps() { + return new TeamsAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApps"), getClient(), null); + } + + public ITeamsAppRequestBuilder teamsApps(final String id) { + return new TeamsAppRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApps") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequest.java index 74509fb556e..6f2da58497c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAppleDeviceFeaturesConfigurationBaseRequest; +import com.microsoft.graph.requests.extensions.AppleDeviceFeaturesConfigurationBaseRequest; +import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAppleDeviceFeaturesConfigurationBaseRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Device Features Configuration Base Request. */ -public class AppleDeviceFeaturesConfigurationBaseRequest extends BaseAppleDeviceFeaturesConfigurationBaseRequest implements IAppleDeviceFeaturesConfigurationBaseRequest { - +public class AppleDeviceFeaturesConfigurationBaseRequest extends BaseRequest implements IAppleDeviceFeaturesConfigurationBaseRequest { + /** * The request for the AppleDeviceFeaturesConfigurationBase * @@ -41,4 +47,107 @@ public AppleDeviceFeaturesConfigurationBaseRequest(final String requestUrl, public AppleDeviceFeaturesConfigurationBaseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, AppleDeviceFeaturesConfigurationBase.class); } + + /** + * Gets the AppleDeviceFeaturesConfigurationBase from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the AppleDeviceFeaturesConfigurationBase from the service + * + * @return the AppleDeviceFeaturesConfigurationBase from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppleDeviceFeaturesConfigurationBase get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this AppleDeviceFeaturesConfigurationBase with a source + * + * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAppleDeviceFeaturesConfigurationBase); + } + + /** + * Patches this AppleDeviceFeaturesConfigurationBase with a source + * + * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates + * @return the updated AppleDeviceFeaturesConfigurationBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppleDeviceFeaturesConfigurationBase patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase) throws ClientException { + return send(HttpMethod.PATCH, sourceAppleDeviceFeaturesConfigurationBase); + } + + /** + * Creates a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase, final ICallback callback) { + send(HttpMethod.POST, callback, newAppleDeviceFeaturesConfigurationBase); + } + + /** + * Creates a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the new object to create + * @return the created AppleDeviceFeaturesConfigurationBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppleDeviceFeaturesConfigurationBase post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException { + return send(HttpMethod.POST, newAppleDeviceFeaturesConfigurationBase); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAppleDeviceFeaturesConfigurationBaseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AppleDeviceFeaturesConfigurationBaseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAppleDeviceFeaturesConfigurationBaseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AppleDeviceFeaturesConfigurationBaseRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java index 9d86a5550bc..36f3a94c5c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAppleDeviceFeaturesConfigurationBaseRequest; +import com.microsoft.graph.requests.extensions.AppleDeviceFeaturesConfigurationBaseRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Device Features Configuration Base Request Builder. */ -public class AppleDeviceFeaturesConfigurationBaseRequestBuilder extends BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder implements IAppleDeviceFeaturesConfigurationBaseRequestBuilder { +public class AppleDeviceFeaturesConfigurationBaseRequestBuilder extends BaseRequestBuilder implements IAppleDeviceFeaturesConfigurationBaseRequestBuilder { /** * The request builder for the AppleDeviceFeaturesConfigurationBase @@ -25,4 +28,26 @@ public class AppleDeviceFeaturesConfigurationBaseRequestBuilder extends BaseAppl public AppleDeviceFeaturesConfigurationBaseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance + */ + public IAppleDeviceFeaturesConfigurationBaseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance + */ + public IAppleDeviceFeaturesConfigurationBaseRequest buildRequest(final java.util.List requestOptions) { + return new AppleDeviceFeaturesConfigurationBaseRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java index 7f4da158bac..e1f361f1289 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; +import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request. */ -public class ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest extends BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest implements IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest { +public class ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest extends BaseRequest implements IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest { /** * The request for this ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequest @@ -23,6 +30,48 @@ public class ApplePushNotificationCertificateDownloadApplePushNotificationCertif * @param requestOptions the options for this request */ public ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, String.class); } + + /** + * Gets the String + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the String + * + * @return the String + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public String get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java index f0b44143e02..cc6510bb24c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; +import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request Builder. */ -public class ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder extends BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder implements IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder { +public class ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder extends BaseFunctionRequestBuilder implements IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder { /** * The request builder for this ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequest @@ -25,4 +30,33 @@ public class ApplePushNotificationCertificateDownloadApplePushNotificationCertif public ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest + * + * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance + */ + public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance + */ + public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest(final java.util.List requestOptions) { + ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest request = new ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequest.java index 47b80f45a91..c1062502b76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequest; +import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateRequest; +import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseApplePushNotificationCertificateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Push Notification Certificate Request. */ -public class ApplePushNotificationCertificateRequest extends BaseApplePushNotificationCertificateRequest implements IApplePushNotificationCertificateRequest { - +public class ApplePushNotificationCertificateRequest extends BaseRequest implements IApplePushNotificationCertificateRequest { + /** * The request for the ApplePushNotificationCertificate * @@ -26,4 +32,107 @@ public class ApplePushNotificationCertificateRequest extends BaseApplePushNotifi public ApplePushNotificationCertificateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ApplePushNotificationCertificate.class); } + + /** + * Gets the ApplePushNotificationCertificate from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ApplePushNotificationCertificate from the service + * + * @return the ApplePushNotificationCertificate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ApplePushNotificationCertificate get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ApplePushNotificationCertificate with a source + * + * @param sourceApplePushNotificationCertificate the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceApplePushNotificationCertificate); + } + + /** + * Patches this ApplePushNotificationCertificate with a source + * + * @param sourceApplePushNotificationCertificate the source object with updates + * @return the updated ApplePushNotificationCertificate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ApplePushNotificationCertificate patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate) throws ClientException { + return send(HttpMethod.PATCH, sourceApplePushNotificationCertificate); + } + + /** + * Creates a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ApplePushNotificationCertificate newApplePushNotificationCertificate, final ICallback callback) { + send(HttpMethod.POST, callback, newApplePushNotificationCertificate); + } + + /** + * Creates a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the new object to create + * @return the created ApplePushNotificationCertificate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ApplePushNotificationCertificate post(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException { + return send(HttpMethod.POST, newApplePushNotificationCertificate); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IApplePushNotificationCertificateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ApplePushNotificationCertificateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IApplePushNotificationCertificateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ApplePushNotificationCertificateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequestBuilder.java index ccf92d9a06d..441e5e51ab8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequest; +import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateRequest; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; +import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseApplePushNotificationCertificateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Apple Push Notification Certificate Request Builder. */ -public class ApplePushNotificationCertificateRequestBuilder extends BaseApplePushNotificationCertificateRequestBuilder implements IApplePushNotificationCertificateRequestBuilder { +public class ApplePushNotificationCertificateRequestBuilder extends BaseRequestBuilder implements IApplePushNotificationCertificateRequestBuilder { /** * The request builder for the ApplePushNotificationCertificate @@ -25,4 +30,30 @@ public class ApplePushNotificationCertificateRequestBuilder extends BaseApplePus public ApplePushNotificationCertificateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IApplePushNotificationCertificateRequest instance + */ + public IApplePushNotificationCertificateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IApplePushNotificationCertificateRequest instance + */ + public IApplePushNotificationCertificateRequest buildRequest(final java.util.List requestOptions) { + return new ApplePushNotificationCertificateRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder downloadApplePushNotificationCertificateSigningRequest() { + return new ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.downloadApplePushNotificationCertificateSigningRequest"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionPage.java index b182757985c..88478eb6dea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attachment Collection Page. */ -public class AttachmentCollectionPage extends BaseAttachmentCollectionPage implements IAttachmentCollectionPage { +public class AttachmentCollectionPage extends BaseCollectionPage implements IAttachmentCollectionPage { /** - * A collection page for Post. + * A collection page for Attachment * - * @param response the serialized BaseAttachmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized AttachmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public AttachmentCollectionPage(final BaseAttachmentCollectionResponse response, final IAttachmentCollectionRequestBuilder builder) { - super(response, builder); + public AttachmentCollectionPage(final AttachmentCollectionResponse response, final IAttachmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequest.java index 60a6117bb36..b8cc08917a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attachment Collection Request. */ -public class AttachmentCollectionRequest extends BaseAttachmentCollectionRequest implements IAttachmentCollectionRequest { +public class AttachmentCollectionRequest extends BaseCollectionRequest implements IAttachmentCollectionRequest { /** - * The request for this collection of Post + * The request builder for this collection of Attachment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public AttachmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public AttachmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AttachmentCollectionResponse.class, IAttachmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IAttachmentCollectionPage get() throws ClientException { + final AttachmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Attachment newAttachment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new AttachmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newAttachment, callback); + } + + public Attachment post(final Attachment newAttachment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new AttachmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newAttachment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAttachmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (AttachmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAttachmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (AttachmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IAttachmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (AttachmentCollectionRequest)this; + } + + public IAttachmentCollectionPage buildFromResponse(final AttachmentCollectionResponse response) { + final IAttachmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new AttachmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final AttachmentCollectionPage page = new AttachmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequestBuilder.java index 383f8cea3b9..6819eb8b5d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAttachmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attachment Collection Request Builder. */ -public class AttachmentCollectionRequestBuilder extends BaseAttachmentCollectionRequestBuilder implements IAttachmentCollectionRequestBuilder { +public class AttachmentCollectionRequestBuilder extends BaseRequestBuilder implements IAttachmentCollectionRequestBuilder { /** * The request builder for this collection of Post @@ -25,4 +33,18 @@ public class AttachmentCollectionRequestBuilder extends BaseAttachmentCollection public AttachmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IAttachmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IAttachmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new AttachmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IAttachmentRequestBuilder byId(final String id) { + return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionResponse.java new file mode 100644 index 00000000000..a6058a0cf97 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Attachment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Attachment Collection Response. + */ +public class AttachmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of Attachment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequest.java index 0be12486ca9..f39e1cbed4b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAttachmentRequest; +import com.microsoft.graph.requests.extensions.AttachmentRequest; +import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAttachmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attachment Request. */ -public class AttachmentRequest extends BaseAttachmentRequest implements IAttachmentRequest { - +public class AttachmentRequest extends BaseRequest implements IAttachmentRequest { + /** * The request for the Attachment * @@ -41,4 +47,107 @@ public AttachmentRequest(final String requestUrl, public AttachmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Attachment.class); } + + /** + * Gets the Attachment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Attachment from the service + * + * @return the Attachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Attachment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Attachment with a source + * + * @param sourceAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Attachment sourceAttachment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceAttachment); + } + + /** + * Patches this Attachment with a source + * + * @param sourceAttachment the source object with updates + * @return the updated Attachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Attachment patch(final Attachment sourceAttachment) throws ClientException { + return send(HttpMethod.PATCH, sourceAttachment); + } + + /** + * Creates a Attachment with a new object + * + * @param newAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Attachment newAttachment, final ICallback callback) { + send(HttpMethod.POST, callback, newAttachment); + } + + /** + * Creates a Attachment with a new object + * + * @param newAttachment the new object to create + * @return the created Attachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Attachment post(final Attachment newAttachment) throws ClientException { + return send(HttpMethod.POST, newAttachment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IAttachmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (AttachmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IAttachmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (AttachmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequestBuilder.java index 0ff53058b1c..07c324711e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAttachmentRequest; +import com.microsoft.graph.requests.extensions.AttachmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseAttachmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Attachment Request Builder. */ -public class AttachmentRequestBuilder extends BaseAttachmentRequestBuilder implements IAttachmentRequestBuilder { +public class AttachmentRequestBuilder extends BaseRequestBuilder implements IAttachmentRequestBuilder { /** * The request builder for the Attachment @@ -25,4 +28,26 @@ public class AttachmentRequestBuilder extends BaseAttachmentRequestBuilder imple public AttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IAttachmentRequest instance + */ + public IAttachmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IAttachmentRequest instance + */ + public IAttachmentRequest buildRequest(final java.util.List requestOptions) { + return new AttachmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseGraphServiceClient.java similarity index 99% rename from src/main/java/com/microsoft/graph/requests/generated/BaseGraphServiceClient.java rename to src/main/java/com/microsoft/graph/requests/extensions/BaseGraphServiceClient.java index ea9204d8be7..d1ee307e0ed 100644 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseGraphServiceClient.java @@ -2,7 +2,7 @@ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ -package com.microsoft.graph.requests.generated; +package com.microsoft.graph.requests.extensions; import com.microsoft.graph.concurrency.*; import com.microsoft.graph.core.*; @@ -10,7 +10,6 @@ import com.microsoft.graph.models.generated.*; import com.microsoft.graph.http.*; import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; import com.microsoft.graph.options.*; import com.microsoft.graph.serializer.*; diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionPage.java index 9922305d3de..957de498a4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; - -import com.microsoft.graph.requests.generated.BaseBaseItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseBaseItemCollectionResponse; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.requests.extensions.IBaseItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Collection Page. */ -public class BaseItemCollectionPage extends BaseBaseItemCollectionPage implements IBaseItemCollectionPage { +public class BaseItemCollectionPage extends BaseCollectionPage implements IBaseItemCollectionPage { /** - * A collection page for Site. + * A collection page for BaseItem * - * @param response the serialized BaseBaseItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized BaseItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public BaseItemCollectionPage(final BaseBaseItemCollectionResponse response, final IBaseItemCollectionRequestBuilder builder) { - super(response, builder); + public BaseItemCollectionPage(final BaseItemCollectionResponse response, final IBaseItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequest.java index ad19f47aa79..c38ac08a6e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseBaseItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Collection Request. */ -public class BaseItemCollectionRequest extends BaseBaseItemCollectionRequest implements IBaseItemCollectionRequest { +public class BaseItemCollectionRequest extends BaseCollectionRequest implements IBaseItemCollectionRequest { /** - * The request for this collection of Site + * The request builder for this collection of BaseItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public BaseItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public BaseItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, BaseItemCollectionResponse.class, IBaseItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IBaseItemCollectionPage get() throws ClientException { + final BaseItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final BaseItem newBaseItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new BaseItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newBaseItem, callback); + } + + public BaseItem post(final BaseItem newBaseItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new BaseItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newBaseItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IBaseItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (BaseItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IBaseItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (BaseItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IBaseItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (BaseItemCollectionRequest)this; + } + + public IBaseItemCollectionPage buildFromResponse(final BaseItemCollectionResponse response) { + final IBaseItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new BaseItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final BaseItemCollectionPage page = new BaseItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequestBuilder.java index 12dc8d692b4..ec42eef3b6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseBaseItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Collection Request Builder. */ -public class BaseItemCollectionRequestBuilder extends BaseBaseItemCollectionRequestBuilder implements IBaseItemCollectionRequestBuilder { +public class BaseItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseItemCollectionRequestBuilder { /** * The request builder for this collection of Site @@ -25,4 +33,18 @@ public class BaseItemCollectionRequestBuilder extends BaseBaseItemCollectionRequ public BaseItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IBaseItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IBaseItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new BaseItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IBaseItemRequestBuilder byId(final String id) { + return new BaseItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionResponse.java new file mode 100644 index 00000000000..f6c200729b0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.BaseItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Base Item Collection Response. + */ +public class BaseItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of BaseItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequest.java index 0ab57e3d528..11c4ad94a44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IBaseItemRequest; +import com.microsoft.graph.requests.extensions.BaseItemRequest; +import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.BaseItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseBaseItemRequest; +import com.microsoft.graph.options.QueryOption; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Request. */ -public class BaseItemRequest extends BaseBaseItemRequest implements IBaseItemRequest { - +public class BaseItemRequest extends BaseRequest implements IBaseItemRequest { + /** * The request for the BaseItem * @@ -41,4 +47,107 @@ public BaseItemRequest(final String requestUrl, public BaseItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, BaseItem.class); } + + /** + * Gets the BaseItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the BaseItem from the service + * + * @return the BaseItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this BaseItem with a source + * + * @param sourceBaseItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final BaseItem sourceBaseItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceBaseItem); + } + + /** + * Patches this BaseItem with a source + * + * @param sourceBaseItem the source object with updates + * @return the updated BaseItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItem patch(final BaseItem sourceBaseItem) throws ClientException { + return send(HttpMethod.PATCH, sourceBaseItem); + } + + /** + * Creates a BaseItem with a new object + * + * @param newBaseItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final BaseItem newBaseItem, final ICallback callback) { + send(HttpMethod.POST, callback, newBaseItem); + } + + /** + * Creates a BaseItem with a new object + * + * @param newBaseItem the new object to create + * @return the created BaseItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItem post(final BaseItem newBaseItem) throws ClientException { + return send(HttpMethod.POST, newBaseItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IBaseItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (BaseItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IBaseItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (BaseItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequestBuilder.java index e2ab409a88a..48a6328f41b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IBaseItemRequest; +import com.microsoft.graph.requests.extensions.BaseItemRequest; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseBaseItemRequestBuilder; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Request Builder. */ -public class BaseItemRequestBuilder extends BaseBaseItemRequestBuilder implements IBaseItemRequestBuilder { +public class BaseItemRequestBuilder extends BaseRequestBuilder implements IBaseItemRequestBuilder { /** * The request builder for the BaseItem @@ -25,4 +32,44 @@ public class BaseItemRequestBuilder extends BaseBaseItemRequestBuilder implement public BaseItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IBaseItemRequest instance + */ + public IBaseItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IBaseItemRequest instance + */ + public IBaseItemRequest buildRequest(final java.util.List requestOptions) { + return new BaseItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + public IUserWithReferenceRequestBuilder createdByUser() { + return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdByUser"), getClient(), null); + } + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + public IUserWithReferenceRequestBuilder lastModifiedByUser() { + return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastModifiedByUser"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequest.java index c24604ac777..57f1aa06a59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IBaseItemVersionRequest; +import com.microsoft.graph.requests.extensions.BaseItemVersionRequest; +import com.microsoft.graph.models.extensions.BaseItemVersion; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.BaseItemVersion; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseBaseItemVersionRequest; +import com.microsoft.graph.options.QueryOption; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Version Request. */ -public class BaseItemVersionRequest extends BaseBaseItemVersionRequest implements IBaseItemVersionRequest { - +public class BaseItemVersionRequest extends BaseRequest implements IBaseItemVersionRequest { + /** * The request for the BaseItemVersion * @@ -41,4 +47,107 @@ public BaseItemVersionRequest(final String requestUrl, public BaseItemVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, BaseItemVersion.class); } + + /** + * Gets the BaseItemVersion from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the BaseItemVersion from the service + * + * @return the BaseItemVersion from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItemVersion get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this BaseItemVersion with a source + * + * @param sourceBaseItemVersion the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final BaseItemVersion sourceBaseItemVersion, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceBaseItemVersion); + } + + /** + * Patches this BaseItemVersion with a source + * + * @param sourceBaseItemVersion the source object with updates + * @return the updated BaseItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItemVersion patch(final BaseItemVersion sourceBaseItemVersion) throws ClientException { + return send(HttpMethod.PATCH, sourceBaseItemVersion); + } + + /** + * Creates a BaseItemVersion with a new object + * + * @param newBaseItemVersion the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final BaseItemVersion newBaseItemVersion, final ICallback callback) { + send(HttpMethod.POST, callback, newBaseItemVersion); + } + + /** + * Creates a BaseItemVersion with a new object + * + * @param newBaseItemVersion the new object to create + * @return the created BaseItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItemVersion post(final BaseItemVersion newBaseItemVersion) throws ClientException { + return send(HttpMethod.POST, newBaseItemVersion); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IBaseItemVersionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (BaseItemVersionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IBaseItemVersionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (BaseItemVersionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequestBuilder.java index e1917093df5..82bb3bffd8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IBaseItemVersionRequest; +import com.microsoft.graph.requests.extensions.BaseItemVersionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseBaseItemVersionRequestBuilder; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Base Item Version Request Builder. */ -public class BaseItemVersionRequestBuilder extends BaseBaseItemVersionRequestBuilder implements IBaseItemVersionRequestBuilder { +public class BaseItemVersionRequestBuilder extends BaseRequestBuilder implements IBaseItemVersionRequestBuilder { /** * The request builder for the BaseItemVersion @@ -25,4 +28,26 @@ public class BaseItemVersionRequestBuilder extends BaseBaseItemVersionRequestBui public BaseItemVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IBaseItemVersionRequest instance + */ + public IBaseItemVersionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IBaseItemVersionRequest instance + */ + public IBaseItemVersionRequest buildRequest(final java.util.List requestOptions) { + return new BaseItemVersionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionPage.java index 25a7ffb48fa..a9a8167d2ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseCalendarCollectionPage; -import com.microsoft.graph.requests.generated.BaseCalendarCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Collection Page. */ -public class CalendarCollectionPage extends BaseCalendarCollectionPage implements ICalendarCollectionPage { +public class CalendarCollectionPage extends BaseCollectionPage implements ICalendarCollectionPage { /** - * A collection page for CalendarGroup. + * A collection page for Calendar * - * @param response the serialized BaseCalendarCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized CalendarCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public CalendarCollectionPage(final BaseCalendarCollectionResponse response, final ICalendarCollectionRequestBuilder builder) { - super(response, builder); + public CalendarCollectionPage(final CalendarCollectionResponse response, final ICalendarCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequest.java index f09ce1f883c..18ac5e815f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Collection Request. */ -public class CalendarCollectionRequest extends BaseCalendarCollectionRequest implements ICalendarCollectionRequest { +public class CalendarCollectionRequest extends BaseCollectionRequest implements ICalendarCollectionRequest { /** - * The request for this collection of CalendarGroup + * The request builder for this collection of Calendar * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public CalendarCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public CalendarCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, CalendarCollectionResponse.class, ICalendarCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ICalendarCollectionPage get() throws ClientException { + final CalendarCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Calendar newCalendar, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new CalendarRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newCalendar, callback); + } + + public Calendar post(final Calendar newCalendar) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new CalendarRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newCalendar); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ICalendarCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (CalendarCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ICalendarCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (CalendarCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ICalendarCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (CalendarCollectionRequest)this; + } + + public ICalendarCollectionPage buildFromResponse(final CalendarCollectionResponse response) { + final ICalendarCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new CalendarCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final CalendarCollectionPage page = new CalendarCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequestBuilder.java index 17cc30f7926..3eaa9e91467 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Collection Request Builder. */ -public class CalendarCollectionRequestBuilder extends BaseCalendarCollectionRequestBuilder implements ICalendarCollectionRequestBuilder { +public class CalendarCollectionRequestBuilder extends BaseRequestBuilder implements ICalendarCollectionRequestBuilder { /** * The request builder for this collection of CalendarGroup @@ -25,4 +33,18 @@ public class CalendarCollectionRequestBuilder extends BaseCalendarCollectionRequ public CalendarCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ICalendarCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ICalendarCollectionRequest buildRequest(final java.util.List requestOptions) { + return new CalendarCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ICalendarRequestBuilder byId(final String id) { + return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionResponse.java new file mode 100644 index 00000000000..116f49514f8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Calendar; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Calendar Collection Response. + */ +public class CalendarCollectionResponse implements IJsonBackedObject { + + /** + * The list of Calendar within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionPage.java index 84eee25d984..2dff26a33e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.CalendarGroup; +import com.microsoft.graph.requests.extensions.ICalendarGroupCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseCalendarGroupCollectionPage; -import com.microsoft.graph.requests.generated.BaseCalendarGroupCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Group Collection Page. */ -public class CalendarGroupCollectionPage extends BaseCalendarGroupCollectionPage implements ICalendarGroupCollectionPage { +public class CalendarGroupCollectionPage extends BaseCollectionPage implements ICalendarGroupCollectionPage { /** - * A collection page for User. + * A collection page for CalendarGroup * - * @param response the serialized BaseCalendarGroupCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized CalendarGroupCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public CalendarGroupCollectionPage(final BaseCalendarGroupCollectionResponse response, final ICalendarGroupCollectionRequestBuilder builder) { - super(response, builder); + public CalendarGroupCollectionPage(final CalendarGroupCollectionResponse response, final ICalendarGroupCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequest.java index 850cd49c304..0513bcff1fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarGroupCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Group Collection Request. */ -public class CalendarGroupCollectionRequest extends BaseCalendarGroupCollectionRequest implements ICalendarGroupCollectionRequest { +public class CalendarGroupCollectionRequest extends BaseCollectionRequest implements ICalendarGroupCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of CalendarGroup * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public CalendarGroupCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public CalendarGroupCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, CalendarGroupCollectionResponse.class, ICalendarGroupCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ICalendarGroupCollectionPage get() throws ClientException { + final CalendarGroupCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final CalendarGroup newCalendarGroup, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new CalendarGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newCalendarGroup, callback); + } + + public CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new CalendarGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newCalendarGroup); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ICalendarGroupCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (CalendarGroupCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ICalendarGroupCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (CalendarGroupCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ICalendarGroupCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (CalendarGroupCollectionRequest)this; + } + + public ICalendarGroupCollectionPage buildFromResponse(final CalendarGroupCollectionResponse response) { + final ICalendarGroupCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new CalendarGroupCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final CalendarGroupCollectionPage page = new CalendarGroupCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequestBuilder.java index f4aaf9f5fb6..c932b224c65 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarGroupCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Group Collection Request Builder. */ -public class CalendarGroupCollectionRequestBuilder extends BaseCalendarGroupCollectionRequestBuilder implements ICalendarGroupCollectionRequestBuilder { +public class CalendarGroupCollectionRequestBuilder extends BaseRequestBuilder implements ICalendarGroupCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,18 @@ public class CalendarGroupCollectionRequestBuilder extends BaseCalendarGroupColl public CalendarGroupCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ICalendarGroupCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ICalendarGroupCollectionRequest buildRequest(final java.util.List requestOptions) { + return new CalendarGroupCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ICalendarGroupRequestBuilder byId(final String id) { + return new CalendarGroupRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionResponse.java new file mode 100644 index 00000000000..5a0f717151b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.CalendarGroup; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Calendar Group Collection Response. + */ +public class CalendarGroupCollectionResponse implements IJsonBackedObject { + + /** + * The list of CalendarGroup within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequest.java index b14bfca8802..9c6fbed8fd8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ICalendarGroupRequest; +import com.microsoft.graph.requests.extensions.CalendarGroupRequest; +import com.microsoft.graph.models.extensions.CalendarGroup; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.CalendarGroup; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarGroupRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Group Request. */ -public class CalendarGroupRequest extends BaseCalendarGroupRequest implements ICalendarGroupRequest { - +public class CalendarGroupRequest extends BaseRequest implements ICalendarGroupRequest { + /** * The request for the CalendarGroup * @@ -26,4 +32,107 @@ public class CalendarGroupRequest extends BaseCalendarGroupRequest implements IC public CalendarGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, CalendarGroup.class); } + + /** + * Gets the CalendarGroup from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the CalendarGroup from the service + * + * @return the CalendarGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CalendarGroup get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this CalendarGroup with a source + * + * @param sourceCalendarGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final CalendarGroup sourceCalendarGroup, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceCalendarGroup); + } + + /** + * Patches this CalendarGroup with a source + * + * @param sourceCalendarGroup the source object with updates + * @return the updated CalendarGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CalendarGroup patch(final CalendarGroup sourceCalendarGroup) throws ClientException { + return send(HttpMethod.PATCH, sourceCalendarGroup); + } + + /** + * Creates a CalendarGroup with a new object + * + * @param newCalendarGroup the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final CalendarGroup newCalendarGroup, final ICallback callback) { + send(HttpMethod.POST, callback, newCalendarGroup); + } + + /** + * Creates a CalendarGroup with a new object + * + * @param newCalendarGroup the new object to create + * @return the created CalendarGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException { + return send(HttpMethod.POST, newCalendarGroup); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ICalendarGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (CalendarGroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ICalendarGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (CalendarGroupRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequestBuilder.java index a9b5bf478d2..370343c356c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ICalendarGroupRequest; +import com.microsoft.graph.requests.extensions.CalendarGroupRequest; +import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarGroupRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Group Request Builder. */ -public class CalendarGroupRequestBuilder extends BaseCalendarGroupRequestBuilder implements ICalendarGroupRequestBuilder { +public class CalendarGroupRequestBuilder extends BaseRequestBuilder implements ICalendarGroupRequestBuilder { /** * The request builder for the CalendarGroup @@ -25,4 +32,33 @@ public class CalendarGroupRequestBuilder extends BaseCalendarGroupRequestBuilder public CalendarGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ICalendarGroupRequest instance + */ + public ICalendarGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ICalendarGroupRequest instance + */ + public ICalendarGroupRequest buildRequest(final java.util.List requestOptions) { + return new CalendarGroupRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ICalendarCollectionRequestBuilder calendars() { + return new CalendarCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendars"), getClient(), null); + } + + public ICalendarRequestBuilder calendars(final String id) { + return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendars") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequest.java index e10fd24e142..140ca082d2f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ICalendarRequest; +import com.microsoft.graph.requests.extensions.CalendarRequest; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Request. */ -public class CalendarRequest extends BaseCalendarRequest implements ICalendarRequest { - +public class CalendarRequest extends BaseRequest implements ICalendarRequest { + /** * The request for the Calendar * @@ -26,4 +32,107 @@ public class CalendarRequest extends BaseCalendarRequest implements ICalendarReq public CalendarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Calendar.class); } + + /** + * Gets the Calendar from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Calendar from the service + * + * @return the Calendar from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Calendar get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Calendar with a source + * + * @param sourceCalendar the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Calendar sourceCalendar, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceCalendar); + } + + /** + * Patches this Calendar with a source + * + * @param sourceCalendar the source object with updates + * @return the updated Calendar + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Calendar patch(final Calendar sourceCalendar) throws ClientException { + return send(HttpMethod.PATCH, sourceCalendar); + } + + /** + * Creates a Calendar with a new object + * + * @param newCalendar the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Calendar newCalendar, final ICallback callback) { + send(HttpMethod.POST, callback, newCalendar); + } + + /** + * Creates a Calendar with a new object + * + * @param newCalendar the new object to create + * @return the created Calendar + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Calendar post(final Calendar newCalendar) throws ClientException { + return send(HttpMethod.POST, newCalendar); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ICalendarRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (CalendarRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ICalendarRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (CalendarRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequestBuilder.java index 167f624cf77..825ccc44849 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequestBuilder.java @@ -3,17 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ICalendarRequest; +import com.microsoft.graph.requests.extensions.CalendarRequest; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseCalendarRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Calendar Request Builder. */ -public class CalendarRequestBuilder extends BaseCalendarRequestBuilder implements ICalendarRequestBuilder { +public class CalendarRequestBuilder extends BaseRequestBuilder implements ICalendarRequestBuilder { /** * The request builder for the Calendar @@ -25,4 +44,54 @@ public class CalendarRequestBuilder extends BaseCalendarRequestBuilder implement public CalendarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ICalendarRequest instance + */ + public ICalendarRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ICalendarRequest instance + */ + public ICalendarRequest buildRequest(final java.util.List requestOptions) { + return new CalendarRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IEventCollectionRequestBuilder events() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("events"), getClient(), null); + } + + public IEventRequestBuilder events(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("events") + "/" + id, getClient(), null); + } + public IEventCollectionRequestBuilder calendarView() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView"), getClient(), null); + } + + public IEventRequestBuilder calendarView(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionPage.java index e1af41a7694..dd4912a0005 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Channel; +import com.microsoft.graph.requests.extensions.IChannelCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseChannelCollectionPage; -import com.microsoft.graph.requests.generated.BaseChannelCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Channel Collection Page. */ -public class ChannelCollectionPage extends BaseChannelCollectionPage implements IChannelCollectionPage { +public class ChannelCollectionPage extends BaseCollectionPage implements IChannelCollectionPage { /** - * A collection page for Team. + * A collection page for Channel * - * @param response the serialized BaseChannelCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ChannelCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ChannelCollectionPage(final BaseChannelCollectionResponse response, final IChannelCollectionRequestBuilder builder) { - super(response, builder); + public ChannelCollectionPage(final ChannelCollectionResponse response, final IChannelCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequest.java index 81e2d0fb19d..734752ff8a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseChannelCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Channel Collection Request. */ -public class ChannelCollectionRequest extends BaseChannelCollectionRequest implements IChannelCollectionRequest { +public class ChannelCollectionRequest extends BaseCollectionRequest implements IChannelCollectionRequest { /** - * The request for this collection of Team + * The request builder for this collection of Channel * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ChannelCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ChannelCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ChannelCollectionResponse.class, IChannelCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IChannelCollectionPage get() throws ClientException { + final ChannelCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Channel newChannel, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ChannelRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newChannel, callback); + } + + public Channel post(final Channel newChannel) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ChannelRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newChannel); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IChannelCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ChannelCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IChannelCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ChannelCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IChannelCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ChannelCollectionRequest)this; + } + + public IChannelCollectionPage buildFromResponse(final ChannelCollectionResponse response) { + final IChannelCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ChannelCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ChannelCollectionPage page = new ChannelCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequestBuilder.java index e7505d37a00..a4c5cf56329 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseChannelCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Channel Collection Request Builder. */ -public class ChannelCollectionRequestBuilder extends BaseChannelCollectionRequestBuilder implements IChannelCollectionRequestBuilder { +public class ChannelCollectionRequestBuilder extends BaseRequestBuilder implements IChannelCollectionRequestBuilder { /** * The request builder for this collection of Team @@ -25,4 +33,18 @@ public class ChannelCollectionRequestBuilder extends BaseChannelCollectionReques public ChannelCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IChannelCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IChannelCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ChannelCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IChannelRequestBuilder byId(final String id) { + return new ChannelRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionResponse.java new file mode 100644 index 00000000000..bd4832ffeb1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Channel; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Channel Collection Response. + */ +public class ChannelCollectionResponse implements IJsonBackedObject { + + /** + * The list of Channel within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequest.java index d918dd0a3f5..372a51b052a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IChannelRequest; +import com.microsoft.graph.requests.extensions.ChannelRequest; +import com.microsoft.graph.models.extensions.Channel; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Channel; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseChannelRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Channel Request. */ -public class ChannelRequest extends BaseChannelRequest implements IChannelRequest { - +public class ChannelRequest extends BaseRequest implements IChannelRequest { + /** * The request for the Channel * @@ -26,4 +32,107 @@ public class ChannelRequest extends BaseChannelRequest implements IChannelReques public ChannelRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Channel.class); } + + /** + * Gets the Channel from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Channel from the service + * + * @return the Channel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Channel get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Channel with a source + * + * @param sourceChannel the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Channel sourceChannel, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceChannel); + } + + /** + * Patches this Channel with a source + * + * @param sourceChannel the source object with updates + * @return the updated Channel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Channel patch(final Channel sourceChannel) throws ClientException { + return send(HttpMethod.PATCH, sourceChannel); + } + + /** + * Creates a Channel with a new object + * + * @param newChannel the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Channel newChannel, final ICallback callback) { + send(HttpMethod.POST, callback, newChannel); + } + + /** + * Creates a Channel with a new object + * + * @param newChannel the new object to create + * @return the created Channel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Channel post(final Channel newChannel) throws ClientException { + return send(HttpMethod.POST, newChannel); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IChannelRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ChannelRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IChannelRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ChannelRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequestBuilder.java index afb5ad69fc8..cae203622f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IChannelRequest; +import com.microsoft.graph.requests.extensions.ChannelRequest; +import com.microsoft.graph.requests.extensions.ITeamsTabCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsTabCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsTabRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsTabRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseChannelRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Channel Request Builder. */ -public class ChannelRequestBuilder extends BaseChannelRequestBuilder implements IChannelRequestBuilder { +public class ChannelRequestBuilder extends BaseRequestBuilder implements IChannelRequestBuilder { /** * The request builder for the Channel @@ -25,4 +32,33 @@ public class ChannelRequestBuilder extends BaseChannelRequestBuilder implements public ChannelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IChannelRequest instance + */ + public IChannelRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IChannelRequest instance + */ + public IChannelRequest buildRequest(final java.util.List requestOptions) { + return new ChannelRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITeamsTabCollectionRequestBuilder tabs() { + return new TeamsTabCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tabs"), getClient(), null); + } + + public ITeamsTabRequestBuilder tabs(final String id) { + return new TeamsTabRequestBuilder(getRequestUrlWithAdditionalSegment("tabs") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionPage.java index 51ff981a4ea..07cf5802a81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ColumnDefinition; +import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionCollectionPage; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Definition Collection Page. */ -public class ColumnDefinitionCollectionPage extends BaseColumnDefinitionCollectionPage implements IColumnDefinitionCollectionPage { +public class ColumnDefinitionCollectionPage extends BaseCollectionPage implements IColumnDefinitionCollectionPage { /** - * A collection page for List. + * A collection page for ColumnDefinition * - * @param response the serialized BaseColumnDefinitionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ColumnDefinitionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ColumnDefinitionCollectionPage(final BaseColumnDefinitionCollectionResponse response, final IColumnDefinitionCollectionRequestBuilder builder) { - super(response, builder); + public ColumnDefinitionCollectionPage(final ColumnDefinitionCollectionResponse response, final IColumnDefinitionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequest.java index a3cc74714fa..5f5c401d8c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Definition Collection Request. */ -public class ColumnDefinitionCollectionRequest extends BaseColumnDefinitionCollectionRequest implements IColumnDefinitionCollectionRequest { +public class ColumnDefinitionCollectionRequest extends BaseCollectionRequest implements IColumnDefinitionCollectionRequest { /** - * The request for this collection of List + * The request builder for this collection of ColumnDefinition * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ColumnDefinitionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ColumnDefinitionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ColumnDefinitionCollectionResponse.class, IColumnDefinitionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IColumnDefinitionCollectionPage get() throws ClientException { + final ColumnDefinitionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ColumnDefinition newColumnDefinition, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ColumnDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newColumnDefinition, callback); + } + + public ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ColumnDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newColumnDefinition); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IColumnDefinitionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ColumnDefinitionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IColumnDefinitionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ColumnDefinitionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IColumnDefinitionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ColumnDefinitionCollectionRequest)this; + } + + public IColumnDefinitionCollectionPage buildFromResponse(final ColumnDefinitionCollectionResponse response) { + final IColumnDefinitionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ColumnDefinitionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ColumnDefinitionCollectionPage page = new ColumnDefinitionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequestBuilder.java index d336f2ac100..f89fa25274d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Definition Collection Request Builder. */ -public class ColumnDefinitionCollectionRequestBuilder extends BaseColumnDefinitionCollectionRequestBuilder implements IColumnDefinitionCollectionRequestBuilder { +public class ColumnDefinitionCollectionRequestBuilder extends BaseRequestBuilder implements IColumnDefinitionCollectionRequestBuilder { /** * The request builder for this collection of List @@ -25,4 +33,18 @@ public class ColumnDefinitionCollectionRequestBuilder extends BaseColumnDefiniti public ColumnDefinitionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IColumnDefinitionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IColumnDefinitionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ColumnDefinitionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IColumnDefinitionRequestBuilder byId(final String id) { + return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionResponse.java new file mode 100644 index 00000000000..e2f9ae16f19 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ColumnDefinition; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Column Definition Collection Response. + */ +public class ColumnDefinitionCollectionResponse implements IJsonBackedObject { + + /** + * The list of ColumnDefinition within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequest.java index 19829a41bad..1693183a7d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequest; +import com.microsoft.graph.requests.extensions.ColumnDefinitionRequest; +import com.microsoft.graph.models.extensions.ColumnDefinition; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ColumnDefinition; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Definition Request. */ -public class ColumnDefinitionRequest extends BaseColumnDefinitionRequest implements IColumnDefinitionRequest { - +public class ColumnDefinitionRequest extends BaseRequest implements IColumnDefinitionRequest { + /** * The request for the ColumnDefinition * @@ -26,4 +32,107 @@ public class ColumnDefinitionRequest extends BaseColumnDefinitionRequest impleme public ColumnDefinitionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ColumnDefinition.class); } + + /** + * Gets the ColumnDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ColumnDefinition from the service + * + * @return the ColumnDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnDefinition get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ColumnDefinition with a source + * + * @param sourceColumnDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ColumnDefinition sourceColumnDefinition, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceColumnDefinition); + } + + /** + * Patches this ColumnDefinition with a source + * + * @param sourceColumnDefinition the source object with updates + * @return the updated ColumnDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnDefinition patch(final ColumnDefinition sourceColumnDefinition) throws ClientException { + return send(HttpMethod.PATCH, sourceColumnDefinition); + } + + /** + * Creates a ColumnDefinition with a new object + * + * @param newColumnDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ColumnDefinition newColumnDefinition, final ICallback callback) { + send(HttpMethod.POST, callback, newColumnDefinition); + } + + /** + * Creates a ColumnDefinition with a new object + * + * @param newColumnDefinition the new object to create + * @return the created ColumnDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException { + return send(HttpMethod.POST, newColumnDefinition); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IColumnDefinitionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ColumnDefinitionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IColumnDefinitionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ColumnDefinitionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequestBuilder.java index 2497e0f4998..7b7b76157e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequest; +import com.microsoft.graph.requests.extensions.ColumnDefinitionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnDefinitionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Definition Request Builder. */ -public class ColumnDefinitionRequestBuilder extends BaseColumnDefinitionRequestBuilder implements IColumnDefinitionRequestBuilder { +public class ColumnDefinitionRequestBuilder extends BaseRequestBuilder implements IColumnDefinitionRequestBuilder { /** * The request builder for the ColumnDefinition @@ -25,4 +28,26 @@ public class ColumnDefinitionRequestBuilder extends BaseColumnDefinitionRequestB public ColumnDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IColumnDefinitionRequest instance + */ + public IColumnDefinitionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IColumnDefinitionRequest instance + */ + public IColumnDefinitionRequest buildRequest(final java.util.List requestOptions) { + return new ColumnDefinitionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionPage.java index ae6c986d911..86f22ead4f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ColumnLink; +import com.microsoft.graph.requests.extensions.IColumnLinkCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseColumnLinkCollectionPage; -import com.microsoft.graph.requests.generated.BaseColumnLinkCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Link Collection Page. */ -public class ColumnLinkCollectionPage extends BaseColumnLinkCollectionPage implements IColumnLinkCollectionPage { +public class ColumnLinkCollectionPage extends BaseCollectionPage implements IColumnLinkCollectionPage { /** - * A collection page for ContentType. + * A collection page for ColumnLink * - * @param response the serialized BaseColumnLinkCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ColumnLinkCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ColumnLinkCollectionPage(final BaseColumnLinkCollectionResponse response, final IColumnLinkCollectionRequestBuilder builder) { - super(response, builder); + public ColumnLinkCollectionPage(final ColumnLinkCollectionResponse response, final IColumnLinkCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequest.java index 5842db164b5..d95af07f2c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnLinkCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Link Collection Request. */ -public class ColumnLinkCollectionRequest extends BaseColumnLinkCollectionRequest implements IColumnLinkCollectionRequest { +public class ColumnLinkCollectionRequest extends BaseCollectionRequest implements IColumnLinkCollectionRequest { /** - * The request for this collection of ContentType + * The request builder for this collection of ColumnLink * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ColumnLinkCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ColumnLinkCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ColumnLinkCollectionResponse.class, IColumnLinkCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IColumnLinkCollectionPage get() throws ClientException { + final ColumnLinkCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ColumnLink newColumnLink, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ColumnLinkRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newColumnLink, callback); + } + + public ColumnLink post(final ColumnLink newColumnLink) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ColumnLinkRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newColumnLink); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IColumnLinkCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ColumnLinkCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IColumnLinkCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ColumnLinkCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IColumnLinkCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ColumnLinkCollectionRequest)this; + } + + public IColumnLinkCollectionPage buildFromResponse(final ColumnLinkCollectionResponse response) { + final IColumnLinkCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ColumnLinkCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ColumnLinkCollectionPage page = new ColumnLinkCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequestBuilder.java index 6d340653b69..9cb1b4b9150 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnLinkCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Link Collection Request Builder. */ -public class ColumnLinkCollectionRequestBuilder extends BaseColumnLinkCollectionRequestBuilder implements IColumnLinkCollectionRequestBuilder { +public class ColumnLinkCollectionRequestBuilder extends BaseRequestBuilder implements IColumnLinkCollectionRequestBuilder { /** * The request builder for this collection of ContentType @@ -25,4 +33,18 @@ public class ColumnLinkCollectionRequestBuilder extends BaseColumnLinkCollection public ColumnLinkCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IColumnLinkCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IColumnLinkCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ColumnLinkCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IColumnLinkRequestBuilder byId(final String id) { + return new ColumnLinkRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionResponse.java new file mode 100644 index 00000000000..9ca0fb72bb4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ColumnLink; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Column Link Collection Response. + */ +public class ColumnLinkCollectionResponse implements IJsonBackedObject { + + /** + * The list of ColumnLink within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequest.java index 81994ea1f91..d8ad66f97b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IColumnLinkRequest; +import com.microsoft.graph.requests.extensions.ColumnLinkRequest; +import com.microsoft.graph.models.extensions.ColumnLink; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ColumnLink; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnLinkRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Link Request. */ -public class ColumnLinkRequest extends BaseColumnLinkRequest implements IColumnLinkRequest { - +public class ColumnLinkRequest extends BaseRequest implements IColumnLinkRequest { + /** * The request for the ColumnLink * @@ -26,4 +32,107 @@ public class ColumnLinkRequest extends BaseColumnLinkRequest implements IColumnL public ColumnLinkRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ColumnLink.class); } + + /** + * Gets the ColumnLink from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ColumnLink from the service + * + * @return the ColumnLink from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnLink get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ColumnLink with a source + * + * @param sourceColumnLink the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ColumnLink sourceColumnLink, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceColumnLink); + } + + /** + * Patches this ColumnLink with a source + * + * @param sourceColumnLink the source object with updates + * @return the updated ColumnLink + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnLink patch(final ColumnLink sourceColumnLink) throws ClientException { + return send(HttpMethod.PATCH, sourceColumnLink); + } + + /** + * Creates a ColumnLink with a new object + * + * @param newColumnLink the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ColumnLink newColumnLink, final ICallback callback) { + send(HttpMethod.POST, callback, newColumnLink); + } + + /** + * Creates a ColumnLink with a new object + * + * @param newColumnLink the new object to create + * @return the created ColumnLink + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnLink post(final ColumnLink newColumnLink) throws ClientException { + return send(HttpMethod.POST, newColumnLink); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IColumnLinkRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ColumnLinkRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IColumnLinkRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ColumnLinkRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequestBuilder.java index 043494153a0..aedde32975b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IColumnLinkRequest; +import com.microsoft.graph.requests.extensions.ColumnLinkRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseColumnLinkRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Column Link Request Builder. */ -public class ColumnLinkRequestBuilder extends BaseColumnLinkRequestBuilder implements IColumnLinkRequestBuilder { +public class ColumnLinkRequestBuilder extends BaseRequestBuilder implements IColumnLinkRequestBuilder { /** * The request builder for the ColumnLink @@ -25,4 +28,26 @@ public class ColumnLinkRequestBuilder extends BaseColumnLinkRequestBuilder imple public ColumnLinkRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IColumnLinkRequest instance + */ + public IColumnLinkRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IColumnLinkRequest instance + */ + public IColumnLinkRequest buildRequest(final java.util.List requestOptions) { + return new ColumnLinkRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionPage.java index 685c31b4a8c..4e1a50e5a6c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Contact; +import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Collection Page. */ -public class ContactCollectionPage extends BaseContactCollectionPage implements IContactCollectionPage { +public class ContactCollectionPage extends BaseCollectionPage implements IContactCollectionPage { /** - * A collection page for ContactFolder. + * A collection page for Contact * - * @param response the serialized BaseContactCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ContactCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ContactCollectionPage(final BaseContactCollectionResponse response, final IContactCollectionRequestBuilder builder) { - super(response, builder); + public ContactCollectionPage(final ContactCollectionResponse response, final IContactCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequest.java index b94b8621c9a..a9e47a695c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Collection Request. */ -public class ContactCollectionRequest extends BaseContactCollectionRequest implements IContactCollectionRequest { +public class ContactCollectionRequest extends BaseCollectionRequest implements IContactCollectionRequest { /** - * The request for this collection of ContactFolder + * The request builder for this collection of Contact * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ContactCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ContactCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ContactCollectionResponse.class, IContactCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IContactCollectionPage get() throws ClientException { + final ContactCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Contact newContact, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ContactRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContact, callback); + } + + public Contact post(final Contact newContact) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ContactRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContact); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContactCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ContactCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContactCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ContactCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IContactCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ContactCollectionRequest)this; + } + + public IContactCollectionPage buildFromResponse(final ContactCollectionResponse response) { + final IContactCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ContactCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ContactCollectionPage page = new ContactCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequestBuilder.java index c72ab045b76..49055187e84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Collection Request Builder. */ -public class ContactCollectionRequestBuilder extends BaseContactCollectionRequestBuilder implements IContactCollectionRequestBuilder { +public class ContactCollectionRequestBuilder extends BaseRequestBuilder implements IContactCollectionRequestBuilder { /** * The request builder for this collection of ContactFolder @@ -25,4 +33,26 @@ public class ContactCollectionRequestBuilder extends BaseContactCollectionReques public ContactCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IContactCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IContactCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ContactCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IContactRequestBuilder byId(final String id) { + return new ContactRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IContactDeltaCollectionRequestBuilder delta() { + return new ContactDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IContactDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new ContactDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionResponse.java new file mode 100644 index 00000000000..3984a44f53b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Contact; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Contact Collection Response. + */ +public class ContactCollectionResponse implements IJsonBackedObject { + + /** + * The list of Contact within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionPage.java index 8962e280fb5..699a3490579 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseContactDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Delta Collection Page. */ -public class ContactDeltaCollectionPage extends BaseContactDeltaCollectionPage implements IContactDeltaCollectionPage { +public class ContactDeltaCollectionPage extends BaseCollectionPage implements IContactDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for Contact. + * A collection page for ContactDelta. + * + * @param response The serialized ContactDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public ContactDeltaCollectionPage(final ContactDeltaCollectionResponse response, final IContactDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseContactDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public ContactDeltaCollectionPage(final BaseContactDeltaCollectionResponse response, final IContactDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequest.java index a764ef519f0..0530b3f8c28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Delta Collection Request. */ -public class ContactDeltaCollectionRequest extends BaseContactDeltaCollectionRequest implements IContactDeltaCollectionRequest { +public class ContactDeltaCollectionRequest extends BaseCollectionRequest implements IContactDeltaCollectionRequest { + /** - * The request for this collection of Contact + * The request for this ContactDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public ContactDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, ContactDeltaCollectionResponse.class, IContactDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IContactDeltaCollectionPage get() throws ClientException { + final ContactDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IContactDeltaCollectionPage buildFromResponse(final ContactDeltaCollectionResponse response) { + final IContactDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ContactDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IContactDeltaCollectionPage page = new ContactDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContactDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IContactDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IContactDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IContactDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContactDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IContactDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequestBuilder.java index e01f5072e22..7fdafdb36e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Delta Collection Request Builder. */ -public class ContactDeltaCollectionRequestBuilder extends BaseContactDeltaCollectionRequestBuilder implements IContactDeltaCollectionRequestBuilder { +public class ContactDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IContactDeltaCollectionRequestBuilder { /** * The request builder for this collection of Contact @@ -25,4 +32,22 @@ public class ContactDeltaCollectionRequestBuilder extends BaseContactDeltaCollec public ContactDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IContactDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IContactDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + ContactDeltaCollectionRequest request = new ContactDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionResponse.java new file mode 100644 index 00000000000..08e20463f02 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Contact Delta Collection Response. + */ +public class ContactDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionPage.java index b72cc430b36..e25edd82915 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ContactFolder; +import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactFolderCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactFolderCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Collection Page. */ -public class ContactFolderCollectionPage extends BaseContactFolderCollectionPage implements IContactFolderCollectionPage { +public class ContactFolderCollectionPage extends BaseCollectionPage implements IContactFolderCollectionPage { /** - * A collection page for ContactFolder. + * A collection page for ContactFolder * - * @param response the serialized BaseContactFolderCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ContactFolderCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ContactFolderCollectionPage(final BaseContactFolderCollectionResponse response, final IContactFolderCollectionRequestBuilder builder) { - super(response, builder); + public ContactFolderCollectionPage(final ContactFolderCollectionResponse response, final IContactFolderCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequest.java index a819de210b5..5d25ab0ccfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactFolderCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Collection Request. */ -public class ContactFolderCollectionRequest extends BaseContactFolderCollectionRequest implements IContactFolderCollectionRequest { +public class ContactFolderCollectionRequest extends BaseCollectionRequest implements IContactFolderCollectionRequest { /** - * The request for this collection of ContactFolder + * The request builder for this collection of ContactFolder * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ContactFolderCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ContactFolderCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ContactFolderCollectionResponse.class, IContactFolderCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IContactFolderCollectionPage get() throws ClientException { + final ContactFolderCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ContactFolder newContactFolder, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ContactFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContactFolder, callback); + } + + public ContactFolder post(final ContactFolder newContactFolder) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ContactFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContactFolder); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContactFolderCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ContactFolderCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContactFolderCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ContactFolderCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IContactFolderCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ContactFolderCollectionRequest)this; + } + + public IContactFolderCollectionPage buildFromResponse(final ContactFolderCollectionResponse response) { + final IContactFolderCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ContactFolderCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ContactFolderCollectionPage page = new ContactFolderCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequestBuilder.java index 5d5c8727a43..3c3318b7c27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactFolderCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Collection Request Builder. */ -public class ContactFolderCollectionRequestBuilder extends BaseContactFolderCollectionRequestBuilder implements IContactFolderCollectionRequestBuilder { +public class ContactFolderCollectionRequestBuilder extends BaseRequestBuilder implements IContactFolderCollectionRequestBuilder { /** * The request builder for this collection of ContactFolder @@ -25,4 +33,26 @@ public class ContactFolderCollectionRequestBuilder extends BaseContactFolderColl public ContactFolderCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IContactFolderCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IContactFolderCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ContactFolderCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IContactFolderRequestBuilder byId(final String id) { + return new ContactFolderRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IContactFolderDeltaCollectionRequestBuilder delta() { + return new ContactFolderDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IContactFolderDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new ContactFolderDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionResponse.java new file mode 100644 index 00000000000..b79d8bab664 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ContactFolder; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Contact Folder Collection Response. + */ +public class ContactFolderCollectionResponse implements IJsonBackedObject { + + /** + * The list of ContactFolder within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionPage.java index 31a0251c6a7..f4506aa812b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseContactFolderDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseContactFolderDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Delta Collection Page. */ -public class ContactFolderDeltaCollectionPage extends BaseContactFolderDeltaCollectionPage implements IContactFolderDeltaCollectionPage { +public class ContactFolderDeltaCollectionPage extends BaseCollectionPage implements IContactFolderDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for ContactFolder. + * A collection page for ContactFolderDelta. + * + * @param response The serialized ContactFolderDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public ContactFolderDeltaCollectionPage(final ContactFolderDeltaCollectionResponse response, final IContactFolderDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseContactFolderDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public ContactFolderDeltaCollectionPage(final BaseContactFolderDeltaCollectionResponse response, final IContactFolderDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequest.java index 401ebb32073..6d3d33ac178 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactFolderDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Delta Collection Request. */ -public class ContactFolderDeltaCollectionRequest extends BaseContactFolderDeltaCollectionRequest implements IContactFolderDeltaCollectionRequest { +public class ContactFolderDeltaCollectionRequest extends BaseCollectionRequest implements IContactFolderDeltaCollectionRequest { + /** - * The request for this collection of ContactFolder + * The request for this ContactFolderDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public ContactFolderDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, ContactFolderDeltaCollectionResponse.class, IContactFolderDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IContactFolderDeltaCollectionPage get() throws ClientException { + final ContactFolderDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IContactFolderDeltaCollectionPage buildFromResponse(final ContactFolderDeltaCollectionResponse response) { + final IContactFolderDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ContactFolderDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IContactFolderDeltaCollectionPage page = new ContactFolderDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContactFolderDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IContactFolderDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IContactFolderDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IContactFolderDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContactFolderDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IContactFolderDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequestBuilder.java index 659bc51e15c..3c2391bd143 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactFolderDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Delta Collection Request Builder. */ -public class ContactFolderDeltaCollectionRequestBuilder extends BaseContactFolderDeltaCollectionRequestBuilder implements IContactFolderDeltaCollectionRequestBuilder { +public class ContactFolderDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IContactFolderDeltaCollectionRequestBuilder { /** * The request builder for this collection of ContactFolder @@ -25,4 +32,22 @@ public class ContactFolderDeltaCollectionRequestBuilder extends BaseContactFolde public ContactFolderDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IContactFolderDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IContactFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + ContactFolderDeltaCollectionRequest request = new ContactFolderDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionResponse.java new file mode 100644 index 00000000000..313c49b3776 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Contact Folder Delta Collection Response. + */ +public class ContactFolderDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequest.java index 67a0561689a..1027c4378e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContactFolderRequest; +import com.microsoft.graph.requests.extensions.ContactFolderRequest; +import com.microsoft.graph.models.extensions.ContactFolder; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ContactFolder; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactFolderRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Request. */ -public class ContactFolderRequest extends BaseContactFolderRequest implements IContactFolderRequest { - +public class ContactFolderRequest extends BaseRequest implements IContactFolderRequest { + /** * The request for the ContactFolder * @@ -26,4 +32,107 @@ public class ContactFolderRequest extends BaseContactFolderRequest implements IC public ContactFolderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ContactFolder.class); } + + /** + * Gets the ContactFolder from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ContactFolder from the service + * + * @return the ContactFolder from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContactFolder get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ContactFolder with a source + * + * @param sourceContactFolder the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ContactFolder sourceContactFolder, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceContactFolder); + } + + /** + * Patches this ContactFolder with a source + * + * @param sourceContactFolder the source object with updates + * @return the updated ContactFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContactFolder patch(final ContactFolder sourceContactFolder) throws ClientException { + return send(HttpMethod.PATCH, sourceContactFolder); + } + + /** + * Creates a ContactFolder with a new object + * + * @param newContactFolder the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ContactFolder newContactFolder, final ICallback callback) { + send(HttpMethod.POST, callback, newContactFolder); + } + + /** + * Creates a ContactFolder with a new object + * + * @param newContactFolder the new object to create + * @return the created ContactFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContactFolder post(final ContactFolder newContactFolder) throws ClientException { + return send(HttpMethod.POST, newContactFolder); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContactFolderRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ContactFolderRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContactFolderRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ContactFolderRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequestBuilder.java index 56e7cc95705..d21b2d104ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequestBuilder.java @@ -3,17 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContactFolderRequest; +import com.microsoft.graph.requests.extensions.ContactFolderRequest; +import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactFolderRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Folder Request Builder. */ -public class ContactFolderRequestBuilder extends BaseContactFolderRequestBuilder implements IContactFolderRequestBuilder { +public class ContactFolderRequestBuilder extends BaseRequestBuilder implements IContactFolderRequestBuilder { /** * The request builder for the ContactFolder @@ -25,4 +44,54 @@ public class ContactFolderRequestBuilder extends BaseContactFolderRequestBuilder public ContactFolderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IContactFolderRequest instance + */ + public IContactFolderRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IContactFolderRequest instance + */ + public IContactFolderRequest buildRequest(final java.util.List requestOptions) { + return new ContactFolderRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IContactCollectionRequestBuilder contacts() { + return new ContactCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contacts"), getClient(), null); + } + + public IContactRequestBuilder contacts(final String id) { + return new ContactRequestBuilder(getRequestUrlWithAdditionalSegment("contacts") + "/" + id, getClient(), null); + } + public IContactFolderCollectionRequestBuilder childFolders() { + return new ContactFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders"), getClient(), null); + } + + public IContactFolderRequestBuilder childFolders(final String id) { + return new ContactFolderRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactRequest.java index d2d1846fcd2..734c63c5a9a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContactRequest; +import com.microsoft.graph.requests.extensions.ContactRequest; +import com.microsoft.graph.models.extensions.Contact; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Contact; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Request. */ -public class ContactRequest extends BaseContactRequest implements IContactRequest { - +public class ContactRequest extends BaseRequest implements IContactRequest { + /** * The request for the Contact * @@ -26,4 +32,107 @@ public class ContactRequest extends BaseContactRequest implements IContactReques public ContactRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Contact.class); } + + /** + * Gets the Contact from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Contact from the service + * + * @return the Contact from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contact get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Contact with a source + * + * @param sourceContact the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Contact sourceContact, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceContact); + } + + /** + * Patches this Contact with a source + * + * @param sourceContact the source object with updates + * @return the updated Contact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contact patch(final Contact sourceContact) throws ClientException { + return send(HttpMethod.PATCH, sourceContact); + } + + /** + * Creates a Contact with a new object + * + * @param newContact the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Contact newContact, final ICallback callback) { + send(HttpMethod.POST, callback, newContact); + } + + /** + * Creates a Contact with a new object + * + * @param newContact the new object to create + * @return the created Contact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contact post(final Contact newContact) throws ClientException { + return send(HttpMethod.POST, newContact); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContactRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ContactRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContactRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ContactRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContactRequestBuilder.java index ad8b3bcfdcc..a5805072cc9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactRequestBuilder.java @@ -3,17 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContactRequest; +import com.microsoft.graph.requests.extensions.ContactRequest; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContactRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contact Request Builder. */ -public class ContactRequestBuilder extends BaseContactRequestBuilder implements IContactRequestBuilder { +public class ContactRequestBuilder extends BaseRequestBuilder implements IContactRequestBuilder { /** * The request builder for the Contact @@ -25,4 +42,56 @@ public class ContactRequestBuilder extends BaseContactRequestBuilder implements public ContactRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IContactRequest instance + */ + public IContactRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IContactRequest instance + */ + public IContactRequest buildRequest(final java.util.List requestOptions) { + return new ContactRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ProfilePhoto + * + * @return the IProfilePhotoRequestBuilder instance + */ + public IProfilePhotoRequestBuilder photo() { + return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photo"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionPage.java index 60c45d6657e..1c1d2a638bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ContentType; +import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseContentTypeCollectionPage; -import com.microsoft.graph.requests.generated.BaseContentTypeCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Collection Page. */ -public class ContentTypeCollectionPage extends BaseContentTypeCollectionPage implements IContentTypeCollectionPage { +public class ContentTypeCollectionPage extends BaseCollectionPage implements IContentTypeCollectionPage { /** - * A collection page for List. + * A collection page for ContentType * - * @param response the serialized BaseContentTypeCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ContentTypeCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ContentTypeCollectionPage(final BaseContentTypeCollectionResponse response, final IContentTypeCollectionRequestBuilder builder) { - super(response, builder); + public ContentTypeCollectionPage(final ContentTypeCollectionResponse response, final IContentTypeCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequest.java index 31e0a045099..d78d974920e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContentTypeCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Collection Request. */ -public class ContentTypeCollectionRequest extends BaseContentTypeCollectionRequest implements IContentTypeCollectionRequest { +public class ContentTypeCollectionRequest extends BaseCollectionRequest implements IContentTypeCollectionRequest { /** - * The request for this collection of List + * The request builder for this collection of ContentType * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ContentTypeCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ContentTypeCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ContentTypeCollectionResponse.class, IContentTypeCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IContentTypeCollectionPage get() throws ClientException { + final ContentTypeCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ContentType newContentType, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ContentTypeRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContentType, callback); + } + + public ContentType post(final ContentType newContentType) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ContentTypeRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContentType); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContentTypeCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ContentTypeCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContentTypeCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ContentTypeCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IContentTypeCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ContentTypeCollectionRequest)this; + } + + public IContentTypeCollectionPage buildFromResponse(final ContentTypeCollectionResponse response) { + final IContentTypeCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ContentTypeCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ContentTypeCollectionPage page = new ContentTypeCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequestBuilder.java index 75a6c2458f6..30057352cde 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContentTypeCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Collection Request Builder. */ -public class ContentTypeCollectionRequestBuilder extends BaseContentTypeCollectionRequestBuilder implements IContentTypeCollectionRequestBuilder { +public class ContentTypeCollectionRequestBuilder extends BaseRequestBuilder implements IContentTypeCollectionRequestBuilder { /** * The request builder for this collection of List @@ -25,4 +33,18 @@ public class ContentTypeCollectionRequestBuilder extends BaseContentTypeCollecti public ContentTypeCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IContentTypeCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IContentTypeCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ContentTypeCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IContentTypeRequestBuilder byId(final String id) { + return new ContentTypeRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionResponse.java new file mode 100644 index 00000000000..c8ca04b68c5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ContentType; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Content Type Collection Response. + */ +public class ContentTypeCollectionResponse implements IJsonBackedObject { + + /** + * The list of ContentType within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequest.java index 3b8b10d231c..52fa3f9af95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContentTypeRequest; +import com.microsoft.graph.requests.extensions.ContentTypeRequest; +import com.microsoft.graph.models.extensions.ContentType; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ContentType; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContentTypeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Request. */ -public class ContentTypeRequest extends BaseContentTypeRequest implements IContentTypeRequest { - +public class ContentTypeRequest extends BaseRequest implements IContentTypeRequest { + /** * The request for the ContentType * @@ -26,4 +32,107 @@ public class ContentTypeRequest extends BaseContentTypeRequest implements IConte public ContentTypeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ContentType.class); } + + /** + * Gets the ContentType from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ContentType from the service + * + * @return the ContentType from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContentType get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ContentType with a source + * + * @param sourceContentType the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ContentType sourceContentType, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceContentType); + } + + /** + * Patches this ContentType with a source + * + * @param sourceContentType the source object with updates + * @return the updated ContentType + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContentType patch(final ContentType sourceContentType) throws ClientException { + return send(HttpMethod.PATCH, sourceContentType); + } + + /** + * Creates a ContentType with a new object + * + * @param newContentType the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ContentType newContentType, final ICallback callback) { + send(HttpMethod.POST, callback, newContentType); + } + + /** + * Creates a ContentType with a new object + * + * @param newContentType the new object to create + * @return the created ContentType + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContentType post(final ContentType newContentType) throws ClientException { + return send(HttpMethod.POST, newContentType); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContentTypeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ContentTypeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContentTypeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ContentTypeRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequestBuilder.java index 09d0ff7d06b..ee97968678e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContentTypeRequest; +import com.microsoft.graph.requests.extensions.ContentTypeRequest; +import com.microsoft.graph.requests.extensions.IColumnLinkCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ColumnLinkCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IColumnLinkRequestBuilder; +import com.microsoft.graph.requests.extensions.ColumnLinkRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContentTypeRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Content Type Request Builder. */ -public class ContentTypeRequestBuilder extends BaseContentTypeRequestBuilder implements IContentTypeRequestBuilder { +public class ContentTypeRequestBuilder extends BaseRequestBuilder implements IContentTypeRequestBuilder { /** * The request builder for the ContentType @@ -25,4 +32,33 @@ public class ContentTypeRequestBuilder extends BaseContentTypeRequestBuilder imp public ContentTypeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IContentTypeRequest instance + */ + public IContentTypeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IContentTypeRequest instance + */ + public IContentTypeRequest buildRequest(final java.util.List requestOptions) { + return new ContentTypeRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IColumnLinkCollectionRequestBuilder columnLinks() { + return new ColumnLinkCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columnLinks"), getClient(), null); + } + + public IColumnLinkRequestBuilder columnLinks(final String id) { + return new ColumnLinkRequestBuilder(getRequestUrlWithAdditionalSegment("columnLinks") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionPage.java index 8d0bdb98796..158a5edb9f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Contract; +import com.microsoft.graph.requests.extensions.IContractCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseContractCollectionPage; -import com.microsoft.graph.requests.generated.BaseContractCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contract Collection Page. */ -public class ContractCollectionPage extends BaseContractCollectionPage implements IContractCollectionPage { +public class ContractCollectionPage extends BaseCollectionPage implements IContractCollectionPage { /** - * A collection page for Contract. + * A collection page for Contract * - * @param response the serialized BaseContractCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ContractCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ContractCollectionPage(final BaseContractCollectionResponse response, final IContractCollectionRequestBuilder builder) { - super(response, builder); + public ContractCollectionPage(final ContractCollectionResponse response, final IContractCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequest.java index 6a44cac9b49..b5cbfc99f98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContractCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contract Collection Request. */ -public class ContractCollectionRequest extends BaseContractCollectionRequest implements IContractCollectionRequest { +public class ContractCollectionRequest extends BaseCollectionRequest implements IContractCollectionRequest { /** - * The request for this collection of Contract + * The request builder for this collection of Contract * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ContractCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ContractCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ContractCollectionResponse.class, IContractCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IContractCollectionPage get() throws ClientException { + final ContractCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Contract newContract, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ContractRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContract, callback); + } + + public Contract post(final Contract newContract) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ContractRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newContract); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContractCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ContractCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContractCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ContractCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IContractCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ContractCollectionRequest)this; + } + + public IContractCollectionPage buildFromResponse(final ContractCollectionResponse response) { + final IContractCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ContractCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ContractCollectionPage page = new ContractCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequestBuilder.java index 893757df253..927182f0288 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContractCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contract Collection Request Builder. */ -public class ContractCollectionRequestBuilder extends BaseContractCollectionRequestBuilder implements IContractCollectionRequestBuilder { +public class ContractCollectionRequestBuilder extends BaseRequestBuilder implements IContractCollectionRequestBuilder { /** * The request builder for this collection of Contract @@ -25,4 +33,18 @@ public class ContractCollectionRequestBuilder extends BaseContractCollectionRequ public ContractCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IContractCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IContractCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ContractCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IContractRequestBuilder byId(final String id) { + return new ContractRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionResponse.java new file mode 100644 index 00000000000..f085f46f3eb --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Contract; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Contract Collection Response. + */ +public class ContractCollectionResponse implements IJsonBackedObject { + + /** + * The list of Contract within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContractRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ContractRequest.java index 8d13f2d126d..574cdfbe34c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContractRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContractRequest; +import com.microsoft.graph.requests.extensions.ContractRequest; +import com.microsoft.graph.models.extensions.Contract; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Contract; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContractRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contract Request. */ -public class ContractRequest extends BaseContractRequest implements IContractRequest { - +public class ContractRequest extends BaseRequest implements IContractRequest { + /** * The request for the Contract * @@ -26,4 +32,107 @@ public class ContractRequest extends BaseContractRequest implements IContractReq public ContractRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Contract.class); } + + /** + * Gets the Contract from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Contract from the service + * + * @return the Contract from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contract get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Contract with a source + * + * @param sourceContract the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Contract sourceContract, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceContract); + } + + /** + * Patches this Contract with a source + * + * @param sourceContract the source object with updates + * @return the updated Contract + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contract patch(final Contract sourceContract) throws ClientException { + return send(HttpMethod.PATCH, sourceContract); + } + + /** + * Creates a Contract with a new object + * + * @param newContract the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Contract newContract, final ICallback callback) { + send(HttpMethod.POST, callback, newContract); + } + + /** + * Creates a Contract with a new object + * + * @param newContract the new object to create + * @return the created Contract + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contract post(final Contract newContract) throws ClientException { + return send(HttpMethod.POST, newContract); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IContractRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ContractRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IContractRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ContractRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ContractRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ContractRequestBuilder.java index 856aff0985d..36ec48eead6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContractRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContractRequest; +import com.microsoft.graph.requests.extensions.ContractRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseContractRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Contract Request Builder. */ -public class ContractRequestBuilder extends BaseContractRequestBuilder implements IContractRequestBuilder { +public class ContractRequestBuilder extends BaseRequestBuilder implements IContractRequestBuilder { /** * The request builder for the Contract @@ -25,4 +28,26 @@ public class ContractRequestBuilder extends BaseContractRequestBuilder implement public ContractRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IContractRequest instance + */ + public IContractRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IContractRequest instance + */ + public IContractRequest buildRequest(final java.util.List requestOptions) { + return new ContractRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionPage.java index 045315babe2..a52e4307159 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Conversation; +import com.microsoft.graph.requests.extensions.IConversationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseConversationCollectionPage; -import com.microsoft.graph.requests.generated.BaseConversationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Collection Page. */ -public class ConversationCollectionPage extends BaseConversationCollectionPage implements IConversationCollectionPage { +public class ConversationCollectionPage extends BaseCollectionPage implements IConversationCollectionPage { /** - * A collection page for Group. + * A collection page for Conversation * - * @param response the serialized BaseConversationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ConversationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ConversationCollectionPage(final BaseConversationCollectionResponse response, final IConversationCollectionRequestBuilder builder) { - super(response, builder); + public ConversationCollectionPage(final ConversationCollectionResponse response, final IConversationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequest.java index c3f0630b207..445c993952f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Collection Request. */ -public class ConversationCollectionRequest extends BaseConversationCollectionRequest implements IConversationCollectionRequest { +public class ConversationCollectionRequest extends BaseCollectionRequest implements IConversationCollectionRequest { /** - * The request for this collection of Group + * The request builder for this collection of Conversation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ConversationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ConversationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ConversationCollectionResponse.class, IConversationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IConversationCollectionPage get() throws ClientException { + final ConversationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Conversation newConversation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ConversationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newConversation, callback); + } + + public Conversation post(final Conversation newConversation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ConversationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newConversation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IConversationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ConversationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IConversationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ConversationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IConversationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ConversationCollectionRequest)this; + } + + public IConversationCollectionPage buildFromResponse(final ConversationCollectionResponse response) { + final IConversationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ConversationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ConversationCollectionPage page = new ConversationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequestBuilder.java index 9bca2644475..a1c091f4931 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Collection Request Builder. */ -public class ConversationCollectionRequestBuilder extends BaseConversationCollectionRequestBuilder implements IConversationCollectionRequestBuilder { +public class ConversationCollectionRequestBuilder extends BaseRequestBuilder implements IConversationCollectionRequestBuilder { /** * The request builder for this collection of Group @@ -25,4 +33,18 @@ public class ConversationCollectionRequestBuilder extends BaseConversationCollec public ConversationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IConversationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IConversationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ConversationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IConversationRequestBuilder byId(final String id) { + return new ConversationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionResponse.java new file mode 100644 index 00000000000..7cff2817d81 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Conversation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Conversation Collection Response. + */ +public class ConversationCollectionResponse implements IJsonBackedObject { + + /** + * The list of Conversation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequest.java index e0faa6871b4..a32d78c76bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationRequest; +import com.microsoft.graph.requests.extensions.ConversationRequest; +import com.microsoft.graph.models.extensions.Conversation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Conversation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Request. */ -public class ConversationRequest extends BaseConversationRequest implements IConversationRequest { - +public class ConversationRequest extends BaseRequest implements IConversationRequest { + /** * The request for the Conversation * @@ -26,4 +32,107 @@ public class ConversationRequest extends BaseConversationRequest implements ICon public ConversationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Conversation.class); } + + /** + * Gets the Conversation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Conversation from the service + * + * @return the Conversation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Conversation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Conversation with a source + * + * @param sourceConversation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Conversation sourceConversation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceConversation); + } + + /** + * Patches this Conversation with a source + * + * @param sourceConversation the source object with updates + * @return the updated Conversation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Conversation patch(final Conversation sourceConversation) throws ClientException { + return send(HttpMethod.PATCH, sourceConversation); + } + + /** + * Creates a Conversation with a new object + * + * @param newConversation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Conversation newConversation, final ICallback callback) { + send(HttpMethod.POST, callback, newConversation); + } + + /** + * Creates a Conversation with a new object + * + * @param newConversation the new object to create + * @return the created Conversation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Conversation post(final Conversation newConversation) throws ClientException { + return send(HttpMethod.POST, newConversation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IConversationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ConversationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IConversationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ConversationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequestBuilder.java index cf580d94d9a..fe6e21144d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationRequest; +import com.microsoft.graph.requests.extensions.ConversationRequest; +import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationThreadRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Request Builder. */ -public class ConversationRequestBuilder extends BaseConversationRequestBuilder implements IConversationRequestBuilder { +public class ConversationRequestBuilder extends BaseRequestBuilder implements IConversationRequestBuilder { /** * The request builder for the Conversation @@ -25,4 +32,33 @@ public class ConversationRequestBuilder extends BaseConversationRequestBuilder i public ConversationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IConversationRequest instance + */ + public IConversationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IConversationRequest instance + */ + public IConversationRequest buildRequest(final java.util.List requestOptions) { + return new ConversationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IConversationThreadCollectionRequestBuilder threads() { + return new ConversationThreadCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("threads"), getClient(), null); + } + + public IConversationThreadRequestBuilder threads(final String id) { + return new ConversationThreadRequestBuilder(getRequestUrlWithAdditionalSegment("threads") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionPage.java index 7613e8c48b2..81ecb2d27fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ConversationThread; +import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseConversationThreadCollectionPage; -import com.microsoft.graph.requests.generated.BaseConversationThreadCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Collection Page. */ -public class ConversationThreadCollectionPage extends BaseConversationThreadCollectionPage implements IConversationThreadCollectionPage { +public class ConversationThreadCollectionPage extends BaseCollectionPage implements IConversationThreadCollectionPage { /** - * A collection page for Conversation. + * A collection page for ConversationThread * - * @param response the serialized BaseConversationThreadCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ConversationThreadCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ConversationThreadCollectionPage(final BaseConversationThreadCollectionResponse response, final IConversationThreadCollectionRequestBuilder builder) { - super(response, builder); + public ConversationThreadCollectionPage(final ConversationThreadCollectionResponse response, final IConversationThreadCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequest.java index d0dc24ffcde..04eb45c0f8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationThreadCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Collection Request. */ -public class ConversationThreadCollectionRequest extends BaseConversationThreadCollectionRequest implements IConversationThreadCollectionRequest { +public class ConversationThreadCollectionRequest extends BaseCollectionRequest implements IConversationThreadCollectionRequest { /** - * The request for this collection of Conversation + * The request builder for this collection of ConversationThread * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ConversationThreadCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ConversationThreadCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ConversationThreadCollectionResponse.class, IConversationThreadCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IConversationThreadCollectionPage get() throws ClientException { + final ConversationThreadCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ConversationThread newConversationThread, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ConversationThreadRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newConversationThread, callback); + } + + public ConversationThread post(final ConversationThread newConversationThread) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ConversationThreadRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newConversationThread); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IConversationThreadCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ConversationThreadCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IConversationThreadCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ConversationThreadCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IConversationThreadCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ConversationThreadCollectionRequest)this; + } + + public IConversationThreadCollectionPage buildFromResponse(final ConversationThreadCollectionResponse response) { + final IConversationThreadCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ConversationThreadCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ConversationThreadCollectionPage page = new ConversationThreadCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequestBuilder.java index 1574dd49c30..07f2b32d098 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Collection Request Builder. */ -public class ConversationThreadCollectionRequestBuilder extends BaseConversationThreadCollectionRequestBuilder implements IConversationThreadCollectionRequestBuilder { +public class ConversationThreadCollectionRequestBuilder extends BaseRequestBuilder implements IConversationThreadCollectionRequestBuilder { /** * The request builder for this collection of Conversation @@ -25,4 +33,18 @@ public class ConversationThreadCollectionRequestBuilder extends BaseConversation public ConversationThreadCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IConversationThreadCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IConversationThreadCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ConversationThreadCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IConversationThreadRequestBuilder byId(final String id) { + return new ConversationThreadRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionResponse.java new file mode 100644 index 00000000000..3fe5ddea489 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ConversationThread; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Conversation Thread Collection Response. + */ +public class ConversationThreadCollectionResponse implements IJsonBackedObject { + + /** + * The list of ConversationThread within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequest.java index e601a5390a0..cc489e9b35f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ConversationThreadReplyBody; +import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; +import com.microsoft.graph.requests.extensions.ConversationThreadReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationThreadReplyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Reply Request. */ -public class ConversationThreadReplyRequest extends BaseConversationThreadReplyRequest implements IConversationThreadReplyRequest { +public class ConversationThreadReplyRequest extends BaseRequest implements IConversationThreadReplyRequest { + protected final ConversationThreadReplyBody body; /** * The request for this ConversationThreadReply @@ -23,6 +31,49 @@ public class ConversationThreadReplyRequest extends BaseConversationThreadReplyR * @param requestOptions the options for this request */ public ConversationThreadReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ConversationThreadReplyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IConversationThreadReplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ConversationThreadReplyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IConversationThreadReplyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ConversationThreadReplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IConversationThreadReplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ConversationThreadReplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequestBuilder.java index 142f0c4c07b..cc2ca2a56fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadReplyRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; +import com.microsoft.graph.requests.extensions.ConversationThreadReplyRequest; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Post; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationThreadReplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Reply Request Builder. */ -public class ConversationThreadReplyRequestBuilder extends BaseConversationThreadReplyRequestBuilder implements IConversationThreadReplyRequestBuilder { +public class ConversationThreadReplyRequestBuilder extends BaseActionRequestBuilder implements IConversationThreadReplyRequestBuilder { /** * The request builder for this ConversationThreadReply @@ -25,6 +30,36 @@ public class ConversationThreadReplyRequestBuilder extends BaseConversationThrea * @param post the post */ public ConversationThreadReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Post post) { - super(requestUrl, client, requestOptions, post); + super(requestUrl, client, requestOptions); + bodyParams.put("post", post); + } + + /** + * Creates the IConversationThreadReplyRequest + * + * @return the IConversationThreadReplyRequest instance + */ + public IConversationThreadReplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IConversationThreadReplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IConversationThreadReplyRequest instance + */ + public IConversationThreadReplyRequest buildRequest(final java.util.List requestOptions) { + ConversationThreadReplyRequest request = new ConversationThreadReplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("post")) { + request.body.post = getParameter("post"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequest.java index 72613871aba..056a1eb9586 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationThreadRequest; +import com.microsoft.graph.requests.extensions.ConversationThreadRequest; +import com.microsoft.graph.models.extensions.ConversationThread; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ConversationThread; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationThreadRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Request. */ -public class ConversationThreadRequest extends BaseConversationThreadRequest implements IConversationThreadRequest { - +public class ConversationThreadRequest extends BaseRequest implements IConversationThreadRequest { + /** * The request for the ConversationThread * @@ -26,4 +32,107 @@ public class ConversationThreadRequest extends BaseConversationThreadRequest imp public ConversationThreadRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ConversationThread.class); } + + /** + * Gets the ConversationThread from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ConversationThread from the service + * + * @return the ConversationThread from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConversationThread get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ConversationThread with a source + * + * @param sourceConversationThread the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ConversationThread sourceConversationThread, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceConversationThread); + } + + /** + * Patches this ConversationThread with a source + * + * @param sourceConversationThread the source object with updates + * @return the updated ConversationThread + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConversationThread patch(final ConversationThread sourceConversationThread) throws ClientException { + return send(HttpMethod.PATCH, sourceConversationThread); + } + + /** + * Creates a ConversationThread with a new object + * + * @param newConversationThread the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ConversationThread newConversationThread, final ICallback callback) { + send(HttpMethod.POST, callback, newConversationThread); + } + + /** + * Creates a ConversationThread with a new object + * + * @param newConversationThread the new object to create + * @return the created ConversationThread + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConversationThread post(final ConversationThread newConversationThread) throws ClientException { + return send(HttpMethod.POST, newConversationThread); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IConversationThreadRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ConversationThreadRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IConversationThreadRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ConversationThreadRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequestBuilder.java index 8903cd8565d..71c9bcc63b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequestBuilder.java @@ -3,17 +3,27 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationThreadRequest; +import com.microsoft.graph.requests.extensions.ConversationThreadRequest; +import com.microsoft.graph.requests.extensions.IPostCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PostCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPostRequestBuilder; +import com.microsoft.graph.requests.extensions.PostRequestBuilder; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationThreadReplyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseConversationThreadRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Conversation Thread Request Builder. */ -public class ConversationThreadRequestBuilder extends BaseConversationThreadRequestBuilder implements IConversationThreadRequestBuilder { +public class ConversationThreadRequestBuilder extends BaseRequestBuilder implements IConversationThreadRequestBuilder { /** * The request builder for the ConversationThread @@ -25,4 +35,37 @@ public class ConversationThreadRequestBuilder extends BaseConversationThreadRequ public ConversationThreadRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IConversationThreadRequest instance + */ + public IConversationThreadRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IConversationThreadRequest instance + */ + public IConversationThreadRequest buildRequest(final java.util.List requestOptions) { + return new ConversationThreadRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IPostCollectionRequestBuilder posts() { + return new PostCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("posts"), getClient(), null); + } + + public IPostRequestBuilder posts(final String id) { + return new PostRequestBuilder(getRequestUrlWithAdditionalSegment("posts") + "/" + id, getClient(), null); + } + + public IConversationThreadReplyRequestBuilder reply(final Post post) { + return new ConversationThreadReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reply"), getClient(), null, post); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionPage.java index 95a172c62b0..9bd55f6fb55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DataPolicyOperation; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDataPolicyOperationCollectionPage; -import com.microsoft.graph.requests.generated.BaseDataPolicyOperationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Data Policy Operation Collection Page. */ -public class DataPolicyOperationCollectionPage extends BaseDataPolicyOperationCollectionPage implements IDataPolicyOperationCollectionPage { +public class DataPolicyOperationCollectionPage extends BaseCollectionPage implements IDataPolicyOperationCollectionPage { /** - * A collection page for DataPolicyOperation. + * A collection page for DataPolicyOperation * - * @param response the serialized BaseDataPolicyOperationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DataPolicyOperationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DataPolicyOperationCollectionPage(final BaseDataPolicyOperationCollectionResponse response, final IDataPolicyOperationCollectionRequestBuilder builder) { - super(response, builder); + public DataPolicyOperationCollectionPage(final DataPolicyOperationCollectionResponse response, final IDataPolicyOperationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequest.java index 83de0ae163c..b9d6d5de3ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDataPolicyOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Data Policy Operation Collection Request. */ -public class DataPolicyOperationCollectionRequest extends BaseDataPolicyOperationCollectionRequest implements IDataPolicyOperationCollectionRequest { +public class DataPolicyOperationCollectionRequest extends BaseCollectionRequest implements IDataPolicyOperationCollectionRequest { /** - * The request for this collection of DataPolicyOperation + * The request builder for this collection of DataPolicyOperation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DataPolicyOperationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DataPolicyOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DataPolicyOperationCollectionResponse.class, IDataPolicyOperationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDataPolicyOperationCollectionPage get() throws ClientException { + final DataPolicyOperationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DataPolicyOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDataPolicyOperation, callback); + } + + public DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DataPolicyOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDataPolicyOperation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDataPolicyOperationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DataPolicyOperationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDataPolicyOperationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DataPolicyOperationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDataPolicyOperationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DataPolicyOperationCollectionRequest)this; + } + + public IDataPolicyOperationCollectionPage buildFromResponse(final DataPolicyOperationCollectionResponse response) { + final IDataPolicyOperationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DataPolicyOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DataPolicyOperationCollectionPage page = new DataPolicyOperationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequestBuilder.java index 8e8e831f136..54c60cda3b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDataPolicyOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Data Policy Operation Collection Request Builder. */ -public class DataPolicyOperationCollectionRequestBuilder extends BaseDataPolicyOperationCollectionRequestBuilder implements IDataPolicyOperationCollectionRequestBuilder { +public class DataPolicyOperationCollectionRequestBuilder extends BaseRequestBuilder implements IDataPolicyOperationCollectionRequestBuilder { /** * The request builder for this collection of DataPolicyOperation @@ -25,4 +33,18 @@ public class DataPolicyOperationCollectionRequestBuilder extends BaseDataPolicyO public DataPolicyOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDataPolicyOperationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDataPolicyOperationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DataPolicyOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDataPolicyOperationRequestBuilder byId(final String id) { + return new DataPolicyOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionResponse.java new file mode 100644 index 00000000000..41430af6f60 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DataPolicyOperation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Data Policy Operation Collection Response. + */ +public class DataPolicyOperationCollectionResponse implements IJsonBackedObject { + + /** + * The list of DataPolicyOperation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequest.java index d61895879b8..ce30c04e4f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequest; +import com.microsoft.graph.requests.extensions.DataPolicyOperationRequest; +import com.microsoft.graph.models.extensions.DataPolicyOperation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DataPolicyOperation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDataPolicyOperationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Data Policy Operation Request. */ -public class DataPolicyOperationRequest extends BaseDataPolicyOperationRequest implements IDataPolicyOperationRequest { - +public class DataPolicyOperationRequest extends BaseRequest implements IDataPolicyOperationRequest { + /** * The request for the DataPolicyOperation * @@ -26,4 +32,107 @@ public class DataPolicyOperationRequest extends BaseDataPolicyOperationRequest i public DataPolicyOperationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DataPolicyOperation.class); } + + /** + * Gets the DataPolicyOperation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DataPolicyOperation from the service + * + * @return the DataPolicyOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DataPolicyOperation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DataPolicyOperation with a source + * + * @param sourceDataPolicyOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DataPolicyOperation sourceDataPolicyOperation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDataPolicyOperation); + } + + /** + * Patches this DataPolicyOperation with a source + * + * @param sourceDataPolicyOperation the source object with updates + * @return the updated DataPolicyOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DataPolicyOperation patch(final DataPolicyOperation sourceDataPolicyOperation) throws ClientException { + return send(HttpMethod.PATCH, sourceDataPolicyOperation); + } + + /** + * Creates a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback) { + send(HttpMethod.POST, callback, newDataPolicyOperation); + } + + /** + * Creates a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the new object to create + * @return the created DataPolicyOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException { + return send(HttpMethod.POST, newDataPolicyOperation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDataPolicyOperationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DataPolicyOperationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDataPolicyOperationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DataPolicyOperationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequestBuilder.java index 3dc1553ccba..9a4fa477188 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequest; +import com.microsoft.graph.requests.extensions.DataPolicyOperationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDataPolicyOperationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Data Policy Operation Request Builder. */ -public class DataPolicyOperationRequestBuilder extends BaseDataPolicyOperationRequestBuilder implements IDataPolicyOperationRequestBuilder { +public class DataPolicyOperationRequestBuilder extends BaseRequestBuilder implements IDataPolicyOperationRequestBuilder { /** * The request builder for the DataPolicyOperation @@ -25,4 +28,26 @@ public class DataPolicyOperationRequestBuilder extends BaseDataPolicyOperationRe public DataPolicyOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDataPolicyOperationRequest instance + */ + public IDataPolicyOperationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDataPolicyOperationRequest instance + */ + public IDataPolicyOperationRequest buildRequest(final java.util.List requestOptions) { + return new DataPolicyOperationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionPage.java index b8f3b1c3be2..3f0456272e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Managed App Protection Collection Page. */ -public class DefaultManagedAppProtectionCollectionPage extends BaseDefaultManagedAppProtectionCollectionPage implements IDefaultManagedAppProtectionCollectionPage { +public class DefaultManagedAppProtectionCollectionPage extends BaseCollectionPage implements IDefaultManagedAppProtectionCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for DefaultManagedAppProtection * - * @param response the serialized BaseDefaultManagedAppProtectionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DefaultManagedAppProtectionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DefaultManagedAppProtectionCollectionPage(final BaseDefaultManagedAppProtectionCollectionResponse response, final IDefaultManagedAppProtectionCollectionRequestBuilder builder) { - super(response, builder); + public DefaultManagedAppProtectionCollectionPage(final DefaultManagedAppProtectionCollectionResponse response, final IDefaultManagedAppProtectionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequest.java index b08d7dbb064..15faf6fd2fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Managed App Protection Collection Request. */ -public class DefaultManagedAppProtectionCollectionRequest extends BaseDefaultManagedAppProtectionCollectionRequest implements IDefaultManagedAppProtectionCollectionRequest { +public class DefaultManagedAppProtectionCollectionRequest extends BaseCollectionRequest implements IDefaultManagedAppProtectionCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of DefaultManagedAppProtection * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DefaultManagedAppProtectionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DefaultManagedAppProtectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DefaultManagedAppProtectionCollectionResponse.class, IDefaultManagedAppProtectionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDefaultManagedAppProtectionCollectionPage get() throws ClientException { + final DefaultManagedAppProtectionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DefaultManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDefaultManagedAppProtection, callback); + } + + public DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DefaultManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDefaultManagedAppProtection); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDefaultManagedAppProtectionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DefaultManagedAppProtectionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDefaultManagedAppProtectionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DefaultManagedAppProtectionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDefaultManagedAppProtectionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DefaultManagedAppProtectionCollectionRequest)this; + } + + public IDefaultManagedAppProtectionCollectionPage buildFromResponse(final DefaultManagedAppProtectionCollectionResponse response) { + final IDefaultManagedAppProtectionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DefaultManagedAppProtectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DefaultManagedAppProtectionCollectionPage page = new DefaultManagedAppProtectionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequestBuilder.java index d61dd43513e..a97070d6d2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Managed App Protection Collection Request Builder. */ -public class DefaultManagedAppProtectionCollectionRequestBuilder extends BaseDefaultManagedAppProtectionCollectionRequestBuilder implements IDefaultManagedAppProtectionCollectionRequestBuilder { +public class DefaultManagedAppProtectionCollectionRequestBuilder extends BaseRequestBuilder implements IDefaultManagedAppProtectionCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class DefaultManagedAppProtectionCollectionRequestBuilder extends BaseDef public DefaultManagedAppProtectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDefaultManagedAppProtectionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDefaultManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DefaultManagedAppProtectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDefaultManagedAppProtectionRequestBuilder byId(final String id) { + return new DefaultManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionResponse.java new file mode 100644 index 00000000000..05beaae5b41 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Default Managed App Protection Collection Response. + */ +public class DefaultManagedAppProtectionCollectionResponse implements IJsonBackedObject { + + /** + * The list of DefaultManagedAppProtection within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequest.java index 3b0c9526dce..494cbad4c7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Managed App Protection Request. */ -public class DefaultManagedAppProtectionRequest extends BaseDefaultManagedAppProtectionRequest implements IDefaultManagedAppProtectionRequest { - +public class DefaultManagedAppProtectionRequest extends BaseRequest implements IDefaultManagedAppProtectionRequest { + /** * The request for the DefaultManagedAppProtection * @@ -26,4 +32,107 @@ public class DefaultManagedAppProtectionRequest extends BaseDefaultManagedAppPro public DefaultManagedAppProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DefaultManagedAppProtection.class); } + + /** + * Gets the DefaultManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DefaultManagedAppProtection from the service + * + * @return the DefaultManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DefaultManagedAppProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DefaultManagedAppProtection with a source + * + * @param sourceDefaultManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDefaultManagedAppProtection); + } + + /** + * Patches this DefaultManagedAppProtection with a source + * + * @param sourceDefaultManagedAppProtection the source object with updates + * @return the updated DefaultManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DefaultManagedAppProtection patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceDefaultManagedAppProtection); + } + + /** + * Creates a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newDefaultManagedAppProtection); + } + + /** + * Creates a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the new object to create + * @return the created DefaultManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException { + return send(HttpMethod.POST, newDefaultManagedAppProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDefaultManagedAppProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DefaultManagedAppProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDefaultManagedAppProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DefaultManagedAppProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequestBuilder.java index aa4f768bfd2..34354356c03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDefaultManagedAppProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Default Managed App Protection Request Builder. */ -public class DefaultManagedAppProtectionRequestBuilder extends BaseDefaultManagedAppProtectionRequestBuilder implements IDefaultManagedAppProtectionRequestBuilder { +public class DefaultManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IDefaultManagedAppProtectionRequestBuilder { /** * The request builder for the DefaultManagedAppProtection @@ -25,4 +34,42 @@ public class DefaultManagedAppProtectionRequestBuilder extends BaseDefaultManage public DefaultManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDefaultManagedAppProtectionRequest instance + */ + public IDefaultManagedAppProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDefaultManagedAppProtectionRequest instance + */ + public IDefaultManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { + return new DefaultManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedMobileAppCollectionRequestBuilder apps() { + return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); + } + + public IManagedMobileAppRequestBuilder apps(final String id) { + return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { + return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionPage.java index f74957481ba..744aff3fdc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DetectedApp; +import com.microsoft.graph.requests.extensions.IDetectedAppCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDetectedAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseDetectedAppCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Detected App Collection Page. */ -public class DetectedAppCollectionPage extends BaseDetectedAppCollectionPage implements IDetectedAppCollectionPage { +public class DetectedAppCollectionPage extends BaseCollectionPage implements IDetectedAppCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DetectedApp * - * @param response the serialized BaseDetectedAppCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DetectedAppCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DetectedAppCollectionPage(final BaseDetectedAppCollectionResponse response, final IDetectedAppCollectionRequestBuilder builder) { - super(response, builder); + public DetectedAppCollectionPage(final DetectedAppCollectionResponse response, final IDetectedAppCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequest.java index 982d5d4cbee..2eceb7754c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDetectedAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Detected App Collection Request. */ -public class DetectedAppCollectionRequest extends BaseDetectedAppCollectionRequest implements IDetectedAppCollectionRequest { +public class DetectedAppCollectionRequest extends BaseCollectionRequest implements IDetectedAppCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DetectedApp * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DetectedAppCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DetectedAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DetectedAppCollectionResponse.class, IDetectedAppCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDetectedAppCollectionPage get() throws ClientException { + final DetectedAppCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DetectedApp newDetectedApp, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DetectedAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDetectedApp, callback); + } + + public DetectedApp post(final DetectedApp newDetectedApp) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DetectedAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDetectedApp); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDetectedAppCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DetectedAppCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDetectedAppCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DetectedAppCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDetectedAppCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DetectedAppCollectionRequest)this; + } + + public IDetectedAppCollectionPage buildFromResponse(final DetectedAppCollectionResponse response) { + final IDetectedAppCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DetectedAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DetectedAppCollectionPage page = new DetectedAppCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequestBuilder.java index 0b2760b810e..c2d38b37567 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDetectedAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Detected App Collection Request Builder. */ -public class DetectedAppCollectionRequestBuilder extends BaseDetectedAppCollectionRequestBuilder implements IDetectedAppCollectionRequestBuilder { +public class DetectedAppCollectionRequestBuilder extends BaseRequestBuilder implements IDetectedAppCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DetectedAppCollectionRequestBuilder extends BaseDetectedAppCollecti public DetectedAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDetectedAppCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDetectedAppCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DetectedAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDetectedAppRequestBuilder byId(final String id) { + return new DetectedAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionResponse.java new file mode 100644 index 00000000000..84d4e2feb8b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DetectedApp; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Detected App Collection Response. + */ +public class DetectedAppCollectionResponse implements IJsonBackedObject { + + /** + * The list of DetectedApp within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequest.java index c372951516e..feca711324f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDetectedAppRequest; +import com.microsoft.graph.requests.extensions.DetectedAppRequest; +import com.microsoft.graph.models.extensions.DetectedApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DetectedApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDetectedAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Detected App Request. */ -public class DetectedAppRequest extends BaseDetectedAppRequest implements IDetectedAppRequest { - +public class DetectedAppRequest extends BaseRequest implements IDetectedAppRequest { + /** * The request for the DetectedApp * @@ -26,4 +32,107 @@ public class DetectedAppRequest extends BaseDetectedAppRequest implements IDetec public DetectedAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DetectedApp.class); } + + /** + * Gets the DetectedApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DetectedApp from the service + * + * @return the DetectedApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DetectedApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DetectedApp with a source + * + * @param sourceDetectedApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DetectedApp sourceDetectedApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDetectedApp); + } + + /** + * Patches this DetectedApp with a source + * + * @param sourceDetectedApp the source object with updates + * @return the updated DetectedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DetectedApp patch(final DetectedApp sourceDetectedApp) throws ClientException { + return send(HttpMethod.PATCH, sourceDetectedApp); + } + + /** + * Creates a DetectedApp with a new object + * + * @param newDetectedApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DetectedApp newDetectedApp, final ICallback callback) { + send(HttpMethod.POST, callback, newDetectedApp); + } + + /** + * Creates a DetectedApp with a new object + * + * @param newDetectedApp the new object to create + * @return the created DetectedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DetectedApp post(final DetectedApp newDetectedApp) throws ClientException { + return send(HttpMethod.POST, newDetectedApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDetectedAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DetectedAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDetectedAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DetectedAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequestBuilder.java index 8f57c6a7b2c..24dfc29996e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDetectedAppRequest; +import com.microsoft.graph.requests.extensions.DetectedAppRequest; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDetectedAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Detected App Request Builder. */ -public class DetectedAppRequestBuilder extends BaseDetectedAppRequestBuilder implements IDetectedAppRequestBuilder { +public class DetectedAppRequestBuilder extends BaseRequestBuilder implements IDetectedAppRequestBuilder { /** * The request builder for the DetectedApp @@ -25,4 +32,33 @@ public class DetectedAppRequestBuilder extends BaseDetectedAppRequestBuilder imp public DetectedAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDetectedAppRequest instance + */ + public IDetectedAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDetectedAppRequest instance + */ + public IDetectedAppRequest buildRequest(final java.util.List requestOptions) { + return new DetectedAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedDeviceCollectionWithReferencesRequestBuilder managedDevices() { + return new ManagedDeviceCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices"), getClient(), null); + } + + public IManagedDeviceWithReferenceRequestBuilder managedDevices(final String id) { + return new ManagedDeviceWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionPage.java index 2f1a2036988..8dbb12c854c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Assignment Collection Page. */ -public class DeviceAndAppManagementRoleAssignmentCollectionPage extends BaseDeviceAndAppManagementRoleAssignmentCollectionPage implements IDeviceAndAppManagementRoleAssignmentCollectionPage { +public class DeviceAndAppManagementRoleAssignmentCollectionPage extends BaseCollectionPage implements IDeviceAndAppManagementRoleAssignmentCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceAndAppManagementRoleAssignment * - * @param response the serialized BaseDeviceAndAppManagementRoleAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceAndAppManagementRoleAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceAndAppManagementRoleAssignmentCollectionPage(final BaseDeviceAndAppManagementRoleAssignmentCollectionResponse response, final IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public DeviceAndAppManagementRoleAssignmentCollectionPage(final DeviceAndAppManagementRoleAssignmentCollectionResponse response, final IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequest.java index fe2fd012317..42c2d64dc68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Assignment Collection Request. */ -public class DeviceAndAppManagementRoleAssignmentCollectionRequest extends BaseDeviceAndAppManagementRoleAssignmentCollectionRequest implements IDeviceAndAppManagementRoleAssignmentCollectionRequest { +public class DeviceAndAppManagementRoleAssignmentCollectionRequest extends BaseCollectionRequest implements IDeviceAndAppManagementRoleAssignmentCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceAndAppManagementRoleAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceAndAppManagementRoleAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceAndAppManagementRoleAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceAndAppManagementRoleAssignmentCollectionResponse.class, IDeviceAndAppManagementRoleAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceAndAppManagementRoleAssignmentCollectionPage get() throws ClientException { + final DeviceAndAppManagementRoleAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceAndAppManagementRoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceAndAppManagementRoleAssignment, callback); + } + + public DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceAndAppManagementRoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceAndAppManagementRoleAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceAndAppManagementRoleAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceAndAppManagementRoleAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceAndAppManagementRoleAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceAndAppManagementRoleAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceAndAppManagementRoleAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceAndAppManagementRoleAssignmentCollectionRequest)this; + } + + public IDeviceAndAppManagementRoleAssignmentCollectionPage buildFromResponse(final DeviceAndAppManagementRoleAssignmentCollectionResponse response) { + final IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceAndAppManagementRoleAssignmentCollectionPage page = new DeviceAndAppManagementRoleAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java index de3feea75b3..f4ebdf97dbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Assignment Collection Request Builder. */ -public class DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extends BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder implements IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder { +public class DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extend public DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceAndAppManagementRoleAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceAndAppManagementRoleAssignmentRequestBuilder byId(final String id) { + return new DeviceAndAppManagementRoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionResponse.java new file mode 100644 index 00000000000..64968a554e8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device And App Management Role Assignment Collection Response. + */ +public class DeviceAndAppManagementRoleAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceAndAppManagementRoleAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequest.java index e12216433c5..524b5ab937d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequest; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentRequest; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Assignment Request. */ -public class DeviceAndAppManagementRoleAssignmentRequest extends BaseDeviceAndAppManagementRoleAssignmentRequest implements IDeviceAndAppManagementRoleAssignmentRequest { - +public class DeviceAndAppManagementRoleAssignmentRequest extends BaseRequest implements IDeviceAndAppManagementRoleAssignmentRequest { + /** * The request for the DeviceAndAppManagementRoleAssignment * @@ -26,4 +32,107 @@ public class DeviceAndAppManagementRoleAssignmentRequest extends BaseDeviceAndAp public DeviceAndAppManagementRoleAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceAndAppManagementRoleAssignment.class); } + + /** + * Gets the DeviceAndAppManagementRoleAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceAndAppManagementRoleAssignment from the service + * + * @return the DeviceAndAppManagementRoleAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceAndAppManagementRoleAssignment with a source + * + * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceAndAppManagementRoleAssignment); + } + + /** + * Patches this DeviceAndAppManagementRoleAssignment with a source + * + * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates + * @return the updated DeviceAndAppManagementRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleAssignment patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceAndAppManagementRoleAssignment); + } + + /** + * Creates a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceAndAppManagementRoleAssignment); + } + + /** + * Creates a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the new object to create + * @return the created DeviceAndAppManagementRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException { + return send(HttpMethod.POST, newDeviceAndAppManagementRoleAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceAndAppManagementRoleAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceAndAppManagementRoleAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceAndAppManagementRoleAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceAndAppManagementRoleAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequestBuilder.java index 8866866d421..40616d12b1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequest; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Assignment Request Builder. */ -public class DeviceAndAppManagementRoleAssignmentRequestBuilder extends BaseDeviceAndAppManagementRoleAssignmentRequestBuilder implements IDeviceAndAppManagementRoleAssignmentRequestBuilder { +public class DeviceAndAppManagementRoleAssignmentRequestBuilder extends BaseRequestBuilder implements IDeviceAndAppManagementRoleAssignmentRequestBuilder { /** * The request builder for the DeviceAndAppManagementRoleAssignment @@ -25,4 +28,26 @@ public class DeviceAndAppManagementRoleAssignmentRequestBuilder extends BaseDevi public DeviceAndAppManagementRoleAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceAndAppManagementRoleAssignmentRequest instance + */ + public IDeviceAndAppManagementRoleAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceAndAppManagementRoleAssignmentRequest instance + */ + public IDeviceAndAppManagementRoleAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new DeviceAndAppManagementRoleAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequest.java index 5fab39a58e8..c8cad4e4a8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleDefinitionRequest; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleDefinitionRequest; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleDefinition; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleDefinition; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleDefinitionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Definition Request. */ -public class DeviceAndAppManagementRoleDefinitionRequest extends BaseDeviceAndAppManagementRoleDefinitionRequest implements IDeviceAndAppManagementRoleDefinitionRequest { - +public class DeviceAndAppManagementRoleDefinitionRequest extends BaseRequest implements IDeviceAndAppManagementRoleDefinitionRequest { + /** * The request for the DeviceAndAppManagementRoleDefinition * @@ -26,4 +32,107 @@ public class DeviceAndAppManagementRoleDefinitionRequest extends BaseDeviceAndAp public DeviceAndAppManagementRoleDefinitionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceAndAppManagementRoleDefinition.class); } + + /** + * Gets the DeviceAndAppManagementRoleDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceAndAppManagementRoleDefinition from the service + * + * @return the DeviceAndAppManagementRoleDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleDefinition get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceAndAppManagementRoleDefinition with a source + * + * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceAndAppManagementRoleDefinition); + } + + /** + * Patches this DeviceAndAppManagementRoleDefinition with a source + * + * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates + * @return the updated DeviceAndAppManagementRoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleDefinition patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceAndAppManagementRoleDefinition); + } + + /** + * Creates a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceAndAppManagementRoleDefinition); + } + + /** + * Creates a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the new object to create + * @return the created DeviceAndAppManagementRoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleDefinition post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException { + return send(HttpMethod.POST, newDeviceAndAppManagementRoleDefinition); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceAndAppManagementRoleDefinitionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceAndAppManagementRoleDefinitionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceAndAppManagementRoleDefinitionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceAndAppManagementRoleDefinitionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequestBuilder.java index 998f07c6f55..653c1c3b0e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleDefinitionRequest; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleDefinitionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAndAppManagementRoleDefinitionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device And App Management Role Definition Request Builder. */ -public class DeviceAndAppManagementRoleDefinitionRequestBuilder extends BaseDeviceAndAppManagementRoleDefinitionRequestBuilder implements IDeviceAndAppManagementRoleDefinitionRequestBuilder { +public class DeviceAndAppManagementRoleDefinitionRequestBuilder extends BaseRequestBuilder implements IDeviceAndAppManagementRoleDefinitionRequestBuilder { /** * The request builder for the DeviceAndAppManagementRoleDefinition @@ -25,4 +28,26 @@ public class DeviceAndAppManagementRoleDefinitionRequestBuilder extends BaseDevi public DeviceAndAppManagementRoleDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceAndAppManagementRoleDefinitionRequest instance + */ + public IDeviceAndAppManagementRoleDefinitionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceAndAppManagementRoleDefinitionRequest instance + */ + public IDeviceAndAppManagementRoleDefinitionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceAndAppManagementRoleDefinitionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequest.java index 34d72938781..816c5eca33a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequest; +import com.microsoft.graph.requests.extensions.DeviceAppManagementRequest; +import com.microsoft.graph.models.extensions.DeviceAppManagement; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceAppManagement; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAppManagementRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device App Management Request. */ -public class DeviceAppManagementRequest extends BaseDeviceAppManagementRequest implements IDeviceAppManagementRequest { - +public class DeviceAppManagementRequest extends BaseRequest implements IDeviceAppManagementRequest { + /** * The request for the DeviceAppManagement * @@ -26,4 +32,107 @@ public class DeviceAppManagementRequest extends BaseDeviceAppManagementRequest i public DeviceAppManagementRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceAppManagement.class); } + + /** + * Gets the DeviceAppManagement from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceAppManagement from the service + * + * @return the DeviceAppManagement from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAppManagement get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceAppManagement with a source + * + * @param sourceDeviceAppManagement the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceAppManagement sourceDeviceAppManagement, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceAppManagement); + } + + /** + * Patches this DeviceAppManagement with a source + * + * @param sourceDeviceAppManagement the source object with updates + * @return the updated DeviceAppManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAppManagement patch(final DeviceAppManagement sourceDeviceAppManagement) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceAppManagement); + } + + /** + * Creates a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceAppManagement newDeviceAppManagement, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceAppManagement); + } + + /** + * Creates a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the new object to create + * @return the created DeviceAppManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAppManagement post(final DeviceAppManagement newDeviceAppManagement) throws ClientException { + return send(HttpMethod.POST, newDeviceAppManagement); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceAppManagementRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceAppManagementRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceAppManagementRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceAppManagementRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequestBuilder.java index 1121ee0d518..2c06c711801 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequestBuilder.java @@ -3,17 +3,78 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequest; +import com.microsoft.graph.requests.extensions.DeviceAppManagementRequest; +import com.microsoft.graph.requests.extensions.IMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IVppTokenCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.VppTokenCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IVppTokenRequestBuilder; +import com.microsoft.graph.requests.extensions.VppTokenRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedEBookCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedEBookCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedEBookRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedEBookRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAppManagementRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device App Management Request Builder. */ -public class DeviceAppManagementRequestBuilder extends BaseDeviceAppManagementRequestBuilder implements IDeviceAppManagementRequestBuilder { +public class DeviceAppManagementRequestBuilder extends BaseRequestBuilder implements IDeviceAppManagementRequestBuilder { /** * The request builder for the DeviceAppManagement @@ -25,4 +86,128 @@ public class DeviceAppManagementRequestBuilder extends BaseDeviceAppManagementRe public DeviceAppManagementRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceAppManagementRequest instance + */ + public IDeviceAppManagementRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceAppManagementRequest instance + */ + public IDeviceAppManagementRequest buildRequest(final java.util.List requestOptions) { + return new DeviceAppManagementRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IMobileAppCollectionRequestBuilder mobileApps() { + return new MobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileApps"), getClient(), null); + } + + public IMobileAppRequestBuilder mobileApps(final String id) { + return new MobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("mobileApps") + "/" + id, getClient(), null); + } + public IMobileAppCategoryCollectionRequestBuilder mobileAppCategories() { + return new MobileAppCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppCategories"), getClient(), null); + } + + public IMobileAppCategoryRequestBuilder mobileAppCategories(final String id) { + return new MobileAppCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppCategories") + "/" + id, getClient(), null); + } + public IManagedDeviceMobileAppConfigurationCollectionRequestBuilder mobileAppConfigurations() { + return new ManagedDeviceMobileAppConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppConfigurations"), getClient(), null); + } + + public IManagedDeviceMobileAppConfigurationRequestBuilder mobileAppConfigurations(final String id) { + return new ManagedDeviceMobileAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppConfigurations") + "/" + id, getClient(), null); + } + public IVppTokenCollectionRequestBuilder vppTokens() { + return new VppTokenCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("vppTokens"), getClient(), null); + } + + public IVppTokenRequestBuilder vppTokens(final String id) { + return new VppTokenRequestBuilder(getRequestUrlWithAdditionalSegment("vppTokens") + "/" + id, getClient(), null); + } + public IManagedAppPolicyCollectionRequestBuilder managedAppPolicies() { + return new ManagedAppPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppPolicies"), getClient(), null); + } + + public IManagedAppPolicyRequestBuilder managedAppPolicies(final String id) { + return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppPolicies") + "/" + id, getClient(), null); + } + public IIosManagedAppProtectionCollectionRequestBuilder iosManagedAppProtections() { + return new IosManagedAppProtectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("iosManagedAppProtections"), getClient(), null); + } + + public IIosManagedAppProtectionRequestBuilder iosManagedAppProtections(final String id) { + return new IosManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("iosManagedAppProtections") + "/" + id, getClient(), null); + } + public IAndroidManagedAppProtectionCollectionRequestBuilder androidManagedAppProtections() { + return new AndroidManagedAppProtectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("androidManagedAppProtections"), getClient(), null); + } + + public IAndroidManagedAppProtectionRequestBuilder androidManagedAppProtections(final String id) { + return new AndroidManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("androidManagedAppProtections") + "/" + id, getClient(), null); + } + public IDefaultManagedAppProtectionCollectionRequestBuilder defaultManagedAppProtections() { + return new DefaultManagedAppProtectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("defaultManagedAppProtections"), getClient(), null); + } + + public IDefaultManagedAppProtectionRequestBuilder defaultManagedAppProtections(final String id) { + return new DefaultManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("defaultManagedAppProtections") + "/" + id, getClient(), null); + } + public ITargetedManagedAppConfigurationCollectionRequestBuilder targetedManagedAppConfigurations() { + return new TargetedManagedAppConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("targetedManagedAppConfigurations"), getClient(), null); + } + + public ITargetedManagedAppConfigurationRequestBuilder targetedManagedAppConfigurations(final String id) { + return new TargetedManagedAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("targetedManagedAppConfigurations") + "/" + id, getClient(), null); + } + public IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder mdmWindowsInformationProtectionPolicies() { + return new MdmWindowsInformationProtectionPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mdmWindowsInformationProtectionPolicies"), getClient(), null); + } + + public IMdmWindowsInformationProtectionPolicyRequestBuilder mdmWindowsInformationProtectionPolicies(final String id) { + return new MdmWindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("mdmWindowsInformationProtectionPolicies") + "/" + id, getClient(), null); + } + public IWindowsInformationProtectionPolicyCollectionRequestBuilder windowsInformationProtectionPolicies() { + return new WindowsInformationProtectionPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionPolicies"), getClient(), null); + } + + public IWindowsInformationProtectionPolicyRequestBuilder windowsInformationProtectionPolicies(final String id) { + return new WindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionPolicies") + "/" + id, getClient(), null); + } + public IManagedAppRegistrationCollectionRequestBuilder managedAppRegistrations() { + return new ManagedAppRegistrationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations"), getClient(), null); + } + + public IManagedAppRegistrationRequestBuilder managedAppRegistrations(final String id) { + return new ManagedAppRegistrationRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations") + "/" + id, getClient(), null); + } + public IManagedAppStatusCollectionRequestBuilder managedAppStatuses() { + return new ManagedAppStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppStatuses"), getClient(), null); + } + + public IManagedAppStatusRequestBuilder managedAppStatuses(final String id) { + return new ManagedAppStatusRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppStatuses") + "/" + id, getClient(), null); + } + public IManagedEBookCollectionRequestBuilder managedEBooks() { + return new ManagedEBookCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedEBooks"), getClient(), null); + } + + public IManagedEBookRequestBuilder managedEBooks(final String id) { + return new ManagedEBookRequestBuilder(getRequestUrlWithAdditionalSegment("managedEBooks") + "/" + id, getClient(), null); + } + + public IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder syncMicrosoftStoreForBusinessApps() { + return new DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syncMicrosoftStoreForBusinessApps"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java index e9a7492781d..9397f4fd6fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; +import com.microsoft.graph.requests.extensions.DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device App Management Sync Microsoft Store For Business Apps Request. */ -public class DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest extends BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest implements IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest { +public class DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest extends BaseRequest implements IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest { /** * The request for this DeviceAppManagementSyncMicrosoftStoreForBusinessApps @@ -23,6 +30,35 @@ public class DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest extends * @param requestOptions the options for this request */ public DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java index 7273d3f357f..c1c71e579a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; +import com.microsoft.graph.requests.extensions.DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device App Management Sync Microsoft Store For Business Apps Request Builder. */ -public class DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder extends BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder implements IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder { +public class DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder extends BaseActionRequestBuilder implements IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder { /** * The request builder for this DeviceAppManagementSyncMicrosoftStoreForBusinessApps @@ -25,4 +30,29 @@ public class DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder public DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest + * + * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance + */ + public IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance + */ + public IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest(final java.util.List requestOptions) { + DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest request = new DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionPage.java index 70f829924a4..bfd1df49c0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCategory; +import com.microsoft.graph.requests.extensions.IDeviceCategoryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Category Collection Page. */ -public class DeviceCategoryCollectionPage extends BaseDeviceCategoryCollectionPage implements IDeviceCategoryCollectionPage { +public class DeviceCategoryCollectionPage extends BaseCollectionPage implements IDeviceCategoryCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceCategory * - * @param response the serialized BaseDeviceCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceCategoryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceCategoryCollectionPage(final BaseDeviceCategoryCollectionResponse response, final IDeviceCategoryCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCategoryCollectionPage(final DeviceCategoryCollectionResponse response, final IDeviceCategoryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequest.java index 0901824b216..a7ffab494ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Category Collection Request. */ -public class DeviceCategoryCollectionRequest extends BaseDeviceCategoryCollectionRequest implements IDeviceCategoryCollectionRequest { +public class DeviceCategoryCollectionRequest extends BaseCollectionRequest implements IDeviceCategoryCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceCategory * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceCategoryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceCategoryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceCategoryCollectionResponse.class, IDeviceCategoryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCategoryCollectionPage get() throws ClientException { + final DeviceCategoryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceCategory newDeviceCategory, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCategory, callback); + } + + public DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCategory); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCategoryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceCategoryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCategoryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceCategoryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCategoryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceCategoryCollectionRequest)this; + } + + public IDeviceCategoryCollectionPage buildFromResponse(final DeviceCategoryCollectionResponse response) { + final IDeviceCategoryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCategoryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceCategoryCollectionPage page = new DeviceCategoryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequestBuilder.java index fc82237ae2c..7f003752dd5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Category Collection Request Builder. */ -public class DeviceCategoryCollectionRequestBuilder extends BaseDeviceCategoryCollectionRequestBuilder implements IDeviceCategoryCollectionRequestBuilder { +public class DeviceCategoryCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceCategoryCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceCategoryCollectionRequestBuilder extends BaseDeviceCategoryCo public DeviceCategoryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceCategoryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCategoryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCategoryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceCategoryRequestBuilder byId(final String id) { + return new DeviceCategoryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionResponse.java new file mode 100644 index 00000000000..c475165f87d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCategory; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Category Collection Response. + */ +public class DeviceCategoryCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceCategory within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequest.java index 8731672e997..b03dd83973b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequest; +import com.microsoft.graph.requests.extensions.DeviceCategoryRequest; +import com.microsoft.graph.models.extensions.DeviceCategory; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCategory; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Category Request. */ -public class DeviceCategoryRequest extends BaseDeviceCategoryRequest implements IDeviceCategoryRequest { - +public class DeviceCategoryRequest extends BaseRequest implements IDeviceCategoryRequest { + /** * The request for the DeviceCategory * @@ -26,4 +32,107 @@ public class DeviceCategoryRequest extends BaseDeviceCategoryRequest implements public DeviceCategoryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceCategory.class); } + + /** + * Gets the DeviceCategory from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceCategory from the service + * + * @return the DeviceCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCategory get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceCategory with a source + * + * @param sourceDeviceCategory the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceCategory sourceDeviceCategory, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceCategory); + } + + /** + * Patches this DeviceCategory with a source + * + * @param sourceDeviceCategory the source object with updates + * @return the updated DeviceCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCategory patch(final DeviceCategory sourceDeviceCategory) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceCategory); + } + + /** + * Creates a DeviceCategory with a new object + * + * @param newDeviceCategory the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceCategory newDeviceCategory, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceCategory); + } + + /** + * Creates a DeviceCategory with a new object + * + * @param newDeviceCategory the new object to create + * @return the created DeviceCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException { + return send(HttpMethod.POST, newDeviceCategory); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCategoryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCategoryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCategoryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCategoryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequestBuilder.java index 3a5d9eb9430..0f7d0fe2a5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequest; +import com.microsoft.graph.requests.extensions.DeviceCategoryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCategoryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Category Request Builder. */ -public class DeviceCategoryRequestBuilder extends BaseDeviceCategoryRequestBuilder implements IDeviceCategoryRequestBuilder { +public class DeviceCategoryRequestBuilder extends BaseRequestBuilder implements IDeviceCategoryRequestBuilder { /** * The request builder for the DeviceCategory @@ -25,4 +28,26 @@ public class DeviceCategoryRequestBuilder extends BaseDeviceCategoryRequestBuild public DeviceCategoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceCategoryRequest instance + */ + public IDeviceCategoryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceCategoryRequest instance + */ + public IDeviceCategoryRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCategoryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionPage.java index f5e8d6ef57c..109e3dabc36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Device; +import com.microsoft.graph.requests.extensions.IDeviceCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Collection Page. */ -public class DeviceCollectionPage extends BaseDeviceCollectionPage implements IDeviceCollectionPage { +public class DeviceCollectionPage extends BaseCollectionPage implements IDeviceCollectionPage { /** - * A collection page for Device. + * A collection page for Device * - * @param response the serialized BaseDeviceCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceCollectionPage(final BaseDeviceCollectionResponse response, final IDeviceCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCollectionPage(final DeviceCollectionResponse response, final IDeviceCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequest.java index 8f0877139c5..09870ae040c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Collection Request. */ -public class DeviceCollectionRequest extends BaseDeviceCollectionRequest implements IDeviceCollectionRequest { +public class DeviceCollectionRequest extends BaseCollectionRequest implements IDeviceCollectionRequest { /** - * The request for this collection of Device + * The request builder for this collection of Device * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceCollectionResponse.class, IDeviceCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCollectionPage get() throws ClientException { + final DeviceCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Device newDevice, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDevice, callback); + } + + public Device post(final Device newDevice) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDevice); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceCollectionRequest)this; + } + + public IDeviceCollectionPage buildFromResponse(final DeviceCollectionResponse response) { + final IDeviceCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceCollectionPage page = new DeviceCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequestBuilder.java index 2118a74f2b9..48361a52af5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Collection Request Builder. */ -public class DeviceCollectionRequestBuilder extends BaseDeviceCollectionRequestBuilder implements IDeviceCollectionRequestBuilder { +public class DeviceCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceCollectionRequestBuilder { /** * The request builder for this collection of Device @@ -25,4 +33,18 @@ public class DeviceCollectionRequestBuilder extends BaseDeviceCollectionRequestB public DeviceCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceRequestBuilder byId(final String id) { + return new DeviceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionResponse.java new file mode 100644 index 00000000000..b093a687323 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Device; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Collection Response. + */ +public class DeviceCollectionResponse implements IJsonBackedObject { + + /** + * The list of Device within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionPage.java index c046c7a9bc7..70bbfb19ccc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Action Item Collection Page. */ -public class DeviceComplianceActionItemCollectionPage extends BaseDeviceComplianceActionItemCollectionPage implements IDeviceComplianceActionItemCollectionPage { +public class DeviceComplianceActionItemCollectionPage extends BaseCollectionPage implements IDeviceComplianceActionItemCollectionPage { /** - * A collection page for DeviceComplianceScheduledActionForRule. + * A collection page for DeviceComplianceActionItem * - * @param response the serialized BaseDeviceComplianceActionItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceComplianceActionItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceComplianceActionItemCollectionPage(final BaseDeviceComplianceActionItemCollectionResponse response, final IDeviceComplianceActionItemCollectionRequestBuilder builder) { - super(response, builder); + public DeviceComplianceActionItemCollectionPage(final DeviceComplianceActionItemCollectionResponse response, final IDeviceComplianceActionItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequest.java index c8b0d7d16f6..1e0aeae37a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Action Item Collection Request. */ -public class DeviceComplianceActionItemCollectionRequest extends BaseDeviceComplianceActionItemCollectionRequest implements IDeviceComplianceActionItemCollectionRequest { +public class DeviceComplianceActionItemCollectionRequest extends BaseCollectionRequest implements IDeviceComplianceActionItemCollectionRequest { /** - * The request for this collection of DeviceComplianceScheduledActionForRule + * The request builder for this collection of DeviceComplianceActionItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceComplianceActionItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceComplianceActionItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceComplianceActionItemCollectionResponse.class, IDeviceComplianceActionItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceComplianceActionItemCollectionPage get() throws ClientException { + final DeviceComplianceActionItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceComplianceActionItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceActionItem, callback); + } + + public DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceComplianceActionItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceActionItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceActionItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceComplianceActionItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceActionItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceComplianceActionItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceComplianceActionItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceComplianceActionItemCollectionRequest)this; + } + + public IDeviceComplianceActionItemCollectionPage buildFromResponse(final DeviceComplianceActionItemCollectionResponse response) { + final IDeviceComplianceActionItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceComplianceActionItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceComplianceActionItemCollectionPage page = new DeviceComplianceActionItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequestBuilder.java index 5343b7fbd24..a34bc32495d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Action Item Collection Request Builder. */ -public class DeviceComplianceActionItemCollectionRequestBuilder extends BaseDeviceComplianceActionItemCollectionRequestBuilder implements IDeviceComplianceActionItemCollectionRequestBuilder { +public class DeviceComplianceActionItemCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceActionItemCollectionRequestBuilder { /** * The request builder for this collection of DeviceComplianceScheduledActionForRule @@ -25,4 +33,18 @@ public class DeviceComplianceActionItemCollectionRequestBuilder extends BaseDevi public DeviceComplianceActionItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceComplianceActionItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceComplianceActionItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceActionItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceComplianceActionItemRequestBuilder byId(final String id) { + return new DeviceComplianceActionItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionResponse.java new file mode 100644 index 00000000000..1f6971c435a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Action Item Collection Response. + */ +public class DeviceComplianceActionItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceComplianceActionItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequest.java index 28f090ea0a2..d04d8a8bd69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Action Item Request. */ -public class DeviceComplianceActionItemRequest extends BaseDeviceComplianceActionItemRequest implements IDeviceComplianceActionItemRequest { - +public class DeviceComplianceActionItemRequest extends BaseRequest implements IDeviceComplianceActionItemRequest { + /** * The request for the DeviceComplianceActionItem * @@ -26,4 +32,107 @@ public class DeviceComplianceActionItemRequest extends BaseDeviceComplianceActio public DeviceComplianceActionItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceActionItem.class); } + + /** + * Gets the DeviceComplianceActionItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceActionItem from the service + * + * @return the DeviceComplianceActionItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceActionItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceActionItem with a source + * + * @param sourceDeviceComplianceActionItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceActionItem); + } + + /** + * Patches this DeviceComplianceActionItem with a source + * + * @param sourceDeviceComplianceActionItem the source object with updates + * @return the updated DeviceComplianceActionItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceActionItem patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceActionItem); + } + + /** + * Creates a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceActionItem); + } + + /** + * Creates a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the new object to create + * @return the created DeviceComplianceActionItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceActionItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceActionItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceActionItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceActionItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceActionItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequestBuilder.java index 5c53b674a60..ba2372ac14c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceActionItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Action Item Request Builder. */ -public class DeviceComplianceActionItemRequestBuilder extends BaseDeviceComplianceActionItemRequestBuilder implements IDeviceComplianceActionItemRequestBuilder { +public class DeviceComplianceActionItemRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceActionItemRequestBuilder { /** * The request builder for the DeviceComplianceActionItem @@ -25,4 +28,26 @@ public class DeviceComplianceActionItemRequestBuilder extends BaseDeviceComplian public DeviceComplianceActionItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceActionItemRequest instance + */ + public IDeviceComplianceActionItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceActionItemRequest instance + */ + public IDeviceComplianceActionItemRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceActionItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequest.java index ae75bfe92c7..0065738159d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceOverviewRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceOverviewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Overview Request. */ -public class DeviceComplianceDeviceOverviewRequest extends BaseDeviceComplianceDeviceOverviewRequest implements IDeviceComplianceDeviceOverviewRequest { - +public class DeviceComplianceDeviceOverviewRequest extends BaseRequest implements IDeviceComplianceDeviceOverviewRequest { + /** * The request for the DeviceComplianceDeviceOverview * @@ -26,4 +32,107 @@ public class DeviceComplianceDeviceOverviewRequest extends BaseDeviceComplianceD public DeviceComplianceDeviceOverviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceDeviceOverview.class); } + + /** + * Gets the DeviceComplianceDeviceOverview from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceDeviceOverview from the service + * + * @return the DeviceComplianceDeviceOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceOverview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceDeviceOverview with a source + * + * @param sourceDeviceComplianceDeviceOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceDeviceOverview); + } + + /** + * Patches this DeviceComplianceDeviceOverview with a source + * + * @param sourceDeviceComplianceDeviceOverview the source object with updates + * @return the updated DeviceComplianceDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceOverview patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceDeviceOverview); + } + + /** + * Creates a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceDeviceOverview); + } + + /** + * Creates a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the new object to create + * @return the created DeviceComplianceDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceOverview post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceDeviceOverview); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceDeviceOverviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceDeviceOverviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceDeviceOverviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceDeviceOverviewRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequestBuilder.java index e088abfee88..79dfe2b4ea0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceOverviewRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceOverviewRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Overview Request Builder. */ -public class DeviceComplianceDeviceOverviewRequestBuilder extends BaseDeviceComplianceDeviceOverviewRequestBuilder implements IDeviceComplianceDeviceOverviewRequestBuilder { +public class DeviceComplianceDeviceOverviewRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceDeviceOverviewRequestBuilder { /** * The request builder for the DeviceComplianceDeviceOverview @@ -25,4 +28,26 @@ public class DeviceComplianceDeviceOverviewRequestBuilder extends BaseDeviceComp public DeviceComplianceDeviceOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceDeviceOverviewRequest instance + */ + public IDeviceComplianceDeviceOverviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceDeviceOverviewRequest instance + */ + public IDeviceComplianceDeviceOverviewRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceDeviceOverviewRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionPage.java index 5b796f62d8b..1cd980467d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Status Collection Page. */ -public class DeviceComplianceDeviceStatusCollectionPage extends BaseDeviceComplianceDeviceStatusCollectionPage implements IDeviceComplianceDeviceStatusCollectionPage { +public class DeviceComplianceDeviceStatusCollectionPage extends BaseCollectionPage implements IDeviceComplianceDeviceStatusCollectionPage { /** - * A collection page for DeviceCompliancePolicy. + * A collection page for DeviceComplianceDeviceStatus * - * @param response the serialized BaseDeviceComplianceDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceComplianceDeviceStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceComplianceDeviceStatusCollectionPage(final BaseDeviceComplianceDeviceStatusCollectionResponse response, final IDeviceComplianceDeviceStatusCollectionRequestBuilder builder) { - super(response, builder); + public DeviceComplianceDeviceStatusCollectionPage(final DeviceComplianceDeviceStatusCollectionResponse response, final IDeviceComplianceDeviceStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequest.java index f92caaae1f4..9b98adf71bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Status Collection Request. */ -public class DeviceComplianceDeviceStatusCollectionRequest extends BaseDeviceComplianceDeviceStatusCollectionRequest implements IDeviceComplianceDeviceStatusCollectionRequest { +public class DeviceComplianceDeviceStatusCollectionRequest extends BaseCollectionRequest implements IDeviceComplianceDeviceStatusCollectionRequest { /** - * The request for this collection of DeviceCompliancePolicy + * The request builder for this collection of DeviceComplianceDeviceStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceComplianceDeviceStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceComplianceDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceComplianceDeviceStatusCollectionResponse.class, IDeviceComplianceDeviceStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceComplianceDeviceStatusCollectionPage get() throws ClientException { + final DeviceComplianceDeviceStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceComplianceDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceDeviceStatus, callback); + } + + public DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceComplianceDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceDeviceStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceDeviceStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceComplianceDeviceStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceDeviceStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceComplianceDeviceStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceComplianceDeviceStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceComplianceDeviceStatusCollectionRequest)this; + } + + public IDeviceComplianceDeviceStatusCollectionPage buildFromResponse(final DeviceComplianceDeviceStatusCollectionResponse response) { + final IDeviceComplianceDeviceStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceComplianceDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceComplianceDeviceStatusCollectionPage page = new DeviceComplianceDeviceStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequestBuilder.java index 2eb142af650..a60fa58e8f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Status Collection Request Builder. */ -public class DeviceComplianceDeviceStatusCollectionRequestBuilder extends BaseDeviceComplianceDeviceStatusCollectionRequestBuilder implements IDeviceComplianceDeviceStatusCollectionRequestBuilder { +public class DeviceComplianceDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceDeviceStatusCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicy @@ -25,4 +33,18 @@ public class DeviceComplianceDeviceStatusCollectionRequestBuilder extends BaseDe public DeviceComplianceDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceComplianceDeviceStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceComplianceDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceComplianceDeviceStatusRequestBuilder byId(final String id) { + return new DeviceComplianceDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionResponse.java new file mode 100644 index 00000000000..9c6fc56af1b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Device Status Collection Response. + */ +public class DeviceComplianceDeviceStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceComplianceDeviceStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequest.java index 986973d2155..91423243acb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Status Request. */ -public class DeviceComplianceDeviceStatusRequest extends BaseDeviceComplianceDeviceStatusRequest implements IDeviceComplianceDeviceStatusRequest { - +public class DeviceComplianceDeviceStatusRequest extends BaseRequest implements IDeviceComplianceDeviceStatusRequest { + /** * The request for the DeviceComplianceDeviceStatus * @@ -26,4 +32,107 @@ public class DeviceComplianceDeviceStatusRequest extends BaseDeviceComplianceDev public DeviceComplianceDeviceStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceDeviceStatus.class); } + + /** + * Gets the DeviceComplianceDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceDeviceStatus from the service + * + * @return the DeviceComplianceDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceDeviceStatus with a source + * + * @param sourceDeviceComplianceDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceDeviceStatus); + } + + /** + * Patches this DeviceComplianceDeviceStatus with a source + * + * @param sourceDeviceComplianceDeviceStatus the source object with updates + * @return the updated DeviceComplianceDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceStatus patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceDeviceStatus); + } + + /** + * Creates a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceDeviceStatus); + } + + /** + * Creates a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the new object to create + * @return the created DeviceComplianceDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceDeviceStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceDeviceStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceDeviceStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceDeviceStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceDeviceStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequestBuilder.java index ae53f9fd790..af7deb304d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceDeviceStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Device Status Request Builder. */ -public class DeviceComplianceDeviceStatusRequestBuilder extends BaseDeviceComplianceDeviceStatusRequestBuilder implements IDeviceComplianceDeviceStatusRequestBuilder { +public class DeviceComplianceDeviceStatusRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceDeviceStatusRequestBuilder { /** * The request builder for the DeviceComplianceDeviceStatus @@ -25,4 +28,26 @@ public class DeviceComplianceDeviceStatusRequestBuilder extends BaseDeviceCompli public DeviceComplianceDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceDeviceStatusRequest instance + */ + public IDeviceComplianceDeviceStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceDeviceStatusRequest instance + */ + public IDeviceComplianceDeviceStatusRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionPage.java index 60c7dfbcb8a..55ec5ca7523 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assign Collection Page. */ -public class DeviceCompliancePolicyAssignCollectionPage extends BaseDeviceCompliancePolicyAssignCollectionPage implements IDeviceCompliancePolicyAssignCollectionPage { +public class DeviceCompliancePolicyAssignCollectionPage extends BaseCollectionPage implements IDeviceCompliancePolicyAssignCollectionPage { /** - * A collection page for DeviceCompliancePolicy. + * A collection page for DeviceCompliancePolicyAssign. * - * @param response the serialized BaseDeviceCompliancePolicyAssignCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DeviceCompliancePolicyAssignCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DeviceCompliancePolicyAssignCollectionPage(final BaseDeviceCompliancePolicyAssignCollectionResponse response, final IDeviceCompliancePolicyAssignCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCompliancePolicyAssignCollectionPage(final DeviceCompliancePolicyAssignCollectionResponse response, final IDeviceCompliancePolicyAssignCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequest.java index f300a7ab997..eb7df5c60f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assign Collection Request. */ -public class DeviceCompliancePolicyAssignCollectionRequest extends BaseDeviceCompliancePolicyAssignCollectionRequest implements IDeviceCompliancePolicyAssignCollectionRequest { +public class DeviceCompliancePolicyAssignCollectionRequest extends BaseCollectionRequest implements IDeviceCompliancePolicyAssignCollectionRequest { + + + protected final DeviceCompliancePolicyAssignBody body; + /** - * The request for this collection of DeviceCompliancePolicy + * The request for this DeviceCompliancePolicyAssign * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DeviceCompliancePolicyAssignCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DeviceCompliancePolicyAssignCollectionResponse.class, IDeviceCompliancePolicyAssignCollectionPage.class); + body = new DeviceCompliancePolicyAssignBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCompliancePolicyAssignCollectionPage post() throws ClientException { + final DeviceCompliancePolicyAssignCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDeviceCompliancePolicyAssignCollectionPage buildFromResponse(final DeviceCompliancePolicyAssignCollectionResponse response) { + final IDeviceCompliancePolicyAssignCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCompliancePolicyAssignCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* assignments */ null); + } else { + builder = null; + } + final IDeviceCompliancePolicyAssignCollectionPage page = new DeviceCompliancePolicyAssignCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyAssignCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDeviceCompliancePolicyAssignCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCompliancePolicyAssignCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDeviceCompliancePolicyAssignCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyAssignCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDeviceCompliancePolicyAssignCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequestBuilder.java index d351b61ab0b..2e604694f92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionRequestBuilder.java @@ -4,17 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assign Collection Request Builder. */ -public class DeviceCompliancePolicyAssignCollectionRequestBuilder extends BaseDeviceCompliancePolicyAssignCollectionRequestBuilder implements IDeviceCompliancePolicyAssignCollectionRequestBuilder { +public class DeviceCompliancePolicyAssignCollectionRequestBuilder extends BaseActionRequestBuilder implements IDeviceCompliancePolicyAssignCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicy @@ -25,6 +31,27 @@ public class DeviceCompliancePolicyAssignCollectionRequestBuilder extends BaseDe * @param assignments the assignments */ public DeviceCompliancePolicyAssignCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions, assignments); + super(requestUrl, client, requestOptions); + if(assignments!=null){ + bodyParams.put("assignments", assignments); + } + } + + public IDeviceCompliancePolicyAssignCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCompliancePolicyAssignCollectionRequest buildRequest(final java.util.List requestOptions) { + DeviceCompliancePolicyAssignCollectionRequest request = new DeviceCompliancePolicyAssignCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("assignments")) { + request.body.assignments = getParameter("assignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionResponse.java new file mode 100644 index 00000000000..6740735eee3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Policy Assign Collection Response. + */ +public class DeviceCompliancePolicyAssignCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionPage.java index 02ee3f71c5f..5d65edb33e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assignment Collection Page. */ -public class DeviceCompliancePolicyAssignmentCollectionPage extends BaseDeviceCompliancePolicyAssignmentCollectionPage implements IDeviceCompliancePolicyAssignmentCollectionPage { +public class DeviceCompliancePolicyAssignmentCollectionPage extends BaseCollectionPage implements IDeviceCompliancePolicyAssignmentCollectionPage { /** - * A collection page for DeviceCompliancePolicy. + * A collection page for DeviceCompliancePolicyAssignment * - * @param response the serialized BaseDeviceCompliancePolicyAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceCompliancePolicyAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceCompliancePolicyAssignmentCollectionPage(final BaseDeviceCompliancePolicyAssignmentCollectionResponse response, final IDeviceCompliancePolicyAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCompliancePolicyAssignmentCollectionPage(final DeviceCompliancePolicyAssignmentCollectionResponse response, final IDeviceCompliancePolicyAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequest.java index 0c6a4917485..d44c1fe55f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assignment Collection Request. */ -public class DeviceCompliancePolicyAssignmentCollectionRequest extends BaseDeviceCompliancePolicyAssignmentCollectionRequest implements IDeviceCompliancePolicyAssignmentCollectionRequest { +public class DeviceCompliancePolicyAssignmentCollectionRequest extends BaseCollectionRequest implements IDeviceCompliancePolicyAssignmentCollectionRequest { /** - * The request for this collection of DeviceCompliancePolicy + * The request builder for this collection of DeviceCompliancePolicyAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceCompliancePolicyAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceCompliancePolicyAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceCompliancePolicyAssignmentCollectionResponse.class, IDeviceCompliancePolicyAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCompliancePolicyAssignmentCollectionPage get() throws ClientException { + final DeviceCompliancePolicyAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceCompliancePolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicyAssignment, callback); + } + + public DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceCompliancePolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicyAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceCompliancePolicyAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCompliancePolicyAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceCompliancePolicyAssignmentCollectionRequest)this; + } + + public IDeviceCompliancePolicyAssignmentCollectionPage buildFromResponse(final DeviceCompliancePolicyAssignmentCollectionResponse response) { + final IDeviceCompliancePolicyAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCompliancePolicyAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceCompliancePolicyAssignmentCollectionPage page = new DeviceCompliancePolicyAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequestBuilder.java index 66e984f6977..871dd49be78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assignment Collection Request Builder. */ -public class DeviceCompliancePolicyAssignmentCollectionRequestBuilder extends BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder implements IDeviceCompliancePolicyAssignmentCollectionRequestBuilder { +public class DeviceCompliancePolicyAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyAssignmentCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicy @@ -25,4 +33,18 @@ public class DeviceCompliancePolicyAssignmentCollectionRequestBuilder extends Ba public DeviceCompliancePolicyAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceCompliancePolicyAssignmentRequestBuilder byId(final String id) { + return new DeviceCompliancePolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionResponse.java new file mode 100644 index 00000000000..bd6d190f4ed --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Policy Assignment Collection Response. + */ +public class DeviceCompliancePolicyAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceCompliancePolicyAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequest.java index 460e8e1e1fa..ebcdce487ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentRequest; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assignment Request. */ -public class DeviceCompliancePolicyAssignmentRequest extends BaseDeviceCompliancePolicyAssignmentRequest implements IDeviceCompliancePolicyAssignmentRequest { - +public class DeviceCompliancePolicyAssignmentRequest extends BaseRequest implements IDeviceCompliancePolicyAssignmentRequest { + /** * The request for the DeviceCompliancePolicyAssignment * @@ -26,4 +32,107 @@ public class DeviceCompliancePolicyAssignmentRequest extends BaseDeviceComplianc public DeviceCompliancePolicyAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceCompliancePolicyAssignment.class); } + + /** + * Gets the DeviceCompliancePolicyAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceCompliancePolicyAssignment from the service + * + * @return the DeviceCompliancePolicyAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceCompliancePolicyAssignment with a source + * + * @param sourceDeviceCompliancePolicyAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicyAssignment); + } + + /** + * Patches this DeviceCompliancePolicyAssignment with a source + * + * @param sourceDeviceCompliancePolicyAssignment the source object with updates + * @return the updated DeviceCompliancePolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyAssignment patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyAssignment); + } + + /** + * Creates a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceCompliancePolicyAssignment); + } + + /** + * Creates a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the new object to create + * @return the created DeviceCompliancePolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException { + return send(HttpMethod.POST, newDeviceCompliancePolicyAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCompliancePolicyAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequestBuilder.java index 407c741155a..38d45feaffe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Assignment Request Builder. */ -public class DeviceCompliancePolicyAssignmentRequestBuilder extends BaseDeviceCompliancePolicyAssignmentRequestBuilder implements IDeviceCompliancePolicyAssignmentRequestBuilder { +public class DeviceCompliancePolicyAssignmentRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyAssignmentRequestBuilder { /** * The request builder for the DeviceCompliancePolicyAssignment @@ -25,4 +28,26 @@ public class DeviceCompliancePolicyAssignmentRequestBuilder extends BaseDeviceCo public DeviceCompliancePolicyAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyAssignmentRequest instance + */ + public IDeviceCompliancePolicyAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyAssignmentRequest instance + */ + public IDeviceCompliancePolicyAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionPage.java index f898b849b0d..1491707d846 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Collection Page. */ -public class DeviceCompliancePolicyCollectionPage extends BaseDeviceCompliancePolicyCollectionPage implements IDeviceCompliancePolicyCollectionPage { +public class DeviceCompliancePolicyCollectionPage extends BaseCollectionPage implements IDeviceCompliancePolicyCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceCompliancePolicy * - * @param response the serialized BaseDeviceCompliancePolicyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceCompliancePolicyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceCompliancePolicyCollectionPage(final BaseDeviceCompliancePolicyCollectionResponse response, final IDeviceCompliancePolicyCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCompliancePolicyCollectionPage(final DeviceCompliancePolicyCollectionResponse response, final IDeviceCompliancePolicyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequest.java index c2ceaf48f42..7af388d3721 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Collection Request. */ -public class DeviceCompliancePolicyCollectionRequest extends BaseDeviceCompliancePolicyCollectionRequest implements IDeviceCompliancePolicyCollectionRequest { +public class DeviceCompliancePolicyCollectionRequest extends BaseCollectionRequest implements IDeviceCompliancePolicyCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceCompliancePolicy * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceCompliancePolicyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceCompliancePolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceCompliancePolicyCollectionResponse.class, IDeviceCompliancePolicyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCompliancePolicyCollectionPage get() throws ClientException { + final DeviceCompliancePolicyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceCompliancePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicy, callback); + } + + public DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceCompliancePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicy); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceCompliancePolicyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCompliancePolicyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceCompliancePolicyCollectionRequest)this; + } + + public IDeviceCompliancePolicyCollectionPage buildFromResponse(final DeviceCompliancePolicyCollectionResponse response) { + final IDeviceCompliancePolicyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCompliancePolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceCompliancePolicyCollectionPage page = new DeviceCompliancePolicyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequestBuilder.java index 62c51becc0c..9019285d2d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Collection Request Builder. */ -public class DeviceCompliancePolicyCollectionRequestBuilder extends BaseDeviceCompliancePolicyCollectionRequestBuilder implements IDeviceCompliancePolicyCollectionRequestBuilder { +public class DeviceCompliancePolicyCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceCompliancePolicyCollectionRequestBuilder extends BaseDeviceCo public DeviceCompliancePolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceCompliancePolicyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCompliancePolicyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceCompliancePolicyRequestBuilder byId(final String id) { + return new DeviceCompliancePolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionResponse.java new file mode 100644 index 00000000000..ab48e62d5b2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Policy Collection Response. + */ +public class DeviceCompliancePolicyCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceCompliancePolicy within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequest.java index c23361db64b..72466bb7fc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyDeviceStateSummaryRequest; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyDeviceStateSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Device State Summary Request. */ -public class DeviceCompliancePolicyDeviceStateSummaryRequest extends BaseDeviceCompliancePolicyDeviceStateSummaryRequest implements IDeviceCompliancePolicyDeviceStateSummaryRequest { - +public class DeviceCompliancePolicyDeviceStateSummaryRequest extends BaseRequest implements IDeviceCompliancePolicyDeviceStateSummaryRequest { + /** * The request for the DeviceCompliancePolicyDeviceStateSummary * @@ -26,4 +32,107 @@ public class DeviceCompliancePolicyDeviceStateSummaryRequest extends BaseDeviceC public DeviceCompliancePolicyDeviceStateSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceCompliancePolicyDeviceStateSummary.class); } + + /** + * Gets the DeviceCompliancePolicyDeviceStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceCompliancePolicyDeviceStateSummary from the service + * + * @return the DeviceCompliancePolicyDeviceStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyDeviceStateSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceCompliancePolicyDeviceStateSummary with a source + * + * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicyDeviceStateSummary); + } + + /** + * Patches this DeviceCompliancePolicyDeviceStateSummary with a source + * + * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates + * @return the updated DeviceCompliancePolicyDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyDeviceStateSummary patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyDeviceStateSummary); + } + + /** + * Creates a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceCompliancePolicyDeviceStateSummary); + } + + /** + * Creates a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create + * @return the created DeviceCompliancePolicyDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyDeviceStateSummary post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException { + return send(HttpMethod.POST, newDeviceCompliancePolicyDeviceStateSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyDeviceStateSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCompliancePolicyDeviceStateSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyDeviceStateSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyDeviceStateSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java index 832412a4e69..64f92852e38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyDeviceStateSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Device State Summary Request Builder. */ -public class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder implements IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder { +public class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder { /** * The request builder for the DeviceCompliancePolicyDeviceStateSummary @@ -25,4 +28,26 @@ public class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends Base public DeviceCompliancePolicyDeviceStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance + */ + public IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance + */ + public IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyDeviceStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequest.java index 8d204686107..766e3f64fe4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyRequest; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Request. */ -public class DeviceCompliancePolicyRequest extends BaseDeviceCompliancePolicyRequest implements IDeviceCompliancePolicyRequest { - +public class DeviceCompliancePolicyRequest extends BaseRequest implements IDeviceCompliancePolicyRequest { + /** * The request for the DeviceCompliancePolicy * @@ -41,4 +47,107 @@ public DeviceCompliancePolicyRequest(final String requestUrl, public DeviceCompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceCompliancePolicy.class); } + + /** + * Gets the DeviceCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceCompliancePolicy from the service + * + * @return the DeviceCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceCompliancePolicy with a source + * + * @param sourceDeviceCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicy); + } + + /** + * Patches this DeviceCompliancePolicy with a source + * + * @param sourceDeviceCompliancePolicy the source object with updates + * @return the updated DeviceCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicy patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceCompliancePolicy); + } + + /** + * Creates a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceCompliancePolicy); + } + + /** + * Creates a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the new object to create + * @return the created DeviceCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newDeviceCompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequestBuilder.java index 15433a0ffb3..4921aabdded 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequestBuilder.java @@ -3,17 +3,50 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignCollectionRequestBuilder; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Request Builder. */ -public class DeviceCompliancePolicyRequestBuilder extends BaseDeviceCompliancePolicyRequestBuilder implements IDeviceCompliancePolicyRequestBuilder { +public class DeviceCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyRequestBuilder { /** * The request builder for the DeviceCompliancePolicy @@ -25,4 +58,87 @@ public class DeviceCompliancePolicyRequestBuilder extends BaseDeviceCompliancePo public DeviceCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyRequest instance + */ + public IDeviceCompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyRequest instance + */ + public IDeviceCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder scheduledActionsForRule() { + return new DeviceComplianceScheduledActionForRuleCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionsForRule"), getClient(), null); + } + + public IDeviceComplianceScheduledActionForRuleRequestBuilder scheduledActionsForRule(final String id) { + return new DeviceComplianceScheduledActionForRuleRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionsForRule") + "/" + id, getClient(), null); + } + public IDeviceComplianceDeviceStatusCollectionRequestBuilder deviceStatuses() { + return new DeviceComplianceDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses"), getClient(), null); + } + + public IDeviceComplianceDeviceStatusRequestBuilder deviceStatuses(final String id) { + return new DeviceComplianceDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses") + "/" + id, getClient(), null); + } + public IDeviceComplianceUserStatusCollectionRequestBuilder userStatuses() { + return new DeviceComplianceUserStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses"), getClient(), null); + } + + public IDeviceComplianceUserStatusRequestBuilder userStatuses(final String id) { + return new DeviceComplianceUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for DeviceComplianceDeviceOverview + * + * @return the IDeviceComplianceDeviceOverviewRequestBuilder instance + */ + public IDeviceComplianceDeviceOverviewRequestBuilder deviceStatusOverview() { + return new DeviceComplianceDeviceOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatusOverview"), getClient(), null); + } + + /** + * Gets the request builder for DeviceComplianceUserOverview + * + * @return the IDeviceComplianceUserOverviewRequestBuilder instance + */ + public IDeviceComplianceUserOverviewRequestBuilder userStatusOverview() { + return new DeviceComplianceUserOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("userStatusOverview"), getClient(), null); + } + public ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries() { + return new SettingStateDeviceSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries"), getClient(), null); + } + + public ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id) { + return new SettingStateDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries") + "/" + id, getClient(), null); + } + public IDeviceCompliancePolicyAssignmentCollectionRequestBuilder assignments() { + return new DeviceCompliancePolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public IDeviceCompliancePolicyAssignmentRequestBuilder assignments(final String id) { + return new DeviceCompliancePolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + public IDeviceCompliancePolicyAssignCollectionRequestBuilder assign(final java.util.List assignments) { + return new DeviceCompliancePolicyAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); + } + + public IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder scheduleActionsForRules(final java.util.List deviceComplianceScheduledActionForRules) { + return new DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.scheduleActionsForRules"), getClient(), null, deviceComplianceScheduledActionForRules); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequest.java index b0e99156f3f..56e1a8b4c22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyScheduleActionsForRulesBody; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyScheduleActionsForRulesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyScheduleActionsForRulesRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Schedule Actions For Rules Request. */ -public class DeviceCompliancePolicyScheduleActionsForRulesRequest extends BaseDeviceCompliancePolicyScheduleActionsForRulesRequest implements IDeviceCompliancePolicyScheduleActionsForRulesRequest { +public class DeviceCompliancePolicyScheduleActionsForRulesRequest extends BaseRequest implements IDeviceCompliancePolicyScheduleActionsForRulesRequest { + protected final DeviceCompliancePolicyScheduleActionsForRulesBody body; /** * The request for this DeviceCompliancePolicyScheduleActionsForRules @@ -23,6 +31,49 @@ public class DeviceCompliancePolicyScheduleActionsForRulesRequest extends BaseDe * @param requestOptions the options for this request */ public DeviceCompliancePolicyScheduleActionsForRulesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new DeviceCompliancePolicyScheduleActionsForRulesBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyScheduleActionsForRulesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCompliancePolicyScheduleActionsForRulesRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCompliancePolicyScheduleActionsForRulesRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DeviceCompliancePolicyScheduleActionsForRulesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyScheduleActionsForRulesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyScheduleActionsForRulesRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java index b49861b5fd1..a5f172d4e89 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyScheduleActionsForRulesRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Schedule Actions For Rules Request Builder. */ -public class DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder implements IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder { +public class DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends BaseActionRequestBuilder implements IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder { /** * The request builder for this DeviceCompliancePolicyScheduleActionsForRules @@ -25,6 +30,36 @@ public class DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends * @param deviceComplianceScheduledActionForRules the deviceComplianceScheduledActionForRules */ public DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List deviceComplianceScheduledActionForRules) { - super(requestUrl, client, requestOptions, deviceComplianceScheduledActionForRules); + super(requestUrl, client, requestOptions); + bodyParams.put("deviceComplianceScheduledActionForRules", deviceComplianceScheduledActionForRules); + } + + /** + * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest + * + * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance + */ + public IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance + */ + public IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest(final java.util.List requestOptions) { + DeviceCompliancePolicyScheduleActionsForRulesRequest request = new DeviceCompliancePolicyScheduleActionsForRulesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("deviceComplianceScheduledActionForRules")) { + request.body.deviceComplianceScheduledActionForRules = getParameter("deviceComplianceScheduledActionForRules"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionPage.java index e012386c72f..30aca4b33fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State Summary Collection Page. */ -public class DeviceCompliancePolicySettingStateSummaryCollectionPage extends BaseDeviceCompliancePolicySettingStateSummaryCollectionPage implements IDeviceCompliancePolicySettingStateSummaryCollectionPage { +public class DeviceCompliancePolicySettingStateSummaryCollectionPage extends BaseCollectionPage implements IDeviceCompliancePolicySettingStateSummaryCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceCompliancePolicySettingStateSummary * - * @param response the serialized BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceCompliancePolicySettingStateSummaryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceCompliancePolicySettingStateSummaryCollectionPage(final BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse response, final IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCompliancePolicySettingStateSummaryCollectionPage(final DeviceCompliancePolicySettingStateSummaryCollectionResponse response, final IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequest.java index 5829241f63a..53833ed8b47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State Summary Collection Request. */ -public class DeviceCompliancePolicySettingStateSummaryCollectionRequest extends BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest implements IDeviceCompliancePolicySettingStateSummaryCollectionRequest { +public class DeviceCompliancePolicySettingStateSummaryCollectionRequest extends BaseCollectionRequest implements IDeviceCompliancePolicySettingStateSummaryCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceCompliancePolicySettingStateSummary * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceCompliancePolicySettingStateSummaryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceCompliancePolicySettingStateSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceCompliancePolicySettingStateSummaryCollectionResponse.class, IDeviceCompliancePolicySettingStateSummaryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCompliancePolicySettingStateSummaryCollectionPage get() throws ClientException { + final DeviceCompliancePolicySettingStateSummaryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceCompliancePolicySettingStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicySettingStateSummary, callback); + } + + public DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceCompliancePolicySettingStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicySettingStateSummary); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicySettingStateSummaryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceCompliancePolicySettingStateSummaryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicySettingStateSummaryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceCompliancePolicySettingStateSummaryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCompliancePolicySettingStateSummaryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceCompliancePolicySettingStateSummaryCollectionRequest)this; + } + + public IDeviceCompliancePolicySettingStateSummaryCollectionPage buildFromResponse(final DeviceCompliancePolicySettingStateSummaryCollectionResponse response) { + final IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceCompliancePolicySettingStateSummaryCollectionPage page = new DeviceCompliancePolicySettingStateSummaryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java index e8deb5662a7..92a23b7899d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State Summary Collection Request Builder. */ -public class DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder extends BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder implements IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder { +public class DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder e public DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicySettingStateSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceCompliancePolicySettingStateSummaryRequestBuilder byId(final String id) { + return new DeviceCompliancePolicySettingStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionResponse.java new file mode 100644 index 00000000000..ca56d07810c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Policy Setting State Summary Collection Response. + */ +public class DeviceCompliancePolicySettingStateSummaryCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceCompliancePolicySettingStateSummary within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequest.java index 0e900b20ec9..893027800e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State Summary Request. */ -public class DeviceCompliancePolicySettingStateSummaryRequest extends BaseDeviceCompliancePolicySettingStateSummaryRequest implements IDeviceCompliancePolicySettingStateSummaryRequest { - +public class DeviceCompliancePolicySettingStateSummaryRequest extends BaseRequest implements IDeviceCompliancePolicySettingStateSummaryRequest { + /** * The request for the DeviceCompliancePolicySettingStateSummary * @@ -26,4 +32,107 @@ public class DeviceCompliancePolicySettingStateSummaryRequest extends BaseDevice public DeviceCompliancePolicySettingStateSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceCompliancePolicySettingStateSummary.class); } + + /** + * Gets the DeviceCompliancePolicySettingStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceCompliancePolicySettingStateSummary from the service + * + * @return the DeviceCompliancePolicySettingStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicySettingStateSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceCompliancePolicySettingStateSummary with a source + * + * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicySettingStateSummary); + } + + /** + * Patches this DeviceCompliancePolicySettingStateSummary with a source + * + * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates + * @return the updated DeviceCompliancePolicySettingStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicySettingStateSummary patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceCompliancePolicySettingStateSummary); + } + + /** + * Creates a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceCompliancePolicySettingStateSummary); + } + + /** + * Creates a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the new object to create + * @return the created DeviceCompliancePolicySettingStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException { + return send(HttpMethod.POST, newDeviceCompliancePolicySettingStateSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicySettingStateSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCompliancePolicySettingStateSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicySettingStateSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCompliancePolicySettingStateSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequestBuilder.java index 292582471cb..ec39e14077a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy Setting State Summary Request Builder. */ -public class DeviceCompliancePolicySettingStateSummaryRequestBuilder extends BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder implements IDeviceCompliancePolicySettingStateSummaryRequestBuilder { +public class DeviceCompliancePolicySettingStateSummaryRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicySettingStateSummaryRequestBuilder { /** * The request builder for the DeviceCompliancePolicySettingStateSummary @@ -25,4 +32,33 @@ public class DeviceCompliancePolicySettingStateSummaryRequestBuilder extends Bas public DeviceCompliancePolicySettingStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance + */ + public IDeviceCompliancePolicySettingStateSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance + */ + public IDeviceCompliancePolicySettingStateSummaryRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicySettingStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDeviceComplianceSettingStateCollectionRequestBuilder deviceComplianceSettingStates() { + return new DeviceComplianceSettingStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceComplianceSettingStates"), getClient(), null); + } + + public IDeviceComplianceSettingStateRequestBuilder deviceComplianceSettingStates(final String id) { + return new DeviceComplianceSettingStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceComplianceSettingStates") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionPage.java index 0ee6dab2fbc..5ef0f3b91f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy State Collection Page. */ -public class DeviceCompliancePolicyStateCollectionPage extends BaseDeviceCompliancePolicyStateCollectionPage implements IDeviceCompliancePolicyStateCollectionPage { +public class DeviceCompliancePolicyStateCollectionPage extends BaseCollectionPage implements IDeviceCompliancePolicyStateCollectionPage { /** - * A collection page for ManagedDevice. + * A collection page for DeviceCompliancePolicyState * - * @param response the serialized BaseDeviceCompliancePolicyStateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceCompliancePolicyStateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceCompliancePolicyStateCollectionPage(final BaseDeviceCompliancePolicyStateCollectionResponse response, final IDeviceCompliancePolicyStateCollectionRequestBuilder builder) { - super(response, builder); + public DeviceCompliancePolicyStateCollectionPage(final DeviceCompliancePolicyStateCollectionResponse response, final IDeviceCompliancePolicyStateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequest.java index 94b1d37f590..62e777275a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy State Collection Request. */ -public class DeviceCompliancePolicyStateCollectionRequest extends BaseDeviceCompliancePolicyStateCollectionRequest implements IDeviceCompliancePolicyStateCollectionRequest { +public class DeviceCompliancePolicyStateCollectionRequest extends BaseCollectionRequest implements IDeviceCompliancePolicyStateCollectionRequest { /** - * The request for this collection of ManagedDevice + * The request builder for this collection of DeviceCompliancePolicyState * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceCompliancePolicyStateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceCompliancePolicyStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceCompliancePolicyStateCollectionResponse.class, IDeviceCompliancePolicyStateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceCompliancePolicyStateCollectionPage get() throws ClientException { + final DeviceCompliancePolicyStateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceCompliancePolicyStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicyState, callback); + } + + public DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceCompliancePolicyStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceCompliancePolicyState); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyStateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyStateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyStateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceCompliancePolicyStateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceCompliancePolicyStateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceCompliancePolicyStateCollectionRequest)this; + } + + public IDeviceCompliancePolicyStateCollectionPage buildFromResponse(final DeviceCompliancePolicyStateCollectionResponse response) { + final IDeviceCompliancePolicyStateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceCompliancePolicyStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceCompliancePolicyStateCollectionPage page = new DeviceCompliancePolicyStateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequestBuilder.java index 61867641cd2..62ee3057b16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy State Collection Request Builder. */ -public class DeviceCompliancePolicyStateCollectionRequestBuilder extends BaseDeviceCompliancePolicyStateCollectionRequestBuilder implements IDeviceCompliancePolicyStateCollectionRequestBuilder { +public class DeviceCompliancePolicyStateCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyStateCollectionRequestBuilder { /** * The request builder for this collection of ManagedDevice @@ -25,4 +33,18 @@ public class DeviceCompliancePolicyStateCollectionRequestBuilder extends BaseDev public DeviceCompliancePolicyStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceCompliancePolicyStateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceCompliancePolicyStateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceCompliancePolicyStateRequestBuilder byId(final String id) { + return new DeviceCompliancePolicyStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionResponse.java new file mode 100644 index 00000000000..5ebabb4f447 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Policy State Collection Response. + */ +public class DeviceCompliancePolicyStateCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceCompliancePolicyState within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequest.java index 853a6023a79..43fc3fd10bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateRequest; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy State Request. */ -public class DeviceCompliancePolicyStateRequest extends BaseDeviceCompliancePolicyStateRequest implements IDeviceCompliancePolicyStateRequest { - +public class DeviceCompliancePolicyStateRequest extends BaseRequest implements IDeviceCompliancePolicyStateRequest { + /** * The request for the DeviceCompliancePolicyState * @@ -26,4 +32,107 @@ public class DeviceCompliancePolicyStateRequest extends BaseDeviceCompliancePoli public DeviceCompliancePolicyStateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceCompliancePolicyState.class); } + + /** + * Gets the DeviceCompliancePolicyState from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceCompliancePolicyState from the service + * + * @return the DeviceCompliancePolicyState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyState get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceCompliancePolicyState with a source + * + * @param sourceDeviceCompliancePolicyState the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicyState); + } + + /** + * Patches this DeviceCompliancePolicyState with a source + * + * @param sourceDeviceCompliancePolicyState the source object with updates + * @return the updated DeviceCompliancePolicyState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyState patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyState); + } + + /** + * Creates a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceCompliancePolicyState); + } + + /** + * Creates a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the new object to create + * @return the created DeviceCompliancePolicyState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException { + return send(HttpMethod.POST, newDeviceCompliancePolicyState); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceCompliancePolicyStateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceCompliancePolicyStateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceCompliancePolicyStateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceCompliancePolicyStateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequestBuilder.java index c279d2c4317..5bb2bfe868f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequest; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceCompliancePolicyStateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Policy State Request Builder. */ -public class DeviceCompliancePolicyStateRequestBuilder extends BaseDeviceCompliancePolicyStateRequestBuilder implements IDeviceCompliancePolicyStateRequestBuilder { +public class DeviceCompliancePolicyStateRequestBuilder extends BaseRequestBuilder implements IDeviceCompliancePolicyStateRequestBuilder { /** * The request builder for the DeviceCompliancePolicyState @@ -25,4 +28,26 @@ public class DeviceCompliancePolicyStateRequestBuilder extends BaseDeviceComplia public DeviceCompliancePolicyStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyStateRequest instance + */ + public IDeviceCompliancePolicyStateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyStateRequest instance + */ + public IDeviceCompliancePolicyStateRequest buildRequest(final java.util.List requestOptions) { + return new DeviceCompliancePolicyStateRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionPage.java index 166d426d36b..9389ae830cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Scheduled Action For Rule Collection Page. */ -public class DeviceComplianceScheduledActionForRuleCollectionPage extends BaseDeviceComplianceScheduledActionForRuleCollectionPage implements IDeviceComplianceScheduledActionForRuleCollectionPage { +public class DeviceComplianceScheduledActionForRuleCollectionPage extends BaseCollectionPage implements IDeviceComplianceScheduledActionForRuleCollectionPage { /** - * A collection page for DeviceCompliancePolicy. + * A collection page for DeviceComplianceScheduledActionForRule * - * @param response the serialized BaseDeviceComplianceScheduledActionForRuleCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceComplianceScheduledActionForRuleCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceComplianceScheduledActionForRuleCollectionPage(final BaseDeviceComplianceScheduledActionForRuleCollectionResponse response, final IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder builder) { - super(response, builder); + public DeviceComplianceScheduledActionForRuleCollectionPage(final DeviceComplianceScheduledActionForRuleCollectionResponse response, final IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequest.java index 1a79af16a70..e8ee1951510 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Scheduled Action For Rule Collection Request. */ -public class DeviceComplianceScheduledActionForRuleCollectionRequest extends BaseDeviceComplianceScheduledActionForRuleCollectionRequest implements IDeviceComplianceScheduledActionForRuleCollectionRequest { +public class DeviceComplianceScheduledActionForRuleCollectionRequest extends BaseCollectionRequest implements IDeviceComplianceScheduledActionForRuleCollectionRequest { /** - * The request for this collection of DeviceCompliancePolicy + * The request builder for this collection of DeviceComplianceScheduledActionForRule * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceComplianceScheduledActionForRuleCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceComplianceScheduledActionForRuleCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceComplianceScheduledActionForRuleCollectionResponse.class, IDeviceComplianceScheduledActionForRuleCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceComplianceScheduledActionForRuleCollectionPage get() throws ClientException { + final DeviceComplianceScheduledActionForRuleCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceComplianceScheduledActionForRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceScheduledActionForRule, callback); + } + + public DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceComplianceScheduledActionForRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceScheduledActionForRule); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceScheduledActionForRuleCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceComplianceScheduledActionForRuleCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceScheduledActionForRuleCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceComplianceScheduledActionForRuleCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceComplianceScheduledActionForRuleCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceComplianceScheduledActionForRuleCollectionRequest)this; + } + + public IDeviceComplianceScheduledActionForRuleCollectionPage buildFromResponse(final DeviceComplianceScheduledActionForRuleCollectionResponse response) { + final IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceComplianceScheduledActionForRuleCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceComplianceScheduledActionForRuleCollectionPage page = new DeviceComplianceScheduledActionForRuleCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java index 5109d9d9070..be971df46ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Scheduled Action For Rule Collection Request Builder. */ -public class DeviceComplianceScheduledActionForRuleCollectionRequestBuilder extends BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder implements IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder { +public class DeviceComplianceScheduledActionForRuleCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicy @@ -25,4 +33,18 @@ public class DeviceComplianceScheduledActionForRuleCollectionRequestBuilder exte public DeviceComplianceScheduledActionForRuleCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceScheduledActionForRuleCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceComplianceScheduledActionForRuleRequestBuilder byId(final String id) { + return new DeviceComplianceScheduledActionForRuleRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionResponse.java new file mode 100644 index 00000000000..1523285e5c7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Scheduled Action For Rule Collection Response. + */ +public class DeviceComplianceScheduledActionForRuleCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceComplianceScheduledActionForRule within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequest.java index 3e769bb0744..79e7744d224 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Scheduled Action For Rule Request. */ -public class DeviceComplianceScheduledActionForRuleRequest extends BaseDeviceComplianceScheduledActionForRuleRequest implements IDeviceComplianceScheduledActionForRuleRequest { - +public class DeviceComplianceScheduledActionForRuleRequest extends BaseRequest implements IDeviceComplianceScheduledActionForRuleRequest { + /** * The request for the DeviceComplianceScheduledActionForRule * @@ -26,4 +32,107 @@ public class DeviceComplianceScheduledActionForRuleRequest extends BaseDeviceCom public DeviceComplianceScheduledActionForRuleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceScheduledActionForRule.class); } + + /** + * Gets the DeviceComplianceScheduledActionForRule from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceScheduledActionForRule from the service + * + * @return the DeviceComplianceScheduledActionForRule from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceScheduledActionForRule get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceScheduledActionForRule with a source + * + * @param sourceDeviceComplianceScheduledActionForRule the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceScheduledActionForRule); + } + + /** + * Patches this DeviceComplianceScheduledActionForRule with a source + * + * @param sourceDeviceComplianceScheduledActionForRule the source object with updates + * @return the updated DeviceComplianceScheduledActionForRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceScheduledActionForRule patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceScheduledActionForRule); + } + + /** + * Creates a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceScheduledActionForRule); + } + + /** + * Creates a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the new object to create + * @return the created DeviceComplianceScheduledActionForRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceScheduledActionForRule); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceScheduledActionForRuleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceScheduledActionForRuleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceScheduledActionForRuleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceScheduledActionForRuleRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequestBuilder.java index cb843f1e47e..07722a5597e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceScheduledActionForRuleRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Scheduled Action For Rule Request Builder. */ -public class DeviceComplianceScheduledActionForRuleRequestBuilder extends BaseDeviceComplianceScheduledActionForRuleRequestBuilder implements IDeviceComplianceScheduledActionForRuleRequestBuilder { +public class DeviceComplianceScheduledActionForRuleRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceScheduledActionForRuleRequestBuilder { /** * The request builder for the DeviceComplianceScheduledActionForRule @@ -25,4 +32,33 @@ public class DeviceComplianceScheduledActionForRuleRequestBuilder extends BaseDe public DeviceComplianceScheduledActionForRuleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceScheduledActionForRuleRequest instance + */ + public IDeviceComplianceScheduledActionForRuleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceScheduledActionForRuleRequest instance + */ + public IDeviceComplianceScheduledActionForRuleRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceScheduledActionForRuleRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDeviceComplianceActionItemCollectionRequestBuilder scheduledActionConfigurations() { + return new DeviceComplianceActionItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionConfigurations"), getClient(), null); + } + + public IDeviceComplianceActionItemRequestBuilder scheduledActionConfigurations(final String id) { + return new DeviceComplianceActionItemRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionConfigurations") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionPage.java index dfb032d19b4..57777d92cae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Setting State Collection Page. */ -public class DeviceComplianceSettingStateCollectionPage extends BaseDeviceComplianceSettingStateCollectionPage implements IDeviceComplianceSettingStateCollectionPage { +public class DeviceComplianceSettingStateCollectionPage extends BaseCollectionPage implements IDeviceComplianceSettingStateCollectionPage { /** - * A collection page for DeviceCompliancePolicySettingStateSummary. + * A collection page for DeviceComplianceSettingState * - * @param response the serialized BaseDeviceComplianceSettingStateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceComplianceSettingStateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceComplianceSettingStateCollectionPage(final BaseDeviceComplianceSettingStateCollectionResponse response, final IDeviceComplianceSettingStateCollectionRequestBuilder builder) { - super(response, builder); + public DeviceComplianceSettingStateCollectionPage(final DeviceComplianceSettingStateCollectionResponse response, final IDeviceComplianceSettingStateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequest.java index 33e503475ba..eb863fd338a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Setting State Collection Request. */ -public class DeviceComplianceSettingStateCollectionRequest extends BaseDeviceComplianceSettingStateCollectionRequest implements IDeviceComplianceSettingStateCollectionRequest { +public class DeviceComplianceSettingStateCollectionRequest extends BaseCollectionRequest implements IDeviceComplianceSettingStateCollectionRequest { /** - * The request for this collection of DeviceCompliancePolicySettingStateSummary + * The request builder for this collection of DeviceComplianceSettingState * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceComplianceSettingStateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceComplianceSettingStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceComplianceSettingStateCollectionResponse.class, IDeviceComplianceSettingStateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceComplianceSettingStateCollectionPage get() throws ClientException { + final DeviceComplianceSettingStateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceComplianceSettingStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceSettingState, callback); + } + + public DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceComplianceSettingStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceSettingState); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceSettingStateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceComplianceSettingStateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceSettingStateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceComplianceSettingStateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceComplianceSettingStateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceComplianceSettingStateCollectionRequest)this; + } + + public IDeviceComplianceSettingStateCollectionPage buildFromResponse(final DeviceComplianceSettingStateCollectionResponse response) { + final IDeviceComplianceSettingStateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceComplianceSettingStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceComplianceSettingStateCollectionPage page = new DeviceComplianceSettingStateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequestBuilder.java index 0222c7f6d87..1d55a362b0a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Setting State Collection Request Builder. */ -public class DeviceComplianceSettingStateCollectionRequestBuilder extends BaseDeviceComplianceSettingStateCollectionRequestBuilder implements IDeviceComplianceSettingStateCollectionRequestBuilder { +public class DeviceComplianceSettingStateCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceSettingStateCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicySettingStateSummary @@ -25,4 +33,18 @@ public class DeviceComplianceSettingStateCollectionRequestBuilder extends BaseDe public DeviceComplianceSettingStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceComplianceSettingStateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceComplianceSettingStateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceSettingStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceComplianceSettingStateRequestBuilder byId(final String id) { + return new DeviceComplianceSettingStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionResponse.java new file mode 100644 index 00000000000..155af896244 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance Setting State Collection Response. + */ +public class DeviceComplianceSettingStateCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceComplianceSettingState within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequest.java index a170c37d20c..8d1ce6f388b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Setting State Request. */ -public class DeviceComplianceSettingStateRequest extends BaseDeviceComplianceSettingStateRequest implements IDeviceComplianceSettingStateRequest { - +public class DeviceComplianceSettingStateRequest extends BaseRequest implements IDeviceComplianceSettingStateRequest { + /** * The request for the DeviceComplianceSettingState * @@ -26,4 +32,107 @@ public class DeviceComplianceSettingStateRequest extends BaseDeviceComplianceSet public DeviceComplianceSettingStateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceSettingState.class); } + + /** + * Gets the DeviceComplianceSettingState from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceSettingState from the service + * + * @return the DeviceComplianceSettingState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceSettingState get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceSettingState with a source + * + * @param sourceDeviceComplianceSettingState the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceSettingState); + } + + /** + * Patches this DeviceComplianceSettingState with a source + * + * @param sourceDeviceComplianceSettingState the source object with updates + * @return the updated DeviceComplianceSettingState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceSettingState patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceSettingState); + } + + /** + * Creates a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceSettingState); + } + + /** + * Creates a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the new object to create + * @return the created DeviceComplianceSettingState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceSettingState); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceSettingStateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceSettingStateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceSettingStateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceSettingStateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequestBuilder.java index 7783010fd5a..9d752e2b526 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceSettingStateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance Setting State Request Builder. */ -public class DeviceComplianceSettingStateRequestBuilder extends BaseDeviceComplianceSettingStateRequestBuilder implements IDeviceComplianceSettingStateRequestBuilder { +public class DeviceComplianceSettingStateRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceSettingStateRequestBuilder { /** * The request builder for the DeviceComplianceSettingState @@ -25,4 +28,26 @@ public class DeviceComplianceSettingStateRequestBuilder extends BaseDeviceCompli public DeviceComplianceSettingStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceSettingStateRequest instance + */ + public IDeviceComplianceSettingStateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceSettingStateRequest instance + */ + public IDeviceComplianceSettingStateRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceSettingStateRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequest.java index b10736c32d5..5e080f5e0ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserOverviewRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserOverviewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Overview Request. */ -public class DeviceComplianceUserOverviewRequest extends BaseDeviceComplianceUserOverviewRequest implements IDeviceComplianceUserOverviewRequest { - +public class DeviceComplianceUserOverviewRequest extends BaseRequest implements IDeviceComplianceUserOverviewRequest { + /** * The request for the DeviceComplianceUserOverview * @@ -26,4 +32,107 @@ public class DeviceComplianceUserOverviewRequest extends BaseDeviceComplianceUse public DeviceComplianceUserOverviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceUserOverview.class); } + + /** + * Gets the DeviceComplianceUserOverview from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceUserOverview from the service + * + * @return the DeviceComplianceUserOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserOverview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceUserOverview with a source + * + * @param sourceDeviceComplianceUserOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceUserOverview); + } + + /** + * Patches this DeviceComplianceUserOverview with a source + * + * @param sourceDeviceComplianceUserOverview the source object with updates + * @return the updated DeviceComplianceUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserOverview patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceUserOverview); + } + + /** + * Creates a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceUserOverview); + } + + /** + * Creates a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the new object to create + * @return the created DeviceComplianceUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserOverview post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceUserOverview); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceUserOverviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceUserOverviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceUserOverviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceUserOverviewRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequestBuilder.java index 82e2cda772c..f42b06dcaf6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserOverviewRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserOverviewRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Overview Request Builder. */ -public class DeviceComplianceUserOverviewRequestBuilder extends BaseDeviceComplianceUserOverviewRequestBuilder implements IDeviceComplianceUserOverviewRequestBuilder { +public class DeviceComplianceUserOverviewRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceUserOverviewRequestBuilder { /** * The request builder for the DeviceComplianceUserOverview @@ -25,4 +28,26 @@ public class DeviceComplianceUserOverviewRequestBuilder extends BaseDeviceCompli public DeviceComplianceUserOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceUserOverviewRequest instance + */ + public IDeviceComplianceUserOverviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceUserOverviewRequest instance + */ + public IDeviceComplianceUserOverviewRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceUserOverviewRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionPage.java index a4cfbc32082..1b411ba5b11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Status Collection Page. */ -public class DeviceComplianceUserStatusCollectionPage extends BaseDeviceComplianceUserStatusCollectionPage implements IDeviceComplianceUserStatusCollectionPage { +public class DeviceComplianceUserStatusCollectionPage extends BaseCollectionPage implements IDeviceComplianceUserStatusCollectionPage { /** - * A collection page for DeviceCompliancePolicy. + * A collection page for DeviceComplianceUserStatus * - * @param response the serialized BaseDeviceComplianceUserStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceComplianceUserStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceComplianceUserStatusCollectionPage(final BaseDeviceComplianceUserStatusCollectionResponse response, final IDeviceComplianceUserStatusCollectionRequestBuilder builder) { - super(response, builder); + public DeviceComplianceUserStatusCollectionPage(final DeviceComplianceUserStatusCollectionResponse response, final IDeviceComplianceUserStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequest.java index 4438a654ee2..9589383bd79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Status Collection Request. */ -public class DeviceComplianceUserStatusCollectionRequest extends BaseDeviceComplianceUserStatusCollectionRequest implements IDeviceComplianceUserStatusCollectionRequest { +public class DeviceComplianceUserStatusCollectionRequest extends BaseCollectionRequest implements IDeviceComplianceUserStatusCollectionRequest { /** - * The request for this collection of DeviceCompliancePolicy + * The request builder for this collection of DeviceComplianceUserStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceComplianceUserStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceComplianceUserStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceComplianceUserStatusCollectionResponse.class, IDeviceComplianceUserStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceComplianceUserStatusCollectionPage get() throws ClientException { + final DeviceComplianceUserStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceComplianceUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceUserStatus, callback); + } + + public DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceComplianceUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceComplianceUserStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceUserStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceComplianceUserStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceUserStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceComplianceUserStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceComplianceUserStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceComplianceUserStatusCollectionRequest)this; + } + + public IDeviceComplianceUserStatusCollectionPage buildFromResponse(final DeviceComplianceUserStatusCollectionResponse response) { + final IDeviceComplianceUserStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceComplianceUserStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceComplianceUserStatusCollectionPage page = new DeviceComplianceUserStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequestBuilder.java index 989ae324237..cd169d94676 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Status Collection Request Builder. */ -public class DeviceComplianceUserStatusCollectionRequestBuilder extends BaseDeviceComplianceUserStatusCollectionRequestBuilder implements IDeviceComplianceUserStatusCollectionRequestBuilder { +public class DeviceComplianceUserStatusCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceUserStatusCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicy @@ -25,4 +33,18 @@ public class DeviceComplianceUserStatusCollectionRequestBuilder extends BaseDevi public DeviceComplianceUserStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceComplianceUserStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceComplianceUserStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceUserStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceComplianceUserStatusRequestBuilder byId(final String id) { + return new DeviceComplianceUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionResponse.java new file mode 100644 index 00000000000..addf96a88cf --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Compliance User Status Collection Response. + */ +public class DeviceComplianceUserStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceComplianceUserStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequest.java index 33f2f3f080f..f210594f015 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusRequest; +import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Status Request. */ -public class DeviceComplianceUserStatusRequest extends BaseDeviceComplianceUserStatusRequest implements IDeviceComplianceUserStatusRequest { - +public class DeviceComplianceUserStatusRequest extends BaseRequest implements IDeviceComplianceUserStatusRequest { + /** * The request for the DeviceComplianceUserStatus * @@ -26,4 +32,107 @@ public class DeviceComplianceUserStatusRequest extends BaseDeviceComplianceUserS public DeviceComplianceUserStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceComplianceUserStatus.class); } + + /** + * Gets the DeviceComplianceUserStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceComplianceUserStatus from the service + * + * @return the DeviceComplianceUserStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceComplianceUserStatus with a source + * + * @param sourceDeviceComplianceUserStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceComplianceUserStatus); + } + + /** + * Patches this DeviceComplianceUserStatus with a source + * + * @param sourceDeviceComplianceUserStatus the source object with updates + * @return the updated DeviceComplianceUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserStatus patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceComplianceUserStatus); + } + + /** + * Creates a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceComplianceUserStatus); + } + + /** + * Creates a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the new object to create + * @return the created DeviceComplianceUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException { + return send(HttpMethod.POST, newDeviceComplianceUserStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceComplianceUserStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceComplianceUserStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceComplianceUserStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceComplianceUserStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequestBuilder.java index 0361d547389..5b365daa307 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceComplianceUserStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Compliance User Status Request Builder. */ -public class DeviceComplianceUserStatusRequestBuilder extends BaseDeviceComplianceUserStatusRequestBuilder implements IDeviceComplianceUserStatusRequestBuilder { +public class DeviceComplianceUserStatusRequestBuilder extends BaseRequestBuilder implements IDeviceComplianceUserStatusRequestBuilder { /** * The request builder for the DeviceComplianceUserStatus @@ -25,4 +28,26 @@ public class DeviceComplianceUserStatusRequestBuilder extends BaseDeviceComplian public DeviceComplianceUserStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceComplianceUserStatusRequest instance + */ + public IDeviceComplianceUserStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceUserStatusRequest instance + */ + public IDeviceComplianceUserStatusRequest buildRequest(final java.util.List requestOptions) { + return new DeviceComplianceUserStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionPage.java index 8aaa053c4cd..34c3bd9c02a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assign Collection Page. */ -public class DeviceConfigurationAssignCollectionPage extends BaseDeviceConfigurationAssignCollectionPage implements IDeviceConfigurationAssignCollectionPage { +public class DeviceConfigurationAssignCollectionPage extends BaseCollectionPage implements IDeviceConfigurationAssignCollectionPage { /** - * A collection page for DeviceConfiguration. + * A collection page for DeviceConfigurationAssign. * - * @param response the serialized BaseDeviceConfigurationAssignCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DeviceConfigurationAssignCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DeviceConfigurationAssignCollectionPage(final BaseDeviceConfigurationAssignCollectionResponse response, final IDeviceConfigurationAssignCollectionRequestBuilder builder) { - super(response, builder); + public DeviceConfigurationAssignCollectionPage(final DeviceConfigurationAssignCollectionResponse response, final IDeviceConfigurationAssignCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequest.java index a22abd8aaff..9d0456354ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assign Collection Request. */ -public class DeviceConfigurationAssignCollectionRequest extends BaseDeviceConfigurationAssignCollectionRequest implements IDeviceConfigurationAssignCollectionRequest { +public class DeviceConfigurationAssignCollectionRequest extends BaseCollectionRequest implements IDeviceConfigurationAssignCollectionRequest { + + + protected final DeviceConfigurationAssignBody body; + /** - * The request for this collection of DeviceConfiguration + * The request for this DeviceConfigurationAssign * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DeviceConfigurationAssignCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DeviceConfigurationAssignCollectionResponse.class, IDeviceConfigurationAssignCollectionPage.class); + body = new DeviceConfigurationAssignBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceConfigurationAssignCollectionPage post() throws ClientException { + final DeviceConfigurationAssignCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDeviceConfigurationAssignCollectionPage buildFromResponse(final DeviceConfigurationAssignCollectionResponse response) { + final IDeviceConfigurationAssignCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceConfigurationAssignCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* assignments */ null); + } else { + builder = null; + } + final IDeviceConfigurationAssignCollectionPage page = new DeviceConfigurationAssignCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationAssignCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDeviceConfigurationAssignCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceConfigurationAssignCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDeviceConfigurationAssignCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationAssignCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDeviceConfigurationAssignCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequestBuilder.java index 36f71bede83..a45a168a3db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionRequestBuilder.java @@ -4,17 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assign Collection Request Builder. */ -public class DeviceConfigurationAssignCollectionRequestBuilder extends BaseDeviceConfigurationAssignCollectionRequestBuilder implements IDeviceConfigurationAssignCollectionRequestBuilder { +public class DeviceConfigurationAssignCollectionRequestBuilder extends BaseActionRequestBuilder implements IDeviceConfigurationAssignCollectionRequestBuilder { /** * The request builder for this collection of DeviceConfiguration @@ -25,6 +31,27 @@ public class DeviceConfigurationAssignCollectionRequestBuilder extends BaseDevic * @param assignments the assignments */ public DeviceConfigurationAssignCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions, assignments); + super(requestUrl, client, requestOptions); + if(assignments!=null){ + bodyParams.put("assignments", assignments); + } + } + + public IDeviceConfigurationAssignCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceConfigurationAssignCollectionRequest buildRequest(final java.util.List requestOptions) { + DeviceConfigurationAssignCollectionRequest request = new DeviceConfigurationAssignCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("assignments")) { + request.body.assignments = getParameter("assignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionResponse.java new file mode 100644 index 00000000000..efdc3b30593 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration Assign Collection Response. + */ +public class DeviceConfigurationAssignCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionPage.java index 478d088cc1a..9e2ed365159 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assignment Collection Page. */ -public class DeviceConfigurationAssignmentCollectionPage extends BaseDeviceConfigurationAssignmentCollectionPage implements IDeviceConfigurationAssignmentCollectionPage { +public class DeviceConfigurationAssignmentCollectionPage extends BaseCollectionPage implements IDeviceConfigurationAssignmentCollectionPage { /** - * A collection page for DeviceConfiguration. + * A collection page for DeviceConfigurationAssignment * - * @param response the serialized BaseDeviceConfigurationAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceConfigurationAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceConfigurationAssignmentCollectionPage(final BaseDeviceConfigurationAssignmentCollectionResponse response, final IDeviceConfigurationAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public DeviceConfigurationAssignmentCollectionPage(final DeviceConfigurationAssignmentCollectionResponse response, final IDeviceConfigurationAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequest.java index 4a5a73d6049..943db27f6d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assignment Collection Request. */ -public class DeviceConfigurationAssignmentCollectionRequest extends BaseDeviceConfigurationAssignmentCollectionRequest implements IDeviceConfigurationAssignmentCollectionRequest { +public class DeviceConfigurationAssignmentCollectionRequest extends BaseCollectionRequest implements IDeviceConfigurationAssignmentCollectionRequest { /** - * The request for this collection of DeviceConfiguration + * The request builder for this collection of DeviceConfigurationAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceConfigurationAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceConfigurationAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceConfigurationAssignmentCollectionResponse.class, IDeviceConfigurationAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceConfigurationAssignmentCollectionPage get() throws ClientException { + final DeviceConfigurationAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationAssignment, callback); + } + + public DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceConfigurationAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceConfigurationAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceConfigurationAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceConfigurationAssignmentCollectionRequest)this; + } + + public IDeviceConfigurationAssignmentCollectionPage buildFromResponse(final DeviceConfigurationAssignmentCollectionResponse response) { + final IDeviceConfigurationAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceConfigurationAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceConfigurationAssignmentCollectionPage page = new DeviceConfigurationAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequestBuilder.java index 98d84a950ec..4cf4bbf16d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assignment Collection Request Builder. */ -public class DeviceConfigurationAssignmentCollectionRequestBuilder extends BaseDeviceConfigurationAssignmentCollectionRequestBuilder implements IDeviceConfigurationAssignmentCollectionRequestBuilder { +public class DeviceConfigurationAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationAssignmentCollectionRequestBuilder { /** * The request builder for this collection of DeviceConfiguration @@ -25,4 +33,18 @@ public class DeviceConfigurationAssignmentCollectionRequestBuilder extends BaseD public DeviceConfigurationAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceConfigurationAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceConfigurationAssignmentRequestBuilder byId(final String id) { + return new DeviceConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionResponse.java new file mode 100644 index 00000000000..f872b19c641 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration Assignment Collection Response. + */ +public class DeviceConfigurationAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceConfigurationAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequest.java index 3cf4be6df82..64a4ba26289 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assignment Request. */ -public class DeviceConfigurationAssignmentRequest extends BaseDeviceConfigurationAssignmentRequest implements IDeviceConfigurationAssignmentRequest { - +public class DeviceConfigurationAssignmentRequest extends BaseRequest implements IDeviceConfigurationAssignmentRequest { + /** * The request for the DeviceConfigurationAssignment * @@ -26,4 +32,107 @@ public class DeviceConfigurationAssignmentRequest extends BaseDeviceConfiguratio public DeviceConfigurationAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationAssignment.class); } + + /** + * Gets the DeviceConfigurationAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationAssignment from the service + * + * @return the DeviceConfigurationAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationAssignment with a source + * + * @param sourceDeviceConfigurationAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationAssignment); + } + + /** + * Patches this DeviceConfigurationAssignment with a source + * + * @param sourceDeviceConfigurationAssignment the source object with updates + * @return the updated DeviceConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationAssignment patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationAssignment); + } + + /** + * Creates a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationAssignment); + } + + /** + * Creates a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the new object to create + * @return the created DeviceConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequestBuilder.java index 5973ddebf01..0edd1514cf6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Assignment Request Builder. */ -public class DeviceConfigurationAssignmentRequestBuilder extends BaseDeviceConfigurationAssignmentRequestBuilder implements IDeviceConfigurationAssignmentRequestBuilder { +public class DeviceConfigurationAssignmentRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationAssignmentRequestBuilder { /** * The request builder for the DeviceConfigurationAssignment @@ -25,4 +28,26 @@ public class DeviceConfigurationAssignmentRequestBuilder extends BaseDeviceConfi public DeviceConfigurationAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationAssignmentRequest instance + */ + public IDeviceConfigurationAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationAssignmentRequest instance + */ + public IDeviceConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionPage.java index 176fda67059..ea8dfc53549 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfiguration; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Collection Page. */ -public class DeviceConfigurationCollectionPage extends BaseDeviceConfigurationCollectionPage implements IDeviceConfigurationCollectionPage { +public class DeviceConfigurationCollectionPage extends BaseCollectionPage implements IDeviceConfigurationCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceConfiguration * - * @param response the serialized BaseDeviceConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceConfigurationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceConfigurationCollectionPage(final BaseDeviceConfigurationCollectionResponse response, final IDeviceConfigurationCollectionRequestBuilder builder) { - super(response, builder); + public DeviceConfigurationCollectionPage(final DeviceConfigurationCollectionResponse response, final IDeviceConfigurationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequest.java index 4302bfa5a52..f222e83c881 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Collection Request. */ -public class DeviceConfigurationCollectionRequest extends BaseDeviceConfigurationCollectionRequest implements IDeviceConfigurationCollectionRequest { +public class DeviceConfigurationCollectionRequest extends BaseCollectionRequest implements IDeviceConfigurationCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceConfiguration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceConfigurationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceConfigurationCollectionResponse.class, IDeviceConfigurationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceConfigurationCollectionPage get() throws ClientException { + final DeviceConfigurationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfiguration, callback); + } + + public DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfiguration); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceConfigurationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceConfigurationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceConfigurationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceConfigurationCollectionRequest)this; + } + + public IDeviceConfigurationCollectionPage buildFromResponse(final DeviceConfigurationCollectionResponse response) { + final IDeviceConfigurationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceConfigurationCollectionPage page = new DeviceConfigurationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequestBuilder.java index 6ac286d01e0..316e44b8d16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Collection Request Builder. */ -public class DeviceConfigurationCollectionRequestBuilder extends BaseDeviceConfigurationCollectionRequestBuilder implements IDeviceConfigurationCollectionRequestBuilder { +public class DeviceConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceConfigurationCollectionRequestBuilder extends BaseDeviceConfi public DeviceConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceConfigurationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceConfigurationRequestBuilder byId(final String id) { + return new DeviceConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionResponse.java new file mode 100644 index 00000000000..4d96a2c0b54 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfiguration; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration Collection Response. + */ +public class DeviceConfigurationCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceConfiguration within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequest.java index eaa0fd88fe8..1470487c1be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceOverviewRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceOverviewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Overview Request. */ -public class DeviceConfigurationDeviceOverviewRequest extends BaseDeviceConfigurationDeviceOverviewRequest implements IDeviceConfigurationDeviceOverviewRequest { - +public class DeviceConfigurationDeviceOverviewRequest extends BaseRequest implements IDeviceConfigurationDeviceOverviewRequest { + /** * The request for the DeviceConfigurationDeviceOverview * @@ -26,4 +32,107 @@ public class DeviceConfigurationDeviceOverviewRequest extends BaseDeviceConfigur public DeviceConfigurationDeviceOverviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationDeviceOverview.class); } + + /** + * Gets the DeviceConfigurationDeviceOverview from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationDeviceOverview from the service + * + * @return the DeviceConfigurationDeviceOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceOverview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationDeviceOverview with a source + * + * @param sourceDeviceConfigurationDeviceOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationDeviceOverview); + } + + /** + * Patches this DeviceConfigurationDeviceOverview with a source + * + * @param sourceDeviceConfigurationDeviceOverview the source object with updates + * @return the updated DeviceConfigurationDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceOverview patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationDeviceOverview); + } + + /** + * Creates a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationDeviceOverview); + } + + /** + * Creates a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the new object to create + * @return the created DeviceConfigurationDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceOverview post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationDeviceOverview); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationDeviceOverviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationDeviceOverviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationDeviceOverviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationDeviceOverviewRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequestBuilder.java index 5a8808a0088..84423ba7c69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceOverviewRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceOverviewRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Overview Request Builder. */ -public class DeviceConfigurationDeviceOverviewRequestBuilder extends BaseDeviceConfigurationDeviceOverviewRequestBuilder implements IDeviceConfigurationDeviceOverviewRequestBuilder { +public class DeviceConfigurationDeviceOverviewRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationDeviceOverviewRequestBuilder { /** * The request builder for the DeviceConfigurationDeviceOverview @@ -25,4 +28,26 @@ public class DeviceConfigurationDeviceOverviewRequestBuilder extends BaseDeviceC public DeviceConfigurationDeviceOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationDeviceOverviewRequest instance + */ + public IDeviceConfigurationDeviceOverviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationDeviceOverviewRequest instance + */ + public IDeviceConfigurationDeviceOverviewRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationDeviceOverviewRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequest.java index ab4e98b2bf0..177ad884633 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStateSummaryRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStateSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device State Summary Request. */ -public class DeviceConfigurationDeviceStateSummaryRequest extends BaseDeviceConfigurationDeviceStateSummaryRequest implements IDeviceConfigurationDeviceStateSummaryRequest { - +public class DeviceConfigurationDeviceStateSummaryRequest extends BaseRequest implements IDeviceConfigurationDeviceStateSummaryRequest { + /** * The request for the DeviceConfigurationDeviceStateSummary * @@ -26,4 +32,107 @@ public class DeviceConfigurationDeviceStateSummaryRequest extends BaseDeviceConf public DeviceConfigurationDeviceStateSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationDeviceStateSummary.class); } + + /** + * Gets the DeviceConfigurationDeviceStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationDeviceStateSummary from the service + * + * @return the DeviceConfigurationDeviceStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStateSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationDeviceStateSummary with a source + * + * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationDeviceStateSummary); + } + + /** + * Patches this DeviceConfigurationDeviceStateSummary with a source + * + * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates + * @return the updated DeviceConfigurationDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStateSummary patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationDeviceStateSummary); + } + + /** + * Creates a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationDeviceStateSummary); + } + + /** + * Creates a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the new object to create + * @return the created DeviceConfigurationDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStateSummary post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationDeviceStateSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationDeviceStateSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationDeviceStateSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationDeviceStateSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationDeviceStateSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequestBuilder.java index fa166b9e22b..dddbdef8dbe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStateSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStateSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device State Summary Request Builder. */ -public class DeviceConfigurationDeviceStateSummaryRequestBuilder extends BaseDeviceConfigurationDeviceStateSummaryRequestBuilder implements IDeviceConfigurationDeviceStateSummaryRequestBuilder { +public class DeviceConfigurationDeviceStateSummaryRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationDeviceStateSummaryRequestBuilder { /** * The request builder for the DeviceConfigurationDeviceStateSummary @@ -25,4 +28,26 @@ public class DeviceConfigurationDeviceStateSummaryRequestBuilder extends BaseDev public DeviceConfigurationDeviceStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationDeviceStateSummaryRequest instance + */ + public IDeviceConfigurationDeviceStateSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationDeviceStateSummaryRequest instance + */ + public IDeviceConfigurationDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationDeviceStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionPage.java index 792040f5323..0c057fd1a1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Status Collection Page. */ -public class DeviceConfigurationDeviceStatusCollectionPage extends BaseDeviceConfigurationDeviceStatusCollectionPage implements IDeviceConfigurationDeviceStatusCollectionPage { +public class DeviceConfigurationDeviceStatusCollectionPage extends BaseCollectionPage implements IDeviceConfigurationDeviceStatusCollectionPage { /** - * A collection page for DeviceConfiguration. + * A collection page for DeviceConfigurationDeviceStatus * - * @param response the serialized BaseDeviceConfigurationDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceConfigurationDeviceStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceConfigurationDeviceStatusCollectionPage(final BaseDeviceConfigurationDeviceStatusCollectionResponse response, final IDeviceConfigurationDeviceStatusCollectionRequestBuilder builder) { - super(response, builder); + public DeviceConfigurationDeviceStatusCollectionPage(final DeviceConfigurationDeviceStatusCollectionResponse response, final IDeviceConfigurationDeviceStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequest.java index 4c7ce235c7d..46b2296f4e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Status Collection Request. */ -public class DeviceConfigurationDeviceStatusCollectionRequest extends BaseDeviceConfigurationDeviceStatusCollectionRequest implements IDeviceConfigurationDeviceStatusCollectionRequest { +public class DeviceConfigurationDeviceStatusCollectionRequest extends BaseCollectionRequest implements IDeviceConfigurationDeviceStatusCollectionRequest { /** - * The request for this collection of DeviceConfiguration + * The request builder for this collection of DeviceConfigurationDeviceStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceConfigurationDeviceStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceConfigurationDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceConfigurationDeviceStatusCollectionResponse.class, IDeviceConfigurationDeviceStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceConfigurationDeviceStatusCollectionPage get() throws ClientException { + final DeviceConfigurationDeviceStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationDeviceStatus, callback); + } + + public DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationDeviceStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationDeviceStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceConfigurationDeviceStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationDeviceStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceConfigurationDeviceStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceConfigurationDeviceStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceConfigurationDeviceStatusCollectionRequest)this; + } + + public IDeviceConfigurationDeviceStatusCollectionPage buildFromResponse(final DeviceConfigurationDeviceStatusCollectionResponse response) { + final IDeviceConfigurationDeviceStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceConfigurationDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceConfigurationDeviceStatusCollectionPage page = new DeviceConfigurationDeviceStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequestBuilder.java index 343171d8ae2..91a6e06e444 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Status Collection Request Builder. */ -public class DeviceConfigurationDeviceStatusCollectionRequestBuilder extends BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder implements IDeviceConfigurationDeviceStatusCollectionRequestBuilder { +public class DeviceConfigurationDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationDeviceStatusCollectionRequestBuilder { /** * The request builder for this collection of DeviceConfiguration @@ -25,4 +33,18 @@ public class DeviceConfigurationDeviceStatusCollectionRequestBuilder extends Bas public DeviceConfigurationDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceConfigurationDeviceStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceConfigurationDeviceStatusRequestBuilder byId(final String id) { + return new DeviceConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionResponse.java new file mode 100644 index 00000000000..6452e9850b0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration Device Status Collection Response. + */ +public class DeviceConfigurationDeviceStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceConfigurationDeviceStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequest.java index ab8a4c1091f..762eb46bbb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Status Request. */ -public class DeviceConfigurationDeviceStatusRequest extends BaseDeviceConfigurationDeviceStatusRequest implements IDeviceConfigurationDeviceStatusRequest { - +public class DeviceConfigurationDeviceStatusRequest extends BaseRequest implements IDeviceConfigurationDeviceStatusRequest { + /** * The request for the DeviceConfigurationDeviceStatus * @@ -26,4 +32,107 @@ public class DeviceConfigurationDeviceStatusRequest extends BaseDeviceConfigurat public DeviceConfigurationDeviceStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationDeviceStatus.class); } + + /** + * Gets the DeviceConfigurationDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationDeviceStatus from the service + * + * @return the DeviceConfigurationDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationDeviceStatus with a source + * + * @param sourceDeviceConfigurationDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationDeviceStatus); + } + + /** + * Patches this DeviceConfigurationDeviceStatus with a source + * + * @param sourceDeviceConfigurationDeviceStatus the source object with updates + * @return the updated DeviceConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStatus patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationDeviceStatus); + } + + /** + * Creates a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationDeviceStatus); + } + + /** + * Creates a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the new object to create + * @return the created DeviceConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationDeviceStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationDeviceStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationDeviceStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationDeviceStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationDeviceStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequestBuilder.java index ba46b6c913f..bcdf771e157 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationDeviceStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Device Status Request Builder. */ -public class DeviceConfigurationDeviceStatusRequestBuilder extends BaseDeviceConfigurationDeviceStatusRequestBuilder implements IDeviceConfigurationDeviceStatusRequestBuilder { +public class DeviceConfigurationDeviceStatusRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationDeviceStatusRequestBuilder { /** * The request builder for the DeviceConfigurationDeviceStatus @@ -25,4 +28,26 @@ public class DeviceConfigurationDeviceStatusRequestBuilder extends BaseDeviceCon public DeviceConfigurationDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationDeviceStatusRequest instance + */ + public IDeviceConfigurationDeviceStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationDeviceStatusRequest instance + */ + public IDeviceConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequest.java index 7febea4c08f..aaee57dffc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationRequest; +import com.microsoft.graph.models.extensions.DeviceConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Request. */ -public class DeviceConfigurationRequest extends BaseDeviceConfigurationRequest implements IDeviceConfigurationRequest { - +public class DeviceConfigurationRequest extends BaseRequest implements IDeviceConfigurationRequest { + /** * The request for the DeviceConfiguration * @@ -41,4 +47,107 @@ public DeviceConfigurationRequest(final String requestUrl, public DeviceConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfiguration.class); } + + /** + * Gets the DeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfiguration from the service + * + * @return the DeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfiguration with a source + * + * @param sourceDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfiguration sourceDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfiguration); + } + + /** + * Patches this DeviceConfiguration with a source + * + * @param sourceDeviceConfiguration the source object with updates + * @return the updated DeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfiguration patch(final DeviceConfiguration sourceDeviceConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfiguration); + } + + /** + * Creates a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfiguration); + } + + /** + * Creates a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the new object to create + * @return the created DeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException { + return send(HttpMethod.POST, newDeviceConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequestBuilder.java index ba4bbc2e7fa..9162ec09246 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequestBuilder.java @@ -3,17 +3,43 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration Request Builder. */ -public class DeviceConfigurationRequestBuilder extends BaseDeviceConfigurationRequestBuilder implements IDeviceConfigurationRequestBuilder { +public class DeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationRequestBuilder { /** * The request builder for the DeviceConfiguration @@ -25,4 +51,76 @@ public class DeviceConfigurationRequestBuilder extends BaseDeviceConfigurationRe public DeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationRequest instance + */ + public IDeviceConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationRequest instance + */ + public IDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDeviceConfigurationAssignmentCollectionRequestBuilder assignments() { + return new DeviceConfigurationAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public IDeviceConfigurationAssignmentRequestBuilder assignments(final String id) { + return new DeviceConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + public IDeviceConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses() { + return new DeviceConfigurationDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses"), getClient(), null); + } + + public IDeviceConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id) { + return new DeviceConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses") + "/" + id, getClient(), null); + } + public IDeviceConfigurationUserStatusCollectionRequestBuilder userStatuses() { + return new DeviceConfigurationUserStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses"), getClient(), null); + } + + public IDeviceConfigurationUserStatusRequestBuilder userStatuses(final String id) { + return new DeviceConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for DeviceConfigurationDeviceOverview + * + * @return the IDeviceConfigurationDeviceOverviewRequestBuilder instance + */ + public IDeviceConfigurationDeviceOverviewRequestBuilder deviceStatusOverview() { + return new DeviceConfigurationDeviceOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatusOverview"), getClient(), null); + } + + /** + * Gets the request builder for DeviceConfigurationUserOverview + * + * @return the IDeviceConfigurationUserOverviewRequestBuilder instance + */ + public IDeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { + return new DeviceConfigurationUserOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("userStatusOverview"), getClient(), null); + } + public ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries() { + return new SettingStateDeviceSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries"), getClient(), null); + } + + public ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id) { + return new SettingStateDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries") + "/" + id, getClient(), null); + } + + public IDeviceConfigurationAssignCollectionRequestBuilder assign(final java.util.List assignments) { + return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionPage.java index 7a84a00ee44..a26d5e747af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationState; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration State Collection Page. */ -public class DeviceConfigurationStateCollectionPage extends BaseDeviceConfigurationStateCollectionPage implements IDeviceConfigurationStateCollectionPage { +public class DeviceConfigurationStateCollectionPage extends BaseCollectionPage implements IDeviceConfigurationStateCollectionPage { /** - * A collection page for ManagedDevice. + * A collection page for DeviceConfigurationState * - * @param response the serialized BaseDeviceConfigurationStateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceConfigurationStateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceConfigurationStateCollectionPage(final BaseDeviceConfigurationStateCollectionResponse response, final IDeviceConfigurationStateCollectionRequestBuilder builder) { - super(response, builder); + public DeviceConfigurationStateCollectionPage(final DeviceConfigurationStateCollectionResponse response, final IDeviceConfigurationStateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequest.java index f904d23b923..fd1f54ba5be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration State Collection Request. */ -public class DeviceConfigurationStateCollectionRequest extends BaseDeviceConfigurationStateCollectionRequest implements IDeviceConfigurationStateCollectionRequest { +public class DeviceConfigurationStateCollectionRequest extends BaseCollectionRequest implements IDeviceConfigurationStateCollectionRequest { /** - * The request for this collection of ManagedDevice + * The request builder for this collection of DeviceConfigurationState * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceConfigurationStateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceConfigurationStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceConfigurationStateCollectionResponse.class, IDeviceConfigurationStateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceConfigurationStateCollectionPage get() throws ClientException { + final DeviceConfigurationStateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceConfigurationStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationState, callback); + } + + public DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceConfigurationStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationState); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationStateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceConfigurationStateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationStateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceConfigurationStateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceConfigurationStateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceConfigurationStateCollectionRequest)this; + } + + public IDeviceConfigurationStateCollectionPage buildFromResponse(final DeviceConfigurationStateCollectionResponse response) { + final IDeviceConfigurationStateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceConfigurationStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceConfigurationStateCollectionPage page = new DeviceConfigurationStateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequestBuilder.java index 89ff4a61d13..850c069a03b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration State Collection Request Builder. */ -public class DeviceConfigurationStateCollectionRequestBuilder extends BaseDeviceConfigurationStateCollectionRequestBuilder implements IDeviceConfigurationStateCollectionRequestBuilder { +public class DeviceConfigurationStateCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationStateCollectionRequestBuilder { /** * The request builder for this collection of ManagedDevice @@ -25,4 +33,18 @@ public class DeviceConfigurationStateCollectionRequestBuilder extends BaseDevice public DeviceConfigurationStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceConfigurationStateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceConfigurationStateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceConfigurationStateRequestBuilder byId(final String id) { + return new DeviceConfigurationStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionResponse.java new file mode 100644 index 00000000000..d10a5b952a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationState; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration State Collection Response. + */ +public class DeviceConfigurationStateCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceConfigurationState within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequest.java index 64b1793c6ee..e0d197690bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationState; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration State Request. */ -public class DeviceConfigurationStateRequest extends BaseDeviceConfigurationStateRequest implements IDeviceConfigurationStateRequest { - +public class DeviceConfigurationStateRequest extends BaseRequest implements IDeviceConfigurationStateRequest { + /** * The request for the DeviceConfigurationState * @@ -26,4 +32,107 @@ public class DeviceConfigurationStateRequest extends BaseDeviceConfigurationStat public DeviceConfigurationStateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationState.class); } + + /** + * Gets the DeviceConfigurationState from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationState from the service + * + * @return the DeviceConfigurationState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationState get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationState with a source + * + * @param sourceDeviceConfigurationState the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationState sourceDeviceConfigurationState, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationState); + } + + /** + * Patches this DeviceConfigurationState with a source + * + * @param sourceDeviceConfigurationState the source object with updates + * @return the updated DeviceConfigurationState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationState patch(final DeviceConfigurationState sourceDeviceConfigurationState) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationState); + } + + /** + * Creates a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationState); + } + + /** + * Creates a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the new object to create + * @return the created DeviceConfigurationState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationState); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationStateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationStateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationStateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationStateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequestBuilder.java index 735a441b6e8..ce9760bee3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationStateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration State Request Builder. */ -public class DeviceConfigurationStateRequestBuilder extends BaseDeviceConfigurationStateRequestBuilder implements IDeviceConfigurationStateRequestBuilder { +public class DeviceConfigurationStateRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationStateRequestBuilder { /** * The request builder for the DeviceConfigurationState @@ -25,4 +28,26 @@ public class DeviceConfigurationStateRequestBuilder extends BaseDeviceConfigurat public DeviceConfigurationStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationStateRequest instance + */ + public IDeviceConfigurationStateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationStateRequest instance + */ + public IDeviceConfigurationStateRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationStateRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequest.java index 44bdeff1574..a9307227342 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserOverviewRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserOverviewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Overview Request. */ -public class DeviceConfigurationUserOverviewRequest extends BaseDeviceConfigurationUserOverviewRequest implements IDeviceConfigurationUserOverviewRequest { - +public class DeviceConfigurationUserOverviewRequest extends BaseRequest implements IDeviceConfigurationUserOverviewRequest { + /** * The request for the DeviceConfigurationUserOverview * @@ -26,4 +32,107 @@ public class DeviceConfigurationUserOverviewRequest extends BaseDeviceConfigurat public DeviceConfigurationUserOverviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationUserOverview.class); } + + /** + * Gets the DeviceConfigurationUserOverview from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationUserOverview from the service + * + * @return the DeviceConfigurationUserOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserOverview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationUserOverview with a source + * + * @param sourceDeviceConfigurationUserOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationUserOverview); + } + + /** + * Patches this DeviceConfigurationUserOverview with a source + * + * @param sourceDeviceConfigurationUserOverview the source object with updates + * @return the updated DeviceConfigurationUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserOverview patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationUserOverview); + } + + /** + * Creates a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationUserOverview); + } + + /** + * Creates a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the new object to create + * @return the created DeviceConfigurationUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserOverview post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationUserOverview); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationUserOverviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationUserOverviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationUserOverviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationUserOverviewRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequestBuilder.java index eec7b017cc5..0332aa98dd8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserOverviewRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserOverviewRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Overview Request Builder. */ -public class DeviceConfigurationUserOverviewRequestBuilder extends BaseDeviceConfigurationUserOverviewRequestBuilder implements IDeviceConfigurationUserOverviewRequestBuilder { +public class DeviceConfigurationUserOverviewRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationUserOverviewRequestBuilder { /** * The request builder for the DeviceConfigurationUserOverview @@ -25,4 +28,26 @@ public class DeviceConfigurationUserOverviewRequestBuilder extends BaseDeviceCon public DeviceConfigurationUserOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationUserOverviewRequest instance + */ + public IDeviceConfigurationUserOverviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationUserOverviewRequest instance + */ + public IDeviceConfigurationUserOverviewRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationUserOverviewRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionPage.java index 4dbe5346cd5..8e7f2a8ace6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Status Collection Page. */ -public class DeviceConfigurationUserStatusCollectionPage extends BaseDeviceConfigurationUserStatusCollectionPage implements IDeviceConfigurationUserStatusCollectionPage { +public class DeviceConfigurationUserStatusCollectionPage extends BaseCollectionPage implements IDeviceConfigurationUserStatusCollectionPage { /** - * A collection page for DeviceConfiguration. + * A collection page for DeviceConfigurationUserStatus * - * @param response the serialized BaseDeviceConfigurationUserStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceConfigurationUserStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceConfigurationUserStatusCollectionPage(final BaseDeviceConfigurationUserStatusCollectionResponse response, final IDeviceConfigurationUserStatusCollectionRequestBuilder builder) { - super(response, builder); + public DeviceConfigurationUserStatusCollectionPage(final DeviceConfigurationUserStatusCollectionResponse response, final IDeviceConfigurationUserStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequest.java index 8e338e882c7..91091a2a9ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Status Collection Request. */ -public class DeviceConfigurationUserStatusCollectionRequest extends BaseDeviceConfigurationUserStatusCollectionRequest implements IDeviceConfigurationUserStatusCollectionRequest { +public class DeviceConfigurationUserStatusCollectionRequest extends BaseCollectionRequest implements IDeviceConfigurationUserStatusCollectionRequest { /** - * The request for this collection of DeviceConfiguration + * The request builder for this collection of DeviceConfigurationUserStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceConfigurationUserStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceConfigurationUserStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceConfigurationUserStatusCollectionResponse.class, IDeviceConfigurationUserStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceConfigurationUserStatusCollectionPage get() throws ClientException { + final DeviceConfigurationUserStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationUserStatus, callback); + } + + public DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceConfigurationUserStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationUserStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceConfigurationUserStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationUserStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceConfigurationUserStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceConfigurationUserStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceConfigurationUserStatusCollectionRequest)this; + } + + public IDeviceConfigurationUserStatusCollectionPage buildFromResponse(final DeviceConfigurationUserStatusCollectionResponse response) { + final IDeviceConfigurationUserStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceConfigurationUserStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceConfigurationUserStatusCollectionPage page = new DeviceConfigurationUserStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequestBuilder.java index 22d9ccfadeb..6dbd3abb72c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Status Collection Request Builder. */ -public class DeviceConfigurationUserStatusCollectionRequestBuilder extends BaseDeviceConfigurationUserStatusCollectionRequestBuilder implements IDeviceConfigurationUserStatusCollectionRequestBuilder { +public class DeviceConfigurationUserStatusCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationUserStatusCollectionRequestBuilder { /** * The request builder for this collection of DeviceConfiguration @@ -25,4 +33,18 @@ public class DeviceConfigurationUserStatusCollectionRequestBuilder extends BaseD public DeviceConfigurationUserStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceConfigurationUserStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationUserStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceConfigurationUserStatusRequestBuilder byId(final String id) { + return new DeviceConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionResponse.java new file mode 100644 index 00000000000..c80ec7a15a1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration User Status Collection Response. + */ +public class DeviceConfigurationUserStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceConfigurationUserStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequest.java index 2cbf593e607..58cc495d3e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusRequest; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Status Request. */ -public class DeviceConfigurationUserStatusRequest extends BaseDeviceConfigurationUserStatusRequest implements IDeviceConfigurationUserStatusRequest { - +public class DeviceConfigurationUserStatusRequest extends BaseRequest implements IDeviceConfigurationUserStatusRequest { + /** * The request for the DeviceConfigurationUserStatus * @@ -26,4 +32,107 @@ public class DeviceConfigurationUserStatusRequest extends BaseDeviceConfiguratio public DeviceConfigurationUserStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceConfigurationUserStatus.class); } + + /** + * Gets the DeviceConfigurationUserStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceConfigurationUserStatus from the service + * + * @return the DeviceConfigurationUserStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceConfigurationUserStatus with a source + * + * @param sourceDeviceConfigurationUserStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceConfigurationUserStatus); + } + + /** + * Patches this DeviceConfigurationUserStatus with a source + * + * @param sourceDeviceConfigurationUserStatus the source object with updates + * @return the updated DeviceConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserStatus patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceConfigurationUserStatus); + } + + /** + * Creates a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceConfigurationUserStatus); + } + + /** + * Creates a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the new object to create + * @return the created DeviceConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException { + return send(HttpMethod.POST, newDeviceConfigurationUserStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceConfigurationUserStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceConfigurationUserStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceConfigurationUserStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceConfigurationUserStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequestBuilder.java index ee3b7c129e5..af355b7c725 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequest; +import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceConfigurationUserStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Configuration User Status Request Builder. */ -public class DeviceConfigurationUserStatusRequestBuilder extends BaseDeviceConfigurationUserStatusRequestBuilder implements IDeviceConfigurationUserStatusRequestBuilder { +public class DeviceConfigurationUserStatusRequestBuilder extends BaseRequestBuilder implements IDeviceConfigurationUserStatusRequestBuilder { /** * The request builder for the DeviceConfigurationUserStatus @@ -25,4 +28,26 @@ public class DeviceConfigurationUserStatusRequestBuilder extends BaseDeviceConfi public DeviceConfigurationUserStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceConfigurationUserStatusRequest instance + */ + public IDeviceConfigurationUserStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationUserStatusRequest instance + */ + public IDeviceConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions) { + return new DeviceConfigurationUserStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequest.java index 5c90ec8be7d..b28cff83265 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfigurationAssignBody; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Assign Request. */ -public class DeviceEnrollmentConfigurationAssignRequest extends BaseDeviceEnrollmentConfigurationAssignRequest implements IDeviceEnrollmentConfigurationAssignRequest { +public class DeviceEnrollmentConfigurationAssignRequest extends BaseRequest implements IDeviceEnrollmentConfigurationAssignRequest { + protected final DeviceEnrollmentConfigurationAssignBody body; /** * The request for this DeviceEnrollmentConfigurationAssign @@ -23,6 +31,49 @@ public class DeviceEnrollmentConfigurationAssignRequest extends BaseDeviceEnroll * @param requestOptions the options for this request */ public DeviceEnrollmentConfigurationAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new DeviceEnrollmentConfigurationAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceEnrollmentConfigurationAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceEnrollmentConfigurationAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DeviceEnrollmentConfigurationAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceEnrollmentConfigurationAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequestBuilder.java index c43f9d96274..28970f757eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationAssignRequest; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Assign Request Builder. */ -public class DeviceEnrollmentConfigurationAssignRequestBuilder extends BaseDeviceEnrollmentConfigurationAssignRequestBuilder implements IDeviceEnrollmentConfigurationAssignRequestBuilder { +public class DeviceEnrollmentConfigurationAssignRequestBuilder extends BaseActionRequestBuilder implements IDeviceEnrollmentConfigurationAssignRequestBuilder { /** * The request builder for this DeviceEnrollmentConfigurationAssign @@ -25,6 +30,36 @@ public class DeviceEnrollmentConfigurationAssignRequestBuilder extends BaseDevic * @param enrollmentConfigurationAssignments the enrollmentConfigurationAssignments */ public DeviceEnrollmentConfigurationAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List enrollmentConfigurationAssignments) { - super(requestUrl, client, requestOptions, enrollmentConfigurationAssignments); + super(requestUrl, client, requestOptions); + bodyParams.put("enrollmentConfigurationAssignments", enrollmentConfigurationAssignments); + } + + /** + * Creates the IDeviceEnrollmentConfigurationAssignRequest + * + * @return the IDeviceEnrollmentConfigurationAssignRequest instance + */ + public IDeviceEnrollmentConfigurationAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDeviceEnrollmentConfigurationAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDeviceEnrollmentConfigurationAssignRequest instance + */ + public IDeviceEnrollmentConfigurationAssignRequest buildRequest(final java.util.List requestOptions) { + DeviceEnrollmentConfigurationAssignRequest request = new DeviceEnrollmentConfigurationAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("enrollmentConfigurationAssignments")) { + request.body.enrollmentConfigurationAssignments = getParameter("enrollmentConfigurationAssignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionPage.java index 264210aba9c..e08a7009ece 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Collection Page. */ -public class DeviceEnrollmentConfigurationCollectionPage extends BaseDeviceEnrollmentConfigurationCollectionPage implements IDeviceEnrollmentConfigurationCollectionPage { +public class DeviceEnrollmentConfigurationCollectionPage extends BaseCollectionPage implements IDeviceEnrollmentConfigurationCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceEnrollmentConfiguration * - * @param response the serialized BaseDeviceEnrollmentConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceEnrollmentConfigurationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceEnrollmentConfigurationCollectionPage(final BaseDeviceEnrollmentConfigurationCollectionResponse response, final IDeviceEnrollmentConfigurationCollectionRequestBuilder builder) { - super(response, builder); + public DeviceEnrollmentConfigurationCollectionPage(final DeviceEnrollmentConfigurationCollectionResponse response, final IDeviceEnrollmentConfigurationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequest.java index 8eab19b6de6..4f769a4e3a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Collection Request. */ -public class DeviceEnrollmentConfigurationCollectionRequest extends BaseDeviceEnrollmentConfigurationCollectionRequest implements IDeviceEnrollmentConfigurationCollectionRequest { +public class DeviceEnrollmentConfigurationCollectionRequest extends BaseCollectionRequest implements IDeviceEnrollmentConfigurationCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceEnrollmentConfiguration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceEnrollmentConfigurationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceEnrollmentConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceEnrollmentConfigurationCollectionResponse.class, IDeviceEnrollmentConfigurationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceEnrollmentConfigurationCollectionPage get() throws ClientException { + final DeviceEnrollmentConfigurationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceEnrollmentConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceEnrollmentConfiguration, callback); + } + + public DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceEnrollmentConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceEnrollmentConfiguration); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceEnrollmentConfigurationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceEnrollmentConfigurationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceEnrollmentConfigurationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceEnrollmentConfigurationCollectionRequest)this; + } + + public IDeviceEnrollmentConfigurationCollectionPage buildFromResponse(final DeviceEnrollmentConfigurationCollectionResponse response) { + final IDeviceEnrollmentConfigurationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceEnrollmentConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceEnrollmentConfigurationCollectionPage page = new DeviceEnrollmentConfigurationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequestBuilder.java index 181406d84bc..8995ee65c81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Collection Request Builder. */ -public class DeviceEnrollmentConfigurationCollectionRequestBuilder extends BaseDeviceEnrollmentConfigurationCollectionRequestBuilder implements IDeviceEnrollmentConfigurationCollectionRequestBuilder { +public class DeviceEnrollmentConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceEnrollmentConfigurationCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceEnrollmentConfigurationCollectionRequestBuilder extends BaseD public DeviceEnrollmentConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceEnrollmentConfigurationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceEnrollmentConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceEnrollmentConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceEnrollmentConfigurationRequestBuilder byId(final String id) { + return new DeviceEnrollmentConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionResponse.java new file mode 100644 index 00000000000..1b25e21ead0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Enrollment Configuration Collection Response. + */ +public class DeviceEnrollmentConfigurationCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceEnrollmentConfiguration within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequest.java index 2118a38a7c9..2586f629fd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Request. */ -public class DeviceEnrollmentConfigurationRequest extends BaseDeviceEnrollmentConfigurationRequest implements IDeviceEnrollmentConfigurationRequest { - +public class DeviceEnrollmentConfigurationRequest extends BaseRequest implements IDeviceEnrollmentConfigurationRequest { + /** * The request for the DeviceEnrollmentConfiguration * @@ -41,4 +47,107 @@ public DeviceEnrollmentConfigurationRequest(final String requestUrl, public DeviceEnrollmentConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceEnrollmentConfiguration.class); } + + /** + * Gets the DeviceEnrollmentConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceEnrollmentConfiguration from the service + * + * @return the DeviceEnrollmentConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceEnrollmentConfiguration with a source + * + * @param sourceDeviceEnrollmentConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentConfiguration); + } + + /** + * Patches this DeviceEnrollmentConfiguration with a source + * + * @param sourceDeviceEnrollmentConfiguration the source object with updates + * @return the updated DeviceEnrollmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentConfiguration patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceEnrollmentConfiguration); + } + + /** + * Creates a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceEnrollmentConfiguration); + } + + /** + * Creates a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the new object to create + * @return the created DeviceEnrollmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException { + return send(HttpMethod.POST, newDeviceEnrollmentConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceEnrollmentConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceEnrollmentConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequestBuilder.java index bdad966364d..c954793ef64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequestBuilder.java @@ -3,17 +3,29 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationSetPriorityRequestBuilder; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationAssignRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Request Builder. */ -public class DeviceEnrollmentConfigurationRequestBuilder extends BaseDeviceEnrollmentConfigurationRequestBuilder implements IDeviceEnrollmentConfigurationRequestBuilder { +public class DeviceEnrollmentConfigurationRequestBuilder extends BaseRequestBuilder implements IDeviceEnrollmentConfigurationRequestBuilder { /** * The request builder for the DeviceEnrollmentConfiguration @@ -25,4 +37,41 @@ public class DeviceEnrollmentConfigurationRequestBuilder extends BaseDeviceEnrol public DeviceEnrollmentConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceEnrollmentConfigurationRequest instance + */ + public IDeviceEnrollmentConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentConfigurationRequest instance + */ + public IDeviceEnrollmentConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new DeviceEnrollmentConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IEnrollmentConfigurationAssignmentCollectionRequestBuilder assignments() { + return new EnrollmentConfigurationAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public IEnrollmentConfigurationAssignmentRequestBuilder assignments(final String id) { + return new EnrollmentConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + public IDeviceEnrollmentConfigurationSetPriorityRequestBuilder setPriority(final Integer priority) { + return new DeviceEnrollmentConfigurationSetPriorityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setPriority"), getClient(), null, priority); + } + + public IDeviceEnrollmentConfigurationAssignRequestBuilder assign(final java.util.List enrollmentConfigurationAssignments) { + return new DeviceEnrollmentConfigurationAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, enrollmentConfigurationAssignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequest.java index e57be76a2d3..7b457bb7a05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfigurationSetPriorityBody; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationSetPriorityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationSetPriorityRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Set Priority Request. */ -public class DeviceEnrollmentConfigurationSetPriorityRequest extends BaseDeviceEnrollmentConfigurationSetPriorityRequest implements IDeviceEnrollmentConfigurationSetPriorityRequest { +public class DeviceEnrollmentConfigurationSetPriorityRequest extends BaseRequest implements IDeviceEnrollmentConfigurationSetPriorityRequest { + protected final DeviceEnrollmentConfigurationSetPriorityBody body; /** * The request for this DeviceEnrollmentConfigurationSetPriority @@ -23,6 +31,49 @@ public class DeviceEnrollmentConfigurationSetPriorityRequest extends BaseDeviceE * @param requestOptions the options for this request */ public DeviceEnrollmentConfigurationSetPriorityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new DeviceEnrollmentConfigurationSetPriorityBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationSetPriorityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceEnrollmentConfigurationSetPriorityRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceEnrollmentConfigurationSetPriorityRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DeviceEnrollmentConfigurationSetPriorityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentConfigurationSetPriorityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceEnrollmentConfigurationSetPriorityRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequestBuilder.java index d4243500599..92780ee8d48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationSetPriorityRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationSetPriorityRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Configuration Set Priority Request Builder. */ -public class DeviceEnrollmentConfigurationSetPriorityRequestBuilder extends BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder implements IDeviceEnrollmentConfigurationSetPriorityRequestBuilder { +public class DeviceEnrollmentConfigurationSetPriorityRequestBuilder extends BaseActionRequestBuilder implements IDeviceEnrollmentConfigurationSetPriorityRequestBuilder { /** * The request builder for this DeviceEnrollmentConfigurationSetPriority @@ -24,6 +29,36 @@ public class DeviceEnrollmentConfigurationSetPriorityRequestBuilder extends Base * @param priority the priority */ public DeviceEnrollmentConfigurationSetPriorityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer priority) { - super(requestUrl, client, requestOptions, priority); + super(requestUrl, client, requestOptions); + bodyParams.put("priority", priority); + } + + /** + * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest + * + * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance + */ + public IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance + */ + public IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest(final java.util.List requestOptions) { + DeviceEnrollmentConfigurationSetPriorityRequest request = new DeviceEnrollmentConfigurationSetPriorityRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("priority")) { + request.body.priority = getParameter("priority"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequest.java index a5824ce80ab..bc7b300d593 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentLimitConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentLimitConfigurationRequest; +import com.microsoft.graph.models.extensions.DeviceEnrollmentLimitConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceEnrollmentLimitConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentLimitConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Limit Configuration Request. */ -public class DeviceEnrollmentLimitConfigurationRequest extends BaseDeviceEnrollmentLimitConfigurationRequest implements IDeviceEnrollmentLimitConfigurationRequest { - +public class DeviceEnrollmentLimitConfigurationRequest extends BaseRequest implements IDeviceEnrollmentLimitConfigurationRequest { + /** * The request for the DeviceEnrollmentLimitConfiguration * @@ -26,4 +32,107 @@ public class DeviceEnrollmentLimitConfigurationRequest extends BaseDeviceEnrollm public DeviceEnrollmentLimitConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceEnrollmentLimitConfiguration.class); } + + /** + * Gets the DeviceEnrollmentLimitConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceEnrollmentLimitConfiguration from the service + * + * @return the DeviceEnrollmentLimitConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentLimitConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceEnrollmentLimitConfiguration with a source + * + * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentLimitConfiguration); + } + + /** + * Patches this DeviceEnrollmentLimitConfiguration with a source + * + * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates + * @return the updated DeviceEnrollmentLimitConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentLimitConfiguration patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceEnrollmentLimitConfiguration); + } + + /** + * Creates a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceEnrollmentLimitConfiguration); + } + + /** + * Creates a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the new object to create + * @return the created DeviceEnrollmentLimitConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentLimitConfiguration post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException { + return send(HttpMethod.POST, newDeviceEnrollmentLimitConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentLimitConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceEnrollmentLimitConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentLimitConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceEnrollmentLimitConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequestBuilder.java index 721f814629c..1eed9021ad0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentLimitConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentLimitConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentLimitConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Limit Configuration Request Builder. */ -public class DeviceEnrollmentLimitConfigurationRequestBuilder extends BaseDeviceEnrollmentLimitConfigurationRequestBuilder implements IDeviceEnrollmentLimitConfigurationRequestBuilder { +public class DeviceEnrollmentLimitConfigurationRequestBuilder extends BaseRequestBuilder implements IDeviceEnrollmentLimitConfigurationRequestBuilder { /** * The request builder for the DeviceEnrollmentLimitConfiguration @@ -25,4 +28,26 @@ public class DeviceEnrollmentLimitConfigurationRequestBuilder extends BaseDevice public DeviceEnrollmentLimitConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceEnrollmentLimitConfigurationRequest instance + */ + public IDeviceEnrollmentLimitConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentLimitConfigurationRequest instance + */ + public IDeviceEnrollmentLimitConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new DeviceEnrollmentLimitConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequest.java index 387139cc4af..227edb3f03a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentPlatformRestrictionsConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentPlatformRestrictionsConfigurationRequest; +import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestrictionsConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestrictionsConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Platform Restrictions Configuration Request. */ -public class DeviceEnrollmentPlatformRestrictionsConfigurationRequest extends BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest implements IDeviceEnrollmentPlatformRestrictionsConfigurationRequest { - +public class DeviceEnrollmentPlatformRestrictionsConfigurationRequest extends BaseRequest implements IDeviceEnrollmentPlatformRestrictionsConfigurationRequest { + /** * The request for the DeviceEnrollmentPlatformRestrictionsConfiguration * @@ -26,4 +32,107 @@ public class DeviceEnrollmentPlatformRestrictionsConfigurationRequest extends Ba public DeviceEnrollmentPlatformRestrictionsConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceEnrollmentPlatformRestrictionsConfiguration.class); } + + /** + * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service + * + * @return the DeviceEnrollmentPlatformRestrictionsConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentPlatformRestrictionsConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source + * + * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentPlatformRestrictionsConfiguration); + } + + /** + * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source + * + * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates + * @return the updated DeviceEnrollmentPlatformRestrictionsConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentPlatformRestrictionsConfiguration patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceEnrollmentPlatformRestrictionsConfiguration); + } + + /** + * Creates a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceEnrollmentPlatformRestrictionsConfiguration); + } + + /** + * Creates a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create + * @return the created DeviceEnrollmentPlatformRestrictionsConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentPlatformRestrictionsConfiguration post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException { + return send(HttpMethod.POST, newDeviceEnrollmentPlatformRestrictionsConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceEnrollmentPlatformRestrictionsConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceEnrollmentPlatformRestrictionsConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java index 8cca8e35d86..7036b109b38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentPlatformRestrictionsConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentPlatformRestrictionsConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Platform Restrictions Configuration Request Builder. */ -public class DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder extends BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder implements IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder { +public class DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder extends BaseRequestBuilder implements IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder { /** * The request builder for the DeviceEnrollmentPlatformRestrictionsConfiguration @@ -25,4 +28,26 @@ public class DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder ext public DeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance + */ + public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance + */ + public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new DeviceEnrollmentPlatformRestrictionsConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java index 941313ccc22..2bb19d0c67e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; +import com.microsoft.graph.models.extensions.DeviceEnrollmentWindowsHelloForBusinessConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceEnrollmentWindowsHelloForBusinessConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Windows Hello For Business Configuration Request. */ -public class DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest implements IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest { - +public class DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends BaseRequest implements IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest { + /** * The request for the DeviceEnrollmentWindowsHelloForBusinessConfiguration * @@ -26,4 +32,107 @@ public class DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends public DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceEnrollmentWindowsHelloForBusinessConfiguration.class); } + + /** + * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service + * + * @return the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentWindowsHelloForBusinessConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source + * + * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration); + } + + /** + * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source + * + * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates + * @return the updated DeviceEnrollmentWindowsHelloForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentWindowsHelloForBusinessConfiguration patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration); + } + + /** + * Creates a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); + } + + /** + * Creates a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create + * @return the created DeviceEnrollmentWindowsHelloForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentWindowsHelloForBusinessConfiguration post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException { + return send(HttpMethod.POST, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java index 7d673c7bc42..d4b401d5100 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Enrollment Windows Hello For Business Configuration Request Builder. */ -public class DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder extends BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder implements IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder { +public class DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder extends BaseRequestBuilder implements IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder { /** * The request builder for the DeviceEnrollmentWindowsHelloForBusinessConfiguration @@ -25,4 +28,26 @@ public class DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder public DeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance + */ + public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance + */ + public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionPage.java index f8e426fb0d3..94811c20a53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceInstallState; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Install State Collection Page. */ -public class DeviceInstallStateCollectionPage extends BaseDeviceInstallStateCollectionPage implements IDeviceInstallStateCollectionPage { +public class DeviceInstallStateCollectionPage extends BaseCollectionPage implements IDeviceInstallStateCollectionPage { /** - * A collection page for UserInstallStateSummary. + * A collection page for DeviceInstallState * - * @param response the serialized BaseDeviceInstallStateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceInstallStateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceInstallStateCollectionPage(final BaseDeviceInstallStateCollectionResponse response, final IDeviceInstallStateCollectionRequestBuilder builder) { - super(response, builder); + public DeviceInstallStateCollectionPage(final DeviceInstallStateCollectionResponse response, final IDeviceInstallStateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequest.java index 0d2a50f4689..4b156e752be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Install State Collection Request. */ -public class DeviceInstallStateCollectionRequest extends BaseDeviceInstallStateCollectionRequest implements IDeviceInstallStateCollectionRequest { +public class DeviceInstallStateCollectionRequest extends BaseCollectionRequest implements IDeviceInstallStateCollectionRequest { /** - * The request for this collection of UserInstallStateSummary + * The request builder for this collection of DeviceInstallState * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceInstallStateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceInstallStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceInstallStateCollectionResponse.class, IDeviceInstallStateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceInstallStateCollectionPage get() throws ClientException { + final DeviceInstallStateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceInstallState newDeviceInstallState, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceInstallStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceInstallState, callback); + } + + public DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceInstallStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceInstallState); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceInstallStateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceInstallStateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceInstallStateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceInstallStateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceInstallStateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceInstallStateCollectionRequest)this; + } + + public IDeviceInstallStateCollectionPage buildFromResponse(final DeviceInstallStateCollectionResponse response) { + final IDeviceInstallStateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceInstallStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceInstallStateCollectionPage page = new DeviceInstallStateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequestBuilder.java index a0fd1004a65..3aa4d7e1d9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Install State Collection Request Builder. */ -public class DeviceInstallStateCollectionRequestBuilder extends BaseDeviceInstallStateCollectionRequestBuilder implements IDeviceInstallStateCollectionRequestBuilder { +public class DeviceInstallStateCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceInstallStateCollectionRequestBuilder { /** * The request builder for this collection of UserInstallStateSummary @@ -25,4 +33,18 @@ public class DeviceInstallStateCollectionRequestBuilder extends BaseDeviceInstal public DeviceInstallStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceInstallStateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceInstallStateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceInstallStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceInstallStateRequestBuilder byId(final String id) { + return new DeviceInstallStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionResponse.java new file mode 100644 index 00000000000..8e94636d777 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceInstallState; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Install State Collection Response. + */ +public class DeviceInstallStateCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceInstallState within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequest.java index 3b56dc995e6..c58106abbff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequest; +import com.microsoft.graph.requests.extensions.DeviceInstallStateRequest; +import com.microsoft.graph.models.extensions.DeviceInstallState; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceInstallState; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Install State Request. */ -public class DeviceInstallStateRequest extends BaseDeviceInstallStateRequest implements IDeviceInstallStateRequest { - +public class DeviceInstallStateRequest extends BaseRequest implements IDeviceInstallStateRequest { + /** * The request for the DeviceInstallState * @@ -26,4 +32,107 @@ public class DeviceInstallStateRequest extends BaseDeviceInstallStateRequest imp public DeviceInstallStateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceInstallState.class); } + + /** + * Gets the DeviceInstallState from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceInstallState from the service + * + * @return the DeviceInstallState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceInstallState get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceInstallState with a source + * + * @param sourceDeviceInstallState the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceInstallState sourceDeviceInstallState, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceInstallState); + } + + /** + * Patches this DeviceInstallState with a source + * + * @param sourceDeviceInstallState the source object with updates + * @return the updated DeviceInstallState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceInstallState patch(final DeviceInstallState sourceDeviceInstallState) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceInstallState); + } + + /** + * Creates a DeviceInstallState with a new object + * + * @param newDeviceInstallState the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceInstallState newDeviceInstallState, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceInstallState); + } + + /** + * Creates a DeviceInstallState with a new object + * + * @param newDeviceInstallState the new object to create + * @return the created DeviceInstallState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException { + return send(HttpMethod.POST, newDeviceInstallState); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceInstallStateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceInstallStateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceInstallStateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceInstallStateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequestBuilder.java index 364843d5fea..df670559136 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequest; +import com.microsoft.graph.requests.extensions.DeviceInstallStateRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceInstallStateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Install State Request Builder. */ -public class DeviceInstallStateRequestBuilder extends BaseDeviceInstallStateRequestBuilder implements IDeviceInstallStateRequestBuilder { +public class DeviceInstallStateRequestBuilder extends BaseRequestBuilder implements IDeviceInstallStateRequestBuilder { /** * The request builder for the DeviceInstallState @@ -25,4 +28,26 @@ public class DeviceInstallStateRequestBuilder extends BaseDeviceInstallStateRequ public DeviceInstallStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceInstallStateRequest instance + */ + public IDeviceInstallStateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceInstallStateRequest instance + */ + public IDeviceInstallStateRequest buildRequest(final java.util.List requestOptions) { + return new DeviceInstallStateRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionPage.java index 1c21f24b836..572e809c7fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Collection Page. */ -public class DeviceManagementExchangeConnectorCollectionPage extends BaseDeviceManagementExchangeConnectorCollectionPage implements IDeviceManagementExchangeConnectorCollectionPage { +public class DeviceManagementExchangeConnectorCollectionPage extends BaseCollectionPage implements IDeviceManagementExchangeConnectorCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceManagementExchangeConnector * - * @param response the serialized BaseDeviceManagementExchangeConnectorCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceManagementExchangeConnectorCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceManagementExchangeConnectorCollectionPage(final BaseDeviceManagementExchangeConnectorCollectionResponse response, final IDeviceManagementExchangeConnectorCollectionRequestBuilder builder) { - super(response, builder); + public DeviceManagementExchangeConnectorCollectionPage(final DeviceManagementExchangeConnectorCollectionResponse response, final IDeviceManagementExchangeConnectorCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequest.java index a2c3de3e655..361a4803497 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Collection Request. */ -public class DeviceManagementExchangeConnectorCollectionRequest extends BaseDeviceManagementExchangeConnectorCollectionRequest implements IDeviceManagementExchangeConnectorCollectionRequest { +public class DeviceManagementExchangeConnectorCollectionRequest extends BaseCollectionRequest implements IDeviceManagementExchangeConnectorCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceManagementExchangeConnector * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceManagementExchangeConnectorCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceManagementExchangeConnectorCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementExchangeConnectorCollectionResponse.class, IDeviceManagementExchangeConnectorCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceManagementExchangeConnectorCollectionPage get() throws ClientException { + final DeviceManagementExchangeConnectorCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceManagementExchangeConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceManagementExchangeConnector, callback); + } + + public DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceManagementExchangeConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceManagementExchangeConnector); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementExchangeConnectorCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceManagementExchangeConnectorCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementExchangeConnectorCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceManagementExchangeConnectorCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceManagementExchangeConnectorCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceManagementExchangeConnectorCollectionRequest)this; + } + + public IDeviceManagementExchangeConnectorCollectionPage buildFromResponse(final DeviceManagementExchangeConnectorCollectionResponse response) { + final IDeviceManagementExchangeConnectorCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceManagementExchangeConnectorCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceManagementExchangeConnectorCollectionPage page = new DeviceManagementExchangeConnectorCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequestBuilder.java index 2b12a9a753c..6662dd9938e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Collection Request Builder. */ -public class DeviceManagementExchangeConnectorCollectionRequestBuilder extends BaseDeviceManagementExchangeConnectorCollectionRequestBuilder implements IDeviceManagementExchangeConnectorCollectionRequestBuilder { +public class DeviceManagementExchangeConnectorCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceManagementExchangeConnectorCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceManagementExchangeConnectorCollectionRequestBuilder extends B public DeviceManagementExchangeConnectorCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceManagementExchangeConnectorCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceManagementExchangeConnectorCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementExchangeConnectorCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceManagementExchangeConnectorRequestBuilder byId(final String id) { + return new DeviceManagementExchangeConnectorRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionResponse.java new file mode 100644 index 00000000000..f275603a5f0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Exchange Connector Collection Response. + */ +public class DeviceManagementExchangeConnectorCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceManagementExchangeConnector within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequest.java index 0e5494b0df3..cc70f3c95d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Request. */ -public class DeviceManagementExchangeConnectorRequest extends BaseDeviceManagementExchangeConnectorRequest implements IDeviceManagementExchangeConnectorRequest { - +public class DeviceManagementExchangeConnectorRequest extends BaseRequest implements IDeviceManagementExchangeConnectorRequest { + /** * The request for the DeviceManagementExchangeConnector * @@ -26,4 +32,107 @@ public class DeviceManagementExchangeConnectorRequest extends BaseDeviceManageme public DeviceManagementExchangeConnectorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceManagementExchangeConnector.class); } + + /** + * Gets the DeviceManagementExchangeConnector from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceManagementExchangeConnector from the service + * + * @return the DeviceManagementExchangeConnector from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementExchangeConnector get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceManagementExchangeConnector with a source + * + * @param sourceDeviceManagementExchangeConnector the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceManagementExchangeConnector); + } + + /** + * Patches this DeviceManagementExchangeConnector with a source + * + * @param sourceDeviceManagementExchangeConnector the source object with updates + * @return the updated DeviceManagementExchangeConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementExchangeConnector patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceManagementExchangeConnector); + } + + /** + * Creates a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceManagementExchangeConnector); + } + + /** + * Creates a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the new object to create + * @return the created DeviceManagementExchangeConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException { + return send(HttpMethod.POST, newDeviceManagementExchangeConnector); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementExchangeConnectorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceManagementExchangeConnectorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementExchangeConnectorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceManagementExchangeConnectorRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequestBuilder.java index 1c356d1a4fa..60e6051595e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequestBuilder.java @@ -3,17 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorSyncRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Request Builder. */ -public class DeviceManagementExchangeConnectorRequestBuilder extends BaseDeviceManagementExchangeConnectorRequestBuilder implements IDeviceManagementExchangeConnectorRequestBuilder { +public class DeviceManagementExchangeConnectorRequestBuilder extends BaseRequestBuilder implements IDeviceManagementExchangeConnectorRequestBuilder { /** * The request builder for the DeviceManagementExchangeConnector @@ -25,4 +31,30 @@ public class DeviceManagementExchangeConnectorRequestBuilder extends BaseDeviceM public DeviceManagementExchangeConnectorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceManagementExchangeConnectorRequest instance + */ + public IDeviceManagementExchangeConnectorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceManagementExchangeConnectorRequest instance + */ + public IDeviceManagementExchangeConnectorRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementExchangeConnectorRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IDeviceManagementExchangeConnectorSyncRequestBuilder sync(final DeviceManagementExchangeConnectorSyncType syncType) { + return new DeviceManagementExchangeConnectorSyncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sync"), getClient(), null, syncType); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequest.java index b4f49aad19d..2e16428629c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnectorSyncBody; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorSyncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorSyncRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Sync Request. */ -public class DeviceManagementExchangeConnectorSyncRequest extends BaseDeviceManagementExchangeConnectorSyncRequest implements IDeviceManagementExchangeConnectorSyncRequest { +public class DeviceManagementExchangeConnectorSyncRequest extends BaseRequest implements IDeviceManagementExchangeConnectorSyncRequest { + protected final DeviceManagementExchangeConnectorSyncBody body; /** * The request for this DeviceManagementExchangeConnectorSync @@ -23,6 +31,49 @@ public class DeviceManagementExchangeConnectorSyncRequest extends BaseDeviceMana * @param requestOptions the options for this request */ public DeviceManagementExchangeConnectorSyncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new DeviceManagementExchangeConnectorSyncBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementExchangeConnectorSyncRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceManagementExchangeConnectorSyncRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceManagementExchangeConnectorSyncRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DeviceManagementExchangeConnectorSyncRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementExchangeConnectorSyncRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceManagementExchangeConnectorSyncRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequestBuilder.java index bab5dc117d4..b4f5b88ce7a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorSyncRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorSyncRequest; +import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementExchangeConnectorSyncRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Exchange Connector Sync Request Builder. */ -public class DeviceManagementExchangeConnectorSyncRequestBuilder extends BaseDeviceManagementExchangeConnectorSyncRequestBuilder implements IDeviceManagementExchangeConnectorSyncRequestBuilder { +public class DeviceManagementExchangeConnectorSyncRequestBuilder extends BaseActionRequestBuilder implements IDeviceManagementExchangeConnectorSyncRequestBuilder { /** * The request builder for this DeviceManagementExchangeConnectorSync @@ -25,6 +30,36 @@ public class DeviceManagementExchangeConnectorSyncRequestBuilder extends BaseDev * @param syncType the syncType */ public DeviceManagementExchangeConnectorSyncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final DeviceManagementExchangeConnectorSyncType syncType) { - super(requestUrl, client, requestOptions, syncType); + super(requestUrl, client, requestOptions); + bodyParams.put("syncType", syncType); + } + + /** + * Creates the IDeviceManagementExchangeConnectorSyncRequest + * + * @return the IDeviceManagementExchangeConnectorSyncRequest instance + */ + public IDeviceManagementExchangeConnectorSyncRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDeviceManagementExchangeConnectorSyncRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDeviceManagementExchangeConnectorSyncRequest instance + */ + public IDeviceManagementExchangeConnectorSyncRequest buildRequest(final java.util.List requestOptions) { + DeviceManagementExchangeConnectorSyncRequest request = new DeviceManagementExchangeConnectorSyncRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("syncType")) { + request.body.syncType = getParameter("syncType"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionPage.java index 7cbf537f5a6..efbbd818c52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDeviceManagementGetEffectivePermissionsCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementGetEffectivePermissionsCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Get Effective Permissions Collection Page. */ -public class DeviceManagementGetEffectivePermissionsCollectionPage extends BaseDeviceManagementGetEffectivePermissionsCollectionPage implements IDeviceManagementGetEffectivePermissionsCollectionPage { +public class DeviceManagementGetEffectivePermissionsCollectionPage extends BaseCollectionPage implements IDeviceManagementGetEffectivePermissionsCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceManagementGetEffectivePermissions. * - * @param response the serialized BaseDeviceManagementGetEffectivePermissionsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DeviceManagementGetEffectivePermissionsCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DeviceManagementGetEffectivePermissionsCollectionPage(final BaseDeviceManagementGetEffectivePermissionsCollectionResponse response, final IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder builder) { - super(response, builder); + public DeviceManagementGetEffectivePermissionsCollectionPage(final DeviceManagementGetEffectivePermissionsCollectionResponse response, final IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequest.java index 6f5df223973..a4ed2228ab3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementGetEffectivePermissionsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Get Effective Permissions Collection Request. */ -public class DeviceManagementGetEffectivePermissionsCollectionRequest extends BaseDeviceManagementGetEffectivePermissionsCollectionRequest implements IDeviceManagementGetEffectivePermissionsCollectionRequest { +public class DeviceManagementGetEffectivePermissionsCollectionRequest extends BaseCollectionRequest implements IDeviceManagementGetEffectivePermissionsCollectionRequest { + /** - * The request for this collection of DeviceManagement + * The request for this DeviceManagementGetEffectivePermissions * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DeviceManagementGetEffectivePermissionsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DeviceManagementGetEffectivePermissionsCollectionResponse.class, IDeviceManagementGetEffectivePermissionsCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceManagementGetEffectivePermissionsCollectionPage get() throws ClientException { + final DeviceManagementGetEffectivePermissionsCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDeviceManagementGetEffectivePermissionsCollectionPage buildFromResponse(final DeviceManagementGetEffectivePermissionsCollectionResponse response) { + final IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceManagementGetEffectivePermissionsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* scope */ null); + } else { + builder = null; + } + final IDeviceManagementGetEffectivePermissionsCollectionPage page = new DeviceManagementGetEffectivePermissionsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementGetEffectivePermissionsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDeviceManagementGetEffectivePermissionsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceManagementGetEffectivePermissionsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDeviceManagementGetEffectivePermissionsCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementGetEffectivePermissionsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDeviceManagementGetEffectivePermissionsCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java index d0b21dedecc..a518fc04d03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Get Effective Permissions Collection Request Builder. */ -public class DeviceManagementGetEffectivePermissionsCollectionRequestBuilder extends BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder implements IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder { +public class DeviceManagementGetEffectivePermissionsCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -24,6 +31,27 @@ public class DeviceManagementGetEffectivePermissionsCollectionRequestBuilder ext * @param scope the scope */ public DeviceManagementGetEffectivePermissionsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String scope) { - super(requestUrl, client, requestOptions, scope); + super(requestUrl, client, requestOptions); + if(scope!=null){ + functionOptions.add(new FunctionOption("scope", scope)); + } + } + + public IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest(final java.util.List requestOptions) { + DeviceManagementGetEffectivePermissionsCollectionRequest request = new DeviceManagementGetEffectivePermissionsCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionResponse.java new file mode 100644 index 00000000000..fbc0a2e3b20 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementGetEffectivePermissionsCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Get Effective Permissions Collection Response. + */ +public class DeviceManagementGetEffectivePermissionsCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionPage.java index 1b1e43b2977..a73def75d8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementPartner; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Partner Collection Page. */ -public class DeviceManagementPartnerCollectionPage extends BaseDeviceManagementPartnerCollectionPage implements IDeviceManagementPartnerCollectionPage { +public class DeviceManagementPartnerCollectionPage extends BaseCollectionPage implements IDeviceManagementPartnerCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceManagementPartner * - * @param response the serialized BaseDeviceManagementPartnerCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceManagementPartnerCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceManagementPartnerCollectionPage(final BaseDeviceManagementPartnerCollectionResponse response, final IDeviceManagementPartnerCollectionRequestBuilder builder) { - super(response, builder); + public DeviceManagementPartnerCollectionPage(final DeviceManagementPartnerCollectionResponse response, final IDeviceManagementPartnerCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequest.java index 2cb4e9851d8..ff8ce4d31b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Partner Collection Request. */ -public class DeviceManagementPartnerCollectionRequest extends BaseDeviceManagementPartnerCollectionRequest implements IDeviceManagementPartnerCollectionRequest { +public class DeviceManagementPartnerCollectionRequest extends BaseCollectionRequest implements IDeviceManagementPartnerCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceManagementPartner * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceManagementPartnerCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceManagementPartnerCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementPartnerCollectionResponse.class, IDeviceManagementPartnerCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceManagementPartnerCollectionPage get() throws ClientException { + final DeviceManagementPartnerCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceManagementPartner, callback); + } + + public DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceManagementPartner); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementPartnerCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceManagementPartnerCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementPartnerCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceManagementPartnerCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceManagementPartnerCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceManagementPartnerCollectionRequest)this; + } + + public IDeviceManagementPartnerCollectionPage buildFromResponse(final DeviceManagementPartnerCollectionResponse response) { + final IDeviceManagementPartnerCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceManagementPartnerCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceManagementPartnerCollectionPage page = new DeviceManagementPartnerCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequestBuilder.java index 1042d764929..b87b5ff9e56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Partner Collection Request Builder. */ -public class DeviceManagementPartnerCollectionRequestBuilder extends BaseDeviceManagementPartnerCollectionRequestBuilder implements IDeviceManagementPartnerCollectionRequestBuilder { +public class DeviceManagementPartnerCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceManagementPartnerCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceManagementPartnerCollectionRequestBuilder extends BaseDeviceM public DeviceManagementPartnerCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceManagementPartnerCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementPartnerCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceManagementPartnerRequestBuilder byId(final String id) { + return new DeviceManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionResponse.java new file mode 100644 index 00000000000..b9334d5e8b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementPartner; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Partner Collection Response. + */ +public class DeviceManagementPartnerCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceManagementPartner within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequest.java index 51bf4da32cf..39e210d69b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerRequest; +import com.microsoft.graph.models.extensions.DeviceManagementPartner; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Partner Request. */ -public class DeviceManagementPartnerRequest extends BaseDeviceManagementPartnerRequest implements IDeviceManagementPartnerRequest { - +public class DeviceManagementPartnerRequest extends BaseRequest implements IDeviceManagementPartnerRequest { + /** * The request for the DeviceManagementPartner * @@ -26,4 +32,107 @@ public class DeviceManagementPartnerRequest extends BaseDeviceManagementPartnerR public DeviceManagementPartnerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceManagementPartner.class); } + + /** + * Gets the DeviceManagementPartner from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceManagementPartner from the service + * + * @return the DeviceManagementPartner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementPartner get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceManagementPartner with a source + * + * @param sourceDeviceManagementPartner the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceManagementPartner sourceDeviceManagementPartner, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceManagementPartner); + } + + /** + * Patches this DeviceManagementPartner with a source + * + * @param sourceDeviceManagementPartner the source object with updates + * @return the updated DeviceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementPartner patch(final DeviceManagementPartner sourceDeviceManagementPartner) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceManagementPartner); + } + + /** + * Creates a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceManagementPartner); + } + + /** + * Creates a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the new object to create + * @return the created DeviceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException { + return send(HttpMethod.POST, newDeviceManagementPartner); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementPartnerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceManagementPartnerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementPartnerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceManagementPartnerRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequestBuilder.java index 9784c5149cf..95e72bef474 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementPartnerRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Partner Request Builder. */ -public class DeviceManagementPartnerRequestBuilder extends BaseDeviceManagementPartnerRequestBuilder implements IDeviceManagementPartnerRequestBuilder { +public class DeviceManagementPartnerRequestBuilder extends BaseRequestBuilder implements IDeviceManagementPartnerRequestBuilder { /** * The request builder for the DeviceManagementPartner @@ -25,4 +28,26 @@ public class DeviceManagementPartnerRequestBuilder extends BaseDeviceManagementP public DeviceManagementPartnerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceManagementPartnerRequest instance + */ + public IDeviceManagementPartnerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceManagementPartnerRequest instance + */ + public IDeviceManagementPartnerRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementPartnerRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequest.java index e0cd21664cc..478974232bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementRequest; +import com.microsoft.graph.models.extensions.DeviceManagement; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceManagement; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Request. */ -public class DeviceManagementRequest extends BaseDeviceManagementRequest implements IDeviceManagementRequest { - +public class DeviceManagementRequest extends BaseRequest implements IDeviceManagementRequest { + /** * The request for the DeviceManagement * @@ -26,4 +32,107 @@ public class DeviceManagementRequest extends BaseDeviceManagementRequest impleme public DeviceManagementRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceManagement.class); } + + /** + * Gets the DeviceManagement from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceManagement from the service + * + * @return the DeviceManagement from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagement get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceManagement with a source + * + * @param sourceDeviceManagement the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceManagement sourceDeviceManagement, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceManagement); + } + + /** + * Patches this DeviceManagement with a source + * + * @param sourceDeviceManagement the source object with updates + * @return the updated DeviceManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagement patch(final DeviceManagement sourceDeviceManagement) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceManagement); + } + + /** + * Creates a DeviceManagement with a new object + * + * @param newDeviceManagement the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceManagement newDeviceManagement, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceManagement); + } + + /** + * Creates a DeviceManagement with a new object + * + * @param newDeviceManagement the new object to create + * @return the created DeviceManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagement post(final DeviceManagement newDeviceManagement) throws ClientException { + return send(HttpMethod.POST, newDeviceManagement); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceManagementRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceManagementRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequestBuilder.java index 48b6d4ad7b9..628179c292d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequestBuilder.java @@ -3,17 +3,120 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementRequest; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsRequestBuilder; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequestBuilder; +import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceOverviewWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDetectedAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DetectedAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDetectedAppRequestBuilder; +import com.microsoft.graph.requests.extensions.DetectedAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.SoftwareUpdateStatusSummaryWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequestBuilder; +import com.microsoft.graph.requests.extensions.OnPremisesConditionalAccessSettingsRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequestBuilder; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateRequestBuilder; +import com.microsoft.graph.requests.extensions.IRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IRoleDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.RoleDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ResourceOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.ResourceOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementGetEffectivePermissionsCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Request Builder. */ -public class DeviceManagementRequestBuilder extends BaseDeviceManagementRequestBuilder implements IDeviceManagementRequestBuilder { +public class DeviceManagementRequestBuilder extends BaseRequestBuilder implements IDeviceManagementRequestBuilder { /** * The request builder for the DeviceManagement @@ -25,4 +128,235 @@ public class DeviceManagementRequestBuilder extends BaseDeviceManagementRequestB public DeviceManagementRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceManagementRequest instance + */ + public IDeviceManagementRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceManagementRequest instance + */ + public IDeviceManagementRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITermsAndConditionsCollectionRequestBuilder termsAndConditions() { + return new TermsAndConditionsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("termsAndConditions"), getClient(), null); + } + + public ITermsAndConditionsRequestBuilder termsAndConditions(final String id) { + return new TermsAndConditionsRequestBuilder(getRequestUrlWithAdditionalSegment("termsAndConditions") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ApplePushNotificationCertificate + * + * @return the IApplePushNotificationCertificateRequestBuilder instance + */ + public IApplePushNotificationCertificateRequestBuilder applePushNotificationCertificate() { + return new ApplePushNotificationCertificateRequestBuilder(getRequestUrlWithAdditionalSegment("applePushNotificationCertificate"), getClient(), null); + } + + /** + * Gets the request builder for ManagedDeviceOverview + * + * @return the IManagedDeviceOverviewWithReferenceRequestBuilder instance + */ + public IManagedDeviceOverviewWithReferenceRequestBuilder managedDeviceOverview() { + return new ManagedDeviceOverviewWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDeviceOverview"), getClient(), null); + } + public IDetectedAppCollectionRequestBuilder detectedApps() { + return new DetectedAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("detectedApps"), getClient(), null); + } + + public IDetectedAppRequestBuilder detectedApps(final String id) { + return new DetectedAppRequestBuilder(getRequestUrlWithAdditionalSegment("detectedApps") + "/" + id, getClient(), null); + } + public IManagedDeviceCollectionRequestBuilder managedDevices() { + return new ManagedDeviceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices"), getClient(), null); + } + + public IManagedDeviceRequestBuilder managedDevices(final String id) { + return new ManagedDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices") + "/" + id, getClient(), null); + } + public IDeviceConfigurationCollectionRequestBuilder deviceConfigurations() { + return new DeviceConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurations"), getClient(), null); + } + + public IDeviceConfigurationRequestBuilder deviceConfigurations(final String id) { + return new DeviceConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurations") + "/" + id, getClient(), null); + } + public IDeviceCompliancePolicyCollectionRequestBuilder deviceCompliancePolicies() { + return new DeviceCompliancePolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicies"), getClient(), null); + } + + public IDeviceCompliancePolicyRequestBuilder deviceCompliancePolicies(final String id) { + return new DeviceCompliancePolicyRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicies") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for SoftwareUpdateStatusSummary + * + * @return the ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder instance + */ + public ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder softwareUpdateStatusSummary() { + return new SoftwareUpdateStatusSummaryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("softwareUpdateStatusSummary"), getClient(), null); + } + + /** + * Gets the request builder for DeviceCompliancePolicyDeviceStateSummary + * + * @return the IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder instance + */ + public IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder deviceCompliancePolicyDeviceStateSummary() { + return new DeviceCompliancePolicyDeviceStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicyDeviceStateSummary"), getClient(), null); + } + public IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder deviceCompliancePolicySettingStateSummaries() { + return new DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicySettingStateSummaries"), getClient(), null); + } + + public IDeviceCompliancePolicySettingStateSummaryRequestBuilder deviceCompliancePolicySettingStateSummaries(final String id) { + return new DeviceCompliancePolicySettingStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicySettingStateSummaries") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for DeviceConfigurationDeviceStateSummary + * + * @return the IDeviceConfigurationDeviceStateSummaryRequestBuilder instance + */ + public IDeviceConfigurationDeviceStateSummaryRequestBuilder deviceConfigurationDeviceStateSummaries() { + return new DeviceConfigurationDeviceStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurationDeviceStateSummaries"), getClient(), null); + } + public IIosUpdateDeviceStatusCollectionRequestBuilder iosUpdateStatuses() { + return new IosUpdateDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("iosUpdateStatuses"), getClient(), null); + } + + public IIosUpdateDeviceStatusRequestBuilder iosUpdateStatuses(final String id) { + return new IosUpdateDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("iosUpdateStatuses") + "/" + id, getClient(), null); + } + public IDeviceCategoryCollectionRequestBuilder deviceCategories() { + return new DeviceCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCategories"), getClient(), null); + } + + public IDeviceCategoryRequestBuilder deviceCategories(final String id) { + return new DeviceCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCategories") + "/" + id, getClient(), null); + } + public IDeviceManagementExchangeConnectorCollectionRequestBuilder exchangeConnectors() { + return new DeviceManagementExchangeConnectorCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("exchangeConnectors"), getClient(), null); + } + + public IDeviceManagementExchangeConnectorRequestBuilder exchangeConnectors(final String id) { + return new DeviceManagementExchangeConnectorRequestBuilder(getRequestUrlWithAdditionalSegment("exchangeConnectors") + "/" + id, getClient(), null); + } + public IDeviceEnrollmentConfigurationCollectionRequestBuilder deviceEnrollmentConfigurations() { + return new DeviceEnrollmentConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceEnrollmentConfigurations"), getClient(), null); + } + + public IDeviceEnrollmentConfigurationRequestBuilder deviceEnrollmentConfigurations(final String id) { + return new DeviceEnrollmentConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("deviceEnrollmentConfigurations") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for OnPremisesConditionalAccessSettings + * + * @return the IOnPremisesConditionalAccessSettingsRequestBuilder instance + */ + public IOnPremisesConditionalAccessSettingsRequestBuilder conditionalAccessSettings() { + return new OnPremisesConditionalAccessSettingsRequestBuilder(getRequestUrlWithAdditionalSegment("conditionalAccessSettings"), getClient(), null); + } + public IMobileThreatDefenseConnectorCollectionRequestBuilder mobileThreatDefenseConnectors() { + return new MobileThreatDefenseConnectorCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileThreatDefenseConnectors"), getClient(), null); + } + + public IMobileThreatDefenseConnectorRequestBuilder mobileThreatDefenseConnectors(final String id) { + return new MobileThreatDefenseConnectorRequestBuilder(getRequestUrlWithAdditionalSegment("mobileThreatDefenseConnectors") + "/" + id, getClient(), null); + } + public IDeviceManagementPartnerCollectionRequestBuilder deviceManagementPartners() { + return new DeviceManagementPartnerCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementPartners"), getClient(), null); + } + + public IDeviceManagementPartnerRequestBuilder deviceManagementPartners(final String id) { + return new DeviceManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementPartners") + "/" + id, getClient(), null); + } + public INotificationMessageTemplateCollectionRequestBuilder notificationMessageTemplates() { + return new NotificationMessageTemplateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("notificationMessageTemplates"), getClient(), null); + } + + public INotificationMessageTemplateRequestBuilder notificationMessageTemplates(final String id) { + return new NotificationMessageTemplateRequestBuilder(getRequestUrlWithAdditionalSegment("notificationMessageTemplates") + "/" + id, getClient(), null); + } + public IRoleDefinitionCollectionRequestBuilder roleDefinitions() { + return new RoleDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("roleDefinitions"), getClient(), null); + } + + public IRoleDefinitionRequestBuilder roleDefinitions(final String id) { + return new RoleDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("roleDefinitions") + "/" + id, getClient(), null); + } + public IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder roleAssignments() { + return new DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments"), getClient(), null); + } + + public IDeviceAndAppManagementRoleAssignmentRequestBuilder roleAssignments(final String id) { + return new DeviceAndAppManagementRoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments") + "/" + id, getClient(), null); + } + public IResourceOperationCollectionRequestBuilder resourceOperations() { + return new ResourceOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("resourceOperations"), getClient(), null); + } + + public IResourceOperationRequestBuilder resourceOperations(final String id) { + return new ResourceOperationRequestBuilder(getRequestUrlWithAdditionalSegment("resourceOperations") + "/" + id, getClient(), null); + } + public ITelecomExpenseManagementPartnerCollectionRequestBuilder telecomExpenseManagementPartners() { + return new TelecomExpenseManagementPartnerCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("telecomExpenseManagementPartners"), getClient(), null); + } + + public ITelecomExpenseManagementPartnerRequestBuilder telecomExpenseManagementPartners(final String id) { + return new TelecomExpenseManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment("telecomExpenseManagementPartners") + "/" + id, getClient(), null); + } + public IRemoteAssistancePartnerCollectionRequestBuilder remoteAssistancePartners() { + return new RemoteAssistancePartnerCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("remoteAssistancePartners"), getClient(), null); + } + + public IRemoteAssistancePartnerRequestBuilder remoteAssistancePartners(final String id) { + return new RemoteAssistancePartnerRequestBuilder(getRequestUrlWithAdditionalSegment("remoteAssistancePartners") + "/" + id, getClient(), null); + } + public IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder windowsInformationProtectionAppLearningSummaries() { + return new WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionAppLearningSummaries"), getClient(), null); + } + + public IWindowsInformationProtectionAppLearningSummaryRequestBuilder windowsInformationProtectionAppLearningSummaries(final String id) { + return new WindowsInformationProtectionAppLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionAppLearningSummaries") + "/" + id, getClient(), null); + } + public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder windowsInformationProtectionNetworkLearningSummaries() { + return new WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionNetworkLearningSummaries"), getClient(), null); + } + + public IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder windowsInformationProtectionNetworkLearningSummaries(final String id) { + return new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionNetworkLearningSummaries") + "/" + id, getClient(), null); + } + public IDeviceManagementTroubleshootingEventCollectionRequestBuilder troubleshootingEvents() { + return new DeviceManagementTroubleshootingEventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("troubleshootingEvents"), getClient(), null); + } + + public IDeviceManagementTroubleshootingEventRequestBuilder troubleshootingEvents(final String id) { + return new DeviceManagementTroubleshootingEventRequestBuilder(getRequestUrlWithAdditionalSegment("troubleshootingEvents") + "/" + id, getClient(), null); + } + + public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder verifyWindowsEnrollmentAutoDiscovery(final String domainName) { + return new DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.verifyWindowsEnrollmentAutoDiscovery"), getClient(), null, domainName); + } + + public IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder getEffectivePermissions(final String scope) { + return new DeviceManagementGetEffectivePermissionsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEffectivePermissions"), getClient(), null, scope); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionPage.java index 128d6e84828..612c035da1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventCollectionPage; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Troubleshooting Event Collection Page. */ -public class DeviceManagementTroubleshootingEventCollectionPage extends BaseDeviceManagementTroubleshootingEventCollectionPage implements IDeviceManagementTroubleshootingEventCollectionPage { +public class DeviceManagementTroubleshootingEventCollectionPage extends BaseCollectionPage implements IDeviceManagementTroubleshootingEventCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for DeviceManagementTroubleshootingEvent * - * @param response the serialized BaseDeviceManagementTroubleshootingEventCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DeviceManagementTroubleshootingEventCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DeviceManagementTroubleshootingEventCollectionPage(final BaseDeviceManagementTroubleshootingEventCollectionResponse response, final IDeviceManagementTroubleshootingEventCollectionRequestBuilder builder) { - super(response, builder); + public DeviceManagementTroubleshootingEventCollectionPage(final DeviceManagementTroubleshootingEventCollectionResponse response, final IDeviceManagementTroubleshootingEventCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequest.java index 5fb5eed8388..f71c35d9da5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Troubleshooting Event Collection Request. */ -public class DeviceManagementTroubleshootingEventCollectionRequest extends BaseDeviceManagementTroubleshootingEventCollectionRequest implements IDeviceManagementTroubleshootingEventCollectionRequest { +public class DeviceManagementTroubleshootingEventCollectionRequest extends BaseCollectionRequest implements IDeviceManagementTroubleshootingEventCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of DeviceManagementTroubleshootingEvent * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DeviceManagementTroubleshootingEventCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DeviceManagementTroubleshootingEventCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementTroubleshootingEventCollectionResponse.class, IDeviceManagementTroubleshootingEventCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDeviceManagementTroubleshootingEventCollectionPage get() throws ClientException { + final DeviceManagementTroubleshootingEventCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DeviceManagementTroubleshootingEventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceManagementTroubleshootingEvent, callback); + } + + public DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceManagementTroubleshootingEventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDeviceManagementTroubleshootingEvent); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementTroubleshootingEventCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DeviceManagementTroubleshootingEventCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementTroubleshootingEventCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DeviceManagementTroubleshootingEventCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDeviceManagementTroubleshootingEventCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DeviceManagementTroubleshootingEventCollectionRequest)this; + } + + public IDeviceManagementTroubleshootingEventCollectionPage buildFromResponse(final DeviceManagementTroubleshootingEventCollectionResponse response) { + final IDeviceManagementTroubleshootingEventCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DeviceManagementTroubleshootingEventCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DeviceManagementTroubleshootingEventCollectionPage page = new DeviceManagementTroubleshootingEventCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequestBuilder.java index 9cd096fa7a5..c9cf7f222ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Troubleshooting Event Collection Request Builder. */ -public class DeviceManagementTroubleshootingEventCollectionRequestBuilder extends BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder implements IDeviceManagementTroubleshootingEventCollectionRequestBuilder { +public class DeviceManagementTroubleshootingEventCollectionRequestBuilder extends BaseRequestBuilder implements IDeviceManagementTroubleshootingEventCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class DeviceManagementTroubleshootingEventCollectionRequestBuilder extend public DeviceManagementTroubleshootingEventCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDeviceManagementTroubleshootingEventCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDeviceManagementTroubleshootingEventCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementTroubleshootingEventCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDeviceManagementTroubleshootingEventRequestBuilder byId(final String id) { + return new DeviceManagementTroubleshootingEventRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionResponse.java new file mode 100644 index 00000000000..d675ac63c3b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Troubleshooting Event Collection Response. + */ +public class DeviceManagementTroubleshootingEventCollectionResponse implements IJsonBackedObject { + + /** + * The list of DeviceManagementTroubleshootingEvent within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequest.java index dc62167a6e6..c5cab6267f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequest; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Troubleshooting Event Request. */ -public class DeviceManagementTroubleshootingEventRequest extends BaseDeviceManagementTroubleshootingEventRequest implements IDeviceManagementTroubleshootingEventRequest { - +public class DeviceManagementTroubleshootingEventRequest extends BaseRequest implements IDeviceManagementTroubleshootingEventRequest { + /** * The request for the DeviceManagementTroubleshootingEvent * @@ -41,4 +47,107 @@ public DeviceManagementTroubleshootingEventRequest(final String requestUrl, public DeviceManagementTroubleshootingEventRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DeviceManagementTroubleshootingEvent.class); } + + /** + * Gets the DeviceManagementTroubleshootingEvent from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DeviceManagementTroubleshootingEvent from the service + * + * @return the DeviceManagementTroubleshootingEvent from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementTroubleshootingEvent get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceManagementTroubleshootingEvent with a source + * + * @param sourceDeviceManagementTroubleshootingEvent the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDeviceManagementTroubleshootingEvent); + } + + /** + * Patches this DeviceManagementTroubleshootingEvent with a source + * + * @param sourceDeviceManagementTroubleshootingEvent the source object with updates + * @return the updated DeviceManagementTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementTroubleshootingEvent patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceManagementTroubleshootingEvent); + } + + /** + * Creates a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback) { + send(HttpMethod.POST, callback, newDeviceManagementTroubleshootingEvent); + } + + /** + * Creates a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the new object to create + * @return the created DeviceManagementTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException { + return send(HttpMethod.POST, newDeviceManagementTroubleshootingEvent); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementTroubleshootingEventRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceManagementTroubleshootingEventRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementTroubleshootingEventRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceManagementTroubleshootingEventRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequestBuilder.java index 384ec99e272..ebfc1dcb37d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementTroubleshootingEventRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Troubleshooting Event Request Builder. */ -public class DeviceManagementTroubleshootingEventRequestBuilder extends BaseDeviceManagementTroubleshootingEventRequestBuilder implements IDeviceManagementTroubleshootingEventRequestBuilder { +public class DeviceManagementTroubleshootingEventRequestBuilder extends BaseRequestBuilder implements IDeviceManagementTroubleshootingEventRequestBuilder { /** * The request builder for the DeviceManagementTroubleshootingEvent @@ -25,4 +28,26 @@ public class DeviceManagementTroubleshootingEventRequestBuilder extends BaseDevi public DeviceManagementTroubleshootingEventRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceManagementTroubleshootingEventRequest instance + */ + public IDeviceManagementTroubleshootingEventRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceManagementTroubleshootingEventRequest instance + */ + public IDeviceManagementTroubleshootingEventRequest buildRequest(final java.util.List requestOptions) { + return new DeviceManagementTroubleshootingEventRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java index 9287bf73b5d..3b33d0eab94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Verify Windows Enrollment Auto Discovery Request. */ -public class DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest extends BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest implements IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest { +public class DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest extends BaseRequest implements IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest { /** * The request for this DeviceManagementVerifyWindowsEnrollmentAutoDiscovery @@ -23,6 +30,48 @@ public class DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest extends * @param requestOptions the options for this request */ public DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Boolean.class); } + + /** + * Gets the Boolean + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Boolean + * + * @return the Boolean + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Boolean get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java index c6477d65ab9..46604956cd6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; +import com.microsoft.graph.requests.extensions.DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Management Verify Windows Enrollment Auto Discovery Request Builder. */ -public class DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder extends BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder implements IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder { +public class DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder extends BaseFunctionRequestBuilder implements IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder { /** * The request builder for this DeviceManagementVerifyWindowsEnrollmentAutoDiscovery @@ -24,6 +29,36 @@ public class DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder * @param domainName the domainName */ public DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String domainName) { - super(requestUrl, client, requestOptions, domainName); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("domainName", domainName)); + } + + /** + * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest + * + * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance + */ + public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance + */ + public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest(final java.util.List requestOptions) { + DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest request = new DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequest.java index 1d9f3a3858f..bf23ec6ec9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceRequest; +import com.microsoft.graph.requests.extensions.DeviceRequest; +import com.microsoft.graph.models.extensions.Device; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Device; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Request. */ -public class DeviceRequest extends BaseDeviceRequest implements IDeviceRequest { - +public class DeviceRequest extends BaseRequest implements IDeviceRequest { + /** * The request for the Device * @@ -26,4 +32,107 @@ public class DeviceRequest extends BaseDeviceRequest implements IDeviceRequest { public DeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Device.class); } + + /** + * Gets the Device from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Device from the service + * + * @return the Device from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Device get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Device with a source + * + * @param sourceDevice the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Device sourceDevice, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDevice); + } + + /** + * Patches this Device with a source + * + * @param sourceDevice the source object with updates + * @return the updated Device + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Device patch(final Device sourceDevice) throws ClientException { + return send(HttpMethod.PATCH, sourceDevice); + } + + /** + * Creates a Device with a new object + * + * @param newDevice the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Device newDevice, final ICallback callback) { + send(HttpMethod.POST, callback, newDevice); + } + + /** + * Creates a Device with a new object + * + * @param newDevice the new object to create + * @return the created Device + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Device post(final Device newDevice) throws ClientException { + return send(HttpMethod.POST, newDevice); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDeviceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DeviceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDeviceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DeviceRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequestBuilder.java index 68b00125cb3..cce7ec33fa8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequestBuilder.java @@ -3,17 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceRequest; +import com.microsoft.graph.requests.extensions.DeviceRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDeviceRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Device Request Builder. */ -public class DeviceRequestBuilder extends BaseDeviceRequestBuilder implements IDeviceRequestBuilder { +public class DeviceRequestBuilder extends BaseRequestBuilder implements IDeviceRequestBuilder { /** * The request builder for the Device @@ -25,4 +48,61 @@ public class DeviceRequestBuilder extends BaseDeviceRequestBuilder implements ID public DeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDeviceRequest instance + */ + public IDeviceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDeviceRequest instance + */ + public IDeviceRequest buildRequest(final java.util.List requestOptions) { + return new DeviceRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder registeredOwners() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("registeredOwners"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder registeredOwners(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("registeredOwners") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder registeredUsers() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("registeredUsers"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder registeredUsers(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("registeredUsers") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMemberOf() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMemberOf"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder transitiveMemberOf(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMemberOf") + "/" + id, getClient(), null); + } + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionPage.java index cb151bc7b38..2df6e37f853 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCheckMemberGroupsCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCheckMemberGroupsCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Check Member Groups Collection Page. */ -public class DirectoryObjectCheckMemberGroupsCollectionPage extends BaseDirectoryObjectCheckMemberGroupsCollectionPage implements IDirectoryObjectCheckMemberGroupsCollectionPage { +public class DirectoryObjectCheckMemberGroupsCollectionPage extends BaseCollectionPage implements IDirectoryObjectCheckMemberGroupsCollectionPage { /** - * A collection page for DirectoryObject. + * A collection page for DirectoryObjectCheckMemberGroups. * - * @param response the serialized BaseDirectoryObjectCheckMemberGroupsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DirectoryObjectCheckMemberGroupsCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DirectoryObjectCheckMemberGroupsCollectionPage(final BaseDirectoryObjectCheckMemberGroupsCollectionResponse response, final IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryObjectCheckMemberGroupsCollectionPage(final DirectoryObjectCheckMemberGroupsCollectionResponse response, final IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequest.java index 053ea9ce601..bd938d63ee3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCheckMemberGroupsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Check Member Groups Collection Request. */ -public class DirectoryObjectCheckMemberGroupsCollectionRequest extends BaseDirectoryObjectCheckMemberGroupsCollectionRequest implements IDirectoryObjectCheckMemberGroupsCollectionRequest { +public class DirectoryObjectCheckMemberGroupsCollectionRequest extends BaseCollectionRequest implements IDirectoryObjectCheckMemberGroupsCollectionRequest { + + + protected final DirectoryObjectCheckMemberGroupsBody body; + /** - * The request for this collection of DirectoryObject + * The request for this DirectoryObjectCheckMemberGroups * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DirectoryObjectCheckMemberGroupsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DirectoryObjectCheckMemberGroupsCollectionResponse.class, IDirectoryObjectCheckMemberGroupsCollectionPage.class); + body = new DirectoryObjectCheckMemberGroupsBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryObjectCheckMemberGroupsCollectionPage post() throws ClientException { + final DirectoryObjectCheckMemberGroupsCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDirectoryObjectCheckMemberGroupsCollectionPage buildFromResponse(final DirectoryObjectCheckMemberGroupsCollectionResponse response) { + final IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryObjectCheckMemberGroupsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* groupIds */ null); + } else { + builder = null; + } + final IDirectoryObjectCheckMemberGroupsCollectionPage page = new DirectoryObjectCheckMemberGroupsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectCheckMemberGroupsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDirectoryObjectCheckMemberGroupsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryObjectCheckMemberGroupsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDirectoryObjectCheckMemberGroupsCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectCheckMemberGroupsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDirectoryObjectCheckMemberGroupsCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java index 7b27445851e..48cb927d657 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Check Member Groups Collection Request Builder. */ -public class DirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder implements IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder { +public class DirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends BaseActionRequestBuilder implements IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder { /** * The request builder for this collection of DirectoryObject @@ -24,6 +31,27 @@ public class DirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends Ba * @param groupIds the groupIds */ public DirectoryObjectCheckMemberGroupsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List groupIds) { - super(requestUrl, client, requestOptions, groupIds); + super(requestUrl, client, requestOptions); + if(groupIds!=null){ + bodyParams.put("groupIds", groupIds); + } + } + + public IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions) { + DirectoryObjectCheckMemberGroupsCollectionRequest request = new DirectoryObjectCheckMemberGroupsCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("groupIds")) { + request.body.groupIds = getParameter("groupIds"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionResponse.java new file mode 100644 index 00000000000..baa2d0f73a9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCheckMemberGroupsCollectionResponse.java @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Object Check Member Groups Collection Response. + */ +public class DirectoryObjectCheckMemberGroupsCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionPage.java index 6b9a77d7b97..41ef3c6f3ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection Page. */ -public class DirectoryObjectCollectionPage extends BaseDirectoryObjectCollectionPage implements IDirectoryObjectCollectionPage { +public class DirectoryObjectCollectionPage extends BaseCollectionPage implements IDirectoryObjectCollectionPage { /** - * A collection page for DirectoryObject. + * A collection page for DirectoryObject * - * @param response the serialized BaseDirectoryObjectCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DirectoryObjectCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DirectoryObjectCollectionPage(final BaseDirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryObjectCollectionPage(final DirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequest.java index 227e9ecef35..2b77ae8f8aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection Reference Request. */ -public class DirectoryObjectCollectionReferenceRequest extends BaseDirectoryObjectCollectionReferenceRequest implements IDirectoryObjectCollectionReferenceRequest { +public class DirectoryObjectCollectionReferenceRequest extends BaseCollectionRequest implements IDirectoryObjectCollectionReferenceRequest { + + /** + * The request builder for this collection of DirectoryObject + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DirectoryObjectCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryObjectCollectionResponse.class, IDirectoryObjectCollectionPage.class); + } + + public void post(final DirectoryObject newDirectoryObject, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/directoryObjects/" + newDirectoryObject.id); + new DirectoryObjectWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryObject, body, callback); + } + + public DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/directoryObjects/" + newDirectoryObject.id); + return new DirectoryObjectWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryObject, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DirectoryObjectCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DirectoryObjectCollectionReferenceRequest)this; + } /** - * The request for this collection of User + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public DirectoryObjectCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IDirectoryObjectCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DirectoryObjectCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequestBuilder.java index b1356b55e0d..f541e69132f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection Reference Request Builder. */ -public class DirectoryObjectCollectionReferenceRequestBuilder extends BaseDirectoryObjectCollectionReferenceRequestBuilder implements IDirectoryObjectCollectionReferenceRequestBuilder { +public class DirectoryObjectCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IDirectoryObjectCollectionReferenceRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,12 @@ public class DirectoryObjectCollectionReferenceRequestBuilder extends BaseDirect public DirectoryObjectCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDirectoryObjectCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryObjectCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequest.java index cef923258d7..e5b64b8b6f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection Request. */ -public class DirectoryObjectCollectionRequest extends BaseDirectoryObjectCollectionRequest implements IDirectoryObjectCollectionRequest { +public class DirectoryObjectCollectionRequest extends BaseCollectionRequest implements IDirectoryObjectCollectionRequest { /** - * The request for this collection of DirectoryObject + * The request builder for this collection of DirectoryObject * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DirectoryObjectCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DirectoryObjectCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryObjectCollectionResponse.class, IDirectoryObjectCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryObjectCollectionPage get() throws ClientException { + final DirectoryObjectCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DirectoryObject newDirectoryObject, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DirectoryObjectRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryObject, callback); + } + + public DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DirectoryObjectRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryObject); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DirectoryObjectCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DirectoryObjectCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryObjectCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DirectoryObjectCollectionRequest)this; + } + + public IDirectoryObjectCollectionPage buildFromResponse(final DirectoryObjectCollectionResponse response) { + final IDirectoryObjectCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryObjectCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DirectoryObjectCollectionPage page = new DirectoryObjectCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequestBuilder.java index 68d5c3fc260..4de4c169bfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection Request Builder. */ -public class DirectoryObjectCollectionRequestBuilder extends BaseDirectoryObjectCollectionRequestBuilder implements IDirectoryObjectCollectionRequestBuilder { +public class DirectoryObjectCollectionRequestBuilder extends BaseRequestBuilder implements IDirectoryObjectCollectionRequestBuilder { /** * The request builder for this collection of DirectoryObject @@ -25,4 +33,22 @@ public class DirectoryObjectCollectionRequestBuilder extends BaseDirectoryObject public DirectoryObjectCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDirectoryObjectCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryObjectCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDirectoryObjectRequestBuilder byId(final String id) { + return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IDirectoryObjectGetByIdsCollectionRequestBuilder getByIds(final java.util.List ids, final java.util.List types) { + return new DirectoryObjectGetByIdsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getByIds"), getClient(), null, ids, types); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionResponse.java new file mode 100644 index 00000000000..441d5387394 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryObject; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Object Collection Response. + */ +public class DirectoryObjectCollectionResponse implements IJsonBackedObject { + + /** + * The list of DirectoryObject within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesPage.java index 843e9c868ad..ddc269d0e5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection With References Page. */ -public class DirectoryObjectCollectionWithReferencesPage extends BaseDirectoryObjectCollectionWithReferencesPage implements IDirectoryObjectCollectionWithReferencesPage { +public class DirectoryObjectCollectionWithReferencesPage extends BaseCollectionPage implements IDirectoryObjectCollectionWithReferencesPage { /** - * A collection page for User. + * A collection page for DirectoryObject * - * @param response the serialized BaseDirectoryObjectCollectionResponse from the service + * @param response the serialized DirectoryObjectCollectionResponse from the service * @param builder the request builder for the next collection page */ - public DirectoryObjectCollectionWithReferencesPage(final BaseDirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public DirectoryObjectCollectionWithReferencesPage(final DirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequest.java index 9313aece925..d0484eedd9a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection With References Request. */ -public class DirectoryObjectCollectionWithReferencesRequest extends BaseDirectoryObjectCollectionWithReferencesRequest implements IDirectoryObjectCollectionWithReferencesRequest { +public class DirectoryObjectCollectionWithReferencesRequest extends BaseCollectionRequest implements IDirectoryObjectCollectionWithReferencesRequest { /** - * The request for this collection of User + * The request builder for this collection of DirectoryObject * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DirectoryObjectCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DirectoryObjectCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryObjectCollectionResponse.class, IDirectoryObjectCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryObjectCollectionWithReferencesPage get() throws ClientException { + final DirectoryObjectCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IDirectoryObjectCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DirectoryObjectCollectionWithReferencesRequest)this; + } + + public IDirectoryObjectCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DirectoryObjectCollectionWithReferencesRequest)this; + } + + public IDirectoryObjectCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DirectoryObjectCollectionWithReferencesRequest)this; + } + + public IDirectoryObjectCollectionWithReferencesPage buildFromResponse(final DirectoryObjectCollectionResponse response) { + final IDirectoryObjectCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryObjectCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DirectoryObjectCollectionWithReferencesPage page = new DirectoryObjectCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequestBuilder.java index 3996202fa69..7796a346ead 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Collection With References Request Builder. */ -public class DirectoryObjectCollectionWithReferencesRequestBuilder extends BaseDirectoryObjectCollectionWithReferencesRequestBuilder implements IDirectoryObjectCollectionWithReferencesRequestBuilder { +public class DirectoryObjectCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IDirectoryObjectCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,20 @@ public class DirectoryObjectCollectionWithReferencesRequestBuilder extends BaseD public DirectoryObjectCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDirectoryObjectCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryObjectCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDirectoryObjectWithReferenceRequestBuilder byId(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IDirectoryObjectCollectionReferenceRequestBuilder references(){ + return new DirectoryObjectCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionPage.java index 86416948779..4dbb97d4f6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetByIdsCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetByIdsCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get By Ids Collection Page. */ -public class DirectoryObjectGetByIdsCollectionPage extends BaseDirectoryObjectGetByIdsCollectionPage implements IDirectoryObjectGetByIdsCollectionPage { +public class DirectoryObjectGetByIdsCollectionPage extends BaseCollectionPage implements IDirectoryObjectGetByIdsCollectionPage { /** - * A collection page for DirectoryObject. + * A collection page for DirectoryObjectGetByIds. * - * @param response the serialized BaseDirectoryObjectGetByIdsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DirectoryObjectGetByIdsCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DirectoryObjectGetByIdsCollectionPage(final BaseDirectoryObjectGetByIdsCollectionResponse response, final IDirectoryObjectGetByIdsCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryObjectGetByIdsCollectionPage(final DirectoryObjectGetByIdsCollectionResponse response, final IDirectoryObjectGetByIdsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequest.java index 4bfccc8c570..e1ea6fb6b00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetByIdsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get By Ids Collection Request. */ -public class DirectoryObjectGetByIdsCollectionRequest extends BaseDirectoryObjectGetByIdsCollectionRequest implements IDirectoryObjectGetByIdsCollectionRequest { +public class DirectoryObjectGetByIdsCollectionRequest extends BaseCollectionRequest implements IDirectoryObjectGetByIdsCollectionRequest { + + + protected final DirectoryObjectGetByIdsBody body; + /** - * The request for this collection of DirectoryObject + * The request for this DirectoryObjectGetByIds * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DirectoryObjectGetByIdsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DirectoryObjectGetByIdsCollectionResponse.class, IDirectoryObjectGetByIdsCollectionPage.class); + body = new DirectoryObjectGetByIdsBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryObjectGetByIdsCollectionPage post() throws ClientException { + final DirectoryObjectGetByIdsCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDirectoryObjectGetByIdsCollectionPage buildFromResponse(final DirectoryObjectGetByIdsCollectionResponse response) { + final IDirectoryObjectGetByIdsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryObjectGetByIdsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* ids */ null, /* types */ null); + } else { + builder = null; + } + final IDirectoryObjectGetByIdsCollectionPage page = new DirectoryObjectGetByIdsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectGetByIdsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDirectoryObjectGetByIdsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryObjectGetByIdsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDirectoryObjectGetByIdsCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectGetByIdsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDirectoryObjectGetByIdsCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequestBuilder.java index 92dac4c4d99..11a2d65f9bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetByIdsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get By Ids Collection Request Builder. */ -public class DirectoryObjectGetByIdsCollectionRequestBuilder extends BaseDirectoryObjectGetByIdsCollectionRequestBuilder implements IDirectoryObjectGetByIdsCollectionRequestBuilder { +public class DirectoryObjectGetByIdsCollectionRequestBuilder extends BaseActionRequestBuilder implements IDirectoryObjectGetByIdsCollectionRequestBuilder { /** * The request builder for this collection of DirectoryObject @@ -25,6 +32,33 @@ public class DirectoryObjectGetByIdsCollectionRequestBuilder extends BaseDirecto * @param types the types */ public DirectoryObjectGetByIdsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List ids, final java.util.List types) { - super(requestUrl, client, requestOptions, ids, types); + super(requestUrl, client, requestOptions); + if(ids!=null){ + bodyParams.put("ids", ids); + } + if(types!=null){ + bodyParams.put("types", types); + } + } + + public IDirectoryObjectGetByIdsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectGetByIdsCollectionRequest buildRequest(final java.util.List requestOptions) { + DirectoryObjectGetByIdsCollectionRequest request = new DirectoryObjectGetByIdsCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("ids")) { + request.body.ids = getParameter("ids"); + } + if (hasParameter("types")) { + request.body.types = getParameter("types"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionResponse.java new file mode 100644 index 00000000000..2848f3f3e0d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetByIdsCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Object Get By Ids Collection Response. + */ +public class DirectoryObjectGetByIdsCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionPage.java index a59dbd5abf6..2128758c227 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberGroupsCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberGroupsCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Groups Collection Page. */ -public class DirectoryObjectGetMemberGroupsCollectionPage extends BaseDirectoryObjectGetMemberGroupsCollectionPage implements IDirectoryObjectGetMemberGroupsCollectionPage { +public class DirectoryObjectGetMemberGroupsCollectionPage extends BaseCollectionPage implements IDirectoryObjectGetMemberGroupsCollectionPage { /** - * A collection page for DirectoryObject. + * A collection page for DirectoryObjectGetMemberGroups. * - * @param response the serialized BaseDirectoryObjectGetMemberGroupsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DirectoryObjectGetMemberGroupsCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DirectoryObjectGetMemberGroupsCollectionPage(final BaseDirectoryObjectGetMemberGroupsCollectionResponse response, final IDirectoryObjectGetMemberGroupsCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryObjectGetMemberGroupsCollectionPage(final DirectoryObjectGetMemberGroupsCollectionResponse response, final IDirectoryObjectGetMemberGroupsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequest.java index 5df7e30ee99..bb721039bd6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberGroupsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Groups Collection Request. */ -public class DirectoryObjectGetMemberGroupsCollectionRequest extends BaseDirectoryObjectGetMemberGroupsCollectionRequest implements IDirectoryObjectGetMemberGroupsCollectionRequest { +public class DirectoryObjectGetMemberGroupsCollectionRequest extends BaseCollectionRequest implements IDirectoryObjectGetMemberGroupsCollectionRequest { + + + protected final DirectoryObjectGetMemberGroupsBody body; + /** - * The request for this collection of DirectoryObject + * The request for this DirectoryObjectGetMemberGroups * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DirectoryObjectGetMemberGroupsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DirectoryObjectGetMemberGroupsCollectionResponse.class, IDirectoryObjectGetMemberGroupsCollectionPage.class); + body = new DirectoryObjectGetMemberGroupsBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryObjectGetMemberGroupsCollectionPage post() throws ClientException { + final DirectoryObjectGetMemberGroupsCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDirectoryObjectGetMemberGroupsCollectionPage buildFromResponse(final DirectoryObjectGetMemberGroupsCollectionResponse response) { + final IDirectoryObjectGetMemberGroupsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryObjectGetMemberGroupsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* securityEnabledOnly */ null); + } else { + builder = null; + } + final IDirectoryObjectGetMemberGroupsCollectionPage page = new DirectoryObjectGetMemberGroupsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectGetMemberGroupsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDirectoryObjectGetMemberGroupsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryObjectGetMemberGroupsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDirectoryObjectGetMemberGroupsCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectGetMemberGroupsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDirectoryObjectGetMemberGroupsCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequestBuilder.java index 39cc37c11e1..f4f7f6d11cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Groups Collection Request Builder. */ -public class DirectoryObjectGetMemberGroupsCollectionRequestBuilder extends BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder implements IDirectoryObjectGetMemberGroupsCollectionRequestBuilder { +public class DirectoryObjectGetMemberGroupsCollectionRequestBuilder extends BaseActionRequestBuilder implements IDirectoryObjectGetMemberGroupsCollectionRequestBuilder { /** * The request builder for this collection of DirectoryObject @@ -24,6 +31,27 @@ public class DirectoryObjectGetMemberGroupsCollectionRequestBuilder extends Base * @param securityEnabledOnly the securityEnabledOnly */ public DirectoryObjectGetMemberGroupsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean securityEnabledOnly) { - super(requestUrl, client, requestOptions, securityEnabledOnly); + super(requestUrl, client, requestOptions); + if(securityEnabledOnly!=null){ + bodyParams.put("securityEnabledOnly", securityEnabledOnly); + } + } + + public IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions) { + DirectoryObjectGetMemberGroupsCollectionRequest request = new DirectoryObjectGetMemberGroupsCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("securityEnabledOnly")) { + request.body.securityEnabledOnly = getParameter("securityEnabledOnly"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionResponse.java new file mode 100644 index 00000000000..19d5b98e3a8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberGroupsCollectionResponse.java @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Object Get Member Groups Collection Response. + */ +public class DirectoryObjectGetMemberGroupsCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionPage.java index 7cde1b16e95..7fbd58186ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberObjectsCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberObjectsCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Objects Collection Page. */ -public class DirectoryObjectGetMemberObjectsCollectionPage extends BaseDirectoryObjectGetMemberObjectsCollectionPage implements IDirectoryObjectGetMemberObjectsCollectionPage { +public class DirectoryObjectGetMemberObjectsCollectionPage extends BaseCollectionPage implements IDirectoryObjectGetMemberObjectsCollectionPage { /** - * A collection page for DirectoryObject. + * A collection page for DirectoryObjectGetMemberObjects. * - * @param response the serialized BaseDirectoryObjectGetMemberObjectsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DirectoryObjectGetMemberObjectsCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DirectoryObjectGetMemberObjectsCollectionPage(final BaseDirectoryObjectGetMemberObjectsCollectionResponse response, final IDirectoryObjectGetMemberObjectsCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryObjectGetMemberObjectsCollectionPage(final DirectoryObjectGetMemberObjectsCollectionResponse response, final IDirectoryObjectGetMemberObjectsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequest.java index 44d20811344..9193cd5c072 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberObjectsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Objects Collection Request. */ -public class DirectoryObjectGetMemberObjectsCollectionRequest extends BaseDirectoryObjectGetMemberObjectsCollectionRequest implements IDirectoryObjectGetMemberObjectsCollectionRequest { +public class DirectoryObjectGetMemberObjectsCollectionRequest extends BaseCollectionRequest implements IDirectoryObjectGetMemberObjectsCollectionRequest { + + + protected final DirectoryObjectGetMemberObjectsBody body; + /** - * The request for this collection of DirectoryObject + * The request for this DirectoryObjectGetMemberObjects * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DirectoryObjectGetMemberObjectsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DirectoryObjectGetMemberObjectsCollectionResponse.class, IDirectoryObjectGetMemberObjectsCollectionPage.class); + body = new DirectoryObjectGetMemberObjectsBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryObjectGetMemberObjectsCollectionPage post() throws ClientException { + final DirectoryObjectGetMemberObjectsCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDirectoryObjectGetMemberObjectsCollectionPage buildFromResponse(final DirectoryObjectGetMemberObjectsCollectionResponse response) { + final IDirectoryObjectGetMemberObjectsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryObjectGetMemberObjectsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* securityEnabledOnly */ null); + } else { + builder = null; + } + final IDirectoryObjectGetMemberObjectsCollectionPage page = new DirectoryObjectGetMemberObjectsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectGetMemberObjectsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDirectoryObjectGetMemberObjectsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryObjectGetMemberObjectsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDirectoryObjectGetMemberObjectsCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectGetMemberObjectsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDirectoryObjectGetMemberObjectsCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequestBuilder.java index 9238f4541c1..1817912f6b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Get Member Objects Collection Request Builder. */ -public class DirectoryObjectGetMemberObjectsCollectionRequestBuilder extends BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder implements IDirectoryObjectGetMemberObjectsCollectionRequestBuilder { +public class DirectoryObjectGetMemberObjectsCollectionRequestBuilder extends BaseActionRequestBuilder implements IDirectoryObjectGetMemberObjectsCollectionRequestBuilder { /** * The request builder for this collection of DirectoryObject @@ -24,6 +31,27 @@ public class DirectoryObjectGetMemberObjectsCollectionRequestBuilder extends Bas * @param securityEnabledOnly the securityEnabledOnly */ public DirectoryObjectGetMemberObjectsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean securityEnabledOnly) { - super(requestUrl, client, requestOptions, securityEnabledOnly); + super(requestUrl, client, requestOptions); + if(securityEnabledOnly!=null){ + bodyParams.put("securityEnabledOnly", securityEnabledOnly); + } + } + + public IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest(final java.util.List requestOptions) { + DirectoryObjectGetMemberObjectsCollectionRequest request = new DirectoryObjectGetMemberObjectsCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("securityEnabledOnly")) { + request.body.securityEnabledOnly = getParameter("securityEnabledOnly"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionResponse.java new file mode 100644 index 00000000000..d0da1096c63 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectGetMemberObjectsCollectionResponse.java @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Object Get Member Objects Collection Response. + */ +public class DirectoryObjectGetMemberObjectsCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequest.java index 3925e006d70..862efcb241e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Reference Request. */ -public class DirectoryObjectReferenceRequest extends BaseDirectoryObjectReferenceRequest implements IDirectoryObjectReferenceRequest { +public class DirectoryObjectReferenceRequest extends BaseRequest implements IDirectoryObjectReferenceRequest { /** * The request for the DirectoryObject @@ -22,7 +30,57 @@ public class DirectoryObjectReferenceRequest extends BaseDirectoryObjectReferenc * @param client the service client * @param requestOptions the options for this request */ - public DirectoryObjectReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DirectoryObjectReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryObject.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public DirectoryObject delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DirectoryObjectReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryObjectReferenceRequest)this; + } + /** + * Puts the DirectoryObject + * + * @param srcDirectoryObject the DirectoryObject reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(DirectoryObject srcDirectoryObject, final ICallback callback) { + send(HttpMethod.PUT, callback, srcDirectoryObject); + } + + /** + * Puts the DirectoryObject + * + * @param srcDirectoryObject the DirectoryObject reference to PUT + * @return the DirectoryObject + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public DirectoryObject put(DirectoryObject srcDirectoryObject) throws ClientException { + return send(HttpMethod.PUT, srcDirectoryObject); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequestBuilder.java index aa4d82b133f..6053ba6e59b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Reference Request Builder. */ -public class DirectoryObjectReferenceRequestBuilder extends BaseDirectoryObjectReferenceRequestBuilder implements IDirectoryObjectReferenceRequestBuilder { +public class DirectoryObjectReferenceRequestBuilder extends BaseRequestBuilder implements IDirectoryObjectReferenceRequestBuilder { /** * The request builder for the DirectoryObject @@ -25,4 +34,23 @@ public class DirectoryObjectReferenceRequestBuilder extends BaseDirectoryObjectR public DirectoryObjectReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IDirectoryObjectReferenceRequest instance + */ + public IDirectoryObjectReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDirectoryObjectReferenceRequest instance + */ + public IDirectoryObjectReferenceRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryObjectReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequest.java index fbcb8161977..98035a56fcd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequest; +import com.microsoft.graph.requests.extensions.DirectoryObjectRequest; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Request. */ -public class DirectoryObjectRequest extends BaseDirectoryObjectRequest implements IDirectoryObjectRequest { - +public class DirectoryObjectRequest extends BaseRequest implements IDirectoryObjectRequest { + /** * The request for the DirectoryObject * @@ -41,4 +47,107 @@ public DirectoryObjectRequest(final String requestUrl, public DirectoryObjectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DirectoryObject.class); } + + /** + * Gets the DirectoryObject from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DirectoryObject from the service + * + * @return the DirectoryObject from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryObject get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DirectoryObject with a source + * + * @param sourceDirectoryObject the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDirectoryObject); + } + + /** + * Patches this DirectoryObject with a source + * + * @param sourceDirectoryObject the source object with updates + * @return the updated DirectoryObject + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException { + return send(HttpMethod.PATCH, sourceDirectoryObject); + } + + /** + * Creates a DirectoryObject with a new object + * + * @param newDirectoryObject the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DirectoryObject newDirectoryObject, final ICallback callback) { + send(HttpMethod.POST, callback, newDirectoryObject); + } + + /** + * Creates a DirectoryObject with a new object + * + * @param newDirectoryObject the new object to create + * @return the created DirectoryObject + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException { + return send(HttpMethod.POST, newDirectoryObject); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DirectoryObjectRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryObjectRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequestBuilder.java index d4ab5737649..e34bf922fb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequest; +import com.microsoft.graph.requests.extensions.DirectoryObjectRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCheckMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectGetMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberObjectsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectGetMemberObjectsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectRestoreRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Request Builder. */ -public class DirectoryObjectRequestBuilder extends BaseDirectoryObjectRequestBuilder implements IDirectoryObjectRequestBuilder { +public class DirectoryObjectRequestBuilder extends BaseRequestBuilder implements IDirectoryObjectRequestBuilder { /** * The request builder for the DirectoryObject @@ -25,4 +36,42 @@ public class DirectoryObjectRequestBuilder extends BaseDirectoryObjectRequestBui public DirectoryObjectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDirectoryObjectRequest instance + */ + public IDirectoryObjectRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDirectoryObjectRequest instance + */ + public IDirectoryObjectRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryObjectRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder checkMemberGroups(final java.util.List groupIds) { + return new DirectoryObjectCheckMemberGroupsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.checkMemberGroups"), getClient(), null, groupIds); + } + + public IDirectoryObjectGetMemberGroupsCollectionRequestBuilder getMemberGroups(final Boolean securityEnabledOnly) { + return new DirectoryObjectGetMemberGroupsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMemberGroups"), getClient(), null, securityEnabledOnly); + } + + public IDirectoryObjectGetMemberObjectsCollectionRequestBuilder getMemberObjects(final Boolean securityEnabledOnly) { + return new DirectoryObjectGetMemberObjectsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMemberObjects"), getClient(), null, securityEnabledOnly); + } + + public IDirectoryObjectRestoreRequestBuilder restore() { + return new DirectoryObjectRestoreRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restore"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequest.java index 31c5d267501..843e2f9b93d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; +import com.microsoft.graph.requests.extensions.DirectoryObjectRestoreRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectRestoreRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Restore Request. */ -public class DirectoryObjectRestoreRequest extends BaseDirectoryObjectRestoreRequest implements IDirectoryObjectRestoreRequest { +public class DirectoryObjectRestoreRequest extends BaseRequest implements IDirectoryObjectRestoreRequest { /** * The request for this DirectoryObjectRestore @@ -23,6 +31,48 @@ public class DirectoryObjectRestoreRequest extends BaseDirectoryObjectRestoreReq * @param requestOptions the options for this request */ public DirectoryObjectRestoreRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DirectoryObject.class); } + + /** + * Creates the DirectoryObjectRestore + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the DirectoryObjectRestore + * + * @return the DirectoryObject + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public DirectoryObject post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectRestoreRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DirectoryObjectRestoreRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectRestoreRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryObjectRestoreRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequestBuilder.java index 65786790971..2e4e20daa9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRestoreRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; +import com.microsoft.graph.requests.extensions.DirectoryObjectRestoreRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectRestoreRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object Restore Request Builder. */ -public class DirectoryObjectRestoreRequestBuilder extends BaseDirectoryObjectRestoreRequestBuilder implements IDirectoryObjectRestoreRequestBuilder { +public class DirectoryObjectRestoreRequestBuilder extends BaseActionRequestBuilder implements IDirectoryObjectRestoreRequestBuilder { /** * The request builder for this DirectoryObjectRestore @@ -25,4 +30,29 @@ public class DirectoryObjectRestoreRequestBuilder extends BaseDirectoryObjectRes public DirectoryObjectRestoreRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IDirectoryObjectRestoreRequest + * + * @return the IDirectoryObjectRestoreRequest instance + */ + public IDirectoryObjectRestoreRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDirectoryObjectRestoreRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDirectoryObjectRestoreRequest instance + */ + public IDirectoryObjectRestoreRequest buildRequest(final java.util.List requestOptions) { + DirectoryObjectRestoreRequest request = new DirectoryObjectRestoreRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequest.java index d3870b6dd1a..3ffd62d0bf9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object With Reference Request. */ -public class DirectoryObjectWithReferenceRequest extends BaseDirectoryObjectWithReferenceRequest implements IDirectoryObjectWithReferenceRequest { +public class DirectoryObjectWithReferenceRequest extends BaseRequest implements IDirectoryObjectWithReferenceRequest { /** * The request for the DirectoryObject @@ -22,7 +30,66 @@ public class DirectoryObjectWithReferenceRequest extends BaseDirectoryObjectWith * @param client the service client * @param requestOptions the options for this request */ - public DirectoryObjectWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DirectoryObjectWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryObject.class); + } + + public void post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public DirectoryObject post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newDirectoryObject; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public DirectoryObject get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDirectoryObject); + } + + public DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException { + return send(HttpMethod.PATCH, sourceDirectoryObject); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryObjectWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IDirectoryObjectWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryObjectWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryObjectWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequestBuilder.java index abcab94e430..98be04d43de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Object With Reference Request Builder. */ -public class DirectoryObjectWithReferenceRequestBuilder extends BaseDirectoryObjectWithReferenceRequestBuilder implements IDirectoryObjectWithReferenceRequestBuilder { +public class DirectoryObjectWithReferenceRequestBuilder extends BaseRequestBuilder implements IDirectoryObjectWithReferenceRequestBuilder { /** * The request builder for the DirectoryObject @@ -25,4 +33,28 @@ public class DirectoryObjectWithReferenceRequestBuilder extends BaseDirectoryObj public DirectoryObjectWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDirectoryObjectWithReferenceRequest instance + */ + public IDirectoryObjectWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryObjectWithReferenceRequest instance + */ + public IDirectoryObjectWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryObjectWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDirectoryObjectReferenceRequestBuilder reference(){ + return new DirectoryObjectReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequest.java index 47b2e2c2c22..2e4e31d9c47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRequest; +import com.microsoft.graph.requests.extensions.DirectoryRequest; +import com.microsoft.graph.models.extensions.Directory; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Directory; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Request. */ -public class DirectoryRequest extends BaseDirectoryRequest implements IDirectoryRequest { - +public class DirectoryRequest extends BaseRequest implements IDirectoryRequest { + /** * The request for the Directory * @@ -26,4 +32,107 @@ public class DirectoryRequest extends BaseDirectoryRequest implements IDirectory public DirectoryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Directory.class); } + + /** + * Gets the Directory from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Directory from the service + * + * @return the Directory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Directory get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Directory with a source + * + * @param sourceDirectory the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Directory sourceDirectory, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDirectory); + } + + /** + * Patches this Directory with a source + * + * @param sourceDirectory the source object with updates + * @return the updated Directory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Directory patch(final Directory sourceDirectory) throws ClientException { + return send(HttpMethod.PATCH, sourceDirectory); + } + + /** + * Creates a Directory with a new object + * + * @param newDirectory the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Directory newDirectory, final ICallback callback) { + send(HttpMethod.POST, callback, newDirectory); + } + + /** + * Creates a Directory with a new object + * + * @param newDirectory the new object to create + * @return the created Directory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Directory post(final Directory newDirectory) throws ClientException { + return send(HttpMethod.POST, newDirectory); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DirectoryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequestBuilder.java index 5f83c44f43c..4ed819c48e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRequest; +import com.microsoft.graph.requests.extensions.DirectoryRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Request Builder. */ -public class DirectoryRequestBuilder extends BaseDirectoryRequestBuilder implements IDirectoryRequestBuilder { +public class DirectoryRequestBuilder extends BaseRequestBuilder implements IDirectoryRequestBuilder { /** * The request builder for the Directory @@ -25,4 +32,33 @@ public class DirectoryRequestBuilder extends BaseDirectoryRequestBuilder impleme public DirectoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDirectoryRequest instance + */ + public IDirectoryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDirectoryRequest instance + */ + public IDirectoryRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDirectoryObjectCollectionRequestBuilder deletedItems() { + return new DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems"), getClient(), null); + } + + public IDirectoryObjectRequestBuilder deletedItems(final String id) { + return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionPage.java index de3fb7d5d60..206f5ec8184 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryRole; +import com.microsoft.graph.requests.extensions.IDirectoryRoleCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Collection Page. */ -public class DirectoryRoleCollectionPage extends BaseDirectoryRoleCollectionPage implements IDirectoryRoleCollectionPage { +public class DirectoryRoleCollectionPage extends BaseCollectionPage implements IDirectoryRoleCollectionPage { /** - * A collection page for DirectoryRole. + * A collection page for DirectoryRole * - * @param response the serialized BaseDirectoryRoleCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DirectoryRoleCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DirectoryRoleCollectionPage(final BaseDirectoryRoleCollectionResponse response, final IDirectoryRoleCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryRoleCollectionPage(final DirectoryRoleCollectionResponse response, final IDirectoryRoleCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequest.java index eee0f6260cc..0e49c0a6dc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Collection Request. */ -public class DirectoryRoleCollectionRequest extends BaseDirectoryRoleCollectionRequest implements IDirectoryRoleCollectionRequest { +public class DirectoryRoleCollectionRequest extends BaseCollectionRequest implements IDirectoryRoleCollectionRequest { /** - * The request for this collection of DirectoryRole + * The request builder for this collection of DirectoryRole * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DirectoryRoleCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DirectoryRoleCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryRoleCollectionResponse.class, IDirectoryRoleCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryRoleCollectionPage get() throws ClientException { + final DirectoryRoleCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DirectoryRole newDirectoryRole, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DirectoryRoleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryRole, callback); + } + + public DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DirectoryRoleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryRole); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryRoleCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DirectoryRoleCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryRoleCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DirectoryRoleCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryRoleCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DirectoryRoleCollectionRequest)this; + } + + public IDirectoryRoleCollectionPage buildFromResponse(final DirectoryRoleCollectionResponse response) { + final IDirectoryRoleCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryRoleCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DirectoryRoleCollectionPage page = new DirectoryRoleCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequestBuilder.java index 0bf7424e287..765f0b08563 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Collection Request Builder. */ -public class DirectoryRoleCollectionRequestBuilder extends BaseDirectoryRoleCollectionRequestBuilder implements IDirectoryRoleCollectionRequestBuilder { +public class DirectoryRoleCollectionRequestBuilder extends BaseRequestBuilder implements IDirectoryRoleCollectionRequestBuilder { /** * The request builder for this collection of DirectoryRole @@ -25,4 +33,26 @@ public class DirectoryRoleCollectionRequestBuilder extends BaseDirectoryRoleColl public DirectoryRoleCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDirectoryRoleCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryRoleCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryRoleCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDirectoryRoleRequestBuilder byId(final String id) { + return new DirectoryRoleRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IDirectoryRoleDeltaCollectionRequestBuilder delta() { + return new DirectoryRoleDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IDirectoryRoleDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new DirectoryRoleDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionResponse.java new file mode 100644 index 00000000000..47b841f2583 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryRole; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Role Collection Response. + */ +public class DirectoryRoleCollectionResponse implements IJsonBackedObject { + + /** + * The list of DirectoryRole within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionPage.java index 70f276f8d25..540ed77bfcf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Delta Collection Page. */ -public class DirectoryRoleDeltaCollectionPage extends BaseDirectoryRoleDeltaCollectionPage implements IDirectoryRoleDeltaCollectionPage { +public class DirectoryRoleDeltaCollectionPage extends BaseCollectionPage implements IDirectoryRoleDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for DirectoryRole. + * A collection page for DirectoryRoleDelta. + * + * @param response The serialized DirectoryRoleDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public DirectoryRoleDeltaCollectionPage(final DirectoryRoleDeltaCollectionResponse response, final IDirectoryRoleDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseDirectoryRoleDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public DirectoryRoleDeltaCollectionPage(final BaseDirectoryRoleDeltaCollectionResponse response, final IDirectoryRoleDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequest.java index 59bb6962f58..5aa3a6c8d1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Delta Collection Request. */ -public class DirectoryRoleDeltaCollectionRequest extends BaseDirectoryRoleDeltaCollectionRequest implements IDirectoryRoleDeltaCollectionRequest { +public class DirectoryRoleDeltaCollectionRequest extends BaseCollectionRequest implements IDirectoryRoleDeltaCollectionRequest { + /** - * The request for this collection of DirectoryRole + * The request for this DirectoryRoleDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DirectoryRoleDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DirectoryRoleDeltaCollectionResponse.class, IDirectoryRoleDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryRoleDeltaCollectionPage get() throws ClientException { + final DirectoryRoleDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDirectoryRoleDeltaCollectionPage buildFromResponse(final DirectoryRoleDeltaCollectionResponse response) { + final IDirectoryRoleDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryRoleDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IDirectoryRoleDeltaCollectionPage page = new DirectoryRoleDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryRoleDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDirectoryRoleDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryRoleDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDirectoryRoleDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryRoleDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDirectoryRoleDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequestBuilder.java index d160a95e96d..fa62ac0f3ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Delta Collection Request Builder. */ -public class DirectoryRoleDeltaCollectionRequestBuilder extends BaseDirectoryRoleDeltaCollectionRequestBuilder implements IDirectoryRoleDeltaCollectionRequestBuilder { +public class DirectoryRoleDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDirectoryRoleDeltaCollectionRequestBuilder { /** * The request builder for this collection of DirectoryRole @@ -25,4 +32,22 @@ public class DirectoryRoleDeltaCollectionRequestBuilder extends BaseDirectoryRol public DirectoryRoleDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDirectoryRoleDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryRoleDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + DirectoryRoleDeltaCollectionRequest request = new DirectoryRoleDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionResponse.java new file mode 100644 index 00000000000..39fb9442b00 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Role Delta Collection Response. + */ +public class DirectoryRoleDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequest.java index c281bff04c7..dc68dbab5d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRoleRequest; +import com.microsoft.graph.requests.extensions.DirectoryRoleRequest; +import com.microsoft.graph.models.extensions.DirectoryRole; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DirectoryRole; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Request. */ -public class DirectoryRoleRequest extends BaseDirectoryRoleRequest implements IDirectoryRoleRequest { - +public class DirectoryRoleRequest extends BaseRequest implements IDirectoryRoleRequest { + /** * The request for the DirectoryRole * @@ -26,4 +32,107 @@ public class DirectoryRoleRequest extends BaseDirectoryRoleRequest implements ID public DirectoryRoleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DirectoryRole.class); } + + /** + * Gets the DirectoryRole from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DirectoryRole from the service + * + * @return the DirectoryRole from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRole get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DirectoryRole with a source + * + * @param sourceDirectoryRole the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DirectoryRole sourceDirectoryRole, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDirectoryRole); + } + + /** + * Patches this DirectoryRole with a source + * + * @param sourceDirectoryRole the source object with updates + * @return the updated DirectoryRole + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRole patch(final DirectoryRole sourceDirectoryRole) throws ClientException { + return send(HttpMethod.PATCH, sourceDirectoryRole); + } + + /** + * Creates a DirectoryRole with a new object + * + * @param newDirectoryRole the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DirectoryRole newDirectoryRole, final ICallback callback) { + send(HttpMethod.POST, callback, newDirectoryRole); + } + + /** + * Creates a DirectoryRole with a new object + * + * @param newDirectoryRole the new object to create + * @return the created DirectoryRole + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException { + return send(HttpMethod.POST, newDirectoryRole); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryRoleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DirectoryRoleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryRoleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryRoleRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequestBuilder.java index 470fe1b4490..cf90ecb7c3d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRoleRequest; +import com.microsoft.graph.requests.extensions.DirectoryRoleRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Request Builder. */ -public class DirectoryRoleRequestBuilder extends BaseDirectoryRoleRequestBuilder implements IDirectoryRoleRequestBuilder { +public class DirectoryRoleRequestBuilder extends BaseRequestBuilder implements IDirectoryRoleRequestBuilder { /** * The request builder for the DirectoryRole @@ -25,4 +32,33 @@ public class DirectoryRoleRequestBuilder extends BaseDirectoryRoleRequestBuilder public DirectoryRoleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDirectoryRoleRequest instance + */ + public IDirectoryRoleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDirectoryRoleRequest instance + */ + public IDirectoryRoleRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryRoleRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDirectoryObjectCollectionWithReferencesRequestBuilder members() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder members(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionPage.java index ef571a052a5..cc476f90b93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; +import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleTemplateCollectionPage; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleTemplateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Template Collection Page. */ -public class DirectoryRoleTemplateCollectionPage extends BaseDirectoryRoleTemplateCollectionPage implements IDirectoryRoleTemplateCollectionPage { +public class DirectoryRoleTemplateCollectionPage extends BaseCollectionPage implements IDirectoryRoleTemplateCollectionPage { /** - * A collection page for DirectoryRoleTemplate. + * A collection page for DirectoryRoleTemplate * - * @param response the serialized BaseDirectoryRoleTemplateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DirectoryRoleTemplateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DirectoryRoleTemplateCollectionPage(final BaseDirectoryRoleTemplateCollectionResponse response, final IDirectoryRoleTemplateCollectionRequestBuilder builder) { - super(response, builder); + public DirectoryRoleTemplateCollectionPage(final DirectoryRoleTemplateCollectionResponse response, final IDirectoryRoleTemplateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequest.java index 440a055fda0..75fb6572864 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleTemplateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Template Collection Request. */ -public class DirectoryRoleTemplateCollectionRequest extends BaseDirectoryRoleTemplateCollectionRequest implements IDirectoryRoleTemplateCollectionRequest { +public class DirectoryRoleTemplateCollectionRequest extends BaseCollectionRequest implements IDirectoryRoleTemplateCollectionRequest { /** - * The request for this collection of DirectoryRoleTemplate + * The request builder for this collection of DirectoryRoleTemplate * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DirectoryRoleTemplateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DirectoryRoleTemplateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DirectoryRoleTemplateCollectionResponse.class, IDirectoryRoleTemplateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDirectoryRoleTemplateCollectionPage get() throws ClientException { + final DirectoryRoleTemplateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DirectoryRoleTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryRoleTemplate, callback); + } + + public DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DirectoryRoleTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDirectoryRoleTemplate); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryRoleTemplateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DirectoryRoleTemplateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryRoleTemplateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DirectoryRoleTemplateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDirectoryRoleTemplateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DirectoryRoleTemplateCollectionRequest)this; + } + + public IDirectoryRoleTemplateCollectionPage buildFromResponse(final DirectoryRoleTemplateCollectionResponse response) { + final IDirectoryRoleTemplateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DirectoryRoleTemplateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DirectoryRoleTemplateCollectionPage page = new DirectoryRoleTemplateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequestBuilder.java index 1312c267d1c..debbbadc526 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleTemplateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Template Collection Request Builder. */ -public class DirectoryRoleTemplateCollectionRequestBuilder extends BaseDirectoryRoleTemplateCollectionRequestBuilder implements IDirectoryRoleTemplateCollectionRequestBuilder { +public class DirectoryRoleTemplateCollectionRequestBuilder extends BaseRequestBuilder implements IDirectoryRoleTemplateCollectionRequestBuilder { /** * The request builder for this collection of DirectoryRoleTemplate @@ -25,4 +33,18 @@ public class DirectoryRoleTemplateCollectionRequestBuilder extends BaseDirectory public DirectoryRoleTemplateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDirectoryRoleTemplateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDirectoryRoleTemplateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryRoleTemplateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDirectoryRoleTemplateRequestBuilder byId(final String id) { + return new DirectoryRoleTemplateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionResponse.java new file mode 100644 index 00000000000..68927e1d0b2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Directory Role Template Collection Response. + */ +public class DirectoryRoleTemplateCollectionResponse implements IJsonBackedObject { + + /** + * The list of DirectoryRoleTemplate within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequest.java index faf9ba23af4..b35ee5534b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequest; +import com.microsoft.graph.requests.extensions.DirectoryRoleTemplateRequest; +import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleTemplateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Template Request. */ -public class DirectoryRoleTemplateRequest extends BaseDirectoryRoleTemplateRequest implements IDirectoryRoleTemplateRequest { - +public class DirectoryRoleTemplateRequest extends BaseRequest implements IDirectoryRoleTemplateRequest { + /** * The request for the DirectoryRoleTemplate * @@ -26,4 +32,107 @@ public class DirectoryRoleTemplateRequest extends BaseDirectoryRoleTemplateReque public DirectoryRoleTemplateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DirectoryRoleTemplate.class); } + + /** + * Gets the DirectoryRoleTemplate from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DirectoryRoleTemplate from the service + * + * @return the DirectoryRoleTemplate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRoleTemplate get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DirectoryRoleTemplate with a source + * + * @param sourceDirectoryRoleTemplate the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDirectoryRoleTemplate); + } + + /** + * Patches this DirectoryRoleTemplate with a source + * + * @param sourceDirectoryRoleTemplate the source object with updates + * @return the updated DirectoryRoleTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRoleTemplate patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate) throws ClientException { + return send(HttpMethod.PATCH, sourceDirectoryRoleTemplate); + } + + /** + * Creates a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback) { + send(HttpMethod.POST, callback, newDirectoryRoleTemplate); + } + + /** + * Creates a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the new object to create + * @return the created DirectoryRoleTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException { + return send(HttpMethod.POST, newDirectoryRoleTemplate); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDirectoryRoleTemplateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DirectoryRoleTemplateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDirectoryRoleTemplateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DirectoryRoleTemplateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequestBuilder.java index 2e653a12f09..1379bbc4c25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequest; +import com.microsoft.graph.requests.extensions.DirectoryRoleTemplateRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDirectoryRoleTemplateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Directory Role Template Request Builder. */ -public class DirectoryRoleTemplateRequestBuilder extends BaseDirectoryRoleTemplateRequestBuilder implements IDirectoryRoleTemplateRequestBuilder { +public class DirectoryRoleTemplateRequestBuilder extends BaseRequestBuilder implements IDirectoryRoleTemplateRequestBuilder { /** * The request builder for the DirectoryRoleTemplate @@ -25,4 +28,26 @@ public class DirectoryRoleTemplateRequestBuilder extends BaseDirectoryRoleTempla public DirectoryRoleTemplateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDirectoryRoleTemplateRequest instance + */ + public IDirectoryRoleTemplateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDirectoryRoleTemplateRequest instance + */ + public IDirectoryRoleTemplateRequest buildRequest(final java.util.List requestOptions) { + return new DirectoryRoleTemplateRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionPage.java index 0bddee9e318..145003f6480 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Domain; +import com.microsoft.graph.requests.extensions.IDomainCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDomainCollectionPage; -import com.microsoft.graph.requests.generated.BaseDomainCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Collection Page. */ -public class DomainCollectionPage extends BaseDomainCollectionPage implements IDomainCollectionPage { +public class DomainCollectionPage extends BaseCollectionPage implements IDomainCollectionPage { /** - * A collection page for Domain. + * A collection page for Domain * - * @param response the serialized BaseDomainCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DomainCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DomainCollectionPage(final BaseDomainCollectionResponse response, final IDomainCollectionRequestBuilder builder) { - super(response, builder); + public DomainCollectionPage(final DomainCollectionResponse response, final IDomainCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequest.java index f715d2a8d45..2f78dfc0e6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Collection Request. */ -public class DomainCollectionRequest extends BaseDomainCollectionRequest implements IDomainCollectionRequest { +public class DomainCollectionRequest extends BaseCollectionRequest implements IDomainCollectionRequest { /** - * The request for this collection of Domain + * The request builder for this collection of Domain * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DomainCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DomainCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DomainCollectionResponse.class, IDomainCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDomainCollectionPage get() throws ClientException { + final DomainCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Domain newDomain, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DomainRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDomain, callback); + } + + public Domain post(final Domain newDomain) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DomainRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDomain); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DomainCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DomainCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDomainCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DomainCollectionRequest)this; + } + + public IDomainCollectionPage buildFromResponse(final DomainCollectionResponse response) { + final IDomainCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DomainCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DomainCollectionPage page = new DomainCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequestBuilder.java index 3012b364794..a7290aefaf9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Collection Request Builder. */ -public class DomainCollectionRequestBuilder extends BaseDomainCollectionRequestBuilder implements IDomainCollectionRequestBuilder { +public class DomainCollectionRequestBuilder extends BaseRequestBuilder implements IDomainCollectionRequestBuilder { /** * The request builder for this collection of Domain @@ -25,4 +33,18 @@ public class DomainCollectionRequestBuilder extends BaseDomainCollectionRequestB public DomainCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDomainCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDomainCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DomainCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDomainRequestBuilder byId(final String id) { + return new DomainRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionResponse.java new file mode 100644 index 00000000000..39cef871151 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Domain; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Domain Collection Response. + */ +public class DomainCollectionResponse implements IJsonBackedObject { + + /** + * The list of Domain within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequest.java index 7950fb12e4a..82f2a176532 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsCnameRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsCnameRecordRequest; +import com.microsoft.graph.models.extensions.DomainDnsCnameRecord; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DomainDnsCnameRecord; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsCnameRecordRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Cname Record Request. */ -public class DomainDnsCnameRecordRequest extends BaseDomainDnsCnameRecordRequest implements IDomainDnsCnameRecordRequest { - +public class DomainDnsCnameRecordRequest extends BaseRequest implements IDomainDnsCnameRecordRequest { + /** * The request for the DomainDnsCnameRecord * @@ -26,4 +32,107 @@ public class DomainDnsCnameRecordRequest extends BaseDomainDnsCnameRecordRequest public DomainDnsCnameRecordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DomainDnsCnameRecord.class); } + + /** + * Gets the DomainDnsCnameRecord from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DomainDnsCnameRecord from the service + * + * @return the DomainDnsCnameRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsCnameRecord get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DomainDnsCnameRecord with a source + * + * @param sourceDomainDnsCnameRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomainDnsCnameRecord); + } + + /** + * Patches this DomainDnsCnameRecord with a source + * + * @param sourceDomainDnsCnameRecord the source object with updates + * @return the updated DomainDnsCnameRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsCnameRecord patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord) throws ClientException { + return send(HttpMethod.PATCH, sourceDomainDnsCnameRecord); + } + + /** + * Creates a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DomainDnsCnameRecord newDomainDnsCnameRecord, final ICallback callback) { + send(HttpMethod.POST, callback, newDomainDnsCnameRecord); + } + + /** + * Creates a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the new object to create + * @return the created DomainDnsCnameRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsCnameRecord post(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException { + return send(HttpMethod.POST, newDomainDnsCnameRecord); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsCnameRecordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainDnsCnameRecordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsCnameRecordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainDnsCnameRecordRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequestBuilder.java index db4f5110513..4c24510ec7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsCnameRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsCnameRecordRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsCnameRecordRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Cname Record Request Builder. */ -public class DomainDnsCnameRecordRequestBuilder extends BaseDomainDnsCnameRecordRequestBuilder implements IDomainDnsCnameRecordRequestBuilder { +public class DomainDnsCnameRecordRequestBuilder extends BaseRequestBuilder implements IDomainDnsCnameRecordRequestBuilder { /** * The request builder for the DomainDnsCnameRecord @@ -25,4 +28,26 @@ public class DomainDnsCnameRecordRequestBuilder extends BaseDomainDnsCnameRecord public DomainDnsCnameRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainDnsCnameRecordRequest instance + */ + public IDomainDnsCnameRecordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainDnsCnameRecordRequest instance + */ + public IDomainDnsCnameRecordRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsCnameRecordRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequest.java index ea07a42f40f..6d39e95f525 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsMxRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsMxRecordRequest; +import com.microsoft.graph.models.extensions.DomainDnsMxRecord; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DomainDnsMxRecord; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsMxRecordRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Mx Record Request. */ -public class DomainDnsMxRecordRequest extends BaseDomainDnsMxRecordRequest implements IDomainDnsMxRecordRequest { - +public class DomainDnsMxRecordRequest extends BaseRequest implements IDomainDnsMxRecordRequest { + /** * The request for the DomainDnsMxRecord * @@ -26,4 +32,107 @@ public class DomainDnsMxRecordRequest extends BaseDomainDnsMxRecordRequest imple public DomainDnsMxRecordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DomainDnsMxRecord.class); } + + /** + * Gets the DomainDnsMxRecord from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DomainDnsMxRecord from the service + * + * @return the DomainDnsMxRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsMxRecord get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DomainDnsMxRecord with a source + * + * @param sourceDomainDnsMxRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DomainDnsMxRecord sourceDomainDnsMxRecord, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomainDnsMxRecord); + } + + /** + * Patches this DomainDnsMxRecord with a source + * + * @param sourceDomainDnsMxRecord the source object with updates + * @return the updated DomainDnsMxRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsMxRecord patch(final DomainDnsMxRecord sourceDomainDnsMxRecord) throws ClientException { + return send(HttpMethod.PATCH, sourceDomainDnsMxRecord); + } + + /** + * Creates a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DomainDnsMxRecord newDomainDnsMxRecord, final ICallback callback) { + send(HttpMethod.POST, callback, newDomainDnsMxRecord); + } + + /** + * Creates a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the new object to create + * @return the created DomainDnsMxRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsMxRecord post(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException { + return send(HttpMethod.POST, newDomainDnsMxRecord); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsMxRecordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainDnsMxRecordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsMxRecordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainDnsMxRecordRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequestBuilder.java index a75681c1f4c..e3c8aa5a376 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsMxRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsMxRecordRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsMxRecordRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Mx Record Request Builder. */ -public class DomainDnsMxRecordRequestBuilder extends BaseDomainDnsMxRecordRequestBuilder implements IDomainDnsMxRecordRequestBuilder { +public class DomainDnsMxRecordRequestBuilder extends BaseRequestBuilder implements IDomainDnsMxRecordRequestBuilder { /** * The request builder for the DomainDnsMxRecord @@ -25,4 +28,26 @@ public class DomainDnsMxRecordRequestBuilder extends BaseDomainDnsMxRecordReques public DomainDnsMxRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainDnsMxRecordRequest instance + */ + public IDomainDnsMxRecordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainDnsMxRecordRequest instance + */ + public IDomainDnsMxRecordRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsMxRecordRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionPage.java index dbda6af9755..a19e6cc6282 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsRecord; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordCollectionPage; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Record Collection Page. */ -public class DomainDnsRecordCollectionPage extends BaseDomainDnsRecordCollectionPage implements IDomainDnsRecordCollectionPage { +public class DomainDnsRecordCollectionPage extends BaseCollectionPage implements IDomainDnsRecordCollectionPage { /** - * A collection page for DomainDnsRecord. + * A collection page for DomainDnsRecord * - * @param response the serialized BaseDomainDnsRecordCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DomainDnsRecordCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DomainDnsRecordCollectionPage(final BaseDomainDnsRecordCollectionResponse response, final IDomainDnsRecordCollectionRequestBuilder builder) { - super(response, builder); + public DomainDnsRecordCollectionPage(final DomainDnsRecordCollectionResponse response, final IDomainDnsRecordCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequest.java index be3deb8ab84..b957e4f0df6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Record Collection Request. */ -public class DomainDnsRecordCollectionRequest extends BaseDomainDnsRecordCollectionRequest implements IDomainDnsRecordCollectionRequest { +public class DomainDnsRecordCollectionRequest extends BaseCollectionRequest implements IDomainDnsRecordCollectionRequest { /** - * The request for this collection of DomainDnsRecord + * The request builder for this collection of DomainDnsRecord * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DomainDnsRecordCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DomainDnsRecordCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DomainDnsRecordCollectionResponse.class, IDomainDnsRecordCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDomainDnsRecordCollectionPage get() throws ClientException { + final DomainDnsRecordCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DomainDnsRecordRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDomainDnsRecord, callback); + } + + public DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DomainDnsRecordRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDomainDnsRecord); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsRecordCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DomainDnsRecordCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsRecordCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DomainDnsRecordCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDomainDnsRecordCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DomainDnsRecordCollectionRequest)this; + } + + public IDomainDnsRecordCollectionPage buildFromResponse(final DomainDnsRecordCollectionResponse response) { + final IDomainDnsRecordCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DomainDnsRecordCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DomainDnsRecordCollectionPage page = new DomainDnsRecordCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequestBuilder.java index 25afcd8ed70..3ece970345f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Record Collection Request Builder. */ -public class DomainDnsRecordCollectionRequestBuilder extends BaseDomainDnsRecordCollectionRequestBuilder implements IDomainDnsRecordCollectionRequestBuilder { +public class DomainDnsRecordCollectionRequestBuilder extends BaseRequestBuilder implements IDomainDnsRecordCollectionRequestBuilder { /** * The request builder for this collection of DomainDnsRecord @@ -25,4 +33,18 @@ public class DomainDnsRecordCollectionRequestBuilder extends BaseDomainDnsRecord public DomainDnsRecordCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDomainDnsRecordCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDomainDnsRecordCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsRecordCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDomainDnsRecordRequestBuilder byId(final String id) { + return new DomainDnsRecordRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionResponse.java new file mode 100644 index 00000000000..361ba61c844 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsRecord; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Domain Dns Record Collection Response. + */ +public class DomainDnsRecordCollectionResponse implements IJsonBackedObject { + + /** + * The list of DomainDnsRecord within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequest.java index 102658d39df..bf6d3db855a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsRecordRequest; +import com.microsoft.graph.models.extensions.DomainDnsRecord; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DomainDnsRecord; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Record Request. */ -public class DomainDnsRecordRequest extends BaseDomainDnsRecordRequest implements IDomainDnsRecordRequest { - +public class DomainDnsRecordRequest extends BaseRequest implements IDomainDnsRecordRequest { + /** * The request for the DomainDnsRecord * @@ -41,4 +47,107 @@ public DomainDnsRecordRequest(final String requestUrl, public DomainDnsRecordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DomainDnsRecord.class); } + + /** + * Gets the DomainDnsRecord from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DomainDnsRecord from the service + * + * @return the DomainDnsRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsRecord get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DomainDnsRecord with a source + * + * @param sourceDomainDnsRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DomainDnsRecord sourceDomainDnsRecord, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomainDnsRecord); + } + + /** + * Patches this DomainDnsRecord with a source + * + * @param sourceDomainDnsRecord the source object with updates + * @return the updated DomainDnsRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsRecord patch(final DomainDnsRecord sourceDomainDnsRecord) throws ClientException { + return send(HttpMethod.PATCH, sourceDomainDnsRecord); + } + + /** + * Creates a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback) { + send(HttpMethod.POST, callback, newDomainDnsRecord); + } + + /** + * Creates a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the new object to create + * @return the created DomainDnsRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException { + return send(HttpMethod.POST, newDomainDnsRecord); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsRecordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainDnsRecordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsRecordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainDnsRecordRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequestBuilder.java index 1c4db6f532e..217cc30979d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsRecordRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsRecordRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Record Request Builder. */ -public class DomainDnsRecordRequestBuilder extends BaseDomainDnsRecordRequestBuilder implements IDomainDnsRecordRequestBuilder { +public class DomainDnsRecordRequestBuilder extends BaseRequestBuilder implements IDomainDnsRecordRequestBuilder { /** * The request builder for the DomainDnsRecord @@ -25,4 +28,26 @@ public class DomainDnsRecordRequestBuilder extends BaseDomainDnsRecordRequestBui public DomainDnsRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainDnsRecordRequest instance + */ + public IDomainDnsRecordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainDnsRecordRequest instance + */ + public IDomainDnsRecordRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsRecordRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequest.java index 6a480095d89..bcc509b4d6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsSrvRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsSrvRecordRequest; +import com.microsoft.graph.models.extensions.DomainDnsSrvRecord; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DomainDnsSrvRecord; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsSrvRecordRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Srv Record Request. */ -public class DomainDnsSrvRecordRequest extends BaseDomainDnsSrvRecordRequest implements IDomainDnsSrvRecordRequest { - +public class DomainDnsSrvRecordRequest extends BaseRequest implements IDomainDnsSrvRecordRequest { + /** * The request for the DomainDnsSrvRecord * @@ -26,4 +32,107 @@ public class DomainDnsSrvRecordRequest extends BaseDomainDnsSrvRecordRequest imp public DomainDnsSrvRecordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DomainDnsSrvRecord.class); } + + /** + * Gets the DomainDnsSrvRecord from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DomainDnsSrvRecord from the service + * + * @return the DomainDnsSrvRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsSrvRecord get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DomainDnsSrvRecord with a source + * + * @param sourceDomainDnsSrvRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomainDnsSrvRecord); + } + + /** + * Patches this DomainDnsSrvRecord with a source + * + * @param sourceDomainDnsSrvRecord the source object with updates + * @return the updated DomainDnsSrvRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsSrvRecord patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord) throws ClientException { + return send(HttpMethod.PATCH, sourceDomainDnsSrvRecord); + } + + /** + * Creates a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DomainDnsSrvRecord newDomainDnsSrvRecord, final ICallback callback) { + send(HttpMethod.POST, callback, newDomainDnsSrvRecord); + } + + /** + * Creates a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the new object to create + * @return the created DomainDnsSrvRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsSrvRecord post(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException { + return send(HttpMethod.POST, newDomainDnsSrvRecord); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsSrvRecordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainDnsSrvRecordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsSrvRecordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainDnsSrvRecordRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequestBuilder.java index 3eb5a1cfc31..e56d0aa8819 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsSrvRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsSrvRecordRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsSrvRecordRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Srv Record Request Builder. */ -public class DomainDnsSrvRecordRequestBuilder extends BaseDomainDnsSrvRecordRequestBuilder implements IDomainDnsSrvRecordRequestBuilder { +public class DomainDnsSrvRecordRequestBuilder extends BaseRequestBuilder implements IDomainDnsSrvRecordRequestBuilder { /** * The request builder for the DomainDnsSrvRecord @@ -25,4 +28,26 @@ public class DomainDnsSrvRecordRequestBuilder extends BaseDomainDnsSrvRecordRequ public DomainDnsSrvRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainDnsSrvRecordRequest instance + */ + public IDomainDnsSrvRecordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainDnsSrvRecordRequest instance + */ + public IDomainDnsSrvRecordRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsSrvRecordRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequest.java index a64b3ddac16..0d7361e2bbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsTxtRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsTxtRecordRequest; +import com.microsoft.graph.models.extensions.DomainDnsTxtRecord; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DomainDnsTxtRecord; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsTxtRecordRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Txt Record Request. */ -public class DomainDnsTxtRecordRequest extends BaseDomainDnsTxtRecordRequest implements IDomainDnsTxtRecordRequest { - +public class DomainDnsTxtRecordRequest extends BaseRequest implements IDomainDnsTxtRecordRequest { + /** * The request for the DomainDnsTxtRecord * @@ -26,4 +32,107 @@ public class DomainDnsTxtRecordRequest extends BaseDomainDnsTxtRecordRequest imp public DomainDnsTxtRecordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DomainDnsTxtRecord.class); } + + /** + * Gets the DomainDnsTxtRecord from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DomainDnsTxtRecord from the service + * + * @return the DomainDnsTxtRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsTxtRecord get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DomainDnsTxtRecord with a source + * + * @param sourceDomainDnsTxtRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomainDnsTxtRecord); + } + + /** + * Patches this DomainDnsTxtRecord with a source + * + * @param sourceDomainDnsTxtRecord the source object with updates + * @return the updated DomainDnsTxtRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsTxtRecord patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord) throws ClientException { + return send(HttpMethod.PATCH, sourceDomainDnsTxtRecord); + } + + /** + * Creates a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DomainDnsTxtRecord newDomainDnsTxtRecord, final ICallback callback) { + send(HttpMethod.POST, callback, newDomainDnsTxtRecord); + } + + /** + * Creates a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the new object to create + * @return the created DomainDnsTxtRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsTxtRecord post(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException { + return send(HttpMethod.POST, newDomainDnsTxtRecord); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsTxtRecordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainDnsTxtRecordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsTxtRecordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainDnsTxtRecordRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequestBuilder.java index 27952a4b012..5806351fc45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsTxtRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsTxtRecordRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsTxtRecordRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Txt Record Request Builder. */ -public class DomainDnsTxtRecordRequestBuilder extends BaseDomainDnsTxtRecordRequestBuilder implements IDomainDnsTxtRecordRequestBuilder { +public class DomainDnsTxtRecordRequestBuilder extends BaseRequestBuilder implements IDomainDnsTxtRecordRequestBuilder { /** * The request builder for the DomainDnsTxtRecord @@ -25,4 +28,26 @@ public class DomainDnsTxtRecordRequestBuilder extends BaseDomainDnsTxtRecordRequ public DomainDnsTxtRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainDnsTxtRecordRequest instance + */ + public IDomainDnsTxtRecordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainDnsTxtRecordRequest instance + */ + public IDomainDnsTxtRecordRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsTxtRecordRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequest.java index d79e380372a..140429036fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsUnavailableRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsUnavailableRecordRequest; +import com.microsoft.graph.models.extensions.DomainDnsUnavailableRecord; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DomainDnsUnavailableRecord; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsUnavailableRecordRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Unavailable Record Request. */ -public class DomainDnsUnavailableRecordRequest extends BaseDomainDnsUnavailableRecordRequest implements IDomainDnsUnavailableRecordRequest { - +public class DomainDnsUnavailableRecordRequest extends BaseRequest implements IDomainDnsUnavailableRecordRequest { + /** * The request for the DomainDnsUnavailableRecord * @@ -26,4 +32,107 @@ public class DomainDnsUnavailableRecordRequest extends BaseDomainDnsUnavailableR public DomainDnsUnavailableRecordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DomainDnsUnavailableRecord.class); } + + /** + * Gets the DomainDnsUnavailableRecord from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DomainDnsUnavailableRecord from the service + * + * @return the DomainDnsUnavailableRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsUnavailableRecord get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DomainDnsUnavailableRecord with a source + * + * @param sourceDomainDnsUnavailableRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomainDnsUnavailableRecord); + } + + /** + * Patches this DomainDnsUnavailableRecord with a source + * + * @param sourceDomainDnsUnavailableRecord the source object with updates + * @return the updated DomainDnsUnavailableRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsUnavailableRecord patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord) throws ClientException { + return send(HttpMethod.PATCH, sourceDomainDnsUnavailableRecord); + } + + /** + * Creates a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord, final ICallback callback) { + send(HttpMethod.POST, callback, newDomainDnsUnavailableRecord); + } + + /** + * Creates a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the new object to create + * @return the created DomainDnsUnavailableRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsUnavailableRecord post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException { + return send(HttpMethod.POST, newDomainDnsUnavailableRecord); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainDnsUnavailableRecordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainDnsUnavailableRecordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainDnsUnavailableRecordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainDnsUnavailableRecordRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequestBuilder.java index 909b299ea83..e82e401d911 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsUnavailableRecordRequest; +import com.microsoft.graph.requests.extensions.DomainDnsUnavailableRecordRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainDnsUnavailableRecordRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Dns Unavailable Record Request Builder. */ -public class DomainDnsUnavailableRecordRequestBuilder extends BaseDomainDnsUnavailableRecordRequestBuilder implements IDomainDnsUnavailableRecordRequestBuilder { +public class DomainDnsUnavailableRecordRequestBuilder extends BaseRequestBuilder implements IDomainDnsUnavailableRecordRequestBuilder { /** * The request builder for the DomainDnsUnavailableRecord @@ -25,4 +28,26 @@ public class DomainDnsUnavailableRecordRequestBuilder extends BaseDomainDnsUnava public DomainDnsUnavailableRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainDnsUnavailableRecordRequest instance + */ + public IDomainDnsUnavailableRecordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainDnsUnavailableRecordRequest instance + */ + public IDomainDnsUnavailableRecordRequest buildRequest(final java.util.List requestOptions) { + return new DomainDnsUnavailableRecordRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequest.java index b116f7fa16e..0a1d7d0025e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainForceDeleteBody; +import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; +import com.microsoft.graph.requests.extensions.DomainForceDeleteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainForceDeleteRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Force Delete Request. */ -public class DomainForceDeleteRequest extends BaseDomainForceDeleteRequest implements IDomainForceDeleteRequest { +public class DomainForceDeleteRequest extends BaseRequest implements IDomainForceDeleteRequest { + protected final DomainForceDeleteBody body; /** * The request for this DomainForceDelete @@ -23,6 +31,49 @@ public class DomainForceDeleteRequest extends BaseDomainForceDeleteRequest imple * @param requestOptions the options for this request */ public DomainForceDeleteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new DomainForceDeleteBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainForceDeleteRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainForceDeleteRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDomainForceDeleteRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DomainForceDeleteRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainForceDeleteRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainForceDeleteRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequestBuilder.java index 9ca865fc461..ad700211b2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainForceDeleteRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; +import com.microsoft.graph.requests.extensions.DomainForceDeleteRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainForceDeleteRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Force Delete Request Builder. */ -public class DomainForceDeleteRequestBuilder extends BaseDomainForceDeleteRequestBuilder implements IDomainForceDeleteRequestBuilder { +public class DomainForceDeleteRequestBuilder extends BaseActionRequestBuilder implements IDomainForceDeleteRequestBuilder { /** * The request builder for this DomainForceDelete @@ -24,6 +29,36 @@ public class DomainForceDeleteRequestBuilder extends BaseDomainForceDeleteReques * @param disableUserAccounts the disableUserAccounts */ public DomainForceDeleteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean disableUserAccounts) { - super(requestUrl, client, requestOptions, disableUserAccounts); + super(requestUrl, client, requestOptions); + bodyParams.put("disableUserAccounts", disableUserAccounts); + } + + /** + * Creates the IDomainForceDeleteRequest + * + * @return the IDomainForceDeleteRequest instance + */ + public IDomainForceDeleteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDomainForceDeleteRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDomainForceDeleteRequest instance + */ + public IDomainForceDeleteRequest buildRequest(final java.util.List requestOptions) { + DomainForceDeleteRequest request = new DomainForceDeleteRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("disableUserAccounts")) { + request.body.disableUserAccounts = getParameter("disableUserAccounts"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainRequest.java index 8220729f363..92213e825de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainRequest; +import com.microsoft.graph.requests.extensions.DomainRequest; +import com.microsoft.graph.models.extensions.Domain; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Domain; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Request. */ -public class DomainRequest extends BaseDomainRequest implements IDomainRequest { - +public class DomainRequest extends BaseRequest implements IDomainRequest { + /** * The request for the Domain * @@ -26,4 +32,107 @@ public class DomainRequest extends BaseDomainRequest implements IDomainRequest { public DomainRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Domain.class); } + + /** + * Gets the Domain from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Domain from the service + * + * @return the Domain from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Domain get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Domain with a source + * + * @param sourceDomain the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Domain sourceDomain, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDomain); + } + + /** + * Patches this Domain with a source + * + * @param sourceDomain the source object with updates + * @return the updated Domain + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Domain patch(final Domain sourceDomain) throws ClientException { + return send(HttpMethod.PATCH, sourceDomain); + } + + /** + * Creates a Domain with a new object + * + * @param newDomain the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Domain newDomain, final ICallback callback) { + send(HttpMethod.POST, callback, newDomain); + } + + /** + * Creates a Domain with a new object + * + * @param newDomain the new object to create + * @return the created Domain + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Domain post(final Domain newDomain) throws ClientException { + return send(HttpMethod.POST, newDomain); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainRequestBuilder.java index ffc18396996..c9ed775b2d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainRequestBuilder.java @@ -3,17 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainRequest; +import com.microsoft.graph.requests.extensions.DomainRequest; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.DomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.DomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequestBuilder; +import com.microsoft.graph.requests.extensions.DomainForceDeleteRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainVerifyRequestBuilder; +import com.microsoft.graph.requests.extensions.DomainVerifyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Request Builder. */ -public class DomainRequestBuilder extends BaseDomainRequestBuilder implements IDomainRequestBuilder { +public class DomainRequestBuilder extends BaseRequestBuilder implements IDomainRequestBuilder { /** * The request builder for the Domain @@ -25,4 +44,55 @@ public class DomainRequestBuilder extends BaseDomainRequestBuilder implements ID public DomainRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDomainRequest instance + */ + public IDomainRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDomainRequest instance + */ + public IDomainRequest buildRequest(final java.util.List requestOptions) { + return new DomainRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDomainDnsRecordCollectionRequestBuilder serviceConfigurationRecords() { + return new DomainDnsRecordCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("serviceConfigurationRecords"), getClient(), null); + } + + public IDomainDnsRecordRequestBuilder serviceConfigurationRecords(final String id) { + return new DomainDnsRecordRequestBuilder(getRequestUrlWithAdditionalSegment("serviceConfigurationRecords") + "/" + id, getClient(), null); + } + public IDomainDnsRecordCollectionRequestBuilder verificationDnsRecords() { + return new DomainDnsRecordCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("verificationDnsRecords"), getClient(), null); + } + + public IDomainDnsRecordRequestBuilder verificationDnsRecords(final String id) { + return new DomainDnsRecordRequestBuilder(getRequestUrlWithAdditionalSegment("verificationDnsRecords") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder domainNameReferences() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("domainNameReferences"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder domainNameReferences(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("domainNameReferences") + "/" + id, getClient(), null); + } + + public IDomainForceDeleteRequestBuilder forceDelete(final Boolean disableUserAccounts) { + return new DomainForceDeleteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.forceDelete"), getClient(), null, disableUserAccounts); + } + + public IDomainVerifyRequestBuilder verify() { + return new DomainVerifyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.verify"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequest.java index 0156b8f1406..8843903d4d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Domain; +import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; +import com.microsoft.graph.requests.extensions.DomainVerifyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainVerifyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Verify Request. */ -public class DomainVerifyRequest extends BaseDomainVerifyRequest implements IDomainVerifyRequest { +public class DomainVerifyRequest extends BaseRequest implements IDomainVerifyRequest { /** * The request for this DomainVerify @@ -23,6 +31,48 @@ public class DomainVerifyRequest extends BaseDomainVerifyRequest implements IDom * @param requestOptions the options for this request */ public DomainVerifyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Domain.class); } + + /** + * Creates the DomainVerify + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the DomainVerify + * + * @return the Domain + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Domain post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDomainVerifyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DomainVerifyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDomainVerifyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DomainVerifyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequestBuilder.java index e3a8c5aca2b..0ad451acd97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainVerifyRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; +import com.microsoft.graph.requests.extensions.DomainVerifyRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDomainVerifyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Domain Verify Request Builder. */ -public class DomainVerifyRequestBuilder extends BaseDomainVerifyRequestBuilder implements IDomainVerifyRequestBuilder { +public class DomainVerifyRequestBuilder extends BaseActionRequestBuilder implements IDomainVerifyRequestBuilder { /** * The request builder for this DomainVerify @@ -25,4 +30,29 @@ public class DomainVerifyRequestBuilder extends BaseDomainVerifyRequestBuilder i public DomainVerifyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IDomainVerifyRequest + * + * @return the IDomainVerifyRequest instance + */ + public IDomainVerifyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDomainVerifyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDomainVerifyRequest instance + */ + public IDomainVerifyRequest buildRequest(final java.util.List requestOptions) { + DomainVerifyRequest request = new DomainVerifyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionPage.java index 2d945f4f8cb..1c015e6df1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Collection Page. */ -public class DriveCollectionPage extends BaseDriveCollectionPage implements IDriveCollectionPage { +public class DriveCollectionPage extends BaseCollectionPage implements IDriveCollectionPage { /** - * A collection page for Drive. + * A collection page for Drive * - * @param response the serialized BaseDriveCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DriveCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DriveCollectionPage(final BaseDriveCollectionResponse response, final IDriveCollectionRequestBuilder builder) { - super(response, builder); + public DriveCollectionPage(final DriveCollectionResponse response, final IDriveCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequest.java index 098a4241543..b34329c47b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Collection Request. */ -public class DriveCollectionRequest extends BaseDriveCollectionRequest implements IDriveCollectionRequest { +public class DriveCollectionRequest extends BaseCollectionRequest implements IDriveCollectionRequest { /** - * The request for this collection of Drive + * The request builder for this collection of Drive * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DriveCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DriveCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DriveCollectionResponse.class, IDriveCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveCollectionPage get() throws ClientException { + final DriveCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Drive newDrive, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DriveRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDrive, callback); + } + + public Drive post(final Drive newDrive) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DriveRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDrive); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DriveCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DriveCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DriveCollectionRequest)this; + } + + public IDriveCollectionPage buildFromResponse(final DriveCollectionResponse response) { + final IDriveCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DriveCollectionPage page = new DriveCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequestBuilder.java index 46df6471c53..21dfd9da653 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Collection Request Builder. */ -public class DriveCollectionRequestBuilder extends BaseDriveCollectionRequestBuilder implements IDriveCollectionRequestBuilder { +public class DriveCollectionRequestBuilder extends BaseRequestBuilder implements IDriveCollectionRequestBuilder { /** * The request builder for this collection of Drive @@ -25,4 +33,18 @@ public class DriveCollectionRequestBuilder extends BaseDriveCollectionRequestBui public DriveCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDriveCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DriveCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDriveRequestBuilder byId(final String id) { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionResponse.java new file mode 100644 index 00000000000..fbb662f3beb --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Drive; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Collection Response. + */ +public class DriveCollectionResponse implements IJsonBackedObject { + + /** + * The list of Drive within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionPage.java index 1e913141318..2eb07e66c44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Collection Page. */ -public class DriveItemCollectionPage extends BaseDriveItemCollectionPage implements IDriveItemCollectionPage { +public class DriveItemCollectionPage extends BaseCollectionPage implements IDriveItemCollectionPage { /** - * A collection page for DriveItem. + * A collection page for DriveItem * - * @param response the serialized BaseDriveItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DriveItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DriveItemCollectionPage(final BaseDriveItemCollectionResponse response, final IDriveItemCollectionRequestBuilder builder) { - super(response, builder); + public DriveItemCollectionPage(final DriveItemCollectionResponse response, final IDriveItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequest.java index 9cbcdf292ef..894979cf0fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Collection Request. */ -public class DriveItemCollectionRequest extends BaseDriveItemCollectionRequest implements IDriveItemCollectionRequest { +public class DriveItemCollectionRequest extends BaseCollectionRequest implements IDriveItemCollectionRequest { /** - * The request for this collection of DriveItem + * The request builder for this collection of DriveItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DriveItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DriveItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DriveItemCollectionResponse.class, IDriveItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveItemCollectionPage get() throws ClientException { + final DriveItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DriveItem newDriveItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDriveItem, callback); + } + + public DriveItem post(final DriveItem newDriveItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDriveItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DriveItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DriveItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DriveItemCollectionRequest)this; + } + + public IDriveItemCollectionPage buildFromResponse(final DriveItemCollectionResponse response) { + final IDriveItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DriveItemCollectionPage page = new DriveItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequestBuilder.java index 06f41674dc1..7e00f4e8829 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Collection Request Builder. */ -public class DriveItemCollectionRequestBuilder extends BaseDriveItemCollectionRequestBuilder implements IDriveItemCollectionRequestBuilder { +public class DriveItemCollectionRequestBuilder extends BaseRequestBuilder implements IDriveItemCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -25,8 +33,21 @@ public class DriveItemCollectionRequestBuilder extends BaseDriveItemCollectionRe public DriveItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - + + public IDriveItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DriveItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDriveItemRequestBuilder byId(final String id) { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + public IDriveItemRequestBuilder appRoot() { return new DriveItemRequestBuilder(this.getRequestUrlWithAdditionalSegment("approot"), this.getClient(), null); } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionResponse.java new file mode 100644 index 00000000000..a9002788e69 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Item Collection Response. + */ +public class DriveItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of DriveItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequest.java index fe6d96d529e..0fa87921af2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemCopyBody; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; +import com.microsoft.graph.requests.extensions.DriveItemCopyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCopyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Copy Request. */ -public class DriveItemCopyRequest extends BaseDriveItemCopyRequest implements IDriveItemCopyRequest { +public class DriveItemCopyRequest extends BaseRequest implements IDriveItemCopyRequest { + protected final DriveItemCopyBody body; /** * The request for this DriveItemCopy @@ -23,6 +32,49 @@ public class DriveItemCopyRequest extends BaseDriveItemCopyRequest implements ID * @param requestOptions the options for this request */ public DriveItemCopyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveItem.class); + body = new DriveItemCopyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public DriveItem post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemCopyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveItemCopyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemCopyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DriveItemCopyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemCopyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveItemCopyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequestBuilder.java index 8c89d3d7200..d7a36072d1b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCopyRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; +import com.microsoft.graph.requests.extensions.DriveItemCopyRequest; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ItemReference; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCopyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Copy Request Builder. */ -public class DriveItemCopyRequestBuilder extends BaseDriveItemCopyRequestBuilder implements IDriveItemCopyRequestBuilder { +public class DriveItemCopyRequestBuilder extends BaseActionRequestBuilder implements IDriveItemCopyRequestBuilder { /** * The request builder for this DriveItemCopy @@ -26,6 +31,41 @@ public class DriveItemCopyRequestBuilder extends BaseDriveItemCopyRequestBuilder * @param parentReference the parentReference */ public DriveItemCopyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name, final ItemReference parentReference) { - super(requestUrl, client, requestOptions, name, parentReference); + super(requestUrl, client, requestOptions); + bodyParams.put("name", name); + bodyParams.put("parentReference", parentReference); + } + + /** + * Creates the IDriveItemCopyRequest + * + * @return the IDriveItemCopyRequest instance + */ + public IDriveItemCopyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDriveItemCopyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDriveItemCopyRequest instance + */ + public IDriveItemCopyRequest buildRequest(final java.util.List requestOptions) { + DriveItemCopyRequest request = new DriveItemCopyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("name")) { + request.body.name = getParameter("name"); + } + + if (hasParameter("parentReference")) { + request.body.parentReference = getParameter("parentReference"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequest.java index 4e8a640b270..ebd235ea1ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemCreateLinkBody; +import com.microsoft.graph.models.extensions.Permission; +import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; +import com.microsoft.graph.requests.extensions.DriveItemCreateLinkRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCreateLinkRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Create Link Request. */ -public class DriveItemCreateLinkRequest extends BaseDriveItemCreateLinkRequest implements IDriveItemCreateLinkRequest { +public class DriveItemCreateLinkRequest extends BaseRequest implements IDriveItemCreateLinkRequest { + protected final DriveItemCreateLinkBody body; /** * The request for this DriveItemCreateLink @@ -23,6 +32,49 @@ public class DriveItemCreateLinkRequest extends BaseDriveItemCreateLinkRequest i * @param requestOptions the options for this request */ public DriveItemCreateLinkRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Permission.class); + body = new DriveItemCreateLinkBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Permission post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemCreateLinkRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveItemCreateLinkRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemCreateLinkRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DriveItemCreateLinkRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemCreateLinkRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveItemCreateLinkRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequestBuilder.java index de0ace9a5ab..9f70d0a8f67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateLinkRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; +import com.microsoft.graph.requests.extensions.DriveItemCreateLinkRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCreateLinkRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Create Link Request Builder. */ -public class DriveItemCreateLinkRequestBuilder extends BaseDriveItemCreateLinkRequestBuilder implements IDriveItemCreateLinkRequestBuilder { +public class DriveItemCreateLinkRequestBuilder extends BaseActionRequestBuilder implements IDriveItemCreateLinkRequestBuilder { /** * The request builder for this DriveItemCreateLink @@ -25,6 +30,41 @@ public class DriveItemCreateLinkRequestBuilder extends BaseDriveItemCreateLinkRe * @param scope the scope */ public DriveItemCreateLinkRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String type, final String scope) { - super(requestUrl, client, requestOptions, type, scope); + super(requestUrl, client, requestOptions); + bodyParams.put("type", type); + bodyParams.put("scope", scope); + } + + /** + * Creates the IDriveItemCreateLinkRequest + * + * @return the IDriveItemCreateLinkRequest instance + */ + public IDriveItemCreateLinkRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDriveItemCreateLinkRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDriveItemCreateLinkRequest instance + */ + public IDriveItemCreateLinkRequest buildRequest(final java.util.List requestOptions) { + DriveItemCreateLinkRequest request = new DriveItemCreateLinkRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + if (hasParameter("scope")) { + request.body.scope = getParameter("scope"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequest.java index 56418c9871d..fa0ba18082e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemCreateUploadSessionBody; +import com.microsoft.graph.models.extensions.UploadSession; +import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; +import com.microsoft.graph.requests.extensions.DriveItemCreateUploadSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCreateUploadSessionRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Create Upload Session Request. */ -public class DriveItemCreateUploadSessionRequest extends BaseDriveItemCreateUploadSessionRequest implements IDriveItemCreateUploadSessionRequest { +public class DriveItemCreateUploadSessionRequest extends BaseRequest implements IDriveItemCreateUploadSessionRequest { + protected final DriveItemCreateUploadSessionBody body; /** * The request for this DriveItemCreateUploadSession @@ -23,6 +32,49 @@ public class DriveItemCreateUploadSessionRequest extends BaseDriveItemCreateUplo * @param requestOptions the options for this request */ public DriveItemCreateUploadSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UploadSession.class); + body = new DriveItemCreateUploadSessionBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public UploadSession post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemCreateUploadSessionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveItemCreateUploadSessionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemCreateUploadSessionRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DriveItemCreateUploadSessionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemCreateUploadSessionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveItemCreateUploadSessionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequestBuilder.java index b247b2e0f81..fd86c962e78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemCreateUploadSessionRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; +import com.microsoft.graph.requests.extensions.DriveItemCreateUploadSessionRequest; +import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemCreateUploadSessionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Create Upload Session Request Builder. */ -public class DriveItemCreateUploadSessionRequestBuilder extends BaseDriveItemCreateUploadSessionRequestBuilder implements IDriveItemCreateUploadSessionRequestBuilder { +public class DriveItemCreateUploadSessionRequestBuilder extends BaseActionRequestBuilder implements IDriveItemCreateUploadSessionRequestBuilder { /** * The request builder for this DriveItemCreateUploadSession @@ -25,6 +30,36 @@ public class DriveItemCreateUploadSessionRequestBuilder extends BaseDriveItemCre * @param item the item */ public DriveItemCreateUploadSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final DriveItemUploadableProperties item) { - super(requestUrl, client, requestOptions, item); + super(requestUrl, client, requestOptions); + bodyParams.put("item", item); + } + + /** + * Creates the IDriveItemCreateUploadSessionRequest + * + * @return the IDriveItemCreateUploadSessionRequest instance + */ + public IDriveItemCreateUploadSessionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDriveItemCreateUploadSessionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDriveItemCreateUploadSessionRequest instance + */ + public IDriveItemCreateUploadSessionRequest buildRequest(final java.util.List requestOptions) { + DriveItemCreateUploadSessionRequest request = new DriveItemCreateUploadSessionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("item")) { + request.body.item = getParameter("item"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionPage.java index fe197d2c989..ec29df5be63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDriveItemDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Delta Collection Page. */ -public class DriveItemDeltaCollectionPage extends BaseDriveItemDeltaCollectionPage implements IDriveItemDeltaCollectionPage { +public class DriveItemDeltaCollectionPage extends BaseCollectionPage implements IDriveItemDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for DriveItem. + * A collection page for DriveItemDelta. + * + * @param response The serialized DriveItemDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public DriveItemDeltaCollectionPage(final DriveItemDeltaCollectionResponse response, final IDriveItemDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseDriveItemDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public DriveItemDeltaCollectionPage(final BaseDriveItemDeltaCollectionResponse response, final IDriveItemDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequest.java index bafdff8de9d..29edda36c5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Delta Collection Request. */ -public class DriveItemDeltaCollectionRequest extends BaseDriveItemDeltaCollectionRequest implements IDriveItemDeltaCollectionRequest { +public class DriveItemDeltaCollectionRequest extends BaseCollectionRequest implements IDriveItemDeltaCollectionRequest { + /** - * The request for this collection of DriveItem + * The request for this DriveItemDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DriveItemDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveItemDeltaCollectionResponse.class, IDriveItemDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveItemDeltaCollectionPage get() throws ClientException { + final DriveItemDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDriveItemDeltaCollectionPage buildFromResponse(final DriveItemDeltaCollectionResponse response) { + final IDriveItemDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveItemDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* token */ null); + } else { + builder = null; + } + final IDriveItemDeltaCollectionPage page = new DriveItemDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDriveItemDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDriveItemDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDriveItemDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequestBuilder.java index 3ae23224cee..8b87bd70ca2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Delta Collection Request Builder. */ -public class DriveItemDeltaCollectionRequestBuilder extends BaseDriveItemDeltaCollectionRequestBuilder implements IDriveItemDeltaCollectionRequestBuilder { +public class DriveItemDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDriveItemDeltaCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -24,9 +31,11 @@ public class DriveItemDeltaCollectionRequestBuilder extends BaseDriveItemDeltaCo * @param token the token */ public DriveItemDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String token) { - super(requestUrl, client, requestOptions, token); - } - + super(requestUrl, client, requestOptions); + if(token!=null){ + functionOptions.add(new FunctionOption("token", token)); + } + } /** * The request builder for this collection of DriveItem * @@ -37,4 +46,22 @@ public DriveItemDeltaCollectionRequestBuilder(final String requestUrl, final IBa public DriveItemDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDriveItemDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveItemDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + DriveItemDeltaCollectionRequest request = new DriveItemDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionResponse.java new file mode 100644 index 00000000000..dd90c3cc13a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Item Delta Collection Response. + */ +public class DriveItemDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionPage.java index 7e3d8eb89c1..4cf656d84c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDriveItemInviteCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemInviteCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Invite Collection Page. */ -public class DriveItemInviteCollectionPage extends BaseDriveItemInviteCollectionPage implements IDriveItemInviteCollectionPage { +public class DriveItemInviteCollectionPage extends BaseCollectionPage implements IDriveItemInviteCollectionPage { /** - * A collection page for DriveItem. + * A collection page for DriveItemInvite. * - * @param response the serialized BaseDriveItemInviteCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DriveItemInviteCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DriveItemInviteCollectionPage(final BaseDriveItemInviteCollectionResponse response, final IDriveItemInviteCollectionRequestBuilder builder) { - super(response, builder); + public DriveItemInviteCollectionPage(final DriveItemInviteCollectionResponse response, final IDriveItemInviteCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequest.java index 920d7da9c76..638acaafdd3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemInviteCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Invite Collection Request. */ -public class DriveItemInviteCollectionRequest extends BaseDriveItemInviteCollectionRequest implements IDriveItemInviteCollectionRequest { +public class DriveItemInviteCollectionRequest extends BaseCollectionRequest implements IDriveItemInviteCollectionRequest { + + + protected final DriveItemInviteBody body; + /** - * The request for this collection of DriveItem + * The request for this DriveItemInvite * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DriveItemInviteCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveItemInviteCollectionResponse.class, IDriveItemInviteCollectionPage.class); + body = new DriveItemInviteBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveItemInviteCollectionPage post() throws ClientException { + final DriveItemInviteCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IDriveItemInviteCollectionPage buildFromResponse(final DriveItemInviteCollectionResponse response) { + final IDriveItemInviteCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveItemInviteCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* requireSignIn */ null, /* roles */ null, /* sendInvitation */ null, /* message */ null, /* recipients */ null); + } else { + builder = null; + } + final IDriveItemInviteCollectionPage page = new DriveItemInviteCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemInviteCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDriveItemInviteCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemInviteCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDriveItemInviteCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemInviteCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDriveItemInviteCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequestBuilder.java index f1bf2aacc61..c8041168e92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionRequestBuilder.java @@ -4,17 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DriveRecipient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemInviteCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Invite Collection Request Builder. */ -public class DriveItemInviteCollectionRequestBuilder extends BaseDriveItemInviteCollectionRequestBuilder implements IDriveItemInviteCollectionRequestBuilder { +public class DriveItemInviteCollectionRequestBuilder extends BaseActionRequestBuilder implements IDriveItemInviteCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -29,6 +35,51 @@ public class DriveItemInviteCollectionRequestBuilder extends BaseDriveItemInvite * @param recipients the recipients */ public DriveItemInviteCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean requireSignIn, final java.util.List roles, final Boolean sendInvitation, final String message, final java.util.List recipients) { - super(requestUrl, client, requestOptions, requireSignIn, roles, sendInvitation, message, recipients); + super(requestUrl, client, requestOptions); + if(requireSignIn!=null){ + bodyParams.put("requireSignIn", requireSignIn); + } + if(roles!=null){ + bodyParams.put("roles", roles); + } + if(sendInvitation!=null){ + bodyParams.put("sendInvitation", sendInvitation); + } + if(message!=null){ + bodyParams.put("message", message); + } + if(recipients!=null){ + bodyParams.put("recipients", recipients); + } + } + + public IDriveItemInviteCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveItemInviteCollectionRequest buildRequest(final java.util.List requestOptions) { + DriveItemInviteCollectionRequest request = new DriveItemInviteCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("requireSignIn")) { + request.body.requireSignIn = getParameter("requireSignIn"); + } + if (hasParameter("roles")) { + request.body.roles = getParameter("roles"); + } + if (hasParameter("sendInvitation")) { + request.body.sendInvitation = getParameter("sendInvitation"); + } + if (hasParameter("message")) { + request.body.message = getParameter("message"); + } + if (hasParameter("recipients")) { + request.body.recipients = getParameter("recipients"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionResponse.java new file mode 100644 index 00000000000..ac5e7634b83 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemInviteCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Item Invite Collection Response. + */ +public class DriveItemInviteCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequest.java index 4fb582c66ac..579d6c4dc7c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemPreviewBody; +import com.microsoft.graph.models.extensions.ItemPreviewInfo; +import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; +import com.microsoft.graph.requests.extensions.DriveItemPreviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemPreviewRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Preview Request. */ -public class DriveItemPreviewRequest extends BaseDriveItemPreviewRequest implements IDriveItemPreviewRequest { +public class DriveItemPreviewRequest extends BaseRequest implements IDriveItemPreviewRequest { + protected final DriveItemPreviewBody body; /** * The request for this DriveItemPreview @@ -23,6 +32,49 @@ public class DriveItemPreviewRequest extends BaseDriveItemPreviewRequest impleme * @param requestOptions the options for this request */ public DriveItemPreviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, ItemPreviewInfo.class); + body = new DriveItemPreviewBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public ItemPreviewInfo post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemPreviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveItemPreviewRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemPreviewRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (DriveItemPreviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemPreviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveItemPreviewRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequestBuilder.java index 136e5f530f1..e8d9e90906a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemPreviewRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; +import com.microsoft.graph.requests.extensions.DriveItemPreviewRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemPreviewRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Preview Request Builder. */ -public class DriveItemPreviewRequestBuilder extends BaseDriveItemPreviewRequestBuilder implements IDriveItemPreviewRequestBuilder { +public class DriveItemPreviewRequestBuilder extends BaseActionRequestBuilder implements IDriveItemPreviewRequestBuilder { /** * The request builder for this DriveItemPreview @@ -25,6 +30,41 @@ public class DriveItemPreviewRequestBuilder extends BaseDriveItemPreviewRequestB * @param zoom the zoom */ public DriveItemPreviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String page, final Double zoom) { - super(requestUrl, client, requestOptions, page, zoom); + super(requestUrl, client, requestOptions); + bodyParams.put("page", page); + bodyParams.put("zoom", zoom); + } + + /** + * Creates the IDriveItemPreviewRequest + * + * @return the IDriveItemPreviewRequest instance + */ + public IDriveItemPreviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDriveItemPreviewRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDriveItemPreviewRequest instance + */ + public IDriveItemPreviewRequest buildRequest(final java.util.List requestOptions) { + DriveItemPreviewRequest request = new DriveItemPreviewRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("page")) { + request.body.page = getParameter("page"); + } + + if (hasParameter("zoom")) { + request.body.zoom = getParameter("zoom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequest.java index 7e71ab30aa6..c6a56f010a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemRequest; +import com.microsoft.graph.requests.extensions.DriveItemRequest; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Request. */ -public class DriveItemRequest extends BaseDriveItemRequest implements IDriveItemRequest { - +public class DriveItemRequest extends BaseRequest implements IDriveItemRequest { + /** * The request for the DriveItem * @@ -26,4 +32,107 @@ public class DriveItemRequest extends BaseDriveItemRequest implements IDriveItem public DriveItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DriveItem.class); } + + /** + * Gets the DriveItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DriveItem from the service + * + * @return the DriveItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DriveItem with a source + * + * @param sourceDriveItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DriveItem sourceDriveItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDriveItem); + } + + /** + * Patches this DriveItem with a source + * + * @param sourceDriveItem the source object with updates + * @return the updated DriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItem patch(final DriveItem sourceDriveItem) throws ClientException { + return send(HttpMethod.PATCH, sourceDriveItem); + } + + /** + * Creates a DriveItem with a new object + * + * @param newDriveItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DriveItem newDriveItem, final ICallback callback) { + send(HttpMethod.POST, callback, newDriveItem); + } + + /** + * Creates a DriveItem with a new object + * + * @param newDriveItem the new object to create + * @return the created DriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItem post(final DriveItem newDriveItem) throws ClientException { + return send(HttpMethod.POST, newDriveItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequestBuilder.java index da397824308..b62151a52e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequestBuilder.java @@ -3,17 +3,61 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemRequest; +import com.microsoft.graph.requests.extensions.DriveItemRequest; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IPermissionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PermissionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPermissionRequestBuilder; +import com.microsoft.graph.requests.extensions.PermissionRequestBuilder; +import com.microsoft.graph.requests.extensions.IThumbnailSetCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ThumbnailSetCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IThumbnailSetRequestBuilder; +import com.microsoft.graph.requests.extensions.ThumbnailSetRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemVersionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemVersionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemVersionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemStreamRequestBuilder; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.requests.extensions.IDriveItemCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCreateLinkRequestBuilder; +import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; +import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCreateUploadSessionRequestBuilder; +import com.microsoft.graph.models.extensions.DriveRecipient; +import com.microsoft.graph.requests.extensions.IDriveItemInviteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemInviteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemPreviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemSearchCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemSearchCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Request Builder. */ -public class DriveItemRequestBuilder extends BaseDriveItemRequestBuilder implements IDriveItemRequestBuilder { +public class DriveItemRequestBuilder extends BaseRequestBuilder implements IDriveItemRequestBuilder { /** * The request builder for the DriveItem @@ -26,8 +70,111 @@ public DriveItemRequestBuilder(final String requestUrl, final IBaseClient client super(requestUrl, client, requestOptions); } + /** + * Creates the request + * + * @return the IDriveItemRequest instance + */ + public IDriveItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDriveItemRequest instance + */ + public IDriveItemRequest buildRequest(final java.util.List requestOptions) { + return new DriveItemRequest(getRequestUrl(), getClient(), requestOptions); + } + @Override public IDriveItemRequestBuilder itemWithPath(final String path) { return new DriveItemRequestBuilder(getRequestUrl() + ":/" + path + ":", getClient(), null); } + + public IDriveItemCollectionRequestBuilder children() { + return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("children"), getClient(), null); + } + + public IDriveItemRequestBuilder children(final String id) { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("children") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ListItem + * + * @return the IListItemRequestBuilder instance + */ + public IListItemRequestBuilder listItem() { + return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment("listItem"), getClient(), null); + } + public IPermissionCollectionRequestBuilder permissions() { + return new PermissionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("permissions"), getClient(), null); + } + + public IPermissionRequestBuilder permissions(final String id) { + return new PermissionRequestBuilder(getRequestUrlWithAdditionalSegment("permissions") + "/" + id, getClient(), null); + } + public IThumbnailSetCollectionRequestBuilder thumbnails() { + return new ThumbnailSetCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("thumbnails"), getClient(), null); + } + + public IThumbnailSetRequestBuilder thumbnails(final String id) { + return new ThumbnailSetRequestBuilder(getRequestUrlWithAdditionalSegment("thumbnails") + "/" + id, getClient(), null); + } + public IDriveItemVersionCollectionRequestBuilder versions() { + return new DriveItemVersionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("versions"), getClient(), null); + } + + public IDriveItemVersionRequestBuilder versions(final String id) { + return new DriveItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment("versions") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Workbook + * + * @return the IWorkbookRequestBuilder instance + */ + public IWorkbookRequestBuilder workbook() { + return new WorkbookRequestBuilder(getRequestUrlWithAdditionalSegment("workbook"), getClient(), null); + } + + public IDriveItemStreamRequestBuilder content() { + return new DriveItemStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); + } + + public IDriveItemCopyRequestBuilder copy(final String name, final ItemReference parentReference) { + return new DriveItemCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, name, parentReference); + } + + public IDriveItemCreateLinkRequestBuilder createLink(final String type, final String scope) { + return new DriveItemCreateLinkRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createLink"), getClient(), null, type, scope); + } + + public IDriveItemCreateUploadSessionRequestBuilder createUploadSession(final DriveItemUploadableProperties item) { + return new DriveItemCreateUploadSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createUploadSession"), getClient(), null, item); + } + + public IDriveItemInviteCollectionRequestBuilder invite(final Boolean requireSignIn, final java.util.List roles, final Boolean sendInvitation, final String message, final java.util.List recipients) { + return new DriveItemInviteCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.invite"), getClient(), null, requireSignIn, roles, sendInvitation, message, recipients); + } + + public IDriveItemPreviewRequestBuilder preview(final String page, final Double zoom) { + return new DriveItemPreviewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.preview"), getClient(), null, page, zoom); + } + + public IDriveItemDeltaCollectionRequestBuilder delta(final String token) { + return new DriveItemDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null, token); + } + + public IDriveItemDeltaCollectionRequestBuilder delta() { + return new DriveItemDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IDriveItemSearchCollectionRequestBuilder search(final String q) { + return new DriveItemSearchCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.search"), getClient(), null, q); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionPage.java index 40bea76ab0b..721a58b9fd4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDriveItemSearchCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemSearchCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Search Collection Page. */ -public class DriveItemSearchCollectionPage extends BaseDriveItemSearchCollectionPage implements IDriveItemSearchCollectionPage { +public class DriveItemSearchCollectionPage extends BaseCollectionPage implements IDriveItemSearchCollectionPage { /** - * A collection page for DriveItem. + * A collection page for DriveItemSearch. * - * @param response the serialized BaseDriveItemSearchCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DriveItemSearchCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DriveItemSearchCollectionPage(final BaseDriveItemSearchCollectionResponse response, final IDriveItemSearchCollectionRequestBuilder builder) { - super(response, builder); + public DriveItemSearchCollectionPage(final DriveItemSearchCollectionResponse response, final IDriveItemSearchCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequest.java index 79136619269..370ff38cafc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemSearchCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Search Collection Request. */ -public class DriveItemSearchCollectionRequest extends BaseDriveItemSearchCollectionRequest implements IDriveItemSearchCollectionRequest { +public class DriveItemSearchCollectionRequest extends BaseCollectionRequest implements IDriveItemSearchCollectionRequest { + /** - * The request for this collection of DriveItem + * The request for this DriveItemSearch * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DriveItemSearchCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveItemSearchCollectionResponse.class, IDriveItemSearchCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveItemSearchCollectionPage get() throws ClientException { + final DriveItemSearchCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDriveItemSearchCollectionPage buildFromResponse(final DriveItemSearchCollectionResponse response) { + final IDriveItemSearchCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveItemSearchCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* q */ null); + } else { + builder = null; + } + final IDriveItemSearchCollectionPage page = new DriveItemSearchCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemSearchCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDriveItemSearchCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemSearchCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDriveItemSearchCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemSearchCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDriveItemSearchCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequestBuilder.java index e00af5c0479..ea179cdf5be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemSearchCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Search Collection Request Builder. */ -public class DriveItemSearchCollectionRequestBuilder extends BaseDriveItemSearchCollectionRequestBuilder implements IDriveItemSearchCollectionRequestBuilder { +public class DriveItemSearchCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDriveItemSearchCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -24,6 +31,27 @@ public class DriveItemSearchCollectionRequestBuilder extends BaseDriveItemSearch * @param q the q */ public DriveItemSearchCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String q) { - super(requestUrl, client, requestOptions, q); + super(requestUrl, client, requestOptions); + if(q!=null){ + functionOptions.add(new FunctionOption("q", q)); + } + } + + public IDriveItemSearchCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveItemSearchCollectionRequest buildRequest(final java.util.List requestOptions) { + DriveItemSearchCollectionRequest request = new DriveItemSearchCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionResponse.java new file mode 100644 index 00000000000..2374f4200f8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemSearchCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Item Search Collection Response. + */ +public class DriveItemSearchCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequest.java index 4760f1a4bb7..3d7e38a11eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Stream Request. */ -public class DriveItemStreamRequest extends BaseDriveItemStreamRequest implements IDriveItemStreamRequest { +public class DriveItemStreamRequest extends BaseStreamRequest implements IDriveItemStreamRequest { /** * The request for the DriveItemStream @@ -26,4 +35,44 @@ public class DriveItemStreamRequest extends BaseDriveItemStreamRequest implement public DriveItemStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DriveItem.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public DriveItem put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequestBuilder.java index f0e32833669..432b00e147f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemStreamRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemStreamRequest; +import com.microsoft.graph.requests.extensions.DriveItemStreamRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemStreamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Stream Request Builder. */ -public class DriveItemStreamRequestBuilder extends BaseDriveItemStreamRequestBuilder implements IDriveItemStreamRequestBuilder { +public class DriveItemStreamRequestBuilder extends BaseRequestBuilder implements IDriveItemStreamRequestBuilder { /** * The request builder for the DriveItemStream @@ -25,4 +28,26 @@ public class DriveItemStreamRequestBuilder extends BaseDriveItemStreamRequestBui public DriveItemStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDriveItemStreamRequest instance + */ + public IDriveItemStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDriveItemStreamRequest instance + */ + public IDriveItemStreamRequest buildRequest(final java.util.List requestOptions) { + return new DriveItemStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionPage.java index 646e4d63943..ab112d1cda3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemVersion; +import com.microsoft.graph.requests.extensions.IDriveItemVersionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Collection Page. */ -public class DriveItemVersionCollectionPage extends BaseDriveItemVersionCollectionPage implements IDriveItemVersionCollectionPage { +public class DriveItemVersionCollectionPage extends BaseCollectionPage implements IDriveItemVersionCollectionPage { /** - * A collection page for DriveItem. + * A collection page for DriveItemVersion * - * @param response the serialized BaseDriveItemVersionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized DriveItemVersionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public DriveItemVersionCollectionPage(final BaseDriveItemVersionCollectionResponse response, final IDriveItemVersionCollectionRequestBuilder builder) { - super(response, builder); + public DriveItemVersionCollectionPage(final DriveItemVersionCollectionResponse response, final IDriveItemVersionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequest.java index f0d4041e71e..2bdbb681c04 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Collection Request. */ -public class DriveItemVersionCollectionRequest extends BaseDriveItemVersionCollectionRequest implements IDriveItemVersionCollectionRequest { +public class DriveItemVersionCollectionRequest extends BaseCollectionRequest implements IDriveItemVersionCollectionRequest { /** - * The request for this collection of DriveItem + * The request builder for this collection of DriveItemVersion * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public DriveItemVersionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public DriveItemVersionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DriveItemVersionCollectionResponse.class, IDriveItemVersionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveItemVersionCollectionPage get() throws ClientException { + final DriveItemVersionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final DriveItemVersion newDriveItemVersion, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new DriveItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDriveItemVersion, callback); + } + + public DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DriveItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newDriveItemVersion); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemVersionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (DriveItemVersionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemVersionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (DriveItemVersionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveItemVersionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (DriveItemVersionCollectionRequest)this; + } + + public IDriveItemVersionCollectionPage buildFromResponse(final DriveItemVersionCollectionResponse response) { + final IDriveItemVersionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveItemVersionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final DriveItemVersionCollectionPage page = new DriveItemVersionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequestBuilder.java index 98b8ad29de2..d89ad898ac7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Collection Request Builder. */ -public class DriveItemVersionCollectionRequestBuilder extends BaseDriveItemVersionCollectionRequestBuilder implements IDriveItemVersionCollectionRequestBuilder { +public class DriveItemVersionCollectionRequestBuilder extends BaseRequestBuilder implements IDriveItemVersionCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -25,4 +33,18 @@ public class DriveItemVersionCollectionRequestBuilder extends BaseDriveItemVersi public DriveItemVersionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDriveItemVersionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveItemVersionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new DriveItemVersionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IDriveItemVersionRequestBuilder byId(final String id) { + return new DriveItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionResponse.java new file mode 100644 index 00000000000..5ab79c379b4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemVersion; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Item Version Collection Response. + */ +public class DriveItemVersionCollectionResponse implements IJsonBackedObject { + + /** + * The list of DriveItemVersion within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequest.java index 11e7c4daf19..0a8bd43a43a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRequest; +import com.microsoft.graph.requests.extensions.DriveItemVersionRequest; +import com.microsoft.graph.models.extensions.DriveItemVersion; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DriveItemVersion; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Request. */ -public class DriveItemVersionRequest extends BaseDriveItemVersionRequest implements IDriveItemVersionRequest { - +public class DriveItemVersionRequest extends BaseRequest implements IDriveItemVersionRequest { + /** * The request for the DriveItemVersion * @@ -26,4 +32,107 @@ public class DriveItemVersionRequest extends BaseDriveItemVersionRequest impleme public DriveItemVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DriveItemVersion.class); } + + /** + * Gets the DriveItemVersion from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the DriveItemVersion from the service + * + * @return the DriveItemVersion from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItemVersion get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this DriveItemVersion with a source + * + * @param sourceDriveItemVersion the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final DriveItemVersion sourceDriveItemVersion, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDriveItemVersion); + } + + /** + * Patches this DriveItemVersion with a source + * + * @param sourceDriveItemVersion the source object with updates + * @return the updated DriveItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItemVersion patch(final DriveItemVersion sourceDriveItemVersion) throws ClientException { + return send(HttpMethod.PATCH, sourceDriveItemVersion); + } + + /** + * Creates a DriveItemVersion with a new object + * + * @param newDriveItemVersion the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final DriveItemVersion newDriveItemVersion, final ICallback callback) { + send(HttpMethod.POST, callback, newDriveItemVersion); + } + + /** + * Creates a DriveItemVersion with a new object + * + * @param newDriveItemVersion the new object to create + * @return the created DriveItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException { + return send(HttpMethod.POST, newDriveItemVersion); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveItemVersionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveItemVersionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveItemVersionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveItemVersionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequestBuilder.java index d6c16ca4577..76aca66c549 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRequest; +import com.microsoft.graph.requests.extensions.DriveItemVersionRequest; +import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemVersionStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemVersionRestoreVersionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Request Builder. */ -public class DriveItemVersionRequestBuilder extends BaseDriveItemVersionRequestBuilder implements IDriveItemVersionRequestBuilder { +public class DriveItemVersionRequestBuilder extends BaseRequestBuilder implements IDriveItemVersionRequestBuilder { /** * The request builder for the DriveItemVersion @@ -25,4 +32,34 @@ public class DriveItemVersionRequestBuilder extends BaseDriveItemVersionRequestB public DriveItemVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDriveItemVersionRequest instance + */ + public IDriveItemVersionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDriveItemVersionRequest instance + */ + public IDriveItemVersionRequest buildRequest(final java.util.List requestOptions) { + return new DriveItemVersionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IDriveItemVersionStreamRequestBuilder content() { + return new DriveItemVersionStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); + } + + public IDriveItemVersionRestoreVersionRequestBuilder restoreVersion() { + return new DriveItemVersionRestoreVersionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restoreVersion"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequest.java index aa43ef836ac..802c88f17c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; +import com.microsoft.graph.requests.extensions.DriveItemVersionRestoreVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionRestoreVersionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Restore Version Request. */ -public class DriveItemVersionRestoreVersionRequest extends BaseDriveItemVersionRestoreVersionRequest implements IDriveItemVersionRestoreVersionRequest { +public class DriveItemVersionRestoreVersionRequest extends BaseRequest implements IDriveItemVersionRestoreVersionRequest { /** * The request for this DriveItemVersionRestoreVersion @@ -23,6 +30,35 @@ public class DriveItemVersionRestoreVersionRequest extends BaseDriveItemVersionR * @param requestOptions the options for this request */ public DriveItemVersionRestoreVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the DriveItemVersionRestoreVersion + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the DriveItemVersionRestoreVersion + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequestBuilder.java index 7a1518858ed..dda3f003c84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRestoreVersionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; +import com.microsoft.graph.requests.extensions.DriveItemVersionRestoreVersionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionRestoreVersionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Restore Version Request Builder. */ -public class DriveItemVersionRestoreVersionRequestBuilder extends BaseDriveItemVersionRestoreVersionRequestBuilder implements IDriveItemVersionRestoreVersionRequestBuilder { +public class DriveItemVersionRestoreVersionRequestBuilder extends BaseActionRequestBuilder implements IDriveItemVersionRestoreVersionRequestBuilder { /** * The request builder for this DriveItemVersionRestoreVersion @@ -25,4 +30,29 @@ public class DriveItemVersionRestoreVersionRequestBuilder extends BaseDriveItemV public DriveItemVersionRestoreVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IDriveItemVersionRestoreVersionRequest + * + * @return the IDriveItemVersionRestoreVersionRequest instance + */ + public IDriveItemVersionRestoreVersionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IDriveItemVersionRestoreVersionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IDriveItemVersionRestoreVersionRequest instance + */ + public IDriveItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions) { + DriveItemVersionRestoreVersionRequest request = new DriveItemVersionRestoreVersionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequest.java index dffd683a4a2..ad79e4a7452 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DriveItemVersion; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Stream Request. */ -public class DriveItemVersionStreamRequest extends BaseDriveItemVersionStreamRequest implements IDriveItemVersionStreamRequest { +public class DriveItemVersionStreamRequest extends BaseStreamRequest implements IDriveItemVersionStreamRequest { /** * The request for the DriveItemVersionStream @@ -26,4 +35,44 @@ public class DriveItemVersionStreamRequest extends BaseDriveItemVersionStreamReq public DriveItemVersionStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, DriveItemVersion.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public DriveItemVersion put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequestBuilder.java index c66458d2f01..a2035929ff4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionStreamRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequest; +import com.microsoft.graph.requests.extensions.DriveItemVersionStreamRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveItemVersionStreamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Item Version Stream Request Builder. */ -public class DriveItemVersionStreamRequestBuilder extends BaseDriveItemVersionStreamRequestBuilder implements IDriveItemVersionStreamRequestBuilder { +public class DriveItemVersionStreamRequestBuilder extends BaseRequestBuilder implements IDriveItemVersionStreamRequestBuilder { /** * The request builder for the DriveItemVersionStream @@ -25,4 +28,26 @@ public class DriveItemVersionStreamRequestBuilder extends BaseDriveItemVersionSt public DriveItemVersionStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDriveItemVersionStreamRequest instance + */ + public IDriveItemVersionStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDriveItemVersionStreamRequest instance + */ + public IDriveItemVersionStreamRequest buildRequest(final java.util.List requestOptions) { + return new DriveItemVersionStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionPage.java index ac4d440119f..da9f6fab4c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDriveRecentCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveRecentCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Recent Collection Page. */ -public class DriveRecentCollectionPage extends BaseDriveRecentCollectionPage implements IDriveRecentCollectionPage { +public class DriveRecentCollectionPage extends BaseCollectionPage implements IDriveRecentCollectionPage { /** - * A collection page for Drive. + * A collection page for DriveRecent. * - * @param response the serialized BaseDriveRecentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DriveRecentCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DriveRecentCollectionPage(final BaseDriveRecentCollectionResponse response, final IDriveRecentCollectionRequestBuilder builder) { - super(response, builder); + public DriveRecentCollectionPage(final DriveRecentCollectionResponse response, final IDriveRecentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequest.java index 2c7f251f72a..2eb1b509615 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveRecentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Recent Collection Request. */ -public class DriveRecentCollectionRequest extends BaseDriveRecentCollectionRequest implements IDriveRecentCollectionRequest { +public class DriveRecentCollectionRequest extends BaseCollectionRequest implements IDriveRecentCollectionRequest { + /** - * The request for this collection of Drive + * The request for this DriveRecent * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DriveRecentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveRecentCollectionResponse.class, IDriveRecentCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveRecentCollectionPage get() throws ClientException { + final DriveRecentCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDriveRecentCollectionPage buildFromResponse(final DriveRecentCollectionResponse response) { + final IDriveRecentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveRecentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IDriveRecentCollectionPage page = new DriveRecentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveRecentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDriveRecentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveRecentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDriveRecentCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveRecentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDriveRecentCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequestBuilder.java index 85693d8050d..a561d812a6c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveRecentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Recent Collection Request Builder. */ -public class DriveRecentCollectionRequestBuilder extends BaseDriveRecentCollectionRequestBuilder implements IDriveRecentCollectionRequestBuilder { +public class DriveRecentCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDriveRecentCollectionRequestBuilder { /** * The request builder for this collection of Drive @@ -25,4 +32,22 @@ public class DriveRecentCollectionRequestBuilder extends BaseDriveRecentCollecti public DriveRecentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDriveRecentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveRecentCollectionRequest buildRequest(final java.util.List requestOptions) { + DriveRecentCollectionRequest request = new DriveRecentCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionResponse.java new file mode 100644 index 00000000000..749ff2daf4d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRecentCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Recent Collection Response. + */ +public class DriveRecentCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveRequest.java index 03f2c543f32..b7760f9cba2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveRequest; +import com.microsoft.graph.requests.extensions.DriveRequest; +import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Drive; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Request. */ -public class DriveRequest extends BaseDriveRequest implements IDriveRequest { - +public class DriveRequest extends BaseRequest implements IDriveRequest { + /** * The request for the Drive * @@ -26,4 +32,107 @@ public class DriveRequest extends BaseDriveRequest implements IDriveRequest { public DriveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Drive.class); } + + /** + * Gets the Drive from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Drive from the service + * + * @return the Drive from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Drive get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Drive with a source + * + * @param sourceDrive the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Drive sourceDrive, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceDrive); + } + + /** + * Patches this Drive with a source + * + * @param sourceDrive the source object with updates + * @return the updated Drive + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Drive patch(final Drive sourceDrive) throws ClientException { + return send(HttpMethod.PATCH, sourceDrive); + } + + /** + * Creates a Drive with a new object + * + * @param newDrive the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Drive newDrive, final ICallback callback) { + send(HttpMethod.POST, callback, newDrive); + } + + /** + * Creates a Drive with a new object + * + * @param newDrive the new object to create + * @return the created Drive + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Drive post(final Drive newDrive) throws ClientException { + return send(HttpMethod.POST, newDrive); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (DriveRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (DriveRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveRequestBuilder.java index 559200cf587..21e9b9bbdfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRequestBuilder.java @@ -3,17 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveRequest; +import com.microsoft.graph.requests.extensions.DriveRequest; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListRequestBuilder; +import com.microsoft.graph.requests.extensions.ListRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRecentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRecentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveSearchCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveSearchCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveSharedWithMeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveSharedWithMeCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Request Builder. */ -public class DriveRequestBuilder extends BaseDriveRequestBuilder implements IDriveRequestBuilder { +public class DriveRequestBuilder extends BaseRequestBuilder implements IDriveRequestBuilder { /** * The request builder for the Drive @@ -25,4 +46,70 @@ public class DriveRequestBuilder extends BaseDriveRequestBuilder implements IDri public DriveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IDriveRequest instance + */ + public IDriveRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IDriveRequest instance + */ + public IDriveRequest buildRequest(final java.util.List requestOptions) { + return new DriveRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDriveItemCollectionRequestBuilder items() { + return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); + } + + public IDriveItemRequestBuilder items(final String id) { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for List + * + * @return the IListRequestBuilder instance + */ + public IListRequestBuilder list() { + return new ListRequestBuilder(getRequestUrlWithAdditionalSegment("list"), getClient(), null); + } + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + public IDriveItemRequestBuilder root() { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("root"), getClient(), null); + } + public IDriveItemCollectionRequestBuilder special() { + return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("special"), getClient(), null); + } + + public IDriveItemRequestBuilder special(final String id) { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("special") + "/" + id, getClient(), null); + } + + public IDriveRecentCollectionRequestBuilder recent() { + return new DriveRecentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.recent"), getClient(), null); + } + + public IDriveSearchCollectionRequestBuilder search(final String q) { + return new DriveSearchCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.search"), getClient(), null, q); + } + + public IDriveSharedWithMeCollectionRequestBuilder sharedWithMe() { + return new DriveSharedWithMeCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sharedWithMe"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionPage.java index 82768ea305c..1f2c3abba47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDriveSearchCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveSearchCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Search Collection Page. */ -public class DriveSearchCollectionPage extends BaseDriveSearchCollectionPage implements IDriveSearchCollectionPage { +public class DriveSearchCollectionPage extends BaseCollectionPage implements IDriveSearchCollectionPage { /** - * A collection page for Drive. + * A collection page for DriveSearch. * - * @param response the serialized BaseDriveSearchCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DriveSearchCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DriveSearchCollectionPage(final BaseDriveSearchCollectionResponse response, final IDriveSearchCollectionRequestBuilder builder) { - super(response, builder); + public DriveSearchCollectionPage(final DriveSearchCollectionResponse response, final IDriveSearchCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequest.java index bb0291b4a14..b4333605dcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveSearchCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Search Collection Request. */ -public class DriveSearchCollectionRequest extends BaseDriveSearchCollectionRequest implements IDriveSearchCollectionRequest { +public class DriveSearchCollectionRequest extends BaseCollectionRequest implements IDriveSearchCollectionRequest { + /** - * The request for this collection of Drive + * The request for this DriveSearch * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DriveSearchCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveSearchCollectionResponse.class, IDriveSearchCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveSearchCollectionPage get() throws ClientException { + final DriveSearchCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDriveSearchCollectionPage buildFromResponse(final DriveSearchCollectionResponse response) { + final IDriveSearchCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveSearchCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* q */ null); + } else { + builder = null; + } + final IDriveSearchCollectionPage page = new DriveSearchCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveSearchCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDriveSearchCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveSearchCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDriveSearchCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveSearchCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDriveSearchCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequestBuilder.java index 13644e405fa..94914c6d4cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveSearchCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Search Collection Request Builder. */ -public class DriveSearchCollectionRequestBuilder extends BaseDriveSearchCollectionRequestBuilder implements IDriveSearchCollectionRequestBuilder { +public class DriveSearchCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDriveSearchCollectionRequestBuilder { /** * The request builder for this collection of Drive @@ -24,6 +31,27 @@ public class DriveSearchCollectionRequestBuilder extends BaseDriveSearchCollecti * @param q the q */ public DriveSearchCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String q) { - super(requestUrl, client, requestOptions, q); + super(requestUrl, client, requestOptions); + if(q!=null){ + functionOptions.add(new FunctionOption("q", q)); + } + } + + public IDriveSearchCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveSearchCollectionRequest buildRequest(final java.util.List requestOptions) { + DriveSearchCollectionRequest request = new DriveSearchCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionResponse.java new file mode 100644 index 00000000000..fba9124505d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSearchCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Search Collection Response. + */ +public class DriveSearchCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionPage.java index af9b25ebd13..a6e1e569dcf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseDriveSharedWithMeCollectionPage; -import com.microsoft.graph.requests.generated.BaseDriveSharedWithMeCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Shared With Me Collection Page. */ -public class DriveSharedWithMeCollectionPage extends BaseDriveSharedWithMeCollectionPage implements IDriveSharedWithMeCollectionPage { +public class DriveSharedWithMeCollectionPage extends BaseCollectionPage implements IDriveSharedWithMeCollectionPage { /** - * A collection page for Drive. + * A collection page for DriveSharedWithMe. * - * @param response the serialized BaseDriveSharedWithMeCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized DriveSharedWithMeCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public DriveSharedWithMeCollectionPage(final BaseDriveSharedWithMeCollectionResponse response, final IDriveSharedWithMeCollectionRequestBuilder builder) { - super(response, builder); + public DriveSharedWithMeCollectionPage(final DriveSharedWithMeCollectionResponse response, final IDriveSharedWithMeCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequest.java index fa46869681f..9dd4419b509 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveSharedWithMeCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Shared With Me Collection Request. */ -public class DriveSharedWithMeCollectionRequest extends BaseDriveSharedWithMeCollectionRequest implements IDriveSharedWithMeCollectionRequest { +public class DriveSharedWithMeCollectionRequest extends BaseCollectionRequest implements IDriveSharedWithMeCollectionRequest { + /** - * The request for this collection of Drive + * The request for this DriveSharedWithMe * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public DriveSharedWithMeCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, DriveSharedWithMeCollectionResponse.class, IDriveSharedWithMeCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IDriveSharedWithMeCollectionPage get() throws ClientException { + final DriveSharedWithMeCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IDriveSharedWithMeCollectionPage buildFromResponse(final DriveSharedWithMeCollectionResponse response) { + final IDriveSharedWithMeCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new DriveSharedWithMeCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IDriveSharedWithMeCollectionPage page = new DriveSharedWithMeCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IDriveSharedWithMeCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IDriveSharedWithMeCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IDriveSharedWithMeCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IDriveSharedWithMeCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IDriveSharedWithMeCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IDriveSharedWithMeCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequestBuilder.java index e1ceab027b9..bc008673bd6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseDriveSharedWithMeCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Drive Shared With Me Collection Request Builder. */ -public class DriveSharedWithMeCollectionRequestBuilder extends BaseDriveSharedWithMeCollectionRequestBuilder implements IDriveSharedWithMeCollectionRequestBuilder { +public class DriveSharedWithMeCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IDriveSharedWithMeCollectionRequestBuilder { /** * The request builder for this collection of Drive @@ -25,4 +32,22 @@ public class DriveSharedWithMeCollectionRequestBuilder extends BaseDriveSharedWi public DriveSharedWithMeCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IDriveSharedWithMeCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IDriveSharedWithMeCollectionRequest buildRequest(final java.util.List requestOptions) { + DriveSharedWithMeCollectionRequest request = new DriveSharedWithMeCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionResponse.java new file mode 100644 index 00000000000..cf6d2b3b7f2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveSharedWithMeCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Drive Shared With Me Collection Response. + */ +public class DriveSharedWithMeCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequest.java index d512a1677d7..561b2a3c496 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequest; +import com.microsoft.graph.requests.extensions.EBookInstallSummaryRequest; +import com.microsoft.graph.models.extensions.EBookInstallSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EBookInstallSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEBookInstallSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the EBook Install Summary Request. */ -public class EBookInstallSummaryRequest extends BaseEBookInstallSummaryRequest implements IEBookInstallSummaryRequest { - +public class EBookInstallSummaryRequest extends BaseRequest implements IEBookInstallSummaryRequest { + /** * The request for the EBookInstallSummary * @@ -26,4 +32,107 @@ public class EBookInstallSummaryRequest extends BaseEBookInstallSummaryRequest i public EBookInstallSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EBookInstallSummary.class); } + + /** + * Gets the EBookInstallSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EBookInstallSummary from the service + * + * @return the EBookInstallSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EBookInstallSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EBookInstallSummary with a source + * + * @param sourceEBookInstallSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EBookInstallSummary sourceEBookInstallSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEBookInstallSummary); + } + + /** + * Patches this EBookInstallSummary with a source + * + * @param sourceEBookInstallSummary the source object with updates + * @return the updated EBookInstallSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EBookInstallSummary patch(final EBookInstallSummary sourceEBookInstallSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceEBookInstallSummary); + } + + /** + * Creates a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EBookInstallSummary newEBookInstallSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newEBookInstallSummary); + } + + /** + * Creates a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the new object to create + * @return the created EBookInstallSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EBookInstallSummary post(final EBookInstallSummary newEBookInstallSummary) throws ClientException { + return send(HttpMethod.POST, newEBookInstallSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEBookInstallSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EBookInstallSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEBookInstallSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EBookInstallSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequestBuilder.java index 03d8556be25..2b34ec3c6c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequest; +import com.microsoft.graph.requests.extensions.EBookInstallSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEBookInstallSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the EBook Install Summary Request Builder. */ -public class EBookInstallSummaryRequestBuilder extends BaseEBookInstallSummaryRequestBuilder implements IEBookInstallSummaryRequestBuilder { +public class EBookInstallSummaryRequestBuilder extends BaseRequestBuilder implements IEBookInstallSummaryRequestBuilder { /** * The request builder for the EBookInstallSummary @@ -25,4 +28,26 @@ public class EBookInstallSummaryRequestBuilder extends BaseEBookInstallSummaryRe public EBookInstallSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEBookInstallSummaryRequest instance + */ + public IEBookInstallSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEBookInstallSummaryRequest instance + */ + public IEBookInstallSummaryRequest buildRequest(final java.util.List requestOptions) { + return new EBookInstallSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequest.java index 0fa47da6911..8c4f89d2fca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEditionUpgradeConfigurationRequest; +import com.microsoft.graph.requests.extensions.EditionUpgradeConfigurationRequest; +import com.microsoft.graph.models.extensions.EditionUpgradeConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EditionUpgradeConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEditionUpgradeConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Edition Upgrade Configuration Request. */ -public class EditionUpgradeConfigurationRequest extends BaseEditionUpgradeConfigurationRequest implements IEditionUpgradeConfigurationRequest { - +public class EditionUpgradeConfigurationRequest extends BaseRequest implements IEditionUpgradeConfigurationRequest { + /** * The request for the EditionUpgradeConfiguration * @@ -26,4 +32,107 @@ public class EditionUpgradeConfigurationRequest extends BaseEditionUpgradeConfig public EditionUpgradeConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EditionUpgradeConfiguration.class); } + + /** + * Gets the EditionUpgradeConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EditionUpgradeConfiguration from the service + * + * @return the EditionUpgradeConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EditionUpgradeConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EditionUpgradeConfiguration with a source + * + * @param sourceEditionUpgradeConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEditionUpgradeConfiguration); + } + + /** + * Patches this EditionUpgradeConfiguration with a source + * + * @param sourceEditionUpgradeConfiguration the source object with updates + * @return the updated EditionUpgradeConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EditionUpgradeConfiguration patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceEditionUpgradeConfiguration); + } + + /** + * Creates a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newEditionUpgradeConfiguration); + } + + /** + * Creates a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the new object to create + * @return the created EditionUpgradeConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EditionUpgradeConfiguration post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException { + return send(HttpMethod.POST, newEditionUpgradeConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEditionUpgradeConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EditionUpgradeConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEditionUpgradeConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EditionUpgradeConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequestBuilder.java index 15977ed6eef..8a043cceaf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEditionUpgradeConfigurationRequest; +import com.microsoft.graph.requests.extensions.EditionUpgradeConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEditionUpgradeConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Edition Upgrade Configuration Request Builder. */ -public class EditionUpgradeConfigurationRequestBuilder extends BaseEditionUpgradeConfigurationRequestBuilder implements IEditionUpgradeConfigurationRequestBuilder { +public class EditionUpgradeConfigurationRequestBuilder extends BaseRequestBuilder implements IEditionUpgradeConfigurationRequestBuilder { /** * The request builder for the EditionUpgradeConfiguration @@ -25,4 +28,26 @@ public class EditionUpgradeConfigurationRequestBuilder extends BaseEditionUpgrad public EditionUpgradeConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEditionUpgradeConfigurationRequest instance + */ + public IEditionUpgradeConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEditionUpgradeConfigurationRequest instance + */ + public IEditionUpgradeConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new EditionUpgradeConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionPage.java index cc511be1d2b..a705009f37b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationClass; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection Page. */ -public class EducationClassCollectionPage extends BaseEducationClassCollectionPage implements IEducationClassCollectionPage { +public class EducationClassCollectionPage extends BaseCollectionPage implements IEducationClassCollectionPage { /** - * A collection page for EducationRoot. + * A collection page for EducationClass * - * @param response the serialized BaseEducationClassCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized EducationClassCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public EducationClassCollectionPage(final BaseEducationClassCollectionResponse response, final IEducationClassCollectionRequestBuilder builder) { - super(response, builder); + public EducationClassCollectionPage(final EducationClassCollectionResponse response, final IEducationClassCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequest.java index 1f299cfcdf0..a83971c3678 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection Reference Request. */ -public class EducationClassCollectionReferenceRequest extends BaseEducationClassCollectionReferenceRequest implements IEducationClassCollectionReferenceRequest { +public class EducationClassCollectionReferenceRequest extends BaseCollectionRequest implements IEducationClassCollectionReferenceRequest { + + /** + * The request builder for this collection of EducationClass + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationClassCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationClassCollectionResponse.class, IEducationClassCollectionPage.class); + } + + public void post(final EducationClass newEducationClass, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/classes/" + newEducationClass.id); + new EducationClassWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationClass, body, callback); + } + + public EducationClass post(final EducationClass newEducationClass) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/classes/" + newEducationClass.id); + return new EducationClassWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationClass, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationClassCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationClassCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationClassCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationClassCollectionReferenceRequest)this; + } /** - * The request for this collection of EducationUser + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public EducationClassCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IEducationClassCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationClassCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequestBuilder.java index 8b9bc874ff0..82215783ba2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection Reference Request Builder. */ -public class EducationClassCollectionReferenceRequestBuilder extends BaseEducationClassCollectionReferenceRequestBuilder implements IEducationClassCollectionReferenceRequestBuilder { +public class EducationClassCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IEducationClassCollectionReferenceRequestBuilder { /** * The request builder for this collection of EducationUser @@ -25,4 +33,12 @@ public class EducationClassCollectionReferenceRequestBuilder extends BaseEducati public EducationClassCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationClassCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationClassCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationClassCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequest.java index 169c74ff2df..0b249804580 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection Request. */ -public class EducationClassCollectionRequest extends BaseEducationClassCollectionRequest implements IEducationClassCollectionRequest { +public class EducationClassCollectionRequest extends BaseCollectionRequest implements IEducationClassCollectionRequest { /** - * The request for this collection of EducationRoot + * The request builder for this collection of EducationClass * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EducationClassCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationClassCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationClassCollectionResponse.class, IEducationClassCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEducationClassCollectionPage get() throws ClientException { + final EducationClassCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final EducationClass newEducationClass, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new EducationClassRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationClass, callback); + } + + public EducationClass post(final EducationClass newEducationClass) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EducationClassRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationClass); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationClassCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationClassCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationClassCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationClassCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEducationClassCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationClassCollectionRequest)this; + } + + public IEducationClassCollectionPage buildFromResponse(final EducationClassCollectionResponse response) { + final IEducationClassCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new EducationClassCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EducationClassCollectionPage page = new EducationClassCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequestBuilder.java index d0929e053cb..ff0fe8365ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection Request Builder. */ -public class EducationClassCollectionRequestBuilder extends BaseEducationClassCollectionRequestBuilder implements IEducationClassCollectionRequestBuilder { +public class EducationClassCollectionRequestBuilder extends BaseRequestBuilder implements IEducationClassCollectionRequestBuilder { /** * The request builder for this collection of EducationRoot @@ -25,4 +33,18 @@ public class EducationClassCollectionRequestBuilder extends BaseEducationClassCo public EducationClassCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationClassCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationClassCollectionRequest buildRequest(final java.util.List requestOptions) { + return new EducationClassCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationClassRequestBuilder byId(final String id) { + return new EducationClassRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionResponse.java new file mode 100644 index 00000000000..ba2a541d5c8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationClass; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education Class Collection Response. + */ +public class EducationClassCollectionResponse implements IJsonBackedObject { + + /** + * The list of EducationClass within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesPage.java index 2b719ec8741..5a893223a56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionResponse; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection With References Page. */ -public class EducationClassCollectionWithReferencesPage extends BaseEducationClassCollectionWithReferencesPage implements IEducationClassCollectionWithReferencesPage { +public class EducationClassCollectionWithReferencesPage extends BaseCollectionPage implements IEducationClassCollectionWithReferencesPage { /** - * A collection page for EducationUser. + * A collection page for EducationClass * - * @param response the serialized BaseEducationClassCollectionResponse from the service + * @param response the serialized EducationClassCollectionResponse from the service * @param builder the request builder for the next collection page */ - public EducationClassCollectionWithReferencesPage(final BaseEducationClassCollectionResponse response, final IEducationClassCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public EducationClassCollectionWithReferencesPage(final EducationClassCollectionResponse response, final IEducationClassCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequest.java index ec2725295ae..9e8b763deb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection With References Request. */ -public class EducationClassCollectionWithReferencesRequest extends BaseEducationClassCollectionWithReferencesRequest implements IEducationClassCollectionWithReferencesRequest { +public class EducationClassCollectionWithReferencesRequest extends BaseCollectionRequest implements IEducationClassCollectionWithReferencesRequest { /** - * The request for this collection of EducationUser + * The request builder for this collection of EducationClass * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EducationClassCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationClassCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationClassCollectionResponse.class, IEducationClassCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEducationClassCollectionWithReferencesPage get() throws ClientException { + final EducationClassCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IEducationClassCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationClassCollectionWithReferencesRequest)this; + } + + public IEducationClassCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationClassCollectionWithReferencesRequest)this; + } + + public IEducationClassCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationClassCollectionWithReferencesRequest)this; + } + + public IEducationClassCollectionWithReferencesPage buildFromResponse(final EducationClassCollectionResponse response) { + final IEducationClassCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new EducationClassCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EducationClassCollectionWithReferencesPage page = new EducationClassCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequestBuilder.java index a6e8265e199..679ec21a8da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Collection With References Request Builder. */ -public class EducationClassCollectionWithReferencesRequestBuilder extends BaseEducationClassCollectionWithReferencesRequestBuilder implements IEducationClassCollectionWithReferencesRequestBuilder { +public class EducationClassCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IEducationClassCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of EducationUser @@ -25,4 +33,20 @@ public class EducationClassCollectionWithReferencesRequestBuilder extends BaseEd public EducationClassCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationClassCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationClassCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new EducationClassCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationClassWithReferenceRequestBuilder byId(final String id) { + return new EducationClassWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IEducationClassCollectionReferenceRequestBuilder references(){ + return new EducationClassCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequest.java index 36ae74f3ccc..7e7ffe67aef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Reference Request. */ -public class EducationClassReferenceRequest extends BaseEducationClassReferenceRequest implements IEducationClassReferenceRequest { +public class EducationClassReferenceRequest extends BaseRequest implements IEducationClassReferenceRequest { /** * The request for the EducationClass @@ -22,7 +30,57 @@ public class EducationClassReferenceRequest extends BaseEducationClassReferenceR * @param client the service client * @param requestOptions the options for this request */ - public EducationClassReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationClassReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationClass.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public EducationClass delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationClassReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationClassReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationClassReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationClassReferenceRequest)this; + } + /** + * Puts the EducationClass + * + * @param srcEducationClass the EducationClass reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(EducationClass srcEducationClass, final ICallback callback) { + send(HttpMethod.PUT, callback, srcEducationClass); + } + + /** + * Puts the EducationClass + * + * @param srcEducationClass the EducationClass reference to PUT + * @return the EducationClass + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public EducationClass put(EducationClass srcEducationClass) throws ClientException { + return send(HttpMethod.PUT, srcEducationClass); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequestBuilder.java index c23f9a41a43..27d93b5f635 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Reference Request Builder. */ -public class EducationClassReferenceRequestBuilder extends BaseEducationClassReferenceRequestBuilder implements IEducationClassReferenceRequestBuilder { +public class EducationClassReferenceRequestBuilder extends BaseRequestBuilder implements IEducationClassReferenceRequestBuilder { /** * The request builder for the EducationClass @@ -25,4 +34,23 @@ public class EducationClassReferenceRequestBuilder extends BaseEducationClassRef public EducationClassReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IEducationClassReferenceRequest instance + */ + public IEducationClassReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationClassReferenceRequest instance + */ + public IEducationClassReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationClassReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequest.java index ccff819f946..c5e89e94b32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationClassRequest; +import com.microsoft.graph.requests.extensions.EducationClassRequest; +import com.microsoft.graph.models.extensions.EducationClass; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EducationClass; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Request. */ -public class EducationClassRequest extends BaseEducationClassRequest implements IEducationClassRequest { - +public class EducationClassRequest extends BaseRequest implements IEducationClassRequest { + /** * The request for the EducationClass * @@ -26,4 +32,107 @@ public class EducationClassRequest extends BaseEducationClassRequest implements public EducationClassRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EducationClass.class); } + + /** + * Gets the EducationClass from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EducationClass from the service + * + * @return the EducationClass from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationClass get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EducationClass with a source + * + * @param sourceEducationClass the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EducationClass sourceEducationClass, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationClass); + } + + /** + * Patches this EducationClass with a source + * + * @param sourceEducationClass the source object with updates + * @return the updated EducationClass + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationClass patch(final EducationClass sourceEducationClass) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationClass); + } + + /** + * Creates a EducationClass with a new object + * + * @param newEducationClass the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EducationClass newEducationClass, final ICallback callback) { + send(HttpMethod.POST, callback, newEducationClass); + } + + /** + * Creates a EducationClass with a new object + * + * @param newEducationClass the new object to create + * @return the created EducationClass + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationClass post(final EducationClass newEducationClass) throws ClientException { + return send(HttpMethod.POST, newEducationClass); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationClassRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationClassRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationClassRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationClassRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequestBuilder.java index dd9ca92bb93..a8078222974 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequestBuilder.java @@ -3,17 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationClassRequest; +import com.microsoft.graph.requests.extensions.EducationClassRequest; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class Request Builder. */ -public class EducationClassRequestBuilder extends BaseEducationClassRequestBuilder implements IEducationClassRequestBuilder { +public class EducationClassRequestBuilder extends BaseRequestBuilder implements IEducationClassRequestBuilder { /** * The request builder for the EducationClass @@ -25,4 +42,56 @@ public class EducationClassRequestBuilder extends BaseEducationClassRequestBuild public EducationClassRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationClassRequest instance + */ + public IEducationClassRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationClassRequest instance + */ + public IEducationClassRequest buildRequest(final java.util.List requestOptions) { + return new EducationClassRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IEducationSchoolCollectionWithReferencesRequestBuilder schools() { + return new EducationSchoolCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("schools"), getClient(), null); + } + + public IEducationSchoolWithReferenceRequestBuilder schools(final String id) { + return new EducationSchoolWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("schools") + "/" + id, getClient(), null); + } + public IEducationUserCollectionWithReferencesRequestBuilder members() { + return new EducationUserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); + } + + public IEducationUserWithReferenceRequestBuilder members(final String id) { + return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); + } + public IEducationUserCollectionWithReferencesRequestBuilder teachers() { + return new EducationUserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("teachers"), getClient(), null); + } + + public IEducationUserWithReferenceRequestBuilder teachers(final String id) { + return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teachers") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Group + * + * @return the IGroupWithReferenceRequestBuilder instance + */ + public IGroupWithReferenceRequestBuilder group() { + return new GroupWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("group"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequest.java index 4c92f69ac9c..e84c0297b8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class With Reference Request. */ -public class EducationClassWithReferenceRequest extends BaseEducationClassWithReferenceRequest implements IEducationClassWithReferenceRequest { +public class EducationClassWithReferenceRequest extends BaseRequest implements IEducationClassWithReferenceRequest { /** * The request for the EducationClass @@ -22,7 +30,66 @@ public class EducationClassWithReferenceRequest extends BaseEducationClassWithRe * @param client the service client * @param requestOptions the options for this request */ - public EducationClassWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationClassWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationClass.class); + } + + public void post(final EducationClass newEducationClass, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public EducationClass post(final EducationClass newEducationClass, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newEducationClass; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public EducationClass get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final EducationClass sourceEducationClass, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationClass); + } + + public EducationClass patch(final EducationClass sourceEducationClass) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationClass); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationClassWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IEducationClassWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationClassWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationClassWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequestBuilder.java index 7ca3af1f8bb..fb4cccccad4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Class With Reference Request Builder. */ -public class EducationClassWithReferenceRequestBuilder extends BaseEducationClassWithReferenceRequestBuilder implements IEducationClassWithReferenceRequestBuilder { +public class EducationClassWithReferenceRequestBuilder extends BaseRequestBuilder implements IEducationClassWithReferenceRequestBuilder { /** * The request builder for the EducationClass @@ -25,4 +33,28 @@ public class EducationClassWithReferenceRequestBuilder extends BaseEducationClas public EducationClassWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationClassWithReferenceRequest instance + */ + public IEducationClassWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationClassWithReferenceRequest instance + */ + public IEducationClassWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationClassWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationClassReferenceRequestBuilder reference(){ + return new EducationClassReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequest.java index 82ff6584c2b..04c7714ed17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationOrganizationRequest; +import com.microsoft.graph.requests.extensions.EducationOrganizationRequest; +import com.microsoft.graph.models.extensions.EducationOrganization; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EducationOrganization; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationOrganizationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Organization Request. */ -public class EducationOrganizationRequest extends BaseEducationOrganizationRequest implements IEducationOrganizationRequest { - +public class EducationOrganizationRequest extends BaseRequest implements IEducationOrganizationRequest { + /** * The request for the EducationOrganization * @@ -41,4 +47,107 @@ public EducationOrganizationRequest(final String requestUrl, public EducationOrganizationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EducationOrganization.class); } + + /** + * Gets the EducationOrganization from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EducationOrganization from the service + * + * @return the EducationOrganization from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationOrganization get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EducationOrganization with a source + * + * @param sourceEducationOrganization the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EducationOrganization sourceEducationOrganization, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationOrganization); + } + + /** + * Patches this EducationOrganization with a source + * + * @param sourceEducationOrganization the source object with updates + * @return the updated EducationOrganization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationOrganization patch(final EducationOrganization sourceEducationOrganization) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationOrganization); + } + + /** + * Creates a EducationOrganization with a new object + * + * @param newEducationOrganization the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EducationOrganization newEducationOrganization, final ICallback callback) { + send(HttpMethod.POST, callback, newEducationOrganization); + } + + /** + * Creates a EducationOrganization with a new object + * + * @param newEducationOrganization the new object to create + * @return the created EducationOrganization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationOrganization post(final EducationOrganization newEducationOrganization) throws ClientException { + return send(HttpMethod.POST, newEducationOrganization); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationOrganizationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationOrganizationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationOrganizationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationOrganizationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequestBuilder.java index fab83ab238c..8c722827f91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationOrganizationRequest; +import com.microsoft.graph.requests.extensions.EducationOrganizationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationOrganizationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Organization Request Builder. */ -public class EducationOrganizationRequestBuilder extends BaseEducationOrganizationRequestBuilder implements IEducationOrganizationRequestBuilder { +public class EducationOrganizationRequestBuilder extends BaseRequestBuilder implements IEducationOrganizationRequestBuilder { /** * The request builder for the EducationOrganization @@ -25,4 +28,26 @@ public class EducationOrganizationRequestBuilder extends BaseEducationOrganizati public EducationOrganizationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationOrganizationRequest instance + */ + public IEducationOrganizationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationOrganizationRequest instance + */ + public IEducationOrganizationRequest buildRequest(final java.util.List requestOptions) { + return new EducationOrganizationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequest.java index 3eaf4025c49..af64f391ad3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationRootRequest; +import com.microsoft.graph.requests.extensions.EducationRootRequest; +import com.microsoft.graph.models.extensions.EducationRoot; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EducationRoot; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationRootRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Root Request. */ -public class EducationRootRequest extends BaseEducationRootRequest implements IEducationRootRequest { - +public class EducationRootRequest extends BaseRequest implements IEducationRootRequest { + /** * The request for the EducationRoot * @@ -26,4 +32,107 @@ public class EducationRootRequest extends BaseEducationRootRequest implements IE public EducationRootRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EducationRoot.class); } + + /** + * Gets the EducationRoot from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EducationRoot from the service + * + * @return the EducationRoot from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationRoot get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EducationRoot with a source + * + * @param sourceEducationRoot the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EducationRoot sourceEducationRoot, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationRoot); + } + + /** + * Patches this EducationRoot with a source + * + * @param sourceEducationRoot the source object with updates + * @return the updated EducationRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationRoot patch(final EducationRoot sourceEducationRoot) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationRoot); + } + + /** + * Creates a EducationRoot with a new object + * + * @param newEducationRoot the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EducationRoot newEducationRoot, final ICallback callback) { + send(HttpMethod.POST, callback, newEducationRoot); + } + + /** + * Creates a EducationRoot with a new object + * + * @param newEducationRoot the new object to create + * @return the created EducationRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationRoot post(final EducationRoot newEducationRoot) throws ClientException { + return send(HttpMethod.POST, newEducationRoot); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationRootRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationRootRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationRootRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationRootRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequestBuilder.java index f9f5e7e2efd..f39d6f54f2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequestBuilder.java @@ -3,17 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationRootRequest; +import com.microsoft.graph.requests.extensions.EducationRootRequest; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationClassCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationClassRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationSchoolRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationRootRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education Root Request Builder. */ -public class EducationRootRequestBuilder extends BaseEducationRootRequestBuilder implements IEducationRootRequestBuilder { +public class EducationRootRequestBuilder extends BaseRequestBuilder implements IEducationRootRequestBuilder { /** * The request builder for the EducationRoot @@ -25,4 +42,56 @@ public class EducationRootRequestBuilder extends BaseEducationRootRequestBuilder public EducationRootRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationRootRequest instance + */ + public IEducationRootRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationRootRequest instance + */ + public IEducationRootRequest buildRequest(final java.util.List requestOptions) { + return new EducationRootRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IEducationClassCollectionRequestBuilder classes() { + return new EducationClassCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("classes"), getClient(), null); + } + + public IEducationClassRequestBuilder classes(final String id) { + return new EducationClassRequestBuilder(getRequestUrlWithAdditionalSegment("classes") + "/" + id, getClient(), null); + } + public IEducationSchoolCollectionRequestBuilder schools() { + return new EducationSchoolCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("schools"), getClient(), null); + } + + public IEducationSchoolRequestBuilder schools(final String id) { + return new EducationSchoolRequestBuilder(getRequestUrlWithAdditionalSegment("schools") + "/" + id, getClient(), null); + } + public IEducationUserCollectionRequestBuilder users() { + return new EducationUserCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("users"), getClient(), null); + } + + public IEducationUserRequestBuilder users(final String id) { + return new EducationUserRequestBuilder(getRequestUrlWithAdditionalSegment("users") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for EducationUser + * + * @return the IEducationUserRequestBuilder instance + */ + public IEducationUserRequestBuilder me() { + return new EducationUserRequestBuilder(getRequestUrlWithAdditionalSegment("me"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionPage.java index 480a9617f49..dfa23fff74a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationSchool; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection Page. */ -public class EducationSchoolCollectionPage extends BaseEducationSchoolCollectionPage implements IEducationSchoolCollectionPage { +public class EducationSchoolCollectionPage extends BaseCollectionPage implements IEducationSchoolCollectionPage { /** - * A collection page for EducationRoot. + * A collection page for EducationSchool * - * @param response the serialized BaseEducationSchoolCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized EducationSchoolCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public EducationSchoolCollectionPage(final BaseEducationSchoolCollectionResponse response, final IEducationSchoolCollectionRequestBuilder builder) { - super(response, builder); + public EducationSchoolCollectionPage(final EducationSchoolCollectionResponse response, final IEducationSchoolCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequest.java index e3fc75ac9af..124c05fb643 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection Reference Request. */ -public class EducationSchoolCollectionReferenceRequest extends BaseEducationSchoolCollectionReferenceRequest implements IEducationSchoolCollectionReferenceRequest { +public class EducationSchoolCollectionReferenceRequest extends BaseCollectionRequest implements IEducationSchoolCollectionReferenceRequest { + + /** + * The request builder for this collection of EducationSchool + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationSchoolCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationSchoolCollectionResponse.class, IEducationSchoolCollectionPage.class); + } + + public void post(final EducationSchool newEducationSchool, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/schools/" + newEducationSchool.id); + new EducationSchoolWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationSchool, body, callback); + } + + public EducationSchool post(final EducationSchool newEducationSchool) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/schools/" + newEducationSchool.id); + return new EducationSchoolWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationSchool, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationSchoolCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationSchoolCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationSchoolCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationSchoolCollectionReferenceRequest)this; + } /** - * The request for this collection of EducationUser + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public EducationSchoolCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IEducationSchoolCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationSchoolCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequestBuilder.java index 997ea138c47..e6233889248 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection Reference Request Builder. */ -public class EducationSchoolCollectionReferenceRequestBuilder extends BaseEducationSchoolCollectionReferenceRequestBuilder implements IEducationSchoolCollectionReferenceRequestBuilder { +public class EducationSchoolCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IEducationSchoolCollectionReferenceRequestBuilder { /** * The request builder for this collection of EducationUser @@ -25,4 +33,12 @@ public class EducationSchoolCollectionReferenceRequestBuilder extends BaseEducat public EducationSchoolCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationSchoolCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationSchoolCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationSchoolCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequest.java index 6d50f99cd19..9dc1e15b024 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection Request. */ -public class EducationSchoolCollectionRequest extends BaseEducationSchoolCollectionRequest implements IEducationSchoolCollectionRequest { +public class EducationSchoolCollectionRequest extends BaseCollectionRequest implements IEducationSchoolCollectionRequest { /** - * The request for this collection of EducationRoot + * The request builder for this collection of EducationSchool * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EducationSchoolCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationSchoolCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationSchoolCollectionResponse.class, IEducationSchoolCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEducationSchoolCollectionPage get() throws ClientException { + final EducationSchoolCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final EducationSchool newEducationSchool, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new EducationSchoolRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationSchool, callback); + } + + public EducationSchool post(final EducationSchool newEducationSchool) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EducationSchoolRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationSchool); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationSchoolCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationSchoolCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationSchoolCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationSchoolCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEducationSchoolCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationSchoolCollectionRequest)this; + } + + public IEducationSchoolCollectionPage buildFromResponse(final EducationSchoolCollectionResponse response) { + final IEducationSchoolCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new EducationSchoolCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EducationSchoolCollectionPage page = new EducationSchoolCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequestBuilder.java index cf230267e2f..a41470c4318 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection Request Builder. */ -public class EducationSchoolCollectionRequestBuilder extends BaseEducationSchoolCollectionRequestBuilder implements IEducationSchoolCollectionRequestBuilder { +public class EducationSchoolCollectionRequestBuilder extends BaseRequestBuilder implements IEducationSchoolCollectionRequestBuilder { /** * The request builder for this collection of EducationRoot @@ -25,4 +33,18 @@ public class EducationSchoolCollectionRequestBuilder extends BaseEducationSchool public EducationSchoolCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationSchoolCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationSchoolCollectionRequest buildRequest(final java.util.List requestOptions) { + return new EducationSchoolCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationSchoolRequestBuilder byId(final String id) { + return new EducationSchoolRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionResponse.java new file mode 100644 index 00000000000..6e93e473a15 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationSchool; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education School Collection Response. + */ +public class EducationSchoolCollectionResponse implements IJsonBackedObject { + + /** + * The list of EducationSchool within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesPage.java index 85102702a8c..28087f23ff7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionResponse; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection With References Page. */ -public class EducationSchoolCollectionWithReferencesPage extends BaseEducationSchoolCollectionWithReferencesPage implements IEducationSchoolCollectionWithReferencesPage { +public class EducationSchoolCollectionWithReferencesPage extends BaseCollectionPage implements IEducationSchoolCollectionWithReferencesPage { /** - * A collection page for EducationUser. + * A collection page for EducationSchool * - * @param response the serialized BaseEducationSchoolCollectionResponse from the service + * @param response the serialized EducationSchoolCollectionResponse from the service * @param builder the request builder for the next collection page */ - public EducationSchoolCollectionWithReferencesPage(final BaseEducationSchoolCollectionResponse response, final IEducationSchoolCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public EducationSchoolCollectionWithReferencesPage(final EducationSchoolCollectionResponse response, final IEducationSchoolCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequest.java index ebc1dac3eef..768f3e16503 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection With References Request. */ -public class EducationSchoolCollectionWithReferencesRequest extends BaseEducationSchoolCollectionWithReferencesRequest implements IEducationSchoolCollectionWithReferencesRequest { +public class EducationSchoolCollectionWithReferencesRequest extends BaseCollectionRequest implements IEducationSchoolCollectionWithReferencesRequest { /** - * The request for this collection of EducationUser + * The request builder for this collection of EducationSchool * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EducationSchoolCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationSchoolCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationSchoolCollectionResponse.class, IEducationSchoolCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEducationSchoolCollectionWithReferencesPage get() throws ClientException { + final EducationSchoolCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IEducationSchoolCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationSchoolCollectionWithReferencesRequest)this; + } + + public IEducationSchoolCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationSchoolCollectionWithReferencesRequest)this; + } + + public IEducationSchoolCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationSchoolCollectionWithReferencesRequest)this; + } + + public IEducationSchoolCollectionWithReferencesPage buildFromResponse(final EducationSchoolCollectionResponse response) { + final IEducationSchoolCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new EducationSchoolCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EducationSchoolCollectionWithReferencesPage page = new EducationSchoolCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequestBuilder.java index 0d93072d8a2..4d65f62e7c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Collection With References Request Builder. */ -public class EducationSchoolCollectionWithReferencesRequestBuilder extends BaseEducationSchoolCollectionWithReferencesRequestBuilder implements IEducationSchoolCollectionWithReferencesRequestBuilder { +public class EducationSchoolCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IEducationSchoolCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of EducationUser @@ -25,4 +33,20 @@ public class EducationSchoolCollectionWithReferencesRequestBuilder extends BaseE public EducationSchoolCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationSchoolCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationSchoolCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new EducationSchoolCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationSchoolWithReferenceRequestBuilder byId(final String id) { + return new EducationSchoolWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IEducationSchoolCollectionReferenceRequestBuilder references(){ + return new EducationSchoolCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequest.java index d3d3680478c..0eb0814256b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Reference Request. */ -public class EducationSchoolReferenceRequest extends BaseEducationSchoolReferenceRequest implements IEducationSchoolReferenceRequest { +public class EducationSchoolReferenceRequest extends BaseRequest implements IEducationSchoolReferenceRequest { /** * The request for the EducationSchool @@ -22,7 +30,57 @@ public class EducationSchoolReferenceRequest extends BaseEducationSchoolReferenc * @param client the service client * @param requestOptions the options for this request */ - public EducationSchoolReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationSchoolReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationSchool.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public EducationSchool delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationSchoolReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationSchoolReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationSchoolReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationSchoolReferenceRequest)this; + } + /** + * Puts the EducationSchool + * + * @param srcEducationSchool the EducationSchool reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(EducationSchool srcEducationSchool, final ICallback callback) { + send(HttpMethod.PUT, callback, srcEducationSchool); + } + + /** + * Puts the EducationSchool + * + * @param srcEducationSchool the EducationSchool reference to PUT + * @return the EducationSchool + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public EducationSchool put(EducationSchool srcEducationSchool) throws ClientException { + return send(HttpMethod.PUT, srcEducationSchool); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequestBuilder.java index 8a3c9a25041..15f06e6a387 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Reference Request Builder. */ -public class EducationSchoolReferenceRequestBuilder extends BaseEducationSchoolReferenceRequestBuilder implements IEducationSchoolReferenceRequestBuilder { +public class EducationSchoolReferenceRequestBuilder extends BaseRequestBuilder implements IEducationSchoolReferenceRequestBuilder { /** * The request builder for the EducationSchool @@ -25,4 +34,23 @@ public class EducationSchoolReferenceRequestBuilder extends BaseEducationSchoolR public EducationSchoolReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IEducationSchoolReferenceRequest instance + */ + public IEducationSchoolReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationSchoolReferenceRequest instance + */ + public IEducationSchoolReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationSchoolReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequest.java index ac434432f3b..b2556e7c0e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationSchoolRequest; +import com.microsoft.graph.requests.extensions.EducationSchoolRequest; +import com.microsoft.graph.models.extensions.EducationSchool; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EducationSchool; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Request. */ -public class EducationSchoolRequest extends BaseEducationSchoolRequest implements IEducationSchoolRequest { - +public class EducationSchoolRequest extends BaseRequest implements IEducationSchoolRequest { + /** * The request for the EducationSchool * @@ -26,4 +32,107 @@ public class EducationSchoolRequest extends BaseEducationSchoolRequest implement public EducationSchoolRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EducationSchool.class); } + + /** + * Gets the EducationSchool from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EducationSchool from the service + * + * @return the EducationSchool from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationSchool get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EducationSchool with a source + * + * @param sourceEducationSchool the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EducationSchool sourceEducationSchool, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationSchool); + } + + /** + * Patches this EducationSchool with a source + * + * @param sourceEducationSchool the source object with updates + * @return the updated EducationSchool + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationSchool); + } + + /** + * Creates a EducationSchool with a new object + * + * @param newEducationSchool the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EducationSchool newEducationSchool, final ICallback callback) { + send(HttpMethod.POST, callback, newEducationSchool); + } + + /** + * Creates a EducationSchool with a new object + * + * @param newEducationSchool the new object to create + * @return the created EducationSchool + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationSchool post(final EducationSchool newEducationSchool) throws ClientException { + return send(HttpMethod.POST, newEducationSchool); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationSchoolRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationSchoolRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationSchoolRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationSchoolRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequestBuilder.java index 3455d0024bc..fe47eb43430 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationSchoolRequest; +import com.microsoft.graph.requests.extensions.EducationSchoolRequest; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationUserWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School Request Builder. */ -public class EducationSchoolRequestBuilder extends BaseEducationSchoolRequestBuilder implements IEducationSchoolRequestBuilder { +public class EducationSchoolRequestBuilder extends BaseRequestBuilder implements IEducationSchoolRequestBuilder { /** * The request builder for the EducationSchool @@ -25,4 +36,40 @@ public class EducationSchoolRequestBuilder extends BaseEducationSchoolRequestBui public EducationSchoolRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationSchoolRequest instance + */ + public IEducationSchoolRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationSchoolRequest instance + */ + public IEducationSchoolRequest buildRequest(final java.util.List requestOptions) { + return new EducationSchoolRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IEducationClassCollectionWithReferencesRequestBuilder classes() { + return new EducationClassCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("classes"), getClient(), null); + } + + public IEducationClassWithReferenceRequestBuilder classes(final String id) { + return new EducationClassWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("classes") + "/" + id, getClient(), null); + } + public IEducationUserCollectionWithReferencesRequestBuilder users() { + return new EducationUserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("users"), getClient(), null); + } + + public IEducationUserWithReferenceRequestBuilder users(final String id) { + return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("users") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequest.java index 75b821e44a0..d4890c5ac79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School With Reference Request. */ -public class EducationSchoolWithReferenceRequest extends BaseEducationSchoolWithReferenceRequest implements IEducationSchoolWithReferenceRequest { +public class EducationSchoolWithReferenceRequest extends BaseRequest implements IEducationSchoolWithReferenceRequest { /** * The request for the EducationSchool @@ -22,7 +30,66 @@ public class EducationSchoolWithReferenceRequest extends BaseEducationSchoolWith * @param client the service client * @param requestOptions the options for this request */ - public EducationSchoolWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationSchoolWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationSchool.class); + } + + public void post(final EducationSchool newEducationSchool, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public EducationSchool post(final EducationSchool newEducationSchool, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newEducationSchool; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public EducationSchool get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final EducationSchool sourceEducationSchool, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationSchool); + } + + public EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationSchool); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationSchoolWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IEducationSchoolWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationSchoolWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationSchoolWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequestBuilder.java index ca30ffc1f2a..3028a09aa7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education School With Reference Request Builder. */ -public class EducationSchoolWithReferenceRequestBuilder extends BaseEducationSchoolWithReferenceRequestBuilder implements IEducationSchoolWithReferenceRequestBuilder { +public class EducationSchoolWithReferenceRequestBuilder extends BaseRequestBuilder implements IEducationSchoolWithReferenceRequestBuilder { /** * The request builder for the EducationSchool @@ -25,4 +33,28 @@ public class EducationSchoolWithReferenceRequestBuilder extends BaseEducationSch public EducationSchoolWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationSchoolWithReferenceRequest instance + */ + public IEducationSchoolWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationSchoolWithReferenceRequest instance + */ + public IEducationSchoolWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationSchoolWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationSchoolReferenceRequestBuilder reference(){ + return new EducationSchoolReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionPage.java index f952943a634..a04abdeb51a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionPage; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection Page. */ -public class EducationUserCollectionPage extends BaseEducationUserCollectionPage implements IEducationUserCollectionPage { +public class EducationUserCollectionPage extends BaseCollectionPage implements IEducationUserCollectionPage { /** - * A collection page for EducationRoot. + * A collection page for EducationUser * - * @param response the serialized BaseEducationUserCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized EducationUserCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public EducationUserCollectionPage(final BaseEducationUserCollectionResponse response, final IEducationUserCollectionRequestBuilder builder) { - super(response, builder); + public EducationUserCollectionPage(final EducationUserCollectionResponse response, final IEducationUserCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequest.java index 12a3ae48e81..20de87200c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection Reference Request. */ -public class EducationUserCollectionReferenceRequest extends BaseEducationUserCollectionReferenceRequest implements IEducationUserCollectionReferenceRequest { +public class EducationUserCollectionReferenceRequest extends BaseCollectionRequest implements IEducationUserCollectionReferenceRequest { + + /** + * The request builder for this collection of EducationUser + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationUserCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationUserCollectionResponse.class, IEducationUserCollectionPage.class); + } + + public void post(final EducationUser newEducationUser, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/users/" + newEducationUser.id); + new EducationUserWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationUser, body, callback); + } + + public EducationUser post(final EducationUser newEducationUser) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/users/" + newEducationUser.id); + return new EducationUserWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationUser, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationUserCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationUserCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationUserCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationUserCollectionReferenceRequest)this; + } /** - * The request for this collection of EducationSchool + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public EducationUserCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IEducationUserCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationUserCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequestBuilder.java index 77bc6b27db8..28812cdf6ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection Reference Request Builder. */ -public class EducationUserCollectionReferenceRequestBuilder extends BaseEducationUserCollectionReferenceRequestBuilder implements IEducationUserCollectionReferenceRequestBuilder { +public class EducationUserCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IEducationUserCollectionReferenceRequestBuilder { /** * The request builder for this collection of EducationSchool @@ -25,4 +33,12 @@ public class EducationUserCollectionReferenceRequestBuilder extends BaseEducatio public EducationUserCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationUserCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationUserCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationUserCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequest.java index 62687bec26c..791374c3bf3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection Request. */ -public class EducationUserCollectionRequest extends BaseEducationUserCollectionRequest implements IEducationUserCollectionRequest { +public class EducationUserCollectionRequest extends BaseCollectionRequest implements IEducationUserCollectionRequest { /** - * The request for this collection of EducationRoot + * The request builder for this collection of EducationUser * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EducationUserCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationUserCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationUserCollectionResponse.class, IEducationUserCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEducationUserCollectionPage get() throws ClientException { + final EducationUserCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final EducationUser newEducationUser, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new EducationUserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationUser, callback); + } + + public EducationUser post(final EducationUser newEducationUser) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EducationUserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEducationUser); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationUserCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationUserCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationUserCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationUserCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEducationUserCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationUserCollectionRequest)this; + } + + public IEducationUserCollectionPage buildFromResponse(final EducationUserCollectionResponse response) { + final IEducationUserCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new EducationUserCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EducationUserCollectionPage page = new EducationUserCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequestBuilder.java index 1eff978a93c..6f19e78f1de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection Request Builder. */ -public class EducationUserCollectionRequestBuilder extends BaseEducationUserCollectionRequestBuilder implements IEducationUserCollectionRequestBuilder { +public class EducationUserCollectionRequestBuilder extends BaseRequestBuilder implements IEducationUserCollectionRequestBuilder { /** * The request builder for this collection of EducationRoot @@ -25,4 +33,18 @@ public class EducationUserCollectionRequestBuilder extends BaseEducationUserColl public EducationUserCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationUserCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationUserCollectionRequest buildRequest(final java.util.List requestOptions) { + return new EducationUserCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationUserRequestBuilder byId(final String id) { + return new EducationUserRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionResponse.java new file mode 100644 index 00000000000..228c7119f10 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationUser; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education User Collection Response. + */ +public class EducationUserCollectionResponse implements IJsonBackedObject { + + /** + * The list of EducationUser within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesPage.java index d533afe95c3..9834d448e9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionResponse; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection With References Page. */ -public class EducationUserCollectionWithReferencesPage extends BaseEducationUserCollectionWithReferencesPage implements IEducationUserCollectionWithReferencesPage { +public class EducationUserCollectionWithReferencesPage extends BaseCollectionPage implements IEducationUserCollectionWithReferencesPage { /** - * A collection page for EducationSchool. + * A collection page for EducationUser * - * @param response the serialized BaseEducationUserCollectionResponse from the service + * @param response the serialized EducationUserCollectionResponse from the service * @param builder the request builder for the next collection page */ - public EducationUserCollectionWithReferencesPage(final BaseEducationUserCollectionResponse response, final IEducationUserCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public EducationUserCollectionWithReferencesPage(final EducationUserCollectionResponse response, final IEducationUserCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequest.java index 1b20fd24791..3bae318e1c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection With References Request. */ -public class EducationUserCollectionWithReferencesRequest extends BaseEducationUserCollectionWithReferencesRequest implements IEducationUserCollectionWithReferencesRequest { +public class EducationUserCollectionWithReferencesRequest extends BaseCollectionRequest implements IEducationUserCollectionWithReferencesRequest { /** - * The request for this collection of EducationSchool + * The request builder for this collection of EducationUser * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EducationUserCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationUserCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationUserCollectionResponse.class, IEducationUserCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEducationUserCollectionWithReferencesPage get() throws ClientException { + final EducationUserCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IEducationUserCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EducationUserCollectionWithReferencesRequest)this; + } + + public IEducationUserCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EducationUserCollectionWithReferencesRequest)this; + } + + public IEducationUserCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EducationUserCollectionWithReferencesRequest)this; + } + + public IEducationUserCollectionWithReferencesPage buildFromResponse(final EducationUserCollectionResponse response) { + final IEducationUserCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new EducationUserCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EducationUserCollectionWithReferencesPage page = new EducationUserCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequestBuilder.java index 3ce77f96837..73c26330535 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Collection With References Request Builder. */ -public class EducationUserCollectionWithReferencesRequestBuilder extends BaseEducationUserCollectionWithReferencesRequestBuilder implements IEducationUserCollectionWithReferencesRequestBuilder { +public class EducationUserCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IEducationUserCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of EducationSchool @@ -25,4 +33,20 @@ public class EducationUserCollectionWithReferencesRequestBuilder extends BaseEdu public EducationUserCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEducationUserCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEducationUserCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new EducationUserCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationUserWithReferenceRequestBuilder byId(final String id) { + return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IEducationUserCollectionReferenceRequestBuilder references(){ + return new EducationUserCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequest.java index ec91818f64c..52927a34c58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Reference Request. */ -public class EducationUserReferenceRequest extends BaseEducationUserReferenceRequest implements IEducationUserReferenceRequest { +public class EducationUserReferenceRequest extends BaseRequest implements IEducationUserReferenceRequest { /** * The request for the EducationUser @@ -22,7 +30,57 @@ public class EducationUserReferenceRequest extends BaseEducationUserReferenceReq * @param client the service client * @param requestOptions the options for this request */ - public EducationUserReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationUserReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationUser.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public EducationUser delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationUserReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationUserReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationUserReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationUserReferenceRequest)this; + } + /** + * Puts the EducationUser + * + * @param srcEducationUser the EducationUser reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(EducationUser srcEducationUser, final ICallback callback) { + send(HttpMethod.PUT, callback, srcEducationUser); + } + + /** + * Puts the EducationUser + * + * @param srcEducationUser the EducationUser reference to PUT + * @return the EducationUser + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public EducationUser put(EducationUser srcEducationUser) throws ClientException { + return send(HttpMethod.PUT, srcEducationUser); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequestBuilder.java index 587500b558a..15dfa8ced38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Reference Request Builder. */ -public class EducationUserReferenceRequestBuilder extends BaseEducationUserReferenceRequestBuilder implements IEducationUserReferenceRequestBuilder { +public class EducationUserReferenceRequestBuilder extends BaseRequestBuilder implements IEducationUserReferenceRequestBuilder { /** * The request builder for the EducationUser @@ -25,4 +34,23 @@ public class EducationUserReferenceRequestBuilder extends BaseEducationUserRefer public EducationUserReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IEducationUserReferenceRequest instance + */ + public IEducationUserReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationUserReferenceRequest instance + */ + public IEducationUserReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationUserReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequest.java index bdae67c20cf..227e27b5966 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationUserRequest; +import com.microsoft.graph.requests.extensions.EducationUserRequest; +import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Request. */ -public class EducationUserRequest extends BaseEducationUserRequest implements IEducationUserRequest { - +public class EducationUserRequest extends BaseRequest implements IEducationUserRequest { + /** * The request for the EducationUser * @@ -26,4 +32,107 @@ public class EducationUserRequest extends BaseEducationUserRequest implements IE public EducationUserRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EducationUser.class); } + + /** + * Gets the EducationUser from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EducationUser from the service + * + * @return the EducationUser from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationUser get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EducationUser with a source + * + * @param sourceEducationUser the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EducationUser sourceEducationUser, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationUser); + } + + /** + * Patches this EducationUser with a source + * + * @param sourceEducationUser the source object with updates + * @return the updated EducationUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationUser patch(final EducationUser sourceEducationUser) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationUser); + } + + /** + * Creates a EducationUser with a new object + * + * @param newEducationUser the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EducationUser newEducationUser, final ICallback callback) { + send(HttpMethod.POST, callback, newEducationUser); + } + + /** + * Creates a EducationUser with a new object + * + * @param newEducationUser the new object to create + * @return the created EducationUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationUser post(final EducationUser newEducationUser) throws ClientException { + return send(HttpMethod.POST, newEducationUser); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationUserRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EducationUserRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationUserRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationUserRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequestBuilder.java index 09b141f63a2..61d1bd6a94d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequestBuilder.java @@ -3,17 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationUserRequest; +import com.microsoft.graph.requests.extensions.EducationUserRequest; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User Request Builder. */ -public class EducationUserRequestBuilder extends BaseEducationUserRequestBuilder implements IEducationUserRequestBuilder { +public class EducationUserRequestBuilder extends BaseRequestBuilder implements IEducationUserRequestBuilder { /** * The request builder for the EducationUser @@ -25,4 +38,49 @@ public class EducationUserRequestBuilder extends BaseEducationUserRequestBuilder public EducationUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationUserRequest instance + */ + public IEducationUserRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEducationUserRequest instance + */ + public IEducationUserRequest buildRequest(final java.util.List requestOptions) { + return new EducationUserRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IEducationSchoolCollectionWithReferencesRequestBuilder schools() { + return new EducationSchoolCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("schools"), getClient(), null); + } + + public IEducationSchoolWithReferenceRequestBuilder schools(final String id) { + return new EducationSchoolWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("schools") + "/" + id, getClient(), null); + } + public IEducationClassCollectionWithReferencesRequestBuilder classes() { + return new EducationClassCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("classes"), getClient(), null); + } + + public IEducationClassWithReferenceRequestBuilder classes(final String id) { + return new EducationClassWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("classes") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + public IUserWithReferenceRequestBuilder user() { + return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("user"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequest.java index 9fc94fbf656..946cf867ae6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User With Reference Request. */ -public class EducationUserWithReferenceRequest extends BaseEducationUserWithReferenceRequest implements IEducationUserWithReferenceRequest { +public class EducationUserWithReferenceRequest extends BaseRequest implements IEducationUserWithReferenceRequest { /** * The request for the EducationUser @@ -22,7 +30,66 @@ public class EducationUserWithReferenceRequest extends BaseEducationUserWithRefe * @param client the service client * @param requestOptions the options for this request */ - public EducationUserWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EducationUserWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationUser.class); + } + + public void post(final EducationUser newEducationUser, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public EducationUser post(final EducationUser newEducationUser, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newEducationUser; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public EducationUser get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final EducationUser sourceEducationUser, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEducationUser); + } + + public EducationUser patch(final EducationUser sourceEducationUser) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationUser); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEducationUserWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IEducationUserWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEducationUserWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EducationUserWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequestBuilder.java index ff40ff442ef..543663242e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Education User With Reference Request Builder. */ -public class EducationUserWithReferenceRequestBuilder extends BaseEducationUserWithReferenceRequestBuilder implements IEducationUserWithReferenceRequestBuilder { +public class EducationUserWithReferenceRequestBuilder extends BaseRequestBuilder implements IEducationUserWithReferenceRequestBuilder { /** * The request builder for the EducationUser @@ -25,4 +33,28 @@ public class EducationUserWithReferenceRequestBuilder extends BaseEducationUserW public EducationUserWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEducationUserWithReferenceRequest instance + */ + public IEducationUserWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationUserWithReferenceRequest instance + */ + public IEducationUserWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EducationUserWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEducationUserReferenceRequestBuilder reference(){ + return new EducationUserReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionPage.java index 09bae19c540..7e77104a09a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Configuration Assignment Collection Page. */ -public class EnrollmentConfigurationAssignmentCollectionPage extends BaseEnrollmentConfigurationAssignmentCollectionPage implements IEnrollmentConfigurationAssignmentCollectionPage { +public class EnrollmentConfigurationAssignmentCollectionPage extends BaseCollectionPage implements IEnrollmentConfigurationAssignmentCollectionPage { /** - * A collection page for DeviceEnrollmentConfiguration. + * A collection page for EnrollmentConfigurationAssignment * - * @param response the serialized BaseEnrollmentConfigurationAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized EnrollmentConfigurationAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public EnrollmentConfigurationAssignmentCollectionPage(final BaseEnrollmentConfigurationAssignmentCollectionResponse response, final IEnrollmentConfigurationAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public EnrollmentConfigurationAssignmentCollectionPage(final EnrollmentConfigurationAssignmentCollectionResponse response, final IEnrollmentConfigurationAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequest.java index 67ee7969ed0..863afb3cae8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Configuration Assignment Collection Request. */ -public class EnrollmentConfigurationAssignmentCollectionRequest extends BaseEnrollmentConfigurationAssignmentCollectionRequest implements IEnrollmentConfigurationAssignmentCollectionRequest { +public class EnrollmentConfigurationAssignmentCollectionRequest extends BaseCollectionRequest implements IEnrollmentConfigurationAssignmentCollectionRequest { /** - * The request for this collection of DeviceEnrollmentConfiguration + * The request builder for this collection of EnrollmentConfigurationAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EnrollmentConfigurationAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EnrollmentConfigurationAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EnrollmentConfigurationAssignmentCollectionResponse.class, IEnrollmentConfigurationAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEnrollmentConfigurationAssignmentCollectionPage get() throws ClientException { + final EnrollmentConfigurationAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new EnrollmentConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEnrollmentConfigurationAssignment, callback); + } + + public EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EnrollmentConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEnrollmentConfigurationAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEnrollmentConfigurationAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EnrollmentConfigurationAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEnrollmentConfigurationAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EnrollmentConfigurationAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEnrollmentConfigurationAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EnrollmentConfigurationAssignmentCollectionRequest)this; + } + + public IEnrollmentConfigurationAssignmentCollectionPage buildFromResponse(final EnrollmentConfigurationAssignmentCollectionResponse response) { + final IEnrollmentConfigurationAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new EnrollmentConfigurationAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EnrollmentConfigurationAssignmentCollectionPage page = new EnrollmentConfigurationAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequestBuilder.java index 33188551fbc..ee1b997ed46 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Configuration Assignment Collection Request Builder. */ -public class EnrollmentConfigurationAssignmentCollectionRequestBuilder extends BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder implements IEnrollmentConfigurationAssignmentCollectionRequestBuilder { +public class EnrollmentConfigurationAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IEnrollmentConfigurationAssignmentCollectionRequestBuilder { /** * The request builder for this collection of DeviceEnrollmentConfiguration @@ -25,4 +33,18 @@ public class EnrollmentConfigurationAssignmentCollectionRequestBuilder extends B public EnrollmentConfigurationAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEnrollmentConfigurationAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEnrollmentConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new EnrollmentConfigurationAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEnrollmentConfigurationAssignmentRequestBuilder byId(final String id) { + return new EnrollmentConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionResponse.java new file mode 100644 index 00000000000..9ca540efe29 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Enrollment Configuration Assignment Collection Response. + */ +public class EnrollmentConfigurationAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of EnrollmentConfigurationAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequest.java index 3a1c35ab458..daff6c00ad3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequest; +import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentRequest; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Configuration Assignment Request. */ -public class EnrollmentConfigurationAssignmentRequest extends BaseEnrollmentConfigurationAssignmentRequest implements IEnrollmentConfigurationAssignmentRequest { - +public class EnrollmentConfigurationAssignmentRequest extends BaseRequest implements IEnrollmentConfigurationAssignmentRequest { + /** * The request for the EnrollmentConfigurationAssignment * @@ -26,4 +32,107 @@ public class EnrollmentConfigurationAssignmentRequest extends BaseEnrollmentConf public EnrollmentConfigurationAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EnrollmentConfigurationAssignment.class); } + + /** + * Gets the EnrollmentConfigurationAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EnrollmentConfigurationAssignment from the service + * + * @return the EnrollmentConfigurationAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentConfigurationAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EnrollmentConfigurationAssignment with a source + * + * @param sourceEnrollmentConfigurationAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEnrollmentConfigurationAssignment); + } + + /** + * Patches this EnrollmentConfigurationAssignment with a source + * + * @param sourceEnrollmentConfigurationAssignment the source object with updates + * @return the updated EnrollmentConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentConfigurationAssignment patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceEnrollmentConfigurationAssignment); + } + + /** + * Creates a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newEnrollmentConfigurationAssignment); + } + + /** + * Creates a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the new object to create + * @return the created EnrollmentConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException { + return send(HttpMethod.POST, newEnrollmentConfigurationAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEnrollmentConfigurationAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EnrollmentConfigurationAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEnrollmentConfigurationAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EnrollmentConfigurationAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequestBuilder.java index 9f98e781841..f45b977d2c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequest; +import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEnrollmentConfigurationAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Configuration Assignment Request Builder. */ -public class EnrollmentConfigurationAssignmentRequestBuilder extends BaseEnrollmentConfigurationAssignmentRequestBuilder implements IEnrollmentConfigurationAssignmentRequestBuilder { +public class EnrollmentConfigurationAssignmentRequestBuilder extends BaseRequestBuilder implements IEnrollmentConfigurationAssignmentRequestBuilder { /** * The request builder for the EnrollmentConfigurationAssignment @@ -25,4 +28,26 @@ public class EnrollmentConfigurationAssignmentRequestBuilder extends BaseEnrollm public EnrollmentConfigurationAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEnrollmentConfigurationAssignmentRequest instance + */ + public IEnrollmentConfigurationAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEnrollmentConfigurationAssignmentRequest instance + */ + public IEnrollmentConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new EnrollmentConfigurationAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequest.java index d36e841354b..f62771cb464 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEnrollmentTroubleshootingEventRequest; +import com.microsoft.graph.requests.extensions.EnrollmentTroubleshootingEventRequest; +import com.microsoft.graph.models.extensions.EnrollmentTroubleshootingEvent; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EnrollmentTroubleshootingEvent; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEnrollmentTroubleshootingEventRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Troubleshooting Event Request. */ -public class EnrollmentTroubleshootingEventRequest extends BaseEnrollmentTroubleshootingEventRequest implements IEnrollmentTroubleshootingEventRequest { - +public class EnrollmentTroubleshootingEventRequest extends BaseRequest implements IEnrollmentTroubleshootingEventRequest { + /** * The request for the EnrollmentTroubleshootingEvent * @@ -26,4 +32,107 @@ public class EnrollmentTroubleshootingEventRequest extends BaseEnrollmentTrouble public EnrollmentTroubleshootingEventRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EnrollmentTroubleshootingEvent.class); } + + /** + * Gets the EnrollmentTroubleshootingEvent from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EnrollmentTroubleshootingEvent from the service + * + * @return the EnrollmentTroubleshootingEvent from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentTroubleshootingEvent get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EnrollmentTroubleshootingEvent with a source + * + * @param sourceEnrollmentTroubleshootingEvent the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEnrollmentTroubleshootingEvent); + } + + /** + * Patches this EnrollmentTroubleshootingEvent with a source + * + * @param sourceEnrollmentTroubleshootingEvent the source object with updates + * @return the updated EnrollmentTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentTroubleshootingEvent patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent) throws ClientException { + return send(HttpMethod.PATCH, sourceEnrollmentTroubleshootingEvent); + } + + /** + * Creates a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent, final ICallback callback) { + send(HttpMethod.POST, callback, newEnrollmentTroubleshootingEvent); + } + + /** + * Creates a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the new object to create + * @return the created EnrollmentTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentTroubleshootingEvent post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException { + return send(HttpMethod.POST, newEnrollmentTroubleshootingEvent); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEnrollmentTroubleshootingEventRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EnrollmentTroubleshootingEventRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEnrollmentTroubleshootingEventRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EnrollmentTroubleshootingEventRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequestBuilder.java index 5e5b9793832..80ab86c47f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEnrollmentTroubleshootingEventRequest; +import com.microsoft.graph.requests.extensions.EnrollmentTroubleshootingEventRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEnrollmentTroubleshootingEventRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Enrollment Troubleshooting Event Request Builder. */ -public class EnrollmentTroubleshootingEventRequestBuilder extends BaseEnrollmentTroubleshootingEventRequestBuilder implements IEnrollmentTroubleshootingEventRequestBuilder { +public class EnrollmentTroubleshootingEventRequestBuilder extends BaseRequestBuilder implements IEnrollmentTroubleshootingEventRequestBuilder { /** * The request builder for the EnrollmentTroubleshootingEvent @@ -25,4 +28,26 @@ public class EnrollmentTroubleshootingEventRequestBuilder extends BaseEnrollment public EnrollmentTroubleshootingEventRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEnrollmentTroubleshootingEventRequest instance + */ + public IEnrollmentTroubleshootingEventRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEnrollmentTroubleshootingEventRequest instance + */ + public IEnrollmentTroubleshootingEventRequest buildRequest(final java.util.List requestOptions) { + return new EnrollmentTroubleshootingEventRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequest.java index 78cbde7a19a..94b64e82512 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEntityReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity Reference Request. */ -public class EntityReferenceRequest extends BaseEntityReferenceRequest implements IEntityReferenceRequest { +public class EntityReferenceRequest extends BaseRequest implements IEntityReferenceRequest { /** * The request for the Entity @@ -22,7 +30,57 @@ public class EntityReferenceRequest extends BaseEntityReferenceRequest implement * @param client the service client * @param requestOptions the options for this request */ - public EntityReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EntityReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, Entity.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public Entity delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEntityReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EntityReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEntityReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EntityReferenceRequest)this; + } + /** + * Puts the Entity + * + * @param srcEntity the Entity reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Entity srcEntity, final ICallback callback) { + send(HttpMethod.PUT, callback, srcEntity); + } + + /** + * Puts the Entity + * + * @param srcEntity the Entity reference to PUT + * @return the Entity + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Entity put(Entity srcEntity) throws ClientException { + return send(HttpMethod.PUT, srcEntity); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequestBuilder.java index 3eb25ec33ef..e3e4d5be3f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EntityReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEntityReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity Reference Request Builder. */ -public class EntityReferenceRequestBuilder extends BaseEntityReferenceRequestBuilder implements IEntityReferenceRequestBuilder { +public class EntityReferenceRequestBuilder extends BaseRequestBuilder implements IEntityReferenceRequestBuilder { /** * The request builder for the Entity @@ -25,4 +34,23 @@ public class EntityReferenceRequestBuilder extends BaseEntityReferenceRequestBui public EntityReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IEntityReferenceRequest instance + */ + public IEntityReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEntityReferenceRequest instance + */ + public IEntityReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EntityReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EntityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EntityRequest.java index f7fc3a5c1fe..eb7076ea8bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EntityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EntityRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEntityRequest; +import com.microsoft.graph.requests.extensions.EntityRequest; +import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEntityRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity Request. */ -public class EntityRequest extends BaseEntityRequest implements IEntityRequest { - +public class EntityRequest extends BaseRequest implements IEntityRequest { + /** * The request for the Entity * @@ -41,4 +47,28 @@ public EntityRequest(final String requestUrl, public EntityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Entity.class); } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEntityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EntityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEntityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EntityRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EntityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EntityRequestBuilder.java index e59d0208a40..5dd336cf789 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EntityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EntityRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEntityRequest; +import com.microsoft.graph.requests.extensions.EntityRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEntityRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity Request Builder. */ -public class EntityRequestBuilder extends BaseEntityRequestBuilder implements IEntityRequestBuilder { +public class EntityRequestBuilder extends BaseRequestBuilder implements IEntityRequestBuilder { /** * The request builder for the Entity @@ -25,4 +28,26 @@ public class EntityRequestBuilder extends BaseEntityRequestBuilder implements IE public EntityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEntityRequest instance + */ + public IEntityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEntityRequest instance + */ + public IEntityRequest buildRequest(final java.util.List requestOptions) { + return new EntityRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequest.java index 5d5ce282399..35a24f02dd5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEntityWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity With Reference Request. */ -public class EntityWithReferenceRequest extends BaseEntityWithReferenceRequest implements IEntityWithReferenceRequest { +public class EntityWithReferenceRequest extends BaseRequest implements IEntityWithReferenceRequest { /** * The request for the Entity @@ -22,7 +30,66 @@ public class EntityWithReferenceRequest extends BaseEntityWithReferenceRequest i * @param client the service client * @param requestOptions the options for this request */ - public EntityWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EntityWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, Entity.class); + } + + public void post(final Entity newEntity, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public Entity post(final Entity newEntity, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newEntity; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public Entity get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final Entity sourceEntity, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEntity); + } + + public Entity patch(final Entity sourceEntity) throws ClientException { + return send(HttpMethod.PATCH, sourceEntity); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEntityWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IEntityWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEntityWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EntityWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequestBuilder.java index 23e3e9a8dcf..8f214adff24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EntityWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEntityWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Entity With Reference Request Builder. */ -public class EntityWithReferenceRequestBuilder extends BaseEntityWithReferenceRequestBuilder implements IEntityWithReferenceRequestBuilder { +public class EntityWithReferenceRequestBuilder extends BaseRequestBuilder implements IEntityWithReferenceRequestBuilder { /** * The request builder for the Entity @@ -25,4 +33,28 @@ public class EntityWithReferenceRequestBuilder extends BaseEntityWithReferenceRe public EntityWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEntityWithReferenceRequest instance + */ + public IEntityWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEntityWithReferenceRequest instance + */ + public IEntityWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new EntityWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEntityReferenceRequestBuilder reference(){ + return new EntityReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequest.java index c6ee3a01185..164c5d89d67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EventAcceptBody; +import com.microsoft.graph.requests.extensions.IEventAcceptRequest; +import com.microsoft.graph.requests.extensions.EventAcceptRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventAcceptRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Accept Request. */ -public class EventAcceptRequest extends BaseEventAcceptRequest implements IEventAcceptRequest { +public class EventAcceptRequest extends BaseRequest implements IEventAcceptRequest { + protected final EventAcceptBody body; /** * The request for this EventAccept @@ -23,6 +31,49 @@ public class EventAcceptRequest extends BaseEventAcceptRequest implements IEvent * @param requestOptions the options for this request */ public EventAcceptRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new EventAcceptBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventAcceptRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EventAcceptRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEventAcceptRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (EventAcceptRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventAcceptRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EventAcceptRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequestBuilder.java index 136e04bf024..97b1966a925 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventAcceptRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventAcceptRequest; +import com.microsoft.graph.requests.extensions.EventAcceptRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventAcceptRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Accept Request Builder. */ -public class EventAcceptRequestBuilder extends BaseEventAcceptRequestBuilder implements IEventAcceptRequestBuilder { +public class EventAcceptRequestBuilder extends BaseActionRequestBuilder implements IEventAcceptRequestBuilder { /** * The request builder for this EventAccept @@ -25,6 +30,41 @@ public class EventAcceptRequestBuilder extends BaseEventAcceptRequestBuilder imp * @param sendResponse the sendResponse */ public EventAcceptRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final Boolean sendResponse) { - super(requestUrl, client, requestOptions, comment, sendResponse); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + bodyParams.put("sendResponse", sendResponse); + } + + /** + * Creates the IEventAcceptRequest + * + * @return the IEventAcceptRequest instance + */ + public IEventAcceptRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IEventAcceptRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IEventAcceptRequest instance + */ + public IEventAcceptRequest buildRequest(final java.util.List requestOptions) { + EventAcceptRequest request = new EventAcceptRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + if (hasParameter("sendResponse")) { + request.body.sendResponse = getParameter("sendResponse"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionPage.java index c56ae0bf26e..acad41a7dd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseEventCollectionPage; -import com.microsoft.graph.requests.generated.BaseEventCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Collection Page. */ -public class EventCollectionPage extends BaseEventCollectionPage implements IEventCollectionPage { +public class EventCollectionPage extends BaseCollectionPage implements IEventCollectionPage { /** - * A collection page for User. + * A collection page for Event * - * @param response the serialized BaseEventCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized EventCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public EventCollectionPage(final BaseEventCollectionResponse response, final IEventCollectionRequestBuilder builder) { - super(response, builder); + public EventCollectionPage(final EventCollectionResponse response, final IEventCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequest.java index d683e8cd987..639c38f4ad7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Collection Request. */ -public class EventCollectionRequest extends BaseEventCollectionRequest implements IEventCollectionRequest { +public class EventCollectionRequest extends BaseCollectionRequest implements IEventCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of Event * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public EventCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public EventCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EventCollectionResponse.class, IEventCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEventCollectionPage get() throws ClientException { + final EventCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Event newEvent, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new EventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEvent, callback); + } + + public Event post(final Event newEvent) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newEvent); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (EventCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (EventCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEventCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (EventCollectionRequest)this; + } + + public IEventCollectionPage buildFromResponse(final EventCollectionResponse response) { + final IEventCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new EventCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final EventCollectionPage page = new EventCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequestBuilder.java index 2721269a636..df45a7dc41c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Collection Request Builder. */ -public class EventCollectionRequestBuilder extends BaseEventCollectionRequestBuilder implements IEventCollectionRequestBuilder { +public class EventCollectionRequestBuilder extends BaseRequestBuilder implements IEventCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,26 @@ public class EventCollectionRequestBuilder extends BaseEventCollectionRequestBui public EventCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEventCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEventCollectionRequest buildRequest(final java.util.List requestOptions) { + return new EventCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IEventRequestBuilder byId(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IEventDeltaCollectionRequestBuilder delta() { + return new EventDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IEventDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new EventDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionResponse.java new file mode 100644 index 00000000000..72d8402ee81 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Event; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Event Collection Response. + */ +public class EventCollectionResponse implements IJsonBackedObject { + + /** + * The list of Event within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequest.java index 189a5505da9..a420171ad9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EventDeclineBody; +import com.microsoft.graph.requests.extensions.IEventDeclineRequest; +import com.microsoft.graph.requests.extensions.EventDeclineRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventDeclineRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Decline Request. */ -public class EventDeclineRequest extends BaseEventDeclineRequest implements IEventDeclineRequest { +public class EventDeclineRequest extends BaseRequest implements IEventDeclineRequest { + protected final EventDeclineBody body; /** * The request for this EventDecline @@ -23,6 +31,49 @@ public class EventDeclineRequest extends BaseEventDeclineRequest implements IEve * @param requestOptions the options for this request */ public EventDeclineRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new EventDeclineBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventDeclineRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EventDeclineRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEventDeclineRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (EventDeclineRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventDeclineRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EventDeclineRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequestBuilder.java index 791867d5315..cc8b81a3731 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDeclineRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDeclineRequest; +import com.microsoft.graph.requests.extensions.EventDeclineRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventDeclineRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Decline Request Builder. */ -public class EventDeclineRequestBuilder extends BaseEventDeclineRequestBuilder implements IEventDeclineRequestBuilder { +public class EventDeclineRequestBuilder extends BaseActionRequestBuilder implements IEventDeclineRequestBuilder { /** * The request builder for this EventDecline @@ -25,6 +30,41 @@ public class EventDeclineRequestBuilder extends BaseEventDeclineRequestBuilder i * @param sendResponse the sendResponse */ public EventDeclineRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final Boolean sendResponse) { - super(requestUrl, client, requestOptions, comment, sendResponse); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + bodyParams.put("sendResponse", sendResponse); + } + + /** + * Creates the IEventDeclineRequest + * + * @return the IEventDeclineRequest instance + */ + public IEventDeclineRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IEventDeclineRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IEventDeclineRequest instance + */ + public IEventDeclineRequest buildRequest(final java.util.List requestOptions) { + EventDeclineRequest request = new EventDeclineRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + if (hasParameter("sendResponse")) { + request.body.sendResponse = getParameter("sendResponse"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionPage.java index 9c6c9246c72..468454561ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseEventDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseEventDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Delta Collection Page. */ -public class EventDeltaCollectionPage extends BaseEventDeltaCollectionPage implements IEventDeltaCollectionPage { +public class EventDeltaCollectionPage extends BaseCollectionPage implements IEventDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for Event. + * A collection page for EventDelta. + * + * @param response The serialized EventDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public EventDeltaCollectionPage(final EventDeltaCollectionResponse response, final IEventDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseEventDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public EventDeltaCollectionPage(final BaseEventDeltaCollectionResponse response, final IEventDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequest.java index f610f899a38..78c9cff763f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Delta Collection Request. */ -public class EventDeltaCollectionRequest extends BaseEventDeltaCollectionRequest implements IEventDeltaCollectionRequest { +public class EventDeltaCollectionRequest extends BaseCollectionRequest implements IEventDeltaCollectionRequest { + /** - * The request for this collection of Event + * The request for this EventDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public EventDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, EventDeltaCollectionResponse.class, IEventDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IEventDeltaCollectionPage get() throws ClientException { + final EventDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IEventDeltaCollectionPage buildFromResponse(final EventDeltaCollectionResponse response) { + final IEventDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new EventDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IEventDeltaCollectionPage page = new EventDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IEventDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEventDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IEventDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IEventDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequestBuilder.java index d92d48d468e..5faf28c678e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Delta Collection Request Builder. */ -public class EventDeltaCollectionRequestBuilder extends BaseEventDeltaCollectionRequestBuilder implements IEventDeltaCollectionRequestBuilder { +public class EventDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IEventDeltaCollectionRequestBuilder { /** * The request builder for this collection of Event @@ -25,4 +32,22 @@ public class EventDeltaCollectionRequestBuilder extends BaseEventDeltaCollection public EventDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IEventDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IEventDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + EventDeltaCollectionRequest request = new EventDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionResponse.java new file mode 100644 index 00000000000..52028532ebb --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Event Delta Collection Response. + */ +public class EventDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequest.java index 02bc04e455e..b3ffbed1d6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; +import com.microsoft.graph.requests.extensions.EventDismissReminderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventDismissReminderRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Dismiss Reminder Request. */ -public class EventDismissReminderRequest extends BaseEventDismissReminderRequest implements IEventDismissReminderRequest { +public class EventDismissReminderRequest extends BaseRequest implements IEventDismissReminderRequest { /** * The request for this EventDismissReminder @@ -23,6 +30,35 @@ public class EventDismissReminderRequest extends BaseEventDismissReminderRequest * @param requestOptions the options for this request */ public EventDismissReminderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the EventDismissReminder + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the EventDismissReminder + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequestBuilder.java index 09d5b603a62..dbb39ddbfed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventDismissReminderRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; +import com.microsoft.graph.requests.extensions.EventDismissReminderRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventDismissReminderRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Dismiss Reminder Request Builder. */ -public class EventDismissReminderRequestBuilder extends BaseEventDismissReminderRequestBuilder implements IEventDismissReminderRequestBuilder { +public class EventDismissReminderRequestBuilder extends BaseActionRequestBuilder implements IEventDismissReminderRequestBuilder { /** * The request builder for this EventDismissReminder @@ -25,4 +30,29 @@ public class EventDismissReminderRequestBuilder extends BaseEventDismissReminder public EventDismissReminderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IEventDismissReminderRequest + * + * @return the IEventDismissReminderRequest instance + */ + public IEventDismissReminderRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IEventDismissReminderRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IEventDismissReminderRequest instance + */ + public IEventDismissReminderRequest buildRequest(final java.util.List requestOptions) { + EventDismissReminderRequest request = new EventDismissReminderRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequest.java index 1d879a6dc65..43102ee14bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventMessageRequest; +import com.microsoft.graph.requests.extensions.EventMessageRequest; +import com.microsoft.graph.models.extensions.EventMessage; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.EventMessage; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventMessageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Message Request. */ -public class EventMessageRequest extends BaseEventMessageRequest implements IEventMessageRequest { - +public class EventMessageRequest extends BaseRequest implements IEventMessageRequest { + /** * The request for the EventMessage * @@ -26,4 +32,107 @@ public class EventMessageRequest extends BaseEventMessageRequest implements IEve public EventMessageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, EventMessage.class); } + + /** + * Gets the EventMessage from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the EventMessage from the service + * + * @return the EventMessage from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EventMessage get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this EventMessage with a source + * + * @param sourceEventMessage the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final EventMessage sourceEventMessage, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEventMessage); + } + + /** + * Patches this EventMessage with a source + * + * @param sourceEventMessage the source object with updates + * @return the updated EventMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EventMessage patch(final EventMessage sourceEventMessage) throws ClientException { + return send(HttpMethod.PATCH, sourceEventMessage); + } + + /** + * Creates a EventMessage with a new object + * + * @param newEventMessage the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final EventMessage newEventMessage, final ICallback callback) { + send(HttpMethod.POST, callback, newEventMessage); + } + + /** + * Creates a EventMessage with a new object + * + * @param newEventMessage the new object to create + * @return the created EventMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EventMessage post(final EventMessage newEventMessage) throws ClientException { + return send(HttpMethod.POST, newEventMessage); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventMessageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EventMessageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventMessageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EventMessageRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestBuilder.java index c2425c48aca..dce2034d469 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventMessageRequest; +import com.microsoft.graph.requests.extensions.EventMessageRequest; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventMessageRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Message Request Builder. */ -public class EventMessageRequestBuilder extends BaseEventMessageRequestBuilder implements IEventMessageRequestBuilder { +public class EventMessageRequestBuilder extends BaseRequestBuilder implements IEventMessageRequestBuilder { /** * The request builder for the EventMessage @@ -25,4 +30,35 @@ public class EventMessageRequestBuilder extends BaseEventMessageRequestBuilder i public EventMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEventMessageRequest instance + */ + public IEventMessageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEventMessageRequest instance + */ + public IEventMessageRequest buildRequest(final java.util.List requestOptions) { + return new EventMessageRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Event + * + * @return the IEventRequestBuilder instance + */ + public IEventRequestBuilder event() { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("event"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventRequest.java index f93846c315c..901335b0874 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventRequest; +import com.microsoft.graph.requests.extensions.EventRequest; +import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Request. */ -public class EventRequest extends BaseEventRequest implements IEventRequest { - +public class EventRequest extends BaseRequest implements IEventRequest { + /** * The request for the Event * @@ -26,4 +32,107 @@ public class EventRequest extends BaseEventRequest implements IEventRequest { public EventRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Event.class); } + + /** + * Gets the Event from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Event from the service + * + * @return the Event from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Event get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Event with a source + * + * @param sourceEvent the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Event sourceEvent, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceEvent); + } + + /** + * Patches this Event with a source + * + * @param sourceEvent the source object with updates + * @return the updated Event + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Event patch(final Event sourceEvent) throws ClientException { + return send(HttpMethod.PATCH, sourceEvent); + } + + /** + * Creates a Event with a new object + * + * @param newEvent the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Event newEvent, final ICallback callback) { + send(HttpMethod.POST, callback, newEvent); + } + + /** + * Creates a Event with a new object + * + * @param newEvent the new object to create + * @return the created Event + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Event post(final Event newEvent) throws ClientException { + return send(HttpMethod.POST, newEvent); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EventRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EventRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventRequestBuilder.java index e8c0fd172a7..a05cd56b6fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventRequestBuilder.java @@ -3,17 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventRequest; +import com.microsoft.graph.requests.extensions.EventRequest; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.AttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.AttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventAcceptRequestBuilder; +import com.microsoft.graph.requests.extensions.EventAcceptRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventDeclineRequestBuilder; +import com.microsoft.graph.requests.extensions.EventDeclineRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequestBuilder; +import com.microsoft.graph.requests.extensions.EventTentativelyAcceptRequestBuilder; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequestBuilder; +import com.microsoft.graph.requests.extensions.EventSnoozeReminderRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventDismissReminderRequestBuilder; +import com.microsoft.graph.requests.extensions.EventDismissReminderRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Request Builder. */ -public class EventRequestBuilder extends BaseEventRequestBuilder implements IEventRequestBuilder { +public class EventRequestBuilder extends BaseRequestBuilder implements IEventRequestBuilder { /** * The request builder for the Event @@ -25,4 +61,90 @@ public class EventRequestBuilder extends BaseEventRequestBuilder implements IEve public EventRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IEventRequest instance + */ + public IEventRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IEventRequest instance + */ + public IEventRequest buildRequest(final java.util.List requestOptions) { + return new EventRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Calendar + * + * @return the ICalendarRequestBuilder instance + */ + public ICalendarRequestBuilder calendar() { + return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendar"), getClient(), null); + } + public IEventCollectionRequestBuilder instances() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("instances"), getClient(), null); + } + + public IEventRequestBuilder instances(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("instances") + "/" + id, getClient(), null); + } + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + public IAttachmentCollectionRequestBuilder attachments() { + return new AttachmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("attachments"), getClient(), null); + } + + public IAttachmentRequestBuilder attachments(final String id) { + return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("attachments") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } + + public IEventAcceptRequestBuilder accept(final String comment, final Boolean sendResponse) { + return new EventAcceptRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.accept"), getClient(), null, comment, sendResponse); + } + + public IEventDeclineRequestBuilder decline(final String comment, final Boolean sendResponse) { + return new EventDeclineRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.decline"), getClient(), null, comment, sendResponse); + } + + public IEventTentativelyAcceptRequestBuilder tentativelyAccept(final String comment, final Boolean sendResponse) { + return new EventTentativelyAcceptRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tentativelyAccept"), getClient(), null, comment, sendResponse); + } + + public IEventSnoozeReminderRequestBuilder snoozeReminder(final DateTimeTimeZone newReminderTime) { + return new EventSnoozeReminderRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.snoozeReminder"), getClient(), null, newReminderTime); + } + + public IEventDismissReminderRequestBuilder dismissReminder() { + return new EventDismissReminderRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dismissReminder"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequest.java index caf75c4ab27..1ff9c9f2b25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EventSnoozeReminderBody; +import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; +import com.microsoft.graph.requests.extensions.EventSnoozeReminderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventSnoozeReminderRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Snooze Reminder Request. */ -public class EventSnoozeReminderRequest extends BaseEventSnoozeReminderRequest implements IEventSnoozeReminderRequest { +public class EventSnoozeReminderRequest extends BaseRequest implements IEventSnoozeReminderRequest { + protected final EventSnoozeReminderBody body; /** * The request for this EventSnoozeReminder @@ -23,6 +31,49 @@ public class EventSnoozeReminderRequest extends BaseEventSnoozeReminderRequest i * @param requestOptions the options for this request */ public EventSnoozeReminderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new EventSnoozeReminderBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventSnoozeReminderRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EventSnoozeReminderRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEventSnoozeReminderRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (EventSnoozeReminderRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventSnoozeReminderRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EventSnoozeReminderRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequestBuilder.java index e8936a148ef..a05174439d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventSnoozeReminderRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; +import com.microsoft.graph.requests.extensions.EventSnoozeReminderRequest; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventSnoozeReminderRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Snooze Reminder Request Builder. */ -public class EventSnoozeReminderRequestBuilder extends BaseEventSnoozeReminderRequestBuilder implements IEventSnoozeReminderRequestBuilder { +public class EventSnoozeReminderRequestBuilder extends BaseActionRequestBuilder implements IEventSnoozeReminderRequestBuilder { /** * The request builder for this EventSnoozeReminder @@ -25,6 +30,36 @@ public class EventSnoozeReminderRequestBuilder extends BaseEventSnoozeReminderRe * @param newReminderTime the newReminderTime */ public EventSnoozeReminderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final DateTimeTimeZone newReminderTime) { - super(requestUrl, client, requestOptions, newReminderTime); + super(requestUrl, client, requestOptions); + bodyParams.put("newReminderTime", newReminderTime); + } + + /** + * Creates the IEventSnoozeReminderRequest + * + * @return the IEventSnoozeReminderRequest instance + */ + public IEventSnoozeReminderRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IEventSnoozeReminderRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IEventSnoozeReminderRequest instance + */ + public IEventSnoozeReminderRequest buildRequest(final java.util.List requestOptions) { + EventSnoozeReminderRequest request = new EventSnoozeReminderRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("newReminderTime")) { + request.body.newReminderTime = getParameter("newReminderTime"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequest.java index 44590772c1b..be16fd1bd88 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EventTentativelyAcceptBody; +import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; +import com.microsoft.graph.requests.extensions.EventTentativelyAcceptRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventTentativelyAcceptRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Tentatively Accept Request. */ -public class EventTentativelyAcceptRequest extends BaseEventTentativelyAcceptRequest implements IEventTentativelyAcceptRequest { +public class EventTentativelyAcceptRequest extends BaseRequest implements IEventTentativelyAcceptRequest { + protected final EventTentativelyAcceptBody body; /** * The request for this EventTentativelyAccept @@ -23,6 +31,49 @@ public class EventTentativelyAcceptRequest extends BaseEventTentativelyAcceptReq * @param requestOptions the options for this request */ public EventTentativelyAcceptRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new EventTentativelyAcceptBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IEventTentativelyAcceptRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (EventTentativelyAcceptRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IEventTentativelyAcceptRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (EventTentativelyAcceptRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IEventTentativelyAcceptRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (EventTentativelyAcceptRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequestBuilder.java index 7106319f027..7ed95378360 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventTentativelyAcceptRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; +import com.microsoft.graph.requests.extensions.EventTentativelyAcceptRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseEventTentativelyAcceptRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Event Tentatively Accept Request Builder. */ -public class EventTentativelyAcceptRequestBuilder extends BaseEventTentativelyAcceptRequestBuilder implements IEventTentativelyAcceptRequestBuilder { +public class EventTentativelyAcceptRequestBuilder extends BaseActionRequestBuilder implements IEventTentativelyAcceptRequestBuilder { /** * The request builder for this EventTentativelyAccept @@ -25,6 +30,41 @@ public class EventTentativelyAcceptRequestBuilder extends BaseEventTentativelyAc * @param sendResponse the sendResponse */ public EventTentativelyAcceptRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final Boolean sendResponse) { - super(requestUrl, client, requestOptions, comment, sendResponse); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + bodyParams.put("sendResponse", sendResponse); + } + + /** + * Creates the IEventTentativelyAcceptRequest + * + * @return the IEventTentativelyAcceptRequest instance + */ + public IEventTentativelyAcceptRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IEventTentativelyAcceptRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IEventTentativelyAcceptRequest instance + */ + public IEventTentativelyAcceptRequest buildRequest(final java.util.List requestOptions) { + EventTentativelyAcceptRequest request = new EventTentativelyAcceptRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + if (hasParameter("sendResponse")) { + request.body.sendResponse = getParameter("sendResponse"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionPage.java index ded689e0a6b..db2184726ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension Collection Page. */ -public class ExtensionCollectionPage extends BaseExtensionCollectionPage implements IExtensionCollectionPage { +public class ExtensionCollectionPage extends BaseCollectionPage implements IExtensionCollectionPage { /** - * A collection page for Post. + * A collection page for Extension * - * @param response the serialized BaseExtensionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ExtensionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ExtensionCollectionPage(final BaseExtensionCollectionResponse response, final IExtensionCollectionRequestBuilder builder) { - super(response, builder); + public ExtensionCollectionPage(final ExtensionCollectionResponse response, final IExtensionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequest.java index 040b4cd9af1..c740cff2a0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension Collection Request. */ -public class ExtensionCollectionRequest extends BaseExtensionCollectionRequest implements IExtensionCollectionRequest { +public class ExtensionCollectionRequest extends BaseCollectionRequest implements IExtensionCollectionRequest { /** - * The request for this collection of Post + * The request builder for this collection of Extension * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ExtensionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ExtensionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ExtensionCollectionResponse.class, IExtensionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IExtensionCollectionPage get() throws ClientException { + final ExtensionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Extension newExtension, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newExtension, callback); + } + + public Extension post(final Extension newExtension) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newExtension); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IExtensionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ExtensionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IExtensionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ExtensionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IExtensionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ExtensionCollectionRequest)this; + } + + public IExtensionCollectionPage buildFromResponse(final ExtensionCollectionResponse response) { + final IExtensionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ExtensionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ExtensionCollectionPage page = new ExtensionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequestBuilder.java index 20c0abc07cd..b88ae5c9955 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseExtensionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension Collection Request Builder. */ -public class ExtensionCollectionRequestBuilder extends BaseExtensionCollectionRequestBuilder implements IExtensionCollectionRequestBuilder { +public class ExtensionCollectionRequestBuilder extends BaseRequestBuilder implements IExtensionCollectionRequestBuilder { /** * The request builder for this collection of Post @@ -25,4 +33,18 @@ public class ExtensionCollectionRequestBuilder extends BaseExtensionCollectionRe public ExtensionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IExtensionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IExtensionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ExtensionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IExtensionRequestBuilder byId(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionResponse.java new file mode 100644 index 00000000000..ca4651c9b31 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Extension; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Extension Collection Response. + */ +public class ExtensionCollectionResponse implements IJsonBackedObject { + + /** + * The list of Extension within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequest.java index 940fe9a5cbf..3917f2ef78e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IExtensionRequest; +import com.microsoft.graph.requests.extensions.ExtensionRequest; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseExtensionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension Request. */ -public class ExtensionRequest extends BaseExtensionRequest implements IExtensionRequest { - +public class ExtensionRequest extends BaseRequest implements IExtensionRequest { + /** * The request for the Extension * @@ -41,4 +47,107 @@ public ExtensionRequest(final String requestUrl, public ExtensionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Extension.class); } + + /** + * Gets the Extension from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Extension from the service + * + * @return the Extension from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Extension get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Extension with a source + * + * @param sourceExtension the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Extension sourceExtension, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceExtension); + } + + /** + * Patches this Extension with a source + * + * @param sourceExtension the source object with updates + * @return the updated Extension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Extension patch(final Extension sourceExtension) throws ClientException { + return send(HttpMethod.PATCH, sourceExtension); + } + + /** + * Creates a Extension with a new object + * + * @param newExtension the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Extension newExtension, final ICallback callback) { + send(HttpMethod.POST, callback, newExtension); + } + + /** + * Creates a Extension with a new object + * + * @param newExtension the new object to create + * @return the created Extension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Extension post(final Extension newExtension) throws ClientException { + return send(HttpMethod.POST, newExtension); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IExtensionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ExtensionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IExtensionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ExtensionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequestBuilder.java index ae5184b202d..aef39107b32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IExtensionRequest; +import com.microsoft.graph.requests.extensions.ExtensionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseExtensionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Extension Request Builder. */ -public class ExtensionRequestBuilder extends BaseExtensionRequestBuilder implements IExtensionRequestBuilder { +public class ExtensionRequestBuilder extends BaseRequestBuilder implements IExtensionRequestBuilder { /** * The request builder for the Extension @@ -25,4 +28,26 @@ public class ExtensionRequestBuilder extends BaseExtensionRequestBuilder impleme public ExtensionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IExtensionRequest instance + */ + public IExtensionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IExtensionRequest instance + */ + public IExtensionRequest buildRequest(final java.util.List requestOptions) { + return new ExtensionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequest.java index c2403f896ce..8c5ca807703 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequest; +import com.microsoft.graph.requests.extensions.FieldValueSetRequest; +import com.microsoft.graph.models.extensions.FieldValueSet; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.FieldValueSet; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseFieldValueSetRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Field Value Set Request. */ -public class FieldValueSetRequest extends BaseFieldValueSetRequest implements IFieldValueSetRequest { - +public class FieldValueSetRequest extends BaseRequest implements IFieldValueSetRequest { + /** * The request for the FieldValueSet * @@ -26,4 +32,107 @@ public class FieldValueSetRequest extends BaseFieldValueSetRequest implements IF public FieldValueSetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, FieldValueSet.class); } + + /** + * Gets the FieldValueSet from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the FieldValueSet from the service + * + * @return the FieldValueSet from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FieldValueSet get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this FieldValueSet with a source + * + * @param sourceFieldValueSet the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final FieldValueSet sourceFieldValueSet, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceFieldValueSet); + } + + /** + * Patches this FieldValueSet with a source + * + * @param sourceFieldValueSet the source object with updates + * @return the updated FieldValueSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FieldValueSet patch(final FieldValueSet sourceFieldValueSet) throws ClientException { + return send(HttpMethod.PATCH, sourceFieldValueSet); + } + + /** + * Creates a FieldValueSet with a new object + * + * @param newFieldValueSet the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final FieldValueSet newFieldValueSet, final ICallback callback) { + send(HttpMethod.POST, callback, newFieldValueSet); + } + + /** + * Creates a FieldValueSet with a new object + * + * @param newFieldValueSet the new object to create + * @return the created FieldValueSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FieldValueSet post(final FieldValueSet newFieldValueSet) throws ClientException { + return send(HttpMethod.POST, newFieldValueSet); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IFieldValueSetRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (FieldValueSetRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IFieldValueSetRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (FieldValueSetRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequestBuilder.java index e093041a337..2380ae1aea1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequest; +import com.microsoft.graph.requests.extensions.FieldValueSetRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseFieldValueSetRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Field Value Set Request Builder. */ -public class FieldValueSetRequestBuilder extends BaseFieldValueSetRequestBuilder implements IFieldValueSetRequestBuilder { +public class FieldValueSetRequestBuilder extends BaseRequestBuilder implements IFieldValueSetRequestBuilder { /** * The request builder for the FieldValueSet @@ -25,4 +28,26 @@ public class FieldValueSetRequestBuilder extends BaseFieldValueSetRequestBuilder public FieldValueSetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IFieldValueSetRequest instance + */ + public IFieldValueSetRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IFieldValueSetRequest instance + */ + public IFieldValueSetRequest buildRequest(final java.util.List requestOptions) { + return new FieldValueSetRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequest.java index 2996a48dadd..8c7b54c7e24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IFileAttachmentRequest; +import com.microsoft.graph.requests.extensions.FileAttachmentRequest; +import com.microsoft.graph.models.extensions.FileAttachment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.FileAttachment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseFileAttachmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File Attachment Request. */ -public class FileAttachmentRequest extends BaseFileAttachmentRequest implements IFileAttachmentRequest { - +public class FileAttachmentRequest extends BaseRequest implements IFileAttachmentRequest { + /** * The request for the FileAttachment * @@ -26,4 +32,107 @@ public class FileAttachmentRequest extends BaseFileAttachmentRequest implements public FileAttachmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, FileAttachment.class); } + + /** + * Gets the FileAttachment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the FileAttachment from the service + * + * @return the FileAttachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FileAttachment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this FileAttachment with a source + * + * @param sourceFileAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final FileAttachment sourceFileAttachment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceFileAttachment); + } + + /** + * Patches this FileAttachment with a source + * + * @param sourceFileAttachment the source object with updates + * @return the updated FileAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FileAttachment patch(final FileAttachment sourceFileAttachment) throws ClientException { + return send(HttpMethod.PATCH, sourceFileAttachment); + } + + /** + * Creates a FileAttachment with a new object + * + * @param newFileAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final FileAttachment newFileAttachment, final ICallback callback) { + send(HttpMethod.POST, callback, newFileAttachment); + } + + /** + * Creates a FileAttachment with a new object + * + * @param newFileAttachment the new object to create + * @return the created FileAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FileAttachment post(final FileAttachment newFileAttachment) throws ClientException { + return send(HttpMethod.POST, newFileAttachment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IFileAttachmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (FileAttachmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IFileAttachmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (FileAttachmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequestBuilder.java index 116f6a68b15..2367198f7ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IFileAttachmentRequest; +import com.microsoft.graph.requests.extensions.FileAttachmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseFileAttachmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the File Attachment Request Builder. */ -public class FileAttachmentRequestBuilder extends BaseFileAttachmentRequestBuilder implements IFileAttachmentRequestBuilder { +public class FileAttachmentRequestBuilder extends BaseRequestBuilder implements IFileAttachmentRequestBuilder { /** * The request builder for the FileAttachment @@ -25,4 +28,26 @@ public class FileAttachmentRequestBuilder extends BaseFileAttachmentRequestBuild public FileAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IFileAttachmentRequest instance + */ + public IFileAttachmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IFileAttachmentRequest instance + */ + public IFileAttachmentRequest buildRequest(final java.util.List requestOptions) { + return new FileAttachmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GraphServiceClient.java b/src/main/java/com/microsoft/graph/requests/extensions/GraphServiceClient.java index b717e5f75a7..ff54a4eaafc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GraphServiceClient.java @@ -4,22 +4,26 @@ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.microsoft.graph.authentication.*; +import com.microsoft.graph.logger.*; import com.google.gson.JsonObject; -import com.microsoft.graph.authentication.IAuthenticationProvider; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.DefaultClientConfig; -import com.microsoft.graph.core.IClientConfig; -import com.microsoft.graph.http.IHttpProvider; -import com.microsoft.graph.logger.ILogger; -import com.microsoft.graph.models.extensions.IGraphServiceClient; -import com.microsoft.graph.requests.generated.BaseGraphServiceClient; -import com.microsoft.graph.serializer.ISerializer; - -// This file is available for extending, afterwards please submit a pull request. + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** - * The class for the Graph Service Client + * The class for the Graph Service Client. */ public class GraphServiceClient extends BaseGraphServiceClient implements IGraphServiceClient { @@ -29,7 +33,7 @@ public class GraphServiceClient extends BaseGraphServiceClient implements IGraph protected GraphServiceClient() { } - /** + /** * Send a custom request to Graph * * @param url @@ -72,7 +76,7 @@ public static IGraphServiceClient fromConfig(final IClientConfig config) { return client; } - public static Builder builder() { + public static Builder builder() { return new Builder(); } @@ -94,8 +98,8 @@ public Builder2 authenticationProvider(IAuthenticationProvider authenticationPro return new Builder2(authenticationProvider); } } - - /** + + /** * The builder for this GraphServiceClient */ public static final class Builder2 { diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequest.java index e1fc0d86954..4fc78f79d57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; +import com.microsoft.graph.requests.extensions.GroupAddFavoriteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupAddFavoriteRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Add Favorite Request. */ -public class GroupAddFavoriteRequest extends BaseGroupAddFavoriteRequest implements IGroupAddFavoriteRequest { +public class GroupAddFavoriteRequest extends BaseRequest implements IGroupAddFavoriteRequest { /** * The request for this GroupAddFavorite @@ -23,6 +30,35 @@ public class GroupAddFavoriteRequest extends BaseGroupAddFavoriteRequest impleme * @param requestOptions the options for this request */ public GroupAddFavoriteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the GroupAddFavorite + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the GroupAddFavorite + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequestBuilder.java index e46c3300fa8..2f455b2e337 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupAddFavoriteRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; +import com.microsoft.graph.requests.extensions.GroupAddFavoriteRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupAddFavoriteRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Add Favorite Request Builder. */ -public class GroupAddFavoriteRequestBuilder extends BaseGroupAddFavoriteRequestBuilder implements IGroupAddFavoriteRequestBuilder { +public class GroupAddFavoriteRequestBuilder extends BaseActionRequestBuilder implements IGroupAddFavoriteRequestBuilder { /** * The request builder for this GroupAddFavorite @@ -25,4 +30,29 @@ public class GroupAddFavoriteRequestBuilder extends BaseGroupAddFavoriteRequestB public GroupAddFavoriteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IGroupAddFavoriteRequest + * + * @return the IGroupAddFavoriteRequest instance + */ + public IGroupAddFavoriteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupAddFavoriteRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupAddFavoriteRequest instance + */ + public IGroupAddFavoriteRequest buildRequest(final java.util.List requestOptions) { + GroupAddFavoriteRequest request = new GroupAddFavoriteRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionPage.java index 17f9f6a0448..de27f99308a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Group; +import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Collection Page. */ -public class GroupCollectionPage extends BaseGroupCollectionPage implements IGroupCollectionPage { +public class GroupCollectionPage extends BaseCollectionPage implements IGroupCollectionPage { /** - * A collection page for Group. + * A collection page for Group * - * @param response the serialized BaseGroupCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized GroupCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public GroupCollectionPage(final BaseGroupCollectionResponse response, final IGroupCollectionRequestBuilder builder) { - super(response, builder); + public GroupCollectionPage(final GroupCollectionResponse response, final IGroupCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequest.java index 0d564adc3ab..290c0098330 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Collection Request. */ -public class GroupCollectionRequest extends BaseGroupCollectionRequest implements IGroupCollectionRequest { +public class GroupCollectionRequest extends BaseCollectionRequest implements IGroupCollectionRequest { /** - * The request for this collection of Group + * The request builder for this collection of Group * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public GroupCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public GroupCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, GroupCollectionResponse.class, IGroupCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IGroupCollectionPage get() throws ClientException { + final GroupCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Group newGroup, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new GroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroup, callback); + } + + public Group post(final Group newGroup) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new GroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroup); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (GroupCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (GroupCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (GroupCollectionRequest)this; + } + + public IGroupCollectionPage buildFromResponse(final GroupCollectionResponse response) { + final IGroupCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new GroupCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final GroupCollectionPage page = new GroupCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequestBuilder.java index 8a078512a19..68a219680e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Collection Request Builder. */ -public class GroupCollectionRequestBuilder extends BaseGroupCollectionRequestBuilder implements IGroupCollectionRequestBuilder { +public class GroupCollectionRequestBuilder extends BaseRequestBuilder implements IGroupCollectionRequestBuilder { /** * The request builder for this collection of Group @@ -25,4 +33,26 @@ public class GroupCollectionRequestBuilder extends BaseGroupCollectionRequestBui public GroupCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IGroupCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IGroupCollectionRequest buildRequest(final java.util.List requestOptions) { + return new GroupCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IGroupRequestBuilder byId(final String id) { + return new GroupRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IGroupDeltaCollectionRequestBuilder delta() { + return new GroupDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IGroupDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new GroupDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionResponse.java new file mode 100644 index 00000000000..dc89aec7b64 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Group; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Group Collection Response. + */ +public class GroupCollectionResponse implements IJsonBackedObject { + + /** + * The list of Group within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionPage.java index afab12584f0..ec1f2bb195a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseGroupDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Delta Collection Page. */ -public class GroupDeltaCollectionPage extends BaseGroupDeltaCollectionPage implements IGroupDeltaCollectionPage { +public class GroupDeltaCollectionPage extends BaseCollectionPage implements IGroupDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for Group. + * A collection page for GroupDelta. + * + * @param response The serialized GroupDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public GroupDeltaCollectionPage(final GroupDeltaCollectionResponse response, final IGroupDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseGroupDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public GroupDeltaCollectionPage(final BaseGroupDeltaCollectionResponse response, final IGroupDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequest.java index 1de2f8cfeac..5c6ede0a74c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Delta Collection Request. */ -public class GroupDeltaCollectionRequest extends BaseGroupDeltaCollectionRequest implements IGroupDeltaCollectionRequest { +public class GroupDeltaCollectionRequest extends BaseCollectionRequest implements IGroupDeltaCollectionRequest { + /** - * The request for this collection of Group + * The request for this GroupDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public GroupDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, GroupDeltaCollectionResponse.class, IGroupDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IGroupDeltaCollectionPage get() throws ClientException { + final GroupDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IGroupDeltaCollectionPage buildFromResponse(final GroupDeltaCollectionResponse response) { + final IGroupDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new GroupDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IGroupDeltaCollectionPage page = new GroupDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IGroupDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IGroupDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IGroupDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequestBuilder.java index 94d2e39e8ce..e6a91be5543 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Delta Collection Request Builder. */ -public class GroupDeltaCollectionRequestBuilder extends BaseGroupDeltaCollectionRequestBuilder implements IGroupDeltaCollectionRequestBuilder { +public class GroupDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IGroupDeltaCollectionRequestBuilder { /** * The request builder for this collection of Group @@ -25,4 +32,22 @@ public class GroupDeltaCollectionRequestBuilder extends BaseGroupDeltaCollection public GroupDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IGroupDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IGroupDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + GroupDeltaCollectionRequest request = new GroupDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionResponse.java new file mode 100644 index 00000000000..bae1ed2fbcc --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Group Delta Collection Response. + */ +public class GroupDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequest.java index 3ab7b1df076..f062413139b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicyAddGroupBody; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyAddGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyAddGroupRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Add Group Request. */ -public class GroupLifecyclePolicyAddGroupRequest extends BaseGroupLifecyclePolicyAddGroupRequest implements IGroupLifecyclePolicyAddGroupRequest { +public class GroupLifecyclePolicyAddGroupRequest extends BaseRequest implements IGroupLifecyclePolicyAddGroupRequest { + protected final GroupLifecyclePolicyAddGroupBody body; /** * The request for this GroupLifecyclePolicyAddGroup @@ -23,6 +31,49 @@ public class GroupLifecyclePolicyAddGroupRequest extends BaseGroupLifecyclePolic * @param requestOptions the options for this request */ public GroupLifecyclePolicyAddGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Boolean.class); + body = new GroupLifecyclePolicyAddGroupBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Boolean post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupLifecyclePolicyAddGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupLifecyclePolicyAddGroupRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupLifecyclePolicyAddGroupRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (GroupLifecyclePolicyAddGroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupLifecyclePolicyAddGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupLifecyclePolicyAddGroupRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequestBuilder.java index 847c07e1663..5bff6e0d542 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyAddGroupRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyAddGroupRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyAddGroupRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Add Group Request Builder. */ -public class GroupLifecyclePolicyAddGroupRequestBuilder extends BaseGroupLifecyclePolicyAddGroupRequestBuilder implements IGroupLifecyclePolicyAddGroupRequestBuilder { +public class GroupLifecyclePolicyAddGroupRequestBuilder extends BaseActionRequestBuilder implements IGroupLifecyclePolicyAddGroupRequestBuilder { /** * The request builder for this GroupLifecyclePolicyAddGroup @@ -24,6 +29,36 @@ public class GroupLifecyclePolicyAddGroupRequestBuilder extends BaseGroupLifecyc * @param groupId the groupId */ public GroupLifecyclePolicyAddGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String groupId) { - super(requestUrl, client, requestOptions, groupId); + super(requestUrl, client, requestOptions); + bodyParams.put("groupId", groupId); + } + + /** + * Creates the IGroupLifecyclePolicyAddGroupRequest + * + * @return the IGroupLifecyclePolicyAddGroupRequest instance + */ + public IGroupLifecyclePolicyAddGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupLifecyclePolicyAddGroupRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupLifecyclePolicyAddGroupRequest instance + */ + public IGroupLifecyclePolicyAddGroupRequest buildRequest(final java.util.List requestOptions) { + GroupLifecyclePolicyAddGroupRequest request = new GroupLifecyclePolicyAddGroupRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("groupId")) { + request.body.groupId = getParameter("groupId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionPage.java index b66f606136c..ec4b9ac3170 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Collection Page. */ -public class GroupLifecyclePolicyCollectionPage extends BaseGroupLifecyclePolicyCollectionPage implements IGroupLifecyclePolicyCollectionPage { +public class GroupLifecyclePolicyCollectionPage extends BaseCollectionPage implements IGroupLifecyclePolicyCollectionPage { /** - * A collection page for GroupLifecyclePolicy. + * A collection page for GroupLifecyclePolicy * - * @param response the serialized BaseGroupLifecyclePolicyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized GroupLifecyclePolicyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public GroupLifecyclePolicyCollectionPage(final BaseGroupLifecyclePolicyCollectionResponse response, final IGroupLifecyclePolicyCollectionRequestBuilder builder) { - super(response, builder); + public GroupLifecyclePolicyCollectionPage(final GroupLifecyclePolicyCollectionResponse response, final IGroupLifecyclePolicyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequest.java index 3284bf2304a..aff86ce73fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Collection Request. */ -public class GroupLifecyclePolicyCollectionRequest extends BaseGroupLifecyclePolicyCollectionRequest implements IGroupLifecyclePolicyCollectionRequest { +public class GroupLifecyclePolicyCollectionRequest extends BaseCollectionRequest implements IGroupLifecyclePolicyCollectionRequest { /** - * The request for this collection of GroupLifecyclePolicy + * The request builder for this collection of GroupLifecyclePolicy * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public GroupLifecyclePolicyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public GroupLifecyclePolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, GroupLifecyclePolicyCollectionResponse.class, IGroupLifecyclePolicyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IGroupLifecyclePolicyCollectionPage get() throws ClientException { + final GroupLifecyclePolicyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new GroupLifecyclePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroupLifecyclePolicy, callback); + } + + public GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new GroupLifecyclePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroupLifecyclePolicy); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupLifecyclePolicyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (GroupLifecyclePolicyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupLifecyclePolicyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (GroupLifecyclePolicyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupLifecyclePolicyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (GroupLifecyclePolicyCollectionRequest)this; + } + + public IGroupLifecyclePolicyCollectionPage buildFromResponse(final GroupLifecyclePolicyCollectionResponse response) { + final IGroupLifecyclePolicyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new GroupLifecyclePolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final GroupLifecyclePolicyCollectionPage page = new GroupLifecyclePolicyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequestBuilder.java index 2167530a224..b5d8ef0b824 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Collection Request Builder. */ -public class GroupLifecyclePolicyCollectionRequestBuilder extends BaseGroupLifecyclePolicyCollectionRequestBuilder implements IGroupLifecyclePolicyCollectionRequestBuilder { +public class GroupLifecyclePolicyCollectionRequestBuilder extends BaseRequestBuilder implements IGroupLifecyclePolicyCollectionRequestBuilder { /** * The request builder for this collection of GroupLifecyclePolicy @@ -25,4 +33,18 @@ public class GroupLifecyclePolicyCollectionRequestBuilder extends BaseGroupLifec public GroupLifecyclePolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IGroupLifecyclePolicyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IGroupLifecyclePolicyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new GroupLifecyclePolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IGroupLifecyclePolicyRequestBuilder byId(final String id) { + return new GroupLifecyclePolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionResponse.java new file mode 100644 index 00000000000..c4dd77d8659 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Group Lifecycle Policy Collection Response. + */ +public class GroupLifecyclePolicyCollectionResponse implements IJsonBackedObject { + + /** + * The list of GroupLifecyclePolicy within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequest.java index ce9c79acc46..bd91c738d2f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicyRemoveGroupBody; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRemoveGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyRemoveGroupRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Remove Group Request. */ -public class GroupLifecyclePolicyRemoveGroupRequest extends BaseGroupLifecyclePolicyRemoveGroupRequest implements IGroupLifecyclePolicyRemoveGroupRequest { +public class GroupLifecyclePolicyRemoveGroupRequest extends BaseRequest implements IGroupLifecyclePolicyRemoveGroupRequest { + protected final GroupLifecyclePolicyRemoveGroupBody body; /** * The request for this GroupLifecyclePolicyRemoveGroup @@ -23,6 +31,49 @@ public class GroupLifecyclePolicyRemoveGroupRequest extends BaseGroupLifecyclePo * @param requestOptions the options for this request */ public GroupLifecyclePolicyRemoveGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Boolean.class); + body = new GroupLifecyclePolicyRemoveGroupBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Boolean post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupLifecyclePolicyRemoveGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupLifecyclePolicyRemoveGroupRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupLifecyclePolicyRemoveGroupRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (GroupLifecyclePolicyRemoveGroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupLifecyclePolicyRemoveGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupLifecyclePolicyRemoveGroupRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequestBuilder.java index 72a4d36b9b2..9f3f0c889f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRemoveGroupRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRemoveGroupRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyRemoveGroupRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Remove Group Request Builder. */ -public class GroupLifecyclePolicyRemoveGroupRequestBuilder extends BaseGroupLifecyclePolicyRemoveGroupRequestBuilder implements IGroupLifecyclePolicyRemoveGroupRequestBuilder { +public class GroupLifecyclePolicyRemoveGroupRequestBuilder extends BaseActionRequestBuilder implements IGroupLifecyclePolicyRemoveGroupRequestBuilder { /** * The request builder for this GroupLifecyclePolicyRemoveGroup @@ -24,6 +29,36 @@ public class GroupLifecyclePolicyRemoveGroupRequestBuilder extends BaseGroupLife * @param groupId the groupId */ public GroupLifecyclePolicyRemoveGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String groupId) { - super(requestUrl, client, requestOptions, groupId); + super(requestUrl, client, requestOptions); + bodyParams.put("groupId", groupId); + } + + /** + * Creates the IGroupLifecyclePolicyRemoveGroupRequest + * + * @return the IGroupLifecyclePolicyRemoveGroupRequest instance + */ + public IGroupLifecyclePolicyRemoveGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupLifecyclePolicyRemoveGroupRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupLifecyclePolicyRemoveGroupRequest instance + */ + public IGroupLifecyclePolicyRemoveGroupRequest buildRequest(final java.util.List requestOptions) { + GroupLifecyclePolicyRemoveGroupRequest request = new GroupLifecyclePolicyRemoveGroupRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("groupId")) { + request.body.groupId = getParameter("groupId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequest.java index 46f8e159843..5909835aab5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequest; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRequest; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Request. */ -public class GroupLifecyclePolicyRequest extends BaseGroupLifecyclePolicyRequest implements IGroupLifecyclePolicyRequest { - +public class GroupLifecyclePolicyRequest extends BaseRequest implements IGroupLifecyclePolicyRequest { + /** * The request for the GroupLifecyclePolicy * @@ -26,4 +32,107 @@ public class GroupLifecyclePolicyRequest extends BaseGroupLifecyclePolicyRequest public GroupLifecyclePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, GroupLifecyclePolicy.class); } + + /** + * Gets the GroupLifecyclePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the GroupLifecyclePolicy from the service + * + * @return the GroupLifecyclePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupLifecyclePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this GroupLifecyclePolicy with a source + * + * @param sourceGroupLifecyclePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceGroupLifecyclePolicy); + } + + /** + * Patches this GroupLifecyclePolicy with a source + * + * @param sourceGroupLifecyclePolicy the source object with updates + * @return the updated GroupLifecyclePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupLifecyclePolicy patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceGroupLifecyclePolicy); + } + + /** + * Creates a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newGroupLifecyclePolicy); + } + + /** + * Creates a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the new object to create + * @return the created GroupLifecyclePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException { + return send(HttpMethod.POST, newGroupLifecyclePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupLifecyclePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupLifecyclePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupLifecyclePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupLifecyclePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequestBuilder.java index 752ec665223..e582c29029f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequest; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRequest; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyAddGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRemoveGroupRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupLifecyclePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Lifecycle Policy Request Builder. */ -public class GroupLifecyclePolicyRequestBuilder extends BaseGroupLifecyclePolicyRequestBuilder implements IGroupLifecyclePolicyRequestBuilder { +public class GroupLifecyclePolicyRequestBuilder extends BaseRequestBuilder implements IGroupLifecyclePolicyRequestBuilder { /** * The request builder for the GroupLifecyclePolicy @@ -25,4 +32,34 @@ public class GroupLifecyclePolicyRequestBuilder extends BaseGroupLifecyclePolicy public GroupLifecyclePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IGroupLifecyclePolicyRequest instance + */ + public IGroupLifecyclePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IGroupLifecyclePolicyRequest instance + */ + public IGroupLifecyclePolicyRequest buildRequest(final java.util.List requestOptions) { + return new GroupLifecyclePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IGroupLifecyclePolicyAddGroupRequestBuilder addGroup(final String groupId) { + return new GroupLifecyclePolicyAddGroupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addGroup"), getClient(), null, groupId); + } + + public IGroupLifecyclePolicyRemoveGroupRequestBuilder removeGroup(final String groupId) { + return new GroupLifecyclePolicyRemoveGroupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.removeGroup"), getClient(), null, groupId); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequest.java index 78090e8a29b..161a0cba641 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Reference Request. */ -public class GroupReferenceRequest extends BaseGroupReferenceRequest implements IGroupReferenceRequest { +public class GroupReferenceRequest extends BaseRequest implements IGroupReferenceRequest { /** * The request for the Group @@ -22,7 +30,57 @@ public class GroupReferenceRequest extends BaseGroupReferenceRequest implements * @param client the service client * @param requestOptions the options for this request */ - public GroupReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public GroupReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, Group.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public Group delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupReferenceRequest)this; + } + /** + * Puts the Group + * + * @param srcGroup the Group reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Group srcGroup, final ICallback callback) { + send(HttpMethod.PUT, callback, srcGroup); + } + + /** + * Puts the Group + * + * @param srcGroup the Group reference to PUT + * @return the Group + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Group put(Group srcGroup) throws ClientException { + return send(HttpMethod.PUT, srcGroup); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequestBuilder.java index 08696b0ba0d..a028941b1d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Reference Request Builder. */ -public class GroupReferenceRequestBuilder extends BaseGroupReferenceRequestBuilder implements IGroupReferenceRequestBuilder { +public class GroupReferenceRequestBuilder extends BaseRequestBuilder implements IGroupReferenceRequestBuilder { /** * The request builder for the Group @@ -25,4 +34,23 @@ public class GroupReferenceRequestBuilder extends BaseGroupReferenceRequestBuild public GroupReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IGroupReferenceRequest instance + */ + public IGroupReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IGroupReferenceRequest instance + */ + public IGroupReferenceRequest buildRequest(final java.util.List requestOptions) { + return new GroupReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequest.java index 360805baa7f..0df0d220ee0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; +import com.microsoft.graph.requests.extensions.GroupRemoveFavoriteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupRemoveFavoriteRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Remove Favorite Request. */ -public class GroupRemoveFavoriteRequest extends BaseGroupRemoveFavoriteRequest implements IGroupRemoveFavoriteRequest { +public class GroupRemoveFavoriteRequest extends BaseRequest implements IGroupRemoveFavoriteRequest { /** * The request for this GroupRemoveFavorite @@ -23,6 +30,35 @@ public class GroupRemoveFavoriteRequest extends BaseGroupRemoveFavoriteRequest i * @param requestOptions the options for this request */ public GroupRemoveFavoriteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the GroupRemoveFavorite + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the GroupRemoveFavorite + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequestBuilder.java index a3b08fdff9f..215d044a045 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRemoveFavoriteRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; +import com.microsoft.graph.requests.extensions.GroupRemoveFavoriteRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupRemoveFavoriteRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Remove Favorite Request Builder. */ -public class GroupRemoveFavoriteRequestBuilder extends BaseGroupRemoveFavoriteRequestBuilder implements IGroupRemoveFavoriteRequestBuilder { +public class GroupRemoveFavoriteRequestBuilder extends BaseActionRequestBuilder implements IGroupRemoveFavoriteRequestBuilder { /** * The request builder for this GroupRemoveFavorite @@ -25,4 +30,29 @@ public class GroupRemoveFavoriteRequestBuilder extends BaseGroupRemoveFavoriteRe public GroupRemoveFavoriteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IGroupRemoveFavoriteRequest + * + * @return the IGroupRemoveFavoriteRequest instance + */ + public IGroupRemoveFavoriteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupRemoveFavoriteRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupRemoveFavoriteRequest instance + */ + public IGroupRemoveFavoriteRequest buildRequest(final java.util.List requestOptions) { + GroupRemoveFavoriteRequest request = new GroupRemoveFavoriteRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequest.java index 9875c8310b4..82693d20d70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRenewRequest; +import com.microsoft.graph.requests.extensions.GroupRenewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupRenewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Renew Request. */ -public class GroupRenewRequest extends BaseGroupRenewRequest implements IGroupRenewRequest { +public class GroupRenewRequest extends BaseRequest implements IGroupRenewRequest { /** * The request for this GroupRenew @@ -23,6 +30,35 @@ public class GroupRenewRequest extends BaseGroupRenewRequest implements IGroupRe * @param requestOptions the options for this request */ public GroupRenewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the GroupRenew + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the GroupRenew + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequestBuilder.java index c36d42dbb15..ee2419d7551 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRenewRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRenewRequest; +import com.microsoft.graph.requests.extensions.GroupRenewRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupRenewRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Renew Request Builder. */ -public class GroupRenewRequestBuilder extends BaseGroupRenewRequestBuilder implements IGroupRenewRequestBuilder { +public class GroupRenewRequestBuilder extends BaseActionRequestBuilder implements IGroupRenewRequestBuilder { /** * The request builder for this GroupRenew @@ -25,4 +30,29 @@ public class GroupRenewRequestBuilder extends BaseGroupRenewRequestBuilder imple public GroupRenewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IGroupRenewRequest + * + * @return the IGroupRenewRequest instance + */ + public IGroupRenewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupRenewRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupRenewRequest instance + */ + public IGroupRenewRequest buildRequest(final java.util.List requestOptions) { + GroupRenewRequest request = new GroupRenewRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupRequest.java index d3da3438df4..d4fddbf778a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRequest; +import com.microsoft.graph.requests.extensions.GroupRequest; +import com.microsoft.graph.models.extensions.Group; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Group; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Request. */ -public class GroupRequest extends BaseGroupRequest implements IGroupRequest { - +public class GroupRequest extends BaseRequest implements IGroupRequest { + /** * The request for the Group * @@ -26,4 +32,107 @@ public class GroupRequest extends BaseGroupRequest implements IGroupRequest { public GroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Group.class); } + + /** + * Gets the Group from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Group from the service + * + * @return the Group from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Group get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Group with a source + * + * @param sourceGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Group sourceGroup, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceGroup); + } + + /** + * Patches this Group with a source + * + * @param sourceGroup the source object with updates + * @return the updated Group + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Group patch(final Group sourceGroup) throws ClientException { + return send(HttpMethod.PATCH, sourceGroup); + } + + /** + * Creates a Group with a new object + * + * @param newGroup the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Group newGroup, final ICallback callback) { + send(HttpMethod.POST, callback, newGroup); + } + + /** + * Creates a Group with a new object + * + * @param newGroup the new object to create + * @return the created Group + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Group post(final Group newGroup) throws ClientException { + return send(HttpMethod.POST, newGroup); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupRequestBuilder.java index 177360de249..59283c7edfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRequestBuilder.java @@ -3,17 +3,114 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRequest; +import com.microsoft.graph.requests.extensions.GroupRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupSettingCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupSettingCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupSettingRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupSettingRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationThreadRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationRequestBuilder; +import com.microsoft.graph.requests.extensions.ConversationRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SiteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; +import com.microsoft.graph.requests.extensions.SiteRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupSubscribeByMailRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupUnsubscribeByMailRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupAddFavoriteRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupRemoveFavoriteRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupResetUnseenCountRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRenewRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupRenewRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Request Builder. */ -public class GroupRequestBuilder extends BaseGroupRequestBuilder implements IGroupRequestBuilder { +public class GroupRequestBuilder extends BaseRequestBuilder implements IGroupRequestBuilder { /** * The request builder for the Group @@ -25,4 +122,232 @@ public class GroupRequestBuilder extends BaseGroupRequestBuilder implements IGro public GroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IGroupRequest instance + */ + public IGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IGroupRequest instance + */ + public IGroupRequest buildRequest(final java.util.List requestOptions) { + return new GroupRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDirectoryObjectCollectionWithReferencesRequestBuilder members() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder members(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMembers() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMembers"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder transitiveMembers(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMembers") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMemberOf() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMemberOf"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder transitiveMemberOf(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMemberOf") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for DirectoryObject + * + * @return the IDirectoryObjectWithReferenceRequestBuilder instance + */ + public IDirectoryObjectWithReferenceRequestBuilder createdOnBehalfOf() { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdOnBehalfOf"), getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder owners() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("owners"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder owners(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("owners") + "/" + id, getClient(), null); + } + public IGroupSettingCollectionRequestBuilder settings() { + return new GroupSettingCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null); + } + + public IGroupSettingRequestBuilder settings(final String id) { + return new GroupSettingRequestBuilder(getRequestUrlWithAdditionalSegment("settings") + "/" + id, getClient(), null); + } + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + public IConversationThreadCollectionRequestBuilder threads() { + return new ConversationThreadCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("threads"), getClient(), null); + } + + public IConversationThreadRequestBuilder threads(final String id) { + return new ConversationThreadRequestBuilder(getRequestUrlWithAdditionalSegment("threads") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Calendar + * + * @return the ICalendarRequestBuilder instance + */ + public ICalendarRequestBuilder calendar() { + return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendar"), getClient(), null); + } + public IEventCollectionRequestBuilder calendarView() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView"), getClient(), null); + } + + public IEventRequestBuilder calendarView(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView") + "/" + id, getClient(), null); + } + public IEventCollectionRequestBuilder events() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("events"), getClient(), null); + } + + public IEventRequestBuilder events(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("events") + "/" + id, getClient(), null); + } + public IConversationCollectionRequestBuilder conversations() { + return new ConversationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("conversations"), getClient(), null); + } + + public IConversationRequestBuilder conversations(final String id) { + return new ConversationRequestBuilder(getRequestUrlWithAdditionalSegment("conversations") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ProfilePhoto + * + * @return the IProfilePhotoRequestBuilder instance + */ + public IProfilePhotoRequestBuilder photo() { + return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photo"), getClient(), null); + } + public IProfilePhotoCollectionRequestBuilder photos() { + return new ProfilePhotoCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("photos"), getClient(), null); + } + + public IProfilePhotoRequestBuilder photos(final String id) { + return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photos") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionRequestBuilder acceptedSenders() { + return new DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("acceptedSenders"), getClient(), null); + } + + public IDirectoryObjectRequestBuilder acceptedSenders(final String id) { + return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("acceptedSenders") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionRequestBuilder rejectedSenders() { + return new DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("rejectedSenders"), getClient(), null); + } + + public IDirectoryObjectRequestBuilder rejectedSenders(final String id) { + return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("rejectedSenders") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + public IDriveRequestBuilder drive() { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); + } + public IDriveCollectionRequestBuilder drives() { + return new DriveCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("drives"), getClient(), null); + } + + public IDriveRequestBuilder drives(final String id) { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null); + } + public ISiteCollectionRequestBuilder sites() { + return new SiteCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sites"), getClient(), null); + } + + public ISiteRequestBuilder sites(final String id) { + return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment("sites") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for PlannerGroup + * + * @return the IPlannerGroupRequestBuilder instance + */ + public IPlannerGroupRequestBuilder planner() { + return new PlannerGroupRequestBuilder(getRequestUrlWithAdditionalSegment("planner"), getClient(), null); + } + + /** + * Gets the request builder for Onenote + * + * @return the IOnenoteRequestBuilder instance + */ + public IOnenoteRequestBuilder onenote() { + return new OnenoteRequestBuilder(getRequestUrlWithAdditionalSegment("onenote"), getClient(), null); + } + public IGroupLifecyclePolicyCollectionRequestBuilder groupLifecyclePolicies() { + return new GroupLifecyclePolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("groupLifecyclePolicies"), getClient(), null); + } + + public IGroupLifecyclePolicyRequestBuilder groupLifecyclePolicies(final String id) { + return new GroupLifecyclePolicyRequestBuilder(getRequestUrlWithAdditionalSegment("groupLifecyclePolicies") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Team + * + * @return the ITeamRequestBuilder instance + */ + public ITeamRequestBuilder team() { + return new TeamRequestBuilder(getRequestUrlWithAdditionalSegment("team"), getClient(), null); + } + + public IGroupSubscribeByMailRequestBuilder subscribeByMail() { + return new GroupSubscribeByMailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.subscribeByMail"), getClient(), null); + } + + public IGroupUnsubscribeByMailRequestBuilder unsubscribeByMail() { + return new GroupUnsubscribeByMailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unsubscribeByMail"), getClient(), null); + } + + public IGroupAddFavoriteRequestBuilder addFavorite() { + return new GroupAddFavoriteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addFavorite"), getClient(), null); + } + + public IGroupRemoveFavoriteRequestBuilder removeFavorite() { + return new GroupRemoveFavoriteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.removeFavorite"), getClient(), null); + } + + public IGroupResetUnseenCountRequestBuilder resetUnseenCount() { + return new GroupResetUnseenCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resetUnseenCount"), getClient(), null); + } + + public IGroupRenewRequestBuilder renew() { + return new GroupRenewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.renew"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequest.java index 2f1b7a4ae8a..e86c81ff719 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; +import com.microsoft.graph.requests.extensions.GroupResetUnseenCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupResetUnseenCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Reset Unseen Count Request. */ -public class GroupResetUnseenCountRequest extends BaseGroupResetUnseenCountRequest implements IGroupResetUnseenCountRequest { +public class GroupResetUnseenCountRequest extends BaseRequest implements IGroupResetUnseenCountRequest { /** * The request for this GroupResetUnseenCount @@ -23,6 +30,35 @@ public class GroupResetUnseenCountRequest extends BaseGroupResetUnseenCountReque * @param requestOptions the options for this request */ public GroupResetUnseenCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the GroupResetUnseenCount + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the GroupResetUnseenCount + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequestBuilder.java index 9aaa84ebbec..d9067a8844c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupResetUnseenCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; +import com.microsoft.graph.requests.extensions.GroupResetUnseenCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupResetUnseenCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Reset Unseen Count Request Builder. */ -public class GroupResetUnseenCountRequestBuilder extends BaseGroupResetUnseenCountRequestBuilder implements IGroupResetUnseenCountRequestBuilder { +public class GroupResetUnseenCountRequestBuilder extends BaseActionRequestBuilder implements IGroupResetUnseenCountRequestBuilder { /** * The request builder for this GroupResetUnseenCount @@ -25,4 +30,29 @@ public class GroupResetUnseenCountRequestBuilder extends BaseGroupResetUnseenCou public GroupResetUnseenCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IGroupResetUnseenCountRequest + * + * @return the IGroupResetUnseenCountRequest instance + */ + public IGroupResetUnseenCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupResetUnseenCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupResetUnseenCountRequest instance + */ + public IGroupResetUnseenCountRequest buildRequest(final java.util.List requestOptions) { + GroupResetUnseenCountRequest request = new GroupResetUnseenCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionPage.java index 5fe817c68f5..c7803e5d2f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupSetting; +import com.microsoft.graph.requests.extensions.IGroupSettingCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupSettingCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupSettingCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Collection Page. */ -public class GroupSettingCollectionPage extends BaseGroupSettingCollectionPage implements IGroupSettingCollectionPage { +public class GroupSettingCollectionPage extends BaseCollectionPage implements IGroupSettingCollectionPage { /** - * A collection page for GroupSetting. + * A collection page for GroupSetting * - * @param response the serialized BaseGroupSettingCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized GroupSettingCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public GroupSettingCollectionPage(final BaseGroupSettingCollectionResponse response, final IGroupSettingCollectionRequestBuilder builder) { - super(response, builder); + public GroupSettingCollectionPage(final GroupSettingCollectionResponse response, final IGroupSettingCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequest.java index 56add35e563..77f7a0e5d95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Collection Request. */ -public class GroupSettingCollectionRequest extends BaseGroupSettingCollectionRequest implements IGroupSettingCollectionRequest { +public class GroupSettingCollectionRequest extends BaseCollectionRequest implements IGroupSettingCollectionRequest { /** - * The request for this collection of GroupSetting + * The request builder for this collection of GroupSetting * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public GroupSettingCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public GroupSettingCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, GroupSettingCollectionResponse.class, IGroupSettingCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IGroupSettingCollectionPage get() throws ClientException { + final GroupSettingCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final GroupSetting newGroupSetting, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new GroupSettingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroupSetting, callback); + } + + public GroupSetting post(final GroupSetting newGroupSetting) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new GroupSettingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroupSetting); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupSettingCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (GroupSettingCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupSettingCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (GroupSettingCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupSettingCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (GroupSettingCollectionRequest)this; + } + + public IGroupSettingCollectionPage buildFromResponse(final GroupSettingCollectionResponse response) { + final IGroupSettingCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new GroupSettingCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final GroupSettingCollectionPage page = new GroupSettingCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequestBuilder.java index dd3bc95b68b..863e12d6831 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Collection Request Builder. */ -public class GroupSettingCollectionRequestBuilder extends BaseGroupSettingCollectionRequestBuilder implements IGroupSettingCollectionRequestBuilder { +public class GroupSettingCollectionRequestBuilder extends BaseRequestBuilder implements IGroupSettingCollectionRequestBuilder { /** * The request builder for this collection of GroupSetting @@ -25,4 +33,18 @@ public class GroupSettingCollectionRequestBuilder extends BaseGroupSettingCollec public GroupSettingCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IGroupSettingCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IGroupSettingCollectionRequest buildRequest(final java.util.List requestOptions) { + return new GroupSettingCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IGroupSettingRequestBuilder byId(final String id) { + return new GroupSettingRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionResponse.java new file mode 100644 index 00000000000..8282e50c520 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupSetting; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Group Setting Collection Response. + */ +public class GroupSettingCollectionResponse implements IJsonBackedObject { + + /** + * The list of GroupSetting within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequest.java index 25096d51824..809250b5991 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSettingRequest; +import com.microsoft.graph.requests.extensions.GroupSettingRequest; +import com.microsoft.graph.models.extensions.GroupSetting; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.GroupSetting; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Request. */ -public class GroupSettingRequest extends BaseGroupSettingRequest implements IGroupSettingRequest { - +public class GroupSettingRequest extends BaseRequest implements IGroupSettingRequest { + /** * The request for the GroupSetting * @@ -26,4 +32,107 @@ public class GroupSettingRequest extends BaseGroupSettingRequest implements IGro public GroupSettingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, GroupSetting.class); } + + /** + * Gets the GroupSetting from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the GroupSetting from the service + * + * @return the GroupSetting from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSetting get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this GroupSetting with a source + * + * @param sourceGroupSetting the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final GroupSetting sourceGroupSetting, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceGroupSetting); + } + + /** + * Patches this GroupSetting with a source + * + * @param sourceGroupSetting the source object with updates + * @return the updated GroupSetting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSetting patch(final GroupSetting sourceGroupSetting) throws ClientException { + return send(HttpMethod.PATCH, sourceGroupSetting); + } + + /** + * Creates a GroupSetting with a new object + * + * @param newGroupSetting the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final GroupSetting newGroupSetting, final ICallback callback) { + send(HttpMethod.POST, callback, newGroupSetting); + } + + /** + * Creates a GroupSetting with a new object + * + * @param newGroupSetting the new object to create + * @return the created GroupSetting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSetting post(final GroupSetting newGroupSetting) throws ClientException { + return send(HttpMethod.POST, newGroupSetting); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupSettingRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupSettingRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupSettingRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupSettingRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequestBuilder.java index 81854822b62..555b8918f51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSettingRequest; +import com.microsoft.graph.requests.extensions.GroupSettingRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Request Builder. */ -public class GroupSettingRequestBuilder extends BaseGroupSettingRequestBuilder implements IGroupSettingRequestBuilder { +public class GroupSettingRequestBuilder extends BaseRequestBuilder implements IGroupSettingRequestBuilder { /** * The request builder for the GroupSetting @@ -25,4 +28,26 @@ public class GroupSettingRequestBuilder extends BaseGroupSettingRequestBuilder i public GroupSettingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IGroupSettingRequest instance + */ + public IGroupSettingRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IGroupSettingRequest instance + */ + public IGroupSettingRequest buildRequest(final java.util.List requestOptions) { + return new GroupSettingRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionPage.java index 5b196b5472b..78f72b26a8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupSettingTemplate; +import com.microsoft.graph.requests.extensions.IGroupSettingTemplateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupSettingTemplateCollectionPage; -import com.microsoft.graph.requests.generated.BaseGroupSettingTemplateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Template Collection Page. */ -public class GroupSettingTemplateCollectionPage extends BaseGroupSettingTemplateCollectionPage implements IGroupSettingTemplateCollectionPage { +public class GroupSettingTemplateCollectionPage extends BaseCollectionPage implements IGroupSettingTemplateCollectionPage { /** - * A collection page for GroupSettingTemplate. + * A collection page for GroupSettingTemplate * - * @param response the serialized BaseGroupSettingTemplateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized GroupSettingTemplateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public GroupSettingTemplateCollectionPage(final BaseGroupSettingTemplateCollectionResponse response, final IGroupSettingTemplateCollectionRequestBuilder builder) { - super(response, builder); + public GroupSettingTemplateCollectionPage(final GroupSettingTemplateCollectionResponse response, final IGroupSettingTemplateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequest.java index ecf837a2dde..4aa36e13058 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingTemplateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Template Collection Request. */ -public class GroupSettingTemplateCollectionRequest extends BaseGroupSettingTemplateCollectionRequest implements IGroupSettingTemplateCollectionRequest { +public class GroupSettingTemplateCollectionRequest extends BaseCollectionRequest implements IGroupSettingTemplateCollectionRequest { /** - * The request for this collection of GroupSettingTemplate + * The request builder for this collection of GroupSettingTemplate * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public GroupSettingTemplateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public GroupSettingTemplateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, GroupSettingTemplateCollectionResponse.class, IGroupSettingTemplateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IGroupSettingTemplateCollectionPage get() throws ClientException { + final GroupSettingTemplateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new GroupSettingTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroupSettingTemplate, callback); + } + + public GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new GroupSettingTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newGroupSettingTemplate); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupSettingTemplateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (GroupSettingTemplateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupSettingTemplateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (GroupSettingTemplateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IGroupSettingTemplateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (GroupSettingTemplateCollectionRequest)this; + } + + public IGroupSettingTemplateCollectionPage buildFromResponse(final GroupSettingTemplateCollectionResponse response) { + final IGroupSettingTemplateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new GroupSettingTemplateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final GroupSettingTemplateCollectionPage page = new GroupSettingTemplateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequestBuilder.java index b54e1cb1add..79d6b337404 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingTemplateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Template Collection Request Builder. */ -public class GroupSettingTemplateCollectionRequestBuilder extends BaseGroupSettingTemplateCollectionRequestBuilder implements IGroupSettingTemplateCollectionRequestBuilder { +public class GroupSettingTemplateCollectionRequestBuilder extends BaseRequestBuilder implements IGroupSettingTemplateCollectionRequestBuilder { /** * The request builder for this collection of GroupSettingTemplate @@ -25,4 +33,18 @@ public class GroupSettingTemplateCollectionRequestBuilder extends BaseGroupSetti public GroupSettingTemplateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IGroupSettingTemplateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IGroupSettingTemplateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new GroupSettingTemplateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IGroupSettingTemplateRequestBuilder byId(final String id) { + return new GroupSettingTemplateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionResponse.java new file mode 100644 index 00000000000..d3d16e85d86 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupSettingTemplate; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Group Setting Template Collection Response. + */ +public class GroupSettingTemplateCollectionResponse implements IJsonBackedObject { + + /** + * The list of GroupSettingTemplate within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequest.java index 56a20b75750..cce18bf8eb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSettingTemplateRequest; +import com.microsoft.graph.requests.extensions.GroupSettingTemplateRequest; +import com.microsoft.graph.models.extensions.GroupSettingTemplate; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.GroupSettingTemplate; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingTemplateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Template Request. */ -public class GroupSettingTemplateRequest extends BaseGroupSettingTemplateRequest implements IGroupSettingTemplateRequest { - +public class GroupSettingTemplateRequest extends BaseRequest implements IGroupSettingTemplateRequest { + /** * The request for the GroupSettingTemplate * @@ -26,4 +32,107 @@ public class GroupSettingTemplateRequest extends BaseGroupSettingTemplateRequest public GroupSettingTemplateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, GroupSettingTemplate.class); } + + /** + * Gets the GroupSettingTemplate from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the GroupSettingTemplate from the service + * + * @return the GroupSettingTemplate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSettingTemplate get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this GroupSettingTemplate with a source + * + * @param sourceGroupSettingTemplate the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final GroupSettingTemplate sourceGroupSettingTemplate, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceGroupSettingTemplate); + } + + /** + * Patches this GroupSettingTemplate with a source + * + * @param sourceGroupSettingTemplate the source object with updates + * @return the updated GroupSettingTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSettingTemplate patch(final GroupSettingTemplate sourceGroupSettingTemplate) throws ClientException { + return send(HttpMethod.PATCH, sourceGroupSettingTemplate); + } + + /** + * Creates a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback) { + send(HttpMethod.POST, callback, newGroupSettingTemplate); + } + + /** + * Creates a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the new object to create + * @return the created GroupSettingTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException { + return send(HttpMethod.POST, newGroupSettingTemplate); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupSettingTemplateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (GroupSettingTemplateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupSettingTemplateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupSettingTemplateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequestBuilder.java index ff793073e8e..bf52851f5c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSettingTemplateRequest; +import com.microsoft.graph.requests.extensions.GroupSettingTemplateRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSettingTemplateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Setting Template Request Builder. */ -public class GroupSettingTemplateRequestBuilder extends BaseGroupSettingTemplateRequestBuilder implements IGroupSettingTemplateRequestBuilder { +public class GroupSettingTemplateRequestBuilder extends BaseRequestBuilder implements IGroupSettingTemplateRequestBuilder { /** * The request builder for the GroupSettingTemplate @@ -25,4 +28,26 @@ public class GroupSettingTemplateRequestBuilder extends BaseGroupSettingTemplate public GroupSettingTemplateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IGroupSettingTemplateRequest instance + */ + public IGroupSettingTemplateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IGroupSettingTemplateRequest instance + */ + public IGroupSettingTemplateRequest buildRequest(final java.util.List requestOptions) { + return new GroupSettingTemplateRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequest.java index 8a8a68da132..54b45fa7df0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; +import com.microsoft.graph.requests.extensions.GroupSubscribeByMailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSubscribeByMailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Subscribe By Mail Request. */ -public class GroupSubscribeByMailRequest extends BaseGroupSubscribeByMailRequest implements IGroupSubscribeByMailRequest { +public class GroupSubscribeByMailRequest extends BaseRequest implements IGroupSubscribeByMailRequest { /** * The request for this GroupSubscribeByMail @@ -23,6 +30,35 @@ public class GroupSubscribeByMailRequest extends BaseGroupSubscribeByMailRequest * @param requestOptions the options for this request */ public GroupSubscribeByMailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the GroupSubscribeByMail + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the GroupSubscribeByMail + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequestBuilder.java index cf4f60a7ccb..9e0aa7bc0e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSubscribeByMailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; +import com.microsoft.graph.requests.extensions.GroupSubscribeByMailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupSubscribeByMailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Subscribe By Mail Request Builder. */ -public class GroupSubscribeByMailRequestBuilder extends BaseGroupSubscribeByMailRequestBuilder implements IGroupSubscribeByMailRequestBuilder { +public class GroupSubscribeByMailRequestBuilder extends BaseActionRequestBuilder implements IGroupSubscribeByMailRequestBuilder { /** * The request builder for this GroupSubscribeByMail @@ -25,4 +30,29 @@ public class GroupSubscribeByMailRequestBuilder extends BaseGroupSubscribeByMail public GroupSubscribeByMailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IGroupSubscribeByMailRequest + * + * @return the IGroupSubscribeByMailRequest instance + */ + public IGroupSubscribeByMailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupSubscribeByMailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupSubscribeByMailRequest instance + */ + public IGroupSubscribeByMailRequest buildRequest(final java.util.List requestOptions) { + GroupSubscribeByMailRequest request = new GroupSubscribeByMailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequest.java index 97b1572428d..fd3d1fab2da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; +import com.microsoft.graph.requests.extensions.GroupUnsubscribeByMailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupUnsubscribeByMailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Unsubscribe By Mail Request. */ -public class GroupUnsubscribeByMailRequest extends BaseGroupUnsubscribeByMailRequest implements IGroupUnsubscribeByMailRequest { +public class GroupUnsubscribeByMailRequest extends BaseRequest implements IGroupUnsubscribeByMailRequest { /** * The request for this GroupUnsubscribeByMail @@ -23,6 +30,35 @@ public class GroupUnsubscribeByMailRequest extends BaseGroupUnsubscribeByMailReq * @param requestOptions the options for this request */ public GroupUnsubscribeByMailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the GroupUnsubscribeByMail + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the GroupUnsubscribeByMail + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequestBuilder.java index 2c099d7f36f..eadc0f08ddf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupUnsubscribeByMailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; +import com.microsoft.graph.requests.extensions.GroupUnsubscribeByMailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupUnsubscribeByMailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group Unsubscribe By Mail Request Builder. */ -public class GroupUnsubscribeByMailRequestBuilder extends BaseGroupUnsubscribeByMailRequestBuilder implements IGroupUnsubscribeByMailRequestBuilder { +public class GroupUnsubscribeByMailRequestBuilder extends BaseActionRequestBuilder implements IGroupUnsubscribeByMailRequestBuilder { /** * The request builder for this GroupUnsubscribeByMail @@ -25,4 +30,29 @@ public class GroupUnsubscribeByMailRequestBuilder extends BaseGroupUnsubscribeBy public GroupUnsubscribeByMailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IGroupUnsubscribeByMailRequest + * + * @return the IGroupUnsubscribeByMailRequest instance + */ + public IGroupUnsubscribeByMailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IGroupUnsubscribeByMailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IGroupUnsubscribeByMailRequest instance + */ + public IGroupUnsubscribeByMailRequest buildRequest(final java.util.List requestOptions) { + GroupUnsubscribeByMailRequest request = new GroupUnsubscribeByMailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequest.java index e82984ab922..494b9d32f18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group With Reference Request. */ -public class GroupWithReferenceRequest extends BaseGroupWithReferenceRequest implements IGroupWithReferenceRequest { +public class GroupWithReferenceRequest extends BaseRequest implements IGroupWithReferenceRequest { /** * The request for the Group @@ -22,7 +30,66 @@ public class GroupWithReferenceRequest extends BaseGroupWithReferenceRequest imp * @param client the service client * @param requestOptions the options for this request */ - public GroupWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public GroupWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, Group.class); + } + + public void post(final Group newGroup, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public Group post(final Group newGroup, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newGroup; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public Group get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final Group sourceGroup, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceGroup); + } + + public Group patch(final Group sourceGroup) throws ClientException { + return send(HttpMethod.PATCH, sourceGroup); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IGroupWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IGroupWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IGroupWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (GroupWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequestBuilder.java index b00439eea29..4a7af268c8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseGroupWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Group With Reference Request Builder. */ -public class GroupWithReferenceRequestBuilder extends BaseGroupWithReferenceRequestBuilder implements IGroupWithReferenceRequestBuilder { +public class GroupWithReferenceRequestBuilder extends BaseRequestBuilder implements IGroupWithReferenceRequestBuilder { /** * The request builder for the Group @@ -25,4 +33,28 @@ public class GroupWithReferenceRequestBuilder extends BaseGroupWithReferenceRequ public GroupWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IGroupWithReferenceRequest instance + */ + public IGroupWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupWithReferenceRequest instance + */ + public IGroupWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new GroupWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IGroupReferenceRequestBuilder reference(){ + return new GroupReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionPage.java index 089bfe35874..414fe69c0bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseActivityHistoryItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Activity History Item Collection Page. */ -public interface IActivityHistoryItemCollectionPage extends IBaseActivityHistoryItemCollectionPage { - +public interface IActivityHistoryItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequest.java index fac0d621039..9c13856d576 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseActivityHistoryItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Activity History Item Collection Request. */ -public interface IActivityHistoryItemCollectionRequest extends IBaseActivityHistoryItemCollectionRequest { +public interface IActivityHistoryItemCollectionRequest { + + void get(final ICallback callback); + + IActivityHistoryItemCollectionPage get() throws ClientException; + + void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback); + + ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IActivityHistoryItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IActivityHistoryItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IActivityHistoryItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequestBuilder.java index 1ea881e33c3..64285c983f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseActivityHistoryItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Activity History Item Collection Request Builder. */ -public interface IActivityHistoryItemCollectionRequestBuilder extends IBaseActivityHistoryItemCollectionRequestBuilder { +public interface IActivityHistoryItemCollectionRequestBuilder extends IRequestBuilder { + + IActivityHistoryItemCollectionRequest buildRequest(); + + IActivityHistoryItemCollectionRequest buildRequest(final java.util.List requestOptions); + + IActivityHistoryItemRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequest.java index aac3733371b..6d951b544fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ActivityHistoryItem; -import com.microsoft.graph.requests.generated.IBaseActivityHistoryItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Activity History Item Request. */ -public interface IActivityHistoryItemRequest extends IBaseActivityHistoryItemRequest { +public interface IActivityHistoryItemRequest extends IHttpRequest { + + /** + * Gets the ActivityHistoryItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ActivityHistoryItem from the service + * + * @return the ActivityHistoryItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ActivityHistoryItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ActivityHistoryItem with a source + * + * @param sourceActivityHistoryItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ActivityHistoryItem sourceActivityHistoryItem, final ICallback callback); + + /** + * Patches this ActivityHistoryItem with a source + * + * @param sourceActivityHistoryItem the source object with updates + * @return the updated ActivityHistoryItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ActivityHistoryItem patch(final ActivityHistoryItem sourceActivityHistoryItem) throws ClientException; + + /** + * Posts a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback); + + /** + * Posts a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the new object to create + * @return the created ActivityHistoryItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IActivityHistoryItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IActivityHistoryItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequestBuilder.java index cdbcc497529..f0af81f4031 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequest; +import com.microsoft.graph.requests.extensions.IUserActivityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseActivityHistoryItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Activity History Item Request Builder. */ -public interface IActivityHistoryItemRequestBuilder extends IBaseActivityHistoryItemRequestBuilder { +public interface IActivityHistoryItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IActivityHistoryItemRequest instance + */ + IActivityHistoryItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IActivityHistoryItemRequest instance + */ + IActivityHistoryItemRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for UserActivity + * + * @return the IUserActivityWithReferenceRequestBuilder instance + */ + IUserActivityWithReferenceRequestBuilder activity(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequest.java index 0374fba6729..482c5d03b41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AdministrativeUnit; -import com.microsoft.graph.requests.generated.IBaseAdministrativeUnitRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Administrative Unit Request. */ -public interface IAdministrativeUnitRequest extends IBaseAdministrativeUnitRequest { +public interface IAdministrativeUnitRequest extends IHttpRequest { + + /** + * Gets the AdministrativeUnit from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AdministrativeUnit from the service + * + * @return the AdministrativeUnit from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AdministrativeUnit get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AdministrativeUnit with a source + * + * @param sourceAdministrativeUnit the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AdministrativeUnit sourceAdministrativeUnit, final ICallback callback); + + /** + * Patches this AdministrativeUnit with a source + * + * @param sourceAdministrativeUnit the source object with updates + * @return the updated AdministrativeUnit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AdministrativeUnit patch(final AdministrativeUnit sourceAdministrativeUnit) throws ClientException; + + /** + * Posts a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AdministrativeUnit newAdministrativeUnit, final ICallback callback); + + /** + * Posts a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the new object to create + * @return the created AdministrativeUnit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AdministrativeUnit post(final AdministrativeUnit newAdministrativeUnit) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAdministrativeUnitRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAdministrativeUnitRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequestBuilder.java index 7eaea0665fb..f3be0f6e54e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequest; -import com.microsoft.graph.requests.generated.IBaseAdministrativeUnitRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Administrative Unit Request Builder. */ -public interface IAdministrativeUnitRequestBuilder extends IBaseAdministrativeUnitRequestBuilder { +public interface IAdministrativeUnitRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAdministrativeUnitRequest instance + */ + IAdministrativeUnitRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAdministrativeUnitRequest instance + */ + IAdministrativeUnitRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionPage.java index f67291d4480..b4d6f631d30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAlertCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Alert Collection Page. */ -public interface IAlertCollectionPage extends IBaseAlertCollectionPage { - +public interface IAlertCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequest.java index e125d07e616..7a62f4bd1ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAlertCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Alert Collection Request. */ -public interface IAlertCollectionRequest extends IBaseAlertCollectionRequest { +public interface IAlertCollectionRequest { + + void get(final ICallback callback); + + IAlertCollectionPage get() throws ClientException; + + void post(final Alert newAlert, final ICallback callback); + + Alert post(final Alert newAlert) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAlertCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAlertCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IAlertCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequestBuilder.java index 6406df8886a..0359fd37025 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAlertCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAlertCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Alert Collection Request Builder. */ -public interface IAlertCollectionRequestBuilder extends IBaseAlertCollectionRequestBuilder { +public interface IAlertCollectionRequestBuilder extends IRequestBuilder { + + IAlertCollectionRequest buildRequest(); + + IAlertCollectionRequest buildRequest(final java.util.List requestOptions); + + IAlertRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequest.java index c92730a87d7..1ddf392660c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Alert; -import com.microsoft.graph.requests.generated.IBaseAlertRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Alert Request. */ -public interface IAlertRequest extends IBaseAlertRequest { +public interface IAlertRequest extends IHttpRequest { + + /** + * Gets the Alert from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Alert from the service + * + * @return the Alert from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Alert get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Alert with a source + * + * @param sourceAlert the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Alert sourceAlert, final ICallback callback); + + /** + * Patches this Alert with a source + * + * @param sourceAlert the source object with updates + * @return the updated Alert + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Alert patch(final Alert sourceAlert) throws ClientException; + + /** + * Posts a Alert with a new object + * + * @param newAlert the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Alert newAlert, final ICallback callback); + + /** + * Posts a Alert with a new object + * + * @param newAlert the new object to create + * @return the created Alert + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Alert post(final Alert newAlert) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAlertRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAlertRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequestBuilder.java index 7b972536e4c..9d8170b6f55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAlertRequest; -import com.microsoft.graph.requests.generated.IBaseAlertRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Alert Request Builder. */ -public interface IAlertRequestBuilder extends IBaseAlertRequestBuilder { +public interface IAlertRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAlertRequest instance + */ + IAlertRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAlertRequest instance + */ + IAlertRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequest.java index 15882b280dd..ea8943cf240 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidCompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseAndroidCompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Compliance Policy Request. */ -public interface IAndroidCompliancePolicyRequest extends IBaseAndroidCompliancePolicyRequest { +public interface IAndroidCompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the AndroidCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidCompliancePolicy from the service + * + * @return the AndroidCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidCompliancePolicy with a source + * + * @param sourceAndroidCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy, final ICallback callback); + + /** + * Patches this AndroidCompliancePolicy with a source + * + * @param sourceAndroidCompliancePolicy the source object with updates + * @return the updated AndroidCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCompliancePolicy patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy) throws ClientException; + + /** + * Posts a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidCompliancePolicy newAndroidCompliancePolicy, final ICallback callback); + + /** + * Posts a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the new object to create + * @return the created AndroidCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCompliancePolicy post(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidCompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidCompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequestBuilder.java index 0b1db59adc2..35599242c7d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidCompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidCompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Compliance Policy Request Builder. */ -public interface IAndroidCompliancePolicyRequestBuilder extends IBaseAndroidCompliancePolicyRequestBuilder { +public interface IAndroidCompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidCompliancePolicyRequest instance + */ + IAndroidCompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidCompliancePolicyRequest instance + */ + IAndroidCompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequest.java index 6f312ea0990..479cf37d605 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidCustomConfiguration; -import com.microsoft.graph.requests.generated.IBaseAndroidCustomConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Custom Configuration Request. */ -public interface IAndroidCustomConfigurationRequest extends IBaseAndroidCustomConfigurationRequest { +public interface IAndroidCustomConfigurationRequest extends IHttpRequest { + + /** + * Gets the AndroidCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidCustomConfiguration from the service + * + * @return the AndroidCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCustomConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidCustomConfiguration with a source + * + * @param sourceAndroidCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration, final ICallback callback); + + /** + * Patches this AndroidCustomConfiguration with a source + * + * @param sourceAndroidCustomConfiguration the source object with updates + * @return the updated AndroidCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCustomConfiguration patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration) throws ClientException; + + /** + * Posts a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidCustomConfiguration newAndroidCustomConfiguration, final ICallback callback); + + /** + * Posts a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the new object to create + * @return the created AndroidCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCustomConfiguration post(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidCustomConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidCustomConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequestBuilder.java index 534a0df26ee..5c0fdbd25ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidCustomConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidCustomConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Custom Configuration Request Builder. */ -public interface IAndroidCustomConfigurationRequestBuilder extends IBaseAndroidCustomConfigurationRequestBuilder { +public interface IAndroidCustomConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidCustomConfigurationRequest instance + */ + IAndroidCustomConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidCustomConfigurationRequest instance + */ + IAndroidCustomConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequest.java index ebebfbb992c..eb4640e73a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidGeneralDeviceConfiguration; -import com.microsoft.graph.requests.generated.IBaseAndroidGeneralDeviceConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android General Device Configuration Request. */ -public interface IAndroidGeneralDeviceConfigurationRequest extends IBaseAndroidGeneralDeviceConfigurationRequest { +public interface IAndroidGeneralDeviceConfigurationRequest extends IHttpRequest { + + /** + * Gets the AndroidGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidGeneralDeviceConfiguration from the service + * + * @return the AndroidGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidGeneralDeviceConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidGeneralDeviceConfiguration with a source + * + * @param sourceAndroidGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration, final ICallback callback); + + /** + * Patches this AndroidGeneralDeviceConfiguration with a source + * + * @param sourceAndroidGeneralDeviceConfiguration the source object with updates + * @return the updated AndroidGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidGeneralDeviceConfiguration patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration) throws ClientException; + + /** + * Posts a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the new object to create + * @return the created AndroidGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidGeneralDeviceConfiguration post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidGeneralDeviceConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidGeneralDeviceConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequestBuilder.java index a4c19ce7b9c..28d4c6f55fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidGeneralDeviceConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android General Device Configuration Request Builder. */ -public interface IAndroidGeneralDeviceConfigurationRequestBuilder extends IBaseAndroidGeneralDeviceConfigurationRequestBuilder { +public interface IAndroidGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidGeneralDeviceConfigurationRequest instance + */ + IAndroidGeneralDeviceConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidGeneralDeviceConfigurationRequest instance + */ + IAndroidGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequest.java index 163d0a006f2..a04ca5fb854 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidLobApp; -import com.microsoft.graph.requests.generated.IBaseAndroidLobAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Lob App Request. */ -public interface IAndroidLobAppRequest extends IBaseAndroidLobAppRequest { +public interface IAndroidLobAppRequest extends IHttpRequest { + + /** + * Gets the AndroidLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidLobApp from the service + * + * @return the AndroidLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidLobApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidLobApp with a source + * + * @param sourceAndroidLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidLobApp sourceAndroidLobApp, final ICallback callback); + + /** + * Patches this AndroidLobApp with a source + * + * @param sourceAndroidLobApp the source object with updates + * @return the updated AndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidLobApp patch(final AndroidLobApp sourceAndroidLobApp) throws ClientException; + + /** + * Posts a AndroidLobApp with a new object + * + * @param newAndroidLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidLobApp newAndroidLobApp, final ICallback callback); + + /** + * Posts a AndroidLobApp with a new object + * + * @param newAndroidLobApp the new object to create + * @return the created AndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidLobApp post(final AndroidLobApp newAndroidLobApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidLobAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidLobAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequestBuilder.java index 8d03b66051b..63520d7505e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidLobAppRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidLobAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Lob App Request Builder. */ -public interface IAndroidLobAppRequestBuilder extends IBaseAndroidLobAppRequestBuilder { +public interface IAndroidLobAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidLobAppRequest instance + */ + IAndroidLobAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidLobAppRequest instance + */ + IAndroidLobAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionPage.java index 5878b2b5efe..bdfc0d8c457 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppProtectionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Protection Collection Page. */ -public interface IAndroidManagedAppProtectionCollectionPage extends IBaseAndroidManagedAppProtectionCollectionPage { - +public interface IAndroidManagedAppProtectionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequest.java index a5dc95f0a8e..e375171f63d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppProtectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Protection Collection Request. */ -public interface IAndroidManagedAppProtectionCollectionRequest extends IBaseAndroidManagedAppProtectionCollectionRequest { +public interface IAndroidManagedAppProtectionCollectionRequest { + + void get(final ICallback callback); + + IAndroidManagedAppProtectionCollectionPage get() throws ClientException; + + void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback); + + AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidManagedAppProtectionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidManagedAppProtectionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IAndroidManagedAppProtectionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequestBuilder.java index 25a418c86d6..9506ee60046 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Protection Collection Request Builder. */ -public interface IAndroidManagedAppProtectionCollectionRequestBuilder extends IBaseAndroidManagedAppProtectionCollectionRequestBuilder { +public interface IAndroidManagedAppProtectionCollectionRequestBuilder extends IRequestBuilder { + + IAndroidManagedAppProtectionCollectionRequest buildRequest(); + + IAndroidManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions); + + IAndroidManagedAppProtectionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequest.java index 752d27bd63d..77a53386fa6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Protection Request. */ -public interface IAndroidManagedAppProtectionRequest extends IBaseAndroidManagedAppProtectionRequest { +public interface IAndroidManagedAppProtectionRequest extends IHttpRequest { + + /** + * Gets the AndroidManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidManagedAppProtection from the service + * + * @return the AndroidManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidManagedAppProtection with a source + * + * @param sourceAndroidManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection, final ICallback callback); + + /** + * Patches this AndroidManagedAppProtection with a source + * + * @param sourceAndroidManagedAppProtection the source object with updates + * @return the updated AndroidManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppProtection patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection) throws ClientException; + + /** + * Posts a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback); + + /** + * Posts a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the new object to create + * @return the created AndroidManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidManagedAppProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidManagedAppProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequestBuilder.java index 1329b3284b6..93331869242 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequestBuilder.java @@ -3,14 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Protection Request Builder. */ -public interface IAndroidManagedAppProtectionRequestBuilder extends IBaseAndroidManagedAppProtectionRequestBuilder { +public interface IAndroidManagedAppProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidManagedAppProtectionRequest instance + */ + IAndroidManagedAppProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidManagedAppProtectionRequest instance + */ + IAndroidManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); + + + IManagedMobileAppCollectionRequestBuilder apps(); + + IManagedMobileAppRequestBuilder apps(final String id); + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequest.java index 8cd83a0ccf3..957833bb58d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidManagedAppRegistration; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppRegistrationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Registration Request. */ -public interface IAndroidManagedAppRegistrationRequest extends IBaseAndroidManagedAppRegistrationRequest { +public interface IAndroidManagedAppRegistrationRequest extends IHttpRequest { + + /** + * Gets the AndroidManagedAppRegistration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidManagedAppRegistration from the service + * + * @return the AndroidManagedAppRegistration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppRegistration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidManagedAppRegistration with a source + * + * @param sourceAndroidManagedAppRegistration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration, final ICallback callback); + + /** + * Patches this AndroidManagedAppRegistration with a source + * + * @param sourceAndroidManagedAppRegistration the source object with updates + * @return the updated AndroidManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppRegistration patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration) throws ClientException; + + /** + * Posts a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration, final ICallback callback); + + /** + * Posts a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the new object to create + * @return the created AndroidManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppRegistration post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidManagedAppRegistrationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidManagedAppRegistrationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequestBuilder.java index 54f539d890f..73ad4f2d8b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppRegistrationRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidManagedAppRegistrationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Managed App Registration Request Builder. */ -public interface IAndroidManagedAppRegistrationRequestBuilder extends IBaseAndroidManagedAppRegistrationRequestBuilder { +public interface IAndroidManagedAppRegistrationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidManagedAppRegistrationRequest instance + */ + IAndroidManagedAppRegistrationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidManagedAppRegistrationRequest instance + */ + IAndroidManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequest.java index 52fe689c8e0..264a878b748 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidStoreApp; -import com.microsoft.graph.requests.generated.IBaseAndroidStoreAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Store App Request. */ -public interface IAndroidStoreAppRequest extends IBaseAndroidStoreAppRequest { +public interface IAndroidStoreAppRequest extends IHttpRequest { + + /** + * Gets the AndroidStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidStoreApp from the service + * + * @return the AndroidStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidStoreApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidStoreApp with a source + * + * @param sourceAndroidStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidStoreApp sourceAndroidStoreApp, final ICallback callback); + + /** + * Patches this AndroidStoreApp with a source + * + * @param sourceAndroidStoreApp the source object with updates + * @return the updated AndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidStoreApp patch(final AndroidStoreApp sourceAndroidStoreApp) throws ClientException; + + /** + * Posts a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidStoreApp newAndroidStoreApp, final ICallback callback); + + /** + * Posts a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the new object to create + * @return the created AndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidStoreApp post(final AndroidStoreApp newAndroidStoreApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidStoreAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidStoreAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequestBuilder.java index d04fb517961..93bf436179e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidStoreAppRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidStoreAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Store App Request Builder. */ -public interface IAndroidStoreAppRequestBuilder extends IBaseAndroidStoreAppRequestBuilder { +public interface IAndroidStoreAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidStoreAppRequest instance + */ + IAndroidStoreAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidStoreAppRequest instance + */ + IAndroidStoreAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequest.java index 8113147cbc5..c23f2aa2704 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidWorkProfileCompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseAndroidWorkProfileCompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Work Profile Compliance Policy Request. */ -public interface IAndroidWorkProfileCompliancePolicyRequest extends IBaseAndroidWorkProfileCompliancePolicyRequest { +public interface IAndroidWorkProfileCompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the AndroidWorkProfileCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidWorkProfileCompliancePolicy from the service + * + * @return the AndroidWorkProfileCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidWorkProfileCompliancePolicy with a source + * + * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy, final ICallback callback); + + /** + * Patches this AndroidWorkProfileCompliancePolicy with a source + * + * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates + * @return the updated AndroidWorkProfileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCompliancePolicy patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy) throws ClientException; + + /** + * Posts a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy, final ICallback callback); + + /** + * Posts a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the new object to create + * @return the created AndroidWorkProfileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCompliancePolicy post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidWorkProfileCompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidWorkProfileCompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequestBuilder.java index c4f5e62651c..68aac3b2884 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidWorkProfileCompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Work Profile Compliance Policy Request Builder. */ -public interface IAndroidWorkProfileCompliancePolicyRequestBuilder extends IBaseAndroidWorkProfileCompliancePolicyRequestBuilder { +public interface IAndroidWorkProfileCompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidWorkProfileCompliancePolicyRequest instance + */ + IAndroidWorkProfileCompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidWorkProfileCompliancePolicyRequest instance + */ + IAndroidWorkProfileCompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequest.java index e1a8f83817c..3c1d644e4a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidWorkProfileCustomConfiguration; -import com.microsoft.graph.requests.generated.IBaseAndroidWorkProfileCustomConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Work Profile Custom Configuration Request. */ -public interface IAndroidWorkProfileCustomConfigurationRequest extends IBaseAndroidWorkProfileCustomConfigurationRequest { +public interface IAndroidWorkProfileCustomConfigurationRequest extends IHttpRequest { + + /** + * Gets the AndroidWorkProfileCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidWorkProfileCustomConfiguration from the service + * + * @return the AndroidWorkProfileCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCustomConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidWorkProfileCustomConfiguration with a source + * + * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration, final ICallback callback); + + /** + * Patches this AndroidWorkProfileCustomConfiguration with a source + * + * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates + * @return the updated AndroidWorkProfileCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCustomConfiguration patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration) throws ClientException; + + /** + * Posts a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration, final ICallback callback); + + /** + * Posts a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the new object to create + * @return the created AndroidWorkProfileCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCustomConfiguration post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidWorkProfileCustomConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidWorkProfileCustomConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequestBuilder.java index be75f18770b..250f2d98bd6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCustomConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidWorkProfileCustomConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Work Profile Custom Configuration Request Builder. */ -public interface IAndroidWorkProfileCustomConfigurationRequestBuilder extends IBaseAndroidWorkProfileCustomConfigurationRequestBuilder { +public interface IAndroidWorkProfileCustomConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidWorkProfileCustomConfigurationRequest instance + */ + IAndroidWorkProfileCustomConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidWorkProfileCustomConfigurationRequest instance + */ + IAndroidWorkProfileCustomConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequest.java index 21a0a640d36..4716d0bb679 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AndroidWorkProfileGeneralDeviceConfiguration; -import com.microsoft.graph.requests.generated.IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Work Profile General Device Configuration Request. */ -public interface IAndroidWorkProfileGeneralDeviceConfigurationRequest extends IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest { +public interface IAndroidWorkProfileGeneralDeviceConfigurationRequest extends IHttpRequest { + + /** + * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service + * + * @return the AndroidWorkProfileGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileGeneralDeviceConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source + * + * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback); + + /** + * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source + * + * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates + * @return the updated AndroidWorkProfileGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileGeneralDeviceConfiguration patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException; + + /** + * Posts a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create + * @return the created AndroidWorkProfileGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileGeneralDeviceConfiguration post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAndroidWorkProfileGeneralDeviceConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAndroidWorkProfileGeneralDeviceConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java index 44153c4219a..5d5dd78671b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAndroidWorkProfileGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android Work Profile General Device Configuration Request Builder. */ -public interface IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder { +public interface IAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance + */ + IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance + */ + IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequest.java index ac3935c282f..d9bc68dbc28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AppCatalogs; -import com.microsoft.graph.requests.generated.IBaseAppCatalogsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the App Catalogs Request. */ -public interface IAppCatalogsRequest extends IBaseAppCatalogsRequest { +public interface IAppCatalogsRequest extends IHttpRequest { + + /** + * Gets the AppCatalogs from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AppCatalogs from the service + * + * @return the AppCatalogs from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppCatalogs get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AppCatalogs with a source + * + * @param sourceAppCatalogs the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AppCatalogs sourceAppCatalogs, final ICallback callback); + + /** + * Patches this AppCatalogs with a source + * + * @param sourceAppCatalogs the source object with updates + * @return the updated AppCatalogs + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppCatalogs patch(final AppCatalogs sourceAppCatalogs) throws ClientException; + + /** + * Posts a AppCatalogs with a new object + * + * @param newAppCatalogs the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AppCatalogs newAppCatalogs, final ICallback callback); + + /** + * Posts a AppCatalogs with a new object + * + * @param newAppCatalogs the new object to create + * @return the created AppCatalogs + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppCatalogs post(final AppCatalogs newAppCatalogs) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAppCatalogsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAppCatalogsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequestBuilder.java index 60ca223ef5d..e9516f70780 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAppCatalogsRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseAppCatalogsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the App Catalogs Request Builder. */ -public interface IAppCatalogsRequestBuilder extends IBaseAppCatalogsRequestBuilder { +public interface IAppCatalogsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAppCatalogsRequest instance + */ + IAppCatalogsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAppCatalogsRequest instance + */ + IAppCatalogsRequest buildRequest(final java.util.List requestOptions); + + + ITeamsAppCollectionRequestBuilder teamsApps(); + + ITeamsAppRequestBuilder teamsApps(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequest.java index 9971fe3462a..053fb5c1dfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; -import com.microsoft.graph.requests.generated.IBaseAppleDeviceFeaturesConfigurationBaseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Apple Device Features Configuration Base Request. */ -public interface IAppleDeviceFeaturesConfigurationBaseRequest extends IBaseAppleDeviceFeaturesConfigurationBaseRequest { +public interface IAppleDeviceFeaturesConfigurationBaseRequest extends IHttpRequest { + + /** + * Gets the AppleDeviceFeaturesConfigurationBase from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the AppleDeviceFeaturesConfigurationBase from the service + * + * @return the AppleDeviceFeaturesConfigurationBase from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppleDeviceFeaturesConfigurationBase get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this AppleDeviceFeaturesConfigurationBase with a source + * + * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase, final ICallback callback); + + /** + * Patches this AppleDeviceFeaturesConfigurationBase with a source + * + * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates + * @return the updated AppleDeviceFeaturesConfigurationBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppleDeviceFeaturesConfigurationBase patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase) throws ClientException; + + /** + * Posts a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase, final ICallback callback); + + /** + * Posts a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the new object to create + * @return the created AppleDeviceFeaturesConfigurationBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppleDeviceFeaturesConfigurationBase post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAppleDeviceFeaturesConfigurationBaseRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAppleDeviceFeaturesConfigurationBaseRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequestBuilder.java index dc93a50f303..eabd79cbf07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAppleDeviceFeaturesConfigurationBaseRequest; -import com.microsoft.graph.requests.generated.IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Apple Device Features Configuration Base Request Builder. */ -public interface IAppleDeviceFeaturesConfigurationBaseRequestBuilder extends IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder { +public interface IAppleDeviceFeaturesConfigurationBaseRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance + */ + IAppleDeviceFeaturesConfigurationBaseRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance + */ + IAppleDeviceFeaturesConfigurationBaseRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java index 1d2e3257e3c..499c4dbc21c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; -import com.microsoft.graph.requests.generated.IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request. */ -public interface IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest extends IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest { +public interface IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest { + + /** + * Gets the String + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the String + * + * @return the String + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + String get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java index 246dbdee7e7..e2618330a39 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; -import com.microsoft.graph.requests.generated.IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request Builder. */ -public interface IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder extends IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder { +public interface IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder extends IRequestBuilder { + /** + * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest + * + * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance + */ + IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest(); + + /** + * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance + */ + IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequest.java index a28910cff16..23434231534 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; -import com.microsoft.graph.requests.generated.IBaseApplePushNotificationCertificateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Apple Push Notification Certificate Request. */ -public interface IApplePushNotificationCertificateRequest extends IBaseApplePushNotificationCertificateRequest { +public interface IApplePushNotificationCertificateRequest extends IHttpRequest { + + /** + * Gets the ApplePushNotificationCertificate from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ApplePushNotificationCertificate from the service + * + * @return the ApplePushNotificationCertificate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ApplePushNotificationCertificate get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ApplePushNotificationCertificate with a source + * + * @param sourceApplePushNotificationCertificate the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate, final ICallback callback); + + /** + * Patches this ApplePushNotificationCertificate with a source + * + * @param sourceApplePushNotificationCertificate the source object with updates + * @return the updated ApplePushNotificationCertificate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ApplePushNotificationCertificate patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate) throws ClientException; + + /** + * Posts a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ApplePushNotificationCertificate newApplePushNotificationCertificate, final ICallback callback); + + /** + * Posts a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the new object to create + * @return the created ApplePushNotificationCertificate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ApplePushNotificationCertificate post(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IApplePushNotificationCertificateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IApplePushNotificationCertificateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequestBuilder.java index c2623f461c4..50accdb5c7a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequestBuilder.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequest; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseApplePushNotificationCertificateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Apple Push Notification Certificate Request Builder. */ -public interface IApplePushNotificationCertificateRequestBuilder extends IBaseApplePushNotificationCertificateRequestBuilder { +public interface IApplePushNotificationCertificateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IApplePushNotificationCertificateRequest instance + */ + IApplePushNotificationCertificateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IApplePushNotificationCertificateRequest instance + */ + IApplePushNotificationCertificateRequest buildRequest(final java.util.List requestOptions); + + IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder downloadApplePushNotificationCertificateSigningRequest(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionPage.java index 8c61a758a58..26bbbe420e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAttachmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Attachment Collection Page. */ -public interface IAttachmentCollectionPage extends IBaseAttachmentCollectionPage { - +public interface IAttachmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequest.java index ccb22fe2ae8..03baf9b8c43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAttachmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Attachment Collection Request. */ -public interface IAttachmentCollectionRequest extends IBaseAttachmentCollectionRequest { +public interface IAttachmentCollectionRequest { + + void get(final ICallback callback); + + IAttachmentCollectionPage get() throws ClientException; + + void post(final Attachment newAttachment, final ICallback callback); + + Attachment post(final Attachment newAttachment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAttachmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAttachmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IAttachmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequestBuilder.java index fab63c4961b..828cc4ae805 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseAttachmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Attachment Collection Request Builder. */ -public interface IAttachmentCollectionRequestBuilder extends IBaseAttachmentCollectionRequestBuilder { +public interface IAttachmentCollectionRequestBuilder extends IRequestBuilder { + + IAttachmentCollectionRequest buildRequest(); + + IAttachmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IAttachmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequest.java index f398d114438..e1b4a6f48a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.requests.generated.IBaseAttachmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Attachment Request. */ -public interface IAttachmentRequest extends IBaseAttachmentRequest { +public interface IAttachmentRequest extends IHttpRequest { + + /** + * Gets the Attachment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Attachment from the service + * + * @return the Attachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Attachment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Attachment with a source + * + * @param sourceAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Attachment sourceAttachment, final ICallback callback); + + /** + * Patches this Attachment with a source + * + * @param sourceAttachment the source object with updates + * @return the updated Attachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Attachment patch(final Attachment sourceAttachment) throws ClientException; + + /** + * Posts a Attachment with a new object + * + * @param newAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Attachment newAttachment, final ICallback callback); + + /** + * Posts a Attachment with a new object + * + * @param newAttachment the new object to create + * @return the created Attachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Attachment post(final Attachment newAttachment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IAttachmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IAttachmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequestBuilder.java index a462010caa5..6754771d022 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IAttachmentRequest; -import com.microsoft.graph.requests.generated.IBaseAttachmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Attachment Request Builder. */ -public interface IAttachmentRequestBuilder extends IBaseAttachmentRequestBuilder { +public interface IAttachmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IAttachmentRequest instance + */ + IAttachmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IAttachmentRequest instance + */ + IAttachmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionPage.java index 2b5c6b73c78..fb5d49366b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseBaseItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Collection Page. */ -public interface IBaseItemCollectionPage extends IBaseBaseItemCollectionPage { - +public interface IBaseItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequest.java index 229ecfabae6..2958c96bf8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseBaseItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Collection Request. */ -public interface IBaseItemCollectionRequest extends IBaseBaseItemCollectionRequest { +public interface IBaseItemCollectionRequest { + + void get(final ICallback callback); + + IBaseItemCollectionPage get() throws ClientException; + + void post(final BaseItem newBaseItem, final ICallback callback); + + BaseItem post(final BaseItem newBaseItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IBaseItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IBaseItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IBaseItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequestBuilder.java index b8186ab2d2a..8469128d7e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseBaseItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Collection Request Builder. */ -public interface IBaseItemCollectionRequestBuilder extends IBaseBaseItemCollectionRequestBuilder { +public interface IBaseItemCollectionRequestBuilder extends IRequestBuilder { + + IBaseItemCollectionRequest buildRequest(); + + IBaseItemCollectionRequest buildRequest(final java.util.List requestOptions); + + IBaseItemRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequest.java index 6437fbcf494..bbd99a1f34c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.generated.IBaseBaseItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Request. */ -public interface IBaseItemRequest extends IBaseBaseItemRequest { +public interface IBaseItemRequest extends IHttpRequest { + + /** + * Gets the BaseItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the BaseItem from the service + * + * @return the BaseItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this BaseItem with a source + * + * @param sourceBaseItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final BaseItem sourceBaseItem, final ICallback callback); + + /** + * Patches this BaseItem with a source + * + * @param sourceBaseItem the source object with updates + * @return the updated BaseItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItem patch(final BaseItem sourceBaseItem) throws ClientException; + + /** + * Posts a BaseItem with a new object + * + * @param newBaseItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final BaseItem newBaseItem, final ICallback callback); + + /** + * Posts a BaseItem with a new object + * + * @param newBaseItem the new object to create + * @return the created BaseItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItem post(final BaseItem newBaseItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IBaseItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IBaseItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequestBuilder.java index 04a8d3639dc..c61b96c4d95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IBaseItemRequest; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseBaseItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Request Builder. */ -public interface IBaseItemRequestBuilder extends IBaseBaseItemRequestBuilder { +public interface IBaseItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IBaseItemRequest instance + */ + IBaseItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IBaseItemRequest instance + */ + IBaseItemRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + IUserWithReferenceRequestBuilder createdByUser(); + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + IUserWithReferenceRequestBuilder lastModifiedByUser(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequest.java index ad1833f99cf..9e99f0d983c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.BaseItemVersion; -import com.microsoft.graph.requests.generated.IBaseBaseItemVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Version Request. */ -public interface IBaseItemVersionRequest extends IBaseBaseItemVersionRequest { +public interface IBaseItemVersionRequest extends IHttpRequest { + + /** + * Gets the BaseItemVersion from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the BaseItemVersion from the service + * + * @return the BaseItemVersion from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItemVersion get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this BaseItemVersion with a source + * + * @param sourceBaseItemVersion the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final BaseItemVersion sourceBaseItemVersion, final ICallback callback); + + /** + * Patches this BaseItemVersion with a source + * + * @param sourceBaseItemVersion the source object with updates + * @return the updated BaseItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItemVersion patch(final BaseItemVersion sourceBaseItemVersion) throws ClientException; + + /** + * Posts a BaseItemVersion with a new object + * + * @param newBaseItemVersion the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final BaseItemVersion newBaseItemVersion, final ICallback callback); + + /** + * Posts a BaseItemVersion with a new object + * + * @param newBaseItemVersion the new object to create + * @return the created BaseItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItemVersion post(final BaseItemVersion newBaseItemVersion) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IBaseItemVersionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IBaseItemVersionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequestBuilder.java index 015992cae23..071a4b0cef0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IBaseItemVersionRequest; -import com.microsoft.graph.requests.generated.IBaseBaseItemVersionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Base Item Version Request Builder. */ -public interface IBaseItemVersionRequestBuilder extends IBaseBaseItemVersionRequestBuilder { +public interface IBaseItemVersionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IBaseItemVersionRequest instance + */ + IBaseItemVersionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IBaseItemVersionRequest instance + */ + IBaseItemVersionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionPage.java index 7210841f79f..dd24e5febfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseCalendarCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Collection Page. */ -public interface ICalendarCollectionPage extends IBaseCalendarCollectionPage { - +public interface ICalendarCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequest.java index 6558995ab30..43849a516db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseCalendarCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Collection Request. */ -public interface ICalendarCollectionRequest extends IBaseCalendarCollectionRequest { +public interface ICalendarCollectionRequest { + + void get(final ICallback callback); + + ICalendarCollectionPage get() throws ClientException; + + void post(final Calendar newCalendar, final ICallback callback); + + Calendar post(final Calendar newCalendar) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ICalendarCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ICalendarCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ICalendarCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequestBuilder.java index 14a550c42b4..955588a41d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseCalendarCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Collection Request Builder. */ -public interface ICalendarCollectionRequestBuilder extends IBaseCalendarCollectionRequestBuilder { +public interface ICalendarCollectionRequestBuilder extends IRequestBuilder { + + ICalendarCollectionRequest buildRequest(); + + ICalendarCollectionRequest buildRequest(final java.util.List requestOptions); + + ICalendarRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionPage.java index 39cdfbfe964..ef3853278fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseCalendarGroupCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Group Collection Page. */ -public interface ICalendarGroupCollectionPage extends IBaseCalendarGroupCollectionPage { - +public interface ICalendarGroupCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequest.java index 56233d32828..e62e2161d04 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseCalendarGroupCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Group Collection Request. */ -public interface ICalendarGroupCollectionRequest extends IBaseCalendarGroupCollectionRequest { +public interface ICalendarGroupCollectionRequest { + + void get(final ICallback callback); + + ICalendarGroupCollectionPage get() throws ClientException; + + void post(final CalendarGroup newCalendarGroup, final ICallback callback); + + CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ICalendarGroupCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ICalendarGroupCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ICalendarGroupCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequestBuilder.java index 67ad6ad073a..7170fd84d29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseCalendarGroupCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Group Collection Request Builder. */ -public interface ICalendarGroupCollectionRequestBuilder extends IBaseCalendarGroupCollectionRequestBuilder { +public interface ICalendarGroupCollectionRequestBuilder extends IRequestBuilder { + + ICalendarGroupCollectionRequest buildRequest(); + + ICalendarGroupCollectionRequest buildRequest(final java.util.List requestOptions); + + ICalendarGroupRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequest.java index efcba0400f2..51ce1246589 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.CalendarGroup; -import com.microsoft.graph.requests.generated.IBaseCalendarGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Group Request. */ -public interface ICalendarGroupRequest extends IBaseCalendarGroupRequest { +public interface ICalendarGroupRequest extends IHttpRequest { + + /** + * Gets the CalendarGroup from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the CalendarGroup from the service + * + * @return the CalendarGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CalendarGroup get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this CalendarGroup with a source + * + * @param sourceCalendarGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final CalendarGroup sourceCalendarGroup, final ICallback callback); + + /** + * Patches this CalendarGroup with a source + * + * @param sourceCalendarGroup the source object with updates + * @return the updated CalendarGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CalendarGroup patch(final CalendarGroup sourceCalendarGroup) throws ClientException; + + /** + * Posts a CalendarGroup with a new object + * + * @param newCalendarGroup the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final CalendarGroup newCalendarGroup, final ICallback callback); + + /** + * Posts a CalendarGroup with a new object + * + * @param newCalendarGroup the new object to create + * @return the created CalendarGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ICalendarGroupRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ICalendarGroupRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequestBuilder.java index 161546b41a2..7466e29fa6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ICalendarGroupRequest; +import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseCalendarGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Group Request Builder. */ -public interface ICalendarGroupRequestBuilder extends IBaseCalendarGroupRequestBuilder { +public interface ICalendarGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ICalendarGroupRequest instance + */ + ICalendarGroupRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ICalendarGroupRequest instance + */ + ICalendarGroupRequest buildRequest(final java.util.List requestOptions); + + + ICalendarCollectionRequestBuilder calendars(); + + ICalendarRequestBuilder calendars(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequest.java index 78f8ee68628..72807b57c3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.requests.generated.IBaseCalendarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Request. */ -public interface ICalendarRequest extends IBaseCalendarRequest { +public interface ICalendarRequest extends IHttpRequest { + + /** + * Gets the Calendar from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Calendar from the service + * + * @return the Calendar from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Calendar get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Calendar with a source + * + * @param sourceCalendar the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Calendar sourceCalendar, final ICallback callback); + + /** + * Patches this Calendar with a source + * + * @param sourceCalendar the source object with updates + * @return the updated Calendar + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Calendar patch(final Calendar sourceCalendar) throws ClientException; + + /** + * Posts a Calendar with a new object + * + * @param newCalendar the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Calendar newCalendar, final ICallback callback); + + /** + * Posts a Calendar with a new object + * + * @param newCalendar the new object to create + * @return the created Calendar + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Calendar post(final Calendar newCalendar) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ICalendarRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ICalendarRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequestBuilder.java index 337d54bbf1a..f2e206ba093 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequestBuilder.java @@ -3,14 +3,56 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ICalendarRequest; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseCalendarRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Calendar Request Builder. */ -public interface ICalendarRequestBuilder extends IBaseCalendarRequestBuilder { +public interface ICalendarRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ICalendarRequest instance + */ + ICalendarRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ICalendarRequest instance + */ + ICalendarRequest buildRequest(final java.util.List requestOptions); + + + IEventCollectionRequestBuilder events(); + + IEventRequestBuilder events(final String id); + + IEventCollectionRequestBuilder calendarView(); + + IEventRequestBuilder calendarView(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionPage.java index 169e0c58594..d01d569d1de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseChannelCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Channel Collection Page. */ -public interface IChannelCollectionPage extends IBaseChannelCollectionPage { - +public interface IChannelCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequest.java index 925c44a8d29..e9b0ff07c11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseChannelCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Channel Collection Request. */ -public interface IChannelCollectionRequest extends IBaseChannelCollectionRequest { +public interface IChannelCollectionRequest { + + void get(final ICallback callback); + + IChannelCollectionPage get() throws ClientException; + + void post(final Channel newChannel, final ICallback callback); + + Channel post(final Channel newChannel) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IChannelCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IChannelCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IChannelCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequestBuilder.java index eaf5575b6e8..6317ebcb886 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChannelCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseChannelCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Channel Collection Request Builder. */ -public interface IChannelCollectionRequestBuilder extends IBaseChannelCollectionRequestBuilder { +public interface IChannelCollectionRequestBuilder extends IRequestBuilder { + + IChannelCollectionRequest buildRequest(); + + IChannelCollectionRequest buildRequest(final java.util.List requestOptions); + + IChannelRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequest.java index c4e76a49d89..66377de023c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Channel; -import com.microsoft.graph.requests.generated.IBaseChannelRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Channel Request. */ -public interface IChannelRequest extends IBaseChannelRequest { +public interface IChannelRequest extends IHttpRequest { + + /** + * Gets the Channel from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Channel from the service + * + * @return the Channel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Channel get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Channel with a source + * + * @param sourceChannel the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Channel sourceChannel, final ICallback callback); + + /** + * Patches this Channel with a source + * + * @param sourceChannel the source object with updates + * @return the updated Channel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Channel patch(final Channel sourceChannel) throws ClientException; + + /** + * Posts a Channel with a new object + * + * @param newChannel the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Channel newChannel, final ICallback callback); + + /** + * Posts a Channel with a new object + * + * @param newChannel the new object to create + * @return the created Channel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Channel post(final Channel newChannel) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IChannelRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IChannelRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequestBuilder.java index 00e118e9f75..2197832bc02 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IChannelRequest; +import com.microsoft.graph.requests.extensions.ITeamsTabCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsTabRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseChannelRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Channel Request Builder. */ -public interface IChannelRequestBuilder extends IBaseChannelRequestBuilder { +public interface IChannelRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IChannelRequest instance + */ + IChannelRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IChannelRequest instance + */ + IChannelRequest buildRequest(final java.util.List requestOptions); + + + ITeamsTabCollectionRequestBuilder tabs(); + + ITeamsTabRequestBuilder tabs(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionPage.java index fa88cb6cd2a..d6d899d3bf6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseColumnDefinitionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Definition Collection Page. */ -public interface IColumnDefinitionCollectionPage extends IBaseColumnDefinitionCollectionPage { - +public interface IColumnDefinitionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequest.java index 1e0cca9a7e0..80d76767ca0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseColumnDefinitionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Definition Collection Request. */ -public interface IColumnDefinitionCollectionRequest extends IBaseColumnDefinitionCollectionRequest { +public interface IColumnDefinitionCollectionRequest { + + void get(final ICallback callback); + + IColumnDefinitionCollectionPage get() throws ClientException; + + void post(final ColumnDefinition newColumnDefinition, final ICallback callback); + + ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IColumnDefinitionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IColumnDefinitionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IColumnDefinitionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequestBuilder.java index 5477e24a2b7..66303689cda 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Definition Collection Request Builder. */ -public interface IColumnDefinitionCollectionRequestBuilder extends IBaseColumnDefinitionCollectionRequestBuilder { +public interface IColumnDefinitionCollectionRequestBuilder extends IRequestBuilder { + + IColumnDefinitionCollectionRequest buildRequest(); + + IColumnDefinitionCollectionRequest buildRequest(final java.util.List requestOptions); + + IColumnDefinitionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequest.java index 3670fc0fcfb..6b92cd8a7f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ColumnDefinition; -import com.microsoft.graph.requests.generated.IBaseColumnDefinitionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Definition Request. */ -public interface IColumnDefinitionRequest extends IBaseColumnDefinitionRequest { +public interface IColumnDefinitionRequest extends IHttpRequest { + + /** + * Gets the ColumnDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ColumnDefinition from the service + * + * @return the ColumnDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnDefinition get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ColumnDefinition with a source + * + * @param sourceColumnDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ColumnDefinition sourceColumnDefinition, final ICallback callback); + + /** + * Patches this ColumnDefinition with a source + * + * @param sourceColumnDefinition the source object with updates + * @return the updated ColumnDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnDefinition patch(final ColumnDefinition sourceColumnDefinition) throws ClientException; + + /** + * Posts a ColumnDefinition with a new object + * + * @param newColumnDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ColumnDefinition newColumnDefinition, final ICallback callback); + + /** + * Posts a ColumnDefinition with a new object + * + * @param newColumnDefinition the new object to create + * @return the created ColumnDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IColumnDefinitionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IColumnDefinitionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequestBuilder.java index 5c3cf627e05..e9d055aa14c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequest; -import com.microsoft.graph.requests.generated.IBaseColumnDefinitionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Definition Request Builder. */ -public interface IColumnDefinitionRequestBuilder extends IBaseColumnDefinitionRequestBuilder { +public interface IColumnDefinitionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IColumnDefinitionRequest instance + */ + IColumnDefinitionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IColumnDefinitionRequest instance + */ + IColumnDefinitionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionPage.java index 3f8b106c5c9..25579863bde 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseColumnLinkCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Link Collection Page. */ -public interface IColumnLinkCollectionPage extends IBaseColumnLinkCollectionPage { - +public interface IColumnLinkCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequest.java index 46b2cac6810..7d022bccb79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseColumnLinkCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Link Collection Request. */ -public interface IColumnLinkCollectionRequest extends IBaseColumnLinkCollectionRequest { +public interface IColumnLinkCollectionRequest { + + void get(final ICallback callback); + + IColumnLinkCollectionPage get() throws ClientException; + + void post(final ColumnLink newColumnLink, final ICallback callback); + + ColumnLink post(final ColumnLink newColumnLink) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IColumnLinkCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IColumnLinkCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IColumnLinkCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequestBuilder.java index 96a7446b060..d85a3bb7cf7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseColumnLinkCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Link Collection Request Builder. */ -public interface IColumnLinkCollectionRequestBuilder extends IBaseColumnLinkCollectionRequestBuilder { +public interface IColumnLinkCollectionRequestBuilder extends IRequestBuilder { + + IColumnLinkCollectionRequest buildRequest(); + + IColumnLinkCollectionRequest buildRequest(final java.util.List requestOptions); + + IColumnLinkRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequest.java index 5879af93461..71bface206a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ColumnLink; -import com.microsoft.graph.requests.generated.IBaseColumnLinkRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Link Request. */ -public interface IColumnLinkRequest extends IBaseColumnLinkRequest { +public interface IColumnLinkRequest extends IHttpRequest { + + /** + * Gets the ColumnLink from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ColumnLink from the service + * + * @return the ColumnLink from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnLink get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ColumnLink with a source + * + * @param sourceColumnLink the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ColumnLink sourceColumnLink, final ICallback callback); + + /** + * Patches this ColumnLink with a source + * + * @param sourceColumnLink the source object with updates + * @return the updated ColumnLink + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnLink patch(final ColumnLink sourceColumnLink) throws ClientException; + + /** + * Posts a ColumnLink with a new object + * + * @param newColumnLink the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ColumnLink newColumnLink, final ICallback callback); + + /** + * Posts a ColumnLink with a new object + * + * @param newColumnLink the new object to create + * @return the created ColumnLink + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnLink post(final ColumnLink newColumnLink) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IColumnLinkRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IColumnLinkRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequestBuilder.java index c1017c26fe8..193d421c8d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IColumnLinkRequest; -import com.microsoft.graph.requests.generated.IBaseColumnLinkRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Column Link Request Builder. */ -public interface IColumnLinkRequestBuilder extends IBaseColumnLinkRequestBuilder { +public interface IColumnLinkRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IColumnLinkRequest instance + */ + IColumnLinkRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IColumnLinkRequest instance + */ + IColumnLinkRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionPage.java index 4241ddaba3c..961c2031d23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Collection Page. */ -public interface IContactCollectionPage extends IBaseContactCollectionPage { - +public interface IContactCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequest.java index b090c714198..7afb0a3acac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Collection Request. */ -public interface IContactCollectionRequest extends IBaseContactCollectionRequest { +public interface IContactCollectionRequest { + + void get(final ICallback callback); + + IContactCollectionPage get() throws ClientException; + + void post(final Contact newContact, final ICallback callback); + + Contact post(final Contact newContact) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContactCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContactCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IContactCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequestBuilder.java index 1e396ff9442..f591c122b51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Collection Request Builder. */ -public interface IContactCollectionRequestBuilder extends IBaseContactCollectionRequestBuilder { +public interface IContactCollectionRequestBuilder extends IRequestBuilder { + + IContactCollectionRequest buildRequest(); + + IContactCollectionRequest buildRequest(final java.util.List requestOptions); + + IContactRequestBuilder byId(final String id); + + + IContactDeltaCollectionRequestBuilder delta(); + IContactDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionPage.java index c71fbd62ac1..2885e157a13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Delta Collection Page. */ -public interface IContactDeltaCollectionPage extends IBaseContactDeltaCollectionPage { - +public interface IContactDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequest.java index b3a5be84bdd..8c87bb6ad5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Delta Collection Request. */ -public interface IContactDeltaCollectionRequest extends IBaseContactDeltaCollectionRequest { +public interface IContactDeltaCollectionRequest { + + void get(final ICallback callback); + + IContactDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContactDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContactDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IContactDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequestBuilder.java index 9e0ffb89751..53f6dddffdc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Delta Collection Request Builder. */ -public interface IContactDeltaCollectionRequestBuilder extends IBaseContactDeltaCollectionRequestBuilder { +public interface IContactDeltaCollectionRequestBuilder extends IRequestBuilder { + + IContactDeltaCollectionRequest buildRequest(); + + IContactDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionPage.java index 67cc9592969..9912e0c558e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactFolderCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Collection Page. */ -public interface IContactFolderCollectionPage extends IBaseContactFolderCollectionPage { - +public interface IContactFolderCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequest.java index d93d3303070..8e999f99170 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactFolderCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Collection Request. */ -public interface IContactFolderCollectionRequest extends IBaseContactFolderCollectionRequest { +public interface IContactFolderCollectionRequest { + + void get(final ICallback callback); + + IContactFolderCollectionPage get() throws ClientException; + + void post(final ContactFolder newContactFolder, final ICallback callback); + + ContactFolder post(final ContactFolder newContactFolder) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContactFolderCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContactFolderCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IContactFolderCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequestBuilder.java index ce6d517886a..782796ff130 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactFolderCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Collection Request Builder. */ -public interface IContactFolderCollectionRequestBuilder extends IBaseContactFolderCollectionRequestBuilder { +public interface IContactFolderCollectionRequestBuilder extends IRequestBuilder { + + IContactFolderCollectionRequest buildRequest(); + + IContactFolderCollectionRequest buildRequest(final java.util.List requestOptions); + + IContactFolderRequestBuilder byId(final String id); + + + IContactFolderDeltaCollectionRequestBuilder delta(); + IContactFolderDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionPage.java index 67ffbdd872b..aa3c7a9501c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactFolderDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Delta Collection Page. */ -public interface IContactFolderDeltaCollectionPage extends IBaseContactFolderDeltaCollectionPage { - +public interface IContactFolderDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequest.java index 798a42b514b..ffeb470bb72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactFolderDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Delta Collection Request. */ -public interface IContactFolderDeltaCollectionRequest extends IBaseContactFolderDeltaCollectionRequest { +public interface IContactFolderDeltaCollectionRequest { + + void get(final ICallback callback); + + IContactFolderDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContactFolderDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContactFolderDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IContactFolderDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequestBuilder.java index d9bea534091..5ecbe47e510 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContactFolderDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Delta Collection Request Builder. */ -public interface IContactFolderDeltaCollectionRequestBuilder extends IBaseContactFolderDeltaCollectionRequestBuilder { +public interface IContactFolderDeltaCollectionRequestBuilder extends IRequestBuilder { + + IContactFolderDeltaCollectionRequest buildRequest(); + + IContactFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequest.java index 6f42b61d343..e47714bf8dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ContactFolder; -import com.microsoft.graph.requests.generated.IBaseContactFolderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Request. */ -public interface IContactFolderRequest extends IBaseContactFolderRequest { +public interface IContactFolderRequest extends IHttpRequest { + + /** + * Gets the ContactFolder from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ContactFolder from the service + * + * @return the ContactFolder from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContactFolder get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ContactFolder with a source + * + * @param sourceContactFolder the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ContactFolder sourceContactFolder, final ICallback callback); + + /** + * Patches this ContactFolder with a source + * + * @param sourceContactFolder the source object with updates + * @return the updated ContactFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContactFolder patch(final ContactFolder sourceContactFolder) throws ClientException; + + /** + * Posts a ContactFolder with a new object + * + * @param newContactFolder the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ContactFolder newContactFolder, final ICallback callback); + + /** + * Posts a ContactFolder with a new object + * + * @param newContactFolder the new object to create + * @return the created ContactFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContactFolder post(final ContactFolder newContactFolder) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContactFolderRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContactFolderRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequestBuilder.java index 53ac028f8ec..4b5748ac4a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequestBuilder.java @@ -3,14 +3,56 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContactFolderRequest; +import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseContactFolderRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Folder Request Builder. */ -public interface IContactFolderRequestBuilder extends IBaseContactFolderRequestBuilder { +public interface IContactFolderRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IContactFolderRequest instance + */ + IContactFolderRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IContactFolderRequest instance + */ + IContactFolderRequest buildRequest(final java.util.List requestOptions); + + + IContactCollectionRequestBuilder contacts(); + + IContactRequestBuilder contacts(final String id); + + IContactFolderCollectionRequestBuilder childFolders(); + + IContactFolderRequestBuilder childFolders(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactRequest.java index 9de0bbf60e2..51eee3c1dc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Contact; -import com.microsoft.graph.requests.generated.IBaseContactRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Request. */ -public interface IContactRequest extends IBaseContactRequest { +public interface IContactRequest extends IHttpRequest { + + /** + * Gets the Contact from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Contact from the service + * + * @return the Contact from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contact get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Contact with a source + * + * @param sourceContact the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Contact sourceContact, final ICallback callback); + + /** + * Patches this Contact with a source + * + * @param sourceContact the source object with updates + * @return the updated Contact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contact patch(final Contact sourceContact) throws ClientException; + + /** + * Posts a Contact with a new object + * + * @param newContact the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Contact newContact, final ICallback callback); + + /** + * Posts a Contact with a new object + * + * @param newContact the new object to create + * @return the created Contact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contact post(final Contact newContact) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContactRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContactRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContactRequestBuilder.java index 599f06ea976..115ed61621c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContactRequest; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseContactRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contact Request Builder. */ -public interface IContactRequestBuilder extends IBaseContactRequestBuilder { +public interface IContactRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IContactRequest instance + */ + IContactRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IContactRequest instance + */ + IContactRequest buildRequest(final java.util.List requestOptions); + + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); + + /** + * Gets the request builder for ProfilePhoto + * + * @return the IProfilePhotoRequestBuilder instance + */ + IProfilePhotoRequestBuilder photo(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionPage.java index ef6c555f62d..eafcfc711ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContentTypeCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Content Type Collection Page. */ -public interface IContentTypeCollectionPage extends IBaseContentTypeCollectionPage { - +public interface IContentTypeCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequest.java index c67f701b375..7dfbd70cf1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContentTypeCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Content Type Collection Request. */ -public interface IContentTypeCollectionRequest extends IBaseContentTypeCollectionRequest { +public interface IContentTypeCollectionRequest { + + void get(final ICallback callback); + + IContentTypeCollectionPage get() throws ClientException; + + void post(final ContentType newContentType, final ICallback callback); + + ContentType post(final ContentType newContentType) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContentTypeCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContentTypeCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IContentTypeCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequestBuilder.java index 7187d077da9..f98f98e992c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContentTypeCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Content Type Collection Request Builder. */ -public interface IContentTypeCollectionRequestBuilder extends IBaseContentTypeCollectionRequestBuilder { +public interface IContentTypeCollectionRequestBuilder extends IRequestBuilder { + + IContentTypeCollectionRequest buildRequest(); + + IContentTypeCollectionRequest buildRequest(final java.util.List requestOptions); + + IContentTypeRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequest.java index 6b4b6c4df14..f238ce3c5fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ContentType; -import com.microsoft.graph.requests.generated.IBaseContentTypeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Content Type Request. */ -public interface IContentTypeRequest extends IBaseContentTypeRequest { +public interface IContentTypeRequest extends IHttpRequest { + + /** + * Gets the ContentType from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ContentType from the service + * + * @return the ContentType from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContentType get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ContentType with a source + * + * @param sourceContentType the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ContentType sourceContentType, final ICallback callback); + + /** + * Patches this ContentType with a source + * + * @param sourceContentType the source object with updates + * @return the updated ContentType + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContentType patch(final ContentType sourceContentType) throws ClientException; + + /** + * Posts a ContentType with a new object + * + * @param newContentType the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ContentType newContentType, final ICallback callback); + + /** + * Posts a ContentType with a new object + * + * @param newContentType the new object to create + * @return the created ContentType + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContentType post(final ContentType newContentType) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContentTypeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContentTypeRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequestBuilder.java index 6777da7d545..6ac61d05c75 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContentTypeRequest; +import com.microsoft.graph.requests.extensions.IColumnLinkCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IColumnLinkRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseContentTypeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Content Type Request Builder. */ -public interface IContentTypeRequestBuilder extends IBaseContentTypeRequestBuilder { +public interface IContentTypeRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IContentTypeRequest instance + */ + IContentTypeRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IContentTypeRequest instance + */ + IContentTypeRequest buildRequest(final java.util.List requestOptions); + + + IColumnLinkCollectionRequestBuilder columnLinks(); + + IColumnLinkRequestBuilder columnLinks(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionPage.java index cea825d0279..c09cba88106 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContractCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contract Collection Page. */ -public interface IContractCollectionPage extends IBaseContractCollectionPage { - +public interface IContractCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequest.java index 07920d718cb..23de5899651 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContractCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contract Collection Request. */ -public interface IContractCollectionRequest extends IBaseContractCollectionRequest { +public interface IContractCollectionRequest { + + void get(final ICallback callback); + + IContractCollectionPage get() throws ClientException; + + void post(final Contract newContract, final ICallback callback); + + Contract post(final Contract newContract) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContractCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContractCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IContractCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequestBuilder.java index 24ce9f900e0..9acb602cc1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContractCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseContractCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contract Collection Request Builder. */ -public interface IContractCollectionRequestBuilder extends IBaseContractCollectionRequestBuilder { +public interface IContractCollectionRequestBuilder extends IRequestBuilder { + + IContractCollectionRequest buildRequest(); + + IContractCollectionRequest buildRequest(final java.util.List requestOptions); + + IContractRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContractRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IContractRequest.java index 7f4694fe54e..376fd9f68a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContractRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContractRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Contract; -import com.microsoft.graph.requests.generated.IBaseContractRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contract Request. */ -public interface IContractRequest extends IBaseContractRequest { +public interface IContractRequest extends IHttpRequest { + + /** + * Gets the Contract from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Contract from the service + * + * @return the Contract from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contract get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Contract with a source + * + * @param sourceContract the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Contract sourceContract, final ICallback callback); + + /** + * Patches this Contract with a source + * + * @param sourceContract the source object with updates + * @return the updated Contract + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contract patch(final Contract sourceContract) throws ClientException; + + /** + * Posts a Contract with a new object + * + * @param newContract the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Contract newContract, final ICallback callback); + + /** + * Posts a Contract with a new object + * + * @param newContract the new object to create + * @return the created Contract + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contract post(final Contract newContract) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IContractRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IContractRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IContractRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IContractRequestBuilder.java index 3c812adbb79..e382d4dc703 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContractRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContractRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IContractRequest; -import com.microsoft.graph.requests.generated.IBaseContractRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Contract Request Builder. */ -public interface IContractRequestBuilder extends IBaseContractRequestBuilder { +public interface IContractRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IContractRequest instance + */ + IContractRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IContractRequest instance + */ + IContractRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionPage.java index fd03b09f939..97b93c6e51c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseConversationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Collection Page. */ -public interface IConversationCollectionPage extends IBaseConversationCollectionPage { - +public interface IConversationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequest.java index 635a0987fa6..b69233224a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseConversationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Collection Request. */ -public interface IConversationCollectionRequest extends IBaseConversationCollectionRequest { +public interface IConversationCollectionRequest { + + void get(final ICallback callback); + + IConversationCollectionPage get() throws ClientException; + + void post(final Conversation newConversation, final ICallback callback); + + Conversation post(final Conversation newConversation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IConversationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IConversationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IConversationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequestBuilder.java index 7b2468fd3e2..4363b564246 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseConversationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Collection Request Builder. */ -public interface IConversationCollectionRequestBuilder extends IBaseConversationCollectionRequestBuilder { +public interface IConversationCollectionRequestBuilder extends IRequestBuilder { + + IConversationCollectionRequest buildRequest(); + + IConversationCollectionRequest buildRequest(final java.util.List requestOptions); + + IConversationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequest.java index f33f24398a0..8dcdf8c6939 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Conversation; -import com.microsoft.graph.requests.generated.IBaseConversationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Request. */ -public interface IConversationRequest extends IBaseConversationRequest { +public interface IConversationRequest extends IHttpRequest { + + /** + * Gets the Conversation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Conversation from the service + * + * @return the Conversation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Conversation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Conversation with a source + * + * @param sourceConversation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Conversation sourceConversation, final ICallback callback); + + /** + * Patches this Conversation with a source + * + * @param sourceConversation the source object with updates + * @return the updated Conversation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Conversation patch(final Conversation sourceConversation) throws ClientException; + + /** + * Posts a Conversation with a new object + * + * @param newConversation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Conversation newConversation, final ICallback callback); + + /** + * Posts a Conversation with a new object + * + * @param newConversation the new object to create + * @return the created Conversation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Conversation post(final Conversation newConversation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IConversationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IConversationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequestBuilder.java index 5dc2437eed3..3c1c994a1a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationRequest; +import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseConversationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Request Builder. */ -public interface IConversationRequestBuilder extends IBaseConversationRequestBuilder { +public interface IConversationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IConversationRequest instance + */ + IConversationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IConversationRequest instance + */ + IConversationRequest buildRequest(final java.util.List requestOptions); + + + IConversationThreadCollectionRequestBuilder threads(); + + IConversationThreadRequestBuilder threads(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionPage.java index 6b7b06543d3..d229b0b06a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseConversationThreadCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Collection Page. */ -public interface IConversationThreadCollectionPage extends IBaseConversationThreadCollectionPage { - +public interface IConversationThreadCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequest.java index 15d85609457..b7b50073f82 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseConversationThreadCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Collection Request. */ -public interface IConversationThreadCollectionRequest extends IBaseConversationThreadCollectionRequest { +public interface IConversationThreadCollectionRequest { + + void get(final ICallback callback); + + IConversationThreadCollectionPage get() throws ClientException; + + void post(final ConversationThread newConversationThread, final ICallback callback); + + ConversationThread post(final ConversationThread newConversationThread) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IConversationThreadCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IConversationThreadCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IConversationThreadCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequestBuilder.java index 4fbf574905c..01e616222ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Collection Request Builder. */ -public interface IConversationThreadCollectionRequestBuilder extends IBaseConversationThreadCollectionRequestBuilder { +public interface IConversationThreadCollectionRequestBuilder extends IRequestBuilder { + + IConversationThreadCollectionRequest buildRequest(); + + IConversationThreadCollectionRequest buildRequest(final java.util.List requestOptions); + + IConversationThreadRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequest.java index cf8a166e78e..320bb038464 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; -import com.microsoft.graph.requests.generated.IBaseConversationThreadReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Reply Request. */ -public interface IConversationThreadReplyRequest extends IBaseConversationThreadReplyRequest { +public interface IConversationThreadReplyRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IConversationThreadReplyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IConversationThreadReplyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IConversationThreadReplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequestBuilder.java index 3f7e1c74907..bc0fa3075fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadReplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; -import com.microsoft.graph.requests.generated.IBaseConversationThreadReplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Reply Request Builder. */ -public interface IConversationThreadReplyRequestBuilder extends IBaseConversationThreadReplyRequestBuilder { +public interface IConversationThreadReplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IConversationThreadReplyRequest + * + * @return the IConversationThreadReplyRequest instance + */ + IConversationThreadReplyRequest buildRequest(); + + /** + * Creates the IConversationThreadReplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IConversationThreadReplyRequest instance + */ + IConversationThreadReplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequest.java index 16be396d432..d2c669819f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ConversationThread; -import com.microsoft.graph.requests.generated.IBaseConversationThreadRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Request. */ -public interface IConversationThreadRequest extends IBaseConversationThreadRequest { +public interface IConversationThreadRequest extends IHttpRequest { + + /** + * Gets the ConversationThread from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ConversationThread from the service + * + * @return the ConversationThread from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConversationThread get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ConversationThread with a source + * + * @param sourceConversationThread the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ConversationThread sourceConversationThread, final ICallback callback); + + /** + * Patches this ConversationThread with a source + * + * @param sourceConversationThread the source object with updates + * @return the updated ConversationThread + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConversationThread patch(final ConversationThread sourceConversationThread) throws ClientException; + + /** + * Posts a ConversationThread with a new object + * + * @param newConversationThread the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ConversationThread newConversationThread, final ICallback callback); + + /** + * Posts a ConversationThread with a new object + * + * @param newConversationThread the new object to create + * @return the created ConversationThread + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConversationThread post(final ConversationThread newConversationThread) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IConversationThreadRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IConversationThreadRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequestBuilder.java index 503f2527491..36e66fc4061 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequestBuilder.java @@ -3,14 +3,41 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IConversationThreadRequest; +import com.microsoft.graph.requests.extensions.IPostCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPostRequestBuilder; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseConversationThreadRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Conversation Thread Request Builder. */ -public interface IConversationThreadRequestBuilder extends IBaseConversationThreadRequestBuilder { +public interface IConversationThreadRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IConversationThreadRequest instance + */ + IConversationThreadRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IConversationThreadRequest instance + */ + IConversationThreadRequest buildRequest(final java.util.List requestOptions); + + + IPostCollectionRequestBuilder posts(); + + IPostRequestBuilder posts(final String id); + IConversationThreadReplyRequestBuilder reply(final Post post); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionPage.java index d17bef98ed5..ac29da29a77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDataPolicyOperationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Data Policy Operation Collection Page. */ -public interface IDataPolicyOperationCollectionPage extends IBaseDataPolicyOperationCollectionPage { - +public interface IDataPolicyOperationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequest.java index bafed67dd28..4b92235486f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDataPolicyOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Data Policy Operation Collection Request. */ -public interface IDataPolicyOperationCollectionRequest extends IBaseDataPolicyOperationCollectionRequest { +public interface IDataPolicyOperationCollectionRequest { + + void get(final ICallback callback); + + IDataPolicyOperationCollectionPage get() throws ClientException; + + void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback); + + DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDataPolicyOperationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDataPolicyOperationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDataPolicyOperationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequestBuilder.java index d2fe07f76ec..6f549691145 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDataPolicyOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Data Policy Operation Collection Request Builder. */ -public interface IDataPolicyOperationCollectionRequestBuilder extends IBaseDataPolicyOperationCollectionRequestBuilder { +public interface IDataPolicyOperationCollectionRequestBuilder extends IRequestBuilder { + + IDataPolicyOperationCollectionRequest buildRequest(); + + IDataPolicyOperationCollectionRequest buildRequest(final java.util.List requestOptions); + + IDataPolicyOperationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequest.java index e276c92df5f..e45b06ccc10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DataPolicyOperation; -import com.microsoft.graph.requests.generated.IBaseDataPolicyOperationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Data Policy Operation Request. */ -public interface IDataPolicyOperationRequest extends IBaseDataPolicyOperationRequest { +public interface IDataPolicyOperationRequest extends IHttpRequest { + + /** + * Gets the DataPolicyOperation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DataPolicyOperation from the service + * + * @return the DataPolicyOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DataPolicyOperation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DataPolicyOperation with a source + * + * @param sourceDataPolicyOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DataPolicyOperation sourceDataPolicyOperation, final ICallback callback); + + /** + * Patches this DataPolicyOperation with a source + * + * @param sourceDataPolicyOperation the source object with updates + * @return the updated DataPolicyOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DataPolicyOperation patch(final DataPolicyOperation sourceDataPolicyOperation) throws ClientException; + + /** + * Posts a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback); + + /** + * Posts a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the new object to create + * @return the created DataPolicyOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDataPolicyOperationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDataPolicyOperationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequestBuilder.java index 1aa702a5888..77fbf73ece4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequest; -import com.microsoft.graph.requests.generated.IBaseDataPolicyOperationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Data Policy Operation Request Builder. */ -public interface IDataPolicyOperationRequestBuilder extends IBaseDataPolicyOperationRequestBuilder { +public interface IDataPolicyOperationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDataPolicyOperationRequest instance + */ + IDataPolicyOperationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDataPolicyOperationRequest instance + */ + IDataPolicyOperationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionPage.java index fdd53374e73..1e6eaabd5c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDefaultManagedAppProtectionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Default Managed App Protection Collection Page. */ -public interface IDefaultManagedAppProtectionCollectionPage extends IBaseDefaultManagedAppProtectionCollectionPage { - +public interface IDefaultManagedAppProtectionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequest.java index 9a9202cfa16..5e705bb5679 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDefaultManagedAppProtectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Default Managed App Protection Collection Request. */ -public interface IDefaultManagedAppProtectionCollectionRequest extends IBaseDefaultManagedAppProtectionCollectionRequest { +public interface IDefaultManagedAppProtectionCollectionRequest { + + void get(final ICallback callback); + + IDefaultManagedAppProtectionCollectionPage get() throws ClientException; + + void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback); + + DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDefaultManagedAppProtectionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDefaultManagedAppProtectionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDefaultManagedAppProtectionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequestBuilder.java index 7d4dfd87206..43c1c22f809 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDefaultManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Default Managed App Protection Collection Request Builder. */ -public interface IDefaultManagedAppProtectionCollectionRequestBuilder extends IBaseDefaultManagedAppProtectionCollectionRequestBuilder { +public interface IDefaultManagedAppProtectionCollectionRequestBuilder extends IRequestBuilder { + + IDefaultManagedAppProtectionCollectionRequest buildRequest(); + + IDefaultManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions); + + IDefaultManagedAppProtectionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequest.java index 303e321ad5d..9d7844a6ff5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; -import com.microsoft.graph.requests.generated.IBaseDefaultManagedAppProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Default Managed App Protection Request. */ -public interface IDefaultManagedAppProtectionRequest extends IBaseDefaultManagedAppProtectionRequest { +public interface IDefaultManagedAppProtectionRequest extends IHttpRequest { + + /** + * Gets the DefaultManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DefaultManagedAppProtection from the service + * + * @return the DefaultManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DefaultManagedAppProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DefaultManagedAppProtection with a source + * + * @param sourceDefaultManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection, final ICallback callback); + + /** + * Patches this DefaultManagedAppProtection with a source + * + * @param sourceDefaultManagedAppProtection the source object with updates + * @return the updated DefaultManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DefaultManagedAppProtection patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection) throws ClientException; + + /** + * Posts a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback); + + /** + * Posts a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the new object to create + * @return the created DefaultManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDefaultManagedAppProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDefaultManagedAppProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequestBuilder.java index 3cfbe5749da..626978c7057 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequestBuilder.java @@ -3,14 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDefaultManagedAppProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Default Managed App Protection Request Builder. */ -public interface IDefaultManagedAppProtectionRequestBuilder extends IBaseDefaultManagedAppProtectionRequestBuilder { +public interface IDefaultManagedAppProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDefaultManagedAppProtectionRequest instance + */ + IDefaultManagedAppProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDefaultManagedAppProtectionRequest instance + */ + IDefaultManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); + + + IManagedMobileAppCollectionRequestBuilder apps(); + + IManagedMobileAppRequestBuilder apps(final String id); + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionPage.java index afdb883071d..a903c9620ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDetectedAppCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Detected App Collection Page. */ -public interface IDetectedAppCollectionPage extends IBaseDetectedAppCollectionPage { - +public interface IDetectedAppCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequest.java index 4aab3a8457a..2e6f6082e01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDetectedAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Detected App Collection Request. */ -public interface IDetectedAppCollectionRequest extends IBaseDetectedAppCollectionRequest { +public interface IDetectedAppCollectionRequest { + + void get(final ICallback callback); + + IDetectedAppCollectionPage get() throws ClientException; + + void post(final DetectedApp newDetectedApp, final ICallback callback); + + DetectedApp post(final DetectedApp newDetectedApp) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDetectedAppCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDetectedAppCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDetectedAppCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequestBuilder.java index 518f4fda1b2..d81a2c56b8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDetectedAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Detected App Collection Request Builder. */ -public interface IDetectedAppCollectionRequestBuilder extends IBaseDetectedAppCollectionRequestBuilder { +public interface IDetectedAppCollectionRequestBuilder extends IRequestBuilder { + + IDetectedAppCollectionRequest buildRequest(); + + IDetectedAppCollectionRequest buildRequest(final java.util.List requestOptions); + + IDetectedAppRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequest.java index f1c71638f89..9e01ce9bd68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DetectedApp; -import com.microsoft.graph.requests.generated.IBaseDetectedAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Detected App Request. */ -public interface IDetectedAppRequest extends IBaseDetectedAppRequest { +public interface IDetectedAppRequest extends IHttpRequest { + + /** + * Gets the DetectedApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DetectedApp from the service + * + * @return the DetectedApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DetectedApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DetectedApp with a source + * + * @param sourceDetectedApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DetectedApp sourceDetectedApp, final ICallback callback); + + /** + * Patches this DetectedApp with a source + * + * @param sourceDetectedApp the source object with updates + * @return the updated DetectedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DetectedApp patch(final DetectedApp sourceDetectedApp) throws ClientException; + + /** + * Posts a DetectedApp with a new object + * + * @param newDetectedApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DetectedApp newDetectedApp, final ICallback callback); + + /** + * Posts a DetectedApp with a new object + * + * @param newDetectedApp the new object to create + * @return the created DetectedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DetectedApp post(final DetectedApp newDetectedApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDetectedAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDetectedAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequestBuilder.java index 0bcb835b848..161320d3b5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDetectedAppRequest; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDetectedAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Detected App Request Builder. */ -public interface IDetectedAppRequestBuilder extends IBaseDetectedAppRequestBuilder { +public interface IDetectedAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDetectedAppRequest instance + */ + IDetectedAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDetectedAppRequest instance + */ + IDetectedAppRequest buildRequest(final java.util.List requestOptions); + + + IManagedDeviceCollectionWithReferencesRequestBuilder managedDevices(); + + IManagedDeviceWithReferenceRequestBuilder managedDevices(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionPage.java index c200f8a52b9..7e3fe3d1955 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Assignment Collection Page. */ -public interface IDeviceAndAppManagementRoleAssignmentCollectionPage extends IBaseDeviceAndAppManagementRoleAssignmentCollectionPage { - +public interface IDeviceAndAppManagementRoleAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequest.java index 6ecb026f9cf..0df3d0f99a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Assignment Collection Request. */ -public interface IDeviceAndAppManagementRoleAssignmentCollectionRequest extends IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest { +public interface IDeviceAndAppManagementRoleAssignmentCollectionRequest { + + void get(final ICallback callback); + + IDeviceAndAppManagementRoleAssignmentCollectionPage get() throws ClientException; + + void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback); + + DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceAndAppManagementRoleAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceAndAppManagementRoleAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceAndAppManagementRoleAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java index 76ec2bf4153..8a69e05e904 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Assignment Collection Request Builder. */ -public interface IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extends IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder { +public interface IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest(); + + IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceAndAppManagementRoleAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequest.java index 517011a57de..cd3b8a6e06f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Assignment Request. */ -public interface IDeviceAndAppManagementRoleAssignmentRequest extends IBaseDeviceAndAppManagementRoleAssignmentRequest { +public interface IDeviceAndAppManagementRoleAssignmentRequest extends IHttpRequest { + + /** + * Gets the DeviceAndAppManagementRoleAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceAndAppManagementRoleAssignment from the service + * + * @return the DeviceAndAppManagementRoleAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceAndAppManagementRoleAssignment with a source + * + * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment, final ICallback callback); + + /** + * Patches this DeviceAndAppManagementRoleAssignment with a source + * + * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates + * @return the updated DeviceAndAppManagementRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleAssignment patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment) throws ClientException; + + /** + * Posts a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback); + + /** + * Posts a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the new object to create + * @return the created DeviceAndAppManagementRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceAndAppManagementRoleAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceAndAppManagementRoleAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequestBuilder.java index c5ff4f13681..aa69e81e6e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Assignment Request Builder. */ -public interface IDeviceAndAppManagementRoleAssignmentRequestBuilder extends IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder { +public interface IDeviceAndAppManagementRoleAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceAndAppManagementRoleAssignmentRequest instance + */ + IDeviceAndAppManagementRoleAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceAndAppManagementRoleAssignmentRequest instance + */ + IDeviceAndAppManagementRoleAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequest.java index 6aba986c7da..17c3d839922 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleDefinition; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleDefinitionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Definition Request. */ -public interface IDeviceAndAppManagementRoleDefinitionRequest extends IBaseDeviceAndAppManagementRoleDefinitionRequest { +public interface IDeviceAndAppManagementRoleDefinitionRequest extends IHttpRequest { + + /** + * Gets the DeviceAndAppManagementRoleDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceAndAppManagementRoleDefinition from the service + * + * @return the DeviceAndAppManagementRoleDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleDefinition get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceAndAppManagementRoleDefinition with a source + * + * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition, final ICallback callback); + + /** + * Patches this DeviceAndAppManagementRoleDefinition with a source + * + * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates + * @return the updated DeviceAndAppManagementRoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleDefinition patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition) throws ClientException; + + /** + * Posts a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition, final ICallback callback); + + /** + * Posts a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the new object to create + * @return the created DeviceAndAppManagementRoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleDefinition post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceAndAppManagementRoleDefinitionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceAndAppManagementRoleDefinitionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequestBuilder.java index 7bfc31eea37..2fc53c4a224 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleDefinitionRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device And App Management Role Definition Request Builder. */ -public interface IDeviceAndAppManagementRoleDefinitionRequestBuilder extends IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder { +public interface IDeviceAndAppManagementRoleDefinitionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceAndAppManagementRoleDefinitionRequest instance + */ + IDeviceAndAppManagementRoleDefinitionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceAndAppManagementRoleDefinitionRequest instance + */ + IDeviceAndAppManagementRoleDefinitionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequest.java index 312439ee975..6c5060b26c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceAppManagement; -import com.microsoft.graph.requests.generated.IBaseDeviceAppManagementRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device App Management Request. */ -public interface IDeviceAppManagementRequest extends IBaseDeviceAppManagementRequest { +public interface IDeviceAppManagementRequest extends IHttpRequest { + + /** + * Gets the DeviceAppManagement from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceAppManagement from the service + * + * @return the DeviceAppManagement from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAppManagement get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceAppManagement with a source + * + * @param sourceDeviceAppManagement the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceAppManagement sourceDeviceAppManagement, final ICallback callback); + + /** + * Patches this DeviceAppManagement with a source + * + * @param sourceDeviceAppManagement the source object with updates + * @return the updated DeviceAppManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAppManagement patch(final DeviceAppManagement sourceDeviceAppManagement) throws ClientException; + + /** + * Posts a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceAppManagement newDeviceAppManagement, final ICallback callback); + + /** + * Posts a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the new object to create + * @return the created DeviceAppManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAppManagement post(final DeviceAppManagement newDeviceAppManagement) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceAppManagementRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceAppManagementRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequestBuilder.java index e88173597a9..16e621be355 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequestBuilder.java @@ -3,14 +3,118 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequest; +import com.microsoft.graph.requests.extensions.IMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IVppTokenCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IVppTokenRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedEBookCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedEBookRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceAppManagementRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device App Management Request Builder. */ -public interface IDeviceAppManagementRequestBuilder extends IBaseDeviceAppManagementRequestBuilder { +public interface IDeviceAppManagementRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceAppManagementRequest instance + */ + IDeviceAppManagementRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceAppManagementRequest instance + */ + IDeviceAppManagementRequest buildRequest(final java.util.List requestOptions); + + + IMobileAppCollectionRequestBuilder mobileApps(); + + IMobileAppRequestBuilder mobileApps(final String id); + + IMobileAppCategoryCollectionRequestBuilder mobileAppCategories(); + + IMobileAppCategoryRequestBuilder mobileAppCategories(final String id); + + IManagedDeviceMobileAppConfigurationCollectionRequestBuilder mobileAppConfigurations(); + + IManagedDeviceMobileAppConfigurationRequestBuilder mobileAppConfigurations(final String id); + + IVppTokenCollectionRequestBuilder vppTokens(); + + IVppTokenRequestBuilder vppTokens(final String id); + + IManagedAppPolicyCollectionRequestBuilder managedAppPolicies(); + + IManagedAppPolicyRequestBuilder managedAppPolicies(final String id); + + IIosManagedAppProtectionCollectionRequestBuilder iosManagedAppProtections(); + + IIosManagedAppProtectionRequestBuilder iosManagedAppProtections(final String id); + + IAndroidManagedAppProtectionCollectionRequestBuilder androidManagedAppProtections(); + + IAndroidManagedAppProtectionRequestBuilder androidManagedAppProtections(final String id); + + IDefaultManagedAppProtectionCollectionRequestBuilder defaultManagedAppProtections(); + + IDefaultManagedAppProtectionRequestBuilder defaultManagedAppProtections(final String id); + + ITargetedManagedAppConfigurationCollectionRequestBuilder targetedManagedAppConfigurations(); + + ITargetedManagedAppConfigurationRequestBuilder targetedManagedAppConfigurations(final String id); + + IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder mdmWindowsInformationProtectionPolicies(); + + IMdmWindowsInformationProtectionPolicyRequestBuilder mdmWindowsInformationProtectionPolicies(final String id); + + IWindowsInformationProtectionPolicyCollectionRequestBuilder windowsInformationProtectionPolicies(); + + IWindowsInformationProtectionPolicyRequestBuilder windowsInformationProtectionPolicies(final String id); + + IManagedAppRegistrationCollectionRequestBuilder managedAppRegistrations(); + + IManagedAppRegistrationRequestBuilder managedAppRegistrations(final String id); + + IManagedAppStatusCollectionRequestBuilder managedAppStatuses(); + + IManagedAppStatusRequestBuilder managedAppStatuses(final String id); + + IManagedEBookCollectionRequestBuilder managedEBooks(); + + IManagedEBookRequestBuilder managedEBooks(final String id); + IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder syncMicrosoftStoreForBusinessApps(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java index 74911f8840d..2db0028a895 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device App Management Sync Microsoft Store For Business Apps Request. */ -public interface IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest extends IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest { +public interface IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest { + + /** + * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java index ffe89f63aa8..f46f50b02e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device App Management Sync Microsoft Store For Business Apps Request Builder. */ -public interface IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder extends IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder { +public interface IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder extends IRequestBuilder { + /** + * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest + * + * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance + */ + IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest(); + + /** + * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance + */ + IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionPage.java index 1280cbc89a0..0b7609fd9d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCategoryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Category Collection Page. */ -public interface IDeviceCategoryCollectionPage extends IBaseDeviceCategoryCollectionPage { - +public interface IDeviceCategoryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequest.java index b9ccd93db18..bf3b9bb3c67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCategoryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Category Collection Request. */ -public interface IDeviceCategoryCollectionRequest extends IBaseDeviceCategoryCollectionRequest { +public interface IDeviceCategoryCollectionRequest { + + void get(final ICallback callback); + + IDeviceCategoryCollectionPage get() throws ClientException; + + void post(final DeviceCategory newDeviceCategory, final ICallback callback); + + DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCategoryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCategoryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCategoryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequestBuilder.java index 135bfac73d1..66dd9591c5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCategoryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Category Collection Request Builder. */ -public interface IDeviceCategoryCollectionRequestBuilder extends IBaseDeviceCategoryCollectionRequestBuilder { +public interface IDeviceCategoryCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCategoryCollectionRequest buildRequest(); + + IDeviceCategoryCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceCategoryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequest.java index 886581f90f1..5a46ca6cb07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCategory; -import com.microsoft.graph.requests.generated.IBaseDeviceCategoryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Category Request. */ -public interface IDeviceCategoryRequest extends IBaseDeviceCategoryRequest { +public interface IDeviceCategoryRequest extends IHttpRequest { + + /** + * Gets the DeviceCategory from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceCategory from the service + * + * @return the DeviceCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCategory get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceCategory with a source + * + * @param sourceDeviceCategory the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceCategory sourceDeviceCategory, final ICallback callback); + + /** + * Patches this DeviceCategory with a source + * + * @param sourceDeviceCategory the source object with updates + * @return the updated DeviceCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCategory patch(final DeviceCategory sourceDeviceCategory) throws ClientException; + + /** + * Posts a DeviceCategory with a new object + * + * @param newDeviceCategory the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceCategory newDeviceCategory, final ICallback callback); + + /** + * Posts a DeviceCategory with a new object + * + * @param newDeviceCategory the new object to create + * @return the created DeviceCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCategoryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCategoryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequestBuilder.java index 4e8cf6f7f53..075164aee6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceCategoryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Category Request Builder. */ -public interface IDeviceCategoryRequestBuilder extends IBaseDeviceCategoryRequestBuilder { +public interface IDeviceCategoryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceCategoryRequest instance + */ + IDeviceCategoryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceCategoryRequest instance + */ + IDeviceCategoryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionPage.java index 42ca18cc2c0..43d0b3eae16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Collection Page. */ -public interface IDeviceCollectionPage extends IBaseDeviceCollectionPage { - +public interface IDeviceCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequest.java index d7db98a8ed1..063450b6421 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Collection Request. */ -public interface IDeviceCollectionRequest extends IBaseDeviceCollectionRequest { +public interface IDeviceCollectionRequest { + + void get(final ICallback callback); + + IDeviceCollectionPage get() throws ClientException; + + void post(final Device newDevice, final ICallback callback); + + Device post(final Device newDevice) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequestBuilder.java index cce9c9e38d8..d13aa443989 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Collection Request Builder. */ -public interface IDeviceCollectionRequestBuilder extends IBaseDeviceCollectionRequestBuilder { +public interface IDeviceCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCollectionRequest buildRequest(); + + IDeviceCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionPage.java index cc60a28fe75..065508743ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceActionItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Action Item Collection Page. */ -public interface IDeviceComplianceActionItemCollectionPage extends IBaseDeviceComplianceActionItemCollectionPage { - +public interface IDeviceComplianceActionItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequest.java index d4ed98c0254..7ba550590f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceActionItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Action Item Collection Request. */ -public interface IDeviceComplianceActionItemCollectionRequest extends IBaseDeviceComplianceActionItemCollectionRequest { +public interface IDeviceComplianceActionItemCollectionRequest { + + void get(final ICallback callback); + + IDeviceComplianceActionItemCollectionPage get() throws ClientException; + + void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback); + + DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceActionItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceActionItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceComplianceActionItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequestBuilder.java index 1840ff7cd8c..2853aa8e254 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceActionItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Action Item Collection Request Builder. */ -public interface IDeviceComplianceActionItemCollectionRequestBuilder extends IBaseDeviceComplianceActionItemCollectionRequestBuilder { +public interface IDeviceComplianceActionItemCollectionRequestBuilder extends IRequestBuilder { + + IDeviceComplianceActionItemCollectionRequest buildRequest(); + + IDeviceComplianceActionItemCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceComplianceActionItemRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequest.java index 473428b2f5c..de4a4721db1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceActionItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Action Item Request. */ -public interface IDeviceComplianceActionItemRequest extends IBaseDeviceComplianceActionItemRequest { +public interface IDeviceComplianceActionItemRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceActionItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceActionItem from the service + * + * @return the DeviceComplianceActionItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceActionItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceActionItem with a source + * + * @param sourceDeviceComplianceActionItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem, final ICallback callback); + + /** + * Patches this DeviceComplianceActionItem with a source + * + * @param sourceDeviceComplianceActionItem the source object with updates + * @return the updated DeviceComplianceActionItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceActionItem patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem) throws ClientException; + + /** + * Posts a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback); + + /** + * Posts a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the new object to create + * @return the created DeviceComplianceActionItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceActionItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceActionItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequestBuilder.java index 45152fc48cb..329f76bd12e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceActionItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Action Item Request Builder. */ -public interface IDeviceComplianceActionItemRequestBuilder extends IBaseDeviceComplianceActionItemRequestBuilder { +public interface IDeviceComplianceActionItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceActionItemRequest instance + */ + IDeviceComplianceActionItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceActionItemRequest instance + */ + IDeviceComplianceActionItemRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequest.java index a5b6b7f2892..be5dc198aaf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceOverviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Overview Request. */ -public interface IDeviceComplianceDeviceOverviewRequest extends IBaseDeviceComplianceDeviceOverviewRequest { +public interface IDeviceComplianceDeviceOverviewRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceDeviceOverview from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceDeviceOverview from the service + * + * @return the DeviceComplianceDeviceOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceOverview get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceDeviceOverview with a source + * + * @param sourceDeviceComplianceDeviceOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview, final ICallback callback); + + /** + * Patches this DeviceComplianceDeviceOverview with a source + * + * @param sourceDeviceComplianceDeviceOverview the source object with updates + * @return the updated DeviceComplianceDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceOverview patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview) throws ClientException; + + /** + * Posts a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview, final ICallback callback); + + /** + * Posts a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the new object to create + * @return the created DeviceComplianceDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceOverview post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceDeviceOverviewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceDeviceOverviewRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequestBuilder.java index f65ff76bbdf..c2814b7f388 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceOverviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Overview Request Builder. */ -public interface IDeviceComplianceDeviceOverviewRequestBuilder extends IBaseDeviceComplianceDeviceOverviewRequestBuilder { +public interface IDeviceComplianceDeviceOverviewRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceDeviceOverviewRequest instance + */ + IDeviceComplianceDeviceOverviewRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceDeviceOverviewRequest instance + */ + IDeviceComplianceDeviceOverviewRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionPage.java index bdca5f4fcbc..206efdcf9e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Status Collection Page. */ -public interface IDeviceComplianceDeviceStatusCollectionPage extends IBaseDeviceComplianceDeviceStatusCollectionPage { - +public interface IDeviceComplianceDeviceStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequest.java index 11419f2301c..412aa32c2e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Status Collection Request. */ -public interface IDeviceComplianceDeviceStatusCollectionRequest extends IBaseDeviceComplianceDeviceStatusCollectionRequest { +public interface IDeviceComplianceDeviceStatusCollectionRequest { + + void get(final ICallback callback); + + IDeviceComplianceDeviceStatusCollectionPage get() throws ClientException; + + void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback); + + DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceDeviceStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceDeviceStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceComplianceDeviceStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequestBuilder.java index 12a87bb6a89..0d19e227bdf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Status Collection Request Builder. */ -public interface IDeviceComplianceDeviceStatusCollectionRequestBuilder extends IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder { +public interface IDeviceComplianceDeviceStatusCollectionRequestBuilder extends IRequestBuilder { + + IDeviceComplianceDeviceStatusCollectionRequest buildRequest(); + + IDeviceComplianceDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceComplianceDeviceStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequest.java index 5ebbf36015d..5786102af52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Status Request. */ -public interface IDeviceComplianceDeviceStatusRequest extends IBaseDeviceComplianceDeviceStatusRequest { +public interface IDeviceComplianceDeviceStatusRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceDeviceStatus from the service + * + * @return the DeviceComplianceDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceDeviceStatus with a source + * + * @param sourceDeviceComplianceDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus, final ICallback callback); + + /** + * Patches this DeviceComplianceDeviceStatus with a source + * + * @param sourceDeviceComplianceDeviceStatus the source object with updates + * @return the updated DeviceComplianceDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceStatus patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus) throws ClientException; + + /** + * Posts a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback); + + /** + * Posts a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the new object to create + * @return the created DeviceComplianceDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceDeviceStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceDeviceStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequestBuilder.java index 94e43e0faf9..1b822579421 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceDeviceStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Device Status Request Builder. */ -public interface IDeviceComplianceDeviceStatusRequestBuilder extends IBaseDeviceComplianceDeviceStatusRequestBuilder { +public interface IDeviceComplianceDeviceStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceDeviceStatusRequest instance + */ + IDeviceComplianceDeviceStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceDeviceStatusRequest instance + */ + IDeviceComplianceDeviceStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionPage.java index c92beff6131..a981c409b38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assign Collection Page. */ -public interface IDeviceCompliancePolicyAssignCollectionPage extends IBaseDeviceCompliancePolicyAssignCollectionPage { - +public interface IDeviceCompliancePolicyAssignCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequest.java index 4e38ba33c66..f59e057b84c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assign Collection Request. */ -public interface IDeviceCompliancePolicyAssignCollectionRequest extends IBaseDeviceCompliancePolicyAssignCollectionRequest { +public interface IDeviceCompliancePolicyAssignCollectionRequest { + + void post(final ICallback callback); + + IDeviceCompliancePolicyAssignCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyAssignCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyAssignCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCompliancePolicyAssignCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequestBuilder.java index 509761b2dd3..dcf7b25ea41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assign Collection Request Builder. */ -public interface IDeviceCompliancePolicyAssignCollectionRequestBuilder extends IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder { +public interface IDeviceCompliancePolicyAssignCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCompliancePolicyAssignCollectionRequest buildRequest(); + + IDeviceCompliancePolicyAssignCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionPage.java index 1a53a59c295..d24aad99a75 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assignment Collection Page. */ -public interface IDeviceCompliancePolicyAssignmentCollectionPage extends IBaseDeviceCompliancePolicyAssignmentCollectionPage { - +public interface IDeviceCompliancePolicyAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequest.java index 48099625ab7..17eb704b420 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assignment Collection Request. */ -public interface IDeviceCompliancePolicyAssignmentCollectionRequest extends IBaseDeviceCompliancePolicyAssignmentCollectionRequest { +public interface IDeviceCompliancePolicyAssignmentCollectionRequest { + + void get(final ICallback callback); + + IDeviceCompliancePolicyAssignmentCollectionPage get() throws ClientException; + + void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback); + + DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCompliancePolicyAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java index 60c3d5968b2..d65a4368128 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assignment Collection Request Builder. */ -public interface IDeviceCompliancePolicyAssignmentCollectionRequestBuilder extends IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder { +public interface IDeviceCompliancePolicyAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest(); + + IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceCompliancePolicyAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequest.java index 517b65003d6..ec725ff36c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assignment Request. */ -public interface IDeviceCompliancePolicyAssignmentRequest extends IBaseDeviceCompliancePolicyAssignmentRequest { +public interface IDeviceCompliancePolicyAssignmentRequest extends IHttpRequest { + + /** + * Gets the DeviceCompliancePolicyAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceCompliancePolicyAssignment from the service + * + * @return the DeviceCompliancePolicyAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceCompliancePolicyAssignment with a source + * + * @param sourceDeviceCompliancePolicyAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment, final ICallback callback); + + /** + * Patches this DeviceCompliancePolicyAssignment with a source + * + * @param sourceDeviceCompliancePolicyAssignment the source object with updates + * @return the updated DeviceCompliancePolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyAssignment patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment) throws ClientException; + + /** + * Posts a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the new object to create + * @return the created DeviceCompliancePolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequestBuilder.java index 637f6ad1c4a..7b0781391cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Assignment Request Builder. */ -public interface IDeviceCompliancePolicyAssignmentRequestBuilder extends IBaseDeviceCompliancePolicyAssignmentRequestBuilder { +public interface IDeviceCompliancePolicyAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyAssignmentRequest instance + */ + IDeviceCompliancePolicyAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyAssignmentRequest instance + */ + IDeviceCompliancePolicyAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionPage.java index dbb9d40b46b..cd587a87b3d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Collection Page. */ -public interface IDeviceCompliancePolicyCollectionPage extends IBaseDeviceCompliancePolicyCollectionPage { - +public interface IDeviceCompliancePolicyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequest.java index 1dbd0cc9040..9d5cb68d4b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Collection Request. */ -public interface IDeviceCompliancePolicyCollectionRequest extends IBaseDeviceCompliancePolicyCollectionRequest { +public interface IDeviceCompliancePolicyCollectionRequest { + + void get(final ICallback callback); + + IDeviceCompliancePolicyCollectionPage get() throws ClientException; + + void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback); + + DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCompliancePolicyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequestBuilder.java index 559f4b25087..6f9cc076362 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Collection Request Builder. */ -public interface IDeviceCompliancePolicyCollectionRequestBuilder extends IBaseDeviceCompliancePolicyCollectionRequestBuilder { +public interface IDeviceCompliancePolicyCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCompliancePolicyCollectionRequest buildRequest(); + + IDeviceCompliancePolicyCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceCompliancePolicyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequest.java index 5f7635ab7c5..a44d9dd2af8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyDeviceStateSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Device State Summary Request. */ -public interface IDeviceCompliancePolicyDeviceStateSummaryRequest extends IBaseDeviceCompliancePolicyDeviceStateSummaryRequest { +public interface IDeviceCompliancePolicyDeviceStateSummaryRequest extends IHttpRequest { + + /** + * Gets the DeviceCompliancePolicyDeviceStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceCompliancePolicyDeviceStateSummary from the service + * + * @return the DeviceCompliancePolicyDeviceStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyDeviceStateSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceCompliancePolicyDeviceStateSummary with a source + * + * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary, final ICallback callback); + + /** + * Patches this DeviceCompliancePolicyDeviceStateSummary with a source + * + * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates + * @return the updated DeviceCompliancePolicyDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyDeviceStateSummary patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary) throws ClientException; + + /** + * Posts a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create + * @return the created DeviceCompliancePolicyDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyDeviceStateSummary post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyDeviceStateSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyDeviceStateSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java index 53e6fea3e50..e59ea7822f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Device State Summary Request Builder. */ -public interface IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder { +public interface IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance + */ + IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance + */ + IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequest.java index 9c954f8eb17..0d1a19ed766 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Request. */ -public interface IDeviceCompliancePolicyRequest extends IBaseDeviceCompliancePolicyRequest { +public interface IDeviceCompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the DeviceCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceCompliancePolicy from the service + * + * @return the DeviceCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceCompliancePolicy with a source + * + * @param sourceDeviceCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy, final ICallback callback); + + /** + * Patches this DeviceCompliancePolicy with a source + * + * @param sourceDeviceCompliancePolicy the source object with updates + * @return the updated DeviceCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicy patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy) throws ClientException; + + /** + * Posts a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the new object to create + * @return the created DeviceCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequestBuilder.java index b293f9a3f40..75e715b7f52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequestBuilder.java @@ -3,14 +3,85 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignCollectionRequestBuilder; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Request Builder. */ -public interface IDeviceCompliancePolicyRequestBuilder extends IBaseDeviceCompliancePolicyRequestBuilder { +public interface IDeviceCompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyRequest instance + */ + IDeviceCompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyRequest instance + */ + IDeviceCompliancePolicyRequest buildRequest(final java.util.List requestOptions); + + + IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder scheduledActionsForRule(); + + IDeviceComplianceScheduledActionForRuleRequestBuilder scheduledActionsForRule(final String id); + + IDeviceComplianceDeviceStatusCollectionRequestBuilder deviceStatuses(); + + IDeviceComplianceDeviceStatusRequestBuilder deviceStatuses(final String id); + + IDeviceComplianceUserStatusCollectionRequestBuilder userStatuses(); + + IDeviceComplianceUserStatusRequestBuilder userStatuses(final String id); + + /** + * Gets the request builder for DeviceComplianceDeviceOverview + * + * @return the IDeviceComplianceDeviceOverviewRequestBuilder instance + */ + IDeviceComplianceDeviceOverviewRequestBuilder deviceStatusOverview(); + + /** + * Gets the request builder for DeviceComplianceUserOverview + * + * @return the IDeviceComplianceUserOverviewRequestBuilder instance + */ + IDeviceComplianceUserOverviewRequestBuilder userStatusOverview(); + + ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries(); + + ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id); + + IDeviceCompliancePolicyAssignmentCollectionRequestBuilder assignments(); + + IDeviceCompliancePolicyAssignmentRequestBuilder assignments(final String id); + + IDeviceCompliancePolicyAssignCollectionRequestBuilder assign(final java.util.List assignments); + IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder scheduleActionsForRules(final java.util.List deviceComplianceScheduledActionForRules); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequest.java index ee37e74ee0f..0a5903ee03b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Schedule Actions For Rules Request. */ -public interface IDeviceCompliancePolicyScheduleActionsForRulesRequest extends IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest { +public interface IDeviceCompliancePolicyScheduleActionsForRulesRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyScheduleActionsForRulesRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCompliancePolicyScheduleActionsForRulesRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyScheduleActionsForRulesRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java index fccfc67db08..19ae5b8f520 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Schedule Actions For Rules Request Builder. */ -public interface IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder { +public interface IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends IRequestBuilder { + /** + * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest + * + * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance + */ + IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest(); + + /** + * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance + */ + IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionPage.java index 546e40e8c86..c0a245d56a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Setting State Summary Collection Page. */ -public interface IDeviceCompliancePolicySettingStateSummaryCollectionPage extends IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage { - +public interface IDeviceCompliancePolicySettingStateSummaryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequest.java index dcfef2f5210..401592f3084 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Setting State Summary Collection Request. */ -public interface IDeviceCompliancePolicySettingStateSummaryCollectionRequest extends IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest { +public interface IDeviceCompliancePolicySettingStateSummaryCollectionRequest { + + void get(final ICallback callback); + + IDeviceCompliancePolicySettingStateSummaryCollectionPage get() throws ClientException; + + void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback); + + DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicySettingStateSummaryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicySettingStateSummaryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCompliancePolicySettingStateSummaryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java index 7c3453a5f56..0a8dced36cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Setting State Summary Collection Request Builder. */ -public interface IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder extends IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder { +public interface IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest(); + + IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceCompliancePolicySettingStateSummaryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequest.java index eaa2294e9e1..2ab98afb4a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Setting State Summary Request. */ -public interface IDeviceCompliancePolicySettingStateSummaryRequest extends IBaseDeviceCompliancePolicySettingStateSummaryRequest { +public interface IDeviceCompliancePolicySettingStateSummaryRequest extends IHttpRequest { + + /** + * Gets the DeviceCompliancePolicySettingStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceCompliancePolicySettingStateSummary from the service + * + * @return the DeviceCompliancePolicySettingStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicySettingStateSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceCompliancePolicySettingStateSummary with a source + * + * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary, final ICallback callback); + + /** + * Patches this DeviceCompliancePolicySettingStateSummary with a source + * + * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates + * @return the updated DeviceCompliancePolicySettingStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicySettingStateSummary patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary) throws ClientException; + + /** + * Posts a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the new object to create + * @return the created DeviceCompliancePolicySettingStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicySettingStateSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicySettingStateSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequestBuilder.java index 9400873f694..34924b24820 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequest; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy Setting State Summary Request Builder. */ -public interface IDeviceCompliancePolicySettingStateSummaryRequestBuilder extends IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder { +public interface IDeviceCompliancePolicySettingStateSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance + */ + IDeviceCompliancePolicySettingStateSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance + */ + IDeviceCompliancePolicySettingStateSummaryRequest buildRequest(final java.util.List requestOptions); + + + IDeviceComplianceSettingStateCollectionRequestBuilder deviceComplianceSettingStates(); + + IDeviceComplianceSettingStateRequestBuilder deviceComplianceSettingStates(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionPage.java index 4f113743d02..5e93e134bfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyStateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy State Collection Page. */ -public interface IDeviceCompliancePolicyStateCollectionPage extends IBaseDeviceCompliancePolicyStateCollectionPage { - +public interface IDeviceCompliancePolicyStateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequest.java index bc7e59a8e2b..41152c7c407 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy State Collection Request. */ -public interface IDeviceCompliancePolicyStateCollectionRequest extends IBaseDeviceCompliancePolicyStateCollectionRequest { +public interface IDeviceCompliancePolicyStateCollectionRequest { + + void get(final ICallback callback); + + IDeviceCompliancePolicyStateCollectionPage get() throws ClientException; + + void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback); + + DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyStateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyStateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceCompliancePolicyStateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequestBuilder.java index 466416cd0db..7796774dfb5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy State Collection Request Builder. */ -public interface IDeviceCompliancePolicyStateCollectionRequestBuilder extends IBaseDeviceCompliancePolicyStateCollectionRequestBuilder { +public interface IDeviceCompliancePolicyStateCollectionRequestBuilder extends IRequestBuilder { + + IDeviceCompliancePolicyStateCollectionRequest buildRequest(); + + IDeviceCompliancePolicyStateCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceCompliancePolicyStateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequest.java index b575487b38b..8bfecdb1ffa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyStateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy State Request. */ -public interface IDeviceCompliancePolicyStateRequest extends IBaseDeviceCompliancePolicyStateRequest { +public interface IDeviceCompliancePolicyStateRequest extends IHttpRequest { + + /** + * Gets the DeviceCompliancePolicyState from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceCompliancePolicyState from the service + * + * @return the DeviceCompliancePolicyState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyState get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceCompliancePolicyState with a source + * + * @param sourceDeviceCompliancePolicyState the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState, final ICallback callback); + + /** + * Patches this DeviceCompliancePolicyState with a source + * + * @param sourceDeviceCompliancePolicyState the source object with updates + * @return the updated DeviceCompliancePolicyState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyState patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState) throws ClientException; + + /** + * Posts a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the new object to create + * @return the created DeviceCompliancePolicyState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceCompliancePolicyStateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceCompliancePolicyStateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequestBuilder.java index 5ebacf3758a..dbb71ff83d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceCompliancePolicyStateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Policy State Request Builder. */ -public interface IDeviceCompliancePolicyStateRequestBuilder extends IBaseDeviceCompliancePolicyStateRequestBuilder { +public interface IDeviceCompliancePolicyStateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceCompliancePolicyStateRequest instance + */ + IDeviceCompliancePolicyStateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceCompliancePolicyStateRequest instance + */ + IDeviceCompliancePolicyStateRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionPage.java index 706a2418465..90176207943 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceScheduledActionForRuleCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Scheduled Action For Rule Collection Page. */ -public interface IDeviceComplianceScheduledActionForRuleCollectionPage extends IBaseDeviceComplianceScheduledActionForRuleCollectionPage { - +public interface IDeviceComplianceScheduledActionForRuleCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequest.java index 25942c3b0da..7a06a953748 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceScheduledActionForRuleCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Scheduled Action For Rule Collection Request. */ -public interface IDeviceComplianceScheduledActionForRuleCollectionRequest extends IBaseDeviceComplianceScheduledActionForRuleCollectionRequest { +public interface IDeviceComplianceScheduledActionForRuleCollectionRequest { + + void get(final ICallback callback); + + IDeviceComplianceScheduledActionForRuleCollectionPage get() throws ClientException; + + void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback); + + DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceScheduledActionForRuleCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceScheduledActionForRuleCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceComplianceScheduledActionForRuleCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java index ecbb3ddf594..d8dcf4e73d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Scheduled Action For Rule Collection Request Builder. */ -public interface IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder extends IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder { +public interface IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder extends IRequestBuilder { + + IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest(); + + IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceComplianceScheduledActionForRuleRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequest.java index 5f65b6c063d..75f01ba1069 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Scheduled Action For Rule Request. */ -public interface IDeviceComplianceScheduledActionForRuleRequest extends IBaseDeviceComplianceScheduledActionForRuleRequest { +public interface IDeviceComplianceScheduledActionForRuleRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceScheduledActionForRule from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceScheduledActionForRule from the service + * + * @return the DeviceComplianceScheduledActionForRule from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceScheduledActionForRule get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceScheduledActionForRule with a source + * + * @param sourceDeviceComplianceScheduledActionForRule the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule, final ICallback callback); + + /** + * Patches this DeviceComplianceScheduledActionForRule with a source + * + * @param sourceDeviceComplianceScheduledActionForRule the source object with updates + * @return the updated DeviceComplianceScheduledActionForRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceScheduledActionForRule patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule) throws ClientException; + + /** + * Posts a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback); + + /** + * Posts a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the new object to create + * @return the created DeviceComplianceScheduledActionForRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceScheduledActionForRuleRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceScheduledActionForRuleRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequestBuilder.java index 1836637c524..987a8f33f10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequest; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceScheduledActionForRuleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Scheduled Action For Rule Request Builder. */ -public interface IDeviceComplianceScheduledActionForRuleRequestBuilder extends IBaseDeviceComplianceScheduledActionForRuleRequestBuilder { +public interface IDeviceComplianceScheduledActionForRuleRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceScheduledActionForRuleRequest instance + */ + IDeviceComplianceScheduledActionForRuleRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceScheduledActionForRuleRequest instance + */ + IDeviceComplianceScheduledActionForRuleRequest buildRequest(final java.util.List requestOptions); + + + IDeviceComplianceActionItemCollectionRequestBuilder scheduledActionConfigurations(); + + IDeviceComplianceActionItemRequestBuilder scheduledActionConfigurations(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionPage.java index e68fcbb727b..a20381eafb3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceSettingStateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Setting State Collection Page. */ -public interface IDeviceComplianceSettingStateCollectionPage extends IBaseDeviceComplianceSettingStateCollectionPage { - +public interface IDeviceComplianceSettingStateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequest.java index a8fa3a00d0d..bb0a62668ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceSettingStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Setting State Collection Request. */ -public interface IDeviceComplianceSettingStateCollectionRequest extends IBaseDeviceComplianceSettingStateCollectionRequest { +public interface IDeviceComplianceSettingStateCollectionRequest { + + void get(final ICallback callback); + + IDeviceComplianceSettingStateCollectionPage get() throws ClientException; + + void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback); + + DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceSettingStateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceSettingStateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceComplianceSettingStateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequestBuilder.java index 98056590e6c..3aeb0f81c09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceSettingStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Setting State Collection Request Builder. */ -public interface IDeviceComplianceSettingStateCollectionRequestBuilder extends IBaseDeviceComplianceSettingStateCollectionRequestBuilder { +public interface IDeviceComplianceSettingStateCollectionRequestBuilder extends IRequestBuilder { + + IDeviceComplianceSettingStateCollectionRequest buildRequest(); + + IDeviceComplianceSettingStateCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceComplianceSettingStateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequest.java index 7d54079219f..3651c7ad1f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceSettingStateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Setting State Request. */ -public interface IDeviceComplianceSettingStateRequest extends IBaseDeviceComplianceSettingStateRequest { +public interface IDeviceComplianceSettingStateRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceSettingState from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceSettingState from the service + * + * @return the DeviceComplianceSettingState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceSettingState get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceSettingState with a source + * + * @param sourceDeviceComplianceSettingState the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState, final ICallback callback); + + /** + * Patches this DeviceComplianceSettingState with a source + * + * @param sourceDeviceComplianceSettingState the source object with updates + * @return the updated DeviceComplianceSettingState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceSettingState patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState) throws ClientException; + + /** + * Posts a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback); + + /** + * Posts a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the new object to create + * @return the created DeviceComplianceSettingState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceSettingStateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceSettingStateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequestBuilder.java index 9803b028b90..ac8d752ab62 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceSettingStateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance Setting State Request Builder. */ -public interface IDeviceComplianceSettingStateRequestBuilder extends IBaseDeviceComplianceSettingStateRequestBuilder { +public interface IDeviceComplianceSettingStateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceSettingStateRequest instance + */ + IDeviceComplianceSettingStateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceSettingStateRequest instance + */ + IDeviceComplianceSettingStateRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequest.java index 275ed5e7989..6db6a3bb18c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserOverviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Overview Request. */ -public interface IDeviceComplianceUserOverviewRequest extends IBaseDeviceComplianceUserOverviewRequest { +public interface IDeviceComplianceUserOverviewRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceUserOverview from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceUserOverview from the service + * + * @return the DeviceComplianceUserOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserOverview get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceUserOverview with a source + * + * @param sourceDeviceComplianceUserOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview, final ICallback callback); + + /** + * Patches this DeviceComplianceUserOverview with a source + * + * @param sourceDeviceComplianceUserOverview the source object with updates + * @return the updated DeviceComplianceUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserOverview patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview) throws ClientException; + + /** + * Posts a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview, final ICallback callback); + + /** + * Posts a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the new object to create + * @return the created DeviceComplianceUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserOverview post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceUserOverviewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceUserOverviewRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequestBuilder.java index 068e9d1c276..d86795683fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserOverviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Overview Request Builder. */ -public interface IDeviceComplianceUserOverviewRequestBuilder extends IBaseDeviceComplianceUserOverviewRequestBuilder { +public interface IDeviceComplianceUserOverviewRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceUserOverviewRequest instance + */ + IDeviceComplianceUserOverviewRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceUserOverviewRequest instance + */ + IDeviceComplianceUserOverviewRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionPage.java index 920c821e53f..a3558b565ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Status Collection Page. */ -public interface IDeviceComplianceUserStatusCollectionPage extends IBaseDeviceComplianceUserStatusCollectionPage { - +public interface IDeviceComplianceUserStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequest.java index 5b4a1d78985..5b63a34c9cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Status Collection Request. */ -public interface IDeviceComplianceUserStatusCollectionRequest extends IBaseDeviceComplianceUserStatusCollectionRequest { +public interface IDeviceComplianceUserStatusCollectionRequest { + + void get(final ICallback callback); + + IDeviceComplianceUserStatusCollectionPage get() throws ClientException; + + void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback); + + DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceUserStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceUserStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceComplianceUserStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequestBuilder.java index b07044631d8..2f46c0b444b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Status Collection Request Builder. */ -public interface IDeviceComplianceUserStatusCollectionRequestBuilder extends IBaseDeviceComplianceUserStatusCollectionRequestBuilder { +public interface IDeviceComplianceUserStatusCollectionRequestBuilder extends IRequestBuilder { + + IDeviceComplianceUserStatusCollectionRequest buildRequest(); + + IDeviceComplianceUserStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceComplianceUserStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequest.java index 5f2e0880d8e..f514b1b5d9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Status Request. */ -public interface IDeviceComplianceUserStatusRequest extends IBaseDeviceComplianceUserStatusRequest { +public interface IDeviceComplianceUserStatusRequest extends IHttpRequest { + + /** + * Gets the DeviceComplianceUserStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceComplianceUserStatus from the service + * + * @return the DeviceComplianceUserStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceComplianceUserStatus with a source + * + * @param sourceDeviceComplianceUserStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus, final ICallback callback); + + /** + * Patches this DeviceComplianceUserStatus with a source + * + * @param sourceDeviceComplianceUserStatus the source object with updates + * @return the updated DeviceComplianceUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserStatus patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus) throws ClientException; + + /** + * Posts a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback); + + /** + * Posts a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the new object to create + * @return the created DeviceComplianceUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceComplianceUserStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceComplianceUserStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequestBuilder.java index a9aa663bfa8..a4c08359b51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceComplianceUserStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Compliance User Status Request Builder. */ -public interface IDeviceComplianceUserStatusRequestBuilder extends IBaseDeviceComplianceUserStatusRequestBuilder { +public interface IDeviceComplianceUserStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceComplianceUserStatusRequest instance + */ + IDeviceComplianceUserStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceComplianceUserStatusRequest instance + */ + IDeviceComplianceUserStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionPage.java index 831a7cd414a..755e4e702f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assign Collection Page. */ -public interface IDeviceConfigurationAssignCollectionPage extends IBaseDeviceConfigurationAssignCollectionPage { - +public interface IDeviceConfigurationAssignCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequest.java index c8268c6a506..f24753f7aac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assign Collection Request. */ -public interface IDeviceConfigurationAssignCollectionRequest extends IBaseDeviceConfigurationAssignCollectionRequest { +public interface IDeviceConfigurationAssignCollectionRequest { + + void post(final ICallback callback); + + IDeviceConfigurationAssignCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationAssignCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationAssignCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceConfigurationAssignCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequestBuilder.java index 339c37e15ec..dc1b8928869 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assign Collection Request Builder. */ -public interface IDeviceConfigurationAssignCollectionRequestBuilder extends IBaseDeviceConfigurationAssignCollectionRequestBuilder { +public interface IDeviceConfigurationAssignCollectionRequestBuilder extends IRequestBuilder { + + IDeviceConfigurationAssignCollectionRequest buildRequest(); + + IDeviceConfigurationAssignCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionPage.java index f2ac6929a19..47baaaa2a5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assignment Collection Page. */ -public interface IDeviceConfigurationAssignmentCollectionPage extends IBaseDeviceConfigurationAssignmentCollectionPage { - +public interface IDeviceConfigurationAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequest.java index 2bed771d28a..1bf4d20521f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assignment Collection Request. */ -public interface IDeviceConfigurationAssignmentCollectionRequest extends IBaseDeviceConfigurationAssignmentCollectionRequest { +public interface IDeviceConfigurationAssignmentCollectionRequest { + + void get(final ICallback callback); + + IDeviceConfigurationAssignmentCollectionPage get() throws ClientException; + + void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback); + + DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceConfigurationAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequestBuilder.java index fe146223129..d54933d0927 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assignment Collection Request Builder. */ -public interface IDeviceConfigurationAssignmentCollectionRequestBuilder extends IBaseDeviceConfigurationAssignmentCollectionRequestBuilder { +public interface IDeviceConfigurationAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IDeviceConfigurationAssignmentCollectionRequest buildRequest(); + + IDeviceConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceConfigurationAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequest.java index 849c5327dec..a93a9608f14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assignment Request. */ -public interface IDeviceConfigurationAssignmentRequest extends IBaseDeviceConfigurationAssignmentRequest { +public interface IDeviceConfigurationAssignmentRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationAssignment from the service + * + * @return the DeviceConfigurationAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationAssignment with a source + * + * @param sourceDeviceConfigurationAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment, final ICallback callback); + + /** + * Patches this DeviceConfigurationAssignment with a source + * + * @param sourceDeviceConfigurationAssignment the source object with updates + * @return the updated DeviceConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationAssignment patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment) throws ClientException; + + /** + * Posts a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback); + + /** + * Posts a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the new object to create + * @return the created DeviceConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequestBuilder.java index 2f37a123102..3db91155065 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Assignment Request Builder. */ -public interface IDeviceConfigurationAssignmentRequestBuilder extends IBaseDeviceConfigurationAssignmentRequestBuilder { +public interface IDeviceConfigurationAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationAssignmentRequest instance + */ + IDeviceConfigurationAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationAssignmentRequest instance + */ + IDeviceConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionPage.java index 76869d98874..d383bd242b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Collection Page. */ -public interface IDeviceConfigurationCollectionPage extends IBaseDeviceConfigurationCollectionPage { - +public interface IDeviceConfigurationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequest.java index 9a9124958d7..341a18bfd70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Collection Request. */ -public interface IDeviceConfigurationCollectionRequest extends IBaseDeviceConfigurationCollectionRequest { +public interface IDeviceConfigurationCollectionRequest { + + void get(final ICallback callback); + + IDeviceConfigurationCollectionPage get() throws ClientException; + + void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback); + + DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceConfigurationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequestBuilder.java index 70a95282c0b..d732c1a331a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Collection Request Builder. */ -public interface IDeviceConfigurationCollectionRequestBuilder extends IBaseDeviceConfigurationCollectionRequestBuilder { +public interface IDeviceConfigurationCollectionRequestBuilder extends IRequestBuilder { + + IDeviceConfigurationCollectionRequest buildRequest(); + + IDeviceConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceConfigurationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequest.java index d598dec05e1..6e0a288ce78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceOverviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Overview Request. */ -public interface IDeviceConfigurationDeviceOverviewRequest extends IBaseDeviceConfigurationDeviceOverviewRequest { +public interface IDeviceConfigurationDeviceOverviewRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationDeviceOverview from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationDeviceOverview from the service + * + * @return the DeviceConfigurationDeviceOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceOverview get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationDeviceOverview with a source + * + * @param sourceDeviceConfigurationDeviceOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview, final ICallback callback); + + /** + * Patches this DeviceConfigurationDeviceOverview with a source + * + * @param sourceDeviceConfigurationDeviceOverview the source object with updates + * @return the updated DeviceConfigurationDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceOverview patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview) throws ClientException; + + /** + * Posts a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview, final ICallback callback); + + /** + * Posts a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the new object to create + * @return the created DeviceConfigurationDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceOverview post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationDeviceOverviewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationDeviceOverviewRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequestBuilder.java index 538421e382a..ff273c0fc1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceOverviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Overview Request Builder. */ -public interface IDeviceConfigurationDeviceOverviewRequestBuilder extends IBaseDeviceConfigurationDeviceOverviewRequestBuilder { +public interface IDeviceConfigurationDeviceOverviewRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationDeviceOverviewRequest instance + */ + IDeviceConfigurationDeviceOverviewRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationDeviceOverviewRequest instance + */ + IDeviceConfigurationDeviceOverviewRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequest.java index b54e7859c08..f952bd635b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStateSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device State Summary Request. */ -public interface IDeviceConfigurationDeviceStateSummaryRequest extends IBaseDeviceConfigurationDeviceStateSummaryRequest { +public interface IDeviceConfigurationDeviceStateSummaryRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationDeviceStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationDeviceStateSummary from the service + * + * @return the DeviceConfigurationDeviceStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStateSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationDeviceStateSummary with a source + * + * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary, final ICallback callback); + + /** + * Patches this DeviceConfigurationDeviceStateSummary with a source + * + * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates + * @return the updated DeviceConfigurationDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStateSummary patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary) throws ClientException; + + /** + * Posts a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary, final ICallback callback); + + /** + * Posts a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the new object to create + * @return the created DeviceConfigurationDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStateSummary post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationDeviceStateSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationDeviceStateSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequestBuilder.java index 4b8165c2abc..f59c84451ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device State Summary Request Builder. */ -public interface IDeviceConfigurationDeviceStateSummaryRequestBuilder extends IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder { +public interface IDeviceConfigurationDeviceStateSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationDeviceStateSummaryRequest instance + */ + IDeviceConfigurationDeviceStateSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationDeviceStateSummaryRequest instance + */ + IDeviceConfigurationDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionPage.java index 0291da4c62a..0aa68f72366 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Status Collection Page. */ -public interface IDeviceConfigurationDeviceStatusCollectionPage extends IBaseDeviceConfigurationDeviceStatusCollectionPage { - +public interface IDeviceConfigurationDeviceStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequest.java index addc038dc9f..ae189521687 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Status Collection Request. */ -public interface IDeviceConfigurationDeviceStatusCollectionRequest extends IBaseDeviceConfigurationDeviceStatusCollectionRequest { +public interface IDeviceConfigurationDeviceStatusCollectionRequest { + + void get(final ICallback callback); + + IDeviceConfigurationDeviceStatusCollectionPage get() throws ClientException; + + void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback); + + DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationDeviceStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationDeviceStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceConfigurationDeviceStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequestBuilder.java index a021b9f7632..73ca10b8bc8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Status Collection Request Builder. */ -public interface IDeviceConfigurationDeviceStatusCollectionRequestBuilder extends IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder { +public interface IDeviceConfigurationDeviceStatusCollectionRequestBuilder extends IRequestBuilder { + + IDeviceConfigurationDeviceStatusCollectionRequest buildRequest(); + + IDeviceConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceConfigurationDeviceStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequest.java index a01f64d3a9f..f5c16d71521 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Status Request. */ -public interface IDeviceConfigurationDeviceStatusRequest extends IBaseDeviceConfigurationDeviceStatusRequest { +public interface IDeviceConfigurationDeviceStatusRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationDeviceStatus from the service + * + * @return the DeviceConfigurationDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationDeviceStatus with a source + * + * @param sourceDeviceConfigurationDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus, final ICallback callback); + + /** + * Patches this DeviceConfigurationDeviceStatus with a source + * + * @param sourceDeviceConfigurationDeviceStatus the source object with updates + * @return the updated DeviceConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStatus patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus) throws ClientException; + + /** + * Posts a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback); + + /** + * Posts a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the new object to create + * @return the created DeviceConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationDeviceStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationDeviceStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequestBuilder.java index 86ae54ee089..c00c9e9ceb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Device Status Request Builder. */ -public interface IDeviceConfigurationDeviceStatusRequestBuilder extends IBaseDeviceConfigurationDeviceStatusRequestBuilder { +public interface IDeviceConfigurationDeviceStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationDeviceStatusRequest instance + */ + IDeviceConfigurationDeviceStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationDeviceStatusRequest instance + */ + IDeviceConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequest.java index ebbb751838f..67edf58a0b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Request. */ -public interface IDeviceConfigurationRequest extends IBaseDeviceConfigurationRequest { +public interface IDeviceConfigurationRequest extends IHttpRequest { + + /** + * Gets the DeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfiguration from the service + * + * @return the DeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfiguration with a source + * + * @param sourceDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfiguration sourceDeviceConfiguration, final ICallback callback); + + /** + * Patches this DeviceConfiguration with a source + * + * @param sourceDeviceConfiguration the source object with updates + * @return the updated DeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfiguration patch(final DeviceConfiguration sourceDeviceConfiguration) throws ClientException; + + /** + * Posts a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback); + + /** + * Posts a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the new object to create + * @return the created DeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequestBuilder.java index 8a29d084cbb..e59e7c7c3ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequestBuilder.java @@ -3,14 +3,76 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignCollectionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration Request Builder. */ -public interface IDeviceConfigurationRequestBuilder extends IBaseDeviceConfigurationRequestBuilder { +public interface IDeviceConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationRequest instance + */ + IDeviceConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationRequest instance + */ + IDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); + + + IDeviceConfigurationAssignmentCollectionRequestBuilder assignments(); + + IDeviceConfigurationAssignmentRequestBuilder assignments(final String id); + + IDeviceConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses(); + + IDeviceConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id); + + IDeviceConfigurationUserStatusCollectionRequestBuilder userStatuses(); + + IDeviceConfigurationUserStatusRequestBuilder userStatuses(final String id); + + /** + * Gets the request builder for DeviceConfigurationDeviceOverview + * + * @return the IDeviceConfigurationDeviceOverviewRequestBuilder instance + */ + IDeviceConfigurationDeviceOverviewRequestBuilder deviceStatusOverview(); + + /** + * Gets the request builder for DeviceConfigurationUserOverview + * + * @return the IDeviceConfigurationUserOverviewRequestBuilder instance + */ + IDeviceConfigurationUserOverviewRequestBuilder userStatusOverview(); + + ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries(); + + ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id); + + IDeviceConfigurationAssignCollectionRequestBuilder assign(final java.util.List assignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionPage.java index b792551477f..3d690ebc6a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationStateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration State Collection Page. */ -public interface IDeviceConfigurationStateCollectionPage extends IBaseDeviceConfigurationStateCollectionPage { - +public interface IDeviceConfigurationStateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequest.java index b41cd7707b3..f160450a94d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration State Collection Request. */ -public interface IDeviceConfigurationStateCollectionRequest extends IBaseDeviceConfigurationStateCollectionRequest { +public interface IDeviceConfigurationStateCollectionRequest { + + void get(final ICallback callback); + + IDeviceConfigurationStateCollectionPage get() throws ClientException; + + void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback); + + DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationStateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationStateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceConfigurationStateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequestBuilder.java index bb7e5444b33..12633e98134 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration State Collection Request Builder. */ -public interface IDeviceConfigurationStateCollectionRequestBuilder extends IBaseDeviceConfigurationStateCollectionRequestBuilder { +public interface IDeviceConfigurationStateCollectionRequestBuilder extends IRequestBuilder { + + IDeviceConfigurationStateCollectionRequest buildRequest(); + + IDeviceConfigurationStateCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceConfigurationStateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequest.java index 65ec112eca8..f97b97d18d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationState; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationStateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration State Request. */ -public interface IDeviceConfigurationStateRequest extends IBaseDeviceConfigurationStateRequest { +public interface IDeviceConfigurationStateRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationState from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationState from the service + * + * @return the DeviceConfigurationState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationState get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationState with a source + * + * @param sourceDeviceConfigurationState the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationState sourceDeviceConfigurationState, final ICallback callback); + + /** + * Patches this DeviceConfigurationState with a source + * + * @param sourceDeviceConfigurationState the source object with updates + * @return the updated DeviceConfigurationState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationState patch(final DeviceConfigurationState sourceDeviceConfigurationState) throws ClientException; + + /** + * Posts a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback); + + /** + * Posts a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the new object to create + * @return the created DeviceConfigurationState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationStateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationStateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequestBuilder.java index f0266eadd11..bc4a23e80fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationStateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration State Request Builder. */ -public interface IDeviceConfigurationStateRequestBuilder extends IBaseDeviceConfigurationStateRequestBuilder { +public interface IDeviceConfigurationStateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationStateRequest instance + */ + IDeviceConfigurationStateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationStateRequest instance + */ + IDeviceConfigurationStateRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequest.java index 033a0a9a908..bb48b24c080 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserOverviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Overview Request. */ -public interface IDeviceConfigurationUserOverviewRequest extends IBaseDeviceConfigurationUserOverviewRequest { +public interface IDeviceConfigurationUserOverviewRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationUserOverview from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationUserOverview from the service + * + * @return the DeviceConfigurationUserOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserOverview get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationUserOverview with a source + * + * @param sourceDeviceConfigurationUserOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview, final ICallback callback); + + /** + * Patches this DeviceConfigurationUserOverview with a source + * + * @param sourceDeviceConfigurationUserOverview the source object with updates + * @return the updated DeviceConfigurationUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserOverview patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview) throws ClientException; + + /** + * Posts a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview, final ICallback callback); + + /** + * Posts a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the new object to create + * @return the created DeviceConfigurationUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserOverview post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationUserOverviewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationUserOverviewRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequestBuilder.java index 2bbbc43c61a..ade3fe1a869 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserOverviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Overview Request Builder. */ -public interface IDeviceConfigurationUserOverviewRequestBuilder extends IBaseDeviceConfigurationUserOverviewRequestBuilder { +public interface IDeviceConfigurationUserOverviewRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationUserOverviewRequest instance + */ + IDeviceConfigurationUserOverviewRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationUserOverviewRequest instance + */ + IDeviceConfigurationUserOverviewRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionPage.java index bdcfc81e4ef..27e391b2d23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Status Collection Page. */ -public interface IDeviceConfigurationUserStatusCollectionPage extends IBaseDeviceConfigurationUserStatusCollectionPage { - +public interface IDeviceConfigurationUserStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequest.java index 69ce067a398..350dfb686c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Status Collection Request. */ -public interface IDeviceConfigurationUserStatusCollectionRequest extends IBaseDeviceConfigurationUserStatusCollectionRequest { +public interface IDeviceConfigurationUserStatusCollectionRequest { + + void get(final ICallback callback); + + IDeviceConfigurationUserStatusCollectionPage get() throws ClientException; + + void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback); + + DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationUserStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationUserStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceConfigurationUserStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequestBuilder.java index c1dacca48dc..4e7518e1519 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Status Collection Request Builder. */ -public interface IDeviceConfigurationUserStatusCollectionRequestBuilder extends IBaseDeviceConfigurationUserStatusCollectionRequestBuilder { +public interface IDeviceConfigurationUserStatusCollectionRequestBuilder extends IRequestBuilder { + + IDeviceConfigurationUserStatusCollectionRequest buildRequest(); + + IDeviceConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceConfigurationUserStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequest.java index 7df1c7324af..4cef63b9dc7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Status Request. */ -public interface IDeviceConfigurationUserStatusRequest extends IBaseDeviceConfigurationUserStatusRequest { +public interface IDeviceConfigurationUserStatusRequest extends IHttpRequest { + + /** + * Gets the DeviceConfigurationUserStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceConfigurationUserStatus from the service + * + * @return the DeviceConfigurationUserStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceConfigurationUserStatus with a source + * + * @param sourceDeviceConfigurationUserStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus, final ICallback callback); + + /** + * Patches this DeviceConfigurationUserStatus with a source + * + * @param sourceDeviceConfigurationUserStatus the source object with updates + * @return the updated DeviceConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserStatus patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus) throws ClientException; + + /** + * Posts a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback); + + /** + * Posts a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the new object to create + * @return the created DeviceConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceConfigurationUserStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceConfigurationUserStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequestBuilder.java index c3b2068cf7f..0c1536d29c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Configuration User Status Request Builder. */ -public interface IDeviceConfigurationUserStatusRequestBuilder extends IBaseDeviceConfigurationUserStatusRequestBuilder { +public interface IDeviceConfigurationUserStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceConfigurationUserStatusRequest instance + */ + IDeviceConfigurationUserStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceConfigurationUserStatusRequest instance + */ + IDeviceConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequest.java index 98add4fb5da..21252e39785 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Assign Request. */ -public interface IDeviceEnrollmentConfigurationAssignRequest extends IBaseDeviceEnrollmentConfigurationAssignRequest { +public interface IDeviceEnrollmentConfigurationAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceEnrollmentConfigurationAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequestBuilder.java index df044a0f3b1..8cb3137d735 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Assign Request Builder. */ -public interface IDeviceEnrollmentConfigurationAssignRequestBuilder extends IBaseDeviceEnrollmentConfigurationAssignRequestBuilder { +public interface IDeviceEnrollmentConfigurationAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the IDeviceEnrollmentConfigurationAssignRequest + * + * @return the IDeviceEnrollmentConfigurationAssignRequest instance + */ + IDeviceEnrollmentConfigurationAssignRequest buildRequest(); + + /** + * Creates the IDeviceEnrollmentConfigurationAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDeviceEnrollmentConfigurationAssignRequest instance + */ + IDeviceEnrollmentConfigurationAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionPage.java index 317556c022e..d42222664fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Collection Page. */ -public interface IDeviceEnrollmentConfigurationCollectionPage extends IBaseDeviceEnrollmentConfigurationCollectionPage { - +public interface IDeviceEnrollmentConfigurationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequest.java index 20cc9eaae3f..f78fbefe601 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Collection Request. */ -public interface IDeviceEnrollmentConfigurationCollectionRequest extends IBaseDeviceEnrollmentConfigurationCollectionRequest { +public interface IDeviceEnrollmentConfigurationCollectionRequest { + + void get(final ICallback callback); + + IDeviceEnrollmentConfigurationCollectionPage get() throws ClientException; + + void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback); + + DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceEnrollmentConfigurationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequestBuilder.java index 97809d029a2..cc6e7230b43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Collection Request Builder. */ -public interface IDeviceEnrollmentConfigurationCollectionRequestBuilder extends IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder { +public interface IDeviceEnrollmentConfigurationCollectionRequestBuilder extends IRequestBuilder { + + IDeviceEnrollmentConfigurationCollectionRequest buildRequest(); + + IDeviceEnrollmentConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceEnrollmentConfigurationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequest.java index b75547090d0..da98e9d6a87 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Request. */ -public interface IDeviceEnrollmentConfigurationRequest extends IBaseDeviceEnrollmentConfigurationRequest { +public interface IDeviceEnrollmentConfigurationRequest extends IHttpRequest { + + /** + * Gets the DeviceEnrollmentConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceEnrollmentConfiguration from the service + * + * @return the DeviceEnrollmentConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceEnrollmentConfiguration with a source + * + * @param sourceDeviceEnrollmentConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration, final ICallback callback); + + /** + * Patches this DeviceEnrollmentConfiguration with a source + * + * @param sourceDeviceEnrollmentConfiguration the source object with updates + * @return the updated DeviceEnrollmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentConfiguration patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration) throws ClientException; + + /** + * Posts a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the new object to create + * @return the created DeviceEnrollmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequestBuilder.java index c2c1c183a4e..694e55b5221 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequestBuilder.java @@ -3,14 +3,43 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequest; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequestBuilder; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Request Builder. */ -public interface IDeviceEnrollmentConfigurationRequestBuilder extends IBaseDeviceEnrollmentConfigurationRequestBuilder { +public interface IDeviceEnrollmentConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceEnrollmentConfigurationRequest instance + */ + IDeviceEnrollmentConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentConfigurationRequest instance + */ + IDeviceEnrollmentConfigurationRequest buildRequest(final java.util.List requestOptions); + + + IEnrollmentConfigurationAssignmentCollectionRequestBuilder assignments(); + + IEnrollmentConfigurationAssignmentRequestBuilder assignments(final String id); + IDeviceEnrollmentConfigurationSetPriorityRequestBuilder setPriority(final Integer priority); + IDeviceEnrollmentConfigurationAssignRequestBuilder assign(final java.util.List enrollmentConfigurationAssignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequest.java index 47fb761d04b..5eb17334ed9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationSetPriorityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Set Priority Request. */ -public interface IDeviceEnrollmentConfigurationSetPriorityRequest extends IBaseDeviceEnrollmentConfigurationSetPriorityRequest { +public interface IDeviceEnrollmentConfigurationSetPriorityRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationSetPriorityRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceEnrollmentConfigurationSetPriorityRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentConfigurationSetPriorityRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java index bae144b94de..b0ace098ae0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Configuration Set Priority Request Builder. */ -public interface IDeviceEnrollmentConfigurationSetPriorityRequestBuilder extends IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder { +public interface IDeviceEnrollmentConfigurationSetPriorityRequestBuilder extends IRequestBuilder { + /** + * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest + * + * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance + */ + IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest(); + + /** + * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance + */ + IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequest.java index ea8740ea955..2c180030c4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentLimitConfiguration; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentLimitConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Limit Configuration Request. */ -public interface IDeviceEnrollmentLimitConfigurationRequest extends IBaseDeviceEnrollmentLimitConfigurationRequest { +public interface IDeviceEnrollmentLimitConfigurationRequest extends IHttpRequest { + + /** + * Gets the DeviceEnrollmentLimitConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceEnrollmentLimitConfiguration from the service + * + * @return the DeviceEnrollmentLimitConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentLimitConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceEnrollmentLimitConfiguration with a source + * + * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration, final ICallback callback); + + /** + * Patches this DeviceEnrollmentLimitConfiguration with a source + * + * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates + * @return the updated DeviceEnrollmentLimitConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentLimitConfiguration patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration) throws ClientException; + + /** + * Posts a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the new object to create + * @return the created DeviceEnrollmentLimitConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentLimitConfiguration post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentLimitConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentLimitConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequestBuilder.java index b5bc211351a..ed4f6991504 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentLimitConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentLimitConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Limit Configuration Request Builder. */ -public interface IDeviceEnrollmentLimitConfigurationRequestBuilder extends IBaseDeviceEnrollmentLimitConfigurationRequestBuilder { +public interface IDeviceEnrollmentLimitConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceEnrollmentLimitConfigurationRequest instance + */ + IDeviceEnrollmentLimitConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentLimitConfigurationRequest instance + */ + IDeviceEnrollmentLimitConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java index c490024ad3f..079781b4714 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestrictionsConfiguration; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Platform Restrictions Configuration Request. */ -public interface IDeviceEnrollmentPlatformRestrictionsConfigurationRequest extends IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest { +public interface IDeviceEnrollmentPlatformRestrictionsConfigurationRequest extends IHttpRequest { + + /** + * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service + * + * @return the DeviceEnrollmentPlatformRestrictionsConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentPlatformRestrictionsConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source + * + * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback); + + /** + * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source + * + * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates + * @return the updated DeviceEnrollmentPlatformRestrictionsConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentPlatformRestrictionsConfiguration patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException; + + /** + * Posts a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create + * @return the created DeviceEnrollmentPlatformRestrictionsConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentPlatformRestrictionsConfiguration post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentPlatformRestrictionsConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentPlatformRestrictionsConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java index 17de045a2e8..aebfab19f21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentPlatformRestrictionsConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Platform Restrictions Configuration Request Builder. */ -public interface IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder extends IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder { +public interface IDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance + */ + IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance + */ + IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java index d51dc1f97bc..9b7894818e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceEnrollmentWindowsHelloForBusinessConfiguration; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Windows Hello For Business Configuration Request. */ -public interface IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest { +public interface IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends IHttpRequest { + + /** + * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service + * + * @return the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentWindowsHelloForBusinessConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source + * + * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback); + + /** + * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source + * + * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates + * @return the updated DeviceEnrollmentWindowsHelloForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentWindowsHelloForBusinessConfiguration patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException; + + /** + * Posts a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create + * @return the created DeviceEnrollmentWindowsHelloForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentWindowsHelloForBusinessConfiguration post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java index 928c370ef8b..ff2d0eae8e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Enrollment Windows Hello For Business Configuration Request Builder. */ -public interface IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder extends IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder { +public interface IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance + */ + IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance + */ + IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionPage.java index 24cc0f395fa..2283babde9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceInstallStateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Install State Collection Page. */ -public interface IDeviceInstallStateCollectionPage extends IBaseDeviceInstallStateCollectionPage { - +public interface IDeviceInstallStateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequest.java index 17eb956786f..020d54c14b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceInstallStateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Install State Collection Request. */ -public interface IDeviceInstallStateCollectionRequest extends IBaseDeviceInstallStateCollectionRequest { +public interface IDeviceInstallStateCollectionRequest { + + void get(final ICallback callback); + + IDeviceInstallStateCollectionPage get() throws ClientException; + + void post(final DeviceInstallState newDeviceInstallState, final ICallback callback); + + DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceInstallStateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceInstallStateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceInstallStateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequestBuilder.java index aafe44842b8..baecd85c1b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Install State Collection Request Builder. */ -public interface IDeviceInstallStateCollectionRequestBuilder extends IBaseDeviceInstallStateCollectionRequestBuilder { +public interface IDeviceInstallStateCollectionRequestBuilder extends IRequestBuilder { + + IDeviceInstallStateCollectionRequest buildRequest(); + + IDeviceInstallStateCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceInstallStateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequest.java index df1f050a642..013b9184651 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceInstallState; -import com.microsoft.graph.requests.generated.IBaseDeviceInstallStateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Install State Request. */ -public interface IDeviceInstallStateRequest extends IBaseDeviceInstallStateRequest { +public interface IDeviceInstallStateRequest extends IHttpRequest { + + /** + * Gets the DeviceInstallState from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceInstallState from the service + * + * @return the DeviceInstallState from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceInstallState get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceInstallState with a source + * + * @param sourceDeviceInstallState the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceInstallState sourceDeviceInstallState, final ICallback callback); + + /** + * Patches this DeviceInstallState with a source + * + * @param sourceDeviceInstallState the source object with updates + * @return the updated DeviceInstallState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceInstallState patch(final DeviceInstallState sourceDeviceInstallState) throws ClientException; + + /** + * Posts a DeviceInstallState with a new object + * + * @param newDeviceInstallState the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceInstallState newDeviceInstallState, final ICallback callback); + + /** + * Posts a DeviceInstallState with a new object + * + * @param newDeviceInstallState the new object to create + * @return the created DeviceInstallState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceInstallStateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceInstallStateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequestBuilder.java index 942d29b12a4..4d476b92d0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceInstallStateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Install State Request Builder. */ -public interface IDeviceInstallStateRequestBuilder extends IBaseDeviceInstallStateRequestBuilder { +public interface IDeviceInstallStateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceInstallStateRequest instance + */ + IDeviceInstallStateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceInstallStateRequest instance + */ + IDeviceInstallStateRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionPage.java index e5631773373..7fd5d4ee82e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Collection Page. */ -public interface IDeviceManagementExchangeConnectorCollectionPage extends IBaseDeviceManagementExchangeConnectorCollectionPage { - +public interface IDeviceManagementExchangeConnectorCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequest.java index 5b747530815..3b38632b79f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Collection Request. */ -public interface IDeviceManagementExchangeConnectorCollectionRequest extends IBaseDeviceManagementExchangeConnectorCollectionRequest { +public interface IDeviceManagementExchangeConnectorCollectionRequest { + + void get(final ICallback callback); + + IDeviceManagementExchangeConnectorCollectionPage get() throws ClientException; + + void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback); + + DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementExchangeConnectorCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementExchangeConnectorCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceManagementExchangeConnectorCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequestBuilder.java index 1e551e506fb..272e11ebe79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Collection Request Builder. */ -public interface IDeviceManagementExchangeConnectorCollectionRequestBuilder extends IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder { +public interface IDeviceManagementExchangeConnectorCollectionRequestBuilder extends IRequestBuilder { + + IDeviceManagementExchangeConnectorCollectionRequest buildRequest(); + + IDeviceManagementExchangeConnectorCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceManagementExchangeConnectorRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequest.java index c89c0dd8c79..6983cf09390 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Request. */ -public interface IDeviceManagementExchangeConnectorRequest extends IBaseDeviceManagementExchangeConnectorRequest { +public interface IDeviceManagementExchangeConnectorRequest extends IHttpRequest { + + /** + * Gets the DeviceManagementExchangeConnector from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceManagementExchangeConnector from the service + * + * @return the DeviceManagementExchangeConnector from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementExchangeConnector get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceManagementExchangeConnector with a source + * + * @param sourceDeviceManagementExchangeConnector the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector, final ICallback callback); + + /** + * Patches this DeviceManagementExchangeConnector with a source + * + * @param sourceDeviceManagementExchangeConnector the source object with updates + * @return the updated DeviceManagementExchangeConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementExchangeConnector patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector) throws ClientException; + + /** + * Posts a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback); + + /** + * Posts a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the new object to create + * @return the created DeviceManagementExchangeConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementExchangeConnectorRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementExchangeConnectorRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequestBuilder.java index 37eed6d1481..e36591419b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequest; +import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Request Builder. */ -public interface IDeviceManagementExchangeConnectorRequestBuilder extends IBaseDeviceManagementExchangeConnectorRequestBuilder { +public interface IDeviceManagementExchangeConnectorRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceManagementExchangeConnectorRequest instance + */ + IDeviceManagementExchangeConnectorRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceManagementExchangeConnectorRequest instance + */ + IDeviceManagementExchangeConnectorRequest buildRequest(final java.util.List requestOptions); + + IDeviceManagementExchangeConnectorSyncRequestBuilder sync(final DeviceManagementExchangeConnectorSyncType syncType); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequest.java index 71822ebfdf6..a35c1fc8f9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorSyncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Sync Request. */ -public interface IDeviceManagementExchangeConnectorSyncRequest extends IBaseDeviceManagementExchangeConnectorSyncRequest { +public interface IDeviceManagementExchangeConnectorSyncRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementExchangeConnectorSyncRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceManagementExchangeConnectorSyncRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementExchangeConnectorSyncRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequestBuilder.java index 0735f019e8c..2d90d55838e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorSyncRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementExchangeConnectorSyncRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Exchange Connector Sync Request Builder. */ -public interface IDeviceManagementExchangeConnectorSyncRequestBuilder extends IBaseDeviceManagementExchangeConnectorSyncRequestBuilder { +public interface IDeviceManagementExchangeConnectorSyncRequestBuilder extends IRequestBuilder { + /** + * Creates the IDeviceManagementExchangeConnectorSyncRequest + * + * @return the IDeviceManagementExchangeConnectorSyncRequest instance + */ + IDeviceManagementExchangeConnectorSyncRequest buildRequest(); + + /** + * Creates the IDeviceManagementExchangeConnectorSyncRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDeviceManagementExchangeConnectorSyncRequest instance + */ + IDeviceManagementExchangeConnectorSyncRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionPage.java index dda0b6b34db..a92fb8c4c1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementGetEffectivePermissionsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Get Effective Permissions Collection Page. */ -public interface IDeviceManagementGetEffectivePermissionsCollectionPage extends IBaseDeviceManagementGetEffectivePermissionsCollectionPage { - +public interface IDeviceManagementGetEffectivePermissionsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequest.java index 1d06af2dbd5..2ddecd6f2f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementGetEffectivePermissionsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Get Effective Permissions Collection Request. */ -public interface IDeviceManagementGetEffectivePermissionsCollectionRequest extends IBaseDeviceManagementGetEffectivePermissionsCollectionRequest { +public interface IDeviceManagementGetEffectivePermissionsCollectionRequest { + + void get(final ICallback callback); + + IDeviceManagementGetEffectivePermissionsCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementGetEffectivePermissionsCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementGetEffectivePermissionsCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceManagementGetEffectivePermissionsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java index 81f1d643e5d..a70178c7e75 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Get Effective Permissions Collection Request Builder. */ -public interface IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder extends IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder { +public interface IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder extends IRequestBuilder { + + IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest(); + + IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionPage.java index ebc7080b3f4..63320c35bdc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementPartnerCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Partner Collection Page. */ -public interface IDeviceManagementPartnerCollectionPage extends IBaseDeviceManagementPartnerCollectionPage { - +public interface IDeviceManagementPartnerCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequest.java index 328ef4ba2af..9730e845306 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementPartnerCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Partner Collection Request. */ -public interface IDeviceManagementPartnerCollectionRequest extends IBaseDeviceManagementPartnerCollectionRequest { +public interface IDeviceManagementPartnerCollectionRequest { + + void get(final ICallback callback); + + IDeviceManagementPartnerCollectionPage get() throws ClientException; + + void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback); + + DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementPartnerCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementPartnerCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceManagementPartnerCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequestBuilder.java index d8ba429be58..4c579d659f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Partner Collection Request Builder. */ -public interface IDeviceManagementPartnerCollectionRequestBuilder extends IBaseDeviceManagementPartnerCollectionRequestBuilder { +public interface IDeviceManagementPartnerCollectionRequestBuilder extends IRequestBuilder { + + IDeviceManagementPartnerCollectionRequest buildRequest(); + + IDeviceManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceManagementPartnerRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequest.java index 529ca47b851..841398a0c13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementPartner; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementPartnerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Partner Request. */ -public interface IDeviceManagementPartnerRequest extends IBaseDeviceManagementPartnerRequest { +public interface IDeviceManagementPartnerRequest extends IHttpRequest { + + /** + * Gets the DeviceManagementPartner from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceManagementPartner from the service + * + * @return the DeviceManagementPartner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementPartner get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceManagementPartner with a source + * + * @param sourceDeviceManagementPartner the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceManagementPartner sourceDeviceManagementPartner, final ICallback callback); + + /** + * Patches this DeviceManagementPartner with a source + * + * @param sourceDeviceManagementPartner the source object with updates + * @return the updated DeviceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementPartner patch(final DeviceManagementPartner sourceDeviceManagementPartner) throws ClientException; + + /** + * Posts a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback); + + /** + * Posts a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the new object to create + * @return the created DeviceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementPartnerRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementPartnerRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequestBuilder.java index 00bba104314..2170119b449 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementPartnerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Partner Request Builder. */ -public interface IDeviceManagementPartnerRequestBuilder extends IBaseDeviceManagementPartnerRequestBuilder { +public interface IDeviceManagementPartnerRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceManagementPartnerRequest instance + */ + IDeviceManagementPartnerRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceManagementPartnerRequest instance + */ + IDeviceManagementPartnerRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequest.java index 7dcab97b840..d68c08fa1a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagement; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Request. */ -public interface IDeviceManagementRequest extends IBaseDeviceManagementRequest { +public interface IDeviceManagementRequest extends IHttpRequest { + + /** + * Gets the DeviceManagement from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceManagement from the service + * + * @return the DeviceManagement from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagement get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceManagement with a source + * + * @param sourceDeviceManagement the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceManagement sourceDeviceManagement, final ICallback callback); + + /** + * Patches this DeviceManagement with a source + * + * @param sourceDeviceManagement the source object with updates + * @return the updated DeviceManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagement patch(final DeviceManagement sourceDeviceManagement) throws ClientException; + + /** + * Posts a DeviceManagement with a new object + * + * @param newDeviceManagement the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceManagement newDeviceManagement, final ICallback callback); + + /** + * Posts a DeviceManagement with a new object + * + * @param newDeviceManagement the new object to create + * @return the created DeviceManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagement post(final DeviceManagement newDeviceManagement) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequestBuilder.java index a5c6302b984..61c0015bd1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequestBuilder.java @@ -3,14 +3,211 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementRequest; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequestBuilder; +import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDetectedAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDetectedAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequestBuilder; +import com.microsoft.graph.requests.extensions.IRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IRoleDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Request Builder. */ -public interface IDeviceManagementRequestBuilder extends IBaseDeviceManagementRequestBuilder { +public interface IDeviceManagementRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceManagementRequest instance + */ + IDeviceManagementRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceManagementRequest instance + */ + IDeviceManagementRequest buildRequest(final java.util.List requestOptions); + + + ITermsAndConditionsCollectionRequestBuilder termsAndConditions(); + + ITermsAndConditionsRequestBuilder termsAndConditions(final String id); + + /** + * Gets the request builder for ApplePushNotificationCertificate + * + * @return the IApplePushNotificationCertificateRequestBuilder instance + */ + IApplePushNotificationCertificateRequestBuilder applePushNotificationCertificate(); + + /** + * Gets the request builder for ManagedDeviceOverview + * + * @return the IManagedDeviceOverviewWithReferenceRequestBuilder instance + */ + IManagedDeviceOverviewWithReferenceRequestBuilder managedDeviceOverview(); + + IDetectedAppCollectionRequestBuilder detectedApps(); + + IDetectedAppRequestBuilder detectedApps(final String id); + + IManagedDeviceCollectionRequestBuilder managedDevices(); + + IManagedDeviceRequestBuilder managedDevices(final String id); + + IDeviceConfigurationCollectionRequestBuilder deviceConfigurations(); + + IDeviceConfigurationRequestBuilder deviceConfigurations(final String id); + + IDeviceCompliancePolicyCollectionRequestBuilder deviceCompliancePolicies(); + + IDeviceCompliancePolicyRequestBuilder deviceCompliancePolicies(final String id); + + /** + * Gets the request builder for SoftwareUpdateStatusSummary + * + * @return the ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder instance + */ + ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder softwareUpdateStatusSummary(); + + /** + * Gets the request builder for DeviceCompliancePolicyDeviceStateSummary + * + * @return the IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder instance + */ + IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder deviceCompliancePolicyDeviceStateSummary(); + + IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder deviceCompliancePolicySettingStateSummaries(); + + IDeviceCompliancePolicySettingStateSummaryRequestBuilder deviceCompliancePolicySettingStateSummaries(final String id); + + /** + * Gets the request builder for DeviceConfigurationDeviceStateSummary + * + * @return the IDeviceConfigurationDeviceStateSummaryRequestBuilder instance + */ + IDeviceConfigurationDeviceStateSummaryRequestBuilder deviceConfigurationDeviceStateSummaries(); + + IIosUpdateDeviceStatusCollectionRequestBuilder iosUpdateStatuses(); + + IIosUpdateDeviceStatusRequestBuilder iosUpdateStatuses(final String id); + + IDeviceCategoryCollectionRequestBuilder deviceCategories(); + + IDeviceCategoryRequestBuilder deviceCategories(final String id); + + IDeviceManagementExchangeConnectorCollectionRequestBuilder exchangeConnectors(); + + IDeviceManagementExchangeConnectorRequestBuilder exchangeConnectors(final String id); + + IDeviceEnrollmentConfigurationCollectionRequestBuilder deviceEnrollmentConfigurations(); + + IDeviceEnrollmentConfigurationRequestBuilder deviceEnrollmentConfigurations(final String id); + + /** + * Gets the request builder for OnPremisesConditionalAccessSettings + * + * @return the IOnPremisesConditionalAccessSettingsRequestBuilder instance + */ + IOnPremisesConditionalAccessSettingsRequestBuilder conditionalAccessSettings(); + + IMobileThreatDefenseConnectorCollectionRequestBuilder mobileThreatDefenseConnectors(); + + IMobileThreatDefenseConnectorRequestBuilder mobileThreatDefenseConnectors(final String id); + + IDeviceManagementPartnerCollectionRequestBuilder deviceManagementPartners(); + + IDeviceManagementPartnerRequestBuilder deviceManagementPartners(final String id); + + INotificationMessageTemplateCollectionRequestBuilder notificationMessageTemplates(); + + INotificationMessageTemplateRequestBuilder notificationMessageTemplates(final String id); + + IRoleDefinitionCollectionRequestBuilder roleDefinitions(); + + IRoleDefinitionRequestBuilder roleDefinitions(final String id); + + IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder roleAssignments(); + + IDeviceAndAppManagementRoleAssignmentRequestBuilder roleAssignments(final String id); + + IResourceOperationCollectionRequestBuilder resourceOperations(); + + IResourceOperationRequestBuilder resourceOperations(final String id); + + ITelecomExpenseManagementPartnerCollectionRequestBuilder telecomExpenseManagementPartners(); + + ITelecomExpenseManagementPartnerRequestBuilder telecomExpenseManagementPartners(final String id); + + IRemoteAssistancePartnerCollectionRequestBuilder remoteAssistancePartners(); + + IRemoteAssistancePartnerRequestBuilder remoteAssistancePartners(final String id); + + IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder windowsInformationProtectionAppLearningSummaries(); + + IWindowsInformationProtectionAppLearningSummaryRequestBuilder windowsInformationProtectionAppLearningSummaries(final String id); + + IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder windowsInformationProtectionNetworkLearningSummaries(); + + IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder windowsInformationProtectionNetworkLearningSummaries(final String id); + + IDeviceManagementTroubleshootingEventCollectionRequestBuilder troubleshootingEvents(); + + IDeviceManagementTroubleshootingEventRequestBuilder troubleshootingEvents(final String id); + IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder verifyWindowsEnrollmentAutoDiscovery(final String domainName); + + IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder getEffectivePermissions(final String scope); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionPage.java index 40234593dce..c9213567e3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementTroubleshootingEventCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Troubleshooting Event Collection Page. */ -public interface IDeviceManagementTroubleshootingEventCollectionPage extends IBaseDeviceManagementTroubleshootingEventCollectionPage { - +public interface IDeviceManagementTroubleshootingEventCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequest.java index 5c7ef31dc39..5b8fe27ba35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementTroubleshootingEventCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Troubleshooting Event Collection Request. */ -public interface IDeviceManagementTroubleshootingEventCollectionRequest extends IBaseDeviceManagementTroubleshootingEventCollectionRequest { +public interface IDeviceManagementTroubleshootingEventCollectionRequest { + + void get(final ICallback callback); + + IDeviceManagementTroubleshootingEventCollectionPage get() throws ClientException; + + void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback); + + DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementTroubleshootingEventCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementTroubleshootingEventCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDeviceManagementTroubleshootingEventCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequestBuilder.java index bda01984d00..af2001404f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Troubleshooting Event Collection Request Builder. */ -public interface IDeviceManagementTroubleshootingEventCollectionRequestBuilder extends IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder { +public interface IDeviceManagementTroubleshootingEventCollectionRequestBuilder extends IRequestBuilder { + + IDeviceManagementTroubleshootingEventCollectionRequest buildRequest(); + + IDeviceManagementTroubleshootingEventCollectionRequest buildRequest(final java.util.List requestOptions); + + IDeviceManagementTroubleshootingEventRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequest.java index ead008b0618..300950ef220 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementTroubleshootingEventRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Troubleshooting Event Request. */ -public interface IDeviceManagementTroubleshootingEventRequest extends IBaseDeviceManagementTroubleshootingEventRequest { +public interface IDeviceManagementTroubleshootingEventRequest extends IHttpRequest { + + /** + * Gets the DeviceManagementTroubleshootingEvent from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DeviceManagementTroubleshootingEvent from the service + * + * @return the DeviceManagementTroubleshootingEvent from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementTroubleshootingEvent get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DeviceManagementTroubleshootingEvent with a source + * + * @param sourceDeviceManagementTroubleshootingEvent the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent, final ICallback callback); + + /** + * Patches this DeviceManagementTroubleshootingEvent with a source + * + * @param sourceDeviceManagementTroubleshootingEvent the source object with updates + * @return the updated DeviceManagementTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementTroubleshootingEvent patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent) throws ClientException; + + /** + * Posts a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback); + + /** + * Posts a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the new object to create + * @return the created DeviceManagementTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementTroubleshootingEventRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementTroubleshootingEventRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequestBuilder.java index 1dbfc35614b..cf7c26a2adb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Troubleshooting Event Request Builder. */ -public interface IDeviceManagementTroubleshootingEventRequestBuilder extends IBaseDeviceManagementTroubleshootingEventRequestBuilder { +public interface IDeviceManagementTroubleshootingEventRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceManagementTroubleshootingEventRequest instance + */ + IDeviceManagementTroubleshootingEventRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceManagementTroubleshootingEventRequest instance + */ + IDeviceManagementTroubleshootingEventRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java index ad03d3c46b9..77e618d277a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Verify Windows Enrollment Auto Discovery Request. */ -public interface IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest extends IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest { +public interface IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest { + + /** + * Gets the Boolean + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Boolean + * + * @return the Boolean + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Boolean get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java index cf4e0089f6f..4a5cb6f0ed9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; -import com.microsoft.graph.requests.generated.IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Management Verify Windows Enrollment Auto Discovery Request Builder. */ -public interface IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder extends IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder { +public interface IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder extends IRequestBuilder { + /** + * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest + * + * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance + */ + IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest(); + + /** + * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance + */ + IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequest.java index de53e5f0b24..9b95d118b21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Device; -import com.microsoft.graph.requests.generated.IBaseDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Request. */ -public interface IDeviceRequest extends IBaseDeviceRequest { +public interface IDeviceRequest extends IHttpRequest { + + /** + * Gets the Device from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Device from the service + * + * @return the Device from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Device get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Device with a source + * + * @param sourceDevice the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Device sourceDevice, final ICallback callback); + + /** + * Patches this Device with a source + * + * @param sourceDevice the source object with updates + * @return the updated Device + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Device patch(final Device sourceDevice) throws ClientException; + + /** + * Posts a Device with a new object + * + * @param newDevice the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Device newDevice, final ICallback callback); + + /** + * Posts a Device with a new object + * + * @param newDevice the new object to create + * @return the created Device + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Device post(final Device newDevice) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDeviceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDeviceRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequestBuilder.java index aba170e96e9..851ea82c522 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequestBuilder.java @@ -3,14 +3,62 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDeviceRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDeviceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Device Request Builder. */ -public interface IDeviceRequestBuilder extends IBaseDeviceRequestBuilder { +public interface IDeviceRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDeviceRequest instance + */ + IDeviceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDeviceRequest instance + */ + IDeviceRequest buildRequest(final java.util.List requestOptions); + + + IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf(); + + IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder registeredOwners(); + + IDirectoryObjectWithReferenceRequestBuilder registeredOwners(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder registeredUsers(); + + IDirectoryObjectWithReferenceRequestBuilder registeredUsers(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMemberOf(); + + IDirectoryObjectWithReferenceRequestBuilder transitiveMemberOf(final String id); + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionPage.java index 897fcbd600a..7ad65c5be41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCheckMemberGroupsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Check Member Groups Collection Page. */ -public interface IDirectoryObjectCheckMemberGroupsCollectionPage extends IBaseDirectoryObjectCheckMemberGroupsCollectionPage { - +public interface IDirectoryObjectCheckMemberGroupsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequest.java index cb9477872b1..a9467df64fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCheckMemberGroupsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Check Member Groups Collection Request. */ -public interface IDirectoryObjectCheckMemberGroupsCollectionRequest extends IBaseDirectoryObjectCheckMemberGroupsCollectionRequest { +public interface IDirectoryObjectCheckMemberGroupsCollectionRequest { + + void post(final ICallback callback); + + IDirectoryObjectCheckMemberGroupsCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectCheckMemberGroupsCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectCheckMemberGroupsCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryObjectCheckMemberGroupsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java index 2dba25553b8..b5652ac11a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Check Member Groups Collection Request Builder. */ -public interface IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder { +public interface IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest(); + + IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionPage.java index 0ef7dd6fb0f..8c1e60ae038 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection Page. */ -public interface IDirectoryObjectCollectionPage extends IBaseDirectoryObjectCollectionPage { - +public interface IDirectoryObjectCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequest.java index 7201c4859ce..5650ca53c40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection Reference Request. */ -public interface IDirectoryObjectCollectionReferenceRequest extends IBaseDirectoryObjectCollectionReferenceRequest { +public interface IDirectoryObjectCollectionReferenceRequest { + + void post(final DirectoryObject newDirectoryObject, final ICallback callback); + + DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; + + IDirectoryObjectCollectionReferenceRequest select(final String value); + + IDirectoryObjectCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequestBuilder.java index 1fdcdaa5df3..ee85e6bdcf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection Reference Request Builder. */ -public interface IDirectoryObjectCollectionReferenceRequestBuilder extends IBaseDirectoryObjectCollectionReferenceRequestBuilder { +public interface IDirectoryObjectCollectionReferenceRequestBuilder extends IRequestBuilder { + + IDirectoryObjectCollectionReferenceRequest buildRequest(); + IDirectoryObjectCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequest.java index a60657538e4..6bbe4cfe120 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection Request. */ -public interface IDirectoryObjectCollectionRequest extends IBaseDirectoryObjectCollectionRequest { +public interface IDirectoryObjectCollectionRequest { + + void get(final ICallback callback); + + IDirectoryObjectCollectionPage get() throws ClientException; + + void post(final DirectoryObject newDirectoryObject, final ICallback callback); + + DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryObjectCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequestBuilder.java index e5fca9ccad9..994251be584 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection Request Builder. */ -public interface IDirectoryObjectCollectionRequestBuilder extends IBaseDirectoryObjectCollectionRequestBuilder { +public interface IDirectoryObjectCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryObjectCollectionRequest buildRequest(); + + IDirectoryObjectCollectionRequest buildRequest(final java.util.List requestOptions); + + IDirectoryObjectRequestBuilder byId(final String id); + + IDirectoryObjectGetByIdsCollectionRequestBuilder getByIds(final java.util.List ids, final java.util.List types); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesPage.java index a3b05d3fcac..d716cfa8860 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection With References Page. */ -public interface IDirectoryObjectCollectionWithReferencesPage extends IBaseDirectoryObjectCollectionWithReferencesPage { - +public interface IDirectoryObjectCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequest.java index 8ad4643d67d..36d6d66f043 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection With References Request. */ -public interface IDirectoryObjectCollectionWithReferencesRequest extends IBaseDirectoryObjectCollectionWithReferencesRequest { +public interface IDirectoryObjectCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IDirectoryObjectCollectionWithReferencesPage get() throws ClientException; + + IDirectoryObjectCollectionWithReferencesRequest expand(final String value); + + IDirectoryObjectCollectionWithReferencesRequest select(final String value); + + IDirectoryObjectCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequestBuilder.java index d608044c506..72be81b160a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Collection With References Request Builder. */ -public interface IDirectoryObjectCollectionWithReferencesRequestBuilder extends IBaseDirectoryObjectCollectionWithReferencesRequestBuilder { +public interface IDirectoryObjectCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IDirectoryObjectCollectionWithReferencesRequest buildRequest(); + + IDirectoryObjectCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IDirectoryObjectWithReferenceRequestBuilder byId(final String id); + IDirectoryObjectCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionPage.java index 5bcf61ff974..8aafc2f5b4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetByIdsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get By Ids Collection Page. */ -public interface IDirectoryObjectGetByIdsCollectionPage extends IBaseDirectoryObjectGetByIdsCollectionPage { - +public interface IDirectoryObjectGetByIdsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequest.java index 088631a9c32..b67d1766cb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetByIdsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get By Ids Collection Request. */ -public interface IDirectoryObjectGetByIdsCollectionRequest extends IBaseDirectoryObjectGetByIdsCollectionRequest { +public interface IDirectoryObjectGetByIdsCollectionRequest { + + void post(final ICallback callback); + + IDirectoryObjectGetByIdsCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectGetByIdsCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectGetByIdsCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryObjectGetByIdsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequestBuilder.java index 66a7e7cb15f..187e64269a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetByIdsCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetByIdsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get By Ids Collection Request Builder. */ -public interface IDirectoryObjectGetByIdsCollectionRequestBuilder extends IBaseDirectoryObjectGetByIdsCollectionRequestBuilder { +public interface IDirectoryObjectGetByIdsCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryObjectGetByIdsCollectionRequest buildRequest(); + + IDirectoryObjectGetByIdsCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionPage.java index 5a02ceebdfb..352eb202d33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetMemberGroupsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get Member Groups Collection Page. */ -public interface IDirectoryObjectGetMemberGroupsCollectionPage extends IBaseDirectoryObjectGetMemberGroupsCollectionPage { - +public interface IDirectoryObjectGetMemberGroupsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequest.java index 07c711b0ea6..8038aff5244 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetMemberGroupsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get Member Groups Collection Request. */ -public interface IDirectoryObjectGetMemberGroupsCollectionRequest extends IBaseDirectoryObjectGetMemberGroupsCollectionRequest { +public interface IDirectoryObjectGetMemberGroupsCollectionRequest { + + void post(final ICallback callback); + + IDirectoryObjectGetMemberGroupsCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectGetMemberGroupsCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectGetMemberGroupsCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryObjectGetMemberGroupsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java index 56428b8059f..461f917dcdf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get Member Groups Collection Request Builder. */ -public interface IDirectoryObjectGetMemberGroupsCollectionRequestBuilder extends IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder { +public interface IDirectoryObjectGetMemberGroupsCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest(); + + IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionPage.java index f34c89d0bff..941ca199587 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetMemberObjectsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get Member Objects Collection Page. */ -public interface IDirectoryObjectGetMemberObjectsCollectionPage extends IBaseDirectoryObjectGetMemberObjectsCollectionPage { - +public interface IDirectoryObjectGetMemberObjectsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequest.java index ee25f826299..478a2892607 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetMemberObjectsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get Member Objects Collection Request. */ -public interface IDirectoryObjectGetMemberObjectsCollectionRequest extends IBaseDirectoryObjectGetMemberObjectsCollectionRequest { +public interface IDirectoryObjectGetMemberObjectsCollectionRequest { + + void post(final ICallback callback); + + IDirectoryObjectGetMemberObjectsCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectGetMemberObjectsCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectGetMemberObjectsCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryObjectGetMemberObjectsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java index a28ff9c2e2c..cdd7b8832d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Get Member Objects Collection Request Builder. */ -public interface IDirectoryObjectGetMemberObjectsCollectionRequestBuilder extends IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder { +public interface IDirectoryObjectGetMemberObjectsCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest(); + + IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequest.java index 39f970495c9..418168d1653 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Reference Request. */ -public interface IDirectoryObjectReferenceRequest extends IBaseDirectoryObjectReferenceRequest { +public interface IDirectoryObjectReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + DirectoryObject delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectReferenceRequest expand(final String value); + + /** + * Puts the DirectoryObject + * + * @param srcDirectoryObject the DirectoryObject to PUT + * @param callback the callback to be called after success or failure + */ + void put(DirectoryObject srcDirectoryObject, final ICallback callback); + /** + * Puts the DirectoryObject + * + * @param srcDirectoryObject the DirectoryObject to PUT + * @return the DirectoryObject + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + DirectoryObject put(DirectoryObject srcDirectoryObject) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequestBuilder.java index 7f9c9e2f584..03bb76c6929 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Reference Request Builder. */ -public interface IDirectoryObjectReferenceRequestBuilder extends IBaseDirectoryObjectReferenceRequestBuilder { +public interface IDirectoryObjectReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IDirectoryObjectReferenceRequest instance + */ + IDirectoryObjectReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryObjectReferenceRequest instance + */ + IDirectoryObjectReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequest.java index 81e5740edca..312a1a22b9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Request. */ -public interface IDirectoryObjectRequest extends IBaseDirectoryObjectRequest { +public interface IDirectoryObjectRequest extends IHttpRequest { + + /** + * Gets the DirectoryObject from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DirectoryObject from the service + * + * @return the DirectoryObject from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryObject get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DirectoryObject with a source + * + * @param sourceDirectoryObject the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback); + + /** + * Patches this DirectoryObject with a source + * + * @param sourceDirectoryObject the source object with updates + * @return the updated DirectoryObject + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException; + + /** + * Posts a DirectoryObject with a new object + * + * @param newDirectoryObject the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DirectoryObject newDirectoryObject, final ICallback callback); + + /** + * Posts a DirectoryObject with a new object + * + * @param newDirectoryObject the new object to create + * @return the created DirectoryObject + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequestBuilder.java index 16b698c3b0b..e4e486f835f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequestBuilder.java @@ -3,14 +3,43 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberGroupsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberObjectsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Request Builder. */ -public interface IDirectoryObjectRequestBuilder extends IBaseDirectoryObjectRequestBuilder { +public interface IDirectoryObjectRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDirectoryObjectRequest instance + */ + IDirectoryObjectRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryObjectRequest instance + */ + IDirectoryObjectRequest buildRequest(final java.util.List requestOptions); + + + IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder checkMemberGroups(final java.util.List groupIds); + + IDirectoryObjectGetMemberGroupsCollectionRequestBuilder getMemberGroups(final Boolean securityEnabledOnly); + + IDirectoryObjectGetMemberObjectsCollectionRequestBuilder getMemberObjects(final Boolean securityEnabledOnly); + IDirectoryObjectRestoreRequestBuilder restore(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequest.java index 8b62215607b..c449a95c69e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectRestoreRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Restore Request. */ -public interface IDirectoryObjectRestoreRequest extends IBaseDirectoryObjectRestoreRequest { +public interface IDirectoryObjectRestoreRequest { + + /** + * Creates the DirectoryObjectRestore + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the DirectoryObjectRestore + * + * @return the DirectoryObject + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + DirectoryObject post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryObjectRestoreRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryObjectRestoreRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequestBuilder.java index d1902622bbb..2aff0dbd73f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRestoreRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectRestoreRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object Restore Request Builder. */ -public interface IDirectoryObjectRestoreRequestBuilder extends IBaseDirectoryObjectRestoreRequestBuilder { +public interface IDirectoryObjectRestoreRequestBuilder extends IRequestBuilder { + /** + * Creates the IDirectoryObjectRestoreRequest + * + * @return the IDirectoryObjectRestoreRequest instance + */ + IDirectoryObjectRestoreRequest buildRequest(); + + /** + * Creates the IDirectoryObjectRestoreRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDirectoryObjectRestoreRequest instance + */ + IDirectoryObjectRestoreRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequest.java index 10b2a812097..b051cbdc629 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object With Reference Request. */ -public interface IDirectoryObjectWithReferenceRequest extends IBaseDirectoryObjectWithReferenceRequest { +public interface IDirectoryObjectWithReferenceRequest extends IHttpRequest { + + void post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload, final ICallback callback); + + DirectoryObject post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + DirectoryObject get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback); + + DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException; + + IDirectoryObjectWithReferenceRequest select(final String value); + + IDirectoryObjectWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequestBuilder.java index 17cd2feb4b5..c6c72c0ba54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Object With Reference Request Builder. */ -public interface IDirectoryObjectWithReferenceRequestBuilder extends IBaseDirectoryObjectWithReferenceRequestBuilder { +public interface IDirectoryObjectWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IDirectoryObjectWithReferenceRequest instance + */ + IDirectoryObjectWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryObjectWithReferenceRequest instance + */ + IDirectoryObjectWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IDirectoryObjectReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequest.java index efe4610fe71..377d7d4051d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Directory; -import com.microsoft.graph.requests.generated.IBaseDirectoryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Request. */ -public interface IDirectoryRequest extends IBaseDirectoryRequest { +public interface IDirectoryRequest extends IHttpRequest { + + /** + * Gets the Directory from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Directory from the service + * + * @return the Directory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Directory get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Directory with a source + * + * @param sourceDirectory the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Directory sourceDirectory, final ICallback callback); + + /** + * Patches this Directory with a source + * + * @param sourceDirectory the source object with updates + * @return the updated Directory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Directory patch(final Directory sourceDirectory) throws ClientException; + + /** + * Posts a Directory with a new object + * + * @param newDirectory the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Directory newDirectory, final ICallback callback); + + /** + * Posts a Directory with a new object + * + * @param newDirectory the new object to create + * @return the created Directory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Directory post(final Directory newDirectory) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequestBuilder.java index 0cf9f707386..d05855f52f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDirectoryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Request Builder. */ -public interface IDirectoryRequestBuilder extends IBaseDirectoryRequestBuilder { +public interface IDirectoryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDirectoryRequest instance + */ + IDirectoryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryRequest instance + */ + IDirectoryRequest buildRequest(final java.util.List requestOptions); + + + IDirectoryObjectCollectionRequestBuilder deletedItems(); + + IDirectoryObjectRequestBuilder deletedItems(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionPage.java index 174c4a945a4..6abd780a7fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Collection Page. */ -public interface IDirectoryRoleCollectionPage extends IBaseDirectoryRoleCollectionPage { - +public interface IDirectoryRoleCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequest.java index 135d7c4f172..c3a8bbb9a4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Collection Request. */ -public interface IDirectoryRoleCollectionRequest extends IBaseDirectoryRoleCollectionRequest { +public interface IDirectoryRoleCollectionRequest { + + void get(final ICallback callback); + + IDirectoryRoleCollectionPage get() throws ClientException; + + void post(final DirectoryRole newDirectoryRole, final ICallback callback); + + DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryRoleCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryRoleCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryRoleCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequestBuilder.java index 44bb81675f3..af8e1dfca43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Collection Request Builder. */ -public interface IDirectoryRoleCollectionRequestBuilder extends IBaseDirectoryRoleCollectionRequestBuilder { +public interface IDirectoryRoleCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryRoleCollectionRequest buildRequest(); + + IDirectoryRoleCollectionRequest buildRequest(final java.util.List requestOptions); + + IDirectoryRoleRequestBuilder byId(final String id); + + + IDirectoryRoleDeltaCollectionRequestBuilder delta(); + IDirectoryRoleDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionPage.java index 6e8026f5346..5c4ff762e4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Delta Collection Page. */ -public interface IDirectoryRoleDeltaCollectionPage extends IBaseDirectoryRoleDeltaCollectionPage { - +public interface IDirectoryRoleDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequest.java index 2eaaf95cbb3..7a653f23c5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Delta Collection Request. */ -public interface IDirectoryRoleDeltaCollectionRequest extends IBaseDirectoryRoleDeltaCollectionRequest { +public interface IDirectoryRoleDeltaCollectionRequest { + + void get(final ICallback callback); + + IDirectoryRoleDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryRoleDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryRoleDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryRoleDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequestBuilder.java index b7621b65450..b3689a54b63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Delta Collection Request Builder. */ -public interface IDirectoryRoleDeltaCollectionRequestBuilder extends IBaseDirectoryRoleDeltaCollectionRequestBuilder { +public interface IDirectoryRoleDeltaCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryRoleDeltaCollectionRequest buildRequest(); + + IDirectoryRoleDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequest.java index c336da95df9..e671e3a55b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryRole; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Request. */ -public interface IDirectoryRoleRequest extends IBaseDirectoryRoleRequest { +public interface IDirectoryRoleRequest extends IHttpRequest { + + /** + * Gets the DirectoryRole from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DirectoryRole from the service + * + * @return the DirectoryRole from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRole get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DirectoryRole with a source + * + * @param sourceDirectoryRole the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DirectoryRole sourceDirectoryRole, final ICallback callback); + + /** + * Patches this DirectoryRole with a source + * + * @param sourceDirectoryRole the source object with updates + * @return the updated DirectoryRole + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRole patch(final DirectoryRole sourceDirectoryRole) throws ClientException; + + /** + * Posts a DirectoryRole with a new object + * + * @param newDirectoryRole the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DirectoryRole newDirectoryRole, final ICallback callback); + + /** + * Posts a DirectoryRole with a new object + * + * @param newDirectoryRole the new object to create + * @return the created DirectoryRole + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryRoleRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryRoleRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequestBuilder.java index b6d99cc2702..5e6cc1f5b6c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRoleRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Request Builder. */ -public interface IDirectoryRoleRequestBuilder extends IBaseDirectoryRoleRequestBuilder { +public interface IDirectoryRoleRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDirectoryRoleRequest instance + */ + IDirectoryRoleRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryRoleRequest instance + */ + IDirectoryRoleRequest buildRequest(final java.util.List requestOptions); + + + IDirectoryObjectCollectionWithReferencesRequestBuilder members(); + + IDirectoryObjectWithReferenceRequestBuilder members(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionPage.java index cb994b5c288..68869f6b9e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleTemplateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Template Collection Page. */ -public interface IDirectoryRoleTemplateCollectionPage extends IBaseDirectoryRoleTemplateCollectionPage { - +public interface IDirectoryRoleTemplateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequest.java index 9088555b43b..dd3e45417d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleTemplateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Template Collection Request. */ -public interface IDirectoryRoleTemplateCollectionRequest extends IBaseDirectoryRoleTemplateCollectionRequest { +public interface IDirectoryRoleTemplateCollectionRequest { + + void get(final ICallback callback); + + IDirectoryRoleTemplateCollectionPage get() throws ClientException; + + void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback); + + DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryRoleTemplateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryRoleTemplateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDirectoryRoleTemplateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequestBuilder.java index 9a5950cff9a..64c863669e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleTemplateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Template Collection Request Builder. */ -public interface IDirectoryRoleTemplateCollectionRequestBuilder extends IBaseDirectoryRoleTemplateCollectionRequestBuilder { +public interface IDirectoryRoleTemplateCollectionRequestBuilder extends IRequestBuilder { + + IDirectoryRoleTemplateCollectionRequest buildRequest(); + + IDirectoryRoleTemplateCollectionRequest buildRequest(final java.util.List requestOptions); + + IDirectoryRoleTemplateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequest.java index 423b8c4da61..be84afebd49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleTemplateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Template Request. */ -public interface IDirectoryRoleTemplateRequest extends IBaseDirectoryRoleTemplateRequest { +public interface IDirectoryRoleTemplateRequest extends IHttpRequest { + + /** + * Gets the DirectoryRoleTemplate from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DirectoryRoleTemplate from the service + * + * @return the DirectoryRoleTemplate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRoleTemplate get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DirectoryRoleTemplate with a source + * + * @param sourceDirectoryRoleTemplate the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate, final ICallback callback); + + /** + * Patches this DirectoryRoleTemplate with a source + * + * @param sourceDirectoryRoleTemplate the source object with updates + * @return the updated DirectoryRoleTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRoleTemplate patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate) throws ClientException; + + /** + * Posts a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback); + + /** + * Posts a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the new object to create + * @return the created DirectoryRoleTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDirectoryRoleTemplateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDirectoryRoleTemplateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequestBuilder.java index 27d63dc66e6..d5a1cb72000 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequest; -import com.microsoft.graph.requests.generated.IBaseDirectoryRoleTemplateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Directory Role Template Request Builder. */ -public interface IDirectoryRoleTemplateRequestBuilder extends IBaseDirectoryRoleTemplateRequestBuilder { +public interface IDirectoryRoleTemplateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDirectoryRoleTemplateRequest instance + */ + IDirectoryRoleTemplateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDirectoryRoleTemplateRequest instance + */ + IDirectoryRoleTemplateRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionPage.java index b6ea387b38c..3c4ef53c5e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDomainCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Collection Page. */ -public interface IDomainCollectionPage extends IBaseDomainCollectionPage { - +public interface IDomainCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequest.java index ec0b47a6ef4..e7fb20ce043 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDomainCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Collection Request. */ -public interface IDomainCollectionRequest extends IBaseDomainCollectionRequest { +public interface IDomainCollectionRequest { + + void get(final ICallback callback); + + IDomainCollectionPage get() throws ClientException; + + void post(final Domain newDomain, final ICallback callback); + + Domain post(final Domain newDomain) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDomainCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequestBuilder.java index 9707ddd4ecc..b8b1a647934 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDomainCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Collection Request Builder. */ -public interface IDomainCollectionRequestBuilder extends IBaseDomainCollectionRequestBuilder { +public interface IDomainCollectionRequestBuilder extends IRequestBuilder { + + IDomainCollectionRequest buildRequest(); + + IDomainCollectionRequest buildRequest(final java.util.List requestOptions); + + IDomainRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequest.java index 9619c3521b5..bb554c6a5a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsCnameRecord; -import com.microsoft.graph.requests.generated.IBaseDomainDnsCnameRecordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Cname Record Request. */ -public interface IDomainDnsCnameRecordRequest extends IBaseDomainDnsCnameRecordRequest { +public interface IDomainDnsCnameRecordRequest extends IHttpRequest { + + /** + * Gets the DomainDnsCnameRecord from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DomainDnsCnameRecord from the service + * + * @return the DomainDnsCnameRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsCnameRecord get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DomainDnsCnameRecord with a source + * + * @param sourceDomainDnsCnameRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord, final ICallback callback); + + /** + * Patches this DomainDnsCnameRecord with a source + * + * @param sourceDomainDnsCnameRecord the source object with updates + * @return the updated DomainDnsCnameRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsCnameRecord patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord) throws ClientException; + + /** + * Posts a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DomainDnsCnameRecord newDomainDnsCnameRecord, final ICallback callback); + + /** + * Posts a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the new object to create + * @return the created DomainDnsCnameRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsCnameRecord post(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsCnameRecordRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsCnameRecordRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequestBuilder.java index 7984e754274..221ee52a772 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsCnameRecordRequest; -import com.microsoft.graph.requests.generated.IBaseDomainDnsCnameRecordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Cname Record Request Builder. */ -public interface IDomainDnsCnameRecordRequestBuilder extends IBaseDomainDnsCnameRecordRequestBuilder { +public interface IDomainDnsCnameRecordRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainDnsCnameRecordRequest instance + */ + IDomainDnsCnameRecordRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainDnsCnameRecordRequest instance + */ + IDomainDnsCnameRecordRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequest.java index d2cb1a4f26c..6b2872b7202 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsMxRecord; -import com.microsoft.graph.requests.generated.IBaseDomainDnsMxRecordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Mx Record Request. */ -public interface IDomainDnsMxRecordRequest extends IBaseDomainDnsMxRecordRequest { +public interface IDomainDnsMxRecordRequest extends IHttpRequest { + + /** + * Gets the DomainDnsMxRecord from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DomainDnsMxRecord from the service + * + * @return the DomainDnsMxRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsMxRecord get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DomainDnsMxRecord with a source + * + * @param sourceDomainDnsMxRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DomainDnsMxRecord sourceDomainDnsMxRecord, final ICallback callback); + + /** + * Patches this DomainDnsMxRecord with a source + * + * @param sourceDomainDnsMxRecord the source object with updates + * @return the updated DomainDnsMxRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsMxRecord patch(final DomainDnsMxRecord sourceDomainDnsMxRecord) throws ClientException; + + /** + * Posts a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DomainDnsMxRecord newDomainDnsMxRecord, final ICallback callback); + + /** + * Posts a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the new object to create + * @return the created DomainDnsMxRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsMxRecord post(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsMxRecordRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsMxRecordRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequestBuilder.java index f2f52d65f12..54e197a2db8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsMxRecordRequest; -import com.microsoft.graph.requests.generated.IBaseDomainDnsMxRecordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Mx Record Request Builder. */ -public interface IDomainDnsMxRecordRequestBuilder extends IBaseDomainDnsMxRecordRequestBuilder { +public interface IDomainDnsMxRecordRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainDnsMxRecordRequest instance + */ + IDomainDnsMxRecordRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainDnsMxRecordRequest instance + */ + IDomainDnsMxRecordRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionPage.java index 215d1c4c643..0e601bd2926 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDomainDnsRecordCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Record Collection Page. */ -public interface IDomainDnsRecordCollectionPage extends IBaseDomainDnsRecordCollectionPage { - +public interface IDomainDnsRecordCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequest.java index 256f77f7892..02f07d1cbf6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDomainDnsRecordCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Record Collection Request. */ -public interface IDomainDnsRecordCollectionRequest extends IBaseDomainDnsRecordCollectionRequest { +public interface IDomainDnsRecordCollectionRequest { + + void get(final ICallback callback); + + IDomainDnsRecordCollectionPage get() throws ClientException; + + void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback); + + DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsRecordCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsRecordCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDomainDnsRecordCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequestBuilder.java index e976a7f2b14..c3ac08aa983 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Record Collection Request Builder. */ -public interface IDomainDnsRecordCollectionRequestBuilder extends IBaseDomainDnsRecordCollectionRequestBuilder { +public interface IDomainDnsRecordCollectionRequestBuilder extends IRequestBuilder { + + IDomainDnsRecordCollectionRequest buildRequest(); + + IDomainDnsRecordCollectionRequest buildRequest(final java.util.List requestOptions); + + IDomainDnsRecordRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequest.java index b8e6de765ad..39148847506 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.requests.generated.IBaseDomainDnsRecordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Record Request. */ -public interface IDomainDnsRecordRequest extends IBaseDomainDnsRecordRequest { +public interface IDomainDnsRecordRequest extends IHttpRequest { + + /** + * Gets the DomainDnsRecord from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DomainDnsRecord from the service + * + * @return the DomainDnsRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsRecord get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DomainDnsRecord with a source + * + * @param sourceDomainDnsRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DomainDnsRecord sourceDomainDnsRecord, final ICallback callback); + + /** + * Patches this DomainDnsRecord with a source + * + * @param sourceDomainDnsRecord the source object with updates + * @return the updated DomainDnsRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsRecord patch(final DomainDnsRecord sourceDomainDnsRecord) throws ClientException; + + /** + * Posts a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback); + + /** + * Posts a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the new object to create + * @return the created DomainDnsRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsRecordRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsRecordRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequestBuilder.java index cb7b763ba36..58d05cc8c5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequest; -import com.microsoft.graph.requests.generated.IBaseDomainDnsRecordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Record Request Builder. */ -public interface IDomainDnsRecordRequestBuilder extends IBaseDomainDnsRecordRequestBuilder { +public interface IDomainDnsRecordRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainDnsRecordRequest instance + */ + IDomainDnsRecordRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainDnsRecordRequest instance + */ + IDomainDnsRecordRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequest.java index 97d8acfae06..528ffaab35e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsSrvRecord; -import com.microsoft.graph.requests.generated.IBaseDomainDnsSrvRecordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Srv Record Request. */ -public interface IDomainDnsSrvRecordRequest extends IBaseDomainDnsSrvRecordRequest { +public interface IDomainDnsSrvRecordRequest extends IHttpRequest { + + /** + * Gets the DomainDnsSrvRecord from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DomainDnsSrvRecord from the service + * + * @return the DomainDnsSrvRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsSrvRecord get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DomainDnsSrvRecord with a source + * + * @param sourceDomainDnsSrvRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord, final ICallback callback); + + /** + * Patches this DomainDnsSrvRecord with a source + * + * @param sourceDomainDnsSrvRecord the source object with updates + * @return the updated DomainDnsSrvRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsSrvRecord patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord) throws ClientException; + + /** + * Posts a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DomainDnsSrvRecord newDomainDnsSrvRecord, final ICallback callback); + + /** + * Posts a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the new object to create + * @return the created DomainDnsSrvRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsSrvRecord post(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsSrvRecordRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsSrvRecordRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequestBuilder.java index 44716d57e6a..bbede3fb411 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsSrvRecordRequest; -import com.microsoft.graph.requests.generated.IBaseDomainDnsSrvRecordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Srv Record Request Builder. */ -public interface IDomainDnsSrvRecordRequestBuilder extends IBaseDomainDnsSrvRecordRequestBuilder { +public interface IDomainDnsSrvRecordRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainDnsSrvRecordRequest instance + */ + IDomainDnsSrvRecordRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainDnsSrvRecordRequest instance + */ + IDomainDnsSrvRecordRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequest.java index 0d2dbf3e30b..98df962c157 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsTxtRecord; -import com.microsoft.graph.requests.generated.IBaseDomainDnsTxtRecordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Txt Record Request. */ -public interface IDomainDnsTxtRecordRequest extends IBaseDomainDnsTxtRecordRequest { +public interface IDomainDnsTxtRecordRequest extends IHttpRequest { + + /** + * Gets the DomainDnsTxtRecord from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DomainDnsTxtRecord from the service + * + * @return the DomainDnsTxtRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsTxtRecord get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DomainDnsTxtRecord with a source + * + * @param sourceDomainDnsTxtRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord, final ICallback callback); + + /** + * Patches this DomainDnsTxtRecord with a source + * + * @param sourceDomainDnsTxtRecord the source object with updates + * @return the updated DomainDnsTxtRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsTxtRecord patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord) throws ClientException; + + /** + * Posts a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DomainDnsTxtRecord newDomainDnsTxtRecord, final ICallback callback); + + /** + * Posts a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the new object to create + * @return the created DomainDnsTxtRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsTxtRecord post(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsTxtRecordRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsTxtRecordRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequestBuilder.java index 8b2567e270c..4fbba5858d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsTxtRecordRequest; -import com.microsoft.graph.requests.generated.IBaseDomainDnsTxtRecordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Txt Record Request Builder. */ -public interface IDomainDnsTxtRecordRequestBuilder extends IBaseDomainDnsTxtRecordRequestBuilder { +public interface IDomainDnsTxtRecordRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainDnsTxtRecordRequest instance + */ + IDomainDnsTxtRecordRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainDnsTxtRecordRequest instance + */ + IDomainDnsTxtRecordRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequest.java index bca7177cac9..4968d66d48c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DomainDnsUnavailableRecord; -import com.microsoft.graph.requests.generated.IBaseDomainDnsUnavailableRecordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Unavailable Record Request. */ -public interface IDomainDnsUnavailableRecordRequest extends IBaseDomainDnsUnavailableRecordRequest { +public interface IDomainDnsUnavailableRecordRequest extends IHttpRequest { + + /** + * Gets the DomainDnsUnavailableRecord from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DomainDnsUnavailableRecord from the service + * + * @return the DomainDnsUnavailableRecord from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsUnavailableRecord get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DomainDnsUnavailableRecord with a source + * + * @param sourceDomainDnsUnavailableRecord the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord, final ICallback callback); + + /** + * Patches this DomainDnsUnavailableRecord with a source + * + * @param sourceDomainDnsUnavailableRecord the source object with updates + * @return the updated DomainDnsUnavailableRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsUnavailableRecord patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord) throws ClientException; + + /** + * Posts a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord, final ICallback callback); + + /** + * Posts a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the new object to create + * @return the created DomainDnsUnavailableRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsUnavailableRecord post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainDnsUnavailableRecordRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainDnsUnavailableRecordRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequestBuilder.java index 35c7ea9468f..3abab34647b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainDnsUnavailableRecordRequest; -import com.microsoft.graph.requests.generated.IBaseDomainDnsUnavailableRecordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Dns Unavailable Record Request Builder. */ -public interface IDomainDnsUnavailableRecordRequestBuilder extends IBaseDomainDnsUnavailableRecordRequestBuilder { +public interface IDomainDnsUnavailableRecordRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainDnsUnavailableRecordRequest instance + */ + IDomainDnsUnavailableRecordRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainDnsUnavailableRecordRequest instance + */ + IDomainDnsUnavailableRecordRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequest.java index 10c30d736a7..1846f4b7119 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; -import com.microsoft.graph.requests.generated.IBaseDomainForceDeleteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Force Delete Request. */ -public interface IDomainForceDeleteRequest extends IBaseDomainForceDeleteRequest { +public interface IDomainForceDeleteRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainForceDeleteRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDomainForceDeleteRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainForceDeleteRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequestBuilder.java index d8640eb2f18..a4bdd7f37a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainForceDeleteRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; -import com.microsoft.graph.requests.generated.IBaseDomainForceDeleteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Force Delete Request Builder. */ -public interface IDomainForceDeleteRequestBuilder extends IBaseDomainForceDeleteRequestBuilder { +public interface IDomainForceDeleteRequestBuilder extends IRequestBuilder { + /** + * Creates the IDomainForceDeleteRequest + * + * @return the IDomainForceDeleteRequest instance + */ + IDomainForceDeleteRequest buildRequest(); + + /** + * Creates the IDomainForceDeleteRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDomainForceDeleteRequest instance + */ + IDomainForceDeleteRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequest.java index 657ca630c68..0de39a521c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Domain; -import com.microsoft.graph.requests.generated.IBaseDomainRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Request. */ -public interface IDomainRequest extends IBaseDomainRequest { +public interface IDomainRequest extends IHttpRequest { + + /** + * Gets the Domain from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Domain from the service + * + * @return the Domain from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Domain get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Domain with a source + * + * @param sourceDomain the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Domain sourceDomain, final ICallback callback); + + /** + * Patches this Domain with a source + * + * @param sourceDomain the source object with updates + * @return the updated Domain + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Domain patch(final Domain sourceDomain) throws ClientException; + + /** + * Posts a Domain with a new object + * + * @param newDomain the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Domain newDomain, final ICallback callback); + + /** + * Posts a Domain with a new object + * + * @param newDomain the new object to create + * @return the created Domain + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Domain post(final Domain newDomain) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequestBuilder.java index ea67ec4fd47..4106607fb97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequestBuilder.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainRequest; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainVerifyRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDomainRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Request Builder. */ -public interface IDomainRequestBuilder extends IBaseDomainRequestBuilder { +public interface IDomainRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDomainRequest instance + */ + IDomainRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDomainRequest instance + */ + IDomainRequest buildRequest(final java.util.List requestOptions); + + + IDomainDnsRecordCollectionRequestBuilder serviceConfigurationRecords(); + + IDomainDnsRecordRequestBuilder serviceConfigurationRecords(final String id); + + IDomainDnsRecordCollectionRequestBuilder verificationDnsRecords(); + + IDomainDnsRecordRequestBuilder verificationDnsRecords(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder domainNameReferences(); + + IDirectoryObjectWithReferenceRequestBuilder domainNameReferences(final String id); + IDomainForceDeleteRequestBuilder forceDelete(final Boolean disableUserAccounts); + IDomainVerifyRequestBuilder verify(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequest.java index 04dc27b4230..517904b1aa2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Domain; +import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; -import com.microsoft.graph.requests.generated.IBaseDomainVerifyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Verify Request. */ -public interface IDomainVerifyRequest extends IBaseDomainVerifyRequest { +public interface IDomainVerifyRequest { + + /** + * Creates the DomainVerify + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the DomainVerify + * + * @return the Domain + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Domain post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDomainVerifyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDomainVerifyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequestBuilder.java index 44414b34684..9a0516aa0c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainVerifyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; -import com.microsoft.graph.requests.generated.IBaseDomainVerifyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Domain Verify Request Builder. */ -public interface IDomainVerifyRequestBuilder extends IBaseDomainVerifyRequestBuilder { +public interface IDomainVerifyRequestBuilder extends IRequestBuilder { + /** + * Creates the IDomainVerifyRequest + * + * @return the IDomainVerifyRequest instance + */ + IDomainVerifyRequest buildRequest(); + + /** + * Creates the IDomainVerifyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDomainVerifyRequest instance + */ + IDomainVerifyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionPage.java index 526a838ceab..ce94fb0092c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Collection Page. */ -public interface IDriveCollectionPage extends IBaseDriveCollectionPage { - +public interface IDriveCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequest.java index 41dbb24f64e..69f49ed834b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Collection Request. */ -public interface IDriveCollectionRequest extends IBaseDriveCollectionRequest { +public interface IDriveCollectionRequest { + + void get(final ICallback callback); + + IDriveCollectionPage get() throws ClientException; + + void post(final Drive newDrive, final ICallback callback); + + Drive post(final Drive newDrive) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequestBuilder.java index f83da22e7e6..fdb366eaf9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Collection Request Builder. */ -public interface IDriveCollectionRequestBuilder extends IBaseDriveCollectionRequestBuilder { +public interface IDriveCollectionRequestBuilder extends IRequestBuilder { + + IDriveCollectionRequest buildRequest(); + + IDriveCollectionRequest buildRequest(final java.util.List requestOptions); + + IDriveRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionPage.java index be0c446d480..ea9c0c5d589 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Collection Page. */ -public interface IDriveItemCollectionPage extends IBaseDriveItemCollectionPage { - +public interface IDriveItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequest.java index c4d95efd5bd..35a069af8d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Collection Request. */ -public interface IDriveItemCollectionRequest extends IBaseDriveItemCollectionRequest { +public interface IDriveItemCollectionRequest { + + void get(final ICallback callback); + + IDriveItemCollectionPage get() throws ClientException; + + void post(final DriveItem newDriveItem, final ICallback callback); + + DriveItem post(final DriveItem newDriveItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequestBuilder.java index 7835a3340b6..305c6a32ecd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Collection Request Builder. */ -public interface IDriveItemCollectionRequestBuilder extends IBaseDriveItemCollectionRequestBuilder { - IDriveItemRequestBuilder appRoot(); +public interface IDriveItemCollectionRequestBuilder extends IRequestBuilder { + + IDriveItemCollectionRequest buildRequest(); + + IDriveItemCollectionRequest buildRequest(final java.util.List requestOptions); + + IDriveItemRequestBuilder byId(final String id); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequest.java index ea50c47aa30..b1d43d31a4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemCopyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Copy Request. */ -public interface IDriveItemCopyRequest extends IBaseDriveItemCopyRequest { +public interface IDriveItemCopyRequest { + + void post(final ICallback callback); + + DriveItem post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemCopyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemCopyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemCopyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequestBuilder.java index 31baa8a936e..d269ccde802 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCopyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemCopyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Copy Request Builder. */ -public interface IDriveItemCopyRequestBuilder extends IBaseDriveItemCopyRequestBuilder { +public interface IDriveItemCopyRequestBuilder extends IRequestBuilder { + /** + * Creates the IDriveItemCopyRequest + * + * @return the IDriveItemCopyRequest instance + */ + IDriveItemCopyRequest buildRequest(); + + /** + * Creates the IDriveItemCopyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDriveItemCopyRequest instance + */ + IDriveItemCopyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequest.java index 2dd63ba7867..b92d289de30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Permission; +import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemCreateLinkRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Create Link Request. */ -public interface IDriveItemCreateLinkRequest extends IBaseDriveItemCreateLinkRequest { +public interface IDriveItemCreateLinkRequest { + + void post(final ICallback callback); + + Permission post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemCreateLinkRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemCreateLinkRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemCreateLinkRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequestBuilder.java index 981dbbad9f1..a89bdd350ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateLinkRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemCreateLinkRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Create Link Request Builder. */ -public interface IDriveItemCreateLinkRequestBuilder extends IBaseDriveItemCreateLinkRequestBuilder { +public interface IDriveItemCreateLinkRequestBuilder extends IRequestBuilder { + /** + * Creates the IDriveItemCreateLinkRequest + * + * @return the IDriveItemCreateLinkRequest instance + */ + IDriveItemCreateLinkRequest buildRequest(); + + /** + * Creates the IDriveItemCreateLinkRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDriveItemCreateLinkRequest instance + */ + IDriveItemCreateLinkRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequest.java index 10697cffc41..ed1d5e47b27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UploadSession; +import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemCreateUploadSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Create Upload Session Request. */ -public interface IDriveItemCreateUploadSessionRequest extends IBaseDriveItemCreateUploadSessionRequest { +public interface IDriveItemCreateUploadSessionRequest { + + void post(final ICallback callback); + + UploadSession post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemCreateUploadSessionRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemCreateUploadSessionRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemCreateUploadSessionRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequestBuilder.java index 18c5b7ae70e..b882859496e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemCreateUploadSessionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemCreateUploadSessionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Create Upload Session Request Builder. */ -public interface IDriveItemCreateUploadSessionRequestBuilder extends IBaseDriveItemCreateUploadSessionRequestBuilder { +public interface IDriveItemCreateUploadSessionRequestBuilder extends IRequestBuilder { + /** + * Creates the IDriveItemCreateUploadSessionRequest + * + * @return the IDriveItemCreateUploadSessionRequest instance + */ + IDriveItemCreateUploadSessionRequest buildRequest(); + + /** + * Creates the IDriveItemCreateUploadSessionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDriveItemCreateUploadSessionRequest instance + */ + IDriveItemCreateUploadSessionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionPage.java index 8a23d0e5fef..684c6f89ef2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Delta Collection Page. */ -public interface IDriveItemDeltaCollectionPage extends IBaseDriveItemDeltaCollectionPage { - +public interface IDriveItemDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequest.java index 4ea5ddd5cf0..b95be25aab6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Delta Collection Request. */ -public interface IDriveItemDeltaCollectionRequest extends IBaseDriveItemDeltaCollectionRequest { +public interface IDriveItemDeltaCollectionRequest { + + void get(final ICallback callback); + + IDriveItemDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequestBuilder.java index f73c903551d..e9c08908698 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Delta Collection Request Builder. */ -public interface IDriveItemDeltaCollectionRequestBuilder extends IBaseDriveItemDeltaCollectionRequestBuilder { +public interface IDriveItemDeltaCollectionRequestBuilder extends IRequestBuilder { + + IDriveItemDeltaCollectionRequest buildRequest(); + + IDriveItemDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionPage.java index 7a928947405..4a2a6beda8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemInviteCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Invite Collection Page. */ -public interface IDriveItemInviteCollectionPage extends IBaseDriveItemInviteCollectionPage { - +public interface IDriveItemInviteCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequest.java index 3317901de3b..288246ba206 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemInviteCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Invite Collection Request. */ -public interface IDriveItemInviteCollectionRequest extends IBaseDriveItemInviteCollectionRequest { +public interface IDriveItemInviteCollectionRequest { + + void post(final ICallback callback); + + IDriveItemInviteCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemInviteCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemInviteCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemInviteCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequestBuilder.java index 3bb856d5732..e036c4d67a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemInviteCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemInviteCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Invite Collection Request Builder. */ -public interface IDriveItemInviteCollectionRequestBuilder extends IBaseDriveItemInviteCollectionRequestBuilder { +public interface IDriveItemInviteCollectionRequestBuilder extends IRequestBuilder { + + IDriveItemInviteCollectionRequest buildRequest(); + + IDriveItemInviteCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequest.java index 29bb0acc01b..25ff8431d5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ItemPreviewInfo; +import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemPreviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Preview Request. */ -public interface IDriveItemPreviewRequest extends IBaseDriveItemPreviewRequest { +public interface IDriveItemPreviewRequest { + + void post(final ICallback callback); + + ItemPreviewInfo post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemPreviewRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemPreviewRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemPreviewRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequestBuilder.java index 56677b3fe59..da57ed16471 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemPreviewRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemPreviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Preview Request Builder. */ -public interface IDriveItemPreviewRequestBuilder extends IBaseDriveItemPreviewRequestBuilder { +public interface IDriveItemPreviewRequestBuilder extends IRequestBuilder { + /** + * Creates the IDriveItemPreviewRequest + * + * @return the IDriveItemPreviewRequest instance + */ + IDriveItemPreviewRequest buildRequest(); + + /** + * Creates the IDriveItemPreviewRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDriveItemPreviewRequest instance + */ + IDriveItemPreviewRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequest.java index 97cd8e423e5..402ad44cd06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.requests.generated.IBaseDriveItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Request. */ -public interface IDriveItemRequest extends IBaseDriveItemRequest { +public interface IDriveItemRequest extends IHttpRequest { + + /** + * Gets the DriveItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DriveItem from the service + * + * @return the DriveItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DriveItem with a source + * + * @param sourceDriveItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DriveItem sourceDriveItem, final ICallback callback); + + /** + * Patches this DriveItem with a source + * + * @param sourceDriveItem the source object with updates + * @return the updated DriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItem patch(final DriveItem sourceDriveItem) throws ClientException; + + /** + * Posts a DriveItem with a new object + * + * @param newDriveItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DriveItem newDriveItem, final ICallback callback); + + /** + * Posts a DriveItem with a new object + * + * @param newDriveItem the new object to create + * @return the created DriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItem post(final DriveItem newDriveItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequestBuilder.java index cffba8acb93..5b6fdc4249d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequestBuilder.java @@ -3,16 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemRequest; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IPermissionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPermissionRequestBuilder; +import com.microsoft.graph.requests.extensions.IThumbnailSetCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IThumbnailSetRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemVersionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemStreamRequestBuilder; +import com.microsoft.graph.models.extensions.ItemReference; +import com.microsoft.graph.requests.extensions.IDriveItemCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequestBuilder; +import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; +import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequestBuilder; +import com.microsoft.graph.models.extensions.DriveRecipient; +import com.microsoft.graph.requests.extensions.IDriveItemInviteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemSearchCollectionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDriveItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Request Builder. */ -public interface IDriveItemRequestBuilder extends IBaseDriveItemRequestBuilder { +public interface IDriveItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDriveItemRequest instance + */ + IDriveItemRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDriveItemRequest instance + */ + IDriveItemRequest buildRequest(final java.util.List requestOptions); /** * Gets the item request builder for the specified item path @@ -20,4 +58,49 @@ public interface IDriveItemRequestBuilder extends IBaseDriveItemRequestBuilder { * @return The request builder for the specified item */ IDriveItemRequestBuilder itemWithPath(final String path); + + IDriveItemCollectionRequestBuilder children(); + + IDriveItemRequestBuilder children(final String id); + + /** + * Gets the request builder for ListItem + * + * @return the IListItemRequestBuilder instance + */ + IListItemRequestBuilder listItem(); + + IPermissionCollectionRequestBuilder permissions(); + + IPermissionRequestBuilder permissions(final String id); + + IThumbnailSetCollectionRequestBuilder thumbnails(); + + IThumbnailSetRequestBuilder thumbnails(final String id); + + IDriveItemVersionCollectionRequestBuilder versions(); + + IDriveItemVersionRequestBuilder versions(final String id); + + /** + * Gets the request builder for Workbook + * + * @return the IWorkbookRequestBuilder instance + */ + IWorkbookRequestBuilder workbook(); + + IDriveItemStreamRequestBuilder content(); + IDriveItemCopyRequestBuilder copy(final String name, final ItemReference parentReference); + IDriveItemCreateLinkRequestBuilder createLink(final String type, final String scope); + IDriveItemCreateUploadSessionRequestBuilder createUploadSession(final DriveItemUploadableProperties item); + + IDriveItemInviteCollectionRequestBuilder invite(final Boolean requireSignIn, final java.util.List roles, final Boolean sendInvitation, final String message, final java.util.List recipients); + IDriveItemPreviewRequestBuilder preview(final String page, final Double zoom); + + IDriveItemDeltaCollectionRequestBuilder delta(final String token); + + IDriveItemDeltaCollectionRequestBuilder delta(); + + IDriveItemSearchCollectionRequestBuilder search(final String q); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionPage.java index e2ab56f6dc1..64f39d91a35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemSearchCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Search Collection Page. */ -public interface IDriveItemSearchCollectionPage extends IBaseDriveItemSearchCollectionPage { - +public interface IDriveItemSearchCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequest.java index 8a1d36055cc..43dc53938ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemSearchCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Search Collection Request. */ -public interface IDriveItemSearchCollectionRequest extends IBaseDriveItemSearchCollectionRequest { +public interface IDriveItemSearchCollectionRequest { + + void get(final ICallback callback); + + IDriveItemSearchCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemSearchCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemSearchCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemSearchCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequestBuilder.java index bb480b441ad..a8afb0acc2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemSearchCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemSearchCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Search Collection Request Builder. */ -public interface IDriveItemSearchCollectionRequestBuilder extends IBaseDriveItemSearchCollectionRequestBuilder { +public interface IDriveItemSearchCollectionRequestBuilder extends IRequestBuilder { + + IDriveItemSearchCollectionRequest buildRequest(); + + IDriveItemSearchCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequest.java index feaa9577a86..b055d5c2bc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Stream Request. */ -public interface IDriveItemStreamRequest extends IBaseDriveItemStreamRequest { +public interface IDriveItemStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + DriveItem put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequestBuilder.java index 2c6a1ca960b..51ea9d2783a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemStreamRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemStreamRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemStreamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Stream Request Builder. */ -public interface IDriveItemStreamRequestBuilder extends IBaseDriveItemStreamRequestBuilder { +public interface IDriveItemStreamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDriveItemStreamRequest instance + */ + IDriveItemStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDriveItemStreamRequest instance + */ + IDriveItemStreamRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionPage.java index ed9e8829af6..67c20e35747 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Collection Page. */ -public interface IDriveItemVersionCollectionPage extends IBaseDriveItemVersionCollectionPage { - +public interface IDriveItemVersionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequest.java index 47505d5ef5a..57c44fa0f22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Collection Request. */ -public interface IDriveItemVersionCollectionRequest extends IBaseDriveItemVersionCollectionRequest { +public interface IDriveItemVersionCollectionRequest { + + void get(final ICallback callback); + + IDriveItemVersionCollectionPage get() throws ClientException; + + void post(final DriveItemVersion newDriveItemVersion, final ICallback callback); + + DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemVersionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemVersionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveItemVersionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequestBuilder.java index 2fc75f22839..3c8d8661134 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Collection Request Builder. */ -public interface IDriveItemVersionCollectionRequestBuilder extends IBaseDriveItemVersionCollectionRequestBuilder { +public interface IDriveItemVersionCollectionRequestBuilder extends IRequestBuilder { + + IDriveItemVersionCollectionRequest buildRequest(); + + IDriveItemVersionCollectionRequest buildRequest(final java.util.List requestOptions); + + IDriveItemVersionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequest.java index ffc9308ad5c..03d03b6ae3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.DriveItemVersion; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Request. */ -public interface IDriveItemVersionRequest extends IBaseDriveItemVersionRequest { +public interface IDriveItemVersionRequest extends IHttpRequest { + + /** + * Gets the DriveItemVersion from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the DriveItemVersion from the service + * + * @return the DriveItemVersion from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItemVersion get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this DriveItemVersion with a source + * + * @param sourceDriveItemVersion the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final DriveItemVersion sourceDriveItemVersion, final ICallback callback); + + /** + * Patches this DriveItemVersion with a source + * + * @param sourceDriveItemVersion the source object with updates + * @return the updated DriveItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItemVersion patch(final DriveItemVersion sourceDriveItemVersion) throws ClientException; + + /** + * Posts a DriveItemVersion with a new object + * + * @param newDriveItemVersion the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final DriveItemVersion newDriveItemVersion, final ICallback callback); + + /** + * Posts a DriveItemVersion with a new object + * + * @param newDriveItemVersion the new object to create + * @return the created DriveItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveItemVersionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveItemVersionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequestBuilder.java index 989a02648e0..34bbad91460 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequestBuilder.java @@ -3,14 +3,37 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRequest; +import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Request Builder. */ -public interface IDriveItemVersionRequestBuilder extends IBaseDriveItemVersionRequestBuilder { +public interface IDriveItemVersionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDriveItemVersionRequest instance + */ + IDriveItemVersionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDriveItemVersionRequest instance + */ + IDriveItemVersionRequest buildRequest(final java.util.List requestOptions); + + + IDriveItemVersionStreamRequestBuilder content(); + IDriveItemVersionRestoreVersionRequestBuilder restoreVersion(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequest.java index 6030c0e3a36..c1427722ce2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionRestoreVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Restore Version Request. */ -public interface IDriveItemVersionRestoreVersionRequest extends IBaseDriveItemVersionRestoreVersionRequest { +public interface IDriveItemVersionRestoreVersionRequest { + + /** + * Creates the DriveItemVersionRestoreVersion + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the DriveItemVersionRestoreVersion + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequestBuilder.java index 5cb0baec3b6..47c0a341c26 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRestoreVersionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionRestoreVersionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Restore Version Request Builder. */ -public interface IDriveItemVersionRestoreVersionRequestBuilder extends IBaseDriveItemVersionRestoreVersionRequestBuilder { +public interface IDriveItemVersionRestoreVersionRequestBuilder extends IRequestBuilder { + /** + * Creates the IDriveItemVersionRestoreVersionRequest + * + * @return the IDriveItemVersionRestoreVersionRequest instance + */ + IDriveItemVersionRestoreVersionRequest buildRequest(); + + /** + * Creates the IDriveItemVersionRestoreVersionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IDriveItemVersionRestoreVersionRequest instance + */ + IDriveItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequest.java index f7702820deb..c59d01622e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Stream Request. */ -public interface IDriveItemVersionStreamRequest extends IBaseDriveItemVersionStreamRequest { +public interface IDriveItemVersionStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + DriveItemVersion put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequestBuilder.java index 8688ef55237..8a2965d7f8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionStreamRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequest; -import com.microsoft.graph.requests.generated.IBaseDriveItemVersionStreamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Item Version Stream Request Builder. */ -public interface IDriveItemVersionStreamRequestBuilder extends IBaseDriveItemVersionStreamRequestBuilder { +public interface IDriveItemVersionStreamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDriveItemVersionStreamRequest instance + */ + IDriveItemVersionStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDriveItemVersionStreamRequest instance + */ + IDriveItemVersionStreamRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionPage.java index a6109edc802..635461b7321 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveRecentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Recent Collection Page. */ -public interface IDriveRecentCollectionPage extends IBaseDriveRecentCollectionPage { - +public interface IDriveRecentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequest.java index 8a2a04c41d2..5a38be4d914 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveRecentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Recent Collection Request. */ -public interface IDriveRecentCollectionRequest extends IBaseDriveRecentCollectionRequest { +public interface IDriveRecentCollectionRequest { + + void get(final ICallback callback); + + IDriveRecentCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveRecentCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveRecentCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveRecentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequestBuilder.java index 4033a9b690d..3f883888f34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRecentCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveRecentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Recent Collection Request Builder. */ -public interface IDriveRecentCollectionRequestBuilder extends IBaseDriveRecentCollectionRequestBuilder { +public interface IDriveRecentCollectionRequestBuilder extends IRequestBuilder { + + IDriveRecentCollectionRequest buildRequest(); + + IDriveRecentCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequest.java index 25b8c9b02d3..85745f12d2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Drive; -import com.microsoft.graph.requests.generated.IBaseDriveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Request. */ -public interface IDriveRequest extends IBaseDriveRequest { +public interface IDriveRequest extends IHttpRequest { + + /** + * Gets the Drive from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Drive from the service + * + * @return the Drive from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Drive get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Drive with a source + * + * @param sourceDrive the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Drive sourceDrive, final ICallback callback); + + /** + * Patches this Drive with a source + * + * @param sourceDrive the source object with updates + * @return the updated Drive + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Drive patch(final Drive sourceDrive) throws ClientException; + + /** + * Posts a Drive with a new object + * + * @param newDrive the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Drive newDrive, final ICallback callback); + + /** + * Posts a Drive with a new object + * + * @param newDrive the new object to create + * @return the created Drive + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Drive post(final Drive newDrive) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequestBuilder.java index c92ee3d7674..059000402bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequestBuilder.java @@ -3,14 +3,69 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IDriveRequest; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRecentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveSearchCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveSharedWithMeCollectionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseDriveRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Request Builder. */ -public interface IDriveRequestBuilder extends IBaseDriveRequestBuilder { +public interface IDriveRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IDriveRequest instance + */ + IDriveRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IDriveRequest instance + */ + IDriveRequest buildRequest(final java.util.List requestOptions); + + + IDriveItemCollectionRequestBuilder items(); + + IDriveItemRequestBuilder items(final String id); + + /** + * Gets the request builder for List + * + * @return the IListRequestBuilder instance + */ + IListRequestBuilder list(); + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + IDriveItemRequestBuilder root(); + + IDriveItemCollectionRequestBuilder special(); + + IDriveItemRequestBuilder special(final String id); + + IDriveRecentCollectionRequestBuilder recent(); + + IDriveSearchCollectionRequestBuilder search(final String q); + + IDriveSharedWithMeCollectionRequestBuilder sharedWithMe(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionPage.java index ba47cf5882d..5212582bfef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveSearchCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Search Collection Page. */ -public interface IDriveSearchCollectionPage extends IBaseDriveSearchCollectionPage { - +public interface IDriveSearchCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequest.java index 32fdc9f8921..113ce238f42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveSearchCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Search Collection Request. */ -public interface IDriveSearchCollectionRequest extends IBaseDriveSearchCollectionRequest { +public interface IDriveSearchCollectionRequest { + + void get(final ICallback callback); + + IDriveSearchCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveSearchCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveSearchCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveSearchCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequestBuilder.java index 2d282f6d3a5..107b75d442c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSearchCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveSearchCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Search Collection Request Builder. */ -public interface IDriveSearchCollectionRequestBuilder extends IBaseDriveSearchCollectionRequestBuilder { +public interface IDriveSearchCollectionRequestBuilder extends IRequestBuilder { + + IDriveSearchCollectionRequest buildRequest(); + + IDriveSearchCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionPage.java index 87043c35148..9a529ee1fcf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveSharedWithMeCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Shared With Me Collection Page. */ -public interface IDriveSharedWithMeCollectionPage extends IBaseDriveSharedWithMeCollectionPage { - +public interface IDriveSharedWithMeCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequest.java index 7f6e73d7365..0cc9a71ac52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveSharedWithMeCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Shared With Me Collection Request. */ -public interface IDriveSharedWithMeCollectionRequest extends IBaseDriveSharedWithMeCollectionRequest { +public interface IDriveSharedWithMeCollectionRequest { + + void get(final ICallback callback); + + IDriveSharedWithMeCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IDriveSharedWithMeCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IDriveSharedWithMeCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IDriveSharedWithMeCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequestBuilder.java index 4b74d17c765..e0e0959a16e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveSharedWithMeCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseDriveSharedWithMeCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Drive Shared With Me Collection Request Builder. */ -public interface IDriveSharedWithMeCollectionRequestBuilder extends IBaseDriveSharedWithMeCollectionRequestBuilder { +public interface IDriveSharedWithMeCollectionRequestBuilder extends IRequestBuilder { + + IDriveSharedWithMeCollectionRequest buildRequest(); + + IDriveSharedWithMeCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequest.java index 66290709baa..21b7c5bf32e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EBookInstallSummary; -import com.microsoft.graph.requests.generated.IBaseEBookInstallSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the EBook Install Summary Request. */ -public interface IEBookInstallSummaryRequest extends IBaseEBookInstallSummaryRequest { +public interface IEBookInstallSummaryRequest extends IHttpRequest { + + /** + * Gets the EBookInstallSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EBookInstallSummary from the service + * + * @return the EBookInstallSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EBookInstallSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EBookInstallSummary with a source + * + * @param sourceEBookInstallSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EBookInstallSummary sourceEBookInstallSummary, final ICallback callback); + + /** + * Patches this EBookInstallSummary with a source + * + * @param sourceEBookInstallSummary the source object with updates + * @return the updated EBookInstallSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EBookInstallSummary patch(final EBookInstallSummary sourceEBookInstallSummary) throws ClientException; + + /** + * Posts a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EBookInstallSummary newEBookInstallSummary, final ICallback callback); + + /** + * Posts a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the new object to create + * @return the created EBookInstallSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EBookInstallSummary post(final EBookInstallSummary newEBookInstallSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEBookInstallSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEBookInstallSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequestBuilder.java index 88b053b7c2c..b63537cfcd4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseEBookInstallSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the EBook Install Summary Request Builder. */ -public interface IEBookInstallSummaryRequestBuilder extends IBaseEBookInstallSummaryRequestBuilder { +public interface IEBookInstallSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEBookInstallSummaryRequest instance + */ + IEBookInstallSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEBookInstallSummaryRequest instance + */ + IEBookInstallSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequest.java index 9dde6ca2401..52feb565d12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EditionUpgradeConfiguration; -import com.microsoft.graph.requests.generated.IBaseEditionUpgradeConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Edition Upgrade Configuration Request. */ -public interface IEditionUpgradeConfigurationRequest extends IBaseEditionUpgradeConfigurationRequest { +public interface IEditionUpgradeConfigurationRequest extends IHttpRequest { + + /** + * Gets the EditionUpgradeConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EditionUpgradeConfiguration from the service + * + * @return the EditionUpgradeConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EditionUpgradeConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EditionUpgradeConfiguration with a source + * + * @param sourceEditionUpgradeConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration, final ICallback callback); + + /** + * Patches this EditionUpgradeConfiguration with a source + * + * @param sourceEditionUpgradeConfiguration the source object with updates + * @return the updated EditionUpgradeConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EditionUpgradeConfiguration patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration) throws ClientException; + + /** + * Posts a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration, final ICallback callback); + + /** + * Posts a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the new object to create + * @return the created EditionUpgradeConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EditionUpgradeConfiguration post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEditionUpgradeConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEditionUpgradeConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequestBuilder.java index 7ed8c0ec47a..62bf1bcccfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEditionUpgradeConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseEditionUpgradeConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Edition Upgrade Configuration Request Builder. */ -public interface IEditionUpgradeConfigurationRequestBuilder extends IBaseEditionUpgradeConfigurationRequestBuilder { +public interface IEditionUpgradeConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEditionUpgradeConfigurationRequest instance + */ + IEditionUpgradeConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEditionUpgradeConfigurationRequest instance + */ + IEditionUpgradeConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionPage.java index b9d533c93a0..af1b19c012e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection Page. */ -public interface IEducationClassCollectionPage extends IBaseEducationClassCollectionPage { - +public interface IEducationClassCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequest.java index 7fb15138a61..cb2e1eb073a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection Reference Request. */ -public interface IEducationClassCollectionReferenceRequest extends IBaseEducationClassCollectionReferenceRequest { +public interface IEducationClassCollectionReferenceRequest { + + void post(final EducationClass newEducationClass, final ICallback callback); + + EducationClass post(final EducationClass newEducationClass) throws ClientException; + + IEducationClassCollectionReferenceRequest select(final String value); + + IEducationClassCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequestBuilder.java index 55210e5774f..a712dce7f4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection Reference Request Builder. */ -public interface IEducationClassCollectionReferenceRequestBuilder extends IBaseEducationClassCollectionReferenceRequestBuilder { +public interface IEducationClassCollectionReferenceRequestBuilder extends IRequestBuilder { + + IEducationClassCollectionReferenceRequest buildRequest(); + IEducationClassCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequest.java index 58bd3c1855f..a7cbed07d56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection Request. */ -public interface IEducationClassCollectionRequest extends IBaseEducationClassCollectionRequest { +public interface IEducationClassCollectionRequest { + + void get(final ICallback callback); + + IEducationClassCollectionPage get() throws ClientException; + + void post(final EducationClass newEducationClass, final ICallback callback); + + EducationClass post(final EducationClass newEducationClass) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationClassCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationClassCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEducationClassCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequestBuilder.java index d59a79ebe3a..1c8fc2b8cb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection Request Builder. */ -public interface IEducationClassCollectionRequestBuilder extends IBaseEducationClassCollectionRequestBuilder { +public interface IEducationClassCollectionRequestBuilder extends IRequestBuilder { + + IEducationClassCollectionRequest buildRequest(); + + IEducationClassCollectionRequest buildRequest(final java.util.List requestOptions); + + IEducationClassRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesPage.java index 7430f663315..5edd3220e7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection With References Page. */ -public interface IEducationClassCollectionWithReferencesPage extends IBaseEducationClassCollectionWithReferencesPage { - +public interface IEducationClassCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequest.java index d09700120e5..820871cf784 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection With References Request. */ -public interface IEducationClassCollectionWithReferencesRequest extends IBaseEducationClassCollectionWithReferencesRequest { +public interface IEducationClassCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IEducationClassCollectionWithReferencesPage get() throws ClientException; + + IEducationClassCollectionWithReferencesRequest expand(final String value); + + IEducationClassCollectionWithReferencesRequest select(final String value); + + IEducationClassCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequestBuilder.java index 8932392b9a6..eb76b297487 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Collection With References Request Builder. */ -public interface IEducationClassCollectionWithReferencesRequestBuilder extends IBaseEducationClassCollectionWithReferencesRequestBuilder { +public interface IEducationClassCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IEducationClassCollectionWithReferencesRequest buildRequest(); + + IEducationClassCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IEducationClassWithReferenceRequestBuilder byId(final String id); + IEducationClassCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequest.java index a2090ccda5c..2f5b990aac7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Reference Request. */ -public interface IEducationClassReferenceRequest extends IBaseEducationClassReferenceRequest { +public interface IEducationClassReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + EducationClass delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationClassReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationClassReferenceRequest expand(final String value); + + /** + * Puts the EducationClass + * + * @param srcEducationClass the EducationClass to PUT + * @param callback the callback to be called after success or failure + */ + void put(EducationClass srcEducationClass, final ICallback callback); + /** + * Puts the EducationClass + * + * @param srcEducationClass the EducationClass to PUT + * @return the EducationClass + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + EducationClass put(EducationClass srcEducationClass) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequestBuilder.java index db00597d9e2..4dcb357dc22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Reference Request Builder. */ -public interface IEducationClassReferenceRequestBuilder extends IBaseEducationClassReferenceRequestBuilder { +public interface IEducationClassReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEducationClassReferenceRequest instance + */ + IEducationClassReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationClassReferenceRequest instance + */ + IEducationClassReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequest.java index b3bfa96db24..368aa268aa1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationClass; -import com.microsoft.graph.requests.generated.IBaseEducationClassRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Request. */ -public interface IEducationClassRequest extends IBaseEducationClassRequest { +public interface IEducationClassRequest extends IHttpRequest { + + /** + * Gets the EducationClass from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EducationClass from the service + * + * @return the EducationClass from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationClass get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EducationClass with a source + * + * @param sourceEducationClass the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EducationClass sourceEducationClass, final ICallback callback); + + /** + * Patches this EducationClass with a source + * + * @param sourceEducationClass the source object with updates + * @return the updated EducationClass + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationClass patch(final EducationClass sourceEducationClass) throws ClientException; + + /** + * Posts a EducationClass with a new object + * + * @param newEducationClass the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EducationClass newEducationClass, final ICallback callback); + + /** + * Posts a EducationClass with a new object + * + * @param newEducationClass the new object to create + * @return the created EducationClass + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationClass post(final EducationClass newEducationClass) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationClassRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationClassRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequestBuilder.java index d6f82fbae65..4986f4615ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationClassRequest; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseEducationClassRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class Request Builder. */ -public interface IEducationClassRequestBuilder extends IBaseEducationClassRequestBuilder { +public interface IEducationClassRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEducationClassRequest instance + */ + IEducationClassRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationClassRequest instance + */ + IEducationClassRequest buildRequest(final java.util.List requestOptions); + + + IEducationSchoolCollectionWithReferencesRequestBuilder schools(); + + IEducationSchoolWithReferenceRequestBuilder schools(final String id); + + IEducationUserCollectionWithReferencesRequestBuilder members(); + + IEducationUserWithReferenceRequestBuilder members(final String id); + + IEducationUserCollectionWithReferencesRequestBuilder teachers(); + + IEducationUserWithReferenceRequestBuilder teachers(final String id); + + /** + * Gets the request builder for Group + * + * @return the IGroupWithReferenceRequestBuilder instance + */ + IGroupWithReferenceRequestBuilder group(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequest.java index 053e72edb9c..0dab045121c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class With Reference Request. */ -public interface IEducationClassWithReferenceRequest extends IBaseEducationClassWithReferenceRequest { +public interface IEducationClassWithReferenceRequest extends IHttpRequest { + + void post(final EducationClass newEducationClass, final IJsonBackedObject payload, final ICallback callback); + + EducationClass post(final EducationClass newEducationClass, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + EducationClass get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final EducationClass sourceEducationClass, final ICallback callback); + + EducationClass patch(final EducationClass sourceEducationClass) throws ClientException; + + IEducationClassWithReferenceRequest select(final String value); + + IEducationClassWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequestBuilder.java index 3a89e024eff..729c6c8d1cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Class With Reference Request Builder. */ -public interface IEducationClassWithReferenceRequestBuilder extends IBaseEducationClassWithReferenceRequestBuilder { +public interface IEducationClassWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEducationClassWithReferenceRequest instance + */ + IEducationClassWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationClassWithReferenceRequest instance + */ + IEducationClassWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IEducationClassReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequest.java index 50cc4181ebf..2b02792f90e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationOrganization; -import com.microsoft.graph.requests.generated.IBaseEducationOrganizationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Organization Request. */ -public interface IEducationOrganizationRequest extends IBaseEducationOrganizationRequest { +public interface IEducationOrganizationRequest extends IHttpRequest { + + /** + * Gets the EducationOrganization from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EducationOrganization from the service + * + * @return the EducationOrganization from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationOrganization get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EducationOrganization with a source + * + * @param sourceEducationOrganization the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EducationOrganization sourceEducationOrganization, final ICallback callback); + + /** + * Patches this EducationOrganization with a source + * + * @param sourceEducationOrganization the source object with updates + * @return the updated EducationOrganization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationOrganization patch(final EducationOrganization sourceEducationOrganization) throws ClientException; + + /** + * Posts a EducationOrganization with a new object + * + * @param newEducationOrganization the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EducationOrganization newEducationOrganization, final ICallback callback); + + /** + * Posts a EducationOrganization with a new object + * + * @param newEducationOrganization the new object to create + * @return the created EducationOrganization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationOrganization post(final EducationOrganization newEducationOrganization) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationOrganizationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationOrganizationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequestBuilder.java index adb90029c0a..8bcfb0a03e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationOrganizationRequest; -import com.microsoft.graph.requests.generated.IBaseEducationOrganizationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Organization Request Builder. */ -public interface IEducationOrganizationRequestBuilder extends IBaseEducationOrganizationRequestBuilder { +public interface IEducationOrganizationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEducationOrganizationRequest instance + */ + IEducationOrganizationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationOrganizationRequest instance + */ + IEducationOrganizationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequest.java index 005000c61c4..de163378ed0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationRoot; -import com.microsoft.graph.requests.generated.IBaseEducationRootRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Root Request. */ -public interface IEducationRootRequest extends IBaseEducationRootRequest { +public interface IEducationRootRequest extends IHttpRequest { + + /** + * Gets the EducationRoot from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EducationRoot from the service + * + * @return the EducationRoot from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationRoot get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EducationRoot with a source + * + * @param sourceEducationRoot the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EducationRoot sourceEducationRoot, final ICallback callback); + + /** + * Patches this EducationRoot with a source + * + * @param sourceEducationRoot the source object with updates + * @return the updated EducationRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationRoot patch(final EducationRoot sourceEducationRoot) throws ClientException; + + /** + * Posts a EducationRoot with a new object + * + * @param newEducationRoot the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EducationRoot newEducationRoot, final ICallback callback); + + /** + * Posts a EducationRoot with a new object + * + * @param newEducationRoot the new object to create + * @return the created EducationRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationRoot post(final EducationRoot newEducationRoot) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationRootRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationRootRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequestBuilder.java index 612593b978f..871480c9cdf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationRootRequest; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseEducationRootRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education Root Request Builder. */ -public interface IEducationRootRequestBuilder extends IBaseEducationRootRequestBuilder { +public interface IEducationRootRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEducationRootRequest instance + */ + IEducationRootRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationRootRequest instance + */ + IEducationRootRequest buildRequest(final java.util.List requestOptions); + + + IEducationClassCollectionRequestBuilder classes(); + + IEducationClassRequestBuilder classes(final String id); + + IEducationSchoolCollectionRequestBuilder schools(); + + IEducationSchoolRequestBuilder schools(final String id); + + IEducationUserCollectionRequestBuilder users(); + + IEducationUserRequestBuilder users(final String id); + + /** + * Gets the request builder for EducationUser + * + * @return the IEducationUserRequestBuilder instance + */ + IEducationUserRequestBuilder me(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionPage.java index 0fa7c971b79..f8ef3367793 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection Page. */ -public interface IEducationSchoolCollectionPage extends IBaseEducationSchoolCollectionPage { - +public interface IEducationSchoolCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequest.java index 5c006a086b5..cc438e11a22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection Reference Request. */ -public interface IEducationSchoolCollectionReferenceRequest extends IBaseEducationSchoolCollectionReferenceRequest { +public interface IEducationSchoolCollectionReferenceRequest { + + void post(final EducationSchool newEducationSchool, final ICallback callback); + + EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; + + IEducationSchoolCollectionReferenceRequest select(final String value); + + IEducationSchoolCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequestBuilder.java index 396960f289d..a49420969e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection Reference Request Builder. */ -public interface IEducationSchoolCollectionReferenceRequestBuilder extends IBaseEducationSchoolCollectionReferenceRequestBuilder { +public interface IEducationSchoolCollectionReferenceRequestBuilder extends IRequestBuilder { + + IEducationSchoolCollectionReferenceRequest buildRequest(); + IEducationSchoolCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequest.java index 4fe5eb6e743..328935b1ac9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection Request. */ -public interface IEducationSchoolCollectionRequest extends IBaseEducationSchoolCollectionRequest { +public interface IEducationSchoolCollectionRequest { + + void get(final ICallback callback); + + IEducationSchoolCollectionPage get() throws ClientException; + + void post(final EducationSchool newEducationSchool, final ICallback callback); + + EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationSchoolCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationSchoolCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEducationSchoolCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequestBuilder.java index a1497e64918..4d2338e3c41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection Request Builder. */ -public interface IEducationSchoolCollectionRequestBuilder extends IBaseEducationSchoolCollectionRequestBuilder { +public interface IEducationSchoolCollectionRequestBuilder extends IRequestBuilder { + + IEducationSchoolCollectionRequest buildRequest(); + + IEducationSchoolCollectionRequest buildRequest(final java.util.List requestOptions); + + IEducationSchoolRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesPage.java index 246c824209e..90602bea24f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection With References Page. */ -public interface IEducationSchoolCollectionWithReferencesPage extends IBaseEducationSchoolCollectionWithReferencesPage { - +public interface IEducationSchoolCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequest.java index 281c4b9cf85..d0984c3a44f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection With References Request. */ -public interface IEducationSchoolCollectionWithReferencesRequest extends IBaseEducationSchoolCollectionWithReferencesRequest { +public interface IEducationSchoolCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IEducationSchoolCollectionWithReferencesPage get() throws ClientException; + + IEducationSchoolCollectionWithReferencesRequest expand(final String value); + + IEducationSchoolCollectionWithReferencesRequest select(final String value); + + IEducationSchoolCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequestBuilder.java index 155ab99d3ab..a2c3dc339f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Collection With References Request Builder. */ -public interface IEducationSchoolCollectionWithReferencesRequestBuilder extends IBaseEducationSchoolCollectionWithReferencesRequestBuilder { +public interface IEducationSchoolCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IEducationSchoolCollectionWithReferencesRequest buildRequest(); + + IEducationSchoolCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IEducationSchoolWithReferenceRequestBuilder byId(final String id); + IEducationSchoolCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequest.java index c082ee91474..686c18f74ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Reference Request. */ -public interface IEducationSchoolReferenceRequest extends IBaseEducationSchoolReferenceRequest { +public interface IEducationSchoolReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + EducationSchool delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationSchoolReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationSchoolReferenceRequest expand(final String value); + + /** + * Puts the EducationSchool + * + * @param srcEducationSchool the EducationSchool to PUT + * @param callback the callback to be called after success or failure + */ + void put(EducationSchool srcEducationSchool, final ICallback callback); + /** + * Puts the EducationSchool + * + * @param srcEducationSchool the EducationSchool to PUT + * @return the EducationSchool + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + EducationSchool put(EducationSchool srcEducationSchool) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequestBuilder.java index cf252c12abd..7d99c3e7719 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Reference Request Builder. */ -public interface IEducationSchoolReferenceRequestBuilder extends IBaseEducationSchoolReferenceRequestBuilder { +public interface IEducationSchoolReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEducationSchoolReferenceRequest instance + */ + IEducationSchoolReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationSchoolReferenceRequest instance + */ + IEducationSchoolReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequest.java index c46899965d4..a127387b959 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationSchool; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Request. */ -public interface IEducationSchoolRequest extends IBaseEducationSchoolRequest { +public interface IEducationSchoolRequest extends IHttpRequest { + + /** + * Gets the EducationSchool from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EducationSchool from the service + * + * @return the EducationSchool from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationSchool get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EducationSchool with a source + * + * @param sourceEducationSchool the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EducationSchool sourceEducationSchool, final ICallback callback); + + /** + * Patches this EducationSchool with a source + * + * @param sourceEducationSchool the source object with updates + * @return the updated EducationSchool + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException; + + /** + * Posts a EducationSchool with a new object + * + * @param newEducationSchool the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EducationSchool newEducationSchool, final ICallback callback); + + /** + * Posts a EducationSchool with a new object + * + * @param newEducationSchool the new object to create + * @return the created EducationSchool + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationSchoolRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationSchoolRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequestBuilder.java index 0ef1ee65f07..35ae783466a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequestBuilder.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationSchoolRequest; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School Request Builder. */ -public interface IEducationSchoolRequestBuilder extends IBaseEducationSchoolRequestBuilder { +public interface IEducationSchoolRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEducationSchoolRequest instance + */ + IEducationSchoolRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationSchoolRequest instance + */ + IEducationSchoolRequest buildRequest(final java.util.List requestOptions); + + + IEducationClassCollectionWithReferencesRequestBuilder classes(); + + IEducationClassWithReferenceRequestBuilder classes(final String id); + + IEducationUserCollectionWithReferencesRequestBuilder users(); + + IEducationUserWithReferenceRequestBuilder users(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequest.java index eaf8e52afe9..b8d2d2b7a55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School With Reference Request. */ -public interface IEducationSchoolWithReferenceRequest extends IBaseEducationSchoolWithReferenceRequest { +public interface IEducationSchoolWithReferenceRequest extends IHttpRequest { + + void post(final EducationSchool newEducationSchool, final IJsonBackedObject payload, final ICallback callback); + + EducationSchool post(final EducationSchool newEducationSchool, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + EducationSchool get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final EducationSchool sourceEducationSchool, final ICallback callback); + + EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException; + + IEducationSchoolWithReferenceRequest select(final String value); + + IEducationSchoolWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequestBuilder.java index bb568a7673b..ab178769fcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education School With Reference Request Builder. */ -public interface IEducationSchoolWithReferenceRequestBuilder extends IBaseEducationSchoolWithReferenceRequestBuilder { +public interface IEducationSchoolWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEducationSchoolWithReferenceRequest instance + */ + IEducationSchoolWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationSchoolWithReferenceRequest instance + */ + IEducationSchoolWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IEducationSchoolReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionPage.java index 57b4eda614e..3cde6b31944 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection Page. */ -public interface IEducationUserCollectionPage extends IBaseEducationUserCollectionPage { - +public interface IEducationUserCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequest.java index c7202e3a0fd..ff4bf03530e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection Reference Request. */ -public interface IEducationUserCollectionReferenceRequest extends IBaseEducationUserCollectionReferenceRequest { +public interface IEducationUserCollectionReferenceRequest { + + void post(final EducationUser newEducationUser, final ICallback callback); + + EducationUser post(final EducationUser newEducationUser) throws ClientException; + + IEducationUserCollectionReferenceRequest select(final String value); + + IEducationUserCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequestBuilder.java index 43dbe1a0870..f663224d07b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection Reference Request Builder. */ -public interface IEducationUserCollectionReferenceRequestBuilder extends IBaseEducationUserCollectionReferenceRequestBuilder { +public interface IEducationUserCollectionReferenceRequestBuilder extends IRequestBuilder { + + IEducationUserCollectionReferenceRequest buildRequest(); + IEducationUserCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequest.java index 6acc49bd829..d23b9936d96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection Request. */ -public interface IEducationUserCollectionRequest extends IBaseEducationUserCollectionRequest { +public interface IEducationUserCollectionRequest { + + void get(final ICallback callback); + + IEducationUserCollectionPage get() throws ClientException; + + void post(final EducationUser newEducationUser, final ICallback callback); + + EducationUser post(final EducationUser newEducationUser) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationUserCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationUserCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEducationUserCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequestBuilder.java index 099d94da6c0..72957d1ca6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection Request Builder. */ -public interface IEducationUserCollectionRequestBuilder extends IBaseEducationUserCollectionRequestBuilder { +public interface IEducationUserCollectionRequestBuilder extends IRequestBuilder { + + IEducationUserCollectionRequest buildRequest(); + + IEducationUserCollectionRequest buildRequest(final java.util.List requestOptions); + + IEducationUserRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesPage.java index 141639c89f3..de17ec9b019 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection With References Page. */ -public interface IEducationUserCollectionWithReferencesPage extends IBaseEducationUserCollectionWithReferencesPage { - +public interface IEducationUserCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequest.java index 34706e9c236..3572b6cbb9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection With References Request. */ -public interface IEducationUserCollectionWithReferencesRequest extends IBaseEducationUserCollectionWithReferencesRequest { +public interface IEducationUserCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IEducationUserCollectionWithReferencesPage get() throws ClientException; + + IEducationUserCollectionWithReferencesRequest expand(final String value); + + IEducationUserCollectionWithReferencesRequest select(final String value); + + IEducationUserCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequestBuilder.java index 943753e7f73..698d67f1187 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Collection With References Request Builder. */ -public interface IEducationUserCollectionWithReferencesRequestBuilder extends IBaseEducationUserCollectionWithReferencesRequestBuilder { +public interface IEducationUserCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IEducationUserCollectionWithReferencesRequest buildRequest(); + + IEducationUserCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IEducationUserWithReferenceRequestBuilder byId(final String id); + IEducationUserCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequest.java index fb236c46cf8..c0efa8d7a7a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Reference Request. */ -public interface IEducationUserReferenceRequest extends IBaseEducationUserReferenceRequest { +public interface IEducationUserReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + EducationUser delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationUserReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationUserReferenceRequest expand(final String value); + + /** + * Puts the EducationUser + * + * @param srcEducationUser the EducationUser to PUT + * @param callback the callback to be called after success or failure + */ + void put(EducationUser srcEducationUser, final ICallback callback); + /** + * Puts the EducationUser + * + * @param srcEducationUser the EducationUser to PUT + * @return the EducationUser + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + EducationUser put(EducationUser srcEducationUser) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequestBuilder.java index 3f06944b8f0..5640b555a82 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Reference Request Builder. */ -public interface IEducationUserReferenceRequestBuilder extends IBaseEducationUserReferenceRequestBuilder { +public interface IEducationUserReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEducationUserReferenceRequest instance + */ + IEducationUserReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationUserReferenceRequest instance + */ + IEducationUserReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequest.java index acdecce7786..85b8f7c2dad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EducationUser; -import com.microsoft.graph.requests.generated.IBaseEducationUserRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Request. */ -public interface IEducationUserRequest extends IBaseEducationUserRequest { +public interface IEducationUserRequest extends IHttpRequest { + + /** + * Gets the EducationUser from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EducationUser from the service + * + * @return the EducationUser from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationUser get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EducationUser with a source + * + * @param sourceEducationUser the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EducationUser sourceEducationUser, final ICallback callback); + + /** + * Patches this EducationUser with a source + * + * @param sourceEducationUser the source object with updates + * @return the updated EducationUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationUser patch(final EducationUser sourceEducationUser) throws ClientException; + + /** + * Posts a EducationUser with a new object + * + * @param newEducationUser the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EducationUser newEducationUser, final ICallback callback); + + /** + * Posts a EducationUser with a new object + * + * @param newEducationUser the new object to create + * @return the created EducationUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationUser post(final EducationUser newEducationUser) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEducationUserRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEducationUserRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequestBuilder.java index cc22a1c8215..2c50bd597ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequestBuilder.java @@ -3,14 +3,52 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEducationUserRequest; +import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseEducationUserRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User Request Builder. */ -public interface IEducationUserRequestBuilder extends IBaseEducationUserRequestBuilder { +public interface IEducationUserRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEducationUserRequest instance + */ + IEducationUserRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationUserRequest instance + */ + IEducationUserRequest buildRequest(final java.util.List requestOptions); + + + IEducationSchoolCollectionWithReferencesRequestBuilder schools(); + + IEducationSchoolWithReferenceRequestBuilder schools(final String id); + + IEducationClassCollectionWithReferencesRequestBuilder classes(); + + IEducationClassWithReferenceRequestBuilder classes(final String id); + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + IUserWithReferenceRequestBuilder user(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequest.java index c7e14672b5c..8dabf88e208 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User With Reference Request. */ -public interface IEducationUserWithReferenceRequest extends IBaseEducationUserWithReferenceRequest { +public interface IEducationUserWithReferenceRequest extends IHttpRequest { + + void post(final EducationUser newEducationUser, final IJsonBackedObject payload, final ICallback callback); + + EducationUser post(final EducationUser newEducationUser, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + EducationUser get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final EducationUser sourceEducationUser, final ICallback callback); + + EducationUser patch(final EducationUser sourceEducationUser) throws ClientException; + + IEducationUserWithReferenceRequest select(final String value); + + IEducationUserWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequestBuilder.java index 0b476be3e1c..725f87c83ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEducationUserWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Education User With Reference Request Builder. */ -public interface IEducationUserWithReferenceRequestBuilder extends IBaseEducationUserWithReferenceRequestBuilder { +public interface IEducationUserWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEducationUserWithReferenceRequest instance + */ + IEducationUserWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEducationUserWithReferenceRequest instance + */ + IEducationUserWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IEducationUserReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionPage.java index f1e8ab4980b..fbeb65bf08e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEnrollmentConfigurationAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Configuration Assignment Collection Page. */ -public interface IEnrollmentConfigurationAssignmentCollectionPage extends IBaseEnrollmentConfigurationAssignmentCollectionPage { - +public interface IEnrollmentConfigurationAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequest.java index 7ecd60a5d6d..50661101969 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEnrollmentConfigurationAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Configuration Assignment Collection Request. */ -public interface IEnrollmentConfigurationAssignmentCollectionRequest extends IBaseEnrollmentConfigurationAssignmentCollectionRequest { +public interface IEnrollmentConfigurationAssignmentCollectionRequest { + + void get(final ICallback callback); + + IEnrollmentConfigurationAssignmentCollectionPage get() throws ClientException; + + void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback); + + EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEnrollmentConfigurationAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEnrollmentConfigurationAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEnrollmentConfigurationAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequestBuilder.java index 189ad61e587..b5d3edf5d44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Configuration Assignment Collection Request Builder. */ -public interface IEnrollmentConfigurationAssignmentCollectionRequestBuilder extends IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder { +public interface IEnrollmentConfigurationAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IEnrollmentConfigurationAssignmentCollectionRequest buildRequest(); + + IEnrollmentConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IEnrollmentConfigurationAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequest.java index 54aefb7bc09..f2286b67417 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; -import com.microsoft.graph.requests.generated.IBaseEnrollmentConfigurationAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Configuration Assignment Request. */ -public interface IEnrollmentConfigurationAssignmentRequest extends IBaseEnrollmentConfigurationAssignmentRequest { +public interface IEnrollmentConfigurationAssignmentRequest extends IHttpRequest { + + /** + * Gets the EnrollmentConfigurationAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EnrollmentConfigurationAssignment from the service + * + * @return the EnrollmentConfigurationAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentConfigurationAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EnrollmentConfigurationAssignment with a source + * + * @param sourceEnrollmentConfigurationAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment, final ICallback callback); + + /** + * Patches this EnrollmentConfigurationAssignment with a source + * + * @param sourceEnrollmentConfigurationAssignment the source object with updates + * @return the updated EnrollmentConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentConfigurationAssignment patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment) throws ClientException; + + /** + * Posts a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback); + + /** + * Posts a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the new object to create + * @return the created EnrollmentConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEnrollmentConfigurationAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEnrollmentConfigurationAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequestBuilder.java index 9699bc7e0f3..2fd6b82d41f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseEnrollmentConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Configuration Assignment Request Builder. */ -public interface IEnrollmentConfigurationAssignmentRequestBuilder extends IBaseEnrollmentConfigurationAssignmentRequestBuilder { +public interface IEnrollmentConfigurationAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEnrollmentConfigurationAssignmentRequest instance + */ + IEnrollmentConfigurationAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEnrollmentConfigurationAssignmentRequest instance + */ + IEnrollmentConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequest.java index a7078910a93..ea703814fb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EnrollmentTroubleshootingEvent; -import com.microsoft.graph.requests.generated.IBaseEnrollmentTroubleshootingEventRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Troubleshooting Event Request. */ -public interface IEnrollmentTroubleshootingEventRequest extends IBaseEnrollmentTroubleshootingEventRequest { +public interface IEnrollmentTroubleshootingEventRequest extends IHttpRequest { + + /** + * Gets the EnrollmentTroubleshootingEvent from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EnrollmentTroubleshootingEvent from the service + * + * @return the EnrollmentTroubleshootingEvent from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentTroubleshootingEvent get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EnrollmentTroubleshootingEvent with a source + * + * @param sourceEnrollmentTroubleshootingEvent the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent, final ICallback callback); + + /** + * Patches this EnrollmentTroubleshootingEvent with a source + * + * @param sourceEnrollmentTroubleshootingEvent the source object with updates + * @return the updated EnrollmentTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentTroubleshootingEvent patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent) throws ClientException; + + /** + * Posts a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent, final ICallback callback); + + /** + * Posts a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the new object to create + * @return the created EnrollmentTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentTroubleshootingEvent post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEnrollmentTroubleshootingEventRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEnrollmentTroubleshootingEventRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequestBuilder.java index 603a45dce35..065b7368871 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEnrollmentTroubleshootingEventRequest; -import com.microsoft.graph.requests.generated.IBaseEnrollmentTroubleshootingEventRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Enrollment Troubleshooting Event Request Builder. */ -public interface IEnrollmentTroubleshootingEventRequestBuilder extends IBaseEnrollmentTroubleshootingEventRequestBuilder { +public interface IEnrollmentTroubleshootingEventRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEnrollmentTroubleshootingEventRequest instance + */ + IEnrollmentTroubleshootingEventRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEnrollmentTroubleshootingEventRequest instance + */ + IEnrollmentTroubleshootingEventRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequest.java index 204268f11c8..ed740723a1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEntityReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Entity Reference Request. */ -public interface IEntityReferenceRequest extends IBaseEntityReferenceRequest { +public interface IEntityReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + Entity delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEntityReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEntityReferenceRequest expand(final String value); + + /** + * Puts the Entity + * + * @param srcEntity the Entity to PUT + * @param callback the callback to be called after success or failure + */ + void put(Entity srcEntity, final ICallback callback); + /** + * Puts the Entity + * + * @param srcEntity the Entity to PUT + * @return the Entity + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Entity put(Entity srcEntity) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequestBuilder.java index bdc7cd1f59b..f0620e17307 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEntityReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEntityReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Entity Reference Request Builder. */ -public interface IEntityReferenceRequestBuilder extends IBaseEntityReferenceRequestBuilder { +public interface IEntityReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEntityReferenceRequest instance + */ + IEntityReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEntityReferenceRequest instance + */ + IEntityReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequest.java index ce6461c74de..bfb79112cbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequest.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.generated.IBaseEntityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Entity Request. */ -public interface IEntityRequest extends IBaseEntityRequest { +public interface IEntityRequest extends IHttpRequest { + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEntityRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEntityRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequestBuilder.java index 9ae47163bab..aafa8380c1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEntityRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEntityRequest; -import com.microsoft.graph.requests.generated.IBaseEntityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Entity Request Builder. */ -public interface IEntityRequestBuilder extends IBaseEntityRequestBuilder { +public interface IEntityRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEntityRequest instance + */ + IEntityRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEntityRequest instance + */ + IEntityRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequest.java index 1bda8850a43..223f87121d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEntityWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Entity With Reference Request. */ -public interface IEntityWithReferenceRequest extends IBaseEntityWithReferenceRequest { +public interface IEntityWithReferenceRequest extends IHttpRequest { + + void post(final Entity newEntity, final IJsonBackedObject payload, final ICallback callback); + + Entity post(final Entity newEntity, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + Entity get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final Entity sourceEntity, final ICallback callback); + + Entity patch(final Entity sourceEntity) throws ClientException; + + IEntityWithReferenceRequest select(final String value); + + IEntityWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequestBuilder.java index 8e672edfdf8..c50307567c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEntityWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEntityWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Entity With Reference Request Builder. */ -public interface IEntityWithReferenceRequestBuilder extends IBaseEntityWithReferenceRequestBuilder { +public interface IEntityWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IEntityWithReferenceRequest instance + */ + IEntityWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEntityWithReferenceRequest instance + */ + IEntityWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IEntityReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequest.java index 8ed6a1cd78c..52455a3282c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventAcceptRequest; -import com.microsoft.graph.requests.generated.IBaseEventAcceptRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Accept Request. */ -public interface IEventAcceptRequest extends IBaseEventAcceptRequest { +public interface IEventAcceptRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventAcceptRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEventAcceptRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventAcceptRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequestBuilder.java index 5fc480e3f60..337699c1939 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventAcceptRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventAcceptRequest; -import com.microsoft.graph.requests.generated.IBaseEventAcceptRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Accept Request Builder. */ -public interface IEventAcceptRequestBuilder extends IBaseEventAcceptRequestBuilder { +public interface IEventAcceptRequestBuilder extends IRequestBuilder { + /** + * Creates the IEventAcceptRequest + * + * @return the IEventAcceptRequest instance + */ + IEventAcceptRequest buildRequest(); + + /** + * Creates the IEventAcceptRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IEventAcceptRequest instance + */ + IEventAcceptRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionPage.java index 9f7176fe96b..5d4b87966df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEventCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Collection Page. */ -public interface IEventCollectionPage extends IBaseEventCollectionPage { - +public interface IEventCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequest.java index b4b6680d8e4..90c06a4e26d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEventCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Collection Request. */ -public interface IEventCollectionRequest extends IBaseEventCollectionRequest { +public interface IEventCollectionRequest { + + void get(final ICallback callback); + + IEventCollectionPage get() throws ClientException; + + void post(final Event newEvent, final ICallback callback); + + Event post(final Event newEvent) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEventCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequestBuilder.java index 9eb5c94d18f..42644b9173c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEventCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Collection Request Builder. */ -public interface IEventCollectionRequestBuilder extends IBaseEventCollectionRequestBuilder { +public interface IEventCollectionRequestBuilder extends IRequestBuilder { + + IEventCollectionRequest buildRequest(); + + IEventCollectionRequest buildRequest(final java.util.List requestOptions); + + IEventRequestBuilder byId(final String id); + + + IEventDeltaCollectionRequestBuilder delta(); + IEventDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequest.java index d8f98aa856f..dc7ea1a2fe8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDeclineRequest; -import com.microsoft.graph.requests.generated.IBaseEventDeclineRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Decline Request. */ -public interface IEventDeclineRequest extends IBaseEventDeclineRequest { +public interface IEventDeclineRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventDeclineRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEventDeclineRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventDeclineRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequestBuilder.java index 4efcadad4c1..8a0ef085876 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeclineRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDeclineRequest; -import com.microsoft.graph.requests.generated.IBaseEventDeclineRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Decline Request Builder. */ -public interface IEventDeclineRequestBuilder extends IBaseEventDeclineRequestBuilder { +public interface IEventDeclineRequestBuilder extends IRequestBuilder { + /** + * Creates the IEventDeclineRequest + * + * @return the IEventDeclineRequest instance + */ + IEventDeclineRequest buildRequest(); + + /** + * Creates the IEventDeclineRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IEventDeclineRequest instance + */ + IEventDeclineRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionPage.java index 17bb09b9f06..27b46309ac4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEventDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Delta Collection Page. */ -public interface IEventDeltaCollectionPage extends IBaseEventDeltaCollectionPage { - +public interface IEventDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequest.java index 57391284693..bd1795e9b32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEventDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Delta Collection Request. */ -public interface IEventDeltaCollectionRequest extends IBaseEventDeltaCollectionRequest { +public interface IEventDeltaCollectionRequest { + + void get(final ICallback callback); + + IEventDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEventDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequestBuilder.java index ba0e2af8eb9..06c193bbd83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseEventDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Delta Collection Request Builder. */ -public interface IEventDeltaCollectionRequestBuilder extends IBaseEventDeltaCollectionRequestBuilder { +public interface IEventDeltaCollectionRequestBuilder extends IRequestBuilder { + + IEventDeltaCollectionRequest buildRequest(); + + IEventDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequest.java index 3a923abfd91..7b38c443330 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; -import com.microsoft.graph.requests.generated.IBaseEventDismissReminderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Dismiss Reminder Request. */ -public interface IEventDismissReminderRequest extends IBaseEventDismissReminderRequest { +public interface IEventDismissReminderRequest { + + /** + * Creates the EventDismissReminder + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the EventDismissReminder + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequestBuilder.java index 313b352b91a..2612bdf45fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventDismissReminderRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; -import com.microsoft.graph.requests.generated.IBaseEventDismissReminderRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Dismiss Reminder Request Builder. */ -public interface IEventDismissReminderRequestBuilder extends IBaseEventDismissReminderRequestBuilder { +public interface IEventDismissReminderRequestBuilder extends IRequestBuilder { + /** + * Creates the IEventDismissReminderRequest + * + * @return the IEventDismissReminderRequest instance + */ + IEventDismissReminderRequest buildRequest(); + + /** + * Creates the IEventDismissReminderRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IEventDismissReminderRequest instance + */ + IEventDismissReminderRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequest.java index eec96c2ae77..60650c966a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.EventMessage; -import com.microsoft.graph.requests.generated.IBaseEventMessageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Message Request. */ -public interface IEventMessageRequest extends IBaseEventMessageRequest { +public interface IEventMessageRequest extends IHttpRequest { + + /** + * Gets the EventMessage from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the EventMessage from the service + * + * @return the EventMessage from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EventMessage get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this EventMessage with a source + * + * @param sourceEventMessage the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final EventMessage sourceEventMessage, final ICallback callback); + + /** + * Patches this EventMessage with a source + * + * @param sourceEventMessage the source object with updates + * @return the updated EventMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EventMessage patch(final EventMessage sourceEventMessage) throws ClientException; + + /** + * Posts a EventMessage with a new object + * + * @param newEventMessage the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final EventMessage newEventMessage, final ICallback callback); + + /** + * Posts a EventMessage with a new object + * + * @param newEventMessage the new object to create + * @return the created EventMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EventMessage post(final EventMessage newEventMessage) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventMessageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventMessageRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestBuilder.java index d5f707adbf2..486e51ec8bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventMessageRequest; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseEventMessageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Message Request Builder. */ -public interface IEventMessageRequestBuilder extends IBaseEventMessageRequestBuilder { +public interface IEventMessageRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEventMessageRequest instance + */ + IEventMessageRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEventMessageRequest instance + */ + IEventMessageRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Event + * + * @return the IEventRequestBuilder instance + */ + IEventRequestBuilder event(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventRequest.java index d1b7bd7d0d3..9bd9997d016 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.requests.generated.IBaseEventRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Request. */ -public interface IEventRequest extends IBaseEventRequest { +public interface IEventRequest extends IHttpRequest { + + /** + * Gets the Event from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Event from the service + * + * @return the Event from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Event get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Event with a source + * + * @param sourceEvent the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Event sourceEvent, final ICallback callback); + + /** + * Patches this Event with a source + * + * @param sourceEvent the source object with updates + * @return the updated Event + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Event patch(final Event sourceEvent) throws ClientException; + + /** + * Posts a Event with a new object + * + * @param newEvent the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Event newEvent, final ICallback callback); + + /** + * Posts a Event with a new object + * + * @param newEvent the new object to create + * @return the created Event + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Event post(final Event newEvent) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventRequestBuilder.java index 9330fcadc29..234ed008a57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventRequestBuilder.java @@ -3,14 +3,81 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventRequest; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventAcceptRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventDeclineRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequestBuilder; +import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventDismissReminderRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseEventRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Request Builder. */ -public interface IEventRequestBuilder extends IBaseEventRequestBuilder { +public interface IEventRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IEventRequest instance + */ + IEventRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IEventRequest instance + */ + IEventRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Calendar + * + * @return the ICalendarRequestBuilder instance + */ + ICalendarRequestBuilder calendar(); + + IEventCollectionRequestBuilder instances(); + + IEventRequestBuilder instances(final String id); + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + + IAttachmentCollectionRequestBuilder attachments(); + + IAttachmentRequestBuilder attachments(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); + IEventAcceptRequestBuilder accept(final String comment, final Boolean sendResponse); + IEventDeclineRequestBuilder decline(final String comment, final Boolean sendResponse); + IEventTentativelyAcceptRequestBuilder tentativelyAccept(final String comment, final Boolean sendResponse); + IEventSnoozeReminderRequestBuilder snoozeReminder(final DateTimeTimeZone newReminderTime); + IEventDismissReminderRequestBuilder dismissReminder(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequest.java index 8ba14b5fbd7..7e7fa179f73 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; -import com.microsoft.graph.requests.generated.IBaseEventSnoozeReminderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Snooze Reminder Request. */ -public interface IEventSnoozeReminderRequest extends IBaseEventSnoozeReminderRequest { +public interface IEventSnoozeReminderRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventSnoozeReminderRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEventSnoozeReminderRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventSnoozeReminderRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequestBuilder.java index 9add6ef5b4d..7ba14582b64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventSnoozeReminderRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; -import com.microsoft.graph.requests.generated.IBaseEventSnoozeReminderRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Snooze Reminder Request Builder. */ -public interface IEventSnoozeReminderRequestBuilder extends IBaseEventSnoozeReminderRequestBuilder { +public interface IEventSnoozeReminderRequestBuilder extends IRequestBuilder { + /** + * Creates the IEventSnoozeReminderRequest + * + * @return the IEventSnoozeReminderRequest instance + */ + IEventSnoozeReminderRequest buildRequest(); + + /** + * Creates the IEventSnoozeReminderRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IEventSnoozeReminderRequest instance + */ + IEventSnoozeReminderRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequest.java index 410886b89d2..37ab773accc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; -import com.microsoft.graph.requests.generated.IBaseEventTentativelyAcceptRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Tentatively Accept Request. */ -public interface IEventTentativelyAcceptRequest extends IBaseEventTentativelyAcceptRequest { +public interface IEventTentativelyAcceptRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IEventTentativelyAcceptRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IEventTentativelyAcceptRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IEventTentativelyAcceptRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequestBuilder.java index 833dece97af..b79d465ee5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventTentativelyAcceptRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; -import com.microsoft.graph.requests.generated.IBaseEventTentativelyAcceptRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Event Tentatively Accept Request Builder. */ -public interface IEventTentativelyAcceptRequestBuilder extends IBaseEventTentativelyAcceptRequestBuilder { +public interface IEventTentativelyAcceptRequestBuilder extends IRequestBuilder { + /** + * Creates the IEventTentativelyAcceptRequest + * + * @return the IEventTentativelyAcceptRequest instance + */ + IEventTentativelyAcceptRequest buildRequest(); + + /** + * Creates the IEventTentativelyAcceptRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IEventTentativelyAcceptRequest instance + */ + IEventTentativelyAcceptRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionPage.java index df31fa22807..b2956a2a21d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseExtensionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Extension Collection Page. */ -public interface IExtensionCollectionPage extends IBaseExtensionCollectionPage { - +public interface IExtensionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequest.java index 159f44800cb..a1e46f801a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseExtensionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Extension Collection Request. */ -public interface IExtensionCollectionRequest extends IBaseExtensionCollectionRequest { +public interface IExtensionCollectionRequest { + + void get(final ICallback callback); + + IExtensionCollectionPage get() throws ClientException; + + void post(final Extension newExtension, final ICallback callback); + + Extension post(final Extension newExtension) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IExtensionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IExtensionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IExtensionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequestBuilder.java index d2a388a9c30..e8047bf1ed9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseExtensionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Extension Collection Request Builder. */ -public interface IExtensionCollectionRequestBuilder extends IBaseExtensionCollectionRequestBuilder { +public interface IExtensionCollectionRequestBuilder extends IRequestBuilder { + + IExtensionCollectionRequest buildRequest(); + + IExtensionCollectionRequest buildRequest(final java.util.List requestOptions); + + IExtensionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequest.java index b7ad3a927c3..ac6e4af4ea3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.requests.generated.IBaseExtensionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Extension Request. */ -public interface IExtensionRequest extends IBaseExtensionRequest { +public interface IExtensionRequest extends IHttpRequest { + + /** + * Gets the Extension from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Extension from the service + * + * @return the Extension from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Extension get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Extension with a source + * + * @param sourceExtension the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Extension sourceExtension, final ICallback callback); + + /** + * Patches this Extension with a source + * + * @param sourceExtension the source object with updates + * @return the updated Extension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Extension patch(final Extension sourceExtension) throws ClientException; + + /** + * Posts a Extension with a new object + * + * @param newExtension the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Extension newExtension, final ICallback callback); + + /** + * Posts a Extension with a new object + * + * @param newExtension the new object to create + * @return the created Extension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Extension post(final Extension newExtension) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IExtensionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IExtensionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequestBuilder.java index e758f9109db..a6c45c1469d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IExtensionRequest; -import com.microsoft.graph.requests.generated.IBaseExtensionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Extension Request Builder. */ -public interface IExtensionRequestBuilder extends IBaseExtensionRequestBuilder { +public interface IExtensionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IExtensionRequest instance + */ + IExtensionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IExtensionRequest instance + */ + IExtensionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequest.java index 2245bd05f3f..05553c257ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.FieldValueSet; -import com.microsoft.graph.requests.generated.IBaseFieldValueSetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Field Value Set Request. */ -public interface IFieldValueSetRequest extends IBaseFieldValueSetRequest { +public interface IFieldValueSetRequest extends IHttpRequest { + + /** + * Gets the FieldValueSet from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the FieldValueSet from the service + * + * @return the FieldValueSet from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FieldValueSet get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this FieldValueSet with a source + * + * @param sourceFieldValueSet the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final FieldValueSet sourceFieldValueSet, final ICallback callback); + + /** + * Patches this FieldValueSet with a source + * + * @param sourceFieldValueSet the source object with updates + * @return the updated FieldValueSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FieldValueSet patch(final FieldValueSet sourceFieldValueSet) throws ClientException; + + /** + * Posts a FieldValueSet with a new object + * + * @param newFieldValueSet the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final FieldValueSet newFieldValueSet, final ICallback callback); + + /** + * Posts a FieldValueSet with a new object + * + * @param newFieldValueSet the new object to create + * @return the created FieldValueSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FieldValueSet post(final FieldValueSet newFieldValueSet) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IFieldValueSetRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IFieldValueSetRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequestBuilder.java index 1d33c9f2c92..8f867529443 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequest; -import com.microsoft.graph.requests.generated.IBaseFieldValueSetRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Field Value Set Request Builder. */ -public interface IFieldValueSetRequestBuilder extends IBaseFieldValueSetRequestBuilder { +public interface IFieldValueSetRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IFieldValueSetRequest instance + */ + IFieldValueSetRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IFieldValueSetRequest instance + */ + IFieldValueSetRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequest.java index 1568e5ede5c..df90a27f200 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.FileAttachment; -import com.microsoft.graph.requests.generated.IBaseFileAttachmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the File Attachment Request. */ -public interface IFileAttachmentRequest extends IBaseFileAttachmentRequest { +public interface IFileAttachmentRequest extends IHttpRequest { + + /** + * Gets the FileAttachment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the FileAttachment from the service + * + * @return the FileAttachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FileAttachment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this FileAttachment with a source + * + * @param sourceFileAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final FileAttachment sourceFileAttachment, final ICallback callback); + + /** + * Patches this FileAttachment with a source + * + * @param sourceFileAttachment the source object with updates + * @return the updated FileAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FileAttachment patch(final FileAttachment sourceFileAttachment) throws ClientException; + + /** + * Posts a FileAttachment with a new object + * + * @param newFileAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final FileAttachment newFileAttachment, final ICallback callback); + + /** + * Posts a FileAttachment with a new object + * + * @param newFileAttachment the new object to create + * @return the created FileAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FileAttachment post(final FileAttachment newFileAttachment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IFileAttachmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IFileAttachmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequestBuilder.java index 3b50201d7fd..0b612750c4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IFileAttachmentRequest; -import com.microsoft.graph.requests.generated.IBaseFileAttachmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the File Attachment Request Builder. */ -public interface IFileAttachmentRequestBuilder extends IBaseFileAttachmentRequestBuilder { +public interface IFileAttachmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IFileAttachmentRequest instance + */ + IFileAttachmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IFileAttachmentRequest instance + */ + IFileAttachmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequest.java index 7886b35595f..489ec53767f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; -import com.microsoft.graph.requests.generated.IBaseGroupAddFavoriteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Add Favorite Request. */ -public interface IGroupAddFavoriteRequest extends IBaseGroupAddFavoriteRequest { +public interface IGroupAddFavoriteRequest { + + /** + * Creates the GroupAddFavorite + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the GroupAddFavorite + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequestBuilder.java index b0e487de607..03b4f418c3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupAddFavoriteRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; -import com.microsoft.graph.requests.generated.IBaseGroupAddFavoriteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Add Favorite Request Builder. */ -public interface IGroupAddFavoriteRequestBuilder extends IBaseGroupAddFavoriteRequestBuilder { +public interface IGroupAddFavoriteRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupAddFavoriteRequest + * + * @return the IGroupAddFavoriteRequest instance + */ + IGroupAddFavoriteRequest buildRequest(); + + /** + * Creates the IGroupAddFavoriteRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupAddFavoriteRequest instance + */ + IGroupAddFavoriteRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionPage.java index aa6f446a197..5bdd2d94aa2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Collection Page. */ -public interface IGroupCollectionPage extends IBaseGroupCollectionPage { - +public interface IGroupCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequest.java index 9b8843518de..e51fa331345 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Collection Request. */ -public interface IGroupCollectionRequest extends IBaseGroupCollectionRequest { +public interface IGroupCollectionRequest { + + void get(final ICallback callback); + + IGroupCollectionPage get() throws ClientException; + + void post(final Group newGroup, final ICallback callback); + + Group post(final Group newGroup) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequestBuilder.java index 13a7b3cceaf..6b3bac6feaf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Collection Request Builder. */ -public interface IGroupCollectionRequestBuilder extends IBaseGroupCollectionRequestBuilder { +public interface IGroupCollectionRequestBuilder extends IRequestBuilder { + + IGroupCollectionRequest buildRequest(); + + IGroupCollectionRequest buildRequest(final java.util.List requestOptions); + + IGroupRequestBuilder byId(final String id); + + + IGroupDeltaCollectionRequestBuilder delta(); + IGroupDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionPage.java index 676174f7648..dc25fc07855 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Delta Collection Page. */ -public interface IGroupDeltaCollectionPage extends IBaseGroupDeltaCollectionPage { - +public interface IGroupDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequest.java index 286e918f226..ba84110ddda 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Delta Collection Request. */ -public interface IGroupDeltaCollectionRequest extends IBaseGroupDeltaCollectionRequest { +public interface IGroupDeltaCollectionRequest { + + void get(final ICallback callback); + + IGroupDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequestBuilder.java index 1ef173ecf32..b0f1587a929 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Delta Collection Request Builder. */ -public interface IGroupDeltaCollectionRequestBuilder extends IBaseGroupDeltaCollectionRequestBuilder { +public interface IGroupDeltaCollectionRequestBuilder extends IRequestBuilder { + + IGroupDeltaCollectionRequest buildRequest(); + + IGroupDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequest.java index 57ed46dabbe..bafc873282c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyAddGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Add Group Request. */ -public interface IGroupLifecyclePolicyAddGroupRequest extends IBaseGroupLifecyclePolicyAddGroupRequest { +public interface IGroupLifecyclePolicyAddGroupRequest { + + void post(final ICallback callback); + + Boolean post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupLifecyclePolicyAddGroupRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupLifecyclePolicyAddGroupRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupLifecyclePolicyAddGroupRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequestBuilder.java index b655e13c892..dea6ab705c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyAddGroupRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyAddGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Add Group Request Builder. */ -public interface IGroupLifecyclePolicyAddGroupRequestBuilder extends IBaseGroupLifecyclePolicyAddGroupRequestBuilder { +public interface IGroupLifecyclePolicyAddGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupLifecyclePolicyAddGroupRequest + * + * @return the IGroupLifecyclePolicyAddGroupRequest instance + */ + IGroupLifecyclePolicyAddGroupRequest buildRequest(); + + /** + * Creates the IGroupLifecyclePolicyAddGroupRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupLifecyclePolicyAddGroupRequest instance + */ + IGroupLifecyclePolicyAddGroupRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionPage.java index b1fca7e0b9a..85336ac0dd3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Collection Page. */ -public interface IGroupLifecyclePolicyCollectionPage extends IBaseGroupLifecyclePolicyCollectionPage { - +public interface IGroupLifecyclePolicyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequest.java index 6fcc817948e..fd440605800 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Collection Request. */ -public interface IGroupLifecyclePolicyCollectionRequest extends IBaseGroupLifecyclePolicyCollectionRequest { +public interface IGroupLifecyclePolicyCollectionRequest { + + void get(final ICallback callback); + + IGroupLifecyclePolicyCollectionPage get() throws ClientException; + + void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback); + + GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupLifecyclePolicyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupLifecyclePolicyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupLifecyclePolicyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequestBuilder.java index 34248e04965..6ec0a08f0f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Collection Request Builder. */ -public interface IGroupLifecyclePolicyCollectionRequestBuilder extends IBaseGroupLifecyclePolicyCollectionRequestBuilder { +public interface IGroupLifecyclePolicyCollectionRequestBuilder extends IRequestBuilder { + + IGroupLifecyclePolicyCollectionRequest buildRequest(); + + IGroupLifecyclePolicyCollectionRequest buildRequest(final java.util.List requestOptions); + + IGroupLifecyclePolicyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequest.java index 03eda8eb655..e2d569741c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyRemoveGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Remove Group Request. */ -public interface IGroupLifecyclePolicyRemoveGroupRequest extends IBaseGroupLifecyclePolicyRemoveGroupRequest { +public interface IGroupLifecyclePolicyRemoveGroupRequest { + + void post(final ICallback callback); + + Boolean post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupLifecyclePolicyRemoveGroupRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupLifecyclePolicyRemoveGroupRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupLifecyclePolicyRemoveGroupRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequestBuilder.java index ef6ae4746c8..e0e0e8899f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRemoveGroupRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Remove Group Request Builder. */ -public interface IGroupLifecyclePolicyRemoveGroupRequestBuilder extends IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder { +public interface IGroupLifecyclePolicyRemoveGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupLifecyclePolicyRemoveGroupRequest + * + * @return the IGroupLifecyclePolicyRemoveGroupRequest instance + */ + IGroupLifecyclePolicyRemoveGroupRequest buildRequest(); + + /** + * Creates the IGroupLifecyclePolicyRemoveGroupRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupLifecyclePolicyRemoveGroupRequest instance + */ + IGroupLifecyclePolicyRemoveGroupRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequest.java index 6fd62dcf613..05536ad863c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Request. */ -public interface IGroupLifecyclePolicyRequest extends IBaseGroupLifecyclePolicyRequest { +public interface IGroupLifecyclePolicyRequest extends IHttpRequest { + + /** + * Gets the GroupLifecyclePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the GroupLifecyclePolicy from the service + * + * @return the GroupLifecyclePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupLifecyclePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this GroupLifecyclePolicy with a source + * + * @param sourceGroupLifecyclePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy, final ICallback callback); + + /** + * Patches this GroupLifecyclePolicy with a source + * + * @param sourceGroupLifecyclePolicy the source object with updates + * @return the updated GroupLifecyclePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupLifecyclePolicy patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy) throws ClientException; + + /** + * Posts a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback); + + /** + * Posts a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the new object to create + * @return the created GroupLifecyclePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupLifecyclePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupLifecyclePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequestBuilder.java index 7a95011fd16..e642474aec8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequestBuilder.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequest; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseGroupLifecyclePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Lifecycle Policy Request Builder. */ -public interface IGroupLifecyclePolicyRequestBuilder extends IBaseGroupLifecyclePolicyRequestBuilder { +public interface IGroupLifecyclePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IGroupLifecyclePolicyRequest instance + */ + IGroupLifecyclePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupLifecyclePolicyRequest instance + */ + IGroupLifecyclePolicyRequest buildRequest(final java.util.List requestOptions); + + IGroupLifecyclePolicyAddGroupRequestBuilder addGroup(final String groupId); + IGroupLifecyclePolicyRemoveGroupRequestBuilder removeGroup(final String groupId); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequest.java index 7ba985ac037..25936cb8cd0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Reference Request. */ -public interface IGroupReferenceRequest extends IBaseGroupReferenceRequest { +public interface IGroupReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + Group delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupReferenceRequest expand(final String value); + + /** + * Puts the Group + * + * @param srcGroup the Group to PUT + * @param callback the callback to be called after success or failure + */ + void put(Group srcGroup, final ICallback callback); + /** + * Puts the Group + * + * @param srcGroup the Group to PUT + * @return the Group + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Group put(Group srcGroup) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequestBuilder.java index 98171571417..b2bc9be8c33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Reference Request Builder. */ -public interface IGroupReferenceRequestBuilder extends IBaseGroupReferenceRequestBuilder { +public interface IGroupReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IGroupReferenceRequest instance + */ + IGroupReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupReferenceRequest instance + */ + IGroupReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequest.java index 43f8f370785..a10f895d9ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; -import com.microsoft.graph.requests.generated.IBaseGroupRemoveFavoriteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Remove Favorite Request. */ -public interface IGroupRemoveFavoriteRequest extends IBaseGroupRemoveFavoriteRequest { +public interface IGroupRemoveFavoriteRequest { + + /** + * Creates the GroupRemoveFavorite + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the GroupRemoveFavorite + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequestBuilder.java index 8687e77f0f4..fcc27d7f6ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRemoveFavoriteRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; -import com.microsoft.graph.requests.generated.IBaseGroupRemoveFavoriteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Remove Favorite Request Builder. */ -public interface IGroupRemoveFavoriteRequestBuilder extends IBaseGroupRemoveFavoriteRequestBuilder { +public interface IGroupRemoveFavoriteRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupRemoveFavoriteRequest + * + * @return the IGroupRemoveFavoriteRequest instance + */ + IGroupRemoveFavoriteRequest buildRequest(); + + /** + * Creates the IGroupRemoveFavoriteRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupRemoveFavoriteRequest instance + */ + IGroupRemoveFavoriteRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequest.java index 55f32136020..b8bf3b03848 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRenewRequest; -import com.microsoft.graph.requests.generated.IBaseGroupRenewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Renew Request. */ -public interface IGroupRenewRequest extends IBaseGroupRenewRequest { +public interface IGroupRenewRequest { + + /** + * Creates the GroupRenew + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the GroupRenew + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequestBuilder.java index 5311d9aa652..b65545a1201 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRenewRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRenewRequest; -import com.microsoft.graph.requests.generated.IBaseGroupRenewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Renew Request Builder. */ -public interface IGroupRenewRequestBuilder extends IBaseGroupRenewRequestBuilder { +public interface IGroupRenewRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupRenewRequest + * + * @return the IGroupRenewRequest instance + */ + IGroupRenewRequest buildRequest(); + + /** + * Creates the IGroupRenewRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupRenewRequest instance + */ + IGroupRenewRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequest.java index 05d4068f9f0..330b1ada834 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Group; -import com.microsoft.graph.requests.generated.IBaseGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Request. */ -public interface IGroupRequest extends IBaseGroupRequest { +public interface IGroupRequest extends IHttpRequest { + + /** + * Gets the Group from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Group from the service + * + * @return the Group from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Group get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Group with a source + * + * @param sourceGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Group sourceGroup, final ICallback callback); + + /** + * Patches this Group with a source + * + * @param sourceGroup the source object with updates + * @return the updated Group + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Group patch(final Group sourceGroup) throws ClientException; + + /** + * Posts a Group with a new object + * + * @param newGroup the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Group newGroup, final ICallback callback); + + /** + * Posts a Group with a new object + * + * @param newGroup the new object to create + * @return the created Group + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Group post(final Group newGroup) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequestBuilder.java index b3808f9656e..cd46c33b0da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequestBuilder.java @@ -3,14 +3,202 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupSettingCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupSettingRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConversationRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRenewRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Request Builder. */ -public interface IGroupRequestBuilder extends IBaseGroupRequestBuilder { +public interface IGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IGroupRequest instance + */ + IGroupRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupRequest instance + */ + IGroupRequest buildRequest(final java.util.List requestOptions); + + + IDirectoryObjectCollectionWithReferencesRequestBuilder members(); + + IDirectoryObjectWithReferenceRequestBuilder members(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf(); + + IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMembers(); + + IDirectoryObjectWithReferenceRequestBuilder transitiveMembers(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMemberOf(); + + IDirectoryObjectWithReferenceRequestBuilder transitiveMemberOf(final String id); + + /** + * Gets the request builder for DirectoryObject + * + * @return the IDirectoryObjectWithReferenceRequestBuilder instance + */ + IDirectoryObjectWithReferenceRequestBuilder createdOnBehalfOf(); + + IDirectoryObjectCollectionWithReferencesRequestBuilder owners(); + + IDirectoryObjectWithReferenceRequestBuilder owners(final String id); + + IGroupSettingCollectionRequestBuilder settings(); + + IGroupSettingRequestBuilder settings(final String id); + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + + IConversationThreadCollectionRequestBuilder threads(); + + IConversationThreadRequestBuilder threads(final String id); + + /** + * Gets the request builder for Calendar + * + * @return the ICalendarRequestBuilder instance + */ + ICalendarRequestBuilder calendar(); + + IEventCollectionRequestBuilder calendarView(); + + IEventRequestBuilder calendarView(final String id); + + IEventCollectionRequestBuilder events(); + + IEventRequestBuilder events(final String id); + + IConversationCollectionRequestBuilder conversations(); + + IConversationRequestBuilder conversations(final String id); + + /** + * Gets the request builder for ProfilePhoto + * + * @return the IProfilePhotoRequestBuilder instance + */ + IProfilePhotoRequestBuilder photo(); + + IProfilePhotoCollectionRequestBuilder photos(); + + IProfilePhotoRequestBuilder photos(final String id); + + IDirectoryObjectCollectionRequestBuilder acceptedSenders(); + + IDirectoryObjectRequestBuilder acceptedSenders(final String id); + + IDirectoryObjectCollectionRequestBuilder rejectedSenders(); + + IDirectoryObjectRequestBuilder rejectedSenders(final String id); + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + IDriveRequestBuilder drive(); + + IDriveCollectionRequestBuilder drives(); + + IDriveRequestBuilder drives(final String id); + + ISiteCollectionRequestBuilder sites(); + + ISiteRequestBuilder sites(final String id); + + /** + * Gets the request builder for PlannerGroup + * + * @return the IPlannerGroupRequestBuilder instance + */ + IPlannerGroupRequestBuilder planner(); + + /** + * Gets the request builder for Onenote + * + * @return the IOnenoteRequestBuilder instance + */ + IOnenoteRequestBuilder onenote(); + + IGroupLifecyclePolicyCollectionRequestBuilder groupLifecyclePolicies(); + + IGroupLifecyclePolicyRequestBuilder groupLifecyclePolicies(final String id); + + /** + * Gets the request builder for Team + * + * @return the ITeamRequestBuilder instance + */ + ITeamRequestBuilder team(); + IGroupSubscribeByMailRequestBuilder subscribeByMail(); + IGroupUnsubscribeByMailRequestBuilder unsubscribeByMail(); + IGroupAddFavoriteRequestBuilder addFavorite(); + IGroupRemoveFavoriteRequestBuilder removeFavorite(); + IGroupResetUnseenCountRequestBuilder resetUnseenCount(); + IGroupRenewRequestBuilder renew(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequest.java index 5759af09b13..90b4fc54167 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; -import com.microsoft.graph.requests.generated.IBaseGroupResetUnseenCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Reset Unseen Count Request. */ -public interface IGroupResetUnseenCountRequest extends IBaseGroupResetUnseenCountRequest { +public interface IGroupResetUnseenCountRequest { + + /** + * Creates the GroupResetUnseenCount + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the GroupResetUnseenCount + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequestBuilder.java index c53a6b9a651..4da1dfaee22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupResetUnseenCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; -import com.microsoft.graph.requests.generated.IBaseGroupResetUnseenCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Reset Unseen Count Request Builder. */ -public interface IGroupResetUnseenCountRequestBuilder extends IBaseGroupResetUnseenCountRequestBuilder { +public interface IGroupResetUnseenCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupResetUnseenCountRequest + * + * @return the IGroupResetUnseenCountRequest instance + */ + IGroupResetUnseenCountRequest buildRequest(); + + /** + * Creates the IGroupResetUnseenCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupResetUnseenCountRequest instance + */ + IGroupResetUnseenCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionPage.java index 4a956285a25..fdef1020da1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupSettingCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Collection Page. */ -public interface IGroupSettingCollectionPage extends IBaseGroupSettingCollectionPage { - +public interface IGroupSettingCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequest.java index 14d88276432..5016f140bee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupSettingCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Collection Request. */ -public interface IGroupSettingCollectionRequest extends IBaseGroupSettingCollectionRequest { +public interface IGroupSettingCollectionRequest { + + void get(final ICallback callback); + + IGroupSettingCollectionPage get() throws ClientException; + + void post(final GroupSetting newGroupSetting, final ICallback callback); + + GroupSetting post(final GroupSetting newGroupSetting) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupSettingCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupSettingCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupSettingCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequestBuilder.java index 7c611fd7e29..983c40412b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupSettingCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Collection Request Builder. */ -public interface IGroupSettingCollectionRequestBuilder extends IBaseGroupSettingCollectionRequestBuilder { +public interface IGroupSettingCollectionRequestBuilder extends IRequestBuilder { + + IGroupSettingCollectionRequest buildRequest(); + + IGroupSettingCollectionRequest buildRequest(final java.util.List requestOptions); + + IGroupSettingRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequest.java index 1ff5269019a..a9adf9ecea8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupSetting; -import com.microsoft.graph.requests.generated.IBaseGroupSettingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Request. */ -public interface IGroupSettingRequest extends IBaseGroupSettingRequest { +public interface IGroupSettingRequest extends IHttpRequest { + + /** + * Gets the GroupSetting from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the GroupSetting from the service + * + * @return the GroupSetting from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSetting get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this GroupSetting with a source + * + * @param sourceGroupSetting the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final GroupSetting sourceGroupSetting, final ICallback callback); + + /** + * Patches this GroupSetting with a source + * + * @param sourceGroupSetting the source object with updates + * @return the updated GroupSetting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSetting patch(final GroupSetting sourceGroupSetting) throws ClientException; + + /** + * Posts a GroupSetting with a new object + * + * @param newGroupSetting the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final GroupSetting newGroupSetting, final ICallback callback); + + /** + * Posts a GroupSetting with a new object + * + * @param newGroupSetting the new object to create + * @return the created GroupSetting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSetting post(final GroupSetting newGroupSetting) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupSettingRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupSettingRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequestBuilder.java index 56eab62fc04..1a1744f380a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSettingRequest; -import com.microsoft.graph.requests.generated.IBaseGroupSettingRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Request Builder. */ -public interface IGroupSettingRequestBuilder extends IBaseGroupSettingRequestBuilder { +public interface IGroupSettingRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IGroupSettingRequest instance + */ + IGroupSettingRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupSettingRequest instance + */ + IGroupSettingRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionPage.java index 7a2fedc17ce..bc3ec37565c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupSettingTemplateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Template Collection Page. */ -public interface IGroupSettingTemplateCollectionPage extends IBaseGroupSettingTemplateCollectionPage { - +public interface IGroupSettingTemplateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequest.java index 78061f3bb7f..2518e43edb2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupSettingTemplateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Template Collection Request. */ -public interface IGroupSettingTemplateCollectionRequest extends IBaseGroupSettingTemplateCollectionRequest { +public interface IGroupSettingTemplateCollectionRequest { + + void get(final ICallback callback); + + IGroupSettingTemplateCollectionPage get() throws ClientException; + + void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback); + + GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupSettingTemplateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupSettingTemplateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IGroupSettingTemplateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequestBuilder.java index fe0d9bd8c29..28191e3b939 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupSettingTemplateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Template Collection Request Builder. */ -public interface IGroupSettingTemplateCollectionRequestBuilder extends IBaseGroupSettingTemplateCollectionRequestBuilder { +public interface IGroupSettingTemplateCollectionRequestBuilder extends IRequestBuilder { + + IGroupSettingTemplateCollectionRequest buildRequest(); + + IGroupSettingTemplateCollectionRequest buildRequest(final java.util.List requestOptions); + + IGroupSettingTemplateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequest.java index 5f4050a1f0d..7b366c0945d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.GroupSettingTemplate; -import com.microsoft.graph.requests.generated.IBaseGroupSettingTemplateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Template Request. */ -public interface IGroupSettingTemplateRequest extends IBaseGroupSettingTemplateRequest { +public interface IGroupSettingTemplateRequest extends IHttpRequest { + + /** + * Gets the GroupSettingTemplate from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the GroupSettingTemplate from the service + * + * @return the GroupSettingTemplate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSettingTemplate get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this GroupSettingTemplate with a source + * + * @param sourceGroupSettingTemplate the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final GroupSettingTemplate sourceGroupSettingTemplate, final ICallback callback); + + /** + * Patches this GroupSettingTemplate with a source + * + * @param sourceGroupSettingTemplate the source object with updates + * @return the updated GroupSettingTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSettingTemplate patch(final GroupSettingTemplate sourceGroupSettingTemplate) throws ClientException; + + /** + * Posts a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback); + + /** + * Posts a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the new object to create + * @return the created GroupSettingTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IGroupSettingTemplateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IGroupSettingTemplateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequestBuilder.java index 7bf74d49074..bd60e3a6c91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSettingTemplateRequest; -import com.microsoft.graph.requests.generated.IBaseGroupSettingTemplateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Setting Template Request Builder. */ -public interface IGroupSettingTemplateRequestBuilder extends IBaseGroupSettingTemplateRequestBuilder { +public interface IGroupSettingTemplateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IGroupSettingTemplateRequest instance + */ + IGroupSettingTemplateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupSettingTemplateRequest instance + */ + IGroupSettingTemplateRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequest.java index c8c27c4372b..f7b47e3fdc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; -import com.microsoft.graph.requests.generated.IBaseGroupSubscribeByMailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Subscribe By Mail Request. */ -public interface IGroupSubscribeByMailRequest extends IBaseGroupSubscribeByMailRequest { +public interface IGroupSubscribeByMailRequest { + + /** + * Creates the GroupSubscribeByMail + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the GroupSubscribeByMail + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequestBuilder.java index 86f0ac64858..df6a665125e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSubscribeByMailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; -import com.microsoft.graph.requests.generated.IBaseGroupSubscribeByMailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Subscribe By Mail Request Builder. */ -public interface IGroupSubscribeByMailRequestBuilder extends IBaseGroupSubscribeByMailRequestBuilder { +public interface IGroupSubscribeByMailRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupSubscribeByMailRequest + * + * @return the IGroupSubscribeByMailRequest instance + */ + IGroupSubscribeByMailRequest buildRequest(); + + /** + * Creates the IGroupSubscribeByMailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupSubscribeByMailRequest instance + */ + IGroupSubscribeByMailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequest.java index 2ea3930307a..c0413196be1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; -import com.microsoft.graph.requests.generated.IBaseGroupUnsubscribeByMailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Unsubscribe By Mail Request. */ -public interface IGroupUnsubscribeByMailRequest extends IBaseGroupUnsubscribeByMailRequest { +public interface IGroupUnsubscribeByMailRequest { + + /** + * Creates the GroupUnsubscribeByMail + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the GroupUnsubscribeByMail + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequestBuilder.java index d978a4302e6..5b656700c7c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupUnsubscribeByMailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; -import com.microsoft.graph.requests.generated.IBaseGroupUnsubscribeByMailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group Unsubscribe By Mail Request Builder. */ -public interface IGroupUnsubscribeByMailRequestBuilder extends IBaseGroupUnsubscribeByMailRequestBuilder { +public interface IGroupUnsubscribeByMailRequestBuilder extends IRequestBuilder { + /** + * Creates the IGroupUnsubscribeByMailRequest + * + * @return the IGroupUnsubscribeByMailRequest instance + */ + IGroupUnsubscribeByMailRequest buildRequest(); + + /** + * Creates the IGroupUnsubscribeByMailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IGroupUnsubscribeByMailRequest instance + */ + IGroupUnsubscribeByMailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequest.java index 2e692fe1b2e..67fa302803d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group With Reference Request. */ -public interface IGroupWithReferenceRequest extends IBaseGroupWithReferenceRequest { +public interface IGroupWithReferenceRequest extends IHttpRequest { + + void post(final Group newGroup, final IJsonBackedObject payload, final ICallback callback); + + Group post(final Group newGroup, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + Group get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final Group sourceGroup, final ICallback callback); + + Group patch(final Group sourceGroup) throws ClientException; + + IGroupWithReferenceRequest select(final String value); + + IGroupWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequestBuilder.java index fca924c78eb..62980b9b207 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseGroupWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Group With Reference Request Builder. */ -public interface IGroupWithReferenceRequestBuilder extends IBaseGroupWithReferenceRequestBuilder { +public interface IGroupWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IGroupWithReferenceRequest instance + */ + IGroupWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IGroupWithReferenceRequest instance + */ + IGroupWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IGroupReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionPage.java index 0729be59a42..d10f98b546e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationOverrideCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Override Collection Page. */ -public interface IInferenceClassificationOverrideCollectionPage extends IBaseInferenceClassificationOverrideCollectionPage { - +public interface IInferenceClassificationOverrideCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequest.java index ee7f43fc1d3..3e3d51b2d44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationOverrideCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Override Collection Request. */ -public interface IInferenceClassificationOverrideCollectionRequest extends IBaseInferenceClassificationOverrideCollectionRequest { +public interface IInferenceClassificationOverrideCollectionRequest { + + void get(final ICallback callback); + + IInferenceClassificationOverrideCollectionPage get() throws ClientException; + + void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback); + + InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IInferenceClassificationOverrideCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IInferenceClassificationOverrideCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IInferenceClassificationOverrideCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequestBuilder.java index 974cb54a634..3ed4ad1ea50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationOverrideCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Override Collection Request Builder. */ -public interface IInferenceClassificationOverrideCollectionRequestBuilder extends IBaseInferenceClassificationOverrideCollectionRequestBuilder { +public interface IInferenceClassificationOverrideCollectionRequestBuilder extends IRequestBuilder { + + IInferenceClassificationOverrideCollectionRequest buildRequest(); + + IInferenceClassificationOverrideCollectionRequest buildRequest(final java.util.List requestOptions); + + IInferenceClassificationOverrideRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequest.java index c9a603e3176..66018d520f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.InferenceClassificationOverride; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationOverrideRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Override Request. */ -public interface IInferenceClassificationOverrideRequest extends IBaseInferenceClassificationOverrideRequest { +public interface IInferenceClassificationOverrideRequest extends IHttpRequest { + + /** + * Gets the InferenceClassificationOverride from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the InferenceClassificationOverride from the service + * + * @return the InferenceClassificationOverride from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassificationOverride get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this InferenceClassificationOverride with a source + * + * @param sourceInferenceClassificationOverride the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final InferenceClassificationOverride sourceInferenceClassificationOverride, final ICallback callback); + + /** + * Patches this InferenceClassificationOverride with a source + * + * @param sourceInferenceClassificationOverride the source object with updates + * @return the updated InferenceClassificationOverride + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassificationOverride patch(final InferenceClassificationOverride sourceInferenceClassificationOverride) throws ClientException; + + /** + * Posts a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback); + + /** + * Posts a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the new object to create + * @return the created InferenceClassificationOverride + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IInferenceClassificationOverrideRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IInferenceClassificationOverrideRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequestBuilder.java index c2a4ab757d5..b2487ab09ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequest; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationOverrideRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Override Request Builder. */ -public interface IInferenceClassificationOverrideRequestBuilder extends IBaseInferenceClassificationOverrideRequestBuilder { +public interface IInferenceClassificationOverrideRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IInferenceClassificationOverrideRequest instance + */ + IInferenceClassificationOverrideRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IInferenceClassificationOverrideRequest instance + */ + IInferenceClassificationOverrideRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequest.java index 392d515d0b0..6b5c9c26ed1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.InferenceClassification; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Request. */ -public interface IInferenceClassificationRequest extends IBaseInferenceClassificationRequest { +public interface IInferenceClassificationRequest extends IHttpRequest { + + /** + * Gets the InferenceClassification from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the InferenceClassification from the service + * + * @return the InferenceClassification from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassification get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this InferenceClassification with a source + * + * @param sourceInferenceClassification the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final InferenceClassification sourceInferenceClassification, final ICallback callback); + + /** + * Patches this InferenceClassification with a source + * + * @param sourceInferenceClassification the source object with updates + * @return the updated InferenceClassification + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassification patch(final InferenceClassification sourceInferenceClassification) throws ClientException; + + /** + * Posts a InferenceClassification with a new object + * + * @param newInferenceClassification the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final InferenceClassification newInferenceClassification, final ICallback callback); + + /** + * Posts a InferenceClassification with a new object + * + * @param newInferenceClassification the new object to create + * @return the created InferenceClassification + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassification post(final InferenceClassification newInferenceClassification) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IInferenceClassificationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IInferenceClassificationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequestBuilder.java index f55512461e0..c37294c772f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInferenceClassificationRequest; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseInferenceClassificationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Inference Classification Request Builder. */ -public interface IInferenceClassificationRequestBuilder extends IBaseInferenceClassificationRequestBuilder { +public interface IInferenceClassificationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IInferenceClassificationRequest instance + */ + IInferenceClassificationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IInferenceClassificationRequest instance + */ + IInferenceClassificationRequest buildRequest(final java.util.List requestOptions); + + + IInferenceClassificationOverrideCollectionRequestBuilder overrides(); + + IInferenceClassificationOverrideRequestBuilder overrides(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionPage.java index e2985d8acca..b448df4f8f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseInvitationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Invitation Collection Page. */ -public interface IInvitationCollectionPage extends IBaseInvitationCollectionPage { - +public interface IInvitationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequest.java index ef573341021..dec9a4ba1b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseInvitationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Invitation Collection Request. */ -public interface IInvitationCollectionRequest extends IBaseInvitationCollectionRequest { +public interface IInvitationCollectionRequest { + + void get(final ICallback callback); + + IInvitationCollectionPage get() throws ClientException; + + void post(final Invitation newInvitation, final ICallback callback); + + Invitation post(final Invitation newInvitation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IInvitationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IInvitationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IInvitationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequestBuilder.java index b5a375c61c5..1dd2fafb22d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseInvitationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Invitation Collection Request Builder. */ -public interface IInvitationCollectionRequestBuilder extends IBaseInvitationCollectionRequestBuilder { +public interface IInvitationCollectionRequestBuilder extends IRequestBuilder { + + IInvitationCollectionRequest buildRequest(); + + IInvitationCollectionRequest buildRequest(final java.util.List requestOptions); + + IInvitationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequest.java index 68068d64bea..b197dc50ab0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Invitation; -import com.microsoft.graph.requests.generated.IBaseInvitationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Invitation Request. */ -public interface IInvitationRequest extends IBaseInvitationRequest { +public interface IInvitationRequest extends IHttpRequest { + + /** + * Gets the Invitation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Invitation from the service + * + * @return the Invitation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Invitation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Invitation with a source + * + * @param sourceInvitation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Invitation sourceInvitation, final ICallback callback); + + /** + * Patches this Invitation with a source + * + * @param sourceInvitation the source object with updates + * @return the updated Invitation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Invitation patch(final Invitation sourceInvitation) throws ClientException; + + /** + * Posts a Invitation with a new object + * + * @param newInvitation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Invitation newInvitation, final ICallback callback); + + /** + * Posts a Invitation with a new object + * + * @param newInvitation the new object to create + * @return the created Invitation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Invitation post(final Invitation newInvitation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IInvitationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IInvitationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequestBuilder.java index 288affa9214..ef160dc5ef0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInvitationRequest; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseInvitationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Invitation Request Builder. */ -public interface IInvitationRequestBuilder extends IBaseInvitationRequestBuilder { +public interface IInvitationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IInvitationRequest instance + */ + IInvitationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IInvitationRequest instance + */ + IInvitationRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + IUserWithReferenceRequestBuilder invitedUser(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequest.java index b5cf7b8c705..89ebbef144b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosCertificateProfile; -import com.microsoft.graph.requests.generated.IBaseIosCertificateProfileRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Certificate Profile Request. */ -public interface IIosCertificateProfileRequest extends IBaseIosCertificateProfileRequest { +public interface IIosCertificateProfileRequest extends IHttpRequest { + + /** + * Gets the IosCertificateProfile from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosCertificateProfile from the service + * + * @return the IosCertificateProfile from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCertificateProfile get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosCertificateProfile with a source + * + * @param sourceIosCertificateProfile the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosCertificateProfile sourceIosCertificateProfile, final ICallback callback); + + /** + * Patches this IosCertificateProfile with a source + * + * @param sourceIosCertificateProfile the source object with updates + * @return the updated IosCertificateProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCertificateProfile patch(final IosCertificateProfile sourceIosCertificateProfile) throws ClientException; + + /** + * Posts a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosCertificateProfile newIosCertificateProfile, final ICallback callback); + + /** + * Posts a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the new object to create + * @return the created IosCertificateProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCertificateProfile post(final IosCertificateProfile newIosCertificateProfile) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosCertificateProfileRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosCertificateProfileRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequestBuilder.java index 287b2c7cd1c..04bd33fe0b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCertificateProfileRequest; -import com.microsoft.graph.requests.generated.IBaseIosCertificateProfileRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Certificate Profile Request Builder. */ -public interface IIosCertificateProfileRequestBuilder extends IBaseIosCertificateProfileRequestBuilder { +public interface IIosCertificateProfileRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosCertificateProfileRequest instance + */ + IIosCertificateProfileRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosCertificateProfileRequest instance + */ + IIosCertificateProfileRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequest.java index 15a49a7977d..ed1e6c438b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosCompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseIosCompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Compliance Policy Request. */ -public interface IIosCompliancePolicyRequest extends IBaseIosCompliancePolicyRequest { +public interface IIosCompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the IosCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosCompliancePolicy from the service + * + * @return the IosCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosCompliancePolicy with a source + * + * @param sourceIosCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosCompliancePolicy sourceIosCompliancePolicy, final ICallback callback); + + /** + * Patches this IosCompliancePolicy with a source + * + * @param sourceIosCompliancePolicy the source object with updates + * @return the updated IosCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCompliancePolicy patch(final IosCompliancePolicy sourceIosCompliancePolicy) throws ClientException; + + /** + * Posts a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosCompliancePolicy newIosCompliancePolicy, final ICallback callback); + + /** + * Posts a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the new object to create + * @return the created IosCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCompliancePolicy post(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosCompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosCompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequestBuilder.java index 03f11a291ce..319e47c3224 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseIosCompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Compliance Policy Request Builder. */ -public interface IIosCompliancePolicyRequestBuilder extends IBaseIosCompliancePolicyRequestBuilder { +public interface IIosCompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosCompliancePolicyRequest instance + */ + IIosCompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosCompliancePolicyRequest instance + */ + IIosCompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequest.java index dadde6b9e69..3c82feb9dbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosCustomConfiguration; -import com.microsoft.graph.requests.generated.IBaseIosCustomConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Custom Configuration Request. */ -public interface IIosCustomConfigurationRequest extends IBaseIosCustomConfigurationRequest { +public interface IIosCustomConfigurationRequest extends IHttpRequest { + + /** + * Gets the IosCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosCustomConfiguration from the service + * + * @return the IosCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCustomConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosCustomConfiguration with a source + * + * @param sourceIosCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosCustomConfiguration sourceIosCustomConfiguration, final ICallback callback); + + /** + * Patches this IosCustomConfiguration with a source + * + * @param sourceIosCustomConfiguration the source object with updates + * @return the updated IosCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCustomConfiguration patch(final IosCustomConfiguration sourceIosCustomConfiguration) throws ClientException; + + /** + * Posts a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosCustomConfiguration newIosCustomConfiguration, final ICallback callback); + + /** + * Posts a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the new object to create + * @return the created IosCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCustomConfiguration post(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosCustomConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosCustomConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequestBuilder.java index 3dc7e88a4b6..e47abd1b8e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCustomConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseIosCustomConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Custom Configuration Request Builder. */ -public interface IIosCustomConfigurationRequestBuilder extends IBaseIosCustomConfigurationRequestBuilder { +public interface IIosCustomConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosCustomConfigurationRequest instance + */ + IIosCustomConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosCustomConfigurationRequest instance + */ + IIosCustomConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequest.java index 3c9203341c3..8af7f1bff4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosDeviceFeaturesConfiguration; -import com.microsoft.graph.requests.generated.IBaseIosDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Device Features Configuration Request. */ -public interface IIosDeviceFeaturesConfigurationRequest extends IBaseIosDeviceFeaturesConfigurationRequest { +public interface IIosDeviceFeaturesConfigurationRequest extends IHttpRequest { + + /** + * Gets the IosDeviceFeaturesConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosDeviceFeaturesConfiguration from the service + * + * @return the IosDeviceFeaturesConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosDeviceFeaturesConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosDeviceFeaturesConfiguration with a source + * + * @param sourceIosDeviceFeaturesConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration, final ICallback callback); + + /** + * Patches this IosDeviceFeaturesConfiguration with a source + * + * @param sourceIosDeviceFeaturesConfiguration the source object with updates + * @return the updated IosDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosDeviceFeaturesConfiguration patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration) throws ClientException; + + /** + * Posts a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration, final ICallback callback); + + /** + * Posts a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the new object to create + * @return the created IosDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosDeviceFeaturesConfiguration post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosDeviceFeaturesConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosDeviceFeaturesConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequestBuilder.java index 1f0a95e19c5..665aa72e5c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseIosDeviceFeaturesConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Device Features Configuration Request Builder. */ -public interface IIosDeviceFeaturesConfigurationRequestBuilder extends IBaseIosDeviceFeaturesConfigurationRequestBuilder { +public interface IIosDeviceFeaturesConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosDeviceFeaturesConfigurationRequest instance + */ + IIosDeviceFeaturesConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosDeviceFeaturesConfigurationRequest instance + */ + IIosDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequest.java index ca67d006af6..346a42defcf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosGeneralDeviceConfiguration; -import com.microsoft.graph.requests.generated.IBaseIosGeneralDeviceConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios General Device Configuration Request. */ -public interface IIosGeneralDeviceConfigurationRequest extends IBaseIosGeneralDeviceConfigurationRequest { +public interface IIosGeneralDeviceConfigurationRequest extends IHttpRequest { + + /** + * Gets the IosGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosGeneralDeviceConfiguration from the service + * + * @return the IosGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosGeneralDeviceConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosGeneralDeviceConfiguration with a source + * + * @param sourceIosGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration, final ICallback callback); + + /** + * Patches this IosGeneralDeviceConfiguration with a source + * + * @param sourceIosGeneralDeviceConfiguration the source object with updates + * @return the updated IosGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosGeneralDeviceConfiguration patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration) throws ClientException; + + /** + * Posts a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the new object to create + * @return the created IosGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosGeneralDeviceConfiguration post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosGeneralDeviceConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosGeneralDeviceConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequestBuilder.java index 63fed947f6e..fede89915a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseIosGeneralDeviceConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios General Device Configuration Request Builder. */ -public interface IIosGeneralDeviceConfigurationRequestBuilder extends IBaseIosGeneralDeviceConfigurationRequestBuilder { +public interface IIosGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosGeneralDeviceConfigurationRequest instance + */ + IIosGeneralDeviceConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosGeneralDeviceConfigurationRequest instance + */ + IIosGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequest.java index a997b0d4079..e9328c9a100 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosLobApp; -import com.microsoft.graph.requests.generated.IBaseIosLobAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Lob App Request. */ -public interface IIosLobAppRequest extends IBaseIosLobAppRequest { +public interface IIosLobAppRequest extends IHttpRequest { + + /** + * Gets the IosLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosLobApp from the service + * + * @return the IosLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosLobApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosLobApp with a source + * + * @param sourceIosLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosLobApp sourceIosLobApp, final ICallback callback); + + /** + * Patches this IosLobApp with a source + * + * @param sourceIosLobApp the source object with updates + * @return the updated IosLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosLobApp patch(final IosLobApp sourceIosLobApp) throws ClientException; + + /** + * Posts a IosLobApp with a new object + * + * @param newIosLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosLobApp newIosLobApp, final ICallback callback); + + /** + * Posts a IosLobApp with a new object + * + * @param newIosLobApp the new object to create + * @return the created IosLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosLobApp post(final IosLobApp newIosLobApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosLobAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosLobAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequestBuilder.java index 0b6d96a72e8..63dd2269278 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosLobAppRequest; -import com.microsoft.graph.requests.generated.IBaseIosLobAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Lob App Request Builder. */ -public interface IIosLobAppRequestBuilder extends IBaseIosLobAppRequestBuilder { +public interface IIosLobAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosLobAppRequest instance + */ + IIosLobAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosLobAppRequest instance + */ + IIosLobAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionPage.java index 5bc103636b2..dda0c711619 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppProtectionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Protection Collection Page. */ -public interface IIosManagedAppProtectionCollectionPage extends IBaseIosManagedAppProtectionCollectionPage { - +public interface IIosManagedAppProtectionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequest.java index b78ab6de2fc..8308751bf80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppProtectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Protection Collection Request. */ -public interface IIosManagedAppProtectionCollectionRequest extends IBaseIosManagedAppProtectionCollectionRequest { +public interface IIosManagedAppProtectionCollectionRequest { + + void get(final ICallback callback); + + IIosManagedAppProtectionCollectionPage get() throws ClientException; + + void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback); + + IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosManagedAppProtectionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosManagedAppProtectionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IIosManagedAppProtectionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequestBuilder.java index 7179414f3d1..1f9d0a37ed2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Protection Collection Request Builder. */ -public interface IIosManagedAppProtectionCollectionRequestBuilder extends IBaseIosManagedAppProtectionCollectionRequestBuilder { +public interface IIosManagedAppProtectionCollectionRequestBuilder extends IRequestBuilder { + + IIosManagedAppProtectionCollectionRequest buildRequest(); + + IIosManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions); + + IIosManagedAppProtectionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequest.java index 641fadf1bb6..8f35cb967cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosManagedAppProtection; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Protection Request. */ -public interface IIosManagedAppProtectionRequest extends IBaseIosManagedAppProtectionRequest { +public interface IIosManagedAppProtectionRequest extends IHttpRequest { + + /** + * Gets the IosManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosManagedAppProtection from the service + * + * @return the IosManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosManagedAppProtection with a source + * + * @param sourceIosManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosManagedAppProtection sourceIosManagedAppProtection, final ICallback callback); + + /** + * Patches this IosManagedAppProtection with a source + * + * @param sourceIosManagedAppProtection the source object with updates + * @return the updated IosManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppProtection patch(final IosManagedAppProtection sourceIosManagedAppProtection) throws ClientException; + + /** + * Posts a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback); + + /** + * Posts a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the new object to create + * @return the created IosManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosManagedAppProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosManagedAppProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequestBuilder.java index 21ac3cc97ed..b3396c4938f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequestBuilder.java @@ -3,14 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Protection Request Builder. */ -public interface IIosManagedAppProtectionRequestBuilder extends IBaseIosManagedAppProtectionRequestBuilder { +public interface IIosManagedAppProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosManagedAppProtectionRequest instance + */ + IIosManagedAppProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosManagedAppProtectionRequest instance + */ + IIosManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); + + + IManagedMobileAppCollectionRequestBuilder apps(); + + IManagedMobileAppRequestBuilder apps(final String id); + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequest.java index 6d7bd71dcef..a7a33ee6c0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosManagedAppRegistration; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppRegistrationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Registration Request. */ -public interface IIosManagedAppRegistrationRequest extends IBaseIosManagedAppRegistrationRequest { +public interface IIosManagedAppRegistrationRequest extends IHttpRequest { + + /** + * Gets the IosManagedAppRegistration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosManagedAppRegistration from the service + * + * @return the IosManagedAppRegistration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppRegistration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosManagedAppRegistration with a source + * + * @param sourceIosManagedAppRegistration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosManagedAppRegistration sourceIosManagedAppRegistration, final ICallback callback); + + /** + * Patches this IosManagedAppRegistration with a source + * + * @param sourceIosManagedAppRegistration the source object with updates + * @return the updated IosManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppRegistration patch(final IosManagedAppRegistration sourceIosManagedAppRegistration) throws ClientException; + + /** + * Posts a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosManagedAppRegistration newIosManagedAppRegistration, final ICallback callback); + + /** + * Posts a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the new object to create + * @return the created IosManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppRegistration post(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosManagedAppRegistrationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosManagedAppRegistrationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequestBuilder.java index 11849605839..1201f69120d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosManagedAppRegistrationRequest; -import com.microsoft.graph.requests.generated.IBaseIosManagedAppRegistrationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Managed App Registration Request Builder. */ -public interface IIosManagedAppRegistrationRequestBuilder extends IBaseIosManagedAppRegistrationRequestBuilder { +public interface IIosManagedAppRegistrationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosManagedAppRegistrationRequest instance + */ + IIosManagedAppRegistrationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosManagedAppRegistrationRequest instance + */ + IIosManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequest.java index 9a6e4f332c0..024717f4d0a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosMobileAppConfiguration; -import com.microsoft.graph.requests.generated.IBaseIosMobileAppConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Mobile App Configuration Request. */ -public interface IIosMobileAppConfigurationRequest extends IBaseIosMobileAppConfigurationRequest { +public interface IIosMobileAppConfigurationRequest extends IHttpRequest { + + /** + * Gets the IosMobileAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosMobileAppConfiguration from the service + * + * @return the IosMobileAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosMobileAppConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosMobileAppConfiguration with a source + * + * @param sourceIosMobileAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration, final ICallback callback); + + /** + * Patches this IosMobileAppConfiguration with a source + * + * @param sourceIosMobileAppConfiguration the source object with updates + * @return the updated IosMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosMobileAppConfiguration patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration) throws ClientException; + + /** + * Posts a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosMobileAppConfiguration newIosMobileAppConfiguration, final ICallback callback); + + /** + * Posts a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the new object to create + * @return the created IosMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosMobileAppConfiguration post(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosMobileAppConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosMobileAppConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequestBuilder.java index 74166dacb42..4f785d327c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosMobileAppConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseIosMobileAppConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Mobile App Configuration Request Builder. */ -public interface IIosMobileAppConfigurationRequestBuilder extends IBaseIosMobileAppConfigurationRequestBuilder { +public interface IIosMobileAppConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosMobileAppConfigurationRequest instance + */ + IIosMobileAppConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosMobileAppConfigurationRequest instance + */ + IIosMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequest.java index 6a7ff617273..17fb15d250b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosStoreApp; -import com.microsoft.graph.requests.generated.IBaseIosStoreAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Store App Request. */ -public interface IIosStoreAppRequest extends IBaseIosStoreAppRequest { +public interface IIosStoreAppRequest extends IHttpRequest { + + /** + * Gets the IosStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosStoreApp from the service + * + * @return the IosStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosStoreApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosStoreApp with a source + * + * @param sourceIosStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosStoreApp sourceIosStoreApp, final ICallback callback); + + /** + * Patches this IosStoreApp with a source + * + * @param sourceIosStoreApp the source object with updates + * @return the updated IosStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosStoreApp patch(final IosStoreApp sourceIosStoreApp) throws ClientException; + + /** + * Posts a IosStoreApp with a new object + * + * @param newIosStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosStoreApp newIosStoreApp, final ICallback callback); + + /** + * Posts a IosStoreApp with a new object + * + * @param newIosStoreApp the new object to create + * @return the created IosStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosStoreApp post(final IosStoreApp newIosStoreApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosStoreAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosStoreAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequestBuilder.java index e1959720bb5..e68f8472750 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosStoreAppRequest; -import com.microsoft.graph.requests.generated.IBaseIosStoreAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Store App Request Builder. */ -public interface IIosStoreAppRequestBuilder extends IBaseIosStoreAppRequestBuilder { +public interface IIosStoreAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosStoreAppRequest instance + */ + IIosStoreAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosStoreAppRequest instance + */ + IIosStoreAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequest.java index b492fbf7b48..ada050e8e8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosUpdateConfiguration; -import com.microsoft.graph.requests.generated.IBaseIosUpdateConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Configuration Request. */ -public interface IIosUpdateConfigurationRequest extends IBaseIosUpdateConfigurationRequest { +public interface IIosUpdateConfigurationRequest extends IHttpRequest { + + /** + * Gets the IosUpdateConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosUpdateConfiguration from the service + * + * @return the IosUpdateConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosUpdateConfiguration with a source + * + * @param sourceIosUpdateConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosUpdateConfiguration sourceIosUpdateConfiguration, final ICallback callback); + + /** + * Patches this IosUpdateConfiguration with a source + * + * @param sourceIosUpdateConfiguration the source object with updates + * @return the updated IosUpdateConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateConfiguration patch(final IosUpdateConfiguration sourceIosUpdateConfiguration) throws ClientException; + + /** + * Posts a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosUpdateConfiguration newIosUpdateConfiguration, final ICallback callback); + + /** + * Posts a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the new object to create + * @return the created IosUpdateConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateConfiguration post(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosUpdateConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosUpdateConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequestBuilder.java index b7647af5da5..7a737091715 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosUpdateConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseIosUpdateConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Configuration Request Builder. */ -public interface IIosUpdateConfigurationRequestBuilder extends IBaseIosUpdateConfigurationRequestBuilder { +public interface IIosUpdateConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosUpdateConfigurationRequest instance + */ + IIosUpdateConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosUpdateConfigurationRequest instance + */ + IIosUpdateConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionPage.java index aaba127296f..3afee89c19e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseIosUpdateDeviceStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Device Status Collection Page. */ -public interface IIosUpdateDeviceStatusCollectionPage extends IBaseIosUpdateDeviceStatusCollectionPage { - +public interface IIosUpdateDeviceStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequest.java index 0bee407081b..d2e53fdc862 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseIosUpdateDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Device Status Collection Request. */ -public interface IIosUpdateDeviceStatusCollectionRequest extends IBaseIosUpdateDeviceStatusCollectionRequest { +public interface IIosUpdateDeviceStatusCollectionRequest { + + void get(final ICallback callback); + + IIosUpdateDeviceStatusCollectionPage get() throws ClientException; + + void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback); + + IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosUpdateDeviceStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosUpdateDeviceStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IIosUpdateDeviceStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequestBuilder.java index 118d3337a01..7a6a81c6224 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseIosUpdateDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Device Status Collection Request Builder. */ -public interface IIosUpdateDeviceStatusCollectionRequestBuilder extends IBaseIosUpdateDeviceStatusCollectionRequestBuilder { +public interface IIosUpdateDeviceStatusCollectionRequestBuilder extends IRequestBuilder { + + IIosUpdateDeviceStatusCollectionRequest buildRequest(); + + IIosUpdateDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IIosUpdateDeviceStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequest.java index fdc69df7116..8c014a2939a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; -import com.microsoft.graph.requests.generated.IBaseIosUpdateDeviceStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Device Status Request. */ -public interface IIosUpdateDeviceStatusRequest extends IBaseIosUpdateDeviceStatusRequest { +public interface IIosUpdateDeviceStatusRequest extends IHttpRequest { + + /** + * Gets the IosUpdateDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosUpdateDeviceStatus from the service + * + * @return the IosUpdateDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateDeviceStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosUpdateDeviceStatus with a source + * + * @param sourceIosUpdateDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus, final ICallback callback); + + /** + * Patches this IosUpdateDeviceStatus with a source + * + * @param sourceIosUpdateDeviceStatus the source object with updates + * @return the updated IosUpdateDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateDeviceStatus patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus) throws ClientException; + + /** + * Posts a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback); + + /** + * Posts a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the new object to create + * @return the created IosUpdateDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosUpdateDeviceStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosUpdateDeviceStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequestBuilder.java index 3c3db72667b..cfb108c61c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequest; -import com.microsoft.graph.requests.generated.IBaseIosUpdateDeviceStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Update Device Status Request Builder. */ -public interface IIosUpdateDeviceStatusRequestBuilder extends IBaseIosUpdateDeviceStatusRequestBuilder { +public interface IIosUpdateDeviceStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosUpdateDeviceStatusRequest instance + */ + IIosUpdateDeviceStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosUpdateDeviceStatusRequest instance + */ + IIosUpdateDeviceStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequest.java index 653dad33476..8b5f844f844 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosVppApp; -import com.microsoft.graph.requests.generated.IBaseIosVppAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Vpp App Request. */ -public interface IIosVppAppRequest extends IBaseIosVppAppRequest { +public interface IIosVppAppRequest extends IHttpRequest { + + /** + * Gets the IosVppApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosVppApp from the service + * + * @return the IosVppApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosVppApp with a source + * + * @param sourceIosVppApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosVppApp sourceIosVppApp, final ICallback callback); + + /** + * Patches this IosVppApp with a source + * + * @param sourceIosVppApp the source object with updates + * @return the updated IosVppApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppApp patch(final IosVppApp sourceIosVppApp) throws ClientException; + + /** + * Posts a IosVppApp with a new object + * + * @param newIosVppApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosVppApp newIosVppApp, final ICallback callback); + + /** + * Posts a IosVppApp with a new object + * + * @param newIosVppApp the new object to create + * @return the created IosVppApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppApp post(final IosVppApp newIosVppApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosVppAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosVppAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequestBuilder.java index c8624b1bdf9..49deae251e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppAppRequest; -import com.microsoft.graph.requests.generated.IBaseIosVppAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Vpp App Request Builder. */ -public interface IIosVppAppRequestBuilder extends IBaseIosVppAppRequestBuilder { +public interface IIosVppAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosVppAppRequest instance + */ + IIosVppAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosVppAppRequest instance + */ + IIosVppAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequest.java index 7a8dda2bcad..32dca777130 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosVppEBookAssignment; -import com.microsoft.graph.requests.generated.IBaseIosVppEBookAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Vpp EBook Assignment Request. */ -public interface IIosVppEBookAssignmentRequest extends IBaseIosVppEBookAssignmentRequest { +public interface IIosVppEBookAssignmentRequest extends IHttpRequest { + + /** + * Gets the IosVppEBookAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosVppEBookAssignment from the service + * + * @return the IosVppEBookAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBookAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosVppEBookAssignment with a source + * + * @param sourceIosVppEBookAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosVppEBookAssignment sourceIosVppEBookAssignment, final ICallback callback); + + /** + * Patches this IosVppEBookAssignment with a source + * + * @param sourceIosVppEBookAssignment the source object with updates + * @return the updated IosVppEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBookAssignment patch(final IosVppEBookAssignment sourceIosVppEBookAssignment) throws ClientException; + + /** + * Posts a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosVppEBookAssignment newIosVppEBookAssignment, final ICallback callback); + + /** + * Posts a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the new object to create + * @return the created IosVppEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBookAssignment post(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosVppEBookAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosVppEBookAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequestBuilder.java index c3030b8fb07..f0b5f74f894 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppEBookAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseIosVppEBookAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Vpp EBook Assignment Request Builder. */ -public interface IIosVppEBookAssignmentRequestBuilder extends IBaseIosVppEBookAssignmentRequestBuilder { +public interface IIosVppEBookAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosVppEBookAssignmentRequest instance + */ + IIosVppEBookAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosVppEBookAssignmentRequest instance + */ + IIosVppEBookAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequest.java index a04500757b8..35e89d29db4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosVppEBook; -import com.microsoft.graph.requests.generated.IBaseIosVppEBookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Vpp EBook Request. */ -public interface IIosVppEBookRequest extends IBaseIosVppEBookRequest { +public interface IIosVppEBookRequest extends IHttpRequest { + + /** + * Gets the IosVppEBook from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the IosVppEBook from the service + * + * @return the IosVppEBook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBook get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this IosVppEBook with a source + * + * @param sourceIosVppEBook the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final IosVppEBook sourceIosVppEBook, final ICallback callback); + + /** + * Patches this IosVppEBook with a source + * + * @param sourceIosVppEBook the source object with updates + * @return the updated IosVppEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBook patch(final IosVppEBook sourceIosVppEBook) throws ClientException; + + /** + * Posts a IosVppEBook with a new object + * + * @param newIosVppEBook the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final IosVppEBook newIosVppEBook, final ICallback callback); + + /** + * Posts a IosVppEBook with a new object + * + * @param newIosVppEBook the new object to create + * @return the created IosVppEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBook post(final IosVppEBook newIosVppEBook) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IIosVppEBookRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IIosVppEBookRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequestBuilder.java index d4996061802..07ba8d0a9c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppEBookRequest; -import com.microsoft.graph.requests.generated.IBaseIosVppEBookRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Ios Vpp EBook Request Builder. */ -public interface IIosVppEBookRequestBuilder extends IBaseIosVppEBookRequestBuilder { +public interface IIosVppEBookRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IIosVppEBookRequest instance + */ + IIosVppEBookRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IIosVppEBookRequest instance + */ + IIosVppEBookRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequest.java index 3b08f37f105..e5a3e3abded 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ItemAttachment; -import com.microsoft.graph.requests.generated.IBaseItemAttachmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Item Attachment Request. */ -public interface IItemAttachmentRequest extends IBaseItemAttachmentRequest { +public interface IItemAttachmentRequest extends IHttpRequest { + + /** + * Gets the ItemAttachment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ItemAttachment from the service + * + * @return the ItemAttachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemAttachment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ItemAttachment with a source + * + * @param sourceItemAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ItemAttachment sourceItemAttachment, final ICallback callback); + + /** + * Patches this ItemAttachment with a source + * + * @param sourceItemAttachment the source object with updates + * @return the updated ItemAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemAttachment patch(final ItemAttachment sourceItemAttachment) throws ClientException; + + /** + * Posts a ItemAttachment with a new object + * + * @param newItemAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ItemAttachment newItemAttachment, final ICallback callback); + + /** + * Posts a ItemAttachment with a new object + * + * @param newItemAttachment the new object to create + * @return the created ItemAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemAttachment post(final ItemAttachment newItemAttachment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IItemAttachmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IItemAttachmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequestBuilder.java index 7d8f5586a2e..7b747c59189 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IItemAttachmentRequest; +import com.microsoft.graph.requests.extensions.IOutlookItemRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseItemAttachmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Item Attachment Request Builder. */ -public interface IItemAttachmentRequestBuilder extends IBaseItemAttachmentRequestBuilder { +public interface IItemAttachmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IItemAttachmentRequest instance + */ + IItemAttachmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IItemAttachmentRequest instance + */ + IItemAttachmentRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for OutlookItem + * + * @return the IOutlookItemRequestBuilder instance + */ + IOutlookItemRequestBuilder item(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionPage.java index 074be64406a..70004a57d99 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseLicenseDetailsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the License Details Collection Page. */ -public interface ILicenseDetailsCollectionPage extends IBaseLicenseDetailsCollectionPage { - +public interface ILicenseDetailsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequest.java index dc2cdae47a4..82c25169b5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseLicenseDetailsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the License Details Collection Request. */ -public interface ILicenseDetailsCollectionRequest extends IBaseLicenseDetailsCollectionRequest { +public interface ILicenseDetailsCollectionRequest { + + void get(final ICallback callback); + + ILicenseDetailsCollectionPage get() throws ClientException; + + void post(final LicenseDetails newLicenseDetails, final ICallback callback); + + LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ILicenseDetailsCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ILicenseDetailsCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ILicenseDetailsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequestBuilder.java index ee0b02727d8..530a4145f38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseLicenseDetailsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the License Details Collection Request Builder. */ -public interface ILicenseDetailsCollectionRequestBuilder extends IBaseLicenseDetailsCollectionRequestBuilder { +public interface ILicenseDetailsCollectionRequestBuilder extends IRequestBuilder { + + ILicenseDetailsCollectionRequest buildRequest(); + + ILicenseDetailsCollectionRequest buildRequest(final java.util.List requestOptions); + + ILicenseDetailsRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequest.java index 12944802563..038cd7e42fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.LicenseDetails; -import com.microsoft.graph.requests.generated.IBaseLicenseDetailsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the License Details Request. */ -public interface ILicenseDetailsRequest extends IBaseLicenseDetailsRequest { +public interface ILicenseDetailsRequest extends IHttpRequest { + + /** + * Gets the LicenseDetails from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the LicenseDetails from the service + * + * @return the LicenseDetails from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LicenseDetails get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this LicenseDetails with a source + * + * @param sourceLicenseDetails the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final LicenseDetails sourceLicenseDetails, final ICallback callback); + + /** + * Patches this LicenseDetails with a source + * + * @param sourceLicenseDetails the source object with updates + * @return the updated LicenseDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LicenseDetails patch(final LicenseDetails sourceLicenseDetails) throws ClientException; + + /** + * Posts a LicenseDetails with a new object + * + * @param newLicenseDetails the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final LicenseDetails newLicenseDetails, final ICallback callback); + + /** + * Posts a LicenseDetails with a new object + * + * @param newLicenseDetails the new object to create + * @return the created LicenseDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ILicenseDetailsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ILicenseDetailsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequestBuilder.java index d1d0c7b7551..13fde68b960 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ILicenseDetailsRequest; -import com.microsoft.graph.requests.generated.IBaseLicenseDetailsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the License Details Request Builder. */ -public interface ILicenseDetailsRequestBuilder extends IBaseLicenseDetailsRequestBuilder { +public interface ILicenseDetailsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ILicenseDetailsRequest instance + */ + ILicenseDetailsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ILicenseDetailsRequest instance + */ + ILicenseDetailsRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionPage.java index 32d6f0ba150..3802475f38b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Collection Page. */ -public interface IListCollectionPage extends IBaseListCollectionPage { - +public interface IListCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequest.java index 1224087f027..32081073085 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Collection Request. */ -public interface IListCollectionRequest extends IBaseListCollectionRequest { +public interface IListCollectionRequest { + + void get(final ICallback callback); + + IListCollectionPage get() throws ClientException; + + void post(final List newList, final ICallback callback); + + List post(final List newList) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IListCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IListCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IListCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequestBuilder.java index f53d9f50d7b..76b6e7cea1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Collection Request Builder. */ -public interface IListCollectionRequestBuilder extends IBaseListCollectionRequestBuilder { +public interface IListCollectionRequestBuilder extends IRequestBuilder { + + IListCollectionRequest buildRequest(); + + IListCollectionRequest buildRequest(final java.util.List requestOptions); + + IListRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionPage.java index 7fa08652a6a..8403969054a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Collection Page. */ -public interface IListItemCollectionPage extends IBaseListItemCollectionPage { - +public interface IListItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequest.java index d79a5ffb854..9aef11619bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Collection Request. */ -public interface IListItemCollectionRequest extends IBaseListItemCollectionRequest { +public interface IListItemCollectionRequest { + + void get(final ICallback callback); + + IListItemCollectionPage get() throws ClientException; + + void post(final ListItem newListItem, final ICallback callback); + + ListItem post(final ListItem newListItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IListItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IListItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IListItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequestBuilder.java index fab90c423ce..7f07dea6e5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Collection Request Builder. */ -public interface IListItemCollectionRequestBuilder extends IBaseListItemCollectionRequestBuilder { +public interface IListItemCollectionRequestBuilder extends IRequestBuilder { + + IListItemCollectionRequest buildRequest(); + + IListItemCollectionRequest buildRequest(final java.util.List requestOptions); + + IListItemRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequest.java index 2f560d25be8..6a15bcd95b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ListItem; -import com.microsoft.graph.requests.generated.IBaseListItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Request. */ -public interface IListItemRequest extends IBaseListItemRequest { +public interface IListItemRequest extends IHttpRequest { + + /** + * Gets the ListItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ListItem from the service + * + * @return the ListItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ListItem with a source + * + * @param sourceListItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ListItem sourceListItem, final ICallback callback); + + /** + * Patches this ListItem with a source + * + * @param sourceListItem the source object with updates + * @return the updated ListItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItem patch(final ListItem sourceListItem) throws ClientException; + + /** + * Posts a ListItem with a new object + * + * @param newListItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ListItem newListItem, final ICallback callback); + + /** + * Posts a ListItem with a new object + * + * @param newListItem the new object to create + * @return the created ListItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItem post(final ListItem newListItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IListItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IListItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequestBuilder.java index d9c638ec570..44399cedd30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequestBuilder.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemRequest; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemVersionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemVersionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseListItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Request Builder. */ -public interface IListItemRequestBuilder extends IBaseListItemRequestBuilder { +public interface IListItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IListItemRequest instance + */ + IListItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IListItemRequest instance + */ + IListItemRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + IDriveItemRequestBuilder driveItem(); + + /** + * Gets the request builder for FieldValueSet + * + * @return the IFieldValueSetRequestBuilder instance + */ + IFieldValueSetRequestBuilder fields(); + + IListItemVersionCollectionRequestBuilder versions(); + + IListItemVersionRequestBuilder versions(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionPage.java index f46a39b5077..e10f850be74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListItemVersionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Collection Page. */ -public interface IListItemVersionCollectionPage extends IBaseListItemVersionCollectionPage { - +public interface IListItemVersionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequest.java index 195b9dbccc7..4b9d50c1557 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListItemVersionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Collection Request. */ -public interface IListItemVersionCollectionRequest extends IBaseListItemVersionCollectionRequest { +public interface IListItemVersionCollectionRequest { + + void get(final ICallback callback); + + IListItemVersionCollectionPage get() throws ClientException; + + void post(final ListItemVersion newListItemVersion, final ICallback callback); + + ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IListItemVersionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IListItemVersionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IListItemVersionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequestBuilder.java index e5ce4b6d84b..4afb687e674 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseListItemVersionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Collection Request Builder. */ -public interface IListItemVersionCollectionRequestBuilder extends IBaseListItemVersionCollectionRequestBuilder { +public interface IListItemVersionCollectionRequestBuilder extends IRequestBuilder { + + IListItemVersionCollectionRequest buildRequest(); + + IListItemVersionCollectionRequest buildRequest(final java.util.List requestOptions); + + IListItemVersionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequest.java index 3bc92326469..6dcde1d438d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ListItemVersion; -import com.microsoft.graph.requests.generated.IBaseListItemVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Request. */ -public interface IListItemVersionRequest extends IBaseListItemVersionRequest { +public interface IListItemVersionRequest extends IHttpRequest { + + /** + * Gets the ListItemVersion from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ListItemVersion from the service + * + * @return the ListItemVersion from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItemVersion get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ListItemVersion with a source + * + * @param sourceListItemVersion the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ListItemVersion sourceListItemVersion, final ICallback callback); + + /** + * Patches this ListItemVersion with a source + * + * @param sourceListItemVersion the source object with updates + * @return the updated ListItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItemVersion patch(final ListItemVersion sourceListItemVersion) throws ClientException; + + /** + * Posts a ListItemVersion with a new object + * + * @param newListItemVersion the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ListItemVersion newListItemVersion, final ICallback callback); + + /** + * Posts a ListItemVersion with a new object + * + * @param newListItemVersion the new object to create + * @return the created ListItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IListItemVersionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IListItemVersionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequestBuilder.java index 7142d72dc05..815b8b5d79e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequestBuilder.java @@ -3,14 +3,42 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRequest; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseListItemVersionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Request Builder. */ -public interface IListItemVersionRequestBuilder extends IBaseListItemVersionRequestBuilder { +public interface IListItemVersionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IListItemVersionRequest instance + */ + IListItemVersionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IListItemVersionRequest instance + */ + IListItemVersionRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for FieldValueSet + * + * @return the IFieldValueSetRequestBuilder instance + */ + IFieldValueSetRequestBuilder fields(); + IListItemVersionRestoreVersionRequestBuilder restoreVersion(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequest.java index 06f713894c0..f3a88a99315 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.generated.IBaseListItemVersionRestoreVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Restore Version Request. */ -public interface IListItemVersionRestoreVersionRequest extends IBaseListItemVersionRestoreVersionRequest { +public interface IListItemVersionRestoreVersionRequest { + + /** + * Creates the ListItemVersionRestoreVersion + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ListItemVersionRestoreVersion + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequestBuilder.java index bc0fd833b88..c7c3d15b234 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRestoreVersionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.generated.IBaseListItemVersionRestoreVersionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Item Version Restore Version Request Builder. */ -public interface IListItemVersionRestoreVersionRequestBuilder extends IBaseListItemVersionRestoreVersionRequestBuilder { +public interface IListItemVersionRestoreVersionRequestBuilder extends IRequestBuilder { + /** + * Creates the IListItemVersionRestoreVersionRequest + * + * @return the IListItemVersionRestoreVersionRequest instance + */ + IListItemVersionRestoreVersionRequest buildRequest(); + + /** + * Creates the IListItemVersionRestoreVersionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IListItemVersionRestoreVersionRequest instance + */ + IListItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IListRequest.java index ec85c5dd1c8..dba30bfcaa3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.List; -import com.microsoft.graph.requests.generated.IBaseListRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Request. */ -public interface IListRequest extends IBaseListRequest { +public interface IListRequest extends IHttpRequest { + + /** + * Gets the List from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the List from the service + * + * @return the List from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + List get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this List with a source + * + * @param sourceList the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final List sourceList, final ICallback callback); + + /** + * Patches this List with a source + * + * @param sourceList the source object with updates + * @return the updated List + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + List patch(final List sourceList) throws ClientException; + + /** + * Posts a List with a new object + * + * @param newList the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final List newList, final ICallback callback); + + /** + * Posts a List with a new object + * + * @param newList the new object to create + * @return the created List + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + List post(final List newList) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IListRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IListRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IListRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IListRequestBuilder.java index 6e3fceab89b..91bb6f35f47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListRequest; +import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseListRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the List Request Builder. */ -public interface IListRequestBuilder extends IBaseListRequestBuilder { +public interface IListRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IListRequest instance + */ + IListRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IListRequest instance + */ + IListRequest buildRequest(final java.util.List requestOptions); + + + IColumnDefinitionCollectionRequestBuilder columns(); + + IColumnDefinitionRequestBuilder columns(final String id); + + IContentTypeCollectionRequestBuilder contentTypes(); + + IContentTypeRequestBuilder contentTypes(final String id); + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + IDriveRequestBuilder drive(); + + IListItemCollectionRequestBuilder items(); + + IListItemRequestBuilder items(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionPage.java index 8448e22c598..6e2040e709a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseLocalizedNotificationMessageCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Localized Notification Message Collection Page. */ -public interface ILocalizedNotificationMessageCollectionPage extends IBaseLocalizedNotificationMessageCollectionPage { - +public interface ILocalizedNotificationMessageCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequest.java index e51aa2e92e0..8aa4c7df6b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseLocalizedNotificationMessageCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Localized Notification Message Collection Request. */ -public interface ILocalizedNotificationMessageCollectionRequest extends IBaseLocalizedNotificationMessageCollectionRequest { +public interface ILocalizedNotificationMessageCollectionRequest { + + void get(final ICallback callback); + + ILocalizedNotificationMessageCollectionPage get() throws ClientException; + + void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback); + + LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ILocalizedNotificationMessageCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ILocalizedNotificationMessageCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ILocalizedNotificationMessageCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequestBuilder.java index 49bb32187a3..2719506a6e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseLocalizedNotificationMessageCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Localized Notification Message Collection Request Builder. */ -public interface ILocalizedNotificationMessageCollectionRequestBuilder extends IBaseLocalizedNotificationMessageCollectionRequestBuilder { +public interface ILocalizedNotificationMessageCollectionRequestBuilder extends IRequestBuilder { + + ILocalizedNotificationMessageCollectionRequest buildRequest(); + + ILocalizedNotificationMessageCollectionRequest buildRequest(final java.util.List requestOptions); + + ILocalizedNotificationMessageRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequest.java index 16bc7da35eb..284ed8ee23b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; -import com.microsoft.graph.requests.generated.IBaseLocalizedNotificationMessageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Localized Notification Message Request. */ -public interface ILocalizedNotificationMessageRequest extends IBaseLocalizedNotificationMessageRequest { +public interface ILocalizedNotificationMessageRequest extends IHttpRequest { + + /** + * Gets the LocalizedNotificationMessage from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the LocalizedNotificationMessage from the service + * + * @return the LocalizedNotificationMessage from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LocalizedNotificationMessage get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this LocalizedNotificationMessage with a source + * + * @param sourceLocalizedNotificationMessage the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage, final ICallback callback); + + /** + * Patches this LocalizedNotificationMessage with a source + * + * @param sourceLocalizedNotificationMessage the source object with updates + * @return the updated LocalizedNotificationMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LocalizedNotificationMessage patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage) throws ClientException; + + /** + * Posts a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback); + + /** + * Posts a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the new object to create + * @return the created LocalizedNotificationMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ILocalizedNotificationMessageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ILocalizedNotificationMessageRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequestBuilder.java index 24937baab49..c05d5fc581d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequest; -import com.microsoft.graph.requests.generated.IBaseLocalizedNotificationMessageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Localized Notification Message Request Builder. */ -public interface ILocalizedNotificationMessageRequestBuilder extends IBaseLocalizedNotificationMessageRequestBuilder { +public interface ILocalizedNotificationMessageRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ILocalizedNotificationMessageRequest instance + */ + ILocalizedNotificationMessageRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ILocalizedNotificationMessageRequest instance + */ + ILocalizedNotificationMessageRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequest.java index 5f5166940ea..6a5336a819a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MacOSCompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseMacOSCompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSCompliance Policy Request. */ -public interface IMacOSCompliancePolicyRequest extends IBaseMacOSCompliancePolicyRequest { +public interface IMacOSCompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the MacOSCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MacOSCompliancePolicy from the service + * + * @return the MacOSCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MacOSCompliancePolicy with a source + * + * @param sourceMacOSCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy, final ICallback callback); + + /** + * Patches this MacOSCompliancePolicy with a source + * + * @param sourceMacOSCompliancePolicy the source object with updates + * @return the updated MacOSCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCompliancePolicy patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy) throws ClientException; + + /** + * Posts a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MacOSCompliancePolicy newMacOSCompliancePolicy, final ICallback callback); + + /** + * Posts a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the new object to create + * @return the created MacOSCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCompliancePolicy post(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMacOSCompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMacOSCompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequestBuilder.java index 0ca66026427..a28b0564fa5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSCompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseMacOSCompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSCompliance Policy Request Builder. */ -public interface IMacOSCompliancePolicyRequestBuilder extends IBaseMacOSCompliancePolicyRequestBuilder { +public interface IMacOSCompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMacOSCompliancePolicyRequest instance + */ + IMacOSCompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMacOSCompliancePolicyRequest instance + */ + IMacOSCompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequest.java index c3af0a12e22..c200c3b32ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MacOSCustomConfiguration; -import com.microsoft.graph.requests.generated.IBaseMacOSCustomConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSCustom Configuration Request. */ -public interface IMacOSCustomConfigurationRequest extends IBaseMacOSCustomConfigurationRequest { +public interface IMacOSCustomConfigurationRequest extends IHttpRequest { + + /** + * Gets the MacOSCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MacOSCustomConfiguration from the service + * + * @return the MacOSCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCustomConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MacOSCustomConfiguration with a source + * + * @param sourceMacOSCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration, final ICallback callback); + + /** + * Patches this MacOSCustomConfiguration with a source + * + * @param sourceMacOSCustomConfiguration the source object with updates + * @return the updated MacOSCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCustomConfiguration patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration) throws ClientException; + + /** + * Posts a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MacOSCustomConfiguration newMacOSCustomConfiguration, final ICallback callback); + + /** + * Posts a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the new object to create + * @return the created MacOSCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCustomConfiguration post(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMacOSCustomConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMacOSCustomConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequestBuilder.java index f6fc481a3dc..472298eba6c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSCustomConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseMacOSCustomConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSCustom Configuration Request Builder. */ -public interface IMacOSCustomConfigurationRequestBuilder extends IBaseMacOSCustomConfigurationRequestBuilder { +public interface IMacOSCustomConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMacOSCustomConfigurationRequest instance + */ + IMacOSCustomConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMacOSCustomConfigurationRequest instance + */ + IMacOSCustomConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequest.java index 344f4721db7..88f4087bf76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MacOSDeviceFeaturesConfiguration; -import com.microsoft.graph.requests.generated.IBaseMacOSDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSDevice Features Configuration Request. */ -public interface IMacOSDeviceFeaturesConfigurationRequest extends IBaseMacOSDeviceFeaturesConfigurationRequest { +public interface IMacOSDeviceFeaturesConfigurationRequest extends IHttpRequest { + + /** + * Gets the MacOSDeviceFeaturesConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MacOSDeviceFeaturesConfiguration from the service + * + * @return the MacOSDeviceFeaturesConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSDeviceFeaturesConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MacOSDeviceFeaturesConfiguration with a source + * + * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration, final ICallback callback); + + /** + * Patches this MacOSDeviceFeaturesConfiguration with a source + * + * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates + * @return the updated MacOSDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSDeviceFeaturesConfiguration patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration) throws ClientException; + + /** + * Posts a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration, final ICallback callback); + + /** + * Posts a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the new object to create + * @return the created MacOSDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSDeviceFeaturesConfiguration post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMacOSDeviceFeaturesConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMacOSDeviceFeaturesConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequestBuilder.java index cafc60d2b00..b471429098d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseMacOSDeviceFeaturesConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSDevice Features Configuration Request Builder. */ -public interface IMacOSDeviceFeaturesConfigurationRequestBuilder extends IBaseMacOSDeviceFeaturesConfigurationRequestBuilder { +public interface IMacOSDeviceFeaturesConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMacOSDeviceFeaturesConfigurationRequest instance + */ + IMacOSDeviceFeaturesConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMacOSDeviceFeaturesConfigurationRequest instance + */ + IMacOSDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequest.java index a4d7e60dc49..4e74a7662e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MacOSGeneralDeviceConfiguration; -import com.microsoft.graph.requests.generated.IBaseMacOSGeneralDeviceConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSGeneral Device Configuration Request. */ -public interface IMacOSGeneralDeviceConfigurationRequest extends IBaseMacOSGeneralDeviceConfigurationRequest { +public interface IMacOSGeneralDeviceConfigurationRequest extends IHttpRequest { + + /** + * Gets the MacOSGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MacOSGeneralDeviceConfiguration from the service + * + * @return the MacOSGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSGeneralDeviceConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MacOSGeneralDeviceConfiguration with a source + * + * @param sourceMacOSGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration, final ICallback callback); + + /** + * Patches this MacOSGeneralDeviceConfiguration with a source + * + * @param sourceMacOSGeneralDeviceConfiguration the source object with updates + * @return the updated MacOSGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSGeneralDeviceConfiguration patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration) throws ClientException; + + /** + * Posts a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the new object to create + * @return the created MacOSGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSGeneralDeviceConfiguration post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMacOSGeneralDeviceConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMacOSGeneralDeviceConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequestBuilder.java index ea77e1aca8f..4fca50d2b86 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseMacOSGeneralDeviceConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSGeneral Device Configuration Request Builder. */ -public interface IMacOSGeneralDeviceConfigurationRequestBuilder extends IBaseMacOSGeneralDeviceConfigurationRequestBuilder { +public interface IMacOSGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMacOSGeneralDeviceConfigurationRequest instance + */ + IMacOSGeneralDeviceConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMacOSGeneralDeviceConfigurationRequest instance + */ + IMacOSGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequest.java index d3bf828d535..925cefcff0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MacOSOfficeSuiteApp; -import com.microsoft.graph.requests.generated.IBaseMacOSOfficeSuiteAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSOffice Suite App Request. */ -public interface IMacOSOfficeSuiteAppRequest extends IBaseMacOSOfficeSuiteAppRequest { +public interface IMacOSOfficeSuiteAppRequest extends IHttpRequest { + + /** + * Gets the MacOSOfficeSuiteApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MacOSOfficeSuiteApp from the service + * + * @return the MacOSOfficeSuiteApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSOfficeSuiteApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MacOSOfficeSuiteApp with a source + * + * @param sourceMacOSOfficeSuiteApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp, final ICallback callback); + + /** + * Patches this MacOSOfficeSuiteApp with a source + * + * @param sourceMacOSOfficeSuiteApp the source object with updates + * @return the updated MacOSOfficeSuiteApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSOfficeSuiteApp patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp) throws ClientException; + + /** + * Posts a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp, final ICallback callback); + + /** + * Posts a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the new object to create + * @return the created MacOSOfficeSuiteApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSOfficeSuiteApp post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMacOSOfficeSuiteAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMacOSOfficeSuiteAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequestBuilder.java index 5aefcdd4367..f00a4e27abf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSOfficeSuiteAppRequest; -import com.microsoft.graph.requests.generated.IBaseMacOSOfficeSuiteAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mac OSOffice Suite App Request Builder. */ -public interface IMacOSOfficeSuiteAppRequestBuilder extends IBaseMacOSOfficeSuiteAppRequestBuilder { +public interface IMacOSOfficeSuiteAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMacOSOfficeSuiteAppRequest instance + */ + IMacOSOfficeSuiteAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMacOSOfficeSuiteAppRequest instance + */ + IMacOSOfficeSuiteAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionPage.java index c9ece8ee9a0..08fe41f3b01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMailFolderCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Collection Page. */ -public interface IMailFolderCollectionPage extends IBaseMailFolderCollectionPage { - +public interface IMailFolderCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequest.java index 8210148a410..b42e420a1cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMailFolderCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Collection Request. */ -public interface IMailFolderCollectionRequest extends IBaseMailFolderCollectionRequest { +public interface IMailFolderCollectionRequest { + + void get(final ICallback callback); + + IMailFolderCollectionPage get() throws ClientException; + + void post(final MailFolder newMailFolder, final ICallback callback); + + MailFolder post(final MailFolder newMailFolder) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMailFolderCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMailFolderCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMailFolderCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequestBuilder.java index 152462f7b31..5fd9d598f93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMailFolderCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Collection Request Builder. */ -public interface IMailFolderCollectionRequestBuilder extends IBaseMailFolderCollectionRequestBuilder { +public interface IMailFolderCollectionRequestBuilder extends IRequestBuilder { + + IMailFolderCollectionRequest buildRequest(); + + IMailFolderCollectionRequest buildRequest(final java.util.List requestOptions); + + IMailFolderRequestBuilder byId(final String id); + + + IMailFolderDeltaCollectionRequestBuilder delta(); + IMailFolderDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequest.java index 8e6eacf0537..225370aad1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; -import com.microsoft.graph.requests.generated.IBaseMailFolderCopyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Copy Request. */ -public interface IMailFolderCopyRequest extends IBaseMailFolderCopyRequest { +public interface IMailFolderCopyRequest { + + void post(final ICallback callback); + + MailFolder post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMailFolderCopyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMailFolderCopyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMailFolderCopyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequestBuilder.java index f222cfaa925..a3efba4241a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderCopyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; -import com.microsoft.graph.requests.generated.IBaseMailFolderCopyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Copy Request Builder. */ -public interface IMailFolderCopyRequestBuilder extends IBaseMailFolderCopyRequestBuilder { +public interface IMailFolderCopyRequestBuilder extends IRequestBuilder { + /** + * Creates the IMailFolderCopyRequest + * + * @return the IMailFolderCopyRequest instance + */ + IMailFolderCopyRequest buildRequest(); + + /** + * Creates the IMailFolderCopyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMailFolderCopyRequest instance + */ + IMailFolderCopyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionPage.java index d80fad9eebf..2c70fb02e8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMailFolderDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Delta Collection Page. */ -public interface IMailFolderDeltaCollectionPage extends IBaseMailFolderDeltaCollectionPage { - +public interface IMailFolderDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequest.java index e76d0032a9f..313d79ae0fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMailFolderDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Delta Collection Request. */ -public interface IMailFolderDeltaCollectionRequest extends IBaseMailFolderDeltaCollectionRequest { +public interface IMailFolderDeltaCollectionRequest { + + void get(final ICallback callback); + + IMailFolderDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMailFolderDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMailFolderDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMailFolderDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequestBuilder.java index dd9aad5f2e5..9bfc1dadea8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMailFolderDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Delta Collection Request Builder. */ -public interface IMailFolderDeltaCollectionRequestBuilder extends IBaseMailFolderDeltaCollectionRequestBuilder { +public interface IMailFolderDeltaCollectionRequestBuilder extends IRequestBuilder { + + IMailFolderDeltaCollectionRequest buildRequest(); + + IMailFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequest.java index b9ba5762149..56fe66c2663 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; -import com.microsoft.graph.requests.generated.IBaseMailFolderMoveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Move Request. */ -public interface IMailFolderMoveRequest extends IBaseMailFolderMoveRequest { +public interface IMailFolderMoveRequest { + + void post(final ICallback callback); + + MailFolder post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMailFolderMoveRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMailFolderMoveRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMailFolderMoveRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequestBuilder.java index 145cfe207c9..63de54773a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderMoveRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; -import com.microsoft.graph.requests.generated.IBaseMailFolderMoveRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Move Request Builder. */ -public interface IMailFolderMoveRequestBuilder extends IBaseMailFolderMoveRequestBuilder { +public interface IMailFolderMoveRequestBuilder extends IRequestBuilder { + /** + * Creates the IMailFolderMoveRequest + * + * @return the IMailFolderMoveRequest instance + */ + IMailFolderMoveRequest buildRequest(); + + /** + * Creates the IMailFolderMoveRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMailFolderMoveRequest instance + */ + IMailFolderMoveRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequest.java index bd8011c6ce8..afacd5aaba7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.requests.generated.IBaseMailFolderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Request. */ -public interface IMailFolderRequest extends IBaseMailFolderRequest { +public interface IMailFolderRequest extends IHttpRequest { + + /** + * Gets the MailFolder from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MailFolder from the service + * + * @return the MailFolder from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MailFolder get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MailFolder with a source + * + * @param sourceMailFolder the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MailFolder sourceMailFolder, final ICallback callback); + + /** + * Patches this MailFolder with a source + * + * @param sourceMailFolder the source object with updates + * @return the updated MailFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MailFolder patch(final MailFolder sourceMailFolder) throws ClientException; + + /** + * Posts a MailFolder with a new object + * + * @param newMailFolder the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MailFolder newMailFolder, final ICallback callback); + + /** + * Posts a MailFolder with a new object + * + * @param newMailFolder the new object to create + * @return the created MailFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MailFolder post(final MailFolder newMailFolder) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMailFolderRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMailFolderRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequestBuilder.java index dfeaf4ef124..ab7705571e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequestBuilder.java @@ -3,14 +3,66 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderRequest; +import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRuleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRuleRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderMoveRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseMailFolderRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mail Folder Request Builder. */ -public interface IMailFolderRequestBuilder extends IBaseMailFolderRequestBuilder { +public interface IMailFolderRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMailFolderRequest instance + */ + IMailFolderRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMailFolderRequest instance + */ + IMailFolderRequest buildRequest(final java.util.List requestOptions); + + + IMessageCollectionRequestBuilder messages(); + + IMessageRequestBuilder messages(final String id); + + IMessageRuleCollectionRequestBuilder messageRules(); + + IMessageRuleRequestBuilder messageRules(final String id); + + IMailFolderCollectionRequestBuilder childFolders(); + + IMailFolderRequestBuilder childFolders(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); + IMailFolderCopyRequestBuilder copy(final String destinationId); + IMailFolderMoveRequestBuilder move(final String destinationId); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequest.java index d1693783701..fa050247052 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAndroidLobApp; -import com.microsoft.graph.requests.generated.IBaseManagedAndroidLobAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Android Lob App Request. */ -public interface IManagedAndroidLobAppRequest extends IBaseManagedAndroidLobAppRequest { +public interface IManagedAndroidLobAppRequest extends IHttpRequest { + + /** + * Gets the ManagedAndroidLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAndroidLobApp from the service + * + * @return the ManagedAndroidLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidLobApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAndroidLobApp with a source + * + * @param sourceManagedAndroidLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp, final ICallback callback); + + /** + * Patches this ManagedAndroidLobApp with a source + * + * @param sourceManagedAndroidLobApp the source object with updates + * @return the updated ManagedAndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidLobApp patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp) throws ClientException; + + /** + * Posts a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAndroidLobApp newManagedAndroidLobApp, final ICallback callback); + + /** + * Posts a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the new object to create + * @return the created ManagedAndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidLobApp post(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAndroidLobAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAndroidLobAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequestBuilder.java index ed494fe776d..354214968f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAndroidLobAppRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAndroidLobAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Android Lob App Request Builder. */ -public interface IManagedAndroidLobAppRequestBuilder extends IBaseManagedAndroidLobAppRequestBuilder { +public interface IManagedAndroidLobAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAndroidLobAppRequest instance + */ + IManagedAndroidLobAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAndroidLobAppRequest instance + */ + IManagedAndroidLobAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequest.java index 48f75e24aa6..b24aa3b5911 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAndroidStoreApp; -import com.microsoft.graph.requests.generated.IBaseManagedAndroidStoreAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Android Store App Request. */ -public interface IManagedAndroidStoreAppRequest extends IBaseManagedAndroidStoreAppRequest { +public interface IManagedAndroidStoreAppRequest extends IHttpRequest { + + /** + * Gets the ManagedAndroidStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAndroidStoreApp from the service + * + * @return the ManagedAndroidStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidStoreApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAndroidStoreApp with a source + * + * @param sourceManagedAndroidStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp, final ICallback callback); + + /** + * Patches this ManagedAndroidStoreApp with a source + * + * @param sourceManagedAndroidStoreApp the source object with updates + * @return the updated ManagedAndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidStoreApp patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp) throws ClientException; + + /** + * Posts a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAndroidStoreApp newManagedAndroidStoreApp, final ICallback callback); + + /** + * Posts a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the new object to create + * @return the created ManagedAndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidStoreApp post(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAndroidStoreAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAndroidStoreAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequestBuilder.java index 90f6e2487dc..f4b15cd1a9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAndroidStoreAppRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAndroidStoreAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Android Store App Request Builder. */ -public interface IManagedAndroidStoreAppRequestBuilder extends IBaseManagedAndroidStoreAppRequestBuilder { +public interface IManagedAndroidStoreAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAndroidStoreAppRequest instance + */ + IManagedAndroidStoreAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAndroidStoreAppRequest instance + */ + IManagedAndroidStoreAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequest.java index e8ac0e10f92..2836362aa3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppConfiguration; -import com.microsoft.graph.requests.generated.IBaseManagedAppConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Configuration Request. */ -public interface IManagedAppConfigurationRequest extends IBaseManagedAppConfigurationRequest { +public interface IManagedAppConfigurationRequest extends IHttpRequest { + + /** + * Gets the ManagedAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppConfiguration from the service + * + * @return the ManagedAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppConfiguration with a source + * + * @param sourceManagedAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppConfiguration sourceManagedAppConfiguration, final ICallback callback); + + /** + * Patches this ManagedAppConfiguration with a source + * + * @param sourceManagedAppConfiguration the source object with updates + * @return the updated ManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppConfiguration patch(final ManagedAppConfiguration sourceManagedAppConfiguration) throws ClientException; + + /** + * Posts a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppConfiguration newManagedAppConfiguration, final ICallback callback); + + /** + * Posts a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the new object to create + * @return the created ManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppConfiguration post(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequestBuilder.java index 1f164762e1c..7b6bbe273b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Configuration Request Builder. */ -public interface IManagedAppConfigurationRequestBuilder extends IBaseManagedAppConfigurationRequestBuilder { +public interface IManagedAppConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppConfigurationRequest instance + */ + IManagedAppConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppConfigurationRequest instance + */ + IManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionPage.java index 5966a7743df..e73c94223a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppOperationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Operation Collection Page. */ -public interface IManagedAppOperationCollectionPage extends IBaseManagedAppOperationCollectionPage { - +public interface IManagedAppOperationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequest.java index b9c1cf154fe..08aa825148f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Operation Collection Request. */ -public interface IManagedAppOperationCollectionRequest extends IBaseManagedAppOperationCollectionRequest { +public interface IManagedAppOperationCollectionRequest { + + void get(final ICallback callback); + + IManagedAppOperationCollectionPage get() throws ClientException; + + void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback); + + ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppOperationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppOperationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppOperationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequestBuilder.java index 57b6b721ac7..0f2ce544ce5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Operation Collection Request Builder. */ -public interface IManagedAppOperationCollectionRequestBuilder extends IBaseManagedAppOperationCollectionRequestBuilder { +public interface IManagedAppOperationCollectionRequestBuilder extends IRequestBuilder { + + IManagedAppOperationCollectionRequest buildRequest(); + + IManagedAppOperationCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedAppOperationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequest.java index 9e01b67adc9..7c4843fe7fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppOperation; -import com.microsoft.graph.requests.generated.IBaseManagedAppOperationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Operation Request. */ -public interface IManagedAppOperationRequest extends IBaseManagedAppOperationRequest { +public interface IManagedAppOperationRequest extends IHttpRequest { + + /** + * Gets the ManagedAppOperation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppOperation from the service + * + * @return the ManagedAppOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppOperation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppOperation with a source + * + * @param sourceManagedAppOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppOperation sourceManagedAppOperation, final ICallback callback); + + /** + * Patches this ManagedAppOperation with a source + * + * @param sourceManagedAppOperation the source object with updates + * @return the updated ManagedAppOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppOperation patch(final ManagedAppOperation sourceManagedAppOperation) throws ClientException; + + /** + * Posts a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback); + + /** + * Posts a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the new object to create + * @return the created ManagedAppOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppOperationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppOperationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequestBuilder.java index 92abf10fb70..4146aa74d3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppOperationRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppOperationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Operation Request Builder. */ -public interface IManagedAppOperationRequestBuilder extends IBaseManagedAppOperationRequestBuilder { +public interface IManagedAppOperationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppOperationRequest instance + */ + IManagedAppOperationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppOperationRequest instance + */ + IManagedAppOperationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionPage.java index c0595dbf70b..0eb91479f5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Collection Page. */ -public interface IManagedAppPolicyCollectionPage extends IBaseManagedAppPolicyCollectionPage { - +public interface IManagedAppPolicyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequest.java index 64821922b85..8707daeb616 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Collection Request. */ -public interface IManagedAppPolicyCollectionRequest extends IBaseManagedAppPolicyCollectionRequest { +public interface IManagedAppPolicyCollectionRequest { + + void get(final ICallback callback); + + IManagedAppPolicyCollectionPage get() throws ClientException; + + void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback); + + ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppPolicyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppPolicyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppPolicyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequestBuilder.java index cb39094b36e..9341103c67b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Collection Request Builder. */ -public interface IManagedAppPolicyCollectionRequestBuilder extends IBaseManagedAppPolicyCollectionRequestBuilder { +public interface IManagedAppPolicyCollectionRequestBuilder extends IRequestBuilder { + + IManagedAppPolicyCollectionRequest buildRequest(); + + IManagedAppPolicyCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedAppPolicyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequest.java index 5835c115e43..b21f7de060a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyDeploymentSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Deployment Summary Request. */ -public interface IManagedAppPolicyDeploymentSummaryRequest extends IBaseManagedAppPolicyDeploymentSummaryRequest { +public interface IManagedAppPolicyDeploymentSummaryRequest extends IHttpRequest { + + /** + * Gets the ManagedAppPolicyDeploymentSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppPolicyDeploymentSummary from the service + * + * @return the ManagedAppPolicyDeploymentSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicyDeploymentSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppPolicyDeploymentSummary with a source + * + * @param sourceManagedAppPolicyDeploymentSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary, final ICallback callback); + + /** + * Patches this ManagedAppPolicyDeploymentSummary with a source + * + * @param sourceManagedAppPolicyDeploymentSummary the source object with updates + * @return the updated ManagedAppPolicyDeploymentSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicyDeploymentSummary patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary) throws ClientException; + + /** + * Posts a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary, final ICallback callback); + + /** + * Posts a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the new object to create + * @return the created ManagedAppPolicyDeploymentSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicyDeploymentSummary post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppPolicyDeploymentSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppPolicyDeploymentSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequestBuilder.java index 03e32764317..720d8ba90f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Deployment Summary Request Builder. */ -public interface IManagedAppPolicyDeploymentSummaryRequestBuilder extends IBaseManagedAppPolicyDeploymentSummaryRequestBuilder { +public interface IManagedAppPolicyDeploymentSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppPolicyDeploymentSummaryRequest instance + */ + IManagedAppPolicyDeploymentSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppPolicyDeploymentSummaryRequest instance + */ + IManagedAppPolicyDeploymentSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequest.java index ea3f8d7bf3a..85eb361bc6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Request. */ -public interface IManagedAppPolicyRequest extends IBaseManagedAppPolicyRequest { +public interface IManagedAppPolicyRequest extends IHttpRequest { + + /** + * Gets the ManagedAppPolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppPolicy from the service + * + * @return the ManagedAppPolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppPolicy with a source + * + * @param sourceManagedAppPolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppPolicy sourceManagedAppPolicy, final ICallback callback); + + /** + * Patches this ManagedAppPolicy with a source + * + * @param sourceManagedAppPolicy the source object with updates + * @return the updated ManagedAppPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicy patch(final ManagedAppPolicy sourceManagedAppPolicy) throws ClientException; + + /** + * Posts a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback); + + /** + * Posts a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the new object to create + * @return the created ManagedAppPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppPolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppPolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequestBuilder.java index ee11f326ce0..605d22d5447 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Request Builder. */ -public interface IManagedAppPolicyRequestBuilder extends IBaseManagedAppPolicyRequestBuilder { +public interface IManagedAppPolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppPolicyRequest instance + */ + IManagedAppPolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppPolicyRequest instance + */ + IManagedAppPolicyRequest buildRequest(final java.util.List requestOptions); + + IManagedAppPolicyTargetAppsRequestBuilder targetApps(final java.util.List apps); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequest.java index 8e2a2bf15a6..602944593f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyTargetAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Target Apps Request. */ -public interface IManagedAppPolicyTargetAppsRequest extends IBaseManagedAppPolicyTargetAppsRequest { +public interface IManagedAppPolicyTargetAppsRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppPolicyTargetAppsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppPolicyTargetAppsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppPolicyTargetAppsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequestBuilder.java index 2377168fd73..dbdf8c330b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyTargetAppsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppPolicyTargetAppsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Policy Target Apps Request Builder. */ -public interface IManagedAppPolicyTargetAppsRequestBuilder extends IBaseManagedAppPolicyTargetAppsRequestBuilder { +public interface IManagedAppPolicyTargetAppsRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedAppPolicyTargetAppsRequest + * + * @return the IManagedAppPolicyTargetAppsRequest instance + */ + IManagedAppPolicyTargetAppsRequest buildRequest(); + + /** + * Creates the IManagedAppPolicyTargetAppsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedAppPolicyTargetAppsRequest instance + */ + IManagedAppPolicyTargetAppsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequest.java index b5658799a0b..0cd3c753b39 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppProtection; -import com.microsoft.graph.requests.generated.IBaseManagedAppProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Protection Request. */ -public interface IManagedAppProtectionRequest extends IBaseManagedAppProtectionRequest { +public interface IManagedAppProtectionRequest extends IHttpRequest { + + /** + * Gets the ManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppProtection from the service + * + * @return the ManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppProtection with a source + * + * @param sourceManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppProtection sourceManagedAppProtection, final ICallback callback); + + /** + * Patches this ManagedAppProtection with a source + * + * @param sourceManagedAppProtection the source object with updates + * @return the updated ManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppProtection patch(final ManagedAppProtection sourceManagedAppProtection) throws ClientException; + + /** + * Posts a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppProtection newManagedAppProtection, final ICallback callback); + + /** + * Posts a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the new object to create + * @return the created ManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppProtection post(final ManagedAppProtection newManagedAppProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequestBuilder.java index 34edcfc0095..5c932db5dc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedAppProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Protection Request Builder. */ -public interface IManagedAppProtectionRequestBuilder extends IBaseManagedAppProtectionRequestBuilder { +public interface IManagedAppProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppProtectionRequest instance + */ + IManagedAppProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppProtectionRequest instance + */ + IManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); + + IManagedAppProtectionTargetAppsRequestBuilder targetApps(final java.util.List apps); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequest.java index 56ba6d1dab3..cc099966819 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Protection Target Apps Request. */ -public interface IManagedAppProtectionTargetAppsRequest extends IBaseManagedAppProtectionTargetAppsRequest { +public interface IManagedAppProtectionTargetAppsRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppProtectionTargetAppsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppProtectionTargetAppsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppProtectionTargetAppsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequestBuilder.java index 1d8d753cad5..1224a674cc9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionTargetAppsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppProtectionTargetAppsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Protection Target Apps Request Builder. */ -public interface IManagedAppProtectionTargetAppsRequestBuilder extends IBaseManagedAppProtectionTargetAppsRequestBuilder { +public interface IManagedAppProtectionTargetAppsRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedAppProtectionTargetAppsRequest + * + * @return the IManagedAppProtectionTargetAppsRequest instance + */ + IManagedAppProtectionTargetAppsRequest buildRequest(); + + /** + * Creates the IManagedAppProtectionTargetAppsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedAppProtectionTargetAppsRequest instance + */ + IManagedAppProtectionTargetAppsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionPage.java index fd63f6d214b..21b3a656354 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection Page. */ -public interface IManagedAppRegistrationCollectionPage extends IBaseManagedAppRegistrationCollectionPage { - +public interface IManagedAppRegistrationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequest.java index 81fed431663..349dc8eba2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection Reference Request. */ -public interface IManagedAppRegistrationCollectionReferenceRequest extends IBaseManagedAppRegistrationCollectionReferenceRequest { +public interface IManagedAppRegistrationCollectionReferenceRequest { + + void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); + + ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; + + IManagedAppRegistrationCollectionReferenceRequest select(final String value); + + IManagedAppRegistrationCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequestBuilder.java index a1f77d491ef..05ec34637e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection Reference Request Builder. */ -public interface IManagedAppRegistrationCollectionReferenceRequestBuilder extends IBaseManagedAppRegistrationCollectionReferenceRequestBuilder { +public interface IManagedAppRegistrationCollectionReferenceRequestBuilder extends IRequestBuilder { + + IManagedAppRegistrationCollectionReferenceRequest buildRequest(); + IManagedAppRegistrationCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequest.java index c8e818e7e9d..a723579d2eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection Request. */ -public interface IManagedAppRegistrationCollectionRequest extends IBaseManagedAppRegistrationCollectionRequest { +public interface IManagedAppRegistrationCollectionRequest { + + void get(final ICallback callback); + + IManagedAppRegistrationCollectionPage get() throws ClientException; + + void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); + + ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppRegistrationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppRegistrationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppRegistrationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequestBuilder.java index f10bb79927e..598b1490e3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection Request Builder. */ -public interface IManagedAppRegistrationCollectionRequestBuilder extends IBaseManagedAppRegistrationCollectionRequestBuilder { +public interface IManagedAppRegistrationCollectionRequestBuilder extends IRequestBuilder { + + IManagedAppRegistrationCollectionRequest buildRequest(); + + IManagedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedAppRegistrationRequestBuilder byId(final String id); + + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder getUserIdsWithFlaggedAppRegistration(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesPage.java index 6aa34d99aa9..e4f51df8df9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection With References Page. */ -public interface IManagedAppRegistrationCollectionWithReferencesPage extends IBaseManagedAppRegistrationCollectionWithReferencesPage { - +public interface IManagedAppRegistrationCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequest.java index a22a886b1ef..ad0bbe1152e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection With References Request. */ -public interface IManagedAppRegistrationCollectionWithReferencesRequest extends IBaseManagedAppRegistrationCollectionWithReferencesRequest { +public interface IManagedAppRegistrationCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IManagedAppRegistrationCollectionWithReferencesPage get() throws ClientException; + + IManagedAppRegistrationCollectionWithReferencesRequest expand(final String value); + + IManagedAppRegistrationCollectionWithReferencesRequest select(final String value); + + IManagedAppRegistrationCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequestBuilder.java index 2b8188b9697..06f68a4a9f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Collection With References Request Builder. */ -public interface IManagedAppRegistrationCollectionWithReferencesRequestBuilder extends IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder { +public interface IManagedAppRegistrationCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IManagedAppRegistrationCollectionWithReferencesRequest buildRequest(); + + IManagedAppRegistrationCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IManagedAppRegistrationWithReferenceRequestBuilder byId(final String id); + IManagedAppRegistrationCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java index 355be26c509..6dd2663d721 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Get User Ids With Flagged App Registration Collection Page. */ -public interface IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage extends IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage { - +public interface IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java index 74850859053..f21a6c21ecb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Get User Ids With Flagged App Registration Collection Request. */ -public interface IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest extends IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest { +public interface IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest { + + void get(final ICallback callback); + + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java index d8f092ca7a2..1985e70a243 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Get User Ids With Flagged App Registration Collection Request Builder. */ -public interface IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder extends IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder { +public interface IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder extends IRequestBuilder { + + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest(); + + IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequest.java index be8d774a552..cca8b573750 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Reference Request. */ -public interface IManagedAppRegistrationReferenceRequest extends IBaseManagedAppRegistrationReferenceRequest { +public interface IManagedAppRegistrationReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + ManagedAppRegistration delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppRegistrationReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppRegistrationReferenceRequest expand(final String value); + + /** + * Puts the ManagedAppRegistration + * + * @param srcManagedAppRegistration the ManagedAppRegistration to PUT + * @param callback the callback to be called after success or failure + */ + void put(ManagedAppRegistration srcManagedAppRegistration, final ICallback callback); + /** + * Puts the ManagedAppRegistration + * + * @param srcManagedAppRegistration the ManagedAppRegistration to PUT + * @return the ManagedAppRegistration + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + ManagedAppRegistration put(ManagedAppRegistration srcManagedAppRegistration) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequestBuilder.java index a5ada8ef92f..53a4c081229 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Reference Request Builder. */ -public interface IManagedAppRegistrationReferenceRequestBuilder extends IBaseManagedAppRegistrationReferenceRequestBuilder { +public interface IManagedAppRegistrationReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IManagedAppRegistrationReferenceRequest instance + */ + IManagedAppRegistrationReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppRegistrationReferenceRequest instance + */ + IManagedAppRegistrationReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequest.java index 1d4e5887db7..97f0d2fccfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Request. */ -public interface IManagedAppRegistrationRequest extends IBaseManagedAppRegistrationRequest { +public interface IManagedAppRegistrationRequest extends IHttpRequest { + + /** + * Gets the ManagedAppRegistration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppRegistration from the service + * + * @return the ManagedAppRegistration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppRegistration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppRegistration with a source + * + * @param sourceManagedAppRegistration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback); + + /** + * Patches this ManagedAppRegistration with a source + * + * @param sourceManagedAppRegistration the source object with updates + * @return the updated ManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException; + + /** + * Posts a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); + + /** + * Posts a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the new object to create + * @return the created ManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppRegistrationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppRegistrationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequestBuilder.java index a637dd368a1..5d6137681dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequestBuilder.java @@ -3,14 +3,50 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppOperationRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration Request Builder. */ -public interface IManagedAppRegistrationRequestBuilder extends IBaseManagedAppRegistrationRequestBuilder { +public interface IManagedAppRegistrationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppRegistrationRequest instance + */ + IManagedAppRegistrationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppRegistrationRequest instance + */ + IManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions); + + + IManagedAppPolicyCollectionRequestBuilder appliedPolicies(); + + IManagedAppPolicyRequestBuilder appliedPolicies(final String id); + + IManagedAppPolicyCollectionRequestBuilder intendedPolicies(); + + IManagedAppPolicyRequestBuilder intendedPolicies(final String id); + + IManagedAppOperationCollectionRequestBuilder operations(); + + IManagedAppOperationRequestBuilder operations(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequest.java index 51555c3c9a1..94095a0e9dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration With Reference Request. */ -public interface IManagedAppRegistrationWithReferenceRequest extends IBaseManagedAppRegistrationWithReferenceRequest { +public interface IManagedAppRegistrationWithReferenceRequest extends IHttpRequest { + + void post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload, final ICallback callback); + + ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + ManagedAppRegistration get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback); + + ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException; + + IManagedAppRegistrationWithReferenceRequest select(final String value); + + IManagedAppRegistrationWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequestBuilder.java index 74cef5aa83e..769559b9a09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppRegistrationWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Registration With Reference Request Builder. */ -public interface IManagedAppRegistrationWithReferenceRequestBuilder extends IBaseManagedAppRegistrationWithReferenceRequestBuilder { +public interface IManagedAppRegistrationWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IManagedAppRegistrationWithReferenceRequest instance + */ + IManagedAppRegistrationWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppRegistrationWithReferenceRequest instance + */ + IManagedAppRegistrationWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IManagedAppRegistrationReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequest.java index 8cfa7f29ca7..86d1cb92781 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedApp; -import com.microsoft.graph.requests.generated.IBaseManagedAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Request. */ -public interface IManagedAppRequest extends IBaseManagedAppRequest { +public interface IManagedAppRequest extends IHttpRequest { + + /** + * Gets the ManagedApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedApp from the service + * + * @return the ManagedApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedApp with a source + * + * @param sourceManagedApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedApp sourceManagedApp, final ICallback callback); + + /** + * Patches this ManagedApp with a source + * + * @param sourceManagedApp the source object with updates + * @return the updated ManagedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedApp patch(final ManagedApp sourceManagedApp) throws ClientException; + + /** + * Posts a ManagedApp with a new object + * + * @param newManagedApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedApp newManagedApp, final ICallback callback); + + /** + * Posts a ManagedApp with a new object + * + * @param newManagedApp the new object to create + * @return the created ManagedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedApp post(final ManagedApp newManagedApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequestBuilder.java index d45427d2cfd..68ae896b47f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Request Builder. */ -public interface IManagedAppRequestBuilder extends IBaseManagedAppRequestBuilder { +public interface IManagedAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppRequest instance + */ + IManagedAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppRequest instance + */ + IManagedAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionPage.java index 8fe27deb8b2..b7a62fa1be3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Collection Page. */ -public interface IManagedAppStatusCollectionPage extends IBaseManagedAppStatusCollectionPage { - +public interface IManagedAppStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequest.java index 5589ed602aa..79567242686 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Collection Request. */ -public interface IManagedAppStatusCollectionRequest extends IBaseManagedAppStatusCollectionRequest { +public interface IManagedAppStatusCollectionRequest { + + void get(final ICallback callback); + + IManagedAppStatusCollectionPage get() throws ClientException; + + void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback); + + ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedAppStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequestBuilder.java index 271670e320e..468b2daf49c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Collection Request Builder. */ -public interface IManagedAppStatusCollectionRequestBuilder extends IBaseManagedAppStatusCollectionRequestBuilder { +public interface IManagedAppStatusCollectionRequestBuilder extends IRequestBuilder { + + IManagedAppStatusCollectionRequest buildRequest(); + + IManagedAppStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedAppStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequest.java index 74b9d2f46ff..d6ba1291f4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppStatusRaw; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusRawRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Raw Request. */ -public interface IManagedAppStatusRawRequest extends IBaseManagedAppStatusRawRequest { +public interface IManagedAppStatusRawRequest extends IHttpRequest { + + /** + * Gets the ManagedAppStatusRaw from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppStatusRaw from the service + * + * @return the ManagedAppStatusRaw from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatusRaw get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppStatusRaw with a source + * + * @param sourceManagedAppStatusRaw the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw, final ICallback callback); + + /** + * Patches this ManagedAppStatusRaw with a source + * + * @param sourceManagedAppStatusRaw the source object with updates + * @return the updated ManagedAppStatusRaw + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatusRaw patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw) throws ClientException; + + /** + * Posts a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppStatusRaw newManagedAppStatusRaw, final ICallback callback); + + /** + * Posts a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the new object to create + * @return the created ManagedAppStatusRaw + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatusRaw post(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppStatusRawRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppStatusRawRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequestBuilder.java index 7f896b613ef..f805a0b272b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRawRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusRawRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Raw Request Builder. */ -public interface IManagedAppStatusRawRequestBuilder extends IBaseManagedAppStatusRawRequestBuilder { +public interface IManagedAppStatusRawRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppStatusRawRequest instance + */ + IManagedAppStatusRawRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppStatusRawRequest instance + */ + IManagedAppStatusRawRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequest.java index 46e13d628b0..21814b23a13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppStatus; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Request. */ -public interface IManagedAppStatusRequest extends IBaseManagedAppStatusRequest { +public interface IManagedAppStatusRequest extends IHttpRequest { + + /** + * Gets the ManagedAppStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedAppStatus from the service + * + * @return the ManagedAppStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedAppStatus with a source + * + * @param sourceManagedAppStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedAppStatus sourceManagedAppStatus, final ICallback callback); + + /** + * Patches this ManagedAppStatus with a source + * + * @param sourceManagedAppStatus the source object with updates + * @return the updated ManagedAppStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatus patch(final ManagedAppStatus sourceManagedAppStatus) throws ClientException; + + /** + * Posts a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback); + + /** + * Posts a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the new object to create + * @return the created ManagedAppStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedAppStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedAppStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequestBuilder.java index 9340d6343bc..f925751d539 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRequest; -import com.microsoft.graph.requests.generated.IBaseManagedAppStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed App Status Request Builder. */ -public interface IManagedAppStatusRequestBuilder extends IBaseManagedAppStatusRequestBuilder { +public interface IManagedAppStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedAppStatusRequest instance + */ + IManagedAppStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppStatusRequest instance + */ + IManagedAppStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequest.java index 7aaadf7dc53..1d4dd974a66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceBypassActivationLockRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Bypass Activation Lock Request. */ -public interface IManagedDeviceBypassActivationLockRequest extends IBaseManagedDeviceBypassActivationLockRequest { +public interface IManagedDeviceBypassActivationLockRequest { + + /** + * Creates the ManagedDeviceBypassActivationLock + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceBypassActivationLock + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequestBuilder.java index 0fd17e88377..60c8c6bd505 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceBypassActivationLockRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceBypassActivationLockRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Bypass Activation Lock Request Builder. */ -public interface IManagedDeviceBypassActivationLockRequestBuilder extends IBaseManagedDeviceBypassActivationLockRequestBuilder { +public interface IManagedDeviceBypassActivationLockRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceBypassActivationLockRequest + * + * @return the IManagedDeviceBypassActivationLockRequest instance + */ + IManagedDeviceBypassActivationLockRequest buildRequest(); + + /** + * Creates the IManagedDeviceBypassActivationLockRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceBypassActivationLockRequest instance + */ + IManagedDeviceBypassActivationLockRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequest.java index 83d3253f89e..cea7c7c4d12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCleanWindowsDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Clean Windows Device Request. */ -public interface IManagedDeviceCleanWindowsDeviceRequest extends IBaseManagedDeviceCleanWindowsDeviceRequest { +public interface IManagedDeviceCleanWindowsDeviceRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceCleanWindowsDeviceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceCleanWindowsDeviceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceCleanWindowsDeviceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequestBuilder.java index 6b9e7a12bd0..95f74bc7fc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCleanWindowsDeviceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCleanWindowsDeviceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Clean Windows Device Request Builder. */ -public interface IManagedDeviceCleanWindowsDeviceRequestBuilder extends IBaseManagedDeviceCleanWindowsDeviceRequestBuilder { +public interface IManagedDeviceCleanWindowsDeviceRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceCleanWindowsDeviceRequest + * + * @return the IManagedDeviceCleanWindowsDeviceRequest instance + */ + IManagedDeviceCleanWindowsDeviceRequest buildRequest(); + + /** + * Creates the IManagedDeviceCleanWindowsDeviceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceCleanWindowsDeviceRequest instance + */ + IManagedDeviceCleanWindowsDeviceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionPage.java index 7879ce50b4a..b62d9243764 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection Page. */ -public interface IManagedDeviceCollectionPage extends IBaseManagedDeviceCollectionPage { - +public interface IManagedDeviceCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequest.java index 6eff79e7891..b8071ee311b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection Reference Request. */ -public interface IManagedDeviceCollectionReferenceRequest extends IBaseManagedDeviceCollectionReferenceRequest { +public interface IManagedDeviceCollectionReferenceRequest { + + void post(final ManagedDevice newManagedDevice, final ICallback callback); + + ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; + + IManagedDeviceCollectionReferenceRequest select(final String value); + + IManagedDeviceCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequestBuilder.java index b0b62e97699..8fe0f297397 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection Reference Request Builder. */ -public interface IManagedDeviceCollectionReferenceRequestBuilder extends IBaseManagedDeviceCollectionReferenceRequestBuilder { +public interface IManagedDeviceCollectionReferenceRequestBuilder extends IRequestBuilder { + + IManagedDeviceCollectionReferenceRequest buildRequest(); + IManagedDeviceCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequest.java index 15bad17ba38..9ec28b09102 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection Request. */ -public interface IManagedDeviceCollectionRequest extends IBaseManagedDeviceCollectionRequest { +public interface IManagedDeviceCollectionRequest { + + void get(final ICallback callback); + + IManagedDeviceCollectionPage get() throws ClientException; + + void post(final ManagedDevice newManagedDevice, final ICallback callback); + + ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequestBuilder.java index 5b8b929d72d..120676cdb68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection Request Builder. */ -public interface IManagedDeviceCollectionRequestBuilder extends IBaseManagedDeviceCollectionRequestBuilder { +public interface IManagedDeviceCollectionRequestBuilder extends IRequestBuilder { + + IManagedDeviceCollectionRequest buildRequest(); + + IManagedDeviceCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesPage.java index eed04977acf..48e8ceb7262 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection With References Page. */ -public interface IManagedDeviceCollectionWithReferencesPage extends IBaseManagedDeviceCollectionWithReferencesPage { - +public interface IManagedDeviceCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequest.java index d9913a15073..d2cf5989b93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection With References Request. */ -public interface IManagedDeviceCollectionWithReferencesRequest extends IBaseManagedDeviceCollectionWithReferencesRequest { +public interface IManagedDeviceCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IManagedDeviceCollectionWithReferencesPage get() throws ClientException; + + IManagedDeviceCollectionWithReferencesRequest expand(final String value); + + IManagedDeviceCollectionWithReferencesRequest select(final String value); + + IManagedDeviceCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequestBuilder.java index 758c0815564..1235c28d05e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Collection With References Request Builder. */ -public interface IManagedDeviceCollectionWithReferencesRequestBuilder extends IBaseManagedDeviceCollectionWithReferencesRequestBuilder { +public interface IManagedDeviceCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IManagedDeviceCollectionWithReferencesRequest buildRequest(); + + IManagedDeviceCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceWithReferenceRequestBuilder byId(final String id); + IManagedDeviceCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java index 77cb8e7ad8a..2a48da20883 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Delete User From Shared Apple Device Request. */ -public interface IManagedDeviceDeleteUserFromSharedAppleDeviceRequest extends IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest { +public interface IManagedDeviceDeleteUserFromSharedAppleDeviceRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceDeleteUserFromSharedAppleDeviceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceDeleteUserFromSharedAppleDeviceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceDeleteUserFromSharedAppleDeviceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java index 8a2ccec25f5..b02aff152a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Delete User From Shared Apple Device Request Builder. */ -public interface IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder { +public interface IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest + * + * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance + */ + IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest(); + + /** + * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance + */ + IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequest.java index 6bfa12f53c1..052c75b98f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceDisableLostModeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Disable Lost Mode Request. */ -public interface IManagedDeviceDisableLostModeRequest extends IBaseManagedDeviceDisableLostModeRequest { +public interface IManagedDeviceDisableLostModeRequest { + + /** + * Creates the ManagedDeviceDisableLostMode + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceDisableLostMode + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequestBuilder.java index a0a10375c3d..b7e29f64a39 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceDisableLostModeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceDisableLostModeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Disable Lost Mode Request Builder. */ -public interface IManagedDeviceDisableLostModeRequestBuilder extends IBaseManagedDeviceDisableLostModeRequestBuilder { +public interface IManagedDeviceDisableLostModeRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceDisableLostModeRequest + * + * @return the IManagedDeviceDisableLostModeRequest instance + */ + IManagedDeviceDisableLostModeRequest buildRequest(); + + /** + * Creates the IManagedDeviceDisableLostModeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceDisableLostModeRequest instance + */ + IManagedDeviceDisableLostModeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequest.java index e8204eb291d..2057d57fa29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceLocateDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Locate Device Request. */ -public interface IManagedDeviceLocateDeviceRequest extends IBaseManagedDeviceLocateDeviceRequest { +public interface IManagedDeviceLocateDeviceRequest { + + /** + * Creates the ManagedDeviceLocateDevice + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceLocateDevice + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequestBuilder.java index 411243ba168..0ac363b30c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLocateDeviceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceLocateDeviceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Locate Device Request Builder. */ -public interface IManagedDeviceLocateDeviceRequestBuilder extends IBaseManagedDeviceLocateDeviceRequestBuilder { +public interface IManagedDeviceLocateDeviceRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceLocateDeviceRequest + * + * @return the IManagedDeviceLocateDeviceRequest instance + */ + IManagedDeviceLocateDeviceRequest buildRequest(); + + /** + * Creates the IManagedDeviceLocateDeviceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceLocateDeviceRequest instance + */ + IManagedDeviceLocateDeviceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java index fe692a97a54..963f34ce6fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Logout Shared Apple Device Active User Request. */ -public interface IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest extends IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest { +public interface IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest { + + /** + * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java index 4f89566f1e9..d8a62a06edc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Logout Shared Apple Device Active User Request Builder. */ -public interface IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extends IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder { +public interface IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest + * + * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance + */ + IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest(); + + /** + * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance + */ + IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequest.java index 4c575df4efa..619f92d7e48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assign Request. */ -public interface IManagedDeviceMobileAppConfigurationAssignRequest extends IBaseManagedDeviceMobileAppConfigurationAssignRequest { +public interface IManagedDeviceMobileAppConfigurationAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequestBuilder.java index 1fc6e5e636c..cccadfc1738 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assign Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationAssignRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceMobileAppConfigurationAssignRequest + * + * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance + */ + IManagedDeviceMobileAppConfigurationAssignRequest buildRequest(); + + /** + * Creates the IManagedDeviceMobileAppConfigurationAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance + */ + IManagedDeviceMobileAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java index 9957c90b285..3d8849614a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assignment Collection Page. */ -public interface IManagedDeviceMobileAppConfigurationAssignmentCollectionPage extends IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage { - +public interface IManagedDeviceMobileAppConfigurationAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java index ae3287f99cc..8de77f388d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assignment Collection Request. */ -public interface IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest extends IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest { +public interface IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest { + + void get(final ICallback callback); + + IManagedDeviceMobileAppConfigurationAssignmentCollectionPage get() throws ClientException; + + void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); + + ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java index a3f69c4b56c..257cf0084ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assignment Collection Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest(); + + IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequest.java index 2231745e7fe..bd83a0171a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assignment Request. */ -public interface IManagedDeviceMobileAppConfigurationAssignmentRequest extends IBaseManagedDeviceMobileAppConfigurationAssignmentRequest { +public interface IManagedDeviceMobileAppConfigurationAssignmentRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service + * + * @return the ManagedDeviceMobileAppConfigurationAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source + * + * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); + + /** + * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source + * + * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationAssignment patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment) throws ClientException; + + /** + * Posts a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create + * @return the created ManagedDeviceMobileAppConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java index 8854dd906b2..69f556dfa90 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Assignment Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance + */ + IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance + */ + IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionPage.java index a01b3fff36e..9d4349080cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Collection Page. */ -public interface IManagedDeviceMobileAppConfigurationCollectionPage extends IBaseManagedDeviceMobileAppConfigurationCollectionPage { - +public interface IManagedDeviceMobileAppConfigurationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequest.java index 89eb2f6dfd6..ad950e7724d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Collection Request. */ -public interface IManagedDeviceMobileAppConfigurationCollectionRequest extends IBaseManagedDeviceMobileAppConfigurationCollectionRequest { +public interface IManagedDeviceMobileAppConfigurationCollectionRequest { + + void get(final ICallback callback); + + IManagedDeviceMobileAppConfigurationCollectionPage get() throws ClientException; + + void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback); + + ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java index 5e3f5243450..7339cf6269a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Collection Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends IRequestBuilder { + + IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest(); + + IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceMobileAppConfigurationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java index d929c9e23fc..df5cd28e344 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Status Collection Page. */ -public interface IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage extends IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage { - +public interface IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java index d24766e7cfc..2aabf1d3251 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Status Collection Request. */ -public interface IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest extends IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest { +public interface IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest { + + void get(final ICallback callback); + + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage get() throws ClientException; + + void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); + + ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java index bd95c2bfc2f..0c9d4ece33d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Status Collection Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder extends IRequestBuilder { + + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest(); + + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequest.java index 31427e6ef0e..813f91865ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Status Request. */ -public interface IManagedDeviceMobileAppConfigurationDeviceStatusRequest extends IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest { +public interface IManagedDeviceMobileAppConfigurationDeviceStatusRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service + * + * @return the ManagedDeviceMobileAppConfigurationDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceStatus patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; + + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create + * @return the created ManagedDeviceMobileAppConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java index ccf472a8b0e..54c701a00e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Status Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance + */ + IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance + */ + IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java index d0fc0c269fc..f0c4f13f216 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Summary Request. */ -public interface IManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest { +public interface IManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service + * + * @return the ManagedDeviceMobileAppConfigurationDeviceSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback); + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceSummary patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException; + + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create + * @return the created ManagedDeviceMobileAppConfigurationDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceSummary post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationDeviceSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java index d823733c597..2aac55e04c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Device Summary Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance + */ + IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance + */ + IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequest.java index 88329ac28d4..db31d8d066a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Request. */ -public interface IManagedDeviceMobileAppConfigurationRequest extends IBaseManagedDeviceMobileAppConfigurationRequest { +public interface IManagedDeviceMobileAppConfigurationRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceMobileAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceMobileAppConfiguration from the service + * + * @return the ManagedDeviceMobileAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceMobileAppConfiguration with a source + * + * @param sourceManagedDeviceMobileAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration, final ICallback callback); + + /** + * Patches this ManagedDeviceMobileAppConfiguration with a source + * + * @param sourceManagedDeviceMobileAppConfiguration the source object with updates + * @return the updated ManagedDeviceMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfiguration patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration) throws ClientException; + + /** + * Posts a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the new object to create + * @return the created ManagedDeviceMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequestBuilder.java index 12118871565..2e14faf96de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequestBuilder.java @@ -3,14 +3,69 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationRequest instance + */ + IManagedDeviceMobileAppConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationRequest instance + */ + IManagedDeviceMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions); + + + IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder assignments(); + + IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder assignments(final String id); + + IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses(); + + IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id); + + IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder userStatuses(); + + IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder userStatuses(final String id); + + /** + * Gets the request builder for ManagedDeviceMobileAppConfigurationDeviceSummary + * + * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder instance + */ + IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder deviceStatusSummary(); + + /** + * Gets the request builder for ManagedDeviceMobileAppConfigurationUserSummary + * + * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder instance + */ + IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder userStatusSummary(); + IManagedDeviceMobileAppConfigurationAssignRequestBuilder assign(final java.util.List assignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java index 6ddf80f8400..08f8f458cb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Status Collection Page. */ -public interface IManagedDeviceMobileAppConfigurationUserStatusCollectionPage extends IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage { - +public interface IManagedDeviceMobileAppConfigurationUserStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java index b51434490d0..5e49bf86907 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Status Collection Request. */ -public interface IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest extends IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest { +public interface IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest { + + void get(final ICallback callback); + + IManagedDeviceMobileAppConfigurationUserStatusCollectionPage get() throws ClientException; + + void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); + + ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java index 9fbe271d5fe..29fac126141 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Status Collection Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder extends IRequestBuilder { + + IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest(); + + IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequest.java index f46628d5367..15d9b6c85be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Status Request. */ -public interface IManagedDeviceMobileAppConfigurationUserStatusRequest extends IBaseManagedDeviceMobileAppConfigurationUserStatusRequest { +public interface IManagedDeviceMobileAppConfigurationUserStatusRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service + * + * @return the ManagedDeviceMobileAppConfigurationUserStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserStatus patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; + + /** + * Posts a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create + * @return the created ManagedDeviceMobileAppConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java index 201b26e3be5..f574e6f3460 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Status Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance + */ + IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance + */ + IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequest.java index 7be618cc6f1..85851f47a40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Summary Request. */ -public interface IManagedDeviceMobileAppConfigurationUserSummaryRequest extends IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest { +public interface IManagedDeviceMobileAppConfigurationUserSummaryRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service + * + * @return the ManagedDeviceMobileAppConfigurationUserSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback); + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationUserSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserSummary patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary) throws ClientException; + + /** + * Posts a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create + * @return the created ManagedDeviceMobileAppConfigurationUserSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserSummary post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceMobileAppConfigurationUserSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java index b5d44dcfe56..0f867a92495 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Mobile App Configuration User Summary Request Builder. */ -public interface IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extends IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder { +public interface IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance + */ + IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance + */ + IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequest.java index a3ef8c24d34..adc65e74d1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceOverviewReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Overview Reference Request. */ -public interface IManagedDeviceOverviewReferenceRequest extends IBaseManagedDeviceOverviewReferenceRequest { +public interface IManagedDeviceOverviewReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + ManagedDeviceOverview delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceOverviewReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceOverviewReferenceRequest expand(final String value); + + /** + * Puts the ManagedDeviceOverview + * + * @param srcManagedDeviceOverview the ManagedDeviceOverview to PUT + * @param callback the callback to be called after success or failure + */ + void put(ManagedDeviceOverview srcManagedDeviceOverview, final ICallback callback); + /** + * Puts the ManagedDeviceOverview + * + * @param srcManagedDeviceOverview the ManagedDeviceOverview to PUT + * @return the ManagedDeviceOverview + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + ManagedDeviceOverview put(ManagedDeviceOverview srcManagedDeviceOverview) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequestBuilder.java index 28f189ad30c..b09a77a3a18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceOverviewReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Overview Reference Request Builder. */ -public interface IManagedDeviceOverviewReferenceRequestBuilder extends IBaseManagedDeviceOverviewReferenceRequestBuilder { +public interface IManagedDeviceOverviewReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IManagedDeviceOverviewReferenceRequest instance + */ + IManagedDeviceOverviewReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceOverviewReferenceRequest instance + */ + IManagedDeviceOverviewReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequest.java index eda6008eab6..9a4b6889596 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceOverview; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceOverviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Overview Request. */ -public interface IManagedDeviceOverviewRequest extends IBaseManagedDeviceOverviewRequest { +public interface IManagedDeviceOverviewRequest extends IHttpRequest { + + /** + * Gets the ManagedDeviceOverview from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDeviceOverview from the service + * + * @return the ManagedDeviceOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceOverview get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDeviceOverview with a source + * + * @param sourceManagedDeviceOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback); + + /** + * Patches this ManagedDeviceOverview with a source + * + * @param sourceManagedDeviceOverview the source object with updates + * @return the updated ManagedDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException; + + /** + * Posts a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDeviceOverview newManagedDeviceOverview, final ICallback callback); + + /** + * Posts a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the new object to create + * @return the created ManagedDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceOverviewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceOverviewRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequestBuilder.java index f23a134a147..6107cd55358 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceOverviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Overview Request Builder. */ -public interface IManagedDeviceOverviewRequestBuilder extends IBaseManagedDeviceOverviewRequestBuilder { +public interface IManagedDeviceOverviewRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceOverviewRequest instance + */ + IManagedDeviceOverviewRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceOverviewRequest instance + */ + IManagedDeviceOverviewRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequest.java index b13acebdab4..471b2827380 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceOverviewWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Overview With Reference Request. */ -public interface IManagedDeviceOverviewWithReferenceRequest extends IBaseManagedDeviceOverviewWithReferenceRequest { +public interface IManagedDeviceOverviewWithReferenceRequest extends IHttpRequest { + + void post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload, final ICallback callback); + + ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + ManagedDeviceOverview get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback); + + ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException; + + IManagedDeviceOverviewWithReferenceRequest select(final String value); + + IManagedDeviceOverviewWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequestBuilder.java index bb44ea3d608..1d7ffaaa4ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceOverviewWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Overview With Reference Request Builder. */ -public interface IManagedDeviceOverviewWithReferenceRequestBuilder extends IBaseManagedDeviceOverviewWithReferenceRequestBuilder { +public interface IManagedDeviceOverviewWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IManagedDeviceOverviewWithReferenceRequest instance + */ + IManagedDeviceOverviewWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceOverviewWithReferenceRequest instance + */ + IManagedDeviceOverviewWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceOverviewReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequest.java index c63024b46e4..fa8f10b65d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRebootNowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Reboot Now Request. */ -public interface IManagedDeviceRebootNowRequest extends IBaseManagedDeviceRebootNowRequest { +public interface IManagedDeviceRebootNowRequest { + + /** + * Creates the ManagedDeviceRebootNow + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceRebootNow + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequestBuilder.java index fb85dea327c..5345d56fc1e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRebootNowRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRebootNowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Reboot Now Request Builder. */ -public interface IManagedDeviceRebootNowRequestBuilder extends IBaseManagedDeviceRebootNowRequestBuilder { +public interface IManagedDeviceRebootNowRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceRebootNowRequest + * + * @return the IManagedDeviceRebootNowRequest instance + */ + IManagedDeviceRebootNowRequest buildRequest(); + + /** + * Creates the IManagedDeviceRebootNowRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRebootNowRequest instance + */ + IManagedDeviceRebootNowRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequest.java index 93fda386d96..601f8664b89 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRecoverPasscodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Recover Passcode Request. */ -public interface IManagedDeviceRecoverPasscodeRequest extends IBaseManagedDeviceRecoverPasscodeRequest { +public interface IManagedDeviceRecoverPasscodeRequest { + + /** + * Creates the ManagedDeviceRecoverPasscode + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceRecoverPasscode + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequestBuilder.java index 4ad534df4e8..0d021d49d24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRecoverPasscodeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRecoverPasscodeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Recover Passcode Request Builder. */ -public interface IManagedDeviceRecoverPasscodeRequestBuilder extends IBaseManagedDeviceRecoverPasscodeRequestBuilder { +public interface IManagedDeviceRecoverPasscodeRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceRecoverPasscodeRequest + * + * @return the IManagedDeviceRecoverPasscodeRequest instance + */ + IManagedDeviceRecoverPasscodeRequest buildRequest(); + + /** + * Creates the IManagedDeviceRecoverPasscodeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRecoverPasscodeRequest instance + */ + IManagedDeviceRecoverPasscodeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequest.java index c95e3bd8543..aa2647b3cd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Reference Request. */ -public interface IManagedDeviceReferenceRequest extends IBaseManagedDeviceReferenceRequest { +public interface IManagedDeviceReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + ManagedDevice delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceReferenceRequest expand(final String value); + + /** + * Puts the ManagedDevice + * + * @param srcManagedDevice the ManagedDevice to PUT + * @param callback the callback to be called after success or failure + */ + void put(ManagedDevice srcManagedDevice, final ICallback callback); + /** + * Puts the ManagedDevice + * + * @param srcManagedDevice the ManagedDevice to PUT + * @return the ManagedDevice + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + ManagedDevice put(ManagedDevice srcManagedDevice) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequestBuilder.java index 58749d44f75..d9e766cb60b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Reference Request Builder. */ -public interface IManagedDeviceReferenceRequestBuilder extends IBaseManagedDeviceReferenceRequestBuilder { +public interface IManagedDeviceReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IManagedDeviceReferenceRequest instance + */ + IManagedDeviceReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceReferenceRequest instance + */ + IManagedDeviceReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequest.java index 574e6c1a808..248ea0e9efa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRemoteLockRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Remote Lock Request. */ -public interface IManagedDeviceRemoteLockRequest extends IBaseManagedDeviceRemoteLockRequest { +public interface IManagedDeviceRemoteLockRequest { + + /** + * Creates the ManagedDeviceRemoteLock + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceRemoteLock + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequestBuilder.java index cb4af26dbda..26e91c11c18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRemoteLockRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRemoteLockRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Remote Lock Request Builder. */ -public interface IManagedDeviceRemoteLockRequestBuilder extends IBaseManagedDeviceRemoteLockRequestBuilder { +public interface IManagedDeviceRemoteLockRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceRemoteLockRequest + * + * @return the IManagedDeviceRemoteLockRequest instance + */ + IManagedDeviceRemoteLockRequest buildRequest(); + + /** + * Creates the IManagedDeviceRemoteLockRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRemoteLockRequest instance + */ + IManagedDeviceRemoteLockRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequest.java index a86e842c6c3..313b67224f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDevice; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Request. */ -public interface IManagedDeviceRequest extends IBaseManagedDeviceRequest { +public interface IManagedDeviceRequest extends IHttpRequest { + + /** + * Gets the ManagedDevice from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedDevice from the service + * + * @return the ManagedDevice from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDevice get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedDevice with a source + * + * @param sourceManagedDevice the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedDevice sourceManagedDevice, final ICallback callback); + + /** + * Patches this ManagedDevice with a source + * + * @param sourceManagedDevice the source object with updates + * @return the updated ManagedDevice + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException; + + /** + * Posts a ManagedDevice with a new object + * + * @param newManagedDevice the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedDevice newManagedDevice, final ICallback callback); + + /** + * Posts a ManagedDevice with a new object + * + * @param newManagedDevice the new object to create + * @return the created ManagedDevice + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestBuilder.java index adb5e5c801d..7b25e1a12f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestBuilder.java @@ -3,14 +3,89 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequest; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; +import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; +import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Request Builder. */ -public interface IManagedDeviceRequestBuilder extends IBaseManagedDeviceRequestBuilder { +public interface IManagedDeviceRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedDeviceRequest instance + */ + IManagedDeviceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceRequest instance + */ + IManagedDeviceRequest buildRequest(final java.util.List requestOptions); + + + IDeviceConfigurationStateCollectionRequestBuilder deviceConfigurationStates(); + + IDeviceConfigurationStateRequestBuilder deviceConfigurationStates(final String id); + + /** + * Gets the request builder for DeviceCategory + * + * @return the IDeviceCategoryRequestBuilder instance + */ + IDeviceCategoryRequestBuilder deviceCategory(); + + IDeviceCompliancePolicyStateCollectionRequestBuilder deviceCompliancePolicyStates(); + + IDeviceCompliancePolicyStateRequestBuilder deviceCompliancePolicyStates(final String id); + IManagedDeviceRetireRequestBuilder retire(); + IManagedDeviceWipeRequestBuilder wipe(final Boolean keepEnrollmentData, final Boolean keepUserData, final String macOsUnlockCode); + IManagedDeviceResetPasscodeRequestBuilder resetPasscode(); + IManagedDeviceRemoteLockRequestBuilder remoteLock(); + IManagedDeviceRequestRemoteAssistanceRequestBuilder requestRemoteAssistance(); + IManagedDeviceDisableLostModeRequestBuilder disableLostMode(); + IManagedDeviceLocateDeviceRequestBuilder locateDevice(); + IManagedDeviceBypassActivationLockRequestBuilder bypassActivationLock(); + IManagedDeviceRebootNowRequestBuilder rebootNow(); + IManagedDeviceShutDownRequestBuilder shutDown(); + IManagedDeviceRecoverPasscodeRequestBuilder recoverPasscode(); + IManagedDeviceCleanWindowsDeviceRequestBuilder cleanWindowsDevice(final Boolean keepUserData); + IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder logoutSharedAppleDeviceActiveUser(); + IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder deleteUserFromSharedAppleDevice(final String userPrincipalName); + IManagedDeviceSyncDeviceRequestBuilder syncDevice(); + IManagedDeviceWindowsDefenderScanRequestBuilder windowsDefenderScan(final Boolean quickScan); + IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder windowsDefenderUpdateSignatures(); + IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder updateWindowsDeviceAccount(final UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequest.java index 8f64125807c..4e6c7057069 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRequestRemoteAssistanceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Request Remote Assistance Request. */ -public interface IManagedDeviceRequestRemoteAssistanceRequest extends IBaseManagedDeviceRequestRemoteAssistanceRequest { +public interface IManagedDeviceRequestRemoteAssistanceRequest { + + /** + * Creates the ManagedDeviceRequestRemoteAssistance + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceRequestRemoteAssistance + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequestBuilder.java index 982f644f5ef..fca28a15d09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequestRemoteAssistanceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Request Remote Assistance Request Builder. */ -public interface IManagedDeviceRequestRemoteAssistanceRequestBuilder extends IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder { +public interface IManagedDeviceRequestRemoteAssistanceRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceRequestRemoteAssistanceRequest + * + * @return the IManagedDeviceRequestRemoteAssistanceRequest instance + */ + IManagedDeviceRequestRemoteAssistanceRequest buildRequest(); + + /** + * Creates the IManagedDeviceRequestRemoteAssistanceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRequestRemoteAssistanceRequest instance + */ + IManagedDeviceRequestRemoteAssistanceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequest.java index a12ce8c7592..d8ef092447e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceResetPasscodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Reset Passcode Request. */ -public interface IManagedDeviceResetPasscodeRequest extends IBaseManagedDeviceResetPasscodeRequest { +public interface IManagedDeviceResetPasscodeRequest { + + /** + * Creates the ManagedDeviceResetPasscode + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceResetPasscode + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequestBuilder.java index fdd7f3b31a9..0cee7fc777d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceResetPasscodeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceResetPasscodeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Reset Passcode Request Builder. */ -public interface IManagedDeviceResetPasscodeRequestBuilder extends IBaseManagedDeviceResetPasscodeRequestBuilder { +public interface IManagedDeviceResetPasscodeRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceResetPasscodeRequest + * + * @return the IManagedDeviceResetPasscodeRequest instance + */ + IManagedDeviceResetPasscodeRequest buildRequest(); + + /** + * Creates the IManagedDeviceResetPasscodeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceResetPasscodeRequest instance + */ + IManagedDeviceResetPasscodeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequest.java index 7b93d563ed1..0e5203b2592 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRetireRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Retire Request. */ -public interface IManagedDeviceRetireRequest extends IBaseManagedDeviceRetireRequest { +public interface IManagedDeviceRetireRequest { + + /** + * Creates the ManagedDeviceRetire + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceRetire + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequestBuilder.java index 6f293f5460a..aecac1d9e5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRetireRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceRetireRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Retire Request Builder. */ -public interface IManagedDeviceRetireRequestBuilder extends IBaseManagedDeviceRetireRequestBuilder { +public interface IManagedDeviceRetireRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceRetireRequest + * + * @return the IManagedDeviceRetireRequest instance + */ + IManagedDeviceRetireRequest buildRequest(); + + /** + * Creates the IManagedDeviceRetireRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRetireRequest instance + */ + IManagedDeviceRetireRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequest.java index 84d05041d98..8494f43826c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceShutDownRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Shut Down Request. */ -public interface IManagedDeviceShutDownRequest extends IBaseManagedDeviceShutDownRequest { +public interface IManagedDeviceShutDownRequest { + + /** + * Creates the ManagedDeviceShutDown + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceShutDown + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequestBuilder.java index eb130ff929a..845f3f6232a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceShutDownRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceShutDownRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Shut Down Request Builder. */ -public interface IManagedDeviceShutDownRequestBuilder extends IBaseManagedDeviceShutDownRequestBuilder { +public interface IManagedDeviceShutDownRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceShutDownRequest + * + * @return the IManagedDeviceShutDownRequest instance + */ + IManagedDeviceShutDownRequest buildRequest(); + + /** + * Creates the IManagedDeviceShutDownRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceShutDownRequest instance + */ + IManagedDeviceShutDownRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequest.java index 7de148c34b3..4e8195825df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceSyncDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Sync Device Request. */ -public interface IManagedDeviceSyncDeviceRequest extends IBaseManagedDeviceSyncDeviceRequest { +public interface IManagedDeviceSyncDeviceRequest { + + /** + * Creates the ManagedDeviceSyncDevice + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceSyncDevice + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequestBuilder.java index d446e2bf12d..ae853dd5814 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceSyncDeviceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceSyncDeviceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Sync Device Request Builder. */ -public interface IManagedDeviceSyncDeviceRequestBuilder extends IBaseManagedDeviceSyncDeviceRequestBuilder { +public interface IManagedDeviceSyncDeviceRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceSyncDeviceRequest + * + * @return the IManagedDeviceSyncDeviceRequest instance + */ + IManagedDeviceSyncDeviceRequest buildRequest(); + + /** + * Creates the IManagedDeviceSyncDeviceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceSyncDeviceRequest instance + */ + IManagedDeviceSyncDeviceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequest.java index f58309ce19c..7a93fe740ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceUpdateWindowsDeviceAccountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Update Windows Device Account Request. */ -public interface IManagedDeviceUpdateWindowsDeviceAccountRequest extends IBaseManagedDeviceUpdateWindowsDeviceAccountRequest { +public interface IManagedDeviceUpdateWindowsDeviceAccountRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceUpdateWindowsDeviceAccountRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceUpdateWindowsDeviceAccountRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceUpdateWindowsDeviceAccountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java index e3da00b9e33..8d60dd59df2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Update Windows Device Account Request Builder. */ -public interface IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder { +public interface IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest + * + * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance + */ + IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest(); + + /** + * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance + */ + IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequest.java index a025d83f6a0..93a2cc8c1d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWindowsDefenderScanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Windows Defender Scan Request. */ -public interface IManagedDeviceWindowsDefenderScanRequest extends IBaseManagedDeviceWindowsDefenderScanRequest { +public interface IManagedDeviceWindowsDefenderScanRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceWindowsDefenderScanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceWindowsDefenderScanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceWindowsDefenderScanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequestBuilder.java index ab6a9e20615..70876ce9c88 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderScanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWindowsDefenderScanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Windows Defender Scan Request Builder. */ -public interface IManagedDeviceWindowsDefenderScanRequestBuilder extends IBaseManagedDeviceWindowsDefenderScanRequestBuilder { +public interface IManagedDeviceWindowsDefenderScanRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceWindowsDefenderScanRequest + * + * @return the IManagedDeviceWindowsDefenderScanRequest instance + */ + IManagedDeviceWindowsDefenderScanRequest buildRequest(); + + /** + * Creates the IManagedDeviceWindowsDefenderScanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceWindowsDefenderScanRequest instance + */ + IManagedDeviceWindowsDefenderScanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequest.java index dac41f99711..bc73922f013 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Windows Defender Update Signatures Request. */ -public interface IManagedDeviceWindowsDefenderUpdateSignaturesRequest extends IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest { +public interface IManagedDeviceWindowsDefenderUpdateSignaturesRequest { + + /** + * Creates the ManagedDeviceWindowsDefenderUpdateSignatures + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the ManagedDeviceWindowsDefenderUpdateSignatures + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java index b7fff479174..9bb356c8d14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Windows Defender Update Signatures Request Builder. */ -public interface IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder { +public interface IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest + * + * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance + */ + IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest(); + + /** + * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance + */ + IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequest.java index 34bdd75365d..1c194cbf6d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWipeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Wipe Request. */ -public interface IManagedDeviceWipeRequest extends IBaseManagedDeviceWipeRequest { +public interface IManagedDeviceWipeRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedDeviceWipeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedDeviceWipeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedDeviceWipeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequestBuilder.java index 9acd303c005..4c2607c5bfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWipeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWipeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device Wipe Request Builder. */ -public interface IManagedDeviceWipeRequestBuilder extends IBaseManagedDeviceWipeRequestBuilder { +public interface IManagedDeviceWipeRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedDeviceWipeRequest + * + * @return the IManagedDeviceWipeRequest instance + */ + IManagedDeviceWipeRequest buildRequest(); + + /** + * Creates the IManagedDeviceWipeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedDeviceWipeRequest instance + */ + IManagedDeviceWipeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequest.java index 16767b3eb67..d4ec0f04b36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device With Reference Request. */ -public interface IManagedDeviceWithReferenceRequest extends IBaseManagedDeviceWithReferenceRequest { +public interface IManagedDeviceWithReferenceRequest extends IHttpRequest { + + void post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload, final ICallback callback); + + ManagedDevice post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + ManagedDevice get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final ManagedDevice sourceManagedDevice, final ICallback callback); + + ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException; + + IManagedDeviceWithReferenceRequest select(final String value); + + IManagedDeviceWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequestBuilder.java index e2efb5cecc2..0f5fd8402b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedDeviceWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Device With Reference Request Builder. */ -public interface IManagedDeviceWithReferenceRequestBuilder extends IBaseManagedDeviceWithReferenceRequestBuilder { +public interface IManagedDeviceWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IManagedDeviceWithReferenceRequest instance + */ + IManagedDeviceWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceWithReferenceRequest instance + */ + IManagedDeviceWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IManagedDeviceReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequest.java index acf4fac7270..19595ba869d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assign Request. */ -public interface IManagedEBookAssignRequest extends IBaseManagedEBookAssignRequest { +public interface IManagedEBookAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedEBookAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedEBookAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedEBookAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequestBuilder.java index d118760f0e4..0b23ed9479f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assign Request Builder. */ -public interface IManagedEBookAssignRequestBuilder extends IBaseManagedEBookAssignRequestBuilder { +public interface IManagedEBookAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the IManagedEBookAssignRequest + * + * @return the IManagedEBookAssignRequest instance + */ + IManagedEBookAssignRequest buildRequest(); + + /** + * Creates the IManagedEBookAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IManagedEBookAssignRequest instance + */ + IManagedEBookAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionPage.java index eddca298212..de7df5a0489 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assignment Collection Page. */ -public interface IManagedEBookAssignmentCollectionPage extends IBaseManagedEBookAssignmentCollectionPage { - +public interface IManagedEBookAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequest.java index 9f39f5f9f98..b975204b1a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assignment Collection Request. */ -public interface IManagedEBookAssignmentCollectionRequest extends IBaseManagedEBookAssignmentCollectionRequest { +public interface IManagedEBookAssignmentCollectionRequest { + + void get(final ICallback callback); + + IManagedEBookAssignmentCollectionPage get() throws ClientException; + + void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback); + + ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedEBookAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedEBookAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedEBookAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequestBuilder.java index 58737100c65..61a6227530d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assignment Collection Request Builder. */ -public interface IManagedEBookAssignmentCollectionRequestBuilder extends IBaseManagedEBookAssignmentCollectionRequestBuilder { +public interface IManagedEBookAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IManagedEBookAssignmentCollectionRequest buildRequest(); + + IManagedEBookAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedEBookAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequest.java index f05e95ed72e..a8046118a25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assignment Request. */ -public interface IManagedEBookAssignmentRequest extends IBaseManagedEBookAssignmentRequest { +public interface IManagedEBookAssignmentRequest extends IHttpRequest { + + /** + * Gets the ManagedEBookAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedEBookAssignment from the service + * + * @return the ManagedEBookAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBookAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedEBookAssignment with a source + * + * @param sourceManagedEBookAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedEBookAssignment sourceManagedEBookAssignment, final ICallback callback); + + /** + * Patches this ManagedEBookAssignment with a source + * + * @param sourceManagedEBookAssignment the source object with updates + * @return the updated ManagedEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBookAssignment patch(final ManagedEBookAssignment sourceManagedEBookAssignment) throws ClientException; + + /** + * Posts a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback); + + /** + * Posts a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the new object to create + * @return the created ManagedEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedEBookAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedEBookAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequestBuilder.java index abe5c361e23..9e201bc36d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseManagedEBookAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Assignment Request Builder. */ -public interface IManagedEBookAssignmentRequestBuilder extends IBaseManagedEBookAssignmentRequestBuilder { +public interface IManagedEBookAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedEBookAssignmentRequest instance + */ + IManagedEBookAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedEBookAssignmentRequest instance + */ + IManagedEBookAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionPage.java index ab42c3891a3..021b1f01d00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedEBookCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Collection Page. */ -public interface IManagedEBookCollectionPage extends IBaseManagedEBookCollectionPage { - +public interface IManagedEBookCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequest.java index 075f6f7caaf..a3239a6c245 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedEBookCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Collection Request. */ -public interface IManagedEBookCollectionRequest extends IBaseManagedEBookCollectionRequest { +public interface IManagedEBookCollectionRequest { + + void get(final ICallback callback); + + IManagedEBookCollectionPage get() throws ClientException; + + void post(final ManagedEBook newManagedEBook, final ICallback callback); + + ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedEBookCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedEBookCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedEBookCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequestBuilder.java index fa9faabe0a7..f9385288572 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedEBookCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Collection Request Builder. */ -public interface IManagedEBookCollectionRequestBuilder extends IBaseManagedEBookCollectionRequestBuilder { +public interface IManagedEBookCollectionRequestBuilder extends IRequestBuilder { + + IManagedEBookCollectionRequest buildRequest(); + + IManagedEBookCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedEBookRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequest.java index 1688e1bd31d..43aeebadd7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBook; -import com.microsoft.graph.requests.generated.IBaseManagedEBookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Request. */ -public interface IManagedEBookRequest extends IBaseManagedEBookRequest { +public interface IManagedEBookRequest extends IHttpRequest { + + /** + * Gets the ManagedEBook from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedEBook from the service + * + * @return the ManagedEBook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBook get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedEBook with a source + * + * @param sourceManagedEBook the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedEBook sourceManagedEBook, final ICallback callback); + + /** + * Patches this ManagedEBook with a source + * + * @param sourceManagedEBook the source object with updates + * @return the updated ManagedEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBook patch(final ManagedEBook sourceManagedEBook) throws ClientException; + + /** + * Posts a ManagedEBook with a new object + * + * @param newManagedEBook the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedEBook newManagedEBook, final ICallback callback); + + /** + * Posts a ManagedEBook with a new object + * + * @param newManagedEBook the new object to create + * @return the created ManagedEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedEBookRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedEBookRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequestBuilder.java index bcedce6bcac..f1f36b44ca4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequestBuilder.java @@ -3,14 +3,61 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookRequest; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequestBuilder; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedEBookRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed EBook Request Builder. */ -public interface IManagedEBookRequestBuilder extends IBaseManagedEBookRequestBuilder { +public interface IManagedEBookRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedEBookRequest instance + */ + IManagedEBookRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedEBookRequest instance + */ + IManagedEBookRequest buildRequest(final java.util.List requestOptions); + + + IManagedEBookAssignmentCollectionRequestBuilder assignments(); + + IManagedEBookAssignmentRequestBuilder assignments(final String id); + + /** + * Gets the request builder for EBookInstallSummary + * + * @return the IEBookInstallSummaryRequestBuilder instance + */ + IEBookInstallSummaryRequestBuilder installSummary(); + + IDeviceInstallStateCollectionRequestBuilder deviceStates(); + + IDeviceInstallStateRequestBuilder deviceStates(final String id); + + IUserInstallStateSummaryCollectionRequestBuilder userStateSummary(); + + IUserInstallStateSummaryRequestBuilder userStateSummary(final String id); + IManagedEBookAssignRequestBuilder assign(final java.util.List managedEBookAssignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequest.java index 5395bab77e1..35f550cca14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedIOSLobApp; -import com.microsoft.graph.requests.generated.IBaseManagedIOSLobAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed IOSLob App Request. */ -public interface IManagedIOSLobAppRequest extends IBaseManagedIOSLobAppRequest { +public interface IManagedIOSLobAppRequest extends IHttpRequest { + + /** + * Gets the ManagedIOSLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedIOSLobApp from the service + * + * @return the ManagedIOSLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSLobApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedIOSLobApp with a source + * + * @param sourceManagedIOSLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedIOSLobApp sourceManagedIOSLobApp, final ICallback callback); + + /** + * Patches this ManagedIOSLobApp with a source + * + * @param sourceManagedIOSLobApp the source object with updates + * @return the updated ManagedIOSLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSLobApp patch(final ManagedIOSLobApp sourceManagedIOSLobApp) throws ClientException; + + /** + * Posts a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedIOSLobApp newManagedIOSLobApp, final ICallback callback); + + /** + * Posts a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the new object to create + * @return the created ManagedIOSLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSLobApp post(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedIOSLobAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedIOSLobAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequestBuilder.java index 595f084bac3..85ef04761a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedIOSLobAppRequest; -import com.microsoft.graph.requests.generated.IBaseManagedIOSLobAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed IOSLob App Request Builder. */ -public interface IManagedIOSLobAppRequestBuilder extends IBaseManagedIOSLobAppRequestBuilder { +public interface IManagedIOSLobAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedIOSLobAppRequest instance + */ + IManagedIOSLobAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedIOSLobAppRequest instance + */ + IManagedIOSLobAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequest.java index 4551ffb8571..ec19ab799f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedIOSStoreApp; -import com.microsoft.graph.requests.generated.IBaseManagedIOSStoreAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed IOSStore App Request. */ -public interface IManagedIOSStoreAppRequest extends IBaseManagedIOSStoreAppRequest { +public interface IManagedIOSStoreAppRequest extends IHttpRequest { + + /** + * Gets the ManagedIOSStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedIOSStoreApp from the service + * + * @return the ManagedIOSStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSStoreApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedIOSStoreApp with a source + * + * @param sourceManagedIOSStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp, final ICallback callback); + + /** + * Patches this ManagedIOSStoreApp with a source + * + * @param sourceManagedIOSStoreApp the source object with updates + * @return the updated ManagedIOSStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSStoreApp patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp) throws ClientException; + + /** + * Posts a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedIOSStoreApp newManagedIOSStoreApp, final ICallback callback); + + /** + * Posts a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the new object to create + * @return the created ManagedIOSStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSStoreApp post(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedIOSStoreAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedIOSStoreAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequestBuilder.java index 81f2d3db654..150aadcc27c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedIOSStoreAppRequest; -import com.microsoft.graph.requests.generated.IBaseManagedIOSStoreAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed IOSStore App Request Builder. */ -public interface IManagedIOSStoreAppRequestBuilder extends IBaseManagedIOSStoreAppRequestBuilder { +public interface IManagedIOSStoreAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedIOSStoreAppRequest instance + */ + IManagedIOSStoreAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedIOSStoreAppRequest instance + */ + IManagedIOSStoreAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionPage.java index 530cbbe5f22..0722e8052b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedMobileAppCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile App Collection Page. */ -public interface IManagedMobileAppCollectionPage extends IBaseManagedMobileAppCollectionPage { - +public interface IManagedMobileAppCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequest.java index 3baf593865d..740bb600f41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedMobileAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile App Collection Request. */ -public interface IManagedMobileAppCollectionRequest extends IBaseManagedMobileAppCollectionRequest { +public interface IManagedMobileAppCollectionRequest { + + void get(final ICallback callback); + + IManagedMobileAppCollectionPage get() throws ClientException; + + void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback); + + ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedMobileAppCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedMobileAppCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IManagedMobileAppCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequestBuilder.java index 0b92ebdf631..7abc4febd28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile App Collection Request Builder. */ -public interface IManagedMobileAppCollectionRequestBuilder extends IBaseManagedMobileAppCollectionRequestBuilder { +public interface IManagedMobileAppCollectionRequestBuilder extends IRequestBuilder { + + IManagedMobileAppCollectionRequest buildRequest(); + + IManagedMobileAppCollectionRequest buildRequest(final java.util.List requestOptions); + + IManagedMobileAppRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequest.java index 74c92302931..eeea81871f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.generated.IBaseManagedMobileAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile App Request. */ -public interface IManagedMobileAppRequest extends IBaseManagedMobileAppRequest { +public interface IManagedMobileAppRequest extends IHttpRequest { + + /** + * Gets the ManagedMobileApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedMobileApp from the service + * + * @return the ManagedMobileApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedMobileApp with a source + * + * @param sourceManagedMobileApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedMobileApp sourceManagedMobileApp, final ICallback callback); + + /** + * Patches this ManagedMobileApp with a source + * + * @param sourceManagedMobileApp the source object with updates + * @return the updated ManagedMobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileApp patch(final ManagedMobileApp sourceManagedMobileApp) throws ClientException; + + /** + * Posts a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback); + + /** + * Posts a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the new object to create + * @return the created ManagedMobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedMobileAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedMobileAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequestBuilder.java index 0427d3989ec..4ffb9826912 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequest; -import com.microsoft.graph.requests.generated.IBaseManagedMobileAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile App Request Builder. */ -public interface IManagedMobileAppRequestBuilder extends IBaseManagedMobileAppRequestBuilder { +public interface IManagedMobileAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedMobileAppRequest instance + */ + IManagedMobileAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedMobileAppRequest instance + */ + IManagedMobileAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequest.java index 4c7683dee28..e9dc5889f44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedMobileLobApp; -import com.microsoft.graph.requests.generated.IBaseManagedMobileLobAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile Lob App Request. */ -public interface IManagedMobileLobAppRequest extends IBaseManagedMobileLobAppRequest { +public interface IManagedMobileLobAppRequest extends IHttpRequest { + + /** + * Gets the ManagedMobileLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ManagedMobileLobApp from the service + * + * @return the ManagedMobileLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileLobApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ManagedMobileLobApp with a source + * + * @param sourceManagedMobileLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ManagedMobileLobApp sourceManagedMobileLobApp, final ICallback callback); + + /** + * Patches this ManagedMobileLobApp with a source + * + * @param sourceManagedMobileLobApp the source object with updates + * @return the updated ManagedMobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileLobApp patch(final ManagedMobileLobApp sourceManagedMobileLobApp) throws ClientException; + + /** + * Posts a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ManagedMobileLobApp newManagedMobileLobApp, final ICallback callback); + + /** + * Posts a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the new object to create + * @return the created ManagedMobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileLobApp post(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IManagedMobileLobAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IManagedMobileLobAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequestBuilder.java index 66638afa68a..bd221daee6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseManagedMobileLobAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Managed Mobile Lob App Request Builder. */ -public interface IManagedMobileLobAppRequestBuilder extends IBaseManagedMobileLobAppRequestBuilder { +public interface IManagedMobileLobAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IManagedMobileLobAppRequest instance + */ + IManagedMobileLobAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedMobileLobAppRequest instance + */ + IManagedMobileLobAppRequest buildRequest(final java.util.List requestOptions); + + + IMobileAppContentCollectionRequestBuilder contentVersions(); + + IMobileAppContentRequestBuilder contentVersions(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionPage.java index 96bd81e9336..32251588e38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMdmWindowsInformationProtectionPolicyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mdm Windows Information Protection Policy Collection Page. */ -public interface IMdmWindowsInformationProtectionPolicyCollectionPage extends IBaseMdmWindowsInformationProtectionPolicyCollectionPage { - +public interface IMdmWindowsInformationProtectionPolicyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequest.java index d2fc3a6a71e..1e6a90b3f3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMdmWindowsInformationProtectionPolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mdm Windows Information Protection Policy Collection Request. */ -public interface IMdmWindowsInformationProtectionPolicyCollectionRequest extends IBaseMdmWindowsInformationProtectionPolicyCollectionRequest { +public interface IMdmWindowsInformationProtectionPolicyCollectionRequest { + + void get(final ICallback callback); + + IMdmWindowsInformationProtectionPolicyCollectionPage get() throws ClientException; + + void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback); + + MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMdmWindowsInformationProtectionPolicyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMdmWindowsInformationProtectionPolicyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMdmWindowsInformationProtectionPolicyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java index 6b2af077ddd..7bfa1c14276 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mdm Windows Information Protection Policy Collection Request Builder. */ -public interface IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder extends IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder { +public interface IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder extends IRequestBuilder { + + IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest(); + + IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions); + + IMdmWindowsInformationProtectionPolicyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequest.java index f6a7e0a330c..274054a4b9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; -import com.microsoft.graph.requests.generated.IBaseMdmWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mdm Windows Information Protection Policy Request. */ -public interface IMdmWindowsInformationProtectionPolicyRequest extends IBaseMdmWindowsInformationProtectionPolicyRequest { +public interface IMdmWindowsInformationProtectionPolicyRequest extends IHttpRequest { + + /** + * Gets the MdmWindowsInformationProtectionPolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MdmWindowsInformationProtectionPolicy from the service + * + * @return the MdmWindowsInformationProtectionPolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MdmWindowsInformationProtectionPolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MdmWindowsInformationProtectionPolicy with a source + * + * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy, final ICallback callback); + + /** + * Patches this MdmWindowsInformationProtectionPolicy with a source + * + * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates + * @return the updated MdmWindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MdmWindowsInformationProtectionPolicy patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy) throws ClientException; + + /** + * Posts a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback); + + /** + * Posts a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the new object to create + * @return the created MdmWindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMdmWindowsInformationProtectionPolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMdmWindowsInformationProtectionPolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequestBuilder.java index ecb95276589..532f1b23ed2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.requests.generated.IBaseMdmWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mdm Windows Information Protection Policy Request Builder. */ -public interface IMdmWindowsInformationProtectionPolicyRequestBuilder extends IBaseMdmWindowsInformationProtectionPolicyRequestBuilder { +public interface IMdmWindowsInformationProtectionPolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMdmWindowsInformationProtectionPolicyRequest instance + */ + IMdmWindowsInformationProtectionPolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMdmWindowsInformationProtectionPolicyRequest instance + */ + IMdmWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionPage.java index 37dce0be4ed..f367dc30458 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Collection Page. */ -public interface IMessageCollectionPage extends IBaseMessageCollectionPage { - +public interface IMessageCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequest.java index f83948dd069..6c537467af2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Collection Request. */ -public interface IMessageCollectionRequest extends IBaseMessageCollectionRequest { +public interface IMessageCollectionRequest { + + void get(final ICallback callback); + + IMessageCollectionPage get() throws ClientException; + + void post(final Message newMessage, final ICallback callback); + + Message post(final Message newMessage) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequestBuilder.java index aef79862c2f..ad55f568723 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Collection Request Builder. */ -public interface IMessageCollectionRequestBuilder extends IBaseMessageCollectionRequestBuilder { +public interface IMessageCollectionRequestBuilder extends IRequestBuilder { + + IMessageCollectionRequest buildRequest(); + + IMessageCollectionRequest buildRequest(final java.util.List requestOptions); + + IMessageRequestBuilder byId(final String id); + + + IMessageDeltaCollectionRequestBuilder delta(); + IMessageDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequest.java index c610844bc71..2fc6f4204d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCopyRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCopyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Copy Request. */ -public interface IMessageCopyRequest extends IBaseMessageCopyRequest { +public interface IMessageCopyRequest { + + void post(final ICallback callback); + + Message post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageCopyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageCopyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageCopyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequestBuilder.java index cbfa6f3088d..3323a02db67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCopyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCopyRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCopyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Copy Request Builder. */ -public interface IMessageCopyRequestBuilder extends IBaseMessageCopyRequestBuilder { +public interface IMessageCopyRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageCopyRequest + * + * @return the IMessageCopyRequest instance + */ + IMessageCopyRequest buildRequest(); + + /** + * Creates the IMessageCopyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageCopyRequest instance + */ + IMessageCopyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequest.java index 68d921053b4..dc6b9194d64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCreateForwardRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Create Forward Request. */ -public interface IMessageCreateForwardRequest extends IBaseMessageCreateForwardRequest { +public interface IMessageCreateForwardRequest { + + /** + * Creates the MessageCreateForward + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the MessageCreateForward + * + * @return the Message + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Message post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageCreateForwardRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageCreateForwardRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequestBuilder.java index cfd7c6e34f4..7d7828360d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateForwardRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCreateForwardRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Create Forward Request Builder. */ -public interface IMessageCreateForwardRequestBuilder extends IBaseMessageCreateForwardRequestBuilder { +public interface IMessageCreateForwardRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageCreateForwardRequest + * + * @return the IMessageCreateForwardRequest instance + */ + IMessageCreateForwardRequest buildRequest(); + + /** + * Creates the IMessageCreateForwardRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageCreateForwardRequest instance + */ + IMessageCreateForwardRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequest.java index c2a6d88c0d4..2b0c126c15b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCreateReplyAllRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Create Reply All Request. */ -public interface IMessageCreateReplyAllRequest extends IBaseMessageCreateReplyAllRequest { +public interface IMessageCreateReplyAllRequest { + + /** + * Creates the MessageCreateReplyAll + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the MessageCreateReplyAll + * + * @return the Message + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Message post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageCreateReplyAllRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageCreateReplyAllRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequestBuilder.java index 489ecc510a4..ce37c76807a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyAllRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCreateReplyAllRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Create Reply All Request Builder. */ -public interface IMessageCreateReplyAllRequestBuilder extends IBaseMessageCreateReplyAllRequestBuilder { +public interface IMessageCreateReplyAllRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageCreateReplyAllRequest + * + * @return the IMessageCreateReplyAllRequest instance + */ + IMessageCreateReplyAllRequest buildRequest(); + + /** + * Creates the IMessageCreateReplyAllRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageCreateReplyAllRequest instance + */ + IMessageCreateReplyAllRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequest.java index 0199388d9c3..f000d6eabc1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCreateReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Create Reply Request. */ -public interface IMessageCreateReplyRequest extends IBaseMessageCreateReplyRequest { +public interface IMessageCreateReplyRequest { + + /** + * Creates the MessageCreateReply + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the MessageCreateReply + * + * @return the Message + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Message post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageCreateReplyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageCreateReplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequestBuilder.java index 5477bdfd547..e6a056a69e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageCreateReplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; -import com.microsoft.graph.requests.generated.IBaseMessageCreateReplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Create Reply Request Builder. */ -public interface IMessageCreateReplyRequestBuilder extends IBaseMessageCreateReplyRequestBuilder { +public interface IMessageCreateReplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageCreateReplyRequest + * + * @return the IMessageCreateReplyRequest instance + */ + IMessageCreateReplyRequest buildRequest(); + + /** + * Creates the IMessageCreateReplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageCreateReplyRequest instance + */ + IMessageCreateReplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionPage.java index 5c8816091f3..54618cad266 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Delta Collection Page. */ -public interface IMessageDeltaCollectionPage extends IBaseMessageDeltaCollectionPage { - +public interface IMessageDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequest.java index f4c0bb25fb6..f18a5ee9fc7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Delta Collection Request. */ -public interface IMessageDeltaCollectionRequest extends IBaseMessageDeltaCollectionRequest { +public interface IMessageDeltaCollectionRequest { + + void get(final ICallback callback); + + IMessageDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequestBuilder.java index 0b9a80d8307..8a44bf2b1b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Delta Collection Request Builder. */ -public interface IMessageDeltaCollectionRequestBuilder extends IBaseMessageDeltaCollectionRequestBuilder { +public interface IMessageDeltaCollectionRequestBuilder extends IRequestBuilder { + + IMessageDeltaCollectionRequest buildRequest(); + + IMessageDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequest.java index 9370863f8e0..17283519708 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageForwardRequest; -import com.microsoft.graph.requests.generated.IBaseMessageForwardRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Forward Request. */ -public interface IMessageForwardRequest extends IBaseMessageForwardRequest { +public interface IMessageForwardRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageForwardRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageForwardRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageForwardRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequestBuilder.java index a9ec472a1b6..8735daa771c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageForwardRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageForwardRequest; -import com.microsoft.graph.requests.generated.IBaseMessageForwardRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Forward Request Builder. */ -public interface IMessageForwardRequestBuilder extends IBaseMessageForwardRequestBuilder { +public interface IMessageForwardRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageForwardRequest + * + * @return the IMessageForwardRequest instance + */ + IMessageForwardRequest buildRequest(); + + /** + * Creates the IMessageForwardRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageForwardRequest instance + */ + IMessageForwardRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequest.java index beb038d1339..763e9676e36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageMoveRequest; -import com.microsoft.graph.requests.generated.IBaseMessageMoveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Move Request. */ -public interface IMessageMoveRequest extends IBaseMessageMoveRequest { +public interface IMessageMoveRequest { + + void post(final ICallback callback); + + Message post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageMoveRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageMoveRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageMoveRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequestBuilder.java index c8b35d34c5b..7a5857b9848 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageMoveRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageMoveRequest; -import com.microsoft.graph.requests.generated.IBaseMessageMoveRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Move Request Builder. */ -public interface IMessageMoveRequestBuilder extends IBaseMessageMoveRequestBuilder { +public interface IMessageMoveRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageMoveRequest + * + * @return the IMessageMoveRequest instance + */ + IMessageMoveRequest buildRequest(); + + /** + * Creates the IMessageMoveRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageMoveRequest instance + */ + IMessageMoveRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequest.java index 12d08699994..64e97b847b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; -import com.microsoft.graph.requests.generated.IBaseMessageReplyAllRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Reply All Request. */ -public interface IMessageReplyAllRequest extends IBaseMessageReplyAllRequest { +public interface IMessageReplyAllRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageReplyAllRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageReplyAllRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageReplyAllRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequestBuilder.java index d0661ee0848..b240cc430b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyAllRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; -import com.microsoft.graph.requests.generated.IBaseMessageReplyAllRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Reply All Request Builder. */ -public interface IMessageReplyAllRequestBuilder extends IBaseMessageReplyAllRequestBuilder { +public interface IMessageReplyAllRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageReplyAllRequest + * + * @return the IMessageReplyAllRequest instance + */ + IMessageReplyAllRequest buildRequest(); + + /** + * Creates the IMessageReplyAllRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageReplyAllRequest instance + */ + IMessageReplyAllRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequest.java index 89f59beb9ef..846f9554859 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageReplyRequest; -import com.microsoft.graph.requests.generated.IBaseMessageReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Reply Request. */ -public interface IMessageReplyRequest extends IBaseMessageReplyRequest { +public interface IMessageReplyRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageReplyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageReplyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageReplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequestBuilder.java index 72ac1a42a2a..0051a0112c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageReplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageReplyRequest; -import com.microsoft.graph.requests.generated.IBaseMessageReplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Reply Request Builder. */ -public interface IMessageReplyRequestBuilder extends IBaseMessageReplyRequestBuilder { +public interface IMessageReplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageReplyRequest + * + * @return the IMessageReplyRequest instance + */ + IMessageReplyRequest buildRequest(); + + /** + * Creates the IMessageReplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageReplyRequest instance + */ + IMessageReplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequest.java index 26e2ccfaec6..dfab7fa51d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.generated.IBaseMessageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Request. */ -public interface IMessageRequest extends IBaseMessageRequest { +public interface IMessageRequest extends IHttpRequest { + + /** + * Gets the Message from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Message from the service + * + * @return the Message from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Message get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Message with a source + * + * @param sourceMessage the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Message sourceMessage, final ICallback callback); + + /** + * Patches this Message with a source + * + * @param sourceMessage the source object with updates + * @return the updated Message + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Message patch(final Message sourceMessage) throws ClientException; + + /** + * Posts a Message with a new object + * + * @param newMessage the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Message newMessage, final ICallback callback); + + /** + * Posts a Message with a new object + * + * @param newMessage the new object to create + * @return the created Message + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Message post(final Message newMessage) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequestBuilder.java index 46f3d90e8ad..07dfc5dcd7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequestBuilder.java @@ -3,14 +3,75 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageRequest; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageMoveRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageReplyAllRequestBuilder; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.requests.extensions.IMessageForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageSendRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseMessageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Request Builder. */ -public interface IMessageRequestBuilder extends IBaseMessageRequestBuilder { +public interface IMessageRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMessageRequest instance + */ + IMessageRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMessageRequest instance + */ + IMessageRequest buildRequest(final java.util.List requestOptions); + + + IAttachmentCollectionRequestBuilder attachments(); + + IAttachmentRequestBuilder attachments(final String id); + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); + IMessageCopyRequestBuilder copy(final String destinationId); + IMessageMoveRequestBuilder move(final String destinationId); + IMessageCreateReplyRequestBuilder createReply(); + IMessageCreateReplyAllRequestBuilder createReplyAll(); + IMessageCreateForwardRequestBuilder createForward(); + IMessageReplyRequestBuilder reply(final String comment); + IMessageReplyAllRequestBuilder replyAll(final String comment); + IMessageForwardRequestBuilder forward(final String comment, final java.util.List toRecipients); + IMessageSendRequestBuilder send(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionPage.java index 0c224b59853..e0b2c4476be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageRuleCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Rule Collection Page. */ -public interface IMessageRuleCollectionPage extends IBaseMessageRuleCollectionPage { - +public interface IMessageRuleCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequest.java index 5177aca25b5..768ff08ac6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageRuleCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Rule Collection Request. */ -public interface IMessageRuleCollectionRequest extends IBaseMessageRuleCollectionRequest { +public interface IMessageRuleCollectionRequest { + + void get(final ICallback callback); + + IMessageRuleCollectionPage get() throws ClientException; + + void post(final MessageRule newMessageRule, final ICallback callback); + + MessageRule post(final MessageRule newMessageRule) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageRuleCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageRuleCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMessageRuleCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequestBuilder.java index b8e222ee64d..aa83a9ee6f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMessageRuleCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Rule Collection Request Builder. */ -public interface IMessageRuleCollectionRequestBuilder extends IBaseMessageRuleCollectionRequestBuilder { +public interface IMessageRuleCollectionRequestBuilder extends IRequestBuilder { + + IMessageRuleCollectionRequest buildRequest(); + + IMessageRuleCollectionRequest buildRequest(final java.util.List requestOptions); + + IMessageRuleRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequest.java index 638020aeea3..1b6bf57ba35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageRule; -import com.microsoft.graph.requests.generated.IBaseMessageRuleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Rule Request. */ -public interface IMessageRuleRequest extends IBaseMessageRuleRequest { +public interface IMessageRuleRequest extends IHttpRequest { + + /** + * Gets the MessageRule from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MessageRule from the service + * + * @return the MessageRule from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MessageRule get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MessageRule with a source + * + * @param sourceMessageRule the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MessageRule sourceMessageRule, final ICallback callback); + + /** + * Patches this MessageRule with a source + * + * @param sourceMessageRule the source object with updates + * @return the updated MessageRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MessageRule patch(final MessageRule sourceMessageRule) throws ClientException; + + /** + * Posts a MessageRule with a new object + * + * @param newMessageRule the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MessageRule newMessageRule, final ICallback callback); + + /** + * Posts a MessageRule with a new object + * + * @param newMessageRule the new object to create + * @return the created MessageRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MessageRule post(final MessageRule newMessageRule) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMessageRuleRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMessageRuleRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequestBuilder.java index 25259ad4f65..e1610003ee8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageRuleRequest; -import com.microsoft.graph.requests.generated.IBaseMessageRuleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Rule Request Builder. */ -public interface IMessageRuleRequestBuilder extends IBaseMessageRuleRequestBuilder { +public interface IMessageRuleRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMessageRuleRequest instance + */ + IMessageRuleRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMessageRuleRequest instance + */ + IMessageRuleRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequest.java index 212bb23dd5d..c2e04feb26e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageSendRequest; -import com.microsoft.graph.requests.generated.IBaseMessageSendRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Send Request. */ -public interface IMessageSendRequest extends IBaseMessageSendRequest { +public interface IMessageSendRequest { + + /** + * Creates the MessageSend + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the MessageSend + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequestBuilder.java index 204ba234234..1a338e7b697 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageSendRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageSendRequest; -import com.microsoft.graph.requests.generated.IBaseMessageSendRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Message Send Request Builder. */ -public interface IMessageSendRequestBuilder extends IBaseMessageSendRequestBuilder { +public interface IMessageSendRequestBuilder extends IRequestBuilder { + /** + * Creates the IMessageSendRequest + * + * @return the IMessageSendRequest instance + */ + IMessageSendRequest buildRequest(); + + /** + * Creates the IMessageSendRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMessageSendRequest instance + */ + IMessageSendRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequest.java index 2bafd74312b..524338a2cec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MicrosoftStoreForBusinessApp; -import com.microsoft.graph.requests.generated.IBaseMicrosoftStoreForBusinessAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Microsoft Store For Business App Request. */ -public interface IMicrosoftStoreForBusinessAppRequest extends IBaseMicrosoftStoreForBusinessAppRequest { +public interface IMicrosoftStoreForBusinessAppRequest extends IHttpRequest { + + /** + * Gets the MicrosoftStoreForBusinessApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MicrosoftStoreForBusinessApp from the service + * + * @return the MicrosoftStoreForBusinessApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MicrosoftStoreForBusinessApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MicrosoftStoreForBusinessApp with a source + * + * @param sourceMicrosoftStoreForBusinessApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp, final ICallback callback); + + /** + * Patches this MicrosoftStoreForBusinessApp with a source + * + * @param sourceMicrosoftStoreForBusinessApp the source object with updates + * @return the updated MicrosoftStoreForBusinessApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MicrosoftStoreForBusinessApp patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp) throws ClientException; + + /** + * Posts a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp, final ICallback callback); + + /** + * Posts a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the new object to create + * @return the created MicrosoftStoreForBusinessApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MicrosoftStoreForBusinessApp post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMicrosoftStoreForBusinessAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMicrosoftStoreForBusinessAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequestBuilder.java index 26cb01428fe..7381fea79de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMicrosoftStoreForBusinessAppRequest; -import com.microsoft.graph.requests.generated.IBaseMicrosoftStoreForBusinessAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Microsoft Store For Business App Request Builder. */ -public interface IMicrosoftStoreForBusinessAppRequestBuilder extends IBaseMicrosoftStoreForBusinessAppRequestBuilder { +public interface IMicrosoftStoreForBusinessAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMicrosoftStoreForBusinessAppRequest instance + */ + IMicrosoftStoreForBusinessAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMicrosoftStoreForBusinessAppRequest instance + */ + IMicrosoftStoreForBusinessAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequest.java index 3630e0284d9..fc2eb1d6079 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assign Request. */ -public interface IMobileAppAssignRequest extends IBaseMobileAppAssignRequest { +public interface IMobileAppAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequestBuilder.java index 6d5a98018a6..40602dcf80f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assign Request Builder. */ -public interface IMobileAppAssignRequestBuilder extends IBaseMobileAppAssignRequestBuilder { +public interface IMobileAppAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the IMobileAppAssignRequest + * + * @return the IMobileAppAssignRequest instance + */ + IMobileAppAssignRequest buildRequest(); + + /** + * Creates the IMobileAppAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMobileAppAssignRequest instance + */ + IMobileAppAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionPage.java index 32a2890e1d5..3c04f30d361 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assignment Collection Page. */ -public interface IMobileAppAssignmentCollectionPage extends IBaseMobileAppAssignmentCollectionPage { - +public interface IMobileAppAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequest.java index 1408e1c86a6..97df69f0f96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assignment Collection Request. */ -public interface IMobileAppAssignmentCollectionRequest extends IBaseMobileAppAssignmentCollectionRequest { +public interface IMobileAppAssignmentCollectionRequest { + + void get(final ICallback callback); + + IMobileAppAssignmentCollectionPage get() throws ClientException; + + void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback); + + MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequestBuilder.java index 5eb98cd19b9..31834c37a5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assignment Collection Request Builder. */ -public interface IMobileAppAssignmentCollectionRequestBuilder extends IBaseMobileAppAssignmentCollectionRequestBuilder { +public interface IMobileAppAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IMobileAppAssignmentCollectionRequest buildRequest(); + + IMobileAppAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IMobileAppAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequest.java index 2cabf064438..03d98ae9bf8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppAssignment; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assignment Request. */ -public interface IMobileAppAssignmentRequest extends IBaseMobileAppAssignmentRequest { +public interface IMobileAppAssignmentRequest extends IHttpRequest { + + /** + * Gets the MobileAppAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileAppAssignment from the service + * + * @return the MobileAppAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileAppAssignment with a source + * + * @param sourceMobileAppAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileAppAssignment sourceMobileAppAssignment, final ICallback callback); + + /** + * Patches this MobileAppAssignment with a source + * + * @param sourceMobileAppAssignment the source object with updates + * @return the updated MobileAppAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppAssignment patch(final MobileAppAssignment sourceMobileAppAssignment) throws ClientException; + + /** + * Posts a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback); + + /** + * Posts a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the new object to create + * @return the created MobileAppAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequestBuilder.java index 2870f21d8d4..8efd1b2193f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Assignment Request Builder. */ -public interface IMobileAppAssignmentRequestBuilder extends IBaseMobileAppAssignmentRequestBuilder { +public interface IMobileAppAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileAppAssignmentRequest instance + */ + IMobileAppAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppAssignmentRequest instance + */ + IMobileAppAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionPage.java index f569690dacd..0f8dcc162f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection Page. */ -public interface IMobileAppCategoryCollectionPage extends IBaseMobileAppCategoryCollectionPage { - +public interface IMobileAppCategoryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequest.java index 8e4ccfaf7fe..6e3e4741742 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequest.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection Reference Request. */ -public interface IMobileAppCategoryCollectionReferenceRequest extends IBaseMobileAppCategoryCollectionReferenceRequest { +public interface IMobileAppCategoryCollectionReferenceRequest { + + void post(final MobileAppCategory newMobileAppCategory, final ICallback callback); + + MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; + + IMobileAppCategoryCollectionReferenceRequest select(final String value); + + IMobileAppCategoryCollectionReferenceRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequestBuilder.java index 7719af8481c..7af8b1eb1d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionReferenceRequestBuilder.java @@ -4,13 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection Reference Request Builder. */ -public interface IMobileAppCategoryCollectionReferenceRequestBuilder extends IBaseMobileAppCategoryCollectionReferenceRequestBuilder { +public interface IMobileAppCategoryCollectionReferenceRequestBuilder extends IRequestBuilder { + + IMobileAppCategoryCollectionReferenceRequest buildRequest(); + IMobileAppCategoryCollectionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequest.java index a5f10dc3452..73ed67d1165 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection Request. */ -public interface IMobileAppCategoryCollectionRequest extends IBaseMobileAppCategoryCollectionRequest { +public interface IMobileAppCategoryCollectionRequest { + + void get(final ICallback callback); + + IMobileAppCategoryCollectionPage get() throws ClientException; + + void post(final MobileAppCategory newMobileAppCategory, final ICallback callback); + + MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppCategoryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppCategoryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppCategoryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequestBuilder.java index c4923de2715..3949cd022b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection Request Builder. */ -public interface IMobileAppCategoryCollectionRequestBuilder extends IBaseMobileAppCategoryCollectionRequestBuilder { +public interface IMobileAppCategoryCollectionRequestBuilder extends IRequestBuilder { + + IMobileAppCategoryCollectionRequest buildRequest(); + + IMobileAppCategoryCollectionRequest buildRequest(final java.util.List requestOptions); + + IMobileAppCategoryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesPage.java index 87709f8be1f..03fc381c615 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection With References Page. */ -public interface IMobileAppCategoryCollectionWithReferencesPage extends IBaseMobileAppCategoryCollectionWithReferencesPage { - +public interface IMobileAppCategoryCollectionWithReferencesPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequest.java index d9950865289..b2495cfa5ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequest.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection With References Request. */ -public interface IMobileAppCategoryCollectionWithReferencesRequest extends IBaseMobileAppCategoryCollectionWithReferencesRequest { +public interface IMobileAppCategoryCollectionWithReferencesRequest { + + void get(final ICallback callback); + + IMobileAppCategoryCollectionWithReferencesPage get() throws ClientException; + + IMobileAppCategoryCollectionWithReferencesRequest expand(final String value); + + IMobileAppCategoryCollectionWithReferencesRequest select(final String value); + + IMobileAppCategoryCollectionWithReferencesRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequestBuilder.java index a6c5b6b8d48..14e5fc50a67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryCollectionWithReferencesRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Collection With References Request Builder. */ -public interface IMobileAppCategoryCollectionWithReferencesRequestBuilder extends IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder { +public interface IMobileAppCategoryCollectionWithReferencesRequestBuilder extends IRequestBuilder { + + IMobileAppCategoryCollectionWithReferencesRequest buildRequest(); + + IMobileAppCategoryCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); + + IMobileAppCategoryWithReferenceRequestBuilder byId(final String id); + IMobileAppCategoryCollectionReferenceRequestBuilder references(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequest.java index c597714d5b6..a5f3fe9ec59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Reference Request. */ -public interface IMobileAppCategoryReferenceRequest extends IBaseMobileAppCategoryReferenceRequest { +public interface IMobileAppCategoryReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + MobileAppCategory delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppCategoryReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppCategoryReferenceRequest expand(final String value); + + /** + * Puts the MobileAppCategory + * + * @param srcMobileAppCategory the MobileAppCategory to PUT + * @param callback the callback to be called after success or failure + */ + void put(MobileAppCategory srcMobileAppCategory, final ICallback callback); + /** + * Puts the MobileAppCategory + * + * @param srcMobileAppCategory the MobileAppCategory to PUT + * @return the MobileAppCategory + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + MobileAppCategory put(MobileAppCategory srcMobileAppCategory) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequestBuilder.java index c97ecd1c64e..beb9cd5836b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Reference Request Builder. */ -public interface IMobileAppCategoryReferenceRequestBuilder extends IBaseMobileAppCategoryReferenceRequestBuilder { +public interface IMobileAppCategoryReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IMobileAppCategoryReferenceRequest instance + */ + IMobileAppCategoryReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppCategoryReferenceRequest instance + */ + IMobileAppCategoryReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequest.java index 93f29e3d015..5121e471c46 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppCategory; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Request. */ -public interface IMobileAppCategoryRequest extends IBaseMobileAppCategoryRequest { +public interface IMobileAppCategoryRequest extends IHttpRequest { + + /** + * Gets the MobileAppCategory from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileAppCategory from the service + * + * @return the MobileAppCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppCategory get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileAppCategory with a source + * + * @param sourceMobileAppCategory the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback); + + /** + * Patches this MobileAppCategory with a source + * + * @param sourceMobileAppCategory the source object with updates + * @return the updated MobileAppCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException; + + /** + * Posts a MobileAppCategory with a new object + * + * @param newMobileAppCategory the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileAppCategory newMobileAppCategory, final ICallback callback); + + /** + * Posts a MobileAppCategory with a new object + * + * @param newMobileAppCategory the new object to create + * @return the created MobileAppCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppCategoryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppCategoryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequestBuilder.java index f11dd0579b2..ae139c03963 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category Request Builder. */ -public interface IMobileAppCategoryRequestBuilder extends IBaseMobileAppCategoryRequestBuilder { +public interface IMobileAppCategoryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileAppCategoryRequest instance + */ + IMobileAppCategoryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppCategoryRequest instance + */ + IMobileAppCategoryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequest.java index cfbe8ddafc3..6c9c4ec50ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category With Reference Request. */ -public interface IMobileAppCategoryWithReferenceRequest extends IBaseMobileAppCategoryWithReferenceRequest { +public interface IMobileAppCategoryWithReferenceRequest extends IHttpRequest { + + void post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload, final ICallback callback); + + MobileAppCategory post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + MobileAppCategory get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback); + + MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException; + + IMobileAppCategoryWithReferenceRequest select(final String value); + + IMobileAppCategoryWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequestBuilder.java index 98c6fc31f1e..ab35d2e1ca0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCategoryWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Category With Reference Request Builder. */ -public interface IMobileAppCategoryWithReferenceRequestBuilder extends IBaseMobileAppCategoryWithReferenceRequestBuilder { +public interface IMobileAppCategoryWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IMobileAppCategoryWithReferenceRequest instance + */ + IMobileAppCategoryWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppCategoryWithReferenceRequest instance + */ + IMobileAppCategoryWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IMobileAppCategoryReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionPage.java index 5d40a5c8c19..cd2a47206b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Collection Page. */ -public interface IMobileAppCollectionPage extends IBaseMobileAppCollectionPage { - +public interface IMobileAppCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequest.java index fb929c512e3..b6e600bfbfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Collection Request. */ -public interface IMobileAppCollectionRequest extends IBaseMobileAppCollectionRequest { +public interface IMobileAppCollectionRequest { + + void get(final ICallback callback); + + IMobileAppCollectionPage get() throws ClientException; + + void post(final MobileApp newMobileApp, final ICallback callback); + + MobileApp post(final MobileApp newMobileApp) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequestBuilder.java index c19834220bf..4cb1a7ded02 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Collection Request Builder. */ -public interface IMobileAppCollectionRequestBuilder extends IBaseMobileAppCollectionRequestBuilder { +public interface IMobileAppCollectionRequestBuilder extends IRequestBuilder { + + IMobileAppCollectionRequest buildRequest(); + + IMobileAppCollectionRequest buildRequest(final java.util.List requestOptions); + + IMobileAppRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionPage.java index dda3f23b6e4..fbe206b7c1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content Collection Page. */ -public interface IMobileAppContentCollectionPage extends IBaseMobileAppContentCollectionPage { - +public interface IMobileAppContentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequest.java index 363d0f2fd09..171511bae6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content Collection Request. */ -public interface IMobileAppContentCollectionRequest extends IBaseMobileAppContentCollectionRequest { +public interface IMobileAppContentCollectionRequest { + + void get(final ICallback callback); + + IMobileAppContentCollectionPage get() throws ClientException; + + void post(final MobileAppContent newMobileAppContent, final ICallback callback); + + MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppContentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppContentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppContentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequestBuilder.java index 44faed57129..f78bd77cd76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content Collection Request Builder. */ -public interface IMobileAppContentCollectionRequestBuilder extends IBaseMobileAppContentCollectionRequestBuilder { +public interface IMobileAppContentCollectionRequestBuilder extends IRequestBuilder { + + IMobileAppContentCollectionRequest buildRequest(); + + IMobileAppContentCollectionRequest buildRequest(final java.util.List requestOptions); + + IMobileAppContentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionPage.java index 961dcc882a2..5ddc70faa45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Collection Page. */ -public interface IMobileAppContentFileCollectionPage extends IBaseMobileAppContentFileCollectionPage { - +public interface IMobileAppContentFileCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequest.java index 902d2e51d6c..c021af67480 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Collection Request. */ -public interface IMobileAppContentFileCollectionRequest extends IBaseMobileAppContentFileCollectionRequest { +public interface IMobileAppContentFileCollectionRequest { + + void get(final ICallback callback); + + IMobileAppContentFileCollectionPage get() throws ClientException; + + void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback); + + MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppContentFileCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppContentFileCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppContentFileCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequestBuilder.java index 664765160fa..cef545a90dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Collection Request Builder. */ -public interface IMobileAppContentFileCollectionRequestBuilder extends IBaseMobileAppContentFileCollectionRequestBuilder { +public interface IMobileAppContentFileCollectionRequestBuilder extends IRequestBuilder { + + IMobileAppContentFileCollectionRequest buildRequest(); + + IMobileAppContentFileCollectionRequest buildRequest(final java.util.List requestOptions); + + IMobileAppContentFileRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequest.java index 14047fa3552..e11689e9329 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileCommitRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Commit Request. */ -public interface IMobileAppContentFileCommitRequest extends IBaseMobileAppContentFileCommitRequest { +public interface IMobileAppContentFileCommitRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppContentFileCommitRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileAppContentFileCommitRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppContentFileCommitRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequestBuilder.java index 98787b27846..dd2cbdec706 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileCommitRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileCommitRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Commit Request Builder. */ -public interface IMobileAppContentFileCommitRequestBuilder extends IBaseMobileAppContentFileCommitRequestBuilder { +public interface IMobileAppContentFileCommitRequestBuilder extends IRequestBuilder { + /** + * Creates the IMobileAppContentFileCommitRequest + * + * @return the IMobileAppContentFileCommitRequest instance + */ + IMobileAppContentFileCommitRequest buildRequest(); + + /** + * Creates the IMobileAppContentFileCommitRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMobileAppContentFileCommitRequest instance + */ + IMobileAppContentFileCommitRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequest.java index e62f12de658..3025f7765c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileRenewUploadRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Renew Upload Request. */ -public interface IMobileAppContentFileRenewUploadRequest extends IBaseMobileAppContentFileRenewUploadRequest { +public interface IMobileAppContentFileRenewUploadRequest { + + /** + * Creates the MobileAppContentFileRenewUpload + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the MobileAppContentFileRenewUpload + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequestBuilder.java index 749783b642f..d6bb6d4037c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRenewUploadRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileRenewUploadRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Renew Upload Request Builder. */ -public interface IMobileAppContentFileRenewUploadRequestBuilder extends IBaseMobileAppContentFileRenewUploadRequestBuilder { +public interface IMobileAppContentFileRenewUploadRequestBuilder extends IRequestBuilder { + /** + * Creates the IMobileAppContentFileRenewUploadRequest + * + * @return the IMobileAppContentFileRenewUploadRequest instance + */ + IMobileAppContentFileRenewUploadRequest buildRequest(); + + /** + * Creates the IMobileAppContentFileRenewUploadRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IMobileAppContentFileRenewUploadRequest instance + */ + IMobileAppContentFileRenewUploadRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequest.java index 4f04ccfb975..f933f30fdc4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContentFile; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Request. */ -public interface IMobileAppContentFileRequest extends IBaseMobileAppContentFileRequest { +public interface IMobileAppContentFileRequest extends IHttpRequest { + + /** + * Gets the MobileAppContentFile from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileAppContentFile from the service + * + * @return the MobileAppContentFile from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContentFile get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileAppContentFile with a source + * + * @param sourceMobileAppContentFile the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileAppContentFile sourceMobileAppContentFile, final ICallback callback); + + /** + * Patches this MobileAppContentFile with a source + * + * @param sourceMobileAppContentFile the source object with updates + * @return the updated MobileAppContentFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContentFile patch(final MobileAppContentFile sourceMobileAppContentFile) throws ClientException; + + /** + * Posts a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback); + + /** + * Posts a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the new object to create + * @return the created MobileAppContentFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppContentFileRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppContentFileRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequestBuilder.java index 21c66e1d7ab..8729f16716c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequestBuilder.java @@ -3,14 +3,37 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequest; +import com.microsoft.graph.models.extensions.FileEncryptionInfo; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentFileRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content File Request Builder. */ -public interface IMobileAppContentFileRequestBuilder extends IBaseMobileAppContentFileRequestBuilder { +public interface IMobileAppContentFileRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileAppContentFileRequest instance + */ + IMobileAppContentFileRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppContentFileRequest instance + */ + IMobileAppContentFileRequest buildRequest(final java.util.List requestOptions); + + IMobileAppContentFileCommitRequestBuilder commit(final FileEncryptionInfo fileEncryptionInfo); + IMobileAppContentFileRenewUploadRequestBuilder renewUpload(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequest.java index 1bbf8e94f82..b362d9b34ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContent; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content Request. */ -public interface IMobileAppContentRequest extends IBaseMobileAppContentRequest { +public interface IMobileAppContentRequest extends IHttpRequest { + + /** + * Gets the MobileAppContent from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileAppContent from the service + * + * @return the MobileAppContent from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContent get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileAppContent with a source + * + * @param sourceMobileAppContent the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileAppContent sourceMobileAppContent, final ICallback callback); + + /** + * Patches this MobileAppContent with a source + * + * @param sourceMobileAppContent the source object with updates + * @return the updated MobileAppContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContent patch(final MobileAppContent sourceMobileAppContent) throws ClientException; + + /** + * Posts a MobileAppContent with a new object + * + * @param newMobileAppContent the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileAppContent newMobileAppContent, final ICallback callback); + + /** + * Posts a MobileAppContent with a new object + * + * @param newMobileAppContent the new object to create + * @return the created MobileAppContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppContentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppContentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequestBuilder.java index 0e0f747ae44..63c778cef32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequest; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseMobileAppContentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Content Request Builder. */ -public interface IMobileAppContentRequestBuilder extends IBaseMobileAppContentRequestBuilder { +public interface IMobileAppContentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileAppContentRequest instance + */ + IMobileAppContentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppContentRequest instance + */ + IMobileAppContentRequest buildRequest(final java.util.List requestOptions); + + + IMobileAppContentFileCollectionRequestBuilder files(); + + IMobileAppContentFileRequestBuilder files(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequest.java index b27f0f7a7ff..75c65443b74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.requests.generated.IBaseMobileAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Request. */ -public interface IMobileAppRequest extends IBaseMobileAppRequest { +public interface IMobileAppRequest extends IHttpRequest { + + /** + * Gets the MobileApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileApp from the service + * + * @return the MobileApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileApp with a source + * + * @param sourceMobileApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileApp sourceMobileApp, final ICallback callback); + + /** + * Patches this MobileApp with a source + * + * @param sourceMobileApp the source object with updates + * @return the updated MobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileApp patch(final MobileApp sourceMobileApp) throws ClientException; + + /** + * Posts a MobileApp with a new object + * + * @param newMobileApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileApp newMobileApp, final ICallback callback); + + /** + * Posts a MobileApp with a new object + * + * @param newMobileApp the new object to create + * @return the created MobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileApp post(final MobileApp newMobileApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequestBuilder.java index 6f57b765b70..b04533b460d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequestBuilder.java @@ -3,14 +3,47 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppRequest; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.requests.extensions.IMobileAppAssignRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseMobileAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile App Request Builder. */ -public interface IMobileAppRequestBuilder extends IBaseMobileAppRequestBuilder { +public interface IMobileAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileAppRequest instance + */ + IMobileAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppRequest instance + */ + IMobileAppRequest buildRequest(final java.util.List requestOptions); + + + IMobileAppCategoryCollectionWithReferencesRequestBuilder categories(); + + IMobileAppCategoryWithReferenceRequestBuilder categories(final String id); + + IMobileAppAssignmentCollectionRequestBuilder assignments(); + + IMobileAppAssignmentRequestBuilder assignments(final String id); + IMobileAppAssignRequestBuilder assign(final java.util.List mobileAppAssignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequest.java index a246f7522a6..0f5ac6cd393 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileLobApp; -import com.microsoft.graph.requests.generated.IBaseMobileLobAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Lob App Request. */ -public interface IMobileLobAppRequest extends IBaseMobileLobAppRequest { +public interface IMobileLobAppRequest extends IHttpRequest { + + /** + * Gets the MobileLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileLobApp from the service + * + * @return the MobileLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileLobApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileLobApp with a source + * + * @param sourceMobileLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileLobApp sourceMobileLobApp, final ICallback callback); + + /** + * Patches this MobileLobApp with a source + * + * @param sourceMobileLobApp the source object with updates + * @return the updated MobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileLobApp patch(final MobileLobApp sourceMobileLobApp) throws ClientException; + + /** + * Posts a MobileLobApp with a new object + * + * @param newMobileLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileLobApp newMobileLobApp, final ICallback callback); + + /** + * Posts a MobileLobApp with a new object + * + * @param newMobileLobApp the new object to create + * @return the created MobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileLobApp post(final MobileLobApp newMobileLobApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileLobAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileLobAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequestBuilder.java index deed20cdf4c..3ea5e1ec820 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseMobileLobAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Lob App Request Builder. */ -public interface IMobileLobAppRequestBuilder extends IBaseMobileLobAppRequestBuilder { +public interface IMobileLobAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileLobAppRequest instance + */ + IMobileLobAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileLobAppRequest instance + */ + IMobileLobAppRequest buildRequest(final java.util.List requestOptions); + + + IMobileAppContentCollectionRequestBuilder contentVersions(); + + IMobileAppContentRequestBuilder contentVersions(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionPage.java index a22eddf2281..991dc7a5b82 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileThreatDefenseConnectorCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Threat Defense Connector Collection Page. */ -public interface IMobileThreatDefenseConnectorCollectionPage extends IBaseMobileThreatDefenseConnectorCollectionPage { - +public interface IMobileThreatDefenseConnectorCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequest.java index ed69959b3bf..7f405d87e5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileThreatDefenseConnectorCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Threat Defense Connector Collection Request. */ -public interface IMobileThreatDefenseConnectorCollectionRequest extends IBaseMobileThreatDefenseConnectorCollectionRequest { +public interface IMobileThreatDefenseConnectorCollectionRequest { + + void get(final ICallback callback); + + IMobileThreatDefenseConnectorCollectionPage get() throws ClientException; + + void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback); + + MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileThreatDefenseConnectorCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileThreatDefenseConnectorCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMobileThreatDefenseConnectorCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequestBuilder.java index 818469a7611..1226b4d90de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMobileThreatDefenseConnectorCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Threat Defense Connector Collection Request Builder. */ -public interface IMobileThreatDefenseConnectorCollectionRequestBuilder extends IBaseMobileThreatDefenseConnectorCollectionRequestBuilder { +public interface IMobileThreatDefenseConnectorCollectionRequestBuilder extends IRequestBuilder { + + IMobileThreatDefenseConnectorCollectionRequest buildRequest(); + + IMobileThreatDefenseConnectorCollectionRequest buildRequest(final java.util.List requestOptions); + + IMobileThreatDefenseConnectorRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequest.java index 7e0c916f5db..c6f289fc3c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; -import com.microsoft.graph.requests.generated.IBaseMobileThreatDefenseConnectorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Threat Defense Connector Request. */ -public interface IMobileThreatDefenseConnectorRequest extends IBaseMobileThreatDefenseConnectorRequest { +public interface IMobileThreatDefenseConnectorRequest extends IHttpRequest { + + /** + * Gets the MobileThreatDefenseConnector from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MobileThreatDefenseConnector from the service + * + * @return the MobileThreatDefenseConnector from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileThreatDefenseConnector get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MobileThreatDefenseConnector with a source + * + * @param sourceMobileThreatDefenseConnector the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector, final ICallback callback); + + /** + * Patches this MobileThreatDefenseConnector with a source + * + * @param sourceMobileThreatDefenseConnector the source object with updates + * @return the updated MobileThreatDefenseConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileThreatDefenseConnector patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector) throws ClientException; + + /** + * Posts a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback); + + /** + * Posts a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the new object to create + * @return the created MobileThreatDefenseConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMobileThreatDefenseConnectorRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMobileThreatDefenseConnectorRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequestBuilder.java index 3c70a3e9926..d194787a580 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequest; -import com.microsoft.graph.requests.generated.IBaseMobileThreatDefenseConnectorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Mobile Threat Defense Connector Request Builder. */ -public interface IMobileThreatDefenseConnectorRequestBuilder extends IBaseMobileThreatDefenseConnectorRequestBuilder { +public interface IMobileThreatDefenseConnectorRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMobileThreatDefenseConnectorRequest instance + */ + IMobileThreatDefenseConnectorRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileThreatDefenseConnectorRequest instance + */ + IMobileThreatDefenseConnectorRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionPage.java index 65f5198d050..b3e1acef949 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Multi Value Legacy Extended Property Collection Page. */ -public interface IMultiValueLegacyExtendedPropertyCollectionPage extends IBaseMultiValueLegacyExtendedPropertyCollectionPage { - +public interface IMultiValueLegacyExtendedPropertyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequest.java index bacc8037f29..c927f7cefd5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMultiValueLegacyExtendedPropertyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Multi Value Legacy Extended Property Collection Request. */ -public interface IMultiValueLegacyExtendedPropertyCollectionRequest extends IBaseMultiValueLegacyExtendedPropertyCollectionRequest { +public interface IMultiValueLegacyExtendedPropertyCollectionRequest { + + void get(final ICallback callback); + + IMultiValueLegacyExtendedPropertyCollectionPage get() throws ClientException; + + void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback); + + MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMultiValueLegacyExtendedPropertyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMultiValueLegacyExtendedPropertyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IMultiValueLegacyExtendedPropertyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java index ec5c1341363..5334aaf4e25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Multi Value Legacy Extended Property Collection Request Builder. */ -public interface IMultiValueLegacyExtendedPropertyCollectionRequestBuilder extends IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder { +public interface IMultiValueLegacyExtendedPropertyCollectionRequestBuilder extends IRequestBuilder { + + IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest(); + + IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions); + + IMultiValueLegacyExtendedPropertyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequest.java index 8786cf93de9..1e414dea2e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.requests.generated.IBaseMultiValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Multi Value Legacy Extended Property Request. */ -public interface IMultiValueLegacyExtendedPropertyRequest extends IBaseMultiValueLegacyExtendedPropertyRequest { +public interface IMultiValueLegacyExtendedPropertyRequest extends IHttpRequest { + + /** + * Gets the MultiValueLegacyExtendedProperty from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the MultiValueLegacyExtendedProperty from the service + * + * @return the MultiValueLegacyExtendedProperty from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MultiValueLegacyExtendedProperty get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this MultiValueLegacyExtendedProperty with a source + * + * @param sourceMultiValueLegacyExtendedProperty the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty, final ICallback callback); + + /** + * Patches this MultiValueLegacyExtendedProperty with a source + * + * @param sourceMultiValueLegacyExtendedProperty the source object with updates + * @return the updated MultiValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MultiValueLegacyExtendedProperty patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty) throws ClientException; + + /** + * Posts a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback); + + /** + * Posts a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the new object to create + * @return the created MultiValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IMultiValueLegacyExtendedPropertyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IMultiValueLegacyExtendedPropertyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequestBuilder.java index 7872f77f247..fc98b84af31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.requests.generated.IBaseMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Multi Value Legacy Extended Property Request Builder. */ -public interface IMultiValueLegacyExtendedPropertyRequestBuilder extends IBaseMultiValueLegacyExtendedPropertyRequestBuilder { +public interface IMultiValueLegacyExtendedPropertyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IMultiValueLegacyExtendedPropertyRequest instance + */ + IMultiValueLegacyExtendedPropertyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMultiValueLegacyExtendedPropertyRequest instance + */ + IMultiValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionPage.java index a92c432bbca..7f4dc74769d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotebookCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Collection Page. */ -public interface INotebookCollectionPage extends IBaseNotebookCollectionPage { - +public interface INotebookCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequest.java index 305fbd25a1f..93541b07af2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotebookCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Collection Request. */ -public interface INotebookCollectionRequest extends IBaseNotebookCollectionRequest { +public interface INotebookCollectionRequest { + + void get(final ICallback callback); + + INotebookCollectionPage get() throws ClientException; + + void post(final Notebook newNotebook, final ICallback callback); + + Notebook post(final Notebook newNotebook) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + INotebookCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + INotebookCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + INotebookCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequestBuilder.java index 72815e91057..5e2bf8e1b15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotebookCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Collection Request Builder. */ -public interface INotebookCollectionRequestBuilder extends IBaseNotebookCollectionRequestBuilder { +public interface INotebookCollectionRequestBuilder extends IRequestBuilder { + + INotebookCollectionRequest buildRequest(); + + INotebookCollectionRequest buildRequest(final java.util.List requestOptions); + + INotebookRequestBuilder byId(final String id); + + INotebookGetRecentNotebooksCollectionRequestBuilder getRecentNotebooks(final Boolean includePersonalNotebooks); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequest.java index 39eadb0423f..1344f081bb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; -import com.microsoft.graph.requests.generated.IBaseNotebookCopyNotebookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Copy Notebook Request. */ -public interface INotebookCopyNotebookRequest extends IBaseNotebookCopyNotebookRequest { +public interface INotebookCopyNotebookRequest { + + void post(final ICallback callback); + + OnenoteOperation post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + INotebookCopyNotebookRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + INotebookCopyNotebookRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + INotebookCopyNotebookRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequestBuilder.java index c0edead6833..c49466c44ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookCopyNotebookRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; -import com.microsoft.graph.requests.generated.IBaseNotebookCopyNotebookRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Copy Notebook Request Builder. */ -public interface INotebookCopyNotebookRequestBuilder extends IBaseNotebookCopyNotebookRequestBuilder { +public interface INotebookCopyNotebookRequestBuilder extends IRequestBuilder { + /** + * Creates the INotebookCopyNotebookRequest + * + * @return the INotebookCopyNotebookRequest instance + */ + INotebookCopyNotebookRequest buildRequest(); + + /** + * Creates the INotebookCopyNotebookRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the INotebookCopyNotebookRequest instance + */ + INotebookCopyNotebookRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionPage.java index 3fe1e86eb97..a291bda79fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotebookGetRecentNotebooksCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Get Recent Notebooks Collection Page. */ -public interface INotebookGetRecentNotebooksCollectionPage extends IBaseNotebookGetRecentNotebooksCollectionPage { - +public interface INotebookGetRecentNotebooksCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequest.java index ec7922b5c0f..579bfccf85c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotebookGetRecentNotebooksCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Get Recent Notebooks Collection Request. */ -public interface INotebookGetRecentNotebooksCollectionRequest extends IBaseNotebookGetRecentNotebooksCollectionRequest { +public interface INotebookGetRecentNotebooksCollectionRequest { + + void get(final ICallback callback); + + INotebookGetRecentNotebooksCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + INotebookGetRecentNotebooksCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + INotebookGetRecentNotebooksCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + INotebookGetRecentNotebooksCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequestBuilder.java index d1d05babc79..dcd380a1a33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookGetRecentNotebooksCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotebookGetRecentNotebooksCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Get Recent Notebooks Collection Request Builder. */ -public interface INotebookGetRecentNotebooksCollectionRequestBuilder extends IBaseNotebookGetRecentNotebooksCollectionRequestBuilder { +public interface INotebookGetRecentNotebooksCollectionRequestBuilder extends IRequestBuilder { + + INotebookGetRecentNotebooksCollectionRequest buildRequest(); + + INotebookGetRecentNotebooksCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequest.java index f1b3aa03dea..0e50e698173 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.requests.generated.IBaseNotebookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Request. */ -public interface INotebookRequest extends IBaseNotebookRequest { +public interface INotebookRequest extends IHttpRequest { + + /** + * Gets the Notebook from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Notebook from the service + * + * @return the Notebook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Notebook get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Notebook with a source + * + * @param sourceNotebook the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Notebook sourceNotebook, final ICallback callback); + + /** + * Patches this Notebook with a source + * + * @param sourceNotebook the source object with updates + * @return the updated Notebook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Notebook patch(final Notebook sourceNotebook) throws ClientException; + + /** + * Posts a Notebook with a new object + * + * @param newNotebook the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Notebook newNotebook, final ICallback callback); + + /** + * Posts a Notebook with a new object + * + * @param newNotebook the new object to create + * @return the created Notebook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Notebook post(final Notebook newNotebook) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + INotebookRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + INotebookRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequestBuilder.java index 7309a124fb2..8aeca7d69b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequestBuilder.java @@ -3,14 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotebookRequest; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseNotebookRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notebook Request Builder. */ -public interface INotebookRequestBuilder extends IBaseNotebookRequestBuilder { +public interface INotebookRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the INotebookRequest instance + */ + INotebookRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the INotebookRequest instance + */ + INotebookRequest buildRequest(final java.util.List requestOptions); + + + IOnenoteSectionCollectionRequestBuilder sections(); + + IOnenoteSectionRequestBuilder sections(final String id); + + ISectionGroupCollectionRequestBuilder sectionGroups(); + + ISectionGroupRequestBuilder sectionGroups(final String id); + INotebookCopyNotebookRequestBuilder copyNotebook(final String groupId, final String renameAs, final String notebookFolder, final String siteCollectionId, final String siteId); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionPage.java index 2d9d4469118..16668a08b95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Collection Page. */ -public interface INotificationMessageTemplateCollectionPage extends IBaseNotificationMessageTemplateCollectionPage { - +public interface INotificationMessageTemplateCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequest.java index 89fc10ba22e..2eef9c8d233 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Collection Request. */ -public interface INotificationMessageTemplateCollectionRequest extends IBaseNotificationMessageTemplateCollectionRequest { +public interface INotificationMessageTemplateCollectionRequest { + + void get(final ICallback callback); + + INotificationMessageTemplateCollectionPage get() throws ClientException; + + void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback); + + NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + INotificationMessageTemplateCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + INotificationMessageTemplateCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + INotificationMessageTemplateCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequestBuilder.java index 6a5d33d189f..7d1b2cf0c1b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Collection Request Builder. */ -public interface INotificationMessageTemplateCollectionRequestBuilder extends IBaseNotificationMessageTemplateCollectionRequestBuilder { +public interface INotificationMessageTemplateCollectionRequestBuilder extends IRequestBuilder { + + INotificationMessageTemplateCollectionRequest buildRequest(); + + INotificationMessageTemplateCollectionRequest buildRequest(final java.util.List requestOptions); + + INotificationMessageTemplateRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequest.java index 1722d0ea57e..4d5763b9f4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.NotificationMessageTemplate; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Request. */ -public interface INotificationMessageTemplateRequest extends IBaseNotificationMessageTemplateRequest { +public interface INotificationMessageTemplateRequest extends IHttpRequest { + + /** + * Gets the NotificationMessageTemplate from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the NotificationMessageTemplate from the service + * + * @return the NotificationMessageTemplate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + NotificationMessageTemplate get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this NotificationMessageTemplate with a source + * + * @param sourceNotificationMessageTemplate the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final NotificationMessageTemplate sourceNotificationMessageTemplate, final ICallback callback); + + /** + * Patches this NotificationMessageTemplate with a source + * + * @param sourceNotificationMessageTemplate the source object with updates + * @return the updated NotificationMessageTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + NotificationMessageTemplate patch(final NotificationMessageTemplate sourceNotificationMessageTemplate) throws ClientException; + + /** + * Posts a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback); + + /** + * Posts a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the new object to create + * @return the created NotificationMessageTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + INotificationMessageTemplateRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + INotificationMessageTemplateRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequestBuilder.java index 9fc3ec9ef66..3dc7e67611f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequest; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Request Builder. */ -public interface INotificationMessageTemplateRequestBuilder extends IBaseNotificationMessageTemplateRequestBuilder { +public interface INotificationMessageTemplateRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the INotificationMessageTemplateRequest instance + */ + INotificationMessageTemplateRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the INotificationMessageTemplateRequest instance + */ + INotificationMessageTemplateRequest buildRequest(final java.util.List requestOptions); + + + ILocalizedNotificationMessageCollectionRequestBuilder localizedNotificationMessages(); + + ILocalizedNotificationMessageRequestBuilder localizedNotificationMessages(final String id); + INotificationMessageTemplateSendTestMessageRequestBuilder sendTestMessage(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequest.java index f528befcee0..a5989cc1f0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateSendTestMessageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Send Test Message Request. */ -public interface INotificationMessageTemplateSendTestMessageRequest extends IBaseNotificationMessageTemplateSendTestMessageRequest { +public interface INotificationMessageTemplateSendTestMessageRequest { + + /** + * Creates the NotificationMessageTemplateSendTestMessage + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the NotificationMessageTemplateSendTestMessage + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequestBuilder.java index 3b8bb01f4ac..6a9184df5ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateSendTestMessageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; -import com.microsoft.graph.requests.generated.IBaseNotificationMessageTemplateSendTestMessageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Notification Message Template Send Test Message Request Builder. */ -public interface INotificationMessageTemplateSendTestMessageRequestBuilder extends IBaseNotificationMessageTemplateSendTestMessageRequestBuilder { +public interface INotificationMessageTemplateSendTestMessageRequestBuilder extends IRequestBuilder { + /** + * Creates the INotificationMessageTemplateSendTestMessageRequest + * + * @return the INotificationMessageTemplateSendTestMessageRequest instance + */ + INotificationMessageTemplateSendTestMessageRequest buildRequest(); + + /** + * Creates the INotificationMessageTemplateSendTestMessageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the INotificationMessageTemplateSendTestMessageRequest instance + */ + INotificationMessageTemplateSendTestMessageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequest.java index e98e10ea064..2c534aaa4b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OfficeGraphInsights; -import com.microsoft.graph.requests.generated.IBaseOfficeGraphInsightsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Office Graph Insights Request. */ -public interface IOfficeGraphInsightsRequest extends IBaseOfficeGraphInsightsRequest { +public interface IOfficeGraphInsightsRequest extends IHttpRequest { + + /** + * Gets the OfficeGraphInsights from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OfficeGraphInsights from the service + * + * @return the OfficeGraphInsights from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OfficeGraphInsights get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OfficeGraphInsights with a source + * + * @param sourceOfficeGraphInsights the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OfficeGraphInsights sourceOfficeGraphInsights, final ICallback callback); + + /** + * Patches this OfficeGraphInsights with a source + * + * @param sourceOfficeGraphInsights the source object with updates + * @return the updated OfficeGraphInsights + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OfficeGraphInsights patch(final OfficeGraphInsights sourceOfficeGraphInsights) throws ClientException; + + /** + * Posts a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OfficeGraphInsights newOfficeGraphInsights, final ICallback callback); + + /** + * Posts a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the new object to create + * @return the created OfficeGraphInsights + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OfficeGraphInsights post(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOfficeGraphInsightsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOfficeGraphInsightsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequestBuilder.java index a4c76921baf..a84c64d4de1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequestBuilder.java @@ -3,14 +3,50 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequest; +import com.microsoft.graph.requests.extensions.ITrendingCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITrendingRequestBuilder; +import com.microsoft.graph.requests.extensions.ISharedInsightCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISharedInsightRequestBuilder; +import com.microsoft.graph.requests.extensions.IUsedInsightCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUsedInsightRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOfficeGraphInsightsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Office Graph Insights Request Builder. */ -public interface IOfficeGraphInsightsRequestBuilder extends IBaseOfficeGraphInsightsRequestBuilder { +public interface IOfficeGraphInsightsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOfficeGraphInsightsRequest instance + */ + IOfficeGraphInsightsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOfficeGraphInsightsRequest instance + */ + IOfficeGraphInsightsRequest buildRequest(final java.util.List requestOptions); + + + ITrendingCollectionRequestBuilder trending(); + + ITrendingRequestBuilder trending(final String id); + + ISharedInsightCollectionRequestBuilder shared(); + + ISharedInsightRequestBuilder shared(final String id); + + IUsedInsightCollectionRequestBuilder used(); + + IUsedInsightRequestBuilder used(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequest.java index f46b7c1ca28..148376ca9f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; -import com.microsoft.graph.requests.generated.IBaseOnPremisesConditionalAccessSettingsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the On Premises Conditional Access Settings Request. */ -public interface IOnPremisesConditionalAccessSettingsRequest extends IBaseOnPremisesConditionalAccessSettingsRequest { +public interface IOnPremisesConditionalAccessSettingsRequest extends IHttpRequest { + + /** + * Gets the OnPremisesConditionalAccessSettings from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnPremisesConditionalAccessSettings from the service + * + * @return the OnPremisesConditionalAccessSettings from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnPremisesConditionalAccessSettings get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnPremisesConditionalAccessSettings with a source + * + * @param sourceOnPremisesConditionalAccessSettings the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings, final ICallback callback); + + /** + * Patches this OnPremisesConditionalAccessSettings with a source + * + * @param sourceOnPremisesConditionalAccessSettings the source object with updates + * @return the updated OnPremisesConditionalAccessSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnPremisesConditionalAccessSettings patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings) throws ClientException; + + /** + * Posts a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings, final ICallback callback); + + /** + * Posts a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the new object to create + * @return the created OnPremisesConditionalAccessSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnPremisesConditionalAccessSettings post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnPremisesConditionalAccessSettingsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnPremisesConditionalAccessSettingsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequestBuilder.java index 0521b7d63e9..dfadf89d8d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequest; -import com.microsoft.graph.requests.generated.IBaseOnPremisesConditionalAccessSettingsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the On Premises Conditional Access Settings Request Builder. */ -public interface IOnPremisesConditionalAccessSettingsRequestBuilder extends IBaseOnPremisesConditionalAccessSettingsRequestBuilder { +public interface IOnPremisesConditionalAccessSettingsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnPremisesConditionalAccessSettingsRequest instance + */ + IOnPremisesConditionalAccessSettingsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnPremisesConditionalAccessSettingsRequest instance + */ + IOnPremisesConditionalAccessSettingsRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequest.java index 71c14eb7055..12f87990fc1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; -import com.microsoft.graph.requests.generated.IBaseOnenoteEntityBaseModelRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Entity Base Model Request. */ -public interface IOnenoteEntityBaseModelRequest extends IBaseOnenoteEntityBaseModelRequest { +public interface IOnenoteEntityBaseModelRequest extends IHttpRequest { + + /** + * Gets the OnenoteEntityBaseModel from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenoteEntityBaseModel from the service + * + * @return the OnenoteEntityBaseModel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityBaseModel get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenoteEntityBaseModel with a source + * + * @param sourceOnenoteEntityBaseModel the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel, final ICallback callback); + + /** + * Patches this OnenoteEntityBaseModel with a source + * + * @param sourceOnenoteEntityBaseModel the source object with updates + * @return the updated OnenoteEntityBaseModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityBaseModel patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel) throws ClientException; + + /** + * Posts a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel, final ICallback callback); + + /** + * Posts a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the new object to create + * @return the created OnenoteEntityBaseModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityBaseModel post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteEntityBaseModelRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteEntityBaseModelRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequestBuilder.java index 4c44e04308a..7cc6302486d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntityBaseModelRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteEntityBaseModelRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Entity Base Model Request Builder. */ -public interface IOnenoteEntityBaseModelRequestBuilder extends IBaseOnenoteEntityBaseModelRequestBuilder { +public interface IOnenoteEntityBaseModelRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteEntityBaseModelRequest instance + */ + IOnenoteEntityBaseModelRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteEntityBaseModelRequest instance + */ + IOnenoteEntityBaseModelRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequest.java index 9f4ce6293d4..cd55c826361 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; -import com.microsoft.graph.requests.generated.IBaseOnenoteEntityHierarchyModelRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Entity Hierarchy Model Request. */ -public interface IOnenoteEntityHierarchyModelRequest extends IBaseOnenoteEntityHierarchyModelRequest { +public interface IOnenoteEntityHierarchyModelRequest extends IHttpRequest { + + /** + * Gets the OnenoteEntityHierarchyModel from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenoteEntityHierarchyModel from the service + * + * @return the OnenoteEntityHierarchyModel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityHierarchyModel get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenoteEntityHierarchyModel with a source + * + * @param sourceOnenoteEntityHierarchyModel the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel, final ICallback callback); + + /** + * Patches this OnenoteEntityHierarchyModel with a source + * + * @param sourceOnenoteEntityHierarchyModel the source object with updates + * @return the updated OnenoteEntityHierarchyModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityHierarchyModel patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel) throws ClientException; + + /** + * Posts a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel, final ICallback callback); + + /** + * Posts a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the new object to create + * @return the created OnenoteEntityHierarchyModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityHierarchyModel post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteEntityHierarchyModelRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteEntityHierarchyModelRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequestBuilder.java index 1ddfb2831f6..747045771c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntityHierarchyModelRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteEntityHierarchyModelRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Entity Hierarchy Model Request Builder. */ -public interface IOnenoteEntityHierarchyModelRequestBuilder extends IBaseOnenoteEntityHierarchyModelRequestBuilder { +public interface IOnenoteEntityHierarchyModelRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteEntityHierarchyModelRequest instance + */ + IOnenoteEntityHierarchyModelRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteEntityHierarchyModelRequest instance + */ + IOnenoteEntityHierarchyModelRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequest.java index 480b5ed30db..cff3ff01a44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; -import com.microsoft.graph.requests.generated.IBaseOnenoteEntitySchemaObjectModelRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Entity Schema Object Model Request. */ -public interface IOnenoteEntitySchemaObjectModelRequest extends IBaseOnenoteEntitySchemaObjectModelRequest { +public interface IOnenoteEntitySchemaObjectModelRequest extends IHttpRequest { + + /** + * Gets the OnenoteEntitySchemaObjectModel from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenoteEntitySchemaObjectModel from the service + * + * @return the OnenoteEntitySchemaObjectModel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntitySchemaObjectModel get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenoteEntitySchemaObjectModel with a source + * + * @param sourceOnenoteEntitySchemaObjectModel the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel, final ICallback callback); + + /** + * Patches this OnenoteEntitySchemaObjectModel with a source + * + * @param sourceOnenoteEntitySchemaObjectModel the source object with updates + * @return the updated OnenoteEntitySchemaObjectModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntitySchemaObjectModel patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel) throws ClientException; + + /** + * Posts a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, final ICallback callback); + + /** + * Posts a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the new object to create + * @return the created OnenoteEntitySchemaObjectModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntitySchemaObjectModel post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteEntitySchemaObjectModelRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteEntitySchemaObjectModelRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequestBuilder.java index 3df9c627186..0adadfef9f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntitySchemaObjectModelRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteEntitySchemaObjectModelRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Entity Schema Object Model Request Builder. */ -public interface IOnenoteEntitySchemaObjectModelRequestBuilder extends IBaseOnenoteEntitySchemaObjectModelRequestBuilder { +public interface IOnenoteEntitySchemaObjectModelRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteEntitySchemaObjectModelRequest instance + */ + IOnenoteEntitySchemaObjectModelRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteEntitySchemaObjectModelRequest instance + */ + IOnenoteEntitySchemaObjectModelRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionPage.java index 1f42bc8a306..05cfd6ad65a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteOperationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Operation Collection Page. */ -public interface IOnenoteOperationCollectionPage extends IBaseOnenoteOperationCollectionPage { - +public interface IOnenoteOperationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequest.java index 071dd4ecccf..330ad4a7ee5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Operation Collection Request. */ -public interface IOnenoteOperationCollectionRequest extends IBaseOnenoteOperationCollectionRequest { +public interface IOnenoteOperationCollectionRequest { + + void get(final ICallback callback); + + IOnenoteOperationCollectionPage get() throws ClientException; + + void post(final OnenoteOperation newOnenoteOperation, final ICallback callback); + + OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteOperationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteOperationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenoteOperationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequestBuilder.java index 1cd5ef0140e..d1bf52611e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Operation Collection Request Builder. */ -public interface IOnenoteOperationCollectionRequestBuilder extends IBaseOnenoteOperationCollectionRequestBuilder { +public interface IOnenoteOperationCollectionRequestBuilder extends IRequestBuilder { + + IOnenoteOperationCollectionRequest buildRequest(); + + IOnenoteOperationCollectionRequest buildRequest(final java.util.List requestOptions); + + IOnenoteOperationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequest.java index 485aab89f4b..d6c176e6f03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.generated.IBaseOnenoteOperationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Operation Request. */ -public interface IOnenoteOperationRequest extends IBaseOnenoteOperationRequest { +public interface IOnenoteOperationRequest extends IHttpRequest { + + /** + * Gets the OnenoteOperation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenoteOperation from the service + * + * @return the OnenoteOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteOperation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenoteOperation with a source + * + * @param sourceOnenoteOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenoteOperation sourceOnenoteOperation, final ICallback callback); + + /** + * Patches this OnenoteOperation with a source + * + * @param sourceOnenoteOperation the source object with updates + * @return the updated OnenoteOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteOperation patch(final OnenoteOperation sourceOnenoteOperation) throws ClientException; + + /** + * Posts a OnenoteOperation with a new object + * + * @param newOnenoteOperation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnenoteOperation newOnenoteOperation, final ICallback callback); + + /** + * Posts a OnenoteOperation with a new object + * + * @param newOnenoteOperation the new object to create + * @return the created OnenoteOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteOperationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteOperationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequestBuilder.java index 06eb6f00994..3b31c931b45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteOperationRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteOperationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Operation Request Builder. */ -public interface IOnenoteOperationRequestBuilder extends IBaseOnenoteOperationRequestBuilder { +public interface IOnenoteOperationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteOperationRequest instance + */ + IOnenoteOperationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteOperationRequest instance + */ + IOnenoteOperationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionPage.java index b5c8765cc5b..14017502155 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenotePageCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Collection Page. */ -public interface IOnenotePageCollectionPage extends IBaseOnenotePageCollectionPage { - +public interface IOnenotePageCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequest.java index 1ea05c93056..29e618b0b00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenotePageCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Collection Request. */ -public interface IOnenotePageCollectionRequest extends IBaseOnenotePageCollectionRequest { +public interface IOnenotePageCollectionRequest { + + void get(final ICallback callback); + + IOnenotePageCollectionPage get() throws ClientException; + + void post(final byte[] newOnenotePage, final ICallback callback); + + OnenotePage post(final byte[] newOnenotePage) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenotePageCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenotePageCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenotePageCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequestBuilder.java index 376fc107bab..db47686517c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Collection Request Builder. */ -public interface IOnenotePageCollectionRequestBuilder extends IBaseOnenotePageCollectionRequestBuilder { +public interface IOnenotePageCollectionRequestBuilder extends IRequestBuilder { + + IOnenotePageCollectionRequest buildRequest(); + + IOnenotePageCollectionRequest buildRequest(final java.util.List requestOptions); + + IOnenotePageRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequest.java index b8183a25576..653029e50a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePageCopyToSectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Copy To Section Request. */ -public interface IOnenotePageCopyToSectionRequest extends IBaseOnenotePageCopyToSectionRequest { +public interface IOnenotePageCopyToSectionRequest { + + void post(final ICallback callback); + + OnenoteOperation post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenotePageCopyToSectionRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenotePageCopyToSectionRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenotePageCopyToSectionRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequestBuilder.java index 2068bccfe7f..0616975bcf1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageCopyToSectionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePageCopyToSectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Copy To Section Request Builder. */ -public interface IOnenotePageCopyToSectionRequestBuilder extends IBaseOnenotePageCopyToSectionRequestBuilder { +public interface IOnenotePageCopyToSectionRequestBuilder extends IRequestBuilder { + /** + * Creates the IOnenotePageCopyToSectionRequest + * + * @return the IOnenotePageCopyToSectionRequest instance + */ + IOnenotePageCopyToSectionRequest buildRequest(); + + /** + * Creates the IOnenotePageCopyToSectionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IOnenotePageCopyToSectionRequest instance + */ + IOnenotePageCopyToSectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequest.java index 4860154021a..7ebae05d562 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePageOnenotePatchContentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Onenote Patch Content Request. */ -public interface IOnenotePageOnenotePatchContentRequest extends IBaseOnenotePageOnenotePatchContentRequest { +public interface IOnenotePageOnenotePatchContentRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenotePageOnenotePatchContentRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenotePageOnenotePatchContentRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenotePageOnenotePatchContentRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequestBuilder.java index 1e680cf9408..df9ad643b92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageOnenotePatchContentRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePageOnenotePatchContentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Onenote Patch Content Request Builder. */ -public interface IOnenotePageOnenotePatchContentRequestBuilder extends IBaseOnenotePageOnenotePatchContentRequestBuilder { +public interface IOnenotePageOnenotePatchContentRequestBuilder extends IRequestBuilder { + /** + * Creates the IOnenotePageOnenotePatchContentRequest + * + * @return the IOnenotePageOnenotePatchContentRequest instance + */ + IOnenotePageOnenotePatchContentRequest buildRequest(); + + /** + * Creates the IOnenotePageOnenotePatchContentRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IOnenotePageOnenotePatchContentRequest instance + */ + IOnenotePageOnenotePatchContentRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequest.java index 72409cb4f4f..d177569d52d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePagePreview; +import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePagePreviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Preview Request. */ -public interface IOnenotePagePreviewRequest extends IBaseOnenotePagePreviewRequest { +public interface IOnenotePagePreviewRequest { + + /** + * Gets the OnenotePagePreview + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenotePagePreview + * + * @return the OnenotePagePreview + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + OnenotePagePreview get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenotePagePreviewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenotePagePreviewRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequestBuilder.java index c3aa95a6439..9b2c90afe84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePagePreviewRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePagePreviewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Preview Request Builder. */ -public interface IOnenotePagePreviewRequestBuilder extends IBaseOnenotePagePreviewRequestBuilder { +public interface IOnenotePagePreviewRequestBuilder extends IRequestBuilder { + /** + * Creates the IOnenotePagePreviewRequest + * + * @return the IOnenotePagePreviewRequest instance + */ + IOnenotePagePreviewRequest buildRequest(); + + /** + * Creates the IOnenotePagePreviewRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IOnenotePagePreviewRequest instance + */ + IOnenotePagePreviewRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequest.java index 2018d1181ef..193fe71b717 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePage; -import com.microsoft.graph.requests.generated.IBaseOnenotePageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Request. */ -public interface IOnenotePageRequest extends IBaseOnenotePageRequest { +public interface IOnenotePageRequest extends IHttpRequest { + + /** + * Gets the OnenotePage from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenotePage from the service + * + * @return the OnenotePage from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenotePage get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenotePage with a source + * + * @param sourceOnenotePage the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenotePage sourceOnenotePage, final ICallback callback); + + /** + * Patches this OnenotePage with a source + * + * @param sourceOnenotePage the source object with updates + * @return the updated OnenotePage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenotePage patch(final OnenotePage sourceOnenotePage) throws ClientException; + + /** + * Posts a OnenotePage with a new object + * + * @param newOnenotePage the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final byte[] newOnenotePage, final ICallback callback); + + /** + * Posts a OnenotePage with a new object + * + * @param newOnenotePage the new object to create + * @return the created OnenotePage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenotePage post(final byte[] newOnenotePage) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenotePageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenotePageRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequestBuilder.java index 22c73c90620..8b4e2c310e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageRequest; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequestBuilder; +import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; +import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOnenotePageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Request Builder. */ -public interface IOnenotePageRequestBuilder extends IBaseOnenotePageRequestBuilder { +public interface IOnenotePageRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenotePageRequest instance + */ + IOnenotePageRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenotePageRequest instance + */ + IOnenotePageRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for OnenoteSection + * + * @return the IOnenoteSectionRequestBuilder instance + */ + IOnenoteSectionRequestBuilder parentSection(); + + /** + * Gets the request builder for Notebook + * + * @return the INotebookRequestBuilder instance + */ + INotebookRequestBuilder parentNotebook(); + + IOnenotePageStreamRequestBuilder content(); + IOnenotePageOnenotePatchContentRequestBuilder onenotePatchContent(final java.util.List commands); + IOnenotePageCopyToSectionRequestBuilder copyToSection(final String id, final String groupId, final String siteCollectionId, final String siteId); + IOnenotePagePreviewRequestBuilder preview(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequest.java index 6956715fc92..80fbec68679 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenotePageStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Stream Request. */ -public interface IOnenotePageStreamRequest extends IBaseOnenotePageStreamRequest { +public interface IOnenotePageStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + OnenotePage put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequestBuilder.java index 5cbd26c8017..8cd3e6c827c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageStreamRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequest; -import com.microsoft.graph.requests.generated.IBaseOnenotePageStreamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Page Stream Request Builder. */ -public interface IOnenotePageStreamRequestBuilder extends IBaseOnenotePageStreamRequestBuilder { +public interface IOnenotePageStreamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenotePageStreamRequest instance + */ + IOnenotePageStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenotePageStreamRequest instance + */ + IOnenotePageStreamRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequest.java index 7b181e76941..ae7231fa975 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Onenote; -import com.microsoft.graph.requests.generated.IBaseOnenoteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Request. */ -public interface IOnenoteRequest extends IBaseOnenoteRequest { +public interface IOnenoteRequest extends IHttpRequest { + + /** + * Gets the Onenote from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Onenote from the service + * + * @return the Onenote from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Onenote get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Onenote with a source + * + * @param sourceOnenote the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Onenote sourceOnenote, final ICallback callback); + + /** + * Patches this Onenote with a source + * + * @param sourceOnenote the source object with updates + * @return the updated Onenote + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Onenote patch(final Onenote sourceOnenote) throws ClientException; + + /** + * Posts a Onenote with a new object + * + * @param newOnenote the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Onenote newOnenote, final ICallback callback); + + /** + * Posts a Onenote with a new object + * + * @param newOnenote the new object to create + * @return the created Onenote + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Onenote post(final Onenote newOnenote) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequestBuilder.java index 4ed8c37d2bf..925d2645a79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequestBuilder.java @@ -3,14 +3,68 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteRequest; +import com.microsoft.graph.requests.extensions.INotebookCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteResourceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteResourceRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteOperationRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOnenoteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Request Builder. */ -public interface IOnenoteRequestBuilder extends IBaseOnenoteRequestBuilder { +public interface IOnenoteRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteRequest instance + */ + IOnenoteRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteRequest instance + */ + IOnenoteRequest buildRequest(final java.util.List requestOptions); + + + INotebookCollectionRequestBuilder notebooks(); + + INotebookRequestBuilder notebooks(final String id); + + IOnenoteSectionCollectionRequestBuilder sections(); + + IOnenoteSectionRequestBuilder sections(final String id); + + ISectionGroupCollectionRequestBuilder sectionGroups(); + + ISectionGroupRequestBuilder sectionGroups(final String id); + + IOnenotePageCollectionRequestBuilder pages(); + + IOnenotePageRequestBuilder pages(final String id); + + IOnenoteResourceCollectionRequestBuilder resources(); + + IOnenoteResourceRequestBuilder resources(final String id); + + IOnenoteOperationCollectionRequestBuilder operations(); + + IOnenoteOperationRequestBuilder operations(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionPage.java index 53e3e816001..a70b6da8889 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Collection Page. */ -public interface IOnenoteResourceCollectionPage extends IBaseOnenoteResourceCollectionPage { - +public interface IOnenoteResourceCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequest.java index ee7f6d721b8..eb5d4cb8e35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Collection Request. */ -public interface IOnenoteResourceCollectionRequest extends IBaseOnenoteResourceCollectionRequest { +public interface IOnenoteResourceCollectionRequest { + + void get(final ICallback callback); + + IOnenoteResourceCollectionPage get() throws ClientException; + + void post(final OnenoteResource newOnenoteResource, final ICallback callback); + + OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteResourceCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteResourceCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenoteResourceCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequestBuilder.java index f234bcc77f4..d7359033f60 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Collection Request Builder. */ -public interface IOnenoteResourceCollectionRequestBuilder extends IBaseOnenoteResourceCollectionRequestBuilder { +public interface IOnenoteResourceCollectionRequestBuilder extends IRequestBuilder { + + IOnenoteResourceCollectionRequest buildRequest(); + + IOnenoteResourceCollectionRequest buildRequest(final java.util.List requestOptions); + + IOnenoteResourceRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequest.java index a44df735ac8..aec8330c8c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteResource; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Request. */ -public interface IOnenoteResourceRequest extends IBaseOnenoteResourceRequest { +public interface IOnenoteResourceRequest extends IHttpRequest { + + /** + * Gets the OnenoteResource from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenoteResource from the service + * + * @return the OnenoteResource from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteResource get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenoteResource with a source + * + * @param sourceOnenoteResource the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenoteResource sourceOnenoteResource, final ICallback callback); + + /** + * Patches this OnenoteResource with a source + * + * @param sourceOnenoteResource the source object with updates + * @return the updated OnenoteResource + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteResource patch(final OnenoteResource sourceOnenoteResource) throws ClientException; + + /** + * Posts a OnenoteResource with a new object + * + * @param newOnenoteResource the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnenoteResource newOnenoteResource, final ICallback callback); + + /** + * Posts a OnenoteResource with a new object + * + * @param newOnenoteResource the new object to create + * @return the created OnenoteResource + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteResourceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteResourceRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequestBuilder.java index a3dbb8458e4..ea8e46a5753 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteResourceRequest; +import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Request Builder. */ -public interface IOnenoteResourceRequestBuilder extends IBaseOnenoteResourceRequestBuilder { +public interface IOnenoteResourceRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteResourceRequest instance + */ + IOnenoteResourceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteResourceRequest instance + */ + IOnenoteResourceRequest buildRequest(final java.util.List requestOptions); + + + IOnenoteResourceStreamRequestBuilder content(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequest.java index 67e2564495a..e837f1185ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Stream Request. */ -public interface IOnenoteResourceStreamRequest extends IBaseOnenoteResourceStreamRequest { +public interface IOnenoteResourceStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + OnenoteResource put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequestBuilder.java index 5106aab22b5..14eec2c9fea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceStreamRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteResourceStreamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Resource Stream Request Builder. */ -public interface IOnenoteResourceStreamRequestBuilder extends IBaseOnenoteResourceStreamRequestBuilder { +public interface IOnenoteResourceStreamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteResourceStreamRequest instance + */ + IOnenoteResourceStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteResourceStreamRequest instance + */ + IOnenoteResourceStreamRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionPage.java index 6fbd8e6e62d..2f58e4b660d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Collection Page. */ -public interface IOnenoteSectionCollectionPage extends IBaseOnenoteSectionCollectionPage { - +public interface IOnenoteSectionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequest.java index 48af680c255..280d2967715 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Collection Request. */ -public interface IOnenoteSectionCollectionRequest extends IBaseOnenoteSectionCollectionRequest { +public interface IOnenoteSectionCollectionRequest { + + void get(final ICallback callback); + + IOnenoteSectionCollectionPage get() throws ClientException; + + void post(final OnenoteSection newOnenoteSection, final ICallback callback); + + OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteSectionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteSectionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenoteSectionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequestBuilder.java index b071fdc82fe..f208a444a01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Collection Request Builder. */ -public interface IOnenoteSectionCollectionRequestBuilder extends IBaseOnenoteSectionCollectionRequestBuilder { +public interface IOnenoteSectionCollectionRequestBuilder extends IRequestBuilder { + + IOnenoteSectionCollectionRequest buildRequest(); + + IOnenoteSectionCollectionRequest buildRequest(final java.util.List requestOptions); + + IOnenoteSectionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequest.java index 72f6bc635b1..b2794b5719c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCopyToNotebookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Copy To Notebook Request. */ -public interface IOnenoteSectionCopyToNotebookRequest extends IBaseOnenoteSectionCopyToNotebookRequest { +public interface IOnenoteSectionCopyToNotebookRequest { + + void post(final ICallback callback); + + OnenoteOperation post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteSectionCopyToNotebookRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenoteSectionCopyToNotebookRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteSectionCopyToNotebookRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequestBuilder.java index 1c401b88e12..2742885b3f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToNotebookRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCopyToNotebookRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Copy To Notebook Request Builder. */ -public interface IOnenoteSectionCopyToNotebookRequestBuilder extends IBaseOnenoteSectionCopyToNotebookRequestBuilder { +public interface IOnenoteSectionCopyToNotebookRequestBuilder extends IRequestBuilder { + /** + * Creates the IOnenoteSectionCopyToNotebookRequest + * + * @return the IOnenoteSectionCopyToNotebookRequest instance + */ + IOnenoteSectionCopyToNotebookRequest buildRequest(); + + /** + * Creates the IOnenoteSectionCopyToNotebookRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IOnenoteSectionCopyToNotebookRequest instance + */ + IOnenoteSectionCopyToNotebookRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequest.java index 763f60ea74d..28ae03d0872 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCopyToSectionGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Copy To Section Group Request. */ -public interface IOnenoteSectionCopyToSectionGroupRequest extends IBaseOnenoteSectionCopyToSectionGroupRequest { +public interface IOnenoteSectionCopyToSectionGroupRequest { + + void post(final ICallback callback); + + OnenoteOperation post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteSectionCopyToSectionGroupRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOnenoteSectionCopyToSectionGroupRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteSectionCopyToSectionGroupRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequestBuilder.java index a10c937f8dc..65801fbd3e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionCopyToSectionGroupRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionCopyToSectionGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Copy To Section Group Request Builder. */ -public interface IOnenoteSectionCopyToSectionGroupRequestBuilder extends IBaseOnenoteSectionCopyToSectionGroupRequestBuilder { +public interface IOnenoteSectionCopyToSectionGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the IOnenoteSectionCopyToSectionGroupRequest + * + * @return the IOnenoteSectionCopyToSectionGroupRequest instance + */ + IOnenoteSectionCopyToSectionGroupRequest buildRequest(); + + /** + * Creates the IOnenoteSectionCopyToSectionGroupRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IOnenoteSectionCopyToSectionGroupRequest instance + */ + IOnenoteSectionCopyToSectionGroupRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequest.java index 21345556399..d2ced052787 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Request. */ -public interface IOnenoteSectionRequest extends IBaseOnenoteSectionRequest { +public interface IOnenoteSectionRequest extends IHttpRequest { + + /** + * Gets the OnenoteSection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OnenoteSection from the service + * + * @return the OnenoteSection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteSection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OnenoteSection with a source + * + * @param sourceOnenoteSection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OnenoteSection sourceOnenoteSection, final ICallback callback); + + /** + * Patches this OnenoteSection with a source + * + * @param sourceOnenoteSection the source object with updates + * @return the updated OnenoteSection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteSection patch(final OnenoteSection sourceOnenoteSection) throws ClientException; + + /** + * Posts a OnenoteSection with a new object + * + * @param newOnenoteSection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OnenoteSection newOnenoteSection, final ICallback callback); + + /** + * Posts a OnenoteSection with a new object + * + * @param newOnenoteSection the new object to create + * @return the created OnenoteSection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOnenoteSectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOnenoteSectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequestBuilder.java index c2381240765..55fe08ea96f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequest; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOnenoteSectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Onenote Section Request Builder. */ -public interface IOnenoteSectionRequestBuilder extends IBaseOnenoteSectionRequestBuilder { +public interface IOnenoteSectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOnenoteSectionRequest instance + */ + IOnenoteSectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOnenoteSectionRequest instance + */ + IOnenoteSectionRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Notebook + * + * @return the INotebookRequestBuilder instance + */ + INotebookRequestBuilder parentNotebook(); + + /** + * Gets the request builder for SectionGroup + * + * @return the ISectionGroupRequestBuilder instance + */ + ISectionGroupRequestBuilder parentSectionGroup(); + + IOnenotePageCollectionRequestBuilder pages(); + + IOnenotePageRequestBuilder pages(final String id); + IOnenoteSectionCopyToNotebookRequestBuilder copyToNotebook(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId); + IOnenoteSectionCopyToSectionGroupRequestBuilder copyToSectionGroup(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequest.java index c19b749a820..9d1ddaa13ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OpenTypeExtension; -import com.microsoft.graph.requests.generated.IBaseOpenTypeExtensionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Open Type Extension Request. */ -public interface IOpenTypeExtensionRequest extends IBaseOpenTypeExtensionRequest { +public interface IOpenTypeExtensionRequest extends IHttpRequest { + + /** + * Gets the OpenTypeExtension from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OpenTypeExtension from the service + * + * @return the OpenTypeExtension from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OpenTypeExtension get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OpenTypeExtension with a source + * + * @param sourceOpenTypeExtension the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OpenTypeExtension sourceOpenTypeExtension, final ICallback callback); + + /** + * Patches this OpenTypeExtension with a source + * + * @param sourceOpenTypeExtension the source object with updates + * @return the updated OpenTypeExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OpenTypeExtension patch(final OpenTypeExtension sourceOpenTypeExtension) throws ClientException; + + /** + * Posts a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OpenTypeExtension newOpenTypeExtension, final ICallback callback); + + /** + * Posts a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the new object to create + * @return the created OpenTypeExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OpenTypeExtension post(final OpenTypeExtension newOpenTypeExtension) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOpenTypeExtensionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOpenTypeExtensionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequestBuilder.java index 5f7f716af28..78ed7e729e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOpenTypeExtensionRequest; -import com.microsoft.graph.requests.generated.IBaseOpenTypeExtensionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Open Type Extension Request Builder. */ -public interface IOpenTypeExtensionRequestBuilder extends IBaseOpenTypeExtensionRequestBuilder { +public interface IOpenTypeExtensionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOpenTypeExtensionRequest instance + */ + IOpenTypeExtensionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOpenTypeExtensionRequest instance + */ + IOpenTypeExtensionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequest.java index 4ec0044939d..4975c562e27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Operation; -import com.microsoft.graph.requests.generated.IBaseOperationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Operation Request. */ -public interface IOperationRequest extends IBaseOperationRequest { +public interface IOperationRequest extends IHttpRequest { + + /** + * Gets the Operation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Operation from the service + * + * @return the Operation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Operation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Operation with a source + * + * @param sourceOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Operation sourceOperation, final ICallback callback); + + /** + * Patches this Operation with a source + * + * @param sourceOperation the source object with updates + * @return the updated Operation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Operation patch(final Operation sourceOperation) throws ClientException; + + /** + * Posts a Operation with a new object + * + * @param newOperation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Operation newOperation, final ICallback callback); + + /** + * Posts a Operation with a new object + * + * @param newOperation the new object to create + * @return the created Operation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Operation post(final Operation newOperation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOperationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOperationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequestBuilder.java index f59db8ebd57..f7e8803ca8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOperationRequest; -import com.microsoft.graph.requests.generated.IBaseOperationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Operation Request Builder. */ -public interface IOperationRequestBuilder extends IBaseOperationRequestBuilder { +public interface IOperationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOperationRequest instance + */ + IOperationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOperationRequest instance + */ + IOperationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionPage.java index 5c445525ea0..455514b0d79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOrganizationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Collection Page. */ -public interface IOrganizationCollectionPage extends IBaseOrganizationCollectionPage { - +public interface IOrganizationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequest.java index 02e3afdeec2..a677d1c1dd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOrganizationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Collection Request. */ -public interface IOrganizationCollectionRequest extends IBaseOrganizationCollectionRequest { +public interface IOrganizationCollectionRequest { + + void get(final ICallback callback); + + IOrganizationCollectionPage get() throws ClientException; + + void post(final Organization newOrganization, final ICallback callback); + + Organization post(final Organization newOrganization) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOrganizationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOrganizationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOrganizationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequestBuilder.java index e5fa0031a90..b185e536bd6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOrganizationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Collection Request Builder. */ -public interface IOrganizationCollectionRequestBuilder extends IBaseOrganizationCollectionRequestBuilder { +public interface IOrganizationCollectionRequestBuilder extends IRequestBuilder { + + IOrganizationCollectionRequest buildRequest(); + + IOrganizationCollectionRequest buildRequest(final java.util.List requestOptions); + + IOrganizationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequest.java index 5e7f26b39c0..f1e8d8dc21e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Organization; -import com.microsoft.graph.requests.generated.IBaseOrganizationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Request. */ -public interface IOrganizationRequest extends IBaseOrganizationRequest { +public interface IOrganizationRequest extends IHttpRequest { + + /** + * Gets the Organization from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Organization from the service + * + * @return the Organization from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Organization get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Organization with a source + * + * @param sourceOrganization the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Organization sourceOrganization, final ICallback callback); + + /** + * Patches this Organization with a source + * + * @param sourceOrganization the source object with updates + * @return the updated Organization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Organization patch(final Organization sourceOrganization) throws ClientException; + + /** + * Posts a Organization with a new object + * + * @param newOrganization the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Organization newOrganization, final ICallback callback); + + /** + * Posts a Organization with a new object + * + * @param newOrganization the new object to create + * @return the created Organization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Organization post(final Organization newOrganization) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOrganizationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOrganizationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequestBuilder.java index 580430a2e5b..5df07774eb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationRequest; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOrganizationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Request Builder. */ -public interface IOrganizationRequestBuilder extends IBaseOrganizationRequestBuilder { +public interface IOrganizationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOrganizationRequest instance + */ + IOrganizationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOrganizationRequest instance + */ + IOrganizationRequest buildRequest(final java.util.List requestOptions); + + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder setMobileDeviceManagementAuthority(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequest.java index f96434f379a..05582656666 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; -import com.microsoft.graph.requests.generated.IBaseOrganizationSetMobileDeviceManagementAuthorityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Set Mobile Device Management Authority Request. */ -public interface IOrganizationSetMobileDeviceManagementAuthorityRequest extends IBaseOrganizationSetMobileDeviceManagementAuthorityRequest { +public interface IOrganizationSetMobileDeviceManagementAuthorityRequest { + + /** + * Creates the OrganizationSetMobileDeviceManagementAuthority + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the OrganizationSetMobileDeviceManagementAuthority + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOrganizationSetMobileDeviceManagementAuthorityRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOrganizationSetMobileDeviceManagementAuthorityRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java index 58625bc099a..35be4b36425 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; -import com.microsoft.graph.requests.generated.IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Organization Set Mobile Device Management Authority Request Builder. */ -public interface IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder extends IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder { +public interface IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder extends IRequestBuilder { + /** + * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest + * + * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance + */ + IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest(); + + /** + * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance + */ + IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionPage.java index 05b359fa0b2..4376d72d07c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookCategoryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Category Collection Page. */ -public interface IOutlookCategoryCollectionPage extends IBaseOutlookCategoryCollectionPage { - +public interface IOutlookCategoryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequest.java index e1b66a218d8..708f376c92d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookCategoryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Category Collection Request. */ -public interface IOutlookCategoryCollectionRequest extends IBaseOutlookCategoryCollectionRequest { +public interface IOutlookCategoryCollectionRequest { + + void get(final ICallback callback); + + IOutlookCategoryCollectionPage get() throws ClientException; + + void post(final OutlookCategory newOutlookCategory, final ICallback callback); + + OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOutlookCategoryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOutlookCategoryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOutlookCategoryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequestBuilder.java index 2010d6d14ba..cbeed015693 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookCategoryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Category Collection Request Builder. */ -public interface IOutlookCategoryCollectionRequestBuilder extends IBaseOutlookCategoryCollectionRequestBuilder { +public interface IOutlookCategoryCollectionRequestBuilder extends IRequestBuilder { + + IOutlookCategoryCollectionRequest buildRequest(); + + IOutlookCategoryCollectionRequest buildRequest(final java.util.List requestOptions); + + IOutlookCategoryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequest.java index 8f9ea5f2b34..8f1200c3536 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OutlookCategory; -import com.microsoft.graph.requests.generated.IBaseOutlookCategoryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Category Request. */ -public interface IOutlookCategoryRequest extends IBaseOutlookCategoryRequest { +public interface IOutlookCategoryRequest extends IHttpRequest { + + /** + * Gets the OutlookCategory from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OutlookCategory from the service + * + * @return the OutlookCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookCategory get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OutlookCategory with a source + * + * @param sourceOutlookCategory the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OutlookCategory sourceOutlookCategory, final ICallback callback); + + /** + * Patches this OutlookCategory with a source + * + * @param sourceOutlookCategory the source object with updates + * @return the updated OutlookCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookCategory patch(final OutlookCategory sourceOutlookCategory) throws ClientException; + + /** + * Posts a OutlookCategory with a new object + * + * @param newOutlookCategory the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OutlookCategory newOutlookCategory, final ICallback callback); + + /** + * Posts a OutlookCategory with a new object + * + * @param newOutlookCategory the new object to create + * @return the created OutlookCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOutlookCategoryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOutlookCategoryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequestBuilder.java index 9dabe14620c..c9c54d29255 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookCategoryRequest; -import com.microsoft.graph.requests.generated.IBaseOutlookCategoryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Category Request Builder. */ -public interface IOutlookCategoryRequestBuilder extends IBaseOutlookCategoryRequestBuilder { +public interface IOutlookCategoryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOutlookCategoryRequest instance + */ + IOutlookCategoryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOutlookCategoryRequest instance + */ + IOutlookCategoryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequest.java index a2482bdf8a5..30f5063e7ec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.generated.IBaseOutlookItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Item Request. */ -public interface IOutlookItemRequest extends IBaseOutlookItemRequest { +public interface IOutlookItemRequest extends IHttpRequest { + + /** + * Gets the OutlookItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OutlookItem from the service + * + * @return the OutlookItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OutlookItem with a source + * + * @param sourceOutlookItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OutlookItem sourceOutlookItem, final ICallback callback); + + /** + * Patches this OutlookItem with a source + * + * @param sourceOutlookItem the source object with updates + * @return the updated OutlookItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookItem patch(final OutlookItem sourceOutlookItem) throws ClientException; + + /** + * Posts a OutlookItem with a new object + * + * @param newOutlookItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OutlookItem newOutlookItem, final ICallback callback); + + /** + * Posts a OutlookItem with a new object + * + * @param newOutlookItem the new object to create + * @return the created OutlookItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookItem post(final OutlookItem newOutlookItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOutlookItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOutlookItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequestBuilder.java index 69ffd85b5e0..903019ecd1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookItemRequest; -import com.microsoft.graph.requests.generated.IBaseOutlookItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook Item Request Builder. */ -public interface IOutlookItemRequestBuilder extends IBaseOutlookItemRequestBuilder { +public interface IOutlookItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOutlookItemRequest instance + */ + IOutlookItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOutlookItemRequest instance + */ + IOutlookItemRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequest.java index ec2e8c7278e..8b56fb76253 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OutlookUser; -import com.microsoft.graph.requests.generated.IBaseOutlookUserRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Request. */ -public interface IOutlookUserRequest extends IBaseOutlookUserRequest { +public interface IOutlookUserRequest extends IHttpRequest { + + /** + * Gets the OutlookUser from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the OutlookUser from the service + * + * @return the OutlookUser from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookUser get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this OutlookUser with a source + * + * @param sourceOutlookUser the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final OutlookUser sourceOutlookUser, final ICallback callback); + + /** + * Patches this OutlookUser with a source + * + * @param sourceOutlookUser the source object with updates + * @return the updated OutlookUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookUser patch(final OutlookUser sourceOutlookUser) throws ClientException; + + /** + * Posts a OutlookUser with a new object + * + * @param newOutlookUser the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final OutlookUser newOutlookUser, final ICallback callback); + + /** + * Posts a OutlookUser with a new object + * + * @param newOutlookUser the new object to create + * @return the created OutlookUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookUser post(final OutlookUser newOutlookUser) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOutlookUserRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOutlookUserRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequestBuilder.java index a4d58b4ee25..efff938e2a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookUserRequest; +import com.microsoft.graph.requests.extensions.IOutlookCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookUserSupportedLanguagesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; +import com.microsoft.graph.models.generated.TimeZoneStandard; +import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseOutlookUserRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Request Builder. */ -public interface IOutlookUserRequestBuilder extends IBaseOutlookUserRequestBuilder { +public interface IOutlookUserRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IOutlookUserRequest instance + */ + IOutlookUserRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IOutlookUserRequest instance + */ + IOutlookUserRequest buildRequest(final java.util.List requestOptions); + + + IOutlookCategoryCollectionRequestBuilder masterCategories(); + + IOutlookCategoryRequestBuilder masterCategories(final String id); + + IOutlookUserSupportedLanguagesCollectionRequestBuilder supportedLanguages(); + + IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones(); + + IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones(final TimeZoneStandard timeZoneStandard); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionPage.java index f72b8dea84b..cda088d929b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookUserSupportedLanguagesCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Supported Languages Collection Page. */ -public interface IOutlookUserSupportedLanguagesCollectionPage extends IBaseOutlookUserSupportedLanguagesCollectionPage { - +public interface IOutlookUserSupportedLanguagesCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequest.java index 1573b4e3c6b..280cfc2f737 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookUserSupportedLanguagesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Supported Languages Collection Request. */ -public interface IOutlookUserSupportedLanguagesCollectionRequest extends IBaseOutlookUserSupportedLanguagesCollectionRequest { +public interface IOutlookUserSupportedLanguagesCollectionRequest { + + void get(final ICallback callback); + + IOutlookUserSupportedLanguagesCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOutlookUserSupportedLanguagesCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOutlookUserSupportedLanguagesCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOutlookUserSupportedLanguagesCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequestBuilder.java index 766f44c36d6..ed2fbd2ff57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedLanguagesCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Supported Languages Collection Request Builder. */ -public interface IOutlookUserSupportedLanguagesCollectionRequestBuilder extends IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder { +public interface IOutlookUserSupportedLanguagesCollectionRequestBuilder extends IRequestBuilder { + + IOutlookUserSupportedLanguagesCollectionRequest buildRequest(); + + IOutlookUserSupportedLanguagesCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionPage.java index 6c9bb4077df..a8993b332c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookUserSupportedTimeZonesCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Supported Time Zones Collection Page. */ -public interface IOutlookUserSupportedTimeZonesCollectionPage extends IBaseOutlookUserSupportedTimeZonesCollectionPage { - +public interface IOutlookUserSupportedTimeZonesCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequest.java index c894deb44f3..f063721d7ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookUserSupportedTimeZonesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Supported Time Zones Collection Request. */ -public interface IOutlookUserSupportedTimeZonesCollectionRequest extends IBaseOutlookUserSupportedTimeZonesCollectionRequest { +public interface IOutlookUserSupportedTimeZonesCollectionRequest { + + void get(final ICallback callback); + + IOutlookUserSupportedTimeZonesCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IOutlookUserSupportedTimeZonesCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IOutlookUserSupportedTimeZonesCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IOutlookUserSupportedTimeZonesCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequestBuilder.java index 5d338dada77..22cce4015d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserSupportedTimeZonesCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Outlook User Supported Time Zones Collection Request Builder. */ -public interface IOutlookUserSupportedTimeZonesCollectionRequestBuilder extends IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder { +public interface IOutlookUserSupportedTimeZonesCollectionRequestBuilder extends IRequestBuilder { + + IOutlookUserSupportedTimeZonesCollectionRequest buildRequest(); + + IOutlookUserSupportedTimeZonesCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionPage.java index 6c3eff66e14..d2aaa10c336 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePermissionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Permission Collection Page. */ -public interface IPermissionCollectionPage extends IBasePermissionCollectionPage { - +public interface IPermissionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequest.java index bcace88127e..b56943d9bf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePermissionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Permission Collection Request. */ -public interface IPermissionCollectionRequest extends IBasePermissionCollectionRequest { +public interface IPermissionCollectionRequest { + + void get(final ICallback callback); + + IPermissionCollectionPage get() throws ClientException; + + void post(final Permission newPermission, final ICallback callback); + + Permission post(final Permission newPermission) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPermissionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPermissionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPermissionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequestBuilder.java index 47471fcc141..cbd30b8473a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePermissionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Permission Collection Request Builder. */ -public interface IPermissionCollectionRequestBuilder extends IBasePermissionCollectionRequestBuilder { +public interface IPermissionCollectionRequestBuilder extends IRequestBuilder { + + IPermissionCollectionRequest buildRequest(); + + IPermissionCollectionRequest buildRequest(final java.util.List requestOptions); + + IPermissionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequest.java index 9607279e838..0b12365cb65 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Permission; -import com.microsoft.graph.requests.generated.IBasePermissionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Permission Request. */ -public interface IPermissionRequest extends IBasePermissionRequest { +public interface IPermissionRequest extends IHttpRequest { + + /** + * Gets the Permission from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Permission from the service + * + * @return the Permission from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Permission get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Permission with a source + * + * @param sourcePermission the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Permission sourcePermission, final ICallback callback); + + /** + * Patches this Permission with a source + * + * @param sourcePermission the source object with updates + * @return the updated Permission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Permission patch(final Permission sourcePermission) throws ClientException; + + /** + * Posts a Permission with a new object + * + * @param newPermission the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Permission newPermission, final ICallback callback); + + /** + * Posts a Permission with a new object + * + * @param newPermission the new object to create + * @return the created Permission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Permission post(final Permission newPermission) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPermissionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPermissionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequestBuilder.java index 5eb77c6c6e6..1b84cbad5f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPermissionRequest; -import com.microsoft.graph.requests.generated.IBasePermissionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Permission Request Builder. */ -public interface IPermissionRequestBuilder extends IBasePermissionRequestBuilder { +public interface IPermissionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPermissionRequest instance + */ + IPermissionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPermissionRequest instance + */ + IPermissionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionPage.java index dc983304c80..c636ca67465 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePersonCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Person Collection Page. */ -public interface IPersonCollectionPage extends IBasePersonCollectionPage { - +public interface IPersonCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequest.java index 6916e886efc..983d81ffc3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePersonCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Person Collection Request. */ -public interface IPersonCollectionRequest extends IBasePersonCollectionRequest { +public interface IPersonCollectionRequest { + + void get(final ICallback callback); + + IPersonCollectionPage get() throws ClientException; + + void post(final Person newPerson, final ICallback callback); + + Person post(final Person newPerson) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPersonCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPersonCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPersonCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequestBuilder.java index 34af315eac2..b2e0284e149 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPersonCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePersonCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Person Collection Request Builder. */ -public interface IPersonCollectionRequestBuilder extends IBasePersonCollectionRequestBuilder { +public interface IPersonCollectionRequestBuilder extends IRequestBuilder { + + IPersonCollectionRequest buildRequest(); + + IPersonCollectionRequest buildRequest(final java.util.List requestOptions); + + IPersonRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequest.java index 18e2e51e542..f0d35b170b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Person; -import com.microsoft.graph.requests.generated.IBasePersonRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Person Request. */ -public interface IPersonRequest extends IBasePersonRequest { +public interface IPersonRequest extends IHttpRequest { + + /** + * Gets the Person from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Person from the service + * + * @return the Person from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Person get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Person with a source + * + * @param sourcePerson the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Person sourcePerson, final ICallback callback); + + /** + * Patches this Person with a source + * + * @param sourcePerson the source object with updates + * @return the updated Person + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Person patch(final Person sourcePerson) throws ClientException; + + /** + * Posts a Person with a new object + * + * @param newPerson the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Person newPerson, final ICallback callback); + + /** + * Posts a Person with a new object + * + * @param newPerson the new object to create + * @return the created Person + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Person post(final Person newPerson) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPersonRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPersonRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequestBuilder.java index fff70fb943d..26713a4ca58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPersonRequest; -import com.microsoft.graph.requests.generated.IBasePersonRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Person Request Builder. */ -public interface IPersonRequestBuilder extends IBasePersonRequestBuilder { +public interface IPersonRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPersonRequest instance + */ + IPersonRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPersonRequest instance + */ + IPersonRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequest.java index 8e454d096ff..95c25e5c6d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; -import com.microsoft.graph.requests.generated.IBasePlannerAssignedToTaskBoardTaskFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Assigned To Task Board Task Format Request. */ -public interface IPlannerAssignedToTaskBoardTaskFormatRequest extends IBasePlannerAssignedToTaskBoardTaskFormatRequest { +public interface IPlannerAssignedToTaskBoardTaskFormatRequest extends IHttpRequest { + + /** + * Gets the PlannerAssignedToTaskBoardTaskFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerAssignedToTaskBoardTaskFormat from the service + * + * @return the PlannerAssignedToTaskBoardTaskFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerAssignedToTaskBoardTaskFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerAssignedToTaskBoardTaskFormat with a source + * + * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat, final ICallback callback); + + /** + * Patches this PlannerAssignedToTaskBoardTaskFormat with a source + * + * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates + * @return the updated PlannerAssignedToTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerAssignedToTaskBoardTaskFormat patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat) throws ClientException; + + /** + * Posts a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat, final ICallback callback); + + /** + * Posts a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create + * @return the created PlannerAssignedToTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerAssignedToTaskBoardTaskFormat post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerAssignedToTaskBoardTaskFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerAssignedToTaskBoardTaskFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequestBuilder.java index 25c8bf60086..fca49ef0391 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.generated.IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Assigned To Task Board Task Format Request Builder. */ -public interface IPlannerAssignedToTaskBoardTaskFormatRequestBuilder extends IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder { +public interface IPlannerAssignedToTaskBoardTaskFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance + */ + IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance + */ + IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionPage.java index 5d32c018662..4512bd8a399 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerBucketCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Collection Page. */ -public interface IPlannerBucketCollectionPage extends IBasePlannerBucketCollectionPage { - +public interface IPlannerBucketCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequest.java index da4ddaa24e7..8ba4a3a235f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerBucketCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Collection Request. */ -public interface IPlannerBucketCollectionRequest extends IBasePlannerBucketCollectionRequest { +public interface IPlannerBucketCollectionRequest { + + void get(final ICallback callback); + + IPlannerBucketCollectionPage get() throws ClientException; + + void post(final PlannerBucket newPlannerBucket, final ICallback callback); + + PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerBucketCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerBucketCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPlannerBucketCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequestBuilder.java index b353eadcecd..a6a150940b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Collection Request Builder. */ -public interface IPlannerBucketCollectionRequestBuilder extends IBasePlannerBucketCollectionRequestBuilder { +public interface IPlannerBucketCollectionRequestBuilder extends IRequestBuilder { + + IPlannerBucketCollectionRequest buildRequest(); + + IPlannerBucketCollectionRequest buildRequest(final java.util.List requestOptions); + + IPlannerBucketRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequest.java index 0de5f44fb74..73c62bd5fa7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerBucket; -import com.microsoft.graph.requests.generated.IBasePlannerBucketRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Request. */ -public interface IPlannerBucketRequest extends IBasePlannerBucketRequest { +public interface IPlannerBucketRequest extends IHttpRequest { + + /** + * Gets the PlannerBucket from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerBucket from the service + * + * @return the PlannerBucket from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucket get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerBucket with a source + * + * @param sourcePlannerBucket the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerBucket sourcePlannerBucket, final ICallback callback); + + /** + * Patches this PlannerBucket with a source + * + * @param sourcePlannerBucket the source object with updates + * @return the updated PlannerBucket + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucket patch(final PlannerBucket sourcePlannerBucket) throws ClientException; + + /** + * Posts a PlannerBucket with a new object + * + * @param newPlannerBucket the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerBucket newPlannerBucket, final ICallback callback); + + /** + * Posts a PlannerBucket with a new object + * + * @param newPlannerBucket the new object to create + * @return the created PlannerBucket + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerBucketRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerBucketRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequestBuilder.java index 53346c7814f..6d8902b8f6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePlannerBucketRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Request Builder. */ -public interface IPlannerBucketRequestBuilder extends IBasePlannerBucketRequestBuilder { +public interface IPlannerBucketRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerBucketRequest instance + */ + IPlannerBucketRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerBucketRequest instance + */ + IPlannerBucketRequest buildRequest(final java.util.List requestOptions); + + + IPlannerTaskCollectionRequestBuilder tasks(); + + IPlannerTaskRequestBuilder tasks(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequest.java index 59a81147fcc..3d5e650913e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; -import com.microsoft.graph.requests.generated.IBasePlannerBucketTaskBoardTaskFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Task Board Task Format Request. */ -public interface IPlannerBucketTaskBoardTaskFormatRequest extends IBasePlannerBucketTaskBoardTaskFormatRequest { +public interface IPlannerBucketTaskBoardTaskFormatRequest extends IHttpRequest { + + /** + * Gets the PlannerBucketTaskBoardTaskFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerBucketTaskBoardTaskFormat from the service + * + * @return the PlannerBucketTaskBoardTaskFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucketTaskBoardTaskFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerBucketTaskBoardTaskFormat with a source + * + * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat, final ICallback callback); + + /** + * Patches this PlannerBucketTaskBoardTaskFormat with a source + * + * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates + * @return the updated PlannerBucketTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucketTaskBoardTaskFormat patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat) throws ClientException; + + /** + * Posts a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat, final ICallback callback); + + /** + * Posts a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the new object to create + * @return the created PlannerBucketTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucketTaskBoardTaskFormat post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerBucketTaskBoardTaskFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerBucketTaskBoardTaskFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequestBuilder.java index ae449a149be..78dde674054 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.generated.IBasePlannerBucketTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Bucket Task Board Task Format Request Builder. */ -public interface IPlannerBucketTaskBoardTaskFormatRequestBuilder extends IBasePlannerBucketTaskBoardTaskFormatRequestBuilder { +public interface IPlannerBucketTaskBoardTaskFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerBucketTaskBoardTaskFormatRequest instance + */ + IPlannerBucketTaskBoardTaskFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerBucketTaskBoardTaskFormatRequest instance + */ + IPlannerBucketTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequest.java index 32cca7f68bc..1eb946b5bb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerGroup; -import com.microsoft.graph.requests.generated.IBasePlannerGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Group Request. */ -public interface IPlannerGroupRequest extends IBasePlannerGroupRequest { +public interface IPlannerGroupRequest extends IHttpRequest { + + /** + * Gets the PlannerGroup from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerGroup from the service + * + * @return the PlannerGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerGroup get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerGroup with a source + * + * @param sourcePlannerGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerGroup sourcePlannerGroup, final ICallback callback); + + /** + * Patches this PlannerGroup with a source + * + * @param sourcePlannerGroup the source object with updates + * @return the updated PlannerGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerGroup patch(final PlannerGroup sourcePlannerGroup) throws ClientException; + + /** + * Posts a PlannerGroup with a new object + * + * @param newPlannerGroup the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerGroup newPlannerGroup, final ICallback callback); + + /** + * Posts a PlannerGroup with a new object + * + * @param newPlannerGroup the new object to create + * @return the created PlannerGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerGroup post(final PlannerGroup newPlannerGroup) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerGroupRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerGroupRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequestBuilder.java index 54ac3c72cb3..8126ee62165 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerGroupRequest; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePlannerGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Group Request Builder. */ -public interface IPlannerGroupRequestBuilder extends IBasePlannerGroupRequestBuilder { +public interface IPlannerGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerGroupRequest instance + */ + IPlannerGroupRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerGroupRequest instance + */ + IPlannerGroupRequest buildRequest(final java.util.List requestOptions); + + + IPlannerPlanCollectionRequestBuilder plans(); + + IPlannerPlanRequestBuilder plans(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionPage.java index 0af880a3279..4cfc38724de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerPlanCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Collection Page. */ -public interface IPlannerPlanCollectionPage extends IBasePlannerPlanCollectionPage { - +public interface IPlannerPlanCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequest.java index 0899603ebd9..e80070ba928 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerPlanCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Collection Request. */ -public interface IPlannerPlanCollectionRequest extends IBasePlannerPlanCollectionRequest { +public interface IPlannerPlanCollectionRequest { + + void get(final ICallback callback); + + IPlannerPlanCollectionPage get() throws ClientException; + + void post(final PlannerPlan newPlannerPlan, final ICallback callback); + + PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerPlanCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerPlanCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPlannerPlanCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequestBuilder.java index 14323d1e3b3..983d0e77b16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Collection Request Builder. */ -public interface IPlannerPlanCollectionRequestBuilder extends IBasePlannerPlanCollectionRequestBuilder { +public interface IPlannerPlanCollectionRequestBuilder extends IRequestBuilder { + + IPlannerPlanCollectionRequest buildRequest(); + + IPlannerPlanCollectionRequest buildRequest(final java.util.List requestOptions); + + IPlannerPlanRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequest.java index 50f5c50da47..18ec480b16e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerPlanDetails; -import com.microsoft.graph.requests.generated.IBasePlannerPlanDetailsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Details Request. */ -public interface IPlannerPlanDetailsRequest extends IBasePlannerPlanDetailsRequest { +public interface IPlannerPlanDetailsRequest extends IHttpRequest { + + /** + * Gets the PlannerPlanDetails from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerPlanDetails from the service + * + * @return the PlannerPlanDetails from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlanDetails get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerPlanDetails with a source + * + * @param sourcePlannerPlanDetails the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerPlanDetails sourcePlannerPlanDetails, final ICallback callback); + + /** + * Patches this PlannerPlanDetails with a source + * + * @param sourcePlannerPlanDetails the source object with updates + * @return the updated PlannerPlanDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlanDetails patch(final PlannerPlanDetails sourcePlannerPlanDetails) throws ClientException; + + /** + * Posts a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerPlanDetails newPlannerPlanDetails, final ICallback callback); + + /** + * Posts a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the new object to create + * @return the created PlannerPlanDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlanDetails post(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerPlanDetailsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerPlanDetailsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequestBuilder.java index c2c5adc44ef..4bc692d650c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequest; -import com.microsoft.graph.requests.generated.IBasePlannerPlanDetailsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Details Request Builder. */ -public interface IPlannerPlanDetailsRequestBuilder extends IBasePlannerPlanDetailsRequestBuilder { +public interface IPlannerPlanDetailsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerPlanDetailsRequest instance + */ + IPlannerPlanDetailsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerPlanDetailsRequest instance + */ + IPlannerPlanDetailsRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequest.java index 46d294c6abc..504383d674e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerPlan; -import com.microsoft.graph.requests.generated.IBasePlannerPlanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Request. */ -public interface IPlannerPlanRequest extends IBasePlannerPlanRequest { +public interface IPlannerPlanRequest extends IHttpRequest { + + /** + * Gets the PlannerPlan from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerPlan from the service + * + * @return the PlannerPlan from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlan get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerPlan with a source + * + * @param sourcePlannerPlan the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerPlan sourcePlannerPlan, final ICallback callback); + + /** + * Patches this PlannerPlan with a source + * + * @param sourcePlannerPlan the source object with updates + * @return the updated PlannerPlan + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlan patch(final PlannerPlan sourcePlannerPlan) throws ClientException; + + /** + * Posts a PlannerPlan with a new object + * + * @param newPlannerPlan the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerPlan newPlannerPlan, final ICallback callback); + + /** + * Posts a PlannerPlan with a new object + * + * @param newPlannerPlan the new object to create + * @return the created PlannerPlan + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerPlanRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerPlanRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequestBuilder.java index 2149a0bc893..0a0758181c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequestBuilder.java @@ -3,14 +3,52 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePlannerPlanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Plan Request Builder. */ -public interface IPlannerPlanRequestBuilder extends IBasePlannerPlanRequestBuilder { +public interface IPlannerPlanRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerPlanRequest instance + */ + IPlannerPlanRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerPlanRequest instance + */ + IPlannerPlanRequest buildRequest(final java.util.List requestOptions); + + + IPlannerTaskCollectionRequestBuilder tasks(); + + IPlannerTaskRequestBuilder tasks(final String id); + + IPlannerBucketCollectionRequestBuilder buckets(); + + IPlannerBucketRequestBuilder buckets(final String id); + + /** + * Gets the request builder for PlannerPlanDetails + * + * @return the IPlannerPlanDetailsRequestBuilder instance + */ + IPlannerPlanDetailsRequestBuilder details(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequest.java index e67b8fa6684..3459ac8e076 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; -import com.microsoft.graph.requests.generated.IBasePlannerProgressTaskBoardTaskFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Progress Task Board Task Format Request. */ -public interface IPlannerProgressTaskBoardTaskFormatRequest extends IBasePlannerProgressTaskBoardTaskFormatRequest { +public interface IPlannerProgressTaskBoardTaskFormatRequest extends IHttpRequest { + + /** + * Gets the PlannerProgressTaskBoardTaskFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerProgressTaskBoardTaskFormat from the service + * + * @return the PlannerProgressTaskBoardTaskFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerProgressTaskBoardTaskFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerProgressTaskBoardTaskFormat with a source + * + * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat, final ICallback callback); + + /** + * Patches this PlannerProgressTaskBoardTaskFormat with a source + * + * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates + * @return the updated PlannerProgressTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerProgressTaskBoardTaskFormat patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat) throws ClientException; + + /** + * Posts a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat, final ICallback callback); + + /** + * Posts a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the new object to create + * @return the created PlannerProgressTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerProgressTaskBoardTaskFormat post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerProgressTaskBoardTaskFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerProgressTaskBoardTaskFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequestBuilder.java index eb09321c035..4449559419e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.generated.IBasePlannerProgressTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Progress Task Board Task Format Request Builder. */ -public interface IPlannerProgressTaskBoardTaskFormatRequestBuilder extends IBasePlannerProgressTaskBoardTaskFormatRequestBuilder { +public interface IPlannerProgressTaskBoardTaskFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerProgressTaskBoardTaskFormatRequest instance + */ + IPlannerProgressTaskBoardTaskFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerProgressTaskBoardTaskFormatRequest instance + */ + IPlannerProgressTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequest.java index fd0d69760d2..66d68043b4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Planner; -import com.microsoft.graph.requests.generated.IBasePlannerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Request. */ -public interface IPlannerRequest extends IBasePlannerRequest { +public interface IPlannerRequest extends IHttpRequest { + + /** + * Gets the Planner from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Planner from the service + * + * @return the Planner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Planner get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Planner with a source + * + * @param sourcePlanner the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Planner sourcePlanner, final ICallback callback); + + /** + * Patches this Planner with a source + * + * @param sourcePlanner the source object with updates + * @return the updated Planner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Planner patch(final Planner sourcePlanner) throws ClientException; + + /** + * Posts a Planner with a new object + * + * @param newPlanner the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Planner newPlanner, final ICallback callback); + + /** + * Posts a Planner with a new object + * + * @param newPlanner the new object to create + * @return the created Planner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Planner post(final Planner newPlanner) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequestBuilder.java index 5121336b836..6341ba8f850 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequestBuilder.java @@ -3,14 +3,50 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePlannerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Request Builder. */ -public interface IPlannerRequestBuilder extends IBasePlannerRequestBuilder { +public interface IPlannerRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerRequest instance + */ + IPlannerRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerRequest instance + */ + IPlannerRequest buildRequest(final java.util.List requestOptions); + + + IPlannerTaskCollectionRequestBuilder tasks(); + + IPlannerTaskRequestBuilder tasks(final String id); + + IPlannerPlanCollectionRequestBuilder plans(); + + IPlannerPlanRequestBuilder plans(final String id); + + IPlannerBucketCollectionRequestBuilder buckets(); + + IPlannerBucketRequestBuilder buckets(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionPage.java index bf4495d1c19..0de95e4817a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerTaskCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Collection Page. */ -public interface IPlannerTaskCollectionPage extends IBasePlannerTaskCollectionPage { - +public interface IPlannerTaskCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequest.java index e6c880dee80..ef1cc9679a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerTaskCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Collection Request. */ -public interface IPlannerTaskCollectionRequest extends IBasePlannerTaskCollectionRequest { +public interface IPlannerTaskCollectionRequest { + + void get(final ICallback callback); + + IPlannerTaskCollectionPage get() throws ClientException; + + void post(final PlannerTask newPlannerTask, final ICallback callback); + + PlannerTask post(final PlannerTask newPlannerTask) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerTaskCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerTaskCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPlannerTaskCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequestBuilder.java index f9d43dee723..f8a4d152a13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Collection Request Builder. */ -public interface IPlannerTaskCollectionRequestBuilder extends IBasePlannerTaskCollectionRequestBuilder { +public interface IPlannerTaskCollectionRequestBuilder extends IRequestBuilder { + + IPlannerTaskCollectionRequest buildRequest(); + + IPlannerTaskCollectionRequest buildRequest(final java.util.List requestOptions); + + IPlannerTaskRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequest.java index f24327f0af9..d97d17737cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerTaskDetails; -import com.microsoft.graph.requests.generated.IBasePlannerTaskDetailsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Details Request. */ -public interface IPlannerTaskDetailsRequest extends IBasePlannerTaskDetailsRequest { +public interface IPlannerTaskDetailsRequest extends IHttpRequest { + + /** + * Gets the PlannerTaskDetails from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerTaskDetails from the service + * + * @return the PlannerTaskDetails from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTaskDetails get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerTaskDetails with a source + * + * @param sourcePlannerTaskDetails the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerTaskDetails sourcePlannerTaskDetails, final ICallback callback); + + /** + * Patches this PlannerTaskDetails with a source + * + * @param sourcePlannerTaskDetails the source object with updates + * @return the updated PlannerTaskDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTaskDetails patch(final PlannerTaskDetails sourcePlannerTaskDetails) throws ClientException; + + /** + * Posts a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerTaskDetails newPlannerTaskDetails, final ICallback callback); + + /** + * Posts a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the new object to create + * @return the created PlannerTaskDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTaskDetails post(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerTaskDetailsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerTaskDetailsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequestBuilder.java index c0d5d82cceb..390162a505f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequest; -import com.microsoft.graph.requests.generated.IBasePlannerTaskDetailsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Details Request Builder. */ -public interface IPlannerTaskDetailsRequestBuilder extends IBasePlannerTaskDetailsRequestBuilder { +public interface IPlannerTaskDetailsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerTaskDetailsRequest instance + */ + IPlannerTaskDetailsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerTaskDetailsRequest instance + */ + IPlannerTaskDetailsRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequest.java index 2937e7cec8d..850b29701ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.requests.generated.IBasePlannerTaskRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Request. */ -public interface IPlannerTaskRequest extends IBasePlannerTaskRequest { +public interface IPlannerTaskRequest extends IHttpRequest { + + /** + * Gets the PlannerTask from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerTask from the service + * + * @return the PlannerTask from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTask get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerTask with a source + * + * @param sourcePlannerTask the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerTask sourcePlannerTask, final ICallback callback); + + /** + * Patches this PlannerTask with a source + * + * @param sourcePlannerTask the source object with updates + * @return the updated PlannerTask + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTask patch(final PlannerTask sourcePlannerTask) throws ClientException; + + /** + * Posts a PlannerTask with a new object + * + * @param newPlannerTask the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerTask newPlannerTask, final ICallback callback); + + /** + * Posts a PlannerTask with a new object + * + * @param newPlannerTask the new object to create + * @return the created PlannerTask + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTask post(final PlannerTask newPlannerTask) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerTaskRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerTaskRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequestBuilder.java index 9c573277fda..1ae6285b0b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequestBuilder.java @@ -3,14 +3,64 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePlannerTaskRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner Task Request Builder. */ -public interface IPlannerTaskRequestBuilder extends IBasePlannerTaskRequestBuilder { +public interface IPlannerTaskRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerTaskRequest instance + */ + IPlannerTaskRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerTaskRequest instance + */ + IPlannerTaskRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for PlannerTaskDetails + * + * @return the IPlannerTaskDetailsRequestBuilder instance + */ + IPlannerTaskDetailsRequestBuilder details(); + + /** + * Gets the request builder for PlannerAssignedToTaskBoardTaskFormat + * + * @return the IPlannerAssignedToTaskBoardTaskFormatRequestBuilder instance + */ + IPlannerAssignedToTaskBoardTaskFormatRequestBuilder assignedToTaskBoardFormat(); + + /** + * Gets the request builder for PlannerProgressTaskBoardTaskFormat + * + * @return the IPlannerProgressTaskBoardTaskFormatRequestBuilder instance + */ + IPlannerProgressTaskBoardTaskFormatRequestBuilder progressTaskBoardFormat(); + + /** + * Gets the request builder for PlannerBucketTaskBoardTaskFormat + * + * @return the IPlannerBucketTaskBoardTaskFormatRequestBuilder instance + */ + IPlannerBucketTaskBoardTaskFormatRequestBuilder bucketTaskBoardFormat(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequest.java index c1929918678..79429db24ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerUser; -import com.microsoft.graph.requests.generated.IBasePlannerUserRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner User Request. */ -public interface IPlannerUserRequest extends IBasePlannerUserRequest { +public interface IPlannerUserRequest extends IHttpRequest { + + /** + * Gets the PlannerUser from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the PlannerUser from the service + * + * @return the PlannerUser from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerUser get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this PlannerUser with a source + * + * @param sourcePlannerUser the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final PlannerUser sourcePlannerUser, final ICallback callback); + + /** + * Patches this PlannerUser with a source + * + * @param sourcePlannerUser the source object with updates + * @return the updated PlannerUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerUser patch(final PlannerUser sourcePlannerUser) throws ClientException; + + /** + * Posts a PlannerUser with a new object + * + * @param newPlannerUser the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final PlannerUser newPlannerUser, final ICallback callback); + + /** + * Posts a PlannerUser with a new object + * + * @param newPlannerUser the new object to create + * @return the created PlannerUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerUser post(final PlannerUser newPlannerUser) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPlannerUserRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPlannerUserRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequestBuilder.java index decee8f2c49..5f0d8ac5c61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequestBuilder.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerUserRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePlannerUserRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Planner User Request Builder. */ -public interface IPlannerUserRequestBuilder extends IBasePlannerUserRequestBuilder { +public interface IPlannerUserRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPlannerUserRequest instance + */ + IPlannerUserRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPlannerUserRequest instance + */ + IPlannerUserRequest buildRequest(final java.util.List requestOptions); + + + IPlannerTaskCollectionRequestBuilder tasks(); + + IPlannerTaskRequestBuilder tasks(final String id); + + IPlannerPlanCollectionRequestBuilder plans(); + + IPlannerPlanRequestBuilder plans(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionPage.java index 0f7958e4a72..fe902499aed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePostCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Collection Page. */ -public interface IPostCollectionPage extends IBasePostCollectionPage { - +public interface IPostCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequest.java index 2343de0b3de..3473aaf20e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePostCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Collection Request. */ -public interface IPostCollectionRequest extends IBasePostCollectionRequest { +public interface IPostCollectionRequest { + + void get(final ICallback callback); + + IPostCollectionPage get() throws ClientException; + + void post(final Post newPost, final ICallback callback); + + Post post(final Post newPost) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPostCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPostCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPostCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequestBuilder.java index 77b39ff8cb4..03d17e50c5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBasePostCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Collection Request Builder. */ -public interface IPostCollectionRequestBuilder extends IBasePostCollectionRequestBuilder { +public interface IPostCollectionRequestBuilder extends IRequestBuilder { + + IPostCollectionRequest buildRequest(); + + IPostCollectionRequest buildRequest(final java.util.List requestOptions); + + IPostRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequest.java index 72d8c44d38e..5513cb4d390 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostForwardRequest; -import com.microsoft.graph.requests.generated.IBasePostForwardRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Forward Request. */ -public interface IPostForwardRequest extends IBasePostForwardRequest { +public interface IPostForwardRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPostForwardRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPostForwardRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPostForwardRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequestBuilder.java index 896dfdd8e2d..c1fcf2ae8c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostForwardRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostForwardRequest; -import com.microsoft.graph.requests.generated.IBasePostForwardRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Forward Request Builder. */ -public interface IPostForwardRequestBuilder extends IBasePostForwardRequestBuilder { +public interface IPostForwardRequestBuilder extends IRequestBuilder { + /** + * Creates the IPostForwardRequest + * + * @return the IPostForwardRequest instance + */ + IPostForwardRequest buildRequest(); + + /** + * Creates the IPostForwardRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IPostForwardRequest instance + */ + IPostForwardRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequest.java index a46f3129cfd..df62f982c01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostReplyRequest; -import com.microsoft.graph.requests.generated.IBasePostReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Reply Request. */ -public interface IPostReplyRequest extends IBasePostReplyRequest { +public interface IPostReplyRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPostReplyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IPostReplyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPostReplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequestBuilder.java index 33d8bcfed81..ff1fed6aaba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostReplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostReplyRequest; -import com.microsoft.graph.requests.generated.IBasePostReplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Reply Request Builder. */ -public interface IPostReplyRequestBuilder extends IBasePostReplyRequestBuilder { +public interface IPostReplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IPostReplyRequest + * + * @return the IPostReplyRequest instance + */ + IPostReplyRequest buildRequest(); + + /** + * Creates the IPostReplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IPostReplyRequest instance + */ + IPostReplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostRequest.java index d6d2d4982b6..3ff91ef143c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.requests.generated.IBasePostRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Request. */ -public interface IPostRequest extends IBasePostRequest { +public interface IPostRequest extends IHttpRequest { + + /** + * Gets the Post from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Post from the service + * + * @return the Post from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Post get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Post with a source + * + * @param sourcePost the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Post sourcePost, final ICallback callback); + + /** + * Patches this Post with a source + * + * @param sourcePost the source object with updates + * @return the updated Post + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Post patch(final Post sourcePost) throws ClientException; + + /** + * Posts a Post with a new object + * + * @param newPost the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Post newPost, final ICallback callback); + + /** + * Posts a Post with a new object + * + * @param newPost the new object to create + * @return the created Post + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Post post(final Post newPost) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IPostRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IPostRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPostRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IPostRequestBuilder.java index 691eb2ecf05..6d91ebb0995 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostRequestBuilder.java @@ -3,14 +3,70 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostRequest; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPostRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.requests.extensions.IPostForwardRequestBuilder; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.requests.extensions.IPostReplyRequestBuilder; -import com.microsoft.graph.requests.generated.IBasePostRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Post Request Builder. */ -public interface IPostRequestBuilder extends IBasePostRequestBuilder { +public interface IPostRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IPostRequest instance + */ + IPostRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IPostRequest instance + */ + IPostRequest buildRequest(final java.util.List requestOptions); + + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + + /** + * Gets the request builder for Post + * + * @return the IPostRequestBuilder instance + */ + IPostRequestBuilder inReplyTo(); + + IAttachmentCollectionRequestBuilder attachments(); + + IAttachmentRequestBuilder attachments(final String id); + + ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); + + ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); + + IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); + + IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); + IPostForwardRequestBuilder forward(final String comment, final java.util.List toRecipients); + IPostReplyRequestBuilder reply(final Post post); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionPage.java index 10b347b392a..be805a483f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Collection Page. */ -public interface IProfilePhotoCollectionPage extends IBaseProfilePhotoCollectionPage { - +public interface IProfilePhotoCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequest.java index 5149c6b6553..4954a1d699d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Collection Request. */ -public interface IProfilePhotoCollectionRequest extends IBaseProfilePhotoCollectionRequest { +public interface IProfilePhotoCollectionRequest { + + void get(final ICallback callback); + + IProfilePhotoCollectionPage get() throws ClientException; + + void post(final ProfilePhoto newProfilePhoto, final ICallback callback); + + ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IProfilePhotoCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IProfilePhotoCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IProfilePhotoCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequestBuilder.java index bde8c28eb5a..9dbdf856172 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Collection Request Builder. */ -public interface IProfilePhotoCollectionRequestBuilder extends IBaseProfilePhotoCollectionRequestBuilder { +public interface IProfilePhotoCollectionRequestBuilder extends IRequestBuilder { + + IProfilePhotoCollectionRequest buildRequest(); + + IProfilePhotoCollectionRequest buildRequest(final java.util.List requestOptions); + + IProfilePhotoRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequest.java index e5125a8db2a..6b5d5f9bb28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Request. */ -public interface IProfilePhotoRequest extends IBaseProfilePhotoRequest { +public interface IProfilePhotoRequest extends IHttpRequest { + + /** + * Gets the ProfilePhoto from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ProfilePhoto from the service + * + * @return the ProfilePhoto from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ProfilePhoto get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ProfilePhoto with a source + * + * @param sourceProfilePhoto the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ProfilePhoto sourceProfilePhoto, final ICallback callback); + + /** + * Patches this ProfilePhoto with a source + * + * @param sourceProfilePhoto the source object with updates + * @return the updated ProfilePhoto + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ProfilePhoto patch(final ProfilePhoto sourceProfilePhoto) throws ClientException; + + /** + * Posts a ProfilePhoto with a new object + * + * @param newProfilePhoto the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ProfilePhoto newProfilePhoto, final ICallback callback); + + /** + * Posts a ProfilePhoto with a new object + * + * @param newProfilePhoto the new object to create + * @return the created ProfilePhoto + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IProfilePhotoRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IProfilePhotoRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequestBuilder.java index 00a6aa90c6d..13392526559 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequest; +import com.microsoft.graph.requests.extensions.IProfilePhotoStreamRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Request Builder. */ -public interface IProfilePhotoRequestBuilder extends IBaseProfilePhotoRequestBuilder { +public interface IProfilePhotoRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IProfilePhotoRequest instance + */ + IProfilePhotoRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IProfilePhotoRequest instance + */ + IProfilePhotoRequest buildRequest(final java.util.List requestOptions); + + + IProfilePhotoStreamRequestBuilder content(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequest.java index 95a6ee7d145..8eb1615c662 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Stream Request. */ -public interface IProfilePhotoStreamRequest extends IBaseProfilePhotoStreamRequest { +public interface IProfilePhotoStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + ProfilePhoto put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequestBuilder.java index 7a064139c88..f1154e21e66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoStreamRequestBuilder.java @@ -4,13 +4,41 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseProfilePhotoStreamRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Profile Photo Stream Request Builder. */ -public interface IProfilePhotoStreamRequestBuilder extends IBaseProfilePhotoStreamRequestBuilder { +public interface IProfilePhotoStreamRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IProfilePhotoStreamRequest instance + */ + IProfilePhotoStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IProfilePhotoStreamRequest instance + */ + IProfilePhotoStreamRequest buildRequest(final java.util.List requestOptions); + + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequest.java index 48962917a82..91aeeb7bb50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ReferenceAttachment; -import com.microsoft.graph.requests.generated.IBaseReferenceAttachmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Reference Attachment Request. */ -public interface IReferenceAttachmentRequest extends IBaseReferenceAttachmentRequest { +public interface IReferenceAttachmentRequest extends IHttpRequest { + + /** + * Gets the ReferenceAttachment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ReferenceAttachment from the service + * + * @return the ReferenceAttachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReferenceAttachment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ReferenceAttachment with a source + * + * @param sourceReferenceAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ReferenceAttachment sourceReferenceAttachment, final ICallback callback); + + /** + * Patches this ReferenceAttachment with a source + * + * @param sourceReferenceAttachment the source object with updates + * @return the updated ReferenceAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReferenceAttachment patch(final ReferenceAttachment sourceReferenceAttachment) throws ClientException; + + /** + * Posts a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ReferenceAttachment newReferenceAttachment, final ICallback callback); + + /** + * Posts a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the new object to create + * @return the created ReferenceAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReferenceAttachment post(final ReferenceAttachment newReferenceAttachment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReferenceAttachmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReferenceAttachmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequestBuilder.java index fd117d5022c..f8dbd93ded5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReferenceAttachmentRequest; -import com.microsoft.graph.requests.generated.IBaseReferenceAttachmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Reference Attachment Request Builder. */ -public interface IReferenceAttachmentRequestBuilder extends IBaseReferenceAttachmentRequestBuilder { +public interface IReferenceAttachmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IReferenceAttachmentRequest instance + */ + IReferenceAttachmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IReferenceAttachmentRequest instance + */ + IReferenceAttachmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequest.java index bbba767ba89..d7e50645b04 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerBeginOnboardingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Begin Onboarding Request. */ -public interface IRemoteAssistancePartnerBeginOnboardingRequest extends IBaseRemoteAssistancePartnerBeginOnboardingRequest { +public interface IRemoteAssistancePartnerBeginOnboardingRequest { + + /** + * Creates the RemoteAssistancePartnerBeginOnboarding + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the RemoteAssistancePartnerBeginOnboarding + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequestBuilder.java index fbf259dc288..cfcdb666e9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerBeginOnboardingRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Begin Onboarding Request Builder. */ -public interface IRemoteAssistancePartnerBeginOnboardingRequestBuilder extends IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder { +public interface IRemoteAssistancePartnerBeginOnboardingRequestBuilder extends IRequestBuilder { + /** + * Creates the IRemoteAssistancePartnerBeginOnboardingRequest + * + * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance + */ + IRemoteAssistancePartnerBeginOnboardingRequest buildRequest(); + + /** + * Creates the IRemoteAssistancePartnerBeginOnboardingRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance + */ + IRemoteAssistancePartnerBeginOnboardingRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionPage.java index 1783215b703..e7982eab099 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Collection Page. */ -public interface IRemoteAssistancePartnerCollectionPage extends IBaseRemoteAssistancePartnerCollectionPage { - +public interface IRemoteAssistancePartnerCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequest.java index 2155771008a..feb4788fca3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Collection Request. */ -public interface IRemoteAssistancePartnerCollectionRequest extends IBaseRemoteAssistancePartnerCollectionRequest { +public interface IRemoteAssistancePartnerCollectionRequest { + + void get(final ICallback callback); + + IRemoteAssistancePartnerCollectionPage get() throws ClientException; + + void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback); + + RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRemoteAssistancePartnerCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRemoteAssistancePartnerCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IRemoteAssistancePartnerCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequestBuilder.java index 439e3f8f89f..188c6262343 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Collection Request Builder. */ -public interface IRemoteAssistancePartnerCollectionRequestBuilder extends IBaseRemoteAssistancePartnerCollectionRequestBuilder { +public interface IRemoteAssistancePartnerCollectionRequestBuilder extends IRequestBuilder { + + IRemoteAssistancePartnerCollectionRequest buildRequest(); + + IRemoteAssistancePartnerCollectionRequest buildRequest(final java.util.List requestOptions); + + IRemoteAssistancePartnerRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequest.java index a3a9292cd18..ae0689ddefc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerDisconnectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Disconnect Request. */ -public interface IRemoteAssistancePartnerDisconnectRequest extends IBaseRemoteAssistancePartnerDisconnectRequest { +public interface IRemoteAssistancePartnerDisconnectRequest { + + /** + * Creates the RemoteAssistancePartnerDisconnect + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the RemoteAssistancePartnerDisconnect + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequestBuilder.java index 33ed6fb3f4e..9a115b4e3d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerDisconnectRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerDisconnectRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Disconnect Request Builder. */ -public interface IRemoteAssistancePartnerDisconnectRequestBuilder extends IBaseRemoteAssistancePartnerDisconnectRequestBuilder { +public interface IRemoteAssistancePartnerDisconnectRequestBuilder extends IRequestBuilder { + /** + * Creates the IRemoteAssistancePartnerDisconnectRequest + * + * @return the IRemoteAssistancePartnerDisconnectRequest instance + */ + IRemoteAssistancePartnerDisconnectRequest buildRequest(); + + /** + * Creates the IRemoteAssistancePartnerDisconnectRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IRemoteAssistancePartnerDisconnectRequest instance + */ + IRemoteAssistancePartnerDisconnectRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequest.java index 034e42178e8..49486c3b9ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RemoteAssistancePartner; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Request. */ -public interface IRemoteAssistancePartnerRequest extends IBaseRemoteAssistancePartnerRequest { +public interface IRemoteAssistancePartnerRequest extends IHttpRequest { + + /** + * Gets the RemoteAssistancePartner from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the RemoteAssistancePartner from the service + * + * @return the RemoteAssistancePartner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RemoteAssistancePartner get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this RemoteAssistancePartner with a source + * + * @param sourceRemoteAssistancePartner the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final RemoteAssistancePartner sourceRemoteAssistancePartner, final ICallback callback); + + /** + * Patches this RemoteAssistancePartner with a source + * + * @param sourceRemoteAssistancePartner the source object with updates + * @return the updated RemoteAssistancePartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RemoteAssistancePartner patch(final RemoteAssistancePartner sourceRemoteAssistancePartner) throws ClientException; + + /** + * Posts a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback); + + /** + * Posts a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the new object to create + * @return the created RemoteAssistancePartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRemoteAssistancePartnerRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRemoteAssistancePartnerRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequestBuilder.java index e6d819d2ba2..ac0d0b7cd26 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequestBuilder.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequest; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequestBuilder; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseRemoteAssistancePartnerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Remote Assistance Partner Request Builder. */ -public interface IRemoteAssistancePartnerRequestBuilder extends IBaseRemoteAssistancePartnerRequestBuilder { +public interface IRemoteAssistancePartnerRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IRemoteAssistancePartnerRequest instance + */ + IRemoteAssistancePartnerRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IRemoteAssistancePartnerRequest instance + */ + IRemoteAssistancePartnerRequest buildRequest(final java.util.List requestOptions); + + IRemoteAssistancePartnerBeginOnboardingRequestBuilder beginOnboarding(); + IRemoteAssistancePartnerDisconnectRequestBuilder disconnect(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequest.java index cc73dbabfca..94e7f55f396 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootDeviceConfigurationDeviceActivityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Device Configuration Device Activity Request. */ -public interface IReportRootDeviceConfigurationDeviceActivityRequest extends IBaseReportRootDeviceConfigurationDeviceActivityRequest { +public interface IReportRootDeviceConfigurationDeviceActivityRequest { + + /** + * Patches the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootDeviceConfigurationDeviceActivityRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootDeviceConfigurationDeviceActivityRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequestBuilder.java index d8d64ad669d..105592b8c55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationDeviceActivityRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Device Configuration Device Activity Request Builder. */ -public interface IReportRootDeviceConfigurationDeviceActivityRequestBuilder extends IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder { +public interface IReportRootDeviceConfigurationDeviceActivityRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootDeviceConfigurationDeviceActivityRequest + * + * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance + */ + IReportRootDeviceConfigurationDeviceActivityRequest buildRequest(); + + /** + * Creates the IReportRootDeviceConfigurationDeviceActivityRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance + */ + IReportRootDeviceConfigurationDeviceActivityRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequest.java index 311da94955a..cb49d252ef9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootDeviceConfigurationUserActivityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Device Configuration User Activity Request. */ -public interface IReportRootDeviceConfigurationUserActivityRequest extends IBaseReportRootDeviceConfigurationUserActivityRequest { +public interface IReportRootDeviceConfigurationUserActivityRequest { + + /** + * Patches the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootDeviceConfigurationUserActivityRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootDeviceConfigurationUserActivityRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequestBuilder.java index 7d3b86e98f8..928f2eaf719 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootDeviceConfigurationUserActivityRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootDeviceConfigurationUserActivityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Device Configuration User Activity Request Builder. */ -public interface IReportRootDeviceConfigurationUserActivityRequestBuilder extends IBaseReportRootDeviceConfigurationUserActivityRequestBuilder { +public interface IReportRootDeviceConfigurationUserActivityRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootDeviceConfigurationUserActivityRequest + * + * @return the IReportRootDeviceConfigurationUserActivityRequest instance + */ + IReportRootDeviceConfigurationUserActivityRequest buildRequest(); + + /** + * Creates the IReportRootDeviceConfigurationUserActivityRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootDeviceConfigurationUserActivityRequest instance + */ + IReportRootDeviceConfigurationUserActivityRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequest.java index 5690d2d6844..97c0218fb93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email Activity Counts Request. */ -public interface IReportRootGetEmailActivityCountsRequest extends IBaseReportRootGetEmailActivityCountsRequest { +public interface IReportRootGetEmailActivityCountsRequest { + + /** + * Patches the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequestBuilder.java index d7b2d8973fd..e08e40893b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email Activity Counts Request Builder. */ -public interface IReportRootGetEmailActivityCountsRequestBuilder extends IBaseReportRootGetEmailActivityCountsRequestBuilder { +public interface IReportRootGetEmailActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailActivityCountsRequest + * + * @return the IReportRootGetEmailActivityCountsRequest instance + */ + IReportRootGetEmailActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailActivityCountsRequest instance + */ + IReportRootGetEmailActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequest.java index 120f2af0301..09e488e4cce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email Activity User Counts Request. */ -public interface IReportRootGetEmailActivityUserCountsRequest extends IBaseReportRootGetEmailActivityUserCountsRequest { +public interface IReportRootGetEmailActivityUserCountsRequest { + + /** + * Patches the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequestBuilder.java index 7ab7dd495d5..e0747b2be4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email Activity User Counts Request Builder. */ -public interface IReportRootGetEmailActivityUserCountsRequestBuilder extends IBaseReportRootGetEmailActivityUserCountsRequestBuilder { +public interface IReportRootGetEmailActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailActivityUserCountsRequest + * + * @return the IReportRootGetEmailActivityUserCountsRequest instance + */ + IReportRootGetEmailActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailActivityUserCountsRequest instance + */ + IReportRootGetEmailActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequest.java index c7d97b4d5b6..e1a9396ab3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email Activity User Detail Request. */ -public interface IReportRootGetEmailActivityUserDetailRequest extends IBaseReportRootGetEmailActivityUserDetailRequest { +public interface IReportRootGetEmailActivityUserDetailRequest { + + /** + * Patches the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailActivityUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailActivityUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequestBuilder.java index 9b0c319e85c..b47ecfc3f53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailActivityUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email Activity User Detail Request Builder. */ -public interface IReportRootGetEmailActivityUserDetailRequestBuilder extends IBaseReportRootGetEmailActivityUserDetailRequestBuilder { +public interface IReportRootGetEmailActivityUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailActivityUserDetailRequest + * + * @return the IReportRootGetEmailActivityUserDetailRequest instance + */ + IReportRootGetEmailActivityUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailActivityUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailActivityUserDetailRequest instance + */ + IReportRootGetEmailActivityUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequest.java index f54c448159a..9853320e9ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageAppsUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage Apps User Counts Request. */ -public interface IReportRootGetEmailAppUsageAppsUserCountsRequest extends IBaseReportRootGetEmailAppUsageAppsUserCountsRequest { +public interface IReportRootGetEmailAppUsageAppsUserCountsRequest { + + /** + * Patches the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailAppUsageAppsUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailAppUsageAppsUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java index fd5f3de6c2e..4ef7d00af44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage Apps User Counts Request Builder. */ -public interface IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder { +public interface IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest + * + * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance + */ + IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance + */ + IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequest.java index d497ad4e743..ce42704a790 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage User Counts Request. */ -public interface IReportRootGetEmailAppUsageUserCountsRequest extends IBaseReportRootGetEmailAppUsageUserCountsRequest { +public interface IReportRootGetEmailAppUsageUserCountsRequest { + + /** + * Patches the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailAppUsageUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailAppUsageUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequestBuilder.java index de95c5b5afa..cfa40dc0493 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage User Counts Request Builder. */ -public interface IReportRootGetEmailAppUsageUserCountsRequestBuilder extends IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder { +public interface IReportRootGetEmailAppUsageUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailAppUsageUserCountsRequest + * + * @return the IReportRootGetEmailAppUsageUserCountsRequest instance + */ + IReportRootGetEmailAppUsageUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailAppUsageUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageUserCountsRequest instance + */ + IReportRootGetEmailAppUsageUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequest.java index 4691d4e5a5b..bb0271410ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage User Detail Request. */ -public interface IReportRootGetEmailAppUsageUserDetailRequest extends IBaseReportRootGetEmailAppUsageUserDetailRequest { +public interface IReportRootGetEmailAppUsageUserDetailRequest { + + /** + * Patches the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailAppUsageUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailAppUsageUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequestBuilder.java index 0031ba3a881..877b571b7ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage User Detail Request Builder. */ -public interface IReportRootGetEmailAppUsageUserDetailRequestBuilder extends IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder { +public interface IReportRootGetEmailAppUsageUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailAppUsageUserDetailRequest + * + * @return the IReportRootGetEmailAppUsageUserDetailRequest instance + */ + IReportRootGetEmailAppUsageUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailAppUsageUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageUserDetailRequest instance + */ + IReportRootGetEmailAppUsageUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequest.java index 4368c05e15f..286beb54f68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage Versions User Counts Request. */ -public interface IReportRootGetEmailAppUsageVersionsUserCountsRequest extends IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest { +public interface IReportRootGetEmailAppUsageVersionsUserCountsRequest { + + /** + * Patches the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetEmailAppUsageVersionsUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetEmailAppUsageVersionsUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java index dc5efe71749..399d9fd0963 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Email App Usage Versions User Counts Request Builder. */ -public interface IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder { +public interface IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest + * + * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance + */ + IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance + */ + IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequest.java index 91c3ba572db..79cd68bd9cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Detail Request. */ -public interface IReportRootGetMailboxUsageDetailRequest extends IBaseReportRootGetMailboxUsageDetailRequest { +public interface IReportRootGetMailboxUsageDetailRequest { + + /** + * Patches the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetMailboxUsageDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetMailboxUsageDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequestBuilder.java index 5c4bea4be77..040c2103b3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Detail Request Builder. */ -public interface IReportRootGetMailboxUsageDetailRequestBuilder extends IBaseReportRootGetMailboxUsageDetailRequestBuilder { +public interface IReportRootGetMailboxUsageDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetMailboxUsageDetailRequest + * + * @return the IReportRootGetMailboxUsageDetailRequest instance + */ + IReportRootGetMailboxUsageDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetMailboxUsageDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageDetailRequest instance + */ + IReportRootGetMailboxUsageDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequest.java index 4a5bb1b9e32..df1c86c92b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageMailboxCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Mailbox Counts Request. */ -public interface IReportRootGetMailboxUsageMailboxCountsRequest extends IBaseReportRootGetMailboxUsageMailboxCountsRequest { +public interface IReportRootGetMailboxUsageMailboxCountsRequest { + + /** + * Patches the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetMailboxUsageMailboxCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetMailboxUsageMailboxCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequestBuilder.java index 3a3c1085f95..2300926e524 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageMailboxCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Mailbox Counts Request Builder. */ -public interface IReportRootGetMailboxUsageMailboxCountsRequestBuilder extends IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder { +public interface IReportRootGetMailboxUsageMailboxCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetMailboxUsageMailboxCountsRequest + * + * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance + */ + IReportRootGetMailboxUsageMailboxCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetMailboxUsageMailboxCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance + */ + IReportRootGetMailboxUsageMailboxCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java index 15c1b29b23d..57caf7ed691 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Quota Status Mailbox Counts Request. */ -public interface IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest extends IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest { +public interface IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest { + + /** + * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java index 92a73324ba9..b0e3076f23e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Quota Status Mailbox Counts Request Builder. */ -public interface IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder extends IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder { +public interface IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest + * + * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance + */ + IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance + */ + IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequest.java index 603a5bd6cf1..a3627e0721e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Storage Request. */ -public interface IReportRootGetMailboxUsageStorageRequest extends IBaseReportRootGetMailboxUsageStorageRequest { +public interface IReportRootGetMailboxUsageStorageRequest { + + /** + * Patches the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetMailboxUsageStorageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetMailboxUsageStorageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequestBuilder.java index 0cead3059b2..ed2491f8f2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetMailboxUsageStorageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetMailboxUsageStorageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Mailbox Usage Storage Request Builder. */ -public interface IReportRootGetMailboxUsageStorageRequestBuilder extends IBaseReportRootGetMailboxUsageStorageRequestBuilder { +public interface IReportRootGetMailboxUsageStorageRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetMailboxUsageStorageRequest + * + * @return the IReportRootGetMailboxUsageStorageRequest instance + */ + IReportRootGetMailboxUsageStorageRequest buildRequest(); + + /** + * Creates the IReportRootGetMailboxUsageStorageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageStorageRequest instance + */ + IReportRootGetMailboxUsageStorageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequest.java index 5e8a183bc29..e8589e47f59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActivationCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Activation Counts Request. */ -public interface IReportRootGetOffice365ActivationCountsRequest extends IBaseReportRootGetOffice365ActivationCountsRequest { +public interface IReportRootGetOffice365ActivationCountsRequest { + + /** + * Patches the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365ActivationCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365ActivationCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequestBuilder.java index bb3557d71b7..4f827cbe2aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActivationCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Activation Counts Request Builder. */ -public interface IReportRootGetOffice365ActivationCountsRequestBuilder extends IBaseReportRootGetOffice365ActivationCountsRequestBuilder { +public interface IReportRootGetOffice365ActivationCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365ActivationCountsRequest + * + * @return the IReportRootGetOffice365ActivationCountsRequest instance + */ + IReportRootGetOffice365ActivationCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365ActivationCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActivationCountsRequest instance + */ + IReportRootGetOffice365ActivationCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequest.java index cb877d9e6ad..63fa9321bb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActivationsUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Activations User Counts Request. */ -public interface IReportRootGetOffice365ActivationsUserCountsRequest extends IBaseReportRootGetOffice365ActivationsUserCountsRequest { +public interface IReportRootGetOffice365ActivationsUserCountsRequest { + + /** + * Patches the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365ActivationsUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365ActivationsUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequestBuilder.java index 0995fafe84e..3b0fc55faf8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Activations User Counts Request Builder. */ -public interface IReportRootGetOffice365ActivationsUserCountsRequestBuilder extends IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder { +public interface IReportRootGetOffice365ActivationsUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365ActivationsUserCountsRequest + * + * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance + */ + IReportRootGetOffice365ActivationsUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365ActivationsUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance + */ + IReportRootGetOffice365ActivationsUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequest.java index 1e517ed2eac..831aa3c9016 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActivationsUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Activations User Detail Request. */ -public interface IReportRootGetOffice365ActivationsUserDetailRequest extends IBaseReportRootGetOffice365ActivationsUserDetailRequest { +public interface IReportRootGetOffice365ActivationsUserDetailRequest { + + /** + * Patches the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365ActivationsUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365ActivationsUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequestBuilder.java index c295e9a7af0..8c0fefb8547 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActivationsUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Activations User Detail Request Builder. */ -public interface IReportRootGetOffice365ActivationsUserDetailRequestBuilder extends IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder { +public interface IReportRootGetOffice365ActivationsUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365ActivationsUserDetailRequest + * + * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance + */ + IReportRootGetOffice365ActivationsUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365ActivationsUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance + */ + IReportRootGetOffice365ActivationsUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequest.java index 38d0122e4db..efcf5be28b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActiveUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Active User Counts Request. */ -public interface IReportRootGetOffice365ActiveUserCountsRequest extends IBaseReportRootGetOffice365ActiveUserCountsRequest { +public interface IReportRootGetOffice365ActiveUserCountsRequest { + + /** + * Patches the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365ActiveUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365ActiveUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequestBuilder.java index d289112e644..fb30267a30f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Active User Counts Request Builder. */ -public interface IReportRootGetOffice365ActiveUserCountsRequestBuilder extends IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder { +public interface IReportRootGetOffice365ActiveUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365ActiveUserCountsRequest + * + * @return the IReportRootGetOffice365ActiveUserCountsRequest instance + */ + IReportRootGetOffice365ActiveUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365ActiveUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActiveUserCountsRequest instance + */ + IReportRootGetOffice365ActiveUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequest.java index 82b89371fec..d7e90b21061 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActiveUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Active User Detail Request. */ -public interface IReportRootGetOffice365ActiveUserDetailRequest extends IBaseReportRootGetOffice365ActiveUserDetailRequest { +public interface IReportRootGetOffice365ActiveUserDetailRequest { + + /** + * Patches the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365ActiveUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365ActiveUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequestBuilder.java index d1cfc364fde..33cebb6b08a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ActiveUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Active User Detail Request Builder. */ -public interface IReportRootGetOffice365ActiveUserDetailRequestBuilder extends IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder { +public interface IReportRootGetOffice365ActiveUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365ActiveUserDetailRequest + * + * @return the IReportRootGetOffice365ActiveUserDetailRequest instance + */ + IReportRootGetOffice365ActiveUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365ActiveUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActiveUserDetailRequest instance + */ + IReportRootGetOffice365ActiveUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequest.java index 259eddd1459..c3bd8d0fde6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Counts Request. */ -public interface IReportRootGetOffice365GroupsActivityCountsRequest extends IBaseReportRootGetOffice365GroupsActivityCountsRequest { +public interface IReportRootGetOffice365GroupsActivityCountsRequest { + + /** + * Patches the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequestBuilder.java index 64bad859a6d..017bf0fc8b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Counts Request Builder. */ -public interface IReportRootGetOffice365GroupsActivityCountsRequestBuilder extends IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder { +public interface IReportRootGetOffice365GroupsActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365GroupsActivityCountsRequest + * + * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance + */ + IReportRootGetOffice365GroupsActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365GroupsActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance + */ + IReportRootGetOffice365GroupsActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequest.java index a37a0f06791..57a2af22bc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Detail Request. */ -public interface IReportRootGetOffice365GroupsActivityDetailRequest extends IBaseReportRootGetOffice365GroupsActivityDetailRequest { +public interface IReportRootGetOffice365GroupsActivityDetailRequest { + + /** + * Patches the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequestBuilder.java index f23f4f61033..061d0092145 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Detail Request Builder. */ -public interface IReportRootGetOffice365GroupsActivityDetailRequestBuilder extends IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder { +public interface IReportRootGetOffice365GroupsActivityDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365GroupsActivityDetailRequest + * + * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance + */ + IReportRootGetOffice365GroupsActivityDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365GroupsActivityDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance + */ + IReportRootGetOffice365GroupsActivityDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequest.java index 7a90d4f71ef..9abc43d6770 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity File Counts Request. */ -public interface IReportRootGetOffice365GroupsActivityFileCountsRequest extends IBaseReportRootGetOffice365GroupsActivityFileCountsRequest { +public interface IReportRootGetOffice365GroupsActivityFileCountsRequest { + + /** + * Patches the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityFileCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityFileCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java index 5d1570e1e5f..797e4234247 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity File Counts Request Builder. */ -public interface IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extends IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder { +public interface IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest + * + * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance + */ + IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance + */ + IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequest.java index 91b9e8788e5..90d0a5121c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Group Counts Request. */ -public interface IReportRootGetOffice365GroupsActivityGroupCountsRequest extends IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest { +public interface IReportRootGetOffice365GroupsActivityGroupCountsRequest { + + /** + * Patches the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityGroupCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityGroupCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java index 89f1dbd7e2d..3a0f6f3a74f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Group Counts Request Builder. */ -public interface IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder extends IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder { +public interface IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest + * + * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance + */ + IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance + */ + IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequest.java index 35ae5836d14..6882c0674db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Storage Request. */ -public interface IReportRootGetOffice365GroupsActivityStorageRequest extends IBaseReportRootGetOffice365GroupsActivityStorageRequest { +public interface IReportRootGetOffice365GroupsActivityStorageRequest { + + /** + * Patches the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityStorageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365GroupsActivityStorageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequestBuilder.java index 179c3d07293..aa4b20ebbf3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365GroupsActivityStorageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Groups Activity Storage Request Builder. */ -public interface IReportRootGetOffice365GroupsActivityStorageRequestBuilder extends IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder { +public interface IReportRootGetOffice365GroupsActivityStorageRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365GroupsActivityStorageRequest + * + * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance + */ + IReportRootGetOffice365GroupsActivityStorageRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365GroupsActivityStorageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance + */ + IReportRootGetOffice365GroupsActivityStorageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequest.java index 091dc45a5c1..7118827b22b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ServicesUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Services User Counts Request. */ -public interface IReportRootGetOffice365ServicesUserCountsRequest extends IBaseReportRootGetOffice365ServicesUserCountsRequest { +public interface IReportRootGetOffice365ServicesUserCountsRequest { + + /** + * Patches the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOffice365ServicesUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOffice365ServicesUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequestBuilder.java index 71f02fa65dd..c3f001dae15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOffice365ServicesUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Office365Services User Counts Request Builder. */ -public interface IReportRootGetOffice365ServicesUserCountsRequestBuilder extends IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder { +public interface IReportRootGetOffice365ServicesUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOffice365ServicesUserCountsRequest + * + * @return the IReportRootGetOffice365ServicesUserCountsRequest instance + */ + IReportRootGetOffice365ServicesUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOffice365ServicesUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ServicesUserCountsRequest instance + */ + IReportRootGetOffice365ServicesUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequest.java index 795f0ef7d17..fb31a1d53c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveActivityFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Activity File Counts Request. */ -public interface IReportRootGetOneDriveActivityFileCountsRequest extends IBaseReportRootGetOneDriveActivityFileCountsRequest { +public interface IReportRootGetOneDriveActivityFileCountsRequest { + + /** + * Patches the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveActivityFileCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveActivityFileCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequestBuilder.java index d35acc24380..2a30d9c10a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityFileCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Activity File Counts Request Builder. */ -public interface IReportRootGetOneDriveActivityFileCountsRequestBuilder extends IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder { +public interface IReportRootGetOneDriveActivityFileCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveActivityFileCountsRequest + * + * @return the IReportRootGetOneDriveActivityFileCountsRequest instance + */ + IReportRootGetOneDriveActivityFileCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveActivityFileCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveActivityFileCountsRequest instance + */ + IReportRootGetOneDriveActivityFileCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequest.java index 8c59321abe5..c83343c8438 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Activity User Counts Request. */ -public interface IReportRootGetOneDriveActivityUserCountsRequest extends IBaseReportRootGetOneDriveActivityUserCountsRequest { +public interface IReportRootGetOneDriveActivityUserCountsRequest { + + /** + * Patches the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequestBuilder.java index 1f030f6c29e..1c4e87826ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Activity User Counts Request Builder. */ -public interface IReportRootGetOneDriveActivityUserCountsRequestBuilder extends IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder { +public interface IReportRootGetOneDriveActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveActivityUserCountsRequest + * + * @return the IReportRootGetOneDriveActivityUserCountsRequest instance + */ + IReportRootGetOneDriveActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveActivityUserCountsRequest instance + */ + IReportRootGetOneDriveActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequest.java index a9270db5e79..b4aef79c868 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Activity User Detail Request. */ -public interface IReportRootGetOneDriveActivityUserDetailRequest extends IBaseReportRootGetOneDriveActivityUserDetailRequest { +public interface IReportRootGetOneDriveActivityUserDetailRequest { + + /** + * Patches the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveActivityUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveActivityUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequestBuilder.java index 63624a794e1..437eec2a648 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveActivityUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Activity User Detail Request Builder. */ -public interface IReportRootGetOneDriveActivityUserDetailRequestBuilder extends IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder { +public interface IReportRootGetOneDriveActivityUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveActivityUserDetailRequest + * + * @return the IReportRootGetOneDriveActivityUserDetailRequest instance + */ + IReportRootGetOneDriveActivityUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveActivityUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveActivityUserDetailRequest instance + */ + IReportRootGetOneDriveActivityUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequest.java index 1af944c57cb..f29787d8424 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageAccountCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage Account Counts Request. */ -public interface IReportRootGetOneDriveUsageAccountCountsRequest extends IBaseReportRootGetOneDriveUsageAccountCountsRequest { +public interface IReportRootGetOneDriveUsageAccountCountsRequest { + + /** + * Patches the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveUsageAccountCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveUsageAccountCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequestBuilder.java index 5d05de59f26..2f8d668752f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage Account Counts Request Builder. */ -public interface IReportRootGetOneDriveUsageAccountCountsRequestBuilder extends IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder { +public interface IReportRootGetOneDriveUsageAccountCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveUsageAccountCountsRequest + * + * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance + */ + IReportRootGetOneDriveUsageAccountCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveUsageAccountCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance + */ + IReportRootGetOneDriveUsageAccountCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequest.java index 21fb7bf8164..b7126ffbf92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageAccountDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage Account Detail Request. */ -public interface IReportRootGetOneDriveUsageAccountDetailRequest extends IBaseReportRootGetOneDriveUsageAccountDetailRequest { +public interface IReportRootGetOneDriveUsageAccountDetailRequest { + + /** + * Patches the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveUsageAccountDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveUsageAccountDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequestBuilder.java index d7244af9233..0de25954489 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageAccountDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage Account Detail Request Builder. */ -public interface IReportRootGetOneDriveUsageAccountDetailRequestBuilder extends IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder { +public interface IReportRootGetOneDriveUsageAccountDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveUsageAccountDetailRequest + * + * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance + */ + IReportRootGetOneDriveUsageAccountDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveUsageAccountDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance + */ + IReportRootGetOneDriveUsageAccountDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequest.java index 1b9a5faee73..455dbc35436 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage File Counts Request. */ -public interface IReportRootGetOneDriveUsageFileCountsRequest extends IBaseReportRootGetOneDriveUsageFileCountsRequest { +public interface IReportRootGetOneDriveUsageFileCountsRequest { + + /** + * Patches the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveUsageFileCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveUsageFileCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequestBuilder.java index f550d7028d0..ff4d6213fd4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageFileCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage File Counts Request Builder. */ -public interface IReportRootGetOneDriveUsageFileCountsRequestBuilder extends IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder { +public interface IReportRootGetOneDriveUsageFileCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveUsageFileCountsRequest + * + * @return the IReportRootGetOneDriveUsageFileCountsRequest instance + */ + IReportRootGetOneDriveUsageFileCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveUsageFileCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageFileCountsRequest instance + */ + IReportRootGetOneDriveUsageFileCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequest.java index 1df6961c237..05f82221e77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage Storage Request. */ -public interface IReportRootGetOneDriveUsageStorageRequest extends IBaseReportRootGetOneDriveUsageStorageRequest { +public interface IReportRootGetOneDriveUsageStorageRequest { + + /** + * Patches the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetOneDriveUsageStorageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetOneDriveUsageStorageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequestBuilder.java index 915adf8df05..bcfbcf16b44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetOneDriveUsageStorageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetOneDriveUsageStorageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get One Drive Usage Storage Request Builder. */ -public interface IReportRootGetOneDriveUsageStorageRequestBuilder extends IBaseReportRootGetOneDriveUsageStorageRequestBuilder { +public interface IReportRootGetOneDriveUsageStorageRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetOneDriveUsageStorageRequest + * + * @return the IReportRootGetOneDriveUsageStorageRequest instance + */ + IReportRootGetOneDriveUsageStorageRequest buildRequest(); + + /** + * Creates the IReportRootGetOneDriveUsageStorageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageStorageRequest instance + */ + IReportRootGetOneDriveUsageStorageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequest.java index 45b2d3b4516..439edb2fd8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity File Counts Request. */ -public interface IReportRootGetSharePointActivityFileCountsRequest extends IBaseReportRootGetSharePointActivityFileCountsRequest { +public interface IReportRootGetSharePointActivityFileCountsRequest { + + /** + * Patches the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointActivityFileCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointActivityFileCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequestBuilder.java index aa81d9f14b0..d22511f4e51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityFileCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityFileCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity File Counts Request Builder. */ -public interface IReportRootGetSharePointActivityFileCountsRequestBuilder extends IBaseReportRootGetSharePointActivityFileCountsRequestBuilder { +public interface IReportRootGetSharePointActivityFileCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointActivityFileCountsRequest + * + * @return the IReportRootGetSharePointActivityFileCountsRequest instance + */ + IReportRootGetSharePointActivityFileCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointActivityFileCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityFileCountsRequest instance + */ + IReportRootGetSharePointActivityFileCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequest.java index c19214fcc1a..166968fb85b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityPagesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity Pages Request. */ -public interface IReportRootGetSharePointActivityPagesRequest extends IBaseReportRootGetSharePointActivityPagesRequest { +public interface IReportRootGetSharePointActivityPagesRequest { + + /** + * Patches the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointActivityPagesRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointActivityPagesRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequestBuilder.java index 3a87dfa4cc8..f5598063f58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityPagesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityPagesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity Pages Request Builder. */ -public interface IReportRootGetSharePointActivityPagesRequestBuilder extends IBaseReportRootGetSharePointActivityPagesRequestBuilder { +public interface IReportRootGetSharePointActivityPagesRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointActivityPagesRequest + * + * @return the IReportRootGetSharePointActivityPagesRequest instance + */ + IReportRootGetSharePointActivityPagesRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointActivityPagesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityPagesRequest instance + */ + IReportRootGetSharePointActivityPagesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequest.java index 46cc1bb46a5..5ffa44ca9e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity User Counts Request. */ -public interface IReportRootGetSharePointActivityUserCountsRequest extends IBaseReportRootGetSharePointActivityUserCountsRequest { +public interface IReportRootGetSharePointActivityUserCountsRequest { + + /** + * Patches the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequestBuilder.java index fe48f922807..710877eb0a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity User Counts Request Builder. */ -public interface IReportRootGetSharePointActivityUserCountsRequestBuilder extends IBaseReportRootGetSharePointActivityUserCountsRequestBuilder { +public interface IReportRootGetSharePointActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointActivityUserCountsRequest + * + * @return the IReportRootGetSharePointActivityUserCountsRequest instance + */ + IReportRootGetSharePointActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityUserCountsRequest instance + */ + IReportRootGetSharePointActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequest.java index 45a3871038b..d5a346c0e31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity User Detail Request. */ -public interface IReportRootGetSharePointActivityUserDetailRequest extends IBaseReportRootGetSharePointActivityUserDetailRequest { +public interface IReportRootGetSharePointActivityUserDetailRequest { + + /** + * Patches the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointActivityUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointActivityUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequestBuilder.java index 05e581b0f2c..5986d48e134 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointActivityUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Activity User Detail Request Builder. */ -public interface IReportRootGetSharePointActivityUserDetailRequestBuilder extends IBaseReportRootGetSharePointActivityUserDetailRequestBuilder { +public interface IReportRootGetSharePointActivityUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointActivityUserDetailRequest + * + * @return the IReportRootGetSharePointActivityUserDetailRequest instance + */ + IReportRootGetSharePointActivityUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointActivityUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityUserDetailRequest instance + */ + IReportRootGetSharePointActivityUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequest.java index 931d81c96d6..29a85a7b007 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Detail Request. */ -public interface IReportRootGetSharePointSiteUsageDetailRequest extends IBaseReportRootGetSharePointSiteUsageDetailRequest { +public interface IReportRootGetSharePointSiteUsageDetailRequest { + + /** + * Patches the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequestBuilder.java index 4d44ba38721..5d577fa20b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Detail Request Builder. */ -public interface IReportRootGetSharePointSiteUsageDetailRequestBuilder extends IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder { +public interface IReportRootGetSharePointSiteUsageDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointSiteUsageDetailRequest + * + * @return the IReportRootGetSharePointSiteUsageDetailRequest instance + */ + IReportRootGetSharePointSiteUsageDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointSiteUsageDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageDetailRequest instance + */ + IReportRootGetSharePointSiteUsageDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequest.java index 5bdbda43d87..f35ae299628 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage File Counts Request. */ -public interface IReportRootGetSharePointSiteUsageFileCountsRequest extends IBaseReportRootGetSharePointSiteUsageFileCountsRequest { +public interface IReportRootGetSharePointSiteUsageFileCountsRequest { + + /** + * Patches the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageFileCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageFileCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java index 75438fb8289..6a439325fba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage File Counts Request Builder. */ -public interface IReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder { +public interface IReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest + * + * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance + */ + IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance + */ + IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequest.java index 62c1ea64298..5ab3974e009 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsagePagesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Pages Request. */ -public interface IReportRootGetSharePointSiteUsagePagesRequest extends IBaseReportRootGetSharePointSiteUsagePagesRequest { +public interface IReportRootGetSharePointSiteUsagePagesRequest { + + /** + * Patches the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsagePagesRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsagePagesRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequestBuilder.java index 1f6f9117563..3f733962282 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsagePagesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Pages Request Builder. */ -public interface IReportRootGetSharePointSiteUsagePagesRequestBuilder extends IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder { +public interface IReportRootGetSharePointSiteUsagePagesRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointSiteUsagePagesRequest + * + * @return the IReportRootGetSharePointSiteUsagePagesRequest instance + */ + IReportRootGetSharePointSiteUsagePagesRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointSiteUsagePagesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsagePagesRequest instance + */ + IReportRootGetSharePointSiteUsagePagesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequest.java index 544e7743d80..d107cb5d052 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageSiteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Site Counts Request. */ -public interface IReportRootGetSharePointSiteUsageSiteCountsRequest extends IBaseReportRootGetSharePointSiteUsageSiteCountsRequest { +public interface IReportRootGetSharePointSiteUsageSiteCountsRequest { + + /** + * Patches the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageSiteCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageSiteCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java index 146333a82e5..3d6487eea8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Site Counts Request Builder. */ -public interface IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder { +public interface IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest + * + * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance + */ + IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance + */ + IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequest.java index a12cb79943a..470080bf664 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Storage Request. */ -public interface IReportRootGetSharePointSiteUsageStorageRequest extends IBaseReportRootGetSharePointSiteUsageStorageRequest { +public interface IReportRootGetSharePointSiteUsageStorageRequest { + + /** + * Patches the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageStorageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSharePointSiteUsageStorageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequestBuilder.java index 1b3be1618a2..f992c7b6367 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSharePointSiteUsageStorageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Share Point Site Usage Storage Request Builder. */ -public interface IReportRootGetSharePointSiteUsageStorageRequestBuilder extends IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder { +public interface IReportRootGetSharePointSiteUsageStorageRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSharePointSiteUsageStorageRequest + * + * @return the IReportRootGetSharePointSiteUsageStorageRequest instance + */ + IReportRootGetSharePointSiteUsageStorageRequest buildRequest(); + + /** + * Creates the IReportRootGetSharePointSiteUsageStorageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageStorageRequest instance + */ + IReportRootGetSharePointSiteUsageStorageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequest.java index b02c0f511ca..664580b7d29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Activity Counts Request. */ -public interface IReportRootGetSkypeForBusinessActivityCountsRequest extends IBaseReportRootGetSkypeForBusinessActivityCountsRequest { +public interface IReportRootGetSkypeForBusinessActivityCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java index 7f0b27613ed..428040ea942 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Activity Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequest.java index 8df70c25444..433b5049a0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Activity User Counts Request. */ -public interface IReportRootGetSkypeForBusinessActivityUserCountsRequest extends IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest { +public interface IReportRootGetSkypeForBusinessActivityUserCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java index 6720fc034b3..60fa9b53781 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Activity User Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequest.java index 0019ea21003..334715a7de8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Activity User Detail Request. */ -public interface IReportRootGetSkypeForBusinessActivityUserDetailRequest extends IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest { +public interface IReportRootGetSkypeForBusinessActivityUserDetailRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessActivityUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessActivityUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java index eb6c14ed0ed..9238c45086e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Activity User Detail Request Builder. */ -public interface IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder extends IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder { +public interface IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest + * + * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance + */ + IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance + */ + IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java index 1a2698dd58b..044f8d49807 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Device Usage Distribution User Counts Request. */ -public interface IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest extends IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest { +public interface IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java index f56d4bd326e..bfd37883860 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Device Usage Distribution User Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java index ec335fe90d3..cd9e7a2ccab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Device Usage User Counts Request. */ -public interface IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest extends IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest { +public interface IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java index 00b40abda8a..4f361a1bb24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Device Usage User Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java index f66dc83e33c..7019bf5efcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Device Usage User Detail Request. */ -public interface IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest extends IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest { +public interface IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java index 221af0a3526..85a9799ffef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Device Usage User Detail Request Builder. */ -public interface IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder extends IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder { +public interface IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest + * + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance + */ + IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance + */ + IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java index 1d0ed2eb58e..394f8f67a92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Organizer Activity Counts Request. */ -public interface IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest extends IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest { +public interface IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java index c650a91b151..64cafa93b51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Organizer Activity Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java index 132f6a730ea..41078f0ed20 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Organizer Activity Minute Counts Request. */ -public interface IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest extends IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest { +public interface IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java index c1357ebd6b5..dbcad3bca3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Organizer Activity Minute Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest + * + * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance + */ + IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance + */ + IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java index 10e6c7f97f0..7c3688b32bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Organizer Activity User Counts Request. */ -public interface IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest extends IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest { +public interface IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java index 424e32b7014..18a00cbc33f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Organizer Activity User Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java index c277a3be2a7..8628d2d97eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Participant Activity Counts Request. */ -public interface IReportRootGetSkypeForBusinessParticipantActivityCountsRequest extends IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest { +public interface IReportRootGetSkypeForBusinessParticipantActivityCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessParticipantActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessParticipantActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java index f785b6ad9a3..fa6c81b9f10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Participant Activity Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java index 505b0c44e4a..33f42142df0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Participant Activity Minute Counts Request. */ -public interface IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest extends IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest { +public interface IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java index 6099973c2cd..e334f78186a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Participant Activity Minute Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest + * + * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance + */ + IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance + */ + IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java index 9ec11029c9b..c415c89a1ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Participant Activity User Counts Request. */ -public interface IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest extends IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest { +public interface IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java index 80d3aba494b..9e346569e34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Participant Activity User Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java index ff903d45b55..aa9acae2557 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Peer To Peer Activity Counts Request. */ -public interface IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest extends IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest { +public interface IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java index cb4e1554554..27f4805d0cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Peer To Peer Activity Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java index 69bbf4907d2..a64e9dd9e26 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request. */ -public interface IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest extends IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest { +public interface IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java index f3da1387739..ec4ba4ca8b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest + * + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java index c726e19c62d..344eb80aa55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Peer To Peer Activity User Counts Request. */ -public interface IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest extends IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest { +public interface IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest { + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java index 1a0049b73b2..a7859118334 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Skype For Business Peer To Peer Activity User Counts Request Builder. */ -public interface IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder extends IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder { +public interface IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance + */ + IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java index 4016cac739f..4126c6c06c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams Device Usage Distribution User Counts Request. */ -public interface IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest extends IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest { +public interface IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest { + + /** + * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java index bb256011232..c6ef68cd2f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams Device Usage Distribution User Counts Request Builder. */ -public interface IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder extends IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder { +public interface IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest + * + * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance + */ + IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance + */ + IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequest.java index 8b20610a34d..6d04a6381d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsDeviceUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams Device Usage User Counts Request. */ -public interface IReportRootGetTeamsDeviceUsageUserCountsRequest extends IBaseReportRootGetTeamsDeviceUsageUserCountsRequest { +public interface IReportRootGetTeamsDeviceUsageUserCountsRequest { + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetTeamsDeviceUsageUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetTeamsDeviceUsageUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java index 400420c848d..0532b08c93c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams Device Usage User Counts Request Builder. */ -public interface IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder { +public interface IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest + * + * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance + */ + IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance + */ + IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequest.java index c60a8fc75b6..8e8b4014795 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsDeviceUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams Device Usage User Detail Request. */ -public interface IReportRootGetTeamsDeviceUsageUserDetailRequest extends IBaseReportRootGetTeamsDeviceUsageUserDetailRequest { +public interface IReportRootGetTeamsDeviceUsageUserDetailRequest { + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetTeamsDeviceUsageUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetTeamsDeviceUsageUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java index eb2675f66c7..c4e066a79b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams Device Usage User Detail Request Builder. */ -public interface IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder { +public interface IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest + * + * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance + */ + IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance + */ + IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequest.java index 4e61a6b9323..f72785e5c76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsUserActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams User Activity Counts Request. */ -public interface IReportRootGetTeamsUserActivityCountsRequest extends IBaseReportRootGetTeamsUserActivityCountsRequest { +public interface IReportRootGetTeamsUserActivityCountsRequest { + + /** + * Patches the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetTeamsUserActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetTeamsUserActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequestBuilder.java index eca6d86d0fd..8feb96962c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsUserActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams User Activity Counts Request Builder. */ -public interface IReportRootGetTeamsUserActivityCountsRequestBuilder extends IBaseReportRootGetTeamsUserActivityCountsRequestBuilder { +public interface IReportRootGetTeamsUserActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetTeamsUserActivityCountsRequest + * + * @return the IReportRootGetTeamsUserActivityCountsRequest instance + */ + IReportRootGetTeamsUserActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetTeamsUserActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsUserActivityCountsRequest instance + */ + IReportRootGetTeamsUserActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequest.java index 59ad46af1ba..652fd9f27a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsUserActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams User Activity User Counts Request. */ -public interface IReportRootGetTeamsUserActivityUserCountsRequest extends IBaseReportRootGetTeamsUserActivityUserCountsRequest { +public interface IReportRootGetTeamsUserActivityUserCountsRequest { + + /** + * Patches the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetTeamsUserActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetTeamsUserActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequestBuilder.java index 5d8cab27469..95b80c6bb74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams User Activity User Counts Request Builder. */ -public interface IReportRootGetTeamsUserActivityUserCountsRequestBuilder extends IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder { +public interface IReportRootGetTeamsUserActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetTeamsUserActivityUserCountsRequest + * + * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance + */ + IReportRootGetTeamsUserActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetTeamsUserActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance + */ + IReportRootGetTeamsUserActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequest.java index 4d5d9c56260..6630485542b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsUserActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams User Activity User Detail Request. */ -public interface IReportRootGetTeamsUserActivityUserDetailRequest extends IBaseReportRootGetTeamsUserActivityUserDetailRequest { +public interface IReportRootGetTeamsUserActivityUserDetailRequest { + + /** + * Patches the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetTeamsUserActivityUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetTeamsUserActivityUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequestBuilder.java index 8b3853a87cd..c4d2ab51f6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetTeamsUserActivityUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Teams User Activity User Detail Request Builder. */ -public interface IReportRootGetTeamsUserActivityUserDetailRequestBuilder extends IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder { +public interface IReportRootGetTeamsUserActivityUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetTeamsUserActivityUserDetailRequest + * + * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance + */ + IReportRootGetTeamsUserActivityUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetTeamsUserActivityUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance + */ + IReportRootGetTeamsUserActivityUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequest.java index fb277227f87..af330817d8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Activity Counts Request. */ -public interface IReportRootGetYammerActivityCountsRequest extends IBaseReportRootGetYammerActivityCountsRequest { +public interface IReportRootGetYammerActivityCountsRequest { + + /** + * Patches the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequestBuilder.java index d57d94ccaf0..67cdfaccde0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Activity Counts Request Builder. */ -public interface IReportRootGetYammerActivityCountsRequestBuilder extends IBaseReportRootGetYammerActivityCountsRequestBuilder { +public interface IReportRootGetYammerActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerActivityCountsRequest + * + * @return the IReportRootGetYammerActivityCountsRequest instance + */ + IReportRootGetYammerActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerActivityCountsRequest instance + */ + IReportRootGetYammerActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequest.java index 3751faa1fca..a411af423f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Activity User Counts Request. */ -public interface IReportRootGetYammerActivityUserCountsRequest extends IBaseReportRootGetYammerActivityUserCountsRequest { +public interface IReportRootGetYammerActivityUserCountsRequest { + + /** + * Patches the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerActivityUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerActivityUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequestBuilder.java index 4f401c0e5be..61480121be6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerActivityUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Activity User Counts Request Builder. */ -public interface IReportRootGetYammerActivityUserCountsRequestBuilder extends IBaseReportRootGetYammerActivityUserCountsRequestBuilder { +public interface IReportRootGetYammerActivityUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerActivityUserCountsRequest + * + * @return the IReportRootGetYammerActivityUserCountsRequest instance + */ + IReportRootGetYammerActivityUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerActivityUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerActivityUserCountsRequest instance + */ + IReportRootGetYammerActivityUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequest.java index 20308044e04..4ed0e0a5084 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Activity User Detail Request. */ -public interface IReportRootGetYammerActivityUserDetailRequest extends IBaseReportRootGetYammerActivityUserDetailRequest { +public interface IReportRootGetYammerActivityUserDetailRequest { + + /** + * Patches the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerActivityUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerActivityUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequestBuilder.java index 6826f6891f1..ebc63ec0d78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerActivityUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Activity User Detail Request Builder. */ -public interface IReportRootGetYammerActivityUserDetailRequestBuilder extends IBaseReportRootGetYammerActivityUserDetailRequestBuilder { +public interface IReportRootGetYammerActivityUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerActivityUserDetailRequest + * + * @return the IReportRootGetYammerActivityUserDetailRequest instance + */ + IReportRootGetYammerActivityUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerActivityUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerActivityUserDetailRequest instance + */ + IReportRootGetYammerActivityUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java index 51669a86549..ec82e5f331e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Device Usage Distribution User Counts Request. */ -public interface IReportRootGetYammerDeviceUsageDistributionUserCountsRequest extends IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest { +public interface IReportRootGetYammerDeviceUsageDistributionUserCountsRequest { + + /** + * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerDeviceUsageDistributionUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerDeviceUsageDistributionUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java index 479d371ce88..6aca40d16c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Device Usage Distribution User Counts Request Builder. */ -public interface IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder extends IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder { +public interface IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest + * + * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance + */ + IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance + */ + IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequest.java index d8901062db5..a2c8fef3551 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerDeviceUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Device Usage User Counts Request. */ -public interface IReportRootGetYammerDeviceUsageUserCountsRequest extends IBaseReportRootGetYammerDeviceUsageUserCountsRequest { +public interface IReportRootGetYammerDeviceUsageUserCountsRequest { + + /** + * Patches the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerDeviceUsageUserCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerDeviceUsageUserCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java index c543eac4e81..1731b31805b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Device Usage User Counts Request Builder. */ -public interface IReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder { +public interface IReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest + * + * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance + */ + IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance + */ + IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequest.java index 40f63d53d7b..e4903795117 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerDeviceUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Device Usage User Detail Request. */ -public interface IReportRootGetYammerDeviceUsageUserDetailRequest extends IBaseReportRootGetYammerDeviceUsageUserDetailRequest { +public interface IReportRootGetYammerDeviceUsageUserDetailRequest { + + /** + * Patches the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerDeviceUsageUserDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerDeviceUsageUserDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java index bae113be34b..3d10845f0f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Device Usage User Detail Request Builder. */ -public interface IReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder { +public interface IReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest + * + * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance + */ + IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance + */ + IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequest.java index 86e75ef716f..20ea50cbc14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerGroupsActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Groups Activity Counts Request. */ -public interface IReportRootGetYammerGroupsActivityCountsRequest extends IBaseReportRootGetYammerGroupsActivityCountsRequest { +public interface IReportRootGetYammerGroupsActivityCountsRequest { + + /** + * Patches the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerGroupsActivityCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerGroupsActivityCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequestBuilder.java index 1289e46f32f..61ba130be81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Groups Activity Counts Request Builder. */ -public interface IReportRootGetYammerGroupsActivityCountsRequestBuilder extends IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder { +public interface IReportRootGetYammerGroupsActivityCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerGroupsActivityCountsRequest + * + * @return the IReportRootGetYammerGroupsActivityCountsRequest instance + */ + IReportRootGetYammerGroupsActivityCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerGroupsActivityCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerGroupsActivityCountsRequest instance + */ + IReportRootGetYammerGroupsActivityCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequest.java index 4a10044d149..dc2ed4b4b8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerGroupsActivityDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Groups Activity Detail Request. */ -public interface IReportRootGetYammerGroupsActivityDetailRequest extends IBaseReportRootGetYammerGroupsActivityDetailRequest { +public interface IReportRootGetYammerGroupsActivityDetailRequest { + + /** + * Patches the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerGroupsActivityDetailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerGroupsActivityDetailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequestBuilder.java index c8643d01de8..5981abe413e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityDetailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Groups Activity Detail Request Builder. */ -public interface IReportRootGetYammerGroupsActivityDetailRequestBuilder extends IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder { +public interface IReportRootGetYammerGroupsActivityDetailRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerGroupsActivityDetailRequest + * + * @return the IReportRootGetYammerGroupsActivityDetailRequest instance + */ + IReportRootGetYammerGroupsActivityDetailRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerGroupsActivityDetailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerGroupsActivityDetailRequest instance + */ + IReportRootGetYammerGroupsActivityDetailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequest.java index 8c41961b4ed..327ddaf5f3a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerGroupsActivityGroupCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Groups Activity Group Counts Request. */ -public interface IReportRootGetYammerGroupsActivityGroupCountsRequest extends IBaseReportRootGetYammerGroupsActivityGroupCountsRequest { +public interface IReportRootGetYammerGroupsActivityGroupCountsRequest { + + /** + * Patches the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Report srcReport, final ICallback callback); + + /** + * Patches the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report patch(Report srcReport) throws ClientException; + + /** + * Puts the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + void put(Report srcReport, final ICallback callback); + + /** + * Puts the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(Report srcReport) throws ClientException; + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootGetYammerGroupsActivityGroupCountsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootGetYammerGroupsActivityGroupCountsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java index e62215ac572..f9eab2b9dfd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Get Yammer Groups Activity Group Counts Request Builder. */ -public interface IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder { +public interface IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest + * + * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance + */ + IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest(); + + /** + * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance + */ + IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequest.java index 96108f494f0..b6d14e868a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Managed Device Enrollment Failure Details Request. */ -public interface IReportRootManagedDeviceEnrollmentFailureDetailsRequest extends IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest { +public interface IReportRootManagedDeviceEnrollmentFailureDetailsRequest { + + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootManagedDeviceEnrollmentFailureDetailsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootManagedDeviceEnrollmentFailureDetailsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java index 7fd681d1d6c..9e1f300ae8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Managed Device Enrollment Failure Details Request Builder. */ -public interface IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder extends IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder { +public interface IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest + * + * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance + */ + IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest(); + + /** + * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance + */ + IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequest.java index 25898141fa9..4fe0e8109ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Managed Device Enrollment Top Failures Request. */ -public interface IReportRootManagedDeviceEnrollmentTopFailuresRequest extends IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest { +public interface IReportRootManagedDeviceEnrollmentTopFailuresRequest { + + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootManagedDeviceEnrollmentTopFailuresRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootManagedDeviceEnrollmentTopFailuresRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java index 03e71178684..99a74088afd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; -import com.microsoft.graph.requests.generated.IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Managed Device Enrollment Top Failures Request Builder. */ -public interface IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder { +public interface IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends IRequestBuilder { + /** + * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest + * + * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance + */ + IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest(); + + /** + * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance + */ + IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequest.java index d0e4449480f..7d8e4c04600 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ReportRoot; -import com.microsoft.graph.requests.generated.IBaseReportRootRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Request. */ -public interface IReportRootRequest extends IBaseReportRootRequest { +public interface IReportRootRequest extends IHttpRequest { + + /** + * Gets the ReportRoot from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ReportRoot from the service + * + * @return the ReportRoot from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReportRoot get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ReportRoot with a source + * + * @param sourceReportRoot the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ReportRoot sourceReportRoot, final ICallback callback); + + /** + * Patches this ReportRoot with a source + * + * @param sourceReportRoot the source object with updates + * @return the updated ReportRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReportRoot patch(final ReportRoot sourceReportRoot) throws ClientException; + + /** + * Posts a ReportRoot with a new object + * + * @param newReportRoot the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ReportRoot newReportRoot, final ICallback callback); + + /** + * Posts a ReportRoot with a new object + * + * @param newReportRoot the new object to create + * @return the created ReportRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReportRoot post(final ReportRoot newReportRoot) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IReportRootRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IReportRootRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequestBuilder.java index 050faeebc6e..cd3014ad836 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequestBuilder.java @@ -3,14 +3,210 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootRequest; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseReportRootRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Root Request Builder. */ -public interface IReportRootRequestBuilder extends IBaseReportRootRequestBuilder { +public interface IReportRootRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IReportRootRequest instance + */ + IReportRootRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IReportRootRequest instance + */ + IReportRootRequest buildRequest(final java.util.List requestOptions); + + IReportRootGetOffice365ActivationsUserDetailRequestBuilder getOffice365ActivationsUserDetail(); + IReportRootGetOffice365ActivationCountsRequestBuilder getOffice365ActivationCounts(); + IReportRootGetOffice365ActivationsUserCountsRequestBuilder getOffice365ActivationsUserCounts(); + IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final String period); + IReportRootGetOffice365ServicesUserCountsRequestBuilder getOffice365ServicesUserCounts(final String period); + IReportRootGetOffice365ActiveUserCountsRequestBuilder getOffice365ActiveUserCounts(final String period); + IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final String period); + IReportRootGetOffice365GroupsActivityCountsRequestBuilder getOffice365GroupsActivityCounts(final String period); + IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder getOffice365GroupsActivityGroupCounts(final String period); + IReportRootGetOffice365GroupsActivityStorageRequestBuilder getOffice365GroupsActivityStorage(final String period); + IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder getOffice365GroupsActivityFileCounts(final String period); + IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final String period); + IReportRootGetEmailActivityCountsRequestBuilder getEmailActivityCounts(final String period); + IReportRootGetEmailActivityUserCountsRequestBuilder getEmailActivityUserCounts(final String period); + IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final String period); + IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder getEmailAppUsageAppsUserCounts(final String period); + IReportRootGetEmailAppUsageUserCountsRequestBuilder getEmailAppUsageUserCounts(final String period); + IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder getEmailAppUsageVersionsUserCounts(final String period); + IReportRootGetMailboxUsageDetailRequestBuilder getMailboxUsageDetail(final String period); + IReportRootGetMailboxUsageMailboxCountsRequestBuilder getMailboxUsageMailboxCounts(final String period); + IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder getMailboxUsageQuotaStatusMailboxCounts(final String period); + IReportRootGetMailboxUsageStorageRequestBuilder getMailboxUsageStorage(final String period); + IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final String period); + IReportRootGetOneDriveActivityUserCountsRequestBuilder getOneDriveActivityUserCounts(final String period); + IReportRootGetOneDriveActivityFileCountsRequestBuilder getOneDriveActivityFileCounts(final String period); + IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final String period); + IReportRootGetOneDriveUsageAccountCountsRequestBuilder getOneDriveUsageAccountCounts(final String period); + IReportRootGetOneDriveUsageFileCountsRequestBuilder getOneDriveUsageFileCounts(final String period); + IReportRootGetOneDriveUsageStorageRequestBuilder getOneDriveUsageStorage(final String period); + IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final String period); + IReportRootGetSharePointActivityFileCountsRequestBuilder getSharePointActivityFileCounts(final String period); + IReportRootGetSharePointActivityUserCountsRequestBuilder getSharePointActivityUserCounts(final String period); + IReportRootGetSharePointActivityPagesRequestBuilder getSharePointActivityPages(final String period); + IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final String period); + IReportRootGetSharePointSiteUsageFileCountsRequestBuilder getSharePointSiteUsageFileCounts(final String period); + IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder getSharePointSiteUsageSiteCounts(final String period); + IReportRootGetSharePointSiteUsageStorageRequestBuilder getSharePointSiteUsageStorage(final String period); + IReportRootGetSharePointSiteUsagePagesRequestBuilder getSharePointSiteUsagePages(final String period); + IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final String period); + IReportRootGetSkypeForBusinessActivityCountsRequestBuilder getSkypeForBusinessActivityCounts(final String period); + IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder getSkypeForBusinessActivityUserCounts(final String period); + IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityCounts(final String period); + IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityUserCounts(final String period); + IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityMinuteCounts(final String period); + IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder getSkypeForBusinessOrganizerActivityCounts(final String period); + IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder getSkypeForBusinessOrganizerActivityUserCounts(final String period); + IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder getSkypeForBusinessOrganizerActivityMinuteCounts(final String period); + IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder getSkypeForBusinessParticipantActivityCounts(final String period); + IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder getSkypeForBusinessParticipantActivityUserCounts(final String period); + IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder getSkypeForBusinessParticipantActivityMinuteCounts(final String period); + IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final String period); + IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder getSkypeForBusinessDeviceUsageDistributionUserCounts(final String period); + IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder getSkypeForBusinessDeviceUsageUserCounts(final String period); + IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final String period); + IReportRootGetYammerActivityCountsRequestBuilder getYammerActivityCounts(final String period); + IReportRootGetYammerActivityUserCountsRequestBuilder getYammerActivityUserCounts(final String period); + IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final String period); + IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder getYammerDeviceUsageDistributionUserCounts(final String period); + IReportRootGetYammerDeviceUsageUserCountsRequestBuilder getYammerDeviceUsageUserCounts(final String period); + IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final String period); + IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder getYammerGroupsActivityGroupCounts(final String period); + IReportRootGetYammerGroupsActivityCountsRequestBuilder getYammerGroupsActivityCounts(final String period); + IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final String period); + IReportRootGetTeamsUserActivityCountsRequestBuilder getTeamsUserActivityCounts(final String period); + IReportRootGetTeamsUserActivityUserCountsRequestBuilder getTeamsUserActivityUserCounts(final String period); + IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); + IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final String period); + IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder getTeamsDeviceUsageUserCounts(final String period); + IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder getTeamsDeviceUsageDistributionUserCounts(final String period); + IReportRootDeviceConfigurationUserActivityRequestBuilder deviceConfigurationUserActivity(); + IReportRootDeviceConfigurationDeviceActivityRequestBuilder deviceConfigurationDeviceActivity(); + IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails(); + IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails(final Integer skip, final Integer top, final String filter, final String skipToken); + IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures(); + IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures(final String period); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequest.java index 20d9f83fdf3..3a31f9c444b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseReportStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Stream Request. */ -public interface IReportStreamRequest extends IBaseReportStreamRequest { +public interface IReportStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Report put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequestBuilder.java index 118c8d52fb5..37a4167c2f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportStreamRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportStreamRequest; -import com.microsoft.graph.requests.generated.IBaseReportStreamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Report Stream Request Builder. */ -public interface IReportStreamRequestBuilder extends IBaseReportStreamRequestBuilder { +public interface IReportStreamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IReportStreamRequest instance + */ + IReportStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IReportStreamRequest instance + */ + IReportStreamRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionPage.java index 1cefa972553..f7ac2223ee3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseResourceOperationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Resource Operation Collection Page. */ -public interface IResourceOperationCollectionPage extends IBaseResourceOperationCollectionPage { - +public interface IResourceOperationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequest.java index 90bf6831403..19301aa48f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseResourceOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Resource Operation Collection Request. */ -public interface IResourceOperationCollectionRequest extends IBaseResourceOperationCollectionRequest { +public interface IResourceOperationCollectionRequest { + + void get(final ICallback callback); + + IResourceOperationCollectionPage get() throws ClientException; + + void post(final ResourceOperation newResourceOperation, final ICallback callback); + + ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IResourceOperationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IResourceOperationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IResourceOperationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequestBuilder.java index ef22af0ec13..a1c2d21bdd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseResourceOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Resource Operation Collection Request Builder. */ -public interface IResourceOperationCollectionRequestBuilder extends IBaseResourceOperationCollectionRequestBuilder { +public interface IResourceOperationCollectionRequestBuilder extends IRequestBuilder { + + IResourceOperationCollectionRequest buildRequest(); + + IResourceOperationCollectionRequest buildRequest(final java.util.List requestOptions); + + IResourceOperationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequest.java index f7b8dc3cd8a..6410bfc219f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ResourceOperation; -import com.microsoft.graph.requests.generated.IBaseResourceOperationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Resource Operation Request. */ -public interface IResourceOperationRequest extends IBaseResourceOperationRequest { +public interface IResourceOperationRequest extends IHttpRequest { + + /** + * Gets the ResourceOperation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ResourceOperation from the service + * + * @return the ResourceOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ResourceOperation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ResourceOperation with a source + * + * @param sourceResourceOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ResourceOperation sourceResourceOperation, final ICallback callback); + + /** + * Patches this ResourceOperation with a source + * + * @param sourceResourceOperation the source object with updates + * @return the updated ResourceOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ResourceOperation patch(final ResourceOperation sourceResourceOperation) throws ClientException; + + /** + * Posts a ResourceOperation with a new object + * + * @param newResourceOperation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ResourceOperation newResourceOperation, final ICallback callback); + + /** + * Posts a ResourceOperation with a new object + * + * @param newResourceOperation the new object to create + * @return the created ResourceOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IResourceOperationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IResourceOperationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequestBuilder.java index df498ba6c92..daf71418275 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IResourceOperationRequest; -import com.microsoft.graph.requests.generated.IBaseResourceOperationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Resource Operation Request Builder. */ -public interface IResourceOperationRequestBuilder extends IBaseResourceOperationRequestBuilder { +public interface IResourceOperationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IResourceOperationRequest instance + */ + IResourceOperationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IResourceOperationRequest instance + */ + IResourceOperationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionPage.java index 8412c34f0e8..e9ad9d0929f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Assignment Collection Page. */ -public interface IRoleAssignmentCollectionPage extends IBaseRoleAssignmentCollectionPage { - +public interface IRoleAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequest.java index 481d6cf4e75..61a6925f616 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Assignment Collection Request. */ -public interface IRoleAssignmentCollectionRequest extends IBaseRoleAssignmentCollectionRequest { +public interface IRoleAssignmentCollectionRequest { + + void get(final ICallback callback); + + IRoleAssignmentCollectionPage get() throws ClientException; + + void post(final RoleAssignment newRoleAssignment, final ICallback callback); + + RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRoleAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRoleAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IRoleAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequestBuilder.java index f19e9c5ba19..d941251188d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Assignment Collection Request Builder. */ -public interface IRoleAssignmentCollectionRequestBuilder extends IBaseRoleAssignmentCollectionRequestBuilder { +public interface IRoleAssignmentCollectionRequestBuilder extends IRequestBuilder { + + IRoleAssignmentCollectionRequest buildRequest(); + + IRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + IRoleAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequest.java index 87defc06627..40cd5a8a097 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RoleAssignment; -import com.microsoft.graph.requests.generated.IBaseRoleAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Assignment Request. */ -public interface IRoleAssignmentRequest extends IBaseRoleAssignmentRequest { +public interface IRoleAssignmentRequest extends IHttpRequest { + + /** + * Gets the RoleAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the RoleAssignment from the service + * + * @return the RoleAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this RoleAssignment with a source + * + * @param sourceRoleAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final RoleAssignment sourceRoleAssignment, final ICallback callback); + + /** + * Patches this RoleAssignment with a source + * + * @param sourceRoleAssignment the source object with updates + * @return the updated RoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleAssignment patch(final RoleAssignment sourceRoleAssignment) throws ClientException; + + /** + * Posts a RoleAssignment with a new object + * + * @param newRoleAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final RoleAssignment newRoleAssignment, final ICallback callback); + + /** + * Posts a RoleAssignment with a new object + * + * @param newRoleAssignment the new object to create + * @return the created RoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRoleAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRoleAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequestBuilder.java index 8f8fd04f7f4..3cc99f40edd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRoleAssignmentRequest; +import com.microsoft.graph.requests.extensions.IRoleDefinitionWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseRoleAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Assignment Request Builder. */ -public interface IRoleAssignmentRequestBuilder extends IBaseRoleAssignmentRequestBuilder { +public interface IRoleAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IRoleAssignmentRequest instance + */ + IRoleAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IRoleAssignmentRequest instance + */ + IRoleAssignmentRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for RoleDefinition + * + * @return the IRoleDefinitionWithReferenceRequestBuilder instance + */ + IRoleDefinitionWithReferenceRequestBuilder roleDefinition(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionPage.java index 10c2a3a0124..d10450dceb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Collection Page. */ -public interface IRoleDefinitionCollectionPage extends IBaseRoleDefinitionCollectionPage { - +public interface IRoleDefinitionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequest.java index 6c350b1c1a1..e6bc3b71e51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Collection Request. */ -public interface IRoleDefinitionCollectionRequest extends IBaseRoleDefinitionCollectionRequest { +public interface IRoleDefinitionCollectionRequest { + + void get(final ICallback callback); + + IRoleDefinitionCollectionPage get() throws ClientException; + + void post(final RoleDefinition newRoleDefinition, final ICallback callback); + + RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRoleDefinitionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRoleDefinitionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IRoleDefinitionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequestBuilder.java index 440d94b637e..4634bb7d20c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Collection Request Builder. */ -public interface IRoleDefinitionCollectionRequestBuilder extends IBaseRoleDefinitionCollectionRequestBuilder { +public interface IRoleDefinitionCollectionRequestBuilder extends IRequestBuilder { + + IRoleDefinitionCollectionRequest buildRequest(); + + IRoleDefinitionCollectionRequest buildRequest(final java.util.List requestOptions); + + IRoleDefinitionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequest.java index 0b7b00a9b9b..a9fbd57e6c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Reference Request. */ -public interface IRoleDefinitionReferenceRequest extends IBaseRoleDefinitionReferenceRequest { +public interface IRoleDefinitionReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + RoleDefinition delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRoleDefinitionReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRoleDefinitionReferenceRequest expand(final String value); + + /** + * Puts the RoleDefinition + * + * @param srcRoleDefinition the RoleDefinition to PUT + * @param callback the callback to be called after success or failure + */ + void put(RoleDefinition srcRoleDefinition, final ICallback callback); + /** + * Puts the RoleDefinition + * + * @param srcRoleDefinition the RoleDefinition to PUT + * @return the RoleDefinition + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + RoleDefinition put(RoleDefinition srcRoleDefinition) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequestBuilder.java index 5133bc2cd20..36c1d2acfa2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Reference Request Builder. */ -public interface IRoleDefinitionReferenceRequestBuilder extends IBaseRoleDefinitionReferenceRequestBuilder { +public interface IRoleDefinitionReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IRoleDefinitionReferenceRequest instance + */ + IRoleDefinitionReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IRoleDefinitionReferenceRequest instance + */ + IRoleDefinitionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequest.java index 13497638886..9fcddf591bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RoleDefinition; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Request. */ -public interface IRoleDefinitionRequest extends IBaseRoleDefinitionRequest { +public interface IRoleDefinitionRequest extends IHttpRequest { + + /** + * Gets the RoleDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the RoleDefinition from the service + * + * @return the RoleDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleDefinition get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this RoleDefinition with a source + * + * @param sourceRoleDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback); + + /** + * Patches this RoleDefinition with a source + * + * @param sourceRoleDefinition the source object with updates + * @return the updated RoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException; + + /** + * Posts a RoleDefinition with a new object + * + * @param newRoleDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final RoleDefinition newRoleDefinition, final ICallback callback); + + /** + * Posts a RoleDefinition with a new object + * + * @param newRoleDefinition the new object to create + * @return the created RoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IRoleDefinitionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IRoleDefinitionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequestBuilder.java index 52ef8242ea4..1a7a26c026d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRoleDefinitionRequest; +import com.microsoft.graph.requests.extensions.IRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition Request Builder. */ -public interface IRoleDefinitionRequestBuilder extends IBaseRoleDefinitionRequestBuilder { +public interface IRoleDefinitionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IRoleDefinitionRequest instance + */ + IRoleDefinitionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IRoleDefinitionRequest instance + */ + IRoleDefinitionRequest buildRequest(final java.util.List requestOptions); + + + IRoleAssignmentCollectionRequestBuilder roleAssignments(); + + IRoleAssignmentRequestBuilder roleAssignments(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequest.java index 04e123b17a0..feddb34ffda 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition With Reference Request. */ -public interface IRoleDefinitionWithReferenceRequest extends IBaseRoleDefinitionWithReferenceRequest { +public interface IRoleDefinitionWithReferenceRequest extends IHttpRequest { + + void post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload, final ICallback callback); + + RoleDefinition post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + RoleDefinition get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback); + + RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException; + + IRoleDefinitionWithReferenceRequest select(final String value); + + IRoleDefinitionWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequestBuilder.java index bab0f624b92..6d6eaf0f264 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseRoleDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Role Definition With Reference Request Builder. */ -public interface IRoleDefinitionWithReferenceRequestBuilder extends IBaseRoleDefinitionWithReferenceRequestBuilder { +public interface IRoleDefinitionWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IRoleDefinitionWithReferenceRequest instance + */ + IRoleDefinitionWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IRoleDefinitionWithReferenceRequest instance + */ + IRoleDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IRoleDefinitionReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionPage.java index 94c934d7cad..0e445273525 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSchemaExtensionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Schema Extension Collection Page. */ -public interface ISchemaExtensionCollectionPage extends IBaseSchemaExtensionCollectionPage { - +public interface ISchemaExtensionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequest.java index e11364bf60e..8d5df939297 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSchemaExtensionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Schema Extension Collection Request. */ -public interface ISchemaExtensionCollectionRequest extends IBaseSchemaExtensionCollectionRequest { +public interface ISchemaExtensionCollectionRequest { + + void get(final ICallback callback); + + ISchemaExtensionCollectionPage get() throws ClientException; + + void post(final SchemaExtension newSchemaExtension, final ICallback callback); + + SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISchemaExtensionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISchemaExtensionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISchemaExtensionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequestBuilder.java index 0711d54b642..58c61ace167 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSchemaExtensionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Schema Extension Collection Request Builder. */ -public interface ISchemaExtensionCollectionRequestBuilder extends IBaseSchemaExtensionCollectionRequestBuilder { +public interface ISchemaExtensionCollectionRequestBuilder extends IRequestBuilder { + + ISchemaExtensionCollectionRequest buildRequest(); + + ISchemaExtensionCollectionRequest buildRequest(final java.util.List requestOptions); + + ISchemaExtensionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequest.java index 13b5141ac4c..883024b48dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SchemaExtension; -import com.microsoft.graph.requests.generated.IBaseSchemaExtensionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Schema Extension Request. */ -public interface ISchemaExtensionRequest extends IBaseSchemaExtensionRequest { +public interface ISchemaExtensionRequest extends IHttpRequest { + + /** + * Gets the SchemaExtension from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SchemaExtension from the service + * + * @return the SchemaExtension from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SchemaExtension get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SchemaExtension with a source + * + * @param sourceSchemaExtension the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SchemaExtension sourceSchemaExtension, final ICallback callback); + + /** + * Patches this SchemaExtension with a source + * + * @param sourceSchemaExtension the source object with updates + * @return the updated SchemaExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SchemaExtension patch(final SchemaExtension sourceSchemaExtension) throws ClientException; + + /** + * Posts a SchemaExtension with a new object + * + * @param newSchemaExtension the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SchemaExtension newSchemaExtension, final ICallback callback); + + /** + * Posts a SchemaExtension with a new object + * + * @param newSchemaExtension the new object to create + * @return the created SchemaExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISchemaExtensionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISchemaExtensionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequestBuilder.java index d40a55133d8..0e279d4e446 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISchemaExtensionRequest; -import com.microsoft.graph.requests.generated.IBaseSchemaExtensionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Schema Extension Request Builder. */ -public interface ISchemaExtensionRequestBuilder extends IBaseSchemaExtensionRequestBuilder { +public interface ISchemaExtensionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISchemaExtensionRequest instance + */ + ISchemaExtensionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISchemaExtensionRequest instance + */ + ISchemaExtensionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionPage.java index 05069dae5ff..5108690255b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSectionGroupCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Section Group Collection Page. */ -public interface ISectionGroupCollectionPage extends IBaseSectionGroupCollectionPage { - +public interface ISectionGroupCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequest.java index b58bcfbb767..2d59cab145e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSectionGroupCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Section Group Collection Request. */ -public interface ISectionGroupCollectionRequest extends IBaseSectionGroupCollectionRequest { +public interface ISectionGroupCollectionRequest { + + void get(final ICallback callback); + + ISectionGroupCollectionPage get() throws ClientException; + + void post(final SectionGroup newSectionGroup, final ICallback callback); + + SectionGroup post(final SectionGroup newSectionGroup) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISectionGroupCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISectionGroupCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISectionGroupCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequestBuilder.java index fa9cbe25b53..f154c712154 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSectionGroupCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Section Group Collection Request Builder. */ -public interface ISectionGroupCollectionRequestBuilder extends IBaseSectionGroupCollectionRequestBuilder { +public interface ISectionGroupCollectionRequestBuilder extends IRequestBuilder { + + ISectionGroupCollectionRequest buildRequest(); + + ISectionGroupCollectionRequest buildRequest(final java.util.List requestOptions); + + ISectionGroupRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequest.java index 369938341ea..fdcd882b748 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.requests.generated.IBaseSectionGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Section Group Request. */ -public interface ISectionGroupRequest extends IBaseSectionGroupRequest { +public interface ISectionGroupRequest extends IHttpRequest { + + /** + * Gets the SectionGroup from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SectionGroup from the service + * + * @return the SectionGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SectionGroup get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SectionGroup with a source + * + * @param sourceSectionGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SectionGroup sourceSectionGroup, final ICallback callback); + + /** + * Patches this SectionGroup with a source + * + * @param sourceSectionGroup the source object with updates + * @return the updated SectionGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SectionGroup patch(final SectionGroup sourceSectionGroup) throws ClientException; + + /** + * Posts a SectionGroup with a new object + * + * @param newSectionGroup the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SectionGroup newSectionGroup, final ICallback callback); + + /** + * Posts a SectionGroup with a new object + * + * @param newSectionGroup the new object to create + * @return the created SectionGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SectionGroup post(final SectionGroup newSectionGroup) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISectionGroupRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISectionGroupRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequestBuilder.java index 384e55d4a17..36ac71c58f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequestBuilder.java @@ -3,14 +3,60 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISectionGroupRequest; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseSectionGroupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Section Group Request Builder. */ -public interface ISectionGroupRequestBuilder extends IBaseSectionGroupRequestBuilder { +public interface ISectionGroupRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISectionGroupRequest instance + */ + ISectionGroupRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISectionGroupRequest instance + */ + ISectionGroupRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Notebook + * + * @return the INotebookRequestBuilder instance + */ + INotebookRequestBuilder parentNotebook(); + + /** + * Gets the request builder for SectionGroup + * + * @return the ISectionGroupRequestBuilder instance + */ + ISectionGroupRequestBuilder parentSectionGroup(); + + IOnenoteSectionCollectionRequestBuilder sections(); + + IOnenoteSectionRequestBuilder sections(final String id); + + ISectionGroupCollectionRequestBuilder sectionGroups(); + + ISectionGroupRequestBuilder sectionGroups(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequest.java index e8c8979f9ab..13aacb5639a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Security; -import com.microsoft.graph.requests.generated.IBaseSecurityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Security Request. */ -public interface ISecurityRequest extends IBaseSecurityRequest { +public interface ISecurityRequest extends IHttpRequest { + + /** + * Gets the Security from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Security from the service + * + * @return the Security from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Security get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Security with a source + * + * @param sourceSecurity the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Security sourceSecurity, final ICallback callback); + + /** + * Patches this Security with a source + * + * @param sourceSecurity the source object with updates + * @return the updated Security + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Security patch(final Security sourceSecurity) throws ClientException; + + /** + * Posts a Security with a new object + * + * @param newSecurity the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Security newSecurity, final ICallback callback); + + /** + * Posts a Security with a new object + * + * @param newSecurity the new object to create + * @return the created Security + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Security post(final Security newSecurity) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISecurityRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISecurityRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequestBuilder.java index 99e262438c9..907107111d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISecurityRequest; +import com.microsoft.graph.requests.extensions.IAlertCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAlertRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseSecurityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Security Request Builder. */ -public interface ISecurityRequestBuilder extends IBaseSecurityRequestBuilder { +public interface ISecurityRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISecurityRequest instance + */ + ISecurityRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISecurityRequest instance + */ + ISecurityRequest buildRequest(final java.util.List requestOptions); + + + IAlertCollectionRequestBuilder alerts(); + + IAlertRequestBuilder alerts(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionPage.java index 82c2452d77b..3bf3cf0b342 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSettingStateDeviceSummaryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Setting State Device Summary Collection Page. */ -public interface ISettingStateDeviceSummaryCollectionPage extends IBaseSettingStateDeviceSummaryCollectionPage { - +public interface ISettingStateDeviceSummaryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequest.java index cdbcdda3e39..0dfecba79ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSettingStateDeviceSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Setting State Device Summary Collection Request. */ -public interface ISettingStateDeviceSummaryCollectionRequest extends IBaseSettingStateDeviceSummaryCollectionRequest { +public interface ISettingStateDeviceSummaryCollectionRequest { + + void get(final ICallback callback); + + ISettingStateDeviceSummaryCollectionPage get() throws ClientException; + + void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback); + + SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISettingStateDeviceSummaryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISettingStateDeviceSummaryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISettingStateDeviceSummaryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequestBuilder.java index 804419d93ee..664249f9ed2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Setting State Device Summary Collection Request Builder. */ -public interface ISettingStateDeviceSummaryCollectionRequestBuilder extends IBaseSettingStateDeviceSummaryCollectionRequestBuilder { +public interface ISettingStateDeviceSummaryCollectionRequestBuilder extends IRequestBuilder { + + ISettingStateDeviceSummaryCollectionRequest buildRequest(); + + ISettingStateDeviceSummaryCollectionRequest buildRequest(final java.util.List requestOptions); + + ISettingStateDeviceSummaryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequest.java index c8af223831f..3eaf17e26dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; -import com.microsoft.graph.requests.generated.IBaseSettingStateDeviceSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Setting State Device Summary Request. */ -public interface ISettingStateDeviceSummaryRequest extends IBaseSettingStateDeviceSummaryRequest { +public interface ISettingStateDeviceSummaryRequest extends IHttpRequest { + + /** + * Gets the SettingStateDeviceSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SettingStateDeviceSummary from the service + * + * @return the SettingStateDeviceSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SettingStateDeviceSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SettingStateDeviceSummary with a source + * + * @param sourceSettingStateDeviceSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary, final ICallback callback); + + /** + * Patches this SettingStateDeviceSummary with a source + * + * @param sourceSettingStateDeviceSummary the source object with updates + * @return the updated SettingStateDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SettingStateDeviceSummary patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary) throws ClientException; + + /** + * Posts a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback); + + /** + * Posts a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the new object to create + * @return the created SettingStateDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISettingStateDeviceSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISettingStateDeviceSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequestBuilder.java index 34fb47e9853..7c721ab487d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseSettingStateDeviceSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Setting State Device Summary Request Builder. */ -public interface ISettingStateDeviceSummaryRequestBuilder extends IBaseSettingStateDeviceSummaryRequestBuilder { +public interface ISettingStateDeviceSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISettingStateDeviceSummaryRequest instance + */ + ISettingStateDeviceSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISettingStateDeviceSummaryRequest instance + */ + ISettingStateDeviceSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionPage.java index 6e284564e36..784e8aa143d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSharedDriveItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Drive Item Collection Page. */ -public interface ISharedDriveItemCollectionPage extends IBaseSharedDriveItemCollectionPage { - +public interface ISharedDriveItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequest.java index 1d9c55b38e5..c9d00211bef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSharedDriveItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Drive Item Collection Request. */ -public interface ISharedDriveItemCollectionRequest extends IBaseSharedDriveItemCollectionRequest { +public interface ISharedDriveItemCollectionRequest { + + void get(final ICallback callback); + + ISharedDriveItemCollectionPage get() throws ClientException; + + void post(final SharedDriveItem newSharedDriveItem, final ICallback callback); + + SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISharedDriveItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISharedDriveItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISharedDriveItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequestBuilder.java index ea4e722b744..4740693429d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSharedDriveItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Drive Item Collection Request Builder. */ -public interface ISharedDriveItemCollectionRequestBuilder extends IBaseSharedDriveItemCollectionRequestBuilder { +public interface ISharedDriveItemCollectionRequestBuilder extends IRequestBuilder { + + ISharedDriveItemCollectionRequest buildRequest(); + + ISharedDriveItemCollectionRequest buildRequest(final java.util.List requestOptions); + + ISharedDriveItemRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequest.java index 73d4cf8668a..27f95bea561 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedDriveItem; -import com.microsoft.graph.requests.generated.IBaseSharedDriveItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Drive Item Request. */ -public interface ISharedDriveItemRequest extends IBaseSharedDriveItemRequest { +public interface ISharedDriveItemRequest extends IHttpRequest { + + /** + * Gets the SharedDriveItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SharedDriveItem from the service + * + * @return the SharedDriveItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedDriveItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SharedDriveItem with a source + * + * @param sourceSharedDriveItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SharedDriveItem sourceSharedDriveItem, final ICallback callback); + + /** + * Patches this SharedDriveItem with a source + * + * @param sourceSharedDriveItem the source object with updates + * @return the updated SharedDriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedDriveItem patch(final SharedDriveItem sourceSharedDriveItem) throws ClientException; + + /** + * Posts a SharedDriveItem with a new object + * + * @param newSharedDriveItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SharedDriveItem newSharedDriveItem, final ICallback callback); + + /** + * Posts a SharedDriveItem with a new object + * + * @param newSharedDriveItem the new object to create + * @return the created SharedDriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISharedDriveItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISharedDriveItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequestBuilder.java index 21598ab7cdd..a5d48d63f96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequestBuilder.java @@ -3,14 +3,78 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedDriveItemRequest; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseSharedDriveItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Drive Item Request Builder. */ -public interface ISharedDriveItemRequestBuilder extends IBaseSharedDriveItemRequestBuilder { +public interface ISharedDriveItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISharedDriveItemRequest instance + */ + ISharedDriveItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISharedDriveItemRequest instance + */ + ISharedDriveItemRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + IDriveItemRequestBuilder driveItem(); + + IDriveItemCollectionRequestBuilder items(); + + IDriveItemRequestBuilder items(final String id); + + /** + * Gets the request builder for List + * + * @return the IListRequestBuilder instance + */ + IListRequestBuilder list(); + + /** + * Gets the request builder for ListItem + * + * @return the IListItemRequestBuilder instance + */ + IListItemRequestBuilder listItem(); + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + IDriveItemRequestBuilder root(); + + /** + * Gets the request builder for Site + * + * @return the ISiteRequestBuilder instance + */ + ISiteRequestBuilder site(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionPage.java index b63038fbb56..d3a52f5f2e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSharedInsightCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Insight Collection Page. */ -public interface ISharedInsightCollectionPage extends IBaseSharedInsightCollectionPage { - +public interface ISharedInsightCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequest.java index 9b24ad39aef..39c1e6454f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSharedInsightCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Insight Collection Request. */ -public interface ISharedInsightCollectionRequest extends IBaseSharedInsightCollectionRequest { +public interface ISharedInsightCollectionRequest { + + void get(final ICallback callback); + + ISharedInsightCollectionPage get() throws ClientException; + + void post(final SharedInsight newSharedInsight, final ICallback callback); + + SharedInsight post(final SharedInsight newSharedInsight) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISharedInsightCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISharedInsightCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISharedInsightCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequestBuilder.java index 27d3c1a733c..44b5a15b9fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSharedInsightCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Insight Collection Request Builder. */ -public interface ISharedInsightCollectionRequestBuilder extends IBaseSharedInsightCollectionRequestBuilder { +public interface ISharedInsightCollectionRequestBuilder extends IRequestBuilder { + + ISharedInsightCollectionRequest buildRequest(); + + ISharedInsightCollectionRequest buildRequest(final java.util.List requestOptions); + + ISharedInsightRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequest.java index 631ec3ff6ec..d438d229945 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedInsight; -import com.microsoft.graph.requests.generated.IBaseSharedInsightRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Insight Request. */ -public interface ISharedInsightRequest extends IBaseSharedInsightRequest { +public interface ISharedInsightRequest extends IHttpRequest { + + /** + * Gets the SharedInsight from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SharedInsight from the service + * + * @return the SharedInsight from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedInsight get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SharedInsight with a source + * + * @param sourceSharedInsight the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SharedInsight sourceSharedInsight, final ICallback callback); + + /** + * Patches this SharedInsight with a source + * + * @param sourceSharedInsight the source object with updates + * @return the updated SharedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedInsight patch(final SharedInsight sourceSharedInsight) throws ClientException; + + /** + * Posts a SharedInsight with a new object + * + * @param newSharedInsight the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SharedInsight newSharedInsight, final ICallback callback); + + /** + * Posts a SharedInsight with a new object + * + * @param newSharedInsight the new object to create + * @return the created SharedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedInsight post(final SharedInsight newSharedInsight) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISharedInsightRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISharedInsightRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequestBuilder.java index 57383985f4a..f83b963c993 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedInsightRequest; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseSharedInsightRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared Insight Request Builder. */ -public interface ISharedInsightRequestBuilder extends IBaseSharedInsightRequestBuilder { +public interface ISharedInsightRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISharedInsightRequest instance + */ + ISharedInsightRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISharedInsightRequest instance + */ + ISharedInsightRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + IEntityWithReferenceRequestBuilder lastSharedMethod(); + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + IEntityWithReferenceRequestBuilder resource(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequest.java index 1763ab8a192..5d0031bcd83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedPCConfiguration; -import com.microsoft.graph.requests.generated.IBaseSharedPCConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared PCConfiguration Request. */ -public interface ISharedPCConfigurationRequest extends IBaseSharedPCConfigurationRequest { +public interface ISharedPCConfigurationRequest extends IHttpRequest { + + /** + * Gets the SharedPCConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SharedPCConfiguration from the service + * + * @return the SharedPCConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedPCConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SharedPCConfiguration with a source + * + * @param sourceSharedPCConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SharedPCConfiguration sourceSharedPCConfiguration, final ICallback callback); + + /** + * Patches this SharedPCConfiguration with a source + * + * @param sourceSharedPCConfiguration the source object with updates + * @return the updated SharedPCConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedPCConfiguration patch(final SharedPCConfiguration sourceSharedPCConfiguration) throws ClientException; + + /** + * Posts a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SharedPCConfiguration newSharedPCConfiguration, final ICallback callback); + + /** + * Posts a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the new object to create + * @return the created SharedPCConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedPCConfiguration post(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISharedPCConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISharedPCConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequestBuilder.java index 01aa4eecc42..20014e55001 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedPCConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseSharedPCConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Shared PCConfiguration Request Builder. */ -public interface ISharedPCConfigurationRequestBuilder extends IBaseSharedPCConfigurationRequestBuilder { +public interface ISharedPCConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISharedPCConfigurationRequest instance + */ + ISharedPCConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISharedPCConfigurationRequest instance + */ + ISharedPCConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionPage.java index d1bd2ba0fb9..188f04ef801 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Single Value Legacy Extended Property Collection Page. */ -public interface ISingleValueLegacyExtendedPropertyCollectionPage extends IBaseSingleValueLegacyExtendedPropertyCollectionPage { - +public interface ISingleValueLegacyExtendedPropertyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequest.java index d805d87c56c..d15ee4ac017 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSingleValueLegacyExtendedPropertyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Single Value Legacy Extended Property Collection Request. */ -public interface ISingleValueLegacyExtendedPropertyCollectionRequest extends IBaseSingleValueLegacyExtendedPropertyCollectionRequest { +public interface ISingleValueLegacyExtendedPropertyCollectionRequest { + + void get(final ICallback callback); + + ISingleValueLegacyExtendedPropertyCollectionPage get() throws ClientException; + + void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback); + + SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISingleValueLegacyExtendedPropertyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISingleValueLegacyExtendedPropertyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISingleValueLegacyExtendedPropertyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequestBuilder.java index ecc2b63771b..09e5e6e929f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Single Value Legacy Extended Property Collection Request Builder. */ -public interface ISingleValueLegacyExtendedPropertyCollectionRequestBuilder extends IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder { +public interface ISingleValueLegacyExtendedPropertyCollectionRequestBuilder extends IRequestBuilder { + + ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest(); + + ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions); + + ISingleValueLegacyExtendedPropertyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequest.java index 45417541d9a..256cbcbf78a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.requests.generated.IBaseSingleValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Single Value Legacy Extended Property Request. */ -public interface ISingleValueLegacyExtendedPropertyRequest extends IBaseSingleValueLegacyExtendedPropertyRequest { +public interface ISingleValueLegacyExtendedPropertyRequest extends IHttpRequest { + + /** + * Gets the SingleValueLegacyExtendedProperty from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SingleValueLegacyExtendedProperty from the service + * + * @return the SingleValueLegacyExtendedProperty from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SingleValueLegacyExtendedProperty get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SingleValueLegacyExtendedProperty with a source + * + * @param sourceSingleValueLegacyExtendedProperty the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty, final ICallback callback); + + /** + * Patches this SingleValueLegacyExtendedProperty with a source + * + * @param sourceSingleValueLegacyExtendedProperty the source object with updates + * @return the updated SingleValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SingleValueLegacyExtendedProperty patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty) throws ClientException; + + /** + * Posts a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback); + + /** + * Posts a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the new object to create + * @return the created SingleValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISingleValueLegacyExtendedPropertyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISingleValueLegacyExtendedPropertyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequestBuilder.java index e6a82184ef3..f9834dc729e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.requests.generated.IBaseSingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Single Value Legacy Extended Property Request Builder. */ -public interface ISingleValueLegacyExtendedPropertyRequestBuilder extends IBaseSingleValueLegacyExtendedPropertyRequestBuilder { +public interface ISingleValueLegacyExtendedPropertyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISingleValueLegacyExtendedPropertyRequest instance + */ + ISingleValueLegacyExtendedPropertyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISingleValueLegacyExtendedPropertyRequest instance + */ + ISingleValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionPage.java index 6a3f92e17c8..fc2f8a39712 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSiteCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Collection Page. */ -public interface ISiteCollectionPage extends IBaseSiteCollectionPage { - +public interface ISiteCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequest.java index 87e83cd3f66..824ab3bc753 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSiteCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Collection Request. */ -public interface ISiteCollectionRequest extends IBaseSiteCollectionRequest { +public interface ISiteCollectionRequest { + + void get(final ICallback callback); + + ISiteCollectionPage get() throws ClientException; + + void post(final Site newSite, final ICallback callback); + + Site post(final Site newSite) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISiteCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISiteCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISiteCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequestBuilder.java index 3dc88c7144a..f192988fd5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSiteCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Collection Request Builder. */ -public interface ISiteCollectionRequestBuilder extends IBaseSiteCollectionRequestBuilder { +public interface ISiteCollectionRequestBuilder extends IRequestBuilder { + + ISiteCollectionRequest buildRequest(); + + ISiteCollectionRequest buildRequest(final java.util.List requestOptions); + + ISiteRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequest.java index 3293a46d21a..459c03a0be9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; -import com.microsoft.graph.requests.generated.IBaseSiteGetByPathRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Get By Path Request. */ -public interface ISiteGetByPathRequest extends IBaseSiteGetByPathRequest { +public interface ISiteGetByPathRequest { + + /** + * Patches the SiteGetByPath + * + * @param srcSite the Site with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(Site srcSite, final ICallback callback); + + /** + * Patches the SiteGetByPath + * + * @param srcSite the Site with which to PATCH + * @return the Site + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Site patch(Site srcSite) throws ClientException; + + /** + * Puts the SiteGetByPath + * + * @param srcSite the Site to PUT + * @param callback the callback to be called after success or failure + */ + void put(Site srcSite, final ICallback callback); + + /** + * Puts the SiteGetByPath + * + * @param srcSite the Site to PUT + * @return the Site + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Site put(Site srcSite) throws ClientException; + /** + * Gets the Site + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Site + * + * @return the Site + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Site get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISiteGetByPathRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISiteGetByPathRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequestBuilder.java index a909daa9d38..8832fce7afc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteGetByPathRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; -import com.microsoft.graph.requests.generated.IBaseSiteGetByPathRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Get By Path Request Builder. */ -public interface ISiteGetByPathRequestBuilder extends IBaseSiteGetByPathRequestBuilder { +public interface ISiteGetByPathRequestBuilder extends IRequestBuilder { + /** + * Creates the ISiteGetByPathRequest + * + * @return the ISiteGetByPathRequest instance + */ + ISiteGetByPathRequest buildRequest(); + + /** + * Creates the ISiteGetByPathRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ISiteGetByPathRequest instance + */ + ISiteGetByPathRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequest.java index efc55d22da0..9ec1ac97db3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.requests.generated.IBaseSiteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Request. */ -public interface ISiteRequest extends IBaseSiteRequest { +public interface ISiteRequest extends IHttpRequest { + + /** + * Gets the Site from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Site from the service + * + * @return the Site from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Site get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Site with a source + * + * @param sourceSite the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Site sourceSite, final ICallback callback); + + /** + * Patches this Site with a source + * + * @param sourceSite the source object with updates + * @return the updated Site + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Site patch(final Site sourceSite) throws ClientException; + + /** + * Posts a Site with a new object + * + * @param newSite the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Site newSite, final ICallback callback); + + /** + * Posts a Site with a new object + * + * @param newSite the new object to create + * @return the created Site + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Site post(final Site newSite) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISiteRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISiteRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequestBuilder.java index 52bc35153a2..6192a38fc7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequestBuilder.java @@ -3,14 +3,86 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISiteRequest; +import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IBaseItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IBaseItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IListRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteGetByPathRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseSiteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Site Request Builder. */ -public interface ISiteRequestBuilder extends IBaseSiteRequestBuilder { +public interface ISiteRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISiteRequest instance + */ + ISiteRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISiteRequest instance + */ + ISiteRequest buildRequest(final java.util.List requestOptions); + + + IColumnDefinitionCollectionRequestBuilder columns(); + + IColumnDefinitionRequestBuilder columns(final String id); + + IContentTypeCollectionRequestBuilder contentTypes(); + + IContentTypeRequestBuilder contentTypes(final String id); + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + IDriveRequestBuilder drive(); + + IDriveCollectionRequestBuilder drives(); + + IDriveRequestBuilder drives(final String id); + + IBaseItemCollectionRequestBuilder items(); + + IBaseItemRequestBuilder items(final String id); + + IListCollectionRequestBuilder lists(); + + IListRequestBuilder lists(final String id); + + ISiteCollectionRequestBuilder sites(); + + ISiteRequestBuilder sites(final String id); + + /** + * Gets the request builder for Onenote + * + * @return the IOnenoteRequestBuilder instance + */ + IOnenoteRequestBuilder onenote(); + ISiteGetByPathRequestBuilder getByPath(final String path); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequest.java index fc1cd32e041..34fdda7b4e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSoftwareUpdateStatusSummaryReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Software Update Status Summary Reference Request. */ -public interface ISoftwareUpdateStatusSummaryReferenceRequest extends IBaseSoftwareUpdateStatusSummaryReferenceRequest { +public interface ISoftwareUpdateStatusSummaryReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + SoftwareUpdateStatusSummary delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISoftwareUpdateStatusSummaryReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISoftwareUpdateStatusSummaryReferenceRequest expand(final String value); + + /** + * Puts the SoftwareUpdateStatusSummary + * + * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary to PUT + * @param callback the callback to be called after success or failure + */ + void put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary, final ICallback callback); + /** + * Puts the SoftwareUpdateStatusSummary + * + * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary to PUT + * @return the SoftwareUpdateStatusSummary + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + SoftwareUpdateStatusSummary put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequestBuilder.java index 25a6fe5f34b..9558da8e7c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Software Update Status Summary Reference Request Builder. */ -public interface ISoftwareUpdateStatusSummaryReferenceRequestBuilder extends IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder { +public interface ISoftwareUpdateStatusSummaryReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ISoftwareUpdateStatusSummaryReferenceRequest instance + */ + ISoftwareUpdateStatusSummaryReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISoftwareUpdateStatusSummaryReferenceRequest instance + */ + ISoftwareUpdateStatusSummaryReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequest.java index fb34d96be54..0d011bc096b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; -import com.microsoft.graph.requests.generated.IBaseSoftwareUpdateStatusSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Software Update Status Summary Request. */ -public interface ISoftwareUpdateStatusSummaryRequest extends IBaseSoftwareUpdateStatusSummaryRequest { +public interface ISoftwareUpdateStatusSummaryRequest extends IHttpRequest { + + /** + * Gets the SoftwareUpdateStatusSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SoftwareUpdateStatusSummary from the service + * + * @return the SoftwareUpdateStatusSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SoftwareUpdateStatusSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SoftwareUpdateStatusSummary with a source + * + * @param sourceSoftwareUpdateStatusSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback); + + /** + * Patches this SoftwareUpdateStatusSummary with a source + * + * @param sourceSoftwareUpdateStatusSummary the source object with updates + * @return the updated SoftwareUpdateStatusSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException; + + /** + * Posts a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final ICallback callback); + + /** + * Posts a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the new object to create + * @return the created SoftwareUpdateStatusSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISoftwareUpdateStatusSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISoftwareUpdateStatusSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequestBuilder.java index 0c4be726cc5..0c2b0fb52c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseSoftwareUpdateStatusSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Software Update Status Summary Request Builder. */ -public interface ISoftwareUpdateStatusSummaryRequestBuilder extends IBaseSoftwareUpdateStatusSummaryRequestBuilder { +public interface ISoftwareUpdateStatusSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISoftwareUpdateStatusSummaryRequest instance + */ + ISoftwareUpdateStatusSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISoftwareUpdateStatusSummaryRequest instance + */ + ISoftwareUpdateStatusSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequest.java index d3b7d0b1b04..2e98cbbc221 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSoftwareUpdateStatusSummaryWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Software Update Status Summary With Reference Request. */ -public interface ISoftwareUpdateStatusSummaryWithReferenceRequest extends IBaseSoftwareUpdateStatusSummaryWithReferenceRequest { +public interface ISoftwareUpdateStatusSummaryWithReferenceRequest extends IHttpRequest { + + void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload, final ICallback callback); + + SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + SoftwareUpdateStatusSummary get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback); + + SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException; + + ISoftwareUpdateStatusSummaryWithReferenceRequest select(final String value); + + ISoftwareUpdateStatusSummaryWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java index 18b769215e5..9ddea567e34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Software Update Status Summary With Reference Request Builder. */ -public interface ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder { +public interface ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance + */ + ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance + */ + ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest(final java.util.List requestOptions); + + ISoftwareUpdateStatusSummaryReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionPage.java index bf6dd7d4a2b..c450938211d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSubscribedSkuCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscribed Sku Collection Page. */ -public interface ISubscribedSkuCollectionPage extends IBaseSubscribedSkuCollectionPage { - +public interface ISubscribedSkuCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequest.java index f86a81d7183..7fef1a640a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSubscribedSkuCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscribed Sku Collection Request. */ -public interface ISubscribedSkuCollectionRequest extends IBaseSubscribedSkuCollectionRequest { +public interface ISubscribedSkuCollectionRequest { + + void get(final ICallback callback); + + ISubscribedSkuCollectionPage get() throws ClientException; + + void post(final SubscribedSku newSubscribedSku, final ICallback callback); + + SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISubscribedSkuCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISubscribedSkuCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISubscribedSkuCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequestBuilder.java index 392651f5ce5..62dbc907cd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSubscribedSkuCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscribed Sku Collection Request Builder. */ -public interface ISubscribedSkuCollectionRequestBuilder extends IBaseSubscribedSkuCollectionRequestBuilder { +public interface ISubscribedSkuCollectionRequestBuilder extends IRequestBuilder { + + ISubscribedSkuCollectionRequest buildRequest(); + + ISubscribedSkuCollectionRequest buildRequest(final java.util.List requestOptions); + + ISubscribedSkuRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequest.java index 3dab93d08dc..8dea01e8872 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SubscribedSku; -import com.microsoft.graph.requests.generated.IBaseSubscribedSkuRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscribed Sku Request. */ -public interface ISubscribedSkuRequest extends IBaseSubscribedSkuRequest { +public interface ISubscribedSkuRequest extends IHttpRequest { + + /** + * Gets the SubscribedSku from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the SubscribedSku from the service + * + * @return the SubscribedSku from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SubscribedSku get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this SubscribedSku with a source + * + * @param sourceSubscribedSku the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final SubscribedSku sourceSubscribedSku, final ICallback callback); + + /** + * Patches this SubscribedSku with a source + * + * @param sourceSubscribedSku the source object with updates + * @return the updated SubscribedSku + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SubscribedSku patch(final SubscribedSku sourceSubscribedSku) throws ClientException; + + /** + * Posts a SubscribedSku with a new object + * + * @param newSubscribedSku the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final SubscribedSku newSubscribedSku, final ICallback callback); + + /** + * Posts a SubscribedSku with a new object + * + * @param newSubscribedSku the new object to create + * @return the created SubscribedSku + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISubscribedSkuRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISubscribedSkuRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequestBuilder.java index 0e53037e76f..c725fda93a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISubscribedSkuRequest; -import com.microsoft.graph.requests.generated.IBaseSubscribedSkuRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscribed Sku Request Builder. */ -public interface ISubscribedSkuRequestBuilder extends IBaseSubscribedSkuRequestBuilder { +public interface ISubscribedSkuRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISubscribedSkuRequest instance + */ + ISubscribedSkuRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISubscribedSkuRequest instance + */ + ISubscribedSkuRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionPage.java index bb96e667115..0deaa6c7ef0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSubscriptionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscription Collection Page. */ -public interface ISubscriptionCollectionPage extends IBaseSubscriptionCollectionPage { - +public interface ISubscriptionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequest.java index 684081c019f..7e8c3554fb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSubscriptionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscription Collection Request. */ -public interface ISubscriptionCollectionRequest extends IBaseSubscriptionCollectionRequest { +public interface ISubscriptionCollectionRequest { + + void get(final ICallback callback); + + ISubscriptionCollectionPage get() throws ClientException; + + void post(final Subscription newSubscription, final ICallback callback); + + Subscription post(final Subscription newSubscription) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISubscriptionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISubscriptionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ISubscriptionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequestBuilder.java index fa6fc537b07..5ea80d56634 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseSubscriptionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscription Collection Request Builder. */ -public interface ISubscriptionCollectionRequestBuilder extends IBaseSubscriptionCollectionRequestBuilder { +public interface ISubscriptionCollectionRequestBuilder extends IRequestBuilder { + + ISubscriptionCollectionRequest buildRequest(); + + ISubscriptionCollectionRequest buildRequest(final java.util.List requestOptions); + + ISubscriptionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequest.java index 65e20d888d2..92506b92950 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Subscription; -import com.microsoft.graph.requests.generated.IBaseSubscriptionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscription Request. */ -public interface ISubscriptionRequest extends IBaseSubscriptionRequest { +public interface ISubscriptionRequest extends IHttpRequest { + + /** + * Gets the Subscription from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Subscription from the service + * + * @return the Subscription from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Subscription get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Subscription with a source + * + * @param sourceSubscription the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Subscription sourceSubscription, final ICallback callback); + + /** + * Patches this Subscription with a source + * + * @param sourceSubscription the source object with updates + * @return the updated Subscription + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Subscription patch(final Subscription sourceSubscription) throws ClientException; + + /** + * Posts a Subscription with a new object + * + * @param newSubscription the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Subscription newSubscription, final ICallback callback); + + /** + * Posts a Subscription with a new object + * + * @param newSubscription the new object to create + * @return the created Subscription + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Subscription post(final Subscription newSubscription) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ISubscriptionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ISubscriptionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequestBuilder.java index c12c8bf4629..0d0b1592ae6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISubscriptionRequest; -import com.microsoft.graph.requests.generated.IBaseSubscriptionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Subscription Request Builder. */ -public interface ISubscriptionRequestBuilder extends IBaseSubscriptionRequestBuilder { +public interface ISubscriptionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ISubscriptionRequest instance + */ + ISubscriptionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISubscriptionRequest instance + */ + ISubscriptionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequest.java index 45c5f42a512..0538b13c3cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Assign Request. */ -public interface ITargetedManagedAppConfigurationAssignRequest extends IBaseTargetedManagedAppConfigurationAssignRequest { +public interface ITargetedManagedAppConfigurationAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppConfigurationAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITargetedManagedAppConfigurationAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppConfigurationAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequestBuilder.java index 3b039f54cee..1727d223b2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Assign Request Builder. */ -public interface ITargetedManagedAppConfigurationAssignRequestBuilder extends IBaseTargetedManagedAppConfigurationAssignRequestBuilder { +public interface ITargetedManagedAppConfigurationAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the ITargetedManagedAppConfigurationAssignRequest + * + * @return the ITargetedManagedAppConfigurationAssignRequest instance + */ + ITargetedManagedAppConfigurationAssignRequest buildRequest(); + + /** + * Creates the ITargetedManagedAppConfigurationAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITargetedManagedAppConfigurationAssignRequest instance + */ + ITargetedManagedAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionPage.java index 522622d3142..686511ff4a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Collection Page. */ -public interface ITargetedManagedAppConfigurationCollectionPage extends IBaseTargetedManagedAppConfigurationCollectionPage { - +public interface ITargetedManagedAppConfigurationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequest.java index b92e7235dff..4ad59538f44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Collection Request. */ -public interface ITargetedManagedAppConfigurationCollectionRequest extends IBaseTargetedManagedAppConfigurationCollectionRequest { +public interface ITargetedManagedAppConfigurationCollectionRequest { + + void get(final ICallback callback); + + ITargetedManagedAppConfigurationCollectionPage get() throws ClientException; + + void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback); + + TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppConfigurationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppConfigurationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITargetedManagedAppConfigurationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequestBuilder.java index 7a6bc4b4b88..764463b70ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Collection Request Builder. */ -public interface ITargetedManagedAppConfigurationCollectionRequestBuilder extends IBaseTargetedManagedAppConfigurationCollectionRequestBuilder { +public interface ITargetedManagedAppConfigurationCollectionRequestBuilder extends IRequestBuilder { + + ITargetedManagedAppConfigurationCollectionRequest buildRequest(); + + ITargetedManagedAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); + + ITargetedManagedAppConfigurationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequest.java index fc91a78c957..07ca542f195 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Request. */ -public interface ITargetedManagedAppConfigurationRequest extends IBaseTargetedManagedAppConfigurationRequest { +public interface ITargetedManagedAppConfigurationRequest extends IHttpRequest { + + /** + * Gets the TargetedManagedAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TargetedManagedAppConfiguration from the service + * + * @return the TargetedManagedAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TargetedManagedAppConfiguration with a source + * + * @param sourceTargetedManagedAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration, final ICallback callback); + + /** + * Patches this TargetedManagedAppConfiguration with a source + * + * @param sourceTargetedManagedAppConfiguration the source object with updates + * @return the updated TargetedManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppConfiguration patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration) throws ClientException; + + /** + * Posts a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback); + + /** + * Posts a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the new object to create + * @return the created TargetedManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequestBuilder.java index abb522588e9..d71c566aafa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Request Builder. */ -public interface ITargetedManagedAppConfigurationRequestBuilder extends IBaseTargetedManagedAppConfigurationRequestBuilder { +public interface ITargetedManagedAppConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITargetedManagedAppConfigurationRequest instance + */ + ITargetedManagedAppConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITargetedManagedAppConfigurationRequest instance + */ + ITargetedManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions); + + + IManagedMobileAppCollectionRequestBuilder apps(); + + IManagedMobileAppRequestBuilder apps(final String id); + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); + + ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments(); + + ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id); + ITargetedManagedAppConfigurationAssignRequestBuilder assign(final java.util.List assignments); + ITargetedManagedAppConfigurationTargetAppsRequestBuilder targetApps(final java.util.List apps); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequest.java index 65eba922a7e..9f0c143802a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationTargetAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Target Apps Request. */ -public interface ITargetedManagedAppConfigurationTargetAppsRequest extends IBaseTargetedManagedAppConfigurationTargetAppsRequest { +public interface ITargetedManagedAppConfigurationTargetAppsRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppConfigurationTargetAppsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITargetedManagedAppConfigurationTargetAppsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppConfigurationTargetAppsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequestBuilder.java index 85cb3a7ab04..b7397c680af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationTargetAppsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Configuration Target Apps Request Builder. */ -public interface ITargetedManagedAppConfigurationTargetAppsRequestBuilder extends IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder { +public interface ITargetedManagedAppConfigurationTargetAppsRequestBuilder extends IRequestBuilder { + /** + * Creates the ITargetedManagedAppConfigurationTargetAppsRequest + * + * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance + */ + ITargetedManagedAppConfigurationTargetAppsRequest buildRequest(); + + /** + * Creates the ITargetedManagedAppConfigurationTargetAppsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance + */ + ITargetedManagedAppConfigurationTargetAppsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionPage.java index 265024ee572..d18e533a1a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppPolicyAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Policy Assignment Collection Page. */ -public interface ITargetedManagedAppPolicyAssignmentCollectionPage extends IBaseTargetedManagedAppPolicyAssignmentCollectionPage { - +public interface ITargetedManagedAppPolicyAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequest.java index dc357ec6d45..e08b8bc5204 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppPolicyAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Policy Assignment Collection Request. */ -public interface ITargetedManagedAppPolicyAssignmentCollectionRequest extends IBaseTargetedManagedAppPolicyAssignmentCollectionRequest { +public interface ITargetedManagedAppPolicyAssignmentCollectionRequest { + + void get(final ICallback callback); + + ITargetedManagedAppPolicyAssignmentCollectionPage get() throws ClientException; + + void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback); + + TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppPolicyAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppPolicyAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITargetedManagedAppPolicyAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java index 84d2ed36edf..58911ecff94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Policy Assignment Collection Request Builder. */ -public interface ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder { +public interface ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends IRequestBuilder { + + ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest(); + + ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + ITargetedManagedAppPolicyAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequest.java index e3a61869195..31ac7e2edff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppPolicyAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Policy Assignment Request. */ -public interface ITargetedManagedAppPolicyAssignmentRequest extends IBaseTargetedManagedAppPolicyAssignmentRequest { +public interface ITargetedManagedAppPolicyAssignmentRequest extends IHttpRequest { + + /** + * Gets the TargetedManagedAppPolicyAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TargetedManagedAppPolicyAssignment from the service + * + * @return the TargetedManagedAppPolicyAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppPolicyAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TargetedManagedAppPolicyAssignment with a source + * + * @param sourceTargetedManagedAppPolicyAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment, final ICallback callback); + + /** + * Patches this TargetedManagedAppPolicyAssignment with a source + * + * @param sourceTargetedManagedAppPolicyAssignment the source object with updates + * @return the updated TargetedManagedAppPolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppPolicyAssignment patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment) throws ClientException; + + /** + * Posts a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback); + + /** + * Posts a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the new object to create + * @return the created TargetedManagedAppPolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppPolicyAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppPolicyAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequestBuilder.java index f36a1e05758..f169f97b7f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Policy Assignment Request Builder. */ -public interface ITargetedManagedAppPolicyAssignmentRequestBuilder extends IBaseTargetedManagedAppPolicyAssignmentRequestBuilder { +public interface ITargetedManagedAppPolicyAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITargetedManagedAppPolicyAssignmentRequest instance + */ + ITargetedManagedAppPolicyAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITargetedManagedAppPolicyAssignmentRequest instance + */ + ITargetedManagedAppPolicyAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequest.java index 96d68da38ef..6bf4f461117 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppProtectionAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Protection Assign Request. */ -public interface ITargetedManagedAppProtectionAssignRequest extends IBaseTargetedManagedAppProtectionAssignRequest { +public interface ITargetedManagedAppProtectionAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppProtectionAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITargetedManagedAppProtectionAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppProtectionAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequestBuilder.java index 23816eef3d9..a44c682e6db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppProtectionAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Protection Assign Request Builder. */ -public interface ITargetedManagedAppProtectionAssignRequestBuilder extends IBaseTargetedManagedAppProtectionAssignRequestBuilder { +public interface ITargetedManagedAppProtectionAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the ITargetedManagedAppProtectionAssignRequest + * + * @return the ITargetedManagedAppProtectionAssignRequest instance + */ + ITargetedManagedAppProtectionAssignRequest buildRequest(); + + /** + * Creates the ITargetedManagedAppProtectionAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITargetedManagedAppProtectionAssignRequest instance + */ + ITargetedManagedAppProtectionAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequest.java index 220063e1b6b..c67907dba9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Protection Request. */ -public interface ITargetedManagedAppProtectionRequest extends IBaseTargetedManagedAppProtectionRequest { +public interface ITargetedManagedAppProtectionRequest extends IHttpRequest { + + /** + * Gets the TargetedManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TargetedManagedAppProtection from the service + * + * @return the TargetedManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TargetedManagedAppProtection with a source + * + * @param sourceTargetedManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection, final ICallback callback); + + /** + * Patches this TargetedManagedAppProtection with a source + * + * @param sourceTargetedManagedAppProtection the source object with updates + * @return the updated TargetedManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppProtection patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection) throws ClientException; + + /** + * Posts a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TargetedManagedAppProtection newTargetedManagedAppProtection, final ICallback callback); + + /** + * Posts a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the new object to create + * @return the created TargetedManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppProtection post(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITargetedManagedAppProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITargetedManagedAppProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequestBuilder.java index 239f45b78f5..5294cbfe6b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequestBuilder.java @@ -3,14 +3,41 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTargetedManagedAppProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Targeted Managed App Protection Request Builder. */ -public interface ITargetedManagedAppProtectionRequestBuilder extends IBaseTargetedManagedAppProtectionRequestBuilder { +public interface ITargetedManagedAppProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITargetedManagedAppProtectionRequest instance + */ + ITargetedManagedAppProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITargetedManagedAppProtectionRequest instance + */ + ITargetedManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); + + + ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments(); + + ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id); + ITargetedManagedAppProtectionAssignRequestBuilder assign(final java.util.List assignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequest.java index b3780e7f5d3..f05b9d648a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; -import com.microsoft.graph.requests.generated.IBaseTeamArchiveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Archive Request. */ -public interface ITeamArchiveRequest extends IBaseTeamArchiveRequest { +public interface ITeamArchiveRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamArchiveRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamArchiveRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamArchiveRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequestBuilder.java index 409f14c63dc..815b0d36cd8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamArchiveRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; -import com.microsoft.graph.requests.generated.IBaseTeamArchiveRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Archive Request Builder. */ -public interface ITeamArchiveRequestBuilder extends IBaseTeamArchiveRequestBuilder { +public interface ITeamArchiveRequestBuilder extends IRequestBuilder { + /** + * Creates the ITeamArchiveRequest + * + * @return the ITeamArchiveRequest instance + */ + ITeamArchiveRequest buildRequest(); + + /** + * Creates the ITeamArchiveRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITeamArchiveRequest instance + */ + ITeamArchiveRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequest.java index 07b9e473830..e0981a29134 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamCloneRequest; -import com.microsoft.graph.requests.generated.IBaseTeamCloneRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Clone Request. */ -public interface ITeamCloneRequest extends IBaseTeamCloneRequest { +public interface ITeamCloneRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamCloneRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamCloneRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamCloneRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequestBuilder.java index 16a18f93b42..44817ceaf29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCloneRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamCloneRequest; -import com.microsoft.graph.requests.generated.IBaseTeamCloneRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Clone Request Builder. */ -public interface ITeamCloneRequestBuilder extends IBaseTeamCloneRequestBuilder { +public interface ITeamCloneRequestBuilder extends IRequestBuilder { + /** + * Creates the ITeamCloneRequest + * + * @return the ITeamCloneRequest instance + */ + ITeamCloneRequest buildRequest(); + + /** + * Creates the ITeamCloneRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITeamCloneRequest instance + */ + ITeamCloneRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionPage.java index b25b649bcad..5ae54c4361d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Collection Page. */ -public interface ITeamCollectionPage extends IBaseTeamCollectionPage { - +public interface ITeamCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequest.java index da456d24c48..d3d60546ef9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Collection Request. */ -public interface ITeamCollectionRequest extends IBaseTeamCollectionRequest { +public interface ITeamCollectionRequest { + + void get(final ICallback callback); + + ITeamCollectionPage get() throws ClientException; + + void post(final Team newTeam, final ICallback callback); + + Team post(final Team newTeam) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequestBuilder.java index 564bd73dee8..4272511edba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Collection Request Builder. */ -public interface ITeamCollectionRequestBuilder extends IBaseTeamCollectionRequestBuilder { +public interface ITeamCollectionRequestBuilder extends IRequestBuilder { + + ITeamCollectionRequest buildRequest(); + + ITeamCollectionRequest buildRequest(final java.util.List requestOptions); + + ITeamRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequest.java index 8d1f179eb4e..a032fb81d5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Team; -import com.microsoft.graph.requests.generated.IBaseTeamRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Request. */ -public interface ITeamRequest extends IBaseTeamRequest { +public interface ITeamRequest extends IHttpRequest { + + /** + * Gets the Team from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Team from the service + * + * @return the Team from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Team get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Team with a source + * + * @param sourceTeam the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Team sourceTeam, final ICallback callback); + + /** + * Patches this Team with a source + * + * @param sourceTeam the source object with updates + * @return the updated Team + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Team patch(final Team sourceTeam) throws ClientException; + + /** + * Posts a Team with a new object + * + * @param newTeam the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Team newTeam, final ICallback callback); + + /** + * Posts a Team with a new object + * + * @param newTeam the new object to create + * @return the created Team + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Team post(final Team newTeam) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequestBuilder.java index 59b7235dbd4..6dfe338014a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamRequest; +import com.microsoft.graph.requests.extensions.IChannelCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IChannelRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequestBuilder; +import com.microsoft.graph.models.generated.TeamVisibilityType; +import com.microsoft.graph.models.generated.ClonableTeamParts; +import com.microsoft.graph.requests.extensions.ITeamCloneRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamArchiveRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTeamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Request Builder. */ -public interface ITeamRequestBuilder extends IBaseTeamRequestBuilder { +public interface ITeamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITeamRequest instance + */ + ITeamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamRequest instance + */ + ITeamRequest buildRequest(final java.util.List requestOptions); + + + IChannelCollectionRequestBuilder channels(); + + IChannelRequestBuilder channels(final String id); + + ITeamsAppInstallationCollectionRequestBuilder installedApps(); + + ITeamsAppInstallationRequestBuilder installedApps(final String id); + + ITeamsAsyncOperationCollectionRequestBuilder operations(); + + ITeamsAsyncOperationRequestBuilder operations(final String id); + ITeamCloneRequestBuilder clone(final String displayName, final String description, final String mailNickname, final String classification, final TeamVisibilityType visibility, final EnumSet partsToClone); + ITeamArchiveRequestBuilder archive(final Boolean shouldSetSpoSiteReadOnlyForMembers); + ITeamUnarchiveRequestBuilder unarchive(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequest.java index 5739cddc8a3..3bf4cdd9e7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; -import com.microsoft.graph.requests.generated.IBaseTeamUnarchiveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Unarchive Request. */ -public interface ITeamUnarchiveRequest extends IBaseTeamUnarchiveRequest { +public interface ITeamUnarchiveRequest { + + /** + * Creates the TeamUnarchive + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the TeamUnarchive + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequestBuilder.java index a9adf2a1afa..9175d83c4fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamUnarchiveRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; -import com.microsoft.graph.requests.generated.IBaseTeamUnarchiveRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Team Unarchive Request Builder. */ -public interface ITeamUnarchiveRequestBuilder extends IBaseTeamUnarchiveRequestBuilder { +public interface ITeamUnarchiveRequestBuilder extends IRequestBuilder { + /** + * Creates the ITeamUnarchiveRequest + * + * @return the ITeamUnarchiveRequest instance + */ + ITeamUnarchiveRequest buildRequest(); + + /** + * Creates the ITeamUnarchiveRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITeamUnarchiveRequest instance + */ + ITeamUnarchiveRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionPage.java index 579b480dbec..ed75782fe43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Collection Page. */ -public interface ITeamsAppCollectionPage extends IBaseTeamsAppCollectionPage { - +public interface ITeamsAppCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequest.java index a1b5fd14681..d56452dc6fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Collection Request. */ -public interface ITeamsAppCollectionRequest extends IBaseTeamsAppCollectionRequest { +public interface ITeamsAppCollectionRequest { + + void get(final ICallback callback); + + ITeamsAppCollectionPage get() throws ClientException; + + void post(final TeamsApp newTeamsApp, final ICallback callback); + + TeamsApp post(final TeamsApp newTeamsApp) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamsAppCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequestBuilder.java index b292d0f9385..e5f61361368 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Collection Request Builder. */ -public interface ITeamsAppCollectionRequestBuilder extends IBaseTeamsAppCollectionRequestBuilder { +public interface ITeamsAppCollectionRequestBuilder extends IRequestBuilder { + + ITeamsAppCollectionRequest buildRequest(); + + ITeamsAppCollectionRequest buildRequest(final java.util.List requestOptions); + + ITeamsAppRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionPage.java index 6a5df298e20..c1ddcaa2664 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Collection Page. */ -public interface ITeamsAppDefinitionCollectionPage extends IBaseTeamsAppDefinitionCollectionPage { - +public interface ITeamsAppDefinitionCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequest.java index d83a8583913..ea825f5ae11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Collection Request. */ -public interface ITeamsAppDefinitionCollectionRequest extends IBaseTeamsAppDefinitionCollectionRequest { +public interface ITeamsAppDefinitionCollectionRequest { + + void get(final ICallback callback); + + ITeamsAppDefinitionCollectionPage get() throws ClientException; + + void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback); + + TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppDefinitionCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppDefinitionCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamsAppDefinitionCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequestBuilder.java index 74ff93ab20e..90d41e63c91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Collection Request Builder. */ -public interface ITeamsAppDefinitionCollectionRequestBuilder extends IBaseTeamsAppDefinitionCollectionRequestBuilder { +public interface ITeamsAppDefinitionCollectionRequestBuilder extends IRequestBuilder { + + ITeamsAppDefinitionCollectionRequest buildRequest(); + + ITeamsAppDefinitionCollectionRequest buildRequest(final java.util.List requestOptions); + + ITeamsAppDefinitionRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequest.java index a64352942de..ad82ca109e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Reference Request. */ -public interface ITeamsAppDefinitionReferenceRequest extends IBaseTeamsAppDefinitionReferenceRequest { +public interface ITeamsAppDefinitionReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + TeamsAppDefinition delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppDefinitionReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppDefinitionReferenceRequest expand(final String value); + + /** + * Puts the TeamsAppDefinition + * + * @param srcTeamsAppDefinition the TeamsAppDefinition to PUT + * @param callback the callback to be called after success or failure + */ + void put(TeamsAppDefinition srcTeamsAppDefinition, final ICallback callback); + /** + * Puts the TeamsAppDefinition + * + * @param srcTeamsAppDefinition the TeamsAppDefinition to PUT + * @return the TeamsAppDefinition + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + TeamsAppDefinition put(TeamsAppDefinition srcTeamsAppDefinition) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequestBuilder.java index 418d7d45d13..1772e5dba0e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Reference Request Builder. */ -public interface ITeamsAppDefinitionReferenceRequestBuilder extends IBaseTeamsAppDefinitionReferenceRequestBuilder { +public interface ITeamsAppDefinitionReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ITeamsAppDefinitionReferenceRequest instance + */ + ITeamsAppDefinitionReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppDefinitionReferenceRequest instance + */ + ITeamsAppDefinitionReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequest.java index f877f041d57..b5c222db402 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAppDefinition; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Request. */ -public interface ITeamsAppDefinitionRequest extends IBaseTeamsAppDefinitionRequest { +public interface ITeamsAppDefinitionRequest extends IHttpRequest { + + /** + * Gets the TeamsAppDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TeamsAppDefinition from the service + * + * @return the TeamsAppDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppDefinition get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TeamsAppDefinition with a source + * + * @param sourceTeamsAppDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback); + + /** + * Patches this TeamsAppDefinition with a source + * + * @param sourceTeamsAppDefinition the source object with updates + * @return the updated TeamsAppDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException; + + /** + * Posts a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback); + + /** + * Posts a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the new object to create + * @return the created TeamsAppDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppDefinitionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppDefinitionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequestBuilder.java index 5b8c5aed0a1..610c5ecde37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequest; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition Request Builder. */ -public interface ITeamsAppDefinitionRequestBuilder extends IBaseTeamsAppDefinitionRequestBuilder { +public interface ITeamsAppDefinitionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITeamsAppDefinitionRequest instance + */ + ITeamsAppDefinitionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppDefinitionRequest instance + */ + ITeamsAppDefinitionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequest.java index 14fd69a673c..a5818459290 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition With Reference Request. */ -public interface ITeamsAppDefinitionWithReferenceRequest extends IBaseTeamsAppDefinitionWithReferenceRequest { +public interface ITeamsAppDefinitionWithReferenceRequest extends IHttpRequest { + + void post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload, final ICallback callback); + + TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + TeamsAppDefinition get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback); + + TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException; + + ITeamsAppDefinitionWithReferenceRequest select(final String value); + + ITeamsAppDefinitionWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequestBuilder.java index 2e2c10cf1a3..fe71edd2476 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Definition With Reference Request Builder. */ -public interface ITeamsAppDefinitionWithReferenceRequestBuilder extends IBaseTeamsAppDefinitionWithReferenceRequestBuilder { +public interface ITeamsAppDefinitionWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ITeamsAppDefinitionWithReferenceRequest instance + */ + ITeamsAppDefinitionWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppDefinitionWithReferenceRequest instance + */ + ITeamsAppDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions); + + ITeamsAppDefinitionReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionPage.java index 71085731fb3..1d751d57ec6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Collection Page. */ -public interface ITeamsAppInstallationCollectionPage extends IBaseTeamsAppInstallationCollectionPage { - +public interface ITeamsAppInstallationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequest.java index c6c5618032d..efc6ad41f60 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Collection Request. */ -public interface ITeamsAppInstallationCollectionRequest extends IBaseTeamsAppInstallationCollectionRequest { +public interface ITeamsAppInstallationCollectionRequest { + + void get(final ICallback callback); + + ITeamsAppInstallationCollectionPage get() throws ClientException; + + void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback); + + TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppInstallationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppInstallationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamsAppInstallationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequestBuilder.java index 85bd03520fc..a5a85fa9453 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Collection Request Builder. */ -public interface ITeamsAppInstallationCollectionRequestBuilder extends IBaseTeamsAppInstallationCollectionRequestBuilder { +public interface ITeamsAppInstallationCollectionRequestBuilder extends IRequestBuilder { + + ITeamsAppInstallationCollectionRequest buildRequest(); + + ITeamsAppInstallationCollectionRequest buildRequest(final java.util.List requestOptions); + + ITeamsAppInstallationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequest.java index 47bf3d0ef55..c91f8cc4228 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAppInstallation; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Request. */ -public interface ITeamsAppInstallationRequest extends IBaseTeamsAppInstallationRequest { +public interface ITeamsAppInstallationRequest extends IHttpRequest { + + /** + * Gets the TeamsAppInstallation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TeamsAppInstallation from the service + * + * @return the TeamsAppInstallation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppInstallation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TeamsAppInstallation with a source + * + * @param sourceTeamsAppInstallation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TeamsAppInstallation sourceTeamsAppInstallation, final ICallback callback); + + /** + * Patches this TeamsAppInstallation with a source + * + * @param sourceTeamsAppInstallation the source object with updates + * @return the updated TeamsAppInstallation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppInstallation patch(final TeamsAppInstallation sourceTeamsAppInstallation) throws ClientException; + + /** + * Posts a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback); + + /** + * Posts a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the new object to create + * @return the created TeamsAppInstallation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppInstallationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppInstallationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequestBuilder.java index bba6f765f16..7eb40a07394 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequestBuilder.java @@ -3,14 +3,50 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Request Builder. */ -public interface ITeamsAppInstallationRequestBuilder extends IBaseTeamsAppInstallationRequestBuilder { +public interface ITeamsAppInstallationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITeamsAppInstallationRequest instance + */ + ITeamsAppInstallationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppInstallationRequest instance + */ + ITeamsAppInstallationRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for TeamsApp + * + * @return the ITeamsAppWithReferenceRequestBuilder instance + */ + ITeamsAppWithReferenceRequestBuilder teamsApp(); + + /** + * Gets the request builder for TeamsAppDefinition + * + * @return the ITeamsAppDefinitionWithReferenceRequestBuilder instance + */ + ITeamsAppDefinitionWithReferenceRequestBuilder teamsAppDefinition(); + ITeamsAppInstallationUpgradeRequestBuilder upgrade(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequest.java index 571f05041b3..97ca1ced6c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationUpgradeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Upgrade Request. */ -public interface ITeamsAppInstallationUpgradeRequest extends IBaseTeamsAppInstallationUpgradeRequest { +public interface ITeamsAppInstallationUpgradeRequest { + + /** + * Creates the TeamsAppInstallationUpgrade + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the TeamsAppInstallationUpgrade + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequestBuilder.java index a4dfefdec5f..0cc48cb9258 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationUpgradeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; -import com.microsoft.graph.requests.generated.IBaseTeamsAppInstallationUpgradeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Installation Upgrade Request Builder. */ -public interface ITeamsAppInstallationUpgradeRequestBuilder extends IBaseTeamsAppInstallationUpgradeRequestBuilder { +public interface ITeamsAppInstallationUpgradeRequestBuilder extends IRequestBuilder { + /** + * Creates the ITeamsAppInstallationUpgradeRequest + * + * @return the ITeamsAppInstallationUpgradeRequest instance + */ + ITeamsAppInstallationUpgradeRequest buildRequest(); + + /** + * Creates the ITeamsAppInstallationUpgradeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the ITeamsAppInstallationUpgradeRequest instance + */ + ITeamsAppInstallationUpgradeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequest.java index cdb88efd7b4..1f32003f3f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Reference Request. */ -public interface ITeamsAppReferenceRequest extends IBaseTeamsAppReferenceRequest { +public interface ITeamsAppReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + TeamsApp delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppReferenceRequest expand(final String value); + + /** + * Puts the TeamsApp + * + * @param srcTeamsApp the TeamsApp to PUT + * @param callback the callback to be called after success or failure + */ + void put(TeamsApp srcTeamsApp, final ICallback callback); + /** + * Puts the TeamsApp + * + * @param srcTeamsApp the TeamsApp to PUT + * @return the TeamsApp + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + TeamsApp put(TeamsApp srcTeamsApp) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequestBuilder.java index 57b881b107a..209bdc4c905 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Reference Request Builder. */ -public interface ITeamsAppReferenceRequestBuilder extends IBaseTeamsAppReferenceRequestBuilder { +public interface ITeamsAppReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ITeamsAppReferenceRequest instance + */ + ITeamsAppReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppReferenceRequest instance + */ + ITeamsAppReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequest.java index 2b51a93eb7b..12eca810733 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsApp; -import com.microsoft.graph.requests.generated.IBaseTeamsAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Request. */ -public interface ITeamsAppRequest extends IBaseTeamsAppRequest { +public interface ITeamsAppRequest extends IHttpRequest { + + /** + * Gets the TeamsApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TeamsApp from the service + * + * @return the TeamsApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TeamsApp with a source + * + * @param sourceTeamsApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TeamsApp sourceTeamsApp, final ICallback callback); + + /** + * Patches this TeamsApp with a source + * + * @param sourceTeamsApp the source object with updates + * @return the updated TeamsApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException; + + /** + * Posts a TeamsApp with a new object + * + * @param newTeamsApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TeamsApp newTeamsApp, final ICallback callback); + + /** + * Posts a TeamsApp with a new object + * + * @param newTeamsApp the new object to create + * @return the created TeamsApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsApp post(final TeamsApp newTeamsApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequestBuilder.java index 39ee4f57a4a..0da9874733c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTeamsAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App Request Builder. */ -public interface ITeamsAppRequestBuilder extends IBaseTeamsAppRequestBuilder { +public interface ITeamsAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITeamsAppRequest instance + */ + ITeamsAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppRequest instance + */ + ITeamsAppRequest buildRequest(final java.util.List requestOptions); + + + ITeamsAppDefinitionCollectionRequestBuilder appDefinitions(); + + ITeamsAppDefinitionRequestBuilder appDefinitions(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequest.java index 2be14d026d6..c21cdd76338 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App With Reference Request. */ -public interface ITeamsAppWithReferenceRequest extends IBaseTeamsAppWithReferenceRequest { +public interface ITeamsAppWithReferenceRequest extends IHttpRequest { + + void post(final TeamsApp newTeamsApp, final IJsonBackedObject payload, final ICallback callback); + + TeamsApp post(final TeamsApp newTeamsApp, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + TeamsApp get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final TeamsApp sourceTeamsApp, final ICallback callback); + + TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException; + + ITeamsAppWithReferenceRequest select(final String value); + + ITeamsAppWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequestBuilder.java index 9fd714d091b..542a9b46ac4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAppWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams App With Reference Request Builder. */ -public interface ITeamsAppWithReferenceRequestBuilder extends IBaseTeamsAppWithReferenceRequestBuilder { +public interface ITeamsAppWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ITeamsAppWithReferenceRequest instance + */ + ITeamsAppWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppWithReferenceRequest instance + */ + ITeamsAppWithReferenceRequest buildRequest(final java.util.List requestOptions); + + ITeamsAppReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionPage.java index bff50c22af9..1cac72af6b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAsyncOperationCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Async Operation Collection Page. */ -public interface ITeamsAsyncOperationCollectionPage extends IBaseTeamsAsyncOperationCollectionPage { - +public interface ITeamsAsyncOperationCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequest.java index 0a97b63fc91..625f3db5fe6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAsyncOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Async Operation Collection Request. */ -public interface ITeamsAsyncOperationCollectionRequest extends IBaseTeamsAsyncOperationCollectionRequest { +public interface ITeamsAsyncOperationCollectionRequest { + + void get(final ICallback callback); + + ITeamsAsyncOperationCollectionPage get() throws ClientException; + + void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback); + + TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAsyncOperationCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAsyncOperationCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamsAsyncOperationCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequestBuilder.java index 9e06fbf9546..f0a5bd62152 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsAsyncOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Async Operation Collection Request Builder. */ -public interface ITeamsAsyncOperationCollectionRequestBuilder extends IBaseTeamsAsyncOperationCollectionRequestBuilder { +public interface ITeamsAsyncOperationCollectionRequestBuilder extends IRequestBuilder { + + ITeamsAsyncOperationCollectionRequest buildRequest(); + + ITeamsAsyncOperationCollectionRequest buildRequest(final java.util.List requestOptions); + + ITeamsAsyncOperationRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequest.java index 961c31ba966..2d6c04cca34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAsyncOperation; -import com.microsoft.graph.requests.generated.IBaseTeamsAsyncOperationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Async Operation Request. */ -public interface ITeamsAsyncOperationRequest extends IBaseTeamsAsyncOperationRequest { +public interface ITeamsAsyncOperationRequest extends IHttpRequest { + + /** + * Gets the TeamsAsyncOperation from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TeamsAsyncOperation from the service + * + * @return the TeamsAsyncOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAsyncOperation get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TeamsAsyncOperation with a source + * + * @param sourceTeamsAsyncOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TeamsAsyncOperation sourceTeamsAsyncOperation, final ICallback callback); + + /** + * Patches this TeamsAsyncOperation with a source + * + * @param sourceTeamsAsyncOperation the source object with updates + * @return the updated TeamsAsyncOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAsyncOperation patch(final TeamsAsyncOperation sourceTeamsAsyncOperation) throws ClientException; + + /** + * Posts a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback); + + /** + * Posts a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the new object to create + * @return the created TeamsAsyncOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsAsyncOperationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsAsyncOperationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequestBuilder.java index 4b4cd52e3e3..614324e6d3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequest; -import com.microsoft.graph.requests.generated.IBaseTeamsAsyncOperationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Async Operation Request Builder. */ -public interface ITeamsAsyncOperationRequestBuilder extends IBaseTeamsAsyncOperationRequestBuilder { +public interface ITeamsAsyncOperationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITeamsAsyncOperationRequest instance + */ + ITeamsAsyncOperationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAsyncOperationRequest instance + */ + ITeamsAsyncOperationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionPage.java index cf8187de92f..418644caf91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsTabCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Tab Collection Page. */ -public interface ITeamsTabCollectionPage extends IBaseTeamsTabCollectionPage { - +public interface ITeamsTabCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequest.java index 73e446fe4a8..88c93980991 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsTabCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Tab Collection Request. */ -public interface ITeamsTabCollectionRequest extends IBaseTeamsTabCollectionRequest { +public interface ITeamsTabCollectionRequest { + + void get(final ICallback callback); + + ITeamsTabCollectionPage get() throws ClientException; + + void post(final TeamsTab newTeamsTab, final ICallback callback); + + TeamsTab post(final TeamsTab newTeamsTab) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsTabCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsTabCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITeamsTabCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequestBuilder.java index 5fa301ed98a..6c36e388fda 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTeamsTabCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Tab Collection Request Builder. */ -public interface ITeamsTabCollectionRequestBuilder extends IBaseTeamsTabCollectionRequestBuilder { +public interface ITeamsTabCollectionRequestBuilder extends IRequestBuilder { + + ITeamsTabCollectionRequest buildRequest(); + + ITeamsTabCollectionRequest buildRequest(final java.util.List requestOptions); + + ITeamsTabRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequest.java index c559c9d2914..32ebdd9b79d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsTab; -import com.microsoft.graph.requests.generated.IBaseTeamsTabRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Tab Request. */ -public interface ITeamsTabRequest extends IBaseTeamsTabRequest { +public interface ITeamsTabRequest extends IHttpRequest { + + /** + * Gets the TeamsTab from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TeamsTab from the service + * + * @return the TeamsTab from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsTab get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TeamsTab with a source + * + * @param sourceTeamsTab the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TeamsTab sourceTeamsTab, final ICallback callback); + + /** + * Patches this TeamsTab with a source + * + * @param sourceTeamsTab the source object with updates + * @return the updated TeamsTab + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsTab patch(final TeamsTab sourceTeamsTab) throws ClientException; + + /** + * Posts a TeamsTab with a new object + * + * @param newTeamsTab the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TeamsTab newTeamsTab, final ICallback callback); + + /** + * Posts a TeamsTab with a new object + * + * @param newTeamsTab the new object to create + * @return the created TeamsTab + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsTab post(final TeamsTab newTeamsTab) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITeamsTabRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITeamsTabRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequestBuilder.java index c1dc3d9c7f5..fe093df92a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsTabRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTeamsTabRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Teams Tab Request Builder. */ -public interface ITeamsTabRequestBuilder extends IBaseTeamsTabRequestBuilder { +public interface ITeamsTabRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITeamsTabRequest instance + */ + ITeamsTabRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsTabRequest instance + */ + ITeamsTabRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for TeamsApp + * + * @return the ITeamsAppWithReferenceRequestBuilder instance + */ + ITeamsAppWithReferenceRequestBuilder teamsApp(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionPage.java index 68573b50b76..e9537f01b6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTelecomExpenseManagementPartnerCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Telecom Expense Management Partner Collection Page. */ -public interface ITelecomExpenseManagementPartnerCollectionPage extends IBaseTelecomExpenseManagementPartnerCollectionPage { - +public interface ITelecomExpenseManagementPartnerCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequest.java index 7524aa1f082..21bb0a43c66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTelecomExpenseManagementPartnerCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Telecom Expense Management Partner Collection Request. */ -public interface ITelecomExpenseManagementPartnerCollectionRequest extends IBaseTelecomExpenseManagementPartnerCollectionRequest { +public interface ITelecomExpenseManagementPartnerCollectionRequest { + + void get(final ICallback callback); + + ITelecomExpenseManagementPartnerCollectionPage get() throws ClientException; + + void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback); + + TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITelecomExpenseManagementPartnerCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITelecomExpenseManagementPartnerCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITelecomExpenseManagementPartnerCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequestBuilder.java index 92bd20533cf..21c0c213b8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Telecom Expense Management Partner Collection Request Builder. */ -public interface ITelecomExpenseManagementPartnerCollectionRequestBuilder extends IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder { +public interface ITelecomExpenseManagementPartnerCollectionRequestBuilder extends IRequestBuilder { + + ITelecomExpenseManagementPartnerCollectionRequest buildRequest(); + + ITelecomExpenseManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions); + + ITelecomExpenseManagementPartnerRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequest.java index 6457f215ee2..40cf01ee951 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; -import com.microsoft.graph.requests.generated.IBaseTelecomExpenseManagementPartnerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Telecom Expense Management Partner Request. */ -public interface ITelecomExpenseManagementPartnerRequest extends IBaseTelecomExpenseManagementPartnerRequest { +public interface ITelecomExpenseManagementPartnerRequest extends IHttpRequest { + + /** + * Gets the TelecomExpenseManagementPartner from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TelecomExpenseManagementPartner from the service + * + * @return the TelecomExpenseManagementPartner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TelecomExpenseManagementPartner get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TelecomExpenseManagementPartner with a source + * + * @param sourceTelecomExpenseManagementPartner the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner, final ICallback callback); + + /** + * Patches this TelecomExpenseManagementPartner with a source + * + * @param sourceTelecomExpenseManagementPartner the source object with updates + * @return the updated TelecomExpenseManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TelecomExpenseManagementPartner patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner) throws ClientException; + + /** + * Posts a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback); + + /** + * Posts a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the new object to create + * @return the created TelecomExpenseManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITelecomExpenseManagementPartnerRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITelecomExpenseManagementPartnerRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequestBuilder.java index 3f3918fe46e..2e81ff44f58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequest; -import com.microsoft.graph.requests.generated.IBaseTelecomExpenseManagementPartnerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Telecom Expense Management Partner Request Builder. */ -public interface ITelecomExpenseManagementPartnerRequestBuilder extends IBaseTelecomExpenseManagementPartnerRequestBuilder { +public interface ITelecomExpenseManagementPartnerRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITelecomExpenseManagementPartnerRequest instance + */ + ITelecomExpenseManagementPartnerRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITelecomExpenseManagementPartnerRequest instance + */ + ITelecomExpenseManagementPartnerRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionPage.java index ba53baceeb5..ff30e38a0df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAcceptanceStatusCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Acceptance Status Collection Page. */ -public interface ITermsAndConditionsAcceptanceStatusCollectionPage extends IBaseTermsAndConditionsAcceptanceStatusCollectionPage { - +public interface ITermsAndConditionsAcceptanceStatusCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequest.java index 36de90c5eca..ec1c68ad617 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAcceptanceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Acceptance Status Collection Request. */ -public interface ITermsAndConditionsAcceptanceStatusCollectionRequest extends IBaseTermsAndConditionsAcceptanceStatusCollectionRequest { +public interface ITermsAndConditionsAcceptanceStatusCollectionRequest { + + void get(final ICallback callback); + + ITermsAndConditionsAcceptanceStatusCollectionPage get() throws ClientException; + + void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback); + + TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsAcceptanceStatusCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsAcceptanceStatusCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITermsAndConditionsAcceptanceStatusCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java index fd22ea4b4c7..f9a22a8aecf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Acceptance Status Collection Request Builder. */ -public interface ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder { +public interface ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends IRequestBuilder { + + ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest(); + + ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest(final java.util.List requestOptions); + + ITermsAndConditionsAcceptanceStatusRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequest.java index 233f7b0980a..f4db4345d39 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Acceptance Status Request. */ -public interface ITermsAndConditionsAcceptanceStatusRequest extends IBaseTermsAndConditionsAcceptanceStatusRequest { +public interface ITermsAndConditionsAcceptanceStatusRequest extends IHttpRequest { + + /** + * Gets the TermsAndConditionsAcceptanceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TermsAndConditionsAcceptanceStatus from the service + * + * @return the TermsAndConditionsAcceptanceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAcceptanceStatus get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TermsAndConditionsAcceptanceStatus with a source + * + * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus, final ICallback callback); + + /** + * Patches this TermsAndConditionsAcceptanceStatus with a source + * + * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates + * @return the updated TermsAndConditionsAcceptanceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAcceptanceStatus patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus) throws ClientException; + + /** + * Posts a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback); + + /** + * Posts a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the new object to create + * @return the created TermsAndConditionsAcceptanceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsAcceptanceStatusRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsAcceptanceStatusRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequestBuilder.java index 6985719590a..16c679ee5a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAcceptanceStatusRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Acceptance Status Request Builder. */ -public interface ITermsAndConditionsAcceptanceStatusRequestBuilder extends IBaseTermsAndConditionsAcceptanceStatusRequestBuilder { +public interface ITermsAndConditionsAcceptanceStatusRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITermsAndConditionsAcceptanceStatusRequest instance + */ + ITermsAndConditionsAcceptanceStatusRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsAcceptanceStatusRequest instance + */ + ITermsAndConditionsAcceptanceStatusRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for TermsAndConditions + * + * @return the ITermsAndConditionsWithReferenceRequestBuilder instance + */ + ITermsAndConditionsWithReferenceRequestBuilder termsAndConditions(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionPage.java index 53b12e80600..f78b44ebb61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAssignmentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Assignment Collection Page. */ -public interface ITermsAndConditionsAssignmentCollectionPage extends IBaseTermsAndConditionsAssignmentCollectionPage { - +public interface ITermsAndConditionsAssignmentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequest.java index 2e3147f0488..f27ca31bff4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Assignment Collection Request. */ -public interface ITermsAndConditionsAssignmentCollectionRequest extends IBaseTermsAndConditionsAssignmentCollectionRequest { +public interface ITermsAndConditionsAssignmentCollectionRequest { + + void get(final ICallback callback); + + ITermsAndConditionsAssignmentCollectionPage get() throws ClientException; + + void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback); + + TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsAssignmentCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsAssignmentCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITermsAndConditionsAssignmentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequestBuilder.java index 9678bcd3cd4..f816c630843 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Assignment Collection Request Builder. */ -public interface ITermsAndConditionsAssignmentCollectionRequestBuilder extends IBaseTermsAndConditionsAssignmentCollectionRequestBuilder { +public interface ITermsAndConditionsAssignmentCollectionRequestBuilder extends IRequestBuilder { + + ITermsAndConditionsAssignmentCollectionRequest buildRequest(); + + ITermsAndConditionsAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); + + ITermsAndConditionsAssignmentRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequest.java index 538913c90aa..d717605227d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAssignmentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Assignment Request. */ -public interface ITermsAndConditionsAssignmentRequest extends IBaseTermsAndConditionsAssignmentRequest { +public interface ITermsAndConditionsAssignmentRequest extends IHttpRequest { + + /** + * Gets the TermsAndConditionsAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TermsAndConditionsAssignment from the service + * + * @return the TermsAndConditionsAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAssignment get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TermsAndConditionsAssignment with a source + * + * @param sourceTermsAndConditionsAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment, final ICallback callback); + + /** + * Patches this TermsAndConditionsAssignment with a source + * + * @param sourceTermsAndConditionsAssignment the source object with updates + * @return the updated TermsAndConditionsAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAssignment patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment) throws ClientException; + + /** + * Posts a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback); + + /** + * Posts a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the new object to create + * @return the created TermsAndConditionsAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsAssignmentRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsAssignmentRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequestBuilder.java index dd40c18fc41..37b78141553 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequest; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsAssignmentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Assignment Request Builder. */ -public interface ITermsAndConditionsAssignmentRequestBuilder extends IBaseTermsAndConditionsAssignmentRequestBuilder { +public interface ITermsAndConditionsAssignmentRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITermsAndConditionsAssignmentRequest instance + */ + ITermsAndConditionsAssignmentRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsAssignmentRequest instance + */ + ITermsAndConditionsAssignmentRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionPage.java index e46cc99e4b4..c7268788364 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Collection Page. */ -public interface ITermsAndConditionsCollectionPage extends IBaseTermsAndConditionsCollectionPage { - +public interface ITermsAndConditionsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequest.java index 7b79fdd85c2..f84ae04e275 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Collection Request. */ -public interface ITermsAndConditionsCollectionRequest extends IBaseTermsAndConditionsCollectionRequest { +public interface ITermsAndConditionsCollectionRequest { + + void get(final ICallback callback); + + ITermsAndConditionsCollectionPage get() throws ClientException; + + void post(final TermsAndConditions newTermsAndConditions, final ICallback callback); + + TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITermsAndConditionsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequestBuilder.java index cd7851dc516..722f02da501 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Collection Request Builder. */ -public interface ITermsAndConditionsCollectionRequestBuilder extends IBaseTermsAndConditionsCollectionRequestBuilder { +public interface ITermsAndConditionsCollectionRequestBuilder extends IRequestBuilder { + + ITermsAndConditionsCollectionRequest buildRequest(); + + ITermsAndConditionsCollectionRequest buildRequest(final java.util.List requestOptions); + + ITermsAndConditionsRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequest.java index 3b998082c1d..bcb01dcda22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Reference Request. */ -public interface ITermsAndConditionsReferenceRequest extends IBaseTermsAndConditionsReferenceRequest { +public interface ITermsAndConditionsReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + TermsAndConditions delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsReferenceRequest expand(final String value); + + /** + * Puts the TermsAndConditions + * + * @param srcTermsAndConditions the TermsAndConditions to PUT + * @param callback the callback to be called after success or failure + */ + void put(TermsAndConditions srcTermsAndConditions, final ICallback callback); + /** + * Puts the TermsAndConditions + * + * @param srcTermsAndConditions the TermsAndConditions to PUT + * @return the TermsAndConditions + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + TermsAndConditions put(TermsAndConditions srcTermsAndConditions) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequestBuilder.java index abfd8bfd185..2be72d776a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Reference Request Builder. */ -public interface ITermsAndConditionsReferenceRequestBuilder extends IBaseTermsAndConditionsReferenceRequestBuilder { +public interface ITermsAndConditionsReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ITermsAndConditionsReferenceRequest instance + */ + ITermsAndConditionsReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsReferenceRequest instance + */ + ITermsAndConditionsReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequest.java index c4c60886ba6..5b149b5f131 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Request. */ -public interface ITermsAndConditionsRequest extends IBaseTermsAndConditionsRequest { +public interface ITermsAndConditionsRequest extends IHttpRequest { + + /** + * Gets the TermsAndConditions from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the TermsAndConditions from the service + * + * @return the TermsAndConditions from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditions get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this TermsAndConditions with a source + * + * @param sourceTermsAndConditions the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback); + + /** + * Patches this TermsAndConditions with a source + * + * @param sourceTermsAndConditions the source object with updates + * @return the updated TermsAndConditions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException; + + /** + * Posts a TermsAndConditions with a new object + * + * @param newTermsAndConditions the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final TermsAndConditions newTermsAndConditions, final ICallback callback); + + /** + * Posts a TermsAndConditions with a new object + * + * @param newTermsAndConditions the new object to create + * @return the created TermsAndConditions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITermsAndConditionsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITermsAndConditionsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequestBuilder.java index fec31df6a40..baaaf2b72e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequestBuilder.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequest; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions Request Builder. */ -public interface ITermsAndConditionsRequestBuilder extends IBaseTermsAndConditionsRequestBuilder { +public interface ITermsAndConditionsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITermsAndConditionsRequest instance + */ + ITermsAndConditionsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsRequest instance + */ + ITermsAndConditionsRequest buildRequest(final java.util.List requestOptions); + + + ITermsAndConditionsAssignmentCollectionRequestBuilder assignments(); + + ITermsAndConditionsAssignmentRequestBuilder assignments(final String id); + + ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder acceptanceStatuses(); + + ITermsAndConditionsAcceptanceStatusRequestBuilder acceptanceStatuses(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequest.java index eabbe3c1372..36c25033c63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions With Reference Request. */ -public interface ITermsAndConditionsWithReferenceRequest extends IBaseTermsAndConditionsWithReferenceRequest { +public interface ITermsAndConditionsWithReferenceRequest extends IHttpRequest { + + void post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload, final ICallback callback); + + TermsAndConditions post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + TermsAndConditions get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback); + + TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException; + + ITermsAndConditionsWithReferenceRequest select(final String value); + + ITermsAndConditionsWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequestBuilder.java index 45bd8704b04..d59f0a9d2a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTermsAndConditionsWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Terms And Conditions With Reference Request Builder. */ -public interface ITermsAndConditionsWithReferenceRequestBuilder extends IBaseTermsAndConditionsWithReferenceRequestBuilder { +public interface ITermsAndConditionsWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the ITermsAndConditionsWithReferenceRequest instance + */ + ITermsAndConditionsWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsWithReferenceRequest instance + */ + ITermsAndConditionsWithReferenceRequest buildRequest(final java.util.List requestOptions); + + ITermsAndConditionsReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequest.java index a86ab516838..9a201d0a6aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Thumbnail; -import com.microsoft.graph.requests.generated.IBaseThumbnailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Request. */ -public interface IThumbnailRequest extends IBaseThumbnailRequest { +public interface IThumbnailRequest extends IHttpRequest { + + /** + * Gets the Thumbnail from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Thumbnail from the service + * + * @return the Thumbnail from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Thumbnail get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Thumbnail with a source + * + * @param sourceThumbnail the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Thumbnail sourceThumbnail, final ICallback callback); + + /** + * Patches this Thumbnail with a source + * + * @param sourceThumbnail the source object with updates + * @return the updated Thumbnail + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Thumbnail patch(final Thumbnail sourceThumbnail) throws ClientException; + + /** + * Posts a Thumbnail with a new object + * + * @param newThumbnail the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Thumbnail newThumbnail, final ICallback callback); + + /** + * Posts a Thumbnail with a new object + * + * @param newThumbnail the new object to create + * @return the created Thumbnail + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Thumbnail post(final Thumbnail newThumbnail) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IThumbnailRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IThumbnailRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequestBuilder.java index 65eb6470bdc..ed657fbeb9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailRequest; +import com.microsoft.graph.requests.extensions.IThumbnailStreamRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseThumbnailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Request Builder. */ -public interface IThumbnailRequestBuilder extends IBaseThumbnailRequestBuilder { +public interface IThumbnailRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IThumbnailRequest instance + */ + IThumbnailRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IThumbnailRequest instance + */ + IThumbnailRequest buildRequest(final java.util.List requestOptions); + + + IThumbnailStreamRequestBuilder content(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionPage.java index 1987b08ebaa..76b9fe55e19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseThumbnailSetCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Set Collection Page. */ -public interface IThumbnailSetCollectionPage extends IBaseThumbnailSetCollectionPage { - +public interface IThumbnailSetCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequest.java index afb40380815..50bc4bacd03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseThumbnailSetCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Set Collection Request. */ -public interface IThumbnailSetCollectionRequest extends IBaseThumbnailSetCollectionRequest { +public interface IThumbnailSetCollectionRequest { + + void get(final ICallback callback); + + IThumbnailSetCollectionPage get() throws ClientException; + + void post(final ThumbnailSet newThumbnailSet, final ICallback callback); + + ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IThumbnailSetCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IThumbnailSetCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IThumbnailSetCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequestBuilder.java index 33fb4dc83de..78909589466 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseThumbnailSetCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Set Collection Request Builder. */ -public interface IThumbnailSetCollectionRequestBuilder extends IBaseThumbnailSetCollectionRequestBuilder { +public interface IThumbnailSetCollectionRequestBuilder extends IRequestBuilder { + + IThumbnailSetCollectionRequest buildRequest(); + + IThumbnailSetCollectionRequest buildRequest(final java.util.List requestOptions); + + IThumbnailSetRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequest.java index 8011f33040a..fef733cb41b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ThumbnailSet; -import com.microsoft.graph.requests.generated.IBaseThumbnailSetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Set Request. */ -public interface IThumbnailSetRequest extends IBaseThumbnailSetRequest { +public interface IThumbnailSetRequest extends IHttpRequest { + + /** + * Gets the ThumbnailSet from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the ThumbnailSet from the service + * + * @return the ThumbnailSet from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ThumbnailSet get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this ThumbnailSet with a source + * + * @param sourceThumbnailSet the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final ThumbnailSet sourceThumbnailSet, final ICallback callback); + + /** + * Patches this ThumbnailSet with a source + * + * @param sourceThumbnailSet the source object with updates + * @return the updated ThumbnailSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ThumbnailSet patch(final ThumbnailSet sourceThumbnailSet) throws ClientException; + + /** + * Posts a ThumbnailSet with a new object + * + * @param newThumbnailSet the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final ThumbnailSet newThumbnailSet, final ICallback callback); + + /** + * Posts a ThumbnailSet with a new object + * + * @param newThumbnailSet the new object to create + * @return the created ThumbnailSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IThumbnailSetRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IThumbnailSetRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequestBuilder.java index add82342053..c8db54c579b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequestBuilder.java @@ -3,16 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailSetRequest; -import com.microsoft.graph.requests.generated.IBaseThumbnailSetRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Set Request Builder. */ -public interface IThumbnailSetRequestBuilder extends IBaseThumbnailSetRequestBuilder { +public interface IThumbnailSetRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IThumbnailSetRequest instance + */ + IThumbnailSetRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IThumbnailSetRequest instance + */ + IThumbnailSetRequest buildRequest(final java.util.List requestOptions); /** * Gets a request for a thumbnail of a specific size @@ -20,4 +36,5 @@ public interface IThumbnailSetRequestBuilder extends IBaseThumbnailSetRequestBui * @return The request builder for that thumbnail size */ IThumbnailRequestBuilder getThumbnailSize(final String size); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequest.java index d1edbde4b43..5a2566dfce4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequest.java @@ -4,13 +4,56 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseThumbnailStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Stream Request. */ -public interface IThumbnailStreamRequest extends IBaseThumbnailStreamRequest { +public interface IThumbnailStreamRequest extends IHttpStreamRequest { + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + InputStream get() throws ClientException; + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + void put(final byte[] fileContents, final ICallback callback); + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Thumbnail put(final byte[] fileContents) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequestBuilder.java index ca1bc8936e4..f6883b913df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailStreamRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailStreamRequest; -import com.microsoft.graph.requests.generated.IBaseThumbnailStreamRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Thumbnail Stream Request Builder. */ -public interface IThumbnailStreamRequestBuilder extends IBaseThumbnailStreamRequestBuilder { +public interface IThumbnailStreamRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IThumbnailStreamRequest instance + */ + IThumbnailStreamRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IThumbnailStreamRequest instance + */ + IThumbnailStreamRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionPage.java index d08ccb1348a..743c8e8eb36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTrendingCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Trending Collection Page. */ -public interface ITrendingCollectionPage extends IBaseTrendingCollectionPage { - +public interface ITrendingCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequest.java index 77fa0073f5a..b72a520e1a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTrendingCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Trending Collection Request. */ -public interface ITrendingCollectionRequest extends IBaseTrendingCollectionRequest { +public interface ITrendingCollectionRequest { + + void get(final ICallback callback); + + ITrendingCollectionPage get() throws ClientException; + + void post(final Trending newTrending, final ICallback callback); + + Trending post(final Trending newTrending) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITrendingCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITrendingCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + ITrendingCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequestBuilder.java index 127c4ba756c..9a50ce395f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseTrendingCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Trending Collection Request Builder. */ -public interface ITrendingCollectionRequestBuilder extends IBaseTrendingCollectionRequestBuilder { +public interface ITrendingCollectionRequestBuilder extends IRequestBuilder { + + ITrendingCollectionRequest buildRequest(); + + ITrendingCollectionRequest buildRequest(final java.util.List requestOptions); + + ITrendingRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequest.java index f854b5a23ac..abb55bf1ad8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Trending; -import com.microsoft.graph.requests.generated.IBaseTrendingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Trending Request. */ -public interface ITrendingRequest extends IBaseTrendingRequest { +public interface ITrendingRequest extends IHttpRequest { + + /** + * Gets the Trending from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Trending from the service + * + * @return the Trending from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Trending get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Trending with a source + * + * @param sourceTrending the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Trending sourceTrending, final ICallback callback); + + /** + * Patches this Trending with a source + * + * @param sourceTrending the source object with updates + * @return the updated Trending + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Trending patch(final Trending sourceTrending) throws ClientException; + + /** + * Posts a Trending with a new object + * + * @param newTrending the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Trending newTrending, final ICallback callback); + + /** + * Posts a Trending with a new object + * + * @param newTrending the new object to create + * @return the created Trending + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Trending post(final Trending newTrending) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + ITrendingRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + ITrendingRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequestBuilder.java index 078a4d3f72a..3feadb95267 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITrendingRequest; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseTrendingRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Trending Request Builder. */ -public interface ITrendingRequestBuilder extends IBaseTrendingRequestBuilder { +public interface ITrendingRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the ITrendingRequest instance + */ + ITrendingRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITrendingRequest instance + */ + ITrendingRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + IEntityWithReferenceRequestBuilder resource(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionPage.java index e6dc56624c3..18a9bffa002 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUsedInsightCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Used Insight Collection Page. */ -public interface IUsedInsightCollectionPage extends IBaseUsedInsightCollectionPage { - +public interface IUsedInsightCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequest.java index 378b75a6633..5f59bbbe95e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUsedInsightCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Used Insight Collection Request. */ -public interface IUsedInsightCollectionRequest extends IBaseUsedInsightCollectionRequest { +public interface IUsedInsightCollectionRequest { + + void get(final ICallback callback); + + IUsedInsightCollectionPage get() throws ClientException; + + void post(final UsedInsight newUsedInsight, final ICallback callback); + + UsedInsight post(final UsedInsight newUsedInsight) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUsedInsightCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUsedInsightCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUsedInsightCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequestBuilder.java index 90f3677b9ae..435348949be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUsedInsightCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Used Insight Collection Request Builder. */ -public interface IUsedInsightCollectionRequestBuilder extends IBaseUsedInsightCollectionRequestBuilder { +public interface IUsedInsightCollectionRequestBuilder extends IRequestBuilder { + + IUsedInsightCollectionRequest buildRequest(); + + IUsedInsightCollectionRequest buildRequest(final java.util.List requestOptions); + + IUsedInsightRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequest.java index f73d7c8cc4f..adb490aa478 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UsedInsight; -import com.microsoft.graph.requests.generated.IBaseUsedInsightRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Used Insight Request. */ -public interface IUsedInsightRequest extends IBaseUsedInsightRequest { +public interface IUsedInsightRequest extends IHttpRequest { + + /** + * Gets the UsedInsight from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the UsedInsight from the service + * + * @return the UsedInsight from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UsedInsight get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this UsedInsight with a source + * + * @param sourceUsedInsight the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final UsedInsight sourceUsedInsight, final ICallback callback); + + /** + * Patches this UsedInsight with a source + * + * @param sourceUsedInsight the source object with updates + * @return the updated UsedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UsedInsight patch(final UsedInsight sourceUsedInsight) throws ClientException; + + /** + * Posts a UsedInsight with a new object + * + * @param newUsedInsight the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final UsedInsight newUsedInsight, final ICallback callback); + + /** + * Posts a UsedInsight with a new object + * + * @param newUsedInsight the new object to create + * @return the created UsedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UsedInsight post(final UsedInsight newUsedInsight) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUsedInsightRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUsedInsightRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequestBuilder.java index c97b7503f10..f26deb3e358 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUsedInsightRequest; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseUsedInsightRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Used Insight Request Builder. */ -public interface IUsedInsightRequestBuilder extends IBaseUsedInsightRequestBuilder { +public interface IUsedInsightRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IUsedInsightRequest instance + */ + IUsedInsightRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUsedInsightRequest instance + */ + IUsedInsightRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + IEntityWithReferenceRequestBuilder resource(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionPage.java index d7aa7817547..ddd901e0bc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Collection Page. */ -public interface IUserActivityCollectionPage extends IBaseUserActivityCollectionPage { - +public interface IUserActivityCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequest.java index 082fb58d96a..e00584bd045 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Collection Request. */ -public interface IUserActivityCollectionRequest extends IBaseUserActivityCollectionRequest { +public interface IUserActivityCollectionRequest { + + void get(final ICallback callback); + + IUserActivityCollectionPage get() throws ClientException; + + void post(final UserActivity newUserActivity, final ICallback callback); + + UserActivity post(final UserActivity newUserActivity) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserActivityCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserActivityCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserActivityCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequestBuilder.java index 1266406544b..2571ffea6b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Collection Request Builder. */ -public interface IUserActivityCollectionRequestBuilder extends IBaseUserActivityCollectionRequestBuilder { +public interface IUserActivityCollectionRequestBuilder extends IRequestBuilder { + + IUserActivityCollectionRequest buildRequest(); + + IUserActivityCollectionRequest buildRequest(final java.util.List requestOptions); + + IUserActivityRequestBuilder byId(final String id); + + IUserActivityRecentCollectionRequestBuilder recent(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionPage.java index c0c69f1103a..2c477b2da3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityRecentCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Recent Collection Page. */ -public interface IUserActivityRecentCollectionPage extends IBaseUserActivityRecentCollectionPage { - +public interface IUserActivityRecentCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequest.java index c9ae06c52c8..f69d346e4fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityRecentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Recent Collection Request. */ -public interface IUserActivityRecentCollectionRequest extends IBaseUserActivityRecentCollectionRequest { +public interface IUserActivityRecentCollectionRequest { + + void get(final ICallback callback); + + IUserActivityRecentCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserActivityRecentCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserActivityRecentCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserActivityRecentCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequestBuilder.java index ed22c3aaf27..4d8eb744b0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRecentCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityRecentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Recent Collection Request Builder. */ -public interface IUserActivityRecentCollectionRequestBuilder extends IBaseUserActivityRecentCollectionRequestBuilder { +public interface IUserActivityRecentCollectionRequestBuilder extends IRequestBuilder { + + IUserActivityRecentCollectionRequest buildRequest(); + + IUserActivityRecentCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequest.java index 4233378ad55..5324fc8e6f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Reference Request. */ -public interface IUserActivityReferenceRequest extends IBaseUserActivityReferenceRequest { +public interface IUserActivityReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + UserActivity delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserActivityReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserActivityReferenceRequest expand(final String value); + + /** + * Puts the UserActivity + * + * @param srcUserActivity the UserActivity to PUT + * @param callback the callback to be called after success or failure + */ + void put(UserActivity srcUserActivity, final ICallback callback); + /** + * Puts the UserActivity + * + * @param srcUserActivity the UserActivity to PUT + * @return the UserActivity + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + UserActivity put(UserActivity srcUserActivity) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequestBuilder.java index 3bffc1b1483..895e4302197 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Reference Request Builder. */ -public interface IUserActivityReferenceRequestBuilder extends IBaseUserActivityReferenceRequestBuilder { +public interface IUserActivityReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IUserActivityReferenceRequest instance + */ + IUserActivityReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserActivityReferenceRequest instance + */ + IUserActivityReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequest.java index 60aad943c01..32afbc6c026 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserActivity; -import com.microsoft.graph.requests.generated.IBaseUserActivityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Request. */ -public interface IUserActivityRequest extends IBaseUserActivityRequest { +public interface IUserActivityRequest extends IHttpRequest { + + /** + * Gets the UserActivity from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the UserActivity from the service + * + * @return the UserActivity from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserActivity get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this UserActivity with a source + * + * @param sourceUserActivity the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final UserActivity sourceUserActivity, final ICallback callback); + + /** + * Patches this UserActivity with a source + * + * @param sourceUserActivity the source object with updates + * @return the updated UserActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserActivity patch(final UserActivity sourceUserActivity) throws ClientException; + + /** + * Posts a UserActivity with a new object + * + * @param newUserActivity the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final UserActivity newUserActivity, final ICallback callback); + + /** + * Posts a UserActivity with a new object + * + * @param newUserActivity the new object to create + * @return the created UserActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserActivity post(final UserActivity newUserActivity) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserActivityRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserActivityRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequestBuilder.java index 535452dc52b..629b0b9a437 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserActivityRequest; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseUserActivityRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity Request Builder. */ -public interface IUserActivityRequestBuilder extends IBaseUserActivityRequestBuilder { +public interface IUserActivityRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IUserActivityRequest instance + */ + IUserActivityRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserActivityRequest instance + */ + IUserActivityRequest buildRequest(final java.util.List requestOptions); + + + IActivityHistoryItemCollectionRequestBuilder historyItems(); + + IActivityHistoryItemRequestBuilder historyItems(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequest.java index 161d2d860d6..def5dfeb912 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity With Reference Request. */ -public interface IUserActivityWithReferenceRequest extends IBaseUserActivityWithReferenceRequest { +public interface IUserActivityWithReferenceRequest extends IHttpRequest { + + void post(final UserActivity newUserActivity, final IJsonBackedObject payload, final ICallback callback); + + UserActivity post(final UserActivity newUserActivity, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + UserActivity get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final UserActivity sourceUserActivity, final ICallback callback); + + UserActivity patch(final UserActivity sourceUserActivity) throws ClientException; + + IUserActivityWithReferenceRequest select(final String value); + + IUserActivityWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequestBuilder.java index 89311b7b817..090133f22d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserActivityWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Activity With Reference Request Builder. */ -public interface IUserActivityWithReferenceRequestBuilder extends IBaseUserActivityWithReferenceRequestBuilder { +public interface IUserActivityWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IUserActivityWithReferenceRequest instance + */ + IUserActivityWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserActivityWithReferenceRequest instance + */ + IUserActivityWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IUserActivityReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequest.java index 19f2325d7f8..785d62d2eaa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; -import com.microsoft.graph.requests.generated.IBaseUserAssignLicenseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Assign License Request. */ -public interface IUserAssignLicenseRequest extends IBaseUserAssignLicenseRequest { +public interface IUserAssignLicenseRequest { + + void post(final ICallback callback); + + User post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserAssignLicenseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserAssignLicenseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserAssignLicenseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequestBuilder.java index 522d197e0b5..e1b39631e41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserAssignLicenseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; -import com.microsoft.graph.requests.generated.IBaseUserAssignLicenseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Assign License Request Builder. */ -public interface IUserAssignLicenseRequestBuilder extends IBaseUserAssignLicenseRequestBuilder { +public interface IUserAssignLicenseRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserAssignLicenseRequest + * + * @return the IUserAssignLicenseRequest instance + */ + IUserAssignLicenseRequest buildRequest(); + + /** + * Creates the IUserAssignLicenseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserAssignLicenseRequest instance + */ + IUserAssignLicenseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequest.java index 7296f057548..92a07cc6736 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; -import com.microsoft.graph.requests.generated.IBaseUserChangePasswordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Change Password Request. */ -public interface IUserChangePasswordRequest extends IBaseUserChangePasswordRequest { +public interface IUserChangePasswordRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserChangePasswordRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserChangePasswordRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserChangePasswordRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequestBuilder.java index fd14ad9be49..f4ee0fb1c2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserChangePasswordRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; -import com.microsoft.graph.requests.generated.IBaseUserChangePasswordRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Change Password Request Builder. */ -public interface IUserChangePasswordRequestBuilder extends IBaseUserChangePasswordRequestBuilder { +public interface IUserChangePasswordRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserChangePasswordRequest + * + * @return the IUserChangePasswordRequest instance + */ + IUserChangePasswordRequest buildRequest(); + + /** + * Creates the IUserChangePasswordRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserChangePasswordRequest instance + */ + IUserChangePasswordRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionPage.java index ed9ec1ee9d9..240474757b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Collection Page. */ -public interface IUserCollectionPage extends IBaseUserCollectionPage { - +public interface IUserCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequest.java index 35211be2c56..804a30e0a31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Collection Request. */ -public interface IUserCollectionRequest extends IBaseUserCollectionRequest { +public interface IUserCollectionRequest { + + void get(final ICallback callback); + + IUserCollectionPage get() throws ClientException; + + void post(final User newUser, final ICallback callback); + + User post(final User newUser) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequestBuilder.java index d30e84ccc49..308c0c51b6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Collection Request Builder. */ -public interface IUserCollectionRequestBuilder extends IBaseUserCollectionRequestBuilder { +public interface IUserCollectionRequestBuilder extends IRequestBuilder { + + IUserCollectionRequest buildRequest(); + + IUserCollectionRequest buildRequest(final java.util.List requestOptions); + + IUserRequestBuilder byId(final String id); + + + IUserDeltaCollectionRequestBuilder delta(); + IUserDeltaCollectionRequestBuilder delta(final String deltaLink); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionPage.java index f8c1d6ee3f4..38e26c5734f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionPage.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserDeltaCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Delta Collection Page. */ -public interface IUserDeltaCollectionPage extends IBaseUserDeltaCollectionPage { - +public interface IUserDeltaCollectionPage extends IBaseCollectionPage { + /** + * The deltaLink to make future delta requests + * + * @return String The deltaLink URL + */ + public String deltaLink(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequest.java index 78ef78ab311..0d7198be96c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Delta Collection Request. */ -public interface IUserDeltaCollectionRequest extends IBaseUserDeltaCollectionRequest { +public interface IUserDeltaCollectionRequest { + + void get(final ICallback callback); + + IUserDeltaCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserDeltaCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserDeltaCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserDeltaCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequestBuilder.java index 6e917d1931c..fd61f1de118 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserDeltaCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Delta Collection Request Builder. */ -public interface IUserDeltaCollectionRequestBuilder extends IBaseUserDeltaCollectionRequestBuilder { +public interface IUserDeltaCollectionRequestBuilder extends IRequestBuilder { + + IUserDeltaCollectionRequest buildRequest(); + + IUserDeltaCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequest.java index 3ef38c0cfd0..ee84c2d46f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; -import com.microsoft.graph.requests.generated.IBaseUserExportPersonalDataRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Export Personal Data Request. */ -public interface IUserExportPersonalDataRequest extends IBaseUserExportPersonalDataRequest { +public interface IUserExportPersonalDataRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserExportPersonalDataRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserExportPersonalDataRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserExportPersonalDataRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequestBuilder.java index 5fedc6aeb72..f2c2ca793f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserExportPersonalDataRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; -import com.microsoft.graph.requests.generated.IBaseUserExportPersonalDataRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Export Personal Data Request Builder. */ -public interface IUserExportPersonalDataRequestBuilder extends IBaseUserExportPersonalDataRequestBuilder { +public interface IUserExportPersonalDataRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserExportPersonalDataRequest + * + * @return the IUserExportPersonalDataRequest instance + */ + IUserExportPersonalDataRequest buildRequest(); + + /** + * Creates the IUserExportPersonalDataRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserExportPersonalDataRequest instance + */ + IUserExportPersonalDataRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequest.java index 7923c3df080..d55a2d4590d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MeetingTimeSuggestionsResult; +import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; -import com.microsoft.graph.requests.generated.IBaseUserFindMeetingTimesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Find Meeting Times Request. */ -public interface IUserFindMeetingTimesRequest extends IBaseUserFindMeetingTimesRequest { +public interface IUserFindMeetingTimesRequest { + + void post(final ICallback callback); + + MeetingTimeSuggestionsResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserFindMeetingTimesRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserFindMeetingTimesRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserFindMeetingTimesRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequestBuilder.java index 390649aea3a..fa92a180fc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserFindMeetingTimesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; -import com.microsoft.graph.requests.generated.IBaseUserFindMeetingTimesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Find Meeting Times Request Builder. */ -public interface IUserFindMeetingTimesRequestBuilder extends IBaseUserFindMeetingTimesRequestBuilder { +public interface IUserFindMeetingTimesRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserFindMeetingTimesRequest + * + * @return the IUserFindMeetingTimesRequest instance + */ + IUserFindMeetingTimesRequest buildRequest(); + + /** + * Creates the IUserFindMeetingTimesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserFindMeetingTimesRequest instance + */ + IUserFindMeetingTimesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionPage.java index 8aae67687fa..51902f24542 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetMailTipsCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Mail Tips Collection Page. */ -public interface IUserGetMailTipsCollectionPage extends IBaseUserGetMailTipsCollectionPage { - +public interface IUserGetMailTipsCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequest.java index 06edd400456..14f9f384bd9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetMailTipsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Mail Tips Collection Request. */ -public interface IUserGetMailTipsCollectionRequest extends IBaseUserGetMailTipsCollectionRequest { +public interface IUserGetMailTipsCollectionRequest { + + void post(final ICallback callback); + + IUserGetMailTipsCollectionPage post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserGetMailTipsCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserGetMailTipsCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserGetMailTipsCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequestBuilder.java index fb9a3c11f11..d664cad7604 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetMailTipsCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetMailTipsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Mail Tips Collection Request Builder. */ -public interface IUserGetMailTipsCollectionRequestBuilder extends IBaseUserGetMailTipsCollectionRequestBuilder { +public interface IUserGetMailTipsCollectionRequestBuilder extends IRequestBuilder { + + IUserGetMailTipsCollectionRequest buildRequest(); + + IUserGetMailTipsCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionPage.java index 6cb60e67fd1..196ff4a2e7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetManagedAppDiagnosticStatusesCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Managed App Diagnostic Statuses Collection Page. */ -public interface IUserGetManagedAppDiagnosticStatusesCollectionPage extends IBaseUserGetManagedAppDiagnosticStatusesCollectionPage { - +public interface IUserGetManagedAppDiagnosticStatusesCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequest.java index 580ab56110c..8d41e4facad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Managed App Diagnostic Statuses Collection Request. */ -public interface IUserGetManagedAppDiagnosticStatusesCollectionRequest extends IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest { +public interface IUserGetManagedAppDiagnosticStatusesCollectionRequest { + + void get(final ICallback callback); + + IUserGetManagedAppDiagnosticStatusesCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserGetManagedAppDiagnosticStatusesCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserGetManagedAppDiagnosticStatusesCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserGetManagedAppDiagnosticStatusesCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java index 9f4f7fb4ef1..a7950d8d15e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Managed App Diagnostic Statuses Collection Request Builder. */ -public interface IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder { +public interface IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends IRequestBuilder { + + IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest(); + + IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionPage.java index 14acfad9195..086e4a95a40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetManagedAppPoliciesCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Managed App Policies Collection Page. */ -public interface IUserGetManagedAppPoliciesCollectionPage extends IBaseUserGetManagedAppPoliciesCollectionPage { - +public interface IUserGetManagedAppPoliciesCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequest.java index 4b43f9550f1..a34d3229b2d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetManagedAppPoliciesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Managed App Policies Collection Request. */ -public interface IUserGetManagedAppPoliciesCollectionRequest extends IBaseUserGetManagedAppPoliciesCollectionRequest { +public interface IUserGetManagedAppPoliciesCollectionRequest { + + void get(final ICallback callback); + + IUserGetManagedAppPoliciesCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserGetManagedAppPoliciesCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserGetManagedAppPoliciesCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserGetManagedAppPoliciesCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequestBuilder.java index bfc1f3b3305..a9a82503086 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserGetManagedAppPoliciesCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserGetManagedAppPoliciesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Get Managed App Policies Collection Request Builder. */ -public interface IUserGetManagedAppPoliciesCollectionRequestBuilder extends IBaseUserGetManagedAppPoliciesCollectionRequestBuilder { +public interface IUserGetManagedAppPoliciesCollectionRequestBuilder extends IRequestBuilder { + + IUserGetManagedAppPoliciesCollectionRequest buildRequest(); + + IUserGetManagedAppPoliciesCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionPage.java index cafd21430c8..ee44f024798 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserInstallStateSummaryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Install State Summary Collection Page. */ -public interface IUserInstallStateSummaryCollectionPage extends IBaseUserInstallStateSummaryCollectionPage { - +public interface IUserInstallStateSummaryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequest.java index b119f0df256..11130389c5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserInstallStateSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Install State Summary Collection Request. */ -public interface IUserInstallStateSummaryCollectionRequest extends IBaseUserInstallStateSummaryCollectionRequest { +public interface IUserInstallStateSummaryCollectionRequest { + + void get(final ICallback callback); + + IUserInstallStateSummaryCollectionPage get() throws ClientException; + + void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback); + + UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserInstallStateSummaryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserInstallStateSummaryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserInstallStateSummaryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequestBuilder.java index c277de3e88a..360689a7589 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserInstallStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Install State Summary Collection Request Builder. */ -public interface IUserInstallStateSummaryCollectionRequestBuilder extends IBaseUserInstallStateSummaryCollectionRequestBuilder { +public interface IUserInstallStateSummaryCollectionRequestBuilder extends IRequestBuilder { + + IUserInstallStateSummaryCollectionRequest buildRequest(); + + IUserInstallStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions); + + IUserInstallStateSummaryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequest.java index feb3958ce54..8dbb8dd48f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserInstallStateSummary; -import com.microsoft.graph.requests.generated.IBaseUserInstallStateSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Install State Summary Request. */ -public interface IUserInstallStateSummaryRequest extends IBaseUserInstallStateSummaryRequest { +public interface IUserInstallStateSummaryRequest extends IHttpRequest { + + /** + * Gets the UserInstallStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the UserInstallStateSummary from the service + * + * @return the UserInstallStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserInstallStateSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this UserInstallStateSummary with a source + * + * @param sourceUserInstallStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final UserInstallStateSummary sourceUserInstallStateSummary, final ICallback callback); + + /** + * Patches this UserInstallStateSummary with a source + * + * @param sourceUserInstallStateSummary the source object with updates + * @return the updated UserInstallStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserInstallStateSummary patch(final UserInstallStateSummary sourceUserInstallStateSummary) throws ClientException; + + /** + * Posts a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback); + + /** + * Posts a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the new object to create + * @return the created UserInstallStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserInstallStateSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserInstallStateSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequestBuilder.java index bcf5ee2469b..b09ece0da81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequestBuilder.java @@ -3,14 +3,38 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequest; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseUserInstallStateSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Install State Summary Request Builder. */ -public interface IUserInstallStateSummaryRequestBuilder extends IBaseUserInstallStateSummaryRequestBuilder { +public interface IUserInstallStateSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IUserInstallStateSummaryRequest instance + */ + IUserInstallStateSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserInstallStateSummaryRequest instance + */ + IUserInstallStateSummaryRequest buildRequest(final java.util.List requestOptions); + + + IDeviceInstallStateCollectionRequestBuilder deviceStates(); + + IDeviceInstallStateRequestBuilder deviceStates(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequest.java index 55640385abd..fcd57f7bdfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequest.java @@ -4,13 +4,59 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Reference Request. */ -public interface IUserReferenceRequest extends IBaseUserReferenceRequest { +public interface IUserReferenceRequest extends IHttpRequest { + + void delete(final ICallback callback); + + User delete() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserReferenceRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserReferenceRequest expand(final String value); + + /** + * Puts the User + * + * @param srcUser the User to PUT + * @param callback the callback to be called after success or failure + */ + void put(User srcUser, final ICallback callback); + /** + * Puts the User + * + * @param srcUser the User to PUT + * @return the User + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + User put(User srcUser) throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequestBuilder.java index ae4a579dcd8..279d463863b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserReferenceRequestBuilder.java @@ -4,13 +4,37 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Reference Request Builder. */ -public interface IUserReferenceRequestBuilder extends IBaseUserReferenceRequestBuilder { +public interface IUserReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IUserReferenceRequest instance + */ + IUserReferenceRequest buildRequest(); + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserReferenceRequest instance + */ + IUserReferenceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionPage.java index e9e78197ba0..90ed63c698d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserReminderViewCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Reminder View Collection Page. */ -public interface IUserReminderViewCollectionPage extends IBaseUserReminderViewCollectionPage { - +public interface IUserReminderViewCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequest.java index b4f3703e6ba..6c728b1834a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequest.java @@ -4,13 +4,54 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserReminderViewCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Reminder View Collection Request. */ -public interface IUserReminderViewCollectionRequest extends IBaseUserReminderViewCollectionRequest { +public interface IUserReminderViewCollectionRequest { + + void get(final ICallback callback); + + IUserReminderViewCollectionPage get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserReminderViewCollectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserReminderViewCollectionRequest expand(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserReminderViewCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequestBuilder.java index c9e7749f820..26c46a10ac4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserReminderViewCollectionRequestBuilder.java @@ -4,13 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserReminderViewCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Reminder View Collection Request Builder. */ -public interface IUserReminderViewCollectionRequestBuilder extends IBaseUserReminderViewCollectionRequestBuilder { +public interface IUserReminderViewCollectionRequestBuilder extends IRequestBuilder { + + IUserReminderViewCollectionRequest buildRequest(); + + IUserReminderViewCollectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequest.java index 0bef23f5e40..2935ea9a34f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; -import com.microsoft.graph.requests.generated.IBaseUserRemoveAllDevicesFromManagementRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Remove All Devices From Management Request. */ -public interface IUserRemoveAllDevicesFromManagementRequest extends IBaseUserRemoveAllDevicesFromManagementRequest { +public interface IUserRemoveAllDevicesFromManagementRequest { + + /** + * Creates the UserRemoveAllDevicesFromManagement + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the UserRemoveAllDevicesFromManagement + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequestBuilder.java index edbd54cdaed..223b9c0b169 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserRemoveAllDevicesFromManagementRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; -import com.microsoft.graph.requests.generated.IBaseUserRemoveAllDevicesFromManagementRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Remove All Devices From Management Request Builder. */ -public interface IUserRemoveAllDevicesFromManagementRequestBuilder extends IBaseUserRemoveAllDevicesFromManagementRequestBuilder { +public interface IUserRemoveAllDevicesFromManagementRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserRemoveAllDevicesFromManagementRequest + * + * @return the IUserRemoveAllDevicesFromManagementRequest instance + */ + IUserRemoveAllDevicesFromManagementRequest buildRequest(); + + /** + * Creates the IUserRemoveAllDevicesFromManagementRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserRemoveAllDevicesFromManagementRequest instance + */ + IUserRemoveAllDevicesFromManagementRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserRequest.java index 231d4824108..0e654bb4b56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.requests.generated.IBaseUserRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Request. */ -public interface IUserRequest extends IBaseUserRequest { +public interface IUserRequest extends IHttpRequest { + + /** + * Gets the User from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the User from the service + * + * @return the User from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + User get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this User with a source + * + * @param sourceUser the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final User sourceUser, final ICallback callback); + + /** + * Patches this User with a source + * + * @param sourceUser the source object with updates + * @return the updated User + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + User patch(final User sourceUser) throws ClientException; + + /** + * Posts a User with a new object + * + * @param newUser the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final User newUser, final ICallback callback); + + /** + * Posts a User with a new object + * + * @param newUser the new object to create + * @return the created User + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + User post(final User newUser) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserRequestBuilder.java index 732d27c9de3..275dd022bb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserRequestBuilder.java @@ -3,14 +3,294 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ILicenseDetailsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ILicenseDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IPersonCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPersonRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.IInferenceClassificationRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserActivityCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserSettingsRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; +import com.microsoft.graph.models.extensions.AssignedLicense; +import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserChangePasswordRequestBuilder; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IUserSendMailRequestBuilder; +import com.microsoft.graph.models.extensions.AttendeeBase; +import com.microsoft.graph.models.extensions.LocationConstraint; +import com.microsoft.graph.models.extensions.TimeConstraint; +import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequestBuilder; +import com.microsoft.graph.models.generated.MailTipsType; +import com.microsoft.graph.requests.extensions.IUserGetMailTipsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserReminderViewCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserGetManagedAppPoliciesCollectionRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseUserRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Request Builder. */ -public interface IUserRequestBuilder extends IBaseUserRequestBuilder { +public interface IUserRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IUserRequest instance + */ + IUserRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserRequest instance + */ + IUserRequest buildRequest(final java.util.List requestOptions); + + + IDirectoryObjectCollectionWithReferencesRequestBuilder ownedDevices(); + + IDirectoryObjectWithReferenceRequestBuilder ownedDevices(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder registeredDevices(); + + IDirectoryObjectWithReferenceRequestBuilder registeredDevices(final String id); + + /** + * Gets the request builder for DirectoryObject + * + * @return the IDirectoryObjectWithReferenceRequestBuilder instance + */ + IDirectoryObjectWithReferenceRequestBuilder manager(); + + IDirectoryObjectCollectionWithReferencesRequestBuilder directReports(); + + IDirectoryObjectWithReferenceRequestBuilder directReports(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf(); + + IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder createdObjects(); + + IDirectoryObjectWithReferenceRequestBuilder createdObjects(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder ownedObjects(); + + IDirectoryObjectWithReferenceRequestBuilder ownedObjects(final String id); + + ILicenseDetailsCollectionRequestBuilder licenseDetails(); + + ILicenseDetailsRequestBuilder licenseDetails(final String id); + + IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMemberOf(); + + IDirectoryObjectWithReferenceRequestBuilder transitiveMemberOf(final String id); + + IExtensionCollectionRequestBuilder extensions(); + + IExtensionRequestBuilder extensions(final String id); + + /** + * Gets the request builder for OutlookUser + * + * @return the IOutlookUserRequestBuilder instance + */ + IOutlookUserRequestBuilder outlook(); + + IMessageCollectionRequestBuilder messages(); + + IMessageRequestBuilder messages(final String id); + + IMailFolderCollectionRequestBuilder mailFolders(); + + IMailFolderRequestBuilder mailFolders(final String id); + + /** + * Gets the request builder for Calendar + * + * @return the ICalendarRequestBuilder instance + */ + ICalendarRequestBuilder calendar(); + + ICalendarCollectionRequestBuilder calendars(); + + ICalendarRequestBuilder calendars(final String id); + + ICalendarGroupCollectionRequestBuilder calendarGroups(); + + ICalendarGroupRequestBuilder calendarGroups(final String id); + + IEventCollectionRequestBuilder calendarView(); + + IEventRequestBuilder calendarView(final String id); + + IEventCollectionRequestBuilder events(); + + IEventRequestBuilder events(final String id); + + IPersonCollectionRequestBuilder people(); + + IPersonRequestBuilder people(final String id); + + IContactCollectionRequestBuilder contacts(); + + IContactRequestBuilder contacts(final String id); + + IContactFolderCollectionRequestBuilder contactFolders(); + + IContactFolderRequestBuilder contactFolders(final String id); + + /** + * Gets the request builder for InferenceClassification + * + * @return the IInferenceClassificationRequestBuilder instance + */ + IInferenceClassificationRequestBuilder inferenceClassification(); + + /** + * Gets the request builder for ProfilePhoto + * + * @return the IProfilePhotoRequestBuilder instance + */ + IProfilePhotoRequestBuilder photo(); + + IProfilePhotoCollectionRequestBuilder photos(); + + IProfilePhotoRequestBuilder photos(final String id); + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + IDriveRequestBuilder drive(); + + IDriveCollectionRequestBuilder drives(); + + IDriveRequestBuilder drives(final String id); + + /** + * Gets the request builder for PlannerUser + * + * @return the IPlannerUserRequestBuilder instance + */ + IPlannerUserRequestBuilder planner(); + + /** + * Gets the request builder for Onenote + * + * @return the IOnenoteRequestBuilder instance + */ + IOnenoteRequestBuilder onenote(); + + IManagedDeviceCollectionRequestBuilder managedDevices(); + + IManagedDeviceRequestBuilder managedDevices(final String id); + + IManagedAppRegistrationCollectionWithReferencesRequestBuilder managedAppRegistrations(); + + IManagedAppRegistrationWithReferenceRequestBuilder managedAppRegistrations(final String id); + + IDeviceManagementTroubleshootingEventCollectionRequestBuilder deviceManagementTroubleshootingEvents(); + + IDeviceManagementTroubleshootingEventRequestBuilder deviceManagementTroubleshootingEvents(final String id); + + IUserActivityCollectionRequestBuilder activities(); + + IUserActivityRequestBuilder activities(final String id); + + /** + * Gets the request builder for OfficeGraphInsights + * + * @return the IOfficeGraphInsightsRequestBuilder instance + */ + IOfficeGraphInsightsRequestBuilder insights(); + + /** + * Gets the request builder for UserSettings + * + * @return the IUserSettingsRequestBuilder instance + */ + IUserSettingsRequestBuilder settings(); + + IGroupCollectionRequestBuilder joinedTeams(); + + IGroupRequestBuilder joinedTeams(final String id); + IUserAssignLicenseRequestBuilder assignLicense(final java.util.List addLicenses, final java.util.List removeLicenses); + IUserChangePasswordRequestBuilder changePassword(final String currentPassword, final String newPassword); + IUserSendMailRequestBuilder sendMail(final Message message, final Boolean saveToSentItems); + IUserFindMeetingTimesRequestBuilder findMeetingTimes(final java.util.List attendees, final LocationConstraint locationConstraint, final TimeConstraint timeConstraint, final javax.xml.datatype.Duration meetingDuration, final Integer maxCandidates, final Boolean isOrganizerOptional, final Boolean returnSuggestionReasons, final Double minimumAttendeePercentage); + + IUserGetMailTipsCollectionRequestBuilder getMailTips(final java.util.List emailAddresses, final EnumSet mailTipsOptions); + IUserRemoveAllDevicesFromManagementRequestBuilder removeAllDevicesFromManagement(); + IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder wipeManagedAppRegistrationsByDeviceTag(final String deviceTag); + IUserExportPersonalDataRequestBuilder exportPersonalData(final String storageLocation); + + IUserReminderViewCollectionRequestBuilder reminderView(final String startDateTime, final String endDateTime); + + IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder getManagedAppDiagnosticStatuses(); + + IUserGetManagedAppPoliciesCollectionRequestBuilder getManagedAppPolicies(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequest.java index 4e67df96f53..2b448d8c086 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserSendMailRequest; -import com.microsoft.graph.requests.generated.IBaseUserSendMailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Send Mail Request. */ -public interface IUserSendMailRequest extends IBaseUserSendMailRequest { +public interface IUserSendMailRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserSendMailRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserSendMailRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserSendMailRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequestBuilder.java index efafa88f60c..a3b8b334230 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserSendMailRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserSendMailRequest; -import com.microsoft.graph.requests.generated.IBaseUserSendMailRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Send Mail Request Builder. */ -public interface IUserSendMailRequestBuilder extends IBaseUserSendMailRequestBuilder { +public interface IUserSendMailRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserSendMailRequest + * + * @return the IUserSendMailRequest instance + */ + IUserSendMailRequest buildRequest(); + + /** + * Creates the IUserSendMailRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserSendMailRequest instance + */ + IUserSendMailRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequest.java index 60d72fc6cf8..b83f487f83d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserSettings; -import com.microsoft.graph.requests.generated.IBaseUserSettingsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Settings Request. */ -public interface IUserSettingsRequest extends IBaseUserSettingsRequest { +public interface IUserSettingsRequest extends IHttpRequest { + + /** + * Gets the UserSettings from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the UserSettings from the service + * + * @return the UserSettings from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserSettings get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this UserSettings with a source + * + * @param sourceUserSettings the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final UserSettings sourceUserSettings, final ICallback callback); + + /** + * Patches this UserSettings with a source + * + * @param sourceUserSettings the source object with updates + * @return the updated UserSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserSettings patch(final UserSettings sourceUserSettings) throws ClientException; + + /** + * Posts a UserSettings with a new object + * + * @param newUserSettings the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final UserSettings newUserSettings, final ICallback callback); + + /** + * Posts a UserSettings with a new object + * + * @param newUserSettings the new object to create + * @return the created UserSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserSettings post(final UserSettings newUserSettings) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserSettingsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserSettingsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequestBuilder.java index 834866d38af..f2988f965ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserSettingsRequest; -import com.microsoft.graph.requests.generated.IBaseUserSettingsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Settings Request Builder. */ -public interface IUserSettingsRequestBuilder extends IBaseUserSettingsRequestBuilder { +public interface IUserSettingsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IUserSettingsRequest instance + */ + IUserSettingsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserSettingsRequest instance + */ + IUserSettingsRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequest.java index f9f7ea9a52c..90d342ef7f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; -import com.microsoft.graph.requests.generated.IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Wipe Managed App Registrations By Device Tag Request. */ -public interface IUserWipeManagedAppRegistrationsByDeviceTagRequest extends IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest { +public interface IUserWipeManagedAppRegistrationsByDeviceTagRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IUserWipeManagedAppRegistrationsByDeviceTagRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IUserWipeManagedAppRegistrationsByDeviceTagRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IUserWipeManagedAppRegistrationsByDeviceTagRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java index 6a66935c00f..5b1df012fd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; -import com.microsoft.graph.requests.generated.IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User Wipe Managed App Registrations By Device Tag Request Builder. */ -public interface IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder { +public interface IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends IRequestBuilder { + /** + * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest + * + * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance + */ + IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest(); + + /** + * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance + */ + IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequest.java index 9956ffa02f4..fbf21594b17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequest.java @@ -4,13 +4,43 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User With Reference Request. */ -public interface IUserWithReferenceRequest extends IBaseUserWithReferenceRequest { +public interface IUserWithReferenceRequest extends IHttpRequest { + + void post(final User newUser, final IJsonBackedObject payload, final ICallback callback); + + User post(final User newUser, final IJsonBackedObject payload) throws ClientException; + + void get(final ICallback callback); + + User get() throws ClientException; + + void delete(final ICallback callback); + + void delete() throws ClientException; + + void patch(final User sourceUser, final ICallback callback); + + User patch(final User sourceUser) throws ClientException; + + IUserWithReferenceRequest select(final String value); + + IUserWithReferenceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequestBuilder.java index ac7baa10ccd..f7e207a14ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserWithReferenceRequestBuilder.java @@ -4,13 +4,40 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseUserWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the User With Reference Request Builder. */ -public interface IUserWithReferenceRequestBuilder extends IBaseUserWithReferenceRequestBuilder { +public interface IUserWithReferenceRequestBuilder extends IRequestBuilder { + + /** + * Creates the request + * + * @return the IUserWithReferenceRequest instance + */ + IUserWithReferenceRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserWithReferenceRequest instance + */ + IUserWithReferenceRequest buildRequest(final java.util.List requestOptions); + + IUserReferenceRequestBuilder reference(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionPage.java index c69060e7ee6..8bc534394c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseVppTokenCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Collection Page. */ -public interface IVppTokenCollectionPage extends IBaseVppTokenCollectionPage { - +public interface IVppTokenCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequest.java index c4fb313005e..38c13c7f216 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseVppTokenCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Collection Request. */ -public interface IVppTokenCollectionRequest extends IBaseVppTokenCollectionRequest { +public interface IVppTokenCollectionRequest { + + void get(final ICallback callback); + + IVppTokenCollectionPage get() throws ClientException; + + void post(final VppToken newVppToken, final ICallback callback); + + VppToken post(final VppToken newVppToken) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IVppTokenCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IVppTokenCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IVppTokenCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequestBuilder.java index 3f5a8e46baf..328757ed343 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseVppTokenCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Collection Request Builder. */ -public interface IVppTokenCollectionRequestBuilder extends IBaseVppTokenCollectionRequestBuilder { +public interface IVppTokenCollectionRequestBuilder extends IRequestBuilder { + + IVppTokenCollectionRequest buildRequest(); + + IVppTokenCollectionRequest buildRequest(final java.util.List requestOptions); + + IVppTokenRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequest.java index d0fa6e05ecf..a06c6d53c3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.VppToken; -import com.microsoft.graph.requests.generated.IBaseVppTokenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Request. */ -public interface IVppTokenRequest extends IBaseVppTokenRequest { +public interface IVppTokenRequest extends IHttpRequest { + + /** + * Gets the VppToken from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the VppToken from the service + * + * @return the VppToken from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + VppToken get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this VppToken with a source + * + * @param sourceVppToken the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final VppToken sourceVppToken, final ICallback callback); + + /** + * Patches this VppToken with a source + * + * @param sourceVppToken the source object with updates + * @return the updated VppToken + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + VppToken patch(final VppToken sourceVppToken) throws ClientException; + + /** + * Posts a VppToken with a new object + * + * @param newVppToken the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final VppToken newVppToken, final ICallback callback); + + /** + * Posts a VppToken with a new object + * + * @param newVppToken the new object to create + * @return the created VppToken + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + VppToken post(final VppToken newVppToken) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IVppTokenRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IVppTokenRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequestBuilder.java index 2f5d0acf656..0e412a6b2d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequestBuilder.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IVppTokenRequest; +import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseVppTokenRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Request Builder. */ -public interface IVppTokenRequestBuilder extends IBaseVppTokenRequestBuilder { +public interface IVppTokenRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IVppTokenRequest instance + */ + IVppTokenRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IVppTokenRequest instance + */ + IVppTokenRequest buildRequest(final java.util.List requestOptions); + + IVppTokenSyncLicensesRequestBuilder syncLicenses(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequest.java index 8c8ceda74f5..42b25cef994 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.VppToken; +import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; -import com.microsoft.graph.requests.generated.IBaseVppTokenSyncLicensesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Sync Licenses Request. */ -public interface IVppTokenSyncLicensesRequest extends IBaseVppTokenSyncLicensesRequest { +public interface IVppTokenSyncLicensesRequest { + + /** + * Creates the VppTokenSyncLicenses + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the VppTokenSyncLicenses + * + * @return the VppToken + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + VppToken post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IVppTokenSyncLicensesRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IVppTokenSyncLicensesRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequestBuilder.java index b8736a39700..97878c4d332 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenSyncLicensesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; -import com.microsoft.graph.requests.generated.IBaseVppTokenSyncLicensesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Vpp Token Sync Licenses Request Builder. */ -public interface IVppTokenSyncLicensesRequestBuilder extends IBaseVppTokenSyncLicensesRequestBuilder { +public interface IVppTokenSyncLicensesRequestBuilder extends IRequestBuilder { + /** + * Creates the IVppTokenSyncLicensesRequest + * + * @return the IVppTokenSyncLicensesRequest instance + */ + IVppTokenSyncLicensesRequest buildRequest(); + + /** + * Creates the IVppTokenSyncLicensesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IVppTokenSyncLicensesRequest instance + */ + IVppTokenSyncLicensesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequest.java index 00e1aec37cd..41e122de17e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WebApp; -import com.microsoft.graph.requests.generated.IBaseWebAppRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Web App Request. */ -public interface IWebAppRequest extends IBaseWebAppRequest { +public interface IWebAppRequest extends IHttpRequest { + + /** + * Gets the WebApp from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WebApp from the service + * + * @return the WebApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WebApp get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WebApp with a source + * + * @param sourceWebApp the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WebApp sourceWebApp, final ICallback callback); + + /** + * Patches this WebApp with a source + * + * @param sourceWebApp the source object with updates + * @return the updated WebApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WebApp patch(final WebApp sourceWebApp) throws ClientException; + + /** + * Posts a WebApp with a new object + * + * @param newWebApp the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WebApp newWebApp, final ICallback callback); + + /** + * Posts a WebApp with a new object + * + * @param newWebApp the new object to create + * @return the created WebApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WebApp post(final WebApp newWebApp) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWebAppRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWebAppRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequestBuilder.java index 319086211be..d59d111986e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWebAppRequest; -import com.microsoft.graph.requests.generated.IBaseWebAppRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Web App Request Builder. */ -public interface IWebAppRequestBuilder extends IBaseWebAppRequestBuilder { +public interface IWebAppRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWebAppRequest instance + */ + IWebAppRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWebAppRequest instance + */ + IWebAppRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequest.java index c61fcdaafaf..f247bed36d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10CompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseWindows10CompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Compliance Policy Request. */ -public interface IWindows10CompliancePolicyRequest extends IBaseWindows10CompliancePolicyRequest { +public interface IWindows10CompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the Windows10CompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10CompliancePolicy from the service + * + * @return the Windows10CompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10CompliancePolicy with a source + * + * @param sourceWindows10CompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy, final ICallback callback); + + /** + * Patches this Windows10CompliancePolicy with a source + * + * @param sourceWindows10CompliancePolicy the source object with updates + * @return the updated Windows10CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CompliancePolicy patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy) throws ClientException; + + /** + * Posts a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10CompliancePolicy newWindows10CompliancePolicy, final ICallback callback); + + /** + * Posts a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the new object to create + * @return the created Windows10CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CompliancePolicy post(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10CompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10CompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequestBuilder.java index 631afa43b05..4d23cdbd3b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10CompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10CompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Compliance Policy Request Builder. */ -public interface IWindows10CompliancePolicyRequestBuilder extends IBaseWindows10CompliancePolicyRequestBuilder { +public interface IWindows10CompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10CompliancePolicyRequest instance + */ + IWindows10CompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10CompliancePolicyRequest instance + */ + IWindows10CompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequest.java index 41f704fd699..b1ee31b84ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10CustomConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows10CustomConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Custom Configuration Request. */ -public interface IWindows10CustomConfigurationRequest extends IBaseWindows10CustomConfigurationRequest { +public interface IWindows10CustomConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows10CustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10CustomConfiguration from the service + * + * @return the Windows10CustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CustomConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10CustomConfiguration with a source + * + * @param sourceWindows10CustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration, final ICallback callback); + + /** + * Patches this Windows10CustomConfiguration with a source + * + * @param sourceWindows10CustomConfiguration the source object with updates + * @return the updated Windows10CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CustomConfiguration patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration) throws ClientException; + + /** + * Posts a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10CustomConfiguration newWindows10CustomConfiguration, final ICallback callback); + + /** + * Posts a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the new object to create + * @return the created Windows10CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CustomConfiguration post(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10CustomConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10CustomConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequestBuilder.java index 588c18932a9..602e281858c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10CustomConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10CustomConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Custom Configuration Request Builder. */ -public interface IWindows10CustomConfigurationRequestBuilder extends IBaseWindows10CustomConfigurationRequestBuilder { +public interface IWindows10CustomConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10CustomConfigurationRequest instance + */ + IWindows10CustomConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10CustomConfigurationRequest instance + */ + IWindows10CustomConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequest.java index 01690de6c0a..837a322840d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10EndpointProtectionConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows10EndpointProtectionConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Endpoint Protection Configuration Request. */ -public interface IWindows10EndpointProtectionConfigurationRequest extends IBaseWindows10EndpointProtectionConfigurationRequest { +public interface IWindows10EndpointProtectionConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows10EndpointProtectionConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10EndpointProtectionConfiguration from the service + * + * @return the Windows10EndpointProtectionConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EndpointProtectionConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10EndpointProtectionConfiguration with a source + * + * @param sourceWindows10EndpointProtectionConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration, final ICallback callback); + + /** + * Patches this Windows10EndpointProtectionConfiguration with a source + * + * @param sourceWindows10EndpointProtectionConfiguration the source object with updates + * @return the updated Windows10EndpointProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EndpointProtectionConfiguration patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration) throws ClientException; + + /** + * Posts a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration, final ICallback callback); + + /** + * Posts a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the new object to create + * @return the created Windows10EndpointProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EndpointProtectionConfiguration post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10EndpointProtectionConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10EndpointProtectionConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequestBuilder.java index b0199483c3c..5d3a60f19d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10EndpointProtectionConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10EndpointProtectionConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Endpoint Protection Configuration Request Builder. */ -public interface IWindows10EndpointProtectionConfigurationRequestBuilder extends IBaseWindows10EndpointProtectionConfigurationRequestBuilder { +public interface IWindows10EndpointProtectionConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10EndpointProtectionConfigurationRequest instance + */ + IWindows10EndpointProtectionConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10EndpointProtectionConfigurationRequest instance + */ + IWindows10EndpointProtectionConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequest.java index a53f774b874..c108443633e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10EnterpriseModernAppManagementConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows10EnterpriseModernAppManagementConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Enterprise Modern App Management Configuration Request. */ -public interface IWindows10EnterpriseModernAppManagementConfigurationRequest extends IBaseWindows10EnterpriseModernAppManagementConfigurationRequest { +public interface IWindows10EnterpriseModernAppManagementConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service + * + * @return the Windows10EnterpriseModernAppManagementConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EnterpriseModernAppManagementConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source + * + * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback); + + /** + * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source + * + * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates + * @return the updated Windows10EnterpriseModernAppManagementConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EnterpriseModernAppManagementConfiguration patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration) throws ClientException; + + /** + * Posts a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback); + + /** + * Posts a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create + * @return the created Windows10EnterpriseModernAppManagementConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EnterpriseModernAppManagementConfiguration post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10EnterpriseModernAppManagementConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10EnterpriseModernAppManagementConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java index 78531a0ce88..1c01ff00c67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10EnterpriseModernAppManagementConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Enterprise Modern App Management Configuration Request Builder. */ -public interface IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder extends IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder { +public interface IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance + */ + IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance + */ + IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequest.java index 316f32cd19e..11d729f5601 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10GeneralConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows10GeneralConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10General Configuration Request. */ -public interface IWindows10GeneralConfigurationRequest extends IBaseWindows10GeneralConfigurationRequest { +public interface IWindows10GeneralConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows10GeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10GeneralConfiguration from the service + * + * @return the Windows10GeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10GeneralConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10GeneralConfiguration with a source + * + * @param sourceWindows10GeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration, final ICallback callback); + + /** + * Patches this Windows10GeneralConfiguration with a source + * + * @param sourceWindows10GeneralConfiguration the source object with updates + * @return the updated Windows10GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10GeneralConfiguration patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration) throws ClientException; + + /** + * Posts a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration, final ICallback callback); + + /** + * Posts a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the new object to create + * @return the created Windows10GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10GeneralConfiguration post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10GeneralConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10GeneralConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequestBuilder.java index 98491651743..4ea2bcc63c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10GeneralConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10GeneralConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10General Configuration Request Builder. */ -public interface IWindows10GeneralConfigurationRequestBuilder extends IBaseWindows10GeneralConfigurationRequestBuilder { +public interface IWindows10GeneralConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10GeneralConfigurationRequest instance + */ + IWindows10GeneralConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10GeneralConfigurationRequest instance + */ + IWindows10GeneralConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequest.java index 53bda242022..b5a6d37d88a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10MobileCompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseWindows10MobileCompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Mobile Compliance Policy Request. */ -public interface IWindows10MobileCompliancePolicyRequest extends IBaseWindows10MobileCompliancePolicyRequest { +public interface IWindows10MobileCompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the Windows10MobileCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10MobileCompliancePolicy from the service + * + * @return the Windows10MobileCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10MobileCompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10MobileCompliancePolicy with a source + * + * @param sourceWindows10MobileCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy, final ICallback callback); + + /** + * Patches this Windows10MobileCompliancePolicy with a source + * + * @param sourceWindows10MobileCompliancePolicy the source object with updates + * @return the updated Windows10MobileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10MobileCompliancePolicy patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy) throws ClientException; + + /** + * Posts a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, final ICallback callback); + + /** + * Posts a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the new object to create + * @return the created Windows10MobileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10MobileCompliancePolicy post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10MobileCompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10MobileCompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequestBuilder.java index 428c4324312..b5fd560f3dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10MobileCompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10MobileCompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Mobile Compliance Policy Request Builder. */ -public interface IWindows10MobileCompliancePolicyRequestBuilder extends IBaseWindows10MobileCompliancePolicyRequestBuilder { +public interface IWindows10MobileCompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10MobileCompliancePolicyRequest instance + */ + IWindows10MobileCompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10MobileCompliancePolicyRequest instance + */ + IWindows10MobileCompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequest.java index 57b45f859ad..a93ab82195e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10SecureAssessmentConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows10SecureAssessmentConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Secure Assessment Configuration Request. */ -public interface IWindows10SecureAssessmentConfigurationRequest extends IBaseWindows10SecureAssessmentConfigurationRequest { +public interface IWindows10SecureAssessmentConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows10SecureAssessmentConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10SecureAssessmentConfiguration from the service + * + * @return the Windows10SecureAssessmentConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10SecureAssessmentConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10SecureAssessmentConfiguration with a source + * + * @param sourceWindows10SecureAssessmentConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration, final ICallback callback); + + /** + * Patches this Windows10SecureAssessmentConfiguration with a source + * + * @param sourceWindows10SecureAssessmentConfiguration the source object with updates + * @return the updated Windows10SecureAssessmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10SecureAssessmentConfiguration patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration) throws ClientException; + + /** + * Posts a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration, final ICallback callback); + + /** + * Posts a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the new object to create + * @return the created Windows10SecureAssessmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10SecureAssessmentConfiguration post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10SecureAssessmentConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10SecureAssessmentConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequestBuilder.java index dc4906ca592..28bb13e8a0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10SecureAssessmentConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10SecureAssessmentConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Secure Assessment Configuration Request Builder. */ -public interface IWindows10SecureAssessmentConfigurationRequestBuilder extends IBaseWindows10SecureAssessmentConfigurationRequestBuilder { +public interface IWindows10SecureAssessmentConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10SecureAssessmentConfigurationRequest instance + */ + IWindows10SecureAssessmentConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10SecureAssessmentConfigurationRequest instance + */ + IWindows10SecureAssessmentConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequest.java index 13ae19cf8f6..7e1e79d99fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows10TeamGeneralConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows10TeamGeneralConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Team General Configuration Request. */ -public interface IWindows10TeamGeneralConfigurationRequest extends IBaseWindows10TeamGeneralConfigurationRequest { +public interface IWindows10TeamGeneralConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows10TeamGeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows10TeamGeneralConfiguration from the service + * + * @return the Windows10TeamGeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10TeamGeneralConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows10TeamGeneralConfiguration with a source + * + * @param sourceWindows10TeamGeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration, final ICallback callback); + + /** + * Patches this Windows10TeamGeneralConfiguration with a source + * + * @param sourceWindows10TeamGeneralConfiguration the source object with updates + * @return the updated Windows10TeamGeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10TeamGeneralConfiguration patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration) throws ClientException; + + /** + * Posts a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration, final ICallback callback); + + /** + * Posts a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the new object to create + * @return the created Windows10TeamGeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10TeamGeneralConfiguration post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows10TeamGeneralConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows10TeamGeneralConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequestBuilder.java index 85677a3a071..103bd882c6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10TeamGeneralConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows10TeamGeneralConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows10Team General Configuration Request Builder. */ -public interface IWindows10TeamGeneralConfigurationRequestBuilder extends IBaseWindows10TeamGeneralConfigurationRequestBuilder { +public interface IWindows10TeamGeneralConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows10TeamGeneralConfigurationRequest instance + */ + IWindows10TeamGeneralConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows10TeamGeneralConfigurationRequest instance + */ + IWindows10TeamGeneralConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequest.java index 2c823c36540..899cd659e52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows81CompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseWindows81CompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows81Compliance Policy Request. */ -public interface IWindows81CompliancePolicyRequest extends IBaseWindows81CompliancePolicyRequest { +public interface IWindows81CompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the Windows81CompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows81CompliancePolicy from the service + * + * @return the Windows81CompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81CompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows81CompliancePolicy with a source + * + * @param sourceWindows81CompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy, final ICallback callback); + + /** + * Patches this Windows81CompliancePolicy with a source + * + * @param sourceWindows81CompliancePolicy the source object with updates + * @return the updated Windows81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81CompliancePolicy patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy) throws ClientException; + + /** + * Posts a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows81CompliancePolicy newWindows81CompliancePolicy, final ICallback callback); + + /** + * Posts a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the new object to create + * @return the created Windows81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81CompliancePolicy post(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows81CompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows81CompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequestBuilder.java index 521122f9b91..12640efbbfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows81CompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseWindows81CompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows81Compliance Policy Request Builder. */ -public interface IWindows81CompliancePolicyRequestBuilder extends IBaseWindows81CompliancePolicyRequestBuilder { +public interface IWindows81CompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows81CompliancePolicyRequest instance + */ + IWindows81CompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows81CompliancePolicyRequest instance + */ + IWindows81CompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequest.java index 1020f3bf21e..999d781ab18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Windows81GeneralConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindows81GeneralConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows81General Configuration Request. */ -public interface IWindows81GeneralConfigurationRequest extends IBaseWindows81GeneralConfigurationRequest { +public interface IWindows81GeneralConfigurationRequest extends IHttpRequest { + + /** + * Gets the Windows81GeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Windows81GeneralConfiguration from the service + * + * @return the Windows81GeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81GeneralConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Windows81GeneralConfiguration with a source + * + * @param sourceWindows81GeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration, final ICallback callback); + + /** + * Patches this Windows81GeneralConfiguration with a source + * + * @param sourceWindows81GeneralConfiguration the source object with updates + * @return the updated Windows81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81GeneralConfiguration patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) throws ClientException; + + /** + * Posts a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration, final ICallback callback); + + /** + * Posts a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the new object to create + * @return the created Windows81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81GeneralConfiguration post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindows81GeneralConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindows81GeneralConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequestBuilder.java index 7625959c161..fb0a13062e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows81GeneralConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindows81GeneralConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows81General Configuration Request Builder. */ -public interface IWindows81GeneralConfigurationRequestBuilder extends IBaseWindows81GeneralConfigurationRequestBuilder { +public interface IWindows81GeneralConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindows81GeneralConfigurationRequest instance + */ + IWindows81GeneralConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindows81GeneralConfigurationRequest instance + */ + IWindows81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java index 53f8e914c7c..b2050fa9bf7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsDefenderAdvancedThreatProtectionConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Defender Advanced Threat Protection Configuration Request. */ -public interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest extends IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest { +public interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest extends IHttpRequest { + + /** + * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service + * + * @return the WindowsDefenderAdvancedThreatProtectionConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsDefenderAdvancedThreatProtectionConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source + * + * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback); + + /** + * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source + * + * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates + * @return the updated WindowsDefenderAdvancedThreatProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsDefenderAdvancedThreatProtectionConfiguration patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException; + + /** + * Posts a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback); + + /** + * Posts a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create + * @return the created WindowsDefenderAdvancedThreatProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsDefenderAdvancedThreatProtectionConfiguration post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsDefenderAdvancedThreatProtectionConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsDefenderAdvancedThreatProtectionConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java index 31eeccfcf91..2928acc5bad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsDefenderAdvancedThreatProtectionConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Defender Advanced Threat Protection Configuration Request Builder. */ -public interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder extends IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder { +public interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance + */ + IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance + */ + IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionPage.java index 5572d50aa38..b8c015e33fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Learning Summary Collection Page. */ -public interface IWindowsInformationProtectionAppLearningSummaryCollectionPage extends IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage { - +public interface IWindowsInformationProtectionAppLearningSummaryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequest.java index 8924333f37d..58ad481cbf7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Learning Summary Collection Request. */ -public interface IWindowsInformationProtectionAppLearningSummaryCollectionRequest extends IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest { +public interface IWindowsInformationProtectionAppLearningSummaryCollectionRequest { + + void get(final ICallback callback); + + IWindowsInformationProtectionAppLearningSummaryCollectionPage get() throws ClientException; + + void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback); + + WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionAppLearningSummaryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionAppLearningSummaryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWindowsInformationProtectionAppLearningSummaryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java index 7cfc73d7ca7..2ee62a09ccc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Learning Summary Collection Request Builder. */ -public interface IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder extends IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder { +public interface IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder extends IRequestBuilder { + + IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest(); + + IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions); + + IWindowsInformationProtectionAppLearningSummaryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequest.java index da0ca02027f..f6acd021663 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLearningSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Learning Summary Request. */ -public interface IWindowsInformationProtectionAppLearningSummaryRequest extends IBaseWindowsInformationProtectionAppLearningSummaryRequest { +public interface IWindowsInformationProtectionAppLearningSummaryRequest extends IHttpRequest { + + /** + * Gets the WindowsInformationProtectionAppLearningSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsInformationProtectionAppLearningSummary from the service + * + * @return the WindowsInformationProtectionAppLearningSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLearningSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsInformationProtectionAppLearningSummary with a source + * + * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary, final ICallback callback); + + /** + * Patches this WindowsInformationProtectionAppLearningSummary with a source + * + * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates + * @return the updated WindowsInformationProtectionAppLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLearningSummary patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary) throws ClientException; + + /** + * Posts a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the new object to create + * @return the created WindowsInformationProtectionAppLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionAppLearningSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionAppLearningSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequestBuilder.java index 4b19307b493..b68abc84b12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Learning Summary Request Builder. */ -public interface IWindowsInformationProtectionAppLearningSummaryRequestBuilder extends IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder { +public interface IWindowsInformationProtectionAppLearningSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance + */ + IWindowsInformationProtectionAppLearningSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance + */ + IWindowsInformationProtectionAppLearningSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionPage.java index 8af67de49ff..5cb2b709c46 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLockerFileCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Locker File Collection Page. */ -public interface IWindowsInformationProtectionAppLockerFileCollectionPage extends IBaseWindowsInformationProtectionAppLockerFileCollectionPage { - +public interface IWindowsInformationProtectionAppLockerFileCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequest.java index abad7de27df..3d71178b5cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLockerFileCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Locker File Collection Request. */ -public interface IWindowsInformationProtectionAppLockerFileCollectionRequest extends IBaseWindowsInformationProtectionAppLockerFileCollectionRequest { +public interface IWindowsInformationProtectionAppLockerFileCollectionRequest { + + void get(final ICallback callback); + + IWindowsInformationProtectionAppLockerFileCollectionPage get() throws ClientException; + + void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback); + + WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionAppLockerFileCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionAppLockerFileCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWindowsInformationProtectionAppLockerFileCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java index 3f4f39932a6..593343414be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Locker File Collection Request Builder. */ -public interface IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder extends IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder { +public interface IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder extends IRequestBuilder { + + IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest(); + + IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest(final java.util.List requestOptions); + + IWindowsInformationProtectionAppLockerFileRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequest.java index a8fe60e57e2..0edd8bb0f35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLockerFileRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Locker File Request. */ -public interface IWindowsInformationProtectionAppLockerFileRequest extends IBaseWindowsInformationProtectionAppLockerFileRequest { +public interface IWindowsInformationProtectionAppLockerFileRequest extends IHttpRequest { + + /** + * Gets the WindowsInformationProtectionAppLockerFile from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsInformationProtectionAppLockerFile from the service + * + * @return the WindowsInformationProtectionAppLockerFile from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLockerFile get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsInformationProtectionAppLockerFile with a source + * + * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile, final ICallback callback); + + /** + * Patches this WindowsInformationProtectionAppLockerFile with a source + * + * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates + * @return the updated WindowsInformationProtectionAppLockerFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLockerFile patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile) throws ClientException; + + /** + * Posts a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the new object to create + * @return the created WindowsInformationProtectionAppLockerFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionAppLockerFileRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionAppLockerFileRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequestBuilder.java index 7fc52f357e9..ede738d32f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection App Locker File Request Builder. */ -public interface IWindowsInformationProtectionAppLockerFileRequestBuilder extends IBaseWindowsInformationProtectionAppLockerFileRequestBuilder { +public interface IWindowsInformationProtectionAppLockerFileRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsInformationProtectionAppLockerFileRequest instance + */ + IWindowsInformationProtectionAppLockerFileRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionAppLockerFileRequest instance + */ + IWindowsInformationProtectionAppLockerFileRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequest.java index e6a631dbb78..801f8d6c58f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Assign Request. */ -public interface IWindowsInformationProtectionAssignRequest extends IBaseWindowsInformationProtectionAssignRequest { +public interface IWindowsInformationProtectionAssignRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionAssignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWindowsInformationProtectionAssignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionAssignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequestBuilder.java index 9cdab384ac6..e272d6831e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAssignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionAssignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Assign Request Builder. */ -public interface IWindowsInformationProtectionAssignRequestBuilder extends IBaseWindowsInformationProtectionAssignRequestBuilder { +public interface IWindowsInformationProtectionAssignRequestBuilder extends IRequestBuilder { + /** + * Creates the IWindowsInformationProtectionAssignRequest + * + * @return the IWindowsInformationProtectionAssignRequest instance + */ + IWindowsInformationProtectionAssignRequest buildRequest(); + + /** + * Creates the IWindowsInformationProtectionAssignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWindowsInformationProtectionAssignRequest instance + */ + IWindowsInformationProtectionAssignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java index 3d092587c3f..b7ba2c70075 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Network Learning Summary Collection Page. */ -public interface IWindowsInformationProtectionNetworkLearningSummaryCollectionPage extends IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage { - +public interface IWindowsInformationProtectionNetworkLearningSummaryCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java index 3912af95018..6d017bffe05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Network Learning Summary Collection Request. */ -public interface IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest extends IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest { +public interface IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest { + + void get(final ICallback callback); + + IWindowsInformationProtectionNetworkLearningSummaryCollectionPage get() throws ClientException; + + void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); + + WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java index a73076def83..aa3d64e3b81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Network Learning Summary Collection Request Builder. */ -public interface IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder extends IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder { +public interface IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder extends IRequestBuilder { + + IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest(); + + IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions); + + IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequest.java index c56a8ff4aae..f4a0790c1be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionNetworkLearningSummaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Network Learning Summary Request. */ -public interface IWindowsInformationProtectionNetworkLearningSummaryRequest extends IBaseWindowsInformationProtectionNetworkLearningSummaryRequest { +public interface IWindowsInformationProtectionNetworkLearningSummaryRequest extends IHttpRequest { + + /** + * Gets the WindowsInformationProtectionNetworkLearningSummary from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsInformationProtectionNetworkLearningSummary from the service + * + * @return the WindowsInformationProtectionNetworkLearningSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionNetworkLearningSummary get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsInformationProtectionNetworkLearningSummary with a source + * + * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); + + /** + * Patches this WindowsInformationProtectionNetworkLearningSummary with a source + * + * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates + * @return the updated WindowsInformationProtectionNetworkLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionNetworkLearningSummary patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary) throws ClientException; + + /** + * Posts a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create + * @return the created WindowsInformationProtectionNetworkLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionNetworkLearningSummaryRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionNetworkLearningSummaryRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java index a2342fbe851..001c7df6b81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Network Learning Summary Request Builder. */ -public interface IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder extends IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder { +public interface IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance + */ + IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance + */ + IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionPage.java index ab878e12b76..e3a68338a8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionPolicyCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Policy Collection Page. */ -public interface IWindowsInformationProtectionPolicyCollectionPage extends IBaseWindowsInformationProtectionPolicyCollectionPage { - +public interface IWindowsInformationProtectionPolicyCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequest.java index 341599ef7d6..f3ad507d38c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionPolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Policy Collection Request. */ -public interface IWindowsInformationProtectionPolicyCollectionRequest extends IBaseWindowsInformationProtectionPolicyCollectionRequest { +public interface IWindowsInformationProtectionPolicyCollectionRequest { + + void get(final ICallback callback); + + IWindowsInformationProtectionPolicyCollectionPage get() throws ClientException; + + void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback); + + WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionPolicyCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionPolicyCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWindowsInformationProtectionPolicyCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequestBuilder.java index c983769bea3..fa0cc54c53a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyCollectionRequestBuilder.java @@ -4,13 +4,29 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Policy Collection Request Builder. */ -public interface IWindowsInformationProtectionPolicyCollectionRequestBuilder extends IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder { +public interface IWindowsInformationProtectionPolicyCollectionRequestBuilder extends IRequestBuilder { + + IWindowsInformationProtectionPolicyCollectionRequest buildRequest(); + + IWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions); + + IWindowsInformationProtectionPolicyRequestBuilder byId(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequest.java index 1e74bbd9884..cbe77c3927b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Policy Request. */ -public interface IWindowsInformationProtectionPolicyRequest extends IBaseWindowsInformationProtectionPolicyRequest { +public interface IWindowsInformationProtectionPolicyRequest extends IHttpRequest { + + /** + * Gets the WindowsInformationProtectionPolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsInformationProtectionPolicy from the service + * + * @return the WindowsInformationProtectionPolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionPolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsInformationProtectionPolicy with a source + * + * @param sourceWindowsInformationProtectionPolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy, final ICallback callback); + + /** + * Patches this WindowsInformationProtectionPolicy with a source + * + * @param sourceWindowsInformationProtectionPolicy the source object with updates + * @return the updated WindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionPolicy patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy) throws ClientException; + + /** + * Posts a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the new object to create + * @return the created WindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionPolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionPolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequestBuilder.java index 0cce17c7140..abb2537a34c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionPolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Policy Request Builder. */ -public interface IWindowsInformationProtectionPolicyRequestBuilder extends IBaseWindowsInformationProtectionPolicyRequestBuilder { +public interface IWindowsInformationProtectionPolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsInformationProtectionPolicyRequest instance + */ + IWindowsInformationProtectionPolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionPolicyRequest instance + */ + IWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequest.java index 4585eb4a4ad..d32b270886c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtection; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Request. */ -public interface IWindowsInformationProtectionRequest extends IBaseWindowsInformationProtectionRequest { +public interface IWindowsInformationProtectionRequest extends IHttpRequest { + + /** + * Gets the WindowsInformationProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsInformationProtection from the service + * + * @return the WindowsInformationProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsInformationProtection with a source + * + * @param sourceWindowsInformationProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsInformationProtection sourceWindowsInformationProtection, final ICallback callback); + + /** + * Patches this WindowsInformationProtection with a source + * + * @param sourceWindowsInformationProtection the source object with updates + * @return the updated WindowsInformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtection patch(final WindowsInformationProtection sourceWindowsInformationProtection) throws ClientException; + + /** + * Posts a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsInformationProtection newWindowsInformationProtection, final ICallback callback); + + /** + * Posts a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the new object to create + * @return the created WindowsInformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtection post(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsInformationProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsInformationProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequestBuilder.java index 4267a6f9d7b..46b9f3ca820 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequestBuilder.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionRequest; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWindowsInformationProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Information Protection Request Builder. */ -public interface IWindowsInformationProtectionRequestBuilder extends IBaseWindowsInformationProtectionRequestBuilder { +public interface IWindowsInformationProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsInformationProtectionRequest instance + */ + IWindowsInformationProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionRequest instance + */ + IWindowsInformationProtectionRequest buildRequest(final java.util.List requestOptions); + + + IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder protectedAppLockerFiles(); + + IWindowsInformationProtectionAppLockerFileRequestBuilder protectedAppLockerFiles(final String id); + + IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder exemptAppLockerFiles(); + + IWindowsInformationProtectionAppLockerFileRequestBuilder exemptAppLockerFiles(final String id); + + ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments(); + + ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id); + IWindowsInformationProtectionAssignRequestBuilder assign(final java.util.List assignments); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequest.java index fb5daac4e7e..b3fa7cd32bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsMobileMSI; -import com.microsoft.graph.requests.generated.IBaseWindowsMobileMSIRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Mobile MSIRequest. */ -public interface IWindowsMobileMSIRequest extends IBaseWindowsMobileMSIRequest { +public interface IWindowsMobileMSIRequest extends IHttpRequest { + + /** + * Gets the WindowsMobileMSI from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsMobileMSI from the service + * + * @return the WindowsMobileMSI from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsMobileMSI get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsMobileMSI with a source + * + * @param sourceWindowsMobileMSI the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsMobileMSI sourceWindowsMobileMSI, final ICallback callback); + + /** + * Patches this WindowsMobileMSI with a source + * + * @param sourceWindowsMobileMSI the source object with updates + * @return the updated WindowsMobileMSI + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsMobileMSI patch(final WindowsMobileMSI sourceWindowsMobileMSI) throws ClientException; + + /** + * Posts a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsMobileMSI newWindowsMobileMSI, final ICallback callback); + + /** + * Posts a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the new object to create + * @return the created WindowsMobileMSI + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsMobileMSI post(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsMobileMSIRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsMobileMSIRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequestBuilder.java index 71a04131fdb..a646290b653 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsMobileMSIRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsMobileMSIRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Mobile MSIRequest Builder. */ -public interface IWindowsMobileMSIRequestBuilder extends IBaseWindowsMobileMSIRequestBuilder { +public interface IWindowsMobileMSIRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsMobileMSIRequest instance + */ + IWindowsMobileMSIRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsMobileMSIRequest instance + */ + IWindowsMobileMSIRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequest.java index f3b2d6fa9bf..1cf1c8b7c37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsPhone81CompliancePolicy; -import com.microsoft.graph.requests.generated.IBaseWindowsPhone81CompliancePolicyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Phone81Compliance Policy Request. */ -public interface IWindowsPhone81CompliancePolicyRequest extends IBaseWindowsPhone81CompliancePolicyRequest { +public interface IWindowsPhone81CompliancePolicyRequest extends IHttpRequest { + + /** + * Gets the WindowsPhone81CompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsPhone81CompliancePolicy from the service + * + * @return the WindowsPhone81CompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CompliancePolicy get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsPhone81CompliancePolicy with a source + * + * @param sourceWindowsPhone81CompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy, final ICallback callback); + + /** + * Patches this WindowsPhone81CompliancePolicy with a source + * + * @param sourceWindowsPhone81CompliancePolicy the source object with updates + * @return the updated WindowsPhone81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CompliancePolicy patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy) throws ClientException; + + /** + * Posts a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy, final ICallback callback); + + /** + * Posts a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the new object to create + * @return the created WindowsPhone81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CompliancePolicy post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsPhone81CompliancePolicyRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsPhone81CompliancePolicyRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequestBuilder.java index 3e44be938da..8fb57047ac5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81CompliancePolicyRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsPhone81CompliancePolicyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Phone81Compliance Policy Request Builder. */ -public interface IWindowsPhone81CompliancePolicyRequestBuilder extends IBaseWindowsPhone81CompliancePolicyRequestBuilder { +public interface IWindowsPhone81CompliancePolicyRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsPhone81CompliancePolicyRequest instance + */ + IWindowsPhone81CompliancePolicyRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsPhone81CompliancePolicyRequest instance + */ + IWindowsPhone81CompliancePolicyRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequest.java index b52ad46bb67..1dcaf579e32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsPhone81CustomConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindowsPhone81CustomConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Phone81Custom Configuration Request. */ -public interface IWindowsPhone81CustomConfigurationRequest extends IBaseWindowsPhone81CustomConfigurationRequest { +public interface IWindowsPhone81CustomConfigurationRequest extends IHttpRequest { + + /** + * Gets the WindowsPhone81CustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsPhone81CustomConfiguration from the service + * + * @return the WindowsPhone81CustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CustomConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsPhone81CustomConfiguration with a source + * + * @param sourceWindowsPhone81CustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration, final ICallback callback); + + /** + * Patches this WindowsPhone81CustomConfiguration with a source + * + * @param sourceWindowsPhone81CustomConfiguration the source object with updates + * @return the updated WindowsPhone81CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CustomConfiguration patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration) throws ClientException; + + /** + * Posts a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration, final ICallback callback); + + /** + * Posts a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the new object to create + * @return the created WindowsPhone81CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CustomConfiguration post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsPhone81CustomConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsPhone81CustomConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequestBuilder.java index 19094428279..705a9b537ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81CustomConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsPhone81CustomConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Phone81Custom Configuration Request Builder. */ -public interface IWindowsPhone81CustomConfigurationRequestBuilder extends IBaseWindowsPhone81CustomConfigurationRequestBuilder { +public interface IWindowsPhone81CustomConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsPhone81CustomConfigurationRequest instance + */ + IWindowsPhone81CustomConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsPhone81CustomConfigurationRequest instance + */ + IWindowsPhone81CustomConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequest.java index 3c92459299f..5042b171436 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsPhone81GeneralConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindowsPhone81GeneralConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Phone81General Configuration Request. */ -public interface IWindowsPhone81GeneralConfigurationRequest extends IBaseWindowsPhone81GeneralConfigurationRequest { +public interface IWindowsPhone81GeneralConfigurationRequest extends IHttpRequest { + + /** + * Gets the WindowsPhone81GeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsPhone81GeneralConfiguration from the service + * + * @return the WindowsPhone81GeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81GeneralConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsPhone81GeneralConfiguration with a source + * + * @param sourceWindowsPhone81GeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration, final ICallback callback); + + /** + * Patches this WindowsPhone81GeneralConfiguration with a source + * + * @param sourceWindowsPhone81GeneralConfiguration the source object with updates + * @return the updated WindowsPhone81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81GeneralConfiguration patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration) throws ClientException; + + /** + * Posts a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration, final ICallback callback); + + /** + * Posts a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the new object to create + * @return the created WindowsPhone81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81GeneralConfiguration post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsPhone81GeneralConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsPhone81GeneralConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequestBuilder.java index 9098382a0e2..4dbbb089e2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81GeneralConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsPhone81GeneralConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Phone81General Configuration Request Builder. */ -public interface IWindowsPhone81GeneralConfigurationRequestBuilder extends IBaseWindowsPhone81GeneralConfigurationRequestBuilder { +public interface IWindowsPhone81GeneralConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsPhone81GeneralConfigurationRequest instance + */ + IWindowsPhone81GeneralConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsPhone81GeneralConfigurationRequest instance + */ + IWindowsPhone81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequest.java index f8e35a6fb0d..4daeed2e726 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsUniversalAppX; -import com.microsoft.graph.requests.generated.IBaseWindowsUniversalAppXRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Universal App XRequest. */ -public interface IWindowsUniversalAppXRequest extends IBaseWindowsUniversalAppXRequest { +public interface IWindowsUniversalAppXRequest extends IHttpRequest { + + /** + * Gets the WindowsUniversalAppX from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsUniversalAppX from the service + * + * @return the WindowsUniversalAppX from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUniversalAppX get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsUniversalAppX with a source + * + * @param sourceWindowsUniversalAppX the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsUniversalAppX sourceWindowsUniversalAppX, final ICallback callback); + + /** + * Patches this WindowsUniversalAppX with a source + * + * @param sourceWindowsUniversalAppX the source object with updates + * @return the updated WindowsUniversalAppX + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUniversalAppX patch(final WindowsUniversalAppX sourceWindowsUniversalAppX) throws ClientException; + + /** + * Posts a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsUniversalAppX newWindowsUniversalAppX, final ICallback callback); + + /** + * Posts a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the new object to create + * @return the created WindowsUniversalAppX + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUniversalAppX post(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsUniversalAppXRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsUniversalAppXRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequestBuilder.java index 7655b707b56..9f0ebf193cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsUniversalAppXRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsUniversalAppXRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Universal App XRequest Builder. */ -public interface IWindowsUniversalAppXRequestBuilder extends IBaseWindowsUniversalAppXRequestBuilder { +public interface IWindowsUniversalAppXRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsUniversalAppXRequest instance + */ + IWindowsUniversalAppXRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsUniversalAppXRequest instance + */ + IWindowsUniversalAppXRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequest.java index d994687f241..43019eb709e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsUpdateForBusinessConfiguration; -import com.microsoft.graph.requests.generated.IBaseWindowsUpdateForBusinessConfigurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Update For Business Configuration Request. */ -public interface IWindowsUpdateForBusinessConfigurationRequest extends IBaseWindowsUpdateForBusinessConfigurationRequest { +public interface IWindowsUpdateForBusinessConfigurationRequest extends IHttpRequest { + + /** + * Gets the WindowsUpdateForBusinessConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WindowsUpdateForBusinessConfiguration from the service + * + * @return the WindowsUpdateForBusinessConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUpdateForBusinessConfiguration get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WindowsUpdateForBusinessConfiguration with a source + * + * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration, final ICallback callback); + + /** + * Patches this WindowsUpdateForBusinessConfiguration with a source + * + * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates + * @return the updated WindowsUpdateForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUpdateForBusinessConfiguration patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration) throws ClientException; + + /** + * Posts a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration, final ICallback callback); + + /** + * Posts a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the new object to create + * @return the created WindowsUpdateForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUpdateForBusinessConfiguration post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWindowsUpdateForBusinessConfigurationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWindowsUpdateForBusinessConfigurationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequestBuilder.java index 1526fdc2f8c..13b563150dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsUpdateForBusinessConfigurationRequest; -import com.microsoft.graph.requests.generated.IBaseWindowsUpdateForBusinessConfigurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Windows Update For Business Configuration Request Builder. */ -public interface IWindowsUpdateForBusinessConfigurationRequestBuilder extends IBaseWindowsUpdateForBusinessConfigurationRequestBuilder { +public interface IWindowsUpdateForBusinessConfigurationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWindowsUpdateForBusinessConfigurationRequest instance + */ + IWindowsUpdateForBusinessConfigurationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWindowsUpdateForBusinessConfigurationRequest instance + */ + IWindowsUpdateForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequest.java index bfac2e338f6..3c794f92a0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookApplicationCalculateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Application Calculate Request. */ -public interface IWorkbookApplicationCalculateRequest extends IBaseWorkbookApplicationCalculateRequest { +public interface IWorkbookApplicationCalculateRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookApplicationCalculateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookApplicationCalculateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookApplicationCalculateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequestBuilder.java index 9118db0685c..b4a67e03bff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationCalculateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookApplicationCalculateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Application Calculate Request Builder. */ -public interface IWorkbookApplicationCalculateRequestBuilder extends IBaseWorkbookApplicationCalculateRequestBuilder { +public interface IWorkbookApplicationCalculateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookApplicationCalculateRequest + * + * @return the IWorkbookApplicationCalculateRequest instance + */ + IWorkbookApplicationCalculateRequest buildRequest(); + + /** + * Creates the IWorkbookApplicationCalculateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookApplicationCalculateRequest instance + */ + IWorkbookApplicationCalculateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequest.java index 18feb2ed6e8..c53ba691f95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookApplication; -import com.microsoft.graph.requests.generated.IBaseWorkbookApplicationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Application Request. */ -public interface IWorkbookApplicationRequest extends IBaseWorkbookApplicationRequest { +public interface IWorkbookApplicationRequest extends IHttpRequest { + + /** + * Gets the WorkbookApplication from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookApplication from the service + * + * @return the WorkbookApplication from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookApplication get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookApplication with a source + * + * @param sourceWorkbookApplication the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookApplication sourceWorkbookApplication, final ICallback callback); + + /** + * Patches this WorkbookApplication with a source + * + * @param sourceWorkbookApplication the source object with updates + * @return the updated WorkbookApplication + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookApplication patch(final WorkbookApplication sourceWorkbookApplication) throws ClientException; + + /** + * Posts a WorkbookApplication with a new object + * + * @param newWorkbookApplication the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookApplication newWorkbookApplication, final ICallback callback); + + /** + * Posts a WorkbookApplication with a new object + * + * @param newWorkbookApplication the new object to create + * @return the created WorkbookApplication + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookApplication post(final WorkbookApplication newWorkbookApplication) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookApplicationRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookApplicationRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequestBuilder.java index ae734963b19..8ebb6d3de05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequestBuilder.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequest; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookApplicationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Application Request Builder. */ -public interface IWorkbookApplicationRequestBuilder extends IBaseWorkbookApplicationRequestBuilder { +public interface IWorkbookApplicationRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookApplicationRequest instance + */ + IWorkbookApplicationRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookApplicationRequest instance + */ + IWorkbookApplicationRequest buildRequest(final java.util.List requestOptions); + + IWorkbookApplicationCalculateRequestBuilder calculate(final String calculationType); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequest.java index 9d46e8be739..641d6d97527 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Add Request. */ -public interface IWorkbookChartAddRequest extends IBaseWorkbookChartAddRequest { +public interface IWorkbookChartAddRequest { + + void post(final ICallback callback); + + WorkbookChart post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartAddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequestBuilder.java index 1a98d754492..25b2ff49bc4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Add Request Builder. */ -public interface IWorkbookChartAddRequestBuilder extends IBaseWorkbookChartAddRequestBuilder { +public interface IWorkbookChartAddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartAddRequest + * + * @return the IWorkbookChartAddRequest instance + */ + IWorkbookChartAddRequest buildRequest(); + + /** + * Creates the IWorkbookChartAddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartAddRequest instance + */ + IWorkbookChartAddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequest.java index a883a2bcc75..8f848d7b840 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAreaFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Area Format Request. */ -public interface IWorkbookChartAreaFormatRequest extends IBaseWorkbookChartAreaFormatRequest { +public interface IWorkbookChartAreaFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartAreaFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartAreaFormat from the service + * + * @return the WorkbookChartAreaFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAreaFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartAreaFormat with a source + * + * @param sourceWorkbookChartAreaFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat, final ICallback callback); + + /** + * Patches this WorkbookChartAreaFormat with a source + * + * @param sourceWorkbookChartAreaFormat the source object with updates + * @return the updated WorkbookChartAreaFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAreaFormat patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat) throws ClientException; + + /** + * Posts a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat, final ICallback callback); + + /** + * Posts a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the new object to create + * @return the created WorkbookChartAreaFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAreaFormat post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAreaFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAreaFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequestBuilder.java index ccba6239a7e..47266a20ad5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAreaFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Area Format Request Builder. */ -public interface IWorkbookChartAreaFormatRequestBuilder extends IBaseWorkbookChartAreaFormatRequestBuilder { +public interface IWorkbookChartAreaFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartAreaFormatRequest instance + */ + IWorkbookChartAreaFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAreaFormatRequest instance + */ + IWorkbookChartAreaFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + IWorkbookChartFillRequestBuilder fill(); + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + IWorkbookChartFontRequestBuilder font(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequest.java index ba90b393ee9..907eccf032d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAxes; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axes Request. */ -public interface IWorkbookChartAxesRequest extends IBaseWorkbookChartAxesRequest { +public interface IWorkbookChartAxesRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartAxes from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartAxes from the service + * + * @return the WorkbookChartAxes from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxes get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartAxes with a source + * + * @param sourceWorkbookChartAxes the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartAxes sourceWorkbookChartAxes, final ICallback callback); + + /** + * Patches this WorkbookChartAxes with a source + * + * @param sourceWorkbookChartAxes the source object with updates + * @return the updated WorkbookChartAxes + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxes patch(final WorkbookChartAxes sourceWorkbookChartAxes) throws ClientException; + + /** + * Posts a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartAxes newWorkbookChartAxes, final ICallback callback); + + /** + * Posts a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the new object to create + * @return the created WorkbookChartAxes + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxes post(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAxesRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAxesRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequestBuilder.java index de6a107b9ed..2acf4dde36d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequestBuilder.java @@ -3,14 +3,56 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axes Request Builder. */ -public interface IWorkbookChartAxesRequestBuilder extends IBaseWorkbookChartAxesRequestBuilder { +public interface IWorkbookChartAxesRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartAxesRequest instance + */ + IWorkbookChartAxesRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxesRequest instance + */ + IWorkbookChartAxesRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartAxis + * + * @return the IWorkbookChartAxisRequestBuilder instance + */ + IWorkbookChartAxisRequestBuilder categoryAxis(); + + /** + * Gets the request builder for WorkbookChartAxis + * + * @return the IWorkbookChartAxisRequestBuilder instance + */ + IWorkbookChartAxisRequestBuilder seriesAxis(); + + /** + * Gets the request builder for WorkbookChartAxis + * + * @return the IWorkbookChartAxisRequestBuilder instance + */ + IWorkbookChartAxisRequestBuilder valueAxis(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequest.java index cebb303857e..c8600bcba64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Format Request. */ -public interface IWorkbookChartAxisFormatRequest extends IBaseWorkbookChartAxisFormatRequest { +public interface IWorkbookChartAxisFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartAxisFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartAxisFormat from the service + * + * @return the WorkbookChartAxisFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartAxisFormat with a source + * + * @param sourceWorkbookChartAxisFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat, final ICallback callback); + + /** + * Patches this WorkbookChartAxisFormat with a source + * + * @param sourceWorkbookChartAxisFormat the source object with updates + * @return the updated WorkbookChartAxisFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisFormat patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat) throws ClientException; + + /** + * Posts a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat, final ICallback callback); + + /** + * Posts a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the new object to create + * @return the created WorkbookChartAxisFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisFormat post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAxisFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAxisFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequestBuilder.java index 18da96d02ed..c2ca69ede6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Format Request Builder. */ -public interface IWorkbookChartAxisFormatRequestBuilder extends IBaseWorkbookChartAxisFormatRequestBuilder { +public interface IWorkbookChartAxisFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartAxisFormatRequest instance + */ + IWorkbookChartAxisFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisFormatRequest instance + */ + IWorkbookChartAxisFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + IWorkbookChartFontRequestBuilder font(); + + /** + * Gets the request builder for WorkbookChartLineFormat + * + * @return the IWorkbookChartLineFormatRequestBuilder instance + */ + IWorkbookChartLineFormatRequestBuilder line(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequest.java index c11c922206c..fa313b0686a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAxis; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Request. */ -public interface IWorkbookChartAxisRequest extends IBaseWorkbookChartAxisRequest { +public interface IWorkbookChartAxisRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartAxis from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartAxis from the service + * + * @return the WorkbookChartAxis from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxis get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartAxis with a source + * + * @param sourceWorkbookChartAxis the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartAxis sourceWorkbookChartAxis, final ICallback callback); + + /** + * Patches this WorkbookChartAxis with a source + * + * @param sourceWorkbookChartAxis the source object with updates + * @return the updated WorkbookChartAxis + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxis patch(final WorkbookChartAxis sourceWorkbookChartAxis) throws ClientException; + + /** + * Posts a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartAxis newWorkbookChartAxis, final ICallback callback); + + /** + * Posts a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the new object to create + * @return the created WorkbookChartAxis + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxis post(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAxisRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAxisRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequestBuilder.java index 79ca42410f7..1cae63a96a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequestBuilder.java @@ -3,14 +3,64 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Request Builder. */ -public interface IWorkbookChartAxisRequestBuilder extends IBaseWorkbookChartAxisRequestBuilder { +public interface IWorkbookChartAxisRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartAxisRequest instance + */ + IWorkbookChartAxisRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisRequest instance + */ + IWorkbookChartAxisRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartAxisFormat + * + * @return the IWorkbookChartAxisFormatRequestBuilder instance + */ + IWorkbookChartAxisFormatRequestBuilder format(); + + /** + * Gets the request builder for WorkbookChartGridlines + * + * @return the IWorkbookChartGridlinesRequestBuilder instance + */ + IWorkbookChartGridlinesRequestBuilder majorGridlines(); + + /** + * Gets the request builder for WorkbookChartGridlines + * + * @return the IWorkbookChartGridlinesRequestBuilder instance + */ + IWorkbookChartGridlinesRequestBuilder minorGridlines(); + + /** + * Gets the request builder for WorkbookChartAxisTitle + * + * @return the IWorkbookChartAxisTitleRequestBuilder instance + */ + IWorkbookChartAxisTitleRequestBuilder title(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequest.java index d11ab4e5754..65a7af2daa3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Title Format Request. */ -public interface IWorkbookChartAxisTitleFormatRequest extends IBaseWorkbookChartAxisTitleFormatRequest { +public interface IWorkbookChartAxisTitleFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartAxisTitleFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartAxisTitleFormat from the service + * + * @return the WorkbookChartAxisTitleFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitleFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartAxisTitleFormat with a source + * + * @param sourceWorkbookChartAxisTitleFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat, final ICallback callback); + + /** + * Patches this WorkbookChartAxisTitleFormat with a source + * + * @param sourceWorkbookChartAxisTitleFormat the source object with updates + * @return the updated WorkbookChartAxisTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitleFormat patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat) throws ClientException; + + /** + * Posts a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat, final ICallback callback); + + /** + * Posts a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the new object to create + * @return the created WorkbookChartAxisTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitleFormat post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAxisTitleFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAxisTitleFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequestBuilder.java index 1a1c7020423..b36bb3d6485 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisTitleFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Title Format Request Builder. */ -public interface IWorkbookChartAxisTitleFormatRequestBuilder extends IBaseWorkbookChartAxisTitleFormatRequestBuilder { +public interface IWorkbookChartAxisTitleFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartAxisTitleFormatRequest instance + */ + IWorkbookChartAxisTitleFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisTitleFormatRequest instance + */ + IWorkbookChartAxisTitleFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + IWorkbookChartFontRequestBuilder font(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequest.java index 3fa7905bf3b..c037522780f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisTitleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Title Request. */ -public interface IWorkbookChartAxisTitleRequest extends IBaseWorkbookChartAxisTitleRequest { +public interface IWorkbookChartAxisTitleRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartAxisTitle from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartAxisTitle from the service + * + * @return the WorkbookChartAxisTitle from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitle get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartAxisTitle with a source + * + * @param sourceWorkbookChartAxisTitle the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle, final ICallback callback); + + /** + * Patches this WorkbookChartAxisTitle with a source + * + * @param sourceWorkbookChartAxisTitle the source object with updates + * @return the updated WorkbookChartAxisTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitle patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle) throws ClientException; + + /** + * Posts a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle, final ICallback callback); + + /** + * Posts a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the new object to create + * @return the created WorkbookChartAxisTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitle post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartAxisTitleRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartAxisTitleRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequestBuilder.java index 14c80c0e196..5d807d4876d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartAxisTitleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Axis Title Request Builder. */ -public interface IWorkbookChartAxisTitleRequestBuilder extends IBaseWorkbookChartAxisTitleRequestBuilder { +public interface IWorkbookChartAxisTitleRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartAxisTitleRequest instance + */ + IWorkbookChartAxisTitleRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisTitleRequest instance + */ + IWorkbookChartAxisTitleRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartAxisTitleFormat + * + * @return the IWorkbookChartAxisTitleFormatRequestBuilder instance + */ + IWorkbookChartAxisTitleFormatRequestBuilder format(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionPage.java index 97dd73ec0bb..5d392871d59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Collection Page. */ -public interface IWorkbookChartCollectionPage extends IBaseWorkbookChartCollectionPage { - +public interface IWorkbookChartCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequest.java index e00ee427b4d..f7800552af5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Collection Request. */ -public interface IWorkbookChartCollectionRequest extends IBaseWorkbookChartCollectionRequest { +public interface IWorkbookChartCollectionRequest { + + void get(final ICallback callback); + + IWorkbookChartCollectionPage get() throws ClientException; + + void post(final WorkbookChart newWorkbookChart, final ICallback callback); + + WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequestBuilder.java index 88e3a3453c6..5424587524e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCollectionRequestBuilder.java @@ -4,13 +4,33 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Collection Request Builder. */ -public interface IWorkbookChartCollectionRequestBuilder extends IBaseWorkbookChartCollectionRequestBuilder { +public interface IWorkbookChartCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookChartCollectionRequest buildRequest(); + + IWorkbookChartCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookChartRequestBuilder byId(final String id); + IWorkbookChartAddRequestBuilder add(final String type, final com.google.gson.JsonElement sourceData, final String seriesBy); + IWorkbookChartItemRequestBuilder item(final String name); + IWorkbookChartItemAtRequestBuilder itemAt(final Integer index); + IWorkbookChartCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequest.java index f87d2b7c487..08cbc70a637 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Count Request. */ -public interface IWorkbookChartCountRequest extends IBaseWorkbookChartCountRequest { +public interface IWorkbookChartCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequestBuilder.java index 4de0d3b79e8..2ef95fda15c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Count Request Builder. */ -public interface IWorkbookChartCountRequestBuilder extends IBaseWorkbookChartCountRequestBuilder { +public interface IWorkbookChartCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartCountRequest + * + * @return the IWorkbookChartCountRequest instance + */ + IWorkbookChartCountRequest buildRequest(); + + /** + * Creates the IWorkbookChartCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartCountRequest instance + */ + IWorkbookChartCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequest.java index 2842a9df8f0..16ef68942ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Data Label Format Request. */ -public interface IWorkbookChartDataLabelFormatRequest extends IBaseWorkbookChartDataLabelFormatRequest { +public interface IWorkbookChartDataLabelFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartDataLabelFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartDataLabelFormat from the service + * + * @return the WorkbookChartDataLabelFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabelFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartDataLabelFormat with a source + * + * @param sourceWorkbookChartDataLabelFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat, final ICallback callback); + + /** + * Patches this WorkbookChartDataLabelFormat with a source + * + * @param sourceWorkbookChartDataLabelFormat the source object with updates + * @return the updated WorkbookChartDataLabelFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabelFormat patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat) throws ClientException; + + /** + * Posts a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat, final ICallback callback); + + /** + * Posts a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the new object to create + * @return the created WorkbookChartDataLabelFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabelFormat post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartDataLabelFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartDataLabelFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequestBuilder.java index 502607c1a12..7826c6b11e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartDataLabelFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Data Label Format Request Builder. */ -public interface IWorkbookChartDataLabelFormatRequestBuilder extends IBaseWorkbookChartDataLabelFormatRequestBuilder { +public interface IWorkbookChartDataLabelFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartDataLabelFormatRequest instance + */ + IWorkbookChartDataLabelFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartDataLabelFormatRequest instance + */ + IWorkbookChartDataLabelFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + IWorkbookChartFillRequestBuilder fill(); + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + IWorkbookChartFontRequestBuilder font(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequest.java index acba95ba2de..997ca8bd27f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartDataLabelsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Data Labels Request. */ -public interface IWorkbookChartDataLabelsRequest extends IBaseWorkbookChartDataLabelsRequest { +public interface IWorkbookChartDataLabelsRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartDataLabels from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartDataLabels from the service + * + * @return the WorkbookChartDataLabels from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabels get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartDataLabels with a source + * + * @param sourceWorkbookChartDataLabels the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels, final ICallback callback); + + /** + * Patches this WorkbookChartDataLabels with a source + * + * @param sourceWorkbookChartDataLabels the source object with updates + * @return the updated WorkbookChartDataLabels + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabels patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels) throws ClientException; + + /** + * Posts a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartDataLabels newWorkbookChartDataLabels, final ICallback callback); + + /** + * Posts a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the new object to create + * @return the created WorkbookChartDataLabels + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabels post(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartDataLabelsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartDataLabelsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequestBuilder.java index ea6aff4bee3..e9bfe9f65d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartDataLabelsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Data Labels Request Builder. */ -public interface IWorkbookChartDataLabelsRequestBuilder extends IBaseWorkbookChartDataLabelsRequestBuilder { +public interface IWorkbookChartDataLabelsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartDataLabelsRequest instance + */ + IWorkbookChartDataLabelsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartDataLabelsRequest instance + */ + IWorkbookChartDataLabelsRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartDataLabelFormat + * + * @return the IWorkbookChartDataLabelFormatRequestBuilder instance + */ + IWorkbookChartDataLabelFormatRequestBuilder format(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequest.java index 70172c7b52d..677a3f24c54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFillClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Fill Clear Request. */ -public interface IWorkbookChartFillClearRequest extends IBaseWorkbookChartFillClearRequest { +public interface IWorkbookChartFillClearRequest { + + /** + * Creates the WorkbookChartFillClear + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookChartFillClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequestBuilder.java index 57e967f8779..51f20546548 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillClearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFillClearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Fill Clear Request Builder. */ -public interface IWorkbookChartFillClearRequestBuilder extends IBaseWorkbookChartFillClearRequestBuilder { +public interface IWorkbookChartFillClearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartFillClearRequest + * + * @return the IWorkbookChartFillClearRequest instance + */ + IWorkbookChartFillClearRequest buildRequest(); + + /** + * Creates the IWorkbookChartFillClearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartFillClearRequest instance + */ + IWorkbookChartFillClearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequest.java index 082795444a0..03165595920 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartFill; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFillRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Fill Request. */ -public interface IWorkbookChartFillRequest extends IBaseWorkbookChartFillRequest { +public interface IWorkbookChartFillRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartFill from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartFill from the service + * + * @return the WorkbookChartFill from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFill get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartFill with a source + * + * @param sourceWorkbookChartFill the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartFill sourceWorkbookChartFill, final ICallback callback); + + /** + * Patches this WorkbookChartFill with a source + * + * @param sourceWorkbookChartFill the source object with updates + * @return the updated WorkbookChartFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFill patch(final WorkbookChartFill sourceWorkbookChartFill) throws ClientException; + + /** + * Posts a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartFill newWorkbookChartFill, final ICallback callback); + + /** + * Posts a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the new object to create + * @return the created WorkbookChartFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFill post(final WorkbookChartFill newWorkbookChartFill) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartFillRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartFillRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequestBuilder.java index 40db778900b..1bcf16bed9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequestBuilder.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFillRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Fill Request Builder. */ -public interface IWorkbookChartFillRequestBuilder extends IBaseWorkbookChartFillRequestBuilder { +public interface IWorkbookChartFillRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartFillRequest instance + */ + IWorkbookChartFillRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartFillRequest instance + */ + IWorkbookChartFillRequest buildRequest(final java.util.List requestOptions); + + IWorkbookChartFillClearRequestBuilder clear(); + IWorkbookChartFillSetSolidColorRequestBuilder setSolidColor(final String color); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequest.java index f64f00af42e..ff39655e9af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFillSetSolidColorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Fill Set Solid Color Request. */ -public interface IWorkbookChartFillSetSolidColorRequest extends IBaseWorkbookChartFillSetSolidColorRequest { +public interface IWorkbookChartFillSetSolidColorRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartFillSetSolidColorRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartFillSetSolidColorRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartFillSetSolidColorRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequestBuilder.java index cad6da9c3cb..91ea53717cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillSetSolidColorRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFillSetSolidColorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Fill Set Solid Color Request Builder. */ -public interface IWorkbookChartFillSetSolidColorRequestBuilder extends IBaseWorkbookChartFillSetSolidColorRequestBuilder { +public interface IWorkbookChartFillSetSolidColorRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartFillSetSolidColorRequest + * + * @return the IWorkbookChartFillSetSolidColorRequest instance + */ + IWorkbookChartFillSetSolidColorRequest buildRequest(); + + /** + * Creates the IWorkbookChartFillSetSolidColorRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartFillSetSolidColorRequest instance + */ + IWorkbookChartFillSetSolidColorRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequest.java index 12967ccad97..4644c9497c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartFont; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFontRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Font Request. */ -public interface IWorkbookChartFontRequest extends IBaseWorkbookChartFontRequest { +public interface IWorkbookChartFontRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartFont from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartFont from the service + * + * @return the WorkbookChartFont from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFont get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartFont with a source + * + * @param sourceWorkbookChartFont the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartFont sourceWorkbookChartFont, final ICallback callback); + + /** + * Patches this WorkbookChartFont with a source + * + * @param sourceWorkbookChartFont the source object with updates + * @return the updated WorkbookChartFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFont patch(final WorkbookChartFont sourceWorkbookChartFont) throws ClientException; + + /** + * Posts a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartFont newWorkbookChartFont, final ICallback callback); + + /** + * Posts a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the new object to create + * @return the created WorkbookChartFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFont post(final WorkbookChartFont newWorkbookChartFont) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartFontRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartFontRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequestBuilder.java index 0d7cabbfad8..527e084b749 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartFontRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Font Request Builder. */ -public interface IWorkbookChartFontRequestBuilder extends IBaseWorkbookChartFontRequestBuilder { +public interface IWorkbookChartFontRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartFontRequest instance + */ + IWorkbookChartFontRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartFontRequest instance + */ + IWorkbookChartFontRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequest.java index be18324c962..bdd37b21f2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Gridlines Format Request. */ -public interface IWorkbookChartGridlinesFormatRequest extends IBaseWorkbookChartGridlinesFormatRequest { +public interface IWorkbookChartGridlinesFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartGridlinesFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartGridlinesFormat from the service + * + * @return the WorkbookChartGridlinesFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlinesFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartGridlinesFormat with a source + * + * @param sourceWorkbookChartGridlinesFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat, final ICallback callback); + + /** + * Patches this WorkbookChartGridlinesFormat with a source + * + * @param sourceWorkbookChartGridlinesFormat the source object with updates + * @return the updated WorkbookChartGridlinesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlinesFormat patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat) throws ClientException; + + /** + * Posts a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat, final ICallback callback); + + /** + * Posts a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the new object to create + * @return the created WorkbookChartGridlinesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlinesFormat post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartGridlinesFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartGridlinesFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequestBuilder.java index e21d1b6e0a4..f70ea1ec1a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartGridlinesFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Gridlines Format Request Builder. */ -public interface IWorkbookChartGridlinesFormatRequestBuilder extends IBaseWorkbookChartGridlinesFormatRequestBuilder { +public interface IWorkbookChartGridlinesFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartGridlinesFormatRequest instance + */ + IWorkbookChartGridlinesFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartGridlinesFormatRequest instance + */ + IWorkbookChartGridlinesFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartLineFormat + * + * @return the IWorkbookChartLineFormatRequestBuilder instance + */ + IWorkbookChartLineFormatRequestBuilder line(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequest.java index a9f9322a6bb..8862266e952 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartGridlines; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartGridlinesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Gridlines Request. */ -public interface IWorkbookChartGridlinesRequest extends IBaseWorkbookChartGridlinesRequest { +public interface IWorkbookChartGridlinesRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartGridlines from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartGridlines from the service + * + * @return the WorkbookChartGridlines from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlines get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartGridlines with a source + * + * @param sourceWorkbookChartGridlines the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartGridlines sourceWorkbookChartGridlines, final ICallback callback); + + /** + * Patches this WorkbookChartGridlines with a source + * + * @param sourceWorkbookChartGridlines the source object with updates + * @return the updated WorkbookChartGridlines + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlines patch(final WorkbookChartGridlines sourceWorkbookChartGridlines) throws ClientException; + + /** + * Posts a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartGridlines newWorkbookChartGridlines, final ICallback callback); + + /** + * Posts a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the new object to create + * @return the created WorkbookChartGridlines + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlines post(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartGridlinesRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartGridlinesRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequestBuilder.java index 856a8a3a47d..0930c9414b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Gridlines Request Builder. */ -public interface IWorkbookChartGridlinesRequestBuilder extends IBaseWorkbookChartGridlinesRequestBuilder { +public interface IWorkbookChartGridlinesRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartGridlinesRequest instance + */ + IWorkbookChartGridlinesRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartGridlinesRequest instance + */ + IWorkbookChartGridlinesRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartGridlinesFormat + * + * @return the IWorkbookChartGridlinesFormatRequestBuilder instance + */ + IWorkbookChartGridlinesFormatRequestBuilder format(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequest.java index b536d8bd148..7546e282f4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartImageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Image Request. */ -public interface IWorkbookChartImageRequest extends IBaseWorkbookChartImageRequest { +public interface IWorkbookChartImageRequest { + + /** + * Gets the String + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the String + * + * @return the String + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + String get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartImageRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartImageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequestBuilder.java index ed8ec99cb84..b687de3fa77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartImageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartImageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Image Request Builder. */ -public interface IWorkbookChartImageRequestBuilder extends IBaseWorkbookChartImageRequestBuilder { +public interface IWorkbookChartImageRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartImageRequest + * + * @return the IWorkbookChartImageRequest instance + */ + IWorkbookChartImageRequest buildRequest(); + + /** + * Creates the IWorkbookChartImageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartImageRequest instance + */ + IWorkbookChartImageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequest.java index 303b9094a9d..6888d6cd049 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Item At Request. */ -public interface IWorkbookChartItemAtRequest extends IBaseWorkbookChartItemAtRequest { +public interface IWorkbookChartItemAtRequest { + + /** + * Patches the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookChart srcWorkbookChart, final ICallback callback); + + /** + * Patches the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException; + + /** + * Puts the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookChart srcWorkbookChart, final ICallback callback); + + /** + * Puts the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException; + /** + * Gets the WorkbookChart + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChart + * + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChart get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequestBuilder.java index 1ee2256fbcf..78fcadc3f10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Item At Request Builder. */ -public interface IWorkbookChartItemAtRequestBuilder extends IBaseWorkbookChartItemAtRequestBuilder { +public interface IWorkbookChartItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartItemAtRequest + * + * @return the IWorkbookChartItemAtRequest instance + */ + IWorkbookChartItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookChartItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartItemAtRequest instance + */ + IWorkbookChartItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequest.java index bdfe3e0b083..d3608840a7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Item Request. */ -public interface IWorkbookChartItemRequest extends IBaseWorkbookChartItemRequest { +public interface IWorkbookChartItemRequest { + + /** + * Patches the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookChart srcWorkbookChart, final ICallback callback); + + /** + * Patches the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException; + + /** + * Puts the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookChart srcWorkbookChart, final ICallback callback); + + /** + * Puts the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException; + /** + * Gets the WorkbookChart + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChart + * + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChart get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartItemRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequestBuilder.java index 5ab855c891f..cc7766f615b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartItemRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Item Request Builder. */ -public interface IWorkbookChartItemRequestBuilder extends IBaseWorkbookChartItemRequestBuilder { +public interface IWorkbookChartItemRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartItemRequest + * + * @return the IWorkbookChartItemRequest instance + */ + IWorkbookChartItemRequest buildRequest(); + + /** + * Creates the IWorkbookChartItemRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartItemRequest instance + */ + IWorkbookChartItemRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequest.java index 84405296a59..67e0205b4e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLegendFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Legend Format Request. */ -public interface IWorkbookChartLegendFormatRequest extends IBaseWorkbookChartLegendFormatRequest { +public interface IWorkbookChartLegendFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartLegendFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartLegendFormat from the service + * + * @return the WorkbookChartLegendFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegendFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartLegendFormat with a source + * + * @param sourceWorkbookChartLegendFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat, final ICallback callback); + + /** + * Patches this WorkbookChartLegendFormat with a source + * + * @param sourceWorkbookChartLegendFormat the source object with updates + * @return the updated WorkbookChartLegendFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegendFormat patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat) throws ClientException; + + /** + * Posts a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat, final ICallback callback); + + /** + * Posts a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the new object to create + * @return the created WorkbookChartLegendFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegendFormat post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartLegendFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartLegendFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequestBuilder.java index c9db7cd4356..2d809703d7a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLegendFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Legend Format Request Builder. */ -public interface IWorkbookChartLegendFormatRequestBuilder extends IBaseWorkbookChartLegendFormatRequestBuilder { +public interface IWorkbookChartLegendFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartLegendFormatRequest instance + */ + IWorkbookChartLegendFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartLegendFormatRequest instance + */ + IWorkbookChartLegendFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + IWorkbookChartFillRequestBuilder fill(); + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + IWorkbookChartFontRequestBuilder font(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequest.java index 2ed3c0b3cac..9212e0b64ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartLegend; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLegendRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Legend Request. */ -public interface IWorkbookChartLegendRequest extends IBaseWorkbookChartLegendRequest { +public interface IWorkbookChartLegendRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartLegend from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartLegend from the service + * + * @return the WorkbookChartLegend from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegend get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartLegend with a source + * + * @param sourceWorkbookChartLegend the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartLegend sourceWorkbookChartLegend, final ICallback callback); + + /** + * Patches this WorkbookChartLegend with a source + * + * @param sourceWorkbookChartLegend the source object with updates + * @return the updated WorkbookChartLegend + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegend patch(final WorkbookChartLegend sourceWorkbookChartLegend) throws ClientException; + + /** + * Posts a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartLegend newWorkbookChartLegend, final ICallback callback); + + /** + * Posts a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the new object to create + * @return the created WorkbookChartLegend + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegend post(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartLegendRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartLegendRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequestBuilder.java index 1a80a3f3c63..6e108d68c73 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLegendRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Legend Request Builder. */ -public interface IWorkbookChartLegendRequestBuilder extends IBaseWorkbookChartLegendRequestBuilder { +public interface IWorkbookChartLegendRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartLegendRequest instance + */ + IWorkbookChartLegendRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartLegendRequest instance + */ + IWorkbookChartLegendRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartLegendFormat + * + * @return the IWorkbookChartLegendFormatRequestBuilder instance + */ + IWorkbookChartLegendFormatRequestBuilder format(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequest.java index c3eba170f18..90ebc7fe9a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLineFormatClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Line Format Clear Request. */ -public interface IWorkbookChartLineFormatClearRequest extends IBaseWorkbookChartLineFormatClearRequest { +public interface IWorkbookChartLineFormatClearRequest { + + /** + * Creates the WorkbookChartLineFormatClear + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookChartLineFormatClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequestBuilder.java index dec9291465d..a3bfa8cf8ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatClearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLineFormatClearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Line Format Clear Request Builder. */ -public interface IWorkbookChartLineFormatClearRequestBuilder extends IBaseWorkbookChartLineFormatClearRequestBuilder { +public interface IWorkbookChartLineFormatClearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartLineFormatClearRequest + * + * @return the IWorkbookChartLineFormatClearRequest instance + */ + IWorkbookChartLineFormatClearRequest buildRequest(); + + /** + * Creates the IWorkbookChartLineFormatClearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartLineFormatClearRequest instance + */ + IWorkbookChartLineFormatClearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequest.java index 1496218437d..53b1cfbb458 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLineFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Line Format Request. */ -public interface IWorkbookChartLineFormatRequest extends IBaseWorkbookChartLineFormatRequest { +public interface IWorkbookChartLineFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartLineFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartLineFormat from the service + * + * @return the WorkbookChartLineFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLineFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartLineFormat with a source + * + * @param sourceWorkbookChartLineFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat, final ICallback callback); + + /** + * Patches this WorkbookChartLineFormat with a source + * + * @param sourceWorkbookChartLineFormat the source object with updates + * @return the updated WorkbookChartLineFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLineFormat patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat) throws ClientException; + + /** + * Posts a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartLineFormat newWorkbookChartLineFormat, final ICallback callback); + + /** + * Posts a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the new object to create + * @return the created WorkbookChartLineFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLineFormat post(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartLineFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartLineFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequestBuilder.java index 374ea447914..9033ad5e77d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequestBuilder.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartLineFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Line Format Request Builder. */ -public interface IWorkbookChartLineFormatRequestBuilder extends IBaseWorkbookChartLineFormatRequestBuilder { +public interface IWorkbookChartLineFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartLineFormatRequest instance + */ + IWorkbookChartLineFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartLineFormatRequest instance + */ + IWorkbookChartLineFormatRequest buildRequest(final java.util.List requestOptions); + + IWorkbookChartLineFormatClearRequestBuilder clear(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionPage.java index 562a30f3cec..59c9b5e996c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Collection Page. */ -public interface IWorkbookChartPointCollectionPage extends IBaseWorkbookChartPointCollectionPage { - +public interface IWorkbookChartPointCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequest.java index 1a169349340..2b05ec3a1e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Collection Request. */ -public interface IWorkbookChartPointCollectionRequest extends IBaseWorkbookChartPointCollectionRequest { +public interface IWorkbookChartPointCollectionRequest { + + void get(final ICallback callback); + + IWorkbookChartPointCollectionPage get() throws ClientException; + + void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback); + + WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartPointCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartPointCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartPointCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequestBuilder.java index 534708fc805..9e24a01f8f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Collection Request Builder. */ -public interface IWorkbookChartPointCollectionRequestBuilder extends IBaseWorkbookChartPointCollectionRequestBuilder { +public interface IWorkbookChartPointCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookChartPointCollectionRequest buildRequest(); + + IWorkbookChartPointCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookChartPointRequestBuilder byId(final String id); + IWorkbookChartPointItemAtRequestBuilder itemAt(final Integer index); + IWorkbookChartPointCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequest.java index db33eb7cc0c..821dcab903e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Count Request. */ -public interface IWorkbookChartPointCountRequest extends IBaseWorkbookChartPointCountRequest { +public interface IWorkbookChartPointCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartPointCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartPointCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequestBuilder.java index 9108e751d54..b1d2657da77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Count Request Builder. */ -public interface IWorkbookChartPointCountRequestBuilder extends IBaseWorkbookChartPointCountRequestBuilder { +public interface IWorkbookChartPointCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartPointCountRequest + * + * @return the IWorkbookChartPointCountRequest instance + */ + IWorkbookChartPointCountRequest buildRequest(); + + /** + * Creates the IWorkbookChartPointCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartPointCountRequest instance + */ + IWorkbookChartPointCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequest.java index f9db71e0e18..48150a917fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Format Request. */ -public interface IWorkbookChartPointFormatRequest extends IBaseWorkbookChartPointFormatRequest { +public interface IWorkbookChartPointFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartPointFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartPointFormat from the service + * + * @return the WorkbookChartPointFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPointFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartPointFormat with a source + * + * @param sourceWorkbookChartPointFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat, final ICallback callback); + + /** + * Patches this WorkbookChartPointFormat with a source + * + * @param sourceWorkbookChartPointFormat the source object with updates + * @return the updated WorkbookChartPointFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPointFormat patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat) throws ClientException; + + /** + * Posts a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartPointFormat newWorkbookChartPointFormat, final ICallback callback); + + /** + * Posts a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the new object to create + * @return the created WorkbookChartPointFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPointFormat post(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartPointFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartPointFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequestBuilder.java index 10bb289a95f..1e9ea4d6550 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Format Request Builder. */ -public interface IWorkbookChartPointFormatRequestBuilder extends IBaseWorkbookChartPointFormatRequestBuilder { +public interface IWorkbookChartPointFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartPointFormatRequest instance + */ + IWorkbookChartPointFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartPointFormatRequest instance + */ + IWorkbookChartPointFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + IWorkbookChartFillRequestBuilder fill(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequest.java index 2be03446eae..fc5f4272a07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Item At Request. */ -public interface IWorkbookChartPointItemAtRequest extends IBaseWorkbookChartPointItemAtRequest { +public interface IWorkbookChartPointItemAtRequest { + + /** + * Patches the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback); + + /** + * Patches the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH + * @return the WorkbookChartPoint + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChartPoint patch(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException; + + /** + * Puts the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback); + + /** + * Puts the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT + * @return the WorkbookChartPoint + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChartPoint put(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException; + /** + * Gets the WorkbookChartPoint + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartPoint + * + * @return the WorkbookChartPoint + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChartPoint get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartPointItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartPointItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequestBuilder.java index fe4ad250c2f..c400e1cb9d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Item At Request Builder. */ -public interface IWorkbookChartPointItemAtRequestBuilder extends IBaseWorkbookChartPointItemAtRequestBuilder { +public interface IWorkbookChartPointItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartPointItemAtRequest + * + * @return the IWorkbookChartPointItemAtRequest instance + */ + IWorkbookChartPointItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookChartPointItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartPointItemAtRequest instance + */ + IWorkbookChartPointItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequest.java index 573ac675362..8ec99e93b52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Request. */ -public interface IWorkbookChartPointRequest extends IBaseWorkbookChartPointRequest { +public interface IWorkbookChartPointRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartPoint from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartPoint from the service + * + * @return the WorkbookChartPoint from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPoint get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartPoint with a source + * + * @param sourceWorkbookChartPoint the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartPoint sourceWorkbookChartPoint, final ICallback callback); + + /** + * Patches this WorkbookChartPoint with a source + * + * @param sourceWorkbookChartPoint the source object with updates + * @return the updated WorkbookChartPoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPoint patch(final WorkbookChartPoint sourceWorkbookChartPoint) throws ClientException; + + /** + * Posts a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback); + + /** + * Posts a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the new object to create + * @return the created WorkbookChartPoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartPointRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartPointRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequestBuilder.java index bd5fa4f784a..a4421155782 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartPointRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Point Request Builder. */ -public interface IWorkbookChartPointRequestBuilder extends IBaseWorkbookChartPointRequestBuilder { +public interface IWorkbookChartPointRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartPointRequest instance + */ + IWorkbookChartPointRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartPointRequest instance + */ + IWorkbookChartPointRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartPointFormat + * + * @return the IWorkbookChartPointFormatRequestBuilder instance + */ + IWorkbookChartPointFormatRequestBuilder format(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequest.java index cb20146f8e3..a2d6ed88c81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Request. */ -public interface IWorkbookChartRequest extends IBaseWorkbookChartRequest { +public interface IWorkbookChartRequest extends IHttpRequest { + + /** + * Gets the WorkbookChart from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChart from the service + * + * @return the WorkbookChart from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChart get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChart with a source + * + * @param sourceWorkbookChart the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChart sourceWorkbookChart, final ICallback callback); + + /** + * Patches this WorkbookChart with a source + * + * @param sourceWorkbookChart the source object with updates + * @return the updated WorkbookChart + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChart patch(final WorkbookChart sourceWorkbookChart) throws ClientException; + + /** + * Posts a WorkbookChart with a new object + * + * @param newWorkbookChart the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChart newWorkbookChart, final ICallback callback); + + /** + * Posts a WorkbookChart with a new object + * + * @param newWorkbookChart the new object to create + * @return the created WorkbookChart + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequestBuilder.java index 80952bf7557..8f80f379914 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequestBuilder.java @@ -3,14 +3,98 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Request Builder. */ -public interface IWorkbookChartRequestBuilder extends IBaseWorkbookChartRequestBuilder { +public interface IWorkbookChartRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartRequest instance + */ + IWorkbookChartRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartRequest instance + */ + IWorkbookChartRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartAxes + * + * @return the IWorkbookChartAxesRequestBuilder instance + */ + IWorkbookChartAxesRequestBuilder axes(); + + /** + * Gets the request builder for WorkbookChartDataLabels + * + * @return the IWorkbookChartDataLabelsRequestBuilder instance + */ + IWorkbookChartDataLabelsRequestBuilder dataLabels(); + + /** + * Gets the request builder for WorkbookChartAreaFormat + * + * @return the IWorkbookChartAreaFormatRequestBuilder instance + */ + IWorkbookChartAreaFormatRequestBuilder format(); + + /** + * Gets the request builder for WorkbookChartLegend + * + * @return the IWorkbookChartLegendRequestBuilder instance + */ + IWorkbookChartLegendRequestBuilder legend(); + + IWorkbookChartSeriesCollectionRequestBuilder series(); + + IWorkbookChartSeriesRequestBuilder series(final String id); + + /** + * Gets the request builder for WorkbookChartTitle + * + * @return the IWorkbookChartTitleRequestBuilder instance + */ + IWorkbookChartTitleRequestBuilder title(); + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + IWorkbookWorksheetRequestBuilder worksheet(); + IWorkbookChartSetDataRequestBuilder setData(final com.google.gson.JsonElement sourceData, final String seriesBy); + IWorkbookChartSetPositionRequestBuilder setPosition(final com.google.gson.JsonElement startCell, final com.google.gson.JsonElement endCell); + IWorkbookChartImageRequestBuilder image(); + IWorkbookChartImageRequestBuilder image(final Integer width); + IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height); + IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height, final String fittingMode); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionPage.java index 4789125250f..0abcd3e9874 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Collection Page. */ -public interface IWorkbookChartSeriesCollectionPage extends IBaseWorkbookChartSeriesCollectionPage { - +public interface IWorkbookChartSeriesCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequest.java index f66c2392d59..64b47003672 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Collection Request. */ -public interface IWorkbookChartSeriesCollectionRequest extends IBaseWorkbookChartSeriesCollectionRequest { +public interface IWorkbookChartSeriesCollectionRequest { + + void get(final ICallback callback); + + IWorkbookChartSeriesCollectionPage get() throws ClientException; + + void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback); + + WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSeriesCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSeriesCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartSeriesCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequestBuilder.java index fa45c556655..4d7892b98e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Collection Request Builder. */ -public interface IWorkbookChartSeriesCollectionRequestBuilder extends IBaseWorkbookChartSeriesCollectionRequestBuilder { +public interface IWorkbookChartSeriesCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookChartSeriesCollectionRequest buildRequest(); + + IWorkbookChartSeriesCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookChartSeriesRequestBuilder byId(final String id); + IWorkbookChartSeriesItemAtRequestBuilder itemAt(final Integer index); + IWorkbookChartSeriesCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequest.java index 5c01e53096a..12d0302a3dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Count Request. */ -public interface IWorkbookChartSeriesCountRequest extends IBaseWorkbookChartSeriesCountRequest { +public interface IWorkbookChartSeriesCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSeriesCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSeriesCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequestBuilder.java index 6cb25e407cd..c48c4814bf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Count Request Builder. */ -public interface IWorkbookChartSeriesCountRequestBuilder extends IBaseWorkbookChartSeriesCountRequestBuilder { +public interface IWorkbookChartSeriesCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartSeriesCountRequest + * + * @return the IWorkbookChartSeriesCountRequest instance + */ + IWorkbookChartSeriesCountRequest buildRequest(); + + /** + * Creates the IWorkbookChartSeriesCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSeriesCountRequest instance + */ + IWorkbookChartSeriesCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequest.java index 4d1a3e44655..c91e8fa6d9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Format Request. */ -public interface IWorkbookChartSeriesFormatRequest extends IBaseWorkbookChartSeriesFormatRequest { +public interface IWorkbookChartSeriesFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartSeriesFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartSeriesFormat from the service + * + * @return the WorkbookChartSeriesFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeriesFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartSeriesFormat with a source + * + * @param sourceWorkbookChartSeriesFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat, final ICallback callback); + + /** + * Patches this WorkbookChartSeriesFormat with a source + * + * @param sourceWorkbookChartSeriesFormat the source object with updates + * @return the updated WorkbookChartSeriesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeriesFormat patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat) throws ClientException; + + /** + * Posts a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat, final ICallback callback); + + /** + * Posts a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the new object to create + * @return the created WorkbookChartSeriesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeriesFormat post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSeriesFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSeriesFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequestBuilder.java index b8d882170e8..b9908048f92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Format Request Builder. */ -public interface IWorkbookChartSeriesFormatRequestBuilder extends IBaseWorkbookChartSeriesFormatRequestBuilder { +public interface IWorkbookChartSeriesFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartSeriesFormatRequest instance + */ + IWorkbookChartSeriesFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartSeriesFormatRequest instance + */ + IWorkbookChartSeriesFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + IWorkbookChartFillRequestBuilder fill(); + + /** + * Gets the request builder for WorkbookChartLineFormat + * + * @return the IWorkbookChartLineFormatRequestBuilder instance + */ + IWorkbookChartLineFormatRequestBuilder line(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequest.java index c29ebe231f3..77284655f9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Item At Request. */ -public interface IWorkbookChartSeriesItemAtRequest extends IBaseWorkbookChartSeriesItemAtRequest { +public interface IWorkbookChartSeriesItemAtRequest { + + /** + * Patches the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback); + + /** + * Patches the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH + * @return the WorkbookChartSeries + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChartSeries patch(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException; + + /** + * Puts the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback); + + /** + * Puts the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT + * @return the WorkbookChartSeries + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChartSeries put(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException; + /** + * Gets the WorkbookChartSeries + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartSeries + * + * @return the WorkbookChartSeries + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookChartSeries get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSeriesItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSeriesItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequestBuilder.java index a4daa8cd552..2e5a3bd848f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Item At Request Builder. */ -public interface IWorkbookChartSeriesItemAtRequestBuilder extends IBaseWorkbookChartSeriesItemAtRequestBuilder { +public interface IWorkbookChartSeriesItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartSeriesItemAtRequest + * + * @return the IWorkbookChartSeriesItemAtRequest instance + */ + IWorkbookChartSeriesItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookChartSeriesItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSeriesItemAtRequest instance + */ + IWorkbookChartSeriesItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequest.java index 577d291b469..405dea7c2aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Request. */ -public interface IWorkbookChartSeriesRequest extends IBaseWorkbookChartSeriesRequest { +public interface IWorkbookChartSeriesRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartSeries from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartSeries from the service + * + * @return the WorkbookChartSeries from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeries get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartSeries with a source + * + * @param sourceWorkbookChartSeries the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartSeries sourceWorkbookChartSeries, final ICallback callback); + + /** + * Patches this WorkbookChartSeries with a source + * + * @param sourceWorkbookChartSeries the source object with updates + * @return the updated WorkbookChartSeries + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeries patch(final WorkbookChartSeries sourceWorkbookChartSeries) throws ClientException; + + /** + * Posts a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback); + + /** + * Posts a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the new object to create + * @return the created WorkbookChartSeries + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSeriesRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSeriesRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequestBuilder.java index 1291e8901e7..dc9c6274b47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequestBuilder.java @@ -3,14 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSeriesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Series Request Builder. */ -public interface IWorkbookChartSeriesRequestBuilder extends IBaseWorkbookChartSeriesRequestBuilder { +public interface IWorkbookChartSeriesRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartSeriesRequest instance + */ + IWorkbookChartSeriesRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartSeriesRequest instance + */ + IWorkbookChartSeriesRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartSeriesFormat + * + * @return the IWorkbookChartSeriesFormatRequestBuilder instance + */ + IWorkbookChartSeriesFormatRequestBuilder format(); + + IWorkbookChartPointCollectionRequestBuilder points(); + + IWorkbookChartPointRequestBuilder points(final String id); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequest.java index dced57e30c7..37f6ecc8426 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSetDataRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Set Data Request. */ -public interface IWorkbookChartSetDataRequest extends IBaseWorkbookChartSetDataRequest { +public interface IWorkbookChartSetDataRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSetDataRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartSetDataRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSetDataRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequestBuilder.java index 341df86b12a..016fea48599 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetDataRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSetDataRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Set Data Request Builder. */ -public interface IWorkbookChartSetDataRequestBuilder extends IBaseWorkbookChartSetDataRequestBuilder { +public interface IWorkbookChartSetDataRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartSetDataRequest + * + * @return the IWorkbookChartSetDataRequest instance + */ + IWorkbookChartSetDataRequest buildRequest(); + + /** + * Creates the IWorkbookChartSetDataRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSetDataRequest instance + */ + IWorkbookChartSetDataRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequest.java index fb04dc24ead..a9397cefe50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSetPositionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Set Position Request. */ -public interface IWorkbookChartSetPositionRequest extends IBaseWorkbookChartSetPositionRequest { +public interface IWorkbookChartSetPositionRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartSetPositionRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookChartSetPositionRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartSetPositionRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequestBuilder.java index 7a00cc512ba..2df7ab928f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSetPositionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartSetPositionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Set Position Request Builder. */ -public interface IWorkbookChartSetPositionRequestBuilder extends IBaseWorkbookChartSetPositionRequestBuilder { +public interface IWorkbookChartSetPositionRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookChartSetPositionRequest + * + * @return the IWorkbookChartSetPositionRequest instance + */ + IWorkbookChartSetPositionRequest buildRequest(); + + /** + * Creates the IWorkbookChartSetPositionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSetPositionRequest instance + */ + IWorkbookChartSetPositionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequest.java index b54874d9016..05fb197b188 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartTitleFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Title Format Request. */ -public interface IWorkbookChartTitleFormatRequest extends IBaseWorkbookChartTitleFormatRequest { +public interface IWorkbookChartTitleFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartTitleFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartTitleFormat from the service + * + * @return the WorkbookChartTitleFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitleFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartTitleFormat with a source + * + * @param sourceWorkbookChartTitleFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat, final ICallback callback); + + /** + * Patches this WorkbookChartTitleFormat with a source + * + * @param sourceWorkbookChartTitleFormat the source object with updates + * @return the updated WorkbookChartTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitleFormat patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat) throws ClientException; + + /** + * Posts a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat, final ICallback callback); + + /** + * Posts a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the new object to create + * @return the created WorkbookChartTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitleFormat post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartTitleFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartTitleFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequestBuilder.java index 64fa9f9e460..1f70e90488c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartTitleFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Title Format Request Builder. */ -public interface IWorkbookChartTitleFormatRequestBuilder extends IBaseWorkbookChartTitleFormatRequestBuilder { +public interface IWorkbookChartTitleFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartTitleFormatRequest instance + */ + IWorkbookChartTitleFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartTitleFormatRequest instance + */ + IWorkbookChartTitleFormatRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + IWorkbookChartFillRequestBuilder fill(); + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + IWorkbookChartFontRequestBuilder font(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequest.java index f76db19a46c..78e3c41a75b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartTitle; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartTitleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Title Request. */ -public interface IWorkbookChartTitleRequest extends IBaseWorkbookChartTitleRequest { +public interface IWorkbookChartTitleRequest extends IHttpRequest { + + /** + * Gets the WorkbookChartTitle from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookChartTitle from the service + * + * @return the WorkbookChartTitle from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitle get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookChartTitle with a source + * + * @param sourceWorkbookChartTitle the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookChartTitle sourceWorkbookChartTitle, final ICallback callback); + + /** + * Patches this WorkbookChartTitle with a source + * + * @param sourceWorkbookChartTitle the source object with updates + * @return the updated WorkbookChartTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitle patch(final WorkbookChartTitle sourceWorkbookChartTitle) throws ClientException; + + /** + * Posts a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookChartTitle newWorkbookChartTitle, final ICallback callback); + + /** + * Posts a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the new object to create + * @return the created WorkbookChartTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitle post(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookChartTitleRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookChartTitleRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequestBuilder.java index 6b05d314bbd..a576256ce85 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookChartTitleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Chart Title Request Builder. */ -public interface IWorkbookChartTitleRequestBuilder extends IBaseWorkbookChartTitleRequestBuilder { +public interface IWorkbookChartTitleRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookChartTitleRequest instance + */ + IWorkbookChartTitleRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookChartTitleRequest instance + */ + IWorkbookChartTitleRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookChartTitleFormat + * + * @return the IWorkbookChartTitleFormatRequestBuilder instance + */ + IWorkbookChartTitleFormatRequestBuilder format(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequest.java index a0d5c6182a0..4395fc81c08 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookCloseSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Close Session Request. */ -public interface IWorkbookCloseSessionRequest extends IBaseWorkbookCloseSessionRequest { +public interface IWorkbookCloseSessionRequest { + + /** + * Creates the WorkbookCloseSession + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookCloseSession + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequestBuilder.java index 41eb600ad94..24167952292 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCloseSessionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookCloseSessionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Close Session Request Builder. */ -public interface IWorkbookCloseSessionRequestBuilder extends IBaseWorkbookCloseSessionRequestBuilder { +public interface IWorkbookCloseSessionRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookCloseSessionRequest + * + * @return the IWorkbookCloseSessionRequest instance + */ + IWorkbookCloseSessionRequest buildRequest(); + + /** + * Creates the IWorkbookCloseSessionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookCloseSessionRequest instance + */ + IWorkbookCloseSessionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequest.java index c3680f15f31..e6481fb23bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookSessionInfo; +import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookCreateSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Create Session Request. */ -public interface IWorkbookCreateSessionRequest extends IBaseWorkbookCreateSessionRequest { +public interface IWorkbookCreateSessionRequest { + + void post(final ICallback callback); + + WorkbookSessionInfo post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookCreateSessionRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookCreateSessionRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookCreateSessionRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequestBuilder.java index f13401404b5..ea31e17fb2d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCreateSessionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookCreateSessionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Create Session Request Builder. */ -public interface IWorkbookCreateSessionRequestBuilder extends IBaseWorkbookCreateSessionRequestBuilder { +public interface IWorkbookCreateSessionRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookCreateSessionRequest + * + * @return the IWorkbookCreateSessionRequest instance + */ + IWorkbookCreateSessionRequest buildRequest(); + + /** + * Creates the IWorkbookCreateSessionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookCreateSessionRequest instance + */ + IWorkbookCreateSessionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequest.java index 385a209399c..f57551c46a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyBottomItemsFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Bottom Items Filter Request. */ -public interface IWorkbookFilterApplyBottomItemsFilterRequest extends IBaseWorkbookFilterApplyBottomItemsFilterRequest { +public interface IWorkbookFilterApplyBottomItemsFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyBottomItemsFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyBottomItemsFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyBottomItemsFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequestBuilder.java index 1715d4f8136..2b94281a96a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomItemsFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Bottom Items Filter Request Builder. */ -public interface IWorkbookFilterApplyBottomItemsFilterRequestBuilder extends IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder { +public interface IWorkbookFilterApplyBottomItemsFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyBottomItemsFilterRequest + * + * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance + */ + IWorkbookFilterApplyBottomItemsFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyBottomItemsFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance + */ + IWorkbookFilterApplyBottomItemsFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequest.java index 27dae97d54c..e39862a6116 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyBottomPercentFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Bottom Percent Filter Request. */ -public interface IWorkbookFilterApplyBottomPercentFilterRequest extends IBaseWorkbookFilterApplyBottomPercentFilterRequest { +public interface IWorkbookFilterApplyBottomPercentFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyBottomPercentFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyBottomPercentFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyBottomPercentFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequestBuilder.java index 2f9a371549a..140e78fea59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyBottomPercentFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Bottom Percent Filter Request Builder. */ -public interface IWorkbookFilterApplyBottomPercentFilterRequestBuilder extends IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder { +public interface IWorkbookFilterApplyBottomPercentFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyBottomPercentFilterRequest + * + * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance + */ + IWorkbookFilterApplyBottomPercentFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyBottomPercentFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance + */ + IWorkbookFilterApplyBottomPercentFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequest.java index e8427374a48..b6a77c50fcb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyCellColorFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Cell Color Filter Request. */ -public interface IWorkbookFilterApplyCellColorFilterRequest extends IBaseWorkbookFilterApplyCellColorFilterRequest { +public interface IWorkbookFilterApplyCellColorFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyCellColorFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyCellColorFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyCellColorFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequestBuilder.java index 2b6089eeecb..580a9ec75d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCellColorFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyCellColorFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Cell Color Filter Request Builder. */ -public interface IWorkbookFilterApplyCellColorFilterRequestBuilder extends IBaseWorkbookFilterApplyCellColorFilterRequestBuilder { +public interface IWorkbookFilterApplyCellColorFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyCellColorFilterRequest + * + * @return the IWorkbookFilterApplyCellColorFilterRequest instance + */ + IWorkbookFilterApplyCellColorFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyCellColorFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyCellColorFilterRequest instance + */ + IWorkbookFilterApplyCellColorFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequest.java index cbc76e35db9..e001fc60271 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyCustomFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Custom Filter Request. */ -public interface IWorkbookFilterApplyCustomFilterRequest extends IBaseWorkbookFilterApplyCustomFilterRequest { +public interface IWorkbookFilterApplyCustomFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyCustomFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyCustomFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyCustomFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequestBuilder.java index 0b06486f8bd..9de8b28a7af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyCustomFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyCustomFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Custom Filter Request Builder. */ -public interface IWorkbookFilterApplyCustomFilterRequestBuilder extends IBaseWorkbookFilterApplyCustomFilterRequestBuilder { +public interface IWorkbookFilterApplyCustomFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyCustomFilterRequest + * + * @return the IWorkbookFilterApplyCustomFilterRequest instance + */ + IWorkbookFilterApplyCustomFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyCustomFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyCustomFilterRequest instance + */ + IWorkbookFilterApplyCustomFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequest.java index 2e1a5adf920..0147a219083 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyDynamicFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Dynamic Filter Request. */ -public interface IWorkbookFilterApplyDynamicFilterRequest extends IBaseWorkbookFilterApplyDynamicFilterRequest { +public interface IWorkbookFilterApplyDynamicFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyDynamicFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyDynamicFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyDynamicFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequestBuilder.java index b85b8fece2d..8a4cefdc0a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyDynamicFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyDynamicFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Dynamic Filter Request Builder. */ -public interface IWorkbookFilterApplyDynamicFilterRequestBuilder extends IBaseWorkbookFilterApplyDynamicFilterRequestBuilder { +public interface IWorkbookFilterApplyDynamicFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyDynamicFilterRequest + * + * @return the IWorkbookFilterApplyDynamicFilterRequest instance + */ + IWorkbookFilterApplyDynamicFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyDynamicFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyDynamicFilterRequest instance + */ + IWorkbookFilterApplyDynamicFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequest.java index 5ac02de5e19..5a79d37a916 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyFontColorFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Font Color Filter Request. */ -public interface IWorkbookFilterApplyFontColorFilterRequest extends IBaseWorkbookFilterApplyFontColorFilterRequest { +public interface IWorkbookFilterApplyFontColorFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyFontColorFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyFontColorFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyFontColorFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequestBuilder.java index 3e4f2c5ef19..32fd1c6d6d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyFontColorFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyFontColorFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Font Color Filter Request Builder. */ -public interface IWorkbookFilterApplyFontColorFilterRequestBuilder extends IBaseWorkbookFilterApplyFontColorFilterRequestBuilder { +public interface IWorkbookFilterApplyFontColorFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyFontColorFilterRequest + * + * @return the IWorkbookFilterApplyFontColorFilterRequest instance + */ + IWorkbookFilterApplyFontColorFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyFontColorFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyFontColorFilterRequest instance + */ + IWorkbookFilterApplyFontColorFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequest.java index 0ff1bfbba2a..d38219c7fbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyIconFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Icon Filter Request. */ -public interface IWorkbookFilterApplyIconFilterRequest extends IBaseWorkbookFilterApplyIconFilterRequest { +public interface IWorkbookFilterApplyIconFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyIconFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyIconFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyIconFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequestBuilder.java index c66dc1df2b2..31c6e9f0f7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyIconFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyIconFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Icon Filter Request Builder. */ -public interface IWorkbookFilterApplyIconFilterRequestBuilder extends IBaseWorkbookFilterApplyIconFilterRequestBuilder { +public interface IWorkbookFilterApplyIconFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyIconFilterRequest + * + * @return the IWorkbookFilterApplyIconFilterRequest instance + */ + IWorkbookFilterApplyIconFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyIconFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyIconFilterRequest instance + */ + IWorkbookFilterApplyIconFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequest.java index 2adb030aa42..3c926419d05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Request. */ -public interface IWorkbookFilterApplyRequest extends IBaseWorkbookFilterApplyRequest { +public interface IWorkbookFilterApplyRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequestBuilder.java index 5b2c995f199..bd43fc30c71 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Request Builder. */ -public interface IWorkbookFilterApplyRequestBuilder extends IBaseWorkbookFilterApplyRequestBuilder { +public interface IWorkbookFilterApplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyRequest + * + * @return the IWorkbookFilterApplyRequest instance + */ + IWorkbookFilterApplyRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyRequest instance + */ + IWorkbookFilterApplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequest.java index 5ddf3c125ef..305589466dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyTopItemsFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Top Items Filter Request. */ -public interface IWorkbookFilterApplyTopItemsFilterRequest extends IBaseWorkbookFilterApplyTopItemsFilterRequest { +public interface IWorkbookFilterApplyTopItemsFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyTopItemsFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyTopItemsFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyTopItemsFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequestBuilder.java index 75ce2b60202..d33bfc79dc4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopItemsFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Top Items Filter Request Builder. */ -public interface IWorkbookFilterApplyTopItemsFilterRequestBuilder extends IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder { +public interface IWorkbookFilterApplyTopItemsFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyTopItemsFilterRequest + * + * @return the IWorkbookFilterApplyTopItemsFilterRequest instance + */ + IWorkbookFilterApplyTopItemsFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyTopItemsFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyTopItemsFilterRequest instance + */ + IWorkbookFilterApplyTopItemsFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequest.java index 94f8a729007..f8f05537e09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyTopPercentFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Top Percent Filter Request. */ -public interface IWorkbookFilterApplyTopPercentFilterRequest extends IBaseWorkbookFilterApplyTopPercentFilterRequest { +public interface IWorkbookFilterApplyTopPercentFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyTopPercentFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyTopPercentFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyTopPercentFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequestBuilder.java index 1c4ef713672..5ff89a58db5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyTopPercentFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Top Percent Filter Request Builder. */ -public interface IWorkbookFilterApplyTopPercentFilterRequestBuilder extends IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder { +public interface IWorkbookFilterApplyTopPercentFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyTopPercentFilterRequest + * + * @return the IWorkbookFilterApplyTopPercentFilterRequest instance + */ + IWorkbookFilterApplyTopPercentFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyTopPercentFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyTopPercentFilterRequest instance + */ + IWorkbookFilterApplyTopPercentFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequest.java index da9003630b2..4a395f3a966 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyValuesFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Values Filter Request. */ -public interface IWorkbookFilterApplyValuesFilterRequest extends IBaseWorkbookFilterApplyValuesFilterRequest { +public interface IWorkbookFilterApplyValuesFilterRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterApplyValuesFilterRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFilterApplyValuesFilterRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterApplyValuesFilterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequestBuilder.java index 07a026e70a5..de0e5b4dd1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterApplyValuesFilterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterApplyValuesFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Apply Values Filter Request Builder. */ -public interface IWorkbookFilterApplyValuesFilterRequestBuilder extends IBaseWorkbookFilterApplyValuesFilterRequestBuilder { +public interface IWorkbookFilterApplyValuesFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterApplyValuesFilterRequest + * + * @return the IWorkbookFilterApplyValuesFilterRequest instance + */ + IWorkbookFilterApplyValuesFilterRequest buildRequest(); + + /** + * Creates the IWorkbookFilterApplyValuesFilterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyValuesFilterRequest instance + */ + IWorkbookFilterApplyValuesFilterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequest.java index 4db2628f262..b3bed32f6a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Clear Request. */ -public interface IWorkbookFilterClearRequest extends IBaseWorkbookFilterClearRequest { +public interface IWorkbookFilterClearRequest { + + /** + * Creates the WorkbookFilterClear + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFilterClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequestBuilder.java index 7b49947c7d9..7e443deb286 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterClearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterClearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Clear Request Builder. */ -public interface IWorkbookFilterClearRequestBuilder extends IBaseWorkbookFilterClearRequestBuilder { +public interface IWorkbookFilterClearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFilterClearRequest + * + * @return the IWorkbookFilterClearRequest instance + */ + IWorkbookFilterClearRequest buildRequest(); + + /** + * Creates the IWorkbookFilterClearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterClearRequest instance + */ + IWorkbookFilterClearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequest.java index f3eaeb5585a..de79b74f2eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilter; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Request. */ -public interface IWorkbookFilterRequest extends IBaseWorkbookFilterRequest { +public interface IWorkbookFilterRequest extends IHttpRequest { + + /** + * Gets the WorkbookFilter from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookFilter from the service + * + * @return the WorkbookFilter from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFilter get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookFilter with a source + * + * @param sourceWorkbookFilter the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookFilter sourceWorkbookFilter, final ICallback callback); + + /** + * Patches this WorkbookFilter with a source + * + * @param sourceWorkbookFilter the source object with updates + * @return the updated WorkbookFilter + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFilter patch(final WorkbookFilter sourceWorkbookFilter) throws ClientException; + + /** + * Posts a WorkbookFilter with a new object + * + * @param newWorkbookFilter the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookFilter newWorkbookFilter, final ICallback callback); + + /** + * Posts a WorkbookFilter with a new object + * + * @param newWorkbookFilter the new object to create + * @return the created WorkbookFilter + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFilter post(final WorkbookFilter newWorkbookFilter) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFilterRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFilterRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequestBuilder.java index 0392cafff52..21ee57b81c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequestBuilder.java @@ -3,14 +3,58 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterRequest; +import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequestBuilder; +import com.microsoft.graph.models.extensions.WorkbookIcon; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookFilterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Filter Request Builder. */ -public interface IWorkbookFilterRequestBuilder extends IBaseWorkbookFilterRequestBuilder { +public interface IWorkbookFilterRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookFilterRequest instance + */ + IWorkbookFilterRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookFilterRequest instance + */ + IWorkbookFilterRequest buildRequest(final java.util.List requestOptions); + + IWorkbookFilterApplyRequestBuilder apply(final WorkbookFilterCriteria criteria); + IWorkbookFilterApplyBottomItemsFilterRequestBuilder applyBottomItemsFilter(final Integer count); + IWorkbookFilterApplyBottomPercentFilterRequestBuilder applyBottomPercentFilter(final Integer percent); + IWorkbookFilterApplyCellColorFilterRequestBuilder applyCellColorFilter(final String color); + IWorkbookFilterApplyCustomFilterRequestBuilder applyCustomFilter(final String criteria1, final String criteria2, final String oper); + IWorkbookFilterApplyDynamicFilterRequestBuilder applyDynamicFilter(final String criteria); + IWorkbookFilterApplyFontColorFilterRequestBuilder applyFontColorFilter(final String color); + IWorkbookFilterApplyIconFilterRequestBuilder applyIconFilter(final WorkbookIcon icon); + IWorkbookFilterApplyTopItemsFilterRequestBuilder applyTopItemsFilter(final Integer count); + IWorkbookFilterApplyTopPercentFilterRequestBuilder applyTopPercentFilter(final Integer percent); + IWorkbookFilterApplyValuesFilterRequestBuilder applyValuesFilter(final com.google.gson.JsonElement values); + IWorkbookFilterClearRequestBuilder clear(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequest.java index 8fad4efca55..cee04948527 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFormatProtection; -import com.microsoft.graph.requests.generated.IBaseWorkbookFormatProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Format Protection Request. */ -public interface IWorkbookFormatProtectionRequest extends IBaseWorkbookFormatProtectionRequest { +public interface IWorkbookFormatProtectionRequest extends IHttpRequest { + + /** + * Gets the WorkbookFormatProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookFormatProtection from the service + * + * @return the WorkbookFormatProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFormatProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookFormatProtection with a source + * + * @param sourceWorkbookFormatProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookFormatProtection sourceWorkbookFormatProtection, final ICallback callback); + + /** + * Patches this WorkbookFormatProtection with a source + * + * @param sourceWorkbookFormatProtection the source object with updates + * @return the updated WorkbookFormatProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFormatProtection patch(final WorkbookFormatProtection sourceWorkbookFormatProtection) throws ClientException; + + /** + * Posts a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookFormatProtection newWorkbookFormatProtection, final ICallback callback); + + /** + * Posts a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the new object to create + * @return the created WorkbookFormatProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFormatProtection post(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFormatProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFormatProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequestBuilder.java index 502bdd82e02..d2105bfb654 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFormatProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Format Protection Request Builder. */ -public interface IWorkbookFormatProtectionRequestBuilder extends IBaseWorkbookFormatProtectionRequestBuilder { +public interface IWorkbookFormatProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookFormatProtectionRequest instance + */ + IWorkbookFormatProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookFormatProtectionRequest instance + */ + IWorkbookFormatProtectionRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequest.java index 0e5e12ee2a9..46759f390fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionResultRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Function Result Request. */ -public interface IWorkbookFunctionResultRequest extends IBaseWorkbookFunctionResultRequest { +public interface IWorkbookFunctionResultRequest extends IHttpRequest { + + /** + * Gets the WorkbookFunctionResult from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookFunctionResult from the service + * + * @return the WorkbookFunctionResult from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctionResult get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookFunctionResult with a source + * + * @param sourceWorkbookFunctionResult the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookFunctionResult sourceWorkbookFunctionResult, final ICallback callback); + + /** + * Patches this WorkbookFunctionResult with a source + * + * @param sourceWorkbookFunctionResult the source object with updates + * @return the updated WorkbookFunctionResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctionResult patch(final WorkbookFunctionResult sourceWorkbookFunctionResult) throws ClientException; + + /** + * Posts a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookFunctionResult newWorkbookFunctionResult, final ICallback callback); + + /** + * Posts a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the new object to create + * @return the created WorkbookFunctionResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctionResult post(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionResultRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionResultRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequestBuilder.java index 8cb886a1fff..b8665504fe5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionResultRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionResultRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Function Result Request Builder. */ -public interface IWorkbookFunctionResultRequestBuilder extends IBaseWorkbookFunctionResultRequestBuilder { +public interface IWorkbookFunctionResultRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookFunctionResultRequest instance + */ + IWorkbookFunctionResultRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookFunctionResultRequest instance + */ + IWorkbookFunctionResultRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequest.java index ff00f9a2d65..47a806d44ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAbsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Abs Request. */ -public interface IWorkbookFunctionsAbsRequest extends IBaseWorkbookFunctionsAbsRequest { +public interface IWorkbookFunctionsAbsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAbsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAbsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAbsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequestBuilder.java index 3c16d5e80d7..dd87bb89a25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAbsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAbsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Abs Request Builder. */ -public interface IWorkbookFunctionsAbsRequestBuilder extends IBaseWorkbookFunctionsAbsRequestBuilder { +public interface IWorkbookFunctionsAbsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAbsRequest + * + * @return the IWorkbookFunctionsAbsRequest instance + */ + IWorkbookFunctionsAbsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAbsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAbsRequest instance + */ + IWorkbookFunctionsAbsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequest.java index 4bccb7f4844..5914d70a3a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAccrIntMRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Accr Int MRequest. */ -public interface IWorkbookFunctionsAccrIntMRequest extends IBaseWorkbookFunctionsAccrIntMRequest { +public interface IWorkbookFunctionsAccrIntMRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAccrIntMRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAccrIntMRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAccrIntMRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequestBuilder.java index 18660c4b8ba..ac0a6eb3e56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntMRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAccrIntMRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Accr Int MRequest Builder. */ -public interface IWorkbookFunctionsAccrIntMRequestBuilder extends IBaseWorkbookFunctionsAccrIntMRequestBuilder { +public interface IWorkbookFunctionsAccrIntMRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAccrIntMRequest + * + * @return the IWorkbookFunctionsAccrIntMRequest instance + */ + IWorkbookFunctionsAccrIntMRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAccrIntMRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAccrIntMRequest instance + */ + IWorkbookFunctionsAccrIntMRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequest.java index 80cec74ee52..18cc479547a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAccrIntRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Accr Int Request. */ -public interface IWorkbookFunctionsAccrIntRequest extends IBaseWorkbookFunctionsAccrIntRequest { +public interface IWorkbookFunctionsAccrIntRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAccrIntRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAccrIntRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAccrIntRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequestBuilder.java index 7647e2066fb..954c99c9709 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAccrIntRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAccrIntRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Accr Int Request Builder. */ -public interface IWorkbookFunctionsAccrIntRequestBuilder extends IBaseWorkbookFunctionsAccrIntRequestBuilder { +public interface IWorkbookFunctionsAccrIntRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAccrIntRequest + * + * @return the IWorkbookFunctionsAccrIntRequest instance + */ + IWorkbookFunctionsAccrIntRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAccrIntRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAccrIntRequest instance + */ + IWorkbookFunctionsAccrIntRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequest.java index a3dada8850c..744878fb712 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcosRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acos Request. */ -public interface IWorkbookFunctionsAcosRequest extends IBaseWorkbookFunctionsAcosRequest { +public interface IWorkbookFunctionsAcosRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAcosRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAcosRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAcosRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequestBuilder.java index 1ee74cdf69c..5322d04fcd4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcosRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcosRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acos Request Builder. */ -public interface IWorkbookFunctionsAcosRequestBuilder extends IBaseWorkbookFunctionsAcosRequestBuilder { +public interface IWorkbookFunctionsAcosRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAcosRequest + * + * @return the IWorkbookFunctionsAcosRequest instance + */ + IWorkbookFunctionsAcosRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAcosRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcosRequest instance + */ + IWorkbookFunctionsAcosRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequest.java index f168533ca3d..adba94451f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcoshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acosh Request. */ -public interface IWorkbookFunctionsAcoshRequest extends IBaseWorkbookFunctionsAcoshRequest { +public interface IWorkbookFunctionsAcoshRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAcoshRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAcoshRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAcoshRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequestBuilder.java index 7c48e6fd3cd..b6c1af55226 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcoshRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcoshRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acosh Request Builder. */ -public interface IWorkbookFunctionsAcoshRequestBuilder extends IBaseWorkbookFunctionsAcoshRequestBuilder { +public interface IWorkbookFunctionsAcoshRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAcoshRequest + * + * @return the IWorkbookFunctionsAcoshRequest instance + */ + IWorkbookFunctionsAcoshRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAcoshRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcoshRequest instance + */ + IWorkbookFunctionsAcoshRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequest.java index 4e8c2521db9..3ed31ce20d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acot Request. */ -public interface IWorkbookFunctionsAcotRequest extends IBaseWorkbookFunctionsAcotRequest { +public interface IWorkbookFunctionsAcotRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAcotRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAcotRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAcotRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequestBuilder.java index b55cf7e6b68..1d37992255b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcotRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcotRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acot Request Builder. */ -public interface IWorkbookFunctionsAcotRequestBuilder extends IBaseWorkbookFunctionsAcotRequestBuilder { +public interface IWorkbookFunctionsAcotRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAcotRequest + * + * @return the IWorkbookFunctionsAcotRequest instance + */ + IWorkbookFunctionsAcotRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAcotRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcotRequest instance + */ + IWorkbookFunctionsAcotRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequest.java index b65dae0ac38..7e8e67a21d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcothRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acoth Request. */ -public interface IWorkbookFunctionsAcothRequest extends IBaseWorkbookFunctionsAcothRequest { +public interface IWorkbookFunctionsAcothRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAcothRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAcothRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAcothRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequestBuilder.java index e3cdbac05f5..d32d4ebc79f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAcothRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAcothRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Acoth Request Builder. */ -public interface IWorkbookFunctionsAcothRequestBuilder extends IBaseWorkbookFunctionsAcothRequestBuilder { +public interface IWorkbookFunctionsAcothRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAcothRequest + * + * @return the IWorkbookFunctionsAcothRequest instance + */ + IWorkbookFunctionsAcothRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAcothRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcothRequest instance + */ + IWorkbookFunctionsAcothRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequest.java index a312581ac7f..acd53f4ca5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAmorDegrcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Amor Degrc Request. */ -public interface IWorkbookFunctionsAmorDegrcRequest extends IBaseWorkbookFunctionsAmorDegrcRequest { +public interface IWorkbookFunctionsAmorDegrcRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAmorDegrcRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAmorDegrcRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAmorDegrcRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequestBuilder.java index 385dc249202..99213358820 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorDegrcRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAmorDegrcRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Amor Degrc Request Builder. */ -public interface IWorkbookFunctionsAmorDegrcRequestBuilder extends IBaseWorkbookFunctionsAmorDegrcRequestBuilder { +public interface IWorkbookFunctionsAmorDegrcRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAmorDegrcRequest + * + * @return the IWorkbookFunctionsAmorDegrcRequest instance + */ + IWorkbookFunctionsAmorDegrcRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAmorDegrcRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAmorDegrcRequest instance + */ + IWorkbookFunctionsAmorDegrcRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequest.java index 1103c827cdb..cb4f15b32b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAmorLincRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Amor Linc Request. */ -public interface IWorkbookFunctionsAmorLincRequest extends IBaseWorkbookFunctionsAmorLincRequest { +public interface IWorkbookFunctionsAmorLincRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAmorLincRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAmorLincRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAmorLincRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequestBuilder.java index ccd26d8357a..78303007a39 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAmorLincRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAmorLincRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Amor Linc Request Builder. */ -public interface IWorkbookFunctionsAmorLincRequestBuilder extends IBaseWorkbookFunctionsAmorLincRequestBuilder { +public interface IWorkbookFunctionsAmorLincRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAmorLincRequest + * + * @return the IWorkbookFunctionsAmorLincRequest instance + */ + IWorkbookFunctionsAmorLincRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAmorLincRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAmorLincRequest instance + */ + IWorkbookFunctionsAmorLincRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequest.java index 67989544181..7ec8afe0bc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAndRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions And Request. */ -public interface IWorkbookFunctionsAndRequest extends IBaseWorkbookFunctionsAndRequest { +public interface IWorkbookFunctionsAndRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAndRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAndRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAndRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequestBuilder.java index 43a2c35579a..41427e24cb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAndRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAndRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions And Request Builder. */ -public interface IWorkbookFunctionsAndRequestBuilder extends IBaseWorkbookFunctionsAndRequestBuilder { +public interface IWorkbookFunctionsAndRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAndRequest + * + * @return the IWorkbookFunctionsAndRequest instance + */ + IWorkbookFunctionsAndRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAndRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAndRequest instance + */ + IWorkbookFunctionsAndRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequest.java index 4faf383ccd2..0e04cd014cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsArabicRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Arabic Request. */ -public interface IWorkbookFunctionsArabicRequest extends IBaseWorkbookFunctionsArabicRequest { +public interface IWorkbookFunctionsArabicRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsArabicRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsArabicRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsArabicRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequestBuilder.java index 682570ff950..4e992e81f7a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsArabicRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsArabicRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Arabic Request Builder. */ -public interface IWorkbookFunctionsArabicRequestBuilder extends IBaseWorkbookFunctionsArabicRequestBuilder { +public interface IWorkbookFunctionsArabicRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsArabicRequest + * + * @return the IWorkbookFunctionsArabicRequest instance + */ + IWorkbookFunctionsArabicRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsArabicRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsArabicRequest instance + */ + IWorkbookFunctionsArabicRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequest.java index 79dd01edfbf..db5404c23eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAreasRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Areas Request. */ -public interface IWorkbookFunctionsAreasRequest extends IBaseWorkbookFunctionsAreasRequest { +public interface IWorkbookFunctionsAreasRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAreasRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAreasRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAreasRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequestBuilder.java index 6be3d66a8e0..75e802cf254 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAreasRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAreasRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Areas Request Builder. */ -public interface IWorkbookFunctionsAreasRequestBuilder extends IBaseWorkbookFunctionsAreasRequestBuilder { +public interface IWorkbookFunctionsAreasRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAreasRequest + * + * @return the IWorkbookFunctionsAreasRequest instance + */ + IWorkbookFunctionsAreasRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAreasRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAreasRequest instance + */ + IWorkbookFunctionsAreasRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequest.java index 130644284a9..8f07ccfd4b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Asc Request. */ -public interface IWorkbookFunctionsAscRequest extends IBaseWorkbookFunctionsAscRequest { +public interface IWorkbookFunctionsAscRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAscRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAscRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAscRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequestBuilder.java index 5c3acf0a66d..af4954479a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAscRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAscRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Asc Request Builder. */ -public interface IWorkbookFunctionsAscRequestBuilder extends IBaseWorkbookFunctionsAscRequestBuilder { +public interface IWorkbookFunctionsAscRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAscRequest + * + * @return the IWorkbookFunctionsAscRequest instance + */ + IWorkbookFunctionsAscRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAscRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAscRequest instance + */ + IWorkbookFunctionsAscRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequest.java index 3499b5f8f9f..1e360234120 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAsinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Asin Request. */ -public interface IWorkbookFunctionsAsinRequest extends IBaseWorkbookFunctionsAsinRequest { +public interface IWorkbookFunctionsAsinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAsinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAsinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAsinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequestBuilder.java index 6d45f85220f..97ecd760c74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAsinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Asin Request Builder. */ -public interface IWorkbookFunctionsAsinRequestBuilder extends IBaseWorkbookFunctionsAsinRequestBuilder { +public interface IWorkbookFunctionsAsinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAsinRequest + * + * @return the IWorkbookFunctionsAsinRequest instance + */ + IWorkbookFunctionsAsinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAsinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAsinRequest instance + */ + IWorkbookFunctionsAsinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequest.java index 0548d12f483..e217f81b3ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAsinhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Asinh Request. */ -public interface IWorkbookFunctionsAsinhRequest extends IBaseWorkbookFunctionsAsinhRequest { +public interface IWorkbookFunctionsAsinhRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAsinhRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAsinhRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAsinhRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequestBuilder.java index 3561f7db205..11a20858a63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAsinhRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAsinhRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Asinh Request Builder. */ -public interface IWorkbookFunctionsAsinhRequestBuilder extends IBaseWorkbookFunctionsAsinhRequestBuilder { +public interface IWorkbookFunctionsAsinhRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAsinhRequest + * + * @return the IWorkbookFunctionsAsinhRequest instance + */ + IWorkbookFunctionsAsinhRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAsinhRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAsinhRequest instance + */ + IWorkbookFunctionsAsinhRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2Request.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2Request.java index f4a6c02815d..b2315a282ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2Request.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAtan2Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Atan2Request. */ -public interface IWorkbookFunctionsAtan2Request extends IBaseWorkbookFunctionsAtan2Request { +public interface IWorkbookFunctionsAtan2Request { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAtan2Request select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAtan2Request top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAtan2Request expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2RequestBuilder.java index c18ffe4f4d5..bca09529946 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtan2RequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAtan2RequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Atan2Request Builder. */ -public interface IWorkbookFunctionsAtan2RequestBuilder extends IBaseWorkbookFunctionsAtan2RequestBuilder { +public interface IWorkbookFunctionsAtan2RequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAtan2Request + * + * @return the IWorkbookFunctionsAtan2Request instance + */ + IWorkbookFunctionsAtan2Request buildRequest(); + + /** + * Creates the IWorkbookFunctionsAtan2Request with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAtan2Request instance + */ + IWorkbookFunctionsAtan2Request buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequest.java index e650be73b50..c681ab5795b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAtanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Atan Request. */ -public interface IWorkbookFunctionsAtanRequest extends IBaseWorkbookFunctionsAtanRequest { +public interface IWorkbookFunctionsAtanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAtanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAtanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAtanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequestBuilder.java index 5d2729fe35e..e437c4d9aaa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAtanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Atan Request Builder. */ -public interface IWorkbookFunctionsAtanRequestBuilder extends IBaseWorkbookFunctionsAtanRequestBuilder { +public interface IWorkbookFunctionsAtanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAtanRequest + * + * @return the IWorkbookFunctionsAtanRequest instance + */ + IWorkbookFunctionsAtanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAtanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAtanRequest instance + */ + IWorkbookFunctionsAtanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequest.java index 2c815bd3541..7438acac46a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAtanhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Atanh Request. */ -public interface IWorkbookFunctionsAtanhRequest extends IBaseWorkbookFunctionsAtanhRequest { +public interface IWorkbookFunctionsAtanhRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAtanhRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAtanhRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAtanhRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequestBuilder.java index 7e19e6e11cc..9a7dbc365ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAtanhRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAtanhRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Atanh Request Builder. */ -public interface IWorkbookFunctionsAtanhRequestBuilder extends IBaseWorkbookFunctionsAtanhRequestBuilder { +public interface IWorkbookFunctionsAtanhRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAtanhRequest + * + * @return the IWorkbookFunctionsAtanhRequest instance + */ + IWorkbookFunctionsAtanhRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAtanhRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAtanhRequest instance + */ + IWorkbookFunctionsAtanhRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequest.java index 7922121e514..89de7cba633 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAveDevRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ave Dev Request. */ -public interface IWorkbookFunctionsAveDevRequest extends IBaseWorkbookFunctionsAveDevRequest { +public interface IWorkbookFunctionsAveDevRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAveDevRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAveDevRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAveDevRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequestBuilder.java index b2837444bd5..ffbb77d77d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAveDevRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAveDevRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ave Dev Request Builder. */ -public interface IWorkbookFunctionsAveDevRequestBuilder extends IBaseWorkbookFunctionsAveDevRequestBuilder { +public interface IWorkbookFunctionsAveDevRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAveDevRequest + * + * @return the IWorkbookFunctionsAveDevRequest instance + */ + IWorkbookFunctionsAveDevRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAveDevRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAveDevRequest instance + */ + IWorkbookFunctionsAveDevRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequest.java index 1c4450dccad..c250b7a164a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average ARequest. */ -public interface IWorkbookFunctionsAverageARequest extends IBaseWorkbookFunctionsAverageARequest { +public interface IWorkbookFunctionsAverageARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAverageARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAverageARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAverageARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequestBuilder.java index 5094b79739e..54638dfd175 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average ARequest Builder. */ -public interface IWorkbookFunctionsAverageARequestBuilder extends IBaseWorkbookFunctionsAverageARequestBuilder { +public interface IWorkbookFunctionsAverageARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAverageARequest + * + * @return the IWorkbookFunctionsAverageARequest instance + */ + IWorkbookFunctionsAverageARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAverageARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageARequest instance + */ + IWorkbookFunctionsAverageARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequest.java index cfa090d4ff0..d3d0ea640f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average If Request. */ -public interface IWorkbookFunctionsAverageIfRequest extends IBaseWorkbookFunctionsAverageIfRequest { +public interface IWorkbookFunctionsAverageIfRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAverageIfRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAverageIfRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAverageIfRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequestBuilder.java index 21d9cbd49a9..9e20e5f5237 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageIfRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average If Request Builder. */ -public interface IWorkbookFunctionsAverageIfRequestBuilder extends IBaseWorkbookFunctionsAverageIfRequestBuilder { +public interface IWorkbookFunctionsAverageIfRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAverageIfRequest + * + * @return the IWorkbookFunctionsAverageIfRequest instance + */ + IWorkbookFunctionsAverageIfRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAverageIfRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageIfRequest instance + */ + IWorkbookFunctionsAverageIfRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequest.java index eb5728996a5..22f84c2bf33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageIfsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average Ifs Request. */ -public interface IWorkbookFunctionsAverageIfsRequest extends IBaseWorkbookFunctionsAverageIfsRequest { +public interface IWorkbookFunctionsAverageIfsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAverageIfsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAverageIfsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAverageIfsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequestBuilder.java index 888b03e5aef..634f0fdb49f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageIfsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageIfsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average Ifs Request Builder. */ -public interface IWorkbookFunctionsAverageIfsRequestBuilder extends IBaseWorkbookFunctionsAverageIfsRequestBuilder { +public interface IWorkbookFunctionsAverageIfsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAverageIfsRequest + * + * @return the IWorkbookFunctionsAverageIfsRequest instance + */ + IWorkbookFunctionsAverageIfsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAverageIfsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageIfsRequest instance + */ + IWorkbookFunctionsAverageIfsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequest.java index a60b206e130..f335bc128fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average Request. */ -public interface IWorkbookFunctionsAverageRequest extends IBaseWorkbookFunctionsAverageRequest { +public interface IWorkbookFunctionsAverageRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsAverageRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsAverageRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsAverageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequestBuilder.java index c2cb4ddea78..9c4dc842d19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsAverageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsAverageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Average Request Builder. */ -public interface IWorkbookFunctionsAverageRequestBuilder extends IBaseWorkbookFunctionsAverageRequestBuilder { +public interface IWorkbookFunctionsAverageRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsAverageRequest + * + * @return the IWorkbookFunctionsAverageRequest instance + */ + IWorkbookFunctionsAverageRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsAverageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageRequest instance + */ + IWorkbookFunctionsAverageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequest.java index 23d405e4c4a..1e839eee831 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBahtTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Baht Text Request. */ -public interface IWorkbookFunctionsBahtTextRequest extends IBaseWorkbookFunctionsBahtTextRequest { +public interface IWorkbookFunctionsBahtTextRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBahtTextRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBahtTextRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBahtTextRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequestBuilder.java index 2344476ee9d..46e386a1956 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBahtTextRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBahtTextRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Baht Text Request Builder. */ -public interface IWorkbookFunctionsBahtTextRequestBuilder extends IBaseWorkbookFunctionsBahtTextRequestBuilder { +public interface IWorkbookFunctionsBahtTextRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBahtTextRequest + * + * @return the IWorkbookFunctionsBahtTextRequest instance + */ + IWorkbookFunctionsBahtTextRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBahtTextRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBahtTextRequest instance + */ + IWorkbookFunctionsBahtTextRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequest.java index af1ec29d990..31e37cb8fe8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBaseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Base Request. */ -public interface IWorkbookFunctionsBaseRequest extends IBaseWorkbookFunctionsBaseRequest { +public interface IWorkbookFunctionsBaseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBaseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBaseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBaseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequestBuilder.java index e8204252b28..901e6beefa8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBaseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBaseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Base Request Builder. */ -public interface IWorkbookFunctionsBaseRequestBuilder extends IBaseWorkbookFunctionsBaseRequestBuilder { +public interface IWorkbookFunctionsBaseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBaseRequest + * + * @return the IWorkbookFunctionsBaseRequest instance + */ + IWorkbookFunctionsBaseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBaseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBaseRequest instance + */ + IWorkbookFunctionsBaseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequest.java index 48069338700..2ff6954b901 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselIRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel IRequest. */ -public interface IWorkbookFunctionsBesselIRequest extends IBaseWorkbookFunctionsBesselIRequest { +public interface IWorkbookFunctionsBesselIRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBesselIRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBesselIRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBesselIRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequestBuilder.java index 597a8bc3eeb..49e430f37c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselIRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselIRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel IRequest Builder. */ -public interface IWorkbookFunctionsBesselIRequestBuilder extends IBaseWorkbookFunctionsBesselIRequestBuilder { +public interface IWorkbookFunctionsBesselIRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBesselIRequest + * + * @return the IWorkbookFunctionsBesselIRequest instance + */ + IWorkbookFunctionsBesselIRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBesselIRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselIRequest instance + */ + IWorkbookFunctionsBesselIRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequest.java index 255f7906f22..f4abe3b58d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselJRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel JRequest. */ -public interface IWorkbookFunctionsBesselJRequest extends IBaseWorkbookFunctionsBesselJRequest { +public interface IWorkbookFunctionsBesselJRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBesselJRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBesselJRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBesselJRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequestBuilder.java index 3c5492c7273..1f3d032cf81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselJRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselJRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel JRequest Builder. */ -public interface IWorkbookFunctionsBesselJRequestBuilder extends IBaseWorkbookFunctionsBesselJRequestBuilder { +public interface IWorkbookFunctionsBesselJRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBesselJRequest + * + * @return the IWorkbookFunctionsBesselJRequest instance + */ + IWorkbookFunctionsBesselJRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBesselJRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselJRequest instance + */ + IWorkbookFunctionsBesselJRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequest.java index dd8c98dca6f..35544bb05fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselKRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel KRequest. */ -public interface IWorkbookFunctionsBesselKRequest extends IBaseWorkbookFunctionsBesselKRequest { +public interface IWorkbookFunctionsBesselKRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBesselKRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBesselKRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBesselKRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequestBuilder.java index 766c60f275d..7ef1d33ebfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselKRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselKRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel KRequest Builder. */ -public interface IWorkbookFunctionsBesselKRequestBuilder extends IBaseWorkbookFunctionsBesselKRequestBuilder { +public interface IWorkbookFunctionsBesselKRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBesselKRequest + * + * @return the IWorkbookFunctionsBesselKRequest instance + */ + IWorkbookFunctionsBesselKRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBesselKRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselKRequest instance + */ + IWorkbookFunctionsBesselKRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequest.java index fe46d2e453f..85a74be5765 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselYRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel YRequest. */ -public interface IWorkbookFunctionsBesselYRequest extends IBaseWorkbookFunctionsBesselYRequest { +public interface IWorkbookFunctionsBesselYRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBesselYRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBesselYRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBesselYRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequestBuilder.java index d53feec855c..0b9fdc20b80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBesselYRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBesselYRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bessel YRequest Builder. */ -public interface IWorkbookFunctionsBesselYRequestBuilder extends IBaseWorkbookFunctionsBesselYRequestBuilder { +public interface IWorkbookFunctionsBesselYRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBesselYRequest + * + * @return the IWorkbookFunctionsBesselYRequest instance + */ + IWorkbookFunctionsBesselYRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBesselYRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselYRequest instance + */ + IWorkbookFunctionsBesselYRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequest.java index a7ef4b7d10d..e00b542ccbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBeta_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Beta_Dist Request. */ -public interface IWorkbookFunctionsBeta_DistRequest extends IBaseWorkbookFunctionsBeta_DistRequest { +public interface IWorkbookFunctionsBeta_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBeta_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBeta_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBeta_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequestBuilder.java index 6153567c110..4ab0d7ef0dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBeta_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Beta_Dist Request Builder. */ -public interface IWorkbookFunctionsBeta_DistRequestBuilder extends IBaseWorkbookFunctionsBeta_DistRequestBuilder { +public interface IWorkbookFunctionsBeta_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBeta_DistRequest + * + * @return the IWorkbookFunctionsBeta_DistRequest instance + */ + IWorkbookFunctionsBeta_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBeta_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBeta_DistRequest instance + */ + IWorkbookFunctionsBeta_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequest.java index 5d7b7fda42f..ceb2480f061 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBeta_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Beta_Inv Request. */ -public interface IWorkbookFunctionsBeta_InvRequest extends IBaseWorkbookFunctionsBeta_InvRequest { +public interface IWorkbookFunctionsBeta_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBeta_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBeta_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBeta_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequestBuilder.java index da39ea3fb8e..b2c3093dc33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBeta_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBeta_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Beta_Inv Request Builder. */ -public interface IWorkbookFunctionsBeta_InvRequestBuilder extends IBaseWorkbookFunctionsBeta_InvRequestBuilder { +public interface IWorkbookFunctionsBeta_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBeta_InvRequest + * + * @return the IWorkbookFunctionsBeta_InvRequest instance + */ + IWorkbookFunctionsBeta_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBeta_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBeta_InvRequest instance + */ + IWorkbookFunctionsBeta_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequest.java index f3ce888a394..da15996753b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBin2DecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bin2Dec Request. */ -public interface IWorkbookFunctionsBin2DecRequest extends IBaseWorkbookFunctionsBin2DecRequest { +public interface IWorkbookFunctionsBin2DecRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBin2DecRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBin2DecRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBin2DecRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequestBuilder.java index 70c13e7fff9..1db8f49540d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2DecRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBin2DecRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bin2Dec Request Builder. */ -public interface IWorkbookFunctionsBin2DecRequestBuilder extends IBaseWorkbookFunctionsBin2DecRequestBuilder { +public interface IWorkbookFunctionsBin2DecRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBin2DecRequest + * + * @return the IWorkbookFunctionsBin2DecRequest instance + */ + IWorkbookFunctionsBin2DecRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBin2DecRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBin2DecRequest instance + */ + IWorkbookFunctionsBin2DecRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequest.java index b12e088249c..354b33e5b5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBin2HexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bin2Hex Request. */ -public interface IWorkbookFunctionsBin2HexRequest extends IBaseWorkbookFunctionsBin2HexRequest { +public interface IWorkbookFunctionsBin2HexRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBin2HexRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBin2HexRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBin2HexRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequestBuilder.java index 96b272cef31..fa45e3b8509 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2HexRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBin2HexRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bin2Hex Request Builder. */ -public interface IWorkbookFunctionsBin2HexRequestBuilder extends IBaseWorkbookFunctionsBin2HexRequestBuilder { +public interface IWorkbookFunctionsBin2HexRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBin2HexRequest + * + * @return the IWorkbookFunctionsBin2HexRequest instance + */ + IWorkbookFunctionsBin2HexRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBin2HexRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBin2HexRequest instance + */ + IWorkbookFunctionsBin2HexRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequest.java index 18146f92f75..27a2e69f0e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBin2OctRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bin2Oct Request. */ -public interface IWorkbookFunctionsBin2OctRequest extends IBaseWorkbookFunctionsBin2OctRequest { +public interface IWorkbookFunctionsBin2OctRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBin2OctRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBin2OctRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBin2OctRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequestBuilder.java index 76753f1b109..a45d4fa367c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBin2OctRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBin2OctRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bin2Oct Request Builder. */ -public interface IWorkbookFunctionsBin2OctRequestBuilder extends IBaseWorkbookFunctionsBin2OctRequestBuilder { +public interface IWorkbookFunctionsBin2OctRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBin2OctRequest + * + * @return the IWorkbookFunctionsBin2OctRequest instance + */ + IWorkbookFunctionsBin2OctRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBin2OctRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBin2OctRequest instance + */ + IWorkbookFunctionsBin2OctRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequest.java index f07fdb0b23e..c9ec57d3ad6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBinom_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Binom_Dist Request. */ -public interface IWorkbookFunctionsBinom_DistRequest extends IBaseWorkbookFunctionsBinom_DistRequest { +public interface IWorkbookFunctionsBinom_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBinom_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBinom_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBinom_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequestBuilder.java index 3d77afe09b6..ca64cca1877 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBinom_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Binom_Dist Request Builder. */ -public interface IWorkbookFunctionsBinom_DistRequestBuilder extends IBaseWorkbookFunctionsBinom_DistRequestBuilder { +public interface IWorkbookFunctionsBinom_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBinom_DistRequest + * + * @return the IWorkbookFunctionsBinom_DistRequest instance + */ + IWorkbookFunctionsBinom_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBinom_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBinom_DistRequest instance + */ + IWorkbookFunctionsBinom_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequest.java index ae44361b188..8f2761412a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBinom_Dist_RangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Binom_Dist_Range Request. */ -public interface IWorkbookFunctionsBinom_Dist_RangeRequest extends IBaseWorkbookFunctionsBinom_Dist_RangeRequest { +public interface IWorkbookFunctionsBinom_Dist_RangeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBinom_Dist_RangeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBinom_Dist_RangeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBinom_Dist_RangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java index 89f180661d1..d33a1d3ba09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Binom_Dist_Range Request Builder. */ -public interface IWorkbookFunctionsBinom_Dist_RangeRequestBuilder extends IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder { +public interface IWorkbookFunctionsBinom_Dist_RangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest + * + * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance + */ + IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance + */ + IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequest.java index e0767cc6687..97c8f6ca8c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBinom_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Binom_Inv Request. */ -public interface IWorkbookFunctionsBinom_InvRequest extends IBaseWorkbookFunctionsBinom_InvRequest { +public interface IWorkbookFunctionsBinom_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBinom_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBinom_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBinom_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequestBuilder.java index 164fdd0ef95..356340e455d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBinom_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBinom_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Binom_Inv Request Builder. */ -public interface IWorkbookFunctionsBinom_InvRequestBuilder extends IBaseWorkbookFunctionsBinom_InvRequestBuilder { +public interface IWorkbookFunctionsBinom_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBinom_InvRequest + * + * @return the IWorkbookFunctionsBinom_InvRequest instance + */ + IWorkbookFunctionsBinom_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBinom_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBinom_InvRequest instance + */ + IWorkbookFunctionsBinom_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequest.java index f996ff18f0f..dc537aad4c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitandRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitand Request. */ -public interface IWorkbookFunctionsBitandRequest extends IBaseWorkbookFunctionsBitandRequest { +public interface IWorkbookFunctionsBitandRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBitandRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBitandRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBitandRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequestBuilder.java index 1918fa3f2c0..08593bd4f8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitandRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitandRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitand Request Builder. */ -public interface IWorkbookFunctionsBitandRequestBuilder extends IBaseWorkbookFunctionsBitandRequestBuilder { +public interface IWorkbookFunctionsBitandRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBitandRequest + * + * @return the IWorkbookFunctionsBitandRequest instance + */ + IWorkbookFunctionsBitandRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBitandRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitandRequest instance + */ + IWorkbookFunctionsBitandRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequest.java index deab8994bd1..647d73785a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitlshiftRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitlshift Request. */ -public interface IWorkbookFunctionsBitlshiftRequest extends IBaseWorkbookFunctionsBitlshiftRequest { +public interface IWorkbookFunctionsBitlshiftRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBitlshiftRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBitlshiftRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBitlshiftRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequestBuilder.java index 07b75dc7aa6..f45368e8419 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitlshiftRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitlshiftRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitlshift Request Builder. */ -public interface IWorkbookFunctionsBitlshiftRequestBuilder extends IBaseWorkbookFunctionsBitlshiftRequestBuilder { +public interface IWorkbookFunctionsBitlshiftRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBitlshiftRequest + * + * @return the IWorkbookFunctionsBitlshiftRequest instance + */ + IWorkbookFunctionsBitlshiftRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBitlshiftRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitlshiftRequest instance + */ + IWorkbookFunctionsBitlshiftRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequest.java index 8561b2aaa2f..dfe93a78c5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitor Request. */ -public interface IWorkbookFunctionsBitorRequest extends IBaseWorkbookFunctionsBitorRequest { +public interface IWorkbookFunctionsBitorRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBitorRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBitorRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBitorRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequestBuilder.java index fd408a84e58..9ee1c44a153 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitorRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitor Request Builder. */ -public interface IWorkbookFunctionsBitorRequestBuilder extends IBaseWorkbookFunctionsBitorRequestBuilder { +public interface IWorkbookFunctionsBitorRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBitorRequest + * + * @return the IWorkbookFunctionsBitorRequest instance + */ + IWorkbookFunctionsBitorRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBitorRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitorRequest instance + */ + IWorkbookFunctionsBitorRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequest.java index 2b5cedf3727..292c9299f1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitrshiftRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitrshift Request. */ -public interface IWorkbookFunctionsBitrshiftRequest extends IBaseWorkbookFunctionsBitrshiftRequest { +public interface IWorkbookFunctionsBitrshiftRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBitrshiftRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBitrshiftRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBitrshiftRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequestBuilder.java index 7f0fa5eb595..63b9b5d0292 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitrshiftRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitrshiftRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitrshift Request Builder. */ -public interface IWorkbookFunctionsBitrshiftRequestBuilder extends IBaseWorkbookFunctionsBitrshiftRequestBuilder { +public interface IWorkbookFunctionsBitrshiftRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBitrshiftRequest + * + * @return the IWorkbookFunctionsBitrshiftRequest instance + */ + IWorkbookFunctionsBitrshiftRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBitrshiftRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitrshiftRequest instance + */ + IWorkbookFunctionsBitrshiftRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequest.java index a6317a7af43..fcb63b95ab3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitxorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitxor Request. */ -public interface IWorkbookFunctionsBitxorRequest extends IBaseWorkbookFunctionsBitxorRequest { +public interface IWorkbookFunctionsBitxorRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsBitxorRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsBitxorRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsBitxorRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequestBuilder.java index 904abf1ded2..623088c8db4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsBitxorRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsBitxorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Bitxor Request Builder. */ -public interface IWorkbookFunctionsBitxorRequestBuilder extends IBaseWorkbookFunctionsBitxorRequestBuilder { +public interface IWorkbookFunctionsBitxorRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsBitxorRequest + * + * @return the IWorkbookFunctionsBitxorRequest instance + */ + IWorkbookFunctionsBitxorRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsBitxorRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitxorRequest instance + */ + IWorkbookFunctionsBitxorRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequest.java index d5d6bc22eb3..85037cf8753 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCeiling_MathRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ceiling_Math Request. */ -public interface IWorkbookFunctionsCeiling_MathRequest extends IBaseWorkbookFunctionsCeiling_MathRequest { +public interface IWorkbookFunctionsCeiling_MathRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCeiling_MathRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCeiling_MathRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCeiling_MathRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequestBuilder.java index 4de7bd2ccf0..2a4dcf33891 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_MathRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCeiling_MathRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ceiling_Math Request Builder. */ -public interface IWorkbookFunctionsCeiling_MathRequestBuilder extends IBaseWorkbookFunctionsCeiling_MathRequestBuilder { +public interface IWorkbookFunctionsCeiling_MathRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCeiling_MathRequest + * + * @return the IWorkbookFunctionsCeiling_MathRequest instance + */ + IWorkbookFunctionsCeiling_MathRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCeiling_MathRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCeiling_MathRequest instance + */ + IWorkbookFunctionsCeiling_MathRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequest.java index e352e7c2e2b..a79edd7c185 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCeiling_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ceiling_Precise Request. */ -public interface IWorkbookFunctionsCeiling_PreciseRequest extends IBaseWorkbookFunctionsCeiling_PreciseRequest { +public interface IWorkbookFunctionsCeiling_PreciseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCeiling_PreciseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCeiling_PreciseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCeiling_PreciseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequestBuilder.java index 4d85fd3cf18..b611fb9723a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCeiling_PreciseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ceiling_Precise Request Builder. */ -public interface IWorkbookFunctionsCeiling_PreciseRequestBuilder extends IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder { +public interface IWorkbookFunctionsCeiling_PreciseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCeiling_PreciseRequest + * + * @return the IWorkbookFunctionsCeiling_PreciseRequest instance + */ + IWorkbookFunctionsCeiling_PreciseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCeiling_PreciseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCeiling_PreciseRequest instance + */ + IWorkbookFunctionsCeiling_PreciseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequest.java index fbb87ec821d..1a03d69a95c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCharRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Char Request. */ -public interface IWorkbookFunctionsCharRequest extends IBaseWorkbookFunctionsCharRequest { +public interface IWorkbookFunctionsCharRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCharRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCharRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCharRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequestBuilder.java index 2a3208da777..cc0921b87a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCharRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCharRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Char Request Builder. */ -public interface IWorkbookFunctionsCharRequestBuilder extends IBaseWorkbookFunctionsCharRequestBuilder { +public interface IWorkbookFunctionsCharRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCharRequest + * + * @return the IWorkbookFunctionsCharRequest instance + */ + IWorkbookFunctionsCharRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCharRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCharRequest instance + */ + IWorkbookFunctionsCharRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequest.java index 37a061cf7ef..8ffde57d36b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Dist Request. */ -public interface IWorkbookFunctionsChiSq_DistRequest extends IBaseWorkbookFunctionsChiSq_DistRequest { +public interface IWorkbookFunctionsChiSq_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsChiSq_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequestBuilder.java index f3a2d097c54..90c47d440c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Dist Request Builder. */ -public interface IWorkbookFunctionsChiSq_DistRequestBuilder extends IBaseWorkbookFunctionsChiSq_DistRequestBuilder { +public interface IWorkbookFunctionsChiSq_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsChiSq_DistRequest + * + * @return the IWorkbookFunctionsChiSq_DistRequest instance + */ + IWorkbookFunctionsChiSq_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsChiSq_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_DistRequest instance + */ + IWorkbookFunctionsChiSq_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequest.java index e606f643633..e6f25efbe75 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_Dist_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Dist_RTRequest. */ -public interface IWorkbookFunctionsChiSq_Dist_RTRequest extends IBaseWorkbookFunctionsChiSq_Dist_RTRequest { +public interface IWorkbookFunctionsChiSq_Dist_RTRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_Dist_RTRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsChiSq_Dist_RTRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_Dist_RTRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java index cd37887f0f5..be26841bb2f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Dist_RTRequest Builder. */ -public interface IWorkbookFunctionsChiSq_Dist_RTRequestBuilder extends IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder { +public interface IWorkbookFunctionsChiSq_Dist_RTRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest + * + * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance + */ + IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance + */ + IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequest.java index c7802eb7ceb..c8629edf6a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Inv Request. */ -public interface IWorkbookFunctionsChiSq_InvRequest extends IBaseWorkbookFunctionsChiSq_InvRequest { +public interface IWorkbookFunctionsChiSq_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsChiSq_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequestBuilder.java index 3a0a5a294df..8d2a105f055 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Inv Request Builder. */ -public interface IWorkbookFunctionsChiSq_InvRequestBuilder extends IBaseWorkbookFunctionsChiSq_InvRequestBuilder { +public interface IWorkbookFunctionsChiSq_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsChiSq_InvRequest + * + * @return the IWorkbookFunctionsChiSq_InvRequest instance + */ + IWorkbookFunctionsChiSq_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsChiSq_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_InvRequest instance + */ + IWorkbookFunctionsChiSq_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequest.java index 2fb9513f3cc..74578909412 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_Inv_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Inv_RTRequest. */ -public interface IWorkbookFunctionsChiSq_Inv_RTRequest extends IBaseWorkbookFunctionsChiSq_Inv_RTRequest { +public interface IWorkbookFunctionsChiSq_Inv_RTRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_Inv_RTRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsChiSq_Inv_RTRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsChiSq_Inv_RTRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java index a3085753076..b9cd175603c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Chi Sq_Inv_RTRequest Builder. */ -public interface IWorkbookFunctionsChiSq_Inv_RTRequestBuilder extends IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder { +public interface IWorkbookFunctionsChiSq_Inv_RTRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest + * + * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance + */ + IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance + */ + IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequest.java index 4cc50a9d85b..48dcda645aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChooseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Choose Request. */ -public interface IWorkbookFunctionsChooseRequest extends IBaseWorkbookFunctionsChooseRequest { +public interface IWorkbookFunctionsChooseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsChooseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsChooseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsChooseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequestBuilder.java index 212c150bac0..d49acd62f93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsChooseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsChooseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Choose Request Builder. */ -public interface IWorkbookFunctionsChooseRequestBuilder extends IBaseWorkbookFunctionsChooseRequestBuilder { +public interface IWorkbookFunctionsChooseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsChooseRequest + * + * @return the IWorkbookFunctionsChooseRequest instance + */ + IWorkbookFunctionsChooseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsChooseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChooseRequest instance + */ + IWorkbookFunctionsChooseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequest.java index ba8d7d2cc27..d8ce4f712bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCleanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Clean Request. */ -public interface IWorkbookFunctionsCleanRequest extends IBaseWorkbookFunctionsCleanRequest { +public interface IWorkbookFunctionsCleanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCleanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCleanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCleanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequestBuilder.java index 55d64fe77fa..369ca3f53c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCleanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCleanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Clean Request Builder. */ -public interface IWorkbookFunctionsCleanRequestBuilder extends IBaseWorkbookFunctionsCleanRequestBuilder { +public interface IWorkbookFunctionsCleanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCleanRequest + * + * @return the IWorkbookFunctionsCleanRequest instance + */ + IWorkbookFunctionsCleanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCleanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCleanRequest instance + */ + IWorkbookFunctionsCleanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequest.java index 3a5cffdad6a..6261e4674c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Code Request. */ -public interface IWorkbookFunctionsCodeRequest extends IBaseWorkbookFunctionsCodeRequest { +public interface IWorkbookFunctionsCodeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCodeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCodeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCodeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequestBuilder.java index b631d8d94f3..db5edb3aab8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCodeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCodeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Code Request Builder. */ -public interface IWorkbookFunctionsCodeRequestBuilder extends IBaseWorkbookFunctionsCodeRequestBuilder { +public interface IWorkbookFunctionsCodeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCodeRequest + * + * @return the IWorkbookFunctionsCodeRequest instance + */ + IWorkbookFunctionsCodeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCodeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCodeRequest instance + */ + IWorkbookFunctionsCodeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequest.java index 55fa79881cd..22c7ad77587 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsColumnsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Columns Request. */ -public interface IWorkbookFunctionsColumnsRequest extends IBaseWorkbookFunctionsColumnsRequest { +public interface IWorkbookFunctionsColumnsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsColumnsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsColumnsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsColumnsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequestBuilder.java index ec044fdcfb1..2128a944771 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsColumnsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsColumnsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Columns Request Builder. */ -public interface IWorkbookFunctionsColumnsRequestBuilder extends IBaseWorkbookFunctionsColumnsRequestBuilder { +public interface IWorkbookFunctionsColumnsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsColumnsRequest + * + * @return the IWorkbookFunctionsColumnsRequest instance + */ + IWorkbookFunctionsColumnsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsColumnsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsColumnsRequest instance + */ + IWorkbookFunctionsColumnsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequest.java index b9a2e60e3a3..747c4e49a48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCombinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Combin Request. */ -public interface IWorkbookFunctionsCombinRequest extends IBaseWorkbookFunctionsCombinRequest { +public interface IWorkbookFunctionsCombinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCombinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCombinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCombinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequestBuilder.java index 529bdfe325b..fdec317106e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCombinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Combin Request Builder. */ -public interface IWorkbookFunctionsCombinRequestBuilder extends IBaseWorkbookFunctionsCombinRequestBuilder { +public interface IWorkbookFunctionsCombinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCombinRequest + * + * @return the IWorkbookFunctionsCombinRequest instance + */ + IWorkbookFunctionsCombinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCombinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCombinRequest instance + */ + IWorkbookFunctionsCombinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequest.java index a488e7e853a..13b52202223 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCombinaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Combina Request. */ -public interface IWorkbookFunctionsCombinaRequest extends IBaseWorkbookFunctionsCombinaRequest { +public interface IWorkbookFunctionsCombinaRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCombinaRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCombinaRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCombinaRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequestBuilder.java index 1a7f7dcb94d..83307d3b216 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCombinaRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCombinaRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Combina Request Builder. */ -public interface IWorkbookFunctionsCombinaRequestBuilder extends IBaseWorkbookFunctionsCombinaRequestBuilder { +public interface IWorkbookFunctionsCombinaRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCombinaRequest + * + * @return the IWorkbookFunctionsCombinaRequest instance + */ + IWorkbookFunctionsCombinaRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCombinaRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCombinaRequest instance + */ + IWorkbookFunctionsCombinaRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequest.java index 9ab8a49031d..781d42d9e8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsComplexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Complex Request. */ -public interface IWorkbookFunctionsComplexRequest extends IBaseWorkbookFunctionsComplexRequest { +public interface IWorkbookFunctionsComplexRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsComplexRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsComplexRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsComplexRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequestBuilder.java index 3a8578a0cf5..0602cb10bbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsComplexRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsComplexRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Complex Request Builder. */ -public interface IWorkbookFunctionsComplexRequestBuilder extends IBaseWorkbookFunctionsComplexRequestBuilder { +public interface IWorkbookFunctionsComplexRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsComplexRequest + * + * @return the IWorkbookFunctionsComplexRequest instance + */ + IWorkbookFunctionsComplexRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsComplexRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsComplexRequest instance + */ + IWorkbookFunctionsComplexRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequest.java index 9190470e274..e878c5c7806 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConcatenateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Concatenate Request. */ -public interface IWorkbookFunctionsConcatenateRequest extends IBaseWorkbookFunctionsConcatenateRequest { +public interface IWorkbookFunctionsConcatenateRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsConcatenateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsConcatenateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsConcatenateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequestBuilder.java index 39300c9e973..cb1a371e2b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConcatenateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConcatenateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Concatenate Request Builder. */ -public interface IWorkbookFunctionsConcatenateRequestBuilder extends IBaseWorkbookFunctionsConcatenateRequestBuilder { +public interface IWorkbookFunctionsConcatenateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsConcatenateRequest + * + * @return the IWorkbookFunctionsConcatenateRequest instance + */ + IWorkbookFunctionsConcatenateRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsConcatenateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConcatenateRequest instance + */ + IWorkbookFunctionsConcatenateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequest.java index b93dd82ec9b..41ed75fdeab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConfidence_NormRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Confidence_Norm Request. */ -public interface IWorkbookFunctionsConfidence_NormRequest extends IBaseWorkbookFunctionsConfidence_NormRequest { +public interface IWorkbookFunctionsConfidence_NormRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsConfidence_NormRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsConfidence_NormRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsConfidence_NormRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequestBuilder.java index 47f5636dcc5..88d71433aba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_NormRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConfidence_NormRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Confidence_Norm Request Builder. */ -public interface IWorkbookFunctionsConfidence_NormRequestBuilder extends IBaseWorkbookFunctionsConfidence_NormRequestBuilder { +public interface IWorkbookFunctionsConfidence_NormRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsConfidence_NormRequest + * + * @return the IWorkbookFunctionsConfidence_NormRequest instance + */ + IWorkbookFunctionsConfidence_NormRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsConfidence_NormRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConfidence_NormRequest instance + */ + IWorkbookFunctionsConfidence_NormRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequest.java index d65287d7814..d9b8c7ab2a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConfidence_TRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Confidence_TRequest. */ -public interface IWorkbookFunctionsConfidence_TRequest extends IBaseWorkbookFunctionsConfidence_TRequest { +public interface IWorkbookFunctionsConfidence_TRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsConfidence_TRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsConfidence_TRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsConfidence_TRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequestBuilder.java index 0ab877d5821..6dcec70e475 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConfidence_TRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConfidence_TRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Confidence_TRequest Builder. */ -public interface IWorkbookFunctionsConfidence_TRequestBuilder extends IBaseWorkbookFunctionsConfidence_TRequestBuilder { +public interface IWorkbookFunctionsConfidence_TRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsConfidence_TRequest + * + * @return the IWorkbookFunctionsConfidence_TRequest instance + */ + IWorkbookFunctionsConfidence_TRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsConfidence_TRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConfidence_TRequest instance + */ + IWorkbookFunctionsConfidence_TRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequest.java index 97a88068a28..6d795bcf122 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConvertRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Convert Request. */ -public interface IWorkbookFunctionsConvertRequest extends IBaseWorkbookFunctionsConvertRequest { +public interface IWorkbookFunctionsConvertRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsConvertRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsConvertRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsConvertRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequestBuilder.java index bf8eb0f7245..31342491809 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsConvertRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsConvertRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Convert Request Builder. */ -public interface IWorkbookFunctionsConvertRequestBuilder extends IBaseWorkbookFunctionsConvertRequestBuilder { +public interface IWorkbookFunctionsConvertRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsConvertRequest + * + * @return the IWorkbookFunctionsConvertRequest instance + */ + IWorkbookFunctionsConvertRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsConvertRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConvertRequest instance + */ + IWorkbookFunctionsConvertRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequest.java index c98b46a7c49..e0bae2b1465 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCosRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cos Request. */ -public interface IWorkbookFunctionsCosRequest extends IBaseWorkbookFunctionsCosRequest { +public interface IWorkbookFunctionsCosRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCosRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCosRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCosRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequestBuilder.java index 795577ba7ed..10f56f793e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCosRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCosRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cos Request Builder. */ -public interface IWorkbookFunctionsCosRequestBuilder extends IBaseWorkbookFunctionsCosRequestBuilder { +public interface IWorkbookFunctionsCosRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCosRequest + * + * @return the IWorkbookFunctionsCosRequest instance + */ + IWorkbookFunctionsCosRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCosRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCosRequest instance + */ + IWorkbookFunctionsCosRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequest.java index 1187bc11686..1fadb09345f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cosh Request. */ -public interface IWorkbookFunctionsCoshRequest extends IBaseWorkbookFunctionsCoshRequest { +public interface IWorkbookFunctionsCoshRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoshRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoshRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoshRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequestBuilder.java index 7a4c02db2e3..566907b53e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoshRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoshRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cosh Request Builder. */ -public interface IWorkbookFunctionsCoshRequestBuilder extends IBaseWorkbookFunctionsCoshRequestBuilder { +public interface IWorkbookFunctionsCoshRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoshRequest + * + * @return the IWorkbookFunctionsCoshRequest instance + */ + IWorkbookFunctionsCoshRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoshRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoshRequest instance + */ + IWorkbookFunctionsCoshRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequest.java index 875ff8acf37..cea67f550f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cot Request. */ -public interface IWorkbookFunctionsCotRequest extends IBaseWorkbookFunctionsCotRequest { +public interface IWorkbookFunctionsCotRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCotRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCotRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCotRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequestBuilder.java index 6b0520bc75b..295917adbe5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCotRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCotRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cot Request Builder. */ -public interface IWorkbookFunctionsCotRequestBuilder extends IBaseWorkbookFunctionsCotRequestBuilder { +public interface IWorkbookFunctionsCotRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCotRequest + * + * @return the IWorkbookFunctionsCotRequest instance + */ + IWorkbookFunctionsCotRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCotRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCotRequest instance + */ + IWorkbookFunctionsCotRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequest.java index 69551c1ffb7..a8e1252c147 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCothRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coth Request. */ -public interface IWorkbookFunctionsCothRequest extends IBaseWorkbookFunctionsCothRequest { +public interface IWorkbookFunctionsCothRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCothRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCothRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCothRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequestBuilder.java index 836f93fd295..23b07e62c7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCothRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCothRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coth Request Builder. */ -public interface IWorkbookFunctionsCothRequestBuilder extends IBaseWorkbookFunctionsCothRequestBuilder { +public interface IWorkbookFunctionsCothRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCothRequest + * + * @return the IWorkbookFunctionsCothRequest instance + */ + IWorkbookFunctionsCothRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCothRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCothRequest instance + */ + IWorkbookFunctionsCothRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequest.java index 1ac76f6fca0..eedd60c833a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count ARequest. */ -public interface IWorkbookFunctionsCountARequest extends IBaseWorkbookFunctionsCountARequest { +public interface IWorkbookFunctionsCountARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCountARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCountARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCountARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequestBuilder.java index a7121c575f7..66075f04eff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count ARequest Builder. */ -public interface IWorkbookFunctionsCountARequestBuilder extends IBaseWorkbookFunctionsCountARequestBuilder { +public interface IWorkbookFunctionsCountARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCountARequest + * + * @return the IWorkbookFunctionsCountARequest instance + */ + IWorkbookFunctionsCountARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCountARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountARequest instance + */ + IWorkbookFunctionsCountARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequest.java index 173e4b89bfb..3612ab677b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountBlankRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count Blank Request. */ -public interface IWorkbookFunctionsCountBlankRequest extends IBaseWorkbookFunctionsCountBlankRequest { +public interface IWorkbookFunctionsCountBlankRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCountBlankRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCountBlankRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCountBlankRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequestBuilder.java index 8de1415db49..34abf9bf3da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountBlankRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountBlankRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count Blank Request Builder. */ -public interface IWorkbookFunctionsCountBlankRequestBuilder extends IBaseWorkbookFunctionsCountBlankRequestBuilder { +public interface IWorkbookFunctionsCountBlankRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCountBlankRequest + * + * @return the IWorkbookFunctionsCountBlankRequest instance + */ + IWorkbookFunctionsCountBlankRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCountBlankRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountBlankRequest instance + */ + IWorkbookFunctionsCountBlankRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequest.java index ca45b0b6aca..fc05303600b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count If Request. */ -public interface IWorkbookFunctionsCountIfRequest extends IBaseWorkbookFunctionsCountIfRequest { +public interface IWorkbookFunctionsCountIfRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCountIfRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCountIfRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCountIfRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequestBuilder.java index e8f4561da13..38c8edbf8e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountIfRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count If Request Builder. */ -public interface IWorkbookFunctionsCountIfRequestBuilder extends IBaseWorkbookFunctionsCountIfRequestBuilder { +public interface IWorkbookFunctionsCountIfRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCountIfRequest + * + * @return the IWorkbookFunctionsCountIfRequest instance + */ + IWorkbookFunctionsCountIfRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCountIfRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountIfRequest instance + */ + IWorkbookFunctionsCountIfRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequest.java index b638c73c275..e6c91710b3a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountIfsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count Ifs Request. */ -public interface IWorkbookFunctionsCountIfsRequest extends IBaseWorkbookFunctionsCountIfsRequest { +public interface IWorkbookFunctionsCountIfsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCountIfsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCountIfsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCountIfsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequestBuilder.java index ef70f53bbec..7a7fb937d6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountIfsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountIfsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count Ifs Request Builder. */ -public interface IWorkbookFunctionsCountIfsRequestBuilder extends IBaseWorkbookFunctionsCountIfsRequestBuilder { +public interface IWorkbookFunctionsCountIfsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCountIfsRequest + * + * @return the IWorkbookFunctionsCountIfsRequest instance + */ + IWorkbookFunctionsCountIfsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCountIfsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountIfsRequest instance + */ + IWorkbookFunctionsCountIfsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequest.java index 85df11a7018..fc1cf2ce098 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count Request. */ -public interface IWorkbookFunctionsCountRequest extends IBaseWorkbookFunctionsCountRequest { +public interface IWorkbookFunctionsCountRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCountRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCountRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequestBuilder.java index 88106445795..97af1fbee1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Count Request Builder. */ -public interface IWorkbookFunctionsCountRequestBuilder extends IBaseWorkbookFunctionsCountRequestBuilder { +public interface IWorkbookFunctionsCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCountRequest + * + * @return the IWorkbookFunctionsCountRequest instance + */ + IWorkbookFunctionsCountRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountRequest instance + */ + IWorkbookFunctionsCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequest.java index 88ca79b2d3e..4d3bd7683e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupDayBsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Day Bs Request. */ -public interface IWorkbookFunctionsCoupDayBsRequest extends IBaseWorkbookFunctionsCoupDayBsRequest { +public interface IWorkbookFunctionsCoupDayBsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoupDayBsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoupDayBsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoupDayBsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequestBuilder.java index b1d15484a95..94571859e1b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDayBsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupDayBsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Day Bs Request Builder. */ -public interface IWorkbookFunctionsCoupDayBsRequestBuilder extends IBaseWorkbookFunctionsCoupDayBsRequestBuilder { +public interface IWorkbookFunctionsCoupDayBsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoupDayBsRequest + * + * @return the IWorkbookFunctionsCoupDayBsRequest instance + */ + IWorkbookFunctionsCoupDayBsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoupDayBsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupDayBsRequest instance + */ + IWorkbookFunctionsCoupDayBsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequest.java index c719be545bb..62c0d606f7d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupDaysNcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Days Nc Request. */ -public interface IWorkbookFunctionsCoupDaysNcRequest extends IBaseWorkbookFunctionsCoupDaysNcRequest { +public interface IWorkbookFunctionsCoupDaysNcRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoupDaysNcRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoupDaysNcRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoupDaysNcRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequestBuilder.java index 5d6861a25a0..7abd86b7ddb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysNcRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupDaysNcRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Days Nc Request Builder. */ -public interface IWorkbookFunctionsCoupDaysNcRequestBuilder extends IBaseWorkbookFunctionsCoupDaysNcRequestBuilder { +public interface IWorkbookFunctionsCoupDaysNcRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoupDaysNcRequest + * + * @return the IWorkbookFunctionsCoupDaysNcRequest instance + */ + IWorkbookFunctionsCoupDaysNcRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoupDaysNcRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupDaysNcRequest instance + */ + IWorkbookFunctionsCoupDaysNcRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequest.java index 19def03897c..da329a3ca83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupDaysRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Days Request. */ -public interface IWorkbookFunctionsCoupDaysRequest extends IBaseWorkbookFunctionsCoupDaysRequest { +public interface IWorkbookFunctionsCoupDaysRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoupDaysRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoupDaysRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoupDaysRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequestBuilder.java index f71361c29e3..98ec72f3c97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupDaysRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupDaysRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Days Request Builder. */ -public interface IWorkbookFunctionsCoupDaysRequestBuilder extends IBaseWorkbookFunctionsCoupDaysRequestBuilder { +public interface IWorkbookFunctionsCoupDaysRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoupDaysRequest + * + * @return the IWorkbookFunctionsCoupDaysRequest instance + */ + IWorkbookFunctionsCoupDaysRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoupDaysRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupDaysRequest instance + */ + IWorkbookFunctionsCoupDaysRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequest.java index 43b48d47bba..4113fa52aa4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupNcdRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Ncd Request. */ -public interface IWorkbookFunctionsCoupNcdRequest extends IBaseWorkbookFunctionsCoupNcdRequest { +public interface IWorkbookFunctionsCoupNcdRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoupNcdRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoupNcdRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoupNcdRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequestBuilder.java index 7c6579826c9..9415780208c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNcdRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupNcdRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Ncd Request Builder. */ -public interface IWorkbookFunctionsCoupNcdRequestBuilder extends IBaseWorkbookFunctionsCoupNcdRequestBuilder { +public interface IWorkbookFunctionsCoupNcdRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoupNcdRequest + * + * @return the IWorkbookFunctionsCoupNcdRequest instance + */ + IWorkbookFunctionsCoupNcdRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoupNcdRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupNcdRequest instance + */ + IWorkbookFunctionsCoupNcdRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequest.java index 50c7b46455d..ed3a7572dd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupNumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Num Request. */ -public interface IWorkbookFunctionsCoupNumRequest extends IBaseWorkbookFunctionsCoupNumRequest { +public interface IWorkbookFunctionsCoupNumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoupNumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoupNumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoupNumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequestBuilder.java index 113bacb1461..57de68f9a84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupNumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupNumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Num Request Builder. */ -public interface IWorkbookFunctionsCoupNumRequestBuilder extends IBaseWorkbookFunctionsCoupNumRequestBuilder { +public interface IWorkbookFunctionsCoupNumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoupNumRequest + * + * @return the IWorkbookFunctionsCoupNumRequest instance + */ + IWorkbookFunctionsCoupNumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoupNumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupNumRequest instance + */ + IWorkbookFunctionsCoupNumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequest.java index 8e6b462473b..c3b242c11c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupPcdRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Pcd Request. */ -public interface IWorkbookFunctionsCoupPcdRequest extends IBaseWorkbookFunctionsCoupPcdRequest { +public interface IWorkbookFunctionsCoupPcdRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCoupPcdRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCoupPcdRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCoupPcdRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequestBuilder.java index d861049f2d5..adbd8d8db03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCoupPcdRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCoupPcdRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Coup Pcd Request Builder. */ -public interface IWorkbookFunctionsCoupPcdRequestBuilder extends IBaseWorkbookFunctionsCoupPcdRequestBuilder { +public interface IWorkbookFunctionsCoupPcdRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCoupPcdRequest + * + * @return the IWorkbookFunctionsCoupPcdRequest instance + */ + IWorkbookFunctionsCoupPcdRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCoupPcdRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupPcdRequest instance + */ + IWorkbookFunctionsCoupPcdRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequest.java index cd0ef0f1b14..552554f25cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Csc Request. */ -public interface IWorkbookFunctionsCscRequest extends IBaseWorkbookFunctionsCscRequest { +public interface IWorkbookFunctionsCscRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCscRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCscRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCscRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequestBuilder.java index a537416b6a8..368afc6b5d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCscRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCscRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Csc Request Builder. */ -public interface IWorkbookFunctionsCscRequestBuilder extends IBaseWorkbookFunctionsCscRequestBuilder { +public interface IWorkbookFunctionsCscRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCscRequest + * + * @return the IWorkbookFunctionsCscRequest instance + */ + IWorkbookFunctionsCscRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCscRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCscRequest instance + */ + IWorkbookFunctionsCscRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequest.java index 5d97b68e08b..23b6b0d1fb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCschRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Csch Request. */ -public interface IWorkbookFunctionsCschRequest extends IBaseWorkbookFunctionsCschRequest { +public interface IWorkbookFunctionsCschRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCschRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCschRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCschRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequestBuilder.java index 540bae4a8da..8327d12dd02 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCschRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCschRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Csch Request Builder. */ -public interface IWorkbookFunctionsCschRequestBuilder extends IBaseWorkbookFunctionsCschRequestBuilder { +public interface IWorkbookFunctionsCschRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCschRequest + * + * @return the IWorkbookFunctionsCschRequest instance + */ + IWorkbookFunctionsCschRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCschRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCschRequest instance + */ + IWorkbookFunctionsCschRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequest.java index ab3f20c0e02..6f72956c631 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCumIPmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cum IPmt Request. */ -public interface IWorkbookFunctionsCumIPmtRequest extends IBaseWorkbookFunctionsCumIPmtRequest { +public interface IWorkbookFunctionsCumIPmtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCumIPmtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCumIPmtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCumIPmtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequestBuilder.java index c8474144ddf..000d37182ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumIPmtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCumIPmtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cum IPmt Request Builder. */ -public interface IWorkbookFunctionsCumIPmtRequestBuilder extends IBaseWorkbookFunctionsCumIPmtRequestBuilder { +public interface IWorkbookFunctionsCumIPmtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCumIPmtRequest + * + * @return the IWorkbookFunctionsCumIPmtRequest instance + */ + IWorkbookFunctionsCumIPmtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCumIPmtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCumIPmtRequest instance + */ + IWorkbookFunctionsCumIPmtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequest.java index eda43f78765..f52c927b64c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCumPrincRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cum Princ Request. */ -public interface IWorkbookFunctionsCumPrincRequest extends IBaseWorkbookFunctionsCumPrincRequest { +public interface IWorkbookFunctionsCumPrincRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsCumPrincRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsCumPrincRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsCumPrincRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequestBuilder.java index dcc0f72b65b..1f462aee4c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsCumPrincRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsCumPrincRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Cum Princ Request Builder. */ -public interface IWorkbookFunctionsCumPrincRequestBuilder extends IBaseWorkbookFunctionsCumPrincRequestBuilder { +public interface IWorkbookFunctionsCumPrincRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsCumPrincRequest + * + * @return the IWorkbookFunctionsCumPrincRequest instance + */ + IWorkbookFunctionsCumPrincRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsCumPrincRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCumPrincRequest instance + */ + IWorkbookFunctionsCumPrincRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequest.java index 42770000ae4..b36574c4d6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Date Request. */ -public interface IWorkbookFunctionsDateRequest extends IBaseWorkbookFunctionsDateRequest { +public interface IWorkbookFunctionsDateRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequestBuilder.java index e0b6b00e88b..6f511241084 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Date Request Builder. */ -public interface IWorkbookFunctionsDateRequestBuilder extends IBaseWorkbookFunctionsDateRequestBuilder { +public interface IWorkbookFunctionsDateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDateRequest + * + * @return the IWorkbookFunctionsDateRequest instance + */ + IWorkbookFunctionsDateRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDateRequest instance + */ + IWorkbookFunctionsDateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequest.java index 4fb618c56dc..8af4744b0c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDatevalueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Datevalue Request. */ -public interface IWorkbookFunctionsDatevalueRequest extends IBaseWorkbookFunctionsDatevalueRequest { +public interface IWorkbookFunctionsDatevalueRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDatevalueRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDatevalueRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDatevalueRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequestBuilder.java index 8208f26b474..b71e53545d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDatevalueRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDatevalueRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Datevalue Request Builder. */ -public interface IWorkbookFunctionsDatevalueRequestBuilder extends IBaseWorkbookFunctionsDatevalueRequestBuilder { +public interface IWorkbookFunctionsDatevalueRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDatevalueRequest + * + * @return the IWorkbookFunctionsDatevalueRequest instance + */ + IWorkbookFunctionsDatevalueRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDatevalueRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDatevalueRequest instance + */ + IWorkbookFunctionsDatevalueRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequest.java index b1fb04e0bb7..02c34864873 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDaverageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Daverage Request. */ -public interface IWorkbookFunctionsDaverageRequest extends IBaseWorkbookFunctionsDaverageRequest { +public interface IWorkbookFunctionsDaverageRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDaverageRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDaverageRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDaverageRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequestBuilder.java index 4ca1df7c84e..7beb127d71c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaverageRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDaverageRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Daverage Request Builder. */ -public interface IWorkbookFunctionsDaverageRequestBuilder extends IBaseWorkbookFunctionsDaverageRequestBuilder { +public interface IWorkbookFunctionsDaverageRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDaverageRequest + * + * @return the IWorkbookFunctionsDaverageRequest instance + */ + IWorkbookFunctionsDaverageRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDaverageRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDaverageRequest instance + */ + IWorkbookFunctionsDaverageRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequest.java index 8c72a0df682..857ec5dc8e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Day Request. */ -public interface IWorkbookFunctionsDayRequest extends IBaseWorkbookFunctionsDayRequest { +public interface IWorkbookFunctionsDayRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDayRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDayRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDayRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequestBuilder.java index bd6319fc83c..d1ddde92902 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDayRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDayRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Day Request Builder. */ -public interface IWorkbookFunctionsDayRequestBuilder extends IBaseWorkbookFunctionsDayRequestBuilder { +public interface IWorkbookFunctionsDayRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDayRequest + * + * @return the IWorkbookFunctionsDayRequest instance + */ + IWorkbookFunctionsDayRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDayRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDayRequest instance + */ + IWorkbookFunctionsDayRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360Request.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360Request.java index b2362ad3927..d6b813d0173 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360Request.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDays360Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Days360Request. */ -public interface IWorkbookFunctionsDays360Request extends IBaseWorkbookFunctionsDays360Request { +public interface IWorkbookFunctionsDays360Request { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDays360Request select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDays360Request top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDays360Request expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360RequestBuilder.java index a9c2f463fa1..a4ce56759b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDays360RequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDays360RequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Days360Request Builder. */ -public interface IWorkbookFunctionsDays360RequestBuilder extends IBaseWorkbookFunctionsDays360RequestBuilder { +public interface IWorkbookFunctionsDays360RequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDays360Request + * + * @return the IWorkbookFunctionsDays360Request instance + */ + IWorkbookFunctionsDays360Request buildRequest(); + + /** + * Creates the IWorkbookFunctionsDays360Request with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDays360Request instance + */ + IWorkbookFunctionsDays360Request buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequest.java index a7d1a04b583..d98783d02b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDaysRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Days Request. */ -public interface IWorkbookFunctionsDaysRequest extends IBaseWorkbookFunctionsDaysRequest { +public interface IWorkbookFunctionsDaysRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDaysRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDaysRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDaysRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequestBuilder.java index bca43270afd..77643211181 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDaysRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDaysRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Days Request Builder. */ -public interface IWorkbookFunctionsDaysRequestBuilder extends IBaseWorkbookFunctionsDaysRequestBuilder { +public interface IWorkbookFunctionsDaysRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDaysRequest + * + * @return the IWorkbookFunctionsDaysRequest instance + */ + IWorkbookFunctionsDaysRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDaysRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDaysRequest instance + */ + IWorkbookFunctionsDaysRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequest.java index b6c09ffb6e6..197f68b5975 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Db Request. */ -public interface IWorkbookFunctionsDbRequest extends IBaseWorkbookFunctionsDbRequest { +public interface IWorkbookFunctionsDbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequestBuilder.java index ceab6fcbb2d..0920503ece2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Db Request Builder. */ -public interface IWorkbookFunctionsDbRequestBuilder extends IBaseWorkbookFunctionsDbRequestBuilder { +public interface IWorkbookFunctionsDbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDbRequest + * + * @return the IWorkbookFunctionsDbRequest instance + */ + IWorkbookFunctionsDbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDbRequest instance + */ + IWorkbookFunctionsDbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequest.java index 0bf9dd461f5..e6792bbafce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDbcsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dbcs Request. */ -public interface IWorkbookFunctionsDbcsRequest extends IBaseWorkbookFunctionsDbcsRequest { +public interface IWorkbookFunctionsDbcsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDbcsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDbcsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDbcsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequestBuilder.java index 9acccf30b53..d9ff8704061 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDbcsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDbcsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dbcs Request Builder. */ -public interface IWorkbookFunctionsDbcsRequestBuilder extends IBaseWorkbookFunctionsDbcsRequestBuilder { +public interface IWorkbookFunctionsDbcsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDbcsRequest + * + * @return the IWorkbookFunctionsDbcsRequest instance + */ + IWorkbookFunctionsDbcsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDbcsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDbcsRequest instance + */ + IWorkbookFunctionsDbcsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequest.java index 7460f839d9d..cb8c45d05bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDcountARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dcount ARequest. */ -public interface IWorkbookFunctionsDcountARequest extends IBaseWorkbookFunctionsDcountARequest { +public interface IWorkbookFunctionsDcountARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDcountARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDcountARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDcountARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequestBuilder.java index 00848f9c3e8..9b08f305e51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDcountARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dcount ARequest Builder. */ -public interface IWorkbookFunctionsDcountARequestBuilder extends IBaseWorkbookFunctionsDcountARequestBuilder { +public interface IWorkbookFunctionsDcountARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDcountARequest + * + * @return the IWorkbookFunctionsDcountARequest instance + */ + IWorkbookFunctionsDcountARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDcountARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDcountARequest instance + */ + IWorkbookFunctionsDcountARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequest.java index e4c89d0ee77..8b562c192a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDcountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dcount Request. */ -public interface IWorkbookFunctionsDcountRequest extends IBaseWorkbookFunctionsDcountRequest { +public interface IWorkbookFunctionsDcountRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDcountRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDcountRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDcountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequestBuilder.java index 3757ca91c34..c3a54b6732f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDcountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDcountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dcount Request Builder. */ -public interface IWorkbookFunctionsDcountRequestBuilder extends IBaseWorkbookFunctionsDcountRequestBuilder { +public interface IWorkbookFunctionsDcountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDcountRequest + * + * @return the IWorkbookFunctionsDcountRequest instance + */ + IWorkbookFunctionsDcountRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDcountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDcountRequest instance + */ + IWorkbookFunctionsDcountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequest.java index f88d4eb33d8..ddab050a0ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDdbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ddb Request. */ -public interface IWorkbookFunctionsDdbRequest extends IBaseWorkbookFunctionsDdbRequest { +public interface IWorkbookFunctionsDdbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDdbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDdbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDdbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequestBuilder.java index e029739ef1f..3b03b48dd18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDdbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDdbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ddb Request Builder. */ -public interface IWorkbookFunctionsDdbRequestBuilder extends IBaseWorkbookFunctionsDdbRequestBuilder { +public interface IWorkbookFunctionsDdbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDdbRequest + * + * @return the IWorkbookFunctionsDdbRequest instance + */ + IWorkbookFunctionsDdbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDdbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDdbRequest instance + */ + IWorkbookFunctionsDdbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequest.java index 27ec4cff41e..c137bfecda2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDec2BinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dec2Bin Request. */ -public interface IWorkbookFunctionsDec2BinRequest extends IBaseWorkbookFunctionsDec2BinRequest { +public interface IWorkbookFunctionsDec2BinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDec2BinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDec2BinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDec2BinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequestBuilder.java index 83c8e99ca38..f9550f27a03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2BinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDec2BinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dec2Bin Request Builder. */ -public interface IWorkbookFunctionsDec2BinRequestBuilder extends IBaseWorkbookFunctionsDec2BinRequestBuilder { +public interface IWorkbookFunctionsDec2BinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDec2BinRequest + * + * @return the IWorkbookFunctionsDec2BinRequest instance + */ + IWorkbookFunctionsDec2BinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDec2BinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDec2BinRequest instance + */ + IWorkbookFunctionsDec2BinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequest.java index ea335c746af..1c80e9f191e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDec2HexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dec2Hex Request. */ -public interface IWorkbookFunctionsDec2HexRequest extends IBaseWorkbookFunctionsDec2HexRequest { +public interface IWorkbookFunctionsDec2HexRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDec2HexRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDec2HexRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDec2HexRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequestBuilder.java index 6239862d2c6..7e5789e0733 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2HexRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDec2HexRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dec2Hex Request Builder. */ -public interface IWorkbookFunctionsDec2HexRequestBuilder extends IBaseWorkbookFunctionsDec2HexRequestBuilder { +public interface IWorkbookFunctionsDec2HexRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDec2HexRequest + * + * @return the IWorkbookFunctionsDec2HexRequest instance + */ + IWorkbookFunctionsDec2HexRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDec2HexRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDec2HexRequest instance + */ + IWorkbookFunctionsDec2HexRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequest.java index 7ceac287766..e89a63bc125 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDec2OctRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dec2Oct Request. */ -public interface IWorkbookFunctionsDec2OctRequest extends IBaseWorkbookFunctionsDec2OctRequest { +public interface IWorkbookFunctionsDec2OctRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDec2OctRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDec2OctRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDec2OctRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequestBuilder.java index fbed029586a..5a1dcdde890 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDec2OctRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDec2OctRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dec2Oct Request Builder. */ -public interface IWorkbookFunctionsDec2OctRequestBuilder extends IBaseWorkbookFunctionsDec2OctRequestBuilder { +public interface IWorkbookFunctionsDec2OctRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDec2OctRequest + * + * @return the IWorkbookFunctionsDec2OctRequest instance + */ + IWorkbookFunctionsDec2OctRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDec2OctRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDec2OctRequest instance + */ + IWorkbookFunctionsDec2OctRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequest.java index b5571d924b7..968d3940f82 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDecimalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Decimal Request. */ -public interface IWorkbookFunctionsDecimalRequest extends IBaseWorkbookFunctionsDecimalRequest { +public interface IWorkbookFunctionsDecimalRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDecimalRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDecimalRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDecimalRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequestBuilder.java index c141582f419..b740fb0b5c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDecimalRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDecimalRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Decimal Request Builder. */ -public interface IWorkbookFunctionsDecimalRequestBuilder extends IBaseWorkbookFunctionsDecimalRequestBuilder { +public interface IWorkbookFunctionsDecimalRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDecimalRequest + * + * @return the IWorkbookFunctionsDecimalRequest instance + */ + IWorkbookFunctionsDecimalRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDecimalRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDecimalRequest instance + */ + IWorkbookFunctionsDecimalRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequest.java index d50162687f4..1398fd42903 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDegreesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Degrees Request. */ -public interface IWorkbookFunctionsDegreesRequest extends IBaseWorkbookFunctionsDegreesRequest { +public interface IWorkbookFunctionsDegreesRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDegreesRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDegreesRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDegreesRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequestBuilder.java index f18e6708e66..96038621cc7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDegreesRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDegreesRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Degrees Request Builder. */ -public interface IWorkbookFunctionsDegreesRequestBuilder extends IBaseWorkbookFunctionsDegreesRequestBuilder { +public interface IWorkbookFunctionsDegreesRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDegreesRequest + * + * @return the IWorkbookFunctionsDegreesRequest instance + */ + IWorkbookFunctionsDegreesRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDegreesRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDegreesRequest instance + */ + IWorkbookFunctionsDegreesRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequest.java index bae78e30777..8dbb956a8cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDeltaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Delta Request. */ -public interface IWorkbookFunctionsDeltaRequest extends IBaseWorkbookFunctionsDeltaRequest { +public interface IWorkbookFunctionsDeltaRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDeltaRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDeltaRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDeltaRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequestBuilder.java index cf26deb35df..187cb960202 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDeltaRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDeltaRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Delta Request Builder. */ -public interface IWorkbookFunctionsDeltaRequestBuilder extends IBaseWorkbookFunctionsDeltaRequestBuilder { +public interface IWorkbookFunctionsDeltaRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDeltaRequest + * + * @return the IWorkbookFunctionsDeltaRequest instance + */ + IWorkbookFunctionsDeltaRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDeltaRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDeltaRequest instance + */ + IWorkbookFunctionsDeltaRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequest.java index 48b6e33eee6..d66c76d24ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDevSqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dev Sq Request. */ -public interface IWorkbookFunctionsDevSqRequest extends IBaseWorkbookFunctionsDevSqRequest { +public interface IWorkbookFunctionsDevSqRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDevSqRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDevSqRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDevSqRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequestBuilder.java index 60e2f58641f..af6058ed097 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDevSqRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDevSqRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dev Sq Request Builder. */ -public interface IWorkbookFunctionsDevSqRequestBuilder extends IBaseWorkbookFunctionsDevSqRequestBuilder { +public interface IWorkbookFunctionsDevSqRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDevSqRequest + * + * @return the IWorkbookFunctionsDevSqRequest instance + */ + IWorkbookFunctionsDevSqRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDevSqRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDevSqRequest instance + */ + IWorkbookFunctionsDevSqRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequest.java index c3d8beeebc4..b9016898530 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDgetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dget Request. */ -public interface IWorkbookFunctionsDgetRequest extends IBaseWorkbookFunctionsDgetRequest { +public interface IWorkbookFunctionsDgetRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDgetRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDgetRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDgetRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequestBuilder.java index f9a82a40784..e212d5401f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDgetRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDgetRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dget Request Builder. */ -public interface IWorkbookFunctionsDgetRequestBuilder extends IBaseWorkbookFunctionsDgetRequestBuilder { +public interface IWorkbookFunctionsDgetRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDgetRequest + * + * @return the IWorkbookFunctionsDgetRequest instance + */ + IWorkbookFunctionsDgetRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDgetRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDgetRequest instance + */ + IWorkbookFunctionsDgetRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequest.java index f1e3b3cf926..818d24d422d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDiscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Disc Request. */ -public interface IWorkbookFunctionsDiscRequest extends IBaseWorkbookFunctionsDiscRequest { +public interface IWorkbookFunctionsDiscRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDiscRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDiscRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDiscRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequestBuilder.java index 0295f5d5323..dab6c31c1ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDiscRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDiscRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Disc Request Builder. */ -public interface IWorkbookFunctionsDiscRequestBuilder extends IBaseWorkbookFunctionsDiscRequestBuilder { +public interface IWorkbookFunctionsDiscRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDiscRequest + * + * @return the IWorkbookFunctionsDiscRequest instance + */ + IWorkbookFunctionsDiscRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDiscRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDiscRequest instance + */ + IWorkbookFunctionsDiscRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequest.java index 05685d329e0..96fd2a8ecc0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDmaxRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dmax Request. */ -public interface IWorkbookFunctionsDmaxRequest extends IBaseWorkbookFunctionsDmaxRequest { +public interface IWorkbookFunctionsDmaxRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDmaxRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDmaxRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDmaxRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequestBuilder.java index a8188b3433f..fda383177d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDmaxRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDmaxRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dmax Request Builder. */ -public interface IWorkbookFunctionsDmaxRequestBuilder extends IBaseWorkbookFunctionsDmaxRequestBuilder { +public interface IWorkbookFunctionsDmaxRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDmaxRequest + * + * @return the IWorkbookFunctionsDmaxRequest instance + */ + IWorkbookFunctionsDmaxRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDmaxRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDmaxRequest instance + */ + IWorkbookFunctionsDmaxRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequest.java index 629b7a70e71..08c8e28304e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDminRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dmin Request. */ -public interface IWorkbookFunctionsDminRequest extends IBaseWorkbookFunctionsDminRequest { +public interface IWorkbookFunctionsDminRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDminRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDminRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDminRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequestBuilder.java index fcbf495cf2d..d58a822f6db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDminRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDminRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dmin Request Builder. */ -public interface IWorkbookFunctionsDminRequestBuilder extends IBaseWorkbookFunctionsDminRequestBuilder { +public interface IWorkbookFunctionsDminRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDminRequest + * + * @return the IWorkbookFunctionsDminRequest instance + */ + IWorkbookFunctionsDminRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDminRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDminRequest instance + */ + IWorkbookFunctionsDminRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequest.java index a2894bf4184..86c6ad1934a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDollarDeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dollar De Request. */ -public interface IWorkbookFunctionsDollarDeRequest extends IBaseWorkbookFunctionsDollarDeRequest { +public interface IWorkbookFunctionsDollarDeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDollarDeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDollarDeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDollarDeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequestBuilder.java index e4f9cc5167f..3aa717038cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarDeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDollarDeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dollar De Request Builder. */ -public interface IWorkbookFunctionsDollarDeRequestBuilder extends IBaseWorkbookFunctionsDollarDeRequestBuilder { +public interface IWorkbookFunctionsDollarDeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDollarDeRequest + * + * @return the IWorkbookFunctionsDollarDeRequest instance + */ + IWorkbookFunctionsDollarDeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDollarDeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDollarDeRequest instance + */ + IWorkbookFunctionsDollarDeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequest.java index 4599fbb1664..c1833b6490b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDollarFrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dollar Fr Request. */ -public interface IWorkbookFunctionsDollarFrRequest extends IBaseWorkbookFunctionsDollarFrRequest { +public interface IWorkbookFunctionsDollarFrRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDollarFrRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDollarFrRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDollarFrRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequestBuilder.java index d54e447fa35..dcbd691f580 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarFrRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDollarFrRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dollar Fr Request Builder. */ -public interface IWorkbookFunctionsDollarFrRequestBuilder extends IBaseWorkbookFunctionsDollarFrRequestBuilder { +public interface IWorkbookFunctionsDollarFrRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDollarFrRequest + * + * @return the IWorkbookFunctionsDollarFrRequest instance + */ + IWorkbookFunctionsDollarFrRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDollarFrRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDollarFrRequest instance + */ + IWorkbookFunctionsDollarFrRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequest.java index 4ebc09c26f4..f5768ab159d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDollarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dollar Request. */ -public interface IWorkbookFunctionsDollarRequest extends IBaseWorkbookFunctionsDollarRequest { +public interface IWorkbookFunctionsDollarRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDollarRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDollarRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDollarRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequestBuilder.java index 832c1313536..3965692bfa7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDollarRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDollarRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dollar Request Builder. */ -public interface IWorkbookFunctionsDollarRequestBuilder extends IBaseWorkbookFunctionsDollarRequestBuilder { +public interface IWorkbookFunctionsDollarRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDollarRequest + * + * @return the IWorkbookFunctionsDollarRequest instance + */ + IWorkbookFunctionsDollarRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDollarRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDollarRequest instance + */ + IWorkbookFunctionsDollarRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequest.java index 06fa9c3fad3..0e2152864d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDproductRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dproduct Request. */ -public interface IWorkbookFunctionsDproductRequest extends IBaseWorkbookFunctionsDproductRequest { +public interface IWorkbookFunctionsDproductRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDproductRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDproductRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDproductRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequestBuilder.java index 627efd86e45..07dbdb86137 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDproductRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDproductRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dproduct Request Builder. */ -public interface IWorkbookFunctionsDproductRequestBuilder extends IBaseWorkbookFunctionsDproductRequestBuilder { +public interface IWorkbookFunctionsDproductRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDproductRequest + * + * @return the IWorkbookFunctionsDproductRequest instance + */ + IWorkbookFunctionsDproductRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDproductRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDproductRequest instance + */ + IWorkbookFunctionsDproductRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequest.java index e2766792d16..48a976e7e9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDstDevPRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dst Dev PRequest. */ -public interface IWorkbookFunctionsDstDevPRequest extends IBaseWorkbookFunctionsDstDevPRequest { +public interface IWorkbookFunctionsDstDevPRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDstDevPRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDstDevPRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDstDevPRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequestBuilder.java index a8d8cca79c7..80972a06e5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevPRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDstDevPRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dst Dev PRequest Builder. */ -public interface IWorkbookFunctionsDstDevPRequestBuilder extends IBaseWorkbookFunctionsDstDevPRequestBuilder { +public interface IWorkbookFunctionsDstDevPRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDstDevPRequest + * + * @return the IWorkbookFunctionsDstDevPRequest instance + */ + IWorkbookFunctionsDstDevPRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDstDevPRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDstDevPRequest instance + */ + IWorkbookFunctionsDstDevPRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequest.java index a64eac5041e..f131c6db296 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDstDevRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dst Dev Request. */ -public interface IWorkbookFunctionsDstDevRequest extends IBaseWorkbookFunctionsDstDevRequest { +public interface IWorkbookFunctionsDstDevRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDstDevRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDstDevRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDstDevRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequestBuilder.java index 7f00e1c0005..f66e8f63094 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDstDevRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDstDevRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dst Dev Request Builder. */ -public interface IWorkbookFunctionsDstDevRequestBuilder extends IBaseWorkbookFunctionsDstDevRequestBuilder { +public interface IWorkbookFunctionsDstDevRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDstDevRequest + * + * @return the IWorkbookFunctionsDstDevRequest instance + */ + IWorkbookFunctionsDstDevRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDstDevRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDstDevRequest instance + */ + IWorkbookFunctionsDstDevRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequest.java index 8d340cb7876..0b136ca3bfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDsumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dsum Request. */ -public interface IWorkbookFunctionsDsumRequest extends IBaseWorkbookFunctionsDsumRequest { +public interface IWorkbookFunctionsDsumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDsumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDsumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDsumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequestBuilder.java index fd522522ad7..bfeb8bb236f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDsumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDsumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dsum Request Builder. */ -public interface IWorkbookFunctionsDsumRequestBuilder extends IBaseWorkbookFunctionsDsumRequestBuilder { +public interface IWorkbookFunctionsDsumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDsumRequest + * + * @return the IWorkbookFunctionsDsumRequest instance + */ + IWorkbookFunctionsDsumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDsumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDsumRequest instance + */ + IWorkbookFunctionsDsumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequest.java index b49c7138514..de96c2474a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Duration Request. */ -public interface IWorkbookFunctionsDurationRequest extends IBaseWorkbookFunctionsDurationRequest { +public interface IWorkbookFunctionsDurationRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDurationRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDurationRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDurationRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequestBuilder.java index a7bafab62df..20d488adeb5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDurationRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Duration Request Builder. */ -public interface IWorkbookFunctionsDurationRequestBuilder extends IBaseWorkbookFunctionsDurationRequestBuilder { +public interface IWorkbookFunctionsDurationRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDurationRequest + * + * @return the IWorkbookFunctionsDurationRequest instance + */ + IWorkbookFunctionsDurationRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDurationRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDurationRequest instance + */ + IWorkbookFunctionsDurationRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequest.java index 6a3e1176bf4..440aa3c5d66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDvarPRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dvar PRequest. */ -public interface IWorkbookFunctionsDvarPRequest extends IBaseWorkbookFunctionsDvarPRequest { +public interface IWorkbookFunctionsDvarPRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDvarPRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDvarPRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDvarPRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequestBuilder.java index 6c005449c8b..0e5e375c187 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarPRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDvarPRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dvar PRequest Builder. */ -public interface IWorkbookFunctionsDvarPRequestBuilder extends IBaseWorkbookFunctionsDvarPRequestBuilder { +public interface IWorkbookFunctionsDvarPRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDvarPRequest + * + * @return the IWorkbookFunctionsDvarPRequest instance + */ + IWorkbookFunctionsDvarPRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDvarPRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDvarPRequest instance + */ + IWorkbookFunctionsDvarPRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequest.java index e553eefc11d..f6f36e51c11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDvarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dvar Request. */ -public interface IWorkbookFunctionsDvarRequest extends IBaseWorkbookFunctionsDvarRequest { +public interface IWorkbookFunctionsDvarRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsDvarRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsDvarRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsDvarRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequestBuilder.java index b3a9c7dcf5e..9247a943cbc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsDvarRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsDvarRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Dvar Request Builder. */ -public interface IWorkbookFunctionsDvarRequestBuilder extends IBaseWorkbookFunctionsDvarRequestBuilder { +public interface IWorkbookFunctionsDvarRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsDvarRequest + * + * @return the IWorkbookFunctionsDvarRequest instance + */ + IWorkbookFunctionsDvarRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsDvarRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDvarRequest instance + */ + IWorkbookFunctionsDvarRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequest.java index f580ec01e0c..66b58372528 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEcma_CeilingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ecma_Ceiling Request. */ -public interface IWorkbookFunctionsEcma_CeilingRequest extends IBaseWorkbookFunctionsEcma_CeilingRequest { +public interface IWorkbookFunctionsEcma_CeilingRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsEcma_CeilingRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsEcma_CeilingRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsEcma_CeilingRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequestBuilder.java index f433457fd4d..fc0fb81a4e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEcma_CeilingRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEcma_CeilingRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ecma_Ceiling Request Builder. */ -public interface IWorkbookFunctionsEcma_CeilingRequestBuilder extends IBaseWorkbookFunctionsEcma_CeilingRequestBuilder { +public interface IWorkbookFunctionsEcma_CeilingRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsEcma_CeilingRequest + * + * @return the IWorkbookFunctionsEcma_CeilingRequest instance + */ + IWorkbookFunctionsEcma_CeilingRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsEcma_CeilingRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEcma_CeilingRequest instance + */ + IWorkbookFunctionsEcma_CeilingRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequest.java index c639b5bbcac..06b76779f29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEdateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Edate Request. */ -public interface IWorkbookFunctionsEdateRequest extends IBaseWorkbookFunctionsEdateRequest { +public interface IWorkbookFunctionsEdateRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsEdateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsEdateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsEdateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequestBuilder.java index c511a7e0b8a..aa89bb01b19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEdateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEdateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Edate Request Builder. */ -public interface IWorkbookFunctionsEdateRequestBuilder extends IBaseWorkbookFunctionsEdateRequestBuilder { +public interface IWorkbookFunctionsEdateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsEdateRequest + * + * @return the IWorkbookFunctionsEdateRequest instance + */ + IWorkbookFunctionsEdateRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsEdateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEdateRequest instance + */ + IWorkbookFunctionsEdateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequest.java index 8d3cf192e3d..7fda28f49d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEffectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Effect Request. */ -public interface IWorkbookFunctionsEffectRequest extends IBaseWorkbookFunctionsEffectRequest { +public interface IWorkbookFunctionsEffectRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsEffectRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsEffectRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsEffectRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequestBuilder.java index 0885fa75597..e65b9e7d91c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEffectRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEffectRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Effect Request Builder. */ -public interface IWorkbookFunctionsEffectRequestBuilder extends IBaseWorkbookFunctionsEffectRequestBuilder { +public interface IWorkbookFunctionsEffectRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsEffectRequest + * + * @return the IWorkbookFunctionsEffectRequest instance + */ + IWorkbookFunctionsEffectRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsEffectRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEffectRequest instance + */ + IWorkbookFunctionsEffectRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequest.java index 98256c62204..c0566161375 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEoMonthRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Eo Month Request. */ -public interface IWorkbookFunctionsEoMonthRequest extends IBaseWorkbookFunctionsEoMonthRequest { +public interface IWorkbookFunctionsEoMonthRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsEoMonthRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsEoMonthRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsEoMonthRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequestBuilder.java index 0f4abaa5805..ca40d77a562 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEoMonthRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEoMonthRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Eo Month Request Builder. */ -public interface IWorkbookFunctionsEoMonthRequestBuilder extends IBaseWorkbookFunctionsEoMonthRequestBuilder { +public interface IWorkbookFunctionsEoMonthRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsEoMonthRequest + * + * @return the IWorkbookFunctionsEoMonthRequest instance + */ + IWorkbookFunctionsEoMonthRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsEoMonthRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEoMonthRequest instance + */ + IWorkbookFunctionsEoMonthRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequest.java index 7e8889a333e..3613c292c22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErfCRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf CRequest. */ -public interface IWorkbookFunctionsErfCRequest extends IBaseWorkbookFunctionsErfCRequest { +public interface IWorkbookFunctionsErfCRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsErfCRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsErfCRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsErfCRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequestBuilder.java index f57bfb34a06..15f0c5124e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfCRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErfCRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf CRequest Builder. */ -public interface IWorkbookFunctionsErfCRequestBuilder extends IBaseWorkbookFunctionsErfCRequestBuilder { +public interface IWorkbookFunctionsErfCRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsErfCRequest + * + * @return the IWorkbookFunctionsErfCRequest instance + */ + IWorkbookFunctionsErfCRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsErfCRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErfCRequest instance + */ + IWorkbookFunctionsErfCRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequest.java index ea1759f5286..dffc3fb4774 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErfC_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf C_Precise Request. */ -public interface IWorkbookFunctionsErfC_PreciseRequest extends IBaseWorkbookFunctionsErfC_PreciseRequest { +public interface IWorkbookFunctionsErfC_PreciseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsErfC_PreciseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsErfC_PreciseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsErfC_PreciseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequestBuilder.java index 34e18440d60..211a2f6eeb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfC_PreciseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErfC_PreciseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf C_Precise Request Builder. */ -public interface IWorkbookFunctionsErfC_PreciseRequestBuilder extends IBaseWorkbookFunctionsErfC_PreciseRequestBuilder { +public interface IWorkbookFunctionsErfC_PreciseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsErfC_PreciseRequest + * + * @return the IWorkbookFunctionsErfC_PreciseRequest instance + */ + IWorkbookFunctionsErfC_PreciseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsErfC_PreciseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErfC_PreciseRequest instance + */ + IWorkbookFunctionsErfC_PreciseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequest.java index 2df60213e52..bd0dddaddb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf Request. */ -public interface IWorkbookFunctionsErfRequest extends IBaseWorkbookFunctionsErfRequest { +public interface IWorkbookFunctionsErfRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsErfRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsErfRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsErfRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequestBuilder.java index c0f1819acc2..887896a1077 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErfRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErfRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf Request Builder. */ -public interface IWorkbookFunctionsErfRequestBuilder extends IBaseWorkbookFunctionsErfRequestBuilder { +public interface IWorkbookFunctionsErfRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsErfRequest + * + * @return the IWorkbookFunctionsErfRequest instance + */ + IWorkbookFunctionsErfRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsErfRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErfRequest instance + */ + IWorkbookFunctionsErfRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequest.java index b1e350ee05a..1bf3b13a66e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErf_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf_Precise Request. */ -public interface IWorkbookFunctionsErf_PreciseRequest extends IBaseWorkbookFunctionsErf_PreciseRequest { +public interface IWorkbookFunctionsErf_PreciseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsErf_PreciseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsErf_PreciseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsErf_PreciseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequestBuilder.java index 17e6b765e80..9c749088429 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsErf_PreciseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsErf_PreciseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Erf_Precise Request Builder. */ -public interface IWorkbookFunctionsErf_PreciseRequestBuilder extends IBaseWorkbookFunctionsErf_PreciseRequestBuilder { +public interface IWorkbookFunctionsErf_PreciseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsErf_PreciseRequest + * + * @return the IWorkbookFunctionsErf_PreciseRequest instance + */ + IWorkbookFunctionsErf_PreciseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsErf_PreciseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErf_PreciseRequest instance + */ + IWorkbookFunctionsErf_PreciseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequest.java index a8dac58690e..d853e14c34c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsError_TypeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Error_Type Request. */ -public interface IWorkbookFunctionsError_TypeRequest extends IBaseWorkbookFunctionsError_TypeRequest { +public interface IWorkbookFunctionsError_TypeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsError_TypeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsError_TypeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsError_TypeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequestBuilder.java index 809b00b4850..001f2b85a8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsError_TypeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsError_TypeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Error_Type Request Builder. */ -public interface IWorkbookFunctionsError_TypeRequestBuilder extends IBaseWorkbookFunctionsError_TypeRequestBuilder { +public interface IWorkbookFunctionsError_TypeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsError_TypeRequest + * + * @return the IWorkbookFunctionsError_TypeRequest instance + */ + IWorkbookFunctionsError_TypeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsError_TypeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsError_TypeRequest instance + */ + IWorkbookFunctionsError_TypeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequest.java index c06b9039f63..49479a6b51b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEvenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Even Request. */ -public interface IWorkbookFunctionsEvenRequest extends IBaseWorkbookFunctionsEvenRequest { +public interface IWorkbookFunctionsEvenRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsEvenRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsEvenRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsEvenRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequestBuilder.java index 7cf0ee68ef3..8d927bb4bb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsEvenRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsEvenRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Even Request Builder. */ -public interface IWorkbookFunctionsEvenRequestBuilder extends IBaseWorkbookFunctionsEvenRequestBuilder { +public interface IWorkbookFunctionsEvenRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsEvenRequest + * + * @return the IWorkbookFunctionsEvenRequest instance + */ + IWorkbookFunctionsEvenRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsEvenRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEvenRequest instance + */ + IWorkbookFunctionsEvenRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequest.java index 2510be105d1..2ea6ab5c1c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsExactRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Exact Request. */ -public interface IWorkbookFunctionsExactRequest extends IBaseWorkbookFunctionsExactRequest { +public interface IWorkbookFunctionsExactRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsExactRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsExactRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsExactRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequestBuilder.java index eb5df19d112..d1d83d5989a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExactRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsExactRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Exact Request Builder. */ -public interface IWorkbookFunctionsExactRequestBuilder extends IBaseWorkbookFunctionsExactRequestBuilder { +public interface IWorkbookFunctionsExactRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsExactRequest + * + * @return the IWorkbookFunctionsExactRequest instance + */ + IWorkbookFunctionsExactRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsExactRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsExactRequest instance + */ + IWorkbookFunctionsExactRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequest.java index 31c26a79c79..e0f9f71d000 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsExpRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Exp Request. */ -public interface IWorkbookFunctionsExpRequest extends IBaseWorkbookFunctionsExpRequest { +public interface IWorkbookFunctionsExpRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsExpRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsExpRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsExpRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequestBuilder.java index d1c92f89444..097f61c2aaf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsExpRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Exp Request Builder. */ -public interface IWorkbookFunctionsExpRequestBuilder extends IBaseWorkbookFunctionsExpRequestBuilder { +public interface IWorkbookFunctionsExpRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsExpRequest + * + * @return the IWorkbookFunctionsExpRequest instance + */ + IWorkbookFunctionsExpRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsExpRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsExpRequest instance + */ + IWorkbookFunctionsExpRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequest.java index bf64dcc6a06..26d01bc7fc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsExpon_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Expon_Dist Request. */ -public interface IWorkbookFunctionsExpon_DistRequest extends IBaseWorkbookFunctionsExpon_DistRequest { +public interface IWorkbookFunctionsExpon_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsExpon_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsExpon_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsExpon_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequestBuilder.java index 3c5a886b957..52268c4191e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsExpon_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsExpon_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Expon_Dist Request Builder. */ -public interface IWorkbookFunctionsExpon_DistRequestBuilder extends IBaseWorkbookFunctionsExpon_DistRequestBuilder { +public interface IWorkbookFunctionsExpon_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsExpon_DistRequest + * + * @return the IWorkbookFunctionsExpon_DistRequest instance + */ + IWorkbookFunctionsExpon_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsExpon_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsExpon_DistRequest instance + */ + IWorkbookFunctionsExpon_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequest.java index fd0a9f58327..8a592d0496a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Dist Request. */ -public interface IWorkbookFunctionsF_DistRequest extends IBaseWorkbookFunctionsF_DistRequest { +public interface IWorkbookFunctionsF_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsF_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsF_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsF_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequestBuilder.java index 35809d3a04f..650a03f2a81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Dist Request Builder. */ -public interface IWorkbookFunctionsF_DistRequestBuilder extends IBaseWorkbookFunctionsF_DistRequestBuilder { +public interface IWorkbookFunctionsF_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsF_DistRequest + * + * @return the IWorkbookFunctionsF_DistRequest instance + */ + IWorkbookFunctionsF_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsF_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_DistRequest instance + */ + IWorkbookFunctionsF_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequest.java index 82d7e942222..7924cdc6b13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_Dist_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Dist_RTRequest. */ -public interface IWorkbookFunctionsF_Dist_RTRequest extends IBaseWorkbookFunctionsF_Dist_RTRequest { +public interface IWorkbookFunctionsF_Dist_RTRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsF_Dist_RTRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsF_Dist_RTRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsF_Dist_RTRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequestBuilder.java index f0a12c7e4cb..979cd9f5cf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Dist_RTRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_Dist_RTRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Dist_RTRequest Builder. */ -public interface IWorkbookFunctionsF_Dist_RTRequestBuilder extends IBaseWorkbookFunctionsF_Dist_RTRequestBuilder { +public interface IWorkbookFunctionsF_Dist_RTRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsF_Dist_RTRequest + * + * @return the IWorkbookFunctionsF_Dist_RTRequest instance + */ + IWorkbookFunctionsF_Dist_RTRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsF_Dist_RTRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_Dist_RTRequest instance + */ + IWorkbookFunctionsF_Dist_RTRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequest.java index 96ff5a5bdd5..603e5cd4c37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Inv Request. */ -public interface IWorkbookFunctionsF_InvRequest extends IBaseWorkbookFunctionsF_InvRequest { +public interface IWorkbookFunctionsF_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsF_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsF_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsF_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequestBuilder.java index 98c111203be..0633fef71fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Inv Request Builder. */ -public interface IWorkbookFunctionsF_InvRequestBuilder extends IBaseWorkbookFunctionsF_InvRequestBuilder { +public interface IWorkbookFunctionsF_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsF_InvRequest + * + * @return the IWorkbookFunctionsF_InvRequest instance + */ + IWorkbookFunctionsF_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsF_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_InvRequest instance + */ + IWorkbookFunctionsF_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequest.java index d7831bcd346..09e76b98d8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_Inv_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Inv_RTRequest. */ -public interface IWorkbookFunctionsF_Inv_RTRequest extends IBaseWorkbookFunctionsF_Inv_RTRequest { +public interface IWorkbookFunctionsF_Inv_RTRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsF_Inv_RTRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsF_Inv_RTRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsF_Inv_RTRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequestBuilder.java index 2de3259ab14..52d5cf96463 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsF_Inv_RTRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsF_Inv_RTRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions F_Inv_RTRequest Builder. */ -public interface IWorkbookFunctionsF_Inv_RTRequestBuilder extends IBaseWorkbookFunctionsF_Inv_RTRequestBuilder { +public interface IWorkbookFunctionsF_Inv_RTRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsF_Inv_RTRequest + * + * @return the IWorkbookFunctionsF_Inv_RTRequest instance + */ + IWorkbookFunctionsF_Inv_RTRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsF_Inv_RTRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_Inv_RTRequest instance + */ + IWorkbookFunctionsF_Inv_RTRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequest.java index a9557de42a4..b3d20f3c713 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFactDoubleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fact Double Request. */ -public interface IWorkbookFunctionsFactDoubleRequest extends IBaseWorkbookFunctionsFactDoubleRequest { +public interface IWorkbookFunctionsFactDoubleRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFactDoubleRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFactDoubleRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFactDoubleRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequestBuilder.java index fd34a19cb18..506718b8c1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactDoubleRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFactDoubleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fact Double Request Builder. */ -public interface IWorkbookFunctionsFactDoubleRequestBuilder extends IBaseWorkbookFunctionsFactDoubleRequestBuilder { +public interface IWorkbookFunctionsFactDoubleRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFactDoubleRequest + * + * @return the IWorkbookFunctionsFactDoubleRequest instance + */ + IWorkbookFunctionsFactDoubleRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFactDoubleRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFactDoubleRequest instance + */ + IWorkbookFunctionsFactDoubleRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequest.java index 827b469b744..671f851504d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFactRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fact Request. */ -public interface IWorkbookFunctionsFactRequest extends IBaseWorkbookFunctionsFactRequest { +public interface IWorkbookFunctionsFactRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFactRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFactRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFactRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequestBuilder.java index c5e6035c210..b0046442f29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFactRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFactRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fact Request Builder. */ -public interface IWorkbookFunctionsFactRequestBuilder extends IBaseWorkbookFunctionsFactRequestBuilder { +public interface IWorkbookFunctionsFactRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFactRequest + * + * @return the IWorkbookFunctionsFactRequest instance + */ + IWorkbookFunctionsFactRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFactRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFactRequest instance + */ + IWorkbookFunctionsFactRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequest.java index 9d99171abcc..b2b59cf80e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFalseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions False Request. */ -public interface IWorkbookFunctionsFalseRequest extends IBaseWorkbookFunctionsFalseRequest { +public interface IWorkbookFunctionsFalseRequest { + + /** + * Creates the WorkbookFunctionsFalse + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsFalse + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFalseRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFalseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequestBuilder.java index 222a28cd447..b1519aa6310 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFalseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFalseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions False Request Builder. */ -public interface IWorkbookFunctionsFalseRequestBuilder extends IBaseWorkbookFunctionsFalseRequestBuilder { +public interface IWorkbookFunctionsFalseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFalseRequest + * + * @return the IWorkbookFunctionsFalseRequest instance + */ + IWorkbookFunctionsFalseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFalseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFalseRequest instance + */ + IWorkbookFunctionsFalseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequest.java index b213631a555..b2b2f5c8b26 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFindBRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Find BRequest. */ -public interface IWorkbookFunctionsFindBRequest extends IBaseWorkbookFunctionsFindBRequest { +public interface IWorkbookFunctionsFindBRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFindBRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFindBRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFindBRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequestBuilder.java index 6761140c862..7d677c4cc3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindBRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFindBRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Find BRequest Builder. */ -public interface IWorkbookFunctionsFindBRequestBuilder extends IBaseWorkbookFunctionsFindBRequestBuilder { +public interface IWorkbookFunctionsFindBRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFindBRequest + * + * @return the IWorkbookFunctionsFindBRequest instance + */ + IWorkbookFunctionsFindBRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFindBRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFindBRequest instance + */ + IWorkbookFunctionsFindBRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequest.java index cec9b00b4e0..66382e74f13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFindRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Find Request. */ -public interface IWorkbookFunctionsFindRequest extends IBaseWorkbookFunctionsFindRequest { +public interface IWorkbookFunctionsFindRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFindRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFindRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFindRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequestBuilder.java index 991b014e3ef..90b6e823fc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFindRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFindRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Find Request Builder. */ -public interface IWorkbookFunctionsFindRequestBuilder extends IBaseWorkbookFunctionsFindRequestBuilder { +public interface IWorkbookFunctionsFindRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFindRequest + * + * @return the IWorkbookFunctionsFindRequest instance + */ + IWorkbookFunctionsFindRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFindRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFindRequest instance + */ + IWorkbookFunctionsFindRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequest.java index 0e59ee5968c..71234b81ffd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFisherInvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fisher Inv Request. */ -public interface IWorkbookFunctionsFisherInvRequest extends IBaseWorkbookFunctionsFisherInvRequest { +public interface IWorkbookFunctionsFisherInvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFisherInvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFisherInvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFisherInvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequestBuilder.java index 823d847a8a0..d1b98150406 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherInvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFisherInvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fisher Inv Request Builder. */ -public interface IWorkbookFunctionsFisherInvRequestBuilder extends IBaseWorkbookFunctionsFisherInvRequestBuilder { +public interface IWorkbookFunctionsFisherInvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFisherInvRequest + * + * @return the IWorkbookFunctionsFisherInvRequest instance + */ + IWorkbookFunctionsFisherInvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFisherInvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFisherInvRequest instance + */ + IWorkbookFunctionsFisherInvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequest.java index 9ab3567d071..fa41f41c0e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFisherRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fisher Request. */ -public interface IWorkbookFunctionsFisherRequest extends IBaseWorkbookFunctionsFisherRequest { +public interface IWorkbookFunctionsFisherRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFisherRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFisherRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFisherRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequestBuilder.java index 8ff78115597..7e0ab491ae0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFisherRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFisherRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fisher Request Builder. */ -public interface IWorkbookFunctionsFisherRequestBuilder extends IBaseWorkbookFunctionsFisherRequestBuilder { +public interface IWorkbookFunctionsFisherRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFisherRequest + * + * @return the IWorkbookFunctionsFisherRequest instance + */ + IWorkbookFunctionsFisherRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFisherRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFisherRequest instance + */ + IWorkbookFunctionsFisherRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequest.java index 0bb57ab0ed0..ebe65b2567c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFixedRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fixed Request. */ -public interface IWorkbookFunctionsFixedRequest extends IBaseWorkbookFunctionsFixedRequest { +public interface IWorkbookFunctionsFixedRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFixedRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFixedRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFixedRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequestBuilder.java index d9057acbab5..754b86dbafc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFixedRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFixedRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fixed Request Builder. */ -public interface IWorkbookFunctionsFixedRequestBuilder extends IBaseWorkbookFunctionsFixedRequestBuilder { +public interface IWorkbookFunctionsFixedRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFixedRequest + * + * @return the IWorkbookFunctionsFixedRequest instance + */ + IWorkbookFunctionsFixedRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFixedRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFixedRequest instance + */ + IWorkbookFunctionsFixedRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequest.java index d475fea1c1f..690c362fc0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFloor_MathRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Floor_Math Request. */ -public interface IWorkbookFunctionsFloor_MathRequest extends IBaseWorkbookFunctionsFloor_MathRequest { +public interface IWorkbookFunctionsFloor_MathRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFloor_MathRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFloor_MathRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFloor_MathRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequestBuilder.java index 6fbccb5ce3b..be3eaf41363 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_MathRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFloor_MathRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Floor_Math Request Builder. */ -public interface IWorkbookFunctionsFloor_MathRequestBuilder extends IBaseWorkbookFunctionsFloor_MathRequestBuilder { +public interface IWorkbookFunctionsFloor_MathRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFloor_MathRequest + * + * @return the IWorkbookFunctionsFloor_MathRequest instance + */ + IWorkbookFunctionsFloor_MathRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFloor_MathRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFloor_MathRequest instance + */ + IWorkbookFunctionsFloor_MathRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequest.java index 72b6e9c6edc..b6198137ead 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFloor_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Floor_Precise Request. */ -public interface IWorkbookFunctionsFloor_PreciseRequest extends IBaseWorkbookFunctionsFloor_PreciseRequest { +public interface IWorkbookFunctionsFloor_PreciseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFloor_PreciseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFloor_PreciseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFloor_PreciseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequestBuilder.java index 101dde5f54f..2143d984c8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFloor_PreciseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFloor_PreciseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Floor_Precise Request Builder. */ -public interface IWorkbookFunctionsFloor_PreciseRequestBuilder extends IBaseWorkbookFunctionsFloor_PreciseRequestBuilder { +public interface IWorkbookFunctionsFloor_PreciseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFloor_PreciseRequest + * + * @return the IWorkbookFunctionsFloor_PreciseRequest instance + */ + IWorkbookFunctionsFloor_PreciseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFloor_PreciseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFloor_PreciseRequest instance + */ + IWorkbookFunctionsFloor_PreciseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequest.java index 18986a6045b..5074a928e50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fv Request. */ -public interface IWorkbookFunctionsFvRequest extends IBaseWorkbookFunctionsFvRequest { +public interface IWorkbookFunctionsFvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequestBuilder.java index c6cd9298c3f..41e12d36a34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fv Request Builder. */ -public interface IWorkbookFunctionsFvRequestBuilder extends IBaseWorkbookFunctionsFvRequestBuilder { +public interface IWorkbookFunctionsFvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFvRequest + * + * @return the IWorkbookFunctionsFvRequest instance + */ + IWorkbookFunctionsFvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFvRequest instance + */ + IWorkbookFunctionsFvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequest.java index 3f4cf47ea42..e3a213b1941 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFvscheduleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fvschedule Request. */ -public interface IWorkbookFunctionsFvscheduleRequest extends IBaseWorkbookFunctionsFvscheduleRequest { +public interface IWorkbookFunctionsFvscheduleRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsFvscheduleRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsFvscheduleRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsFvscheduleRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequestBuilder.java index 6e2fef82092..71569487e90 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsFvscheduleRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsFvscheduleRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Fvschedule Request Builder. */ -public interface IWorkbookFunctionsFvscheduleRequestBuilder extends IBaseWorkbookFunctionsFvscheduleRequestBuilder { +public interface IWorkbookFunctionsFvscheduleRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsFvscheduleRequest + * + * @return the IWorkbookFunctionsFvscheduleRequest instance + */ + IWorkbookFunctionsFvscheduleRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsFvscheduleRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFvscheduleRequest instance + */ + IWorkbookFunctionsFvscheduleRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequest.java index c36978e5e94..41825cd0253 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGammaLnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma Ln Request. */ -public interface IWorkbookFunctionsGammaLnRequest extends IBaseWorkbookFunctionsGammaLnRequest { +public interface IWorkbookFunctionsGammaLnRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGammaLnRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGammaLnRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGammaLnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequestBuilder.java index dec1ff3ad1a..6418f388f2d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGammaLnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma Ln Request Builder. */ -public interface IWorkbookFunctionsGammaLnRequestBuilder extends IBaseWorkbookFunctionsGammaLnRequestBuilder { +public interface IWorkbookFunctionsGammaLnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGammaLnRequest + * + * @return the IWorkbookFunctionsGammaLnRequest instance + */ + IWorkbookFunctionsGammaLnRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGammaLnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGammaLnRequest instance + */ + IWorkbookFunctionsGammaLnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequest.java index f6c52f192b7..85fac0fbbb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGammaLn_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma Ln_Precise Request. */ -public interface IWorkbookFunctionsGammaLn_PreciseRequest extends IBaseWorkbookFunctionsGammaLn_PreciseRequest { +public interface IWorkbookFunctionsGammaLn_PreciseRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGammaLn_PreciseRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGammaLn_PreciseRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGammaLn_PreciseRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequestBuilder.java index f63ba41b736..b0baddb965b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaLn_PreciseRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma Ln_Precise Request Builder. */ -public interface IWorkbookFunctionsGammaLn_PreciseRequestBuilder extends IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder { +public interface IWorkbookFunctionsGammaLn_PreciseRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGammaLn_PreciseRequest + * + * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance + */ + IWorkbookFunctionsGammaLn_PreciseRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGammaLn_PreciseRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance + */ + IWorkbookFunctionsGammaLn_PreciseRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequest.java index 8f4de24499c..5bb5558bd16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGammaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma Request. */ -public interface IWorkbookFunctionsGammaRequest extends IBaseWorkbookFunctionsGammaRequest { +public interface IWorkbookFunctionsGammaRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGammaRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGammaRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGammaRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequestBuilder.java index e6fe02d1ec4..74ad576ba29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGammaRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGammaRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma Request Builder. */ -public interface IWorkbookFunctionsGammaRequestBuilder extends IBaseWorkbookFunctionsGammaRequestBuilder { +public interface IWorkbookFunctionsGammaRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGammaRequest + * + * @return the IWorkbookFunctionsGammaRequest instance + */ + IWorkbookFunctionsGammaRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGammaRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGammaRequest instance + */ + IWorkbookFunctionsGammaRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequest.java index 3e235142e90..bcd2acb3828 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGamma_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma_Dist Request. */ -public interface IWorkbookFunctionsGamma_DistRequest extends IBaseWorkbookFunctionsGamma_DistRequest { +public interface IWorkbookFunctionsGamma_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGamma_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGamma_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGamma_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequestBuilder.java index e0007c43698..ea029f0b394 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGamma_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma_Dist Request Builder. */ -public interface IWorkbookFunctionsGamma_DistRequestBuilder extends IBaseWorkbookFunctionsGamma_DistRequestBuilder { +public interface IWorkbookFunctionsGamma_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGamma_DistRequest + * + * @return the IWorkbookFunctionsGamma_DistRequest instance + */ + IWorkbookFunctionsGamma_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGamma_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGamma_DistRequest instance + */ + IWorkbookFunctionsGamma_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequest.java index 545f0b5d214..3b2951f9365 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGamma_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma_Inv Request. */ -public interface IWorkbookFunctionsGamma_InvRequest extends IBaseWorkbookFunctionsGamma_InvRequest { +public interface IWorkbookFunctionsGamma_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGamma_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGamma_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGamma_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequestBuilder.java index d7516b548cc..be3b65dddfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGamma_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGamma_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gamma_Inv Request Builder. */ -public interface IWorkbookFunctionsGamma_InvRequestBuilder extends IBaseWorkbookFunctionsGamma_InvRequestBuilder { +public interface IWorkbookFunctionsGamma_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGamma_InvRequest + * + * @return the IWorkbookFunctionsGamma_InvRequest instance + */ + IWorkbookFunctionsGamma_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGamma_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGamma_InvRequest instance + */ + IWorkbookFunctionsGamma_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequest.java index b5cecc42b17..08d60d8e11c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGaussRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gauss Request. */ -public interface IWorkbookFunctionsGaussRequest extends IBaseWorkbookFunctionsGaussRequest { +public interface IWorkbookFunctionsGaussRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGaussRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGaussRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGaussRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequestBuilder.java index e013b3f6a31..4a9522401c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGaussRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGaussRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gauss Request Builder. */ -public interface IWorkbookFunctionsGaussRequestBuilder extends IBaseWorkbookFunctionsGaussRequestBuilder { +public interface IWorkbookFunctionsGaussRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGaussRequest + * + * @return the IWorkbookFunctionsGaussRequest instance + */ + IWorkbookFunctionsGaussRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGaussRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGaussRequest instance + */ + IWorkbookFunctionsGaussRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequest.java index 8cbb1862372..cfd45b7f113 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGcdRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gcd Request. */ -public interface IWorkbookFunctionsGcdRequest extends IBaseWorkbookFunctionsGcdRequest { +public interface IWorkbookFunctionsGcdRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGcdRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGcdRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGcdRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequestBuilder.java index 935630f0a68..1c383e83303 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGcdRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGcdRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Gcd Request Builder. */ -public interface IWorkbookFunctionsGcdRequestBuilder extends IBaseWorkbookFunctionsGcdRequestBuilder { +public interface IWorkbookFunctionsGcdRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGcdRequest + * + * @return the IWorkbookFunctionsGcdRequest instance + */ + IWorkbookFunctionsGcdRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGcdRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGcdRequest instance + */ + IWorkbookFunctionsGcdRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequest.java index 1bfb77e842d..5df8a54d1a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGeStepRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ge Step Request. */ -public interface IWorkbookFunctionsGeStepRequest extends IBaseWorkbookFunctionsGeStepRequest { +public interface IWorkbookFunctionsGeStepRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGeStepRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGeStepRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGeStepRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequestBuilder.java index a2f982bbc84..903a8fd9e79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeStepRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGeStepRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ge Step Request Builder. */ -public interface IWorkbookFunctionsGeStepRequestBuilder extends IBaseWorkbookFunctionsGeStepRequestBuilder { +public interface IWorkbookFunctionsGeStepRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGeStepRequest + * + * @return the IWorkbookFunctionsGeStepRequest instance + */ + IWorkbookFunctionsGeStepRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGeStepRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGeStepRequest instance + */ + IWorkbookFunctionsGeStepRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequest.java index ec97c3badfb..2c05edcb5f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGeoMeanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Geo Mean Request. */ -public interface IWorkbookFunctionsGeoMeanRequest extends IBaseWorkbookFunctionsGeoMeanRequest { +public interface IWorkbookFunctionsGeoMeanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsGeoMeanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsGeoMeanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsGeoMeanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequestBuilder.java index 0a349ffdc71..7693c4fd933 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsGeoMeanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsGeoMeanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Geo Mean Request Builder. */ -public interface IWorkbookFunctionsGeoMeanRequestBuilder extends IBaseWorkbookFunctionsGeoMeanRequestBuilder { +public interface IWorkbookFunctionsGeoMeanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsGeoMeanRequest + * + * @return the IWorkbookFunctionsGeoMeanRequest instance + */ + IWorkbookFunctionsGeoMeanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsGeoMeanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGeoMeanRequest instance + */ + IWorkbookFunctionsGeoMeanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequest.java index 5d3e3889b50..ed52fcc1210 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHarMeanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Har Mean Request. */ -public interface IWorkbookFunctionsHarMeanRequest extends IBaseWorkbookFunctionsHarMeanRequest { +public interface IWorkbookFunctionsHarMeanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHarMeanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHarMeanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHarMeanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequestBuilder.java index 3b753dc0793..e44c3a50337 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHarMeanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHarMeanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Har Mean Request Builder. */ -public interface IWorkbookFunctionsHarMeanRequestBuilder extends IBaseWorkbookFunctionsHarMeanRequestBuilder { +public interface IWorkbookFunctionsHarMeanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHarMeanRequest + * + * @return the IWorkbookFunctionsHarMeanRequest instance + */ + IWorkbookFunctionsHarMeanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHarMeanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHarMeanRequest instance + */ + IWorkbookFunctionsHarMeanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequest.java index 9e762aa4b79..4f02f735da9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHex2BinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hex2Bin Request. */ -public interface IWorkbookFunctionsHex2BinRequest extends IBaseWorkbookFunctionsHex2BinRequest { +public interface IWorkbookFunctionsHex2BinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHex2BinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHex2BinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHex2BinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequestBuilder.java index be4834201e9..e20f6ebf5e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2BinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHex2BinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hex2Bin Request Builder. */ -public interface IWorkbookFunctionsHex2BinRequestBuilder extends IBaseWorkbookFunctionsHex2BinRequestBuilder { +public interface IWorkbookFunctionsHex2BinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHex2BinRequest + * + * @return the IWorkbookFunctionsHex2BinRequest instance + */ + IWorkbookFunctionsHex2BinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHex2BinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHex2BinRequest instance + */ + IWorkbookFunctionsHex2BinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequest.java index ba5baf862fb..3510ec8a490 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHex2DecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hex2Dec Request. */ -public interface IWorkbookFunctionsHex2DecRequest extends IBaseWorkbookFunctionsHex2DecRequest { +public interface IWorkbookFunctionsHex2DecRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHex2DecRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHex2DecRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHex2DecRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequestBuilder.java index f4e559893d0..5d79edc7cf3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2DecRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHex2DecRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hex2Dec Request Builder. */ -public interface IWorkbookFunctionsHex2DecRequestBuilder extends IBaseWorkbookFunctionsHex2DecRequestBuilder { +public interface IWorkbookFunctionsHex2DecRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHex2DecRequest + * + * @return the IWorkbookFunctionsHex2DecRequest instance + */ + IWorkbookFunctionsHex2DecRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHex2DecRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHex2DecRequest instance + */ + IWorkbookFunctionsHex2DecRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequest.java index a81a41868bb..b7b2d37ddd3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHex2OctRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hex2Oct Request. */ -public interface IWorkbookFunctionsHex2OctRequest extends IBaseWorkbookFunctionsHex2OctRequest { +public interface IWorkbookFunctionsHex2OctRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHex2OctRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHex2OctRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHex2OctRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequestBuilder.java index 888193a7576..a65dcd614d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHex2OctRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHex2OctRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hex2Oct Request Builder. */ -public interface IWorkbookFunctionsHex2OctRequestBuilder extends IBaseWorkbookFunctionsHex2OctRequestBuilder { +public interface IWorkbookFunctionsHex2OctRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHex2OctRequest + * + * @return the IWorkbookFunctionsHex2OctRequest instance + */ + IWorkbookFunctionsHex2OctRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHex2OctRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHex2OctRequest instance + */ + IWorkbookFunctionsHex2OctRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequest.java index ce534603dd8..53a4fa8a0e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHlookupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hlookup Request. */ -public interface IWorkbookFunctionsHlookupRequest extends IBaseWorkbookFunctionsHlookupRequest { +public interface IWorkbookFunctionsHlookupRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHlookupRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHlookupRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHlookupRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequestBuilder.java index 060c155a8c4..5778cc698dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHlookupRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHlookupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hlookup Request Builder. */ -public interface IWorkbookFunctionsHlookupRequestBuilder extends IBaseWorkbookFunctionsHlookupRequestBuilder { +public interface IWorkbookFunctionsHlookupRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHlookupRequest + * + * @return the IWorkbookFunctionsHlookupRequest instance + */ + IWorkbookFunctionsHlookupRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHlookupRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHlookupRequest instance + */ + IWorkbookFunctionsHlookupRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequest.java index cebb9a94354..f6f0cf79dfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHourRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hour Request. */ -public interface IWorkbookFunctionsHourRequest extends IBaseWorkbookFunctionsHourRequest { +public interface IWorkbookFunctionsHourRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHourRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHourRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHourRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequestBuilder.java index cfeed51ad47..ff56d003c33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHourRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHourRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hour Request Builder. */ -public interface IWorkbookFunctionsHourRequestBuilder extends IBaseWorkbookFunctionsHourRequestBuilder { +public interface IWorkbookFunctionsHourRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHourRequest + * + * @return the IWorkbookFunctionsHourRequest instance + */ + IWorkbookFunctionsHourRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHourRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHourRequest instance + */ + IWorkbookFunctionsHourRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequest.java index 1c0c8258faf..cdfd42dc2ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHypGeom_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hyp Geom_Dist Request. */ -public interface IWorkbookFunctionsHypGeom_DistRequest extends IBaseWorkbookFunctionsHypGeom_DistRequest { +public interface IWorkbookFunctionsHypGeom_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHypGeom_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHypGeom_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHypGeom_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequestBuilder.java index f0221b009e0..d7c740fa1ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHypGeom_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHypGeom_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hyp Geom_Dist Request Builder. */ -public interface IWorkbookFunctionsHypGeom_DistRequestBuilder extends IBaseWorkbookFunctionsHypGeom_DistRequestBuilder { +public interface IWorkbookFunctionsHypGeom_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHypGeom_DistRequest + * + * @return the IWorkbookFunctionsHypGeom_DistRequest instance + */ + IWorkbookFunctionsHypGeom_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHypGeom_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHypGeom_DistRequest instance + */ + IWorkbookFunctionsHypGeom_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequest.java index 3d72c7393a6..a223fcd119d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHyperlinkRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hyperlink Request. */ -public interface IWorkbookFunctionsHyperlinkRequest extends IBaseWorkbookFunctionsHyperlinkRequest { +public interface IWorkbookFunctionsHyperlinkRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsHyperlinkRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsHyperlinkRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsHyperlinkRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequestBuilder.java index 38ef6d49baf..4f512cd2768 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsHyperlinkRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsHyperlinkRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Hyperlink Request Builder. */ -public interface IWorkbookFunctionsHyperlinkRequestBuilder extends IBaseWorkbookFunctionsHyperlinkRequestBuilder { +public interface IWorkbookFunctionsHyperlinkRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsHyperlinkRequest + * + * @return the IWorkbookFunctionsHyperlinkRequest instance + */ + IWorkbookFunctionsHyperlinkRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsHyperlinkRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHyperlinkRequest instance + */ + IWorkbookFunctionsHyperlinkRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequest.java index 52e7c0a03f4..819f5b892c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions If Request. */ -public interface IWorkbookFunctionsIfRequest extends IBaseWorkbookFunctionsIfRequest { +public interface IWorkbookFunctionsIfRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIfRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIfRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIfRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequestBuilder.java index 8a0cc773279..a474670fb4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIfRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIfRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions If Request Builder. */ -public interface IWorkbookFunctionsIfRequestBuilder extends IBaseWorkbookFunctionsIfRequestBuilder { +public interface IWorkbookFunctionsIfRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIfRequest + * + * @return the IWorkbookFunctionsIfRequest instance + */ + IWorkbookFunctionsIfRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIfRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIfRequest instance + */ + IWorkbookFunctionsIfRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequest.java index a3cbc38958b..e860e77345b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImAbsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Abs Request. */ -public interface IWorkbookFunctionsImAbsRequest extends IBaseWorkbookFunctionsImAbsRequest { +public interface IWorkbookFunctionsImAbsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImAbsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImAbsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImAbsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequestBuilder.java index 5cdbd4feb76..ee09a001906 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImAbsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImAbsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Abs Request Builder. */ -public interface IWorkbookFunctionsImAbsRequestBuilder extends IBaseWorkbookFunctionsImAbsRequestBuilder { +public interface IWorkbookFunctionsImAbsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImAbsRequest + * + * @return the IWorkbookFunctionsImAbsRequest instance + */ + IWorkbookFunctionsImAbsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImAbsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImAbsRequest instance + */ + IWorkbookFunctionsImAbsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequest.java index b4b77a94ad2..684b25893a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImArgumentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Argument Request. */ -public interface IWorkbookFunctionsImArgumentRequest extends IBaseWorkbookFunctionsImArgumentRequest { +public interface IWorkbookFunctionsImArgumentRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImArgumentRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImArgumentRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImArgumentRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequestBuilder.java index b1a7fc407bf..a898768026f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImArgumentRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImArgumentRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Argument Request Builder. */ -public interface IWorkbookFunctionsImArgumentRequestBuilder extends IBaseWorkbookFunctionsImArgumentRequestBuilder { +public interface IWorkbookFunctionsImArgumentRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImArgumentRequest + * + * @return the IWorkbookFunctionsImArgumentRequest instance + */ + IWorkbookFunctionsImArgumentRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImArgumentRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImArgumentRequest instance + */ + IWorkbookFunctionsImArgumentRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequest.java index ff58165af60..3d632803863 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImConjugateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Conjugate Request. */ -public interface IWorkbookFunctionsImConjugateRequest extends IBaseWorkbookFunctionsImConjugateRequest { +public interface IWorkbookFunctionsImConjugateRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImConjugateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImConjugateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImConjugateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequestBuilder.java index 2f2b216e7f2..375bd5cb08f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImConjugateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImConjugateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Conjugate Request Builder. */ -public interface IWorkbookFunctionsImConjugateRequestBuilder extends IBaseWorkbookFunctionsImConjugateRequestBuilder { +public interface IWorkbookFunctionsImConjugateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImConjugateRequest + * + * @return the IWorkbookFunctionsImConjugateRequest instance + */ + IWorkbookFunctionsImConjugateRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImConjugateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImConjugateRequest instance + */ + IWorkbookFunctionsImConjugateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequest.java index 4a0f274de17..aa54c5dac91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCosRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Cos Request. */ -public interface IWorkbookFunctionsImCosRequest extends IBaseWorkbookFunctionsImCosRequest { +public interface IWorkbookFunctionsImCosRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImCosRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImCosRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImCosRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequestBuilder.java index 6b4a9543b82..fab31abfce8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCosRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCosRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Cos Request Builder. */ -public interface IWorkbookFunctionsImCosRequestBuilder extends IBaseWorkbookFunctionsImCosRequestBuilder { +public interface IWorkbookFunctionsImCosRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImCosRequest + * + * @return the IWorkbookFunctionsImCosRequest instance + */ + IWorkbookFunctionsImCosRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImCosRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCosRequest instance + */ + IWorkbookFunctionsImCosRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequest.java index c217603e743..c33d9a3f45a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCoshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Cosh Request. */ -public interface IWorkbookFunctionsImCoshRequest extends IBaseWorkbookFunctionsImCoshRequest { +public interface IWorkbookFunctionsImCoshRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImCoshRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImCoshRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImCoshRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequestBuilder.java index 109afdba291..94bc7ae78ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCoshRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCoshRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Cosh Request Builder. */ -public interface IWorkbookFunctionsImCoshRequestBuilder extends IBaseWorkbookFunctionsImCoshRequestBuilder { +public interface IWorkbookFunctionsImCoshRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImCoshRequest + * + * @return the IWorkbookFunctionsImCoshRequest instance + */ + IWorkbookFunctionsImCoshRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImCoshRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCoshRequest instance + */ + IWorkbookFunctionsImCoshRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequest.java index 12e59a40c6d..6d6fc3a6c8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Cot Request. */ -public interface IWorkbookFunctionsImCotRequest extends IBaseWorkbookFunctionsImCotRequest { +public interface IWorkbookFunctionsImCotRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImCotRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImCotRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImCotRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequestBuilder.java index 7372006873c..214561013c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCotRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCotRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Cot Request Builder. */ -public interface IWorkbookFunctionsImCotRequestBuilder extends IBaseWorkbookFunctionsImCotRequestBuilder { +public interface IWorkbookFunctionsImCotRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImCotRequest + * + * @return the IWorkbookFunctionsImCotRequest instance + */ + IWorkbookFunctionsImCotRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImCotRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCotRequest instance + */ + IWorkbookFunctionsImCotRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequest.java index 8115c6bb727..fad5e496738 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Csc Request. */ -public interface IWorkbookFunctionsImCscRequest extends IBaseWorkbookFunctionsImCscRequest { +public interface IWorkbookFunctionsImCscRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImCscRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImCscRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImCscRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequestBuilder.java index 867986cdd30..c81b0f0b155 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCscRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCscRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Csc Request Builder. */ -public interface IWorkbookFunctionsImCscRequestBuilder extends IBaseWorkbookFunctionsImCscRequestBuilder { +public interface IWorkbookFunctionsImCscRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImCscRequest + * + * @return the IWorkbookFunctionsImCscRequest instance + */ + IWorkbookFunctionsImCscRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImCscRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCscRequest instance + */ + IWorkbookFunctionsImCscRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequest.java index dd6304d13b7..a45102ee63f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCschRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Csch Request. */ -public interface IWorkbookFunctionsImCschRequest extends IBaseWorkbookFunctionsImCschRequest { +public interface IWorkbookFunctionsImCschRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImCschRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImCschRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImCschRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequestBuilder.java index da3811fb12c..3ad3739d7bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImCschRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImCschRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Csch Request Builder. */ -public interface IWorkbookFunctionsImCschRequestBuilder extends IBaseWorkbookFunctionsImCschRequestBuilder { +public interface IWorkbookFunctionsImCschRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImCschRequest + * + * @return the IWorkbookFunctionsImCschRequest instance + */ + IWorkbookFunctionsImCschRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImCschRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCschRequest instance + */ + IWorkbookFunctionsImCschRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequest.java index 50b24863e18..86c1afdd2b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImDivRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Div Request. */ -public interface IWorkbookFunctionsImDivRequest extends IBaseWorkbookFunctionsImDivRequest { +public interface IWorkbookFunctionsImDivRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImDivRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImDivRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImDivRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequestBuilder.java index a5a1208748c..56569bc262d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImDivRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImDivRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Div Request Builder. */ -public interface IWorkbookFunctionsImDivRequestBuilder extends IBaseWorkbookFunctionsImDivRequestBuilder { +public interface IWorkbookFunctionsImDivRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImDivRequest + * + * @return the IWorkbookFunctionsImDivRequest instance + */ + IWorkbookFunctionsImDivRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImDivRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImDivRequest instance + */ + IWorkbookFunctionsImDivRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequest.java index 19b0872b8ed..ef35f9901a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImExpRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Exp Request. */ -public interface IWorkbookFunctionsImExpRequest extends IBaseWorkbookFunctionsImExpRequest { +public interface IWorkbookFunctionsImExpRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImExpRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImExpRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImExpRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequestBuilder.java index 5c49a03fa6a..f58776e8684 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImExpRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImExpRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Exp Request Builder. */ -public interface IWorkbookFunctionsImExpRequestBuilder extends IBaseWorkbookFunctionsImExpRequestBuilder { +public interface IWorkbookFunctionsImExpRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImExpRequest + * + * @return the IWorkbookFunctionsImExpRequest instance + */ + IWorkbookFunctionsImExpRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImExpRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImExpRequest instance + */ + IWorkbookFunctionsImExpRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequest.java index 227634ebc4d..87295e12ce9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImLnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Ln Request. */ -public interface IWorkbookFunctionsImLnRequest extends IBaseWorkbookFunctionsImLnRequest { +public interface IWorkbookFunctionsImLnRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImLnRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImLnRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImLnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequestBuilder.java index a4b5fc66602..e8bc743d6af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImLnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Ln Request Builder. */ -public interface IWorkbookFunctionsImLnRequestBuilder extends IBaseWorkbookFunctionsImLnRequestBuilder { +public interface IWorkbookFunctionsImLnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImLnRequest + * + * @return the IWorkbookFunctionsImLnRequest instance + */ + IWorkbookFunctionsImLnRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImLnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImLnRequest instance + */ + IWorkbookFunctionsImLnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10Request.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10Request.java index ec229e326bf..f09ea4a38cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10Request.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImLog10Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Log10Request. */ -public interface IWorkbookFunctionsImLog10Request extends IBaseWorkbookFunctionsImLog10Request { +public interface IWorkbookFunctionsImLog10Request { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImLog10Request select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImLog10Request top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImLog10Request expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10RequestBuilder.java index 275a7b396b1..cd59ce7a5e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog10RequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImLog10RequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Log10Request Builder. */ -public interface IWorkbookFunctionsImLog10RequestBuilder extends IBaseWorkbookFunctionsImLog10RequestBuilder { +public interface IWorkbookFunctionsImLog10RequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImLog10Request + * + * @return the IWorkbookFunctionsImLog10Request instance + */ + IWorkbookFunctionsImLog10Request buildRequest(); + + /** + * Creates the IWorkbookFunctionsImLog10Request with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImLog10Request instance + */ + IWorkbookFunctionsImLog10Request buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2Request.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2Request.java index 808b8031a5c..1f3a133e5d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2Request.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImLog2Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Log2Request. */ -public interface IWorkbookFunctionsImLog2Request extends IBaseWorkbookFunctionsImLog2Request { +public interface IWorkbookFunctionsImLog2Request { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImLog2Request select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImLog2Request top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImLog2Request expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2RequestBuilder.java index b68c088cd66..bf35a8c99e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImLog2RequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImLog2RequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Log2Request Builder. */ -public interface IWorkbookFunctionsImLog2RequestBuilder extends IBaseWorkbookFunctionsImLog2RequestBuilder { +public interface IWorkbookFunctionsImLog2RequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImLog2Request + * + * @return the IWorkbookFunctionsImLog2Request instance + */ + IWorkbookFunctionsImLog2Request buildRequest(); + + /** + * Creates the IWorkbookFunctionsImLog2Request with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImLog2Request instance + */ + IWorkbookFunctionsImLog2Request buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequest.java index d0a7950c124..5a826e970cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImPowerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Power Request. */ -public interface IWorkbookFunctionsImPowerRequest extends IBaseWorkbookFunctionsImPowerRequest { +public interface IWorkbookFunctionsImPowerRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImPowerRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImPowerRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImPowerRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequestBuilder.java index 09be30c1f35..30ed73ff52a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImPowerRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImPowerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Power Request Builder. */ -public interface IWorkbookFunctionsImPowerRequestBuilder extends IBaseWorkbookFunctionsImPowerRequestBuilder { +public interface IWorkbookFunctionsImPowerRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImPowerRequest + * + * @return the IWorkbookFunctionsImPowerRequest instance + */ + IWorkbookFunctionsImPowerRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImPowerRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImPowerRequest instance + */ + IWorkbookFunctionsImPowerRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequest.java index acc2cd33804..a8ef364f0e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImProductRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Product Request. */ -public interface IWorkbookFunctionsImProductRequest extends IBaseWorkbookFunctionsImProductRequest { +public interface IWorkbookFunctionsImProductRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImProductRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImProductRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImProductRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequestBuilder.java index 4b788b70fc7..183ad1a225f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImProductRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImProductRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Product Request Builder. */ -public interface IWorkbookFunctionsImProductRequestBuilder extends IBaseWorkbookFunctionsImProductRequestBuilder { +public interface IWorkbookFunctionsImProductRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImProductRequest + * + * @return the IWorkbookFunctionsImProductRequest instance + */ + IWorkbookFunctionsImProductRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImProductRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImProductRequest instance + */ + IWorkbookFunctionsImProductRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequest.java index 79a8c6f11c5..4410504c826 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImRealRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Real Request. */ -public interface IWorkbookFunctionsImRealRequest extends IBaseWorkbookFunctionsImRealRequest { +public interface IWorkbookFunctionsImRealRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImRealRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImRealRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImRealRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequestBuilder.java index cb51022596d..1377071797b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImRealRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImRealRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Real Request Builder. */ -public interface IWorkbookFunctionsImRealRequestBuilder extends IBaseWorkbookFunctionsImRealRequestBuilder { +public interface IWorkbookFunctionsImRealRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImRealRequest + * + * @return the IWorkbookFunctionsImRealRequest instance + */ + IWorkbookFunctionsImRealRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImRealRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImRealRequest instance + */ + IWorkbookFunctionsImRealRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequest.java index 15bfcf7f266..cc791506c9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sec Request. */ -public interface IWorkbookFunctionsImSecRequest extends IBaseWorkbookFunctionsImSecRequest { +public interface IWorkbookFunctionsImSecRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSecRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSecRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSecRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequestBuilder.java index 40ff3e73c0a..25b46a3b5f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSecRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSecRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sec Request Builder. */ -public interface IWorkbookFunctionsImSecRequestBuilder extends IBaseWorkbookFunctionsImSecRequestBuilder { +public interface IWorkbookFunctionsImSecRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSecRequest + * + * @return the IWorkbookFunctionsImSecRequest instance + */ + IWorkbookFunctionsImSecRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSecRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSecRequest instance + */ + IWorkbookFunctionsImSecRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequest.java index 1d87c452a1b..75f4195663c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSechRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sech Request. */ -public interface IWorkbookFunctionsImSechRequest extends IBaseWorkbookFunctionsImSechRequest { +public interface IWorkbookFunctionsImSechRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSechRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSechRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSechRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequestBuilder.java index af2388bbe3e..4100b46ca97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSechRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSechRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sech Request Builder. */ -public interface IWorkbookFunctionsImSechRequestBuilder extends IBaseWorkbookFunctionsImSechRequestBuilder { +public interface IWorkbookFunctionsImSechRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSechRequest + * + * @return the IWorkbookFunctionsImSechRequest instance + */ + IWorkbookFunctionsImSechRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSechRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSechRequest instance + */ + IWorkbookFunctionsImSechRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequest.java index 553abd9d7d5..feeed007e60 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sin Request. */ -public interface IWorkbookFunctionsImSinRequest extends IBaseWorkbookFunctionsImSinRequest { +public interface IWorkbookFunctionsImSinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequestBuilder.java index ff0fa6d34c8..2561a3e7aa5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sin Request Builder. */ -public interface IWorkbookFunctionsImSinRequestBuilder extends IBaseWorkbookFunctionsImSinRequestBuilder { +public interface IWorkbookFunctionsImSinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSinRequest + * + * @return the IWorkbookFunctionsImSinRequest instance + */ + IWorkbookFunctionsImSinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSinRequest instance + */ + IWorkbookFunctionsImSinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequest.java index 4da76de0822..d0e315074e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSinhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sinh Request. */ -public interface IWorkbookFunctionsImSinhRequest extends IBaseWorkbookFunctionsImSinhRequest { +public interface IWorkbookFunctionsImSinhRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSinhRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSinhRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSinhRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequestBuilder.java index a5882aecdf9..0d47d94b094 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSinhRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSinhRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sinh Request Builder. */ -public interface IWorkbookFunctionsImSinhRequestBuilder extends IBaseWorkbookFunctionsImSinhRequestBuilder { +public interface IWorkbookFunctionsImSinhRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSinhRequest + * + * @return the IWorkbookFunctionsImSinhRequest instance + */ + IWorkbookFunctionsImSinhRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSinhRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSinhRequest instance + */ + IWorkbookFunctionsImSinhRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequest.java index 42636e77db1..aff12041454 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSqrtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sqrt Request. */ -public interface IWorkbookFunctionsImSqrtRequest extends IBaseWorkbookFunctionsImSqrtRequest { +public interface IWorkbookFunctionsImSqrtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSqrtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSqrtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSqrtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequestBuilder.java index 72814775969..bfb3710790d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSqrtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSqrtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sqrt Request Builder. */ -public interface IWorkbookFunctionsImSqrtRequestBuilder extends IBaseWorkbookFunctionsImSqrtRequestBuilder { +public interface IWorkbookFunctionsImSqrtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSqrtRequest + * + * @return the IWorkbookFunctionsImSqrtRequest instance + */ + IWorkbookFunctionsImSqrtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSqrtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSqrtRequest instance + */ + IWorkbookFunctionsImSqrtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequest.java index 477e61e542e..98c1055f24d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSubRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sub Request. */ -public interface IWorkbookFunctionsImSubRequest extends IBaseWorkbookFunctionsImSubRequest { +public interface IWorkbookFunctionsImSubRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSubRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSubRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSubRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequestBuilder.java index bfef51c0a0d..b4f660562e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSubRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSubRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sub Request Builder. */ -public interface IWorkbookFunctionsImSubRequestBuilder extends IBaseWorkbookFunctionsImSubRequestBuilder { +public interface IWorkbookFunctionsImSubRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSubRequest + * + * @return the IWorkbookFunctionsImSubRequest instance + */ + IWorkbookFunctionsImSubRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSubRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSubRequest instance + */ + IWorkbookFunctionsImSubRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequest.java index 0b8b644b614..9a399c5d1b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sum Request. */ -public interface IWorkbookFunctionsImSumRequest extends IBaseWorkbookFunctionsImSumRequest { +public interface IWorkbookFunctionsImSumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImSumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImSumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImSumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequestBuilder.java index d98b073d329..24f1a993942 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImSumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImSumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Sum Request Builder. */ -public interface IWorkbookFunctionsImSumRequestBuilder extends IBaseWorkbookFunctionsImSumRequestBuilder { +public interface IWorkbookFunctionsImSumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImSumRequest + * + * @return the IWorkbookFunctionsImSumRequest instance + */ + IWorkbookFunctionsImSumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImSumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSumRequest instance + */ + IWorkbookFunctionsImSumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequest.java index 8dd1f2f11a4..c087240ec88 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImTanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Tan Request. */ -public interface IWorkbookFunctionsImTanRequest extends IBaseWorkbookFunctionsImTanRequest { +public interface IWorkbookFunctionsImTanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImTanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImTanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImTanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequestBuilder.java index d0ae579795a..1c6206dd46c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImTanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImTanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Im Tan Request Builder. */ -public interface IWorkbookFunctionsImTanRequestBuilder extends IBaseWorkbookFunctionsImTanRequestBuilder { +public interface IWorkbookFunctionsImTanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImTanRequest + * + * @return the IWorkbookFunctionsImTanRequest instance + */ + IWorkbookFunctionsImTanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImTanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImTanRequest instance + */ + IWorkbookFunctionsImTanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequest.java index b8a3e65369e..f295880990f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImaginaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Imaginary Request. */ -public interface IWorkbookFunctionsImaginaryRequest extends IBaseWorkbookFunctionsImaginaryRequest { +public interface IWorkbookFunctionsImaginaryRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsImaginaryRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsImaginaryRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsImaginaryRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequestBuilder.java index 206b71ea643..4b210f1507b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsImaginaryRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsImaginaryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Imaginary Request Builder. */ -public interface IWorkbookFunctionsImaginaryRequestBuilder extends IBaseWorkbookFunctionsImaginaryRequestBuilder { +public interface IWorkbookFunctionsImaginaryRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsImaginaryRequest + * + * @return the IWorkbookFunctionsImaginaryRequest instance + */ + IWorkbookFunctionsImaginaryRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsImaginaryRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImaginaryRequest instance + */ + IWorkbookFunctionsImaginaryRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequest.java index c6727e22963..6c935404b80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIntRateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Int Rate Request. */ -public interface IWorkbookFunctionsIntRateRequest extends IBaseWorkbookFunctionsIntRateRequest { +public interface IWorkbookFunctionsIntRateRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIntRateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIntRateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIntRateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequestBuilder.java index c553081903e..59193b77a76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIntRateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Int Rate Request Builder. */ -public interface IWorkbookFunctionsIntRateRequestBuilder extends IBaseWorkbookFunctionsIntRateRequestBuilder { +public interface IWorkbookFunctionsIntRateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIntRateRequest + * + * @return the IWorkbookFunctionsIntRateRequest instance + */ + IWorkbookFunctionsIntRateRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIntRateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIntRateRequest instance + */ + IWorkbookFunctionsIntRateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequest.java index e5e678be146..aa036d2eddb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIntRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Int Request. */ -public interface IWorkbookFunctionsIntRequest extends IBaseWorkbookFunctionsIntRequest { +public interface IWorkbookFunctionsIntRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIntRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIntRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIntRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequestBuilder.java index 26ced66a240..ad04233eec8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIntRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIntRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Int Request Builder. */ -public interface IWorkbookFunctionsIntRequestBuilder extends IBaseWorkbookFunctionsIntRequestBuilder { +public interface IWorkbookFunctionsIntRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIntRequest + * + * @return the IWorkbookFunctionsIntRequest instance + */ + IWorkbookFunctionsIntRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIntRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIntRequest instance + */ + IWorkbookFunctionsIntRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequest.java index c8a6ede068d..0ab38e2cc1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIpmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ipmt Request. */ -public interface IWorkbookFunctionsIpmtRequest extends IBaseWorkbookFunctionsIpmtRequest { +public interface IWorkbookFunctionsIpmtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIpmtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIpmtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIpmtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequestBuilder.java index dde141c6d65..a70ca619608 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIpmtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIpmtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ipmt Request Builder. */ -public interface IWorkbookFunctionsIpmtRequestBuilder extends IBaseWorkbookFunctionsIpmtRequestBuilder { +public interface IWorkbookFunctionsIpmtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIpmtRequest + * + * @return the IWorkbookFunctionsIpmtRequest instance + */ + IWorkbookFunctionsIpmtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIpmtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIpmtRequest instance + */ + IWorkbookFunctionsIpmtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequest.java index 49839e693f5..8c9e470c4e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIrrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Irr Request. */ -public interface IWorkbookFunctionsIrrRequest extends IBaseWorkbookFunctionsIrrRequest { +public interface IWorkbookFunctionsIrrRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIrrRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIrrRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIrrRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequestBuilder.java index 65e16366394..b6ac7cff6a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIrrRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIrrRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Irr Request Builder. */ -public interface IWorkbookFunctionsIrrRequestBuilder extends IBaseWorkbookFunctionsIrrRequestBuilder { +public interface IWorkbookFunctionsIrrRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIrrRequest + * + * @return the IWorkbookFunctionsIrrRequest instance + */ + IWorkbookFunctionsIrrRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIrrRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIrrRequest instance + */ + IWorkbookFunctionsIrrRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequest.java index 9d7690d4b41..fccbaefbbae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsErrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Err Request. */ -public interface IWorkbookFunctionsIsErrRequest extends IBaseWorkbookFunctionsIsErrRequest { +public interface IWorkbookFunctionsIsErrRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsErrRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsErrRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsErrRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequestBuilder.java index d32426b5a33..dfec97a12c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsErrRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Err Request Builder. */ -public interface IWorkbookFunctionsIsErrRequestBuilder extends IBaseWorkbookFunctionsIsErrRequestBuilder { +public interface IWorkbookFunctionsIsErrRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsErrRequest + * + * @return the IWorkbookFunctionsIsErrRequest instance + */ + IWorkbookFunctionsIsErrRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsErrRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsErrRequest instance + */ + IWorkbookFunctionsIsErrRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequest.java index 6cc29d3617b..472ff82a0dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsErrorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Error Request. */ -public interface IWorkbookFunctionsIsErrorRequest extends IBaseWorkbookFunctionsIsErrorRequest { +public interface IWorkbookFunctionsIsErrorRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsErrorRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsErrorRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsErrorRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequestBuilder.java index 8293b4852dc..084dd5ed3a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsErrorRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsErrorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Error Request Builder. */ -public interface IWorkbookFunctionsIsErrorRequestBuilder extends IBaseWorkbookFunctionsIsErrorRequestBuilder { +public interface IWorkbookFunctionsIsErrorRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsErrorRequest + * + * @return the IWorkbookFunctionsIsErrorRequest instance + */ + IWorkbookFunctionsIsErrorRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsErrorRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsErrorRequest instance + */ + IWorkbookFunctionsIsErrorRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequest.java index 5d9395491d9..9d566c502ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsEvenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Even Request. */ -public interface IWorkbookFunctionsIsEvenRequest extends IBaseWorkbookFunctionsIsEvenRequest { +public interface IWorkbookFunctionsIsEvenRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsEvenRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsEvenRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsEvenRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequestBuilder.java index edc9d801515..84d20c6939a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsEvenRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsEvenRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Even Request Builder. */ -public interface IWorkbookFunctionsIsEvenRequestBuilder extends IBaseWorkbookFunctionsIsEvenRequestBuilder { +public interface IWorkbookFunctionsIsEvenRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsEvenRequest + * + * @return the IWorkbookFunctionsIsEvenRequest instance + */ + IWorkbookFunctionsIsEvenRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsEvenRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsEvenRequest instance + */ + IWorkbookFunctionsIsEvenRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequest.java index 4d36cbad1e3..4e9f5298a0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsFormulaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Formula Request. */ -public interface IWorkbookFunctionsIsFormulaRequest extends IBaseWorkbookFunctionsIsFormulaRequest { +public interface IWorkbookFunctionsIsFormulaRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsFormulaRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsFormulaRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsFormulaRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequestBuilder.java index d3c4f82e996..7e3a23726a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsFormulaRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsFormulaRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Formula Request Builder. */ -public interface IWorkbookFunctionsIsFormulaRequestBuilder extends IBaseWorkbookFunctionsIsFormulaRequestBuilder { +public interface IWorkbookFunctionsIsFormulaRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsFormulaRequest + * + * @return the IWorkbookFunctionsIsFormulaRequest instance + */ + IWorkbookFunctionsIsFormulaRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsFormulaRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsFormulaRequest instance + */ + IWorkbookFunctionsIsFormulaRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequest.java index 502b84f65da..c0056930bf4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsLogicalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Logical Request. */ -public interface IWorkbookFunctionsIsLogicalRequest extends IBaseWorkbookFunctionsIsLogicalRequest { +public interface IWorkbookFunctionsIsLogicalRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsLogicalRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsLogicalRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsLogicalRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequestBuilder.java index e99781e7ebf..215a809283b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsLogicalRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsLogicalRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Logical Request Builder. */ -public interface IWorkbookFunctionsIsLogicalRequestBuilder extends IBaseWorkbookFunctionsIsLogicalRequestBuilder { +public interface IWorkbookFunctionsIsLogicalRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsLogicalRequest + * + * @return the IWorkbookFunctionsIsLogicalRequest instance + */ + IWorkbookFunctionsIsLogicalRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsLogicalRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsLogicalRequest instance + */ + IWorkbookFunctionsIsLogicalRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequest.java index 46c5eaaaa56..76801e0491c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsNARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is NARequest. */ -public interface IWorkbookFunctionsIsNARequest extends IBaseWorkbookFunctionsIsNARequest { +public interface IWorkbookFunctionsIsNARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsNARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsNARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsNARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequestBuilder.java index 4c56dc15363..6d3ebcb89ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsNARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is NARequest Builder. */ -public interface IWorkbookFunctionsIsNARequestBuilder extends IBaseWorkbookFunctionsIsNARequestBuilder { +public interface IWorkbookFunctionsIsNARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsNARequest + * + * @return the IWorkbookFunctionsIsNARequest instance + */ + IWorkbookFunctionsIsNARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsNARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsNARequest instance + */ + IWorkbookFunctionsIsNARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequest.java index 7d8106cbded..75cd7ae103c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsNonTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Non Text Request. */ -public interface IWorkbookFunctionsIsNonTextRequest extends IBaseWorkbookFunctionsIsNonTextRequest { +public interface IWorkbookFunctionsIsNonTextRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsNonTextRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsNonTextRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsNonTextRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequestBuilder.java index 2c189c13616..124012339fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNonTextRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsNonTextRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Non Text Request Builder. */ -public interface IWorkbookFunctionsIsNonTextRequestBuilder extends IBaseWorkbookFunctionsIsNonTextRequestBuilder { +public interface IWorkbookFunctionsIsNonTextRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsNonTextRequest + * + * @return the IWorkbookFunctionsIsNonTextRequest instance + */ + IWorkbookFunctionsIsNonTextRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsNonTextRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsNonTextRequest instance + */ + IWorkbookFunctionsIsNonTextRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequest.java index 9ea5aa0e462..622d85d6103 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsNumberRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Number Request. */ -public interface IWorkbookFunctionsIsNumberRequest extends IBaseWorkbookFunctionsIsNumberRequest { +public interface IWorkbookFunctionsIsNumberRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsNumberRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsNumberRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsNumberRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequestBuilder.java index db93cdcb0e9..8d8ffba52d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsNumberRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsNumberRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Number Request Builder. */ -public interface IWorkbookFunctionsIsNumberRequestBuilder extends IBaseWorkbookFunctionsIsNumberRequestBuilder { +public interface IWorkbookFunctionsIsNumberRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsNumberRequest + * + * @return the IWorkbookFunctionsIsNumberRequest instance + */ + IWorkbookFunctionsIsNumberRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsNumberRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsNumberRequest instance + */ + IWorkbookFunctionsIsNumberRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequest.java index 8c3b7e42c3c..df9dd1ed581 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsOddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Odd Request. */ -public interface IWorkbookFunctionsIsOddRequest extends IBaseWorkbookFunctionsIsOddRequest { +public interface IWorkbookFunctionsIsOddRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsOddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsOddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsOddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequestBuilder.java index ccabcbb98fa..40b711c50d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsOddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsOddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Odd Request Builder. */ -public interface IWorkbookFunctionsIsOddRequestBuilder extends IBaseWorkbookFunctionsIsOddRequestBuilder { +public interface IWorkbookFunctionsIsOddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsOddRequest + * + * @return the IWorkbookFunctionsIsOddRequest instance + */ + IWorkbookFunctionsIsOddRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsOddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsOddRequest instance + */ + IWorkbookFunctionsIsOddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequest.java index 6f6ec008600..5583bc01940 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Text Request. */ -public interface IWorkbookFunctionsIsTextRequest extends IBaseWorkbookFunctionsIsTextRequest { +public interface IWorkbookFunctionsIsTextRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsTextRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsTextRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsTextRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequestBuilder.java index 1d290827881..4beb0e37fbf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsTextRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsTextRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Is Text Request Builder. */ -public interface IWorkbookFunctionsIsTextRequestBuilder extends IBaseWorkbookFunctionsIsTextRequestBuilder { +public interface IWorkbookFunctionsIsTextRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsTextRequest + * + * @return the IWorkbookFunctionsIsTextRequest instance + */ + IWorkbookFunctionsIsTextRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsTextRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsTextRequest instance + */ + IWorkbookFunctionsIsTextRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequest.java index b382de8a799..d7f184e5cf8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsoWeekNumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Iso Week Num Request. */ -public interface IWorkbookFunctionsIsoWeekNumRequest extends IBaseWorkbookFunctionsIsoWeekNumRequest { +public interface IWorkbookFunctionsIsoWeekNumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsoWeekNumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsoWeekNumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsoWeekNumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequestBuilder.java index 6978d747d19..879aafcb141 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsoWeekNumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsoWeekNumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Iso Week Num Request Builder. */ -public interface IWorkbookFunctionsIsoWeekNumRequestBuilder extends IBaseWorkbookFunctionsIsoWeekNumRequestBuilder { +public interface IWorkbookFunctionsIsoWeekNumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsoWeekNumRequest + * + * @return the IWorkbookFunctionsIsoWeekNumRequest instance + */ + IWorkbookFunctionsIsoWeekNumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsoWeekNumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsoWeekNumRequest instance + */ + IWorkbookFunctionsIsoWeekNumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequest.java index ae3f52e93d6..9212ad6d26f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIso_CeilingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Iso_Ceiling Request. */ -public interface IWorkbookFunctionsIso_CeilingRequest extends IBaseWorkbookFunctionsIso_CeilingRequest { +public interface IWorkbookFunctionsIso_CeilingRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIso_CeilingRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIso_CeilingRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIso_CeilingRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequestBuilder.java index 79820347047..2b8a0b50a73 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIso_CeilingRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIso_CeilingRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Iso_Ceiling Request Builder. */ -public interface IWorkbookFunctionsIso_CeilingRequestBuilder extends IBaseWorkbookFunctionsIso_CeilingRequestBuilder { +public interface IWorkbookFunctionsIso_CeilingRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIso_CeilingRequest + * + * @return the IWorkbookFunctionsIso_CeilingRequest instance + */ + IWorkbookFunctionsIso_CeilingRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIso_CeilingRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIso_CeilingRequest instance + */ + IWorkbookFunctionsIso_CeilingRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequest.java index 0d7a9ad3a59..7e8b6df7fd0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIspmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ispmt Request. */ -public interface IWorkbookFunctionsIspmtRequest extends IBaseWorkbookFunctionsIspmtRequest { +public interface IWorkbookFunctionsIspmtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIspmtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIspmtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIspmtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequestBuilder.java index aa743a82049..1c4c14446ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIspmtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIspmtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ispmt Request Builder. */ -public interface IWorkbookFunctionsIspmtRequestBuilder extends IBaseWorkbookFunctionsIspmtRequestBuilder { +public interface IWorkbookFunctionsIspmtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIspmtRequest + * + * @return the IWorkbookFunctionsIspmtRequest instance + */ + IWorkbookFunctionsIspmtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIspmtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIspmtRequest instance + */ + IWorkbookFunctionsIspmtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequest.java index 3d1062311aa..2878f1e480e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsrefRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Isref Request. */ -public interface IWorkbookFunctionsIsrefRequest extends IBaseWorkbookFunctionsIsrefRequest { +public interface IWorkbookFunctionsIsrefRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsIsrefRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsIsrefRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsIsrefRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequestBuilder.java index 2d99cdcdfeb..da777fa6a40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsIsrefRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsIsrefRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Isref Request Builder. */ -public interface IWorkbookFunctionsIsrefRequestBuilder extends IBaseWorkbookFunctionsIsrefRequestBuilder { +public interface IWorkbookFunctionsIsrefRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsIsrefRequest + * + * @return the IWorkbookFunctionsIsrefRequest instance + */ + IWorkbookFunctionsIsrefRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsIsrefRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsrefRequest instance + */ + IWorkbookFunctionsIsrefRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequest.java index 303660c1e01..19679054a83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsKurtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Kurt Request. */ -public interface IWorkbookFunctionsKurtRequest extends IBaseWorkbookFunctionsKurtRequest { +public interface IWorkbookFunctionsKurtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsKurtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsKurtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsKurtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequestBuilder.java index db6b9982e1e..79288deb8c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsKurtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsKurtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Kurt Request Builder. */ -public interface IWorkbookFunctionsKurtRequestBuilder extends IBaseWorkbookFunctionsKurtRequestBuilder { +public interface IWorkbookFunctionsKurtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsKurtRequest + * + * @return the IWorkbookFunctionsKurtRequest instance + */ + IWorkbookFunctionsKurtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsKurtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsKurtRequest instance + */ + IWorkbookFunctionsKurtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequest.java index fa9f3815f5f..d0d6d6d8be4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLargeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Large Request. */ -public interface IWorkbookFunctionsLargeRequest extends IBaseWorkbookFunctionsLargeRequest { +public interface IWorkbookFunctionsLargeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLargeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLargeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLargeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequestBuilder.java index 9e607189eeb..b125f6c73de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLargeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLargeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Large Request Builder. */ -public interface IWorkbookFunctionsLargeRequestBuilder extends IBaseWorkbookFunctionsLargeRequestBuilder { +public interface IWorkbookFunctionsLargeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLargeRequest + * + * @return the IWorkbookFunctionsLargeRequest instance + */ + IWorkbookFunctionsLargeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLargeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLargeRequest instance + */ + IWorkbookFunctionsLargeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequest.java index 239e9c59a90..f4b6deb1757 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLcmRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lcm Request. */ -public interface IWorkbookFunctionsLcmRequest extends IBaseWorkbookFunctionsLcmRequest { +public interface IWorkbookFunctionsLcmRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLcmRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLcmRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLcmRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequestBuilder.java index 2fab17efb24..f9020efe381 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLcmRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLcmRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lcm Request Builder. */ -public interface IWorkbookFunctionsLcmRequestBuilder extends IBaseWorkbookFunctionsLcmRequestBuilder { +public interface IWorkbookFunctionsLcmRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLcmRequest + * + * @return the IWorkbookFunctionsLcmRequest instance + */ + IWorkbookFunctionsLcmRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLcmRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLcmRequest instance + */ + IWorkbookFunctionsLcmRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequest.java index ec70acc8b3d..6f60ef8072f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLeftRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Left Request. */ -public interface IWorkbookFunctionsLeftRequest extends IBaseWorkbookFunctionsLeftRequest { +public interface IWorkbookFunctionsLeftRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLeftRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLeftRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLeftRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequestBuilder.java index 291fdeeb9e9..2d437742389 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLeftRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Left Request Builder. */ -public interface IWorkbookFunctionsLeftRequestBuilder extends IBaseWorkbookFunctionsLeftRequestBuilder { +public interface IWorkbookFunctionsLeftRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLeftRequest + * + * @return the IWorkbookFunctionsLeftRequest instance + */ + IWorkbookFunctionsLeftRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLeftRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLeftRequest instance + */ + IWorkbookFunctionsLeftRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequest.java index c2882e3ce97..18b1539aaf8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLeftbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Leftb Request. */ -public interface IWorkbookFunctionsLeftbRequest extends IBaseWorkbookFunctionsLeftbRequest { +public interface IWorkbookFunctionsLeftbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLeftbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLeftbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLeftbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequestBuilder.java index b17f9ec7703..f207824cdf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLeftbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLeftbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Leftb Request Builder. */ -public interface IWorkbookFunctionsLeftbRequestBuilder extends IBaseWorkbookFunctionsLeftbRequestBuilder { +public interface IWorkbookFunctionsLeftbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLeftbRequest + * + * @return the IWorkbookFunctionsLeftbRequest instance + */ + IWorkbookFunctionsLeftbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLeftbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLeftbRequest instance + */ + IWorkbookFunctionsLeftbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequest.java index 74713cd2068..a70132d771f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Len Request. */ -public interface IWorkbookFunctionsLenRequest extends IBaseWorkbookFunctionsLenRequest { +public interface IWorkbookFunctionsLenRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLenRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLenRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLenRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequestBuilder.java index 75c29dbda37..e8f6678a570 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLenRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Len Request Builder. */ -public interface IWorkbookFunctionsLenRequestBuilder extends IBaseWorkbookFunctionsLenRequestBuilder { +public interface IWorkbookFunctionsLenRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLenRequest + * + * @return the IWorkbookFunctionsLenRequest instance + */ + IWorkbookFunctionsLenRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLenRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLenRequest instance + */ + IWorkbookFunctionsLenRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequest.java index a495e1e9284..c6f00b554f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLenbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lenb Request. */ -public interface IWorkbookFunctionsLenbRequest extends IBaseWorkbookFunctionsLenbRequest { +public interface IWorkbookFunctionsLenbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLenbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLenbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLenbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequestBuilder.java index 5ff42168755..3b11968fc80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLenbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLenbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lenb Request Builder. */ -public interface IWorkbookFunctionsLenbRequestBuilder extends IBaseWorkbookFunctionsLenbRequestBuilder { +public interface IWorkbookFunctionsLenbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLenbRequest + * + * @return the IWorkbookFunctionsLenbRequest instance + */ + IWorkbookFunctionsLenbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLenbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLenbRequest instance + */ + IWorkbookFunctionsLenbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequest.java index 76dc4efc0e6..fe1e5d3ca49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ln Request. */ -public interface IWorkbookFunctionsLnRequest extends IBaseWorkbookFunctionsLnRequest { +public interface IWorkbookFunctionsLnRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLnRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLnRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequestBuilder.java index 1b0adec0a4b..79bd5cc1fc5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ln Request Builder. */ -public interface IWorkbookFunctionsLnRequestBuilder extends IBaseWorkbookFunctionsLnRequestBuilder { +public interface IWorkbookFunctionsLnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLnRequest + * + * @return the IWorkbookFunctionsLnRequest instance + */ + IWorkbookFunctionsLnRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLnRequest instance + */ + IWorkbookFunctionsLnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10Request.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10Request.java index 06f60822373..03a94e8d861 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10Request.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLog10Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log10Request. */ -public interface IWorkbookFunctionsLog10Request extends IBaseWorkbookFunctionsLog10Request { +public interface IWorkbookFunctionsLog10Request { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLog10Request select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLog10Request top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLog10Request expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10RequestBuilder.java index 97ccaeb08f3..4b37b98def9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLog10RequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLog10RequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log10Request Builder. */ -public interface IWorkbookFunctionsLog10RequestBuilder extends IBaseWorkbookFunctionsLog10RequestBuilder { +public interface IWorkbookFunctionsLog10RequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLog10Request + * + * @return the IWorkbookFunctionsLog10Request instance + */ + IWorkbookFunctionsLog10Request buildRequest(); + + /** + * Creates the IWorkbookFunctionsLog10Request with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLog10Request instance + */ + IWorkbookFunctionsLog10Request buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequest.java index c445a23d39d..ef87593c97b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLogNorm_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log Norm_Dist Request. */ -public interface IWorkbookFunctionsLogNorm_DistRequest extends IBaseWorkbookFunctionsLogNorm_DistRequest { +public interface IWorkbookFunctionsLogNorm_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLogNorm_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLogNorm_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLogNorm_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequestBuilder.java index f062d120a0c..28d8bbcc616 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLogNorm_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log Norm_Dist Request Builder. */ -public interface IWorkbookFunctionsLogNorm_DistRequestBuilder extends IBaseWorkbookFunctionsLogNorm_DistRequestBuilder { +public interface IWorkbookFunctionsLogNorm_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLogNorm_DistRequest + * + * @return the IWorkbookFunctionsLogNorm_DistRequest instance + */ + IWorkbookFunctionsLogNorm_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLogNorm_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLogNorm_DistRequest instance + */ + IWorkbookFunctionsLogNorm_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequest.java index 500e6746fa6..00dd7b1f28a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLogNorm_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log Norm_Inv Request. */ -public interface IWorkbookFunctionsLogNorm_InvRequest extends IBaseWorkbookFunctionsLogNorm_InvRequest { +public interface IWorkbookFunctionsLogNorm_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLogNorm_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLogNorm_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLogNorm_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequestBuilder.java index dccf65809fc..c89419ea632 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogNorm_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLogNorm_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log Norm_Inv Request Builder. */ -public interface IWorkbookFunctionsLogNorm_InvRequestBuilder extends IBaseWorkbookFunctionsLogNorm_InvRequestBuilder { +public interface IWorkbookFunctionsLogNorm_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLogNorm_InvRequest + * + * @return the IWorkbookFunctionsLogNorm_InvRequest instance + */ + IWorkbookFunctionsLogNorm_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLogNorm_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLogNorm_InvRequest instance + */ + IWorkbookFunctionsLogNorm_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequest.java index 8f760e4a76d..f3584a6d06e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLogRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log Request. */ -public interface IWorkbookFunctionsLogRequest extends IBaseWorkbookFunctionsLogRequest { +public interface IWorkbookFunctionsLogRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLogRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLogRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLogRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequestBuilder.java index b72472ea64a..e735e5b3c63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLogRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLogRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Log Request Builder. */ -public interface IWorkbookFunctionsLogRequestBuilder extends IBaseWorkbookFunctionsLogRequestBuilder { +public interface IWorkbookFunctionsLogRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLogRequest + * + * @return the IWorkbookFunctionsLogRequest instance + */ + IWorkbookFunctionsLogRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLogRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLogRequest instance + */ + IWorkbookFunctionsLogRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequest.java index bb92badbcd5..4e25645bee6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLookupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lookup Request. */ -public interface IWorkbookFunctionsLookupRequest extends IBaseWorkbookFunctionsLookupRequest { +public interface IWorkbookFunctionsLookupRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLookupRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLookupRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLookupRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequestBuilder.java index f6ef0f62b0d..14661e0e976 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLookupRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLookupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lookup Request Builder. */ -public interface IWorkbookFunctionsLookupRequestBuilder extends IBaseWorkbookFunctionsLookupRequestBuilder { +public interface IWorkbookFunctionsLookupRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLookupRequest + * + * @return the IWorkbookFunctionsLookupRequest instance + */ + IWorkbookFunctionsLookupRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLookupRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLookupRequest instance + */ + IWorkbookFunctionsLookupRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequest.java index cf14052085b..d97bec88bd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLowerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lower Request. */ -public interface IWorkbookFunctionsLowerRequest extends IBaseWorkbookFunctionsLowerRequest { +public interface IWorkbookFunctionsLowerRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsLowerRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsLowerRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsLowerRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequestBuilder.java index 96870ea802e..917a90bcdc7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsLowerRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsLowerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Lower Request Builder. */ -public interface IWorkbookFunctionsLowerRequestBuilder extends IBaseWorkbookFunctionsLowerRequestBuilder { +public interface IWorkbookFunctionsLowerRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsLowerRequest + * + * @return the IWorkbookFunctionsLowerRequest instance + */ + IWorkbookFunctionsLowerRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsLowerRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLowerRequest instance + */ + IWorkbookFunctionsLowerRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequest.java index 36f84c87036..7a6fda9a019 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMatchRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Match Request. */ -public interface IWorkbookFunctionsMatchRequest extends IBaseWorkbookFunctionsMatchRequest { +public interface IWorkbookFunctionsMatchRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMatchRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMatchRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMatchRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequestBuilder.java index 1b949720e81..e18301bef81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMatchRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMatchRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Match Request Builder. */ -public interface IWorkbookFunctionsMatchRequestBuilder extends IBaseWorkbookFunctionsMatchRequestBuilder { +public interface IWorkbookFunctionsMatchRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMatchRequest + * + * @return the IWorkbookFunctionsMatchRequest instance + */ + IWorkbookFunctionsMatchRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMatchRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMatchRequest instance + */ + IWorkbookFunctionsMatchRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequest.java index d1a0e8bd41f..8ea638b0c41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMaxARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Max ARequest. */ -public interface IWorkbookFunctionsMaxARequest extends IBaseWorkbookFunctionsMaxARequest { +public interface IWorkbookFunctionsMaxARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMaxARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMaxARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMaxARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequestBuilder.java index 03c8b1ca739..ba0e6bed685 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMaxARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Max ARequest Builder. */ -public interface IWorkbookFunctionsMaxARequestBuilder extends IBaseWorkbookFunctionsMaxARequestBuilder { +public interface IWorkbookFunctionsMaxARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMaxARequest + * + * @return the IWorkbookFunctionsMaxARequest instance + */ + IWorkbookFunctionsMaxARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMaxARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMaxARequest instance + */ + IWorkbookFunctionsMaxARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequest.java index e16dfd6bb8c..d0c5f939301 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMaxRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Max Request. */ -public interface IWorkbookFunctionsMaxRequest extends IBaseWorkbookFunctionsMaxRequest { +public interface IWorkbookFunctionsMaxRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMaxRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMaxRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMaxRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequestBuilder.java index da2100fb30b..b72b7962d3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMaxRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMaxRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Max Request Builder. */ -public interface IWorkbookFunctionsMaxRequestBuilder extends IBaseWorkbookFunctionsMaxRequestBuilder { +public interface IWorkbookFunctionsMaxRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMaxRequest + * + * @return the IWorkbookFunctionsMaxRequest instance + */ + IWorkbookFunctionsMaxRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMaxRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMaxRequest instance + */ + IWorkbookFunctionsMaxRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequest.java index 9b8e6803416..94bc7e99932 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMdurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mduration Request. */ -public interface IWorkbookFunctionsMdurationRequest extends IBaseWorkbookFunctionsMdurationRequest { +public interface IWorkbookFunctionsMdurationRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMdurationRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMdurationRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMdurationRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequestBuilder.java index e63805e3365..58483d3247f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMdurationRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMdurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mduration Request Builder. */ -public interface IWorkbookFunctionsMdurationRequestBuilder extends IBaseWorkbookFunctionsMdurationRequestBuilder { +public interface IWorkbookFunctionsMdurationRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMdurationRequest + * + * @return the IWorkbookFunctionsMdurationRequest instance + */ + IWorkbookFunctionsMdurationRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMdurationRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMdurationRequest instance + */ + IWorkbookFunctionsMdurationRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequest.java index 88d5d74bbd3..22ef2708705 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMedianRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Median Request. */ -public interface IWorkbookFunctionsMedianRequest extends IBaseWorkbookFunctionsMedianRequest { +public interface IWorkbookFunctionsMedianRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMedianRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMedianRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMedianRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequestBuilder.java index de8a0f49d3b..3e04ff63b5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMedianRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMedianRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Median Request Builder. */ -public interface IWorkbookFunctionsMedianRequestBuilder extends IBaseWorkbookFunctionsMedianRequestBuilder { +public interface IWorkbookFunctionsMedianRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMedianRequest + * + * @return the IWorkbookFunctionsMedianRequest instance + */ + IWorkbookFunctionsMedianRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMedianRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMedianRequest instance + */ + IWorkbookFunctionsMedianRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequest.java index db74d1b8a32..513159a7f89 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMidRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mid Request. */ -public interface IWorkbookFunctionsMidRequest extends IBaseWorkbookFunctionsMidRequest { +public interface IWorkbookFunctionsMidRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMidRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMidRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMidRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequestBuilder.java index e0a1a19e4b9..30828832244 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMidRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mid Request Builder. */ -public interface IWorkbookFunctionsMidRequestBuilder extends IBaseWorkbookFunctionsMidRequestBuilder { +public interface IWorkbookFunctionsMidRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMidRequest + * + * @return the IWorkbookFunctionsMidRequest instance + */ + IWorkbookFunctionsMidRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMidRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMidRequest instance + */ + IWorkbookFunctionsMidRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequest.java index 1391ddce23f..0cc30a69510 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMidbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Midb Request. */ -public interface IWorkbookFunctionsMidbRequest extends IBaseWorkbookFunctionsMidbRequest { +public interface IWorkbookFunctionsMidbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMidbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMidbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMidbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequestBuilder.java index 62b55f6f34d..8ca26840453 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMidbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMidbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Midb Request Builder. */ -public interface IWorkbookFunctionsMidbRequestBuilder extends IBaseWorkbookFunctionsMidbRequestBuilder { +public interface IWorkbookFunctionsMidbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMidbRequest + * + * @return the IWorkbookFunctionsMidbRequest instance + */ + IWorkbookFunctionsMidbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMidbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMidbRequest instance + */ + IWorkbookFunctionsMidbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequest.java index 9766cb6659e..1180515fe18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMinARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Min ARequest. */ -public interface IWorkbookFunctionsMinARequest extends IBaseWorkbookFunctionsMinARequest { +public interface IWorkbookFunctionsMinARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMinARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMinARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMinARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequestBuilder.java index eb93f7e9834..44dc5afa664 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMinARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Min ARequest Builder. */ -public interface IWorkbookFunctionsMinARequestBuilder extends IBaseWorkbookFunctionsMinARequestBuilder { +public interface IWorkbookFunctionsMinARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMinARequest + * + * @return the IWorkbookFunctionsMinARequest instance + */ + IWorkbookFunctionsMinARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMinARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMinARequest instance + */ + IWorkbookFunctionsMinARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequest.java index 7a83661d339..0bdab5e33ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Min Request. */ -public interface IWorkbookFunctionsMinRequest extends IBaseWorkbookFunctionsMinRequest { +public interface IWorkbookFunctionsMinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequestBuilder.java index 7d2699421ea..79d1fb05eb5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Min Request Builder. */ -public interface IWorkbookFunctionsMinRequestBuilder extends IBaseWorkbookFunctionsMinRequestBuilder { +public interface IWorkbookFunctionsMinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMinRequest + * + * @return the IWorkbookFunctionsMinRequest instance + */ + IWorkbookFunctionsMinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMinRequest instance + */ + IWorkbookFunctionsMinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequest.java index f6737521b1b..c40e506484a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMinuteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Minute Request. */ -public interface IWorkbookFunctionsMinuteRequest extends IBaseWorkbookFunctionsMinuteRequest { +public interface IWorkbookFunctionsMinuteRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMinuteRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMinuteRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMinuteRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequestBuilder.java index 59534de6340..3bc9fe9ad03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMinuteRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMinuteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Minute Request Builder. */ -public interface IWorkbookFunctionsMinuteRequestBuilder extends IBaseWorkbookFunctionsMinuteRequestBuilder { +public interface IWorkbookFunctionsMinuteRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMinuteRequest + * + * @return the IWorkbookFunctionsMinuteRequest instance + */ + IWorkbookFunctionsMinuteRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMinuteRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMinuteRequest instance + */ + IWorkbookFunctionsMinuteRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequest.java index 6a4800c51a9..7384130fbd8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMirrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mirr Request. */ -public interface IWorkbookFunctionsMirrRequest extends IBaseWorkbookFunctionsMirrRequest { +public interface IWorkbookFunctionsMirrRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMirrRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMirrRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMirrRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequestBuilder.java index 7b157c24799..aedb6d1301d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMirrRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMirrRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mirr Request Builder. */ -public interface IWorkbookFunctionsMirrRequestBuilder extends IBaseWorkbookFunctionsMirrRequestBuilder { +public interface IWorkbookFunctionsMirrRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMirrRequest + * + * @return the IWorkbookFunctionsMirrRequest instance + */ + IWorkbookFunctionsMirrRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMirrRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMirrRequest instance + */ + IWorkbookFunctionsMirrRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequest.java index 330d0841290..972dce84d50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsModRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mod Request. */ -public interface IWorkbookFunctionsModRequest extends IBaseWorkbookFunctionsModRequest { +public interface IWorkbookFunctionsModRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsModRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsModRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsModRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequestBuilder.java index 9c36afaf009..398c0d2a89a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsModRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsModRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mod Request Builder. */ -public interface IWorkbookFunctionsModRequestBuilder extends IBaseWorkbookFunctionsModRequestBuilder { +public interface IWorkbookFunctionsModRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsModRequest + * + * @return the IWorkbookFunctionsModRequest instance + */ + IWorkbookFunctionsModRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsModRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsModRequest instance + */ + IWorkbookFunctionsModRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequest.java index 291a6e0c0f5..acc92a357f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMonthRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Month Request. */ -public interface IWorkbookFunctionsMonthRequest extends IBaseWorkbookFunctionsMonthRequest { +public interface IWorkbookFunctionsMonthRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMonthRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMonthRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMonthRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequestBuilder.java index c1d31afce9a..8d3973e32ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMonthRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMonthRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Month Request Builder. */ -public interface IWorkbookFunctionsMonthRequestBuilder extends IBaseWorkbookFunctionsMonthRequestBuilder { +public interface IWorkbookFunctionsMonthRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMonthRequest + * + * @return the IWorkbookFunctionsMonthRequest instance + */ + IWorkbookFunctionsMonthRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMonthRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMonthRequest instance + */ + IWorkbookFunctionsMonthRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequest.java index 9c17e6965a2..e87367c0425 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMroundRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mround Request. */ -public interface IWorkbookFunctionsMroundRequest extends IBaseWorkbookFunctionsMroundRequest { +public interface IWorkbookFunctionsMroundRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMroundRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMroundRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMroundRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequestBuilder.java index da637473525..9f118171ee7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMroundRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMroundRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Mround Request Builder. */ -public interface IWorkbookFunctionsMroundRequestBuilder extends IBaseWorkbookFunctionsMroundRequestBuilder { +public interface IWorkbookFunctionsMroundRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMroundRequest + * + * @return the IWorkbookFunctionsMroundRequest instance + */ + IWorkbookFunctionsMroundRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMroundRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMroundRequest instance + */ + IWorkbookFunctionsMroundRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequest.java index 0f0c06f8378..7d777d5e7e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMultiNomialRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Multi Nomial Request. */ -public interface IWorkbookFunctionsMultiNomialRequest extends IBaseWorkbookFunctionsMultiNomialRequest { +public interface IWorkbookFunctionsMultiNomialRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsMultiNomialRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsMultiNomialRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsMultiNomialRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequestBuilder.java index a545c416a84..5032016b1da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsMultiNomialRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsMultiNomialRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Multi Nomial Request Builder. */ -public interface IWorkbookFunctionsMultiNomialRequestBuilder extends IBaseWorkbookFunctionsMultiNomialRequestBuilder { +public interface IWorkbookFunctionsMultiNomialRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsMultiNomialRequest + * + * @return the IWorkbookFunctionsMultiNomialRequest instance + */ + IWorkbookFunctionsMultiNomialRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsMultiNomialRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMultiNomialRequest instance + */ + IWorkbookFunctionsMultiNomialRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequest.java index 60529314191..447b9b562c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions NRequest. */ -public interface IWorkbookFunctionsNRequest extends IBaseWorkbookFunctionsNRequest { +public interface IWorkbookFunctionsNRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequestBuilder.java index 1b9dd673d25..63330ca6de7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions NRequest Builder. */ -public interface IWorkbookFunctionsNRequestBuilder extends IBaseWorkbookFunctionsNRequestBuilder { +public interface IWorkbookFunctionsNRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNRequest + * + * @return the IWorkbookFunctionsNRequest instance + */ + IWorkbookFunctionsNRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNRequest instance + */ + IWorkbookFunctionsNRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequest.java index 92e6c74ff8c..ddc0329f1af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Na Request. */ -public interface IWorkbookFunctionsNaRequest extends IBaseWorkbookFunctionsNaRequest { +public interface IWorkbookFunctionsNaRequest { + + /** + * Creates the WorkbookFunctionsNa + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsNa + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNaRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNaRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequestBuilder.java index 311e2c7f97e..e93520fd65d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNaRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNaRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Na Request Builder. */ -public interface IWorkbookFunctionsNaRequestBuilder extends IBaseWorkbookFunctionsNaRequestBuilder { +public interface IWorkbookFunctionsNaRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNaRequest + * + * @return the IWorkbookFunctionsNaRequest instance + */ + IWorkbookFunctionsNaRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNaRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNaRequest instance + */ + IWorkbookFunctionsNaRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequest.java index 5e6a33870bc..423f7943f1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNegBinom_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Neg Binom_Dist Request. */ -public interface IWorkbookFunctionsNegBinom_DistRequest extends IBaseWorkbookFunctionsNegBinom_DistRequest { +public interface IWorkbookFunctionsNegBinom_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNegBinom_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNegBinom_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNegBinom_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequestBuilder.java index ddbf70be5bd..a913e200488 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNegBinom_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNegBinom_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Neg Binom_Dist Request Builder. */ -public interface IWorkbookFunctionsNegBinom_DistRequestBuilder extends IBaseWorkbookFunctionsNegBinom_DistRequestBuilder { +public interface IWorkbookFunctionsNegBinom_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNegBinom_DistRequest + * + * @return the IWorkbookFunctionsNegBinom_DistRequest instance + */ + IWorkbookFunctionsNegBinom_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNegBinom_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNegBinom_DistRequest instance + */ + IWorkbookFunctionsNegBinom_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequest.java index dbc6fde35c8..6c849b1aa67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNetworkDaysRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Network Days Request. */ -public interface IWorkbookFunctionsNetworkDaysRequest extends IBaseWorkbookFunctionsNetworkDaysRequest { +public interface IWorkbookFunctionsNetworkDaysRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNetworkDaysRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNetworkDaysRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNetworkDaysRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequestBuilder.java index 6c6174227a5..9f84c5fdfcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDaysRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNetworkDaysRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Network Days Request Builder. */ -public interface IWorkbookFunctionsNetworkDaysRequestBuilder extends IBaseWorkbookFunctionsNetworkDaysRequestBuilder { +public interface IWorkbookFunctionsNetworkDaysRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNetworkDaysRequest + * + * @return the IWorkbookFunctionsNetworkDaysRequest instance + */ + IWorkbookFunctionsNetworkDaysRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNetworkDaysRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNetworkDaysRequest instance + */ + IWorkbookFunctionsNetworkDaysRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequest.java index ffd1c7f0e57..6b4297c44fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNetworkDays_IntlRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Network Days_Intl Request. */ -public interface IWorkbookFunctionsNetworkDays_IntlRequest extends IBaseWorkbookFunctionsNetworkDays_IntlRequest { +public interface IWorkbookFunctionsNetworkDays_IntlRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNetworkDays_IntlRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNetworkDays_IntlRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNetworkDays_IntlRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequestBuilder.java index c245c57e7ca..d999622b7c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNetworkDays_IntlRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Network Days_Intl Request Builder. */ -public interface IWorkbookFunctionsNetworkDays_IntlRequestBuilder extends IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder { +public interface IWorkbookFunctionsNetworkDays_IntlRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNetworkDays_IntlRequest + * + * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance + */ + IWorkbookFunctionsNetworkDays_IntlRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNetworkDays_IntlRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance + */ + IWorkbookFunctionsNetworkDays_IntlRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequest.java index 65e00f01a05..e3e074c6a30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNominalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Nominal Request. */ -public interface IWorkbookFunctionsNominalRequest extends IBaseWorkbookFunctionsNominalRequest { +public interface IWorkbookFunctionsNominalRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNominalRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNominalRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNominalRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequestBuilder.java index f4aa6e1f582..ca4e441b9ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNominalRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNominalRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Nominal Request Builder. */ -public interface IWorkbookFunctionsNominalRequestBuilder extends IBaseWorkbookFunctionsNominalRequestBuilder { +public interface IWorkbookFunctionsNominalRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNominalRequest + * + * @return the IWorkbookFunctionsNominalRequest instance + */ + IWorkbookFunctionsNominalRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNominalRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNominalRequest instance + */ + IWorkbookFunctionsNominalRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequest.java index f2bb833fc21..cb993fb095a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_Dist Request. */ -public interface IWorkbookFunctionsNorm_DistRequest extends IBaseWorkbookFunctionsNorm_DistRequest { +public interface IWorkbookFunctionsNorm_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNorm_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNorm_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNorm_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequestBuilder.java index fec859cf5e2..4b7d9ff32da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_Dist Request Builder. */ -public interface IWorkbookFunctionsNorm_DistRequestBuilder extends IBaseWorkbookFunctionsNorm_DistRequestBuilder { +public interface IWorkbookFunctionsNorm_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNorm_DistRequest + * + * @return the IWorkbookFunctionsNorm_DistRequest instance + */ + IWorkbookFunctionsNorm_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNorm_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_DistRequest instance + */ + IWorkbookFunctionsNorm_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequest.java index 54136cdb54e..69cccaa979c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_Inv Request. */ -public interface IWorkbookFunctionsNorm_InvRequest extends IBaseWorkbookFunctionsNorm_InvRequest { +public interface IWorkbookFunctionsNorm_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNorm_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNorm_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNorm_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequestBuilder.java index 58070f5c037..91b054f497e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_Inv Request Builder. */ -public interface IWorkbookFunctionsNorm_InvRequestBuilder extends IBaseWorkbookFunctionsNorm_InvRequestBuilder { +public interface IWorkbookFunctionsNorm_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNorm_InvRequest + * + * @return the IWorkbookFunctionsNorm_InvRequest instance + */ + IWorkbookFunctionsNorm_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNorm_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_InvRequest instance + */ + IWorkbookFunctionsNorm_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequest.java index 2f027773082..8ee829f4ae8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_S_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_S_Dist Request. */ -public interface IWorkbookFunctionsNorm_S_DistRequest extends IBaseWorkbookFunctionsNorm_S_DistRequest { +public interface IWorkbookFunctionsNorm_S_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNorm_S_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNorm_S_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNorm_S_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequestBuilder.java index d9917ae9e2a..1ed6e730319 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_S_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_S_Dist Request Builder. */ -public interface IWorkbookFunctionsNorm_S_DistRequestBuilder extends IBaseWorkbookFunctionsNorm_S_DistRequestBuilder { +public interface IWorkbookFunctionsNorm_S_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNorm_S_DistRequest + * + * @return the IWorkbookFunctionsNorm_S_DistRequest instance + */ + IWorkbookFunctionsNorm_S_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNorm_S_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_S_DistRequest instance + */ + IWorkbookFunctionsNorm_S_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequest.java index e2d4d87b0f1..e9105067c24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_S_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_S_Inv Request. */ -public interface IWorkbookFunctionsNorm_S_InvRequest extends IBaseWorkbookFunctionsNorm_S_InvRequest { +public interface IWorkbookFunctionsNorm_S_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNorm_S_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNorm_S_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNorm_S_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequestBuilder.java index 41c20752029..fa4e05b1c8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNorm_S_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNorm_S_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Norm_S_Inv Request Builder. */ -public interface IWorkbookFunctionsNorm_S_InvRequestBuilder extends IBaseWorkbookFunctionsNorm_S_InvRequestBuilder { +public interface IWorkbookFunctionsNorm_S_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNorm_S_InvRequest + * + * @return the IWorkbookFunctionsNorm_S_InvRequest instance + */ + IWorkbookFunctionsNorm_S_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNorm_S_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_S_InvRequest instance + */ + IWorkbookFunctionsNorm_S_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequest.java index b2f1261d6be..75e5a795253 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Not Request. */ -public interface IWorkbookFunctionsNotRequest extends IBaseWorkbookFunctionsNotRequest { +public interface IWorkbookFunctionsNotRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNotRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNotRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNotRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequestBuilder.java index a5cabb86778..de60e869dfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNotRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNotRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Not Request Builder. */ -public interface IWorkbookFunctionsNotRequestBuilder extends IBaseWorkbookFunctionsNotRequestBuilder { +public interface IWorkbookFunctionsNotRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNotRequest + * + * @return the IWorkbookFunctionsNotRequest instance + */ + IWorkbookFunctionsNotRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNotRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNotRequest instance + */ + IWorkbookFunctionsNotRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequest.java index 6ce4cdb204f..27d1a8b4658 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Now Request. */ -public interface IWorkbookFunctionsNowRequest extends IBaseWorkbookFunctionsNowRequest { +public interface IWorkbookFunctionsNowRequest { + + /** + * Creates the WorkbookFunctionsNow + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsNow + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNowRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNowRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequestBuilder.java index e489e1e1d4e..25e4171c383 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNowRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Now Request Builder. */ -public interface IWorkbookFunctionsNowRequestBuilder extends IBaseWorkbookFunctionsNowRequestBuilder { +public interface IWorkbookFunctionsNowRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNowRequest + * + * @return the IWorkbookFunctionsNowRequest instance + */ + IWorkbookFunctionsNowRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNowRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNowRequest instance + */ + IWorkbookFunctionsNowRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequest.java index dafbcbef99f..43bc11f092f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNperRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Nper Request. */ -public interface IWorkbookFunctionsNperRequest extends IBaseWorkbookFunctionsNperRequest { +public interface IWorkbookFunctionsNperRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNperRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNperRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNperRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequestBuilder.java index 6a09ecb1dae..997323447f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNperRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNperRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Nper Request Builder. */ -public interface IWorkbookFunctionsNperRequestBuilder extends IBaseWorkbookFunctionsNperRequestBuilder { +public interface IWorkbookFunctionsNperRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNperRequest + * + * @return the IWorkbookFunctionsNperRequest instance + */ + IWorkbookFunctionsNperRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNperRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNperRequest instance + */ + IWorkbookFunctionsNperRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequest.java index f105135cd6d..5ebdc38fc0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNpvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Npv Request. */ -public interface IWorkbookFunctionsNpvRequest extends IBaseWorkbookFunctionsNpvRequest { +public interface IWorkbookFunctionsNpvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNpvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNpvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNpvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequestBuilder.java index 041f2bdab92..d2e7106060e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNpvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNpvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Npv Request Builder. */ -public interface IWorkbookFunctionsNpvRequestBuilder extends IBaseWorkbookFunctionsNpvRequestBuilder { +public interface IWorkbookFunctionsNpvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNpvRequest + * + * @return the IWorkbookFunctionsNpvRequest instance + */ + IWorkbookFunctionsNpvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNpvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNpvRequest instance + */ + IWorkbookFunctionsNpvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequest.java index 45f7fcd5c96..ce5a6039179 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNumberValueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Number Value Request. */ -public interface IWorkbookFunctionsNumberValueRequest extends IBaseWorkbookFunctionsNumberValueRequest { +public interface IWorkbookFunctionsNumberValueRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsNumberValueRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsNumberValueRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsNumberValueRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequestBuilder.java index c5c575a3238..4b6137431c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsNumberValueRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsNumberValueRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Number Value Request Builder. */ -public interface IWorkbookFunctionsNumberValueRequestBuilder extends IBaseWorkbookFunctionsNumberValueRequestBuilder { +public interface IWorkbookFunctionsNumberValueRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsNumberValueRequest + * + * @return the IWorkbookFunctionsNumberValueRequest instance + */ + IWorkbookFunctionsNumberValueRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsNumberValueRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNumberValueRequest instance + */ + IWorkbookFunctionsNumberValueRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequest.java index 1ed11c35b1b..376d2da6df9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOct2BinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Oct2Bin Request. */ -public interface IWorkbookFunctionsOct2BinRequest extends IBaseWorkbookFunctionsOct2BinRequest { +public interface IWorkbookFunctionsOct2BinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOct2BinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOct2BinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOct2BinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequestBuilder.java index fec8b339f25..1f2cebad240 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2BinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOct2BinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Oct2Bin Request Builder. */ -public interface IWorkbookFunctionsOct2BinRequestBuilder extends IBaseWorkbookFunctionsOct2BinRequestBuilder { +public interface IWorkbookFunctionsOct2BinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOct2BinRequest + * + * @return the IWorkbookFunctionsOct2BinRequest instance + */ + IWorkbookFunctionsOct2BinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOct2BinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOct2BinRequest instance + */ + IWorkbookFunctionsOct2BinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequest.java index b8337d031d5..5f14427947b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOct2DecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Oct2Dec Request. */ -public interface IWorkbookFunctionsOct2DecRequest extends IBaseWorkbookFunctionsOct2DecRequest { +public interface IWorkbookFunctionsOct2DecRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOct2DecRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOct2DecRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOct2DecRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequestBuilder.java index 3b688e2856d..23bc4a49b43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2DecRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOct2DecRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Oct2Dec Request Builder. */ -public interface IWorkbookFunctionsOct2DecRequestBuilder extends IBaseWorkbookFunctionsOct2DecRequestBuilder { +public interface IWorkbookFunctionsOct2DecRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOct2DecRequest + * + * @return the IWorkbookFunctionsOct2DecRequest instance + */ + IWorkbookFunctionsOct2DecRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOct2DecRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOct2DecRequest instance + */ + IWorkbookFunctionsOct2DecRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequest.java index 389b0d46be5..7ad48148f70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOct2HexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Oct2Hex Request. */ -public interface IWorkbookFunctionsOct2HexRequest extends IBaseWorkbookFunctionsOct2HexRequest { +public interface IWorkbookFunctionsOct2HexRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOct2HexRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOct2HexRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOct2HexRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequestBuilder.java index 9a89da81c54..4a2af9ff65a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOct2HexRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOct2HexRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Oct2Hex Request Builder. */ -public interface IWorkbookFunctionsOct2HexRequestBuilder extends IBaseWorkbookFunctionsOct2HexRequestBuilder { +public interface IWorkbookFunctionsOct2HexRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOct2HexRequest + * + * @return the IWorkbookFunctionsOct2HexRequest instance + */ + IWorkbookFunctionsOct2HexRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOct2HexRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOct2HexRequest instance + */ + IWorkbookFunctionsOct2HexRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequest.java index d496c203839..e2c08beaf32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddFPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd FPrice Request. */ -public interface IWorkbookFunctionsOddFPriceRequest extends IBaseWorkbookFunctionsOddFPriceRequest { +public interface IWorkbookFunctionsOddFPriceRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOddFPriceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOddFPriceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOddFPriceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequestBuilder.java index 81916d50521..2624d5d37ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFPriceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddFPriceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd FPrice Request Builder. */ -public interface IWorkbookFunctionsOddFPriceRequestBuilder extends IBaseWorkbookFunctionsOddFPriceRequestBuilder { +public interface IWorkbookFunctionsOddFPriceRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOddFPriceRequest + * + * @return the IWorkbookFunctionsOddFPriceRequest instance + */ + IWorkbookFunctionsOddFPriceRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOddFPriceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddFPriceRequest instance + */ + IWorkbookFunctionsOddFPriceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequest.java index 1efcb1cf8c8..86e46294a75 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddFYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd FYield Request. */ -public interface IWorkbookFunctionsOddFYieldRequest extends IBaseWorkbookFunctionsOddFYieldRequest { +public interface IWorkbookFunctionsOddFYieldRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOddFYieldRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOddFYieldRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOddFYieldRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequestBuilder.java index 8e5cee2396a..cb9202682d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddFYieldRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddFYieldRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd FYield Request Builder. */ -public interface IWorkbookFunctionsOddFYieldRequestBuilder extends IBaseWorkbookFunctionsOddFYieldRequestBuilder { +public interface IWorkbookFunctionsOddFYieldRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOddFYieldRequest + * + * @return the IWorkbookFunctionsOddFYieldRequest instance + */ + IWorkbookFunctionsOddFYieldRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOddFYieldRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddFYieldRequest instance + */ + IWorkbookFunctionsOddFYieldRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequest.java index c3bcc105ee9..e3c0081fc12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddLPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd LPrice Request. */ -public interface IWorkbookFunctionsOddLPriceRequest extends IBaseWorkbookFunctionsOddLPriceRequest { +public interface IWorkbookFunctionsOddLPriceRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOddLPriceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOddLPriceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOddLPriceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequestBuilder.java index ef86eba4869..fcae6b9f74a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLPriceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddLPriceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd LPrice Request Builder. */ -public interface IWorkbookFunctionsOddLPriceRequestBuilder extends IBaseWorkbookFunctionsOddLPriceRequestBuilder { +public interface IWorkbookFunctionsOddLPriceRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOddLPriceRequest + * + * @return the IWorkbookFunctionsOddLPriceRequest instance + */ + IWorkbookFunctionsOddLPriceRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOddLPriceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddLPriceRequest instance + */ + IWorkbookFunctionsOddLPriceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequest.java index bede90aa0f2..abe727923bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddLYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd LYield Request. */ -public interface IWorkbookFunctionsOddLYieldRequest extends IBaseWorkbookFunctionsOddLYieldRequest { +public interface IWorkbookFunctionsOddLYieldRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOddLYieldRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOddLYieldRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOddLYieldRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequestBuilder.java index 0fb5c88aa4c..7313765198d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddLYieldRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddLYieldRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd LYield Request Builder. */ -public interface IWorkbookFunctionsOddLYieldRequestBuilder extends IBaseWorkbookFunctionsOddLYieldRequestBuilder { +public interface IWorkbookFunctionsOddLYieldRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOddLYieldRequest + * + * @return the IWorkbookFunctionsOddLYieldRequest instance + */ + IWorkbookFunctionsOddLYieldRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOddLYieldRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddLYieldRequest instance + */ + IWorkbookFunctionsOddLYieldRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequest.java index bcb7054b4ed..6503a9f7a3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd Request. */ -public interface IWorkbookFunctionsOddRequest extends IBaseWorkbookFunctionsOddRequest { +public interface IWorkbookFunctionsOddRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequestBuilder.java index 57986dea32c..5d1302c028d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Odd Request Builder. */ -public interface IWorkbookFunctionsOddRequestBuilder extends IBaseWorkbookFunctionsOddRequestBuilder { +public interface IWorkbookFunctionsOddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOddRequest + * + * @return the IWorkbookFunctionsOddRequest instance + */ + IWorkbookFunctionsOddRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddRequest instance + */ + IWorkbookFunctionsOddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequest.java index c6509a8d585..c37546565f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Or Request. */ -public interface IWorkbookFunctionsOrRequest extends IBaseWorkbookFunctionsOrRequest { +public interface IWorkbookFunctionsOrRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsOrRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsOrRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsOrRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequestBuilder.java index 9bced98358a..dce46442a03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsOrRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsOrRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Or Request Builder. */ -public interface IWorkbookFunctionsOrRequestBuilder extends IBaseWorkbookFunctionsOrRequestBuilder { +public interface IWorkbookFunctionsOrRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsOrRequest + * + * @return the IWorkbookFunctionsOrRequest instance + */ + IWorkbookFunctionsOrRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsOrRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOrRequest instance + */ + IWorkbookFunctionsOrRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequest.java index d7650355cc3..e72849ed02e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPdurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pduration Request. */ -public interface IWorkbookFunctionsPdurationRequest extends IBaseWorkbookFunctionsPdurationRequest { +public interface IWorkbookFunctionsPdurationRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPdurationRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPdurationRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPdurationRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequestBuilder.java index c12c9946dd4..6ff3792f2cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPdurationRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPdurationRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pduration Request Builder. */ -public interface IWorkbookFunctionsPdurationRequestBuilder extends IBaseWorkbookFunctionsPdurationRequestBuilder { +public interface IWorkbookFunctionsPdurationRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPdurationRequest + * + * @return the IWorkbookFunctionsPdurationRequest instance + */ + IWorkbookFunctionsPdurationRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPdurationRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPdurationRequest instance + */ + IWorkbookFunctionsPdurationRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequest.java index 9e3a1f5ed37..270b1c84c49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentRank_ExcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percent Rank_Exc Request. */ -public interface IWorkbookFunctionsPercentRank_ExcRequest extends IBaseWorkbookFunctionsPercentRank_ExcRequest { +public interface IWorkbookFunctionsPercentRank_ExcRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPercentRank_ExcRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPercentRank_ExcRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPercentRank_ExcRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequestBuilder.java index 793444a57d2..d830dd17c16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_ExcRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percent Rank_Exc Request Builder. */ -public interface IWorkbookFunctionsPercentRank_ExcRequestBuilder extends IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder { +public interface IWorkbookFunctionsPercentRank_ExcRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPercentRank_ExcRequest + * + * @return the IWorkbookFunctionsPercentRank_ExcRequest instance + */ + IWorkbookFunctionsPercentRank_ExcRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPercentRank_ExcRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentRank_ExcRequest instance + */ + IWorkbookFunctionsPercentRank_ExcRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequest.java index ad820ead747..bc17d37234b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentRank_IncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percent Rank_Inc Request. */ -public interface IWorkbookFunctionsPercentRank_IncRequest extends IBaseWorkbookFunctionsPercentRank_IncRequest { +public interface IWorkbookFunctionsPercentRank_IncRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPercentRank_IncRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPercentRank_IncRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPercentRank_IncRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequestBuilder.java index 83ffe9a1d6e..94dd22a8046 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentRank_IncRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentRank_IncRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percent Rank_Inc Request Builder. */ -public interface IWorkbookFunctionsPercentRank_IncRequestBuilder extends IBaseWorkbookFunctionsPercentRank_IncRequestBuilder { +public interface IWorkbookFunctionsPercentRank_IncRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPercentRank_IncRequest + * + * @return the IWorkbookFunctionsPercentRank_IncRequest instance + */ + IWorkbookFunctionsPercentRank_IncRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPercentRank_IncRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentRank_IncRequest instance + */ + IWorkbookFunctionsPercentRank_IncRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequest.java index 1e9548ad91f..94096ae223d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentile_ExcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percentile_Exc Request. */ -public interface IWorkbookFunctionsPercentile_ExcRequest extends IBaseWorkbookFunctionsPercentile_ExcRequest { +public interface IWorkbookFunctionsPercentile_ExcRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPercentile_ExcRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPercentile_ExcRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPercentile_ExcRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequestBuilder.java index db883a51266..a053d9ef5fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_ExcRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentile_ExcRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percentile_Exc Request Builder. */ -public interface IWorkbookFunctionsPercentile_ExcRequestBuilder extends IBaseWorkbookFunctionsPercentile_ExcRequestBuilder { +public interface IWorkbookFunctionsPercentile_ExcRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPercentile_ExcRequest + * + * @return the IWorkbookFunctionsPercentile_ExcRequest instance + */ + IWorkbookFunctionsPercentile_ExcRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPercentile_ExcRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentile_ExcRequest instance + */ + IWorkbookFunctionsPercentile_ExcRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequest.java index 89303eae558..7ec1a19e72c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentile_IncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percentile_Inc Request. */ -public interface IWorkbookFunctionsPercentile_IncRequest extends IBaseWorkbookFunctionsPercentile_IncRequest { +public interface IWorkbookFunctionsPercentile_IncRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPercentile_IncRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPercentile_IncRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPercentile_IncRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequestBuilder.java index a5502d9d240..354a4d0dd5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPercentile_IncRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPercentile_IncRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Percentile_Inc Request Builder. */ -public interface IWorkbookFunctionsPercentile_IncRequestBuilder extends IBaseWorkbookFunctionsPercentile_IncRequestBuilder { +public interface IWorkbookFunctionsPercentile_IncRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPercentile_IncRequest + * + * @return the IWorkbookFunctionsPercentile_IncRequest instance + */ + IWorkbookFunctionsPercentile_IncRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPercentile_IncRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentile_IncRequest instance + */ + IWorkbookFunctionsPercentile_IncRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequest.java index 5ed003c207c..8ac78d852dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPermutRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Permut Request. */ -public interface IWorkbookFunctionsPermutRequest extends IBaseWorkbookFunctionsPermutRequest { +public interface IWorkbookFunctionsPermutRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPermutRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPermutRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPermutRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequestBuilder.java index ae961a8a692..bd7446d7865 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPermutRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Permut Request Builder. */ -public interface IWorkbookFunctionsPermutRequestBuilder extends IBaseWorkbookFunctionsPermutRequestBuilder { +public interface IWorkbookFunctionsPermutRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPermutRequest + * + * @return the IWorkbookFunctionsPermutRequest instance + */ + IWorkbookFunctionsPermutRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPermutRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPermutRequest instance + */ + IWorkbookFunctionsPermutRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequest.java index cbf7071eba5..707aad01c43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPermutationaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Permutationa Request. */ -public interface IWorkbookFunctionsPermutationaRequest extends IBaseWorkbookFunctionsPermutationaRequest { +public interface IWorkbookFunctionsPermutationaRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPermutationaRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPermutationaRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPermutationaRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequestBuilder.java index d1405d36941..016245b75bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPermutationaRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPermutationaRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Permutationa Request Builder. */ -public interface IWorkbookFunctionsPermutationaRequestBuilder extends IBaseWorkbookFunctionsPermutationaRequestBuilder { +public interface IWorkbookFunctionsPermutationaRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPermutationaRequest + * + * @return the IWorkbookFunctionsPermutationaRequest instance + */ + IWorkbookFunctionsPermutationaRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPermutationaRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPermutationaRequest instance + */ + IWorkbookFunctionsPermutationaRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequest.java index 8d51d7526e8..48da9745163 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPhiRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Phi Request. */ -public interface IWorkbookFunctionsPhiRequest extends IBaseWorkbookFunctionsPhiRequest { +public interface IWorkbookFunctionsPhiRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPhiRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPhiRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPhiRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequestBuilder.java index ca074d5c7e2..3e4960d46fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPhiRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPhiRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Phi Request Builder. */ -public interface IWorkbookFunctionsPhiRequestBuilder extends IBaseWorkbookFunctionsPhiRequestBuilder { +public interface IWorkbookFunctionsPhiRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPhiRequest + * + * @return the IWorkbookFunctionsPhiRequest instance + */ + IWorkbookFunctionsPhiRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPhiRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPhiRequest instance + */ + IWorkbookFunctionsPhiRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequest.java index dc08a386619..90e785eba9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPiRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pi Request. */ -public interface IWorkbookFunctionsPiRequest extends IBaseWorkbookFunctionsPiRequest { +public interface IWorkbookFunctionsPiRequest { + + /** + * Creates the WorkbookFunctionsPi + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsPi + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPiRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPiRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequestBuilder.java index f4e1e132ae3..2c89e8b5350 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPiRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPiRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pi Request Builder. */ -public interface IWorkbookFunctionsPiRequestBuilder extends IBaseWorkbookFunctionsPiRequestBuilder { +public interface IWorkbookFunctionsPiRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPiRequest + * + * @return the IWorkbookFunctionsPiRequest instance + */ + IWorkbookFunctionsPiRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPiRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPiRequest instance + */ + IWorkbookFunctionsPiRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequest.java index b55af7f4db5..5a2db954c87 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pmt Request. */ -public interface IWorkbookFunctionsPmtRequest extends IBaseWorkbookFunctionsPmtRequest { +public interface IWorkbookFunctionsPmtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPmtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPmtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPmtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequestBuilder.java index 5b02e015361..1a62e5b1949 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPmtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPmtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pmt Request Builder. */ -public interface IWorkbookFunctionsPmtRequestBuilder extends IBaseWorkbookFunctionsPmtRequestBuilder { +public interface IWorkbookFunctionsPmtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPmtRequest + * + * @return the IWorkbookFunctionsPmtRequest instance + */ + IWorkbookFunctionsPmtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPmtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPmtRequest instance + */ + IWorkbookFunctionsPmtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequest.java index 1516b9fe0de..b69472562f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPoisson_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Poisson_Dist Request. */ -public interface IWorkbookFunctionsPoisson_DistRequest extends IBaseWorkbookFunctionsPoisson_DistRequest { +public interface IWorkbookFunctionsPoisson_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPoisson_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPoisson_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPoisson_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequestBuilder.java index 0f5cd5f5791..df28e5b1265 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPoisson_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPoisson_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Poisson_Dist Request Builder. */ -public interface IWorkbookFunctionsPoisson_DistRequestBuilder extends IBaseWorkbookFunctionsPoisson_DistRequestBuilder { +public interface IWorkbookFunctionsPoisson_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPoisson_DistRequest + * + * @return the IWorkbookFunctionsPoisson_DistRequest instance + */ + IWorkbookFunctionsPoisson_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPoisson_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPoisson_DistRequest instance + */ + IWorkbookFunctionsPoisson_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequest.java index 351ea639ef2..bcfb0910c4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPowerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Power Request. */ -public interface IWorkbookFunctionsPowerRequest extends IBaseWorkbookFunctionsPowerRequest { +public interface IWorkbookFunctionsPowerRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPowerRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPowerRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPowerRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequestBuilder.java index 7113a29b9d1..1371bffd244 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPowerRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPowerRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Power Request Builder. */ -public interface IWorkbookFunctionsPowerRequestBuilder extends IBaseWorkbookFunctionsPowerRequestBuilder { +public interface IWorkbookFunctionsPowerRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPowerRequest + * + * @return the IWorkbookFunctionsPowerRequest instance + */ + IWorkbookFunctionsPowerRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPowerRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPowerRequest instance + */ + IWorkbookFunctionsPowerRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequest.java index 7953790f10d..663853db77f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPpmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ppmt Request. */ -public interface IWorkbookFunctionsPpmtRequest extends IBaseWorkbookFunctionsPpmtRequest { +public interface IWorkbookFunctionsPpmtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPpmtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPpmtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPpmtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequestBuilder.java index 2240374c717..a00b0d258f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPpmtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPpmtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Ppmt Request Builder. */ -public interface IWorkbookFunctionsPpmtRequestBuilder extends IBaseWorkbookFunctionsPpmtRequestBuilder { +public interface IWorkbookFunctionsPpmtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPpmtRequest + * + * @return the IWorkbookFunctionsPpmtRequest instance + */ + IWorkbookFunctionsPpmtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPpmtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPpmtRequest instance + */ + IWorkbookFunctionsPpmtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequest.java index 4c1fa4e00f6..8356d284ccb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPriceDiscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Price Disc Request. */ -public interface IWorkbookFunctionsPriceDiscRequest extends IBaseWorkbookFunctionsPriceDiscRequest { +public interface IWorkbookFunctionsPriceDiscRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPriceDiscRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPriceDiscRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPriceDiscRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequestBuilder.java index 021ebd31cb5..736623e9683 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceDiscRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPriceDiscRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Price Disc Request Builder. */ -public interface IWorkbookFunctionsPriceDiscRequestBuilder extends IBaseWorkbookFunctionsPriceDiscRequestBuilder { +public interface IWorkbookFunctionsPriceDiscRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPriceDiscRequest + * + * @return the IWorkbookFunctionsPriceDiscRequest instance + */ + IWorkbookFunctionsPriceDiscRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPriceDiscRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPriceDiscRequest instance + */ + IWorkbookFunctionsPriceDiscRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequest.java index 52e5ee79715..3888aa298e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPriceMatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Price Mat Request. */ -public interface IWorkbookFunctionsPriceMatRequest extends IBaseWorkbookFunctionsPriceMatRequest { +public interface IWorkbookFunctionsPriceMatRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPriceMatRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPriceMatRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPriceMatRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequestBuilder.java index 2733ddf2e3b..41ae889956b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceMatRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPriceMatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Price Mat Request Builder. */ -public interface IWorkbookFunctionsPriceMatRequestBuilder extends IBaseWorkbookFunctionsPriceMatRequestBuilder { +public interface IWorkbookFunctionsPriceMatRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPriceMatRequest + * + * @return the IWorkbookFunctionsPriceMatRequest instance + */ + IWorkbookFunctionsPriceMatRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPriceMatRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPriceMatRequest instance + */ + IWorkbookFunctionsPriceMatRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequest.java index 272f0262db9..9eaeb210a38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Price Request. */ -public interface IWorkbookFunctionsPriceRequest extends IBaseWorkbookFunctionsPriceRequest { +public interface IWorkbookFunctionsPriceRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPriceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPriceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPriceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequestBuilder.java index eff10947f90..9306e6cb141 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPriceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPriceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Price Request Builder. */ -public interface IWorkbookFunctionsPriceRequestBuilder extends IBaseWorkbookFunctionsPriceRequestBuilder { +public interface IWorkbookFunctionsPriceRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPriceRequest + * + * @return the IWorkbookFunctionsPriceRequest instance + */ + IWorkbookFunctionsPriceRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPriceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPriceRequest instance + */ + IWorkbookFunctionsPriceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequest.java index fd9f3f2dab6..a68212a7e87 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsProductRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Product Request. */ -public interface IWorkbookFunctionsProductRequest extends IBaseWorkbookFunctionsProductRequest { +public interface IWorkbookFunctionsProductRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsProductRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsProductRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsProductRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequestBuilder.java index 9a96e1d791b..69cbf9fdc90 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProductRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsProductRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Product Request Builder. */ -public interface IWorkbookFunctionsProductRequestBuilder extends IBaseWorkbookFunctionsProductRequestBuilder { +public interface IWorkbookFunctionsProductRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsProductRequest + * + * @return the IWorkbookFunctionsProductRequest instance + */ + IWorkbookFunctionsProductRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsProductRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsProductRequest instance + */ + IWorkbookFunctionsProductRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequest.java index 26fcdec0af6..3597146d734 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsProperRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Proper Request. */ -public interface IWorkbookFunctionsProperRequest extends IBaseWorkbookFunctionsProperRequest { +public interface IWorkbookFunctionsProperRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsProperRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsProperRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsProperRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequestBuilder.java index 8d2d2dd9660..5ede968b517 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsProperRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsProperRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Proper Request Builder. */ -public interface IWorkbookFunctionsProperRequestBuilder extends IBaseWorkbookFunctionsProperRequestBuilder { +public interface IWorkbookFunctionsProperRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsProperRequest + * + * @return the IWorkbookFunctionsProperRequest instance + */ + IWorkbookFunctionsProperRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsProperRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsProperRequest instance + */ + IWorkbookFunctionsProperRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequest.java index 035da04128a..37458bdc97e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pv Request. */ -public interface IWorkbookFunctionsPvRequest extends IBaseWorkbookFunctionsPvRequest { +public interface IWorkbookFunctionsPvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsPvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsPvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsPvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequestBuilder.java index 5e313ff9570..745294e40ec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsPvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsPvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Pv Request Builder. */ -public interface IWorkbookFunctionsPvRequestBuilder extends IBaseWorkbookFunctionsPvRequestBuilder { +public interface IWorkbookFunctionsPvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsPvRequest + * + * @return the IWorkbookFunctionsPvRequest instance + */ + IWorkbookFunctionsPvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsPvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPvRequest instance + */ + IWorkbookFunctionsPvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequest.java index 07477d3a327..75cedbc9088 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsQuartile_ExcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Quartile_Exc Request. */ -public interface IWorkbookFunctionsQuartile_ExcRequest extends IBaseWorkbookFunctionsQuartile_ExcRequest { +public interface IWorkbookFunctionsQuartile_ExcRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsQuartile_ExcRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsQuartile_ExcRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsQuartile_ExcRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequestBuilder.java index 5a2ce3f03a7..71d63251277 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_ExcRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsQuartile_ExcRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Quartile_Exc Request Builder. */ -public interface IWorkbookFunctionsQuartile_ExcRequestBuilder extends IBaseWorkbookFunctionsQuartile_ExcRequestBuilder { +public interface IWorkbookFunctionsQuartile_ExcRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsQuartile_ExcRequest + * + * @return the IWorkbookFunctionsQuartile_ExcRequest instance + */ + IWorkbookFunctionsQuartile_ExcRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsQuartile_ExcRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsQuartile_ExcRequest instance + */ + IWorkbookFunctionsQuartile_ExcRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequest.java index 8a5f7336ad1..44e0c2199a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsQuartile_IncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Quartile_Inc Request. */ -public interface IWorkbookFunctionsQuartile_IncRequest extends IBaseWorkbookFunctionsQuartile_IncRequest { +public interface IWorkbookFunctionsQuartile_IncRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsQuartile_IncRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsQuartile_IncRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsQuartile_IncRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequestBuilder.java index 62ef3a01fae..ceed0ac8d19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuartile_IncRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsQuartile_IncRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Quartile_Inc Request Builder. */ -public interface IWorkbookFunctionsQuartile_IncRequestBuilder extends IBaseWorkbookFunctionsQuartile_IncRequestBuilder { +public interface IWorkbookFunctionsQuartile_IncRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsQuartile_IncRequest + * + * @return the IWorkbookFunctionsQuartile_IncRequest instance + */ + IWorkbookFunctionsQuartile_IncRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsQuartile_IncRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsQuartile_IncRequest instance + */ + IWorkbookFunctionsQuartile_IncRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequest.java index 4fd2ae86535..64912839be7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsQuotientRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Quotient Request. */ -public interface IWorkbookFunctionsQuotientRequest extends IBaseWorkbookFunctionsQuotientRequest { +public interface IWorkbookFunctionsQuotientRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsQuotientRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsQuotientRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsQuotientRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequestBuilder.java index 19d4d962bf8..d205a9edb31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsQuotientRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsQuotientRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Quotient Request Builder. */ -public interface IWorkbookFunctionsQuotientRequestBuilder extends IBaseWorkbookFunctionsQuotientRequestBuilder { +public interface IWorkbookFunctionsQuotientRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsQuotientRequest + * + * @return the IWorkbookFunctionsQuotientRequest instance + */ + IWorkbookFunctionsQuotientRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsQuotientRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsQuotientRequest instance + */ + IWorkbookFunctionsQuotientRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequest.java index 2a5ba49a736..f0459cae873 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRadiansRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Radians Request. */ -public interface IWorkbookFunctionsRadiansRequest extends IBaseWorkbookFunctionsRadiansRequest { +public interface IWorkbookFunctionsRadiansRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRadiansRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRadiansRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRadiansRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequestBuilder.java index 28bc8f7bb83..f1dabbe428e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRadiansRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRadiansRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Radians Request Builder. */ -public interface IWorkbookFunctionsRadiansRequestBuilder extends IBaseWorkbookFunctionsRadiansRequestBuilder { +public interface IWorkbookFunctionsRadiansRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRadiansRequest + * + * @return the IWorkbookFunctionsRadiansRequest instance + */ + IWorkbookFunctionsRadiansRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRadiansRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRadiansRequest instance + */ + IWorkbookFunctionsRadiansRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequest.java index 94873b765d7..eac39b5af3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRandBetweenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rand Between Request. */ -public interface IWorkbookFunctionsRandBetweenRequest extends IBaseWorkbookFunctionsRandBetweenRequest { +public interface IWorkbookFunctionsRandBetweenRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRandBetweenRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRandBetweenRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRandBetweenRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequestBuilder.java index 9de2db3b417..545e7e44187 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandBetweenRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRandBetweenRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rand Between Request Builder. */ -public interface IWorkbookFunctionsRandBetweenRequestBuilder extends IBaseWorkbookFunctionsRandBetweenRequestBuilder { +public interface IWorkbookFunctionsRandBetweenRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRandBetweenRequest + * + * @return the IWorkbookFunctionsRandBetweenRequest instance + */ + IWorkbookFunctionsRandBetweenRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRandBetweenRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRandBetweenRequest instance + */ + IWorkbookFunctionsRandBetweenRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequest.java index abe721863bc..a3e7cf719e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRandRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rand Request. */ -public interface IWorkbookFunctionsRandRequest extends IBaseWorkbookFunctionsRandRequest { +public interface IWorkbookFunctionsRandRequest { + + /** + * Creates the WorkbookFunctionsRand + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsRand + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRandRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRandRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequestBuilder.java index 3a997ad21bb..61dc26e759e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRandRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRandRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rand Request Builder. */ -public interface IWorkbookFunctionsRandRequestBuilder extends IBaseWorkbookFunctionsRandRequestBuilder { +public interface IWorkbookFunctionsRandRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRandRequest + * + * @return the IWorkbookFunctionsRandRequest instance + */ + IWorkbookFunctionsRandRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRandRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRandRequest instance + */ + IWorkbookFunctionsRandRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequest.java index 60c468ed872..745207cedf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRank_AvgRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rank_Avg Request. */ -public interface IWorkbookFunctionsRank_AvgRequest extends IBaseWorkbookFunctionsRank_AvgRequest { +public interface IWorkbookFunctionsRank_AvgRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRank_AvgRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRank_AvgRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRank_AvgRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequestBuilder.java index 566a9fff014..b312c2cca0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_AvgRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRank_AvgRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rank_Avg Request Builder. */ -public interface IWorkbookFunctionsRank_AvgRequestBuilder extends IBaseWorkbookFunctionsRank_AvgRequestBuilder { +public interface IWorkbookFunctionsRank_AvgRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRank_AvgRequest + * + * @return the IWorkbookFunctionsRank_AvgRequest instance + */ + IWorkbookFunctionsRank_AvgRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRank_AvgRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRank_AvgRequest instance + */ + IWorkbookFunctionsRank_AvgRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequest.java index 048b2f9cb10..fcba8beac54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRank_EqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rank_Eq Request. */ -public interface IWorkbookFunctionsRank_EqRequest extends IBaseWorkbookFunctionsRank_EqRequest { +public interface IWorkbookFunctionsRank_EqRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRank_EqRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRank_EqRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRank_EqRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequestBuilder.java index 7020e4c0cf1..5eb97a35ee4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRank_EqRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRank_EqRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rank_Eq Request Builder. */ -public interface IWorkbookFunctionsRank_EqRequestBuilder extends IBaseWorkbookFunctionsRank_EqRequestBuilder { +public interface IWorkbookFunctionsRank_EqRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRank_EqRequest + * + * @return the IWorkbookFunctionsRank_EqRequest instance + */ + IWorkbookFunctionsRank_EqRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRank_EqRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRank_EqRequest instance + */ + IWorkbookFunctionsRank_EqRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequest.java index 5855d1ec4bd..8ff188cfbe1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rate Request. */ -public interface IWorkbookFunctionsRateRequest extends IBaseWorkbookFunctionsRateRequest { +public interface IWorkbookFunctionsRateRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRateRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRateRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRateRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequestBuilder.java index 574b11ff0c9..753a4f32d11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRateRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRateRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rate Request Builder. */ -public interface IWorkbookFunctionsRateRequestBuilder extends IBaseWorkbookFunctionsRateRequestBuilder { +public interface IWorkbookFunctionsRateRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRateRequest + * + * @return the IWorkbookFunctionsRateRequest instance + */ + IWorkbookFunctionsRateRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRateRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRateRequest instance + */ + IWorkbookFunctionsRateRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequest.java index 30253c0569b..be9e1ce6c78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReceivedRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Received Request. */ -public interface IWorkbookFunctionsReceivedRequest extends IBaseWorkbookFunctionsReceivedRequest { +public interface IWorkbookFunctionsReceivedRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsReceivedRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsReceivedRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsReceivedRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequestBuilder.java index e002f68cbf5..7cd01c5785f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReceivedRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReceivedRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Received Request Builder. */ -public interface IWorkbookFunctionsReceivedRequestBuilder extends IBaseWorkbookFunctionsReceivedRequestBuilder { +public interface IWorkbookFunctionsReceivedRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsReceivedRequest + * + * @return the IWorkbookFunctionsReceivedRequest instance + */ + IWorkbookFunctionsReceivedRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsReceivedRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReceivedRequest instance + */ + IWorkbookFunctionsReceivedRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequest.java index 184a2a57b4b..ebcb887b189 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReplaceBRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Replace BRequest. */ -public interface IWorkbookFunctionsReplaceBRequest extends IBaseWorkbookFunctionsReplaceBRequest { +public interface IWorkbookFunctionsReplaceBRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsReplaceBRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsReplaceBRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsReplaceBRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequestBuilder.java index e6fbd6604c5..8b9bdbfa78a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceBRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReplaceBRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Replace BRequest Builder. */ -public interface IWorkbookFunctionsReplaceBRequestBuilder extends IBaseWorkbookFunctionsReplaceBRequestBuilder { +public interface IWorkbookFunctionsReplaceBRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsReplaceBRequest + * + * @return the IWorkbookFunctionsReplaceBRequest instance + */ + IWorkbookFunctionsReplaceBRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsReplaceBRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReplaceBRequest instance + */ + IWorkbookFunctionsReplaceBRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequest.java index 434dc6cd267..a33c299a107 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReplaceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Replace Request. */ -public interface IWorkbookFunctionsReplaceRequest extends IBaseWorkbookFunctionsReplaceRequest { +public interface IWorkbookFunctionsReplaceRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsReplaceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsReplaceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsReplaceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequestBuilder.java index 8b810529273..cdf7239cf20 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReplaceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReplaceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Replace Request Builder. */ -public interface IWorkbookFunctionsReplaceRequestBuilder extends IBaseWorkbookFunctionsReplaceRequestBuilder { +public interface IWorkbookFunctionsReplaceRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsReplaceRequest + * + * @return the IWorkbookFunctionsReplaceRequest instance + */ + IWorkbookFunctionsReplaceRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsReplaceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReplaceRequest instance + */ + IWorkbookFunctionsReplaceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequest.java index 9b5f1d23980..c76a24f05ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReptRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rept Request. */ -public interface IWorkbookFunctionsReptRequest extends IBaseWorkbookFunctionsReptRequest { +public interface IWorkbookFunctionsReptRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsReptRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsReptRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsReptRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequestBuilder.java index 85db1c7d90b..fae92b0664b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsReptRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsReptRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rept Request Builder. */ -public interface IWorkbookFunctionsReptRequestBuilder extends IBaseWorkbookFunctionsReptRequestBuilder { +public interface IWorkbookFunctionsReptRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsReptRequest + * + * @return the IWorkbookFunctionsReptRequest instance + */ + IWorkbookFunctionsReptRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsReptRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReptRequest instance + */ + IWorkbookFunctionsReptRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequest.java index dbbb5b5ef84..e6affb6add3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctions; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Request. */ -public interface IWorkbookFunctionsRequest extends IBaseWorkbookFunctionsRequest { +public interface IWorkbookFunctionsRequest extends IHttpRequest { + + /** + * Gets the WorkbookFunctions from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookFunctions from the service + * + * @return the WorkbookFunctions from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctions get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookFunctions with a source + * + * @param sourceWorkbookFunctions the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookFunctions sourceWorkbookFunctions, final ICallback callback); + + /** + * Patches this WorkbookFunctions with a source + * + * @param sourceWorkbookFunctions the source object with updates + * @return the updated WorkbookFunctions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctions patch(final WorkbookFunctions sourceWorkbookFunctions) throws ClientException; + + /** + * Posts a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookFunctions newWorkbookFunctions, final ICallback callback); + + /** + * Posts a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the new object to create + * @return the created WorkbookFunctions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctions post(final WorkbookFunctions newWorkbookFunctions) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequestBuilder.java index 31446a9f6ef..80e4665f9d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequestBuilder.java @@ -3,14 +3,764 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequest; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Request Builder. */ -public interface IWorkbookFunctionsRequestBuilder extends IBaseWorkbookFunctionsRequestBuilder { +public interface IWorkbookFunctionsRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookFunctionsRequest instance + */ + IWorkbookFunctionsRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookFunctionsRequest instance + */ + IWorkbookFunctionsRequest buildRequest(final java.util.List requestOptions); + + IWorkbookFunctionsAbsRequestBuilder abs(final com.google.gson.JsonElement number); + IWorkbookFunctionsAccrIntRequestBuilder accrInt(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstInterest, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis, final com.google.gson.JsonElement calcMethod); + IWorkbookFunctionsAccrIntMRequestBuilder accrIntM(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement basis); + IWorkbookFunctionsAcosRequestBuilder acos(final com.google.gson.JsonElement number); + IWorkbookFunctionsAcoshRequestBuilder acosh(final com.google.gson.JsonElement number); + IWorkbookFunctionsAcotRequestBuilder acot(final com.google.gson.JsonElement number); + IWorkbookFunctionsAcothRequestBuilder acoth(final com.google.gson.JsonElement number); + IWorkbookFunctionsAmorDegrcRequestBuilder amorDegrc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis); + IWorkbookFunctionsAmorLincRequestBuilder amorLinc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis); + IWorkbookFunctionsAndRequestBuilder and(final com.google.gson.JsonElement values); + IWorkbookFunctionsArabicRequestBuilder arabic(final com.google.gson.JsonElement text); + IWorkbookFunctionsAreasRequestBuilder areas(final com.google.gson.JsonElement reference); + IWorkbookFunctionsAscRequestBuilder asc(final com.google.gson.JsonElement text); + IWorkbookFunctionsAsinRequestBuilder asin(final com.google.gson.JsonElement number); + IWorkbookFunctionsAsinhRequestBuilder asinh(final com.google.gson.JsonElement number); + IWorkbookFunctionsAtanRequestBuilder atan(final com.google.gson.JsonElement number); + IWorkbookFunctionsAtan2RequestBuilder atan2(final com.google.gson.JsonElement xNum, final com.google.gson.JsonElement yNum); + IWorkbookFunctionsAtanhRequestBuilder atanh(final com.google.gson.JsonElement number); + IWorkbookFunctionsAveDevRequestBuilder aveDev(final com.google.gson.JsonElement values); + IWorkbookFunctionsAverageRequestBuilder average(final com.google.gson.JsonElement values); + IWorkbookFunctionsAverageARequestBuilder averageA(final com.google.gson.JsonElement values); + IWorkbookFunctionsAverageIfRequestBuilder averageIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement averageRange); + IWorkbookFunctionsAverageIfsRequestBuilder averageIfs(final com.google.gson.JsonElement averageRange, final com.google.gson.JsonElement values); + IWorkbookFunctionsBahtTextRequestBuilder bahtText(final com.google.gson.JsonElement number); + IWorkbookFunctionsBaseRequestBuilder base(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix, final com.google.gson.JsonElement minLength); + IWorkbookFunctionsBesselIRequestBuilder besselI(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); + IWorkbookFunctionsBesselJRequestBuilder besselJ(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); + IWorkbookFunctionsBesselKRequestBuilder besselK(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); + IWorkbookFunctionsBesselYRequestBuilder besselY(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); + IWorkbookFunctionsBeta_DistRequestBuilder beta_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b); + IWorkbookFunctionsBeta_InvRequestBuilder beta_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b); + IWorkbookFunctionsBin2DecRequestBuilder bin2Dec(final com.google.gson.JsonElement number); + IWorkbookFunctionsBin2HexRequestBuilder bin2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsBin2OctRequestBuilder bin2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsBinom_DistRequestBuilder binom_Dist(final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsBinom_Dist_RangeRequestBuilder binom_Dist_Range(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement numberS2); + IWorkbookFunctionsBinom_InvRequestBuilder binom_Inv(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement alpha); + IWorkbookFunctionsBitandRequestBuilder bitand(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); + IWorkbookFunctionsBitlshiftRequestBuilder bitlshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount); + IWorkbookFunctionsBitorRequestBuilder bitor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); + IWorkbookFunctionsBitrshiftRequestBuilder bitrshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount); + IWorkbookFunctionsBitxorRequestBuilder bitxor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); + IWorkbookFunctionsCeiling_MathRequestBuilder ceiling_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode); + IWorkbookFunctionsCeiling_PreciseRequestBuilder ceiling_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); + IWorkbookFunctionsCharRequestBuilder msgraphChar(final com.google.gson.JsonElement number); + IWorkbookFunctionsChiSq_DistRequestBuilder chiSq_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsChiSq_Dist_RTRequestBuilder chiSq_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsChiSq_InvRequestBuilder chiSq_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsChiSq_Inv_RTRequestBuilder chiSq_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsChooseRequestBuilder choose(final com.google.gson.JsonElement indexNum, final com.google.gson.JsonElement values); + IWorkbookFunctionsCleanRequestBuilder clean(final com.google.gson.JsonElement text); + IWorkbookFunctionsCodeRequestBuilder code(final com.google.gson.JsonElement text); + IWorkbookFunctionsColumnsRequestBuilder columns(final com.google.gson.JsonElement array); + IWorkbookFunctionsCombinRequestBuilder combin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); + IWorkbookFunctionsCombinaRequestBuilder combina(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); + IWorkbookFunctionsComplexRequestBuilder complex(final com.google.gson.JsonElement realNum, final com.google.gson.JsonElement iNum, final com.google.gson.JsonElement suffix); + IWorkbookFunctionsConcatenateRequestBuilder concatenate(final com.google.gson.JsonElement values); + IWorkbookFunctionsConfidence_NormRequestBuilder confidence_Norm(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size); + IWorkbookFunctionsConfidence_TRequestBuilder confidence_T(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size); + IWorkbookFunctionsConvertRequestBuilder convert(final com.google.gson.JsonElement number, final com.google.gson.JsonElement fromUnit, final com.google.gson.JsonElement toUnit); + IWorkbookFunctionsCosRequestBuilder cos(final com.google.gson.JsonElement number); + IWorkbookFunctionsCoshRequestBuilder cosh(final com.google.gson.JsonElement number); + IWorkbookFunctionsCotRequestBuilder cot(final com.google.gson.JsonElement number); + IWorkbookFunctionsCothRequestBuilder coth(final com.google.gson.JsonElement number); + IWorkbookFunctionsCountRequestBuilder count(final com.google.gson.JsonElement values); + IWorkbookFunctionsCountARequestBuilder countA(final com.google.gson.JsonElement values); + IWorkbookFunctionsCountBlankRequestBuilder countBlank(final com.google.gson.JsonElement range); + IWorkbookFunctionsCountIfRequestBuilder countIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsCountIfsRequestBuilder countIfs(final com.google.gson.JsonElement values); + IWorkbookFunctionsCoupDayBsRequestBuilder coupDayBs(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsCoupDaysRequestBuilder coupDays(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsCoupDaysNcRequestBuilder coupDaysNc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsCoupNcdRequestBuilder coupNcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsCoupNumRequestBuilder coupNum(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsCoupPcdRequestBuilder coupPcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsCscRequestBuilder csc(final com.google.gson.JsonElement number); + IWorkbookFunctionsCschRequestBuilder csch(final com.google.gson.JsonElement number); + IWorkbookFunctionsCumIPmtRequestBuilder cumIPmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type); + IWorkbookFunctionsCumPrincRequestBuilder cumPrinc(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type); + IWorkbookFunctionsDaverageRequestBuilder daverage(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDcountRequestBuilder dcount(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDcountARequestBuilder dcountA(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDgetRequestBuilder dget(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDmaxRequestBuilder dmax(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDminRequestBuilder dmin(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDproductRequestBuilder dproduct(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDstDevRequestBuilder dstDev(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDstDevPRequestBuilder dstDevP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDsumRequestBuilder dsum(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDvarRequestBuilder dvar(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDvarPRequestBuilder dvarP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); + IWorkbookFunctionsDateRequestBuilder date(final com.google.gson.JsonElement year, final com.google.gson.JsonElement month, final com.google.gson.JsonElement day); + IWorkbookFunctionsDatevalueRequestBuilder datevalue(final com.google.gson.JsonElement dateText); + IWorkbookFunctionsDayRequestBuilder day(final com.google.gson.JsonElement serialNumber); + IWorkbookFunctionsDaysRequestBuilder days(final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement startDate); + IWorkbookFunctionsDays360RequestBuilder days360(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement method); + IWorkbookFunctionsDbRequestBuilder db(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement month); + IWorkbookFunctionsDbcsRequestBuilder dbcs(final com.google.gson.JsonElement text); + IWorkbookFunctionsDdbRequestBuilder ddb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement factor); + IWorkbookFunctionsDec2BinRequestBuilder dec2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsDec2HexRequestBuilder dec2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsDec2OctRequestBuilder dec2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsDecimalRequestBuilder decimal(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix); + IWorkbookFunctionsDegreesRequestBuilder degrees(final com.google.gson.JsonElement angle); + IWorkbookFunctionsDeltaRequestBuilder delta(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); + IWorkbookFunctionsDevSqRequestBuilder devSq(final com.google.gson.JsonElement values); + IWorkbookFunctionsDiscRequestBuilder disc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); + IWorkbookFunctionsDollarRequestBuilder dollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals); + IWorkbookFunctionsDollarDeRequestBuilder dollarDe(final com.google.gson.JsonElement fractionalDollar, final com.google.gson.JsonElement fraction); + IWorkbookFunctionsDollarFrRequestBuilder dollarFr(final com.google.gson.JsonElement decimalDollar, final com.google.gson.JsonElement fraction); + IWorkbookFunctionsDurationRequestBuilder duration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsEcma_CeilingRequestBuilder ecma_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); + IWorkbookFunctionsEdateRequestBuilder edate(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months); + IWorkbookFunctionsEffectRequestBuilder effect(final com.google.gson.JsonElement nominalRate, final com.google.gson.JsonElement npery); + IWorkbookFunctionsEoMonthRequestBuilder eoMonth(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months); + IWorkbookFunctionsErfRequestBuilder erf(final com.google.gson.JsonElement lowerLimit, final com.google.gson.JsonElement upperLimit); + IWorkbookFunctionsErfCRequestBuilder erfC(final com.google.gson.JsonElement x); + IWorkbookFunctionsErfC_PreciseRequestBuilder erfC_Precise(final com.google.gson.JsonElement x); + IWorkbookFunctionsErf_PreciseRequestBuilder erf_Precise(final com.google.gson.JsonElement x); + IWorkbookFunctionsError_TypeRequestBuilder error_Type(final com.google.gson.JsonElement errorVal); + IWorkbookFunctionsEvenRequestBuilder even(final com.google.gson.JsonElement number); + IWorkbookFunctionsExactRequestBuilder exact(final com.google.gson.JsonElement text1, final com.google.gson.JsonElement text2); + IWorkbookFunctionsExpRequestBuilder exp(final com.google.gson.JsonElement number); + IWorkbookFunctionsExpon_DistRequestBuilder expon_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement lambda, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsFvscheduleRequestBuilder fvschedule(final com.google.gson.JsonElement principal, final com.google.gson.JsonElement schedule); + IWorkbookFunctionsF_DistRequestBuilder f_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsF_Dist_RTRequestBuilder f_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2); + IWorkbookFunctionsF_InvRequestBuilder f_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2); + IWorkbookFunctionsF_Inv_RTRequestBuilder f_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2); + IWorkbookFunctionsFactRequestBuilder fact(final com.google.gson.JsonElement number); + IWorkbookFunctionsFactDoubleRequestBuilder factDouble(final com.google.gson.JsonElement number); + IWorkbookFunctionsFalseRequestBuilder msgraphFalse(); + IWorkbookFunctionsFindRequestBuilder find(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum); + IWorkbookFunctionsFindBRequestBuilder findB(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum); + IWorkbookFunctionsFisherRequestBuilder fisher(final com.google.gson.JsonElement x); + IWorkbookFunctionsFisherInvRequestBuilder fisherInv(final com.google.gson.JsonElement y); + IWorkbookFunctionsFixedRequestBuilder fixed(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals, final com.google.gson.JsonElement noCommas); + IWorkbookFunctionsFloor_MathRequestBuilder floor_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode); + IWorkbookFunctionsFloor_PreciseRequestBuilder floor_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); + IWorkbookFunctionsFvRequestBuilder fv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement type); + IWorkbookFunctionsGammaRequestBuilder gamma(final com.google.gson.JsonElement x); + IWorkbookFunctionsGammaLnRequestBuilder gammaLn(final com.google.gson.JsonElement x); + IWorkbookFunctionsGammaLn_PreciseRequestBuilder gammaLn_Precise(final com.google.gson.JsonElement x); + IWorkbookFunctionsGamma_DistRequestBuilder gamma_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsGamma_InvRequestBuilder gamma_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta); + IWorkbookFunctionsGaussRequestBuilder gauss(final com.google.gson.JsonElement x); + IWorkbookFunctionsGcdRequestBuilder gcd(final com.google.gson.JsonElement values); + IWorkbookFunctionsGeStepRequestBuilder geStep(final com.google.gson.JsonElement number, final com.google.gson.JsonElement step); + IWorkbookFunctionsGeoMeanRequestBuilder geoMean(final com.google.gson.JsonElement values); + IWorkbookFunctionsHlookupRequestBuilder hlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement rowIndexNum, final com.google.gson.JsonElement rangeLookup); + IWorkbookFunctionsHarMeanRequestBuilder harMean(final com.google.gson.JsonElement values); + IWorkbookFunctionsHex2BinRequestBuilder hex2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsHex2DecRequestBuilder hex2Dec(final com.google.gson.JsonElement number); + IWorkbookFunctionsHex2OctRequestBuilder hex2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsHourRequestBuilder hour(final com.google.gson.JsonElement serialNumber); + IWorkbookFunctionsHypGeom_DistRequestBuilder hypGeom_Dist(final com.google.gson.JsonElement sampleS, final com.google.gson.JsonElement numberSample, final com.google.gson.JsonElement populationS, final com.google.gson.JsonElement numberPop, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsHyperlinkRequestBuilder hyperlink(final com.google.gson.JsonElement linkLocation, final com.google.gson.JsonElement friendlyName); + IWorkbookFunctionsIso_CeilingRequestBuilder iso_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); + IWorkbookFunctionsIfRequestBuilder msgraphIf(final com.google.gson.JsonElement logicalTest, final com.google.gson.JsonElement valueIfTrue, final com.google.gson.JsonElement valueIfFalse); + IWorkbookFunctionsImAbsRequestBuilder imAbs(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImArgumentRequestBuilder imArgument(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImConjugateRequestBuilder imConjugate(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImCosRequestBuilder imCos(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImCoshRequestBuilder imCosh(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImCotRequestBuilder imCot(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImCscRequestBuilder imCsc(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImCschRequestBuilder imCsch(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImDivRequestBuilder imDiv(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2); + IWorkbookFunctionsImExpRequestBuilder imExp(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImLnRequestBuilder imLn(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImLog10RequestBuilder imLog10(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImLog2RequestBuilder imLog2(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImPowerRequestBuilder imPower(final com.google.gson.JsonElement inumber, final com.google.gson.JsonElement number); + IWorkbookFunctionsImProductRequestBuilder imProduct(final com.google.gson.JsonElement values); + IWorkbookFunctionsImRealRequestBuilder imReal(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImSecRequestBuilder imSec(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImSechRequestBuilder imSech(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImSinRequestBuilder imSin(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImSinhRequestBuilder imSinh(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImSqrtRequestBuilder imSqrt(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImSubRequestBuilder imSub(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2); + IWorkbookFunctionsImSumRequestBuilder imSum(final com.google.gson.JsonElement values); + IWorkbookFunctionsImTanRequestBuilder imTan(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsImaginaryRequestBuilder imaginary(final com.google.gson.JsonElement inumber); + IWorkbookFunctionsIntRequestBuilder msgraphInt(final com.google.gson.JsonElement number); + IWorkbookFunctionsIntRateRequestBuilder intRate(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); + IWorkbookFunctionsIpmtRequestBuilder ipmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); + IWorkbookFunctionsIrrRequestBuilder irr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement guess); + IWorkbookFunctionsIsErrRequestBuilder isErr(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsErrorRequestBuilder isError(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsEvenRequestBuilder isEven(final com.google.gson.JsonElement number); + IWorkbookFunctionsIsFormulaRequestBuilder isFormula(final com.google.gson.JsonElement reference); + IWorkbookFunctionsIsLogicalRequestBuilder isLogical(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsNARequestBuilder isNA(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsNonTextRequestBuilder isNonText(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsNumberRequestBuilder isNumber(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsOddRequestBuilder isOdd(final com.google.gson.JsonElement number); + IWorkbookFunctionsIsTextRequestBuilder isText(final com.google.gson.JsonElement value); + IWorkbookFunctionsIsoWeekNumRequestBuilder isoWeekNum(final com.google.gson.JsonElement date); + IWorkbookFunctionsIspmtRequestBuilder ispmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv); + IWorkbookFunctionsIsrefRequestBuilder isref(final com.google.gson.JsonElement value); + IWorkbookFunctionsKurtRequestBuilder kurt(final com.google.gson.JsonElement values); + IWorkbookFunctionsLargeRequestBuilder large(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); + IWorkbookFunctionsLcmRequestBuilder lcm(final com.google.gson.JsonElement values); + IWorkbookFunctionsLeftRequestBuilder left(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars); + IWorkbookFunctionsLeftbRequestBuilder leftb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes); + IWorkbookFunctionsLenRequestBuilder len(final com.google.gson.JsonElement text); + IWorkbookFunctionsLenbRequestBuilder lenb(final com.google.gson.JsonElement text); + IWorkbookFunctionsLnRequestBuilder ln(final com.google.gson.JsonElement number); + IWorkbookFunctionsLogRequestBuilder log(final com.google.gson.JsonElement number, final com.google.gson.JsonElement base); + IWorkbookFunctionsLog10RequestBuilder log10(final com.google.gson.JsonElement number); + IWorkbookFunctionsLogNorm_DistRequestBuilder logNorm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsLogNorm_InvRequestBuilder logNorm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev); + IWorkbookFunctionsLookupRequestBuilder lookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupVector, final com.google.gson.JsonElement resultVector); + IWorkbookFunctionsLowerRequestBuilder lower(final com.google.gson.JsonElement text); + IWorkbookFunctionsMdurationRequestBuilder mduration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsMirrRequestBuilder mirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement financeRate, final com.google.gson.JsonElement reinvestRate); + IWorkbookFunctionsMroundRequestBuilder mround(final com.google.gson.JsonElement number, final com.google.gson.JsonElement multiple); + IWorkbookFunctionsMatchRequestBuilder match(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupArray, final com.google.gson.JsonElement matchType); + IWorkbookFunctionsMaxRequestBuilder max(final com.google.gson.JsonElement values); + IWorkbookFunctionsMaxARequestBuilder maxA(final com.google.gson.JsonElement values); + IWorkbookFunctionsMedianRequestBuilder median(final com.google.gson.JsonElement values); + IWorkbookFunctionsMidRequestBuilder mid(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars); + IWorkbookFunctionsMidbRequestBuilder midb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes); + IWorkbookFunctionsMinRequestBuilder min(final com.google.gson.JsonElement values); + IWorkbookFunctionsMinARequestBuilder minA(final com.google.gson.JsonElement values); + IWorkbookFunctionsMinuteRequestBuilder minute(final com.google.gson.JsonElement serialNumber); + IWorkbookFunctionsModRequestBuilder mod(final com.google.gson.JsonElement number, final com.google.gson.JsonElement divisor); + IWorkbookFunctionsMonthRequestBuilder month(final com.google.gson.JsonElement serialNumber); + IWorkbookFunctionsMultiNomialRequestBuilder multiNomial(final com.google.gson.JsonElement values); + IWorkbookFunctionsNRequestBuilder n(final com.google.gson.JsonElement value); + IWorkbookFunctionsNperRequestBuilder nper(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); + IWorkbookFunctionsNaRequestBuilder na(); + IWorkbookFunctionsNegBinom_DistRequestBuilder negBinom_Dist(final com.google.gson.JsonElement numberF, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsNetworkDaysRequestBuilder networkDays(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement holidays); + IWorkbookFunctionsNetworkDays_IntlRequestBuilder networkDays_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays); + IWorkbookFunctionsNominalRequestBuilder nominal(final com.google.gson.JsonElement effectRate, final com.google.gson.JsonElement npery); + IWorkbookFunctionsNorm_DistRequestBuilder norm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsNorm_InvRequestBuilder norm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev); + IWorkbookFunctionsNorm_S_DistRequestBuilder norm_S_Dist(final com.google.gson.JsonElement z, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsNorm_S_InvRequestBuilder norm_S_Inv(final com.google.gson.JsonElement probability); + IWorkbookFunctionsNotRequestBuilder not(final com.google.gson.JsonElement logical); + IWorkbookFunctionsNowRequestBuilder now(); + IWorkbookFunctionsNpvRequestBuilder npv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values); + IWorkbookFunctionsNumberValueRequestBuilder numberValue(final com.google.gson.JsonElement text, final com.google.gson.JsonElement decimalSeparator, final com.google.gson.JsonElement groupSeparator); + IWorkbookFunctionsOct2BinRequestBuilder oct2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsOct2DecRequestBuilder oct2Dec(final com.google.gson.JsonElement number); + IWorkbookFunctionsOct2HexRequestBuilder oct2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); + IWorkbookFunctionsOddRequestBuilder odd(final com.google.gson.JsonElement number); + IWorkbookFunctionsOddFPriceRequestBuilder oddFPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsOddFYieldRequestBuilder oddFYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsOddLPriceRequestBuilder oddLPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsOddLYieldRequestBuilder oddLYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsOrRequestBuilder or(final com.google.gson.JsonElement values); + IWorkbookFunctionsPdurationRequestBuilder pduration(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv); + IWorkbookFunctionsPercentRank_ExcRequestBuilder percentRank_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance); + IWorkbookFunctionsPercentRank_IncRequestBuilder percentRank_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance); + IWorkbookFunctionsPercentile_ExcRequestBuilder percentile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); + IWorkbookFunctionsPercentile_IncRequestBuilder percentile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); + IWorkbookFunctionsPermutRequestBuilder permut(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); + IWorkbookFunctionsPermutationaRequestBuilder permutationa(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); + IWorkbookFunctionsPhiRequestBuilder phi(final com.google.gson.JsonElement x); + IWorkbookFunctionsPiRequestBuilder pi(); + IWorkbookFunctionsPmtRequestBuilder pmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); + IWorkbookFunctionsPoisson_DistRequestBuilder poisson_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsPowerRequestBuilder power(final com.google.gson.JsonElement number, final com.google.gson.JsonElement power); + IWorkbookFunctionsPpmtRequestBuilder ppmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); + IWorkbookFunctionsPriceRequestBuilder price(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsPriceDiscRequestBuilder priceDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); + IWorkbookFunctionsPriceMatRequestBuilder priceMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement basis); + IWorkbookFunctionsProductRequestBuilder product(final com.google.gson.JsonElement values); + IWorkbookFunctionsProperRequestBuilder proper(final com.google.gson.JsonElement text); + IWorkbookFunctionsPvRequestBuilder pv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); + IWorkbookFunctionsQuartile_ExcRequestBuilder quartile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart); + IWorkbookFunctionsQuartile_IncRequestBuilder quartile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart); + IWorkbookFunctionsQuotientRequestBuilder quotient(final com.google.gson.JsonElement numerator, final com.google.gson.JsonElement denominator); + IWorkbookFunctionsRadiansRequestBuilder radians(final com.google.gson.JsonElement angle); + IWorkbookFunctionsRandRequestBuilder rand(); + IWorkbookFunctionsRandBetweenRequestBuilder randBetween(final com.google.gson.JsonElement bottom, final com.google.gson.JsonElement top); + IWorkbookFunctionsRank_AvgRequestBuilder rank_Avg(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order); + IWorkbookFunctionsRank_EqRequestBuilder rank_Eq(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order); + IWorkbookFunctionsRateRequestBuilder rate(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type, final com.google.gson.JsonElement guess); + IWorkbookFunctionsReceivedRequestBuilder received(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement basis); + IWorkbookFunctionsReplaceRequestBuilder replace(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars, final com.google.gson.JsonElement newText); + IWorkbookFunctionsReplaceBRequestBuilder replaceB(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes, final com.google.gson.JsonElement newText); + IWorkbookFunctionsReptRequestBuilder rept(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numberTimes); + IWorkbookFunctionsRightRequestBuilder right(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars); + IWorkbookFunctionsRightbRequestBuilder rightb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes); + IWorkbookFunctionsRomanRequestBuilder roman(final com.google.gson.JsonElement number, final com.google.gson.JsonElement form); + IWorkbookFunctionsRoundRequestBuilder round(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); + IWorkbookFunctionsRoundDownRequestBuilder roundDown(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); + IWorkbookFunctionsRoundUpRequestBuilder roundUp(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); + IWorkbookFunctionsRowsRequestBuilder rows(final com.google.gson.JsonElement array); + IWorkbookFunctionsRriRequestBuilder rri(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv); + IWorkbookFunctionsSecRequestBuilder sec(final com.google.gson.JsonElement number); + IWorkbookFunctionsSechRequestBuilder sech(final com.google.gson.JsonElement number); + IWorkbookFunctionsSecondRequestBuilder second(final com.google.gson.JsonElement serialNumber); + IWorkbookFunctionsSeriesSumRequestBuilder seriesSum(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n, final com.google.gson.JsonElement m, final com.google.gson.JsonElement coefficients); + IWorkbookFunctionsSheetRequestBuilder sheet(final com.google.gson.JsonElement value); + IWorkbookFunctionsSheetsRequestBuilder sheets(final com.google.gson.JsonElement reference); + IWorkbookFunctionsSignRequestBuilder sign(final com.google.gson.JsonElement number); + IWorkbookFunctionsSinRequestBuilder sin(final com.google.gson.JsonElement number); + IWorkbookFunctionsSinhRequestBuilder sinh(final com.google.gson.JsonElement number); + IWorkbookFunctionsSkewRequestBuilder skew(final com.google.gson.JsonElement values); + IWorkbookFunctionsSkew_pRequestBuilder skew_p(final com.google.gson.JsonElement values); + IWorkbookFunctionsSlnRequestBuilder sln(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life); + IWorkbookFunctionsSmallRequestBuilder small(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); + IWorkbookFunctionsSqrtRequestBuilder sqrt(final com.google.gson.JsonElement number); + IWorkbookFunctionsSqrtPiRequestBuilder sqrtPi(final com.google.gson.JsonElement number); + IWorkbookFunctionsStDevARequestBuilder stDevA(final com.google.gson.JsonElement values); + IWorkbookFunctionsStDevPARequestBuilder stDevPA(final com.google.gson.JsonElement values); + IWorkbookFunctionsStDev_PRequestBuilder stDev_P(final com.google.gson.JsonElement values); + IWorkbookFunctionsStDev_SRequestBuilder stDev_S(final com.google.gson.JsonElement values); + IWorkbookFunctionsStandardizeRequestBuilder standardize(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev); + IWorkbookFunctionsSubstituteRequestBuilder substitute(final com.google.gson.JsonElement text, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement newText, final com.google.gson.JsonElement instanceNum); + IWorkbookFunctionsSubtotalRequestBuilder subtotal(final com.google.gson.JsonElement functionNum, final com.google.gson.JsonElement values); + IWorkbookFunctionsSumRequestBuilder sum(final com.google.gson.JsonElement values); + IWorkbookFunctionsSumIfRequestBuilder sumIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement sumRange); + IWorkbookFunctionsSumIfsRequestBuilder sumIfs(final com.google.gson.JsonElement sumRange, final com.google.gson.JsonElement values); + IWorkbookFunctionsSumSqRequestBuilder sumSq(final com.google.gson.JsonElement values); + IWorkbookFunctionsSydRequestBuilder syd(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement per); + IWorkbookFunctionsTRequestBuilder t(final com.google.gson.JsonElement value); + IWorkbookFunctionsTbillEqRequestBuilder tbillEq(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount); + IWorkbookFunctionsTbillPriceRequestBuilder tbillPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount); + IWorkbookFunctionsTbillYieldRequestBuilder tbillYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr); + IWorkbookFunctionsT_DistRequestBuilder t_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsT_Dist_2TRequestBuilder t_Dist_2T(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsT_Dist_RTRequestBuilder t_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsT_InvRequestBuilder t_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsT_Inv_2TRequestBuilder t_Inv_2T(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); + IWorkbookFunctionsTanRequestBuilder tan(final com.google.gson.JsonElement number); + IWorkbookFunctionsTanhRequestBuilder tanh(final com.google.gson.JsonElement number); + IWorkbookFunctionsTextRequestBuilder text(final com.google.gson.JsonElement value, final com.google.gson.JsonElement formatText); + IWorkbookFunctionsTimeRequestBuilder time(final com.google.gson.JsonElement hour, final com.google.gson.JsonElement minute, final com.google.gson.JsonElement second); + IWorkbookFunctionsTimevalueRequestBuilder timevalue(final com.google.gson.JsonElement timeText); + IWorkbookFunctionsTodayRequestBuilder today(); + IWorkbookFunctionsTrimRequestBuilder trim(final com.google.gson.JsonElement text); + IWorkbookFunctionsTrimMeanRequestBuilder trimMean(final com.google.gson.JsonElement array, final com.google.gson.JsonElement percent); + IWorkbookFunctionsTrueRequestBuilder msgraphTrue(); + IWorkbookFunctionsTruncRequestBuilder trunc(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); + IWorkbookFunctionsTypeRequestBuilder type(final com.google.gson.JsonElement value); + IWorkbookFunctionsUsdollarRequestBuilder usdollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals); + IWorkbookFunctionsUnicharRequestBuilder unichar(final com.google.gson.JsonElement number); + IWorkbookFunctionsUnicodeRequestBuilder unicode(final com.google.gson.JsonElement text); + IWorkbookFunctionsUpperRequestBuilder upper(final com.google.gson.JsonElement text); + IWorkbookFunctionsVlookupRequestBuilder vlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement colIndexNum, final com.google.gson.JsonElement rangeLookup); + IWorkbookFunctionsValueRequestBuilder value(final com.google.gson.JsonElement text); + IWorkbookFunctionsVarARequestBuilder varA(final com.google.gson.JsonElement values); + IWorkbookFunctionsVarPARequestBuilder varPA(final com.google.gson.JsonElement values); + IWorkbookFunctionsVar_PRequestBuilder var_P(final com.google.gson.JsonElement values); + IWorkbookFunctionsVar_SRequestBuilder var_S(final com.google.gson.JsonElement values); + IWorkbookFunctionsVdbRequestBuilder vdb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement factor, final com.google.gson.JsonElement noSwitch); + IWorkbookFunctionsWeekNumRequestBuilder weekNum(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType); + IWorkbookFunctionsWeekdayRequestBuilder weekday(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType); + IWorkbookFunctionsWeibull_DistRequestBuilder weibull_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative); + IWorkbookFunctionsWorkDayRequestBuilder workDay(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement holidays); + IWorkbookFunctionsWorkDay_IntlRequestBuilder workDay_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays); + IWorkbookFunctionsXirrRequestBuilder xirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates, final com.google.gson.JsonElement guess); + IWorkbookFunctionsXnpvRequestBuilder xnpv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates); + IWorkbookFunctionsXorRequestBuilder xor(final com.google.gson.JsonElement values); + IWorkbookFunctionsYearRequestBuilder year(final com.google.gson.JsonElement serialNumber); + IWorkbookFunctionsYearFracRequestBuilder yearFrac(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement basis); + IWorkbookFunctionsYieldRequestBuilder yield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); + IWorkbookFunctionsYieldDiscRequestBuilder yieldDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); + IWorkbookFunctionsYieldMatRequestBuilder yieldMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement basis); + IWorkbookFunctionsZ_TestRequestBuilder z_Test(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement sigma); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequest.java index 165d88e9e0f..4e6a8a02c01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRightRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Right Request. */ -public interface IWorkbookFunctionsRightRequest extends IBaseWorkbookFunctionsRightRequest { +public interface IWorkbookFunctionsRightRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRightRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRightRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRightRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequestBuilder.java index 8c139cbea50..518f29ea9e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRightRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Right Request Builder. */ -public interface IWorkbookFunctionsRightRequestBuilder extends IBaseWorkbookFunctionsRightRequestBuilder { +public interface IWorkbookFunctionsRightRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRightRequest + * + * @return the IWorkbookFunctionsRightRequest instance + */ + IWorkbookFunctionsRightRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRightRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRightRequest instance + */ + IWorkbookFunctionsRightRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequest.java index cee7f69ed22..c27fba854f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRightbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rightb Request. */ -public interface IWorkbookFunctionsRightbRequest extends IBaseWorkbookFunctionsRightbRequest { +public interface IWorkbookFunctionsRightbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRightbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRightbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRightbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequestBuilder.java index 860324033ed..912efd389a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRightbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRightbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rightb Request Builder. */ -public interface IWorkbookFunctionsRightbRequestBuilder extends IBaseWorkbookFunctionsRightbRequestBuilder { +public interface IWorkbookFunctionsRightbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRightbRequest + * + * @return the IWorkbookFunctionsRightbRequest instance + */ + IWorkbookFunctionsRightbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRightbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRightbRequest instance + */ + IWorkbookFunctionsRightbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequest.java index 31483bc1f1d..37db217d078 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRomanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Roman Request. */ -public interface IWorkbookFunctionsRomanRequest extends IBaseWorkbookFunctionsRomanRequest { +public interface IWorkbookFunctionsRomanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRomanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRomanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRomanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequestBuilder.java index 383d391f23c..ae4358afb53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRomanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRomanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Roman Request Builder. */ -public interface IWorkbookFunctionsRomanRequestBuilder extends IBaseWorkbookFunctionsRomanRequestBuilder { +public interface IWorkbookFunctionsRomanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRomanRequest + * + * @return the IWorkbookFunctionsRomanRequest instance + */ + IWorkbookFunctionsRomanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRomanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRomanRequest instance + */ + IWorkbookFunctionsRomanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequest.java index 3aa4485617a..28eaa9a7cfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRoundDownRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Round Down Request. */ -public interface IWorkbookFunctionsRoundDownRequest extends IBaseWorkbookFunctionsRoundDownRequest { +public interface IWorkbookFunctionsRoundDownRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRoundDownRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRoundDownRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRoundDownRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequestBuilder.java index 13a7559026a..983cb007b41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundDownRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRoundDownRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Round Down Request Builder. */ -public interface IWorkbookFunctionsRoundDownRequestBuilder extends IBaseWorkbookFunctionsRoundDownRequestBuilder { +public interface IWorkbookFunctionsRoundDownRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRoundDownRequest + * + * @return the IWorkbookFunctionsRoundDownRequest instance + */ + IWorkbookFunctionsRoundDownRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRoundDownRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRoundDownRequest instance + */ + IWorkbookFunctionsRoundDownRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequest.java index 3109392d62f..8227b818483 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRoundRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Round Request. */ -public interface IWorkbookFunctionsRoundRequest extends IBaseWorkbookFunctionsRoundRequest { +public interface IWorkbookFunctionsRoundRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRoundRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRoundRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRoundRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequestBuilder.java index 1836c7e5381..7ce4a30ac21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRoundRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Round Request Builder. */ -public interface IWorkbookFunctionsRoundRequestBuilder extends IBaseWorkbookFunctionsRoundRequestBuilder { +public interface IWorkbookFunctionsRoundRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRoundRequest + * + * @return the IWorkbookFunctionsRoundRequest instance + */ + IWorkbookFunctionsRoundRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRoundRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRoundRequest instance + */ + IWorkbookFunctionsRoundRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequest.java index 0a4385e4d51..61ff888f28b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRoundUpRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Round Up Request. */ -public interface IWorkbookFunctionsRoundUpRequest extends IBaseWorkbookFunctionsRoundUpRequest { +public interface IWorkbookFunctionsRoundUpRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRoundUpRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRoundUpRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRoundUpRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequestBuilder.java index 6153c6b6fa5..aafdce844f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRoundUpRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRoundUpRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Round Up Request Builder. */ -public interface IWorkbookFunctionsRoundUpRequestBuilder extends IBaseWorkbookFunctionsRoundUpRequestBuilder { +public interface IWorkbookFunctionsRoundUpRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRoundUpRequest + * + * @return the IWorkbookFunctionsRoundUpRequest instance + */ + IWorkbookFunctionsRoundUpRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRoundUpRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRoundUpRequest instance + */ + IWorkbookFunctionsRoundUpRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequest.java index 28cf4d7a310..1f520b644bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRowsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rows Request. */ -public interface IWorkbookFunctionsRowsRequest extends IBaseWorkbookFunctionsRowsRequest { +public interface IWorkbookFunctionsRowsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRowsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRowsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRowsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequestBuilder.java index 646e25c6ba5..8a26f59eaf3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRowsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRowsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rows Request Builder. */ -public interface IWorkbookFunctionsRowsRequestBuilder extends IBaseWorkbookFunctionsRowsRequestBuilder { +public interface IWorkbookFunctionsRowsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRowsRequest + * + * @return the IWorkbookFunctionsRowsRequest instance + */ + IWorkbookFunctionsRowsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRowsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRowsRequest instance + */ + IWorkbookFunctionsRowsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequest.java index 0c8e1f235de..47d379a5188 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRriRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rri Request. */ -public interface IWorkbookFunctionsRriRequest extends IBaseWorkbookFunctionsRriRequest { +public interface IWorkbookFunctionsRriRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsRriRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsRriRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsRriRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequestBuilder.java index edddb4a263a..dd92b9e4759 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRriRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsRriRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Rri Request Builder. */ -public interface IWorkbookFunctionsRriRequestBuilder extends IBaseWorkbookFunctionsRriRequestBuilder { +public interface IWorkbookFunctionsRriRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsRriRequest + * + * @return the IWorkbookFunctionsRriRequest instance + */ + IWorkbookFunctionsRriRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsRriRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRriRequest instance + */ + IWorkbookFunctionsRriRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequest.java index f95774457a4..85e26dce1e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sec Request. */ -public interface IWorkbookFunctionsSecRequest extends IBaseWorkbookFunctionsSecRequest { +public interface IWorkbookFunctionsSecRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSecRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSecRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSecRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequestBuilder.java index 43bdb716d40..2bb1f550c68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSecRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sec Request Builder. */ -public interface IWorkbookFunctionsSecRequestBuilder extends IBaseWorkbookFunctionsSecRequestBuilder { +public interface IWorkbookFunctionsSecRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSecRequest + * + * @return the IWorkbookFunctionsSecRequest instance + */ + IWorkbookFunctionsSecRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSecRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSecRequest instance + */ + IWorkbookFunctionsSecRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequest.java index d95fef289f0..e6584cb428b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSechRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sech Request. */ -public interface IWorkbookFunctionsSechRequest extends IBaseWorkbookFunctionsSechRequest { +public interface IWorkbookFunctionsSechRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSechRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSechRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSechRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequestBuilder.java index 2461992ffe3..e3cb5c63ced 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSechRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSechRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sech Request Builder. */ -public interface IWorkbookFunctionsSechRequestBuilder extends IBaseWorkbookFunctionsSechRequestBuilder { +public interface IWorkbookFunctionsSechRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSechRequest + * + * @return the IWorkbookFunctionsSechRequest instance + */ + IWorkbookFunctionsSechRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSechRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSechRequest instance + */ + IWorkbookFunctionsSechRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequest.java index 3d58339b01d..8a1e17ed36a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSecondRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Second Request. */ -public interface IWorkbookFunctionsSecondRequest extends IBaseWorkbookFunctionsSecondRequest { +public interface IWorkbookFunctionsSecondRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSecondRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSecondRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSecondRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequestBuilder.java index 298f23d62ca..9f0560f2771 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSecondRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSecondRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Second Request Builder. */ -public interface IWorkbookFunctionsSecondRequestBuilder extends IBaseWorkbookFunctionsSecondRequestBuilder { +public interface IWorkbookFunctionsSecondRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSecondRequest + * + * @return the IWorkbookFunctionsSecondRequest instance + */ + IWorkbookFunctionsSecondRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSecondRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSecondRequest instance + */ + IWorkbookFunctionsSecondRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequest.java index 30600ce9f32..22c3a933e10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSeriesSumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Series Sum Request. */ -public interface IWorkbookFunctionsSeriesSumRequest extends IBaseWorkbookFunctionsSeriesSumRequest { +public interface IWorkbookFunctionsSeriesSumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSeriesSumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSeriesSumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSeriesSumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequestBuilder.java index 3f5e7907e2c..859e0ed245e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSeriesSumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSeriesSumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Series Sum Request Builder. */ -public interface IWorkbookFunctionsSeriesSumRequestBuilder extends IBaseWorkbookFunctionsSeriesSumRequestBuilder { +public interface IWorkbookFunctionsSeriesSumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSeriesSumRequest + * + * @return the IWorkbookFunctionsSeriesSumRequest instance + */ + IWorkbookFunctionsSeriesSumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSeriesSumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSeriesSumRequest instance + */ + IWorkbookFunctionsSeriesSumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequest.java index 963ae259c28..aa56d3092f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSheetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sheet Request. */ -public interface IWorkbookFunctionsSheetRequest extends IBaseWorkbookFunctionsSheetRequest { +public interface IWorkbookFunctionsSheetRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSheetRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSheetRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSheetRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequestBuilder.java index 2f193d3a305..13b6fb0ee74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSheetRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sheet Request Builder. */ -public interface IWorkbookFunctionsSheetRequestBuilder extends IBaseWorkbookFunctionsSheetRequestBuilder { +public interface IWorkbookFunctionsSheetRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSheetRequest + * + * @return the IWorkbookFunctionsSheetRequest instance + */ + IWorkbookFunctionsSheetRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSheetRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSheetRequest instance + */ + IWorkbookFunctionsSheetRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequest.java index cdcceca6fc9..b3e41a7b556 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSheetsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sheets Request. */ -public interface IWorkbookFunctionsSheetsRequest extends IBaseWorkbookFunctionsSheetsRequest { +public interface IWorkbookFunctionsSheetsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSheetsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSheetsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSheetsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequestBuilder.java index 5b1739967a4..cbcf22b55f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSheetsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSheetsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sheets Request Builder. */ -public interface IWorkbookFunctionsSheetsRequestBuilder extends IBaseWorkbookFunctionsSheetsRequestBuilder { +public interface IWorkbookFunctionsSheetsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSheetsRequest + * + * @return the IWorkbookFunctionsSheetsRequest instance + */ + IWorkbookFunctionsSheetsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSheetsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSheetsRequest instance + */ + IWorkbookFunctionsSheetsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequest.java index 48331dae8b9..e1ea5c6de70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sign Request. */ -public interface IWorkbookFunctionsSignRequest extends IBaseWorkbookFunctionsSignRequest { +public interface IWorkbookFunctionsSignRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSignRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSignRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSignRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequestBuilder.java index ebde5f3d3a2..a7f5920f9d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSignRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSignRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sign Request Builder. */ -public interface IWorkbookFunctionsSignRequestBuilder extends IBaseWorkbookFunctionsSignRequestBuilder { +public interface IWorkbookFunctionsSignRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSignRequest + * + * @return the IWorkbookFunctionsSignRequest instance + */ + IWorkbookFunctionsSignRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSignRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSignRequest instance + */ + IWorkbookFunctionsSignRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequest.java index 56e5926107f..db2538b6c29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sin Request. */ -public interface IWorkbookFunctionsSinRequest extends IBaseWorkbookFunctionsSinRequest { +public interface IWorkbookFunctionsSinRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSinRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSinRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSinRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequestBuilder.java index cb1b1dfc265..12f0e7be3a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSinRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sin Request Builder. */ -public interface IWorkbookFunctionsSinRequestBuilder extends IBaseWorkbookFunctionsSinRequestBuilder { +public interface IWorkbookFunctionsSinRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSinRequest + * + * @return the IWorkbookFunctionsSinRequest instance + */ + IWorkbookFunctionsSinRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSinRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSinRequest instance + */ + IWorkbookFunctionsSinRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequest.java index 68940960f91..a671f97173f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSinhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sinh Request. */ -public interface IWorkbookFunctionsSinhRequest extends IBaseWorkbookFunctionsSinhRequest { +public interface IWorkbookFunctionsSinhRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSinhRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSinhRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSinhRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequestBuilder.java index c52b585bd27..19e97f27e48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSinhRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSinhRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sinh Request Builder. */ -public interface IWorkbookFunctionsSinhRequestBuilder extends IBaseWorkbookFunctionsSinhRequestBuilder { +public interface IWorkbookFunctionsSinhRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSinhRequest + * + * @return the IWorkbookFunctionsSinhRequest instance + */ + IWorkbookFunctionsSinhRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSinhRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSinhRequest instance + */ + IWorkbookFunctionsSinhRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequest.java index 0a9d639da21..461a6b925b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSkewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Skew Request. */ -public interface IWorkbookFunctionsSkewRequest extends IBaseWorkbookFunctionsSkewRequest { +public interface IWorkbookFunctionsSkewRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSkewRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSkewRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSkewRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequestBuilder.java index a497ad92b01..0729f1e968e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkewRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSkewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Skew Request Builder. */ -public interface IWorkbookFunctionsSkewRequestBuilder extends IBaseWorkbookFunctionsSkewRequestBuilder { +public interface IWorkbookFunctionsSkewRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSkewRequest + * + * @return the IWorkbookFunctionsSkewRequest instance + */ + IWorkbookFunctionsSkewRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSkewRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSkewRequest instance + */ + IWorkbookFunctionsSkewRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequest.java index a483e396d93..fa9d34e0862 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSkew_pRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Skew_p Request. */ -public interface IWorkbookFunctionsSkew_pRequest extends IBaseWorkbookFunctionsSkew_pRequest { +public interface IWorkbookFunctionsSkew_pRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSkew_pRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSkew_pRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSkew_pRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequestBuilder.java index d82ae00f866..1707bd89d72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSkew_pRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSkew_pRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Skew_p Request Builder. */ -public interface IWorkbookFunctionsSkew_pRequestBuilder extends IBaseWorkbookFunctionsSkew_pRequestBuilder { +public interface IWorkbookFunctionsSkew_pRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSkew_pRequest + * + * @return the IWorkbookFunctionsSkew_pRequest instance + */ + IWorkbookFunctionsSkew_pRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSkew_pRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSkew_pRequest instance + */ + IWorkbookFunctionsSkew_pRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequest.java index 0eb3299ee95..583b2e9c7cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSlnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sln Request. */ -public interface IWorkbookFunctionsSlnRequest extends IBaseWorkbookFunctionsSlnRequest { +public interface IWorkbookFunctionsSlnRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSlnRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSlnRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSlnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequestBuilder.java index e15068f7a5d..478e22149ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSlnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSlnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sln Request Builder. */ -public interface IWorkbookFunctionsSlnRequestBuilder extends IBaseWorkbookFunctionsSlnRequestBuilder { +public interface IWorkbookFunctionsSlnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSlnRequest + * + * @return the IWorkbookFunctionsSlnRequest instance + */ + IWorkbookFunctionsSlnRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSlnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSlnRequest instance + */ + IWorkbookFunctionsSlnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequest.java index c476257acc6..7414c9e1599 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSmallRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Small Request. */ -public interface IWorkbookFunctionsSmallRequest extends IBaseWorkbookFunctionsSmallRequest { +public interface IWorkbookFunctionsSmallRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSmallRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSmallRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSmallRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequestBuilder.java index 1925e7d2817..ecbfa5238df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSmallRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSmallRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Small Request Builder. */ -public interface IWorkbookFunctionsSmallRequestBuilder extends IBaseWorkbookFunctionsSmallRequestBuilder { +public interface IWorkbookFunctionsSmallRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSmallRequest + * + * @return the IWorkbookFunctionsSmallRequest instance + */ + IWorkbookFunctionsSmallRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSmallRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSmallRequest instance + */ + IWorkbookFunctionsSmallRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequest.java index bfb6fdb8a30..b2ba6c4f26d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSqrtPiRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sqrt Pi Request. */ -public interface IWorkbookFunctionsSqrtPiRequest extends IBaseWorkbookFunctionsSqrtPiRequest { +public interface IWorkbookFunctionsSqrtPiRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSqrtPiRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSqrtPiRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSqrtPiRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequestBuilder.java index 2f9f842ae9e..0804c0e61d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtPiRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSqrtPiRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sqrt Pi Request Builder. */ -public interface IWorkbookFunctionsSqrtPiRequestBuilder extends IBaseWorkbookFunctionsSqrtPiRequestBuilder { +public interface IWorkbookFunctionsSqrtPiRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSqrtPiRequest + * + * @return the IWorkbookFunctionsSqrtPiRequest instance + */ + IWorkbookFunctionsSqrtPiRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSqrtPiRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSqrtPiRequest instance + */ + IWorkbookFunctionsSqrtPiRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequest.java index aa97682db0c..da3a7c9416c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSqrtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sqrt Request. */ -public interface IWorkbookFunctionsSqrtRequest extends IBaseWorkbookFunctionsSqrtRequest { +public interface IWorkbookFunctionsSqrtRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSqrtRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSqrtRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSqrtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequestBuilder.java index bcca10c0264..ef16b7f28bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSqrtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSqrtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sqrt Request Builder. */ -public interface IWorkbookFunctionsSqrtRequestBuilder extends IBaseWorkbookFunctionsSqrtRequestBuilder { +public interface IWorkbookFunctionsSqrtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSqrtRequest + * + * @return the IWorkbookFunctionsSqrtRequest instance + */ + IWorkbookFunctionsSqrtRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSqrtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSqrtRequest instance + */ + IWorkbookFunctionsSqrtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequest.java index 5e9a05006f2..ce90e3d8c51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDevARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev ARequest. */ -public interface IWorkbookFunctionsStDevARequest extends IBaseWorkbookFunctionsStDevARequest { +public interface IWorkbookFunctionsStDevARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsStDevARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsStDevARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsStDevARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequestBuilder.java index 153b1f3b68e..3ca6c032b21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDevARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev ARequest Builder. */ -public interface IWorkbookFunctionsStDevARequestBuilder extends IBaseWorkbookFunctionsStDevARequestBuilder { +public interface IWorkbookFunctionsStDevARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsStDevARequest + * + * @return the IWorkbookFunctionsStDevARequest instance + */ + IWorkbookFunctionsStDevARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsStDevARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDevARequest instance + */ + IWorkbookFunctionsStDevARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequest.java index c664d6ac8f3..1f8da398b97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDevPARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev PARequest. */ -public interface IWorkbookFunctionsStDevPARequest extends IBaseWorkbookFunctionsStDevPARequest { +public interface IWorkbookFunctionsStDevPARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsStDevPARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsStDevPARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsStDevPARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequestBuilder.java index 7cf28ba1492..da98da85276 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDevPARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDevPARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev PARequest Builder. */ -public interface IWorkbookFunctionsStDevPARequestBuilder extends IBaseWorkbookFunctionsStDevPARequestBuilder { +public interface IWorkbookFunctionsStDevPARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsStDevPARequest + * + * @return the IWorkbookFunctionsStDevPARequest instance + */ + IWorkbookFunctionsStDevPARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsStDevPARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDevPARequest instance + */ + IWorkbookFunctionsStDevPARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequest.java index 547e7aa2fed..fbfec66aff4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDev_PRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev_PRequest. */ -public interface IWorkbookFunctionsStDev_PRequest extends IBaseWorkbookFunctionsStDev_PRequest { +public interface IWorkbookFunctionsStDev_PRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsStDev_PRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsStDev_PRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsStDev_PRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequestBuilder.java index beef8d8f017..e239ed69d9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_PRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDev_PRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev_PRequest Builder. */ -public interface IWorkbookFunctionsStDev_PRequestBuilder extends IBaseWorkbookFunctionsStDev_PRequestBuilder { +public interface IWorkbookFunctionsStDev_PRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsStDev_PRequest + * + * @return the IWorkbookFunctionsStDev_PRequest instance + */ + IWorkbookFunctionsStDev_PRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsStDev_PRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDev_PRequest instance + */ + IWorkbookFunctionsStDev_PRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequest.java index 1c2bc79d3e5..49e9c336f59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDev_SRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev_SRequest. */ -public interface IWorkbookFunctionsStDev_SRequest extends IBaseWorkbookFunctionsStDev_SRequest { +public interface IWorkbookFunctionsStDev_SRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsStDev_SRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsStDev_SRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsStDev_SRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequestBuilder.java index ba80a4d674b..7dd102fbaa4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStDev_SRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStDev_SRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions St Dev_SRequest Builder. */ -public interface IWorkbookFunctionsStDev_SRequestBuilder extends IBaseWorkbookFunctionsStDev_SRequestBuilder { +public interface IWorkbookFunctionsStDev_SRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsStDev_SRequest + * + * @return the IWorkbookFunctionsStDev_SRequest instance + */ + IWorkbookFunctionsStDev_SRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsStDev_SRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDev_SRequest instance + */ + IWorkbookFunctionsStDev_SRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequest.java index 7b473ce8541..9b7d12c6ebe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStandardizeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Standardize Request. */ -public interface IWorkbookFunctionsStandardizeRequest extends IBaseWorkbookFunctionsStandardizeRequest { +public interface IWorkbookFunctionsStandardizeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsStandardizeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsStandardizeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsStandardizeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequestBuilder.java index 9af1b3e914e..e5bf8b81928 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsStandardizeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsStandardizeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Standardize Request Builder. */ -public interface IWorkbookFunctionsStandardizeRequestBuilder extends IBaseWorkbookFunctionsStandardizeRequestBuilder { +public interface IWorkbookFunctionsStandardizeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsStandardizeRequest + * + * @return the IWorkbookFunctionsStandardizeRequest instance + */ + IWorkbookFunctionsStandardizeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsStandardizeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStandardizeRequest instance + */ + IWorkbookFunctionsStandardizeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequest.java index 55494c66d43..0f341ff26a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSubstituteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Substitute Request. */ -public interface IWorkbookFunctionsSubstituteRequest extends IBaseWorkbookFunctionsSubstituteRequest { +public interface IWorkbookFunctionsSubstituteRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSubstituteRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSubstituteRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSubstituteRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequestBuilder.java index 017d6ea40a0..756b5d876fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubstituteRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSubstituteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Substitute Request Builder. */ -public interface IWorkbookFunctionsSubstituteRequestBuilder extends IBaseWorkbookFunctionsSubstituteRequestBuilder { +public interface IWorkbookFunctionsSubstituteRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSubstituteRequest + * + * @return the IWorkbookFunctionsSubstituteRequest instance + */ + IWorkbookFunctionsSubstituteRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSubstituteRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSubstituteRequest instance + */ + IWorkbookFunctionsSubstituteRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequest.java index e8b46d8a174..ef90326dbc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSubtotalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Subtotal Request. */ -public interface IWorkbookFunctionsSubtotalRequest extends IBaseWorkbookFunctionsSubtotalRequest { +public interface IWorkbookFunctionsSubtotalRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSubtotalRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSubtotalRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSubtotalRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequestBuilder.java index bc7f36c4153..dc7bfc18a24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSubtotalRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSubtotalRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Subtotal Request Builder. */ -public interface IWorkbookFunctionsSubtotalRequestBuilder extends IBaseWorkbookFunctionsSubtotalRequestBuilder { +public interface IWorkbookFunctionsSubtotalRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSubtotalRequest + * + * @return the IWorkbookFunctionsSubtotalRequest instance + */ + IWorkbookFunctionsSubtotalRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSubtotalRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSubtotalRequest instance + */ + IWorkbookFunctionsSubtotalRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequest.java index 57604cd877f..4d04d8cd6c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum If Request. */ -public interface IWorkbookFunctionsSumIfRequest extends IBaseWorkbookFunctionsSumIfRequest { +public interface IWorkbookFunctionsSumIfRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSumIfRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSumIfRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSumIfRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequestBuilder.java index 3713517c479..52a8eb765a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumIfRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum If Request Builder. */ -public interface IWorkbookFunctionsSumIfRequestBuilder extends IBaseWorkbookFunctionsSumIfRequestBuilder { +public interface IWorkbookFunctionsSumIfRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSumIfRequest + * + * @return the IWorkbookFunctionsSumIfRequest instance + */ + IWorkbookFunctionsSumIfRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSumIfRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumIfRequest instance + */ + IWorkbookFunctionsSumIfRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequest.java index 3e1c4d87082..a752a0e2c74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumIfsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum Ifs Request. */ -public interface IWorkbookFunctionsSumIfsRequest extends IBaseWorkbookFunctionsSumIfsRequest { +public interface IWorkbookFunctionsSumIfsRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSumIfsRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSumIfsRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSumIfsRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequestBuilder.java index 4bdc80ba1bd..b7cb2fd578f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumIfsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumIfsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum Ifs Request Builder. */ -public interface IWorkbookFunctionsSumIfsRequestBuilder extends IBaseWorkbookFunctionsSumIfsRequestBuilder { +public interface IWorkbookFunctionsSumIfsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSumIfsRequest + * + * @return the IWorkbookFunctionsSumIfsRequest instance + */ + IWorkbookFunctionsSumIfsRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSumIfsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumIfsRequest instance + */ + IWorkbookFunctionsSumIfsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequest.java index b0ecfe32a3e..c29201ac363 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum Request. */ -public interface IWorkbookFunctionsSumRequest extends IBaseWorkbookFunctionsSumRequest { +public interface IWorkbookFunctionsSumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequestBuilder.java index 7538cc02185..a66363fa06d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum Request Builder. */ -public interface IWorkbookFunctionsSumRequestBuilder extends IBaseWorkbookFunctionsSumRequestBuilder { +public interface IWorkbookFunctionsSumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSumRequest + * + * @return the IWorkbookFunctionsSumRequest instance + */ + IWorkbookFunctionsSumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumRequest instance + */ + IWorkbookFunctionsSumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequest.java index 68f02eda1d1..7575c6b64bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumSqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum Sq Request. */ -public interface IWorkbookFunctionsSumSqRequest extends IBaseWorkbookFunctionsSumSqRequest { +public interface IWorkbookFunctionsSumSqRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSumSqRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSumSqRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSumSqRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequestBuilder.java index 6a667d91530..ea22d942682 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSumSqRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSumSqRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Sum Sq Request Builder. */ -public interface IWorkbookFunctionsSumSqRequestBuilder extends IBaseWorkbookFunctionsSumSqRequestBuilder { +public interface IWorkbookFunctionsSumSqRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSumSqRequest + * + * @return the IWorkbookFunctionsSumSqRequest instance + */ + IWorkbookFunctionsSumSqRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSumSqRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumSqRequest instance + */ + IWorkbookFunctionsSumSqRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequest.java index ed65c453c92..d7eb7a7453b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSydRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Syd Request. */ -public interface IWorkbookFunctionsSydRequest extends IBaseWorkbookFunctionsSydRequest { +public interface IWorkbookFunctionsSydRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsSydRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsSydRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsSydRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequestBuilder.java index 4d54c50c501..635cad56cf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsSydRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsSydRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Syd Request Builder. */ -public interface IWorkbookFunctionsSydRequestBuilder extends IBaseWorkbookFunctionsSydRequestBuilder { +public interface IWorkbookFunctionsSydRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsSydRequest + * + * @return the IWorkbookFunctionsSydRequest instance + */ + IWorkbookFunctionsSydRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsSydRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSydRequest instance + */ + IWorkbookFunctionsSydRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequest.java index 9f7f20c8730..fc536129159 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions TRequest. */ -public interface IWorkbookFunctionsTRequest extends IBaseWorkbookFunctionsTRequest { +public interface IWorkbookFunctionsTRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequestBuilder.java index 21e9923b148..474f43ff698 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions TRequest Builder. */ -public interface IWorkbookFunctionsTRequestBuilder extends IBaseWorkbookFunctionsTRequestBuilder { +public interface IWorkbookFunctionsTRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTRequest + * + * @return the IWorkbookFunctionsTRequest instance + */ + IWorkbookFunctionsTRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTRequest instance + */ + IWorkbookFunctionsTRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequest.java index dd0c9b73e0a..731b3a34f15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Dist Request. */ -public interface IWorkbookFunctionsT_DistRequest extends IBaseWorkbookFunctionsT_DistRequest { +public interface IWorkbookFunctionsT_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsT_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsT_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsT_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequestBuilder.java index 1addc78e1eb..7bcda4b3aa4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Dist Request Builder. */ -public interface IWorkbookFunctionsT_DistRequestBuilder extends IBaseWorkbookFunctionsT_DistRequestBuilder { +public interface IWorkbookFunctionsT_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsT_DistRequest + * + * @return the IWorkbookFunctionsT_DistRequest instance + */ + IWorkbookFunctionsT_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsT_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_DistRequest instance + */ + IWorkbookFunctionsT_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequest.java index d6f12e8654e..41458368308 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_Dist_2TRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Dist_2TRequest. */ -public interface IWorkbookFunctionsT_Dist_2TRequest extends IBaseWorkbookFunctionsT_Dist_2TRequest { +public interface IWorkbookFunctionsT_Dist_2TRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsT_Dist_2TRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsT_Dist_2TRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsT_Dist_2TRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequestBuilder.java index c8ef4996ee3..6039e800a02 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_2TRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_Dist_2TRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Dist_2TRequest Builder. */ -public interface IWorkbookFunctionsT_Dist_2TRequestBuilder extends IBaseWorkbookFunctionsT_Dist_2TRequestBuilder { +public interface IWorkbookFunctionsT_Dist_2TRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsT_Dist_2TRequest + * + * @return the IWorkbookFunctionsT_Dist_2TRequest instance + */ + IWorkbookFunctionsT_Dist_2TRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsT_Dist_2TRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_Dist_2TRequest instance + */ + IWorkbookFunctionsT_Dist_2TRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequest.java index ef48544031c..485c8955d7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_Dist_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Dist_RTRequest. */ -public interface IWorkbookFunctionsT_Dist_RTRequest extends IBaseWorkbookFunctionsT_Dist_RTRequest { +public interface IWorkbookFunctionsT_Dist_RTRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsT_Dist_RTRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsT_Dist_RTRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsT_Dist_RTRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequestBuilder.java index 8d2de945275..70a1715357c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Dist_RTRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_Dist_RTRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Dist_RTRequest Builder. */ -public interface IWorkbookFunctionsT_Dist_RTRequestBuilder extends IBaseWorkbookFunctionsT_Dist_RTRequestBuilder { +public interface IWorkbookFunctionsT_Dist_RTRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsT_Dist_RTRequest + * + * @return the IWorkbookFunctionsT_Dist_RTRequest instance + */ + IWorkbookFunctionsT_Dist_RTRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsT_Dist_RTRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_Dist_RTRequest instance + */ + IWorkbookFunctionsT_Dist_RTRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequest.java index 7653b125e55..897fe7a598b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Inv Request. */ -public interface IWorkbookFunctionsT_InvRequest extends IBaseWorkbookFunctionsT_InvRequest { +public interface IWorkbookFunctionsT_InvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsT_InvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsT_InvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsT_InvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequestBuilder.java index f4c93bbd700..8286501a42a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_InvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_InvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Inv Request Builder. */ -public interface IWorkbookFunctionsT_InvRequestBuilder extends IBaseWorkbookFunctionsT_InvRequestBuilder { +public interface IWorkbookFunctionsT_InvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsT_InvRequest + * + * @return the IWorkbookFunctionsT_InvRequest instance + */ + IWorkbookFunctionsT_InvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsT_InvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_InvRequest instance + */ + IWorkbookFunctionsT_InvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequest.java index a67a75760f0..ff2dd154d72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_Inv_2TRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Inv_2TRequest. */ -public interface IWorkbookFunctionsT_Inv_2TRequest extends IBaseWorkbookFunctionsT_Inv_2TRequest { +public interface IWorkbookFunctionsT_Inv_2TRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsT_Inv_2TRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsT_Inv_2TRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsT_Inv_2TRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequestBuilder.java index 53a0b9fbf13..b2819c4c0f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsT_Inv_2TRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsT_Inv_2TRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions T_Inv_2TRequest Builder. */ -public interface IWorkbookFunctionsT_Inv_2TRequestBuilder extends IBaseWorkbookFunctionsT_Inv_2TRequestBuilder { +public interface IWorkbookFunctionsT_Inv_2TRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsT_Inv_2TRequest + * + * @return the IWorkbookFunctionsT_Inv_2TRequest instance + */ + IWorkbookFunctionsT_Inv_2TRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsT_Inv_2TRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_Inv_2TRequest instance + */ + IWorkbookFunctionsT_Inv_2TRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequest.java index 64455888cbb..02961e86db6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tan Request. */ -public interface IWorkbookFunctionsTanRequest extends IBaseWorkbookFunctionsTanRequest { +public interface IWorkbookFunctionsTanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequestBuilder.java index 3cc98d0626f..c2f83b554d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tan Request Builder. */ -public interface IWorkbookFunctionsTanRequestBuilder extends IBaseWorkbookFunctionsTanRequestBuilder { +public interface IWorkbookFunctionsTanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTanRequest + * + * @return the IWorkbookFunctionsTanRequest instance + */ + IWorkbookFunctionsTanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTanRequest instance + */ + IWorkbookFunctionsTanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequest.java index a50463038c6..90fbd89ec57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTanhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tanh Request. */ -public interface IWorkbookFunctionsTanhRequest extends IBaseWorkbookFunctionsTanhRequest { +public interface IWorkbookFunctionsTanhRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTanhRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTanhRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTanhRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequestBuilder.java index f6a24c9e82f..b483623baad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTanhRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTanhRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tanh Request Builder. */ -public interface IWorkbookFunctionsTanhRequestBuilder extends IBaseWorkbookFunctionsTanhRequestBuilder { +public interface IWorkbookFunctionsTanhRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTanhRequest + * + * @return the IWorkbookFunctionsTanhRequest instance + */ + IWorkbookFunctionsTanhRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTanhRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTanhRequest instance + */ + IWorkbookFunctionsTanhRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequest.java index b43933a8a71..afc86e1b642 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTbillEqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tbill Eq Request. */ -public interface IWorkbookFunctionsTbillEqRequest extends IBaseWorkbookFunctionsTbillEqRequest { +public interface IWorkbookFunctionsTbillEqRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTbillEqRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTbillEqRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTbillEqRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequestBuilder.java index 7938439b315..8cbe37545bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillEqRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTbillEqRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tbill Eq Request Builder. */ -public interface IWorkbookFunctionsTbillEqRequestBuilder extends IBaseWorkbookFunctionsTbillEqRequestBuilder { +public interface IWorkbookFunctionsTbillEqRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTbillEqRequest + * + * @return the IWorkbookFunctionsTbillEqRequest instance + */ + IWorkbookFunctionsTbillEqRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTbillEqRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTbillEqRequest instance + */ + IWorkbookFunctionsTbillEqRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequest.java index 0a3e0b1f2ba..15bb0fa23c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTbillPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tbill Price Request. */ -public interface IWorkbookFunctionsTbillPriceRequest extends IBaseWorkbookFunctionsTbillPriceRequest { +public interface IWorkbookFunctionsTbillPriceRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTbillPriceRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTbillPriceRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTbillPriceRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequestBuilder.java index da1a53fa419..9e6aefc7f17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillPriceRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTbillPriceRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tbill Price Request Builder. */ -public interface IWorkbookFunctionsTbillPriceRequestBuilder extends IBaseWorkbookFunctionsTbillPriceRequestBuilder { +public interface IWorkbookFunctionsTbillPriceRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTbillPriceRequest + * + * @return the IWorkbookFunctionsTbillPriceRequest instance + */ + IWorkbookFunctionsTbillPriceRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTbillPriceRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTbillPriceRequest instance + */ + IWorkbookFunctionsTbillPriceRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequest.java index a733932ad8a..eff991d0752 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTbillYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tbill Yield Request. */ -public interface IWorkbookFunctionsTbillYieldRequest extends IBaseWorkbookFunctionsTbillYieldRequest { +public interface IWorkbookFunctionsTbillYieldRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTbillYieldRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTbillYieldRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTbillYieldRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequestBuilder.java index f9075981bee..da9ba657066 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTbillYieldRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTbillYieldRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Tbill Yield Request Builder. */ -public interface IWorkbookFunctionsTbillYieldRequestBuilder extends IBaseWorkbookFunctionsTbillYieldRequestBuilder { +public interface IWorkbookFunctionsTbillYieldRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTbillYieldRequest + * + * @return the IWorkbookFunctionsTbillYieldRequest instance + */ + IWorkbookFunctionsTbillYieldRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTbillYieldRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTbillYieldRequest instance + */ + IWorkbookFunctionsTbillYieldRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequest.java index 63a25e24401..f8f1248604c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Text Request. */ -public interface IWorkbookFunctionsTextRequest extends IBaseWorkbookFunctionsTextRequest { +public interface IWorkbookFunctionsTextRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTextRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTextRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTextRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequestBuilder.java index 995cf596517..c6d80294d53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTextRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTextRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Text Request Builder. */ -public interface IWorkbookFunctionsTextRequestBuilder extends IBaseWorkbookFunctionsTextRequestBuilder { +public interface IWorkbookFunctionsTextRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTextRequest + * + * @return the IWorkbookFunctionsTextRequest instance + */ + IWorkbookFunctionsTextRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTextRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTextRequest instance + */ + IWorkbookFunctionsTextRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequest.java index 7dc9b425bef..daf7094b06e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTimeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Time Request. */ -public interface IWorkbookFunctionsTimeRequest extends IBaseWorkbookFunctionsTimeRequest { +public interface IWorkbookFunctionsTimeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTimeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTimeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTimeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequestBuilder.java index bf4145f0352..c5d9067b5ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTimeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Time Request Builder. */ -public interface IWorkbookFunctionsTimeRequestBuilder extends IBaseWorkbookFunctionsTimeRequestBuilder { +public interface IWorkbookFunctionsTimeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTimeRequest + * + * @return the IWorkbookFunctionsTimeRequest instance + */ + IWorkbookFunctionsTimeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTimeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTimeRequest instance + */ + IWorkbookFunctionsTimeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequest.java index d1e8bbad324..c919326400d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTimevalueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Timevalue Request. */ -public interface IWorkbookFunctionsTimevalueRequest extends IBaseWorkbookFunctionsTimevalueRequest { +public interface IWorkbookFunctionsTimevalueRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTimevalueRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTimevalueRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTimevalueRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequestBuilder.java index 95b76b342e2..60951954776 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTimevalueRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTimevalueRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Timevalue Request Builder. */ -public interface IWorkbookFunctionsTimevalueRequestBuilder extends IBaseWorkbookFunctionsTimevalueRequestBuilder { +public interface IWorkbookFunctionsTimevalueRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTimevalueRequest + * + * @return the IWorkbookFunctionsTimevalueRequest instance + */ + IWorkbookFunctionsTimevalueRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTimevalueRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTimevalueRequest instance + */ + IWorkbookFunctionsTimevalueRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequest.java index 9a56231c0c8..5b6ae15021e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTodayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Today Request. */ -public interface IWorkbookFunctionsTodayRequest extends IBaseWorkbookFunctionsTodayRequest { +public interface IWorkbookFunctionsTodayRequest { + + /** + * Creates the WorkbookFunctionsToday + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsToday + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTodayRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTodayRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequestBuilder.java index 3a798fb325d..91eaaf94397 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTodayRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTodayRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Today Request Builder. */ -public interface IWorkbookFunctionsTodayRequestBuilder extends IBaseWorkbookFunctionsTodayRequestBuilder { +public interface IWorkbookFunctionsTodayRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTodayRequest + * + * @return the IWorkbookFunctionsTodayRequest instance + */ + IWorkbookFunctionsTodayRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTodayRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTodayRequest instance + */ + IWorkbookFunctionsTodayRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequest.java index be94e1c2d1a..96ef011230f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTrimMeanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Trim Mean Request. */ -public interface IWorkbookFunctionsTrimMeanRequest extends IBaseWorkbookFunctionsTrimMeanRequest { +public interface IWorkbookFunctionsTrimMeanRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTrimMeanRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTrimMeanRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTrimMeanRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequestBuilder.java index 25ccf62688b..8ce807ee7ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimMeanRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTrimMeanRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Trim Mean Request Builder. */ -public interface IWorkbookFunctionsTrimMeanRequestBuilder extends IBaseWorkbookFunctionsTrimMeanRequestBuilder { +public interface IWorkbookFunctionsTrimMeanRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTrimMeanRequest + * + * @return the IWorkbookFunctionsTrimMeanRequest instance + */ + IWorkbookFunctionsTrimMeanRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTrimMeanRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTrimMeanRequest instance + */ + IWorkbookFunctionsTrimMeanRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequest.java index a652812f8fc..af010a691c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTrimRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Trim Request. */ -public interface IWorkbookFunctionsTrimRequest extends IBaseWorkbookFunctionsTrimRequest { +public interface IWorkbookFunctionsTrimRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTrimRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTrimRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTrimRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequestBuilder.java index 186d6a62fce..59ffcae806f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrimRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTrimRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Trim Request Builder. */ -public interface IWorkbookFunctionsTrimRequestBuilder extends IBaseWorkbookFunctionsTrimRequestBuilder { +public interface IWorkbookFunctionsTrimRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTrimRequest + * + * @return the IWorkbookFunctionsTrimRequest instance + */ + IWorkbookFunctionsTrimRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTrimRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTrimRequest instance + */ + IWorkbookFunctionsTrimRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequest.java index cd3db894994..f0700024129 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTrueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions True Request. */ -public interface IWorkbookFunctionsTrueRequest extends IBaseWorkbookFunctionsTrueRequest { +public interface IWorkbookFunctionsTrueRequest { + + /** + * Creates the WorkbookFunctionsTrue + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookFunctionsTrue + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTrueRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTrueRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequestBuilder.java index ad001c2f7ba..f843fc5e664 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTrueRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTrueRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions True Request Builder. */ -public interface IWorkbookFunctionsTrueRequestBuilder extends IBaseWorkbookFunctionsTrueRequestBuilder { +public interface IWorkbookFunctionsTrueRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTrueRequest + * + * @return the IWorkbookFunctionsTrueRequest instance + */ + IWorkbookFunctionsTrueRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTrueRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTrueRequest instance + */ + IWorkbookFunctionsTrueRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequest.java index 0410617a567..1584408236d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTruncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Trunc Request. */ -public interface IWorkbookFunctionsTruncRequest extends IBaseWorkbookFunctionsTruncRequest { +public interface IWorkbookFunctionsTruncRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTruncRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTruncRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTruncRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequestBuilder.java index f7f6d4a950a..588f06d6912 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTruncRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTruncRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Trunc Request Builder. */ -public interface IWorkbookFunctionsTruncRequestBuilder extends IBaseWorkbookFunctionsTruncRequestBuilder { +public interface IWorkbookFunctionsTruncRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTruncRequest + * + * @return the IWorkbookFunctionsTruncRequest instance + */ + IWorkbookFunctionsTruncRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTruncRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTruncRequest instance + */ + IWorkbookFunctionsTruncRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequest.java index de5b573d4a3..f0730b0ba5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTypeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Type Request. */ -public interface IWorkbookFunctionsTypeRequest extends IBaseWorkbookFunctionsTypeRequest { +public interface IWorkbookFunctionsTypeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsTypeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsTypeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsTypeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequestBuilder.java index 591d2f97540..4590e577386 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsTypeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsTypeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Type Request Builder. */ -public interface IWorkbookFunctionsTypeRequestBuilder extends IBaseWorkbookFunctionsTypeRequestBuilder { +public interface IWorkbookFunctionsTypeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsTypeRequest + * + * @return the IWorkbookFunctionsTypeRequest instance + */ + IWorkbookFunctionsTypeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsTypeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTypeRequest instance + */ + IWorkbookFunctionsTypeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequest.java index cf7c1512d07..a8f03463230 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUnicharRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Unichar Request. */ -public interface IWorkbookFunctionsUnicharRequest extends IBaseWorkbookFunctionsUnicharRequest { +public interface IWorkbookFunctionsUnicharRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsUnicharRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsUnicharRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsUnicharRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequestBuilder.java index 42aa9809a24..b8aa7043623 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicharRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUnicharRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Unichar Request Builder. */ -public interface IWorkbookFunctionsUnicharRequestBuilder extends IBaseWorkbookFunctionsUnicharRequestBuilder { +public interface IWorkbookFunctionsUnicharRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsUnicharRequest + * + * @return the IWorkbookFunctionsUnicharRequest instance + */ + IWorkbookFunctionsUnicharRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsUnicharRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUnicharRequest instance + */ + IWorkbookFunctionsUnicharRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequest.java index 8a55fc9d193..b08e6771b7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUnicodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Unicode Request. */ -public interface IWorkbookFunctionsUnicodeRequest extends IBaseWorkbookFunctionsUnicodeRequest { +public interface IWorkbookFunctionsUnicodeRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsUnicodeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsUnicodeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsUnicodeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequestBuilder.java index d1e7e67b2da..34b55fa6661 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUnicodeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUnicodeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Unicode Request Builder. */ -public interface IWorkbookFunctionsUnicodeRequestBuilder extends IBaseWorkbookFunctionsUnicodeRequestBuilder { +public interface IWorkbookFunctionsUnicodeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsUnicodeRequest + * + * @return the IWorkbookFunctionsUnicodeRequest instance + */ + IWorkbookFunctionsUnicodeRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsUnicodeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUnicodeRequest instance + */ + IWorkbookFunctionsUnicodeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequest.java index b454b74c425..9e95dfe3ce7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUpperRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Upper Request. */ -public interface IWorkbookFunctionsUpperRequest extends IBaseWorkbookFunctionsUpperRequest { +public interface IWorkbookFunctionsUpperRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsUpperRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsUpperRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsUpperRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequestBuilder.java index 57440c781cf..ef3a11f8884 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUpperRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUpperRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Upper Request Builder. */ -public interface IWorkbookFunctionsUpperRequestBuilder extends IBaseWorkbookFunctionsUpperRequestBuilder { +public interface IWorkbookFunctionsUpperRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsUpperRequest + * + * @return the IWorkbookFunctionsUpperRequest instance + */ + IWorkbookFunctionsUpperRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsUpperRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUpperRequest instance + */ + IWorkbookFunctionsUpperRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequest.java index 4dd61bb04f8..6b13bbef3c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUsdollarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Usdollar Request. */ -public interface IWorkbookFunctionsUsdollarRequest extends IBaseWorkbookFunctionsUsdollarRequest { +public interface IWorkbookFunctionsUsdollarRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsUsdollarRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsUsdollarRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsUsdollarRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequestBuilder.java index 4e1dda12795..5ad906c9877 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsUsdollarRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsUsdollarRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Usdollar Request Builder. */ -public interface IWorkbookFunctionsUsdollarRequestBuilder extends IBaseWorkbookFunctionsUsdollarRequestBuilder { +public interface IWorkbookFunctionsUsdollarRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsUsdollarRequest + * + * @return the IWorkbookFunctionsUsdollarRequest instance + */ + IWorkbookFunctionsUsdollarRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsUsdollarRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUsdollarRequest instance + */ + IWorkbookFunctionsUsdollarRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequest.java index 115046b45c8..8e99620d7c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsValueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Value Request. */ -public interface IWorkbookFunctionsValueRequest extends IBaseWorkbookFunctionsValueRequest { +public interface IWorkbookFunctionsValueRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsValueRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsValueRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsValueRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequestBuilder.java index fd0c2f7a8cc..39609e84c35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsValueRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsValueRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Value Request Builder. */ -public interface IWorkbookFunctionsValueRequestBuilder extends IBaseWorkbookFunctionsValueRequestBuilder { +public interface IWorkbookFunctionsValueRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsValueRequest + * + * @return the IWorkbookFunctionsValueRequest instance + */ + IWorkbookFunctionsValueRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsValueRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsValueRequest instance + */ + IWorkbookFunctionsValueRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequest.java index e9ac64029ea..85291633574 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVarARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var ARequest. */ -public interface IWorkbookFunctionsVarARequest extends IBaseWorkbookFunctionsVarARequest { +public interface IWorkbookFunctionsVarARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsVarARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsVarARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsVarARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequestBuilder.java index f655aef7a96..79482d9677b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVarARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var ARequest Builder. */ -public interface IWorkbookFunctionsVarARequestBuilder extends IBaseWorkbookFunctionsVarARequestBuilder { +public interface IWorkbookFunctionsVarARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsVarARequest + * + * @return the IWorkbookFunctionsVarARequest instance + */ + IWorkbookFunctionsVarARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsVarARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVarARequest instance + */ + IWorkbookFunctionsVarARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequest.java index d49d1f84d34..cf3781db2cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVarPARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var PARequest. */ -public interface IWorkbookFunctionsVarPARequest extends IBaseWorkbookFunctionsVarPARequest { +public interface IWorkbookFunctionsVarPARequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsVarPARequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsVarPARequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsVarPARequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequestBuilder.java index e2532a801a0..5dbeeaeb5d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVarPARequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVarPARequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var PARequest Builder. */ -public interface IWorkbookFunctionsVarPARequestBuilder extends IBaseWorkbookFunctionsVarPARequestBuilder { +public interface IWorkbookFunctionsVarPARequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsVarPARequest + * + * @return the IWorkbookFunctionsVarPARequest instance + */ + IWorkbookFunctionsVarPARequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsVarPARequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVarPARequest instance + */ + IWorkbookFunctionsVarPARequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequest.java index 9c25751ce48..df3d3471543 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVar_PRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var_PRequest. */ -public interface IWorkbookFunctionsVar_PRequest extends IBaseWorkbookFunctionsVar_PRequest { +public interface IWorkbookFunctionsVar_PRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsVar_PRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsVar_PRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsVar_PRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequestBuilder.java index d94042bdd89..1087ef5ec53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_PRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVar_PRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var_PRequest Builder. */ -public interface IWorkbookFunctionsVar_PRequestBuilder extends IBaseWorkbookFunctionsVar_PRequestBuilder { +public interface IWorkbookFunctionsVar_PRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsVar_PRequest + * + * @return the IWorkbookFunctionsVar_PRequest instance + */ + IWorkbookFunctionsVar_PRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsVar_PRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVar_PRequest instance + */ + IWorkbookFunctionsVar_PRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequest.java index c66608588a4..05533c9784c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVar_SRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var_SRequest. */ -public interface IWorkbookFunctionsVar_SRequest extends IBaseWorkbookFunctionsVar_SRequest { +public interface IWorkbookFunctionsVar_SRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsVar_SRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsVar_SRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsVar_SRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequestBuilder.java index 623df8b40e9..9ed485037ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVar_SRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVar_SRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Var_SRequest Builder. */ -public interface IWorkbookFunctionsVar_SRequestBuilder extends IBaseWorkbookFunctionsVar_SRequestBuilder { +public interface IWorkbookFunctionsVar_SRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsVar_SRequest + * + * @return the IWorkbookFunctionsVar_SRequest instance + */ + IWorkbookFunctionsVar_SRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsVar_SRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVar_SRequest instance + */ + IWorkbookFunctionsVar_SRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequest.java index b9a7adab823..4420e273e87 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVdbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Vdb Request. */ -public interface IWorkbookFunctionsVdbRequest extends IBaseWorkbookFunctionsVdbRequest { +public interface IWorkbookFunctionsVdbRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsVdbRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsVdbRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsVdbRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequestBuilder.java index 3fb6fea6c46..e5782f0c385 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVdbRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVdbRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Vdb Request Builder. */ -public interface IWorkbookFunctionsVdbRequestBuilder extends IBaseWorkbookFunctionsVdbRequestBuilder { +public interface IWorkbookFunctionsVdbRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsVdbRequest + * + * @return the IWorkbookFunctionsVdbRequest instance + */ + IWorkbookFunctionsVdbRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsVdbRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVdbRequest instance + */ + IWorkbookFunctionsVdbRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequest.java index 54ac76db9f0..f7c927bc1f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVlookupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Vlookup Request. */ -public interface IWorkbookFunctionsVlookupRequest extends IBaseWorkbookFunctionsVlookupRequest { +public interface IWorkbookFunctionsVlookupRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsVlookupRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsVlookupRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsVlookupRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequestBuilder.java index 8beb29ee844..db05c965695 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsVlookupRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsVlookupRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Vlookup Request Builder. */ -public interface IWorkbookFunctionsVlookupRequestBuilder extends IBaseWorkbookFunctionsVlookupRequestBuilder { +public interface IWorkbookFunctionsVlookupRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsVlookupRequest + * + * @return the IWorkbookFunctionsVlookupRequest instance + */ + IWorkbookFunctionsVlookupRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsVlookupRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVlookupRequest instance + */ + IWorkbookFunctionsVlookupRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequest.java index 7cb1c409e2b..48596025e6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWeekNumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Week Num Request. */ -public interface IWorkbookFunctionsWeekNumRequest extends IBaseWorkbookFunctionsWeekNumRequest { +public interface IWorkbookFunctionsWeekNumRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsWeekNumRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsWeekNumRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsWeekNumRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequestBuilder.java index 5b2d8352df3..40bdfaee5ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekNumRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWeekNumRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Week Num Request Builder. */ -public interface IWorkbookFunctionsWeekNumRequestBuilder extends IBaseWorkbookFunctionsWeekNumRequestBuilder { +public interface IWorkbookFunctionsWeekNumRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsWeekNumRequest + * + * @return the IWorkbookFunctionsWeekNumRequest instance + */ + IWorkbookFunctionsWeekNumRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsWeekNumRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWeekNumRequest instance + */ + IWorkbookFunctionsWeekNumRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequest.java index b0605c8a588..f63eda9fa9a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWeekdayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Weekday Request. */ -public interface IWorkbookFunctionsWeekdayRequest extends IBaseWorkbookFunctionsWeekdayRequest { +public interface IWorkbookFunctionsWeekdayRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsWeekdayRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsWeekdayRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsWeekdayRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequestBuilder.java index 5eaeeef65b1..556d550d335 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeekdayRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWeekdayRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Weekday Request Builder. */ -public interface IWorkbookFunctionsWeekdayRequestBuilder extends IBaseWorkbookFunctionsWeekdayRequestBuilder { +public interface IWorkbookFunctionsWeekdayRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsWeekdayRequest + * + * @return the IWorkbookFunctionsWeekdayRequest instance + */ + IWorkbookFunctionsWeekdayRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsWeekdayRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWeekdayRequest instance + */ + IWorkbookFunctionsWeekdayRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequest.java index 2723c8b284d..dca4875175c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWeibull_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Weibull_Dist Request. */ -public interface IWorkbookFunctionsWeibull_DistRequest extends IBaseWorkbookFunctionsWeibull_DistRequest { +public interface IWorkbookFunctionsWeibull_DistRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsWeibull_DistRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsWeibull_DistRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsWeibull_DistRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequestBuilder.java index 62c0100b714..ae81f28c2ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWeibull_DistRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWeibull_DistRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Weibull_Dist Request Builder. */ -public interface IWorkbookFunctionsWeibull_DistRequestBuilder extends IBaseWorkbookFunctionsWeibull_DistRequestBuilder { +public interface IWorkbookFunctionsWeibull_DistRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsWeibull_DistRequest + * + * @return the IWorkbookFunctionsWeibull_DistRequest instance + */ + IWorkbookFunctionsWeibull_DistRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsWeibull_DistRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWeibull_DistRequest instance + */ + IWorkbookFunctionsWeibull_DistRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequest.java index 1a720688ce5..eb6d59c1483 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWorkDayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Work Day Request. */ -public interface IWorkbookFunctionsWorkDayRequest extends IBaseWorkbookFunctionsWorkDayRequest { +public interface IWorkbookFunctionsWorkDayRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsWorkDayRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsWorkDayRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsWorkDayRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequestBuilder.java index 00aa5e5e511..2ed1266d057 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDayRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWorkDayRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Work Day Request Builder. */ -public interface IWorkbookFunctionsWorkDayRequestBuilder extends IBaseWorkbookFunctionsWorkDayRequestBuilder { +public interface IWorkbookFunctionsWorkDayRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsWorkDayRequest + * + * @return the IWorkbookFunctionsWorkDayRequest instance + */ + IWorkbookFunctionsWorkDayRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsWorkDayRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWorkDayRequest instance + */ + IWorkbookFunctionsWorkDayRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequest.java index fb75d0b9a69..f3f34ba4059 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWorkDay_IntlRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Work Day_Intl Request. */ -public interface IWorkbookFunctionsWorkDay_IntlRequest extends IBaseWorkbookFunctionsWorkDay_IntlRequest { +public interface IWorkbookFunctionsWorkDay_IntlRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsWorkDay_IntlRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsWorkDay_IntlRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsWorkDay_IntlRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequestBuilder.java index 7c4c6208f89..ef16f3da68d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsWorkDay_IntlRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Work Day_Intl Request Builder. */ -public interface IWorkbookFunctionsWorkDay_IntlRequestBuilder extends IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder { +public interface IWorkbookFunctionsWorkDay_IntlRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsWorkDay_IntlRequest + * + * @return the IWorkbookFunctionsWorkDay_IntlRequest instance + */ + IWorkbookFunctionsWorkDay_IntlRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsWorkDay_IntlRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWorkDay_IntlRequest instance + */ + IWorkbookFunctionsWorkDay_IntlRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequest.java index f93a061e426..a7d35a9ed2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsXirrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Xirr Request. */ -public interface IWorkbookFunctionsXirrRequest extends IBaseWorkbookFunctionsXirrRequest { +public interface IWorkbookFunctionsXirrRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsXirrRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsXirrRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsXirrRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequestBuilder.java index 1dcbb0138d2..a0f85fda2d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXirrRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsXirrRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Xirr Request Builder. */ -public interface IWorkbookFunctionsXirrRequestBuilder extends IBaseWorkbookFunctionsXirrRequestBuilder { +public interface IWorkbookFunctionsXirrRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsXirrRequest + * + * @return the IWorkbookFunctionsXirrRequest instance + */ + IWorkbookFunctionsXirrRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsXirrRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsXirrRequest instance + */ + IWorkbookFunctionsXirrRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequest.java index 7a53e9c13af..fa8af3a264c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsXnpvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Xnpv Request. */ -public interface IWorkbookFunctionsXnpvRequest extends IBaseWorkbookFunctionsXnpvRequest { +public interface IWorkbookFunctionsXnpvRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsXnpvRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsXnpvRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsXnpvRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequestBuilder.java index ee35ab9c18a..5f7a23d55d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXnpvRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsXnpvRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Xnpv Request Builder. */ -public interface IWorkbookFunctionsXnpvRequestBuilder extends IBaseWorkbookFunctionsXnpvRequestBuilder { +public interface IWorkbookFunctionsXnpvRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsXnpvRequest + * + * @return the IWorkbookFunctionsXnpvRequest instance + */ + IWorkbookFunctionsXnpvRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsXnpvRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsXnpvRequest instance + */ + IWorkbookFunctionsXnpvRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequest.java index b874f90bfbd..fd786c253ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsXorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Xor Request. */ -public interface IWorkbookFunctionsXorRequest extends IBaseWorkbookFunctionsXorRequest { +public interface IWorkbookFunctionsXorRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsXorRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsXorRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsXorRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequestBuilder.java index ed616e28189..78e571f219b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsXorRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsXorRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Xor Request Builder. */ -public interface IWorkbookFunctionsXorRequestBuilder extends IBaseWorkbookFunctionsXorRequestBuilder { +public interface IWorkbookFunctionsXorRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsXorRequest + * + * @return the IWorkbookFunctionsXorRequest instance + */ + IWorkbookFunctionsXorRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsXorRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsXorRequest instance + */ + IWorkbookFunctionsXorRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequest.java index 704799a27d6..147f75dd1e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYearFracRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Year Frac Request. */ -public interface IWorkbookFunctionsYearFracRequest extends IBaseWorkbookFunctionsYearFracRequest { +public interface IWorkbookFunctionsYearFracRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsYearFracRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsYearFracRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsYearFracRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequestBuilder.java index e8c4966aa6f..ed89cdf8fc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearFracRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYearFracRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Year Frac Request Builder. */ -public interface IWorkbookFunctionsYearFracRequestBuilder extends IBaseWorkbookFunctionsYearFracRequestBuilder { +public interface IWorkbookFunctionsYearFracRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsYearFracRequest + * + * @return the IWorkbookFunctionsYearFracRequest instance + */ + IWorkbookFunctionsYearFracRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsYearFracRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYearFracRequest instance + */ + IWorkbookFunctionsYearFracRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequest.java index b5f5996de97..0daeb819ba7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Year Request. */ -public interface IWorkbookFunctionsYearRequest extends IBaseWorkbookFunctionsYearRequest { +public interface IWorkbookFunctionsYearRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsYearRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsYearRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsYearRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequestBuilder.java index 895a11a805d..19a246ba4ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Year Request Builder. */ -public interface IWorkbookFunctionsYearRequestBuilder extends IBaseWorkbookFunctionsYearRequestBuilder { +public interface IWorkbookFunctionsYearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsYearRequest + * + * @return the IWorkbookFunctionsYearRequest instance + */ + IWorkbookFunctionsYearRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsYearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYearRequest instance + */ + IWorkbookFunctionsYearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequest.java index c141d670b47..5c2808865dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYieldDiscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Yield Disc Request. */ -public interface IWorkbookFunctionsYieldDiscRequest extends IBaseWorkbookFunctionsYieldDiscRequest { +public interface IWorkbookFunctionsYieldDiscRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsYieldDiscRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsYieldDiscRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsYieldDiscRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequestBuilder.java index 249572a179b..80134e88cc7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldDiscRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYieldDiscRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Yield Disc Request Builder. */ -public interface IWorkbookFunctionsYieldDiscRequestBuilder extends IBaseWorkbookFunctionsYieldDiscRequestBuilder { +public interface IWorkbookFunctionsYieldDiscRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsYieldDiscRequest + * + * @return the IWorkbookFunctionsYieldDiscRequest instance + */ + IWorkbookFunctionsYieldDiscRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsYieldDiscRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYieldDiscRequest instance + */ + IWorkbookFunctionsYieldDiscRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequest.java index 889cd1badf3..6d1f9412375 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYieldMatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Yield Mat Request. */ -public interface IWorkbookFunctionsYieldMatRequest extends IBaseWorkbookFunctionsYieldMatRequest { +public interface IWorkbookFunctionsYieldMatRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsYieldMatRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsYieldMatRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsYieldMatRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequestBuilder.java index 45e777ce067..8e150a1455e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldMatRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYieldMatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Yield Mat Request Builder. */ -public interface IWorkbookFunctionsYieldMatRequestBuilder extends IBaseWorkbookFunctionsYieldMatRequestBuilder { +public interface IWorkbookFunctionsYieldMatRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsYieldMatRequest + * + * @return the IWorkbookFunctionsYieldMatRequest instance + */ + IWorkbookFunctionsYieldMatRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsYieldMatRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYieldMatRequest instance + */ + IWorkbookFunctionsYieldMatRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequest.java index 77272b8cce8..3698bd745c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Yield Request. */ -public interface IWorkbookFunctionsYieldRequest extends IBaseWorkbookFunctionsYieldRequest { +public interface IWorkbookFunctionsYieldRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsYieldRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsYieldRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsYieldRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequestBuilder.java index 61d569ec2d7..40197eb5925 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsYieldRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsYieldRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Yield Request Builder. */ -public interface IWorkbookFunctionsYieldRequestBuilder extends IBaseWorkbookFunctionsYieldRequestBuilder { +public interface IWorkbookFunctionsYieldRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsYieldRequest + * + * @return the IWorkbookFunctionsYieldRequest instance + */ + IWorkbookFunctionsYieldRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsYieldRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYieldRequest instance + */ + IWorkbookFunctionsYieldRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequest.java index 3ebc8f68f29..eb928f08328 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsZ_TestRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Z_Test Request. */ -public interface IWorkbookFunctionsZ_TestRequest extends IBaseWorkbookFunctionsZ_TestRequest { +public interface IWorkbookFunctionsZ_TestRequest { + + void post(final ICallback callback); + + WorkbookFunctionResult post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookFunctionsZ_TestRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookFunctionsZ_TestRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookFunctionsZ_TestRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequestBuilder.java index 03c8e924409..aaf5f8a2861 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsZ_TestRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookFunctionsZ_TestRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Functions Z_Test Request Builder. */ -public interface IWorkbookFunctionsZ_TestRequestBuilder extends IBaseWorkbookFunctionsZ_TestRequestBuilder { +public interface IWorkbookFunctionsZ_TestRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookFunctionsZ_TestRequest + * + * @return the IWorkbookFunctionsZ_TestRequest instance + */ + IWorkbookFunctionsZ_TestRequest buildRequest(); + + /** + * Creates the IWorkbookFunctionsZ_TestRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsZ_TestRequest instance + */ + IWorkbookFunctionsZ_TestRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequest.java index abd432db60f..1ad58672ec5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemAddFormulaLocalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Add Formula Local Request. */ -public interface IWorkbookNamedItemAddFormulaLocalRequest extends IBaseWorkbookNamedItemAddFormulaLocalRequest { +public interface IWorkbookNamedItemAddFormulaLocalRequest { + + void post(final ICallback callback); + + WorkbookNamedItem post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookNamedItemAddFormulaLocalRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookNamedItemAddFormulaLocalRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookNamedItemAddFormulaLocalRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequestBuilder.java index 7b3d3f7cbd9..a4b93b8c586 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddFormulaLocalRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Add Formula Local Request Builder. */ -public interface IWorkbookNamedItemAddFormulaLocalRequestBuilder extends IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder { +public interface IWorkbookNamedItemAddFormulaLocalRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookNamedItemAddFormulaLocalRequest + * + * @return the IWorkbookNamedItemAddFormulaLocalRequest instance + */ + IWorkbookNamedItemAddFormulaLocalRequest buildRequest(); + + /** + * Creates the IWorkbookNamedItemAddFormulaLocalRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookNamedItemAddFormulaLocalRequest instance + */ + IWorkbookNamedItemAddFormulaLocalRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequest.java index e08bd688d2e..ef6b640acd0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Add Request. */ -public interface IWorkbookNamedItemAddRequest extends IBaseWorkbookNamedItemAddRequest { +public interface IWorkbookNamedItemAddRequest { + + void post(final ICallback callback); + + WorkbookNamedItem post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookNamedItemAddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookNamedItemAddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookNamedItemAddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequestBuilder.java index 183ba7228b5..c8da3d5305d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemAddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemAddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Add Request Builder. */ -public interface IWorkbookNamedItemAddRequestBuilder extends IBaseWorkbookNamedItemAddRequestBuilder { +public interface IWorkbookNamedItemAddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookNamedItemAddRequest + * + * @return the IWorkbookNamedItemAddRequest instance + */ + IWorkbookNamedItemAddRequest buildRequest(); + + /** + * Creates the IWorkbookNamedItemAddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookNamedItemAddRequest instance + */ + IWorkbookNamedItemAddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionPage.java index 5b4630d985c..d560e7dc3d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Collection Page. */ -public interface IWorkbookNamedItemCollectionPage extends IBaseWorkbookNamedItemCollectionPage { - +public interface IWorkbookNamedItemCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequest.java index 36d1f1c616c..396720ba4d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Collection Request. */ -public interface IWorkbookNamedItemCollectionRequest extends IBaseWorkbookNamedItemCollectionRequest { +public interface IWorkbookNamedItemCollectionRequest { + + void get(final ICallback callback); + + IWorkbookNamedItemCollectionPage get() throws ClientException; + + void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback); + + WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookNamedItemCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookNamedItemCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookNamedItemCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequestBuilder.java index 12672b683c0..a0f3283e84b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Collection Request Builder. */ -public interface IWorkbookNamedItemCollectionRequestBuilder extends IBaseWorkbookNamedItemCollectionRequestBuilder { +public interface IWorkbookNamedItemCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookNamedItemCollectionRequest buildRequest(); + + IWorkbookNamedItemCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookNamedItemRequestBuilder byId(final String id); + IWorkbookNamedItemAddRequestBuilder add(final String name, final com.google.gson.JsonElement reference, final String comment); + IWorkbookNamedItemAddFormulaLocalRequestBuilder addFormulaLocal(final String name, final String formula, final String comment); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequest.java index 5ab021c9aa7..ae589e1b524 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Range Request. */ -public interface IWorkbookNamedItemRangeRequest extends IBaseWorkbookNamedItemRangeRequest { +public interface IWorkbookNamedItemRangeRequest { + + /** + * Patches the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookNamedItemRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookNamedItemRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequestBuilder.java index b81472ad40d..762ba187f98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Range Request Builder. */ -public interface IWorkbookNamedItemRangeRequestBuilder extends IBaseWorkbookNamedItemRangeRequestBuilder { +public interface IWorkbookNamedItemRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookNamedItemRangeRequest + * + * @return the IWorkbookNamedItemRangeRequest instance + */ + IWorkbookNamedItemRangeRequest buildRequest(); + + /** + * Creates the IWorkbookNamedItemRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookNamedItemRangeRequest instance + */ + IWorkbookNamedItemRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequest.java index 7f037d64331..36db71b3176 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Request. */ -public interface IWorkbookNamedItemRequest extends IBaseWorkbookNamedItemRequest { +public interface IWorkbookNamedItemRequest extends IHttpRequest { + + /** + * Gets the WorkbookNamedItem from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookNamedItem from the service + * + * @return the WorkbookNamedItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookNamedItem get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookNamedItem with a source + * + * @param sourceWorkbookNamedItem the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookNamedItem sourceWorkbookNamedItem, final ICallback callback); + + /** + * Patches this WorkbookNamedItem with a source + * + * @param sourceWorkbookNamedItem the source object with updates + * @return the updated WorkbookNamedItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookNamedItem patch(final WorkbookNamedItem sourceWorkbookNamedItem) throws ClientException; + + /** + * Posts a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback); + + /** + * Posts a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the new object to create + * @return the created WorkbookNamedItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookNamedItemRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookNamedItemRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequestBuilder.java index 10d306a9b19..88ab02d47c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequestBuilder.java @@ -3,14 +3,42 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequest; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookNamedItemRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Named Item Request Builder. */ -public interface IWorkbookNamedItemRequestBuilder extends IBaseWorkbookNamedItemRequestBuilder { +public interface IWorkbookNamedItemRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookNamedItemRequest instance + */ + IWorkbookNamedItemRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookNamedItemRequest instance + */ + IWorkbookNamedItemRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + IWorkbookWorksheetRequestBuilder worksheet(); + IWorkbookNamedItemRangeRequestBuilder range(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionPage.java index b7e4de3cf0c..8ca0208f74f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Collection Page. */ -public interface IWorkbookPivotTableCollectionPage extends IBaseWorkbookPivotTableCollectionPage { - +public interface IWorkbookPivotTableCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequest.java index 955cd32070f..2a7edc91908 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Collection Request. */ -public interface IWorkbookPivotTableCollectionRequest extends IBaseWorkbookPivotTableCollectionRequest { +public interface IWorkbookPivotTableCollectionRequest { + + void get(final ICallback callback); + + IWorkbookPivotTableCollectionPage get() throws ClientException; + + void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback); + + WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookPivotTableCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookPivotTableCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookPivotTableCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequestBuilder.java index 7a2b090b2c9..6a72f4c77b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableCollectionRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Collection Request Builder. */ -public interface IWorkbookPivotTableCollectionRequestBuilder extends IBaseWorkbookPivotTableCollectionRequestBuilder { +public interface IWorkbookPivotTableCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookPivotTableCollectionRequest buildRequest(); + + IWorkbookPivotTableCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookPivotTableRequestBuilder byId(final String id); + IWorkbookPivotTableRefreshAllRequestBuilder refreshAll(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequest.java index 597467486ad..a5daa6064fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableRefreshAllRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Refresh All Request. */ -public interface IWorkbookPivotTableRefreshAllRequest extends IBaseWorkbookPivotTableRefreshAllRequest { +public interface IWorkbookPivotTableRefreshAllRequest { + + /** + * Creates the WorkbookPivotTableRefreshAll + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookPivotTableRefreshAll + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequestBuilder.java index c120d10944d..be86be29bca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshAllRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableRefreshAllRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Refresh All Request Builder. */ -public interface IWorkbookPivotTableRefreshAllRequestBuilder extends IBaseWorkbookPivotTableRefreshAllRequestBuilder { +public interface IWorkbookPivotTableRefreshAllRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookPivotTableRefreshAllRequest + * + * @return the IWorkbookPivotTableRefreshAllRequest instance + */ + IWorkbookPivotTableRefreshAllRequest buildRequest(); + + /** + * Creates the IWorkbookPivotTableRefreshAllRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookPivotTableRefreshAllRequest instance + */ + IWorkbookPivotTableRefreshAllRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequest.java index d59917364a2..e7e2a1ae14b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableRefreshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Refresh Request. */ -public interface IWorkbookPivotTableRefreshRequest extends IBaseWorkbookPivotTableRefreshRequest { +public interface IWorkbookPivotTableRefreshRequest { + + /** + * Creates the WorkbookPivotTableRefresh + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookPivotTableRefresh + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequestBuilder.java index 57399de8937..b471f4b440e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRefreshRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableRefreshRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Refresh Request Builder. */ -public interface IWorkbookPivotTableRefreshRequestBuilder extends IBaseWorkbookPivotTableRefreshRequestBuilder { +public interface IWorkbookPivotTableRefreshRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookPivotTableRefreshRequest + * + * @return the IWorkbookPivotTableRefreshRequest instance + */ + IWorkbookPivotTableRefreshRequest buildRequest(); + + /** + * Creates the IWorkbookPivotTableRefreshRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookPivotTableRefreshRequest instance + */ + IWorkbookPivotTableRefreshRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequest.java index 24e4e871c31..0222cfc8fb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookPivotTable; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Request. */ -public interface IWorkbookPivotTableRequest extends IBaseWorkbookPivotTableRequest { +public interface IWorkbookPivotTableRequest extends IHttpRequest { + + /** + * Gets the WorkbookPivotTable from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookPivotTable from the service + * + * @return the WorkbookPivotTable from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookPivotTable get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookPivotTable with a source + * + * @param sourceWorkbookPivotTable the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookPivotTable sourceWorkbookPivotTable, final ICallback callback); + + /** + * Patches this WorkbookPivotTable with a source + * + * @param sourceWorkbookPivotTable the source object with updates + * @return the updated WorkbookPivotTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookPivotTable patch(final WorkbookPivotTable sourceWorkbookPivotTable) throws ClientException; + + /** + * Posts a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback); + + /** + * Posts a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the new object to create + * @return the created WorkbookPivotTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookPivotTableRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookPivotTableRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequestBuilder.java index 5627deb38be..358a6c0ae7c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequestBuilder.java @@ -3,14 +3,42 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequest; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookPivotTableRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Pivot Table Request Builder. */ -public interface IWorkbookPivotTableRequestBuilder extends IBaseWorkbookPivotTableRequestBuilder { +public interface IWorkbookPivotTableRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookPivotTableRequest instance + */ + IWorkbookPivotTableRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookPivotTableRequest instance + */ + IWorkbookPivotTableRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + IWorkbookWorksheetRequestBuilder worksheet(); + IWorkbookPivotTableRefreshRequestBuilder refresh(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequest.java index 87b162fdb86..191e8aad688 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookProcessQueryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Process Query Request. */ -public interface IWorkbookProcessQueryRequest extends IBaseWorkbookProcessQueryRequest { +public interface IWorkbookProcessQueryRequest { + + void post(final ICallback callback); + + java.io.InputStream post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookProcessQueryRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookProcessQueryRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookProcessQueryRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequestBuilder.java index 002e2b21229..b0deea7b141 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookProcessQueryRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookProcessQueryRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Process Query Request Builder. */ -public interface IWorkbookProcessQueryRequestBuilder extends IBaseWorkbookProcessQueryRequestBuilder { +public interface IWorkbookProcessQueryRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookProcessQueryRequest + * + * @return the IWorkbookProcessQueryRequest instance + */ + IWorkbookProcessQueryRequest buildRequest(); + + /** + * Creates the IWorkbookProcessQueryRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookProcessQueryRequest instance + */ + IWorkbookProcessQueryRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionPage.java index c58031bebb3..7c267a8e911 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Collection Page. */ -public interface IWorkbookRangeBorderCollectionPage extends IBaseWorkbookRangeBorderCollectionPage { - +public interface IWorkbookRangeBorderCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequest.java index 9bcb767a089..9bcede456ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Collection Request. */ -public interface IWorkbookRangeBorderCollectionRequest extends IBaseWorkbookRangeBorderCollectionRequest { +public interface IWorkbookRangeBorderCollectionRequest { + + void get(final ICallback callback); + + IWorkbookRangeBorderCollectionPage get() throws ClientException; + + void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback); + + WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeBorderCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeBorderCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeBorderCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequestBuilder.java index fdaa29d77df..fe31fffe2b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCollectionRequestBuilder.java @@ -4,13 +4,31 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Collection Request Builder. */ -public interface IWorkbookRangeBorderCollectionRequestBuilder extends IBaseWorkbookRangeBorderCollectionRequestBuilder { +public interface IWorkbookRangeBorderCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookRangeBorderCollectionRequest buildRequest(); + + IWorkbookRangeBorderCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookRangeBorderRequestBuilder byId(final String id); + IWorkbookRangeBorderItemAtRequestBuilder itemAt(final Integer index); + IWorkbookRangeBorderCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequest.java index a506a86db6a..19e0029a1bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Count Request. */ -public interface IWorkbookRangeBorderCountRequest extends IBaseWorkbookRangeBorderCountRequest { +public interface IWorkbookRangeBorderCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeBorderCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeBorderCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequestBuilder.java index 5cd00780a5b..dc813c34d6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Count Request Builder. */ -public interface IWorkbookRangeBorderCountRequestBuilder extends IBaseWorkbookRangeBorderCountRequestBuilder { +public interface IWorkbookRangeBorderCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeBorderCountRequest + * + * @return the IWorkbookRangeBorderCountRequest instance + */ + IWorkbookRangeBorderCountRequest buildRequest(); + + /** + * Creates the IWorkbookRangeBorderCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeBorderCountRequest instance + */ + IWorkbookRangeBorderCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequest.java index 8658165c172..559f1bb95af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Item At Request. */ -public interface IWorkbookRangeBorderItemAtRequest extends IBaseWorkbookRangeBorderItemAtRequest { +public interface IWorkbookRangeBorderItemAtRequest { + + /** + * Patches the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback); + + /** + * Patches the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH + * @return the WorkbookRangeBorder + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeBorder patch(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException; + + /** + * Puts the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback); + + /** + * Puts the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT + * @return the WorkbookRangeBorder + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeBorder put(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException; + /** + * Gets the WorkbookRangeBorder + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeBorder + * + * @return the WorkbookRangeBorder + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeBorder get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeBorderItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeBorderItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequestBuilder.java index 22289e53d62..26541037abe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Item At Request Builder. */ -public interface IWorkbookRangeBorderItemAtRequestBuilder extends IBaseWorkbookRangeBorderItemAtRequestBuilder { +public interface IWorkbookRangeBorderItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeBorderItemAtRequest + * + * @return the IWorkbookRangeBorderItemAtRequest instance + */ + IWorkbookRangeBorderItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookRangeBorderItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeBorderItemAtRequest instance + */ + IWorkbookRangeBorderItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequest.java index f5337e87b49..58ee361ae3a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Request. */ -public interface IWorkbookRangeBorderRequest extends IBaseWorkbookRangeBorderRequest { +public interface IWorkbookRangeBorderRequest extends IHttpRequest { + + /** + * Gets the WorkbookRangeBorder from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeBorder from the service + * + * @return the WorkbookRangeBorder from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeBorder get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRangeBorder with a source + * + * @param sourceWorkbookRangeBorder the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRangeBorder sourceWorkbookRangeBorder, final ICallback callback); + + /** + * Patches this WorkbookRangeBorder with a source + * + * @param sourceWorkbookRangeBorder the source object with updates + * @return the updated WorkbookRangeBorder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeBorder patch(final WorkbookRangeBorder sourceWorkbookRangeBorder) throws ClientException; + + /** + * Posts a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback); + + /** + * Posts a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the new object to create + * @return the created WorkbookRangeBorder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeBorderRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeBorderRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequestBuilder.java index bd2dcf9893e..937267c2676 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBorderRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Border Request Builder. */ -public interface IWorkbookRangeBorderRequestBuilder extends IBaseWorkbookRangeBorderRequestBuilder { +public interface IWorkbookRangeBorderRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeBorderRequest instance + */ + IWorkbookRangeBorderRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeBorderRequest instance + */ + IWorkbookRangeBorderRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequest.java index a89860d54c5..4197ee2477a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBoundingRectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Bounding Rect Request. */ -public interface IWorkbookRangeBoundingRectRequest extends IBaseWorkbookRangeBoundingRectRequest { +public interface IWorkbookRangeBoundingRectRequest { + + /** + * Patches the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeBoundingRectRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeBoundingRectRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequestBuilder.java index 39fe8c1e88d..9dc6105fd07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBoundingRectRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeBoundingRectRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Bounding Rect Request Builder. */ -public interface IWorkbookRangeBoundingRectRequestBuilder extends IBaseWorkbookRangeBoundingRectRequestBuilder { +public interface IWorkbookRangeBoundingRectRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeBoundingRectRequest + * + * @return the IWorkbookRangeBoundingRectRequest instance + */ + IWorkbookRangeBoundingRectRequest buildRequest(); + + /** + * Creates the IWorkbookRangeBoundingRectRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeBoundingRectRequest instance + */ + IWorkbookRangeBoundingRectRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequest.java index ed4e2a0ee7a..e6512eb4c68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeCellRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Cell Request. */ -public interface IWorkbookRangeCellRequest extends IBaseWorkbookRangeCellRequest { +public interface IWorkbookRangeCellRequest { + + /** + * Patches the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeCellRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeCellRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequestBuilder.java index cf98df2c8ca..1ecbe4cfd81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeCellRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeCellRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Cell Request Builder. */ -public interface IWorkbookRangeCellRequestBuilder extends IBaseWorkbookRangeCellRequestBuilder { +public interface IWorkbookRangeCellRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeCellRequest + * + * @return the IWorkbookRangeCellRequest instance + */ + IWorkbookRangeCellRequest buildRequest(); + + /** + * Creates the IWorkbookRangeCellRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeCellRequest instance + */ + IWorkbookRangeCellRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequest.java index f69fe51e6c6..04fc16ab02c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Clear Request. */ -public interface IWorkbookRangeClearRequest extends IBaseWorkbookRangeClearRequest { +public interface IWorkbookRangeClearRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeClearRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeClearRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeClearRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequestBuilder.java index 013bc76484a..4ed182361b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeClearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeClearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Clear Request Builder. */ -public interface IWorkbookRangeClearRequestBuilder extends IBaseWorkbookRangeClearRequestBuilder { +public interface IWorkbookRangeClearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeClearRequest + * + * @return the IWorkbookRangeClearRequest instance + */ + IWorkbookRangeClearRequest buildRequest(); + + /** + * Creates the IWorkbookRangeClearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeClearRequest instance + */ + IWorkbookRangeClearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequest.java index f7a3f1ee08a..b55779ebe3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Column Request. */ -public interface IWorkbookRangeColumnRequest extends IBaseWorkbookRangeColumnRequest { +public interface IWorkbookRangeColumnRequest { + + /** + * Patches the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeColumnRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeColumnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequestBuilder.java index 605a8cf5707..a0912372f07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeColumnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Column Request Builder. */ -public interface IWorkbookRangeColumnRequestBuilder extends IBaseWorkbookRangeColumnRequestBuilder { +public interface IWorkbookRangeColumnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeColumnRequest + * + * @return the IWorkbookRangeColumnRequest instance + */ + IWorkbookRangeColumnRequest buildRequest(); + + /** + * Creates the IWorkbookRangeColumnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeColumnRequest instance + */ + IWorkbookRangeColumnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequest.java index af0252ee57f..610f0fd7203 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeColumnsAfterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Columns After Request. */ -public interface IWorkbookRangeColumnsAfterRequest extends IBaseWorkbookRangeColumnsAfterRequest { +public interface IWorkbookRangeColumnsAfterRequest { + + /** + * Patches the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeColumnsAfterRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeColumnsAfterRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequestBuilder.java index 8f483589ff1..51486696339 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsAfterRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Columns After Request Builder. */ -public interface IWorkbookRangeColumnsAfterRequestBuilder extends IBaseWorkbookRangeColumnsAfterRequestBuilder { +public interface IWorkbookRangeColumnsAfterRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeColumnsAfterRequest + * + * @return the IWorkbookRangeColumnsAfterRequest instance + */ + IWorkbookRangeColumnsAfterRequest buildRequest(); + + /** + * Creates the IWorkbookRangeColumnsAfterRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeColumnsAfterRequest instance + */ + IWorkbookRangeColumnsAfterRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequest.java index 89b00e5f747..823d13f620c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeColumnsBeforeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Columns Before Request. */ -public interface IWorkbookRangeColumnsBeforeRequest extends IBaseWorkbookRangeColumnsBeforeRequest { +public interface IWorkbookRangeColumnsBeforeRequest { + + /** + * Patches the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeColumnsBeforeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeColumnsBeforeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequestBuilder.java index 4b6560c070e..cc4c2221003 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeColumnsBeforeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Columns Before Request Builder. */ -public interface IWorkbookRangeColumnsBeforeRequestBuilder extends IBaseWorkbookRangeColumnsBeforeRequestBuilder { +public interface IWorkbookRangeColumnsBeforeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeColumnsBeforeRequest + * + * @return the IWorkbookRangeColumnsBeforeRequest instance + */ + IWorkbookRangeColumnsBeforeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeColumnsBeforeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeColumnsBeforeRequest instance + */ + IWorkbookRangeColumnsBeforeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequest.java index 8463805a5cd..72bb671f5b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeDeleteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Delete Request. */ -public interface IWorkbookRangeDeleteRequest extends IBaseWorkbookRangeDeleteRequest { +public interface IWorkbookRangeDeleteRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeDeleteRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeDeleteRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeDeleteRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequestBuilder.java index cf27f84907a..316eac27c8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeDeleteRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeDeleteRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Delete Request Builder. */ -public interface IWorkbookRangeDeleteRequestBuilder extends IBaseWorkbookRangeDeleteRequestBuilder { +public interface IWorkbookRangeDeleteRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeDeleteRequest + * + * @return the IWorkbookRangeDeleteRequest instance + */ + IWorkbookRangeDeleteRequest buildRequest(); + + /** + * Creates the IWorkbookRangeDeleteRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeDeleteRequest instance + */ + IWorkbookRangeDeleteRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequest.java index 454381bc5a6..a2d9d32ba49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeEntireColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Entire Column Request. */ -public interface IWorkbookRangeEntireColumnRequest extends IBaseWorkbookRangeEntireColumnRequest { +public interface IWorkbookRangeEntireColumnRequest { + + /** + * Patches the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeEntireColumnRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeEntireColumnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequestBuilder.java index f39559fafaa..a1ced314c2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireColumnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeEntireColumnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Entire Column Request Builder. */ -public interface IWorkbookRangeEntireColumnRequestBuilder extends IBaseWorkbookRangeEntireColumnRequestBuilder { +public interface IWorkbookRangeEntireColumnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeEntireColumnRequest + * + * @return the IWorkbookRangeEntireColumnRequest instance + */ + IWorkbookRangeEntireColumnRequest buildRequest(); + + /** + * Creates the IWorkbookRangeEntireColumnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeEntireColumnRequest instance + */ + IWorkbookRangeEntireColumnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequest.java index af40c59d36b..0f888ec8b09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeEntireRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Entire Row Request. */ -public interface IWorkbookRangeEntireRowRequest extends IBaseWorkbookRangeEntireRowRequest { +public interface IWorkbookRangeEntireRowRequest { + + /** + * Patches the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeEntireRowRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeEntireRowRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequestBuilder.java index 5ac6d9281a8..6131faec406 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeEntireRowRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeEntireRowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Entire Row Request Builder. */ -public interface IWorkbookRangeEntireRowRequestBuilder extends IBaseWorkbookRangeEntireRowRequestBuilder { +public interface IWorkbookRangeEntireRowRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeEntireRowRequest + * + * @return the IWorkbookRangeEntireRowRequest instance + */ + IWorkbookRangeEntireRowRequest buildRequest(); + + /** + * Creates the IWorkbookRangeEntireRowRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeEntireRowRequest instance + */ + IWorkbookRangeEntireRowRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequest.java index 711cb190e94..35c4448ba41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFillClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Fill Clear Request. */ -public interface IWorkbookRangeFillClearRequest extends IBaseWorkbookRangeFillClearRequest { +public interface IWorkbookRangeFillClearRequest { + + /** + * Creates the WorkbookRangeFillClear + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookRangeFillClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequestBuilder.java index 8dffc7072c8..48e50f88742 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillClearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFillClearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Fill Clear Request Builder. */ -public interface IWorkbookRangeFillClearRequestBuilder extends IBaseWorkbookRangeFillClearRequestBuilder { +public interface IWorkbookRangeFillClearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeFillClearRequest + * + * @return the IWorkbookRangeFillClearRequest instance + */ + IWorkbookRangeFillClearRequest buildRequest(); + + /** + * Creates the IWorkbookRangeFillClearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeFillClearRequest instance + */ + IWorkbookRangeFillClearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequest.java index 2aeaae32e47..264c471ecec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeFill; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFillRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Fill Request. */ -public interface IWorkbookRangeFillRequest extends IBaseWorkbookRangeFillRequest { +public interface IWorkbookRangeFillRequest extends IHttpRequest { + + /** + * Gets the WorkbookRangeFill from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeFill from the service + * + * @return the WorkbookRangeFill from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFill get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRangeFill with a source + * + * @param sourceWorkbookRangeFill the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRangeFill sourceWorkbookRangeFill, final ICallback callback); + + /** + * Patches this WorkbookRangeFill with a source + * + * @param sourceWorkbookRangeFill the source object with updates + * @return the updated WorkbookRangeFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFill patch(final WorkbookRangeFill sourceWorkbookRangeFill) throws ClientException; + + /** + * Posts a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRangeFill newWorkbookRangeFill, final ICallback callback); + + /** + * Posts a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the new object to create + * @return the created WorkbookRangeFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFill post(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeFillRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeFillRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequestBuilder.java index 02c491f62bd..9c94590c53d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequestBuilder.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFillRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Fill Request Builder. */ -public interface IWorkbookRangeFillRequestBuilder extends IBaseWorkbookRangeFillRequestBuilder { +public interface IWorkbookRangeFillRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeFillRequest instance + */ + IWorkbookRangeFillRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeFillRequest instance + */ + IWorkbookRangeFillRequest buildRequest(final java.util.List requestOptions); + + IWorkbookRangeFillClearRequestBuilder clear(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequest.java index 5a55a82a76b..0102a69c983 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeFont; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFontRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Font Request. */ -public interface IWorkbookRangeFontRequest extends IBaseWorkbookRangeFontRequest { +public interface IWorkbookRangeFontRequest extends IHttpRequest { + + /** + * Gets the WorkbookRangeFont from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeFont from the service + * + * @return the WorkbookRangeFont from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFont get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRangeFont with a source + * + * @param sourceWorkbookRangeFont the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRangeFont sourceWorkbookRangeFont, final ICallback callback); + + /** + * Patches this WorkbookRangeFont with a source + * + * @param sourceWorkbookRangeFont the source object with updates + * @return the updated WorkbookRangeFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFont patch(final WorkbookRangeFont sourceWorkbookRangeFont) throws ClientException; + + /** + * Posts a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRangeFont newWorkbookRangeFont, final ICallback callback); + + /** + * Posts a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the new object to create + * @return the created WorkbookRangeFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFont post(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeFontRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeFontRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequestBuilder.java index cc25ef08893..82abb2a00a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequestBuilder.java @@ -3,14 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFontRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Font Request Builder. */ -public interface IWorkbookRangeFontRequestBuilder extends IBaseWorkbookRangeFontRequestBuilder { +public interface IWorkbookRangeFontRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeFontRequest instance + */ + IWorkbookRangeFontRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeFontRequest instance + */ + IWorkbookRangeFontRequest buildRequest(final java.util.List requestOptions); + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequest.java index 7863263c025..382c5296603 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFormatAutofitColumnsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Format Autofit Columns Request. */ -public interface IWorkbookRangeFormatAutofitColumnsRequest extends IBaseWorkbookRangeFormatAutofitColumnsRequest { +public interface IWorkbookRangeFormatAutofitColumnsRequest { + + /** + * Creates the WorkbookRangeFormatAutofitColumns + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookRangeFormatAutofitColumns + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequestBuilder.java index dd63bd6f1c3..c266f91c6c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitColumnsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Format Autofit Columns Request Builder. */ -public interface IWorkbookRangeFormatAutofitColumnsRequestBuilder extends IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder { +public interface IWorkbookRangeFormatAutofitColumnsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeFormatAutofitColumnsRequest + * + * @return the IWorkbookRangeFormatAutofitColumnsRequest instance + */ + IWorkbookRangeFormatAutofitColumnsRequest buildRequest(); + + /** + * Creates the IWorkbookRangeFormatAutofitColumnsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeFormatAutofitColumnsRequest instance + */ + IWorkbookRangeFormatAutofitColumnsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequest.java index f5ebfcf6e47..1a3a2c8fd6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFormatAutofitRowsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Format Autofit Rows Request. */ -public interface IWorkbookRangeFormatAutofitRowsRequest extends IBaseWorkbookRangeFormatAutofitRowsRequest { +public interface IWorkbookRangeFormatAutofitRowsRequest { + + /** + * Creates the WorkbookRangeFormatAutofitRows + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookRangeFormatAutofitRows + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequestBuilder.java index 19a35b23929..1b7cb4a3415 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatAutofitRowsRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFormatAutofitRowsRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Format Autofit Rows Request Builder. */ -public interface IWorkbookRangeFormatAutofitRowsRequestBuilder extends IBaseWorkbookRangeFormatAutofitRowsRequestBuilder { +public interface IWorkbookRangeFormatAutofitRowsRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeFormatAutofitRowsRequest + * + * @return the IWorkbookRangeFormatAutofitRowsRequest instance + */ + IWorkbookRangeFormatAutofitRowsRequest buildRequest(); + + /** + * Creates the IWorkbookRangeFormatAutofitRowsRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeFormatAutofitRowsRequest instance + */ + IWorkbookRangeFormatAutofitRowsRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequest.java index 86fc0aa6a95..0394edf4c83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeFormat; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFormatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Format Request. */ -public interface IWorkbookRangeFormatRequest extends IBaseWorkbookRangeFormatRequest { +public interface IWorkbookRangeFormatRequest extends IHttpRequest { + + /** + * Gets the WorkbookRangeFormat from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeFormat from the service + * + * @return the WorkbookRangeFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFormat get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRangeFormat with a source + * + * @param sourceWorkbookRangeFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRangeFormat sourceWorkbookRangeFormat, final ICallback callback); + + /** + * Patches this WorkbookRangeFormat with a source + * + * @param sourceWorkbookRangeFormat the source object with updates + * @return the updated WorkbookRangeFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFormat patch(final WorkbookRangeFormat sourceWorkbookRangeFormat) throws ClientException; + + /** + * Posts a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRangeFormat newWorkbookRangeFormat, final ICallback callback); + + /** + * Posts a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the new object to create + * @return the created WorkbookRangeFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFormat post(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeFormatRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeFormatRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequestBuilder.java index 4ca777f91b1..4763ad826c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequestBuilder.java @@ -3,14 +3,66 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeFormatRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Format Request Builder. */ -public interface IWorkbookRangeFormatRequestBuilder extends IBaseWorkbookRangeFormatRequestBuilder { +public interface IWorkbookRangeFormatRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeFormatRequest instance + */ + IWorkbookRangeFormatRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeFormatRequest instance + */ + IWorkbookRangeFormatRequest buildRequest(final java.util.List requestOptions); + + + IWorkbookRangeBorderCollectionRequestBuilder borders(); + + IWorkbookRangeBorderRequestBuilder borders(final String id); + + /** + * Gets the request builder for WorkbookRangeFill + * + * @return the IWorkbookRangeFillRequestBuilder instance + */ + IWorkbookRangeFillRequestBuilder fill(); + + /** + * Gets the request builder for WorkbookRangeFont + * + * @return the IWorkbookRangeFontRequestBuilder instance + */ + IWorkbookRangeFontRequestBuilder font(); + + /** + * Gets the request builder for WorkbookFormatProtection + * + * @return the IWorkbookFormatProtectionRequestBuilder instance + */ + IWorkbookFormatProtectionRequestBuilder protection(); + IWorkbookRangeFormatAutofitColumnsRequestBuilder autofitColumns(); + IWorkbookRangeFormatAutofitRowsRequestBuilder autofitRows(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequest.java index 2b50ced4304..c16284e0a21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeInsertRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Insert Request. */ -public interface IWorkbookRangeInsertRequest extends IBaseWorkbookRangeInsertRequest { +public interface IWorkbookRangeInsertRequest { + + void post(final ICallback callback); + + WorkbookRange post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeInsertRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeInsertRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeInsertRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequestBuilder.java index 65f5dd5695d..3e532c033ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeInsertRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeInsertRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Insert Request Builder. */ -public interface IWorkbookRangeInsertRequestBuilder extends IBaseWorkbookRangeInsertRequestBuilder { +public interface IWorkbookRangeInsertRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeInsertRequest + * + * @return the IWorkbookRangeInsertRequest instance + */ + IWorkbookRangeInsertRequest buildRequest(); + + /** + * Creates the IWorkbookRangeInsertRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeInsertRequest instance + */ + IWorkbookRangeInsertRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequest.java index 2ac194d30f3..978034b16ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeIntersectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Intersection Request. */ -public interface IWorkbookRangeIntersectionRequest extends IBaseWorkbookRangeIntersectionRequest { +public interface IWorkbookRangeIntersectionRequest { + + /** + * Patches the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeIntersectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeIntersectionRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequestBuilder.java index beaa49877e8..c6baf6525e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeIntersectionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeIntersectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Intersection Request Builder. */ -public interface IWorkbookRangeIntersectionRequestBuilder extends IBaseWorkbookRangeIntersectionRequestBuilder { +public interface IWorkbookRangeIntersectionRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeIntersectionRequest + * + * @return the IWorkbookRangeIntersectionRequest instance + */ + IWorkbookRangeIntersectionRequest buildRequest(); + + /** + * Creates the IWorkbookRangeIntersectionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeIntersectionRequest instance + */ + IWorkbookRangeIntersectionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequest.java index 80ce543bbe4..f2870b52835 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeLastCellRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Last Cell Request. */ -public interface IWorkbookRangeLastCellRequest extends IBaseWorkbookRangeLastCellRequest { +public interface IWorkbookRangeLastCellRequest { + + /** + * Patches the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeLastCellRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeLastCellRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequestBuilder.java index 69a061596d8..14a2af3ff5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastCellRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeLastCellRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Last Cell Request Builder. */ -public interface IWorkbookRangeLastCellRequestBuilder extends IBaseWorkbookRangeLastCellRequestBuilder { +public interface IWorkbookRangeLastCellRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeLastCellRequest + * + * @return the IWorkbookRangeLastCellRequest instance + */ + IWorkbookRangeLastCellRequest buildRequest(); + + /** + * Creates the IWorkbookRangeLastCellRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeLastCellRequest instance + */ + IWorkbookRangeLastCellRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequest.java index ecaffa395c7..02282914c6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeLastColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Last Column Request. */ -public interface IWorkbookRangeLastColumnRequest extends IBaseWorkbookRangeLastColumnRequest { +public interface IWorkbookRangeLastColumnRequest { + + /** + * Patches the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeLastColumnRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeLastColumnRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequestBuilder.java index f898eeb0a74..76018ed57ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastColumnRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeLastColumnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Last Column Request Builder. */ -public interface IWorkbookRangeLastColumnRequestBuilder extends IBaseWorkbookRangeLastColumnRequestBuilder { +public interface IWorkbookRangeLastColumnRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeLastColumnRequest + * + * @return the IWorkbookRangeLastColumnRequest instance + */ + IWorkbookRangeLastColumnRequest buildRequest(); + + /** + * Creates the IWorkbookRangeLastColumnRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeLastColumnRequest instance + */ + IWorkbookRangeLastColumnRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequest.java index 6b61132acdb..dbb82e4ec48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeLastRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Last Row Request. */ -public interface IWorkbookRangeLastRowRequest extends IBaseWorkbookRangeLastRowRequest { +public interface IWorkbookRangeLastRowRequest { + + /** + * Patches the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeLastRowRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeLastRowRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequestBuilder.java index ea37f4adfdc..161e29ce478 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeLastRowRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeLastRowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Last Row Request Builder. */ -public interface IWorkbookRangeLastRowRequestBuilder extends IBaseWorkbookRangeLastRowRequestBuilder { +public interface IWorkbookRangeLastRowRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeLastRowRequest + * + * @return the IWorkbookRangeLastRowRequest instance + */ + IWorkbookRangeLastRowRequest buildRequest(); + + /** + * Creates the IWorkbookRangeLastRowRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeLastRowRequest instance + */ + IWorkbookRangeLastRowRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequest.java index fb51d2869b6..92bfa63ea64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeMergeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Merge Request. */ -public interface IWorkbookRangeMergeRequest extends IBaseWorkbookRangeMergeRequest { +public interface IWorkbookRangeMergeRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeMergeRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeMergeRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeMergeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequestBuilder.java index fc0c93adc44..638a9681d2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeMergeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeMergeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Merge Request Builder. */ -public interface IWorkbookRangeMergeRequestBuilder extends IBaseWorkbookRangeMergeRequestBuilder { +public interface IWorkbookRangeMergeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeMergeRequest + * + * @return the IWorkbookRangeMergeRequest instance + */ + IWorkbookRangeMergeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeMergeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeMergeRequest instance + */ + IWorkbookRangeMergeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequest.java index 6b4c490ce28..5a9c5dba2a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeOffsetRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Offset Range Request. */ -public interface IWorkbookRangeOffsetRangeRequest extends IBaseWorkbookRangeOffsetRangeRequest { +public interface IWorkbookRangeOffsetRangeRequest { + + /** + * Patches the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeOffsetRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeOffsetRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequestBuilder.java index b7996a7df18..935ccb55f5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeOffsetRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeOffsetRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Offset Range Request Builder. */ -public interface IWorkbookRangeOffsetRangeRequestBuilder extends IBaseWorkbookRangeOffsetRangeRequestBuilder { +public interface IWorkbookRangeOffsetRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeOffsetRangeRequest + * + * @return the IWorkbookRangeOffsetRangeRequest instance + */ + IWorkbookRangeOffsetRangeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeOffsetRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeOffsetRangeRequest instance + */ + IWorkbookRangeOffsetRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequest.java index 29125115aab..7adf00eb5e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Request. */ -public interface IWorkbookRangeRequest extends IBaseWorkbookRangeRequest { +public interface IWorkbookRangeRequest extends IHttpRequest { + + /** + * Gets the WorkbookRange from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange from the service + * + * @return the WorkbookRange from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRange get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRange with a source + * + * @param sourceWorkbookRange the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRange sourceWorkbookRange, final ICallback callback); + + /** + * Patches this WorkbookRange with a source + * + * @param sourceWorkbookRange the source object with updates + * @return the updated WorkbookRange + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRange patch(final WorkbookRange sourceWorkbookRange) throws ClientException; + + /** + * Posts a WorkbookRange with a new object + * + * @param newWorkbookRange the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRange newWorkbookRange, final ICallback callback); + + /** + * Posts a WorkbookRange with a new object + * + * @param newWorkbookRange the new object to create + * @return the created WorkbookRange + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRange post(final WorkbookRange newWorkbookRange) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequestBuilder.java index 71ed6e88c98..6d82f22b15f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequestBuilder.java @@ -3,14 +3,112 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Request Builder. */ -public interface IWorkbookRangeRequestBuilder extends IBaseWorkbookRangeRequestBuilder { +public interface IWorkbookRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeRequest instance + */ + IWorkbookRangeRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeRequest instance + */ + IWorkbookRangeRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookRangeFormat + * + * @return the IWorkbookRangeFormatRequestBuilder instance + */ + IWorkbookRangeFormatRequestBuilder format(); + + /** + * Gets the request builder for WorkbookRangeSort + * + * @return the IWorkbookRangeSortRequestBuilder instance + */ + IWorkbookRangeSortRequestBuilder sort(); + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + IWorkbookWorksheetRequestBuilder worksheet(); + IWorkbookRangeClearRequestBuilder clear(final String applyTo); + IWorkbookRangeDeleteRequestBuilder delete(final String shift); + IWorkbookRangeInsertRequestBuilder insert(final String shift); + IWorkbookRangeMergeRequestBuilder merge(final Boolean across); + IWorkbookRangeUnmergeRequestBuilder unmerge(); + IWorkbookRangeBoundingRectRequestBuilder boundingRect(final String anotherRange); + IWorkbookRangeCellRequestBuilder cell(final Integer row, final Integer column); + IWorkbookRangeColumnRequestBuilder column(final Integer column); + IWorkbookRangeColumnsAfterRequestBuilder columnsAfter(); + IWorkbookRangeColumnsAfterRequestBuilder columnsAfter(final Integer count); + IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore(); + IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore(final Integer count); + IWorkbookRangeEntireColumnRequestBuilder entireColumn(); + IWorkbookRangeEntireRowRequestBuilder entireRow(); + IWorkbookRangeIntersectionRequestBuilder intersection(final String anotherRange); + IWorkbookRangeLastCellRequestBuilder lastCell(); + IWorkbookRangeLastColumnRequestBuilder lastColumn(); + IWorkbookRangeLastRowRequestBuilder lastRow(); + IWorkbookRangeOffsetRangeRequestBuilder offsetRange(final Integer rowOffset, final Integer columnOffset); + IWorkbookRangeResizedRangeRequestBuilder resizedRange(final Integer deltaRows, final Integer deltaColumns); + IWorkbookRangeRowRequestBuilder row(final Integer row); + IWorkbookRangeRowsAboveRequestBuilder rowsAbove(); + IWorkbookRangeRowsAboveRequestBuilder rowsAbove(final Integer count); + IWorkbookRangeRowsBelowRequestBuilder rowsBelow(); + IWorkbookRangeRowsBelowRequestBuilder rowsBelow(final Integer count); + IWorkbookRangeUsedRangeRequestBuilder usedRange(); + IWorkbookRangeUsedRangeRequestBuilder usedRange(final Boolean valuesOnly); + IWorkbookRangeVisibleViewRequestBuilder visibleView(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequest.java index 4721e3f438d..a2e11236bb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeResizedRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Resized Range Request. */ -public interface IWorkbookRangeResizedRangeRequest extends IBaseWorkbookRangeResizedRangeRequest { +public interface IWorkbookRangeResizedRangeRequest { + + /** + * Patches the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeResizedRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeResizedRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequestBuilder.java index 3a96379d389..ceddc19ab20 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeResizedRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeResizedRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Resized Range Request Builder. */ -public interface IWorkbookRangeResizedRangeRequestBuilder extends IBaseWorkbookRangeResizedRangeRequestBuilder { +public interface IWorkbookRangeResizedRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeResizedRangeRequest + * + * @return the IWorkbookRangeResizedRangeRequest instance + */ + IWorkbookRangeResizedRangeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeResizedRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeResizedRangeRequest instance + */ + IWorkbookRangeResizedRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequest.java index 5a3c34ef091..2b6bcf6e801 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Row Request. */ -public interface IWorkbookRangeRowRequest extends IBaseWorkbookRangeRowRequest { +public interface IWorkbookRangeRowRequest { + + /** + * Patches the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeRowRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeRowRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequestBuilder.java index d13fd60e4c0..b82c9b60f19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Row Request Builder. */ -public interface IWorkbookRangeRowRequestBuilder extends IBaseWorkbookRangeRowRequestBuilder { +public interface IWorkbookRangeRowRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeRowRequest + * + * @return the IWorkbookRangeRowRequest instance + */ + IWorkbookRangeRowRequest buildRequest(); + + /** + * Creates the IWorkbookRangeRowRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeRowRequest instance + */ + IWorkbookRangeRowRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequest.java index b0a61d284f8..5aa8b5a04dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRowsAboveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Rows Above Request. */ -public interface IWorkbookRangeRowsAboveRequest extends IBaseWorkbookRangeRowsAboveRequest { +public interface IWorkbookRangeRowsAboveRequest { + + /** + * Patches the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeRowsAboveRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeRowsAboveRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequestBuilder.java index 5028c8ff86d..a921f77a6a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsAboveRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Rows Above Request Builder. */ -public interface IWorkbookRangeRowsAboveRequestBuilder extends IBaseWorkbookRangeRowsAboveRequestBuilder { +public interface IWorkbookRangeRowsAboveRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeRowsAboveRequest + * + * @return the IWorkbookRangeRowsAboveRequest instance + */ + IWorkbookRangeRowsAboveRequest buildRequest(); + + /** + * Creates the IWorkbookRangeRowsAboveRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeRowsAboveRequest instance + */ + IWorkbookRangeRowsAboveRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequest.java index 71a2a0df88c..4ee262aea81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRowsBelowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Rows Below Request. */ -public interface IWorkbookRangeRowsBelowRequest extends IBaseWorkbookRangeRowsBelowRequest { +public interface IWorkbookRangeRowsBelowRequest { + + /** + * Patches the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeRowsBelowRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeRowsBelowRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequestBuilder.java index 60c8610ab29..af7dbc726ec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRowsBelowRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Rows Below Request Builder. */ -public interface IWorkbookRangeRowsBelowRequestBuilder extends IBaseWorkbookRangeRowsBelowRequestBuilder { +public interface IWorkbookRangeRowsBelowRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeRowsBelowRequest + * + * @return the IWorkbookRangeRowsBelowRequest instance + */ + IWorkbookRangeRowsBelowRequest buildRequest(); + + /** + * Creates the IWorkbookRangeRowsBelowRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeRowsBelowRequest instance + */ + IWorkbookRangeRowsBelowRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequest.java index 08ebccfa101..fd3136f950c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeSortApplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Sort Apply Request. */ -public interface IWorkbookRangeSortApplyRequest extends IBaseWorkbookRangeSortApplyRequest { +public interface IWorkbookRangeSortApplyRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeSortApplyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeSortApplyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeSortApplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequestBuilder.java index 70f12996c14..40c8296af6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortApplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeSortApplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Sort Apply Request Builder. */ -public interface IWorkbookRangeSortApplyRequestBuilder extends IBaseWorkbookRangeSortApplyRequestBuilder { +public interface IWorkbookRangeSortApplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeSortApplyRequest + * + * @return the IWorkbookRangeSortApplyRequest instance + */ + IWorkbookRangeSortApplyRequest buildRequest(); + + /** + * Creates the IWorkbookRangeSortApplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeSortApplyRequest instance + */ + IWorkbookRangeSortApplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequest.java index c7b5f61df10..f485bd13f6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeSort; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeSortRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Sort Request. */ -public interface IWorkbookRangeSortRequest extends IBaseWorkbookRangeSortRequest { +public interface IWorkbookRangeSortRequest extends IHttpRequest { + + /** + * Gets the WorkbookRangeSort from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeSort from the service + * + * @return the WorkbookRangeSort from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeSort get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRangeSort with a source + * + * @param sourceWorkbookRangeSort the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRangeSort sourceWorkbookRangeSort, final ICallback callback); + + /** + * Patches this WorkbookRangeSort with a source + * + * @param sourceWorkbookRangeSort the source object with updates + * @return the updated WorkbookRangeSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeSort patch(final WorkbookRangeSort sourceWorkbookRangeSort) throws ClientException; + + /** + * Posts a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRangeSort newWorkbookRangeSort, final ICallback callback); + + /** + * Posts a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the new object to create + * @return the created WorkbookRangeSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeSort post(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeSortRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeSortRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequestBuilder.java index c440d2e31d5..7fc92144ac9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequestBuilder.java @@ -3,14 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequest; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeSortRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Sort Request Builder. */ -public interface IWorkbookRangeSortRequestBuilder extends IBaseWorkbookRangeSortRequestBuilder { +public interface IWorkbookRangeSortRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeSortRequest instance + */ + IWorkbookRangeSortRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeSortRequest instance + */ + IWorkbookRangeSortRequest buildRequest(final java.util.List requestOptions); + + IWorkbookRangeSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final Boolean hasHeaders, final String orientation, final String method); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequest.java index 349b5ab9385..16203a69829 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeUnmergeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Unmerge Request. */ -public interface IWorkbookRangeUnmergeRequest extends IBaseWorkbookRangeUnmergeRequest { +public interface IWorkbookRangeUnmergeRequest { + + /** + * Creates the WorkbookRangeUnmerge + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookRangeUnmerge + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequestBuilder.java index 612f06e3873..1692598e4fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUnmergeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeUnmergeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Unmerge Request Builder. */ -public interface IWorkbookRangeUnmergeRequestBuilder extends IBaseWorkbookRangeUnmergeRequestBuilder { +public interface IWorkbookRangeUnmergeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeUnmergeRequest + * + * @return the IWorkbookRangeUnmergeRequest instance + */ + IWorkbookRangeUnmergeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeUnmergeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeUnmergeRequest instance + */ + IWorkbookRangeUnmergeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequest.java index 47e9618ebfc..ca5196267f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeUsedRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Used Range Request. */ -public interface IWorkbookRangeUsedRangeRequest extends IBaseWorkbookRangeUsedRangeRequest { +public interface IWorkbookRangeUsedRangeRequest { + + /** + * Patches the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeUsedRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeUsedRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequestBuilder.java index 4fe5cdf84b4..6bf7c81d6e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeUsedRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Used Range Request Builder. */ -public interface IWorkbookRangeUsedRangeRequestBuilder extends IBaseWorkbookRangeUsedRangeRequestBuilder { +public interface IWorkbookRangeUsedRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeUsedRangeRequest + * + * @return the IWorkbookRangeUsedRangeRequest instance + */ + IWorkbookRangeUsedRangeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeUsedRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeUsedRangeRequest instance + */ + IWorkbookRangeUsedRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionPage.java index 307fcdea1f7..6cb2d216ba6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Collection Page. */ -public interface IWorkbookRangeViewCollectionPage extends IBaseWorkbookRangeViewCollectionPage { - +public interface IWorkbookRangeViewCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequest.java index 8d9b2ab6b80..79bd6b08bd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Collection Request. */ -public interface IWorkbookRangeViewCollectionRequest extends IBaseWorkbookRangeViewCollectionRequest { +public interface IWorkbookRangeViewCollectionRequest { + + void get(final ICallback callback); + + IWorkbookRangeViewCollectionPage get() throws ClientException; + + void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback); + + WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeViewCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeViewCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookRangeViewCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequestBuilder.java index d0846842c0e..fa366ee08a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewCollectionRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Collection Request Builder. */ -public interface IWorkbookRangeViewCollectionRequestBuilder extends IBaseWorkbookRangeViewCollectionRequestBuilder { +public interface IWorkbookRangeViewCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookRangeViewCollectionRequest buildRequest(); + + IWorkbookRangeViewCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookRangeViewRequestBuilder byId(final String id); + IWorkbookRangeViewItemAtRequestBuilder itemAt(final Integer index); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequest.java index ab3cf5735b0..f2a5782731d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Item At Request. */ -public interface IWorkbookRangeViewItemAtRequest extends IBaseWorkbookRangeViewItemAtRequest { +public interface IWorkbookRangeViewItemAtRequest { + + /** + * Patches the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); + + /** + * Patches the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException; + + /** + * Puts the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); + + /** + * Puts the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException; + /** + * Gets the WorkbookRangeView + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeView + * + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeView get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeViewItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeViewItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequestBuilder.java index e3fd89f1b11..14ce0a5d6ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Item At Request Builder. */ -public interface IWorkbookRangeViewItemAtRequestBuilder extends IBaseWorkbookRangeViewItemAtRequestBuilder { +public interface IWorkbookRangeViewItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeViewItemAtRequest + * + * @return the IWorkbookRangeViewItemAtRequest instance + */ + IWorkbookRangeViewItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookRangeViewItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeViewItemAtRequest instance + */ + IWorkbookRangeViewItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequest.java index 32f6a37973b..f183ca22675 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Range Request. */ -public interface IWorkbookRangeViewRangeRequest extends IBaseWorkbookRangeViewRangeRequest { +public interface IWorkbookRangeViewRangeRequest { + + /** + * Patches the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeViewRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeViewRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequestBuilder.java index 382691ea9fe..fe8d6fbf044 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Range Request Builder. */ -public interface IWorkbookRangeViewRangeRequestBuilder extends IBaseWorkbookRangeViewRangeRequestBuilder { +public interface IWorkbookRangeViewRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeViewRangeRequest + * + * @return the IWorkbookRangeViewRangeRequest instance + */ + IWorkbookRangeViewRangeRequest buildRequest(); + + /** + * Creates the IWorkbookRangeViewRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeViewRangeRequest instance + */ + IWorkbookRangeViewRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequest.java index cba4fd780a8..2c49c6b2e79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Request. */ -public interface IWorkbookRangeViewRequest extends IBaseWorkbookRangeViewRequest { +public interface IWorkbookRangeViewRequest extends IHttpRequest { + + /** + * Gets the WorkbookRangeView from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeView from the service + * + * @return the WorkbookRangeView from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeView get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookRangeView with a source + * + * @param sourceWorkbookRangeView the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookRangeView sourceWorkbookRangeView, final ICallback callback); + + /** + * Patches this WorkbookRangeView with a source + * + * @param sourceWorkbookRangeView the source object with updates + * @return the updated WorkbookRangeView + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeView patch(final WorkbookRangeView sourceWorkbookRangeView) throws ClientException; + + /** + * Posts a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback); + + /** + * Posts a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the new object to create + * @return the created WorkbookRangeView + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeViewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeViewRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequestBuilder.java index 2624b0fb5fd..318020908d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequestBuilder.java @@ -3,14 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeViewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range View Request Builder. */ -public interface IWorkbookRangeViewRequestBuilder extends IBaseWorkbookRangeViewRequestBuilder { +public interface IWorkbookRangeViewRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRangeViewRequest instance + */ + IWorkbookRangeViewRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeViewRequest instance + */ + IWorkbookRangeViewRequest buildRequest(final java.util.List requestOptions); + + + IWorkbookRangeViewCollectionRequestBuilder rows(); + + IWorkbookRangeViewRequestBuilder rows(final String id); + IWorkbookRangeViewRangeRequestBuilder range(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequest.java index a7e03957e27..f2a96fea824 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeVisibleViewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Visible View Request. */ -public interface IWorkbookRangeVisibleViewRequest extends IBaseWorkbookRangeVisibleViewRequest { +public interface IWorkbookRangeVisibleViewRequest { + + /** + * Patches the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); + + /** + * Patches the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException; + + /** + * Puts the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); + + /** + * Puts the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException; + /** + * Gets the WorkbookRangeView + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRangeView + * + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRangeView get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRangeVisibleViewRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRangeVisibleViewRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequestBuilder.java index 16299b4e4bd..6094ef67176 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeVisibleViewRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRangeVisibleViewRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Range Visible View Request Builder. */ -public interface IWorkbookRangeVisibleViewRequestBuilder extends IBaseWorkbookRangeVisibleViewRequestBuilder { +public interface IWorkbookRangeVisibleViewRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRangeVisibleViewRequest + * + * @return the IWorkbookRangeVisibleViewRequest instance + */ + IWorkbookRangeVisibleViewRequest buildRequest(); + + /** + * Creates the IWorkbookRangeVisibleViewRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeVisibleViewRequest instance + */ + IWorkbookRangeVisibleViewRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequest.java index 72bcf383163..5ed6b639729 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRefreshSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Refresh Session Request. */ -public interface IWorkbookRefreshSessionRequest extends IBaseWorkbookRefreshSessionRequest { +public interface IWorkbookRefreshSessionRequest { + + /** + * Creates the WorkbookRefreshSession + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookRefreshSession + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequestBuilder.java index 7f2d27c922f..196c32e3fd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRefreshSessionRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookRefreshSessionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Refresh Session Request Builder. */ -public interface IWorkbookRefreshSessionRequestBuilder extends IBaseWorkbookRefreshSessionRequestBuilder { +public interface IWorkbookRefreshSessionRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookRefreshSessionRequest + * + * @return the IWorkbookRefreshSessionRequest instance + */ + IWorkbookRefreshSessionRequest buildRequest(); + + /** + * Creates the IWorkbookRefreshSessionRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookRefreshSessionRequest instance + */ + IWorkbookRefreshSessionRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequest.java index 2ce84c95514..f244eed7bb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Workbook; -import com.microsoft.graph.requests.generated.IBaseWorkbookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Request. */ -public interface IWorkbookRequest extends IBaseWorkbookRequest { +public interface IWorkbookRequest extends IHttpRequest { + + /** + * Gets the Workbook from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Workbook from the service + * + * @return the Workbook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Workbook get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this Workbook with a source + * + * @param sourceWorkbook the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final Workbook sourceWorkbook, final ICallback callback); + + /** + * Patches this Workbook with a source + * + * @param sourceWorkbook the source object with updates + * @return the updated Workbook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Workbook patch(final Workbook sourceWorkbook) throws ClientException; + + /** + * Posts a Workbook with a new object + * + * @param newWorkbook the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final Workbook newWorkbook, final ICallback callback); + + /** + * Posts a Workbook with a new object + * + * @param newWorkbook the new object to create + * @return the created Workbook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Workbook post(final Workbook newWorkbook) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequestBuilder.java index 219cfa5fd11..c5ddb6cc6bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequestBuilder.java @@ -3,14 +3,74 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRequest; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Request Builder. */ -public interface IWorkbookRequestBuilder extends IBaseWorkbookRequestBuilder { +public interface IWorkbookRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookRequest instance + */ + IWorkbookRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookRequest instance + */ + IWorkbookRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookApplication + * + * @return the IWorkbookApplicationRequestBuilder instance + */ + IWorkbookApplicationRequestBuilder application(); + + IWorkbookNamedItemCollectionRequestBuilder names(); + + IWorkbookNamedItemRequestBuilder names(final String id); + + IWorkbookTableCollectionRequestBuilder tables(); + + IWorkbookTableRequestBuilder tables(final String id); + + IWorkbookWorksheetCollectionRequestBuilder worksheets(); + + IWorkbookWorksheetRequestBuilder worksheets(final String id); + + /** + * Gets the request builder for WorkbookFunctions + * + * @return the IWorkbookFunctionsRequestBuilder instance + */ + IWorkbookFunctionsRequestBuilder functions(); + IWorkbookCreateSessionRequestBuilder createSession(final Boolean persistChanges); + IWorkbookCloseSessionRequestBuilder closeSession(); + IWorkbookRefreshSessionRequestBuilder refreshSession(); + IWorkbookProcessQueryRequestBuilder processQuery(final byte[] input); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequest.java index f06698a5752..fc8ed1ff8fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Add Request. */ -public interface IWorkbookTableAddRequest extends IBaseWorkbookTableAddRequest { +public interface IWorkbookTableAddRequest { + + void post(final ICallback callback); + + WorkbookTable post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableAddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableAddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableAddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequestBuilder.java index f875b77975d..6a1f3020e42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableAddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableAddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Add Request Builder. */ -public interface IWorkbookTableAddRequestBuilder extends IBaseWorkbookTableAddRequestBuilder { +public interface IWorkbookTableAddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableAddRequest + * + * @return the IWorkbookTableAddRequest instance + */ + IWorkbookTableAddRequest buildRequest(); + + /** + * Creates the IWorkbookTableAddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableAddRequest instance + */ + IWorkbookTableAddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequest.java index e8ffca517ee..23660a881a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableClearFiltersRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Clear Filters Request. */ -public interface IWorkbookTableClearFiltersRequest extends IBaseWorkbookTableClearFiltersRequest { +public interface IWorkbookTableClearFiltersRequest { + + /** + * Creates the WorkbookTableClearFilters + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookTableClearFilters + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequestBuilder.java index e5c57c7135e..919ed40f080 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableClearFiltersRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableClearFiltersRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Clear Filters Request Builder. */ -public interface IWorkbookTableClearFiltersRequestBuilder extends IBaseWorkbookTableClearFiltersRequestBuilder { +public interface IWorkbookTableClearFiltersRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableClearFiltersRequest + * + * @return the IWorkbookTableClearFiltersRequest instance + */ + IWorkbookTableClearFiltersRequest buildRequest(); + + /** + * Creates the IWorkbookTableClearFiltersRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableClearFiltersRequest instance + */ + IWorkbookTableClearFiltersRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionPage.java index 03c5b2ec2a5..225005710fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Collection Page. */ -public interface IWorkbookTableCollectionPage extends IBaseWorkbookTableCollectionPage { - +public interface IWorkbookTableCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequest.java index 60d0fb56aba..13bb83aa394 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Collection Request. */ -public interface IWorkbookTableCollectionRequest extends IBaseWorkbookTableCollectionRequest { +public interface IWorkbookTableCollectionRequest { + + void get(final ICallback callback); + + IWorkbookTableCollectionPage get() throws ClientException; + + void post(final WorkbookTable newWorkbookTable, final ICallback callback); + + WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequestBuilder.java index 3163e459a6a..81c5e19b6c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCollectionRequestBuilder.java @@ -4,13 +4,32 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Collection Request Builder. */ -public interface IWorkbookTableCollectionRequestBuilder extends IBaseWorkbookTableCollectionRequestBuilder { +public interface IWorkbookTableCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookTableCollectionRequest buildRequest(); + + IWorkbookTableCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookTableRequestBuilder byId(final String id); + IWorkbookTableAddRequestBuilder add(final String address, final Boolean hasHeaders); + IWorkbookTableItemAtRequestBuilder itemAt(final Integer index); + IWorkbookTableCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequest.java index a90c6db97b8..bafd0a01e7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Add Request. */ -public interface IWorkbookTableColumnAddRequest extends IBaseWorkbookTableColumnAddRequest { +public interface IWorkbookTableColumnAddRequest { + + void post(final ICallback callback); + + WorkbookTableColumn post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnAddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableColumnAddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnAddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequestBuilder.java index 2d27b0361f2..2e56d39bb33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnAddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnAddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Add Request Builder. */ -public interface IWorkbookTableColumnAddRequestBuilder extends IBaseWorkbookTableColumnAddRequestBuilder { +public interface IWorkbookTableColumnAddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnAddRequest + * + * @return the IWorkbookTableColumnAddRequest instance + */ + IWorkbookTableColumnAddRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnAddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnAddRequest instance + */ + IWorkbookTableColumnAddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionPage.java index 10c0b3aa072..4f84c416706 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Collection Page. */ -public interface IWorkbookTableColumnCollectionPage extends IBaseWorkbookTableColumnCollectionPage { - +public interface IWorkbookTableColumnCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequest.java index 1d050c9a729..39a25241ae6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Collection Request. */ -public interface IWorkbookTableColumnCollectionRequest extends IBaseWorkbookTableColumnCollectionRequest { +public interface IWorkbookTableColumnCollectionRequest { + + void get(final ICallback callback); + + IWorkbookTableColumnCollectionPage get() throws ClientException; + + void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback); + + WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableColumnCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequestBuilder.java index ca884189274..02a27a55a07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCollectionRequestBuilder.java @@ -4,13 +4,32 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Collection Request Builder. */ -public interface IWorkbookTableColumnCollectionRequestBuilder extends IBaseWorkbookTableColumnCollectionRequestBuilder { +public interface IWorkbookTableColumnCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookTableColumnCollectionRequest buildRequest(); + + IWorkbookTableColumnCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookTableColumnRequestBuilder byId(final String id); + IWorkbookTableColumnAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values, final String name); + IWorkbookTableColumnItemAtRequestBuilder itemAt(final Integer index); + IWorkbookTableColumnCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequest.java index 8d56460cd06..88c2b97192e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Count Request. */ -public interface IWorkbookTableColumnCountRequest extends IBaseWorkbookTableColumnCountRequest { +public interface IWorkbookTableColumnCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequestBuilder.java index 65a46f2958d..6a64a008e56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Count Request Builder. */ -public interface IWorkbookTableColumnCountRequestBuilder extends IBaseWorkbookTableColumnCountRequestBuilder { +public interface IWorkbookTableColumnCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnCountRequest + * + * @return the IWorkbookTableColumnCountRequest instance + */ + IWorkbookTableColumnCountRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnCountRequest instance + */ + IWorkbookTableColumnCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequest.java index c277d7aec22..01e25a6e68f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnDataBodyRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Data Body Range Request. */ -public interface IWorkbookTableColumnDataBodyRangeRequest extends IBaseWorkbookTableColumnDataBodyRangeRequest { +public interface IWorkbookTableColumnDataBodyRangeRequest { + + /** + * Patches the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnDataBodyRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnDataBodyRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequestBuilder.java index b9bb37e9fb9..e0200b07530 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnDataBodyRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnDataBodyRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Data Body Range Request Builder. */ -public interface IWorkbookTableColumnDataBodyRangeRequestBuilder extends IBaseWorkbookTableColumnDataBodyRangeRequestBuilder { +public interface IWorkbookTableColumnDataBodyRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnDataBodyRangeRequest + * + * @return the IWorkbookTableColumnDataBodyRangeRequest instance + */ + IWorkbookTableColumnDataBodyRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnDataBodyRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnDataBodyRangeRequest instance + */ + IWorkbookTableColumnDataBodyRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequest.java index 0e5eab8fe7c..b8745a9155d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnHeaderRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Header Row Range Request. */ -public interface IWorkbookTableColumnHeaderRowRangeRequest extends IBaseWorkbookTableColumnHeaderRowRangeRequest { +public interface IWorkbookTableColumnHeaderRowRangeRequest { + + /** + * Patches the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnHeaderRowRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnHeaderRowRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequestBuilder.java index 128940386c1..e648d494f14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnHeaderRowRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Header Row Range Request Builder. */ -public interface IWorkbookTableColumnHeaderRowRangeRequestBuilder extends IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder { +public interface IWorkbookTableColumnHeaderRowRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnHeaderRowRangeRequest + * + * @return the IWorkbookTableColumnHeaderRowRangeRequest instance + */ + IWorkbookTableColumnHeaderRowRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnHeaderRowRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnHeaderRowRangeRequest instance + */ + IWorkbookTableColumnHeaderRowRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequest.java index ea2e0ec2ee2..55aa00b53b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Item At Request. */ -public interface IWorkbookTableColumnItemAtRequest extends IBaseWorkbookTableColumnItemAtRequest { +public interface IWorkbookTableColumnItemAtRequest { + + /** + * Patches the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback); + + /** + * Patches the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH + * @return the WorkbookTableColumn + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTableColumn patch(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException; + + /** + * Puts the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback); + + /** + * Puts the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT + * @return the WorkbookTableColumn + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTableColumn put(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException; + /** + * Gets the WorkbookTableColumn + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTableColumn + * + * @return the WorkbookTableColumn + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTableColumn get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequestBuilder.java index 01af65ec6e5..843131449fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Item At Request Builder. */ -public interface IWorkbookTableColumnItemAtRequestBuilder extends IBaseWorkbookTableColumnItemAtRequestBuilder { +public interface IWorkbookTableColumnItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnItemAtRequest + * + * @return the IWorkbookTableColumnItemAtRequest instance + */ + IWorkbookTableColumnItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnItemAtRequest instance + */ + IWorkbookTableColumnItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequest.java index 5cfa58c0f4c..e3e27451d40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Range Request. */ -public interface IWorkbookTableColumnRangeRequest extends IBaseWorkbookTableColumnRangeRequest { +public interface IWorkbookTableColumnRangeRequest { + + /** + * Patches the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequestBuilder.java index 140d70ed4b1..f4acbd55578 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Range Request Builder. */ -public interface IWorkbookTableColumnRangeRequestBuilder extends IBaseWorkbookTableColumnRangeRequestBuilder { +public interface IWorkbookTableColumnRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnRangeRequest + * + * @return the IWorkbookTableColumnRangeRequest instance + */ + IWorkbookTableColumnRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnRangeRequest instance + */ + IWorkbookTableColumnRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequest.java index 2f48a9eeae6..91ec321aada 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Request. */ -public interface IWorkbookTableColumnRequest extends IBaseWorkbookTableColumnRequest { +public interface IWorkbookTableColumnRequest extends IHttpRequest { + + /** + * Gets the WorkbookTableColumn from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTableColumn from the service + * + * @return the WorkbookTableColumn from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableColumn get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookTableColumn with a source + * + * @param sourceWorkbookTableColumn the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookTableColumn sourceWorkbookTableColumn, final ICallback callback); + + /** + * Patches this WorkbookTableColumn with a source + * + * @param sourceWorkbookTableColumn the source object with updates + * @return the updated WorkbookTableColumn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableColumn patch(final WorkbookTableColumn sourceWorkbookTableColumn) throws ClientException; + + /** + * Posts a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback); + + /** + * Posts a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the new object to create + * @return the created WorkbookTableColumn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequestBuilder.java index 0e2ee597f5f..1519c159e2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequestBuilder.java @@ -3,14 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequest; +import com.microsoft.graph.requests.extensions.IWorkbookFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Request Builder. */ -public interface IWorkbookTableColumnRequestBuilder extends IBaseWorkbookTableColumnRequestBuilder { +public interface IWorkbookTableColumnRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookTableColumnRequest instance + */ + IWorkbookTableColumnRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookTableColumnRequest instance + */ + IWorkbookTableColumnRequest buildRequest(final java.util.List requestOptions); + + + /** + * Gets the request builder for WorkbookFilter + * + * @return the IWorkbookFilterRequestBuilder instance + */ + IWorkbookFilterRequestBuilder filter(); + IWorkbookTableColumnDataBodyRangeRequestBuilder dataBodyRange(); + IWorkbookTableColumnHeaderRowRangeRequestBuilder headerRowRange(); + IWorkbookTableColumnRangeRequestBuilder range(); + IWorkbookTableColumnTotalRowRangeRequestBuilder totalRowRange(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequest.java index 73b0d634fed..ae3ddc481a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnTotalRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Total Row Range Request. */ -public interface IWorkbookTableColumnTotalRowRangeRequest extends IBaseWorkbookTableColumnTotalRowRangeRequest { +public interface IWorkbookTableColumnTotalRowRangeRequest { + + /** + * Patches the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableColumnTotalRowRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableColumnTotalRowRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequestBuilder.java index 8b6cd73ed8c..951bc9df3fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnTotalRowRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableColumnTotalRowRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Column Total Row Range Request Builder. */ -public interface IWorkbookTableColumnTotalRowRangeRequestBuilder extends IBaseWorkbookTableColumnTotalRowRangeRequestBuilder { +public interface IWorkbookTableColumnTotalRowRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableColumnTotalRowRangeRequest + * + * @return the IWorkbookTableColumnTotalRowRangeRequest instance + */ + IWorkbookTableColumnTotalRowRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableColumnTotalRowRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnTotalRowRangeRequest instance + */ + IWorkbookTableColumnTotalRowRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequest.java index d89e19477cc..15815e864b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequest.java @@ -3,14 +3,54 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableConvertToRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Convert To Range Request. */ -public interface IWorkbookTableConvertToRangeRequest extends IBaseWorkbookTableConvertToRangeRequest { +public interface IWorkbookTableConvertToRangeRequest { + + /** + * Creates the WorkbookTableConvertToRange + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookTableConvertToRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableConvertToRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableConvertToRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequestBuilder.java index bd15ac503ba..df9052a65b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableConvertToRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableConvertToRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Convert To Range Request Builder. */ -public interface IWorkbookTableConvertToRangeRequestBuilder extends IBaseWorkbookTableConvertToRangeRequestBuilder { +public interface IWorkbookTableConvertToRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableConvertToRangeRequest + * + * @return the IWorkbookTableConvertToRangeRequest instance + */ + IWorkbookTableConvertToRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableConvertToRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableConvertToRangeRequest instance + */ + IWorkbookTableConvertToRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequest.java index 75d3e5a4d64..1651bfae45e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Count Request. */ -public interface IWorkbookTableCountRequest extends IBaseWorkbookTableCountRequest { +public interface IWorkbookTableCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequestBuilder.java index c0293353b68..ee612c1f5fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Count Request Builder. */ -public interface IWorkbookTableCountRequestBuilder extends IBaseWorkbookTableCountRequestBuilder { +public interface IWorkbookTableCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableCountRequest + * + * @return the IWorkbookTableCountRequest instance + */ + IWorkbookTableCountRequest buildRequest(); + + /** + * Creates the IWorkbookTableCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableCountRequest instance + */ + IWorkbookTableCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequest.java index de105b70640..98450130bff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableDataBodyRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Data Body Range Request. */ -public interface IWorkbookTableDataBodyRangeRequest extends IBaseWorkbookTableDataBodyRangeRequest { +public interface IWorkbookTableDataBodyRangeRequest { + + /** + * Patches the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableDataBodyRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableDataBodyRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequestBuilder.java index 017e3929773..08e935afabe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableDataBodyRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableDataBodyRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Data Body Range Request Builder. */ -public interface IWorkbookTableDataBodyRangeRequestBuilder extends IBaseWorkbookTableDataBodyRangeRequestBuilder { +public interface IWorkbookTableDataBodyRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableDataBodyRangeRequest + * + * @return the IWorkbookTableDataBodyRangeRequest instance + */ + IWorkbookTableDataBodyRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableDataBodyRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableDataBodyRangeRequest instance + */ + IWorkbookTableDataBodyRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequest.java index 2225f2e1fc7..5602fdaaa2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableHeaderRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Header Row Range Request. */ -public interface IWorkbookTableHeaderRowRangeRequest extends IBaseWorkbookTableHeaderRowRangeRequest { +public interface IWorkbookTableHeaderRowRangeRequest { + + /** + * Patches the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableHeaderRowRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableHeaderRowRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequestBuilder.java index e6f1c3e4f63..b60cca6f4b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableHeaderRowRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableHeaderRowRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Header Row Range Request Builder. */ -public interface IWorkbookTableHeaderRowRangeRequestBuilder extends IBaseWorkbookTableHeaderRowRangeRequestBuilder { +public interface IWorkbookTableHeaderRowRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableHeaderRowRangeRequest + * + * @return the IWorkbookTableHeaderRowRangeRequest instance + */ + IWorkbookTableHeaderRowRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableHeaderRowRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableHeaderRowRangeRequest instance + */ + IWorkbookTableHeaderRowRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequest.java index eeb7c54f00f..43a191c17d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Item At Request. */ -public interface IWorkbookTableItemAtRequest extends IBaseWorkbookTableItemAtRequest { +public interface IWorkbookTableItemAtRequest { + + /** + * Patches the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookTable srcWorkbookTable, final ICallback callback); + + /** + * Patches the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable with which to PATCH + * @return the WorkbookTable + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTable patch(WorkbookTable srcWorkbookTable) throws ClientException; + + /** + * Puts the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookTable srcWorkbookTable, final ICallback callback); + + /** + * Puts the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable to PUT + * @return the WorkbookTable + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTable put(WorkbookTable srcWorkbookTable) throws ClientException; + /** + * Gets the WorkbookTable + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTable + * + * @return the WorkbookTable + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTable get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequestBuilder.java index 13fda870d90..85dc5306a94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Item At Request Builder. */ -public interface IWorkbookTableItemAtRequestBuilder extends IBaseWorkbookTableItemAtRequestBuilder { +public interface IWorkbookTableItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableItemAtRequest + * + * @return the IWorkbookTableItemAtRequest instance + */ + IWorkbookTableItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookTableItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableItemAtRequest instance + */ + IWorkbookTableItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequest.java index 2e2064312af..3ebb99eb9dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Range Request. */ -public interface IWorkbookTableRangeRequest extends IBaseWorkbookTableRangeRequest { +public interface IWorkbookTableRangeRequest { + + /** + * Patches the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequestBuilder.java index 3f19fb79ef2..da400419cab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Range Request Builder. */ -public interface IWorkbookTableRangeRequestBuilder extends IBaseWorkbookTableRangeRequestBuilder { +public interface IWorkbookTableRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableRangeRequest + * + * @return the IWorkbookTableRangeRequest instance + */ + IWorkbookTableRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRangeRequest instance + */ + IWorkbookTableRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequest.java index ac7a0abc18d..abfb2567a84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableReapplyFiltersRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Reapply Filters Request. */ -public interface IWorkbookTableReapplyFiltersRequest extends IBaseWorkbookTableReapplyFiltersRequest { +public interface IWorkbookTableReapplyFiltersRequest { + + /** + * Creates the WorkbookTableReapplyFilters + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookTableReapplyFilters + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequestBuilder.java index 47164212d36..1cd55bcdb27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableReapplyFiltersRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableReapplyFiltersRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Reapply Filters Request Builder. */ -public interface IWorkbookTableReapplyFiltersRequestBuilder extends IBaseWorkbookTableReapplyFiltersRequestBuilder { +public interface IWorkbookTableReapplyFiltersRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableReapplyFiltersRequest + * + * @return the IWorkbookTableReapplyFiltersRequest instance + */ + IWorkbookTableReapplyFiltersRequest buildRequest(); + + /** + * Creates the IWorkbookTableReapplyFiltersRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableReapplyFiltersRequest instance + */ + IWorkbookTableReapplyFiltersRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequest.java index 8fa3388a2ea..47d53ab6029 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Request. */ -public interface IWorkbookTableRequest extends IBaseWorkbookTableRequest { +public interface IWorkbookTableRequest extends IHttpRequest { + + /** + * Gets the WorkbookTable from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTable from the service + * + * @return the WorkbookTable from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTable get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookTable with a source + * + * @param sourceWorkbookTable the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookTable sourceWorkbookTable, final ICallback callback); + + /** + * Patches this WorkbookTable with a source + * + * @param sourceWorkbookTable the source object with updates + * @return the updated WorkbookTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTable patch(final WorkbookTable sourceWorkbookTable) throws ClientException; + + /** + * Posts a WorkbookTable with a new object + * + * @param newWorkbookTable the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookTable newWorkbookTable, final ICallback callback); + + /** + * Posts a WorkbookTable with a new object + * + * @param newWorkbookTable the new object to create + * @return the created WorkbookTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequestBuilder.java index 7adf001df65..2e5bac8cc78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequestBuilder.java @@ -3,14 +3,74 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequest; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Request Builder. */ -public interface IWorkbookTableRequestBuilder extends IBaseWorkbookTableRequestBuilder { +public interface IWorkbookTableRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookTableRequest instance + */ + IWorkbookTableRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookTableRequest instance + */ + IWorkbookTableRequest buildRequest(final java.util.List requestOptions); + + + IWorkbookTableColumnCollectionRequestBuilder columns(); + + IWorkbookTableColumnRequestBuilder columns(final String id); + + IWorkbookTableRowCollectionRequestBuilder rows(); + + IWorkbookTableRowRequestBuilder rows(final String id); + + /** + * Gets the request builder for WorkbookTableSort + * + * @return the IWorkbookTableSortRequestBuilder instance + */ + IWorkbookTableSortRequestBuilder sort(); + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + IWorkbookWorksheetRequestBuilder worksheet(); + IWorkbookTableClearFiltersRequestBuilder clearFilters(); + IWorkbookTableConvertToRangeRequestBuilder convertToRange(); + IWorkbookTableReapplyFiltersRequestBuilder reapplyFilters(); + IWorkbookTableDataBodyRangeRequestBuilder dataBodyRange(); + IWorkbookTableHeaderRowRangeRequestBuilder headerRowRange(); + IWorkbookTableRangeRequestBuilder range(); + IWorkbookTableTotalRowRangeRequestBuilder totalRowRange(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequest.java index 94d52f826f8..8daaf7fda3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Add Request. */ -public interface IWorkbookTableRowAddRequest extends IBaseWorkbookTableRowAddRequest { +public interface IWorkbookTableRowAddRequest { + + void post(final ICallback callback); + + WorkbookTableRow post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRowAddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableRowAddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRowAddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequestBuilder.java index 1ea164a5bbc..9ea51a2d6ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowAddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowAddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Add Request Builder. */ -public interface IWorkbookTableRowAddRequestBuilder extends IBaseWorkbookTableRowAddRequestBuilder { +public interface IWorkbookTableRowAddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableRowAddRequest + * + * @return the IWorkbookTableRowAddRequest instance + */ + IWorkbookTableRowAddRequest buildRequest(); + + /** + * Creates the IWorkbookTableRowAddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowAddRequest instance + */ + IWorkbookTableRowAddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionPage.java index d4533ea66c6..aac41c52191 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Collection Page. */ -public interface IWorkbookTableRowCollectionPage extends IBaseWorkbookTableRowCollectionPage { - +public interface IWorkbookTableRowCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequest.java index e9016cee3e1..c391ad678d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Collection Request. */ -public interface IWorkbookTableRowCollectionRequest extends IBaseWorkbookTableRowCollectionRequest { +public interface IWorkbookTableRowCollectionRequest { + + void get(final ICallback callback); + + IWorkbookTableRowCollectionPage get() throws ClientException; + + void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback); + + WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRowCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRowCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableRowCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequestBuilder.java index ab76648aaeb..b5ed9296de9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCollectionRequestBuilder.java @@ -4,13 +4,32 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Collection Request Builder. */ -public interface IWorkbookTableRowCollectionRequestBuilder extends IBaseWorkbookTableRowCollectionRequestBuilder { +public interface IWorkbookTableRowCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookTableRowCollectionRequest buildRequest(); + + IWorkbookTableRowCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookTableRowRequestBuilder byId(final String id); + IWorkbookTableRowAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values); + IWorkbookTableRowItemAtRequestBuilder itemAt(final Integer index); + IWorkbookTableRowCountRequestBuilder count(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequest.java index 9c8bc37cf6a..84f1621ba1b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequest.java @@ -3,14 +3,53 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Count Request. */ -public interface IWorkbookTableRowCountRequest extends IBaseWorkbookTableRowCountRequest { +public interface IWorkbookTableRowCountRequest { + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + Integer get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRowCountRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRowCountRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequestBuilder.java index bf213ed7904..906daf981af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowCountRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowCountRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Count Request Builder. */ -public interface IWorkbookTableRowCountRequestBuilder extends IBaseWorkbookTableRowCountRequestBuilder { +public interface IWorkbookTableRowCountRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableRowCountRequest + * + * @return the IWorkbookTableRowCountRequest instance + */ + IWorkbookTableRowCountRequest buildRequest(); + + /** + * Creates the IWorkbookTableRowCountRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowCountRequest instance + */ + IWorkbookTableRowCountRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequest.java index 5b18aa98eb6..a5cb106f9e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Item At Request. */ -public interface IWorkbookTableRowItemAtRequest extends IBaseWorkbookTableRowItemAtRequest { +public interface IWorkbookTableRowItemAtRequest { + + /** + * Patches the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookTableRow srcWorkbookTableRow, final ICallback callback); + + /** + * Patches the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH + * @return the WorkbookTableRow + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTableRow patch(WorkbookTableRow srcWorkbookTableRow) throws ClientException; + + /** + * Puts the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookTableRow srcWorkbookTableRow, final ICallback callback); + + /** + * Puts the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow to PUT + * @return the WorkbookTableRow + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTableRow put(WorkbookTableRow srcWorkbookTableRow) throws ClientException; + /** + * Gets the WorkbookTableRow + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTableRow + * + * @return the WorkbookTableRow + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookTableRow get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRowItemAtRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRowItemAtRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequestBuilder.java index 454d8d559a5..b6f732ca215 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowItemAtRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowItemAtRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Item At Request Builder. */ -public interface IWorkbookTableRowItemAtRequestBuilder extends IBaseWorkbookTableRowItemAtRequestBuilder { +public interface IWorkbookTableRowItemAtRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableRowItemAtRequest + * + * @return the IWorkbookTableRowItemAtRequest instance + */ + IWorkbookTableRowItemAtRequest buildRequest(); + + /** + * Creates the IWorkbookTableRowItemAtRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowItemAtRequest instance + */ + IWorkbookTableRowItemAtRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequest.java index b960b85468f..7d6c3953908 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Range Request. */ -public interface IWorkbookTableRowRangeRequest extends IBaseWorkbookTableRowRangeRequest { +public interface IWorkbookTableRowRangeRequest { + + /** + * Patches the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRowRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRowRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequestBuilder.java index 0c8eb552210..01d3a538060 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Range Request Builder. */ -public interface IWorkbookTableRowRangeRequestBuilder extends IBaseWorkbookTableRowRangeRequestBuilder { +public interface IWorkbookTableRowRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableRowRangeRequest + * + * @return the IWorkbookTableRowRangeRequest instance + */ + IWorkbookTableRowRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableRowRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowRangeRequest instance + */ + IWorkbookTableRowRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequest.java index 249ef20d38c..16b0f073cc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Request. */ -public interface IWorkbookTableRowRequest extends IBaseWorkbookTableRowRequest { +public interface IWorkbookTableRowRequest extends IHttpRequest { + + /** + * Gets the WorkbookTableRow from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTableRow from the service + * + * @return the WorkbookTableRow from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableRow get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookTableRow with a source + * + * @param sourceWorkbookTableRow the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookTableRow sourceWorkbookTableRow, final ICallback callback); + + /** + * Patches this WorkbookTableRow with a source + * + * @param sourceWorkbookTableRow the source object with updates + * @return the updated WorkbookTableRow + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableRow patch(final WorkbookTableRow sourceWorkbookTableRow) throws ClientException; + + /** + * Posts a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback); + + /** + * Posts a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the new object to create + * @return the created WorkbookTableRow + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableRowRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableRowRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequestBuilder.java index 62aa599c194..9681c4f569a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequestBuilder.java @@ -3,14 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequest; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableRowRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Row Request Builder. */ -public interface IWorkbookTableRowRequestBuilder extends IBaseWorkbookTableRowRequestBuilder { +public interface IWorkbookTableRowRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookTableRowRequest instance + */ + IWorkbookTableRowRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookTableRowRequest instance + */ + IWorkbookTableRowRequest buildRequest(final java.util.List requestOptions); + + IWorkbookTableRowRangeRequestBuilder range(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequest.java index 73c8d1cf8c0..2c26785d266 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortApplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Apply Request. */ -public interface IWorkbookTableSortApplyRequest extends IBaseWorkbookTableSortApplyRequest { +public interface IWorkbookTableSortApplyRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableSortApplyRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookTableSortApplyRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableSortApplyRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequestBuilder.java index d82d246413e..7108c71076c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortApplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortApplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Apply Request Builder. */ -public interface IWorkbookTableSortApplyRequestBuilder extends IBaseWorkbookTableSortApplyRequestBuilder { +public interface IWorkbookTableSortApplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableSortApplyRequest + * + * @return the IWorkbookTableSortApplyRequest instance + */ + IWorkbookTableSortApplyRequest buildRequest(); + + /** + * Creates the IWorkbookTableSortApplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableSortApplyRequest instance + */ + IWorkbookTableSortApplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequest.java index e41e9428053..d25ce11067c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Clear Request. */ -public interface IWorkbookTableSortClearRequest extends IBaseWorkbookTableSortClearRequest { +public interface IWorkbookTableSortClearRequest { + + /** + * Creates the WorkbookTableSortClear + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookTableSortClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequestBuilder.java index 28728977c89..701423fd988 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortClearRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortClearRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Clear Request Builder. */ -public interface IWorkbookTableSortClearRequestBuilder extends IBaseWorkbookTableSortClearRequestBuilder { +public interface IWorkbookTableSortClearRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableSortClearRequest + * + * @return the IWorkbookTableSortClearRequest instance + */ + IWorkbookTableSortClearRequest buildRequest(); + + /** + * Creates the IWorkbookTableSortClearRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableSortClearRequest instance + */ + IWorkbookTableSortClearRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequest.java index 1b59cf8866c..7d572fa6736 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortReapplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Reapply Request. */ -public interface IWorkbookTableSortReapplyRequest extends IBaseWorkbookTableSortReapplyRequest { +public interface IWorkbookTableSortReapplyRequest { + + /** + * Creates the WorkbookTableSortReapply + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookTableSortReapply + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequestBuilder.java index 9647c0356ff..627a9e7396f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortReapplyRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortReapplyRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Reapply Request Builder. */ -public interface IWorkbookTableSortReapplyRequestBuilder extends IBaseWorkbookTableSortReapplyRequestBuilder { +public interface IWorkbookTableSortReapplyRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableSortReapplyRequest + * + * @return the IWorkbookTableSortReapplyRequest instance + */ + IWorkbookTableSortReapplyRequest buildRequest(); + + /** + * Creates the IWorkbookTableSortReapplyRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableSortReapplyRequest instance + */ + IWorkbookTableSortReapplyRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequest.java index d4b0c75e8e5..be3229ead01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableSort; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Request. */ -public interface IWorkbookTableSortRequest extends IBaseWorkbookTableSortRequest { +public interface IWorkbookTableSortRequest extends IHttpRequest { + + /** + * Gets the WorkbookTableSort from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookTableSort from the service + * + * @return the WorkbookTableSort from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableSort get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookTableSort with a source + * + * @param sourceWorkbookTableSort the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookTableSort sourceWorkbookTableSort, final ICallback callback); + + /** + * Patches this WorkbookTableSort with a source + * + * @param sourceWorkbookTableSort the source object with updates + * @return the updated WorkbookTableSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableSort patch(final WorkbookTableSort sourceWorkbookTableSort) throws ClientException; + + /** + * Posts a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookTableSort newWorkbookTableSort, final ICallback callback); + + /** + * Posts a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the new object to create + * @return the created WorkbookTableSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableSort post(final WorkbookTableSort newWorkbookTableSort) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableSortRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableSortRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequestBuilder.java index db2fa06c632..fb6f96517b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequestBuilder.java @@ -3,14 +3,39 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequest; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableSortRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Sort Request Builder. */ -public interface IWorkbookTableSortRequestBuilder extends IBaseWorkbookTableSortRequestBuilder { +public interface IWorkbookTableSortRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookTableSortRequest instance + */ + IWorkbookTableSortRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookTableSortRequest instance + */ + IWorkbookTableSortRequest buildRequest(final java.util.List requestOptions); + + IWorkbookTableSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final String method); + IWorkbookTableSortClearRequestBuilder clear(); + IWorkbookTableSortReapplyRequestBuilder reapply(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequest.java index 4a8ac89dc7a..bd9806befac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableTotalRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Total Row Range Request. */ -public interface IWorkbookTableTotalRowRangeRequest extends IBaseWorkbookTableTotalRowRangeRequest { +public interface IWorkbookTableTotalRowRangeRequest { + + /** + * Patches the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookTableTotalRowRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookTableTotalRowRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequestBuilder.java index f647470eb3f..4a3edf1c4d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableTotalRowRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookTableTotalRowRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Table Total Row Range Request Builder. */ -public interface IWorkbookTableTotalRowRangeRequestBuilder extends IBaseWorkbookTableTotalRowRangeRequestBuilder { +public interface IWorkbookTableTotalRowRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookTableTotalRowRangeRequest + * + * @return the IWorkbookTableTotalRowRangeRequest instance + */ + IWorkbookTableTotalRowRangeRequest buildRequest(); + + /** + * Creates the IWorkbookTableTotalRowRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookTableTotalRowRangeRequest instance + */ + IWorkbookTableTotalRowRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequest.java index 6b406bc04ed..f087b609fbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequest.java @@ -3,14 +3,45 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Add Request. */ -public interface IWorkbookWorksheetAddRequest extends IBaseWorkbookWorksheetAddRequest { +public interface IWorkbookWorksheetAddRequest { + + void post(final ICallback callback); + + WorkbookWorksheet post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetAddRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookWorksheetAddRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetAddRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequestBuilder.java index cdc089fa8f0..7e2090f945c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetAddRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetAddRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Add Request Builder. */ -public interface IWorkbookWorksheetAddRequestBuilder extends IBaseWorkbookWorksheetAddRequestBuilder { +public interface IWorkbookWorksheetAddRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookWorksheetAddRequest + * + * @return the IWorkbookWorksheetAddRequest instance + */ + IWorkbookWorksheetAddRequest buildRequest(); + + /** + * Creates the IWorkbookWorksheetAddRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetAddRequest instance + */ + IWorkbookWorksheetAddRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequest.java index 372945a423a..2fb4319e886 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetCellRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Cell Request. */ -public interface IWorkbookWorksheetCellRequest extends IBaseWorkbookWorksheetCellRequest { +public interface IWorkbookWorksheetCellRequest { + + /** + * Patches the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetCellRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetCellRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequestBuilder.java index c06403a4b92..ccd27e70950 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCellRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetCellRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Cell Request Builder. */ -public interface IWorkbookWorksheetCellRequestBuilder extends IBaseWorkbookWorksheetCellRequestBuilder { +public interface IWorkbookWorksheetCellRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookWorksheetCellRequest + * + * @return the IWorkbookWorksheetCellRequest instance + */ + IWorkbookWorksheetCellRequest buildRequest(); + + /** + * Creates the IWorkbookWorksheetCellRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetCellRequest instance + */ + IWorkbookWorksheetCellRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionPage.java index 7956de5c726..430754f5eb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionPage.java @@ -4,13 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetCollectionPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Collection Page. */ -public interface IWorkbookWorksheetCollectionPage extends IBaseWorkbookWorksheetCollectionPage { - +public interface IWorkbookWorksheetCollectionPage extends IBaseCollectionPage { } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequest.java index 684f266f2f4..3d181d70806 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequest.java @@ -4,13 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Collection Request. */ -public interface IWorkbookWorksheetCollectionRequest extends IBaseWorkbookWorksheetCollectionRequest { +public interface IWorkbookWorksheetCollectionRequest { + + void get(final ICallback callback); + + IWorkbookWorksheetCollectionPage get() throws ClientException; + + void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback); + + WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException; + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetCollectionRequest expand(final String value); + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetCollectionRequest select(final String value); + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookWorksheetCollectionRequest top(final int value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequestBuilder.java index 78d1547d3ee..3742e153a0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetCollectionRequestBuilder.java @@ -4,13 +4,30 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Collection Request Builder. */ -public interface IWorkbookWorksheetCollectionRequestBuilder extends IBaseWorkbookWorksheetCollectionRequestBuilder { +public interface IWorkbookWorksheetCollectionRequestBuilder extends IRequestBuilder { + + IWorkbookWorksheetCollectionRequest buildRequest(); + + IWorkbookWorksheetCollectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookWorksheetRequestBuilder byId(final String id); + IWorkbookWorksheetAddRequestBuilder add(final String name); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequest.java index b6e61181b25..ac34dec6b4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequest.java @@ -3,14 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetProtectionProtectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Protection Protect Request. */ -public interface IWorkbookWorksheetProtectionProtectRequest extends IBaseWorkbookWorksheetProtectionProtectRequest { +public interface IWorkbookWorksheetProtectionProtectRequest { + + void post(final ICallback callback); + + Void post() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetProtectionProtectRequest select(final String value) ; + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + IWorkbookWorksheetProtectionProtectRequest top(final int value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetProtectionProtectRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequestBuilder.java index 11c042a4d72..02475a466db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionProtectRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetProtectionProtectRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Protection Protect Request Builder. */ -public interface IWorkbookWorksheetProtectionProtectRequestBuilder extends IBaseWorkbookWorksheetProtectionProtectRequestBuilder { +public interface IWorkbookWorksheetProtectionProtectRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookWorksheetProtectionProtectRequest + * + * @return the IWorkbookWorksheetProtectionProtectRequest instance + */ + IWorkbookWorksheetProtectionProtectRequest buildRequest(); + + /** + * Creates the IWorkbookWorksheetProtectionProtectRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetProtectionProtectRequest instance + */ + IWorkbookWorksheetProtectionProtectRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequest.java index ec01ff5b02f..4643d3e23e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetProtectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Protection Request. */ -public interface IWorkbookWorksheetProtectionRequest extends IBaseWorkbookWorksheetProtectionRequest { +public interface IWorkbookWorksheetProtectionRequest extends IHttpRequest { + + /** + * Gets the WorkbookWorksheetProtection from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookWorksheetProtection from the service + * + * @return the WorkbookWorksheetProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheetProtection get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookWorksheetProtection with a source + * + * @param sourceWorkbookWorksheetProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection, final ICallback callback); + + /** + * Patches this WorkbookWorksheetProtection with a source + * + * @param sourceWorkbookWorksheetProtection the source object with updates + * @return the updated WorkbookWorksheetProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheetProtection patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection) throws ClientException; + + /** + * Posts a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection, final ICallback callback); + + /** + * Posts a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the new object to create + * @return the created WorkbookWorksheetProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheetProtection post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetProtectionRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetProtectionRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequestBuilder.java index 30739cb59fd..d1c69c1c55d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequestBuilder.java @@ -3,14 +3,37 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequest; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetProtectionRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Protection Request Builder. */ -public interface IWorkbookWorksheetProtectionRequestBuilder extends IBaseWorkbookWorksheetProtectionRequestBuilder { +public interface IWorkbookWorksheetProtectionRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookWorksheetProtectionRequest instance + */ + IWorkbookWorksheetProtectionRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookWorksheetProtectionRequest instance + */ + IWorkbookWorksheetProtectionRequest buildRequest(final java.util.List requestOptions); + + IWorkbookWorksheetProtectionProtectRequestBuilder protect(final WorkbookWorksheetProtectionOptions options); + IWorkbookWorksheetProtectionUnprotectRequestBuilder unprotect(); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequest.java index f8340ab4fb5..531906d3755 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequest.java @@ -3,14 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetProtectionUnprotectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Protection Unprotect Request. */ -public interface IWorkbookWorksheetProtectionUnprotectRequest extends IBaseWorkbookWorksheetProtectionUnprotectRequest { +public interface IWorkbookWorksheetProtectionUnprotectRequest { + + /** + * Creates the WorkbookWorksheetProtectionUnprotect + * + * @param callback the callback to be called after success or failure + */ + void post(final ICallback callback); + + /** + * Creates the WorkbookWorksheetProtectionUnprotect + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + void post() throws ClientException; } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequestBuilder.java index d389384eed4..149ebc23499 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionUnprotectRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Protection Unprotect Request Builder. */ -public interface IWorkbookWorksheetProtectionUnprotectRequestBuilder extends IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder { +public interface IWorkbookWorksheetProtectionUnprotectRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookWorksheetProtectionUnprotectRequest + * + * @return the IWorkbookWorksheetProtectionUnprotectRequest instance + */ + IWorkbookWorksheetProtectionUnprotectRequest buildRequest(); + + /** + * Creates the IWorkbookWorksheetProtectionUnprotectRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetProtectionUnprotectRequest instance + */ + IWorkbookWorksheetProtectionUnprotectRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequest.java index ba27bd8f6a7..d43618c3569 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Range Request. */ -public interface IWorkbookWorksheetRangeRequest extends IBaseWorkbookWorksheetRangeRequest { +public interface IWorkbookWorksheetRangeRequest { + + /** + * Patches the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequestBuilder.java index 4fc356222cd..5d9f2910f28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Range Request Builder. */ -public interface IWorkbookWorksheetRangeRequestBuilder extends IBaseWorkbookWorksheetRangeRequestBuilder { +public interface IWorkbookWorksheetRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookWorksheetRangeRequest + * + * @return the IWorkbookWorksheetRangeRequest instance + */ + IWorkbookWorksheetRangeRequest buildRequest(); + + /** + * Creates the IWorkbookWorksheetRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetRangeRequest instance + */ + IWorkbookWorksheetRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequest.java index 0fc05b4dc83..bd03784e867 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequest.java @@ -3,14 +3,97 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.http.IHttpRequest; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Request. */ -public interface IWorkbookWorksheetRequest extends IBaseWorkbookWorksheetRequest { +public interface IWorkbookWorksheetRequest extends IHttpRequest { + + /** + * Gets the WorkbookWorksheet from the service + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookWorksheet from the service + * + * @return the WorkbookWorksheet from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheet get() throws ClientException; + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + void delete(final ICallback callback); + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + void delete() throws ClientException; + + /** + * Patches this WorkbookWorksheet with a source + * + * @param sourceWorkbookWorksheet the source object with updates + * @param callback the callback to be called after success or failure + */ + void patch(final WorkbookWorksheet sourceWorkbookWorksheet, final ICallback callback); + + /** + * Patches this WorkbookWorksheet with a source + * + * @param sourceWorkbookWorksheet the source object with updates + * @return the updated WorkbookWorksheet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheet patch(final WorkbookWorksheet sourceWorkbookWorksheet) throws ClientException; + + /** + * Posts a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the new object to create + * @param callback the callback to be called after success or failure + */ + void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback); + + /** + * Posts a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the new object to create + * @return the created WorkbookWorksheet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetRequest expand(final String value); } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequestBuilder.java index 6f466638737..870b19bd278 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequestBuilder.java @@ -3,14 +3,74 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Request Builder. */ -public interface IWorkbookWorksheetRequestBuilder extends IBaseWorkbookWorksheetRequestBuilder { +public interface IWorkbookWorksheetRequestBuilder extends IRequestBuilder { + /** + * Creates the request + * + * @return the IWorkbookWorksheetRequest instance + */ + IWorkbookWorksheetRequest buildRequest(); + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IWorkbookWorksheetRequest instance + */ + IWorkbookWorksheetRequest buildRequest(final java.util.List requestOptions); + + + IWorkbookChartCollectionRequestBuilder charts(); + + IWorkbookChartRequestBuilder charts(final String id); + + IWorkbookNamedItemCollectionRequestBuilder names(); + + IWorkbookNamedItemRequestBuilder names(final String id); + + IWorkbookPivotTableCollectionRequestBuilder pivotTables(); + + IWorkbookPivotTableRequestBuilder pivotTables(final String id); + + /** + * Gets the request builder for WorkbookWorksheetProtection + * + * @return the IWorkbookWorksheetProtectionRequestBuilder instance + */ + IWorkbookWorksheetProtectionRequestBuilder protection(); + + IWorkbookTableCollectionRequestBuilder tables(); + + IWorkbookTableRequestBuilder tables(final String id); + IWorkbookWorksheetCellRequestBuilder cell(final Integer row, final Integer column); + IWorkbookWorksheetRangeRequestBuilder range(); + IWorkbookWorksheetRangeRequestBuilder range(final String address); + IWorkbookWorksheetUsedRangeRequestBuilder usedRange(); + IWorkbookWorksheetUsedRangeRequestBuilder usedRange(final Boolean valuesOnly); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequest.java index f048a23aed8..4d935276dd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequest.java @@ -3,14 +3,87 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetUsedRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.options.Option; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Used Range Request. */ -public interface IWorkbookWorksheetUsedRangeRequest extends IBaseWorkbookWorksheetUsedRangeRequest { +public interface IWorkbookWorksheetUsedRangeRequest { + + /** + * Patches the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + void patch(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Patches the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; + + /** + * Puts the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + void put(WorkbookRange srcWorkbookRange, final ICallback callback); + + /** + * Puts the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + void get(final ICallback callback); + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + WorkbookRange get() throws ClientException; + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + IWorkbookWorksheetUsedRangeRequest select(final String value); + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + IWorkbookWorksheetUsedRangeRequest expand(final String value); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequestBuilder.java index b2579f8e21d..aa0622a822e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetUsedRangeRequestBuilder.java @@ -3,14 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; -import com.microsoft.graph.requests.generated.IBaseWorkbookWorksheetUsedRangeRequestBuilder; +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.options.Option; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Workbook Worksheet Used Range Request Builder. */ -public interface IWorkbookWorksheetUsedRangeRequestBuilder extends IBaseWorkbookWorksheetUsedRangeRequestBuilder { +public interface IWorkbookWorksheetUsedRangeRequestBuilder extends IRequestBuilder { + /** + * Creates the IWorkbookWorksheetUsedRangeRequest + * + * @return the IWorkbookWorksheetUsedRangeRequest instance + */ + IWorkbookWorksheetUsedRangeRequest buildRequest(); + + /** + * Creates the IWorkbookWorksheetUsedRangeRequest with specific options instead of the existing options + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetUsedRangeRequest instance + */ + IWorkbookWorksheetUsedRangeRequest buildRequest(final java.util.List requestOptions); } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionPage.java index 352f7c0b504..a3de67f97a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.InferenceClassificationOverride; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideCollectionPage; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Override Collection Page. */ -public class InferenceClassificationOverrideCollectionPage extends BaseInferenceClassificationOverrideCollectionPage implements IInferenceClassificationOverrideCollectionPage { +public class InferenceClassificationOverrideCollectionPage extends BaseCollectionPage implements IInferenceClassificationOverrideCollectionPage { /** - * A collection page for InferenceClassification. + * A collection page for InferenceClassificationOverride * - * @param response the serialized BaseInferenceClassificationOverrideCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized InferenceClassificationOverrideCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public InferenceClassificationOverrideCollectionPage(final BaseInferenceClassificationOverrideCollectionResponse response, final IInferenceClassificationOverrideCollectionRequestBuilder builder) { - super(response, builder); + public InferenceClassificationOverrideCollectionPage(final InferenceClassificationOverrideCollectionResponse response, final IInferenceClassificationOverrideCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequest.java index 2525b34b1e2..60dff3bc020 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Override Collection Request. */ -public class InferenceClassificationOverrideCollectionRequest extends BaseInferenceClassificationOverrideCollectionRequest implements IInferenceClassificationOverrideCollectionRequest { +public class InferenceClassificationOverrideCollectionRequest extends BaseCollectionRequest implements IInferenceClassificationOverrideCollectionRequest { /** - * The request for this collection of InferenceClassification + * The request builder for this collection of InferenceClassificationOverride * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public InferenceClassificationOverrideCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public InferenceClassificationOverrideCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, InferenceClassificationOverrideCollectionResponse.class, IInferenceClassificationOverrideCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IInferenceClassificationOverrideCollectionPage get() throws ClientException { + final InferenceClassificationOverrideCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new InferenceClassificationOverrideRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newInferenceClassificationOverride, callback); + } + + public InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new InferenceClassificationOverrideRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newInferenceClassificationOverride); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IInferenceClassificationOverrideCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (InferenceClassificationOverrideCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IInferenceClassificationOverrideCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (InferenceClassificationOverrideCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IInferenceClassificationOverrideCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (InferenceClassificationOverrideCollectionRequest)this; + } + + public IInferenceClassificationOverrideCollectionPage buildFromResponse(final InferenceClassificationOverrideCollectionResponse response) { + final IInferenceClassificationOverrideCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new InferenceClassificationOverrideCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final InferenceClassificationOverrideCollectionPage page = new InferenceClassificationOverrideCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequestBuilder.java index 33e0e1d0b1e..f3c27597af3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Override Collection Request Builder. */ -public class InferenceClassificationOverrideCollectionRequestBuilder extends BaseInferenceClassificationOverrideCollectionRequestBuilder implements IInferenceClassificationOverrideCollectionRequestBuilder { +public class InferenceClassificationOverrideCollectionRequestBuilder extends BaseRequestBuilder implements IInferenceClassificationOverrideCollectionRequestBuilder { /** * The request builder for this collection of InferenceClassification @@ -25,4 +33,18 @@ public class InferenceClassificationOverrideCollectionRequestBuilder extends Bas public InferenceClassificationOverrideCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IInferenceClassificationOverrideCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IInferenceClassificationOverrideCollectionRequest buildRequest(final java.util.List requestOptions) { + return new InferenceClassificationOverrideCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IInferenceClassificationOverrideRequestBuilder byId(final String id) { + return new InferenceClassificationOverrideRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionResponse.java new file mode 100644 index 00000000000..b7f6bf9bfa4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.InferenceClassificationOverride; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Inference Classification Override Collection Response. + */ +public class InferenceClassificationOverrideCollectionResponse implements IJsonBackedObject { + + /** + * The list of InferenceClassificationOverride within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequest.java index 77f0733e9ea..f4e9434a179 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequest; +import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideRequest; +import com.microsoft.graph.models.extensions.InferenceClassificationOverride; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.InferenceClassificationOverride; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Override Request. */ -public class InferenceClassificationOverrideRequest extends BaseInferenceClassificationOverrideRequest implements IInferenceClassificationOverrideRequest { - +public class InferenceClassificationOverrideRequest extends BaseRequest implements IInferenceClassificationOverrideRequest { + /** * The request for the InferenceClassificationOverride * @@ -26,4 +32,107 @@ public class InferenceClassificationOverrideRequest extends BaseInferenceClassif public InferenceClassificationOverrideRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, InferenceClassificationOverride.class); } + + /** + * Gets the InferenceClassificationOverride from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the InferenceClassificationOverride from the service + * + * @return the InferenceClassificationOverride from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassificationOverride get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this InferenceClassificationOverride with a source + * + * @param sourceInferenceClassificationOverride the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final InferenceClassificationOverride sourceInferenceClassificationOverride, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceInferenceClassificationOverride); + } + + /** + * Patches this InferenceClassificationOverride with a source + * + * @param sourceInferenceClassificationOverride the source object with updates + * @return the updated InferenceClassificationOverride + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassificationOverride patch(final InferenceClassificationOverride sourceInferenceClassificationOverride) throws ClientException { + return send(HttpMethod.PATCH, sourceInferenceClassificationOverride); + } + + /** + * Creates a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback) { + send(HttpMethod.POST, callback, newInferenceClassificationOverride); + } + + /** + * Creates a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the new object to create + * @return the created InferenceClassificationOverride + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException { + return send(HttpMethod.POST, newInferenceClassificationOverride); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IInferenceClassificationOverrideRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (InferenceClassificationOverrideRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IInferenceClassificationOverrideRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (InferenceClassificationOverrideRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequestBuilder.java index 0e2fdd63f20..42c4189b05c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequest; +import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationOverrideRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Override Request Builder. */ -public class InferenceClassificationOverrideRequestBuilder extends BaseInferenceClassificationOverrideRequestBuilder implements IInferenceClassificationOverrideRequestBuilder { +public class InferenceClassificationOverrideRequestBuilder extends BaseRequestBuilder implements IInferenceClassificationOverrideRequestBuilder { /** * The request builder for the InferenceClassificationOverride @@ -25,4 +28,26 @@ public class InferenceClassificationOverrideRequestBuilder extends BaseInference public InferenceClassificationOverrideRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IInferenceClassificationOverrideRequest instance + */ + public IInferenceClassificationOverrideRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IInferenceClassificationOverrideRequest instance + */ + public IInferenceClassificationOverrideRequest buildRequest(final java.util.List requestOptions) { + return new InferenceClassificationOverrideRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequest.java index 2aa32dd37d4..f0ad2afb2e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInferenceClassificationRequest; +import com.microsoft.graph.requests.extensions.InferenceClassificationRequest; +import com.microsoft.graph.models.extensions.InferenceClassification; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.InferenceClassification; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Request. */ -public class InferenceClassificationRequest extends BaseInferenceClassificationRequest implements IInferenceClassificationRequest { - +public class InferenceClassificationRequest extends BaseRequest implements IInferenceClassificationRequest { + /** * The request for the InferenceClassification * @@ -26,4 +32,107 @@ public class InferenceClassificationRequest extends BaseInferenceClassificationR public InferenceClassificationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, InferenceClassification.class); } + + /** + * Gets the InferenceClassification from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the InferenceClassification from the service + * + * @return the InferenceClassification from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassification get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this InferenceClassification with a source + * + * @param sourceInferenceClassification the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final InferenceClassification sourceInferenceClassification, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceInferenceClassification); + } + + /** + * Patches this InferenceClassification with a source + * + * @param sourceInferenceClassification the source object with updates + * @return the updated InferenceClassification + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassification patch(final InferenceClassification sourceInferenceClassification) throws ClientException { + return send(HttpMethod.PATCH, sourceInferenceClassification); + } + + /** + * Creates a InferenceClassification with a new object + * + * @param newInferenceClassification the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final InferenceClassification newInferenceClassification, final ICallback callback) { + send(HttpMethod.POST, callback, newInferenceClassification); + } + + /** + * Creates a InferenceClassification with a new object + * + * @param newInferenceClassification the new object to create + * @return the created InferenceClassification + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassification post(final InferenceClassification newInferenceClassification) throws ClientException { + return send(HttpMethod.POST, newInferenceClassification); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IInferenceClassificationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (InferenceClassificationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IInferenceClassificationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (InferenceClassificationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequestBuilder.java index 096cd35b8e4..aaabdf9c3d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInferenceClassificationRequest; +import com.microsoft.graph.requests.extensions.InferenceClassificationRequest; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequestBuilder; +import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInferenceClassificationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Inference Classification Request Builder. */ -public class InferenceClassificationRequestBuilder extends BaseInferenceClassificationRequestBuilder implements IInferenceClassificationRequestBuilder { +public class InferenceClassificationRequestBuilder extends BaseRequestBuilder implements IInferenceClassificationRequestBuilder { /** * The request builder for the InferenceClassification @@ -25,4 +32,33 @@ public class InferenceClassificationRequestBuilder extends BaseInferenceClassifi public InferenceClassificationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IInferenceClassificationRequest instance + */ + public IInferenceClassificationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IInferenceClassificationRequest instance + */ + public IInferenceClassificationRequest buildRequest(final java.util.List requestOptions) { + return new InferenceClassificationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IInferenceClassificationOverrideCollectionRequestBuilder overrides() { + return new InferenceClassificationOverrideCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("overrides"), getClient(), null); + } + + public IInferenceClassificationOverrideRequestBuilder overrides(final String id) { + return new InferenceClassificationOverrideRequestBuilder(getRequestUrlWithAdditionalSegment("overrides") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionPage.java index 1f342ca691d..b0fcb6ad476 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Invitation; +import com.microsoft.graph.requests.extensions.IInvitationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseInvitationCollectionPage; -import com.microsoft.graph.requests.generated.BaseInvitationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invitation Collection Page. */ -public class InvitationCollectionPage extends BaseInvitationCollectionPage implements IInvitationCollectionPage { +public class InvitationCollectionPage extends BaseCollectionPage implements IInvitationCollectionPage { /** - * A collection page for Invitation. + * A collection page for Invitation * - * @param response the serialized BaseInvitationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized InvitationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public InvitationCollectionPage(final BaseInvitationCollectionResponse response, final IInvitationCollectionRequestBuilder builder) { - super(response, builder); + public InvitationCollectionPage(final InvitationCollectionResponse response, final IInvitationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequest.java index ac53530c449..202c9c59746 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInvitationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invitation Collection Request. */ -public class InvitationCollectionRequest extends BaseInvitationCollectionRequest implements IInvitationCollectionRequest { +public class InvitationCollectionRequest extends BaseCollectionRequest implements IInvitationCollectionRequest { /** - * The request for this collection of Invitation + * The request builder for this collection of Invitation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public InvitationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public InvitationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, InvitationCollectionResponse.class, IInvitationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IInvitationCollectionPage get() throws ClientException { + final InvitationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Invitation newInvitation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new InvitationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newInvitation, callback); + } + + public Invitation post(final Invitation newInvitation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new InvitationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newInvitation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IInvitationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (InvitationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IInvitationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (InvitationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IInvitationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (InvitationCollectionRequest)this; + } + + public IInvitationCollectionPage buildFromResponse(final InvitationCollectionResponse response) { + final IInvitationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new InvitationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final InvitationCollectionPage page = new InvitationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequestBuilder.java index fc080a5faf4..a02c184a6a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInvitationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invitation Collection Request Builder. */ -public class InvitationCollectionRequestBuilder extends BaseInvitationCollectionRequestBuilder implements IInvitationCollectionRequestBuilder { +public class InvitationCollectionRequestBuilder extends BaseRequestBuilder implements IInvitationCollectionRequestBuilder { /** * The request builder for this collection of Invitation @@ -25,4 +33,18 @@ public class InvitationCollectionRequestBuilder extends BaseInvitationCollection public InvitationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IInvitationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IInvitationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new InvitationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IInvitationRequestBuilder byId(final String id) { + return new InvitationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionResponse.java new file mode 100644 index 00000000000..36d1a2c5211 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Invitation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Invitation Collection Response. + */ +public class InvitationCollectionResponse implements IJsonBackedObject { + + /** + * The list of Invitation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequest.java index c940f05a4ae..241ef83b3d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInvitationRequest; +import com.microsoft.graph.requests.extensions.InvitationRequest; +import com.microsoft.graph.models.extensions.Invitation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Invitation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInvitationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invitation Request. */ -public class InvitationRequest extends BaseInvitationRequest implements IInvitationRequest { - +public class InvitationRequest extends BaseRequest implements IInvitationRequest { + /** * The request for the Invitation * @@ -26,4 +32,107 @@ public class InvitationRequest extends BaseInvitationRequest implements IInvitat public InvitationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Invitation.class); } + + /** + * Gets the Invitation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Invitation from the service + * + * @return the Invitation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Invitation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Invitation with a source + * + * @param sourceInvitation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Invitation sourceInvitation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceInvitation); + } + + /** + * Patches this Invitation with a source + * + * @param sourceInvitation the source object with updates + * @return the updated Invitation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Invitation patch(final Invitation sourceInvitation) throws ClientException { + return send(HttpMethod.PATCH, sourceInvitation); + } + + /** + * Creates a Invitation with a new object + * + * @param newInvitation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Invitation newInvitation, final ICallback callback) { + send(HttpMethod.POST, callback, newInvitation); + } + + /** + * Creates a Invitation with a new object + * + * @param newInvitation the new object to create + * @return the created Invitation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Invitation post(final Invitation newInvitation) throws ClientException { + return send(HttpMethod.POST, newInvitation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IInvitationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (InvitationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IInvitationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (InvitationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequestBuilder.java index 42e828323b2..79feb547c47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IInvitationRequest; +import com.microsoft.graph.requests.extensions.InvitationRequest; +import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseInvitationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Invitation Request Builder. */ -public class InvitationRequestBuilder extends BaseInvitationRequestBuilder implements IInvitationRequestBuilder { +public class InvitationRequestBuilder extends BaseRequestBuilder implements IInvitationRequestBuilder { /** * The request builder for the Invitation @@ -25,4 +30,35 @@ public class InvitationRequestBuilder extends BaseInvitationRequestBuilder imple public InvitationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IInvitationRequest instance + */ + public IInvitationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IInvitationRequest instance + */ + public IInvitationRequest buildRequest(final java.util.List requestOptions) { + return new InvitationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for User + * + * @return the IUserWithReferenceRequestBuilder instance + */ + public IUserWithReferenceRequestBuilder invitedUser() { + return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("invitedUser"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequest.java index f20c4242de9..eb63a156b61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCertificateProfileRequest; +import com.microsoft.graph.requests.extensions.IosCertificateProfileRequest; +import com.microsoft.graph.models.extensions.IosCertificateProfile; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosCertificateProfile; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosCertificateProfileRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Certificate Profile Request. */ -public class IosCertificateProfileRequest extends BaseIosCertificateProfileRequest implements IIosCertificateProfileRequest { - +public class IosCertificateProfileRequest extends BaseRequest implements IIosCertificateProfileRequest { + /** * The request for the IosCertificateProfile * @@ -26,4 +32,107 @@ public class IosCertificateProfileRequest extends BaseIosCertificateProfileReque public IosCertificateProfileRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosCertificateProfile.class); } + + /** + * Gets the IosCertificateProfile from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosCertificateProfile from the service + * + * @return the IosCertificateProfile from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCertificateProfile get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosCertificateProfile with a source + * + * @param sourceIosCertificateProfile the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosCertificateProfile sourceIosCertificateProfile, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosCertificateProfile); + } + + /** + * Patches this IosCertificateProfile with a source + * + * @param sourceIosCertificateProfile the source object with updates + * @return the updated IosCertificateProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCertificateProfile patch(final IosCertificateProfile sourceIosCertificateProfile) throws ClientException { + return send(HttpMethod.PATCH, sourceIosCertificateProfile); + } + + /** + * Creates a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosCertificateProfile newIosCertificateProfile, final ICallback callback) { + send(HttpMethod.POST, callback, newIosCertificateProfile); + } + + /** + * Creates a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the new object to create + * @return the created IosCertificateProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCertificateProfile post(final IosCertificateProfile newIosCertificateProfile) throws ClientException { + return send(HttpMethod.POST, newIosCertificateProfile); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosCertificateProfileRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosCertificateProfileRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosCertificateProfileRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosCertificateProfileRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequestBuilder.java index a1b9c555b5f..09852600019 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCertificateProfileRequest; +import com.microsoft.graph.requests.extensions.IosCertificateProfileRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosCertificateProfileRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Certificate Profile Request Builder. */ -public class IosCertificateProfileRequestBuilder extends BaseIosCertificateProfileRequestBuilder implements IIosCertificateProfileRequestBuilder { +public class IosCertificateProfileRequestBuilder extends BaseRequestBuilder implements IIosCertificateProfileRequestBuilder { /** * The request builder for the IosCertificateProfile @@ -25,4 +28,26 @@ public class IosCertificateProfileRequestBuilder extends BaseIosCertificateProfi public IosCertificateProfileRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosCertificateProfileRequest instance + */ + public IIosCertificateProfileRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosCertificateProfileRequest instance + */ + public IIosCertificateProfileRequest buildRequest(final java.util.List requestOptions) { + return new IosCertificateProfileRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequest.java index 14a42ed79d0..728bfd01d92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.IosCompliancePolicyRequest; +import com.microsoft.graph.models.extensions.IosCompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosCompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosCompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Compliance Policy Request. */ -public class IosCompliancePolicyRequest extends BaseIosCompliancePolicyRequest implements IIosCompliancePolicyRequest { - +public class IosCompliancePolicyRequest extends BaseRequest implements IIosCompliancePolicyRequest { + /** * The request for the IosCompliancePolicy * @@ -26,4 +32,107 @@ public class IosCompliancePolicyRequest extends BaseIosCompliancePolicyRequest i public IosCompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosCompliancePolicy.class); } + + /** + * Gets the IosCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosCompliancePolicy from the service + * + * @return the IosCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosCompliancePolicy with a source + * + * @param sourceIosCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosCompliancePolicy sourceIosCompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosCompliancePolicy); + } + + /** + * Patches this IosCompliancePolicy with a source + * + * @param sourceIosCompliancePolicy the source object with updates + * @return the updated IosCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCompliancePolicy patch(final IosCompliancePolicy sourceIosCompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceIosCompliancePolicy); + } + + /** + * Creates a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosCompliancePolicy newIosCompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newIosCompliancePolicy); + } + + /** + * Creates a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the new object to create + * @return the created IosCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCompliancePolicy post(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newIosCompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosCompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosCompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosCompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosCompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequestBuilder.java index eb244e5181b..d2ddf40d5b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.IosCompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosCompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Compliance Policy Request Builder. */ -public class IosCompliancePolicyRequestBuilder extends BaseIosCompliancePolicyRequestBuilder implements IIosCompliancePolicyRequestBuilder { +public class IosCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IIosCompliancePolicyRequestBuilder { /** * The request builder for the IosCompliancePolicy @@ -25,4 +28,26 @@ public class IosCompliancePolicyRequestBuilder extends BaseIosCompliancePolicyRe public IosCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosCompliancePolicyRequest instance + */ + public IIosCompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosCompliancePolicyRequest instance + */ + public IIosCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new IosCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequest.java index 79d4686a9cf..cad3fa9d2e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosCustomConfigurationRequest; +import com.microsoft.graph.models.extensions.IosCustomConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosCustomConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosCustomConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Custom Configuration Request. */ -public class IosCustomConfigurationRequest extends BaseIosCustomConfigurationRequest implements IIosCustomConfigurationRequest { - +public class IosCustomConfigurationRequest extends BaseRequest implements IIosCustomConfigurationRequest { + /** * The request for the IosCustomConfiguration * @@ -26,4 +32,107 @@ public class IosCustomConfigurationRequest extends BaseIosCustomConfigurationReq public IosCustomConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosCustomConfiguration.class); } + + /** + * Gets the IosCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosCustomConfiguration from the service + * + * @return the IosCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCustomConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosCustomConfiguration with a source + * + * @param sourceIosCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosCustomConfiguration sourceIosCustomConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosCustomConfiguration); + } + + /** + * Patches this IosCustomConfiguration with a source + * + * @param sourceIosCustomConfiguration the source object with updates + * @return the updated IosCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCustomConfiguration patch(final IosCustomConfiguration sourceIosCustomConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceIosCustomConfiguration); + } + + /** + * Creates a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosCustomConfiguration newIosCustomConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newIosCustomConfiguration); + } + + /** + * Creates a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the new object to create + * @return the created IosCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCustomConfiguration post(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException { + return send(HttpMethod.POST, newIosCustomConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosCustomConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosCustomConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosCustomConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosCustomConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequestBuilder.java index caedb6be747..e57912fa296 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosCustomConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosCustomConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Custom Configuration Request Builder. */ -public class IosCustomConfigurationRequestBuilder extends BaseIosCustomConfigurationRequestBuilder implements IIosCustomConfigurationRequestBuilder { +public class IosCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IIosCustomConfigurationRequestBuilder { /** * The request builder for the IosCustomConfiguration @@ -25,4 +28,26 @@ public class IosCustomConfigurationRequestBuilder extends BaseIosCustomConfigura public IosCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosCustomConfigurationRequest instance + */ + public IIosCustomConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosCustomConfigurationRequest instance + */ + public IIosCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new IosCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequest.java index 96ce5bba8f0..c02e3525933 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.models.extensions.IosDeviceFeaturesConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosDeviceFeaturesConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Device Features Configuration Request. */ -public class IosDeviceFeaturesConfigurationRequest extends BaseIosDeviceFeaturesConfigurationRequest implements IIosDeviceFeaturesConfigurationRequest { - +public class IosDeviceFeaturesConfigurationRequest extends BaseRequest implements IIosDeviceFeaturesConfigurationRequest { + /** * The request for the IosDeviceFeaturesConfiguration * @@ -26,4 +32,107 @@ public class IosDeviceFeaturesConfigurationRequest extends BaseIosDeviceFeatures public IosDeviceFeaturesConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosDeviceFeaturesConfiguration.class); } + + /** + * Gets the IosDeviceFeaturesConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosDeviceFeaturesConfiguration from the service + * + * @return the IosDeviceFeaturesConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosDeviceFeaturesConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosDeviceFeaturesConfiguration with a source + * + * @param sourceIosDeviceFeaturesConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosDeviceFeaturesConfiguration); + } + + /** + * Patches this IosDeviceFeaturesConfiguration with a source + * + * @param sourceIosDeviceFeaturesConfiguration the source object with updates + * @return the updated IosDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosDeviceFeaturesConfiguration patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceIosDeviceFeaturesConfiguration); + } + + /** + * Creates a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newIosDeviceFeaturesConfiguration); + } + + /** + * Creates a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the new object to create + * @return the created IosDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosDeviceFeaturesConfiguration post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException { + return send(HttpMethod.POST, newIosDeviceFeaturesConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosDeviceFeaturesConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosDeviceFeaturesConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosDeviceFeaturesConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosDeviceFeaturesConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequestBuilder.java index 8d6ecea5b31..2e23cb84d3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosDeviceFeaturesConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosDeviceFeaturesConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Device Features Configuration Request Builder. */ -public class IosDeviceFeaturesConfigurationRequestBuilder extends BaseIosDeviceFeaturesConfigurationRequestBuilder implements IIosDeviceFeaturesConfigurationRequestBuilder { +public class IosDeviceFeaturesConfigurationRequestBuilder extends BaseRequestBuilder implements IIosDeviceFeaturesConfigurationRequestBuilder { /** * The request builder for the IosDeviceFeaturesConfiguration @@ -25,4 +28,26 @@ public class IosDeviceFeaturesConfigurationRequestBuilder extends BaseIosDeviceF public IosDeviceFeaturesConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosDeviceFeaturesConfigurationRequest instance + */ + public IIosDeviceFeaturesConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosDeviceFeaturesConfigurationRequest instance + */ + public IIosDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new IosDeviceFeaturesConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequest.java index 3fffb8261c0..2a43e639d1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosGeneralDeviceConfigurationRequest; +import com.microsoft.graph.models.extensions.IosGeneralDeviceConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosGeneralDeviceConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosGeneralDeviceConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios General Device Configuration Request. */ -public class IosGeneralDeviceConfigurationRequest extends BaseIosGeneralDeviceConfigurationRequest implements IIosGeneralDeviceConfigurationRequest { - +public class IosGeneralDeviceConfigurationRequest extends BaseRequest implements IIosGeneralDeviceConfigurationRequest { + /** * The request for the IosGeneralDeviceConfiguration * @@ -26,4 +32,107 @@ public class IosGeneralDeviceConfigurationRequest extends BaseIosGeneralDeviceCo public IosGeneralDeviceConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosGeneralDeviceConfiguration.class); } + + /** + * Gets the IosGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosGeneralDeviceConfiguration from the service + * + * @return the IosGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosGeneralDeviceConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosGeneralDeviceConfiguration with a source + * + * @param sourceIosGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosGeneralDeviceConfiguration); + } + + /** + * Patches this IosGeneralDeviceConfiguration with a source + * + * @param sourceIosGeneralDeviceConfiguration the source object with updates + * @return the updated IosGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosGeneralDeviceConfiguration patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceIosGeneralDeviceConfiguration); + } + + /** + * Creates a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newIosGeneralDeviceConfiguration); + } + + /** + * Creates a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the new object to create + * @return the created IosGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosGeneralDeviceConfiguration post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.POST, newIosGeneralDeviceConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosGeneralDeviceConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosGeneralDeviceConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosGeneralDeviceConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosGeneralDeviceConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequestBuilder.java index ddc96a1421c..97662208afb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosGeneralDeviceConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosGeneralDeviceConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios General Device Configuration Request Builder. */ -public class IosGeneralDeviceConfigurationRequestBuilder extends BaseIosGeneralDeviceConfigurationRequestBuilder implements IIosGeneralDeviceConfigurationRequestBuilder { +public class IosGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IIosGeneralDeviceConfigurationRequestBuilder { /** * The request builder for the IosGeneralDeviceConfiguration @@ -25,4 +28,26 @@ public class IosGeneralDeviceConfigurationRequestBuilder extends BaseIosGeneralD public IosGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosGeneralDeviceConfigurationRequest instance + */ + public IIosGeneralDeviceConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosGeneralDeviceConfigurationRequest instance + */ + public IIosGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new IosGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequest.java index 03db76bd996..e26849302b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosLobAppRequest; +import com.microsoft.graph.requests.extensions.IosLobAppRequest; +import com.microsoft.graph.models.extensions.IosLobApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosLobApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosLobAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Lob App Request. */ -public class IosLobAppRequest extends BaseIosLobAppRequest implements IIosLobAppRequest { - +public class IosLobAppRequest extends BaseRequest implements IIosLobAppRequest { + /** * The request for the IosLobApp * @@ -26,4 +32,107 @@ public class IosLobAppRequest extends BaseIosLobAppRequest implements IIosLobApp public IosLobAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosLobApp.class); } + + /** + * Gets the IosLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosLobApp from the service + * + * @return the IosLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosLobApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosLobApp with a source + * + * @param sourceIosLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosLobApp sourceIosLobApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosLobApp); + } + + /** + * Patches this IosLobApp with a source + * + * @param sourceIosLobApp the source object with updates + * @return the updated IosLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosLobApp patch(final IosLobApp sourceIosLobApp) throws ClientException { + return send(HttpMethod.PATCH, sourceIosLobApp); + } + + /** + * Creates a IosLobApp with a new object + * + * @param newIosLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosLobApp newIosLobApp, final ICallback callback) { + send(HttpMethod.POST, callback, newIosLobApp); + } + + /** + * Creates a IosLobApp with a new object + * + * @param newIosLobApp the new object to create + * @return the created IosLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosLobApp post(final IosLobApp newIosLobApp) throws ClientException { + return send(HttpMethod.POST, newIosLobApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosLobAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosLobAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosLobAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosLobAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequestBuilder.java index 27decdfa358..6e220b122e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosLobAppRequest; +import com.microsoft.graph.requests.extensions.IosLobAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosLobAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Lob App Request Builder. */ -public class IosLobAppRequestBuilder extends BaseIosLobAppRequestBuilder implements IIosLobAppRequestBuilder { +public class IosLobAppRequestBuilder extends BaseRequestBuilder implements IIosLobAppRequestBuilder { /** * The request builder for the IosLobApp @@ -25,4 +28,26 @@ public class IosLobAppRequestBuilder extends BaseIosLobAppRequestBuilder impleme public IosLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosLobAppRequest instance + */ + public IIosLobAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosLobAppRequest instance + */ + public IIosLobAppRequest buildRequest(final java.util.List requestOptions) { + return new IosLobAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionPage.java index a764d2464df..205c29759df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosManagedAppProtection; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Protection Collection Page. */ -public class IosManagedAppProtectionCollectionPage extends BaseIosManagedAppProtectionCollectionPage implements IIosManagedAppProtectionCollectionPage { +public class IosManagedAppProtectionCollectionPage extends BaseCollectionPage implements IIosManagedAppProtectionCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for IosManagedAppProtection * - * @param response the serialized BaseIosManagedAppProtectionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized IosManagedAppProtectionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public IosManagedAppProtectionCollectionPage(final BaseIosManagedAppProtectionCollectionResponse response, final IIosManagedAppProtectionCollectionRequestBuilder builder) { - super(response, builder); + public IosManagedAppProtectionCollectionPage(final IosManagedAppProtectionCollectionResponse response, final IIosManagedAppProtectionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequest.java index b065ee858e7..f004a1ec8dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Protection Collection Request. */ -public class IosManagedAppProtectionCollectionRequest extends BaseIosManagedAppProtectionCollectionRequest implements IIosManagedAppProtectionCollectionRequest { +public class IosManagedAppProtectionCollectionRequest extends BaseCollectionRequest implements IIosManagedAppProtectionCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of IosManagedAppProtection * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public IosManagedAppProtectionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public IosManagedAppProtectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, IosManagedAppProtectionCollectionResponse.class, IIosManagedAppProtectionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IIosManagedAppProtectionCollectionPage get() throws ClientException { + final IosManagedAppProtectionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new IosManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newIosManagedAppProtection, callback); + } + + public IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new IosManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newIosManagedAppProtection); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosManagedAppProtectionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IosManagedAppProtectionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosManagedAppProtectionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IosManagedAppProtectionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IIosManagedAppProtectionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (IosManagedAppProtectionCollectionRequest)this; + } + + public IIosManagedAppProtectionCollectionPage buildFromResponse(final IosManagedAppProtectionCollectionResponse response) { + final IIosManagedAppProtectionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new IosManagedAppProtectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IosManagedAppProtectionCollectionPage page = new IosManagedAppProtectionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequestBuilder.java index 1648a727d3e..97ba8b13261 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Protection Collection Request Builder. */ -public class IosManagedAppProtectionCollectionRequestBuilder extends BaseIosManagedAppProtectionCollectionRequestBuilder implements IIosManagedAppProtectionCollectionRequestBuilder { +public class IosManagedAppProtectionCollectionRequestBuilder extends BaseRequestBuilder implements IIosManagedAppProtectionCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class IosManagedAppProtectionCollectionRequestBuilder extends BaseIosMana public IosManagedAppProtectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IIosManagedAppProtectionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IIosManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new IosManagedAppProtectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IIosManagedAppProtectionRequestBuilder byId(final String id) { + return new IosManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionResponse.java new file mode 100644 index 00000000000..af892338977 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosManagedAppProtection; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Ios Managed App Protection Collection Response. + */ +public class IosManagedAppProtectionCollectionResponse implements IJsonBackedObject { + + /** + * The list of IosManagedAppProtection within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequest.java index 363919c8d00..b8414d86da8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.IosManagedAppProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Protection Request. */ -public class IosManagedAppProtectionRequest extends BaseIosManagedAppProtectionRequest implements IIosManagedAppProtectionRequest { - +public class IosManagedAppProtectionRequest extends BaseRequest implements IIosManagedAppProtectionRequest { + /** * The request for the IosManagedAppProtection * @@ -26,4 +32,107 @@ public class IosManagedAppProtectionRequest extends BaseIosManagedAppProtectionR public IosManagedAppProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosManagedAppProtection.class); } + + /** + * Gets the IosManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosManagedAppProtection from the service + * + * @return the IosManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosManagedAppProtection with a source + * + * @param sourceIosManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosManagedAppProtection sourceIosManagedAppProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosManagedAppProtection); + } + + /** + * Patches this IosManagedAppProtection with a source + * + * @param sourceIosManagedAppProtection the source object with updates + * @return the updated IosManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppProtection patch(final IosManagedAppProtection sourceIosManagedAppProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceIosManagedAppProtection); + } + + /** + * Creates a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newIosManagedAppProtection); + } + + /** + * Creates a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the new object to create + * @return the created IosManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException { + return send(HttpMethod.POST, newIosManagedAppProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosManagedAppProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosManagedAppProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosManagedAppProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosManagedAppProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequestBuilder.java index 2914e44f8c9..0d6f755f5b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosManagedAppProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Protection Request Builder. */ -public class IosManagedAppProtectionRequestBuilder extends BaseIosManagedAppProtectionRequestBuilder implements IIosManagedAppProtectionRequestBuilder { +public class IosManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IIosManagedAppProtectionRequestBuilder { /** * The request builder for the IosManagedAppProtection @@ -25,4 +34,42 @@ public class IosManagedAppProtectionRequestBuilder extends BaseIosManagedAppProt public IosManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosManagedAppProtectionRequest instance + */ + public IIosManagedAppProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosManagedAppProtectionRequest instance + */ + public IIosManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { + return new IosManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedMobileAppCollectionRequestBuilder apps() { + return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); + } + + public IManagedMobileAppRequestBuilder apps(final String id) { + return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { + return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequest.java index 47aa13b16e6..5e461be79d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.IosManagedAppRegistrationRequest; +import com.microsoft.graph.models.extensions.IosManagedAppRegistration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosManagedAppRegistration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosManagedAppRegistrationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Registration Request. */ -public class IosManagedAppRegistrationRequest extends BaseIosManagedAppRegistrationRequest implements IIosManagedAppRegistrationRequest { - +public class IosManagedAppRegistrationRequest extends BaseRequest implements IIosManagedAppRegistrationRequest { + /** * The request for the IosManagedAppRegistration * @@ -26,4 +32,107 @@ public class IosManagedAppRegistrationRequest extends BaseIosManagedAppRegistrat public IosManagedAppRegistrationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosManagedAppRegistration.class); } + + /** + * Gets the IosManagedAppRegistration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosManagedAppRegistration from the service + * + * @return the IosManagedAppRegistration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppRegistration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosManagedAppRegistration with a source + * + * @param sourceIosManagedAppRegistration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosManagedAppRegistration sourceIosManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosManagedAppRegistration); + } + + /** + * Patches this IosManagedAppRegistration with a source + * + * @param sourceIosManagedAppRegistration the source object with updates + * @return the updated IosManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppRegistration patch(final IosManagedAppRegistration sourceIosManagedAppRegistration) throws ClientException { + return send(HttpMethod.PATCH, sourceIosManagedAppRegistration); + } + + /** + * Creates a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosManagedAppRegistration newIosManagedAppRegistration, final ICallback callback) { + send(HttpMethod.POST, callback, newIosManagedAppRegistration); + } + + /** + * Creates a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the new object to create + * @return the created IosManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppRegistration post(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException { + return send(HttpMethod.POST, newIosManagedAppRegistration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosManagedAppRegistrationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosManagedAppRegistrationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosManagedAppRegistrationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosManagedAppRegistrationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequestBuilder.java index 4e63b3c45a2..33d15d0bec6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.IosManagedAppRegistrationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosManagedAppRegistrationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Managed App Registration Request Builder. */ -public class IosManagedAppRegistrationRequestBuilder extends BaseIosManagedAppRegistrationRequestBuilder implements IIosManagedAppRegistrationRequestBuilder { +public class IosManagedAppRegistrationRequestBuilder extends BaseRequestBuilder implements IIosManagedAppRegistrationRequestBuilder { /** * The request builder for the IosManagedAppRegistration @@ -25,4 +28,26 @@ public class IosManagedAppRegistrationRequestBuilder extends BaseIosManagedAppRe public IosManagedAppRegistrationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosManagedAppRegistrationRequest instance + */ + public IIosManagedAppRegistrationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosManagedAppRegistrationRequest instance + */ + public IIosManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions) { + return new IosManagedAppRegistrationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequest.java index 493b8db9a91..73fa77a1611 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosMobileAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosMobileAppConfigurationRequest; +import com.microsoft.graph.models.extensions.IosMobileAppConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosMobileAppConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosMobileAppConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Mobile App Configuration Request. */ -public class IosMobileAppConfigurationRequest extends BaseIosMobileAppConfigurationRequest implements IIosMobileAppConfigurationRequest { - +public class IosMobileAppConfigurationRequest extends BaseRequest implements IIosMobileAppConfigurationRequest { + /** * The request for the IosMobileAppConfiguration * @@ -26,4 +32,107 @@ public class IosMobileAppConfigurationRequest extends BaseIosMobileAppConfigurat public IosMobileAppConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosMobileAppConfiguration.class); } + + /** + * Gets the IosMobileAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosMobileAppConfiguration from the service + * + * @return the IosMobileAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosMobileAppConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosMobileAppConfiguration with a source + * + * @param sourceIosMobileAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosMobileAppConfiguration); + } + + /** + * Patches this IosMobileAppConfiguration with a source + * + * @param sourceIosMobileAppConfiguration the source object with updates + * @return the updated IosMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosMobileAppConfiguration patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceIosMobileAppConfiguration); + } + + /** + * Creates a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosMobileAppConfiguration newIosMobileAppConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newIosMobileAppConfiguration); + } + + /** + * Creates a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the new object to create + * @return the created IosMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosMobileAppConfiguration post(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException { + return send(HttpMethod.POST, newIosMobileAppConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosMobileAppConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosMobileAppConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosMobileAppConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosMobileAppConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequestBuilder.java index 49333f350b4..010f45ea7ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosMobileAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosMobileAppConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosMobileAppConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Mobile App Configuration Request Builder. */ -public class IosMobileAppConfigurationRequestBuilder extends BaseIosMobileAppConfigurationRequestBuilder implements IIosMobileAppConfigurationRequestBuilder { +public class IosMobileAppConfigurationRequestBuilder extends BaseRequestBuilder implements IIosMobileAppConfigurationRequestBuilder { /** * The request builder for the IosMobileAppConfiguration @@ -25,4 +28,26 @@ public class IosMobileAppConfigurationRequestBuilder extends BaseIosMobileAppCon public IosMobileAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosMobileAppConfigurationRequest instance + */ + public IIosMobileAppConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosMobileAppConfigurationRequest instance + */ + public IIosMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new IosMobileAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequest.java index c4f3bdfdcbf..7c875e651e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosStoreAppRequest; +import com.microsoft.graph.requests.extensions.IosStoreAppRequest; +import com.microsoft.graph.models.extensions.IosStoreApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosStoreApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosStoreAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Store App Request. */ -public class IosStoreAppRequest extends BaseIosStoreAppRequest implements IIosStoreAppRequest { - +public class IosStoreAppRequest extends BaseRequest implements IIosStoreAppRequest { + /** * The request for the IosStoreApp * @@ -26,4 +32,107 @@ public class IosStoreAppRequest extends BaseIosStoreAppRequest implements IIosSt public IosStoreAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosStoreApp.class); } + + /** + * Gets the IosStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosStoreApp from the service + * + * @return the IosStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosStoreApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosStoreApp with a source + * + * @param sourceIosStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosStoreApp sourceIosStoreApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosStoreApp); + } + + /** + * Patches this IosStoreApp with a source + * + * @param sourceIosStoreApp the source object with updates + * @return the updated IosStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosStoreApp patch(final IosStoreApp sourceIosStoreApp) throws ClientException { + return send(HttpMethod.PATCH, sourceIosStoreApp); + } + + /** + * Creates a IosStoreApp with a new object + * + * @param newIosStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosStoreApp newIosStoreApp, final ICallback callback) { + send(HttpMethod.POST, callback, newIosStoreApp); + } + + /** + * Creates a IosStoreApp with a new object + * + * @param newIosStoreApp the new object to create + * @return the created IosStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosStoreApp post(final IosStoreApp newIosStoreApp) throws ClientException { + return send(HttpMethod.POST, newIosStoreApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosStoreAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosStoreAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosStoreAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosStoreAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequestBuilder.java index 8b9678324ef..19ccf958ab4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosStoreAppRequest; +import com.microsoft.graph.requests.extensions.IosStoreAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosStoreAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Store App Request Builder. */ -public class IosStoreAppRequestBuilder extends BaseIosStoreAppRequestBuilder implements IIosStoreAppRequestBuilder { +public class IosStoreAppRequestBuilder extends BaseRequestBuilder implements IIosStoreAppRequestBuilder { /** * The request builder for the IosStoreApp @@ -25,4 +28,26 @@ public class IosStoreAppRequestBuilder extends BaseIosStoreAppRequestBuilder imp public IosStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosStoreAppRequest instance + */ + public IIosStoreAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosStoreAppRequest instance + */ + public IIosStoreAppRequest buildRequest(final java.util.List requestOptions) { + return new IosStoreAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequest.java index 4d28efb1afc..5fa812a6842 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosUpdateConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosUpdateConfigurationRequest; +import com.microsoft.graph.models.extensions.IosUpdateConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosUpdateConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosUpdateConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Configuration Request. */ -public class IosUpdateConfigurationRequest extends BaseIosUpdateConfigurationRequest implements IIosUpdateConfigurationRequest { - +public class IosUpdateConfigurationRequest extends BaseRequest implements IIosUpdateConfigurationRequest { + /** * The request for the IosUpdateConfiguration * @@ -26,4 +32,107 @@ public class IosUpdateConfigurationRequest extends BaseIosUpdateConfigurationReq public IosUpdateConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosUpdateConfiguration.class); } + + /** + * Gets the IosUpdateConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosUpdateConfiguration from the service + * + * @return the IosUpdateConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosUpdateConfiguration with a source + * + * @param sourceIosUpdateConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosUpdateConfiguration sourceIosUpdateConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosUpdateConfiguration); + } + + /** + * Patches this IosUpdateConfiguration with a source + * + * @param sourceIosUpdateConfiguration the source object with updates + * @return the updated IosUpdateConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateConfiguration patch(final IosUpdateConfiguration sourceIosUpdateConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceIosUpdateConfiguration); + } + + /** + * Creates a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosUpdateConfiguration newIosUpdateConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newIosUpdateConfiguration); + } + + /** + * Creates a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the new object to create + * @return the created IosUpdateConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateConfiguration post(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException { + return send(HttpMethod.POST, newIosUpdateConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosUpdateConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosUpdateConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosUpdateConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosUpdateConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequestBuilder.java index 121149e8708..4571fdb6e06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosUpdateConfigurationRequest; +import com.microsoft.graph.requests.extensions.IosUpdateConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosUpdateConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Configuration Request Builder. */ -public class IosUpdateConfigurationRequestBuilder extends BaseIosUpdateConfigurationRequestBuilder implements IIosUpdateConfigurationRequestBuilder { +public class IosUpdateConfigurationRequestBuilder extends BaseRequestBuilder implements IIosUpdateConfigurationRequestBuilder { /** * The request builder for the IosUpdateConfiguration @@ -25,4 +28,26 @@ public class IosUpdateConfigurationRequestBuilder extends BaseIosUpdateConfigura public IosUpdateConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosUpdateConfigurationRequest instance + */ + public IIosUpdateConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosUpdateConfigurationRequest instance + */ + public IIosUpdateConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new IosUpdateConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionPage.java index 3ae82d3a833..c0b715c8f8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Device Status Collection Page. */ -public class IosUpdateDeviceStatusCollectionPage extends BaseIosUpdateDeviceStatusCollectionPage implements IIosUpdateDeviceStatusCollectionPage { +public class IosUpdateDeviceStatusCollectionPage extends BaseCollectionPage implements IIosUpdateDeviceStatusCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for IosUpdateDeviceStatus * - * @param response the serialized BaseIosUpdateDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized IosUpdateDeviceStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public IosUpdateDeviceStatusCollectionPage(final BaseIosUpdateDeviceStatusCollectionResponse response, final IIosUpdateDeviceStatusCollectionRequestBuilder builder) { - super(response, builder); + public IosUpdateDeviceStatusCollectionPage(final IosUpdateDeviceStatusCollectionResponse response, final IIosUpdateDeviceStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequest.java index 06713ea5f32..62ec4f4990b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Device Status Collection Request. */ -public class IosUpdateDeviceStatusCollectionRequest extends BaseIosUpdateDeviceStatusCollectionRequest implements IIosUpdateDeviceStatusCollectionRequest { +public class IosUpdateDeviceStatusCollectionRequest extends BaseCollectionRequest implements IIosUpdateDeviceStatusCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of IosUpdateDeviceStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public IosUpdateDeviceStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public IosUpdateDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, IosUpdateDeviceStatusCollectionResponse.class, IIosUpdateDeviceStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IIosUpdateDeviceStatusCollectionPage get() throws ClientException { + final IosUpdateDeviceStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new IosUpdateDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newIosUpdateDeviceStatus, callback); + } + + public IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new IosUpdateDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newIosUpdateDeviceStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosUpdateDeviceStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IosUpdateDeviceStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosUpdateDeviceStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IosUpdateDeviceStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IIosUpdateDeviceStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (IosUpdateDeviceStatusCollectionRequest)this; + } + + public IIosUpdateDeviceStatusCollectionPage buildFromResponse(final IosUpdateDeviceStatusCollectionResponse response) { + final IIosUpdateDeviceStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new IosUpdateDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IosUpdateDeviceStatusCollectionPage page = new IosUpdateDeviceStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequestBuilder.java index b55dc22aa1b..3c493242c0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Device Status Collection Request Builder. */ -public class IosUpdateDeviceStatusCollectionRequestBuilder extends BaseIosUpdateDeviceStatusCollectionRequestBuilder implements IIosUpdateDeviceStatusCollectionRequestBuilder { +public class IosUpdateDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IIosUpdateDeviceStatusCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class IosUpdateDeviceStatusCollectionRequestBuilder extends BaseIosUpdate public IosUpdateDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IIosUpdateDeviceStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IIosUpdateDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new IosUpdateDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IIosUpdateDeviceStatusRequestBuilder byId(final String id) { + return new IosUpdateDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionResponse.java new file mode 100644 index 00000000000..7bb70bc191c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Ios Update Device Status Collection Response. + */ +public class IosUpdateDeviceStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of IosUpdateDeviceStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequest.java index a3207bda8ad..e6640cbaace 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusRequest; +import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Device Status Request. */ -public class IosUpdateDeviceStatusRequest extends BaseIosUpdateDeviceStatusRequest implements IIosUpdateDeviceStatusRequest { - +public class IosUpdateDeviceStatusRequest extends BaseRequest implements IIosUpdateDeviceStatusRequest { + /** * The request for the IosUpdateDeviceStatus * @@ -26,4 +32,107 @@ public class IosUpdateDeviceStatusRequest extends BaseIosUpdateDeviceStatusReque public IosUpdateDeviceStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosUpdateDeviceStatus.class); } + + /** + * Gets the IosUpdateDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosUpdateDeviceStatus from the service + * + * @return the IosUpdateDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateDeviceStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosUpdateDeviceStatus with a source + * + * @param sourceIosUpdateDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosUpdateDeviceStatus); + } + + /** + * Patches this IosUpdateDeviceStatus with a source + * + * @param sourceIosUpdateDeviceStatus the source object with updates + * @return the updated IosUpdateDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateDeviceStatus patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceIosUpdateDeviceStatus); + } + + /** + * Creates a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newIosUpdateDeviceStatus); + } + + /** + * Creates a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the new object to create + * @return the created IosUpdateDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException { + return send(HttpMethod.POST, newIosUpdateDeviceStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosUpdateDeviceStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosUpdateDeviceStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosUpdateDeviceStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosUpdateDeviceStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequestBuilder.java index 291d79f3b3f..718c9a572ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosUpdateDeviceStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Update Device Status Request Builder. */ -public class IosUpdateDeviceStatusRequestBuilder extends BaseIosUpdateDeviceStatusRequestBuilder implements IIosUpdateDeviceStatusRequestBuilder { +public class IosUpdateDeviceStatusRequestBuilder extends BaseRequestBuilder implements IIosUpdateDeviceStatusRequestBuilder { /** * The request builder for the IosUpdateDeviceStatus @@ -25,4 +28,26 @@ public class IosUpdateDeviceStatusRequestBuilder extends BaseIosUpdateDeviceStat public IosUpdateDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosUpdateDeviceStatusRequest instance + */ + public IIosUpdateDeviceStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosUpdateDeviceStatusRequest instance + */ + public IIosUpdateDeviceStatusRequest buildRequest(final java.util.List requestOptions) { + return new IosUpdateDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequest.java index 6a308638678..cb0e4e7014d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppAppRequest; +import com.microsoft.graph.requests.extensions.IosVppAppRequest; +import com.microsoft.graph.models.extensions.IosVppApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosVppApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosVppAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp App Request. */ -public class IosVppAppRequest extends BaseIosVppAppRequest implements IIosVppAppRequest { - +public class IosVppAppRequest extends BaseRequest implements IIosVppAppRequest { + /** * The request for the IosVppApp * @@ -26,4 +32,107 @@ public class IosVppAppRequest extends BaseIosVppAppRequest implements IIosVppApp public IosVppAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosVppApp.class); } + + /** + * Gets the IosVppApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosVppApp from the service + * + * @return the IosVppApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosVppApp with a source + * + * @param sourceIosVppApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosVppApp sourceIosVppApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosVppApp); + } + + /** + * Patches this IosVppApp with a source + * + * @param sourceIosVppApp the source object with updates + * @return the updated IosVppApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppApp patch(final IosVppApp sourceIosVppApp) throws ClientException { + return send(HttpMethod.PATCH, sourceIosVppApp); + } + + /** + * Creates a IosVppApp with a new object + * + * @param newIosVppApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosVppApp newIosVppApp, final ICallback callback) { + send(HttpMethod.POST, callback, newIosVppApp); + } + + /** + * Creates a IosVppApp with a new object + * + * @param newIosVppApp the new object to create + * @return the created IosVppApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppApp post(final IosVppApp newIosVppApp) throws ClientException { + return send(HttpMethod.POST, newIosVppApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosVppAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosVppAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosVppAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosVppAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequestBuilder.java index 1f35337c8de..8dbb09ce139 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppAppRequest; +import com.microsoft.graph.requests.extensions.IosVppAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosVppAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp App Request Builder. */ -public class IosVppAppRequestBuilder extends BaseIosVppAppRequestBuilder implements IIosVppAppRequestBuilder { +public class IosVppAppRequestBuilder extends BaseRequestBuilder implements IIosVppAppRequestBuilder { /** * The request builder for the IosVppApp @@ -25,4 +28,26 @@ public class IosVppAppRequestBuilder extends BaseIosVppAppRequestBuilder impleme public IosVppAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosVppAppRequest instance + */ + public IIosVppAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosVppAppRequest instance + */ + public IIosVppAppRequest buildRequest(final java.util.List requestOptions) { + return new IosVppAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequest.java index 47c486e8319..b698babc637 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppEBookAssignmentRequest; +import com.microsoft.graph.requests.extensions.IosVppEBookAssignmentRequest; +import com.microsoft.graph.models.extensions.IosVppEBookAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosVppEBookAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosVppEBookAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp EBook Assignment Request. */ -public class IosVppEBookAssignmentRequest extends BaseIosVppEBookAssignmentRequest implements IIosVppEBookAssignmentRequest { - +public class IosVppEBookAssignmentRequest extends BaseRequest implements IIosVppEBookAssignmentRequest { + /** * The request for the IosVppEBookAssignment * @@ -26,4 +32,107 @@ public class IosVppEBookAssignmentRequest extends BaseIosVppEBookAssignmentReque public IosVppEBookAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosVppEBookAssignment.class); } + + /** + * Gets the IosVppEBookAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosVppEBookAssignment from the service + * + * @return the IosVppEBookAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBookAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosVppEBookAssignment with a source + * + * @param sourceIosVppEBookAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosVppEBookAssignment sourceIosVppEBookAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosVppEBookAssignment); + } + + /** + * Patches this IosVppEBookAssignment with a source + * + * @param sourceIosVppEBookAssignment the source object with updates + * @return the updated IosVppEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBookAssignment patch(final IosVppEBookAssignment sourceIosVppEBookAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceIosVppEBookAssignment); + } + + /** + * Creates a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosVppEBookAssignment newIosVppEBookAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newIosVppEBookAssignment); + } + + /** + * Creates a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the new object to create + * @return the created IosVppEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBookAssignment post(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException { + return send(HttpMethod.POST, newIosVppEBookAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosVppEBookAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosVppEBookAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosVppEBookAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosVppEBookAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequestBuilder.java index f63b16c05ed..e70477ddbaa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppEBookAssignmentRequest; +import com.microsoft.graph.requests.extensions.IosVppEBookAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosVppEBookAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp EBook Assignment Request Builder. */ -public class IosVppEBookAssignmentRequestBuilder extends BaseIosVppEBookAssignmentRequestBuilder implements IIosVppEBookAssignmentRequestBuilder { +public class IosVppEBookAssignmentRequestBuilder extends BaseRequestBuilder implements IIosVppEBookAssignmentRequestBuilder { /** * The request builder for the IosVppEBookAssignment @@ -25,4 +28,26 @@ public class IosVppEBookAssignmentRequestBuilder extends BaseIosVppEBookAssignme public IosVppEBookAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosVppEBookAssignmentRequest instance + */ + public IIosVppEBookAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosVppEBookAssignmentRequest instance + */ + public IIosVppEBookAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new IosVppEBookAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequest.java index 598788d1f98..16cee853851 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppEBookRequest; +import com.microsoft.graph.requests.extensions.IosVppEBookRequest; +import com.microsoft.graph.models.extensions.IosVppEBook; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.IosVppEBook; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosVppEBookRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp EBook Request. */ -public class IosVppEBookRequest extends BaseIosVppEBookRequest implements IIosVppEBookRequest { - +public class IosVppEBookRequest extends BaseRequest implements IIosVppEBookRequest { + /** * The request for the IosVppEBook * @@ -26,4 +32,107 @@ public class IosVppEBookRequest extends BaseIosVppEBookRequest implements IIosVp public IosVppEBookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, IosVppEBook.class); } + + /** + * Gets the IosVppEBook from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the IosVppEBook from the service + * + * @return the IosVppEBook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBook get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this IosVppEBook with a source + * + * @param sourceIosVppEBook the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final IosVppEBook sourceIosVppEBook, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceIosVppEBook); + } + + /** + * Patches this IosVppEBook with a source + * + * @param sourceIosVppEBook the source object with updates + * @return the updated IosVppEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBook patch(final IosVppEBook sourceIosVppEBook) throws ClientException { + return send(HttpMethod.PATCH, sourceIosVppEBook); + } + + /** + * Creates a IosVppEBook with a new object + * + * @param newIosVppEBook the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final IosVppEBook newIosVppEBook, final ICallback callback) { + send(HttpMethod.POST, callback, newIosVppEBook); + } + + /** + * Creates a IosVppEBook with a new object + * + * @param newIosVppEBook the new object to create + * @return the created IosVppEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBook post(final IosVppEBook newIosVppEBook) throws ClientException { + return send(HttpMethod.POST, newIosVppEBook); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IIosVppEBookRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IosVppEBookRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IIosVppEBookRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (IosVppEBookRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequestBuilder.java index a9e839bda39..226f2c2e66e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IIosVppEBookRequest; +import com.microsoft.graph.requests.extensions.IosVppEBookRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseIosVppEBookRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Ios Vpp EBook Request Builder. */ -public class IosVppEBookRequestBuilder extends BaseIosVppEBookRequestBuilder implements IIosVppEBookRequestBuilder { +public class IosVppEBookRequestBuilder extends BaseRequestBuilder implements IIosVppEBookRequestBuilder { /** * The request builder for the IosVppEBook @@ -25,4 +28,26 @@ public class IosVppEBookRequestBuilder extends BaseIosVppEBookRequestBuilder imp public IosVppEBookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IIosVppEBookRequest instance + */ + public IIosVppEBookRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IIosVppEBookRequest instance + */ + public IIosVppEBookRequest buildRequest(final java.util.List requestOptions) { + return new IosVppEBookRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequest.java index d55765e049e..3f330255275 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IItemAttachmentRequest; +import com.microsoft.graph.requests.extensions.ItemAttachmentRequest; +import com.microsoft.graph.models.extensions.ItemAttachment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ItemAttachment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseItemAttachmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Item Attachment Request. */ -public class ItemAttachmentRequest extends BaseItemAttachmentRequest implements IItemAttachmentRequest { - +public class ItemAttachmentRequest extends BaseRequest implements IItemAttachmentRequest { + /** * The request for the ItemAttachment * @@ -26,4 +32,107 @@ public class ItemAttachmentRequest extends BaseItemAttachmentRequest implements public ItemAttachmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ItemAttachment.class); } + + /** + * Gets the ItemAttachment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ItemAttachment from the service + * + * @return the ItemAttachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemAttachment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ItemAttachment with a source + * + * @param sourceItemAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ItemAttachment sourceItemAttachment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceItemAttachment); + } + + /** + * Patches this ItemAttachment with a source + * + * @param sourceItemAttachment the source object with updates + * @return the updated ItemAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemAttachment patch(final ItemAttachment sourceItemAttachment) throws ClientException { + return send(HttpMethod.PATCH, sourceItemAttachment); + } + + /** + * Creates a ItemAttachment with a new object + * + * @param newItemAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ItemAttachment newItemAttachment, final ICallback callback) { + send(HttpMethod.POST, callback, newItemAttachment); + } + + /** + * Creates a ItemAttachment with a new object + * + * @param newItemAttachment the new object to create + * @return the created ItemAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemAttachment post(final ItemAttachment newItemAttachment) throws ClientException { + return send(HttpMethod.POST, newItemAttachment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IItemAttachmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ItemAttachmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IItemAttachmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ItemAttachmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequestBuilder.java index f76036728c7..bb400470400 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IItemAttachmentRequest; +import com.microsoft.graph.requests.extensions.ItemAttachmentRequest; +import com.microsoft.graph.requests.extensions.IOutlookItemRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookItemRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseItemAttachmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Item Attachment Request Builder. */ -public class ItemAttachmentRequestBuilder extends BaseItemAttachmentRequestBuilder implements IItemAttachmentRequestBuilder { +public class ItemAttachmentRequestBuilder extends BaseRequestBuilder implements IItemAttachmentRequestBuilder { /** * The request builder for the ItemAttachment @@ -25,4 +30,35 @@ public class ItemAttachmentRequestBuilder extends BaseItemAttachmentRequestBuild public ItemAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IItemAttachmentRequest instance + */ + public IItemAttachmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IItemAttachmentRequest instance + */ + public IItemAttachmentRequest buildRequest(final java.util.List requestOptions) { + return new ItemAttachmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for OutlookItem + * + * @return the IOutlookItemRequestBuilder instance + */ + public IOutlookItemRequestBuilder item() { + return new OutlookItemRequestBuilder(getRequestUrlWithAdditionalSegment("item"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionPage.java index 683eeef212f..046e23f1ba3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.LicenseDetails; +import com.microsoft.graph.requests.extensions.ILicenseDetailsCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsCollectionPage; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Details Collection Page. */ -public class LicenseDetailsCollectionPage extends BaseLicenseDetailsCollectionPage implements ILicenseDetailsCollectionPage { +public class LicenseDetailsCollectionPage extends BaseCollectionPage implements ILicenseDetailsCollectionPage { /** - * A collection page for User. + * A collection page for LicenseDetails * - * @param response the serialized BaseLicenseDetailsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized LicenseDetailsCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public LicenseDetailsCollectionPage(final BaseLicenseDetailsCollectionResponse response, final ILicenseDetailsCollectionRequestBuilder builder) { - super(response, builder); + public LicenseDetailsCollectionPage(final LicenseDetailsCollectionResponse response, final ILicenseDetailsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequest.java index f718f334a8a..7baf7f6a3c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Details Collection Request. */ -public class LicenseDetailsCollectionRequest extends BaseLicenseDetailsCollectionRequest implements ILicenseDetailsCollectionRequest { +public class LicenseDetailsCollectionRequest extends BaseCollectionRequest implements ILicenseDetailsCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of LicenseDetails * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public LicenseDetailsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public LicenseDetailsCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, LicenseDetailsCollectionResponse.class, ILicenseDetailsCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ILicenseDetailsCollectionPage get() throws ClientException { + final LicenseDetailsCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final LicenseDetails newLicenseDetails, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new LicenseDetailsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newLicenseDetails, callback); + } + + public LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new LicenseDetailsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newLicenseDetails); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ILicenseDetailsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (LicenseDetailsCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ILicenseDetailsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (LicenseDetailsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ILicenseDetailsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (LicenseDetailsCollectionRequest)this; + } + + public ILicenseDetailsCollectionPage buildFromResponse(final LicenseDetailsCollectionResponse response) { + final ILicenseDetailsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new LicenseDetailsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final LicenseDetailsCollectionPage page = new LicenseDetailsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequestBuilder.java index 7be016c784b..2025fc8e839 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Details Collection Request Builder. */ -public class LicenseDetailsCollectionRequestBuilder extends BaseLicenseDetailsCollectionRequestBuilder implements ILicenseDetailsCollectionRequestBuilder { +public class LicenseDetailsCollectionRequestBuilder extends BaseRequestBuilder implements ILicenseDetailsCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,18 @@ public class LicenseDetailsCollectionRequestBuilder extends BaseLicenseDetailsCo public LicenseDetailsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ILicenseDetailsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ILicenseDetailsCollectionRequest buildRequest(final java.util.List requestOptions) { + return new LicenseDetailsCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ILicenseDetailsRequestBuilder byId(final String id) { + return new LicenseDetailsRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionResponse.java new file mode 100644 index 00000000000..d4176c50bad --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.LicenseDetails; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the License Details Collection Response. + */ +public class LicenseDetailsCollectionResponse implements IJsonBackedObject { + + /** + * The list of LicenseDetails within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequest.java index f8ef3b44285..9eebe0660e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ILicenseDetailsRequest; +import com.microsoft.graph.requests.extensions.LicenseDetailsRequest; +import com.microsoft.graph.models.extensions.LicenseDetails; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.LicenseDetails; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Details Request. */ -public class LicenseDetailsRequest extends BaseLicenseDetailsRequest implements ILicenseDetailsRequest { - +public class LicenseDetailsRequest extends BaseRequest implements ILicenseDetailsRequest { + /** * The request for the LicenseDetails * @@ -26,4 +32,107 @@ public class LicenseDetailsRequest extends BaseLicenseDetailsRequest implements public LicenseDetailsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, LicenseDetails.class); } + + /** + * Gets the LicenseDetails from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the LicenseDetails from the service + * + * @return the LicenseDetails from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LicenseDetails get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this LicenseDetails with a source + * + * @param sourceLicenseDetails the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final LicenseDetails sourceLicenseDetails, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceLicenseDetails); + } + + /** + * Patches this LicenseDetails with a source + * + * @param sourceLicenseDetails the source object with updates + * @return the updated LicenseDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LicenseDetails patch(final LicenseDetails sourceLicenseDetails) throws ClientException { + return send(HttpMethod.PATCH, sourceLicenseDetails); + } + + /** + * Creates a LicenseDetails with a new object + * + * @param newLicenseDetails the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final LicenseDetails newLicenseDetails, final ICallback callback) { + send(HttpMethod.POST, callback, newLicenseDetails); + } + + /** + * Creates a LicenseDetails with a new object + * + * @param newLicenseDetails the new object to create + * @return the created LicenseDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException { + return send(HttpMethod.POST, newLicenseDetails); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ILicenseDetailsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (LicenseDetailsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ILicenseDetailsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (LicenseDetailsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequestBuilder.java index fff2c5269c7..e44db68d31a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ILicenseDetailsRequest; +import com.microsoft.graph.requests.extensions.LicenseDetailsRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLicenseDetailsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the License Details Request Builder. */ -public class LicenseDetailsRequestBuilder extends BaseLicenseDetailsRequestBuilder implements ILicenseDetailsRequestBuilder { +public class LicenseDetailsRequestBuilder extends BaseRequestBuilder implements ILicenseDetailsRequestBuilder { /** * The request builder for the LicenseDetails @@ -25,4 +28,26 @@ public class LicenseDetailsRequestBuilder extends BaseLicenseDetailsRequestBuild public LicenseDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ILicenseDetailsRequest instance + */ + public ILicenseDetailsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ILicenseDetailsRequest instance + */ + public ILicenseDetailsRequest buildRequest(final java.util.List requestOptions) { + return new LicenseDetailsRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionPage.java index 6a318e2f053..719c21fdc68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.List; +import com.microsoft.graph.requests.extensions.IListCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseListCollectionPage; -import com.microsoft.graph.requests.generated.BaseListCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Collection Page. */ -public class ListCollectionPage extends BaseListCollectionPage implements IListCollectionPage { +public class ListCollectionPage extends BaseCollectionPage implements IListCollectionPage { /** - * A collection page for Site. + * A collection page for List * - * @param response the serialized BaseListCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ListCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ListCollectionPage(final BaseListCollectionResponse response, final IListCollectionRequestBuilder builder) { - super(response, builder); + public ListCollectionPage(final ListCollectionResponse response, final IListCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequest.java index 3a5f5ac9310..26ef89f8070 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Collection Request. */ -public class ListCollectionRequest extends BaseListCollectionRequest implements IListCollectionRequest { +public class ListCollectionRequest extends BaseCollectionRequest implements IListCollectionRequest { /** - * The request for this collection of Site + * The request builder for this collection of List * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ListCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ListCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ListCollectionResponse.class, IListCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IListCollectionPage get() throws ClientException { + final ListCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final List newList, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ListRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newList, callback); + } + + public List post(final List newList) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ListRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newList); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IListCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ListCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IListCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ListCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IListCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ListCollectionRequest)this; + } + + public IListCollectionPage buildFromResponse(final ListCollectionResponse response) { + final IListCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ListCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ListCollectionPage page = new ListCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequestBuilder.java index 9378883e7b0..5c68080878d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Collection Request Builder. */ -public class ListCollectionRequestBuilder extends BaseListCollectionRequestBuilder implements IListCollectionRequestBuilder { +public class ListCollectionRequestBuilder extends BaseRequestBuilder implements IListCollectionRequestBuilder { /** * The request builder for this collection of Site @@ -25,4 +33,18 @@ public class ListCollectionRequestBuilder extends BaseListCollectionRequestBuild public ListCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IListCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IListCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ListCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IListRequestBuilder byId(final String id) { + return new ListRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionResponse.java new file mode 100644 index 00000000000..0e75b0d58de --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.List; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the List Collection Response. + */ +public class ListCollectionResponse implements IJsonBackedObject { + + /** + * The list of List within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionPage.java index deff7abdf30..db6b48ce427 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ListItem; +import com.microsoft.graph.requests.extensions.IListItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseListItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseListItemCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Collection Page. */ -public class ListItemCollectionPage extends BaseListItemCollectionPage implements IListItemCollectionPage { +public class ListItemCollectionPage extends BaseCollectionPage implements IListItemCollectionPage { /** - * A collection page for List. + * A collection page for ListItem * - * @param response the serialized BaseListItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ListItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ListItemCollectionPage(final BaseListItemCollectionResponse response, final IListItemCollectionRequestBuilder builder) { - super(response, builder); + public ListItemCollectionPage(final ListItemCollectionResponse response, final IListItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequest.java index fa24f638194..91ca871a71d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Collection Request. */ -public class ListItemCollectionRequest extends BaseListItemCollectionRequest implements IListItemCollectionRequest { +public class ListItemCollectionRequest extends BaseCollectionRequest implements IListItemCollectionRequest { /** - * The request for this collection of List + * The request builder for this collection of ListItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ListItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ListItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ListItemCollectionResponse.class, IListItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IListItemCollectionPage get() throws ClientException { + final ListItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ListItem newListItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ListItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newListItem, callback); + } + + public ListItem post(final ListItem newListItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ListItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newListItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IListItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ListItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IListItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ListItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IListItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ListItemCollectionRequest)this; + } + + public IListItemCollectionPage buildFromResponse(final ListItemCollectionResponse response) { + final IListItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ListItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ListItemCollectionPage page = new ListItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequestBuilder.java index 2bb08d5bccb..2a270840794 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Collection Request Builder. */ -public class ListItemCollectionRequestBuilder extends BaseListItemCollectionRequestBuilder implements IListItemCollectionRequestBuilder { +public class ListItemCollectionRequestBuilder extends BaseRequestBuilder implements IListItemCollectionRequestBuilder { /** * The request builder for this collection of List @@ -25,4 +33,18 @@ public class ListItemCollectionRequestBuilder extends BaseListItemCollectionRequ public ListItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IListItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IListItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ListItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IListItemRequestBuilder byId(final String id) { + return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionResponse.java new file mode 100644 index 00000000000..ba548f7d6be --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ListItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the List Item Collection Response. + */ +public class ListItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of ListItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequest.java index 07434b7ab5a..e14d593c5b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemRequest; +import com.microsoft.graph.requests.extensions.ListItemRequest; +import com.microsoft.graph.models.extensions.ListItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ListItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Request. */ -public class ListItemRequest extends BaseListItemRequest implements IListItemRequest { - +public class ListItemRequest extends BaseRequest implements IListItemRequest { + /** * The request for the ListItem * @@ -26,4 +32,107 @@ public class ListItemRequest extends BaseListItemRequest implements IListItemReq public ListItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ListItem.class); } + + /** + * Gets the ListItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ListItem from the service + * + * @return the ListItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ListItem with a source + * + * @param sourceListItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ListItem sourceListItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceListItem); + } + + /** + * Patches this ListItem with a source + * + * @param sourceListItem the source object with updates + * @return the updated ListItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItem patch(final ListItem sourceListItem) throws ClientException { + return send(HttpMethod.PATCH, sourceListItem); + } + + /** + * Creates a ListItem with a new object + * + * @param newListItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ListItem newListItem, final ICallback callback) { + send(HttpMethod.POST, callback, newListItem); + } + + /** + * Creates a ListItem with a new object + * + * @param newListItem the new object to create + * @return the created ListItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItem post(final ListItem newListItem) throws ClientException { + return send(HttpMethod.POST, newListItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IListItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ListItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IListItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ListItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequestBuilder.java index 6eb44f81de4..68cb7420e22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemRequest; +import com.microsoft.graph.requests.extensions.ListItemRequest; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; +import com.microsoft.graph.requests.extensions.FieldValueSetRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemVersionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemVersionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemVersionRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemVersionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Request Builder. */ -public class ListItemRequestBuilder extends BaseListItemRequestBuilder implements IListItemRequestBuilder { +public class ListItemRequestBuilder extends BaseRequestBuilder implements IListItemRequestBuilder { /** * The request builder for the ListItem @@ -25,4 +36,51 @@ public class ListItemRequestBuilder extends BaseListItemRequestBuilder implement public ListItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IListItemRequest instance + */ + public IListItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IListItemRequest instance + */ + public IListItemRequest buildRequest(final java.util.List requestOptions) { + return new ListItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + public IDriveItemRequestBuilder driveItem() { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("driveItem"), getClient(), null); + } + + /** + * Gets the request builder for FieldValueSet + * + * @return the IFieldValueSetRequestBuilder instance + */ + public IFieldValueSetRequestBuilder fields() { + return new FieldValueSetRequestBuilder(getRequestUrlWithAdditionalSegment("fields"), getClient(), null); + } + public IListItemVersionCollectionRequestBuilder versions() { + return new ListItemVersionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("versions"), getClient(), null); + } + + public IListItemVersionRequestBuilder versions(final String id) { + return new ListItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment("versions") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionPage.java index b952795cb93..03c36c5a73b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ListItemVersion; +import com.microsoft.graph.requests.extensions.IListItemVersionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseListItemVersionCollectionPage; -import com.microsoft.graph.requests.generated.BaseListItemVersionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Collection Page. */ -public class ListItemVersionCollectionPage extends BaseListItemVersionCollectionPage implements IListItemVersionCollectionPage { +public class ListItemVersionCollectionPage extends BaseCollectionPage implements IListItemVersionCollectionPage { /** - * A collection page for ListItem. + * A collection page for ListItemVersion * - * @param response the serialized BaseListItemVersionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ListItemVersionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ListItemVersionCollectionPage(final BaseListItemVersionCollectionResponse response, final IListItemVersionCollectionRequestBuilder builder) { - super(response, builder); + public ListItemVersionCollectionPage(final ListItemVersionCollectionResponse response, final IListItemVersionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequest.java index 618f46e8d93..b60c96ce8a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemVersionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Collection Request. */ -public class ListItemVersionCollectionRequest extends BaseListItemVersionCollectionRequest implements IListItemVersionCollectionRequest { +public class ListItemVersionCollectionRequest extends BaseCollectionRequest implements IListItemVersionCollectionRequest { /** - * The request for this collection of ListItem + * The request builder for this collection of ListItemVersion * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ListItemVersionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ListItemVersionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ListItemVersionCollectionResponse.class, IListItemVersionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IListItemVersionCollectionPage get() throws ClientException { + final ListItemVersionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ListItemVersion newListItemVersion, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ListItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newListItemVersion, callback); + } + + public ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ListItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newListItemVersion); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IListItemVersionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ListItemVersionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IListItemVersionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ListItemVersionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IListItemVersionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ListItemVersionCollectionRequest)this; + } + + public IListItemVersionCollectionPage buildFromResponse(final ListItemVersionCollectionResponse response) { + final IListItemVersionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ListItemVersionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ListItemVersionCollectionPage page = new ListItemVersionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequestBuilder.java index a1084624ddc..efb198bd221 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemVersionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Collection Request Builder. */ -public class ListItemVersionCollectionRequestBuilder extends BaseListItemVersionCollectionRequestBuilder implements IListItemVersionCollectionRequestBuilder { +public class ListItemVersionCollectionRequestBuilder extends BaseRequestBuilder implements IListItemVersionCollectionRequestBuilder { /** * The request builder for this collection of ListItem @@ -25,4 +33,18 @@ public class ListItemVersionCollectionRequestBuilder extends BaseListItemVersion public ListItemVersionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IListItemVersionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IListItemVersionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ListItemVersionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IListItemVersionRequestBuilder byId(final String id) { + return new ListItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionResponse.java new file mode 100644 index 00000000000..90af26db28c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ListItemVersion; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the List Item Version Collection Response. + */ +public class ListItemVersionCollectionResponse implements IJsonBackedObject { + + /** + * The list of ListItemVersion within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequest.java index de74cf79567..980fe47ce2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRequest; +import com.microsoft.graph.requests.extensions.ListItemVersionRequest; +import com.microsoft.graph.models.extensions.ListItemVersion; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ListItemVersion; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemVersionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Request. */ -public class ListItemVersionRequest extends BaseListItemVersionRequest implements IListItemVersionRequest { - +public class ListItemVersionRequest extends BaseRequest implements IListItemVersionRequest { + /** * The request for the ListItemVersion * @@ -26,4 +32,107 @@ public class ListItemVersionRequest extends BaseListItemVersionRequest implement public ListItemVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ListItemVersion.class); } + + /** + * Gets the ListItemVersion from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ListItemVersion from the service + * + * @return the ListItemVersion from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItemVersion get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ListItemVersion with a source + * + * @param sourceListItemVersion the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ListItemVersion sourceListItemVersion, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceListItemVersion); + } + + /** + * Patches this ListItemVersion with a source + * + * @param sourceListItemVersion the source object with updates + * @return the updated ListItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItemVersion patch(final ListItemVersion sourceListItemVersion) throws ClientException { + return send(HttpMethod.PATCH, sourceListItemVersion); + } + + /** + * Creates a ListItemVersion with a new object + * + * @param newListItemVersion the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ListItemVersion newListItemVersion, final ICallback callback) { + send(HttpMethod.POST, callback, newListItemVersion); + } + + /** + * Creates a ListItemVersion with a new object + * + * @param newListItemVersion the new object to create + * @return the created ListItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException { + return send(HttpMethod.POST, newListItemVersion); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IListItemVersionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ListItemVersionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IListItemVersionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ListItemVersionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequestBuilder.java index bb360819724..99e8252b965 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRequest; +import com.microsoft.graph.requests.extensions.ListItemVersionRequest; +import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; +import com.microsoft.graph.requests.extensions.FieldValueSetRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemVersionRestoreVersionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemVersionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Request Builder. */ -public class ListItemVersionRequestBuilder extends BaseListItemVersionRequestBuilder implements IListItemVersionRequestBuilder { +public class ListItemVersionRequestBuilder extends BaseRequestBuilder implements IListItemVersionRequestBuilder { /** * The request builder for the ListItemVersion @@ -25,4 +32,39 @@ public class ListItemVersionRequestBuilder extends BaseListItemVersionRequestBui public ListItemVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IListItemVersionRequest instance + */ + public IListItemVersionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IListItemVersionRequest instance + */ + public IListItemVersionRequest buildRequest(final java.util.List requestOptions) { + return new ListItemVersionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for FieldValueSet + * + * @return the IFieldValueSetRequestBuilder instance + */ + public IFieldValueSetRequestBuilder fields() { + return new FieldValueSetRequestBuilder(getRequestUrlWithAdditionalSegment("fields"), getClient(), null); + } + + public IListItemVersionRestoreVersionRequestBuilder restoreVersion() { + return new ListItemVersionRestoreVersionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restoreVersion"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequest.java index d721d84911b..99b999ede1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; +import com.microsoft.graph.requests.extensions.ListItemVersionRestoreVersionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemVersionRestoreVersionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Restore Version Request. */ -public class ListItemVersionRestoreVersionRequest extends BaseListItemVersionRestoreVersionRequest implements IListItemVersionRestoreVersionRequest { +public class ListItemVersionRestoreVersionRequest extends BaseRequest implements IListItemVersionRestoreVersionRequest { /** * The request for this ListItemVersionRestoreVersion @@ -23,6 +30,35 @@ public class ListItemVersionRestoreVersionRequest extends BaseListItemVersionRes * @param requestOptions the options for this request */ public ListItemVersionRestoreVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ListItemVersionRestoreVersion + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ListItemVersionRestoreVersion + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequestBuilder.java index 0d88c8bfdac..2c30b7c518a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRestoreVersionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; +import com.microsoft.graph.requests.extensions.ListItemVersionRestoreVersionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListItemVersionRestoreVersionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Item Version Restore Version Request Builder. */ -public class ListItemVersionRestoreVersionRequestBuilder extends BaseListItemVersionRestoreVersionRequestBuilder implements IListItemVersionRestoreVersionRequestBuilder { +public class ListItemVersionRestoreVersionRequestBuilder extends BaseActionRequestBuilder implements IListItemVersionRestoreVersionRequestBuilder { /** * The request builder for this ListItemVersionRestoreVersion @@ -25,4 +30,29 @@ public class ListItemVersionRestoreVersionRequestBuilder extends BaseListItemVer public ListItemVersionRestoreVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IListItemVersionRestoreVersionRequest + * + * @return the IListItemVersionRestoreVersionRequest instance + */ + public IListItemVersionRestoreVersionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IListItemVersionRestoreVersionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IListItemVersionRestoreVersionRequest instance + */ + public IListItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions) { + ListItemVersionRestoreVersionRequest request = new ListItemVersionRestoreVersionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ListRequest.java index a48a0111035..52a4cf70341 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListRequest; +import com.microsoft.graph.requests.extensions.ListRequest; +import com.microsoft.graph.models.extensions.List; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.List; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Request. */ -public class ListRequest extends BaseListRequest implements IListRequest { - +public class ListRequest extends BaseRequest implements IListRequest { + /** * The request for the List * @@ -26,4 +32,107 @@ public class ListRequest extends BaseListRequest implements IListRequest { public ListRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, List.class); } + + /** + * Gets the List from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the List from the service + * + * @return the List from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public List get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this List with a source + * + * @param sourceList the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final List sourceList, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceList); + } + + /** + * Patches this List with a source + * + * @param sourceList the source object with updates + * @return the updated List + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public List patch(final List sourceList) throws ClientException { + return send(HttpMethod.PATCH, sourceList); + } + + /** + * Creates a List with a new object + * + * @param newList the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final List newList, final ICallback callback) { + send(HttpMethod.POST, callback, newList); + } + + /** + * Creates a List with a new object + * + * @param newList the new object to create + * @return the created List + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public List post(final List newList) throws ClientException { + return send(HttpMethod.POST, newList); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IListRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ListRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IListRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ListRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ListRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ListRequestBuilder.java index d89d54b85e3..ef1f65b5525 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListRequestBuilder.java @@ -3,17 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IListRequest; +import com.microsoft.graph.requests.extensions.ListRequest; +import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.ColumnDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ContentTypeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.ContentTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseListRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the List Request Builder. */ -public class ListRequestBuilder extends BaseListRequestBuilder implements IListRequestBuilder { +public class ListRequestBuilder extends BaseRequestBuilder implements IListRequestBuilder { /** * The request builder for the List @@ -25,4 +42,56 @@ public class ListRequestBuilder extends BaseListRequestBuilder implements IListR public ListRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IListRequest instance + */ + public IListRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IListRequest instance + */ + public IListRequest buildRequest(final java.util.List requestOptions) { + return new ListRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IColumnDefinitionCollectionRequestBuilder columns() { + return new ColumnDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null); + } + + public IColumnDefinitionRequestBuilder columns(final String id) { + return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null); + } + public IContentTypeCollectionRequestBuilder contentTypes() { + return new ContentTypeCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes"), getClient(), null); + } + + public IContentTypeRequestBuilder contentTypes(final String id) { + return new ContentTypeRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + public IDriveRequestBuilder drive() { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); + } + public IListItemCollectionRequestBuilder items() { + return new ListItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); + } + + public IListItemRequestBuilder items(final String id) { + return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionPage.java index 8aec297b281..9bbac7c5d00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageCollectionPage; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Localized Notification Message Collection Page. */ -public class LocalizedNotificationMessageCollectionPage extends BaseLocalizedNotificationMessageCollectionPage implements ILocalizedNotificationMessageCollectionPage { +public class LocalizedNotificationMessageCollectionPage extends BaseCollectionPage implements ILocalizedNotificationMessageCollectionPage { /** - * A collection page for NotificationMessageTemplate. + * A collection page for LocalizedNotificationMessage * - * @param response the serialized BaseLocalizedNotificationMessageCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized LocalizedNotificationMessageCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public LocalizedNotificationMessageCollectionPage(final BaseLocalizedNotificationMessageCollectionResponse response, final ILocalizedNotificationMessageCollectionRequestBuilder builder) { - super(response, builder); + public LocalizedNotificationMessageCollectionPage(final LocalizedNotificationMessageCollectionResponse response, final ILocalizedNotificationMessageCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequest.java index dc3f52fdd9d..c9b697daec0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Localized Notification Message Collection Request. */ -public class LocalizedNotificationMessageCollectionRequest extends BaseLocalizedNotificationMessageCollectionRequest implements ILocalizedNotificationMessageCollectionRequest { +public class LocalizedNotificationMessageCollectionRequest extends BaseCollectionRequest implements ILocalizedNotificationMessageCollectionRequest { /** - * The request for this collection of NotificationMessageTemplate + * The request builder for this collection of LocalizedNotificationMessage * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public LocalizedNotificationMessageCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public LocalizedNotificationMessageCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, LocalizedNotificationMessageCollectionResponse.class, ILocalizedNotificationMessageCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ILocalizedNotificationMessageCollectionPage get() throws ClientException { + final LocalizedNotificationMessageCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new LocalizedNotificationMessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newLocalizedNotificationMessage, callback); + } + + public LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new LocalizedNotificationMessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newLocalizedNotificationMessage); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ILocalizedNotificationMessageCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (LocalizedNotificationMessageCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ILocalizedNotificationMessageCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (LocalizedNotificationMessageCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ILocalizedNotificationMessageCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (LocalizedNotificationMessageCollectionRequest)this; + } + + public ILocalizedNotificationMessageCollectionPage buildFromResponse(final LocalizedNotificationMessageCollectionResponse response) { + final ILocalizedNotificationMessageCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new LocalizedNotificationMessageCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final LocalizedNotificationMessageCollectionPage page = new LocalizedNotificationMessageCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequestBuilder.java index ba2abbd585f..fbd9c96c92a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Localized Notification Message Collection Request Builder. */ -public class LocalizedNotificationMessageCollectionRequestBuilder extends BaseLocalizedNotificationMessageCollectionRequestBuilder implements ILocalizedNotificationMessageCollectionRequestBuilder { +public class LocalizedNotificationMessageCollectionRequestBuilder extends BaseRequestBuilder implements ILocalizedNotificationMessageCollectionRequestBuilder { /** * The request builder for this collection of NotificationMessageTemplate @@ -25,4 +33,18 @@ public class LocalizedNotificationMessageCollectionRequestBuilder extends BaseLo public LocalizedNotificationMessageCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ILocalizedNotificationMessageCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ILocalizedNotificationMessageCollectionRequest buildRequest(final java.util.List requestOptions) { + return new LocalizedNotificationMessageCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ILocalizedNotificationMessageRequestBuilder byId(final String id) { + return new LocalizedNotificationMessageRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionResponse.java new file mode 100644 index 00000000000..2b48a34034f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Localized Notification Message Collection Response. + */ +public class LocalizedNotificationMessageCollectionResponse implements IJsonBackedObject { + + /** + * The list of LocalizedNotificationMessage within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequest.java index e427f0ef42e..7a3d3e909d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequest; +import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageRequest; +import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Localized Notification Message Request. */ -public class LocalizedNotificationMessageRequest extends BaseLocalizedNotificationMessageRequest implements ILocalizedNotificationMessageRequest { - +public class LocalizedNotificationMessageRequest extends BaseRequest implements ILocalizedNotificationMessageRequest { + /** * The request for the LocalizedNotificationMessage * @@ -26,4 +32,107 @@ public class LocalizedNotificationMessageRequest extends BaseLocalizedNotificati public LocalizedNotificationMessageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, LocalizedNotificationMessage.class); } + + /** + * Gets the LocalizedNotificationMessage from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the LocalizedNotificationMessage from the service + * + * @return the LocalizedNotificationMessage from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LocalizedNotificationMessage get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this LocalizedNotificationMessage with a source + * + * @param sourceLocalizedNotificationMessage the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceLocalizedNotificationMessage); + } + + /** + * Patches this LocalizedNotificationMessage with a source + * + * @param sourceLocalizedNotificationMessage the source object with updates + * @return the updated LocalizedNotificationMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LocalizedNotificationMessage patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage) throws ClientException { + return send(HttpMethod.PATCH, sourceLocalizedNotificationMessage); + } + + /** + * Creates a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback) { + send(HttpMethod.POST, callback, newLocalizedNotificationMessage); + } + + /** + * Creates a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the new object to create + * @return the created LocalizedNotificationMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException { + return send(HttpMethod.POST, newLocalizedNotificationMessage); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ILocalizedNotificationMessageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (LocalizedNotificationMessageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ILocalizedNotificationMessageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (LocalizedNotificationMessageRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequestBuilder.java index 528e860b446..23f5a44b318 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequest; +import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseLocalizedNotificationMessageRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Localized Notification Message Request Builder. */ -public class LocalizedNotificationMessageRequestBuilder extends BaseLocalizedNotificationMessageRequestBuilder implements ILocalizedNotificationMessageRequestBuilder { +public class LocalizedNotificationMessageRequestBuilder extends BaseRequestBuilder implements ILocalizedNotificationMessageRequestBuilder { /** * The request builder for the LocalizedNotificationMessage @@ -25,4 +28,26 @@ public class LocalizedNotificationMessageRequestBuilder extends BaseLocalizedNot public LocalizedNotificationMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ILocalizedNotificationMessageRequest instance + */ + public ILocalizedNotificationMessageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ILocalizedNotificationMessageRequest instance + */ + public ILocalizedNotificationMessageRequest buildRequest(final java.util.List requestOptions) { + return new LocalizedNotificationMessageRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequest.java index 3d81ee47198..9e9dfe05cf6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.MacOSCompliancePolicyRequest; +import com.microsoft.graph.models.extensions.MacOSCompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MacOSCompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSCompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSCompliance Policy Request. */ -public class MacOSCompliancePolicyRequest extends BaseMacOSCompliancePolicyRequest implements IMacOSCompliancePolicyRequest { - +public class MacOSCompliancePolicyRequest extends BaseRequest implements IMacOSCompliancePolicyRequest { + /** * The request for the MacOSCompliancePolicy * @@ -26,4 +32,107 @@ public class MacOSCompliancePolicyRequest extends BaseMacOSCompliancePolicyReque public MacOSCompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MacOSCompliancePolicy.class); } + + /** + * Gets the MacOSCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MacOSCompliancePolicy from the service + * + * @return the MacOSCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MacOSCompliancePolicy with a source + * + * @param sourceMacOSCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMacOSCompliancePolicy); + } + + /** + * Patches this MacOSCompliancePolicy with a source + * + * @param sourceMacOSCompliancePolicy the source object with updates + * @return the updated MacOSCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCompliancePolicy patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceMacOSCompliancePolicy); + } + + /** + * Creates a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MacOSCompliancePolicy newMacOSCompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newMacOSCompliancePolicy); + } + + /** + * Creates a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the new object to create + * @return the created MacOSCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCompliancePolicy post(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newMacOSCompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMacOSCompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MacOSCompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMacOSCompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MacOSCompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequestBuilder.java index 19688388759..5db6891780d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.MacOSCompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSCompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSCompliance Policy Request Builder. */ -public class MacOSCompliancePolicyRequestBuilder extends BaseMacOSCompliancePolicyRequestBuilder implements IMacOSCompliancePolicyRequestBuilder { +public class MacOSCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IMacOSCompliancePolicyRequestBuilder { /** * The request builder for the MacOSCompliancePolicy @@ -25,4 +28,26 @@ public class MacOSCompliancePolicyRequestBuilder extends BaseMacOSCompliancePoli public MacOSCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMacOSCompliancePolicyRequest instance + */ + public IMacOSCompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMacOSCompliancePolicyRequest instance + */ + public IMacOSCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new MacOSCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequest.java index bdf8c248719..7bf40c97c1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.MacOSCustomConfigurationRequest; +import com.microsoft.graph.models.extensions.MacOSCustomConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MacOSCustomConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSCustomConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSCustom Configuration Request. */ -public class MacOSCustomConfigurationRequest extends BaseMacOSCustomConfigurationRequest implements IMacOSCustomConfigurationRequest { - +public class MacOSCustomConfigurationRequest extends BaseRequest implements IMacOSCustomConfigurationRequest { + /** * The request for the MacOSCustomConfiguration * @@ -26,4 +32,107 @@ public class MacOSCustomConfigurationRequest extends BaseMacOSCustomConfiguratio public MacOSCustomConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MacOSCustomConfiguration.class); } + + /** + * Gets the MacOSCustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MacOSCustomConfiguration from the service + * + * @return the MacOSCustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCustomConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MacOSCustomConfiguration with a source + * + * @param sourceMacOSCustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMacOSCustomConfiguration); + } + + /** + * Patches this MacOSCustomConfiguration with a source + * + * @param sourceMacOSCustomConfiguration the source object with updates + * @return the updated MacOSCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCustomConfiguration patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceMacOSCustomConfiguration); + } + + /** + * Creates a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MacOSCustomConfiguration newMacOSCustomConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newMacOSCustomConfiguration); + } + + /** + * Creates a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the new object to create + * @return the created MacOSCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCustomConfiguration post(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException { + return send(HttpMethod.POST, newMacOSCustomConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMacOSCustomConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MacOSCustomConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMacOSCustomConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MacOSCustomConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequestBuilder.java index 07d029f634c..c485ff3c14c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSCustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.MacOSCustomConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSCustomConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSCustom Configuration Request Builder. */ -public class MacOSCustomConfigurationRequestBuilder extends BaseMacOSCustomConfigurationRequestBuilder implements IMacOSCustomConfigurationRequestBuilder { +public class MacOSCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IMacOSCustomConfigurationRequestBuilder { /** * The request builder for the MacOSCustomConfiguration @@ -25,4 +28,26 @@ public class MacOSCustomConfigurationRequestBuilder extends BaseMacOSCustomConfi public MacOSCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMacOSCustomConfigurationRequest instance + */ + public IMacOSCustomConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMacOSCustomConfigurationRequest instance + */ + public IMacOSCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new MacOSCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequest.java index 266239edbe3..223b9412da7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.requests.extensions.MacOSDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.models.extensions.MacOSDeviceFeaturesConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MacOSDeviceFeaturesConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSDevice Features Configuration Request. */ -public class MacOSDeviceFeaturesConfigurationRequest extends BaseMacOSDeviceFeaturesConfigurationRequest implements IMacOSDeviceFeaturesConfigurationRequest { - +public class MacOSDeviceFeaturesConfigurationRequest extends BaseRequest implements IMacOSDeviceFeaturesConfigurationRequest { + /** * The request for the MacOSDeviceFeaturesConfiguration * @@ -26,4 +32,107 @@ public class MacOSDeviceFeaturesConfigurationRequest extends BaseMacOSDeviceFeat public MacOSDeviceFeaturesConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MacOSDeviceFeaturesConfiguration.class); } + + /** + * Gets the MacOSDeviceFeaturesConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MacOSDeviceFeaturesConfiguration from the service + * + * @return the MacOSDeviceFeaturesConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSDeviceFeaturesConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MacOSDeviceFeaturesConfiguration with a source + * + * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMacOSDeviceFeaturesConfiguration); + } + + /** + * Patches this MacOSDeviceFeaturesConfiguration with a source + * + * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates + * @return the updated MacOSDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSDeviceFeaturesConfiguration patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceMacOSDeviceFeaturesConfiguration); + } + + /** + * Creates a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newMacOSDeviceFeaturesConfiguration); + } + + /** + * Creates a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the new object to create + * @return the created MacOSDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSDeviceFeaturesConfiguration post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException { + return send(HttpMethod.POST, newMacOSDeviceFeaturesConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMacOSDeviceFeaturesConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MacOSDeviceFeaturesConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMacOSDeviceFeaturesConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MacOSDeviceFeaturesConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequestBuilder.java index 6014384fb65..22a89fc0f27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSDeviceFeaturesConfigurationRequest; +import com.microsoft.graph.requests.extensions.MacOSDeviceFeaturesConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSDeviceFeaturesConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSDevice Features Configuration Request Builder. */ -public class MacOSDeviceFeaturesConfigurationRequestBuilder extends BaseMacOSDeviceFeaturesConfigurationRequestBuilder implements IMacOSDeviceFeaturesConfigurationRequestBuilder { +public class MacOSDeviceFeaturesConfigurationRequestBuilder extends BaseRequestBuilder implements IMacOSDeviceFeaturesConfigurationRequestBuilder { /** * The request builder for the MacOSDeviceFeaturesConfiguration @@ -25,4 +28,26 @@ public class MacOSDeviceFeaturesConfigurationRequestBuilder extends BaseMacOSDev public MacOSDeviceFeaturesConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMacOSDeviceFeaturesConfigurationRequest instance + */ + public IMacOSDeviceFeaturesConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMacOSDeviceFeaturesConfigurationRequest instance + */ + public IMacOSDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new MacOSDeviceFeaturesConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequest.java index 989b61ce955..7ac5774b2a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.MacOSGeneralDeviceConfigurationRequest; +import com.microsoft.graph.models.extensions.MacOSGeneralDeviceConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MacOSGeneralDeviceConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSGeneralDeviceConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSGeneral Device Configuration Request. */ -public class MacOSGeneralDeviceConfigurationRequest extends BaseMacOSGeneralDeviceConfigurationRequest implements IMacOSGeneralDeviceConfigurationRequest { - +public class MacOSGeneralDeviceConfigurationRequest extends BaseRequest implements IMacOSGeneralDeviceConfigurationRequest { + /** * The request for the MacOSGeneralDeviceConfiguration * @@ -26,4 +32,107 @@ public class MacOSGeneralDeviceConfigurationRequest extends BaseMacOSGeneralDevi public MacOSGeneralDeviceConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MacOSGeneralDeviceConfiguration.class); } + + /** + * Gets the MacOSGeneralDeviceConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MacOSGeneralDeviceConfiguration from the service + * + * @return the MacOSGeneralDeviceConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSGeneralDeviceConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MacOSGeneralDeviceConfiguration with a source + * + * @param sourceMacOSGeneralDeviceConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMacOSGeneralDeviceConfiguration); + } + + /** + * Patches this MacOSGeneralDeviceConfiguration with a source + * + * @param sourceMacOSGeneralDeviceConfiguration the source object with updates + * @return the updated MacOSGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSGeneralDeviceConfiguration patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceMacOSGeneralDeviceConfiguration); + } + + /** + * Creates a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newMacOSGeneralDeviceConfiguration); + } + + /** + * Creates a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the new object to create + * @return the created MacOSGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSGeneralDeviceConfiguration post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.POST, newMacOSGeneralDeviceConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMacOSGeneralDeviceConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MacOSGeneralDeviceConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMacOSGeneralDeviceConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MacOSGeneralDeviceConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequestBuilder.java index d9f79f41f77..647d5160cb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSGeneralDeviceConfigurationRequest; +import com.microsoft.graph.requests.extensions.MacOSGeneralDeviceConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSGeneralDeviceConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSGeneral Device Configuration Request Builder. */ -public class MacOSGeneralDeviceConfigurationRequestBuilder extends BaseMacOSGeneralDeviceConfigurationRequestBuilder implements IMacOSGeneralDeviceConfigurationRequestBuilder { +public class MacOSGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IMacOSGeneralDeviceConfigurationRequestBuilder { /** * The request builder for the MacOSGeneralDeviceConfiguration @@ -25,4 +28,26 @@ public class MacOSGeneralDeviceConfigurationRequestBuilder extends BaseMacOSGene public MacOSGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMacOSGeneralDeviceConfigurationRequest instance + */ + public IMacOSGeneralDeviceConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMacOSGeneralDeviceConfigurationRequest instance + */ + public IMacOSGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new MacOSGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequest.java index 2951962a9f6..a18c33bc756 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSOfficeSuiteAppRequest; +import com.microsoft.graph.requests.extensions.MacOSOfficeSuiteAppRequest; +import com.microsoft.graph.models.extensions.MacOSOfficeSuiteApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MacOSOfficeSuiteApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSOfficeSuiteAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSOffice Suite App Request. */ -public class MacOSOfficeSuiteAppRequest extends BaseMacOSOfficeSuiteAppRequest implements IMacOSOfficeSuiteAppRequest { - +public class MacOSOfficeSuiteAppRequest extends BaseRequest implements IMacOSOfficeSuiteAppRequest { + /** * The request for the MacOSOfficeSuiteApp * @@ -26,4 +32,107 @@ public class MacOSOfficeSuiteAppRequest extends BaseMacOSOfficeSuiteAppRequest i public MacOSOfficeSuiteAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MacOSOfficeSuiteApp.class); } + + /** + * Gets the MacOSOfficeSuiteApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MacOSOfficeSuiteApp from the service + * + * @return the MacOSOfficeSuiteApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSOfficeSuiteApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MacOSOfficeSuiteApp with a source + * + * @param sourceMacOSOfficeSuiteApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMacOSOfficeSuiteApp); + } + + /** + * Patches this MacOSOfficeSuiteApp with a source + * + * @param sourceMacOSOfficeSuiteApp the source object with updates + * @return the updated MacOSOfficeSuiteApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSOfficeSuiteApp patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp) throws ClientException { + return send(HttpMethod.PATCH, sourceMacOSOfficeSuiteApp); + } + + /** + * Creates a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp, final ICallback callback) { + send(HttpMethod.POST, callback, newMacOSOfficeSuiteApp); + } + + /** + * Creates a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the new object to create + * @return the created MacOSOfficeSuiteApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSOfficeSuiteApp post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException { + return send(HttpMethod.POST, newMacOSOfficeSuiteApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMacOSOfficeSuiteAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MacOSOfficeSuiteAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMacOSOfficeSuiteAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MacOSOfficeSuiteAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequestBuilder.java index f6a9b047917..ceb0f70a0b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMacOSOfficeSuiteAppRequest; +import com.microsoft.graph.requests.extensions.MacOSOfficeSuiteAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMacOSOfficeSuiteAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mac OSOffice Suite App Request Builder. */ -public class MacOSOfficeSuiteAppRequestBuilder extends BaseMacOSOfficeSuiteAppRequestBuilder implements IMacOSOfficeSuiteAppRequestBuilder { +public class MacOSOfficeSuiteAppRequestBuilder extends BaseRequestBuilder implements IMacOSOfficeSuiteAppRequestBuilder { /** * The request builder for the MacOSOfficeSuiteApp @@ -25,4 +28,26 @@ public class MacOSOfficeSuiteAppRequestBuilder extends BaseMacOSOfficeSuiteAppRe public MacOSOfficeSuiteAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMacOSOfficeSuiteAppRequest instance + */ + public IMacOSOfficeSuiteAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMacOSOfficeSuiteAppRequest instance + */ + public IMacOSOfficeSuiteAppRequest buildRequest(final java.util.List requestOptions) { + return new MacOSOfficeSuiteAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionPage.java index 653e2c89def..dfa57e67ad0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMailFolderCollectionPage; -import com.microsoft.graph.requests.generated.BaseMailFolderCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Collection Page. */ -public class MailFolderCollectionPage extends BaseMailFolderCollectionPage implements IMailFolderCollectionPage { +public class MailFolderCollectionPage extends BaseCollectionPage implements IMailFolderCollectionPage { /** - * A collection page for MailFolder. + * A collection page for MailFolder * - * @param response the serialized BaseMailFolderCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MailFolderCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MailFolderCollectionPage(final BaseMailFolderCollectionResponse response, final IMailFolderCollectionRequestBuilder builder) { - super(response, builder); + public MailFolderCollectionPage(final MailFolderCollectionResponse response, final IMailFolderCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequest.java index 7c4017eeb9e..84a117b7794 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Collection Request. */ -public class MailFolderCollectionRequest extends BaseMailFolderCollectionRequest implements IMailFolderCollectionRequest { +public class MailFolderCollectionRequest extends BaseCollectionRequest implements IMailFolderCollectionRequest { /** - * The request for this collection of MailFolder + * The request builder for this collection of MailFolder * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MailFolderCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MailFolderCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MailFolderCollectionResponse.class, IMailFolderCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMailFolderCollectionPage get() throws ClientException { + final MailFolderCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MailFolder newMailFolder, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MailFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMailFolder, callback); + } + + public MailFolder post(final MailFolder newMailFolder) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MailFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMailFolder); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMailFolderCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MailFolderCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMailFolderCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MailFolderCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMailFolderCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MailFolderCollectionRequest)this; + } + + public IMailFolderCollectionPage buildFromResponse(final MailFolderCollectionResponse response) { + final IMailFolderCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MailFolderCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MailFolderCollectionPage page = new MailFolderCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequestBuilder.java index 16e129a0fd9..3552d1c2c3a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Collection Request Builder. */ -public class MailFolderCollectionRequestBuilder extends BaseMailFolderCollectionRequestBuilder implements IMailFolderCollectionRequestBuilder { +public class MailFolderCollectionRequestBuilder extends BaseRequestBuilder implements IMailFolderCollectionRequestBuilder { /** * The request builder for this collection of MailFolder @@ -25,4 +33,26 @@ public class MailFolderCollectionRequestBuilder extends BaseMailFolderCollection public MailFolderCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMailFolderCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMailFolderCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MailFolderCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMailFolderRequestBuilder byId(final String id) { + return new MailFolderRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IMailFolderDeltaCollectionRequestBuilder delta() { + return new MailFolderDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IMailFolderDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new MailFolderDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionResponse.java new file mode 100644 index 00000000000..c4df06418d3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolder; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mail Folder Collection Response. + */ +public class MailFolderCollectionResponse implements IJsonBackedObject { + + /** + * The list of MailFolder within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequest.java index 5df73bea761..cd60dc028fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolderCopyBody; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; +import com.microsoft.graph.requests.extensions.MailFolderCopyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderCopyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Copy Request. */ -public class MailFolderCopyRequest extends BaseMailFolderCopyRequest implements IMailFolderCopyRequest { +public class MailFolderCopyRequest extends BaseRequest implements IMailFolderCopyRequest { + protected final MailFolderCopyBody body; /** * The request for this MailFolderCopy @@ -23,6 +32,49 @@ public class MailFolderCopyRequest extends BaseMailFolderCopyRequest implements * @param requestOptions the options for this request */ public MailFolderCopyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, MailFolder.class); + body = new MailFolderCopyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public MailFolder post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMailFolderCopyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MailFolderCopyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMailFolderCopyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MailFolderCopyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMailFolderCopyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MailFolderCopyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequestBuilder.java index 9ed0b54bf99..48e5bc7871d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderCopyRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; +import com.microsoft.graph.requests.extensions.MailFolderCopyRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderCopyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Copy Request Builder. */ -public class MailFolderCopyRequestBuilder extends BaseMailFolderCopyRequestBuilder implements IMailFolderCopyRequestBuilder { +public class MailFolderCopyRequestBuilder extends BaseActionRequestBuilder implements IMailFolderCopyRequestBuilder { /** * The request builder for this MailFolderCopy @@ -24,6 +29,36 @@ public class MailFolderCopyRequestBuilder extends BaseMailFolderCopyRequestBuild * @param destinationId the destinationId */ public MailFolderCopyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions, destinationId); + super(requestUrl, client, requestOptions); + bodyParams.put("destinationId", destinationId); + } + + /** + * Creates the IMailFolderCopyRequest + * + * @return the IMailFolderCopyRequest instance + */ + public IMailFolderCopyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMailFolderCopyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMailFolderCopyRequest instance + */ + public IMailFolderCopyRequest buildRequest(final java.util.List requestOptions) { + MailFolderCopyRequest request = new MailFolderCopyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("destinationId")) { + request.body.destinationId = getParameter("destinationId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionPage.java index ec978d40fe4..176e6a29524 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseMailFolderDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseMailFolderDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Delta Collection Page. */ -public class MailFolderDeltaCollectionPage extends BaseMailFolderDeltaCollectionPage implements IMailFolderDeltaCollectionPage { +public class MailFolderDeltaCollectionPage extends BaseCollectionPage implements IMailFolderDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for MailFolder. + * A collection page for MailFolderDelta. + * + * @param response The serialized MailFolderDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public MailFolderDeltaCollectionPage(final MailFolderDeltaCollectionResponse response, final IMailFolderDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseMailFolderDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public MailFolderDeltaCollectionPage(final BaseMailFolderDeltaCollectionResponse response, final IMailFolderDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequest.java index 8b06d5e2353..59fa9333527 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Delta Collection Request. */ -public class MailFolderDeltaCollectionRequest extends BaseMailFolderDeltaCollectionRequest implements IMailFolderDeltaCollectionRequest { +public class MailFolderDeltaCollectionRequest extends BaseCollectionRequest implements IMailFolderDeltaCollectionRequest { + /** - * The request for this collection of MailFolder + * The request for this MailFolderDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public MailFolderDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, MailFolderDeltaCollectionResponse.class, IMailFolderDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMailFolderDeltaCollectionPage get() throws ClientException { + final MailFolderDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IMailFolderDeltaCollectionPage buildFromResponse(final MailFolderDeltaCollectionResponse response) { + final IMailFolderDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MailFolderDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IMailFolderDeltaCollectionPage page = new MailFolderDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMailFolderDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IMailFolderDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMailFolderDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IMailFolderDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMailFolderDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IMailFolderDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequestBuilder.java index a3944413530..827ddc9d3da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Delta Collection Request Builder. */ -public class MailFolderDeltaCollectionRequestBuilder extends BaseMailFolderDeltaCollectionRequestBuilder implements IMailFolderDeltaCollectionRequestBuilder { +public class MailFolderDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IMailFolderDeltaCollectionRequestBuilder { /** * The request builder for this collection of MailFolder @@ -25,4 +32,22 @@ public class MailFolderDeltaCollectionRequestBuilder extends BaseMailFolderDelta public MailFolderDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMailFolderDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMailFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + MailFolderDeltaCollectionRequest request = new MailFolderDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionResponse.java new file mode 100644 index 00000000000..5cadd8e04e8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mail Folder Delta Collection Response. + */ +public class MailFolderDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequest.java index 8d0f2e07290..d6604d0173f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MailFolderMoveBody; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; +import com.microsoft.graph.requests.extensions.MailFolderMoveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderMoveRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Move Request. */ -public class MailFolderMoveRequest extends BaseMailFolderMoveRequest implements IMailFolderMoveRequest { +public class MailFolderMoveRequest extends BaseRequest implements IMailFolderMoveRequest { + protected final MailFolderMoveBody body; /** * The request for this MailFolderMove @@ -23,6 +32,49 @@ public class MailFolderMoveRequest extends BaseMailFolderMoveRequest implements * @param requestOptions the options for this request */ public MailFolderMoveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, MailFolder.class); + body = new MailFolderMoveBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public MailFolder post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMailFolderMoveRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MailFolderMoveRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMailFolderMoveRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MailFolderMoveRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMailFolderMoveRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MailFolderMoveRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequestBuilder.java index a2c90bf06d3..29b6eb94388 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderMoveRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; +import com.microsoft.graph.requests.extensions.MailFolderMoveRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderMoveRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Move Request Builder. */ -public class MailFolderMoveRequestBuilder extends BaseMailFolderMoveRequestBuilder implements IMailFolderMoveRequestBuilder { +public class MailFolderMoveRequestBuilder extends BaseActionRequestBuilder implements IMailFolderMoveRequestBuilder { /** * The request builder for this MailFolderMove @@ -24,6 +29,36 @@ public class MailFolderMoveRequestBuilder extends BaseMailFolderMoveRequestBuild * @param destinationId the destinationId */ public MailFolderMoveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions, destinationId); + super(requestUrl, client, requestOptions); + bodyParams.put("destinationId", destinationId); + } + + /** + * Creates the IMailFolderMoveRequest + * + * @return the IMailFolderMoveRequest instance + */ + public IMailFolderMoveRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMailFolderMoveRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMailFolderMoveRequest instance + */ + public IMailFolderMoveRequest buildRequest(final java.util.List requestOptions) { + MailFolderMoveRequest request = new MailFolderMoveRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("destinationId")) { + request.body.destinationId = getParameter("destinationId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequest.java index c38632aab8a..8aef81fc673 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderRequest; +import com.microsoft.graph.requests.extensions.MailFolderRequest; +import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Request. */ -public class MailFolderRequest extends BaseMailFolderRequest implements IMailFolderRequest { - +public class MailFolderRequest extends BaseRequest implements IMailFolderRequest { + /** * The request for the MailFolder * @@ -26,4 +32,107 @@ public class MailFolderRequest extends BaseMailFolderRequest implements IMailFol public MailFolderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MailFolder.class); } + + /** + * Gets the MailFolder from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MailFolder from the service + * + * @return the MailFolder from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MailFolder get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MailFolder with a source + * + * @param sourceMailFolder the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MailFolder sourceMailFolder, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMailFolder); + } + + /** + * Patches this MailFolder with a source + * + * @param sourceMailFolder the source object with updates + * @return the updated MailFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MailFolder patch(final MailFolder sourceMailFolder) throws ClientException { + return send(HttpMethod.PATCH, sourceMailFolder); + } + + /** + * Creates a MailFolder with a new object + * + * @param newMailFolder the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MailFolder newMailFolder, final ICallback callback) { + send(HttpMethod.POST, callback, newMailFolder); + } + + /** + * Creates a MailFolder with a new object + * + * @param newMailFolder the new object to create + * @return the created MailFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MailFolder post(final MailFolder newMailFolder) throws ClientException { + return send(HttpMethod.POST, newMailFolder); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMailFolderRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MailFolderRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMailFolderRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MailFolderRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequestBuilder.java index 80f14fbca93..65f428ccd45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequestBuilder.java @@ -3,17 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMailFolderRequest; +import com.microsoft.graph.requests.extensions.MailFolderRequest; +import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRuleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageRuleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRuleRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageRuleRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MailFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.MailFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.MailFolderCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderMoveRequestBuilder; +import com.microsoft.graph.requests.extensions.MailFolderMoveRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMailFolderRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mail Folder Request Builder. */ -public class MailFolderRequestBuilder extends BaseMailFolderRequestBuilder implements IMailFolderRequestBuilder { +public class MailFolderRequestBuilder extends BaseRequestBuilder implements IMailFolderRequestBuilder { /** * The request builder for the MailFolder @@ -25,4 +52,69 @@ public class MailFolderRequestBuilder extends BaseMailFolderRequestBuilder imple public MailFolderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMailFolderRequest instance + */ + public IMailFolderRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMailFolderRequest instance + */ + public IMailFolderRequest buildRequest(final java.util.List requestOptions) { + return new MailFolderRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IMessageCollectionRequestBuilder messages() { + return new MessageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("messages"), getClient(), null); + } + + public IMessageRequestBuilder messages(final String id) { + return new MessageRequestBuilder(getRequestUrlWithAdditionalSegment("messages") + "/" + id, getClient(), null); + } + public IMessageRuleCollectionRequestBuilder messageRules() { + return new MessageRuleCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("messageRules"), getClient(), null); + } + + public IMessageRuleRequestBuilder messageRules(final String id) { + return new MessageRuleRequestBuilder(getRequestUrlWithAdditionalSegment("messageRules") + "/" + id, getClient(), null); + } + public IMailFolderCollectionRequestBuilder childFolders() { + return new MailFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders"), getClient(), null); + } + + public IMailFolderRequestBuilder childFolders(final String id) { + return new MailFolderRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } + + public IMailFolderCopyRequestBuilder copy(final String destinationId) { + return new MailFolderCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, destinationId); + } + + public IMailFolderMoveRequestBuilder move(final String destinationId) { + return new MailFolderMoveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.move"), getClient(), null, destinationId); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequest.java index 52cf29c91af..9ce4857c57c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAndroidLobAppRequest; +import com.microsoft.graph.requests.extensions.ManagedAndroidLobAppRequest; +import com.microsoft.graph.models.extensions.ManagedAndroidLobApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAndroidLobApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAndroidLobAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Android Lob App Request. */ -public class ManagedAndroidLobAppRequest extends BaseManagedAndroidLobAppRequest implements IManagedAndroidLobAppRequest { - +public class ManagedAndroidLobAppRequest extends BaseRequest implements IManagedAndroidLobAppRequest { + /** * The request for the ManagedAndroidLobApp * @@ -26,4 +32,107 @@ public class ManagedAndroidLobAppRequest extends BaseManagedAndroidLobAppRequest public ManagedAndroidLobAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAndroidLobApp.class); } + + /** + * Gets the ManagedAndroidLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAndroidLobApp from the service + * + * @return the ManagedAndroidLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidLobApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAndroidLobApp with a source + * + * @param sourceManagedAndroidLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAndroidLobApp); + } + + /** + * Patches this ManagedAndroidLobApp with a source + * + * @param sourceManagedAndroidLobApp the source object with updates + * @return the updated ManagedAndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidLobApp patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAndroidLobApp); + } + + /** + * Creates a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAndroidLobApp newManagedAndroidLobApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAndroidLobApp); + } + + /** + * Creates a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the new object to create + * @return the created ManagedAndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidLobApp post(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException { + return send(HttpMethod.POST, newManagedAndroidLobApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAndroidLobAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAndroidLobAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAndroidLobAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAndroidLobAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequestBuilder.java index ba1f28308ef..ae9462f7896 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAndroidLobAppRequest; +import com.microsoft.graph.requests.extensions.ManagedAndroidLobAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAndroidLobAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Android Lob App Request Builder. */ -public class ManagedAndroidLobAppRequestBuilder extends BaseManagedAndroidLobAppRequestBuilder implements IManagedAndroidLobAppRequestBuilder { +public class ManagedAndroidLobAppRequestBuilder extends BaseRequestBuilder implements IManagedAndroidLobAppRequestBuilder { /** * The request builder for the ManagedAndroidLobApp @@ -25,4 +28,26 @@ public class ManagedAndroidLobAppRequestBuilder extends BaseManagedAndroidLobApp public ManagedAndroidLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAndroidLobAppRequest instance + */ + public IManagedAndroidLobAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAndroidLobAppRequest instance + */ + public IManagedAndroidLobAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAndroidLobAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequest.java index c4909e0f999..2d98788f807 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAndroidStoreAppRequest; +import com.microsoft.graph.requests.extensions.ManagedAndroidStoreAppRequest; +import com.microsoft.graph.models.extensions.ManagedAndroidStoreApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAndroidStoreApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAndroidStoreAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Android Store App Request. */ -public class ManagedAndroidStoreAppRequest extends BaseManagedAndroidStoreAppRequest implements IManagedAndroidStoreAppRequest { - +public class ManagedAndroidStoreAppRequest extends BaseRequest implements IManagedAndroidStoreAppRequest { + /** * The request for the ManagedAndroidStoreApp * @@ -26,4 +32,107 @@ public class ManagedAndroidStoreAppRequest extends BaseManagedAndroidStoreAppReq public ManagedAndroidStoreAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAndroidStoreApp.class); } + + /** + * Gets the ManagedAndroidStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAndroidStoreApp from the service + * + * @return the ManagedAndroidStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidStoreApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAndroidStoreApp with a source + * + * @param sourceManagedAndroidStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAndroidStoreApp); + } + + /** + * Patches this ManagedAndroidStoreApp with a source + * + * @param sourceManagedAndroidStoreApp the source object with updates + * @return the updated ManagedAndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidStoreApp patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAndroidStoreApp); + } + + /** + * Creates a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAndroidStoreApp newManagedAndroidStoreApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAndroidStoreApp); + } + + /** + * Creates a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the new object to create + * @return the created ManagedAndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidStoreApp post(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException { + return send(HttpMethod.POST, newManagedAndroidStoreApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAndroidStoreAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAndroidStoreAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAndroidStoreAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAndroidStoreAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequestBuilder.java index 3cb47ae0d3c..56410282c15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAndroidStoreAppRequest; +import com.microsoft.graph.requests.extensions.ManagedAndroidStoreAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAndroidStoreAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Android Store App Request Builder. */ -public class ManagedAndroidStoreAppRequestBuilder extends BaseManagedAndroidStoreAppRequestBuilder implements IManagedAndroidStoreAppRequestBuilder { +public class ManagedAndroidStoreAppRequestBuilder extends BaseRequestBuilder implements IManagedAndroidStoreAppRequestBuilder { /** * The request builder for the ManagedAndroidStoreApp @@ -25,4 +28,26 @@ public class ManagedAndroidStoreAppRequestBuilder extends BaseManagedAndroidStor public ManagedAndroidStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAndroidStoreAppRequest instance + */ + public IManagedAndroidStoreAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAndroidStoreAppRequest instance + */ + public IManagedAndroidStoreAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAndroidStoreAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequest.java index 8d3696edcb1..de742ffadbf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.ManagedAppConfigurationRequest; +import com.microsoft.graph.models.extensions.ManagedAppConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Configuration Request. */ -public class ManagedAppConfigurationRequest extends BaseManagedAppConfigurationRequest implements IManagedAppConfigurationRequest { - +public class ManagedAppConfigurationRequest extends BaseRequest implements IManagedAppConfigurationRequest { + /** * The request for the ManagedAppConfiguration * @@ -41,4 +47,107 @@ public ManagedAppConfigurationRequest(final String requestUrl, public ManagedAppConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppConfiguration.class); } + + /** + * Gets the ManagedAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppConfiguration from the service + * + * @return the ManagedAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppConfiguration with a source + * + * @param sourceManagedAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppConfiguration sourceManagedAppConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppConfiguration); + } + + /** + * Patches this ManagedAppConfiguration with a source + * + * @param sourceManagedAppConfiguration the source object with updates + * @return the updated ManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppConfiguration patch(final ManagedAppConfiguration sourceManagedAppConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppConfiguration); + } + + /** + * Creates a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppConfiguration newManagedAppConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppConfiguration); + } + + /** + * Creates a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the new object to create + * @return the created ManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppConfiguration post(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException { + return send(HttpMethod.POST, newManagedAppConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequestBuilder.java index da0204dd159..fa02e0815bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.ManagedAppConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Configuration Request Builder. */ -public class ManagedAppConfigurationRequestBuilder extends BaseManagedAppConfigurationRequestBuilder implements IManagedAppConfigurationRequestBuilder { +public class ManagedAppConfigurationRequestBuilder extends BaseRequestBuilder implements IManagedAppConfigurationRequestBuilder { /** * The request builder for the ManagedAppConfiguration @@ -25,4 +28,26 @@ public class ManagedAppConfigurationRequestBuilder extends BaseManagedAppConfigu public ManagedAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppConfigurationRequest instance + */ + public IManagedAppConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppConfigurationRequest instance + */ + public IManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionPage.java index 24035e1429c..145c12cac62 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppOperation; +import com.microsoft.graph.requests.extensions.IManagedAppOperationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Operation Collection Page. */ -public class ManagedAppOperationCollectionPage extends BaseManagedAppOperationCollectionPage implements IManagedAppOperationCollectionPage { +public class ManagedAppOperationCollectionPage extends BaseCollectionPage implements IManagedAppOperationCollectionPage { /** - * A collection page for ManagedAppRegistration. + * A collection page for ManagedAppOperation * - * @param response the serialized BaseManagedAppOperationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedAppOperationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedAppOperationCollectionPage(final BaseManagedAppOperationCollectionResponse response, final IManagedAppOperationCollectionRequestBuilder builder) { - super(response, builder); + public ManagedAppOperationCollectionPage(final ManagedAppOperationCollectionResponse response, final IManagedAppOperationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequest.java index e3d5e9d37a9..c7752850dde 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Operation Collection Request. */ -public class ManagedAppOperationCollectionRequest extends BaseManagedAppOperationCollectionRequest implements IManagedAppOperationCollectionRequest { +public class ManagedAppOperationCollectionRequest extends BaseCollectionRequest implements IManagedAppOperationCollectionRequest { /** - * The request for this collection of ManagedAppRegistration + * The request builder for this collection of ManagedAppOperation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppOperationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppOperationCollectionResponse.class, IManagedAppOperationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedAppOperationCollectionPage get() throws ClientException { + final ManagedAppOperationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedAppOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppOperation, callback); + } + + public ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedAppOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppOperation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppOperationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedAppOperationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppOperationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedAppOperationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppOperationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedAppOperationCollectionRequest)this; + } + + public IManagedAppOperationCollectionPage buildFromResponse(final ManagedAppOperationCollectionResponse response) { + final IManagedAppOperationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedAppOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedAppOperationCollectionPage page = new ManagedAppOperationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequestBuilder.java index 9af8e51dce0..93e2130c7ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Operation Collection Request Builder. */ -public class ManagedAppOperationCollectionRequestBuilder extends BaseManagedAppOperationCollectionRequestBuilder implements IManagedAppOperationCollectionRequestBuilder { +public class ManagedAppOperationCollectionRequestBuilder extends BaseRequestBuilder implements IManagedAppOperationCollectionRequestBuilder { /** * The request builder for this collection of ManagedAppRegistration @@ -25,4 +33,18 @@ public class ManagedAppOperationCollectionRequestBuilder extends BaseManagedAppO public ManagedAppOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppOperationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppOperationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedAppOperationRequestBuilder byId(final String id) { + return new ManagedAppOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionResponse.java new file mode 100644 index 00000000000..a0a28a3e415 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppOperation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed App Operation Collection Response. + */ +public class ManagedAppOperationCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedAppOperation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequest.java index 05195723a87..ecf7aa75d53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppOperationRequest; +import com.microsoft.graph.requests.extensions.ManagedAppOperationRequest; +import com.microsoft.graph.models.extensions.ManagedAppOperation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppOperation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Operation Request. */ -public class ManagedAppOperationRequest extends BaseManagedAppOperationRequest implements IManagedAppOperationRequest { - +public class ManagedAppOperationRequest extends BaseRequest implements IManagedAppOperationRequest { + /** * The request for the ManagedAppOperation * @@ -26,4 +32,107 @@ public class ManagedAppOperationRequest extends BaseManagedAppOperationRequest i public ManagedAppOperationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppOperation.class); } + + /** + * Gets the ManagedAppOperation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppOperation from the service + * + * @return the ManagedAppOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppOperation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppOperation with a source + * + * @param sourceManagedAppOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppOperation sourceManagedAppOperation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppOperation); + } + + /** + * Patches this ManagedAppOperation with a source + * + * @param sourceManagedAppOperation the source object with updates + * @return the updated ManagedAppOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppOperation patch(final ManagedAppOperation sourceManagedAppOperation) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppOperation); + } + + /** + * Creates a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppOperation); + } + + /** + * Creates a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the new object to create + * @return the created ManagedAppOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException { + return send(HttpMethod.POST, newManagedAppOperation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppOperationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppOperationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppOperationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppOperationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequestBuilder.java index 0a27034c0e8..ae8a07ca90a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppOperationRequest; +import com.microsoft.graph.requests.extensions.ManagedAppOperationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppOperationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Operation Request Builder. */ -public class ManagedAppOperationRequestBuilder extends BaseManagedAppOperationRequestBuilder implements IManagedAppOperationRequestBuilder { +public class ManagedAppOperationRequestBuilder extends BaseRequestBuilder implements IManagedAppOperationRequestBuilder { /** * The request builder for the ManagedAppOperation @@ -25,4 +28,26 @@ public class ManagedAppOperationRequestBuilder extends BaseManagedAppOperationRe public ManagedAppOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppOperationRequest instance + */ + public IManagedAppOperationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppOperationRequest instance + */ + public IManagedAppOperationRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppOperationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionPage.java index 2ef6198fddf..aa309eca28a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Collection Page. */ -public class ManagedAppPolicyCollectionPage extends BaseManagedAppPolicyCollectionPage implements IManagedAppPolicyCollectionPage { +public class ManagedAppPolicyCollectionPage extends BaseCollectionPage implements IManagedAppPolicyCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for ManagedAppPolicy * - * @param response the serialized BaseManagedAppPolicyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedAppPolicyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedAppPolicyCollectionPage(final BaseManagedAppPolicyCollectionResponse response, final IManagedAppPolicyCollectionRequestBuilder builder) { - super(response, builder); + public ManagedAppPolicyCollectionPage(final ManagedAppPolicyCollectionResponse response, final IManagedAppPolicyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequest.java index d1820c6c5d3..0a44a6442d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Collection Request. */ -public class ManagedAppPolicyCollectionRequest extends BaseManagedAppPolicyCollectionRequest implements IManagedAppPolicyCollectionRequest { +public class ManagedAppPolicyCollectionRequest extends BaseCollectionRequest implements IManagedAppPolicyCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of ManagedAppPolicy * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppPolicyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppPolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppPolicyCollectionResponse.class, IManagedAppPolicyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedAppPolicyCollectionPage get() throws ClientException { + final ManagedAppPolicyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedAppPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppPolicy, callback); + } + + public ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedAppPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppPolicy); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppPolicyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedAppPolicyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppPolicyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedAppPolicyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppPolicyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedAppPolicyCollectionRequest)this; + } + + public IManagedAppPolicyCollectionPage buildFromResponse(final ManagedAppPolicyCollectionResponse response) { + final IManagedAppPolicyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedAppPolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedAppPolicyCollectionPage page = new ManagedAppPolicyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequestBuilder.java index 7ec11ac1689..6e89d5e57e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Collection Request Builder. */ -public class ManagedAppPolicyCollectionRequestBuilder extends BaseManagedAppPolicyCollectionRequestBuilder implements IManagedAppPolicyCollectionRequestBuilder { +public class ManagedAppPolicyCollectionRequestBuilder extends BaseRequestBuilder implements IManagedAppPolicyCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class ManagedAppPolicyCollectionRequestBuilder extends BaseManagedAppPoli public ManagedAppPolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppPolicyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppPolicyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppPolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedAppPolicyRequestBuilder byId(final String id) { + return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionResponse.java new file mode 100644 index 00000000000..f0981da0a1c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed App Policy Collection Response. + */ +public class ManagedAppPolicyCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedAppPolicy within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequest.java index 7da8e28fc93..a49f6935520 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequest; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequest; +import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyDeploymentSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Deployment Summary Request. */ -public class ManagedAppPolicyDeploymentSummaryRequest extends BaseManagedAppPolicyDeploymentSummaryRequest implements IManagedAppPolicyDeploymentSummaryRequest { - +public class ManagedAppPolicyDeploymentSummaryRequest extends BaseRequest implements IManagedAppPolicyDeploymentSummaryRequest { + /** * The request for the ManagedAppPolicyDeploymentSummary * @@ -26,4 +32,107 @@ public class ManagedAppPolicyDeploymentSummaryRequest extends BaseManagedAppPoli public ManagedAppPolicyDeploymentSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppPolicyDeploymentSummary.class); } + + /** + * Gets the ManagedAppPolicyDeploymentSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppPolicyDeploymentSummary from the service + * + * @return the ManagedAppPolicyDeploymentSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicyDeploymentSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppPolicyDeploymentSummary with a source + * + * @param sourceManagedAppPolicyDeploymentSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppPolicyDeploymentSummary); + } + + /** + * Patches this ManagedAppPolicyDeploymentSummary with a source + * + * @param sourceManagedAppPolicyDeploymentSummary the source object with updates + * @return the updated ManagedAppPolicyDeploymentSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicyDeploymentSummary patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppPolicyDeploymentSummary); + } + + /** + * Creates a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppPolicyDeploymentSummary); + } + + /** + * Creates a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the new object to create + * @return the created ManagedAppPolicyDeploymentSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicyDeploymentSummary post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException { + return send(HttpMethod.POST, newManagedAppPolicyDeploymentSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppPolicyDeploymentSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppPolicyDeploymentSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppPolicyDeploymentSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppPolicyDeploymentSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequestBuilder.java index c29080a079a..04c0fc30b4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequest; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyDeploymentSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Deployment Summary Request Builder. */ -public class ManagedAppPolicyDeploymentSummaryRequestBuilder extends BaseManagedAppPolicyDeploymentSummaryRequestBuilder implements IManagedAppPolicyDeploymentSummaryRequestBuilder { +public class ManagedAppPolicyDeploymentSummaryRequestBuilder extends BaseRequestBuilder implements IManagedAppPolicyDeploymentSummaryRequestBuilder { /** * The request builder for the ManagedAppPolicyDeploymentSummary @@ -25,4 +28,26 @@ public class ManagedAppPolicyDeploymentSummaryRequestBuilder extends BaseManaged public ManagedAppPolicyDeploymentSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppPolicyDeploymentSummaryRequest instance + */ + public IManagedAppPolicyDeploymentSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppPolicyDeploymentSummaryRequest instance + */ + public IManagedAppPolicyDeploymentSummaryRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppPolicyDeploymentSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequest.java index 572ddee12e8..a2d46187d0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequest; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequest; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Request. */ -public class ManagedAppPolicyRequest extends BaseManagedAppPolicyRequest implements IManagedAppPolicyRequest { - +public class ManagedAppPolicyRequest extends BaseRequest implements IManagedAppPolicyRequest { + /** * The request for the ManagedAppPolicy * @@ -41,4 +47,107 @@ public ManagedAppPolicyRequest(final String requestUrl, public ManagedAppPolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppPolicy.class); } + + /** + * Gets the ManagedAppPolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppPolicy from the service + * + * @return the ManagedAppPolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppPolicy with a source + * + * @param sourceManagedAppPolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppPolicy sourceManagedAppPolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppPolicy); + } + + /** + * Patches this ManagedAppPolicy with a source + * + * @param sourceManagedAppPolicy the source object with updates + * @return the updated ManagedAppPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicy patch(final ManagedAppPolicy sourceManagedAppPolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppPolicy); + } + + /** + * Creates a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppPolicy); + } + + /** + * Creates a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the new object to create + * @return the created ManagedAppPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException { + return send(HttpMethod.POST, newManagedAppPolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppPolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppPolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppPolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppPolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequestBuilder.java index 26392e0193b..1fcaf18af97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequestBuilder.java @@ -3,17 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequest; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyTargetAppsRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Request Builder. */ -public class ManagedAppPolicyRequestBuilder extends BaseManagedAppPolicyRequestBuilder implements IManagedAppPolicyRequestBuilder { +public class ManagedAppPolicyRequestBuilder extends BaseRequestBuilder implements IManagedAppPolicyRequestBuilder { /** * The request builder for the ManagedAppPolicy @@ -25,4 +31,30 @@ public class ManagedAppPolicyRequestBuilder extends BaseManagedAppPolicyRequestB public ManagedAppPolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppPolicyRequest instance + */ + public IManagedAppPolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppPolicyRequest instance + */ + public IManagedAppPolicyRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppPolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IManagedAppPolicyTargetAppsRequestBuilder targetApps(final java.util.List apps) { + return new ManagedAppPolicyTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, apps); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequest.java index 301b6db617f..20768af107a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppPolicyTargetAppsBody; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyTargetAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyTargetAppsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Target Apps Request. */ -public class ManagedAppPolicyTargetAppsRequest extends BaseManagedAppPolicyTargetAppsRequest implements IManagedAppPolicyTargetAppsRequest { +public class ManagedAppPolicyTargetAppsRequest extends BaseRequest implements IManagedAppPolicyTargetAppsRequest { + protected final ManagedAppPolicyTargetAppsBody body; /** * The request for this ManagedAppPolicyTargetApps @@ -23,6 +31,49 @@ public class ManagedAppPolicyTargetAppsRequest extends BaseManagedAppPolicyTarge * @param requestOptions the options for this request */ public ManagedAppPolicyTargetAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedAppPolicyTargetAppsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppPolicyTargetAppsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppPolicyTargetAppsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppPolicyTargetAppsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedAppPolicyTargetAppsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppPolicyTargetAppsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppPolicyTargetAppsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequestBuilder.java index 1462b5b2f89..9025edd43b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyTargetAppsRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyTargetAppsRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedMobileApp; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppPolicyTargetAppsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Policy Target Apps Request Builder. */ -public class ManagedAppPolicyTargetAppsRequestBuilder extends BaseManagedAppPolicyTargetAppsRequestBuilder implements IManagedAppPolicyTargetAppsRequestBuilder { +public class ManagedAppPolicyTargetAppsRequestBuilder extends BaseActionRequestBuilder implements IManagedAppPolicyTargetAppsRequestBuilder { /** * The request builder for this ManagedAppPolicyTargetApps @@ -25,6 +30,36 @@ public class ManagedAppPolicyTargetAppsRequestBuilder extends BaseManagedAppPoli * @param apps the apps */ public ManagedAppPolicyTargetAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List apps) { - super(requestUrl, client, requestOptions, apps); + super(requestUrl, client, requestOptions); + bodyParams.put("apps", apps); + } + + /** + * Creates the IManagedAppPolicyTargetAppsRequest + * + * @return the IManagedAppPolicyTargetAppsRequest instance + */ + public IManagedAppPolicyTargetAppsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedAppPolicyTargetAppsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedAppPolicyTargetAppsRequest instance + */ + public IManagedAppPolicyTargetAppsRequest buildRequest(final java.util.List requestOptions) { + ManagedAppPolicyTargetAppsRequest request = new ManagedAppPolicyTargetAppsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("apps")) { + request.body.apps = getParameter("apps"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequest.java index ad47f62c0db..be8df3b6fb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.ManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.ManagedAppProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Protection Request. */ -public class ManagedAppProtectionRequest extends BaseManagedAppProtectionRequest implements IManagedAppProtectionRequest { - +public class ManagedAppProtectionRequest extends BaseRequest implements IManagedAppProtectionRequest { + /** * The request for the ManagedAppProtection * @@ -41,4 +47,107 @@ public ManagedAppProtectionRequest(final String requestUrl, public ManagedAppProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppProtection.class); } + + /** + * Gets the ManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppProtection from the service + * + * @return the ManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppProtection with a source + * + * @param sourceManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppProtection sourceManagedAppProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppProtection); + } + + /** + * Patches this ManagedAppProtection with a source + * + * @param sourceManagedAppProtection the source object with updates + * @return the updated ManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppProtection patch(final ManagedAppProtection sourceManagedAppProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppProtection); + } + + /** + * Creates a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppProtection newManagedAppProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppProtection); + } + + /** + * Creates a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the new object to create + * @return the created ManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppProtection post(final ManagedAppProtection newManagedAppProtection) throws ClientException { + return send(HttpMethod.POST, newManagedAppProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequestBuilder.java index 0dcca92d9db..e7570286465 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequestBuilder.java @@ -3,17 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.ManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppProtectionTargetAppsRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Protection Request Builder. */ -public class ManagedAppProtectionRequestBuilder extends BaseManagedAppProtectionRequestBuilder implements IManagedAppProtectionRequestBuilder { +public class ManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IManagedAppProtectionRequestBuilder { /** * The request builder for the ManagedAppProtection @@ -25,4 +31,30 @@ public class ManagedAppProtectionRequestBuilder extends BaseManagedAppProtection public ManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppProtectionRequest instance + */ + public IManagedAppProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppProtectionRequest instance + */ + public IManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IManagedAppProtectionTargetAppsRequestBuilder targetApps(final java.util.List apps) { + return new ManagedAppProtectionTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, apps); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequest.java index bd8b46d5596..06fbe29d429 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppProtectionTargetAppsBody; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.requests.extensions.ManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Protection Target Apps Request. */ -public class ManagedAppProtectionTargetAppsRequest extends BaseManagedAppProtectionTargetAppsRequest implements IManagedAppProtectionTargetAppsRequest { +public class ManagedAppProtectionTargetAppsRequest extends BaseRequest implements IManagedAppProtectionTargetAppsRequest { + protected final ManagedAppProtectionTargetAppsBody body; /** * The request for this ManagedAppProtectionTargetApps @@ -23,6 +31,49 @@ public class ManagedAppProtectionTargetAppsRequest extends BaseManagedAppProtect * @param requestOptions the options for this request */ public ManagedAppProtectionTargetAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedAppProtectionTargetAppsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppProtectionTargetAppsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppProtectionTargetAppsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppProtectionTargetAppsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedAppProtectionTargetAppsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppProtectionTargetAppsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppProtectionTargetAppsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequestBuilder.java index ecba5f89717..d30d11c5862 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionTargetAppsRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.requests.extensions.ManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedMobileApp; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppProtectionTargetAppsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Protection Target Apps Request Builder. */ -public class ManagedAppProtectionTargetAppsRequestBuilder extends BaseManagedAppProtectionTargetAppsRequestBuilder implements IManagedAppProtectionTargetAppsRequestBuilder { +public class ManagedAppProtectionTargetAppsRequestBuilder extends BaseActionRequestBuilder implements IManagedAppProtectionTargetAppsRequestBuilder { /** * The request builder for this ManagedAppProtectionTargetApps @@ -25,6 +30,36 @@ public class ManagedAppProtectionTargetAppsRequestBuilder extends BaseManagedApp * @param apps the apps */ public ManagedAppProtectionTargetAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List apps) { - super(requestUrl, client, requestOptions, apps); + super(requestUrl, client, requestOptions); + bodyParams.put("apps", apps); + } + + /** + * Creates the IManagedAppProtectionTargetAppsRequest + * + * @return the IManagedAppProtectionTargetAppsRequest instance + */ + public IManagedAppProtectionTargetAppsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedAppProtectionTargetAppsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedAppProtectionTargetAppsRequest instance + */ + public IManagedAppProtectionTargetAppsRequest buildRequest(final java.util.List requestOptions) { + ManagedAppProtectionTargetAppsRequest request = new ManagedAppProtectionTargetAppsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("apps")) { + request.body.apps = getParameter("apps"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionPage.java index 87229d82420..0638e0f4a43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection Page. */ -public class ManagedAppRegistrationCollectionPage extends BaseManagedAppRegistrationCollectionPage implements IManagedAppRegistrationCollectionPage { +public class ManagedAppRegistrationCollectionPage extends BaseCollectionPage implements IManagedAppRegistrationCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for ManagedAppRegistration * - * @param response the serialized BaseManagedAppRegistrationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedAppRegistrationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedAppRegistrationCollectionPage(final BaseManagedAppRegistrationCollectionResponse response, final IManagedAppRegistrationCollectionRequestBuilder builder) { - super(response, builder); + public ManagedAppRegistrationCollectionPage(final ManagedAppRegistrationCollectionResponse response, final IManagedAppRegistrationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequest.java index 099866bc276..3aa182428c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection Reference Request. */ -public class ManagedAppRegistrationCollectionReferenceRequest extends BaseManagedAppRegistrationCollectionReferenceRequest implements IManagedAppRegistrationCollectionReferenceRequest { +public class ManagedAppRegistrationCollectionReferenceRequest extends BaseCollectionRequest implements IManagedAppRegistrationCollectionReferenceRequest { + + /** + * The request builder for this collection of ManagedAppRegistration + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ManagedAppRegistrationCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppRegistrationCollectionResponse.class, IManagedAppRegistrationCollectionPage.class); + } + + public void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/managedAppRegistrations/" + newManagedAppRegistration.id); + new ManagedAppRegistrationWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppRegistration, body, callback); + } + + public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/managedAppRegistrations/" + newManagedAppRegistration.id); + return new ManagedAppRegistrationWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppRegistration, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRegistrationCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedAppRegistrationCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRegistrationCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedAppRegistrationCollectionReferenceRequest)this; + } /** - * The request for this collection of User + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public ManagedAppRegistrationCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IManagedAppRegistrationCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedAppRegistrationCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequestBuilder.java index 43eef7c9095..a051bb6682e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection Reference Request Builder. */ -public class ManagedAppRegistrationCollectionReferenceRequestBuilder extends BaseManagedAppRegistrationCollectionReferenceRequestBuilder implements IManagedAppRegistrationCollectionReferenceRequestBuilder { +public class ManagedAppRegistrationCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IManagedAppRegistrationCollectionReferenceRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,12 @@ public class ManagedAppRegistrationCollectionReferenceRequestBuilder extends Bas public ManagedAppRegistrationCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppRegistrationCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppRegistrationCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRegistrationCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequest.java index 1c68c32e769..f7a47f3694f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection Request. */ -public class ManagedAppRegistrationCollectionRequest extends BaseManagedAppRegistrationCollectionRequest implements IManagedAppRegistrationCollectionRequest { +public class ManagedAppRegistrationCollectionRequest extends BaseCollectionRequest implements IManagedAppRegistrationCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of ManagedAppRegistration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppRegistrationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppRegistrationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppRegistrationCollectionResponse.class, IManagedAppRegistrationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedAppRegistrationCollectionPage get() throws ClientException { + final ManagedAppRegistrationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedAppRegistrationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppRegistration, callback); + } + + public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedAppRegistrationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppRegistration); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRegistrationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedAppRegistrationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRegistrationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedAppRegistrationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppRegistrationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedAppRegistrationCollectionRequest)this; + } + + public IManagedAppRegistrationCollectionPage buildFromResponse(final ManagedAppRegistrationCollectionResponse response) { + final IManagedAppRegistrationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedAppRegistrationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedAppRegistrationCollectionPage page = new ManagedAppRegistrationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequestBuilder.java index 393e2d5040e..483ab86f80b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection Request Builder. */ -public class ManagedAppRegistrationCollectionRequestBuilder extends BaseManagedAppRegistrationCollectionRequestBuilder implements IManagedAppRegistrationCollectionRequestBuilder { +public class ManagedAppRegistrationCollectionRequestBuilder extends BaseRequestBuilder implements IManagedAppRegistrationCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,22 @@ public class ManagedAppRegistrationCollectionRequestBuilder extends BaseManagedA public ManagedAppRegistrationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppRegistrationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRegistrationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedAppRegistrationRequestBuilder byId(final String id) { + return new ManagedAppRegistrationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder getUserIdsWithFlaggedAppRegistration() { + return new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getUserIdsWithFlaggedAppRegistration"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionResponse.java new file mode 100644 index 00000000000..bc2e04e992f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed App Registration Collection Response. + */ +public class ManagedAppRegistrationCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedAppRegistration within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesPage.java index 07e6acf9073..55bf6806ebe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionResponse; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection With References Page. */ -public class ManagedAppRegistrationCollectionWithReferencesPage extends BaseManagedAppRegistrationCollectionWithReferencesPage implements IManagedAppRegistrationCollectionWithReferencesPage { +public class ManagedAppRegistrationCollectionWithReferencesPage extends BaseCollectionPage implements IManagedAppRegistrationCollectionWithReferencesPage { /** - * A collection page for User. + * A collection page for ManagedAppRegistration * - * @param response the serialized BaseManagedAppRegistrationCollectionResponse from the service + * @param response the serialized ManagedAppRegistrationCollectionResponse from the service * @param builder the request builder for the next collection page */ - public ManagedAppRegistrationCollectionWithReferencesPage(final BaseManagedAppRegistrationCollectionResponse response, final IManagedAppRegistrationCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public ManagedAppRegistrationCollectionWithReferencesPage(final ManagedAppRegistrationCollectionResponse response, final IManagedAppRegistrationCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequest.java index 38566d69bea..fee925ae5b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection With References Request. */ -public class ManagedAppRegistrationCollectionWithReferencesRequest extends BaseManagedAppRegistrationCollectionWithReferencesRequest implements IManagedAppRegistrationCollectionWithReferencesRequest { +public class ManagedAppRegistrationCollectionWithReferencesRequest extends BaseCollectionRequest implements IManagedAppRegistrationCollectionWithReferencesRequest { /** - * The request for this collection of User + * The request builder for this collection of ManagedAppRegistration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppRegistrationCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppRegistrationCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppRegistrationCollectionResponse.class, IManagedAppRegistrationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedAppRegistrationCollectionWithReferencesPage get() throws ClientException { + final ManagedAppRegistrationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IManagedAppRegistrationCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedAppRegistrationCollectionWithReferencesRequest)this; + } + + public IManagedAppRegistrationCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedAppRegistrationCollectionWithReferencesRequest)this; + } + + public IManagedAppRegistrationCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedAppRegistrationCollectionWithReferencesRequest)this; + } + + public IManagedAppRegistrationCollectionWithReferencesPage buildFromResponse(final ManagedAppRegistrationCollectionResponse response) { + final IManagedAppRegistrationCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedAppRegistrationCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedAppRegistrationCollectionWithReferencesPage page = new ManagedAppRegistrationCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequestBuilder.java index 790b6e9b3b3..130dff94bcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Collection With References Request Builder. */ -public class ManagedAppRegistrationCollectionWithReferencesRequestBuilder extends BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder implements IManagedAppRegistrationCollectionWithReferencesRequestBuilder { +public class ManagedAppRegistrationCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IManagedAppRegistrationCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,20 @@ public class ManagedAppRegistrationCollectionWithReferencesRequestBuilder extend public ManagedAppRegistrationCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppRegistrationCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppRegistrationCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRegistrationCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedAppRegistrationWithReferenceRequestBuilder byId(final String id) { + return new ManagedAppRegistrationWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IManagedAppRegistrationCollectionReferenceRequestBuilder references(){ + return new ManagedAppRegistrationCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java index 59772450653..294226ffefd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Get User Ids With Flagged App Registration Collection Page. */ -public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage extends BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage implements IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage { +public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage extends BaseCollectionPage implements IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage { /** - * A collection page for ManagedAppRegistration. + * A collection page for ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistration. * - * @param response the serialized BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage(final BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response, final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder builder) { - super(response, builder); + public ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage(final ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response, final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java index c6e9bb5017d..afd951eaaf4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Get User Ids With Flagged App Registration Collection Request. */ -public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest extends BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest implements IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest { +public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest extends BaseCollectionRequest implements IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest { + /** - * The request for this collection of ManagedAppRegistration + * The request for this ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.class, IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage get() throws ClientException { + final ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage buildFromResponse(final ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response) { + final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage page = new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java index ada3ebd3a33..7ef36740a16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Get User Ids With Flagged App Registration Collection Request Builder. */ -public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder extends BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder implements IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder { +public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder { /** * The request builder for this collection of ManagedAppRegistration @@ -25,4 +32,22 @@ public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectio public ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions) { + ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest request = new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java new file mode 100644 index 00000000000..b9686d8b398 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed App Registration Get User Ids With Flagged App Registration Collection Response. + */ +public class ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequest.java index 09fcf96fd61..7311e29c255 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Reference Request. */ -public class ManagedAppRegistrationReferenceRequest extends BaseManagedAppRegistrationReferenceRequest implements IManagedAppRegistrationReferenceRequest { +public class ManagedAppRegistrationReferenceRequest extends BaseRequest implements IManagedAppRegistrationReferenceRequest { /** * The request for the ManagedAppRegistration @@ -22,7 +30,57 @@ public class ManagedAppRegistrationReferenceRequest extends BaseManagedAppRegist * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppRegistrationReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppRegistrationReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppRegistration.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public ManagedAppRegistration delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRegistrationReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppRegistrationReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRegistrationReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppRegistrationReferenceRequest)this; + } + /** + * Puts the ManagedAppRegistration + * + * @param srcManagedAppRegistration the ManagedAppRegistration reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(ManagedAppRegistration srcManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PUT, callback, srcManagedAppRegistration); + } + + /** + * Puts the ManagedAppRegistration + * + * @param srcManagedAppRegistration the ManagedAppRegistration reference to PUT + * @return the ManagedAppRegistration + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public ManagedAppRegistration put(ManagedAppRegistration srcManagedAppRegistration) throws ClientException { + return send(HttpMethod.PUT, srcManagedAppRegistration); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequestBuilder.java index ea9e31763b0..fe857831649 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Reference Request Builder. */ -public class ManagedAppRegistrationReferenceRequestBuilder extends BaseManagedAppRegistrationReferenceRequestBuilder implements IManagedAppRegistrationReferenceRequestBuilder { +public class ManagedAppRegistrationReferenceRequestBuilder extends BaseRequestBuilder implements IManagedAppRegistrationReferenceRequestBuilder { /** * The request builder for the ManagedAppRegistration @@ -25,4 +34,23 @@ public class ManagedAppRegistrationReferenceRequestBuilder extends BaseManagedAp public ManagedAppRegistrationReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IManagedAppRegistrationReferenceRequest instance + */ + public IManagedAppRegistrationReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppRegistrationReferenceRequest instance + */ + public IManagedAppRegistrationReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRegistrationReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequest.java index f79cb950eb1..640e7d194b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationRequest; +import com.microsoft.graph.models.extensions.ManagedAppRegistration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Request. */ -public class ManagedAppRegistrationRequest extends BaseManagedAppRegistrationRequest implements IManagedAppRegistrationRequest { - +public class ManagedAppRegistrationRequest extends BaseRequest implements IManagedAppRegistrationRequest { + /** * The request for the ManagedAppRegistration * @@ -41,4 +47,107 @@ public ManagedAppRegistrationRequest(final String requestUrl, public ManagedAppRegistrationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppRegistration.class); } + + /** + * Gets the ManagedAppRegistration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppRegistration from the service + * + * @return the ManagedAppRegistration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppRegistration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppRegistration with a source + * + * @param sourceManagedAppRegistration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppRegistration); + } + + /** + * Patches this ManagedAppRegistration with a source + * + * @param sourceManagedAppRegistration the source object with updates + * @return the updated ManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppRegistration); + } + + /** + * Creates a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppRegistration); + } + + /** + * Creates a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the new object to create + * @return the created ManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { + return send(HttpMethod.POST, newManagedAppRegistration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRegistrationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppRegistrationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRegistrationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppRegistrationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequestBuilder.java index 46f496b4f6c..fc559f54d44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequestBuilder.java @@ -3,17 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationRequest; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppOperationRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration Request Builder. */ -public class ManagedAppRegistrationRequestBuilder extends BaseManagedAppRegistrationRequestBuilder implements IManagedAppRegistrationRequestBuilder { +public class ManagedAppRegistrationRequestBuilder extends BaseRequestBuilder implements IManagedAppRegistrationRequestBuilder { /** * The request builder for the ManagedAppRegistration @@ -25,4 +40,47 @@ public class ManagedAppRegistrationRequestBuilder extends BaseManagedAppRegistra public ManagedAppRegistrationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppRegistrationRequest instance + */ + public IManagedAppRegistrationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppRegistrationRequest instance + */ + public IManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRegistrationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedAppPolicyCollectionRequestBuilder appliedPolicies() { + return new ManagedAppPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("appliedPolicies"), getClient(), null); + } + + public IManagedAppPolicyRequestBuilder appliedPolicies(final String id) { + return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("appliedPolicies") + "/" + id, getClient(), null); + } + public IManagedAppPolicyCollectionRequestBuilder intendedPolicies() { + return new ManagedAppPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("intendedPolicies"), getClient(), null); + } + + public IManagedAppPolicyRequestBuilder intendedPolicies(final String id) { + return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("intendedPolicies") + "/" + id, getClient(), null); + } + public IManagedAppOperationCollectionRequestBuilder operations() { + return new ManagedAppOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null); + } + + public IManagedAppOperationRequestBuilder operations(final String id) { + return new ManagedAppOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequest.java index 18aa6713ef6..be672c099c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration With Reference Request. */ -public class ManagedAppRegistrationWithReferenceRequest extends BaseManagedAppRegistrationWithReferenceRequest implements IManagedAppRegistrationWithReferenceRequest { +public class ManagedAppRegistrationWithReferenceRequest extends BaseRequest implements IManagedAppRegistrationWithReferenceRequest { /** * The request for the ManagedAppRegistration @@ -22,7 +30,66 @@ public class ManagedAppRegistrationWithReferenceRequest extends BaseManagedAppRe * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppRegistrationWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppRegistrationWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppRegistration.class); + } + + public void post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newManagedAppRegistration; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public ManagedAppRegistration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppRegistration); + } + + public ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppRegistration); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRegistrationWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IManagedAppRegistrationWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRegistrationWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppRegistrationWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequestBuilder.java index ae4d2d2623c..5bd9189b715 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRegistrationWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Registration With Reference Request Builder. */ -public class ManagedAppRegistrationWithReferenceRequestBuilder extends BaseManagedAppRegistrationWithReferenceRequestBuilder implements IManagedAppRegistrationWithReferenceRequestBuilder { +public class ManagedAppRegistrationWithReferenceRequestBuilder extends BaseRequestBuilder implements IManagedAppRegistrationWithReferenceRequestBuilder { /** * The request builder for the ManagedAppRegistration @@ -25,4 +33,28 @@ public class ManagedAppRegistrationWithReferenceRequestBuilder extends BaseManag public ManagedAppRegistrationWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppRegistrationWithReferenceRequest instance + */ + public IManagedAppRegistrationWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedAppRegistrationWithReferenceRequest instance + */ + public IManagedAppRegistrationWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRegistrationWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedAppRegistrationReferenceRequestBuilder reference(){ + return new ManagedAppRegistrationReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequest.java index ce95965d730..cc239334944 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppRequest; +import com.microsoft.graph.requests.extensions.ManagedAppRequest; +import com.microsoft.graph.models.extensions.ManagedApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Request. */ -public class ManagedAppRequest extends BaseManagedAppRequest implements IManagedAppRequest { - +public class ManagedAppRequest extends BaseRequest implements IManagedAppRequest { + /** * The request for the ManagedApp * @@ -41,4 +47,107 @@ public ManagedAppRequest(final String requestUrl, public ManagedAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedApp.class); } + + /** + * Gets the ManagedApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedApp from the service + * + * @return the ManagedApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedApp with a source + * + * @param sourceManagedApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedApp sourceManagedApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedApp); + } + + /** + * Patches this ManagedApp with a source + * + * @param sourceManagedApp the source object with updates + * @return the updated ManagedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedApp patch(final ManagedApp sourceManagedApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedApp); + } + + /** + * Creates a ManagedApp with a new object + * + * @param newManagedApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedApp newManagedApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedApp); + } + + /** + * Creates a ManagedApp with a new object + * + * @param newManagedApp the new object to create + * @return the created ManagedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedApp post(final ManagedApp newManagedApp) throws ClientException { + return send(HttpMethod.POST, newManagedApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequestBuilder.java index 515aeadff64..eeee7bd223c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppRequest; +import com.microsoft.graph.requests.extensions.ManagedAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Request Builder. */ -public class ManagedAppRequestBuilder extends BaseManagedAppRequestBuilder implements IManagedAppRequestBuilder { +public class ManagedAppRequestBuilder extends BaseRequestBuilder implements IManagedAppRequestBuilder { /** * The request builder for the ManagedApp @@ -25,4 +28,26 @@ public class ManagedAppRequestBuilder extends BaseManagedAppRequestBuilder imple public ManagedAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppRequest instance + */ + public IManagedAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppRequest instance + */ + public IManagedAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionPage.java index 976114220a0..e79dda8f8e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppStatus; +import com.microsoft.graph.requests.extensions.IManagedAppStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Collection Page. */ -public class ManagedAppStatusCollectionPage extends BaseManagedAppStatusCollectionPage implements IManagedAppStatusCollectionPage { +public class ManagedAppStatusCollectionPage extends BaseCollectionPage implements IManagedAppStatusCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for ManagedAppStatus * - * @param response the serialized BaseManagedAppStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedAppStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedAppStatusCollectionPage(final BaseManagedAppStatusCollectionResponse response, final IManagedAppStatusCollectionRequestBuilder builder) { - super(response, builder); + public ManagedAppStatusCollectionPage(final ManagedAppStatusCollectionResponse response, final IManagedAppStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequest.java index 82fa3a08620..f501ed97dce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Collection Request. */ -public class ManagedAppStatusCollectionRequest extends BaseManagedAppStatusCollectionRequest implements IManagedAppStatusCollectionRequest { +public class ManagedAppStatusCollectionRequest extends BaseCollectionRequest implements IManagedAppStatusCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of ManagedAppStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedAppStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedAppStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedAppStatusCollectionResponse.class, IManagedAppStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedAppStatusCollectionPage get() throws ClientException { + final ManagedAppStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedAppStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppStatus, callback); + } + + public ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedAppStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedAppStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedAppStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedAppStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedAppStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedAppStatusCollectionRequest)this; + } + + public IManagedAppStatusCollectionPage buildFromResponse(final ManagedAppStatusCollectionResponse response) { + final IManagedAppStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedAppStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedAppStatusCollectionPage page = new ManagedAppStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequestBuilder.java index d931ba6824d..8d8bd96cb06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Collection Request Builder. */ -public class ManagedAppStatusCollectionRequestBuilder extends BaseManagedAppStatusCollectionRequestBuilder implements IManagedAppStatusCollectionRequestBuilder { +public class ManagedAppStatusCollectionRequestBuilder extends BaseRequestBuilder implements IManagedAppStatusCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class ManagedAppStatusCollectionRequestBuilder extends BaseManagedAppStat public ManagedAppStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedAppStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedAppStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedAppStatusRequestBuilder byId(final String id) { + return new ManagedAppStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionResponse.java new file mode 100644 index 00000000000..edaba5ce921 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedAppStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed App Status Collection Response. + */ +public class ManagedAppStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedAppStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequest.java index fb5e755b48e..aee88f71220 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRawRequest; +import com.microsoft.graph.requests.extensions.ManagedAppStatusRawRequest; +import com.microsoft.graph.models.extensions.ManagedAppStatusRaw; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppStatusRaw; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusRawRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Raw Request. */ -public class ManagedAppStatusRawRequest extends BaseManagedAppStatusRawRequest implements IManagedAppStatusRawRequest { - +public class ManagedAppStatusRawRequest extends BaseRequest implements IManagedAppStatusRawRequest { + /** * The request for the ManagedAppStatusRaw * @@ -26,4 +32,107 @@ public class ManagedAppStatusRawRequest extends BaseManagedAppStatusRawRequest i public ManagedAppStatusRawRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppStatusRaw.class); } + + /** + * Gets the ManagedAppStatusRaw from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppStatusRaw from the service + * + * @return the ManagedAppStatusRaw from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatusRaw get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppStatusRaw with a source + * + * @param sourceManagedAppStatusRaw the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppStatusRaw); + } + + /** + * Patches this ManagedAppStatusRaw with a source + * + * @param sourceManagedAppStatusRaw the source object with updates + * @return the updated ManagedAppStatusRaw + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatusRaw patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppStatusRaw); + } + + /** + * Creates a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppStatusRaw newManagedAppStatusRaw, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppStatusRaw); + } + + /** + * Creates a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the new object to create + * @return the created ManagedAppStatusRaw + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatusRaw post(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException { + return send(HttpMethod.POST, newManagedAppStatusRaw); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppStatusRawRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppStatusRawRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppStatusRawRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppStatusRawRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequestBuilder.java index 09a4dd466d3..4279f871948 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRawRequest; +import com.microsoft.graph.requests.extensions.ManagedAppStatusRawRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusRawRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Raw Request Builder. */ -public class ManagedAppStatusRawRequestBuilder extends BaseManagedAppStatusRawRequestBuilder implements IManagedAppStatusRawRequestBuilder { +public class ManagedAppStatusRawRequestBuilder extends BaseRequestBuilder implements IManagedAppStatusRawRequestBuilder { /** * The request builder for the ManagedAppStatusRaw @@ -25,4 +28,26 @@ public class ManagedAppStatusRawRequestBuilder extends BaseManagedAppStatusRawRe public ManagedAppStatusRawRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppStatusRawRequest instance + */ + public IManagedAppStatusRawRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppStatusRawRequest instance + */ + public IManagedAppStatusRawRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppStatusRawRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequest.java index acb76cc6459..a5622570c4b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRequest; +import com.microsoft.graph.requests.extensions.ManagedAppStatusRequest; +import com.microsoft.graph.models.extensions.ManagedAppStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedAppStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Request. */ -public class ManagedAppStatusRequest extends BaseManagedAppStatusRequest implements IManagedAppStatusRequest { - +public class ManagedAppStatusRequest extends BaseRequest implements IManagedAppStatusRequest { + /** * The request for the ManagedAppStatus * @@ -41,4 +47,107 @@ public ManagedAppStatusRequest(final String requestUrl, public ManagedAppStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedAppStatus.class); } + + /** + * Gets the ManagedAppStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedAppStatus from the service + * + * @return the ManagedAppStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedAppStatus with a source + * + * @param sourceManagedAppStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedAppStatus sourceManagedAppStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedAppStatus); + } + + /** + * Patches this ManagedAppStatus with a source + * + * @param sourceManagedAppStatus the source object with updates + * @return the updated ManagedAppStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatus patch(final ManagedAppStatus sourceManagedAppStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedAppStatus); + } + + /** + * Creates a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedAppStatus); + } + + /** + * Creates a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the new object to create + * @return the created ManagedAppStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException { + return send(HttpMethod.POST, newManagedAppStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedAppStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedAppStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedAppStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedAppStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequestBuilder.java index d402c8e4344..89c3d6f9b81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedAppStatusRequest; +import com.microsoft.graph.requests.extensions.ManagedAppStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedAppStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed App Status Request Builder. */ -public class ManagedAppStatusRequestBuilder extends BaseManagedAppStatusRequestBuilder implements IManagedAppStatusRequestBuilder { +public class ManagedAppStatusRequestBuilder extends BaseRequestBuilder implements IManagedAppStatusRequestBuilder { /** * The request builder for the ManagedAppStatus @@ -25,4 +28,26 @@ public class ManagedAppStatusRequestBuilder extends BaseManagedAppStatusRequestB public ManagedAppStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedAppStatusRequest instance + */ + public IManagedAppStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedAppStatusRequest instance + */ + public IManagedAppStatusRequest buildRequest(final java.util.List requestOptions) { + return new ManagedAppStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequest.java index 32ce5c2d1eb..d16cff0e871 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceBypassActivationLockRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceBypassActivationLockRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Bypass Activation Lock Request. */ -public class ManagedDeviceBypassActivationLockRequest extends BaseManagedDeviceBypassActivationLockRequest implements IManagedDeviceBypassActivationLockRequest { +public class ManagedDeviceBypassActivationLockRequest extends BaseRequest implements IManagedDeviceBypassActivationLockRequest { /** * The request for this ManagedDeviceBypassActivationLock @@ -23,6 +30,35 @@ public class ManagedDeviceBypassActivationLockRequest extends BaseManagedDeviceB * @param requestOptions the options for this request */ public ManagedDeviceBypassActivationLockRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceBypassActivationLock + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceBypassActivationLock + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequestBuilder.java index 9e7cfb09129..66f3a41ebe1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceBypassActivationLockRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceBypassActivationLockRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceBypassActivationLockRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Bypass Activation Lock Request Builder. */ -public class ManagedDeviceBypassActivationLockRequestBuilder extends BaseManagedDeviceBypassActivationLockRequestBuilder implements IManagedDeviceBypassActivationLockRequestBuilder { +public class ManagedDeviceBypassActivationLockRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceBypassActivationLockRequestBuilder { /** * The request builder for this ManagedDeviceBypassActivationLock @@ -25,4 +30,29 @@ public class ManagedDeviceBypassActivationLockRequestBuilder extends BaseManaged public ManagedDeviceBypassActivationLockRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceBypassActivationLockRequest + * + * @return the IManagedDeviceBypassActivationLockRequest instance + */ + public IManagedDeviceBypassActivationLockRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceBypassActivationLockRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceBypassActivationLockRequest instance + */ + public IManagedDeviceBypassActivationLockRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceBypassActivationLockRequest request = new ManagedDeviceBypassActivationLockRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequest.java index 1c1b5bbd4bc..e9481edc650 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceCleanWindowsDeviceBody; +import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceCleanWindowsDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCleanWindowsDeviceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Clean Windows Device Request. */ -public class ManagedDeviceCleanWindowsDeviceRequest extends BaseManagedDeviceCleanWindowsDeviceRequest implements IManagedDeviceCleanWindowsDeviceRequest { +public class ManagedDeviceCleanWindowsDeviceRequest extends BaseRequest implements IManagedDeviceCleanWindowsDeviceRequest { + protected final ManagedDeviceCleanWindowsDeviceBody body; /** * The request for this ManagedDeviceCleanWindowsDevice @@ -23,6 +31,49 @@ public class ManagedDeviceCleanWindowsDeviceRequest extends BaseManagedDeviceCle * @param requestOptions the options for this request */ public ManagedDeviceCleanWindowsDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedDeviceCleanWindowsDeviceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceCleanWindowsDeviceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceCleanWindowsDeviceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceCleanWindowsDeviceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedDeviceCleanWindowsDeviceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceCleanWindowsDeviceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceCleanWindowsDeviceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequestBuilder.java index 3fc7e438436..be19c0bc08a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCleanWindowsDeviceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceCleanWindowsDeviceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCleanWindowsDeviceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Clean Windows Device Request Builder. */ -public class ManagedDeviceCleanWindowsDeviceRequestBuilder extends BaseManagedDeviceCleanWindowsDeviceRequestBuilder implements IManagedDeviceCleanWindowsDeviceRequestBuilder { +public class ManagedDeviceCleanWindowsDeviceRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceCleanWindowsDeviceRequestBuilder { /** * The request builder for this ManagedDeviceCleanWindowsDevice @@ -24,6 +29,36 @@ public class ManagedDeviceCleanWindowsDeviceRequestBuilder extends BaseManagedDe * @param keepUserData the keepUserData */ public ManagedDeviceCleanWindowsDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean keepUserData) { - super(requestUrl, client, requestOptions, keepUserData); + super(requestUrl, client, requestOptions); + bodyParams.put("keepUserData", keepUserData); + } + + /** + * Creates the IManagedDeviceCleanWindowsDeviceRequest + * + * @return the IManagedDeviceCleanWindowsDeviceRequest instance + */ + public IManagedDeviceCleanWindowsDeviceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceCleanWindowsDeviceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceCleanWindowsDeviceRequest instance + */ + public IManagedDeviceCleanWindowsDeviceRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceCleanWindowsDeviceRequest request = new ManagedDeviceCleanWindowsDeviceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("keepUserData")) { + request.body.keepUserData = getParameter("keepUserData"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionPage.java index 03e8a03c4b5..898eb1b84d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection Page. */ -public class ManagedDeviceCollectionPage extends BaseManagedDeviceCollectionPage implements IManagedDeviceCollectionPage { +public class ManagedDeviceCollectionPage extends BaseCollectionPage implements IManagedDeviceCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for ManagedDevice * - * @param response the serialized BaseManagedDeviceCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedDeviceCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedDeviceCollectionPage(final BaseManagedDeviceCollectionResponse response, final IManagedDeviceCollectionRequestBuilder builder) { - super(response, builder); + public ManagedDeviceCollectionPage(final ManagedDeviceCollectionResponse response, final IManagedDeviceCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequest.java index aba4fa7477a..a0e68bb8d13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection Reference Request. */ -public class ManagedDeviceCollectionReferenceRequest extends BaseManagedDeviceCollectionReferenceRequest implements IManagedDeviceCollectionReferenceRequest { +public class ManagedDeviceCollectionReferenceRequest extends BaseCollectionRequest implements IManagedDeviceCollectionReferenceRequest { + + /** + * The request builder for this collection of ManagedDevice + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ManagedDeviceCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceCollectionResponse.class, IManagedDeviceCollectionPage.class); + } + + public void post(final ManagedDevice newManagedDevice, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/managedDevices/" + newManagedDevice.id); + new ManagedDeviceWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDevice, body, callback); + } + + public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/managedDevices/" + newManagedDevice.id); + return new ManagedDeviceWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDevice, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceCollectionReferenceRequest)this; + } /** - * The request for this collection of DetectedApp + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public ManagedDeviceCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IManagedDeviceCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequestBuilder.java index 5e593117777..36fcf7c9b89 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection Reference Request Builder. */ -public class ManagedDeviceCollectionReferenceRequestBuilder extends BaseManagedDeviceCollectionReferenceRequestBuilder implements IManagedDeviceCollectionReferenceRequestBuilder { +public class ManagedDeviceCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IManagedDeviceCollectionReferenceRequestBuilder { /** * The request builder for this collection of DetectedApp @@ -25,4 +33,12 @@ public class ManagedDeviceCollectionReferenceRequestBuilder extends BaseManagedD public ManagedDeviceCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequest.java index 888de0e8f42..2f6461fa95c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection Request. */ -public class ManagedDeviceCollectionRequest extends BaseManagedDeviceCollectionRequest implements IManagedDeviceCollectionRequest { +public class ManagedDeviceCollectionRequest extends BaseCollectionRequest implements IManagedDeviceCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of ManagedDevice * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceCollectionResponse.class, IManagedDeviceCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedDeviceCollectionPage get() throws ClientException { + final ManagedDeviceCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedDevice newManagedDevice, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedDeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDevice, callback); + } + + public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedDeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDevice); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceCollectionRequest)this; + } + + public IManagedDeviceCollectionPage buildFromResponse(final ManagedDeviceCollectionResponse response) { + final IManagedDeviceCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedDeviceCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedDeviceCollectionPage page = new ManagedDeviceCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequestBuilder.java index 8dc937eb889..90bddc29e7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection Request Builder. */ -public class ManagedDeviceCollectionRequestBuilder extends BaseManagedDeviceCollectionRequestBuilder implements IManagedDeviceCollectionRequestBuilder { +public class ManagedDeviceCollectionRequestBuilder extends BaseRequestBuilder implements IManagedDeviceCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class ManagedDeviceCollectionRequestBuilder extends BaseManagedDeviceColl public ManagedDeviceCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceRequestBuilder byId(final String id) { + return new ManagedDeviceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionResponse.java new file mode 100644 index 00000000000..a8144729fe6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDevice; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed Device Collection Response. + */ +public class ManagedDeviceCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedDevice within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesPage.java index a88761745d1..9be0481d67e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionResponse; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection With References Page. */ -public class ManagedDeviceCollectionWithReferencesPage extends BaseManagedDeviceCollectionWithReferencesPage implements IManagedDeviceCollectionWithReferencesPage { +public class ManagedDeviceCollectionWithReferencesPage extends BaseCollectionPage implements IManagedDeviceCollectionWithReferencesPage { /** - * A collection page for DetectedApp. + * A collection page for ManagedDevice * - * @param response the serialized BaseManagedDeviceCollectionResponse from the service + * @param response the serialized ManagedDeviceCollectionResponse from the service * @param builder the request builder for the next collection page */ - public ManagedDeviceCollectionWithReferencesPage(final BaseManagedDeviceCollectionResponse response, final IManagedDeviceCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public ManagedDeviceCollectionWithReferencesPage(final ManagedDeviceCollectionResponse response, final IManagedDeviceCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequest.java index c751e3c8b94..9aec79d2241 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection With References Request. */ -public class ManagedDeviceCollectionWithReferencesRequest extends BaseManagedDeviceCollectionWithReferencesRequest implements IManagedDeviceCollectionWithReferencesRequest { +public class ManagedDeviceCollectionWithReferencesRequest extends BaseCollectionRequest implements IManagedDeviceCollectionWithReferencesRequest { /** - * The request for this collection of DetectedApp + * The request builder for this collection of ManagedDevice * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceCollectionResponse.class, IManagedDeviceCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedDeviceCollectionWithReferencesPage get() throws ClientException { + final ManagedDeviceCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IManagedDeviceCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceCollectionWithReferencesRequest)this; + } + + public IManagedDeviceCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceCollectionWithReferencesRequest)this; + } + + public IManagedDeviceCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceCollectionWithReferencesRequest)this; + } + + public IManagedDeviceCollectionWithReferencesPage buildFromResponse(final ManagedDeviceCollectionResponse response) { + final IManagedDeviceCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedDeviceCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedDeviceCollectionWithReferencesPage page = new ManagedDeviceCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequestBuilder.java index 706029873c5..22b80fde80d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Collection With References Request Builder. */ -public class ManagedDeviceCollectionWithReferencesRequestBuilder extends BaseManagedDeviceCollectionWithReferencesRequestBuilder implements IManagedDeviceCollectionWithReferencesRequestBuilder { +public class ManagedDeviceCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IManagedDeviceCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of DetectedApp @@ -25,4 +33,20 @@ public class ManagedDeviceCollectionWithReferencesRequestBuilder extends BaseMan public ManagedDeviceCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceWithReferenceRequestBuilder byId(final String id) { + return new ManagedDeviceWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IManagedDeviceCollectionReferenceRequestBuilder references(){ + return new ManagedDeviceCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java index 03b2c191d3f..b39288c293c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceBody; +import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Delete User From Shared Apple Device Request. */ -public class ManagedDeviceDeleteUserFromSharedAppleDeviceRequest extends BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest implements IManagedDeviceDeleteUserFromSharedAppleDeviceRequest { +public class ManagedDeviceDeleteUserFromSharedAppleDeviceRequest extends BaseRequest implements IManagedDeviceDeleteUserFromSharedAppleDeviceRequest { + protected final ManagedDeviceDeleteUserFromSharedAppleDeviceBody body; /** * The request for this ManagedDeviceDeleteUserFromSharedAppleDevice @@ -23,6 +31,49 @@ public class ManagedDeviceDeleteUserFromSharedAppleDeviceRequest extends BaseMan * @param requestOptions the options for this request */ public ManagedDeviceDeleteUserFromSharedAppleDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedDeviceDeleteUserFromSharedAppleDeviceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceDeleteUserFromSharedAppleDeviceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedDeviceDeleteUserFromSharedAppleDeviceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceDeleteUserFromSharedAppleDeviceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java index 27b2c7f89ba..1d3a9a01b5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Delete User From Shared Apple Device Request Builder. */ -public class ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder implements IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder { +public class ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder { /** * The request builder for this ManagedDeviceDeleteUserFromSharedAppleDevice @@ -24,6 +29,36 @@ public class ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends * @param userPrincipalName the userPrincipalName */ public ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String userPrincipalName) { - super(requestUrl, client, requestOptions, userPrincipalName); + super(requestUrl, client, requestOptions); + bodyParams.put("userPrincipalName", userPrincipalName); + } + + /** + * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest + * + * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance + */ + public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance + */ + public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceDeleteUserFromSharedAppleDeviceRequest request = new ManagedDeviceDeleteUserFromSharedAppleDeviceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("userPrincipalName")) { + request.body.userPrincipalName = getParameter("userPrincipalName"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequest.java index 89dc79c4737..9188fd1487a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceDisableLostModeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceDisableLostModeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Disable Lost Mode Request. */ -public class ManagedDeviceDisableLostModeRequest extends BaseManagedDeviceDisableLostModeRequest implements IManagedDeviceDisableLostModeRequest { +public class ManagedDeviceDisableLostModeRequest extends BaseRequest implements IManagedDeviceDisableLostModeRequest { /** * The request for this ManagedDeviceDisableLostMode @@ -23,6 +30,35 @@ public class ManagedDeviceDisableLostModeRequest extends BaseManagedDeviceDisabl * @param requestOptions the options for this request */ public ManagedDeviceDisableLostModeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceDisableLostMode + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceDisableLostMode + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequestBuilder.java index e793c553a69..eb5371adb64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceDisableLostModeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceDisableLostModeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceDisableLostModeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Disable Lost Mode Request Builder. */ -public class ManagedDeviceDisableLostModeRequestBuilder extends BaseManagedDeviceDisableLostModeRequestBuilder implements IManagedDeviceDisableLostModeRequestBuilder { +public class ManagedDeviceDisableLostModeRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceDisableLostModeRequestBuilder { /** * The request builder for this ManagedDeviceDisableLostMode @@ -25,4 +30,29 @@ public class ManagedDeviceDisableLostModeRequestBuilder extends BaseManagedDevic public ManagedDeviceDisableLostModeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceDisableLostModeRequest + * + * @return the IManagedDeviceDisableLostModeRequest instance + */ + public IManagedDeviceDisableLostModeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceDisableLostModeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceDisableLostModeRequest instance + */ + public IManagedDeviceDisableLostModeRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceDisableLostModeRequest request = new ManagedDeviceDisableLostModeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequest.java index b8be0201109..bc855e16c53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceLocateDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceLocateDeviceRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Locate Device Request. */ -public class ManagedDeviceLocateDeviceRequest extends BaseManagedDeviceLocateDeviceRequest implements IManagedDeviceLocateDeviceRequest { +public class ManagedDeviceLocateDeviceRequest extends BaseRequest implements IManagedDeviceLocateDeviceRequest { /** * The request for this ManagedDeviceLocateDevice @@ -23,6 +30,35 @@ public class ManagedDeviceLocateDeviceRequest extends BaseManagedDeviceLocateDev * @param requestOptions the options for this request */ public ManagedDeviceLocateDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceLocateDevice + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceLocateDevice + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequestBuilder.java index ae9365ae3f7..7cc227ce208 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLocateDeviceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceLocateDeviceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceLocateDeviceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Locate Device Request Builder. */ -public class ManagedDeviceLocateDeviceRequestBuilder extends BaseManagedDeviceLocateDeviceRequestBuilder implements IManagedDeviceLocateDeviceRequestBuilder { +public class ManagedDeviceLocateDeviceRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceLocateDeviceRequestBuilder { /** * The request builder for this ManagedDeviceLocateDevice @@ -25,4 +30,29 @@ public class ManagedDeviceLocateDeviceRequestBuilder extends BaseManagedDeviceLo public ManagedDeviceLocateDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceLocateDeviceRequest + * + * @return the IManagedDeviceLocateDeviceRequest instance + */ + public IManagedDeviceLocateDeviceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceLocateDeviceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceLocateDeviceRequest instance + */ + public IManagedDeviceLocateDeviceRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceLocateDeviceRequest request = new ManagedDeviceLocateDeviceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java index 8ce26e35244..9d4ce5f5ff2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Logout Shared Apple Device Active User Request. */ -public class ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest extends BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest implements IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest { +public class ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest extends BaseRequest implements IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest { /** * The request for this ManagedDeviceLogoutSharedAppleDeviceActiveUser @@ -23,6 +30,35 @@ public class ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest extends BaseM * @param requestOptions the options for this request */ public ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java index 8aeae1cb3ff..c71fe3ce3f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Logout Shared Apple Device Active User Request Builder. */ -public class ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extends BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder implements IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder { +public class ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder { /** * The request builder for this ManagedDeviceLogoutSharedAppleDeviceActiveUser @@ -25,4 +30,29 @@ public class ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extend public ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest + * + * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance + */ + public IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance + */ + public IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest request = new ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequest.java index 4c6937c281c..bc3b1f16b54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignBody; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assign Request. */ -public class ManagedDeviceMobileAppConfigurationAssignRequest extends BaseManagedDeviceMobileAppConfigurationAssignRequest implements IManagedDeviceMobileAppConfigurationAssignRequest { +public class ManagedDeviceMobileAppConfigurationAssignRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationAssignRequest { + protected final ManagedDeviceMobileAppConfigurationAssignBody body; /** * The request for this ManagedDeviceMobileAppConfigurationAssign @@ -23,6 +31,49 @@ public class ManagedDeviceMobileAppConfigurationAssignRequest extends BaseManage * @param requestOptions the options for this request */ public ManagedDeviceMobileAppConfigurationAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedDeviceMobileAppConfigurationAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedDeviceMobileAppConfigurationAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequestBuilder.java index d901cf3d23e..00731874399 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assign Request Builder. */ -public class ManagedDeviceMobileAppConfigurationAssignRequestBuilder extends BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder implements IManagedDeviceMobileAppConfigurationAssignRequestBuilder { +public class ManagedDeviceMobileAppConfigurationAssignRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceMobileAppConfigurationAssignRequestBuilder { /** * The request builder for this ManagedDeviceMobileAppConfigurationAssign @@ -25,6 +30,36 @@ public class ManagedDeviceMobileAppConfigurationAssignRequestBuilder extends Bas * @param assignments the assignments */ public ManagedDeviceMobileAppConfigurationAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions, assignments); + super(requestUrl, client, requestOptions); + bodyParams.put("assignments", assignments); + } + + /** + * Creates the IManagedDeviceMobileAppConfigurationAssignRequest + * + * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance + */ + public IManagedDeviceMobileAppConfigurationAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceMobileAppConfigurationAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance + */ + public IManagedDeviceMobileAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceMobileAppConfigurationAssignRequest request = new ManagedDeviceMobileAppConfigurationAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("assignments")) { + request.body.assignments = getParameter("assignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java index 844a544750d..ba95db1511e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assignment Collection Page. */ -public class ManagedDeviceMobileAppConfigurationAssignmentCollectionPage extends BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage implements IManagedDeviceMobileAppConfigurationAssignmentCollectionPage { +public class ManagedDeviceMobileAppConfigurationAssignmentCollectionPage extends BaseCollectionPage implements IManagedDeviceMobileAppConfigurationAssignmentCollectionPage { /** - * A collection page for ManagedDeviceMobileAppConfiguration. + * A collection page for ManagedDeviceMobileAppConfigurationAssignment * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedDeviceMobileAppConfigurationAssignmentCollectionPage(final BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response, final IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public ManagedDeviceMobileAppConfigurationAssignmentCollectionPage(final ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response, final IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java index 37cd71dc78d..f66121d4255 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assignment Collection Request. */ -public class ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest extends BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest implements IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest { +public class ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest extends BaseCollectionRequest implements IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest { /** - * The request for this collection of ManagedDeviceMobileAppConfiguration + * The request builder for this collection of ManagedDeviceMobileAppConfigurationAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.class, IManagedDeviceMobileAppConfigurationAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedDeviceMobileAppConfigurationAssignmentCollectionPage get() throws ClientException { + final ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfigurationAssignment, callback); + } + + public ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfigurationAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest)this; + } + + public IManagedDeviceMobileAppConfigurationAssignmentCollectionPage buildFromResponse(final ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response) { + final IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedDeviceMobileAppConfigurationAssignmentCollectionPage page = new ManagedDeviceMobileAppConfigurationAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java index 8038e66606a..cf3412e90a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assignment Collection Request Builder. */ -public class ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder extends BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder implements IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder { +public class ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder { /** * The request builder for this collection of ManagedDeviceMobileAppConfiguration @@ -25,4 +33,18 @@ public class ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuild public ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder byId(final String id) { + return new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java new file mode 100644 index 00000000000..5e6470675ed --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed Device Mobile App Configuration Assignment Collection Response. + */ +public class ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedDeviceMobileAppConfigurationAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequest.java index 3101e8c9617..2952fc8af0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assignment Request. */ -public class ManagedDeviceMobileAppConfigurationAssignmentRequest extends BaseManagedDeviceMobileAppConfigurationAssignmentRequest implements IManagedDeviceMobileAppConfigurationAssignmentRequest { - +public class ManagedDeviceMobileAppConfigurationAssignmentRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationAssignmentRequest { + /** * The request for the ManagedDeviceMobileAppConfigurationAssignment * @@ -26,4 +32,107 @@ public class ManagedDeviceMobileAppConfigurationAssignmentRequest extends BaseMa public ManagedDeviceMobileAppConfigurationAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationAssignment.class); } + + /** + * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service + * + * @return the ManagedDeviceMobileAppConfigurationAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source + * + * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationAssignment); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source + * + * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationAssignment patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationAssignment); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationAssignment); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create + * @return the created ManagedDeviceMobileAppConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java index da70aeefb99..e8c770be8f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Assignment Request Builder. */ -public class ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder implements IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder { +public class ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder { /** * The request builder for the ManagedDeviceMobileAppConfigurationAssignment @@ -25,4 +28,26 @@ public class ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends public ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance + */ + public IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance + */ + public IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionPage.java index dfbd21d9210..c51c6a7cc04 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Collection Page. */ -public class ManagedDeviceMobileAppConfigurationCollectionPage extends BaseManagedDeviceMobileAppConfigurationCollectionPage implements IManagedDeviceMobileAppConfigurationCollectionPage { +public class ManagedDeviceMobileAppConfigurationCollectionPage extends BaseCollectionPage implements IManagedDeviceMobileAppConfigurationCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for ManagedDeviceMobileAppConfiguration * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedDeviceMobileAppConfigurationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedDeviceMobileAppConfigurationCollectionPage(final BaseManagedDeviceMobileAppConfigurationCollectionResponse response, final IManagedDeviceMobileAppConfigurationCollectionRequestBuilder builder) { - super(response, builder); + public ManagedDeviceMobileAppConfigurationCollectionPage(final ManagedDeviceMobileAppConfigurationCollectionResponse response, final IManagedDeviceMobileAppConfigurationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequest.java index 2a1ef52a544..e9a74de8aa3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Collection Request. */ -public class ManagedDeviceMobileAppConfigurationCollectionRequest extends BaseManagedDeviceMobileAppConfigurationCollectionRequest implements IManagedDeviceMobileAppConfigurationCollectionRequest { +public class ManagedDeviceMobileAppConfigurationCollectionRequest extends BaseCollectionRequest implements IManagedDeviceMobileAppConfigurationCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of ManagedDeviceMobileAppConfiguration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceMobileAppConfigurationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceMobileAppConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationCollectionResponse.class, IManagedDeviceMobileAppConfigurationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedDeviceMobileAppConfigurationCollectionPage get() throws ClientException { + final ManagedDeviceMobileAppConfigurationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedDeviceMobileAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfiguration, callback); + } + + public ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedDeviceMobileAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfiguration); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceMobileAppConfigurationCollectionRequest)this; + } + + public IManagedDeviceMobileAppConfigurationCollectionPage buildFromResponse(final ManagedDeviceMobileAppConfigurationCollectionResponse response) { + final IManagedDeviceMobileAppConfigurationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedDeviceMobileAppConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedDeviceMobileAppConfigurationCollectionPage page = new ManagedDeviceMobileAppConfigurationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java index 2afec6f9d29..4302b141201 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Collection Request Builder. */ -public class ManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder implements IManagedDeviceMobileAppConfigurationCollectionRequestBuilder { +public class ManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class ManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends public ManagedDeviceMobileAppConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceMobileAppConfigurationRequestBuilder byId(final String id) { + return new ManagedDeviceMobileAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionResponse.java new file mode 100644 index 00000000000..2afcff3aa45 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed Device Mobile App Configuration Collection Response. + */ +public class ManagedDeviceMobileAppConfigurationCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedDeviceMobileAppConfiguration within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java index 879671cf194..88bf4dd2bca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Status Collection Page. */ -public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage extends BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage implements IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage { +public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage extends BaseCollectionPage implements IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage { /** - * A collection page for ManagedDeviceMobileAppConfiguration. + * A collection page for ManagedDeviceMobileAppConfigurationDeviceStatus * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(final BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response, final IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder builder) { - super(response, builder); + public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(final ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response, final IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java index 2c2fedd0fe4..be7f7069787 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Status Collection Request. */ -public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest extends BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest implements IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest { +public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest extends BaseCollectionRequest implements IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest { /** - * The request for this collection of ManagedDeviceMobileAppConfiguration + * The request builder for this collection of ManagedDeviceMobileAppConfigurationDeviceStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.class, IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage get() throws ClientException { + final ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfigurationDeviceStatus, callback); + } + + public ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfigurationDeviceStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest)this; + } + + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage buildFromResponse(final ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response) { + final IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage page = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java index 901ff26a023..23049d04422 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Status Collection Request Builder. */ -public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder extends BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder implements IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder { +public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder { /** * The request builder for this collection of ManagedDeviceMobileAppConfiguration @@ -25,4 +33,18 @@ public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBui public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder byId(final String id) { + return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java new file mode 100644 index 00000000000..0363ab8cdae --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed Device Mobile App Configuration Device Status Collection Response. + */ +public class ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedDeviceMobileAppConfigurationDeviceStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequest.java index f76b1824b26..e0fa0588c65 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Status Request. */ -public class ManagedDeviceMobileAppConfigurationDeviceStatusRequest extends BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest implements IManagedDeviceMobileAppConfigurationDeviceStatusRequest { - +public class ManagedDeviceMobileAppConfigurationDeviceStatusRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationDeviceStatusRequest { + /** * The request for the ManagedDeviceMobileAppConfigurationDeviceStatus * @@ -26,4 +32,107 @@ public class ManagedDeviceMobileAppConfigurationDeviceStatusRequest extends Base public ManagedDeviceMobileAppConfigurationDeviceStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationDeviceStatus.class); } + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service + * + * @return the ManagedDeviceMobileAppConfigurationDeviceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationDeviceStatus); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceStatus patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationDeviceStatus); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationDeviceStatus); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create + * @return the created ManagedDeviceMobileAppConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationDeviceStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationDeviceStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationDeviceStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java index 93826177d87..93a34e53815 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Status Request Builder. */ -public class ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder extends BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder implements IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder { +public class ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder { /** * The request builder for the ManagedDeviceMobileAppConfigurationDeviceStatus @@ -25,4 +28,26 @@ public class ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder exten public ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance + */ + public IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java index 2b1e73cc52e..5878838e16e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceSummaryRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Summary Request. */ -public class ManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest implements IManagedDeviceMobileAppConfigurationDeviceSummaryRequest { - +public class ManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationDeviceSummaryRequest { + /** * The request for the ManagedDeviceMobileAppConfigurationDeviceSummary * @@ -26,4 +32,107 @@ public class ManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends Bas public ManagedDeviceMobileAppConfigurationDeviceSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationDeviceSummary.class); } + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service + * + * @return the ManagedDeviceMobileAppConfigurationDeviceSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationDeviceSummary); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceSummary patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationDeviceSummary); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationDeviceSummary); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create + * @return the created ManagedDeviceMobileAppConfigurationDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceSummary post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationDeviceSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationDeviceSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationDeviceSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java index c83a2ef9565..e49c7d34ae8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Device Summary Request Builder. */ -public class ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder extends BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder implements IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder { +public class ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder { /** * The request builder for the ManagedDeviceMobileAppConfigurationDeviceSummary @@ -25,4 +28,26 @@ public class ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder exte public ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance + */ + public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance + */ + public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationDeviceSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequest.java index a9d65e08bcb..f21f9dd7c18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequest.java @@ -3,18 +3,39 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Request. */ -public class ManagedDeviceMobileAppConfigurationRequest extends BaseManagedDeviceMobileAppConfigurationRequest implements IManagedDeviceMobileAppConfigurationRequest { +public class ManagedDeviceMobileAppConfigurationRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationRequest { + + /** + * The request for the ManagedDeviceMobileAppConfiguration + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + * @param responseClass the class of the response + */ + public ManagedDeviceMobileAppConfigurationRequest(final String requestUrl, + final IBaseClient client, + final java.util.List requestOptions, + final Class responseClass) { + super(requestUrl, client, requestOptions, responseClass); + } /** * The request for the ManagedDeviceMobileAppConfiguration @@ -26,4 +47,107 @@ public class ManagedDeviceMobileAppConfigurationRequest extends BaseManagedDevic public ManagedDeviceMobileAppConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfiguration.class); } + + /** + * Gets the ManagedDeviceMobileAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceMobileAppConfiguration from the service + * + * @return the ManagedDeviceMobileAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceMobileAppConfiguration with a source + * + * @param sourceManagedDeviceMobileAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfiguration); + } + + /** + * Patches this ManagedDeviceMobileAppConfiguration with a source + * + * @param sourceManagedDeviceMobileAppConfiguration the source object with updates + * @return the updated ManagedDeviceMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfiguration patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfiguration); + } + + /** + * Creates a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfiguration); + } + + /** + * Creates a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the new object to create + * @return the created ManagedDeviceMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceMobileAppConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequestBuilder.java index 9d44484b16a..f93ac87d473 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequestBuilder.java @@ -3,17 +3,39 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration Request Builder. */ -public class ManagedDeviceMobileAppConfigurationRequestBuilder extends BaseManagedDeviceMobileAppConfigurationRequestBuilder implements IManagedDeviceMobileAppConfigurationRequestBuilder { +public class ManagedDeviceMobileAppConfigurationRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationRequestBuilder { /** * The request builder for the ManagedDeviceMobileAppConfiguration @@ -25,4 +47,69 @@ public class ManagedDeviceMobileAppConfigurationRequestBuilder extends BaseManag public ManagedDeviceMobileAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationRequest instance + */ + public IManagedDeviceMobileAppConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationRequest instance + */ + public IManagedDeviceMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder assignments() { + return new ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder assignments(final String id) { + return new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses() { + return new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses"), getClient(), null); + } + + public IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id) { + return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses") + "/" + id, getClient(), null); + } + public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder userStatuses() { + return new ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses"), getClient(), null); + } + + public IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder userStatuses(final String id) { + return new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ManagedDeviceMobileAppConfigurationDeviceSummary + * + * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder instance + */ + public IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder deviceStatusSummary() { + return new ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatusSummary"), getClient(), null); + } + + /** + * Gets the request builder for ManagedDeviceMobileAppConfigurationUserSummary + * + * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder instance + */ + public IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder userStatusSummary() { + return new ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("userStatusSummary"), getClient(), null); + } + + public IManagedDeviceMobileAppConfigurationAssignRequestBuilder assign(final java.util.List assignments) { + return new ManagedDeviceMobileAppConfigurationAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java index 2b86eeec7b6..841b9a320f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Status Collection Page. */ -public class ManagedDeviceMobileAppConfigurationUserStatusCollectionPage extends BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage implements IManagedDeviceMobileAppConfigurationUserStatusCollectionPage { +public class ManagedDeviceMobileAppConfigurationUserStatusCollectionPage extends BaseCollectionPage implements IManagedDeviceMobileAppConfigurationUserStatusCollectionPage { /** - * A collection page for ManagedDeviceMobileAppConfiguration. + * A collection page for ManagedDeviceMobileAppConfigurationUserStatus * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedDeviceMobileAppConfigurationUserStatusCollectionPage(final BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response, final IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder builder) { - super(response, builder); + public ManagedDeviceMobileAppConfigurationUserStatusCollectionPage(final ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response, final IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java index 04a40768526..92a8256b823 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Status Collection Request. */ -public class ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest extends BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest implements IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest { +public class ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest extends BaseCollectionRequest implements IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest { /** - * The request for this collection of ManagedDeviceMobileAppConfiguration + * The request builder for this collection of ManagedDeviceMobileAppConfigurationUserStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.class, IManagedDeviceMobileAppConfigurationUserStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedDeviceMobileAppConfigurationUserStatusCollectionPage get() throws ClientException { + final ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfigurationUserStatus, callback); + } + + public ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedDeviceMobileAppConfigurationUserStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest)this; + } + + public IManagedDeviceMobileAppConfigurationUserStatusCollectionPage buildFromResponse(final ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response) { + final IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedDeviceMobileAppConfigurationUserStatusCollectionPage page = new ManagedDeviceMobileAppConfigurationUserStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java index ec2b827d00c..2cfb9ce4322 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Status Collection Request Builder. */ -public class ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder extends BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder implements IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder { +public class ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder { /** * The request builder for this collection of ManagedDeviceMobileAppConfiguration @@ -25,4 +33,18 @@ public class ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuild public ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder byId(final String id) { + return new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java new file mode 100644 index 00000000000..acdd4616f9a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed Device Mobile App Configuration User Status Collection Response. + */ +public class ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedDeviceMobileAppConfigurationUserStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequest.java index 5d0c7347b99..e5893fdceb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Status Request. */ -public class ManagedDeviceMobileAppConfigurationUserStatusRequest extends BaseManagedDeviceMobileAppConfigurationUserStatusRequest implements IManagedDeviceMobileAppConfigurationUserStatusRequest { - +public class ManagedDeviceMobileAppConfigurationUserStatusRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationUserStatusRequest { + /** * The request for the ManagedDeviceMobileAppConfigurationUserStatus * @@ -26,4 +32,107 @@ public class ManagedDeviceMobileAppConfigurationUserStatusRequest extends BaseMa public ManagedDeviceMobileAppConfigurationUserStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationUserStatus.class); } + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service + * + * @return the ManagedDeviceMobileAppConfigurationUserStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationUserStatus); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserStatus patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationUserStatus); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationUserStatus); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create + * @return the created ManagedDeviceMobileAppConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationUserStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationUserStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationUserStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java index dc49f0f9ff0..389ebe4aec3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Status Request Builder. */ -public class ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder implements IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder { +public class ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder { /** * The request builder for the ManagedDeviceMobileAppConfigurationUserStatus @@ -25,4 +28,26 @@ public class ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends public ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance + */ + public IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance + */ + public IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationUserStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequest.java index f70d95f2261..5356c3a2997 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserSummaryRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Summary Request. */ -public class ManagedDeviceMobileAppConfigurationUserSummaryRequest extends BaseManagedDeviceMobileAppConfigurationUserSummaryRequest implements IManagedDeviceMobileAppConfigurationUserSummaryRequest { - +public class ManagedDeviceMobileAppConfigurationUserSummaryRequest extends BaseRequest implements IManagedDeviceMobileAppConfigurationUserSummaryRequest { + /** * The request for the ManagedDeviceMobileAppConfigurationUserSummary * @@ -26,4 +32,107 @@ public class ManagedDeviceMobileAppConfigurationUserSummaryRequest extends BaseM public ManagedDeviceMobileAppConfigurationUserSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceMobileAppConfigurationUserSummary.class); } + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service + * + * @return the ManagedDeviceMobileAppConfigurationUserSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationUserSummary); + } + + /** + * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source + * + * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates + * @return the updated ManagedDeviceMobileAppConfigurationUserSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserSummary patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationUserSummary); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationUserSummary); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create + * @return the created ManagedDeviceMobileAppConfigurationUserSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserSummary post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationUserSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceMobileAppConfigurationUserSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceMobileAppConfigurationUserSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceMobileAppConfigurationUserSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java index 53d912fef1f..ff3726930f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Mobile App Configuration User Summary Request Builder. */ -public class ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extends BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder implements IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder { +public class ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extends BaseRequestBuilder implements IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder { /** * The request builder for the ManagedDeviceMobileAppConfigurationUserSummary @@ -25,4 +28,26 @@ public class ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extend public ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance + */ + public IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance + */ + public IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceMobileAppConfigurationUserSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequest.java index 5ae94f3f7dc..6ac08d9dca8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceOverviewReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview Reference Request. */ -public class ManagedDeviceOverviewReferenceRequest extends BaseManagedDeviceOverviewReferenceRequest implements IManagedDeviceOverviewReferenceRequest { +public class ManagedDeviceOverviewReferenceRequest extends BaseRequest implements IManagedDeviceOverviewReferenceRequest { /** * The request for the ManagedDeviceOverview @@ -22,7 +30,57 @@ public class ManagedDeviceOverviewReferenceRequest extends BaseManagedDeviceOver * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceOverviewReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceOverviewReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceOverview.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public ManagedDeviceOverview delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceOverviewReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceOverviewReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceOverviewReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceOverviewReferenceRequest)this; + } + /** + * Puts the ManagedDeviceOverview + * + * @param srcManagedDeviceOverview the ManagedDeviceOverview reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(ManagedDeviceOverview srcManagedDeviceOverview, final ICallback callback) { + send(HttpMethod.PUT, callback, srcManagedDeviceOverview); + } + + /** + * Puts the ManagedDeviceOverview + * + * @param srcManagedDeviceOverview the ManagedDeviceOverview reference to PUT + * @return the ManagedDeviceOverview + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public ManagedDeviceOverview put(ManagedDeviceOverview srcManagedDeviceOverview) throws ClientException { + return send(HttpMethod.PUT, srcManagedDeviceOverview); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequestBuilder.java index 33341bfae1a..99539c6bdf8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceOverviewReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview Reference Request Builder. */ -public class ManagedDeviceOverviewReferenceRequestBuilder extends BaseManagedDeviceOverviewReferenceRequestBuilder implements IManagedDeviceOverviewReferenceRequestBuilder { +public class ManagedDeviceOverviewReferenceRequestBuilder extends BaseRequestBuilder implements IManagedDeviceOverviewReferenceRequestBuilder { /** * The request builder for the ManagedDeviceOverview @@ -25,4 +34,23 @@ public class ManagedDeviceOverviewReferenceRequestBuilder extends BaseManagedDev public ManagedDeviceOverviewReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IManagedDeviceOverviewReferenceRequest instance + */ + public IManagedDeviceOverviewReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceOverviewReferenceRequest instance + */ + public IManagedDeviceOverviewReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceOverviewReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequest.java index d31d3e42359..a320ab84f7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceOverviewRequest; +import com.microsoft.graph.models.extensions.ManagedDeviceOverview; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDeviceOverview; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceOverviewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview Request. */ -public class ManagedDeviceOverviewRequest extends BaseManagedDeviceOverviewRequest implements IManagedDeviceOverviewRequest { - +public class ManagedDeviceOverviewRequest extends BaseRequest implements IManagedDeviceOverviewRequest { + /** * The request for the ManagedDeviceOverview * @@ -26,4 +32,107 @@ public class ManagedDeviceOverviewRequest extends BaseManagedDeviceOverviewReque public ManagedDeviceOverviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDeviceOverview.class); } + + /** + * Gets the ManagedDeviceOverview from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDeviceOverview from the service + * + * @return the ManagedDeviceOverview from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceOverview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDeviceOverview with a source + * + * @param sourceManagedDeviceOverview the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceOverview); + } + + /** + * Patches this ManagedDeviceOverview with a source + * + * @param sourceManagedDeviceOverview the source object with updates + * @return the updated ManagedDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceOverview); + } + + /** + * Creates a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDeviceOverview newManagedDeviceOverview, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDeviceOverview); + } + + /** + * Creates a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the new object to create + * @return the created ManagedDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException { + return send(HttpMethod.POST, newManagedDeviceOverview); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceOverviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceOverviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceOverviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceOverviewRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequestBuilder.java index 73882764454..35c0e020552 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceOverviewRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceOverviewRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview Request Builder. */ -public class ManagedDeviceOverviewRequestBuilder extends BaseManagedDeviceOverviewRequestBuilder implements IManagedDeviceOverviewRequestBuilder { +public class ManagedDeviceOverviewRequestBuilder extends BaseRequestBuilder implements IManagedDeviceOverviewRequestBuilder { /** * The request builder for the ManagedDeviceOverview @@ -25,4 +28,26 @@ public class ManagedDeviceOverviewRequestBuilder extends BaseManagedDeviceOvervi public ManagedDeviceOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceOverviewRequest instance + */ + public IManagedDeviceOverviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceOverviewRequest instance + */ + public IManagedDeviceOverviewRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceOverviewRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequest.java index 329db59dce6..56a65440229 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceOverviewWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview With Reference Request. */ -public class ManagedDeviceOverviewWithReferenceRequest extends BaseManagedDeviceOverviewWithReferenceRequest implements IManagedDeviceOverviewWithReferenceRequest { +public class ManagedDeviceOverviewWithReferenceRequest extends BaseRequest implements IManagedDeviceOverviewWithReferenceRequest { /** * The request for the ManagedDeviceOverview @@ -22,7 +30,66 @@ public class ManagedDeviceOverviewWithReferenceRequest extends BaseManagedDevice * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceOverviewWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceOverviewWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDeviceOverview.class); + } + + public void post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newManagedDeviceOverview; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public ManagedDeviceOverview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDeviceOverview); + } + + public ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDeviceOverview); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceOverviewWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IManagedDeviceOverviewWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceOverviewWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceOverviewWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequestBuilder.java index 6d78ae49615..e82469807e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceOverviewWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Overview With Reference Request Builder. */ -public class ManagedDeviceOverviewWithReferenceRequestBuilder extends BaseManagedDeviceOverviewWithReferenceRequestBuilder implements IManagedDeviceOverviewWithReferenceRequestBuilder { +public class ManagedDeviceOverviewWithReferenceRequestBuilder extends BaseRequestBuilder implements IManagedDeviceOverviewWithReferenceRequestBuilder { /** * The request builder for the ManagedDeviceOverview @@ -25,4 +33,28 @@ public class ManagedDeviceOverviewWithReferenceRequestBuilder extends BaseManage public ManagedDeviceOverviewWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceOverviewWithReferenceRequest instance + */ + public IManagedDeviceOverviewWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceOverviewWithReferenceRequest instance + */ + public IManagedDeviceOverviewWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceOverviewWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceOverviewReferenceRequestBuilder reference(){ + return new ManagedDeviceOverviewReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequest.java index 21607d9fb81..a16736f2eb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRebootNowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRebootNowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Reboot Now Request. */ -public class ManagedDeviceRebootNowRequest extends BaseManagedDeviceRebootNowRequest implements IManagedDeviceRebootNowRequest { +public class ManagedDeviceRebootNowRequest extends BaseRequest implements IManagedDeviceRebootNowRequest { /** * The request for this ManagedDeviceRebootNow @@ -23,6 +30,35 @@ public class ManagedDeviceRebootNowRequest extends BaseManagedDeviceRebootNowReq * @param requestOptions the options for this request */ public ManagedDeviceRebootNowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceRebootNow + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceRebootNow + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequestBuilder.java index 4618dc12902..987b1a8beb5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRebootNowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRebootNowRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRebootNowRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Reboot Now Request Builder. */ -public class ManagedDeviceRebootNowRequestBuilder extends BaseManagedDeviceRebootNowRequestBuilder implements IManagedDeviceRebootNowRequestBuilder { +public class ManagedDeviceRebootNowRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceRebootNowRequestBuilder { /** * The request builder for this ManagedDeviceRebootNow @@ -25,4 +30,29 @@ public class ManagedDeviceRebootNowRequestBuilder extends BaseManagedDeviceReboo public ManagedDeviceRebootNowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceRebootNowRequest + * + * @return the IManagedDeviceRebootNowRequest instance + */ + public IManagedDeviceRebootNowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceRebootNowRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRebootNowRequest instance + */ + public IManagedDeviceRebootNowRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceRebootNowRequest request = new ManagedDeviceRebootNowRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequest.java index 885e4cda1fa..c6e0cc4708c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRecoverPasscodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRecoverPasscodeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Recover Passcode Request. */ -public class ManagedDeviceRecoverPasscodeRequest extends BaseManagedDeviceRecoverPasscodeRequest implements IManagedDeviceRecoverPasscodeRequest { +public class ManagedDeviceRecoverPasscodeRequest extends BaseRequest implements IManagedDeviceRecoverPasscodeRequest { /** * The request for this ManagedDeviceRecoverPasscode @@ -23,6 +30,35 @@ public class ManagedDeviceRecoverPasscodeRequest extends BaseManagedDeviceRecove * @param requestOptions the options for this request */ public ManagedDeviceRecoverPasscodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceRecoverPasscode + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceRecoverPasscode + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequestBuilder.java index 36c80be756b..2e7af5d5704 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRecoverPasscodeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRecoverPasscodeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRecoverPasscodeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Recover Passcode Request Builder. */ -public class ManagedDeviceRecoverPasscodeRequestBuilder extends BaseManagedDeviceRecoverPasscodeRequestBuilder implements IManagedDeviceRecoverPasscodeRequestBuilder { +public class ManagedDeviceRecoverPasscodeRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceRecoverPasscodeRequestBuilder { /** * The request builder for this ManagedDeviceRecoverPasscode @@ -25,4 +30,29 @@ public class ManagedDeviceRecoverPasscodeRequestBuilder extends BaseManagedDevic public ManagedDeviceRecoverPasscodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceRecoverPasscodeRequest + * + * @return the IManagedDeviceRecoverPasscodeRequest instance + */ + public IManagedDeviceRecoverPasscodeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceRecoverPasscodeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRecoverPasscodeRequest instance + */ + public IManagedDeviceRecoverPasscodeRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceRecoverPasscodeRequest request = new ManagedDeviceRecoverPasscodeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequest.java index 954e4b2a7b7..b9960a136cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Reference Request. */ -public class ManagedDeviceReferenceRequest extends BaseManagedDeviceReferenceRequest implements IManagedDeviceReferenceRequest { +public class ManagedDeviceReferenceRequest extends BaseRequest implements IManagedDeviceReferenceRequest { /** * The request for the ManagedDevice @@ -22,7 +30,57 @@ public class ManagedDeviceReferenceRequest extends BaseManagedDeviceReferenceReq * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDevice.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public ManagedDevice delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceReferenceRequest)this; + } + /** + * Puts the ManagedDevice + * + * @param srcManagedDevice the ManagedDevice reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(ManagedDevice srcManagedDevice, final ICallback callback) { + send(HttpMethod.PUT, callback, srcManagedDevice); + } + + /** + * Puts the ManagedDevice + * + * @param srcManagedDevice the ManagedDevice reference to PUT + * @return the ManagedDevice + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public ManagedDevice put(ManagedDevice srcManagedDevice) throws ClientException { + return send(HttpMethod.PUT, srcManagedDevice); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequestBuilder.java index 57f23897341..c3bebd87139 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Reference Request Builder. */ -public class ManagedDeviceReferenceRequestBuilder extends BaseManagedDeviceReferenceRequestBuilder implements IManagedDeviceReferenceRequestBuilder { +public class ManagedDeviceReferenceRequestBuilder extends BaseRequestBuilder implements IManagedDeviceReferenceRequestBuilder { /** * The request builder for the ManagedDevice @@ -25,4 +34,23 @@ public class ManagedDeviceReferenceRequestBuilder extends BaseManagedDeviceRefer public ManagedDeviceReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IManagedDeviceReferenceRequest instance + */ + public IManagedDeviceReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceReferenceRequest instance + */ + public IManagedDeviceReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequest.java index 07df1d6bca9..97d7949ae9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRemoteLockRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRemoteLockRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Remote Lock Request. */ -public class ManagedDeviceRemoteLockRequest extends BaseManagedDeviceRemoteLockRequest implements IManagedDeviceRemoteLockRequest { +public class ManagedDeviceRemoteLockRequest extends BaseRequest implements IManagedDeviceRemoteLockRequest { /** * The request for this ManagedDeviceRemoteLock @@ -23,6 +30,35 @@ public class ManagedDeviceRemoteLockRequest extends BaseManagedDeviceRemoteLockR * @param requestOptions the options for this request */ public ManagedDeviceRemoteLockRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceRemoteLock + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceRemoteLock + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequestBuilder.java index 5ea8fb58fa2..4c86dccaaee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRemoteLockRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRemoteLockRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRemoteLockRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Remote Lock Request Builder. */ -public class ManagedDeviceRemoteLockRequestBuilder extends BaseManagedDeviceRemoteLockRequestBuilder implements IManagedDeviceRemoteLockRequestBuilder { +public class ManagedDeviceRemoteLockRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceRemoteLockRequestBuilder { /** * The request builder for this ManagedDeviceRemoteLock @@ -25,4 +30,29 @@ public class ManagedDeviceRemoteLockRequestBuilder extends BaseManagedDeviceRemo public ManagedDeviceRemoteLockRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceRemoteLockRequest + * + * @return the IManagedDeviceRemoteLockRequest instance + */ + public IManagedDeviceRemoteLockRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceRemoteLockRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRemoteLockRequest instance + */ + public IManagedDeviceRemoteLockRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceRemoteLockRequest request = new ManagedDeviceRemoteLockRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequest.java index 4909f953936..73acc997dc1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequest; +import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Request. */ -public class ManagedDeviceRequest extends BaseManagedDeviceRequest implements IManagedDeviceRequest { - +public class ManagedDeviceRequest extends BaseRequest implements IManagedDeviceRequest { + /** * The request for the ManagedDevice * @@ -26,4 +32,107 @@ public class ManagedDeviceRequest extends BaseManagedDeviceRequest implements IM public ManagedDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedDevice.class); } + + /** + * Gets the ManagedDevice from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedDevice from the service + * + * @return the ManagedDevice from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDevice get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedDevice with a source + * + * @param sourceManagedDevice the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedDevice sourceManagedDevice, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDevice); + } + + /** + * Patches this ManagedDevice with a source + * + * @param sourceManagedDevice the source object with updates + * @return the updated ManagedDevice + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDevice); + } + + /** + * Creates a ManagedDevice with a new object + * + * @param newManagedDevice the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedDevice newManagedDevice, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedDevice); + } + + /** + * Creates a ManagedDevice with a new object + * + * @param newManagedDevice the new object to create + * @return the created ManagedDevice + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException { + return send(HttpMethod.POST, newManagedDevice); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestBuilder.java index 3b2b2ad86b8..055a81e2ca7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestBuilder.java @@ -3,17 +3,67 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequest; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRetireRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceWipeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceResetPasscodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRemoteLockRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequestRemoteAssistanceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceDisableLostModeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceLocateDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceBypassActivationLockRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRebootNowRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceShutDownRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRecoverPasscodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceCleanWindowsDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceSyncDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderScanRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; +import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; +import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Request Builder. */ -public class ManagedDeviceRequestBuilder extends BaseManagedDeviceRequestBuilder implements IManagedDeviceRequestBuilder { +public class ManagedDeviceRequestBuilder extends BaseRequestBuilder implements IManagedDeviceRequestBuilder { /** * The request builder for the ManagedDevice @@ -25,4 +75,121 @@ public class ManagedDeviceRequestBuilder extends BaseManagedDeviceRequestBuilder public ManagedDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceRequest instance + */ + public IManagedDeviceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedDeviceRequest instance + */ + public IManagedDeviceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDeviceConfigurationStateCollectionRequestBuilder deviceConfigurationStates() { + return new DeviceConfigurationStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurationStates"), getClient(), null); + } + + public IDeviceConfigurationStateRequestBuilder deviceConfigurationStates(final String id) { + return new DeviceConfigurationStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurationStates") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for DeviceCategory + * + * @return the IDeviceCategoryRequestBuilder instance + */ + public IDeviceCategoryRequestBuilder deviceCategory() { + return new DeviceCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCategory"), getClient(), null); + } + public IDeviceCompliancePolicyStateCollectionRequestBuilder deviceCompliancePolicyStates() { + return new DeviceCompliancePolicyStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicyStates"), getClient(), null); + } + + public IDeviceCompliancePolicyStateRequestBuilder deviceCompliancePolicyStates(final String id) { + return new DeviceCompliancePolicyStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicyStates") + "/" + id, getClient(), null); + } + + public IManagedDeviceRetireRequestBuilder retire() { + return new ManagedDeviceRetireRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.retire"), getClient(), null); + } + + public IManagedDeviceWipeRequestBuilder wipe(final Boolean keepEnrollmentData, final Boolean keepUserData, final String macOsUnlockCode) { + return new ManagedDeviceWipeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.wipe"), getClient(), null, keepEnrollmentData, keepUserData, macOsUnlockCode); + } + + public IManagedDeviceResetPasscodeRequestBuilder resetPasscode() { + return new ManagedDeviceResetPasscodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resetPasscode"), getClient(), null); + } + + public IManagedDeviceRemoteLockRequestBuilder remoteLock() { + return new ManagedDeviceRemoteLockRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.remoteLock"), getClient(), null); + } + + public IManagedDeviceRequestRemoteAssistanceRequestBuilder requestRemoteAssistance() { + return new ManagedDeviceRequestRemoteAssistanceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.requestRemoteAssistance"), getClient(), null); + } + + public IManagedDeviceDisableLostModeRequestBuilder disableLostMode() { + return new ManagedDeviceDisableLostModeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.disableLostMode"), getClient(), null); + } + + public IManagedDeviceLocateDeviceRequestBuilder locateDevice() { + return new ManagedDeviceLocateDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.locateDevice"), getClient(), null); + } + + public IManagedDeviceBypassActivationLockRequestBuilder bypassActivationLock() { + return new ManagedDeviceBypassActivationLockRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bypassActivationLock"), getClient(), null); + } + + public IManagedDeviceRebootNowRequestBuilder rebootNow() { + return new ManagedDeviceRebootNowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rebootNow"), getClient(), null); + } + + public IManagedDeviceShutDownRequestBuilder shutDown() { + return new ManagedDeviceShutDownRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.shutDown"), getClient(), null); + } + + public IManagedDeviceRecoverPasscodeRequestBuilder recoverPasscode() { + return new ManagedDeviceRecoverPasscodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.recoverPasscode"), getClient(), null); + } + + public IManagedDeviceCleanWindowsDeviceRequestBuilder cleanWindowsDevice(final Boolean keepUserData) { + return new ManagedDeviceCleanWindowsDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cleanWindowsDevice"), getClient(), null, keepUserData); + } + + public IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder logoutSharedAppleDeviceActiveUser() { + return new ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.logoutSharedAppleDeviceActiveUser"), getClient(), null); + } + + public IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder deleteUserFromSharedAppleDevice(final String userPrincipalName) { + return new ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deleteUserFromSharedAppleDevice"), getClient(), null, userPrincipalName); + } + + public IManagedDeviceSyncDeviceRequestBuilder syncDevice() { + return new ManagedDeviceSyncDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syncDevice"), getClient(), null); + } + + public IManagedDeviceWindowsDefenderScanRequestBuilder windowsDefenderScan(final Boolean quickScan) { + return new ManagedDeviceWindowsDefenderScanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.windowsDefenderScan"), getClient(), null, quickScan); + } + + public IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder windowsDefenderUpdateSignatures() { + return new ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.windowsDefenderUpdateSignatures"), getClient(), null); + } + + public IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder updateWindowsDeviceAccount(final UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter) { + return new ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.updateWindowsDeviceAccount"), getClient(), null, updateWindowsDeviceAccountActionParameter); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequest.java index fca8f8eb5c8..dc69cfd6ad1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequestRemoteAssistanceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRequestRemoteAssistanceRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Request Remote Assistance Request. */ -public class ManagedDeviceRequestRemoteAssistanceRequest extends BaseManagedDeviceRequestRemoteAssistanceRequest implements IManagedDeviceRequestRemoteAssistanceRequest { +public class ManagedDeviceRequestRemoteAssistanceRequest extends BaseRequest implements IManagedDeviceRequestRemoteAssistanceRequest { /** * The request for this ManagedDeviceRequestRemoteAssistance @@ -23,6 +30,35 @@ public class ManagedDeviceRequestRemoteAssistanceRequest extends BaseManagedDevi * @param requestOptions the options for this request */ public ManagedDeviceRequestRemoteAssistanceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceRequestRemoteAssistance + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceRequestRemoteAssistance + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequestBuilder.java index 012cef9375a..6ea6782aedd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequestRemoteAssistanceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequestRemoteAssistanceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRequestRemoteAssistanceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Request Remote Assistance Request Builder. */ -public class ManagedDeviceRequestRemoteAssistanceRequestBuilder extends BaseManagedDeviceRequestRemoteAssistanceRequestBuilder implements IManagedDeviceRequestRemoteAssistanceRequestBuilder { +public class ManagedDeviceRequestRemoteAssistanceRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceRequestRemoteAssistanceRequestBuilder { /** * The request builder for this ManagedDeviceRequestRemoteAssistance @@ -25,4 +30,29 @@ public class ManagedDeviceRequestRemoteAssistanceRequestBuilder extends BaseMana public ManagedDeviceRequestRemoteAssistanceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceRequestRemoteAssistanceRequest + * + * @return the IManagedDeviceRequestRemoteAssistanceRequest instance + */ + public IManagedDeviceRequestRemoteAssistanceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceRequestRemoteAssistanceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRequestRemoteAssistanceRequest instance + */ + public IManagedDeviceRequestRemoteAssistanceRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceRequestRemoteAssistanceRequest request = new ManagedDeviceRequestRemoteAssistanceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequest.java index cc19661a81b..26dffae3224 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceResetPasscodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceResetPasscodeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Reset Passcode Request. */ -public class ManagedDeviceResetPasscodeRequest extends BaseManagedDeviceResetPasscodeRequest implements IManagedDeviceResetPasscodeRequest { +public class ManagedDeviceResetPasscodeRequest extends BaseRequest implements IManagedDeviceResetPasscodeRequest { /** * The request for this ManagedDeviceResetPasscode @@ -23,6 +30,35 @@ public class ManagedDeviceResetPasscodeRequest extends BaseManagedDeviceResetPas * @param requestOptions the options for this request */ public ManagedDeviceResetPasscodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceResetPasscode + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceResetPasscode + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequestBuilder.java index 733778aa25e..1a33497560f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceResetPasscodeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceResetPasscodeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceResetPasscodeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Reset Passcode Request Builder. */ -public class ManagedDeviceResetPasscodeRequestBuilder extends BaseManagedDeviceResetPasscodeRequestBuilder implements IManagedDeviceResetPasscodeRequestBuilder { +public class ManagedDeviceResetPasscodeRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceResetPasscodeRequestBuilder { /** * The request builder for this ManagedDeviceResetPasscode @@ -25,4 +30,29 @@ public class ManagedDeviceResetPasscodeRequestBuilder extends BaseManagedDeviceR public ManagedDeviceResetPasscodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceResetPasscodeRequest + * + * @return the IManagedDeviceResetPasscodeRequest instance + */ + public IManagedDeviceResetPasscodeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceResetPasscodeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceResetPasscodeRequest instance + */ + public IManagedDeviceResetPasscodeRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceResetPasscodeRequest request = new ManagedDeviceResetPasscodeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequest.java index 85511f14dd7..ed3b9a7e28a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRetireRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRetireRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Retire Request. */ -public class ManagedDeviceRetireRequest extends BaseManagedDeviceRetireRequest implements IManagedDeviceRetireRequest { +public class ManagedDeviceRetireRequest extends BaseRequest implements IManagedDeviceRetireRequest { /** * The request for this ManagedDeviceRetire @@ -23,6 +30,35 @@ public class ManagedDeviceRetireRequest extends BaseManagedDeviceRetireRequest i * @param requestOptions the options for this request */ public ManagedDeviceRetireRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceRetire + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceRetire + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequestBuilder.java index 1b0029dbf29..4b100b40cad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRetireRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceRetireRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceRetireRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Retire Request Builder. */ -public class ManagedDeviceRetireRequestBuilder extends BaseManagedDeviceRetireRequestBuilder implements IManagedDeviceRetireRequestBuilder { +public class ManagedDeviceRetireRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceRetireRequestBuilder { /** * The request builder for this ManagedDeviceRetire @@ -25,4 +30,29 @@ public class ManagedDeviceRetireRequestBuilder extends BaseManagedDeviceRetireRe public ManagedDeviceRetireRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceRetireRequest + * + * @return the IManagedDeviceRetireRequest instance + */ + public IManagedDeviceRetireRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceRetireRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceRetireRequest instance + */ + public IManagedDeviceRetireRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceRetireRequest request = new ManagedDeviceRetireRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequest.java index 09331b63e9c..cf977adc06a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceShutDownRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceShutDownRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Shut Down Request. */ -public class ManagedDeviceShutDownRequest extends BaseManagedDeviceShutDownRequest implements IManagedDeviceShutDownRequest { +public class ManagedDeviceShutDownRequest extends BaseRequest implements IManagedDeviceShutDownRequest { /** * The request for this ManagedDeviceShutDown @@ -23,6 +30,35 @@ public class ManagedDeviceShutDownRequest extends BaseManagedDeviceShutDownReque * @param requestOptions the options for this request */ public ManagedDeviceShutDownRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceShutDown + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceShutDown + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequestBuilder.java index dc3a079de58..409e883f0e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceShutDownRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceShutDownRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceShutDownRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Shut Down Request Builder. */ -public class ManagedDeviceShutDownRequestBuilder extends BaseManagedDeviceShutDownRequestBuilder implements IManagedDeviceShutDownRequestBuilder { +public class ManagedDeviceShutDownRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceShutDownRequestBuilder { /** * The request builder for this ManagedDeviceShutDown @@ -25,4 +30,29 @@ public class ManagedDeviceShutDownRequestBuilder extends BaseManagedDeviceShutDo public ManagedDeviceShutDownRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceShutDownRequest + * + * @return the IManagedDeviceShutDownRequest instance + */ + public IManagedDeviceShutDownRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceShutDownRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceShutDownRequest instance + */ + public IManagedDeviceShutDownRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceShutDownRequest request = new ManagedDeviceShutDownRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequest.java index 948b8f47dd9..ef80a7ac22f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceSyncDeviceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceSyncDeviceRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Sync Device Request. */ -public class ManagedDeviceSyncDeviceRequest extends BaseManagedDeviceSyncDeviceRequest implements IManagedDeviceSyncDeviceRequest { +public class ManagedDeviceSyncDeviceRequest extends BaseRequest implements IManagedDeviceSyncDeviceRequest { /** * The request for this ManagedDeviceSyncDevice @@ -23,6 +30,35 @@ public class ManagedDeviceSyncDeviceRequest extends BaseManagedDeviceSyncDeviceR * @param requestOptions the options for this request */ public ManagedDeviceSyncDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceSyncDevice + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceSyncDevice + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequestBuilder.java index 60e68b18d17..6de4d832dab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceSyncDeviceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceSyncDeviceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceSyncDeviceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Sync Device Request Builder. */ -public class ManagedDeviceSyncDeviceRequestBuilder extends BaseManagedDeviceSyncDeviceRequestBuilder implements IManagedDeviceSyncDeviceRequestBuilder { +public class ManagedDeviceSyncDeviceRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceSyncDeviceRequestBuilder { /** * The request builder for this ManagedDeviceSyncDevice @@ -25,4 +30,29 @@ public class ManagedDeviceSyncDeviceRequestBuilder extends BaseManagedDeviceSync public ManagedDeviceSyncDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceSyncDeviceRequest + * + * @return the IManagedDeviceSyncDeviceRequest instance + */ + public IManagedDeviceSyncDeviceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceSyncDeviceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceSyncDeviceRequest instance + */ + public IManagedDeviceSyncDeviceRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceSyncDeviceRequest request = new ManagedDeviceSyncDeviceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequest.java index f55547942de..96759a7345c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceUpdateWindowsDeviceAccountBody; +import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceUpdateWindowsDeviceAccountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceUpdateWindowsDeviceAccountRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Update Windows Device Account Request. */ -public class ManagedDeviceUpdateWindowsDeviceAccountRequest extends BaseManagedDeviceUpdateWindowsDeviceAccountRequest implements IManagedDeviceUpdateWindowsDeviceAccountRequest { +public class ManagedDeviceUpdateWindowsDeviceAccountRequest extends BaseRequest implements IManagedDeviceUpdateWindowsDeviceAccountRequest { + protected final ManagedDeviceUpdateWindowsDeviceAccountBody body; /** * The request for this ManagedDeviceUpdateWindowsDeviceAccount @@ -23,6 +31,49 @@ public class ManagedDeviceUpdateWindowsDeviceAccountRequest extends BaseManagedD * @param requestOptions the options for this request */ public ManagedDeviceUpdateWindowsDeviceAccountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedDeviceUpdateWindowsDeviceAccountBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceUpdateWindowsDeviceAccountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceUpdateWindowsDeviceAccountRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceUpdateWindowsDeviceAccountRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedDeviceUpdateWindowsDeviceAccountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceUpdateWindowsDeviceAccountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceUpdateWindowsDeviceAccountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java index e55db11e2a4..5977a27a882 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceUpdateWindowsDeviceAccountRequest; +import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Update Windows Device Account Request Builder. */ -public class ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder implements IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder { +public class ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder { /** * The request builder for this ManagedDeviceUpdateWindowsDeviceAccount @@ -25,6 +30,36 @@ public class ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends BaseM * @param updateWindowsDeviceAccountActionParameter the updateWindowsDeviceAccountActionParameter */ public ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter) { - super(requestUrl, client, requestOptions, updateWindowsDeviceAccountActionParameter); + super(requestUrl, client, requestOptions); + bodyParams.put("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountActionParameter); + } + + /** + * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest + * + * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance + */ + public IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance + */ + public IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceUpdateWindowsDeviceAccountRequest request = new ManagedDeviceUpdateWindowsDeviceAccountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("updateWindowsDeviceAccountActionParameter")) { + request.body.updateWindowsDeviceAccountActionParameter = getParameter("updateWindowsDeviceAccountActionParameter"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequest.java index f2f01653a03..a0912ff2236 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceWindowsDefenderScanBody; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderScanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWindowsDefenderScanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Windows Defender Scan Request. */ -public class ManagedDeviceWindowsDefenderScanRequest extends BaseManagedDeviceWindowsDefenderScanRequest implements IManagedDeviceWindowsDefenderScanRequest { +public class ManagedDeviceWindowsDefenderScanRequest extends BaseRequest implements IManagedDeviceWindowsDefenderScanRequest { + protected final ManagedDeviceWindowsDefenderScanBody body; /** * The request for this ManagedDeviceWindowsDefenderScan @@ -23,6 +31,49 @@ public class ManagedDeviceWindowsDefenderScanRequest extends BaseManagedDeviceWi * @param requestOptions the options for this request */ public ManagedDeviceWindowsDefenderScanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedDeviceWindowsDefenderScanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceWindowsDefenderScanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceWindowsDefenderScanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceWindowsDefenderScanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedDeviceWindowsDefenderScanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceWindowsDefenderScanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceWindowsDefenderScanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequestBuilder.java index d0f53868cb1..3ca6f49e148 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderScanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderScanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWindowsDefenderScanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Windows Defender Scan Request Builder. */ -public class ManagedDeviceWindowsDefenderScanRequestBuilder extends BaseManagedDeviceWindowsDefenderScanRequestBuilder implements IManagedDeviceWindowsDefenderScanRequestBuilder { +public class ManagedDeviceWindowsDefenderScanRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceWindowsDefenderScanRequestBuilder { /** * The request builder for this ManagedDeviceWindowsDefenderScan @@ -24,6 +29,36 @@ public class ManagedDeviceWindowsDefenderScanRequestBuilder extends BaseManagedD * @param quickScan the quickScan */ public ManagedDeviceWindowsDefenderScanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean quickScan) { - super(requestUrl, client, requestOptions, quickScan); + super(requestUrl, client, requestOptions); + bodyParams.put("quickScan", quickScan); + } + + /** + * Creates the IManagedDeviceWindowsDefenderScanRequest + * + * @return the IManagedDeviceWindowsDefenderScanRequest instance + */ + public IManagedDeviceWindowsDefenderScanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceWindowsDefenderScanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceWindowsDefenderScanRequest instance + */ + public IManagedDeviceWindowsDefenderScanRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceWindowsDefenderScanRequest request = new ManagedDeviceWindowsDefenderScanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("quickScan")) { + request.body.quickScan = getParameter("quickScan"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequest.java index e0de7de8c45..433b181416e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderUpdateSignaturesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Windows Defender Update Signatures Request. */ -public class ManagedDeviceWindowsDefenderUpdateSignaturesRequest extends BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest implements IManagedDeviceWindowsDefenderUpdateSignaturesRequest { +public class ManagedDeviceWindowsDefenderUpdateSignaturesRequest extends BaseRequest implements IManagedDeviceWindowsDefenderUpdateSignaturesRequest { /** * The request for this ManagedDeviceWindowsDefenderUpdateSignatures @@ -23,6 +30,35 @@ public class ManagedDeviceWindowsDefenderUpdateSignaturesRequest extends BaseMan * @param requestOptions the options for this request */ public ManagedDeviceWindowsDefenderUpdateSignaturesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the ManagedDeviceWindowsDefenderUpdateSignatures + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the ManagedDeviceWindowsDefenderUpdateSignatures + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java index 92281651ae1..48a07a675c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderUpdateSignaturesRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Windows Defender Update Signatures Request Builder. */ -public class ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder implements IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder { +public class ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder { /** * The request builder for this ManagedDeviceWindowsDefenderUpdateSignatures @@ -25,4 +30,29 @@ public class ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends public ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest + * + * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance + */ + public IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance + */ + public IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceWindowsDefenderUpdateSignaturesRequest request = new ManagedDeviceWindowsDefenderUpdateSignaturesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequest.java index 3b53e482cf1..2671f4ea58e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedDeviceWipeBody; +import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceWipeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWipeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Wipe Request. */ -public class ManagedDeviceWipeRequest extends BaseManagedDeviceWipeRequest implements IManagedDeviceWipeRequest { +public class ManagedDeviceWipeRequest extends BaseRequest implements IManagedDeviceWipeRequest { + protected final ManagedDeviceWipeBody body; /** * The request for this ManagedDeviceWipe @@ -23,6 +31,49 @@ public class ManagedDeviceWipeRequest extends BaseManagedDeviceWipeRequest imple * @param requestOptions the options for this request */ public ManagedDeviceWipeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedDeviceWipeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceWipeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedDeviceWipeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedDeviceWipeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedDeviceWipeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceWipeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceWipeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequestBuilder.java index a9edc2f90ef..2fcde27f054 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWipeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; +import com.microsoft.graph.requests.extensions.ManagedDeviceWipeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWipeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device Wipe Request Builder. */ -public class ManagedDeviceWipeRequestBuilder extends BaseManagedDeviceWipeRequestBuilder implements IManagedDeviceWipeRequestBuilder { +public class ManagedDeviceWipeRequestBuilder extends BaseActionRequestBuilder implements IManagedDeviceWipeRequestBuilder { /** * The request builder for this ManagedDeviceWipe @@ -26,6 +31,46 @@ public class ManagedDeviceWipeRequestBuilder extends BaseManagedDeviceWipeReques * @param macOsUnlockCode the macOsUnlockCode */ public ManagedDeviceWipeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean keepEnrollmentData, final Boolean keepUserData, final String macOsUnlockCode) { - super(requestUrl, client, requestOptions, keepEnrollmentData, keepUserData, macOsUnlockCode); + super(requestUrl, client, requestOptions); + bodyParams.put("keepEnrollmentData", keepEnrollmentData); + bodyParams.put("keepUserData", keepUserData); + bodyParams.put("macOsUnlockCode", macOsUnlockCode); + } + + /** + * Creates the IManagedDeviceWipeRequest + * + * @return the IManagedDeviceWipeRequest instance + */ + public IManagedDeviceWipeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedDeviceWipeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedDeviceWipeRequest instance + */ + public IManagedDeviceWipeRequest buildRequest(final java.util.List requestOptions) { + ManagedDeviceWipeRequest request = new ManagedDeviceWipeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("keepEnrollmentData")) { + request.body.keepEnrollmentData = getParameter("keepEnrollmentData"); + } + + if (hasParameter("keepUserData")) { + request.body.keepUserData = getParameter("keepUserData"); + } + + if (hasParameter("macOsUnlockCode")) { + request.body.macOsUnlockCode = getParameter("macOsUnlockCode"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequest.java index 4170d073ee2..b8eaefc83e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device With Reference Request. */ -public class ManagedDeviceWithReferenceRequest extends BaseManagedDeviceWithReferenceRequest implements IManagedDeviceWithReferenceRequest { +public class ManagedDeviceWithReferenceRequest extends BaseRequest implements IManagedDeviceWithReferenceRequest { /** * The request for the ManagedDevice @@ -22,7 +30,66 @@ public class ManagedDeviceWithReferenceRequest extends BaseManagedDeviceWithRefe * @param client the service client * @param requestOptions the options for this request */ - public ManagedDeviceWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedDeviceWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedDevice.class); + } + + public void post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public ManagedDevice post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newManagedDevice; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public ManagedDevice get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final ManagedDevice sourceManagedDevice, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedDevice); + } + + public ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedDevice); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedDeviceWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IManagedDeviceWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedDeviceWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedDeviceWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequestBuilder.java index aebae74f548..6676c264a1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedDeviceWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Device With Reference Request Builder. */ -public class ManagedDeviceWithReferenceRequestBuilder extends BaseManagedDeviceWithReferenceRequestBuilder implements IManagedDeviceWithReferenceRequestBuilder { +public class ManagedDeviceWithReferenceRequestBuilder extends BaseRequestBuilder implements IManagedDeviceWithReferenceRequestBuilder { /** * The request builder for the ManagedDevice @@ -25,4 +33,28 @@ public class ManagedDeviceWithReferenceRequestBuilder extends BaseManagedDeviceW public ManagedDeviceWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedDeviceWithReferenceRequest instance + */ + public IManagedDeviceWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IManagedDeviceWithReferenceRequest instance + */ + public IManagedDeviceWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new ManagedDeviceWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedDeviceReferenceRequestBuilder reference(){ + return new ManagedDeviceReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequest.java index bd889764b27..a8bab4ed8a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBookAssignBody; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assign Request. */ -public class ManagedEBookAssignRequest extends BaseManagedEBookAssignRequest implements IManagedEBookAssignRequest { +public class ManagedEBookAssignRequest extends BaseRequest implements IManagedEBookAssignRequest { + protected final ManagedEBookAssignBody body; /** * The request for this ManagedEBookAssign @@ -23,6 +31,49 @@ public class ManagedEBookAssignRequest extends BaseManagedEBookAssignRequest imp * @param requestOptions the options for this request */ public ManagedEBookAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new ManagedEBookAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedEBookAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedEBookAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedEBookAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (ManagedEBookAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedEBookAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedEBookAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequestBuilder.java index 4298b2eb798..c77b08ab153 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignRequest; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assign Request Builder. */ -public class ManagedEBookAssignRequestBuilder extends BaseManagedEBookAssignRequestBuilder implements IManagedEBookAssignRequestBuilder { +public class ManagedEBookAssignRequestBuilder extends BaseActionRequestBuilder implements IManagedEBookAssignRequestBuilder { /** * The request builder for this ManagedEBookAssign @@ -25,6 +30,36 @@ public class ManagedEBookAssignRequestBuilder extends BaseManagedEBookAssignRequ * @param managedEBookAssignments the managedEBookAssignments */ public ManagedEBookAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List managedEBookAssignments) { - super(requestUrl, client, requestOptions, managedEBookAssignments); + super(requestUrl, client, requestOptions); + bodyParams.put("managedEBookAssignments", managedEBookAssignments); + } + + /** + * Creates the IManagedEBookAssignRequest + * + * @return the IManagedEBookAssignRequest instance + */ + public IManagedEBookAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IManagedEBookAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IManagedEBookAssignRequest instance + */ + public IManagedEBookAssignRequest buildRequest(final java.util.List requestOptions) { + ManagedEBookAssignRequest request = new ManagedEBookAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("managedEBookAssignments")) { + request.body.managedEBookAssignments = getParameter("managedEBookAssignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionPage.java index 392bc16d33a..36e28fb6390 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assignment Collection Page. */ -public class ManagedEBookAssignmentCollectionPage extends BaseManagedEBookAssignmentCollectionPage implements IManagedEBookAssignmentCollectionPage { +public class ManagedEBookAssignmentCollectionPage extends BaseCollectionPage implements IManagedEBookAssignmentCollectionPage { /** - * A collection page for ManagedEBook. + * A collection page for ManagedEBookAssignment * - * @param response the serialized BaseManagedEBookAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedEBookAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedEBookAssignmentCollectionPage(final BaseManagedEBookAssignmentCollectionResponse response, final IManagedEBookAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public ManagedEBookAssignmentCollectionPage(final ManagedEBookAssignmentCollectionResponse response, final IManagedEBookAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequest.java index c568a40c62b..aea49a2eb34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assignment Collection Request. */ -public class ManagedEBookAssignmentCollectionRequest extends BaseManagedEBookAssignmentCollectionRequest implements IManagedEBookAssignmentCollectionRequest { +public class ManagedEBookAssignmentCollectionRequest extends BaseCollectionRequest implements IManagedEBookAssignmentCollectionRequest { /** - * The request for this collection of ManagedEBook + * The request builder for this collection of ManagedEBookAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedEBookAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedEBookAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedEBookAssignmentCollectionResponse.class, IManagedEBookAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedEBookAssignmentCollectionPage get() throws ClientException { + final ManagedEBookAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedEBookAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedEBookAssignment, callback); + } + + public ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedEBookAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedEBookAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedEBookAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedEBookAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedEBookAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedEBookAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedEBookAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedEBookAssignmentCollectionRequest)this; + } + + public IManagedEBookAssignmentCollectionPage buildFromResponse(final ManagedEBookAssignmentCollectionResponse response) { + final IManagedEBookAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedEBookAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedEBookAssignmentCollectionPage page = new ManagedEBookAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequestBuilder.java index 5a431819541..6974d0e2c1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assignment Collection Request Builder. */ -public class ManagedEBookAssignmentCollectionRequestBuilder extends BaseManagedEBookAssignmentCollectionRequestBuilder implements IManagedEBookAssignmentCollectionRequestBuilder { +public class ManagedEBookAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IManagedEBookAssignmentCollectionRequestBuilder { /** * The request builder for this collection of ManagedEBook @@ -25,4 +33,18 @@ public class ManagedEBookAssignmentCollectionRequestBuilder extends BaseManagedE public ManagedEBookAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedEBookAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedEBookAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedEBookAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedEBookAssignmentRequestBuilder byId(final String id) { + return new ManagedEBookAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionResponse.java new file mode 100644 index 00000000000..0780b081445 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed EBook Assignment Collection Response. + */ +public class ManagedEBookAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedEBookAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequest.java index 263baf23e67..a50f53ee414 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequest; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentRequest; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assignment Request. */ -public class ManagedEBookAssignmentRequest extends BaseManagedEBookAssignmentRequest implements IManagedEBookAssignmentRequest { - +public class ManagedEBookAssignmentRequest extends BaseRequest implements IManagedEBookAssignmentRequest { + /** * The request for the ManagedEBookAssignment * @@ -41,4 +47,107 @@ public ManagedEBookAssignmentRequest(final String requestUrl, public ManagedEBookAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedEBookAssignment.class); } + + /** + * Gets the ManagedEBookAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedEBookAssignment from the service + * + * @return the ManagedEBookAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBookAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedEBookAssignment with a source + * + * @param sourceManagedEBookAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedEBookAssignment sourceManagedEBookAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedEBookAssignment); + } + + /** + * Patches this ManagedEBookAssignment with a source + * + * @param sourceManagedEBookAssignment the source object with updates + * @return the updated ManagedEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBookAssignment patch(final ManagedEBookAssignment sourceManagedEBookAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedEBookAssignment); + } + + /** + * Creates a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedEBookAssignment); + } + + /** + * Creates a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the new object to create + * @return the created ManagedEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException { + return send(HttpMethod.POST, newManagedEBookAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedEBookAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedEBookAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedEBookAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedEBookAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequestBuilder.java index b35dd7e7d26..54364a657de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequest; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Assignment Request Builder. */ -public class ManagedEBookAssignmentRequestBuilder extends BaseManagedEBookAssignmentRequestBuilder implements IManagedEBookAssignmentRequestBuilder { +public class ManagedEBookAssignmentRequestBuilder extends BaseRequestBuilder implements IManagedEBookAssignmentRequestBuilder { /** * The request builder for the ManagedEBookAssignment @@ -25,4 +28,26 @@ public class ManagedEBookAssignmentRequestBuilder extends BaseManagedEBookAssign public ManagedEBookAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedEBookAssignmentRequest instance + */ + public IManagedEBookAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedEBookAssignmentRequest instance + */ + public IManagedEBookAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new ManagedEBookAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionPage.java index d78318be1df..f5be8a4fbc5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBook; +import com.microsoft.graph.requests.extensions.IManagedEBookCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedEBookCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedEBookCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Collection Page. */ -public class ManagedEBookCollectionPage extends BaseManagedEBookCollectionPage implements IManagedEBookCollectionPage { +public class ManagedEBookCollectionPage extends BaseCollectionPage implements IManagedEBookCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for ManagedEBook * - * @param response the serialized BaseManagedEBookCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedEBookCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedEBookCollectionPage(final BaseManagedEBookCollectionResponse response, final IManagedEBookCollectionRequestBuilder builder) { - super(response, builder); + public ManagedEBookCollectionPage(final ManagedEBookCollectionResponse response, final IManagedEBookCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequest.java index 5b5da18528f..e72916cb813 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Collection Request. */ -public class ManagedEBookCollectionRequest extends BaseManagedEBookCollectionRequest implements IManagedEBookCollectionRequest { +public class ManagedEBookCollectionRequest extends BaseCollectionRequest implements IManagedEBookCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of ManagedEBook * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedEBookCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedEBookCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedEBookCollectionResponse.class, IManagedEBookCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedEBookCollectionPage get() throws ClientException { + final ManagedEBookCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedEBook newManagedEBook, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedEBookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedEBook, callback); + } + + public ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedEBookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedEBook); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedEBookCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedEBookCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedEBookCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedEBookCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedEBookCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedEBookCollectionRequest)this; + } + + public IManagedEBookCollectionPage buildFromResponse(final ManagedEBookCollectionResponse response) { + final IManagedEBookCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedEBookCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedEBookCollectionPage page = new ManagedEBookCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequestBuilder.java index 920aab69559..39f82f473b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Collection Request Builder. */ -public class ManagedEBookCollectionRequestBuilder extends BaseManagedEBookCollectionRequestBuilder implements IManagedEBookCollectionRequestBuilder { +public class ManagedEBookCollectionRequestBuilder extends BaseRequestBuilder implements IManagedEBookCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class ManagedEBookCollectionRequestBuilder extends BaseManagedEBookCollec public ManagedEBookCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedEBookCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedEBookCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedEBookCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedEBookRequestBuilder byId(final String id) { + return new ManagedEBookRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionResponse.java new file mode 100644 index 00000000000..67380f9b545 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedEBook; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed EBook Collection Response. + */ +public class ManagedEBookCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedEBook within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequest.java index 84b080c506d..dc00306a144 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookRequest; +import com.microsoft.graph.requests.extensions.ManagedEBookRequest; +import com.microsoft.graph.models.extensions.ManagedEBook; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedEBook; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Request. */ -public class ManagedEBookRequest extends BaseManagedEBookRequest implements IManagedEBookRequest { - +public class ManagedEBookRequest extends BaseRequest implements IManagedEBookRequest { + /** * The request for the ManagedEBook * @@ -41,4 +47,107 @@ public ManagedEBookRequest(final String requestUrl, public ManagedEBookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedEBook.class); } + + /** + * Gets the ManagedEBook from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedEBook from the service + * + * @return the ManagedEBook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBook get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedEBook with a source + * + * @param sourceManagedEBook the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedEBook sourceManagedEBook, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedEBook); + } + + /** + * Patches this ManagedEBook with a source + * + * @param sourceManagedEBook the source object with updates + * @return the updated ManagedEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBook patch(final ManagedEBook sourceManagedEBook) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedEBook); + } + + /** + * Creates a ManagedEBook with a new object + * + * @param newManagedEBook the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedEBook newManagedEBook, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedEBook); + } + + /** + * Creates a ManagedEBook with a new object + * + * @param newManagedEBook the new object to create + * @return the created ManagedEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException { + return send(HttpMethod.POST, newManagedEBook); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedEBookRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedEBookRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedEBookRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedEBookRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequestBuilder.java index c5b07e22663..0066a7250f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequestBuilder.java @@ -3,17 +3,37 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedEBookRequest; +import com.microsoft.graph.requests.extensions.ManagedEBookRequest; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.EBookInstallSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceInstallStateRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UserInstallStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.UserInstallStateSummaryRequestBuilder; +import com.microsoft.graph.models.extensions.ManagedEBookAssignment; +import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedEBookAssignRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedEBookRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed EBook Request Builder. */ -public class ManagedEBookRequestBuilder extends BaseManagedEBookRequestBuilder implements IManagedEBookRequestBuilder { +public class ManagedEBookRequestBuilder extends BaseRequestBuilder implements IManagedEBookRequestBuilder { /** * The request builder for the ManagedEBook @@ -25,4 +45,60 @@ public class ManagedEBookRequestBuilder extends BaseManagedEBookRequestBuilder i public ManagedEBookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedEBookRequest instance + */ + public IManagedEBookRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedEBookRequest instance + */ + public IManagedEBookRequest buildRequest(final java.util.List requestOptions) { + return new ManagedEBookRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedEBookAssignmentCollectionRequestBuilder assignments() { + return new ManagedEBookAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public IManagedEBookAssignmentRequestBuilder assignments(final String id) { + return new ManagedEBookAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for EBookInstallSummary + * + * @return the IEBookInstallSummaryRequestBuilder instance + */ + public IEBookInstallSummaryRequestBuilder installSummary() { + return new EBookInstallSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("installSummary"), getClient(), null); + } + public IDeviceInstallStateCollectionRequestBuilder deviceStates() { + return new DeviceInstallStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates"), getClient(), null); + } + + public IDeviceInstallStateRequestBuilder deviceStates(final String id) { + return new DeviceInstallStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates") + "/" + id, getClient(), null); + } + public IUserInstallStateSummaryCollectionRequestBuilder userStateSummary() { + return new UserInstallStateSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStateSummary"), getClient(), null); + } + + public IUserInstallStateSummaryRequestBuilder userStateSummary(final String id) { + return new UserInstallStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("userStateSummary") + "/" + id, getClient(), null); + } + + public IManagedEBookAssignRequestBuilder assign(final java.util.List managedEBookAssignments) { + return new ManagedEBookAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, managedEBookAssignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequest.java index 0e3cd0fcbdc..1b327e7034a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedIOSLobAppRequest; +import com.microsoft.graph.requests.extensions.ManagedIOSLobAppRequest; +import com.microsoft.graph.models.extensions.ManagedIOSLobApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedIOSLobApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedIOSLobAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed IOSLob App Request. */ -public class ManagedIOSLobAppRequest extends BaseManagedIOSLobAppRequest implements IManagedIOSLobAppRequest { - +public class ManagedIOSLobAppRequest extends BaseRequest implements IManagedIOSLobAppRequest { + /** * The request for the ManagedIOSLobApp * @@ -26,4 +32,107 @@ public class ManagedIOSLobAppRequest extends BaseManagedIOSLobAppRequest impleme public ManagedIOSLobAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedIOSLobApp.class); } + + /** + * Gets the ManagedIOSLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedIOSLobApp from the service + * + * @return the ManagedIOSLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSLobApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedIOSLobApp with a source + * + * @param sourceManagedIOSLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedIOSLobApp sourceManagedIOSLobApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedIOSLobApp); + } + + /** + * Patches this ManagedIOSLobApp with a source + * + * @param sourceManagedIOSLobApp the source object with updates + * @return the updated ManagedIOSLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSLobApp patch(final ManagedIOSLobApp sourceManagedIOSLobApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedIOSLobApp); + } + + /** + * Creates a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedIOSLobApp newManagedIOSLobApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedIOSLobApp); + } + + /** + * Creates a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the new object to create + * @return the created ManagedIOSLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSLobApp post(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException { + return send(HttpMethod.POST, newManagedIOSLobApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedIOSLobAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedIOSLobAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedIOSLobAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedIOSLobAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequestBuilder.java index a2079bc16bc..d9531f71422 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedIOSLobAppRequest; +import com.microsoft.graph.requests.extensions.ManagedIOSLobAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedIOSLobAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed IOSLob App Request Builder. */ -public class ManagedIOSLobAppRequestBuilder extends BaseManagedIOSLobAppRequestBuilder implements IManagedIOSLobAppRequestBuilder { +public class ManagedIOSLobAppRequestBuilder extends BaseRequestBuilder implements IManagedIOSLobAppRequestBuilder { /** * The request builder for the ManagedIOSLobApp @@ -25,4 +28,26 @@ public class ManagedIOSLobAppRequestBuilder extends BaseManagedIOSLobAppRequestB public ManagedIOSLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedIOSLobAppRequest instance + */ + public IManagedIOSLobAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedIOSLobAppRequest instance + */ + public IManagedIOSLobAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedIOSLobAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequest.java index 9b433b0930a..f54b4cf80c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedIOSStoreAppRequest; +import com.microsoft.graph.requests.extensions.ManagedIOSStoreAppRequest; +import com.microsoft.graph.models.extensions.ManagedIOSStoreApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedIOSStoreApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedIOSStoreAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed IOSStore App Request. */ -public class ManagedIOSStoreAppRequest extends BaseManagedIOSStoreAppRequest implements IManagedIOSStoreAppRequest { - +public class ManagedIOSStoreAppRequest extends BaseRequest implements IManagedIOSStoreAppRequest { + /** * The request for the ManagedIOSStoreApp * @@ -26,4 +32,107 @@ public class ManagedIOSStoreAppRequest extends BaseManagedIOSStoreAppRequest imp public ManagedIOSStoreAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedIOSStoreApp.class); } + + /** + * Gets the ManagedIOSStoreApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedIOSStoreApp from the service + * + * @return the ManagedIOSStoreApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSStoreApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedIOSStoreApp with a source + * + * @param sourceManagedIOSStoreApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedIOSStoreApp); + } + + /** + * Patches this ManagedIOSStoreApp with a source + * + * @param sourceManagedIOSStoreApp the source object with updates + * @return the updated ManagedIOSStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSStoreApp patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedIOSStoreApp); + } + + /** + * Creates a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedIOSStoreApp newManagedIOSStoreApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedIOSStoreApp); + } + + /** + * Creates a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the new object to create + * @return the created ManagedIOSStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSStoreApp post(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException { + return send(HttpMethod.POST, newManagedIOSStoreApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedIOSStoreAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedIOSStoreAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedIOSStoreAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedIOSStoreAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequestBuilder.java index ddeabc1cf26..9d85daa7268 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedIOSStoreAppRequest; +import com.microsoft.graph.requests.extensions.ManagedIOSStoreAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedIOSStoreAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed IOSStore App Request Builder. */ -public class ManagedIOSStoreAppRequestBuilder extends BaseManagedIOSStoreAppRequestBuilder implements IManagedIOSStoreAppRequestBuilder { +public class ManagedIOSStoreAppRequestBuilder extends BaseRequestBuilder implements IManagedIOSStoreAppRequestBuilder { /** * The request builder for the ManagedIOSStoreApp @@ -25,4 +28,26 @@ public class ManagedIOSStoreAppRequestBuilder extends BaseManagedIOSStoreAppRequ public ManagedIOSStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedIOSStoreAppRequest instance + */ + public IManagedIOSStoreAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedIOSStoreAppRequest instance + */ + public IManagedIOSStoreAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedIOSStoreAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionPage.java index a1489ec8f08..78c07eef963 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile App Collection Page. */ -public class ManagedMobileAppCollectionPage extends BaseManagedMobileAppCollectionPage implements IManagedMobileAppCollectionPage { +public class ManagedMobileAppCollectionPage extends BaseCollectionPage implements IManagedMobileAppCollectionPage { /** - * A collection page for TargetedManagedAppConfiguration. + * A collection page for ManagedMobileApp * - * @param response the serialized BaseManagedMobileAppCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ManagedMobileAppCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ManagedMobileAppCollectionPage(final BaseManagedMobileAppCollectionResponse response, final IManagedMobileAppCollectionRequestBuilder builder) { - super(response, builder); + public ManagedMobileAppCollectionPage(final ManagedMobileAppCollectionResponse response, final IManagedMobileAppCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequest.java index 8ddaf3cfd02..91bf7a538c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile App Collection Request. */ -public class ManagedMobileAppCollectionRequest extends BaseManagedMobileAppCollectionRequest implements IManagedMobileAppCollectionRequest { +public class ManagedMobileAppCollectionRequest extends BaseCollectionRequest implements IManagedMobileAppCollectionRequest { /** - * The request for this collection of TargetedManagedAppConfiguration + * The request builder for this collection of ManagedMobileApp * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ManagedMobileAppCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ManagedMobileAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ManagedMobileAppCollectionResponse.class, IManagedMobileAppCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IManagedMobileAppCollectionPage get() throws ClientException { + final ManagedMobileAppCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ManagedMobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedMobileApp, callback); + } + + public ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ManagedMobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newManagedMobileApp); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedMobileAppCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ManagedMobileAppCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedMobileAppCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ManagedMobileAppCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IManagedMobileAppCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ManagedMobileAppCollectionRequest)this; + } + + public IManagedMobileAppCollectionPage buildFromResponse(final ManagedMobileAppCollectionResponse response) { + final IManagedMobileAppCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ManagedMobileAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ManagedMobileAppCollectionPage page = new ManagedMobileAppCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequestBuilder.java index 9c276705ee7..738b165c253 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile App Collection Request Builder. */ -public class ManagedMobileAppCollectionRequestBuilder extends BaseManagedMobileAppCollectionRequestBuilder implements IManagedMobileAppCollectionRequestBuilder { +public class ManagedMobileAppCollectionRequestBuilder extends BaseRequestBuilder implements IManagedMobileAppCollectionRequestBuilder { /** * The request builder for this collection of TargetedManagedAppConfiguration @@ -25,4 +33,18 @@ public class ManagedMobileAppCollectionRequestBuilder extends BaseManagedMobileA public ManagedMobileAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IManagedMobileAppCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IManagedMobileAppCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ManagedMobileAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IManagedMobileAppRequestBuilder byId(final String id) { + return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionResponse.java new file mode 100644 index 00000000000..fb996a4a049 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ManagedMobileApp; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Managed Mobile App Collection Response. + */ +public class ManagedMobileAppCollectionResponse implements IJsonBackedObject { + + /** + * The list of ManagedMobileApp within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequest.java index 674c2d4b156..eb3169dcbc8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequest; +import com.microsoft.graph.requests.extensions.ManagedMobileAppRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile App Request. */ -public class ManagedMobileAppRequest extends BaseManagedMobileAppRequest implements IManagedMobileAppRequest { - +public class ManagedMobileAppRequest extends BaseRequest implements IManagedMobileAppRequest { + /** * The request for the ManagedMobileApp * @@ -26,4 +32,107 @@ public class ManagedMobileAppRequest extends BaseManagedMobileAppRequest impleme public ManagedMobileAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedMobileApp.class); } + + /** + * Gets the ManagedMobileApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedMobileApp from the service + * + * @return the ManagedMobileApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedMobileApp with a source + * + * @param sourceManagedMobileApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedMobileApp sourceManagedMobileApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedMobileApp); + } + + /** + * Patches this ManagedMobileApp with a source + * + * @param sourceManagedMobileApp the source object with updates + * @return the updated ManagedMobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileApp patch(final ManagedMobileApp sourceManagedMobileApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedMobileApp); + } + + /** + * Creates a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedMobileApp); + } + + /** + * Creates a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the new object to create + * @return the created ManagedMobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException { + return send(HttpMethod.POST, newManagedMobileApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedMobileAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedMobileAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedMobileAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedMobileAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequestBuilder.java index b1b09ea7936..c2aa9e7b94d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequest; +import com.microsoft.graph.requests.extensions.ManagedMobileAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedMobileAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile App Request Builder. */ -public class ManagedMobileAppRequestBuilder extends BaseManagedMobileAppRequestBuilder implements IManagedMobileAppRequestBuilder { +public class ManagedMobileAppRequestBuilder extends BaseRequestBuilder implements IManagedMobileAppRequestBuilder { /** * The request builder for the ManagedMobileApp @@ -25,4 +28,26 @@ public class ManagedMobileAppRequestBuilder extends BaseManagedMobileAppRequestB public ManagedMobileAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedMobileAppRequest instance + */ + public IManagedMobileAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedMobileAppRequest instance + */ + public IManagedMobileAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedMobileAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequest.java index 245affb6e15..cfe8c4e47c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.ManagedMobileLobAppRequest; +import com.microsoft.graph.models.extensions.ManagedMobileLobApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedMobileLobApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedMobileLobAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile Lob App Request. */ -public class ManagedMobileLobAppRequest extends BaseManagedMobileLobAppRequest implements IManagedMobileLobAppRequest { - +public class ManagedMobileLobAppRequest extends BaseRequest implements IManagedMobileLobAppRequest { + /** * The request for the ManagedMobileLobApp * @@ -41,4 +47,107 @@ public ManagedMobileLobAppRequest(final String requestUrl, public ManagedMobileLobAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ManagedMobileLobApp.class); } + + /** + * Gets the ManagedMobileLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ManagedMobileLobApp from the service + * + * @return the ManagedMobileLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileLobApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ManagedMobileLobApp with a source + * + * @param sourceManagedMobileLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ManagedMobileLobApp sourceManagedMobileLobApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceManagedMobileLobApp); + } + + /** + * Patches this ManagedMobileLobApp with a source + * + * @param sourceManagedMobileLobApp the source object with updates + * @return the updated ManagedMobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileLobApp patch(final ManagedMobileLobApp sourceManagedMobileLobApp) throws ClientException { + return send(HttpMethod.PATCH, sourceManagedMobileLobApp); + } + + /** + * Creates a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ManagedMobileLobApp newManagedMobileLobApp, final ICallback callback) { + send(HttpMethod.POST, callback, newManagedMobileLobApp); + } + + /** + * Creates a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the new object to create + * @return the created ManagedMobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileLobApp post(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException { + return send(HttpMethod.POST, newManagedMobileLobApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IManagedMobileLobAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ManagedMobileLobAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IManagedMobileLobAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ManagedMobileLobAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequestBuilder.java index c18a89977c2..b688bb21e76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IManagedMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.ManagedMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseManagedMobileLobAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Managed Mobile Lob App Request Builder. */ -public class ManagedMobileLobAppRequestBuilder extends BaseManagedMobileLobAppRequestBuilder implements IManagedMobileLobAppRequestBuilder { +public class ManagedMobileLobAppRequestBuilder extends BaseRequestBuilder implements IManagedMobileLobAppRequestBuilder { /** * The request builder for the ManagedMobileLobApp @@ -25,4 +32,33 @@ public class ManagedMobileLobAppRequestBuilder extends BaseManagedMobileLobAppRe public ManagedMobileLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IManagedMobileLobAppRequest instance + */ + public IManagedMobileLobAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IManagedMobileLobAppRequest instance + */ + public IManagedMobileLobAppRequest buildRequest(final java.util.List requestOptions) { + return new ManagedMobileLobAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IMobileAppContentCollectionRequestBuilder contentVersions() { + return new MobileAppContentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions"), getClient(), null); + } + + public IMobileAppContentRequestBuilder contentVersions(final String id) { + return new MobileAppContentRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionPage.java index 399b3f635d3..d49fe93062e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mdm Windows Information Protection Policy Collection Page. */ -public class MdmWindowsInformationProtectionPolicyCollectionPage extends BaseMdmWindowsInformationProtectionPolicyCollectionPage implements IMdmWindowsInformationProtectionPolicyCollectionPage { +public class MdmWindowsInformationProtectionPolicyCollectionPage extends BaseCollectionPage implements IMdmWindowsInformationProtectionPolicyCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for MdmWindowsInformationProtectionPolicy * - * @param response the serialized BaseMdmWindowsInformationProtectionPolicyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MdmWindowsInformationProtectionPolicyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MdmWindowsInformationProtectionPolicyCollectionPage(final BaseMdmWindowsInformationProtectionPolicyCollectionResponse response, final IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder builder) { - super(response, builder); + public MdmWindowsInformationProtectionPolicyCollectionPage(final MdmWindowsInformationProtectionPolicyCollectionResponse response, final IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequest.java index 1a460ce31ab..2071ac373c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mdm Windows Information Protection Policy Collection Request. */ -public class MdmWindowsInformationProtectionPolicyCollectionRequest extends BaseMdmWindowsInformationProtectionPolicyCollectionRequest implements IMdmWindowsInformationProtectionPolicyCollectionRequest { +public class MdmWindowsInformationProtectionPolicyCollectionRequest extends BaseCollectionRequest implements IMdmWindowsInformationProtectionPolicyCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of MdmWindowsInformationProtectionPolicy * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MdmWindowsInformationProtectionPolicyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MdmWindowsInformationProtectionPolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MdmWindowsInformationProtectionPolicyCollectionResponse.class, IMdmWindowsInformationProtectionPolicyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMdmWindowsInformationProtectionPolicyCollectionPage get() throws ClientException { + final MdmWindowsInformationProtectionPolicyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MdmWindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMdmWindowsInformationProtectionPolicy, callback); + } + + public MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MdmWindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMdmWindowsInformationProtectionPolicy); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMdmWindowsInformationProtectionPolicyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MdmWindowsInformationProtectionPolicyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMdmWindowsInformationProtectionPolicyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MdmWindowsInformationProtectionPolicyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMdmWindowsInformationProtectionPolicyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MdmWindowsInformationProtectionPolicyCollectionRequest)this; + } + + public IMdmWindowsInformationProtectionPolicyCollectionPage buildFromResponse(final MdmWindowsInformationProtectionPolicyCollectionResponse response) { + final IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MdmWindowsInformationProtectionPolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MdmWindowsInformationProtectionPolicyCollectionPage page = new MdmWindowsInformationProtectionPolicyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java index 49f2c4ed748..fb0ce48d9c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mdm Windows Information Protection Policy Collection Request Builder. */ -public class MdmWindowsInformationProtectionPolicyCollectionRequestBuilder extends BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder implements IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder { +public class MdmWindowsInformationProtectionPolicyCollectionRequestBuilder extends BaseRequestBuilder implements IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class MdmWindowsInformationProtectionPolicyCollectionRequestBuilder exten public MdmWindowsInformationProtectionPolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MdmWindowsInformationProtectionPolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMdmWindowsInformationProtectionPolicyRequestBuilder byId(final String id) { + return new MdmWindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionResponse.java new file mode 100644 index 00000000000..7dbd167c3d7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mdm Windows Information Protection Policy Collection Response. + */ +public class MdmWindowsInformationProtectionPolicyCollectionResponse implements IJsonBackedObject { + + /** + * The list of MdmWindowsInformationProtectionPolicy within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequest.java index 76014e39839..1ffa28903a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mdm Windows Information Protection Policy Request. */ -public class MdmWindowsInformationProtectionPolicyRequest extends BaseMdmWindowsInformationProtectionPolicyRequest implements IMdmWindowsInformationProtectionPolicyRequest { - +public class MdmWindowsInformationProtectionPolicyRequest extends BaseRequest implements IMdmWindowsInformationProtectionPolicyRequest { + /** * The request for the MdmWindowsInformationProtectionPolicy * @@ -26,4 +32,107 @@ public class MdmWindowsInformationProtectionPolicyRequest extends BaseMdmWindows public MdmWindowsInformationProtectionPolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MdmWindowsInformationProtectionPolicy.class); } + + /** + * Gets the MdmWindowsInformationProtectionPolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MdmWindowsInformationProtectionPolicy from the service + * + * @return the MdmWindowsInformationProtectionPolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MdmWindowsInformationProtectionPolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MdmWindowsInformationProtectionPolicy with a source + * + * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMdmWindowsInformationProtectionPolicy); + } + + /** + * Patches this MdmWindowsInformationProtectionPolicy with a source + * + * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates + * @return the updated MdmWindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MdmWindowsInformationProtectionPolicy patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceMdmWindowsInformationProtectionPolicy); + } + + /** + * Creates a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newMdmWindowsInformationProtectionPolicy); + } + + /** + * Creates a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the new object to create + * @return the created MdmWindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException { + return send(HttpMethod.POST, newMdmWindowsInformationProtectionPolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMdmWindowsInformationProtectionPolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MdmWindowsInformationProtectionPolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMdmWindowsInformationProtectionPolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MdmWindowsInformationProtectionPolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequestBuilder.java index 3797bb0e8cc..858020a8742 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMdmWindowsInformationProtectionPolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mdm Windows Information Protection Policy Request Builder. */ -public class MdmWindowsInformationProtectionPolicyRequestBuilder extends BaseMdmWindowsInformationProtectionPolicyRequestBuilder implements IMdmWindowsInformationProtectionPolicyRequestBuilder { +public class MdmWindowsInformationProtectionPolicyRequestBuilder extends BaseRequestBuilder implements IMdmWindowsInformationProtectionPolicyRequestBuilder { /** * The request builder for the MdmWindowsInformationProtectionPolicy @@ -25,4 +28,26 @@ public class MdmWindowsInformationProtectionPolicyRequestBuilder extends BaseMdm public MdmWindowsInformationProtectionPolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMdmWindowsInformationProtectionPolicyRequest instance + */ + public IMdmWindowsInformationProtectionPolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMdmWindowsInformationProtectionPolicyRequest instance + */ + public IMdmWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions) { + return new MdmWindowsInformationProtectionPolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionPage.java index f017c212446..24aaae15221 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Collection Page. */ -public class MessageCollectionPage extends BaseMessageCollectionPage implements IMessageCollectionPage { +public class MessageCollectionPage extends BaseCollectionPage implements IMessageCollectionPage { /** - * A collection page for MailFolder. + * A collection page for Message * - * @param response the serialized BaseMessageCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MessageCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MessageCollectionPage(final BaseMessageCollectionResponse response, final IMessageCollectionRequestBuilder builder) { - super(response, builder); + public MessageCollectionPage(final MessageCollectionResponse response, final IMessageCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequest.java index 0982a846baf..a3fce43d91c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Collection Request. */ -public class MessageCollectionRequest extends BaseMessageCollectionRequest implements IMessageCollectionRequest { +public class MessageCollectionRequest extends BaseCollectionRequest implements IMessageCollectionRequest { /** - * The request for this collection of MailFolder + * The request builder for this collection of Message * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MessageCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MessageCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MessageCollectionResponse.class, IMessageCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMessageCollectionPage get() throws ClientException { + final MessageCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Message newMessage, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMessage, callback); + } + + public Message post(final Message newMessage) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMessage); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MessageCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MessageCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MessageCollectionRequest)this; + } + + public IMessageCollectionPage buildFromResponse(final MessageCollectionResponse response) { + final IMessageCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MessageCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MessageCollectionPage page = new MessageCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequestBuilder.java index 588266e9dcb..f992b50258c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Collection Request Builder. */ -public class MessageCollectionRequestBuilder extends BaseMessageCollectionRequestBuilder implements IMessageCollectionRequestBuilder { +public class MessageCollectionRequestBuilder extends BaseRequestBuilder implements IMessageCollectionRequestBuilder { /** * The request builder for this collection of MailFolder @@ -25,4 +33,26 @@ public class MessageCollectionRequestBuilder extends BaseMessageCollectionReques public MessageCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMessageCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMessageCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MessageCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMessageRequestBuilder byId(final String id) { + return new MessageRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IMessageDeltaCollectionRequestBuilder delta() { + return new MessageDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IMessageDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new MessageDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionResponse.java new file mode 100644 index 00000000000..99517670aea --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Message Collection Response. + */ +public class MessageCollectionResponse implements IJsonBackedObject { + + /** + * The list of Message within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequest.java index 8cd6724b07f..7c8d5119975 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageCopyBody; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCopyRequest; +import com.microsoft.graph.requests.extensions.MessageCopyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCopyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Copy Request. */ -public class MessageCopyRequest extends BaseMessageCopyRequest implements IMessageCopyRequest { +public class MessageCopyRequest extends BaseRequest implements IMessageCopyRequest { + protected final MessageCopyBody body; /** * The request for this MessageCopy @@ -23,6 +32,49 @@ public class MessageCopyRequest extends BaseMessageCopyRequest implements IMessa * @param requestOptions the options for this request */ public MessageCopyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Message.class); + body = new MessageCopyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Message post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageCopyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageCopyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageCopyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MessageCopyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageCopyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageCopyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequestBuilder.java index 514b58abef6..038567692ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCopyRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCopyRequest; +import com.microsoft.graph.requests.extensions.MessageCopyRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCopyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Copy Request Builder. */ -public class MessageCopyRequestBuilder extends BaseMessageCopyRequestBuilder implements IMessageCopyRequestBuilder { +public class MessageCopyRequestBuilder extends BaseActionRequestBuilder implements IMessageCopyRequestBuilder { /** * The request builder for this MessageCopy @@ -24,6 +29,36 @@ public class MessageCopyRequestBuilder extends BaseMessageCopyRequestBuilder imp * @param destinationId the destinationId */ public MessageCopyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions, destinationId); + super(requestUrl, client, requestOptions); + bodyParams.put("destinationId", destinationId); + } + + /** + * Creates the IMessageCopyRequest + * + * @return the IMessageCopyRequest instance + */ + public IMessageCopyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageCopyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageCopyRequest instance + */ + public IMessageCopyRequest buildRequest(final java.util.List requestOptions) { + MessageCopyRequest request = new MessageCopyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("destinationId")) { + request.body.destinationId = getParameter("destinationId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequest.java index c1ff3923055..c231d264d3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; +import com.microsoft.graph.requests.extensions.MessageCreateForwardRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCreateForwardRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Create Forward Request. */ -public class MessageCreateForwardRequest extends BaseMessageCreateForwardRequest implements IMessageCreateForwardRequest { +public class MessageCreateForwardRequest extends BaseRequest implements IMessageCreateForwardRequest { /** * The request for this MessageCreateForward @@ -23,6 +31,48 @@ public class MessageCreateForwardRequest extends BaseMessageCreateForwardRequest * @param requestOptions the options for this request */ public MessageCreateForwardRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Message.class); } + + /** + * Creates the MessageCreateForward + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the MessageCreateForward + * + * @return the Message + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Message post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageCreateForwardRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageCreateForwardRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageCreateForwardRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageCreateForwardRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequestBuilder.java index 9b5a15195d1..7079cdeaafc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateForwardRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; +import com.microsoft.graph.requests.extensions.MessageCreateForwardRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCreateForwardRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Create Forward Request Builder. */ -public class MessageCreateForwardRequestBuilder extends BaseMessageCreateForwardRequestBuilder implements IMessageCreateForwardRequestBuilder { +public class MessageCreateForwardRequestBuilder extends BaseActionRequestBuilder implements IMessageCreateForwardRequestBuilder { /** * The request builder for this MessageCreateForward @@ -25,4 +30,29 @@ public class MessageCreateForwardRequestBuilder extends BaseMessageCreateForward public MessageCreateForwardRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IMessageCreateForwardRequest + * + * @return the IMessageCreateForwardRequest instance + */ + public IMessageCreateForwardRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageCreateForwardRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageCreateForwardRequest instance + */ + public IMessageCreateForwardRequest buildRequest(final java.util.List requestOptions) { + MessageCreateForwardRequest request = new MessageCreateForwardRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequest.java index a61bec85233..1edd44b2a77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; +import com.microsoft.graph.requests.extensions.MessageCreateReplyAllRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCreateReplyAllRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Create Reply All Request. */ -public class MessageCreateReplyAllRequest extends BaseMessageCreateReplyAllRequest implements IMessageCreateReplyAllRequest { +public class MessageCreateReplyAllRequest extends BaseRequest implements IMessageCreateReplyAllRequest { /** * The request for this MessageCreateReplyAll @@ -23,6 +31,48 @@ public class MessageCreateReplyAllRequest extends BaseMessageCreateReplyAllReque * @param requestOptions the options for this request */ public MessageCreateReplyAllRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Message.class); } + + /** + * Creates the MessageCreateReplyAll + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the MessageCreateReplyAll + * + * @return the Message + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Message post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageCreateReplyAllRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageCreateReplyAllRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageCreateReplyAllRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageCreateReplyAllRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequestBuilder.java index b3f78f0e730..76c80431764 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyAllRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; +import com.microsoft.graph.requests.extensions.MessageCreateReplyAllRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCreateReplyAllRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Create Reply All Request Builder. */ -public class MessageCreateReplyAllRequestBuilder extends BaseMessageCreateReplyAllRequestBuilder implements IMessageCreateReplyAllRequestBuilder { +public class MessageCreateReplyAllRequestBuilder extends BaseActionRequestBuilder implements IMessageCreateReplyAllRequestBuilder { /** * The request builder for this MessageCreateReplyAll @@ -25,4 +30,29 @@ public class MessageCreateReplyAllRequestBuilder extends BaseMessageCreateReplyA public MessageCreateReplyAllRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IMessageCreateReplyAllRequest + * + * @return the IMessageCreateReplyAllRequest instance + */ + public IMessageCreateReplyAllRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageCreateReplyAllRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageCreateReplyAllRequest instance + */ + public IMessageCreateReplyAllRequest buildRequest(final java.util.List requestOptions) { + MessageCreateReplyAllRequest request = new MessageCreateReplyAllRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequest.java index 92a0bb97a57..24732916246 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; +import com.microsoft.graph.requests.extensions.MessageCreateReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCreateReplyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Create Reply Request. */ -public class MessageCreateReplyRequest extends BaseMessageCreateReplyRequest implements IMessageCreateReplyRequest { +public class MessageCreateReplyRequest extends BaseRequest implements IMessageCreateReplyRequest { /** * The request for this MessageCreateReply @@ -23,6 +31,48 @@ public class MessageCreateReplyRequest extends BaseMessageCreateReplyRequest imp * @param requestOptions the options for this request */ public MessageCreateReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Message.class); } + + /** + * Creates the MessageCreateReply + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the MessageCreateReply + * + * @return the Message + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Message post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageCreateReplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageCreateReplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageCreateReplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageCreateReplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequestBuilder.java index 9aaac8d6266..6674569e9c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageCreateReplyRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; +import com.microsoft.graph.requests.extensions.MessageCreateReplyRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageCreateReplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Create Reply Request Builder. */ -public class MessageCreateReplyRequestBuilder extends BaseMessageCreateReplyRequestBuilder implements IMessageCreateReplyRequestBuilder { +public class MessageCreateReplyRequestBuilder extends BaseActionRequestBuilder implements IMessageCreateReplyRequestBuilder { /** * The request builder for this MessageCreateReply @@ -25,4 +30,29 @@ public class MessageCreateReplyRequestBuilder extends BaseMessageCreateReplyRequ public MessageCreateReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IMessageCreateReplyRequest + * + * @return the IMessageCreateReplyRequest instance + */ + public IMessageCreateReplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageCreateReplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageCreateReplyRequest instance + */ + public IMessageCreateReplyRequest buildRequest(final java.util.List requestOptions) { + MessageCreateReplyRequest request = new MessageCreateReplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionPage.java index f8af9d0bb7c..27c890a5ebd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseMessageDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Delta Collection Page. */ -public class MessageDeltaCollectionPage extends BaseMessageDeltaCollectionPage implements IMessageDeltaCollectionPage { +public class MessageDeltaCollectionPage extends BaseCollectionPage implements IMessageDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for Message. + * A collection page for MessageDelta. + * + * @param response The serialized MessageDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public MessageDeltaCollectionPage(final MessageDeltaCollectionResponse response, final IMessageDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseMessageDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public MessageDeltaCollectionPage(final BaseMessageDeltaCollectionResponse response, final IMessageDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequest.java index 7bbd99ca06a..6c1048ad077 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Delta Collection Request. */ -public class MessageDeltaCollectionRequest extends BaseMessageDeltaCollectionRequest implements IMessageDeltaCollectionRequest { +public class MessageDeltaCollectionRequest extends BaseCollectionRequest implements IMessageDeltaCollectionRequest { + /** - * The request for this collection of Message + * The request for this MessageDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public MessageDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, MessageDeltaCollectionResponse.class, IMessageDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMessageDeltaCollectionPage get() throws ClientException { + final MessageDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IMessageDeltaCollectionPage buildFromResponse(final MessageDeltaCollectionResponse response) { + final IMessageDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MessageDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IMessageDeltaCollectionPage page = new MessageDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IMessageDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IMessageDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IMessageDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequestBuilder.java index f8251b5c287..6c974b5a8e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Delta Collection Request Builder. */ -public class MessageDeltaCollectionRequestBuilder extends BaseMessageDeltaCollectionRequestBuilder implements IMessageDeltaCollectionRequestBuilder { +public class MessageDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IMessageDeltaCollectionRequestBuilder { /** * The request builder for this collection of Message @@ -25,4 +32,22 @@ public class MessageDeltaCollectionRequestBuilder extends BaseMessageDeltaCollec public MessageDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMessageDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMessageDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + MessageDeltaCollectionRequest request = new MessageDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionResponse.java new file mode 100644 index 00000000000..bb03232cd0e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Message Delta Collection Response. + */ +public class MessageDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequest.java index 511f347270e..11029fecf7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageForwardBody; +import com.microsoft.graph.requests.extensions.IMessageForwardRequest; +import com.microsoft.graph.requests.extensions.MessageForwardRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageForwardRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Forward Request. */ -public class MessageForwardRequest extends BaseMessageForwardRequest implements IMessageForwardRequest { +public class MessageForwardRequest extends BaseRequest implements IMessageForwardRequest { + protected final MessageForwardBody body; /** * The request for this MessageForward @@ -23,6 +31,49 @@ public class MessageForwardRequest extends BaseMessageForwardRequest implements * @param requestOptions the options for this request */ public MessageForwardRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new MessageForwardBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageForwardRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageForwardRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageForwardRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MessageForwardRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageForwardRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageForwardRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequestBuilder.java index 8f13729130e..557f1d9f6d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageForwardRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageForwardRequest; +import com.microsoft.graph.requests.extensions.MessageForwardRequest; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageForwardRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Forward Request Builder. */ -public class MessageForwardRequestBuilder extends BaseMessageForwardRequestBuilder implements IMessageForwardRequestBuilder { +public class MessageForwardRequestBuilder extends BaseActionRequestBuilder implements IMessageForwardRequestBuilder { /** * The request builder for this MessageForward @@ -26,6 +31,41 @@ public class MessageForwardRequestBuilder extends BaseMessageForwardRequestBuild * @param toRecipients the toRecipients */ public MessageForwardRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final java.util.List toRecipients) { - super(requestUrl, client, requestOptions, comment, toRecipients); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + bodyParams.put("toRecipients", toRecipients); + } + + /** + * Creates the IMessageForwardRequest + * + * @return the IMessageForwardRequest instance + */ + public IMessageForwardRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageForwardRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageForwardRequest instance + */ + public IMessageForwardRequest buildRequest(final java.util.List requestOptions) { + MessageForwardRequest request = new MessageForwardRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + if (hasParameter("toRecipients")) { + request.body.toRecipients = getParameter("toRecipients"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequest.java index 94bb0d9924d..7a12dd90edc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageMoveBody; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IMessageMoveRequest; +import com.microsoft.graph.requests.extensions.MessageMoveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageMoveRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Move Request. */ -public class MessageMoveRequest extends BaseMessageMoveRequest implements IMessageMoveRequest { +public class MessageMoveRequest extends BaseRequest implements IMessageMoveRequest { + protected final MessageMoveBody body; /** * The request for this MessageMove @@ -23,6 +32,49 @@ public class MessageMoveRequest extends BaseMessageMoveRequest implements IMessa * @param requestOptions the options for this request */ public MessageMoveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Message.class); + body = new MessageMoveBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Message post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageMoveRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageMoveRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageMoveRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MessageMoveRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageMoveRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageMoveRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequestBuilder.java index a0b51514e54..1dc5d48b046 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageMoveRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageMoveRequest; +import com.microsoft.graph.requests.extensions.MessageMoveRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageMoveRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Move Request Builder. */ -public class MessageMoveRequestBuilder extends BaseMessageMoveRequestBuilder implements IMessageMoveRequestBuilder { +public class MessageMoveRequestBuilder extends BaseActionRequestBuilder implements IMessageMoveRequestBuilder { /** * The request builder for this MessageMove @@ -24,6 +29,36 @@ public class MessageMoveRequestBuilder extends BaseMessageMoveRequestBuilder imp * @param destinationId the destinationId */ public MessageMoveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions, destinationId); + super(requestUrl, client, requestOptions); + bodyParams.put("destinationId", destinationId); + } + + /** + * Creates the IMessageMoveRequest + * + * @return the IMessageMoveRequest instance + */ + public IMessageMoveRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageMoveRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageMoveRequest instance + */ + public IMessageMoveRequest buildRequest(final java.util.List requestOptions) { + MessageMoveRequest request = new MessageMoveRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("destinationId")) { + request.body.destinationId = getParameter("destinationId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequest.java index da4a837b8a0..68651b1d63e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageReplyAllBody; +import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; +import com.microsoft.graph.requests.extensions.MessageReplyAllRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageReplyAllRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Reply All Request. */ -public class MessageReplyAllRequest extends BaseMessageReplyAllRequest implements IMessageReplyAllRequest { +public class MessageReplyAllRequest extends BaseRequest implements IMessageReplyAllRequest { + protected final MessageReplyAllBody body; /** * The request for this MessageReplyAll @@ -23,6 +31,49 @@ public class MessageReplyAllRequest extends BaseMessageReplyAllRequest implement * @param requestOptions the options for this request */ public MessageReplyAllRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new MessageReplyAllBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageReplyAllRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageReplyAllRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageReplyAllRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MessageReplyAllRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageReplyAllRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageReplyAllRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequestBuilder.java index a2968db1d46..3f35ae3b3d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyAllRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; +import com.microsoft.graph.requests.extensions.MessageReplyAllRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageReplyAllRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Reply All Request Builder. */ -public class MessageReplyAllRequestBuilder extends BaseMessageReplyAllRequestBuilder implements IMessageReplyAllRequestBuilder { +public class MessageReplyAllRequestBuilder extends BaseActionRequestBuilder implements IMessageReplyAllRequestBuilder { /** * The request builder for this MessageReplyAll @@ -24,6 +29,36 @@ public class MessageReplyAllRequestBuilder extends BaseMessageReplyAllRequestBui * @param comment the comment */ public MessageReplyAllRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment) { - super(requestUrl, client, requestOptions, comment); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + } + + /** + * Creates the IMessageReplyAllRequest + * + * @return the IMessageReplyAllRequest instance + */ + public IMessageReplyAllRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageReplyAllRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageReplyAllRequest instance + */ + public IMessageReplyAllRequest buildRequest(final java.util.List requestOptions) { + MessageReplyAllRequest request = new MessageReplyAllRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequest.java index 96a6c07d324..784835ea270 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageReplyBody; +import com.microsoft.graph.requests.extensions.IMessageReplyRequest; +import com.microsoft.graph.requests.extensions.MessageReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageReplyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Reply Request. */ -public class MessageReplyRequest extends BaseMessageReplyRequest implements IMessageReplyRequest { +public class MessageReplyRequest extends BaseRequest implements IMessageReplyRequest { + protected final MessageReplyBody body; /** * The request for this MessageReply @@ -23,6 +31,49 @@ public class MessageReplyRequest extends BaseMessageReplyRequest implements IMes * @param requestOptions the options for this request */ public MessageReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new MessageReplyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageReplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageReplyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageReplyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MessageReplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageReplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageReplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequestBuilder.java index 19a4abd5b6c..da56e00a67a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageReplyRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageReplyRequest; +import com.microsoft.graph.requests.extensions.MessageReplyRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageReplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Reply Request Builder. */ -public class MessageReplyRequestBuilder extends BaseMessageReplyRequestBuilder implements IMessageReplyRequestBuilder { +public class MessageReplyRequestBuilder extends BaseActionRequestBuilder implements IMessageReplyRequestBuilder { /** * The request builder for this MessageReply @@ -24,6 +29,36 @@ public class MessageReplyRequestBuilder extends BaseMessageReplyRequestBuilder i * @param comment the comment */ public MessageReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment) { - super(requestUrl, client, requestOptions, comment); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + } + + /** + * Creates the IMessageReplyRequest + * + * @return the IMessageReplyRequest instance + */ + public IMessageReplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageReplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageReplyRequest instance + */ + public IMessageReplyRequest buildRequest(final java.util.List requestOptions) { + MessageReplyRequest request = new MessageReplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRequest.java index 79db7bc4f3e..063f8318b56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageRequest; +import com.microsoft.graph.requests.extensions.MessageRequest; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Request. */ -public class MessageRequest extends BaseMessageRequest implements IMessageRequest { - +public class MessageRequest extends BaseRequest implements IMessageRequest { + /** * The request for the Message * @@ -41,4 +47,107 @@ public MessageRequest(final String requestUrl, public MessageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Message.class); } + + /** + * Gets the Message from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Message from the service + * + * @return the Message from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Message get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Message with a source + * + * @param sourceMessage the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Message sourceMessage, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMessage); + } + + /** + * Patches this Message with a source + * + * @param sourceMessage the source object with updates + * @return the updated Message + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Message patch(final Message sourceMessage) throws ClientException { + return send(HttpMethod.PATCH, sourceMessage); + } + + /** + * Creates a Message with a new object + * + * @param newMessage the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Message newMessage, final ICallback callback) { + send(HttpMethod.POST, callback, newMessage); + } + + /** + * Creates a Message with a new object + * + * @param newMessage the new object to create + * @return the created Message + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Message post(final Message newMessage) throws ClientException { + return send(HttpMethod.POST, newMessage); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRequestBuilder.java index a817541cebc..092a32c93da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRequestBuilder.java @@ -3,17 +3,55 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageRequest; +import com.microsoft.graph.requests.extensions.MessageRequest; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.AttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.AttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageCopyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageMoveRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageMoveRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageCreateReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageCreateReplyAllRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageCreateForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageReplyAllRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageReplyAllRequestBuilder; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.requests.extensions.IMessageForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageSendRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageSendRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Request Builder. */ -public class MessageRequestBuilder extends BaseMessageRequestBuilder implements IMessageRequestBuilder { +public class MessageRequestBuilder extends BaseRequestBuilder implements IMessageRequestBuilder { /** * The request builder for the Message @@ -25,4 +63,90 @@ public class MessageRequestBuilder extends BaseMessageRequestBuilder implements public MessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMessageRequest instance + */ + public IMessageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMessageRequest instance + */ + public IMessageRequest buildRequest(final java.util.List requestOptions) { + return new MessageRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IAttachmentCollectionRequestBuilder attachments() { + return new AttachmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("attachments"), getClient(), null); + } + + public IAttachmentRequestBuilder attachments(final String id) { + return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("attachments") + "/" + id, getClient(), null); + } + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } + + public IMessageCopyRequestBuilder copy(final String destinationId) { + return new MessageCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, destinationId); + } + + public IMessageMoveRequestBuilder move(final String destinationId) { + return new MessageMoveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.move"), getClient(), null, destinationId); + } + + public IMessageCreateReplyRequestBuilder createReply() { + return new MessageCreateReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createReply"), getClient(), null); + } + + public IMessageCreateReplyAllRequestBuilder createReplyAll() { + return new MessageCreateReplyAllRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createReplyAll"), getClient(), null); + } + + public IMessageCreateForwardRequestBuilder createForward() { + return new MessageCreateForwardRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createForward"), getClient(), null); + } + + public IMessageReplyRequestBuilder reply(final String comment) { + return new MessageReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reply"), getClient(), null, comment); + } + + public IMessageReplyAllRequestBuilder replyAll(final String comment) { + return new MessageReplyAllRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.replyAll"), getClient(), null, comment); + } + + public IMessageForwardRequestBuilder forward(final String comment, final java.util.List toRecipients) { + return new MessageForwardRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.forward"), getClient(), null, comment, toRecipients); + } + + public IMessageSendRequestBuilder send() { + return new MessageSendRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.send"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionPage.java index 704b3bb75db..3f3621f4876 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageRule; +import com.microsoft.graph.requests.extensions.IMessageRuleCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageRuleCollectionPage; -import com.microsoft.graph.requests.generated.BaseMessageRuleCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Collection Page. */ -public class MessageRuleCollectionPage extends BaseMessageRuleCollectionPage implements IMessageRuleCollectionPage { +public class MessageRuleCollectionPage extends BaseCollectionPage implements IMessageRuleCollectionPage { /** - * A collection page for MailFolder. + * A collection page for MessageRule * - * @param response the serialized BaseMessageRuleCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MessageRuleCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MessageRuleCollectionPage(final BaseMessageRuleCollectionResponse response, final IMessageRuleCollectionRequestBuilder builder) { - super(response, builder); + public MessageRuleCollectionPage(final MessageRuleCollectionResponse response, final IMessageRuleCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequest.java index 18bb21dafc0..cce59a0a9f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageRuleCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Collection Request. */ -public class MessageRuleCollectionRequest extends BaseMessageRuleCollectionRequest implements IMessageRuleCollectionRequest { +public class MessageRuleCollectionRequest extends BaseCollectionRequest implements IMessageRuleCollectionRequest { /** - * The request for this collection of MailFolder + * The request builder for this collection of MessageRule * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MessageRuleCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MessageRuleCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MessageRuleCollectionResponse.class, IMessageRuleCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMessageRuleCollectionPage get() throws ClientException { + final MessageRuleCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MessageRule newMessageRule, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MessageRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMessageRule, callback); + } + + public MessageRule post(final MessageRule newMessageRule) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MessageRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMessageRule); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageRuleCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MessageRuleCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageRuleCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MessageRuleCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMessageRuleCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MessageRuleCollectionRequest)this; + } + + public IMessageRuleCollectionPage buildFromResponse(final MessageRuleCollectionResponse response) { + final IMessageRuleCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MessageRuleCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MessageRuleCollectionPage page = new MessageRuleCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequestBuilder.java index c88a2db73be..918b7542121 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageRuleCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Collection Request Builder. */ -public class MessageRuleCollectionRequestBuilder extends BaseMessageRuleCollectionRequestBuilder implements IMessageRuleCollectionRequestBuilder { +public class MessageRuleCollectionRequestBuilder extends BaseRequestBuilder implements IMessageRuleCollectionRequestBuilder { /** * The request builder for this collection of MailFolder @@ -25,4 +33,18 @@ public class MessageRuleCollectionRequestBuilder extends BaseMessageRuleCollecti public MessageRuleCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMessageRuleCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMessageRuleCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MessageRuleCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMessageRuleRequestBuilder byId(final String id) { + return new MessageRuleRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionResponse.java new file mode 100644 index 00000000000..9d6d40ab28f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MessageRule; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Message Rule Collection Response. + */ +public class MessageRuleCollectionResponse implements IJsonBackedObject { + + /** + * The list of MessageRule within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequest.java index 3782b69f966..27fe1aaced0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageRuleRequest; +import com.microsoft.graph.requests.extensions.MessageRuleRequest; +import com.microsoft.graph.models.extensions.MessageRule; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MessageRule; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageRuleRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Request. */ -public class MessageRuleRequest extends BaseMessageRuleRequest implements IMessageRuleRequest { - +public class MessageRuleRequest extends BaseRequest implements IMessageRuleRequest { + /** * The request for the MessageRule * @@ -26,4 +32,107 @@ public class MessageRuleRequest extends BaseMessageRuleRequest implements IMessa public MessageRuleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MessageRule.class); } + + /** + * Gets the MessageRule from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MessageRule from the service + * + * @return the MessageRule from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MessageRule get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MessageRule with a source + * + * @param sourceMessageRule the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MessageRule sourceMessageRule, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMessageRule); + } + + /** + * Patches this MessageRule with a source + * + * @param sourceMessageRule the source object with updates + * @return the updated MessageRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MessageRule patch(final MessageRule sourceMessageRule) throws ClientException { + return send(HttpMethod.PATCH, sourceMessageRule); + } + + /** + * Creates a MessageRule with a new object + * + * @param newMessageRule the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MessageRule newMessageRule, final ICallback callback) { + send(HttpMethod.POST, callback, newMessageRule); + } + + /** + * Creates a MessageRule with a new object + * + * @param newMessageRule the new object to create + * @return the created MessageRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MessageRule post(final MessageRule newMessageRule) throws ClientException { + return send(HttpMethod.POST, newMessageRule); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMessageRuleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MessageRuleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMessageRuleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MessageRuleRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequestBuilder.java index af94bdb36df..bdc17174a58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageRuleRequest; +import com.microsoft.graph.requests.extensions.MessageRuleRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageRuleRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Rule Request Builder. */ -public class MessageRuleRequestBuilder extends BaseMessageRuleRequestBuilder implements IMessageRuleRequestBuilder { +public class MessageRuleRequestBuilder extends BaseRequestBuilder implements IMessageRuleRequestBuilder { /** * The request builder for the MessageRule @@ -25,4 +28,26 @@ public class MessageRuleRequestBuilder extends BaseMessageRuleRequestBuilder imp public MessageRuleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMessageRuleRequest instance + */ + public IMessageRuleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMessageRuleRequest instance + */ + public IMessageRuleRequest buildRequest(final java.util.List requestOptions) { + return new MessageRuleRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequest.java index 7dc3b62d551..4676500b776 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageSendRequest; +import com.microsoft.graph.requests.extensions.MessageSendRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageSendRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Send Request. */ -public class MessageSendRequest extends BaseMessageSendRequest implements IMessageSendRequest { +public class MessageSendRequest extends BaseRequest implements IMessageSendRequest { /** * The request for this MessageSend @@ -23,6 +30,35 @@ public class MessageSendRequest extends BaseMessageSendRequest implements IMessa * @param requestOptions the options for this request */ public MessageSendRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the MessageSend + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the MessageSend + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequestBuilder.java index c58646ead93..a77e66e43fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageSendRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMessageSendRequest; +import com.microsoft.graph.requests.extensions.MessageSendRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMessageSendRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Message Send Request Builder. */ -public class MessageSendRequestBuilder extends BaseMessageSendRequestBuilder implements IMessageSendRequestBuilder { +public class MessageSendRequestBuilder extends BaseActionRequestBuilder implements IMessageSendRequestBuilder { /** * The request builder for this MessageSend @@ -25,4 +30,29 @@ public class MessageSendRequestBuilder extends BaseMessageSendRequestBuilder imp public MessageSendRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IMessageSendRequest + * + * @return the IMessageSendRequest instance + */ + public IMessageSendRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMessageSendRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMessageSendRequest instance + */ + public IMessageSendRequest buildRequest(final java.util.List requestOptions) { + MessageSendRequest request = new MessageSendRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequest.java index a05083e952e..134b4531e4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMicrosoftStoreForBusinessAppRequest; +import com.microsoft.graph.requests.extensions.MicrosoftStoreForBusinessAppRequest; +import com.microsoft.graph.models.extensions.MicrosoftStoreForBusinessApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MicrosoftStoreForBusinessApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMicrosoftStoreForBusinessAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Microsoft Store For Business App Request. */ -public class MicrosoftStoreForBusinessAppRequest extends BaseMicrosoftStoreForBusinessAppRequest implements IMicrosoftStoreForBusinessAppRequest { - +public class MicrosoftStoreForBusinessAppRequest extends BaseRequest implements IMicrosoftStoreForBusinessAppRequest { + /** * The request for the MicrosoftStoreForBusinessApp * @@ -26,4 +32,107 @@ public class MicrosoftStoreForBusinessAppRequest extends BaseMicrosoftStoreForBu public MicrosoftStoreForBusinessAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MicrosoftStoreForBusinessApp.class); } + + /** + * Gets the MicrosoftStoreForBusinessApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MicrosoftStoreForBusinessApp from the service + * + * @return the MicrosoftStoreForBusinessApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MicrosoftStoreForBusinessApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MicrosoftStoreForBusinessApp with a source + * + * @param sourceMicrosoftStoreForBusinessApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMicrosoftStoreForBusinessApp); + } + + /** + * Patches this MicrosoftStoreForBusinessApp with a source + * + * @param sourceMicrosoftStoreForBusinessApp the source object with updates + * @return the updated MicrosoftStoreForBusinessApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MicrosoftStoreForBusinessApp patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp) throws ClientException { + return send(HttpMethod.PATCH, sourceMicrosoftStoreForBusinessApp); + } + + /** + * Creates a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp, final ICallback callback) { + send(HttpMethod.POST, callback, newMicrosoftStoreForBusinessApp); + } + + /** + * Creates a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the new object to create + * @return the created MicrosoftStoreForBusinessApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MicrosoftStoreForBusinessApp post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException { + return send(HttpMethod.POST, newMicrosoftStoreForBusinessApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMicrosoftStoreForBusinessAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MicrosoftStoreForBusinessAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMicrosoftStoreForBusinessAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MicrosoftStoreForBusinessAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequestBuilder.java index 130f72a2680..20ee3f72a31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMicrosoftStoreForBusinessAppRequest; +import com.microsoft.graph.requests.extensions.MicrosoftStoreForBusinessAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMicrosoftStoreForBusinessAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Microsoft Store For Business App Request Builder. */ -public class MicrosoftStoreForBusinessAppRequestBuilder extends BaseMicrosoftStoreForBusinessAppRequestBuilder implements IMicrosoftStoreForBusinessAppRequestBuilder { +public class MicrosoftStoreForBusinessAppRequestBuilder extends BaseRequestBuilder implements IMicrosoftStoreForBusinessAppRequestBuilder { /** * The request builder for the MicrosoftStoreForBusinessApp @@ -25,4 +28,26 @@ public class MicrosoftStoreForBusinessAppRequestBuilder extends BaseMicrosoftSto public MicrosoftStoreForBusinessAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMicrosoftStoreForBusinessAppRequest instance + */ + public IMicrosoftStoreForBusinessAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMicrosoftStoreForBusinessAppRequest instance + */ + public IMicrosoftStoreForBusinessAppRequest buildRequest(final java.util.List requestOptions) { + return new MicrosoftStoreForBusinessAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequest.java index 42e6eaa7ac9..72bcbc06e87 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppAssignBody; +import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; +import com.microsoft.graph.requests.extensions.MobileAppAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assign Request. */ -public class MobileAppAssignRequest extends BaseMobileAppAssignRequest implements IMobileAppAssignRequest { +public class MobileAppAssignRequest extends BaseRequest implements IMobileAppAssignRequest { + protected final MobileAppAssignBody body; /** * The request for this MobileAppAssign @@ -23,6 +31,49 @@ public class MobileAppAssignRequest extends BaseMobileAppAssignRequest implement * @param requestOptions the options for this request */ public MobileAppAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new MobileAppAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MobileAppAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequestBuilder.java index 1a60a9a2d17..ebfa97a4c9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; +import com.microsoft.graph.requests.extensions.MobileAppAssignRequest; +import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileAppAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assign Request Builder. */ -public class MobileAppAssignRequestBuilder extends BaseMobileAppAssignRequestBuilder implements IMobileAppAssignRequestBuilder { +public class MobileAppAssignRequestBuilder extends BaseActionRequestBuilder implements IMobileAppAssignRequestBuilder { /** * The request builder for this MobileAppAssign @@ -25,6 +30,36 @@ public class MobileAppAssignRequestBuilder extends BaseMobileAppAssignRequestBui * @param mobileAppAssignments the mobileAppAssignments */ public MobileAppAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List mobileAppAssignments) { - super(requestUrl, client, requestOptions, mobileAppAssignments); + super(requestUrl, client, requestOptions); + bodyParams.put("mobileAppAssignments", mobileAppAssignments); + } + + /** + * Creates the IMobileAppAssignRequest + * + * @return the IMobileAppAssignRequest instance + */ + public IMobileAppAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMobileAppAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMobileAppAssignRequest instance + */ + public IMobileAppAssignRequest buildRequest(final java.util.List requestOptions) { + MobileAppAssignRequest request = new MobileAppAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("mobileAppAssignments")) { + request.body.mobileAppAssignments = getParameter("mobileAppAssignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionPage.java index 56933590c58..ccec80ad837 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment Collection Page. */ -public class MobileAppAssignmentCollectionPage extends BaseMobileAppAssignmentCollectionPage implements IMobileAppAssignmentCollectionPage { +public class MobileAppAssignmentCollectionPage extends BaseCollectionPage implements IMobileAppAssignmentCollectionPage { /** - * A collection page for MobileApp. + * A collection page for MobileAppAssignment * - * @param response the serialized BaseMobileAppAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MobileAppAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MobileAppAssignmentCollectionPage(final BaseMobileAppAssignmentCollectionResponse response, final IMobileAppAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public MobileAppAssignmentCollectionPage(final MobileAppAssignmentCollectionResponse response, final IMobileAppAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequest.java index e679fc06161..87a1bdc6989 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment Collection Request. */ -public class MobileAppAssignmentCollectionRequest extends BaseMobileAppAssignmentCollectionRequest implements IMobileAppAssignmentCollectionRequest { +public class MobileAppAssignmentCollectionRequest extends BaseCollectionRequest implements IMobileAppAssignmentCollectionRequest { /** - * The request for this collection of MobileApp + * The request builder for this collection of MobileAppAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileAppAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppAssignmentCollectionResponse.class, IMobileAppAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileAppAssignmentCollectionPage get() throws ClientException { + final MobileAppAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MobileAppAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppAssignment, callback); + } + + public MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MobileAppAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppAssignmentCollectionRequest)this; + } + + public IMobileAppAssignmentCollectionPage buildFromResponse(final MobileAppAssignmentCollectionResponse response) { + final IMobileAppAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileAppAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileAppAssignmentCollectionPage page = new MobileAppAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequestBuilder.java index 3248e246ff3..b0e54b4d076 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment Collection Request Builder. */ -public class MobileAppAssignmentCollectionRequestBuilder extends BaseMobileAppAssignmentCollectionRequestBuilder implements IMobileAppAssignmentCollectionRequestBuilder { +public class MobileAppAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IMobileAppAssignmentCollectionRequestBuilder { /** * The request builder for this collection of MobileApp @@ -25,4 +33,18 @@ public class MobileAppAssignmentCollectionRequestBuilder extends BaseMobileAppAs public MobileAppAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppAssignmentRequestBuilder byId(final String id) { + return new MobileAppAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionResponse.java new file mode 100644 index 00000000000..65c98c849c2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mobile App Assignment Collection Response. + */ +public class MobileAppAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of MobileAppAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequest.java index 1529b5a07f5..3b71c9ded20 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequest; +import com.microsoft.graph.requests.extensions.MobileAppAssignmentRequest; +import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment Request. */ -public class MobileAppAssignmentRequest extends BaseMobileAppAssignmentRequest implements IMobileAppAssignmentRequest { - +public class MobileAppAssignmentRequest extends BaseRequest implements IMobileAppAssignmentRequest { + /** * The request for the MobileAppAssignment * @@ -26,4 +32,107 @@ public class MobileAppAssignmentRequest extends BaseMobileAppAssignmentRequest i public MobileAppAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileAppAssignment.class); } + + /** + * Gets the MobileAppAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileAppAssignment from the service + * + * @return the MobileAppAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileAppAssignment with a source + * + * @param sourceMobileAppAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileAppAssignment sourceMobileAppAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileAppAssignment); + } + + /** + * Patches this MobileAppAssignment with a source + * + * @param sourceMobileAppAssignment the source object with updates + * @return the updated MobileAppAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppAssignment patch(final MobileAppAssignment sourceMobileAppAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileAppAssignment); + } + + /** + * Creates a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileAppAssignment); + } + + /** + * Creates a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the new object to create + * @return the created MobileAppAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException { + return send(HttpMethod.POST, newMobileAppAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequestBuilder.java index e0e189a705f..07171604916 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequest; +import com.microsoft.graph.requests.extensions.MobileAppAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Assignment Request Builder. */ -public class MobileAppAssignmentRequestBuilder extends BaseMobileAppAssignmentRequestBuilder implements IMobileAppAssignmentRequestBuilder { +public class MobileAppAssignmentRequestBuilder extends BaseRequestBuilder implements IMobileAppAssignmentRequestBuilder { /** * The request builder for the MobileAppAssignment @@ -25,4 +28,26 @@ public class MobileAppAssignmentRequestBuilder extends BaseMobileAppAssignmentRe public MobileAppAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileAppAssignmentRequest instance + */ + public IMobileAppAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileAppAssignmentRequest instance + */ + public IMobileAppAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionPage.java index a8083f8a938..a96c6cf3fca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppCategory; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection Page. */ -public class MobileAppCategoryCollectionPage extends BaseMobileAppCategoryCollectionPage implements IMobileAppCategoryCollectionPage { +public class MobileAppCategoryCollectionPage extends BaseCollectionPage implements IMobileAppCategoryCollectionPage { /** - * A collection page for MobileApp. + * A collection page for MobileAppCategory * - * @param response the serialized BaseMobileAppCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MobileAppCategoryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MobileAppCategoryCollectionPage(final BaseMobileAppCategoryCollectionResponse response, final IMobileAppCategoryCollectionRequestBuilder builder) { - super(response, builder); + public MobileAppCategoryCollectionPage(final MobileAppCategoryCollectionResponse response, final IMobileAppCategoryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequest.java index 1c62d65ff26..45a3f72bcb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequest.java @@ -4,25 +4,81 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection Reference Request. */ -public class MobileAppCategoryCollectionReferenceRequest extends BaseMobileAppCategoryCollectionReferenceRequest implements IMobileAppCategoryCollectionReferenceRequest { +public class MobileAppCategoryCollectionReferenceRequest extends BaseCollectionRequest implements IMobileAppCategoryCollectionReferenceRequest { + + /** + * The request builder for this collection of MobileAppCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public MobileAppCategoryCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppCategoryCollectionResponse.class, IMobileAppCategoryCollectionPage.class); + } + + public void post(final MobileAppCategory newMobileAppCategory, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/categories/" + newMobileAppCategory.id); + new MobileAppCategoryWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppCategory, body, callback); + } + + public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/categories/" + newMobileAppCategory.id); + return new MobileAppCategoryWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppCategory, body); + } + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppCategoryCollectionReferenceRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppCategoryCollectionReferenceRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppCategoryCollectionReferenceRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppCategoryCollectionReferenceRequest)this; + } /** - * The request for this collection of MobileApp + * Sets the top value for the request * - * @param requestUrl the request URL - * @param client the service client - * @param options the options for this request + * @param value the max number of items to return + * @return the updated request */ - public MobileAppCategoryCollectionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List options) { - super(requestUrl, client, options); + public IMobileAppCategoryCollectionReferenceRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppCategoryCollectionReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequestBuilder.java index 9c603bccec5..5eb2d3a2cbe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection Reference Request Builder. */ -public class MobileAppCategoryCollectionReferenceRequestBuilder extends BaseMobileAppCategoryCollectionReferenceRequestBuilder implements IMobileAppCategoryCollectionReferenceRequestBuilder { +public class MobileAppCategoryCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IMobileAppCategoryCollectionReferenceRequestBuilder { /** * The request builder for this collection of MobileApp @@ -25,4 +33,12 @@ public class MobileAppCategoryCollectionReferenceRequestBuilder extends BaseMobi public MobileAppCategoryCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppCategoryCollectionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppCategoryCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCategoryCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequest.java index c3e093982c5..f210b33c5d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection Request. */ -public class MobileAppCategoryCollectionRequest extends BaseMobileAppCategoryCollectionRequest implements IMobileAppCategoryCollectionRequest { +public class MobileAppCategoryCollectionRequest extends BaseCollectionRequest implements IMobileAppCategoryCollectionRequest { /** - * The request for this collection of MobileApp + * The request builder for this collection of MobileAppCategory * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileAppCategoryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppCategoryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppCategoryCollectionResponse.class, IMobileAppCategoryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileAppCategoryCollectionPage get() throws ClientException { + final MobileAppCategoryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MobileAppCategory newMobileAppCategory, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MobileAppCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppCategory, callback); + } + + public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MobileAppCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppCategory); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppCategoryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppCategoryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppCategoryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppCategoryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppCategoryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppCategoryCollectionRequest)this; + } + + public IMobileAppCategoryCollectionPage buildFromResponse(final MobileAppCategoryCollectionResponse response) { + final IMobileAppCategoryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileAppCategoryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileAppCategoryCollectionPage page = new MobileAppCategoryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequestBuilder.java index 0ddb847021b..b65fb7c5ac1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionRequestBuilder.java @@ -4,19 +4,27 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection Request Builder. */ -public class MobileAppCategoryCollectionRequestBuilder extends BaseMobileAppCategoryCollectionRequestBuilder implements IMobileAppCategoryCollectionRequestBuilder { +public class MobileAppCategoryCollectionRequestBuilder extends BaseRequestBuilder implements IMobileAppCategoryCollectionRequestBuilder { /** - * The request builder for this collection of MobileApp + * The request builder for this collection of DeviceAppManagement * * @param requestUrl the request URL * @param client the service client @@ -25,4 +33,18 @@ public class MobileAppCategoryCollectionRequestBuilder extends BaseMobileAppCate public MobileAppCategoryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppCategoryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppCategoryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCategoryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppCategoryRequestBuilder byId(final String id) { + return new MobileAppCategoryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionResponse.java new file mode 100644 index 00000000000..47521d7a220 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppCategory; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mobile App Category Collection Response. + */ +public class MobileAppCategoryCollectionResponse implements IJsonBackedObject { + + /** + * The list of MobileAppCategory within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesPage.java index 936f68b024b..cc377b68dc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionResponse; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionWithReferencesPage; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection With References Page. */ -public class MobileAppCategoryCollectionWithReferencesPage extends BaseMobileAppCategoryCollectionWithReferencesPage implements IMobileAppCategoryCollectionWithReferencesPage { +public class MobileAppCategoryCollectionWithReferencesPage extends BaseCollectionPage implements IMobileAppCategoryCollectionWithReferencesPage { /** - * A collection page for MobileApp. + * A collection page for MobileAppCategory * - * @param response the serialized BaseMobileAppCategoryCollectionResponse from the service + * @param response the serialized MobileAppCategoryCollectionResponse from the service * @param builder the request builder for the next collection page */ - public MobileAppCategoryCollectionWithReferencesPage(final BaseMobileAppCategoryCollectionResponse response, final IMobileAppCategoryCollectionWithReferencesRequestBuilder builder) { - super(response, builder); + public MobileAppCategoryCollectionWithReferencesPage(final MobileAppCategoryCollectionResponse response, final IMobileAppCategoryCollectionWithReferencesRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequest.java index d4d84883a26..37757f8f358 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequest.java @@ -4,25 +4,79 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionWithReferencesRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection With References Request. */ -public class MobileAppCategoryCollectionWithReferencesRequest extends BaseMobileAppCategoryCollectionWithReferencesRequest implements IMobileAppCategoryCollectionWithReferencesRequest { +public class MobileAppCategoryCollectionWithReferencesRequest extends BaseCollectionRequest implements IMobileAppCategoryCollectionWithReferencesRequest { /** - * The request for this collection of MobileApp + * The request builder for this collection of MobileAppCategory * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileAppCategoryCollectionWithReferencesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppCategoryCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppCategoryCollectionResponse.class, IMobileAppCategoryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileAppCategoryCollectionWithReferencesPage get() throws ClientException { + final MobileAppCategoryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public IMobileAppCategoryCollectionWithReferencesRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppCategoryCollectionWithReferencesRequest)this; + } + + public IMobileAppCategoryCollectionWithReferencesRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppCategoryCollectionWithReferencesRequest)this; + } + + public IMobileAppCategoryCollectionWithReferencesRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppCategoryCollectionWithReferencesRequest)this; + } + + public IMobileAppCategoryCollectionWithReferencesPage buildFromResponse(final MobileAppCategoryCollectionResponse response) { + final IMobileAppCategoryCollectionWithReferencesRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileAppCategoryCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileAppCategoryCollectionWithReferencesPage page = new MobileAppCategoryCollectionWithReferencesPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequestBuilder.java index 000fb4af0cb..0cef4387865 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryCollectionWithReferencesRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Collection With References Request Builder. */ -public class MobileAppCategoryCollectionWithReferencesRequestBuilder extends BaseMobileAppCategoryCollectionWithReferencesRequestBuilder implements IMobileAppCategoryCollectionWithReferencesRequestBuilder { +public class MobileAppCategoryCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IMobileAppCategoryCollectionWithReferencesRequestBuilder { /** * The request builder for this collection of MobileApp @@ -25,4 +33,20 @@ public class MobileAppCategoryCollectionWithReferencesRequestBuilder extends Bas public MobileAppCategoryCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppCategoryCollectionWithReferencesRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppCategoryCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCategoryCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppCategoryWithReferenceRequestBuilder byId(final String id) { + return new MobileAppCategoryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + public IMobileAppCategoryCollectionReferenceRequestBuilder references(){ + return new MobileAppCategoryCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequest.java index dfa07dd96d1..e525da646ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Reference Request. */ -public class MobileAppCategoryReferenceRequest extends BaseMobileAppCategoryReferenceRequest implements IMobileAppCategoryReferenceRequest { +public class MobileAppCategoryReferenceRequest extends BaseRequest implements IMobileAppCategoryReferenceRequest { /** * The request for the MobileAppCategory @@ -22,7 +30,57 @@ public class MobileAppCategoryReferenceRequest extends BaseMobileAppCategoryRefe * @param client the service client * @param requestOptions the options for this request */ - public MobileAppCategoryReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppCategoryReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppCategory.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public MobileAppCategory delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppCategoryReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppCategoryReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppCategoryReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppCategoryReferenceRequest)this; + } + /** + * Puts the MobileAppCategory + * + * @param srcMobileAppCategory the MobileAppCategory reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(MobileAppCategory srcMobileAppCategory, final ICallback callback) { + send(HttpMethod.PUT, callback, srcMobileAppCategory); + } + + /** + * Puts the MobileAppCategory + * + * @param srcMobileAppCategory the MobileAppCategory reference to PUT + * @return the MobileAppCategory + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public MobileAppCategory put(MobileAppCategory srcMobileAppCategory) throws ClientException { + return send(HttpMethod.PUT, srcMobileAppCategory); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequestBuilder.java index be5503d1642..f58eca42415 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Reference Request Builder. */ -public class MobileAppCategoryReferenceRequestBuilder extends BaseMobileAppCategoryReferenceRequestBuilder implements IMobileAppCategoryReferenceRequestBuilder { +public class MobileAppCategoryReferenceRequestBuilder extends BaseRequestBuilder implements IMobileAppCategoryReferenceRequestBuilder { /** * The request builder for the MobileAppCategory @@ -25,4 +34,23 @@ public class MobileAppCategoryReferenceRequestBuilder extends BaseMobileAppCateg public MobileAppCategoryReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IMobileAppCategoryReferenceRequest instance + */ + public IMobileAppCategoryReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileAppCategoryReferenceRequest instance + */ + public IMobileAppCategoryReferenceRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCategoryReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequest.java index d4581bac465..c58c1a0d51e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequest; +import com.microsoft.graph.requests.extensions.MobileAppCategoryRequest; +import com.microsoft.graph.models.extensions.MobileAppCategory; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileAppCategory; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Request. */ -public class MobileAppCategoryRequest extends BaseMobileAppCategoryRequest implements IMobileAppCategoryRequest { - +public class MobileAppCategoryRequest extends BaseRequest implements IMobileAppCategoryRequest { + /** * The request for the MobileAppCategory * @@ -26,4 +32,107 @@ public class MobileAppCategoryRequest extends BaseMobileAppCategoryRequest imple public MobileAppCategoryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileAppCategory.class); } + + /** + * Gets the MobileAppCategory from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileAppCategory from the service + * + * @return the MobileAppCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppCategory get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileAppCategory with a source + * + * @param sourceMobileAppCategory the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileAppCategory); + } + + /** + * Patches this MobileAppCategory with a source + * + * @param sourceMobileAppCategory the source object with updates + * @return the updated MobileAppCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileAppCategory); + } + + /** + * Creates a MobileAppCategory with a new object + * + * @param newMobileAppCategory the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileAppCategory newMobileAppCategory, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileAppCategory); + } + + /** + * Creates a MobileAppCategory with a new object + * + * @param newMobileAppCategory the new object to create + * @return the created MobileAppCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException { + return send(HttpMethod.POST, newMobileAppCategory); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppCategoryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppCategoryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppCategoryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppCategoryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequestBuilder.java index 6cd928fa54b..41d361f736b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequest; +import com.microsoft.graph.requests.extensions.MobileAppCategoryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category Request Builder. */ -public class MobileAppCategoryRequestBuilder extends BaseMobileAppCategoryRequestBuilder implements IMobileAppCategoryRequestBuilder { +public class MobileAppCategoryRequestBuilder extends BaseRequestBuilder implements IMobileAppCategoryRequestBuilder { /** * The request builder for the MobileAppCategory @@ -25,4 +28,26 @@ public class MobileAppCategoryRequestBuilder extends BaseMobileAppCategoryReques public MobileAppCategoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileAppCategoryRequest instance + */ + public IMobileAppCategoryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileAppCategoryRequest instance + */ + public IMobileAppCategoryRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCategoryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequest.java index f7e4d4a521b..070f0945180 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category With Reference Request. */ -public class MobileAppCategoryWithReferenceRequest extends BaseMobileAppCategoryWithReferenceRequest implements IMobileAppCategoryWithReferenceRequest { +public class MobileAppCategoryWithReferenceRequest extends BaseRequest implements IMobileAppCategoryWithReferenceRequest { /** * The request for the MobileAppCategory @@ -22,7 +30,66 @@ public class MobileAppCategoryWithReferenceRequest extends BaseMobileAppCategory * @param client the service client * @param requestOptions the options for this request */ - public MobileAppCategoryWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppCategoryWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppCategory.class); + } + + public void post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public MobileAppCategory post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newMobileAppCategory; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public MobileAppCategory get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileAppCategory); + } + + public MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileAppCategory); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppCategoryWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IMobileAppCategoryWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppCategoryWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppCategoryWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequestBuilder.java index e9cb822de1c..2c12a82db8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCategoryWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Category With Reference Request Builder. */ -public class MobileAppCategoryWithReferenceRequestBuilder extends BaseMobileAppCategoryWithReferenceRequestBuilder implements IMobileAppCategoryWithReferenceRequestBuilder { +public class MobileAppCategoryWithReferenceRequestBuilder extends BaseRequestBuilder implements IMobileAppCategoryWithReferenceRequestBuilder { /** * The request builder for the MobileAppCategory @@ -25,4 +33,28 @@ public class MobileAppCategoryWithReferenceRequestBuilder extends BaseMobileAppC public MobileAppCategoryWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileAppCategoryWithReferenceRequest instance + */ + public IMobileAppCategoryWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IMobileAppCategoryWithReferenceRequest instance + */ + public IMobileAppCategoryWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCategoryWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppCategoryReferenceRequestBuilder reference(){ + return new MobileAppCategoryReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionPage.java index 85dd51414d0..c6033cc261b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileApp; +import com.microsoft.graph.requests.extensions.IMobileAppCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Collection Page. */ -public class MobileAppCollectionPage extends BaseMobileAppCollectionPage implements IMobileAppCollectionPage { +public class MobileAppCollectionPage extends BaseCollectionPage implements IMobileAppCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for MobileApp * - * @param response the serialized BaseMobileAppCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MobileAppCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MobileAppCollectionPage(final BaseMobileAppCollectionResponse response, final IMobileAppCollectionRequestBuilder builder) { - super(response, builder); + public MobileAppCollectionPage(final MobileAppCollectionResponse response, final IMobileAppCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequest.java index 2e5f435e316..99fd246ccd9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Collection Request. */ -public class MobileAppCollectionRequest extends BaseMobileAppCollectionRequest implements IMobileAppCollectionRequest { +public class MobileAppCollectionRequest extends BaseCollectionRequest implements IMobileAppCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of MobileApp * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileAppCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppCollectionResponse.class, IMobileAppCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileAppCollectionPage get() throws ClientException { + final MobileAppCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MobileApp newMobileApp, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileApp, callback); + } + + public MobileApp post(final MobileApp newMobileApp) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileApp); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppCollectionRequest)this; + } + + public IMobileAppCollectionPage buildFromResponse(final MobileAppCollectionResponse response) { + final IMobileAppCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileAppCollectionPage page = new MobileAppCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequestBuilder.java index 91ea1c0090a..b784d22eeff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Collection Request Builder. */ -public class MobileAppCollectionRequestBuilder extends BaseMobileAppCollectionRequestBuilder implements IMobileAppCollectionRequestBuilder { +public class MobileAppCollectionRequestBuilder extends BaseRequestBuilder implements IMobileAppCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class MobileAppCollectionRequestBuilder extends BaseMobileAppCollectionRe public MobileAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppRequestBuilder byId(final String id) { + return new MobileAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionResponse.java new file mode 100644 index 00000000000..eff2d0cd86a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileApp; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mobile App Collection Response. + */ +public class MobileAppCollectionResponse implements IJsonBackedObject { + + /** + * The list of MobileApp within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionPage.java index 12937a3c5aa..760cd5c397b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContent; +import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppContentCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppContentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content Collection Page. */ -public class MobileAppContentCollectionPage extends BaseMobileAppContentCollectionPage implements IMobileAppContentCollectionPage { +public class MobileAppContentCollectionPage extends BaseCollectionPage implements IMobileAppContentCollectionPage { /** - * A collection page for MobileLobApp. + * A collection page for MobileAppContent * - * @param response the serialized BaseMobileAppContentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MobileAppContentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MobileAppContentCollectionPage(final BaseMobileAppContentCollectionResponse response, final IMobileAppContentCollectionRequestBuilder builder) { - super(response, builder); + public MobileAppContentCollectionPage(final MobileAppContentCollectionResponse response, final IMobileAppContentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequest.java index 4289217a142..da139b127b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content Collection Request. */ -public class MobileAppContentCollectionRequest extends BaseMobileAppContentCollectionRequest implements IMobileAppContentCollectionRequest { +public class MobileAppContentCollectionRequest extends BaseCollectionRequest implements IMobileAppContentCollectionRequest { /** - * The request for this collection of MobileLobApp + * The request builder for this collection of MobileAppContent * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileAppContentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppContentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppContentCollectionResponse.class, IMobileAppContentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileAppContentCollectionPage get() throws ClientException { + final MobileAppContentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MobileAppContent newMobileAppContent, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MobileAppContentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppContent, callback); + } + + public MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MobileAppContentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppContent); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppContentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppContentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppContentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppContentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppContentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppContentCollectionRequest)this; + } + + public IMobileAppContentCollectionPage buildFromResponse(final MobileAppContentCollectionResponse response) { + final IMobileAppContentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileAppContentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileAppContentCollectionPage page = new MobileAppContentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequestBuilder.java index a194ccf9561..5913973e19a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content Collection Request Builder. */ -public class MobileAppContentCollectionRequestBuilder extends BaseMobileAppContentCollectionRequestBuilder implements IMobileAppContentCollectionRequestBuilder { +public class MobileAppContentCollectionRequestBuilder extends BaseRequestBuilder implements IMobileAppContentCollectionRequestBuilder { /** * The request builder for this collection of MobileLobApp @@ -25,4 +33,18 @@ public class MobileAppContentCollectionRequestBuilder extends BaseMobileAppConte public MobileAppContentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppContentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppContentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppContentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppContentRequestBuilder byId(final String id) { + return new MobileAppContentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionResponse.java new file mode 100644 index 00000000000..bd713b9c1d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContent; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mobile App Content Collection Response. + */ +public class MobileAppContentCollectionResponse implements IJsonBackedObject { + + /** + * The list of MobileAppContent within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionPage.java index ac61b62b9ab..0997021ab7c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContentFile; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Collection Page. */ -public class MobileAppContentFileCollectionPage extends BaseMobileAppContentFileCollectionPage implements IMobileAppContentFileCollectionPage { +public class MobileAppContentFileCollectionPage extends BaseCollectionPage implements IMobileAppContentFileCollectionPage { /** - * A collection page for MobileAppContent. + * A collection page for MobileAppContentFile * - * @param response the serialized BaseMobileAppContentFileCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MobileAppContentFileCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MobileAppContentFileCollectionPage(final BaseMobileAppContentFileCollectionResponse response, final IMobileAppContentFileCollectionRequestBuilder builder) { - super(response, builder); + public MobileAppContentFileCollectionPage(final MobileAppContentFileCollectionResponse response, final IMobileAppContentFileCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequest.java index a393c6a1624..a710f6c0aee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Collection Request. */ -public class MobileAppContentFileCollectionRequest extends BaseMobileAppContentFileCollectionRequest implements IMobileAppContentFileCollectionRequest { +public class MobileAppContentFileCollectionRequest extends BaseCollectionRequest implements IMobileAppContentFileCollectionRequest { /** - * The request for this collection of MobileAppContent + * The request builder for this collection of MobileAppContentFile * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileAppContentFileCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileAppContentFileCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileAppContentFileCollectionResponse.class, IMobileAppContentFileCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileAppContentFileCollectionPage get() throws ClientException { + final MobileAppContentFileCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MobileAppContentFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppContentFile, callback); + } + + public MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MobileAppContentFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileAppContentFile); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppContentFileCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileAppContentFileCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppContentFileCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileAppContentFileCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppContentFileCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileAppContentFileCollectionRequest)this; + } + + public IMobileAppContentFileCollectionPage buildFromResponse(final MobileAppContentFileCollectionResponse response) { + final IMobileAppContentFileCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileAppContentFileCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileAppContentFileCollectionPage page = new MobileAppContentFileCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequestBuilder.java index 96db8774e15..14c1e220706 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Collection Request Builder. */ -public class MobileAppContentFileCollectionRequestBuilder extends BaseMobileAppContentFileCollectionRequestBuilder implements IMobileAppContentFileCollectionRequestBuilder { +public class MobileAppContentFileCollectionRequestBuilder extends BaseRequestBuilder implements IMobileAppContentFileCollectionRequestBuilder { /** * The request builder for this collection of MobileAppContent @@ -25,4 +33,18 @@ public class MobileAppContentFileCollectionRequestBuilder extends BaseMobileAppC public MobileAppContentFileCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileAppContentFileCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileAppContentFileCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppContentFileCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileAppContentFileRequestBuilder byId(final String id) { + return new MobileAppContentFileRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionResponse.java new file mode 100644 index 00000000000..9f046ec5479 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContentFile; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mobile App Content File Collection Response. + */ +public class MobileAppContentFileCollectionResponse implements IJsonBackedObject { + + /** + * The list of MobileAppContentFile within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequest.java index b57d20130d6..63cd46fb8e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileAppContentFileCommitBody; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCommitRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCommitRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Commit Request. */ -public class MobileAppContentFileCommitRequest extends BaseMobileAppContentFileCommitRequest implements IMobileAppContentFileCommitRequest { +public class MobileAppContentFileCommitRequest extends BaseRequest implements IMobileAppContentFileCommitRequest { + protected final MobileAppContentFileCommitBody body; /** * The request for this MobileAppContentFileCommit @@ -23,6 +31,49 @@ public class MobileAppContentFileCommitRequest extends BaseMobileAppContentFileC * @param requestOptions the options for this request */ public MobileAppContentFileCommitRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new MobileAppContentFileCommitBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppContentFileCommitRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppContentFileCommitRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileAppContentFileCommitRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (MobileAppContentFileCommitRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppContentFileCommitRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppContentFileCommitRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequestBuilder.java index fa95081bcbc..9763a79c4af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileCommitRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCommitRequest; +import com.microsoft.graph.models.extensions.FileEncryptionInfo; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.FileEncryptionInfo; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileCommitRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Commit Request Builder. */ -public class MobileAppContentFileCommitRequestBuilder extends BaseMobileAppContentFileCommitRequestBuilder implements IMobileAppContentFileCommitRequestBuilder { +public class MobileAppContentFileCommitRequestBuilder extends BaseActionRequestBuilder implements IMobileAppContentFileCommitRequestBuilder { /** * The request builder for this MobileAppContentFileCommit @@ -25,6 +30,36 @@ public class MobileAppContentFileCommitRequestBuilder extends BaseMobileAppConte * @param fileEncryptionInfo the fileEncryptionInfo */ public MobileAppContentFileCommitRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final FileEncryptionInfo fileEncryptionInfo) { - super(requestUrl, client, requestOptions, fileEncryptionInfo); + super(requestUrl, client, requestOptions); + bodyParams.put("fileEncryptionInfo", fileEncryptionInfo); + } + + /** + * Creates the IMobileAppContentFileCommitRequest + * + * @return the IMobileAppContentFileCommitRequest instance + */ + public IMobileAppContentFileCommitRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMobileAppContentFileCommitRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMobileAppContentFileCommitRequest instance + */ + public IMobileAppContentFileCommitRequest buildRequest(final java.util.List requestOptions) { + MobileAppContentFileCommitRequest request = new MobileAppContentFileCommitRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("fileEncryptionInfo")) { + request.body.fileEncryptionInfo = getParameter("fileEncryptionInfo"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequest.java index 294e3412c11..41908462d37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentFileRenewUploadRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileRenewUploadRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Renew Upload Request. */ -public class MobileAppContentFileRenewUploadRequest extends BaseMobileAppContentFileRenewUploadRequest implements IMobileAppContentFileRenewUploadRequest { +public class MobileAppContentFileRenewUploadRequest extends BaseRequest implements IMobileAppContentFileRenewUploadRequest { /** * The request for this MobileAppContentFileRenewUpload @@ -23,6 +30,35 @@ public class MobileAppContentFileRenewUploadRequest extends BaseMobileAppContent * @param requestOptions the options for this request */ public MobileAppContentFileRenewUploadRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the MobileAppContentFileRenewUpload + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the MobileAppContentFileRenewUpload + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequestBuilder.java index 011f3a4c629..da0cf49d03c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRenewUploadRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentFileRenewUploadRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileRenewUploadRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Renew Upload Request Builder. */ -public class MobileAppContentFileRenewUploadRequestBuilder extends BaseMobileAppContentFileRenewUploadRequestBuilder implements IMobileAppContentFileRenewUploadRequestBuilder { +public class MobileAppContentFileRenewUploadRequestBuilder extends BaseActionRequestBuilder implements IMobileAppContentFileRenewUploadRequestBuilder { /** * The request builder for this MobileAppContentFileRenewUpload @@ -25,4 +30,29 @@ public class MobileAppContentFileRenewUploadRequestBuilder extends BaseMobileApp public MobileAppContentFileRenewUploadRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IMobileAppContentFileRenewUploadRequest + * + * @return the IMobileAppContentFileRenewUploadRequest instance + */ + public IMobileAppContentFileRenewUploadRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IMobileAppContentFileRenewUploadRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IMobileAppContentFileRenewUploadRequest instance + */ + public IMobileAppContentFileRenewUploadRequest buildRequest(final java.util.List requestOptions) { + MobileAppContentFileRenewUploadRequest request = new MobileAppContentFileRenewUploadRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequest.java index 9817ba437d3..2cde6952a67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentFileRequest; +import com.microsoft.graph.models.extensions.MobileAppContentFile; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileAppContentFile; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Request. */ -public class MobileAppContentFileRequest extends BaseMobileAppContentFileRequest implements IMobileAppContentFileRequest { - +public class MobileAppContentFileRequest extends BaseRequest implements IMobileAppContentFileRequest { + /** * The request for the MobileAppContentFile * @@ -26,4 +32,107 @@ public class MobileAppContentFileRequest extends BaseMobileAppContentFileRequest public MobileAppContentFileRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileAppContentFile.class); } + + /** + * Gets the MobileAppContentFile from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileAppContentFile from the service + * + * @return the MobileAppContentFile from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContentFile get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileAppContentFile with a source + * + * @param sourceMobileAppContentFile the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileAppContentFile sourceMobileAppContentFile, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileAppContentFile); + } + + /** + * Patches this MobileAppContentFile with a source + * + * @param sourceMobileAppContentFile the source object with updates + * @return the updated MobileAppContentFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContentFile patch(final MobileAppContentFile sourceMobileAppContentFile) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileAppContentFile); + } + + /** + * Creates a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileAppContentFile); + } + + /** + * Creates a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the new object to create + * @return the created MobileAppContentFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException { + return send(HttpMethod.POST, newMobileAppContentFile); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppContentFileRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppContentFileRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppContentFileRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppContentFileRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequestBuilder.java index 989bb5c931f..b72635ec7b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequestBuilder.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentFileRequest; +import com.microsoft.graph.models.extensions.FileEncryptionInfo; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCommitRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentFileRenewUploadRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentFileRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content File Request Builder. */ -public class MobileAppContentFileRequestBuilder extends BaseMobileAppContentFileRequestBuilder implements IMobileAppContentFileRequestBuilder { +public class MobileAppContentFileRequestBuilder extends BaseRequestBuilder implements IMobileAppContentFileRequestBuilder { /** * The request builder for the MobileAppContentFile @@ -25,4 +33,34 @@ public class MobileAppContentFileRequestBuilder extends BaseMobileAppContentFile public MobileAppContentFileRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileAppContentFileRequest instance + */ + public IMobileAppContentFileRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileAppContentFileRequest instance + */ + public IMobileAppContentFileRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppContentFileRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IMobileAppContentFileCommitRequestBuilder commit(final FileEncryptionInfo fileEncryptionInfo) { + return new MobileAppContentFileCommitRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.commit"), getClient(), null, fileEncryptionInfo); + } + + public IMobileAppContentFileRenewUploadRequestBuilder renewUpload() { + return new MobileAppContentFileRenewUploadRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.renewUpload"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequest.java index a4443c8ece5..0f5f0797587 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentRequest; +import com.microsoft.graph.models.extensions.MobileAppContent; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileAppContent; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content Request. */ -public class MobileAppContentRequest extends BaseMobileAppContentRequest implements IMobileAppContentRequest { - +public class MobileAppContentRequest extends BaseRequest implements IMobileAppContentRequest { + /** * The request for the MobileAppContent * @@ -26,4 +32,107 @@ public class MobileAppContentRequest extends BaseMobileAppContentRequest impleme public MobileAppContentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileAppContent.class); } + + /** + * Gets the MobileAppContent from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileAppContent from the service + * + * @return the MobileAppContent from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContent get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileAppContent with a source + * + * @param sourceMobileAppContent the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileAppContent sourceMobileAppContent, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileAppContent); + } + + /** + * Patches this MobileAppContent with a source + * + * @param sourceMobileAppContent the source object with updates + * @return the updated MobileAppContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContent patch(final MobileAppContent sourceMobileAppContent) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileAppContent); + } + + /** + * Creates a MobileAppContent with a new object + * + * @param newMobileAppContent the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileAppContent newMobileAppContent, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileAppContent); + } + + /** + * Creates a MobileAppContent with a new object + * + * @param newMobileAppContent the new object to create + * @return the created MobileAppContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException { + return send(HttpMethod.POST, newMobileAppContent); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppContentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppContentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppContentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppContentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequestBuilder.java index 0603075acc9..c7608d36775 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequest; +import com.microsoft.graph.requests.extensions.MobileAppContentRequest; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentFileRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppContentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Content Request Builder. */ -public class MobileAppContentRequestBuilder extends BaseMobileAppContentRequestBuilder implements IMobileAppContentRequestBuilder { +public class MobileAppContentRequestBuilder extends BaseRequestBuilder implements IMobileAppContentRequestBuilder { /** * The request builder for the MobileAppContent @@ -25,4 +32,33 @@ public class MobileAppContentRequestBuilder extends BaseMobileAppContentRequestB public MobileAppContentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileAppContentRequest instance + */ + public IMobileAppContentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileAppContentRequest instance + */ + public IMobileAppContentRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppContentRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IMobileAppContentFileCollectionRequestBuilder files() { + return new MobileAppContentFileCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("files"), getClient(), null); + } + + public IMobileAppContentFileRequestBuilder files(final String id) { + return new MobileAppContentFileRequestBuilder(getRequestUrlWithAdditionalSegment("files") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequest.java index 29467399929..d7008e07ad5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppRequest; +import com.microsoft.graph.requests.extensions.MobileAppRequest; +import com.microsoft.graph.models.extensions.MobileApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Request. */ -public class MobileAppRequest extends BaseMobileAppRequest implements IMobileAppRequest { - +public class MobileAppRequest extends BaseRequest implements IMobileAppRequest { + /** * The request for the MobileApp * @@ -41,4 +47,107 @@ public MobileAppRequest(final String requestUrl, public MobileAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileApp.class); } + + /** + * Gets the MobileApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileApp from the service + * + * @return the MobileApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileApp with a source + * + * @param sourceMobileApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileApp sourceMobileApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileApp); + } + + /** + * Patches this MobileApp with a source + * + * @param sourceMobileApp the source object with updates + * @return the updated MobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileApp patch(final MobileApp sourceMobileApp) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileApp); + } + + /** + * Creates a MobileApp with a new object + * + * @param newMobileApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileApp newMobileApp, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileApp); + } + + /** + * Creates a MobileApp with a new object + * + * @param newMobileApp the new object to create + * @return the created MobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileApp post(final MobileApp newMobileApp) throws ClientException { + return send(HttpMethod.POST, newMobileApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequestBuilder.java index 0e37190ff79..ba236886546 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequestBuilder.java @@ -3,17 +3,31 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileAppRequest; +import com.microsoft.graph.requests.extensions.MobileAppRequest; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppCategoryWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppCategoryWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.MobileAppAssignment; +import com.microsoft.graph.requests.extensions.IMobileAppAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppAssignRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile App Request Builder. */ -public class MobileAppRequestBuilder extends BaseMobileAppRequestBuilder implements IMobileAppRequestBuilder { +public class MobileAppRequestBuilder extends BaseRequestBuilder implements IMobileAppRequestBuilder { /** * The request builder for the MobileApp @@ -25,4 +39,44 @@ public class MobileAppRequestBuilder extends BaseMobileAppRequestBuilder impleme public MobileAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileAppRequest instance + */ + public IMobileAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileAppRequest instance + */ + public IMobileAppRequest buildRequest(final java.util.List requestOptions) { + return new MobileAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IMobileAppCategoryCollectionWithReferencesRequestBuilder categories() { + return new MobileAppCategoryCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("categories"), getClient(), null); + } + + public IMobileAppCategoryWithReferenceRequestBuilder categories(final String id) { + return new MobileAppCategoryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("categories") + "/" + id, getClient(), null); + } + public IMobileAppAssignmentCollectionRequestBuilder assignments() { + return new MobileAppAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public IMobileAppAssignmentRequestBuilder assignments(final String id) { + return new MobileAppAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + public IMobileAppAssignRequestBuilder assign(final java.util.List mobileAppAssignments) { + return new MobileAppAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, mobileAppAssignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequest.java index e63acfc67f8..264c51da0df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.MobileLobAppRequest; +import com.microsoft.graph.models.extensions.MobileLobApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileLobApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileLobAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Lob App Request. */ -public class MobileLobAppRequest extends BaseMobileLobAppRequest implements IMobileLobAppRequest { - +public class MobileLobAppRequest extends BaseRequest implements IMobileLobAppRequest { + /** * The request for the MobileLobApp * @@ -41,4 +47,107 @@ public MobileLobAppRequest(final String requestUrl, public MobileLobAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileLobApp.class); } + + /** + * Gets the MobileLobApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileLobApp from the service + * + * @return the MobileLobApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileLobApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileLobApp with a source + * + * @param sourceMobileLobApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileLobApp sourceMobileLobApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileLobApp); + } + + /** + * Patches this MobileLobApp with a source + * + * @param sourceMobileLobApp the source object with updates + * @return the updated MobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileLobApp patch(final MobileLobApp sourceMobileLobApp) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileLobApp); + } + + /** + * Creates a MobileLobApp with a new object + * + * @param newMobileLobApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileLobApp newMobileLobApp, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileLobApp); + } + + /** + * Creates a MobileLobApp with a new object + * + * @param newMobileLobApp the new object to create + * @return the created MobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileLobApp post(final MobileLobApp newMobileLobApp) throws ClientException { + return send(HttpMethod.POST, newMobileLobApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileLobAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileLobAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileLobAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileLobAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequestBuilder.java index 1134a9ee3a9..73660a21d15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileLobAppRequest; +import com.microsoft.graph.requests.extensions.MobileLobAppRequest; +import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; +import com.microsoft.graph.requests.extensions.MobileAppContentRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileLobAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Lob App Request Builder. */ -public class MobileLobAppRequestBuilder extends BaseMobileLobAppRequestBuilder implements IMobileLobAppRequestBuilder { +public class MobileLobAppRequestBuilder extends BaseRequestBuilder implements IMobileLobAppRequestBuilder { /** * The request builder for the MobileLobApp @@ -25,4 +32,33 @@ public class MobileLobAppRequestBuilder extends BaseMobileLobAppRequestBuilder i public MobileLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileLobAppRequest instance + */ + public IMobileLobAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileLobAppRequest instance + */ + public IMobileLobAppRequest buildRequest(final java.util.List requestOptions) { + return new MobileLobAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IMobileAppContentCollectionRequestBuilder contentVersions() { + return new MobileAppContentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions"), getClient(), null); + } + + public IMobileAppContentRequestBuilder contentVersions(final String id) { + return new MobileAppContentRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionPage.java index 34e194ab8e5..da474e012c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorCollectionPage; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Threat Defense Connector Collection Page. */ -public class MobileThreatDefenseConnectorCollectionPage extends BaseMobileThreatDefenseConnectorCollectionPage implements IMobileThreatDefenseConnectorCollectionPage { +public class MobileThreatDefenseConnectorCollectionPage extends BaseCollectionPage implements IMobileThreatDefenseConnectorCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for MobileThreatDefenseConnector * - * @param response the serialized BaseMobileThreatDefenseConnectorCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MobileThreatDefenseConnectorCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MobileThreatDefenseConnectorCollectionPage(final BaseMobileThreatDefenseConnectorCollectionResponse response, final IMobileThreatDefenseConnectorCollectionRequestBuilder builder) { - super(response, builder); + public MobileThreatDefenseConnectorCollectionPage(final MobileThreatDefenseConnectorCollectionResponse response, final IMobileThreatDefenseConnectorCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequest.java index 15c114b2d52..0d868a8a93c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Threat Defense Connector Collection Request. */ -public class MobileThreatDefenseConnectorCollectionRequest extends BaseMobileThreatDefenseConnectorCollectionRequest implements IMobileThreatDefenseConnectorCollectionRequest { +public class MobileThreatDefenseConnectorCollectionRequest extends BaseCollectionRequest implements IMobileThreatDefenseConnectorCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of MobileThreatDefenseConnector * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MobileThreatDefenseConnectorCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MobileThreatDefenseConnectorCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MobileThreatDefenseConnectorCollectionResponse.class, IMobileThreatDefenseConnectorCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMobileThreatDefenseConnectorCollectionPage get() throws ClientException { + final MobileThreatDefenseConnectorCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MobileThreatDefenseConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileThreatDefenseConnector, callback); + } + + public MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MobileThreatDefenseConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMobileThreatDefenseConnector); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileThreatDefenseConnectorCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MobileThreatDefenseConnectorCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileThreatDefenseConnectorCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MobileThreatDefenseConnectorCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMobileThreatDefenseConnectorCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MobileThreatDefenseConnectorCollectionRequest)this; + } + + public IMobileThreatDefenseConnectorCollectionPage buildFromResponse(final MobileThreatDefenseConnectorCollectionResponse response) { + final IMobileThreatDefenseConnectorCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MobileThreatDefenseConnectorCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MobileThreatDefenseConnectorCollectionPage page = new MobileThreatDefenseConnectorCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequestBuilder.java index 48b68123476..f3ecdcaa02b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Threat Defense Connector Collection Request Builder. */ -public class MobileThreatDefenseConnectorCollectionRequestBuilder extends BaseMobileThreatDefenseConnectorCollectionRequestBuilder implements IMobileThreatDefenseConnectorCollectionRequestBuilder { +public class MobileThreatDefenseConnectorCollectionRequestBuilder extends BaseRequestBuilder implements IMobileThreatDefenseConnectorCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class MobileThreatDefenseConnectorCollectionRequestBuilder extends BaseMo public MobileThreatDefenseConnectorCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMobileThreatDefenseConnectorCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMobileThreatDefenseConnectorCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MobileThreatDefenseConnectorCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMobileThreatDefenseConnectorRequestBuilder byId(final String id) { + return new MobileThreatDefenseConnectorRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionResponse.java new file mode 100644 index 00000000000..588a0baeb4d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Mobile Threat Defense Connector Collection Response. + */ +public class MobileThreatDefenseConnectorCollectionResponse implements IJsonBackedObject { + + /** + * The list of MobileThreatDefenseConnector within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequest.java index 8a2ccaa1925..ffefc9a1c60 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequest; +import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorRequest; +import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Threat Defense Connector Request. */ -public class MobileThreatDefenseConnectorRequest extends BaseMobileThreatDefenseConnectorRequest implements IMobileThreatDefenseConnectorRequest { - +public class MobileThreatDefenseConnectorRequest extends BaseRequest implements IMobileThreatDefenseConnectorRequest { + /** * The request for the MobileThreatDefenseConnector * @@ -26,4 +32,107 @@ public class MobileThreatDefenseConnectorRequest extends BaseMobileThreatDefense public MobileThreatDefenseConnectorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MobileThreatDefenseConnector.class); } + + /** + * Gets the MobileThreatDefenseConnector from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MobileThreatDefenseConnector from the service + * + * @return the MobileThreatDefenseConnector from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileThreatDefenseConnector get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MobileThreatDefenseConnector with a source + * + * @param sourceMobileThreatDefenseConnector the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMobileThreatDefenseConnector); + } + + /** + * Patches this MobileThreatDefenseConnector with a source + * + * @param sourceMobileThreatDefenseConnector the source object with updates + * @return the updated MobileThreatDefenseConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileThreatDefenseConnector patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector) throws ClientException { + return send(HttpMethod.PATCH, sourceMobileThreatDefenseConnector); + } + + /** + * Creates a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback) { + send(HttpMethod.POST, callback, newMobileThreatDefenseConnector); + } + + /** + * Creates a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the new object to create + * @return the created MobileThreatDefenseConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException { + return send(HttpMethod.POST, newMobileThreatDefenseConnector); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMobileThreatDefenseConnectorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MobileThreatDefenseConnectorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMobileThreatDefenseConnectorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MobileThreatDefenseConnectorRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequestBuilder.java index 705ff78a155..53bb04e46a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequest; +import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMobileThreatDefenseConnectorRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Mobile Threat Defense Connector Request Builder. */ -public class MobileThreatDefenseConnectorRequestBuilder extends BaseMobileThreatDefenseConnectorRequestBuilder implements IMobileThreatDefenseConnectorRequestBuilder { +public class MobileThreatDefenseConnectorRequestBuilder extends BaseRequestBuilder implements IMobileThreatDefenseConnectorRequestBuilder { /** * The request builder for the MobileThreatDefenseConnector @@ -25,4 +28,26 @@ public class MobileThreatDefenseConnectorRequestBuilder extends BaseMobileThreat public MobileThreatDefenseConnectorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMobileThreatDefenseConnectorRequest instance + */ + public IMobileThreatDefenseConnectorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMobileThreatDefenseConnectorRequest instance + */ + public IMobileThreatDefenseConnectorRequest buildRequest(final java.util.List requestOptions) { + return new MobileThreatDefenseConnectorRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionPage.java index 3bf648508ed..27975dc6623 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Multi Value Legacy Extended Property Collection Page. */ -public class MultiValueLegacyExtendedPropertyCollectionPage extends BaseMultiValueLegacyExtendedPropertyCollectionPage implements IMultiValueLegacyExtendedPropertyCollectionPage { +public class MultiValueLegacyExtendedPropertyCollectionPage extends BaseCollectionPage implements IMultiValueLegacyExtendedPropertyCollectionPage { /** - * A collection page for Post. + * A collection page for MultiValueLegacyExtendedProperty * - * @param response the serialized BaseMultiValueLegacyExtendedPropertyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized MultiValueLegacyExtendedPropertyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public MultiValueLegacyExtendedPropertyCollectionPage(final BaseMultiValueLegacyExtendedPropertyCollectionResponse response, final IMultiValueLegacyExtendedPropertyCollectionRequestBuilder builder) { - super(response, builder); + public MultiValueLegacyExtendedPropertyCollectionPage(final MultiValueLegacyExtendedPropertyCollectionResponse response, final IMultiValueLegacyExtendedPropertyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequest.java index 5295b32cd57..3b41477420f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Multi Value Legacy Extended Property Collection Request. */ -public class MultiValueLegacyExtendedPropertyCollectionRequest extends BaseMultiValueLegacyExtendedPropertyCollectionRequest implements IMultiValueLegacyExtendedPropertyCollectionRequest { +public class MultiValueLegacyExtendedPropertyCollectionRequest extends BaseCollectionRequest implements IMultiValueLegacyExtendedPropertyCollectionRequest { /** - * The request for this collection of Post + * The request builder for this collection of MultiValueLegacyExtendedProperty * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public MultiValueLegacyExtendedPropertyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public MultiValueLegacyExtendedPropertyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, MultiValueLegacyExtendedPropertyCollectionResponse.class, IMultiValueLegacyExtendedPropertyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IMultiValueLegacyExtendedPropertyCollectionPage get() throws ClientException { + final MultiValueLegacyExtendedPropertyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new MultiValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMultiValueLegacyExtendedProperty, callback); + } + + public MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new MultiValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newMultiValueLegacyExtendedProperty); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMultiValueLegacyExtendedPropertyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (MultiValueLegacyExtendedPropertyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMultiValueLegacyExtendedPropertyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (MultiValueLegacyExtendedPropertyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IMultiValueLegacyExtendedPropertyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (MultiValueLegacyExtendedPropertyCollectionRequest)this; + } + + public IMultiValueLegacyExtendedPropertyCollectionPage buildFromResponse(final MultiValueLegacyExtendedPropertyCollectionResponse response) { + final IMultiValueLegacyExtendedPropertyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final MultiValueLegacyExtendedPropertyCollectionPage page = new MultiValueLegacyExtendedPropertyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequestBuilder.java index 00fea4b98e4..f43ec01c70c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Multi Value Legacy Extended Property Collection Request Builder. */ -public class MultiValueLegacyExtendedPropertyCollectionRequestBuilder extends BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder implements IMultiValueLegacyExtendedPropertyCollectionRequestBuilder { +public class MultiValueLegacyExtendedPropertyCollectionRequestBuilder extends BaseRequestBuilder implements IMultiValueLegacyExtendedPropertyCollectionRequestBuilder { /** * The request builder for this collection of Post @@ -25,4 +33,18 @@ public class MultiValueLegacyExtendedPropertyCollectionRequestBuilder extends Ba public MultiValueLegacyExtendedPropertyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new MultiValueLegacyExtendedPropertyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder byId(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionResponse.java new file mode 100644 index 00000000000..f9003cc7d65 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Multi Value Legacy Extended Property Collection Response. + */ +public class MultiValueLegacyExtendedPropertyCollectionResponse implements IJsonBackedObject { + + /** + * The list of MultiValueLegacyExtendedProperty within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequest.java index 1ee8549eb4e..6e4e6eee804 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Multi Value Legacy Extended Property Request. */ -public class MultiValueLegacyExtendedPropertyRequest extends BaseMultiValueLegacyExtendedPropertyRequest implements IMultiValueLegacyExtendedPropertyRequest { - +public class MultiValueLegacyExtendedPropertyRequest extends BaseRequest implements IMultiValueLegacyExtendedPropertyRequest { + /** * The request for the MultiValueLegacyExtendedProperty * @@ -26,4 +32,107 @@ public class MultiValueLegacyExtendedPropertyRequest extends BaseMultiValueLegac public MultiValueLegacyExtendedPropertyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, MultiValueLegacyExtendedProperty.class); } + + /** + * Gets the MultiValueLegacyExtendedProperty from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the MultiValueLegacyExtendedProperty from the service + * + * @return the MultiValueLegacyExtendedProperty from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MultiValueLegacyExtendedProperty get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this MultiValueLegacyExtendedProperty with a source + * + * @param sourceMultiValueLegacyExtendedProperty the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceMultiValueLegacyExtendedProperty); + } + + /** + * Patches this MultiValueLegacyExtendedProperty with a source + * + * @param sourceMultiValueLegacyExtendedProperty the source object with updates + * @return the updated MultiValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MultiValueLegacyExtendedProperty patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty) throws ClientException { + return send(HttpMethod.PATCH, sourceMultiValueLegacyExtendedProperty); + } + + /** + * Creates a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback) { + send(HttpMethod.POST, callback, newMultiValueLegacyExtendedProperty); + } + + /** + * Creates a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the new object to create + * @return the created MultiValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException { + return send(HttpMethod.POST, newMultiValueLegacyExtendedProperty); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IMultiValueLegacyExtendedPropertyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (MultiValueLegacyExtendedPropertyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IMultiValueLegacyExtendedPropertyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (MultiValueLegacyExtendedPropertyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequestBuilder.java index b5267a893a4..a97eb368b05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseMultiValueLegacyExtendedPropertyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Multi Value Legacy Extended Property Request Builder. */ -public class MultiValueLegacyExtendedPropertyRequestBuilder extends BaseMultiValueLegacyExtendedPropertyRequestBuilder implements IMultiValueLegacyExtendedPropertyRequestBuilder { +public class MultiValueLegacyExtendedPropertyRequestBuilder extends BaseRequestBuilder implements IMultiValueLegacyExtendedPropertyRequestBuilder { /** * The request builder for the MultiValueLegacyExtendedProperty @@ -25,4 +28,26 @@ public class MultiValueLegacyExtendedPropertyRequestBuilder extends BaseMultiVal public MultiValueLegacyExtendedPropertyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IMultiValueLegacyExtendedPropertyRequest instance + */ + public IMultiValueLegacyExtendedPropertyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IMultiValueLegacyExtendedPropertyRequest instance + */ + public IMultiValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions) { + return new MultiValueLegacyExtendedPropertyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionPage.java index 7c0cf95b2a2..4a9cfc12754 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.requests.extensions.INotebookCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseNotebookCollectionPage; -import com.microsoft.graph.requests.generated.BaseNotebookCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Collection Page. */ -public class NotebookCollectionPage extends BaseNotebookCollectionPage implements INotebookCollectionPage { +public class NotebookCollectionPage extends BaseCollectionPage implements INotebookCollectionPage { /** - * A collection page for Onenote. + * A collection page for Notebook * - * @param response the serialized BaseNotebookCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized NotebookCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public NotebookCollectionPage(final BaseNotebookCollectionResponse response, final INotebookCollectionRequestBuilder builder) { - super(response, builder); + public NotebookCollectionPage(final NotebookCollectionResponse response, final INotebookCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequest.java index e56d1de7d84..ae1cf53e6a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Collection Request. */ -public class NotebookCollectionRequest extends BaseNotebookCollectionRequest implements INotebookCollectionRequest { +public class NotebookCollectionRequest extends BaseCollectionRequest implements INotebookCollectionRequest { /** - * The request for this collection of Onenote + * The request builder for this collection of Notebook * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public NotebookCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public NotebookCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, NotebookCollectionResponse.class, INotebookCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public INotebookCollectionPage get() throws ClientException { + final NotebookCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Notebook newNotebook, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new NotebookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newNotebook, callback); + } + + public Notebook post(final Notebook newNotebook) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new NotebookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newNotebook); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public INotebookCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (NotebookCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public INotebookCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (NotebookCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public INotebookCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (NotebookCollectionRequest)this; + } + + public INotebookCollectionPage buildFromResponse(final NotebookCollectionResponse response) { + final INotebookCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new NotebookCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final NotebookCollectionPage page = new NotebookCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequestBuilder.java index ecf500b1a89..d81bcc0b5d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Collection Request Builder. */ -public class NotebookCollectionRequestBuilder extends BaseNotebookCollectionRequestBuilder implements INotebookCollectionRequestBuilder { +public class NotebookCollectionRequestBuilder extends BaseRequestBuilder implements INotebookCollectionRequestBuilder { /** * The request builder for this collection of Onenote @@ -25,4 +33,22 @@ public class NotebookCollectionRequestBuilder extends BaseNotebookCollectionRequ public NotebookCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public INotebookCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public INotebookCollectionRequest buildRequest(final java.util.List requestOptions) { + return new NotebookCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public INotebookRequestBuilder byId(final String id) { + return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public INotebookGetRecentNotebooksCollectionRequestBuilder getRecentNotebooks(final Boolean includePersonalNotebooks) { + return new NotebookGetRecentNotebooksCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getRecentNotebooks"), getClient(), null, includePersonalNotebooks); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionResponse.java new file mode 100644 index 00000000000..2bd9fab0156 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Notebook; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Notebook Collection Response. + */ +public class NotebookCollectionResponse implements IJsonBackedObject { + + /** + * The list of Notebook within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequest.java index 9eab2c52ae4..5308d1797f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.NotebookCopyNotebookBody; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; +import com.microsoft.graph.requests.extensions.NotebookCopyNotebookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookCopyNotebookRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Copy Notebook Request. */ -public class NotebookCopyNotebookRequest extends BaseNotebookCopyNotebookRequest implements INotebookCopyNotebookRequest { +public class NotebookCopyNotebookRequest extends BaseRequest implements INotebookCopyNotebookRequest { + protected final NotebookCopyNotebookBody body; /** * The request for this NotebookCopyNotebook @@ -23,6 +32,49 @@ public class NotebookCopyNotebookRequest extends BaseNotebookCopyNotebookRequest * @param requestOptions the options for this request */ public NotebookCopyNotebookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OnenoteOperation.class); + body = new NotebookCopyNotebookBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public OnenoteOperation post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public INotebookCopyNotebookRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (NotebookCopyNotebookRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public INotebookCopyNotebookRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (NotebookCopyNotebookRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public INotebookCopyNotebookRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (NotebookCopyNotebookRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequestBuilder.java index 09ecd05ed47..65b8f5578a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookCopyNotebookRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; +import com.microsoft.graph.requests.extensions.NotebookCopyNotebookRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookCopyNotebookRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Copy Notebook Request Builder. */ -public class NotebookCopyNotebookRequestBuilder extends BaseNotebookCopyNotebookRequestBuilder implements INotebookCopyNotebookRequestBuilder { +public class NotebookCopyNotebookRequestBuilder extends BaseActionRequestBuilder implements INotebookCopyNotebookRequestBuilder { /** * The request builder for this NotebookCopyNotebook @@ -28,6 +33,56 @@ public class NotebookCopyNotebookRequestBuilder extends BaseNotebookCopyNotebook * @param siteId the siteId */ public NotebookCopyNotebookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String groupId, final String renameAs, final String notebookFolder, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions, groupId, renameAs, notebookFolder, siteCollectionId, siteId); + super(requestUrl, client, requestOptions); + bodyParams.put("groupId", groupId); + bodyParams.put("renameAs", renameAs); + bodyParams.put("notebookFolder", notebookFolder); + bodyParams.put("siteCollectionId", siteCollectionId); + bodyParams.put("siteId", siteId); + } + + /** + * Creates the INotebookCopyNotebookRequest + * + * @return the INotebookCopyNotebookRequest instance + */ + public INotebookCopyNotebookRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the INotebookCopyNotebookRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the INotebookCopyNotebookRequest instance + */ + public INotebookCopyNotebookRequest buildRequest(final java.util.List requestOptions) { + NotebookCopyNotebookRequest request = new NotebookCopyNotebookRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("groupId")) { + request.body.groupId = getParameter("groupId"); + } + + if (hasParameter("renameAs")) { + request.body.renameAs = getParameter("renameAs"); + } + + if (hasParameter("notebookFolder")) { + request.body.notebookFolder = getParameter("notebookFolder"); + } + + if (hasParameter("siteCollectionId")) { + request.body.siteCollectionId = getParameter("siteCollectionId"); + } + + if (hasParameter("siteId")) { + request.body.siteId = getParameter("siteId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionPage.java index 28c1a5f073b..868b22133bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseNotebookGetRecentNotebooksCollectionPage; -import com.microsoft.graph.requests.generated.BaseNotebookGetRecentNotebooksCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Get Recent Notebooks Collection Page. */ -public class NotebookGetRecentNotebooksCollectionPage extends BaseNotebookGetRecentNotebooksCollectionPage implements INotebookGetRecentNotebooksCollectionPage { +public class NotebookGetRecentNotebooksCollectionPage extends BaseCollectionPage implements INotebookGetRecentNotebooksCollectionPage { /** - * A collection page for Notebook. + * A collection page for NotebookGetRecentNotebooks. * - * @param response the serialized BaseNotebookGetRecentNotebooksCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized NotebookGetRecentNotebooksCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public NotebookGetRecentNotebooksCollectionPage(final BaseNotebookGetRecentNotebooksCollectionResponse response, final INotebookGetRecentNotebooksCollectionRequestBuilder builder) { - super(response, builder); + public NotebookGetRecentNotebooksCollectionPage(final NotebookGetRecentNotebooksCollectionResponse response, final INotebookGetRecentNotebooksCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequest.java index 24041c753b0..61c702689ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookGetRecentNotebooksCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Get Recent Notebooks Collection Request. */ -public class NotebookGetRecentNotebooksCollectionRequest extends BaseNotebookGetRecentNotebooksCollectionRequest implements INotebookGetRecentNotebooksCollectionRequest { +public class NotebookGetRecentNotebooksCollectionRequest extends BaseCollectionRequest implements INotebookGetRecentNotebooksCollectionRequest { + /** - * The request for this collection of Notebook + * The request for this NotebookGetRecentNotebooks * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public NotebookGetRecentNotebooksCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, NotebookGetRecentNotebooksCollectionResponse.class, INotebookGetRecentNotebooksCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public INotebookGetRecentNotebooksCollectionPage get() throws ClientException { + final NotebookGetRecentNotebooksCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public INotebookGetRecentNotebooksCollectionPage buildFromResponse(final NotebookGetRecentNotebooksCollectionResponse response) { + final INotebookGetRecentNotebooksCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new NotebookGetRecentNotebooksCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* includePersonalNotebooks */ null); + } else { + builder = null; + } + final INotebookGetRecentNotebooksCollectionPage page = new NotebookGetRecentNotebooksCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public INotebookGetRecentNotebooksCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (INotebookGetRecentNotebooksCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public INotebookGetRecentNotebooksCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (INotebookGetRecentNotebooksCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public INotebookGetRecentNotebooksCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (INotebookGetRecentNotebooksCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequestBuilder.java index bef7b3b69bb..8bf736d0207 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookGetRecentNotebooksCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Get Recent Notebooks Collection Request Builder. */ -public class NotebookGetRecentNotebooksCollectionRequestBuilder extends BaseNotebookGetRecentNotebooksCollectionRequestBuilder implements INotebookGetRecentNotebooksCollectionRequestBuilder { +public class NotebookGetRecentNotebooksCollectionRequestBuilder extends BaseFunctionRequestBuilder implements INotebookGetRecentNotebooksCollectionRequestBuilder { /** * The request builder for this collection of Notebook @@ -24,6 +31,27 @@ public class NotebookGetRecentNotebooksCollectionRequestBuilder extends BaseNote * @param includePersonalNotebooks the includePersonalNotebooks */ public NotebookGetRecentNotebooksCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean includePersonalNotebooks) { - super(requestUrl, client, requestOptions, includePersonalNotebooks); + super(requestUrl, client, requestOptions); + if(includePersonalNotebooks!=null){ + functionOptions.add(new FunctionOption("includePersonalNotebooks", includePersonalNotebooks)); + } + } + + public INotebookGetRecentNotebooksCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public INotebookGetRecentNotebooksCollectionRequest buildRequest(final java.util.List requestOptions) { + NotebookGetRecentNotebooksCollectionRequest request = new NotebookGetRecentNotebooksCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionResponse.java new file mode 100644 index 00000000000..b99383cc321 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookGetRecentNotebooksCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Notebook Get Recent Notebooks Collection Response. + */ +public class NotebookGetRecentNotebooksCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequest.java index 7e429e72739..65776fd3515 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotebookRequest; +import com.microsoft.graph.requests.extensions.NotebookRequest; +import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Request. */ -public class NotebookRequest extends BaseNotebookRequest implements INotebookRequest { - +public class NotebookRequest extends BaseRequest implements INotebookRequest { + /** * The request for the Notebook * @@ -26,4 +32,107 @@ public class NotebookRequest extends BaseNotebookRequest implements INotebookReq public NotebookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Notebook.class); } + + /** + * Gets the Notebook from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Notebook from the service + * + * @return the Notebook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Notebook get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Notebook with a source + * + * @param sourceNotebook the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Notebook sourceNotebook, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceNotebook); + } + + /** + * Patches this Notebook with a source + * + * @param sourceNotebook the source object with updates + * @return the updated Notebook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Notebook patch(final Notebook sourceNotebook) throws ClientException { + return send(HttpMethod.PATCH, sourceNotebook); + } + + /** + * Creates a Notebook with a new object + * + * @param newNotebook the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Notebook newNotebook, final ICallback callback) { + send(HttpMethod.POST, callback, newNotebook); + } + + /** + * Creates a Notebook with a new object + * + * @param newNotebook the new object to create + * @return the created Notebook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Notebook post(final Notebook newNotebook) throws ClientException { + return send(HttpMethod.POST, newNotebook); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public INotebookRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (NotebookRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public INotebookRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (NotebookRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequestBuilder.java index ceca870e953..cade6210e48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequestBuilder.java @@ -3,17 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotebookRequest; +import com.microsoft.graph.requests.extensions.NotebookRequest; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.NotebookCopyNotebookRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotebookRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notebook Request Builder. */ -public class NotebookRequestBuilder extends BaseNotebookRequestBuilder implements INotebookRequestBuilder { +public class NotebookRequestBuilder extends BaseRequestBuilder implements INotebookRequestBuilder { /** * The request builder for the Notebook @@ -25,4 +38,44 @@ public class NotebookRequestBuilder extends BaseNotebookRequestBuilder implement public NotebookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the INotebookRequest instance + */ + public INotebookRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the INotebookRequest instance + */ + public INotebookRequest buildRequest(final java.util.List requestOptions) { + return new NotebookRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IOnenoteSectionCollectionRequestBuilder sections() { + return new OnenoteSectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections"), getClient(), null); + } + + public IOnenoteSectionRequestBuilder sections(final String id) { + return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections") + "/" + id, getClient(), null); + } + public ISectionGroupCollectionRequestBuilder sectionGroups() { + return new SectionGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups"), getClient(), null); + } + + public ISectionGroupRequestBuilder sectionGroups(final String id) { + return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups") + "/" + id, getClient(), null); + } + + public INotebookCopyNotebookRequestBuilder copyNotebook(final String groupId, final String renameAs, final String notebookFolder, final String siteCollectionId, final String siteId) { + return new NotebookCopyNotebookRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyNotebook"), getClient(), null, groupId, renameAs, notebookFolder, siteCollectionId, siteId); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionPage.java index 4153bc9c60d..542650258da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.NotificationMessageTemplate; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateCollectionPage; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Collection Page. */ -public class NotificationMessageTemplateCollectionPage extends BaseNotificationMessageTemplateCollectionPage implements INotificationMessageTemplateCollectionPage { +public class NotificationMessageTemplateCollectionPage extends BaseCollectionPage implements INotificationMessageTemplateCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for NotificationMessageTemplate * - * @param response the serialized BaseNotificationMessageTemplateCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized NotificationMessageTemplateCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public NotificationMessageTemplateCollectionPage(final BaseNotificationMessageTemplateCollectionResponse response, final INotificationMessageTemplateCollectionRequestBuilder builder) { - super(response, builder); + public NotificationMessageTemplateCollectionPage(final NotificationMessageTemplateCollectionResponse response, final INotificationMessageTemplateCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequest.java index 8438b86bd2c..ba8d24cbadb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Collection Request. */ -public class NotificationMessageTemplateCollectionRequest extends BaseNotificationMessageTemplateCollectionRequest implements INotificationMessageTemplateCollectionRequest { +public class NotificationMessageTemplateCollectionRequest extends BaseCollectionRequest implements INotificationMessageTemplateCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of NotificationMessageTemplate * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public NotificationMessageTemplateCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public NotificationMessageTemplateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, NotificationMessageTemplateCollectionResponse.class, INotificationMessageTemplateCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public INotificationMessageTemplateCollectionPage get() throws ClientException { + final NotificationMessageTemplateCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new NotificationMessageTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newNotificationMessageTemplate, callback); + } + + public NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new NotificationMessageTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newNotificationMessageTemplate); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public INotificationMessageTemplateCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (NotificationMessageTemplateCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public INotificationMessageTemplateCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (NotificationMessageTemplateCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public INotificationMessageTemplateCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (NotificationMessageTemplateCollectionRequest)this; + } + + public INotificationMessageTemplateCollectionPage buildFromResponse(final NotificationMessageTemplateCollectionResponse response) { + final INotificationMessageTemplateCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new NotificationMessageTemplateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final NotificationMessageTemplateCollectionPage page = new NotificationMessageTemplateCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequestBuilder.java index f490edcf16c..aae2042a39a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Collection Request Builder. */ -public class NotificationMessageTemplateCollectionRequestBuilder extends BaseNotificationMessageTemplateCollectionRequestBuilder implements INotificationMessageTemplateCollectionRequestBuilder { +public class NotificationMessageTemplateCollectionRequestBuilder extends BaseRequestBuilder implements INotificationMessageTemplateCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class NotificationMessageTemplateCollectionRequestBuilder extends BaseNot public NotificationMessageTemplateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public INotificationMessageTemplateCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public INotificationMessageTemplateCollectionRequest buildRequest(final java.util.List requestOptions) { + return new NotificationMessageTemplateCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public INotificationMessageTemplateRequestBuilder byId(final String id) { + return new NotificationMessageTemplateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionResponse.java new file mode 100644 index 00000000000..e593e3ee222 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.NotificationMessageTemplate; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Notification Message Template Collection Response. + */ +public class NotificationMessageTemplateCollectionResponse implements IJsonBackedObject { + + /** + * The list of NotificationMessageTemplate within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequest.java index 6654aceb534..10a9657ff80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequest; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateRequest; +import com.microsoft.graph.models.extensions.NotificationMessageTemplate; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.NotificationMessageTemplate; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Request. */ -public class NotificationMessageTemplateRequest extends BaseNotificationMessageTemplateRequest implements INotificationMessageTemplateRequest { - +public class NotificationMessageTemplateRequest extends BaseRequest implements INotificationMessageTemplateRequest { + /** * The request for the NotificationMessageTemplate * @@ -26,4 +32,107 @@ public class NotificationMessageTemplateRequest extends BaseNotificationMessageT public NotificationMessageTemplateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, NotificationMessageTemplate.class); } + + /** + * Gets the NotificationMessageTemplate from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the NotificationMessageTemplate from the service + * + * @return the NotificationMessageTemplate from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public NotificationMessageTemplate get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this NotificationMessageTemplate with a source + * + * @param sourceNotificationMessageTemplate the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final NotificationMessageTemplate sourceNotificationMessageTemplate, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceNotificationMessageTemplate); + } + + /** + * Patches this NotificationMessageTemplate with a source + * + * @param sourceNotificationMessageTemplate the source object with updates + * @return the updated NotificationMessageTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public NotificationMessageTemplate patch(final NotificationMessageTemplate sourceNotificationMessageTemplate) throws ClientException { + return send(HttpMethod.PATCH, sourceNotificationMessageTemplate); + } + + /** + * Creates a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback) { + send(HttpMethod.POST, callback, newNotificationMessageTemplate); + } + + /** + * Creates a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the new object to create + * @return the created NotificationMessageTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException { + return send(HttpMethod.POST, newNotificationMessageTemplate); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public INotificationMessageTemplateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (NotificationMessageTemplateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public INotificationMessageTemplateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (NotificationMessageTemplateRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequestBuilder.java index 05c6c03ddc7..1317e1f66a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequest; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateRequest; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateSendTestMessageRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Request Builder. */ -public class NotificationMessageTemplateRequestBuilder extends BaseNotificationMessageTemplateRequestBuilder implements INotificationMessageTemplateRequestBuilder { +public class NotificationMessageTemplateRequestBuilder extends BaseRequestBuilder implements INotificationMessageTemplateRequestBuilder { /** * The request builder for the NotificationMessageTemplate @@ -25,4 +34,37 @@ public class NotificationMessageTemplateRequestBuilder extends BaseNotificationM public NotificationMessageTemplateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the INotificationMessageTemplateRequest instance + */ + public INotificationMessageTemplateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the INotificationMessageTemplateRequest instance + */ + public INotificationMessageTemplateRequest buildRequest(final java.util.List requestOptions) { + return new NotificationMessageTemplateRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ILocalizedNotificationMessageCollectionRequestBuilder localizedNotificationMessages() { + return new LocalizedNotificationMessageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("localizedNotificationMessages"), getClient(), null); + } + + public ILocalizedNotificationMessageRequestBuilder localizedNotificationMessages(final String id) { + return new LocalizedNotificationMessageRequestBuilder(getRequestUrlWithAdditionalSegment("localizedNotificationMessages") + "/" + id, getClient(), null); + } + + public INotificationMessageTemplateSendTestMessageRequestBuilder sendTestMessage() { + return new NotificationMessageTemplateSendTestMessageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sendTestMessage"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequest.java index 4ff42f05864..90eb626e1fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateSendTestMessageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateSendTestMessageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Send Test Message Request. */ -public class NotificationMessageTemplateSendTestMessageRequest extends BaseNotificationMessageTemplateSendTestMessageRequest implements INotificationMessageTemplateSendTestMessageRequest { +public class NotificationMessageTemplateSendTestMessageRequest extends BaseRequest implements INotificationMessageTemplateSendTestMessageRequest { /** * The request for this NotificationMessageTemplateSendTestMessage @@ -23,6 +30,35 @@ public class NotificationMessageTemplateSendTestMessageRequest extends BaseNotif * @param requestOptions the options for this request */ public NotificationMessageTemplateSendTestMessageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the NotificationMessageTemplateSendTestMessage + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the NotificationMessageTemplateSendTestMessage + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequestBuilder.java index 8de0318d479..50a30f01198 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateSendTestMessageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; +import com.microsoft.graph.requests.extensions.NotificationMessageTemplateSendTestMessageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseNotificationMessageTemplateSendTestMessageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Notification Message Template Send Test Message Request Builder. */ -public class NotificationMessageTemplateSendTestMessageRequestBuilder extends BaseNotificationMessageTemplateSendTestMessageRequestBuilder implements INotificationMessageTemplateSendTestMessageRequestBuilder { +public class NotificationMessageTemplateSendTestMessageRequestBuilder extends BaseActionRequestBuilder implements INotificationMessageTemplateSendTestMessageRequestBuilder { /** * The request builder for this NotificationMessageTemplateSendTestMessage @@ -25,4 +30,29 @@ public class NotificationMessageTemplateSendTestMessageRequestBuilder extends Ba public NotificationMessageTemplateSendTestMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the INotificationMessageTemplateSendTestMessageRequest + * + * @return the INotificationMessageTemplateSendTestMessageRequest instance + */ + public INotificationMessageTemplateSendTestMessageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the INotificationMessageTemplateSendTestMessageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the INotificationMessageTemplateSendTestMessageRequest instance + */ + public INotificationMessageTemplateSendTestMessageRequest buildRequest(final java.util.List requestOptions) { + NotificationMessageTemplateSendTestMessageRequest request = new NotificationMessageTemplateSendTestMessageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequest.java index 1fedc1ae3e9..33e4e796626 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequest; +import com.microsoft.graph.requests.extensions.OfficeGraphInsightsRequest; +import com.microsoft.graph.models.extensions.OfficeGraphInsights; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OfficeGraphInsights; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOfficeGraphInsightsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Office Graph Insights Request. */ -public class OfficeGraphInsightsRequest extends BaseOfficeGraphInsightsRequest implements IOfficeGraphInsightsRequest { - +public class OfficeGraphInsightsRequest extends BaseRequest implements IOfficeGraphInsightsRequest { + /** * The request for the OfficeGraphInsights * @@ -26,4 +32,107 @@ public class OfficeGraphInsightsRequest extends BaseOfficeGraphInsightsRequest i public OfficeGraphInsightsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OfficeGraphInsights.class); } + + /** + * Gets the OfficeGraphInsights from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OfficeGraphInsights from the service + * + * @return the OfficeGraphInsights from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OfficeGraphInsights get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OfficeGraphInsights with a source + * + * @param sourceOfficeGraphInsights the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OfficeGraphInsights sourceOfficeGraphInsights, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOfficeGraphInsights); + } + + /** + * Patches this OfficeGraphInsights with a source + * + * @param sourceOfficeGraphInsights the source object with updates + * @return the updated OfficeGraphInsights + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OfficeGraphInsights patch(final OfficeGraphInsights sourceOfficeGraphInsights) throws ClientException { + return send(HttpMethod.PATCH, sourceOfficeGraphInsights); + } + + /** + * Creates a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OfficeGraphInsights newOfficeGraphInsights, final ICallback callback) { + send(HttpMethod.POST, callback, newOfficeGraphInsights); + } + + /** + * Creates a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the new object to create + * @return the created OfficeGraphInsights + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OfficeGraphInsights post(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException { + return send(HttpMethod.POST, newOfficeGraphInsights); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOfficeGraphInsightsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OfficeGraphInsightsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOfficeGraphInsightsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OfficeGraphInsightsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequestBuilder.java index e23eb18bc0e..54d18a7508e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequestBuilder.java @@ -3,17 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequest; +import com.microsoft.graph.requests.extensions.OfficeGraphInsightsRequest; +import com.microsoft.graph.requests.extensions.ITrendingCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TrendingCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITrendingRequestBuilder; +import com.microsoft.graph.requests.extensions.TrendingRequestBuilder; +import com.microsoft.graph.requests.extensions.ISharedInsightCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SharedInsightCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISharedInsightRequestBuilder; +import com.microsoft.graph.requests.extensions.SharedInsightRequestBuilder; +import com.microsoft.graph.requests.extensions.IUsedInsightCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UsedInsightCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUsedInsightRequestBuilder; +import com.microsoft.graph.requests.extensions.UsedInsightRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOfficeGraphInsightsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Office Graph Insights Request Builder. */ -public class OfficeGraphInsightsRequestBuilder extends BaseOfficeGraphInsightsRequestBuilder implements IOfficeGraphInsightsRequestBuilder { +public class OfficeGraphInsightsRequestBuilder extends BaseRequestBuilder implements IOfficeGraphInsightsRequestBuilder { /** * The request builder for the OfficeGraphInsights @@ -25,4 +40,47 @@ public class OfficeGraphInsightsRequestBuilder extends BaseOfficeGraphInsightsRe public OfficeGraphInsightsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOfficeGraphInsightsRequest instance + */ + public IOfficeGraphInsightsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOfficeGraphInsightsRequest instance + */ + public IOfficeGraphInsightsRequest buildRequest(final java.util.List requestOptions) { + return new OfficeGraphInsightsRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITrendingCollectionRequestBuilder trending() { + return new TrendingCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("trending"), getClient(), null); + } + + public ITrendingRequestBuilder trending(final String id) { + return new TrendingRequestBuilder(getRequestUrlWithAdditionalSegment("trending") + "/" + id, getClient(), null); + } + public ISharedInsightCollectionRequestBuilder shared() { + return new SharedInsightCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("shared"), getClient(), null); + } + + public ISharedInsightRequestBuilder shared(final String id) { + return new SharedInsightRequestBuilder(getRequestUrlWithAdditionalSegment("shared") + "/" + id, getClient(), null); + } + public IUsedInsightCollectionRequestBuilder used() { + return new UsedInsightCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("used"), getClient(), null); + } + + public IUsedInsightRequestBuilder used(final String id) { + return new UsedInsightRequestBuilder(getRequestUrlWithAdditionalSegment("used") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequest.java index 2651b5b9b25..6a25cbd7020 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequest; +import com.microsoft.graph.requests.extensions.OnPremisesConditionalAccessSettingsRequest; +import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnPremisesConditionalAccessSettingsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the On Premises Conditional Access Settings Request. */ -public class OnPremisesConditionalAccessSettingsRequest extends BaseOnPremisesConditionalAccessSettingsRequest implements IOnPremisesConditionalAccessSettingsRequest { - +public class OnPremisesConditionalAccessSettingsRequest extends BaseRequest implements IOnPremisesConditionalAccessSettingsRequest { + /** * The request for the OnPremisesConditionalAccessSettings * @@ -26,4 +32,107 @@ public class OnPremisesConditionalAccessSettingsRequest extends BaseOnPremisesCo public OnPremisesConditionalAccessSettingsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnPremisesConditionalAccessSettings.class); } + + /** + * Gets the OnPremisesConditionalAccessSettings from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnPremisesConditionalAccessSettings from the service + * + * @return the OnPremisesConditionalAccessSettings from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnPremisesConditionalAccessSettings get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnPremisesConditionalAccessSettings with a source + * + * @param sourceOnPremisesConditionalAccessSettings the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnPremisesConditionalAccessSettings); + } + + /** + * Patches this OnPremisesConditionalAccessSettings with a source + * + * @param sourceOnPremisesConditionalAccessSettings the source object with updates + * @return the updated OnPremisesConditionalAccessSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnPremisesConditionalAccessSettings patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings) throws ClientException { + return send(HttpMethod.PATCH, sourceOnPremisesConditionalAccessSettings); + } + + /** + * Creates a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings, final ICallback callback) { + send(HttpMethod.POST, callback, newOnPremisesConditionalAccessSettings); + } + + /** + * Creates a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the new object to create + * @return the created OnPremisesConditionalAccessSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnPremisesConditionalAccessSettings post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException { + return send(HttpMethod.POST, newOnPremisesConditionalAccessSettings); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnPremisesConditionalAccessSettingsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnPremisesConditionalAccessSettingsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnPremisesConditionalAccessSettingsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnPremisesConditionalAccessSettingsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequestBuilder.java index 3b09121ebcd..ad20a62081e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequest; +import com.microsoft.graph.requests.extensions.OnPremisesConditionalAccessSettingsRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnPremisesConditionalAccessSettingsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the On Premises Conditional Access Settings Request Builder. */ -public class OnPremisesConditionalAccessSettingsRequestBuilder extends BaseOnPremisesConditionalAccessSettingsRequestBuilder implements IOnPremisesConditionalAccessSettingsRequestBuilder { +public class OnPremisesConditionalAccessSettingsRequestBuilder extends BaseRequestBuilder implements IOnPremisesConditionalAccessSettingsRequestBuilder { /** * The request builder for the OnPremisesConditionalAccessSettings @@ -25,4 +28,26 @@ public class OnPremisesConditionalAccessSettingsRequestBuilder extends BaseOnPre public OnPremisesConditionalAccessSettingsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnPremisesConditionalAccessSettingsRequest instance + */ + public IOnPremisesConditionalAccessSettingsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnPremisesConditionalAccessSettingsRequest instance + */ + public IOnPremisesConditionalAccessSettingsRequest buildRequest(final java.util.List requestOptions) { + return new OnPremisesConditionalAccessSettingsRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequest.java index 309a6fc3c1d..fa541a2b8ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntityBaseModelRequest; +import com.microsoft.graph.requests.extensions.OnenoteEntityBaseModelRequest; +import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteEntityBaseModelRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Base Model Request. */ -public class OnenoteEntityBaseModelRequest extends BaseOnenoteEntityBaseModelRequest implements IOnenoteEntityBaseModelRequest { - +public class OnenoteEntityBaseModelRequest extends BaseRequest implements IOnenoteEntityBaseModelRequest { + /** * The request for the OnenoteEntityBaseModel * @@ -41,4 +47,107 @@ public OnenoteEntityBaseModelRequest(final String requestUrl, public OnenoteEntityBaseModelRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteEntityBaseModel.class); } + + /** + * Gets the OnenoteEntityBaseModel from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenoteEntityBaseModel from the service + * + * @return the OnenoteEntityBaseModel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityBaseModel get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenoteEntityBaseModel with a source + * + * @param sourceOnenoteEntityBaseModel the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenoteEntityBaseModel); + } + + /** + * Patches this OnenoteEntityBaseModel with a source + * + * @param sourceOnenoteEntityBaseModel the source object with updates + * @return the updated OnenoteEntityBaseModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityBaseModel patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenoteEntityBaseModel); + } + + /** + * Creates a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenoteEntityBaseModel); + } + + /** + * Creates a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the new object to create + * @return the created OnenoteEntityBaseModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityBaseModel post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException { + return send(HttpMethod.POST, newOnenoteEntityBaseModel); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteEntityBaseModelRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteEntityBaseModelRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteEntityBaseModelRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteEntityBaseModelRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequestBuilder.java index 6bd9929384b..937bef3bf12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntityBaseModelRequest; +import com.microsoft.graph.requests.extensions.OnenoteEntityBaseModelRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteEntityBaseModelRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Base Model Request Builder. */ -public class OnenoteEntityBaseModelRequestBuilder extends BaseOnenoteEntityBaseModelRequestBuilder implements IOnenoteEntityBaseModelRequestBuilder { +public class OnenoteEntityBaseModelRequestBuilder extends BaseRequestBuilder implements IOnenoteEntityBaseModelRequestBuilder { /** * The request builder for the OnenoteEntityBaseModel @@ -25,4 +28,26 @@ public class OnenoteEntityBaseModelRequestBuilder extends BaseOnenoteEntityBaseM public OnenoteEntityBaseModelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteEntityBaseModelRequest instance + */ + public IOnenoteEntityBaseModelRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteEntityBaseModelRequest instance + */ + public IOnenoteEntityBaseModelRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteEntityBaseModelRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequest.java index b6b8b358c77..0f223ac1c61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntityHierarchyModelRequest; +import com.microsoft.graph.requests.extensions.OnenoteEntityHierarchyModelRequest; +import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteEntityHierarchyModelRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Hierarchy Model Request. */ -public class OnenoteEntityHierarchyModelRequest extends BaseOnenoteEntityHierarchyModelRequest implements IOnenoteEntityHierarchyModelRequest { - +public class OnenoteEntityHierarchyModelRequest extends BaseRequest implements IOnenoteEntityHierarchyModelRequest { + /** * The request for the OnenoteEntityHierarchyModel * @@ -41,4 +47,107 @@ public OnenoteEntityHierarchyModelRequest(final String requestUrl, public OnenoteEntityHierarchyModelRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteEntityHierarchyModel.class); } + + /** + * Gets the OnenoteEntityHierarchyModel from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenoteEntityHierarchyModel from the service + * + * @return the OnenoteEntityHierarchyModel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityHierarchyModel get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenoteEntityHierarchyModel with a source + * + * @param sourceOnenoteEntityHierarchyModel the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenoteEntityHierarchyModel); + } + + /** + * Patches this OnenoteEntityHierarchyModel with a source + * + * @param sourceOnenoteEntityHierarchyModel the source object with updates + * @return the updated OnenoteEntityHierarchyModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityHierarchyModel patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenoteEntityHierarchyModel); + } + + /** + * Creates a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenoteEntityHierarchyModel); + } + + /** + * Creates a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the new object to create + * @return the created OnenoteEntityHierarchyModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityHierarchyModel post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException { + return send(HttpMethod.POST, newOnenoteEntityHierarchyModel); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteEntityHierarchyModelRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteEntityHierarchyModelRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteEntityHierarchyModelRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteEntityHierarchyModelRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequestBuilder.java index 9ddbaea68d8..6b7bdc198a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntityHierarchyModelRequest; +import com.microsoft.graph.requests.extensions.OnenoteEntityHierarchyModelRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteEntityHierarchyModelRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Hierarchy Model Request Builder. */ -public class OnenoteEntityHierarchyModelRequestBuilder extends BaseOnenoteEntityHierarchyModelRequestBuilder implements IOnenoteEntityHierarchyModelRequestBuilder { +public class OnenoteEntityHierarchyModelRequestBuilder extends BaseRequestBuilder implements IOnenoteEntityHierarchyModelRequestBuilder { /** * The request builder for the OnenoteEntityHierarchyModel @@ -25,4 +28,26 @@ public class OnenoteEntityHierarchyModelRequestBuilder extends BaseOnenoteEntity public OnenoteEntityHierarchyModelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteEntityHierarchyModelRequest instance + */ + public IOnenoteEntityHierarchyModelRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteEntityHierarchyModelRequest instance + */ + public IOnenoteEntityHierarchyModelRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteEntityHierarchyModelRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequest.java index 8ea8a58fd53..dfb080a9804 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntitySchemaObjectModelRequest; +import com.microsoft.graph.requests.extensions.OnenoteEntitySchemaObjectModelRequest; +import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteEntitySchemaObjectModelRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Schema Object Model Request. */ -public class OnenoteEntitySchemaObjectModelRequest extends BaseOnenoteEntitySchemaObjectModelRequest implements IOnenoteEntitySchemaObjectModelRequest { - +public class OnenoteEntitySchemaObjectModelRequest extends BaseRequest implements IOnenoteEntitySchemaObjectModelRequest { + /** * The request for the OnenoteEntitySchemaObjectModel * @@ -41,4 +47,107 @@ public OnenoteEntitySchemaObjectModelRequest(final String requestUrl, public OnenoteEntitySchemaObjectModelRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteEntitySchemaObjectModel.class); } + + /** + * Gets the OnenoteEntitySchemaObjectModel from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenoteEntitySchemaObjectModel from the service + * + * @return the OnenoteEntitySchemaObjectModel from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntitySchemaObjectModel get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenoteEntitySchemaObjectModel with a source + * + * @param sourceOnenoteEntitySchemaObjectModel the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenoteEntitySchemaObjectModel); + } + + /** + * Patches this OnenoteEntitySchemaObjectModel with a source + * + * @param sourceOnenoteEntitySchemaObjectModel the source object with updates + * @return the updated OnenoteEntitySchemaObjectModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntitySchemaObjectModel patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenoteEntitySchemaObjectModel); + } + + /** + * Creates a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenoteEntitySchemaObjectModel); + } + + /** + * Creates a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the new object to create + * @return the created OnenoteEntitySchemaObjectModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntitySchemaObjectModel post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException { + return send(HttpMethod.POST, newOnenoteEntitySchemaObjectModel); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteEntitySchemaObjectModelRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteEntitySchemaObjectModelRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteEntitySchemaObjectModelRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteEntitySchemaObjectModelRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequestBuilder.java index 168b884af53..244db90c1e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteEntitySchemaObjectModelRequest; +import com.microsoft.graph.requests.extensions.OnenoteEntitySchemaObjectModelRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteEntitySchemaObjectModelRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Entity Schema Object Model Request Builder. */ -public class OnenoteEntitySchemaObjectModelRequestBuilder extends BaseOnenoteEntitySchemaObjectModelRequestBuilder implements IOnenoteEntitySchemaObjectModelRequestBuilder { +public class OnenoteEntitySchemaObjectModelRequestBuilder extends BaseRequestBuilder implements IOnenoteEntitySchemaObjectModelRequestBuilder { /** * The request builder for the OnenoteEntitySchemaObjectModel @@ -25,4 +28,26 @@ public class OnenoteEntitySchemaObjectModelRequestBuilder extends BaseOnenoteEnt public OnenoteEntitySchemaObjectModelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteEntitySchemaObjectModelRequest instance + */ + public IOnenoteEntitySchemaObjectModelRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteEntitySchemaObjectModelRequest instance + */ + public IOnenoteEntitySchemaObjectModelRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteEntitySchemaObjectModelRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionPage.java index 08c0dec1a45..41a4931d330 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenoteOperationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation Collection Page. */ -public class OnenoteOperationCollectionPage extends BaseOnenoteOperationCollectionPage implements IOnenoteOperationCollectionPage { +public class OnenoteOperationCollectionPage extends BaseCollectionPage implements IOnenoteOperationCollectionPage { /** - * A collection page for Onenote. + * A collection page for OnenoteOperation * - * @param response the serialized BaseOnenoteOperationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized OnenoteOperationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public OnenoteOperationCollectionPage(final BaseOnenoteOperationCollectionResponse response, final IOnenoteOperationCollectionRequestBuilder builder) { - super(response, builder); + public OnenoteOperationCollectionPage(final OnenoteOperationCollectionResponse response, final IOnenoteOperationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequest.java index f7bfb794a01..bc15b407890 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation Collection Request. */ -public class OnenoteOperationCollectionRequest extends BaseOnenoteOperationCollectionRequest implements IOnenoteOperationCollectionRequest { +public class OnenoteOperationCollectionRequest extends BaseCollectionRequest implements IOnenoteOperationCollectionRequest { /** - * The request for this collection of Onenote + * The request builder for this collection of OnenoteOperation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public OnenoteOperationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public OnenoteOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, OnenoteOperationCollectionResponse.class, IOnenoteOperationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOnenoteOperationCollectionPage get() throws ClientException { + final OnenoteOperationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final OnenoteOperation newOnenoteOperation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new OnenoteOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenoteOperation, callback); + } + + public OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new OnenoteOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenoteOperation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteOperationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (OnenoteOperationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteOperationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (OnenoteOperationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenoteOperationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (OnenoteOperationCollectionRequest)this; + } + + public IOnenoteOperationCollectionPage buildFromResponse(final OnenoteOperationCollectionResponse response) { + final IOnenoteOperationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OnenoteOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final OnenoteOperationCollectionPage page = new OnenoteOperationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequestBuilder.java index d9c8f4c1ffe..45f1449b7b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation Collection Request Builder. */ -public class OnenoteOperationCollectionRequestBuilder extends BaseOnenoteOperationCollectionRequestBuilder implements IOnenoteOperationCollectionRequestBuilder { +public class OnenoteOperationCollectionRequestBuilder extends BaseRequestBuilder implements IOnenoteOperationCollectionRequestBuilder { /** * The request builder for this collection of Onenote @@ -25,4 +33,18 @@ public class OnenoteOperationCollectionRequestBuilder extends BaseOnenoteOperati public OnenoteOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOnenoteOperationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOnenoteOperationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IOnenoteOperationRequestBuilder byId(final String id) { + return new OnenoteOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionResponse.java new file mode 100644 index 00000000000..8db7d38b437 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteOperation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Onenote Operation Collection Response. + */ +public class OnenoteOperationCollectionResponse implements IJsonBackedObject { + + /** + * The list of OnenoteOperation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequest.java index 0c6e3b33ae0..aedf1201b45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteOperationRequest; +import com.microsoft.graph.requests.extensions.OnenoteOperationRequest; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation Request. */ -public class OnenoteOperationRequest extends BaseOnenoteOperationRequest implements IOnenoteOperationRequest { - +public class OnenoteOperationRequest extends BaseRequest implements IOnenoteOperationRequest { + /** * The request for the OnenoteOperation * @@ -26,4 +32,107 @@ public class OnenoteOperationRequest extends BaseOnenoteOperationRequest impleme public OnenoteOperationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteOperation.class); } + + /** + * Gets the OnenoteOperation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenoteOperation from the service + * + * @return the OnenoteOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteOperation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenoteOperation with a source + * + * @param sourceOnenoteOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenoteOperation sourceOnenoteOperation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenoteOperation); + } + + /** + * Patches this OnenoteOperation with a source + * + * @param sourceOnenoteOperation the source object with updates + * @return the updated OnenoteOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteOperation patch(final OnenoteOperation sourceOnenoteOperation) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenoteOperation); + } + + /** + * Creates a OnenoteOperation with a new object + * + * @param newOnenoteOperation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnenoteOperation newOnenoteOperation, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenoteOperation); + } + + /** + * Creates a OnenoteOperation with a new object + * + * @param newOnenoteOperation the new object to create + * @return the created OnenoteOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException { + return send(HttpMethod.POST, newOnenoteOperation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteOperationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteOperationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteOperationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteOperationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequestBuilder.java index 98041e1a065..a875896016b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteOperationRequest; +import com.microsoft.graph.requests.extensions.OnenoteOperationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteOperationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Operation Request Builder. */ -public class OnenoteOperationRequestBuilder extends BaseOnenoteOperationRequestBuilder implements IOnenoteOperationRequestBuilder { +public class OnenoteOperationRequestBuilder extends BaseRequestBuilder implements IOnenoteOperationRequestBuilder { /** * The request builder for the OnenoteOperation @@ -25,4 +28,26 @@ public class OnenoteOperationRequestBuilder extends BaseOnenoteOperationRequestB public OnenoteOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteOperationRequest instance + */ + public IOnenoteOperationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteOperationRequest instance + */ + public IOnenoteOperationRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteOperationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionPage.java index fade0a9bd20..6fec9952d9a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePage; +import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenotePageCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenotePageCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Collection Page. */ -public class OnenotePageCollectionPage extends BaseOnenotePageCollectionPage implements IOnenotePageCollectionPage { +public class OnenotePageCollectionPage extends BaseCollectionPage implements IOnenotePageCollectionPage { /** - * A collection page for OnenoteSection. + * A collection page for OnenotePage * - * @param response the serialized BaseOnenotePageCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized OnenotePageCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public OnenotePageCollectionPage(final BaseOnenotePageCollectionResponse response, final IOnenotePageCollectionRequestBuilder builder) { - super(response, builder); + public OnenotePageCollectionPage(final OnenotePageCollectionResponse response, final IOnenotePageCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequest.java index ba2ee08daf8..2fb71a2d223 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Collection Request. */ -public class OnenotePageCollectionRequest extends BaseOnenotePageCollectionRequest implements IOnenotePageCollectionRequest { +public class OnenotePageCollectionRequest extends BaseCollectionRequest implements IOnenotePageCollectionRequest { /** - * The request for this collection of OnenoteSection + * The request builder for this collection of OnenotePage * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public OnenotePageCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public OnenotePageCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, OnenotePageCollectionResponse.class, IOnenotePageCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOnenotePageCollectionPage get() throws ClientException { + final OnenotePageCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final byte[] newOnenotePage, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new OnenotePageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenotePage, callback); + } + + public OnenotePage post(final byte[] newOnenotePage) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new OnenotePageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenotePage); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenotePageCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (OnenotePageCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenotePageCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (OnenotePageCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenotePageCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (OnenotePageCollectionRequest)this; + } + + public IOnenotePageCollectionPage buildFromResponse(final OnenotePageCollectionResponse response) { + final IOnenotePageCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OnenotePageCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final OnenotePageCollectionPage page = new OnenotePageCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequestBuilder.java index 124e65405f6..46d319f55e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Collection Request Builder. */ -public class OnenotePageCollectionRequestBuilder extends BaseOnenotePageCollectionRequestBuilder implements IOnenotePageCollectionRequestBuilder { +public class OnenotePageCollectionRequestBuilder extends BaseRequestBuilder implements IOnenotePageCollectionRequestBuilder { /** * The request builder for this collection of OnenoteSection @@ -25,4 +33,18 @@ public class OnenotePageCollectionRequestBuilder extends BaseOnenotePageCollecti public OnenotePageCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOnenotePageCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOnenotePageCollectionRequest buildRequest(final java.util.List requestOptions) { + return new OnenotePageCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IOnenotePageRequestBuilder byId(final String id) { + return new OnenotePageRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionResponse.java new file mode 100644 index 00000000000..fa5ca875fab --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePage; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Onenote Page Collection Response. + */ +public class OnenotePageCollectionResponse implements IJsonBackedObject { + + /** + * The list of OnenotePage within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequest.java index a80a004f8c2..16a3d4c964a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePageCopyToSectionBody; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; +import com.microsoft.graph.requests.extensions.OnenotePageCopyToSectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageCopyToSectionRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Copy To Section Request. */ -public class OnenotePageCopyToSectionRequest extends BaseOnenotePageCopyToSectionRequest implements IOnenotePageCopyToSectionRequest { +public class OnenotePageCopyToSectionRequest extends BaseRequest implements IOnenotePageCopyToSectionRequest { + protected final OnenotePageCopyToSectionBody body; /** * The request for this OnenotePageCopyToSection @@ -23,6 +32,49 @@ public class OnenotePageCopyToSectionRequest extends BaseOnenotePageCopyToSectio * @param requestOptions the options for this request */ public OnenotePageCopyToSectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OnenoteOperation.class); + body = new OnenotePageCopyToSectionBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public OnenoteOperation post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenotePageCopyToSectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenotePageCopyToSectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenotePageCopyToSectionRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (OnenotePageCopyToSectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenotePageCopyToSectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenotePageCopyToSectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequestBuilder.java index 059ade1c239..e60d39efe0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageCopyToSectionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; +import com.microsoft.graph.requests.extensions.OnenotePageCopyToSectionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageCopyToSectionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Copy To Section Request Builder. */ -public class OnenotePageCopyToSectionRequestBuilder extends BaseOnenotePageCopyToSectionRequestBuilder implements IOnenotePageCopyToSectionRequestBuilder { +public class OnenotePageCopyToSectionRequestBuilder extends BaseActionRequestBuilder implements IOnenotePageCopyToSectionRequestBuilder { /** * The request builder for this OnenotePageCopyToSection @@ -27,6 +32,51 @@ public class OnenotePageCopyToSectionRequestBuilder extends BaseOnenotePageCopyT * @param siteId the siteId */ public OnenotePageCopyToSectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String id, final String groupId, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions, id, groupId, siteCollectionId, siteId); + super(requestUrl, client, requestOptions); + bodyParams.put("id", id); + bodyParams.put("groupId", groupId); + bodyParams.put("siteCollectionId", siteCollectionId); + bodyParams.put("siteId", siteId); + } + + /** + * Creates the IOnenotePageCopyToSectionRequest + * + * @return the IOnenotePageCopyToSectionRequest instance + */ + public IOnenotePageCopyToSectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IOnenotePageCopyToSectionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IOnenotePageCopyToSectionRequest instance + */ + public IOnenotePageCopyToSectionRequest buildRequest(final java.util.List requestOptions) { + OnenotePageCopyToSectionRequest request = new OnenotePageCopyToSectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("id")) { + request.body.id = getParameter("id"); + } + + if (hasParameter("groupId")) { + request.body.groupId = getParameter("groupId"); + } + + if (hasParameter("siteCollectionId")) { + request.body.siteCollectionId = getParameter("siteCollectionId"); + } + + if (hasParameter("siteId")) { + request.body.siteId = getParameter("siteId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequest.java index f1923dc2fb9..a7ad7a6b4c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePageOnenotePatchContentBody; +import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; +import com.microsoft.graph.requests.extensions.OnenotePageOnenotePatchContentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageOnenotePatchContentRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Onenote Patch Content Request. */ -public class OnenotePageOnenotePatchContentRequest extends BaseOnenotePageOnenotePatchContentRequest implements IOnenotePageOnenotePatchContentRequest { +public class OnenotePageOnenotePatchContentRequest extends BaseRequest implements IOnenotePageOnenotePatchContentRequest { + protected final OnenotePageOnenotePatchContentBody body; /** * The request for this OnenotePageOnenotePatchContent @@ -23,6 +31,49 @@ public class OnenotePageOnenotePatchContentRequest extends BaseOnenotePageOnenot * @param requestOptions the options for this request */ public OnenotePageOnenotePatchContentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new OnenotePageOnenotePatchContentBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenotePageOnenotePatchContentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenotePageOnenotePatchContentRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenotePageOnenotePatchContentRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (OnenotePageOnenotePatchContentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenotePageOnenotePatchContentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenotePageOnenotePatchContentRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequestBuilder.java index d117a6070f8..1d1a568e223 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageOnenotePatchContentRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; +import com.microsoft.graph.requests.extensions.OnenotePageOnenotePatchContentRequest; +import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageOnenotePatchContentRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Onenote Patch Content Request Builder. */ -public class OnenotePageOnenotePatchContentRequestBuilder extends BaseOnenotePageOnenotePatchContentRequestBuilder implements IOnenotePageOnenotePatchContentRequestBuilder { +public class OnenotePageOnenotePatchContentRequestBuilder extends BaseActionRequestBuilder implements IOnenotePageOnenotePatchContentRequestBuilder { /** * The request builder for this OnenotePageOnenotePatchContent @@ -25,6 +30,36 @@ public class OnenotePageOnenotePatchContentRequestBuilder extends BaseOnenotePag * @param commands the commands */ public OnenotePageOnenotePatchContentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List commands) { - super(requestUrl, client, requestOptions, commands); + super(requestUrl, client, requestOptions); + bodyParams.put("commands", commands); + } + + /** + * Creates the IOnenotePageOnenotePatchContentRequest + * + * @return the IOnenotePageOnenotePatchContentRequest instance + */ + public IOnenotePageOnenotePatchContentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IOnenotePageOnenotePatchContentRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IOnenotePageOnenotePatchContentRequest instance + */ + public IOnenotePageOnenotePatchContentRequest buildRequest(final java.util.List requestOptions) { + OnenotePageOnenotePatchContentRequest request = new OnenotePageOnenotePatchContentRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("commands")) { + request.body.commands = getParameter("commands"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequest.java index 8208b7c9d4a..9dc32ad3890 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenotePagePreview; +import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; +import com.microsoft.graph.requests.extensions.OnenotePagePreviewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePagePreviewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Preview Request. */ -public class OnenotePagePreviewRequest extends BaseOnenotePagePreviewRequest implements IOnenotePagePreviewRequest { +public class OnenotePagePreviewRequest extends BaseRequest implements IOnenotePagePreviewRequest { /** * The request for this OnenotePagePreview @@ -23,6 +31,48 @@ public class OnenotePagePreviewRequest extends BaseOnenotePagePreviewRequest imp * @param requestOptions the options for this request */ public OnenotePagePreviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OnenotePagePreview.class); } + + /** + * Gets the OnenotePagePreview + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenotePagePreview + * + * @return the OnenotePagePreview + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public OnenotePagePreview get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenotePagePreviewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenotePagePreviewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenotePagePreviewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenotePagePreviewRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequestBuilder.java index c6beb8dde4b..a6831e5f405 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePagePreviewRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; +import com.microsoft.graph.requests.extensions.OnenotePagePreviewRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePagePreviewRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Preview Request Builder. */ -public class OnenotePagePreviewRequestBuilder extends BaseOnenotePagePreviewRequestBuilder implements IOnenotePagePreviewRequestBuilder { +public class OnenotePagePreviewRequestBuilder extends BaseFunctionRequestBuilder implements IOnenotePagePreviewRequestBuilder { /** * The request builder for this OnenotePagePreview @@ -25,4 +30,33 @@ public class OnenotePagePreviewRequestBuilder extends BaseOnenotePagePreviewRequ public OnenotePagePreviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IOnenotePagePreviewRequest + * + * @return the IOnenotePagePreviewRequest instance + */ + public IOnenotePagePreviewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IOnenotePagePreviewRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IOnenotePagePreviewRequest instance + */ + public IOnenotePagePreviewRequest buildRequest(final java.util.List requestOptions) { + OnenotePagePreviewRequest request = new OnenotePagePreviewRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequest.java index e0de9cc6abe..ab240d38359 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageRequest; +import com.microsoft.graph.requests.extensions.OnenotePageRequest; +import com.microsoft.graph.models.extensions.OnenotePage; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenotePage; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Request. */ -public class OnenotePageRequest extends BaseOnenotePageRequest implements IOnenotePageRequest { - +public class OnenotePageRequest extends BaseRequest implements IOnenotePageRequest { + /** * The request for the OnenotePage * @@ -26,4 +32,107 @@ public class OnenotePageRequest extends BaseOnenotePageRequest implements IOneno public OnenotePageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenotePage.class); } + + /** + * Gets the OnenotePage from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenotePage from the service + * + * @return the OnenotePage from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenotePage get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenotePage with a source + * + * @param sourceOnenotePage the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenotePage sourceOnenotePage, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenotePage); + } + + /** + * Patches this OnenotePage with a source + * + * @param sourceOnenotePage the source object with updates + * @return the updated OnenotePage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenotePage patch(final OnenotePage sourceOnenotePage) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenotePage); + } + + /** + * Creates a OnenotePage with a new object + * + * @param newOnenotePage the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final byte[] newOnenotePage, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenotePage); + } + + /** + * Creates a OnenotePage with a new object + * + * @param newOnenotePage the new object to create + * @return the created OnenotePage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenotePage post(final byte[] newOnenotePage) throws ClientException { + return send(HttpMethod.POST, newOnenotePage); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenotePageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenotePageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenotePageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenotePageRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequestBuilder.java index 9690650cc3e..a0199703c49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequestBuilder.java @@ -3,17 +3,33 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageRequest; +import com.microsoft.graph.requests.extensions.OnenotePageRequest; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageStreamRequestBuilder; +import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; +import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageOnenotePatchContentRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageCopyToSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePagePreviewRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Request Builder. */ -public class OnenotePageRequestBuilder extends BaseOnenotePageRequestBuilder implements IOnenotePageRequestBuilder { +public class OnenotePageRequestBuilder extends BaseRequestBuilder implements IOnenotePageRequestBuilder { /** * The request builder for the OnenotePage @@ -25,4 +41,60 @@ public class OnenotePageRequestBuilder extends BaseOnenotePageRequestBuilder imp public OnenotePageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenotePageRequest instance + */ + public IOnenotePageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenotePageRequest instance + */ + public IOnenotePageRequest buildRequest(final java.util.List requestOptions) { + return new OnenotePageRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for OnenoteSection + * + * @return the IOnenoteSectionRequestBuilder instance + */ + public IOnenoteSectionRequestBuilder parentSection() { + return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("parentSection"), getClient(), null); + } + + /** + * Gets the request builder for Notebook + * + * @return the INotebookRequestBuilder instance + */ + public INotebookRequestBuilder parentNotebook() { + return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null); + } + + public IOnenotePageStreamRequestBuilder content() { + return new OnenotePageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); + } + + public IOnenotePageOnenotePatchContentRequestBuilder onenotePatchContent(final java.util.List commands) { + return new OnenotePageOnenotePatchContentRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.onenotePatchContent"), getClient(), null, commands); + } + + public IOnenotePageCopyToSectionRequestBuilder copyToSection(final String id, final String groupId, final String siteCollectionId, final String siteId) { + return new OnenotePageCopyToSectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToSection"), getClient(), null, id, groupId, siteCollectionId, siteId); + } + + public IOnenotePagePreviewRequestBuilder preview() { + return new OnenotePagePreviewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.preview"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequest.java index 2e8975bdddc..e5e5b77f9d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenotePage; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Stream Request. */ -public class OnenotePageStreamRequest extends BaseOnenotePageStreamRequest implements IOnenotePageStreamRequest { +public class OnenotePageStreamRequest extends BaseStreamRequest implements IOnenotePageStreamRequest { /** * The request for the OnenotePageStream @@ -26,4 +35,44 @@ public class OnenotePageStreamRequest extends BaseOnenotePageStreamRequest imple public OnenotePageStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenotePage.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public OnenotePage put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequestBuilder.java index b60927829f4..be403c1115c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageStreamRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequest; +import com.microsoft.graph.requests.extensions.OnenotePageStreamRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenotePageStreamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Page Stream Request Builder. */ -public class OnenotePageStreamRequestBuilder extends BaseOnenotePageStreamRequestBuilder implements IOnenotePageStreamRequestBuilder { +public class OnenotePageStreamRequestBuilder extends BaseRequestBuilder implements IOnenotePageStreamRequestBuilder { /** * The request builder for the OnenotePageStream @@ -25,4 +28,26 @@ public class OnenotePageStreamRequestBuilder extends BaseOnenotePageStreamReques public OnenotePageStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenotePageStreamRequest instance + */ + public IOnenotePageStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenotePageStreamRequest instance + */ + public IOnenotePageStreamRequest buildRequest(final java.util.List requestOptions) { + return new OnenotePageStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequest.java index 3316d1193d6..55913a60c48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteRequest; +import com.microsoft.graph.requests.extensions.OnenoteRequest; +import com.microsoft.graph.models.extensions.Onenote; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Onenote; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Request. */ -public class OnenoteRequest extends BaseOnenoteRequest implements IOnenoteRequest { - +public class OnenoteRequest extends BaseRequest implements IOnenoteRequest { + /** * The request for the Onenote * @@ -26,4 +32,107 @@ public class OnenoteRequest extends BaseOnenoteRequest implements IOnenoteReques public OnenoteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Onenote.class); } + + /** + * Gets the Onenote from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Onenote from the service + * + * @return the Onenote from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Onenote get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Onenote with a source + * + * @param sourceOnenote the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Onenote sourceOnenote, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenote); + } + + /** + * Patches this Onenote with a source + * + * @param sourceOnenote the source object with updates + * @return the updated Onenote + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Onenote patch(final Onenote sourceOnenote) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenote); + } + + /** + * Creates a Onenote with a new object + * + * @param newOnenote the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Onenote newOnenote, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenote); + } + + /** + * Creates a Onenote with a new object + * + * @param newOnenote the new object to create + * @return the created Onenote + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Onenote post(final Onenote newOnenote) throws ClientException { + return send(HttpMethod.POST, newOnenote); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequestBuilder.java index e6a5f3afe8d..0ecb140e166 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequestBuilder.java @@ -3,17 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteRequest; +import com.microsoft.graph.requests.extensions.OnenoteRequest; +import com.microsoft.graph.requests.extensions.INotebookCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.NotebookCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteResourceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteResourceRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteResourceRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteOperationRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Request Builder. */ -public class OnenoteRequestBuilder extends BaseOnenoteRequestBuilder implements IOnenoteRequestBuilder { +public class OnenoteRequestBuilder extends BaseRequestBuilder implements IOnenoteRequestBuilder { /** * The request builder for the Onenote @@ -25,4 +52,68 @@ public class OnenoteRequestBuilder extends BaseOnenoteRequestBuilder implements public OnenoteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteRequest instance + */ + public IOnenoteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteRequest instance + */ + public IOnenoteRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public INotebookCollectionRequestBuilder notebooks() { + return new NotebookCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("notebooks"), getClient(), null); + } + + public INotebookRequestBuilder notebooks(final String id) { + return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("notebooks") + "/" + id, getClient(), null); + } + public IOnenoteSectionCollectionRequestBuilder sections() { + return new OnenoteSectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections"), getClient(), null); + } + + public IOnenoteSectionRequestBuilder sections(final String id) { + return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections") + "/" + id, getClient(), null); + } + public ISectionGroupCollectionRequestBuilder sectionGroups() { + return new SectionGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups"), getClient(), null); + } + + public ISectionGroupRequestBuilder sectionGroups(final String id) { + return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups") + "/" + id, getClient(), null); + } + public IOnenotePageCollectionRequestBuilder pages() { + return new OnenotePageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("pages"), getClient(), null); + } + + public IOnenotePageRequestBuilder pages(final String id) { + return new OnenotePageRequestBuilder(getRequestUrlWithAdditionalSegment("pages") + "/" + id, getClient(), null); + } + public IOnenoteResourceCollectionRequestBuilder resources() { + return new OnenoteResourceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("resources"), getClient(), null); + } + + public IOnenoteResourceRequestBuilder resources(final String id) { + return new OnenoteResourceRequestBuilder(getRequestUrlWithAdditionalSegment("resources") + "/" + id, getClient(), null); + } + public IOnenoteOperationCollectionRequestBuilder operations() { + return new OnenoteOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null); + } + + public IOnenoteOperationRequestBuilder operations(final String id) { + return new OnenoteOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionPage.java index a627a7c45d3..79ce837449d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteResource; +import com.microsoft.graph.requests.extensions.IOnenoteResourceCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Collection Page. */ -public class OnenoteResourceCollectionPage extends BaseOnenoteResourceCollectionPage implements IOnenoteResourceCollectionPage { +public class OnenoteResourceCollectionPage extends BaseCollectionPage implements IOnenoteResourceCollectionPage { /** - * A collection page for Onenote. + * A collection page for OnenoteResource * - * @param response the serialized BaseOnenoteResourceCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized OnenoteResourceCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public OnenoteResourceCollectionPage(final BaseOnenoteResourceCollectionResponse response, final IOnenoteResourceCollectionRequestBuilder builder) { - super(response, builder); + public OnenoteResourceCollectionPage(final OnenoteResourceCollectionResponse response, final IOnenoteResourceCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequest.java index 2b645bf1dc9..67831e2340f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Collection Request. */ -public class OnenoteResourceCollectionRequest extends BaseOnenoteResourceCollectionRequest implements IOnenoteResourceCollectionRequest { +public class OnenoteResourceCollectionRequest extends BaseCollectionRequest implements IOnenoteResourceCollectionRequest { /** - * The request for this collection of Onenote + * The request builder for this collection of OnenoteResource * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public OnenoteResourceCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public OnenoteResourceCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, OnenoteResourceCollectionResponse.class, IOnenoteResourceCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOnenoteResourceCollectionPage get() throws ClientException { + final OnenoteResourceCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final OnenoteResource newOnenoteResource, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new OnenoteResourceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenoteResource, callback); + } + + public OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new OnenoteResourceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenoteResource); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteResourceCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (OnenoteResourceCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteResourceCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (OnenoteResourceCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenoteResourceCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (OnenoteResourceCollectionRequest)this; + } + + public IOnenoteResourceCollectionPage buildFromResponse(final OnenoteResourceCollectionResponse response) { + final IOnenoteResourceCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OnenoteResourceCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final OnenoteResourceCollectionPage page = new OnenoteResourceCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequestBuilder.java index 4b98a0ba635..427267b93f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Collection Request Builder. */ -public class OnenoteResourceCollectionRequestBuilder extends BaseOnenoteResourceCollectionRequestBuilder implements IOnenoteResourceCollectionRequestBuilder { +public class OnenoteResourceCollectionRequestBuilder extends BaseRequestBuilder implements IOnenoteResourceCollectionRequestBuilder { /** * The request builder for this collection of Onenote @@ -25,4 +33,18 @@ public class OnenoteResourceCollectionRequestBuilder extends BaseOnenoteResource public OnenoteResourceCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOnenoteResourceCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOnenoteResourceCollectionRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteResourceCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IOnenoteResourceRequestBuilder byId(final String id) { + return new OnenoteResourceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionResponse.java new file mode 100644 index 00000000000..523834f31cb --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteResource; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Onenote Resource Collection Response. + */ +public class OnenoteResourceCollectionResponse implements IJsonBackedObject { + + /** + * The list of OnenoteResource within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequest.java index 625b8f9ddab..d904e9cf52d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteResourceRequest; +import com.microsoft.graph.requests.extensions.OnenoteResourceRequest; +import com.microsoft.graph.models.extensions.OnenoteResource; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteResource; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Request. */ -public class OnenoteResourceRequest extends BaseOnenoteResourceRequest implements IOnenoteResourceRequest { - +public class OnenoteResourceRequest extends BaseRequest implements IOnenoteResourceRequest { + /** * The request for the OnenoteResource * @@ -26,4 +32,107 @@ public class OnenoteResourceRequest extends BaseOnenoteResourceRequest implement public OnenoteResourceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteResource.class); } + + /** + * Gets the OnenoteResource from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenoteResource from the service + * + * @return the OnenoteResource from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteResource get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenoteResource with a source + * + * @param sourceOnenoteResource the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenoteResource sourceOnenoteResource, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenoteResource); + } + + /** + * Patches this OnenoteResource with a source + * + * @param sourceOnenoteResource the source object with updates + * @return the updated OnenoteResource + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteResource patch(final OnenoteResource sourceOnenoteResource) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenoteResource); + } + + /** + * Creates a OnenoteResource with a new object + * + * @param newOnenoteResource the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnenoteResource newOnenoteResource, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenoteResource); + } + + /** + * Creates a OnenoteResource with a new object + * + * @param newOnenoteResource the new object to create + * @return the created OnenoteResource + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException { + return send(HttpMethod.POST, newOnenoteResource); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteResourceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteResourceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteResourceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteResourceRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequestBuilder.java index a59219d12c4..cf4d6bcad81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteResourceRequest; +import com.microsoft.graph.requests.extensions.OnenoteResourceRequest; +import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteResourceStreamRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Request Builder. */ -public class OnenoteResourceRequestBuilder extends BaseOnenoteResourceRequestBuilder implements IOnenoteResourceRequestBuilder { +public class OnenoteResourceRequestBuilder extends BaseRequestBuilder implements IOnenoteResourceRequestBuilder { /** * The request builder for the OnenoteResource @@ -25,4 +30,30 @@ public class OnenoteResourceRequestBuilder extends BaseOnenoteResourceRequestBui public OnenoteResourceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteResourceRequest instance + */ + public IOnenoteResourceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteResourceRequest instance + */ + public IOnenoteResourceRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteResourceRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IOnenoteResourceStreamRequestBuilder content() { + return new OnenoteResourceStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequest.java index 69e5d5c8d13..bfec842da42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteResource; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Stream Request. */ -public class OnenoteResourceStreamRequest extends BaseOnenoteResourceStreamRequest implements IOnenoteResourceStreamRequest { +public class OnenoteResourceStreamRequest extends BaseStreamRequest implements IOnenoteResourceStreamRequest { /** * The request for the OnenoteResourceStream @@ -26,4 +35,44 @@ public class OnenoteResourceStreamRequest extends BaseOnenoteResourceStreamReque public OnenoteResourceStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteResource.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public OnenoteResource put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequestBuilder.java index 2448b808234..d78f801a5a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceStreamRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequest; +import com.microsoft.graph.requests.extensions.OnenoteResourceStreamRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteResourceStreamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Resource Stream Request Builder. */ -public class OnenoteResourceStreamRequestBuilder extends BaseOnenoteResourceStreamRequestBuilder implements IOnenoteResourceStreamRequestBuilder { +public class OnenoteResourceStreamRequestBuilder extends BaseRequestBuilder implements IOnenoteResourceStreamRequestBuilder { /** * The request builder for the OnenoteResourceStream @@ -25,4 +28,26 @@ public class OnenoteResourceStreamRequestBuilder extends BaseOnenoteResourceStre public OnenoteResourceStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteResourceStreamRequest instance + */ + public IOnenoteResourceStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteResourceStreamRequest instance + */ + public IOnenoteResourceStreamRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteResourceStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionPage.java index 860b0f2dd58..dd907a6cc32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionPage; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Collection Page. */ -public class OnenoteSectionCollectionPage extends BaseOnenoteSectionCollectionPage implements IOnenoteSectionCollectionPage { +public class OnenoteSectionCollectionPage extends BaseCollectionPage implements IOnenoteSectionCollectionPage { /** - * A collection page for SectionGroup. + * A collection page for OnenoteSection * - * @param response the serialized BaseOnenoteSectionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized OnenoteSectionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public OnenoteSectionCollectionPage(final BaseOnenoteSectionCollectionResponse response, final IOnenoteSectionCollectionRequestBuilder builder) { - super(response, builder); + public OnenoteSectionCollectionPage(final OnenoteSectionCollectionResponse response, final IOnenoteSectionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequest.java index 1d0ca97efe2..3557cabce6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Collection Request. */ -public class OnenoteSectionCollectionRequest extends BaseOnenoteSectionCollectionRequest implements IOnenoteSectionCollectionRequest { +public class OnenoteSectionCollectionRequest extends BaseCollectionRequest implements IOnenoteSectionCollectionRequest { /** - * The request for this collection of SectionGroup + * The request builder for this collection of OnenoteSection * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public OnenoteSectionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public OnenoteSectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, OnenoteSectionCollectionResponse.class, IOnenoteSectionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOnenoteSectionCollectionPage get() throws ClientException { + final OnenoteSectionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final OnenoteSection newOnenoteSection, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new OnenoteSectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenoteSection, callback); + } + + public OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new OnenoteSectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOnenoteSection); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteSectionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (OnenoteSectionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteSectionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (OnenoteSectionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenoteSectionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (OnenoteSectionCollectionRequest)this; + } + + public IOnenoteSectionCollectionPage buildFromResponse(final OnenoteSectionCollectionResponse response) { + final IOnenoteSectionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OnenoteSectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final OnenoteSectionCollectionPage page = new OnenoteSectionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequestBuilder.java index 4c3234a4027..f2b6c27dd59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Collection Request Builder. */ -public class OnenoteSectionCollectionRequestBuilder extends BaseOnenoteSectionCollectionRequestBuilder implements IOnenoteSectionCollectionRequestBuilder { +public class OnenoteSectionCollectionRequestBuilder extends BaseRequestBuilder implements IOnenoteSectionCollectionRequestBuilder { /** * The request builder for this collection of SectionGroup @@ -25,4 +33,18 @@ public class OnenoteSectionCollectionRequestBuilder extends BaseOnenoteSectionCo public OnenoteSectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOnenoteSectionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOnenoteSectionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteSectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IOnenoteSectionRequestBuilder byId(final String id) { + return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionResponse.java new file mode 100644 index 00000000000..7f09fadba7e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteSection; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Onenote Section Collection Response. + */ +public class OnenoteSectionCollectionResponse implements IJsonBackedObject { + + /** + * The list of OnenoteSection within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequest.java index 4ab1184eee0..866e54497dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteSectionCopyToNotebookBody; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; +import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToNotebookRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCopyToNotebookRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Copy To Notebook Request. */ -public class OnenoteSectionCopyToNotebookRequest extends BaseOnenoteSectionCopyToNotebookRequest implements IOnenoteSectionCopyToNotebookRequest { +public class OnenoteSectionCopyToNotebookRequest extends BaseRequest implements IOnenoteSectionCopyToNotebookRequest { + protected final OnenoteSectionCopyToNotebookBody body; /** * The request for this OnenoteSectionCopyToNotebook @@ -23,6 +32,49 @@ public class OnenoteSectionCopyToNotebookRequest extends BaseOnenoteSectionCopyT * @param requestOptions the options for this request */ public OnenoteSectionCopyToNotebookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OnenoteOperation.class); + body = new OnenoteSectionCopyToNotebookBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public OnenoteOperation post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteSectionCopyToNotebookRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteSectionCopyToNotebookRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenoteSectionCopyToNotebookRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (OnenoteSectionCopyToNotebookRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteSectionCopyToNotebookRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteSectionCopyToNotebookRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequestBuilder.java index 9da84ab9600..049103a6531 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToNotebookRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; +import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToNotebookRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCopyToNotebookRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Copy To Notebook Request Builder. */ -public class OnenoteSectionCopyToNotebookRequestBuilder extends BaseOnenoteSectionCopyToNotebookRequestBuilder implements IOnenoteSectionCopyToNotebookRequestBuilder { +public class OnenoteSectionCopyToNotebookRequestBuilder extends BaseActionRequestBuilder implements IOnenoteSectionCopyToNotebookRequestBuilder { /** * The request builder for this OnenoteSectionCopyToNotebook @@ -28,6 +33,56 @@ public class OnenoteSectionCopyToNotebookRequestBuilder extends BaseOnenoteSecti * @param siteId the siteId */ public OnenoteSectionCopyToNotebookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions, id, groupId, renameAs, siteCollectionId, siteId); + super(requestUrl, client, requestOptions); + bodyParams.put("id", id); + bodyParams.put("groupId", groupId); + bodyParams.put("renameAs", renameAs); + bodyParams.put("siteCollectionId", siteCollectionId); + bodyParams.put("siteId", siteId); + } + + /** + * Creates the IOnenoteSectionCopyToNotebookRequest + * + * @return the IOnenoteSectionCopyToNotebookRequest instance + */ + public IOnenoteSectionCopyToNotebookRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IOnenoteSectionCopyToNotebookRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IOnenoteSectionCopyToNotebookRequest instance + */ + public IOnenoteSectionCopyToNotebookRequest buildRequest(final java.util.List requestOptions) { + OnenoteSectionCopyToNotebookRequest request = new OnenoteSectionCopyToNotebookRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("id")) { + request.body.id = getParameter("id"); + } + + if (hasParameter("groupId")) { + request.body.groupId = getParameter("groupId"); + } + + if (hasParameter("renameAs")) { + request.body.renameAs = getParameter("renameAs"); + } + + if (hasParameter("siteCollectionId")) { + request.body.siteCollectionId = getParameter("siteCollectionId"); + } + + if (hasParameter("siteId")) { + request.body.siteId = getParameter("siteId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequest.java index bd9ff978273..292f909cf2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OnenoteSectionCopyToSectionGroupBody; +import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; +import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToSectionGroupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCopyToSectionGroupRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Copy To Section Group Request. */ -public class OnenoteSectionCopyToSectionGroupRequest extends BaseOnenoteSectionCopyToSectionGroupRequest implements IOnenoteSectionCopyToSectionGroupRequest { +public class OnenoteSectionCopyToSectionGroupRequest extends BaseRequest implements IOnenoteSectionCopyToSectionGroupRequest { + protected final OnenoteSectionCopyToSectionGroupBody body; /** * The request for this OnenoteSectionCopyToSectionGroup @@ -23,6 +32,49 @@ public class OnenoteSectionCopyToSectionGroupRequest extends BaseOnenoteSectionC * @param requestOptions the options for this request */ public OnenoteSectionCopyToSectionGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OnenoteOperation.class); + body = new OnenoteSectionCopyToSectionGroupBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public OnenoteOperation post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteSectionCopyToSectionGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteSectionCopyToSectionGroupRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOnenoteSectionCopyToSectionGroupRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (OnenoteSectionCopyToSectionGroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteSectionCopyToSectionGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteSectionCopyToSectionGroupRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequestBuilder.java index db8f3851c66..5a7019ec369 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionCopyToSectionGroupRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; +import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToSectionGroupRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionCopyToSectionGroupRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Copy To Section Group Request Builder. */ -public class OnenoteSectionCopyToSectionGroupRequestBuilder extends BaseOnenoteSectionCopyToSectionGroupRequestBuilder implements IOnenoteSectionCopyToSectionGroupRequestBuilder { +public class OnenoteSectionCopyToSectionGroupRequestBuilder extends BaseActionRequestBuilder implements IOnenoteSectionCopyToSectionGroupRequestBuilder { /** * The request builder for this OnenoteSectionCopyToSectionGroup @@ -28,6 +33,56 @@ public class OnenoteSectionCopyToSectionGroupRequestBuilder extends BaseOnenoteS * @param siteId the siteId */ public OnenoteSectionCopyToSectionGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions, id, groupId, renameAs, siteCollectionId, siteId); + super(requestUrl, client, requestOptions); + bodyParams.put("id", id); + bodyParams.put("groupId", groupId); + bodyParams.put("renameAs", renameAs); + bodyParams.put("siteCollectionId", siteCollectionId); + bodyParams.put("siteId", siteId); + } + + /** + * Creates the IOnenoteSectionCopyToSectionGroupRequest + * + * @return the IOnenoteSectionCopyToSectionGroupRequest instance + */ + public IOnenoteSectionCopyToSectionGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IOnenoteSectionCopyToSectionGroupRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IOnenoteSectionCopyToSectionGroupRequest instance + */ + public IOnenoteSectionCopyToSectionGroupRequest buildRequest(final java.util.List requestOptions) { + OnenoteSectionCopyToSectionGroupRequest request = new OnenoteSectionCopyToSectionGroupRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("id")) { + request.body.id = getParameter("id"); + } + + if (hasParameter("groupId")) { + request.body.groupId = getParameter("groupId"); + } + + if (hasParameter("renameAs")) { + request.body.renameAs = getParameter("renameAs"); + } + + if (hasParameter("siteCollectionId")) { + request.body.siteCollectionId = getParameter("siteCollectionId"); + } + + if (hasParameter("siteId")) { + request.body.siteId = getParameter("siteId"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequest.java index 0c67a8bb221..2cbdbcd8b96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequest; +import com.microsoft.graph.requests.extensions.OnenoteSectionRequest; +import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Request. */ -public class OnenoteSectionRequest extends BaseOnenoteSectionRequest implements IOnenoteSectionRequest { - +public class OnenoteSectionRequest extends BaseRequest implements IOnenoteSectionRequest { + /** * The request for the OnenoteSection * @@ -26,4 +32,107 @@ public class OnenoteSectionRequest extends BaseOnenoteSectionRequest implements public OnenoteSectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OnenoteSection.class); } + + /** + * Gets the OnenoteSection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OnenoteSection from the service + * + * @return the OnenoteSection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteSection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OnenoteSection with a source + * + * @param sourceOnenoteSection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OnenoteSection sourceOnenoteSection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOnenoteSection); + } + + /** + * Patches this OnenoteSection with a source + * + * @param sourceOnenoteSection the source object with updates + * @return the updated OnenoteSection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteSection patch(final OnenoteSection sourceOnenoteSection) throws ClientException { + return send(HttpMethod.PATCH, sourceOnenoteSection); + } + + /** + * Creates a OnenoteSection with a new object + * + * @param newOnenoteSection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OnenoteSection newOnenoteSection, final ICallback callback) { + send(HttpMethod.POST, callback, newOnenoteSection); + } + + /** + * Creates a OnenoteSection with a new object + * + * @param newOnenoteSection the new object to create + * @return the created OnenoteSection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException { + return send(HttpMethod.POST, newOnenoteSection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOnenoteSectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OnenoteSectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOnenoteSectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OnenoteSectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequestBuilder.java index a46b6c70b4e..b1bee18b863 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequestBuilder.java @@ -3,17 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequest; +import com.microsoft.graph.requests.extensions.OnenoteSectionRequest; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenotePageRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToNotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToSectionGroupRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOnenoteSectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Onenote Section Request Builder. */ -public class OnenoteSectionRequestBuilder extends BaseOnenoteSectionRequestBuilder implements IOnenoteSectionRequestBuilder { +public class OnenoteSectionRequestBuilder extends BaseRequestBuilder implements IOnenoteSectionRequestBuilder { /** * The request builder for the OnenoteSection @@ -25,4 +40,59 @@ public class OnenoteSectionRequestBuilder extends BaseOnenoteSectionRequestBuild public OnenoteSectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOnenoteSectionRequest instance + */ + public IOnenoteSectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOnenoteSectionRequest instance + */ + public IOnenoteSectionRequest buildRequest(final java.util.List requestOptions) { + return new OnenoteSectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Notebook + * + * @return the INotebookRequestBuilder instance + */ + public INotebookRequestBuilder parentNotebook() { + return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null); + } + + /** + * Gets the request builder for SectionGroup + * + * @return the ISectionGroupRequestBuilder instance + */ + public ISectionGroupRequestBuilder parentSectionGroup() { + return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("parentSectionGroup"), getClient(), null); + } + public IOnenotePageCollectionRequestBuilder pages() { + return new OnenotePageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("pages"), getClient(), null); + } + + public IOnenotePageRequestBuilder pages(final String id) { + return new OnenotePageRequestBuilder(getRequestUrlWithAdditionalSegment("pages") + "/" + id, getClient(), null); + } + + public IOnenoteSectionCopyToNotebookRequestBuilder copyToNotebook(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { + return new OnenoteSectionCopyToNotebookRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToNotebook"), getClient(), null, id, groupId, renameAs, siteCollectionId, siteId); + } + + public IOnenoteSectionCopyToSectionGroupRequestBuilder copyToSectionGroup(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { + return new OnenoteSectionCopyToSectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToSectionGroup"), getClient(), null, id, groupId, renameAs, siteCollectionId, siteId); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequest.java index 7ad96fba3e4..720d3796c98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOpenTypeExtensionRequest; +import com.microsoft.graph.requests.extensions.OpenTypeExtensionRequest; +import com.microsoft.graph.models.extensions.OpenTypeExtension; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OpenTypeExtension; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOpenTypeExtensionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Open Type Extension Request. */ -public class OpenTypeExtensionRequest extends BaseOpenTypeExtensionRequest implements IOpenTypeExtensionRequest { - +public class OpenTypeExtensionRequest extends BaseRequest implements IOpenTypeExtensionRequest { + /** * The request for the OpenTypeExtension * @@ -26,4 +32,107 @@ public class OpenTypeExtensionRequest extends BaseOpenTypeExtensionRequest imple public OpenTypeExtensionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OpenTypeExtension.class); } + + /** + * Gets the OpenTypeExtension from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OpenTypeExtension from the service + * + * @return the OpenTypeExtension from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OpenTypeExtension get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OpenTypeExtension with a source + * + * @param sourceOpenTypeExtension the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OpenTypeExtension sourceOpenTypeExtension, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOpenTypeExtension); + } + + /** + * Patches this OpenTypeExtension with a source + * + * @param sourceOpenTypeExtension the source object with updates + * @return the updated OpenTypeExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OpenTypeExtension patch(final OpenTypeExtension sourceOpenTypeExtension) throws ClientException { + return send(HttpMethod.PATCH, sourceOpenTypeExtension); + } + + /** + * Creates a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OpenTypeExtension newOpenTypeExtension, final ICallback callback) { + send(HttpMethod.POST, callback, newOpenTypeExtension); + } + + /** + * Creates a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the new object to create + * @return the created OpenTypeExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OpenTypeExtension post(final OpenTypeExtension newOpenTypeExtension) throws ClientException { + return send(HttpMethod.POST, newOpenTypeExtension); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOpenTypeExtensionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OpenTypeExtensionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOpenTypeExtensionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OpenTypeExtensionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequestBuilder.java index aef2138eb3c..4e9112c7a41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOpenTypeExtensionRequest; +import com.microsoft.graph.requests.extensions.OpenTypeExtensionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOpenTypeExtensionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Open Type Extension Request Builder. */ -public class OpenTypeExtensionRequestBuilder extends BaseOpenTypeExtensionRequestBuilder implements IOpenTypeExtensionRequestBuilder { +public class OpenTypeExtensionRequestBuilder extends BaseRequestBuilder implements IOpenTypeExtensionRequestBuilder { /** * The request builder for the OpenTypeExtension @@ -25,4 +28,26 @@ public class OpenTypeExtensionRequestBuilder extends BaseOpenTypeExtensionReques public OpenTypeExtensionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOpenTypeExtensionRequest instance + */ + public IOpenTypeExtensionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOpenTypeExtensionRequest instance + */ + public IOpenTypeExtensionRequest buildRequest(final java.util.List requestOptions) { + return new OpenTypeExtensionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OperationRequest.java index 9335ea52fef..c563e358444 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OperationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOperationRequest; +import com.microsoft.graph.requests.extensions.OperationRequest; +import com.microsoft.graph.models.extensions.Operation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Operation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOperationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Operation Request. */ -public class OperationRequest extends BaseOperationRequest implements IOperationRequest { - +public class OperationRequest extends BaseRequest implements IOperationRequest { + /** * The request for the Operation * @@ -41,4 +47,107 @@ public OperationRequest(final String requestUrl, public OperationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Operation.class); } + + /** + * Gets the Operation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Operation from the service + * + * @return the Operation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Operation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Operation with a source + * + * @param sourceOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Operation sourceOperation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOperation); + } + + /** + * Patches this Operation with a source + * + * @param sourceOperation the source object with updates + * @return the updated Operation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Operation patch(final Operation sourceOperation) throws ClientException { + return send(HttpMethod.PATCH, sourceOperation); + } + + /** + * Creates a Operation with a new object + * + * @param newOperation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Operation newOperation, final ICallback callback) { + send(HttpMethod.POST, callback, newOperation); + } + + /** + * Creates a Operation with a new object + * + * @param newOperation the new object to create + * @return the created Operation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Operation post(final Operation newOperation) throws ClientException { + return send(HttpMethod.POST, newOperation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOperationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OperationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOperationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OperationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OperationRequestBuilder.java index 73d91b1c227..5e54f796de1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OperationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOperationRequest; +import com.microsoft.graph.requests.extensions.OperationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOperationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Operation Request Builder. */ -public class OperationRequestBuilder extends BaseOperationRequestBuilder implements IOperationRequestBuilder { +public class OperationRequestBuilder extends BaseRequestBuilder implements IOperationRequestBuilder { /** * The request builder for the Operation @@ -25,4 +28,26 @@ public class OperationRequestBuilder extends BaseOperationRequestBuilder impleme public OperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOperationRequest instance + */ + public IOperationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOperationRequest instance + */ + public IOperationRequest buildRequest(final java.util.List requestOptions) { + return new OperationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionPage.java index 7fa3d8242d6..6231c65a48f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Organization; +import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseOrganizationCollectionPage; -import com.microsoft.graph.requests.generated.BaseOrganizationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Collection Page. */ -public class OrganizationCollectionPage extends BaseOrganizationCollectionPage implements IOrganizationCollectionPage { +public class OrganizationCollectionPage extends BaseCollectionPage implements IOrganizationCollectionPage { /** - * A collection page for Organization. + * A collection page for Organization * - * @param response the serialized BaseOrganizationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized OrganizationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public OrganizationCollectionPage(final BaseOrganizationCollectionResponse response, final IOrganizationCollectionRequestBuilder builder) { - super(response, builder); + public OrganizationCollectionPage(final OrganizationCollectionResponse response, final IOrganizationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequest.java index f76b7e51b8b..08d097fd711 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOrganizationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Collection Request. */ -public class OrganizationCollectionRequest extends BaseOrganizationCollectionRequest implements IOrganizationCollectionRequest { +public class OrganizationCollectionRequest extends BaseCollectionRequest implements IOrganizationCollectionRequest { /** - * The request for this collection of Organization + * The request builder for this collection of Organization * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public OrganizationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public OrganizationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, OrganizationCollectionResponse.class, IOrganizationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOrganizationCollectionPage get() throws ClientException { + final OrganizationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Organization newOrganization, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new OrganizationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOrganization, callback); + } + + public Organization post(final Organization newOrganization) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new OrganizationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOrganization); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOrganizationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (OrganizationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOrganizationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (OrganizationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOrganizationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (OrganizationCollectionRequest)this; + } + + public IOrganizationCollectionPage buildFromResponse(final OrganizationCollectionResponse response) { + final IOrganizationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OrganizationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final OrganizationCollectionPage page = new OrganizationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequestBuilder.java index 2bbf8287b7a..87667a35f6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOrganizationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Collection Request Builder. */ -public class OrganizationCollectionRequestBuilder extends BaseOrganizationCollectionRequestBuilder implements IOrganizationCollectionRequestBuilder { +public class OrganizationCollectionRequestBuilder extends BaseRequestBuilder implements IOrganizationCollectionRequestBuilder { /** * The request builder for this collection of Organization @@ -25,4 +33,18 @@ public class OrganizationCollectionRequestBuilder extends BaseOrganizationCollec public OrganizationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOrganizationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOrganizationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new OrganizationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IOrganizationRequestBuilder byId(final String id) { + return new OrganizationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionResponse.java new file mode 100644 index 00000000000..faed708c547 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Organization; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Organization Collection Response. + */ +public class OrganizationCollectionResponse implements IJsonBackedObject { + + /** + * The list of Organization within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequest.java index 8732ef1c7c9..992097b5559 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationRequest; +import com.microsoft.graph.requests.extensions.OrganizationRequest; +import com.microsoft.graph.models.extensions.Organization; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Organization; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOrganizationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Request. */ -public class OrganizationRequest extends BaseOrganizationRequest implements IOrganizationRequest { - +public class OrganizationRequest extends BaseRequest implements IOrganizationRequest { + /** * The request for the Organization * @@ -26,4 +32,107 @@ public class OrganizationRequest extends BaseOrganizationRequest implements IOrg public OrganizationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Organization.class); } + + /** + * Gets the Organization from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Organization from the service + * + * @return the Organization from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Organization get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Organization with a source + * + * @param sourceOrganization the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Organization sourceOrganization, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOrganization); + } + + /** + * Patches this Organization with a source + * + * @param sourceOrganization the source object with updates + * @return the updated Organization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Organization patch(final Organization sourceOrganization) throws ClientException { + return send(HttpMethod.PATCH, sourceOrganization); + } + + /** + * Creates a Organization with a new object + * + * @param newOrganization the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Organization newOrganization, final ICallback callback) { + send(HttpMethod.POST, callback, newOrganization); + } + + /** + * Creates a Organization with a new object + * + * @param newOrganization the new object to create + * @return the created Organization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Organization post(final Organization newOrganization) throws ClientException { + return send(HttpMethod.POST, newOrganization); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOrganizationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OrganizationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOrganizationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OrganizationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequestBuilder.java index ca9f04aac82..7df1d8e01ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationRequest; +import com.microsoft.graph.requests.extensions.OrganizationRequest; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder; +import com.microsoft.graph.requests.extensions.OrganizationSetMobileDeviceManagementAuthorityRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOrganizationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Request Builder. */ -public class OrganizationRequestBuilder extends BaseOrganizationRequestBuilder implements IOrganizationRequestBuilder { +public class OrganizationRequestBuilder extends BaseRequestBuilder implements IOrganizationRequestBuilder { /** * The request builder for the Organization @@ -25,4 +34,37 @@ public class OrganizationRequestBuilder extends BaseOrganizationRequestBuilder i public OrganizationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOrganizationRequest instance + */ + public IOrganizationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOrganizationRequest instance + */ + public IOrganizationRequest buildRequest(final java.util.List requestOptions) { + return new OrganizationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + + public IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder setMobileDeviceManagementAuthority() { + return new OrganizationSetMobileDeviceManagementAuthorityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setMobileDeviceManagementAuthority"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequest.java index d219988fed1..552a81cb5e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; +import com.microsoft.graph.requests.extensions.OrganizationSetMobileDeviceManagementAuthorityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOrganizationSetMobileDeviceManagementAuthorityRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Set Mobile Device Management Authority Request. */ -public class OrganizationSetMobileDeviceManagementAuthorityRequest extends BaseOrganizationSetMobileDeviceManagementAuthorityRequest implements IOrganizationSetMobileDeviceManagementAuthorityRequest { +public class OrganizationSetMobileDeviceManagementAuthorityRequest extends BaseRequest implements IOrganizationSetMobileDeviceManagementAuthorityRequest { /** * The request for this OrganizationSetMobileDeviceManagementAuthority @@ -23,6 +30,48 @@ public class OrganizationSetMobileDeviceManagementAuthorityRequest extends BaseO * @param requestOptions the options for this request */ public OrganizationSetMobileDeviceManagementAuthorityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Creates the OrganizationSetMobileDeviceManagementAuthority + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the OrganizationSetMobileDeviceManagementAuthority + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOrganizationSetMobileDeviceManagementAuthorityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OrganizationSetMobileDeviceManagementAuthorityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOrganizationSetMobileDeviceManagementAuthorityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OrganizationSetMobileDeviceManagementAuthorityRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java index 223fef9d47f..29e2922164f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; +import com.microsoft.graph.requests.extensions.OrganizationSetMobileDeviceManagementAuthorityRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Organization Set Mobile Device Management Authority Request Builder. */ -public class OrganizationSetMobileDeviceManagementAuthorityRequestBuilder extends BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder implements IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder { +public class OrganizationSetMobileDeviceManagementAuthorityRequestBuilder extends BaseActionRequestBuilder implements IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder { /** * The request builder for this OrganizationSetMobileDeviceManagementAuthority @@ -25,4 +30,29 @@ public class OrganizationSetMobileDeviceManagementAuthorityRequestBuilder extend public OrganizationSetMobileDeviceManagementAuthorityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest + * + * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance + */ + public IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance + */ + public IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest(final java.util.List requestOptions) { + OrganizationSetMobileDeviceManagementAuthorityRequest request = new OrganizationSetMobileDeviceManagementAuthorityRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionPage.java index 1b66ce0b65f..154c243257c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OutlookCategory; +import com.microsoft.graph.requests.extensions.IOutlookCategoryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryCollectionPage; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Category Collection Page. */ -public class OutlookCategoryCollectionPage extends BaseOutlookCategoryCollectionPage implements IOutlookCategoryCollectionPage { +public class OutlookCategoryCollectionPage extends BaseCollectionPage implements IOutlookCategoryCollectionPage { /** - * A collection page for OutlookUser. + * A collection page for OutlookCategory * - * @param response the serialized BaseOutlookCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized OutlookCategoryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public OutlookCategoryCollectionPage(final BaseOutlookCategoryCollectionResponse response, final IOutlookCategoryCollectionRequestBuilder builder) { - super(response, builder); + public OutlookCategoryCollectionPage(final OutlookCategoryCollectionResponse response, final IOutlookCategoryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequest.java index 8384e70b0aa..90478e9a1dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Category Collection Request. */ -public class OutlookCategoryCollectionRequest extends BaseOutlookCategoryCollectionRequest implements IOutlookCategoryCollectionRequest { +public class OutlookCategoryCollectionRequest extends BaseCollectionRequest implements IOutlookCategoryCollectionRequest { /** - * The request for this collection of OutlookUser + * The request builder for this collection of OutlookCategory * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public OutlookCategoryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public OutlookCategoryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, OutlookCategoryCollectionResponse.class, IOutlookCategoryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOutlookCategoryCollectionPage get() throws ClientException { + final OutlookCategoryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final OutlookCategory newOutlookCategory, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new OutlookCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOutlookCategory, callback); + } + + public OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new OutlookCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newOutlookCategory); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOutlookCategoryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (OutlookCategoryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOutlookCategoryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (OutlookCategoryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOutlookCategoryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (OutlookCategoryCollectionRequest)this; + } + + public IOutlookCategoryCollectionPage buildFromResponse(final OutlookCategoryCollectionResponse response) { + final IOutlookCategoryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OutlookCategoryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final OutlookCategoryCollectionPage page = new OutlookCategoryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequestBuilder.java index 17cea085f15..963b5ff945a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Category Collection Request Builder. */ -public class OutlookCategoryCollectionRequestBuilder extends BaseOutlookCategoryCollectionRequestBuilder implements IOutlookCategoryCollectionRequestBuilder { +public class OutlookCategoryCollectionRequestBuilder extends BaseRequestBuilder implements IOutlookCategoryCollectionRequestBuilder { /** * The request builder for this collection of OutlookUser @@ -25,4 +33,18 @@ public class OutlookCategoryCollectionRequestBuilder extends BaseOutlookCategory public OutlookCategoryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOutlookCategoryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOutlookCategoryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new OutlookCategoryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IOutlookCategoryRequestBuilder byId(final String id) { + return new OutlookCategoryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionResponse.java new file mode 100644 index 00000000000..8bf26e95d03 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.OutlookCategory; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Outlook Category Collection Response. + */ +public class OutlookCategoryCollectionResponse implements IJsonBackedObject { + + /** + * The list of OutlookCategory within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequest.java index 787d27bf737..2541608a8e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookCategoryRequest; +import com.microsoft.graph.requests.extensions.OutlookCategoryRequest; +import com.microsoft.graph.models.extensions.OutlookCategory; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OutlookCategory; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Category Request. */ -public class OutlookCategoryRequest extends BaseOutlookCategoryRequest implements IOutlookCategoryRequest { - +public class OutlookCategoryRequest extends BaseRequest implements IOutlookCategoryRequest { + /** * The request for the OutlookCategory * @@ -26,4 +32,107 @@ public class OutlookCategoryRequest extends BaseOutlookCategoryRequest implement public OutlookCategoryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OutlookCategory.class); } + + /** + * Gets the OutlookCategory from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OutlookCategory from the service + * + * @return the OutlookCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookCategory get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OutlookCategory with a source + * + * @param sourceOutlookCategory the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OutlookCategory sourceOutlookCategory, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOutlookCategory); + } + + /** + * Patches this OutlookCategory with a source + * + * @param sourceOutlookCategory the source object with updates + * @return the updated OutlookCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookCategory patch(final OutlookCategory sourceOutlookCategory) throws ClientException { + return send(HttpMethod.PATCH, sourceOutlookCategory); + } + + /** + * Creates a OutlookCategory with a new object + * + * @param newOutlookCategory the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OutlookCategory newOutlookCategory, final ICallback callback) { + send(HttpMethod.POST, callback, newOutlookCategory); + } + + /** + * Creates a OutlookCategory with a new object + * + * @param newOutlookCategory the new object to create + * @return the created OutlookCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException { + return send(HttpMethod.POST, newOutlookCategory); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOutlookCategoryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OutlookCategoryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOutlookCategoryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OutlookCategoryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequestBuilder.java index 46257523d65..fb1e6c80feb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookCategoryRequest; +import com.microsoft.graph.requests.extensions.OutlookCategoryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookCategoryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Category Request Builder. */ -public class OutlookCategoryRequestBuilder extends BaseOutlookCategoryRequestBuilder implements IOutlookCategoryRequestBuilder { +public class OutlookCategoryRequestBuilder extends BaseRequestBuilder implements IOutlookCategoryRequestBuilder { /** * The request builder for the OutlookCategory @@ -25,4 +28,26 @@ public class OutlookCategoryRequestBuilder extends BaseOutlookCategoryRequestBui public OutlookCategoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOutlookCategoryRequest instance + */ + public IOutlookCategoryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOutlookCategoryRequest instance + */ + public IOutlookCategoryRequest buildRequest(final java.util.List requestOptions) { + return new OutlookCategoryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequest.java index 47b576d2cb7..6aa4f6d3642 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookItemRequest; +import com.microsoft.graph.requests.extensions.OutlookItemRequest; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Item Request. */ -public class OutlookItemRequest extends BaseOutlookItemRequest implements IOutlookItemRequest { - +public class OutlookItemRequest extends BaseRequest implements IOutlookItemRequest { + /** * The request for the OutlookItem * @@ -41,4 +47,107 @@ public OutlookItemRequest(final String requestUrl, public OutlookItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OutlookItem.class); } + + /** + * Gets the OutlookItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OutlookItem from the service + * + * @return the OutlookItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OutlookItem with a source + * + * @param sourceOutlookItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OutlookItem sourceOutlookItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOutlookItem); + } + + /** + * Patches this OutlookItem with a source + * + * @param sourceOutlookItem the source object with updates + * @return the updated OutlookItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookItem patch(final OutlookItem sourceOutlookItem) throws ClientException { + return send(HttpMethod.PATCH, sourceOutlookItem); + } + + /** + * Creates a OutlookItem with a new object + * + * @param newOutlookItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OutlookItem newOutlookItem, final ICallback callback) { + send(HttpMethod.POST, callback, newOutlookItem); + } + + /** + * Creates a OutlookItem with a new object + * + * @param newOutlookItem the new object to create + * @return the created OutlookItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookItem post(final OutlookItem newOutlookItem) throws ClientException { + return send(HttpMethod.POST, newOutlookItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOutlookItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OutlookItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOutlookItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OutlookItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequestBuilder.java index 5cf1b932834..4305d2187a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookItemRequest; +import com.microsoft.graph.requests.extensions.OutlookItemRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook Item Request Builder. */ -public class OutlookItemRequestBuilder extends BaseOutlookItemRequestBuilder implements IOutlookItemRequestBuilder { +public class OutlookItemRequestBuilder extends BaseRequestBuilder implements IOutlookItemRequestBuilder { /** * The request builder for the OutlookItem @@ -25,4 +28,26 @@ public class OutlookItemRequestBuilder extends BaseOutlookItemRequestBuilder imp public OutlookItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOutlookItemRequest instance + */ + public IOutlookItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOutlookItemRequest instance + */ + public IOutlookItemRequest buildRequest(final java.util.List requestOptions) { + return new OutlookItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequest.java index cab5339f4ed..7ae77d4891d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookUserRequest; +import com.microsoft.graph.requests.extensions.OutlookUserRequest; +import com.microsoft.graph.models.extensions.OutlookUser; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.OutlookUser; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookUserRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Request. */ -public class OutlookUserRequest extends BaseOutlookUserRequest implements IOutlookUserRequest { - +public class OutlookUserRequest extends BaseRequest implements IOutlookUserRequest { + /** * The request for the OutlookUser * @@ -26,4 +32,107 @@ public class OutlookUserRequest extends BaseOutlookUserRequest implements IOutlo public OutlookUserRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, OutlookUser.class); } + + /** + * Gets the OutlookUser from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the OutlookUser from the service + * + * @return the OutlookUser from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookUser get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this OutlookUser with a source + * + * @param sourceOutlookUser the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final OutlookUser sourceOutlookUser, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceOutlookUser); + } + + /** + * Patches this OutlookUser with a source + * + * @param sourceOutlookUser the source object with updates + * @return the updated OutlookUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookUser patch(final OutlookUser sourceOutlookUser) throws ClientException { + return send(HttpMethod.PATCH, sourceOutlookUser); + } + + /** + * Creates a OutlookUser with a new object + * + * @param newOutlookUser the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final OutlookUser newOutlookUser, final ICallback callback) { + send(HttpMethod.POST, callback, newOutlookUser); + } + + /** + * Creates a OutlookUser with a new object + * + * @param newOutlookUser the new object to create + * @return the created OutlookUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookUser post(final OutlookUser newOutlookUser) throws ClientException { + return send(HttpMethod.POST, newOutlookUser); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOutlookUserRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (OutlookUserRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOutlookUserRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (OutlookUserRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequestBuilder.java index 6888fe90c4e..b17f93259cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequestBuilder.java @@ -3,17 +3,31 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IOutlookUserRequest; +import com.microsoft.graph.requests.extensions.OutlookUserRequest; +import com.microsoft.graph.requests.extensions.IOutlookCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookCategoryRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookUserSupportedLanguagesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookUserSupportedLanguagesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookUserSupportedTimeZonesCollectionRequestBuilder; +import com.microsoft.graph.models.generated.TimeZoneStandard; +import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookUserSupportedTimeZonesCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookUserRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Request Builder. */ -public class OutlookUserRequestBuilder extends BaseOutlookUserRequestBuilder implements IOutlookUserRequestBuilder { +public class OutlookUserRequestBuilder extends BaseRequestBuilder implements IOutlookUserRequestBuilder { /** * The request builder for the OutlookUser @@ -25,4 +39,45 @@ public class OutlookUserRequestBuilder extends BaseOutlookUserRequestBuilder imp public OutlookUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IOutlookUserRequest instance + */ + public IOutlookUserRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IOutlookUserRequest instance + */ + public IOutlookUserRequest buildRequest(final java.util.List requestOptions) { + return new OutlookUserRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IOutlookCategoryCollectionRequestBuilder masterCategories() { + return new OutlookCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("masterCategories"), getClient(), null); + } + + public IOutlookCategoryRequestBuilder masterCategories(final String id) { + return new OutlookCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("masterCategories") + "/" + id, getClient(), null); + } + + public IOutlookUserSupportedLanguagesCollectionRequestBuilder supportedLanguages() { + return new OutlookUserSupportedLanguagesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.supportedLanguages"), getClient(), null); + } + + public IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones() { + return new OutlookUserSupportedTimeZonesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.supportedTimeZones"), getClient(), null); + } + + public IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones(final TimeZoneStandard timeZoneStandard) { + return new OutlookUserSupportedTimeZonesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.supportedTimeZones"), getClient(), null, timeZoneStandard); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionPage.java index 16816ee67c7..af9a6f7f22e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedLanguagesCollectionPage; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedLanguagesCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Supported Languages Collection Page. */ -public class OutlookUserSupportedLanguagesCollectionPage extends BaseOutlookUserSupportedLanguagesCollectionPage implements IOutlookUserSupportedLanguagesCollectionPage { +public class OutlookUserSupportedLanguagesCollectionPage extends BaseCollectionPage implements IOutlookUserSupportedLanguagesCollectionPage { /** - * A collection page for OutlookUser. + * A collection page for OutlookUserSupportedLanguages. * - * @param response the serialized BaseOutlookUserSupportedLanguagesCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized OutlookUserSupportedLanguagesCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public OutlookUserSupportedLanguagesCollectionPage(final BaseOutlookUserSupportedLanguagesCollectionResponse response, final IOutlookUserSupportedLanguagesCollectionRequestBuilder builder) { - super(response, builder); + public OutlookUserSupportedLanguagesCollectionPage(final OutlookUserSupportedLanguagesCollectionResponse response, final IOutlookUserSupportedLanguagesCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequest.java index dc9fdf04fe7..feb1a921596 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedLanguagesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Supported Languages Collection Request. */ -public class OutlookUserSupportedLanguagesCollectionRequest extends BaseOutlookUserSupportedLanguagesCollectionRequest implements IOutlookUserSupportedLanguagesCollectionRequest { +public class OutlookUserSupportedLanguagesCollectionRequest extends BaseCollectionRequest implements IOutlookUserSupportedLanguagesCollectionRequest { + /** - * The request for this collection of OutlookUser + * The request for this OutlookUserSupportedLanguages * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public OutlookUserSupportedLanguagesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OutlookUserSupportedLanguagesCollectionResponse.class, IOutlookUserSupportedLanguagesCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOutlookUserSupportedLanguagesCollectionPage get() throws ClientException { + final OutlookUserSupportedLanguagesCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IOutlookUserSupportedLanguagesCollectionPage buildFromResponse(final OutlookUserSupportedLanguagesCollectionResponse response) { + final IOutlookUserSupportedLanguagesCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OutlookUserSupportedLanguagesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IOutlookUserSupportedLanguagesCollectionPage page = new OutlookUserSupportedLanguagesCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOutlookUserSupportedLanguagesCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IOutlookUserSupportedLanguagesCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOutlookUserSupportedLanguagesCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IOutlookUserSupportedLanguagesCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOutlookUserSupportedLanguagesCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IOutlookUserSupportedLanguagesCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequestBuilder.java index c0794d25b4d..e3364328629 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedLanguagesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Supported Languages Collection Request Builder. */ -public class OutlookUserSupportedLanguagesCollectionRequestBuilder extends BaseOutlookUserSupportedLanguagesCollectionRequestBuilder implements IOutlookUserSupportedLanguagesCollectionRequestBuilder { +public class OutlookUserSupportedLanguagesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IOutlookUserSupportedLanguagesCollectionRequestBuilder { /** * The request builder for this collection of OutlookUser @@ -25,4 +32,22 @@ public class OutlookUserSupportedLanguagesCollectionRequestBuilder extends BaseO public OutlookUserSupportedLanguagesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IOutlookUserSupportedLanguagesCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOutlookUserSupportedLanguagesCollectionRequest buildRequest(final java.util.List requestOptions) { + OutlookUserSupportedLanguagesCollectionRequest request = new OutlookUserSupportedLanguagesCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionResponse.java new file mode 100644 index 00000000000..385c16a8b3d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedLanguagesCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Outlook User Supported Languages Collection Response. + */ +public class OutlookUserSupportedLanguagesCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionPage.java index a6a6c51ca57..60dfac267ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedTimeZonesCollectionPage; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedTimeZonesCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Supported Time Zones Collection Page. */ -public class OutlookUserSupportedTimeZonesCollectionPage extends BaseOutlookUserSupportedTimeZonesCollectionPage implements IOutlookUserSupportedTimeZonesCollectionPage { +public class OutlookUserSupportedTimeZonesCollectionPage extends BaseCollectionPage implements IOutlookUserSupportedTimeZonesCollectionPage { /** - * A collection page for OutlookUser. + * A collection page for OutlookUserSupportedTimeZones. * - * @param response the serialized BaseOutlookUserSupportedTimeZonesCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized OutlookUserSupportedTimeZonesCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public OutlookUserSupportedTimeZonesCollectionPage(final BaseOutlookUserSupportedTimeZonesCollectionResponse response, final IOutlookUserSupportedTimeZonesCollectionRequestBuilder builder) { - super(response, builder); + public OutlookUserSupportedTimeZonesCollectionPage(final OutlookUserSupportedTimeZonesCollectionResponse response, final IOutlookUserSupportedTimeZonesCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequest.java index 6274757439c..f373d013757 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedTimeZonesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Supported Time Zones Collection Request. */ -public class OutlookUserSupportedTimeZonesCollectionRequest extends BaseOutlookUserSupportedTimeZonesCollectionRequest implements IOutlookUserSupportedTimeZonesCollectionRequest { +public class OutlookUserSupportedTimeZonesCollectionRequest extends BaseCollectionRequest implements IOutlookUserSupportedTimeZonesCollectionRequest { + /** - * The request for this collection of OutlookUser + * The request for this OutlookUserSupportedTimeZones * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public OutlookUserSupportedTimeZonesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, OutlookUserSupportedTimeZonesCollectionResponse.class, IOutlookUserSupportedTimeZonesCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IOutlookUserSupportedTimeZonesCollectionPage get() throws ClientException { + final OutlookUserSupportedTimeZonesCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IOutlookUserSupportedTimeZonesCollectionPage buildFromResponse(final OutlookUserSupportedTimeZonesCollectionResponse response) { + final IOutlookUserSupportedTimeZonesCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new OutlookUserSupportedTimeZonesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IOutlookUserSupportedTimeZonesCollectionPage page = new OutlookUserSupportedTimeZonesCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IOutlookUserSupportedTimeZonesCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IOutlookUserSupportedTimeZonesCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IOutlookUserSupportedTimeZonesCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IOutlookUserSupportedTimeZonesCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IOutlookUserSupportedTimeZonesCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IOutlookUserSupportedTimeZonesCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequestBuilder.java index 1aef4ca23f1..8631629acde 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionRequestBuilder.java @@ -4,17 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.generated.TimeZoneStandard; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Outlook User Supported Time Zones Collection Request Builder. */ -public class OutlookUserSupportedTimeZonesCollectionRequestBuilder extends BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder implements IOutlookUserSupportedTimeZonesCollectionRequestBuilder { +public class OutlookUserSupportedTimeZonesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IOutlookUserSupportedTimeZonesCollectionRequestBuilder { /** * The request builder for this collection of OutlookUser @@ -26,7 +32,6 @@ public class OutlookUserSupportedTimeZonesCollectionRequestBuilder extends BaseO public OutlookUserSupportedTimeZonesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this collection of OutlookUser * @@ -36,6 +41,27 @@ public OutlookUserSupportedTimeZonesCollectionRequestBuilder(final String reques * @param timeZoneStandard the timeZoneStandard */ public OutlookUserSupportedTimeZonesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final TimeZoneStandard timeZoneStandard) { - super(requestUrl, client, requestOptions, timeZoneStandard); + super(requestUrl, client, requestOptions); + if(timeZoneStandard!=null){ + functionOptions.add(new FunctionOption("timeZoneStandard", timeZoneStandard)); + } + } + + public IOutlookUserSupportedTimeZonesCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IOutlookUserSupportedTimeZonesCollectionRequest buildRequest(final java.util.List requestOptions) { + OutlookUserSupportedTimeZonesCollectionRequest request = new OutlookUserSupportedTimeZonesCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionResponse.java new file mode 100644 index 00000000000..371f0a8ea58 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserSupportedTimeZonesCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Outlook User Supported Time Zones Collection Response. + */ +public class OutlookUserSupportedTimeZonesCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionPage.java index a1685238cba..1b769cf380a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Permission; +import com.microsoft.graph.requests.extensions.IPermissionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BasePermissionCollectionPage; -import com.microsoft.graph.requests.generated.BasePermissionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Permission Collection Page. */ -public class PermissionCollectionPage extends BasePermissionCollectionPage implements IPermissionCollectionPage { +public class PermissionCollectionPage extends BaseCollectionPage implements IPermissionCollectionPage { /** - * A collection page for DriveItem. + * A collection page for Permission * - * @param response the serialized BasePermissionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized PermissionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public PermissionCollectionPage(final BasePermissionCollectionResponse response, final IPermissionCollectionRequestBuilder builder) { - super(response, builder); + public PermissionCollectionPage(final PermissionCollectionResponse response, final IPermissionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequest.java index 3b8fcc743b6..682f0449428 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePermissionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Permission Collection Request. */ -public class PermissionCollectionRequest extends BasePermissionCollectionRequest implements IPermissionCollectionRequest { +public class PermissionCollectionRequest extends BaseCollectionRequest implements IPermissionCollectionRequest { /** - * The request for this collection of DriveItem + * The request builder for this collection of Permission * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public PermissionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public PermissionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, PermissionCollectionResponse.class, IPermissionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IPermissionCollectionPage get() throws ClientException { + final PermissionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Permission newPermission, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new PermissionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPermission, callback); + } + + public Permission post(final Permission newPermission) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new PermissionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPermission); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPermissionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (PermissionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPermissionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (PermissionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPermissionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (PermissionCollectionRequest)this; + } + + public IPermissionCollectionPage buildFromResponse(final PermissionCollectionResponse response) { + final IPermissionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new PermissionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final PermissionCollectionPage page = new PermissionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequestBuilder.java index 27561b72c64..c38cffc4134 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePermissionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Permission Collection Request Builder. */ -public class PermissionCollectionRequestBuilder extends BasePermissionCollectionRequestBuilder implements IPermissionCollectionRequestBuilder { +public class PermissionCollectionRequestBuilder extends BaseRequestBuilder implements IPermissionCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -25,4 +33,18 @@ public class PermissionCollectionRequestBuilder extends BasePermissionCollection public PermissionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IPermissionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IPermissionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new PermissionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IPermissionRequestBuilder byId(final String id) { + return new PermissionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionResponse.java new file mode 100644 index 00000000000..07bfe40ccd1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Permission; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Permission Collection Response. + */ +public class PermissionCollectionResponse implements IJsonBackedObject { + + /** + * The list of Permission within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequest.java index a57996a9bb1..09a39fe83de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPermissionRequest; +import com.microsoft.graph.requests.extensions.PermissionRequest; +import com.microsoft.graph.models.extensions.Permission; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Permission; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePermissionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Permission Request. */ -public class PermissionRequest extends BasePermissionRequest implements IPermissionRequest { - +public class PermissionRequest extends BaseRequest implements IPermissionRequest { + /** * The request for the Permission * @@ -26,4 +32,107 @@ public class PermissionRequest extends BasePermissionRequest implements IPermiss public PermissionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Permission.class); } + + /** + * Gets the Permission from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Permission from the service + * + * @return the Permission from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Permission get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Permission with a source + * + * @param sourcePermission the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Permission sourcePermission, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePermission); + } + + /** + * Patches this Permission with a source + * + * @param sourcePermission the source object with updates + * @return the updated Permission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Permission patch(final Permission sourcePermission) throws ClientException { + return send(HttpMethod.PATCH, sourcePermission); + } + + /** + * Creates a Permission with a new object + * + * @param newPermission the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Permission newPermission, final ICallback callback) { + send(HttpMethod.POST, callback, newPermission); + } + + /** + * Creates a Permission with a new object + * + * @param newPermission the new object to create + * @return the created Permission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Permission post(final Permission newPermission) throws ClientException { + return send(HttpMethod.POST, newPermission); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPermissionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PermissionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPermissionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PermissionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequestBuilder.java index 350e00c073d..349e51c0f97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPermissionRequest; +import com.microsoft.graph.requests.extensions.PermissionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePermissionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Permission Request Builder. */ -public class PermissionRequestBuilder extends BasePermissionRequestBuilder implements IPermissionRequestBuilder { +public class PermissionRequestBuilder extends BaseRequestBuilder implements IPermissionRequestBuilder { /** * The request builder for the Permission @@ -25,4 +28,26 @@ public class PermissionRequestBuilder extends BasePermissionRequestBuilder imple public PermissionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPermissionRequest instance + */ + public IPermissionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPermissionRequest instance + */ + public IPermissionRequest buildRequest(final java.util.List requestOptions) { + return new PermissionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionPage.java index 0fe2dcae2c5..a135bdbc38a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Person; +import com.microsoft.graph.requests.extensions.IPersonCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BasePersonCollectionPage; -import com.microsoft.graph.requests.generated.BasePersonCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Collection Page. */ -public class PersonCollectionPage extends BasePersonCollectionPage implements IPersonCollectionPage { +public class PersonCollectionPage extends BaseCollectionPage implements IPersonCollectionPage { /** - * A collection page for User. + * A collection page for Person * - * @param response the serialized BasePersonCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized PersonCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public PersonCollectionPage(final BasePersonCollectionResponse response, final IPersonCollectionRequestBuilder builder) { - super(response, builder); + public PersonCollectionPage(final PersonCollectionResponse response, final IPersonCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequest.java index f338bc23da7..2a3bb6ba8cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePersonCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Collection Request. */ -public class PersonCollectionRequest extends BasePersonCollectionRequest implements IPersonCollectionRequest { +public class PersonCollectionRequest extends BaseCollectionRequest implements IPersonCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of Person * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public PersonCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public PersonCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, PersonCollectionResponse.class, IPersonCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IPersonCollectionPage get() throws ClientException { + final PersonCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Person newPerson, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new PersonRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPerson, callback); + } + + public Person post(final Person newPerson) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new PersonRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPerson); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPersonCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (PersonCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPersonCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (PersonCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPersonCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (PersonCollectionRequest)this; + } + + public IPersonCollectionPage buildFromResponse(final PersonCollectionResponse response) { + final IPersonCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new PersonCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final PersonCollectionPage page = new PersonCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequestBuilder.java index 589461abc01..38816df7303 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePersonCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Collection Request Builder. */ -public class PersonCollectionRequestBuilder extends BasePersonCollectionRequestBuilder implements IPersonCollectionRequestBuilder { +public class PersonCollectionRequestBuilder extends BaseRequestBuilder implements IPersonCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,18 @@ public class PersonCollectionRequestBuilder extends BasePersonCollectionRequestB public PersonCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IPersonCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IPersonCollectionRequest buildRequest(final java.util.List requestOptions) { + return new PersonCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IPersonRequestBuilder byId(final String id) { + return new PersonRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionResponse.java new file mode 100644 index 00000000000..4b204d4f620 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Person; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Person Collection Response. + */ +public class PersonCollectionResponse implements IJsonBackedObject { + + /** + * The list of Person within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PersonRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PersonRequest.java index 6ca3f014e74..6018ad5d0c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PersonRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPersonRequest; +import com.microsoft.graph.requests.extensions.PersonRequest; +import com.microsoft.graph.models.extensions.Person; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Person; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePersonRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Request. */ -public class PersonRequest extends BasePersonRequest implements IPersonRequest { - +public class PersonRequest extends BaseRequest implements IPersonRequest { + /** * The request for the Person * @@ -26,4 +32,107 @@ public class PersonRequest extends BasePersonRequest implements IPersonRequest { public PersonRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Person.class); } + + /** + * Gets the Person from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Person from the service + * + * @return the Person from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Person get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Person with a source + * + * @param sourcePerson the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Person sourcePerson, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePerson); + } + + /** + * Patches this Person with a source + * + * @param sourcePerson the source object with updates + * @return the updated Person + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Person patch(final Person sourcePerson) throws ClientException { + return send(HttpMethod.PATCH, sourcePerson); + } + + /** + * Creates a Person with a new object + * + * @param newPerson the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Person newPerson, final ICallback callback) { + send(HttpMethod.POST, callback, newPerson); + } + + /** + * Creates a Person with a new object + * + * @param newPerson the new object to create + * @return the created Person + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Person post(final Person newPerson) throws ClientException { + return send(HttpMethod.POST, newPerson); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPersonRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PersonRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPersonRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PersonRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PersonRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PersonRequestBuilder.java index adb50027b5d..4440bff7cdc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PersonRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPersonRequest; +import com.microsoft.graph.requests.extensions.PersonRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePersonRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Person Request Builder. */ -public class PersonRequestBuilder extends BasePersonRequestBuilder implements IPersonRequestBuilder { +public class PersonRequestBuilder extends BaseRequestBuilder implements IPersonRequestBuilder { /** * The request builder for the Person @@ -25,4 +28,26 @@ public class PersonRequestBuilder extends BasePersonRequestBuilder implements IP public PersonRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPersonRequest instance + */ + public IPersonRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPersonRequest instance + */ + public IPersonRequest buildRequest(final java.util.List requestOptions) { + return new PersonRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequest.java index 42bc399ec0c..47fc640d81b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequest; +import com.microsoft.graph.requests.extensions.PlannerAssignedToTaskBoardTaskFormatRequest; +import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerAssignedToTaskBoardTaskFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Assigned To Task Board Task Format Request. */ -public class PlannerAssignedToTaskBoardTaskFormatRequest extends BasePlannerAssignedToTaskBoardTaskFormatRequest implements IPlannerAssignedToTaskBoardTaskFormatRequest { - +public class PlannerAssignedToTaskBoardTaskFormatRequest extends BaseRequest implements IPlannerAssignedToTaskBoardTaskFormatRequest { + /** * The request for the PlannerAssignedToTaskBoardTaskFormat * @@ -26,4 +32,107 @@ public class PlannerAssignedToTaskBoardTaskFormatRequest extends BasePlannerAssi public PlannerAssignedToTaskBoardTaskFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerAssignedToTaskBoardTaskFormat.class); } + + /** + * Gets the PlannerAssignedToTaskBoardTaskFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerAssignedToTaskBoardTaskFormat from the service + * + * @return the PlannerAssignedToTaskBoardTaskFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerAssignedToTaskBoardTaskFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerAssignedToTaskBoardTaskFormat with a source + * + * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerAssignedToTaskBoardTaskFormat); + } + + /** + * Patches this PlannerAssignedToTaskBoardTaskFormat with a source + * + * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates + * @return the updated PlannerAssignedToTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerAssignedToTaskBoardTaskFormat patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerAssignedToTaskBoardTaskFormat); + } + + /** + * Creates a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerAssignedToTaskBoardTaskFormat); + } + + /** + * Creates a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create + * @return the created PlannerAssignedToTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerAssignedToTaskBoardTaskFormat post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.POST, newPlannerAssignedToTaskBoardTaskFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerAssignedToTaskBoardTaskFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerAssignedToTaskBoardTaskFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerAssignedToTaskBoardTaskFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerAssignedToTaskBoardTaskFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequestBuilder.java index 528933b99da..592e97dc7c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequest; +import com.microsoft.graph.requests.extensions.PlannerAssignedToTaskBoardTaskFormatRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Assigned To Task Board Task Format Request Builder. */ -public class PlannerAssignedToTaskBoardTaskFormatRequestBuilder extends BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder implements IPlannerAssignedToTaskBoardTaskFormatRequestBuilder { +public class PlannerAssignedToTaskBoardTaskFormatRequestBuilder extends BaseRequestBuilder implements IPlannerAssignedToTaskBoardTaskFormatRequestBuilder { /** * The request builder for the PlannerAssignedToTaskBoardTaskFormat @@ -25,4 +28,26 @@ public class PlannerAssignedToTaskBoardTaskFormatRequestBuilder extends BasePlan public PlannerAssignedToTaskBoardTaskFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance + */ + public IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance + */ + public IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions) { + return new PlannerAssignedToTaskBoardTaskFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionPage.java index e029c7a5ad1..c0a6fad3c98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerBucket; +import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerBucketCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerBucketCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Collection Page. */ -public class PlannerBucketCollectionPage extends BasePlannerBucketCollectionPage implements IPlannerBucketCollectionPage { +public class PlannerBucketCollectionPage extends BaseCollectionPage implements IPlannerBucketCollectionPage { /** - * A collection page for Planner. + * A collection page for PlannerBucket * - * @param response the serialized BasePlannerBucketCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized PlannerBucketCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public PlannerBucketCollectionPage(final BasePlannerBucketCollectionResponse response, final IPlannerBucketCollectionRequestBuilder builder) { - super(response, builder); + public PlannerBucketCollectionPage(final PlannerBucketCollectionResponse response, final IPlannerBucketCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequest.java index 15d6a1e274c..2e00e44737e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerBucketCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Collection Request. */ -public class PlannerBucketCollectionRequest extends BasePlannerBucketCollectionRequest implements IPlannerBucketCollectionRequest { +public class PlannerBucketCollectionRequest extends BaseCollectionRequest implements IPlannerBucketCollectionRequest { /** - * The request for this collection of Planner + * The request builder for this collection of PlannerBucket * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public PlannerBucketCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public PlannerBucketCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, PlannerBucketCollectionResponse.class, IPlannerBucketCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IPlannerBucketCollectionPage get() throws ClientException { + final PlannerBucketCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final PlannerBucket newPlannerBucket, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new PlannerBucketRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPlannerBucket, callback); + } + + public PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new PlannerBucketRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPlannerBucket); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerBucketCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (PlannerBucketCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerBucketCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (PlannerBucketCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPlannerBucketCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (PlannerBucketCollectionRequest)this; + } + + public IPlannerBucketCollectionPage buildFromResponse(final PlannerBucketCollectionResponse response) { + final IPlannerBucketCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new PlannerBucketCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final PlannerBucketCollectionPage page = new PlannerBucketCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequestBuilder.java index 5866d39aeb8..cd9872a1cf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Collection Request Builder. */ -public class PlannerBucketCollectionRequestBuilder extends BasePlannerBucketCollectionRequestBuilder implements IPlannerBucketCollectionRequestBuilder { +public class PlannerBucketCollectionRequestBuilder extends BaseRequestBuilder implements IPlannerBucketCollectionRequestBuilder { /** * The request builder for this collection of Planner @@ -25,4 +33,18 @@ public class PlannerBucketCollectionRequestBuilder extends BasePlannerBucketColl public PlannerBucketCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IPlannerBucketCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IPlannerBucketCollectionRequest buildRequest(final java.util.List requestOptions) { + return new PlannerBucketCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IPlannerBucketRequestBuilder byId(final String id) { + return new PlannerBucketRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionResponse.java new file mode 100644 index 00000000000..93b8b06ed64 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerBucket; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Planner Bucket Collection Response. + */ +public class PlannerBucketCollectionResponse implements IJsonBackedObject { + + /** + * The list of PlannerBucket within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequest.java index 74464c7c2f5..c8ade8e16fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequest; +import com.microsoft.graph.requests.extensions.PlannerBucketRequest; +import com.microsoft.graph.models.extensions.PlannerBucket; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerBucket; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerBucketRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Request. */ -public class PlannerBucketRequest extends BasePlannerBucketRequest implements IPlannerBucketRequest { - +public class PlannerBucketRequest extends BaseRequest implements IPlannerBucketRequest { + /** * The request for the PlannerBucket * @@ -26,4 +32,107 @@ public class PlannerBucketRequest extends BasePlannerBucketRequest implements IP public PlannerBucketRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerBucket.class); } + + /** + * Gets the PlannerBucket from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerBucket from the service + * + * @return the PlannerBucket from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucket get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerBucket with a source + * + * @param sourcePlannerBucket the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerBucket sourcePlannerBucket, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerBucket); + } + + /** + * Patches this PlannerBucket with a source + * + * @param sourcePlannerBucket the source object with updates + * @return the updated PlannerBucket + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucket patch(final PlannerBucket sourcePlannerBucket) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerBucket); + } + + /** + * Creates a PlannerBucket with a new object + * + * @param newPlannerBucket the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerBucket newPlannerBucket, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerBucket); + } + + /** + * Creates a PlannerBucket with a new object + * + * @param newPlannerBucket the new object to create + * @return the created PlannerBucket + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException { + return send(HttpMethod.POST, newPlannerBucket); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerBucketRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerBucketRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerBucketRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerBucketRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequestBuilder.java index 927a7798c8d..1e06ff626e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequest; +import com.microsoft.graph.requests.extensions.PlannerBucketRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerBucketRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Request Builder. */ -public class PlannerBucketRequestBuilder extends BasePlannerBucketRequestBuilder implements IPlannerBucketRequestBuilder { +public class PlannerBucketRequestBuilder extends BaseRequestBuilder implements IPlannerBucketRequestBuilder { /** * The request builder for the PlannerBucket @@ -25,4 +32,33 @@ public class PlannerBucketRequestBuilder extends BasePlannerBucketRequestBuilder public PlannerBucketRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerBucketRequest instance + */ + public IPlannerBucketRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerBucketRequest instance + */ + public IPlannerBucketRequest buildRequest(final java.util.List requestOptions) { + return new PlannerBucketRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IPlannerTaskCollectionRequestBuilder tasks() { + return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); + } + + public IPlannerTaskRequestBuilder tasks(final String id) { + return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequest.java index f737b3f688d..9139d90ebc9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequest; +import com.microsoft.graph.requests.extensions.PlannerBucketTaskBoardTaskFormatRequest; +import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerBucketTaskBoardTaskFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Task Board Task Format Request. */ -public class PlannerBucketTaskBoardTaskFormatRequest extends BasePlannerBucketTaskBoardTaskFormatRequest implements IPlannerBucketTaskBoardTaskFormatRequest { - +public class PlannerBucketTaskBoardTaskFormatRequest extends BaseRequest implements IPlannerBucketTaskBoardTaskFormatRequest { + /** * The request for the PlannerBucketTaskBoardTaskFormat * @@ -26,4 +32,107 @@ public class PlannerBucketTaskBoardTaskFormatRequest extends BasePlannerBucketTa public PlannerBucketTaskBoardTaskFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerBucketTaskBoardTaskFormat.class); } + + /** + * Gets the PlannerBucketTaskBoardTaskFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerBucketTaskBoardTaskFormat from the service + * + * @return the PlannerBucketTaskBoardTaskFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucketTaskBoardTaskFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerBucketTaskBoardTaskFormat with a source + * + * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerBucketTaskBoardTaskFormat); + } + + /** + * Patches this PlannerBucketTaskBoardTaskFormat with a source + * + * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates + * @return the updated PlannerBucketTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucketTaskBoardTaskFormat patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerBucketTaskBoardTaskFormat); + } + + /** + * Creates a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerBucketTaskBoardTaskFormat); + } + + /** + * Creates a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the new object to create + * @return the created PlannerBucketTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucketTaskBoardTaskFormat post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.POST, newPlannerBucketTaskBoardTaskFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerBucketTaskBoardTaskFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerBucketTaskBoardTaskFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerBucketTaskBoardTaskFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerBucketTaskBoardTaskFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequestBuilder.java index b33ce027c25..2ed0d7705c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequest; +import com.microsoft.graph.requests.extensions.PlannerBucketTaskBoardTaskFormatRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerBucketTaskBoardTaskFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Bucket Task Board Task Format Request Builder. */ -public class PlannerBucketTaskBoardTaskFormatRequestBuilder extends BasePlannerBucketTaskBoardTaskFormatRequestBuilder implements IPlannerBucketTaskBoardTaskFormatRequestBuilder { +public class PlannerBucketTaskBoardTaskFormatRequestBuilder extends BaseRequestBuilder implements IPlannerBucketTaskBoardTaskFormatRequestBuilder { /** * The request builder for the PlannerBucketTaskBoardTaskFormat @@ -25,4 +28,26 @@ public class PlannerBucketTaskBoardTaskFormatRequestBuilder extends BasePlannerB public PlannerBucketTaskBoardTaskFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerBucketTaskBoardTaskFormatRequest instance + */ + public IPlannerBucketTaskBoardTaskFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerBucketTaskBoardTaskFormatRequest instance + */ + public IPlannerBucketTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions) { + return new PlannerBucketTaskBoardTaskFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequest.java index 18805596562..b106fc3d7dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerGroupRequest; +import com.microsoft.graph.requests.extensions.PlannerGroupRequest; +import com.microsoft.graph.models.extensions.PlannerGroup; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerGroup; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerGroupRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Group Request. */ -public class PlannerGroupRequest extends BasePlannerGroupRequest implements IPlannerGroupRequest { - +public class PlannerGroupRequest extends BaseRequest implements IPlannerGroupRequest { + /** * The request for the PlannerGroup * @@ -26,4 +32,107 @@ public class PlannerGroupRequest extends BasePlannerGroupRequest implements IPla public PlannerGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerGroup.class); } + + /** + * Gets the PlannerGroup from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerGroup from the service + * + * @return the PlannerGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerGroup get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerGroup with a source + * + * @param sourcePlannerGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerGroup sourcePlannerGroup, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerGroup); + } + + /** + * Patches this PlannerGroup with a source + * + * @param sourcePlannerGroup the source object with updates + * @return the updated PlannerGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerGroup patch(final PlannerGroup sourcePlannerGroup) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerGroup); + } + + /** + * Creates a PlannerGroup with a new object + * + * @param newPlannerGroup the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerGroup newPlannerGroup, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerGroup); + } + + /** + * Creates a PlannerGroup with a new object + * + * @param newPlannerGroup the new object to create + * @return the created PlannerGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerGroup post(final PlannerGroup newPlannerGroup) throws ClientException { + return send(HttpMethod.POST, newPlannerGroup); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerGroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerGroupRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequestBuilder.java index 5b26070aa36..2dca97747ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerGroupRequest; +import com.microsoft.graph.requests.extensions.PlannerGroupRequest; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerGroupRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Group Request Builder. */ -public class PlannerGroupRequestBuilder extends BasePlannerGroupRequestBuilder implements IPlannerGroupRequestBuilder { +public class PlannerGroupRequestBuilder extends BaseRequestBuilder implements IPlannerGroupRequestBuilder { /** * The request builder for the PlannerGroup @@ -25,4 +32,33 @@ public class PlannerGroupRequestBuilder extends BasePlannerGroupRequestBuilder i public PlannerGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerGroupRequest instance + */ + public IPlannerGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerGroupRequest instance + */ + public IPlannerGroupRequest buildRequest(final java.util.List requestOptions) { + return new PlannerGroupRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IPlannerPlanCollectionRequestBuilder plans() { + return new PlannerPlanCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("plans"), getClient(), null); + } + + public IPlannerPlanRequestBuilder plans(final String id) { + return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment("plans") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionPage.java index a2c2666bb9c..854dff6f6a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Collection Page. */ -public class PlannerPlanCollectionPage extends BasePlannerPlanCollectionPage implements IPlannerPlanCollectionPage { +public class PlannerPlanCollectionPage extends BaseCollectionPage implements IPlannerPlanCollectionPage { /** - * A collection page for Planner. + * A collection page for PlannerPlan * - * @param response the serialized BasePlannerPlanCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized PlannerPlanCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public PlannerPlanCollectionPage(final BasePlannerPlanCollectionResponse response, final IPlannerPlanCollectionRequestBuilder builder) { - super(response, builder); + public PlannerPlanCollectionPage(final PlannerPlanCollectionResponse response, final IPlannerPlanCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequest.java index e5b3c6fe203..2969928089a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Collection Request. */ -public class PlannerPlanCollectionRequest extends BasePlannerPlanCollectionRequest implements IPlannerPlanCollectionRequest { +public class PlannerPlanCollectionRequest extends BaseCollectionRequest implements IPlannerPlanCollectionRequest { /** - * The request for this collection of Planner + * The request builder for this collection of PlannerPlan * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public PlannerPlanCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public PlannerPlanCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, PlannerPlanCollectionResponse.class, IPlannerPlanCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IPlannerPlanCollectionPage get() throws ClientException { + final PlannerPlanCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final PlannerPlan newPlannerPlan, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new PlannerPlanRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPlannerPlan, callback); + } + + public PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new PlannerPlanRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPlannerPlan); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerPlanCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (PlannerPlanCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerPlanCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (PlannerPlanCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPlannerPlanCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (PlannerPlanCollectionRequest)this; + } + + public IPlannerPlanCollectionPage buildFromResponse(final PlannerPlanCollectionResponse response) { + final IPlannerPlanCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new PlannerPlanCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final PlannerPlanCollectionPage page = new PlannerPlanCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequestBuilder.java index 6a3ee9b68d5..01aa3496efd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Collection Request Builder. */ -public class PlannerPlanCollectionRequestBuilder extends BasePlannerPlanCollectionRequestBuilder implements IPlannerPlanCollectionRequestBuilder { +public class PlannerPlanCollectionRequestBuilder extends BaseRequestBuilder implements IPlannerPlanCollectionRequestBuilder { /** * The request builder for this collection of Planner @@ -25,4 +33,18 @@ public class PlannerPlanCollectionRequestBuilder extends BasePlannerPlanCollecti public PlannerPlanCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IPlannerPlanCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IPlannerPlanCollectionRequest buildRequest(final java.util.List requestOptions) { + return new PlannerPlanCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IPlannerPlanRequestBuilder byId(final String id) { + return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionResponse.java new file mode 100644 index 00000000000..5e228ab7e40 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerPlan; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Planner Plan Collection Response. + */ +public class PlannerPlanCollectionResponse implements IJsonBackedObject { + + /** + * The list of PlannerPlan within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequest.java index f545a41bcb5..b8bd02b86fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequest; +import com.microsoft.graph.requests.extensions.PlannerPlanDetailsRequest; +import com.microsoft.graph.models.extensions.PlannerPlanDetails; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerPlanDetails; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerPlanDetailsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Details Request. */ -public class PlannerPlanDetailsRequest extends BasePlannerPlanDetailsRequest implements IPlannerPlanDetailsRequest { - +public class PlannerPlanDetailsRequest extends BaseRequest implements IPlannerPlanDetailsRequest { + /** * The request for the PlannerPlanDetails * @@ -26,4 +32,107 @@ public class PlannerPlanDetailsRequest extends BasePlannerPlanDetailsRequest imp public PlannerPlanDetailsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerPlanDetails.class); } + + /** + * Gets the PlannerPlanDetails from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerPlanDetails from the service + * + * @return the PlannerPlanDetails from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlanDetails get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerPlanDetails with a source + * + * @param sourcePlannerPlanDetails the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerPlanDetails sourcePlannerPlanDetails, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerPlanDetails); + } + + /** + * Patches this PlannerPlanDetails with a source + * + * @param sourcePlannerPlanDetails the source object with updates + * @return the updated PlannerPlanDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlanDetails patch(final PlannerPlanDetails sourcePlannerPlanDetails) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerPlanDetails); + } + + /** + * Creates a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerPlanDetails newPlannerPlanDetails, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerPlanDetails); + } + + /** + * Creates a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the new object to create + * @return the created PlannerPlanDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlanDetails post(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException { + return send(HttpMethod.POST, newPlannerPlanDetails); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerPlanDetailsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerPlanDetailsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerPlanDetailsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerPlanDetailsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequestBuilder.java index 10d05e15c21..e9d7fdf42cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequest; +import com.microsoft.graph.requests.extensions.PlannerPlanDetailsRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerPlanDetailsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Details Request Builder. */ -public class PlannerPlanDetailsRequestBuilder extends BasePlannerPlanDetailsRequestBuilder implements IPlannerPlanDetailsRequestBuilder { +public class PlannerPlanDetailsRequestBuilder extends BaseRequestBuilder implements IPlannerPlanDetailsRequestBuilder { /** * The request builder for the PlannerPlanDetails @@ -25,4 +28,26 @@ public class PlannerPlanDetailsRequestBuilder extends BasePlannerPlanDetailsRequ public PlannerPlanDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerPlanDetailsRequest instance + */ + public IPlannerPlanDetailsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerPlanDetailsRequest instance + */ + public IPlannerPlanDetailsRequest buildRequest(final java.util.List requestOptions) { + return new PlannerPlanDetailsRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequest.java index 5a1db8b4365..a9f79808d59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequest; +import com.microsoft.graph.requests.extensions.PlannerPlanRequest; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerPlanRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Request. */ -public class PlannerPlanRequest extends BasePlannerPlanRequest implements IPlannerPlanRequest { - +public class PlannerPlanRequest extends BaseRequest implements IPlannerPlanRequest { + /** * The request for the PlannerPlan * @@ -26,4 +32,107 @@ public class PlannerPlanRequest extends BasePlannerPlanRequest implements IPlann public PlannerPlanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerPlan.class); } + + /** + * Gets the PlannerPlan from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerPlan from the service + * + * @return the PlannerPlan from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlan get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerPlan with a source + * + * @param sourcePlannerPlan the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerPlan sourcePlannerPlan, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerPlan); + } + + /** + * Patches this PlannerPlan with a source + * + * @param sourcePlannerPlan the source object with updates + * @return the updated PlannerPlan + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlan patch(final PlannerPlan sourcePlannerPlan) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerPlan); + } + + /** + * Creates a PlannerPlan with a new object + * + * @param newPlannerPlan the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerPlan newPlannerPlan, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerPlan); + } + + /** + * Creates a PlannerPlan with a new object + * + * @param newPlannerPlan the new object to create + * @return the created PlannerPlan + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException { + return send(HttpMethod.POST, newPlannerPlan); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerPlanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerPlanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerPlanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerPlanRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequestBuilder.java index 90328e50aab..7ece66f273d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequestBuilder.java @@ -3,17 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequest; +import com.microsoft.graph.requests.extensions.PlannerPlanRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerBucketRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanDetailsRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerPlanRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Plan Request Builder. */ -public class PlannerPlanRequestBuilder extends BasePlannerPlanRequestBuilder implements IPlannerPlanRequestBuilder { +public class PlannerPlanRequestBuilder extends BaseRequestBuilder implements IPlannerPlanRequestBuilder { /** * The request builder for the PlannerPlan @@ -25,4 +38,49 @@ public class PlannerPlanRequestBuilder extends BasePlannerPlanRequestBuilder imp public PlannerPlanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerPlanRequest instance + */ + public IPlannerPlanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerPlanRequest instance + */ + public IPlannerPlanRequest buildRequest(final java.util.List requestOptions) { + return new PlannerPlanRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IPlannerTaskCollectionRequestBuilder tasks() { + return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); + } + + public IPlannerTaskRequestBuilder tasks(final String id) { + return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); + } + public IPlannerBucketCollectionRequestBuilder buckets() { + return new PlannerBucketCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("buckets"), getClient(), null); + } + + public IPlannerBucketRequestBuilder buckets(final String id) { + return new PlannerBucketRequestBuilder(getRequestUrlWithAdditionalSegment("buckets") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for PlannerPlanDetails + * + * @return the IPlannerPlanDetailsRequestBuilder instance + */ + public IPlannerPlanDetailsRequestBuilder details() { + return new PlannerPlanDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("details"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequest.java index 7424b507ebf..e2538598e5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequest; +import com.microsoft.graph.requests.extensions.PlannerProgressTaskBoardTaskFormatRequest; +import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerProgressTaskBoardTaskFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Progress Task Board Task Format Request. */ -public class PlannerProgressTaskBoardTaskFormatRequest extends BasePlannerProgressTaskBoardTaskFormatRequest implements IPlannerProgressTaskBoardTaskFormatRequest { - +public class PlannerProgressTaskBoardTaskFormatRequest extends BaseRequest implements IPlannerProgressTaskBoardTaskFormatRequest { + /** * The request for the PlannerProgressTaskBoardTaskFormat * @@ -26,4 +32,107 @@ public class PlannerProgressTaskBoardTaskFormatRequest extends BasePlannerProgre public PlannerProgressTaskBoardTaskFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerProgressTaskBoardTaskFormat.class); } + + /** + * Gets the PlannerProgressTaskBoardTaskFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerProgressTaskBoardTaskFormat from the service + * + * @return the PlannerProgressTaskBoardTaskFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerProgressTaskBoardTaskFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerProgressTaskBoardTaskFormat with a source + * + * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerProgressTaskBoardTaskFormat); + } + + /** + * Patches this PlannerProgressTaskBoardTaskFormat with a source + * + * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates + * @return the updated PlannerProgressTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerProgressTaskBoardTaskFormat patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerProgressTaskBoardTaskFormat); + } + + /** + * Creates a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerProgressTaskBoardTaskFormat); + } + + /** + * Creates a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the new object to create + * @return the created PlannerProgressTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerProgressTaskBoardTaskFormat post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.POST, newPlannerProgressTaskBoardTaskFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerProgressTaskBoardTaskFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerProgressTaskBoardTaskFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerProgressTaskBoardTaskFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerProgressTaskBoardTaskFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequestBuilder.java index c5407b34617..2c529c51592 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequest; +import com.microsoft.graph.requests.extensions.PlannerProgressTaskBoardTaskFormatRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerProgressTaskBoardTaskFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Progress Task Board Task Format Request Builder. */ -public class PlannerProgressTaskBoardTaskFormatRequestBuilder extends BasePlannerProgressTaskBoardTaskFormatRequestBuilder implements IPlannerProgressTaskBoardTaskFormatRequestBuilder { +public class PlannerProgressTaskBoardTaskFormatRequestBuilder extends BaseRequestBuilder implements IPlannerProgressTaskBoardTaskFormatRequestBuilder { /** * The request builder for the PlannerProgressTaskBoardTaskFormat @@ -25,4 +28,26 @@ public class PlannerProgressTaskBoardTaskFormatRequestBuilder extends BasePlanne public PlannerProgressTaskBoardTaskFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerProgressTaskBoardTaskFormatRequest instance + */ + public IPlannerProgressTaskBoardTaskFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerProgressTaskBoardTaskFormatRequest instance + */ + public IPlannerProgressTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions) { + return new PlannerProgressTaskBoardTaskFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequest.java index ddafa6187b9..694f7fd46e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerRequest; +import com.microsoft.graph.requests.extensions.PlannerRequest; +import com.microsoft.graph.models.extensions.Planner; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Planner; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Request. */ -public class PlannerRequest extends BasePlannerRequest implements IPlannerRequest { - +public class PlannerRequest extends BaseRequest implements IPlannerRequest { + /** * The request for the Planner * @@ -26,4 +32,107 @@ public class PlannerRequest extends BasePlannerRequest implements IPlannerReques public PlannerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Planner.class); } + + /** + * Gets the Planner from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Planner from the service + * + * @return the Planner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Planner get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Planner with a source + * + * @param sourcePlanner the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Planner sourcePlanner, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlanner); + } + + /** + * Patches this Planner with a source + * + * @param sourcePlanner the source object with updates + * @return the updated Planner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Planner patch(final Planner sourcePlanner) throws ClientException { + return send(HttpMethod.PATCH, sourcePlanner); + } + + /** + * Creates a Planner with a new object + * + * @param newPlanner the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Planner newPlanner, final ICallback callback) { + send(HttpMethod.POST, callback, newPlanner); + } + + /** + * Creates a Planner with a new object + * + * @param newPlanner the new object to create + * @return the created Planner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Planner post(final Planner newPlanner) throws ClientException { + return send(HttpMethod.POST, newPlanner); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequestBuilder.java index 4c3b671122f..7d8a1444611 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequestBuilder.java @@ -3,17 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerRequest; +import com.microsoft.graph.requests.extensions.PlannerRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerBucketCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerBucketRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Request Builder. */ -public class PlannerRequestBuilder extends BasePlannerRequestBuilder implements IPlannerRequestBuilder { +public class PlannerRequestBuilder extends BaseRequestBuilder implements IPlannerRequestBuilder { /** * The request builder for the Planner @@ -25,4 +40,47 @@ public class PlannerRequestBuilder extends BasePlannerRequestBuilder implements public PlannerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerRequest instance + */ + public IPlannerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerRequest instance + */ + public IPlannerRequest buildRequest(final java.util.List requestOptions) { + return new PlannerRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IPlannerTaskCollectionRequestBuilder tasks() { + return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); + } + + public IPlannerTaskRequestBuilder tasks(final String id) { + return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); + } + public IPlannerPlanCollectionRequestBuilder plans() { + return new PlannerPlanCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("plans"), getClient(), null); + } + + public IPlannerPlanRequestBuilder plans(final String id) { + return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment("plans") + "/" + id, getClient(), null); + } + public IPlannerBucketCollectionRequestBuilder buckets() { + return new PlannerBucketCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("buckets"), getClient(), null); + } + + public IPlannerBucketRequestBuilder buckets(final String id) { + return new PlannerBucketRequestBuilder(getRequestUrlWithAdditionalSegment("buckets") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionPage.java index 20e1b86fba5..27be14e01de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionPage; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Collection Page. */ -public class PlannerTaskCollectionPage extends BasePlannerTaskCollectionPage implements IPlannerTaskCollectionPage { +public class PlannerTaskCollectionPage extends BaseCollectionPage implements IPlannerTaskCollectionPage { /** - * A collection page for PlannerBucket. + * A collection page for PlannerTask * - * @param response the serialized BasePlannerTaskCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized PlannerTaskCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public PlannerTaskCollectionPage(final BasePlannerTaskCollectionResponse response, final IPlannerTaskCollectionRequestBuilder builder) { - super(response, builder); + public PlannerTaskCollectionPage(final PlannerTaskCollectionResponse response, final IPlannerTaskCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequest.java index 3f84692509f..d98aa6374e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Collection Request. */ -public class PlannerTaskCollectionRequest extends BasePlannerTaskCollectionRequest implements IPlannerTaskCollectionRequest { +public class PlannerTaskCollectionRequest extends BaseCollectionRequest implements IPlannerTaskCollectionRequest { /** - * The request for this collection of PlannerBucket + * The request builder for this collection of PlannerTask * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public PlannerTaskCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public PlannerTaskCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, PlannerTaskCollectionResponse.class, IPlannerTaskCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IPlannerTaskCollectionPage get() throws ClientException { + final PlannerTaskCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final PlannerTask newPlannerTask, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new PlannerTaskRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPlannerTask, callback); + } + + public PlannerTask post(final PlannerTask newPlannerTask) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new PlannerTaskRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPlannerTask); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerTaskCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (PlannerTaskCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerTaskCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (PlannerTaskCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPlannerTaskCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (PlannerTaskCollectionRequest)this; + } + + public IPlannerTaskCollectionPage buildFromResponse(final PlannerTaskCollectionResponse response) { + final IPlannerTaskCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new PlannerTaskCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final PlannerTaskCollectionPage page = new PlannerTaskCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequestBuilder.java index b7942069c41..d748b314de4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Collection Request Builder. */ -public class PlannerTaskCollectionRequestBuilder extends BasePlannerTaskCollectionRequestBuilder implements IPlannerTaskCollectionRequestBuilder { +public class PlannerTaskCollectionRequestBuilder extends BaseRequestBuilder implements IPlannerTaskCollectionRequestBuilder { /** * The request builder for this collection of PlannerBucket @@ -25,4 +33,18 @@ public class PlannerTaskCollectionRequestBuilder extends BasePlannerTaskCollecti public PlannerTaskCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IPlannerTaskCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IPlannerTaskCollectionRequest buildRequest(final java.util.List requestOptions) { + return new PlannerTaskCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IPlannerTaskRequestBuilder byId(final String id) { + return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionResponse.java new file mode 100644 index 00000000000..70843635392 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PlannerTask; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Planner Task Collection Response. + */ +public class PlannerTaskCollectionResponse implements IJsonBackedObject { + + /** + * The list of PlannerTask within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequest.java index 974e58d80ba..478ea4ecb96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequest; +import com.microsoft.graph.requests.extensions.PlannerTaskDetailsRequest; +import com.microsoft.graph.models.extensions.PlannerTaskDetails; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerTaskDetails; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerTaskDetailsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Details Request. */ -public class PlannerTaskDetailsRequest extends BasePlannerTaskDetailsRequest implements IPlannerTaskDetailsRequest { - +public class PlannerTaskDetailsRequest extends BaseRequest implements IPlannerTaskDetailsRequest { + /** * The request for the PlannerTaskDetails * @@ -26,4 +32,107 @@ public class PlannerTaskDetailsRequest extends BasePlannerTaskDetailsRequest imp public PlannerTaskDetailsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerTaskDetails.class); } + + /** + * Gets the PlannerTaskDetails from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerTaskDetails from the service + * + * @return the PlannerTaskDetails from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTaskDetails get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerTaskDetails with a source + * + * @param sourcePlannerTaskDetails the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerTaskDetails sourcePlannerTaskDetails, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerTaskDetails); + } + + /** + * Patches this PlannerTaskDetails with a source + * + * @param sourcePlannerTaskDetails the source object with updates + * @return the updated PlannerTaskDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTaskDetails patch(final PlannerTaskDetails sourcePlannerTaskDetails) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerTaskDetails); + } + + /** + * Creates a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerTaskDetails newPlannerTaskDetails, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerTaskDetails); + } + + /** + * Creates a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the new object to create + * @return the created PlannerTaskDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTaskDetails post(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException { + return send(HttpMethod.POST, newPlannerTaskDetails); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerTaskDetailsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerTaskDetailsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerTaskDetailsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerTaskDetailsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequestBuilder.java index db8afb486cb..0f935aa7508 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequest; +import com.microsoft.graph.requests.extensions.PlannerTaskDetailsRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerTaskDetailsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Details Request Builder. */ -public class PlannerTaskDetailsRequestBuilder extends BasePlannerTaskDetailsRequestBuilder implements IPlannerTaskDetailsRequestBuilder { +public class PlannerTaskDetailsRequestBuilder extends BaseRequestBuilder implements IPlannerTaskDetailsRequestBuilder { /** * The request builder for the PlannerTaskDetails @@ -25,4 +28,26 @@ public class PlannerTaskDetailsRequestBuilder extends BasePlannerTaskDetailsRequ public PlannerTaskDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerTaskDetailsRequest instance + */ + public IPlannerTaskDetailsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerTaskDetailsRequest instance + */ + public IPlannerTaskDetailsRequest buildRequest(final java.util.List requestOptions) { + return new PlannerTaskDetailsRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequest.java index 855e1f30726..f80e61fb6f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequest; +import com.microsoft.graph.requests.extensions.PlannerTaskRequest; +import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerTaskRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Request. */ -public class PlannerTaskRequest extends BasePlannerTaskRequest implements IPlannerTaskRequest { - +public class PlannerTaskRequest extends BaseRequest implements IPlannerTaskRequest { + /** * The request for the PlannerTask * @@ -26,4 +32,107 @@ public class PlannerTaskRequest extends BasePlannerTaskRequest implements IPlann public PlannerTaskRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerTask.class); } + + /** + * Gets the PlannerTask from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerTask from the service + * + * @return the PlannerTask from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTask get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerTask with a source + * + * @param sourcePlannerTask the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerTask sourcePlannerTask, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerTask); + } + + /** + * Patches this PlannerTask with a source + * + * @param sourcePlannerTask the source object with updates + * @return the updated PlannerTask + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTask patch(final PlannerTask sourcePlannerTask) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerTask); + } + + /** + * Creates a PlannerTask with a new object + * + * @param newPlannerTask the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerTask newPlannerTask, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerTask); + } + + /** + * Creates a PlannerTask with a new object + * + * @param newPlannerTask the new object to create + * @return the created PlannerTask + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTask post(final PlannerTask newPlannerTask) throws ClientException { + return send(HttpMethod.POST, newPlannerTask); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerTaskRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerTaskRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerTaskRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerTaskRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequestBuilder.java index 5a4916d843f..312cec7a78f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequest; +import com.microsoft.graph.requests.extensions.PlannerTaskRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerAssignedToTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerProgressTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerBucketTaskBoardTaskFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerTaskRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner Task Request Builder. */ -public class PlannerTaskRequestBuilder extends BasePlannerTaskRequestBuilder implements IPlannerTaskRequestBuilder { +public class PlannerTaskRequestBuilder extends BaseRequestBuilder implements IPlannerTaskRequestBuilder { /** * The request builder for the PlannerTask @@ -25,4 +36,62 @@ public class PlannerTaskRequestBuilder extends BasePlannerTaskRequestBuilder imp public PlannerTaskRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerTaskRequest instance + */ + public IPlannerTaskRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerTaskRequest instance + */ + public IPlannerTaskRequest buildRequest(final java.util.List requestOptions) { + return new PlannerTaskRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for PlannerTaskDetails + * + * @return the IPlannerTaskDetailsRequestBuilder instance + */ + public IPlannerTaskDetailsRequestBuilder details() { + return new PlannerTaskDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("details"), getClient(), null); + } + + /** + * Gets the request builder for PlannerAssignedToTaskBoardTaskFormat + * + * @return the IPlannerAssignedToTaskBoardTaskFormatRequestBuilder instance + */ + public IPlannerAssignedToTaskBoardTaskFormatRequestBuilder assignedToTaskBoardFormat() { + return new PlannerAssignedToTaskBoardTaskFormatRequestBuilder(getRequestUrlWithAdditionalSegment("assignedToTaskBoardFormat"), getClient(), null); + } + + /** + * Gets the request builder for PlannerProgressTaskBoardTaskFormat + * + * @return the IPlannerProgressTaskBoardTaskFormatRequestBuilder instance + */ + public IPlannerProgressTaskBoardTaskFormatRequestBuilder progressTaskBoardFormat() { + return new PlannerProgressTaskBoardTaskFormatRequestBuilder(getRequestUrlWithAdditionalSegment("progressTaskBoardFormat"), getClient(), null); + } + + /** + * Gets the request builder for PlannerBucketTaskBoardTaskFormat + * + * @return the IPlannerBucketTaskBoardTaskFormatRequestBuilder instance + */ + public IPlannerBucketTaskBoardTaskFormatRequestBuilder bucketTaskBoardFormat() { + return new PlannerBucketTaskBoardTaskFormatRequestBuilder(getRequestUrlWithAdditionalSegment("bucketTaskBoardFormat"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequest.java index b43ea7c813e..29d9838381b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerUserRequest; +import com.microsoft.graph.requests.extensions.PlannerUserRequest; +import com.microsoft.graph.models.extensions.PlannerUser; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.PlannerUser; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerUserRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner User Request. */ -public class PlannerUserRequest extends BasePlannerUserRequest implements IPlannerUserRequest { - +public class PlannerUserRequest extends BaseRequest implements IPlannerUserRequest { + /** * The request for the PlannerUser * @@ -26,4 +32,107 @@ public class PlannerUserRequest extends BasePlannerUserRequest implements IPlann public PlannerUserRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, PlannerUser.class); } + + /** + * Gets the PlannerUser from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the PlannerUser from the service + * + * @return the PlannerUser from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerUser get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this PlannerUser with a source + * + * @param sourcePlannerUser the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final PlannerUser sourcePlannerUser, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePlannerUser); + } + + /** + * Patches this PlannerUser with a source + * + * @param sourcePlannerUser the source object with updates + * @return the updated PlannerUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerUser patch(final PlannerUser sourcePlannerUser) throws ClientException { + return send(HttpMethod.PATCH, sourcePlannerUser); + } + + /** + * Creates a PlannerUser with a new object + * + * @param newPlannerUser the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final PlannerUser newPlannerUser, final ICallback callback) { + send(HttpMethod.POST, callback, newPlannerUser); + } + + /** + * Creates a PlannerUser with a new object + * + * @param newPlannerUser the new object to create + * @return the created PlannerUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerUser post(final PlannerUser newPlannerUser) throws ClientException { + return send(HttpMethod.POST, newPlannerUser); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPlannerUserRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PlannerUserRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPlannerUserRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PlannerUserRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequestBuilder.java index 3319b51f2e1..8b2c3f2d48f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPlannerUserRequest; +import com.microsoft.graph.requests.extensions.PlannerUserRequest; +import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerPlanRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePlannerUserRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Planner User Request Builder. */ -public class PlannerUserRequestBuilder extends BasePlannerUserRequestBuilder implements IPlannerUserRequestBuilder { +public class PlannerUserRequestBuilder extends BaseRequestBuilder implements IPlannerUserRequestBuilder { /** * The request builder for the PlannerUser @@ -25,4 +36,40 @@ public class PlannerUserRequestBuilder extends BasePlannerUserRequestBuilder imp public PlannerUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPlannerUserRequest instance + */ + public IPlannerUserRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPlannerUserRequest instance + */ + public IPlannerUserRequest buildRequest(final java.util.List requestOptions) { + return new PlannerUserRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IPlannerTaskCollectionRequestBuilder tasks() { + return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); + } + + public IPlannerTaskRequestBuilder tasks(final String id) { + return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); + } + public IPlannerPlanCollectionRequestBuilder plans() { + return new PlannerPlanCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("plans"), getClient(), null); + } + + public IPlannerPlanRequestBuilder plans(final String id) { + return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment("plans") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionPage.java index 0077d428f90..5b1f43fbc2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.requests.extensions.IPostCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BasePostCollectionPage; -import com.microsoft.graph.requests.generated.BasePostCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Collection Page. */ -public class PostCollectionPage extends BasePostCollectionPage implements IPostCollectionPage { +public class PostCollectionPage extends BaseCollectionPage implements IPostCollectionPage { /** - * A collection page for ConversationThread. + * A collection page for Post * - * @param response the serialized BasePostCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized PostCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public PostCollectionPage(final BasePostCollectionResponse response, final IPostCollectionRequestBuilder builder) { - super(response, builder); + public PostCollectionPage(final PostCollectionResponse response, final IPostCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequest.java index 8254cab9d5b..7d3282c8f9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Collection Request. */ -public class PostCollectionRequest extends BasePostCollectionRequest implements IPostCollectionRequest { +public class PostCollectionRequest extends BaseCollectionRequest implements IPostCollectionRequest { /** - * The request for this collection of ConversationThread + * The request builder for this collection of Post * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public PostCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public PostCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, PostCollectionResponse.class, IPostCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IPostCollectionPage get() throws ClientException { + final PostCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Post newPost, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new PostRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPost, callback); + } + + public Post post(final Post newPost) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new PostRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newPost); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPostCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (PostCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPostCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (PostCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPostCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (PostCollectionRequest)this; + } + + public IPostCollectionPage buildFromResponse(final PostCollectionResponse response) { + final IPostCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new PostCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final PostCollectionPage page = new PostCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequestBuilder.java index 784d72dfe0a..39fa5dfedbf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Collection Request Builder. */ -public class PostCollectionRequestBuilder extends BasePostCollectionRequestBuilder implements IPostCollectionRequestBuilder { +public class PostCollectionRequestBuilder extends BaseRequestBuilder implements IPostCollectionRequestBuilder { /** * The request builder for this collection of ConversationThread @@ -25,4 +33,18 @@ public class PostCollectionRequestBuilder extends BasePostCollectionRequestBuild public PostCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IPostCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IPostCollectionRequest buildRequest(final java.util.List requestOptions) { + return new PostCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IPostRequestBuilder byId(final String id) { + return new PostRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionResponse.java new file mode 100644 index 00000000000..d340b62b475 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Post; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Post Collection Response. + */ +public class PostCollectionResponse implements IJsonBackedObject { + + /** + * The list of Post within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequest.java index 533ae91eda7..32a9c9e08e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PostForwardBody; +import com.microsoft.graph.requests.extensions.IPostForwardRequest; +import com.microsoft.graph.requests.extensions.PostForwardRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostForwardRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Forward Request. */ -public class PostForwardRequest extends BasePostForwardRequest implements IPostForwardRequest { +public class PostForwardRequest extends BaseRequest implements IPostForwardRequest { + protected final PostForwardBody body; /** * The request for this PostForward @@ -23,6 +31,49 @@ public class PostForwardRequest extends BasePostForwardRequest implements IPostF * @param requestOptions the options for this request */ public PostForwardRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new PostForwardBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPostForwardRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PostForwardRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPostForwardRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (PostForwardRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPostForwardRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PostForwardRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequestBuilder.java index e44d7df95c8..859f9c4c351 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostForwardRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostForwardRequest; +import com.microsoft.graph.requests.extensions.PostForwardRequest; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostForwardRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Forward Request Builder. */ -public class PostForwardRequestBuilder extends BasePostForwardRequestBuilder implements IPostForwardRequestBuilder { +public class PostForwardRequestBuilder extends BaseActionRequestBuilder implements IPostForwardRequestBuilder { /** * The request builder for this PostForward @@ -26,6 +31,41 @@ public class PostForwardRequestBuilder extends BasePostForwardRequestBuilder imp * @param toRecipients the toRecipients */ public PostForwardRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final java.util.List toRecipients) { - super(requestUrl, client, requestOptions, comment, toRecipients); + super(requestUrl, client, requestOptions); + bodyParams.put("comment", comment); + bodyParams.put("toRecipients", toRecipients); + } + + /** + * Creates the IPostForwardRequest + * + * @return the IPostForwardRequest instance + */ + public IPostForwardRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IPostForwardRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IPostForwardRequest instance + */ + public IPostForwardRequest buildRequest(final java.util.List requestOptions) { + PostForwardRequest request = new PostForwardRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + if (hasParameter("toRecipients")) { + request.body.toRecipients = getParameter("toRecipients"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequest.java index 393486633b6..9a9ef2e5cf1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.PostReplyBody; +import com.microsoft.graph.requests.extensions.IPostReplyRequest; +import com.microsoft.graph.requests.extensions.PostReplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostReplyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Reply Request. */ -public class PostReplyRequest extends BasePostReplyRequest implements IPostReplyRequest { +public class PostReplyRequest extends BaseRequest implements IPostReplyRequest { + protected final PostReplyBody body; /** * The request for this PostReply @@ -23,6 +31,49 @@ public class PostReplyRequest extends BasePostReplyRequest implements IPostReply * @param requestOptions the options for this request */ public PostReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new PostReplyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPostReplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PostReplyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IPostReplyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (PostReplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPostReplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PostReplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequestBuilder.java index 118a294bf3a..97d9d339dab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostReplyRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostReplyRequest; +import com.microsoft.graph.requests.extensions.PostReplyRequest; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Post; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostReplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Reply Request Builder. */ -public class PostReplyRequestBuilder extends BasePostReplyRequestBuilder implements IPostReplyRequestBuilder { +public class PostReplyRequestBuilder extends BaseActionRequestBuilder implements IPostReplyRequestBuilder { /** * The request builder for this PostReply @@ -25,6 +30,36 @@ public class PostReplyRequestBuilder extends BasePostReplyRequestBuilder impleme * @param post the post */ public PostReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Post post) { - super(requestUrl, client, requestOptions, post); + super(requestUrl, client, requestOptions); + bodyParams.put("post", post); + } + + /** + * Creates the IPostReplyRequest + * + * @return the IPostReplyRequest instance + */ + public IPostReplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IPostReplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IPostReplyRequest instance + */ + public IPostReplyRequest buildRequest(final java.util.List requestOptions) { + PostReplyRequest request = new PostReplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("post")) { + request.body.post = getParameter("post"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PostRequest.java index ba5a6455dd0..00a214c7996 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostRequest; +import com.microsoft.graph.requests.extensions.PostRequest; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Request. */ -public class PostRequest extends BasePostRequest implements IPostRequest { - +public class PostRequest extends BaseRequest implements IPostRequest { + /** * The request for the Post * @@ -26,4 +32,107 @@ public class PostRequest extends BasePostRequest implements IPostRequest { public PostRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Post.class); } + + /** + * Gets the Post from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Post from the service + * + * @return the Post from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Post get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Post with a source + * + * @param sourcePost the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Post sourcePost, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourcePost); + } + + /** + * Patches this Post with a source + * + * @param sourcePost the source object with updates + * @return the updated Post + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Post patch(final Post sourcePost) throws ClientException { + return send(HttpMethod.PATCH, sourcePost); + } + + /** + * Creates a Post with a new object + * + * @param newPost the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Post newPost, final ICallback callback) { + send(HttpMethod.POST, callback, newPost); + } + + /** + * Creates a Post with a new object + * + * @param newPost the new object to create + * @return the created Post + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Post post(final Post newPost) throws ClientException { + return send(HttpMethod.POST, newPost); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IPostRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (PostRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IPostRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (PostRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PostRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/PostRequestBuilder.java index 8882dd9d63b..8caedbffda5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostRequestBuilder.java @@ -3,17 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IPostRequest; +import com.microsoft.graph.requests.extensions.PostRequest; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPostRequestBuilder; +import com.microsoft.graph.requests.extensions.PostRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.AttachmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.AttachmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; +import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.requests.extensions.IPostForwardRequestBuilder; +import com.microsoft.graph.requests.extensions.PostForwardRequestBuilder; +import com.microsoft.graph.models.extensions.Post; +import com.microsoft.graph.requests.extensions.IPostReplyRequestBuilder; +import com.microsoft.graph.requests.extensions.PostReplyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BasePostRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Post Request Builder. */ -public class PostRequestBuilder extends BasePostRequestBuilder implements IPostRequestBuilder { +public class PostRequestBuilder extends BaseRequestBuilder implements IPostRequestBuilder { /** * The request builder for the Post @@ -25,4 +52,71 @@ public class PostRequestBuilder extends BasePostRequestBuilder implements IPostR public PostRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IPostRequest instance + */ + public IPostRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IPostRequest instance + */ + public IPostRequest buildRequest(final java.util.List requestOptions) { + return new PostRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Post + * + * @return the IPostRequestBuilder instance + */ + public IPostRequestBuilder inReplyTo() { + return new PostRequestBuilder(getRequestUrlWithAdditionalSegment("inReplyTo"), getClient(), null); + } + public IAttachmentCollectionRequestBuilder attachments() { + return new AttachmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("attachments"), getClient(), null); + } + + public IAttachmentRequestBuilder attachments(final String id) { + return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("attachments") + "/" + id, getClient(), null); + } + public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { + return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); + } + public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { + return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); + } + + public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { + return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); + } + + public IPostForwardRequestBuilder forward(final String comment, final java.util.List toRecipients) { + return new PostForwardRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.forward"), getClient(), null, comment, toRecipients); + } + + public IPostReplyRequestBuilder reply(final Post post) { + return new PostReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reply"), getClient(), null, post); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionPage.java index 3fe3a52e602..3e7ccfbb2a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ProfilePhoto; +import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseProfilePhotoCollectionPage; -import com.microsoft.graph.requests.generated.BaseProfilePhotoCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Collection Page. */ -public class ProfilePhotoCollectionPage extends BaseProfilePhotoCollectionPage implements IProfilePhotoCollectionPage { +public class ProfilePhotoCollectionPage extends BaseCollectionPage implements IProfilePhotoCollectionPage { /** - * A collection page for User. + * A collection page for ProfilePhoto * - * @param response the serialized BaseProfilePhotoCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ProfilePhotoCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ProfilePhotoCollectionPage(final BaseProfilePhotoCollectionResponse response, final IProfilePhotoCollectionRequestBuilder builder) { - super(response, builder); + public ProfilePhotoCollectionPage(final ProfilePhotoCollectionResponse response, final IProfilePhotoCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequest.java index d3f6748305d..4fb5dad15ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseProfilePhotoCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Collection Request. */ -public class ProfilePhotoCollectionRequest extends BaseProfilePhotoCollectionRequest implements IProfilePhotoCollectionRequest { +public class ProfilePhotoCollectionRequest extends BaseCollectionRequest implements IProfilePhotoCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of ProfilePhoto * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ProfilePhotoCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ProfilePhotoCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ProfilePhotoCollectionResponse.class, IProfilePhotoCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IProfilePhotoCollectionPage get() throws ClientException { + final ProfilePhotoCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ProfilePhoto newProfilePhoto, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ProfilePhotoRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newProfilePhoto, callback); + } + + public ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ProfilePhotoRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newProfilePhoto); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IProfilePhotoCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ProfilePhotoCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IProfilePhotoCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ProfilePhotoCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IProfilePhotoCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ProfilePhotoCollectionRequest)this; + } + + public IProfilePhotoCollectionPage buildFromResponse(final ProfilePhotoCollectionResponse response) { + final IProfilePhotoCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ProfilePhotoCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ProfilePhotoCollectionPage page = new ProfilePhotoCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequestBuilder.java index e5447c20cff..ba0fbab8f27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Collection Request Builder. */ -public class ProfilePhotoCollectionRequestBuilder extends BaseProfilePhotoCollectionRequestBuilder implements IProfilePhotoCollectionRequestBuilder { +public class ProfilePhotoCollectionRequestBuilder extends BaseRequestBuilder implements IProfilePhotoCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,18 @@ public class ProfilePhotoCollectionRequestBuilder extends BaseProfilePhotoCollec public ProfilePhotoCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IProfilePhotoCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IProfilePhotoCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ProfilePhotoCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IProfilePhotoRequestBuilder byId(final String id) { + return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionResponse.java new file mode 100644 index 00000000000..55dcc2d0a76 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ProfilePhoto; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Profile Photo Collection Response. + */ +public class ProfilePhotoCollectionResponse implements IJsonBackedObject { + + /** + * The list of ProfilePhoto within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequest.java index 67084f6d712..8f2de670994 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequest; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequest; +import com.microsoft.graph.models.extensions.ProfilePhoto; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ProfilePhoto; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseProfilePhotoRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Request. */ -public class ProfilePhotoRequest extends BaseProfilePhotoRequest implements IProfilePhotoRequest { - +public class ProfilePhotoRequest extends BaseRequest implements IProfilePhotoRequest { + /** * The request for the ProfilePhoto * @@ -26,4 +32,107 @@ public class ProfilePhotoRequest extends BaseProfilePhotoRequest implements IPro public ProfilePhotoRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ProfilePhoto.class); } + + /** + * Gets the ProfilePhoto from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ProfilePhoto from the service + * + * @return the ProfilePhoto from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ProfilePhoto get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ProfilePhoto with a source + * + * @param sourceProfilePhoto the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ProfilePhoto sourceProfilePhoto, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceProfilePhoto); + } + + /** + * Patches this ProfilePhoto with a source + * + * @param sourceProfilePhoto the source object with updates + * @return the updated ProfilePhoto + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ProfilePhoto patch(final ProfilePhoto sourceProfilePhoto) throws ClientException { + return send(HttpMethod.PATCH, sourceProfilePhoto); + } + + /** + * Creates a ProfilePhoto with a new object + * + * @param newProfilePhoto the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ProfilePhoto newProfilePhoto, final ICallback callback) { + send(HttpMethod.POST, callback, newProfilePhoto); + } + + /** + * Creates a ProfilePhoto with a new object + * + * @param newProfilePhoto the new object to create + * @return the created ProfilePhoto + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException { + return send(HttpMethod.POST, newProfilePhoto); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IProfilePhotoRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ProfilePhotoRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IProfilePhotoRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ProfilePhotoRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequestBuilder.java index 656212f719c..04c38a8c271 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequest; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequest; +import com.microsoft.graph.requests.extensions.IProfilePhotoStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoStreamRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseProfilePhotoRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Request Builder. */ -public class ProfilePhotoRequestBuilder extends BaseProfilePhotoRequestBuilder implements IProfilePhotoRequestBuilder { +public class ProfilePhotoRequestBuilder extends BaseRequestBuilder implements IProfilePhotoRequestBuilder { /** * The request builder for the ProfilePhoto @@ -25,4 +30,30 @@ public class ProfilePhotoRequestBuilder extends BaseProfilePhotoRequestBuilder i public ProfilePhotoRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IProfilePhotoRequest instance + */ + public IProfilePhotoRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IProfilePhotoRequest instance + */ + public IProfilePhotoRequest buildRequest(final java.util.List requestOptions) { + return new ProfilePhotoRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IProfilePhotoStreamRequestBuilder content() { + return new ProfilePhotoStreamRequestBuilder(getRequestUrlWithAdditionalSegment("$value"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequest.java index 4797d460efa..675d63691d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseProfilePhotoStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Stream Request. */ -public class ProfilePhotoStreamRequest extends BaseProfilePhotoStreamRequest implements IProfilePhotoStreamRequest { +public class ProfilePhotoStreamRequest extends BaseStreamRequest implements IProfilePhotoStreamRequest { /** * The request for the ProfilePhoto @@ -26,4 +35,44 @@ public class ProfilePhotoStreamRequest extends BaseProfilePhotoStreamRequest imp public ProfilePhotoStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ProfilePhoto.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public ProfilePhoto put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequestBuilder.java index 3fa9459b32e..cf5d4701255 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoStreamRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseProfilePhotoStreamRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Profile Photo Stream Request Builder. */ -public class ProfilePhotoStreamRequestBuilder extends BaseProfilePhotoStreamRequestBuilder implements IProfilePhotoStreamRequestBuilder { +public class ProfilePhotoStreamRequestBuilder extends BaseRequestBuilder implements IProfilePhotoStreamRequestBuilder { /** * The request builder for the ProfilePhoto @@ -25,4 +33,25 @@ public class ProfilePhotoStreamRequestBuilder extends BaseProfilePhotoStreamRequ public ProfilePhotoStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IProfilePhotoStreamRequest instance + */ + public IProfilePhotoStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IProfilePhotoStreamRequest instance + */ + public IProfilePhotoStreamRequest buildRequest(final java.util.List requestOptions) { + return new ProfilePhotoStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequest.java index 6063ff5a640..50b5d83e8dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReferenceAttachmentRequest; +import com.microsoft.graph.requests.extensions.ReferenceAttachmentRequest; +import com.microsoft.graph.models.extensions.ReferenceAttachment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ReferenceAttachment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReferenceAttachmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Reference Attachment Request. */ -public class ReferenceAttachmentRequest extends BaseReferenceAttachmentRequest implements IReferenceAttachmentRequest { - +public class ReferenceAttachmentRequest extends BaseRequest implements IReferenceAttachmentRequest { + /** * The request for the ReferenceAttachment * @@ -26,4 +32,107 @@ public class ReferenceAttachmentRequest extends BaseReferenceAttachmentRequest i public ReferenceAttachmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ReferenceAttachment.class); } + + /** + * Gets the ReferenceAttachment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ReferenceAttachment from the service + * + * @return the ReferenceAttachment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReferenceAttachment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ReferenceAttachment with a source + * + * @param sourceReferenceAttachment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ReferenceAttachment sourceReferenceAttachment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceReferenceAttachment); + } + + /** + * Patches this ReferenceAttachment with a source + * + * @param sourceReferenceAttachment the source object with updates + * @return the updated ReferenceAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReferenceAttachment patch(final ReferenceAttachment sourceReferenceAttachment) throws ClientException { + return send(HttpMethod.PATCH, sourceReferenceAttachment); + } + + /** + * Creates a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ReferenceAttachment newReferenceAttachment, final ICallback callback) { + send(HttpMethod.POST, callback, newReferenceAttachment); + } + + /** + * Creates a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the new object to create + * @return the created ReferenceAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReferenceAttachment post(final ReferenceAttachment newReferenceAttachment) throws ClientException { + return send(HttpMethod.POST, newReferenceAttachment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReferenceAttachmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReferenceAttachmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReferenceAttachmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReferenceAttachmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequestBuilder.java index f03081f8da1..59ca6599e97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReferenceAttachmentRequest; +import com.microsoft.graph.requests.extensions.ReferenceAttachmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReferenceAttachmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Reference Attachment Request Builder. */ -public class ReferenceAttachmentRequestBuilder extends BaseReferenceAttachmentRequestBuilder implements IReferenceAttachmentRequestBuilder { +public class ReferenceAttachmentRequestBuilder extends BaseRequestBuilder implements IReferenceAttachmentRequestBuilder { /** * The request builder for the ReferenceAttachment @@ -25,4 +28,26 @@ public class ReferenceAttachmentRequestBuilder extends BaseReferenceAttachmentRe public ReferenceAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IReferenceAttachmentRequest instance + */ + public IReferenceAttachmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IReferenceAttachmentRequest instance + */ + public IReferenceAttachmentRequest buildRequest(final java.util.List requestOptions) { + return new ReferenceAttachmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequest.java index 34941b912e0..936f5ea336b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerBeginOnboardingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerBeginOnboardingRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Begin Onboarding Request. */ -public class RemoteAssistancePartnerBeginOnboardingRequest extends BaseRemoteAssistancePartnerBeginOnboardingRequest implements IRemoteAssistancePartnerBeginOnboardingRequest { +public class RemoteAssistancePartnerBeginOnboardingRequest extends BaseRequest implements IRemoteAssistancePartnerBeginOnboardingRequest { /** * The request for this RemoteAssistancePartnerBeginOnboarding @@ -23,6 +30,35 @@ public class RemoteAssistancePartnerBeginOnboardingRequest extends BaseRemoteAss * @param requestOptions the options for this request */ public RemoteAssistancePartnerBeginOnboardingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the RemoteAssistancePartnerBeginOnboarding + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the RemoteAssistancePartnerBeginOnboarding + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequestBuilder.java index 510b98bf6fe..6da6d9a22d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerBeginOnboardingRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerBeginOnboardingRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Begin Onboarding Request Builder. */ -public class RemoteAssistancePartnerBeginOnboardingRequestBuilder extends BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder implements IRemoteAssistancePartnerBeginOnboardingRequestBuilder { +public class RemoteAssistancePartnerBeginOnboardingRequestBuilder extends BaseActionRequestBuilder implements IRemoteAssistancePartnerBeginOnboardingRequestBuilder { /** * The request builder for this RemoteAssistancePartnerBeginOnboarding @@ -25,4 +30,29 @@ public class RemoteAssistancePartnerBeginOnboardingRequestBuilder extends BaseRe public RemoteAssistancePartnerBeginOnboardingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IRemoteAssistancePartnerBeginOnboardingRequest + * + * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance + */ + public IRemoteAssistancePartnerBeginOnboardingRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IRemoteAssistancePartnerBeginOnboardingRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance + */ + public IRemoteAssistancePartnerBeginOnboardingRequest buildRequest(final java.util.List requestOptions) { + RemoteAssistancePartnerBeginOnboardingRequest request = new RemoteAssistancePartnerBeginOnboardingRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionPage.java index 596100df344..45f406a5dd4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RemoteAssistancePartner; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerCollectionPage; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Collection Page. */ -public class RemoteAssistancePartnerCollectionPage extends BaseRemoteAssistancePartnerCollectionPage implements IRemoteAssistancePartnerCollectionPage { +public class RemoteAssistancePartnerCollectionPage extends BaseCollectionPage implements IRemoteAssistancePartnerCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for RemoteAssistancePartner * - * @param response the serialized BaseRemoteAssistancePartnerCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized RemoteAssistancePartnerCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public RemoteAssistancePartnerCollectionPage(final BaseRemoteAssistancePartnerCollectionResponse response, final IRemoteAssistancePartnerCollectionRequestBuilder builder) { - super(response, builder); + public RemoteAssistancePartnerCollectionPage(final RemoteAssistancePartnerCollectionResponse response, final IRemoteAssistancePartnerCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequest.java index 839ee3440fe..332921f0d8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Collection Request. */ -public class RemoteAssistancePartnerCollectionRequest extends BaseRemoteAssistancePartnerCollectionRequest implements IRemoteAssistancePartnerCollectionRequest { +public class RemoteAssistancePartnerCollectionRequest extends BaseCollectionRequest implements IRemoteAssistancePartnerCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of RemoteAssistancePartner * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public RemoteAssistancePartnerCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public RemoteAssistancePartnerCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RemoteAssistancePartnerCollectionResponse.class, IRemoteAssistancePartnerCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IRemoteAssistancePartnerCollectionPage get() throws ClientException { + final RemoteAssistancePartnerCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new RemoteAssistancePartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newRemoteAssistancePartner, callback); + } + + public RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new RemoteAssistancePartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newRemoteAssistancePartner); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRemoteAssistancePartnerCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (RemoteAssistancePartnerCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRemoteAssistancePartnerCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (RemoteAssistancePartnerCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IRemoteAssistancePartnerCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (RemoteAssistancePartnerCollectionRequest)this; + } + + public IRemoteAssistancePartnerCollectionPage buildFromResponse(final RemoteAssistancePartnerCollectionResponse response) { + final IRemoteAssistancePartnerCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new RemoteAssistancePartnerCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final RemoteAssistancePartnerCollectionPage page = new RemoteAssistancePartnerCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequestBuilder.java index 5d775d8074e..0a35a0462db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Collection Request Builder. */ -public class RemoteAssistancePartnerCollectionRequestBuilder extends BaseRemoteAssistancePartnerCollectionRequestBuilder implements IRemoteAssistancePartnerCollectionRequestBuilder { +public class RemoteAssistancePartnerCollectionRequestBuilder extends BaseRequestBuilder implements IRemoteAssistancePartnerCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class RemoteAssistancePartnerCollectionRequestBuilder extends BaseRemoteA public RemoteAssistancePartnerCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IRemoteAssistancePartnerCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IRemoteAssistancePartnerCollectionRequest buildRequest(final java.util.List requestOptions) { + return new RemoteAssistancePartnerCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IRemoteAssistancePartnerRequestBuilder byId(final String id) { + return new RemoteAssistancePartnerRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionResponse.java new file mode 100644 index 00000000000..3adfdf572b7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RemoteAssistancePartner; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Remote Assistance Partner Collection Response. + */ +public class RemoteAssistancePartnerCollectionResponse implements IJsonBackedObject { + + /** + * The list of RemoteAssistancePartner within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequest.java index 9e5592af671..d5372d1c22d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerDisconnectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerDisconnectRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Disconnect Request. */ -public class RemoteAssistancePartnerDisconnectRequest extends BaseRemoteAssistancePartnerDisconnectRequest implements IRemoteAssistancePartnerDisconnectRequest { +public class RemoteAssistancePartnerDisconnectRequest extends BaseRequest implements IRemoteAssistancePartnerDisconnectRequest { /** * The request for this RemoteAssistancePartnerDisconnect @@ -23,6 +30,35 @@ public class RemoteAssistancePartnerDisconnectRequest extends BaseRemoteAssistan * @param requestOptions the options for this request */ public RemoteAssistancePartnerDisconnectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the RemoteAssistancePartnerDisconnect + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the RemoteAssistancePartnerDisconnect + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequestBuilder.java index f1e74f9d814..fe962cc2839 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerDisconnectRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerDisconnectRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerDisconnectRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Disconnect Request Builder. */ -public class RemoteAssistancePartnerDisconnectRequestBuilder extends BaseRemoteAssistancePartnerDisconnectRequestBuilder implements IRemoteAssistancePartnerDisconnectRequestBuilder { +public class RemoteAssistancePartnerDisconnectRequestBuilder extends BaseActionRequestBuilder implements IRemoteAssistancePartnerDisconnectRequestBuilder { /** * The request builder for this RemoteAssistancePartnerDisconnect @@ -25,4 +30,29 @@ public class RemoteAssistancePartnerDisconnectRequestBuilder extends BaseRemoteA public RemoteAssistancePartnerDisconnectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IRemoteAssistancePartnerDisconnectRequest + * + * @return the IRemoteAssistancePartnerDisconnectRequest instance + */ + public IRemoteAssistancePartnerDisconnectRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IRemoteAssistancePartnerDisconnectRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IRemoteAssistancePartnerDisconnectRequest instance + */ + public IRemoteAssistancePartnerDisconnectRequest buildRequest(final java.util.List requestOptions) { + RemoteAssistancePartnerDisconnectRequest request = new RemoteAssistancePartnerDisconnectRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequest.java index 51b1fe4244f..2bb3d1233b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequest; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerRequest; +import com.microsoft.graph.models.extensions.RemoteAssistancePartner; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.RemoteAssistancePartner; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Request. */ -public class RemoteAssistancePartnerRequest extends BaseRemoteAssistancePartnerRequest implements IRemoteAssistancePartnerRequest { - +public class RemoteAssistancePartnerRequest extends BaseRequest implements IRemoteAssistancePartnerRequest { + /** * The request for the RemoteAssistancePartner * @@ -26,4 +32,107 @@ public class RemoteAssistancePartnerRequest extends BaseRemoteAssistancePartnerR public RemoteAssistancePartnerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, RemoteAssistancePartner.class); } + + /** + * Gets the RemoteAssistancePartner from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the RemoteAssistancePartner from the service + * + * @return the RemoteAssistancePartner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RemoteAssistancePartner get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this RemoteAssistancePartner with a source + * + * @param sourceRemoteAssistancePartner the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final RemoteAssistancePartner sourceRemoteAssistancePartner, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceRemoteAssistancePartner); + } + + /** + * Patches this RemoteAssistancePartner with a source + * + * @param sourceRemoteAssistancePartner the source object with updates + * @return the updated RemoteAssistancePartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RemoteAssistancePartner patch(final RemoteAssistancePartner sourceRemoteAssistancePartner) throws ClientException { + return send(HttpMethod.PATCH, sourceRemoteAssistancePartner); + } + + /** + * Creates a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback) { + send(HttpMethod.POST, callback, newRemoteAssistancePartner); + } + + /** + * Creates a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the new object to create + * @return the created RemoteAssistancePartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException { + return send(HttpMethod.POST, newRemoteAssistancePartner); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRemoteAssistancePartnerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (RemoteAssistancePartnerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRemoteAssistancePartnerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (RemoteAssistancePartnerRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequestBuilder.java index 71ca3d3b516..6f4ebd1684c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequest; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerRequest; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequestBuilder; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerBeginOnboardingRequestBuilder; +import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequestBuilder; +import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerDisconnectRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRemoteAssistancePartnerRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Remote Assistance Partner Request Builder. */ -public class RemoteAssistancePartnerRequestBuilder extends BaseRemoteAssistancePartnerRequestBuilder implements IRemoteAssistancePartnerRequestBuilder { +public class RemoteAssistancePartnerRequestBuilder extends BaseRequestBuilder implements IRemoteAssistancePartnerRequestBuilder { /** * The request builder for the RemoteAssistancePartner @@ -25,4 +32,34 @@ public class RemoteAssistancePartnerRequestBuilder extends BaseRemoteAssistanceP public RemoteAssistancePartnerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IRemoteAssistancePartnerRequest instance + */ + public IRemoteAssistancePartnerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IRemoteAssistancePartnerRequest instance + */ + public IRemoteAssistancePartnerRequest buildRequest(final java.util.List requestOptions) { + return new RemoteAssistancePartnerRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IRemoteAssistancePartnerBeginOnboardingRequestBuilder beginOnboarding() { + return new RemoteAssistancePartnerBeginOnboardingRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.beginOnboarding"), getClient(), null); + } + + public IRemoteAssistancePartnerDisconnectRequestBuilder disconnect() { + return new RemoteAssistancePartnerDisconnectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.disconnect"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequest.java index 5da6bd70046..2a9df6d0bb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; +import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationDeviceActivityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootDeviceConfigurationDeviceActivityRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Device Configuration Device Activity Request. */ -public class ReportRootDeviceConfigurationDeviceActivityRequest extends BaseReportRootDeviceConfigurationDeviceActivityRequest implements IReportRootDeviceConfigurationDeviceActivityRequest { +public class ReportRootDeviceConfigurationDeviceActivityRequest extends BaseRequest implements IReportRootDeviceConfigurationDeviceActivityRequest { /** * The request for this ReportRootDeviceConfigurationDeviceActivity @@ -23,6 +31,88 @@ public class ReportRootDeviceConfigurationDeviceActivityRequest extends BaseRepo * @param requestOptions the options for this request */ public ReportRootDeviceConfigurationDeviceActivityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootDeviceConfigurationDeviceActivity + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootDeviceConfigurationDeviceActivity + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootDeviceConfigurationDeviceActivityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootDeviceConfigurationDeviceActivityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootDeviceConfigurationDeviceActivityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootDeviceConfigurationDeviceActivityRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequestBuilder.java index e4831c8666f..a46147dd975 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationDeviceActivityRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; +import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationDeviceActivityRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Device Configuration Device Activity Request Builder. */ -public class ReportRootDeviceConfigurationDeviceActivityRequestBuilder extends BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder implements IReportRootDeviceConfigurationDeviceActivityRequestBuilder { +public class ReportRootDeviceConfigurationDeviceActivityRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootDeviceConfigurationDeviceActivityRequestBuilder { /** * The request builder for this ReportRootDeviceConfigurationDeviceActivity @@ -25,4 +30,33 @@ public class ReportRootDeviceConfigurationDeviceActivityRequestBuilder extends B public ReportRootDeviceConfigurationDeviceActivityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IReportRootDeviceConfigurationDeviceActivityRequest + * + * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance + */ + public IReportRootDeviceConfigurationDeviceActivityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootDeviceConfigurationDeviceActivityRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance + */ + public IReportRootDeviceConfigurationDeviceActivityRequest buildRequest(final java.util.List requestOptions) { + ReportRootDeviceConfigurationDeviceActivityRequest request = new ReportRootDeviceConfigurationDeviceActivityRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequest.java index af93c59fd6f..bcc40382445 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; +import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationUserActivityRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootDeviceConfigurationUserActivityRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Device Configuration User Activity Request. */ -public class ReportRootDeviceConfigurationUserActivityRequest extends BaseReportRootDeviceConfigurationUserActivityRequest implements IReportRootDeviceConfigurationUserActivityRequest { +public class ReportRootDeviceConfigurationUserActivityRequest extends BaseRequest implements IReportRootDeviceConfigurationUserActivityRequest { /** * The request for this ReportRootDeviceConfigurationUserActivity @@ -23,6 +31,88 @@ public class ReportRootDeviceConfigurationUserActivityRequest extends BaseReport * @param requestOptions the options for this request */ public ReportRootDeviceConfigurationUserActivityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootDeviceConfigurationUserActivity + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootDeviceConfigurationUserActivity + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootDeviceConfigurationUserActivityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootDeviceConfigurationUserActivityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootDeviceConfigurationUserActivityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootDeviceConfigurationUserActivityRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequestBuilder.java index 21a49fbcb5b..71e25b0f8da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootDeviceConfigurationUserActivityRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; +import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationUserActivityRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootDeviceConfigurationUserActivityRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Device Configuration User Activity Request Builder. */ -public class ReportRootDeviceConfigurationUserActivityRequestBuilder extends BaseReportRootDeviceConfigurationUserActivityRequestBuilder implements IReportRootDeviceConfigurationUserActivityRequestBuilder { +public class ReportRootDeviceConfigurationUserActivityRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootDeviceConfigurationUserActivityRequestBuilder { /** * The request builder for this ReportRootDeviceConfigurationUserActivity @@ -25,4 +30,33 @@ public class ReportRootDeviceConfigurationUserActivityRequestBuilder extends Bas public ReportRootDeviceConfigurationUserActivityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IReportRootDeviceConfigurationUserActivityRequest + * + * @return the IReportRootDeviceConfigurationUserActivityRequest instance + */ + public IReportRootDeviceConfigurationUserActivityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootDeviceConfigurationUserActivityRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootDeviceConfigurationUserActivityRequest instance + */ + public IReportRootDeviceConfigurationUserActivityRequest buildRequest(final java.util.List requestOptions) { + ReportRootDeviceConfigurationUserActivityRequest request = new ReportRootDeviceConfigurationUserActivityRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequest.java index ebad57f937e..fc3c8ac4fd9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email Activity Counts Request. */ -public class ReportRootGetEmailActivityCountsRequest extends BaseReportRootGetEmailActivityCountsRequest implements IReportRootGetEmailActivityCountsRequest { +public class ReportRootGetEmailActivityCountsRequest extends BaseRequest implements IReportRootGetEmailActivityCountsRequest { /** * The request for this ReportRootGetEmailActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetEmailActivityCountsRequest extends BaseReportRootGetEm * @param requestOptions the options for this request */ public ReportRootGetEmailActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequestBuilder.java index ec357063576..741e7fcd2a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email Activity Counts Request Builder. */ -public class ReportRootGetEmailActivityCountsRequestBuilder extends BaseReportRootGetEmailActivityCountsRequestBuilder implements IReportRootGetEmailActivityCountsRequestBuilder { +public class ReportRootGetEmailActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetEmailActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetEmailActivityCountsRequestBuilder extends BaseReportRo * @param period the period */ public ReportRootGetEmailActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailActivityCountsRequest + * + * @return the IReportRootGetEmailActivityCountsRequest instance + */ + public IReportRootGetEmailActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailActivityCountsRequest instance + */ + public IReportRootGetEmailActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailActivityCountsRequest request = new ReportRootGetEmailActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequest.java index e733f26ba9b..eeca6143ab4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email Activity User Counts Request. */ -public class ReportRootGetEmailActivityUserCountsRequest extends BaseReportRootGetEmailActivityUserCountsRequest implements IReportRootGetEmailActivityUserCountsRequest { +public class ReportRootGetEmailActivityUserCountsRequest extends BaseRequest implements IReportRootGetEmailActivityUserCountsRequest { /** * The request for this ReportRootGetEmailActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetEmailActivityUserCountsRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetEmailActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequestBuilder.java index ac5a7cb07e5..cc1948f657c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email Activity User Counts Request Builder. */ -public class ReportRootGetEmailActivityUserCountsRequestBuilder extends BaseReportRootGetEmailActivityUserCountsRequestBuilder implements IReportRootGetEmailActivityUserCountsRequestBuilder { +public class ReportRootGetEmailActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetEmailActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetEmailActivityUserCountsRequestBuilder extends BaseRepo * @param period the period */ public ReportRootGetEmailActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailActivityUserCountsRequest + * + * @return the IReportRootGetEmailActivityUserCountsRequest instance + */ + public IReportRootGetEmailActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailActivityUserCountsRequest instance + */ + public IReportRootGetEmailActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailActivityUserCountsRequest request = new ReportRootGetEmailActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequest.java index 83e236044ca..f82177a7591 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailActivityUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email Activity User Detail Request. */ -public class ReportRootGetEmailActivityUserDetailRequest extends BaseReportRootGetEmailActivityUserDetailRequest implements IReportRootGetEmailActivityUserDetailRequest { +public class ReportRootGetEmailActivityUserDetailRequest extends BaseRequest implements IReportRootGetEmailActivityUserDetailRequest { /** * The request for this ReportRootGetEmailActivityUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetEmailActivityUserDetailRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetEmailActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailActivityUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailActivityUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailActivityUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailActivityUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailActivityUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequestBuilder.java index e6f7b83c703..0d84eaf40ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailActivityUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email Activity User Detail Request Builder. */ -public class ReportRootGetEmailActivityUserDetailRequestBuilder extends BaseReportRootGetEmailActivityUserDetailRequestBuilder implements IReportRootGetEmailActivityUserDetailRequestBuilder { +public class ReportRootGetEmailActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailActivityUserDetailRequestBuilder { /** * The request builder for this ReportRootGetEmailActivityUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetEmailActivityUserDetailRequestBuilder extends BaseRepo * @param date the date */ public ReportRootGetEmailActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetEmailActivityUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetEmailActivityUserDetailRequestBuilder(final String requestUr * @param period the period */ public ReportRootGetEmailActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailActivityUserDetailRequest + * + * @return the IReportRootGetEmailActivityUserDetailRequest instance + */ + public IReportRootGetEmailActivityUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailActivityUserDetailRequest instance + */ + public IReportRootGetEmailActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailActivityUserDetailRequest request = new ReportRootGetEmailActivityUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequest.java index f4fb41ac3dc..255b3dfa15f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageAppsUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageAppsUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage Apps User Counts Request. */ -public class ReportRootGetEmailAppUsageAppsUserCountsRequest extends BaseReportRootGetEmailAppUsageAppsUserCountsRequest implements IReportRootGetEmailAppUsageAppsUserCountsRequest { +public class ReportRootGetEmailAppUsageAppsUserCountsRequest extends BaseRequest implements IReportRootGetEmailAppUsageAppsUserCountsRequest { /** * The request for this ReportRootGetEmailAppUsageAppsUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetEmailAppUsageAppsUserCountsRequest extends BaseReportR * @param requestOptions the options for this request */ public ReportRootGetEmailAppUsageAppsUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailAppUsageAppsUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageAppsUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageAppsUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailAppUsageAppsUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageAppsUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailAppUsageAppsUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java index 8eb5ab4f802..727013b79c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageAppsUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage Apps User Counts Request Builder. */ -public class ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder implements IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder { +public class ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder { /** * The request builder for this ReportRootGetEmailAppUsageAppsUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends Base * @param period the period */ public ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest + * + * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance + */ + public IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance + */ + public IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailAppUsageAppsUserCountsRequest request = new ReportRootGetEmailAppUsageAppsUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequest.java index be034eb5dd4..fe49d1cf18a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage User Counts Request. */ -public class ReportRootGetEmailAppUsageUserCountsRequest extends BaseReportRootGetEmailAppUsageUserCountsRequest implements IReportRootGetEmailAppUsageUserCountsRequest { +public class ReportRootGetEmailAppUsageUserCountsRequest extends BaseRequest implements IReportRootGetEmailAppUsageUserCountsRequest { /** * The request for this ReportRootGetEmailAppUsageUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetEmailAppUsageUserCountsRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetEmailAppUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailAppUsageUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailAppUsageUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailAppUsageUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequestBuilder.java index bd812998a83..bed98a410e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage User Counts Request Builder. */ -public class ReportRootGetEmailAppUsageUserCountsRequestBuilder extends BaseReportRootGetEmailAppUsageUserCountsRequestBuilder implements IReportRootGetEmailAppUsageUserCountsRequestBuilder { +public class ReportRootGetEmailAppUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailAppUsageUserCountsRequestBuilder { /** * The request builder for this ReportRootGetEmailAppUsageUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetEmailAppUsageUserCountsRequestBuilder extends BaseRepo * @param period the period */ public ReportRootGetEmailAppUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailAppUsageUserCountsRequest + * + * @return the IReportRootGetEmailAppUsageUserCountsRequest instance + */ + public IReportRootGetEmailAppUsageUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailAppUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageUserCountsRequest instance + */ + public IReportRootGetEmailAppUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailAppUsageUserCountsRequest request = new ReportRootGetEmailAppUsageUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequest.java index 167a7d70d43..0f0599ce167 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage User Detail Request. */ -public class ReportRootGetEmailAppUsageUserDetailRequest extends BaseReportRootGetEmailAppUsageUserDetailRequest implements IReportRootGetEmailAppUsageUserDetailRequest { +public class ReportRootGetEmailAppUsageUserDetailRequest extends BaseRequest implements IReportRootGetEmailAppUsageUserDetailRequest { /** * The request for this ReportRootGetEmailAppUsageUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetEmailAppUsageUserDetailRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetEmailAppUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailAppUsageUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailAppUsageUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailAppUsageUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequestBuilder.java index 5aace117ddb..da77fda425a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage User Detail Request Builder. */ -public class ReportRootGetEmailAppUsageUserDetailRequestBuilder extends BaseReportRootGetEmailAppUsageUserDetailRequestBuilder implements IReportRootGetEmailAppUsageUserDetailRequestBuilder { +public class ReportRootGetEmailAppUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailAppUsageUserDetailRequestBuilder { /** * The request builder for this ReportRootGetEmailAppUsageUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetEmailAppUsageUserDetailRequestBuilder extends BaseRepo * @param date the date */ public ReportRootGetEmailAppUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetEmailAppUsageUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetEmailAppUsageUserDetailRequestBuilder(final String requestUr * @param period the period */ public ReportRootGetEmailAppUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailAppUsageUserDetailRequest + * + * @return the IReportRootGetEmailAppUsageUserDetailRequest instance + */ + public IReportRootGetEmailAppUsageUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailAppUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageUserDetailRequest instance + */ + public IReportRootGetEmailAppUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailAppUsageUserDetailRequest request = new ReportRootGetEmailAppUsageUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequest.java index 404acff6099..2d508e32cfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageVersionsUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageVersionsUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage Versions User Counts Request. */ -public class ReportRootGetEmailAppUsageVersionsUserCountsRequest extends BaseReportRootGetEmailAppUsageVersionsUserCountsRequest implements IReportRootGetEmailAppUsageVersionsUserCountsRequest { +public class ReportRootGetEmailAppUsageVersionsUserCountsRequest extends BaseRequest implements IReportRootGetEmailAppUsageVersionsUserCountsRequest { /** * The request for this ReportRootGetEmailAppUsageVersionsUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetEmailAppUsageVersionsUserCountsRequest extends BaseRep * @param requestOptions the options for this request */ public ReportRootGetEmailAppUsageVersionsUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetEmailAppUsageVersionsUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetEmailAppUsageVersionsUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageVersionsUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetEmailAppUsageVersionsUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetEmailAppUsageVersionsUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetEmailAppUsageVersionsUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java index f458bf0b7e7..9bdfdbae9a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageVersionsUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Email App Usage Versions User Counts Request Builder. */ -public class ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder implements IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder { +public class ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder { /** * The request builder for this ReportRootGetEmailAppUsageVersionsUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends * @param period the period */ public ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest + * + * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance + */ + public IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance + */ + public IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetEmailAppUsageVersionsUserCountsRequest request = new ReportRootGetEmailAppUsageVersionsUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequest.java index 4a75da4b13f..ad15c7f14d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Detail Request. */ -public class ReportRootGetMailboxUsageDetailRequest extends BaseReportRootGetMailboxUsageDetailRequest implements IReportRootGetMailboxUsageDetailRequest { +public class ReportRootGetMailboxUsageDetailRequest extends BaseRequest implements IReportRootGetMailboxUsageDetailRequest { /** * The request for this ReportRootGetMailboxUsageDetail @@ -23,6 +31,88 @@ public class ReportRootGetMailboxUsageDetailRequest extends BaseReportRootGetMai * @param requestOptions the options for this request */ public ReportRootGetMailboxUsageDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetMailboxUsageDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetMailboxUsageDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetMailboxUsageDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetMailboxUsageDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetMailboxUsageDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequestBuilder.java index 4d5dc507c50..a1ebe45c3f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Detail Request Builder. */ -public class ReportRootGetMailboxUsageDetailRequestBuilder extends BaseReportRootGetMailboxUsageDetailRequestBuilder implements IReportRootGetMailboxUsageDetailRequestBuilder { +public class ReportRootGetMailboxUsageDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetMailboxUsageDetailRequestBuilder { /** * The request builder for this ReportRootGetMailboxUsageDetail @@ -24,6 +29,36 @@ public class ReportRootGetMailboxUsageDetailRequestBuilder extends BaseReportRoo * @param period the period */ public ReportRootGetMailboxUsageDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetMailboxUsageDetailRequest + * + * @return the IReportRootGetMailboxUsageDetailRequest instance + */ + public IReportRootGetMailboxUsageDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetMailboxUsageDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageDetailRequest instance + */ + public IReportRootGetMailboxUsageDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetMailboxUsageDetailRequest request = new ReportRootGetMailboxUsageDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequest.java index ca0ca59f92a..9258f63f8cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageMailboxCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageMailboxCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Mailbox Counts Request. */ -public class ReportRootGetMailboxUsageMailboxCountsRequest extends BaseReportRootGetMailboxUsageMailboxCountsRequest implements IReportRootGetMailboxUsageMailboxCountsRequest { +public class ReportRootGetMailboxUsageMailboxCountsRequest extends BaseRequest implements IReportRootGetMailboxUsageMailboxCountsRequest { /** * The request for this ReportRootGetMailboxUsageMailboxCounts @@ -23,6 +31,88 @@ public class ReportRootGetMailboxUsageMailboxCountsRequest extends BaseReportRoo * @param requestOptions the options for this request */ public ReportRootGetMailboxUsageMailboxCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetMailboxUsageMailboxCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageMailboxCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetMailboxUsageMailboxCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetMailboxUsageMailboxCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetMailboxUsageMailboxCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetMailboxUsageMailboxCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequestBuilder.java index 358febfd55c..f07d5dae363 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageMailboxCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageMailboxCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Mailbox Counts Request Builder. */ -public class ReportRootGetMailboxUsageMailboxCountsRequestBuilder extends BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder implements IReportRootGetMailboxUsageMailboxCountsRequestBuilder { +public class ReportRootGetMailboxUsageMailboxCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetMailboxUsageMailboxCountsRequestBuilder { /** * The request builder for this ReportRootGetMailboxUsageMailboxCounts @@ -24,6 +29,36 @@ public class ReportRootGetMailboxUsageMailboxCountsRequestBuilder extends BaseRe * @param period the period */ public ReportRootGetMailboxUsageMailboxCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetMailboxUsageMailboxCountsRequest + * + * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance + */ + public IReportRootGetMailboxUsageMailboxCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetMailboxUsageMailboxCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance + */ + public IReportRootGetMailboxUsageMailboxCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetMailboxUsageMailboxCountsRequest request = new ReportRootGetMailboxUsageMailboxCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java index e2f96637c16..a93d213eff5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Quota Status Mailbox Counts Request. */ -public class ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest extends BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest implements IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest { +public class ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest extends BaseRequest implements IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest { /** * The request for this ReportRootGetMailboxUsageQuotaStatusMailboxCounts @@ -23,6 +31,88 @@ public class ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest extends Ba * @param requestOptions the options for this request */ public ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java index 5325b5a0e79..b2b45a15162 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Quota Status Mailbox Counts Request Builder. */ -public class ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder extends BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder implements IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder { +public class ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder { /** * The request builder for this ReportRootGetMailboxUsageQuotaStatusMailboxCounts @@ -24,6 +29,36 @@ public class ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder ext * @param period the period */ public ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest + * + * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance + */ + public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance + */ + public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest request = new ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequest.java index 7bf2696e4b6..b506a9af1ec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageStorageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Storage Request. */ -public class ReportRootGetMailboxUsageStorageRequest extends BaseReportRootGetMailboxUsageStorageRequest implements IReportRootGetMailboxUsageStorageRequest { +public class ReportRootGetMailboxUsageStorageRequest extends BaseRequest implements IReportRootGetMailboxUsageStorageRequest { /** * The request for this ReportRootGetMailboxUsageStorage @@ -23,6 +31,88 @@ public class ReportRootGetMailboxUsageStorageRequest extends BaseReportRootGetMa * @param requestOptions the options for this request */ public ReportRootGetMailboxUsageStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetMailboxUsageStorage + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetMailboxUsageStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetMailboxUsageStorageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetMailboxUsageStorageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetMailboxUsageStorageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetMailboxUsageStorageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequestBuilder.java index 97021465e57..aee5f80572e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetMailboxUsageStorageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageStorageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetMailboxUsageStorageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Mailbox Usage Storage Request Builder. */ -public class ReportRootGetMailboxUsageStorageRequestBuilder extends BaseReportRootGetMailboxUsageStorageRequestBuilder implements IReportRootGetMailboxUsageStorageRequestBuilder { +public class ReportRootGetMailboxUsageStorageRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetMailboxUsageStorageRequestBuilder { /** * The request builder for this ReportRootGetMailboxUsageStorage @@ -24,6 +29,36 @@ public class ReportRootGetMailboxUsageStorageRequestBuilder extends BaseReportRo * @param period the period */ public ReportRootGetMailboxUsageStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetMailboxUsageStorageRequest + * + * @return the IReportRootGetMailboxUsageStorageRequest instance + */ + public IReportRootGetMailboxUsageStorageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetMailboxUsageStorageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetMailboxUsageStorageRequest instance + */ + public IReportRootGetMailboxUsageStorageRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetMailboxUsageStorageRequest request = new ReportRootGetMailboxUsageStorageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequest.java index 7bb63249f0d..94a6cabfa3d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActivationCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Activation Counts Request. */ -public class ReportRootGetOffice365ActivationCountsRequest extends BaseReportRootGetOffice365ActivationCountsRequest implements IReportRootGetOffice365ActivationCountsRequest { +public class ReportRootGetOffice365ActivationCountsRequest extends BaseRequest implements IReportRootGetOffice365ActivationCountsRequest { /** * The request for this ReportRootGetOffice365ActivationCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365ActivationCountsRequest extends BaseReportRoo * @param requestOptions the options for this request */ public ReportRootGetOffice365ActivationCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365ActivationCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActivationCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365ActivationCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365ActivationCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365ActivationCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365ActivationCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequestBuilder.java index adeb56d1f0a..d3d07dfe6c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActivationCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Activation Counts Request Builder. */ -public class ReportRootGetOffice365ActivationCountsRequestBuilder extends BaseReportRootGetOffice365ActivationCountsRequestBuilder implements IReportRootGetOffice365ActivationCountsRequestBuilder { +public class ReportRootGetOffice365ActivationCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365ActivationCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365ActivationCounts @@ -25,4 +30,33 @@ public class ReportRootGetOffice365ActivationCountsRequestBuilder extends BaseRe public ReportRootGetOffice365ActivationCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IReportRootGetOffice365ActivationCountsRequest + * + * @return the IReportRootGetOffice365ActivationCountsRequest instance + */ + public IReportRootGetOffice365ActivationCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365ActivationCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActivationCountsRequest instance + */ + public IReportRootGetOffice365ActivationCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365ActivationCountsRequest request = new ReportRootGetOffice365ActivationCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequest.java index 71cb8b50843..41dd2c7e441 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActivationsUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Activations User Counts Request. */ -public class ReportRootGetOffice365ActivationsUserCountsRequest extends BaseReportRootGetOffice365ActivationsUserCountsRequest implements IReportRootGetOffice365ActivationsUserCountsRequest { +public class ReportRootGetOffice365ActivationsUserCountsRequest extends BaseRequest implements IReportRootGetOffice365ActivationsUserCountsRequest { /** * The request for this ReportRootGetOffice365ActivationsUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365ActivationsUserCountsRequest extends BaseRepo * @param requestOptions the options for this request */ public ReportRootGetOffice365ActivationsUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365ActivationsUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActivationsUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365ActivationsUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365ActivationsUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365ActivationsUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365ActivationsUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequestBuilder.java index 8e92d557d39..81a904e411d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Activations User Counts Request Builder. */ -public class ReportRootGetOffice365ActivationsUserCountsRequestBuilder extends BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder implements IReportRootGetOffice365ActivationsUserCountsRequestBuilder { +public class ReportRootGetOffice365ActivationsUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365ActivationsUserCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365ActivationsUserCounts @@ -25,4 +30,33 @@ public class ReportRootGetOffice365ActivationsUserCountsRequestBuilder extends B public ReportRootGetOffice365ActivationsUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IReportRootGetOffice365ActivationsUserCountsRequest + * + * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance + */ + public IReportRootGetOffice365ActivationsUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365ActivationsUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance + */ + public IReportRootGetOffice365ActivationsUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365ActivationsUserCountsRequest request = new ReportRootGetOffice365ActivationsUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequest.java index 5666124cf3f..c35a41e34f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActivationsUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Activations User Detail Request. */ -public class ReportRootGetOffice365ActivationsUserDetailRequest extends BaseReportRootGetOffice365ActivationsUserDetailRequest implements IReportRootGetOffice365ActivationsUserDetailRequest { +public class ReportRootGetOffice365ActivationsUserDetailRequest extends BaseRequest implements IReportRootGetOffice365ActivationsUserDetailRequest { /** * The request for this ReportRootGetOffice365ActivationsUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetOffice365ActivationsUserDetailRequest extends BaseRepo * @param requestOptions the options for this request */ public ReportRootGetOffice365ActivationsUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365ActivationsUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActivationsUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365ActivationsUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365ActivationsUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365ActivationsUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365ActivationsUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequestBuilder.java index 03fc8e9d6d9..1aba3b4f904 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActivationsUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Activations User Detail Request Builder. */ -public class ReportRootGetOffice365ActivationsUserDetailRequestBuilder extends BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder implements IReportRootGetOffice365ActivationsUserDetailRequestBuilder { +public class ReportRootGetOffice365ActivationsUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365ActivationsUserDetailRequestBuilder { /** * The request builder for this ReportRootGetOffice365ActivationsUserDetail @@ -25,4 +30,33 @@ public class ReportRootGetOffice365ActivationsUserDetailRequestBuilder extends B public ReportRootGetOffice365ActivationsUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IReportRootGetOffice365ActivationsUserDetailRequest + * + * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance + */ + public IReportRootGetOffice365ActivationsUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365ActivationsUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance + */ + public IReportRootGetOffice365ActivationsUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365ActivationsUserDetailRequest request = new ReportRootGetOffice365ActivationsUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequest.java index e6e11d5fbe8..a4502a05d0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActiveUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Active User Counts Request. */ -public class ReportRootGetOffice365ActiveUserCountsRequest extends BaseReportRootGetOffice365ActiveUserCountsRequest implements IReportRootGetOffice365ActiveUserCountsRequest { +public class ReportRootGetOffice365ActiveUserCountsRequest extends BaseRequest implements IReportRootGetOffice365ActiveUserCountsRequest { /** * The request for this ReportRootGetOffice365ActiveUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365ActiveUserCountsRequest extends BaseReportRoo * @param requestOptions the options for this request */ public ReportRootGetOffice365ActiveUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365ActiveUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActiveUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365ActiveUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365ActiveUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365ActiveUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365ActiveUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequestBuilder.java index 404cc345851..41efa4e1ec5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActiveUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Active User Counts Request Builder. */ -public class ReportRootGetOffice365ActiveUserCountsRequestBuilder extends BaseReportRootGetOffice365ActiveUserCountsRequestBuilder implements IReportRootGetOffice365ActiveUserCountsRequestBuilder { +public class ReportRootGetOffice365ActiveUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365ActiveUserCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365ActiveUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetOffice365ActiveUserCountsRequestBuilder extends BaseRe * @param period the period */ public ReportRootGetOffice365ActiveUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365ActiveUserCountsRequest + * + * @return the IReportRootGetOffice365ActiveUserCountsRequest instance + */ + public IReportRootGetOffice365ActiveUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365ActiveUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActiveUserCountsRequest instance + */ + public IReportRootGetOffice365ActiveUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365ActiveUserCountsRequest request = new ReportRootGetOffice365ActiveUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequest.java index 0f64b0487c9..bc644758c7d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActiveUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Active User Detail Request. */ -public class ReportRootGetOffice365ActiveUserDetailRequest extends BaseReportRootGetOffice365ActiveUserDetailRequest implements IReportRootGetOffice365ActiveUserDetailRequest { +public class ReportRootGetOffice365ActiveUserDetailRequest extends BaseRequest implements IReportRootGetOffice365ActiveUserDetailRequest { /** * The request for this ReportRootGetOffice365ActiveUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetOffice365ActiveUserDetailRequest extends BaseReportRoo * @param requestOptions the options for this request */ public ReportRootGetOffice365ActiveUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365ActiveUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ActiveUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365ActiveUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365ActiveUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365ActiveUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365ActiveUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequestBuilder.java index 5a4421a0bad..397efe34f22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ActiveUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Active User Detail Request Builder. */ -public class ReportRootGetOffice365ActiveUserDetailRequestBuilder extends BaseReportRootGetOffice365ActiveUserDetailRequestBuilder implements IReportRootGetOffice365ActiveUserDetailRequestBuilder { +public class ReportRootGetOffice365ActiveUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365ActiveUserDetailRequestBuilder { /** * The request builder for this ReportRootGetOffice365ActiveUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetOffice365ActiveUserDetailRequestBuilder extends BaseRe * @param date the date */ public ReportRootGetOffice365ActiveUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetOffice365ActiveUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetOffice365ActiveUserDetailRequestBuilder(final String request * @param period the period */ public ReportRootGetOffice365ActiveUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365ActiveUserDetailRequest + * + * @return the IReportRootGetOffice365ActiveUserDetailRequest instance + */ + public IReportRootGetOffice365ActiveUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365ActiveUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ActiveUserDetailRequest instance + */ + public IReportRootGetOffice365ActiveUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365ActiveUserDetailRequest request = new ReportRootGetOffice365ActiveUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequest.java index 2799ee28cdd..3a6b3577931 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Counts Request. */ -public class ReportRootGetOffice365GroupsActivityCountsRequest extends BaseReportRootGetOffice365GroupsActivityCountsRequest implements IReportRootGetOffice365GroupsActivityCountsRequest { +public class ReportRootGetOffice365GroupsActivityCountsRequest extends BaseRequest implements IReportRootGetOffice365GroupsActivityCountsRequest { /** * The request for this ReportRootGetOffice365GroupsActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365GroupsActivityCountsRequest extends BaseRepor * @param requestOptions the options for this request */ public ReportRootGetOffice365GroupsActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365GroupsActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365GroupsActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365GroupsActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequestBuilder.java index aa56f1df093..f7f8d2286b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Counts Request Builder. */ -public class ReportRootGetOffice365GroupsActivityCountsRequestBuilder extends BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder implements IReportRootGetOffice365GroupsActivityCountsRequestBuilder { +public class ReportRootGetOffice365GroupsActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365GroupsActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365GroupsActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetOffice365GroupsActivityCountsRequestBuilder extends Ba * @param period the period */ public ReportRootGetOffice365GroupsActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityCountsRequest + * + * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance + */ + public IReportRootGetOffice365GroupsActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance + */ + public IReportRootGetOffice365GroupsActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365GroupsActivityCountsRequest request = new ReportRootGetOffice365GroupsActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequest.java index 7d1cd76e2c5..250a226283a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Detail Request. */ -public class ReportRootGetOffice365GroupsActivityDetailRequest extends BaseReportRootGetOffice365GroupsActivityDetailRequest implements IReportRootGetOffice365GroupsActivityDetailRequest { +public class ReportRootGetOffice365GroupsActivityDetailRequest extends BaseRequest implements IReportRootGetOffice365GroupsActivityDetailRequest { /** * The request for this ReportRootGetOffice365GroupsActivityDetail @@ -23,6 +31,88 @@ public class ReportRootGetOffice365GroupsActivityDetailRequest extends BaseRepor * @param requestOptions the options for this request */ public ReportRootGetOffice365GroupsActivityDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365GroupsActivityDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365GroupsActivityDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365GroupsActivityDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequestBuilder.java index 2ad6b98e795..544732df147 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Detail Request Builder. */ -public class ReportRootGetOffice365GroupsActivityDetailRequestBuilder extends BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder implements IReportRootGetOffice365GroupsActivityDetailRequestBuilder { +public class ReportRootGetOffice365GroupsActivityDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365GroupsActivityDetailRequestBuilder { /** * The request builder for this ReportRootGetOffice365GroupsActivityDetail @@ -24,9 +29,9 @@ public class ReportRootGetOffice365GroupsActivityDetailRequestBuilder extends Ba * @param date the date */ public ReportRootGetOffice365GroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetOffice365GroupsActivityDetail * @@ -36,6 +41,36 @@ public ReportRootGetOffice365GroupsActivityDetailRequestBuilder(final String req * @param period the period */ public ReportRootGetOffice365GroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityDetailRequest + * + * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance + */ + public IReportRootGetOffice365GroupsActivityDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance + */ + public IReportRootGetOffice365GroupsActivityDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365GroupsActivityDetailRequest request = new ReportRootGetOffice365GroupsActivityDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequest.java index 682f8b01793..2518b4c76ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityFileCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity File Counts Request. */ -public class ReportRootGetOffice365GroupsActivityFileCountsRequest extends BaseReportRootGetOffice365GroupsActivityFileCountsRequest implements IReportRootGetOffice365GroupsActivityFileCountsRequest { +public class ReportRootGetOffice365GroupsActivityFileCountsRequest extends BaseRequest implements IReportRootGetOffice365GroupsActivityFileCountsRequest { /** * The request for this ReportRootGetOffice365GroupsActivityFileCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365GroupsActivityFileCountsRequest extends BaseR * @param requestOptions the options for this request */ public ReportRootGetOffice365GroupsActivityFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365GroupsActivityFileCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityFileCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365GroupsActivityFileCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityFileCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365GroupsActivityFileCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java index e450bcef93a..8f056989dbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityFileCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity File Counts Request Builder. */ -public class ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extends BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder implements IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder { +public class ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365GroupsActivityFileCounts @@ -24,6 +29,36 @@ public class ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extend * @param period the period */ public ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest + * + * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance + */ + public IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance + */ + public IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365GroupsActivityFileCountsRequest request = new ReportRootGetOffice365GroupsActivityFileCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequest.java index 3fac806114b..a211e884d69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityGroupCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityGroupCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Group Counts Request. */ -public class ReportRootGetOffice365GroupsActivityGroupCountsRequest extends BaseReportRootGetOffice365GroupsActivityGroupCountsRequest implements IReportRootGetOffice365GroupsActivityGroupCountsRequest { +public class ReportRootGetOffice365GroupsActivityGroupCountsRequest extends BaseRequest implements IReportRootGetOffice365GroupsActivityGroupCountsRequest { /** * The request for this ReportRootGetOffice365GroupsActivityGroupCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365GroupsActivityGroupCountsRequest extends Base * @param requestOptions the options for this request */ public ReportRootGetOffice365GroupsActivityGroupCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365GroupsActivityGroupCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityGroupCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365GroupsActivityGroupCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityGroupCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365GroupsActivityGroupCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java index 019336a27b3..bd76a947243 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityGroupCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Group Counts Request Builder. */ -public class ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder extends BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder implements IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder { +public class ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365GroupsActivityGroupCounts @@ -24,6 +29,36 @@ public class ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder exten * @param period the period */ public ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest + * + * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance + */ + public IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance + */ + public IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365GroupsActivityGroupCountsRequest request = new ReportRootGetOffice365GroupsActivityGroupCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequest.java index 4c8bfd13562..d5109052e16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityStorageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Storage Request. */ -public class ReportRootGetOffice365GroupsActivityStorageRequest extends BaseReportRootGetOffice365GroupsActivityStorageRequest implements IReportRootGetOffice365GroupsActivityStorageRequest { +public class ReportRootGetOffice365GroupsActivityStorageRequest extends BaseRequest implements IReportRootGetOffice365GroupsActivityStorageRequest { /** * The request for this ReportRootGetOffice365GroupsActivityStorage @@ -23,6 +31,88 @@ public class ReportRootGetOffice365GroupsActivityStorageRequest extends BaseRepo * @param requestOptions the options for this request */ public ReportRootGetOffice365GroupsActivityStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365GroupsActivityStorage + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365GroupsActivityStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityStorageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365GroupsActivityStorageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365GroupsActivityStorageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365GroupsActivityStorageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequestBuilder.java index 20825fc49a8..f098770976e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365GroupsActivityStorageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityStorageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Groups Activity Storage Request Builder. */ -public class ReportRootGetOffice365GroupsActivityStorageRequestBuilder extends BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder implements IReportRootGetOffice365GroupsActivityStorageRequestBuilder { +public class ReportRootGetOffice365GroupsActivityStorageRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365GroupsActivityStorageRequestBuilder { /** * The request builder for this ReportRootGetOffice365GroupsActivityStorage @@ -24,6 +29,36 @@ public class ReportRootGetOffice365GroupsActivityStorageRequestBuilder extends B * @param period the period */ public ReportRootGetOffice365GroupsActivityStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityStorageRequest + * + * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance + */ + public IReportRootGetOffice365GroupsActivityStorageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365GroupsActivityStorageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance + */ + public IReportRootGetOffice365GroupsActivityStorageRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365GroupsActivityStorageRequest request = new ReportRootGetOffice365GroupsActivityStorageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequest.java index 7a57fc05238..8d7a338a322 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ServicesUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ServicesUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Services User Counts Request. */ -public class ReportRootGetOffice365ServicesUserCountsRequest extends BaseReportRootGetOffice365ServicesUserCountsRequest implements IReportRootGetOffice365ServicesUserCountsRequest { +public class ReportRootGetOffice365ServicesUserCountsRequest extends BaseRequest implements IReportRootGetOffice365ServicesUserCountsRequest { /** * The request for this ReportRootGetOffice365ServicesUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetOffice365ServicesUserCountsRequest extends BaseReportR * @param requestOptions the options for this request */ public ReportRootGetOffice365ServicesUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOffice365ServicesUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOffice365ServicesUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOffice365ServicesUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOffice365ServicesUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOffice365ServicesUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOffice365ServicesUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequestBuilder.java index 644dc5bba9f..f1c65d89c50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOffice365ServicesUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ServicesUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOffice365ServicesUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Office365Services User Counts Request Builder. */ -public class ReportRootGetOffice365ServicesUserCountsRequestBuilder extends BaseReportRootGetOffice365ServicesUserCountsRequestBuilder implements IReportRootGetOffice365ServicesUserCountsRequestBuilder { +public class ReportRootGetOffice365ServicesUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOffice365ServicesUserCountsRequestBuilder { /** * The request builder for this ReportRootGetOffice365ServicesUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetOffice365ServicesUserCountsRequestBuilder extends Base * @param period the period */ public ReportRootGetOffice365ServicesUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOffice365ServicesUserCountsRequest + * + * @return the IReportRootGetOffice365ServicesUserCountsRequest instance + */ + public IReportRootGetOffice365ServicesUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOffice365ServicesUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOffice365ServicesUserCountsRequest instance + */ + public IReportRootGetOffice365ServicesUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOffice365ServicesUserCountsRequest request = new ReportRootGetOffice365ServicesUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequest.java index 5c89c5a2631..6831fca03d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveActivityFileCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Activity File Counts Request. */ -public class ReportRootGetOneDriveActivityFileCountsRequest extends BaseReportRootGetOneDriveActivityFileCountsRequest implements IReportRootGetOneDriveActivityFileCountsRequest { +public class ReportRootGetOneDriveActivityFileCountsRequest extends BaseRequest implements IReportRootGetOneDriveActivityFileCountsRequest { /** * The request for this ReportRootGetOneDriveActivityFileCounts @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveActivityFileCountsRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetOneDriveActivityFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveActivityFileCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveActivityFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveActivityFileCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveActivityFileCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveActivityFileCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveActivityFileCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequestBuilder.java index e9a141cdab2..8011c978529 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityFileCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityFileCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveActivityFileCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Activity File Counts Request Builder. */ -public class ReportRootGetOneDriveActivityFileCountsRequestBuilder extends BaseReportRootGetOneDriveActivityFileCountsRequestBuilder implements IReportRootGetOneDriveActivityFileCountsRequestBuilder { +public class ReportRootGetOneDriveActivityFileCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveActivityFileCountsRequestBuilder { /** * The request builder for this ReportRootGetOneDriveActivityFileCounts @@ -24,6 +29,36 @@ public class ReportRootGetOneDriveActivityFileCountsRequestBuilder extends BaseR * @param period the period */ public ReportRootGetOneDriveActivityFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveActivityFileCountsRequest + * + * @return the IReportRootGetOneDriveActivityFileCountsRequest instance + */ + public IReportRootGetOneDriveActivityFileCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveActivityFileCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveActivityFileCountsRequest instance + */ + public IReportRootGetOneDriveActivityFileCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveActivityFileCountsRequest request = new ReportRootGetOneDriveActivityFileCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequest.java index e02ddeb628e..315c8736b50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Activity User Counts Request. */ -public class ReportRootGetOneDriveActivityUserCountsRequest extends BaseReportRootGetOneDriveActivityUserCountsRequest implements IReportRootGetOneDriveActivityUserCountsRequest { +public class ReportRootGetOneDriveActivityUserCountsRequest extends BaseRequest implements IReportRootGetOneDriveActivityUserCountsRequest { /** * The request for this ReportRootGetOneDriveActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveActivityUserCountsRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetOneDriveActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequestBuilder.java index 39893fd8c1c..d9b086d5c28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Activity User Counts Request Builder. */ -public class ReportRootGetOneDriveActivityUserCountsRequestBuilder extends BaseReportRootGetOneDriveActivityUserCountsRequestBuilder implements IReportRootGetOneDriveActivityUserCountsRequestBuilder { +public class ReportRootGetOneDriveActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetOneDriveActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetOneDriveActivityUserCountsRequestBuilder extends BaseR * @param period the period */ public ReportRootGetOneDriveActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveActivityUserCountsRequest + * + * @return the IReportRootGetOneDriveActivityUserCountsRequest instance + */ + public IReportRootGetOneDriveActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveActivityUserCountsRequest instance + */ + public IReportRootGetOneDriveActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveActivityUserCountsRequest request = new ReportRootGetOneDriveActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequest.java index 7e6da2beb73..7f32e28ba05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveActivityUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Activity User Detail Request. */ -public class ReportRootGetOneDriveActivityUserDetailRequest extends BaseReportRootGetOneDriveActivityUserDetailRequest implements IReportRootGetOneDriveActivityUserDetailRequest { +public class ReportRootGetOneDriveActivityUserDetailRequest extends BaseRequest implements IReportRootGetOneDriveActivityUserDetailRequest { /** * The request for this ReportRootGetOneDriveActivityUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveActivityUserDetailRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetOneDriveActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveActivityUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveActivityUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveActivityUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveActivityUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveActivityUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequestBuilder.java index 26f77a5e4e8..91de0019a95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveActivityUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Activity User Detail Request Builder. */ -public class ReportRootGetOneDriveActivityUserDetailRequestBuilder extends BaseReportRootGetOneDriveActivityUserDetailRequestBuilder implements IReportRootGetOneDriveActivityUserDetailRequestBuilder { +public class ReportRootGetOneDriveActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveActivityUserDetailRequestBuilder { /** * The request builder for this ReportRootGetOneDriveActivityUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetOneDriveActivityUserDetailRequestBuilder extends BaseR * @param date the date */ public ReportRootGetOneDriveActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetOneDriveActivityUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetOneDriveActivityUserDetailRequestBuilder(final String reques * @param period the period */ public ReportRootGetOneDriveActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveActivityUserDetailRequest + * + * @return the IReportRootGetOneDriveActivityUserDetailRequest instance + */ + public IReportRootGetOneDriveActivityUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveActivityUserDetailRequest instance + */ + public IReportRootGetOneDriveActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveActivityUserDetailRequest request = new ReportRootGetOneDriveActivityUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequest.java index c976151c9f1..034ec33ce22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageAccountCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage Account Counts Request. */ -public class ReportRootGetOneDriveUsageAccountCountsRequest extends BaseReportRootGetOneDriveUsageAccountCountsRequest implements IReportRootGetOneDriveUsageAccountCountsRequest { +public class ReportRootGetOneDriveUsageAccountCountsRequest extends BaseRequest implements IReportRootGetOneDriveUsageAccountCountsRequest { /** * The request for this ReportRootGetOneDriveUsageAccountCounts @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveUsageAccountCountsRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetOneDriveUsageAccountCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveUsageAccountCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageAccountCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageAccountCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveUsageAccountCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageAccountCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveUsageAccountCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequestBuilder.java index 028ed909190..266325c8057 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage Account Counts Request Builder. */ -public class ReportRootGetOneDriveUsageAccountCountsRequestBuilder extends BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder implements IReportRootGetOneDriveUsageAccountCountsRequestBuilder { +public class ReportRootGetOneDriveUsageAccountCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveUsageAccountCountsRequestBuilder { /** * The request builder for this ReportRootGetOneDriveUsageAccountCounts @@ -24,6 +29,36 @@ public class ReportRootGetOneDriveUsageAccountCountsRequestBuilder extends BaseR * @param period the period */ public ReportRootGetOneDriveUsageAccountCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveUsageAccountCountsRequest + * + * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance + */ + public IReportRootGetOneDriveUsageAccountCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveUsageAccountCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance + */ + public IReportRootGetOneDriveUsageAccountCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveUsageAccountCountsRequest request = new ReportRootGetOneDriveUsageAccountCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequest.java index e1c069aa5c1..e7b19018d08 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageAccountDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage Account Detail Request. */ -public class ReportRootGetOneDriveUsageAccountDetailRequest extends BaseReportRootGetOneDriveUsageAccountDetailRequest implements IReportRootGetOneDriveUsageAccountDetailRequest { +public class ReportRootGetOneDriveUsageAccountDetailRequest extends BaseRequest implements IReportRootGetOneDriveUsageAccountDetailRequest { /** * The request for this ReportRootGetOneDriveUsageAccountDetail @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveUsageAccountDetailRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetOneDriveUsageAccountDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveUsageAccountDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageAccountDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageAccountDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveUsageAccountDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageAccountDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveUsageAccountDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequestBuilder.java index 54da84f7d6e..306dc6484ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageAccountDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage Account Detail Request Builder. */ -public class ReportRootGetOneDriveUsageAccountDetailRequestBuilder extends BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder implements IReportRootGetOneDriveUsageAccountDetailRequestBuilder { +public class ReportRootGetOneDriveUsageAccountDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveUsageAccountDetailRequestBuilder { /** * The request builder for this ReportRootGetOneDriveUsageAccountDetail @@ -24,9 +29,9 @@ public class ReportRootGetOneDriveUsageAccountDetailRequestBuilder extends BaseR * @param date the date */ public ReportRootGetOneDriveUsageAccountDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetOneDriveUsageAccountDetail * @@ -36,6 +41,36 @@ public ReportRootGetOneDriveUsageAccountDetailRequestBuilder(final String reques * @param period the period */ public ReportRootGetOneDriveUsageAccountDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveUsageAccountDetailRequest + * + * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance + */ + public IReportRootGetOneDriveUsageAccountDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveUsageAccountDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance + */ + public IReportRootGetOneDriveUsageAccountDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveUsageAccountDetailRequest request = new ReportRootGetOneDriveUsageAccountDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequest.java index e858671ba6e..79b243f134c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageFileCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage File Counts Request. */ -public class ReportRootGetOneDriveUsageFileCountsRequest extends BaseReportRootGetOneDriveUsageFileCountsRequest implements IReportRootGetOneDriveUsageFileCountsRequest { +public class ReportRootGetOneDriveUsageFileCountsRequest extends BaseRequest implements IReportRootGetOneDriveUsageFileCountsRequest { /** * The request for this ReportRootGetOneDriveUsageFileCounts @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveUsageFileCountsRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetOneDriveUsageFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveUsageFileCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageFileCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveUsageFileCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageFileCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveUsageFileCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequestBuilder.java index 081e93865e6..e4efb67aa78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageFileCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageFileCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageFileCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage File Counts Request Builder. */ -public class ReportRootGetOneDriveUsageFileCountsRequestBuilder extends BaseReportRootGetOneDriveUsageFileCountsRequestBuilder implements IReportRootGetOneDriveUsageFileCountsRequestBuilder { +public class ReportRootGetOneDriveUsageFileCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveUsageFileCountsRequestBuilder { /** * The request builder for this ReportRootGetOneDriveUsageFileCounts @@ -24,6 +29,36 @@ public class ReportRootGetOneDriveUsageFileCountsRequestBuilder extends BaseRepo * @param period the period */ public ReportRootGetOneDriveUsageFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveUsageFileCountsRequest + * + * @return the IReportRootGetOneDriveUsageFileCountsRequest instance + */ + public IReportRootGetOneDriveUsageFileCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveUsageFileCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageFileCountsRequest instance + */ + public IReportRootGetOneDriveUsageFileCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveUsageFileCountsRequest request = new ReportRootGetOneDriveUsageFileCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequest.java index 7327723583a..37b726dc82f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageStorageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage Storage Request. */ -public class ReportRootGetOneDriveUsageStorageRequest extends BaseReportRootGetOneDriveUsageStorageRequest implements IReportRootGetOneDriveUsageStorageRequest { +public class ReportRootGetOneDriveUsageStorageRequest extends BaseRequest implements IReportRootGetOneDriveUsageStorageRequest { /** * The request for this ReportRootGetOneDriveUsageStorage @@ -23,6 +31,88 @@ public class ReportRootGetOneDriveUsageStorageRequest extends BaseReportRootGetO * @param requestOptions the options for this request */ public ReportRootGetOneDriveUsageStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetOneDriveUsageStorage + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetOneDriveUsageStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageStorageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetOneDriveUsageStorageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetOneDriveUsageStorageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetOneDriveUsageStorageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequestBuilder.java index bd0681742f9..1799023ac4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetOneDriveUsageStorageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageStorageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetOneDriveUsageStorageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get One Drive Usage Storage Request Builder. */ -public class ReportRootGetOneDriveUsageStorageRequestBuilder extends BaseReportRootGetOneDriveUsageStorageRequestBuilder implements IReportRootGetOneDriveUsageStorageRequestBuilder { +public class ReportRootGetOneDriveUsageStorageRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetOneDriveUsageStorageRequestBuilder { /** * The request builder for this ReportRootGetOneDriveUsageStorage @@ -24,6 +29,36 @@ public class ReportRootGetOneDriveUsageStorageRequestBuilder extends BaseReportR * @param period the period */ public ReportRootGetOneDriveUsageStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetOneDriveUsageStorageRequest + * + * @return the IReportRootGetOneDriveUsageStorageRequest instance + */ + public IReportRootGetOneDriveUsageStorageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetOneDriveUsageStorageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetOneDriveUsageStorageRequest instance + */ + public IReportRootGetOneDriveUsageStorageRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetOneDriveUsageStorageRequest request = new ReportRootGetOneDriveUsageStorageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequest.java index 4c70e785108..ce06ce0a841 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityFileCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity File Counts Request. */ -public class ReportRootGetSharePointActivityFileCountsRequest extends BaseReportRootGetSharePointActivityFileCountsRequest implements IReportRootGetSharePointActivityFileCountsRequest { +public class ReportRootGetSharePointActivityFileCountsRequest extends BaseRequest implements IReportRootGetSharePointActivityFileCountsRequest { /** * The request for this ReportRootGetSharePointActivityFileCounts @@ -23,6 +31,88 @@ public class ReportRootGetSharePointActivityFileCountsRequest extends BaseReport * @param requestOptions the options for this request */ public ReportRootGetSharePointActivityFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointActivityFileCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointActivityFileCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointActivityFileCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointActivityFileCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointActivityFileCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequestBuilder.java index 88b3a8cfb25..e700d64702b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityFileCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityFileCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityFileCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity File Counts Request Builder. */ -public class ReportRootGetSharePointActivityFileCountsRequestBuilder extends BaseReportRootGetSharePointActivityFileCountsRequestBuilder implements IReportRootGetSharePointActivityFileCountsRequestBuilder { +public class ReportRootGetSharePointActivityFileCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointActivityFileCountsRequestBuilder { /** * The request builder for this ReportRootGetSharePointActivityFileCounts @@ -24,6 +29,36 @@ public class ReportRootGetSharePointActivityFileCountsRequestBuilder extends Bas * @param period the period */ public ReportRootGetSharePointActivityFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointActivityFileCountsRequest + * + * @return the IReportRootGetSharePointActivityFileCountsRequest instance + */ + public IReportRootGetSharePointActivityFileCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointActivityFileCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityFileCountsRequest instance + */ + public IReportRootGetSharePointActivityFileCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointActivityFileCountsRequest request = new ReportRootGetSharePointActivityFileCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequest.java index 532c0429d2f..196e4cd1f2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityPagesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityPagesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity Pages Request. */ -public class ReportRootGetSharePointActivityPagesRequest extends BaseReportRootGetSharePointActivityPagesRequest implements IReportRootGetSharePointActivityPagesRequest { +public class ReportRootGetSharePointActivityPagesRequest extends BaseRequest implements IReportRootGetSharePointActivityPagesRequest { /** * The request for this ReportRootGetSharePointActivityPages @@ -23,6 +31,88 @@ public class ReportRootGetSharePointActivityPagesRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetSharePointActivityPagesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointActivityPages + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityPages + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointActivityPagesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointActivityPagesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointActivityPagesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointActivityPagesRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequestBuilder.java index f2b1309c159..d7ffd9cba3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityPagesRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityPagesRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityPagesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity Pages Request Builder. */ -public class ReportRootGetSharePointActivityPagesRequestBuilder extends BaseReportRootGetSharePointActivityPagesRequestBuilder implements IReportRootGetSharePointActivityPagesRequestBuilder { +public class ReportRootGetSharePointActivityPagesRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointActivityPagesRequestBuilder { /** * The request builder for this ReportRootGetSharePointActivityPages @@ -24,6 +29,36 @@ public class ReportRootGetSharePointActivityPagesRequestBuilder extends BaseRepo * @param period the period */ public ReportRootGetSharePointActivityPagesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointActivityPagesRequest + * + * @return the IReportRootGetSharePointActivityPagesRequest instance + */ + public IReportRootGetSharePointActivityPagesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointActivityPagesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityPagesRequest instance + */ + public IReportRootGetSharePointActivityPagesRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointActivityPagesRequest request = new ReportRootGetSharePointActivityPagesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequest.java index 7629ad1deab..1097c16d991 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity User Counts Request. */ -public class ReportRootGetSharePointActivityUserCountsRequest extends BaseReportRootGetSharePointActivityUserCountsRequest implements IReportRootGetSharePointActivityUserCountsRequest { +public class ReportRootGetSharePointActivityUserCountsRequest extends BaseRequest implements IReportRootGetSharePointActivityUserCountsRequest { /** * The request for this ReportRootGetSharePointActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSharePointActivityUserCountsRequest extends BaseReport * @param requestOptions the options for this request */ public ReportRootGetSharePointActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequestBuilder.java index 3428f18281e..812a764aa6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity User Counts Request Builder. */ -public class ReportRootGetSharePointActivityUserCountsRequestBuilder extends BaseReportRootGetSharePointActivityUserCountsRequestBuilder implements IReportRootGetSharePointActivityUserCountsRequestBuilder { +public class ReportRootGetSharePointActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSharePointActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSharePointActivityUserCountsRequestBuilder extends Bas * @param period the period */ public ReportRootGetSharePointActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointActivityUserCountsRequest + * + * @return the IReportRootGetSharePointActivityUserCountsRequest instance + */ + public IReportRootGetSharePointActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityUserCountsRequest instance + */ + public IReportRootGetSharePointActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointActivityUserCountsRequest request = new ReportRootGetSharePointActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequest.java index 2358a141e7e..6c8abea1e4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity User Detail Request. */ -public class ReportRootGetSharePointActivityUserDetailRequest extends BaseReportRootGetSharePointActivityUserDetailRequest implements IReportRootGetSharePointActivityUserDetailRequest { +public class ReportRootGetSharePointActivityUserDetailRequest extends BaseRequest implements IReportRootGetSharePointActivityUserDetailRequest { /** * The request for this ReportRootGetSharePointActivityUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetSharePointActivityUserDetailRequest extends BaseReport * @param requestOptions the options for this request */ public ReportRootGetSharePointActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointActivityUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointActivityUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointActivityUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointActivityUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointActivityUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequestBuilder.java index 4e7047ff72b..ede93391d08 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointActivityUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Activity User Detail Request Builder. */ -public class ReportRootGetSharePointActivityUserDetailRequestBuilder extends BaseReportRootGetSharePointActivityUserDetailRequestBuilder implements IReportRootGetSharePointActivityUserDetailRequestBuilder { +public class ReportRootGetSharePointActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointActivityUserDetailRequestBuilder { /** * The request builder for this ReportRootGetSharePointActivityUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetSharePointActivityUserDetailRequestBuilder extends Bas * @param date the date */ public ReportRootGetSharePointActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetSharePointActivityUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetSharePointActivityUserDetailRequestBuilder(final String requ * @param period the period */ public ReportRootGetSharePointActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointActivityUserDetailRequest + * + * @return the IReportRootGetSharePointActivityUserDetailRequest instance + */ + public IReportRootGetSharePointActivityUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointActivityUserDetailRequest instance + */ + public IReportRootGetSharePointActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointActivityUserDetailRequest request = new ReportRootGetSharePointActivityUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequest.java index 24db795d09e..47c8e0b8d86 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Detail Request. */ -public class ReportRootGetSharePointSiteUsageDetailRequest extends BaseReportRootGetSharePointSiteUsageDetailRequest implements IReportRootGetSharePointSiteUsageDetailRequest { +public class ReportRootGetSharePointSiteUsageDetailRequest extends BaseRequest implements IReportRootGetSharePointSiteUsageDetailRequest { /** * The request for this ReportRootGetSharePointSiteUsageDetail @@ -23,6 +31,88 @@ public class ReportRootGetSharePointSiteUsageDetailRequest extends BaseReportRoo * @param requestOptions the options for this request */ public ReportRootGetSharePointSiteUsageDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointSiteUsageDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointSiteUsageDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointSiteUsageDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequestBuilder.java index d83dba8b187..04f9cee24ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Detail Request Builder. */ -public class ReportRootGetSharePointSiteUsageDetailRequestBuilder extends BaseReportRootGetSharePointSiteUsageDetailRequestBuilder implements IReportRootGetSharePointSiteUsageDetailRequestBuilder { +public class ReportRootGetSharePointSiteUsageDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointSiteUsageDetailRequestBuilder { /** * The request builder for this ReportRootGetSharePointSiteUsageDetail @@ -24,9 +29,9 @@ public class ReportRootGetSharePointSiteUsageDetailRequestBuilder extends BaseRe * @param date the date */ public ReportRootGetSharePointSiteUsageDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetSharePointSiteUsageDetail * @@ -36,6 +41,36 @@ public ReportRootGetSharePointSiteUsageDetailRequestBuilder(final String request * @param period the period */ public ReportRootGetSharePointSiteUsageDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageDetailRequest + * + * @return the IReportRootGetSharePointSiteUsageDetailRequest instance + */ + public IReportRootGetSharePointSiteUsageDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageDetailRequest instance + */ + public IReportRootGetSharePointSiteUsageDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointSiteUsageDetailRequest request = new ReportRootGetSharePointSiteUsageDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequest.java index 6ca0580ec89..762a663e92c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageFileCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageFileCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage File Counts Request. */ -public class ReportRootGetSharePointSiteUsageFileCountsRequest extends BaseReportRootGetSharePointSiteUsageFileCountsRequest implements IReportRootGetSharePointSiteUsageFileCountsRequest { +public class ReportRootGetSharePointSiteUsageFileCountsRequest extends BaseRequest implements IReportRootGetSharePointSiteUsageFileCountsRequest { /** * The request for this ReportRootGetSharePointSiteUsageFileCounts @@ -23,6 +31,88 @@ public class ReportRootGetSharePointSiteUsageFileCountsRequest extends BaseRepor * @param requestOptions the options for this request */ public ReportRootGetSharePointSiteUsageFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointSiteUsageFileCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageFileCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageFileCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointSiteUsageFileCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageFileCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointSiteUsageFileCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java index 583a1472b3f..b2707b8654b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageFileCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage File Counts Request Builder. */ -public class ReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder implements IReportRootGetSharePointSiteUsageFileCountsRequestBuilder { +public class ReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointSiteUsageFileCountsRequestBuilder { /** * The request builder for this ReportRootGetSharePointSiteUsageFileCounts @@ -24,6 +29,36 @@ public class ReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends Ba * @param period the period */ public ReportRootGetSharePointSiteUsageFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest + * + * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance + */ + public IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance + */ + public IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointSiteUsageFileCountsRequest request = new ReportRootGetSharePointSiteUsageFileCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequest.java index 7e100fa9f76..3f50d303728 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsagePagesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsagePagesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Pages Request. */ -public class ReportRootGetSharePointSiteUsagePagesRequest extends BaseReportRootGetSharePointSiteUsagePagesRequest implements IReportRootGetSharePointSiteUsagePagesRequest { +public class ReportRootGetSharePointSiteUsagePagesRequest extends BaseRequest implements IReportRootGetSharePointSiteUsagePagesRequest { /** * The request for this ReportRootGetSharePointSiteUsagePages @@ -23,6 +31,88 @@ public class ReportRootGetSharePointSiteUsagePagesRequest extends BaseReportRoot * @param requestOptions the options for this request */ public ReportRootGetSharePointSiteUsagePagesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointSiteUsagePages + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsagePages + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsagePagesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointSiteUsagePagesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsagePagesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointSiteUsagePagesRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequestBuilder.java index 5925f27678c..c252c5c684b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsagePagesRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsagePagesRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsagePagesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Pages Request Builder. */ -public class ReportRootGetSharePointSiteUsagePagesRequestBuilder extends BaseReportRootGetSharePointSiteUsagePagesRequestBuilder implements IReportRootGetSharePointSiteUsagePagesRequestBuilder { +public class ReportRootGetSharePointSiteUsagePagesRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointSiteUsagePagesRequestBuilder { /** * The request builder for this ReportRootGetSharePointSiteUsagePages @@ -24,6 +29,36 @@ public class ReportRootGetSharePointSiteUsagePagesRequestBuilder extends BaseRep * @param period the period */ public ReportRootGetSharePointSiteUsagePagesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointSiteUsagePagesRequest + * + * @return the IReportRootGetSharePointSiteUsagePagesRequest instance + */ + public IReportRootGetSharePointSiteUsagePagesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointSiteUsagePagesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsagePagesRequest instance + */ + public IReportRootGetSharePointSiteUsagePagesRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointSiteUsagePagesRequest request = new ReportRootGetSharePointSiteUsagePagesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequest.java index 9326667a178..ef0afe8ae91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageSiteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageSiteCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Site Counts Request. */ -public class ReportRootGetSharePointSiteUsageSiteCountsRequest extends BaseReportRootGetSharePointSiteUsageSiteCountsRequest implements IReportRootGetSharePointSiteUsageSiteCountsRequest { +public class ReportRootGetSharePointSiteUsageSiteCountsRequest extends BaseRequest implements IReportRootGetSharePointSiteUsageSiteCountsRequest { /** * The request for this ReportRootGetSharePointSiteUsageSiteCounts @@ -23,6 +31,88 @@ public class ReportRootGetSharePointSiteUsageSiteCountsRequest extends BaseRepor * @param requestOptions the options for this request */ public ReportRootGetSharePointSiteUsageSiteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointSiteUsageSiteCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageSiteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageSiteCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointSiteUsageSiteCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageSiteCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointSiteUsageSiteCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java index d88312634ed..721259383de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageSiteCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Site Counts Request Builder. */ -public class ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder implements IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder { +public class ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder { /** * The request builder for this ReportRootGetSharePointSiteUsageSiteCounts @@ -24,6 +29,36 @@ public class ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends Ba * @param period the period */ public ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest + * + * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance + */ + public IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance + */ + public IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointSiteUsageSiteCountsRequest request = new ReportRootGetSharePointSiteUsageSiteCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequest.java index e434e14d24d..fe39a987b27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageStorageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageStorageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Storage Request. */ -public class ReportRootGetSharePointSiteUsageStorageRequest extends BaseReportRootGetSharePointSiteUsageStorageRequest implements IReportRootGetSharePointSiteUsageStorageRequest { +public class ReportRootGetSharePointSiteUsageStorageRequest extends BaseRequest implements IReportRootGetSharePointSiteUsageStorageRequest { /** * The request for this ReportRootGetSharePointSiteUsageStorage @@ -23,6 +31,88 @@ public class ReportRootGetSharePointSiteUsageStorageRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetSharePointSiteUsageStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSharePointSiteUsageStorage + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSharePointSiteUsageStorage + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageStorageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSharePointSiteUsageStorageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSharePointSiteUsageStorageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSharePointSiteUsageStorageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequestBuilder.java index 98e1aaa8990..3067363ea5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSharePointSiteUsageStorageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageStorageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSharePointSiteUsageStorageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Share Point Site Usage Storage Request Builder. */ -public class ReportRootGetSharePointSiteUsageStorageRequestBuilder extends BaseReportRootGetSharePointSiteUsageStorageRequestBuilder implements IReportRootGetSharePointSiteUsageStorageRequestBuilder { +public class ReportRootGetSharePointSiteUsageStorageRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSharePointSiteUsageStorageRequestBuilder { /** * The request builder for this ReportRootGetSharePointSiteUsageStorage @@ -24,6 +29,36 @@ public class ReportRootGetSharePointSiteUsageStorageRequestBuilder extends BaseR * @param period the period */ public ReportRootGetSharePointSiteUsageStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageStorageRequest + * + * @return the IReportRootGetSharePointSiteUsageStorageRequest instance + */ + public IReportRootGetSharePointSiteUsageStorageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSharePointSiteUsageStorageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSharePointSiteUsageStorageRequest instance + */ + public IReportRootGetSharePointSiteUsageStorageRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSharePointSiteUsageStorageRequest request = new ReportRootGetSharePointSiteUsageStorageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequest.java index 96b11c48969..4eafba8f9f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Activity Counts Request. */ -public class ReportRootGetSkypeForBusinessActivityCountsRequest extends BaseReportRootGetSkypeForBusinessActivityCountsRequest implements IReportRootGetSkypeForBusinessActivityCountsRequest { +public class ReportRootGetSkypeForBusinessActivityCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessActivityCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessActivityCountsRequest extends BaseRepo * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java index b34a4b244f6..71f01c0f7c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Activity Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder implements IReportRootGetSkypeForBusinessActivityCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends B * @param period the period */ public ReportRootGetSkypeForBusinessActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessActivityCountsRequest request = new ReportRootGetSkypeForBusinessActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequest.java index 7e691b8b108..9eff39c68fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Activity User Counts Request. */ -public class ReportRootGetSkypeForBusinessActivityUserCountsRequest extends BaseReportRootGetSkypeForBusinessActivityUserCountsRequest implements IReportRootGetSkypeForBusinessActivityUserCountsRequest { +public class ReportRootGetSkypeForBusinessActivityUserCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessActivityUserCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessActivityUserCountsRequest extends Base * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java index cb2fd73920e..0939e6d1ab1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Activity User Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder implements IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder exten * @param period the period */ public ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequest.java index 6bb46dcde0f..6ca5c7050f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessActivityUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Activity User Detail Request. */ -public class ReportRootGetSkypeForBusinessActivityUserDetailRequest extends BaseReportRootGetSkypeForBusinessActivityUserDetailRequest implements IReportRootGetSkypeForBusinessActivityUserDetailRequest { +public class ReportRootGetSkypeForBusinessActivityUserDetailRequest extends BaseRequest implements IReportRootGetSkypeForBusinessActivityUserDetailRequest { /** * The request for this ReportRootGetSkypeForBusinessActivityUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessActivityUserDetailRequest extends Base * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessActivityUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessActivityUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessActivityUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessActivityUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java index bb03359488c..fda27669625 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Activity User Detail Request Builder. */ -public class ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder extends BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder implements IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder { +public class ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessActivityUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder exten * @param date the date */ public ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetSkypeForBusinessActivityUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(final Strin * @param period the period */ public ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest + * + * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance + */ + public IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance + */ + public IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessActivityUserDetailRequest request = new ReportRootGetSkypeForBusinessActivityUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java index 7c934e9bda0..ce07ffac81f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Device Usage Distribution User Counts Request. */ -public class ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest extends BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest implements IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest { +public class ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsReque * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java index fc3a72f0f40..04dff796d8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Device Usage Distribution User Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder implements IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsReque * @param period the period */ public ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest request = new ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java index 135cfd85b6b..5a394d16b6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Device Usage User Counts Request. */ -public class ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest extends BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest implements IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest { +public class ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessDeviceUsageUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest extends B * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java index 537a10db2ec..e3f2c160f5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Device Usage User Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder implements IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder ex * @param period the period */ public ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest request = new ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java index 4e07fa38776..b545045acd8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Device Usage User Detail Request. */ -public class ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest extends BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest implements IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest { +public class ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest extends BaseRequest implements IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest { /** * The request for this ReportRootGetSkypeForBusinessDeviceUsageUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest extends B * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java index 2ae168b48b2..f4b260a1a4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Device Usage User Detail Request Builder. */ -public class ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder extends BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder implements IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder { +public class ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder ex * @param date the date */ public ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(final St * @param period the period */ public ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest + * + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance + */ + public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest request = new ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java index 7a1b0a0d04f..9bea34a7e95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Organizer Activity Counts Request. */ -public class ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest extends BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest implements IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest { +public class ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessOrganizerActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest extends * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java index 69ff3e2cf19..76903610e01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Organizer Activity Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder implements IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessOrganizerActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder * @param period the period */ public ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest request = new ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java index 8b74f4ddd81..8c278bef960 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Organizer Activity Minute Counts Request. */ -public class ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest extends BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest implements IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest { +public class ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest e * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java index 1c51220cc18..b3428c2bc5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Organizer Activity Minute Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder implements IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBu * @param period the period */ public ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest + * + * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance + */ + public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance + */ + public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest request = new ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java index 956ae6a8110..2e1f9162f64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Organizer Activity User Counts Request. */ -public class ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest extends BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest implements IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest { +public class ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessOrganizerActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest ext * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java index afb2e9658eb..bbb7ce786fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Organizer Activity User Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder implements IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessOrganizerActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuil * @param period the period */ public ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java index 215ce7d72f7..a776c16a2b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Participant Activity Counts Request. */ -public class ReportRootGetSkypeForBusinessParticipantActivityCountsRequest extends BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest implements IReportRootGetSkypeForBusinessParticipantActivityCountsRequest { +public class ReportRootGetSkypeForBusinessParticipantActivityCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessParticipantActivityCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessParticipantActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessParticipantActivityCountsRequest exten * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessParticipantActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessParticipantActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessParticipantActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java index c7bee96bdb5..3c8c060a2cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Participant Activity Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder implements IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessParticipantActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilde * @param period the period */ public ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessParticipantActivityCountsRequest request = new ReportRootGetSkypeForBusinessParticipantActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java index 4e26b8e540c..6e2cfcd9541 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Participant Activity Minute Counts Request. */ -public class ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest extends BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest implements IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest { +public class ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java index c6a5498b17e..611e41beec9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Participant Activity Minute Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder implements IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest * @param period the period */ public ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest + * + * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance + */ + public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance + */ + public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest request = new ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java index 656bb534e57..550ff8e5928 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Participant Activity User Counts Request. */ -public class ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest extends BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest implements IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest { +public class ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessParticipantActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest e * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java index 773f07c394e..dd4f1df6fe9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Participant Activity User Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder implements IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessParticipantActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBu * @param period the period */ public ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java index 766bf552038..781f2363d5f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Peer To Peer Activity Counts Request. */ -public class ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest extends BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest implements IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest { +public class ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessPeerToPeerActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest extend * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java index a7c818ef4b4..e2ccb850823 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Peer To Peer Activity Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder implements IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessPeerToPeerActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder * @param period the period */ public ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest + * + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest request = new ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java index 5b2675e2492..cd3bb8860bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request. */ -public class ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest extends BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest implements IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest { +public class ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java index ca896cc1ac3..7cd7f0bbbcb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder implements IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestB * @param period the period */ public ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest + * + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest request = new ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java index 96029e4a821..6491f909742 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Peer To Peer Activity User Counts Request. */ -public class ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest extends BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest implements IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest { +public class ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest extends BaseRequest implements IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest { /** * The request for this ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest ex * @param requestOptions the options for this request */ public ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java index 8db7fbfd948..75ad8793d5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Skype For Business Peer To Peer Activity User Counts Request Builder. */ -public class ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder extends BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder implements IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder { +public class ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBui * @param period the period */ public ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest + * + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance + */ + public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java index 34f162c1c72..17ff5b87f80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams Device Usage Distribution User Counts Request. */ -public class ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest extends BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest implements IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest { +public class ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest extends BaseRequest implements IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest { /** * The request for this ReportRootGetTeamsDeviceUsageDistributionUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest extends * @param requestOptions the options for this request */ public ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java index c0fb692c2fe..68314c83d74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams Device Usage Distribution User Counts Request Builder. */ -public class ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder extends BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder implements IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder { +public class ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder { /** * The request builder for this ReportRootGetTeamsDeviceUsageDistributionUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder e * @param period the period */ public ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest + * + * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance + */ + public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance + */ + public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest request = new ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequest.java index a29fcfc23bb..123d8e10e36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsDeviceUsageUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams Device Usage User Counts Request. */ -public class ReportRootGetTeamsDeviceUsageUserCountsRequest extends BaseReportRootGetTeamsDeviceUsageUserCountsRequest implements IReportRootGetTeamsDeviceUsageUserCountsRequest { +public class ReportRootGetTeamsDeviceUsageUserCountsRequest extends BaseRequest implements IReportRootGetTeamsDeviceUsageUserCountsRequest { /** * The request for this ReportRootGetTeamsDeviceUsageUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetTeamsDeviceUsageUserCountsRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetTeamsDeviceUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetTeamsDeviceUsageUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetTeamsDeviceUsageUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetTeamsDeviceUsageUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetTeamsDeviceUsageUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java index 7350dec49bc..751eaade974 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams Device Usage User Counts Request Builder. */ -public class ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder implements IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder { +public class ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder { /** * The request builder for this ReportRootGetTeamsDeviceUsageUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends BaseR * @param period the period */ public ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest + * + * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance + */ + public IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance + */ + public IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetTeamsDeviceUsageUserCountsRequest request = new ReportRootGetTeamsDeviceUsageUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequest.java index abe5a2c9845..135a9d4ba49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsDeviceUsageUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams Device Usage User Detail Request. */ -public class ReportRootGetTeamsDeviceUsageUserDetailRequest extends BaseReportRootGetTeamsDeviceUsageUserDetailRequest implements IReportRootGetTeamsDeviceUsageUserDetailRequest { +public class ReportRootGetTeamsDeviceUsageUserDetailRequest extends BaseRequest implements IReportRootGetTeamsDeviceUsageUserDetailRequest { /** * The request for this ReportRootGetTeamsDeviceUsageUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetTeamsDeviceUsageUserDetailRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetTeamsDeviceUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetTeamsDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetTeamsDeviceUsageUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetTeamsDeviceUsageUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetTeamsDeviceUsageUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetTeamsDeviceUsageUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java index 8cfb21c3075..8c3ba33c879 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams Device Usage User Detail Request Builder. */ -public class ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder implements IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder { +public class ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder { /** * The request builder for this ReportRootGetTeamsDeviceUsageUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends BaseR * @param date the date */ public ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetTeamsDeviceUsageUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(final String reques * @param period the period */ public ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest + * + * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance + */ + public IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance + */ + public IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetTeamsDeviceUsageUserDetailRequest request = new ReportRootGetTeamsDeviceUsageUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequest.java index 5c79b21aef5..effb4ad4d5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsUserActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams User Activity Counts Request. */ -public class ReportRootGetTeamsUserActivityCountsRequest extends BaseReportRootGetTeamsUserActivityCountsRequest implements IReportRootGetTeamsUserActivityCountsRequest { +public class ReportRootGetTeamsUserActivityCountsRequest extends BaseRequest implements IReportRootGetTeamsUserActivityCountsRequest { /** * The request for this ReportRootGetTeamsUserActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetTeamsUserActivityCountsRequest extends BaseReportRootG * @param requestOptions the options for this request */ public ReportRootGetTeamsUserActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetTeamsUserActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetTeamsUserActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetTeamsUserActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetTeamsUserActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetTeamsUserActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetTeamsUserActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequestBuilder.java index c0cb5ce2457..9d0d91f43ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsUserActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams User Activity Counts Request Builder. */ -public class ReportRootGetTeamsUserActivityCountsRequestBuilder extends BaseReportRootGetTeamsUserActivityCountsRequestBuilder implements IReportRootGetTeamsUserActivityCountsRequestBuilder { +public class ReportRootGetTeamsUserActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetTeamsUserActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetTeamsUserActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetTeamsUserActivityCountsRequestBuilder extends BaseRepo * @param period the period */ public ReportRootGetTeamsUserActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetTeamsUserActivityCountsRequest + * + * @return the IReportRootGetTeamsUserActivityCountsRequest instance + */ + public IReportRootGetTeamsUserActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetTeamsUserActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsUserActivityCountsRequest instance + */ + public IReportRootGetTeamsUserActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetTeamsUserActivityCountsRequest request = new ReportRootGetTeamsUserActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequest.java index 89d6504f0de..3ce8694ecc5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsUserActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams User Activity User Counts Request. */ -public class ReportRootGetTeamsUserActivityUserCountsRequest extends BaseReportRootGetTeamsUserActivityUserCountsRequest implements IReportRootGetTeamsUserActivityUserCountsRequest { +public class ReportRootGetTeamsUserActivityUserCountsRequest extends BaseRequest implements IReportRootGetTeamsUserActivityUserCountsRequest { /** * The request for this ReportRootGetTeamsUserActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetTeamsUserActivityUserCountsRequest extends BaseReportR * @param requestOptions the options for this request */ public ReportRootGetTeamsUserActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetTeamsUserActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetTeamsUserActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetTeamsUserActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetTeamsUserActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetTeamsUserActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetTeamsUserActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequestBuilder.java index 9e86188a63c..ab70cf497e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams User Activity User Counts Request Builder. */ -public class ReportRootGetTeamsUserActivityUserCountsRequestBuilder extends BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder implements IReportRootGetTeamsUserActivityUserCountsRequestBuilder { +public class ReportRootGetTeamsUserActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetTeamsUserActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetTeamsUserActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetTeamsUserActivityUserCountsRequestBuilder extends Base * @param period the period */ public ReportRootGetTeamsUserActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetTeamsUserActivityUserCountsRequest + * + * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance + */ + public IReportRootGetTeamsUserActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetTeamsUserActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance + */ + public IReportRootGetTeamsUserActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetTeamsUserActivityUserCountsRequest request = new ReportRootGetTeamsUserActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequest.java index 85a8a50f7e1..7d3092dd590 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsUserActivityUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams User Activity User Detail Request. */ -public class ReportRootGetTeamsUserActivityUserDetailRequest extends BaseReportRootGetTeamsUserActivityUserDetailRequest implements IReportRootGetTeamsUserActivityUserDetailRequest { +public class ReportRootGetTeamsUserActivityUserDetailRequest extends BaseRequest implements IReportRootGetTeamsUserActivityUserDetailRequest { /** * The request for this ReportRootGetTeamsUserActivityUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetTeamsUserActivityUserDetailRequest extends BaseReportR * @param requestOptions the options for this request */ public ReportRootGetTeamsUserActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetTeamsUserActivityUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetTeamsUserActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetTeamsUserActivityUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetTeamsUserActivityUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetTeamsUserActivityUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetTeamsUserActivityUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequestBuilder.java index 2cfb82d95b6..659a89c4d2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetTeamsUserActivityUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Teams User Activity User Detail Request Builder. */ -public class ReportRootGetTeamsUserActivityUserDetailRequestBuilder extends BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder implements IReportRootGetTeamsUserActivityUserDetailRequestBuilder { +public class ReportRootGetTeamsUserActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetTeamsUserActivityUserDetailRequestBuilder { /** * The request builder for this ReportRootGetTeamsUserActivityUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetTeamsUserActivityUserDetailRequestBuilder extends Base * @param date the date */ public ReportRootGetTeamsUserActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetTeamsUserActivityUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetTeamsUserActivityUserDetailRequestBuilder(final String reque * @param period the period */ public ReportRootGetTeamsUserActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetTeamsUserActivityUserDetailRequest + * + * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance + */ + public IReportRootGetTeamsUserActivityUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetTeamsUserActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance + */ + public IReportRootGetTeamsUserActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetTeamsUserActivityUserDetailRequest request = new ReportRootGetTeamsUserActivityUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequest.java index e2a247dbc45..0a9b56463a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Activity Counts Request. */ -public class ReportRootGetYammerActivityCountsRequest extends BaseReportRootGetYammerActivityCountsRequest implements IReportRootGetYammerActivityCountsRequest { +public class ReportRootGetYammerActivityCountsRequest extends BaseRequest implements IReportRootGetYammerActivityCountsRequest { /** * The request for this ReportRootGetYammerActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetYammerActivityCountsRequest extends BaseReportRootGetY * @param requestOptions the options for this request */ public ReportRootGetYammerActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequestBuilder.java index 0c08116d38e..b7e35598cec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Activity Counts Request Builder. */ -public class ReportRootGetYammerActivityCountsRequestBuilder extends BaseReportRootGetYammerActivityCountsRequestBuilder implements IReportRootGetYammerActivityCountsRequestBuilder { +public class ReportRootGetYammerActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetYammerActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetYammerActivityCountsRequestBuilder extends BaseReportR * @param period the period */ public ReportRootGetYammerActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerActivityCountsRequest + * + * @return the IReportRootGetYammerActivityCountsRequest instance + */ + public IReportRootGetYammerActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerActivityCountsRequest instance + */ + public IReportRootGetYammerActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerActivityCountsRequest request = new ReportRootGetYammerActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequest.java index 17086ee4257..46b4e940bd2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerActivityUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Activity User Counts Request. */ -public class ReportRootGetYammerActivityUserCountsRequest extends BaseReportRootGetYammerActivityUserCountsRequest implements IReportRootGetYammerActivityUserCountsRequest { +public class ReportRootGetYammerActivityUserCountsRequest extends BaseRequest implements IReportRootGetYammerActivityUserCountsRequest { /** * The request for this ReportRootGetYammerActivityUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetYammerActivityUserCountsRequest extends BaseReportRoot * @param requestOptions the options for this request */ public ReportRootGetYammerActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerActivityUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerActivityUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerActivityUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerActivityUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerActivityUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerActivityUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequestBuilder.java index afc25ccd178..c8c9164dcd0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerActivityUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Activity User Counts Request Builder. */ -public class ReportRootGetYammerActivityUserCountsRequestBuilder extends BaseReportRootGetYammerActivityUserCountsRequestBuilder implements IReportRootGetYammerActivityUserCountsRequestBuilder { +public class ReportRootGetYammerActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerActivityUserCountsRequestBuilder { /** * The request builder for this ReportRootGetYammerActivityUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetYammerActivityUserCountsRequestBuilder extends BaseRep * @param period the period */ public ReportRootGetYammerActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerActivityUserCountsRequest + * + * @return the IReportRootGetYammerActivityUserCountsRequest instance + */ + public IReportRootGetYammerActivityUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerActivityUserCountsRequest instance + */ + public IReportRootGetYammerActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerActivityUserCountsRequest request = new ReportRootGetYammerActivityUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequest.java index f0484dbad7b..b4cfab00d8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerActivityUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Activity User Detail Request. */ -public class ReportRootGetYammerActivityUserDetailRequest extends BaseReportRootGetYammerActivityUserDetailRequest implements IReportRootGetYammerActivityUserDetailRequest { +public class ReportRootGetYammerActivityUserDetailRequest extends BaseRequest implements IReportRootGetYammerActivityUserDetailRequest { /** * The request for this ReportRootGetYammerActivityUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetYammerActivityUserDetailRequest extends BaseReportRoot * @param requestOptions the options for this request */ public ReportRootGetYammerActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerActivityUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerActivityUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerActivityUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerActivityUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerActivityUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerActivityUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequestBuilder.java index 5e0ea1fe795..f78ecc5b762 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerActivityUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Activity User Detail Request Builder. */ -public class ReportRootGetYammerActivityUserDetailRequestBuilder extends BaseReportRootGetYammerActivityUserDetailRequestBuilder implements IReportRootGetYammerActivityUserDetailRequestBuilder { +public class ReportRootGetYammerActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerActivityUserDetailRequestBuilder { /** * The request builder for this ReportRootGetYammerActivityUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetYammerActivityUserDetailRequestBuilder extends BaseRep * @param date the date */ public ReportRootGetYammerActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetYammerActivityUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetYammerActivityUserDetailRequestBuilder(final String requestU * @param period the period */ public ReportRootGetYammerActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerActivityUserDetailRequest + * + * @return the IReportRootGetYammerActivityUserDetailRequest instance + */ + public IReportRootGetYammerActivityUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerActivityUserDetailRequest instance + */ + public IReportRootGetYammerActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerActivityUserDetailRequest request = new ReportRootGetYammerActivityUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java index a5ff8c6ba04..39e243366f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Device Usage Distribution User Counts Request. */ -public class ReportRootGetYammerDeviceUsageDistributionUserCountsRequest extends BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest implements IReportRootGetYammerDeviceUsageDistributionUserCountsRequest { +public class ReportRootGetYammerDeviceUsageDistributionUserCountsRequest extends BaseRequest implements IReportRootGetYammerDeviceUsageDistributionUserCountsRequest { /** * The request for this ReportRootGetYammerDeviceUsageDistributionUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetYammerDeviceUsageDistributionUserCountsRequest extends * @param requestOptions the options for this request */ public ReportRootGetYammerDeviceUsageDistributionUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerDeviceUsageDistributionUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerDeviceUsageDistributionUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java index 9f1deff619c..6891d086324 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageDistributionUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Device Usage Distribution User Counts Request Builder. */ -public class ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder extends BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder implements IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder { +public class ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder { /** * The request builder for this ReportRootGetYammerDeviceUsageDistributionUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder * @param period the period */ public ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest + * + * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance + */ + public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance + */ + public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerDeviceUsageDistributionUserCountsRequest request = new ReportRootGetYammerDeviceUsageDistributionUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequest.java index 45ab7081eaa..f8b40513fe2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerDeviceUsageUserCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Device Usage User Counts Request. */ -public class ReportRootGetYammerDeviceUsageUserCountsRequest extends BaseReportRootGetYammerDeviceUsageUserCountsRequest implements IReportRootGetYammerDeviceUsageUserCountsRequest { +public class ReportRootGetYammerDeviceUsageUserCountsRequest extends BaseRequest implements IReportRootGetYammerDeviceUsageUserCountsRequest { /** * The request for this ReportRootGetYammerDeviceUsageUserCounts @@ -23,6 +31,88 @@ public class ReportRootGetYammerDeviceUsageUserCountsRequest extends BaseReportR * @param requestOptions the options for this request */ public ReportRootGetYammerDeviceUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerDeviceUsageUserCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerDeviceUsageUserCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerDeviceUsageUserCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerDeviceUsageUserCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerDeviceUsageUserCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerDeviceUsageUserCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java index a671eb7e260..c41ba536098 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Device Usage User Counts Request Builder. */ -public class ReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder implements IReportRootGetYammerDeviceUsageUserCountsRequestBuilder { +public class ReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerDeviceUsageUserCountsRequestBuilder { /** * The request builder for this ReportRootGetYammerDeviceUsageUserCounts @@ -24,6 +29,36 @@ public class ReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends Base * @param period the period */ public ReportRootGetYammerDeviceUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest + * + * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance + */ + public IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance + */ + public IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerDeviceUsageUserCountsRequest request = new ReportRootGetYammerDeviceUsageUserCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequest.java index 9f4b6c966a5..fa71b5841bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerDeviceUsageUserDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Device Usage User Detail Request. */ -public class ReportRootGetYammerDeviceUsageUserDetailRequest extends BaseReportRootGetYammerDeviceUsageUserDetailRequest implements IReportRootGetYammerDeviceUsageUserDetailRequest { +public class ReportRootGetYammerDeviceUsageUserDetailRequest extends BaseRequest implements IReportRootGetYammerDeviceUsageUserDetailRequest { /** * The request for this ReportRootGetYammerDeviceUsageUserDetail @@ -23,6 +31,88 @@ public class ReportRootGetYammerDeviceUsageUserDetailRequest extends BaseReportR * @param requestOptions the options for this request */ public ReportRootGetYammerDeviceUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerDeviceUsageUserDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerDeviceUsageUserDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerDeviceUsageUserDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerDeviceUsageUserDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerDeviceUsageUserDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerDeviceUsageUserDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java index 107a03c3db8..50d87822542 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Device Usage User Detail Request Builder. */ -public class ReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder implements IReportRootGetYammerDeviceUsageUserDetailRequestBuilder { +public class ReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerDeviceUsageUserDetailRequestBuilder { /** * The request builder for this ReportRootGetYammerDeviceUsageUserDetail @@ -24,9 +29,9 @@ public class ReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends Base * @param date the date */ public ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetYammerDeviceUsageUserDetail * @@ -36,6 +41,36 @@ public ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(final String reque * @param period the period */ public ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest + * + * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance + */ + public IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance + */ + public IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerDeviceUsageUserDetailRequest request = new ReportRootGetYammerDeviceUsageUserDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequest.java index 8aa480ead5a..635cad4e131 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerGroupsActivityCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Groups Activity Counts Request. */ -public class ReportRootGetYammerGroupsActivityCountsRequest extends BaseReportRootGetYammerGroupsActivityCountsRequest implements IReportRootGetYammerGroupsActivityCountsRequest { +public class ReportRootGetYammerGroupsActivityCountsRequest extends BaseRequest implements IReportRootGetYammerGroupsActivityCountsRequest { /** * The request for this ReportRootGetYammerGroupsActivityCounts @@ -23,6 +31,88 @@ public class ReportRootGetYammerGroupsActivityCountsRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetYammerGroupsActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerGroupsActivityCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerGroupsActivityCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerGroupsActivityCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerGroupsActivityCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerGroupsActivityCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerGroupsActivityCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequestBuilder.java index 4522167f85d..2de7a276f7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerGroupsActivityCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Groups Activity Counts Request Builder. */ -public class ReportRootGetYammerGroupsActivityCountsRequestBuilder extends BaseReportRootGetYammerGroupsActivityCountsRequestBuilder implements IReportRootGetYammerGroupsActivityCountsRequestBuilder { +public class ReportRootGetYammerGroupsActivityCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerGroupsActivityCountsRequestBuilder { /** * The request builder for this ReportRootGetYammerGroupsActivityCounts @@ -24,6 +29,36 @@ public class ReportRootGetYammerGroupsActivityCountsRequestBuilder extends BaseR * @param period the period */ public ReportRootGetYammerGroupsActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerGroupsActivityCountsRequest + * + * @return the IReportRootGetYammerGroupsActivityCountsRequest instance + */ + public IReportRootGetYammerGroupsActivityCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerGroupsActivityCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerGroupsActivityCountsRequest instance + */ + public IReportRootGetYammerGroupsActivityCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerGroupsActivityCountsRequest request = new ReportRootGetYammerGroupsActivityCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequest.java index 8b60fb16da1..b8030b26c05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerGroupsActivityDetailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Groups Activity Detail Request. */ -public class ReportRootGetYammerGroupsActivityDetailRequest extends BaseReportRootGetYammerGroupsActivityDetailRequest implements IReportRootGetYammerGroupsActivityDetailRequest { +public class ReportRootGetYammerGroupsActivityDetailRequest extends BaseRequest implements IReportRootGetYammerGroupsActivityDetailRequest { /** * The request for this ReportRootGetYammerGroupsActivityDetail @@ -23,6 +31,88 @@ public class ReportRootGetYammerGroupsActivityDetailRequest extends BaseReportRo * @param requestOptions the options for this request */ public ReportRootGetYammerGroupsActivityDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerGroupsActivityDetail + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerGroupsActivityDetail + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerGroupsActivityDetailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerGroupsActivityDetailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerGroupsActivityDetailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerGroupsActivityDetailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequestBuilder.java index 0ec3e940c63..a205adc8e6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityDetailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Groups Activity Detail Request Builder. */ -public class ReportRootGetYammerGroupsActivityDetailRequestBuilder extends BaseReportRootGetYammerGroupsActivityDetailRequestBuilder implements IReportRootGetYammerGroupsActivityDetailRequestBuilder { +public class ReportRootGetYammerGroupsActivityDetailRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerGroupsActivityDetailRequestBuilder { /** * The request builder for this ReportRootGetYammerGroupsActivityDetail @@ -24,9 +29,9 @@ public class ReportRootGetYammerGroupsActivityDetailRequestBuilder extends BaseR * @param date the date */ public ReportRootGetYammerGroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("date", date)); } - /** * The request builder for this ReportRootGetYammerGroupsActivityDetail * @@ -36,6 +41,36 @@ public ReportRootGetYammerGroupsActivityDetailRequestBuilder(final String reques * @param period the period */ public ReportRootGetYammerGroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerGroupsActivityDetailRequest + * + * @return the IReportRootGetYammerGroupsActivityDetailRequest instance + */ + public IReportRootGetYammerGroupsActivityDetailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerGroupsActivityDetailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerGroupsActivityDetailRequest instance + */ + public IReportRootGetYammerGroupsActivityDetailRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerGroupsActivityDetailRequest request = new ReportRootGetYammerGroupsActivityDetailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequest.java index ed862c510be..35174f45d11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityGroupCountsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerGroupsActivityGroupCountsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Groups Activity Group Counts Request. */ -public class ReportRootGetYammerGroupsActivityGroupCountsRequest extends BaseReportRootGetYammerGroupsActivityGroupCountsRequest implements IReportRootGetYammerGroupsActivityGroupCountsRequest { +public class ReportRootGetYammerGroupsActivityGroupCountsRequest extends BaseRequest implements IReportRootGetYammerGroupsActivityGroupCountsRequest { /** * The request for this ReportRootGetYammerGroupsActivityGroupCounts @@ -23,6 +31,88 @@ public class ReportRootGetYammerGroupsActivityGroupCountsRequest extends BaseRep * @param requestOptions the options for this request */ public ReportRootGetYammerGroupsActivityGroupCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Patches the ReportRootGetYammerGroupsActivityGroupCounts + * @param srcReport the Report with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Report srcReport, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcReport); + } + + /** + * Patches the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report with which to PATCH + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report patch(Report srcReport) throws ClientException { + return this.send(HttpMethod.PATCH, srcReport); + } + + /** + * Puts the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Report srcReport, final ICallback callback) { + send(HttpMethod.PUT, callback, srcReport); + } + + /** + * Puts the ReportRootGetYammerGroupsActivityGroupCounts + * + * @param srcReport the Report to PUT + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(Report srcReport) throws ClientException { + return this.send(HttpMethod.PUT, srcReport); + } + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootGetYammerGroupsActivityGroupCountsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootGetYammerGroupsActivityGroupCountsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootGetYammerGroupsActivityGroupCountsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootGetYammerGroupsActivityGroupCountsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java index 28e9569355f..64f941367c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityGroupCountsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Get Yammer Groups Activity Group Counts Request Builder. */ -public class ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder implements IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder { +public class ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder { /** * The request builder for this ReportRootGetYammerGroupsActivityGroupCounts @@ -24,6 +29,36 @@ public class ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends * @param period the period */ public ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest + * + * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance + */ + public IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance + */ + public IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions) { + ReportRootGetYammerGroupsActivityGroupCountsRequest request = new ReportRootGetYammerGroupsActivityGroupCountsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequest.java index 2e8b5bb68bc..ee1a0202c98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Managed Device Enrollment Failure Details Request. */ -public class ReportRootManagedDeviceEnrollmentFailureDetailsRequest extends BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest implements IReportRootManagedDeviceEnrollmentFailureDetailsRequest { +public class ReportRootManagedDeviceEnrollmentFailureDetailsRequest extends BaseRequest implements IReportRootManagedDeviceEnrollmentFailureDetailsRequest { /** * The request for this ReportRootManagedDeviceEnrollmentFailureDetails @@ -23,6 +31,48 @@ public class ReportRootManagedDeviceEnrollmentFailureDetailsRequest extends Base * @param requestOptions the options for this request */ public ReportRootManagedDeviceEnrollmentFailureDetailsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootManagedDeviceEnrollmentFailureDetailsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootManagedDeviceEnrollmentFailureDetailsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootManagedDeviceEnrollmentFailureDetailsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootManagedDeviceEnrollmentFailureDetailsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java index caeedd38386..fca330c4387 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Managed Device Enrollment Failure Details Request Builder. */ -public class ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder extends BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder implements IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder { +public class ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder { /** * The request builder for this ReportRootManagedDeviceEnrollmentFailureDetails @@ -25,7 +30,6 @@ public class ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder exten public ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this ReportRootManagedDeviceEnrollmentFailureDetails * @@ -38,6 +42,39 @@ public ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(final Strin * @param skipToken the skipToken */ public ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer skip, final Integer top, final String filter, final String skipToken) { - super(requestUrl, client, requestOptions, skip, top, filter, skipToken); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("skip", skip)); + functionOptions.add(new FunctionOption("top", top)); + functionOptions.add(new FunctionOption("filter", filter)); + functionOptions.add(new FunctionOption("skipToken", skipToken)); + } + + /** + * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest + * + * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance + */ + public IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance + */ + public IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest(final java.util.List requestOptions) { + ReportRootManagedDeviceEnrollmentFailureDetailsRequest request = new ReportRootManagedDeviceEnrollmentFailureDetailsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequest.java index 9320f050f02..abdbf3ac887 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Report; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootManagedDeviceEnrollmentTopFailuresRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Managed Device Enrollment Top Failures Request. */ -public class ReportRootManagedDeviceEnrollmentTopFailuresRequest extends BaseReportRootManagedDeviceEnrollmentTopFailuresRequest implements IReportRootManagedDeviceEnrollmentTopFailuresRequest { +public class ReportRootManagedDeviceEnrollmentTopFailuresRequest extends BaseRequest implements IReportRootManagedDeviceEnrollmentTopFailuresRequest { /** * The request for this ReportRootManagedDeviceEnrollmentTopFailures @@ -23,6 +31,48 @@ public class ReportRootManagedDeviceEnrollmentTopFailuresRequest extends BaseRep * @param requestOptions the options for this request */ public ReportRootManagedDeviceEnrollmentTopFailuresRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Report.class); } + + /** + * Gets the Report + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Report + * + * @return the Report + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootManagedDeviceEnrollmentTopFailuresRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootManagedDeviceEnrollmentTopFailuresRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootManagedDeviceEnrollmentTopFailuresRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootManagedDeviceEnrollmentTopFailuresRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java index 3cabc48521b..9ff54dc5ba4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Managed Device Enrollment Top Failures Request Builder. */ -public class ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder implements IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder { +public class ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends BaseFunctionRequestBuilder implements IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder { /** * The request builder for this ReportRootManagedDeviceEnrollmentTopFailures @@ -25,7 +30,6 @@ public class ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends public ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this ReportRootManagedDeviceEnrollmentTopFailures * @@ -35,6 +39,36 @@ public ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(final String r * @param period the period */ public ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions, period); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("period", period)); + } + + /** + * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest + * + * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance + */ + public IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance + */ + public IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest(final java.util.List requestOptions) { + ReportRootManagedDeviceEnrollmentTopFailuresRequest request = new ReportRootManagedDeviceEnrollmentTopFailuresRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequest.java index 160ebfb3ae8..398830f8d56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootRequest; +import com.microsoft.graph.requests.extensions.ReportRootRequest; +import com.microsoft.graph.models.extensions.ReportRoot; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ReportRoot; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Request. */ -public class ReportRootRequest extends BaseReportRootRequest implements IReportRootRequest { - +public class ReportRootRequest extends BaseRequest implements IReportRootRequest { + /** * The request for the ReportRoot * @@ -26,4 +32,107 @@ public class ReportRootRequest extends BaseReportRootRequest implements IReportR public ReportRootRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ReportRoot.class); } + + /** + * Gets the ReportRoot from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ReportRoot from the service + * + * @return the ReportRoot from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReportRoot get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ReportRoot with a source + * + * @param sourceReportRoot the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ReportRoot sourceReportRoot, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceReportRoot); + } + + /** + * Patches this ReportRoot with a source + * + * @param sourceReportRoot the source object with updates + * @return the updated ReportRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReportRoot patch(final ReportRoot sourceReportRoot) throws ClientException { + return send(HttpMethod.PATCH, sourceReportRoot); + } + + /** + * Creates a ReportRoot with a new object + * + * @param newReportRoot the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ReportRoot newReportRoot, final ICallback callback) { + send(HttpMethod.POST, callback, newReportRoot); + } + + /** + * Creates a ReportRoot with a new object + * + * @param newReportRoot the new object to create + * @return the created ReportRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReportRoot post(final ReportRoot newReportRoot) throws ClientException { + return send(HttpMethod.POST, newReportRoot); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IReportRootRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ReportRootRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IReportRootRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ReportRootRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequestBuilder.java index 0de3a1cef59..088213918d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequestBuilder.java @@ -3,17 +3,198 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportRootRequest; +import com.microsoft.graph.requests.extensions.ReportRootRequest; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ServicesUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageMailboxCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityPagesRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageFileCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageStorageRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsagePagesRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationUserActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationDeviceActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; +import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; +import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportRootRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Root Request Builder. */ -public class ReportRootRequestBuilder extends BaseReportRootRequestBuilder implements IReportRootRequestBuilder { +public class ReportRootRequestBuilder extends BaseRequestBuilder implements IReportRootRequestBuilder { /** * The request builder for the ReportRoot @@ -25,4 +206,382 @@ public class ReportRootRequestBuilder extends BaseReportRootRequestBuilder imple public ReportRootRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IReportRootRequest instance + */ + public IReportRootRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IReportRootRequest instance + */ + public IReportRootRequest buildRequest(final java.util.List requestOptions) { + return new ReportRootRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IReportRootGetOffice365ActivationsUserDetailRequestBuilder getOffice365ActivationsUserDetail() { + return new ReportRootGetOffice365ActivationsUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActivationsUserDetail"), getClient(), null); + } + + public IReportRootGetOffice365ActivationCountsRequestBuilder getOffice365ActivationCounts() { + return new ReportRootGetOffice365ActivationCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActivationCounts"), getClient(), null); + } + + public IReportRootGetOffice365ActivationsUserCountsRequestBuilder getOffice365ActivationsUserCounts() { + return new ReportRootGetOffice365ActivationsUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActivationsUserCounts"), getClient(), null); + } + + public IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetOffice365ActiveUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActiveUserDetail"), getClient(), null, date); + } + + public IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final String period) { + return new ReportRootGetOffice365ActiveUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActiveUserDetail"), getClient(), null, period); + } + + public IReportRootGetOffice365ServicesUserCountsRequestBuilder getOffice365ServicesUserCounts(final String period) { + return new ReportRootGetOffice365ServicesUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ServicesUserCounts"), getClient(), null, period); + } + + public IReportRootGetOffice365ActiveUserCountsRequestBuilder getOffice365ActiveUserCounts(final String period) { + return new ReportRootGetOffice365ActiveUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActiveUserCounts"), getClient(), null, period); + } + + public IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetOffice365GroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityDetail"), getClient(), null, date); + } + + public IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final String period) { + return new ReportRootGetOffice365GroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityDetail"), getClient(), null, period); + } + + public IReportRootGetOffice365GroupsActivityCountsRequestBuilder getOffice365GroupsActivityCounts(final String period) { + return new ReportRootGetOffice365GroupsActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityCounts"), getClient(), null, period); + } + + public IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder getOffice365GroupsActivityGroupCounts(final String period) { + return new ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityGroupCounts"), getClient(), null, period); + } + + public IReportRootGetOffice365GroupsActivityStorageRequestBuilder getOffice365GroupsActivityStorage(final String period) { + return new ReportRootGetOffice365GroupsActivityStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityStorage"), getClient(), null, period); + } + + public IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder getOffice365GroupsActivityFileCounts(final String period) { + return new ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityFileCounts"), getClient(), null, period); + } + + public IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetEmailActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityUserDetail"), getClient(), null, date); + } + + public IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final String period) { + return new ReportRootGetEmailActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityUserDetail"), getClient(), null, period); + } + + public IReportRootGetEmailActivityCountsRequestBuilder getEmailActivityCounts(final String period) { + return new ReportRootGetEmailActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityCounts"), getClient(), null, period); + } + + public IReportRootGetEmailActivityUserCountsRequestBuilder getEmailActivityUserCounts(final String period) { + return new ReportRootGetEmailActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetEmailAppUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageUserDetail"), getClient(), null, date); + } + + public IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final String period) { + return new ReportRootGetEmailAppUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageUserDetail"), getClient(), null, period); + } + + public IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder getEmailAppUsageAppsUserCounts(final String period) { + return new ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageAppsUserCounts"), getClient(), null, period); + } + + public IReportRootGetEmailAppUsageUserCountsRequestBuilder getEmailAppUsageUserCounts(final String period) { + return new ReportRootGetEmailAppUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageUserCounts"), getClient(), null, period); + } + + public IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder getEmailAppUsageVersionsUserCounts(final String period) { + return new ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageVersionsUserCounts"), getClient(), null, period); + } + + public IReportRootGetMailboxUsageDetailRequestBuilder getMailboxUsageDetail(final String period) { + return new ReportRootGetMailboxUsageDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageDetail"), getClient(), null, period); + } + + public IReportRootGetMailboxUsageMailboxCountsRequestBuilder getMailboxUsageMailboxCounts(final String period) { + return new ReportRootGetMailboxUsageMailboxCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageMailboxCounts"), getClient(), null, period); + } + + public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder getMailboxUsageQuotaStatusMailboxCounts(final String period) { + return new ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageQuotaStatusMailboxCounts"), getClient(), null, period); + } + + public IReportRootGetMailboxUsageStorageRequestBuilder getMailboxUsageStorage(final String period) { + return new ReportRootGetMailboxUsageStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageStorage"), getClient(), null, period); + } + + public IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetOneDriveActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityUserDetail"), getClient(), null, date); + } + + public IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final String period) { + return new ReportRootGetOneDriveActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityUserDetail"), getClient(), null, period); + } + + public IReportRootGetOneDriveActivityUserCountsRequestBuilder getOneDriveActivityUserCounts(final String period) { + return new ReportRootGetOneDriveActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetOneDriveActivityFileCountsRequestBuilder getOneDriveActivityFileCounts(final String period) { + return new ReportRootGetOneDriveActivityFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityFileCounts"), getClient(), null, period); + } + + public IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetOneDriveUsageAccountDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageAccountDetail"), getClient(), null, date); + } + + public IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final String period) { + return new ReportRootGetOneDriveUsageAccountDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageAccountDetail"), getClient(), null, period); + } + + public IReportRootGetOneDriveUsageAccountCountsRequestBuilder getOneDriveUsageAccountCounts(final String period) { + return new ReportRootGetOneDriveUsageAccountCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageAccountCounts"), getClient(), null, period); + } + + public IReportRootGetOneDriveUsageFileCountsRequestBuilder getOneDriveUsageFileCounts(final String period) { + return new ReportRootGetOneDriveUsageFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageFileCounts"), getClient(), null, period); + } + + public IReportRootGetOneDriveUsageStorageRequestBuilder getOneDriveUsageStorage(final String period) { + return new ReportRootGetOneDriveUsageStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageStorage"), getClient(), null, period); + } + + public IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetSharePointActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityUserDetail"), getClient(), null, date); + } + + public IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final String period) { + return new ReportRootGetSharePointActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityUserDetail"), getClient(), null, period); + } + + public IReportRootGetSharePointActivityFileCountsRequestBuilder getSharePointActivityFileCounts(final String period) { + return new ReportRootGetSharePointActivityFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityFileCounts"), getClient(), null, period); + } + + public IReportRootGetSharePointActivityUserCountsRequestBuilder getSharePointActivityUserCounts(final String period) { + return new ReportRootGetSharePointActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetSharePointActivityPagesRequestBuilder getSharePointActivityPages(final String period) { + return new ReportRootGetSharePointActivityPagesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityPages"), getClient(), null, period); + } + + public IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetSharePointSiteUsageDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageDetail"), getClient(), null, date); + } + + public IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final String period) { + return new ReportRootGetSharePointSiteUsageDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageDetail"), getClient(), null, period); + } + + public IReportRootGetSharePointSiteUsageFileCountsRequestBuilder getSharePointSiteUsageFileCounts(final String period) { + return new ReportRootGetSharePointSiteUsageFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageFileCounts"), getClient(), null, period); + } + + public IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder getSharePointSiteUsageSiteCounts(final String period) { + return new ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageSiteCounts"), getClient(), null, period); + } + + public IReportRootGetSharePointSiteUsageStorageRequestBuilder getSharePointSiteUsageStorage(final String period) { + return new ReportRootGetSharePointSiteUsageStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageStorage"), getClient(), null, period); + } + + public IReportRootGetSharePointSiteUsagePagesRequestBuilder getSharePointSiteUsagePages(final String period) { + return new ReportRootGetSharePointSiteUsagePagesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsagePages"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityUserDetail"), getClient(), null, date); + } + + public IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final String period) { + return new ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityUserDetail"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessActivityCountsRequestBuilder getSkypeForBusinessActivityCounts(final String period) { + return new ReportRootGetSkypeForBusinessActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder getSkypeForBusinessActivityUserCounts(final String period) { + return new ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityCounts(final String period) { + return new ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessPeerToPeerActivityCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityUserCounts(final String period) { + return new ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessPeerToPeerActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityMinuteCounts(final String period) { + return new ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessPeerToPeerActivityMinuteCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder getSkypeForBusinessOrganizerActivityCounts(final String period) { + return new ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessOrganizerActivityCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder getSkypeForBusinessOrganizerActivityUserCounts(final String period) { + return new ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessOrganizerActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder getSkypeForBusinessOrganizerActivityMinuteCounts(final String period) { + return new ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessOrganizerActivityMinuteCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder getSkypeForBusinessParticipantActivityCounts(final String period) { + return new ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessParticipantActivityCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder getSkypeForBusinessParticipantActivityUserCounts(final String period) { + return new ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessParticipantActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder getSkypeForBusinessParticipantActivityMinuteCounts(final String period) { + return new ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessParticipantActivityMinuteCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageUserDetail"), getClient(), null, date); + } + + public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final String period) { + return new ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageUserDetail"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder getSkypeForBusinessDeviceUsageDistributionUserCounts(final String period) { + return new ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageDistributionUserCounts"), getClient(), null, period); + } + + public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder getSkypeForBusinessDeviceUsageUserCounts(final String period) { + return new ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageUserCounts"), getClient(), null, period); + } + + public IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetYammerActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityUserDetail"), getClient(), null, date); + } + + public IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final String period) { + return new ReportRootGetYammerActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityUserDetail"), getClient(), null, period); + } + + public IReportRootGetYammerActivityCountsRequestBuilder getYammerActivityCounts(final String period) { + return new ReportRootGetYammerActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityCounts"), getClient(), null, period); + } + + public IReportRootGetYammerActivityUserCountsRequestBuilder getYammerActivityUserCounts(final String period) { + return new ReportRootGetYammerActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageUserDetail"), getClient(), null, date); + } + + public IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final String period) { + return new ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageUserDetail"), getClient(), null, period); + } + + public IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder getYammerDeviceUsageDistributionUserCounts(final String period) { + return new ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageDistributionUserCounts"), getClient(), null, period); + } + + public IReportRootGetYammerDeviceUsageUserCountsRequestBuilder getYammerDeviceUsageUserCounts(final String period) { + return new ReportRootGetYammerDeviceUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageUserCounts"), getClient(), null, period); + } + + public IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetYammerGroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityDetail"), getClient(), null, date); + } + + public IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final String period) { + return new ReportRootGetYammerGroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityDetail"), getClient(), null, period); + } + + public IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder getYammerGroupsActivityGroupCounts(final String period) { + return new ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityGroupCounts"), getClient(), null, period); + } + + public IReportRootGetYammerGroupsActivityCountsRequestBuilder getYammerGroupsActivityCounts(final String period) { + return new ReportRootGetYammerGroupsActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityCounts"), getClient(), null, period); + } + + public IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetTeamsUserActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityUserDetail"), getClient(), null, date); + } + + public IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final String period) { + return new ReportRootGetTeamsUserActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityUserDetail"), getClient(), null, period); + } + + public IReportRootGetTeamsUserActivityCountsRequestBuilder getTeamsUserActivityCounts(final String period) { + return new ReportRootGetTeamsUserActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityCounts"), getClient(), null, period); + } + + public IReportRootGetTeamsUserActivityUserCountsRequestBuilder getTeamsUserActivityUserCounts(final String period) { + return new ReportRootGetTeamsUserActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityUserCounts"), getClient(), null, period); + } + + public IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { + return new ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageUserDetail"), getClient(), null, date); + } + + public IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final String period) { + return new ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageUserDetail"), getClient(), null, period); + } + + public IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder getTeamsDeviceUsageUserCounts(final String period) { + return new ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageUserCounts"), getClient(), null, period); + } + + public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder getTeamsDeviceUsageDistributionUserCounts(final String period) { + return new ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageDistributionUserCounts"), getClient(), null, period); + } + + public IReportRootDeviceConfigurationUserActivityRequestBuilder deviceConfigurationUserActivity() { + return new ReportRootDeviceConfigurationUserActivityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deviceConfigurationUserActivity"), getClient(), null); + } + + public IReportRootDeviceConfigurationDeviceActivityRequestBuilder deviceConfigurationDeviceActivity() { + return new ReportRootDeviceConfigurationDeviceActivityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deviceConfigurationDeviceActivity"), getClient(), null); + } + + public IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails() { + return new ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentFailureDetails"), getClient(), null); + } + + public IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails(final Integer skip, final Integer top, final String filter, final String skipToken) { + return new ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentFailureDetails"), getClient(), null, skip, top, filter, skipToken); + } + + public IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures() { + return new ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentTopFailures"), getClient(), null); + } + + public IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures(final String period) { + return new ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentTopFailures"), getClient(), null, period); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequest.java index bcb267ccec8..40a66f1958f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Stream Request. */ -public class ReportStreamRequest extends BaseReportStreamRequest implements IReportStreamRequest { +public class ReportStreamRequest extends BaseStreamRequest implements IReportStreamRequest { /** * The request for the ReportStream @@ -26,4 +35,44 @@ public class ReportStreamRequest extends BaseReportStreamRequest implements IRep public ReportStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Report.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Report put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequestBuilder.java index 6c138e9b4ad..38c05a5d628 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportStreamRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IReportStreamRequest; +import com.microsoft.graph.requests.extensions.ReportStreamRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseReportStreamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Report Stream Request Builder. */ -public class ReportStreamRequestBuilder extends BaseReportStreamRequestBuilder implements IReportStreamRequestBuilder { +public class ReportStreamRequestBuilder extends BaseRequestBuilder implements IReportStreamRequestBuilder { /** * The request builder for the ReportStream @@ -25,4 +28,26 @@ public class ReportStreamRequestBuilder extends BaseReportStreamRequestBuilder i public ReportStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IReportStreamRequest instance + */ + public IReportStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IReportStreamRequest instance + */ + public IReportStreamRequest buildRequest(final java.util.List requestOptions) { + return new ReportStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionPage.java index 7bb9fde0a81..8faeb1891d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ResourceOperation; +import com.microsoft.graph.requests.extensions.IResourceOperationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseResourceOperationCollectionPage; -import com.microsoft.graph.requests.generated.BaseResourceOperationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Operation Collection Page. */ -public class ResourceOperationCollectionPage extends BaseResourceOperationCollectionPage implements IResourceOperationCollectionPage { +public class ResourceOperationCollectionPage extends BaseCollectionPage implements IResourceOperationCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for ResourceOperation * - * @param response the serialized BaseResourceOperationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ResourceOperationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ResourceOperationCollectionPage(final BaseResourceOperationCollectionResponse response, final IResourceOperationCollectionRequestBuilder builder) { - super(response, builder); + public ResourceOperationCollectionPage(final ResourceOperationCollectionResponse response, final IResourceOperationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequest.java index 848bbd8b2ff..72addf563d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseResourceOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Operation Collection Request. */ -public class ResourceOperationCollectionRequest extends BaseResourceOperationCollectionRequest implements IResourceOperationCollectionRequest { +public class ResourceOperationCollectionRequest extends BaseCollectionRequest implements IResourceOperationCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of ResourceOperation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ResourceOperationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ResourceOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ResourceOperationCollectionResponse.class, IResourceOperationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IResourceOperationCollectionPage get() throws ClientException { + final ResourceOperationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ResourceOperation newResourceOperation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ResourceOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newResourceOperation, callback); + } + + public ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ResourceOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newResourceOperation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IResourceOperationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ResourceOperationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IResourceOperationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ResourceOperationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IResourceOperationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ResourceOperationCollectionRequest)this; + } + + public IResourceOperationCollectionPage buildFromResponse(final ResourceOperationCollectionResponse response) { + final IResourceOperationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ResourceOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ResourceOperationCollectionPage page = new ResourceOperationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequestBuilder.java index 10af4d723f6..c842102d876 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseResourceOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Operation Collection Request Builder. */ -public class ResourceOperationCollectionRequestBuilder extends BaseResourceOperationCollectionRequestBuilder implements IResourceOperationCollectionRequestBuilder { +public class ResourceOperationCollectionRequestBuilder extends BaseRequestBuilder implements IResourceOperationCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class ResourceOperationCollectionRequestBuilder extends BaseResourceOpera public ResourceOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IResourceOperationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IResourceOperationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ResourceOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IResourceOperationRequestBuilder byId(final String id) { + return new ResourceOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionResponse.java new file mode 100644 index 00000000000..af308c5fabd --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ResourceOperation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Resource Operation Collection Response. + */ +public class ResourceOperationCollectionResponse implements IJsonBackedObject { + + /** + * The list of ResourceOperation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequest.java index 7674b0cdc81..7b9b831153a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IResourceOperationRequest; +import com.microsoft.graph.requests.extensions.ResourceOperationRequest; +import com.microsoft.graph.models.extensions.ResourceOperation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ResourceOperation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseResourceOperationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Operation Request. */ -public class ResourceOperationRequest extends BaseResourceOperationRequest implements IResourceOperationRequest { - +public class ResourceOperationRequest extends BaseRequest implements IResourceOperationRequest { + /** * The request for the ResourceOperation * @@ -26,4 +32,107 @@ public class ResourceOperationRequest extends BaseResourceOperationRequest imple public ResourceOperationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ResourceOperation.class); } + + /** + * Gets the ResourceOperation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ResourceOperation from the service + * + * @return the ResourceOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ResourceOperation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ResourceOperation with a source + * + * @param sourceResourceOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ResourceOperation sourceResourceOperation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceResourceOperation); + } + + /** + * Patches this ResourceOperation with a source + * + * @param sourceResourceOperation the source object with updates + * @return the updated ResourceOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ResourceOperation patch(final ResourceOperation sourceResourceOperation) throws ClientException { + return send(HttpMethod.PATCH, sourceResourceOperation); + } + + /** + * Creates a ResourceOperation with a new object + * + * @param newResourceOperation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ResourceOperation newResourceOperation, final ICallback callback) { + send(HttpMethod.POST, callback, newResourceOperation); + } + + /** + * Creates a ResourceOperation with a new object + * + * @param newResourceOperation the new object to create + * @return the created ResourceOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException { + return send(HttpMethod.POST, newResourceOperation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IResourceOperationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ResourceOperationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IResourceOperationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ResourceOperationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequestBuilder.java index 5bf61d7c5f3..7f27a164fe2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IResourceOperationRequest; +import com.microsoft.graph.requests.extensions.ResourceOperationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseResourceOperationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Resource Operation Request Builder. */ -public class ResourceOperationRequestBuilder extends BaseResourceOperationRequestBuilder implements IResourceOperationRequestBuilder { +public class ResourceOperationRequestBuilder extends BaseRequestBuilder implements IResourceOperationRequestBuilder { /** * The request builder for the ResourceOperation @@ -25,4 +28,26 @@ public class ResourceOperationRequestBuilder extends BaseResourceOperationReques public ResourceOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IResourceOperationRequest instance + */ + public IResourceOperationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IResourceOperationRequest instance + */ + public IResourceOperationRequest buildRequest(final java.util.List requestOptions) { + return new ResourceOperationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionPage.java index e310e4efdab..07a0c6b2978 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RoleAssignment; +import com.microsoft.graph.requests.extensions.IRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Assignment Collection Page. */ -public class RoleAssignmentCollectionPage extends BaseRoleAssignmentCollectionPage implements IRoleAssignmentCollectionPage { +public class RoleAssignmentCollectionPage extends BaseCollectionPage implements IRoleAssignmentCollectionPage { /** - * A collection page for RoleDefinition. + * A collection page for RoleAssignment * - * @param response the serialized BaseRoleAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized RoleAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public RoleAssignmentCollectionPage(final BaseRoleAssignmentCollectionResponse response, final IRoleAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public RoleAssignmentCollectionPage(final RoleAssignmentCollectionResponse response, final IRoleAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequest.java index 0fb629edfea..ce9b695c5c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Assignment Collection Request. */ -public class RoleAssignmentCollectionRequest extends BaseRoleAssignmentCollectionRequest implements IRoleAssignmentCollectionRequest { +public class RoleAssignmentCollectionRequest extends BaseCollectionRequest implements IRoleAssignmentCollectionRequest { /** - * The request for this collection of RoleDefinition + * The request builder for this collection of RoleAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public RoleAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public RoleAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RoleAssignmentCollectionResponse.class, IRoleAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IRoleAssignmentCollectionPage get() throws ClientException { + final RoleAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final RoleAssignment newRoleAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new RoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newRoleAssignment, callback); + } + + public RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new RoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newRoleAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRoleAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (RoleAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRoleAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (RoleAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IRoleAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (RoleAssignmentCollectionRequest)this; + } + + public IRoleAssignmentCollectionPage buildFromResponse(final RoleAssignmentCollectionResponse response) { + final IRoleAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new RoleAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final RoleAssignmentCollectionPage page = new RoleAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequestBuilder.java index bbe9d36e348..c5606e7dc07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Assignment Collection Request Builder. */ -public class RoleAssignmentCollectionRequestBuilder extends BaseRoleAssignmentCollectionRequestBuilder implements IRoleAssignmentCollectionRequestBuilder { +public class RoleAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IRoleAssignmentCollectionRequestBuilder { /** * The request builder for this collection of RoleDefinition @@ -25,4 +33,18 @@ public class RoleAssignmentCollectionRequestBuilder extends BaseRoleAssignmentCo public RoleAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IRoleAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new RoleAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IRoleAssignmentRequestBuilder byId(final String id) { + return new RoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionResponse.java new file mode 100644 index 00000000000..36c49afe944 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RoleAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Role Assignment Collection Response. + */ +public class RoleAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of RoleAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequest.java index d324aff1169..e82bb8f0983 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRoleAssignmentRequest; +import com.microsoft.graph.requests.extensions.RoleAssignmentRequest; +import com.microsoft.graph.models.extensions.RoleAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.RoleAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Assignment Request. */ -public class RoleAssignmentRequest extends BaseRoleAssignmentRequest implements IRoleAssignmentRequest { - +public class RoleAssignmentRequest extends BaseRequest implements IRoleAssignmentRequest { + /** * The request for the RoleAssignment * @@ -41,4 +47,107 @@ public RoleAssignmentRequest(final String requestUrl, public RoleAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, RoleAssignment.class); } + + /** + * Gets the RoleAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the RoleAssignment from the service + * + * @return the RoleAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this RoleAssignment with a source + * + * @param sourceRoleAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final RoleAssignment sourceRoleAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceRoleAssignment); + } + + /** + * Patches this RoleAssignment with a source + * + * @param sourceRoleAssignment the source object with updates + * @return the updated RoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleAssignment patch(final RoleAssignment sourceRoleAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceRoleAssignment); + } + + /** + * Creates a RoleAssignment with a new object + * + * @param newRoleAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final RoleAssignment newRoleAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newRoleAssignment); + } + + /** + * Creates a RoleAssignment with a new object + * + * @param newRoleAssignment the new object to create + * @return the created RoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException { + return send(HttpMethod.POST, newRoleAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRoleAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (RoleAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRoleAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (RoleAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequestBuilder.java index 06bed359232..075b47fb39a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRoleAssignmentRequest; +import com.microsoft.graph.requests.extensions.RoleAssignmentRequest; +import com.microsoft.graph.requests.extensions.IRoleDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.RoleDefinitionWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Assignment Request Builder. */ -public class RoleAssignmentRequestBuilder extends BaseRoleAssignmentRequestBuilder implements IRoleAssignmentRequestBuilder { +public class RoleAssignmentRequestBuilder extends BaseRequestBuilder implements IRoleAssignmentRequestBuilder { /** * The request builder for the RoleAssignment @@ -25,4 +30,35 @@ public class RoleAssignmentRequestBuilder extends BaseRoleAssignmentRequestBuild public RoleAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IRoleAssignmentRequest instance + */ + public IRoleAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IRoleAssignmentRequest instance + */ + public IRoleAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new RoleAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for RoleDefinition + * + * @return the IRoleDefinitionWithReferenceRequestBuilder instance + */ + public IRoleDefinitionWithReferenceRequestBuilder roleDefinition() { + return new RoleDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("roleDefinition"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionPage.java index a109f9381e0..7aa271d4e79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RoleDefinition; +import com.microsoft.graph.requests.extensions.IRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionCollectionPage; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Collection Page. */ -public class RoleDefinitionCollectionPage extends BaseRoleDefinitionCollectionPage implements IRoleDefinitionCollectionPage { +public class RoleDefinitionCollectionPage extends BaseCollectionPage implements IRoleDefinitionCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for RoleDefinition * - * @param response the serialized BaseRoleDefinitionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized RoleDefinitionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public RoleDefinitionCollectionPage(final BaseRoleDefinitionCollectionResponse response, final IRoleDefinitionCollectionRequestBuilder builder) { - super(response, builder); + public RoleDefinitionCollectionPage(final RoleDefinitionCollectionResponse response, final IRoleDefinitionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequest.java index 27bbb1d4e60..1d8594db616 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Collection Request. */ -public class RoleDefinitionCollectionRequest extends BaseRoleDefinitionCollectionRequest implements IRoleDefinitionCollectionRequest { +public class RoleDefinitionCollectionRequest extends BaseCollectionRequest implements IRoleDefinitionCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of RoleDefinition * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public RoleDefinitionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public RoleDefinitionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RoleDefinitionCollectionResponse.class, IRoleDefinitionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IRoleDefinitionCollectionPage get() throws ClientException { + final RoleDefinitionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final RoleDefinition newRoleDefinition, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new RoleDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newRoleDefinition, callback); + } + + public RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new RoleDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newRoleDefinition); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRoleDefinitionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (RoleDefinitionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRoleDefinitionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (RoleDefinitionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IRoleDefinitionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (RoleDefinitionCollectionRequest)this; + } + + public IRoleDefinitionCollectionPage buildFromResponse(final RoleDefinitionCollectionResponse response) { + final IRoleDefinitionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new RoleDefinitionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final RoleDefinitionCollectionPage page = new RoleDefinitionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequestBuilder.java index a842de9bf03..99b41f0fc3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Collection Request Builder. */ -public class RoleDefinitionCollectionRequestBuilder extends BaseRoleDefinitionCollectionRequestBuilder implements IRoleDefinitionCollectionRequestBuilder { +public class RoleDefinitionCollectionRequestBuilder extends BaseRequestBuilder implements IRoleDefinitionCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class RoleDefinitionCollectionRequestBuilder extends BaseRoleDefinitionCo public RoleDefinitionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IRoleDefinitionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IRoleDefinitionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new RoleDefinitionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IRoleDefinitionRequestBuilder byId(final String id) { + return new RoleDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionResponse.java new file mode 100644 index 00000000000..0794765c803 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.RoleDefinition; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Role Definition Collection Response. + */ +public class RoleDefinitionCollectionResponse implements IJsonBackedObject { + + /** + * The list of RoleDefinition within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequest.java index 88b4c86d19f..faca77d2999 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Reference Request. */ -public class RoleDefinitionReferenceRequest extends BaseRoleDefinitionReferenceRequest implements IRoleDefinitionReferenceRequest { +public class RoleDefinitionReferenceRequest extends BaseRequest implements IRoleDefinitionReferenceRequest { /** * The request for the RoleDefinition @@ -22,7 +30,57 @@ public class RoleDefinitionReferenceRequest extends BaseRoleDefinitionReferenceR * @param client the service client * @param requestOptions the options for this request */ - public RoleDefinitionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public RoleDefinitionReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RoleDefinition.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public RoleDefinition delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRoleDefinitionReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (RoleDefinitionReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRoleDefinitionReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (RoleDefinitionReferenceRequest)this; + } + /** + * Puts the RoleDefinition + * + * @param srcRoleDefinition the RoleDefinition reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(RoleDefinition srcRoleDefinition, final ICallback callback) { + send(HttpMethod.PUT, callback, srcRoleDefinition); + } + + /** + * Puts the RoleDefinition + * + * @param srcRoleDefinition the RoleDefinition reference to PUT + * @return the RoleDefinition + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public RoleDefinition put(RoleDefinition srcRoleDefinition) throws ClientException { + return send(HttpMethod.PUT, srcRoleDefinition); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequestBuilder.java index 76c8049c59c..df7ab1fbe9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Reference Request Builder. */ -public class RoleDefinitionReferenceRequestBuilder extends BaseRoleDefinitionReferenceRequestBuilder implements IRoleDefinitionReferenceRequestBuilder { +public class RoleDefinitionReferenceRequestBuilder extends BaseRequestBuilder implements IRoleDefinitionReferenceRequestBuilder { /** * The request builder for the RoleDefinition @@ -25,4 +34,23 @@ public class RoleDefinitionReferenceRequestBuilder extends BaseRoleDefinitionRef public RoleDefinitionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IRoleDefinitionReferenceRequest instance + */ + public IRoleDefinitionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IRoleDefinitionReferenceRequest instance + */ + public IRoleDefinitionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new RoleDefinitionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequest.java index 1108e6a9596..a7683024448 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRoleDefinitionRequest; +import com.microsoft.graph.requests.extensions.RoleDefinitionRequest; +import com.microsoft.graph.models.extensions.RoleDefinition; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.RoleDefinition; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Request. */ -public class RoleDefinitionRequest extends BaseRoleDefinitionRequest implements IRoleDefinitionRequest { - +public class RoleDefinitionRequest extends BaseRequest implements IRoleDefinitionRequest { + /** * The request for the RoleDefinition * @@ -41,4 +47,107 @@ public RoleDefinitionRequest(final String requestUrl, public RoleDefinitionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, RoleDefinition.class); } + + /** + * Gets the RoleDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the RoleDefinition from the service + * + * @return the RoleDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleDefinition get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this RoleDefinition with a source + * + * @param sourceRoleDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceRoleDefinition); + } + + /** + * Patches this RoleDefinition with a source + * + * @param sourceRoleDefinition the source object with updates + * @return the updated RoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException { + return send(HttpMethod.PATCH, sourceRoleDefinition); + } + + /** + * Creates a RoleDefinition with a new object + * + * @param newRoleDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final RoleDefinition newRoleDefinition, final ICallback callback) { + send(HttpMethod.POST, callback, newRoleDefinition); + } + + /** + * Creates a RoleDefinition with a new object + * + * @param newRoleDefinition the new object to create + * @return the created RoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException { + return send(HttpMethod.POST, newRoleDefinition); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRoleDefinitionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (RoleDefinitionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRoleDefinitionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (RoleDefinitionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequestBuilder.java index 8174d773d33..2c470202a3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IRoleDefinitionRequest; +import com.microsoft.graph.requests.extensions.RoleDefinitionRequest; +import com.microsoft.graph.requests.extensions.IRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.RoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.RoleAssignmentRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition Request Builder. */ -public class RoleDefinitionRequestBuilder extends BaseRoleDefinitionRequestBuilder implements IRoleDefinitionRequestBuilder { +public class RoleDefinitionRequestBuilder extends BaseRequestBuilder implements IRoleDefinitionRequestBuilder { /** * The request builder for the RoleDefinition @@ -25,4 +32,33 @@ public class RoleDefinitionRequestBuilder extends BaseRoleDefinitionRequestBuild public RoleDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IRoleDefinitionRequest instance + */ + public IRoleDefinitionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IRoleDefinitionRequest instance + */ + public IRoleDefinitionRequest buildRequest(final java.util.List requestOptions) { + return new RoleDefinitionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IRoleAssignmentCollectionRequestBuilder roleAssignments() { + return new RoleAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments"), getClient(), null); + } + + public IRoleAssignmentRequestBuilder roleAssignments(final String id) { + return new RoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequest.java index a5b6da61401..50559d4f6d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition With Reference Request. */ -public class RoleDefinitionWithReferenceRequest extends BaseRoleDefinitionWithReferenceRequest implements IRoleDefinitionWithReferenceRequest { +public class RoleDefinitionWithReferenceRequest extends BaseRequest implements IRoleDefinitionWithReferenceRequest { /** * The request for the RoleDefinition @@ -22,7 +30,66 @@ public class RoleDefinitionWithReferenceRequest extends BaseRoleDefinitionWithRe * @param client the service client * @param requestOptions the options for this request */ - public RoleDefinitionWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public RoleDefinitionWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RoleDefinition.class); + } + + public void post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public RoleDefinition post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newRoleDefinition; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public RoleDefinition get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceRoleDefinition); + } + + public RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException { + return send(HttpMethod.PATCH, sourceRoleDefinition); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IRoleDefinitionWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IRoleDefinitionWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IRoleDefinitionWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (RoleDefinitionWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequestBuilder.java index 1c62314db7e..862c48295f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseRoleDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Role Definition With Reference Request Builder. */ -public class RoleDefinitionWithReferenceRequestBuilder extends BaseRoleDefinitionWithReferenceRequestBuilder implements IRoleDefinitionWithReferenceRequestBuilder { +public class RoleDefinitionWithReferenceRequestBuilder extends BaseRequestBuilder implements IRoleDefinitionWithReferenceRequestBuilder { /** * The request builder for the RoleDefinition @@ -25,4 +33,28 @@ public class RoleDefinitionWithReferenceRequestBuilder extends BaseRoleDefinitio public RoleDefinitionWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IRoleDefinitionWithReferenceRequest instance + */ + public IRoleDefinitionWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IRoleDefinitionWithReferenceRequest instance + */ + public IRoleDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new RoleDefinitionWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IRoleDefinitionReferenceRequestBuilder reference(){ + return new RoleDefinitionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionPage.java index f49ec5cd2fe..d68755ba27f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SchemaExtension; +import com.microsoft.graph.requests.extensions.ISchemaExtensionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSchemaExtensionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSchemaExtensionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Schema Extension Collection Page. */ -public class SchemaExtensionCollectionPage extends BaseSchemaExtensionCollectionPage implements ISchemaExtensionCollectionPage { +public class SchemaExtensionCollectionPage extends BaseCollectionPage implements ISchemaExtensionCollectionPage { /** - * A collection page for SchemaExtension. + * A collection page for SchemaExtension * - * @param response the serialized BaseSchemaExtensionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SchemaExtensionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SchemaExtensionCollectionPage(final BaseSchemaExtensionCollectionResponse response, final ISchemaExtensionCollectionRequestBuilder builder) { - super(response, builder); + public SchemaExtensionCollectionPage(final SchemaExtensionCollectionResponse response, final ISchemaExtensionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequest.java index 15bb784fbd4..6d88a42d536 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSchemaExtensionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Schema Extension Collection Request. */ -public class SchemaExtensionCollectionRequest extends BaseSchemaExtensionCollectionRequest implements ISchemaExtensionCollectionRequest { +public class SchemaExtensionCollectionRequest extends BaseCollectionRequest implements ISchemaExtensionCollectionRequest { /** - * The request for this collection of SchemaExtension + * The request builder for this collection of SchemaExtension * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SchemaExtensionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SchemaExtensionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SchemaExtensionCollectionResponse.class, ISchemaExtensionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISchemaExtensionCollectionPage get() throws ClientException { + final SchemaExtensionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SchemaExtension newSchemaExtension, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SchemaExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSchemaExtension, callback); + } + + public SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SchemaExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSchemaExtension); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISchemaExtensionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SchemaExtensionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISchemaExtensionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SchemaExtensionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISchemaExtensionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SchemaExtensionCollectionRequest)this; + } + + public ISchemaExtensionCollectionPage buildFromResponse(final SchemaExtensionCollectionResponse response) { + final ISchemaExtensionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SchemaExtensionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SchemaExtensionCollectionPage page = new SchemaExtensionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequestBuilder.java index b95adf8fe89..9cd1ea2068a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSchemaExtensionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Schema Extension Collection Request Builder. */ -public class SchemaExtensionCollectionRequestBuilder extends BaseSchemaExtensionCollectionRequestBuilder implements ISchemaExtensionCollectionRequestBuilder { +public class SchemaExtensionCollectionRequestBuilder extends BaseRequestBuilder implements ISchemaExtensionCollectionRequestBuilder { /** * The request builder for this collection of SchemaExtension @@ -25,4 +33,18 @@ public class SchemaExtensionCollectionRequestBuilder extends BaseSchemaExtension public SchemaExtensionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISchemaExtensionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISchemaExtensionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SchemaExtensionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISchemaExtensionRequestBuilder byId(final String id) { + return new SchemaExtensionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionResponse.java new file mode 100644 index 00000000000..5ee176dcef7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SchemaExtension; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Schema Extension Collection Response. + */ +public class SchemaExtensionCollectionResponse implements IJsonBackedObject { + + /** + * The list of SchemaExtension within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequest.java index ca08a34b389..3b26579b9d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISchemaExtensionRequest; +import com.microsoft.graph.requests.extensions.SchemaExtensionRequest; +import com.microsoft.graph.models.extensions.SchemaExtension; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SchemaExtension; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSchemaExtensionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Schema Extension Request. */ -public class SchemaExtensionRequest extends BaseSchemaExtensionRequest implements ISchemaExtensionRequest { - +public class SchemaExtensionRequest extends BaseRequest implements ISchemaExtensionRequest { + /** * The request for the SchemaExtension * @@ -26,4 +32,107 @@ public class SchemaExtensionRequest extends BaseSchemaExtensionRequest implement public SchemaExtensionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SchemaExtension.class); } + + /** + * Gets the SchemaExtension from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SchemaExtension from the service + * + * @return the SchemaExtension from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SchemaExtension get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SchemaExtension with a source + * + * @param sourceSchemaExtension the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SchemaExtension sourceSchemaExtension, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSchemaExtension); + } + + /** + * Patches this SchemaExtension with a source + * + * @param sourceSchemaExtension the source object with updates + * @return the updated SchemaExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SchemaExtension patch(final SchemaExtension sourceSchemaExtension) throws ClientException { + return send(HttpMethod.PATCH, sourceSchemaExtension); + } + + /** + * Creates a SchemaExtension with a new object + * + * @param newSchemaExtension the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SchemaExtension newSchemaExtension, final ICallback callback) { + send(HttpMethod.POST, callback, newSchemaExtension); + } + + /** + * Creates a SchemaExtension with a new object + * + * @param newSchemaExtension the new object to create + * @return the created SchemaExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException { + return send(HttpMethod.POST, newSchemaExtension); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISchemaExtensionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SchemaExtensionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISchemaExtensionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SchemaExtensionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequestBuilder.java index 04877cb5aa2..94d7cb8fd67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISchemaExtensionRequest; +import com.microsoft.graph.requests.extensions.SchemaExtensionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSchemaExtensionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Schema Extension Request Builder. */ -public class SchemaExtensionRequestBuilder extends BaseSchemaExtensionRequestBuilder implements ISchemaExtensionRequestBuilder { +public class SchemaExtensionRequestBuilder extends BaseRequestBuilder implements ISchemaExtensionRequestBuilder { /** * The request builder for the SchemaExtension @@ -25,4 +28,26 @@ public class SchemaExtensionRequestBuilder extends BaseSchemaExtensionRequestBui public SchemaExtensionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISchemaExtensionRequest instance + */ + public ISchemaExtensionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISchemaExtensionRequest instance + */ + public ISchemaExtensionRequest buildRequest(final java.util.List requestOptions) { + return new SchemaExtensionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionPage.java index 75317608de3..df6493c8a7c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionPage; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Group Collection Page. */ -public class SectionGroupCollectionPage extends BaseSectionGroupCollectionPage implements ISectionGroupCollectionPage { +public class SectionGroupCollectionPage extends BaseCollectionPage implements ISectionGroupCollectionPage { /** - * A collection page for SectionGroup. + * A collection page for SectionGroup * - * @param response the serialized BaseSectionGroupCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SectionGroupCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SectionGroupCollectionPage(final BaseSectionGroupCollectionResponse response, final ISectionGroupCollectionRequestBuilder builder) { - super(response, builder); + public SectionGroupCollectionPage(final SectionGroupCollectionResponse response, final ISectionGroupCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequest.java index 312a09270b3..2ee3469a830 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Group Collection Request. */ -public class SectionGroupCollectionRequest extends BaseSectionGroupCollectionRequest implements ISectionGroupCollectionRequest { +public class SectionGroupCollectionRequest extends BaseCollectionRequest implements ISectionGroupCollectionRequest { /** - * The request for this collection of SectionGroup + * The request builder for this collection of SectionGroup * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SectionGroupCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SectionGroupCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SectionGroupCollectionResponse.class, ISectionGroupCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISectionGroupCollectionPage get() throws ClientException { + final SectionGroupCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SectionGroup newSectionGroup, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SectionGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSectionGroup, callback); + } + + public SectionGroup post(final SectionGroup newSectionGroup) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SectionGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSectionGroup); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISectionGroupCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SectionGroupCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISectionGroupCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SectionGroupCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISectionGroupCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SectionGroupCollectionRequest)this; + } + + public ISectionGroupCollectionPage buildFromResponse(final SectionGroupCollectionResponse response) { + final ISectionGroupCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SectionGroupCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SectionGroupCollectionPage page = new SectionGroupCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequestBuilder.java index 77b571bc917..a82fe5288c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSectionGroupCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Group Collection Request Builder. */ -public class SectionGroupCollectionRequestBuilder extends BaseSectionGroupCollectionRequestBuilder implements ISectionGroupCollectionRequestBuilder { +public class SectionGroupCollectionRequestBuilder extends BaseRequestBuilder implements ISectionGroupCollectionRequestBuilder { /** * The request builder for this collection of SectionGroup @@ -25,4 +33,18 @@ public class SectionGroupCollectionRequestBuilder extends BaseSectionGroupCollec public SectionGroupCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISectionGroupCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISectionGroupCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SectionGroupCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISectionGroupRequestBuilder byId(final String id) { + return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionResponse.java new file mode 100644 index 00000000000..39bd4b94498 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SectionGroup; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Section Group Collection Response. + */ +public class SectionGroupCollectionResponse implements IJsonBackedObject { + + /** + * The list of SectionGroup within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequest.java index 8dacf1ce05a..6782e65c01c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISectionGroupRequest; +import com.microsoft.graph.requests.extensions.SectionGroupRequest; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSectionGroupRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Group Request. */ -public class SectionGroupRequest extends BaseSectionGroupRequest implements ISectionGroupRequest { - +public class SectionGroupRequest extends BaseRequest implements ISectionGroupRequest { + /** * The request for the SectionGroup * @@ -26,4 +32,107 @@ public class SectionGroupRequest extends BaseSectionGroupRequest implements ISec public SectionGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SectionGroup.class); } + + /** + * Gets the SectionGroup from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SectionGroup from the service + * + * @return the SectionGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SectionGroup get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SectionGroup with a source + * + * @param sourceSectionGroup the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SectionGroup sourceSectionGroup, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSectionGroup); + } + + /** + * Patches this SectionGroup with a source + * + * @param sourceSectionGroup the source object with updates + * @return the updated SectionGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SectionGroup patch(final SectionGroup sourceSectionGroup) throws ClientException { + return send(HttpMethod.PATCH, sourceSectionGroup); + } + + /** + * Creates a SectionGroup with a new object + * + * @param newSectionGroup the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SectionGroup newSectionGroup, final ICallback callback) { + send(HttpMethod.POST, callback, newSectionGroup); + } + + /** + * Creates a SectionGroup with a new object + * + * @param newSectionGroup the new object to create + * @return the created SectionGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SectionGroup post(final SectionGroup newSectionGroup) throws ClientException { + return send(HttpMethod.POST, newSectionGroup); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISectionGroupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SectionGroupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISectionGroupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SectionGroupRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequestBuilder.java index 2ec6dd4e981..3cc41c34c97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequestBuilder.java @@ -3,17 +3,32 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISectionGroupRequest; +import com.microsoft.graph.requests.extensions.SectionGroupRequest; +import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSectionGroupRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Section Group Request Builder. */ -public class SectionGroupRequestBuilder extends BaseSectionGroupRequestBuilder implements ISectionGroupRequestBuilder { +public class SectionGroupRequestBuilder extends BaseRequestBuilder implements ISectionGroupRequestBuilder { /** * The request builder for the SectionGroup @@ -25,4 +40,58 @@ public class SectionGroupRequestBuilder extends BaseSectionGroupRequestBuilder i public SectionGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISectionGroupRequest instance + */ + public ISectionGroupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISectionGroupRequest instance + */ + public ISectionGroupRequest buildRequest(final java.util.List requestOptions) { + return new SectionGroupRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Notebook + * + * @return the INotebookRequestBuilder instance + */ + public INotebookRequestBuilder parentNotebook() { + return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null); + } + + /** + * Gets the request builder for SectionGroup + * + * @return the ISectionGroupRequestBuilder instance + */ + public ISectionGroupRequestBuilder parentSectionGroup() { + return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("parentSectionGroup"), getClient(), null); + } + public IOnenoteSectionCollectionRequestBuilder sections() { + return new OnenoteSectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections"), getClient(), null); + } + + public IOnenoteSectionRequestBuilder sections(final String id) { + return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections") + "/" + id, getClient(), null); + } + public ISectionGroupCollectionRequestBuilder sectionGroups() { + return new SectionGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups"), getClient(), null); + } + + public ISectionGroupRequestBuilder sectionGroups(final String id) { + return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequest.java index 914b90d01cd..0419c161fc4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISecurityRequest; +import com.microsoft.graph.requests.extensions.SecurityRequest; +import com.microsoft.graph.models.extensions.Security; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Security; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSecurityRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Security Request. */ -public class SecurityRequest extends BaseSecurityRequest implements ISecurityRequest { - +public class SecurityRequest extends BaseRequest implements ISecurityRequest { + /** * The request for the Security * @@ -26,4 +32,107 @@ public class SecurityRequest extends BaseSecurityRequest implements ISecurityReq public SecurityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Security.class); } + + /** + * Gets the Security from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Security from the service + * + * @return the Security from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Security get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Security with a source + * + * @param sourceSecurity the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Security sourceSecurity, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSecurity); + } + + /** + * Patches this Security with a source + * + * @param sourceSecurity the source object with updates + * @return the updated Security + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Security patch(final Security sourceSecurity) throws ClientException { + return send(HttpMethod.PATCH, sourceSecurity); + } + + /** + * Creates a Security with a new object + * + * @param newSecurity the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Security newSecurity, final ICallback callback) { + send(HttpMethod.POST, callback, newSecurity); + } + + /** + * Creates a Security with a new object + * + * @param newSecurity the new object to create + * @return the created Security + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Security post(final Security newSecurity) throws ClientException { + return send(HttpMethod.POST, newSecurity); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISecurityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SecurityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISecurityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SecurityRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequestBuilder.java index ba2a57abac9..352be3989f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISecurityRequest; +import com.microsoft.graph.requests.extensions.SecurityRequest; +import com.microsoft.graph.requests.extensions.IAlertCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.AlertCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAlertRequestBuilder; +import com.microsoft.graph.requests.extensions.AlertRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSecurityRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Security Request Builder. */ -public class SecurityRequestBuilder extends BaseSecurityRequestBuilder implements ISecurityRequestBuilder { +public class SecurityRequestBuilder extends BaseRequestBuilder implements ISecurityRequestBuilder { /** * The request builder for the Security @@ -25,4 +32,33 @@ public class SecurityRequestBuilder extends BaseSecurityRequestBuilder implement public SecurityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISecurityRequest instance + */ + public ISecurityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISecurityRequest instance + */ + public ISecurityRequest buildRequest(final java.util.List requestOptions) { + return new SecurityRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IAlertCollectionRequestBuilder alerts() { + return new AlertCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("alerts"), getClient(), null); + } + + public IAlertRequestBuilder alerts(final String id) { + return new AlertRequestBuilder(getRequestUrlWithAdditionalSegment("alerts") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionPage.java index 62662998ef1..f13b499a864 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting State Device Summary Collection Page. */ -public class SettingStateDeviceSummaryCollectionPage extends BaseSettingStateDeviceSummaryCollectionPage implements ISettingStateDeviceSummaryCollectionPage { +public class SettingStateDeviceSummaryCollectionPage extends BaseCollectionPage implements ISettingStateDeviceSummaryCollectionPage { /** - * A collection page for DeviceCompliancePolicy. + * A collection page for SettingStateDeviceSummary * - * @param response the serialized BaseSettingStateDeviceSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SettingStateDeviceSummaryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SettingStateDeviceSummaryCollectionPage(final BaseSettingStateDeviceSummaryCollectionResponse response, final ISettingStateDeviceSummaryCollectionRequestBuilder builder) { - super(response, builder); + public SettingStateDeviceSummaryCollectionPage(final SettingStateDeviceSummaryCollectionResponse response, final ISettingStateDeviceSummaryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequest.java index 6c4b8625b7d..992d287976d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting State Device Summary Collection Request. */ -public class SettingStateDeviceSummaryCollectionRequest extends BaseSettingStateDeviceSummaryCollectionRequest implements ISettingStateDeviceSummaryCollectionRequest { +public class SettingStateDeviceSummaryCollectionRequest extends BaseCollectionRequest implements ISettingStateDeviceSummaryCollectionRequest { /** - * The request for this collection of DeviceCompliancePolicy + * The request builder for this collection of SettingStateDeviceSummary * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SettingStateDeviceSummaryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SettingStateDeviceSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SettingStateDeviceSummaryCollectionResponse.class, ISettingStateDeviceSummaryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISettingStateDeviceSummaryCollectionPage get() throws ClientException { + final SettingStateDeviceSummaryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SettingStateDeviceSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSettingStateDeviceSummary, callback); + } + + public SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SettingStateDeviceSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSettingStateDeviceSummary); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISettingStateDeviceSummaryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SettingStateDeviceSummaryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISettingStateDeviceSummaryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SettingStateDeviceSummaryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISettingStateDeviceSummaryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SettingStateDeviceSummaryCollectionRequest)this; + } + + public ISettingStateDeviceSummaryCollectionPage buildFromResponse(final SettingStateDeviceSummaryCollectionResponse response) { + final ISettingStateDeviceSummaryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SettingStateDeviceSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SettingStateDeviceSummaryCollectionPage page = new SettingStateDeviceSummaryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequestBuilder.java index 356def2690a..ae899adfdfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting State Device Summary Collection Request Builder. */ -public class SettingStateDeviceSummaryCollectionRequestBuilder extends BaseSettingStateDeviceSummaryCollectionRequestBuilder implements ISettingStateDeviceSummaryCollectionRequestBuilder { +public class SettingStateDeviceSummaryCollectionRequestBuilder extends BaseRequestBuilder implements ISettingStateDeviceSummaryCollectionRequestBuilder { /** * The request builder for this collection of DeviceCompliancePolicy @@ -25,4 +33,18 @@ public class SettingStateDeviceSummaryCollectionRequestBuilder extends BaseSetti public SettingStateDeviceSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISettingStateDeviceSummaryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISettingStateDeviceSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SettingStateDeviceSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISettingStateDeviceSummaryRequestBuilder byId(final String id) { + return new SettingStateDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionResponse.java new file mode 100644 index 00000000000..4e1a03e48ce --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Setting State Device Summary Collection Response. + */ +public class SettingStateDeviceSummaryCollectionResponse implements IJsonBackedObject { + + /** + * The list of SettingStateDeviceSummary within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequest.java index adc013aa957..ad6f2a3aaeb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequest; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequest; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting State Device Summary Request. */ -public class SettingStateDeviceSummaryRequest extends BaseSettingStateDeviceSummaryRequest implements ISettingStateDeviceSummaryRequest { - +public class SettingStateDeviceSummaryRequest extends BaseRequest implements ISettingStateDeviceSummaryRequest { + /** * The request for the SettingStateDeviceSummary * @@ -26,4 +32,107 @@ public class SettingStateDeviceSummaryRequest extends BaseSettingStateDeviceSumm public SettingStateDeviceSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SettingStateDeviceSummary.class); } + + /** + * Gets the SettingStateDeviceSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SettingStateDeviceSummary from the service + * + * @return the SettingStateDeviceSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SettingStateDeviceSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SettingStateDeviceSummary with a source + * + * @param sourceSettingStateDeviceSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSettingStateDeviceSummary); + } + + /** + * Patches this SettingStateDeviceSummary with a source + * + * @param sourceSettingStateDeviceSummary the source object with updates + * @return the updated SettingStateDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SettingStateDeviceSummary patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceSettingStateDeviceSummary); + } + + /** + * Creates a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newSettingStateDeviceSummary); + } + + /** + * Creates a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the new object to create + * @return the created SettingStateDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException { + return send(HttpMethod.POST, newSettingStateDeviceSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISettingStateDeviceSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SettingStateDeviceSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISettingStateDeviceSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SettingStateDeviceSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequestBuilder.java index 31ca7a8ba93..4adefe7bef7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequest; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSettingStateDeviceSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Setting State Device Summary Request Builder. */ -public class SettingStateDeviceSummaryRequestBuilder extends BaseSettingStateDeviceSummaryRequestBuilder implements ISettingStateDeviceSummaryRequestBuilder { +public class SettingStateDeviceSummaryRequestBuilder extends BaseRequestBuilder implements ISettingStateDeviceSummaryRequestBuilder { /** * The request builder for the SettingStateDeviceSummary @@ -25,4 +28,26 @@ public class SettingStateDeviceSummaryRequestBuilder extends BaseSettingStateDev public SettingStateDeviceSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISettingStateDeviceSummaryRequest instance + */ + public ISettingStateDeviceSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISettingStateDeviceSummaryRequest instance + */ + public ISettingStateDeviceSummaryRequest buildRequest(final java.util.List requestOptions) { + return new SettingStateDeviceSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionPage.java index 7d62f8da491..7978325224b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedDriveItem; +import com.microsoft.graph.requests.extensions.ISharedDriveItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSharedDriveItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseSharedDriveItemCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Drive Item Collection Page. */ -public class SharedDriveItemCollectionPage extends BaseSharedDriveItemCollectionPage implements ISharedDriveItemCollectionPage { +public class SharedDriveItemCollectionPage extends BaseCollectionPage implements ISharedDriveItemCollectionPage { /** - * A collection page for SharedDriveItem. + * A collection page for SharedDriveItem * - * @param response the serialized BaseSharedDriveItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SharedDriveItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SharedDriveItemCollectionPage(final BaseSharedDriveItemCollectionResponse response, final ISharedDriveItemCollectionRequestBuilder builder) { - super(response, builder); + public SharedDriveItemCollectionPage(final SharedDriveItemCollectionResponse response, final ISharedDriveItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequest.java index f1c5b0f308f..1871b3f4042 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedDriveItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Drive Item Collection Request. */ -public class SharedDriveItemCollectionRequest extends BaseSharedDriveItemCollectionRequest implements ISharedDriveItemCollectionRequest { +public class SharedDriveItemCollectionRequest extends BaseCollectionRequest implements ISharedDriveItemCollectionRequest { /** - * The request for this collection of SharedDriveItem + * The request builder for this collection of SharedDriveItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SharedDriveItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SharedDriveItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SharedDriveItemCollectionResponse.class, ISharedDriveItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISharedDriveItemCollectionPage get() throws ClientException { + final SharedDriveItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SharedDriveItem newSharedDriveItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SharedDriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSharedDriveItem, callback); + } + + public SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SharedDriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSharedDriveItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISharedDriveItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SharedDriveItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISharedDriveItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SharedDriveItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISharedDriveItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SharedDriveItemCollectionRequest)this; + } + + public ISharedDriveItemCollectionPage buildFromResponse(final SharedDriveItemCollectionResponse response) { + final ISharedDriveItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SharedDriveItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SharedDriveItemCollectionPage page = new SharedDriveItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequestBuilder.java index b268616288f..caf9d634753 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedDriveItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Drive Item Collection Request Builder. */ -public class SharedDriveItemCollectionRequestBuilder extends BaseSharedDriveItemCollectionRequestBuilder implements ISharedDriveItemCollectionRequestBuilder { +public class SharedDriveItemCollectionRequestBuilder extends BaseRequestBuilder implements ISharedDriveItemCollectionRequestBuilder { /** * The request builder for this collection of SharedDriveItem @@ -25,4 +33,18 @@ public class SharedDriveItemCollectionRequestBuilder extends BaseSharedDriveItem public SharedDriveItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISharedDriveItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISharedDriveItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SharedDriveItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISharedDriveItemRequestBuilder byId(final String id) { + return new SharedDriveItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionResponse.java new file mode 100644 index 00000000000..b041aa7f66e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedDriveItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Shared Drive Item Collection Response. + */ +public class SharedDriveItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of SharedDriveItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequest.java index f2988efd28b..3f553a8ed0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedDriveItemRequest; +import com.microsoft.graph.requests.extensions.SharedDriveItemRequest; +import com.microsoft.graph.models.extensions.SharedDriveItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SharedDriveItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedDriveItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Drive Item Request. */ -public class SharedDriveItemRequest extends BaseSharedDriveItemRequest implements ISharedDriveItemRequest { - +public class SharedDriveItemRequest extends BaseRequest implements ISharedDriveItemRequest { + /** * The request for the SharedDriveItem * @@ -26,4 +32,107 @@ public class SharedDriveItemRequest extends BaseSharedDriveItemRequest implement public SharedDriveItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SharedDriveItem.class); } + + /** + * Gets the SharedDriveItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SharedDriveItem from the service + * + * @return the SharedDriveItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedDriveItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SharedDriveItem with a source + * + * @param sourceSharedDriveItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SharedDriveItem sourceSharedDriveItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSharedDriveItem); + } + + /** + * Patches this SharedDriveItem with a source + * + * @param sourceSharedDriveItem the source object with updates + * @return the updated SharedDriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedDriveItem patch(final SharedDriveItem sourceSharedDriveItem) throws ClientException { + return send(HttpMethod.PATCH, sourceSharedDriveItem); + } + + /** + * Creates a SharedDriveItem with a new object + * + * @param newSharedDriveItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SharedDriveItem newSharedDriveItem, final ICallback callback) { + send(HttpMethod.POST, callback, newSharedDriveItem); + } + + /** + * Creates a SharedDriveItem with a new object + * + * @param newSharedDriveItem the new object to create + * @return the created SharedDriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException { + return send(HttpMethod.POST, newSharedDriveItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISharedDriveItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SharedDriveItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISharedDriveItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SharedDriveItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequestBuilder.java index a8232c3ab78..206739b804b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequestBuilder.java @@ -3,17 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedDriveItemRequest; +import com.microsoft.graph.requests.extensions.SharedDriveItemRequest; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListRequestBuilder; +import com.microsoft.graph.requests.extensions.ListRequestBuilder; +import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.ListItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; +import com.microsoft.graph.requests.extensions.SiteRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedDriveItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Drive Item Request Builder. */ -public class SharedDriveItemRequestBuilder extends BaseSharedDriveItemRequestBuilder implements ISharedDriveItemRequestBuilder { +public class SharedDriveItemRequestBuilder extends BaseRequestBuilder implements ISharedDriveItemRequestBuilder { /** * The request builder for the SharedDriveItem @@ -25,4 +42,78 @@ public class SharedDriveItemRequestBuilder extends BaseSharedDriveItemRequestBui public SharedDriveItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISharedDriveItemRequest instance + */ + public ISharedDriveItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISharedDriveItemRequest instance + */ + public ISharedDriveItemRequest buildRequest(final java.util.List requestOptions) { + return new SharedDriveItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + public IDriveItemRequestBuilder driveItem() { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("driveItem"), getClient(), null); + } + public IDriveItemCollectionRequestBuilder items() { + return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); + } + + public IDriveItemRequestBuilder items(final String id) { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for List + * + * @return the IListRequestBuilder instance + */ + public IListRequestBuilder list() { + return new ListRequestBuilder(getRequestUrlWithAdditionalSegment("list"), getClient(), null); + } + + /** + * Gets the request builder for ListItem + * + * @return the IListItemRequestBuilder instance + */ + public IListItemRequestBuilder listItem() { + return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment("listItem"), getClient(), null); + } + + /** + * Gets the request builder for DriveItem + * + * @return the IDriveItemRequestBuilder instance + */ + public IDriveItemRequestBuilder root() { + return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("root"), getClient(), null); + } + + /** + * Gets the request builder for Site + * + * @return the ISiteRequestBuilder instance + */ + public ISiteRequestBuilder site() { + return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment("site"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionPage.java index df65956c453..604862e1d2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedInsight; +import com.microsoft.graph.requests.extensions.ISharedInsightCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSharedInsightCollectionPage; -import com.microsoft.graph.requests.generated.BaseSharedInsightCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Insight Collection Page. */ -public class SharedInsightCollectionPage extends BaseSharedInsightCollectionPage implements ISharedInsightCollectionPage { +public class SharedInsightCollectionPage extends BaseCollectionPage implements ISharedInsightCollectionPage { /** - * A collection page for OfficeGraphInsights. + * A collection page for SharedInsight * - * @param response the serialized BaseSharedInsightCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SharedInsightCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SharedInsightCollectionPage(final BaseSharedInsightCollectionResponse response, final ISharedInsightCollectionRequestBuilder builder) { - super(response, builder); + public SharedInsightCollectionPage(final SharedInsightCollectionResponse response, final ISharedInsightCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequest.java index 4181d37b674..83a3839f632 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedInsightCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Insight Collection Request. */ -public class SharedInsightCollectionRequest extends BaseSharedInsightCollectionRequest implements ISharedInsightCollectionRequest { +public class SharedInsightCollectionRequest extends BaseCollectionRequest implements ISharedInsightCollectionRequest { /** - * The request for this collection of OfficeGraphInsights + * The request builder for this collection of SharedInsight * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SharedInsightCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SharedInsightCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SharedInsightCollectionResponse.class, ISharedInsightCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISharedInsightCollectionPage get() throws ClientException { + final SharedInsightCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SharedInsight newSharedInsight, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SharedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSharedInsight, callback); + } + + public SharedInsight post(final SharedInsight newSharedInsight) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SharedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSharedInsight); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISharedInsightCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SharedInsightCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISharedInsightCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SharedInsightCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISharedInsightCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SharedInsightCollectionRequest)this; + } + + public ISharedInsightCollectionPage buildFromResponse(final SharedInsightCollectionResponse response) { + final ISharedInsightCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SharedInsightCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SharedInsightCollectionPage page = new SharedInsightCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequestBuilder.java index a779f79a344..d02ec4ac642 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedInsightCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Insight Collection Request Builder. */ -public class SharedInsightCollectionRequestBuilder extends BaseSharedInsightCollectionRequestBuilder implements ISharedInsightCollectionRequestBuilder { +public class SharedInsightCollectionRequestBuilder extends BaseRequestBuilder implements ISharedInsightCollectionRequestBuilder { /** * The request builder for this collection of OfficeGraphInsights @@ -25,4 +33,18 @@ public class SharedInsightCollectionRequestBuilder extends BaseSharedInsightColl public SharedInsightCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISharedInsightCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISharedInsightCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SharedInsightCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISharedInsightRequestBuilder byId(final String id) { + return new SharedInsightRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionResponse.java new file mode 100644 index 00000000000..e1cb4c25f0c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SharedInsight; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Shared Insight Collection Response. + */ +public class SharedInsightCollectionResponse implements IJsonBackedObject { + + /** + * The list of SharedInsight within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequest.java index c231d689651..cb801816fdd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedInsightRequest; +import com.microsoft.graph.requests.extensions.SharedInsightRequest; +import com.microsoft.graph.models.extensions.SharedInsight; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SharedInsight; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedInsightRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Insight Request. */ -public class SharedInsightRequest extends BaseSharedInsightRequest implements ISharedInsightRequest { - +public class SharedInsightRequest extends BaseRequest implements ISharedInsightRequest { + /** * The request for the SharedInsight * @@ -26,4 +32,107 @@ public class SharedInsightRequest extends BaseSharedInsightRequest implements IS public SharedInsightRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SharedInsight.class); } + + /** + * Gets the SharedInsight from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SharedInsight from the service + * + * @return the SharedInsight from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedInsight get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SharedInsight with a source + * + * @param sourceSharedInsight the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SharedInsight sourceSharedInsight, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSharedInsight); + } + + /** + * Patches this SharedInsight with a source + * + * @param sourceSharedInsight the source object with updates + * @return the updated SharedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedInsight patch(final SharedInsight sourceSharedInsight) throws ClientException { + return send(HttpMethod.PATCH, sourceSharedInsight); + } + + /** + * Creates a SharedInsight with a new object + * + * @param newSharedInsight the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SharedInsight newSharedInsight, final ICallback callback) { + send(HttpMethod.POST, callback, newSharedInsight); + } + + /** + * Creates a SharedInsight with a new object + * + * @param newSharedInsight the new object to create + * @return the created SharedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedInsight post(final SharedInsight newSharedInsight) throws ClientException { + return send(HttpMethod.POST, newSharedInsight); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISharedInsightRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SharedInsightRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISharedInsightRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SharedInsightRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequestBuilder.java index 26db66172e6..ff93a8358e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedInsightRequest; +import com.microsoft.graph.requests.extensions.SharedInsightRequest; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedInsightRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared Insight Request Builder. */ -public class SharedInsightRequestBuilder extends BaseSharedInsightRequestBuilder implements ISharedInsightRequestBuilder { +public class SharedInsightRequestBuilder extends BaseRequestBuilder implements ISharedInsightRequestBuilder { /** * The request builder for the SharedInsight @@ -25,4 +32,44 @@ public class SharedInsightRequestBuilder extends BaseSharedInsightRequestBuilder public SharedInsightRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISharedInsightRequest instance + */ + public ISharedInsightRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISharedInsightRequest instance + */ + public ISharedInsightRequest buildRequest(final java.util.List requestOptions) { + return new SharedInsightRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + public IEntityWithReferenceRequestBuilder lastSharedMethod() { + return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastSharedMethod"), getClient(), null); + } + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + public IEntityWithReferenceRequestBuilder resource() { + return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("resource"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequest.java index 8285f703efe..2334c9949d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedPCConfigurationRequest; +import com.microsoft.graph.requests.extensions.SharedPCConfigurationRequest; +import com.microsoft.graph.models.extensions.SharedPCConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SharedPCConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedPCConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared PCConfiguration Request. */ -public class SharedPCConfigurationRequest extends BaseSharedPCConfigurationRequest implements ISharedPCConfigurationRequest { - +public class SharedPCConfigurationRequest extends BaseRequest implements ISharedPCConfigurationRequest { + /** * The request for the SharedPCConfiguration * @@ -26,4 +32,107 @@ public class SharedPCConfigurationRequest extends BaseSharedPCConfigurationReque public SharedPCConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SharedPCConfiguration.class); } + + /** + * Gets the SharedPCConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SharedPCConfiguration from the service + * + * @return the SharedPCConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedPCConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SharedPCConfiguration with a source + * + * @param sourceSharedPCConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SharedPCConfiguration sourceSharedPCConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSharedPCConfiguration); + } + + /** + * Patches this SharedPCConfiguration with a source + * + * @param sourceSharedPCConfiguration the source object with updates + * @return the updated SharedPCConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedPCConfiguration patch(final SharedPCConfiguration sourceSharedPCConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceSharedPCConfiguration); + } + + /** + * Creates a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SharedPCConfiguration newSharedPCConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newSharedPCConfiguration); + } + + /** + * Creates a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the new object to create + * @return the created SharedPCConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedPCConfiguration post(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException { + return send(HttpMethod.POST, newSharedPCConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISharedPCConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SharedPCConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISharedPCConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SharedPCConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequestBuilder.java index 13a2c3c0056..b89458d83d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISharedPCConfigurationRequest; +import com.microsoft.graph.requests.extensions.SharedPCConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSharedPCConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Shared PCConfiguration Request Builder. */ -public class SharedPCConfigurationRequestBuilder extends BaseSharedPCConfigurationRequestBuilder implements ISharedPCConfigurationRequestBuilder { +public class SharedPCConfigurationRequestBuilder extends BaseRequestBuilder implements ISharedPCConfigurationRequestBuilder { /** * The request builder for the SharedPCConfiguration @@ -25,4 +28,26 @@ public class SharedPCConfigurationRequestBuilder extends BaseSharedPCConfigurati public SharedPCConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISharedPCConfigurationRequest instance + */ + public ISharedPCConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISharedPCConfigurationRequest instance + */ + public ISharedPCConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new SharedPCConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionPage.java index f26218f4109..2c1ea0c0581 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Single Value Legacy Extended Property Collection Page. */ -public class SingleValueLegacyExtendedPropertyCollectionPage extends BaseSingleValueLegacyExtendedPropertyCollectionPage implements ISingleValueLegacyExtendedPropertyCollectionPage { +public class SingleValueLegacyExtendedPropertyCollectionPage extends BaseCollectionPage implements ISingleValueLegacyExtendedPropertyCollectionPage { /** - * A collection page for Post. + * A collection page for SingleValueLegacyExtendedProperty * - * @param response the serialized BaseSingleValueLegacyExtendedPropertyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SingleValueLegacyExtendedPropertyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SingleValueLegacyExtendedPropertyCollectionPage(final BaseSingleValueLegacyExtendedPropertyCollectionResponse response, final ISingleValueLegacyExtendedPropertyCollectionRequestBuilder builder) { - super(response, builder); + public SingleValueLegacyExtendedPropertyCollectionPage(final SingleValueLegacyExtendedPropertyCollectionResponse response, final ISingleValueLegacyExtendedPropertyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequest.java index 2d1125339f2..1860420686d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Single Value Legacy Extended Property Collection Request. */ -public class SingleValueLegacyExtendedPropertyCollectionRequest extends BaseSingleValueLegacyExtendedPropertyCollectionRequest implements ISingleValueLegacyExtendedPropertyCollectionRequest { +public class SingleValueLegacyExtendedPropertyCollectionRequest extends BaseCollectionRequest implements ISingleValueLegacyExtendedPropertyCollectionRequest { /** - * The request for this collection of Post + * The request builder for this collection of SingleValueLegacyExtendedProperty * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SingleValueLegacyExtendedPropertyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SingleValueLegacyExtendedPropertyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SingleValueLegacyExtendedPropertyCollectionResponse.class, ISingleValueLegacyExtendedPropertyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISingleValueLegacyExtendedPropertyCollectionPage get() throws ClientException { + final SingleValueLegacyExtendedPropertyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SingleValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSingleValueLegacyExtendedProperty, callback); + } + + public SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SingleValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSingleValueLegacyExtendedProperty); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISingleValueLegacyExtendedPropertyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SingleValueLegacyExtendedPropertyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISingleValueLegacyExtendedPropertyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SingleValueLegacyExtendedPropertyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISingleValueLegacyExtendedPropertyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SingleValueLegacyExtendedPropertyCollectionRequest)this; + } + + public ISingleValueLegacyExtendedPropertyCollectionPage buildFromResponse(final SingleValueLegacyExtendedPropertyCollectionResponse response) { + final ISingleValueLegacyExtendedPropertyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SingleValueLegacyExtendedPropertyCollectionPage page = new SingleValueLegacyExtendedPropertyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequestBuilder.java index e9c7fff79be..74f4d26b5aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Single Value Legacy Extended Property Collection Request Builder. */ -public class SingleValueLegacyExtendedPropertyCollectionRequestBuilder extends BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder implements ISingleValueLegacyExtendedPropertyCollectionRequestBuilder { +public class SingleValueLegacyExtendedPropertyCollectionRequestBuilder extends BaseRequestBuilder implements ISingleValueLegacyExtendedPropertyCollectionRequestBuilder { /** * The request builder for this collection of Post @@ -25,4 +33,18 @@ public class SingleValueLegacyExtendedPropertyCollectionRequestBuilder extends B public SingleValueLegacyExtendedPropertyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SingleValueLegacyExtendedPropertyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISingleValueLegacyExtendedPropertyRequestBuilder byId(final String id) { + return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionResponse.java new file mode 100644 index 00000000000..b25747f5577 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Single Value Legacy Extended Property Collection Response. + */ +public class SingleValueLegacyExtendedPropertyCollectionResponse implements IJsonBackedObject { + + /** + * The list of SingleValueLegacyExtendedProperty within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequest.java index 98a3308b2f0..4ab82153321 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Single Value Legacy Extended Property Request. */ -public class SingleValueLegacyExtendedPropertyRequest extends BaseSingleValueLegacyExtendedPropertyRequest implements ISingleValueLegacyExtendedPropertyRequest { - +public class SingleValueLegacyExtendedPropertyRequest extends BaseRequest implements ISingleValueLegacyExtendedPropertyRequest { + /** * The request for the SingleValueLegacyExtendedProperty * @@ -26,4 +32,107 @@ public class SingleValueLegacyExtendedPropertyRequest extends BaseSingleValueLeg public SingleValueLegacyExtendedPropertyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SingleValueLegacyExtendedProperty.class); } + + /** + * Gets the SingleValueLegacyExtendedProperty from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SingleValueLegacyExtendedProperty from the service + * + * @return the SingleValueLegacyExtendedProperty from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SingleValueLegacyExtendedProperty get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SingleValueLegacyExtendedProperty with a source + * + * @param sourceSingleValueLegacyExtendedProperty the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSingleValueLegacyExtendedProperty); + } + + /** + * Patches this SingleValueLegacyExtendedProperty with a source + * + * @param sourceSingleValueLegacyExtendedProperty the source object with updates + * @return the updated SingleValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SingleValueLegacyExtendedProperty patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty) throws ClientException { + return send(HttpMethod.PATCH, sourceSingleValueLegacyExtendedProperty); + } + + /** + * Creates a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback) { + send(HttpMethod.POST, callback, newSingleValueLegacyExtendedProperty); + } + + /** + * Creates a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the new object to create + * @return the created SingleValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException { + return send(HttpMethod.POST, newSingleValueLegacyExtendedProperty); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISingleValueLegacyExtendedPropertyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SingleValueLegacyExtendedPropertyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISingleValueLegacyExtendedPropertyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SingleValueLegacyExtendedPropertyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequestBuilder.java index eb60d5fd99f..98bd2241db6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequest; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSingleValueLegacyExtendedPropertyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Single Value Legacy Extended Property Request Builder. */ -public class SingleValueLegacyExtendedPropertyRequestBuilder extends BaseSingleValueLegacyExtendedPropertyRequestBuilder implements ISingleValueLegacyExtendedPropertyRequestBuilder { +public class SingleValueLegacyExtendedPropertyRequestBuilder extends BaseRequestBuilder implements ISingleValueLegacyExtendedPropertyRequestBuilder { /** * The request builder for the SingleValueLegacyExtendedProperty @@ -25,4 +28,26 @@ public class SingleValueLegacyExtendedPropertyRequestBuilder extends BaseSingleV public SingleValueLegacyExtendedPropertyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISingleValueLegacyExtendedPropertyRequest instance + */ + public ISingleValueLegacyExtendedPropertyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISingleValueLegacyExtendedPropertyRequest instance + */ + public ISingleValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions) { + return new SingleValueLegacyExtendedPropertyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionPage.java index e09d5e7e024..a8745665050 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSiteCollectionPage; -import com.microsoft.graph.requests.generated.BaseSiteCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Collection Page. */ -public class SiteCollectionPage extends BaseSiteCollectionPage implements ISiteCollectionPage { +public class SiteCollectionPage extends BaseCollectionPage implements ISiteCollectionPage { /** - * A collection page for Site. + * A collection page for Site * - * @param response the serialized BaseSiteCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SiteCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SiteCollectionPage(final BaseSiteCollectionResponse response, final ISiteCollectionRequestBuilder builder) { - super(response, builder); + public SiteCollectionPage(final SiteCollectionResponse response, final ISiteCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequest.java index e78d9999bf1..fc319b1b2c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSiteCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Collection Request. */ -public class SiteCollectionRequest extends BaseSiteCollectionRequest implements ISiteCollectionRequest { +public class SiteCollectionRequest extends BaseCollectionRequest implements ISiteCollectionRequest { /** - * The request for this collection of Site + * The request builder for this collection of Site * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SiteCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SiteCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SiteCollectionResponse.class, ISiteCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISiteCollectionPage get() throws ClientException { + final SiteCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Site newSite, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SiteRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSite, callback); + } + + public Site post(final Site newSite) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SiteRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSite); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISiteCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SiteCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISiteCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SiteCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISiteCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SiteCollectionRequest)this; + } + + public ISiteCollectionPage buildFromResponse(final SiteCollectionResponse response) { + final ISiteCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SiteCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SiteCollectionPage page = new SiteCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequestBuilder.java index 8a38f416425..67df85c1231 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSiteCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Collection Request Builder. */ -public class SiteCollectionRequestBuilder extends BaseSiteCollectionRequestBuilder implements ISiteCollectionRequestBuilder { +public class SiteCollectionRequestBuilder extends BaseRequestBuilder implements ISiteCollectionRequestBuilder { /** * The request builder for this collection of Site @@ -25,4 +33,18 @@ public class SiteCollectionRequestBuilder extends BaseSiteCollectionRequestBuild public SiteCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISiteCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISiteCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SiteCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISiteRequestBuilder byId(final String id) { + return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionResponse.java new file mode 100644 index 00000000000..970526630bd --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Site; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Site Collection Response. + */ +public class SiteCollectionResponse implements IJsonBackedObject { + + /** + * The list of Site within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequest.java index 2babdec490c..1c85e99af5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; +import com.microsoft.graph.requests.extensions.SiteGetByPathRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSiteGetByPathRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Get By Path Request. */ -public class SiteGetByPathRequest extends BaseSiteGetByPathRequest implements ISiteGetByPathRequest { +public class SiteGetByPathRequest extends BaseRequest implements ISiteGetByPathRequest { /** * The request for this SiteGetByPath @@ -23,6 +31,88 @@ public class SiteGetByPathRequest extends BaseSiteGetByPathRequest implements IS * @param requestOptions the options for this request */ public SiteGetByPathRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Site.class); } + + /** + * Patches the SiteGetByPath + * @param srcSite the Site with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(Site srcSite, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcSite); + } + + /** + * Patches the SiteGetByPath + * + * @param srcSite the Site with which to PATCH + * @return the Site + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Site patch(Site srcSite) throws ClientException { + return this.send(HttpMethod.PATCH, srcSite); + } + + /** + * Puts the SiteGetByPath + * + * @param srcSite the Site to PUT + * @param callback the callback to be called after success or failure + */ + public void put(Site srcSite, final ICallback callback) { + send(HttpMethod.PUT, callback, srcSite); + } + + /** + * Puts the SiteGetByPath + * + * @param srcSite the Site to PUT + * @return the Site + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Site put(Site srcSite) throws ClientException { + return this.send(HttpMethod.PUT, srcSite); + } + /** + * Gets the Site + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Site + * + * @return the Site + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Site get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISiteGetByPathRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SiteGetByPathRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISiteGetByPathRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SiteGetByPathRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequestBuilder.java index b3026e49a51..5b8d5547443 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteGetByPathRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; +import com.microsoft.graph.requests.extensions.SiteGetByPathRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSiteGetByPathRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Get By Path Request Builder. */ -public class SiteGetByPathRequestBuilder extends BaseSiteGetByPathRequestBuilder implements ISiteGetByPathRequestBuilder { +public class SiteGetByPathRequestBuilder extends BaseFunctionRequestBuilder implements ISiteGetByPathRequestBuilder { /** * The request builder for this SiteGetByPath @@ -24,6 +29,36 @@ public class SiteGetByPathRequestBuilder extends BaseSiteGetByPathRequestBuilder * @param path the path */ public SiteGetByPathRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String path) { - super(requestUrl, client, requestOptions, path); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("path", path)); + } + + /** + * Creates the ISiteGetByPathRequest + * + * @return the ISiteGetByPathRequest instance + */ + public ISiteGetByPathRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ISiteGetByPathRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ISiteGetByPathRequest instance + */ + public ISiteGetByPathRequest buildRequest(final java.util.List requestOptions) { + SiteGetByPathRequest request = new SiteGetByPathRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteRequest.java index 87f259648c4..5fe3cc7d915 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISiteRequest; +import com.microsoft.graph.requests.extensions.SiteRequest; +import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Site; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSiteRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Request. */ -public class SiteRequest extends BaseSiteRequest implements ISiteRequest { - +public class SiteRequest extends BaseRequest implements ISiteRequest { + /** * The request for the Site * @@ -26,4 +32,107 @@ public class SiteRequest extends BaseSiteRequest implements ISiteRequest { public SiteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Site.class); } + + /** + * Gets the Site from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Site from the service + * + * @return the Site from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Site get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Site with a source + * + * @param sourceSite the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Site sourceSite, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSite); + } + + /** + * Patches this Site with a source + * + * @param sourceSite the source object with updates + * @return the updated Site + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Site patch(final Site sourceSite) throws ClientException { + return send(HttpMethod.PATCH, sourceSite); + } + + /** + * Creates a Site with a new object + * + * @param newSite the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Site newSite, final ICallback callback) { + send(HttpMethod.POST, callback, newSite); + } + + /** + * Creates a Site with a new object + * + * @param newSite the new object to create + * @return the created Site + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Site post(final Site newSite) throws ClientException { + return send(HttpMethod.POST, newSite); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISiteRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SiteRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISiteRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SiteRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SiteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SiteRequestBuilder.java index 3d78c4b4376..2338c9057c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteRequestBuilder.java @@ -3,17 +3,50 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISiteRequest; +import com.microsoft.graph.requests.extensions.SiteRequest; +import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.ColumnDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ContentTypeCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.ContentTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IBaseItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.BaseItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IBaseItemRequestBuilder; +import com.microsoft.graph.requests.extensions.BaseItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IListCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ListCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IListRequestBuilder; +import com.microsoft.graph.requests.extensions.ListRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.SiteCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; +import com.microsoft.graph.requests.extensions.SiteRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.ISiteGetByPathRequestBuilder; +import com.microsoft.graph.requests.extensions.SiteGetByPathRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSiteRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Site Request Builder. */ -public class SiteRequestBuilder extends BaseSiteRequestBuilder implements ISiteRequestBuilder { +public class SiteRequestBuilder extends BaseRequestBuilder implements ISiteRequestBuilder { /** * The request builder for the Site @@ -25,4 +58,90 @@ public class SiteRequestBuilder extends BaseSiteRequestBuilder implements ISiteR public SiteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISiteRequest instance + */ + public ISiteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISiteRequest instance + */ + public ISiteRequest buildRequest(final java.util.List requestOptions) { + return new SiteRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IColumnDefinitionCollectionRequestBuilder columns() { + return new ColumnDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null); + } + + public IColumnDefinitionRequestBuilder columns(final String id) { + return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null); + } + public IContentTypeCollectionRequestBuilder contentTypes() { + return new ContentTypeCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes"), getClient(), null); + } + + public IContentTypeRequestBuilder contentTypes(final String id) { + return new ContentTypeRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + public IDriveRequestBuilder drive() { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); + } + public IDriveCollectionRequestBuilder drives() { + return new DriveCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("drives"), getClient(), null); + } + + public IDriveRequestBuilder drives(final String id) { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null); + } + public IBaseItemCollectionRequestBuilder items() { + return new BaseItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); + } + + public IBaseItemRequestBuilder items(final String id) { + return new BaseItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); + } + public IListCollectionRequestBuilder lists() { + return new ListCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("lists"), getClient(), null); + } + + public IListRequestBuilder lists(final String id) { + return new ListRequestBuilder(getRequestUrlWithAdditionalSegment("lists") + "/" + id, getClient(), null); + } + public ISiteCollectionRequestBuilder sites() { + return new SiteCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sites"), getClient(), null); + } + + public ISiteRequestBuilder sites(final String id) { + return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment("sites") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Onenote + * + * @return the IOnenoteRequestBuilder instance + */ + public IOnenoteRequestBuilder onenote() { + return new OnenoteRequestBuilder(getRequestUrlWithAdditionalSegment("onenote"), getClient(), null); + } + + public ISiteGetByPathRequestBuilder getByPath(final String path) { + return new SiteGetByPathRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getByPath"), getClient(), null, path); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequest.java index 891c864a577..320a1bbaf5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSoftwareUpdateStatusSummaryReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary Reference Request. */ -public class SoftwareUpdateStatusSummaryReferenceRequest extends BaseSoftwareUpdateStatusSummaryReferenceRequest implements ISoftwareUpdateStatusSummaryReferenceRequest { +public class SoftwareUpdateStatusSummaryReferenceRequest extends BaseRequest implements ISoftwareUpdateStatusSummaryReferenceRequest { /** * The request for the SoftwareUpdateStatusSummary @@ -22,7 +30,57 @@ public class SoftwareUpdateStatusSummaryReferenceRequest extends BaseSoftwareUpd * @param client the service client * @param requestOptions the options for this request */ - public SoftwareUpdateStatusSummaryReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SoftwareUpdateStatusSummaryReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SoftwareUpdateStatusSummary.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public SoftwareUpdateStatusSummary delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISoftwareUpdateStatusSummaryReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SoftwareUpdateStatusSummaryReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISoftwareUpdateStatusSummaryReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SoftwareUpdateStatusSummaryReferenceRequest)this; + } + /** + * Puts the SoftwareUpdateStatusSummary + * + * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, srcSoftwareUpdateStatusSummary); + } + + /** + * Puts the SoftwareUpdateStatusSummary + * + * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary reference to PUT + * @return the SoftwareUpdateStatusSummary + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public SoftwareUpdateStatusSummary put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary) throws ClientException { + return send(HttpMethod.PUT, srcSoftwareUpdateStatusSummary); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequestBuilder.java index 873083b649c..474bd3582c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary Reference Request Builder. */ -public class SoftwareUpdateStatusSummaryReferenceRequestBuilder extends BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder implements ISoftwareUpdateStatusSummaryReferenceRequestBuilder { +public class SoftwareUpdateStatusSummaryReferenceRequestBuilder extends BaseRequestBuilder implements ISoftwareUpdateStatusSummaryReferenceRequestBuilder { /** * The request builder for the SoftwareUpdateStatusSummary @@ -25,4 +34,23 @@ public class SoftwareUpdateStatusSummaryReferenceRequestBuilder extends BaseSoft public SoftwareUpdateStatusSummaryReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The ISoftwareUpdateStatusSummaryReferenceRequest instance + */ + public ISoftwareUpdateStatusSummaryReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISoftwareUpdateStatusSummaryReferenceRequest instance + */ + public ISoftwareUpdateStatusSummaryReferenceRequest buildRequest(final java.util.List requestOptions) { + return new SoftwareUpdateStatusSummaryReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequest.java index bb13c79d345..8295a94df25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryRequest; +import com.microsoft.graph.requests.extensions.SoftwareUpdateStatusSummaryRequest; +import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSoftwareUpdateStatusSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary Request. */ -public class SoftwareUpdateStatusSummaryRequest extends BaseSoftwareUpdateStatusSummaryRequest implements ISoftwareUpdateStatusSummaryRequest { - +public class SoftwareUpdateStatusSummaryRequest extends BaseRequest implements ISoftwareUpdateStatusSummaryRequest { + /** * The request for the SoftwareUpdateStatusSummary * @@ -26,4 +32,107 @@ public class SoftwareUpdateStatusSummaryRequest extends BaseSoftwareUpdateStatus public SoftwareUpdateStatusSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SoftwareUpdateStatusSummary.class); } + + /** + * Gets the SoftwareUpdateStatusSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SoftwareUpdateStatusSummary from the service + * + * @return the SoftwareUpdateStatusSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SoftwareUpdateStatusSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SoftwareUpdateStatusSummary with a source + * + * @param sourceSoftwareUpdateStatusSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSoftwareUpdateStatusSummary); + } + + /** + * Patches this SoftwareUpdateStatusSummary with a source + * + * @param sourceSoftwareUpdateStatusSummary the source object with updates + * @return the updated SoftwareUpdateStatusSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceSoftwareUpdateStatusSummary); + } + + /** + * Creates a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newSoftwareUpdateStatusSummary); + } + + /** + * Creates a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the new object to create + * @return the created SoftwareUpdateStatusSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException { + return send(HttpMethod.POST, newSoftwareUpdateStatusSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISoftwareUpdateStatusSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SoftwareUpdateStatusSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISoftwareUpdateStatusSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SoftwareUpdateStatusSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequestBuilder.java index 4bd66c8263d..b72c9117c5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryRequest; +import com.microsoft.graph.requests.extensions.SoftwareUpdateStatusSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSoftwareUpdateStatusSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary Request Builder. */ -public class SoftwareUpdateStatusSummaryRequestBuilder extends BaseSoftwareUpdateStatusSummaryRequestBuilder implements ISoftwareUpdateStatusSummaryRequestBuilder { +public class SoftwareUpdateStatusSummaryRequestBuilder extends BaseRequestBuilder implements ISoftwareUpdateStatusSummaryRequestBuilder { /** * The request builder for the SoftwareUpdateStatusSummary @@ -25,4 +28,26 @@ public class SoftwareUpdateStatusSummaryRequestBuilder extends BaseSoftwareUpdat public SoftwareUpdateStatusSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISoftwareUpdateStatusSummaryRequest instance + */ + public ISoftwareUpdateStatusSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISoftwareUpdateStatusSummaryRequest instance + */ + public ISoftwareUpdateStatusSummaryRequest buildRequest(final java.util.List requestOptions) { + return new SoftwareUpdateStatusSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequest.java index e4e3dadebde..d12ce6f53cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSoftwareUpdateStatusSummaryWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary With Reference Request. */ -public class SoftwareUpdateStatusSummaryWithReferenceRequest extends BaseSoftwareUpdateStatusSummaryWithReferenceRequest implements ISoftwareUpdateStatusSummaryWithReferenceRequest { +public class SoftwareUpdateStatusSummaryWithReferenceRequest extends BaseRequest implements ISoftwareUpdateStatusSummaryWithReferenceRequest { /** * The request for the SoftwareUpdateStatusSummary @@ -22,7 +30,66 @@ public class SoftwareUpdateStatusSummaryWithReferenceRequest extends BaseSoftwar * @param client the service client * @param requestOptions the options for this request */ - public SoftwareUpdateStatusSummaryWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SoftwareUpdateStatusSummaryWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SoftwareUpdateStatusSummary.class); + } + + public void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newSoftwareUpdateStatusSummary; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public SoftwareUpdateStatusSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSoftwareUpdateStatusSummary); + } + + public SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceSoftwareUpdateStatusSummary); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISoftwareUpdateStatusSummaryWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ISoftwareUpdateStatusSummaryWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISoftwareUpdateStatusSummaryWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SoftwareUpdateStatusSummaryWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java index 8e7ca5b4d2e..bd116e15f7d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Software Update Status Summary With Reference Request Builder. */ -public class SoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder implements ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder { +public class SoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends BaseRequestBuilder implements ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder { /** * The request builder for the SoftwareUpdateStatusSummary @@ -25,4 +33,28 @@ public class SoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends Base public SoftwareUpdateStatusSummaryWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance + */ + public ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance + */ + public ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new SoftwareUpdateStatusSummaryWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISoftwareUpdateStatusSummaryReferenceRequestBuilder reference(){ + return new SoftwareUpdateStatusSummaryReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionPage.java index 6cb4f02e6ea..128c8e274d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SubscribedSku; +import com.microsoft.graph.requests.extensions.ISubscribedSkuCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSubscribedSkuCollectionPage; -import com.microsoft.graph.requests.generated.BaseSubscribedSkuCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscribed Sku Collection Page. */ -public class SubscribedSkuCollectionPage extends BaseSubscribedSkuCollectionPage implements ISubscribedSkuCollectionPage { +public class SubscribedSkuCollectionPage extends BaseCollectionPage implements ISubscribedSkuCollectionPage { /** - * A collection page for SubscribedSku. + * A collection page for SubscribedSku * - * @param response the serialized BaseSubscribedSkuCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SubscribedSkuCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SubscribedSkuCollectionPage(final BaseSubscribedSkuCollectionResponse response, final ISubscribedSkuCollectionRequestBuilder builder) { - super(response, builder); + public SubscribedSkuCollectionPage(final SubscribedSkuCollectionResponse response, final ISubscribedSkuCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequest.java index bdea285ab02..ef177dd4020 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscribedSkuCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscribed Sku Collection Request. */ -public class SubscribedSkuCollectionRequest extends BaseSubscribedSkuCollectionRequest implements ISubscribedSkuCollectionRequest { +public class SubscribedSkuCollectionRequest extends BaseCollectionRequest implements ISubscribedSkuCollectionRequest { /** - * The request for this collection of SubscribedSku + * The request builder for this collection of SubscribedSku * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SubscribedSkuCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SubscribedSkuCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SubscribedSkuCollectionResponse.class, ISubscribedSkuCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISubscribedSkuCollectionPage get() throws ClientException { + final SubscribedSkuCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final SubscribedSku newSubscribedSku, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SubscribedSkuRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSubscribedSku, callback); + } + + public SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SubscribedSkuRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSubscribedSku); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISubscribedSkuCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SubscribedSkuCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISubscribedSkuCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SubscribedSkuCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISubscribedSkuCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SubscribedSkuCollectionRequest)this; + } + + public ISubscribedSkuCollectionPage buildFromResponse(final SubscribedSkuCollectionResponse response) { + final ISubscribedSkuCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SubscribedSkuCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SubscribedSkuCollectionPage page = new SubscribedSkuCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequestBuilder.java index 98f10c2c2ec..44c9ddc02ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscribedSkuCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscribed Sku Collection Request Builder. */ -public class SubscribedSkuCollectionRequestBuilder extends BaseSubscribedSkuCollectionRequestBuilder implements ISubscribedSkuCollectionRequestBuilder { +public class SubscribedSkuCollectionRequestBuilder extends BaseRequestBuilder implements ISubscribedSkuCollectionRequestBuilder { /** * The request builder for this collection of SubscribedSku @@ -25,4 +33,18 @@ public class SubscribedSkuCollectionRequestBuilder extends BaseSubscribedSkuColl public SubscribedSkuCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISubscribedSkuCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISubscribedSkuCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SubscribedSkuCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISubscribedSkuRequestBuilder byId(final String id) { + return new SubscribedSkuRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionResponse.java new file mode 100644 index 00000000000..d8295c9be47 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.SubscribedSku; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Subscribed Sku Collection Response. + */ +public class SubscribedSkuCollectionResponse implements IJsonBackedObject { + + /** + * The list of SubscribedSku within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequest.java index 4d6e09a7f2c..4248434227b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISubscribedSkuRequest; +import com.microsoft.graph.requests.extensions.SubscribedSkuRequest; +import com.microsoft.graph.models.extensions.SubscribedSku; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.SubscribedSku; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscribedSkuRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscribed Sku Request. */ -public class SubscribedSkuRequest extends BaseSubscribedSkuRequest implements ISubscribedSkuRequest { - +public class SubscribedSkuRequest extends BaseRequest implements ISubscribedSkuRequest { + /** * The request for the SubscribedSku * @@ -26,4 +32,107 @@ public class SubscribedSkuRequest extends BaseSubscribedSkuRequest implements IS public SubscribedSkuRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, SubscribedSku.class); } + + /** + * Gets the SubscribedSku from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the SubscribedSku from the service + * + * @return the SubscribedSku from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SubscribedSku get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this SubscribedSku with a source + * + * @param sourceSubscribedSku the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final SubscribedSku sourceSubscribedSku, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSubscribedSku); + } + + /** + * Patches this SubscribedSku with a source + * + * @param sourceSubscribedSku the source object with updates + * @return the updated SubscribedSku + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SubscribedSku patch(final SubscribedSku sourceSubscribedSku) throws ClientException { + return send(HttpMethod.PATCH, sourceSubscribedSku); + } + + /** + * Creates a SubscribedSku with a new object + * + * @param newSubscribedSku the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final SubscribedSku newSubscribedSku, final ICallback callback) { + send(HttpMethod.POST, callback, newSubscribedSku); + } + + /** + * Creates a SubscribedSku with a new object + * + * @param newSubscribedSku the new object to create + * @return the created SubscribedSku + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException { + return send(HttpMethod.POST, newSubscribedSku); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISubscribedSkuRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SubscribedSkuRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISubscribedSkuRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SubscribedSkuRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequestBuilder.java index 371a377716d..29ecaf14d16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISubscribedSkuRequest; +import com.microsoft.graph.requests.extensions.SubscribedSkuRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscribedSkuRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscribed Sku Request Builder. */ -public class SubscribedSkuRequestBuilder extends BaseSubscribedSkuRequestBuilder implements ISubscribedSkuRequestBuilder { +public class SubscribedSkuRequestBuilder extends BaseRequestBuilder implements ISubscribedSkuRequestBuilder { /** * The request builder for the SubscribedSku @@ -25,4 +28,26 @@ public class SubscribedSkuRequestBuilder extends BaseSubscribedSkuRequestBuilder public SubscribedSkuRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISubscribedSkuRequest instance + */ + public ISubscribedSkuRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISubscribedSkuRequest instance + */ + public ISubscribedSkuRequest buildRequest(final java.util.List requestOptions) { + return new SubscribedSkuRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionPage.java index 26882f48484..28026cdcac1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Subscription; +import com.microsoft.graph.requests.extensions.ISubscriptionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseSubscriptionCollectionPage; -import com.microsoft.graph.requests.generated.BaseSubscriptionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscription Collection Page. */ -public class SubscriptionCollectionPage extends BaseSubscriptionCollectionPage implements ISubscriptionCollectionPage { +public class SubscriptionCollectionPage extends BaseCollectionPage implements ISubscriptionCollectionPage { /** - * A collection page for Subscription. + * A collection page for Subscription * - * @param response the serialized BaseSubscriptionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized SubscriptionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public SubscriptionCollectionPage(final BaseSubscriptionCollectionResponse response, final ISubscriptionCollectionRequestBuilder builder) { - super(response, builder); + public SubscriptionCollectionPage(final SubscriptionCollectionResponse response, final ISubscriptionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequest.java index a1d87c9c4b7..47f1e0e354c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscriptionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscription Collection Request. */ -public class SubscriptionCollectionRequest extends BaseSubscriptionCollectionRequest implements ISubscriptionCollectionRequest { +public class SubscriptionCollectionRequest extends BaseCollectionRequest implements ISubscriptionCollectionRequest { /** - * The request for this collection of Subscription + * The request builder for this collection of Subscription * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public SubscriptionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public SubscriptionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, SubscriptionCollectionResponse.class, ISubscriptionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ISubscriptionCollectionPage get() throws ClientException { + final SubscriptionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Subscription newSubscription, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new SubscriptionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSubscription, callback); + } + + public Subscription post(final Subscription newSubscription) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new SubscriptionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newSubscription); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISubscriptionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (SubscriptionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISubscriptionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (SubscriptionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ISubscriptionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (SubscriptionCollectionRequest)this; + } + + public ISubscriptionCollectionPage buildFromResponse(final SubscriptionCollectionResponse response) { + final ISubscriptionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new SubscriptionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final SubscriptionCollectionPage page = new SubscriptionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequestBuilder.java index 781be9fadbf..6ee113bf34a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscriptionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscription Collection Request Builder. */ -public class SubscriptionCollectionRequestBuilder extends BaseSubscriptionCollectionRequestBuilder implements ISubscriptionCollectionRequestBuilder { +public class SubscriptionCollectionRequestBuilder extends BaseRequestBuilder implements ISubscriptionCollectionRequestBuilder { /** * The request builder for this collection of Subscription @@ -25,4 +33,18 @@ public class SubscriptionCollectionRequestBuilder extends BaseSubscriptionCollec public SubscriptionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ISubscriptionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ISubscriptionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new SubscriptionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ISubscriptionRequestBuilder byId(final String id) { + return new SubscriptionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionResponse.java new file mode 100644 index 00000000000..4482434a05a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Subscription; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Subscription Collection Response. + */ +public class SubscriptionCollectionResponse implements IJsonBackedObject { + + /** + * The list of Subscription within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequest.java index 964a24cb4d0..d4228684055 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISubscriptionRequest; +import com.microsoft.graph.requests.extensions.SubscriptionRequest; +import com.microsoft.graph.models.extensions.Subscription; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Subscription; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscriptionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscription Request. */ -public class SubscriptionRequest extends BaseSubscriptionRequest implements ISubscriptionRequest { - +public class SubscriptionRequest extends BaseRequest implements ISubscriptionRequest { + /** * The request for the Subscription * @@ -26,4 +32,107 @@ public class SubscriptionRequest extends BaseSubscriptionRequest implements ISub public SubscriptionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Subscription.class); } + + /** + * Gets the Subscription from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Subscription from the service + * + * @return the Subscription from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Subscription get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Subscription with a source + * + * @param sourceSubscription the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Subscription sourceSubscription, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceSubscription); + } + + /** + * Patches this Subscription with a source + * + * @param sourceSubscription the source object with updates + * @return the updated Subscription + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Subscription patch(final Subscription sourceSubscription) throws ClientException { + return send(HttpMethod.PATCH, sourceSubscription); + } + + /** + * Creates a Subscription with a new object + * + * @param newSubscription the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Subscription newSubscription, final ICallback callback) { + send(HttpMethod.POST, callback, newSubscription); + } + + /** + * Creates a Subscription with a new object + * + * @param newSubscription the new object to create + * @return the created Subscription + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Subscription post(final Subscription newSubscription) throws ClientException { + return send(HttpMethod.POST, newSubscription); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ISubscriptionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (SubscriptionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ISubscriptionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (SubscriptionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequestBuilder.java index a44b739aabf..1bc2ae0ba3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ISubscriptionRequest; +import com.microsoft.graph.requests.extensions.SubscriptionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseSubscriptionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Subscription Request Builder. */ -public class SubscriptionRequestBuilder extends BaseSubscriptionRequestBuilder implements ISubscriptionRequestBuilder { +public class SubscriptionRequestBuilder extends BaseRequestBuilder implements ISubscriptionRequestBuilder { /** * The request builder for the Subscription @@ -25,4 +28,26 @@ public class SubscriptionRequestBuilder extends BaseSubscriptionRequestBuilder i public SubscriptionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ISubscriptionRequest instance + */ + public ISubscriptionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ISubscriptionRequest instance + */ + public ISubscriptionRequest buildRequest(final java.util.List requestOptions) { + return new SubscriptionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequest.java index 0b5e5776dbe..e8075c9f56a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfigurationAssignBody; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Assign Request. */ -public class TargetedManagedAppConfigurationAssignRequest extends BaseTargetedManagedAppConfigurationAssignRequest implements ITargetedManagedAppConfigurationAssignRequest { +public class TargetedManagedAppConfigurationAssignRequest extends BaseRequest implements ITargetedManagedAppConfigurationAssignRequest { + protected final TargetedManagedAppConfigurationAssignBody body; /** * The request for this TargetedManagedAppConfigurationAssign @@ -23,6 +31,49 @@ public class TargetedManagedAppConfigurationAssignRequest extends BaseTargetedMa * @param requestOptions the options for this request */ public TargetedManagedAppConfigurationAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new TargetedManagedAppConfigurationAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TargetedManagedAppConfigurationAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITargetedManagedAppConfigurationAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (TargetedManagedAppConfigurationAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TargetedManagedAppConfigurationAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequestBuilder.java index 4a7802a7d8c..46fa1d3efbe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationAssignRequest; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Assign Request Builder. */ -public class TargetedManagedAppConfigurationAssignRequestBuilder extends BaseTargetedManagedAppConfigurationAssignRequestBuilder implements ITargetedManagedAppConfigurationAssignRequestBuilder { +public class TargetedManagedAppConfigurationAssignRequestBuilder extends BaseActionRequestBuilder implements ITargetedManagedAppConfigurationAssignRequestBuilder { /** * The request builder for this TargetedManagedAppConfigurationAssign @@ -25,6 +30,36 @@ public class TargetedManagedAppConfigurationAssignRequestBuilder extends BaseTar * @param assignments the assignments */ public TargetedManagedAppConfigurationAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions, assignments); + super(requestUrl, client, requestOptions); + bodyParams.put("assignments", assignments); + } + + /** + * Creates the ITargetedManagedAppConfigurationAssignRequest + * + * @return the ITargetedManagedAppConfigurationAssignRequest instance + */ + public ITargetedManagedAppConfigurationAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITargetedManagedAppConfigurationAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITargetedManagedAppConfigurationAssignRequest instance + */ + public ITargetedManagedAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions) { + TargetedManagedAppConfigurationAssignRequest request = new TargetedManagedAppConfigurationAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("assignments")) { + request.body.assignments = getParameter("assignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionPage.java index b1d5df4ba7e..6855937e7d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Collection Page. */ -public class TargetedManagedAppConfigurationCollectionPage extends BaseTargetedManagedAppConfigurationCollectionPage implements ITargetedManagedAppConfigurationCollectionPage { +public class TargetedManagedAppConfigurationCollectionPage extends BaseCollectionPage implements ITargetedManagedAppConfigurationCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for TargetedManagedAppConfiguration * - * @param response the serialized BaseTargetedManagedAppConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TargetedManagedAppConfigurationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TargetedManagedAppConfigurationCollectionPage(final BaseTargetedManagedAppConfigurationCollectionResponse response, final ITargetedManagedAppConfigurationCollectionRequestBuilder builder) { - super(response, builder); + public TargetedManagedAppConfigurationCollectionPage(final TargetedManagedAppConfigurationCollectionResponse response, final ITargetedManagedAppConfigurationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequest.java index 109f1e0b3fd..b6ebefbf919 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Collection Request. */ -public class TargetedManagedAppConfigurationCollectionRequest extends BaseTargetedManagedAppConfigurationCollectionRequest implements ITargetedManagedAppConfigurationCollectionRequest { +public class TargetedManagedAppConfigurationCollectionRequest extends BaseCollectionRequest implements ITargetedManagedAppConfigurationCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of TargetedManagedAppConfiguration * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TargetedManagedAppConfigurationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TargetedManagedAppConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TargetedManagedAppConfigurationCollectionResponse.class, ITargetedManagedAppConfigurationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITargetedManagedAppConfigurationCollectionPage get() throws ClientException { + final TargetedManagedAppConfigurationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TargetedManagedAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTargetedManagedAppConfiguration, callback); + } + + public TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TargetedManagedAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTargetedManagedAppConfiguration); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TargetedManagedAppConfigurationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TargetedManagedAppConfigurationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITargetedManagedAppConfigurationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TargetedManagedAppConfigurationCollectionRequest)this; + } + + public ITargetedManagedAppConfigurationCollectionPage buildFromResponse(final TargetedManagedAppConfigurationCollectionResponse response) { + final ITargetedManagedAppConfigurationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TargetedManagedAppConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TargetedManagedAppConfigurationCollectionPage page = new TargetedManagedAppConfigurationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequestBuilder.java index 28caca4e500..8919f420385 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Collection Request Builder. */ -public class TargetedManagedAppConfigurationCollectionRequestBuilder extends BaseTargetedManagedAppConfigurationCollectionRequestBuilder implements ITargetedManagedAppConfigurationCollectionRequestBuilder { +public class TargetedManagedAppConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements ITargetedManagedAppConfigurationCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class TargetedManagedAppConfigurationCollectionRequestBuilder extends Bas public TargetedManagedAppConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITargetedManagedAppConfigurationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITargetedManagedAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TargetedManagedAppConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITargetedManagedAppConfigurationRequestBuilder byId(final String id) { + return new TargetedManagedAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionResponse.java new file mode 100644 index 00000000000..3c97d073099 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Targeted Managed App Configuration Collection Response. + */ +public class TargetedManagedAppConfigurationCollectionResponse implements IJsonBackedObject { + + /** + * The list of TargetedManagedAppConfiguration within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequest.java index 4364a46d023..e26b02478f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationRequest; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Request. */ -public class TargetedManagedAppConfigurationRequest extends BaseTargetedManagedAppConfigurationRequest implements ITargetedManagedAppConfigurationRequest { - +public class TargetedManagedAppConfigurationRequest extends BaseRequest implements ITargetedManagedAppConfigurationRequest { + /** * The request for the TargetedManagedAppConfiguration * @@ -26,4 +32,107 @@ public class TargetedManagedAppConfigurationRequest extends BaseTargetedManagedA public TargetedManagedAppConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TargetedManagedAppConfiguration.class); } + + /** + * Gets the TargetedManagedAppConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TargetedManagedAppConfiguration from the service + * + * @return the TargetedManagedAppConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TargetedManagedAppConfiguration with a source + * + * @param sourceTargetedManagedAppConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTargetedManagedAppConfiguration); + } + + /** + * Patches this TargetedManagedAppConfiguration with a source + * + * @param sourceTargetedManagedAppConfiguration the source object with updates + * @return the updated TargetedManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppConfiguration patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceTargetedManagedAppConfiguration); + } + + /** + * Creates a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newTargetedManagedAppConfiguration); + } + + /** + * Creates a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the new object to create + * @return the created TargetedManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException { + return send(HttpMethod.POST, newTargetedManagedAppConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TargetedManagedAppConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TargetedManagedAppConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequestBuilder.java index fa13743fbc6..ab1bff642ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequestBuilder.java @@ -3,17 +3,36 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationRequest; +import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationAssignRequestBuilder; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationTargetAppsRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Request Builder. */ -public class TargetedManagedAppConfigurationRequestBuilder extends BaseTargetedManagedAppConfigurationRequestBuilder implements ITargetedManagedAppConfigurationRequestBuilder { +public class TargetedManagedAppConfigurationRequestBuilder extends BaseRequestBuilder implements ITargetedManagedAppConfigurationRequestBuilder { /** * The request builder for the TargetedManagedAppConfiguration @@ -25,4 +44,57 @@ public class TargetedManagedAppConfigurationRequestBuilder extends BaseTargetedM public TargetedManagedAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITargetedManagedAppConfigurationRequest instance + */ + public ITargetedManagedAppConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITargetedManagedAppConfigurationRequest instance + */ + public ITargetedManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new TargetedManagedAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IManagedMobileAppCollectionRequestBuilder apps() { + return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); + } + + public IManagedMobileAppRequestBuilder apps(final String id) { + return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for ManagedAppPolicyDeploymentSummary + * + * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance + */ + public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { + return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); + } + public ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments() { + return new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id) { + return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + public ITargetedManagedAppConfigurationAssignRequestBuilder assign(final java.util.List assignments) { + return new TargetedManagedAppConfigurationAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); + } + + public ITargetedManagedAppConfigurationTargetAppsRequestBuilder targetApps(final java.util.List apps) { + return new TargetedManagedAppConfigurationTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, apps); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequest.java index b914448549f..83ae6a5feee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfigurationTargetAppsBody; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationTargetAppsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationTargetAppsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Target Apps Request. */ -public class TargetedManagedAppConfigurationTargetAppsRequest extends BaseTargetedManagedAppConfigurationTargetAppsRequest implements ITargetedManagedAppConfigurationTargetAppsRequest { +public class TargetedManagedAppConfigurationTargetAppsRequest extends BaseRequest implements ITargetedManagedAppConfigurationTargetAppsRequest { + protected final TargetedManagedAppConfigurationTargetAppsBody body; /** * The request for this TargetedManagedAppConfigurationTargetApps @@ -23,6 +31,49 @@ public class TargetedManagedAppConfigurationTargetAppsRequest extends BaseTarget * @param requestOptions the options for this request */ public TargetedManagedAppConfigurationTargetAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new TargetedManagedAppConfigurationTargetAppsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationTargetAppsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TargetedManagedAppConfigurationTargetAppsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITargetedManagedAppConfigurationTargetAppsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (TargetedManagedAppConfigurationTargetAppsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppConfigurationTargetAppsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TargetedManagedAppConfigurationTargetAppsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequestBuilder.java index e49915388ee..102f47bb220 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationTargetAppsRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationTargetAppsRequest; +import com.microsoft.graph.models.extensions.ManagedMobileApp; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ManagedMobileApp; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Configuration Target Apps Request Builder. */ -public class TargetedManagedAppConfigurationTargetAppsRequestBuilder extends BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder implements ITargetedManagedAppConfigurationTargetAppsRequestBuilder { +public class TargetedManagedAppConfigurationTargetAppsRequestBuilder extends BaseActionRequestBuilder implements ITargetedManagedAppConfigurationTargetAppsRequestBuilder { /** * The request builder for this TargetedManagedAppConfigurationTargetApps @@ -25,6 +30,36 @@ public class TargetedManagedAppConfigurationTargetAppsRequestBuilder extends Bas * @param apps the apps */ public TargetedManagedAppConfigurationTargetAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List apps) { - super(requestUrl, client, requestOptions, apps); + super(requestUrl, client, requestOptions); + bodyParams.put("apps", apps); + } + + /** + * Creates the ITargetedManagedAppConfigurationTargetAppsRequest + * + * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance + */ + public ITargetedManagedAppConfigurationTargetAppsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITargetedManagedAppConfigurationTargetAppsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance + */ + public ITargetedManagedAppConfigurationTargetAppsRequest buildRequest(final java.util.List requestOptions) { + TargetedManagedAppConfigurationTargetAppsRequest request = new TargetedManagedAppConfigurationTargetAppsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("apps")) { + request.body.apps = getParameter("apps"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionPage.java index 343735c70ba..82f6b028e42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Policy Assignment Collection Page. */ -public class TargetedManagedAppPolicyAssignmentCollectionPage extends BaseTargetedManagedAppPolicyAssignmentCollectionPage implements ITargetedManagedAppPolicyAssignmentCollectionPage { +public class TargetedManagedAppPolicyAssignmentCollectionPage extends BaseCollectionPage implements ITargetedManagedAppPolicyAssignmentCollectionPage { /** - * A collection page for WindowsInformationProtection. + * A collection page for TargetedManagedAppPolicyAssignment * - * @param response the serialized BaseTargetedManagedAppPolicyAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TargetedManagedAppPolicyAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TargetedManagedAppPolicyAssignmentCollectionPage(final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response, final ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public TargetedManagedAppPolicyAssignmentCollectionPage(final TargetedManagedAppPolicyAssignmentCollectionResponse response, final ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequest.java index 7dd3afcf223..5fbb8ceabd0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Policy Assignment Collection Request. */ -public class TargetedManagedAppPolicyAssignmentCollectionRequest extends BaseTargetedManagedAppPolicyAssignmentCollectionRequest implements ITargetedManagedAppPolicyAssignmentCollectionRequest { +public class TargetedManagedAppPolicyAssignmentCollectionRequest extends BaseCollectionRequest implements ITargetedManagedAppPolicyAssignmentCollectionRequest { /** - * The request for this collection of WindowsInformationProtection + * The request builder for this collection of TargetedManagedAppPolicyAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TargetedManagedAppPolicyAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TargetedManagedAppPolicyAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TargetedManagedAppPolicyAssignmentCollectionResponse.class, ITargetedManagedAppPolicyAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITargetedManagedAppPolicyAssignmentCollectionPage get() throws ClientException { + final TargetedManagedAppPolicyAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TargetedManagedAppPolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTargetedManagedAppPolicyAssignment, callback); + } + + public TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TargetedManagedAppPolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTargetedManagedAppPolicyAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppPolicyAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TargetedManagedAppPolicyAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppPolicyAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TargetedManagedAppPolicyAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITargetedManagedAppPolicyAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TargetedManagedAppPolicyAssignmentCollectionRequest)this; + } + + public ITargetedManagedAppPolicyAssignmentCollectionPage buildFromResponse(final TargetedManagedAppPolicyAssignmentCollectionResponse response) { + final ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TargetedManagedAppPolicyAssignmentCollectionPage page = new TargetedManagedAppPolicyAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java index bddc70c10d7..39d2c14f804 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Policy Assignment Collection Request Builder. */ -public class TargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder implements ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder { +public class TargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder { /** * The request builder for this collection of WindowsInformationProtection @@ -25,4 +33,18 @@ public class TargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends public TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TargetedManagedAppPolicyAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITargetedManagedAppPolicyAssignmentRequestBuilder byId(final String id) { + return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionResponse.java new file mode 100644 index 00000000000..09a2eede542 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Targeted Managed App Policy Assignment Collection Response. + */ +public class TargetedManagedAppPolicyAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of TargetedManagedAppPolicyAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequest.java index 91fa4e0dc39..004e8fa80cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequest; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Policy Assignment Request. */ -public class TargetedManagedAppPolicyAssignmentRequest extends BaseTargetedManagedAppPolicyAssignmentRequest implements ITargetedManagedAppPolicyAssignmentRequest { - +public class TargetedManagedAppPolicyAssignmentRequest extends BaseRequest implements ITargetedManagedAppPolicyAssignmentRequest { + /** * The request for the TargetedManagedAppPolicyAssignment * @@ -26,4 +32,107 @@ public class TargetedManagedAppPolicyAssignmentRequest extends BaseTargetedManag public TargetedManagedAppPolicyAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TargetedManagedAppPolicyAssignment.class); } + + /** + * Gets the TargetedManagedAppPolicyAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TargetedManagedAppPolicyAssignment from the service + * + * @return the TargetedManagedAppPolicyAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppPolicyAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TargetedManagedAppPolicyAssignment with a source + * + * @param sourceTargetedManagedAppPolicyAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTargetedManagedAppPolicyAssignment); + } + + /** + * Patches this TargetedManagedAppPolicyAssignment with a source + * + * @param sourceTargetedManagedAppPolicyAssignment the source object with updates + * @return the updated TargetedManagedAppPolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppPolicyAssignment patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceTargetedManagedAppPolicyAssignment); + } + + /** + * Creates a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newTargetedManagedAppPolicyAssignment); + } + + /** + * Creates a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the new object to create + * @return the created TargetedManagedAppPolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException { + return send(HttpMethod.POST, newTargetedManagedAppPolicyAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppPolicyAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TargetedManagedAppPolicyAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppPolicyAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TargetedManagedAppPolicyAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequestBuilder.java index 418536bb8d3..647e3a5d93a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppPolicyAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Policy Assignment Request Builder. */ -public class TargetedManagedAppPolicyAssignmentRequestBuilder extends BaseTargetedManagedAppPolicyAssignmentRequestBuilder implements ITargetedManagedAppPolicyAssignmentRequestBuilder { +public class TargetedManagedAppPolicyAssignmentRequestBuilder extends BaseRequestBuilder implements ITargetedManagedAppPolicyAssignmentRequestBuilder { /** * The request builder for the TargetedManagedAppPolicyAssignment @@ -25,4 +28,26 @@ public class TargetedManagedAppPolicyAssignmentRequestBuilder extends BaseTarget public TargetedManagedAppPolicyAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITargetedManagedAppPolicyAssignmentRequest instance + */ + public ITargetedManagedAppPolicyAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITargetedManagedAppPolicyAssignmentRequest instance + */ + public ITargetedManagedAppPolicyAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new TargetedManagedAppPolicyAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequest.java index 86419b62123..6073da0c432 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TargetedManagedAppProtectionAssignBody; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppProtectionAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Protection Assign Request. */ -public class TargetedManagedAppProtectionAssignRequest extends BaseTargetedManagedAppProtectionAssignRequest implements ITargetedManagedAppProtectionAssignRequest { +public class TargetedManagedAppProtectionAssignRequest extends BaseRequest implements ITargetedManagedAppProtectionAssignRequest { + protected final TargetedManagedAppProtectionAssignBody body; /** * The request for this TargetedManagedAppProtectionAssign @@ -23,6 +31,49 @@ public class TargetedManagedAppProtectionAssignRequest extends BaseTargetedManag * @param requestOptions the options for this request */ public TargetedManagedAppProtectionAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new TargetedManagedAppProtectionAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppProtectionAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TargetedManagedAppProtectionAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITargetedManagedAppProtectionAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (TargetedManagedAppProtectionAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppProtectionAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TargetedManagedAppProtectionAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequestBuilder.java index a07416b211d..cbff0b04ee3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionAssignRequest; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppProtectionAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Protection Assign Request Builder. */ -public class TargetedManagedAppProtectionAssignRequestBuilder extends BaseTargetedManagedAppProtectionAssignRequestBuilder implements ITargetedManagedAppProtectionAssignRequestBuilder { +public class TargetedManagedAppProtectionAssignRequestBuilder extends BaseActionRequestBuilder implements ITargetedManagedAppProtectionAssignRequestBuilder { /** * The request builder for this TargetedManagedAppProtectionAssign @@ -25,6 +30,36 @@ public class TargetedManagedAppProtectionAssignRequestBuilder extends BaseTarget * @param assignments the assignments */ public TargetedManagedAppProtectionAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions, assignments); + super(requestUrl, client, requestOptions); + bodyParams.put("assignments", assignments); + } + + /** + * Creates the ITargetedManagedAppProtectionAssignRequest + * + * @return the ITargetedManagedAppProtectionAssignRequest instance + */ + public ITargetedManagedAppProtectionAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITargetedManagedAppProtectionAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITargetedManagedAppProtectionAssignRequest instance + */ + public ITargetedManagedAppProtectionAssignRequest buildRequest(final java.util.List requestOptions) { + TargetedManagedAppProtectionAssignRequest request = new TargetedManagedAppProtectionAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("assignments")) { + request.body.assignments = getParameter("assignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequest.java index daa6f4e78ac..03296c2f3d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionRequest; +import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Protection Request. */ -public class TargetedManagedAppProtectionRequest extends BaseTargetedManagedAppProtectionRequest implements ITargetedManagedAppProtectionRequest { - +public class TargetedManagedAppProtectionRequest extends BaseRequest implements ITargetedManagedAppProtectionRequest { + /** * The request for the TargetedManagedAppProtection * @@ -41,4 +47,107 @@ public TargetedManagedAppProtectionRequest(final String requestUrl, public TargetedManagedAppProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TargetedManagedAppProtection.class); } + + /** + * Gets the TargetedManagedAppProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TargetedManagedAppProtection from the service + * + * @return the TargetedManagedAppProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TargetedManagedAppProtection with a source + * + * @param sourceTargetedManagedAppProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTargetedManagedAppProtection); + } + + /** + * Patches this TargetedManagedAppProtection with a source + * + * @param sourceTargetedManagedAppProtection the source object with updates + * @return the updated TargetedManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppProtection patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceTargetedManagedAppProtection); + } + + /** + * Creates a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TargetedManagedAppProtection newTargetedManagedAppProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newTargetedManagedAppProtection); + } + + /** + * Creates a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the new object to create + * @return the created TargetedManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppProtection post(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException { + return send(HttpMethod.POST, newTargetedManagedAppProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITargetedManagedAppProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TargetedManagedAppProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITargetedManagedAppProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TargetedManagedAppProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequestBuilder.java index 78130ff2b03..4d2ba66bcc8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequestBuilder.java @@ -3,17 +3,27 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionRequest; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionAssignRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTargetedManagedAppProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Targeted Managed App Protection Request Builder. */ -public class TargetedManagedAppProtectionRequestBuilder extends BaseTargetedManagedAppProtectionRequestBuilder implements ITargetedManagedAppProtectionRequestBuilder { +public class TargetedManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements ITargetedManagedAppProtectionRequestBuilder { /** * The request builder for the TargetedManagedAppProtection @@ -25,4 +35,37 @@ public class TargetedManagedAppProtectionRequestBuilder extends BaseTargetedMana public TargetedManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITargetedManagedAppProtectionRequest instance + */ + public ITargetedManagedAppProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITargetedManagedAppProtectionRequest instance + */ + public ITargetedManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { + return new TargetedManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments() { + return new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id) { + return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + public ITargetedManagedAppProtectionAssignRequestBuilder assign(final java.util.List assignments) { + return new TargetedManagedAppProtectionAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequest.java index 33fe5248d7d..058fb709b8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamArchiveBody; +import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; +import com.microsoft.graph.requests.extensions.TeamArchiveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamArchiveRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Archive Request. */ -public class TeamArchiveRequest extends BaseTeamArchiveRequest implements ITeamArchiveRequest { +public class TeamArchiveRequest extends BaseRequest implements ITeamArchiveRequest { + protected final TeamArchiveBody body; /** * The request for this TeamArchive @@ -23,6 +31,49 @@ public class TeamArchiveRequest extends BaseTeamArchiveRequest implements ITeamA * @param requestOptions the options for this request */ public TeamArchiveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new TeamArchiveBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamArchiveRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamArchiveRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamArchiveRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (TeamArchiveRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamArchiveRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamArchiveRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequestBuilder.java index 4b2f172d182..be73827e200 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamArchiveRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; +import com.microsoft.graph.requests.extensions.TeamArchiveRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamArchiveRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Archive Request Builder. */ -public class TeamArchiveRequestBuilder extends BaseTeamArchiveRequestBuilder implements ITeamArchiveRequestBuilder { +public class TeamArchiveRequestBuilder extends BaseActionRequestBuilder implements ITeamArchiveRequestBuilder { /** * The request builder for this TeamArchive @@ -24,6 +29,36 @@ public class TeamArchiveRequestBuilder extends BaseTeamArchiveRequestBuilder imp * @param shouldSetSpoSiteReadOnlyForMembers the shouldSetSpoSiteReadOnlyForMembers */ public TeamArchiveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean shouldSetSpoSiteReadOnlyForMembers) { - super(requestUrl, client, requestOptions, shouldSetSpoSiteReadOnlyForMembers); + super(requestUrl, client, requestOptions); + bodyParams.put("shouldSetSpoSiteReadOnlyForMembers", shouldSetSpoSiteReadOnlyForMembers); + } + + /** + * Creates the ITeamArchiveRequest + * + * @return the ITeamArchiveRequest instance + */ + public ITeamArchiveRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITeamArchiveRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITeamArchiveRequest instance + */ + public ITeamArchiveRequest buildRequest(final java.util.List requestOptions) { + TeamArchiveRequest request = new TeamArchiveRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("shouldSetSpoSiteReadOnlyForMembers")) { + request.body.shouldSetSpoSiteReadOnlyForMembers = getParameter("shouldSetSpoSiteReadOnlyForMembers"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequest.java index f44ea78dede..146a6d9740d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamCloneBody; +import com.microsoft.graph.requests.extensions.ITeamCloneRequest; +import com.microsoft.graph.requests.extensions.TeamCloneRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamCloneRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Clone Request. */ -public class TeamCloneRequest extends BaseTeamCloneRequest implements ITeamCloneRequest { +public class TeamCloneRequest extends BaseRequest implements ITeamCloneRequest { + protected final TeamCloneBody body; /** * The request for this TeamClone @@ -23,6 +31,49 @@ public class TeamCloneRequest extends BaseTeamCloneRequest implements ITeamClone * @param requestOptions the options for this request */ public TeamCloneRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new TeamCloneBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamCloneRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamCloneRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamCloneRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (TeamCloneRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamCloneRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamCloneRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequestBuilder.java index 69b20a354df..ff5093b2a00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamCloneRequestBuilder.java @@ -3,21 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; - +import com.microsoft.graph.requests.extensions.ITeamCloneRequest; +import com.microsoft.graph.requests.extensions.TeamCloneRequest; +import com.microsoft.graph.models.generated.TeamVisibilityType; import java.util.EnumSet; +import com.microsoft.graph.models.generated.ClonableTeamParts; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.generated.ClonableTeamParts; -import com.microsoft.graph.models.generated.TeamVisibilityType; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamCloneRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Clone Request Builder. */ -public class TeamCloneRequestBuilder extends BaseTeamCloneRequestBuilder implements ITeamCloneRequestBuilder { +public class TeamCloneRequestBuilder extends BaseActionRequestBuilder implements ITeamCloneRequestBuilder { /** * The request builder for this TeamClone @@ -33,6 +37,61 @@ public class TeamCloneRequestBuilder extends BaseTeamCloneRequestBuilder impleme * @param partsToClone the partsToClone */ public TeamCloneRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String displayName, final String description, final String mailNickname, final String classification, final TeamVisibilityType visibility, final EnumSet partsToClone) { - super(requestUrl, client, requestOptions, displayName, description, mailNickname, classification, visibility, partsToClone); + super(requestUrl, client, requestOptions); + bodyParams.put("displayName", displayName); + bodyParams.put("description", description); + bodyParams.put("mailNickname", mailNickname); + bodyParams.put("classification", classification); + bodyParams.put("visibility", visibility); + bodyParams.put("partsToClone", partsToClone); + } + + /** + * Creates the ITeamCloneRequest + * + * @return the ITeamCloneRequest instance + */ + public ITeamCloneRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITeamCloneRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITeamCloneRequest instance + */ + public ITeamCloneRequest buildRequest(final java.util.List requestOptions) { + TeamCloneRequest request = new TeamCloneRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("displayName")) { + request.body.displayName = getParameter("displayName"); + } + + if (hasParameter("description")) { + request.body.description = getParameter("description"); + } + + if (hasParameter("mailNickname")) { + request.body.mailNickname = getParameter("mailNickname"); + } + + if (hasParameter("classification")) { + request.body.classification = getParameter("classification"); + } + + if (hasParameter("visibility")) { + request.body.visibility = getParameter("visibility"); + } + + if (hasParameter("partsToClone")) { + request.body.partsToClone = getParameter("partsToClone"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionPage.java index 8a2e73c93bf..61cea30b280 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Team; +import com.microsoft.graph.requests.extensions.ITeamCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Collection Page. */ -public class TeamCollectionPage extends BaseTeamCollectionPage implements ITeamCollectionPage { +public class TeamCollectionPage extends BaseCollectionPage implements ITeamCollectionPage { /** - * A collection page for Team. + * A collection page for Team * - * @param response the serialized BaseTeamCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TeamCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TeamCollectionPage(final BaseTeamCollectionResponse response, final ITeamCollectionRequestBuilder builder) { - super(response, builder); + public TeamCollectionPage(final TeamCollectionResponse response, final ITeamCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequest.java index ec372379fe6..efa62c3d47d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Collection Request. */ -public class TeamCollectionRequest extends BaseTeamCollectionRequest implements ITeamCollectionRequest { +public class TeamCollectionRequest extends BaseCollectionRequest implements ITeamCollectionRequest { /** - * The request for this collection of Team + * The request builder for this collection of Team * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TeamCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamCollectionResponse.class, ITeamCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITeamCollectionPage get() throws ClientException { + final TeamCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Team newTeam, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TeamRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeam, callback); + } + + public Team post(final Team newTeam) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TeamRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeam); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TeamCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TeamCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TeamCollectionRequest)this; + } + + public ITeamCollectionPage buildFromResponse(final TeamCollectionResponse response) { + final ITeamCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TeamCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TeamCollectionPage page = new TeamCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequestBuilder.java index 9c4563067b2..f15a761dc5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Collection Request Builder. */ -public class TeamCollectionRequestBuilder extends BaseTeamCollectionRequestBuilder implements ITeamCollectionRequestBuilder { +public class TeamCollectionRequestBuilder extends BaseRequestBuilder implements ITeamCollectionRequestBuilder { /** * The request builder for this collection of Team @@ -25,4 +33,18 @@ public class TeamCollectionRequestBuilder extends BaseTeamCollectionRequestBuild public TeamCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITeamCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITeamCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TeamCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamRequestBuilder byId(final String id) { + return new TeamRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionResponse.java new file mode 100644 index 00000000000..56b6eac2b6c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Team; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Team Collection Response. + */ +public class TeamCollectionResponse implements IJsonBackedObject { + + /** + * The list of Team within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamRequest.java index 6fc18d4dfde..120db272988 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamRequest; +import com.microsoft.graph.requests.extensions.TeamRequest; +import com.microsoft.graph.models.extensions.Team; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Team; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Request. */ -public class TeamRequest extends BaseTeamRequest implements ITeamRequest { - +public class TeamRequest extends BaseRequest implements ITeamRequest { + /** * The request for the Team * @@ -26,4 +32,107 @@ public class TeamRequest extends BaseTeamRequest implements ITeamRequest { public TeamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Team.class); } + + /** + * Gets the Team from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Team from the service + * + * @return the Team from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Team get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Team with a source + * + * @param sourceTeam the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Team sourceTeam, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeam); + } + + /** + * Patches this Team with a source + * + * @param sourceTeam the source object with updates + * @return the updated Team + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Team patch(final Team sourceTeam) throws ClientException { + return send(HttpMethod.PATCH, sourceTeam); + } + + /** + * Creates a Team with a new object + * + * @param newTeam the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Team newTeam, final ICallback callback) { + send(HttpMethod.POST, callback, newTeam); + } + + /** + * Creates a Team with a new object + * + * @param newTeam the new object to create + * @return the created Team + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Team post(final Team newTeam) throws ClientException { + return send(HttpMethod.POST, newTeam); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamRequestBuilder.java index 29701e137f5..37ca45d1ead 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamRequestBuilder.java @@ -3,17 +3,40 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamRequest; +import com.microsoft.graph.requests.extensions.TeamRequest; +import com.microsoft.graph.requests.extensions.IChannelCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ChannelCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IChannelRequestBuilder; +import com.microsoft.graph.requests.extensions.ChannelRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAsyncOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAsyncOperationRequestBuilder; +import com.microsoft.graph.models.generated.TeamVisibilityType; +import com.microsoft.graph.models.generated.ClonableTeamParts; +import com.microsoft.graph.requests.extensions.ITeamCloneRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamCloneRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamArchiveRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamArchiveRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamUnarchiveRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Request Builder. */ -public class TeamRequestBuilder extends BaseTeamRequestBuilder implements ITeamRequestBuilder { +public class TeamRequestBuilder extends BaseRequestBuilder implements ITeamRequestBuilder { /** * The request builder for the Team @@ -25,4 +48,59 @@ public class TeamRequestBuilder extends BaseTeamRequestBuilder implements ITeamR public TeamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamRequest instance + */ + public ITeamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamRequest instance + */ + public ITeamRequest buildRequest(final java.util.List requestOptions) { + return new TeamRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IChannelCollectionRequestBuilder channels() { + return new ChannelCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("channels"), getClient(), null); + } + + public IChannelRequestBuilder channels(final String id) { + return new ChannelRequestBuilder(getRequestUrlWithAdditionalSegment("channels") + "/" + id, getClient(), null); + } + public ITeamsAppInstallationCollectionRequestBuilder installedApps() { + return new TeamsAppInstallationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("installedApps"), getClient(), null); + } + + public ITeamsAppInstallationRequestBuilder installedApps(final String id) { + return new TeamsAppInstallationRequestBuilder(getRequestUrlWithAdditionalSegment("installedApps") + "/" + id, getClient(), null); + } + public ITeamsAsyncOperationCollectionRequestBuilder operations() { + return new TeamsAsyncOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null); + } + + public ITeamsAsyncOperationRequestBuilder operations(final String id) { + return new TeamsAsyncOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null); + } + + public ITeamCloneRequestBuilder clone(final String displayName, final String description, final String mailNickname, final String classification, final TeamVisibilityType visibility, final EnumSet partsToClone) { + return new TeamCloneRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clone"), getClient(), null, displayName, description, mailNickname, classification, visibility, partsToClone); + } + + public ITeamArchiveRequestBuilder archive(final Boolean shouldSetSpoSiteReadOnlyForMembers) { + return new TeamArchiveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.archive"), getClient(), null, shouldSetSpoSiteReadOnlyForMembers); + } + + public ITeamUnarchiveRequestBuilder unarchive() { + return new TeamUnarchiveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unarchive"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequest.java index 16d777d7cc0..c2b02f80765 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; +import com.microsoft.graph.requests.extensions.TeamUnarchiveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamUnarchiveRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Unarchive Request. */ -public class TeamUnarchiveRequest extends BaseTeamUnarchiveRequest implements ITeamUnarchiveRequest { +public class TeamUnarchiveRequest extends BaseRequest implements ITeamUnarchiveRequest { /** * The request for this TeamUnarchive @@ -23,6 +30,35 @@ public class TeamUnarchiveRequest extends BaseTeamUnarchiveRequest implements IT * @param requestOptions the options for this request */ public TeamUnarchiveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the TeamUnarchive + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the TeamUnarchive + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequestBuilder.java index 7a86347b688..9299541e705 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamUnarchiveRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; +import com.microsoft.graph.requests.extensions.TeamUnarchiveRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamUnarchiveRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Team Unarchive Request Builder. */ -public class TeamUnarchiveRequestBuilder extends BaseTeamUnarchiveRequestBuilder implements ITeamUnarchiveRequestBuilder { +public class TeamUnarchiveRequestBuilder extends BaseActionRequestBuilder implements ITeamUnarchiveRequestBuilder { /** * The request builder for this TeamUnarchive @@ -25,4 +30,29 @@ public class TeamUnarchiveRequestBuilder extends BaseTeamUnarchiveRequestBuilder public TeamUnarchiveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the ITeamUnarchiveRequest + * + * @return the ITeamUnarchiveRequest instance + */ + public ITeamUnarchiveRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITeamUnarchiveRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITeamUnarchiveRequest instance + */ + public ITeamUnarchiveRequest buildRequest(final java.util.List requestOptions) { + TeamUnarchiveRequest request = new TeamUnarchiveRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionPage.java index 840f49a5f53..ee6a3f56751 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsApp; +import com.microsoft.graph.requests.extensions.ITeamsAppCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Collection Page. */ -public class TeamsAppCollectionPage extends BaseTeamsAppCollectionPage implements ITeamsAppCollectionPage { +public class TeamsAppCollectionPage extends BaseCollectionPage implements ITeamsAppCollectionPage { /** - * A collection page for AppCatalogs. + * A collection page for TeamsApp * - * @param response the serialized BaseTeamsAppCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TeamsAppCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TeamsAppCollectionPage(final BaseTeamsAppCollectionResponse response, final ITeamsAppCollectionRequestBuilder builder) { - super(response, builder); + public TeamsAppCollectionPage(final TeamsAppCollectionResponse response, final ITeamsAppCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequest.java index bf98b3f0e60..599a97c52eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Collection Request. */ -public class TeamsAppCollectionRequest extends BaseTeamsAppCollectionRequest implements ITeamsAppCollectionRequest { +public class TeamsAppCollectionRequest extends BaseCollectionRequest implements ITeamsAppCollectionRequest { /** - * The request for this collection of AppCatalogs + * The request builder for this collection of TeamsApp * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsAppCollectionResponse.class, ITeamsAppCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITeamsAppCollectionPage get() throws ClientException { + final TeamsAppCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TeamsApp newTeamsApp, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TeamsAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsApp, callback); + } + + public TeamsApp post(final TeamsApp newTeamsApp) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TeamsAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsApp); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TeamsAppCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TeamsAppCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamsAppCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TeamsAppCollectionRequest)this; + } + + public ITeamsAppCollectionPage buildFromResponse(final TeamsAppCollectionResponse response) { + final ITeamsAppCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TeamsAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TeamsAppCollectionPage page = new TeamsAppCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequestBuilder.java index ec0041dc5d8..5ac3fff7003 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Collection Request Builder. */ -public class TeamsAppCollectionRequestBuilder extends BaseTeamsAppCollectionRequestBuilder implements ITeamsAppCollectionRequestBuilder { +public class TeamsAppCollectionRequestBuilder extends BaseRequestBuilder implements ITeamsAppCollectionRequestBuilder { /** * The request builder for this collection of AppCatalogs @@ -25,4 +33,18 @@ public class TeamsAppCollectionRequestBuilder extends BaseTeamsAppCollectionRequ public TeamsAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITeamsAppCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITeamsAppCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsAppRequestBuilder byId(final String id) { + return new TeamsAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionResponse.java new file mode 100644 index 00000000000..332259f0345 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsApp; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Teams App Collection Response. + */ +public class TeamsAppCollectionResponse implements IJsonBackedObject { + + /** + * The list of TeamsApp within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionPage.java index 2a8eb602a1e..be774cf6115 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAppDefinition; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Collection Page. */ -public class TeamsAppDefinitionCollectionPage extends BaseTeamsAppDefinitionCollectionPage implements ITeamsAppDefinitionCollectionPage { +public class TeamsAppDefinitionCollectionPage extends BaseCollectionPage implements ITeamsAppDefinitionCollectionPage { /** - * A collection page for TeamsApp. + * A collection page for TeamsAppDefinition * - * @param response the serialized BaseTeamsAppDefinitionCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TeamsAppDefinitionCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TeamsAppDefinitionCollectionPage(final BaseTeamsAppDefinitionCollectionResponse response, final ITeamsAppDefinitionCollectionRequestBuilder builder) { - super(response, builder); + public TeamsAppDefinitionCollectionPage(final TeamsAppDefinitionCollectionResponse response, final ITeamsAppDefinitionCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequest.java index d11394c3a2b..92ac182e476 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Collection Request. */ -public class TeamsAppDefinitionCollectionRequest extends BaseTeamsAppDefinitionCollectionRequest implements ITeamsAppDefinitionCollectionRequest { +public class TeamsAppDefinitionCollectionRequest extends BaseCollectionRequest implements ITeamsAppDefinitionCollectionRequest { /** - * The request for this collection of TeamsApp + * The request builder for this collection of TeamsAppDefinition * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppDefinitionCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppDefinitionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsAppDefinitionCollectionResponse.class, ITeamsAppDefinitionCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITeamsAppDefinitionCollectionPage get() throws ClientException { + final TeamsAppDefinitionCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TeamsAppDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsAppDefinition, callback); + } + + public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TeamsAppDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsAppDefinition); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppDefinitionCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TeamsAppDefinitionCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppDefinitionCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TeamsAppDefinitionCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamsAppDefinitionCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TeamsAppDefinitionCollectionRequest)this; + } + + public ITeamsAppDefinitionCollectionPage buildFromResponse(final TeamsAppDefinitionCollectionResponse response) { + final ITeamsAppDefinitionCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TeamsAppDefinitionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TeamsAppDefinitionCollectionPage page = new TeamsAppDefinitionCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequestBuilder.java index 4e59e439754..ecd71d6b2a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Collection Request Builder. */ -public class TeamsAppDefinitionCollectionRequestBuilder extends BaseTeamsAppDefinitionCollectionRequestBuilder implements ITeamsAppDefinitionCollectionRequestBuilder { +public class TeamsAppDefinitionCollectionRequestBuilder extends BaseRequestBuilder implements ITeamsAppDefinitionCollectionRequestBuilder { /** * The request builder for this collection of TeamsApp @@ -25,4 +33,18 @@ public class TeamsAppDefinitionCollectionRequestBuilder extends BaseTeamsAppDefi public TeamsAppDefinitionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITeamsAppDefinitionCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITeamsAppDefinitionCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppDefinitionCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsAppDefinitionRequestBuilder byId(final String id) { + return new TeamsAppDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionResponse.java new file mode 100644 index 00000000000..aee89c18d95 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAppDefinition; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Teams App Definition Collection Response. + */ +public class TeamsAppDefinitionCollectionResponse implements IJsonBackedObject { + + /** + * The list of TeamsAppDefinition within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequest.java index df3f8fd212d..da2dbf1ade4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Reference Request. */ -public class TeamsAppDefinitionReferenceRequest extends BaseTeamsAppDefinitionReferenceRequest implements ITeamsAppDefinitionReferenceRequest { +public class TeamsAppDefinitionReferenceRequest extends BaseRequest implements ITeamsAppDefinitionReferenceRequest { /** * The request for the TeamsAppDefinition @@ -22,7 +30,57 @@ public class TeamsAppDefinitionReferenceRequest extends BaseTeamsAppDefinitionRe * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppDefinitionReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppDefinitionReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsAppDefinition.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public TeamsAppDefinition delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppDefinitionReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsAppDefinitionReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppDefinitionReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppDefinitionReferenceRequest)this; + } + /** + * Puts the TeamsAppDefinition + * + * @param srcTeamsAppDefinition the TeamsAppDefinition reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(TeamsAppDefinition srcTeamsAppDefinition, final ICallback callback) { + send(HttpMethod.PUT, callback, srcTeamsAppDefinition); + } + + /** + * Puts the TeamsAppDefinition + * + * @param srcTeamsAppDefinition the TeamsAppDefinition reference to PUT + * @return the TeamsAppDefinition + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public TeamsAppDefinition put(TeamsAppDefinition srcTeamsAppDefinition) throws ClientException { + return send(HttpMethod.PUT, srcTeamsAppDefinition); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequestBuilder.java index 5976ea00d1e..37a9aa2d7e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Reference Request Builder. */ -public class TeamsAppDefinitionReferenceRequestBuilder extends BaseTeamsAppDefinitionReferenceRequestBuilder implements ITeamsAppDefinitionReferenceRequestBuilder { +public class TeamsAppDefinitionReferenceRequestBuilder extends BaseRequestBuilder implements ITeamsAppDefinitionReferenceRequestBuilder { /** * The request builder for the TeamsAppDefinition @@ -25,4 +34,23 @@ public class TeamsAppDefinitionReferenceRequestBuilder extends BaseTeamsAppDefin public TeamsAppDefinitionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The ITeamsAppDefinitionReferenceRequest instance + */ + public ITeamsAppDefinitionReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsAppDefinitionReferenceRequest instance + */ + public ITeamsAppDefinitionReferenceRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppDefinitionReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequest.java index c8919b67dee..7048a9dcc35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequest; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionRequest; +import com.microsoft.graph.models.extensions.TeamsAppDefinition; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Request. */ -public class TeamsAppDefinitionRequest extends BaseTeamsAppDefinitionRequest implements ITeamsAppDefinitionRequest { - +public class TeamsAppDefinitionRequest extends BaseRequest implements ITeamsAppDefinitionRequest { + /** * The request for the TeamsAppDefinition * @@ -26,4 +32,107 @@ public class TeamsAppDefinitionRequest extends BaseTeamsAppDefinitionRequest imp public TeamsAppDefinitionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TeamsAppDefinition.class); } + + /** + * Gets the TeamsAppDefinition from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TeamsAppDefinition from the service + * + * @return the TeamsAppDefinition from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppDefinition get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TeamsAppDefinition with a source + * + * @param sourceTeamsAppDefinition the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsAppDefinition); + } + + /** + * Patches this TeamsAppDefinition with a source + * + * @param sourceTeamsAppDefinition the source object with updates + * @return the updated TeamsAppDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsAppDefinition); + } + + /** + * Creates a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback) { + send(HttpMethod.POST, callback, newTeamsAppDefinition); + } + + /** + * Creates a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the new object to create + * @return the created TeamsAppDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException { + return send(HttpMethod.POST, newTeamsAppDefinition); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppDefinitionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsAppDefinitionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppDefinitionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppDefinitionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequestBuilder.java index 3ee0a96eddc..687a558a191 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequest; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition Request Builder. */ -public class TeamsAppDefinitionRequestBuilder extends BaseTeamsAppDefinitionRequestBuilder implements ITeamsAppDefinitionRequestBuilder { +public class TeamsAppDefinitionRequestBuilder extends BaseRequestBuilder implements ITeamsAppDefinitionRequestBuilder { /** * The request builder for the TeamsAppDefinition @@ -25,4 +28,26 @@ public class TeamsAppDefinitionRequestBuilder extends BaseTeamsAppDefinitionRequ public TeamsAppDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsAppDefinitionRequest instance + */ + public ITeamsAppDefinitionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsAppDefinitionRequest instance + */ + public ITeamsAppDefinitionRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppDefinitionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequest.java index 5bab6d7229f..a3531808e40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition With Reference Request. */ -public class TeamsAppDefinitionWithReferenceRequest extends BaseTeamsAppDefinitionWithReferenceRequest implements ITeamsAppDefinitionWithReferenceRequest { +public class TeamsAppDefinitionWithReferenceRequest extends BaseRequest implements ITeamsAppDefinitionWithReferenceRequest { /** * The request for the TeamsAppDefinition @@ -22,7 +30,66 @@ public class TeamsAppDefinitionWithReferenceRequest extends BaseTeamsAppDefiniti * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppDefinitionWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppDefinitionWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsAppDefinition.class); + } + + public void post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newTeamsAppDefinition; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public TeamsAppDefinition get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsAppDefinition); + } + + public TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsAppDefinition); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppDefinitionWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ITeamsAppDefinitionWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppDefinitionWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppDefinitionWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequestBuilder.java index 35d323da019..77925abe50f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Definition With Reference Request Builder. */ -public class TeamsAppDefinitionWithReferenceRequestBuilder extends BaseTeamsAppDefinitionWithReferenceRequestBuilder implements ITeamsAppDefinitionWithReferenceRequestBuilder { +public class TeamsAppDefinitionWithReferenceRequestBuilder extends BaseRequestBuilder implements ITeamsAppDefinitionWithReferenceRequestBuilder { /** * The request builder for the TeamsAppDefinition @@ -25,4 +33,28 @@ public class TeamsAppDefinitionWithReferenceRequestBuilder extends BaseTeamsAppD public TeamsAppDefinitionWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsAppDefinitionWithReferenceRequest instance + */ + public ITeamsAppDefinitionWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppDefinitionWithReferenceRequest instance + */ + public ITeamsAppDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppDefinitionWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsAppDefinitionReferenceRequestBuilder reference(){ + return new TeamsAppDefinitionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionPage.java index ae691797947..94a06030fb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAppInstallation; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Collection Page. */ -public class TeamsAppInstallationCollectionPage extends BaseTeamsAppInstallationCollectionPage implements ITeamsAppInstallationCollectionPage { +public class TeamsAppInstallationCollectionPage extends BaseCollectionPage implements ITeamsAppInstallationCollectionPage { /** - * A collection page for Team. + * A collection page for TeamsAppInstallation * - * @param response the serialized BaseTeamsAppInstallationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TeamsAppInstallationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TeamsAppInstallationCollectionPage(final BaseTeamsAppInstallationCollectionResponse response, final ITeamsAppInstallationCollectionRequestBuilder builder) { - super(response, builder); + public TeamsAppInstallationCollectionPage(final TeamsAppInstallationCollectionResponse response, final ITeamsAppInstallationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequest.java index 742eb26c729..c5b454507e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Collection Request. */ -public class TeamsAppInstallationCollectionRequest extends BaseTeamsAppInstallationCollectionRequest implements ITeamsAppInstallationCollectionRequest { +public class TeamsAppInstallationCollectionRequest extends BaseCollectionRequest implements ITeamsAppInstallationCollectionRequest { /** - * The request for this collection of Team + * The request builder for this collection of TeamsAppInstallation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppInstallationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppInstallationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsAppInstallationCollectionResponse.class, ITeamsAppInstallationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITeamsAppInstallationCollectionPage get() throws ClientException { + final TeamsAppInstallationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TeamsAppInstallationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsAppInstallation, callback); + } + + public TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TeamsAppInstallationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsAppInstallation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppInstallationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TeamsAppInstallationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppInstallationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TeamsAppInstallationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamsAppInstallationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TeamsAppInstallationCollectionRequest)this; + } + + public ITeamsAppInstallationCollectionPage buildFromResponse(final TeamsAppInstallationCollectionResponse response) { + final ITeamsAppInstallationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TeamsAppInstallationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TeamsAppInstallationCollectionPage page = new TeamsAppInstallationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequestBuilder.java index 46d19ba6810..1d8cec46dfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Collection Request Builder. */ -public class TeamsAppInstallationCollectionRequestBuilder extends BaseTeamsAppInstallationCollectionRequestBuilder implements ITeamsAppInstallationCollectionRequestBuilder { +public class TeamsAppInstallationCollectionRequestBuilder extends BaseRequestBuilder implements ITeamsAppInstallationCollectionRequestBuilder { /** * The request builder for this collection of Team @@ -25,4 +33,18 @@ public class TeamsAppInstallationCollectionRequestBuilder extends BaseTeamsAppIn public TeamsAppInstallationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITeamsAppInstallationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITeamsAppInstallationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppInstallationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsAppInstallationRequestBuilder byId(final String id) { + return new TeamsAppInstallationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionResponse.java new file mode 100644 index 00000000000..c6492fc861f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAppInstallation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Teams App Installation Collection Response. + */ +public class TeamsAppInstallationCollectionResponse implements IJsonBackedObject { + + /** + * The list of TeamsAppInstallation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequest.java index a6922558a21..bab2f28767a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequest; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationRequest; +import com.microsoft.graph.models.extensions.TeamsAppInstallation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Request. */ -public class TeamsAppInstallationRequest extends BaseTeamsAppInstallationRequest implements ITeamsAppInstallationRequest { - +public class TeamsAppInstallationRequest extends BaseRequest implements ITeamsAppInstallationRequest { + /** * The request for the TeamsAppInstallation * @@ -26,4 +32,107 @@ public class TeamsAppInstallationRequest extends BaseTeamsAppInstallationRequest public TeamsAppInstallationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TeamsAppInstallation.class); } + + /** + * Gets the TeamsAppInstallation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TeamsAppInstallation from the service + * + * @return the TeamsAppInstallation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppInstallation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TeamsAppInstallation with a source + * + * @param sourceTeamsAppInstallation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TeamsAppInstallation sourceTeamsAppInstallation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsAppInstallation); + } + + /** + * Patches this TeamsAppInstallation with a source + * + * @param sourceTeamsAppInstallation the source object with updates + * @return the updated TeamsAppInstallation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppInstallation patch(final TeamsAppInstallation sourceTeamsAppInstallation) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsAppInstallation); + } + + /** + * Creates a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback) { + send(HttpMethod.POST, callback, newTeamsAppInstallation); + } + + /** + * Creates a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the new object to create + * @return the created TeamsAppInstallation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException { + return send(HttpMethod.POST, newTeamsAppInstallation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppInstallationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsAppInstallationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppInstallationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppInstallationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequestBuilder.java index c3f5ee00483..f8552013502 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequest; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationUpgradeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Request Builder. */ -public class TeamsAppInstallationRequestBuilder extends BaseTeamsAppInstallationRequestBuilder implements ITeamsAppInstallationRequestBuilder { +public class TeamsAppInstallationRequestBuilder extends BaseRequestBuilder implements ITeamsAppInstallationRequestBuilder { /** * The request builder for the TeamsAppInstallation @@ -25,4 +34,48 @@ public class TeamsAppInstallationRequestBuilder extends BaseTeamsAppInstallation public TeamsAppInstallationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsAppInstallationRequest instance + */ + public ITeamsAppInstallationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsAppInstallationRequest instance + */ + public ITeamsAppInstallationRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppInstallationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for TeamsApp + * + * @return the ITeamsAppWithReferenceRequestBuilder instance + */ + public ITeamsAppWithReferenceRequestBuilder teamsApp() { + return new TeamsAppWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApp"), getClient(), null); + } + + /** + * Gets the request builder for TeamsAppDefinition + * + * @return the ITeamsAppDefinitionWithReferenceRequestBuilder instance + */ + public ITeamsAppDefinitionWithReferenceRequestBuilder teamsAppDefinition() { + return new TeamsAppDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teamsAppDefinition"), getClient(), null); + } + + public ITeamsAppInstallationUpgradeRequestBuilder upgrade() { + return new TeamsAppInstallationUpgradeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.upgrade"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequest.java index e82bd8c97dc..295236b91c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationUpgradeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationUpgradeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Upgrade Request. */ -public class TeamsAppInstallationUpgradeRequest extends BaseTeamsAppInstallationUpgradeRequest implements ITeamsAppInstallationUpgradeRequest { +public class TeamsAppInstallationUpgradeRequest extends BaseRequest implements ITeamsAppInstallationUpgradeRequest { /** * The request for this TeamsAppInstallationUpgrade @@ -23,6 +30,35 @@ public class TeamsAppInstallationUpgradeRequest extends BaseTeamsAppInstallation * @param requestOptions the options for this request */ public TeamsAppInstallationUpgradeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the TeamsAppInstallationUpgrade + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the TeamsAppInstallationUpgrade + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequestBuilder.java index 0e92b6321a2..34249baa53b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationUpgradeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationUpgradeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppInstallationUpgradeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Installation Upgrade Request Builder. */ -public class TeamsAppInstallationUpgradeRequestBuilder extends BaseTeamsAppInstallationUpgradeRequestBuilder implements ITeamsAppInstallationUpgradeRequestBuilder { +public class TeamsAppInstallationUpgradeRequestBuilder extends BaseActionRequestBuilder implements ITeamsAppInstallationUpgradeRequestBuilder { /** * The request builder for this TeamsAppInstallationUpgrade @@ -25,4 +30,29 @@ public class TeamsAppInstallationUpgradeRequestBuilder extends BaseTeamsAppInsta public TeamsAppInstallationUpgradeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the ITeamsAppInstallationUpgradeRequest + * + * @return the ITeamsAppInstallationUpgradeRequest instance + */ + public ITeamsAppInstallationUpgradeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the ITeamsAppInstallationUpgradeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the ITeamsAppInstallationUpgradeRequest instance + */ + public ITeamsAppInstallationUpgradeRequest buildRequest(final java.util.List requestOptions) { + TeamsAppInstallationUpgradeRequest request = new TeamsAppInstallationUpgradeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequest.java index e60af5c7e30..1d67ffa1e05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Reference Request. */ -public class TeamsAppReferenceRequest extends BaseTeamsAppReferenceRequest implements ITeamsAppReferenceRequest { +public class TeamsAppReferenceRequest extends BaseRequest implements ITeamsAppReferenceRequest { /** * The request for the TeamsApp @@ -22,7 +30,57 @@ public class TeamsAppReferenceRequest extends BaseTeamsAppReferenceRequest imple * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsApp.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public TeamsApp delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsAppReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppReferenceRequest)this; + } + /** + * Puts the TeamsApp + * + * @param srcTeamsApp the TeamsApp reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(TeamsApp srcTeamsApp, final ICallback callback) { + send(HttpMethod.PUT, callback, srcTeamsApp); + } + + /** + * Puts the TeamsApp + * + * @param srcTeamsApp the TeamsApp reference to PUT + * @return the TeamsApp + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public TeamsApp put(TeamsApp srcTeamsApp) throws ClientException { + return send(HttpMethod.PUT, srcTeamsApp); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequestBuilder.java index 38b070b1dbe..8210f8637f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Reference Request Builder. */ -public class TeamsAppReferenceRequestBuilder extends BaseTeamsAppReferenceRequestBuilder implements ITeamsAppReferenceRequestBuilder { +public class TeamsAppReferenceRequestBuilder extends BaseRequestBuilder implements ITeamsAppReferenceRequestBuilder { /** * The request builder for the TeamsApp @@ -25,4 +34,23 @@ public class TeamsAppReferenceRequestBuilder extends BaseTeamsAppReferenceReques public TeamsAppReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The ITeamsAppReferenceRequest instance + */ + public ITeamsAppReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsAppReferenceRequest instance + */ + public ITeamsAppReferenceRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequest.java index 3c52765b4fb..21c67c37194 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppRequest; +import com.microsoft.graph.requests.extensions.TeamsAppRequest; +import com.microsoft.graph.models.extensions.TeamsApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TeamsApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Request. */ -public class TeamsAppRequest extends BaseTeamsAppRequest implements ITeamsAppRequest { - +public class TeamsAppRequest extends BaseRequest implements ITeamsAppRequest { + /** * The request for the TeamsApp * @@ -26,4 +32,107 @@ public class TeamsAppRequest extends BaseTeamsAppRequest implements ITeamsAppReq public TeamsAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TeamsApp.class); } + + /** + * Gets the TeamsApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TeamsApp from the service + * + * @return the TeamsApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TeamsApp with a source + * + * @param sourceTeamsApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TeamsApp sourceTeamsApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsApp); + } + + /** + * Patches this TeamsApp with a source + * + * @param sourceTeamsApp the source object with updates + * @return the updated TeamsApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsApp); + } + + /** + * Creates a TeamsApp with a new object + * + * @param newTeamsApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TeamsApp newTeamsApp, final ICallback callback) { + send(HttpMethod.POST, callback, newTeamsApp); + } + + /** + * Creates a TeamsApp with a new object + * + * @param newTeamsApp the new object to create + * @return the created TeamsApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsApp post(final TeamsApp newTeamsApp) throws ClientException { + return send(HttpMethod.POST, newTeamsApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequestBuilder.java index c016eb81d0a..abf399c83c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAppRequest; +import com.microsoft.graph.requests.extensions.TeamsAppRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppDefinitionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App Request Builder. */ -public class TeamsAppRequestBuilder extends BaseTeamsAppRequestBuilder implements ITeamsAppRequestBuilder { +public class TeamsAppRequestBuilder extends BaseRequestBuilder implements ITeamsAppRequestBuilder { /** * The request builder for the TeamsApp @@ -25,4 +32,33 @@ public class TeamsAppRequestBuilder extends BaseTeamsAppRequestBuilder implement public TeamsAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsAppRequest instance + */ + public ITeamsAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsAppRequest instance + */ + public ITeamsAppRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITeamsAppDefinitionCollectionRequestBuilder appDefinitions() { + return new TeamsAppDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("appDefinitions"), getClient(), null); + } + + public ITeamsAppDefinitionRequestBuilder appDefinitions(final String id) { + return new TeamsAppDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("appDefinitions") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequest.java index 5f2444d8d22..8c2d3a3bbce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App With Reference Request. */ -public class TeamsAppWithReferenceRequest extends BaseTeamsAppWithReferenceRequest implements ITeamsAppWithReferenceRequest { +public class TeamsAppWithReferenceRequest extends BaseRequest implements ITeamsAppWithReferenceRequest { /** * The request for the TeamsApp @@ -22,7 +30,66 @@ public class TeamsAppWithReferenceRequest extends BaseTeamsAppWithReferenceReque * @param client the service client * @param requestOptions the options for this request */ - public TeamsAppWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAppWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsApp.class); + } + + public void post(final TeamsApp newTeamsApp, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public TeamsApp post(final TeamsApp newTeamsApp, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newTeamsApp; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public TeamsApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final TeamsApp sourceTeamsApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsApp); + } + + public TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsApp); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAppWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ITeamsAppWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAppWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAppWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequestBuilder.java index 40358bea84d..95d61627385 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAppWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams App With Reference Request Builder. */ -public class TeamsAppWithReferenceRequestBuilder extends BaseTeamsAppWithReferenceRequestBuilder implements ITeamsAppWithReferenceRequestBuilder { +public class TeamsAppWithReferenceRequestBuilder extends BaseRequestBuilder implements ITeamsAppWithReferenceRequestBuilder { /** * The request builder for the TeamsApp @@ -25,4 +33,28 @@ public class TeamsAppWithReferenceRequestBuilder extends BaseTeamsAppWithReferen public TeamsAppWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsAppWithReferenceRequest instance + */ + public ITeamsAppWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITeamsAppWithReferenceRequest instance + */ + public ITeamsAppWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAppWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsAppReferenceRequestBuilder reference(){ + return new TeamsAppReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionPage.java index d8107542aba..109eee6e89d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAsyncOperation; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Async Operation Collection Page. */ -public class TeamsAsyncOperationCollectionPage extends BaseTeamsAsyncOperationCollectionPage implements ITeamsAsyncOperationCollectionPage { +public class TeamsAsyncOperationCollectionPage extends BaseCollectionPage implements ITeamsAsyncOperationCollectionPage { /** - * A collection page for Team. + * A collection page for TeamsAsyncOperation * - * @param response the serialized BaseTeamsAsyncOperationCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TeamsAsyncOperationCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TeamsAsyncOperationCollectionPage(final BaseTeamsAsyncOperationCollectionResponse response, final ITeamsAsyncOperationCollectionRequestBuilder builder) { - super(response, builder); + public TeamsAsyncOperationCollectionPage(final TeamsAsyncOperationCollectionResponse response, final ITeamsAsyncOperationCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequest.java index 6ccf9dd10e0..9ac9f076625 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Async Operation Collection Request. */ -public class TeamsAsyncOperationCollectionRequest extends BaseTeamsAsyncOperationCollectionRequest implements ITeamsAsyncOperationCollectionRequest { +public class TeamsAsyncOperationCollectionRequest extends BaseCollectionRequest implements ITeamsAsyncOperationCollectionRequest { /** - * The request for this collection of Team + * The request builder for this collection of TeamsAsyncOperation * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TeamsAsyncOperationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsAsyncOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsAsyncOperationCollectionResponse.class, ITeamsAsyncOperationCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITeamsAsyncOperationCollectionPage get() throws ClientException { + final TeamsAsyncOperationCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TeamsAsyncOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsAsyncOperation, callback); + } + + public TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TeamsAsyncOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsAsyncOperation); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAsyncOperationCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TeamsAsyncOperationCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAsyncOperationCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TeamsAsyncOperationCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamsAsyncOperationCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TeamsAsyncOperationCollectionRequest)this; + } + + public ITeamsAsyncOperationCollectionPage buildFromResponse(final TeamsAsyncOperationCollectionResponse response) { + final ITeamsAsyncOperationCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TeamsAsyncOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TeamsAsyncOperationCollectionPage page = new TeamsAsyncOperationCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequestBuilder.java index 3c152a82a47..f8ff01f4d05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Async Operation Collection Request Builder. */ -public class TeamsAsyncOperationCollectionRequestBuilder extends BaseTeamsAsyncOperationCollectionRequestBuilder implements ITeamsAsyncOperationCollectionRequestBuilder { +public class TeamsAsyncOperationCollectionRequestBuilder extends BaseRequestBuilder implements ITeamsAsyncOperationCollectionRequestBuilder { /** * The request builder for this collection of Team @@ -25,4 +33,18 @@ public class TeamsAsyncOperationCollectionRequestBuilder extends BaseTeamsAsyncO public TeamsAsyncOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITeamsAsyncOperationCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITeamsAsyncOperationCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAsyncOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsAsyncOperationRequestBuilder byId(final String id) { + return new TeamsAsyncOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionResponse.java new file mode 100644 index 00000000000..f5e57d0fcec --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsAsyncOperation; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Teams Async Operation Collection Response. + */ +public class TeamsAsyncOperationCollectionResponse implements IJsonBackedObject { + + /** + * The list of TeamsAsyncOperation within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequest.java index 69611a7b002..2742ec9cd21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequest; +import com.microsoft.graph.requests.extensions.TeamsAsyncOperationRequest; +import com.microsoft.graph.models.extensions.TeamsAsyncOperation; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TeamsAsyncOperation; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Async Operation Request. */ -public class TeamsAsyncOperationRequest extends BaseTeamsAsyncOperationRequest implements ITeamsAsyncOperationRequest { - +public class TeamsAsyncOperationRequest extends BaseRequest implements ITeamsAsyncOperationRequest { + /** * The request for the TeamsAsyncOperation * @@ -26,4 +32,107 @@ public class TeamsAsyncOperationRequest extends BaseTeamsAsyncOperationRequest i public TeamsAsyncOperationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TeamsAsyncOperation.class); } + + /** + * Gets the TeamsAsyncOperation from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TeamsAsyncOperation from the service + * + * @return the TeamsAsyncOperation from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAsyncOperation get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TeamsAsyncOperation with a source + * + * @param sourceTeamsAsyncOperation the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TeamsAsyncOperation sourceTeamsAsyncOperation, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsAsyncOperation); + } + + /** + * Patches this TeamsAsyncOperation with a source + * + * @param sourceTeamsAsyncOperation the source object with updates + * @return the updated TeamsAsyncOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAsyncOperation patch(final TeamsAsyncOperation sourceTeamsAsyncOperation) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsAsyncOperation); + } + + /** + * Creates a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback) { + send(HttpMethod.POST, callback, newTeamsAsyncOperation); + } + + /** + * Creates a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the new object to create + * @return the created TeamsAsyncOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException { + return send(HttpMethod.POST, newTeamsAsyncOperation); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsAsyncOperationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsAsyncOperationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsAsyncOperationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsAsyncOperationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequestBuilder.java index 8260961b593..682eaa33e06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequest; +import com.microsoft.graph.requests.extensions.TeamsAsyncOperationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsAsyncOperationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Async Operation Request Builder. */ -public class TeamsAsyncOperationRequestBuilder extends BaseTeamsAsyncOperationRequestBuilder implements ITeamsAsyncOperationRequestBuilder { +public class TeamsAsyncOperationRequestBuilder extends BaseRequestBuilder implements ITeamsAsyncOperationRequestBuilder { /** * The request builder for the TeamsAsyncOperation @@ -25,4 +28,26 @@ public class TeamsAsyncOperationRequestBuilder extends BaseTeamsAsyncOperationRe public TeamsAsyncOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsAsyncOperationRequest instance + */ + public ITeamsAsyncOperationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsAsyncOperationRequest instance + */ + public ITeamsAsyncOperationRequest buildRequest(final java.util.List requestOptions) { + return new TeamsAsyncOperationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionPage.java index 38c3fd84874..35661edd218 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsTab; +import com.microsoft.graph.requests.extensions.ITeamsTabCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsTabCollectionPage; -import com.microsoft.graph.requests.generated.BaseTeamsTabCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab Collection Page. */ -public class TeamsTabCollectionPage extends BaseTeamsTabCollectionPage implements ITeamsTabCollectionPage { +public class TeamsTabCollectionPage extends BaseCollectionPage implements ITeamsTabCollectionPage { /** - * A collection page for Channel. + * A collection page for TeamsTab * - * @param response the serialized BaseTeamsTabCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TeamsTabCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TeamsTabCollectionPage(final BaseTeamsTabCollectionResponse response, final ITeamsTabCollectionRequestBuilder builder) { - super(response, builder); + public TeamsTabCollectionPage(final TeamsTabCollectionResponse response, final ITeamsTabCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequest.java index 98ae7f2863a..62cfb121d30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsTabCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab Collection Request. */ -public class TeamsTabCollectionRequest extends BaseTeamsTabCollectionRequest implements ITeamsTabCollectionRequest { +public class TeamsTabCollectionRequest extends BaseCollectionRequest implements ITeamsTabCollectionRequest { /** - * The request for this collection of Channel + * The request builder for this collection of TeamsTab * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TeamsTabCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TeamsTabCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TeamsTabCollectionResponse.class, ITeamsTabCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITeamsTabCollectionPage get() throws ClientException { + final TeamsTabCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TeamsTab newTeamsTab, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TeamsTabRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsTab, callback); + } + + public TeamsTab post(final TeamsTab newTeamsTab) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TeamsTabRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTeamsTab); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsTabCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TeamsTabCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsTabCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TeamsTabCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITeamsTabCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TeamsTabCollectionRequest)this; + } + + public ITeamsTabCollectionPage buildFromResponse(final TeamsTabCollectionResponse response) { + final ITeamsTabCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TeamsTabCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TeamsTabCollectionPage page = new TeamsTabCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequestBuilder.java index 503e6653e1f..64b92d621c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsTabCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab Collection Request Builder. */ -public class TeamsTabCollectionRequestBuilder extends BaseTeamsTabCollectionRequestBuilder implements ITeamsTabCollectionRequestBuilder { +public class TeamsTabCollectionRequestBuilder extends BaseRequestBuilder implements ITeamsTabCollectionRequestBuilder { /** * The request builder for this collection of Channel @@ -25,4 +33,18 @@ public class TeamsTabCollectionRequestBuilder extends BaseTeamsTabCollectionRequ public TeamsTabCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITeamsTabCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITeamsTabCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TeamsTabCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITeamsTabRequestBuilder byId(final String id) { + return new TeamsTabRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionResponse.java new file mode 100644 index 00000000000..f404354d06e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TeamsTab; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Teams Tab Collection Response. + */ +public class TeamsTabCollectionResponse implements IJsonBackedObject { + + /** + * The list of TeamsTab within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequest.java index a179585f4ae..4cf05904c13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsTabRequest; +import com.microsoft.graph.requests.extensions.TeamsTabRequest; +import com.microsoft.graph.models.extensions.TeamsTab; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TeamsTab; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsTabRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab Request. */ -public class TeamsTabRequest extends BaseTeamsTabRequest implements ITeamsTabRequest { - +public class TeamsTabRequest extends BaseRequest implements ITeamsTabRequest { + /** * The request for the TeamsTab * @@ -26,4 +32,107 @@ public class TeamsTabRequest extends BaseTeamsTabRequest implements ITeamsTabReq public TeamsTabRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TeamsTab.class); } + + /** + * Gets the TeamsTab from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TeamsTab from the service + * + * @return the TeamsTab from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsTab get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TeamsTab with a source + * + * @param sourceTeamsTab the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TeamsTab sourceTeamsTab, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTeamsTab); + } + + /** + * Patches this TeamsTab with a source + * + * @param sourceTeamsTab the source object with updates + * @return the updated TeamsTab + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsTab patch(final TeamsTab sourceTeamsTab) throws ClientException { + return send(HttpMethod.PATCH, sourceTeamsTab); + } + + /** + * Creates a TeamsTab with a new object + * + * @param newTeamsTab the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TeamsTab newTeamsTab, final ICallback callback) { + send(HttpMethod.POST, callback, newTeamsTab); + } + + /** + * Creates a TeamsTab with a new object + * + * @param newTeamsTab the new object to create + * @return the created TeamsTab + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsTab post(final TeamsTab newTeamsTab) throws ClientException { + return send(HttpMethod.POST, newTeamsTab); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITeamsTabRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TeamsTabRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITeamsTabRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TeamsTabRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequestBuilder.java index dd4563d1eff..01ead2f5b9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITeamsTabRequest; +import com.microsoft.graph.requests.extensions.TeamsTabRequest; +import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.TeamsAppWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTeamsTabRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Teams Tab Request Builder. */ -public class TeamsTabRequestBuilder extends BaseTeamsTabRequestBuilder implements ITeamsTabRequestBuilder { +public class TeamsTabRequestBuilder extends BaseRequestBuilder implements ITeamsTabRequestBuilder { /** * The request builder for the TeamsTab @@ -25,4 +30,35 @@ public class TeamsTabRequestBuilder extends BaseTeamsTabRequestBuilder implement public TeamsTabRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITeamsTabRequest instance + */ + public ITeamsTabRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITeamsTabRequest instance + */ + public ITeamsTabRequest buildRequest(final java.util.List requestOptions) { + return new TeamsTabRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for TeamsApp + * + * @return the ITeamsAppWithReferenceRequestBuilder instance + */ + public ITeamsAppWithReferenceRequestBuilder teamsApp() { + return new TeamsAppWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApp"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionPage.java index c1e2812abb3..e9b5f5d5430 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerCollectionPage; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Telecom Expense Management Partner Collection Page. */ -public class TelecomExpenseManagementPartnerCollectionPage extends BaseTelecomExpenseManagementPartnerCollectionPage implements ITelecomExpenseManagementPartnerCollectionPage { +public class TelecomExpenseManagementPartnerCollectionPage extends BaseCollectionPage implements ITelecomExpenseManagementPartnerCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for TelecomExpenseManagementPartner * - * @param response the serialized BaseTelecomExpenseManagementPartnerCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TelecomExpenseManagementPartnerCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TelecomExpenseManagementPartnerCollectionPage(final BaseTelecomExpenseManagementPartnerCollectionResponse response, final ITelecomExpenseManagementPartnerCollectionRequestBuilder builder) { - super(response, builder); + public TelecomExpenseManagementPartnerCollectionPage(final TelecomExpenseManagementPartnerCollectionResponse response, final ITelecomExpenseManagementPartnerCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequest.java index 6f54b878384..e8b1098f543 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Telecom Expense Management Partner Collection Request. */ -public class TelecomExpenseManagementPartnerCollectionRequest extends BaseTelecomExpenseManagementPartnerCollectionRequest implements ITelecomExpenseManagementPartnerCollectionRequest { +public class TelecomExpenseManagementPartnerCollectionRequest extends BaseCollectionRequest implements ITelecomExpenseManagementPartnerCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of TelecomExpenseManagementPartner * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TelecomExpenseManagementPartnerCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TelecomExpenseManagementPartnerCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TelecomExpenseManagementPartnerCollectionResponse.class, ITelecomExpenseManagementPartnerCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITelecomExpenseManagementPartnerCollectionPage get() throws ClientException { + final TelecomExpenseManagementPartnerCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TelecomExpenseManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTelecomExpenseManagementPartner, callback); + } + + public TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TelecomExpenseManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTelecomExpenseManagementPartner); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITelecomExpenseManagementPartnerCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TelecomExpenseManagementPartnerCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITelecomExpenseManagementPartnerCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TelecomExpenseManagementPartnerCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITelecomExpenseManagementPartnerCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TelecomExpenseManagementPartnerCollectionRequest)this; + } + + public ITelecomExpenseManagementPartnerCollectionPage buildFromResponse(final TelecomExpenseManagementPartnerCollectionResponse response) { + final ITelecomExpenseManagementPartnerCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TelecomExpenseManagementPartnerCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TelecomExpenseManagementPartnerCollectionPage page = new TelecomExpenseManagementPartnerCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequestBuilder.java index 4ba0d663e2f..d60c6eeba16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Telecom Expense Management Partner Collection Request Builder. */ -public class TelecomExpenseManagementPartnerCollectionRequestBuilder extends BaseTelecomExpenseManagementPartnerCollectionRequestBuilder implements ITelecomExpenseManagementPartnerCollectionRequestBuilder { +public class TelecomExpenseManagementPartnerCollectionRequestBuilder extends BaseRequestBuilder implements ITelecomExpenseManagementPartnerCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class TelecomExpenseManagementPartnerCollectionRequestBuilder extends Bas public TelecomExpenseManagementPartnerCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITelecomExpenseManagementPartnerCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITelecomExpenseManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TelecomExpenseManagementPartnerCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITelecomExpenseManagementPartnerRequestBuilder byId(final String id) { + return new TelecomExpenseManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionResponse.java new file mode 100644 index 00000000000..f94b9cd35d6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Telecom Expense Management Partner Collection Response. + */ +public class TelecomExpenseManagementPartnerCollectionResponse implements IJsonBackedObject { + + /** + * The list of TelecomExpenseManagementPartner within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequest.java index 8756c579917..779128218cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequest; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerRequest; +import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Telecom Expense Management Partner Request. */ -public class TelecomExpenseManagementPartnerRequest extends BaseTelecomExpenseManagementPartnerRequest implements ITelecomExpenseManagementPartnerRequest { - +public class TelecomExpenseManagementPartnerRequest extends BaseRequest implements ITelecomExpenseManagementPartnerRequest { + /** * The request for the TelecomExpenseManagementPartner * @@ -26,4 +32,107 @@ public class TelecomExpenseManagementPartnerRequest extends BaseTelecomExpenseMa public TelecomExpenseManagementPartnerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TelecomExpenseManagementPartner.class); } + + /** + * Gets the TelecomExpenseManagementPartner from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TelecomExpenseManagementPartner from the service + * + * @return the TelecomExpenseManagementPartner from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TelecomExpenseManagementPartner get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TelecomExpenseManagementPartner with a source + * + * @param sourceTelecomExpenseManagementPartner the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTelecomExpenseManagementPartner); + } + + /** + * Patches this TelecomExpenseManagementPartner with a source + * + * @param sourceTelecomExpenseManagementPartner the source object with updates + * @return the updated TelecomExpenseManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TelecomExpenseManagementPartner patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner) throws ClientException { + return send(HttpMethod.PATCH, sourceTelecomExpenseManagementPartner); + } + + /** + * Creates a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback) { + send(HttpMethod.POST, callback, newTelecomExpenseManagementPartner); + } + + /** + * Creates a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the new object to create + * @return the created TelecomExpenseManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException { + return send(HttpMethod.POST, newTelecomExpenseManagementPartner); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITelecomExpenseManagementPartnerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TelecomExpenseManagementPartnerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITelecomExpenseManagementPartnerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TelecomExpenseManagementPartnerRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequestBuilder.java index da405130bb5..790fc141d37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequest; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTelecomExpenseManagementPartnerRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Telecom Expense Management Partner Request Builder. */ -public class TelecomExpenseManagementPartnerRequestBuilder extends BaseTelecomExpenseManagementPartnerRequestBuilder implements ITelecomExpenseManagementPartnerRequestBuilder { +public class TelecomExpenseManagementPartnerRequestBuilder extends BaseRequestBuilder implements ITelecomExpenseManagementPartnerRequestBuilder { /** * The request builder for the TelecomExpenseManagementPartner @@ -25,4 +28,26 @@ public class TelecomExpenseManagementPartnerRequestBuilder extends BaseTelecomEx public TelecomExpenseManagementPartnerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITelecomExpenseManagementPartnerRequest instance + */ + public ITelecomExpenseManagementPartnerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITelecomExpenseManagementPartnerRequest instance + */ + public ITelecomExpenseManagementPartnerRequest buildRequest(final java.util.List requestOptions) { + return new TelecomExpenseManagementPartnerRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionPage.java index 372cee8aef4..978e56f98e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Acceptance Status Collection Page. */ -public class TermsAndConditionsAcceptanceStatusCollectionPage extends BaseTermsAndConditionsAcceptanceStatusCollectionPage implements ITermsAndConditionsAcceptanceStatusCollectionPage { +public class TermsAndConditionsAcceptanceStatusCollectionPage extends BaseCollectionPage implements ITermsAndConditionsAcceptanceStatusCollectionPage { /** - * A collection page for TermsAndConditions. + * A collection page for TermsAndConditionsAcceptanceStatus * - * @param response the serialized BaseTermsAndConditionsAcceptanceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TermsAndConditionsAcceptanceStatusCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TermsAndConditionsAcceptanceStatusCollectionPage(final BaseTermsAndConditionsAcceptanceStatusCollectionResponse response, final ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder builder) { - super(response, builder); + public TermsAndConditionsAcceptanceStatusCollectionPage(final TermsAndConditionsAcceptanceStatusCollectionResponse response, final ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequest.java index 78442c838a1..e56d469947b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Acceptance Status Collection Request. */ -public class TermsAndConditionsAcceptanceStatusCollectionRequest extends BaseTermsAndConditionsAcceptanceStatusCollectionRequest implements ITermsAndConditionsAcceptanceStatusCollectionRequest { +public class TermsAndConditionsAcceptanceStatusCollectionRequest extends BaseCollectionRequest implements ITermsAndConditionsAcceptanceStatusCollectionRequest { /** - * The request for this collection of TermsAndConditions + * The request builder for this collection of TermsAndConditionsAcceptanceStatus * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TermsAndConditionsAcceptanceStatusCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TermsAndConditionsAcceptanceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TermsAndConditionsAcceptanceStatusCollectionResponse.class, ITermsAndConditionsAcceptanceStatusCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITermsAndConditionsAcceptanceStatusCollectionPage get() throws ClientException { + final TermsAndConditionsAcceptanceStatusCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TermsAndConditionsAcceptanceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTermsAndConditionsAcceptanceStatus, callback); + } + + public TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TermsAndConditionsAcceptanceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTermsAndConditionsAcceptanceStatus); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsAcceptanceStatusCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TermsAndConditionsAcceptanceStatusCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsAcceptanceStatusCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TermsAndConditionsAcceptanceStatusCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITermsAndConditionsAcceptanceStatusCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TermsAndConditionsAcceptanceStatusCollectionRequest)this; + } + + public ITermsAndConditionsAcceptanceStatusCollectionPage buildFromResponse(final TermsAndConditionsAcceptanceStatusCollectionResponse response) { + final ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TermsAndConditionsAcceptanceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TermsAndConditionsAcceptanceStatusCollectionPage page = new TermsAndConditionsAcceptanceStatusCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java index 7bc8adf84fd..1d936c8ba96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Acceptance Status Collection Request Builder. */ -public class TermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder implements ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder { +public class TermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder { /** * The request builder for this collection of TermsAndConditions @@ -25,4 +33,18 @@ public class TermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends public TermsAndConditionsAcceptanceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsAcceptanceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITermsAndConditionsAcceptanceStatusRequestBuilder byId(final String id) { + return new TermsAndConditionsAcceptanceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionResponse.java new file mode 100644 index 00000000000..50cc01ad49e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Terms And Conditions Acceptance Status Collection Response. + */ +public class TermsAndConditionsAcceptanceStatusCollectionResponse implements IJsonBackedObject { + + /** + * The list of TermsAndConditionsAcceptanceStatus within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequest.java index 53695ad2dbe..441ee8d3777 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Acceptance Status Request. */ -public class TermsAndConditionsAcceptanceStatusRequest extends BaseTermsAndConditionsAcceptanceStatusRequest implements ITermsAndConditionsAcceptanceStatusRequest { - +public class TermsAndConditionsAcceptanceStatusRequest extends BaseRequest implements ITermsAndConditionsAcceptanceStatusRequest { + /** * The request for the TermsAndConditionsAcceptanceStatus * @@ -26,4 +32,107 @@ public class TermsAndConditionsAcceptanceStatusRequest extends BaseTermsAndCondi public TermsAndConditionsAcceptanceStatusRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TermsAndConditionsAcceptanceStatus.class); } + + /** + * Gets the TermsAndConditionsAcceptanceStatus from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TermsAndConditionsAcceptanceStatus from the service + * + * @return the TermsAndConditionsAcceptanceStatus from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAcceptanceStatus get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TermsAndConditionsAcceptanceStatus with a source + * + * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTermsAndConditionsAcceptanceStatus); + } + + /** + * Patches this TermsAndConditionsAcceptanceStatus with a source + * + * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates + * @return the updated TermsAndConditionsAcceptanceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAcceptanceStatus patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus) throws ClientException { + return send(HttpMethod.PATCH, sourceTermsAndConditionsAcceptanceStatus); + } + + /** + * Creates a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback) { + send(HttpMethod.POST, callback, newTermsAndConditionsAcceptanceStatus); + } + + /** + * Creates a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the new object to create + * @return the created TermsAndConditionsAcceptanceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException { + return send(HttpMethod.POST, newTermsAndConditionsAcceptanceStatus); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsAcceptanceStatusRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TermsAndConditionsAcceptanceStatusRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsAcceptanceStatusRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TermsAndConditionsAcceptanceStatusRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequestBuilder.java index 138b030e329..6df48c80320 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusRequest; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAcceptanceStatusRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Acceptance Status Request Builder. */ -public class TermsAndConditionsAcceptanceStatusRequestBuilder extends BaseTermsAndConditionsAcceptanceStatusRequestBuilder implements ITermsAndConditionsAcceptanceStatusRequestBuilder { +public class TermsAndConditionsAcceptanceStatusRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsAcceptanceStatusRequestBuilder { /** * The request builder for the TermsAndConditionsAcceptanceStatus @@ -25,4 +30,35 @@ public class TermsAndConditionsAcceptanceStatusRequestBuilder extends BaseTermsA public TermsAndConditionsAcceptanceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITermsAndConditionsAcceptanceStatusRequest instance + */ + public ITermsAndConditionsAcceptanceStatusRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsAcceptanceStatusRequest instance + */ + public ITermsAndConditionsAcceptanceStatusRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsAcceptanceStatusRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for TermsAndConditions + * + * @return the ITermsAndConditionsWithReferenceRequestBuilder instance + */ + public ITermsAndConditionsWithReferenceRequestBuilder termsAndConditions() { + return new TermsAndConditionsWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("termsAndConditions"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionPage.java index 1825fd605a7..9a17fb4243b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Assignment Collection Page. */ -public class TermsAndConditionsAssignmentCollectionPage extends BaseTermsAndConditionsAssignmentCollectionPage implements ITermsAndConditionsAssignmentCollectionPage { +public class TermsAndConditionsAssignmentCollectionPage extends BaseCollectionPage implements ITermsAndConditionsAssignmentCollectionPage { /** - * A collection page for TermsAndConditions. + * A collection page for TermsAndConditionsAssignment * - * @param response the serialized BaseTermsAndConditionsAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TermsAndConditionsAssignmentCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TermsAndConditionsAssignmentCollectionPage(final BaseTermsAndConditionsAssignmentCollectionResponse response, final ITermsAndConditionsAssignmentCollectionRequestBuilder builder) { - super(response, builder); + public TermsAndConditionsAssignmentCollectionPage(final TermsAndConditionsAssignmentCollectionResponse response, final ITermsAndConditionsAssignmentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequest.java index dc0d908a8e9..a647e999c47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Assignment Collection Request. */ -public class TermsAndConditionsAssignmentCollectionRequest extends BaseTermsAndConditionsAssignmentCollectionRequest implements ITermsAndConditionsAssignmentCollectionRequest { +public class TermsAndConditionsAssignmentCollectionRequest extends BaseCollectionRequest implements ITermsAndConditionsAssignmentCollectionRequest { /** - * The request for this collection of TermsAndConditions + * The request builder for this collection of TermsAndConditionsAssignment * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TermsAndConditionsAssignmentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TermsAndConditionsAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TermsAndConditionsAssignmentCollectionResponse.class, ITermsAndConditionsAssignmentCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITermsAndConditionsAssignmentCollectionPage get() throws ClientException { + final TermsAndConditionsAssignmentCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TermsAndConditionsAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTermsAndConditionsAssignment, callback); + } + + public TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TermsAndConditionsAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTermsAndConditionsAssignment); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsAssignmentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TermsAndConditionsAssignmentCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsAssignmentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TermsAndConditionsAssignmentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITermsAndConditionsAssignmentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TermsAndConditionsAssignmentCollectionRequest)this; + } + + public ITermsAndConditionsAssignmentCollectionPage buildFromResponse(final TermsAndConditionsAssignmentCollectionResponse response) { + final ITermsAndConditionsAssignmentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TermsAndConditionsAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TermsAndConditionsAssignmentCollectionPage page = new TermsAndConditionsAssignmentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequestBuilder.java index 011ce6ebfd2..9fcfd89d18e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Assignment Collection Request Builder. */ -public class TermsAndConditionsAssignmentCollectionRequestBuilder extends BaseTermsAndConditionsAssignmentCollectionRequestBuilder implements ITermsAndConditionsAssignmentCollectionRequestBuilder { +public class TermsAndConditionsAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsAssignmentCollectionRequestBuilder { /** * The request builder for this collection of TermsAndConditions @@ -25,4 +33,18 @@ public class TermsAndConditionsAssignmentCollectionRequestBuilder extends BaseTe public TermsAndConditionsAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITermsAndConditionsAssignmentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITermsAndConditionsAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITermsAndConditionsAssignmentRequestBuilder byId(final String id) { + return new TermsAndConditionsAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionResponse.java new file mode 100644 index 00000000000..8e6f6d4c0cd --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Terms And Conditions Assignment Collection Response. + */ +public class TermsAndConditionsAssignmentCollectionResponse implements IJsonBackedObject { + + /** + * The list of TermsAndConditionsAssignment within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequest.java index e05a2b31c9c..30487537dcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequest; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentRequest; +import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Assignment Request. */ -public class TermsAndConditionsAssignmentRequest extends BaseTermsAndConditionsAssignmentRequest implements ITermsAndConditionsAssignmentRequest { - +public class TermsAndConditionsAssignmentRequest extends BaseRequest implements ITermsAndConditionsAssignmentRequest { + /** * The request for the TermsAndConditionsAssignment * @@ -26,4 +32,107 @@ public class TermsAndConditionsAssignmentRequest extends BaseTermsAndConditionsA public TermsAndConditionsAssignmentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TermsAndConditionsAssignment.class); } + + /** + * Gets the TermsAndConditionsAssignment from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TermsAndConditionsAssignment from the service + * + * @return the TermsAndConditionsAssignment from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAssignment get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TermsAndConditionsAssignment with a source + * + * @param sourceTermsAndConditionsAssignment the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTermsAndConditionsAssignment); + } + + /** + * Patches this TermsAndConditionsAssignment with a source + * + * @param sourceTermsAndConditionsAssignment the source object with updates + * @return the updated TermsAndConditionsAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAssignment patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment) throws ClientException { + return send(HttpMethod.PATCH, sourceTermsAndConditionsAssignment); + } + + /** + * Creates a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback) { + send(HttpMethod.POST, callback, newTermsAndConditionsAssignment); + } + + /** + * Creates a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the new object to create + * @return the created TermsAndConditionsAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException { + return send(HttpMethod.POST, newTermsAndConditionsAssignment); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsAssignmentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TermsAndConditionsAssignmentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsAssignmentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TermsAndConditionsAssignmentRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequestBuilder.java index 4a720d29a35..bd1cb850917 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequest; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsAssignmentRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Assignment Request Builder. */ -public class TermsAndConditionsAssignmentRequestBuilder extends BaseTermsAndConditionsAssignmentRequestBuilder implements ITermsAndConditionsAssignmentRequestBuilder { +public class TermsAndConditionsAssignmentRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsAssignmentRequestBuilder { /** * The request builder for the TermsAndConditionsAssignment @@ -25,4 +28,26 @@ public class TermsAndConditionsAssignmentRequestBuilder extends BaseTermsAndCond public TermsAndConditionsAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITermsAndConditionsAssignmentRequest instance + */ + public ITermsAndConditionsAssignmentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsAssignmentRequest instance + */ + public ITermsAndConditionsAssignmentRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsAssignmentRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionPage.java index eb72b99fe1f..1a4d228deae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsCollectionPage; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Collection Page. */ -public class TermsAndConditionsCollectionPage extends BaseTermsAndConditionsCollectionPage implements ITermsAndConditionsCollectionPage { +public class TermsAndConditionsCollectionPage extends BaseCollectionPage implements ITermsAndConditionsCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for TermsAndConditions * - * @param response the serialized BaseTermsAndConditionsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TermsAndConditionsCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TermsAndConditionsCollectionPage(final BaseTermsAndConditionsCollectionResponse response, final ITermsAndConditionsCollectionRequestBuilder builder) { - super(response, builder); + public TermsAndConditionsCollectionPage(final TermsAndConditionsCollectionResponse response, final ITermsAndConditionsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequest.java index ae6292f0696..679c6d5e0c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Collection Request. */ -public class TermsAndConditionsCollectionRequest extends BaseTermsAndConditionsCollectionRequest implements ITermsAndConditionsCollectionRequest { +public class TermsAndConditionsCollectionRequest extends BaseCollectionRequest implements ITermsAndConditionsCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of TermsAndConditions * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TermsAndConditionsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TermsAndConditionsCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TermsAndConditionsCollectionResponse.class, ITermsAndConditionsCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITermsAndConditionsCollectionPage get() throws ClientException { + final TermsAndConditionsCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final TermsAndConditions newTermsAndConditions, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TermsAndConditionsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTermsAndConditions, callback); + } + + public TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TermsAndConditionsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTermsAndConditions); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TermsAndConditionsCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TermsAndConditionsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITermsAndConditionsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TermsAndConditionsCollectionRequest)this; + } + + public ITermsAndConditionsCollectionPage buildFromResponse(final TermsAndConditionsCollectionResponse response) { + final ITermsAndConditionsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TermsAndConditionsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TermsAndConditionsCollectionPage page = new TermsAndConditionsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequestBuilder.java index a54b4c66b47..d549095e552 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Collection Request Builder. */ -public class TermsAndConditionsCollectionRequestBuilder extends BaseTermsAndConditionsCollectionRequestBuilder implements ITermsAndConditionsCollectionRequestBuilder { +public class TermsAndConditionsCollectionRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class TermsAndConditionsCollectionRequestBuilder extends BaseTermsAndCond public TermsAndConditionsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITermsAndConditionsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITermsAndConditionsCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITermsAndConditionsRequestBuilder byId(final String id) { + return new TermsAndConditionsRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionResponse.java new file mode 100644 index 00000000000..9b4da73dd63 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.TermsAndConditions; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Terms And Conditions Collection Response. + */ +public class TermsAndConditionsCollectionResponse implements IJsonBackedObject { + + /** + * The list of TermsAndConditions within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequest.java index 60a9521f277..2deca2c649a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Reference Request. */ -public class TermsAndConditionsReferenceRequest extends BaseTermsAndConditionsReferenceRequest implements ITermsAndConditionsReferenceRequest { +public class TermsAndConditionsReferenceRequest extends BaseRequest implements ITermsAndConditionsReferenceRequest { /** * The request for the TermsAndConditions @@ -22,7 +30,57 @@ public class TermsAndConditionsReferenceRequest extends BaseTermsAndConditionsRe * @param client the service client * @param requestOptions the options for this request */ - public TermsAndConditionsReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TermsAndConditionsReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TermsAndConditions.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public TermsAndConditions delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TermsAndConditionsReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TermsAndConditionsReferenceRequest)this; + } + /** + * Puts the TermsAndConditions + * + * @param srcTermsAndConditions the TermsAndConditions reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(TermsAndConditions srcTermsAndConditions, final ICallback callback) { + send(HttpMethod.PUT, callback, srcTermsAndConditions); + } + + /** + * Puts the TermsAndConditions + * + * @param srcTermsAndConditions the TermsAndConditions reference to PUT + * @return the TermsAndConditions + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public TermsAndConditions put(TermsAndConditions srcTermsAndConditions) throws ClientException { + return send(HttpMethod.PUT, srcTermsAndConditions); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequestBuilder.java index de857829411..a3ccbadafab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Reference Request Builder. */ -public class TermsAndConditionsReferenceRequestBuilder extends BaseTermsAndConditionsReferenceRequestBuilder implements ITermsAndConditionsReferenceRequestBuilder { +public class TermsAndConditionsReferenceRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsReferenceRequestBuilder { /** * The request builder for the TermsAndConditions @@ -25,4 +34,23 @@ public class TermsAndConditionsReferenceRequestBuilder extends BaseTermsAndCondi public TermsAndConditionsReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The ITermsAndConditionsReferenceRequest instance + */ + public ITermsAndConditionsReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsReferenceRequest instance + */ + public ITermsAndConditionsReferenceRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequest.java index 09d46f994cd..ddaa3d2e991 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequest; +import com.microsoft.graph.requests.extensions.TermsAndConditionsRequest; +import com.microsoft.graph.models.extensions.TermsAndConditions; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TermsAndConditions; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Request. */ -public class TermsAndConditionsRequest extends BaseTermsAndConditionsRequest implements ITermsAndConditionsRequest { - +public class TermsAndConditionsRequest extends BaseRequest implements ITermsAndConditionsRequest { + /** * The request for the TermsAndConditions * @@ -26,4 +32,107 @@ public class TermsAndConditionsRequest extends BaseTermsAndConditionsRequest imp public TermsAndConditionsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, TermsAndConditions.class); } + + /** + * Gets the TermsAndConditions from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the TermsAndConditions from the service + * + * @return the TermsAndConditions from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditions get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this TermsAndConditions with a source + * + * @param sourceTermsAndConditions the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTermsAndConditions); + } + + /** + * Patches this TermsAndConditions with a source + * + * @param sourceTermsAndConditions the source object with updates + * @return the updated TermsAndConditions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException { + return send(HttpMethod.PATCH, sourceTermsAndConditions); + } + + /** + * Creates a TermsAndConditions with a new object + * + * @param newTermsAndConditions the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final TermsAndConditions newTermsAndConditions, final ICallback callback) { + send(HttpMethod.POST, callback, newTermsAndConditions); + } + + /** + * Creates a TermsAndConditions with a new object + * + * @param newTermsAndConditions the new object to create + * @return the created TermsAndConditions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException { + return send(HttpMethod.POST, newTermsAndConditions); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TermsAndConditionsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TermsAndConditionsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequestBuilder.java index 6ecf337e3f3..ba2a2fd276d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequest; +import com.microsoft.graph.requests.extensions.TermsAndConditionsRequest; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions Request Builder. */ -public class TermsAndConditionsRequestBuilder extends BaseTermsAndConditionsRequestBuilder implements ITermsAndConditionsRequestBuilder { +public class TermsAndConditionsRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsRequestBuilder { /** * The request builder for the TermsAndConditions @@ -25,4 +36,40 @@ public class TermsAndConditionsRequestBuilder extends BaseTermsAndConditionsRequ public TermsAndConditionsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITermsAndConditionsRequest instance + */ + public ITermsAndConditionsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsRequest instance + */ + public ITermsAndConditionsRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public ITermsAndConditionsAssignmentCollectionRequestBuilder assignments() { + return new TermsAndConditionsAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public ITermsAndConditionsAssignmentRequestBuilder assignments(final String id) { + return new TermsAndConditionsAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + public ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder acceptanceStatuses() { + return new TermsAndConditionsAcceptanceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("acceptanceStatuses"), getClient(), null); + } + + public ITermsAndConditionsAcceptanceStatusRequestBuilder acceptanceStatuses(final String id) { + return new TermsAndConditionsAcceptanceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("acceptanceStatuses") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequest.java index 2d1536a4e7f..68ba179e2e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions With Reference Request. */ -public class TermsAndConditionsWithReferenceRequest extends BaseTermsAndConditionsWithReferenceRequest implements ITermsAndConditionsWithReferenceRequest { +public class TermsAndConditionsWithReferenceRequest extends BaseRequest implements ITermsAndConditionsWithReferenceRequest { /** * The request for the TermsAndConditions @@ -22,7 +30,66 @@ public class TermsAndConditionsWithReferenceRequest extends BaseTermsAndConditio * @param client the service client * @param requestOptions the options for this request */ - public TermsAndConditionsWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TermsAndConditionsWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TermsAndConditions.class); + } + + public void post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public TermsAndConditions post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newTermsAndConditions; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public TermsAndConditions get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTermsAndConditions); + } + + public TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException { + return send(HttpMethod.PATCH, sourceTermsAndConditions); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITermsAndConditionsWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ITermsAndConditionsWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITermsAndConditionsWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TermsAndConditionsWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequestBuilder.java index b0d59edcf95..f1c2b06b872 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTermsAndConditionsWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Terms And Conditions With Reference Request Builder. */ -public class TermsAndConditionsWithReferenceRequestBuilder extends BaseTermsAndConditionsWithReferenceRequestBuilder implements ITermsAndConditionsWithReferenceRequestBuilder { +public class TermsAndConditionsWithReferenceRequestBuilder extends BaseRequestBuilder implements ITermsAndConditionsWithReferenceRequestBuilder { /** * The request builder for the TermsAndConditions @@ -25,4 +33,28 @@ public class TermsAndConditionsWithReferenceRequestBuilder extends BaseTermsAndC public TermsAndConditionsWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITermsAndConditionsWithReferenceRequest instance + */ + public ITermsAndConditionsWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the ITermsAndConditionsWithReferenceRequest instance + */ + public ITermsAndConditionsWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new TermsAndConditionsWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITermsAndConditionsReferenceRequestBuilder reference(){ + return new TermsAndConditionsReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequest.java index b7498caf07d..b72d69e950e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailRequest; +import com.microsoft.graph.requests.extensions.ThumbnailRequest; +import com.microsoft.graph.models.extensions.Thumbnail; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Thumbnail; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Request. */ -public class ThumbnailRequest extends BaseThumbnailRequest implements IThumbnailRequest { - +public class ThumbnailRequest extends BaseRequest implements IThumbnailRequest { + /** * The request for the Thumbnail * @@ -26,4 +32,107 @@ public class ThumbnailRequest extends BaseThumbnailRequest implements IThumbnail public ThumbnailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Thumbnail.class); } + + /** + * Gets the Thumbnail from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Thumbnail from the service + * + * @return the Thumbnail from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Thumbnail get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Thumbnail with a source + * + * @param sourceThumbnail the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Thumbnail sourceThumbnail, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceThumbnail); + } + + /** + * Patches this Thumbnail with a source + * + * @param sourceThumbnail the source object with updates + * @return the updated Thumbnail + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Thumbnail patch(final Thumbnail sourceThumbnail) throws ClientException { + return send(HttpMethod.PATCH, sourceThumbnail); + } + + /** + * Creates a Thumbnail with a new object + * + * @param newThumbnail the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Thumbnail newThumbnail, final ICallback callback) { + send(HttpMethod.POST, callback, newThumbnail); + } + + /** + * Creates a Thumbnail with a new object + * + * @param newThumbnail the new object to create + * @return the created Thumbnail + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Thumbnail post(final Thumbnail newThumbnail) throws ClientException { + return send(HttpMethod.POST, newThumbnail); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IThumbnailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ThumbnailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IThumbnailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ThumbnailRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequestBuilder.java index 699f72bbbd3..7c431a28460 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailRequest; +import com.microsoft.graph.requests.extensions.ThumbnailRequest; +import com.microsoft.graph.requests.extensions.IThumbnailStreamRequestBuilder; +import com.microsoft.graph.requests.extensions.ThumbnailStreamRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Request Builder. */ -public class ThumbnailRequestBuilder extends BaseThumbnailRequestBuilder implements IThumbnailRequestBuilder { +public class ThumbnailRequestBuilder extends BaseRequestBuilder implements IThumbnailRequestBuilder { /** * The request builder for the Thumbnail @@ -25,4 +30,30 @@ public class ThumbnailRequestBuilder extends BaseThumbnailRequestBuilder impleme public ThumbnailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IThumbnailRequest instance + */ + public IThumbnailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IThumbnailRequest instance + */ + public IThumbnailRequest buildRequest(final java.util.List requestOptions) { + return new ThumbnailRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IThumbnailStreamRequestBuilder content() { + return new ThumbnailStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionPage.java index 1ea7c8ec5bc..07b8066d53f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ThumbnailSet; +import com.microsoft.graph.requests.extensions.IThumbnailSetCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseThumbnailSetCollectionPage; -import com.microsoft.graph.requests.generated.BaseThumbnailSetCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Set Collection Page. */ -public class ThumbnailSetCollectionPage extends BaseThumbnailSetCollectionPage implements IThumbnailSetCollectionPage { +public class ThumbnailSetCollectionPage extends BaseCollectionPage implements IThumbnailSetCollectionPage { /** - * A collection page for DriveItem. + * A collection page for ThumbnailSet * - * @param response the serialized BaseThumbnailSetCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized ThumbnailSetCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public ThumbnailSetCollectionPage(final BaseThumbnailSetCollectionResponse response, final IThumbnailSetCollectionRequestBuilder builder) { - super(response, builder); + public ThumbnailSetCollectionPage(final ThumbnailSetCollectionResponse response, final IThumbnailSetCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequest.java index 1ae185b78ba..c853fe11471 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailSetCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Set Collection Request. */ -public class ThumbnailSetCollectionRequest extends BaseThumbnailSetCollectionRequest implements IThumbnailSetCollectionRequest { +public class ThumbnailSetCollectionRequest extends BaseCollectionRequest implements IThumbnailSetCollectionRequest { /** - * The request for this collection of DriveItem + * The request builder for this collection of ThumbnailSet * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public ThumbnailSetCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public ThumbnailSetCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ThumbnailSetCollectionResponse.class, IThumbnailSetCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IThumbnailSetCollectionPage get() throws ClientException { + final ThumbnailSetCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final ThumbnailSet newThumbnailSet, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new ThumbnailSetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newThumbnailSet, callback); + } + + public ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ThumbnailSetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newThumbnailSet); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IThumbnailSetCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (ThumbnailSetCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IThumbnailSetCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (ThumbnailSetCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IThumbnailSetCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (ThumbnailSetCollectionRequest)this; + } + + public IThumbnailSetCollectionPage buildFromResponse(final ThumbnailSetCollectionResponse response) { + final IThumbnailSetCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new ThumbnailSetCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final ThumbnailSetCollectionPage page = new ThumbnailSetCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequestBuilder.java index 98da4680e13..e4cc9b9d55e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailSetCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Set Collection Request Builder. */ -public class ThumbnailSetCollectionRequestBuilder extends BaseThumbnailSetCollectionRequestBuilder implements IThumbnailSetCollectionRequestBuilder { +public class ThumbnailSetCollectionRequestBuilder extends BaseRequestBuilder implements IThumbnailSetCollectionRequestBuilder { /** * The request builder for this collection of DriveItem @@ -25,4 +33,18 @@ public class ThumbnailSetCollectionRequestBuilder extends BaseThumbnailSetCollec public ThumbnailSetCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IThumbnailSetCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IThumbnailSetCollectionRequest buildRequest(final java.util.List requestOptions) { + return new ThumbnailSetCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IThumbnailSetRequestBuilder byId(final String id) { + return new ThumbnailSetRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionResponse.java new file mode 100644 index 00000000000..f67a7c1f457 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.ThumbnailSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Thumbnail Set Collection Response. + */ +public class ThumbnailSetCollectionResponse implements IJsonBackedObject { + + /** + * The list of ThumbnailSet within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequest.java index 716a858cdb8..165a8bdb1a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailSetRequest; +import com.microsoft.graph.requests.extensions.ThumbnailSetRequest; +import com.microsoft.graph.models.extensions.ThumbnailSet; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.ThumbnailSet; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailSetRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Set Request. */ -public class ThumbnailSetRequest extends BaseThumbnailSetRequest implements IThumbnailSetRequest { - +public class ThumbnailSetRequest extends BaseRequest implements IThumbnailSetRequest { + /** * The request for the ThumbnailSet * @@ -26,4 +32,107 @@ public class ThumbnailSetRequest extends BaseThumbnailSetRequest implements IThu public ThumbnailSetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, ThumbnailSet.class); } + + /** + * Gets the ThumbnailSet from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the ThumbnailSet from the service + * + * @return the ThumbnailSet from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ThumbnailSet get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this ThumbnailSet with a source + * + * @param sourceThumbnailSet the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final ThumbnailSet sourceThumbnailSet, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceThumbnailSet); + } + + /** + * Patches this ThumbnailSet with a source + * + * @param sourceThumbnailSet the source object with updates + * @return the updated ThumbnailSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ThumbnailSet patch(final ThumbnailSet sourceThumbnailSet) throws ClientException { + return send(HttpMethod.PATCH, sourceThumbnailSet); + } + + /** + * Creates a ThumbnailSet with a new object + * + * @param newThumbnailSet the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final ThumbnailSet newThumbnailSet, final ICallback callback) { + send(HttpMethod.POST, callback, newThumbnailSet); + } + + /** + * Creates a ThumbnailSet with a new object + * + * @param newThumbnailSet the new object to create + * @return the created ThumbnailSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException { + return send(HttpMethod.POST, newThumbnailSet); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IThumbnailSetRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (ThumbnailSetRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IThumbnailSetRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (ThumbnailSetRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequestBuilder.java index 2cd92cc8047..d0d7187c917 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailSetRequest; +import com.microsoft.graph.requests.extensions.ThumbnailSetRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailSetRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Set Request Builder. */ -public class ThumbnailSetRequestBuilder extends BaseThumbnailSetRequestBuilder implements IThumbnailSetRequestBuilder { +public class ThumbnailSetRequestBuilder extends BaseRequestBuilder implements IThumbnailSetRequestBuilder { /** * The request builder for the ThumbnailSet @@ -26,8 +29,29 @@ public ThumbnailSetRequestBuilder(final String requestUrl, final IBaseClient cli super(requestUrl, client, requestOptions); } + /** + * Creates the request + * + * @return the IThumbnailSetRequest instance + */ + public IThumbnailSetRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IThumbnailSetRequest instance + */ + public IThumbnailSetRequest buildRequest(final java.util.List requestOptions) { + return new ThumbnailSetRequest(getRequestUrl(), getClient(), requestOptions); + } + @Override public IThumbnailRequestBuilder getThumbnailSize(final String size) { return new ThumbnailRequestBuilder(getRequestUrlWithAdditionalSegment(size), getClient(), /* options */ null); } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequest.java index 5bd542c1814..e491f000071 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequest.java @@ -4,17 +4,26 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Thumbnail; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailStreamRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import java.io.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Stream Request. */ -public class ThumbnailStreamRequest extends BaseThumbnailStreamRequest implements IThumbnailStreamRequest { +public class ThumbnailStreamRequest extends BaseStreamRequest implements IThumbnailStreamRequest { /** * The request for the ThumbnailStream @@ -26,4 +35,44 @@ public class ThumbnailStreamRequest extends BaseThumbnailStreamRequest implement public ThumbnailStreamRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Thumbnail.class); } + + /** + * Gets the contents of this stream + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(callback); + } + + /** + * Gets the contents of this stream + * + * @return the stream that the caller needs to close + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public InputStream get() throws ClientException { + return send(); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @param callback the callback to be called after success or failure + */ + public void put(final byte[] fileContents, final ICallback callback) { + send(fileContents, callback); + } + + /** + * Uploads to the stream + * + * @param fileContents the contents of the stream to upload + * @return the result of the upload + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Thumbnail put(final byte[] fileContents) throws ClientException { + return send(fileContents); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequestBuilder.java index 10587c08f7e..d033a260c73 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailStreamRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IThumbnailStreamRequest; +import com.microsoft.graph.requests.extensions.ThumbnailStreamRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseThumbnailStreamRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Thumbnail Stream Request Builder. */ -public class ThumbnailStreamRequestBuilder extends BaseThumbnailStreamRequestBuilder implements IThumbnailStreamRequestBuilder { +public class ThumbnailStreamRequestBuilder extends BaseRequestBuilder implements IThumbnailStreamRequestBuilder { /** * The request builder for the ThumbnailStream @@ -25,4 +28,26 @@ public class ThumbnailStreamRequestBuilder extends BaseThumbnailStreamRequestBui public ThumbnailStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IThumbnailStreamRequest instance + */ + public IThumbnailStreamRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IThumbnailStreamRequest instance + */ + public IThumbnailStreamRequest buildRequest(final java.util.List requestOptions) { + return new ThumbnailStreamRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionPage.java index 41fd37c4a3f..98a6c0fdd01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Trending; +import com.microsoft.graph.requests.extensions.ITrendingCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseTrendingCollectionPage; -import com.microsoft.graph.requests.generated.BaseTrendingCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Trending Collection Page. */ -public class TrendingCollectionPage extends BaseTrendingCollectionPage implements ITrendingCollectionPage { +public class TrendingCollectionPage extends BaseCollectionPage implements ITrendingCollectionPage { /** - * A collection page for OfficeGraphInsights. + * A collection page for Trending * - * @param response the serialized BaseTrendingCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized TrendingCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public TrendingCollectionPage(final BaseTrendingCollectionResponse response, final ITrendingCollectionRequestBuilder builder) { - super(response, builder); + public TrendingCollectionPage(final TrendingCollectionResponse response, final ITrendingCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequest.java index c3a6ecab692..71010f858f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTrendingCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Trending Collection Request. */ -public class TrendingCollectionRequest extends BaseTrendingCollectionRequest implements ITrendingCollectionRequest { +public class TrendingCollectionRequest extends BaseCollectionRequest implements ITrendingCollectionRequest { /** - * The request for this collection of OfficeGraphInsights + * The request builder for this collection of Trending * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public TrendingCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public TrendingCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, TrendingCollectionResponse.class, ITrendingCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public ITrendingCollectionPage get() throws ClientException { + final TrendingCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final Trending newTrending, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new TrendingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTrending, callback); + } + + public Trending post(final Trending newTrending) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new TrendingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newTrending); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITrendingCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (TrendingCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITrendingCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (TrendingCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public ITrendingCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (TrendingCollectionRequest)this; + } + + public ITrendingCollectionPage buildFromResponse(final TrendingCollectionResponse response) { + final ITrendingCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new TrendingCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final TrendingCollectionPage page = new TrendingCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequestBuilder.java index e98df78a01d..ffad3e4a4af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTrendingCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Trending Collection Request Builder. */ -public class TrendingCollectionRequestBuilder extends BaseTrendingCollectionRequestBuilder implements ITrendingCollectionRequestBuilder { +public class TrendingCollectionRequestBuilder extends BaseRequestBuilder implements ITrendingCollectionRequestBuilder { /** * The request builder for this collection of OfficeGraphInsights @@ -25,4 +33,18 @@ public class TrendingCollectionRequestBuilder extends BaseTrendingCollectionRequ public TrendingCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public ITrendingCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public ITrendingCollectionRequest buildRequest(final java.util.List requestOptions) { + return new TrendingCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public ITrendingRequestBuilder byId(final String id) { + return new TrendingRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionResponse.java new file mode 100644 index 00000000000..e0479468da8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.Trending; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Trending Collection Response. + */ +public class TrendingCollectionResponse implements IJsonBackedObject { + + /** + * The list of Trending within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequest.java index bde9f5b5c42..0817643bb68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITrendingRequest; +import com.microsoft.graph.requests.extensions.TrendingRequest; +import com.microsoft.graph.models.extensions.Trending; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Trending; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTrendingRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Trending Request. */ -public class TrendingRequest extends BaseTrendingRequest implements ITrendingRequest { - +public class TrendingRequest extends BaseRequest implements ITrendingRequest { + /** * The request for the Trending * @@ -26,4 +32,107 @@ public class TrendingRequest extends BaseTrendingRequest implements ITrendingReq public TrendingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Trending.class); } + + /** + * Gets the Trending from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Trending from the service + * + * @return the Trending from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Trending get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Trending with a source + * + * @param sourceTrending the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Trending sourceTrending, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceTrending); + } + + /** + * Patches this Trending with a source + * + * @param sourceTrending the source object with updates + * @return the updated Trending + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Trending patch(final Trending sourceTrending) throws ClientException { + return send(HttpMethod.PATCH, sourceTrending); + } + + /** + * Creates a Trending with a new object + * + * @param newTrending the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Trending newTrending, final ICallback callback) { + send(HttpMethod.POST, callback, newTrending); + } + + /** + * Creates a Trending with a new object + * + * @param newTrending the new object to create + * @return the created Trending + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Trending post(final Trending newTrending) throws ClientException { + return send(HttpMethod.POST, newTrending); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public ITrendingRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (TrendingRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public ITrendingRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (TrendingRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequestBuilder.java index 9163c322a40..7809924f072 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.ITrendingRequest; +import com.microsoft.graph.requests.extensions.TrendingRequest; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseTrendingRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Trending Request Builder. */ -public class TrendingRequestBuilder extends BaseTrendingRequestBuilder implements ITrendingRequestBuilder { +public class TrendingRequestBuilder extends BaseRequestBuilder implements ITrendingRequestBuilder { /** * The request builder for the Trending @@ -25,4 +30,35 @@ public class TrendingRequestBuilder extends BaseTrendingRequestBuilder implement public TrendingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the ITrendingRequest instance + */ + public ITrendingRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ITrendingRequest instance + */ + public ITrendingRequest buildRequest(final java.util.List requestOptions) { + return new TrendingRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + public IEntityWithReferenceRequestBuilder resource() { + return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("resource"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionPage.java index 6cabdb7f90f..1092ad51c72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UsedInsight; +import com.microsoft.graph.requests.extensions.IUsedInsightCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseUsedInsightCollectionPage; -import com.microsoft.graph.requests.generated.BaseUsedInsightCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Used Insight Collection Page. */ -public class UsedInsightCollectionPage extends BaseUsedInsightCollectionPage implements IUsedInsightCollectionPage { +public class UsedInsightCollectionPage extends BaseCollectionPage implements IUsedInsightCollectionPage { /** - * A collection page for OfficeGraphInsights. + * A collection page for UsedInsight * - * @param response the serialized BaseUsedInsightCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized UsedInsightCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public UsedInsightCollectionPage(final BaseUsedInsightCollectionResponse response, final IUsedInsightCollectionRequestBuilder builder) { - super(response, builder); + public UsedInsightCollectionPage(final UsedInsightCollectionResponse response, final IUsedInsightCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequest.java index 582eb6913db..cd6a5e9d2d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUsedInsightCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Used Insight Collection Request. */ -public class UsedInsightCollectionRequest extends BaseUsedInsightCollectionRequest implements IUsedInsightCollectionRequest { +public class UsedInsightCollectionRequest extends BaseCollectionRequest implements IUsedInsightCollectionRequest { /** - * The request for this collection of OfficeGraphInsights + * The request builder for this collection of UsedInsight * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public UsedInsightCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UsedInsightCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, UsedInsightCollectionResponse.class, IUsedInsightCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUsedInsightCollectionPage get() throws ClientException { + final UsedInsightCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final UsedInsight newUsedInsight, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new UsedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUsedInsight, callback); + } + + public UsedInsight post(final UsedInsight newUsedInsight) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new UsedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUsedInsight); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUsedInsightCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (UsedInsightCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUsedInsightCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (UsedInsightCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUsedInsightCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (UsedInsightCollectionRequest)this; + } + + public IUsedInsightCollectionPage buildFromResponse(final UsedInsightCollectionResponse response) { + final IUsedInsightCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UsedInsightCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final UsedInsightCollectionPage page = new UsedInsightCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequestBuilder.java index d34693c66a8..35d8dd7d1a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUsedInsightCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Used Insight Collection Request Builder. */ -public class UsedInsightCollectionRequestBuilder extends BaseUsedInsightCollectionRequestBuilder implements IUsedInsightCollectionRequestBuilder { +public class UsedInsightCollectionRequestBuilder extends BaseRequestBuilder implements IUsedInsightCollectionRequestBuilder { /** * The request builder for this collection of OfficeGraphInsights @@ -25,4 +33,18 @@ public class UsedInsightCollectionRequestBuilder extends BaseUsedInsightCollecti public UsedInsightCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUsedInsightCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUsedInsightCollectionRequest buildRequest(final java.util.List requestOptions) { + return new UsedInsightCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IUsedInsightRequestBuilder byId(final String id) { + return new UsedInsightRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionResponse.java new file mode 100644 index 00000000000..8bf71807d62 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UsedInsight; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Used Insight Collection Response. + */ +public class UsedInsightCollectionResponse implements IJsonBackedObject { + + /** + * The list of UsedInsight within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequest.java index 3db2b379e50..c7f51dac783 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUsedInsightRequest; +import com.microsoft.graph.requests.extensions.UsedInsightRequest; +import com.microsoft.graph.models.extensions.UsedInsight; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.UsedInsight; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUsedInsightRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Used Insight Request. */ -public class UsedInsightRequest extends BaseUsedInsightRequest implements IUsedInsightRequest { - +public class UsedInsightRequest extends BaseRequest implements IUsedInsightRequest { + /** * The request for the UsedInsight * @@ -26,4 +32,107 @@ public class UsedInsightRequest extends BaseUsedInsightRequest implements IUsedI public UsedInsightRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, UsedInsight.class); } + + /** + * Gets the UsedInsight from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the UsedInsight from the service + * + * @return the UsedInsight from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UsedInsight get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this UsedInsight with a source + * + * @param sourceUsedInsight the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final UsedInsight sourceUsedInsight, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUsedInsight); + } + + /** + * Patches this UsedInsight with a source + * + * @param sourceUsedInsight the source object with updates + * @return the updated UsedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UsedInsight patch(final UsedInsight sourceUsedInsight) throws ClientException { + return send(HttpMethod.PATCH, sourceUsedInsight); + } + + /** + * Creates a UsedInsight with a new object + * + * @param newUsedInsight the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final UsedInsight newUsedInsight, final ICallback callback) { + send(HttpMethod.POST, callback, newUsedInsight); + } + + /** + * Creates a UsedInsight with a new object + * + * @param newUsedInsight the new object to create + * @return the created UsedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UsedInsight post(final UsedInsight newUsedInsight) throws ClientException { + return send(HttpMethod.POST, newUsedInsight); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUsedInsightRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UsedInsightRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUsedInsightRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UsedInsightRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequestBuilder.java index 00b78aec0cd..9ac0a92b04e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUsedInsightRequest; +import com.microsoft.graph.requests.extensions.UsedInsightRequest; +import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUsedInsightRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Used Insight Request Builder. */ -public class UsedInsightRequestBuilder extends BaseUsedInsightRequestBuilder implements IUsedInsightRequestBuilder { +public class UsedInsightRequestBuilder extends BaseRequestBuilder implements IUsedInsightRequestBuilder { /** * The request builder for the UsedInsight @@ -25,4 +30,35 @@ public class UsedInsightRequestBuilder extends BaseUsedInsightRequestBuilder imp public UsedInsightRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUsedInsightRequest instance + */ + public IUsedInsightRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUsedInsightRequest instance + */ + public IUsedInsightRequest buildRequest(final java.util.List requestOptions) { + return new UsedInsightRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for Entity + * + * @return the IEntityWithReferenceRequestBuilder instance + */ + public IEntityWithReferenceRequestBuilder resource() { + return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("resource"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionPage.java index cd0a9a033d0..7d22de7c4be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserActivity; +import com.microsoft.graph.requests.extensions.IUserActivityCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserActivityCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserActivityCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Collection Page. */ -public class UserActivityCollectionPage extends BaseUserActivityCollectionPage implements IUserActivityCollectionPage { +public class UserActivityCollectionPage extends BaseCollectionPage implements IUserActivityCollectionPage { /** - * A collection page for User. + * A collection page for UserActivity * - * @param response the serialized BaseUserActivityCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized UserActivityCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public UserActivityCollectionPage(final BaseUserActivityCollectionResponse response, final IUserActivityCollectionRequestBuilder builder) { - super(response, builder); + public UserActivityCollectionPage(final UserActivityCollectionResponse response, final IUserActivityCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequest.java index 89a1d57609b..f87c156c516 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Collection Request. */ -public class UserActivityCollectionRequest extends BaseUserActivityCollectionRequest implements IUserActivityCollectionRequest { +public class UserActivityCollectionRequest extends BaseCollectionRequest implements IUserActivityCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of UserActivity * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public UserActivityCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserActivityCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, UserActivityCollectionResponse.class, IUserActivityCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserActivityCollectionPage get() throws ClientException { + final UserActivityCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final UserActivity newUserActivity, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new UserActivityRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUserActivity, callback); + } + + public UserActivity post(final UserActivity newUserActivity) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new UserActivityRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUserActivity); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserActivityCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (UserActivityCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserActivityCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (UserActivityCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserActivityCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (UserActivityCollectionRequest)this; + } + + public IUserActivityCollectionPage buildFromResponse(final UserActivityCollectionResponse response) { + final IUserActivityCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserActivityCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final UserActivityCollectionPage page = new UserActivityCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequestBuilder.java index 18c3cad364a..bb2abe572e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Collection Request Builder. */ -public class UserActivityCollectionRequestBuilder extends BaseUserActivityCollectionRequestBuilder implements IUserActivityCollectionRequestBuilder { +public class UserActivityCollectionRequestBuilder extends BaseRequestBuilder implements IUserActivityCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,22 @@ public class UserActivityCollectionRequestBuilder extends BaseUserActivityCollec public UserActivityCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserActivityCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserActivityCollectionRequest buildRequest(final java.util.List requestOptions) { + return new UserActivityCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IUserActivityRequestBuilder byId(final String id) { + return new UserActivityRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IUserActivityRecentCollectionRequestBuilder recent() { + return new UserActivityRecentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.recent"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionResponse.java new file mode 100644 index 00000000000..79a5f162c18 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserActivity; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Activity Collection Response. + */ +public class UserActivityCollectionResponse implements IJsonBackedObject { + + /** + * The list of UserActivity within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionPage.java index 9028bed140e..cf95368daea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseUserActivityRecentCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserActivityRecentCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Recent Collection Page. */ -public class UserActivityRecentCollectionPage extends BaseUserActivityRecentCollectionPage implements IUserActivityRecentCollectionPage { +public class UserActivityRecentCollectionPage extends BaseCollectionPage implements IUserActivityRecentCollectionPage { /** - * A collection page for UserActivity. + * A collection page for UserActivityRecent. * - * @param response the serialized BaseUserActivityRecentCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized UserActivityRecentCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public UserActivityRecentCollectionPage(final BaseUserActivityRecentCollectionResponse response, final IUserActivityRecentCollectionRequestBuilder builder) { - super(response, builder); + public UserActivityRecentCollectionPage(final UserActivityRecentCollectionResponse response, final IUserActivityRecentCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequest.java index ad31d547046..269ea6a2733 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityRecentCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Recent Collection Request. */ -public class UserActivityRecentCollectionRequest extends BaseUserActivityRecentCollectionRequest implements IUserActivityRecentCollectionRequest { +public class UserActivityRecentCollectionRequest extends BaseCollectionRequest implements IUserActivityRecentCollectionRequest { + /** - * The request for this collection of UserActivity + * The request for this UserActivityRecent * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public UserActivityRecentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UserActivityRecentCollectionResponse.class, IUserActivityRecentCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserActivityRecentCollectionPage get() throws ClientException { + final UserActivityRecentCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IUserActivityRecentCollectionPage buildFromResponse(final UserActivityRecentCollectionResponse response) { + final IUserActivityRecentCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserActivityRecentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IUserActivityRecentCollectionPage page = new UserActivityRecentCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserActivityRecentCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IUserActivityRecentCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserActivityRecentCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IUserActivityRecentCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserActivityRecentCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IUserActivityRecentCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequestBuilder.java index 43ba9dfe562..611306957c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityRecentCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Recent Collection Request Builder. */ -public class UserActivityRecentCollectionRequestBuilder extends BaseUserActivityRecentCollectionRequestBuilder implements IUserActivityRecentCollectionRequestBuilder { +public class UserActivityRecentCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IUserActivityRecentCollectionRequestBuilder { /** * The request builder for this collection of UserActivity @@ -25,4 +32,22 @@ public class UserActivityRecentCollectionRequestBuilder extends BaseUserActivity public UserActivityRecentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserActivityRecentCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserActivityRecentCollectionRequest buildRequest(final java.util.List requestOptions) { + UserActivityRecentCollectionRequest request = new UserActivityRecentCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionResponse.java new file mode 100644 index 00000000000..9515a5b9515 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRecentCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Activity Recent Collection Response. + */ +public class UserActivityRecentCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequest.java index 2969ff6abf9..e62135ef1cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Reference Request. */ -public class UserActivityReferenceRequest extends BaseUserActivityReferenceRequest implements IUserActivityReferenceRequest { +public class UserActivityReferenceRequest extends BaseRequest implements IUserActivityReferenceRequest { /** * The request for the UserActivity @@ -22,7 +30,57 @@ public class UserActivityReferenceRequest extends BaseUserActivityReferenceReque * @param client the service client * @param requestOptions the options for this request */ - public UserActivityReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserActivityReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, UserActivity.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public UserActivity delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserActivityReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserActivityReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserActivityReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserActivityReferenceRequest)this; + } + /** + * Puts the UserActivity + * + * @param srcUserActivity the UserActivity reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(UserActivity srcUserActivity, final ICallback callback) { + send(HttpMethod.PUT, callback, srcUserActivity); + } + + /** + * Puts the UserActivity + * + * @param srcUserActivity the UserActivity reference to PUT + * @return the UserActivity + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public UserActivity put(UserActivity srcUserActivity) throws ClientException { + return send(HttpMethod.PUT, srcUserActivity); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequestBuilder.java index b3653616972..78cf34968f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Reference Request Builder. */ -public class UserActivityReferenceRequestBuilder extends BaseUserActivityReferenceRequestBuilder implements IUserActivityReferenceRequestBuilder { +public class UserActivityReferenceRequestBuilder extends BaseRequestBuilder implements IUserActivityReferenceRequestBuilder { /** * The request builder for the UserActivity @@ -25,4 +34,23 @@ public class UserActivityReferenceRequestBuilder extends BaseUserActivityReferen public UserActivityReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IUserActivityReferenceRequest instance + */ + public IUserActivityReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUserActivityReferenceRequest instance + */ + public IUserActivityReferenceRequest buildRequest(final java.util.List requestOptions) { + return new UserActivityReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequest.java index f6aa985ad15..b7f8943dd73 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserActivityRequest; +import com.microsoft.graph.requests.extensions.UserActivityRequest; +import com.microsoft.graph.models.extensions.UserActivity; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.UserActivity; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Request. */ -public class UserActivityRequest extends BaseUserActivityRequest implements IUserActivityRequest { - +public class UserActivityRequest extends BaseRequest implements IUserActivityRequest { + /** * The request for the UserActivity * @@ -26,4 +32,107 @@ public class UserActivityRequest extends BaseUserActivityRequest implements IUse public UserActivityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, UserActivity.class); } + + /** + * Gets the UserActivity from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the UserActivity from the service + * + * @return the UserActivity from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserActivity get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this UserActivity with a source + * + * @param sourceUserActivity the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final UserActivity sourceUserActivity, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUserActivity); + } + + /** + * Patches this UserActivity with a source + * + * @param sourceUserActivity the source object with updates + * @return the updated UserActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserActivity patch(final UserActivity sourceUserActivity) throws ClientException { + return send(HttpMethod.PATCH, sourceUserActivity); + } + + /** + * Creates a UserActivity with a new object + * + * @param newUserActivity the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final UserActivity newUserActivity, final ICallback callback) { + send(HttpMethod.POST, callback, newUserActivity); + } + + /** + * Creates a UserActivity with a new object + * + * @param newUserActivity the new object to create + * @return the created UserActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserActivity post(final UserActivity newUserActivity) throws ClientException { + return send(HttpMethod.POST, newUserActivity); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserActivityRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserActivityRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserActivityRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserActivityRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequestBuilder.java index cb152d92e3e..95f4eec4190 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserActivityRequest; +import com.microsoft.graph.requests.extensions.UserActivityRequest; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ActivityHistoryItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequestBuilder; +import com.microsoft.graph.requests.extensions.ActivityHistoryItemRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity Request Builder. */ -public class UserActivityRequestBuilder extends BaseUserActivityRequestBuilder implements IUserActivityRequestBuilder { +public class UserActivityRequestBuilder extends BaseRequestBuilder implements IUserActivityRequestBuilder { /** * The request builder for the UserActivity @@ -25,4 +32,33 @@ public class UserActivityRequestBuilder extends BaseUserActivityRequestBuilder i public UserActivityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUserActivityRequest instance + */ + public IUserActivityRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUserActivityRequest instance + */ + public IUserActivityRequest buildRequest(final java.util.List requestOptions) { + return new UserActivityRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IActivityHistoryItemCollectionRequestBuilder historyItems() { + return new ActivityHistoryItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("historyItems"), getClient(), null); + } + + public IActivityHistoryItemRequestBuilder historyItems(final String id) { + return new ActivityHistoryItemRequestBuilder(getRequestUrlWithAdditionalSegment("historyItems") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequest.java index 865ab4cefb8..6f21c43d062 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity With Reference Request. */ -public class UserActivityWithReferenceRequest extends BaseUserActivityWithReferenceRequest implements IUserActivityWithReferenceRequest { +public class UserActivityWithReferenceRequest extends BaseRequest implements IUserActivityWithReferenceRequest { /** * The request for the UserActivity @@ -22,7 +30,66 @@ public class UserActivityWithReferenceRequest extends BaseUserActivityWithRefere * @param client the service client * @param requestOptions the options for this request */ - public UserActivityWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserActivityWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, UserActivity.class); + } + + public void post(final UserActivity newUserActivity, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public UserActivity post(final UserActivity newUserActivity, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newUserActivity; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public UserActivity get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final UserActivity sourceUserActivity, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUserActivity); + } + + public UserActivity patch(final UserActivity sourceUserActivity) throws ClientException { + return send(HttpMethod.PATCH, sourceUserActivity); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserActivityWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IUserActivityWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserActivityWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserActivityWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequestBuilder.java index 71a0119d690..65426ca1657 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserActivityWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Activity With Reference Request Builder. */ -public class UserActivityWithReferenceRequestBuilder extends BaseUserActivityWithReferenceRequestBuilder implements IUserActivityWithReferenceRequestBuilder { +public class UserActivityWithReferenceRequestBuilder extends BaseRequestBuilder implements IUserActivityWithReferenceRequestBuilder { /** * The request builder for the UserActivity @@ -25,4 +33,28 @@ public class UserActivityWithReferenceRequestBuilder extends BaseUserActivityWit public UserActivityWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUserActivityWithReferenceRequest instance + */ + public IUserActivityWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserActivityWithReferenceRequest instance + */ + public IUserActivityWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new UserActivityWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IUserActivityReferenceRequestBuilder reference(){ + return new UserActivityReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequest.java index 82fc97c3582..a14c87f38ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserAssignLicenseBody; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; +import com.microsoft.graph.requests.extensions.UserAssignLicenseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserAssignLicenseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Assign License Request. */ -public class UserAssignLicenseRequest extends BaseUserAssignLicenseRequest implements IUserAssignLicenseRequest { +public class UserAssignLicenseRequest extends BaseRequest implements IUserAssignLicenseRequest { + protected final UserAssignLicenseBody body; /** * The request for this UserAssignLicense @@ -23,6 +32,49 @@ public class UserAssignLicenseRequest extends BaseUserAssignLicenseRequest imple * @param requestOptions the options for this request */ public UserAssignLicenseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, User.class); + body = new UserAssignLicenseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public User post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserAssignLicenseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserAssignLicenseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserAssignLicenseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (UserAssignLicenseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserAssignLicenseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserAssignLicenseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequestBuilder.java index 0332320cacf..4a8309082bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserAssignLicenseRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; +import com.microsoft.graph.requests.extensions.UserAssignLicenseRequest; +import com.microsoft.graph.models.extensions.AssignedLicense; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.AssignedLicense; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserAssignLicenseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Assign License Request Builder. */ -public class UserAssignLicenseRequestBuilder extends BaseUserAssignLicenseRequestBuilder implements IUserAssignLicenseRequestBuilder { +public class UserAssignLicenseRequestBuilder extends BaseActionRequestBuilder implements IUserAssignLicenseRequestBuilder { /** * The request builder for this UserAssignLicense @@ -26,6 +31,41 @@ public class UserAssignLicenseRequestBuilder extends BaseUserAssignLicenseReques * @param removeLicenses the removeLicenses */ public UserAssignLicenseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List addLicenses, final java.util.List removeLicenses) { - super(requestUrl, client, requestOptions, addLicenses, removeLicenses); + super(requestUrl, client, requestOptions); + bodyParams.put("addLicenses", addLicenses); + bodyParams.put("removeLicenses", removeLicenses); + } + + /** + * Creates the IUserAssignLicenseRequest + * + * @return the IUserAssignLicenseRequest instance + */ + public IUserAssignLicenseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserAssignLicenseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserAssignLicenseRequest instance + */ + public IUserAssignLicenseRequest buildRequest(final java.util.List requestOptions) { + UserAssignLicenseRequest request = new UserAssignLicenseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("addLicenses")) { + request.body.addLicenses = getParameter("addLicenses"); + } + + if (hasParameter("removeLicenses")) { + request.body.removeLicenses = getParameter("removeLicenses"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequest.java index e550a902cde..95a1311b4f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserChangePasswordBody; +import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; +import com.microsoft.graph.requests.extensions.UserChangePasswordRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserChangePasswordRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Change Password Request. */ -public class UserChangePasswordRequest extends BaseUserChangePasswordRequest implements IUserChangePasswordRequest { +public class UserChangePasswordRequest extends BaseRequest implements IUserChangePasswordRequest { + protected final UserChangePasswordBody body; /** * The request for this UserChangePassword @@ -23,6 +31,49 @@ public class UserChangePasswordRequest extends BaseUserChangePasswordRequest imp * @param requestOptions the options for this request */ public UserChangePasswordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new UserChangePasswordBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserChangePasswordRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserChangePasswordRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserChangePasswordRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (UserChangePasswordRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserChangePasswordRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserChangePasswordRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequestBuilder.java index e60bd78c725..f8fca2bc659 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserChangePasswordRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; +import com.microsoft.graph.requests.extensions.UserChangePasswordRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserChangePasswordRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Change Password Request Builder. */ -public class UserChangePasswordRequestBuilder extends BaseUserChangePasswordRequestBuilder implements IUserChangePasswordRequestBuilder { +public class UserChangePasswordRequestBuilder extends BaseActionRequestBuilder implements IUserChangePasswordRequestBuilder { /** * The request builder for this UserChangePassword @@ -25,6 +30,41 @@ public class UserChangePasswordRequestBuilder extends BaseUserChangePasswordRequ * @param newPassword the newPassword */ public UserChangePasswordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String currentPassword, final String newPassword) { - super(requestUrl, client, requestOptions, currentPassword, newPassword); + super(requestUrl, client, requestOptions); + bodyParams.put("currentPassword", currentPassword); + bodyParams.put("newPassword", newPassword); + } + + /** + * Creates the IUserChangePasswordRequest + * + * @return the IUserChangePasswordRequest instance + */ + public IUserChangePasswordRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserChangePasswordRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserChangePasswordRequest instance + */ + public IUserChangePasswordRequest buildRequest(final java.util.List requestOptions) { + UserChangePasswordRequest request = new UserChangePasswordRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("currentPassword")) { + request.body.currentPassword = getParameter("currentPassword"); + } + + if (hasParameter("newPassword")) { + request.body.newPassword = getParameter("newPassword"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionPage.java index d850201c984..58ac1f1841d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.requests.extensions.IUserCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Collection Page. */ -public class UserCollectionPage extends BaseUserCollectionPage implements IUserCollectionPage { +public class UserCollectionPage extends BaseCollectionPage implements IUserCollectionPage { /** - * A collection page for User. + * A collection page for User * - * @param response the serialized BaseUserCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized UserCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public UserCollectionPage(final BaseUserCollectionResponse response, final IUserCollectionRequestBuilder builder) { - super(response, builder); + public UserCollectionPage(final UserCollectionResponse response, final IUserCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequest.java index 6c6d47de421..12f92468110 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Collection Request. */ -public class UserCollectionRequest extends BaseUserCollectionRequest implements IUserCollectionRequest { +public class UserCollectionRequest extends BaseCollectionRequest implements IUserCollectionRequest { /** - * The request for this collection of User + * The request builder for this collection of User * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public UserCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, UserCollectionResponse.class, IUserCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserCollectionPage get() throws ClientException { + final UserCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final User newUser, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new UserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUser, callback); + } + + public User post(final User newUser) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new UserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUser); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (UserCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (UserCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (UserCollectionRequest)this; + } + + public IUserCollectionPage buildFromResponse(final UserCollectionResponse response) { + final IUserCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final UserCollectionPage page = new UserCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequestBuilder.java index 86459e4f5c9..554d669ffb2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Collection Request Builder. */ -public class UserCollectionRequestBuilder extends BaseUserCollectionRequestBuilder implements IUserCollectionRequestBuilder { +public class UserCollectionRequestBuilder extends BaseRequestBuilder implements IUserCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +33,26 @@ public class UserCollectionRequestBuilder extends BaseUserCollectionRequestBuild public UserCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserCollectionRequest buildRequest(final java.util.List requestOptions) { + return new UserCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IUserRequestBuilder byId(final String id) { + return new UserRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IUserDeltaCollectionRequestBuilder delta() { + return new UserDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); + } + + public IUserDeltaCollectionRequestBuilder delta(final String deltaLink) { + return new UserDeltaCollectionRequestBuilder(deltaLink, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionResponse.java new file mode 100644 index 00000000000..520e5d61b36 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.User; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Collection Response. + */ +public class UserCollectionResponse implements IJsonBackedObject { + + /** + * The list of User within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionPage.java index c7718544c03..65f75dc9fbc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionPage.java @@ -4,23 +4,55 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseUserDeltaCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserDeltaCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Delta Collection Page. */ -public class UserDeltaCollectionPage extends BaseUserDeltaCollectionPage implements IUserDeltaCollectionPage { +public class UserDeltaCollectionPage extends BaseCollectionPage implements IUserDeltaCollectionPage { + + /** + * The opaque link to query delta after the + * initial request + */ + public String deltaLink; /** - * A collection page for User. + * A collection page for UserDelta. + * + * @param response The serialized UserDeltaCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public UserDeltaCollectionPage(final UserDeltaCollectionResponse response, final IUserDeltaCollectionRequestBuilder builder) { + super(response.value, builder); + + if (response.getRawObject().get("@odata.deltaLink") != null) { + deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); + } else { + deltaLink = null; + } + } + /** + * The deltaLink to make future delta requests * - * @param response the serialized BaseUserDeltaCollectionResponse from the service - * @param builder the request builder for the next collection page + * @return String The deltaLink URL */ - public UserDeltaCollectionPage(final BaseUserDeltaCollectionResponse response, final IUserDeltaCollectionRequestBuilder builder) { - super(response, builder); + public String deltaLink() { + return deltaLink; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequest.java index c2b0c949cc3..654e40102f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserDeltaCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Delta Collection Request. */ -public class UserDeltaCollectionRequest extends BaseUserDeltaCollectionRequest implements IUserDeltaCollectionRequest { +public class UserDeltaCollectionRequest extends BaseCollectionRequest implements IUserDeltaCollectionRequest { + /** - * The request for this collection of User + * The request for this UserDelta * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public UserDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UserDeltaCollectionResponse.class, IUserDeltaCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserDeltaCollectionPage get() throws ClientException { + final UserDeltaCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IUserDeltaCollectionPage buildFromResponse(final UserDeltaCollectionResponse response) { + final IUserDeltaCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IUserDeltaCollectionPage page = new UserDeltaCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserDeltaCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IUserDeltaCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserDeltaCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IUserDeltaCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserDeltaCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IUserDeltaCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequestBuilder.java index 56a1b076c8e..2e18a8c014d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserDeltaCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Delta Collection Request Builder. */ -public class UserDeltaCollectionRequestBuilder extends BaseUserDeltaCollectionRequestBuilder implements IUserDeltaCollectionRequestBuilder { +public class UserDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IUserDeltaCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +32,22 @@ public class UserDeltaCollectionRequestBuilder extends BaseUserDeltaCollectionRe public UserDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserDeltaCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { + UserDeltaCollectionRequest request = new UserDeltaCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionResponse.java new file mode 100644 index 00000000000..714eb37e38d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserDeltaCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Delta Collection Response. + */ +public class UserDeltaCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequest.java index b521d69eb53..147cea7cc3a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserExportPersonalDataBody; +import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; +import com.microsoft.graph.requests.extensions.UserExportPersonalDataRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserExportPersonalDataRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Export Personal Data Request. */ -public class UserExportPersonalDataRequest extends BaseUserExportPersonalDataRequest implements IUserExportPersonalDataRequest { +public class UserExportPersonalDataRequest extends BaseRequest implements IUserExportPersonalDataRequest { + protected final UserExportPersonalDataBody body; /** * The request for this UserExportPersonalData @@ -23,6 +31,49 @@ public class UserExportPersonalDataRequest extends BaseUserExportPersonalDataReq * @param requestOptions the options for this request */ public UserExportPersonalDataRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new UserExportPersonalDataBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserExportPersonalDataRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserExportPersonalDataRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserExportPersonalDataRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (UserExportPersonalDataRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserExportPersonalDataRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserExportPersonalDataRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequestBuilder.java index b1ec90448f8..6bc4cb8f50a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserExportPersonalDataRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; +import com.microsoft.graph.requests.extensions.UserExportPersonalDataRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserExportPersonalDataRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Export Personal Data Request Builder. */ -public class UserExportPersonalDataRequestBuilder extends BaseUserExportPersonalDataRequestBuilder implements IUserExportPersonalDataRequestBuilder { +public class UserExportPersonalDataRequestBuilder extends BaseActionRequestBuilder implements IUserExportPersonalDataRequestBuilder { /** * The request builder for this UserExportPersonalData @@ -24,6 +29,36 @@ public class UserExportPersonalDataRequestBuilder extends BaseUserExportPersonal * @param storageLocation the storageLocation */ public UserExportPersonalDataRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String storageLocation) { - super(requestUrl, client, requestOptions, storageLocation); + super(requestUrl, client, requestOptions); + bodyParams.put("storageLocation", storageLocation); + } + + /** + * Creates the IUserExportPersonalDataRequest + * + * @return the IUserExportPersonalDataRequest instance + */ + public IUserExportPersonalDataRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserExportPersonalDataRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserExportPersonalDataRequest instance + */ + public IUserExportPersonalDataRequest buildRequest(final java.util.List requestOptions) { + UserExportPersonalDataRequest request = new UserExportPersonalDataRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("storageLocation")) { + request.body.storageLocation = getParameter("storageLocation"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequest.java index 7c8e2cb0caa..ae36765bcd6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserFindMeetingTimesBody; +import com.microsoft.graph.models.extensions.MeetingTimeSuggestionsResult; +import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; +import com.microsoft.graph.requests.extensions.UserFindMeetingTimesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserFindMeetingTimesRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Find Meeting Times Request. */ -public class UserFindMeetingTimesRequest extends BaseUserFindMeetingTimesRequest implements IUserFindMeetingTimesRequest { +public class UserFindMeetingTimesRequest extends BaseRequest implements IUserFindMeetingTimesRequest { + protected final UserFindMeetingTimesBody body; /** * The request for this UserFindMeetingTimes @@ -23,6 +32,49 @@ public class UserFindMeetingTimesRequest extends BaseUserFindMeetingTimesRequest * @param requestOptions the options for this request */ public UserFindMeetingTimesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, MeetingTimeSuggestionsResult.class); + body = new UserFindMeetingTimesBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public MeetingTimeSuggestionsResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserFindMeetingTimesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserFindMeetingTimesRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserFindMeetingTimesRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (UserFindMeetingTimesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserFindMeetingTimesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserFindMeetingTimesRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequestBuilder.java index dbbd38c63aa..87ab88aac95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserFindMeetingTimesRequestBuilder.java @@ -3,20 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; - -import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; +import com.microsoft.graph.requests.extensions.UserFindMeetingTimesRequest; import com.microsoft.graph.models.extensions.AttendeeBase; import com.microsoft.graph.models.extensions.LocationConstraint; import com.microsoft.graph.models.extensions.TimeConstraint; + +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; +import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserFindMeetingTimesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Find Meeting Times Request Builder. */ -public class UserFindMeetingTimesRequestBuilder extends BaseUserFindMeetingTimesRequestBuilder implements IUserFindMeetingTimesRequestBuilder { +public class UserFindMeetingTimesRequestBuilder extends BaseActionRequestBuilder implements IUserFindMeetingTimesRequestBuilder { /** * The request builder for this UserFindMeetingTimes @@ -34,6 +39,71 @@ public class UserFindMeetingTimesRequestBuilder extends BaseUserFindMeetingTimes * @param minimumAttendeePercentage the minimumAttendeePercentage */ public UserFindMeetingTimesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List attendees, final LocationConstraint locationConstraint, final TimeConstraint timeConstraint, final javax.xml.datatype.Duration meetingDuration, final Integer maxCandidates, final Boolean isOrganizerOptional, final Boolean returnSuggestionReasons, final Double minimumAttendeePercentage) { - super(requestUrl, client, requestOptions, attendees, locationConstraint, timeConstraint, meetingDuration, maxCandidates, isOrganizerOptional, returnSuggestionReasons, minimumAttendeePercentage); + super(requestUrl, client, requestOptions); + bodyParams.put("attendees", attendees); + bodyParams.put("locationConstraint", locationConstraint); + bodyParams.put("timeConstraint", timeConstraint); + bodyParams.put("meetingDuration", meetingDuration); + bodyParams.put("maxCandidates", maxCandidates); + bodyParams.put("isOrganizerOptional", isOrganizerOptional); + bodyParams.put("returnSuggestionReasons", returnSuggestionReasons); + bodyParams.put("minimumAttendeePercentage", minimumAttendeePercentage); + } + + /** + * Creates the IUserFindMeetingTimesRequest + * + * @return the IUserFindMeetingTimesRequest instance + */ + public IUserFindMeetingTimesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserFindMeetingTimesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserFindMeetingTimesRequest instance + */ + public IUserFindMeetingTimesRequest buildRequest(final java.util.List requestOptions) { + UserFindMeetingTimesRequest request = new UserFindMeetingTimesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("attendees")) { + request.body.attendees = getParameter("attendees"); + } + + if (hasParameter("locationConstraint")) { + request.body.locationConstraint = getParameter("locationConstraint"); + } + + if (hasParameter("timeConstraint")) { + request.body.timeConstraint = getParameter("timeConstraint"); + } + + if (hasParameter("meetingDuration")) { + request.body.meetingDuration = getParameter("meetingDuration"); + } + + if (hasParameter("maxCandidates")) { + request.body.maxCandidates = getParameter("maxCandidates"); + } + + if (hasParameter("isOrganizerOptional")) { + request.body.isOrganizerOptional = getParameter("isOrganizerOptional"); + } + + if (hasParameter("returnSuggestionReasons")) { + request.body.returnSuggestionReasons = getParameter("returnSuggestionReasons"); + } + + if (hasParameter("minimumAttendeePercentage")) { + request.body.minimumAttendeePercentage = getParameter("minimumAttendeePercentage"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionPage.java index d099e9163c0..7e33a85cb8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseUserGetMailTipsCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserGetMailTipsCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Mail Tips Collection Page. */ -public class UserGetMailTipsCollectionPage extends BaseUserGetMailTipsCollectionPage implements IUserGetMailTipsCollectionPage { +public class UserGetMailTipsCollectionPage extends BaseCollectionPage implements IUserGetMailTipsCollectionPage { /** - * A collection page for User. + * A collection page for UserGetMailTips. * - * @param response the serialized BaseUserGetMailTipsCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized UserGetMailTipsCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public UserGetMailTipsCollectionPage(final BaseUserGetMailTipsCollectionResponse response, final IUserGetMailTipsCollectionRequestBuilder builder) { - super(response, builder); + public UserGetMailTipsCollectionPage(final UserGetMailTipsCollectionResponse response, final IUserGetMailTipsCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequest.java index 20d0f0a177e..d7e82f053d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequest.java @@ -4,25 +4,105 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserGetMailTipsCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Mail Tips Collection Request. */ -public class UserGetMailTipsCollectionRequest extends BaseUserGetMailTipsCollectionRequest implements IUserGetMailTipsCollectionRequest { +public class UserGetMailTipsCollectionRequest extends BaseCollectionRequest implements IUserGetMailTipsCollectionRequest { + + + protected final UserGetMailTipsBody body; + /** - * The request for this collection of User + * The request for this UserGetMailTips * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public UserGetMailTipsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UserGetMailTipsCollectionResponse.class, IUserGetMailTipsCollectionPage.class); + body = new UserGetMailTipsBody(); + } + + + public void post(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(post(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserGetMailTipsCollectionPage post() throws ClientException { + final UserGetMailTipsCollectionResponse response = post(body); + return buildFromResponse(response); + } + + + public IUserGetMailTipsCollectionPage buildFromResponse(final UserGetMailTipsCollectionResponse response) { + final IUserGetMailTipsCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserGetMailTipsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* emailAddresses */ null, /* mailTipsOptions */ null); + } else { + builder = null; + } + final IUserGetMailTipsCollectionPage page = new UserGetMailTipsCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserGetMailTipsCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IUserGetMailTipsCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserGetMailTipsCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IUserGetMailTipsCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserGetMailTipsCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IUserGetMailTipsCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequestBuilder.java index 046f8026bd0..a57e9509b3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionRequestBuilder.java @@ -4,19 +4,23 @@ package com.microsoft.graph.requests.extensions; -import java.util.EnumSet; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.generated.MailTipsType; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserGetMailTipsCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Mail Tips Collection Request Builder. */ -public class UserGetMailTipsCollectionRequestBuilder extends BaseUserGetMailTipsCollectionRequestBuilder implements IUserGetMailTipsCollectionRequestBuilder { +public class UserGetMailTipsCollectionRequestBuilder extends BaseActionRequestBuilder implements IUserGetMailTipsCollectionRequestBuilder { /** * The request builder for this collection of User @@ -28,6 +32,33 @@ public class UserGetMailTipsCollectionRequestBuilder extends BaseUserGetMailTips * @param mailTipsOptions the mailTipsOptions */ public UserGetMailTipsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List emailAddresses, final EnumSet mailTipsOptions) { - super(requestUrl, client, requestOptions, emailAddresses, mailTipsOptions); + super(requestUrl, client, requestOptions); + if(emailAddresses!=null){ + bodyParams.put("emailAddresses", emailAddresses); + } + if(mailTipsOptions!=null){ + bodyParams.put("mailTipsOptions", mailTipsOptions); + } + } + + public IUserGetMailTipsCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserGetMailTipsCollectionRequest buildRequest(final java.util.List requestOptions) { + UserGetMailTipsCollectionRequest request = new UserGetMailTipsCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("emailAddresses")) { + request.body.emailAddresses = getParameter("emailAddresses"); + } + if (hasParameter("mailTipsOptions")) { + request.body.mailTipsOptions = getParameter("mailTipsOptions"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionResponse.java new file mode 100644 index 00000000000..d20cef81b25 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetMailTipsCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Get Mail Tips Collection Response. + */ +public class UserGetMailTipsCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionPage.java index 1be38bdc0c4..8dd280dcaea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppDiagnosticStatusesCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppDiagnosticStatusesCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Managed App Diagnostic Statuses Collection Page. */ -public class UserGetManagedAppDiagnosticStatusesCollectionPage extends BaseUserGetManagedAppDiagnosticStatusesCollectionPage implements IUserGetManagedAppDiagnosticStatusesCollectionPage { +public class UserGetManagedAppDiagnosticStatusesCollectionPage extends BaseCollectionPage implements IUserGetManagedAppDiagnosticStatusesCollectionPage { /** - * A collection page for User. + * A collection page for UserGetManagedAppDiagnosticStatuses. * - * @param response the serialized BaseUserGetManagedAppDiagnosticStatusesCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized UserGetManagedAppDiagnosticStatusesCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public UserGetManagedAppDiagnosticStatusesCollectionPage(final BaseUserGetManagedAppDiagnosticStatusesCollectionResponse response, final IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder builder) { - super(response, builder); + public UserGetManagedAppDiagnosticStatusesCollectionPage(final UserGetManagedAppDiagnosticStatusesCollectionResponse response, final IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequest.java index 4085de93267..2f785fc5815 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppDiagnosticStatusesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Managed App Diagnostic Statuses Collection Request. */ -public class UserGetManagedAppDiagnosticStatusesCollectionRequest extends BaseUserGetManagedAppDiagnosticStatusesCollectionRequest implements IUserGetManagedAppDiagnosticStatusesCollectionRequest { +public class UserGetManagedAppDiagnosticStatusesCollectionRequest extends BaseCollectionRequest implements IUserGetManagedAppDiagnosticStatusesCollectionRequest { + /** - * The request for this collection of User + * The request for this UserGetManagedAppDiagnosticStatuses * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public UserGetManagedAppDiagnosticStatusesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UserGetManagedAppDiagnosticStatusesCollectionResponse.class, IUserGetManagedAppDiagnosticStatusesCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserGetManagedAppDiagnosticStatusesCollectionPage get() throws ClientException { + final UserGetManagedAppDiagnosticStatusesCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IUserGetManagedAppDiagnosticStatusesCollectionPage buildFromResponse(final UserGetManagedAppDiagnosticStatusesCollectionResponse response) { + final IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IUserGetManagedAppDiagnosticStatusesCollectionPage page = new UserGetManagedAppDiagnosticStatusesCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserGetManagedAppDiagnosticStatusesCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IUserGetManagedAppDiagnosticStatusesCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserGetManagedAppDiagnosticStatusesCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IUserGetManagedAppDiagnosticStatusesCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserGetManagedAppDiagnosticStatusesCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IUserGetManagedAppDiagnosticStatusesCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java index 7fc954887ba..f7565c44052 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Managed App Diagnostic Statuses Collection Request Builder. */ -public class UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder implements IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder { +public class UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +32,22 @@ public class UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends public UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest(final java.util.List requestOptions) { + UserGetManagedAppDiagnosticStatusesCollectionRequest request = new UserGetManagedAppDiagnosticStatusesCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionResponse.java new file mode 100644 index 00000000000..82ac87fc7ea --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppDiagnosticStatusesCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Get Managed App Diagnostic Statuses Collection Response. + */ +public class UserGetManagedAppDiagnosticStatusesCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionPage.java index c139d46cd0c..f3c3c8f6ee5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppPoliciesCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppPoliciesCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Managed App Policies Collection Page. */ -public class UserGetManagedAppPoliciesCollectionPage extends BaseUserGetManagedAppPoliciesCollectionPage implements IUserGetManagedAppPoliciesCollectionPage { +public class UserGetManagedAppPoliciesCollectionPage extends BaseCollectionPage implements IUserGetManagedAppPoliciesCollectionPage { /** - * A collection page for User. + * A collection page for UserGetManagedAppPolicies. * - * @param response the serialized BaseUserGetManagedAppPoliciesCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized UserGetManagedAppPoliciesCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public UserGetManagedAppPoliciesCollectionPage(final BaseUserGetManagedAppPoliciesCollectionResponse response, final IUserGetManagedAppPoliciesCollectionRequestBuilder builder) { - super(response, builder); + public UserGetManagedAppPoliciesCollectionPage(final UserGetManagedAppPoliciesCollectionResponse response, final IUserGetManagedAppPoliciesCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequest.java index 8656101d17a..8baa1ddc291 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppPoliciesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Managed App Policies Collection Request. */ -public class UserGetManagedAppPoliciesCollectionRequest extends BaseUserGetManagedAppPoliciesCollectionRequest implements IUserGetManagedAppPoliciesCollectionRequest { +public class UserGetManagedAppPoliciesCollectionRequest extends BaseCollectionRequest implements IUserGetManagedAppPoliciesCollectionRequest { + /** - * The request for this collection of User + * The request for this UserGetManagedAppPolicies * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public UserGetManagedAppPoliciesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UserGetManagedAppPoliciesCollectionResponse.class, IUserGetManagedAppPoliciesCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserGetManagedAppPoliciesCollectionPage get() throws ClientException { + final UserGetManagedAppPoliciesCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IUserGetManagedAppPoliciesCollectionPage buildFromResponse(final UserGetManagedAppPoliciesCollectionResponse response) { + final IUserGetManagedAppPoliciesCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserGetManagedAppPoliciesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final IUserGetManagedAppPoliciesCollectionPage page = new UserGetManagedAppPoliciesCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserGetManagedAppPoliciesCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IUserGetManagedAppPoliciesCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserGetManagedAppPoliciesCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IUserGetManagedAppPoliciesCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserGetManagedAppPoliciesCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IUserGetManagedAppPoliciesCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequestBuilder.java index 750db90f2c9..144c30996f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserGetManagedAppPoliciesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Get Managed App Policies Collection Request Builder. */ -public class UserGetManagedAppPoliciesCollectionRequestBuilder extends BaseUserGetManagedAppPoliciesCollectionRequestBuilder implements IUserGetManagedAppPoliciesCollectionRequestBuilder { +public class UserGetManagedAppPoliciesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IUserGetManagedAppPoliciesCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,4 +32,22 @@ public class UserGetManagedAppPoliciesCollectionRequestBuilder extends BaseUserG public UserGetManagedAppPoliciesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserGetManagedAppPoliciesCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserGetManagedAppPoliciesCollectionRequest buildRequest(final java.util.List requestOptions) { + UserGetManagedAppPoliciesCollectionRequest request = new UserGetManagedAppPoliciesCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionResponse.java new file mode 100644 index 00000000000..8b598560459 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserGetManagedAppPoliciesCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Get Managed App Policies Collection Response. + */ +public class UserGetManagedAppPoliciesCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionPage.java index 74079ba6428..bae745e4562 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserInstallStateSummary; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Install State Summary Collection Page. */ -public class UserInstallStateSummaryCollectionPage extends BaseUserInstallStateSummaryCollectionPage implements IUserInstallStateSummaryCollectionPage { +public class UserInstallStateSummaryCollectionPage extends BaseCollectionPage implements IUserInstallStateSummaryCollectionPage { /** - * A collection page for ManagedEBook. + * A collection page for UserInstallStateSummary * - * @param response the serialized BaseUserInstallStateSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized UserInstallStateSummaryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public UserInstallStateSummaryCollectionPage(final BaseUserInstallStateSummaryCollectionResponse response, final IUserInstallStateSummaryCollectionRequestBuilder builder) { - super(response, builder); + public UserInstallStateSummaryCollectionPage(final UserInstallStateSummaryCollectionResponse response, final IUserInstallStateSummaryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequest.java index e7ccfce3644..597471b913d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Install State Summary Collection Request. */ -public class UserInstallStateSummaryCollectionRequest extends BaseUserInstallStateSummaryCollectionRequest implements IUserInstallStateSummaryCollectionRequest { +public class UserInstallStateSummaryCollectionRequest extends BaseCollectionRequest implements IUserInstallStateSummaryCollectionRequest { /** - * The request for this collection of ManagedEBook + * The request builder for this collection of UserInstallStateSummary * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public UserInstallStateSummaryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserInstallStateSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, UserInstallStateSummaryCollectionResponse.class, IUserInstallStateSummaryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserInstallStateSummaryCollectionPage get() throws ClientException { + final UserInstallStateSummaryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new UserInstallStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUserInstallStateSummary, callback); + } + + public UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new UserInstallStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newUserInstallStateSummary); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserInstallStateSummaryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (UserInstallStateSummaryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserInstallStateSummaryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (UserInstallStateSummaryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserInstallStateSummaryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (UserInstallStateSummaryCollectionRequest)this; + } + + public IUserInstallStateSummaryCollectionPage buildFromResponse(final UserInstallStateSummaryCollectionResponse response) { + final IUserInstallStateSummaryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserInstallStateSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final UserInstallStateSummaryCollectionPage page = new UserInstallStateSummaryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequestBuilder.java index 6395c63f6d2..3d2243ffed9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Install State Summary Collection Request Builder. */ -public class UserInstallStateSummaryCollectionRequestBuilder extends BaseUserInstallStateSummaryCollectionRequestBuilder implements IUserInstallStateSummaryCollectionRequestBuilder { +public class UserInstallStateSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IUserInstallStateSummaryCollectionRequestBuilder { /** * The request builder for this collection of ManagedEBook @@ -25,4 +33,18 @@ public class UserInstallStateSummaryCollectionRequestBuilder extends BaseUserIns public UserInstallStateSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IUserInstallStateSummaryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserInstallStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new UserInstallStateSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IUserInstallStateSummaryRequestBuilder byId(final String id) { + return new UserInstallStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionResponse.java new file mode 100644 index 00000000000..2df30ec997b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserInstallStateSummary; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Install State Summary Collection Response. + */ +public class UserInstallStateSummaryCollectionResponse implements IJsonBackedObject { + + /** + * The list of UserInstallStateSummary within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequest.java index a8653da3390..59424a68bf8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequest; +import com.microsoft.graph.requests.extensions.UserInstallStateSummaryRequest; +import com.microsoft.graph.models.extensions.UserInstallStateSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.UserInstallStateSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Install State Summary Request. */ -public class UserInstallStateSummaryRequest extends BaseUserInstallStateSummaryRequest implements IUserInstallStateSummaryRequest { - +public class UserInstallStateSummaryRequest extends BaseRequest implements IUserInstallStateSummaryRequest { + /** * The request for the UserInstallStateSummary * @@ -26,4 +32,107 @@ public class UserInstallStateSummaryRequest extends BaseUserInstallStateSummaryR public UserInstallStateSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, UserInstallStateSummary.class); } + + /** + * Gets the UserInstallStateSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the UserInstallStateSummary from the service + * + * @return the UserInstallStateSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserInstallStateSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this UserInstallStateSummary with a source + * + * @param sourceUserInstallStateSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final UserInstallStateSummary sourceUserInstallStateSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUserInstallStateSummary); + } + + /** + * Patches this UserInstallStateSummary with a source + * + * @param sourceUserInstallStateSummary the source object with updates + * @return the updated UserInstallStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserInstallStateSummary patch(final UserInstallStateSummary sourceUserInstallStateSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceUserInstallStateSummary); + } + + /** + * Creates a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newUserInstallStateSummary); + } + + /** + * Creates a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the new object to create + * @return the created UserInstallStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException { + return send(HttpMethod.POST, newUserInstallStateSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserInstallStateSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserInstallStateSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserInstallStateSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserInstallStateSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequestBuilder.java index 60353d40e03..4503e006641 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequest; +import com.microsoft.graph.requests.extensions.UserInstallStateSummaryRequest; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceInstallStateRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserInstallStateSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Install State Summary Request Builder. */ -public class UserInstallStateSummaryRequestBuilder extends BaseUserInstallStateSummaryRequestBuilder implements IUserInstallStateSummaryRequestBuilder { +public class UserInstallStateSummaryRequestBuilder extends BaseRequestBuilder implements IUserInstallStateSummaryRequestBuilder { /** * The request builder for the UserInstallStateSummary @@ -25,4 +32,33 @@ public class UserInstallStateSummaryRequestBuilder extends BaseUserInstallStateS public UserInstallStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUserInstallStateSummaryRequest instance + */ + public IUserInstallStateSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUserInstallStateSummaryRequest instance + */ + public IUserInstallStateSummaryRequest buildRequest(final java.util.List requestOptions) { + return new UserInstallStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDeviceInstallStateCollectionRequestBuilder deviceStates() { + return new DeviceInstallStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates"), getClient(), null); + } + + public IDeviceInstallStateRequestBuilder deviceStates(final String id) { + return new DeviceInstallStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequest.java index 5dcf6d0ea55..6a2feb18a83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Reference Request. */ -public class UserReferenceRequest extends BaseUserReferenceRequest implements IUserReferenceRequest { +public class UserReferenceRequest extends BaseRequest implements IUserReferenceRequest { /** * The request for the User @@ -22,7 +30,57 @@ public class UserReferenceRequest extends BaseUserReferenceRequest implements IU * @param client the service client * @param requestOptions the options for this request */ - public UserReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, User.class); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public User delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserReferenceRequest)this; + } + /** + * Puts the User + * + * @param srcUser the User reference to PUT + * @param callback the callback to be called after success or failure + */ + public void put(User srcUser, final ICallback callback) { + send(HttpMethod.PUT, callback, srcUser); + } + + /** + * Puts the User + * + * @param srcUser the User reference to PUT + * @return the User + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public User put(User srcUser) throws ClientException { + return send(HttpMethod.PUT, srcUser); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequestBuilder.java index ac6a56d7cf7..c1a1ce0f544 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserReferenceRequestBuilder.java @@ -1,19 +1,28 @@ + // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Reference Request Builder. */ -public class UserReferenceRequestBuilder extends BaseUserReferenceRequestBuilder implements IUserReferenceRequestBuilder { +public class UserReferenceRequestBuilder extends BaseRequestBuilder implements IUserReferenceRequestBuilder { /** * The request builder for the User @@ -25,4 +34,23 @@ public class UserReferenceRequestBuilder extends BaseUserReferenceRequestBuilder public UserReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return The IUserReferenceRequest instance + */ + public IUserReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUserReferenceRequest instance + */ + public IUserReferenceRequest buildRequest(final java.util.List requestOptions) { + return new UserReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionPage.java index 44d57572d08..58ffb9d8bbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionPage.java @@ -4,23 +4,35 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.requests.generated.BaseUserReminderViewCollectionPage; -import com.microsoft.graph.requests.generated.BaseUserReminderViewCollectionResponse; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Reminder View Collection Page. */ -public class UserReminderViewCollectionPage extends BaseUserReminderViewCollectionPage implements IUserReminderViewCollectionPage { +public class UserReminderViewCollectionPage extends BaseCollectionPage implements IUserReminderViewCollectionPage { /** - * A collection page for User. + * A collection page for UserReminderView. * - * @param response the serialized BaseUserReminderViewCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response The serialized UserReminderViewCollectionResponse from the service + * @param builder The request builder for the next collection page */ - public UserReminderViewCollectionPage(final BaseUserReminderViewCollectionResponse response, final IUserReminderViewCollectionRequestBuilder builder) { - super(response, builder); + public UserReminderViewCollectionPage(final UserReminderViewCollectionResponse response, final IUserReminderViewCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequest.java index 0fcfc5d7a1f..b6ccd462c0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequest.java @@ -4,25 +4,101 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserReminderViewCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Reminder View Collection Request. */ -public class UserReminderViewCollectionRequest extends BaseUserReminderViewCollectionRequest implements IUserReminderViewCollectionRequest { +public class UserReminderViewCollectionRequest extends BaseCollectionRequest implements IUserReminderViewCollectionRequest { + /** - * The request for this collection of User + * The request for this UserReminderView * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ public UserReminderViewCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, UserReminderViewCollectionResponse.class, IUserReminderViewCollectionPage.class); + } + + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IUserReminderViewCollectionPage get() throws ClientException { + final UserReminderViewCollectionResponse response = send(); + return buildFromResponse(response); + } + + + public IUserReminderViewCollectionPage buildFromResponse(final UserReminderViewCollectionResponse response) { + final IUserReminderViewCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new UserReminderViewCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* startDateTime */ null, /* endDateTime */ null); + } else { + builder = null; + } + final IUserReminderViewCollectionPage page = new UserReminderViewCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserReminderViewCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (IUserReminderViewCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserReminderViewCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value+"")); + return (IUserReminderViewCollectionRequest)this; } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserReminderViewCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (IUserReminderViewCollectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequestBuilder.java index f7f54bf0886..81489b4203e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionRequestBuilder.java @@ -4,16 +4,23 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserReminderViewCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Reminder View Collection Request Builder. */ -public class UserReminderViewCollectionRequestBuilder extends BaseUserReminderViewCollectionRequestBuilder implements IUserReminderViewCollectionRequestBuilder { +public class UserReminderViewCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IUserReminderViewCollectionRequestBuilder { /** * The request builder for this collection of User @@ -25,6 +32,30 @@ public class UserReminderViewCollectionRequestBuilder extends BaseUserReminderVi * @param endDateTime the endDateTime */ public UserReminderViewCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String startDateTime, final String endDateTime) { - super(requestUrl, client, requestOptions, startDateTime, endDateTime); + super(requestUrl, client, requestOptions); + if(startDateTime!=null){ + functionOptions.add(new FunctionOption("startDateTime", startDateTime)); + } + if(endDateTime!=null){ + functionOptions.add(new FunctionOption("endDateTime", endDateTime)); + } + } + + public IUserReminderViewCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IUserReminderViewCollectionRequest buildRequest(final java.util.List requestOptions) { + UserReminderViewCollectionRequest request = new UserReminderViewCollectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionResponse.java new file mode 100644 index 00000000000..08201027433 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserReminderViewCollectionResponse.java @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; + +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; + +import java.util.Arrays; +import java.util.EnumSet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.*; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the User Reminder View Collection Response. + */ +public class UserReminderViewCollectionResponse implements IJsonBackedObject { + + @SerializedName("value") + @Expose + public java.util.List value; + + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequest.java index 0c8edbc5426..6665d141dc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; +import com.microsoft.graph.requests.extensions.UserRemoveAllDevicesFromManagementRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserRemoveAllDevicesFromManagementRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Remove All Devices From Management Request. */ -public class UserRemoveAllDevicesFromManagementRequest extends BaseUserRemoveAllDevicesFromManagementRequest implements IUserRemoveAllDevicesFromManagementRequest { +public class UserRemoveAllDevicesFromManagementRequest extends BaseRequest implements IUserRemoveAllDevicesFromManagementRequest { /** * The request for this UserRemoveAllDevicesFromManagement @@ -23,6 +30,35 @@ public class UserRemoveAllDevicesFromManagementRequest extends BaseUserRemoveAll * @param requestOptions the options for this request */ public UserRemoveAllDevicesFromManagementRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the UserRemoveAllDevicesFromManagement + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the UserRemoveAllDevicesFromManagement + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequestBuilder.java index 4e3724220e1..16c62f1a082 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserRemoveAllDevicesFromManagementRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; +import com.microsoft.graph.requests.extensions.UserRemoveAllDevicesFromManagementRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserRemoveAllDevicesFromManagementRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Remove All Devices From Management Request Builder. */ -public class UserRemoveAllDevicesFromManagementRequestBuilder extends BaseUserRemoveAllDevicesFromManagementRequestBuilder implements IUserRemoveAllDevicesFromManagementRequestBuilder { +public class UserRemoveAllDevicesFromManagementRequestBuilder extends BaseActionRequestBuilder implements IUserRemoveAllDevicesFromManagementRequestBuilder { /** * The request builder for this UserRemoveAllDevicesFromManagement @@ -25,4 +30,29 @@ public class UserRemoveAllDevicesFromManagementRequestBuilder extends BaseUserRe public UserRemoveAllDevicesFromManagementRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IUserRemoveAllDevicesFromManagementRequest + * + * @return the IUserRemoveAllDevicesFromManagementRequest instance + */ + public IUserRemoveAllDevicesFromManagementRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserRemoveAllDevicesFromManagementRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserRemoveAllDevicesFromManagementRequest instance + */ + public IUserRemoveAllDevicesFromManagementRequest buildRequest(final java.util.List requestOptions) { + UserRemoveAllDevicesFromManagementRequest request = new UserRemoveAllDevicesFromManagementRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserRequest.java index 681ade9b347..8b51af7d481 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRequest; +import com.microsoft.graph.requests.extensions.UserRequest; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Request. */ -public class UserRequest extends BaseUserRequest implements IUserRequest { - +public class UserRequest extends BaseRequest implements IUserRequest { + /** * The request for the User * @@ -26,4 +32,107 @@ public class UserRequest extends BaseUserRequest implements IUserRequest { public UserRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, User.class); } + + /** + * Gets the User from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the User from the service + * + * @return the User from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public User get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this User with a source + * + * @param sourceUser the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final User sourceUser, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUser); + } + + /** + * Patches this User with a source + * + * @param sourceUser the source object with updates + * @return the updated User + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public User patch(final User sourceUser) throws ClientException { + return send(HttpMethod.PATCH, sourceUser); + } + + /** + * Creates a User with a new object + * + * @param newUser the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final User newUser, final ICallback callback) { + send(HttpMethod.POST, callback, newUser); + } + + /** + * Creates a User with a new object + * + * @param newUser the new object to create + * @return the created User + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public User post(final User newUser) throws ClientException { + return send(HttpMethod.POST, newUser); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserRequestBuilder.java index 16114c40d6f..09d88cf5d07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserRequestBuilder.java @@ -3,17 +3,168 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserRequest; +import com.microsoft.graph.requests.extensions.UserRequest; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ILicenseDetailsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.LicenseDetailsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ILicenseDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.LicenseDetailsRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOutlookUserRequestBuilder; +import com.microsoft.graph.requests.extensions.OutlookUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; +import com.microsoft.graph.requests.extensions.MessageRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.MailFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.MailFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ICalendarGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.CalendarGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IEventRequestBuilder; +import com.microsoft.graph.requests.extensions.EventRequestBuilder; +import com.microsoft.graph.requests.extensions.IPersonCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.PersonCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPersonRequestBuilder; +import com.microsoft.graph.requests.extensions.PersonRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactFolderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.ContactFolderRequestBuilder; +import com.microsoft.graph.requests.extensions.IInferenceClassificationRequestBuilder; +import com.microsoft.graph.requests.extensions.InferenceClassificationRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; +import com.microsoft.graph.requests.extensions.DriveRequestBuilder; +import com.microsoft.graph.requests.extensions.IPlannerUserRequestBuilder; +import com.microsoft.graph.requests.extensions.PlannerUserRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.OnenoteRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedDeviceRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionWithReferencesRequestBuilder; +import com.microsoft.graph.requests.extensions.IManagedAppRegistrationWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.ManagedAppRegistrationWithReferenceRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserActivityCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UserActivityCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.UserActivityRequestBuilder; +import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequestBuilder; +import com.microsoft.graph.requests.extensions.OfficeGraphInsightsRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserSettingsRequestBuilder; +import com.microsoft.graph.requests.extensions.UserSettingsRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.GroupRequestBuilder; +import com.microsoft.graph.models.extensions.AssignedLicense; +import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequestBuilder; +import com.microsoft.graph.requests.extensions.UserAssignLicenseRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserChangePasswordRequestBuilder; +import com.microsoft.graph.requests.extensions.UserChangePasswordRequestBuilder; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.requests.extensions.IUserSendMailRequestBuilder; +import com.microsoft.graph.requests.extensions.UserSendMailRequestBuilder; +import com.microsoft.graph.models.extensions.AttendeeBase; +import com.microsoft.graph.models.extensions.LocationConstraint; +import com.microsoft.graph.models.extensions.TimeConstraint; +import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequestBuilder; +import com.microsoft.graph.requests.extensions.UserFindMeetingTimesRequestBuilder; +import com.microsoft.graph.models.generated.MailTipsType; +import com.microsoft.graph.requests.extensions.IUserGetMailTipsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UserGetMailTipsCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequestBuilder; +import com.microsoft.graph.requests.extensions.UserRemoveAllDevicesFromManagementRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; +import com.microsoft.graph.requests.extensions.UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequestBuilder; +import com.microsoft.graph.requests.extensions.UserExportPersonalDataRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserReminderViewCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UserReminderViewCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IUserGetManagedAppPoliciesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.UserGetManagedAppPoliciesCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Request Builder. */ -public class UserRequestBuilder extends BaseUserRequestBuilder implements IUserRequestBuilder { +public class UserRequestBuilder extends BaseRequestBuilder implements IUserRequestBuilder { /** * The request builder for the User @@ -25,4 +176,335 @@ public class UserRequestBuilder extends BaseUserRequestBuilder implements IUserR public UserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUserRequest instance + */ + public IUserRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUserRequest instance + */ + public IUserRequest buildRequest(final java.util.List requestOptions) { + return new UserRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IDirectoryObjectCollectionWithReferencesRequestBuilder ownedDevices() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("ownedDevices"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder ownedDevices(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("ownedDevices") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder registeredDevices() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("registeredDevices"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder registeredDevices(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("registeredDevices") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for DirectoryObject + * + * @return the IDirectoryObjectWithReferenceRequestBuilder instance + */ + public IDirectoryObjectWithReferenceRequestBuilder manager() { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("manager"), getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder directReports() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("directReports"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder directReports(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("directReports") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder createdObjects() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("createdObjects"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder createdObjects(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdObjects") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder ownedObjects() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("ownedObjects"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder ownedObjects(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("ownedObjects") + "/" + id, getClient(), null); + } + public ILicenseDetailsCollectionRequestBuilder licenseDetails() { + return new LicenseDetailsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("licenseDetails"), getClient(), null); + } + + public ILicenseDetailsRequestBuilder licenseDetails(final String id) { + return new LicenseDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("licenseDetails") + "/" + id, getClient(), null); + } + public IDirectoryObjectCollectionWithReferencesRequestBuilder transitiveMemberOf() { + return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMemberOf"), getClient(), null); + } + + public IDirectoryObjectWithReferenceRequestBuilder transitiveMemberOf(final String id) { + return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("transitiveMemberOf") + "/" + id, getClient(), null); + } + public IExtensionCollectionRequestBuilder extensions() { + return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); + } + + public IExtensionRequestBuilder extensions(final String id) { + return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for OutlookUser + * + * @return the IOutlookUserRequestBuilder instance + */ + public IOutlookUserRequestBuilder outlook() { + return new OutlookUserRequestBuilder(getRequestUrlWithAdditionalSegment("outlook"), getClient(), null); + } + public IMessageCollectionRequestBuilder messages() { + return new MessageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("messages"), getClient(), null); + } + + public IMessageRequestBuilder messages(final String id) { + return new MessageRequestBuilder(getRequestUrlWithAdditionalSegment("messages") + "/" + id, getClient(), null); + } + public IMailFolderCollectionRequestBuilder mailFolders() { + return new MailFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mailFolders"), getClient(), null); + } + + public IMailFolderRequestBuilder mailFolders(final String id) { + return new MailFolderRequestBuilder(getRequestUrlWithAdditionalSegment("mailFolders") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Calendar + * + * @return the ICalendarRequestBuilder instance + */ + public ICalendarRequestBuilder calendar() { + return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendar"), getClient(), null); + } + public ICalendarCollectionRequestBuilder calendars() { + return new CalendarCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendars"), getClient(), null); + } + + public ICalendarRequestBuilder calendars(final String id) { + return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendars") + "/" + id, getClient(), null); + } + public ICalendarGroupCollectionRequestBuilder calendarGroups() { + return new CalendarGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarGroups"), getClient(), null); + } + + public ICalendarGroupRequestBuilder calendarGroups(final String id) { + return new CalendarGroupRequestBuilder(getRequestUrlWithAdditionalSegment("calendarGroups") + "/" + id, getClient(), null); + } + public IEventCollectionRequestBuilder calendarView() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView"), getClient(), null); + } + + public IEventRequestBuilder calendarView(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView") + "/" + id, getClient(), null); + } + public IEventCollectionRequestBuilder events() { + return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("events"), getClient(), null); + } + + public IEventRequestBuilder events(final String id) { + return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("events") + "/" + id, getClient(), null); + } + public IPersonCollectionRequestBuilder people() { + return new PersonCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("people"), getClient(), null); + } + + public IPersonRequestBuilder people(final String id) { + return new PersonRequestBuilder(getRequestUrlWithAdditionalSegment("people") + "/" + id, getClient(), null); + } + public IContactCollectionRequestBuilder contacts() { + return new ContactCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contacts"), getClient(), null); + } + + public IContactRequestBuilder contacts(final String id) { + return new ContactRequestBuilder(getRequestUrlWithAdditionalSegment("contacts") + "/" + id, getClient(), null); + } + public IContactFolderCollectionRequestBuilder contactFolders() { + return new ContactFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contactFolders"), getClient(), null); + } + + public IContactFolderRequestBuilder contactFolders(final String id) { + return new ContactFolderRequestBuilder(getRequestUrlWithAdditionalSegment("contactFolders") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for InferenceClassification + * + * @return the IInferenceClassificationRequestBuilder instance + */ + public IInferenceClassificationRequestBuilder inferenceClassification() { + return new InferenceClassificationRequestBuilder(getRequestUrlWithAdditionalSegment("inferenceClassification"), getClient(), null); + } + + /** + * Gets the request builder for ProfilePhoto + * + * @return the IProfilePhotoRequestBuilder instance + */ + public IProfilePhotoRequestBuilder photo() { + return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photo"), getClient(), null); + } + public IProfilePhotoCollectionRequestBuilder photos() { + return new ProfilePhotoCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("photos"), getClient(), null); + } + + public IProfilePhotoRequestBuilder photos(final String id) { + return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photos") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for Drive + * + * @return the IDriveRequestBuilder instance + */ + public IDriveRequestBuilder drive() { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); + } + public IDriveCollectionRequestBuilder drives() { + return new DriveCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("drives"), getClient(), null); + } + + public IDriveRequestBuilder drives(final String id) { + return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for PlannerUser + * + * @return the IPlannerUserRequestBuilder instance + */ + public IPlannerUserRequestBuilder planner() { + return new PlannerUserRequestBuilder(getRequestUrlWithAdditionalSegment("planner"), getClient(), null); + } + + /** + * Gets the request builder for Onenote + * + * @return the IOnenoteRequestBuilder instance + */ + public IOnenoteRequestBuilder onenote() { + return new OnenoteRequestBuilder(getRequestUrlWithAdditionalSegment("onenote"), getClient(), null); + } + public IManagedDeviceCollectionRequestBuilder managedDevices() { + return new ManagedDeviceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices"), getClient(), null); + } + + public IManagedDeviceRequestBuilder managedDevices(final String id) { + return new ManagedDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices") + "/" + id, getClient(), null); + } + public IManagedAppRegistrationCollectionWithReferencesRequestBuilder managedAppRegistrations() { + return new ManagedAppRegistrationCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations"), getClient(), null); + } + + public IManagedAppRegistrationWithReferenceRequestBuilder managedAppRegistrations(final String id) { + return new ManagedAppRegistrationWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations") + "/" + id, getClient(), null); + } + public IDeviceManagementTroubleshootingEventCollectionRequestBuilder deviceManagementTroubleshootingEvents() { + return new DeviceManagementTroubleshootingEventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementTroubleshootingEvents"), getClient(), null); + } + + public IDeviceManagementTroubleshootingEventRequestBuilder deviceManagementTroubleshootingEvents(final String id) { + return new DeviceManagementTroubleshootingEventRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementTroubleshootingEvents") + "/" + id, getClient(), null); + } + public IUserActivityCollectionRequestBuilder activities() { + return new UserActivityCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("activities"), getClient(), null); + } + + public IUserActivityRequestBuilder activities(final String id) { + return new UserActivityRequestBuilder(getRequestUrlWithAdditionalSegment("activities") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for OfficeGraphInsights + * + * @return the IOfficeGraphInsightsRequestBuilder instance + */ + public IOfficeGraphInsightsRequestBuilder insights() { + return new OfficeGraphInsightsRequestBuilder(getRequestUrlWithAdditionalSegment("insights"), getClient(), null); + } + + /** + * Gets the request builder for UserSettings + * + * @return the IUserSettingsRequestBuilder instance + */ + public IUserSettingsRequestBuilder settings() { + return new UserSettingsRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null); + } + public IGroupCollectionRequestBuilder joinedTeams() { + return new GroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("joinedTeams"), getClient(), null); + } + + public IGroupRequestBuilder joinedTeams(final String id) { + return new GroupRequestBuilder(getRequestUrlWithAdditionalSegment("joinedTeams") + "/" + id, getClient(), null); + } + + public IUserAssignLicenseRequestBuilder assignLicense(final java.util.List addLicenses, final java.util.List removeLicenses) { + return new UserAssignLicenseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assignLicense"), getClient(), null, addLicenses, removeLicenses); + } + + public IUserChangePasswordRequestBuilder changePassword(final String currentPassword, final String newPassword) { + return new UserChangePasswordRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.changePassword"), getClient(), null, currentPassword, newPassword); + } + + public IUserSendMailRequestBuilder sendMail(final Message message, final Boolean saveToSentItems) { + return new UserSendMailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sendMail"), getClient(), null, message, saveToSentItems); + } + + public IUserFindMeetingTimesRequestBuilder findMeetingTimes(final java.util.List attendees, final LocationConstraint locationConstraint, final TimeConstraint timeConstraint, final javax.xml.datatype.Duration meetingDuration, final Integer maxCandidates, final Boolean isOrganizerOptional, final Boolean returnSuggestionReasons, final Double minimumAttendeePercentage) { + return new UserFindMeetingTimesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.findMeetingTimes"), getClient(), null, attendees, locationConstraint, timeConstraint, meetingDuration, maxCandidates, isOrganizerOptional, returnSuggestionReasons, minimumAttendeePercentage); + } + + public IUserGetMailTipsCollectionRequestBuilder getMailTips(final java.util.List emailAddresses, final EnumSet mailTipsOptions) { + return new UserGetMailTipsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailTips"), getClient(), null, emailAddresses, mailTipsOptions); + } + + public IUserRemoveAllDevicesFromManagementRequestBuilder removeAllDevicesFromManagement() { + return new UserRemoveAllDevicesFromManagementRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.removeAllDevicesFromManagement"), getClient(), null); + } + + public IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder wipeManagedAppRegistrationsByDeviceTag(final String deviceTag) { + return new UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.wipeManagedAppRegistrationsByDeviceTag"), getClient(), null, deviceTag); + } + + public IUserExportPersonalDataRequestBuilder exportPersonalData(final String storageLocation) { + return new UserExportPersonalDataRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.exportPersonalData"), getClient(), null, storageLocation); + } + + public IUserReminderViewCollectionRequestBuilder reminderView(final String startDateTime, final String endDateTime) { + return new UserReminderViewCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reminderView"), getClient(), null, startDateTime, endDateTime); + } + + public IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder getManagedAppDiagnosticStatuses() { + return new UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getManagedAppDiagnosticStatuses"), getClient(), null); + } + + public IUserGetManagedAppPoliciesCollectionRequestBuilder getManagedAppPolicies() { + return new UserGetManagedAppPoliciesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getManagedAppPolicies"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequest.java index 477977286d3..39b72572fbf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserSendMailBody; +import com.microsoft.graph.requests.extensions.IUserSendMailRequest; +import com.microsoft.graph.requests.extensions.UserSendMailRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserSendMailRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Send Mail Request. */ -public class UserSendMailRequest extends BaseUserSendMailRequest implements IUserSendMailRequest { +public class UserSendMailRequest extends BaseRequest implements IUserSendMailRequest { + protected final UserSendMailBody body; /** * The request for this UserSendMail @@ -23,6 +31,49 @@ public class UserSendMailRequest extends BaseUserSendMailRequest implements IUse * @param requestOptions the options for this request */ public UserSendMailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new UserSendMailBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserSendMailRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserSendMailRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserSendMailRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (UserSendMailRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserSendMailRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserSendMailRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequestBuilder.java index 690bc169e33..822a7afd7c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserSendMailRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserSendMailRequest; +import com.microsoft.graph.requests.extensions.UserSendMailRequest; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Message; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserSendMailRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Send Mail Request Builder. */ -public class UserSendMailRequestBuilder extends BaseUserSendMailRequestBuilder implements IUserSendMailRequestBuilder { +public class UserSendMailRequestBuilder extends BaseActionRequestBuilder implements IUserSendMailRequestBuilder { /** * The request builder for this UserSendMail @@ -26,6 +31,41 @@ public class UserSendMailRequestBuilder extends BaseUserSendMailRequestBuilder i * @param saveToSentItems the saveToSentItems */ public UserSendMailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Message message, final Boolean saveToSentItems) { - super(requestUrl, client, requestOptions, message, saveToSentItems); + super(requestUrl, client, requestOptions); + bodyParams.put("message", message); + bodyParams.put("saveToSentItems", saveToSentItems); + } + + /** + * Creates the IUserSendMailRequest + * + * @return the IUserSendMailRequest instance + */ + public IUserSendMailRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserSendMailRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserSendMailRequest instance + */ + public IUserSendMailRequest buildRequest(final java.util.List requestOptions) { + UserSendMailRequest request = new UserSendMailRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("message")) { + request.body.message = getParameter("message"); + } + + if (hasParameter("saveToSentItems")) { + request.body.saveToSentItems = getParameter("saveToSentItems"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequest.java index d353e58a587..cf950f76ffe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserSettingsRequest; +import com.microsoft.graph.requests.extensions.UserSettingsRequest; +import com.microsoft.graph.models.extensions.UserSettings; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.UserSettings; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserSettingsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Settings Request. */ -public class UserSettingsRequest extends BaseUserSettingsRequest implements IUserSettingsRequest { - +public class UserSettingsRequest extends BaseRequest implements IUserSettingsRequest { + /** * The request for the UserSettings * @@ -26,4 +32,107 @@ public class UserSettingsRequest extends BaseUserSettingsRequest implements IUse public UserSettingsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, UserSettings.class); } + + /** + * Gets the UserSettings from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the UserSettings from the service + * + * @return the UserSettings from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserSettings get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this UserSettings with a source + * + * @param sourceUserSettings the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final UserSettings sourceUserSettings, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUserSettings); + } + + /** + * Patches this UserSettings with a source + * + * @param sourceUserSettings the source object with updates + * @return the updated UserSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserSettings patch(final UserSettings sourceUserSettings) throws ClientException { + return send(HttpMethod.PATCH, sourceUserSettings); + } + + /** + * Creates a UserSettings with a new object + * + * @param newUserSettings the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final UserSettings newUserSettings, final ICallback callback) { + send(HttpMethod.POST, callback, newUserSettings); + } + + /** + * Creates a UserSettings with a new object + * + * @param newUserSettings the new object to create + * @return the created UserSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserSettings post(final UserSettings newUserSettings) throws ClientException { + return send(HttpMethod.POST, newUserSettings); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserSettingsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserSettingsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserSettingsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserSettingsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequestBuilder.java index 5630e539da9..bbcdb73b6a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserSettingsRequest; +import com.microsoft.graph.requests.extensions.UserSettingsRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserSettingsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Settings Request Builder. */ -public class UserSettingsRequestBuilder extends BaseUserSettingsRequestBuilder implements IUserSettingsRequestBuilder { +public class UserSettingsRequestBuilder extends BaseRequestBuilder implements IUserSettingsRequestBuilder { /** * The request builder for the UserSettings @@ -25,4 +28,26 @@ public class UserSettingsRequestBuilder extends BaseUserSettingsRequestBuilder i public UserSettingsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUserSettingsRequest instance + */ + public IUserSettingsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IUserSettingsRequest instance + */ + public IUserSettingsRequest buildRequest(final java.util.List requestOptions) { + return new UserSettingsRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequest.java index 98beab92665..ab1d7b62d74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.UserWipeManagedAppRegistrationsByDeviceTagBody; +import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; +import com.microsoft.graph.requests.extensions.UserWipeManagedAppRegistrationsByDeviceTagRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserWipeManagedAppRegistrationsByDeviceTagRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Wipe Managed App Registrations By Device Tag Request. */ -public class UserWipeManagedAppRegistrationsByDeviceTagRequest extends BaseUserWipeManagedAppRegistrationsByDeviceTagRequest implements IUserWipeManagedAppRegistrationsByDeviceTagRequest { +public class UserWipeManagedAppRegistrationsByDeviceTagRequest extends BaseRequest implements IUserWipeManagedAppRegistrationsByDeviceTagRequest { + protected final UserWipeManagedAppRegistrationsByDeviceTagBody body; /** * The request for this UserWipeManagedAppRegistrationsByDeviceTag @@ -23,6 +31,49 @@ public class UserWipeManagedAppRegistrationsByDeviceTagRequest extends BaseUserW * @param requestOptions the options for this request */ public UserWipeManagedAppRegistrationsByDeviceTagRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new UserWipeManagedAppRegistrationsByDeviceTagBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserWipeManagedAppRegistrationsByDeviceTagRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (UserWipeManagedAppRegistrationsByDeviceTagRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IUserWipeManagedAppRegistrationsByDeviceTagRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (UserWipeManagedAppRegistrationsByDeviceTagRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserWipeManagedAppRegistrationsByDeviceTagRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserWipeManagedAppRegistrationsByDeviceTagRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java index 6992212981d..12d29d9f250 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; +import com.microsoft.graph.requests.extensions.UserWipeManagedAppRegistrationsByDeviceTagRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User Wipe Managed App Registrations By Device Tag Request Builder. */ -public class UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder implements IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder { +public class UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends BaseActionRequestBuilder implements IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder { /** * The request builder for this UserWipeManagedAppRegistrationsByDeviceTag @@ -24,6 +29,36 @@ public class UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends Ba * @param deviceTag the deviceTag */ public UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String deviceTag) { - super(requestUrl, client, requestOptions, deviceTag); + super(requestUrl, client, requestOptions); + bodyParams.put("deviceTag", deviceTag); + } + + /** + * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest + * + * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance + */ + public IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance + */ + public IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest(final java.util.List requestOptions) { + UserWipeManagedAppRegistrationsByDeviceTagRequest request = new UserWipeManagedAppRegistrationsByDeviceTagRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("deviceTag")) { + request.body.deviceTag = getParameter("deviceTag"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequest.java index b15a59f11f7..db216cc72e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequest.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserWithReferenceRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User With Reference Request. */ -public class UserWithReferenceRequest extends BaseUserWithReferenceRequest implements IUserWithReferenceRequest { +public class UserWithReferenceRequest extends BaseRequest implements IUserWithReferenceRequest { /** * The request for the User @@ -22,7 +30,66 @@ public class UserWithReferenceRequest extends BaseUserWithReferenceRequest imple * @param client the service client * @param requestOptions the options for this request */ - public UserWithReferenceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public UserWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { + super(requestUrl, client, requestOptions, User.class); + } + + public void post(final User newUser, final IJsonBackedObject payload, final ICallback callback) { + send(HttpMethod.POST, callback, payload); + } + + public User post(final User newUser, final IJsonBackedObject payload) throws ClientException { + IJsonBackedObject response = send(HttpMethod.POST, payload); + if (response != null){ + return newUser; + } + return null; + } + + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + public User get() throws ClientException { + return send(HttpMethod.GET, null); + } + + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + public void patch(final User sourceUser, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceUser); + } + + public User patch(final User sourceUser) throws ClientException { + return send(HttpMethod.PATCH, sourceUser); + } + + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IUserWithReferenceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (IUserWithReferenceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IUserWithReferenceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (UserWithReferenceRequest)this; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequestBuilder.java index 71d3799ede9..85b3b44358a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserWithReferenceRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseUserWithReferenceRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the User With Reference Request Builder. */ -public class UserWithReferenceRequestBuilder extends BaseUserWithReferenceRequestBuilder implements IUserWithReferenceRequestBuilder { +public class UserWithReferenceRequestBuilder extends BaseRequestBuilder implements IUserWithReferenceRequestBuilder { /** * The request builder for the User @@ -25,4 +33,28 @@ public class UserWithReferenceRequestBuilder extends BaseUserWithReferenceReques public UserWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IUserWithReferenceRequest instance + */ + public IUserWithReferenceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific options instead of the existing options + * + * @param requestOptions the options for this request + * @return the IUserWithReferenceRequest instance + */ + public IUserWithReferenceRequest buildRequest(final java.util.List requestOptions) { + return new UserWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IUserReferenceRequestBuilder reference(){ + return new UserReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionPage.java index e318f6a1b77..65878b5d61c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.VppToken; +import com.microsoft.graph.requests.extensions.IVppTokenCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseVppTokenCollectionPage; -import com.microsoft.graph.requests.generated.BaseVppTokenCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Collection Page. */ -public class VppTokenCollectionPage extends BaseVppTokenCollectionPage implements IVppTokenCollectionPage { +public class VppTokenCollectionPage extends BaseCollectionPage implements IVppTokenCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for VppToken * - * @param response the serialized BaseVppTokenCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized VppTokenCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public VppTokenCollectionPage(final BaseVppTokenCollectionResponse response, final IVppTokenCollectionRequestBuilder builder) { - super(response, builder); + public VppTokenCollectionPage(final VppTokenCollectionResponse response, final IVppTokenCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequest.java index 13bcf3ea499..4b19aef8c92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseVppTokenCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Collection Request. */ -public class VppTokenCollectionRequest extends BaseVppTokenCollectionRequest implements IVppTokenCollectionRequest { +public class VppTokenCollectionRequest extends BaseCollectionRequest implements IVppTokenCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of VppToken * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public VppTokenCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public VppTokenCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, VppTokenCollectionResponse.class, IVppTokenCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IVppTokenCollectionPage get() throws ClientException { + final VppTokenCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final VppToken newVppToken, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new VppTokenRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newVppToken, callback); + } + + public VppToken post(final VppToken newVppToken) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new VppTokenRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newVppToken); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IVppTokenCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (VppTokenCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IVppTokenCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (VppTokenCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IVppTokenCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (VppTokenCollectionRequest)this; + } + + public IVppTokenCollectionPage buildFromResponse(final VppTokenCollectionResponse response) { + final IVppTokenCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new VppTokenCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final VppTokenCollectionPage page = new VppTokenCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequestBuilder.java index d6797747416..e0eb8232d2d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseVppTokenCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Collection Request Builder. */ -public class VppTokenCollectionRequestBuilder extends BaseVppTokenCollectionRequestBuilder implements IVppTokenCollectionRequestBuilder { +public class VppTokenCollectionRequestBuilder extends BaseRequestBuilder implements IVppTokenCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class VppTokenCollectionRequestBuilder extends BaseVppTokenCollectionRequ public VppTokenCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IVppTokenCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IVppTokenCollectionRequest buildRequest(final java.util.List requestOptions) { + return new VppTokenCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IVppTokenRequestBuilder byId(final String id) { + return new VppTokenRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionResponse.java new file mode 100644 index 00000000000..5984a870542 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.VppToken; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Vpp Token Collection Response. + */ +public class VppTokenCollectionResponse implements IJsonBackedObject { + + /** + * The list of VppToken within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequest.java index 61c6140e63f..0ed1eda3ca3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IVppTokenRequest; +import com.microsoft.graph.requests.extensions.VppTokenRequest; +import com.microsoft.graph.models.extensions.VppToken; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.VppToken; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseVppTokenRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Request. */ -public class VppTokenRequest extends BaseVppTokenRequest implements IVppTokenRequest { - +public class VppTokenRequest extends BaseRequest implements IVppTokenRequest { + /** * The request for the VppToken * @@ -26,4 +32,107 @@ public class VppTokenRequest extends BaseVppTokenRequest implements IVppTokenReq public VppTokenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, VppToken.class); } + + /** + * Gets the VppToken from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the VppToken from the service + * + * @return the VppToken from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public VppToken get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this VppToken with a source + * + * @param sourceVppToken the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final VppToken sourceVppToken, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceVppToken); + } + + /** + * Patches this VppToken with a source + * + * @param sourceVppToken the source object with updates + * @return the updated VppToken + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public VppToken patch(final VppToken sourceVppToken) throws ClientException { + return send(HttpMethod.PATCH, sourceVppToken); + } + + /** + * Creates a VppToken with a new object + * + * @param newVppToken the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final VppToken newVppToken, final ICallback callback) { + send(HttpMethod.POST, callback, newVppToken); + } + + /** + * Creates a VppToken with a new object + * + * @param newVppToken the new object to create + * @return the created VppToken + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public VppToken post(final VppToken newVppToken) throws ClientException { + return send(HttpMethod.POST, newVppToken); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IVppTokenRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (VppTokenRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IVppTokenRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (VppTokenRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequestBuilder.java index 43c1feafddd..f10ef8e8a83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IVppTokenRequest; +import com.microsoft.graph.requests.extensions.VppTokenRequest; +import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequestBuilder; +import com.microsoft.graph.requests.extensions.VppTokenSyncLicensesRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseVppTokenRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Request Builder. */ -public class VppTokenRequestBuilder extends BaseVppTokenRequestBuilder implements IVppTokenRequestBuilder { +public class VppTokenRequestBuilder extends BaseRequestBuilder implements IVppTokenRequestBuilder { /** * The request builder for the VppToken @@ -25,4 +30,30 @@ public class VppTokenRequestBuilder extends BaseVppTokenRequestBuilder implement public VppTokenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IVppTokenRequest instance + */ + public IVppTokenRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IVppTokenRequest instance + */ + public IVppTokenRequest buildRequest(final java.util.List requestOptions) { + return new VppTokenRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IVppTokenSyncLicensesRequestBuilder syncLicenses() { + return new VppTokenSyncLicensesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syncLicenses"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequest.java index 25015a6b747..0058b0421de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.VppToken; +import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; +import com.microsoft.graph.requests.extensions.VppTokenSyncLicensesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseVppTokenSyncLicensesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Sync Licenses Request. */ -public class VppTokenSyncLicensesRequest extends BaseVppTokenSyncLicensesRequest implements IVppTokenSyncLicensesRequest { +public class VppTokenSyncLicensesRequest extends BaseRequest implements IVppTokenSyncLicensesRequest { /** * The request for this VppTokenSyncLicenses @@ -23,6 +31,48 @@ public class VppTokenSyncLicensesRequest extends BaseVppTokenSyncLicensesRequest * @param requestOptions the options for this request */ public VppTokenSyncLicensesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, VppToken.class); } + + /** + * Creates the VppTokenSyncLicenses + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the VppTokenSyncLicenses + * + * @return the VppToken + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public VppToken post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IVppTokenSyncLicensesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (VppTokenSyncLicensesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IVppTokenSyncLicensesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (VppTokenSyncLicensesRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequestBuilder.java index 9efc17f3b96..f1e88614caa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenSyncLicensesRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; +import com.microsoft.graph.requests.extensions.VppTokenSyncLicensesRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseVppTokenSyncLicensesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Vpp Token Sync Licenses Request Builder. */ -public class VppTokenSyncLicensesRequestBuilder extends BaseVppTokenSyncLicensesRequestBuilder implements IVppTokenSyncLicensesRequestBuilder { +public class VppTokenSyncLicensesRequestBuilder extends BaseActionRequestBuilder implements IVppTokenSyncLicensesRequestBuilder { /** * The request builder for this VppTokenSyncLicenses @@ -25,4 +30,29 @@ public class VppTokenSyncLicensesRequestBuilder extends BaseVppTokenSyncLicenses public VppTokenSyncLicensesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IVppTokenSyncLicensesRequest + * + * @return the IVppTokenSyncLicensesRequest instance + */ + public IVppTokenSyncLicensesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IVppTokenSyncLicensesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IVppTokenSyncLicensesRequest instance + */ + public IVppTokenSyncLicensesRequest buildRequest(final java.util.List requestOptions) { + VppTokenSyncLicensesRequest request = new VppTokenSyncLicensesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequest.java index 9c113748128..418d4458f22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWebAppRequest; +import com.microsoft.graph.requests.extensions.WebAppRequest; +import com.microsoft.graph.models.extensions.WebApp; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WebApp; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWebAppRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Web App Request. */ -public class WebAppRequest extends BaseWebAppRequest implements IWebAppRequest { - +public class WebAppRequest extends BaseRequest implements IWebAppRequest { + /** * The request for the WebApp * @@ -26,4 +32,107 @@ public class WebAppRequest extends BaseWebAppRequest implements IWebAppRequest { public WebAppRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WebApp.class); } + + /** + * Gets the WebApp from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WebApp from the service + * + * @return the WebApp from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WebApp get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WebApp with a source + * + * @param sourceWebApp the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WebApp sourceWebApp, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWebApp); + } + + /** + * Patches this WebApp with a source + * + * @param sourceWebApp the source object with updates + * @return the updated WebApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WebApp patch(final WebApp sourceWebApp) throws ClientException { + return send(HttpMethod.PATCH, sourceWebApp); + } + + /** + * Creates a WebApp with a new object + * + * @param newWebApp the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WebApp newWebApp, final ICallback callback) { + send(HttpMethod.POST, callback, newWebApp); + } + + /** + * Creates a WebApp with a new object + * + * @param newWebApp the new object to create + * @return the created WebApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WebApp post(final WebApp newWebApp) throws ClientException { + return send(HttpMethod.POST, newWebApp); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWebAppRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WebAppRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWebAppRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WebAppRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequestBuilder.java index f94795fb321..ed5b702cb0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWebAppRequest; +import com.microsoft.graph.requests.extensions.WebAppRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWebAppRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Web App Request Builder. */ -public class WebAppRequestBuilder extends BaseWebAppRequestBuilder implements IWebAppRequestBuilder { +public class WebAppRequestBuilder extends BaseRequestBuilder implements IWebAppRequestBuilder { /** * The request builder for the WebApp @@ -25,4 +28,26 @@ public class WebAppRequestBuilder extends BaseWebAppRequestBuilder implements IW public WebAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWebAppRequest instance + */ + public IWebAppRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWebAppRequest instance + */ + public IWebAppRequest buildRequest(final java.util.List requestOptions) { + return new WebAppRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequest.java index 1b1e14d2bea..5154290b991 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10CompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.Windows10CompliancePolicyRequest; +import com.microsoft.graph.models.extensions.Windows10CompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10CompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10CompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Compliance Policy Request. */ -public class Windows10CompliancePolicyRequest extends BaseWindows10CompliancePolicyRequest implements IWindows10CompliancePolicyRequest { - +public class Windows10CompliancePolicyRequest extends BaseRequest implements IWindows10CompliancePolicyRequest { + /** * The request for the Windows10CompliancePolicy * @@ -26,4 +32,107 @@ public class Windows10CompliancePolicyRequest extends BaseWindows10CompliancePol public Windows10CompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10CompliancePolicy.class); } + + /** + * Gets the Windows10CompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10CompliancePolicy from the service + * + * @return the Windows10CompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10CompliancePolicy with a source + * + * @param sourceWindows10CompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10CompliancePolicy); + } + + /** + * Patches this Windows10CompliancePolicy with a source + * + * @param sourceWindows10CompliancePolicy the source object with updates + * @return the updated Windows10CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CompliancePolicy patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10CompliancePolicy); + } + + /** + * Creates a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10CompliancePolicy newWindows10CompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10CompliancePolicy); + } + + /** + * Creates a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the new object to create + * @return the created Windows10CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CompliancePolicy post(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newWindows10CompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10CompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10CompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10CompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10CompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequestBuilder.java index f6b31a4db3d..c27b09b8d8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10CompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.Windows10CompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10CompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Compliance Policy Request Builder. */ -public class Windows10CompliancePolicyRequestBuilder extends BaseWindows10CompliancePolicyRequestBuilder implements IWindows10CompliancePolicyRequestBuilder { +public class Windows10CompliancePolicyRequestBuilder extends BaseRequestBuilder implements IWindows10CompliancePolicyRequestBuilder { /** * The request builder for the Windows10CompliancePolicy @@ -25,4 +28,26 @@ public class Windows10CompliancePolicyRequestBuilder extends BaseWindows10Compli public Windows10CompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10CompliancePolicyRequest instance + */ + public IWindows10CompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10CompliancePolicyRequest instance + */ + public IWindows10CompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new Windows10CompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequest.java index 74e134f5f4d..17c794c87e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10CustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10CustomConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows10CustomConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10CustomConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10CustomConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Custom Configuration Request. */ -public class Windows10CustomConfigurationRequest extends BaseWindows10CustomConfigurationRequest implements IWindows10CustomConfigurationRequest { - +public class Windows10CustomConfigurationRequest extends BaseRequest implements IWindows10CustomConfigurationRequest { + /** * The request for the Windows10CustomConfiguration * @@ -26,4 +32,107 @@ public class Windows10CustomConfigurationRequest extends BaseWindows10CustomConf public Windows10CustomConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10CustomConfiguration.class); } + + /** + * Gets the Windows10CustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10CustomConfiguration from the service + * + * @return the Windows10CustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CustomConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10CustomConfiguration with a source + * + * @param sourceWindows10CustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10CustomConfiguration); + } + + /** + * Patches this Windows10CustomConfiguration with a source + * + * @param sourceWindows10CustomConfiguration the source object with updates + * @return the updated Windows10CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CustomConfiguration patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10CustomConfiguration); + } + + /** + * Creates a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10CustomConfiguration newWindows10CustomConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10CustomConfiguration); + } + + /** + * Creates a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the new object to create + * @return the created Windows10CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CustomConfiguration post(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows10CustomConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10CustomConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10CustomConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10CustomConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10CustomConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequestBuilder.java index 07a49a617ca..fdf14f38289 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10CustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10CustomConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10CustomConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Custom Configuration Request Builder. */ -public class Windows10CustomConfigurationRequestBuilder extends BaseWindows10CustomConfigurationRequestBuilder implements IWindows10CustomConfigurationRequestBuilder { +public class Windows10CustomConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows10CustomConfigurationRequestBuilder { /** * The request builder for the Windows10CustomConfiguration @@ -25,4 +28,26 @@ public class Windows10CustomConfigurationRequestBuilder extends BaseWindows10Cus public Windows10CustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10CustomConfigurationRequest instance + */ + public IWindows10CustomConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10CustomConfigurationRequest instance + */ + public IWindows10CustomConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows10CustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequest.java index 7b6f2ef5ade..9cd26251ead 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10EndpointProtectionConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10EndpointProtectionConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows10EndpointProtectionConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10EndpointProtectionConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10EndpointProtectionConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Endpoint Protection Configuration Request. */ -public class Windows10EndpointProtectionConfigurationRequest extends BaseWindows10EndpointProtectionConfigurationRequest implements IWindows10EndpointProtectionConfigurationRequest { - +public class Windows10EndpointProtectionConfigurationRequest extends BaseRequest implements IWindows10EndpointProtectionConfigurationRequest { + /** * The request for the Windows10EndpointProtectionConfiguration * @@ -26,4 +32,107 @@ public class Windows10EndpointProtectionConfigurationRequest extends BaseWindows public Windows10EndpointProtectionConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10EndpointProtectionConfiguration.class); } + + /** + * Gets the Windows10EndpointProtectionConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10EndpointProtectionConfiguration from the service + * + * @return the Windows10EndpointProtectionConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EndpointProtectionConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10EndpointProtectionConfiguration with a source + * + * @param sourceWindows10EndpointProtectionConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10EndpointProtectionConfiguration); + } + + /** + * Patches this Windows10EndpointProtectionConfiguration with a source + * + * @param sourceWindows10EndpointProtectionConfiguration the source object with updates + * @return the updated Windows10EndpointProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EndpointProtectionConfiguration patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10EndpointProtectionConfiguration); + } + + /** + * Creates a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10EndpointProtectionConfiguration); + } + + /** + * Creates a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the new object to create + * @return the created Windows10EndpointProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EndpointProtectionConfiguration post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows10EndpointProtectionConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10EndpointProtectionConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10EndpointProtectionConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10EndpointProtectionConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10EndpointProtectionConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequestBuilder.java index d0f7987be47..96a98ed8ae6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10EndpointProtectionConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10EndpointProtectionConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10EndpointProtectionConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Endpoint Protection Configuration Request Builder. */ -public class Windows10EndpointProtectionConfigurationRequestBuilder extends BaseWindows10EndpointProtectionConfigurationRequestBuilder implements IWindows10EndpointProtectionConfigurationRequestBuilder { +public class Windows10EndpointProtectionConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows10EndpointProtectionConfigurationRequestBuilder { /** * The request builder for the Windows10EndpointProtectionConfiguration @@ -25,4 +28,26 @@ public class Windows10EndpointProtectionConfigurationRequestBuilder extends Base public Windows10EndpointProtectionConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10EndpointProtectionConfigurationRequest instance + */ + public IWindows10EndpointProtectionConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10EndpointProtectionConfigurationRequest instance + */ + public IWindows10EndpointProtectionConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows10EndpointProtectionConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequest.java index 1d25f705176..df3b23872c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10EnterpriseModernAppManagementConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10EnterpriseModernAppManagementConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows10EnterpriseModernAppManagementConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10EnterpriseModernAppManagementConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10EnterpriseModernAppManagementConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Enterprise Modern App Management Configuration Request. */ -public class Windows10EnterpriseModernAppManagementConfigurationRequest extends BaseWindows10EnterpriseModernAppManagementConfigurationRequest implements IWindows10EnterpriseModernAppManagementConfigurationRequest { - +public class Windows10EnterpriseModernAppManagementConfigurationRequest extends BaseRequest implements IWindows10EnterpriseModernAppManagementConfigurationRequest { + /** * The request for the Windows10EnterpriseModernAppManagementConfiguration * @@ -26,4 +32,107 @@ public class Windows10EnterpriseModernAppManagementConfigurationRequest extends public Windows10EnterpriseModernAppManagementConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10EnterpriseModernAppManagementConfiguration.class); } + + /** + * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service + * + * @return the Windows10EnterpriseModernAppManagementConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EnterpriseModernAppManagementConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source + * + * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10EnterpriseModernAppManagementConfiguration); + } + + /** + * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source + * + * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates + * @return the updated Windows10EnterpriseModernAppManagementConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EnterpriseModernAppManagementConfiguration patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10EnterpriseModernAppManagementConfiguration); + } + + /** + * Creates a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10EnterpriseModernAppManagementConfiguration); + } + + /** + * Creates a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create + * @return the created Windows10EnterpriseModernAppManagementConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EnterpriseModernAppManagementConfiguration post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows10EnterpriseModernAppManagementConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10EnterpriseModernAppManagementConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10EnterpriseModernAppManagementConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10EnterpriseModernAppManagementConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10EnterpriseModernAppManagementConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java index 91c8e702c60..9664b2fe8e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10EnterpriseModernAppManagementConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10EnterpriseModernAppManagementConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Enterprise Modern App Management Configuration Request Builder. */ -public class Windows10EnterpriseModernAppManagementConfigurationRequestBuilder extends BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder implements IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder { +public class Windows10EnterpriseModernAppManagementConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows10EnterpriseModernAppManagementConfigurationRequestBuilder { /** * The request builder for the Windows10EnterpriseModernAppManagementConfiguration @@ -25,4 +28,26 @@ public class Windows10EnterpriseModernAppManagementConfigurationRequestBuilder e public Windows10EnterpriseModernAppManagementConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance + */ + public IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance + */ + public IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows10EnterpriseModernAppManagementConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequest.java index 522a8f78ba1..21712e1aa58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10GeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10GeneralConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows10GeneralConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10GeneralConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10GeneralConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10General Configuration Request. */ -public class Windows10GeneralConfigurationRequest extends BaseWindows10GeneralConfigurationRequest implements IWindows10GeneralConfigurationRequest { - +public class Windows10GeneralConfigurationRequest extends BaseRequest implements IWindows10GeneralConfigurationRequest { + /** * The request for the Windows10GeneralConfiguration * @@ -26,4 +32,107 @@ public class Windows10GeneralConfigurationRequest extends BaseWindows10GeneralCo public Windows10GeneralConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10GeneralConfiguration.class); } + + /** + * Gets the Windows10GeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10GeneralConfiguration from the service + * + * @return the Windows10GeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10GeneralConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10GeneralConfiguration with a source + * + * @param sourceWindows10GeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10GeneralConfiguration); + } + + /** + * Patches this Windows10GeneralConfiguration with a source + * + * @param sourceWindows10GeneralConfiguration the source object with updates + * @return the updated Windows10GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10GeneralConfiguration patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10GeneralConfiguration); + } + + /** + * Creates a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10GeneralConfiguration); + } + + /** + * Creates a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the new object to create + * @return the created Windows10GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10GeneralConfiguration post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows10GeneralConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10GeneralConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10GeneralConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10GeneralConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10GeneralConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequestBuilder.java index 265c76fd9fd..c08fb7f911f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10GeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10GeneralConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10GeneralConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10General Configuration Request Builder. */ -public class Windows10GeneralConfigurationRequestBuilder extends BaseWindows10GeneralConfigurationRequestBuilder implements IWindows10GeneralConfigurationRequestBuilder { +public class Windows10GeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows10GeneralConfigurationRequestBuilder { /** * The request builder for the Windows10GeneralConfiguration @@ -25,4 +28,26 @@ public class Windows10GeneralConfigurationRequestBuilder extends BaseWindows10Ge public Windows10GeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10GeneralConfigurationRequest instance + */ + public IWindows10GeneralConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10GeneralConfigurationRequest instance + */ + public IWindows10GeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows10GeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequest.java index 6ebd983166e..74d544672e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10MobileCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.Windows10MobileCompliancePolicyRequest; +import com.microsoft.graph.models.extensions.Windows10MobileCompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10MobileCompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10MobileCompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Mobile Compliance Policy Request. */ -public class Windows10MobileCompliancePolicyRequest extends BaseWindows10MobileCompliancePolicyRequest implements IWindows10MobileCompliancePolicyRequest { - +public class Windows10MobileCompliancePolicyRequest extends BaseRequest implements IWindows10MobileCompliancePolicyRequest { + /** * The request for the Windows10MobileCompliancePolicy * @@ -26,4 +32,107 @@ public class Windows10MobileCompliancePolicyRequest extends BaseWindows10MobileC public Windows10MobileCompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10MobileCompliancePolicy.class); } + + /** + * Gets the Windows10MobileCompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10MobileCompliancePolicy from the service + * + * @return the Windows10MobileCompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10MobileCompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10MobileCompliancePolicy with a source + * + * @param sourceWindows10MobileCompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10MobileCompliancePolicy); + } + + /** + * Patches this Windows10MobileCompliancePolicy with a source + * + * @param sourceWindows10MobileCompliancePolicy the source object with updates + * @return the updated Windows10MobileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10MobileCompliancePolicy patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10MobileCompliancePolicy); + } + + /** + * Creates a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10MobileCompliancePolicy); + } + + /** + * Creates a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the new object to create + * @return the created Windows10MobileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10MobileCompliancePolicy post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newWindows10MobileCompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10MobileCompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10MobileCompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10MobileCompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10MobileCompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequestBuilder.java index 6a006b9f9bc..58b17e1f626 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10MobileCompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.Windows10MobileCompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10MobileCompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Mobile Compliance Policy Request Builder. */ -public class Windows10MobileCompliancePolicyRequestBuilder extends BaseWindows10MobileCompliancePolicyRequestBuilder implements IWindows10MobileCompliancePolicyRequestBuilder { +public class Windows10MobileCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IWindows10MobileCompliancePolicyRequestBuilder { /** * The request builder for the Windows10MobileCompliancePolicy @@ -25,4 +28,26 @@ public class Windows10MobileCompliancePolicyRequestBuilder extends BaseWindows10 public Windows10MobileCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10MobileCompliancePolicyRequest instance + */ + public IWindows10MobileCompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10MobileCompliancePolicyRequest instance + */ + public IWindows10MobileCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new Windows10MobileCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequest.java index f2f141d7d05..5465767af2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10SecureAssessmentConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10SecureAssessmentConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows10SecureAssessmentConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10SecureAssessmentConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10SecureAssessmentConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Secure Assessment Configuration Request. */ -public class Windows10SecureAssessmentConfigurationRequest extends BaseWindows10SecureAssessmentConfigurationRequest implements IWindows10SecureAssessmentConfigurationRequest { - +public class Windows10SecureAssessmentConfigurationRequest extends BaseRequest implements IWindows10SecureAssessmentConfigurationRequest { + /** * The request for the Windows10SecureAssessmentConfiguration * @@ -26,4 +32,107 @@ public class Windows10SecureAssessmentConfigurationRequest extends BaseWindows10 public Windows10SecureAssessmentConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10SecureAssessmentConfiguration.class); } + + /** + * Gets the Windows10SecureAssessmentConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10SecureAssessmentConfiguration from the service + * + * @return the Windows10SecureAssessmentConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10SecureAssessmentConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10SecureAssessmentConfiguration with a source + * + * @param sourceWindows10SecureAssessmentConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10SecureAssessmentConfiguration); + } + + /** + * Patches this Windows10SecureAssessmentConfiguration with a source + * + * @param sourceWindows10SecureAssessmentConfiguration the source object with updates + * @return the updated Windows10SecureAssessmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10SecureAssessmentConfiguration patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10SecureAssessmentConfiguration); + } + + /** + * Creates a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10SecureAssessmentConfiguration); + } + + /** + * Creates a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the new object to create + * @return the created Windows10SecureAssessmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10SecureAssessmentConfiguration post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows10SecureAssessmentConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10SecureAssessmentConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10SecureAssessmentConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10SecureAssessmentConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10SecureAssessmentConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequestBuilder.java index 6e345880402..4405f3545b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10SecureAssessmentConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10SecureAssessmentConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10SecureAssessmentConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Secure Assessment Configuration Request Builder. */ -public class Windows10SecureAssessmentConfigurationRequestBuilder extends BaseWindows10SecureAssessmentConfigurationRequestBuilder implements IWindows10SecureAssessmentConfigurationRequestBuilder { +public class Windows10SecureAssessmentConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows10SecureAssessmentConfigurationRequestBuilder { /** * The request builder for the Windows10SecureAssessmentConfiguration @@ -25,4 +28,26 @@ public class Windows10SecureAssessmentConfigurationRequestBuilder extends BaseWi public Windows10SecureAssessmentConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10SecureAssessmentConfigurationRequest instance + */ + public IWindows10SecureAssessmentConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10SecureAssessmentConfigurationRequest instance + */ + public IWindows10SecureAssessmentConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows10SecureAssessmentConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequest.java index a8521e1a09a..5866732a20d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10TeamGeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10TeamGeneralConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows10TeamGeneralConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows10TeamGeneralConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10TeamGeneralConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Team General Configuration Request. */ -public class Windows10TeamGeneralConfigurationRequest extends BaseWindows10TeamGeneralConfigurationRequest implements IWindows10TeamGeneralConfigurationRequest { - +public class Windows10TeamGeneralConfigurationRequest extends BaseRequest implements IWindows10TeamGeneralConfigurationRequest { + /** * The request for the Windows10TeamGeneralConfiguration * @@ -26,4 +32,107 @@ public class Windows10TeamGeneralConfigurationRequest extends BaseWindows10TeamG public Windows10TeamGeneralConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows10TeamGeneralConfiguration.class); } + + /** + * Gets the Windows10TeamGeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows10TeamGeneralConfiguration from the service + * + * @return the Windows10TeamGeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10TeamGeneralConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows10TeamGeneralConfiguration with a source + * + * @param sourceWindows10TeamGeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows10TeamGeneralConfiguration); + } + + /** + * Patches this Windows10TeamGeneralConfiguration with a source + * + * @param sourceWindows10TeamGeneralConfiguration the source object with updates + * @return the updated Windows10TeamGeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10TeamGeneralConfiguration patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows10TeamGeneralConfiguration); + } + + /** + * Creates a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows10TeamGeneralConfiguration); + } + + /** + * Creates a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the new object to create + * @return the created Windows10TeamGeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10TeamGeneralConfiguration post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows10TeamGeneralConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows10TeamGeneralConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows10TeamGeneralConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows10TeamGeneralConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows10TeamGeneralConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequestBuilder.java index 3e74962633d..8a037af873a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows10TeamGeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows10TeamGeneralConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows10TeamGeneralConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows10Team General Configuration Request Builder. */ -public class Windows10TeamGeneralConfigurationRequestBuilder extends BaseWindows10TeamGeneralConfigurationRequestBuilder implements IWindows10TeamGeneralConfigurationRequestBuilder { +public class Windows10TeamGeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows10TeamGeneralConfigurationRequestBuilder { /** * The request builder for the Windows10TeamGeneralConfiguration @@ -25,4 +28,26 @@ public class Windows10TeamGeneralConfigurationRequestBuilder extends BaseWindows public Windows10TeamGeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows10TeamGeneralConfigurationRequest instance + */ + public IWindows10TeamGeneralConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows10TeamGeneralConfigurationRequest instance + */ + public IWindows10TeamGeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows10TeamGeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequest.java index d1ef8610132..3766b117a5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows81CompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.Windows81CompliancePolicyRequest; +import com.microsoft.graph.models.extensions.Windows81CompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows81CompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows81CompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows81Compliance Policy Request. */ -public class Windows81CompliancePolicyRequest extends BaseWindows81CompliancePolicyRequest implements IWindows81CompliancePolicyRequest { - +public class Windows81CompliancePolicyRequest extends BaseRequest implements IWindows81CompliancePolicyRequest { + /** * The request for the Windows81CompliancePolicy * @@ -26,4 +32,107 @@ public class Windows81CompliancePolicyRequest extends BaseWindows81CompliancePol public Windows81CompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows81CompliancePolicy.class); } + + /** + * Gets the Windows81CompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows81CompliancePolicy from the service + * + * @return the Windows81CompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81CompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows81CompliancePolicy with a source + * + * @param sourceWindows81CompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows81CompliancePolicy); + } + + /** + * Patches this Windows81CompliancePolicy with a source + * + * @param sourceWindows81CompliancePolicy the source object with updates + * @return the updated Windows81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81CompliancePolicy patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows81CompliancePolicy); + } + + /** + * Creates a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows81CompliancePolicy newWindows81CompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows81CompliancePolicy); + } + + /** + * Creates a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the new object to create + * @return the created Windows81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81CompliancePolicy post(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newWindows81CompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows81CompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows81CompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows81CompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows81CompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequestBuilder.java index b51e28f2b24..0acf616f86b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows81CompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.Windows81CompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows81CompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows81Compliance Policy Request Builder. */ -public class Windows81CompliancePolicyRequestBuilder extends BaseWindows81CompliancePolicyRequestBuilder implements IWindows81CompliancePolicyRequestBuilder { +public class Windows81CompliancePolicyRequestBuilder extends BaseRequestBuilder implements IWindows81CompliancePolicyRequestBuilder { /** * The request builder for the Windows81CompliancePolicy @@ -25,4 +28,26 @@ public class Windows81CompliancePolicyRequestBuilder extends BaseWindows81Compli public Windows81CompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows81CompliancePolicyRequest instance + */ + public IWindows81CompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows81CompliancePolicyRequest instance + */ + public IWindows81CompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new Windows81CompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequest.java index 38af8204591..5f1a68e9027 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows81GeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows81GeneralConfigurationRequest; +import com.microsoft.graph.models.extensions.Windows81GeneralConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Windows81GeneralConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows81GeneralConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows81General Configuration Request. */ -public class Windows81GeneralConfigurationRequest extends BaseWindows81GeneralConfigurationRequest implements IWindows81GeneralConfigurationRequest { - +public class Windows81GeneralConfigurationRequest extends BaseRequest implements IWindows81GeneralConfigurationRequest { + /** * The request for the Windows81GeneralConfiguration * @@ -26,4 +32,107 @@ public class Windows81GeneralConfigurationRequest extends BaseWindows81GeneralCo public Windows81GeneralConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Windows81GeneralConfiguration.class); } + + /** + * Gets the Windows81GeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Windows81GeneralConfiguration from the service + * + * @return the Windows81GeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81GeneralConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Windows81GeneralConfiguration with a source + * + * @param sourceWindows81GeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindows81GeneralConfiguration); + } + + /** + * Patches this Windows81GeneralConfiguration with a source + * + * @param sourceWindows81GeneralConfiguration the source object with updates + * @return the updated Windows81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81GeneralConfiguration patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindows81GeneralConfiguration); + } + + /** + * Creates a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindows81GeneralConfiguration); + } + + /** + * Creates a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the new object to create + * @return the created Windows81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81GeneralConfiguration post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindows81GeneralConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindows81GeneralConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (Windows81GeneralConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindows81GeneralConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (Windows81GeneralConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequestBuilder.java index 5f2693dbe82..6e887ca67fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindows81GeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.Windows81GeneralConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindows81GeneralConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows81General Configuration Request Builder. */ -public class Windows81GeneralConfigurationRequestBuilder extends BaseWindows81GeneralConfigurationRequestBuilder implements IWindows81GeneralConfigurationRequestBuilder { +public class Windows81GeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IWindows81GeneralConfigurationRequestBuilder { /** * The request builder for the Windows81GeneralConfiguration @@ -25,4 +28,26 @@ public class Windows81GeneralConfigurationRequestBuilder extends BaseWindows81Ge public Windows81GeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindows81GeneralConfigurationRequest instance + */ + public IWindows81GeneralConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindows81GeneralConfigurationRequest instance + */ + public IWindows81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new Windows81GeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequest.java index b7c14c7f94e..02315859d29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsDefenderAdvancedThreatProtectionConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsDefenderAdvancedThreatProtectionConfigurationRequest; +import com.microsoft.graph.models.extensions.WindowsDefenderAdvancedThreatProtectionConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsDefenderAdvancedThreatProtectionConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Defender Advanced Threat Protection Configuration Request. */ -public class WindowsDefenderAdvancedThreatProtectionConfigurationRequest extends BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest implements IWindowsDefenderAdvancedThreatProtectionConfigurationRequest { - +public class WindowsDefenderAdvancedThreatProtectionConfigurationRequest extends BaseRequest implements IWindowsDefenderAdvancedThreatProtectionConfigurationRequest { + /** * The request for the WindowsDefenderAdvancedThreatProtectionConfiguration * @@ -26,4 +32,107 @@ public class WindowsDefenderAdvancedThreatProtectionConfigurationRequest extends public WindowsDefenderAdvancedThreatProtectionConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsDefenderAdvancedThreatProtectionConfiguration.class); } + + /** + * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service + * + * @return the WindowsDefenderAdvancedThreatProtectionConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsDefenderAdvancedThreatProtectionConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source + * + * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsDefenderAdvancedThreatProtectionConfiguration); + } + + /** + * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source + * + * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates + * @return the updated WindowsDefenderAdvancedThreatProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsDefenderAdvancedThreatProtectionConfiguration patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsDefenderAdvancedThreatProtectionConfiguration); + } + + /** + * Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsDefenderAdvancedThreatProtectionConfiguration); + } + + /** + * Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create + * @return the created WindowsDefenderAdvancedThreatProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsDefenderAdvancedThreatProtectionConfiguration post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindowsDefenderAdvancedThreatProtectionConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsDefenderAdvancedThreatProtectionConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsDefenderAdvancedThreatProtectionConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java index 5f9f190d709..6d79179677c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsDefenderAdvancedThreatProtectionConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsDefenderAdvancedThreatProtectionConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Defender Advanced Threat Protection Configuration Request Builder. */ -public class WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder extends BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder implements IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder { +public class WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder extends BaseRequestBuilder implements IWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder { /** * The request builder for the WindowsDefenderAdvancedThreatProtectionConfiguration @@ -25,4 +28,26 @@ public class WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder public WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance + */ + public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance + */ + public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new WindowsDefenderAdvancedThreatProtectionConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionPage.java index bfeec523f80..fde59904485 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Learning Summary Collection Page. */ -public class WindowsInformationProtectionAppLearningSummaryCollectionPage extends BaseWindowsInformationProtectionAppLearningSummaryCollectionPage implements IWindowsInformationProtectionAppLearningSummaryCollectionPage { +public class WindowsInformationProtectionAppLearningSummaryCollectionPage extends BaseCollectionPage implements IWindowsInformationProtectionAppLearningSummaryCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for WindowsInformationProtectionAppLearningSummary * - * @param response the serialized BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WindowsInformationProtectionAppLearningSummaryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WindowsInformationProtectionAppLearningSummaryCollectionPage(final BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse response, final IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder builder) { - super(response, builder); + public WindowsInformationProtectionAppLearningSummaryCollectionPage(final WindowsInformationProtectionAppLearningSummaryCollectionResponse response, final IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequest.java index ff6111aa0b9..bfe4ca7ce10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Learning Summary Collection Request. */ -public class WindowsInformationProtectionAppLearningSummaryCollectionRequest extends BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest implements IWindowsInformationProtectionAppLearningSummaryCollectionRequest { +public class WindowsInformationProtectionAppLearningSummaryCollectionRequest extends BaseCollectionRequest implements IWindowsInformationProtectionAppLearningSummaryCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of WindowsInformationProtectionAppLearningSummary * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WindowsInformationProtectionAppLearningSummaryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WindowsInformationProtectionAppLearningSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WindowsInformationProtectionAppLearningSummaryCollectionResponse.class, IWindowsInformationProtectionAppLearningSummaryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWindowsInformationProtectionAppLearningSummaryCollectionPage get() throws ClientException { + final WindowsInformationProtectionAppLearningSummaryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WindowsInformationProtectionAppLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionAppLearningSummary, callback); + } + + public WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WindowsInformationProtectionAppLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionAppLearningSummary); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLearningSummaryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WindowsInformationProtectionAppLearningSummaryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLearningSummaryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WindowsInformationProtectionAppLearningSummaryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWindowsInformationProtectionAppLearningSummaryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WindowsInformationProtectionAppLearningSummaryCollectionRequest)this; + } + + public IWindowsInformationProtectionAppLearningSummaryCollectionPage buildFromResponse(final WindowsInformationProtectionAppLearningSummaryCollectionResponse response) { + final IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WindowsInformationProtectionAppLearningSummaryCollectionPage page = new WindowsInformationProtectionAppLearningSummaryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java index 70a55138ebe..a2264134b98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Learning Summary Collection Request Builder. */ -public class WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder extends BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder implements IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder { +public class WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class WindowsInformationProtectionAppLearningSummaryCollectionRequestBuil public WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionAppLearningSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWindowsInformationProtectionAppLearningSummaryRequestBuilder byId(final String id) { + return new WindowsInformationProtectionAppLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionResponse.java new file mode 100644 index 00000000000..fe5e3e53bd5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Windows Information Protection App Learning Summary Collection Response. + */ +public class WindowsInformationProtectionAppLearningSummaryCollectionResponse implements IJsonBackedObject { + + /** + * The list of WindowsInformationProtectionAppLearningSummary within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequest.java index d87a68268c7..dd2aad5ee91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryRequest; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Learning Summary Request. */ -public class WindowsInformationProtectionAppLearningSummaryRequest extends BaseWindowsInformationProtectionAppLearningSummaryRequest implements IWindowsInformationProtectionAppLearningSummaryRequest { - +public class WindowsInformationProtectionAppLearningSummaryRequest extends BaseRequest implements IWindowsInformationProtectionAppLearningSummaryRequest { + /** * The request for the WindowsInformationProtectionAppLearningSummary * @@ -26,4 +32,107 @@ public class WindowsInformationProtectionAppLearningSummaryRequest extends BaseW public WindowsInformationProtectionAppLearningSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsInformationProtectionAppLearningSummary.class); } + + /** + * Gets the WindowsInformationProtectionAppLearningSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsInformationProtectionAppLearningSummary from the service + * + * @return the WindowsInformationProtectionAppLearningSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLearningSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsInformationProtectionAppLearningSummary with a source + * + * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionAppLearningSummary); + } + + /** + * Patches this WindowsInformationProtectionAppLearningSummary with a source + * + * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates + * @return the updated WindowsInformationProtectionAppLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLearningSummary patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsInformationProtectionAppLearningSummary); + } + + /** + * Creates a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsInformationProtectionAppLearningSummary); + } + + /** + * Creates a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the new object to create + * @return the created WindowsInformationProtectionAppLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException { + return send(HttpMethod.POST, newWindowsInformationProtectionAppLearningSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLearningSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsInformationProtectionAppLearningSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLearningSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsInformationProtectionAppLearningSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequestBuilder.java index 36c165b9d82..37a432de53b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Learning Summary Request Builder. */ -public class WindowsInformationProtectionAppLearningSummaryRequestBuilder extends BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder implements IWindowsInformationProtectionAppLearningSummaryRequestBuilder { +public class WindowsInformationProtectionAppLearningSummaryRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionAppLearningSummaryRequestBuilder { /** * The request builder for the WindowsInformationProtectionAppLearningSummary @@ -25,4 +28,26 @@ public class WindowsInformationProtectionAppLearningSummaryRequestBuilder extend public WindowsInformationProtectionAppLearningSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance + */ + public IWindowsInformationProtectionAppLearningSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance + */ + public IWindowsInformationProtectionAppLearningSummaryRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionAppLearningSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionPage.java index 67405feae9f..5f1a0689118 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Locker File Collection Page. */ -public class WindowsInformationProtectionAppLockerFileCollectionPage extends BaseWindowsInformationProtectionAppLockerFileCollectionPage implements IWindowsInformationProtectionAppLockerFileCollectionPage { +public class WindowsInformationProtectionAppLockerFileCollectionPage extends BaseCollectionPage implements IWindowsInformationProtectionAppLockerFileCollectionPage { /** - * A collection page for WindowsInformationProtection. + * A collection page for WindowsInformationProtectionAppLockerFile * - * @param response the serialized BaseWindowsInformationProtectionAppLockerFileCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WindowsInformationProtectionAppLockerFileCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WindowsInformationProtectionAppLockerFileCollectionPage(final BaseWindowsInformationProtectionAppLockerFileCollectionResponse response, final IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder builder) { - super(response, builder); + public WindowsInformationProtectionAppLockerFileCollectionPage(final WindowsInformationProtectionAppLockerFileCollectionResponse response, final IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequest.java index 77b8f1890b4..0ea33fcbec7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Locker File Collection Request. */ -public class WindowsInformationProtectionAppLockerFileCollectionRequest extends BaseWindowsInformationProtectionAppLockerFileCollectionRequest implements IWindowsInformationProtectionAppLockerFileCollectionRequest { +public class WindowsInformationProtectionAppLockerFileCollectionRequest extends BaseCollectionRequest implements IWindowsInformationProtectionAppLockerFileCollectionRequest { /** - * The request for this collection of WindowsInformationProtection + * The request builder for this collection of WindowsInformationProtectionAppLockerFile * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WindowsInformationProtectionAppLockerFileCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WindowsInformationProtectionAppLockerFileCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WindowsInformationProtectionAppLockerFileCollectionResponse.class, IWindowsInformationProtectionAppLockerFileCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWindowsInformationProtectionAppLockerFileCollectionPage get() throws ClientException { + final WindowsInformationProtectionAppLockerFileCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WindowsInformationProtectionAppLockerFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionAppLockerFile, callback); + } + + public WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WindowsInformationProtectionAppLockerFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionAppLockerFile); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLockerFileCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WindowsInformationProtectionAppLockerFileCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLockerFileCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WindowsInformationProtectionAppLockerFileCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWindowsInformationProtectionAppLockerFileCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WindowsInformationProtectionAppLockerFileCollectionRequest)this; + } + + public IWindowsInformationProtectionAppLockerFileCollectionPage buildFromResponse(final WindowsInformationProtectionAppLockerFileCollectionResponse response) { + final IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WindowsInformationProtectionAppLockerFileCollectionPage page = new WindowsInformationProtectionAppLockerFileCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java index b33a16faa4e..d852ace2e19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Locker File Collection Request Builder. */ -public class WindowsInformationProtectionAppLockerFileCollectionRequestBuilder extends BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder implements IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder { +public class WindowsInformationProtectionAppLockerFileCollectionRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder { /** * The request builder for this collection of WindowsInformationProtection @@ -25,4 +33,18 @@ public class WindowsInformationProtectionAppLockerFileCollectionRequestBuilder e public WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionAppLockerFileCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWindowsInformationProtectionAppLockerFileRequestBuilder byId(final String id) { + return new WindowsInformationProtectionAppLockerFileRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionResponse.java new file mode 100644 index 00000000000..081ce24547d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Windows Information Protection App Locker File Collection Response. + */ +public class WindowsInformationProtectionAppLockerFileCollectionResponse implements IJsonBackedObject { + + /** + * The list of WindowsInformationProtectionAppLockerFile within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequest.java index 2b76644bc56..4a03676debe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequest; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Locker File Request. */ -public class WindowsInformationProtectionAppLockerFileRequest extends BaseWindowsInformationProtectionAppLockerFileRequest implements IWindowsInformationProtectionAppLockerFileRequest { - +public class WindowsInformationProtectionAppLockerFileRequest extends BaseRequest implements IWindowsInformationProtectionAppLockerFileRequest { + /** * The request for the WindowsInformationProtectionAppLockerFile * @@ -26,4 +32,107 @@ public class WindowsInformationProtectionAppLockerFileRequest extends BaseWindow public WindowsInformationProtectionAppLockerFileRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsInformationProtectionAppLockerFile.class); } + + /** + * Gets the WindowsInformationProtectionAppLockerFile from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsInformationProtectionAppLockerFile from the service + * + * @return the WindowsInformationProtectionAppLockerFile from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLockerFile get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsInformationProtectionAppLockerFile with a source + * + * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionAppLockerFile); + } + + /** + * Patches this WindowsInformationProtectionAppLockerFile with a source + * + * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates + * @return the updated WindowsInformationProtectionAppLockerFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLockerFile patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsInformationProtectionAppLockerFile); + } + + /** + * Creates a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsInformationProtectionAppLockerFile); + } + + /** + * Creates a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the new object to create + * @return the created WindowsInformationProtectionAppLockerFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException { + return send(HttpMethod.POST, newWindowsInformationProtectionAppLockerFile); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLockerFileRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsInformationProtectionAppLockerFileRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionAppLockerFileRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsInformationProtectionAppLockerFileRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequestBuilder.java index b2684137e9c..6a7897d5428 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAppLockerFileRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection App Locker File Request Builder. */ -public class WindowsInformationProtectionAppLockerFileRequestBuilder extends BaseWindowsInformationProtectionAppLockerFileRequestBuilder implements IWindowsInformationProtectionAppLockerFileRequestBuilder { +public class WindowsInformationProtectionAppLockerFileRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionAppLockerFileRequestBuilder { /** * The request builder for the WindowsInformationProtectionAppLockerFile @@ -25,4 +28,26 @@ public class WindowsInformationProtectionAppLockerFileRequestBuilder extends Bas public WindowsInformationProtectionAppLockerFileRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsInformationProtectionAppLockerFileRequest instance + */ + public IWindowsInformationProtectionAppLockerFileRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionAppLockerFileRequest instance + */ + public IWindowsInformationProtectionAppLockerFileRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionAppLockerFileRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequest.java index ac5d0e964ba..7fe01b5d0dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionAssignBody; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAssignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAssignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Assign Request. */ -public class WindowsInformationProtectionAssignRequest extends BaseWindowsInformationProtectionAssignRequest implements IWindowsInformationProtectionAssignRequest { +public class WindowsInformationProtectionAssignRequest extends BaseRequest implements IWindowsInformationProtectionAssignRequest { + protected final WindowsInformationProtectionAssignBody body; /** * The request for this WindowsInformationProtectionAssign @@ -23,6 +31,49 @@ public class WindowsInformationProtectionAssignRequest extends BaseWindowsInform * @param requestOptions the options for this request */ public WindowsInformationProtectionAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WindowsInformationProtectionAssignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionAssignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsInformationProtectionAssignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWindowsInformationProtectionAssignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WindowsInformationProtectionAssignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionAssignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsInformationProtectionAssignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequestBuilder.java index 3842764302a..291030cdaa0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAssignRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAssignRequest; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionAssignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Assign Request Builder. */ -public class WindowsInformationProtectionAssignRequestBuilder extends BaseWindowsInformationProtectionAssignRequestBuilder implements IWindowsInformationProtectionAssignRequestBuilder { +public class WindowsInformationProtectionAssignRequestBuilder extends BaseActionRequestBuilder implements IWindowsInformationProtectionAssignRequestBuilder { /** * The request builder for this WindowsInformationProtectionAssign @@ -25,6 +30,36 @@ public class WindowsInformationProtectionAssignRequestBuilder extends BaseWindow * @param assignments the assignments */ public WindowsInformationProtectionAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions, assignments); + super(requestUrl, client, requestOptions); + bodyParams.put("assignments", assignments); + } + + /** + * Creates the IWindowsInformationProtectionAssignRequest + * + * @return the IWindowsInformationProtectionAssignRequest instance + */ + public IWindowsInformationProtectionAssignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWindowsInformationProtectionAssignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWindowsInformationProtectionAssignRequest instance + */ + public IWindowsInformationProtectionAssignRequest buildRequest(final java.util.List requestOptions) { + WindowsInformationProtectionAssignRequest request = new WindowsInformationProtectionAssignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("assignments")) { + request.body.assignments = getParameter("assignments"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionPage.java index 66bb9783fa9..f42afd4c276 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Network Learning Summary Collection Page. */ -public class WindowsInformationProtectionNetworkLearningSummaryCollectionPage extends BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage implements IWindowsInformationProtectionNetworkLearningSummaryCollectionPage { +public class WindowsInformationProtectionNetworkLearningSummaryCollectionPage extends BaseCollectionPage implements IWindowsInformationProtectionNetworkLearningSummaryCollectionPage { /** - * A collection page for DeviceManagement. + * A collection page for WindowsInformationProtectionNetworkLearningSummary * - * @param response the serialized BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WindowsInformationProtectionNetworkLearningSummaryCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WindowsInformationProtectionNetworkLearningSummaryCollectionPage(final BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse response, final IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder builder) { - super(response, builder); + public WindowsInformationProtectionNetworkLearningSummaryCollectionPage(final WindowsInformationProtectionNetworkLearningSummaryCollectionResponse response, final IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java index 6f72587f973..fbd0cebf940 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Network Learning Summary Collection Request. */ -public class WindowsInformationProtectionNetworkLearningSummaryCollectionRequest extends BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest implements IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest { +public class WindowsInformationProtectionNetworkLearningSummaryCollectionRequest extends BaseCollectionRequest implements IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest { /** - * The request for this collection of DeviceManagement + * The request builder for this collection of WindowsInformationProtectionNetworkLearningSummary * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WindowsInformationProtectionNetworkLearningSummaryCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WindowsInformationProtectionNetworkLearningSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.class, IWindowsInformationProtectionNetworkLearningSummaryCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWindowsInformationProtectionNetworkLearningSummaryCollectionPage get() throws ClientException { + final WindowsInformationProtectionNetworkLearningSummaryCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionNetworkLearningSummary, callback); + } + + public WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionNetworkLearningSummary); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WindowsInformationProtectionNetworkLearningSummaryCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WindowsInformationProtectionNetworkLearningSummaryCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WindowsInformationProtectionNetworkLearningSummaryCollectionRequest)this; + } + + public IWindowsInformationProtectionNetworkLearningSummaryCollectionPage buildFromResponse(final WindowsInformationProtectionNetworkLearningSummaryCollectionResponse response) { + final IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WindowsInformationProtectionNetworkLearningSummaryCollectionPage page = new WindowsInformationProtectionNetworkLearningSummaryCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java index ed9b8dc32c7..6dace63aade 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Network Learning Summary Collection Request Builder. */ -public class WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder extends BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder implements IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder { +public class WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder { /** * The request builder for this collection of DeviceManagement @@ -25,4 +33,18 @@ public class WindowsInformationProtectionNetworkLearningSummaryCollectionRequest public WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionNetworkLearningSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder byId(final String id) { + return new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java new file mode 100644 index 00000000000..0bb9fcdfa91 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Windows Information Protection Network Learning Summary Collection Response. + */ +public class WindowsInformationProtectionNetworkLearningSummaryCollectionResponse implements IJsonBackedObject { + + /** + * The list of WindowsInformationProtectionNetworkLearningSummary within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequest.java index c5f7364e251..f489f7ee6c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryRequest; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Network Learning Summary Request. */ -public class WindowsInformationProtectionNetworkLearningSummaryRequest extends BaseWindowsInformationProtectionNetworkLearningSummaryRequest implements IWindowsInformationProtectionNetworkLearningSummaryRequest { - +public class WindowsInformationProtectionNetworkLearningSummaryRequest extends BaseRequest implements IWindowsInformationProtectionNetworkLearningSummaryRequest { + /** * The request for the WindowsInformationProtectionNetworkLearningSummary * @@ -26,4 +32,107 @@ public class WindowsInformationProtectionNetworkLearningSummaryRequest extends B public WindowsInformationProtectionNetworkLearningSummaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsInformationProtectionNetworkLearningSummary.class); } + + /** + * Gets the WindowsInformationProtectionNetworkLearningSummary from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsInformationProtectionNetworkLearningSummary from the service + * + * @return the WindowsInformationProtectionNetworkLearningSummary from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionNetworkLearningSummary get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsInformationProtectionNetworkLearningSummary with a source + * + * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionNetworkLearningSummary); + } + + /** + * Patches this WindowsInformationProtectionNetworkLearningSummary with a source + * + * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates + * @return the updated WindowsInformationProtectionNetworkLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionNetworkLearningSummary patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsInformationProtectionNetworkLearningSummary); + } + + /** + * Creates a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsInformationProtectionNetworkLearningSummary); + } + + /** + * Creates a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create + * @return the created WindowsInformationProtectionNetworkLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException { + return send(HttpMethod.POST, newWindowsInformationProtectionNetworkLearningSummary); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionNetworkLearningSummaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsInformationProtectionNetworkLearningSummaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionNetworkLearningSummaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsInformationProtectionNetworkLearningSummaryRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java index 04998e5c25a..dda4957ed36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Network Learning Summary Request Builder. */ -public class WindowsInformationProtectionNetworkLearningSummaryRequestBuilder extends BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder implements IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder { +public class WindowsInformationProtectionNetworkLearningSummaryRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder { /** * The request builder for the WindowsInformationProtectionNetworkLearningSummary @@ -25,4 +28,26 @@ public class WindowsInformationProtectionNetworkLearningSummaryRequestBuilder ex public WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance + */ + public IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance + */ + public IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionNetworkLearningSummaryRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionPage.java index c90e6d6251f..ded688ea4dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyCollectionPage; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Policy Collection Page. */ -public class WindowsInformationProtectionPolicyCollectionPage extends BaseWindowsInformationProtectionPolicyCollectionPage implements IWindowsInformationProtectionPolicyCollectionPage { +public class WindowsInformationProtectionPolicyCollectionPage extends BaseCollectionPage implements IWindowsInformationProtectionPolicyCollectionPage { /** - * A collection page for DeviceAppManagement. + * A collection page for WindowsInformationProtectionPolicy * - * @param response the serialized BaseWindowsInformationProtectionPolicyCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WindowsInformationProtectionPolicyCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WindowsInformationProtectionPolicyCollectionPage(final BaseWindowsInformationProtectionPolicyCollectionResponse response, final IWindowsInformationProtectionPolicyCollectionRequestBuilder builder) { - super(response, builder); + public WindowsInformationProtectionPolicyCollectionPage(final WindowsInformationProtectionPolicyCollectionResponse response, final IWindowsInformationProtectionPolicyCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequest.java index 424a2c8c26a..b49efefb90d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Policy Collection Request. */ -public class WindowsInformationProtectionPolicyCollectionRequest extends BaseWindowsInformationProtectionPolicyCollectionRequest implements IWindowsInformationProtectionPolicyCollectionRequest { +public class WindowsInformationProtectionPolicyCollectionRequest extends BaseCollectionRequest implements IWindowsInformationProtectionPolicyCollectionRequest { /** - * The request for this collection of DeviceAppManagement + * The request builder for this collection of WindowsInformationProtectionPolicy * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WindowsInformationProtectionPolicyCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WindowsInformationProtectionPolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WindowsInformationProtectionPolicyCollectionResponse.class, IWindowsInformationProtectionPolicyCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWindowsInformationProtectionPolicyCollectionPage get() throws ClientException { + final WindowsInformationProtectionPolicyCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionPolicy, callback); + } + + public WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWindowsInformationProtectionPolicy); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionPolicyCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WindowsInformationProtectionPolicyCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionPolicyCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WindowsInformationProtectionPolicyCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWindowsInformationProtectionPolicyCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WindowsInformationProtectionPolicyCollectionRequest)this; + } + + public IWindowsInformationProtectionPolicyCollectionPage buildFromResponse(final WindowsInformationProtectionPolicyCollectionResponse response) { + final IWindowsInformationProtectionPolicyCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WindowsInformationProtectionPolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WindowsInformationProtectionPolicyCollectionPage page = new WindowsInformationProtectionPolicyCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequestBuilder.java index a8fab4bb39e..1fabaa9d09d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Policy Collection Request Builder. */ -public class WindowsInformationProtectionPolicyCollectionRequestBuilder extends BaseWindowsInformationProtectionPolicyCollectionRequestBuilder implements IWindowsInformationProtectionPolicyCollectionRequestBuilder { +public class WindowsInformationProtectionPolicyCollectionRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionPolicyCollectionRequestBuilder { /** * The request builder for this collection of DeviceAppManagement @@ -25,4 +33,18 @@ public class WindowsInformationProtectionPolicyCollectionRequestBuilder extends public WindowsInformationProtectionPolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWindowsInformationProtectionPolicyCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionPolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWindowsInformationProtectionPolicyRequestBuilder byId(final String id) { + return new WindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionResponse.java new file mode 100644 index 00000000000..ff855dc066a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Windows Information Protection Policy Collection Response. + */ +public class WindowsInformationProtectionPolicyCollectionResponse implements IJsonBackedObject { + + /** + * The list of WindowsInformationProtectionPolicy within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequest.java index 31ad812fa8a..4755ce80465 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Policy Request. */ -public class WindowsInformationProtectionPolicyRequest extends BaseWindowsInformationProtectionPolicyRequest implements IWindowsInformationProtectionPolicyRequest { - +public class WindowsInformationProtectionPolicyRequest extends BaseRequest implements IWindowsInformationProtectionPolicyRequest { + /** * The request for the WindowsInformationProtectionPolicy * @@ -26,4 +32,107 @@ public class WindowsInformationProtectionPolicyRequest extends BaseWindowsInform public WindowsInformationProtectionPolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsInformationProtectionPolicy.class); } + + /** + * Gets the WindowsInformationProtectionPolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsInformationProtectionPolicy from the service + * + * @return the WindowsInformationProtectionPolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionPolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsInformationProtectionPolicy with a source + * + * @param sourceWindowsInformationProtectionPolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionPolicy); + } + + /** + * Patches this WindowsInformationProtectionPolicy with a source + * + * @param sourceWindowsInformationProtectionPolicy the source object with updates + * @return the updated WindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionPolicy patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsInformationProtectionPolicy); + } + + /** + * Creates a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsInformationProtectionPolicy); + } + + /** + * Creates a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the new object to create + * @return the created WindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException { + return send(HttpMethod.POST, newWindowsInformationProtectionPolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionPolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsInformationProtectionPolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionPolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsInformationProtectionPolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequestBuilder.java index a3c40d87fbc..c48ad339cb3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionPolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Policy Request Builder. */ -public class WindowsInformationProtectionPolicyRequestBuilder extends BaseWindowsInformationProtectionPolicyRequestBuilder implements IWindowsInformationProtectionPolicyRequestBuilder { +public class WindowsInformationProtectionPolicyRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionPolicyRequestBuilder { /** * The request builder for the WindowsInformationProtectionPolicy @@ -25,4 +28,26 @@ public class WindowsInformationProtectionPolicyRequestBuilder extends BaseWindow public WindowsInformationProtectionPolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsInformationProtectionPolicyRequest instance + */ + public IWindowsInformationProtectionPolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionPolicyRequest instance + */ + public IWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionPolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequest.java index 6648519f469..5f459a338bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionRequest; +import com.microsoft.graph.models.extensions.WindowsInformationProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsInformationProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Request. */ -public class WindowsInformationProtectionRequest extends BaseWindowsInformationProtectionRequest implements IWindowsInformationProtectionRequest { - +public class WindowsInformationProtectionRequest extends BaseRequest implements IWindowsInformationProtectionRequest { + /** * The request for the WindowsInformationProtection * @@ -41,4 +47,107 @@ public WindowsInformationProtectionRequest(final String requestUrl, public WindowsInformationProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsInformationProtection.class); } + + /** + * Gets the WindowsInformationProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsInformationProtection from the service + * + * @return the WindowsInformationProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsInformationProtection with a source + * + * @param sourceWindowsInformationProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsInformationProtection sourceWindowsInformationProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsInformationProtection); + } + + /** + * Patches this WindowsInformationProtection with a source + * + * @param sourceWindowsInformationProtection the source object with updates + * @return the updated WindowsInformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtection patch(final WindowsInformationProtection sourceWindowsInformationProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsInformationProtection); + } + + /** + * Creates a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsInformationProtection newWindowsInformationProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsInformationProtection); + } + + /** + * Creates a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the new object to create + * @return the created WindowsInformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtection post(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException { + return send(HttpMethod.POST, newWindowsInformationProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsInformationProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsInformationProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsInformationProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsInformationProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequestBuilder.java index cb30d680b2a..1c4b03a2890 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequestBuilder.java @@ -3,17 +3,35 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionRequest; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionRequest; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequestBuilder; +import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; +import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequestBuilder; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAssignRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsInformationProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Information Protection Request Builder. */ -public class WindowsInformationProtectionRequestBuilder extends BaseWindowsInformationProtectionRequestBuilder implements IWindowsInformationProtectionRequestBuilder { +public class WindowsInformationProtectionRequestBuilder extends BaseRequestBuilder implements IWindowsInformationProtectionRequestBuilder { /** * The request builder for the WindowsInformationProtection @@ -25,4 +43,51 @@ public class WindowsInformationProtectionRequestBuilder extends BaseWindowsInfor public WindowsInformationProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsInformationProtectionRequest instance + */ + public IWindowsInformationProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsInformationProtectionRequest instance + */ + public IWindowsInformationProtectionRequest buildRequest(final java.util.List requestOptions) { + return new WindowsInformationProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder protectedAppLockerFiles() { + return new WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("protectedAppLockerFiles"), getClient(), null); + } + + public IWindowsInformationProtectionAppLockerFileRequestBuilder protectedAppLockerFiles(final String id) { + return new WindowsInformationProtectionAppLockerFileRequestBuilder(getRequestUrlWithAdditionalSegment("protectedAppLockerFiles") + "/" + id, getClient(), null); + } + public IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder exemptAppLockerFiles() { + return new WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("exemptAppLockerFiles"), getClient(), null); + } + + public IWindowsInformationProtectionAppLockerFileRequestBuilder exemptAppLockerFiles(final String id) { + return new WindowsInformationProtectionAppLockerFileRequestBuilder(getRequestUrlWithAdditionalSegment("exemptAppLockerFiles") + "/" + id, getClient(), null); + } + public ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments() { + return new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); + } + + public ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id) { + return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); + } + + public IWindowsInformationProtectionAssignRequestBuilder assign(final java.util.List assignments) { + return new WindowsInformationProtectionAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequest.java index c15aba81e8b..85b2a604bfa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsMobileMSIRequest; +import com.microsoft.graph.requests.extensions.WindowsMobileMSIRequest; +import com.microsoft.graph.models.extensions.WindowsMobileMSI; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsMobileMSI; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsMobileMSIRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Mobile MSIRequest. */ -public class WindowsMobileMSIRequest extends BaseWindowsMobileMSIRequest implements IWindowsMobileMSIRequest { - +public class WindowsMobileMSIRequest extends BaseRequest implements IWindowsMobileMSIRequest { + /** * The request for the WindowsMobileMSI * @@ -26,4 +32,107 @@ public class WindowsMobileMSIRequest extends BaseWindowsMobileMSIRequest impleme public WindowsMobileMSIRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsMobileMSI.class); } + + /** + * Gets the WindowsMobileMSI from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsMobileMSI from the service + * + * @return the WindowsMobileMSI from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsMobileMSI get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsMobileMSI with a source + * + * @param sourceWindowsMobileMSI the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsMobileMSI sourceWindowsMobileMSI, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsMobileMSI); + } + + /** + * Patches this WindowsMobileMSI with a source + * + * @param sourceWindowsMobileMSI the source object with updates + * @return the updated WindowsMobileMSI + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsMobileMSI patch(final WindowsMobileMSI sourceWindowsMobileMSI) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsMobileMSI); + } + + /** + * Creates a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsMobileMSI newWindowsMobileMSI, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsMobileMSI); + } + + /** + * Creates a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the new object to create + * @return the created WindowsMobileMSI + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsMobileMSI post(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException { + return send(HttpMethod.POST, newWindowsMobileMSI); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsMobileMSIRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsMobileMSIRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsMobileMSIRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsMobileMSIRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequestBuilder.java index cd3fb3570af..ade7be35951 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsMobileMSIRequest; +import com.microsoft.graph.requests.extensions.WindowsMobileMSIRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsMobileMSIRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Mobile MSIRequest Builder. */ -public class WindowsMobileMSIRequestBuilder extends BaseWindowsMobileMSIRequestBuilder implements IWindowsMobileMSIRequestBuilder { +public class WindowsMobileMSIRequestBuilder extends BaseRequestBuilder implements IWindowsMobileMSIRequestBuilder { /** * The request builder for the WindowsMobileMSI @@ -25,4 +28,26 @@ public class WindowsMobileMSIRequestBuilder extends BaseWindowsMobileMSIRequestB public WindowsMobileMSIRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsMobileMSIRequest instance + */ + public IWindowsMobileMSIRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsMobileMSIRequest instance + */ + public IWindowsMobileMSIRequest buildRequest(final java.util.List requestOptions) { + return new WindowsMobileMSIRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequest.java index 327d3bad874..6b89dfdc30e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81CompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.WindowsPhone81CompliancePolicyRequest; +import com.microsoft.graph.models.extensions.WindowsPhone81CompliancePolicy; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsPhone81CompliancePolicy; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsPhone81CompliancePolicyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81Compliance Policy Request. */ -public class WindowsPhone81CompliancePolicyRequest extends BaseWindowsPhone81CompliancePolicyRequest implements IWindowsPhone81CompliancePolicyRequest { - +public class WindowsPhone81CompliancePolicyRequest extends BaseRequest implements IWindowsPhone81CompliancePolicyRequest { + /** * The request for the WindowsPhone81CompliancePolicy * @@ -26,4 +32,107 @@ public class WindowsPhone81CompliancePolicyRequest extends BaseWindowsPhone81Com public WindowsPhone81CompliancePolicyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsPhone81CompliancePolicy.class); } + + /** + * Gets the WindowsPhone81CompliancePolicy from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsPhone81CompliancePolicy from the service + * + * @return the WindowsPhone81CompliancePolicy from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CompliancePolicy get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsPhone81CompliancePolicy with a source + * + * @param sourceWindowsPhone81CompliancePolicy the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsPhone81CompliancePolicy); + } + + /** + * Patches this WindowsPhone81CompliancePolicy with a source + * + * @param sourceWindowsPhone81CompliancePolicy the source object with updates + * @return the updated WindowsPhone81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CompliancePolicy patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsPhone81CompliancePolicy); + } + + /** + * Creates a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsPhone81CompliancePolicy); + } + + /** + * Creates a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the new object to create + * @return the created WindowsPhone81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CompliancePolicy post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException { + return send(HttpMethod.POST, newWindowsPhone81CompliancePolicy); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsPhone81CompliancePolicyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsPhone81CompliancePolicyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsPhone81CompliancePolicyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsPhone81CompliancePolicyRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequestBuilder.java index 4fc018199d9..9162cdc31dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81CompliancePolicyRequest; +import com.microsoft.graph.requests.extensions.WindowsPhone81CompliancePolicyRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsPhone81CompliancePolicyRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81Compliance Policy Request Builder. */ -public class WindowsPhone81CompliancePolicyRequestBuilder extends BaseWindowsPhone81CompliancePolicyRequestBuilder implements IWindowsPhone81CompliancePolicyRequestBuilder { +public class WindowsPhone81CompliancePolicyRequestBuilder extends BaseRequestBuilder implements IWindowsPhone81CompliancePolicyRequestBuilder { /** * The request builder for the WindowsPhone81CompliancePolicy @@ -25,4 +28,26 @@ public class WindowsPhone81CompliancePolicyRequestBuilder extends BaseWindowsPho public WindowsPhone81CompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsPhone81CompliancePolicyRequest instance + */ + public IWindowsPhone81CompliancePolicyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsPhone81CompliancePolicyRequest instance + */ + public IWindowsPhone81CompliancePolicyRequest buildRequest(final java.util.List requestOptions) { + return new WindowsPhone81CompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequest.java index 4db1ffdc0ed..45bb8897c0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81CustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsPhone81CustomConfigurationRequest; +import com.microsoft.graph.models.extensions.WindowsPhone81CustomConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsPhone81CustomConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsPhone81CustomConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81Custom Configuration Request. */ -public class WindowsPhone81CustomConfigurationRequest extends BaseWindowsPhone81CustomConfigurationRequest implements IWindowsPhone81CustomConfigurationRequest { - +public class WindowsPhone81CustomConfigurationRequest extends BaseRequest implements IWindowsPhone81CustomConfigurationRequest { + /** * The request for the WindowsPhone81CustomConfiguration * @@ -26,4 +32,107 @@ public class WindowsPhone81CustomConfigurationRequest extends BaseWindowsPhone81 public WindowsPhone81CustomConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsPhone81CustomConfiguration.class); } + + /** + * Gets the WindowsPhone81CustomConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsPhone81CustomConfiguration from the service + * + * @return the WindowsPhone81CustomConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CustomConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsPhone81CustomConfiguration with a source + * + * @param sourceWindowsPhone81CustomConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsPhone81CustomConfiguration); + } + + /** + * Patches this WindowsPhone81CustomConfiguration with a source + * + * @param sourceWindowsPhone81CustomConfiguration the source object with updates + * @return the updated WindowsPhone81CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CustomConfiguration patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsPhone81CustomConfiguration); + } + + /** + * Creates a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsPhone81CustomConfiguration); + } + + /** + * Creates a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the new object to create + * @return the created WindowsPhone81CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CustomConfiguration post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindowsPhone81CustomConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsPhone81CustomConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsPhone81CustomConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsPhone81CustomConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsPhone81CustomConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequestBuilder.java index 4dc3e951e32..357583c9f19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81CustomConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsPhone81CustomConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsPhone81CustomConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81Custom Configuration Request Builder. */ -public class WindowsPhone81CustomConfigurationRequestBuilder extends BaseWindowsPhone81CustomConfigurationRequestBuilder implements IWindowsPhone81CustomConfigurationRequestBuilder { +public class WindowsPhone81CustomConfigurationRequestBuilder extends BaseRequestBuilder implements IWindowsPhone81CustomConfigurationRequestBuilder { /** * The request builder for the WindowsPhone81CustomConfiguration @@ -25,4 +28,26 @@ public class WindowsPhone81CustomConfigurationRequestBuilder extends BaseWindows public WindowsPhone81CustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsPhone81CustomConfigurationRequest instance + */ + public IWindowsPhone81CustomConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsPhone81CustomConfigurationRequest instance + */ + public IWindowsPhone81CustomConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new WindowsPhone81CustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequest.java index a556fa8c291..0fa37c8058f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81GeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsPhone81GeneralConfigurationRequest; +import com.microsoft.graph.models.extensions.WindowsPhone81GeneralConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsPhone81GeneralConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsPhone81GeneralConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81General Configuration Request. */ -public class WindowsPhone81GeneralConfigurationRequest extends BaseWindowsPhone81GeneralConfigurationRequest implements IWindowsPhone81GeneralConfigurationRequest { - +public class WindowsPhone81GeneralConfigurationRequest extends BaseRequest implements IWindowsPhone81GeneralConfigurationRequest { + /** * The request for the WindowsPhone81GeneralConfiguration * @@ -26,4 +32,107 @@ public class WindowsPhone81GeneralConfigurationRequest extends BaseWindowsPhone8 public WindowsPhone81GeneralConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsPhone81GeneralConfiguration.class); } + + /** + * Gets the WindowsPhone81GeneralConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsPhone81GeneralConfiguration from the service + * + * @return the WindowsPhone81GeneralConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81GeneralConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsPhone81GeneralConfiguration with a source + * + * @param sourceWindowsPhone81GeneralConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsPhone81GeneralConfiguration); + } + + /** + * Patches this WindowsPhone81GeneralConfiguration with a source + * + * @param sourceWindowsPhone81GeneralConfiguration the source object with updates + * @return the updated WindowsPhone81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81GeneralConfiguration patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsPhone81GeneralConfiguration); + } + + /** + * Creates a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsPhone81GeneralConfiguration); + } + + /** + * Creates a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the new object to create + * @return the created WindowsPhone81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81GeneralConfiguration post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindowsPhone81GeneralConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsPhone81GeneralConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsPhone81GeneralConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsPhone81GeneralConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsPhone81GeneralConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequestBuilder.java index 1efe06a3fea..dea24458de9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsPhone81GeneralConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsPhone81GeneralConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsPhone81GeneralConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Phone81General Configuration Request Builder. */ -public class WindowsPhone81GeneralConfigurationRequestBuilder extends BaseWindowsPhone81GeneralConfigurationRequestBuilder implements IWindowsPhone81GeneralConfigurationRequestBuilder { +public class WindowsPhone81GeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IWindowsPhone81GeneralConfigurationRequestBuilder { /** * The request builder for the WindowsPhone81GeneralConfiguration @@ -25,4 +28,26 @@ public class WindowsPhone81GeneralConfigurationRequestBuilder extends BaseWindow public WindowsPhone81GeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsPhone81GeneralConfigurationRequest instance + */ + public IWindowsPhone81GeneralConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsPhone81GeneralConfigurationRequest instance + */ + public IWindowsPhone81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new WindowsPhone81GeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequest.java index 8c76f2050c0..083c7a8dab8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsUniversalAppXRequest; +import com.microsoft.graph.requests.extensions.WindowsUniversalAppXRequest; +import com.microsoft.graph.models.extensions.WindowsUniversalAppX; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsUniversalAppX; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsUniversalAppXRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Universal App XRequest. */ -public class WindowsUniversalAppXRequest extends BaseWindowsUniversalAppXRequest implements IWindowsUniversalAppXRequest { - +public class WindowsUniversalAppXRequest extends BaseRequest implements IWindowsUniversalAppXRequest { + /** * The request for the WindowsUniversalAppX * @@ -26,4 +32,107 @@ public class WindowsUniversalAppXRequest extends BaseWindowsUniversalAppXRequest public WindowsUniversalAppXRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsUniversalAppX.class); } + + /** + * Gets the WindowsUniversalAppX from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsUniversalAppX from the service + * + * @return the WindowsUniversalAppX from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUniversalAppX get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsUniversalAppX with a source + * + * @param sourceWindowsUniversalAppX the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsUniversalAppX sourceWindowsUniversalAppX, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsUniversalAppX); + } + + /** + * Patches this WindowsUniversalAppX with a source + * + * @param sourceWindowsUniversalAppX the source object with updates + * @return the updated WindowsUniversalAppX + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUniversalAppX patch(final WindowsUniversalAppX sourceWindowsUniversalAppX) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsUniversalAppX); + } + + /** + * Creates a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsUniversalAppX newWindowsUniversalAppX, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsUniversalAppX); + } + + /** + * Creates a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the new object to create + * @return the created WindowsUniversalAppX + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUniversalAppX post(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException { + return send(HttpMethod.POST, newWindowsUniversalAppX); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsUniversalAppXRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsUniversalAppXRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsUniversalAppXRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsUniversalAppXRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequestBuilder.java index 954f8578c92..9928752b9a4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsUniversalAppXRequest; +import com.microsoft.graph.requests.extensions.WindowsUniversalAppXRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsUniversalAppXRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Universal App XRequest Builder. */ -public class WindowsUniversalAppXRequestBuilder extends BaseWindowsUniversalAppXRequestBuilder implements IWindowsUniversalAppXRequestBuilder { +public class WindowsUniversalAppXRequestBuilder extends BaseRequestBuilder implements IWindowsUniversalAppXRequestBuilder { /** * The request builder for the WindowsUniversalAppX @@ -25,4 +28,26 @@ public class WindowsUniversalAppXRequestBuilder extends BaseWindowsUniversalAppX public WindowsUniversalAppXRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsUniversalAppXRequest instance + */ + public IWindowsUniversalAppXRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsUniversalAppXRequest instance + */ + public IWindowsUniversalAppXRequest buildRequest(final java.util.List requestOptions) { + return new WindowsUniversalAppXRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequest.java index 0bb31062176..9f33d43eb4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsUpdateForBusinessConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsUpdateForBusinessConfigurationRequest; +import com.microsoft.graph.models.extensions.WindowsUpdateForBusinessConfiguration; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WindowsUpdateForBusinessConfiguration; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsUpdateForBusinessConfigurationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Update For Business Configuration Request. */ -public class WindowsUpdateForBusinessConfigurationRequest extends BaseWindowsUpdateForBusinessConfigurationRequest implements IWindowsUpdateForBusinessConfigurationRequest { - +public class WindowsUpdateForBusinessConfigurationRequest extends BaseRequest implements IWindowsUpdateForBusinessConfigurationRequest { + /** * The request for the WindowsUpdateForBusinessConfiguration * @@ -26,4 +32,107 @@ public class WindowsUpdateForBusinessConfigurationRequest extends BaseWindowsUpd public WindowsUpdateForBusinessConfigurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WindowsUpdateForBusinessConfiguration.class); } + + /** + * Gets the WindowsUpdateForBusinessConfiguration from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WindowsUpdateForBusinessConfiguration from the service + * + * @return the WindowsUpdateForBusinessConfiguration from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUpdateForBusinessConfiguration get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WindowsUpdateForBusinessConfiguration with a source + * + * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWindowsUpdateForBusinessConfiguration); + } + + /** + * Patches this WindowsUpdateForBusinessConfiguration with a source + * + * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates + * @return the updated WindowsUpdateForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUpdateForBusinessConfiguration patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration) throws ClientException { + return send(HttpMethod.PATCH, sourceWindowsUpdateForBusinessConfiguration); + } + + /** + * Creates a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration, final ICallback callback) { + send(HttpMethod.POST, callback, newWindowsUpdateForBusinessConfiguration); + } + + /** + * Creates a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the new object to create + * @return the created WindowsUpdateForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUpdateForBusinessConfiguration post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException { + return send(HttpMethod.POST, newWindowsUpdateForBusinessConfiguration); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWindowsUpdateForBusinessConfigurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WindowsUpdateForBusinessConfigurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWindowsUpdateForBusinessConfigurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WindowsUpdateForBusinessConfigurationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequestBuilder.java index 734684383b4..0050a61b1c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWindowsUpdateForBusinessConfigurationRequest; +import com.microsoft.graph.requests.extensions.WindowsUpdateForBusinessConfigurationRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWindowsUpdateForBusinessConfigurationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Windows Update For Business Configuration Request Builder. */ -public class WindowsUpdateForBusinessConfigurationRequestBuilder extends BaseWindowsUpdateForBusinessConfigurationRequestBuilder implements IWindowsUpdateForBusinessConfigurationRequestBuilder { +public class WindowsUpdateForBusinessConfigurationRequestBuilder extends BaseRequestBuilder implements IWindowsUpdateForBusinessConfigurationRequestBuilder { /** * The request builder for the WindowsUpdateForBusinessConfiguration @@ -25,4 +28,26 @@ public class WindowsUpdateForBusinessConfigurationRequestBuilder extends BaseWin public WindowsUpdateForBusinessConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWindowsUpdateForBusinessConfigurationRequest instance + */ + public IWindowsUpdateForBusinessConfigurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWindowsUpdateForBusinessConfigurationRequest instance + */ + public IWindowsUpdateForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions) { + return new WindowsUpdateForBusinessConfigurationRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequest.java index 3420a4986cf..f651ea31707 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookApplicationCalculateBody; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; +import com.microsoft.graph.requests.extensions.WorkbookApplicationCalculateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookApplicationCalculateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Application Calculate Request. */ -public class WorkbookApplicationCalculateRequest extends BaseWorkbookApplicationCalculateRequest implements IWorkbookApplicationCalculateRequest { +public class WorkbookApplicationCalculateRequest extends BaseRequest implements IWorkbookApplicationCalculateRequest { + protected final WorkbookApplicationCalculateBody body; /** * The request for this WorkbookApplicationCalculate @@ -23,6 +31,49 @@ public class WorkbookApplicationCalculateRequest extends BaseWorkbookApplication * @param requestOptions the options for this request */ public WorkbookApplicationCalculateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookApplicationCalculateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookApplicationCalculateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookApplicationCalculateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookApplicationCalculateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookApplicationCalculateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookApplicationCalculateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookApplicationCalculateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequestBuilder.java index d872b29daeb..9f3ef29d52e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationCalculateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; +import com.microsoft.graph.requests.extensions.WorkbookApplicationCalculateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookApplicationCalculateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Application Calculate Request Builder. */ -public class WorkbookApplicationCalculateRequestBuilder extends BaseWorkbookApplicationCalculateRequestBuilder implements IWorkbookApplicationCalculateRequestBuilder { +public class WorkbookApplicationCalculateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookApplicationCalculateRequestBuilder { /** * The request builder for this WorkbookApplicationCalculate @@ -24,6 +29,36 @@ public class WorkbookApplicationCalculateRequestBuilder extends BaseWorkbookAppl * @param calculationType the calculationType */ public WorkbookApplicationCalculateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String calculationType) { - super(requestUrl, client, requestOptions, calculationType); + super(requestUrl, client, requestOptions); + bodyParams.put("calculationType", calculationType); + } + + /** + * Creates the IWorkbookApplicationCalculateRequest + * + * @return the IWorkbookApplicationCalculateRequest instance + */ + public IWorkbookApplicationCalculateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookApplicationCalculateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookApplicationCalculateRequest instance + */ + public IWorkbookApplicationCalculateRequest buildRequest(final java.util.List requestOptions) { + WorkbookApplicationCalculateRequest request = new WorkbookApplicationCalculateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("calculationType")) { + request.body.calculationType = getParameter("calculationType"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequest.java index c0f7ba4c33a..c34e5250e69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequest; +import com.microsoft.graph.requests.extensions.WorkbookApplicationRequest; +import com.microsoft.graph.models.extensions.WorkbookApplication; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookApplication; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookApplicationRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Application Request. */ -public class WorkbookApplicationRequest extends BaseWorkbookApplicationRequest implements IWorkbookApplicationRequest { - +public class WorkbookApplicationRequest extends BaseRequest implements IWorkbookApplicationRequest { + /** * The request for the WorkbookApplication * @@ -26,4 +32,107 @@ public class WorkbookApplicationRequest extends BaseWorkbookApplicationRequest i public WorkbookApplicationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookApplication.class); } + + /** + * Gets the WorkbookApplication from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookApplication from the service + * + * @return the WorkbookApplication from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookApplication get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookApplication with a source + * + * @param sourceWorkbookApplication the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookApplication sourceWorkbookApplication, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookApplication); + } + + /** + * Patches this WorkbookApplication with a source + * + * @param sourceWorkbookApplication the source object with updates + * @return the updated WorkbookApplication + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookApplication patch(final WorkbookApplication sourceWorkbookApplication) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookApplication); + } + + /** + * Creates a WorkbookApplication with a new object + * + * @param newWorkbookApplication the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookApplication newWorkbookApplication, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookApplication); + } + + /** + * Creates a WorkbookApplication with a new object + * + * @param newWorkbookApplication the new object to create + * @return the created WorkbookApplication + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookApplication post(final WorkbookApplication newWorkbookApplication) throws ClientException { + return send(HttpMethod.POST, newWorkbookApplication); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookApplicationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookApplicationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookApplicationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookApplicationRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequestBuilder.java index af31175b4a4..12921ff3248 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequest; +import com.microsoft.graph.requests.extensions.WorkbookApplicationRequest; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookApplicationCalculateRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookApplicationRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Application Request Builder. */ -public class WorkbookApplicationRequestBuilder extends BaseWorkbookApplicationRequestBuilder implements IWorkbookApplicationRequestBuilder { +public class WorkbookApplicationRequestBuilder extends BaseRequestBuilder implements IWorkbookApplicationRequestBuilder { /** * The request builder for the WorkbookApplication @@ -25,4 +30,30 @@ public class WorkbookApplicationRequestBuilder extends BaseWorkbookApplicationRe public WorkbookApplicationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookApplicationRequest instance + */ + public IWorkbookApplicationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookApplicationRequest instance + */ + public IWorkbookApplicationRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookApplicationRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookApplicationCalculateRequestBuilder calculate(final String calculationType) { + return new WorkbookApplicationCalculateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.calculate"), getClient(), null, calculationType); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequest.java index 9ed6becb265..ef3c0ad3f3e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartAddBody; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Add Request. */ -public class WorkbookChartAddRequest extends BaseWorkbookChartAddRequest implements IWorkbookChartAddRequest { +public class WorkbookChartAddRequest extends BaseRequest implements IWorkbookChartAddRequest { + protected final WorkbookChartAddBody body; /** * The request for this WorkbookChartAdd @@ -23,6 +32,49 @@ public class WorkbookChartAddRequest extends BaseWorkbookChartAddRequest impleme * @param requestOptions the options for this request */ public WorkbookChartAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookChart.class); + body = new WorkbookChartAddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookChart post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartAddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookChartAddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequestBuilder.java index 31aa09cf90d..d64c276d658 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Add Request Builder. */ -public class WorkbookChartAddRequestBuilder extends BaseWorkbookChartAddRequestBuilder implements IWorkbookChartAddRequestBuilder { +public class WorkbookChartAddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookChartAddRequestBuilder { /** * The request builder for this WorkbookChartAdd @@ -26,6 +31,46 @@ public class WorkbookChartAddRequestBuilder extends BaseWorkbookChartAddRequestB * @param seriesBy the seriesBy */ public WorkbookChartAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String type, final com.google.gson.JsonElement sourceData, final String seriesBy) { - super(requestUrl, client, requestOptions, type, sourceData, seriesBy); + super(requestUrl, client, requestOptions); + bodyParams.put("type", type); + bodyParams.put("sourceData", sourceData); + bodyParams.put("seriesBy", seriesBy); + } + + /** + * Creates the IWorkbookChartAddRequest + * + * @return the IWorkbookChartAddRequest instance + */ + public IWorkbookChartAddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartAddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartAddRequest instance + */ + public IWorkbookChartAddRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartAddRequest request = new WorkbookChartAddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + if (hasParameter("sourceData")) { + request.body.sourceData = getParameter("sourceData"); + } + + if (hasParameter("seriesBy")) { + request.body.seriesBy = getParameter("seriesBy"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequest.java index aa4b1673c70..a5c2e2d1c9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAreaFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAreaFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Area Format Request. */ -public class WorkbookChartAreaFormatRequest extends BaseWorkbookChartAreaFormatRequest implements IWorkbookChartAreaFormatRequest { - +public class WorkbookChartAreaFormatRequest extends BaseRequest implements IWorkbookChartAreaFormatRequest { + /** * The request for the WorkbookChartAreaFormat * @@ -26,4 +32,107 @@ public class WorkbookChartAreaFormatRequest extends BaseWorkbookChartAreaFormatR public WorkbookChartAreaFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartAreaFormat.class); } + + /** + * Gets the WorkbookChartAreaFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartAreaFormat from the service + * + * @return the WorkbookChartAreaFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAreaFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartAreaFormat with a source + * + * @param sourceWorkbookChartAreaFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartAreaFormat); + } + + /** + * Patches this WorkbookChartAreaFormat with a source + * + * @param sourceWorkbookChartAreaFormat the source object with updates + * @return the updated WorkbookChartAreaFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAreaFormat patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartAreaFormat); + } + + /** + * Creates a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartAreaFormat); + } + + /** + * Creates a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the new object to create + * @return the created WorkbookChartAreaFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAreaFormat post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartAreaFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAreaFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAreaFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAreaFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAreaFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequestBuilder.java index ce26704295a..70f88ab567c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAreaFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAreaFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Area Format Request Builder. */ -public class WorkbookChartAreaFormatRequestBuilder extends BaseWorkbookChartAreaFormatRequestBuilder implements IWorkbookChartAreaFormatRequestBuilder { +public class WorkbookChartAreaFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartAreaFormatRequestBuilder { /** * The request builder for the WorkbookChartAreaFormat @@ -25,4 +32,44 @@ public class WorkbookChartAreaFormatRequestBuilder extends BaseWorkbookChartArea public WorkbookChartAreaFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartAreaFormatRequest instance + */ + public IWorkbookChartAreaFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAreaFormatRequest instance + */ + public IWorkbookChartAreaFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartAreaFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + public IWorkbookChartFillRequestBuilder fill() { + return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + public IWorkbookChartFontRequestBuilder font() { + return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequest.java index bfe0dfba459..458021b49fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxesRequest; +import com.microsoft.graph.models.extensions.WorkbookChartAxes; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartAxes; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axes Request. */ -public class WorkbookChartAxesRequest extends BaseWorkbookChartAxesRequest implements IWorkbookChartAxesRequest { - +public class WorkbookChartAxesRequest extends BaseRequest implements IWorkbookChartAxesRequest { + /** * The request for the WorkbookChartAxes * @@ -26,4 +32,107 @@ public class WorkbookChartAxesRequest extends BaseWorkbookChartAxesRequest imple public WorkbookChartAxesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartAxes.class); } + + /** + * Gets the WorkbookChartAxes from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartAxes from the service + * + * @return the WorkbookChartAxes from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxes get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartAxes with a source + * + * @param sourceWorkbookChartAxes the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartAxes sourceWorkbookChartAxes, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartAxes); + } + + /** + * Patches this WorkbookChartAxes with a source + * + * @param sourceWorkbookChartAxes the source object with updates + * @return the updated WorkbookChartAxes + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxes patch(final WorkbookChartAxes sourceWorkbookChartAxes) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartAxes); + } + + /** + * Creates a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartAxes newWorkbookChartAxes, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartAxes); + } + + /** + * Creates a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the new object to create + * @return the created WorkbookChartAxes + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxes post(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartAxes); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAxesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAxesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAxesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAxesRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequestBuilder.java index f5b15fde84f..be7b4011f4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxesRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxesRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axes Request Builder. */ -public class WorkbookChartAxesRequestBuilder extends BaseWorkbookChartAxesRequestBuilder implements IWorkbookChartAxesRequestBuilder { +public class WorkbookChartAxesRequestBuilder extends BaseRequestBuilder implements IWorkbookChartAxesRequestBuilder { /** * The request builder for the WorkbookChartAxes @@ -25,4 +34,53 @@ public class WorkbookChartAxesRequestBuilder extends BaseWorkbookChartAxesReques public WorkbookChartAxesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartAxesRequest instance + */ + public IWorkbookChartAxesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxesRequest instance + */ + public IWorkbookChartAxesRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartAxesRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartAxis + * + * @return the IWorkbookChartAxisRequestBuilder instance + */ + public IWorkbookChartAxisRequestBuilder categoryAxis() { + return new WorkbookChartAxisRequestBuilder(getRequestUrlWithAdditionalSegment("categoryAxis"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartAxis + * + * @return the IWorkbookChartAxisRequestBuilder instance + */ + public IWorkbookChartAxisRequestBuilder seriesAxis() { + return new WorkbookChartAxisRequestBuilder(getRequestUrlWithAdditionalSegment("seriesAxis"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartAxis + * + * @return the IWorkbookChartAxisRequestBuilder instance + */ + public IWorkbookChartAxisRequestBuilder valueAxis() { + return new WorkbookChartAxisRequestBuilder(getRequestUrlWithAdditionalSegment("valueAxis"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequest.java index c1848b62f87..fe0db7d03a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Format Request. */ -public class WorkbookChartAxisFormatRequest extends BaseWorkbookChartAxisFormatRequest implements IWorkbookChartAxisFormatRequest { - +public class WorkbookChartAxisFormatRequest extends BaseRequest implements IWorkbookChartAxisFormatRequest { + /** * The request for the WorkbookChartAxisFormat * @@ -26,4 +32,107 @@ public class WorkbookChartAxisFormatRequest extends BaseWorkbookChartAxisFormatR public WorkbookChartAxisFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartAxisFormat.class); } + + /** + * Gets the WorkbookChartAxisFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartAxisFormat from the service + * + * @return the WorkbookChartAxisFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartAxisFormat with a source + * + * @param sourceWorkbookChartAxisFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartAxisFormat); + } + + /** + * Patches this WorkbookChartAxisFormat with a source + * + * @param sourceWorkbookChartAxisFormat the source object with updates + * @return the updated WorkbookChartAxisFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisFormat patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartAxisFormat); + } + + /** + * Creates a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartAxisFormat); + } + + /** + * Creates a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the new object to create + * @return the created WorkbookChartAxisFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisFormat post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartAxisFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAxisFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAxisFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAxisFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAxisFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequestBuilder.java index 2f58c71cca9..1e0b6d75b5e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Format Request Builder. */ -public class WorkbookChartAxisFormatRequestBuilder extends BaseWorkbookChartAxisFormatRequestBuilder implements IWorkbookChartAxisFormatRequestBuilder { +public class WorkbookChartAxisFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartAxisFormatRequestBuilder { /** * The request builder for the WorkbookChartAxisFormat @@ -25,4 +32,44 @@ public class WorkbookChartAxisFormatRequestBuilder extends BaseWorkbookChartAxis public WorkbookChartAxisFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartAxisFormatRequest instance + */ + public IWorkbookChartAxisFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisFormatRequest instance + */ + public IWorkbookChartAxisFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartAxisFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + public IWorkbookChartFontRequestBuilder font() { + return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartLineFormat + * + * @return the IWorkbookChartLineFormatRequestBuilder instance + */ + public IWorkbookChartLineFormatRequestBuilder line() { + return new WorkbookChartLineFormatRequestBuilder(getRequestUrlWithAdditionalSegment("line"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequest.java index bb438e6a455..5ee4adb6fc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequest; +import com.microsoft.graph.models.extensions.WorkbookChartAxis; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartAxis; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Request. */ -public class WorkbookChartAxisRequest extends BaseWorkbookChartAxisRequest implements IWorkbookChartAxisRequest { - +public class WorkbookChartAxisRequest extends BaseRequest implements IWorkbookChartAxisRequest { + /** * The request for the WorkbookChartAxis * @@ -26,4 +32,107 @@ public class WorkbookChartAxisRequest extends BaseWorkbookChartAxisRequest imple public WorkbookChartAxisRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartAxis.class); } + + /** + * Gets the WorkbookChartAxis from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartAxis from the service + * + * @return the WorkbookChartAxis from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxis get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartAxis with a source + * + * @param sourceWorkbookChartAxis the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartAxis sourceWorkbookChartAxis, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartAxis); + } + + /** + * Patches this WorkbookChartAxis with a source + * + * @param sourceWorkbookChartAxis the source object with updates + * @return the updated WorkbookChartAxis + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxis patch(final WorkbookChartAxis sourceWorkbookChartAxis) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartAxis); + } + + /** + * Creates a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartAxis newWorkbookChartAxis, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartAxis); + } + + /** + * Creates a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the new object to create + * @return the created WorkbookChartAxis + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxis post(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartAxis); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAxisRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAxisRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAxisRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAxisRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequestBuilder.java index 12f01236e28..ed3f4c78961 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequestBuilder.java @@ -3,17 +3,28 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Request Builder. */ -public class WorkbookChartAxisRequestBuilder extends BaseWorkbookChartAxisRequestBuilder implements IWorkbookChartAxisRequestBuilder { +public class WorkbookChartAxisRequestBuilder extends BaseRequestBuilder implements IWorkbookChartAxisRequestBuilder { /** * The request builder for the WorkbookChartAxis @@ -25,4 +36,62 @@ public class WorkbookChartAxisRequestBuilder extends BaseWorkbookChartAxisReques public WorkbookChartAxisRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartAxisRequest instance + */ + public IWorkbookChartAxisRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisRequest instance + */ + public IWorkbookChartAxisRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartAxisRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartAxisFormat + * + * @return the IWorkbookChartAxisFormatRequestBuilder instance + */ + public IWorkbookChartAxisFormatRequestBuilder format() { + return new WorkbookChartAxisFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartGridlines + * + * @return the IWorkbookChartGridlinesRequestBuilder instance + */ + public IWorkbookChartGridlinesRequestBuilder majorGridlines() { + return new WorkbookChartGridlinesRequestBuilder(getRequestUrlWithAdditionalSegment("majorGridlines"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartGridlines + * + * @return the IWorkbookChartGridlinesRequestBuilder instance + */ + public IWorkbookChartGridlinesRequestBuilder minorGridlines() { + return new WorkbookChartGridlinesRequestBuilder(getRequestUrlWithAdditionalSegment("minorGridlines"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartAxisTitle + * + * @return the IWorkbookChartAxisTitleRequestBuilder instance + */ + public IWorkbookChartAxisTitleRequestBuilder title() { + return new WorkbookChartAxisTitleRequestBuilder(getRequestUrlWithAdditionalSegment("title"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequest.java index c3e494908cb..aed1d966624 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Title Format Request. */ -public class WorkbookChartAxisTitleFormatRequest extends BaseWorkbookChartAxisTitleFormatRequest implements IWorkbookChartAxisTitleFormatRequest { - +public class WorkbookChartAxisTitleFormatRequest extends BaseRequest implements IWorkbookChartAxisTitleFormatRequest { + /** * The request for the WorkbookChartAxisTitleFormat * @@ -26,4 +32,107 @@ public class WorkbookChartAxisTitleFormatRequest extends BaseWorkbookChartAxisTi public WorkbookChartAxisTitleFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartAxisTitleFormat.class); } + + /** + * Gets the WorkbookChartAxisTitleFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartAxisTitleFormat from the service + * + * @return the WorkbookChartAxisTitleFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitleFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartAxisTitleFormat with a source + * + * @param sourceWorkbookChartAxisTitleFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartAxisTitleFormat); + } + + /** + * Patches this WorkbookChartAxisTitleFormat with a source + * + * @param sourceWorkbookChartAxisTitleFormat the source object with updates + * @return the updated WorkbookChartAxisTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitleFormat patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartAxisTitleFormat); + } + + /** + * Creates a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartAxisTitleFormat); + } + + /** + * Creates a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the new object to create + * @return the created WorkbookChartAxisTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitleFormat post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartAxisTitleFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAxisTitleFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAxisTitleFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAxisTitleFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAxisTitleFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequestBuilder.java index 36dc8e262c5..c3504d604d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisTitleFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Title Format Request Builder. */ -public class WorkbookChartAxisTitleFormatRequestBuilder extends BaseWorkbookChartAxisTitleFormatRequestBuilder implements IWorkbookChartAxisTitleFormatRequestBuilder { +public class WorkbookChartAxisTitleFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartAxisTitleFormatRequestBuilder { /** * The request builder for the WorkbookChartAxisTitleFormat @@ -25,4 +30,35 @@ public class WorkbookChartAxisTitleFormatRequestBuilder extends BaseWorkbookChar public WorkbookChartAxisTitleFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartAxisTitleFormatRequest instance + */ + public IWorkbookChartAxisTitleFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisTitleFormatRequest instance + */ + public IWorkbookChartAxisTitleFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartAxisTitleFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + public IWorkbookChartFontRequestBuilder font() { + return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequest.java index ddb0c5140bd..aef1bc19b3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleRequest; +import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisTitleRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Title Request. */ -public class WorkbookChartAxisTitleRequest extends BaseWorkbookChartAxisTitleRequest implements IWorkbookChartAxisTitleRequest { - +public class WorkbookChartAxisTitleRequest extends BaseRequest implements IWorkbookChartAxisTitleRequest { + /** * The request for the WorkbookChartAxisTitle * @@ -26,4 +32,107 @@ public class WorkbookChartAxisTitleRequest extends BaseWorkbookChartAxisTitleReq public WorkbookChartAxisTitleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartAxisTitle.class); } + + /** + * Gets the WorkbookChartAxisTitle from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartAxisTitle from the service + * + * @return the WorkbookChartAxisTitle from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitle get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartAxisTitle with a source + * + * @param sourceWorkbookChartAxisTitle the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartAxisTitle); + } + + /** + * Patches this WorkbookChartAxisTitle with a source + * + * @param sourceWorkbookChartAxisTitle the source object with updates + * @return the updated WorkbookChartAxisTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitle patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartAxisTitle); + } + + /** + * Creates a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartAxisTitle); + } + + /** + * Creates a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the new object to create + * @return the created WorkbookChartAxisTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitle post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartAxisTitle); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartAxisTitleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartAxisTitleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartAxisTitleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartAxisTitleRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequestBuilder.java index 0d08f5168ec..f38f009de21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartAxisTitleRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Axis Title Request Builder. */ -public class WorkbookChartAxisTitleRequestBuilder extends BaseWorkbookChartAxisTitleRequestBuilder implements IWorkbookChartAxisTitleRequestBuilder { +public class WorkbookChartAxisTitleRequestBuilder extends BaseRequestBuilder implements IWorkbookChartAxisTitleRequestBuilder { /** * The request builder for the WorkbookChartAxisTitle @@ -25,4 +30,35 @@ public class WorkbookChartAxisTitleRequestBuilder extends BaseWorkbookChartAxisT public WorkbookChartAxisTitleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartAxisTitleRequest instance + */ + public IWorkbookChartAxisTitleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartAxisTitleRequest instance + */ + public IWorkbookChartAxisTitleRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartAxisTitleRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartAxisTitleFormat + * + * @return the IWorkbookChartAxisTitleFormatRequestBuilder instance + */ + public IWorkbookChartAxisTitleFormatRequestBuilder format() { + return new WorkbookChartAxisTitleFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionPage.java index d17442d2dca..53c89742d32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Collection Page. */ -public class WorkbookChartCollectionPage extends BaseWorkbookChartCollectionPage implements IWorkbookChartCollectionPage { +public class WorkbookChartCollectionPage extends BaseCollectionPage implements IWorkbookChartCollectionPage { /** - * A collection page for WorkbookWorksheet. + * A collection page for WorkbookChart * - * @param response the serialized BaseWorkbookChartCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookChartCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookChartCollectionPage(final BaseWorkbookChartCollectionResponse response, final IWorkbookChartCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookChartCollectionPage(final WorkbookChartCollectionResponse response, final IWorkbookChartCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequest.java index af6886a416b..917b4c3ff70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Collection Request. */ -public class WorkbookChartCollectionRequest extends BaseWorkbookChartCollectionRequest implements IWorkbookChartCollectionRequest { +public class WorkbookChartCollectionRequest extends BaseCollectionRequest implements IWorkbookChartCollectionRequest { /** - * The request for this collection of WorkbookWorksheet + * The request builder for this collection of WorkbookChart * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookChartCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookChartCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookChartCollectionResponse.class, IWorkbookChartCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookChartCollectionPage get() throws ClientException { + final WorkbookChartCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookChart newWorkbookChart, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookChartRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookChart, callback); + } + + public WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookChartRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookChart); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookChartCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookChartCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookChartCollectionRequest)this; + } + + public IWorkbookChartCollectionPage buildFromResponse(final WorkbookChartCollectionResponse response) { + final IWorkbookChartCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookChartCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookChartCollectionPage page = new WorkbookChartCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequestBuilder.java index a885b72dbb5..8fe0fc2c58c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Collection Request Builder. */ -public class WorkbookChartCollectionRequestBuilder extends BaseWorkbookChartCollectionRequestBuilder implements IWorkbookChartCollectionRequestBuilder { +public class WorkbookChartCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookChartCollectionRequestBuilder { /** * The request builder for this collection of WorkbookWorksheet @@ -25,4 +33,34 @@ public class WorkbookChartCollectionRequestBuilder extends BaseWorkbookChartColl public WorkbookChartCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookChartCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookChartCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookChartRequestBuilder byId(final String id) { + return new WorkbookChartRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookChartAddRequestBuilder add(final String type, final com.google.gson.JsonElement sourceData, final String seriesBy) { + return new WorkbookChartAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, type, sourceData, seriesBy); + } + + public IWorkbookChartItemRequestBuilder item(final String name) { + return new WorkbookChartItemRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.item"), getClient(), null, name); + } + + public IWorkbookChartItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookChartItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookChartCountRequestBuilder count() { + return new WorkbookChartCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionResponse.java new file mode 100644 index 00000000000..9ceb02ca728 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Chart Collection Response. + */ +public class WorkbookChartCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookChart within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequest.java index e8b623a63c3..d342ee7a79d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Count Request. */ -public class WorkbookChartCountRequest extends BaseWorkbookChartCountRequest implements IWorkbookChartCountRequest { +public class WorkbookChartCountRequest extends BaseRequest implements IWorkbookChartCountRequest { /** * The request for this WorkbookChartCount @@ -23,6 +30,48 @@ public class WorkbookChartCountRequest extends BaseWorkbookChartCountRequest imp * @param requestOptions the options for this request */ public WorkbookChartCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequestBuilder.java index e7bf8bf77b5..016cffef1be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Count Request Builder. */ -public class WorkbookChartCountRequestBuilder extends BaseWorkbookChartCountRequestBuilder implements IWorkbookChartCountRequestBuilder { +public class WorkbookChartCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartCountRequestBuilder { /** * The request builder for this WorkbookChartCount @@ -25,4 +30,33 @@ public class WorkbookChartCountRequestBuilder extends BaseWorkbookChartCountRequ public WorkbookChartCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookChartCountRequest + * + * @return the IWorkbookChartCountRequest instance + */ + public IWorkbookChartCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartCountRequest instance + */ + public IWorkbookChartCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartCountRequest request = new WorkbookChartCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequest.java index 65b0883f00a..cce78f20838 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Data Label Format Request. */ -public class WorkbookChartDataLabelFormatRequest extends BaseWorkbookChartDataLabelFormatRequest implements IWorkbookChartDataLabelFormatRequest { - +public class WorkbookChartDataLabelFormatRequest extends BaseRequest implements IWorkbookChartDataLabelFormatRequest { + /** * The request for the WorkbookChartDataLabelFormat * @@ -26,4 +32,107 @@ public class WorkbookChartDataLabelFormatRequest extends BaseWorkbookChartDataLa public WorkbookChartDataLabelFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartDataLabelFormat.class); } + + /** + * Gets the WorkbookChartDataLabelFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartDataLabelFormat from the service + * + * @return the WorkbookChartDataLabelFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabelFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartDataLabelFormat with a source + * + * @param sourceWorkbookChartDataLabelFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartDataLabelFormat); + } + + /** + * Patches this WorkbookChartDataLabelFormat with a source + * + * @param sourceWorkbookChartDataLabelFormat the source object with updates + * @return the updated WorkbookChartDataLabelFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabelFormat patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartDataLabelFormat); + } + + /** + * Creates a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartDataLabelFormat); + } + + /** + * Creates a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the new object to create + * @return the created WorkbookChartDataLabelFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabelFormat post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartDataLabelFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartDataLabelFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartDataLabelFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartDataLabelFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartDataLabelFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequestBuilder.java index 54c2444ba5b..fdd3c6ea6ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartDataLabelFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Data Label Format Request Builder. */ -public class WorkbookChartDataLabelFormatRequestBuilder extends BaseWorkbookChartDataLabelFormatRequestBuilder implements IWorkbookChartDataLabelFormatRequestBuilder { +public class WorkbookChartDataLabelFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartDataLabelFormatRequestBuilder { /** * The request builder for the WorkbookChartDataLabelFormat @@ -25,4 +32,44 @@ public class WorkbookChartDataLabelFormatRequestBuilder extends BaseWorkbookChar public WorkbookChartDataLabelFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartDataLabelFormatRequest instance + */ + public IWorkbookChartDataLabelFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartDataLabelFormatRequest instance + */ + public IWorkbookChartDataLabelFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartDataLabelFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + public IWorkbookChartFillRequestBuilder fill() { + return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + public IWorkbookChartFontRequestBuilder font() { + return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequest.java index 7cc5b42f4c1..d309d82fa2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelsRequest; +import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartDataLabelsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Data Labels Request. */ -public class WorkbookChartDataLabelsRequest extends BaseWorkbookChartDataLabelsRequest implements IWorkbookChartDataLabelsRequest { - +public class WorkbookChartDataLabelsRequest extends BaseRequest implements IWorkbookChartDataLabelsRequest { + /** * The request for the WorkbookChartDataLabels * @@ -26,4 +32,107 @@ public class WorkbookChartDataLabelsRequest extends BaseWorkbookChartDataLabelsR public WorkbookChartDataLabelsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartDataLabels.class); } + + /** + * Gets the WorkbookChartDataLabels from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartDataLabels from the service + * + * @return the WorkbookChartDataLabels from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabels get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartDataLabels with a source + * + * @param sourceWorkbookChartDataLabels the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartDataLabels); + } + + /** + * Patches this WorkbookChartDataLabels with a source + * + * @param sourceWorkbookChartDataLabels the source object with updates + * @return the updated WorkbookChartDataLabels + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabels patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartDataLabels); + } + + /** + * Creates a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartDataLabels newWorkbookChartDataLabels, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartDataLabels); + } + + /** + * Creates a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the new object to create + * @return the created WorkbookChartDataLabels + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabels post(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartDataLabels); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartDataLabelsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartDataLabelsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartDataLabelsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartDataLabelsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequestBuilder.java index 780d2f51418..24bbf901690 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelsRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartDataLabelsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Data Labels Request Builder. */ -public class WorkbookChartDataLabelsRequestBuilder extends BaseWorkbookChartDataLabelsRequestBuilder implements IWorkbookChartDataLabelsRequestBuilder { +public class WorkbookChartDataLabelsRequestBuilder extends BaseRequestBuilder implements IWorkbookChartDataLabelsRequestBuilder { /** * The request builder for the WorkbookChartDataLabels @@ -25,4 +30,35 @@ public class WorkbookChartDataLabelsRequestBuilder extends BaseWorkbookChartData public WorkbookChartDataLabelsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartDataLabelsRequest instance + */ + public IWorkbookChartDataLabelsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartDataLabelsRequest instance + */ + public IWorkbookChartDataLabelsRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartDataLabelsRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartDataLabelFormat + * + * @return the IWorkbookChartDataLabelFormatRequestBuilder instance + */ + public IWorkbookChartDataLabelFormatRequestBuilder format() { + return new WorkbookChartDataLabelFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequest.java index d14b2828f89..14a3b5db3c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFillClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFillClearRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Clear Request. */ -public class WorkbookChartFillClearRequest extends BaseWorkbookChartFillClearRequest implements IWorkbookChartFillClearRequest { +public class WorkbookChartFillClearRequest extends BaseRequest implements IWorkbookChartFillClearRequest { /** * The request for this WorkbookChartFillClear @@ -23,6 +30,35 @@ public class WorkbookChartFillClearRequest extends BaseWorkbookChartFillClearReq * @param requestOptions the options for this request */ public WorkbookChartFillClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookChartFillClear + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookChartFillClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequestBuilder.java index 192eb4e6a5e..e6c321ea37f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillClearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFillClearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFillClearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Clear Request Builder. */ -public class WorkbookChartFillClearRequestBuilder extends BaseWorkbookChartFillClearRequestBuilder implements IWorkbookChartFillClearRequestBuilder { +public class WorkbookChartFillClearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookChartFillClearRequestBuilder { /** * The request builder for this WorkbookChartFillClear @@ -25,4 +30,29 @@ public class WorkbookChartFillClearRequestBuilder extends BaseWorkbookChartFillC public WorkbookChartFillClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookChartFillClearRequest + * + * @return the IWorkbookChartFillClearRequest instance + */ + public IWorkbookChartFillClearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartFillClearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartFillClearRequest instance + */ + public IWorkbookChartFillClearRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartFillClearRequest request = new WorkbookChartFillClearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequest.java index b61976257fc..c28e447c155 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequest; +import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartFill; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFillRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Request. */ -public class WorkbookChartFillRequest extends BaseWorkbookChartFillRequest implements IWorkbookChartFillRequest { - +public class WorkbookChartFillRequest extends BaseRequest implements IWorkbookChartFillRequest { + /** * The request for the WorkbookChartFill * @@ -26,4 +32,107 @@ public class WorkbookChartFillRequest extends BaseWorkbookChartFillRequest imple public WorkbookChartFillRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartFill.class); } + + /** + * Gets the WorkbookChartFill from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartFill from the service + * + * @return the WorkbookChartFill from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFill get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartFill with a source + * + * @param sourceWorkbookChartFill the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartFill sourceWorkbookChartFill, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartFill); + } + + /** + * Patches this WorkbookChartFill with a source + * + * @param sourceWorkbookChartFill the source object with updates + * @return the updated WorkbookChartFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFill patch(final WorkbookChartFill sourceWorkbookChartFill) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartFill); + } + + /** + * Creates a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartFill newWorkbookChartFill, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartFill); + } + + /** + * Creates a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the new object to create + * @return the created WorkbookChartFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFill post(final WorkbookChartFill newWorkbookChartFill) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartFill); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartFillRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartFillRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartFillRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartFillRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequestBuilder.java index cebdea7db1f..c05933f00ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillClearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillSetSolidColorRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFillRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Request Builder. */ -public class WorkbookChartFillRequestBuilder extends BaseWorkbookChartFillRequestBuilder implements IWorkbookChartFillRequestBuilder { +public class WorkbookChartFillRequestBuilder extends BaseRequestBuilder implements IWorkbookChartFillRequestBuilder { /** * The request builder for the WorkbookChartFill @@ -25,4 +32,34 @@ public class WorkbookChartFillRequestBuilder extends BaseWorkbookChartFillReques public WorkbookChartFillRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartFillRequest instance + */ + public IWorkbookChartFillRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartFillRequest instance + */ + public IWorkbookChartFillRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartFillRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookChartFillClearRequestBuilder clear() { + return new WorkbookChartFillClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); + } + + public IWorkbookChartFillSetSolidColorRequestBuilder setSolidColor(final String color) { + return new WorkbookChartFillSetSolidColorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setSolidColor"), getClient(), null, color); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequest.java index 9e06ccd5e64..b89ef924610 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartFillSetSolidColorBody; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFillSetSolidColorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFillSetSolidColorRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Set Solid Color Request. */ -public class WorkbookChartFillSetSolidColorRequest extends BaseWorkbookChartFillSetSolidColorRequest implements IWorkbookChartFillSetSolidColorRequest { +public class WorkbookChartFillSetSolidColorRequest extends BaseRequest implements IWorkbookChartFillSetSolidColorRequest { + protected final WorkbookChartFillSetSolidColorBody body; /** * The request for this WorkbookChartFillSetSolidColor @@ -23,6 +31,49 @@ public class WorkbookChartFillSetSolidColorRequest extends BaseWorkbookChartFill * @param requestOptions the options for this request */ public WorkbookChartFillSetSolidColorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookChartFillSetSolidColorBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartFillSetSolidColorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartFillSetSolidColorRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartFillSetSolidColorRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookChartFillSetSolidColorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartFillSetSolidColorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartFillSetSolidColorRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequestBuilder.java index 1a87a8f22d9..50dd0462a32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillSetSolidColorRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFillSetSolidColorRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFillSetSolidColorRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Fill Set Solid Color Request Builder. */ -public class WorkbookChartFillSetSolidColorRequestBuilder extends BaseWorkbookChartFillSetSolidColorRequestBuilder implements IWorkbookChartFillSetSolidColorRequestBuilder { +public class WorkbookChartFillSetSolidColorRequestBuilder extends BaseActionRequestBuilder implements IWorkbookChartFillSetSolidColorRequestBuilder { /** * The request builder for this WorkbookChartFillSetSolidColor @@ -24,6 +29,36 @@ public class WorkbookChartFillSetSolidColorRequestBuilder extends BaseWorkbookCh * @param color the color */ public WorkbookChartFillSetSolidColorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String color) { - super(requestUrl, client, requestOptions, color); + super(requestUrl, client, requestOptions); + bodyParams.put("color", color); + } + + /** + * Creates the IWorkbookChartFillSetSolidColorRequest + * + * @return the IWorkbookChartFillSetSolidColorRequest instance + */ + public IWorkbookChartFillSetSolidColorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartFillSetSolidColorRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartFillSetSolidColorRequest instance + */ + public IWorkbookChartFillSetSolidColorRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartFillSetSolidColorRequest request = new WorkbookChartFillSetSolidColorRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("color")) { + request.body.color = getParameter("color"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequest.java index 185410c0e26..a3e4f64f1cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequest; +import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartFont; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFontRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Font Request. */ -public class WorkbookChartFontRequest extends BaseWorkbookChartFontRequest implements IWorkbookChartFontRequest { - +public class WorkbookChartFontRequest extends BaseRequest implements IWorkbookChartFontRequest { + /** * The request for the WorkbookChartFont * @@ -26,4 +32,107 @@ public class WorkbookChartFontRequest extends BaseWorkbookChartFontRequest imple public WorkbookChartFontRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartFont.class); } + + /** + * Gets the WorkbookChartFont from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartFont from the service + * + * @return the WorkbookChartFont from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFont get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartFont with a source + * + * @param sourceWorkbookChartFont the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartFont sourceWorkbookChartFont, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartFont); + } + + /** + * Patches this WorkbookChartFont with a source + * + * @param sourceWorkbookChartFont the source object with updates + * @return the updated WorkbookChartFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFont patch(final WorkbookChartFont sourceWorkbookChartFont) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartFont); + } + + /** + * Creates a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartFont newWorkbookChartFont, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartFont); + } + + /** + * Creates a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the new object to create + * @return the created WorkbookChartFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFont post(final WorkbookChartFont newWorkbookChartFont) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartFont); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartFontRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartFontRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartFontRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartFontRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequestBuilder.java index 7e1be163902..cc9ef481413 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartFontRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Font Request Builder. */ -public class WorkbookChartFontRequestBuilder extends BaseWorkbookChartFontRequestBuilder implements IWorkbookChartFontRequestBuilder { +public class WorkbookChartFontRequestBuilder extends BaseRequestBuilder implements IWorkbookChartFontRequestBuilder { /** * The request builder for the WorkbookChartFont @@ -25,4 +28,26 @@ public class WorkbookChartFontRequestBuilder extends BaseWorkbookChartFontReques public WorkbookChartFontRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartFontRequest instance + */ + public IWorkbookChartFontRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartFontRequest instance + */ + public IWorkbookChartFontRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartFontRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequest.java index 7d6b0d32b2b..f46e87fe295 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Gridlines Format Request. */ -public class WorkbookChartGridlinesFormatRequest extends BaseWorkbookChartGridlinesFormatRequest implements IWorkbookChartGridlinesFormatRequest { - +public class WorkbookChartGridlinesFormatRequest extends BaseRequest implements IWorkbookChartGridlinesFormatRequest { + /** * The request for the WorkbookChartGridlinesFormat * @@ -26,4 +32,107 @@ public class WorkbookChartGridlinesFormatRequest extends BaseWorkbookChartGridli public WorkbookChartGridlinesFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartGridlinesFormat.class); } + + /** + * Gets the WorkbookChartGridlinesFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartGridlinesFormat from the service + * + * @return the WorkbookChartGridlinesFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlinesFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartGridlinesFormat with a source + * + * @param sourceWorkbookChartGridlinesFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartGridlinesFormat); + } + + /** + * Patches this WorkbookChartGridlinesFormat with a source + * + * @param sourceWorkbookChartGridlinesFormat the source object with updates + * @return the updated WorkbookChartGridlinesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlinesFormat patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartGridlinesFormat); + } + + /** + * Creates a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartGridlinesFormat); + } + + /** + * Creates a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the new object to create + * @return the created WorkbookChartGridlinesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlinesFormat post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartGridlinesFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartGridlinesFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartGridlinesFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartGridlinesFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartGridlinesFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequestBuilder.java index 87ea417bdc6..9a98e1e05e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartGridlinesFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Gridlines Format Request Builder. */ -public class WorkbookChartGridlinesFormatRequestBuilder extends BaseWorkbookChartGridlinesFormatRequestBuilder implements IWorkbookChartGridlinesFormatRequestBuilder { +public class WorkbookChartGridlinesFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartGridlinesFormatRequestBuilder { /** * The request builder for the WorkbookChartGridlinesFormat @@ -25,4 +30,35 @@ public class WorkbookChartGridlinesFormatRequestBuilder extends BaseWorkbookChar public WorkbookChartGridlinesFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartGridlinesFormatRequest instance + */ + public IWorkbookChartGridlinesFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartGridlinesFormatRequest instance + */ + public IWorkbookChartGridlinesFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartGridlinesFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartLineFormat + * + * @return the IWorkbookChartLineFormatRequestBuilder instance + */ + public IWorkbookChartLineFormatRequestBuilder line() { + return new WorkbookChartLineFormatRequestBuilder(getRequestUrlWithAdditionalSegment("line"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequest.java index ef8f8ae0521..e393ec36219 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequest; +import com.microsoft.graph.models.extensions.WorkbookChartGridlines; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartGridlines; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartGridlinesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Gridlines Request. */ -public class WorkbookChartGridlinesRequest extends BaseWorkbookChartGridlinesRequest implements IWorkbookChartGridlinesRequest { - +public class WorkbookChartGridlinesRequest extends BaseRequest implements IWorkbookChartGridlinesRequest { + /** * The request for the WorkbookChartGridlines * @@ -26,4 +32,107 @@ public class WorkbookChartGridlinesRequest extends BaseWorkbookChartGridlinesReq public WorkbookChartGridlinesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartGridlines.class); } + + /** + * Gets the WorkbookChartGridlines from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartGridlines from the service + * + * @return the WorkbookChartGridlines from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlines get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartGridlines with a source + * + * @param sourceWorkbookChartGridlines the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartGridlines sourceWorkbookChartGridlines, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartGridlines); + } + + /** + * Patches this WorkbookChartGridlines with a source + * + * @param sourceWorkbookChartGridlines the source object with updates + * @return the updated WorkbookChartGridlines + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlines patch(final WorkbookChartGridlines sourceWorkbookChartGridlines) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartGridlines); + } + + /** + * Creates a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartGridlines newWorkbookChartGridlines, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartGridlines); + } + + /** + * Creates a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the new object to create + * @return the created WorkbookChartGridlines + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlines post(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartGridlines); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartGridlinesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartGridlinesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartGridlinesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartGridlinesRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequestBuilder.java index 4956d51c70b..5fe5e69d284 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartGridlinesRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Gridlines Request Builder. */ -public class WorkbookChartGridlinesRequestBuilder extends BaseWorkbookChartGridlinesRequestBuilder implements IWorkbookChartGridlinesRequestBuilder { +public class WorkbookChartGridlinesRequestBuilder extends BaseRequestBuilder implements IWorkbookChartGridlinesRequestBuilder { /** * The request builder for the WorkbookChartGridlines @@ -25,4 +30,35 @@ public class WorkbookChartGridlinesRequestBuilder extends BaseWorkbookChartGridl public WorkbookChartGridlinesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartGridlinesRequest instance + */ + public IWorkbookChartGridlinesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartGridlinesRequest instance + */ + public IWorkbookChartGridlinesRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartGridlinesRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartGridlinesFormat + * + * @return the IWorkbookChartGridlinesFormatRequestBuilder instance + */ + public IWorkbookChartGridlinesFormatRequestBuilder format() { + return new WorkbookChartGridlinesFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequest.java index 669a320ca1c..a92582e6315 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartImageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartImageRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Image Request. */ -public class WorkbookChartImageRequest extends BaseWorkbookChartImageRequest implements IWorkbookChartImageRequest { +public class WorkbookChartImageRequest extends BaseRequest implements IWorkbookChartImageRequest { /** * The request for this WorkbookChartImage @@ -23,6 +30,48 @@ public class WorkbookChartImageRequest extends BaseWorkbookChartImageRequest imp * @param requestOptions the options for this request */ public WorkbookChartImageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, String.class); } + + /** + * Gets the String + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the String + * + * @return the String + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public String get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartImageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartImageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartImageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartImageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequestBuilder.java index f5b5e1869a1..5cf4183ad31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartImageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartImageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartImageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Image Request Builder. */ -public class WorkbookChartImageRequestBuilder extends BaseWorkbookChartImageRequestBuilder implements IWorkbookChartImageRequestBuilder { +public class WorkbookChartImageRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartImageRequestBuilder { /** * The request builder for this WorkbookChartImage @@ -25,7 +30,6 @@ public class WorkbookChartImageRequestBuilder extends BaseWorkbookChartImageRequ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookChartImage * @@ -35,9 +39,9 @@ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClie * @param width the width */ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer width) { - super(requestUrl, client, requestOptions, width); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("width", width)); } - /** * The request builder for this WorkbookChartImage * @@ -48,9 +52,10 @@ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClie * @param height the height */ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer width, final Integer height) { - super(requestUrl, client, requestOptions, width, height); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("width", width)); + functionOptions.add(new FunctionOption("height", height)); } - /** * The request builder for this WorkbookChartImage * @@ -62,6 +67,38 @@ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClie * @param fittingMode the fittingMode */ public WorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer width, final Integer height, final String fittingMode) { - super(requestUrl, client, requestOptions, width, height, fittingMode); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("width", width)); + functionOptions.add(new FunctionOption("height", height)); + functionOptions.add(new FunctionOption("fittingMode", fittingMode)); + } + + /** + * Creates the IWorkbookChartImageRequest + * + * @return the IWorkbookChartImageRequest instance + */ + public IWorkbookChartImageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartImageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartImageRequest instance + */ + public IWorkbookChartImageRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartImageRequest request = new WorkbookChartImageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequest.java index 481aa6f2998..894fc4ae700 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Item At Request. */ -public class WorkbookChartItemAtRequest extends BaseWorkbookChartItemAtRequest implements IWorkbookChartItemAtRequest { +public class WorkbookChartItemAtRequest extends BaseRequest implements IWorkbookChartItemAtRequest { /** * The request for this WorkbookChartItemAt @@ -23,6 +31,88 @@ public class WorkbookChartItemAtRequest extends BaseWorkbookChartItemAtRequest i * @param requestOptions the options for this request */ public WorkbookChartItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookChart.class); } + + /** + * Patches the WorkbookChartItemAt + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookChart srcWorkbookChart, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookChart); + } + + /** + * Patches the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookChart); + } + + /** + * Puts the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookChart srcWorkbookChart, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookChart); + } + + /** + * Puts the WorkbookChartItemAt + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookChart); + } + /** + * Gets the WorkbookChart + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChart + * + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChart get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequestBuilder.java index c792b26d9b4..6e6cf551518 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Item At Request Builder. */ -public class WorkbookChartItemAtRequestBuilder extends BaseWorkbookChartItemAtRequestBuilder implements IWorkbookChartItemAtRequestBuilder { +public class WorkbookChartItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartItemAtRequestBuilder { /** * The request builder for this WorkbookChartItemAt @@ -24,6 +29,36 @@ public class WorkbookChartItemAtRequestBuilder extends BaseWorkbookChartItemAtRe * @param index the index */ public WorkbookChartItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookChartItemAtRequest + * + * @return the IWorkbookChartItemAtRequest instance + */ + public IWorkbookChartItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartItemAtRequest instance + */ + public IWorkbookChartItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartItemAtRequest request = new WorkbookChartItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequest.java index 2a890f80ff0..46271db6787 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartItemRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Item Request. */ -public class WorkbookChartItemRequest extends BaseWorkbookChartItemRequest implements IWorkbookChartItemRequest { +public class WorkbookChartItemRequest extends BaseRequest implements IWorkbookChartItemRequest { /** * The request for this WorkbookChartItem @@ -23,6 +31,88 @@ public class WorkbookChartItemRequest extends BaseWorkbookChartItemRequest imple * @param requestOptions the options for this request */ public WorkbookChartItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookChart.class); } + + /** + * Patches the WorkbookChartItem + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookChart srcWorkbookChart, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookChart); + } + + /** + * Patches the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart with which to PATCH + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookChart); + } + + /** + * Puts the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookChart srcWorkbookChart, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookChart); + } + + /** + * Puts the WorkbookChartItem + * + * @param srcWorkbookChart the WorkbookChart to PUT + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookChart); + } + /** + * Gets the WorkbookChart + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChart + * + * @return the WorkbookChart + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChart get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartItemRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequestBuilder.java index 9fbb779288f..00e533a7b57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartItemRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartItemRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartItemRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Item Request Builder. */ -public class WorkbookChartItemRequestBuilder extends BaseWorkbookChartItemRequestBuilder implements IWorkbookChartItemRequestBuilder { +public class WorkbookChartItemRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartItemRequestBuilder { /** * The request builder for this WorkbookChartItem @@ -24,6 +29,36 @@ public class WorkbookChartItemRequestBuilder extends BaseWorkbookChartItemReques * @param name the name */ public WorkbookChartItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name) { - super(requestUrl, client, requestOptions, name); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("name", name)); + } + + /** + * Creates the IWorkbookChartItemRequest + * + * @return the IWorkbookChartItemRequest instance + */ + public IWorkbookChartItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartItemRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartItemRequest instance + */ + public IWorkbookChartItemRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartItemRequest request = new WorkbookChartItemRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequest.java index 714b8838e97..bfe50f95f04 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLegendFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLegendFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Legend Format Request. */ -public class WorkbookChartLegendFormatRequest extends BaseWorkbookChartLegendFormatRequest implements IWorkbookChartLegendFormatRequest { - +public class WorkbookChartLegendFormatRequest extends BaseRequest implements IWorkbookChartLegendFormatRequest { + /** * The request for the WorkbookChartLegendFormat * @@ -26,4 +32,107 @@ public class WorkbookChartLegendFormatRequest extends BaseWorkbookChartLegendFor public WorkbookChartLegendFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartLegendFormat.class); } + + /** + * Gets the WorkbookChartLegendFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartLegendFormat from the service + * + * @return the WorkbookChartLegendFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegendFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartLegendFormat with a source + * + * @param sourceWorkbookChartLegendFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartLegendFormat); + } + + /** + * Patches this WorkbookChartLegendFormat with a source + * + * @param sourceWorkbookChartLegendFormat the source object with updates + * @return the updated WorkbookChartLegendFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegendFormat patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartLegendFormat); + } + + /** + * Creates a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartLegendFormat); + } + + /** + * Creates a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the new object to create + * @return the created WorkbookChartLegendFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegendFormat post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartLegendFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartLegendFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartLegendFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartLegendFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartLegendFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequestBuilder.java index e6bc3919c4b..a1efb426168 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLegendFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLegendFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Legend Format Request Builder. */ -public class WorkbookChartLegendFormatRequestBuilder extends BaseWorkbookChartLegendFormatRequestBuilder implements IWorkbookChartLegendFormatRequestBuilder { +public class WorkbookChartLegendFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartLegendFormatRequestBuilder { /** * The request builder for the WorkbookChartLegendFormat @@ -25,4 +32,44 @@ public class WorkbookChartLegendFormatRequestBuilder extends BaseWorkbookChartLe public WorkbookChartLegendFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartLegendFormatRequest instance + */ + public IWorkbookChartLegendFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartLegendFormatRequest instance + */ + public IWorkbookChartLegendFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartLegendFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + public IWorkbookChartFillRequestBuilder fill() { + return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + public IWorkbookChartFontRequestBuilder font() { + return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequest.java index 590a7d37dd7..5ec97b2714c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLegendRequest; +import com.microsoft.graph.models.extensions.WorkbookChartLegend; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartLegend; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLegendRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Legend Request. */ -public class WorkbookChartLegendRequest extends BaseWorkbookChartLegendRequest implements IWorkbookChartLegendRequest { - +public class WorkbookChartLegendRequest extends BaseRequest implements IWorkbookChartLegendRequest { + /** * The request for the WorkbookChartLegend * @@ -26,4 +32,107 @@ public class WorkbookChartLegendRequest extends BaseWorkbookChartLegendRequest i public WorkbookChartLegendRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartLegend.class); } + + /** + * Gets the WorkbookChartLegend from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartLegend from the service + * + * @return the WorkbookChartLegend from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegend get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartLegend with a source + * + * @param sourceWorkbookChartLegend the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartLegend sourceWorkbookChartLegend, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartLegend); + } + + /** + * Patches this WorkbookChartLegend with a source + * + * @param sourceWorkbookChartLegend the source object with updates + * @return the updated WorkbookChartLegend + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegend patch(final WorkbookChartLegend sourceWorkbookChartLegend) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartLegend); + } + + /** + * Creates a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartLegend newWorkbookChartLegend, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartLegend); + } + + /** + * Creates a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the new object to create + * @return the created WorkbookChartLegend + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegend post(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartLegend); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartLegendRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartLegendRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartLegendRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartLegendRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequestBuilder.java index c26eb9462f9..d43dd481b03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLegendRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartLegendFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLegendRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Legend Request Builder. */ -public class WorkbookChartLegendRequestBuilder extends BaseWorkbookChartLegendRequestBuilder implements IWorkbookChartLegendRequestBuilder { +public class WorkbookChartLegendRequestBuilder extends BaseRequestBuilder implements IWorkbookChartLegendRequestBuilder { /** * The request builder for the WorkbookChartLegend @@ -25,4 +30,35 @@ public class WorkbookChartLegendRequestBuilder extends BaseWorkbookChartLegendRe public WorkbookChartLegendRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartLegendRequest instance + */ + public IWorkbookChartLegendRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartLegendRequest instance + */ + public IWorkbookChartLegendRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartLegendRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartLegendFormat + * + * @return the IWorkbookChartLegendFormatRequestBuilder instance + */ + public IWorkbookChartLegendFormatRequestBuilder format() { + return new WorkbookChartLegendFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequest.java index 81ec6351cca..27d7fd52dc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLineFormatClearRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Line Format Clear Request. */ -public class WorkbookChartLineFormatClearRequest extends BaseWorkbookChartLineFormatClearRequest implements IWorkbookChartLineFormatClearRequest { +public class WorkbookChartLineFormatClearRequest extends BaseRequest implements IWorkbookChartLineFormatClearRequest { /** * The request for this WorkbookChartLineFormatClear @@ -23,6 +30,35 @@ public class WorkbookChartLineFormatClearRequest extends BaseWorkbookChartLineFo * @param requestOptions the options for this request */ public WorkbookChartLineFormatClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookChartLineFormatClear + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookChartLineFormatClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequestBuilder.java index 87d35175966..76bb7ac9af6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatClearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatClearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLineFormatClearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Line Format Clear Request Builder. */ -public class WorkbookChartLineFormatClearRequestBuilder extends BaseWorkbookChartLineFormatClearRequestBuilder implements IWorkbookChartLineFormatClearRequestBuilder { +public class WorkbookChartLineFormatClearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookChartLineFormatClearRequestBuilder { /** * The request builder for this WorkbookChartLineFormatClear @@ -25,4 +30,29 @@ public class WorkbookChartLineFormatClearRequestBuilder extends BaseWorkbookChar public WorkbookChartLineFormatClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookChartLineFormatClearRequest + * + * @return the IWorkbookChartLineFormatClearRequest instance + */ + public IWorkbookChartLineFormatClearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartLineFormatClearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartLineFormatClearRequest instance + */ + public IWorkbookChartLineFormatClearRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartLineFormatClearRequest request = new WorkbookChartLineFormatClearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequest.java index 5ffaa30bc5e..56112bc9257 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLineFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Line Format Request. */ -public class WorkbookChartLineFormatRequest extends BaseWorkbookChartLineFormatRequest implements IWorkbookChartLineFormatRequest { - +public class WorkbookChartLineFormatRequest extends BaseRequest implements IWorkbookChartLineFormatRequest { + /** * The request for the WorkbookChartLineFormat * @@ -26,4 +32,107 @@ public class WorkbookChartLineFormatRequest extends BaseWorkbookChartLineFormatR public WorkbookChartLineFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartLineFormat.class); } + + /** + * Gets the WorkbookChartLineFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartLineFormat from the service + * + * @return the WorkbookChartLineFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLineFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartLineFormat with a source + * + * @param sourceWorkbookChartLineFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartLineFormat); + } + + /** + * Patches this WorkbookChartLineFormat with a source + * + * @param sourceWorkbookChartLineFormat the source object with updates + * @return the updated WorkbookChartLineFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLineFormat patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartLineFormat); + } + + /** + * Creates a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartLineFormat newWorkbookChartLineFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartLineFormat); + } + + /** + * Creates a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the new object to create + * @return the created WorkbookChartLineFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLineFormat post(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartLineFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartLineFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartLineFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartLineFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartLineFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequestBuilder.java index 97c96230ff9..06f47659688 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatClearRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartLineFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Line Format Request Builder. */ -public class WorkbookChartLineFormatRequestBuilder extends BaseWorkbookChartLineFormatRequestBuilder implements IWorkbookChartLineFormatRequestBuilder { +public class WorkbookChartLineFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartLineFormatRequestBuilder { /** * The request builder for the WorkbookChartLineFormat @@ -25,4 +30,30 @@ public class WorkbookChartLineFormatRequestBuilder extends BaseWorkbookChartLine public WorkbookChartLineFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartLineFormatRequest instance + */ + public IWorkbookChartLineFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartLineFormatRequest instance + */ + public IWorkbookChartLineFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartLineFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookChartLineFormatClearRequestBuilder clear() { + return new WorkbookChartLineFormatClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionPage.java index ac635941910..0aa5b94a279 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Collection Page. */ -public class WorkbookChartPointCollectionPage extends BaseWorkbookChartPointCollectionPage implements IWorkbookChartPointCollectionPage { +public class WorkbookChartPointCollectionPage extends BaseCollectionPage implements IWorkbookChartPointCollectionPage { /** - * A collection page for WorkbookChartSeries. + * A collection page for WorkbookChartPoint * - * @param response the serialized BaseWorkbookChartPointCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookChartPointCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookChartPointCollectionPage(final BaseWorkbookChartPointCollectionResponse response, final IWorkbookChartPointCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookChartPointCollectionPage(final WorkbookChartPointCollectionResponse response, final IWorkbookChartPointCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequest.java index 2f10a0a7e58..f53b41493b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Collection Request. */ -public class WorkbookChartPointCollectionRequest extends BaseWorkbookChartPointCollectionRequest implements IWorkbookChartPointCollectionRequest { +public class WorkbookChartPointCollectionRequest extends BaseCollectionRequest implements IWorkbookChartPointCollectionRequest { /** - * The request for this collection of WorkbookChartSeries + * The request builder for this collection of WorkbookChartPoint * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookChartPointCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookChartPointCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookChartPointCollectionResponse.class, IWorkbookChartPointCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookChartPointCollectionPage get() throws ClientException { + final WorkbookChartPointCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookChartPointRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookChartPoint, callback); + } + + public WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookChartPointRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookChartPoint); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartPointCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookChartPointCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartPointCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookChartPointCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartPointCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookChartPointCollectionRequest)this; + } + + public IWorkbookChartPointCollectionPage buildFromResponse(final WorkbookChartPointCollectionResponse response) { + final IWorkbookChartPointCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookChartPointCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookChartPointCollectionPage page = new WorkbookChartPointCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequestBuilder.java index a4dfb4feccb..b2f7900aada 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Collection Request Builder. */ -public class WorkbookChartPointCollectionRequestBuilder extends BaseWorkbookChartPointCollectionRequestBuilder implements IWorkbookChartPointCollectionRequestBuilder { +public class WorkbookChartPointCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookChartPointCollectionRequestBuilder { /** * The request builder for this collection of WorkbookChartSeries @@ -25,4 +33,26 @@ public class WorkbookChartPointCollectionRequestBuilder extends BaseWorkbookChar public WorkbookChartPointCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookChartPointCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookChartPointCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartPointCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookChartPointRequestBuilder byId(final String id) { + return new WorkbookChartPointRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookChartPointItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookChartPointItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookChartPointCountRequestBuilder count() { + return new WorkbookChartPointCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionResponse.java new file mode 100644 index 00000000000..7ecde94381d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Chart Point Collection Response. + */ +public class WorkbookChartPointCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookChartPoint within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequest.java index 2053b3969c5..b9f5caa4b1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Count Request. */ -public class WorkbookChartPointCountRequest extends BaseWorkbookChartPointCountRequest implements IWorkbookChartPointCountRequest { +public class WorkbookChartPointCountRequest extends BaseRequest implements IWorkbookChartPointCountRequest { /** * The request for this WorkbookChartPointCount @@ -23,6 +30,48 @@ public class WorkbookChartPointCountRequest extends BaseWorkbookChartPointCountR * @param requestOptions the options for this request */ public WorkbookChartPointCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartPointCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartPointCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartPointCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartPointCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequestBuilder.java index 45d55b3f377..bfe2b519a6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Count Request Builder. */ -public class WorkbookChartPointCountRequestBuilder extends BaseWorkbookChartPointCountRequestBuilder implements IWorkbookChartPointCountRequestBuilder { +public class WorkbookChartPointCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartPointCountRequestBuilder { /** * The request builder for this WorkbookChartPointCount @@ -25,4 +30,33 @@ public class WorkbookChartPointCountRequestBuilder extends BaseWorkbookChartPoin public WorkbookChartPointCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookChartPointCountRequest + * + * @return the IWorkbookChartPointCountRequest instance + */ + public IWorkbookChartPointCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartPointCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartPointCountRequest instance + */ + public IWorkbookChartPointCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartPointCountRequest request = new WorkbookChartPointCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequest.java index f808b123918..830f0360359 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Format Request. */ -public class WorkbookChartPointFormatRequest extends BaseWorkbookChartPointFormatRequest implements IWorkbookChartPointFormatRequest { - +public class WorkbookChartPointFormatRequest extends BaseRequest implements IWorkbookChartPointFormatRequest { + /** * The request for the WorkbookChartPointFormat * @@ -26,4 +32,107 @@ public class WorkbookChartPointFormatRequest extends BaseWorkbookChartPointForma public WorkbookChartPointFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartPointFormat.class); } + + /** + * Gets the WorkbookChartPointFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartPointFormat from the service + * + * @return the WorkbookChartPointFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPointFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartPointFormat with a source + * + * @param sourceWorkbookChartPointFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartPointFormat); + } + + /** + * Patches this WorkbookChartPointFormat with a source + * + * @param sourceWorkbookChartPointFormat the source object with updates + * @return the updated WorkbookChartPointFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPointFormat patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartPointFormat); + } + + /** + * Creates a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartPointFormat newWorkbookChartPointFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartPointFormat); + } + + /** + * Creates a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the new object to create + * @return the created WorkbookChartPointFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPointFormat post(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartPointFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartPointFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartPointFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartPointFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartPointFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequestBuilder.java index a22cb55516a..1b3d8ea3017 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Format Request Builder. */ -public class WorkbookChartPointFormatRequestBuilder extends BaseWorkbookChartPointFormatRequestBuilder implements IWorkbookChartPointFormatRequestBuilder { +public class WorkbookChartPointFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartPointFormatRequestBuilder { /** * The request builder for the WorkbookChartPointFormat @@ -25,4 +30,35 @@ public class WorkbookChartPointFormatRequestBuilder extends BaseWorkbookChartPoi public WorkbookChartPointFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartPointFormatRequest instance + */ + public IWorkbookChartPointFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartPointFormatRequest instance + */ + public IWorkbookChartPointFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartPointFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + public IWorkbookChartFillRequestBuilder fill() { + return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequest.java index 8412e901967..db6d395baa4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Item At Request. */ -public class WorkbookChartPointItemAtRequest extends BaseWorkbookChartPointItemAtRequest implements IWorkbookChartPointItemAtRequest { +public class WorkbookChartPointItemAtRequest extends BaseRequest implements IWorkbookChartPointItemAtRequest { /** * The request for this WorkbookChartPointItemAt @@ -23,6 +31,88 @@ public class WorkbookChartPointItemAtRequest extends BaseWorkbookChartPointItemA * @param requestOptions the options for this request */ public WorkbookChartPointItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookChartPoint.class); } + + /** + * Patches the WorkbookChartPointItemAt + * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookChartPoint); + } + + /** + * Patches the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH + * @return the WorkbookChartPoint + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChartPoint patch(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookChartPoint); + } + + /** + * Puts the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookChartPoint); + } + + /** + * Puts the WorkbookChartPointItemAt + * + * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT + * @return the WorkbookChartPoint + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChartPoint put(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookChartPoint); + } + /** + * Gets the WorkbookChartPoint + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartPoint + * + * @return the WorkbookChartPoint + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChartPoint get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartPointItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartPointItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartPointItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartPointItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequestBuilder.java index f47ae3f32fe..e4163b3945d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Item At Request Builder. */ -public class WorkbookChartPointItemAtRequestBuilder extends BaseWorkbookChartPointItemAtRequestBuilder implements IWorkbookChartPointItemAtRequestBuilder { +public class WorkbookChartPointItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartPointItemAtRequestBuilder { /** * The request builder for this WorkbookChartPointItemAt @@ -24,6 +29,36 @@ public class WorkbookChartPointItemAtRequestBuilder extends BaseWorkbookChartPoi * @param index the index */ public WorkbookChartPointItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookChartPointItemAtRequest + * + * @return the IWorkbookChartPointItemAtRequest instance + */ + public IWorkbookChartPointItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartPointItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartPointItemAtRequest instance + */ + public IWorkbookChartPointItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartPointItemAtRequest request = new WorkbookChartPointItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequest.java index 16a199d562c..fd5177369b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointRequest; +import com.microsoft.graph.models.extensions.WorkbookChartPoint; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Request. */ -public class WorkbookChartPointRequest extends BaseWorkbookChartPointRequest implements IWorkbookChartPointRequest { - +public class WorkbookChartPointRequest extends BaseRequest implements IWorkbookChartPointRequest { + /** * The request for the WorkbookChartPoint * @@ -26,4 +32,107 @@ public class WorkbookChartPointRequest extends BaseWorkbookChartPointRequest imp public WorkbookChartPointRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartPoint.class); } + + /** + * Gets the WorkbookChartPoint from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartPoint from the service + * + * @return the WorkbookChartPoint from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPoint get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartPoint with a source + * + * @param sourceWorkbookChartPoint the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartPoint sourceWorkbookChartPoint, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartPoint); + } + + /** + * Patches this WorkbookChartPoint with a source + * + * @param sourceWorkbookChartPoint the source object with updates + * @return the updated WorkbookChartPoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPoint patch(final WorkbookChartPoint sourceWorkbookChartPoint) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartPoint); + } + + /** + * Creates a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartPoint); + } + + /** + * Creates a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the new object to create + * @return the created WorkbookChartPoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartPoint); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartPointRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartPointRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartPointRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartPointRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequestBuilder.java index d96c9eccb9a..144876473e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartPointRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartPointFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartPointRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Point Request Builder. */ -public class WorkbookChartPointRequestBuilder extends BaseWorkbookChartPointRequestBuilder implements IWorkbookChartPointRequestBuilder { +public class WorkbookChartPointRequestBuilder extends BaseRequestBuilder implements IWorkbookChartPointRequestBuilder { /** * The request builder for the WorkbookChartPoint @@ -25,4 +30,35 @@ public class WorkbookChartPointRequestBuilder extends BaseWorkbookChartPointRequ public WorkbookChartPointRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartPointRequest instance + */ + public IWorkbookChartPointRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartPointRequest instance + */ + public IWorkbookChartPointRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartPointRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartPointFormat + * + * @return the IWorkbookChartPointFormatRequestBuilder instance + */ + public IWorkbookChartPointFormatRequestBuilder format() { + return new WorkbookChartPointFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequest.java index b957c7db747..5ab81edafcd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartRequest; +import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChart; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Request. */ -public class WorkbookChartRequest extends BaseWorkbookChartRequest implements IWorkbookChartRequest { - +public class WorkbookChartRequest extends BaseRequest implements IWorkbookChartRequest { + /** * The request for the WorkbookChart * @@ -26,4 +32,107 @@ public class WorkbookChartRequest extends BaseWorkbookChartRequest implements IW public WorkbookChartRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChart.class); } + + /** + * Gets the WorkbookChart from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChart from the service + * + * @return the WorkbookChart from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChart get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChart with a source + * + * @param sourceWorkbookChart the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChart sourceWorkbookChart, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChart); + } + + /** + * Patches this WorkbookChart with a source + * + * @param sourceWorkbookChart the source object with updates + * @return the updated WorkbookChart + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChart patch(final WorkbookChart sourceWorkbookChart) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChart); + } + + /** + * Creates a WorkbookChart with a new object + * + * @param newWorkbookChart the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChart newWorkbookChart, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChart); + } + + /** + * Creates a WorkbookChart with a new object + * + * @param newWorkbookChart the new object to create + * @return the created WorkbookChart + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException { + return send(HttpMethod.POST, newWorkbookChart); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequestBuilder.java index 0424882cfc3..5f55e896d0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequestBuilder.java @@ -3,17 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAxesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartAreaFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartLegendRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartTitleRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartSetDataRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartSetPositionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Request Builder. */ -public class WorkbookChartRequestBuilder extends BaseWorkbookChartRequestBuilder implements IWorkbookChartRequestBuilder { +public class WorkbookChartRequestBuilder extends BaseRequestBuilder implements IWorkbookChartRequestBuilder { /** * The request builder for the WorkbookChart @@ -25,4 +56,111 @@ public class WorkbookChartRequestBuilder extends BaseWorkbookChartRequestBuilder public WorkbookChartRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartRequest instance + */ + public IWorkbookChartRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartRequest instance + */ + public IWorkbookChartRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartAxes + * + * @return the IWorkbookChartAxesRequestBuilder instance + */ + public IWorkbookChartAxesRequestBuilder axes() { + return new WorkbookChartAxesRequestBuilder(getRequestUrlWithAdditionalSegment("axes"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartDataLabels + * + * @return the IWorkbookChartDataLabelsRequestBuilder instance + */ + public IWorkbookChartDataLabelsRequestBuilder dataLabels() { + return new WorkbookChartDataLabelsRequestBuilder(getRequestUrlWithAdditionalSegment("dataLabels"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartAreaFormat + * + * @return the IWorkbookChartAreaFormatRequestBuilder instance + */ + public IWorkbookChartAreaFormatRequestBuilder format() { + return new WorkbookChartAreaFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartLegend + * + * @return the IWorkbookChartLegendRequestBuilder instance + */ + public IWorkbookChartLegendRequestBuilder legend() { + return new WorkbookChartLegendRequestBuilder(getRequestUrlWithAdditionalSegment("legend"), getClient(), null); + } + public IWorkbookChartSeriesCollectionRequestBuilder series() { + return new WorkbookChartSeriesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("series"), getClient(), null); + } + + public IWorkbookChartSeriesRequestBuilder series(final String id) { + return new WorkbookChartSeriesRequestBuilder(getRequestUrlWithAdditionalSegment("series") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartTitle + * + * @return the IWorkbookChartTitleRequestBuilder instance + */ + public IWorkbookChartTitleRequestBuilder title() { + return new WorkbookChartTitleRequestBuilder(getRequestUrlWithAdditionalSegment("title"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + public IWorkbookWorksheetRequestBuilder worksheet() { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); + } + + public IWorkbookChartSetDataRequestBuilder setData(final com.google.gson.JsonElement sourceData, final String seriesBy) { + return new WorkbookChartSetDataRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setData"), getClient(), null, sourceData, seriesBy); + } + + public IWorkbookChartSetPositionRequestBuilder setPosition(final com.google.gson.JsonElement startCell, final com.google.gson.JsonElement endCell) { + return new WorkbookChartSetPositionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setPosition"), getClient(), null, startCell, endCell); + } + + public IWorkbookChartImageRequestBuilder image() { + return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null); + } + + public IWorkbookChartImageRequestBuilder image(final Integer width) { + return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null, width); + } + + public IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height) { + return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null, width, height); + } + + public IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height, final String fittingMode) { + return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null, width, height, fittingMode); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionPage.java index beefa214486..5fa9876605b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Collection Page. */ -public class WorkbookChartSeriesCollectionPage extends BaseWorkbookChartSeriesCollectionPage implements IWorkbookChartSeriesCollectionPage { +public class WorkbookChartSeriesCollectionPage extends BaseCollectionPage implements IWorkbookChartSeriesCollectionPage { /** - * A collection page for WorkbookChart. + * A collection page for WorkbookChartSeries * - * @param response the serialized BaseWorkbookChartSeriesCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookChartSeriesCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookChartSeriesCollectionPage(final BaseWorkbookChartSeriesCollectionResponse response, final IWorkbookChartSeriesCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookChartSeriesCollectionPage(final WorkbookChartSeriesCollectionResponse response, final IWorkbookChartSeriesCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequest.java index 9af207415d8..20e78957e24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Collection Request. */ -public class WorkbookChartSeriesCollectionRequest extends BaseWorkbookChartSeriesCollectionRequest implements IWorkbookChartSeriesCollectionRequest { +public class WorkbookChartSeriesCollectionRequest extends BaseCollectionRequest implements IWorkbookChartSeriesCollectionRequest { /** - * The request for this collection of WorkbookChart + * The request builder for this collection of WorkbookChartSeries * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookChartSeriesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookChartSeriesCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookChartSeriesCollectionResponse.class, IWorkbookChartSeriesCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookChartSeriesCollectionPage get() throws ClientException { + final WorkbookChartSeriesCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookChartSeriesRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookChartSeries, callback); + } + + public WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookChartSeriesRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookChartSeries); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSeriesCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookChartSeriesCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSeriesCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookChartSeriesCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartSeriesCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookChartSeriesCollectionRequest)this; + } + + public IWorkbookChartSeriesCollectionPage buildFromResponse(final WorkbookChartSeriesCollectionResponse response) { + final IWorkbookChartSeriesCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookChartSeriesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookChartSeriesCollectionPage page = new WorkbookChartSeriesCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequestBuilder.java index 0a13a6b2c14..b598429e463 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Collection Request Builder. */ -public class WorkbookChartSeriesCollectionRequestBuilder extends BaseWorkbookChartSeriesCollectionRequestBuilder implements IWorkbookChartSeriesCollectionRequestBuilder { +public class WorkbookChartSeriesCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookChartSeriesCollectionRequestBuilder { /** * The request builder for this collection of WorkbookChart @@ -25,4 +33,26 @@ public class WorkbookChartSeriesCollectionRequestBuilder extends BaseWorkbookCha public WorkbookChartSeriesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookChartSeriesCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookChartSeriesCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartSeriesCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookChartSeriesRequestBuilder byId(final String id) { + return new WorkbookChartSeriesRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookChartSeriesItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookChartSeriesItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookChartSeriesCountRequestBuilder count() { + return new WorkbookChartSeriesCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionResponse.java new file mode 100644 index 00000000000..a3b3102262c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Chart Series Collection Response. + */ +public class WorkbookChartSeriesCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookChartSeries within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequest.java index 260bf8f8103..0f70d20a16d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Count Request. */ -public class WorkbookChartSeriesCountRequest extends BaseWorkbookChartSeriesCountRequest implements IWorkbookChartSeriesCountRequest { +public class WorkbookChartSeriesCountRequest extends BaseRequest implements IWorkbookChartSeriesCountRequest { /** * The request for this WorkbookChartSeriesCount @@ -23,6 +30,48 @@ public class WorkbookChartSeriesCountRequest extends BaseWorkbookChartSeriesCoun * @param requestOptions the options for this request */ public WorkbookChartSeriesCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSeriesCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartSeriesCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSeriesCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartSeriesCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequestBuilder.java index 8f8fa1231b5..9135dbb9b65 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Count Request Builder. */ -public class WorkbookChartSeriesCountRequestBuilder extends BaseWorkbookChartSeriesCountRequestBuilder implements IWorkbookChartSeriesCountRequestBuilder { +public class WorkbookChartSeriesCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartSeriesCountRequestBuilder { /** * The request builder for this WorkbookChartSeriesCount @@ -25,4 +30,33 @@ public class WorkbookChartSeriesCountRequestBuilder extends BaseWorkbookChartSer public WorkbookChartSeriesCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookChartSeriesCountRequest + * + * @return the IWorkbookChartSeriesCountRequest instance + */ + public IWorkbookChartSeriesCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartSeriesCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSeriesCountRequest instance + */ + public IWorkbookChartSeriesCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartSeriesCountRequest request = new WorkbookChartSeriesCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequest.java index e3fc95505f1..5b7898e512d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Format Request. */ -public class WorkbookChartSeriesFormatRequest extends BaseWorkbookChartSeriesFormatRequest implements IWorkbookChartSeriesFormatRequest { - +public class WorkbookChartSeriesFormatRequest extends BaseRequest implements IWorkbookChartSeriesFormatRequest { + /** * The request for the WorkbookChartSeriesFormat * @@ -26,4 +32,107 @@ public class WorkbookChartSeriesFormatRequest extends BaseWorkbookChartSeriesFor public WorkbookChartSeriesFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartSeriesFormat.class); } + + /** + * Gets the WorkbookChartSeriesFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartSeriesFormat from the service + * + * @return the WorkbookChartSeriesFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeriesFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartSeriesFormat with a source + * + * @param sourceWorkbookChartSeriesFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartSeriesFormat); + } + + /** + * Patches this WorkbookChartSeriesFormat with a source + * + * @param sourceWorkbookChartSeriesFormat the source object with updates + * @return the updated WorkbookChartSeriesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeriesFormat patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartSeriesFormat); + } + + /** + * Creates a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartSeriesFormat); + } + + /** + * Creates a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the new object to create + * @return the created WorkbookChartSeriesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeriesFormat post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartSeriesFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSeriesFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartSeriesFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSeriesFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartSeriesFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequestBuilder.java index 30dce674a0d..34c5f8cf6f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Format Request Builder. */ -public class WorkbookChartSeriesFormatRequestBuilder extends BaseWorkbookChartSeriesFormatRequestBuilder implements IWorkbookChartSeriesFormatRequestBuilder { +public class WorkbookChartSeriesFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartSeriesFormatRequestBuilder { /** * The request builder for the WorkbookChartSeriesFormat @@ -25,4 +32,44 @@ public class WorkbookChartSeriesFormatRequestBuilder extends BaseWorkbookChartSe public WorkbookChartSeriesFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartSeriesFormatRequest instance + */ + public IWorkbookChartSeriesFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartSeriesFormatRequest instance + */ + public IWorkbookChartSeriesFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartSeriesFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + public IWorkbookChartFillRequestBuilder fill() { + return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartLineFormat + * + * @return the IWorkbookChartLineFormatRequestBuilder instance + */ + public IWorkbookChartLineFormatRequestBuilder line() { + return new WorkbookChartLineFormatRequestBuilder(getRequestUrlWithAdditionalSegment("line"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequest.java index 8f576304c58..7e39ae52ccc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Item At Request. */ -public class WorkbookChartSeriesItemAtRequest extends BaseWorkbookChartSeriesItemAtRequest implements IWorkbookChartSeriesItemAtRequest { +public class WorkbookChartSeriesItemAtRequest extends BaseRequest implements IWorkbookChartSeriesItemAtRequest { /** * The request for this WorkbookChartSeriesItemAt @@ -23,6 +31,88 @@ public class WorkbookChartSeriesItemAtRequest extends BaseWorkbookChartSeriesIte * @param requestOptions the options for this request */ public WorkbookChartSeriesItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookChartSeries.class); } + + /** + * Patches the WorkbookChartSeriesItemAt + * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookChartSeries); + } + + /** + * Patches the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH + * @return the WorkbookChartSeries + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChartSeries patch(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookChartSeries); + } + + /** + * Puts the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookChartSeries); + } + + /** + * Puts the WorkbookChartSeriesItemAt + * + * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT + * @return the WorkbookChartSeries + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChartSeries put(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookChartSeries); + } + /** + * Gets the WorkbookChartSeries + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartSeries + * + * @return the WorkbookChartSeries + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookChartSeries get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSeriesItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartSeriesItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSeriesItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartSeriesItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequestBuilder.java index b8bc0f44ea2..bacad838867 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Item At Request Builder. */ -public class WorkbookChartSeriesItemAtRequestBuilder extends BaseWorkbookChartSeriesItemAtRequestBuilder implements IWorkbookChartSeriesItemAtRequestBuilder { +public class WorkbookChartSeriesItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookChartSeriesItemAtRequestBuilder { /** * The request builder for this WorkbookChartSeriesItemAt @@ -24,6 +29,36 @@ public class WorkbookChartSeriesItemAtRequestBuilder extends BaseWorkbookChartSe * @param index the index */ public WorkbookChartSeriesItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookChartSeriesItemAtRequest + * + * @return the IWorkbookChartSeriesItemAtRequest instance + */ + public IWorkbookChartSeriesItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartSeriesItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSeriesItemAtRequest instance + */ + public IWorkbookChartSeriesItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartSeriesItemAtRequest request = new WorkbookChartSeriesItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequest.java index 91abc344582..dd079953d0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesRequest; +import com.microsoft.graph.models.extensions.WorkbookChartSeries; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Request. */ -public class WorkbookChartSeriesRequest extends BaseWorkbookChartSeriesRequest implements IWorkbookChartSeriesRequest { - +public class WorkbookChartSeriesRequest extends BaseRequest implements IWorkbookChartSeriesRequest { + /** * The request for the WorkbookChartSeries * @@ -26,4 +32,107 @@ public class WorkbookChartSeriesRequest extends BaseWorkbookChartSeriesRequest i public WorkbookChartSeriesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartSeries.class); } + + /** + * Gets the WorkbookChartSeries from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartSeries from the service + * + * @return the WorkbookChartSeries from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeries get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartSeries with a source + * + * @param sourceWorkbookChartSeries the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartSeries sourceWorkbookChartSeries, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartSeries); + } + + /** + * Patches this WorkbookChartSeries with a source + * + * @param sourceWorkbookChartSeries the source object with updates + * @return the updated WorkbookChartSeries + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeries patch(final WorkbookChartSeries sourceWorkbookChartSeries) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartSeries); + } + + /** + * Creates a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartSeries); + } + + /** + * Creates a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the new object to create + * @return the created WorkbookChartSeries + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartSeries); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSeriesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartSeriesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSeriesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartSeriesRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequestBuilder.java index 4d4a8ea4274..ae7fa12f9fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartSeriesFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartPointCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartPointRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSeriesRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Series Request Builder. */ -public class WorkbookChartSeriesRequestBuilder extends BaseWorkbookChartSeriesRequestBuilder implements IWorkbookChartSeriesRequestBuilder { +public class WorkbookChartSeriesRequestBuilder extends BaseRequestBuilder implements IWorkbookChartSeriesRequestBuilder { /** * The request builder for the WorkbookChartSeries @@ -25,4 +34,42 @@ public class WorkbookChartSeriesRequestBuilder extends BaseWorkbookChartSeriesRe public WorkbookChartSeriesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartSeriesRequest instance + */ + public IWorkbookChartSeriesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartSeriesRequest instance + */ + public IWorkbookChartSeriesRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartSeriesRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartSeriesFormat + * + * @return the IWorkbookChartSeriesFormatRequestBuilder instance + */ + public IWorkbookChartSeriesFormatRequestBuilder format() { + return new WorkbookChartSeriesFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } + public IWorkbookChartPointCollectionRequestBuilder points() { + return new WorkbookChartPointCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("points"), getClient(), null); + } + + public IWorkbookChartPointRequestBuilder points(final String id) { + return new WorkbookChartPointRequestBuilder(getRequestUrlWithAdditionalSegment("points") + "/" + id, getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequest.java index 6fcb9dbf4ab..5f2d0c2af05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSetDataBody; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSetDataRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSetDataRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Set Data Request. */ -public class WorkbookChartSetDataRequest extends BaseWorkbookChartSetDataRequest implements IWorkbookChartSetDataRequest { +public class WorkbookChartSetDataRequest extends BaseRequest implements IWorkbookChartSetDataRequest { + protected final WorkbookChartSetDataBody body; /** * The request for this WorkbookChartSetData @@ -23,6 +31,49 @@ public class WorkbookChartSetDataRequest extends BaseWorkbookChartSetDataRequest * @param requestOptions the options for this request */ public WorkbookChartSetDataRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookChartSetDataBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSetDataRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartSetDataRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartSetDataRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookChartSetDataRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSetDataRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartSetDataRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequestBuilder.java index acc60047509..fb3d0d4e092 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetDataRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSetDataRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSetDataRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Set Data Request Builder. */ -public class WorkbookChartSetDataRequestBuilder extends BaseWorkbookChartSetDataRequestBuilder implements IWorkbookChartSetDataRequestBuilder { +public class WorkbookChartSetDataRequestBuilder extends BaseActionRequestBuilder implements IWorkbookChartSetDataRequestBuilder { /** * The request builder for this WorkbookChartSetData @@ -25,6 +30,41 @@ public class WorkbookChartSetDataRequestBuilder extends BaseWorkbookChartSetData * @param seriesBy the seriesBy */ public WorkbookChartSetDataRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement sourceData, final String seriesBy) { - super(requestUrl, client, requestOptions, sourceData, seriesBy); + super(requestUrl, client, requestOptions); + bodyParams.put("sourceData", sourceData); + bodyParams.put("seriesBy", seriesBy); + } + + /** + * Creates the IWorkbookChartSetDataRequest + * + * @return the IWorkbookChartSetDataRequest instance + */ + public IWorkbookChartSetDataRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartSetDataRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSetDataRequest instance + */ + public IWorkbookChartSetDataRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartSetDataRequest request = new WorkbookChartSetDataRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("sourceData")) { + request.body.sourceData = getParameter("sourceData"); + } + + if (hasParameter("seriesBy")) { + request.body.seriesBy = getParameter("seriesBy"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequest.java index b6c1c0882c3..04d26b21140 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookChartSetPositionBody; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSetPositionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSetPositionRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Set Position Request. */ -public class WorkbookChartSetPositionRequest extends BaseWorkbookChartSetPositionRequest implements IWorkbookChartSetPositionRequest { +public class WorkbookChartSetPositionRequest extends BaseRequest implements IWorkbookChartSetPositionRequest { + protected final WorkbookChartSetPositionBody body; /** * The request for this WorkbookChartSetPosition @@ -23,6 +31,49 @@ public class WorkbookChartSetPositionRequest extends BaseWorkbookChartSetPositio * @param requestOptions the options for this request */ public WorkbookChartSetPositionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookChartSetPositionBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartSetPositionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartSetPositionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookChartSetPositionRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookChartSetPositionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartSetPositionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartSetPositionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequestBuilder.java index 82e49488e67..53d238ed127 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSetPositionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartSetPositionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartSetPositionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Set Position Request Builder. */ -public class WorkbookChartSetPositionRequestBuilder extends BaseWorkbookChartSetPositionRequestBuilder implements IWorkbookChartSetPositionRequestBuilder { +public class WorkbookChartSetPositionRequestBuilder extends BaseActionRequestBuilder implements IWorkbookChartSetPositionRequestBuilder { /** * The request builder for this WorkbookChartSetPosition @@ -25,6 +30,41 @@ public class WorkbookChartSetPositionRequestBuilder extends BaseWorkbookChartSet * @param endCell the endCell */ public WorkbookChartSetPositionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startCell, final com.google.gson.JsonElement endCell) { - super(requestUrl, client, requestOptions, startCell, endCell); + super(requestUrl, client, requestOptions); + bodyParams.put("startCell", startCell); + bodyParams.put("endCell", endCell); + } + + /** + * Creates the IWorkbookChartSetPositionRequest + * + * @return the IWorkbookChartSetPositionRequest instance + */ + public IWorkbookChartSetPositionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookChartSetPositionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookChartSetPositionRequest instance + */ + public IWorkbookChartSetPositionRequest buildRequest(final java.util.List requestOptions) { + WorkbookChartSetPositionRequest request = new WorkbookChartSetPositionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startCell")) { + request.body.startCell = getParameter("startCell"); + } + + if (hasParameter("endCell")) { + request.body.endCell = getParameter("endCell"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequest.java index 93e25d96070..a9b9927059a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartTitleFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartTitleFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Title Format Request. */ -public class WorkbookChartTitleFormatRequest extends BaseWorkbookChartTitleFormatRequest implements IWorkbookChartTitleFormatRequest { - +public class WorkbookChartTitleFormatRequest extends BaseRequest implements IWorkbookChartTitleFormatRequest { + /** * The request for the WorkbookChartTitleFormat * @@ -26,4 +32,107 @@ public class WorkbookChartTitleFormatRequest extends BaseWorkbookChartTitleForma public WorkbookChartTitleFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartTitleFormat.class); } + + /** + * Gets the WorkbookChartTitleFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartTitleFormat from the service + * + * @return the WorkbookChartTitleFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitleFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartTitleFormat with a source + * + * @param sourceWorkbookChartTitleFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartTitleFormat); + } + + /** + * Patches this WorkbookChartTitleFormat with a source + * + * @param sourceWorkbookChartTitleFormat the source object with updates + * @return the updated WorkbookChartTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitleFormat patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartTitleFormat); + } + + /** + * Creates a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartTitleFormat); + } + + /** + * Creates a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the new object to create + * @return the created WorkbookChartTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitleFormat post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartTitleFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartTitleFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartTitleFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartTitleFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartTitleFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequestBuilder.java index d7bcae1f711..277e8f12a97 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartTitleFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartTitleFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Title Format Request Builder. */ -public class WorkbookChartTitleFormatRequestBuilder extends BaseWorkbookChartTitleFormatRequestBuilder implements IWorkbookChartTitleFormatRequestBuilder { +public class WorkbookChartTitleFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookChartTitleFormatRequestBuilder { /** * The request builder for the WorkbookChartTitleFormat @@ -25,4 +32,44 @@ public class WorkbookChartTitleFormatRequestBuilder extends BaseWorkbookChartTit public WorkbookChartTitleFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartTitleFormatRequest instance + */ + public IWorkbookChartTitleFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartTitleFormatRequest instance + */ + public IWorkbookChartTitleFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartTitleFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartFill + * + * @return the IWorkbookChartFillRequestBuilder instance + */ + public IWorkbookChartFillRequestBuilder fill() { + return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookChartFont + * + * @return the IWorkbookChartFontRequestBuilder instance + */ + public IWorkbookChartFontRequestBuilder font() { + return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequest.java index 23369be0ede..302286e4d63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartTitleRequest; +import com.microsoft.graph.models.extensions.WorkbookChartTitle; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookChartTitle; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartTitleRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Title Request. */ -public class WorkbookChartTitleRequest extends BaseWorkbookChartTitleRequest implements IWorkbookChartTitleRequest { - +public class WorkbookChartTitleRequest extends BaseRequest implements IWorkbookChartTitleRequest { + /** * The request for the WorkbookChartTitle * @@ -26,4 +32,107 @@ public class WorkbookChartTitleRequest extends BaseWorkbookChartTitleRequest imp public WorkbookChartTitleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookChartTitle.class); } + + /** + * Gets the WorkbookChartTitle from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookChartTitle from the service + * + * @return the WorkbookChartTitle from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitle get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookChartTitle with a source + * + * @param sourceWorkbookChartTitle the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookChartTitle sourceWorkbookChartTitle, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookChartTitle); + } + + /** + * Patches this WorkbookChartTitle with a source + * + * @param sourceWorkbookChartTitle the source object with updates + * @return the updated WorkbookChartTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitle patch(final WorkbookChartTitle sourceWorkbookChartTitle) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookChartTitle); + } + + /** + * Creates a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookChartTitle newWorkbookChartTitle, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookChartTitle); + } + + /** + * Creates a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the new object to create + * @return the created WorkbookChartTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitle post(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException { + return send(HttpMethod.POST, newWorkbookChartTitle); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookChartTitleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookChartTitleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookChartTitleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookChartTitleRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequestBuilder.java index e8ae66d6794..7dd362b8af1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequest; +import com.microsoft.graph.requests.extensions.WorkbookChartTitleRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartTitleFormatRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookChartTitleRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Chart Title Request Builder. */ -public class WorkbookChartTitleRequestBuilder extends BaseWorkbookChartTitleRequestBuilder implements IWorkbookChartTitleRequestBuilder { +public class WorkbookChartTitleRequestBuilder extends BaseRequestBuilder implements IWorkbookChartTitleRequestBuilder { /** * The request builder for the WorkbookChartTitle @@ -25,4 +30,35 @@ public class WorkbookChartTitleRequestBuilder extends BaseWorkbookChartTitleRequ public WorkbookChartTitleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookChartTitleRequest instance + */ + public IWorkbookChartTitleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookChartTitleRequest instance + */ + public IWorkbookChartTitleRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookChartTitleRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookChartTitleFormat + * + * @return the IWorkbookChartTitleFormatRequestBuilder instance + */ + public IWorkbookChartTitleFormatRequestBuilder format() { + return new WorkbookChartTitleFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequest.java index 3301614049b..a22f52ca6ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; +import com.microsoft.graph.requests.extensions.WorkbookCloseSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookCloseSessionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Close Session Request. */ -public class WorkbookCloseSessionRequest extends BaseWorkbookCloseSessionRequest implements IWorkbookCloseSessionRequest { +public class WorkbookCloseSessionRequest extends BaseRequest implements IWorkbookCloseSessionRequest { /** * The request for this WorkbookCloseSession @@ -23,6 +30,35 @@ public class WorkbookCloseSessionRequest extends BaseWorkbookCloseSessionRequest * @param requestOptions the options for this request */ public WorkbookCloseSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookCloseSession + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookCloseSession + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequestBuilder.java index cbfb6fcbccd..ad6fae28785 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCloseSessionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; +import com.microsoft.graph.requests.extensions.WorkbookCloseSessionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookCloseSessionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Close Session Request Builder. */ -public class WorkbookCloseSessionRequestBuilder extends BaseWorkbookCloseSessionRequestBuilder implements IWorkbookCloseSessionRequestBuilder { +public class WorkbookCloseSessionRequestBuilder extends BaseActionRequestBuilder implements IWorkbookCloseSessionRequestBuilder { /** * The request builder for this WorkbookCloseSession @@ -25,4 +30,29 @@ public class WorkbookCloseSessionRequestBuilder extends BaseWorkbookCloseSession public WorkbookCloseSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookCloseSessionRequest + * + * @return the IWorkbookCloseSessionRequest instance + */ + public IWorkbookCloseSessionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookCloseSessionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookCloseSessionRequest instance + */ + public IWorkbookCloseSessionRequest buildRequest(final java.util.List requestOptions) { + WorkbookCloseSessionRequest request = new WorkbookCloseSessionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequest.java index 6fd09f00d35..14528a1129c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookCreateSessionBody; +import com.microsoft.graph.models.extensions.WorkbookSessionInfo; +import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; +import com.microsoft.graph.requests.extensions.WorkbookCreateSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookCreateSessionRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Create Session Request. */ -public class WorkbookCreateSessionRequest extends BaseWorkbookCreateSessionRequest implements IWorkbookCreateSessionRequest { +public class WorkbookCreateSessionRequest extends BaseRequest implements IWorkbookCreateSessionRequest { + protected final WorkbookCreateSessionBody body; /** * The request for this WorkbookCreateSession @@ -23,6 +32,49 @@ public class WorkbookCreateSessionRequest extends BaseWorkbookCreateSessionReque * @param requestOptions the options for this request */ public WorkbookCreateSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookSessionInfo.class); + body = new WorkbookCreateSessionBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookSessionInfo post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookCreateSessionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookCreateSessionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookCreateSessionRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookCreateSessionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookCreateSessionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookCreateSessionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequestBuilder.java index 13f8e74fb80..bf139b967d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCreateSessionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; +import com.microsoft.graph.requests.extensions.WorkbookCreateSessionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookCreateSessionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Create Session Request Builder. */ -public class WorkbookCreateSessionRequestBuilder extends BaseWorkbookCreateSessionRequestBuilder implements IWorkbookCreateSessionRequestBuilder { +public class WorkbookCreateSessionRequestBuilder extends BaseActionRequestBuilder implements IWorkbookCreateSessionRequestBuilder { /** * The request builder for this WorkbookCreateSession @@ -24,6 +29,36 @@ public class WorkbookCreateSessionRequestBuilder extends BaseWorkbookCreateSessi * @param persistChanges the persistChanges */ public WorkbookCreateSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean persistChanges) { - super(requestUrl, client, requestOptions, persistChanges); + super(requestUrl, client, requestOptions); + bodyParams.put("persistChanges", persistChanges); + } + + /** + * Creates the IWorkbookCreateSessionRequest + * + * @return the IWorkbookCreateSessionRequest instance + */ + public IWorkbookCreateSessionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookCreateSessionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookCreateSessionRequest instance + */ + public IWorkbookCreateSessionRequest buildRequest(final java.util.List requestOptions) { + WorkbookCreateSessionRequest request = new WorkbookCreateSessionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("persistChanges")) { + request.body.persistChanges = getParameter("persistChanges"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequest.java index 28241d7e53f..cd5cd474c62 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyBottomItemsFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomItemsFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyBottomItemsFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Bottom Items Filter Request. */ -public class WorkbookFilterApplyBottomItemsFilterRequest extends BaseWorkbookFilterApplyBottomItemsFilterRequest implements IWorkbookFilterApplyBottomItemsFilterRequest { +public class WorkbookFilterApplyBottomItemsFilterRequest extends BaseRequest implements IWorkbookFilterApplyBottomItemsFilterRequest { + protected final WorkbookFilterApplyBottomItemsFilterBody body; /** * The request for this WorkbookFilterApplyBottomItemsFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyBottomItemsFilterRequest extends BaseWorkbookFil * @param requestOptions the options for this request */ public WorkbookFilterApplyBottomItemsFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyBottomItemsFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyBottomItemsFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyBottomItemsFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyBottomItemsFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyBottomItemsFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyBottomItemsFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyBottomItemsFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequestBuilder.java index 592a37c361d..a71034b5f4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomItemsFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomItemsFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Bottom Items Filter Request Builder. */ -public class WorkbookFilterApplyBottomItemsFilterRequestBuilder extends BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder implements IWorkbookFilterApplyBottomItemsFilterRequestBuilder { +public class WorkbookFilterApplyBottomItemsFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyBottomItemsFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyBottomItemsFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyBottomItemsFilterRequestBuilder extends BaseWork * @param count the count */ public WorkbookFilterApplyBottomItemsFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions, count); + super(requestUrl, client, requestOptions); + bodyParams.put("count", count); + } + + /** + * Creates the IWorkbookFilterApplyBottomItemsFilterRequest + * + * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance + */ + public IWorkbookFilterApplyBottomItemsFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyBottomItemsFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance + */ + public IWorkbookFilterApplyBottomItemsFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyBottomItemsFilterRequest request = new WorkbookFilterApplyBottomItemsFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("count")) { + request.body.count = getParameter("count"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequest.java index ff690995c0a..9ec9bf69097 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyBottomPercentFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomPercentFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyBottomPercentFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Bottom Percent Filter Request. */ -public class WorkbookFilterApplyBottomPercentFilterRequest extends BaseWorkbookFilterApplyBottomPercentFilterRequest implements IWorkbookFilterApplyBottomPercentFilterRequest { +public class WorkbookFilterApplyBottomPercentFilterRequest extends BaseRequest implements IWorkbookFilterApplyBottomPercentFilterRequest { + protected final WorkbookFilterApplyBottomPercentFilterBody body; /** * The request for this WorkbookFilterApplyBottomPercentFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyBottomPercentFilterRequest extends BaseWorkbookF * @param requestOptions the options for this request */ public WorkbookFilterApplyBottomPercentFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyBottomPercentFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyBottomPercentFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyBottomPercentFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyBottomPercentFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyBottomPercentFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyBottomPercentFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyBottomPercentFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequestBuilder.java index 053e7928af6..f95e91d7200 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyBottomPercentFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomPercentFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Bottom Percent Filter Request Builder. */ -public class WorkbookFilterApplyBottomPercentFilterRequestBuilder extends BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder implements IWorkbookFilterApplyBottomPercentFilterRequestBuilder { +public class WorkbookFilterApplyBottomPercentFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyBottomPercentFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyBottomPercentFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyBottomPercentFilterRequestBuilder extends BaseWo * @param percent the percent */ public WorkbookFilterApplyBottomPercentFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer percent) { - super(requestUrl, client, requestOptions, percent); + super(requestUrl, client, requestOptions); + bodyParams.put("percent", percent); + } + + /** + * Creates the IWorkbookFilterApplyBottomPercentFilterRequest + * + * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance + */ + public IWorkbookFilterApplyBottomPercentFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyBottomPercentFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance + */ + public IWorkbookFilterApplyBottomPercentFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyBottomPercentFilterRequest request = new WorkbookFilterApplyBottomPercentFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("percent")) { + request.body.percent = getParameter("percent"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequest.java index 5a091c462fa..360b74f7cd1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyCellColorFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCellColorFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyCellColorFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Cell Color Filter Request. */ -public class WorkbookFilterApplyCellColorFilterRequest extends BaseWorkbookFilterApplyCellColorFilterRequest implements IWorkbookFilterApplyCellColorFilterRequest { +public class WorkbookFilterApplyCellColorFilterRequest extends BaseRequest implements IWorkbookFilterApplyCellColorFilterRequest { + protected final WorkbookFilterApplyCellColorFilterBody body; /** * The request for this WorkbookFilterApplyCellColorFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyCellColorFilterRequest extends BaseWorkbookFilte * @param requestOptions the options for this request */ public WorkbookFilterApplyCellColorFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyCellColorFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyCellColorFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyCellColorFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyCellColorFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyCellColorFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyCellColorFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyCellColorFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequestBuilder.java index e0ca2c7a572..bd57cccd7b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCellColorFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCellColorFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyCellColorFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Cell Color Filter Request Builder. */ -public class WorkbookFilterApplyCellColorFilterRequestBuilder extends BaseWorkbookFilterApplyCellColorFilterRequestBuilder implements IWorkbookFilterApplyCellColorFilterRequestBuilder { +public class WorkbookFilterApplyCellColorFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyCellColorFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyCellColorFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyCellColorFilterRequestBuilder extends BaseWorkbo * @param color the color */ public WorkbookFilterApplyCellColorFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String color) { - super(requestUrl, client, requestOptions, color); + super(requestUrl, client, requestOptions); + bodyParams.put("color", color); + } + + /** + * Creates the IWorkbookFilterApplyCellColorFilterRequest + * + * @return the IWorkbookFilterApplyCellColorFilterRequest instance + */ + public IWorkbookFilterApplyCellColorFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyCellColorFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyCellColorFilterRequest instance + */ + public IWorkbookFilterApplyCellColorFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyCellColorFilterRequest request = new WorkbookFilterApplyCellColorFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("color")) { + request.body.color = getParameter("color"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequest.java index 07b414049a7..0129d464886 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyCustomFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCustomFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyCustomFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Custom Filter Request. */ -public class WorkbookFilterApplyCustomFilterRequest extends BaseWorkbookFilterApplyCustomFilterRequest implements IWorkbookFilterApplyCustomFilterRequest { +public class WorkbookFilterApplyCustomFilterRequest extends BaseRequest implements IWorkbookFilterApplyCustomFilterRequest { + protected final WorkbookFilterApplyCustomFilterBody body; /** * The request for this WorkbookFilterApplyCustomFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyCustomFilterRequest extends BaseWorkbookFilterAp * @param requestOptions the options for this request */ public WorkbookFilterApplyCustomFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyCustomFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyCustomFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyCustomFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyCustomFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyCustomFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyCustomFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyCustomFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequestBuilder.java index 48a3ae715aa..e1b0ba6293a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyCustomFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCustomFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyCustomFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Custom Filter Request Builder. */ -public class WorkbookFilterApplyCustomFilterRequestBuilder extends BaseWorkbookFilterApplyCustomFilterRequestBuilder implements IWorkbookFilterApplyCustomFilterRequestBuilder { +public class WorkbookFilterApplyCustomFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyCustomFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyCustomFilter @@ -26,6 +31,46 @@ public class WorkbookFilterApplyCustomFilterRequestBuilder extends BaseWorkbookF * @param oper the oper */ public WorkbookFilterApplyCustomFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String criteria1, final String criteria2, final String oper) { - super(requestUrl, client, requestOptions, criteria1, criteria2, oper); + super(requestUrl, client, requestOptions); + bodyParams.put("criteria1", criteria1); + bodyParams.put("criteria2", criteria2); + bodyParams.put("oper", oper); + } + + /** + * Creates the IWorkbookFilterApplyCustomFilterRequest + * + * @return the IWorkbookFilterApplyCustomFilterRequest instance + */ + public IWorkbookFilterApplyCustomFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyCustomFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyCustomFilterRequest instance + */ + public IWorkbookFilterApplyCustomFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyCustomFilterRequest request = new WorkbookFilterApplyCustomFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("criteria1")) { + request.body.criteria1 = getParameter("criteria1"); + } + + if (hasParameter("criteria2")) { + request.body.criteria2 = getParameter("criteria2"); + } + + if (hasParameter("oper")) { + request.body.oper = getParameter("oper"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequest.java index e4ce9c3be16..9bd2d6febfe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyDynamicFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyDynamicFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyDynamicFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Dynamic Filter Request. */ -public class WorkbookFilterApplyDynamicFilterRequest extends BaseWorkbookFilterApplyDynamicFilterRequest implements IWorkbookFilterApplyDynamicFilterRequest { +public class WorkbookFilterApplyDynamicFilterRequest extends BaseRequest implements IWorkbookFilterApplyDynamicFilterRequest { + protected final WorkbookFilterApplyDynamicFilterBody body; /** * The request for this WorkbookFilterApplyDynamicFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyDynamicFilterRequest extends BaseWorkbookFilterA * @param requestOptions the options for this request */ public WorkbookFilterApplyDynamicFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyDynamicFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyDynamicFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyDynamicFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyDynamicFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyDynamicFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyDynamicFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyDynamicFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequestBuilder.java index 4a727384baf..8b44374e7b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyDynamicFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyDynamicFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyDynamicFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Dynamic Filter Request Builder. */ -public class WorkbookFilterApplyDynamicFilterRequestBuilder extends BaseWorkbookFilterApplyDynamicFilterRequestBuilder implements IWorkbookFilterApplyDynamicFilterRequestBuilder { +public class WorkbookFilterApplyDynamicFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyDynamicFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyDynamicFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyDynamicFilterRequestBuilder extends BaseWorkbook * @param criteria the criteria */ public WorkbookFilterApplyDynamicFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String criteria) { - super(requestUrl, client, requestOptions, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFilterApplyDynamicFilterRequest + * + * @return the IWorkbookFilterApplyDynamicFilterRequest instance + */ + public IWorkbookFilterApplyDynamicFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyDynamicFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyDynamicFilterRequest instance + */ + public IWorkbookFilterApplyDynamicFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyDynamicFilterRequest request = new WorkbookFilterApplyDynamicFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequest.java index c1a889febef..520bd018add 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyFontColorFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyFontColorFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyFontColorFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Font Color Filter Request. */ -public class WorkbookFilterApplyFontColorFilterRequest extends BaseWorkbookFilterApplyFontColorFilterRequest implements IWorkbookFilterApplyFontColorFilterRequest { +public class WorkbookFilterApplyFontColorFilterRequest extends BaseRequest implements IWorkbookFilterApplyFontColorFilterRequest { + protected final WorkbookFilterApplyFontColorFilterBody body; /** * The request for this WorkbookFilterApplyFontColorFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyFontColorFilterRequest extends BaseWorkbookFilte * @param requestOptions the options for this request */ public WorkbookFilterApplyFontColorFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyFontColorFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyFontColorFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyFontColorFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyFontColorFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyFontColorFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyFontColorFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyFontColorFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequestBuilder.java index 95ba65ca290..fb87a352911 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyFontColorFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyFontColorFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyFontColorFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Font Color Filter Request Builder. */ -public class WorkbookFilterApplyFontColorFilterRequestBuilder extends BaseWorkbookFilterApplyFontColorFilterRequestBuilder implements IWorkbookFilterApplyFontColorFilterRequestBuilder { +public class WorkbookFilterApplyFontColorFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyFontColorFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyFontColorFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyFontColorFilterRequestBuilder extends BaseWorkbo * @param color the color */ public WorkbookFilterApplyFontColorFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String color) { - super(requestUrl, client, requestOptions, color); + super(requestUrl, client, requestOptions); + bodyParams.put("color", color); + } + + /** + * Creates the IWorkbookFilterApplyFontColorFilterRequest + * + * @return the IWorkbookFilterApplyFontColorFilterRequest instance + */ + public IWorkbookFilterApplyFontColorFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyFontColorFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyFontColorFilterRequest instance + */ + public IWorkbookFilterApplyFontColorFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyFontColorFilterRequest request = new WorkbookFilterApplyFontColorFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("color")) { + request.body.color = getParameter("color"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequest.java index 69ba42ac6dd..ecdada055af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyIconFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyIconFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyIconFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Icon Filter Request. */ -public class WorkbookFilterApplyIconFilterRequest extends BaseWorkbookFilterApplyIconFilterRequest implements IWorkbookFilterApplyIconFilterRequest { +public class WorkbookFilterApplyIconFilterRequest extends BaseRequest implements IWorkbookFilterApplyIconFilterRequest { + protected final WorkbookFilterApplyIconFilterBody body; /** * The request for this WorkbookFilterApplyIconFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyIconFilterRequest extends BaseWorkbookFilterAppl * @param requestOptions the options for this request */ public WorkbookFilterApplyIconFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyIconFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyIconFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyIconFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyIconFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyIconFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyIconFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyIconFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequestBuilder.java index f6fcf3be840..cfd0fe5ab30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyIconFilterRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyIconFilterRequest; +import com.microsoft.graph.models.extensions.WorkbookIcon; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookIcon; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyIconFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Icon Filter Request Builder. */ -public class WorkbookFilterApplyIconFilterRequestBuilder extends BaseWorkbookFilterApplyIconFilterRequestBuilder implements IWorkbookFilterApplyIconFilterRequestBuilder { +public class WorkbookFilterApplyIconFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyIconFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyIconFilter @@ -25,6 +30,36 @@ public class WorkbookFilterApplyIconFilterRequestBuilder extends BaseWorkbookFil * @param icon the icon */ public WorkbookFilterApplyIconFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final WorkbookIcon icon) { - super(requestUrl, client, requestOptions, icon); + super(requestUrl, client, requestOptions); + bodyParams.put("icon", icon); + } + + /** + * Creates the IWorkbookFilterApplyIconFilterRequest + * + * @return the IWorkbookFilterApplyIconFilterRequest instance + */ + public IWorkbookFilterApplyIconFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyIconFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyIconFilterRequest instance + */ + public IWorkbookFilterApplyIconFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyIconFilterRequest request = new WorkbookFilterApplyIconFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("icon")) { + request.body.icon = getParameter("icon"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequest.java index c1c7a914468..3f3ff301feb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Request. */ -public class WorkbookFilterApplyRequest extends BaseWorkbookFilterApplyRequest implements IWorkbookFilterApplyRequest { +public class WorkbookFilterApplyRequest extends BaseRequest implements IWorkbookFilterApplyRequest { + protected final WorkbookFilterApplyBody body; /** * The request for this WorkbookFilterApply @@ -23,6 +31,49 @@ public class WorkbookFilterApplyRequest extends BaseWorkbookFilterApplyRequest i * @param requestOptions the options for this request */ public WorkbookFilterApplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequestBuilder.java index 3fc9a9ffc21..62dac6ca91c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyRequest; +import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Request Builder. */ -public class WorkbookFilterApplyRequestBuilder extends BaseWorkbookFilterApplyRequestBuilder implements IWorkbookFilterApplyRequestBuilder { +public class WorkbookFilterApplyRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyRequestBuilder { /** * The request builder for this WorkbookFilterApply @@ -25,6 +30,36 @@ public class WorkbookFilterApplyRequestBuilder extends BaseWorkbookFilterApplyRe * @param criteria the criteria */ public WorkbookFilterApplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final WorkbookFilterCriteria criteria) { - super(requestUrl, client, requestOptions, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFilterApplyRequest + * + * @return the IWorkbookFilterApplyRequest instance + */ + public IWorkbookFilterApplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyRequest instance + */ + public IWorkbookFilterApplyRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyRequest request = new WorkbookFilterApplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequest.java index f17f3a4023e..471914f952a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyTopItemsFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopItemsFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyTopItemsFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Top Items Filter Request. */ -public class WorkbookFilterApplyTopItemsFilterRequest extends BaseWorkbookFilterApplyTopItemsFilterRequest implements IWorkbookFilterApplyTopItemsFilterRequest { +public class WorkbookFilterApplyTopItemsFilterRequest extends BaseRequest implements IWorkbookFilterApplyTopItemsFilterRequest { + protected final WorkbookFilterApplyTopItemsFilterBody body; /** * The request for this WorkbookFilterApplyTopItemsFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyTopItemsFilterRequest extends BaseWorkbookFilter * @param requestOptions the options for this request */ public WorkbookFilterApplyTopItemsFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyTopItemsFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyTopItemsFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyTopItemsFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyTopItemsFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyTopItemsFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyTopItemsFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyTopItemsFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequestBuilder.java index f7240160b7e..414e6433bf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopItemsFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopItemsFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyTopItemsFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Top Items Filter Request Builder. */ -public class WorkbookFilterApplyTopItemsFilterRequestBuilder extends BaseWorkbookFilterApplyTopItemsFilterRequestBuilder implements IWorkbookFilterApplyTopItemsFilterRequestBuilder { +public class WorkbookFilterApplyTopItemsFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyTopItemsFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyTopItemsFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyTopItemsFilterRequestBuilder extends BaseWorkboo * @param count the count */ public WorkbookFilterApplyTopItemsFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions, count); + super(requestUrl, client, requestOptions); + bodyParams.put("count", count); + } + + /** + * Creates the IWorkbookFilterApplyTopItemsFilterRequest + * + * @return the IWorkbookFilterApplyTopItemsFilterRequest instance + */ + public IWorkbookFilterApplyTopItemsFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyTopItemsFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyTopItemsFilterRequest instance + */ + public IWorkbookFilterApplyTopItemsFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyTopItemsFilterRequest request = new WorkbookFilterApplyTopItemsFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("count")) { + request.body.count = getParameter("count"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequest.java index 11810075758..636983ce2cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyTopPercentFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopPercentFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyTopPercentFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Top Percent Filter Request. */ -public class WorkbookFilterApplyTopPercentFilterRequest extends BaseWorkbookFilterApplyTopPercentFilterRequest implements IWorkbookFilterApplyTopPercentFilterRequest { +public class WorkbookFilterApplyTopPercentFilterRequest extends BaseRequest implements IWorkbookFilterApplyTopPercentFilterRequest { + protected final WorkbookFilterApplyTopPercentFilterBody body; /** * The request for this WorkbookFilterApplyTopPercentFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyTopPercentFilterRequest extends BaseWorkbookFilt * @param requestOptions the options for this request */ public WorkbookFilterApplyTopPercentFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyTopPercentFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyTopPercentFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyTopPercentFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyTopPercentFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyTopPercentFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyTopPercentFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyTopPercentFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequestBuilder.java index 618af80ee3a..e883ee091bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyTopPercentFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopPercentFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyTopPercentFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Top Percent Filter Request Builder. */ -public class WorkbookFilterApplyTopPercentFilterRequestBuilder extends BaseWorkbookFilterApplyTopPercentFilterRequestBuilder implements IWorkbookFilterApplyTopPercentFilterRequestBuilder { +public class WorkbookFilterApplyTopPercentFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyTopPercentFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyTopPercentFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyTopPercentFilterRequestBuilder extends BaseWorkb * @param percent the percent */ public WorkbookFilterApplyTopPercentFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer percent) { - super(requestUrl, client, requestOptions, percent); + super(requestUrl, client, requestOptions); + bodyParams.put("percent", percent); + } + + /** + * Creates the IWorkbookFilterApplyTopPercentFilterRequest + * + * @return the IWorkbookFilterApplyTopPercentFilterRequest instance + */ + public IWorkbookFilterApplyTopPercentFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyTopPercentFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyTopPercentFilterRequest instance + */ + public IWorkbookFilterApplyTopPercentFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyTopPercentFilterRequest request = new WorkbookFilterApplyTopPercentFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("percent")) { + request.body.percent = getParameter("percent"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequest.java index d939f696fde..c3f3e1ff56c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFilterApplyValuesFilterBody; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyValuesFilterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyValuesFilterRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Values Filter Request. */ -public class WorkbookFilterApplyValuesFilterRequest extends BaseWorkbookFilterApplyValuesFilterRequest implements IWorkbookFilterApplyValuesFilterRequest { +public class WorkbookFilterApplyValuesFilterRequest extends BaseRequest implements IWorkbookFilterApplyValuesFilterRequest { + protected final WorkbookFilterApplyValuesFilterBody body; /** * The request for this WorkbookFilterApplyValuesFilter @@ -23,6 +31,49 @@ public class WorkbookFilterApplyValuesFilterRequest extends BaseWorkbookFilterAp * @param requestOptions the options for this request */ public WorkbookFilterApplyValuesFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookFilterApplyValuesFilterBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterApplyValuesFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterApplyValuesFilterRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFilterApplyValuesFilterRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFilterApplyValuesFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterApplyValuesFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterApplyValuesFilterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequestBuilder.java index b1a623dd497..a7add30fd42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterApplyValuesFilterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyValuesFilterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterApplyValuesFilterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Apply Values Filter Request Builder. */ -public class WorkbookFilterApplyValuesFilterRequestBuilder extends BaseWorkbookFilterApplyValuesFilterRequestBuilder implements IWorkbookFilterApplyValuesFilterRequestBuilder { +public class WorkbookFilterApplyValuesFilterRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterApplyValuesFilterRequestBuilder { /** * The request builder for this WorkbookFilterApplyValuesFilter @@ -24,6 +29,36 @@ public class WorkbookFilterApplyValuesFilterRequestBuilder extends BaseWorkbookF * @param values the values */ public WorkbookFilterApplyValuesFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFilterApplyValuesFilterRequest + * + * @return the IWorkbookFilterApplyValuesFilterRequest instance + */ + public IWorkbookFilterApplyValuesFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterApplyValuesFilterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterApplyValuesFilterRequest instance + */ + public IWorkbookFilterApplyValuesFilterRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterApplyValuesFilterRequest request = new WorkbookFilterApplyValuesFilterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequest.java index 46856d90d4d..12f79e2096a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterClearRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Clear Request. */ -public class WorkbookFilterClearRequest extends BaseWorkbookFilterClearRequest implements IWorkbookFilterClearRequest { +public class WorkbookFilterClearRequest extends BaseRequest implements IWorkbookFilterClearRequest { /** * The request for this WorkbookFilterClear @@ -23,6 +30,35 @@ public class WorkbookFilterClearRequest extends BaseWorkbookFilterClearRequest i * @param requestOptions the options for this request */ public WorkbookFilterClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookFilterClear + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookFilterClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequestBuilder.java index 773474e2053..67de05195e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterClearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterClearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterClearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Clear Request Builder. */ -public class WorkbookFilterClearRequestBuilder extends BaseWorkbookFilterClearRequestBuilder implements IWorkbookFilterClearRequestBuilder { +public class WorkbookFilterClearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFilterClearRequestBuilder { /** * The request builder for this WorkbookFilterClear @@ -25,4 +30,29 @@ public class WorkbookFilterClearRequestBuilder extends BaseWorkbookFilterClearRe public WorkbookFilterClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFilterClearRequest + * + * @return the IWorkbookFilterClearRequest instance + */ + public IWorkbookFilterClearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFilterClearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFilterClearRequest instance + */ + public IWorkbookFilterClearRequest buildRequest(final java.util.List requestOptions) { + WorkbookFilterClearRequest request = new WorkbookFilterClearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequest.java index 71bab89fb93..3feff113ee8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterRequest; +import com.microsoft.graph.models.extensions.WorkbookFilter; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookFilter; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Request. */ -public class WorkbookFilterRequest extends BaseWorkbookFilterRequest implements IWorkbookFilterRequest { - +public class WorkbookFilterRequest extends BaseRequest implements IWorkbookFilterRequest { + /** * The request for the WorkbookFilter * @@ -26,4 +32,107 @@ public class WorkbookFilterRequest extends BaseWorkbookFilterRequest implements public WorkbookFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookFilter.class); } + + /** + * Gets the WorkbookFilter from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookFilter from the service + * + * @return the WorkbookFilter from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFilter get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookFilter with a source + * + * @param sourceWorkbookFilter the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookFilter sourceWorkbookFilter, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookFilter); + } + + /** + * Patches this WorkbookFilter with a source + * + * @param sourceWorkbookFilter the source object with updates + * @return the updated WorkbookFilter + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFilter patch(final WorkbookFilter sourceWorkbookFilter) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookFilter); + } + + /** + * Creates a WorkbookFilter with a new object + * + * @param newWorkbookFilter the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookFilter newWorkbookFilter, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookFilter); + } + + /** + * Creates a WorkbookFilter with a new object + * + * @param newWorkbookFilter the new object to create + * @return the created WorkbookFilter + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFilter post(final WorkbookFilter newWorkbookFilter) throws ClientException { + return send(HttpMethod.POST, newWorkbookFilter); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFilterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFilterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFilterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFilterRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequestBuilder.java index b1d8d1811f4..a890ba6398c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequestBuilder.java @@ -3,17 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFilterRequest; +import com.microsoft.graph.requests.extensions.WorkbookFilterRequest; +import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomItemsFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomPercentFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCellColorFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCustomFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyDynamicFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyFontColorFilterRequestBuilder; +import com.microsoft.graph.models.extensions.WorkbookIcon; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyIconFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopItemsFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopPercentFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterApplyValuesFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterClearRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFilterRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Filter Request Builder. */ -public class WorkbookFilterRequestBuilder extends BaseWorkbookFilterRequestBuilder implements IWorkbookFilterRequestBuilder { +public class WorkbookFilterRequestBuilder extends BaseRequestBuilder implements IWorkbookFilterRequestBuilder { /** * The request builder for the WorkbookFilter @@ -25,4 +54,74 @@ public class WorkbookFilterRequestBuilder extends BaseWorkbookFilterRequestBuild public WorkbookFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookFilterRequest instance + */ + public IWorkbookFilterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookFilterRequest instance + */ + public IWorkbookFilterRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookFilterRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookFilterApplyRequestBuilder apply(final WorkbookFilterCriteria criteria) { + return new WorkbookFilterApplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.apply"), getClient(), null, criteria); + } + + public IWorkbookFilterApplyBottomItemsFilterRequestBuilder applyBottomItemsFilter(final Integer count) { + return new WorkbookFilterApplyBottomItemsFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyBottomItemsFilter"), getClient(), null, count); + } + + public IWorkbookFilterApplyBottomPercentFilterRequestBuilder applyBottomPercentFilter(final Integer percent) { + return new WorkbookFilterApplyBottomPercentFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyBottomPercentFilter"), getClient(), null, percent); + } + + public IWorkbookFilterApplyCellColorFilterRequestBuilder applyCellColorFilter(final String color) { + return new WorkbookFilterApplyCellColorFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyCellColorFilter"), getClient(), null, color); + } + + public IWorkbookFilterApplyCustomFilterRequestBuilder applyCustomFilter(final String criteria1, final String criteria2, final String oper) { + return new WorkbookFilterApplyCustomFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyCustomFilter"), getClient(), null, criteria1, criteria2, oper); + } + + public IWorkbookFilterApplyDynamicFilterRequestBuilder applyDynamicFilter(final String criteria) { + return new WorkbookFilterApplyDynamicFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyDynamicFilter"), getClient(), null, criteria); + } + + public IWorkbookFilterApplyFontColorFilterRequestBuilder applyFontColorFilter(final String color) { + return new WorkbookFilterApplyFontColorFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyFontColorFilter"), getClient(), null, color); + } + + public IWorkbookFilterApplyIconFilterRequestBuilder applyIconFilter(final WorkbookIcon icon) { + return new WorkbookFilterApplyIconFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyIconFilter"), getClient(), null, icon); + } + + public IWorkbookFilterApplyTopItemsFilterRequestBuilder applyTopItemsFilter(final Integer count) { + return new WorkbookFilterApplyTopItemsFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyTopItemsFilter"), getClient(), null, count); + } + + public IWorkbookFilterApplyTopPercentFilterRequestBuilder applyTopPercentFilter(final Integer percent) { + return new WorkbookFilterApplyTopPercentFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyTopPercentFilter"), getClient(), null, percent); + } + + public IWorkbookFilterApplyValuesFilterRequestBuilder applyValuesFilter(final com.google.gson.JsonElement values) { + return new WorkbookFilterApplyValuesFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyValuesFilter"), getClient(), null, values); + } + + public IWorkbookFilterClearRequestBuilder clear() { + return new WorkbookFilterClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequest.java index 7ee56b08004..81fb9d06e5d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequest; +import com.microsoft.graph.requests.extensions.WorkbookFormatProtectionRequest; +import com.microsoft.graph.models.extensions.WorkbookFormatProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookFormatProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFormatProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Format Protection Request. */ -public class WorkbookFormatProtectionRequest extends BaseWorkbookFormatProtectionRequest implements IWorkbookFormatProtectionRequest { - +public class WorkbookFormatProtectionRequest extends BaseRequest implements IWorkbookFormatProtectionRequest { + /** * The request for the WorkbookFormatProtection * @@ -26,4 +32,107 @@ public class WorkbookFormatProtectionRequest extends BaseWorkbookFormatProtectio public WorkbookFormatProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookFormatProtection.class); } + + /** + * Gets the WorkbookFormatProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookFormatProtection from the service + * + * @return the WorkbookFormatProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFormatProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookFormatProtection with a source + * + * @param sourceWorkbookFormatProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookFormatProtection sourceWorkbookFormatProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookFormatProtection); + } + + /** + * Patches this WorkbookFormatProtection with a source + * + * @param sourceWorkbookFormatProtection the source object with updates + * @return the updated WorkbookFormatProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFormatProtection patch(final WorkbookFormatProtection sourceWorkbookFormatProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookFormatProtection); + } + + /** + * Creates a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookFormatProtection newWorkbookFormatProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookFormatProtection); + } + + /** + * Creates a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the new object to create + * @return the created WorkbookFormatProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFormatProtection post(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException { + return send(HttpMethod.POST, newWorkbookFormatProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFormatProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFormatProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFormatProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFormatProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequestBuilder.java index 5a5f244b1d0..0c10884e821 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequest; +import com.microsoft.graph.requests.extensions.WorkbookFormatProtectionRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFormatProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Format Protection Request Builder. */ -public class WorkbookFormatProtectionRequestBuilder extends BaseWorkbookFormatProtectionRequestBuilder implements IWorkbookFormatProtectionRequestBuilder { +public class WorkbookFormatProtectionRequestBuilder extends BaseRequestBuilder implements IWorkbookFormatProtectionRequestBuilder { /** * The request builder for the WorkbookFormatProtection @@ -25,4 +28,26 @@ public class WorkbookFormatProtectionRequestBuilder extends BaseWorkbookFormatPr public WorkbookFormatProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookFormatProtectionRequest instance + */ + public IWorkbookFormatProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookFormatProtectionRequest instance + */ + public IWorkbookFormatProtectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookFormatProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequest.java index 105cda7c7f2..efb7bbce4e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionResultRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionResultRequest; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionResultRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Function Result Request. */ -public class WorkbookFunctionResultRequest extends BaseWorkbookFunctionResultRequest implements IWorkbookFunctionResultRequest { - +public class WorkbookFunctionResultRequest extends BaseRequest implements IWorkbookFunctionResultRequest { + /** * The request for the WorkbookFunctionResult * @@ -26,4 +32,107 @@ public class WorkbookFunctionResultRequest extends BaseWorkbookFunctionResultReq public WorkbookFunctionResultRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Gets the WorkbookFunctionResult from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookFunctionResult from the service + * + * @return the WorkbookFunctionResult from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctionResult get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookFunctionResult with a source + * + * @param sourceWorkbookFunctionResult the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookFunctionResult sourceWorkbookFunctionResult, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookFunctionResult); + } + + /** + * Patches this WorkbookFunctionResult with a source + * + * @param sourceWorkbookFunctionResult the source object with updates + * @return the updated WorkbookFunctionResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctionResult patch(final WorkbookFunctionResult sourceWorkbookFunctionResult) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookFunctionResult); + } + + /** + * Creates a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookFunctionResult newWorkbookFunctionResult, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookFunctionResult); + } + + /** + * Creates a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the new object to create + * @return the created WorkbookFunctionResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctionResult post(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException { + return send(HttpMethod.POST, newWorkbookFunctionResult); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionResultRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionResultRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionResultRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionResultRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequestBuilder.java index 09d96cd42b5..d8081073b59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionResultRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionResultRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionResultRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Function Result Request Builder. */ -public class WorkbookFunctionResultRequestBuilder extends BaseWorkbookFunctionResultRequestBuilder implements IWorkbookFunctionResultRequestBuilder { +public class WorkbookFunctionResultRequestBuilder extends BaseRequestBuilder implements IWorkbookFunctionResultRequestBuilder { /** * The request builder for the WorkbookFunctionResult @@ -25,4 +28,26 @@ public class WorkbookFunctionResultRequestBuilder extends BaseWorkbookFunctionRe public WorkbookFunctionResultRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookFunctionResultRequest instance + */ + public IWorkbookFunctionResultRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookFunctionResultRequest instance + */ + public IWorkbookFunctionResultRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookFunctionResultRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequest.java index 79a97f99f23..5cb1da8ce9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAbsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAbsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAbsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Abs Request. */ -public class WorkbookFunctionsAbsRequest extends BaseWorkbookFunctionsAbsRequest implements IWorkbookFunctionsAbsRequest { +public class WorkbookFunctionsAbsRequest extends BaseRequest implements IWorkbookFunctionsAbsRequest { + protected final WorkbookFunctionsAbsBody body; /** * The request for this WorkbookFunctionsAbs @@ -23,6 +32,49 @@ public class WorkbookFunctionsAbsRequest extends BaseWorkbookFunctionsAbsRequest * @param requestOptions the options for this request */ public WorkbookFunctionsAbsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAbsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAbsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAbsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAbsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAbsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAbsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAbsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequestBuilder.java index 39881822216..7f02c89ddd7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAbsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAbsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAbsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Abs Request Builder. */ -public class WorkbookFunctionsAbsRequestBuilder extends BaseWorkbookFunctionsAbsRequestBuilder implements IWorkbookFunctionsAbsRequestBuilder { +public class WorkbookFunctionsAbsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAbsRequestBuilder { /** * The request builder for this WorkbookFunctionsAbs @@ -24,6 +29,36 @@ public class WorkbookFunctionsAbsRequestBuilder extends BaseWorkbookFunctionsAbs * @param number the number */ public WorkbookFunctionsAbsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAbsRequest + * + * @return the IWorkbookFunctionsAbsRequest instance + */ + public IWorkbookFunctionsAbsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAbsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAbsRequest instance + */ + public IWorkbookFunctionsAbsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAbsRequest request = new WorkbookFunctionsAbsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequest.java index addb3407d70..c4856b10f80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAccrIntMBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntMRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAccrIntMRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Accr Int MRequest. */ -public class WorkbookFunctionsAccrIntMRequest extends BaseWorkbookFunctionsAccrIntMRequest implements IWorkbookFunctionsAccrIntMRequest { +public class WorkbookFunctionsAccrIntMRequest extends BaseRequest implements IWorkbookFunctionsAccrIntMRequest { + protected final WorkbookFunctionsAccrIntMBody body; /** * The request for this WorkbookFunctionsAccrIntM @@ -23,6 +32,49 @@ public class WorkbookFunctionsAccrIntMRequest extends BaseWorkbookFunctionsAccrI * @param requestOptions the options for this request */ public WorkbookFunctionsAccrIntMRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAccrIntMBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAccrIntMRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAccrIntMRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAccrIntMRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAccrIntMRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAccrIntMRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAccrIntMRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequestBuilder.java index 4213b2e0f2b..27bada981e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntMRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntMRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAccrIntMRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Accr Int MRequest Builder. */ -public class WorkbookFunctionsAccrIntMRequestBuilder extends BaseWorkbookFunctionsAccrIntMRequestBuilder implements IWorkbookFunctionsAccrIntMRequestBuilder { +public class WorkbookFunctionsAccrIntMRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAccrIntMRequestBuilder { /** * The request builder for this WorkbookFunctionsAccrIntM @@ -28,6 +33,56 @@ public class WorkbookFunctionsAccrIntMRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsAccrIntMRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, issue, settlement, rate, par, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("issue", issue); + bodyParams.put("settlement", settlement); + bodyParams.put("rate", rate); + bodyParams.put("par", par); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsAccrIntMRequest + * + * @return the IWorkbookFunctionsAccrIntMRequest instance + */ + public IWorkbookFunctionsAccrIntMRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAccrIntMRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAccrIntMRequest instance + */ + public IWorkbookFunctionsAccrIntMRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAccrIntMRequest request = new WorkbookFunctionsAccrIntMRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("issue")) { + request.body.issue = getParameter("issue"); + } + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("par")) { + request.body.par = getParameter("par"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequest.java index 3265c80110d..90ab98bc88c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAccrIntBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAccrIntRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Accr Int Request. */ -public class WorkbookFunctionsAccrIntRequest extends BaseWorkbookFunctionsAccrIntRequest implements IWorkbookFunctionsAccrIntRequest { +public class WorkbookFunctionsAccrIntRequest extends BaseRequest implements IWorkbookFunctionsAccrIntRequest { + protected final WorkbookFunctionsAccrIntBody body; /** * The request for this WorkbookFunctionsAccrInt @@ -23,6 +32,49 @@ public class WorkbookFunctionsAccrIntRequest extends BaseWorkbookFunctionsAccrIn * @param requestOptions the options for this request */ public WorkbookFunctionsAccrIntRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAccrIntBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAccrIntRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAccrIntRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAccrIntRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAccrIntRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAccrIntRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAccrIntRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequestBuilder.java index ae08af935c3..c7184b748c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAccrIntRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAccrIntRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Accr Int Request Builder. */ -public class WorkbookFunctionsAccrIntRequestBuilder extends BaseWorkbookFunctionsAccrIntRequestBuilder implements IWorkbookFunctionsAccrIntRequestBuilder { +public class WorkbookFunctionsAccrIntRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAccrIntRequestBuilder { /** * The request builder for this WorkbookFunctionsAccrInt @@ -31,6 +36,71 @@ public class WorkbookFunctionsAccrIntRequestBuilder extends BaseWorkbookFunction * @param calcMethod the calcMethod */ public WorkbookFunctionsAccrIntRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstInterest, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis, final com.google.gson.JsonElement calcMethod) { - super(requestUrl, client, requestOptions, issue, firstInterest, settlement, rate, par, frequency, basis, calcMethod); + super(requestUrl, client, requestOptions); + bodyParams.put("issue", issue); + bodyParams.put("firstInterest", firstInterest); + bodyParams.put("settlement", settlement); + bodyParams.put("rate", rate); + bodyParams.put("par", par); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + bodyParams.put("calcMethod", calcMethod); + } + + /** + * Creates the IWorkbookFunctionsAccrIntRequest + * + * @return the IWorkbookFunctionsAccrIntRequest instance + */ + public IWorkbookFunctionsAccrIntRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAccrIntRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAccrIntRequest instance + */ + public IWorkbookFunctionsAccrIntRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAccrIntRequest request = new WorkbookFunctionsAccrIntRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("issue")) { + request.body.issue = getParameter("issue"); + } + + if (hasParameter("firstInterest")) { + request.body.firstInterest = getParameter("firstInterest"); + } + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("par")) { + request.body.par = getParameter("par"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + if (hasParameter("calcMethod")) { + request.body.calcMethod = getParameter("calcMethod"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequest.java index 03e9aa3cf4c..1ef91e91488 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAcosBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcosRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcosRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acos Request. */ -public class WorkbookFunctionsAcosRequest extends BaseWorkbookFunctionsAcosRequest implements IWorkbookFunctionsAcosRequest { +public class WorkbookFunctionsAcosRequest extends BaseRequest implements IWorkbookFunctionsAcosRequest { + protected final WorkbookFunctionsAcosBody body; /** * The request for this WorkbookFunctionsAcos @@ -23,6 +32,49 @@ public class WorkbookFunctionsAcosRequest extends BaseWorkbookFunctionsAcosReque * @param requestOptions the options for this request */ public WorkbookFunctionsAcosRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAcosBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAcosRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAcosRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAcosRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAcosRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAcosRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAcosRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequestBuilder.java index e1daeb9c9a8..5d292875976 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcosRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcosRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcosRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acos Request Builder. */ -public class WorkbookFunctionsAcosRequestBuilder extends BaseWorkbookFunctionsAcosRequestBuilder implements IWorkbookFunctionsAcosRequestBuilder { +public class WorkbookFunctionsAcosRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAcosRequestBuilder { /** * The request builder for this WorkbookFunctionsAcos @@ -24,6 +29,36 @@ public class WorkbookFunctionsAcosRequestBuilder extends BaseWorkbookFunctionsAc * @param number the number */ public WorkbookFunctionsAcosRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAcosRequest + * + * @return the IWorkbookFunctionsAcosRequest instance + */ + public IWorkbookFunctionsAcosRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAcosRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcosRequest instance + */ + public IWorkbookFunctionsAcosRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAcosRequest request = new WorkbookFunctionsAcosRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequest.java index be0b6f71298..e1e97a62ff7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAcoshBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcoshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcoshRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acosh Request. */ -public class WorkbookFunctionsAcoshRequest extends BaseWorkbookFunctionsAcoshRequest implements IWorkbookFunctionsAcoshRequest { +public class WorkbookFunctionsAcoshRequest extends BaseRequest implements IWorkbookFunctionsAcoshRequest { + protected final WorkbookFunctionsAcoshBody body; /** * The request for this WorkbookFunctionsAcosh @@ -23,6 +32,49 @@ public class WorkbookFunctionsAcoshRequest extends BaseWorkbookFunctionsAcoshReq * @param requestOptions the options for this request */ public WorkbookFunctionsAcoshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAcoshBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAcoshRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAcoshRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAcoshRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAcoshRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAcoshRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAcoshRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequestBuilder.java index a5449a4f647..e96b855471a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcoshRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcoshRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcoshRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acosh Request Builder. */ -public class WorkbookFunctionsAcoshRequestBuilder extends BaseWorkbookFunctionsAcoshRequestBuilder implements IWorkbookFunctionsAcoshRequestBuilder { +public class WorkbookFunctionsAcoshRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAcoshRequestBuilder { /** * The request builder for this WorkbookFunctionsAcosh @@ -24,6 +29,36 @@ public class WorkbookFunctionsAcoshRequestBuilder extends BaseWorkbookFunctionsA * @param number the number */ public WorkbookFunctionsAcoshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAcoshRequest + * + * @return the IWorkbookFunctionsAcoshRequest instance + */ + public IWorkbookFunctionsAcoshRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAcoshRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcoshRequest instance + */ + public IWorkbookFunctionsAcoshRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAcoshRequest request = new WorkbookFunctionsAcoshRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequest.java index 0e71368142a..4ca7d595cc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAcotBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcotRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acot Request. */ -public class WorkbookFunctionsAcotRequest extends BaseWorkbookFunctionsAcotRequest implements IWorkbookFunctionsAcotRequest { +public class WorkbookFunctionsAcotRequest extends BaseRequest implements IWorkbookFunctionsAcotRequest { + protected final WorkbookFunctionsAcotBody body; /** * The request for this WorkbookFunctionsAcot @@ -23,6 +32,49 @@ public class WorkbookFunctionsAcotRequest extends BaseWorkbookFunctionsAcotReque * @param requestOptions the options for this request */ public WorkbookFunctionsAcotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAcotBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAcotRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAcotRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAcotRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAcotRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAcotRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAcotRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequestBuilder.java index db265220a21..ded13b503d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcotRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcotRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcotRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acot Request Builder. */ -public class WorkbookFunctionsAcotRequestBuilder extends BaseWorkbookFunctionsAcotRequestBuilder implements IWorkbookFunctionsAcotRequestBuilder { +public class WorkbookFunctionsAcotRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAcotRequestBuilder { /** * The request builder for this WorkbookFunctionsAcot @@ -24,6 +29,36 @@ public class WorkbookFunctionsAcotRequestBuilder extends BaseWorkbookFunctionsAc * @param number the number */ public WorkbookFunctionsAcotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAcotRequest + * + * @return the IWorkbookFunctionsAcotRequest instance + */ + public IWorkbookFunctionsAcotRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAcotRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcotRequest instance + */ + public IWorkbookFunctionsAcotRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAcotRequest request = new WorkbookFunctionsAcotRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequest.java index 52719667a3c..1bacc53c79e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAcothBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcothRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcothRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acoth Request. */ -public class WorkbookFunctionsAcothRequest extends BaseWorkbookFunctionsAcothRequest implements IWorkbookFunctionsAcothRequest { +public class WorkbookFunctionsAcothRequest extends BaseRequest implements IWorkbookFunctionsAcothRequest { + protected final WorkbookFunctionsAcothBody body; /** * The request for this WorkbookFunctionsAcoth @@ -23,6 +32,49 @@ public class WorkbookFunctionsAcothRequest extends BaseWorkbookFunctionsAcothReq * @param requestOptions the options for this request */ public WorkbookFunctionsAcothRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAcothBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAcothRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAcothRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAcothRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAcothRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAcothRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAcothRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequestBuilder.java index 7342e3cd5f9..d51d6d5f503 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAcothRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcothRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAcothRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Acoth Request Builder. */ -public class WorkbookFunctionsAcothRequestBuilder extends BaseWorkbookFunctionsAcothRequestBuilder implements IWorkbookFunctionsAcothRequestBuilder { +public class WorkbookFunctionsAcothRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAcothRequestBuilder { /** * The request builder for this WorkbookFunctionsAcoth @@ -24,6 +29,36 @@ public class WorkbookFunctionsAcothRequestBuilder extends BaseWorkbookFunctionsA * @param number the number */ public WorkbookFunctionsAcothRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAcothRequest + * + * @return the IWorkbookFunctionsAcothRequest instance + */ + public IWorkbookFunctionsAcothRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAcothRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAcothRequest instance + */ + public IWorkbookFunctionsAcothRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAcothRequest request = new WorkbookFunctionsAcothRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequest.java index ba97c843e6a..fb95f262ca0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAmorDegrcBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorDegrcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAmorDegrcRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Amor Degrc Request. */ -public class WorkbookFunctionsAmorDegrcRequest extends BaseWorkbookFunctionsAmorDegrcRequest implements IWorkbookFunctionsAmorDegrcRequest { +public class WorkbookFunctionsAmorDegrcRequest extends BaseRequest implements IWorkbookFunctionsAmorDegrcRequest { + protected final WorkbookFunctionsAmorDegrcBody body; /** * The request for this WorkbookFunctionsAmorDegrc @@ -23,6 +32,49 @@ public class WorkbookFunctionsAmorDegrcRequest extends BaseWorkbookFunctionsAmor * @param requestOptions the options for this request */ public WorkbookFunctionsAmorDegrcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAmorDegrcBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAmorDegrcRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAmorDegrcRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAmorDegrcRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAmorDegrcRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAmorDegrcRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAmorDegrcRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequestBuilder.java index cdcb1a9b792..86382dc17f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorDegrcRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorDegrcRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAmorDegrcRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Amor Degrc Request Builder. */ -public class WorkbookFunctionsAmorDegrcRequestBuilder extends BaseWorkbookFunctionsAmorDegrcRequestBuilder implements IWorkbookFunctionsAmorDegrcRequestBuilder { +public class WorkbookFunctionsAmorDegrcRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAmorDegrcRequestBuilder { /** * The request builder for this WorkbookFunctionsAmorDegrc @@ -30,6 +35,66 @@ public class WorkbookFunctionsAmorDegrcRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsAmorDegrcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, cost, datePurchased, firstPeriod, salvage, period, rate, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("datePurchased", datePurchased); + bodyParams.put("firstPeriod", firstPeriod); + bodyParams.put("salvage", salvage); + bodyParams.put("period", period); + bodyParams.put("rate", rate); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsAmorDegrcRequest + * + * @return the IWorkbookFunctionsAmorDegrcRequest instance + */ + public IWorkbookFunctionsAmorDegrcRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAmorDegrcRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAmorDegrcRequest instance + */ + public IWorkbookFunctionsAmorDegrcRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAmorDegrcRequest request = new WorkbookFunctionsAmorDegrcRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("datePurchased")) { + request.body.datePurchased = getParameter("datePurchased"); + } + + if (hasParameter("firstPeriod")) { + request.body.firstPeriod = getParameter("firstPeriod"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("period")) { + request.body.period = getParameter("period"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequest.java index 37e3811693e..8bed9aa9269 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAmorLincBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorLincRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAmorLincRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Amor Linc Request. */ -public class WorkbookFunctionsAmorLincRequest extends BaseWorkbookFunctionsAmorLincRequest implements IWorkbookFunctionsAmorLincRequest { +public class WorkbookFunctionsAmorLincRequest extends BaseRequest implements IWorkbookFunctionsAmorLincRequest { + protected final WorkbookFunctionsAmorLincBody body; /** * The request for this WorkbookFunctionsAmorLinc @@ -23,6 +32,49 @@ public class WorkbookFunctionsAmorLincRequest extends BaseWorkbookFunctionsAmorL * @param requestOptions the options for this request */ public WorkbookFunctionsAmorLincRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAmorLincBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAmorLincRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAmorLincRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAmorLincRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAmorLincRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAmorLincRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAmorLincRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequestBuilder.java index a55b43eb0c2..f4dd5554a72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAmorLincRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorLincRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAmorLincRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Amor Linc Request Builder. */ -public class WorkbookFunctionsAmorLincRequestBuilder extends BaseWorkbookFunctionsAmorLincRequestBuilder implements IWorkbookFunctionsAmorLincRequestBuilder { +public class WorkbookFunctionsAmorLincRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAmorLincRequestBuilder { /** * The request builder for this WorkbookFunctionsAmorLinc @@ -30,6 +35,66 @@ public class WorkbookFunctionsAmorLincRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsAmorLincRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, cost, datePurchased, firstPeriod, salvage, period, rate, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("datePurchased", datePurchased); + bodyParams.put("firstPeriod", firstPeriod); + bodyParams.put("salvage", salvage); + bodyParams.put("period", period); + bodyParams.put("rate", rate); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsAmorLincRequest + * + * @return the IWorkbookFunctionsAmorLincRequest instance + */ + public IWorkbookFunctionsAmorLincRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAmorLincRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAmorLincRequest instance + */ + public IWorkbookFunctionsAmorLincRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAmorLincRequest request = new WorkbookFunctionsAmorLincRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("datePurchased")) { + request.body.datePurchased = getParameter("datePurchased"); + } + + if (hasParameter("firstPeriod")) { + request.body.firstPeriod = getParameter("firstPeriod"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("period")) { + request.body.period = getParameter("period"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequest.java index 10238848206..0b2c23ade9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAndBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAndRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAndRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions And Request. */ -public class WorkbookFunctionsAndRequest extends BaseWorkbookFunctionsAndRequest implements IWorkbookFunctionsAndRequest { +public class WorkbookFunctionsAndRequest extends BaseRequest implements IWorkbookFunctionsAndRequest { + protected final WorkbookFunctionsAndBody body; /** * The request for this WorkbookFunctionsAnd @@ -23,6 +32,49 @@ public class WorkbookFunctionsAndRequest extends BaseWorkbookFunctionsAndRequest * @param requestOptions the options for this request */ public WorkbookFunctionsAndRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAndBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAndRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAndRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAndRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAndRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAndRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAndRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequestBuilder.java index d3d01e98c8b..e1037b82159 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAndRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAndRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAndRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions And Request Builder. */ -public class WorkbookFunctionsAndRequestBuilder extends BaseWorkbookFunctionsAndRequestBuilder implements IWorkbookFunctionsAndRequestBuilder { +public class WorkbookFunctionsAndRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAndRequestBuilder { /** * The request builder for this WorkbookFunctionsAnd @@ -24,6 +29,36 @@ public class WorkbookFunctionsAndRequestBuilder extends BaseWorkbookFunctionsAnd * @param values the values */ public WorkbookFunctionsAndRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsAndRequest + * + * @return the IWorkbookFunctionsAndRequest instance + */ + public IWorkbookFunctionsAndRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAndRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAndRequest instance + */ + public IWorkbookFunctionsAndRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAndRequest request = new WorkbookFunctionsAndRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequest.java index 6aeac102897..674a70a9700 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsArabicBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsArabicRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsArabicRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Arabic Request. */ -public class WorkbookFunctionsArabicRequest extends BaseWorkbookFunctionsArabicRequest implements IWorkbookFunctionsArabicRequest { +public class WorkbookFunctionsArabicRequest extends BaseRequest implements IWorkbookFunctionsArabicRequest { + protected final WorkbookFunctionsArabicBody body; /** * The request for this WorkbookFunctionsArabic @@ -23,6 +32,49 @@ public class WorkbookFunctionsArabicRequest extends BaseWorkbookFunctionsArabicR * @param requestOptions the options for this request */ public WorkbookFunctionsArabicRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsArabicBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsArabicRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsArabicRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsArabicRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsArabicRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsArabicRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsArabicRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequestBuilder.java index daf79c6f4c6..9476208509b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsArabicRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsArabicRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsArabicRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Arabic Request Builder. */ -public class WorkbookFunctionsArabicRequestBuilder extends BaseWorkbookFunctionsArabicRequestBuilder implements IWorkbookFunctionsArabicRequestBuilder { +public class WorkbookFunctionsArabicRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsArabicRequestBuilder { /** * The request builder for this WorkbookFunctionsArabic @@ -24,6 +29,36 @@ public class WorkbookFunctionsArabicRequestBuilder extends BaseWorkbookFunctions * @param text the text */ public WorkbookFunctionsArabicRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsArabicRequest + * + * @return the IWorkbookFunctionsArabicRequest instance + */ + public IWorkbookFunctionsArabicRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsArabicRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsArabicRequest instance + */ + public IWorkbookFunctionsArabicRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsArabicRequest request = new WorkbookFunctionsArabicRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequest.java index 6aac52fbd7a..fd9dca5ae0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAreasBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAreasRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAreasRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Areas Request. */ -public class WorkbookFunctionsAreasRequest extends BaseWorkbookFunctionsAreasRequest implements IWorkbookFunctionsAreasRequest { +public class WorkbookFunctionsAreasRequest extends BaseRequest implements IWorkbookFunctionsAreasRequest { + protected final WorkbookFunctionsAreasBody body; /** * The request for this WorkbookFunctionsAreas @@ -23,6 +32,49 @@ public class WorkbookFunctionsAreasRequest extends BaseWorkbookFunctionsAreasReq * @param requestOptions the options for this request */ public WorkbookFunctionsAreasRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAreasBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAreasRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAreasRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAreasRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAreasRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAreasRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAreasRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequestBuilder.java index e21e8837f27..24bf29d168b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAreasRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAreasRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAreasRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Areas Request Builder. */ -public class WorkbookFunctionsAreasRequestBuilder extends BaseWorkbookFunctionsAreasRequestBuilder implements IWorkbookFunctionsAreasRequestBuilder { +public class WorkbookFunctionsAreasRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAreasRequestBuilder { /** * The request builder for this WorkbookFunctionsAreas @@ -24,6 +29,36 @@ public class WorkbookFunctionsAreasRequestBuilder extends BaseWorkbookFunctionsA * @param reference the reference */ public WorkbookFunctionsAreasRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement reference) { - super(requestUrl, client, requestOptions, reference); + super(requestUrl, client, requestOptions); + bodyParams.put("reference", reference); + } + + /** + * Creates the IWorkbookFunctionsAreasRequest + * + * @return the IWorkbookFunctionsAreasRequest instance + */ + public IWorkbookFunctionsAreasRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAreasRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAreasRequest instance + */ + public IWorkbookFunctionsAreasRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAreasRequest request = new WorkbookFunctionsAreasRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("reference")) { + request.body.reference = getParameter("reference"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequest.java index 1bd41279ce3..1cf49f4f585 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAscBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAscRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asc Request. */ -public class WorkbookFunctionsAscRequest extends BaseWorkbookFunctionsAscRequest implements IWorkbookFunctionsAscRequest { +public class WorkbookFunctionsAscRequest extends BaseRequest implements IWorkbookFunctionsAscRequest { + protected final WorkbookFunctionsAscBody body; /** * The request for this WorkbookFunctionsAsc @@ -23,6 +32,49 @@ public class WorkbookFunctionsAscRequest extends BaseWorkbookFunctionsAscRequest * @param requestOptions the options for this request */ public WorkbookFunctionsAscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAscBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAscRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAscRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAscRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAscRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAscRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAscRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequestBuilder.java index 10b8b8ef8ed..fc0e3cc7ce4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAscRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAscRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAscRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asc Request Builder. */ -public class WorkbookFunctionsAscRequestBuilder extends BaseWorkbookFunctionsAscRequestBuilder implements IWorkbookFunctionsAscRequestBuilder { +public class WorkbookFunctionsAscRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAscRequestBuilder { /** * The request builder for this WorkbookFunctionsAsc @@ -24,6 +29,36 @@ public class WorkbookFunctionsAscRequestBuilder extends BaseWorkbookFunctionsAsc * @param text the text */ public WorkbookFunctionsAscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsAscRequest + * + * @return the IWorkbookFunctionsAscRequest instance + */ + public IWorkbookFunctionsAscRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAscRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAscRequest instance + */ + public IWorkbookFunctionsAscRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAscRequest request = new WorkbookFunctionsAscRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequest.java index 688da60d620..6b933cd9ce2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAsinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAsinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asin Request. */ -public class WorkbookFunctionsAsinRequest extends BaseWorkbookFunctionsAsinRequest implements IWorkbookFunctionsAsinRequest { +public class WorkbookFunctionsAsinRequest extends BaseRequest implements IWorkbookFunctionsAsinRequest { + protected final WorkbookFunctionsAsinBody body; /** * The request for this WorkbookFunctionsAsin @@ -23,6 +32,49 @@ public class WorkbookFunctionsAsinRequest extends BaseWorkbookFunctionsAsinReque * @param requestOptions the options for this request */ public WorkbookFunctionsAsinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAsinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAsinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAsinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAsinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAsinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAsinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAsinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequestBuilder.java index ca182c2e04f..4efb750cb8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAsinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asin Request Builder. */ -public class WorkbookFunctionsAsinRequestBuilder extends BaseWorkbookFunctionsAsinRequestBuilder implements IWorkbookFunctionsAsinRequestBuilder { +public class WorkbookFunctionsAsinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAsinRequestBuilder { /** * The request builder for this WorkbookFunctionsAsin @@ -24,6 +29,36 @@ public class WorkbookFunctionsAsinRequestBuilder extends BaseWorkbookFunctionsAs * @param number the number */ public WorkbookFunctionsAsinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAsinRequest + * + * @return the IWorkbookFunctionsAsinRequest instance + */ + public IWorkbookFunctionsAsinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAsinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAsinRequest instance + */ + public IWorkbookFunctionsAsinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAsinRequest request = new WorkbookFunctionsAsinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequest.java index 154f9e4ea77..63201667dfe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAsinhBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAsinhRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asinh Request. */ -public class WorkbookFunctionsAsinhRequest extends BaseWorkbookFunctionsAsinhRequest implements IWorkbookFunctionsAsinhRequest { +public class WorkbookFunctionsAsinhRequest extends BaseRequest implements IWorkbookFunctionsAsinhRequest { + protected final WorkbookFunctionsAsinhBody body; /** * The request for this WorkbookFunctionsAsinh @@ -23,6 +32,49 @@ public class WorkbookFunctionsAsinhRequest extends BaseWorkbookFunctionsAsinhReq * @param requestOptions the options for this request */ public WorkbookFunctionsAsinhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAsinhBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAsinhRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAsinhRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAsinhRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAsinhRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAsinhRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAsinhRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequestBuilder.java index 12b424e02fb..5d0c9a2adc5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAsinhRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinhRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAsinhRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Asinh Request Builder. */ -public class WorkbookFunctionsAsinhRequestBuilder extends BaseWorkbookFunctionsAsinhRequestBuilder implements IWorkbookFunctionsAsinhRequestBuilder { +public class WorkbookFunctionsAsinhRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAsinhRequestBuilder { /** * The request builder for this WorkbookFunctionsAsinh @@ -24,6 +29,36 @@ public class WorkbookFunctionsAsinhRequestBuilder extends BaseWorkbookFunctionsA * @param number the number */ public WorkbookFunctionsAsinhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAsinhRequest + * + * @return the IWorkbookFunctionsAsinhRequest instance + */ + public IWorkbookFunctionsAsinhRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAsinhRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAsinhRequest instance + */ + public IWorkbookFunctionsAsinhRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAsinhRequest request = new WorkbookFunctionsAsinhRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2Request.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2Request.java index 33a0a82f415..d6ca4ca5aae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2Request.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAtan2Body; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtan2Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAtan2Request; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atan2Request. */ -public class WorkbookFunctionsAtan2Request extends BaseWorkbookFunctionsAtan2Request implements IWorkbookFunctionsAtan2Request { +public class WorkbookFunctionsAtan2Request extends BaseRequest implements IWorkbookFunctionsAtan2Request { + protected final WorkbookFunctionsAtan2Body body; /** * The request for this WorkbookFunctionsAtan2 @@ -23,6 +32,49 @@ public class WorkbookFunctionsAtan2Request extends BaseWorkbookFunctionsAtan2Req * @param requestOptions the options for this request */ public WorkbookFunctionsAtan2Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAtan2Body(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAtan2Request select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAtan2Request)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAtan2Request top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAtan2Request)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAtan2Request expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAtan2Request)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2RequestBuilder.java index 2720224eea5..90a65d16e0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtan2RequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtan2Request; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAtan2RequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atan2Request Builder. */ -public class WorkbookFunctionsAtan2RequestBuilder extends BaseWorkbookFunctionsAtan2RequestBuilder implements IWorkbookFunctionsAtan2RequestBuilder { +public class WorkbookFunctionsAtan2RequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAtan2RequestBuilder { /** * The request builder for this WorkbookFunctionsAtan2 @@ -25,6 +30,41 @@ public class WorkbookFunctionsAtan2RequestBuilder extends BaseWorkbookFunctionsA * @param yNum the yNum */ public WorkbookFunctionsAtan2RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement xNum, final com.google.gson.JsonElement yNum) { - super(requestUrl, client, requestOptions, xNum, yNum); + super(requestUrl, client, requestOptions); + bodyParams.put("xNum", xNum); + bodyParams.put("yNum", yNum); + } + + /** + * Creates the IWorkbookFunctionsAtan2Request + * + * @return the IWorkbookFunctionsAtan2Request instance + */ + public IWorkbookFunctionsAtan2Request buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAtan2Request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAtan2Request instance + */ + public IWorkbookFunctionsAtan2Request buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAtan2Request request = new WorkbookFunctionsAtan2Request( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("xNum")) { + request.body.xNum = getParameter("xNum"); + } + + if (hasParameter("yNum")) { + request.body.yNum = getParameter("yNum"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequest.java index 57abacbfae9..5a815143b8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAtanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAtanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atan Request. */ -public class WorkbookFunctionsAtanRequest extends BaseWorkbookFunctionsAtanRequest implements IWorkbookFunctionsAtanRequest { +public class WorkbookFunctionsAtanRequest extends BaseRequest implements IWorkbookFunctionsAtanRequest { + protected final WorkbookFunctionsAtanBody body; /** * The request for this WorkbookFunctionsAtan @@ -23,6 +32,49 @@ public class WorkbookFunctionsAtanRequest extends BaseWorkbookFunctionsAtanReque * @param requestOptions the options for this request */ public WorkbookFunctionsAtanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAtanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAtanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAtanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAtanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAtanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAtanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAtanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequestBuilder.java index 314980a0e41..bcee05dd578 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAtanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atan Request Builder. */ -public class WorkbookFunctionsAtanRequestBuilder extends BaseWorkbookFunctionsAtanRequestBuilder implements IWorkbookFunctionsAtanRequestBuilder { +public class WorkbookFunctionsAtanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAtanRequestBuilder { /** * The request builder for this WorkbookFunctionsAtan @@ -24,6 +29,36 @@ public class WorkbookFunctionsAtanRequestBuilder extends BaseWorkbookFunctionsAt * @param number the number */ public WorkbookFunctionsAtanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAtanRequest + * + * @return the IWorkbookFunctionsAtanRequest instance + */ + public IWorkbookFunctionsAtanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAtanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAtanRequest instance + */ + public IWorkbookFunctionsAtanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAtanRequest request = new WorkbookFunctionsAtanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequest.java index b40f4f3be52..b14b9a9d7b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAtanhBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAtanhRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atanh Request. */ -public class WorkbookFunctionsAtanhRequest extends BaseWorkbookFunctionsAtanhRequest implements IWorkbookFunctionsAtanhRequest { +public class WorkbookFunctionsAtanhRequest extends BaseRequest implements IWorkbookFunctionsAtanhRequest { + protected final WorkbookFunctionsAtanhBody body; /** * The request for this WorkbookFunctionsAtanh @@ -23,6 +32,49 @@ public class WorkbookFunctionsAtanhRequest extends BaseWorkbookFunctionsAtanhReq * @param requestOptions the options for this request */ public WorkbookFunctionsAtanhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAtanhBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAtanhRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAtanhRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAtanhRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAtanhRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAtanhRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAtanhRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequestBuilder.java index a2bf45faae6..939a3a22378 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAtanhRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanhRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAtanhRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Atanh Request Builder. */ -public class WorkbookFunctionsAtanhRequestBuilder extends BaseWorkbookFunctionsAtanhRequestBuilder implements IWorkbookFunctionsAtanhRequestBuilder { +public class WorkbookFunctionsAtanhRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAtanhRequestBuilder { /** * The request builder for this WorkbookFunctionsAtanh @@ -24,6 +29,36 @@ public class WorkbookFunctionsAtanhRequestBuilder extends BaseWorkbookFunctionsA * @param number the number */ public WorkbookFunctionsAtanhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsAtanhRequest + * + * @return the IWorkbookFunctionsAtanhRequest instance + */ + public IWorkbookFunctionsAtanhRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAtanhRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAtanhRequest instance + */ + public IWorkbookFunctionsAtanhRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAtanhRequest request = new WorkbookFunctionsAtanhRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequest.java index a7faed9c4fe..e45eed52676 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAveDevBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAveDevRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAveDevRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ave Dev Request. */ -public class WorkbookFunctionsAveDevRequest extends BaseWorkbookFunctionsAveDevRequest implements IWorkbookFunctionsAveDevRequest { +public class WorkbookFunctionsAveDevRequest extends BaseRequest implements IWorkbookFunctionsAveDevRequest { + protected final WorkbookFunctionsAveDevBody body; /** * The request for this WorkbookFunctionsAveDev @@ -23,6 +32,49 @@ public class WorkbookFunctionsAveDevRequest extends BaseWorkbookFunctionsAveDevR * @param requestOptions the options for this request */ public WorkbookFunctionsAveDevRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAveDevBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAveDevRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAveDevRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAveDevRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAveDevRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAveDevRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAveDevRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequestBuilder.java index e7ead492185..8841fe2bad0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAveDevRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAveDevRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAveDevRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ave Dev Request Builder. */ -public class WorkbookFunctionsAveDevRequestBuilder extends BaseWorkbookFunctionsAveDevRequestBuilder implements IWorkbookFunctionsAveDevRequestBuilder { +public class WorkbookFunctionsAveDevRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAveDevRequestBuilder { /** * The request builder for this WorkbookFunctionsAveDev @@ -24,6 +29,36 @@ public class WorkbookFunctionsAveDevRequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsAveDevRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsAveDevRequest + * + * @return the IWorkbookFunctionsAveDevRequest instance + */ + public IWorkbookFunctionsAveDevRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAveDevRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAveDevRequest instance + */ + public IWorkbookFunctionsAveDevRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAveDevRequest request = new WorkbookFunctionsAveDevRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequest.java index e0b4f0f5962..62166c8b69e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average ARequest. */ -public class WorkbookFunctionsAverageARequest extends BaseWorkbookFunctionsAverageARequest implements IWorkbookFunctionsAverageARequest { +public class WorkbookFunctionsAverageARequest extends BaseRequest implements IWorkbookFunctionsAverageARequest { + protected final WorkbookFunctionsAverageABody body; /** * The request for this WorkbookFunctionsAverageA @@ -23,6 +32,49 @@ public class WorkbookFunctionsAverageARequest extends BaseWorkbookFunctionsAvera * @param requestOptions the options for this request */ public WorkbookFunctionsAverageARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAverageABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAverageARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAverageARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAverageARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAverageARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAverageARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAverageARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequestBuilder.java index 40881a33921..50ec4e327fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average ARequest Builder. */ -public class WorkbookFunctionsAverageARequestBuilder extends BaseWorkbookFunctionsAverageARequestBuilder implements IWorkbookFunctionsAverageARequestBuilder { +public class WorkbookFunctionsAverageARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAverageARequestBuilder { /** * The request builder for this WorkbookFunctionsAverageA @@ -24,6 +29,36 @@ public class WorkbookFunctionsAverageARequestBuilder extends BaseWorkbookFunctio * @param values the values */ public WorkbookFunctionsAverageARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsAverageARequest + * + * @return the IWorkbookFunctionsAverageARequest instance + */ + public IWorkbookFunctionsAverageARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAverageARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageARequest instance + */ + public IWorkbookFunctionsAverageARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAverageARequest request = new WorkbookFunctionsAverageARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequest.java index 8b8ee745943..4a3514192fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageIfBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageIfRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average If Request. */ -public class WorkbookFunctionsAverageIfRequest extends BaseWorkbookFunctionsAverageIfRequest implements IWorkbookFunctionsAverageIfRequest { +public class WorkbookFunctionsAverageIfRequest extends BaseRequest implements IWorkbookFunctionsAverageIfRequest { + protected final WorkbookFunctionsAverageIfBody body; /** * The request for this WorkbookFunctionsAverageIf @@ -23,6 +32,49 @@ public class WorkbookFunctionsAverageIfRequest extends BaseWorkbookFunctionsAver * @param requestOptions the options for this request */ public WorkbookFunctionsAverageIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAverageIfBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAverageIfRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAverageIfRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAverageIfRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAverageIfRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAverageIfRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAverageIfRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequestBuilder.java index 01b8d48606a..3791b73bc5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageIfRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average If Request Builder. */ -public class WorkbookFunctionsAverageIfRequestBuilder extends BaseWorkbookFunctionsAverageIfRequestBuilder implements IWorkbookFunctionsAverageIfRequestBuilder { +public class WorkbookFunctionsAverageIfRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAverageIfRequestBuilder { /** * The request builder for this WorkbookFunctionsAverageIf @@ -26,6 +31,46 @@ public class WorkbookFunctionsAverageIfRequestBuilder extends BaseWorkbookFuncti * @param averageRange the averageRange */ public WorkbookFunctionsAverageIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement averageRange) { - super(requestUrl, client, requestOptions, range, criteria, averageRange); + super(requestUrl, client, requestOptions); + bodyParams.put("range", range); + bodyParams.put("criteria", criteria); + bodyParams.put("averageRange", averageRange); + } + + /** + * Creates the IWorkbookFunctionsAverageIfRequest + * + * @return the IWorkbookFunctionsAverageIfRequest instance + */ + public IWorkbookFunctionsAverageIfRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAverageIfRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageIfRequest instance + */ + public IWorkbookFunctionsAverageIfRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAverageIfRequest request = new WorkbookFunctionsAverageIfRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("range")) { + request.body.range = getParameter("range"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + if (hasParameter("averageRange")) { + request.body.averageRange = getParameter("averageRange"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequest.java index 1ddaae4e178..98dc4764fbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageIfsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageIfsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average Ifs Request. */ -public class WorkbookFunctionsAverageIfsRequest extends BaseWorkbookFunctionsAverageIfsRequest implements IWorkbookFunctionsAverageIfsRequest { +public class WorkbookFunctionsAverageIfsRequest extends BaseRequest implements IWorkbookFunctionsAverageIfsRequest { + protected final WorkbookFunctionsAverageIfsBody body; /** * The request for this WorkbookFunctionsAverageIfs @@ -23,6 +32,49 @@ public class WorkbookFunctionsAverageIfsRequest extends BaseWorkbookFunctionsAve * @param requestOptions the options for this request */ public WorkbookFunctionsAverageIfsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAverageIfsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAverageIfsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAverageIfsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAverageIfsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAverageIfsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAverageIfsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAverageIfsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequestBuilder.java index 5b4c7302a66..08604aa7597 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageIfsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageIfsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average Ifs Request Builder. */ -public class WorkbookFunctionsAverageIfsRequestBuilder extends BaseWorkbookFunctionsAverageIfsRequestBuilder implements IWorkbookFunctionsAverageIfsRequestBuilder { +public class WorkbookFunctionsAverageIfsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAverageIfsRequestBuilder { /** * The request builder for this WorkbookFunctionsAverageIfs @@ -25,6 +30,41 @@ public class WorkbookFunctionsAverageIfsRequestBuilder extends BaseWorkbookFunct * @param values the values */ public WorkbookFunctionsAverageIfsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement averageRange, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, averageRange, values); + super(requestUrl, client, requestOptions); + bodyParams.put("averageRange", averageRange); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsAverageIfsRequest + * + * @return the IWorkbookFunctionsAverageIfsRequest instance + */ + public IWorkbookFunctionsAverageIfsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAverageIfsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageIfsRequest instance + */ + public IWorkbookFunctionsAverageIfsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAverageIfsRequest request = new WorkbookFunctionsAverageIfsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("averageRange")) { + request.body.averageRange = getParameter("averageRange"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequest.java index 9769eaa3bba..e0650ac8265 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average Request. */ -public class WorkbookFunctionsAverageRequest extends BaseWorkbookFunctionsAverageRequest implements IWorkbookFunctionsAverageRequest { +public class WorkbookFunctionsAverageRequest extends BaseRequest implements IWorkbookFunctionsAverageRequest { + protected final WorkbookFunctionsAverageBody body; /** * The request for this WorkbookFunctionsAverage @@ -23,6 +32,49 @@ public class WorkbookFunctionsAverageRequest extends BaseWorkbookFunctionsAverag * @param requestOptions the options for this request */ public WorkbookFunctionsAverageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsAverageBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsAverageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsAverageRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsAverageRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsAverageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsAverageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsAverageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequestBuilder.java index a11a2c428bb..3fa6a17be8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsAverageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsAverageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Average Request Builder. */ -public class WorkbookFunctionsAverageRequestBuilder extends BaseWorkbookFunctionsAverageRequestBuilder implements IWorkbookFunctionsAverageRequestBuilder { +public class WorkbookFunctionsAverageRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsAverageRequestBuilder { /** * The request builder for this WorkbookFunctionsAverage @@ -24,6 +29,36 @@ public class WorkbookFunctionsAverageRequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsAverageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsAverageRequest + * + * @return the IWorkbookFunctionsAverageRequest instance + */ + public IWorkbookFunctionsAverageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsAverageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsAverageRequest instance + */ + public IWorkbookFunctionsAverageRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsAverageRequest request = new WorkbookFunctionsAverageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequest.java index 10f58661129..32ea282c2dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBahtTextBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBahtTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBahtTextRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Baht Text Request. */ -public class WorkbookFunctionsBahtTextRequest extends BaseWorkbookFunctionsBahtTextRequest implements IWorkbookFunctionsBahtTextRequest { +public class WorkbookFunctionsBahtTextRequest extends BaseRequest implements IWorkbookFunctionsBahtTextRequest { + protected final WorkbookFunctionsBahtTextBody body; /** * The request for this WorkbookFunctionsBahtText @@ -23,6 +32,49 @@ public class WorkbookFunctionsBahtTextRequest extends BaseWorkbookFunctionsBahtT * @param requestOptions the options for this request */ public WorkbookFunctionsBahtTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBahtTextBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBahtTextRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBahtTextRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBahtTextRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBahtTextRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBahtTextRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBahtTextRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequestBuilder.java index 41c6883a50b..41228037895 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBahtTextRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBahtTextRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBahtTextRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Baht Text Request Builder. */ -public class WorkbookFunctionsBahtTextRequestBuilder extends BaseWorkbookFunctionsBahtTextRequestBuilder implements IWorkbookFunctionsBahtTextRequestBuilder { +public class WorkbookFunctionsBahtTextRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBahtTextRequestBuilder { /** * The request builder for this WorkbookFunctionsBahtText @@ -24,6 +29,36 @@ public class WorkbookFunctionsBahtTextRequestBuilder extends BaseWorkbookFunctio * @param number the number */ public WorkbookFunctionsBahtTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsBahtTextRequest + * + * @return the IWorkbookFunctionsBahtTextRequest instance + */ + public IWorkbookFunctionsBahtTextRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBahtTextRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBahtTextRequest instance + */ + public IWorkbookFunctionsBahtTextRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBahtTextRequest request = new WorkbookFunctionsBahtTextRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequest.java index 899007c2a2c..e34a696eeb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBaseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBaseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBaseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Base Request. */ -public class WorkbookFunctionsBaseRequest extends BaseWorkbookFunctionsBaseRequest implements IWorkbookFunctionsBaseRequest { +public class WorkbookFunctionsBaseRequest extends BaseRequest implements IWorkbookFunctionsBaseRequest { + protected final WorkbookFunctionsBaseBody body; /** * The request for this WorkbookFunctionsBase @@ -23,6 +32,49 @@ public class WorkbookFunctionsBaseRequest extends BaseWorkbookFunctionsBaseReque * @param requestOptions the options for this request */ public WorkbookFunctionsBaseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBaseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBaseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBaseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBaseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBaseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBaseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBaseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequestBuilder.java index 73a312bae72..8021863439d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBaseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBaseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBaseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Base Request Builder. */ -public class WorkbookFunctionsBaseRequestBuilder extends BaseWorkbookFunctionsBaseRequestBuilder implements IWorkbookFunctionsBaseRequestBuilder { +public class WorkbookFunctionsBaseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBaseRequestBuilder { /** * The request builder for this WorkbookFunctionsBase @@ -26,6 +31,46 @@ public class WorkbookFunctionsBaseRequestBuilder extends BaseWorkbookFunctionsBa * @param minLength the minLength */ public WorkbookFunctionsBaseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix, final com.google.gson.JsonElement minLength) { - super(requestUrl, client, requestOptions, number, radix, minLength); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("radix", radix); + bodyParams.put("minLength", minLength); + } + + /** + * Creates the IWorkbookFunctionsBaseRequest + * + * @return the IWorkbookFunctionsBaseRequest instance + */ + public IWorkbookFunctionsBaseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBaseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBaseRequest instance + */ + public IWorkbookFunctionsBaseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBaseRequest request = new WorkbookFunctionsBaseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("radix")) { + request.body.radix = getParameter("radix"); + } + + if (hasParameter("minLength")) { + request.body.minLength = getParameter("minLength"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequest.java index b7c02ef4c9d..aefbe25099b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselIBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselIRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselIRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel IRequest. */ -public class WorkbookFunctionsBesselIRequest extends BaseWorkbookFunctionsBesselIRequest implements IWorkbookFunctionsBesselIRequest { +public class WorkbookFunctionsBesselIRequest extends BaseRequest implements IWorkbookFunctionsBesselIRequest { + protected final WorkbookFunctionsBesselIBody body; /** * The request for this WorkbookFunctionsBesselI @@ -23,6 +32,49 @@ public class WorkbookFunctionsBesselIRequest extends BaseWorkbookFunctionsBessel * @param requestOptions the options for this request */ public WorkbookFunctionsBesselIRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBesselIBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBesselIRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBesselIRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBesselIRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBesselIRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBesselIRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBesselIRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequestBuilder.java index d332d45e41b..1e33e0e82c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselIRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselIRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselIRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel IRequest Builder. */ -public class WorkbookFunctionsBesselIRequestBuilder extends BaseWorkbookFunctionsBesselIRequestBuilder implements IWorkbookFunctionsBesselIRequestBuilder { +public class WorkbookFunctionsBesselIRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBesselIRequestBuilder { /** * The request builder for this WorkbookFunctionsBesselI @@ -25,6 +30,41 @@ public class WorkbookFunctionsBesselIRequestBuilder extends BaseWorkbookFunction * @param n the n */ public WorkbookFunctionsBesselIRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions, x, n); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("n", n); + } + + /** + * Creates the IWorkbookFunctionsBesselIRequest + * + * @return the IWorkbookFunctionsBesselIRequest instance + */ + public IWorkbookFunctionsBesselIRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBesselIRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselIRequest instance + */ + public IWorkbookFunctionsBesselIRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBesselIRequest request = new WorkbookFunctionsBesselIRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("n")) { + request.body.n = getParameter("n"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequest.java index cdd3f71d059..738514286a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselJBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselJRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselJRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel JRequest. */ -public class WorkbookFunctionsBesselJRequest extends BaseWorkbookFunctionsBesselJRequest implements IWorkbookFunctionsBesselJRequest { +public class WorkbookFunctionsBesselJRequest extends BaseRequest implements IWorkbookFunctionsBesselJRequest { + protected final WorkbookFunctionsBesselJBody body; /** * The request for this WorkbookFunctionsBesselJ @@ -23,6 +32,49 @@ public class WorkbookFunctionsBesselJRequest extends BaseWorkbookFunctionsBessel * @param requestOptions the options for this request */ public WorkbookFunctionsBesselJRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBesselJBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBesselJRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBesselJRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBesselJRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBesselJRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBesselJRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBesselJRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequestBuilder.java index 55bdba0f78f..0d51bfec828 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselJRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselJRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselJRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel JRequest Builder. */ -public class WorkbookFunctionsBesselJRequestBuilder extends BaseWorkbookFunctionsBesselJRequestBuilder implements IWorkbookFunctionsBesselJRequestBuilder { +public class WorkbookFunctionsBesselJRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBesselJRequestBuilder { /** * The request builder for this WorkbookFunctionsBesselJ @@ -25,6 +30,41 @@ public class WorkbookFunctionsBesselJRequestBuilder extends BaseWorkbookFunction * @param n the n */ public WorkbookFunctionsBesselJRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions, x, n); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("n", n); + } + + /** + * Creates the IWorkbookFunctionsBesselJRequest + * + * @return the IWorkbookFunctionsBesselJRequest instance + */ + public IWorkbookFunctionsBesselJRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBesselJRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselJRequest instance + */ + public IWorkbookFunctionsBesselJRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBesselJRequest request = new WorkbookFunctionsBesselJRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("n")) { + request.body.n = getParameter("n"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequest.java index b79e8d62b66..578b3a5599c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselKBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselKRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselKRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel KRequest. */ -public class WorkbookFunctionsBesselKRequest extends BaseWorkbookFunctionsBesselKRequest implements IWorkbookFunctionsBesselKRequest { +public class WorkbookFunctionsBesselKRequest extends BaseRequest implements IWorkbookFunctionsBesselKRequest { + protected final WorkbookFunctionsBesselKBody body; /** * The request for this WorkbookFunctionsBesselK @@ -23,6 +32,49 @@ public class WorkbookFunctionsBesselKRequest extends BaseWorkbookFunctionsBessel * @param requestOptions the options for this request */ public WorkbookFunctionsBesselKRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBesselKBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBesselKRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBesselKRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBesselKRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBesselKRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBesselKRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBesselKRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequestBuilder.java index 0c976eab137..36bfdd2bded 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselKRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselKRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselKRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel KRequest Builder. */ -public class WorkbookFunctionsBesselKRequestBuilder extends BaseWorkbookFunctionsBesselKRequestBuilder implements IWorkbookFunctionsBesselKRequestBuilder { +public class WorkbookFunctionsBesselKRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBesselKRequestBuilder { /** * The request builder for this WorkbookFunctionsBesselK @@ -25,6 +30,41 @@ public class WorkbookFunctionsBesselKRequestBuilder extends BaseWorkbookFunction * @param n the n */ public WorkbookFunctionsBesselKRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions, x, n); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("n", n); + } + + /** + * Creates the IWorkbookFunctionsBesselKRequest + * + * @return the IWorkbookFunctionsBesselKRequest instance + */ + public IWorkbookFunctionsBesselKRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBesselKRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselKRequest instance + */ + public IWorkbookFunctionsBesselKRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBesselKRequest request = new WorkbookFunctionsBesselKRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("n")) { + request.body.n = getParameter("n"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequest.java index 824f1cdfd04..ef1e4d4f575 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselYBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselYRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselYRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel YRequest. */ -public class WorkbookFunctionsBesselYRequest extends BaseWorkbookFunctionsBesselYRequest implements IWorkbookFunctionsBesselYRequest { +public class WorkbookFunctionsBesselYRequest extends BaseRequest implements IWorkbookFunctionsBesselYRequest { + protected final WorkbookFunctionsBesselYBody body; /** * The request for this WorkbookFunctionsBesselY @@ -23,6 +32,49 @@ public class WorkbookFunctionsBesselYRequest extends BaseWorkbookFunctionsBessel * @param requestOptions the options for this request */ public WorkbookFunctionsBesselYRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBesselYBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBesselYRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBesselYRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBesselYRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBesselYRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBesselYRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBesselYRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequestBuilder.java index 3701940fd1f..3863f5bbf6e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBesselYRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselYRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBesselYRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bessel YRequest Builder. */ -public class WorkbookFunctionsBesselYRequestBuilder extends BaseWorkbookFunctionsBesselYRequestBuilder implements IWorkbookFunctionsBesselYRequestBuilder { +public class WorkbookFunctionsBesselYRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBesselYRequestBuilder { /** * The request builder for this WorkbookFunctionsBesselY @@ -25,6 +30,41 @@ public class WorkbookFunctionsBesselYRequestBuilder extends BaseWorkbookFunction * @param n the n */ public WorkbookFunctionsBesselYRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions, x, n); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("n", n); + } + + /** + * Creates the IWorkbookFunctionsBesselYRequest + * + * @return the IWorkbookFunctionsBesselYRequest instance + */ + public IWorkbookFunctionsBesselYRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBesselYRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBesselYRequest instance + */ + public IWorkbookFunctionsBesselYRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBesselYRequest request = new WorkbookFunctionsBesselYRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("n")) { + request.body.n = getParameter("n"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequest.java index 6f47bce09e9..d9d9846615a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBeta_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBeta_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Beta_Dist Request. */ -public class WorkbookFunctionsBeta_DistRequest extends BaseWorkbookFunctionsBeta_DistRequest implements IWorkbookFunctionsBeta_DistRequest { +public class WorkbookFunctionsBeta_DistRequest extends BaseRequest implements IWorkbookFunctionsBeta_DistRequest { + protected final WorkbookFunctionsBeta_DistBody body; /** * The request for this WorkbookFunctionsBeta_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsBeta_DistRequest extends BaseWorkbookFunctionsBeta * @param requestOptions the options for this request */ public WorkbookFunctionsBeta_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBeta_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBeta_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBeta_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBeta_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBeta_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBeta_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBeta_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequestBuilder.java index d23d53639f1..4153f078625 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBeta_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Beta_Dist Request Builder. */ -public class WorkbookFunctionsBeta_DistRequestBuilder extends BaseWorkbookFunctionsBeta_DistRequestBuilder implements IWorkbookFunctionsBeta_DistRequestBuilder { +public class WorkbookFunctionsBeta_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBeta_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsBeta_Dist @@ -29,6 +34,61 @@ public class WorkbookFunctionsBeta_DistRequestBuilder extends BaseWorkbookFuncti * @param b the b */ public WorkbookFunctionsBeta_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { - super(requestUrl, client, requestOptions, x, alpha, beta, cumulative, a, b); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("alpha", alpha); + bodyParams.put("beta", beta); + bodyParams.put("cumulative", cumulative); + bodyParams.put("a", a); + bodyParams.put("b", b); + } + + /** + * Creates the IWorkbookFunctionsBeta_DistRequest + * + * @return the IWorkbookFunctionsBeta_DistRequest instance + */ + public IWorkbookFunctionsBeta_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBeta_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBeta_DistRequest instance + */ + public IWorkbookFunctionsBeta_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBeta_DistRequest request = new WorkbookFunctionsBeta_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("beta")) { + request.body.beta = getParameter("beta"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + if (hasParameter("a")) { + request.body.a = getParameter("a"); + } + + if (hasParameter("b")) { + request.body.b = getParameter("b"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequest.java index 77631bb8ed3..39cd4e0cf27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBeta_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBeta_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Beta_Inv Request. */ -public class WorkbookFunctionsBeta_InvRequest extends BaseWorkbookFunctionsBeta_InvRequest implements IWorkbookFunctionsBeta_InvRequest { +public class WorkbookFunctionsBeta_InvRequest extends BaseRequest implements IWorkbookFunctionsBeta_InvRequest { + protected final WorkbookFunctionsBeta_InvBody body; /** * The request for this WorkbookFunctionsBeta_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsBeta_InvRequest extends BaseWorkbookFunctionsBeta_ * @param requestOptions the options for this request */ public WorkbookFunctionsBeta_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBeta_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBeta_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBeta_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBeta_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBeta_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBeta_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBeta_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequestBuilder.java index e94eb33f4f9..121eeb03706 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBeta_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBeta_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Beta_Inv Request Builder. */ -public class WorkbookFunctionsBeta_InvRequestBuilder extends BaseWorkbookFunctionsBeta_InvRequestBuilder implements IWorkbookFunctionsBeta_InvRequestBuilder { +public class WorkbookFunctionsBeta_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBeta_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsBeta_Inv @@ -28,6 +33,56 @@ public class WorkbookFunctionsBeta_InvRequestBuilder extends BaseWorkbookFunctio * @param b the b */ public WorkbookFunctionsBeta_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { - super(requestUrl, client, requestOptions, probability, alpha, beta, a, b); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("alpha", alpha); + bodyParams.put("beta", beta); + bodyParams.put("a", a); + bodyParams.put("b", b); + } + + /** + * Creates the IWorkbookFunctionsBeta_InvRequest + * + * @return the IWorkbookFunctionsBeta_InvRequest instance + */ + public IWorkbookFunctionsBeta_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBeta_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBeta_InvRequest instance + */ + public IWorkbookFunctionsBeta_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBeta_InvRequest request = new WorkbookFunctionsBeta_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("beta")) { + request.body.beta = getParameter("beta"); + } + + if (hasParameter("a")) { + request.body.a = getParameter("a"); + } + + if (hasParameter("b")) { + request.body.b = getParameter("b"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequest.java index f6f55885083..ced4bcc0735 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBin2DecBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2DecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBin2DecRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Dec Request. */ -public class WorkbookFunctionsBin2DecRequest extends BaseWorkbookFunctionsBin2DecRequest implements IWorkbookFunctionsBin2DecRequest { +public class WorkbookFunctionsBin2DecRequest extends BaseRequest implements IWorkbookFunctionsBin2DecRequest { + protected final WorkbookFunctionsBin2DecBody body; /** * The request for this WorkbookFunctionsBin2Dec @@ -23,6 +32,49 @@ public class WorkbookFunctionsBin2DecRequest extends BaseWorkbookFunctionsBin2De * @param requestOptions the options for this request */ public WorkbookFunctionsBin2DecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBin2DecBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBin2DecRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBin2DecRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBin2DecRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBin2DecRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBin2DecRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBin2DecRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequestBuilder.java index 22c0d45f6af..77430cae4f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2DecRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2DecRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBin2DecRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Dec Request Builder. */ -public class WorkbookFunctionsBin2DecRequestBuilder extends BaseWorkbookFunctionsBin2DecRequestBuilder implements IWorkbookFunctionsBin2DecRequestBuilder { +public class WorkbookFunctionsBin2DecRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBin2DecRequestBuilder { /** * The request builder for this WorkbookFunctionsBin2Dec @@ -24,6 +29,36 @@ public class WorkbookFunctionsBin2DecRequestBuilder extends BaseWorkbookFunction * @param number the number */ public WorkbookFunctionsBin2DecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsBin2DecRequest + * + * @return the IWorkbookFunctionsBin2DecRequest instance + */ + public IWorkbookFunctionsBin2DecRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBin2DecRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBin2DecRequest instance + */ + public IWorkbookFunctionsBin2DecRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBin2DecRequest request = new WorkbookFunctionsBin2DecRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequest.java index 099a366a05c..46477f1ea0a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBin2HexBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2HexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBin2HexRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Hex Request. */ -public class WorkbookFunctionsBin2HexRequest extends BaseWorkbookFunctionsBin2HexRequest implements IWorkbookFunctionsBin2HexRequest { +public class WorkbookFunctionsBin2HexRequest extends BaseRequest implements IWorkbookFunctionsBin2HexRequest { + protected final WorkbookFunctionsBin2HexBody body; /** * The request for this WorkbookFunctionsBin2Hex @@ -23,6 +32,49 @@ public class WorkbookFunctionsBin2HexRequest extends BaseWorkbookFunctionsBin2He * @param requestOptions the options for this request */ public WorkbookFunctionsBin2HexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBin2HexBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBin2HexRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBin2HexRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBin2HexRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBin2HexRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBin2HexRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBin2HexRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequestBuilder.java index 6bd728b5c94..bf717ce8531 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2HexRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2HexRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBin2HexRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Hex Request Builder. */ -public class WorkbookFunctionsBin2HexRequestBuilder extends BaseWorkbookFunctionsBin2HexRequestBuilder implements IWorkbookFunctionsBin2HexRequestBuilder { +public class WorkbookFunctionsBin2HexRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBin2HexRequestBuilder { /** * The request builder for this WorkbookFunctionsBin2Hex @@ -25,6 +30,41 @@ public class WorkbookFunctionsBin2HexRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsBin2HexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsBin2HexRequest + * + * @return the IWorkbookFunctionsBin2HexRequest instance + */ + public IWorkbookFunctionsBin2HexRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBin2HexRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBin2HexRequest instance + */ + public IWorkbookFunctionsBin2HexRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBin2HexRequest request = new WorkbookFunctionsBin2HexRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequest.java index 31365b9c35b..73e5d61b20c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBin2OctBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2OctRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBin2OctRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Oct Request. */ -public class WorkbookFunctionsBin2OctRequest extends BaseWorkbookFunctionsBin2OctRequest implements IWorkbookFunctionsBin2OctRequest { +public class WorkbookFunctionsBin2OctRequest extends BaseRequest implements IWorkbookFunctionsBin2OctRequest { + protected final WorkbookFunctionsBin2OctBody body; /** * The request for this WorkbookFunctionsBin2Oct @@ -23,6 +32,49 @@ public class WorkbookFunctionsBin2OctRequest extends BaseWorkbookFunctionsBin2Oc * @param requestOptions the options for this request */ public WorkbookFunctionsBin2OctRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBin2OctBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBin2OctRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBin2OctRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBin2OctRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBin2OctRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBin2OctRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBin2OctRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequestBuilder.java index 975ee6af0fb..f5b8b68bd03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBin2OctRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2OctRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBin2OctRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bin2Oct Request Builder. */ -public class WorkbookFunctionsBin2OctRequestBuilder extends BaseWorkbookFunctionsBin2OctRequestBuilder implements IWorkbookFunctionsBin2OctRequestBuilder { +public class WorkbookFunctionsBin2OctRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBin2OctRequestBuilder { /** * The request builder for this WorkbookFunctionsBin2Oct @@ -25,6 +30,41 @@ public class WorkbookFunctionsBin2OctRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsBin2OctRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsBin2OctRequest + * + * @return the IWorkbookFunctionsBin2OctRequest instance + */ + public IWorkbookFunctionsBin2OctRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBin2OctRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBin2OctRequest instance + */ + public IWorkbookFunctionsBin2OctRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBin2OctRequest request = new WorkbookFunctionsBin2OctRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequest.java index e02b8fa2eb0..e61f4a483f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBinom_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBinom_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Dist Request. */ -public class WorkbookFunctionsBinom_DistRequest extends BaseWorkbookFunctionsBinom_DistRequest implements IWorkbookFunctionsBinom_DistRequest { +public class WorkbookFunctionsBinom_DistRequest extends BaseRequest implements IWorkbookFunctionsBinom_DistRequest { + protected final WorkbookFunctionsBinom_DistBody body; /** * The request for this WorkbookFunctionsBinom_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsBinom_DistRequest extends BaseWorkbookFunctionsBin * @param requestOptions the options for this request */ public WorkbookFunctionsBinom_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBinom_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBinom_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBinom_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBinom_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBinom_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBinom_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBinom_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequestBuilder.java index 7a031c50bd2..1456f13d78b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBinom_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Dist Request Builder. */ -public class WorkbookFunctionsBinom_DistRequestBuilder extends BaseWorkbookFunctionsBinom_DistRequestBuilder implements IWorkbookFunctionsBinom_DistRequestBuilder { +public class WorkbookFunctionsBinom_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBinom_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsBinom_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsBinom_DistRequestBuilder extends BaseWorkbookFunct * @param cumulative the cumulative */ public WorkbookFunctionsBinom_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, numberS, trials, probabilityS, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("numberS", numberS); + bodyParams.put("trials", trials); + bodyParams.put("probabilityS", probabilityS); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsBinom_DistRequest + * + * @return the IWorkbookFunctionsBinom_DistRequest instance + */ + public IWorkbookFunctionsBinom_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBinom_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBinom_DistRequest instance + */ + public IWorkbookFunctionsBinom_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBinom_DistRequest request = new WorkbookFunctionsBinom_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("numberS")) { + request.body.numberS = getParameter("numberS"); + } + + if (hasParameter("trials")) { + request.body.trials = getParameter("trials"); + } + + if (hasParameter("probabilityS")) { + request.body.probabilityS = getParameter("probabilityS"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequest.java index 21b2f857213..1671b7735ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBinom_Dist_RangeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_Dist_RangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBinom_Dist_RangeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Dist_Range Request. */ -public class WorkbookFunctionsBinom_Dist_RangeRequest extends BaseWorkbookFunctionsBinom_Dist_RangeRequest implements IWorkbookFunctionsBinom_Dist_RangeRequest { +public class WorkbookFunctionsBinom_Dist_RangeRequest extends BaseRequest implements IWorkbookFunctionsBinom_Dist_RangeRequest { + protected final WorkbookFunctionsBinom_Dist_RangeBody body; /** * The request for this WorkbookFunctionsBinom_Dist_Range @@ -23,6 +32,49 @@ public class WorkbookFunctionsBinom_Dist_RangeRequest extends BaseWorkbookFuncti * @param requestOptions the options for this request */ public WorkbookFunctionsBinom_Dist_RangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBinom_Dist_RangeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBinom_Dist_RangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBinom_Dist_RangeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBinom_Dist_RangeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBinom_Dist_RangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBinom_Dist_RangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBinom_Dist_RangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequestBuilder.java index 8335c00322f..13c345424a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_Dist_RangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_Dist_RangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Dist_Range Request Builder. */ -public class WorkbookFunctionsBinom_Dist_RangeRequestBuilder extends BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder implements IWorkbookFunctionsBinom_Dist_RangeRequestBuilder { +public class WorkbookFunctionsBinom_Dist_RangeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBinom_Dist_RangeRequestBuilder { /** * The request builder for this WorkbookFunctionsBinom_Dist_Range @@ -27,6 +32,51 @@ public class WorkbookFunctionsBinom_Dist_RangeRequestBuilder extends BaseWorkboo * @param numberS2 the numberS2 */ public WorkbookFunctionsBinom_Dist_RangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement numberS2) { - super(requestUrl, client, requestOptions, trials, probabilityS, numberS, numberS2); + super(requestUrl, client, requestOptions); + bodyParams.put("trials", trials); + bodyParams.put("probabilityS", probabilityS); + bodyParams.put("numberS", numberS); + bodyParams.put("numberS2", numberS2); + } + + /** + * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest + * + * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance + */ + public IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance + */ + public IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBinom_Dist_RangeRequest request = new WorkbookFunctionsBinom_Dist_RangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("trials")) { + request.body.trials = getParameter("trials"); + } + + if (hasParameter("probabilityS")) { + request.body.probabilityS = getParameter("probabilityS"); + } + + if (hasParameter("numberS")) { + request.body.numberS = getParameter("numberS"); + } + + if (hasParameter("numberS2")) { + request.body.numberS2 = getParameter("numberS2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequest.java index 6fcfccd3626..b62788d2198 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBinom_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBinom_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Inv Request. */ -public class WorkbookFunctionsBinom_InvRequest extends BaseWorkbookFunctionsBinom_InvRequest implements IWorkbookFunctionsBinom_InvRequest { +public class WorkbookFunctionsBinom_InvRequest extends BaseRequest implements IWorkbookFunctionsBinom_InvRequest { + protected final WorkbookFunctionsBinom_InvBody body; /** * The request for this WorkbookFunctionsBinom_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsBinom_InvRequest extends BaseWorkbookFunctionsBino * @param requestOptions the options for this request */ public WorkbookFunctionsBinom_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBinom_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBinom_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBinom_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBinom_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBinom_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBinom_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBinom_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequestBuilder.java index 62a52242173..2167691037b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBinom_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBinom_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Binom_Inv Request Builder. */ -public class WorkbookFunctionsBinom_InvRequestBuilder extends BaseWorkbookFunctionsBinom_InvRequestBuilder implements IWorkbookFunctionsBinom_InvRequestBuilder { +public class WorkbookFunctionsBinom_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBinom_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsBinom_Inv @@ -26,6 +31,46 @@ public class WorkbookFunctionsBinom_InvRequestBuilder extends BaseWorkbookFuncti * @param alpha the alpha */ public WorkbookFunctionsBinom_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement alpha) { - super(requestUrl, client, requestOptions, trials, probabilityS, alpha); + super(requestUrl, client, requestOptions); + bodyParams.put("trials", trials); + bodyParams.put("probabilityS", probabilityS); + bodyParams.put("alpha", alpha); + } + + /** + * Creates the IWorkbookFunctionsBinom_InvRequest + * + * @return the IWorkbookFunctionsBinom_InvRequest instance + */ + public IWorkbookFunctionsBinom_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBinom_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBinom_InvRequest instance + */ + public IWorkbookFunctionsBinom_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBinom_InvRequest request = new WorkbookFunctionsBinom_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("trials")) { + request.body.trials = getParameter("trials"); + } + + if (hasParameter("probabilityS")) { + request.body.probabilityS = getParameter("probabilityS"); + } + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequest.java index 088dca565d7..38775017fd1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBitandBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitandRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitandRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitand Request. */ -public class WorkbookFunctionsBitandRequest extends BaseWorkbookFunctionsBitandRequest implements IWorkbookFunctionsBitandRequest { +public class WorkbookFunctionsBitandRequest extends BaseRequest implements IWorkbookFunctionsBitandRequest { + protected final WorkbookFunctionsBitandBody body; /** * The request for this WorkbookFunctionsBitand @@ -23,6 +32,49 @@ public class WorkbookFunctionsBitandRequest extends BaseWorkbookFunctionsBitandR * @param requestOptions the options for this request */ public WorkbookFunctionsBitandRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBitandBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBitandRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBitandRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBitandRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBitandRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBitandRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBitandRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequestBuilder.java index f06e5acce16..ee3ae63ed19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitandRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitandRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitandRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitand Request Builder. */ -public class WorkbookFunctionsBitandRequestBuilder extends BaseWorkbookFunctionsBitandRequestBuilder implements IWorkbookFunctionsBitandRequestBuilder { +public class WorkbookFunctionsBitandRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBitandRequestBuilder { /** * The request builder for this WorkbookFunctionsBitand @@ -25,6 +30,41 @@ public class WorkbookFunctionsBitandRequestBuilder extends BaseWorkbookFunctions * @param number2 the number2 */ public WorkbookFunctionsBitandRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions, number1, number2); + super(requestUrl, client, requestOptions); + bodyParams.put("number1", number1); + bodyParams.put("number2", number2); + } + + /** + * Creates the IWorkbookFunctionsBitandRequest + * + * @return the IWorkbookFunctionsBitandRequest instance + */ + public IWorkbookFunctionsBitandRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBitandRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitandRequest instance + */ + public IWorkbookFunctionsBitandRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBitandRequest request = new WorkbookFunctionsBitandRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number1")) { + request.body.number1 = getParameter("number1"); + } + + if (hasParameter("number2")) { + request.body.number2 = getParameter("number2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequest.java index 10608a6ec93..775af612d53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBitlshiftBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitlshiftRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitlshiftRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitlshift Request. */ -public class WorkbookFunctionsBitlshiftRequest extends BaseWorkbookFunctionsBitlshiftRequest implements IWorkbookFunctionsBitlshiftRequest { +public class WorkbookFunctionsBitlshiftRequest extends BaseRequest implements IWorkbookFunctionsBitlshiftRequest { + protected final WorkbookFunctionsBitlshiftBody body; /** * The request for this WorkbookFunctionsBitlshift @@ -23,6 +32,49 @@ public class WorkbookFunctionsBitlshiftRequest extends BaseWorkbookFunctionsBitl * @param requestOptions the options for this request */ public WorkbookFunctionsBitlshiftRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBitlshiftBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBitlshiftRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBitlshiftRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBitlshiftRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBitlshiftRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBitlshiftRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBitlshiftRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequestBuilder.java index b0f992b99d3..8b5d74380c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitlshiftRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitlshiftRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitlshiftRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitlshift Request Builder. */ -public class WorkbookFunctionsBitlshiftRequestBuilder extends BaseWorkbookFunctionsBitlshiftRequestBuilder implements IWorkbookFunctionsBitlshiftRequestBuilder { +public class WorkbookFunctionsBitlshiftRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBitlshiftRequestBuilder { /** * The request builder for this WorkbookFunctionsBitlshift @@ -25,6 +30,41 @@ public class WorkbookFunctionsBitlshiftRequestBuilder extends BaseWorkbookFuncti * @param shiftAmount the shiftAmount */ public WorkbookFunctionsBitlshiftRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { - super(requestUrl, client, requestOptions, number, shiftAmount); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("shiftAmount", shiftAmount); + } + + /** + * Creates the IWorkbookFunctionsBitlshiftRequest + * + * @return the IWorkbookFunctionsBitlshiftRequest instance + */ + public IWorkbookFunctionsBitlshiftRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBitlshiftRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitlshiftRequest instance + */ + public IWorkbookFunctionsBitlshiftRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBitlshiftRequest request = new WorkbookFunctionsBitlshiftRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("shiftAmount")) { + request.body.shiftAmount = getParameter("shiftAmount"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequest.java index 4f2a6e7baa0..212a440dfa4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBitorBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitorRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitor Request. */ -public class WorkbookFunctionsBitorRequest extends BaseWorkbookFunctionsBitorRequest implements IWorkbookFunctionsBitorRequest { +public class WorkbookFunctionsBitorRequest extends BaseRequest implements IWorkbookFunctionsBitorRequest { + protected final WorkbookFunctionsBitorBody body; /** * The request for this WorkbookFunctionsBitor @@ -23,6 +32,49 @@ public class WorkbookFunctionsBitorRequest extends BaseWorkbookFunctionsBitorReq * @param requestOptions the options for this request */ public WorkbookFunctionsBitorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBitorBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBitorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBitorRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBitorRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBitorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBitorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBitorRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequestBuilder.java index 5e0d02debb8..9bc7c8a8e6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitorRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitorRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitorRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitor Request Builder. */ -public class WorkbookFunctionsBitorRequestBuilder extends BaseWorkbookFunctionsBitorRequestBuilder implements IWorkbookFunctionsBitorRequestBuilder { +public class WorkbookFunctionsBitorRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBitorRequestBuilder { /** * The request builder for this WorkbookFunctionsBitor @@ -25,6 +30,41 @@ public class WorkbookFunctionsBitorRequestBuilder extends BaseWorkbookFunctionsB * @param number2 the number2 */ public WorkbookFunctionsBitorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions, number1, number2); + super(requestUrl, client, requestOptions); + bodyParams.put("number1", number1); + bodyParams.put("number2", number2); + } + + /** + * Creates the IWorkbookFunctionsBitorRequest + * + * @return the IWorkbookFunctionsBitorRequest instance + */ + public IWorkbookFunctionsBitorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBitorRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitorRequest instance + */ + public IWorkbookFunctionsBitorRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBitorRequest request = new WorkbookFunctionsBitorRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number1")) { + request.body.number1 = getParameter("number1"); + } + + if (hasParameter("number2")) { + request.body.number2 = getParameter("number2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequest.java index ba85be83f85..168ad4b4f31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBitrshiftBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitrshiftRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitrshiftRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitrshift Request. */ -public class WorkbookFunctionsBitrshiftRequest extends BaseWorkbookFunctionsBitrshiftRequest implements IWorkbookFunctionsBitrshiftRequest { +public class WorkbookFunctionsBitrshiftRequest extends BaseRequest implements IWorkbookFunctionsBitrshiftRequest { + protected final WorkbookFunctionsBitrshiftBody body; /** * The request for this WorkbookFunctionsBitrshift @@ -23,6 +32,49 @@ public class WorkbookFunctionsBitrshiftRequest extends BaseWorkbookFunctionsBitr * @param requestOptions the options for this request */ public WorkbookFunctionsBitrshiftRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBitrshiftBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBitrshiftRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBitrshiftRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBitrshiftRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBitrshiftRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBitrshiftRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBitrshiftRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequestBuilder.java index cecaac6f68b..058a70c282c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitrshiftRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitrshiftRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitrshiftRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitrshift Request Builder. */ -public class WorkbookFunctionsBitrshiftRequestBuilder extends BaseWorkbookFunctionsBitrshiftRequestBuilder implements IWorkbookFunctionsBitrshiftRequestBuilder { +public class WorkbookFunctionsBitrshiftRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBitrshiftRequestBuilder { /** * The request builder for this WorkbookFunctionsBitrshift @@ -25,6 +30,41 @@ public class WorkbookFunctionsBitrshiftRequestBuilder extends BaseWorkbookFuncti * @param shiftAmount the shiftAmount */ public WorkbookFunctionsBitrshiftRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { - super(requestUrl, client, requestOptions, number, shiftAmount); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("shiftAmount", shiftAmount); + } + + /** + * Creates the IWorkbookFunctionsBitrshiftRequest + * + * @return the IWorkbookFunctionsBitrshiftRequest instance + */ + public IWorkbookFunctionsBitrshiftRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBitrshiftRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitrshiftRequest instance + */ + public IWorkbookFunctionsBitrshiftRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBitrshiftRequest request = new WorkbookFunctionsBitrshiftRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("shiftAmount")) { + request.body.shiftAmount = getParameter("shiftAmount"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequest.java index c3c208e7bcf..b62f865ac17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsBitxorBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitxorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitxorRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitxor Request. */ -public class WorkbookFunctionsBitxorRequest extends BaseWorkbookFunctionsBitxorRequest implements IWorkbookFunctionsBitxorRequest { +public class WorkbookFunctionsBitxorRequest extends BaseRequest implements IWorkbookFunctionsBitxorRequest { + protected final WorkbookFunctionsBitxorBody body; /** * The request for this WorkbookFunctionsBitxor @@ -23,6 +32,49 @@ public class WorkbookFunctionsBitxorRequest extends BaseWorkbookFunctionsBitxorR * @param requestOptions the options for this request */ public WorkbookFunctionsBitxorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsBitxorBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsBitxorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsBitxorRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsBitxorRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsBitxorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsBitxorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsBitxorRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequestBuilder.java index 005e21592a3..eb4f708a48e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsBitxorRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitxorRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsBitxorRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Bitxor Request Builder. */ -public class WorkbookFunctionsBitxorRequestBuilder extends BaseWorkbookFunctionsBitxorRequestBuilder implements IWorkbookFunctionsBitxorRequestBuilder { +public class WorkbookFunctionsBitxorRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsBitxorRequestBuilder { /** * The request builder for this WorkbookFunctionsBitxor @@ -25,6 +30,41 @@ public class WorkbookFunctionsBitxorRequestBuilder extends BaseWorkbookFunctions * @param number2 the number2 */ public WorkbookFunctionsBitxorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions, number1, number2); + super(requestUrl, client, requestOptions); + bodyParams.put("number1", number1); + bodyParams.put("number2", number2); + } + + /** + * Creates the IWorkbookFunctionsBitxorRequest + * + * @return the IWorkbookFunctionsBitxorRequest instance + */ + public IWorkbookFunctionsBitxorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsBitxorRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsBitxorRequest instance + */ + public IWorkbookFunctionsBitxorRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsBitxorRequest request = new WorkbookFunctionsBitxorRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number1")) { + request.body.number1 = getParameter("number1"); + } + + if (hasParameter("number2")) { + request.body.number2 = getParameter("number2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequest.java index dd35fffaa33..254b4a30231 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCeiling_MathBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_MathRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCeiling_MathRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ceiling_Math Request. */ -public class WorkbookFunctionsCeiling_MathRequest extends BaseWorkbookFunctionsCeiling_MathRequest implements IWorkbookFunctionsCeiling_MathRequest { +public class WorkbookFunctionsCeiling_MathRequest extends BaseRequest implements IWorkbookFunctionsCeiling_MathRequest { + protected final WorkbookFunctionsCeiling_MathBody body; /** * The request for this WorkbookFunctionsCeiling_Math @@ -23,6 +32,49 @@ public class WorkbookFunctionsCeiling_MathRequest extends BaseWorkbookFunctionsC * @param requestOptions the options for this request */ public WorkbookFunctionsCeiling_MathRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCeiling_MathBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCeiling_MathRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCeiling_MathRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCeiling_MathRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCeiling_MathRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCeiling_MathRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCeiling_MathRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequestBuilder.java index 7acf21c7495..2a46934acde 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_MathRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_MathRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCeiling_MathRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ceiling_Math Request Builder. */ -public class WorkbookFunctionsCeiling_MathRequestBuilder extends BaseWorkbookFunctionsCeiling_MathRequestBuilder implements IWorkbookFunctionsCeiling_MathRequestBuilder { +public class WorkbookFunctionsCeiling_MathRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCeiling_MathRequestBuilder { /** * The request builder for this WorkbookFunctionsCeiling_Math @@ -26,6 +31,46 @@ public class WorkbookFunctionsCeiling_MathRequestBuilder extends BaseWorkbookFun * @param mode the mode */ public WorkbookFunctionsCeiling_MathRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { - super(requestUrl, client, requestOptions, number, significance, mode); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("significance", significance); + bodyParams.put("mode", mode); + } + + /** + * Creates the IWorkbookFunctionsCeiling_MathRequest + * + * @return the IWorkbookFunctionsCeiling_MathRequest instance + */ + public IWorkbookFunctionsCeiling_MathRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCeiling_MathRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCeiling_MathRequest instance + */ + public IWorkbookFunctionsCeiling_MathRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCeiling_MathRequest request = new WorkbookFunctionsCeiling_MathRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + if (hasParameter("mode")) { + request.body.mode = getParameter("mode"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequest.java index 64677e305ba..9f7cdb7bb8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCeiling_PreciseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCeiling_PreciseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ceiling_Precise Request. */ -public class WorkbookFunctionsCeiling_PreciseRequest extends BaseWorkbookFunctionsCeiling_PreciseRequest implements IWorkbookFunctionsCeiling_PreciseRequest { +public class WorkbookFunctionsCeiling_PreciseRequest extends BaseRequest implements IWorkbookFunctionsCeiling_PreciseRequest { + protected final WorkbookFunctionsCeiling_PreciseBody body; /** * The request for this WorkbookFunctionsCeiling_Precise @@ -23,6 +32,49 @@ public class WorkbookFunctionsCeiling_PreciseRequest extends BaseWorkbookFunctio * @param requestOptions the options for this request */ public WorkbookFunctionsCeiling_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCeiling_PreciseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCeiling_PreciseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCeiling_PreciseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCeiling_PreciseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCeiling_PreciseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCeiling_PreciseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCeiling_PreciseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequestBuilder.java index 29fb5e2dd2c..7ca8ecc6d8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCeiling_PreciseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_PreciseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCeiling_PreciseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ceiling_Precise Request Builder. */ -public class WorkbookFunctionsCeiling_PreciseRequestBuilder extends BaseWorkbookFunctionsCeiling_PreciseRequestBuilder implements IWorkbookFunctionsCeiling_PreciseRequestBuilder { +public class WorkbookFunctionsCeiling_PreciseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCeiling_PreciseRequestBuilder { /** * The request builder for this WorkbookFunctionsCeiling_Precise @@ -25,6 +30,41 @@ public class WorkbookFunctionsCeiling_PreciseRequestBuilder extends BaseWorkbook * @param significance the significance */ public WorkbookFunctionsCeiling_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions, number, significance); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("significance", significance); + } + + /** + * Creates the IWorkbookFunctionsCeiling_PreciseRequest + * + * @return the IWorkbookFunctionsCeiling_PreciseRequest instance + */ + public IWorkbookFunctionsCeiling_PreciseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCeiling_PreciseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCeiling_PreciseRequest instance + */ + public IWorkbookFunctionsCeiling_PreciseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCeiling_PreciseRequest request = new WorkbookFunctionsCeiling_PreciseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequest.java index 81852c5463f..429c50945ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCharBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCharRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCharRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Char Request. */ -public class WorkbookFunctionsCharRequest extends BaseWorkbookFunctionsCharRequest implements IWorkbookFunctionsCharRequest { +public class WorkbookFunctionsCharRequest extends BaseRequest implements IWorkbookFunctionsCharRequest { + protected final WorkbookFunctionsCharBody body; /** * The request for this WorkbookFunctionsChar @@ -23,6 +32,49 @@ public class WorkbookFunctionsCharRequest extends BaseWorkbookFunctionsCharReque * @param requestOptions the options for this request */ public WorkbookFunctionsCharRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCharBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCharRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCharRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCharRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCharRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCharRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCharRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequestBuilder.java index 68ae6b37e3a..ea3e266984d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCharRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCharRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCharRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Char Request Builder. */ -public class WorkbookFunctionsCharRequestBuilder extends BaseWorkbookFunctionsCharRequestBuilder implements IWorkbookFunctionsCharRequestBuilder { +public class WorkbookFunctionsCharRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCharRequestBuilder { /** * The request builder for this WorkbookFunctionsChar @@ -24,6 +29,36 @@ public class WorkbookFunctionsCharRequestBuilder extends BaseWorkbookFunctionsCh * @param number the number */ public WorkbookFunctionsCharRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCharRequest + * + * @return the IWorkbookFunctionsCharRequest instance + */ + public IWorkbookFunctionsCharRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCharRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCharRequest instance + */ + public IWorkbookFunctionsCharRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCharRequest request = new WorkbookFunctionsCharRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequest.java index ee87f1ff695..12044e208ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Dist Request. */ -public class WorkbookFunctionsChiSq_DistRequest extends BaseWorkbookFunctionsChiSq_DistRequest implements IWorkbookFunctionsChiSq_DistRequest { +public class WorkbookFunctionsChiSq_DistRequest extends BaseRequest implements IWorkbookFunctionsChiSq_DistRequest { + protected final WorkbookFunctionsChiSq_DistBody body; /** * The request for this WorkbookFunctionsChiSq_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsChiSq_DistRequest extends BaseWorkbookFunctionsChi * @param requestOptions the options for this request */ public WorkbookFunctionsChiSq_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsChiSq_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsChiSq_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsChiSq_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsChiSq_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsChiSq_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequestBuilder.java index efa2fdc29b3..3b52d1c83af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Dist Request Builder. */ -public class WorkbookFunctionsChiSq_DistRequestBuilder extends BaseWorkbookFunctionsChiSq_DistRequestBuilder implements IWorkbookFunctionsChiSq_DistRequestBuilder { +public class WorkbookFunctionsChiSq_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsChiSq_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsChiSq_Dist @@ -26,6 +31,46 @@ public class WorkbookFunctionsChiSq_DistRequestBuilder extends BaseWorkbookFunct * @param cumulative the cumulative */ public WorkbookFunctionsChiSq_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, degFreedom, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom", degFreedom); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsChiSq_DistRequest + * + * @return the IWorkbookFunctionsChiSq_DistRequest instance + */ + public IWorkbookFunctionsChiSq_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsChiSq_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_DistRequest instance + */ + public IWorkbookFunctionsChiSq_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsChiSq_DistRequest request = new WorkbookFunctionsChiSq_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequest.java index 5320b101bfd..76f4deb64e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_Dist_RTBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Dist_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_Dist_RTRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Dist_RTRequest. */ -public class WorkbookFunctionsChiSq_Dist_RTRequest extends BaseWorkbookFunctionsChiSq_Dist_RTRequest implements IWorkbookFunctionsChiSq_Dist_RTRequest { +public class WorkbookFunctionsChiSq_Dist_RTRequest extends BaseRequest implements IWorkbookFunctionsChiSq_Dist_RTRequest { + protected final WorkbookFunctionsChiSq_Dist_RTBody body; /** * The request for this WorkbookFunctionsChiSq_Dist_RT @@ -23,6 +32,49 @@ public class WorkbookFunctionsChiSq_Dist_RTRequest extends BaseWorkbookFunctions * @param requestOptions the options for this request */ public WorkbookFunctionsChiSq_Dist_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsChiSq_Dist_RTBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_Dist_RTRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsChiSq_Dist_RTRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsChiSq_Dist_RTRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsChiSq_Dist_RTRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_Dist_RTRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsChiSq_Dist_RTRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequestBuilder.java index 53a26c92cb5..e064f3bf3b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Dist_RTRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Dist_RTRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Dist_RTRequest Builder. */ -public class WorkbookFunctionsChiSq_Dist_RTRequestBuilder extends BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder implements IWorkbookFunctionsChiSq_Dist_RTRequestBuilder { +public class WorkbookFunctionsChiSq_Dist_RTRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsChiSq_Dist_RTRequestBuilder { /** * The request builder for this WorkbookFunctionsChiSq_Dist_RT @@ -25,6 +30,41 @@ public class WorkbookFunctionsChiSq_Dist_RTRequestBuilder extends BaseWorkbookFu * @param degFreedom the degFreedom */ public WorkbookFunctionsChiSq_Dist_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, x, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest + * + * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance + */ + public IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance + */ + public IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsChiSq_Dist_RTRequest request = new WorkbookFunctionsChiSq_Dist_RTRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequest.java index d92a6773043..be32b36f843 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Inv Request. */ -public class WorkbookFunctionsChiSq_InvRequest extends BaseWorkbookFunctionsChiSq_InvRequest implements IWorkbookFunctionsChiSq_InvRequest { +public class WorkbookFunctionsChiSq_InvRequest extends BaseRequest implements IWorkbookFunctionsChiSq_InvRequest { + protected final WorkbookFunctionsChiSq_InvBody body; /** * The request for this WorkbookFunctionsChiSq_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsChiSq_InvRequest extends BaseWorkbookFunctionsChiS * @param requestOptions the options for this request */ public WorkbookFunctionsChiSq_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsChiSq_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsChiSq_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsChiSq_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsChiSq_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsChiSq_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequestBuilder.java index a577f5c2964..578998e6d36 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Inv Request Builder. */ -public class WorkbookFunctionsChiSq_InvRequestBuilder extends BaseWorkbookFunctionsChiSq_InvRequestBuilder implements IWorkbookFunctionsChiSq_InvRequestBuilder { +public class WorkbookFunctionsChiSq_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsChiSq_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsChiSq_Inv @@ -25,6 +30,41 @@ public class WorkbookFunctionsChiSq_InvRequestBuilder extends BaseWorkbookFuncti * @param degFreedom the degFreedom */ public WorkbookFunctionsChiSq_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, probability, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsChiSq_InvRequest + * + * @return the IWorkbookFunctionsChiSq_InvRequest instance + */ + public IWorkbookFunctionsChiSq_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsChiSq_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_InvRequest instance + */ + public IWorkbookFunctionsChiSq_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsChiSq_InvRequest request = new WorkbookFunctionsChiSq_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequest.java index 3d9fa55f513..9da7b7d19e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_Inv_RTBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Inv_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_Inv_RTRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Inv_RTRequest. */ -public class WorkbookFunctionsChiSq_Inv_RTRequest extends BaseWorkbookFunctionsChiSq_Inv_RTRequest implements IWorkbookFunctionsChiSq_Inv_RTRequest { +public class WorkbookFunctionsChiSq_Inv_RTRequest extends BaseRequest implements IWorkbookFunctionsChiSq_Inv_RTRequest { + protected final WorkbookFunctionsChiSq_Inv_RTBody body; /** * The request for this WorkbookFunctionsChiSq_Inv_RT @@ -23,6 +32,49 @@ public class WorkbookFunctionsChiSq_Inv_RTRequest extends BaseWorkbookFunctionsC * @param requestOptions the options for this request */ public WorkbookFunctionsChiSq_Inv_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsChiSq_Inv_RTBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_Inv_RTRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsChiSq_Inv_RTRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsChiSq_Inv_RTRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsChiSq_Inv_RTRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsChiSq_Inv_RTRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsChiSq_Inv_RTRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequestBuilder.java index 5fe28750518..d92aec71d71 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChiSq_Inv_RTRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Inv_RTRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Chi Sq_Inv_RTRequest Builder. */ -public class WorkbookFunctionsChiSq_Inv_RTRequestBuilder extends BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder implements IWorkbookFunctionsChiSq_Inv_RTRequestBuilder { +public class WorkbookFunctionsChiSq_Inv_RTRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsChiSq_Inv_RTRequestBuilder { /** * The request builder for this WorkbookFunctionsChiSq_Inv_RT @@ -25,6 +30,41 @@ public class WorkbookFunctionsChiSq_Inv_RTRequestBuilder extends BaseWorkbookFun * @param degFreedom the degFreedom */ public WorkbookFunctionsChiSq_Inv_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, probability, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest + * + * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance + */ + public IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance + */ + public IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsChiSq_Inv_RTRequest request = new WorkbookFunctionsChiSq_Inv_RTRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequest.java index f0717997f71..c5629f38eb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsChooseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChooseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChooseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Choose Request. */ -public class WorkbookFunctionsChooseRequest extends BaseWorkbookFunctionsChooseRequest implements IWorkbookFunctionsChooseRequest { +public class WorkbookFunctionsChooseRequest extends BaseRequest implements IWorkbookFunctionsChooseRequest { + protected final WorkbookFunctionsChooseBody body; /** * The request for this WorkbookFunctionsChoose @@ -23,6 +32,49 @@ public class WorkbookFunctionsChooseRequest extends BaseWorkbookFunctionsChooseR * @param requestOptions the options for this request */ public WorkbookFunctionsChooseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsChooseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsChooseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsChooseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsChooseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsChooseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsChooseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsChooseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequestBuilder.java index 30a77ac40ca..ccaea1a7155 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsChooseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChooseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsChooseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Choose Request Builder. */ -public class WorkbookFunctionsChooseRequestBuilder extends BaseWorkbookFunctionsChooseRequestBuilder implements IWorkbookFunctionsChooseRequestBuilder { +public class WorkbookFunctionsChooseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsChooseRequestBuilder { /** * The request builder for this WorkbookFunctionsChoose @@ -25,6 +30,41 @@ public class WorkbookFunctionsChooseRequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsChooseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement indexNum, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, indexNum, values); + super(requestUrl, client, requestOptions); + bodyParams.put("indexNum", indexNum); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsChooseRequest + * + * @return the IWorkbookFunctionsChooseRequest instance + */ + public IWorkbookFunctionsChooseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsChooseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsChooseRequest instance + */ + public IWorkbookFunctionsChooseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsChooseRequest request = new WorkbookFunctionsChooseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("indexNum")) { + request.body.indexNum = getParameter("indexNum"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequest.java index bd536019ded..9c880e1ccc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCleanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCleanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCleanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Clean Request. */ -public class WorkbookFunctionsCleanRequest extends BaseWorkbookFunctionsCleanRequest implements IWorkbookFunctionsCleanRequest { +public class WorkbookFunctionsCleanRequest extends BaseRequest implements IWorkbookFunctionsCleanRequest { + protected final WorkbookFunctionsCleanBody body; /** * The request for this WorkbookFunctionsClean @@ -23,6 +32,49 @@ public class WorkbookFunctionsCleanRequest extends BaseWorkbookFunctionsCleanReq * @param requestOptions the options for this request */ public WorkbookFunctionsCleanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCleanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCleanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCleanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCleanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCleanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCleanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCleanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequestBuilder.java index 0b111ca533a..c76891019e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCleanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCleanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCleanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Clean Request Builder. */ -public class WorkbookFunctionsCleanRequestBuilder extends BaseWorkbookFunctionsCleanRequestBuilder implements IWorkbookFunctionsCleanRequestBuilder { +public class WorkbookFunctionsCleanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCleanRequestBuilder { /** * The request builder for this WorkbookFunctionsClean @@ -24,6 +29,36 @@ public class WorkbookFunctionsCleanRequestBuilder extends BaseWorkbookFunctionsC * @param text the text */ public WorkbookFunctionsCleanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsCleanRequest + * + * @return the IWorkbookFunctionsCleanRequest instance + */ + public IWorkbookFunctionsCleanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCleanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCleanRequest instance + */ + public IWorkbookFunctionsCleanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCleanRequest request = new WorkbookFunctionsCleanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequest.java index 7d62c1d1a72..d487945e1fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCodeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCodeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Code Request. */ -public class WorkbookFunctionsCodeRequest extends BaseWorkbookFunctionsCodeRequest implements IWorkbookFunctionsCodeRequest { +public class WorkbookFunctionsCodeRequest extends BaseRequest implements IWorkbookFunctionsCodeRequest { + protected final WorkbookFunctionsCodeBody body; /** * The request for this WorkbookFunctionsCode @@ -23,6 +32,49 @@ public class WorkbookFunctionsCodeRequest extends BaseWorkbookFunctionsCodeReque * @param requestOptions the options for this request */ public WorkbookFunctionsCodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCodeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCodeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCodeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCodeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCodeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCodeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCodeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequestBuilder.java index 7cbe7b845f7..df78a0228e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCodeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCodeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCodeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Code Request Builder. */ -public class WorkbookFunctionsCodeRequestBuilder extends BaseWorkbookFunctionsCodeRequestBuilder implements IWorkbookFunctionsCodeRequestBuilder { +public class WorkbookFunctionsCodeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCodeRequestBuilder { /** * The request builder for this WorkbookFunctionsCode @@ -24,6 +29,36 @@ public class WorkbookFunctionsCodeRequestBuilder extends BaseWorkbookFunctionsCo * @param text the text */ public WorkbookFunctionsCodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsCodeRequest + * + * @return the IWorkbookFunctionsCodeRequest instance + */ + public IWorkbookFunctionsCodeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCodeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCodeRequest instance + */ + public IWorkbookFunctionsCodeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCodeRequest request = new WorkbookFunctionsCodeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequest.java index 74218a747be..b71633ac94d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsColumnsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsColumnsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsColumnsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Columns Request. */ -public class WorkbookFunctionsColumnsRequest extends BaseWorkbookFunctionsColumnsRequest implements IWorkbookFunctionsColumnsRequest { +public class WorkbookFunctionsColumnsRequest extends BaseRequest implements IWorkbookFunctionsColumnsRequest { + protected final WorkbookFunctionsColumnsBody body; /** * The request for this WorkbookFunctionsColumns @@ -23,6 +32,49 @@ public class WorkbookFunctionsColumnsRequest extends BaseWorkbookFunctionsColumn * @param requestOptions the options for this request */ public WorkbookFunctionsColumnsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsColumnsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsColumnsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsColumnsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsColumnsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsColumnsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsColumnsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsColumnsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequestBuilder.java index e9f9aaf451c..88206846551 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsColumnsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsColumnsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsColumnsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Columns Request Builder. */ -public class WorkbookFunctionsColumnsRequestBuilder extends BaseWorkbookFunctionsColumnsRequestBuilder implements IWorkbookFunctionsColumnsRequestBuilder { +public class WorkbookFunctionsColumnsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsColumnsRequestBuilder { /** * The request builder for this WorkbookFunctionsColumns @@ -24,6 +29,36 @@ public class WorkbookFunctionsColumnsRequestBuilder extends BaseWorkbookFunction * @param array the array */ public WorkbookFunctionsColumnsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array) { - super(requestUrl, client, requestOptions, array); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + } + + /** + * Creates the IWorkbookFunctionsColumnsRequest + * + * @return the IWorkbookFunctionsColumnsRequest instance + */ + public IWorkbookFunctionsColumnsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsColumnsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsColumnsRequest instance + */ + public IWorkbookFunctionsColumnsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsColumnsRequest request = new WorkbookFunctionsColumnsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequest.java index 1d1478677f8..839cd25d865 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCombinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCombinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Combin Request. */ -public class WorkbookFunctionsCombinRequest extends BaseWorkbookFunctionsCombinRequest implements IWorkbookFunctionsCombinRequest { +public class WorkbookFunctionsCombinRequest extends BaseRequest implements IWorkbookFunctionsCombinRequest { + protected final WorkbookFunctionsCombinBody body; /** * The request for this WorkbookFunctionsCombin @@ -23,6 +32,49 @@ public class WorkbookFunctionsCombinRequest extends BaseWorkbookFunctionsCombinR * @param requestOptions the options for this request */ public WorkbookFunctionsCombinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCombinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCombinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCombinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCombinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCombinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCombinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCombinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequestBuilder.java index 5a62a77a20b..4e7f695c433 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCombinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Combin Request Builder. */ -public class WorkbookFunctionsCombinRequestBuilder extends BaseWorkbookFunctionsCombinRequestBuilder implements IWorkbookFunctionsCombinRequestBuilder { +public class WorkbookFunctionsCombinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCombinRequestBuilder { /** * The request builder for this WorkbookFunctionsCombin @@ -25,6 +30,41 @@ public class WorkbookFunctionsCombinRequestBuilder extends BaseWorkbookFunctions * @param numberChosen the numberChosen */ public WorkbookFunctionsCombinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions, number, numberChosen); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numberChosen", numberChosen); + } + + /** + * Creates the IWorkbookFunctionsCombinRequest + * + * @return the IWorkbookFunctionsCombinRequest instance + */ + public IWorkbookFunctionsCombinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCombinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCombinRequest instance + */ + public IWorkbookFunctionsCombinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCombinRequest request = new WorkbookFunctionsCombinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numberChosen")) { + request.body.numberChosen = getParameter("numberChosen"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequest.java index a1dfdde9177..67453b16380 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCombinaBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCombinaRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Combina Request. */ -public class WorkbookFunctionsCombinaRequest extends BaseWorkbookFunctionsCombinaRequest implements IWorkbookFunctionsCombinaRequest { +public class WorkbookFunctionsCombinaRequest extends BaseRequest implements IWorkbookFunctionsCombinaRequest { + protected final WorkbookFunctionsCombinaBody body; /** * The request for this WorkbookFunctionsCombina @@ -23,6 +32,49 @@ public class WorkbookFunctionsCombinaRequest extends BaseWorkbookFunctionsCombin * @param requestOptions the options for this request */ public WorkbookFunctionsCombinaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCombinaBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCombinaRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCombinaRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCombinaRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCombinaRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCombinaRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCombinaRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequestBuilder.java index bd1eb9153bd..360912e0c66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCombinaRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinaRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCombinaRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Combina Request Builder. */ -public class WorkbookFunctionsCombinaRequestBuilder extends BaseWorkbookFunctionsCombinaRequestBuilder implements IWorkbookFunctionsCombinaRequestBuilder { +public class WorkbookFunctionsCombinaRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCombinaRequestBuilder { /** * The request builder for this WorkbookFunctionsCombina @@ -25,6 +30,41 @@ public class WorkbookFunctionsCombinaRequestBuilder extends BaseWorkbookFunction * @param numberChosen the numberChosen */ public WorkbookFunctionsCombinaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions, number, numberChosen); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numberChosen", numberChosen); + } + + /** + * Creates the IWorkbookFunctionsCombinaRequest + * + * @return the IWorkbookFunctionsCombinaRequest instance + */ + public IWorkbookFunctionsCombinaRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCombinaRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCombinaRequest instance + */ + public IWorkbookFunctionsCombinaRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCombinaRequest request = new WorkbookFunctionsCombinaRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numberChosen")) { + request.body.numberChosen = getParameter("numberChosen"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequest.java index 425a7bd4878..1a198dfbd49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsComplexBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsComplexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsComplexRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Complex Request. */ -public class WorkbookFunctionsComplexRequest extends BaseWorkbookFunctionsComplexRequest implements IWorkbookFunctionsComplexRequest { +public class WorkbookFunctionsComplexRequest extends BaseRequest implements IWorkbookFunctionsComplexRequest { + protected final WorkbookFunctionsComplexBody body; /** * The request for this WorkbookFunctionsComplex @@ -23,6 +32,49 @@ public class WorkbookFunctionsComplexRequest extends BaseWorkbookFunctionsComple * @param requestOptions the options for this request */ public WorkbookFunctionsComplexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsComplexBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsComplexRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsComplexRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsComplexRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsComplexRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsComplexRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsComplexRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequestBuilder.java index f9cc7566f1d..7e4e7675b8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsComplexRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsComplexRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsComplexRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Complex Request Builder. */ -public class WorkbookFunctionsComplexRequestBuilder extends BaseWorkbookFunctionsComplexRequestBuilder implements IWorkbookFunctionsComplexRequestBuilder { +public class WorkbookFunctionsComplexRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsComplexRequestBuilder { /** * The request builder for this WorkbookFunctionsComplex @@ -26,6 +31,46 @@ public class WorkbookFunctionsComplexRequestBuilder extends BaseWorkbookFunction * @param suffix the suffix */ public WorkbookFunctionsComplexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement realNum, final com.google.gson.JsonElement iNum, final com.google.gson.JsonElement suffix) { - super(requestUrl, client, requestOptions, realNum, iNum, suffix); + super(requestUrl, client, requestOptions); + bodyParams.put("realNum", realNum); + bodyParams.put("iNum", iNum); + bodyParams.put("suffix", suffix); + } + + /** + * Creates the IWorkbookFunctionsComplexRequest + * + * @return the IWorkbookFunctionsComplexRequest instance + */ + public IWorkbookFunctionsComplexRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsComplexRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsComplexRequest instance + */ + public IWorkbookFunctionsComplexRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsComplexRequest request = new WorkbookFunctionsComplexRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("realNum")) { + request.body.realNum = getParameter("realNum"); + } + + if (hasParameter("iNum")) { + request.body.iNum = getParameter("iNum"); + } + + if (hasParameter("suffix")) { + request.body.suffix = getParameter("suffix"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequest.java index 322002e11a1..307ac22093b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsConcatenateBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConcatenateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConcatenateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Concatenate Request. */ -public class WorkbookFunctionsConcatenateRequest extends BaseWorkbookFunctionsConcatenateRequest implements IWorkbookFunctionsConcatenateRequest { +public class WorkbookFunctionsConcatenateRequest extends BaseRequest implements IWorkbookFunctionsConcatenateRequest { + protected final WorkbookFunctionsConcatenateBody body; /** * The request for this WorkbookFunctionsConcatenate @@ -23,6 +32,49 @@ public class WorkbookFunctionsConcatenateRequest extends BaseWorkbookFunctionsCo * @param requestOptions the options for this request */ public WorkbookFunctionsConcatenateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsConcatenateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsConcatenateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsConcatenateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsConcatenateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsConcatenateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsConcatenateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsConcatenateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequestBuilder.java index f1cb28581e2..fcd4ff5b915 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConcatenateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConcatenateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConcatenateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Concatenate Request Builder. */ -public class WorkbookFunctionsConcatenateRequestBuilder extends BaseWorkbookFunctionsConcatenateRequestBuilder implements IWorkbookFunctionsConcatenateRequestBuilder { +public class WorkbookFunctionsConcatenateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsConcatenateRequestBuilder { /** * The request builder for this WorkbookFunctionsConcatenate @@ -24,6 +29,36 @@ public class WorkbookFunctionsConcatenateRequestBuilder extends BaseWorkbookFunc * @param values the values */ public WorkbookFunctionsConcatenateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsConcatenateRequest + * + * @return the IWorkbookFunctionsConcatenateRequest instance + */ + public IWorkbookFunctionsConcatenateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsConcatenateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConcatenateRequest instance + */ + public IWorkbookFunctionsConcatenateRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsConcatenateRequest request = new WorkbookFunctionsConcatenateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequest.java index 2ccee3007c4..ae81ca5cdf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsConfidence_NormBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_NormRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConfidence_NormRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Confidence_Norm Request. */ -public class WorkbookFunctionsConfidence_NormRequest extends BaseWorkbookFunctionsConfidence_NormRequest implements IWorkbookFunctionsConfidence_NormRequest { +public class WorkbookFunctionsConfidence_NormRequest extends BaseRequest implements IWorkbookFunctionsConfidence_NormRequest { + protected final WorkbookFunctionsConfidence_NormBody body; /** * The request for this WorkbookFunctionsConfidence_Norm @@ -23,6 +32,49 @@ public class WorkbookFunctionsConfidence_NormRequest extends BaseWorkbookFunctio * @param requestOptions the options for this request */ public WorkbookFunctionsConfidence_NormRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsConfidence_NormBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsConfidence_NormRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsConfidence_NormRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsConfidence_NormRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsConfidence_NormRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsConfidence_NormRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsConfidence_NormRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequestBuilder.java index 2fdb30713b1..864b5a3658e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_NormRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_NormRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConfidence_NormRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Confidence_Norm Request Builder. */ -public class WorkbookFunctionsConfidence_NormRequestBuilder extends BaseWorkbookFunctionsConfidence_NormRequestBuilder implements IWorkbookFunctionsConfidence_NormRequestBuilder { +public class WorkbookFunctionsConfidence_NormRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsConfidence_NormRequestBuilder { /** * The request builder for this WorkbookFunctionsConfidence_Norm @@ -26,6 +31,46 @@ public class WorkbookFunctionsConfidence_NormRequestBuilder extends BaseWorkbook * @param size the size */ public WorkbookFunctionsConfidence_NormRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { - super(requestUrl, client, requestOptions, alpha, standardDev, size); + super(requestUrl, client, requestOptions); + bodyParams.put("alpha", alpha); + bodyParams.put("standardDev", standardDev); + bodyParams.put("size", size); + } + + /** + * Creates the IWorkbookFunctionsConfidence_NormRequest + * + * @return the IWorkbookFunctionsConfidence_NormRequest instance + */ + public IWorkbookFunctionsConfidence_NormRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsConfidence_NormRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConfidence_NormRequest instance + */ + public IWorkbookFunctionsConfidence_NormRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsConfidence_NormRequest request = new WorkbookFunctionsConfidence_NormRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + if (hasParameter("size")) { + request.body.size = getParameter("size"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequest.java index 30bf05289e2..d4eee5b492b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsConfidence_TBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_TRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConfidence_TRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Confidence_TRequest. */ -public class WorkbookFunctionsConfidence_TRequest extends BaseWorkbookFunctionsConfidence_TRequest implements IWorkbookFunctionsConfidence_TRequest { +public class WorkbookFunctionsConfidence_TRequest extends BaseRequest implements IWorkbookFunctionsConfidence_TRequest { + protected final WorkbookFunctionsConfidence_TBody body; /** * The request for this WorkbookFunctionsConfidence_T @@ -23,6 +32,49 @@ public class WorkbookFunctionsConfidence_TRequest extends BaseWorkbookFunctionsC * @param requestOptions the options for this request */ public WorkbookFunctionsConfidence_TRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsConfidence_TBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsConfidence_TRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsConfidence_TRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsConfidence_TRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsConfidence_TRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsConfidence_TRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsConfidence_TRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequestBuilder.java index 899b8d5f36e..dcdb48729ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConfidence_TRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_TRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConfidence_TRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Confidence_TRequest Builder. */ -public class WorkbookFunctionsConfidence_TRequestBuilder extends BaseWorkbookFunctionsConfidence_TRequestBuilder implements IWorkbookFunctionsConfidence_TRequestBuilder { +public class WorkbookFunctionsConfidence_TRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsConfidence_TRequestBuilder { /** * The request builder for this WorkbookFunctionsConfidence_T @@ -26,6 +31,46 @@ public class WorkbookFunctionsConfidence_TRequestBuilder extends BaseWorkbookFun * @param size the size */ public WorkbookFunctionsConfidence_TRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { - super(requestUrl, client, requestOptions, alpha, standardDev, size); + super(requestUrl, client, requestOptions); + bodyParams.put("alpha", alpha); + bodyParams.put("standardDev", standardDev); + bodyParams.put("size", size); + } + + /** + * Creates the IWorkbookFunctionsConfidence_TRequest + * + * @return the IWorkbookFunctionsConfidence_TRequest instance + */ + public IWorkbookFunctionsConfidence_TRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsConfidence_TRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConfidence_TRequest instance + */ + public IWorkbookFunctionsConfidence_TRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsConfidence_TRequest request = new WorkbookFunctionsConfidence_TRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + if (hasParameter("size")) { + request.body.size = getParameter("size"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequest.java index 12387ebe8ee..3528facbacb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsConvertBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConvertRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConvertRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Convert Request. */ -public class WorkbookFunctionsConvertRequest extends BaseWorkbookFunctionsConvertRequest implements IWorkbookFunctionsConvertRequest { +public class WorkbookFunctionsConvertRequest extends BaseRequest implements IWorkbookFunctionsConvertRequest { + protected final WorkbookFunctionsConvertBody body; /** * The request for this WorkbookFunctionsConvert @@ -23,6 +32,49 @@ public class WorkbookFunctionsConvertRequest extends BaseWorkbookFunctionsConver * @param requestOptions the options for this request */ public WorkbookFunctionsConvertRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsConvertBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsConvertRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsConvertRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsConvertRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsConvertRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsConvertRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsConvertRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequestBuilder.java index d28ca485e6a..8461999adc5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsConvertRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConvertRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsConvertRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Convert Request Builder. */ -public class WorkbookFunctionsConvertRequestBuilder extends BaseWorkbookFunctionsConvertRequestBuilder implements IWorkbookFunctionsConvertRequestBuilder { +public class WorkbookFunctionsConvertRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsConvertRequestBuilder { /** * The request builder for this WorkbookFunctionsConvert @@ -26,6 +31,46 @@ public class WorkbookFunctionsConvertRequestBuilder extends BaseWorkbookFunction * @param toUnit the toUnit */ public WorkbookFunctionsConvertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement fromUnit, final com.google.gson.JsonElement toUnit) { - super(requestUrl, client, requestOptions, number, fromUnit, toUnit); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("fromUnit", fromUnit); + bodyParams.put("toUnit", toUnit); + } + + /** + * Creates the IWorkbookFunctionsConvertRequest + * + * @return the IWorkbookFunctionsConvertRequest instance + */ + public IWorkbookFunctionsConvertRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsConvertRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsConvertRequest instance + */ + public IWorkbookFunctionsConvertRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsConvertRequest request = new WorkbookFunctionsConvertRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("fromUnit")) { + request.body.fromUnit = getParameter("fromUnit"); + } + + if (hasParameter("toUnit")) { + request.body.toUnit = getParameter("toUnit"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequest.java index ffad3256efa..a576ade5e01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCosBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCosRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCosRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cos Request. */ -public class WorkbookFunctionsCosRequest extends BaseWorkbookFunctionsCosRequest implements IWorkbookFunctionsCosRequest { +public class WorkbookFunctionsCosRequest extends BaseRequest implements IWorkbookFunctionsCosRequest { + protected final WorkbookFunctionsCosBody body; /** * The request for this WorkbookFunctionsCos @@ -23,6 +32,49 @@ public class WorkbookFunctionsCosRequest extends BaseWorkbookFunctionsCosRequest * @param requestOptions the options for this request */ public WorkbookFunctionsCosRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCosBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCosRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCosRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCosRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCosRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCosRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCosRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequestBuilder.java index 1685d84ceed..e6ac16333d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCosRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCosRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCosRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cos Request Builder. */ -public class WorkbookFunctionsCosRequestBuilder extends BaseWorkbookFunctionsCosRequestBuilder implements IWorkbookFunctionsCosRequestBuilder { +public class WorkbookFunctionsCosRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCosRequestBuilder { /** * The request builder for this WorkbookFunctionsCos @@ -24,6 +29,36 @@ public class WorkbookFunctionsCosRequestBuilder extends BaseWorkbookFunctionsCos * @param number the number */ public WorkbookFunctionsCosRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCosRequest + * + * @return the IWorkbookFunctionsCosRequest instance + */ + public IWorkbookFunctionsCosRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCosRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCosRequest instance + */ + public IWorkbookFunctionsCosRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCosRequest request = new WorkbookFunctionsCosRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequest.java index dacfda74067..d60554af18b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoshBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoshRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cosh Request. */ -public class WorkbookFunctionsCoshRequest extends BaseWorkbookFunctionsCoshRequest implements IWorkbookFunctionsCoshRequest { +public class WorkbookFunctionsCoshRequest extends BaseRequest implements IWorkbookFunctionsCoshRequest { + protected final WorkbookFunctionsCoshBody body; /** * The request for this WorkbookFunctionsCosh @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoshRequest extends BaseWorkbookFunctionsCoshReque * @param requestOptions the options for this request */ public WorkbookFunctionsCoshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoshBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoshRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoshRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoshRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoshRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoshRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoshRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequestBuilder.java index 6b83da1e0a1..5414903b8cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoshRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoshRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoshRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cosh Request Builder. */ -public class WorkbookFunctionsCoshRequestBuilder extends BaseWorkbookFunctionsCoshRequestBuilder implements IWorkbookFunctionsCoshRequestBuilder { +public class WorkbookFunctionsCoshRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoshRequestBuilder { /** * The request builder for this WorkbookFunctionsCosh @@ -24,6 +29,36 @@ public class WorkbookFunctionsCoshRequestBuilder extends BaseWorkbookFunctionsCo * @param number the number */ public WorkbookFunctionsCoshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCoshRequest + * + * @return the IWorkbookFunctionsCoshRequest instance + */ + public IWorkbookFunctionsCoshRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoshRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoshRequest instance + */ + public IWorkbookFunctionsCoshRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoshRequest request = new WorkbookFunctionsCoshRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequest.java index 141d601f25a..1137387268f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCotBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCotRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cot Request. */ -public class WorkbookFunctionsCotRequest extends BaseWorkbookFunctionsCotRequest implements IWorkbookFunctionsCotRequest { +public class WorkbookFunctionsCotRequest extends BaseRequest implements IWorkbookFunctionsCotRequest { + protected final WorkbookFunctionsCotBody body; /** * The request for this WorkbookFunctionsCot @@ -23,6 +32,49 @@ public class WorkbookFunctionsCotRequest extends BaseWorkbookFunctionsCotRequest * @param requestOptions the options for this request */ public WorkbookFunctionsCotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCotBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCotRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCotRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCotRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCotRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCotRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCotRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequestBuilder.java index bb5a6695115..edc063b9657 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCotRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCotRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCotRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cot Request Builder. */ -public class WorkbookFunctionsCotRequestBuilder extends BaseWorkbookFunctionsCotRequestBuilder implements IWorkbookFunctionsCotRequestBuilder { +public class WorkbookFunctionsCotRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCotRequestBuilder { /** * The request builder for this WorkbookFunctionsCot @@ -24,6 +29,36 @@ public class WorkbookFunctionsCotRequestBuilder extends BaseWorkbookFunctionsCot * @param number the number */ public WorkbookFunctionsCotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCotRequest + * + * @return the IWorkbookFunctionsCotRequest instance + */ + public IWorkbookFunctionsCotRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCotRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCotRequest instance + */ + public IWorkbookFunctionsCotRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCotRequest request = new WorkbookFunctionsCotRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequest.java index 01428b40469..ea82ec1320e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCothBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCothRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCothRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coth Request. */ -public class WorkbookFunctionsCothRequest extends BaseWorkbookFunctionsCothRequest implements IWorkbookFunctionsCothRequest { +public class WorkbookFunctionsCothRequest extends BaseRequest implements IWorkbookFunctionsCothRequest { + protected final WorkbookFunctionsCothBody body; /** * The request for this WorkbookFunctionsCoth @@ -23,6 +32,49 @@ public class WorkbookFunctionsCothRequest extends BaseWorkbookFunctionsCothReque * @param requestOptions the options for this request */ public WorkbookFunctionsCothRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCothBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCothRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCothRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCothRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCothRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCothRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCothRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequestBuilder.java index 9d635d42165..1e635fe59cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCothRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCothRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCothRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coth Request Builder. */ -public class WorkbookFunctionsCothRequestBuilder extends BaseWorkbookFunctionsCothRequestBuilder implements IWorkbookFunctionsCothRequestBuilder { +public class WorkbookFunctionsCothRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCothRequestBuilder { /** * The request builder for this WorkbookFunctionsCoth @@ -24,6 +29,36 @@ public class WorkbookFunctionsCothRequestBuilder extends BaseWorkbookFunctionsCo * @param number the number */ public WorkbookFunctionsCothRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCothRequest + * + * @return the IWorkbookFunctionsCothRequest instance + */ + public IWorkbookFunctionsCothRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCothRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCothRequest instance + */ + public IWorkbookFunctionsCothRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCothRequest request = new WorkbookFunctionsCothRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequest.java index fa53289f0dd..cf3bf0f5156 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCountABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count ARequest. */ -public class WorkbookFunctionsCountARequest extends BaseWorkbookFunctionsCountARequest implements IWorkbookFunctionsCountARequest { +public class WorkbookFunctionsCountARequest extends BaseRequest implements IWorkbookFunctionsCountARequest { + protected final WorkbookFunctionsCountABody body; /** * The request for this WorkbookFunctionsCountA @@ -23,6 +32,49 @@ public class WorkbookFunctionsCountARequest extends BaseWorkbookFunctionsCountAR * @param requestOptions the options for this request */ public WorkbookFunctionsCountARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCountABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCountARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCountARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCountARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCountARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCountARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCountARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequestBuilder.java index 4aa9c3b7f30..852a98245f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count ARequest Builder. */ -public class WorkbookFunctionsCountARequestBuilder extends BaseWorkbookFunctionsCountARequestBuilder implements IWorkbookFunctionsCountARequestBuilder { +public class WorkbookFunctionsCountARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCountARequestBuilder { /** * The request builder for this WorkbookFunctionsCountA @@ -24,6 +29,36 @@ public class WorkbookFunctionsCountARequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsCountARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsCountARequest + * + * @return the IWorkbookFunctionsCountARequest instance + */ + public IWorkbookFunctionsCountARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCountARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountARequest instance + */ + public IWorkbookFunctionsCountARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCountARequest request = new WorkbookFunctionsCountARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequest.java index 2ccd3c68bdc..9d7dfc68ea1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCountBlankBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountBlankRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountBlankRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Blank Request. */ -public class WorkbookFunctionsCountBlankRequest extends BaseWorkbookFunctionsCountBlankRequest implements IWorkbookFunctionsCountBlankRequest { +public class WorkbookFunctionsCountBlankRequest extends BaseRequest implements IWorkbookFunctionsCountBlankRequest { + protected final WorkbookFunctionsCountBlankBody body; /** * The request for this WorkbookFunctionsCountBlank @@ -23,6 +32,49 @@ public class WorkbookFunctionsCountBlankRequest extends BaseWorkbookFunctionsCou * @param requestOptions the options for this request */ public WorkbookFunctionsCountBlankRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCountBlankBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCountBlankRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCountBlankRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCountBlankRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCountBlankRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCountBlankRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCountBlankRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequestBuilder.java index ccd563e85d5..82e289e2c45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountBlankRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountBlankRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountBlankRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Blank Request Builder. */ -public class WorkbookFunctionsCountBlankRequestBuilder extends BaseWorkbookFunctionsCountBlankRequestBuilder implements IWorkbookFunctionsCountBlankRequestBuilder { +public class WorkbookFunctionsCountBlankRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCountBlankRequestBuilder { /** * The request builder for this WorkbookFunctionsCountBlank @@ -24,6 +29,36 @@ public class WorkbookFunctionsCountBlankRequestBuilder extends BaseWorkbookFunct * @param range the range */ public WorkbookFunctionsCountBlankRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range) { - super(requestUrl, client, requestOptions, range); + super(requestUrl, client, requestOptions); + bodyParams.put("range", range); + } + + /** + * Creates the IWorkbookFunctionsCountBlankRequest + * + * @return the IWorkbookFunctionsCountBlankRequest instance + */ + public IWorkbookFunctionsCountBlankRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCountBlankRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountBlankRequest instance + */ + public IWorkbookFunctionsCountBlankRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCountBlankRequest request = new WorkbookFunctionsCountBlankRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("range")) { + request.body.range = getParameter("range"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequest.java index 54b391cbff8..df8eedb1605 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCountIfBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountIfRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count If Request. */ -public class WorkbookFunctionsCountIfRequest extends BaseWorkbookFunctionsCountIfRequest implements IWorkbookFunctionsCountIfRequest { +public class WorkbookFunctionsCountIfRequest extends BaseRequest implements IWorkbookFunctionsCountIfRequest { + protected final WorkbookFunctionsCountIfBody body; /** * The request for this WorkbookFunctionsCountIf @@ -23,6 +32,49 @@ public class WorkbookFunctionsCountIfRequest extends BaseWorkbookFunctionsCountI * @param requestOptions the options for this request */ public WorkbookFunctionsCountIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCountIfBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCountIfRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCountIfRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCountIfRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCountIfRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCountIfRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCountIfRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequestBuilder.java index 8f7fb0644ac..8a7c132478b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountIfRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count If Request Builder. */ -public class WorkbookFunctionsCountIfRequestBuilder extends BaseWorkbookFunctionsCountIfRequestBuilder implements IWorkbookFunctionsCountIfRequestBuilder { +public class WorkbookFunctionsCountIfRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCountIfRequestBuilder { /** * The request builder for this WorkbookFunctionsCountIf @@ -25,6 +30,41 @@ public class WorkbookFunctionsCountIfRequestBuilder extends BaseWorkbookFunction * @param criteria the criteria */ public WorkbookFunctionsCountIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, range, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("range", range); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsCountIfRequest + * + * @return the IWorkbookFunctionsCountIfRequest instance + */ + public IWorkbookFunctionsCountIfRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCountIfRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountIfRequest instance + */ + public IWorkbookFunctionsCountIfRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCountIfRequest request = new WorkbookFunctionsCountIfRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("range")) { + request.body.range = getParameter("range"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequest.java index 37e964ef06c..da92926a3cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCountIfsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountIfsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Ifs Request. */ -public class WorkbookFunctionsCountIfsRequest extends BaseWorkbookFunctionsCountIfsRequest implements IWorkbookFunctionsCountIfsRequest { +public class WorkbookFunctionsCountIfsRequest extends BaseRequest implements IWorkbookFunctionsCountIfsRequest { + protected final WorkbookFunctionsCountIfsBody body; /** * The request for this WorkbookFunctionsCountIfs @@ -23,6 +32,49 @@ public class WorkbookFunctionsCountIfsRequest extends BaseWorkbookFunctionsCount * @param requestOptions the options for this request */ public WorkbookFunctionsCountIfsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCountIfsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCountIfsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCountIfsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCountIfsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCountIfsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCountIfsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCountIfsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequestBuilder.java index e6096f1812f..586c8a6aebf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountIfsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountIfsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Ifs Request Builder. */ -public class WorkbookFunctionsCountIfsRequestBuilder extends BaseWorkbookFunctionsCountIfsRequestBuilder implements IWorkbookFunctionsCountIfsRequestBuilder { +public class WorkbookFunctionsCountIfsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCountIfsRequestBuilder { /** * The request builder for this WorkbookFunctionsCountIfs @@ -24,6 +29,36 @@ public class WorkbookFunctionsCountIfsRequestBuilder extends BaseWorkbookFunctio * @param values the values */ public WorkbookFunctionsCountIfsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsCountIfsRequest + * + * @return the IWorkbookFunctionsCountIfsRequest instance + */ + public IWorkbookFunctionsCountIfsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCountIfsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountIfsRequest instance + */ + public IWorkbookFunctionsCountIfsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCountIfsRequest request = new WorkbookFunctionsCountIfsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequest.java index f3d1c0cb404..ac0d2abff32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCountBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Request. */ -public class WorkbookFunctionsCountRequest extends BaseWorkbookFunctionsCountRequest implements IWorkbookFunctionsCountRequest { +public class WorkbookFunctionsCountRequest extends BaseRequest implements IWorkbookFunctionsCountRequest { + protected final WorkbookFunctionsCountBody body; /** * The request for this WorkbookFunctionsCount @@ -23,6 +32,49 @@ public class WorkbookFunctionsCountRequest extends BaseWorkbookFunctionsCountReq * @param requestOptions the options for this request */ public WorkbookFunctionsCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCountBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCountRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCountRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequestBuilder.java index e0120ed13ce..5d122cbf1d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Count Request Builder. */ -public class WorkbookFunctionsCountRequestBuilder extends BaseWorkbookFunctionsCountRequestBuilder implements IWorkbookFunctionsCountRequestBuilder { +public class WorkbookFunctionsCountRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCountRequestBuilder { /** * The request builder for this WorkbookFunctionsCount @@ -24,6 +29,36 @@ public class WorkbookFunctionsCountRequestBuilder extends BaseWorkbookFunctionsC * @param values the values */ public WorkbookFunctionsCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsCountRequest + * + * @return the IWorkbookFunctionsCountRequest instance + */ + public IWorkbookFunctionsCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCountRequest instance + */ + public IWorkbookFunctionsCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCountRequest request = new WorkbookFunctionsCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequest.java index 477a8ae1ba3..099160bf4b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupDayBsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDayBsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupDayBsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Day Bs Request. */ -public class WorkbookFunctionsCoupDayBsRequest extends BaseWorkbookFunctionsCoupDayBsRequest implements IWorkbookFunctionsCoupDayBsRequest { +public class WorkbookFunctionsCoupDayBsRequest extends BaseRequest implements IWorkbookFunctionsCoupDayBsRequest { + protected final WorkbookFunctionsCoupDayBsBody body; /** * The request for this WorkbookFunctionsCoupDayBs @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoupDayBsRequest extends BaseWorkbookFunctionsCoup * @param requestOptions the options for this request */ public WorkbookFunctionsCoupDayBsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoupDayBsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoupDayBsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoupDayBsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoupDayBsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoupDayBsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoupDayBsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoupDayBsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequestBuilder.java index 17d042ed208..0aeea06adeb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDayBsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDayBsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupDayBsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Day Bs Request Builder. */ -public class WorkbookFunctionsCoupDayBsRequestBuilder extends BaseWorkbookFunctionsCoupDayBsRequestBuilder implements IWorkbookFunctionsCoupDayBsRequestBuilder { +public class WorkbookFunctionsCoupDayBsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoupDayBsRequestBuilder { /** * The request builder for this WorkbookFunctionsCoupDayBs @@ -27,6 +32,51 @@ public class WorkbookFunctionsCoupDayBsRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsCoupDayBsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsCoupDayBsRequest + * + * @return the IWorkbookFunctionsCoupDayBsRequest instance + */ + public IWorkbookFunctionsCoupDayBsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoupDayBsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupDayBsRequest instance + */ + public IWorkbookFunctionsCoupDayBsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoupDayBsRequest request = new WorkbookFunctionsCoupDayBsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequest.java index cae05eafc2c..74573935e77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupDaysNcBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysNcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupDaysNcRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Days Nc Request. */ -public class WorkbookFunctionsCoupDaysNcRequest extends BaseWorkbookFunctionsCoupDaysNcRequest implements IWorkbookFunctionsCoupDaysNcRequest { +public class WorkbookFunctionsCoupDaysNcRequest extends BaseRequest implements IWorkbookFunctionsCoupDaysNcRequest { + protected final WorkbookFunctionsCoupDaysNcBody body; /** * The request for this WorkbookFunctionsCoupDaysNc @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoupDaysNcRequest extends BaseWorkbookFunctionsCou * @param requestOptions the options for this request */ public WorkbookFunctionsCoupDaysNcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoupDaysNcBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoupDaysNcRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoupDaysNcRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoupDaysNcRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoupDaysNcRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoupDaysNcRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoupDaysNcRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequestBuilder.java index 8112ef8875b..363983e0fa3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysNcRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysNcRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupDaysNcRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Days Nc Request Builder. */ -public class WorkbookFunctionsCoupDaysNcRequestBuilder extends BaseWorkbookFunctionsCoupDaysNcRequestBuilder implements IWorkbookFunctionsCoupDaysNcRequestBuilder { +public class WorkbookFunctionsCoupDaysNcRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoupDaysNcRequestBuilder { /** * The request builder for this WorkbookFunctionsCoupDaysNc @@ -27,6 +32,51 @@ public class WorkbookFunctionsCoupDaysNcRequestBuilder extends BaseWorkbookFunct * @param basis the basis */ public WorkbookFunctionsCoupDaysNcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsCoupDaysNcRequest + * + * @return the IWorkbookFunctionsCoupDaysNcRequest instance + */ + public IWorkbookFunctionsCoupDaysNcRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoupDaysNcRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupDaysNcRequest instance + */ + public IWorkbookFunctionsCoupDaysNcRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoupDaysNcRequest request = new WorkbookFunctionsCoupDaysNcRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequest.java index 4eee3081c0b..1368d90da18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupDaysBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupDaysRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Days Request. */ -public class WorkbookFunctionsCoupDaysRequest extends BaseWorkbookFunctionsCoupDaysRequest implements IWorkbookFunctionsCoupDaysRequest { +public class WorkbookFunctionsCoupDaysRequest extends BaseRequest implements IWorkbookFunctionsCoupDaysRequest { + protected final WorkbookFunctionsCoupDaysBody body; /** * The request for this WorkbookFunctionsCoupDays @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoupDaysRequest extends BaseWorkbookFunctionsCoupD * @param requestOptions the options for this request */ public WorkbookFunctionsCoupDaysRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoupDaysBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoupDaysRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoupDaysRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoupDaysRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoupDaysRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoupDaysRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoupDaysRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequestBuilder.java index 3d5ba256c07..a72f55417d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupDaysRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupDaysRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Days Request Builder. */ -public class WorkbookFunctionsCoupDaysRequestBuilder extends BaseWorkbookFunctionsCoupDaysRequestBuilder implements IWorkbookFunctionsCoupDaysRequestBuilder { +public class WorkbookFunctionsCoupDaysRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoupDaysRequestBuilder { /** * The request builder for this WorkbookFunctionsCoupDays @@ -27,6 +32,51 @@ public class WorkbookFunctionsCoupDaysRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsCoupDaysRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsCoupDaysRequest + * + * @return the IWorkbookFunctionsCoupDaysRequest instance + */ + public IWorkbookFunctionsCoupDaysRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoupDaysRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupDaysRequest instance + */ + public IWorkbookFunctionsCoupDaysRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoupDaysRequest request = new WorkbookFunctionsCoupDaysRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequest.java index ee8548d1c78..c835fe6b299 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupNcdBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNcdRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupNcdRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Ncd Request. */ -public class WorkbookFunctionsCoupNcdRequest extends BaseWorkbookFunctionsCoupNcdRequest implements IWorkbookFunctionsCoupNcdRequest { +public class WorkbookFunctionsCoupNcdRequest extends BaseRequest implements IWorkbookFunctionsCoupNcdRequest { + protected final WorkbookFunctionsCoupNcdBody body; /** * The request for this WorkbookFunctionsCoupNcd @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoupNcdRequest extends BaseWorkbookFunctionsCoupNc * @param requestOptions the options for this request */ public WorkbookFunctionsCoupNcdRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoupNcdBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoupNcdRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoupNcdRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoupNcdRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoupNcdRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoupNcdRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoupNcdRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequestBuilder.java index 639cdd8a246..8bdcf42cfc8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNcdRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNcdRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupNcdRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Ncd Request Builder. */ -public class WorkbookFunctionsCoupNcdRequestBuilder extends BaseWorkbookFunctionsCoupNcdRequestBuilder implements IWorkbookFunctionsCoupNcdRequestBuilder { +public class WorkbookFunctionsCoupNcdRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoupNcdRequestBuilder { /** * The request builder for this WorkbookFunctionsCoupNcd @@ -27,6 +32,51 @@ public class WorkbookFunctionsCoupNcdRequestBuilder extends BaseWorkbookFunction * @param basis the basis */ public WorkbookFunctionsCoupNcdRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsCoupNcdRequest + * + * @return the IWorkbookFunctionsCoupNcdRequest instance + */ + public IWorkbookFunctionsCoupNcdRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoupNcdRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupNcdRequest instance + */ + public IWorkbookFunctionsCoupNcdRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoupNcdRequest request = new WorkbookFunctionsCoupNcdRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequest.java index 32f18fea366..da86d3292fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupNumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupNumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Num Request. */ -public class WorkbookFunctionsCoupNumRequest extends BaseWorkbookFunctionsCoupNumRequest implements IWorkbookFunctionsCoupNumRequest { +public class WorkbookFunctionsCoupNumRequest extends BaseRequest implements IWorkbookFunctionsCoupNumRequest { + protected final WorkbookFunctionsCoupNumBody body; /** * The request for this WorkbookFunctionsCoupNum @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoupNumRequest extends BaseWorkbookFunctionsCoupNu * @param requestOptions the options for this request */ public WorkbookFunctionsCoupNumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoupNumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoupNumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoupNumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoupNumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoupNumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoupNumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoupNumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequestBuilder.java index e86d9a6881d..c615d450d2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupNumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupNumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Num Request Builder. */ -public class WorkbookFunctionsCoupNumRequestBuilder extends BaseWorkbookFunctionsCoupNumRequestBuilder implements IWorkbookFunctionsCoupNumRequestBuilder { +public class WorkbookFunctionsCoupNumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoupNumRequestBuilder { /** * The request builder for this WorkbookFunctionsCoupNum @@ -27,6 +32,51 @@ public class WorkbookFunctionsCoupNumRequestBuilder extends BaseWorkbookFunction * @param basis the basis */ public WorkbookFunctionsCoupNumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsCoupNumRequest + * + * @return the IWorkbookFunctionsCoupNumRequest instance + */ + public IWorkbookFunctionsCoupNumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoupNumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupNumRequest instance + */ + public IWorkbookFunctionsCoupNumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoupNumRequest request = new WorkbookFunctionsCoupNumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequest.java index cf1ff977eb7..b58962eceb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupPcdBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupPcdRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupPcdRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Pcd Request. */ -public class WorkbookFunctionsCoupPcdRequest extends BaseWorkbookFunctionsCoupPcdRequest implements IWorkbookFunctionsCoupPcdRequest { +public class WorkbookFunctionsCoupPcdRequest extends BaseRequest implements IWorkbookFunctionsCoupPcdRequest { + protected final WorkbookFunctionsCoupPcdBody body; /** * The request for this WorkbookFunctionsCoupPcd @@ -23,6 +32,49 @@ public class WorkbookFunctionsCoupPcdRequest extends BaseWorkbookFunctionsCoupPc * @param requestOptions the options for this request */ public WorkbookFunctionsCoupPcdRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCoupPcdBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCoupPcdRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCoupPcdRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCoupPcdRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCoupPcdRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCoupPcdRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCoupPcdRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequestBuilder.java index ab0bf981b72..c0177d4430e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCoupPcdRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupPcdRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCoupPcdRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Coup Pcd Request Builder. */ -public class WorkbookFunctionsCoupPcdRequestBuilder extends BaseWorkbookFunctionsCoupPcdRequestBuilder implements IWorkbookFunctionsCoupPcdRequestBuilder { +public class WorkbookFunctionsCoupPcdRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCoupPcdRequestBuilder { /** * The request builder for this WorkbookFunctionsCoupPcd @@ -27,6 +32,51 @@ public class WorkbookFunctionsCoupPcdRequestBuilder extends BaseWorkbookFunction * @param basis the basis */ public WorkbookFunctionsCoupPcdRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsCoupPcdRequest + * + * @return the IWorkbookFunctionsCoupPcdRequest instance + */ + public IWorkbookFunctionsCoupPcdRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCoupPcdRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCoupPcdRequest instance + */ + public IWorkbookFunctionsCoupPcdRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCoupPcdRequest request = new WorkbookFunctionsCoupPcdRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequest.java index 6b537d1506e..6bd9e4ed5dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCscBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCscRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Csc Request. */ -public class WorkbookFunctionsCscRequest extends BaseWorkbookFunctionsCscRequest implements IWorkbookFunctionsCscRequest { +public class WorkbookFunctionsCscRequest extends BaseRequest implements IWorkbookFunctionsCscRequest { + protected final WorkbookFunctionsCscBody body; /** * The request for this WorkbookFunctionsCsc @@ -23,6 +32,49 @@ public class WorkbookFunctionsCscRequest extends BaseWorkbookFunctionsCscRequest * @param requestOptions the options for this request */ public WorkbookFunctionsCscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCscBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCscRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCscRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCscRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCscRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCscRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCscRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequestBuilder.java index 4057b191fa0..6aaa306217b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCscRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCscRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCscRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Csc Request Builder. */ -public class WorkbookFunctionsCscRequestBuilder extends BaseWorkbookFunctionsCscRequestBuilder implements IWorkbookFunctionsCscRequestBuilder { +public class WorkbookFunctionsCscRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCscRequestBuilder { /** * The request builder for this WorkbookFunctionsCsc @@ -24,6 +29,36 @@ public class WorkbookFunctionsCscRequestBuilder extends BaseWorkbookFunctionsCsc * @param number the number */ public WorkbookFunctionsCscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCscRequest + * + * @return the IWorkbookFunctionsCscRequest instance + */ + public IWorkbookFunctionsCscRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCscRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCscRequest instance + */ + public IWorkbookFunctionsCscRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCscRequest request = new WorkbookFunctionsCscRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequest.java index 65732b56c49..c21bdf7f20a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCschBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCschRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCschRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Csch Request. */ -public class WorkbookFunctionsCschRequest extends BaseWorkbookFunctionsCschRequest implements IWorkbookFunctionsCschRequest { +public class WorkbookFunctionsCschRequest extends BaseRequest implements IWorkbookFunctionsCschRequest { + protected final WorkbookFunctionsCschBody body; /** * The request for this WorkbookFunctionsCsch @@ -23,6 +32,49 @@ public class WorkbookFunctionsCschRequest extends BaseWorkbookFunctionsCschReque * @param requestOptions the options for this request */ public WorkbookFunctionsCschRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCschBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCschRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCschRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCschRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCschRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCschRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCschRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequestBuilder.java index 1b11c57e0b7..69a87b6a83f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCschRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCschRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCschRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Csch Request Builder. */ -public class WorkbookFunctionsCschRequestBuilder extends BaseWorkbookFunctionsCschRequestBuilder implements IWorkbookFunctionsCschRequestBuilder { +public class WorkbookFunctionsCschRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCschRequestBuilder { /** * The request builder for this WorkbookFunctionsCsch @@ -24,6 +29,36 @@ public class WorkbookFunctionsCschRequestBuilder extends BaseWorkbookFunctionsCs * @param number the number */ public WorkbookFunctionsCschRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsCschRequest + * + * @return the IWorkbookFunctionsCschRequest instance + */ + public IWorkbookFunctionsCschRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCschRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCschRequest instance + */ + public IWorkbookFunctionsCschRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCschRequest request = new WorkbookFunctionsCschRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequest.java index 87e1b100bb4..26334fd98f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCumIPmtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumIPmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCumIPmtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cum IPmt Request. */ -public class WorkbookFunctionsCumIPmtRequest extends BaseWorkbookFunctionsCumIPmtRequest implements IWorkbookFunctionsCumIPmtRequest { +public class WorkbookFunctionsCumIPmtRequest extends BaseRequest implements IWorkbookFunctionsCumIPmtRequest { + protected final WorkbookFunctionsCumIPmtBody body; /** * The request for this WorkbookFunctionsCumIPmt @@ -23,6 +32,49 @@ public class WorkbookFunctionsCumIPmtRequest extends BaseWorkbookFunctionsCumIPm * @param requestOptions the options for this request */ public WorkbookFunctionsCumIPmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCumIPmtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCumIPmtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCumIPmtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCumIPmtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCumIPmtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCumIPmtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCumIPmtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequestBuilder.java index cfba29d3233..36db2d56ea9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumIPmtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumIPmtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCumIPmtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cum IPmt Request Builder. */ -public class WorkbookFunctionsCumIPmtRequestBuilder extends BaseWorkbookFunctionsCumIPmtRequestBuilder implements IWorkbookFunctionsCumIPmtRequestBuilder { +public class WorkbookFunctionsCumIPmtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCumIPmtRequestBuilder { /** * The request builder for this WorkbookFunctionsCumIPmt @@ -29,6 +34,61 @@ public class WorkbookFunctionsCumIPmtRequestBuilder extends BaseWorkbookFunction * @param type the type */ public WorkbookFunctionsCumIPmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, nper, pv, startPeriod, endPeriod, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + bodyParams.put("startPeriod", startPeriod); + bodyParams.put("endPeriod", endPeriod); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsCumIPmtRequest + * + * @return the IWorkbookFunctionsCumIPmtRequest instance + */ + public IWorkbookFunctionsCumIPmtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCumIPmtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCumIPmtRequest instance + */ + public IWorkbookFunctionsCumIPmtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCumIPmtRequest request = new WorkbookFunctionsCumIPmtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("startPeriod")) { + request.body.startPeriod = getParameter("startPeriod"); + } + + if (hasParameter("endPeriod")) { + request.body.endPeriod = getParameter("endPeriod"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequest.java index 1f7d19735da..a937e469f82 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsCumPrincBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumPrincRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCumPrincRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cum Princ Request. */ -public class WorkbookFunctionsCumPrincRequest extends BaseWorkbookFunctionsCumPrincRequest implements IWorkbookFunctionsCumPrincRequest { +public class WorkbookFunctionsCumPrincRequest extends BaseRequest implements IWorkbookFunctionsCumPrincRequest { + protected final WorkbookFunctionsCumPrincBody body; /** * The request for this WorkbookFunctionsCumPrinc @@ -23,6 +32,49 @@ public class WorkbookFunctionsCumPrincRequest extends BaseWorkbookFunctionsCumPr * @param requestOptions the options for this request */ public WorkbookFunctionsCumPrincRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsCumPrincBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsCumPrincRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsCumPrincRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsCumPrincRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsCumPrincRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsCumPrincRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsCumPrincRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequestBuilder.java index 008b0d69b46..6c8fef11335 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsCumPrincRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumPrincRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsCumPrincRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Cum Princ Request Builder. */ -public class WorkbookFunctionsCumPrincRequestBuilder extends BaseWorkbookFunctionsCumPrincRequestBuilder implements IWorkbookFunctionsCumPrincRequestBuilder { +public class WorkbookFunctionsCumPrincRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsCumPrincRequestBuilder { /** * The request builder for this WorkbookFunctionsCumPrinc @@ -29,6 +34,61 @@ public class WorkbookFunctionsCumPrincRequestBuilder extends BaseWorkbookFunctio * @param type the type */ public WorkbookFunctionsCumPrincRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, nper, pv, startPeriod, endPeriod, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + bodyParams.put("startPeriod", startPeriod); + bodyParams.put("endPeriod", endPeriod); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsCumPrincRequest + * + * @return the IWorkbookFunctionsCumPrincRequest instance + */ + public IWorkbookFunctionsCumPrincRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsCumPrincRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsCumPrincRequest instance + */ + public IWorkbookFunctionsCumPrincRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsCumPrincRequest request = new WorkbookFunctionsCumPrincRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("startPeriod")) { + request.body.startPeriod = getParameter("startPeriod"); + } + + if (hasParameter("endPeriod")) { + request.body.endPeriod = getParameter("endPeriod"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequest.java index 4cde31df372..a12b6c62307 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDateBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Date Request. */ -public class WorkbookFunctionsDateRequest extends BaseWorkbookFunctionsDateRequest implements IWorkbookFunctionsDateRequest { +public class WorkbookFunctionsDateRequest extends BaseRequest implements IWorkbookFunctionsDateRequest { + protected final WorkbookFunctionsDateBody body; /** * The request for this WorkbookFunctionsDate @@ -23,6 +32,49 @@ public class WorkbookFunctionsDateRequest extends BaseWorkbookFunctionsDateReque * @param requestOptions the options for this request */ public WorkbookFunctionsDateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequestBuilder.java index 3bb1394a04c..1cb68a7f7ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Date Request Builder. */ -public class WorkbookFunctionsDateRequestBuilder extends BaseWorkbookFunctionsDateRequestBuilder implements IWorkbookFunctionsDateRequestBuilder { +public class WorkbookFunctionsDateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDateRequestBuilder { /** * The request builder for this WorkbookFunctionsDate @@ -26,6 +31,46 @@ public class WorkbookFunctionsDateRequestBuilder extends BaseWorkbookFunctionsDa * @param day the day */ public WorkbookFunctionsDateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement year, final com.google.gson.JsonElement month, final com.google.gson.JsonElement day) { - super(requestUrl, client, requestOptions, year, month, day); + super(requestUrl, client, requestOptions); + bodyParams.put("year", year); + bodyParams.put("month", month); + bodyParams.put("day", day); + } + + /** + * Creates the IWorkbookFunctionsDateRequest + * + * @return the IWorkbookFunctionsDateRequest instance + */ + public IWorkbookFunctionsDateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDateRequest instance + */ + public IWorkbookFunctionsDateRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDateRequest request = new WorkbookFunctionsDateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("year")) { + request.body.year = getParameter("year"); + } + + if (hasParameter("month")) { + request.body.month = getParameter("month"); + } + + if (hasParameter("day")) { + request.body.day = getParameter("day"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequest.java index 1969d4ac19a..a07c0fd3b66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDatevalueBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDatevalueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDatevalueRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Datevalue Request. */ -public class WorkbookFunctionsDatevalueRequest extends BaseWorkbookFunctionsDatevalueRequest implements IWorkbookFunctionsDatevalueRequest { +public class WorkbookFunctionsDatevalueRequest extends BaseRequest implements IWorkbookFunctionsDatevalueRequest { + protected final WorkbookFunctionsDatevalueBody body; /** * The request for this WorkbookFunctionsDatevalue @@ -23,6 +32,49 @@ public class WorkbookFunctionsDatevalueRequest extends BaseWorkbookFunctionsDate * @param requestOptions the options for this request */ public WorkbookFunctionsDatevalueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDatevalueBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDatevalueRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDatevalueRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDatevalueRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDatevalueRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDatevalueRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDatevalueRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequestBuilder.java index 3f2e534ef38..dc76250aa55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDatevalueRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDatevalueRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDatevalueRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Datevalue Request Builder. */ -public class WorkbookFunctionsDatevalueRequestBuilder extends BaseWorkbookFunctionsDatevalueRequestBuilder implements IWorkbookFunctionsDatevalueRequestBuilder { +public class WorkbookFunctionsDatevalueRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDatevalueRequestBuilder { /** * The request builder for this WorkbookFunctionsDatevalue @@ -24,6 +29,36 @@ public class WorkbookFunctionsDatevalueRequestBuilder extends BaseWorkbookFuncti * @param dateText the dateText */ public WorkbookFunctionsDatevalueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement dateText) { - super(requestUrl, client, requestOptions, dateText); + super(requestUrl, client, requestOptions); + bodyParams.put("dateText", dateText); + } + + /** + * Creates the IWorkbookFunctionsDatevalueRequest + * + * @return the IWorkbookFunctionsDatevalueRequest instance + */ + public IWorkbookFunctionsDatevalueRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDatevalueRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDatevalueRequest instance + */ + public IWorkbookFunctionsDatevalueRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDatevalueRequest request = new WorkbookFunctionsDatevalueRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("dateText")) { + request.body.dateText = getParameter("dateText"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequest.java index 85e9ed826b2..60b288d83aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDaverageBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaverageRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDaverageRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Daverage Request. */ -public class WorkbookFunctionsDaverageRequest extends BaseWorkbookFunctionsDaverageRequest implements IWorkbookFunctionsDaverageRequest { +public class WorkbookFunctionsDaverageRequest extends BaseRequest implements IWorkbookFunctionsDaverageRequest { + protected final WorkbookFunctionsDaverageBody body; /** * The request for this WorkbookFunctionsDaverage @@ -23,6 +32,49 @@ public class WorkbookFunctionsDaverageRequest extends BaseWorkbookFunctionsDaver * @param requestOptions the options for this request */ public WorkbookFunctionsDaverageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDaverageBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDaverageRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDaverageRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDaverageRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDaverageRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDaverageRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDaverageRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequestBuilder.java index e26a722a5ef..48cca9f0239 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaverageRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaverageRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDaverageRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Daverage Request Builder. */ -public class WorkbookFunctionsDaverageRequestBuilder extends BaseWorkbookFunctionsDaverageRequestBuilder implements IWorkbookFunctionsDaverageRequestBuilder { +public class WorkbookFunctionsDaverageRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDaverageRequestBuilder { /** * The request builder for this WorkbookFunctionsDaverage @@ -26,6 +31,46 @@ public class WorkbookFunctionsDaverageRequestBuilder extends BaseWorkbookFunctio * @param criteria the criteria */ public WorkbookFunctionsDaverageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDaverageRequest + * + * @return the IWorkbookFunctionsDaverageRequest instance + */ + public IWorkbookFunctionsDaverageRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDaverageRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDaverageRequest instance + */ + public IWorkbookFunctionsDaverageRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDaverageRequest request = new WorkbookFunctionsDaverageRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequest.java index aff899d4ddb..2070dae968d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDayBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDayRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Day Request. */ -public class WorkbookFunctionsDayRequest extends BaseWorkbookFunctionsDayRequest implements IWorkbookFunctionsDayRequest { +public class WorkbookFunctionsDayRequest extends BaseRequest implements IWorkbookFunctionsDayRequest { + protected final WorkbookFunctionsDayBody body; /** * The request for this WorkbookFunctionsDay @@ -23,6 +32,49 @@ public class WorkbookFunctionsDayRequest extends BaseWorkbookFunctionsDayRequest * @param requestOptions the options for this request */ public WorkbookFunctionsDayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDayBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDayRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDayRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDayRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDayRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDayRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDayRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequestBuilder.java index 5eac2653a88..9f9eb08e660 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDayRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDayRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDayRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Day Request Builder. */ -public class WorkbookFunctionsDayRequestBuilder extends BaseWorkbookFunctionsDayRequestBuilder implements IWorkbookFunctionsDayRequestBuilder { +public class WorkbookFunctionsDayRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDayRequestBuilder { /** * The request builder for this WorkbookFunctionsDay @@ -24,6 +29,36 @@ public class WorkbookFunctionsDayRequestBuilder extends BaseWorkbookFunctionsDay * @param serialNumber the serialNumber */ public WorkbookFunctionsDayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions, serialNumber); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + } + + /** + * Creates the IWorkbookFunctionsDayRequest + * + * @return the IWorkbookFunctionsDayRequest instance + */ + public IWorkbookFunctionsDayRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDayRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDayRequest instance + */ + public IWorkbookFunctionsDayRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDayRequest request = new WorkbookFunctionsDayRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360Request.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360Request.java index b34bae9d663..39e5a84247c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360Request.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDays360Body; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDays360Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDays360Request; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Days360Request. */ -public class WorkbookFunctionsDays360Request extends BaseWorkbookFunctionsDays360Request implements IWorkbookFunctionsDays360Request { +public class WorkbookFunctionsDays360Request extends BaseRequest implements IWorkbookFunctionsDays360Request { + protected final WorkbookFunctionsDays360Body body; /** * The request for this WorkbookFunctionsDays360 @@ -23,6 +32,49 @@ public class WorkbookFunctionsDays360Request extends BaseWorkbookFunctionsDays36 * @param requestOptions the options for this request */ public WorkbookFunctionsDays360Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDays360Body(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDays360Request select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDays360Request)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDays360Request top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDays360Request)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDays360Request expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDays360Request)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360RequestBuilder.java index 07def9a42d9..d89c01e8489 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDays360RequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDays360Request; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDays360RequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Days360Request Builder. */ -public class WorkbookFunctionsDays360RequestBuilder extends BaseWorkbookFunctionsDays360RequestBuilder implements IWorkbookFunctionsDays360RequestBuilder { +public class WorkbookFunctionsDays360RequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDays360RequestBuilder { /** * The request builder for this WorkbookFunctionsDays360 @@ -26,6 +31,46 @@ public class WorkbookFunctionsDays360RequestBuilder extends BaseWorkbookFunction * @param method the method */ public WorkbookFunctionsDays360RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement method) { - super(requestUrl, client, requestOptions, startDate, endDate, method); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("endDate", endDate); + bodyParams.put("method", method); + } + + /** + * Creates the IWorkbookFunctionsDays360Request + * + * @return the IWorkbookFunctionsDays360Request instance + */ + public IWorkbookFunctionsDays360Request buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDays360Request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDays360Request instance + */ + public IWorkbookFunctionsDays360Request buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDays360Request request = new WorkbookFunctionsDays360Request( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("endDate")) { + request.body.endDate = getParameter("endDate"); + } + + if (hasParameter("method")) { + request.body.method = getParameter("method"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequest.java index c94baebf0b6..da963ebd0f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDaysBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaysRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDaysRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Days Request. */ -public class WorkbookFunctionsDaysRequest extends BaseWorkbookFunctionsDaysRequest implements IWorkbookFunctionsDaysRequest { +public class WorkbookFunctionsDaysRequest extends BaseRequest implements IWorkbookFunctionsDaysRequest { + protected final WorkbookFunctionsDaysBody body; /** * The request for this WorkbookFunctionsDays @@ -23,6 +32,49 @@ public class WorkbookFunctionsDaysRequest extends BaseWorkbookFunctionsDaysReque * @param requestOptions the options for this request */ public WorkbookFunctionsDaysRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDaysBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDaysRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDaysRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDaysRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDaysRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDaysRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDaysRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequestBuilder.java index 0f087d4da40..713dfe7332c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDaysRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaysRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDaysRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Days Request Builder. */ -public class WorkbookFunctionsDaysRequestBuilder extends BaseWorkbookFunctionsDaysRequestBuilder implements IWorkbookFunctionsDaysRequestBuilder { +public class WorkbookFunctionsDaysRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDaysRequestBuilder { /** * The request builder for this WorkbookFunctionsDays @@ -25,6 +30,41 @@ public class WorkbookFunctionsDaysRequestBuilder extends BaseWorkbookFunctionsDa * @param startDate the startDate */ public WorkbookFunctionsDaysRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement startDate) { - super(requestUrl, client, requestOptions, endDate, startDate); + super(requestUrl, client, requestOptions); + bodyParams.put("endDate", endDate); + bodyParams.put("startDate", startDate); + } + + /** + * Creates the IWorkbookFunctionsDaysRequest + * + * @return the IWorkbookFunctionsDaysRequest instance + */ + public IWorkbookFunctionsDaysRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDaysRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDaysRequest instance + */ + public IWorkbookFunctionsDaysRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDaysRequest request = new WorkbookFunctionsDaysRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("endDate")) { + request.body.endDate = getParameter("endDate"); + } + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequest.java index 3adda1f87c1..bc3c35dc5a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Db Request. */ -public class WorkbookFunctionsDbRequest extends BaseWorkbookFunctionsDbRequest implements IWorkbookFunctionsDbRequest { +public class WorkbookFunctionsDbRequest extends BaseRequest implements IWorkbookFunctionsDbRequest { + protected final WorkbookFunctionsDbBody body; /** * The request for this WorkbookFunctionsDb @@ -23,6 +32,49 @@ public class WorkbookFunctionsDbRequest extends BaseWorkbookFunctionsDbRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsDbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequestBuilder.java index 73587d325a2..bffe6402211 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Db Request Builder. */ -public class WorkbookFunctionsDbRequestBuilder extends BaseWorkbookFunctionsDbRequestBuilder implements IWorkbookFunctionsDbRequestBuilder { +public class WorkbookFunctionsDbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDbRequestBuilder { /** * The request builder for this WorkbookFunctionsDb @@ -28,6 +33,56 @@ public class WorkbookFunctionsDbRequestBuilder extends BaseWorkbookFunctionsDbRe * @param month the month */ public WorkbookFunctionsDbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement month) { - super(requestUrl, client, requestOptions, cost, salvage, life, period, month); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("salvage", salvage); + bodyParams.put("life", life); + bodyParams.put("period", period); + bodyParams.put("month", month); + } + + /** + * Creates the IWorkbookFunctionsDbRequest + * + * @return the IWorkbookFunctionsDbRequest instance + */ + public IWorkbookFunctionsDbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDbRequest instance + */ + public IWorkbookFunctionsDbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDbRequest request = new WorkbookFunctionsDbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("life")) { + request.body.life = getParameter("life"); + } + + if (hasParameter("period")) { + request.body.period = getParameter("period"); + } + + if (hasParameter("month")) { + request.body.month = getParameter("month"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequest.java index 49b6a4f0fdf..5c06474aaab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDbcsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbcsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDbcsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dbcs Request. */ -public class WorkbookFunctionsDbcsRequest extends BaseWorkbookFunctionsDbcsRequest implements IWorkbookFunctionsDbcsRequest { +public class WorkbookFunctionsDbcsRequest extends BaseRequest implements IWorkbookFunctionsDbcsRequest { + protected final WorkbookFunctionsDbcsBody body; /** * The request for this WorkbookFunctionsDbcs @@ -23,6 +32,49 @@ public class WorkbookFunctionsDbcsRequest extends BaseWorkbookFunctionsDbcsReque * @param requestOptions the options for this request */ public WorkbookFunctionsDbcsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDbcsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDbcsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDbcsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDbcsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDbcsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDbcsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDbcsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequestBuilder.java index 4763030e8a5..dfb391a2b95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDbcsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbcsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDbcsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dbcs Request Builder. */ -public class WorkbookFunctionsDbcsRequestBuilder extends BaseWorkbookFunctionsDbcsRequestBuilder implements IWorkbookFunctionsDbcsRequestBuilder { +public class WorkbookFunctionsDbcsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDbcsRequestBuilder { /** * The request builder for this WorkbookFunctionsDbcs @@ -24,6 +29,36 @@ public class WorkbookFunctionsDbcsRequestBuilder extends BaseWorkbookFunctionsDb * @param text the text */ public WorkbookFunctionsDbcsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsDbcsRequest + * + * @return the IWorkbookFunctionsDbcsRequest instance + */ + public IWorkbookFunctionsDbcsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDbcsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDbcsRequest instance + */ + public IWorkbookFunctionsDbcsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDbcsRequest request = new WorkbookFunctionsDbcsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequest.java index 416baf6b1c6..36cd6a2b1db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDcountABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDcountARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dcount ARequest. */ -public class WorkbookFunctionsDcountARequest extends BaseWorkbookFunctionsDcountARequest implements IWorkbookFunctionsDcountARequest { +public class WorkbookFunctionsDcountARequest extends BaseRequest implements IWorkbookFunctionsDcountARequest { + protected final WorkbookFunctionsDcountABody body; /** * The request for this WorkbookFunctionsDcountA @@ -23,6 +32,49 @@ public class WorkbookFunctionsDcountARequest extends BaseWorkbookFunctionsDcount * @param requestOptions the options for this request */ public WorkbookFunctionsDcountARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDcountABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDcountARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDcountARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDcountARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDcountARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDcountARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDcountARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequestBuilder.java index 47449985364..290bf25f811 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDcountARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dcount ARequest Builder. */ -public class WorkbookFunctionsDcountARequestBuilder extends BaseWorkbookFunctionsDcountARequestBuilder implements IWorkbookFunctionsDcountARequestBuilder { +public class WorkbookFunctionsDcountARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDcountARequestBuilder { /** * The request builder for this WorkbookFunctionsDcountA @@ -26,6 +31,46 @@ public class WorkbookFunctionsDcountARequestBuilder extends BaseWorkbookFunction * @param criteria the criteria */ public WorkbookFunctionsDcountARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDcountARequest + * + * @return the IWorkbookFunctionsDcountARequest instance + */ + public IWorkbookFunctionsDcountARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDcountARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDcountARequest instance + */ + public IWorkbookFunctionsDcountARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDcountARequest request = new WorkbookFunctionsDcountARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequest.java index 3ddcb413a28..5ef66057bfc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDcountBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDcountRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dcount Request. */ -public class WorkbookFunctionsDcountRequest extends BaseWorkbookFunctionsDcountRequest implements IWorkbookFunctionsDcountRequest { +public class WorkbookFunctionsDcountRequest extends BaseRequest implements IWorkbookFunctionsDcountRequest { + protected final WorkbookFunctionsDcountBody body; /** * The request for this WorkbookFunctionsDcount @@ -23,6 +32,49 @@ public class WorkbookFunctionsDcountRequest extends BaseWorkbookFunctionsDcountR * @param requestOptions the options for this request */ public WorkbookFunctionsDcountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDcountBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDcountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDcountRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDcountRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDcountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDcountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDcountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequestBuilder.java index 26eb9be8b8a..53da4b30ebc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDcountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDcountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dcount Request Builder. */ -public class WorkbookFunctionsDcountRequestBuilder extends BaseWorkbookFunctionsDcountRequestBuilder implements IWorkbookFunctionsDcountRequestBuilder { +public class WorkbookFunctionsDcountRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDcountRequestBuilder { /** * The request builder for this WorkbookFunctionsDcount @@ -26,6 +31,46 @@ public class WorkbookFunctionsDcountRequestBuilder extends BaseWorkbookFunctions * @param criteria the criteria */ public WorkbookFunctionsDcountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDcountRequest + * + * @return the IWorkbookFunctionsDcountRequest instance + */ + public IWorkbookFunctionsDcountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDcountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDcountRequest instance + */ + public IWorkbookFunctionsDcountRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDcountRequest request = new WorkbookFunctionsDcountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequest.java index d35e5e65a51..362e299a9ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDdbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDdbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDdbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ddb Request. */ -public class WorkbookFunctionsDdbRequest extends BaseWorkbookFunctionsDdbRequest implements IWorkbookFunctionsDdbRequest { +public class WorkbookFunctionsDdbRequest extends BaseRequest implements IWorkbookFunctionsDdbRequest { + protected final WorkbookFunctionsDdbBody body; /** * The request for this WorkbookFunctionsDdb @@ -23,6 +32,49 @@ public class WorkbookFunctionsDdbRequest extends BaseWorkbookFunctionsDdbRequest * @param requestOptions the options for this request */ public WorkbookFunctionsDdbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDdbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDdbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDdbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDdbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDdbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDdbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDdbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequestBuilder.java index b9ae49af418..4428e817a91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDdbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDdbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDdbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ddb Request Builder. */ -public class WorkbookFunctionsDdbRequestBuilder extends BaseWorkbookFunctionsDdbRequestBuilder implements IWorkbookFunctionsDdbRequestBuilder { +public class WorkbookFunctionsDdbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDdbRequestBuilder { /** * The request builder for this WorkbookFunctionsDdb @@ -28,6 +33,56 @@ public class WorkbookFunctionsDdbRequestBuilder extends BaseWorkbookFunctionsDdb * @param factor the factor */ public WorkbookFunctionsDdbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement factor) { - super(requestUrl, client, requestOptions, cost, salvage, life, period, factor); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("salvage", salvage); + bodyParams.put("life", life); + bodyParams.put("period", period); + bodyParams.put("factor", factor); + } + + /** + * Creates the IWorkbookFunctionsDdbRequest + * + * @return the IWorkbookFunctionsDdbRequest instance + */ + public IWorkbookFunctionsDdbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDdbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDdbRequest instance + */ + public IWorkbookFunctionsDdbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDdbRequest request = new WorkbookFunctionsDdbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("life")) { + request.body.life = getParameter("life"); + } + + if (hasParameter("period")) { + request.body.period = getParameter("period"); + } + + if (hasParameter("factor")) { + request.body.factor = getParameter("factor"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequest.java index 19b3bc9fe57..8549b216a14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDec2BinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2BinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDec2BinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Bin Request. */ -public class WorkbookFunctionsDec2BinRequest extends BaseWorkbookFunctionsDec2BinRequest implements IWorkbookFunctionsDec2BinRequest { +public class WorkbookFunctionsDec2BinRequest extends BaseRequest implements IWorkbookFunctionsDec2BinRequest { + protected final WorkbookFunctionsDec2BinBody body; /** * The request for this WorkbookFunctionsDec2Bin @@ -23,6 +32,49 @@ public class WorkbookFunctionsDec2BinRequest extends BaseWorkbookFunctionsDec2Bi * @param requestOptions the options for this request */ public WorkbookFunctionsDec2BinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDec2BinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDec2BinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDec2BinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDec2BinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDec2BinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDec2BinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDec2BinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequestBuilder.java index 4700f1abe30..f19df4659e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2BinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2BinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDec2BinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Bin Request Builder. */ -public class WorkbookFunctionsDec2BinRequestBuilder extends BaseWorkbookFunctionsDec2BinRequestBuilder implements IWorkbookFunctionsDec2BinRequestBuilder { +public class WorkbookFunctionsDec2BinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDec2BinRequestBuilder { /** * The request builder for this WorkbookFunctionsDec2Bin @@ -25,6 +30,41 @@ public class WorkbookFunctionsDec2BinRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsDec2BinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsDec2BinRequest + * + * @return the IWorkbookFunctionsDec2BinRequest instance + */ + public IWorkbookFunctionsDec2BinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDec2BinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDec2BinRequest instance + */ + public IWorkbookFunctionsDec2BinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDec2BinRequest request = new WorkbookFunctionsDec2BinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequest.java index 72d79aaa932..32a8a7c5601 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDec2HexBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2HexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDec2HexRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Hex Request. */ -public class WorkbookFunctionsDec2HexRequest extends BaseWorkbookFunctionsDec2HexRequest implements IWorkbookFunctionsDec2HexRequest { +public class WorkbookFunctionsDec2HexRequest extends BaseRequest implements IWorkbookFunctionsDec2HexRequest { + protected final WorkbookFunctionsDec2HexBody body; /** * The request for this WorkbookFunctionsDec2Hex @@ -23,6 +32,49 @@ public class WorkbookFunctionsDec2HexRequest extends BaseWorkbookFunctionsDec2He * @param requestOptions the options for this request */ public WorkbookFunctionsDec2HexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDec2HexBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDec2HexRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDec2HexRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDec2HexRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDec2HexRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDec2HexRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDec2HexRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequestBuilder.java index d3617885a1b..5c7e5e2c323 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2HexRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2HexRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDec2HexRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Hex Request Builder. */ -public class WorkbookFunctionsDec2HexRequestBuilder extends BaseWorkbookFunctionsDec2HexRequestBuilder implements IWorkbookFunctionsDec2HexRequestBuilder { +public class WorkbookFunctionsDec2HexRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDec2HexRequestBuilder { /** * The request builder for this WorkbookFunctionsDec2Hex @@ -25,6 +30,41 @@ public class WorkbookFunctionsDec2HexRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsDec2HexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsDec2HexRequest + * + * @return the IWorkbookFunctionsDec2HexRequest instance + */ + public IWorkbookFunctionsDec2HexRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDec2HexRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDec2HexRequest instance + */ + public IWorkbookFunctionsDec2HexRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDec2HexRequest request = new WorkbookFunctionsDec2HexRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequest.java index 25ceb611901..151fa50087f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDec2OctBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2OctRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDec2OctRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Oct Request. */ -public class WorkbookFunctionsDec2OctRequest extends BaseWorkbookFunctionsDec2OctRequest implements IWorkbookFunctionsDec2OctRequest { +public class WorkbookFunctionsDec2OctRequest extends BaseRequest implements IWorkbookFunctionsDec2OctRequest { + protected final WorkbookFunctionsDec2OctBody body; /** * The request for this WorkbookFunctionsDec2Oct @@ -23,6 +32,49 @@ public class WorkbookFunctionsDec2OctRequest extends BaseWorkbookFunctionsDec2Oc * @param requestOptions the options for this request */ public WorkbookFunctionsDec2OctRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDec2OctBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDec2OctRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDec2OctRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDec2OctRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDec2OctRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDec2OctRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDec2OctRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequestBuilder.java index a5dfc6f3a3a..ef1eb3d3fe6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDec2OctRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2OctRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDec2OctRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dec2Oct Request Builder. */ -public class WorkbookFunctionsDec2OctRequestBuilder extends BaseWorkbookFunctionsDec2OctRequestBuilder implements IWorkbookFunctionsDec2OctRequestBuilder { +public class WorkbookFunctionsDec2OctRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDec2OctRequestBuilder { /** * The request builder for this WorkbookFunctionsDec2Oct @@ -25,6 +30,41 @@ public class WorkbookFunctionsDec2OctRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsDec2OctRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsDec2OctRequest + * + * @return the IWorkbookFunctionsDec2OctRequest instance + */ + public IWorkbookFunctionsDec2OctRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDec2OctRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDec2OctRequest instance + */ + public IWorkbookFunctionsDec2OctRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDec2OctRequest request = new WorkbookFunctionsDec2OctRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequest.java index 0116cde7bc5..a4db8abab16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDecimalBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDecimalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDecimalRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Decimal Request. */ -public class WorkbookFunctionsDecimalRequest extends BaseWorkbookFunctionsDecimalRequest implements IWorkbookFunctionsDecimalRequest { +public class WorkbookFunctionsDecimalRequest extends BaseRequest implements IWorkbookFunctionsDecimalRequest { + protected final WorkbookFunctionsDecimalBody body; /** * The request for this WorkbookFunctionsDecimal @@ -23,6 +32,49 @@ public class WorkbookFunctionsDecimalRequest extends BaseWorkbookFunctionsDecima * @param requestOptions the options for this request */ public WorkbookFunctionsDecimalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDecimalBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDecimalRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDecimalRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDecimalRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDecimalRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDecimalRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDecimalRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequestBuilder.java index ff6a55e3021..21fc99df24d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDecimalRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDecimalRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDecimalRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Decimal Request Builder. */ -public class WorkbookFunctionsDecimalRequestBuilder extends BaseWorkbookFunctionsDecimalRequestBuilder implements IWorkbookFunctionsDecimalRequestBuilder { +public class WorkbookFunctionsDecimalRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDecimalRequestBuilder { /** * The request builder for this WorkbookFunctionsDecimal @@ -25,6 +30,41 @@ public class WorkbookFunctionsDecimalRequestBuilder extends BaseWorkbookFunction * @param radix the radix */ public WorkbookFunctionsDecimalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix) { - super(requestUrl, client, requestOptions, number, radix); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("radix", radix); + } + + /** + * Creates the IWorkbookFunctionsDecimalRequest + * + * @return the IWorkbookFunctionsDecimalRequest instance + */ + public IWorkbookFunctionsDecimalRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDecimalRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDecimalRequest instance + */ + public IWorkbookFunctionsDecimalRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDecimalRequest request = new WorkbookFunctionsDecimalRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("radix")) { + request.body.radix = getParameter("radix"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequest.java index 72264a3a856..16c3e29c1cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDegreesBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDegreesRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDegreesRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Degrees Request. */ -public class WorkbookFunctionsDegreesRequest extends BaseWorkbookFunctionsDegreesRequest implements IWorkbookFunctionsDegreesRequest { +public class WorkbookFunctionsDegreesRequest extends BaseRequest implements IWorkbookFunctionsDegreesRequest { + protected final WorkbookFunctionsDegreesBody body; /** * The request for this WorkbookFunctionsDegrees @@ -23,6 +32,49 @@ public class WorkbookFunctionsDegreesRequest extends BaseWorkbookFunctionsDegree * @param requestOptions the options for this request */ public WorkbookFunctionsDegreesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDegreesBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDegreesRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDegreesRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDegreesRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDegreesRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDegreesRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDegreesRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequestBuilder.java index a93def72601..0f1b87e5567 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDegreesRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDegreesRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDegreesRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Degrees Request Builder. */ -public class WorkbookFunctionsDegreesRequestBuilder extends BaseWorkbookFunctionsDegreesRequestBuilder implements IWorkbookFunctionsDegreesRequestBuilder { +public class WorkbookFunctionsDegreesRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDegreesRequestBuilder { /** * The request builder for this WorkbookFunctionsDegrees @@ -24,6 +29,36 @@ public class WorkbookFunctionsDegreesRequestBuilder extends BaseWorkbookFunction * @param angle the angle */ public WorkbookFunctionsDegreesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement angle) { - super(requestUrl, client, requestOptions, angle); + super(requestUrl, client, requestOptions); + bodyParams.put("angle", angle); + } + + /** + * Creates the IWorkbookFunctionsDegreesRequest + * + * @return the IWorkbookFunctionsDegreesRequest instance + */ + public IWorkbookFunctionsDegreesRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDegreesRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDegreesRequest instance + */ + public IWorkbookFunctionsDegreesRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDegreesRequest request = new WorkbookFunctionsDegreesRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("angle")) { + request.body.angle = getParameter("angle"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequest.java index 5a0a28a2402..faa53fc9a7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDeltaBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDeltaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDeltaRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Delta Request. */ -public class WorkbookFunctionsDeltaRequest extends BaseWorkbookFunctionsDeltaRequest implements IWorkbookFunctionsDeltaRequest { +public class WorkbookFunctionsDeltaRequest extends BaseRequest implements IWorkbookFunctionsDeltaRequest { + protected final WorkbookFunctionsDeltaBody body; /** * The request for this WorkbookFunctionsDelta @@ -23,6 +32,49 @@ public class WorkbookFunctionsDeltaRequest extends BaseWorkbookFunctionsDeltaReq * @param requestOptions the options for this request */ public WorkbookFunctionsDeltaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDeltaBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDeltaRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDeltaRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDeltaRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDeltaRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDeltaRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDeltaRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequestBuilder.java index 3a400437490..9e409d300e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDeltaRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDeltaRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDeltaRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Delta Request Builder. */ -public class WorkbookFunctionsDeltaRequestBuilder extends BaseWorkbookFunctionsDeltaRequestBuilder implements IWorkbookFunctionsDeltaRequestBuilder { +public class WorkbookFunctionsDeltaRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDeltaRequestBuilder { /** * The request builder for this WorkbookFunctionsDelta @@ -25,6 +30,41 @@ public class WorkbookFunctionsDeltaRequestBuilder extends BaseWorkbookFunctionsD * @param number2 the number2 */ public WorkbookFunctionsDeltaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions, number1, number2); + super(requestUrl, client, requestOptions); + bodyParams.put("number1", number1); + bodyParams.put("number2", number2); + } + + /** + * Creates the IWorkbookFunctionsDeltaRequest + * + * @return the IWorkbookFunctionsDeltaRequest instance + */ + public IWorkbookFunctionsDeltaRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDeltaRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDeltaRequest instance + */ + public IWorkbookFunctionsDeltaRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDeltaRequest request = new WorkbookFunctionsDeltaRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number1")) { + request.body.number1 = getParameter("number1"); + } + + if (hasParameter("number2")) { + request.body.number2 = getParameter("number2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequest.java index b63c00b9680..d4b2d0eb85d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDevSqBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDevSqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDevSqRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dev Sq Request. */ -public class WorkbookFunctionsDevSqRequest extends BaseWorkbookFunctionsDevSqRequest implements IWorkbookFunctionsDevSqRequest { +public class WorkbookFunctionsDevSqRequest extends BaseRequest implements IWorkbookFunctionsDevSqRequest { + protected final WorkbookFunctionsDevSqBody body; /** * The request for this WorkbookFunctionsDevSq @@ -23,6 +32,49 @@ public class WorkbookFunctionsDevSqRequest extends BaseWorkbookFunctionsDevSqReq * @param requestOptions the options for this request */ public WorkbookFunctionsDevSqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDevSqBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDevSqRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDevSqRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDevSqRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDevSqRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDevSqRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDevSqRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequestBuilder.java index f0a7f5dd712..7e4976ae42a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDevSqRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDevSqRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDevSqRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dev Sq Request Builder. */ -public class WorkbookFunctionsDevSqRequestBuilder extends BaseWorkbookFunctionsDevSqRequestBuilder implements IWorkbookFunctionsDevSqRequestBuilder { +public class WorkbookFunctionsDevSqRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDevSqRequestBuilder { /** * The request builder for this WorkbookFunctionsDevSq @@ -24,6 +29,36 @@ public class WorkbookFunctionsDevSqRequestBuilder extends BaseWorkbookFunctionsD * @param values the values */ public WorkbookFunctionsDevSqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsDevSqRequest + * + * @return the IWorkbookFunctionsDevSqRequest instance + */ + public IWorkbookFunctionsDevSqRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDevSqRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDevSqRequest instance + */ + public IWorkbookFunctionsDevSqRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDevSqRequest request = new WorkbookFunctionsDevSqRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequest.java index 1ed32092ab1..a14ce6f4e5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDgetBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDgetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDgetRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dget Request. */ -public class WorkbookFunctionsDgetRequest extends BaseWorkbookFunctionsDgetRequest implements IWorkbookFunctionsDgetRequest { +public class WorkbookFunctionsDgetRequest extends BaseRequest implements IWorkbookFunctionsDgetRequest { + protected final WorkbookFunctionsDgetBody body; /** * The request for this WorkbookFunctionsDget @@ -23,6 +32,49 @@ public class WorkbookFunctionsDgetRequest extends BaseWorkbookFunctionsDgetReque * @param requestOptions the options for this request */ public WorkbookFunctionsDgetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDgetBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDgetRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDgetRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDgetRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDgetRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDgetRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDgetRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequestBuilder.java index 5edd48ac463..4730b79a2d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDgetRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDgetRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDgetRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dget Request Builder. */ -public class WorkbookFunctionsDgetRequestBuilder extends BaseWorkbookFunctionsDgetRequestBuilder implements IWorkbookFunctionsDgetRequestBuilder { +public class WorkbookFunctionsDgetRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDgetRequestBuilder { /** * The request builder for this WorkbookFunctionsDget @@ -26,6 +31,46 @@ public class WorkbookFunctionsDgetRequestBuilder extends BaseWorkbookFunctionsDg * @param criteria the criteria */ public WorkbookFunctionsDgetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDgetRequest + * + * @return the IWorkbookFunctionsDgetRequest instance + */ + public IWorkbookFunctionsDgetRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDgetRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDgetRequest instance + */ + public IWorkbookFunctionsDgetRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDgetRequest request = new WorkbookFunctionsDgetRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequest.java index cd41f768af0..c83a0c87c13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDiscBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDiscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDiscRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Disc Request. */ -public class WorkbookFunctionsDiscRequest extends BaseWorkbookFunctionsDiscRequest implements IWorkbookFunctionsDiscRequest { +public class WorkbookFunctionsDiscRequest extends BaseRequest implements IWorkbookFunctionsDiscRequest { + protected final WorkbookFunctionsDiscBody body; /** * The request for this WorkbookFunctionsDisc @@ -23,6 +32,49 @@ public class WorkbookFunctionsDiscRequest extends BaseWorkbookFunctionsDiscReque * @param requestOptions the options for this request */ public WorkbookFunctionsDiscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDiscBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDiscRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDiscRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDiscRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDiscRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDiscRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDiscRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequestBuilder.java index 5570a837aa7..45f610cfd17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDiscRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDiscRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDiscRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Disc Request Builder. */ -public class WorkbookFunctionsDiscRequestBuilder extends BaseWorkbookFunctionsDiscRequestBuilder implements IWorkbookFunctionsDiscRequestBuilder { +public class WorkbookFunctionsDiscRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDiscRequestBuilder { /** * The request builder for this WorkbookFunctionsDisc @@ -28,6 +33,56 @@ public class WorkbookFunctionsDiscRequestBuilder extends BaseWorkbookFunctionsDi * @param basis the basis */ public WorkbookFunctionsDiscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, pr, redemption, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("pr", pr); + bodyParams.put("redemption", redemption); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsDiscRequest + * + * @return the IWorkbookFunctionsDiscRequest instance + */ + public IWorkbookFunctionsDiscRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDiscRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDiscRequest instance + */ + public IWorkbookFunctionsDiscRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDiscRequest request = new WorkbookFunctionsDiscRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequest.java index f184cee58eb..97541e1fd21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDmaxBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDmaxRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDmaxRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dmax Request. */ -public class WorkbookFunctionsDmaxRequest extends BaseWorkbookFunctionsDmaxRequest implements IWorkbookFunctionsDmaxRequest { +public class WorkbookFunctionsDmaxRequest extends BaseRequest implements IWorkbookFunctionsDmaxRequest { + protected final WorkbookFunctionsDmaxBody body; /** * The request for this WorkbookFunctionsDmax @@ -23,6 +32,49 @@ public class WorkbookFunctionsDmaxRequest extends BaseWorkbookFunctionsDmaxReque * @param requestOptions the options for this request */ public WorkbookFunctionsDmaxRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDmaxBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDmaxRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDmaxRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDmaxRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDmaxRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDmaxRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDmaxRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequestBuilder.java index 43c95624b1a..24b745473aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDmaxRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDmaxRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDmaxRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dmax Request Builder. */ -public class WorkbookFunctionsDmaxRequestBuilder extends BaseWorkbookFunctionsDmaxRequestBuilder implements IWorkbookFunctionsDmaxRequestBuilder { +public class WorkbookFunctionsDmaxRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDmaxRequestBuilder { /** * The request builder for this WorkbookFunctionsDmax @@ -26,6 +31,46 @@ public class WorkbookFunctionsDmaxRequestBuilder extends BaseWorkbookFunctionsDm * @param criteria the criteria */ public WorkbookFunctionsDmaxRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDmaxRequest + * + * @return the IWorkbookFunctionsDmaxRequest instance + */ + public IWorkbookFunctionsDmaxRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDmaxRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDmaxRequest instance + */ + public IWorkbookFunctionsDmaxRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDmaxRequest request = new WorkbookFunctionsDmaxRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequest.java index c48c4fc3bd3..c6b14c9908d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDminBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDminRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDminRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dmin Request. */ -public class WorkbookFunctionsDminRequest extends BaseWorkbookFunctionsDminRequest implements IWorkbookFunctionsDminRequest { +public class WorkbookFunctionsDminRequest extends BaseRequest implements IWorkbookFunctionsDminRequest { + protected final WorkbookFunctionsDminBody body; /** * The request for this WorkbookFunctionsDmin @@ -23,6 +32,49 @@ public class WorkbookFunctionsDminRequest extends BaseWorkbookFunctionsDminReque * @param requestOptions the options for this request */ public WorkbookFunctionsDminRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDminBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDminRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDminRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDminRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDminRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDminRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDminRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequestBuilder.java index 8605c56a935..84ebdeb48dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDminRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDminRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDminRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dmin Request Builder. */ -public class WorkbookFunctionsDminRequestBuilder extends BaseWorkbookFunctionsDminRequestBuilder implements IWorkbookFunctionsDminRequestBuilder { +public class WorkbookFunctionsDminRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDminRequestBuilder { /** * The request builder for this WorkbookFunctionsDmin @@ -26,6 +31,46 @@ public class WorkbookFunctionsDminRequestBuilder extends BaseWorkbookFunctionsDm * @param criteria the criteria */ public WorkbookFunctionsDminRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDminRequest + * + * @return the IWorkbookFunctionsDminRequest instance + */ + public IWorkbookFunctionsDminRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDminRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDminRequest instance + */ + public IWorkbookFunctionsDminRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDminRequest request = new WorkbookFunctionsDminRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequest.java index 647c020cd44..5b7e98e16a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDollarDeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarDeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDollarDeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar De Request. */ -public class WorkbookFunctionsDollarDeRequest extends BaseWorkbookFunctionsDollarDeRequest implements IWorkbookFunctionsDollarDeRequest { +public class WorkbookFunctionsDollarDeRequest extends BaseRequest implements IWorkbookFunctionsDollarDeRequest { + protected final WorkbookFunctionsDollarDeBody body; /** * The request for this WorkbookFunctionsDollarDe @@ -23,6 +32,49 @@ public class WorkbookFunctionsDollarDeRequest extends BaseWorkbookFunctionsDolla * @param requestOptions the options for this request */ public WorkbookFunctionsDollarDeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDollarDeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDollarDeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDollarDeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDollarDeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDollarDeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDollarDeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDollarDeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequestBuilder.java index c169510033d..88477509a98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarDeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarDeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDollarDeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar De Request Builder. */ -public class WorkbookFunctionsDollarDeRequestBuilder extends BaseWorkbookFunctionsDollarDeRequestBuilder implements IWorkbookFunctionsDollarDeRequestBuilder { +public class WorkbookFunctionsDollarDeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDollarDeRequestBuilder { /** * The request builder for this WorkbookFunctionsDollarDe @@ -25,6 +30,41 @@ public class WorkbookFunctionsDollarDeRequestBuilder extends BaseWorkbookFunctio * @param fraction the fraction */ public WorkbookFunctionsDollarDeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement fractionalDollar, final com.google.gson.JsonElement fraction) { - super(requestUrl, client, requestOptions, fractionalDollar, fraction); + super(requestUrl, client, requestOptions); + bodyParams.put("fractionalDollar", fractionalDollar); + bodyParams.put("fraction", fraction); + } + + /** + * Creates the IWorkbookFunctionsDollarDeRequest + * + * @return the IWorkbookFunctionsDollarDeRequest instance + */ + public IWorkbookFunctionsDollarDeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDollarDeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDollarDeRequest instance + */ + public IWorkbookFunctionsDollarDeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDollarDeRequest request = new WorkbookFunctionsDollarDeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("fractionalDollar")) { + request.body.fractionalDollar = getParameter("fractionalDollar"); + } + + if (hasParameter("fraction")) { + request.body.fraction = getParameter("fraction"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequest.java index b8ad1512cb0..041b0e29a8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDollarFrBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarFrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDollarFrRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar Fr Request. */ -public class WorkbookFunctionsDollarFrRequest extends BaseWorkbookFunctionsDollarFrRequest implements IWorkbookFunctionsDollarFrRequest { +public class WorkbookFunctionsDollarFrRequest extends BaseRequest implements IWorkbookFunctionsDollarFrRequest { + protected final WorkbookFunctionsDollarFrBody body; /** * The request for this WorkbookFunctionsDollarFr @@ -23,6 +32,49 @@ public class WorkbookFunctionsDollarFrRequest extends BaseWorkbookFunctionsDolla * @param requestOptions the options for this request */ public WorkbookFunctionsDollarFrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDollarFrBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDollarFrRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDollarFrRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDollarFrRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDollarFrRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDollarFrRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDollarFrRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequestBuilder.java index 8f156a25c5a..7c0ffff4ca7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarFrRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarFrRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDollarFrRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar Fr Request Builder. */ -public class WorkbookFunctionsDollarFrRequestBuilder extends BaseWorkbookFunctionsDollarFrRequestBuilder implements IWorkbookFunctionsDollarFrRequestBuilder { +public class WorkbookFunctionsDollarFrRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDollarFrRequestBuilder { /** * The request builder for this WorkbookFunctionsDollarFr @@ -25,6 +30,41 @@ public class WorkbookFunctionsDollarFrRequestBuilder extends BaseWorkbookFunctio * @param fraction the fraction */ public WorkbookFunctionsDollarFrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement decimalDollar, final com.google.gson.JsonElement fraction) { - super(requestUrl, client, requestOptions, decimalDollar, fraction); + super(requestUrl, client, requestOptions); + bodyParams.put("decimalDollar", decimalDollar); + bodyParams.put("fraction", fraction); + } + + /** + * Creates the IWorkbookFunctionsDollarFrRequest + * + * @return the IWorkbookFunctionsDollarFrRequest instance + */ + public IWorkbookFunctionsDollarFrRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDollarFrRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDollarFrRequest instance + */ + public IWorkbookFunctionsDollarFrRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDollarFrRequest request = new WorkbookFunctionsDollarFrRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("decimalDollar")) { + request.body.decimalDollar = getParameter("decimalDollar"); + } + + if (hasParameter("fraction")) { + request.body.fraction = getParameter("fraction"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequest.java index 507ca66f7b5..3c033cca25e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDollarBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDollarRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar Request. */ -public class WorkbookFunctionsDollarRequest extends BaseWorkbookFunctionsDollarRequest implements IWorkbookFunctionsDollarRequest { +public class WorkbookFunctionsDollarRequest extends BaseRequest implements IWorkbookFunctionsDollarRequest { + protected final WorkbookFunctionsDollarBody body; /** * The request for this WorkbookFunctionsDollar @@ -23,6 +32,49 @@ public class WorkbookFunctionsDollarRequest extends BaseWorkbookFunctionsDollarR * @param requestOptions the options for this request */ public WorkbookFunctionsDollarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDollarBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDollarRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDollarRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDollarRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDollarRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDollarRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDollarRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequestBuilder.java index 456575ae614..2156eec62ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDollarRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDollarRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dollar Request Builder. */ -public class WorkbookFunctionsDollarRequestBuilder extends BaseWorkbookFunctionsDollarRequestBuilder implements IWorkbookFunctionsDollarRequestBuilder { +public class WorkbookFunctionsDollarRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDollarRequestBuilder { /** * The request builder for this WorkbookFunctionsDollar @@ -25,6 +30,41 @@ public class WorkbookFunctionsDollarRequestBuilder extends BaseWorkbookFunctions * @param decimals the decimals */ public WorkbookFunctionsDollarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { - super(requestUrl, client, requestOptions, number, decimals); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("decimals", decimals); + } + + /** + * Creates the IWorkbookFunctionsDollarRequest + * + * @return the IWorkbookFunctionsDollarRequest instance + */ + public IWorkbookFunctionsDollarRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDollarRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDollarRequest instance + */ + public IWorkbookFunctionsDollarRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDollarRequest request = new WorkbookFunctionsDollarRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("decimals")) { + request.body.decimals = getParameter("decimals"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequest.java index 427e87fee70..794b8c5a6f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDproductBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDproductRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDproductRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dproduct Request. */ -public class WorkbookFunctionsDproductRequest extends BaseWorkbookFunctionsDproductRequest implements IWorkbookFunctionsDproductRequest { +public class WorkbookFunctionsDproductRequest extends BaseRequest implements IWorkbookFunctionsDproductRequest { + protected final WorkbookFunctionsDproductBody body; /** * The request for this WorkbookFunctionsDproduct @@ -23,6 +32,49 @@ public class WorkbookFunctionsDproductRequest extends BaseWorkbookFunctionsDprod * @param requestOptions the options for this request */ public WorkbookFunctionsDproductRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDproductBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDproductRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDproductRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDproductRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDproductRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDproductRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDproductRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequestBuilder.java index 44816c169d5..48080af85ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDproductRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDproductRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDproductRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dproduct Request Builder. */ -public class WorkbookFunctionsDproductRequestBuilder extends BaseWorkbookFunctionsDproductRequestBuilder implements IWorkbookFunctionsDproductRequestBuilder { +public class WorkbookFunctionsDproductRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDproductRequestBuilder { /** * The request builder for this WorkbookFunctionsDproduct @@ -26,6 +31,46 @@ public class WorkbookFunctionsDproductRequestBuilder extends BaseWorkbookFunctio * @param criteria the criteria */ public WorkbookFunctionsDproductRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDproductRequest + * + * @return the IWorkbookFunctionsDproductRequest instance + */ + public IWorkbookFunctionsDproductRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDproductRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDproductRequest instance + */ + public IWorkbookFunctionsDproductRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDproductRequest request = new WorkbookFunctionsDproductRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequest.java index 621a149e8d4..54769d0aabb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDstDevPBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevPRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDstDevPRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dst Dev PRequest. */ -public class WorkbookFunctionsDstDevPRequest extends BaseWorkbookFunctionsDstDevPRequest implements IWorkbookFunctionsDstDevPRequest { +public class WorkbookFunctionsDstDevPRequest extends BaseRequest implements IWorkbookFunctionsDstDevPRequest { + protected final WorkbookFunctionsDstDevPBody body; /** * The request for this WorkbookFunctionsDstDevP @@ -23,6 +32,49 @@ public class WorkbookFunctionsDstDevPRequest extends BaseWorkbookFunctionsDstDev * @param requestOptions the options for this request */ public WorkbookFunctionsDstDevPRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDstDevPBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDstDevPRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDstDevPRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDstDevPRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDstDevPRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDstDevPRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDstDevPRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequestBuilder.java index f4753beda68..4fd6fb4047d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevPRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevPRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDstDevPRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dst Dev PRequest Builder. */ -public class WorkbookFunctionsDstDevPRequestBuilder extends BaseWorkbookFunctionsDstDevPRequestBuilder implements IWorkbookFunctionsDstDevPRequestBuilder { +public class WorkbookFunctionsDstDevPRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDstDevPRequestBuilder { /** * The request builder for this WorkbookFunctionsDstDevP @@ -26,6 +31,46 @@ public class WorkbookFunctionsDstDevPRequestBuilder extends BaseWorkbookFunction * @param criteria the criteria */ public WorkbookFunctionsDstDevPRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDstDevPRequest + * + * @return the IWorkbookFunctionsDstDevPRequest instance + */ + public IWorkbookFunctionsDstDevPRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDstDevPRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDstDevPRequest instance + */ + public IWorkbookFunctionsDstDevPRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDstDevPRequest request = new WorkbookFunctionsDstDevPRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequest.java index a4195aeff12..f119083801a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDstDevBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDstDevRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dst Dev Request. */ -public class WorkbookFunctionsDstDevRequest extends BaseWorkbookFunctionsDstDevRequest implements IWorkbookFunctionsDstDevRequest { +public class WorkbookFunctionsDstDevRequest extends BaseRequest implements IWorkbookFunctionsDstDevRequest { + protected final WorkbookFunctionsDstDevBody body; /** * The request for this WorkbookFunctionsDstDev @@ -23,6 +32,49 @@ public class WorkbookFunctionsDstDevRequest extends BaseWorkbookFunctionsDstDevR * @param requestOptions the options for this request */ public WorkbookFunctionsDstDevRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDstDevBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDstDevRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDstDevRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDstDevRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDstDevRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDstDevRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDstDevRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequestBuilder.java index 31aa4dbe697..c46b3513a60 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDstDevRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDstDevRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dst Dev Request Builder. */ -public class WorkbookFunctionsDstDevRequestBuilder extends BaseWorkbookFunctionsDstDevRequestBuilder implements IWorkbookFunctionsDstDevRequestBuilder { +public class WorkbookFunctionsDstDevRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDstDevRequestBuilder { /** * The request builder for this WorkbookFunctionsDstDev @@ -26,6 +31,46 @@ public class WorkbookFunctionsDstDevRequestBuilder extends BaseWorkbookFunctions * @param criteria the criteria */ public WorkbookFunctionsDstDevRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDstDevRequest + * + * @return the IWorkbookFunctionsDstDevRequest instance + */ + public IWorkbookFunctionsDstDevRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDstDevRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDstDevRequest instance + */ + public IWorkbookFunctionsDstDevRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDstDevRequest request = new WorkbookFunctionsDstDevRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequest.java index b01239d0206..278f9d85c3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDsumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDsumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDsumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dsum Request. */ -public class WorkbookFunctionsDsumRequest extends BaseWorkbookFunctionsDsumRequest implements IWorkbookFunctionsDsumRequest { +public class WorkbookFunctionsDsumRequest extends BaseRequest implements IWorkbookFunctionsDsumRequest { + protected final WorkbookFunctionsDsumBody body; /** * The request for this WorkbookFunctionsDsum @@ -23,6 +32,49 @@ public class WorkbookFunctionsDsumRequest extends BaseWorkbookFunctionsDsumReque * @param requestOptions the options for this request */ public WorkbookFunctionsDsumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDsumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDsumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDsumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDsumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDsumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDsumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDsumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequestBuilder.java index aeed726f911..8697404b691 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDsumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDsumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDsumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dsum Request Builder. */ -public class WorkbookFunctionsDsumRequestBuilder extends BaseWorkbookFunctionsDsumRequestBuilder implements IWorkbookFunctionsDsumRequestBuilder { +public class WorkbookFunctionsDsumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDsumRequestBuilder { /** * The request builder for this WorkbookFunctionsDsum @@ -26,6 +31,46 @@ public class WorkbookFunctionsDsumRequestBuilder extends BaseWorkbookFunctionsDs * @param criteria the criteria */ public WorkbookFunctionsDsumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDsumRequest + * + * @return the IWorkbookFunctionsDsumRequest instance + */ + public IWorkbookFunctionsDsumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDsumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDsumRequest instance + */ + public IWorkbookFunctionsDsumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDsumRequest request = new WorkbookFunctionsDsumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequest.java index 571fcad6eb4..24bbd231c3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDurationBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDurationRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Duration Request. */ -public class WorkbookFunctionsDurationRequest extends BaseWorkbookFunctionsDurationRequest implements IWorkbookFunctionsDurationRequest { +public class WorkbookFunctionsDurationRequest extends BaseRequest implements IWorkbookFunctionsDurationRequest { + protected final WorkbookFunctionsDurationBody body; /** * The request for this WorkbookFunctionsDuration @@ -23,6 +32,49 @@ public class WorkbookFunctionsDurationRequest extends BaseWorkbookFunctionsDurat * @param requestOptions the options for this request */ public WorkbookFunctionsDurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDurationBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDurationRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDurationRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDurationRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequestBuilder.java index 230e8b08bf7..16cc04307d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDurationRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDurationRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDurationRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Duration Request Builder. */ -public class WorkbookFunctionsDurationRequestBuilder extends BaseWorkbookFunctionsDurationRequestBuilder implements IWorkbookFunctionsDurationRequestBuilder { +public class WorkbookFunctionsDurationRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDurationRequestBuilder { /** * The request builder for this WorkbookFunctionsDuration @@ -29,6 +34,61 @@ public class WorkbookFunctionsDurationRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsDurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, coupon, yld, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("coupon", coupon); + bodyParams.put("yld", yld); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsDurationRequest + * + * @return the IWorkbookFunctionsDurationRequest instance + */ + public IWorkbookFunctionsDurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDurationRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDurationRequest instance + */ + public IWorkbookFunctionsDurationRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDurationRequest request = new WorkbookFunctionsDurationRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("coupon")) { + request.body.coupon = getParameter("coupon"); + } + + if (hasParameter("yld")) { + request.body.yld = getParameter("yld"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequest.java index 8d5fcee6926..748c4059d0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDvarPBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarPRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDvarPRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dvar PRequest. */ -public class WorkbookFunctionsDvarPRequest extends BaseWorkbookFunctionsDvarPRequest implements IWorkbookFunctionsDvarPRequest { +public class WorkbookFunctionsDvarPRequest extends BaseRequest implements IWorkbookFunctionsDvarPRequest { + protected final WorkbookFunctionsDvarPBody body; /** * The request for this WorkbookFunctionsDvarP @@ -23,6 +32,49 @@ public class WorkbookFunctionsDvarPRequest extends BaseWorkbookFunctionsDvarPReq * @param requestOptions the options for this request */ public WorkbookFunctionsDvarPRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDvarPBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDvarPRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDvarPRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDvarPRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDvarPRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDvarPRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDvarPRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequestBuilder.java index 8a8b1eb2302..169f7ea73bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarPRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarPRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDvarPRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dvar PRequest Builder. */ -public class WorkbookFunctionsDvarPRequestBuilder extends BaseWorkbookFunctionsDvarPRequestBuilder implements IWorkbookFunctionsDvarPRequestBuilder { +public class WorkbookFunctionsDvarPRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDvarPRequestBuilder { /** * The request builder for this WorkbookFunctionsDvarP @@ -26,6 +31,46 @@ public class WorkbookFunctionsDvarPRequestBuilder extends BaseWorkbookFunctionsD * @param criteria the criteria */ public WorkbookFunctionsDvarPRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDvarPRequest + * + * @return the IWorkbookFunctionsDvarPRequest instance + */ + public IWorkbookFunctionsDvarPRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDvarPRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDvarPRequest instance + */ + public IWorkbookFunctionsDvarPRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDvarPRequest request = new WorkbookFunctionsDvarPRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequest.java index caa5b48022c..03ac5991e9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsDvarBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDvarRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dvar Request. */ -public class WorkbookFunctionsDvarRequest extends BaseWorkbookFunctionsDvarRequest implements IWorkbookFunctionsDvarRequest { +public class WorkbookFunctionsDvarRequest extends BaseRequest implements IWorkbookFunctionsDvarRequest { + protected final WorkbookFunctionsDvarBody body; /** * The request for this WorkbookFunctionsDvar @@ -23,6 +32,49 @@ public class WorkbookFunctionsDvarRequest extends BaseWorkbookFunctionsDvarReque * @param requestOptions the options for this request */ public WorkbookFunctionsDvarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsDvarBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsDvarRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsDvarRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsDvarRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsDvarRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsDvarRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsDvarRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequestBuilder.java index eff16625aac..da00a6e8a88 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsDvarRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsDvarRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Dvar Request Builder. */ -public class WorkbookFunctionsDvarRequestBuilder extends BaseWorkbookFunctionsDvarRequestBuilder implements IWorkbookFunctionsDvarRequestBuilder { +public class WorkbookFunctionsDvarRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsDvarRequestBuilder { /** * The request builder for this WorkbookFunctionsDvar @@ -26,6 +31,46 @@ public class WorkbookFunctionsDvarRequestBuilder extends BaseWorkbookFunctionsDv * @param criteria the criteria */ public WorkbookFunctionsDvarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions, database, field, criteria); + super(requestUrl, client, requestOptions); + bodyParams.put("database", database); + bodyParams.put("field", field); + bodyParams.put("criteria", criteria); + } + + /** + * Creates the IWorkbookFunctionsDvarRequest + * + * @return the IWorkbookFunctionsDvarRequest instance + */ + public IWorkbookFunctionsDvarRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsDvarRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsDvarRequest instance + */ + public IWorkbookFunctionsDvarRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsDvarRequest request = new WorkbookFunctionsDvarRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("database")) { + request.body.database = getParameter("database"); + } + + if (hasParameter("field")) { + request.body.field = getParameter("field"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequest.java index 7990de635b3..71240315b37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsEcma_CeilingBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEcma_CeilingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEcma_CeilingRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ecma_Ceiling Request. */ -public class WorkbookFunctionsEcma_CeilingRequest extends BaseWorkbookFunctionsEcma_CeilingRequest implements IWorkbookFunctionsEcma_CeilingRequest { +public class WorkbookFunctionsEcma_CeilingRequest extends BaseRequest implements IWorkbookFunctionsEcma_CeilingRequest { + protected final WorkbookFunctionsEcma_CeilingBody body; /** * The request for this WorkbookFunctionsEcma_Ceiling @@ -23,6 +32,49 @@ public class WorkbookFunctionsEcma_CeilingRequest extends BaseWorkbookFunctionsE * @param requestOptions the options for this request */ public WorkbookFunctionsEcma_CeilingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsEcma_CeilingBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsEcma_CeilingRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsEcma_CeilingRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsEcma_CeilingRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsEcma_CeilingRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsEcma_CeilingRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsEcma_CeilingRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequestBuilder.java index c73d082e6ea..dcfe3ef8272 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEcma_CeilingRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEcma_CeilingRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEcma_CeilingRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ecma_Ceiling Request Builder. */ -public class WorkbookFunctionsEcma_CeilingRequestBuilder extends BaseWorkbookFunctionsEcma_CeilingRequestBuilder implements IWorkbookFunctionsEcma_CeilingRequestBuilder { +public class WorkbookFunctionsEcma_CeilingRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsEcma_CeilingRequestBuilder { /** * The request builder for this WorkbookFunctionsEcma_Ceiling @@ -25,6 +30,41 @@ public class WorkbookFunctionsEcma_CeilingRequestBuilder extends BaseWorkbookFun * @param significance the significance */ public WorkbookFunctionsEcma_CeilingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions, number, significance); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("significance", significance); + } + + /** + * Creates the IWorkbookFunctionsEcma_CeilingRequest + * + * @return the IWorkbookFunctionsEcma_CeilingRequest instance + */ + public IWorkbookFunctionsEcma_CeilingRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsEcma_CeilingRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEcma_CeilingRequest instance + */ + public IWorkbookFunctionsEcma_CeilingRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsEcma_CeilingRequest request = new WorkbookFunctionsEcma_CeilingRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequest.java index f6e87a35a17..04ec9374180 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsEdateBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEdateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEdateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Edate Request. */ -public class WorkbookFunctionsEdateRequest extends BaseWorkbookFunctionsEdateRequest implements IWorkbookFunctionsEdateRequest { +public class WorkbookFunctionsEdateRequest extends BaseRequest implements IWorkbookFunctionsEdateRequest { + protected final WorkbookFunctionsEdateBody body; /** * The request for this WorkbookFunctionsEdate @@ -23,6 +32,49 @@ public class WorkbookFunctionsEdateRequest extends BaseWorkbookFunctionsEdateReq * @param requestOptions the options for this request */ public WorkbookFunctionsEdateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsEdateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsEdateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsEdateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsEdateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsEdateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsEdateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsEdateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequestBuilder.java index 35b157e383d..35c1806c92b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEdateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEdateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEdateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Edate Request Builder. */ -public class WorkbookFunctionsEdateRequestBuilder extends BaseWorkbookFunctionsEdateRequestBuilder implements IWorkbookFunctionsEdateRequestBuilder { +public class WorkbookFunctionsEdateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsEdateRequestBuilder { /** * The request builder for this WorkbookFunctionsEdate @@ -25,6 +30,41 @@ public class WorkbookFunctionsEdateRequestBuilder extends BaseWorkbookFunctionsE * @param months the months */ public WorkbookFunctionsEdateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { - super(requestUrl, client, requestOptions, startDate, months); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("months", months); + } + + /** + * Creates the IWorkbookFunctionsEdateRequest + * + * @return the IWorkbookFunctionsEdateRequest instance + */ + public IWorkbookFunctionsEdateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsEdateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEdateRequest instance + */ + public IWorkbookFunctionsEdateRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsEdateRequest request = new WorkbookFunctionsEdateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("months")) { + request.body.months = getParameter("months"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequest.java index c3ea1d9a884..690cf978af7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsEffectBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEffectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEffectRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Effect Request. */ -public class WorkbookFunctionsEffectRequest extends BaseWorkbookFunctionsEffectRequest implements IWorkbookFunctionsEffectRequest { +public class WorkbookFunctionsEffectRequest extends BaseRequest implements IWorkbookFunctionsEffectRequest { + protected final WorkbookFunctionsEffectBody body; /** * The request for this WorkbookFunctionsEffect @@ -23,6 +32,49 @@ public class WorkbookFunctionsEffectRequest extends BaseWorkbookFunctionsEffectR * @param requestOptions the options for this request */ public WorkbookFunctionsEffectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsEffectBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsEffectRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsEffectRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsEffectRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsEffectRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsEffectRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsEffectRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequestBuilder.java index bdde493c982..e93797f0246 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEffectRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEffectRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEffectRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Effect Request Builder. */ -public class WorkbookFunctionsEffectRequestBuilder extends BaseWorkbookFunctionsEffectRequestBuilder implements IWorkbookFunctionsEffectRequestBuilder { +public class WorkbookFunctionsEffectRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsEffectRequestBuilder { /** * The request builder for this WorkbookFunctionsEffect @@ -25,6 +30,41 @@ public class WorkbookFunctionsEffectRequestBuilder extends BaseWorkbookFunctions * @param npery the npery */ public WorkbookFunctionsEffectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement nominalRate, final com.google.gson.JsonElement npery) { - super(requestUrl, client, requestOptions, nominalRate, npery); + super(requestUrl, client, requestOptions); + bodyParams.put("nominalRate", nominalRate); + bodyParams.put("npery", npery); + } + + /** + * Creates the IWorkbookFunctionsEffectRequest + * + * @return the IWorkbookFunctionsEffectRequest instance + */ + public IWorkbookFunctionsEffectRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsEffectRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEffectRequest instance + */ + public IWorkbookFunctionsEffectRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsEffectRequest request = new WorkbookFunctionsEffectRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("nominalRate")) { + request.body.nominalRate = getParameter("nominalRate"); + } + + if (hasParameter("npery")) { + request.body.npery = getParameter("npery"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequest.java index 6adeea30d3e..8e51f1c858d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsEoMonthBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEoMonthRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEoMonthRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Eo Month Request. */ -public class WorkbookFunctionsEoMonthRequest extends BaseWorkbookFunctionsEoMonthRequest implements IWorkbookFunctionsEoMonthRequest { +public class WorkbookFunctionsEoMonthRequest extends BaseRequest implements IWorkbookFunctionsEoMonthRequest { + protected final WorkbookFunctionsEoMonthBody body; /** * The request for this WorkbookFunctionsEoMonth @@ -23,6 +32,49 @@ public class WorkbookFunctionsEoMonthRequest extends BaseWorkbookFunctionsEoMont * @param requestOptions the options for this request */ public WorkbookFunctionsEoMonthRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsEoMonthBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsEoMonthRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsEoMonthRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsEoMonthRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsEoMonthRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsEoMonthRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsEoMonthRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequestBuilder.java index 3b6463ab79e..f95bf1239e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEoMonthRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEoMonthRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEoMonthRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Eo Month Request Builder. */ -public class WorkbookFunctionsEoMonthRequestBuilder extends BaseWorkbookFunctionsEoMonthRequestBuilder implements IWorkbookFunctionsEoMonthRequestBuilder { +public class WorkbookFunctionsEoMonthRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsEoMonthRequestBuilder { /** * The request builder for this WorkbookFunctionsEoMonth @@ -25,6 +30,41 @@ public class WorkbookFunctionsEoMonthRequestBuilder extends BaseWorkbookFunction * @param months the months */ public WorkbookFunctionsEoMonthRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { - super(requestUrl, client, requestOptions, startDate, months); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("months", months); + } + + /** + * Creates the IWorkbookFunctionsEoMonthRequest + * + * @return the IWorkbookFunctionsEoMonthRequest instance + */ + public IWorkbookFunctionsEoMonthRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsEoMonthRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEoMonthRequest instance + */ + public IWorkbookFunctionsEoMonthRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsEoMonthRequest request = new WorkbookFunctionsEoMonthRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("months")) { + request.body.months = getParameter("months"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequest.java index 31f1ebca270..6021bee9241 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsErfCBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfCRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErfCRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf CRequest. */ -public class WorkbookFunctionsErfCRequest extends BaseWorkbookFunctionsErfCRequest implements IWorkbookFunctionsErfCRequest { +public class WorkbookFunctionsErfCRequest extends BaseRequest implements IWorkbookFunctionsErfCRequest { + protected final WorkbookFunctionsErfCBody body; /** * The request for this WorkbookFunctionsErfC @@ -23,6 +32,49 @@ public class WorkbookFunctionsErfCRequest extends BaseWorkbookFunctionsErfCReque * @param requestOptions the options for this request */ public WorkbookFunctionsErfCRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsErfCBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsErfCRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsErfCRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsErfCRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsErfCRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsErfCRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsErfCRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequestBuilder.java index 2383ebb8fac..97f3443762f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfCRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfCRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErfCRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf CRequest Builder. */ -public class WorkbookFunctionsErfCRequestBuilder extends BaseWorkbookFunctionsErfCRequestBuilder implements IWorkbookFunctionsErfCRequestBuilder { +public class WorkbookFunctionsErfCRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsErfCRequestBuilder { /** * The request builder for this WorkbookFunctionsErfC @@ -24,6 +29,36 @@ public class WorkbookFunctionsErfCRequestBuilder extends BaseWorkbookFunctionsEr * @param x the x */ public WorkbookFunctionsErfCRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsErfCRequest + * + * @return the IWorkbookFunctionsErfCRequest instance + */ + public IWorkbookFunctionsErfCRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsErfCRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErfCRequest instance + */ + public IWorkbookFunctionsErfCRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsErfCRequest request = new WorkbookFunctionsErfCRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequest.java index 7b135b2daf6..5a4c5bc8764 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsErfC_PreciseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfC_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErfC_PreciseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf C_Precise Request. */ -public class WorkbookFunctionsErfC_PreciseRequest extends BaseWorkbookFunctionsErfC_PreciseRequest implements IWorkbookFunctionsErfC_PreciseRequest { +public class WorkbookFunctionsErfC_PreciseRequest extends BaseRequest implements IWorkbookFunctionsErfC_PreciseRequest { + protected final WorkbookFunctionsErfC_PreciseBody body; /** * The request for this WorkbookFunctionsErfC_Precise @@ -23,6 +32,49 @@ public class WorkbookFunctionsErfC_PreciseRequest extends BaseWorkbookFunctionsE * @param requestOptions the options for this request */ public WorkbookFunctionsErfC_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsErfC_PreciseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsErfC_PreciseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsErfC_PreciseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsErfC_PreciseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsErfC_PreciseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsErfC_PreciseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsErfC_PreciseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequestBuilder.java index 19acc2451a2..fe7565b2302 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfC_PreciseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfC_PreciseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErfC_PreciseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf C_Precise Request Builder. */ -public class WorkbookFunctionsErfC_PreciseRequestBuilder extends BaseWorkbookFunctionsErfC_PreciseRequestBuilder implements IWorkbookFunctionsErfC_PreciseRequestBuilder { +public class WorkbookFunctionsErfC_PreciseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsErfC_PreciseRequestBuilder { /** * The request builder for this WorkbookFunctionsErfC_Precise @@ -24,6 +29,36 @@ public class WorkbookFunctionsErfC_PreciseRequestBuilder extends BaseWorkbookFun * @param x the x */ public WorkbookFunctionsErfC_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsErfC_PreciseRequest + * + * @return the IWorkbookFunctionsErfC_PreciseRequest instance + */ + public IWorkbookFunctionsErfC_PreciseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsErfC_PreciseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErfC_PreciseRequest instance + */ + public IWorkbookFunctionsErfC_PreciseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsErfC_PreciseRequest request = new WorkbookFunctionsErfC_PreciseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequest.java index 70b80dea6eb..1dbe91f9e06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsErfBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErfRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf Request. */ -public class WorkbookFunctionsErfRequest extends BaseWorkbookFunctionsErfRequest implements IWorkbookFunctionsErfRequest { +public class WorkbookFunctionsErfRequest extends BaseRequest implements IWorkbookFunctionsErfRequest { + protected final WorkbookFunctionsErfBody body; /** * The request for this WorkbookFunctionsErf @@ -23,6 +32,49 @@ public class WorkbookFunctionsErfRequest extends BaseWorkbookFunctionsErfRequest * @param requestOptions the options for this request */ public WorkbookFunctionsErfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsErfBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsErfRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsErfRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsErfRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsErfRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsErfRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsErfRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequestBuilder.java index 016835c4c33..41b10b4a554 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErfRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErfRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf Request Builder. */ -public class WorkbookFunctionsErfRequestBuilder extends BaseWorkbookFunctionsErfRequestBuilder implements IWorkbookFunctionsErfRequestBuilder { +public class WorkbookFunctionsErfRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsErfRequestBuilder { /** * The request builder for this WorkbookFunctionsErf @@ -25,6 +30,41 @@ public class WorkbookFunctionsErfRequestBuilder extends BaseWorkbookFunctionsErf * @param upperLimit the upperLimit */ public WorkbookFunctionsErfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lowerLimit, final com.google.gson.JsonElement upperLimit) { - super(requestUrl, client, requestOptions, lowerLimit, upperLimit); + super(requestUrl, client, requestOptions); + bodyParams.put("lowerLimit", lowerLimit); + bodyParams.put("upperLimit", upperLimit); + } + + /** + * Creates the IWorkbookFunctionsErfRequest + * + * @return the IWorkbookFunctionsErfRequest instance + */ + public IWorkbookFunctionsErfRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsErfRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErfRequest instance + */ + public IWorkbookFunctionsErfRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsErfRequest request = new WorkbookFunctionsErfRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("lowerLimit")) { + request.body.lowerLimit = getParameter("lowerLimit"); + } + + if (hasParameter("upperLimit")) { + request.body.upperLimit = getParameter("upperLimit"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequest.java index 5c2d3a8df3d..31f48602caa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsErf_PreciseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErf_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErf_PreciseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf_Precise Request. */ -public class WorkbookFunctionsErf_PreciseRequest extends BaseWorkbookFunctionsErf_PreciseRequest implements IWorkbookFunctionsErf_PreciseRequest { +public class WorkbookFunctionsErf_PreciseRequest extends BaseRequest implements IWorkbookFunctionsErf_PreciseRequest { + protected final WorkbookFunctionsErf_PreciseBody body; /** * The request for this WorkbookFunctionsErf_Precise @@ -23,6 +32,49 @@ public class WorkbookFunctionsErf_PreciseRequest extends BaseWorkbookFunctionsEr * @param requestOptions the options for this request */ public WorkbookFunctionsErf_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsErf_PreciseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsErf_PreciseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsErf_PreciseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsErf_PreciseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsErf_PreciseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsErf_PreciseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsErf_PreciseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequestBuilder.java index 0b6424131a6..5c42be712d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsErf_PreciseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErf_PreciseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsErf_PreciseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Erf_Precise Request Builder. */ -public class WorkbookFunctionsErf_PreciseRequestBuilder extends BaseWorkbookFunctionsErf_PreciseRequestBuilder implements IWorkbookFunctionsErf_PreciseRequestBuilder { +public class WorkbookFunctionsErf_PreciseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsErf_PreciseRequestBuilder { /** * The request builder for this WorkbookFunctionsErf_Precise @@ -24,6 +29,36 @@ public class WorkbookFunctionsErf_PreciseRequestBuilder extends BaseWorkbookFunc * @param x the x */ public WorkbookFunctionsErf_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsErf_PreciseRequest + * + * @return the IWorkbookFunctionsErf_PreciseRequest instance + */ + public IWorkbookFunctionsErf_PreciseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsErf_PreciseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsErf_PreciseRequest instance + */ + public IWorkbookFunctionsErf_PreciseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsErf_PreciseRequest request = new WorkbookFunctionsErf_PreciseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequest.java index 28b17d7b264..9ba063a2e48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsError_TypeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsError_TypeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsError_TypeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Error_Type Request. */ -public class WorkbookFunctionsError_TypeRequest extends BaseWorkbookFunctionsError_TypeRequest implements IWorkbookFunctionsError_TypeRequest { +public class WorkbookFunctionsError_TypeRequest extends BaseRequest implements IWorkbookFunctionsError_TypeRequest { + protected final WorkbookFunctionsError_TypeBody body; /** * The request for this WorkbookFunctionsError_Type @@ -23,6 +32,49 @@ public class WorkbookFunctionsError_TypeRequest extends BaseWorkbookFunctionsErr * @param requestOptions the options for this request */ public WorkbookFunctionsError_TypeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsError_TypeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsError_TypeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsError_TypeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsError_TypeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsError_TypeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsError_TypeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsError_TypeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequestBuilder.java index 41da943fb93..ad2971a8ca8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsError_TypeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsError_TypeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsError_TypeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Error_Type Request Builder. */ -public class WorkbookFunctionsError_TypeRequestBuilder extends BaseWorkbookFunctionsError_TypeRequestBuilder implements IWorkbookFunctionsError_TypeRequestBuilder { +public class WorkbookFunctionsError_TypeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsError_TypeRequestBuilder { /** * The request builder for this WorkbookFunctionsError_Type @@ -24,6 +29,36 @@ public class WorkbookFunctionsError_TypeRequestBuilder extends BaseWorkbookFunct * @param errorVal the errorVal */ public WorkbookFunctionsError_TypeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement errorVal) { - super(requestUrl, client, requestOptions, errorVal); + super(requestUrl, client, requestOptions); + bodyParams.put("errorVal", errorVal); + } + + /** + * Creates the IWorkbookFunctionsError_TypeRequest + * + * @return the IWorkbookFunctionsError_TypeRequest instance + */ + public IWorkbookFunctionsError_TypeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsError_TypeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsError_TypeRequest instance + */ + public IWorkbookFunctionsError_TypeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsError_TypeRequest request = new WorkbookFunctionsError_TypeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("errorVal")) { + request.body.errorVal = getParameter("errorVal"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequest.java index 8adc2bd8f6f..cec2e4f2d91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsEvenBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEvenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEvenRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Even Request. */ -public class WorkbookFunctionsEvenRequest extends BaseWorkbookFunctionsEvenRequest implements IWorkbookFunctionsEvenRequest { +public class WorkbookFunctionsEvenRequest extends BaseRequest implements IWorkbookFunctionsEvenRequest { + protected final WorkbookFunctionsEvenBody body; /** * The request for this WorkbookFunctionsEven @@ -23,6 +32,49 @@ public class WorkbookFunctionsEvenRequest extends BaseWorkbookFunctionsEvenReque * @param requestOptions the options for this request */ public WorkbookFunctionsEvenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsEvenBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsEvenRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsEvenRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsEvenRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsEvenRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsEvenRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsEvenRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequestBuilder.java index 12e66de477e..b8496475b61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsEvenRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEvenRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsEvenRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Even Request Builder. */ -public class WorkbookFunctionsEvenRequestBuilder extends BaseWorkbookFunctionsEvenRequestBuilder implements IWorkbookFunctionsEvenRequestBuilder { +public class WorkbookFunctionsEvenRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsEvenRequestBuilder { /** * The request builder for this WorkbookFunctionsEven @@ -24,6 +29,36 @@ public class WorkbookFunctionsEvenRequestBuilder extends BaseWorkbookFunctionsEv * @param number the number */ public WorkbookFunctionsEvenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsEvenRequest + * + * @return the IWorkbookFunctionsEvenRequest instance + */ + public IWorkbookFunctionsEvenRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsEvenRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsEvenRequest instance + */ + public IWorkbookFunctionsEvenRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsEvenRequest request = new WorkbookFunctionsEvenRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequest.java index 58035fb52be..7e67df62897 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsExactBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExactRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsExactRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Exact Request. */ -public class WorkbookFunctionsExactRequest extends BaseWorkbookFunctionsExactRequest implements IWorkbookFunctionsExactRequest { +public class WorkbookFunctionsExactRequest extends BaseRequest implements IWorkbookFunctionsExactRequest { + protected final WorkbookFunctionsExactBody body; /** * The request for this WorkbookFunctionsExact @@ -23,6 +32,49 @@ public class WorkbookFunctionsExactRequest extends BaseWorkbookFunctionsExactReq * @param requestOptions the options for this request */ public WorkbookFunctionsExactRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsExactBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsExactRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsExactRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsExactRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsExactRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsExactRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsExactRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequestBuilder.java index cdd3f10e6ce..b3a54bfc8ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExactRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExactRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsExactRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Exact Request Builder. */ -public class WorkbookFunctionsExactRequestBuilder extends BaseWorkbookFunctionsExactRequestBuilder implements IWorkbookFunctionsExactRequestBuilder { +public class WorkbookFunctionsExactRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsExactRequestBuilder { /** * The request builder for this WorkbookFunctionsExact @@ -25,6 +30,41 @@ public class WorkbookFunctionsExactRequestBuilder extends BaseWorkbookFunctionsE * @param text2 the text2 */ public WorkbookFunctionsExactRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text1, final com.google.gson.JsonElement text2) { - super(requestUrl, client, requestOptions, text1, text2); + super(requestUrl, client, requestOptions); + bodyParams.put("text1", text1); + bodyParams.put("text2", text2); + } + + /** + * Creates the IWorkbookFunctionsExactRequest + * + * @return the IWorkbookFunctionsExactRequest instance + */ + public IWorkbookFunctionsExactRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsExactRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsExactRequest instance + */ + public IWorkbookFunctionsExactRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsExactRequest request = new WorkbookFunctionsExactRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text1")) { + request.body.text1 = getParameter("text1"); + } + + if (hasParameter("text2")) { + request.body.text2 = getParameter("text2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequest.java index 0927b35af48..c83304de40a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsExpBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsExpRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Exp Request. */ -public class WorkbookFunctionsExpRequest extends BaseWorkbookFunctionsExpRequest implements IWorkbookFunctionsExpRequest { +public class WorkbookFunctionsExpRequest extends BaseRequest implements IWorkbookFunctionsExpRequest { + protected final WorkbookFunctionsExpBody body; /** * The request for this WorkbookFunctionsExp @@ -23,6 +32,49 @@ public class WorkbookFunctionsExpRequest extends BaseWorkbookFunctionsExpRequest * @param requestOptions the options for this request */ public WorkbookFunctionsExpRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsExpBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsExpRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsExpRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsExpRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsExpRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsExpRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsExpRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequestBuilder.java index 27b735906b7..971e9f2b4fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsExpRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Exp Request Builder. */ -public class WorkbookFunctionsExpRequestBuilder extends BaseWorkbookFunctionsExpRequestBuilder implements IWorkbookFunctionsExpRequestBuilder { +public class WorkbookFunctionsExpRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsExpRequestBuilder { /** * The request builder for this WorkbookFunctionsExp @@ -24,6 +29,36 @@ public class WorkbookFunctionsExpRequestBuilder extends BaseWorkbookFunctionsExp * @param number the number */ public WorkbookFunctionsExpRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsExpRequest + * + * @return the IWorkbookFunctionsExpRequest instance + */ + public IWorkbookFunctionsExpRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsExpRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsExpRequest instance + */ + public IWorkbookFunctionsExpRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsExpRequest request = new WorkbookFunctionsExpRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequest.java index bca6857e455..94f110da28e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsExpon_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpon_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsExpon_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Expon_Dist Request. */ -public class WorkbookFunctionsExpon_DistRequest extends BaseWorkbookFunctionsExpon_DistRequest implements IWorkbookFunctionsExpon_DistRequest { +public class WorkbookFunctionsExpon_DistRequest extends BaseRequest implements IWorkbookFunctionsExpon_DistRequest { + protected final WorkbookFunctionsExpon_DistBody body; /** * The request for this WorkbookFunctionsExpon_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsExpon_DistRequest extends BaseWorkbookFunctionsExp * @param requestOptions the options for this request */ public WorkbookFunctionsExpon_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsExpon_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsExpon_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsExpon_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsExpon_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsExpon_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsExpon_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsExpon_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequestBuilder.java index 6a0e6bd72ba..5051b749127 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsExpon_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpon_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsExpon_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Expon_Dist Request Builder. */ -public class WorkbookFunctionsExpon_DistRequestBuilder extends BaseWorkbookFunctionsExpon_DistRequestBuilder implements IWorkbookFunctionsExpon_DistRequestBuilder { +public class WorkbookFunctionsExpon_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsExpon_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsExpon_Dist @@ -26,6 +31,46 @@ public class WorkbookFunctionsExpon_DistRequestBuilder extends BaseWorkbookFunct * @param cumulative the cumulative */ public WorkbookFunctionsExpon_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement lambda, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, lambda, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("lambda", lambda); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsExpon_DistRequest + * + * @return the IWorkbookFunctionsExpon_DistRequest instance + */ + public IWorkbookFunctionsExpon_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsExpon_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsExpon_DistRequest instance + */ + public IWorkbookFunctionsExpon_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsExpon_DistRequest request = new WorkbookFunctionsExpon_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("lambda")) { + request.body.lambda = getParameter("lambda"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequest.java index 7b89afa542c..17ca317c3a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsF_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Dist Request. */ -public class WorkbookFunctionsF_DistRequest extends BaseWorkbookFunctionsF_DistRequest implements IWorkbookFunctionsF_DistRequest { +public class WorkbookFunctionsF_DistRequest extends BaseRequest implements IWorkbookFunctionsF_DistRequest { + protected final WorkbookFunctionsF_DistBody body; /** * The request for this WorkbookFunctionsF_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsF_DistRequest extends BaseWorkbookFunctionsF_DistR * @param requestOptions the options for this request */ public WorkbookFunctionsF_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsF_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsF_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsF_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsF_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsF_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsF_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsF_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequestBuilder.java index b0c32ee4b56..e4b5cfcbb94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Dist Request Builder. */ -public class WorkbookFunctionsF_DistRequestBuilder extends BaseWorkbookFunctionsF_DistRequestBuilder implements IWorkbookFunctionsF_DistRequestBuilder { +public class WorkbookFunctionsF_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsF_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsF_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsF_DistRequestBuilder extends BaseWorkbookFunctions * @param cumulative the cumulative */ public WorkbookFunctionsF_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, degFreedom1, degFreedom2, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom1", degFreedom1); + bodyParams.put("degFreedom2", degFreedom2); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsF_DistRequest + * + * @return the IWorkbookFunctionsF_DistRequest instance + */ + public IWorkbookFunctionsF_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsF_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_DistRequest instance + */ + public IWorkbookFunctionsF_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsF_DistRequest request = new WorkbookFunctionsF_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom1")) { + request.body.degFreedom1 = getParameter("degFreedom1"); + } + + if (hasParameter("degFreedom2")) { + request.body.degFreedom2 = getParameter("degFreedom2"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequest.java index 8d74d839dc8..0cfd4e7fe74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsF_Dist_RTBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Dist_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_Dist_RTRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Dist_RTRequest. */ -public class WorkbookFunctionsF_Dist_RTRequest extends BaseWorkbookFunctionsF_Dist_RTRequest implements IWorkbookFunctionsF_Dist_RTRequest { +public class WorkbookFunctionsF_Dist_RTRequest extends BaseRequest implements IWorkbookFunctionsF_Dist_RTRequest { + protected final WorkbookFunctionsF_Dist_RTBody body; /** * The request for this WorkbookFunctionsF_Dist_RT @@ -23,6 +32,49 @@ public class WorkbookFunctionsF_Dist_RTRequest extends BaseWorkbookFunctionsF_Di * @param requestOptions the options for this request */ public WorkbookFunctionsF_Dist_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsF_Dist_RTBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsF_Dist_RTRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsF_Dist_RTRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsF_Dist_RTRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsF_Dist_RTRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsF_Dist_RTRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsF_Dist_RTRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequestBuilder.java index 6af8692d298..e21fcf89ae5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Dist_RTRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Dist_RTRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_Dist_RTRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Dist_RTRequest Builder. */ -public class WorkbookFunctionsF_Dist_RTRequestBuilder extends BaseWorkbookFunctionsF_Dist_RTRequestBuilder implements IWorkbookFunctionsF_Dist_RTRequestBuilder { +public class WorkbookFunctionsF_Dist_RTRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsF_Dist_RTRequestBuilder { /** * The request builder for this WorkbookFunctionsF_Dist_RT @@ -26,6 +31,46 @@ public class WorkbookFunctionsF_Dist_RTRequestBuilder extends BaseWorkbookFuncti * @param degFreedom2 the degFreedom2 */ public WorkbookFunctionsF_Dist_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - super(requestUrl, client, requestOptions, x, degFreedom1, degFreedom2); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom1", degFreedom1); + bodyParams.put("degFreedom2", degFreedom2); + } + + /** + * Creates the IWorkbookFunctionsF_Dist_RTRequest + * + * @return the IWorkbookFunctionsF_Dist_RTRequest instance + */ + public IWorkbookFunctionsF_Dist_RTRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsF_Dist_RTRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_Dist_RTRequest instance + */ + public IWorkbookFunctionsF_Dist_RTRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsF_Dist_RTRequest request = new WorkbookFunctionsF_Dist_RTRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom1")) { + request.body.degFreedom1 = getParameter("degFreedom1"); + } + + if (hasParameter("degFreedom2")) { + request.body.degFreedom2 = getParameter("degFreedom2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequest.java index 1ae9be0f061..522e4580673 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsF_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Inv Request. */ -public class WorkbookFunctionsF_InvRequest extends BaseWorkbookFunctionsF_InvRequest implements IWorkbookFunctionsF_InvRequest { +public class WorkbookFunctionsF_InvRequest extends BaseRequest implements IWorkbookFunctionsF_InvRequest { + protected final WorkbookFunctionsF_InvBody body; /** * The request for this WorkbookFunctionsF_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsF_InvRequest extends BaseWorkbookFunctionsF_InvReq * @param requestOptions the options for this request */ public WorkbookFunctionsF_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsF_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsF_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsF_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsF_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsF_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsF_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsF_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequestBuilder.java index 12dc55fdf5b..1134d19a0d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Inv Request Builder. */ -public class WorkbookFunctionsF_InvRequestBuilder extends BaseWorkbookFunctionsF_InvRequestBuilder implements IWorkbookFunctionsF_InvRequestBuilder { +public class WorkbookFunctionsF_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsF_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsF_Inv @@ -26,6 +31,46 @@ public class WorkbookFunctionsF_InvRequestBuilder extends BaseWorkbookFunctionsF * @param degFreedom2 the degFreedom2 */ public WorkbookFunctionsF_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - super(requestUrl, client, requestOptions, probability, degFreedom1, degFreedom2); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("degFreedom1", degFreedom1); + bodyParams.put("degFreedom2", degFreedom2); + } + + /** + * Creates the IWorkbookFunctionsF_InvRequest + * + * @return the IWorkbookFunctionsF_InvRequest instance + */ + public IWorkbookFunctionsF_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsF_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_InvRequest instance + */ + public IWorkbookFunctionsF_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsF_InvRequest request = new WorkbookFunctionsF_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("degFreedom1")) { + request.body.degFreedom1 = getParameter("degFreedom1"); + } + + if (hasParameter("degFreedom2")) { + request.body.degFreedom2 = getParameter("degFreedom2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequest.java index 7be87387909..bb2959d7b62 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsF_Inv_RTBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Inv_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_Inv_RTRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Inv_RTRequest. */ -public class WorkbookFunctionsF_Inv_RTRequest extends BaseWorkbookFunctionsF_Inv_RTRequest implements IWorkbookFunctionsF_Inv_RTRequest { +public class WorkbookFunctionsF_Inv_RTRequest extends BaseRequest implements IWorkbookFunctionsF_Inv_RTRequest { + protected final WorkbookFunctionsF_Inv_RTBody body; /** * The request for this WorkbookFunctionsF_Inv_RT @@ -23,6 +32,49 @@ public class WorkbookFunctionsF_Inv_RTRequest extends BaseWorkbookFunctionsF_Inv * @param requestOptions the options for this request */ public WorkbookFunctionsF_Inv_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsF_Inv_RTBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsF_Inv_RTRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsF_Inv_RTRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsF_Inv_RTRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsF_Inv_RTRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsF_Inv_RTRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsF_Inv_RTRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequestBuilder.java index 5b8364367bd..6c6e3d9cda2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsF_Inv_RTRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Inv_RTRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsF_Inv_RTRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions F_Inv_RTRequest Builder. */ -public class WorkbookFunctionsF_Inv_RTRequestBuilder extends BaseWorkbookFunctionsF_Inv_RTRequestBuilder implements IWorkbookFunctionsF_Inv_RTRequestBuilder { +public class WorkbookFunctionsF_Inv_RTRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsF_Inv_RTRequestBuilder { /** * The request builder for this WorkbookFunctionsF_Inv_RT @@ -26,6 +31,46 @@ public class WorkbookFunctionsF_Inv_RTRequestBuilder extends BaseWorkbookFunctio * @param degFreedom2 the degFreedom2 */ public WorkbookFunctionsF_Inv_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - super(requestUrl, client, requestOptions, probability, degFreedom1, degFreedom2); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("degFreedom1", degFreedom1); + bodyParams.put("degFreedom2", degFreedom2); + } + + /** + * Creates the IWorkbookFunctionsF_Inv_RTRequest + * + * @return the IWorkbookFunctionsF_Inv_RTRequest instance + */ + public IWorkbookFunctionsF_Inv_RTRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsF_Inv_RTRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsF_Inv_RTRequest instance + */ + public IWorkbookFunctionsF_Inv_RTRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsF_Inv_RTRequest request = new WorkbookFunctionsF_Inv_RTRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("degFreedom1")) { + request.body.degFreedom1 = getParameter("degFreedom1"); + } + + if (hasParameter("degFreedom2")) { + request.body.degFreedom2 = getParameter("degFreedom2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequest.java index 9621ea4c18c..ded91ac69bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFactDoubleBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactDoubleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFactDoubleRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fact Double Request. */ -public class WorkbookFunctionsFactDoubleRequest extends BaseWorkbookFunctionsFactDoubleRequest implements IWorkbookFunctionsFactDoubleRequest { +public class WorkbookFunctionsFactDoubleRequest extends BaseRequest implements IWorkbookFunctionsFactDoubleRequest { + protected final WorkbookFunctionsFactDoubleBody body; /** * The request for this WorkbookFunctionsFactDouble @@ -23,6 +32,49 @@ public class WorkbookFunctionsFactDoubleRequest extends BaseWorkbookFunctionsFac * @param requestOptions the options for this request */ public WorkbookFunctionsFactDoubleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFactDoubleBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFactDoubleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFactDoubleRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFactDoubleRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFactDoubleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFactDoubleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFactDoubleRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequestBuilder.java index 80a4fb01f61..94c880756b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactDoubleRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactDoubleRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFactDoubleRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fact Double Request Builder. */ -public class WorkbookFunctionsFactDoubleRequestBuilder extends BaseWorkbookFunctionsFactDoubleRequestBuilder implements IWorkbookFunctionsFactDoubleRequestBuilder { +public class WorkbookFunctionsFactDoubleRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFactDoubleRequestBuilder { /** * The request builder for this WorkbookFunctionsFactDouble @@ -24,6 +29,36 @@ public class WorkbookFunctionsFactDoubleRequestBuilder extends BaseWorkbookFunct * @param number the number */ public WorkbookFunctionsFactDoubleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsFactDoubleRequest + * + * @return the IWorkbookFunctionsFactDoubleRequest instance + */ + public IWorkbookFunctionsFactDoubleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFactDoubleRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFactDoubleRequest instance + */ + public IWorkbookFunctionsFactDoubleRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFactDoubleRequest request = new WorkbookFunctionsFactDoubleRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequest.java index ce01b59bede..918df488abc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFactBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFactRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fact Request. */ -public class WorkbookFunctionsFactRequest extends BaseWorkbookFunctionsFactRequest implements IWorkbookFunctionsFactRequest { +public class WorkbookFunctionsFactRequest extends BaseRequest implements IWorkbookFunctionsFactRequest { + protected final WorkbookFunctionsFactBody body; /** * The request for this WorkbookFunctionsFact @@ -23,6 +32,49 @@ public class WorkbookFunctionsFactRequest extends BaseWorkbookFunctionsFactReque * @param requestOptions the options for this request */ public WorkbookFunctionsFactRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFactBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFactRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFactRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFactRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFactRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFactRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFactRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequestBuilder.java index dacad7be5fb..cfa1933b80c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFactRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFactRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fact Request Builder. */ -public class WorkbookFunctionsFactRequestBuilder extends BaseWorkbookFunctionsFactRequestBuilder implements IWorkbookFunctionsFactRequestBuilder { +public class WorkbookFunctionsFactRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFactRequestBuilder { /** * The request builder for this WorkbookFunctionsFact @@ -24,6 +29,36 @@ public class WorkbookFunctionsFactRequestBuilder extends BaseWorkbookFunctionsFa * @param number the number */ public WorkbookFunctionsFactRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsFactRequest + * + * @return the IWorkbookFunctionsFactRequest instance + */ + public IWorkbookFunctionsFactRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFactRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFactRequest instance + */ + public IWorkbookFunctionsFactRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFactRequest request = new WorkbookFunctionsFactRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequest.java index 89f112c7c8b..14adae80cdb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFalseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFalseRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions False Request. */ -public class WorkbookFunctionsFalseRequest extends BaseWorkbookFunctionsFalseRequest implements IWorkbookFunctionsFalseRequest { +public class WorkbookFunctionsFalseRequest extends BaseRequest implements IWorkbookFunctionsFalseRequest { /** * The request for this WorkbookFunctionsFalse @@ -23,6 +31,48 @@ public class WorkbookFunctionsFalseRequest extends BaseWorkbookFunctionsFalseReq * @param requestOptions the options for this request */ public WorkbookFunctionsFalseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsFalse + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsFalse + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFalseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFalseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFalseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFalseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequestBuilder.java index 032c77e6148..321068aa618 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFalseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFalseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFalseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions False Request Builder. */ -public class WorkbookFunctionsFalseRequestBuilder extends BaseWorkbookFunctionsFalseRequestBuilder implements IWorkbookFunctionsFalseRequestBuilder { +public class WorkbookFunctionsFalseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFalseRequestBuilder { /** * The request builder for this WorkbookFunctionsFalse @@ -25,4 +30,29 @@ public class WorkbookFunctionsFalseRequestBuilder extends BaseWorkbookFunctionsF public WorkbookFunctionsFalseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsFalseRequest + * + * @return the IWorkbookFunctionsFalseRequest instance + */ + public IWorkbookFunctionsFalseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFalseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFalseRequest instance + */ + public IWorkbookFunctionsFalseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFalseRequest request = new WorkbookFunctionsFalseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequest.java index 30e97862533..c7291586e9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFindBBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindBRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFindBRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Find BRequest. */ -public class WorkbookFunctionsFindBRequest extends BaseWorkbookFunctionsFindBRequest implements IWorkbookFunctionsFindBRequest { +public class WorkbookFunctionsFindBRequest extends BaseRequest implements IWorkbookFunctionsFindBRequest { + protected final WorkbookFunctionsFindBBody body; /** * The request for this WorkbookFunctionsFindB @@ -23,6 +32,49 @@ public class WorkbookFunctionsFindBRequest extends BaseWorkbookFunctionsFindBReq * @param requestOptions the options for this request */ public WorkbookFunctionsFindBRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFindBBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFindBRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFindBRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFindBRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFindBRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFindBRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFindBRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequestBuilder.java index c04eaf3f404..4c9ec9ec32e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindBRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindBRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFindBRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Find BRequest Builder. */ -public class WorkbookFunctionsFindBRequestBuilder extends BaseWorkbookFunctionsFindBRequestBuilder implements IWorkbookFunctionsFindBRequestBuilder { +public class WorkbookFunctionsFindBRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFindBRequestBuilder { /** * The request builder for this WorkbookFunctionsFindB @@ -26,6 +31,46 @@ public class WorkbookFunctionsFindBRequestBuilder extends BaseWorkbookFunctionsF * @param startNum the startNum */ public WorkbookFunctionsFindBRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { - super(requestUrl, client, requestOptions, findText, withinText, startNum); + super(requestUrl, client, requestOptions); + bodyParams.put("findText", findText); + bodyParams.put("withinText", withinText); + bodyParams.put("startNum", startNum); + } + + /** + * Creates the IWorkbookFunctionsFindBRequest + * + * @return the IWorkbookFunctionsFindBRequest instance + */ + public IWorkbookFunctionsFindBRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFindBRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFindBRequest instance + */ + public IWorkbookFunctionsFindBRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFindBRequest request = new WorkbookFunctionsFindBRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("findText")) { + request.body.findText = getParameter("findText"); + } + + if (hasParameter("withinText")) { + request.body.withinText = getParameter("withinText"); + } + + if (hasParameter("startNum")) { + request.body.startNum = getParameter("startNum"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequest.java index 320ad9d42f5..6a1c42ab159 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFindBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFindRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Find Request. */ -public class WorkbookFunctionsFindRequest extends BaseWorkbookFunctionsFindRequest implements IWorkbookFunctionsFindRequest { +public class WorkbookFunctionsFindRequest extends BaseRequest implements IWorkbookFunctionsFindRequest { + protected final WorkbookFunctionsFindBody body; /** * The request for this WorkbookFunctionsFind @@ -23,6 +32,49 @@ public class WorkbookFunctionsFindRequest extends BaseWorkbookFunctionsFindReque * @param requestOptions the options for this request */ public WorkbookFunctionsFindRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFindBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFindRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFindRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFindRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFindRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFindRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFindRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequestBuilder.java index a334fb08ace..c95aa403d84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFindRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFindRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Find Request Builder. */ -public class WorkbookFunctionsFindRequestBuilder extends BaseWorkbookFunctionsFindRequestBuilder implements IWorkbookFunctionsFindRequestBuilder { +public class WorkbookFunctionsFindRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFindRequestBuilder { /** * The request builder for this WorkbookFunctionsFind @@ -26,6 +31,46 @@ public class WorkbookFunctionsFindRequestBuilder extends BaseWorkbookFunctionsFi * @param startNum the startNum */ public WorkbookFunctionsFindRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { - super(requestUrl, client, requestOptions, findText, withinText, startNum); + super(requestUrl, client, requestOptions); + bodyParams.put("findText", findText); + bodyParams.put("withinText", withinText); + bodyParams.put("startNum", startNum); + } + + /** + * Creates the IWorkbookFunctionsFindRequest + * + * @return the IWorkbookFunctionsFindRequest instance + */ + public IWorkbookFunctionsFindRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFindRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFindRequest instance + */ + public IWorkbookFunctionsFindRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFindRequest request = new WorkbookFunctionsFindRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("findText")) { + request.body.findText = getParameter("findText"); + } + + if (hasParameter("withinText")) { + request.body.withinText = getParameter("withinText"); + } + + if (hasParameter("startNum")) { + request.body.startNum = getParameter("startNum"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequest.java index e879bb6bdbb..0629b781bed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFisherInvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherInvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFisherInvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fisher Inv Request. */ -public class WorkbookFunctionsFisherInvRequest extends BaseWorkbookFunctionsFisherInvRequest implements IWorkbookFunctionsFisherInvRequest { +public class WorkbookFunctionsFisherInvRequest extends BaseRequest implements IWorkbookFunctionsFisherInvRequest { + protected final WorkbookFunctionsFisherInvBody body; /** * The request for this WorkbookFunctionsFisherInv @@ -23,6 +32,49 @@ public class WorkbookFunctionsFisherInvRequest extends BaseWorkbookFunctionsFish * @param requestOptions the options for this request */ public WorkbookFunctionsFisherInvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFisherInvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFisherInvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFisherInvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFisherInvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFisherInvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFisherInvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFisherInvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequestBuilder.java index 958b9836723..0505c0d201e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherInvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherInvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFisherInvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fisher Inv Request Builder. */ -public class WorkbookFunctionsFisherInvRequestBuilder extends BaseWorkbookFunctionsFisherInvRequestBuilder implements IWorkbookFunctionsFisherInvRequestBuilder { +public class WorkbookFunctionsFisherInvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFisherInvRequestBuilder { /** * The request builder for this WorkbookFunctionsFisherInv @@ -24,6 +29,36 @@ public class WorkbookFunctionsFisherInvRequestBuilder extends BaseWorkbookFuncti * @param y the y */ public WorkbookFunctionsFisherInvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement y) { - super(requestUrl, client, requestOptions, y); + super(requestUrl, client, requestOptions); + bodyParams.put("y", y); + } + + /** + * Creates the IWorkbookFunctionsFisherInvRequest + * + * @return the IWorkbookFunctionsFisherInvRequest instance + */ + public IWorkbookFunctionsFisherInvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFisherInvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFisherInvRequest instance + */ + public IWorkbookFunctionsFisherInvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFisherInvRequest request = new WorkbookFunctionsFisherInvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("y")) { + request.body.y = getParameter("y"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequest.java index 8eb8426fc6b..f6ecb0e8b14 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFisherBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFisherRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fisher Request. */ -public class WorkbookFunctionsFisherRequest extends BaseWorkbookFunctionsFisherRequest implements IWorkbookFunctionsFisherRequest { +public class WorkbookFunctionsFisherRequest extends BaseRequest implements IWorkbookFunctionsFisherRequest { + protected final WorkbookFunctionsFisherBody body; /** * The request for this WorkbookFunctionsFisher @@ -23,6 +32,49 @@ public class WorkbookFunctionsFisherRequest extends BaseWorkbookFunctionsFisherR * @param requestOptions the options for this request */ public WorkbookFunctionsFisherRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFisherBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFisherRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFisherRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFisherRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFisherRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFisherRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFisherRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequestBuilder.java index fa0c69c1397..2b7d0abe1f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFisherRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFisherRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fisher Request Builder. */ -public class WorkbookFunctionsFisherRequestBuilder extends BaseWorkbookFunctionsFisherRequestBuilder implements IWorkbookFunctionsFisherRequestBuilder { +public class WorkbookFunctionsFisherRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFisherRequestBuilder { /** * The request builder for this WorkbookFunctionsFisher @@ -24,6 +29,36 @@ public class WorkbookFunctionsFisherRequestBuilder extends BaseWorkbookFunctions * @param x the x */ public WorkbookFunctionsFisherRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsFisherRequest + * + * @return the IWorkbookFunctionsFisherRequest instance + */ + public IWorkbookFunctionsFisherRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFisherRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFisherRequest instance + */ + public IWorkbookFunctionsFisherRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFisherRequest request = new WorkbookFunctionsFisherRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequest.java index 124b13cd8ca..3e537d0fb35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFixedBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFixedRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFixedRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fixed Request. */ -public class WorkbookFunctionsFixedRequest extends BaseWorkbookFunctionsFixedRequest implements IWorkbookFunctionsFixedRequest { +public class WorkbookFunctionsFixedRequest extends BaseRequest implements IWorkbookFunctionsFixedRequest { + protected final WorkbookFunctionsFixedBody body; /** * The request for this WorkbookFunctionsFixed @@ -23,6 +32,49 @@ public class WorkbookFunctionsFixedRequest extends BaseWorkbookFunctionsFixedReq * @param requestOptions the options for this request */ public WorkbookFunctionsFixedRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFixedBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFixedRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFixedRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFixedRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFixedRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFixedRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFixedRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequestBuilder.java index 8a5970b9ecd..9ce18d73549 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFixedRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFixedRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFixedRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fixed Request Builder. */ -public class WorkbookFunctionsFixedRequestBuilder extends BaseWorkbookFunctionsFixedRequestBuilder implements IWorkbookFunctionsFixedRequestBuilder { +public class WorkbookFunctionsFixedRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFixedRequestBuilder { /** * The request builder for this WorkbookFunctionsFixed @@ -26,6 +31,46 @@ public class WorkbookFunctionsFixedRequestBuilder extends BaseWorkbookFunctionsF * @param noCommas the noCommas */ public WorkbookFunctionsFixedRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals, final com.google.gson.JsonElement noCommas) { - super(requestUrl, client, requestOptions, number, decimals, noCommas); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("decimals", decimals); + bodyParams.put("noCommas", noCommas); + } + + /** + * Creates the IWorkbookFunctionsFixedRequest + * + * @return the IWorkbookFunctionsFixedRequest instance + */ + public IWorkbookFunctionsFixedRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFixedRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFixedRequest instance + */ + public IWorkbookFunctionsFixedRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFixedRequest request = new WorkbookFunctionsFixedRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("decimals")) { + request.body.decimals = getParameter("decimals"); + } + + if (hasParameter("noCommas")) { + request.body.noCommas = getParameter("noCommas"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequest.java index 8cda6976b97..14f4003d1a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFloor_MathBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_MathRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFloor_MathRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Floor_Math Request. */ -public class WorkbookFunctionsFloor_MathRequest extends BaseWorkbookFunctionsFloor_MathRequest implements IWorkbookFunctionsFloor_MathRequest { +public class WorkbookFunctionsFloor_MathRequest extends BaseRequest implements IWorkbookFunctionsFloor_MathRequest { + protected final WorkbookFunctionsFloor_MathBody body; /** * The request for this WorkbookFunctionsFloor_Math @@ -23,6 +32,49 @@ public class WorkbookFunctionsFloor_MathRequest extends BaseWorkbookFunctionsFlo * @param requestOptions the options for this request */ public WorkbookFunctionsFloor_MathRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFloor_MathBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFloor_MathRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFloor_MathRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFloor_MathRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFloor_MathRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFloor_MathRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFloor_MathRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequestBuilder.java index f192b2892d3..71e902490a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_MathRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_MathRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFloor_MathRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Floor_Math Request Builder. */ -public class WorkbookFunctionsFloor_MathRequestBuilder extends BaseWorkbookFunctionsFloor_MathRequestBuilder implements IWorkbookFunctionsFloor_MathRequestBuilder { +public class WorkbookFunctionsFloor_MathRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFloor_MathRequestBuilder { /** * The request builder for this WorkbookFunctionsFloor_Math @@ -26,6 +31,46 @@ public class WorkbookFunctionsFloor_MathRequestBuilder extends BaseWorkbookFunct * @param mode the mode */ public WorkbookFunctionsFloor_MathRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { - super(requestUrl, client, requestOptions, number, significance, mode); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("significance", significance); + bodyParams.put("mode", mode); + } + + /** + * Creates the IWorkbookFunctionsFloor_MathRequest + * + * @return the IWorkbookFunctionsFloor_MathRequest instance + */ + public IWorkbookFunctionsFloor_MathRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFloor_MathRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFloor_MathRequest instance + */ + public IWorkbookFunctionsFloor_MathRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFloor_MathRequest request = new WorkbookFunctionsFloor_MathRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + if (hasParameter("mode")) { + request.body.mode = getParameter("mode"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequest.java index 6cefa5b4bb5..06525e1de1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFloor_PreciseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFloor_PreciseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Floor_Precise Request. */ -public class WorkbookFunctionsFloor_PreciseRequest extends BaseWorkbookFunctionsFloor_PreciseRequest implements IWorkbookFunctionsFloor_PreciseRequest { +public class WorkbookFunctionsFloor_PreciseRequest extends BaseRequest implements IWorkbookFunctionsFloor_PreciseRequest { + protected final WorkbookFunctionsFloor_PreciseBody body; /** * The request for this WorkbookFunctionsFloor_Precise @@ -23,6 +32,49 @@ public class WorkbookFunctionsFloor_PreciseRequest extends BaseWorkbookFunctions * @param requestOptions the options for this request */ public WorkbookFunctionsFloor_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFloor_PreciseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFloor_PreciseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFloor_PreciseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFloor_PreciseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFloor_PreciseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFloor_PreciseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFloor_PreciseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequestBuilder.java index c091f0f9351..0117afcbfa3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFloor_PreciseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_PreciseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFloor_PreciseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Floor_Precise Request Builder. */ -public class WorkbookFunctionsFloor_PreciseRequestBuilder extends BaseWorkbookFunctionsFloor_PreciseRequestBuilder implements IWorkbookFunctionsFloor_PreciseRequestBuilder { +public class WorkbookFunctionsFloor_PreciseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFloor_PreciseRequestBuilder { /** * The request builder for this WorkbookFunctionsFloor_Precise @@ -25,6 +30,41 @@ public class WorkbookFunctionsFloor_PreciseRequestBuilder extends BaseWorkbookFu * @param significance the significance */ public WorkbookFunctionsFloor_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions, number, significance); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("significance", significance); + } + + /** + * Creates the IWorkbookFunctionsFloor_PreciseRequest + * + * @return the IWorkbookFunctionsFloor_PreciseRequest instance + */ + public IWorkbookFunctionsFloor_PreciseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFloor_PreciseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFloor_PreciseRequest instance + */ + public IWorkbookFunctionsFloor_PreciseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFloor_PreciseRequest request = new WorkbookFunctionsFloor_PreciseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequest.java index f50c77a4117..6cbea3f0a67 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fv Request. */ -public class WorkbookFunctionsFvRequest extends BaseWorkbookFunctionsFvRequest implements IWorkbookFunctionsFvRequest { +public class WorkbookFunctionsFvRequest extends BaseRequest implements IWorkbookFunctionsFvRequest { + protected final WorkbookFunctionsFvBody body; /** * The request for this WorkbookFunctionsFv @@ -23,6 +32,49 @@ public class WorkbookFunctionsFvRequest extends BaseWorkbookFunctionsFvRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsFvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequestBuilder.java index 8c0efcf8dac..9c0aae5b6cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fv Request Builder. */ -public class WorkbookFunctionsFvRequestBuilder extends BaseWorkbookFunctionsFvRequestBuilder implements IWorkbookFunctionsFvRequestBuilder { +public class WorkbookFunctionsFvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFvRequestBuilder { /** * The request builder for this WorkbookFunctionsFv @@ -28,6 +33,56 @@ public class WorkbookFunctionsFvRequestBuilder extends BaseWorkbookFunctionsFvRe * @param type the type */ public WorkbookFunctionsFvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, nper, pmt, pv, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("nper", nper); + bodyParams.put("pmt", pmt); + bodyParams.put("pv", pv); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsFvRequest + * + * @return the IWorkbookFunctionsFvRequest instance + */ + public IWorkbookFunctionsFvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFvRequest instance + */ + public IWorkbookFunctionsFvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFvRequest request = new WorkbookFunctionsFvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pmt")) { + request.body.pmt = getParameter("pmt"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequest.java index acc5d3b1bf3..063238e752f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsFvscheduleBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvscheduleRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFvscheduleRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fvschedule Request. */ -public class WorkbookFunctionsFvscheduleRequest extends BaseWorkbookFunctionsFvscheduleRequest implements IWorkbookFunctionsFvscheduleRequest { +public class WorkbookFunctionsFvscheduleRequest extends BaseRequest implements IWorkbookFunctionsFvscheduleRequest { + protected final WorkbookFunctionsFvscheduleBody body; /** * The request for this WorkbookFunctionsFvschedule @@ -23,6 +32,49 @@ public class WorkbookFunctionsFvscheduleRequest extends BaseWorkbookFunctionsFvs * @param requestOptions the options for this request */ public WorkbookFunctionsFvscheduleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsFvscheduleBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsFvscheduleRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsFvscheduleRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsFvscheduleRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsFvscheduleRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsFvscheduleRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsFvscheduleRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequestBuilder.java index cdb5dbc5403..4b3265794ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsFvscheduleRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvscheduleRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsFvscheduleRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Fvschedule Request Builder. */ -public class WorkbookFunctionsFvscheduleRequestBuilder extends BaseWorkbookFunctionsFvscheduleRequestBuilder implements IWorkbookFunctionsFvscheduleRequestBuilder { +public class WorkbookFunctionsFvscheduleRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsFvscheduleRequestBuilder { /** * The request builder for this WorkbookFunctionsFvschedule @@ -25,6 +30,41 @@ public class WorkbookFunctionsFvscheduleRequestBuilder extends BaseWorkbookFunct * @param schedule the schedule */ public WorkbookFunctionsFvscheduleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement principal, final com.google.gson.JsonElement schedule) { - super(requestUrl, client, requestOptions, principal, schedule); + super(requestUrl, client, requestOptions); + bodyParams.put("principal", principal); + bodyParams.put("schedule", schedule); + } + + /** + * Creates the IWorkbookFunctionsFvscheduleRequest + * + * @return the IWorkbookFunctionsFvscheduleRequest instance + */ + public IWorkbookFunctionsFvscheduleRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsFvscheduleRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsFvscheduleRequest instance + */ + public IWorkbookFunctionsFvscheduleRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsFvscheduleRequest request = new WorkbookFunctionsFvscheduleRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("principal")) { + request.body.principal = getParameter("principal"); + } + + if (hasParameter("schedule")) { + request.body.schedule = getParameter("schedule"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequest.java index 2b060beb5c5..8a94f50b422 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGammaLnBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGammaLnRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Ln Request. */ -public class WorkbookFunctionsGammaLnRequest extends BaseWorkbookFunctionsGammaLnRequest implements IWorkbookFunctionsGammaLnRequest { +public class WorkbookFunctionsGammaLnRequest extends BaseRequest implements IWorkbookFunctionsGammaLnRequest { + protected final WorkbookFunctionsGammaLnBody body; /** * The request for this WorkbookFunctionsGammaLn @@ -23,6 +32,49 @@ public class WorkbookFunctionsGammaLnRequest extends BaseWorkbookFunctionsGammaL * @param requestOptions the options for this request */ public WorkbookFunctionsGammaLnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGammaLnBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGammaLnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGammaLnRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGammaLnRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGammaLnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGammaLnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGammaLnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequestBuilder.java index 72a7cf0b1ee..f8c5ee6605e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGammaLnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Ln Request Builder. */ -public class WorkbookFunctionsGammaLnRequestBuilder extends BaseWorkbookFunctionsGammaLnRequestBuilder implements IWorkbookFunctionsGammaLnRequestBuilder { +public class WorkbookFunctionsGammaLnRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGammaLnRequestBuilder { /** * The request builder for this WorkbookFunctionsGammaLn @@ -24,6 +29,36 @@ public class WorkbookFunctionsGammaLnRequestBuilder extends BaseWorkbookFunction * @param x the x */ public WorkbookFunctionsGammaLnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsGammaLnRequest + * + * @return the IWorkbookFunctionsGammaLnRequest instance + */ + public IWorkbookFunctionsGammaLnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGammaLnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGammaLnRequest instance + */ + public IWorkbookFunctionsGammaLnRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGammaLnRequest request = new WorkbookFunctionsGammaLnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequest.java index 26a02f1e0a6..cce0ea0d06b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGammaLn_PreciseBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLn_PreciseRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGammaLn_PreciseRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Ln_Precise Request. */ -public class WorkbookFunctionsGammaLn_PreciseRequest extends BaseWorkbookFunctionsGammaLn_PreciseRequest implements IWorkbookFunctionsGammaLn_PreciseRequest { +public class WorkbookFunctionsGammaLn_PreciseRequest extends BaseRequest implements IWorkbookFunctionsGammaLn_PreciseRequest { + protected final WorkbookFunctionsGammaLn_PreciseBody body; /** * The request for this WorkbookFunctionsGammaLn_Precise @@ -23,6 +32,49 @@ public class WorkbookFunctionsGammaLn_PreciseRequest extends BaseWorkbookFunctio * @param requestOptions the options for this request */ public WorkbookFunctionsGammaLn_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGammaLn_PreciseBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGammaLn_PreciseRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGammaLn_PreciseRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGammaLn_PreciseRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGammaLn_PreciseRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGammaLn_PreciseRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGammaLn_PreciseRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequestBuilder.java index 0079269b16f..2959d573762 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaLn_PreciseRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLn_PreciseRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Ln_Precise Request Builder. */ -public class WorkbookFunctionsGammaLn_PreciseRequestBuilder extends BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder implements IWorkbookFunctionsGammaLn_PreciseRequestBuilder { +public class WorkbookFunctionsGammaLn_PreciseRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGammaLn_PreciseRequestBuilder { /** * The request builder for this WorkbookFunctionsGammaLn_Precise @@ -24,6 +29,36 @@ public class WorkbookFunctionsGammaLn_PreciseRequestBuilder extends BaseWorkbook * @param x the x */ public WorkbookFunctionsGammaLn_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsGammaLn_PreciseRequest + * + * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance + */ + public IWorkbookFunctionsGammaLn_PreciseRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGammaLn_PreciseRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance + */ + public IWorkbookFunctionsGammaLn_PreciseRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGammaLn_PreciseRequest request = new WorkbookFunctionsGammaLn_PreciseRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequest.java index babe63bcb0a..6fa3fd9ae0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGammaBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGammaRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Request. */ -public class WorkbookFunctionsGammaRequest extends BaseWorkbookFunctionsGammaRequest implements IWorkbookFunctionsGammaRequest { +public class WorkbookFunctionsGammaRequest extends BaseRequest implements IWorkbookFunctionsGammaRequest { + protected final WorkbookFunctionsGammaBody body; /** * The request for this WorkbookFunctionsGamma @@ -23,6 +32,49 @@ public class WorkbookFunctionsGammaRequest extends BaseWorkbookFunctionsGammaReq * @param requestOptions the options for this request */ public WorkbookFunctionsGammaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGammaBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGammaRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGammaRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGammaRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGammaRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGammaRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGammaRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequestBuilder.java index 8dab6010374..6a39cfa1067 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGammaRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGammaRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma Request Builder. */ -public class WorkbookFunctionsGammaRequestBuilder extends BaseWorkbookFunctionsGammaRequestBuilder implements IWorkbookFunctionsGammaRequestBuilder { +public class WorkbookFunctionsGammaRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGammaRequestBuilder { /** * The request builder for this WorkbookFunctionsGamma @@ -24,6 +29,36 @@ public class WorkbookFunctionsGammaRequestBuilder extends BaseWorkbookFunctionsG * @param x the x */ public WorkbookFunctionsGammaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsGammaRequest + * + * @return the IWorkbookFunctionsGammaRequest instance + */ + public IWorkbookFunctionsGammaRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGammaRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGammaRequest instance + */ + public IWorkbookFunctionsGammaRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGammaRequest request = new WorkbookFunctionsGammaRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequest.java index 58adf4da739..4388d3de237 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGamma_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGamma_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma_Dist Request. */ -public class WorkbookFunctionsGamma_DistRequest extends BaseWorkbookFunctionsGamma_DistRequest implements IWorkbookFunctionsGamma_DistRequest { +public class WorkbookFunctionsGamma_DistRequest extends BaseRequest implements IWorkbookFunctionsGamma_DistRequest { + protected final WorkbookFunctionsGamma_DistBody body; /** * The request for this WorkbookFunctionsGamma_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsGamma_DistRequest extends BaseWorkbookFunctionsGam * @param requestOptions the options for this request */ public WorkbookFunctionsGamma_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGamma_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGamma_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGamma_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGamma_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGamma_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGamma_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGamma_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequestBuilder.java index db310214f85..2fe8e9eabbc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGamma_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma_Dist Request Builder. */ -public class WorkbookFunctionsGamma_DistRequestBuilder extends BaseWorkbookFunctionsGamma_DistRequestBuilder implements IWorkbookFunctionsGamma_DistRequestBuilder { +public class WorkbookFunctionsGamma_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGamma_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsGamma_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsGamma_DistRequestBuilder extends BaseWorkbookFunct * @param cumulative the cumulative */ public WorkbookFunctionsGamma_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, alpha, beta, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("alpha", alpha); + bodyParams.put("beta", beta); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsGamma_DistRequest + * + * @return the IWorkbookFunctionsGamma_DistRequest instance + */ + public IWorkbookFunctionsGamma_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGamma_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGamma_DistRequest instance + */ + public IWorkbookFunctionsGamma_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGamma_DistRequest request = new WorkbookFunctionsGamma_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("beta")) { + request.body.beta = getParameter("beta"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequest.java index 6cf2bc761d2..2b528c8d4c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGamma_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGamma_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma_Inv Request. */ -public class WorkbookFunctionsGamma_InvRequest extends BaseWorkbookFunctionsGamma_InvRequest implements IWorkbookFunctionsGamma_InvRequest { +public class WorkbookFunctionsGamma_InvRequest extends BaseRequest implements IWorkbookFunctionsGamma_InvRequest { + protected final WorkbookFunctionsGamma_InvBody body; /** * The request for this WorkbookFunctionsGamma_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsGamma_InvRequest extends BaseWorkbookFunctionsGamm * @param requestOptions the options for this request */ public WorkbookFunctionsGamma_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGamma_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGamma_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGamma_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGamma_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGamma_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGamma_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGamma_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequestBuilder.java index d8703c7a916..31926c11864 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGamma_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGamma_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gamma_Inv Request Builder. */ -public class WorkbookFunctionsGamma_InvRequestBuilder extends BaseWorkbookFunctionsGamma_InvRequestBuilder implements IWorkbookFunctionsGamma_InvRequestBuilder { +public class WorkbookFunctionsGamma_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGamma_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsGamma_Inv @@ -26,6 +31,46 @@ public class WorkbookFunctionsGamma_InvRequestBuilder extends BaseWorkbookFuncti * @param beta the beta */ public WorkbookFunctionsGamma_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta) { - super(requestUrl, client, requestOptions, probability, alpha, beta); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("alpha", alpha); + bodyParams.put("beta", beta); + } + + /** + * Creates the IWorkbookFunctionsGamma_InvRequest + * + * @return the IWorkbookFunctionsGamma_InvRequest instance + */ + public IWorkbookFunctionsGamma_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGamma_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGamma_InvRequest instance + */ + public IWorkbookFunctionsGamma_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGamma_InvRequest request = new WorkbookFunctionsGamma_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("beta")) { + request.body.beta = getParameter("beta"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequest.java index 48688040cb3..dd91e1303b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGaussBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGaussRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGaussRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gauss Request. */ -public class WorkbookFunctionsGaussRequest extends BaseWorkbookFunctionsGaussRequest implements IWorkbookFunctionsGaussRequest { +public class WorkbookFunctionsGaussRequest extends BaseRequest implements IWorkbookFunctionsGaussRequest { + protected final WorkbookFunctionsGaussBody body; /** * The request for this WorkbookFunctionsGauss @@ -23,6 +32,49 @@ public class WorkbookFunctionsGaussRequest extends BaseWorkbookFunctionsGaussReq * @param requestOptions the options for this request */ public WorkbookFunctionsGaussRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGaussBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGaussRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGaussRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGaussRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGaussRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGaussRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGaussRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequestBuilder.java index e43c3c521ad..52b9a35b891 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGaussRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGaussRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGaussRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gauss Request Builder. */ -public class WorkbookFunctionsGaussRequestBuilder extends BaseWorkbookFunctionsGaussRequestBuilder implements IWorkbookFunctionsGaussRequestBuilder { +public class WorkbookFunctionsGaussRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGaussRequestBuilder { /** * The request builder for this WorkbookFunctionsGauss @@ -24,6 +29,36 @@ public class WorkbookFunctionsGaussRequestBuilder extends BaseWorkbookFunctionsG * @param x the x */ public WorkbookFunctionsGaussRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsGaussRequest + * + * @return the IWorkbookFunctionsGaussRequest instance + */ + public IWorkbookFunctionsGaussRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGaussRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGaussRequest instance + */ + public IWorkbookFunctionsGaussRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGaussRequest request = new WorkbookFunctionsGaussRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequest.java index 009b9c90d47..c43afd2b90b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGcdBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGcdRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGcdRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gcd Request. */ -public class WorkbookFunctionsGcdRequest extends BaseWorkbookFunctionsGcdRequest implements IWorkbookFunctionsGcdRequest { +public class WorkbookFunctionsGcdRequest extends BaseRequest implements IWorkbookFunctionsGcdRequest { + protected final WorkbookFunctionsGcdBody body; /** * The request for this WorkbookFunctionsGcd @@ -23,6 +32,49 @@ public class WorkbookFunctionsGcdRequest extends BaseWorkbookFunctionsGcdRequest * @param requestOptions the options for this request */ public WorkbookFunctionsGcdRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGcdBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGcdRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGcdRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGcdRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGcdRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGcdRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGcdRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequestBuilder.java index 1745e7b6673..05848879039 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGcdRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGcdRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGcdRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Gcd Request Builder. */ -public class WorkbookFunctionsGcdRequestBuilder extends BaseWorkbookFunctionsGcdRequestBuilder implements IWorkbookFunctionsGcdRequestBuilder { +public class WorkbookFunctionsGcdRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGcdRequestBuilder { /** * The request builder for this WorkbookFunctionsGcd @@ -24,6 +29,36 @@ public class WorkbookFunctionsGcdRequestBuilder extends BaseWorkbookFunctionsGcd * @param values the values */ public WorkbookFunctionsGcdRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsGcdRequest + * + * @return the IWorkbookFunctionsGcdRequest instance + */ + public IWorkbookFunctionsGcdRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGcdRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGcdRequest instance + */ + public IWorkbookFunctionsGcdRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGcdRequest request = new WorkbookFunctionsGcdRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequest.java index 29361e4ca2b..cd2a0165267 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGeStepBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeStepRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGeStepRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ge Step Request. */ -public class WorkbookFunctionsGeStepRequest extends BaseWorkbookFunctionsGeStepRequest implements IWorkbookFunctionsGeStepRequest { +public class WorkbookFunctionsGeStepRequest extends BaseRequest implements IWorkbookFunctionsGeStepRequest { + protected final WorkbookFunctionsGeStepBody body; /** * The request for this WorkbookFunctionsGeStep @@ -23,6 +32,49 @@ public class WorkbookFunctionsGeStepRequest extends BaseWorkbookFunctionsGeStepR * @param requestOptions the options for this request */ public WorkbookFunctionsGeStepRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGeStepBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGeStepRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGeStepRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGeStepRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGeStepRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGeStepRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGeStepRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequestBuilder.java index 7d675d99895..025d7a42d9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeStepRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeStepRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGeStepRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ge Step Request Builder. */ -public class WorkbookFunctionsGeStepRequestBuilder extends BaseWorkbookFunctionsGeStepRequestBuilder implements IWorkbookFunctionsGeStepRequestBuilder { +public class WorkbookFunctionsGeStepRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGeStepRequestBuilder { /** * The request builder for this WorkbookFunctionsGeStep @@ -25,6 +30,41 @@ public class WorkbookFunctionsGeStepRequestBuilder extends BaseWorkbookFunctions * @param step the step */ public WorkbookFunctionsGeStepRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement step) { - super(requestUrl, client, requestOptions, number, step); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("step", step); + } + + /** + * Creates the IWorkbookFunctionsGeStepRequest + * + * @return the IWorkbookFunctionsGeStepRequest instance + */ + public IWorkbookFunctionsGeStepRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGeStepRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGeStepRequest instance + */ + public IWorkbookFunctionsGeStepRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGeStepRequest request = new WorkbookFunctionsGeStepRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("step")) { + request.body.step = getParameter("step"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequest.java index 0f040a08a90..7af0f992a47 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsGeoMeanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeoMeanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGeoMeanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Geo Mean Request. */ -public class WorkbookFunctionsGeoMeanRequest extends BaseWorkbookFunctionsGeoMeanRequest implements IWorkbookFunctionsGeoMeanRequest { +public class WorkbookFunctionsGeoMeanRequest extends BaseRequest implements IWorkbookFunctionsGeoMeanRequest { + protected final WorkbookFunctionsGeoMeanBody body; /** * The request for this WorkbookFunctionsGeoMean @@ -23,6 +32,49 @@ public class WorkbookFunctionsGeoMeanRequest extends BaseWorkbookFunctionsGeoMea * @param requestOptions the options for this request */ public WorkbookFunctionsGeoMeanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsGeoMeanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsGeoMeanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsGeoMeanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsGeoMeanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsGeoMeanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsGeoMeanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsGeoMeanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequestBuilder.java index d095aa27ce5..d02d31750b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsGeoMeanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeoMeanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsGeoMeanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Geo Mean Request Builder. */ -public class WorkbookFunctionsGeoMeanRequestBuilder extends BaseWorkbookFunctionsGeoMeanRequestBuilder implements IWorkbookFunctionsGeoMeanRequestBuilder { +public class WorkbookFunctionsGeoMeanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsGeoMeanRequestBuilder { /** * The request builder for this WorkbookFunctionsGeoMean @@ -24,6 +29,36 @@ public class WorkbookFunctionsGeoMeanRequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsGeoMeanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsGeoMeanRequest + * + * @return the IWorkbookFunctionsGeoMeanRequest instance + */ + public IWorkbookFunctionsGeoMeanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsGeoMeanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsGeoMeanRequest instance + */ + public IWorkbookFunctionsGeoMeanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsGeoMeanRequest request = new WorkbookFunctionsGeoMeanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequest.java index fba109b5911..41ccaf8d389 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHarMeanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHarMeanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHarMeanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Har Mean Request. */ -public class WorkbookFunctionsHarMeanRequest extends BaseWorkbookFunctionsHarMeanRequest implements IWorkbookFunctionsHarMeanRequest { +public class WorkbookFunctionsHarMeanRequest extends BaseRequest implements IWorkbookFunctionsHarMeanRequest { + protected final WorkbookFunctionsHarMeanBody body; /** * The request for this WorkbookFunctionsHarMean @@ -23,6 +32,49 @@ public class WorkbookFunctionsHarMeanRequest extends BaseWorkbookFunctionsHarMea * @param requestOptions the options for this request */ public WorkbookFunctionsHarMeanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHarMeanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHarMeanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHarMeanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHarMeanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHarMeanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHarMeanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHarMeanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequestBuilder.java index 1d6b0147eac..26f125d1923 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHarMeanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHarMeanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHarMeanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Har Mean Request Builder. */ -public class WorkbookFunctionsHarMeanRequestBuilder extends BaseWorkbookFunctionsHarMeanRequestBuilder implements IWorkbookFunctionsHarMeanRequestBuilder { +public class WorkbookFunctionsHarMeanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHarMeanRequestBuilder { /** * The request builder for this WorkbookFunctionsHarMean @@ -24,6 +29,36 @@ public class WorkbookFunctionsHarMeanRequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsHarMeanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsHarMeanRequest + * + * @return the IWorkbookFunctionsHarMeanRequest instance + */ + public IWorkbookFunctionsHarMeanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHarMeanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHarMeanRequest instance + */ + public IWorkbookFunctionsHarMeanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHarMeanRequest request = new WorkbookFunctionsHarMeanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequest.java index 517225dd6da..03e3bbc95b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHex2BinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2BinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHex2BinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Bin Request. */ -public class WorkbookFunctionsHex2BinRequest extends BaseWorkbookFunctionsHex2BinRequest implements IWorkbookFunctionsHex2BinRequest { +public class WorkbookFunctionsHex2BinRequest extends BaseRequest implements IWorkbookFunctionsHex2BinRequest { + protected final WorkbookFunctionsHex2BinBody body; /** * The request for this WorkbookFunctionsHex2Bin @@ -23,6 +32,49 @@ public class WorkbookFunctionsHex2BinRequest extends BaseWorkbookFunctionsHex2Bi * @param requestOptions the options for this request */ public WorkbookFunctionsHex2BinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHex2BinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHex2BinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHex2BinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHex2BinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHex2BinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHex2BinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHex2BinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequestBuilder.java index 9aa51fc3b95..f91a9a7c42a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2BinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2BinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHex2BinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Bin Request Builder. */ -public class WorkbookFunctionsHex2BinRequestBuilder extends BaseWorkbookFunctionsHex2BinRequestBuilder implements IWorkbookFunctionsHex2BinRequestBuilder { +public class WorkbookFunctionsHex2BinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHex2BinRequestBuilder { /** * The request builder for this WorkbookFunctionsHex2Bin @@ -25,6 +30,41 @@ public class WorkbookFunctionsHex2BinRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsHex2BinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsHex2BinRequest + * + * @return the IWorkbookFunctionsHex2BinRequest instance + */ + public IWorkbookFunctionsHex2BinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHex2BinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHex2BinRequest instance + */ + public IWorkbookFunctionsHex2BinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHex2BinRequest request = new WorkbookFunctionsHex2BinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequest.java index 58d5e19c6f1..0a17cce8e29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHex2DecBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2DecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHex2DecRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Dec Request. */ -public class WorkbookFunctionsHex2DecRequest extends BaseWorkbookFunctionsHex2DecRequest implements IWorkbookFunctionsHex2DecRequest { +public class WorkbookFunctionsHex2DecRequest extends BaseRequest implements IWorkbookFunctionsHex2DecRequest { + protected final WorkbookFunctionsHex2DecBody body; /** * The request for this WorkbookFunctionsHex2Dec @@ -23,6 +32,49 @@ public class WorkbookFunctionsHex2DecRequest extends BaseWorkbookFunctionsHex2De * @param requestOptions the options for this request */ public WorkbookFunctionsHex2DecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHex2DecBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHex2DecRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHex2DecRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHex2DecRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHex2DecRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHex2DecRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHex2DecRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequestBuilder.java index d978df31a0b..5aa42015ef6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2DecRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2DecRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHex2DecRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Dec Request Builder. */ -public class WorkbookFunctionsHex2DecRequestBuilder extends BaseWorkbookFunctionsHex2DecRequestBuilder implements IWorkbookFunctionsHex2DecRequestBuilder { +public class WorkbookFunctionsHex2DecRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHex2DecRequestBuilder { /** * The request builder for this WorkbookFunctionsHex2Dec @@ -24,6 +29,36 @@ public class WorkbookFunctionsHex2DecRequestBuilder extends BaseWorkbookFunction * @param number the number */ public WorkbookFunctionsHex2DecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsHex2DecRequest + * + * @return the IWorkbookFunctionsHex2DecRequest instance + */ + public IWorkbookFunctionsHex2DecRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHex2DecRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHex2DecRequest instance + */ + public IWorkbookFunctionsHex2DecRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHex2DecRequest request = new WorkbookFunctionsHex2DecRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequest.java index 644849e5bfc..e667dd2c6e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHex2OctBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2OctRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHex2OctRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Oct Request. */ -public class WorkbookFunctionsHex2OctRequest extends BaseWorkbookFunctionsHex2OctRequest implements IWorkbookFunctionsHex2OctRequest { +public class WorkbookFunctionsHex2OctRequest extends BaseRequest implements IWorkbookFunctionsHex2OctRequest { + protected final WorkbookFunctionsHex2OctBody body; /** * The request for this WorkbookFunctionsHex2Oct @@ -23,6 +32,49 @@ public class WorkbookFunctionsHex2OctRequest extends BaseWorkbookFunctionsHex2Oc * @param requestOptions the options for this request */ public WorkbookFunctionsHex2OctRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHex2OctBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHex2OctRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHex2OctRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHex2OctRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHex2OctRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHex2OctRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHex2OctRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequestBuilder.java index 3bf722505dc..8702ae65b3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHex2OctRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2OctRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHex2OctRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hex2Oct Request Builder. */ -public class WorkbookFunctionsHex2OctRequestBuilder extends BaseWorkbookFunctionsHex2OctRequestBuilder implements IWorkbookFunctionsHex2OctRequestBuilder { +public class WorkbookFunctionsHex2OctRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHex2OctRequestBuilder { /** * The request builder for this WorkbookFunctionsHex2Oct @@ -25,6 +30,41 @@ public class WorkbookFunctionsHex2OctRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsHex2OctRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsHex2OctRequest + * + * @return the IWorkbookFunctionsHex2OctRequest instance + */ + public IWorkbookFunctionsHex2OctRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHex2OctRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHex2OctRequest instance + */ + public IWorkbookFunctionsHex2OctRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHex2OctRequest request = new WorkbookFunctionsHex2OctRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequest.java index 1e33f782ef7..315295f7ec6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHlookupBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHlookupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHlookupRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hlookup Request. */ -public class WorkbookFunctionsHlookupRequest extends BaseWorkbookFunctionsHlookupRequest implements IWorkbookFunctionsHlookupRequest { +public class WorkbookFunctionsHlookupRequest extends BaseRequest implements IWorkbookFunctionsHlookupRequest { + protected final WorkbookFunctionsHlookupBody body; /** * The request for this WorkbookFunctionsHlookup @@ -23,6 +32,49 @@ public class WorkbookFunctionsHlookupRequest extends BaseWorkbookFunctionsHlooku * @param requestOptions the options for this request */ public WorkbookFunctionsHlookupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHlookupBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHlookupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHlookupRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHlookupRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHlookupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHlookupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHlookupRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequestBuilder.java index a3e32770c89..ea0ddb63c46 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHlookupRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHlookupRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHlookupRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hlookup Request Builder. */ -public class WorkbookFunctionsHlookupRequestBuilder extends BaseWorkbookFunctionsHlookupRequestBuilder implements IWorkbookFunctionsHlookupRequestBuilder { +public class WorkbookFunctionsHlookupRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHlookupRequestBuilder { /** * The request builder for this WorkbookFunctionsHlookup @@ -27,6 +32,51 @@ public class WorkbookFunctionsHlookupRequestBuilder extends BaseWorkbookFunction * @param rangeLookup the rangeLookup */ public WorkbookFunctionsHlookupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement rowIndexNum, final com.google.gson.JsonElement rangeLookup) { - super(requestUrl, client, requestOptions, lookupValue, tableArray, rowIndexNum, rangeLookup); + super(requestUrl, client, requestOptions); + bodyParams.put("lookupValue", lookupValue); + bodyParams.put("tableArray", tableArray); + bodyParams.put("rowIndexNum", rowIndexNum); + bodyParams.put("rangeLookup", rangeLookup); + } + + /** + * Creates the IWorkbookFunctionsHlookupRequest + * + * @return the IWorkbookFunctionsHlookupRequest instance + */ + public IWorkbookFunctionsHlookupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHlookupRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHlookupRequest instance + */ + public IWorkbookFunctionsHlookupRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHlookupRequest request = new WorkbookFunctionsHlookupRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("lookupValue")) { + request.body.lookupValue = getParameter("lookupValue"); + } + + if (hasParameter("tableArray")) { + request.body.tableArray = getParameter("tableArray"); + } + + if (hasParameter("rowIndexNum")) { + request.body.rowIndexNum = getParameter("rowIndexNum"); + } + + if (hasParameter("rangeLookup")) { + request.body.rangeLookup = getParameter("rangeLookup"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequest.java index cf9d42f176a..5eabd2003ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHourBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHourRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHourRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hour Request. */ -public class WorkbookFunctionsHourRequest extends BaseWorkbookFunctionsHourRequest implements IWorkbookFunctionsHourRequest { +public class WorkbookFunctionsHourRequest extends BaseRequest implements IWorkbookFunctionsHourRequest { + protected final WorkbookFunctionsHourBody body; /** * The request for this WorkbookFunctionsHour @@ -23,6 +32,49 @@ public class WorkbookFunctionsHourRequest extends BaseWorkbookFunctionsHourReque * @param requestOptions the options for this request */ public WorkbookFunctionsHourRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHourBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHourRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHourRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHourRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHourRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHourRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHourRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequestBuilder.java index 1e6d7f5bb00..f38691126f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHourRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHourRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHourRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hour Request Builder. */ -public class WorkbookFunctionsHourRequestBuilder extends BaseWorkbookFunctionsHourRequestBuilder implements IWorkbookFunctionsHourRequestBuilder { +public class WorkbookFunctionsHourRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHourRequestBuilder { /** * The request builder for this WorkbookFunctionsHour @@ -24,6 +29,36 @@ public class WorkbookFunctionsHourRequestBuilder extends BaseWorkbookFunctionsHo * @param serialNumber the serialNumber */ public WorkbookFunctionsHourRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions, serialNumber); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + } + + /** + * Creates the IWorkbookFunctionsHourRequest + * + * @return the IWorkbookFunctionsHourRequest instance + */ + public IWorkbookFunctionsHourRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHourRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHourRequest instance + */ + public IWorkbookFunctionsHourRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHourRequest request = new WorkbookFunctionsHourRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequest.java index ff9bacda45d..21b56ec35be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHypGeom_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHypGeom_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHypGeom_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hyp Geom_Dist Request. */ -public class WorkbookFunctionsHypGeom_DistRequest extends BaseWorkbookFunctionsHypGeom_DistRequest implements IWorkbookFunctionsHypGeom_DistRequest { +public class WorkbookFunctionsHypGeom_DistRequest extends BaseRequest implements IWorkbookFunctionsHypGeom_DistRequest { + protected final WorkbookFunctionsHypGeom_DistBody body; /** * The request for this WorkbookFunctionsHypGeom_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsHypGeom_DistRequest extends BaseWorkbookFunctionsH * @param requestOptions the options for this request */ public WorkbookFunctionsHypGeom_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHypGeom_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHypGeom_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHypGeom_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHypGeom_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHypGeom_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHypGeom_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHypGeom_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequestBuilder.java index b20cfe7f186..8cb5964f372 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHypGeom_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHypGeom_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHypGeom_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hyp Geom_Dist Request Builder. */ -public class WorkbookFunctionsHypGeom_DistRequestBuilder extends BaseWorkbookFunctionsHypGeom_DistRequestBuilder implements IWorkbookFunctionsHypGeom_DistRequestBuilder { +public class WorkbookFunctionsHypGeom_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHypGeom_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsHypGeom_Dist @@ -28,6 +33,56 @@ public class WorkbookFunctionsHypGeom_DistRequestBuilder extends BaseWorkbookFun * @param cumulative the cumulative */ public WorkbookFunctionsHypGeom_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement sampleS, final com.google.gson.JsonElement numberSample, final com.google.gson.JsonElement populationS, final com.google.gson.JsonElement numberPop, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, sampleS, numberSample, populationS, numberPop, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("sampleS", sampleS); + bodyParams.put("numberSample", numberSample); + bodyParams.put("populationS", populationS); + bodyParams.put("numberPop", numberPop); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsHypGeom_DistRequest + * + * @return the IWorkbookFunctionsHypGeom_DistRequest instance + */ + public IWorkbookFunctionsHypGeom_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHypGeom_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHypGeom_DistRequest instance + */ + public IWorkbookFunctionsHypGeom_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHypGeom_DistRequest request = new WorkbookFunctionsHypGeom_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("sampleS")) { + request.body.sampleS = getParameter("sampleS"); + } + + if (hasParameter("numberSample")) { + request.body.numberSample = getParameter("numberSample"); + } + + if (hasParameter("populationS")) { + request.body.populationS = getParameter("populationS"); + } + + if (hasParameter("numberPop")) { + request.body.numberPop = getParameter("numberPop"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequest.java index c10f6527b46..717637f14b1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsHyperlinkBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHyperlinkRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHyperlinkRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hyperlink Request. */ -public class WorkbookFunctionsHyperlinkRequest extends BaseWorkbookFunctionsHyperlinkRequest implements IWorkbookFunctionsHyperlinkRequest { +public class WorkbookFunctionsHyperlinkRequest extends BaseRequest implements IWorkbookFunctionsHyperlinkRequest { + protected final WorkbookFunctionsHyperlinkBody body; /** * The request for this WorkbookFunctionsHyperlink @@ -23,6 +32,49 @@ public class WorkbookFunctionsHyperlinkRequest extends BaseWorkbookFunctionsHype * @param requestOptions the options for this request */ public WorkbookFunctionsHyperlinkRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsHyperlinkBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsHyperlinkRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsHyperlinkRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsHyperlinkRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsHyperlinkRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsHyperlinkRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsHyperlinkRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequestBuilder.java index 0372a7d102d..e51f5a94df2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsHyperlinkRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHyperlinkRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsHyperlinkRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Hyperlink Request Builder. */ -public class WorkbookFunctionsHyperlinkRequestBuilder extends BaseWorkbookFunctionsHyperlinkRequestBuilder implements IWorkbookFunctionsHyperlinkRequestBuilder { +public class WorkbookFunctionsHyperlinkRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsHyperlinkRequestBuilder { /** * The request builder for this WorkbookFunctionsHyperlink @@ -25,6 +30,41 @@ public class WorkbookFunctionsHyperlinkRequestBuilder extends BaseWorkbookFuncti * @param friendlyName the friendlyName */ public WorkbookFunctionsHyperlinkRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement linkLocation, final com.google.gson.JsonElement friendlyName) { - super(requestUrl, client, requestOptions, linkLocation, friendlyName); + super(requestUrl, client, requestOptions); + bodyParams.put("linkLocation", linkLocation); + bodyParams.put("friendlyName", friendlyName); + } + + /** + * Creates the IWorkbookFunctionsHyperlinkRequest + * + * @return the IWorkbookFunctionsHyperlinkRequest instance + */ + public IWorkbookFunctionsHyperlinkRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsHyperlinkRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsHyperlinkRequest instance + */ + public IWorkbookFunctionsHyperlinkRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsHyperlinkRequest request = new WorkbookFunctionsHyperlinkRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("linkLocation")) { + request.body.linkLocation = getParameter("linkLocation"); + } + + if (hasParameter("friendlyName")) { + request.body.friendlyName = getParameter("friendlyName"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequest.java index 2248f0468aa..c0b7e9a3268 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIfBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIfRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions If Request. */ -public class WorkbookFunctionsIfRequest extends BaseWorkbookFunctionsIfRequest implements IWorkbookFunctionsIfRequest { +public class WorkbookFunctionsIfRequest extends BaseRequest implements IWorkbookFunctionsIfRequest { + protected final WorkbookFunctionsIfBody body; /** * The request for this WorkbookFunctionsIf @@ -23,6 +32,49 @@ public class WorkbookFunctionsIfRequest extends BaseWorkbookFunctionsIfRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIfBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIfRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIfRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIfRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIfRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIfRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIfRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequestBuilder.java index 6feef914769..2a8505ece22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIfRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIfRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIfRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions If Request Builder. */ -public class WorkbookFunctionsIfRequestBuilder extends BaseWorkbookFunctionsIfRequestBuilder implements IWorkbookFunctionsIfRequestBuilder { +public class WorkbookFunctionsIfRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIfRequestBuilder { /** * The request builder for this WorkbookFunctionsIf @@ -26,6 +31,46 @@ public class WorkbookFunctionsIfRequestBuilder extends BaseWorkbookFunctionsIfRe * @param valueIfFalse the valueIfFalse */ public WorkbookFunctionsIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement logicalTest, final com.google.gson.JsonElement valueIfTrue, final com.google.gson.JsonElement valueIfFalse) { - super(requestUrl, client, requestOptions, logicalTest, valueIfTrue, valueIfFalse); + super(requestUrl, client, requestOptions); + bodyParams.put("logicalTest", logicalTest); + bodyParams.put("valueIfTrue", valueIfTrue); + bodyParams.put("valueIfFalse", valueIfFalse); + } + + /** + * Creates the IWorkbookFunctionsIfRequest + * + * @return the IWorkbookFunctionsIfRequest instance + */ + public IWorkbookFunctionsIfRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIfRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIfRequest instance + */ + public IWorkbookFunctionsIfRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIfRequest request = new WorkbookFunctionsIfRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("logicalTest")) { + request.body.logicalTest = getParameter("logicalTest"); + } + + if (hasParameter("valueIfTrue")) { + request.body.valueIfTrue = getParameter("valueIfTrue"); + } + + if (hasParameter("valueIfFalse")) { + request.body.valueIfFalse = getParameter("valueIfFalse"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequest.java index f4a375b88d6..430c716df7d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImAbsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImAbsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImAbsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Abs Request. */ -public class WorkbookFunctionsImAbsRequest extends BaseWorkbookFunctionsImAbsRequest implements IWorkbookFunctionsImAbsRequest { +public class WorkbookFunctionsImAbsRequest extends BaseRequest implements IWorkbookFunctionsImAbsRequest { + protected final WorkbookFunctionsImAbsBody body; /** * The request for this WorkbookFunctionsImAbs @@ -23,6 +32,49 @@ public class WorkbookFunctionsImAbsRequest extends BaseWorkbookFunctionsImAbsReq * @param requestOptions the options for this request */ public WorkbookFunctionsImAbsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImAbsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImAbsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImAbsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImAbsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImAbsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImAbsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImAbsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequestBuilder.java index 699030740ab..603e953facc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImAbsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImAbsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImAbsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Abs Request Builder. */ -public class WorkbookFunctionsImAbsRequestBuilder extends BaseWorkbookFunctionsImAbsRequestBuilder implements IWorkbookFunctionsImAbsRequestBuilder { +public class WorkbookFunctionsImAbsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImAbsRequestBuilder { /** * The request builder for this WorkbookFunctionsImAbs @@ -24,6 +29,36 @@ public class WorkbookFunctionsImAbsRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImAbsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImAbsRequest + * + * @return the IWorkbookFunctionsImAbsRequest instance + */ + public IWorkbookFunctionsImAbsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImAbsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImAbsRequest instance + */ + public IWorkbookFunctionsImAbsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImAbsRequest request = new WorkbookFunctionsImAbsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequest.java index 06124d310d1..9216ad5f69e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImArgumentBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImArgumentRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImArgumentRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Argument Request. */ -public class WorkbookFunctionsImArgumentRequest extends BaseWorkbookFunctionsImArgumentRequest implements IWorkbookFunctionsImArgumentRequest { +public class WorkbookFunctionsImArgumentRequest extends BaseRequest implements IWorkbookFunctionsImArgumentRequest { + protected final WorkbookFunctionsImArgumentBody body; /** * The request for this WorkbookFunctionsImArgument @@ -23,6 +32,49 @@ public class WorkbookFunctionsImArgumentRequest extends BaseWorkbookFunctionsImA * @param requestOptions the options for this request */ public WorkbookFunctionsImArgumentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImArgumentBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImArgumentRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImArgumentRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImArgumentRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImArgumentRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImArgumentRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImArgumentRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequestBuilder.java index 084c1576249..99c6fccc8f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImArgumentRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImArgumentRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImArgumentRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Argument Request Builder. */ -public class WorkbookFunctionsImArgumentRequestBuilder extends BaseWorkbookFunctionsImArgumentRequestBuilder implements IWorkbookFunctionsImArgumentRequestBuilder { +public class WorkbookFunctionsImArgumentRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImArgumentRequestBuilder { /** * The request builder for this WorkbookFunctionsImArgument @@ -24,6 +29,36 @@ public class WorkbookFunctionsImArgumentRequestBuilder extends BaseWorkbookFunct * @param inumber the inumber */ public WorkbookFunctionsImArgumentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImArgumentRequest + * + * @return the IWorkbookFunctionsImArgumentRequest instance + */ + public IWorkbookFunctionsImArgumentRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImArgumentRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImArgumentRequest instance + */ + public IWorkbookFunctionsImArgumentRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImArgumentRequest request = new WorkbookFunctionsImArgumentRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequest.java index 5fa024d9583..670a7000517 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImConjugateBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImConjugateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImConjugateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Conjugate Request. */ -public class WorkbookFunctionsImConjugateRequest extends BaseWorkbookFunctionsImConjugateRequest implements IWorkbookFunctionsImConjugateRequest { +public class WorkbookFunctionsImConjugateRequest extends BaseRequest implements IWorkbookFunctionsImConjugateRequest { + protected final WorkbookFunctionsImConjugateBody body; /** * The request for this WorkbookFunctionsImConjugate @@ -23,6 +32,49 @@ public class WorkbookFunctionsImConjugateRequest extends BaseWorkbookFunctionsIm * @param requestOptions the options for this request */ public WorkbookFunctionsImConjugateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImConjugateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImConjugateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImConjugateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImConjugateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImConjugateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImConjugateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImConjugateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequestBuilder.java index 6c9a2676c37..0acdf4557db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImConjugateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImConjugateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImConjugateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Conjugate Request Builder. */ -public class WorkbookFunctionsImConjugateRequestBuilder extends BaseWorkbookFunctionsImConjugateRequestBuilder implements IWorkbookFunctionsImConjugateRequestBuilder { +public class WorkbookFunctionsImConjugateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImConjugateRequestBuilder { /** * The request builder for this WorkbookFunctionsImConjugate @@ -24,6 +29,36 @@ public class WorkbookFunctionsImConjugateRequestBuilder extends BaseWorkbookFunc * @param inumber the inumber */ public WorkbookFunctionsImConjugateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImConjugateRequest + * + * @return the IWorkbookFunctionsImConjugateRequest instance + */ + public IWorkbookFunctionsImConjugateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImConjugateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImConjugateRequest instance + */ + public IWorkbookFunctionsImConjugateRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImConjugateRequest request = new WorkbookFunctionsImConjugateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequest.java index 59c15821268..ea809ea90b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImCosBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCosRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCosRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cos Request. */ -public class WorkbookFunctionsImCosRequest extends BaseWorkbookFunctionsImCosRequest implements IWorkbookFunctionsImCosRequest { +public class WorkbookFunctionsImCosRequest extends BaseRequest implements IWorkbookFunctionsImCosRequest { + protected final WorkbookFunctionsImCosBody body; /** * The request for this WorkbookFunctionsImCos @@ -23,6 +32,49 @@ public class WorkbookFunctionsImCosRequest extends BaseWorkbookFunctionsImCosReq * @param requestOptions the options for this request */ public WorkbookFunctionsImCosRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImCosBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImCosRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImCosRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImCosRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImCosRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImCosRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImCosRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequestBuilder.java index 48207689a51..0eef7bb7c7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCosRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCosRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCosRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cos Request Builder. */ -public class WorkbookFunctionsImCosRequestBuilder extends BaseWorkbookFunctionsImCosRequestBuilder implements IWorkbookFunctionsImCosRequestBuilder { +public class WorkbookFunctionsImCosRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImCosRequestBuilder { /** * The request builder for this WorkbookFunctionsImCos @@ -24,6 +29,36 @@ public class WorkbookFunctionsImCosRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImCosRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImCosRequest + * + * @return the IWorkbookFunctionsImCosRequest instance + */ + public IWorkbookFunctionsImCosRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImCosRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCosRequest instance + */ + public IWorkbookFunctionsImCosRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImCosRequest request = new WorkbookFunctionsImCosRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequest.java index 4850fe4b1f8..7f5569892ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImCoshBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCoshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCoshRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cosh Request. */ -public class WorkbookFunctionsImCoshRequest extends BaseWorkbookFunctionsImCoshRequest implements IWorkbookFunctionsImCoshRequest { +public class WorkbookFunctionsImCoshRequest extends BaseRequest implements IWorkbookFunctionsImCoshRequest { + protected final WorkbookFunctionsImCoshBody body; /** * The request for this WorkbookFunctionsImCosh @@ -23,6 +32,49 @@ public class WorkbookFunctionsImCoshRequest extends BaseWorkbookFunctionsImCoshR * @param requestOptions the options for this request */ public WorkbookFunctionsImCoshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImCoshBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImCoshRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImCoshRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImCoshRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImCoshRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImCoshRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImCoshRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequestBuilder.java index da45c5f2d0c..f36de61722a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCoshRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCoshRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCoshRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cosh Request Builder. */ -public class WorkbookFunctionsImCoshRequestBuilder extends BaseWorkbookFunctionsImCoshRequestBuilder implements IWorkbookFunctionsImCoshRequestBuilder { +public class WorkbookFunctionsImCoshRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImCoshRequestBuilder { /** * The request builder for this WorkbookFunctionsImCosh @@ -24,6 +29,36 @@ public class WorkbookFunctionsImCoshRequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImCoshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImCoshRequest + * + * @return the IWorkbookFunctionsImCoshRequest instance + */ + public IWorkbookFunctionsImCoshRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImCoshRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCoshRequest instance + */ + public IWorkbookFunctionsImCoshRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImCoshRequest request = new WorkbookFunctionsImCoshRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequest.java index 15da06ec857..5f22e741cf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImCotBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCotRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cot Request. */ -public class WorkbookFunctionsImCotRequest extends BaseWorkbookFunctionsImCotRequest implements IWorkbookFunctionsImCotRequest { +public class WorkbookFunctionsImCotRequest extends BaseRequest implements IWorkbookFunctionsImCotRequest { + protected final WorkbookFunctionsImCotBody body; /** * The request for this WorkbookFunctionsImCot @@ -23,6 +32,49 @@ public class WorkbookFunctionsImCotRequest extends BaseWorkbookFunctionsImCotReq * @param requestOptions the options for this request */ public WorkbookFunctionsImCotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImCotBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImCotRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImCotRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImCotRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImCotRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImCotRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImCotRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequestBuilder.java index 7d5e8f41775..e6b1c7eff1e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCotRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCotRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCotRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Cot Request Builder. */ -public class WorkbookFunctionsImCotRequestBuilder extends BaseWorkbookFunctionsImCotRequestBuilder implements IWorkbookFunctionsImCotRequestBuilder { +public class WorkbookFunctionsImCotRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImCotRequestBuilder { /** * The request builder for this WorkbookFunctionsImCot @@ -24,6 +29,36 @@ public class WorkbookFunctionsImCotRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImCotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImCotRequest + * + * @return the IWorkbookFunctionsImCotRequest instance + */ + public IWorkbookFunctionsImCotRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImCotRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCotRequest instance + */ + public IWorkbookFunctionsImCotRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImCotRequest request = new WorkbookFunctionsImCotRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequest.java index 7908e62e8df..b9e5f3eb888 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImCscBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCscRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Csc Request. */ -public class WorkbookFunctionsImCscRequest extends BaseWorkbookFunctionsImCscRequest implements IWorkbookFunctionsImCscRequest { +public class WorkbookFunctionsImCscRequest extends BaseRequest implements IWorkbookFunctionsImCscRequest { + protected final WorkbookFunctionsImCscBody body; /** * The request for this WorkbookFunctionsImCsc @@ -23,6 +32,49 @@ public class WorkbookFunctionsImCscRequest extends BaseWorkbookFunctionsImCscReq * @param requestOptions the options for this request */ public WorkbookFunctionsImCscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImCscBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImCscRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImCscRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImCscRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImCscRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImCscRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImCscRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequestBuilder.java index 2c28b437e73..d7538c32a53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCscRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCscRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCscRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Csc Request Builder. */ -public class WorkbookFunctionsImCscRequestBuilder extends BaseWorkbookFunctionsImCscRequestBuilder implements IWorkbookFunctionsImCscRequestBuilder { +public class WorkbookFunctionsImCscRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImCscRequestBuilder { /** * The request builder for this WorkbookFunctionsImCsc @@ -24,6 +29,36 @@ public class WorkbookFunctionsImCscRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImCscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImCscRequest + * + * @return the IWorkbookFunctionsImCscRequest instance + */ + public IWorkbookFunctionsImCscRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImCscRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCscRequest instance + */ + public IWorkbookFunctionsImCscRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImCscRequest request = new WorkbookFunctionsImCscRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequest.java index 880a4a5b140..6539f91269d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImCschBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCschRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCschRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Csch Request. */ -public class WorkbookFunctionsImCschRequest extends BaseWorkbookFunctionsImCschRequest implements IWorkbookFunctionsImCschRequest { +public class WorkbookFunctionsImCschRequest extends BaseRequest implements IWorkbookFunctionsImCschRequest { + protected final WorkbookFunctionsImCschBody body; /** * The request for this WorkbookFunctionsImCsch @@ -23,6 +32,49 @@ public class WorkbookFunctionsImCschRequest extends BaseWorkbookFunctionsImCschR * @param requestOptions the options for this request */ public WorkbookFunctionsImCschRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImCschBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImCschRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImCschRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImCschRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImCschRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImCschRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImCschRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequestBuilder.java index 277e6d30d5d..e73c79314ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImCschRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCschRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImCschRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Csch Request Builder. */ -public class WorkbookFunctionsImCschRequestBuilder extends BaseWorkbookFunctionsImCschRequestBuilder implements IWorkbookFunctionsImCschRequestBuilder { +public class WorkbookFunctionsImCschRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImCschRequestBuilder { /** * The request builder for this WorkbookFunctionsImCsch @@ -24,6 +29,36 @@ public class WorkbookFunctionsImCschRequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImCschRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImCschRequest + * + * @return the IWorkbookFunctionsImCschRequest instance + */ + public IWorkbookFunctionsImCschRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImCschRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImCschRequest instance + */ + public IWorkbookFunctionsImCschRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImCschRequest request = new WorkbookFunctionsImCschRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequest.java index 315ffc7aca2..20f11e5c40b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImDivBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImDivRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImDivRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Div Request. */ -public class WorkbookFunctionsImDivRequest extends BaseWorkbookFunctionsImDivRequest implements IWorkbookFunctionsImDivRequest { +public class WorkbookFunctionsImDivRequest extends BaseRequest implements IWorkbookFunctionsImDivRequest { + protected final WorkbookFunctionsImDivBody body; /** * The request for this WorkbookFunctionsImDiv @@ -23,6 +32,49 @@ public class WorkbookFunctionsImDivRequest extends BaseWorkbookFunctionsImDivReq * @param requestOptions the options for this request */ public WorkbookFunctionsImDivRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImDivBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImDivRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImDivRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImDivRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImDivRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImDivRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImDivRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequestBuilder.java index aa5457f1dee..a7c5ee3c70b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImDivRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImDivRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImDivRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Div Request Builder. */ -public class WorkbookFunctionsImDivRequestBuilder extends BaseWorkbookFunctionsImDivRequestBuilder implements IWorkbookFunctionsImDivRequestBuilder { +public class WorkbookFunctionsImDivRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImDivRequestBuilder { /** * The request builder for this WorkbookFunctionsImDiv @@ -25,6 +30,41 @@ public class WorkbookFunctionsImDivRequestBuilder extends BaseWorkbookFunctionsI * @param inumber2 the inumber2 */ public WorkbookFunctionsImDivRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { - super(requestUrl, client, requestOptions, inumber1, inumber2); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber1", inumber1); + bodyParams.put("inumber2", inumber2); + } + + /** + * Creates the IWorkbookFunctionsImDivRequest + * + * @return the IWorkbookFunctionsImDivRequest instance + */ + public IWorkbookFunctionsImDivRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImDivRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImDivRequest instance + */ + public IWorkbookFunctionsImDivRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImDivRequest request = new WorkbookFunctionsImDivRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber1")) { + request.body.inumber1 = getParameter("inumber1"); + } + + if (hasParameter("inumber2")) { + request.body.inumber2 = getParameter("inumber2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequest.java index 57f915f3bb5..c7322b8d6c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImExpBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImExpRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImExpRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Exp Request. */ -public class WorkbookFunctionsImExpRequest extends BaseWorkbookFunctionsImExpRequest implements IWorkbookFunctionsImExpRequest { +public class WorkbookFunctionsImExpRequest extends BaseRequest implements IWorkbookFunctionsImExpRequest { + protected final WorkbookFunctionsImExpBody body; /** * The request for this WorkbookFunctionsImExp @@ -23,6 +32,49 @@ public class WorkbookFunctionsImExpRequest extends BaseWorkbookFunctionsImExpReq * @param requestOptions the options for this request */ public WorkbookFunctionsImExpRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImExpBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImExpRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImExpRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImExpRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImExpRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImExpRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImExpRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequestBuilder.java index 59c4e2c8ddd..39c4ce8d2cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImExpRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImExpRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImExpRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Exp Request Builder. */ -public class WorkbookFunctionsImExpRequestBuilder extends BaseWorkbookFunctionsImExpRequestBuilder implements IWorkbookFunctionsImExpRequestBuilder { +public class WorkbookFunctionsImExpRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImExpRequestBuilder { /** * The request builder for this WorkbookFunctionsImExp @@ -24,6 +29,36 @@ public class WorkbookFunctionsImExpRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImExpRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImExpRequest + * + * @return the IWorkbookFunctionsImExpRequest instance + */ + public IWorkbookFunctionsImExpRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImExpRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImExpRequest instance + */ + public IWorkbookFunctionsImExpRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImExpRequest request = new WorkbookFunctionsImExpRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequest.java index 3fd15ec1336..8523f430ad5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImLnBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImLnRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Ln Request. */ -public class WorkbookFunctionsImLnRequest extends BaseWorkbookFunctionsImLnRequest implements IWorkbookFunctionsImLnRequest { +public class WorkbookFunctionsImLnRequest extends BaseRequest implements IWorkbookFunctionsImLnRequest { + protected final WorkbookFunctionsImLnBody body; /** * The request for this WorkbookFunctionsImLn @@ -23,6 +32,49 @@ public class WorkbookFunctionsImLnRequest extends BaseWorkbookFunctionsImLnReque * @param requestOptions the options for this request */ public WorkbookFunctionsImLnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImLnBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImLnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImLnRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImLnRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImLnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImLnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImLnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequestBuilder.java index 61fd5ef2e68..75decf2948b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImLnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Ln Request Builder. */ -public class WorkbookFunctionsImLnRequestBuilder extends BaseWorkbookFunctionsImLnRequestBuilder implements IWorkbookFunctionsImLnRequestBuilder { +public class WorkbookFunctionsImLnRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImLnRequestBuilder { /** * The request builder for this WorkbookFunctionsImLn @@ -24,6 +29,36 @@ public class WorkbookFunctionsImLnRequestBuilder extends BaseWorkbookFunctionsIm * @param inumber the inumber */ public WorkbookFunctionsImLnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImLnRequest + * + * @return the IWorkbookFunctionsImLnRequest instance + */ + public IWorkbookFunctionsImLnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImLnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImLnRequest instance + */ + public IWorkbookFunctionsImLnRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImLnRequest request = new WorkbookFunctionsImLnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10Request.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10Request.java index 23ba6a33256..3d6f55152f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10Request.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImLog10Body; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog10Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImLog10Request; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Log10Request. */ -public class WorkbookFunctionsImLog10Request extends BaseWorkbookFunctionsImLog10Request implements IWorkbookFunctionsImLog10Request { +public class WorkbookFunctionsImLog10Request extends BaseRequest implements IWorkbookFunctionsImLog10Request { + protected final WorkbookFunctionsImLog10Body body; /** * The request for this WorkbookFunctionsImLog10 @@ -23,6 +32,49 @@ public class WorkbookFunctionsImLog10Request extends BaseWorkbookFunctionsImLog1 * @param requestOptions the options for this request */ public WorkbookFunctionsImLog10Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImLog10Body(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImLog10Request select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImLog10Request)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImLog10Request top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImLog10Request)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImLog10Request expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImLog10Request)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10RequestBuilder.java index fbee2619828..aadda4fb520 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog10RequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog10Request; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImLog10RequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Log10Request Builder. */ -public class WorkbookFunctionsImLog10RequestBuilder extends BaseWorkbookFunctionsImLog10RequestBuilder implements IWorkbookFunctionsImLog10RequestBuilder { +public class WorkbookFunctionsImLog10RequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImLog10RequestBuilder { /** * The request builder for this WorkbookFunctionsImLog10 @@ -24,6 +29,36 @@ public class WorkbookFunctionsImLog10RequestBuilder extends BaseWorkbookFunction * @param inumber the inumber */ public WorkbookFunctionsImLog10RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImLog10Request + * + * @return the IWorkbookFunctionsImLog10Request instance + */ + public IWorkbookFunctionsImLog10Request buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImLog10Request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImLog10Request instance + */ + public IWorkbookFunctionsImLog10Request buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImLog10Request request = new WorkbookFunctionsImLog10Request( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2Request.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2Request.java index 15c48e66a32..b46cb7b6412 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2Request.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImLog2Body; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog2Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImLog2Request; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Log2Request. */ -public class WorkbookFunctionsImLog2Request extends BaseWorkbookFunctionsImLog2Request implements IWorkbookFunctionsImLog2Request { +public class WorkbookFunctionsImLog2Request extends BaseRequest implements IWorkbookFunctionsImLog2Request { + protected final WorkbookFunctionsImLog2Body body; /** * The request for this WorkbookFunctionsImLog2 @@ -23,6 +32,49 @@ public class WorkbookFunctionsImLog2Request extends BaseWorkbookFunctionsImLog2R * @param requestOptions the options for this request */ public WorkbookFunctionsImLog2Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImLog2Body(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImLog2Request select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImLog2Request)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImLog2Request top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImLog2Request)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImLog2Request expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImLog2Request)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2RequestBuilder.java index ef9de934224..a0ae0132002 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImLog2RequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog2Request; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImLog2RequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Log2Request Builder. */ -public class WorkbookFunctionsImLog2RequestBuilder extends BaseWorkbookFunctionsImLog2RequestBuilder implements IWorkbookFunctionsImLog2RequestBuilder { +public class WorkbookFunctionsImLog2RequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImLog2RequestBuilder { /** * The request builder for this WorkbookFunctionsImLog2 @@ -24,6 +29,36 @@ public class WorkbookFunctionsImLog2RequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImLog2RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImLog2Request + * + * @return the IWorkbookFunctionsImLog2Request instance + */ + public IWorkbookFunctionsImLog2Request buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImLog2Request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImLog2Request instance + */ + public IWorkbookFunctionsImLog2Request buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImLog2Request request = new WorkbookFunctionsImLog2Request( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequest.java index 61715c1f7b3..94dc0788549 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImPowerBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImPowerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImPowerRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Power Request. */ -public class WorkbookFunctionsImPowerRequest extends BaseWorkbookFunctionsImPowerRequest implements IWorkbookFunctionsImPowerRequest { +public class WorkbookFunctionsImPowerRequest extends BaseRequest implements IWorkbookFunctionsImPowerRequest { + protected final WorkbookFunctionsImPowerBody body; /** * The request for this WorkbookFunctionsImPower @@ -23,6 +32,49 @@ public class WorkbookFunctionsImPowerRequest extends BaseWorkbookFunctionsImPowe * @param requestOptions the options for this request */ public WorkbookFunctionsImPowerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImPowerBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImPowerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImPowerRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImPowerRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImPowerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImPowerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImPowerRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequestBuilder.java index cabbae3f7cc..260530cc15f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImPowerRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImPowerRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImPowerRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Power Request Builder. */ -public class WorkbookFunctionsImPowerRequestBuilder extends BaseWorkbookFunctionsImPowerRequestBuilder implements IWorkbookFunctionsImPowerRequestBuilder { +public class WorkbookFunctionsImPowerRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImPowerRequestBuilder { /** * The request builder for this WorkbookFunctionsImPower @@ -25,6 +30,41 @@ public class WorkbookFunctionsImPowerRequestBuilder extends BaseWorkbookFunction * @param number the number */ public WorkbookFunctionsImPowerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, inumber, number); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsImPowerRequest + * + * @return the IWorkbookFunctionsImPowerRequest instance + */ + public IWorkbookFunctionsImPowerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImPowerRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImPowerRequest instance + */ + public IWorkbookFunctionsImPowerRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImPowerRequest request = new WorkbookFunctionsImPowerRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequest.java index c70db992a42..82c313c54a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImProductBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImProductRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImProductRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Product Request. */ -public class WorkbookFunctionsImProductRequest extends BaseWorkbookFunctionsImProductRequest implements IWorkbookFunctionsImProductRequest { +public class WorkbookFunctionsImProductRequest extends BaseRequest implements IWorkbookFunctionsImProductRequest { + protected final WorkbookFunctionsImProductBody body; /** * The request for this WorkbookFunctionsImProduct @@ -23,6 +32,49 @@ public class WorkbookFunctionsImProductRequest extends BaseWorkbookFunctionsImPr * @param requestOptions the options for this request */ public WorkbookFunctionsImProductRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImProductBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImProductRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImProductRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImProductRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImProductRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImProductRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImProductRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequestBuilder.java index f5a253ea8fa..2c1086734c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImProductRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImProductRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImProductRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Product Request Builder. */ -public class WorkbookFunctionsImProductRequestBuilder extends BaseWorkbookFunctionsImProductRequestBuilder implements IWorkbookFunctionsImProductRequestBuilder { +public class WorkbookFunctionsImProductRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImProductRequestBuilder { /** * The request builder for this WorkbookFunctionsImProduct @@ -24,6 +29,36 @@ public class WorkbookFunctionsImProductRequestBuilder extends BaseWorkbookFuncti * @param values the values */ public WorkbookFunctionsImProductRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsImProductRequest + * + * @return the IWorkbookFunctionsImProductRequest instance + */ + public IWorkbookFunctionsImProductRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImProductRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImProductRequest instance + */ + public IWorkbookFunctionsImProductRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImProductRequest request = new WorkbookFunctionsImProductRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequest.java index 74e869088e7..6a717de7b83 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImRealBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImRealRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImRealRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Real Request. */ -public class WorkbookFunctionsImRealRequest extends BaseWorkbookFunctionsImRealRequest implements IWorkbookFunctionsImRealRequest { +public class WorkbookFunctionsImRealRequest extends BaseRequest implements IWorkbookFunctionsImRealRequest { + protected final WorkbookFunctionsImRealBody body; /** * The request for this WorkbookFunctionsImReal @@ -23,6 +32,49 @@ public class WorkbookFunctionsImRealRequest extends BaseWorkbookFunctionsImRealR * @param requestOptions the options for this request */ public WorkbookFunctionsImRealRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImRealBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImRealRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImRealRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImRealRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImRealRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImRealRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImRealRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequestBuilder.java index 6dcc25ea0f7..7f3829e220c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImRealRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImRealRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImRealRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Real Request Builder. */ -public class WorkbookFunctionsImRealRequestBuilder extends BaseWorkbookFunctionsImRealRequestBuilder implements IWorkbookFunctionsImRealRequestBuilder { +public class WorkbookFunctionsImRealRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImRealRequestBuilder { /** * The request builder for this WorkbookFunctionsImReal @@ -24,6 +29,36 @@ public class WorkbookFunctionsImRealRequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImRealRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImRealRequest + * + * @return the IWorkbookFunctionsImRealRequest instance + */ + public IWorkbookFunctionsImRealRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImRealRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImRealRequest instance + */ + public IWorkbookFunctionsImRealRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImRealRequest request = new WorkbookFunctionsImRealRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequest.java index 97060529219..ee70bb85928 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSecBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSecRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sec Request. */ -public class WorkbookFunctionsImSecRequest extends BaseWorkbookFunctionsImSecRequest implements IWorkbookFunctionsImSecRequest { +public class WorkbookFunctionsImSecRequest extends BaseRequest implements IWorkbookFunctionsImSecRequest { + protected final WorkbookFunctionsImSecBody body; /** * The request for this WorkbookFunctionsImSec @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSecRequest extends BaseWorkbookFunctionsImSecReq * @param requestOptions the options for this request */ public WorkbookFunctionsImSecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSecBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSecRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSecRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSecRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSecRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSecRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSecRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequestBuilder.java index d85e3e69a68..6331febaaa9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSecRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSecRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSecRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sec Request Builder. */ -public class WorkbookFunctionsImSecRequestBuilder extends BaseWorkbookFunctionsImSecRequestBuilder implements IWorkbookFunctionsImSecRequestBuilder { +public class WorkbookFunctionsImSecRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSecRequestBuilder { /** * The request builder for this WorkbookFunctionsImSec @@ -24,6 +29,36 @@ public class WorkbookFunctionsImSecRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImSecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImSecRequest + * + * @return the IWorkbookFunctionsImSecRequest instance + */ + public IWorkbookFunctionsImSecRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSecRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSecRequest instance + */ + public IWorkbookFunctionsImSecRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSecRequest request = new WorkbookFunctionsImSecRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequest.java index 7138c099c57..03403ae9f23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSechBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSechRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSechRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sech Request. */ -public class WorkbookFunctionsImSechRequest extends BaseWorkbookFunctionsImSechRequest implements IWorkbookFunctionsImSechRequest { +public class WorkbookFunctionsImSechRequest extends BaseRequest implements IWorkbookFunctionsImSechRequest { + protected final WorkbookFunctionsImSechBody body; /** * The request for this WorkbookFunctionsImSech @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSechRequest extends BaseWorkbookFunctionsImSechR * @param requestOptions the options for this request */ public WorkbookFunctionsImSechRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSechBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSechRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSechRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSechRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSechRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSechRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSechRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequestBuilder.java index 9c1110cb31d..0de9e418d76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSechRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSechRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSechRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sech Request Builder. */ -public class WorkbookFunctionsImSechRequestBuilder extends BaseWorkbookFunctionsImSechRequestBuilder implements IWorkbookFunctionsImSechRequestBuilder { +public class WorkbookFunctionsImSechRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSechRequestBuilder { /** * The request builder for this WorkbookFunctionsImSech @@ -24,6 +29,36 @@ public class WorkbookFunctionsImSechRequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImSechRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImSechRequest + * + * @return the IWorkbookFunctionsImSechRequest instance + */ + public IWorkbookFunctionsImSechRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSechRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSechRequest instance + */ + public IWorkbookFunctionsImSechRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSechRequest request = new WorkbookFunctionsImSechRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequest.java index 79dc257e012..cc97e40561a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sin Request. */ -public class WorkbookFunctionsImSinRequest extends BaseWorkbookFunctionsImSinRequest implements IWorkbookFunctionsImSinRequest { +public class WorkbookFunctionsImSinRequest extends BaseRequest implements IWorkbookFunctionsImSinRequest { + protected final WorkbookFunctionsImSinBody body; /** * The request for this WorkbookFunctionsImSin @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSinRequest extends BaseWorkbookFunctionsImSinReq * @param requestOptions the options for this request */ public WorkbookFunctionsImSinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequestBuilder.java index f37923e6940..4db001b1ba8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sin Request Builder. */ -public class WorkbookFunctionsImSinRequestBuilder extends BaseWorkbookFunctionsImSinRequestBuilder implements IWorkbookFunctionsImSinRequestBuilder { +public class WorkbookFunctionsImSinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSinRequestBuilder { /** * The request builder for this WorkbookFunctionsImSin @@ -24,6 +29,36 @@ public class WorkbookFunctionsImSinRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImSinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImSinRequest + * + * @return the IWorkbookFunctionsImSinRequest instance + */ + public IWorkbookFunctionsImSinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSinRequest instance + */ + public IWorkbookFunctionsImSinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSinRequest request = new WorkbookFunctionsImSinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequest.java index 130491533e9..5c412df22f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSinhBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSinhRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sinh Request. */ -public class WorkbookFunctionsImSinhRequest extends BaseWorkbookFunctionsImSinhRequest implements IWorkbookFunctionsImSinhRequest { +public class WorkbookFunctionsImSinhRequest extends BaseRequest implements IWorkbookFunctionsImSinhRequest { + protected final WorkbookFunctionsImSinhBody body; /** * The request for this WorkbookFunctionsImSinh @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSinhRequest extends BaseWorkbookFunctionsImSinhR * @param requestOptions the options for this request */ public WorkbookFunctionsImSinhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSinhBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSinhRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSinhRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSinhRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSinhRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSinhRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSinhRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequestBuilder.java index 53b4411da34..09931714cf1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSinhRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinhRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSinhRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sinh Request Builder. */ -public class WorkbookFunctionsImSinhRequestBuilder extends BaseWorkbookFunctionsImSinhRequestBuilder implements IWorkbookFunctionsImSinhRequestBuilder { +public class WorkbookFunctionsImSinhRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSinhRequestBuilder { /** * The request builder for this WorkbookFunctionsImSinh @@ -24,6 +29,36 @@ public class WorkbookFunctionsImSinhRequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImSinhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImSinhRequest + * + * @return the IWorkbookFunctionsImSinhRequest instance + */ + public IWorkbookFunctionsImSinhRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSinhRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSinhRequest instance + */ + public IWorkbookFunctionsImSinhRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSinhRequest request = new WorkbookFunctionsImSinhRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequest.java index 2deb950240f..27dcd5fa8cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSqrtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSqrtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSqrtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sqrt Request. */ -public class WorkbookFunctionsImSqrtRequest extends BaseWorkbookFunctionsImSqrtRequest implements IWorkbookFunctionsImSqrtRequest { +public class WorkbookFunctionsImSqrtRequest extends BaseRequest implements IWorkbookFunctionsImSqrtRequest { + protected final WorkbookFunctionsImSqrtBody body; /** * The request for this WorkbookFunctionsImSqrt @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSqrtRequest extends BaseWorkbookFunctionsImSqrtR * @param requestOptions the options for this request */ public WorkbookFunctionsImSqrtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSqrtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSqrtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSqrtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSqrtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSqrtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSqrtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSqrtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequestBuilder.java index d55b6b79657..35b8b55ce8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSqrtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSqrtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSqrtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sqrt Request Builder. */ -public class WorkbookFunctionsImSqrtRequestBuilder extends BaseWorkbookFunctionsImSqrtRequestBuilder implements IWorkbookFunctionsImSqrtRequestBuilder { +public class WorkbookFunctionsImSqrtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSqrtRequestBuilder { /** * The request builder for this WorkbookFunctionsImSqrt @@ -24,6 +29,36 @@ public class WorkbookFunctionsImSqrtRequestBuilder extends BaseWorkbookFunctions * @param inumber the inumber */ public WorkbookFunctionsImSqrtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImSqrtRequest + * + * @return the IWorkbookFunctionsImSqrtRequest instance + */ + public IWorkbookFunctionsImSqrtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSqrtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSqrtRequest instance + */ + public IWorkbookFunctionsImSqrtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSqrtRequest request = new WorkbookFunctionsImSqrtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequest.java index 12a15cb10a6..e9c5ce980a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSubBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSubRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSubRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sub Request. */ -public class WorkbookFunctionsImSubRequest extends BaseWorkbookFunctionsImSubRequest implements IWorkbookFunctionsImSubRequest { +public class WorkbookFunctionsImSubRequest extends BaseRequest implements IWorkbookFunctionsImSubRequest { + protected final WorkbookFunctionsImSubBody body; /** * The request for this WorkbookFunctionsImSub @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSubRequest extends BaseWorkbookFunctionsImSubReq * @param requestOptions the options for this request */ public WorkbookFunctionsImSubRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSubBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSubRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSubRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSubRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSubRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSubRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSubRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequestBuilder.java index 83374982b2d..ed48141705f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSubRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSubRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSubRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sub Request Builder. */ -public class WorkbookFunctionsImSubRequestBuilder extends BaseWorkbookFunctionsImSubRequestBuilder implements IWorkbookFunctionsImSubRequestBuilder { +public class WorkbookFunctionsImSubRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSubRequestBuilder { /** * The request builder for this WorkbookFunctionsImSub @@ -25,6 +30,41 @@ public class WorkbookFunctionsImSubRequestBuilder extends BaseWorkbookFunctionsI * @param inumber2 the inumber2 */ public WorkbookFunctionsImSubRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { - super(requestUrl, client, requestOptions, inumber1, inumber2); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber1", inumber1); + bodyParams.put("inumber2", inumber2); + } + + /** + * Creates the IWorkbookFunctionsImSubRequest + * + * @return the IWorkbookFunctionsImSubRequest instance + */ + public IWorkbookFunctionsImSubRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSubRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSubRequest instance + */ + public IWorkbookFunctionsImSubRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSubRequest request = new WorkbookFunctionsImSubRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber1")) { + request.body.inumber1 = getParameter("inumber1"); + } + + if (hasParameter("inumber2")) { + request.body.inumber2 = getParameter("inumber2"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequest.java index 9dbe4c3600c..017f9f1b91c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImSumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sum Request. */ -public class WorkbookFunctionsImSumRequest extends BaseWorkbookFunctionsImSumRequest implements IWorkbookFunctionsImSumRequest { +public class WorkbookFunctionsImSumRequest extends BaseRequest implements IWorkbookFunctionsImSumRequest { + protected final WorkbookFunctionsImSumBody body; /** * The request for this WorkbookFunctionsImSum @@ -23,6 +32,49 @@ public class WorkbookFunctionsImSumRequest extends BaseWorkbookFunctionsImSumReq * @param requestOptions the options for this request */ public WorkbookFunctionsImSumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImSumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImSumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImSumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImSumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImSumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImSumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImSumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequestBuilder.java index f4f206ba56d..a0dab3ab0b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImSumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImSumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Sum Request Builder. */ -public class WorkbookFunctionsImSumRequestBuilder extends BaseWorkbookFunctionsImSumRequestBuilder implements IWorkbookFunctionsImSumRequestBuilder { +public class WorkbookFunctionsImSumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImSumRequestBuilder { /** * The request builder for this WorkbookFunctionsImSum @@ -24,6 +29,36 @@ public class WorkbookFunctionsImSumRequestBuilder extends BaseWorkbookFunctionsI * @param values the values */ public WorkbookFunctionsImSumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsImSumRequest + * + * @return the IWorkbookFunctionsImSumRequest instance + */ + public IWorkbookFunctionsImSumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImSumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImSumRequest instance + */ + public IWorkbookFunctionsImSumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImSumRequest request = new WorkbookFunctionsImSumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequest.java index 9e0badf409c..d3017aa99b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImTanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImTanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImTanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Tan Request. */ -public class WorkbookFunctionsImTanRequest extends BaseWorkbookFunctionsImTanRequest implements IWorkbookFunctionsImTanRequest { +public class WorkbookFunctionsImTanRequest extends BaseRequest implements IWorkbookFunctionsImTanRequest { + protected final WorkbookFunctionsImTanBody body; /** * The request for this WorkbookFunctionsImTan @@ -23,6 +32,49 @@ public class WorkbookFunctionsImTanRequest extends BaseWorkbookFunctionsImTanReq * @param requestOptions the options for this request */ public WorkbookFunctionsImTanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImTanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImTanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImTanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImTanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImTanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImTanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImTanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequestBuilder.java index fcc070fa3f9..3dfadcad318 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImTanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImTanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImTanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Im Tan Request Builder. */ -public class WorkbookFunctionsImTanRequestBuilder extends BaseWorkbookFunctionsImTanRequestBuilder implements IWorkbookFunctionsImTanRequestBuilder { +public class WorkbookFunctionsImTanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImTanRequestBuilder { /** * The request builder for this WorkbookFunctionsImTan @@ -24,6 +29,36 @@ public class WorkbookFunctionsImTanRequestBuilder extends BaseWorkbookFunctionsI * @param inumber the inumber */ public WorkbookFunctionsImTanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImTanRequest + * + * @return the IWorkbookFunctionsImTanRequest instance + */ + public IWorkbookFunctionsImTanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImTanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImTanRequest instance + */ + public IWorkbookFunctionsImTanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImTanRequest request = new WorkbookFunctionsImTanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequest.java index 43cecbb88a1..cf9b6073494 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsImaginaryBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImaginaryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImaginaryRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Imaginary Request. */ -public class WorkbookFunctionsImaginaryRequest extends BaseWorkbookFunctionsImaginaryRequest implements IWorkbookFunctionsImaginaryRequest { +public class WorkbookFunctionsImaginaryRequest extends BaseRequest implements IWorkbookFunctionsImaginaryRequest { + protected final WorkbookFunctionsImaginaryBody body; /** * The request for this WorkbookFunctionsImaginary @@ -23,6 +32,49 @@ public class WorkbookFunctionsImaginaryRequest extends BaseWorkbookFunctionsImag * @param requestOptions the options for this request */ public WorkbookFunctionsImaginaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsImaginaryBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsImaginaryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsImaginaryRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsImaginaryRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsImaginaryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsImaginaryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsImaginaryRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequestBuilder.java index c1f740817b5..1418fd67d59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsImaginaryRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImaginaryRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsImaginaryRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Imaginary Request Builder. */ -public class WorkbookFunctionsImaginaryRequestBuilder extends BaseWorkbookFunctionsImaginaryRequestBuilder implements IWorkbookFunctionsImaginaryRequestBuilder { +public class WorkbookFunctionsImaginaryRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsImaginaryRequestBuilder { /** * The request builder for this WorkbookFunctionsImaginary @@ -24,6 +29,36 @@ public class WorkbookFunctionsImaginaryRequestBuilder extends BaseWorkbookFuncti * @param inumber the inumber */ public WorkbookFunctionsImaginaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions, inumber); + super(requestUrl, client, requestOptions); + bodyParams.put("inumber", inumber); + } + + /** + * Creates the IWorkbookFunctionsImaginaryRequest + * + * @return the IWorkbookFunctionsImaginaryRequest instance + */ + public IWorkbookFunctionsImaginaryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsImaginaryRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsImaginaryRequest instance + */ + public IWorkbookFunctionsImaginaryRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsImaginaryRequest request = new WorkbookFunctionsImaginaryRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("inumber")) { + request.body.inumber = getParameter("inumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequest.java index 0ed2d8d6d93..8b0615c3687 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIntRateBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIntRateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Int Rate Request. */ -public class WorkbookFunctionsIntRateRequest extends BaseWorkbookFunctionsIntRateRequest implements IWorkbookFunctionsIntRateRequest { +public class WorkbookFunctionsIntRateRequest extends BaseRequest implements IWorkbookFunctionsIntRateRequest { + protected final WorkbookFunctionsIntRateBody body; /** * The request for this WorkbookFunctionsIntRate @@ -23,6 +32,49 @@ public class WorkbookFunctionsIntRateRequest extends BaseWorkbookFunctionsIntRat * @param requestOptions the options for this request */ public WorkbookFunctionsIntRateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIntRateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIntRateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIntRateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIntRateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIntRateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIntRateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIntRateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequestBuilder.java index 1e84a5c613e..7e0c1ffc922 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIntRateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Int Rate Request Builder. */ -public class WorkbookFunctionsIntRateRequestBuilder extends BaseWorkbookFunctionsIntRateRequestBuilder implements IWorkbookFunctionsIntRateRequestBuilder { +public class WorkbookFunctionsIntRateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIntRateRequestBuilder { /** * The request builder for this WorkbookFunctionsIntRate @@ -28,6 +33,56 @@ public class WorkbookFunctionsIntRateRequestBuilder extends BaseWorkbookFunction * @param basis the basis */ public WorkbookFunctionsIntRateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, investment, redemption, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("investment", investment); + bodyParams.put("redemption", redemption); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsIntRateRequest + * + * @return the IWorkbookFunctionsIntRateRequest instance + */ + public IWorkbookFunctionsIntRateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIntRateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIntRateRequest instance + */ + public IWorkbookFunctionsIntRateRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIntRateRequest request = new WorkbookFunctionsIntRateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("investment")) { + request.body.investment = getParameter("investment"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequest.java index 1ca1e9044a3..a86520a020a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIntBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIntRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Int Request. */ -public class WorkbookFunctionsIntRequest extends BaseWorkbookFunctionsIntRequest implements IWorkbookFunctionsIntRequest { +public class WorkbookFunctionsIntRequest extends BaseRequest implements IWorkbookFunctionsIntRequest { + protected final WorkbookFunctionsIntBody body; /** * The request for this WorkbookFunctionsInt @@ -23,6 +32,49 @@ public class WorkbookFunctionsIntRequest extends BaseWorkbookFunctionsIntRequest * @param requestOptions the options for this request */ public WorkbookFunctionsIntRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIntBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIntRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIntRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIntRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIntRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIntRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIntRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequestBuilder.java index 828e7a04d27..adf9bd60d88 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIntRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIntRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Int Request Builder. */ -public class WorkbookFunctionsIntRequestBuilder extends BaseWorkbookFunctionsIntRequestBuilder implements IWorkbookFunctionsIntRequestBuilder { +public class WorkbookFunctionsIntRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIntRequestBuilder { /** * The request builder for this WorkbookFunctionsInt @@ -24,6 +29,36 @@ public class WorkbookFunctionsIntRequestBuilder extends BaseWorkbookFunctionsInt * @param number the number */ public WorkbookFunctionsIntRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsIntRequest + * + * @return the IWorkbookFunctionsIntRequest instance + */ + public IWorkbookFunctionsIntRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIntRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIntRequest instance + */ + public IWorkbookFunctionsIntRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIntRequest request = new WorkbookFunctionsIntRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequest.java index 611e2b326fd..1fc49b22dcd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIpmtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIpmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIpmtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ipmt Request. */ -public class WorkbookFunctionsIpmtRequest extends BaseWorkbookFunctionsIpmtRequest implements IWorkbookFunctionsIpmtRequest { +public class WorkbookFunctionsIpmtRequest extends BaseRequest implements IWorkbookFunctionsIpmtRequest { + protected final WorkbookFunctionsIpmtBody body; /** * The request for this WorkbookFunctionsIpmt @@ -23,6 +32,49 @@ public class WorkbookFunctionsIpmtRequest extends BaseWorkbookFunctionsIpmtReque * @param requestOptions the options for this request */ public WorkbookFunctionsIpmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIpmtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIpmtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIpmtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIpmtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIpmtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIpmtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIpmtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequestBuilder.java index 17081a2215b..4f53824dd4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIpmtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIpmtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIpmtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ipmt Request Builder. */ -public class WorkbookFunctionsIpmtRequestBuilder extends BaseWorkbookFunctionsIpmtRequestBuilder implements IWorkbookFunctionsIpmtRequestBuilder { +public class WorkbookFunctionsIpmtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIpmtRequestBuilder { /** * The request builder for this WorkbookFunctionsIpmt @@ -29,6 +34,61 @@ public class WorkbookFunctionsIpmtRequestBuilder extends BaseWorkbookFunctionsIp * @param type the type */ public WorkbookFunctionsIpmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, per, nper, pv, fv, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("per", per); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsIpmtRequest + * + * @return the IWorkbookFunctionsIpmtRequest instance + */ + public IWorkbookFunctionsIpmtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIpmtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIpmtRequest instance + */ + public IWorkbookFunctionsIpmtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIpmtRequest request = new WorkbookFunctionsIpmtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("per")) { + request.body.per = getParameter("per"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequest.java index 54949e83eb9..cc812d66cb6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIrrBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIrrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIrrRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Irr Request. */ -public class WorkbookFunctionsIrrRequest extends BaseWorkbookFunctionsIrrRequest implements IWorkbookFunctionsIrrRequest { +public class WorkbookFunctionsIrrRequest extends BaseRequest implements IWorkbookFunctionsIrrRequest { + protected final WorkbookFunctionsIrrBody body; /** * The request for this WorkbookFunctionsIrr @@ -23,6 +32,49 @@ public class WorkbookFunctionsIrrRequest extends BaseWorkbookFunctionsIrrRequest * @param requestOptions the options for this request */ public WorkbookFunctionsIrrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIrrBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIrrRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIrrRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIrrRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIrrRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIrrRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIrrRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequestBuilder.java index f7574a854f6..195f0945a70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIrrRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIrrRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIrrRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Irr Request Builder. */ -public class WorkbookFunctionsIrrRequestBuilder extends BaseWorkbookFunctionsIrrRequestBuilder implements IWorkbookFunctionsIrrRequestBuilder { +public class WorkbookFunctionsIrrRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIrrRequestBuilder { /** * The request builder for this WorkbookFunctionsIrr @@ -25,6 +30,41 @@ public class WorkbookFunctionsIrrRequestBuilder extends BaseWorkbookFunctionsIrr * @param guess the guess */ public WorkbookFunctionsIrrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values, final com.google.gson.JsonElement guess) { - super(requestUrl, client, requestOptions, values, guess); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + bodyParams.put("guess", guess); + } + + /** + * Creates the IWorkbookFunctionsIrrRequest + * + * @return the IWorkbookFunctionsIrrRequest instance + */ + public IWorkbookFunctionsIrrRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIrrRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIrrRequest instance + */ + public IWorkbookFunctionsIrrRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIrrRequest request = new WorkbookFunctionsIrrRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + if (hasParameter("guess")) { + request.body.guess = getParameter("guess"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequest.java index 127efea7afa..ff4cb5ff8e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsErrBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsErrRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Err Request. */ -public class WorkbookFunctionsIsErrRequest extends BaseWorkbookFunctionsIsErrRequest implements IWorkbookFunctionsIsErrRequest { +public class WorkbookFunctionsIsErrRequest extends BaseRequest implements IWorkbookFunctionsIsErrRequest { + protected final WorkbookFunctionsIsErrBody body; /** * The request for this WorkbookFunctionsIsErr @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsErrRequest extends BaseWorkbookFunctionsIsErrReq * @param requestOptions the options for this request */ public WorkbookFunctionsIsErrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsErrBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsErrRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsErrRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsErrRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsErrRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsErrRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsErrRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequestBuilder.java index d7ef27d4709..c1e16d757a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsErrRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Err Request Builder. */ -public class WorkbookFunctionsIsErrRequestBuilder extends BaseWorkbookFunctionsIsErrRequestBuilder implements IWorkbookFunctionsIsErrRequestBuilder { +public class WorkbookFunctionsIsErrRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsErrRequestBuilder { /** * The request builder for this WorkbookFunctionsIsErr @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsErrRequestBuilder extends BaseWorkbookFunctionsI * @param value the value */ public WorkbookFunctionsIsErrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsErrRequest + * + * @return the IWorkbookFunctionsIsErrRequest instance + */ + public IWorkbookFunctionsIsErrRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsErrRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsErrRequest instance + */ + public IWorkbookFunctionsIsErrRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsErrRequest request = new WorkbookFunctionsIsErrRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequest.java index c38033c12bd..8d36fb8c40f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsErrorBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsErrorRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Error Request. */ -public class WorkbookFunctionsIsErrorRequest extends BaseWorkbookFunctionsIsErrorRequest implements IWorkbookFunctionsIsErrorRequest { +public class WorkbookFunctionsIsErrorRequest extends BaseRequest implements IWorkbookFunctionsIsErrorRequest { + protected final WorkbookFunctionsIsErrorBody body; /** * The request for this WorkbookFunctionsIsError @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsErrorRequest extends BaseWorkbookFunctionsIsErro * @param requestOptions the options for this request */ public WorkbookFunctionsIsErrorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsErrorBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsErrorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsErrorRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsErrorRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsErrorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsErrorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsErrorRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequestBuilder.java index cafec3f391b..154ed1a9550 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsErrorRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrorRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsErrorRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Error Request Builder. */ -public class WorkbookFunctionsIsErrorRequestBuilder extends BaseWorkbookFunctionsIsErrorRequestBuilder implements IWorkbookFunctionsIsErrorRequestBuilder { +public class WorkbookFunctionsIsErrorRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsErrorRequestBuilder { /** * The request builder for this WorkbookFunctionsIsError @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsErrorRequestBuilder extends BaseWorkbookFunction * @param value the value */ public WorkbookFunctionsIsErrorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsErrorRequest + * + * @return the IWorkbookFunctionsIsErrorRequest instance + */ + public IWorkbookFunctionsIsErrorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsErrorRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsErrorRequest instance + */ + public IWorkbookFunctionsIsErrorRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsErrorRequest request = new WorkbookFunctionsIsErrorRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequest.java index 7ed34b90816..1548f2bedca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsEvenBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsEvenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsEvenRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Even Request. */ -public class WorkbookFunctionsIsEvenRequest extends BaseWorkbookFunctionsIsEvenRequest implements IWorkbookFunctionsIsEvenRequest { +public class WorkbookFunctionsIsEvenRequest extends BaseRequest implements IWorkbookFunctionsIsEvenRequest { + protected final WorkbookFunctionsIsEvenBody body; /** * The request for this WorkbookFunctionsIsEven @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsEvenRequest extends BaseWorkbookFunctionsIsEvenR * @param requestOptions the options for this request */ public WorkbookFunctionsIsEvenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsEvenBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsEvenRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsEvenRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsEvenRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsEvenRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsEvenRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsEvenRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequestBuilder.java index f5e0ad6812e..bdde4ee377a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsEvenRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsEvenRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsEvenRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Even Request Builder. */ -public class WorkbookFunctionsIsEvenRequestBuilder extends BaseWorkbookFunctionsIsEvenRequestBuilder implements IWorkbookFunctionsIsEvenRequestBuilder { +public class WorkbookFunctionsIsEvenRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsEvenRequestBuilder { /** * The request builder for this WorkbookFunctionsIsEven @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsEvenRequestBuilder extends BaseWorkbookFunctions * @param number the number */ public WorkbookFunctionsIsEvenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsIsEvenRequest + * + * @return the IWorkbookFunctionsIsEvenRequest instance + */ + public IWorkbookFunctionsIsEvenRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsEvenRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsEvenRequest instance + */ + public IWorkbookFunctionsIsEvenRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsEvenRequest request = new WorkbookFunctionsIsEvenRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequest.java index 92cdfdae875..06457cf823e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsFormulaBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsFormulaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsFormulaRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Formula Request. */ -public class WorkbookFunctionsIsFormulaRequest extends BaseWorkbookFunctionsIsFormulaRequest implements IWorkbookFunctionsIsFormulaRequest { +public class WorkbookFunctionsIsFormulaRequest extends BaseRequest implements IWorkbookFunctionsIsFormulaRequest { + protected final WorkbookFunctionsIsFormulaBody body; /** * The request for this WorkbookFunctionsIsFormula @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsFormulaRequest extends BaseWorkbookFunctionsIsFo * @param requestOptions the options for this request */ public WorkbookFunctionsIsFormulaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsFormulaBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsFormulaRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsFormulaRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsFormulaRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsFormulaRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsFormulaRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsFormulaRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequestBuilder.java index 3626e5b60db..b2a918bdaf6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsFormulaRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsFormulaRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsFormulaRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Formula Request Builder. */ -public class WorkbookFunctionsIsFormulaRequestBuilder extends BaseWorkbookFunctionsIsFormulaRequestBuilder implements IWorkbookFunctionsIsFormulaRequestBuilder { +public class WorkbookFunctionsIsFormulaRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsFormulaRequestBuilder { /** * The request builder for this WorkbookFunctionsIsFormula @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsFormulaRequestBuilder extends BaseWorkbookFuncti * @param reference the reference */ public WorkbookFunctionsIsFormulaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement reference) { - super(requestUrl, client, requestOptions, reference); + super(requestUrl, client, requestOptions); + bodyParams.put("reference", reference); + } + + /** + * Creates the IWorkbookFunctionsIsFormulaRequest + * + * @return the IWorkbookFunctionsIsFormulaRequest instance + */ + public IWorkbookFunctionsIsFormulaRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsFormulaRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsFormulaRequest instance + */ + public IWorkbookFunctionsIsFormulaRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsFormulaRequest request = new WorkbookFunctionsIsFormulaRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("reference")) { + request.body.reference = getParameter("reference"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequest.java index 97722749a3a..eeed25b7c0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsLogicalBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsLogicalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsLogicalRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Logical Request. */ -public class WorkbookFunctionsIsLogicalRequest extends BaseWorkbookFunctionsIsLogicalRequest implements IWorkbookFunctionsIsLogicalRequest { +public class WorkbookFunctionsIsLogicalRequest extends BaseRequest implements IWorkbookFunctionsIsLogicalRequest { + protected final WorkbookFunctionsIsLogicalBody body; /** * The request for this WorkbookFunctionsIsLogical @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsLogicalRequest extends BaseWorkbookFunctionsIsLo * @param requestOptions the options for this request */ public WorkbookFunctionsIsLogicalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsLogicalBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsLogicalRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsLogicalRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsLogicalRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsLogicalRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsLogicalRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsLogicalRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequestBuilder.java index 697203ae7dd..43ccf962725 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsLogicalRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsLogicalRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsLogicalRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Logical Request Builder. */ -public class WorkbookFunctionsIsLogicalRequestBuilder extends BaseWorkbookFunctionsIsLogicalRequestBuilder implements IWorkbookFunctionsIsLogicalRequestBuilder { +public class WorkbookFunctionsIsLogicalRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsLogicalRequestBuilder { /** * The request builder for this WorkbookFunctionsIsLogical @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsLogicalRequestBuilder extends BaseWorkbookFuncti * @param value the value */ public WorkbookFunctionsIsLogicalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsLogicalRequest + * + * @return the IWorkbookFunctionsIsLogicalRequest instance + */ + public IWorkbookFunctionsIsLogicalRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsLogicalRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsLogicalRequest instance + */ + public IWorkbookFunctionsIsLogicalRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsLogicalRequest request = new WorkbookFunctionsIsLogicalRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequest.java index 499a23cc366..c853fc5e92a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsNABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsNARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is NARequest. */ -public class WorkbookFunctionsIsNARequest extends BaseWorkbookFunctionsIsNARequest implements IWorkbookFunctionsIsNARequest { +public class WorkbookFunctionsIsNARequest extends BaseRequest implements IWorkbookFunctionsIsNARequest { + protected final WorkbookFunctionsIsNABody body; /** * The request for this WorkbookFunctionsIsNA @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsNARequest extends BaseWorkbookFunctionsIsNAReque * @param requestOptions the options for this request */ public WorkbookFunctionsIsNARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsNABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsNARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsNARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsNARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsNARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsNARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsNARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequestBuilder.java index 687be5c4612..a19aa3080e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsNARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is NARequest Builder. */ -public class WorkbookFunctionsIsNARequestBuilder extends BaseWorkbookFunctionsIsNARequestBuilder implements IWorkbookFunctionsIsNARequestBuilder { +public class WorkbookFunctionsIsNARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsNARequestBuilder { /** * The request builder for this WorkbookFunctionsIsNA @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsNARequestBuilder extends BaseWorkbookFunctionsIs * @param value the value */ public WorkbookFunctionsIsNARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsNARequest + * + * @return the IWorkbookFunctionsIsNARequest instance + */ + public IWorkbookFunctionsIsNARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsNARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsNARequest instance + */ + public IWorkbookFunctionsIsNARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsNARequest request = new WorkbookFunctionsIsNARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequest.java index cd2ea200e65..541f7d08a48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsNonTextBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNonTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsNonTextRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Non Text Request. */ -public class WorkbookFunctionsIsNonTextRequest extends BaseWorkbookFunctionsIsNonTextRequest implements IWorkbookFunctionsIsNonTextRequest { +public class WorkbookFunctionsIsNonTextRequest extends BaseRequest implements IWorkbookFunctionsIsNonTextRequest { + protected final WorkbookFunctionsIsNonTextBody body; /** * The request for this WorkbookFunctionsIsNonText @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsNonTextRequest extends BaseWorkbookFunctionsIsNo * @param requestOptions the options for this request */ public WorkbookFunctionsIsNonTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsNonTextBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsNonTextRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsNonTextRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsNonTextRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsNonTextRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsNonTextRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsNonTextRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequestBuilder.java index 9141ce91dc0..830e8c88e94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNonTextRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNonTextRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsNonTextRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Non Text Request Builder. */ -public class WorkbookFunctionsIsNonTextRequestBuilder extends BaseWorkbookFunctionsIsNonTextRequestBuilder implements IWorkbookFunctionsIsNonTextRequestBuilder { +public class WorkbookFunctionsIsNonTextRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsNonTextRequestBuilder { /** * The request builder for this WorkbookFunctionsIsNonText @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsNonTextRequestBuilder extends BaseWorkbookFuncti * @param value the value */ public WorkbookFunctionsIsNonTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsNonTextRequest + * + * @return the IWorkbookFunctionsIsNonTextRequest instance + */ + public IWorkbookFunctionsIsNonTextRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsNonTextRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsNonTextRequest instance + */ + public IWorkbookFunctionsIsNonTextRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsNonTextRequest request = new WorkbookFunctionsIsNonTextRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequest.java index 73a4c270199..c97af787cb2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsNumberBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNumberRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsNumberRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Number Request. */ -public class WorkbookFunctionsIsNumberRequest extends BaseWorkbookFunctionsIsNumberRequest implements IWorkbookFunctionsIsNumberRequest { +public class WorkbookFunctionsIsNumberRequest extends BaseRequest implements IWorkbookFunctionsIsNumberRequest { + protected final WorkbookFunctionsIsNumberBody body; /** * The request for this WorkbookFunctionsIsNumber @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsNumberRequest extends BaseWorkbookFunctionsIsNum * @param requestOptions the options for this request */ public WorkbookFunctionsIsNumberRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsNumberBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsNumberRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsNumberRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsNumberRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsNumberRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsNumberRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsNumberRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequestBuilder.java index c6663764491..16011d498c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsNumberRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNumberRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsNumberRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Number Request Builder. */ -public class WorkbookFunctionsIsNumberRequestBuilder extends BaseWorkbookFunctionsIsNumberRequestBuilder implements IWorkbookFunctionsIsNumberRequestBuilder { +public class WorkbookFunctionsIsNumberRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsNumberRequestBuilder { /** * The request builder for this WorkbookFunctionsIsNumber @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsNumberRequestBuilder extends BaseWorkbookFunctio * @param value the value */ public WorkbookFunctionsIsNumberRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsNumberRequest + * + * @return the IWorkbookFunctionsIsNumberRequest instance + */ + public IWorkbookFunctionsIsNumberRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsNumberRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsNumberRequest instance + */ + public IWorkbookFunctionsIsNumberRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsNumberRequest request = new WorkbookFunctionsIsNumberRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequest.java index aa70cab1966..9d5c30960dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsOddBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsOddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsOddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Odd Request. */ -public class WorkbookFunctionsIsOddRequest extends BaseWorkbookFunctionsIsOddRequest implements IWorkbookFunctionsIsOddRequest { +public class WorkbookFunctionsIsOddRequest extends BaseRequest implements IWorkbookFunctionsIsOddRequest { + protected final WorkbookFunctionsIsOddBody body; /** * The request for this WorkbookFunctionsIsOdd @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsOddRequest extends BaseWorkbookFunctionsIsOddReq * @param requestOptions the options for this request */ public WorkbookFunctionsIsOddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsOddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsOddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsOddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsOddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsOddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsOddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsOddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequestBuilder.java index 949440cdd21..262e3fbdca3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsOddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsOddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsOddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Odd Request Builder. */ -public class WorkbookFunctionsIsOddRequestBuilder extends BaseWorkbookFunctionsIsOddRequestBuilder implements IWorkbookFunctionsIsOddRequestBuilder { +public class WorkbookFunctionsIsOddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsOddRequestBuilder { /** * The request builder for this WorkbookFunctionsIsOdd @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsOddRequestBuilder extends BaseWorkbookFunctionsI * @param number the number */ public WorkbookFunctionsIsOddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsIsOddRequest + * + * @return the IWorkbookFunctionsIsOddRequest instance + */ + public IWorkbookFunctionsIsOddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsOddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsOddRequest instance + */ + public IWorkbookFunctionsIsOddRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsOddRequest request = new WorkbookFunctionsIsOddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequest.java index 04493004d21..69a9289d26c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsTextBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsTextRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Text Request. */ -public class WorkbookFunctionsIsTextRequest extends BaseWorkbookFunctionsIsTextRequest implements IWorkbookFunctionsIsTextRequest { +public class WorkbookFunctionsIsTextRequest extends BaseRequest implements IWorkbookFunctionsIsTextRequest { + protected final WorkbookFunctionsIsTextBody body; /** * The request for this WorkbookFunctionsIsText @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsTextRequest extends BaseWorkbookFunctionsIsTextR * @param requestOptions the options for this request */ public WorkbookFunctionsIsTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsTextBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsTextRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsTextRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsTextRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsTextRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsTextRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsTextRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequestBuilder.java index edc75b32f6d..91908a32bae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsTextRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsTextRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsTextRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Is Text Request Builder. */ -public class WorkbookFunctionsIsTextRequestBuilder extends BaseWorkbookFunctionsIsTextRequestBuilder implements IWorkbookFunctionsIsTextRequestBuilder { +public class WorkbookFunctionsIsTextRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsTextRequestBuilder { /** * The request builder for this WorkbookFunctionsIsText @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsTextRequestBuilder extends BaseWorkbookFunctions * @param value the value */ public WorkbookFunctionsIsTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsTextRequest + * + * @return the IWorkbookFunctionsIsTextRequest instance + */ + public IWorkbookFunctionsIsTextRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsTextRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsTextRequest instance + */ + public IWorkbookFunctionsIsTextRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsTextRequest request = new WorkbookFunctionsIsTextRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequest.java index 90ecf2bd796..c0fdc1dea85 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsoWeekNumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsoWeekNumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsoWeekNumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Iso Week Num Request. */ -public class WorkbookFunctionsIsoWeekNumRequest extends BaseWorkbookFunctionsIsoWeekNumRequest implements IWorkbookFunctionsIsoWeekNumRequest { +public class WorkbookFunctionsIsoWeekNumRequest extends BaseRequest implements IWorkbookFunctionsIsoWeekNumRequest { + protected final WorkbookFunctionsIsoWeekNumBody body; /** * The request for this WorkbookFunctionsIsoWeekNum @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsoWeekNumRequest extends BaseWorkbookFunctionsIso * @param requestOptions the options for this request */ public WorkbookFunctionsIsoWeekNumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsoWeekNumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsoWeekNumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsoWeekNumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsoWeekNumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsoWeekNumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsoWeekNumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsoWeekNumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequestBuilder.java index bf83d1c5ec2..db61d0093c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsoWeekNumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsoWeekNumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsoWeekNumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Iso Week Num Request Builder. */ -public class WorkbookFunctionsIsoWeekNumRequestBuilder extends BaseWorkbookFunctionsIsoWeekNumRequestBuilder implements IWorkbookFunctionsIsoWeekNumRequestBuilder { +public class WorkbookFunctionsIsoWeekNumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsoWeekNumRequestBuilder { /** * The request builder for this WorkbookFunctionsIsoWeekNum @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsoWeekNumRequestBuilder extends BaseWorkbookFunct * @param date the date */ public WorkbookFunctionsIsoWeekNumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement date) { - super(requestUrl, client, requestOptions, date); + super(requestUrl, client, requestOptions); + bodyParams.put("date", date); + } + + /** + * Creates the IWorkbookFunctionsIsoWeekNumRequest + * + * @return the IWorkbookFunctionsIsoWeekNumRequest instance + */ + public IWorkbookFunctionsIsoWeekNumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsoWeekNumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsoWeekNumRequest instance + */ + public IWorkbookFunctionsIsoWeekNumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsoWeekNumRequest request = new WorkbookFunctionsIsoWeekNumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("date")) { + request.body.date = getParameter("date"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequest.java index 1055a0b30d4..a5382508335 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIso_CeilingBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIso_CeilingRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIso_CeilingRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Iso_Ceiling Request. */ -public class WorkbookFunctionsIso_CeilingRequest extends BaseWorkbookFunctionsIso_CeilingRequest implements IWorkbookFunctionsIso_CeilingRequest { +public class WorkbookFunctionsIso_CeilingRequest extends BaseRequest implements IWorkbookFunctionsIso_CeilingRequest { + protected final WorkbookFunctionsIso_CeilingBody body; /** * The request for this WorkbookFunctionsIso_Ceiling @@ -23,6 +32,49 @@ public class WorkbookFunctionsIso_CeilingRequest extends BaseWorkbookFunctionsIs * @param requestOptions the options for this request */ public WorkbookFunctionsIso_CeilingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIso_CeilingBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIso_CeilingRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIso_CeilingRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIso_CeilingRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIso_CeilingRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIso_CeilingRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIso_CeilingRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequestBuilder.java index a23797d8cae..90e6f3ad251 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIso_CeilingRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIso_CeilingRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIso_CeilingRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Iso_Ceiling Request Builder. */ -public class WorkbookFunctionsIso_CeilingRequestBuilder extends BaseWorkbookFunctionsIso_CeilingRequestBuilder implements IWorkbookFunctionsIso_CeilingRequestBuilder { +public class WorkbookFunctionsIso_CeilingRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIso_CeilingRequestBuilder { /** * The request builder for this WorkbookFunctionsIso_Ceiling @@ -25,6 +30,41 @@ public class WorkbookFunctionsIso_CeilingRequestBuilder extends BaseWorkbookFunc * @param significance the significance */ public WorkbookFunctionsIso_CeilingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions, number, significance); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("significance", significance); + } + + /** + * Creates the IWorkbookFunctionsIso_CeilingRequest + * + * @return the IWorkbookFunctionsIso_CeilingRequest instance + */ + public IWorkbookFunctionsIso_CeilingRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIso_CeilingRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIso_CeilingRequest instance + */ + public IWorkbookFunctionsIso_CeilingRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIso_CeilingRequest request = new WorkbookFunctionsIso_CeilingRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequest.java index 3d622bee287..342e995d9c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIspmtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIspmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIspmtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ispmt Request. */ -public class WorkbookFunctionsIspmtRequest extends BaseWorkbookFunctionsIspmtRequest implements IWorkbookFunctionsIspmtRequest { +public class WorkbookFunctionsIspmtRequest extends BaseRequest implements IWorkbookFunctionsIspmtRequest { + protected final WorkbookFunctionsIspmtBody body; /** * The request for this WorkbookFunctionsIspmt @@ -23,6 +32,49 @@ public class WorkbookFunctionsIspmtRequest extends BaseWorkbookFunctionsIspmtReq * @param requestOptions the options for this request */ public WorkbookFunctionsIspmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIspmtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIspmtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIspmtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIspmtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIspmtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIspmtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIspmtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequestBuilder.java index 8258079cb37..2e2c4e24657 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIspmtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIspmtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIspmtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ispmt Request Builder. */ -public class WorkbookFunctionsIspmtRequestBuilder extends BaseWorkbookFunctionsIspmtRequestBuilder implements IWorkbookFunctionsIspmtRequestBuilder { +public class WorkbookFunctionsIspmtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIspmtRequestBuilder { /** * The request builder for this WorkbookFunctionsIspmt @@ -27,6 +32,51 @@ public class WorkbookFunctionsIspmtRequestBuilder extends BaseWorkbookFunctionsI * @param pv the pv */ public WorkbookFunctionsIspmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv) { - super(requestUrl, client, requestOptions, rate, per, nper, pv); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("per", per); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + } + + /** + * Creates the IWorkbookFunctionsIspmtRequest + * + * @return the IWorkbookFunctionsIspmtRequest instance + */ + public IWorkbookFunctionsIspmtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIspmtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIspmtRequest instance + */ + public IWorkbookFunctionsIspmtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIspmtRequest request = new WorkbookFunctionsIspmtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("per")) { + request.body.per = getParameter("per"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequest.java index a6c12dd8441..bb83149a941 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsIsrefBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsrefRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsrefRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Isref Request. */ -public class WorkbookFunctionsIsrefRequest extends BaseWorkbookFunctionsIsrefRequest implements IWorkbookFunctionsIsrefRequest { +public class WorkbookFunctionsIsrefRequest extends BaseRequest implements IWorkbookFunctionsIsrefRequest { + protected final WorkbookFunctionsIsrefBody body; /** * The request for this WorkbookFunctionsIsref @@ -23,6 +32,49 @@ public class WorkbookFunctionsIsrefRequest extends BaseWorkbookFunctionsIsrefReq * @param requestOptions the options for this request */ public WorkbookFunctionsIsrefRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsIsrefBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsIsrefRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsIsrefRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsIsrefRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsIsrefRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsIsrefRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsIsrefRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequestBuilder.java index fcef883bebf..7235d19a7e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsIsrefRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsrefRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsIsrefRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Isref Request Builder. */ -public class WorkbookFunctionsIsrefRequestBuilder extends BaseWorkbookFunctionsIsrefRequestBuilder implements IWorkbookFunctionsIsrefRequestBuilder { +public class WorkbookFunctionsIsrefRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsIsrefRequestBuilder { /** * The request builder for this WorkbookFunctionsIsref @@ -24,6 +29,36 @@ public class WorkbookFunctionsIsrefRequestBuilder extends BaseWorkbookFunctionsI * @param value the value */ public WorkbookFunctionsIsrefRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsIsrefRequest + * + * @return the IWorkbookFunctionsIsrefRequest instance + */ + public IWorkbookFunctionsIsrefRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsIsrefRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsIsrefRequest instance + */ + public IWorkbookFunctionsIsrefRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsIsrefRequest request = new WorkbookFunctionsIsrefRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequest.java index 2fd560a09f2..b62c1607992 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsKurtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsKurtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsKurtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Kurt Request. */ -public class WorkbookFunctionsKurtRequest extends BaseWorkbookFunctionsKurtRequest implements IWorkbookFunctionsKurtRequest { +public class WorkbookFunctionsKurtRequest extends BaseRequest implements IWorkbookFunctionsKurtRequest { + protected final WorkbookFunctionsKurtBody body; /** * The request for this WorkbookFunctionsKurt @@ -23,6 +32,49 @@ public class WorkbookFunctionsKurtRequest extends BaseWorkbookFunctionsKurtReque * @param requestOptions the options for this request */ public WorkbookFunctionsKurtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsKurtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsKurtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsKurtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsKurtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsKurtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsKurtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsKurtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequestBuilder.java index 88b024ee1f0..07237f062ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsKurtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsKurtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsKurtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Kurt Request Builder. */ -public class WorkbookFunctionsKurtRequestBuilder extends BaseWorkbookFunctionsKurtRequestBuilder implements IWorkbookFunctionsKurtRequestBuilder { +public class WorkbookFunctionsKurtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsKurtRequestBuilder { /** * The request builder for this WorkbookFunctionsKurt @@ -24,6 +29,36 @@ public class WorkbookFunctionsKurtRequestBuilder extends BaseWorkbookFunctionsKu * @param values the values */ public WorkbookFunctionsKurtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsKurtRequest + * + * @return the IWorkbookFunctionsKurtRequest instance + */ + public IWorkbookFunctionsKurtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsKurtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsKurtRequest instance + */ + public IWorkbookFunctionsKurtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsKurtRequest request = new WorkbookFunctionsKurtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequest.java index 12a82e29875..0a516ad7b2d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLargeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLargeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLargeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Large Request. */ -public class WorkbookFunctionsLargeRequest extends BaseWorkbookFunctionsLargeRequest implements IWorkbookFunctionsLargeRequest { +public class WorkbookFunctionsLargeRequest extends BaseRequest implements IWorkbookFunctionsLargeRequest { + protected final WorkbookFunctionsLargeBody body; /** * The request for this WorkbookFunctionsLarge @@ -23,6 +32,49 @@ public class WorkbookFunctionsLargeRequest extends BaseWorkbookFunctionsLargeReq * @param requestOptions the options for this request */ public WorkbookFunctionsLargeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLargeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLargeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLargeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLargeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLargeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLargeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLargeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequestBuilder.java index 3041102441e..384cda5ebbe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLargeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLargeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLargeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Large Request Builder. */ -public class WorkbookFunctionsLargeRequestBuilder extends BaseWorkbookFunctionsLargeRequestBuilder implements IWorkbookFunctionsLargeRequestBuilder { +public class WorkbookFunctionsLargeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLargeRequestBuilder { /** * The request builder for this WorkbookFunctionsLarge @@ -25,6 +30,41 @@ public class WorkbookFunctionsLargeRequestBuilder extends BaseWorkbookFunctionsL * @param k the k */ public WorkbookFunctionsLargeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions, array, k); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("k", k); + } + + /** + * Creates the IWorkbookFunctionsLargeRequest + * + * @return the IWorkbookFunctionsLargeRequest instance + */ + public IWorkbookFunctionsLargeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLargeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLargeRequest instance + */ + public IWorkbookFunctionsLargeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLargeRequest request = new WorkbookFunctionsLargeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("k")) { + request.body.k = getParameter("k"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequest.java index 549f295ac6e..68a855d4a57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLcmBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLcmRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLcmRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lcm Request. */ -public class WorkbookFunctionsLcmRequest extends BaseWorkbookFunctionsLcmRequest implements IWorkbookFunctionsLcmRequest { +public class WorkbookFunctionsLcmRequest extends BaseRequest implements IWorkbookFunctionsLcmRequest { + protected final WorkbookFunctionsLcmBody body; /** * The request for this WorkbookFunctionsLcm @@ -23,6 +32,49 @@ public class WorkbookFunctionsLcmRequest extends BaseWorkbookFunctionsLcmRequest * @param requestOptions the options for this request */ public WorkbookFunctionsLcmRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLcmBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLcmRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLcmRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLcmRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLcmRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLcmRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLcmRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequestBuilder.java index 672d42cf2cb..fcb17037358 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLcmRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLcmRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLcmRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lcm Request Builder. */ -public class WorkbookFunctionsLcmRequestBuilder extends BaseWorkbookFunctionsLcmRequestBuilder implements IWorkbookFunctionsLcmRequestBuilder { +public class WorkbookFunctionsLcmRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLcmRequestBuilder { /** * The request builder for this WorkbookFunctionsLcm @@ -24,6 +29,36 @@ public class WorkbookFunctionsLcmRequestBuilder extends BaseWorkbookFunctionsLcm * @param values the values */ public WorkbookFunctionsLcmRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsLcmRequest + * + * @return the IWorkbookFunctionsLcmRequest instance + */ + public IWorkbookFunctionsLcmRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLcmRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLcmRequest instance + */ + public IWorkbookFunctionsLcmRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLcmRequest request = new WorkbookFunctionsLcmRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequest.java index 4a8e0297cb7..6e9f6ba14bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLeftBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLeftRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Left Request. */ -public class WorkbookFunctionsLeftRequest extends BaseWorkbookFunctionsLeftRequest implements IWorkbookFunctionsLeftRequest { +public class WorkbookFunctionsLeftRequest extends BaseRequest implements IWorkbookFunctionsLeftRequest { + protected final WorkbookFunctionsLeftBody body; /** * The request for this WorkbookFunctionsLeft @@ -23,6 +32,49 @@ public class WorkbookFunctionsLeftRequest extends BaseWorkbookFunctionsLeftReque * @param requestOptions the options for this request */ public WorkbookFunctionsLeftRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLeftBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLeftRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLeftRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLeftRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLeftRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLeftRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLeftRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequestBuilder.java index 8f7a541d3b3..f8101526772 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLeftRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Left Request Builder. */ -public class WorkbookFunctionsLeftRequestBuilder extends BaseWorkbookFunctionsLeftRequestBuilder implements IWorkbookFunctionsLeftRequestBuilder { +public class WorkbookFunctionsLeftRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLeftRequestBuilder { /** * The request builder for this WorkbookFunctionsLeft @@ -25,6 +30,41 @@ public class WorkbookFunctionsLeftRequestBuilder extends BaseWorkbookFunctionsLe * @param numChars the numChars */ public WorkbookFunctionsLeftRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { - super(requestUrl, client, requestOptions, text, numChars); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("numChars", numChars); + } + + /** + * Creates the IWorkbookFunctionsLeftRequest + * + * @return the IWorkbookFunctionsLeftRequest instance + */ + public IWorkbookFunctionsLeftRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLeftRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLeftRequest instance + */ + public IWorkbookFunctionsLeftRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLeftRequest request = new WorkbookFunctionsLeftRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("numChars")) { + request.body.numChars = getParameter("numChars"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequest.java index b5796de478d..adba520b749 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLeftbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLeftbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Leftb Request. */ -public class WorkbookFunctionsLeftbRequest extends BaseWorkbookFunctionsLeftbRequest implements IWorkbookFunctionsLeftbRequest { +public class WorkbookFunctionsLeftbRequest extends BaseRequest implements IWorkbookFunctionsLeftbRequest { + protected final WorkbookFunctionsLeftbBody body; /** * The request for this WorkbookFunctionsLeftb @@ -23,6 +32,49 @@ public class WorkbookFunctionsLeftbRequest extends BaseWorkbookFunctionsLeftbReq * @param requestOptions the options for this request */ public WorkbookFunctionsLeftbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLeftbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLeftbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLeftbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLeftbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLeftbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLeftbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLeftbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequestBuilder.java index 05180f54b1f..cf33e963977 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLeftbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLeftbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Leftb Request Builder. */ -public class WorkbookFunctionsLeftbRequestBuilder extends BaseWorkbookFunctionsLeftbRequestBuilder implements IWorkbookFunctionsLeftbRequestBuilder { +public class WorkbookFunctionsLeftbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLeftbRequestBuilder { /** * The request builder for this WorkbookFunctionsLeftb @@ -25,6 +30,41 @@ public class WorkbookFunctionsLeftbRequestBuilder extends BaseWorkbookFunctionsL * @param numBytes the numBytes */ public WorkbookFunctionsLeftbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { - super(requestUrl, client, requestOptions, text, numBytes); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("numBytes", numBytes); + } + + /** + * Creates the IWorkbookFunctionsLeftbRequest + * + * @return the IWorkbookFunctionsLeftbRequest instance + */ + public IWorkbookFunctionsLeftbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLeftbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLeftbRequest instance + */ + public IWorkbookFunctionsLeftbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLeftbRequest request = new WorkbookFunctionsLeftbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("numBytes")) { + request.body.numBytes = getParameter("numBytes"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequest.java index 87f7fa8e561..8e4c28865cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLenBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLenRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Len Request. */ -public class WorkbookFunctionsLenRequest extends BaseWorkbookFunctionsLenRequest implements IWorkbookFunctionsLenRequest { +public class WorkbookFunctionsLenRequest extends BaseRequest implements IWorkbookFunctionsLenRequest { + protected final WorkbookFunctionsLenBody body; /** * The request for this WorkbookFunctionsLen @@ -23,6 +32,49 @@ public class WorkbookFunctionsLenRequest extends BaseWorkbookFunctionsLenRequest * @param requestOptions the options for this request */ public WorkbookFunctionsLenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLenBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLenRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLenRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLenRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLenRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLenRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLenRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequestBuilder.java index 529f5611b42..d29d817609f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLenRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Len Request Builder. */ -public class WorkbookFunctionsLenRequestBuilder extends BaseWorkbookFunctionsLenRequestBuilder implements IWorkbookFunctionsLenRequestBuilder { +public class WorkbookFunctionsLenRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLenRequestBuilder { /** * The request builder for this WorkbookFunctionsLen @@ -24,6 +29,36 @@ public class WorkbookFunctionsLenRequestBuilder extends BaseWorkbookFunctionsLen * @param text the text */ public WorkbookFunctionsLenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsLenRequest + * + * @return the IWorkbookFunctionsLenRequest instance + */ + public IWorkbookFunctionsLenRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLenRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLenRequest instance + */ + public IWorkbookFunctionsLenRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLenRequest request = new WorkbookFunctionsLenRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequest.java index cdb48b8448e..89176401199 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLenbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLenbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lenb Request. */ -public class WorkbookFunctionsLenbRequest extends BaseWorkbookFunctionsLenbRequest implements IWorkbookFunctionsLenbRequest { +public class WorkbookFunctionsLenbRequest extends BaseRequest implements IWorkbookFunctionsLenbRequest { + protected final WorkbookFunctionsLenbBody body; /** * The request for this WorkbookFunctionsLenb @@ -23,6 +32,49 @@ public class WorkbookFunctionsLenbRequest extends BaseWorkbookFunctionsLenbReque * @param requestOptions the options for this request */ public WorkbookFunctionsLenbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLenbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLenbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLenbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLenbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLenbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLenbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLenbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequestBuilder.java index 9d715289157..71774437d4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLenbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLenbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lenb Request Builder. */ -public class WorkbookFunctionsLenbRequestBuilder extends BaseWorkbookFunctionsLenbRequestBuilder implements IWorkbookFunctionsLenbRequestBuilder { +public class WorkbookFunctionsLenbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLenbRequestBuilder { /** * The request builder for this WorkbookFunctionsLenb @@ -24,6 +29,36 @@ public class WorkbookFunctionsLenbRequestBuilder extends BaseWorkbookFunctionsLe * @param text the text */ public WorkbookFunctionsLenbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsLenbRequest + * + * @return the IWorkbookFunctionsLenbRequest instance + */ + public IWorkbookFunctionsLenbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLenbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLenbRequest instance + */ + public IWorkbookFunctionsLenbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLenbRequest request = new WorkbookFunctionsLenbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequest.java index 742a8c86049..516937d9436 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLnBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLnRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ln Request. */ -public class WorkbookFunctionsLnRequest extends BaseWorkbookFunctionsLnRequest implements IWorkbookFunctionsLnRequest { +public class WorkbookFunctionsLnRequest extends BaseRequest implements IWorkbookFunctionsLnRequest { + protected final WorkbookFunctionsLnBody body; /** * The request for this WorkbookFunctionsLn @@ -23,6 +32,49 @@ public class WorkbookFunctionsLnRequest extends BaseWorkbookFunctionsLnRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsLnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLnBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLnRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLnRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequestBuilder.java index ac2400c5d58..ce335d1e7d1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ln Request Builder. */ -public class WorkbookFunctionsLnRequestBuilder extends BaseWorkbookFunctionsLnRequestBuilder implements IWorkbookFunctionsLnRequestBuilder { +public class WorkbookFunctionsLnRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLnRequestBuilder { /** * The request builder for this WorkbookFunctionsLn @@ -24,6 +29,36 @@ public class WorkbookFunctionsLnRequestBuilder extends BaseWorkbookFunctionsLnRe * @param number the number */ public WorkbookFunctionsLnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsLnRequest + * + * @return the IWorkbookFunctionsLnRequest instance + */ + public IWorkbookFunctionsLnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLnRequest instance + */ + public IWorkbookFunctionsLnRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLnRequest request = new WorkbookFunctionsLnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10Request.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10Request.java index 2c422c16708..88132b02c49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10Request.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10Request.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLog10Body; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLog10Request; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLog10Request; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log10Request. */ -public class WorkbookFunctionsLog10Request extends BaseWorkbookFunctionsLog10Request implements IWorkbookFunctionsLog10Request { +public class WorkbookFunctionsLog10Request extends BaseRequest implements IWorkbookFunctionsLog10Request { + protected final WorkbookFunctionsLog10Body body; /** * The request for this WorkbookFunctionsLog10 @@ -23,6 +32,49 @@ public class WorkbookFunctionsLog10Request extends BaseWorkbookFunctionsLog10Req * @param requestOptions the options for this request */ public WorkbookFunctionsLog10Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLog10Body(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLog10Request select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLog10Request)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLog10Request top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLog10Request)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLog10Request expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLog10Request)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10RequestBuilder.java index 133267538bb..dc7ae8259a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLog10RequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLog10Request; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLog10RequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log10Request Builder. */ -public class WorkbookFunctionsLog10RequestBuilder extends BaseWorkbookFunctionsLog10RequestBuilder implements IWorkbookFunctionsLog10RequestBuilder { +public class WorkbookFunctionsLog10RequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLog10RequestBuilder { /** * The request builder for this WorkbookFunctionsLog10 @@ -24,6 +29,36 @@ public class WorkbookFunctionsLog10RequestBuilder extends BaseWorkbookFunctionsL * @param number the number */ public WorkbookFunctionsLog10RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsLog10Request + * + * @return the IWorkbookFunctionsLog10Request instance + */ + public IWorkbookFunctionsLog10Request buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLog10Request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLog10Request instance + */ + public IWorkbookFunctionsLog10Request buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLog10Request request = new WorkbookFunctionsLog10Request( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequest.java index e09a1e6301f..ab985999c9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLogNorm_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLogNorm_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Norm_Dist Request. */ -public class WorkbookFunctionsLogNorm_DistRequest extends BaseWorkbookFunctionsLogNorm_DistRequest implements IWorkbookFunctionsLogNorm_DistRequest { +public class WorkbookFunctionsLogNorm_DistRequest extends BaseRequest implements IWorkbookFunctionsLogNorm_DistRequest { + protected final WorkbookFunctionsLogNorm_DistBody body; /** * The request for this WorkbookFunctionsLogNorm_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsLogNorm_DistRequest extends BaseWorkbookFunctionsL * @param requestOptions the options for this request */ public WorkbookFunctionsLogNorm_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLogNorm_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLogNorm_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLogNorm_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLogNorm_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLogNorm_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLogNorm_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLogNorm_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequestBuilder.java index e9186ccd966..643aafafbbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLogNorm_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Norm_Dist Request Builder. */ -public class WorkbookFunctionsLogNorm_DistRequestBuilder extends BaseWorkbookFunctionsLogNorm_DistRequestBuilder implements IWorkbookFunctionsLogNorm_DistRequestBuilder { +public class WorkbookFunctionsLogNorm_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLogNorm_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsLogNorm_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsLogNorm_DistRequestBuilder extends BaseWorkbookFun * @param cumulative the cumulative */ public WorkbookFunctionsLogNorm_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, mean, standardDev, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("mean", mean); + bodyParams.put("standardDev", standardDev); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsLogNorm_DistRequest + * + * @return the IWorkbookFunctionsLogNorm_DistRequest instance + */ + public IWorkbookFunctionsLogNorm_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLogNorm_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLogNorm_DistRequest instance + */ + public IWorkbookFunctionsLogNorm_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLogNorm_DistRequest request = new WorkbookFunctionsLogNorm_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("mean")) { + request.body.mean = getParameter("mean"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequest.java index 0392912902f..136ae1561a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLogNorm_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLogNorm_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Norm_Inv Request. */ -public class WorkbookFunctionsLogNorm_InvRequest extends BaseWorkbookFunctionsLogNorm_InvRequest implements IWorkbookFunctionsLogNorm_InvRequest { +public class WorkbookFunctionsLogNorm_InvRequest extends BaseRequest implements IWorkbookFunctionsLogNorm_InvRequest { + protected final WorkbookFunctionsLogNorm_InvBody body; /** * The request for this WorkbookFunctionsLogNorm_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsLogNorm_InvRequest extends BaseWorkbookFunctionsLo * @param requestOptions the options for this request */ public WorkbookFunctionsLogNorm_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLogNorm_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLogNorm_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLogNorm_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLogNorm_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLogNorm_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLogNorm_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLogNorm_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequestBuilder.java index a4ba250fc95..a375eb35bbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogNorm_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLogNorm_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Norm_Inv Request Builder. */ -public class WorkbookFunctionsLogNorm_InvRequestBuilder extends BaseWorkbookFunctionsLogNorm_InvRequestBuilder implements IWorkbookFunctionsLogNorm_InvRequestBuilder { +public class WorkbookFunctionsLogNorm_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLogNorm_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsLogNorm_Inv @@ -26,6 +31,46 @@ public class WorkbookFunctionsLogNorm_InvRequestBuilder extends BaseWorkbookFunc * @param standardDev the standardDev */ public WorkbookFunctionsLogNorm_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - super(requestUrl, client, requestOptions, probability, mean, standardDev); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("mean", mean); + bodyParams.put("standardDev", standardDev); + } + + /** + * Creates the IWorkbookFunctionsLogNorm_InvRequest + * + * @return the IWorkbookFunctionsLogNorm_InvRequest instance + */ + public IWorkbookFunctionsLogNorm_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLogNorm_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLogNorm_InvRequest instance + */ + public IWorkbookFunctionsLogNorm_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLogNorm_InvRequest request = new WorkbookFunctionsLogNorm_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("mean")) { + request.body.mean = getParameter("mean"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequest.java index bd6735a0571..89108825296 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLogBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLogRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Request. */ -public class WorkbookFunctionsLogRequest extends BaseWorkbookFunctionsLogRequest implements IWorkbookFunctionsLogRequest { +public class WorkbookFunctionsLogRequest extends BaseRequest implements IWorkbookFunctionsLogRequest { + protected final WorkbookFunctionsLogBody body; /** * The request for this WorkbookFunctionsLog @@ -23,6 +32,49 @@ public class WorkbookFunctionsLogRequest extends BaseWorkbookFunctionsLogRequest * @param requestOptions the options for this request */ public WorkbookFunctionsLogRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLogBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLogRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLogRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLogRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLogRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLogRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLogRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequestBuilder.java index d1f813f44b6..f2420f0a6a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLogRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLogRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Log Request Builder. */ -public class WorkbookFunctionsLogRequestBuilder extends BaseWorkbookFunctionsLogRequestBuilder implements IWorkbookFunctionsLogRequestBuilder { +public class WorkbookFunctionsLogRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLogRequestBuilder { /** * The request builder for this WorkbookFunctionsLog @@ -25,6 +30,41 @@ public class WorkbookFunctionsLogRequestBuilder extends BaseWorkbookFunctionsLog * @param base the base */ public WorkbookFunctionsLogRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement base) { - super(requestUrl, client, requestOptions, number, base); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("base", base); + } + + /** + * Creates the IWorkbookFunctionsLogRequest + * + * @return the IWorkbookFunctionsLogRequest instance + */ + public IWorkbookFunctionsLogRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLogRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLogRequest instance + */ + public IWorkbookFunctionsLogRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLogRequest request = new WorkbookFunctionsLogRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("base")) { + request.body.base = getParameter("base"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequest.java index c4dafedb8bf..335cf5f6a2e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLookupBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLookupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLookupRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lookup Request. */ -public class WorkbookFunctionsLookupRequest extends BaseWorkbookFunctionsLookupRequest implements IWorkbookFunctionsLookupRequest { +public class WorkbookFunctionsLookupRequest extends BaseRequest implements IWorkbookFunctionsLookupRequest { + protected final WorkbookFunctionsLookupBody body; /** * The request for this WorkbookFunctionsLookup @@ -23,6 +32,49 @@ public class WorkbookFunctionsLookupRequest extends BaseWorkbookFunctionsLookupR * @param requestOptions the options for this request */ public WorkbookFunctionsLookupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLookupBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLookupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLookupRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLookupRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLookupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLookupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLookupRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequestBuilder.java index 2d436aff9d7..87dbec4c89c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLookupRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLookupRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLookupRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lookup Request Builder. */ -public class WorkbookFunctionsLookupRequestBuilder extends BaseWorkbookFunctionsLookupRequestBuilder implements IWorkbookFunctionsLookupRequestBuilder { +public class WorkbookFunctionsLookupRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLookupRequestBuilder { /** * The request builder for this WorkbookFunctionsLookup @@ -26,6 +31,46 @@ public class WorkbookFunctionsLookupRequestBuilder extends BaseWorkbookFunctions * @param resultVector the resultVector */ public WorkbookFunctionsLookupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupVector, final com.google.gson.JsonElement resultVector) { - super(requestUrl, client, requestOptions, lookupValue, lookupVector, resultVector); + super(requestUrl, client, requestOptions); + bodyParams.put("lookupValue", lookupValue); + bodyParams.put("lookupVector", lookupVector); + bodyParams.put("resultVector", resultVector); + } + + /** + * Creates the IWorkbookFunctionsLookupRequest + * + * @return the IWorkbookFunctionsLookupRequest instance + */ + public IWorkbookFunctionsLookupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLookupRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLookupRequest instance + */ + public IWorkbookFunctionsLookupRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLookupRequest request = new WorkbookFunctionsLookupRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("lookupValue")) { + request.body.lookupValue = getParameter("lookupValue"); + } + + if (hasParameter("lookupVector")) { + request.body.lookupVector = getParameter("lookupVector"); + } + + if (hasParameter("resultVector")) { + request.body.resultVector = getParameter("resultVector"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequest.java index e57e41c1db2..9b92c8974a3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsLowerBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLowerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLowerRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lower Request. */ -public class WorkbookFunctionsLowerRequest extends BaseWorkbookFunctionsLowerRequest implements IWorkbookFunctionsLowerRequest { +public class WorkbookFunctionsLowerRequest extends BaseRequest implements IWorkbookFunctionsLowerRequest { + protected final WorkbookFunctionsLowerBody body; /** * The request for this WorkbookFunctionsLower @@ -23,6 +32,49 @@ public class WorkbookFunctionsLowerRequest extends BaseWorkbookFunctionsLowerReq * @param requestOptions the options for this request */ public WorkbookFunctionsLowerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsLowerBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsLowerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsLowerRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsLowerRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsLowerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsLowerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsLowerRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequestBuilder.java index ad5218964a5..9649324783f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsLowerRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLowerRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsLowerRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Lower Request Builder. */ -public class WorkbookFunctionsLowerRequestBuilder extends BaseWorkbookFunctionsLowerRequestBuilder implements IWorkbookFunctionsLowerRequestBuilder { +public class WorkbookFunctionsLowerRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsLowerRequestBuilder { /** * The request builder for this WorkbookFunctionsLower @@ -24,6 +29,36 @@ public class WorkbookFunctionsLowerRequestBuilder extends BaseWorkbookFunctionsL * @param text the text */ public WorkbookFunctionsLowerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsLowerRequest + * + * @return the IWorkbookFunctionsLowerRequest instance + */ + public IWorkbookFunctionsLowerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsLowerRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsLowerRequest instance + */ + public IWorkbookFunctionsLowerRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsLowerRequest request = new WorkbookFunctionsLowerRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequest.java index 79c5527f3cf..88317ff0a40 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMatchBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMatchRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMatchRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Match Request. */ -public class WorkbookFunctionsMatchRequest extends BaseWorkbookFunctionsMatchRequest implements IWorkbookFunctionsMatchRequest { +public class WorkbookFunctionsMatchRequest extends BaseRequest implements IWorkbookFunctionsMatchRequest { + protected final WorkbookFunctionsMatchBody body; /** * The request for this WorkbookFunctionsMatch @@ -23,6 +32,49 @@ public class WorkbookFunctionsMatchRequest extends BaseWorkbookFunctionsMatchReq * @param requestOptions the options for this request */ public WorkbookFunctionsMatchRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMatchBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMatchRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMatchRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMatchRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMatchRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMatchRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMatchRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequestBuilder.java index 36575af9a27..90e1e9b24ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMatchRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMatchRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMatchRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Match Request Builder. */ -public class WorkbookFunctionsMatchRequestBuilder extends BaseWorkbookFunctionsMatchRequestBuilder implements IWorkbookFunctionsMatchRequestBuilder { +public class WorkbookFunctionsMatchRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMatchRequestBuilder { /** * The request builder for this WorkbookFunctionsMatch @@ -26,6 +31,46 @@ public class WorkbookFunctionsMatchRequestBuilder extends BaseWorkbookFunctionsM * @param matchType the matchType */ public WorkbookFunctionsMatchRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupArray, final com.google.gson.JsonElement matchType) { - super(requestUrl, client, requestOptions, lookupValue, lookupArray, matchType); + super(requestUrl, client, requestOptions); + bodyParams.put("lookupValue", lookupValue); + bodyParams.put("lookupArray", lookupArray); + bodyParams.put("matchType", matchType); + } + + /** + * Creates the IWorkbookFunctionsMatchRequest + * + * @return the IWorkbookFunctionsMatchRequest instance + */ + public IWorkbookFunctionsMatchRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMatchRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMatchRequest instance + */ + public IWorkbookFunctionsMatchRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMatchRequest request = new WorkbookFunctionsMatchRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("lookupValue")) { + request.body.lookupValue = getParameter("lookupValue"); + } + + if (hasParameter("lookupArray")) { + request.body.lookupArray = getParameter("lookupArray"); + } + + if (hasParameter("matchType")) { + request.body.matchType = getParameter("matchType"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequest.java index 7954f9172f6..4a25aa6ef2f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMaxABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMaxARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Max ARequest. */ -public class WorkbookFunctionsMaxARequest extends BaseWorkbookFunctionsMaxARequest implements IWorkbookFunctionsMaxARequest { +public class WorkbookFunctionsMaxARequest extends BaseRequest implements IWorkbookFunctionsMaxARequest { + protected final WorkbookFunctionsMaxABody body; /** * The request for this WorkbookFunctionsMaxA @@ -23,6 +32,49 @@ public class WorkbookFunctionsMaxARequest extends BaseWorkbookFunctionsMaxAReque * @param requestOptions the options for this request */ public WorkbookFunctionsMaxARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMaxABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMaxARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMaxARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMaxARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMaxARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMaxARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMaxARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequestBuilder.java index 626e3a7572c..aa0d2258d54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMaxARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Max ARequest Builder. */ -public class WorkbookFunctionsMaxARequestBuilder extends BaseWorkbookFunctionsMaxARequestBuilder implements IWorkbookFunctionsMaxARequestBuilder { +public class WorkbookFunctionsMaxARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMaxARequestBuilder { /** * The request builder for this WorkbookFunctionsMaxA @@ -24,6 +29,36 @@ public class WorkbookFunctionsMaxARequestBuilder extends BaseWorkbookFunctionsMa * @param values the values */ public WorkbookFunctionsMaxARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsMaxARequest + * + * @return the IWorkbookFunctionsMaxARequest instance + */ + public IWorkbookFunctionsMaxARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMaxARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMaxARequest instance + */ + public IWorkbookFunctionsMaxARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMaxARequest request = new WorkbookFunctionsMaxARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequest.java index 1fa202449c9..72900d7322a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMaxBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMaxRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Max Request. */ -public class WorkbookFunctionsMaxRequest extends BaseWorkbookFunctionsMaxRequest implements IWorkbookFunctionsMaxRequest { +public class WorkbookFunctionsMaxRequest extends BaseRequest implements IWorkbookFunctionsMaxRequest { + protected final WorkbookFunctionsMaxBody body; /** * The request for this WorkbookFunctionsMax @@ -23,6 +32,49 @@ public class WorkbookFunctionsMaxRequest extends BaseWorkbookFunctionsMaxRequest * @param requestOptions the options for this request */ public WorkbookFunctionsMaxRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMaxBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMaxRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMaxRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMaxRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMaxRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMaxRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMaxRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequestBuilder.java index a34f96d273b..55d211e3af6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMaxRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMaxRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Max Request Builder. */ -public class WorkbookFunctionsMaxRequestBuilder extends BaseWorkbookFunctionsMaxRequestBuilder implements IWorkbookFunctionsMaxRequestBuilder { +public class WorkbookFunctionsMaxRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMaxRequestBuilder { /** * The request builder for this WorkbookFunctionsMax @@ -24,6 +29,36 @@ public class WorkbookFunctionsMaxRequestBuilder extends BaseWorkbookFunctionsMax * @param values the values */ public WorkbookFunctionsMaxRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsMaxRequest + * + * @return the IWorkbookFunctionsMaxRequest instance + */ + public IWorkbookFunctionsMaxRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMaxRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMaxRequest instance + */ + public IWorkbookFunctionsMaxRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMaxRequest request = new WorkbookFunctionsMaxRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequest.java index 99fe18646bd..556a31a9a4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMdurationBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMdurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMdurationRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mduration Request. */ -public class WorkbookFunctionsMdurationRequest extends BaseWorkbookFunctionsMdurationRequest implements IWorkbookFunctionsMdurationRequest { +public class WorkbookFunctionsMdurationRequest extends BaseRequest implements IWorkbookFunctionsMdurationRequest { + protected final WorkbookFunctionsMdurationBody body; /** * The request for this WorkbookFunctionsMduration @@ -23,6 +32,49 @@ public class WorkbookFunctionsMdurationRequest extends BaseWorkbookFunctionsMdur * @param requestOptions the options for this request */ public WorkbookFunctionsMdurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMdurationBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMdurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMdurationRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMdurationRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMdurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMdurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMdurationRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequestBuilder.java index 9c208fd4239..6847a3143fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMdurationRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMdurationRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMdurationRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mduration Request Builder. */ -public class WorkbookFunctionsMdurationRequestBuilder extends BaseWorkbookFunctionsMdurationRequestBuilder implements IWorkbookFunctionsMdurationRequestBuilder { +public class WorkbookFunctionsMdurationRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMdurationRequestBuilder { /** * The request builder for this WorkbookFunctionsMduration @@ -29,6 +34,61 @@ public class WorkbookFunctionsMdurationRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsMdurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, coupon, yld, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("coupon", coupon); + bodyParams.put("yld", yld); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsMdurationRequest + * + * @return the IWorkbookFunctionsMdurationRequest instance + */ + public IWorkbookFunctionsMdurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMdurationRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMdurationRequest instance + */ + public IWorkbookFunctionsMdurationRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMdurationRequest request = new WorkbookFunctionsMdurationRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("coupon")) { + request.body.coupon = getParameter("coupon"); + } + + if (hasParameter("yld")) { + request.body.yld = getParameter("yld"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequest.java index d6f82c80be4..f4c58d53cbc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMedianBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMedianRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMedianRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Median Request. */ -public class WorkbookFunctionsMedianRequest extends BaseWorkbookFunctionsMedianRequest implements IWorkbookFunctionsMedianRequest { +public class WorkbookFunctionsMedianRequest extends BaseRequest implements IWorkbookFunctionsMedianRequest { + protected final WorkbookFunctionsMedianBody body; /** * The request for this WorkbookFunctionsMedian @@ -23,6 +32,49 @@ public class WorkbookFunctionsMedianRequest extends BaseWorkbookFunctionsMedianR * @param requestOptions the options for this request */ public WorkbookFunctionsMedianRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMedianBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMedianRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMedianRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMedianRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMedianRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMedianRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMedianRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequestBuilder.java index 96fe08ac41d..4e7a422cc50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMedianRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMedianRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMedianRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Median Request Builder. */ -public class WorkbookFunctionsMedianRequestBuilder extends BaseWorkbookFunctionsMedianRequestBuilder implements IWorkbookFunctionsMedianRequestBuilder { +public class WorkbookFunctionsMedianRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMedianRequestBuilder { /** * The request builder for this WorkbookFunctionsMedian @@ -24,6 +29,36 @@ public class WorkbookFunctionsMedianRequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsMedianRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsMedianRequest + * + * @return the IWorkbookFunctionsMedianRequest instance + */ + public IWorkbookFunctionsMedianRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMedianRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMedianRequest instance + */ + public IWorkbookFunctionsMedianRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMedianRequest request = new WorkbookFunctionsMedianRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequest.java index 7a6379641d7..39bbedf77a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMidBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMidRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mid Request. */ -public class WorkbookFunctionsMidRequest extends BaseWorkbookFunctionsMidRequest implements IWorkbookFunctionsMidRequest { +public class WorkbookFunctionsMidRequest extends BaseRequest implements IWorkbookFunctionsMidRequest { + protected final WorkbookFunctionsMidBody body; /** * The request for this WorkbookFunctionsMid @@ -23,6 +32,49 @@ public class WorkbookFunctionsMidRequest extends BaseWorkbookFunctionsMidRequest * @param requestOptions the options for this request */ public WorkbookFunctionsMidRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMidBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMidRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMidRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMidRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMidRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMidRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMidRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequestBuilder.java index 05143d325c3..637333fd217 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMidRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mid Request Builder. */ -public class WorkbookFunctionsMidRequestBuilder extends BaseWorkbookFunctionsMidRequestBuilder implements IWorkbookFunctionsMidRequestBuilder { +public class WorkbookFunctionsMidRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMidRequestBuilder { /** * The request builder for this WorkbookFunctionsMid @@ -26,6 +31,46 @@ public class WorkbookFunctionsMidRequestBuilder extends BaseWorkbookFunctionsMid * @param numChars the numChars */ public WorkbookFunctionsMidRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars) { - super(requestUrl, client, requestOptions, text, startNum, numChars); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("startNum", startNum); + bodyParams.put("numChars", numChars); + } + + /** + * Creates the IWorkbookFunctionsMidRequest + * + * @return the IWorkbookFunctionsMidRequest instance + */ + public IWorkbookFunctionsMidRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMidRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMidRequest instance + */ + public IWorkbookFunctionsMidRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMidRequest request = new WorkbookFunctionsMidRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("startNum")) { + request.body.startNum = getParameter("startNum"); + } + + if (hasParameter("numChars")) { + request.body.numChars = getParameter("numChars"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequest.java index 51fd6d45d49..35adbfbf474 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMidbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMidbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Midb Request. */ -public class WorkbookFunctionsMidbRequest extends BaseWorkbookFunctionsMidbRequest implements IWorkbookFunctionsMidbRequest { +public class WorkbookFunctionsMidbRequest extends BaseRequest implements IWorkbookFunctionsMidbRequest { + protected final WorkbookFunctionsMidbBody body; /** * The request for this WorkbookFunctionsMidb @@ -23,6 +32,49 @@ public class WorkbookFunctionsMidbRequest extends BaseWorkbookFunctionsMidbReque * @param requestOptions the options for this request */ public WorkbookFunctionsMidbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMidbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMidbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMidbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMidbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMidbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMidbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMidbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequestBuilder.java index 6835086bf66..9dad0a9a15e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMidbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMidbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Midb Request Builder. */ -public class WorkbookFunctionsMidbRequestBuilder extends BaseWorkbookFunctionsMidbRequestBuilder implements IWorkbookFunctionsMidbRequestBuilder { +public class WorkbookFunctionsMidbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMidbRequestBuilder { /** * The request builder for this WorkbookFunctionsMidb @@ -26,6 +31,46 @@ public class WorkbookFunctionsMidbRequestBuilder extends BaseWorkbookFunctionsMi * @param numBytes the numBytes */ public WorkbookFunctionsMidbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes) { - super(requestUrl, client, requestOptions, text, startNum, numBytes); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("startNum", startNum); + bodyParams.put("numBytes", numBytes); + } + + /** + * Creates the IWorkbookFunctionsMidbRequest + * + * @return the IWorkbookFunctionsMidbRequest instance + */ + public IWorkbookFunctionsMidbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMidbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMidbRequest instance + */ + public IWorkbookFunctionsMidbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMidbRequest request = new WorkbookFunctionsMidbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("startNum")) { + request.body.startNum = getParameter("startNum"); + } + + if (hasParameter("numBytes")) { + request.body.numBytes = getParameter("numBytes"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequest.java index cddf7fa1818..33c0c147b4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMinABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMinARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Min ARequest. */ -public class WorkbookFunctionsMinARequest extends BaseWorkbookFunctionsMinARequest implements IWorkbookFunctionsMinARequest { +public class WorkbookFunctionsMinARequest extends BaseRequest implements IWorkbookFunctionsMinARequest { + protected final WorkbookFunctionsMinABody body; /** * The request for this WorkbookFunctionsMinA @@ -23,6 +32,49 @@ public class WorkbookFunctionsMinARequest extends BaseWorkbookFunctionsMinAReque * @param requestOptions the options for this request */ public WorkbookFunctionsMinARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMinABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMinARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMinARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMinARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMinARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMinARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMinARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequestBuilder.java index 00924b0c03f..8427b96590d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMinARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Min ARequest Builder. */ -public class WorkbookFunctionsMinARequestBuilder extends BaseWorkbookFunctionsMinARequestBuilder implements IWorkbookFunctionsMinARequestBuilder { +public class WorkbookFunctionsMinARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMinARequestBuilder { /** * The request builder for this WorkbookFunctionsMinA @@ -24,6 +29,36 @@ public class WorkbookFunctionsMinARequestBuilder extends BaseWorkbookFunctionsMi * @param values the values */ public WorkbookFunctionsMinARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsMinARequest + * + * @return the IWorkbookFunctionsMinARequest instance + */ + public IWorkbookFunctionsMinARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMinARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMinARequest instance + */ + public IWorkbookFunctionsMinARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMinARequest request = new WorkbookFunctionsMinARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequest.java index bc2f4493eef..7d7dd74ad2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Min Request. */ -public class WorkbookFunctionsMinRequest extends BaseWorkbookFunctionsMinRequest implements IWorkbookFunctionsMinRequest { +public class WorkbookFunctionsMinRequest extends BaseRequest implements IWorkbookFunctionsMinRequest { + protected final WorkbookFunctionsMinBody body; /** * The request for this WorkbookFunctionsMin @@ -23,6 +32,49 @@ public class WorkbookFunctionsMinRequest extends BaseWorkbookFunctionsMinRequest * @param requestOptions the options for this request */ public WorkbookFunctionsMinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequestBuilder.java index a8e1ec544d7..22f74cf4c19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Min Request Builder. */ -public class WorkbookFunctionsMinRequestBuilder extends BaseWorkbookFunctionsMinRequestBuilder implements IWorkbookFunctionsMinRequestBuilder { +public class WorkbookFunctionsMinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMinRequestBuilder { /** * The request builder for this WorkbookFunctionsMin @@ -24,6 +29,36 @@ public class WorkbookFunctionsMinRequestBuilder extends BaseWorkbookFunctionsMin * @param values the values */ public WorkbookFunctionsMinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsMinRequest + * + * @return the IWorkbookFunctionsMinRequest instance + */ + public IWorkbookFunctionsMinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMinRequest instance + */ + public IWorkbookFunctionsMinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMinRequest request = new WorkbookFunctionsMinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequest.java index 3a38d207d39..442f5bed467 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMinuteBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinuteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMinuteRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Minute Request. */ -public class WorkbookFunctionsMinuteRequest extends BaseWorkbookFunctionsMinuteRequest implements IWorkbookFunctionsMinuteRequest { +public class WorkbookFunctionsMinuteRequest extends BaseRequest implements IWorkbookFunctionsMinuteRequest { + protected final WorkbookFunctionsMinuteBody body; /** * The request for this WorkbookFunctionsMinute @@ -23,6 +32,49 @@ public class WorkbookFunctionsMinuteRequest extends BaseWorkbookFunctionsMinuteR * @param requestOptions the options for this request */ public WorkbookFunctionsMinuteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMinuteBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMinuteRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMinuteRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMinuteRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMinuteRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMinuteRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMinuteRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequestBuilder.java index 8f09b2ba839..2143975bee3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMinuteRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinuteRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMinuteRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Minute Request Builder. */ -public class WorkbookFunctionsMinuteRequestBuilder extends BaseWorkbookFunctionsMinuteRequestBuilder implements IWorkbookFunctionsMinuteRequestBuilder { +public class WorkbookFunctionsMinuteRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMinuteRequestBuilder { /** * The request builder for this WorkbookFunctionsMinute @@ -24,6 +29,36 @@ public class WorkbookFunctionsMinuteRequestBuilder extends BaseWorkbookFunctions * @param serialNumber the serialNumber */ public WorkbookFunctionsMinuteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions, serialNumber); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + } + + /** + * Creates the IWorkbookFunctionsMinuteRequest + * + * @return the IWorkbookFunctionsMinuteRequest instance + */ + public IWorkbookFunctionsMinuteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMinuteRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMinuteRequest instance + */ + public IWorkbookFunctionsMinuteRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMinuteRequest request = new WorkbookFunctionsMinuteRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequest.java index 8b2c61654e0..8042d1837e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMirrBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMirrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMirrRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mirr Request. */ -public class WorkbookFunctionsMirrRequest extends BaseWorkbookFunctionsMirrRequest implements IWorkbookFunctionsMirrRequest { +public class WorkbookFunctionsMirrRequest extends BaseRequest implements IWorkbookFunctionsMirrRequest { + protected final WorkbookFunctionsMirrBody body; /** * The request for this WorkbookFunctionsMirr @@ -23,6 +32,49 @@ public class WorkbookFunctionsMirrRequest extends BaseWorkbookFunctionsMirrReque * @param requestOptions the options for this request */ public WorkbookFunctionsMirrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMirrBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMirrRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMirrRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMirrRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMirrRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMirrRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMirrRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequestBuilder.java index 70eb30c7dd3..852a195f805 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMirrRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMirrRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMirrRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mirr Request Builder. */ -public class WorkbookFunctionsMirrRequestBuilder extends BaseWorkbookFunctionsMirrRequestBuilder implements IWorkbookFunctionsMirrRequestBuilder { +public class WorkbookFunctionsMirrRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMirrRequestBuilder { /** * The request builder for this WorkbookFunctionsMirr @@ -26,6 +31,46 @@ public class WorkbookFunctionsMirrRequestBuilder extends BaseWorkbookFunctionsMi * @param reinvestRate the reinvestRate */ public WorkbookFunctionsMirrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values, final com.google.gson.JsonElement financeRate, final com.google.gson.JsonElement reinvestRate) { - super(requestUrl, client, requestOptions, values, financeRate, reinvestRate); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + bodyParams.put("financeRate", financeRate); + bodyParams.put("reinvestRate", reinvestRate); + } + + /** + * Creates the IWorkbookFunctionsMirrRequest + * + * @return the IWorkbookFunctionsMirrRequest instance + */ + public IWorkbookFunctionsMirrRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMirrRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMirrRequest instance + */ + public IWorkbookFunctionsMirrRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMirrRequest request = new WorkbookFunctionsMirrRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + if (hasParameter("financeRate")) { + request.body.financeRate = getParameter("financeRate"); + } + + if (hasParameter("reinvestRate")) { + request.body.reinvestRate = getParameter("reinvestRate"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequest.java index 0f1df02e39b..1c6b902e202 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsModBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsModRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsModRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mod Request. */ -public class WorkbookFunctionsModRequest extends BaseWorkbookFunctionsModRequest implements IWorkbookFunctionsModRequest { +public class WorkbookFunctionsModRequest extends BaseRequest implements IWorkbookFunctionsModRequest { + protected final WorkbookFunctionsModBody body; /** * The request for this WorkbookFunctionsMod @@ -23,6 +32,49 @@ public class WorkbookFunctionsModRequest extends BaseWorkbookFunctionsModRequest * @param requestOptions the options for this request */ public WorkbookFunctionsModRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsModBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsModRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsModRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsModRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsModRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsModRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsModRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequestBuilder.java index a686f2e7080..ca346d82bc4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsModRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsModRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsModRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mod Request Builder. */ -public class WorkbookFunctionsModRequestBuilder extends BaseWorkbookFunctionsModRequestBuilder implements IWorkbookFunctionsModRequestBuilder { +public class WorkbookFunctionsModRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsModRequestBuilder { /** * The request builder for this WorkbookFunctionsMod @@ -25,6 +30,41 @@ public class WorkbookFunctionsModRequestBuilder extends BaseWorkbookFunctionsMod * @param divisor the divisor */ public WorkbookFunctionsModRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement divisor) { - super(requestUrl, client, requestOptions, number, divisor); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("divisor", divisor); + } + + /** + * Creates the IWorkbookFunctionsModRequest + * + * @return the IWorkbookFunctionsModRequest instance + */ + public IWorkbookFunctionsModRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsModRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsModRequest instance + */ + public IWorkbookFunctionsModRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsModRequest request = new WorkbookFunctionsModRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("divisor")) { + request.body.divisor = getParameter("divisor"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequest.java index 310cc9ab72b..860659f1aab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMonthBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMonthRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMonthRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Month Request. */ -public class WorkbookFunctionsMonthRequest extends BaseWorkbookFunctionsMonthRequest implements IWorkbookFunctionsMonthRequest { +public class WorkbookFunctionsMonthRequest extends BaseRequest implements IWorkbookFunctionsMonthRequest { + protected final WorkbookFunctionsMonthBody body; /** * The request for this WorkbookFunctionsMonth @@ -23,6 +32,49 @@ public class WorkbookFunctionsMonthRequest extends BaseWorkbookFunctionsMonthReq * @param requestOptions the options for this request */ public WorkbookFunctionsMonthRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMonthBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMonthRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMonthRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMonthRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMonthRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMonthRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMonthRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequestBuilder.java index 1a008898d12..20100f4f2ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMonthRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMonthRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMonthRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Month Request Builder. */ -public class WorkbookFunctionsMonthRequestBuilder extends BaseWorkbookFunctionsMonthRequestBuilder implements IWorkbookFunctionsMonthRequestBuilder { +public class WorkbookFunctionsMonthRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMonthRequestBuilder { /** * The request builder for this WorkbookFunctionsMonth @@ -24,6 +29,36 @@ public class WorkbookFunctionsMonthRequestBuilder extends BaseWorkbookFunctionsM * @param serialNumber the serialNumber */ public WorkbookFunctionsMonthRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions, serialNumber); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + } + + /** + * Creates the IWorkbookFunctionsMonthRequest + * + * @return the IWorkbookFunctionsMonthRequest instance + */ + public IWorkbookFunctionsMonthRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMonthRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMonthRequest instance + */ + public IWorkbookFunctionsMonthRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMonthRequest request = new WorkbookFunctionsMonthRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequest.java index c4af541f556..c3fab15abe9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMroundBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMroundRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMroundRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mround Request. */ -public class WorkbookFunctionsMroundRequest extends BaseWorkbookFunctionsMroundRequest implements IWorkbookFunctionsMroundRequest { +public class WorkbookFunctionsMroundRequest extends BaseRequest implements IWorkbookFunctionsMroundRequest { + protected final WorkbookFunctionsMroundBody body; /** * The request for this WorkbookFunctionsMround @@ -23,6 +32,49 @@ public class WorkbookFunctionsMroundRequest extends BaseWorkbookFunctionsMroundR * @param requestOptions the options for this request */ public WorkbookFunctionsMroundRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMroundBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMroundRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMroundRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMroundRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMroundRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMroundRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMroundRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequestBuilder.java index f1a0ae8ccae..8eca5a54d20 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMroundRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMroundRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMroundRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Mround Request Builder. */ -public class WorkbookFunctionsMroundRequestBuilder extends BaseWorkbookFunctionsMroundRequestBuilder implements IWorkbookFunctionsMroundRequestBuilder { +public class WorkbookFunctionsMroundRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMroundRequestBuilder { /** * The request builder for this WorkbookFunctionsMround @@ -25,6 +30,41 @@ public class WorkbookFunctionsMroundRequestBuilder extends BaseWorkbookFunctions * @param multiple the multiple */ public WorkbookFunctionsMroundRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement multiple) { - super(requestUrl, client, requestOptions, number, multiple); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("multiple", multiple); + } + + /** + * Creates the IWorkbookFunctionsMroundRequest + * + * @return the IWorkbookFunctionsMroundRequest instance + */ + public IWorkbookFunctionsMroundRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMroundRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMroundRequest instance + */ + public IWorkbookFunctionsMroundRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMroundRequest request = new WorkbookFunctionsMroundRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("multiple")) { + request.body.multiple = getParameter("multiple"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequest.java index 792b3cb8250..6f79ecc3a17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsMultiNomialBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMultiNomialRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMultiNomialRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Multi Nomial Request. */ -public class WorkbookFunctionsMultiNomialRequest extends BaseWorkbookFunctionsMultiNomialRequest implements IWorkbookFunctionsMultiNomialRequest { +public class WorkbookFunctionsMultiNomialRequest extends BaseRequest implements IWorkbookFunctionsMultiNomialRequest { + protected final WorkbookFunctionsMultiNomialBody body; /** * The request for this WorkbookFunctionsMultiNomial @@ -23,6 +32,49 @@ public class WorkbookFunctionsMultiNomialRequest extends BaseWorkbookFunctionsMu * @param requestOptions the options for this request */ public WorkbookFunctionsMultiNomialRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsMultiNomialBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsMultiNomialRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsMultiNomialRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsMultiNomialRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsMultiNomialRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsMultiNomialRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsMultiNomialRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequestBuilder.java index ae17e1f03a9..ba8d599d45c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsMultiNomialRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMultiNomialRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsMultiNomialRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Multi Nomial Request Builder. */ -public class WorkbookFunctionsMultiNomialRequestBuilder extends BaseWorkbookFunctionsMultiNomialRequestBuilder implements IWorkbookFunctionsMultiNomialRequestBuilder { +public class WorkbookFunctionsMultiNomialRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsMultiNomialRequestBuilder { /** * The request builder for this WorkbookFunctionsMultiNomial @@ -24,6 +29,36 @@ public class WorkbookFunctionsMultiNomialRequestBuilder extends BaseWorkbookFunc * @param values the values */ public WorkbookFunctionsMultiNomialRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsMultiNomialRequest + * + * @return the IWorkbookFunctionsMultiNomialRequest instance + */ + public IWorkbookFunctionsMultiNomialRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsMultiNomialRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsMultiNomialRequest instance + */ + public IWorkbookFunctionsMultiNomialRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsMultiNomialRequest request = new WorkbookFunctionsMultiNomialRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequest.java index b06733e6b0f..3712ad3cf34 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions NRequest. */ -public class WorkbookFunctionsNRequest extends BaseWorkbookFunctionsNRequest implements IWorkbookFunctionsNRequest { +public class WorkbookFunctionsNRequest extends BaseRequest implements IWorkbookFunctionsNRequest { + protected final WorkbookFunctionsNBody body; /** * The request for this WorkbookFunctionsN @@ -23,6 +32,49 @@ public class WorkbookFunctionsNRequest extends BaseWorkbookFunctionsNRequest imp * @param requestOptions the options for this request */ public WorkbookFunctionsNRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequestBuilder.java index 61b5a371bcf..d308073a73a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions NRequest Builder. */ -public class WorkbookFunctionsNRequestBuilder extends BaseWorkbookFunctionsNRequestBuilder implements IWorkbookFunctionsNRequestBuilder { +public class WorkbookFunctionsNRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNRequestBuilder { /** * The request builder for this WorkbookFunctionsN @@ -24,6 +29,36 @@ public class WorkbookFunctionsNRequestBuilder extends BaseWorkbookFunctionsNRequ * @param value the value */ public WorkbookFunctionsNRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsNRequest + * + * @return the IWorkbookFunctionsNRequest instance + */ + public IWorkbookFunctionsNRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNRequest instance + */ + public IWorkbookFunctionsNRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNRequest request = new WorkbookFunctionsNRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequest.java index 0ac355c8cf5..ab64f9ba2e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNaRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Na Request. */ -public class WorkbookFunctionsNaRequest extends BaseWorkbookFunctionsNaRequest implements IWorkbookFunctionsNaRequest { +public class WorkbookFunctionsNaRequest extends BaseRequest implements IWorkbookFunctionsNaRequest { /** * The request for this WorkbookFunctionsNa @@ -23,6 +31,48 @@ public class WorkbookFunctionsNaRequest extends BaseWorkbookFunctionsNaRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsNaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsNa + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsNa + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNaRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNaRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNaRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNaRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequestBuilder.java index 4b265a21836..4ac47be6925 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNaRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNaRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNaRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Na Request Builder. */ -public class WorkbookFunctionsNaRequestBuilder extends BaseWorkbookFunctionsNaRequestBuilder implements IWorkbookFunctionsNaRequestBuilder { +public class WorkbookFunctionsNaRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNaRequestBuilder { /** * The request builder for this WorkbookFunctionsNa @@ -25,4 +30,29 @@ public class WorkbookFunctionsNaRequestBuilder extends BaseWorkbookFunctionsNaRe public WorkbookFunctionsNaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsNaRequest + * + * @return the IWorkbookFunctionsNaRequest instance + */ + public IWorkbookFunctionsNaRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNaRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNaRequest instance + */ + public IWorkbookFunctionsNaRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNaRequest request = new WorkbookFunctionsNaRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequest.java index 7cc62347cf0..98f2b7c7d37 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNegBinom_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNegBinom_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNegBinom_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Neg Binom_Dist Request. */ -public class WorkbookFunctionsNegBinom_DistRequest extends BaseWorkbookFunctionsNegBinom_DistRequest implements IWorkbookFunctionsNegBinom_DistRequest { +public class WorkbookFunctionsNegBinom_DistRequest extends BaseRequest implements IWorkbookFunctionsNegBinom_DistRequest { + protected final WorkbookFunctionsNegBinom_DistBody body; /** * The request for this WorkbookFunctionsNegBinom_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsNegBinom_DistRequest extends BaseWorkbookFunctions * @param requestOptions the options for this request */ public WorkbookFunctionsNegBinom_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNegBinom_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNegBinom_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNegBinom_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNegBinom_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNegBinom_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNegBinom_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNegBinom_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequestBuilder.java index 64b2c509f5e..074b1d795e3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNegBinom_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNegBinom_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNegBinom_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Neg Binom_Dist Request Builder. */ -public class WorkbookFunctionsNegBinom_DistRequestBuilder extends BaseWorkbookFunctionsNegBinom_DistRequestBuilder implements IWorkbookFunctionsNegBinom_DistRequestBuilder { +public class WorkbookFunctionsNegBinom_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNegBinom_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsNegBinom_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsNegBinom_DistRequestBuilder extends BaseWorkbookFu * @param cumulative the cumulative */ public WorkbookFunctionsNegBinom_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement numberF, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, numberF, numberS, probabilityS, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("numberF", numberF); + bodyParams.put("numberS", numberS); + bodyParams.put("probabilityS", probabilityS); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsNegBinom_DistRequest + * + * @return the IWorkbookFunctionsNegBinom_DistRequest instance + */ + public IWorkbookFunctionsNegBinom_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNegBinom_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNegBinom_DistRequest instance + */ + public IWorkbookFunctionsNegBinom_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNegBinom_DistRequest request = new WorkbookFunctionsNegBinom_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("numberF")) { + request.body.numberF = getParameter("numberF"); + } + + if (hasParameter("numberS")) { + request.body.numberS = getParameter("numberS"); + } + + if (hasParameter("probabilityS")) { + request.body.probabilityS = getParameter("probabilityS"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequest.java index 7e1c617e21a..f3a920cc901 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNetworkDaysBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDaysRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNetworkDaysRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Network Days Request. */ -public class WorkbookFunctionsNetworkDaysRequest extends BaseWorkbookFunctionsNetworkDaysRequest implements IWorkbookFunctionsNetworkDaysRequest { +public class WorkbookFunctionsNetworkDaysRequest extends BaseRequest implements IWorkbookFunctionsNetworkDaysRequest { + protected final WorkbookFunctionsNetworkDaysBody body; /** * The request for this WorkbookFunctionsNetworkDays @@ -23,6 +32,49 @@ public class WorkbookFunctionsNetworkDaysRequest extends BaseWorkbookFunctionsNe * @param requestOptions the options for this request */ public WorkbookFunctionsNetworkDaysRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNetworkDaysBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNetworkDaysRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNetworkDaysRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNetworkDaysRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNetworkDaysRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNetworkDaysRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNetworkDaysRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequestBuilder.java index fe5f28f1bb3..d9387e51d05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDaysRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDaysRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNetworkDaysRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Network Days Request Builder. */ -public class WorkbookFunctionsNetworkDaysRequestBuilder extends BaseWorkbookFunctionsNetworkDaysRequestBuilder implements IWorkbookFunctionsNetworkDaysRequestBuilder { +public class WorkbookFunctionsNetworkDaysRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNetworkDaysRequestBuilder { /** * The request builder for this WorkbookFunctionsNetworkDays @@ -26,6 +31,46 @@ public class WorkbookFunctionsNetworkDaysRequestBuilder extends BaseWorkbookFunc * @param holidays the holidays */ public WorkbookFunctionsNetworkDaysRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions, startDate, endDate, holidays); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("endDate", endDate); + bodyParams.put("holidays", holidays); + } + + /** + * Creates the IWorkbookFunctionsNetworkDaysRequest + * + * @return the IWorkbookFunctionsNetworkDaysRequest instance + */ + public IWorkbookFunctionsNetworkDaysRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNetworkDaysRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNetworkDaysRequest instance + */ + public IWorkbookFunctionsNetworkDaysRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNetworkDaysRequest request = new WorkbookFunctionsNetworkDaysRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("endDate")) { + request.body.endDate = getParameter("endDate"); + } + + if (hasParameter("holidays")) { + request.body.holidays = getParameter("holidays"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequest.java index d28fa689571..29160b3e5c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNetworkDays_IntlBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDays_IntlRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNetworkDays_IntlRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Network Days_Intl Request. */ -public class WorkbookFunctionsNetworkDays_IntlRequest extends BaseWorkbookFunctionsNetworkDays_IntlRequest implements IWorkbookFunctionsNetworkDays_IntlRequest { +public class WorkbookFunctionsNetworkDays_IntlRequest extends BaseRequest implements IWorkbookFunctionsNetworkDays_IntlRequest { + protected final WorkbookFunctionsNetworkDays_IntlBody body; /** * The request for this WorkbookFunctionsNetworkDays_Intl @@ -23,6 +32,49 @@ public class WorkbookFunctionsNetworkDays_IntlRequest extends BaseWorkbookFuncti * @param requestOptions the options for this request */ public WorkbookFunctionsNetworkDays_IntlRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNetworkDays_IntlBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNetworkDays_IntlRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNetworkDays_IntlRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNetworkDays_IntlRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNetworkDays_IntlRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNetworkDays_IntlRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNetworkDays_IntlRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequestBuilder.java index 9d15007f041..37eeacea8f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNetworkDays_IntlRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDays_IntlRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Network Days_Intl Request Builder. */ -public class WorkbookFunctionsNetworkDays_IntlRequestBuilder extends BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder implements IWorkbookFunctionsNetworkDays_IntlRequestBuilder { +public class WorkbookFunctionsNetworkDays_IntlRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNetworkDays_IntlRequestBuilder { /** * The request builder for this WorkbookFunctionsNetworkDays_Intl @@ -27,6 +32,51 @@ public class WorkbookFunctionsNetworkDays_IntlRequestBuilder extends BaseWorkboo * @param holidays the holidays */ public WorkbookFunctionsNetworkDays_IntlRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions, startDate, endDate, weekend, holidays); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("endDate", endDate); + bodyParams.put("weekend", weekend); + bodyParams.put("holidays", holidays); + } + + /** + * Creates the IWorkbookFunctionsNetworkDays_IntlRequest + * + * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance + */ + public IWorkbookFunctionsNetworkDays_IntlRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNetworkDays_IntlRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance + */ + public IWorkbookFunctionsNetworkDays_IntlRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNetworkDays_IntlRequest request = new WorkbookFunctionsNetworkDays_IntlRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("endDate")) { + request.body.endDate = getParameter("endDate"); + } + + if (hasParameter("weekend")) { + request.body.weekend = getParameter("weekend"); + } + + if (hasParameter("holidays")) { + request.body.holidays = getParameter("holidays"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequest.java index 2234eee12fe..ec466ac2ba4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNominalBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNominalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNominalRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Nominal Request. */ -public class WorkbookFunctionsNominalRequest extends BaseWorkbookFunctionsNominalRequest implements IWorkbookFunctionsNominalRequest { +public class WorkbookFunctionsNominalRequest extends BaseRequest implements IWorkbookFunctionsNominalRequest { + protected final WorkbookFunctionsNominalBody body; /** * The request for this WorkbookFunctionsNominal @@ -23,6 +32,49 @@ public class WorkbookFunctionsNominalRequest extends BaseWorkbookFunctionsNomina * @param requestOptions the options for this request */ public WorkbookFunctionsNominalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNominalBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNominalRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNominalRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNominalRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNominalRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNominalRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNominalRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequestBuilder.java index 72744b54c82..c9587166135 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNominalRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNominalRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNominalRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Nominal Request Builder. */ -public class WorkbookFunctionsNominalRequestBuilder extends BaseWorkbookFunctionsNominalRequestBuilder implements IWorkbookFunctionsNominalRequestBuilder { +public class WorkbookFunctionsNominalRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNominalRequestBuilder { /** * The request builder for this WorkbookFunctionsNominal @@ -25,6 +30,41 @@ public class WorkbookFunctionsNominalRequestBuilder extends BaseWorkbookFunction * @param npery the npery */ public WorkbookFunctionsNominalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement effectRate, final com.google.gson.JsonElement npery) { - super(requestUrl, client, requestOptions, effectRate, npery); + super(requestUrl, client, requestOptions); + bodyParams.put("effectRate", effectRate); + bodyParams.put("npery", npery); + } + + /** + * Creates the IWorkbookFunctionsNominalRequest + * + * @return the IWorkbookFunctionsNominalRequest instance + */ + public IWorkbookFunctionsNominalRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNominalRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNominalRequest instance + */ + public IWorkbookFunctionsNominalRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNominalRequest request = new WorkbookFunctionsNominalRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("effectRate")) { + request.body.effectRate = getParameter("effectRate"); + } + + if (hasParameter("npery")) { + request.body.npery = getParameter("npery"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequest.java index c60eb387295..0f6c4918f4b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_Dist Request. */ -public class WorkbookFunctionsNorm_DistRequest extends BaseWorkbookFunctionsNorm_DistRequest implements IWorkbookFunctionsNorm_DistRequest { +public class WorkbookFunctionsNorm_DistRequest extends BaseRequest implements IWorkbookFunctionsNorm_DistRequest { + protected final WorkbookFunctionsNorm_DistBody body; /** * The request for this WorkbookFunctionsNorm_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsNorm_DistRequest extends BaseWorkbookFunctionsNorm * @param requestOptions the options for this request */ public WorkbookFunctionsNorm_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNorm_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNorm_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNorm_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNorm_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNorm_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequestBuilder.java index d34cca66830..f1bb50581ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_Dist Request Builder. */ -public class WorkbookFunctionsNorm_DistRequestBuilder extends BaseWorkbookFunctionsNorm_DistRequestBuilder implements IWorkbookFunctionsNorm_DistRequestBuilder { +public class WorkbookFunctionsNorm_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNorm_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsNorm_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsNorm_DistRequestBuilder extends BaseWorkbookFuncti * @param cumulative the cumulative */ public WorkbookFunctionsNorm_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, mean, standardDev, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("mean", mean); + bodyParams.put("standardDev", standardDev); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsNorm_DistRequest + * + * @return the IWorkbookFunctionsNorm_DistRequest instance + */ + public IWorkbookFunctionsNorm_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNorm_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_DistRequest instance + */ + public IWorkbookFunctionsNorm_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNorm_DistRequest request = new WorkbookFunctionsNorm_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("mean")) { + request.body.mean = getParameter("mean"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequest.java index 48343f9587f..c77526b31bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_Inv Request. */ -public class WorkbookFunctionsNorm_InvRequest extends BaseWorkbookFunctionsNorm_InvRequest implements IWorkbookFunctionsNorm_InvRequest { +public class WorkbookFunctionsNorm_InvRequest extends BaseRequest implements IWorkbookFunctionsNorm_InvRequest { + protected final WorkbookFunctionsNorm_InvBody body; /** * The request for this WorkbookFunctionsNorm_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsNorm_InvRequest extends BaseWorkbookFunctionsNorm_ * @param requestOptions the options for this request */ public WorkbookFunctionsNorm_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNorm_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNorm_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNorm_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNorm_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNorm_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequestBuilder.java index 05f15449763..3c45173060a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_Inv Request Builder. */ -public class WorkbookFunctionsNorm_InvRequestBuilder extends BaseWorkbookFunctionsNorm_InvRequestBuilder implements IWorkbookFunctionsNorm_InvRequestBuilder { +public class WorkbookFunctionsNorm_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNorm_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsNorm_Inv @@ -26,6 +31,46 @@ public class WorkbookFunctionsNorm_InvRequestBuilder extends BaseWorkbookFunctio * @param standardDev the standardDev */ public WorkbookFunctionsNorm_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - super(requestUrl, client, requestOptions, probability, mean, standardDev); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("mean", mean); + bodyParams.put("standardDev", standardDev); + } + + /** + * Creates the IWorkbookFunctionsNorm_InvRequest + * + * @return the IWorkbookFunctionsNorm_InvRequest instance + */ + public IWorkbookFunctionsNorm_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNorm_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_InvRequest instance + */ + public IWorkbookFunctionsNorm_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNorm_InvRequest request = new WorkbookFunctionsNorm_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("mean")) { + request.body.mean = getParameter("mean"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequest.java index 765f50132ff..ee14e841cb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_S_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_S_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_S_Dist Request. */ -public class WorkbookFunctionsNorm_S_DistRequest extends BaseWorkbookFunctionsNorm_S_DistRequest implements IWorkbookFunctionsNorm_S_DistRequest { +public class WorkbookFunctionsNorm_S_DistRequest extends BaseRequest implements IWorkbookFunctionsNorm_S_DistRequest { + protected final WorkbookFunctionsNorm_S_DistBody body; /** * The request for this WorkbookFunctionsNorm_S_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsNorm_S_DistRequest extends BaseWorkbookFunctionsNo * @param requestOptions the options for this request */ public WorkbookFunctionsNorm_S_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNorm_S_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_S_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNorm_S_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNorm_S_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNorm_S_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_S_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNorm_S_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequestBuilder.java index fbc3c2744d2..a27391213e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_S_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_S_Dist Request Builder. */ -public class WorkbookFunctionsNorm_S_DistRequestBuilder extends BaseWorkbookFunctionsNorm_S_DistRequestBuilder implements IWorkbookFunctionsNorm_S_DistRequestBuilder { +public class WorkbookFunctionsNorm_S_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNorm_S_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsNorm_S_Dist @@ -25,6 +30,41 @@ public class WorkbookFunctionsNorm_S_DistRequestBuilder extends BaseWorkbookFunc * @param cumulative the cumulative */ public WorkbookFunctionsNorm_S_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement z, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, z, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("z", z); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsNorm_S_DistRequest + * + * @return the IWorkbookFunctionsNorm_S_DistRequest instance + */ + public IWorkbookFunctionsNorm_S_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNorm_S_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_S_DistRequest instance + */ + public IWorkbookFunctionsNorm_S_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNorm_S_DistRequest request = new WorkbookFunctionsNorm_S_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("z")) { + request.body.z = getParameter("z"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequest.java index 694f3f69d05..b78a321347f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_S_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_S_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_S_Inv Request. */ -public class WorkbookFunctionsNorm_S_InvRequest extends BaseWorkbookFunctionsNorm_S_InvRequest implements IWorkbookFunctionsNorm_S_InvRequest { +public class WorkbookFunctionsNorm_S_InvRequest extends BaseRequest implements IWorkbookFunctionsNorm_S_InvRequest { + protected final WorkbookFunctionsNorm_S_InvBody body; /** * The request for this WorkbookFunctionsNorm_S_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsNorm_S_InvRequest extends BaseWorkbookFunctionsNor * @param requestOptions the options for this request */ public WorkbookFunctionsNorm_S_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNorm_S_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_S_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNorm_S_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNorm_S_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNorm_S_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNorm_S_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNorm_S_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequestBuilder.java index dfa9d3923a7..9d4a3e25dba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNorm_S_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNorm_S_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Norm_S_Inv Request Builder. */ -public class WorkbookFunctionsNorm_S_InvRequestBuilder extends BaseWorkbookFunctionsNorm_S_InvRequestBuilder implements IWorkbookFunctionsNorm_S_InvRequestBuilder { +public class WorkbookFunctionsNorm_S_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNorm_S_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsNorm_S_Inv @@ -24,6 +29,36 @@ public class WorkbookFunctionsNorm_S_InvRequestBuilder extends BaseWorkbookFunct * @param probability the probability */ public WorkbookFunctionsNorm_S_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability) { - super(requestUrl, client, requestOptions, probability); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + } + + /** + * Creates the IWorkbookFunctionsNorm_S_InvRequest + * + * @return the IWorkbookFunctionsNorm_S_InvRequest instance + */ + public IWorkbookFunctionsNorm_S_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNorm_S_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNorm_S_InvRequest instance + */ + public IWorkbookFunctionsNorm_S_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNorm_S_InvRequest request = new WorkbookFunctionsNorm_S_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequest.java index 108ebf7e480..fdea2bad633 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNotBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNotRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNotRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Not Request. */ -public class WorkbookFunctionsNotRequest extends BaseWorkbookFunctionsNotRequest implements IWorkbookFunctionsNotRequest { +public class WorkbookFunctionsNotRequest extends BaseRequest implements IWorkbookFunctionsNotRequest { + protected final WorkbookFunctionsNotBody body; /** * The request for this WorkbookFunctionsNot @@ -23,6 +32,49 @@ public class WorkbookFunctionsNotRequest extends BaseWorkbookFunctionsNotRequest * @param requestOptions the options for this request */ public WorkbookFunctionsNotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNotBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNotRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNotRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNotRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNotRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNotRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNotRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequestBuilder.java index 21216a25c5e..1917a630e9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNotRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNotRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNotRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Not Request Builder. */ -public class WorkbookFunctionsNotRequestBuilder extends BaseWorkbookFunctionsNotRequestBuilder implements IWorkbookFunctionsNotRequestBuilder { +public class WorkbookFunctionsNotRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNotRequestBuilder { /** * The request builder for this WorkbookFunctionsNot @@ -24,6 +29,36 @@ public class WorkbookFunctionsNotRequestBuilder extends BaseWorkbookFunctionsNot * @param logical the logical */ public WorkbookFunctionsNotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement logical) { - super(requestUrl, client, requestOptions, logical); + super(requestUrl, client, requestOptions); + bodyParams.put("logical", logical); + } + + /** + * Creates the IWorkbookFunctionsNotRequest + * + * @return the IWorkbookFunctionsNotRequest instance + */ + public IWorkbookFunctionsNotRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNotRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNotRequest instance + */ + public IWorkbookFunctionsNotRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNotRequest request = new WorkbookFunctionsNotRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("logical")) { + request.body.logical = getParameter("logical"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequest.java index 1c4d2c73b57..8e528b4276a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Now Request. */ -public class WorkbookFunctionsNowRequest extends BaseWorkbookFunctionsNowRequest implements IWorkbookFunctionsNowRequest { +public class WorkbookFunctionsNowRequest extends BaseRequest implements IWorkbookFunctionsNowRequest { /** * The request for this WorkbookFunctionsNow @@ -23,6 +31,48 @@ public class WorkbookFunctionsNowRequest extends BaseWorkbookFunctionsNowRequest * @param requestOptions the options for this request */ public WorkbookFunctionsNowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsNow + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsNow + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNowRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNowRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNowRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNowRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequestBuilder.java index 68c5a020ac1..ab3033612d2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNowRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNowRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Now Request Builder. */ -public class WorkbookFunctionsNowRequestBuilder extends BaseWorkbookFunctionsNowRequestBuilder implements IWorkbookFunctionsNowRequestBuilder { +public class WorkbookFunctionsNowRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNowRequestBuilder { /** * The request builder for this WorkbookFunctionsNow @@ -25,4 +30,29 @@ public class WorkbookFunctionsNowRequestBuilder extends BaseWorkbookFunctionsNow public WorkbookFunctionsNowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsNowRequest + * + * @return the IWorkbookFunctionsNowRequest instance + */ + public IWorkbookFunctionsNowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNowRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNowRequest instance + */ + public IWorkbookFunctionsNowRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNowRequest request = new WorkbookFunctionsNowRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequest.java index e63def9c09f..9193bdcfd96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNperBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNperRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNperRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Nper Request. */ -public class WorkbookFunctionsNperRequest extends BaseWorkbookFunctionsNperRequest implements IWorkbookFunctionsNperRequest { +public class WorkbookFunctionsNperRequest extends BaseRequest implements IWorkbookFunctionsNperRequest { + protected final WorkbookFunctionsNperBody body; /** * The request for this WorkbookFunctionsNper @@ -23,6 +32,49 @@ public class WorkbookFunctionsNperRequest extends BaseWorkbookFunctionsNperReque * @param requestOptions the options for this request */ public WorkbookFunctionsNperRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNperBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNperRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNperRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNperRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNperRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNperRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNperRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequestBuilder.java index 7f49a54112e..b4b303fa5da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNperRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNperRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNperRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Nper Request Builder. */ -public class WorkbookFunctionsNperRequestBuilder extends BaseWorkbookFunctionsNperRequestBuilder implements IWorkbookFunctionsNperRequestBuilder { +public class WorkbookFunctionsNperRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNperRequestBuilder { /** * The request builder for this WorkbookFunctionsNper @@ -28,6 +33,56 @@ public class WorkbookFunctionsNperRequestBuilder extends BaseWorkbookFunctionsNp * @param type the type */ public WorkbookFunctionsNperRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, pmt, pv, fv, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("pmt", pmt); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsNperRequest + * + * @return the IWorkbookFunctionsNperRequest instance + */ + public IWorkbookFunctionsNperRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNperRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNperRequest instance + */ + public IWorkbookFunctionsNperRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNperRequest request = new WorkbookFunctionsNperRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("pmt")) { + request.body.pmt = getParameter("pmt"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequest.java index 2217ff7a243..17b660dc1a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNpvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNpvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNpvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Npv Request. */ -public class WorkbookFunctionsNpvRequest extends BaseWorkbookFunctionsNpvRequest implements IWorkbookFunctionsNpvRequest { +public class WorkbookFunctionsNpvRequest extends BaseRequest implements IWorkbookFunctionsNpvRequest { + protected final WorkbookFunctionsNpvBody body; /** * The request for this WorkbookFunctionsNpv @@ -23,6 +32,49 @@ public class WorkbookFunctionsNpvRequest extends BaseWorkbookFunctionsNpvRequest * @param requestOptions the options for this request */ public WorkbookFunctionsNpvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNpvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNpvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNpvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNpvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNpvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNpvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNpvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequestBuilder.java index 02ce1d634aa..4589eac047f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNpvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNpvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNpvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Npv Request Builder. */ -public class WorkbookFunctionsNpvRequestBuilder extends BaseWorkbookFunctionsNpvRequestBuilder implements IWorkbookFunctionsNpvRequestBuilder { +public class WorkbookFunctionsNpvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNpvRequestBuilder { /** * The request builder for this WorkbookFunctionsNpv @@ -25,6 +30,41 @@ public class WorkbookFunctionsNpvRequestBuilder extends BaseWorkbookFunctionsNpv * @param values the values */ public WorkbookFunctionsNpvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, rate, values); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsNpvRequest + * + * @return the IWorkbookFunctionsNpvRequest instance + */ + public IWorkbookFunctionsNpvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNpvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNpvRequest instance + */ + public IWorkbookFunctionsNpvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNpvRequest request = new WorkbookFunctionsNpvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequest.java index 847f02aa61d..fb7da20eef8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsNumberValueBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNumberValueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNumberValueRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Number Value Request. */ -public class WorkbookFunctionsNumberValueRequest extends BaseWorkbookFunctionsNumberValueRequest implements IWorkbookFunctionsNumberValueRequest { +public class WorkbookFunctionsNumberValueRequest extends BaseRequest implements IWorkbookFunctionsNumberValueRequest { + protected final WorkbookFunctionsNumberValueBody body; /** * The request for this WorkbookFunctionsNumberValue @@ -23,6 +32,49 @@ public class WorkbookFunctionsNumberValueRequest extends BaseWorkbookFunctionsNu * @param requestOptions the options for this request */ public WorkbookFunctionsNumberValueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsNumberValueBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsNumberValueRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsNumberValueRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsNumberValueRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsNumberValueRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsNumberValueRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsNumberValueRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequestBuilder.java index 9b99af9a175..c798dc1459b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsNumberValueRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNumberValueRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsNumberValueRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Number Value Request Builder. */ -public class WorkbookFunctionsNumberValueRequestBuilder extends BaseWorkbookFunctionsNumberValueRequestBuilder implements IWorkbookFunctionsNumberValueRequestBuilder { +public class WorkbookFunctionsNumberValueRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsNumberValueRequestBuilder { /** * The request builder for this WorkbookFunctionsNumberValue @@ -26,6 +31,46 @@ public class WorkbookFunctionsNumberValueRequestBuilder extends BaseWorkbookFunc * @param groupSeparator the groupSeparator */ public WorkbookFunctionsNumberValueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement decimalSeparator, final com.google.gson.JsonElement groupSeparator) { - super(requestUrl, client, requestOptions, text, decimalSeparator, groupSeparator); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("decimalSeparator", decimalSeparator); + bodyParams.put("groupSeparator", groupSeparator); + } + + /** + * Creates the IWorkbookFunctionsNumberValueRequest + * + * @return the IWorkbookFunctionsNumberValueRequest instance + */ + public IWorkbookFunctionsNumberValueRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsNumberValueRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsNumberValueRequest instance + */ + public IWorkbookFunctionsNumberValueRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsNumberValueRequest request = new WorkbookFunctionsNumberValueRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("decimalSeparator")) { + request.body.decimalSeparator = getParameter("decimalSeparator"); + } + + if (hasParameter("groupSeparator")) { + request.body.groupSeparator = getParameter("groupSeparator"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequest.java index cbd8df9fdcb..51d4f6a9a91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOct2BinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2BinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOct2BinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Bin Request. */ -public class WorkbookFunctionsOct2BinRequest extends BaseWorkbookFunctionsOct2BinRequest implements IWorkbookFunctionsOct2BinRequest { +public class WorkbookFunctionsOct2BinRequest extends BaseRequest implements IWorkbookFunctionsOct2BinRequest { + protected final WorkbookFunctionsOct2BinBody body; /** * The request for this WorkbookFunctionsOct2Bin @@ -23,6 +32,49 @@ public class WorkbookFunctionsOct2BinRequest extends BaseWorkbookFunctionsOct2Bi * @param requestOptions the options for this request */ public WorkbookFunctionsOct2BinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOct2BinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOct2BinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOct2BinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOct2BinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOct2BinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOct2BinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOct2BinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequestBuilder.java index 4389618acb1..35109f5b918 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2BinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2BinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOct2BinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Bin Request Builder. */ -public class WorkbookFunctionsOct2BinRequestBuilder extends BaseWorkbookFunctionsOct2BinRequestBuilder implements IWorkbookFunctionsOct2BinRequestBuilder { +public class WorkbookFunctionsOct2BinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOct2BinRequestBuilder { /** * The request builder for this WorkbookFunctionsOct2Bin @@ -25,6 +30,41 @@ public class WorkbookFunctionsOct2BinRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsOct2BinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsOct2BinRequest + * + * @return the IWorkbookFunctionsOct2BinRequest instance + */ + public IWorkbookFunctionsOct2BinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOct2BinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOct2BinRequest instance + */ + public IWorkbookFunctionsOct2BinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOct2BinRequest request = new WorkbookFunctionsOct2BinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequest.java index 337e974bbe1..730f727e662 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOct2DecBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2DecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOct2DecRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Dec Request. */ -public class WorkbookFunctionsOct2DecRequest extends BaseWorkbookFunctionsOct2DecRequest implements IWorkbookFunctionsOct2DecRequest { +public class WorkbookFunctionsOct2DecRequest extends BaseRequest implements IWorkbookFunctionsOct2DecRequest { + protected final WorkbookFunctionsOct2DecBody body; /** * The request for this WorkbookFunctionsOct2Dec @@ -23,6 +32,49 @@ public class WorkbookFunctionsOct2DecRequest extends BaseWorkbookFunctionsOct2De * @param requestOptions the options for this request */ public WorkbookFunctionsOct2DecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOct2DecBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOct2DecRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOct2DecRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOct2DecRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOct2DecRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOct2DecRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOct2DecRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequestBuilder.java index 455359de479..70dd11f49c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2DecRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2DecRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOct2DecRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Dec Request Builder. */ -public class WorkbookFunctionsOct2DecRequestBuilder extends BaseWorkbookFunctionsOct2DecRequestBuilder implements IWorkbookFunctionsOct2DecRequestBuilder { +public class WorkbookFunctionsOct2DecRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOct2DecRequestBuilder { /** * The request builder for this WorkbookFunctionsOct2Dec @@ -24,6 +29,36 @@ public class WorkbookFunctionsOct2DecRequestBuilder extends BaseWorkbookFunction * @param number the number */ public WorkbookFunctionsOct2DecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsOct2DecRequest + * + * @return the IWorkbookFunctionsOct2DecRequest instance + */ + public IWorkbookFunctionsOct2DecRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOct2DecRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOct2DecRequest instance + */ + public IWorkbookFunctionsOct2DecRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOct2DecRequest request = new WorkbookFunctionsOct2DecRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequest.java index a8b6ced186a..cfe8da3b9c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOct2HexBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2HexRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOct2HexRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Hex Request. */ -public class WorkbookFunctionsOct2HexRequest extends BaseWorkbookFunctionsOct2HexRequest implements IWorkbookFunctionsOct2HexRequest { +public class WorkbookFunctionsOct2HexRequest extends BaseRequest implements IWorkbookFunctionsOct2HexRequest { + protected final WorkbookFunctionsOct2HexBody body; /** * The request for this WorkbookFunctionsOct2Hex @@ -23,6 +32,49 @@ public class WorkbookFunctionsOct2HexRequest extends BaseWorkbookFunctionsOct2He * @param requestOptions the options for this request */ public WorkbookFunctionsOct2HexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOct2HexBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOct2HexRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOct2HexRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOct2HexRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOct2HexRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOct2HexRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOct2HexRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequestBuilder.java index 4cbcd343240..1a109df9486 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOct2HexRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2HexRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOct2HexRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Oct2Hex Request Builder. */ -public class WorkbookFunctionsOct2HexRequestBuilder extends BaseWorkbookFunctionsOct2HexRequestBuilder implements IWorkbookFunctionsOct2HexRequestBuilder { +public class WorkbookFunctionsOct2HexRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOct2HexRequestBuilder { /** * The request builder for this WorkbookFunctionsOct2Hex @@ -25,6 +30,41 @@ public class WorkbookFunctionsOct2HexRequestBuilder extends BaseWorkbookFunction * @param places the places */ public WorkbookFunctionsOct2HexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions, number, places); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("places", places); + } + + /** + * Creates the IWorkbookFunctionsOct2HexRequest + * + * @return the IWorkbookFunctionsOct2HexRequest instance + */ + public IWorkbookFunctionsOct2HexRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOct2HexRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOct2HexRequest instance + */ + public IWorkbookFunctionsOct2HexRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOct2HexRequest request = new WorkbookFunctionsOct2HexRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("places")) { + request.body.places = getParameter("places"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequest.java index 6f7018b77d0..922977d86c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOddFPriceBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddFPriceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd FPrice Request. */ -public class WorkbookFunctionsOddFPriceRequest extends BaseWorkbookFunctionsOddFPriceRequest implements IWorkbookFunctionsOddFPriceRequest { +public class WorkbookFunctionsOddFPriceRequest extends BaseRequest implements IWorkbookFunctionsOddFPriceRequest { + protected final WorkbookFunctionsOddFPriceBody body; /** * The request for this WorkbookFunctionsOddFPrice @@ -23,6 +32,49 @@ public class WorkbookFunctionsOddFPriceRequest extends BaseWorkbookFunctionsOddF * @param requestOptions the options for this request */ public WorkbookFunctionsOddFPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOddFPriceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOddFPriceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOddFPriceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOddFPriceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOddFPriceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOddFPriceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOddFPriceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequestBuilder.java index 1ff11942dcb..1c787e33eb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFPriceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFPriceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddFPriceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd FPrice Request Builder. */ -public class WorkbookFunctionsOddFPriceRequestBuilder extends BaseWorkbookFunctionsOddFPriceRequestBuilder implements IWorkbookFunctionsOddFPriceRequestBuilder { +public class WorkbookFunctionsOddFPriceRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOddFPriceRequestBuilder { /** * The request builder for this WorkbookFunctionsOddFPrice @@ -32,6 +37,76 @@ public class WorkbookFunctionsOddFPriceRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsOddFPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, issue, firstCoupon, rate, yld, redemption, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("issue", issue); + bodyParams.put("firstCoupon", firstCoupon); + bodyParams.put("rate", rate); + bodyParams.put("yld", yld); + bodyParams.put("redemption", redemption); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsOddFPriceRequest + * + * @return the IWorkbookFunctionsOddFPriceRequest instance + */ + public IWorkbookFunctionsOddFPriceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOddFPriceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddFPriceRequest instance + */ + public IWorkbookFunctionsOddFPriceRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOddFPriceRequest request = new WorkbookFunctionsOddFPriceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("issue")) { + request.body.issue = getParameter("issue"); + } + + if (hasParameter("firstCoupon")) { + request.body.firstCoupon = getParameter("firstCoupon"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("yld")) { + request.body.yld = getParameter("yld"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequest.java index c60a7390d88..c6c9a90973c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOddFYieldBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddFYieldRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd FYield Request. */ -public class WorkbookFunctionsOddFYieldRequest extends BaseWorkbookFunctionsOddFYieldRequest implements IWorkbookFunctionsOddFYieldRequest { +public class WorkbookFunctionsOddFYieldRequest extends BaseRequest implements IWorkbookFunctionsOddFYieldRequest { + protected final WorkbookFunctionsOddFYieldBody body; /** * The request for this WorkbookFunctionsOddFYield @@ -23,6 +32,49 @@ public class WorkbookFunctionsOddFYieldRequest extends BaseWorkbookFunctionsOddF * @param requestOptions the options for this request */ public WorkbookFunctionsOddFYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOddFYieldBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOddFYieldRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOddFYieldRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOddFYieldRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOddFYieldRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOddFYieldRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOddFYieldRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequestBuilder.java index 87640b38f92..4da6d04b9e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddFYieldRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFYieldRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddFYieldRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd FYield Request Builder. */ -public class WorkbookFunctionsOddFYieldRequestBuilder extends BaseWorkbookFunctionsOddFYieldRequestBuilder implements IWorkbookFunctionsOddFYieldRequestBuilder { +public class WorkbookFunctionsOddFYieldRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOddFYieldRequestBuilder { /** * The request builder for this WorkbookFunctionsOddFYield @@ -32,6 +37,76 @@ public class WorkbookFunctionsOddFYieldRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsOddFYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, issue, firstCoupon, rate, pr, redemption, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("issue", issue); + bodyParams.put("firstCoupon", firstCoupon); + bodyParams.put("rate", rate); + bodyParams.put("pr", pr); + bodyParams.put("redemption", redemption); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsOddFYieldRequest + * + * @return the IWorkbookFunctionsOddFYieldRequest instance + */ + public IWorkbookFunctionsOddFYieldRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOddFYieldRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddFYieldRequest instance + */ + public IWorkbookFunctionsOddFYieldRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOddFYieldRequest request = new WorkbookFunctionsOddFYieldRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("issue")) { + request.body.issue = getParameter("issue"); + } + + if (hasParameter("firstCoupon")) { + request.body.firstCoupon = getParameter("firstCoupon"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequest.java index 070e5c9ad8a..58adb855def 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOddLPriceBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddLPriceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd LPrice Request. */ -public class WorkbookFunctionsOddLPriceRequest extends BaseWorkbookFunctionsOddLPriceRequest implements IWorkbookFunctionsOddLPriceRequest { +public class WorkbookFunctionsOddLPriceRequest extends BaseRequest implements IWorkbookFunctionsOddLPriceRequest { + protected final WorkbookFunctionsOddLPriceBody body; /** * The request for this WorkbookFunctionsOddLPrice @@ -23,6 +32,49 @@ public class WorkbookFunctionsOddLPriceRequest extends BaseWorkbookFunctionsOddL * @param requestOptions the options for this request */ public WorkbookFunctionsOddLPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOddLPriceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOddLPriceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOddLPriceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOddLPriceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOddLPriceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOddLPriceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOddLPriceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequestBuilder.java index b9f8d1d2c08..6f8a1457836 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLPriceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLPriceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddLPriceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd LPrice Request Builder. */ -public class WorkbookFunctionsOddLPriceRequestBuilder extends BaseWorkbookFunctionsOddLPriceRequestBuilder implements IWorkbookFunctionsOddLPriceRequestBuilder { +public class WorkbookFunctionsOddLPriceRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOddLPriceRequestBuilder { /** * The request builder for this WorkbookFunctionsOddLPrice @@ -31,6 +36,71 @@ public class WorkbookFunctionsOddLPriceRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsOddLPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, lastInterest, rate, yld, redemption, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("lastInterest", lastInterest); + bodyParams.put("rate", rate); + bodyParams.put("yld", yld); + bodyParams.put("redemption", redemption); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsOddLPriceRequest + * + * @return the IWorkbookFunctionsOddLPriceRequest instance + */ + public IWorkbookFunctionsOddLPriceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOddLPriceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddLPriceRequest instance + */ + public IWorkbookFunctionsOddLPriceRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOddLPriceRequest request = new WorkbookFunctionsOddLPriceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("lastInterest")) { + request.body.lastInterest = getParameter("lastInterest"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("yld")) { + request.body.yld = getParameter("yld"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequest.java index 02d9619454c..c9291ed902d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOddLYieldBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddLYieldRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd LYield Request. */ -public class WorkbookFunctionsOddLYieldRequest extends BaseWorkbookFunctionsOddLYieldRequest implements IWorkbookFunctionsOddLYieldRequest { +public class WorkbookFunctionsOddLYieldRequest extends BaseRequest implements IWorkbookFunctionsOddLYieldRequest { + protected final WorkbookFunctionsOddLYieldBody body; /** * The request for this WorkbookFunctionsOddLYield @@ -23,6 +32,49 @@ public class WorkbookFunctionsOddLYieldRequest extends BaseWorkbookFunctionsOddL * @param requestOptions the options for this request */ public WorkbookFunctionsOddLYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOddLYieldBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOddLYieldRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOddLYieldRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOddLYieldRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOddLYieldRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOddLYieldRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOddLYieldRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequestBuilder.java index 46eff662428..df1ab328499 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddLYieldRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLYieldRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddLYieldRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd LYield Request Builder. */ -public class WorkbookFunctionsOddLYieldRequestBuilder extends BaseWorkbookFunctionsOddLYieldRequestBuilder implements IWorkbookFunctionsOddLYieldRequestBuilder { +public class WorkbookFunctionsOddLYieldRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOddLYieldRequestBuilder { /** * The request builder for this WorkbookFunctionsOddLYield @@ -31,6 +36,71 @@ public class WorkbookFunctionsOddLYieldRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsOddLYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, lastInterest, rate, pr, redemption, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("lastInterest", lastInterest); + bodyParams.put("rate", rate); + bodyParams.put("pr", pr); + bodyParams.put("redemption", redemption); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsOddLYieldRequest + * + * @return the IWorkbookFunctionsOddLYieldRequest instance + */ + public IWorkbookFunctionsOddLYieldRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOddLYieldRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddLYieldRequest instance + */ + public IWorkbookFunctionsOddLYieldRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOddLYieldRequest request = new WorkbookFunctionsOddLYieldRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("lastInterest")) { + request.body.lastInterest = getParameter("lastInterest"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequest.java index ed996e54cfb..8a35e1fdd2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOddBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd Request. */ -public class WorkbookFunctionsOddRequest extends BaseWorkbookFunctionsOddRequest implements IWorkbookFunctionsOddRequest { +public class WorkbookFunctionsOddRequest extends BaseRequest implements IWorkbookFunctionsOddRequest { + protected final WorkbookFunctionsOddBody body; /** * The request for this WorkbookFunctionsOdd @@ -23,6 +32,49 @@ public class WorkbookFunctionsOddRequest extends BaseWorkbookFunctionsOddRequest * @param requestOptions the options for this request */ public WorkbookFunctionsOddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequestBuilder.java index 8bcec45a2b1..58486ba79f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Odd Request Builder. */ -public class WorkbookFunctionsOddRequestBuilder extends BaseWorkbookFunctionsOddRequestBuilder implements IWorkbookFunctionsOddRequestBuilder { +public class WorkbookFunctionsOddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOddRequestBuilder { /** * The request builder for this WorkbookFunctionsOdd @@ -24,6 +29,36 @@ public class WorkbookFunctionsOddRequestBuilder extends BaseWorkbookFunctionsOdd * @param number the number */ public WorkbookFunctionsOddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsOddRequest + * + * @return the IWorkbookFunctionsOddRequest instance + */ + public IWorkbookFunctionsOddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOddRequest instance + */ + public IWorkbookFunctionsOddRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOddRequest request = new WorkbookFunctionsOddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequest.java index 601577992cf..f46218897a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsOrBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOrRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Or Request. */ -public class WorkbookFunctionsOrRequest extends BaseWorkbookFunctionsOrRequest implements IWorkbookFunctionsOrRequest { +public class WorkbookFunctionsOrRequest extends BaseRequest implements IWorkbookFunctionsOrRequest { + protected final WorkbookFunctionsOrBody body; /** * The request for this WorkbookFunctionsOr @@ -23,6 +32,49 @@ public class WorkbookFunctionsOrRequest extends BaseWorkbookFunctionsOrRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsOrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsOrBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsOrRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsOrRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsOrRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsOrRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsOrRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsOrRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequestBuilder.java index e12fc37d1b0..2c6ea045c9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsOrRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOrRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsOrRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Or Request Builder. */ -public class WorkbookFunctionsOrRequestBuilder extends BaseWorkbookFunctionsOrRequestBuilder implements IWorkbookFunctionsOrRequestBuilder { +public class WorkbookFunctionsOrRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsOrRequestBuilder { /** * The request builder for this WorkbookFunctionsOr @@ -24,6 +29,36 @@ public class WorkbookFunctionsOrRequestBuilder extends BaseWorkbookFunctionsOrRe * @param values the values */ public WorkbookFunctionsOrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsOrRequest + * + * @return the IWorkbookFunctionsOrRequest instance + */ + public IWorkbookFunctionsOrRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsOrRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsOrRequest instance + */ + public IWorkbookFunctionsOrRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsOrRequest request = new WorkbookFunctionsOrRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequest.java index b4b4b75818c..b0dfebf71e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPdurationBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPdurationRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPdurationRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pduration Request. */ -public class WorkbookFunctionsPdurationRequest extends BaseWorkbookFunctionsPdurationRequest implements IWorkbookFunctionsPdurationRequest { +public class WorkbookFunctionsPdurationRequest extends BaseRequest implements IWorkbookFunctionsPdurationRequest { + protected final WorkbookFunctionsPdurationBody body; /** * The request for this WorkbookFunctionsPduration @@ -23,6 +32,49 @@ public class WorkbookFunctionsPdurationRequest extends BaseWorkbookFunctionsPdur * @param requestOptions the options for this request */ public WorkbookFunctionsPdurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPdurationBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPdurationRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPdurationRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPdurationRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPdurationRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPdurationRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPdurationRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequestBuilder.java index f89a2a94d18..483f11f91a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPdurationRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPdurationRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPdurationRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pduration Request Builder. */ -public class WorkbookFunctionsPdurationRequestBuilder extends BaseWorkbookFunctionsPdurationRequestBuilder implements IWorkbookFunctionsPdurationRequestBuilder { +public class WorkbookFunctionsPdurationRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPdurationRequestBuilder { /** * The request builder for this WorkbookFunctionsPduration @@ -26,6 +31,46 @@ public class WorkbookFunctionsPdurationRequestBuilder extends BaseWorkbookFuncti * @param fv the fv */ public WorkbookFunctionsPdurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { - super(requestUrl, client, requestOptions, rate, pv, fv); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + } + + /** + * Creates the IWorkbookFunctionsPdurationRequest + * + * @return the IWorkbookFunctionsPdurationRequest instance + */ + public IWorkbookFunctionsPdurationRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPdurationRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPdurationRequest instance + */ + public IWorkbookFunctionsPdurationRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPdurationRequest request = new WorkbookFunctionsPdurationRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequest.java index 9038def6c3f..c262e44ea1e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentRank_ExcBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_ExcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentRank_ExcRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percent Rank_Exc Request. */ -public class WorkbookFunctionsPercentRank_ExcRequest extends BaseWorkbookFunctionsPercentRank_ExcRequest implements IWorkbookFunctionsPercentRank_ExcRequest { +public class WorkbookFunctionsPercentRank_ExcRequest extends BaseRequest implements IWorkbookFunctionsPercentRank_ExcRequest { + protected final WorkbookFunctionsPercentRank_ExcBody body; /** * The request for this WorkbookFunctionsPercentRank_Exc @@ -23,6 +32,49 @@ public class WorkbookFunctionsPercentRank_ExcRequest extends BaseWorkbookFunctio * @param requestOptions the options for this request */ public WorkbookFunctionsPercentRank_ExcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPercentRank_ExcBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPercentRank_ExcRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPercentRank_ExcRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPercentRank_ExcRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPercentRank_ExcRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPercentRank_ExcRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPercentRank_ExcRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequestBuilder.java index f1851f7c5c9..97d0f702a76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_ExcRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_ExcRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentRank_ExcRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percent Rank_Exc Request Builder. */ -public class WorkbookFunctionsPercentRank_ExcRequestBuilder extends BaseWorkbookFunctionsPercentRank_ExcRequestBuilder implements IWorkbookFunctionsPercentRank_ExcRequestBuilder { +public class WorkbookFunctionsPercentRank_ExcRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPercentRank_ExcRequestBuilder { /** * The request builder for this WorkbookFunctionsPercentRank_Exc @@ -26,6 +31,46 @@ public class WorkbookFunctionsPercentRank_ExcRequestBuilder extends BaseWorkbook * @param significance the significance */ public WorkbookFunctionsPercentRank_ExcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions, array, x, significance); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("x", x); + bodyParams.put("significance", significance); + } + + /** + * Creates the IWorkbookFunctionsPercentRank_ExcRequest + * + * @return the IWorkbookFunctionsPercentRank_ExcRequest instance + */ + public IWorkbookFunctionsPercentRank_ExcRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPercentRank_ExcRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentRank_ExcRequest instance + */ + public IWorkbookFunctionsPercentRank_ExcRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPercentRank_ExcRequest request = new WorkbookFunctionsPercentRank_ExcRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequest.java index 68bd9797e76..3b42a25439c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentRank_IncBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_IncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentRank_IncRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percent Rank_Inc Request. */ -public class WorkbookFunctionsPercentRank_IncRequest extends BaseWorkbookFunctionsPercentRank_IncRequest implements IWorkbookFunctionsPercentRank_IncRequest { +public class WorkbookFunctionsPercentRank_IncRequest extends BaseRequest implements IWorkbookFunctionsPercentRank_IncRequest { + protected final WorkbookFunctionsPercentRank_IncBody body; /** * The request for this WorkbookFunctionsPercentRank_Inc @@ -23,6 +32,49 @@ public class WorkbookFunctionsPercentRank_IncRequest extends BaseWorkbookFunctio * @param requestOptions the options for this request */ public WorkbookFunctionsPercentRank_IncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPercentRank_IncBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPercentRank_IncRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPercentRank_IncRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPercentRank_IncRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPercentRank_IncRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPercentRank_IncRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPercentRank_IncRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequestBuilder.java index 6ea3c056433..46a4de18245 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentRank_IncRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_IncRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentRank_IncRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percent Rank_Inc Request Builder. */ -public class WorkbookFunctionsPercentRank_IncRequestBuilder extends BaseWorkbookFunctionsPercentRank_IncRequestBuilder implements IWorkbookFunctionsPercentRank_IncRequestBuilder { +public class WorkbookFunctionsPercentRank_IncRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPercentRank_IncRequestBuilder { /** * The request builder for this WorkbookFunctionsPercentRank_Inc @@ -26,6 +31,46 @@ public class WorkbookFunctionsPercentRank_IncRequestBuilder extends BaseWorkbook * @param significance the significance */ public WorkbookFunctionsPercentRank_IncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions, array, x, significance); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("x", x); + bodyParams.put("significance", significance); + } + + /** + * Creates the IWorkbookFunctionsPercentRank_IncRequest + * + * @return the IWorkbookFunctionsPercentRank_IncRequest instance + */ + public IWorkbookFunctionsPercentRank_IncRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPercentRank_IncRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentRank_IncRequest instance + */ + public IWorkbookFunctionsPercentRank_IncRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPercentRank_IncRequest request = new WorkbookFunctionsPercentRank_IncRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("significance")) { + request.body.significance = getParameter("significance"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequest.java index 831dd818873..6a0ac187e10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentile_ExcBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_ExcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentile_ExcRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percentile_Exc Request. */ -public class WorkbookFunctionsPercentile_ExcRequest extends BaseWorkbookFunctionsPercentile_ExcRequest implements IWorkbookFunctionsPercentile_ExcRequest { +public class WorkbookFunctionsPercentile_ExcRequest extends BaseRequest implements IWorkbookFunctionsPercentile_ExcRequest { + protected final WorkbookFunctionsPercentile_ExcBody body; /** * The request for this WorkbookFunctionsPercentile_Exc @@ -23,6 +32,49 @@ public class WorkbookFunctionsPercentile_ExcRequest extends BaseWorkbookFunction * @param requestOptions the options for this request */ public WorkbookFunctionsPercentile_ExcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPercentile_ExcBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPercentile_ExcRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPercentile_ExcRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPercentile_ExcRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPercentile_ExcRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPercentile_ExcRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPercentile_ExcRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequestBuilder.java index 8a19cdff2bc..f2abf67f02b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_ExcRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_ExcRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentile_ExcRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percentile_Exc Request Builder. */ -public class WorkbookFunctionsPercentile_ExcRequestBuilder extends BaseWorkbookFunctionsPercentile_ExcRequestBuilder implements IWorkbookFunctionsPercentile_ExcRequestBuilder { +public class WorkbookFunctionsPercentile_ExcRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPercentile_ExcRequestBuilder { /** * The request builder for this WorkbookFunctionsPercentile_Exc @@ -25,6 +30,41 @@ public class WorkbookFunctionsPercentile_ExcRequestBuilder extends BaseWorkbookF * @param k the k */ public WorkbookFunctionsPercentile_ExcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions, array, k); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("k", k); + } + + /** + * Creates the IWorkbookFunctionsPercentile_ExcRequest + * + * @return the IWorkbookFunctionsPercentile_ExcRequest instance + */ + public IWorkbookFunctionsPercentile_ExcRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPercentile_ExcRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentile_ExcRequest instance + */ + public IWorkbookFunctionsPercentile_ExcRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPercentile_ExcRequest request = new WorkbookFunctionsPercentile_ExcRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("k")) { + request.body.k = getParameter("k"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequest.java index 232fed46d19..3abfb55acdf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentile_IncBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_IncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentile_IncRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percentile_Inc Request. */ -public class WorkbookFunctionsPercentile_IncRequest extends BaseWorkbookFunctionsPercentile_IncRequest implements IWorkbookFunctionsPercentile_IncRequest { +public class WorkbookFunctionsPercentile_IncRequest extends BaseRequest implements IWorkbookFunctionsPercentile_IncRequest { + protected final WorkbookFunctionsPercentile_IncBody body; /** * The request for this WorkbookFunctionsPercentile_Inc @@ -23,6 +32,49 @@ public class WorkbookFunctionsPercentile_IncRequest extends BaseWorkbookFunction * @param requestOptions the options for this request */ public WorkbookFunctionsPercentile_IncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPercentile_IncBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPercentile_IncRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPercentile_IncRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPercentile_IncRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPercentile_IncRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPercentile_IncRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPercentile_IncRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequestBuilder.java index fa0c8667489..db8b4d4d6d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPercentile_IncRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_IncRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPercentile_IncRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Percentile_Inc Request Builder. */ -public class WorkbookFunctionsPercentile_IncRequestBuilder extends BaseWorkbookFunctionsPercentile_IncRequestBuilder implements IWorkbookFunctionsPercentile_IncRequestBuilder { +public class WorkbookFunctionsPercentile_IncRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPercentile_IncRequestBuilder { /** * The request builder for this WorkbookFunctionsPercentile_Inc @@ -25,6 +30,41 @@ public class WorkbookFunctionsPercentile_IncRequestBuilder extends BaseWorkbookF * @param k the k */ public WorkbookFunctionsPercentile_IncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions, array, k); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("k", k); + } + + /** + * Creates the IWorkbookFunctionsPercentile_IncRequest + * + * @return the IWorkbookFunctionsPercentile_IncRequest instance + */ + public IWorkbookFunctionsPercentile_IncRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPercentile_IncRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPercentile_IncRequest instance + */ + public IWorkbookFunctionsPercentile_IncRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPercentile_IncRequest request = new WorkbookFunctionsPercentile_IncRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("k")) { + request.body.k = getParameter("k"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequest.java index b09a6f54548..b5fe779580c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPermutBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPermutRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Permut Request. */ -public class WorkbookFunctionsPermutRequest extends BaseWorkbookFunctionsPermutRequest implements IWorkbookFunctionsPermutRequest { +public class WorkbookFunctionsPermutRequest extends BaseRequest implements IWorkbookFunctionsPermutRequest { + protected final WorkbookFunctionsPermutBody body; /** * The request for this WorkbookFunctionsPermut @@ -23,6 +32,49 @@ public class WorkbookFunctionsPermutRequest extends BaseWorkbookFunctionsPermutR * @param requestOptions the options for this request */ public WorkbookFunctionsPermutRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPermutBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPermutRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPermutRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPermutRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPermutRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPermutRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPermutRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequestBuilder.java index f22e88fb320..222746240bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPermutRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Permut Request Builder. */ -public class WorkbookFunctionsPermutRequestBuilder extends BaseWorkbookFunctionsPermutRequestBuilder implements IWorkbookFunctionsPermutRequestBuilder { +public class WorkbookFunctionsPermutRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPermutRequestBuilder { /** * The request builder for this WorkbookFunctionsPermut @@ -25,6 +30,41 @@ public class WorkbookFunctionsPermutRequestBuilder extends BaseWorkbookFunctions * @param numberChosen the numberChosen */ public WorkbookFunctionsPermutRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions, number, numberChosen); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numberChosen", numberChosen); + } + + /** + * Creates the IWorkbookFunctionsPermutRequest + * + * @return the IWorkbookFunctionsPermutRequest instance + */ + public IWorkbookFunctionsPermutRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPermutRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPermutRequest instance + */ + public IWorkbookFunctionsPermutRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPermutRequest request = new WorkbookFunctionsPermutRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numberChosen")) { + request.body.numberChosen = getParameter("numberChosen"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequest.java index 1c87a39fa3c..1bcfeaf4093 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPermutationaBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutationaRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPermutationaRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Permutationa Request. */ -public class WorkbookFunctionsPermutationaRequest extends BaseWorkbookFunctionsPermutationaRequest implements IWorkbookFunctionsPermutationaRequest { +public class WorkbookFunctionsPermutationaRequest extends BaseRequest implements IWorkbookFunctionsPermutationaRequest { + protected final WorkbookFunctionsPermutationaBody body; /** * The request for this WorkbookFunctionsPermutationa @@ -23,6 +32,49 @@ public class WorkbookFunctionsPermutationaRequest extends BaseWorkbookFunctionsP * @param requestOptions the options for this request */ public WorkbookFunctionsPermutationaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPermutationaBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPermutationaRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPermutationaRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPermutationaRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPermutationaRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPermutationaRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPermutationaRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequestBuilder.java index 638426f701c..61e85dd2ff7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPermutationaRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutationaRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPermutationaRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Permutationa Request Builder. */ -public class WorkbookFunctionsPermutationaRequestBuilder extends BaseWorkbookFunctionsPermutationaRequestBuilder implements IWorkbookFunctionsPermutationaRequestBuilder { +public class WorkbookFunctionsPermutationaRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPermutationaRequestBuilder { /** * The request builder for this WorkbookFunctionsPermutationa @@ -25,6 +30,41 @@ public class WorkbookFunctionsPermutationaRequestBuilder extends BaseWorkbookFun * @param numberChosen the numberChosen */ public WorkbookFunctionsPermutationaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions, number, numberChosen); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numberChosen", numberChosen); + } + + /** + * Creates the IWorkbookFunctionsPermutationaRequest + * + * @return the IWorkbookFunctionsPermutationaRequest instance + */ + public IWorkbookFunctionsPermutationaRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPermutationaRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPermutationaRequest instance + */ + public IWorkbookFunctionsPermutationaRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPermutationaRequest request = new WorkbookFunctionsPermutationaRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numberChosen")) { + request.body.numberChosen = getParameter("numberChosen"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequest.java index 8971eea4874..49f9e191b1e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPhiBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPhiRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPhiRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Phi Request. */ -public class WorkbookFunctionsPhiRequest extends BaseWorkbookFunctionsPhiRequest implements IWorkbookFunctionsPhiRequest { +public class WorkbookFunctionsPhiRequest extends BaseRequest implements IWorkbookFunctionsPhiRequest { + protected final WorkbookFunctionsPhiBody body; /** * The request for this WorkbookFunctionsPhi @@ -23,6 +32,49 @@ public class WorkbookFunctionsPhiRequest extends BaseWorkbookFunctionsPhiRequest * @param requestOptions the options for this request */ public WorkbookFunctionsPhiRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPhiBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPhiRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPhiRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPhiRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPhiRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPhiRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPhiRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequestBuilder.java index 8f5357a3f41..6f4ac67fa0e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPhiRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPhiRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPhiRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Phi Request Builder. */ -public class WorkbookFunctionsPhiRequestBuilder extends BaseWorkbookFunctionsPhiRequestBuilder implements IWorkbookFunctionsPhiRequestBuilder { +public class WorkbookFunctionsPhiRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPhiRequestBuilder { /** * The request builder for this WorkbookFunctionsPhi @@ -24,6 +29,36 @@ public class WorkbookFunctionsPhiRequestBuilder extends BaseWorkbookFunctionsPhi * @param x the x */ public WorkbookFunctionsPhiRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions, x); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + } + + /** + * Creates the IWorkbookFunctionsPhiRequest + * + * @return the IWorkbookFunctionsPhiRequest instance + */ + public IWorkbookFunctionsPhiRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPhiRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPhiRequest instance + */ + public IWorkbookFunctionsPhiRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPhiRequest request = new WorkbookFunctionsPhiRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequest.java index f0fbd071913..20a86e3f087 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPiRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPiRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pi Request. */ -public class WorkbookFunctionsPiRequest extends BaseWorkbookFunctionsPiRequest implements IWorkbookFunctionsPiRequest { +public class WorkbookFunctionsPiRequest extends BaseRequest implements IWorkbookFunctionsPiRequest { /** * The request for this WorkbookFunctionsPi @@ -23,6 +31,48 @@ public class WorkbookFunctionsPiRequest extends BaseWorkbookFunctionsPiRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsPiRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsPi + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsPi + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPiRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPiRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPiRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPiRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequestBuilder.java index 1cffc1910a1..45220be82ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPiRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPiRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPiRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pi Request Builder. */ -public class WorkbookFunctionsPiRequestBuilder extends BaseWorkbookFunctionsPiRequestBuilder implements IWorkbookFunctionsPiRequestBuilder { +public class WorkbookFunctionsPiRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPiRequestBuilder { /** * The request builder for this WorkbookFunctionsPi @@ -25,4 +30,29 @@ public class WorkbookFunctionsPiRequestBuilder extends BaseWorkbookFunctionsPiRe public WorkbookFunctionsPiRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsPiRequest + * + * @return the IWorkbookFunctionsPiRequest instance + */ + public IWorkbookFunctionsPiRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPiRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPiRequest instance + */ + public IWorkbookFunctionsPiRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPiRequest request = new WorkbookFunctionsPiRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequest.java index 9984f93f23c..39434b07771 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPmtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPmtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pmt Request. */ -public class WorkbookFunctionsPmtRequest extends BaseWorkbookFunctionsPmtRequest implements IWorkbookFunctionsPmtRequest { +public class WorkbookFunctionsPmtRequest extends BaseRequest implements IWorkbookFunctionsPmtRequest { + protected final WorkbookFunctionsPmtBody body; /** * The request for this WorkbookFunctionsPmt @@ -23,6 +32,49 @@ public class WorkbookFunctionsPmtRequest extends BaseWorkbookFunctionsPmtRequest * @param requestOptions the options for this request */ public WorkbookFunctionsPmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPmtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPmtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPmtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPmtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPmtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPmtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPmtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequestBuilder.java index 38f2f4f6ca8..585cc990270 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPmtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPmtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPmtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pmt Request Builder. */ -public class WorkbookFunctionsPmtRequestBuilder extends BaseWorkbookFunctionsPmtRequestBuilder implements IWorkbookFunctionsPmtRequestBuilder { +public class WorkbookFunctionsPmtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPmtRequestBuilder { /** * The request builder for this WorkbookFunctionsPmt @@ -28,6 +33,56 @@ public class WorkbookFunctionsPmtRequestBuilder extends BaseWorkbookFunctionsPmt * @param type the type */ public WorkbookFunctionsPmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, nper, pv, fv, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsPmtRequest + * + * @return the IWorkbookFunctionsPmtRequest instance + */ + public IWorkbookFunctionsPmtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPmtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPmtRequest instance + */ + public IWorkbookFunctionsPmtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPmtRequest request = new WorkbookFunctionsPmtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequest.java index cd31700c734..3e2ef0113ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPoisson_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPoisson_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPoisson_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Poisson_Dist Request. */ -public class WorkbookFunctionsPoisson_DistRequest extends BaseWorkbookFunctionsPoisson_DistRequest implements IWorkbookFunctionsPoisson_DistRequest { +public class WorkbookFunctionsPoisson_DistRequest extends BaseRequest implements IWorkbookFunctionsPoisson_DistRequest { + protected final WorkbookFunctionsPoisson_DistBody body; /** * The request for this WorkbookFunctionsPoisson_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsPoisson_DistRequest extends BaseWorkbookFunctionsP * @param requestOptions the options for this request */ public WorkbookFunctionsPoisson_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPoisson_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPoisson_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPoisson_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPoisson_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPoisson_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPoisson_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPoisson_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequestBuilder.java index 51e3479a86f..be4ed25f7ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPoisson_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPoisson_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPoisson_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Poisson_Dist Request Builder. */ -public class WorkbookFunctionsPoisson_DistRequestBuilder extends BaseWorkbookFunctionsPoisson_DistRequestBuilder implements IWorkbookFunctionsPoisson_DistRequestBuilder { +public class WorkbookFunctionsPoisson_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPoisson_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsPoisson_Dist @@ -26,6 +31,46 @@ public class WorkbookFunctionsPoisson_DistRequestBuilder extends BaseWorkbookFun * @param cumulative the cumulative */ public WorkbookFunctionsPoisson_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, mean, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("mean", mean); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsPoisson_DistRequest + * + * @return the IWorkbookFunctionsPoisson_DistRequest instance + */ + public IWorkbookFunctionsPoisson_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPoisson_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPoisson_DistRequest instance + */ + public IWorkbookFunctionsPoisson_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPoisson_DistRequest request = new WorkbookFunctionsPoisson_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("mean")) { + request.body.mean = getParameter("mean"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequest.java index f5ed4b9c647..38ac2debebc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPowerBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPowerRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPowerRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Power Request. */ -public class WorkbookFunctionsPowerRequest extends BaseWorkbookFunctionsPowerRequest implements IWorkbookFunctionsPowerRequest { +public class WorkbookFunctionsPowerRequest extends BaseRequest implements IWorkbookFunctionsPowerRequest { + protected final WorkbookFunctionsPowerBody body; /** * The request for this WorkbookFunctionsPower @@ -23,6 +32,49 @@ public class WorkbookFunctionsPowerRequest extends BaseWorkbookFunctionsPowerReq * @param requestOptions the options for this request */ public WorkbookFunctionsPowerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPowerBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPowerRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPowerRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPowerRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPowerRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPowerRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPowerRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequestBuilder.java index 4536666d151..186ee158c0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPowerRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPowerRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPowerRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Power Request Builder. */ -public class WorkbookFunctionsPowerRequestBuilder extends BaseWorkbookFunctionsPowerRequestBuilder implements IWorkbookFunctionsPowerRequestBuilder { +public class WorkbookFunctionsPowerRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPowerRequestBuilder { /** * The request builder for this WorkbookFunctionsPower @@ -25,6 +30,41 @@ public class WorkbookFunctionsPowerRequestBuilder extends BaseWorkbookFunctionsP * @param power the power */ public WorkbookFunctionsPowerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement power) { - super(requestUrl, client, requestOptions, number, power); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("power", power); + } + + /** + * Creates the IWorkbookFunctionsPowerRequest + * + * @return the IWorkbookFunctionsPowerRequest instance + */ + public IWorkbookFunctionsPowerRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPowerRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPowerRequest instance + */ + public IWorkbookFunctionsPowerRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPowerRequest request = new WorkbookFunctionsPowerRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("power")) { + request.body.power = getParameter("power"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequest.java index be16b85ad77..43551883471 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPpmtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPpmtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPpmtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ppmt Request. */ -public class WorkbookFunctionsPpmtRequest extends BaseWorkbookFunctionsPpmtRequest implements IWorkbookFunctionsPpmtRequest { +public class WorkbookFunctionsPpmtRequest extends BaseRequest implements IWorkbookFunctionsPpmtRequest { + protected final WorkbookFunctionsPpmtBody body; /** * The request for this WorkbookFunctionsPpmt @@ -23,6 +32,49 @@ public class WorkbookFunctionsPpmtRequest extends BaseWorkbookFunctionsPpmtReque * @param requestOptions the options for this request */ public WorkbookFunctionsPpmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPpmtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPpmtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPpmtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPpmtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPpmtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPpmtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPpmtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequestBuilder.java index 2b935632cfe..88d451fd716 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPpmtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPpmtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPpmtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Ppmt Request Builder. */ -public class WorkbookFunctionsPpmtRequestBuilder extends BaseWorkbookFunctionsPpmtRequestBuilder implements IWorkbookFunctionsPpmtRequestBuilder { +public class WorkbookFunctionsPpmtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPpmtRequestBuilder { /** * The request builder for this WorkbookFunctionsPpmt @@ -29,6 +34,61 @@ public class WorkbookFunctionsPpmtRequestBuilder extends BaseWorkbookFunctionsPp * @param type the type */ public WorkbookFunctionsPpmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, per, nper, pv, fv, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("per", per); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsPpmtRequest + * + * @return the IWorkbookFunctionsPpmtRequest instance + */ + public IWorkbookFunctionsPpmtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPpmtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPpmtRequest instance + */ + public IWorkbookFunctionsPpmtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPpmtRequest request = new WorkbookFunctionsPpmtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("per")) { + request.body.per = getParameter("per"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequest.java index c6e62738fe0..7abe098f51b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPriceDiscBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceDiscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPriceDiscRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Disc Request. */ -public class WorkbookFunctionsPriceDiscRequest extends BaseWorkbookFunctionsPriceDiscRequest implements IWorkbookFunctionsPriceDiscRequest { +public class WorkbookFunctionsPriceDiscRequest extends BaseRequest implements IWorkbookFunctionsPriceDiscRequest { + protected final WorkbookFunctionsPriceDiscBody body; /** * The request for this WorkbookFunctionsPriceDisc @@ -23,6 +32,49 @@ public class WorkbookFunctionsPriceDiscRequest extends BaseWorkbookFunctionsPric * @param requestOptions the options for this request */ public WorkbookFunctionsPriceDiscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPriceDiscBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPriceDiscRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPriceDiscRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPriceDiscRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPriceDiscRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPriceDiscRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPriceDiscRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequestBuilder.java index 0d2ad50b559..ca8dcbe7178 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceDiscRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceDiscRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPriceDiscRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Disc Request Builder. */ -public class WorkbookFunctionsPriceDiscRequestBuilder extends BaseWorkbookFunctionsPriceDiscRequestBuilder implements IWorkbookFunctionsPriceDiscRequestBuilder { +public class WorkbookFunctionsPriceDiscRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPriceDiscRequestBuilder { /** * The request builder for this WorkbookFunctionsPriceDisc @@ -28,6 +33,56 @@ public class WorkbookFunctionsPriceDiscRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsPriceDiscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, discount, redemption, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("discount", discount); + bodyParams.put("redemption", redemption); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsPriceDiscRequest + * + * @return the IWorkbookFunctionsPriceDiscRequest instance + */ + public IWorkbookFunctionsPriceDiscRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPriceDiscRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPriceDiscRequest instance + */ + public IWorkbookFunctionsPriceDiscRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPriceDiscRequest request = new WorkbookFunctionsPriceDiscRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("discount")) { + request.body.discount = getParameter("discount"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequest.java index 5681bbe8505..089c15dff0a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPriceMatBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceMatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPriceMatRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Mat Request. */ -public class WorkbookFunctionsPriceMatRequest extends BaseWorkbookFunctionsPriceMatRequest implements IWorkbookFunctionsPriceMatRequest { +public class WorkbookFunctionsPriceMatRequest extends BaseRequest implements IWorkbookFunctionsPriceMatRequest { + protected final WorkbookFunctionsPriceMatBody body; /** * The request for this WorkbookFunctionsPriceMat @@ -23,6 +32,49 @@ public class WorkbookFunctionsPriceMatRequest extends BaseWorkbookFunctionsPrice * @param requestOptions the options for this request */ public WorkbookFunctionsPriceMatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPriceMatBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPriceMatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPriceMatRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPriceMatRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPriceMatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPriceMatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPriceMatRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequestBuilder.java index f43c7cfd722..f5c02105f06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceMatRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceMatRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPriceMatRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Mat Request Builder. */ -public class WorkbookFunctionsPriceMatRequestBuilder extends BaseWorkbookFunctionsPriceMatRequestBuilder implements IWorkbookFunctionsPriceMatRequestBuilder { +public class WorkbookFunctionsPriceMatRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPriceMatRequestBuilder { /** * The request builder for this WorkbookFunctionsPriceMat @@ -29,6 +34,61 @@ public class WorkbookFunctionsPriceMatRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsPriceMatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, issue, rate, yld, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("issue", issue); + bodyParams.put("rate", rate); + bodyParams.put("yld", yld); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsPriceMatRequest + * + * @return the IWorkbookFunctionsPriceMatRequest instance + */ + public IWorkbookFunctionsPriceMatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPriceMatRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPriceMatRequest instance + */ + public IWorkbookFunctionsPriceMatRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPriceMatRequest request = new WorkbookFunctionsPriceMatRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("issue")) { + request.body.issue = getParameter("issue"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("yld")) { + request.body.yld = getParameter("yld"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequest.java index 69c1d1ea72f..56cac7e9d8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPriceBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPriceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Request. */ -public class WorkbookFunctionsPriceRequest extends BaseWorkbookFunctionsPriceRequest implements IWorkbookFunctionsPriceRequest { +public class WorkbookFunctionsPriceRequest extends BaseRequest implements IWorkbookFunctionsPriceRequest { + protected final WorkbookFunctionsPriceBody body; /** * The request for this WorkbookFunctionsPrice @@ -23,6 +32,49 @@ public class WorkbookFunctionsPriceRequest extends BaseWorkbookFunctionsPriceReq * @param requestOptions the options for this request */ public WorkbookFunctionsPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPriceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPriceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPriceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPriceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPriceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPriceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPriceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequestBuilder.java index fb704771b83..41d8a051186 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPriceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPriceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Price Request Builder. */ -public class WorkbookFunctionsPriceRequestBuilder extends BaseWorkbookFunctionsPriceRequestBuilder implements IWorkbookFunctionsPriceRequestBuilder { +public class WorkbookFunctionsPriceRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPriceRequestBuilder { /** * The request builder for this WorkbookFunctionsPrice @@ -30,6 +35,66 @@ public class WorkbookFunctionsPriceRequestBuilder extends BaseWorkbookFunctionsP * @param basis the basis */ public WorkbookFunctionsPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, rate, yld, redemption, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("rate", rate); + bodyParams.put("yld", yld); + bodyParams.put("redemption", redemption); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsPriceRequest + * + * @return the IWorkbookFunctionsPriceRequest instance + */ + public IWorkbookFunctionsPriceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPriceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPriceRequest instance + */ + public IWorkbookFunctionsPriceRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPriceRequest request = new WorkbookFunctionsPriceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("yld")) { + request.body.yld = getParameter("yld"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequest.java index fab2e642198..f2fc2369865 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsProductBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsProductRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsProductRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Product Request. */ -public class WorkbookFunctionsProductRequest extends BaseWorkbookFunctionsProductRequest implements IWorkbookFunctionsProductRequest { +public class WorkbookFunctionsProductRequest extends BaseRequest implements IWorkbookFunctionsProductRequest { + protected final WorkbookFunctionsProductBody body; /** * The request for this WorkbookFunctionsProduct @@ -23,6 +32,49 @@ public class WorkbookFunctionsProductRequest extends BaseWorkbookFunctionsProduc * @param requestOptions the options for this request */ public WorkbookFunctionsProductRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsProductBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsProductRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsProductRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsProductRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsProductRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsProductRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsProductRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequestBuilder.java index 8cab14b3df3..ab64cf709d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProductRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsProductRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsProductRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Product Request Builder. */ -public class WorkbookFunctionsProductRequestBuilder extends BaseWorkbookFunctionsProductRequestBuilder implements IWorkbookFunctionsProductRequestBuilder { +public class WorkbookFunctionsProductRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsProductRequestBuilder { /** * The request builder for this WorkbookFunctionsProduct @@ -24,6 +29,36 @@ public class WorkbookFunctionsProductRequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsProductRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsProductRequest + * + * @return the IWorkbookFunctionsProductRequest instance + */ + public IWorkbookFunctionsProductRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsProductRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsProductRequest instance + */ + public IWorkbookFunctionsProductRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsProductRequest request = new WorkbookFunctionsProductRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequest.java index 18d13e10663..3714a40a8e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsProperBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsProperRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsProperRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Proper Request. */ -public class WorkbookFunctionsProperRequest extends BaseWorkbookFunctionsProperRequest implements IWorkbookFunctionsProperRequest { +public class WorkbookFunctionsProperRequest extends BaseRequest implements IWorkbookFunctionsProperRequest { + protected final WorkbookFunctionsProperBody body; /** * The request for this WorkbookFunctionsProper @@ -23,6 +32,49 @@ public class WorkbookFunctionsProperRequest extends BaseWorkbookFunctionsProperR * @param requestOptions the options for this request */ public WorkbookFunctionsProperRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsProperBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsProperRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsProperRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsProperRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsProperRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsProperRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsProperRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequestBuilder.java index 7a846b499b4..5e0d837c0d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsProperRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsProperRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsProperRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Proper Request Builder. */ -public class WorkbookFunctionsProperRequestBuilder extends BaseWorkbookFunctionsProperRequestBuilder implements IWorkbookFunctionsProperRequestBuilder { +public class WorkbookFunctionsProperRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsProperRequestBuilder { /** * The request builder for this WorkbookFunctionsProper @@ -24,6 +29,36 @@ public class WorkbookFunctionsProperRequestBuilder extends BaseWorkbookFunctions * @param text the text */ public WorkbookFunctionsProperRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsProperRequest + * + * @return the IWorkbookFunctionsProperRequest instance + */ + public IWorkbookFunctionsProperRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsProperRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsProperRequest instance + */ + public IWorkbookFunctionsProperRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsProperRequest request = new WorkbookFunctionsProperRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequest.java index a0f48d59012..569d1080b73 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsPvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pv Request. */ -public class WorkbookFunctionsPvRequest extends BaseWorkbookFunctionsPvRequest implements IWorkbookFunctionsPvRequest { +public class WorkbookFunctionsPvRequest extends BaseRequest implements IWorkbookFunctionsPvRequest { + protected final WorkbookFunctionsPvBody body; /** * The request for this WorkbookFunctionsPv @@ -23,6 +32,49 @@ public class WorkbookFunctionsPvRequest extends BaseWorkbookFunctionsPvRequest i * @param requestOptions the options for this request */ public WorkbookFunctionsPvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsPvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsPvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsPvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsPvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsPvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsPvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsPvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequestBuilder.java index 3c229e04010..c8033a1e642 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsPvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsPvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Pv Request Builder. */ -public class WorkbookFunctionsPvRequestBuilder extends BaseWorkbookFunctionsPvRequestBuilder implements IWorkbookFunctionsPvRequestBuilder { +public class WorkbookFunctionsPvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsPvRequestBuilder { /** * The request builder for this WorkbookFunctionsPv @@ -28,6 +33,56 @@ public class WorkbookFunctionsPvRequestBuilder extends BaseWorkbookFunctionsPvRe * @param type the type */ public WorkbookFunctionsPvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions, rate, nper, pmt, fv, type); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("nper", nper); + bodyParams.put("pmt", pmt); + bodyParams.put("fv", fv); + bodyParams.put("type", type); + } + + /** + * Creates the IWorkbookFunctionsPvRequest + * + * @return the IWorkbookFunctionsPvRequest instance + */ + public IWorkbookFunctionsPvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsPvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsPvRequest instance + */ + public IWorkbookFunctionsPvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsPvRequest request = new WorkbookFunctionsPvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pmt")) { + request.body.pmt = getParameter("pmt"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequest.java index 8f1541962eb..799d7d4a7a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsQuartile_ExcBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_ExcRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsQuartile_ExcRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quartile_Exc Request. */ -public class WorkbookFunctionsQuartile_ExcRequest extends BaseWorkbookFunctionsQuartile_ExcRequest implements IWorkbookFunctionsQuartile_ExcRequest { +public class WorkbookFunctionsQuartile_ExcRequest extends BaseRequest implements IWorkbookFunctionsQuartile_ExcRequest { + protected final WorkbookFunctionsQuartile_ExcBody body; /** * The request for this WorkbookFunctionsQuartile_Exc @@ -23,6 +32,49 @@ public class WorkbookFunctionsQuartile_ExcRequest extends BaseWorkbookFunctionsQ * @param requestOptions the options for this request */ public WorkbookFunctionsQuartile_ExcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsQuartile_ExcBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsQuartile_ExcRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsQuartile_ExcRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsQuartile_ExcRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsQuartile_ExcRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsQuartile_ExcRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsQuartile_ExcRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequestBuilder.java index 457ef4fb932..779505830b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_ExcRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_ExcRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsQuartile_ExcRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quartile_Exc Request Builder. */ -public class WorkbookFunctionsQuartile_ExcRequestBuilder extends BaseWorkbookFunctionsQuartile_ExcRequestBuilder implements IWorkbookFunctionsQuartile_ExcRequestBuilder { +public class WorkbookFunctionsQuartile_ExcRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsQuartile_ExcRequestBuilder { /** * The request builder for this WorkbookFunctionsQuartile_Exc @@ -25,6 +30,41 @@ public class WorkbookFunctionsQuartile_ExcRequestBuilder extends BaseWorkbookFun * @param quart the quart */ public WorkbookFunctionsQuartile_ExcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { - super(requestUrl, client, requestOptions, array, quart); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("quart", quart); + } + + /** + * Creates the IWorkbookFunctionsQuartile_ExcRequest + * + * @return the IWorkbookFunctionsQuartile_ExcRequest instance + */ + public IWorkbookFunctionsQuartile_ExcRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsQuartile_ExcRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsQuartile_ExcRequest instance + */ + public IWorkbookFunctionsQuartile_ExcRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsQuartile_ExcRequest request = new WorkbookFunctionsQuartile_ExcRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("quart")) { + request.body.quart = getParameter("quart"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequest.java index f46f02e9efa..31a502c909f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsQuartile_IncBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_IncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsQuartile_IncRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quartile_Inc Request. */ -public class WorkbookFunctionsQuartile_IncRequest extends BaseWorkbookFunctionsQuartile_IncRequest implements IWorkbookFunctionsQuartile_IncRequest { +public class WorkbookFunctionsQuartile_IncRequest extends BaseRequest implements IWorkbookFunctionsQuartile_IncRequest { + protected final WorkbookFunctionsQuartile_IncBody body; /** * The request for this WorkbookFunctionsQuartile_Inc @@ -23,6 +32,49 @@ public class WorkbookFunctionsQuartile_IncRequest extends BaseWorkbookFunctionsQ * @param requestOptions the options for this request */ public WorkbookFunctionsQuartile_IncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsQuartile_IncBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsQuartile_IncRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsQuartile_IncRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsQuartile_IncRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsQuartile_IncRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsQuartile_IncRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsQuartile_IncRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequestBuilder.java index 24345da986d..14f70e6bf8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuartile_IncRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_IncRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsQuartile_IncRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quartile_Inc Request Builder. */ -public class WorkbookFunctionsQuartile_IncRequestBuilder extends BaseWorkbookFunctionsQuartile_IncRequestBuilder implements IWorkbookFunctionsQuartile_IncRequestBuilder { +public class WorkbookFunctionsQuartile_IncRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsQuartile_IncRequestBuilder { /** * The request builder for this WorkbookFunctionsQuartile_Inc @@ -25,6 +30,41 @@ public class WorkbookFunctionsQuartile_IncRequestBuilder extends BaseWorkbookFun * @param quart the quart */ public WorkbookFunctionsQuartile_IncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { - super(requestUrl, client, requestOptions, array, quart); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("quart", quart); + } + + /** + * Creates the IWorkbookFunctionsQuartile_IncRequest + * + * @return the IWorkbookFunctionsQuartile_IncRequest instance + */ + public IWorkbookFunctionsQuartile_IncRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsQuartile_IncRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsQuartile_IncRequest instance + */ + public IWorkbookFunctionsQuartile_IncRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsQuartile_IncRequest request = new WorkbookFunctionsQuartile_IncRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("quart")) { + request.body.quart = getParameter("quart"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequest.java index 9453de05dd8..ef50202f203 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsQuotientBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuotientRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsQuotientRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quotient Request. */ -public class WorkbookFunctionsQuotientRequest extends BaseWorkbookFunctionsQuotientRequest implements IWorkbookFunctionsQuotientRequest { +public class WorkbookFunctionsQuotientRequest extends BaseRequest implements IWorkbookFunctionsQuotientRequest { + protected final WorkbookFunctionsQuotientBody body; /** * The request for this WorkbookFunctionsQuotient @@ -23,6 +32,49 @@ public class WorkbookFunctionsQuotientRequest extends BaseWorkbookFunctionsQuoti * @param requestOptions the options for this request */ public WorkbookFunctionsQuotientRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsQuotientBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsQuotientRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsQuotientRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsQuotientRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsQuotientRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsQuotientRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsQuotientRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequestBuilder.java index 2418bb6d408..a8f4ed1faa5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsQuotientRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuotientRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsQuotientRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Quotient Request Builder. */ -public class WorkbookFunctionsQuotientRequestBuilder extends BaseWorkbookFunctionsQuotientRequestBuilder implements IWorkbookFunctionsQuotientRequestBuilder { +public class WorkbookFunctionsQuotientRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsQuotientRequestBuilder { /** * The request builder for this WorkbookFunctionsQuotient @@ -25,6 +30,41 @@ public class WorkbookFunctionsQuotientRequestBuilder extends BaseWorkbookFunctio * @param denominator the denominator */ public WorkbookFunctionsQuotientRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement numerator, final com.google.gson.JsonElement denominator) { - super(requestUrl, client, requestOptions, numerator, denominator); + super(requestUrl, client, requestOptions); + bodyParams.put("numerator", numerator); + bodyParams.put("denominator", denominator); + } + + /** + * Creates the IWorkbookFunctionsQuotientRequest + * + * @return the IWorkbookFunctionsQuotientRequest instance + */ + public IWorkbookFunctionsQuotientRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsQuotientRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsQuotientRequest instance + */ + public IWorkbookFunctionsQuotientRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsQuotientRequest request = new WorkbookFunctionsQuotientRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("numerator")) { + request.body.numerator = getParameter("numerator"); + } + + if (hasParameter("denominator")) { + request.body.denominator = getParameter("denominator"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequest.java index 4537493f979..9c72ea81d75 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRadiansBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRadiansRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRadiansRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Radians Request. */ -public class WorkbookFunctionsRadiansRequest extends BaseWorkbookFunctionsRadiansRequest implements IWorkbookFunctionsRadiansRequest { +public class WorkbookFunctionsRadiansRequest extends BaseRequest implements IWorkbookFunctionsRadiansRequest { + protected final WorkbookFunctionsRadiansBody body; /** * The request for this WorkbookFunctionsRadians @@ -23,6 +32,49 @@ public class WorkbookFunctionsRadiansRequest extends BaseWorkbookFunctionsRadian * @param requestOptions the options for this request */ public WorkbookFunctionsRadiansRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRadiansBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRadiansRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRadiansRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRadiansRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRadiansRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRadiansRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRadiansRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequestBuilder.java index dd26fc18c4d..c3e7ca4d1a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRadiansRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRadiansRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRadiansRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Radians Request Builder. */ -public class WorkbookFunctionsRadiansRequestBuilder extends BaseWorkbookFunctionsRadiansRequestBuilder implements IWorkbookFunctionsRadiansRequestBuilder { +public class WorkbookFunctionsRadiansRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRadiansRequestBuilder { /** * The request builder for this WorkbookFunctionsRadians @@ -24,6 +29,36 @@ public class WorkbookFunctionsRadiansRequestBuilder extends BaseWorkbookFunction * @param angle the angle */ public WorkbookFunctionsRadiansRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement angle) { - super(requestUrl, client, requestOptions, angle); + super(requestUrl, client, requestOptions); + bodyParams.put("angle", angle); + } + + /** + * Creates the IWorkbookFunctionsRadiansRequest + * + * @return the IWorkbookFunctionsRadiansRequest instance + */ + public IWorkbookFunctionsRadiansRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRadiansRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRadiansRequest instance + */ + public IWorkbookFunctionsRadiansRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRadiansRequest request = new WorkbookFunctionsRadiansRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("angle")) { + request.body.angle = getParameter("angle"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequest.java index c48441a5ce7..7dca296f110 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRandBetweenBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandBetweenRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRandBetweenRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rand Between Request. */ -public class WorkbookFunctionsRandBetweenRequest extends BaseWorkbookFunctionsRandBetweenRequest implements IWorkbookFunctionsRandBetweenRequest { +public class WorkbookFunctionsRandBetweenRequest extends BaseRequest implements IWorkbookFunctionsRandBetweenRequest { + protected final WorkbookFunctionsRandBetweenBody body; /** * The request for this WorkbookFunctionsRandBetween @@ -23,6 +32,49 @@ public class WorkbookFunctionsRandBetweenRequest extends BaseWorkbookFunctionsRa * @param requestOptions the options for this request */ public WorkbookFunctionsRandBetweenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRandBetweenBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRandBetweenRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRandBetweenRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRandBetweenRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRandBetweenRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRandBetweenRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRandBetweenRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequestBuilder.java index 81cdffaaa0f..702ce49de8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandBetweenRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandBetweenRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRandBetweenRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rand Between Request Builder. */ -public class WorkbookFunctionsRandBetweenRequestBuilder extends BaseWorkbookFunctionsRandBetweenRequestBuilder implements IWorkbookFunctionsRandBetweenRequestBuilder { +public class WorkbookFunctionsRandBetweenRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRandBetweenRequestBuilder { /** * The request builder for this WorkbookFunctionsRandBetween @@ -25,6 +30,41 @@ public class WorkbookFunctionsRandBetweenRequestBuilder extends BaseWorkbookFunc * @param top the top */ public WorkbookFunctionsRandBetweenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement bottom, final com.google.gson.JsonElement top) { - super(requestUrl, client, requestOptions, bottom, top); + super(requestUrl, client, requestOptions); + bodyParams.put("bottom", bottom); + bodyParams.put("top", top); + } + + /** + * Creates the IWorkbookFunctionsRandBetweenRequest + * + * @return the IWorkbookFunctionsRandBetweenRequest instance + */ + public IWorkbookFunctionsRandBetweenRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRandBetweenRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRandBetweenRequest instance + */ + public IWorkbookFunctionsRandBetweenRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRandBetweenRequest request = new WorkbookFunctionsRandBetweenRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("bottom")) { + request.body.bottom = getParameter("bottom"); + } + + if (hasParameter("top")) { + request.body.top = getParameter("top"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequest.java index 1e915bb4bcb..7e5c145770e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRandRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rand Request. */ -public class WorkbookFunctionsRandRequest extends BaseWorkbookFunctionsRandRequest implements IWorkbookFunctionsRandRequest { +public class WorkbookFunctionsRandRequest extends BaseRequest implements IWorkbookFunctionsRandRequest { /** * The request for this WorkbookFunctionsRand @@ -23,6 +31,48 @@ public class WorkbookFunctionsRandRequest extends BaseWorkbookFunctionsRandReque * @param requestOptions the options for this request */ public WorkbookFunctionsRandRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsRand + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsRand + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRandRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRandRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRandRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRandRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequestBuilder.java index f8ad0c2d2d0..3b5d4876732 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRandRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRandRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rand Request Builder. */ -public class WorkbookFunctionsRandRequestBuilder extends BaseWorkbookFunctionsRandRequestBuilder implements IWorkbookFunctionsRandRequestBuilder { +public class WorkbookFunctionsRandRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRandRequestBuilder { /** * The request builder for this WorkbookFunctionsRand @@ -25,4 +30,29 @@ public class WorkbookFunctionsRandRequestBuilder extends BaseWorkbookFunctionsRa public WorkbookFunctionsRandRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsRandRequest + * + * @return the IWorkbookFunctionsRandRequest instance + */ + public IWorkbookFunctionsRandRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRandRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRandRequest instance + */ + public IWorkbookFunctionsRandRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRandRequest request = new WorkbookFunctionsRandRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequest.java index 90ca0c6ff57..7b5e218123f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRank_AvgBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_AvgRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRank_AvgRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rank_Avg Request. */ -public class WorkbookFunctionsRank_AvgRequest extends BaseWorkbookFunctionsRank_AvgRequest implements IWorkbookFunctionsRank_AvgRequest { +public class WorkbookFunctionsRank_AvgRequest extends BaseRequest implements IWorkbookFunctionsRank_AvgRequest { + protected final WorkbookFunctionsRank_AvgBody body; /** * The request for this WorkbookFunctionsRank_Avg @@ -23,6 +32,49 @@ public class WorkbookFunctionsRank_AvgRequest extends BaseWorkbookFunctionsRank_ * @param requestOptions the options for this request */ public WorkbookFunctionsRank_AvgRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRank_AvgBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRank_AvgRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRank_AvgRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRank_AvgRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRank_AvgRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRank_AvgRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRank_AvgRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequestBuilder.java index 68b2ad3d268..738358c3ffc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_AvgRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_AvgRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRank_AvgRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rank_Avg Request Builder. */ -public class WorkbookFunctionsRank_AvgRequestBuilder extends BaseWorkbookFunctionsRank_AvgRequestBuilder implements IWorkbookFunctionsRank_AvgRequestBuilder { +public class WorkbookFunctionsRank_AvgRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRank_AvgRequestBuilder { /** * The request builder for this WorkbookFunctionsRank_Avg @@ -26,6 +31,46 @@ public class WorkbookFunctionsRank_AvgRequestBuilder extends BaseWorkbookFunctio * @param order the order */ public WorkbookFunctionsRank_AvgRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { - super(requestUrl, client, requestOptions, number, ref, order); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("ref", ref); + bodyParams.put("order", order); + } + + /** + * Creates the IWorkbookFunctionsRank_AvgRequest + * + * @return the IWorkbookFunctionsRank_AvgRequest instance + */ + public IWorkbookFunctionsRank_AvgRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRank_AvgRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRank_AvgRequest instance + */ + public IWorkbookFunctionsRank_AvgRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRank_AvgRequest request = new WorkbookFunctionsRank_AvgRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("ref")) { + request.body.ref = getParameter("ref"); + } + + if (hasParameter("order")) { + request.body.order = getParameter("order"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequest.java index af43e400631..360442aee16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRank_EqBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_EqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRank_EqRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rank_Eq Request. */ -public class WorkbookFunctionsRank_EqRequest extends BaseWorkbookFunctionsRank_EqRequest implements IWorkbookFunctionsRank_EqRequest { +public class WorkbookFunctionsRank_EqRequest extends BaseRequest implements IWorkbookFunctionsRank_EqRequest { + protected final WorkbookFunctionsRank_EqBody body; /** * The request for this WorkbookFunctionsRank_Eq @@ -23,6 +32,49 @@ public class WorkbookFunctionsRank_EqRequest extends BaseWorkbookFunctionsRank_E * @param requestOptions the options for this request */ public WorkbookFunctionsRank_EqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRank_EqBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRank_EqRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRank_EqRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRank_EqRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRank_EqRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRank_EqRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRank_EqRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequestBuilder.java index 1af5b068601..b81f7bf925e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRank_EqRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_EqRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRank_EqRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rank_Eq Request Builder. */ -public class WorkbookFunctionsRank_EqRequestBuilder extends BaseWorkbookFunctionsRank_EqRequestBuilder implements IWorkbookFunctionsRank_EqRequestBuilder { +public class WorkbookFunctionsRank_EqRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRank_EqRequestBuilder { /** * The request builder for this WorkbookFunctionsRank_Eq @@ -26,6 +31,46 @@ public class WorkbookFunctionsRank_EqRequestBuilder extends BaseWorkbookFunction * @param order the order */ public WorkbookFunctionsRank_EqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { - super(requestUrl, client, requestOptions, number, ref, order); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("ref", ref); + bodyParams.put("order", order); + } + + /** + * Creates the IWorkbookFunctionsRank_EqRequest + * + * @return the IWorkbookFunctionsRank_EqRequest instance + */ + public IWorkbookFunctionsRank_EqRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRank_EqRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRank_EqRequest instance + */ + public IWorkbookFunctionsRank_EqRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRank_EqRequest request = new WorkbookFunctionsRank_EqRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("ref")) { + request.body.ref = getParameter("ref"); + } + + if (hasParameter("order")) { + request.body.order = getParameter("order"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequest.java index d9b7190633c..90c88a922bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRateBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRateRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRateRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rate Request. */ -public class WorkbookFunctionsRateRequest extends BaseWorkbookFunctionsRateRequest implements IWorkbookFunctionsRateRequest { +public class WorkbookFunctionsRateRequest extends BaseRequest implements IWorkbookFunctionsRateRequest { + protected final WorkbookFunctionsRateBody body; /** * The request for this WorkbookFunctionsRate @@ -23,6 +32,49 @@ public class WorkbookFunctionsRateRequest extends BaseWorkbookFunctionsRateReque * @param requestOptions the options for this request */ public WorkbookFunctionsRateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRateBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRateRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRateRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRateRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRateRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRateRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRateRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequestBuilder.java index fd5b7d2e764..5598d5f0434 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRateRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRateRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRateRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rate Request Builder. */ -public class WorkbookFunctionsRateRequestBuilder extends BaseWorkbookFunctionsRateRequestBuilder implements IWorkbookFunctionsRateRequestBuilder { +public class WorkbookFunctionsRateRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRateRequestBuilder { /** * The request builder for this WorkbookFunctionsRate @@ -29,6 +34,61 @@ public class WorkbookFunctionsRateRequestBuilder extends BaseWorkbookFunctionsRa * @param guess the guess */ public WorkbookFunctionsRateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type, final com.google.gson.JsonElement guess) { - super(requestUrl, client, requestOptions, nper, pmt, pv, fv, type, guess); + super(requestUrl, client, requestOptions); + bodyParams.put("nper", nper); + bodyParams.put("pmt", pmt); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + bodyParams.put("type", type); + bodyParams.put("guess", guess); + } + + /** + * Creates the IWorkbookFunctionsRateRequest + * + * @return the IWorkbookFunctionsRateRequest instance + */ + public IWorkbookFunctionsRateRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRateRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRateRequest instance + */ + public IWorkbookFunctionsRateRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRateRequest request = new WorkbookFunctionsRateRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pmt")) { + request.body.pmt = getParameter("pmt"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + if (hasParameter("type")) { + request.body.type = getParameter("type"); + } + + if (hasParameter("guess")) { + request.body.guess = getParameter("guess"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequest.java index 6768135ac45..953a8d68238 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsReceivedBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReceivedRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReceivedRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Received Request. */ -public class WorkbookFunctionsReceivedRequest extends BaseWorkbookFunctionsReceivedRequest implements IWorkbookFunctionsReceivedRequest { +public class WorkbookFunctionsReceivedRequest extends BaseRequest implements IWorkbookFunctionsReceivedRequest { + protected final WorkbookFunctionsReceivedBody body; /** * The request for this WorkbookFunctionsReceived @@ -23,6 +32,49 @@ public class WorkbookFunctionsReceivedRequest extends BaseWorkbookFunctionsRecei * @param requestOptions the options for this request */ public WorkbookFunctionsReceivedRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsReceivedBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsReceivedRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsReceivedRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsReceivedRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsReceivedRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsReceivedRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsReceivedRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequestBuilder.java index e206363ad92..8c6b2178f54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReceivedRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReceivedRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReceivedRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Received Request Builder. */ -public class WorkbookFunctionsReceivedRequestBuilder extends BaseWorkbookFunctionsReceivedRequestBuilder implements IWorkbookFunctionsReceivedRequestBuilder { +public class WorkbookFunctionsReceivedRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsReceivedRequestBuilder { /** * The request builder for this WorkbookFunctionsReceived @@ -28,6 +33,56 @@ public class WorkbookFunctionsReceivedRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsReceivedRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, investment, discount, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("investment", investment); + bodyParams.put("discount", discount); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsReceivedRequest + * + * @return the IWorkbookFunctionsReceivedRequest instance + */ + public IWorkbookFunctionsReceivedRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsReceivedRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReceivedRequest instance + */ + public IWorkbookFunctionsReceivedRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsReceivedRequest request = new WorkbookFunctionsReceivedRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("investment")) { + request.body.investment = getParameter("investment"); + } + + if (hasParameter("discount")) { + request.body.discount = getParameter("discount"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequest.java index d1461b2c1a1..782ffa65922 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsReplaceBBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceBRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReplaceBRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Replace BRequest. */ -public class WorkbookFunctionsReplaceBRequest extends BaseWorkbookFunctionsReplaceBRequest implements IWorkbookFunctionsReplaceBRequest { +public class WorkbookFunctionsReplaceBRequest extends BaseRequest implements IWorkbookFunctionsReplaceBRequest { + protected final WorkbookFunctionsReplaceBBody body; /** * The request for this WorkbookFunctionsReplaceB @@ -23,6 +32,49 @@ public class WorkbookFunctionsReplaceBRequest extends BaseWorkbookFunctionsRepla * @param requestOptions the options for this request */ public WorkbookFunctionsReplaceBRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsReplaceBBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsReplaceBRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsReplaceBRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsReplaceBRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsReplaceBRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsReplaceBRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsReplaceBRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequestBuilder.java index 0f516841dfc..cb90093fe23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceBRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceBRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReplaceBRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Replace BRequest Builder. */ -public class WorkbookFunctionsReplaceBRequestBuilder extends BaseWorkbookFunctionsReplaceBRequestBuilder implements IWorkbookFunctionsReplaceBRequestBuilder { +public class WorkbookFunctionsReplaceBRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsReplaceBRequestBuilder { /** * The request builder for this WorkbookFunctionsReplaceB @@ -27,6 +32,51 @@ public class WorkbookFunctionsReplaceBRequestBuilder extends BaseWorkbookFunctio * @param newText the newText */ public WorkbookFunctionsReplaceBRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes, final com.google.gson.JsonElement newText) { - super(requestUrl, client, requestOptions, oldText, startNum, numBytes, newText); + super(requestUrl, client, requestOptions); + bodyParams.put("oldText", oldText); + bodyParams.put("startNum", startNum); + bodyParams.put("numBytes", numBytes); + bodyParams.put("newText", newText); + } + + /** + * Creates the IWorkbookFunctionsReplaceBRequest + * + * @return the IWorkbookFunctionsReplaceBRequest instance + */ + public IWorkbookFunctionsReplaceBRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsReplaceBRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReplaceBRequest instance + */ + public IWorkbookFunctionsReplaceBRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsReplaceBRequest request = new WorkbookFunctionsReplaceBRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("oldText")) { + request.body.oldText = getParameter("oldText"); + } + + if (hasParameter("startNum")) { + request.body.startNum = getParameter("startNum"); + } + + if (hasParameter("numBytes")) { + request.body.numBytes = getParameter("numBytes"); + } + + if (hasParameter("newText")) { + request.body.newText = getParameter("newText"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequest.java index 69e180422d9..acd59c5be8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsReplaceBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReplaceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Replace Request. */ -public class WorkbookFunctionsReplaceRequest extends BaseWorkbookFunctionsReplaceRequest implements IWorkbookFunctionsReplaceRequest { +public class WorkbookFunctionsReplaceRequest extends BaseRequest implements IWorkbookFunctionsReplaceRequest { + protected final WorkbookFunctionsReplaceBody body; /** * The request for this WorkbookFunctionsReplace @@ -23,6 +32,49 @@ public class WorkbookFunctionsReplaceRequest extends BaseWorkbookFunctionsReplac * @param requestOptions the options for this request */ public WorkbookFunctionsReplaceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsReplaceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsReplaceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsReplaceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsReplaceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsReplaceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsReplaceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsReplaceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequestBuilder.java index c254d99e5d0..48e7789a2f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReplaceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReplaceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Replace Request Builder. */ -public class WorkbookFunctionsReplaceRequestBuilder extends BaseWorkbookFunctionsReplaceRequestBuilder implements IWorkbookFunctionsReplaceRequestBuilder { +public class WorkbookFunctionsReplaceRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsReplaceRequestBuilder { /** * The request builder for this WorkbookFunctionsReplace @@ -27,6 +32,51 @@ public class WorkbookFunctionsReplaceRequestBuilder extends BaseWorkbookFunction * @param newText the newText */ public WorkbookFunctionsReplaceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars, final com.google.gson.JsonElement newText) { - super(requestUrl, client, requestOptions, oldText, startNum, numChars, newText); + super(requestUrl, client, requestOptions); + bodyParams.put("oldText", oldText); + bodyParams.put("startNum", startNum); + bodyParams.put("numChars", numChars); + bodyParams.put("newText", newText); + } + + /** + * Creates the IWorkbookFunctionsReplaceRequest + * + * @return the IWorkbookFunctionsReplaceRequest instance + */ + public IWorkbookFunctionsReplaceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsReplaceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReplaceRequest instance + */ + public IWorkbookFunctionsReplaceRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsReplaceRequest request = new WorkbookFunctionsReplaceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("oldText")) { + request.body.oldText = getParameter("oldText"); + } + + if (hasParameter("startNum")) { + request.body.startNum = getParameter("startNum"); + } + + if (hasParameter("numChars")) { + request.body.numChars = getParameter("numChars"); + } + + if (hasParameter("newText")) { + request.body.newText = getParameter("newText"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequest.java index d49a409a9ee..582b89850f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsReptBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReptRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReptRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rept Request. */ -public class WorkbookFunctionsReptRequest extends BaseWorkbookFunctionsReptRequest implements IWorkbookFunctionsReptRequest { +public class WorkbookFunctionsReptRequest extends BaseRequest implements IWorkbookFunctionsReptRequest { + protected final WorkbookFunctionsReptBody body; /** * The request for this WorkbookFunctionsRept @@ -23,6 +32,49 @@ public class WorkbookFunctionsReptRequest extends BaseWorkbookFunctionsReptReque * @param requestOptions the options for this request */ public WorkbookFunctionsReptRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsReptBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsReptRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsReptRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsReptRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsReptRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsReptRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsReptRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequestBuilder.java index e35c63ddb28..b3534d4a98f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsReptRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReptRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsReptRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rept Request Builder. */ -public class WorkbookFunctionsReptRequestBuilder extends BaseWorkbookFunctionsReptRequestBuilder implements IWorkbookFunctionsReptRequestBuilder { +public class WorkbookFunctionsReptRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsReptRequestBuilder { /** * The request builder for this WorkbookFunctionsRept @@ -25,6 +30,41 @@ public class WorkbookFunctionsReptRequestBuilder extends BaseWorkbookFunctionsRe * @param numberTimes the numberTimes */ public WorkbookFunctionsReptRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numberTimes) { - super(requestUrl, client, requestOptions, text, numberTimes); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("numberTimes", numberTimes); + } + + /** + * Creates the IWorkbookFunctionsReptRequest + * + * @return the IWorkbookFunctionsReptRequest instance + */ + public IWorkbookFunctionsReptRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsReptRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsReptRequest instance + */ + public IWorkbookFunctionsReptRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsReptRequest request = new WorkbookFunctionsReptRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("numberTimes")) { + request.body.numberTimes = getParameter("numberTimes"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequest.java index 5da223e9f2a..af06e0143ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRequest; +import com.microsoft.graph.models.extensions.WorkbookFunctions; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookFunctions; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Request. */ -public class WorkbookFunctionsRequest extends BaseWorkbookFunctionsRequest implements IWorkbookFunctionsRequest { - +public class WorkbookFunctionsRequest extends BaseRequest implements IWorkbookFunctionsRequest { + /** * The request for the WorkbookFunctions * @@ -26,4 +32,107 @@ public class WorkbookFunctionsRequest extends BaseWorkbookFunctionsRequest imple public WorkbookFunctionsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookFunctions.class); } + + /** + * Gets the WorkbookFunctions from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookFunctions from the service + * + * @return the WorkbookFunctions from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctions get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookFunctions with a source + * + * @param sourceWorkbookFunctions the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookFunctions sourceWorkbookFunctions, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookFunctions); + } + + /** + * Patches this WorkbookFunctions with a source + * + * @param sourceWorkbookFunctions the source object with updates + * @return the updated WorkbookFunctions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctions patch(final WorkbookFunctions sourceWorkbookFunctions) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookFunctions); + } + + /** + * Creates a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookFunctions newWorkbookFunctions, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookFunctions); + } + + /** + * Creates a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the new object to create + * @return the created WorkbookFunctions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctions post(final WorkbookFunctions newWorkbookFunctions) throws ClientException { + return send(HttpMethod.POST, newWorkbookFunctions); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequestBuilder.java index bb6cd4ccbdd..9477151578e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequestBuilder.java @@ -3,17 +3,752 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRequest; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAbsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntMRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcosRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcoshRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcothRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorDegrcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorLincRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAndRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsArabicRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAreasRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2RequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtan2RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAveDevRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBahtTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBaseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselIRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselJRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselKRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselYRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_Dist_RangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitandRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitlshiftRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitrshiftRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitxorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_MathRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCharRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Inv_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsChooseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCleanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsColumnsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsComplexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConcatenateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_NormRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_TRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsConvertRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCosRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoshRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCothRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountBlankRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDayBsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysNcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNcdRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupPcdRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCschRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumIPmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumPrincRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaverageRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDgetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDmaxRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDminRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDproductRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevPRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDsumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarPRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDatevalueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360RequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDays360RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbcsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDdbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDecimalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDegreesRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDeltaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDevSqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarDeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarFrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsDurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEcma_CeilingRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEdateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEffectRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEoMonthRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfCRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfC_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsErf_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsError_TypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsEvenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExactRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpon_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvscheduleRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Inv_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactDoubleRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFalseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindBRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherInvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFixedRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_MathRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLn_PreciseRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGaussRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGcdRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeStepRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeoMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHlookupRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHarMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2OctRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHourRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHypGeom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsHyperlinkRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIso_CeilingRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImAbsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImArgumentRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImConjugateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCosRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCoshRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCschRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImDivRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImExpRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10RequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog10RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2RequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog2RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImPowerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImProductRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImRealRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSechRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSqrtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSubRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImTanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsImaginaryRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIpmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIrrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsEvenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsFormulaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsLogicalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNonTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNumberRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsOddRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsoWeekNumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIspmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsrefRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsKurtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLargeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLcmRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10RequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLog10RequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLookupRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsLowerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMdurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMirrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMroundRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMatchRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMedianRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinuteRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsModRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMonthRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsMultiNomialRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNperRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNegBinom_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDaysRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDays_IntlRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNominalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNotRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNpvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsNumberValueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2BinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2DecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2HexRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsOrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPdurationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutationaRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPhiRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPiRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPoisson_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPowerRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPpmtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceMatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsProductRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsProperRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsPvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_ExcRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_IncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuotientRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRadiansRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandBetweenRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_AvgRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_EqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRateRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReceivedRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceBRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsReptRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRomanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundDownRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundUpRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRowsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRriRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSechRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecondRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSeriesSumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSignRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkewRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkew_pRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSlnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSmallRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtPiRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevPARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_PRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_SRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStandardizeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubstituteRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubtotalRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumSqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSydRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillEqRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillPriceRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_2TRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_RTRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_InvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Inv_2TRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanhRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTextRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimevalueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTodayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimMeanRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTruncRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTypeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUsdollarRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicharRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicodeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUpperRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVlookupRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsValueRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarPARequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_PRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_SRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVdbRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekNumRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekdayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeibull_DistRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDayRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDay_IntlRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXirrRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXnpvRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXorRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearFracRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldDiscRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldMatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsZ_TestRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Request Builder. */ -public class WorkbookFunctionsRequestBuilder extends BaseWorkbookFunctionsRequestBuilder implements IWorkbookFunctionsRequestBuilder { +public class WorkbookFunctionsRequestBuilder extends BaseRequestBuilder implements IWorkbookFunctionsRequestBuilder { /** * The request builder for the WorkbookFunctions @@ -25,4 +760,1490 @@ public class WorkbookFunctionsRequestBuilder extends BaseWorkbookFunctionsReques public WorkbookFunctionsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookFunctionsRequest instance + */ + public IWorkbookFunctionsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookFunctionsRequest instance + */ + public IWorkbookFunctionsRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookFunctionsRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookFunctionsAbsRequestBuilder abs(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAbsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.abs"), getClient(), null, number); + } + + public IWorkbookFunctionsAccrIntRequestBuilder accrInt(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstInterest, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis, final com.google.gson.JsonElement calcMethod) { + return new WorkbookFunctionsAccrIntRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.accrInt"), getClient(), null, issue, firstInterest, settlement, rate, par, frequency, basis, calcMethod); + } + + public IWorkbookFunctionsAccrIntMRequestBuilder accrIntM(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsAccrIntMRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.accrIntM"), getClient(), null, issue, settlement, rate, par, basis); + } + + public IWorkbookFunctionsAcosRequestBuilder acos(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAcosRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acos"), getClient(), null, number); + } + + public IWorkbookFunctionsAcoshRequestBuilder acosh(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAcoshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acosh"), getClient(), null, number); + } + + public IWorkbookFunctionsAcotRequestBuilder acot(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAcotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acot"), getClient(), null, number); + } + + public IWorkbookFunctionsAcothRequestBuilder acoth(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAcothRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acoth"), getClient(), null, number); + } + + public IWorkbookFunctionsAmorDegrcRequestBuilder amorDegrc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsAmorDegrcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.amorDegrc"), getClient(), null, cost, datePurchased, firstPeriod, salvage, period, rate, basis); + } + + public IWorkbookFunctionsAmorLincRequestBuilder amorLinc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsAmorLincRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.amorLinc"), getClient(), null, cost, datePurchased, firstPeriod, salvage, period, rate, basis); + } + + public IWorkbookFunctionsAndRequestBuilder and(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsAndRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.and"), getClient(), null, values); + } + + public IWorkbookFunctionsArabicRequestBuilder arabic(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsArabicRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.arabic"), getClient(), null, text); + } + + public IWorkbookFunctionsAreasRequestBuilder areas(final com.google.gson.JsonElement reference) { + return new WorkbookFunctionsAreasRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.areas"), getClient(), null, reference); + } + + public IWorkbookFunctionsAscRequestBuilder asc(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsAscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.asc"), getClient(), null, text); + } + + public IWorkbookFunctionsAsinRequestBuilder asin(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAsinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.asin"), getClient(), null, number); + } + + public IWorkbookFunctionsAsinhRequestBuilder asinh(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAsinhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.asinh"), getClient(), null, number); + } + + public IWorkbookFunctionsAtanRequestBuilder atan(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAtanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.atan"), getClient(), null, number); + } + + public IWorkbookFunctionsAtan2RequestBuilder atan2(final com.google.gson.JsonElement xNum, final com.google.gson.JsonElement yNum) { + return new WorkbookFunctionsAtan2RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.atan2"), getClient(), null, xNum, yNum); + } + + public IWorkbookFunctionsAtanhRequestBuilder atanh(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsAtanhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.atanh"), getClient(), null, number); + } + + public IWorkbookFunctionsAveDevRequestBuilder aveDev(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsAveDevRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.aveDev"), getClient(), null, values); + } + + public IWorkbookFunctionsAverageRequestBuilder average(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsAverageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.average"), getClient(), null, values); + } + + public IWorkbookFunctionsAverageARequestBuilder averageA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsAverageARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.averageA"), getClient(), null, values); + } + + public IWorkbookFunctionsAverageIfRequestBuilder averageIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement averageRange) { + return new WorkbookFunctionsAverageIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.averageIf"), getClient(), null, range, criteria, averageRange); + } + + public IWorkbookFunctionsAverageIfsRequestBuilder averageIfs(final com.google.gson.JsonElement averageRange, final com.google.gson.JsonElement values) { + return new WorkbookFunctionsAverageIfsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.averageIfs"), getClient(), null, averageRange, values); + } + + public IWorkbookFunctionsBahtTextRequestBuilder bahtText(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsBahtTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bahtText"), getClient(), null, number); + } + + public IWorkbookFunctionsBaseRequestBuilder base(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix, final com.google.gson.JsonElement minLength) { + return new WorkbookFunctionsBaseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.base"), getClient(), null, number, radix, minLength); + } + + public IWorkbookFunctionsBesselIRequestBuilder besselI(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { + return new WorkbookFunctionsBesselIRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselI"), getClient(), null, x, n); + } + + public IWorkbookFunctionsBesselJRequestBuilder besselJ(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { + return new WorkbookFunctionsBesselJRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselJ"), getClient(), null, x, n); + } + + public IWorkbookFunctionsBesselKRequestBuilder besselK(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { + return new WorkbookFunctionsBesselKRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselK"), getClient(), null, x, n); + } + + public IWorkbookFunctionsBesselYRequestBuilder besselY(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { + return new WorkbookFunctionsBesselYRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselY"), getClient(), null, x, n); + } + + public IWorkbookFunctionsBeta_DistRequestBuilder beta_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { + return new WorkbookFunctionsBeta_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.beta_Dist"), getClient(), null, x, alpha, beta, cumulative, a, b); + } + + public IWorkbookFunctionsBeta_InvRequestBuilder beta_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { + return new WorkbookFunctionsBeta_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.beta_Inv"), getClient(), null, probability, alpha, beta, a, b); + } + + public IWorkbookFunctionsBin2DecRequestBuilder bin2Dec(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsBin2DecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bin2Dec"), getClient(), null, number); + } + + public IWorkbookFunctionsBin2HexRequestBuilder bin2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsBin2HexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bin2Hex"), getClient(), null, number, places); + } + + public IWorkbookFunctionsBin2OctRequestBuilder bin2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsBin2OctRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bin2Oct"), getClient(), null, number, places); + } + + public IWorkbookFunctionsBinom_DistRequestBuilder binom_Dist(final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsBinom_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.binom_Dist"), getClient(), null, numberS, trials, probabilityS, cumulative); + } + + public IWorkbookFunctionsBinom_Dist_RangeRequestBuilder binom_Dist_Range(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement numberS2) { + return new WorkbookFunctionsBinom_Dist_RangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.binom_Dist_Range"), getClient(), null, trials, probabilityS, numberS, numberS2); + } + + public IWorkbookFunctionsBinom_InvRequestBuilder binom_Inv(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement alpha) { + return new WorkbookFunctionsBinom_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.binom_Inv"), getClient(), null, trials, probabilityS, alpha); + } + + public IWorkbookFunctionsBitandRequestBuilder bitand(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { + return new WorkbookFunctionsBitandRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitand"), getClient(), null, number1, number2); + } + + public IWorkbookFunctionsBitlshiftRequestBuilder bitlshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { + return new WorkbookFunctionsBitlshiftRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitlshift"), getClient(), null, number, shiftAmount); + } + + public IWorkbookFunctionsBitorRequestBuilder bitor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { + return new WorkbookFunctionsBitorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitor"), getClient(), null, number1, number2); + } + + public IWorkbookFunctionsBitrshiftRequestBuilder bitrshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { + return new WorkbookFunctionsBitrshiftRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitrshift"), getClient(), null, number, shiftAmount); + } + + public IWorkbookFunctionsBitxorRequestBuilder bitxor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { + return new WorkbookFunctionsBitxorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitxor"), getClient(), null, number1, number2); + } + + public IWorkbookFunctionsCeiling_MathRequestBuilder ceiling_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { + return new WorkbookFunctionsCeiling_MathRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ceiling_Math"), getClient(), null, number, significance, mode); + } + + public IWorkbookFunctionsCeiling_PreciseRequestBuilder ceiling_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { + return new WorkbookFunctionsCeiling_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ceiling_Precise"), getClient(), null, number, significance); + } + + public IWorkbookFunctionsCharRequestBuilder msgraphChar(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCharRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.char"), getClient(), null, number); + } + + public IWorkbookFunctionsChiSq_DistRequestBuilder chiSq_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsChiSq_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Dist"), getClient(), null, x, degFreedom, cumulative); + } + + public IWorkbookFunctionsChiSq_Dist_RTRequestBuilder chiSq_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsChiSq_Dist_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Dist_RT"), getClient(), null, x, degFreedom); + } + + public IWorkbookFunctionsChiSq_InvRequestBuilder chiSq_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsChiSq_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Inv"), getClient(), null, probability, degFreedom); + } + + public IWorkbookFunctionsChiSq_Inv_RTRequestBuilder chiSq_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsChiSq_Inv_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Inv_RT"), getClient(), null, probability, degFreedom); + } + + public IWorkbookFunctionsChooseRequestBuilder choose(final com.google.gson.JsonElement indexNum, final com.google.gson.JsonElement values) { + return new WorkbookFunctionsChooseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.choose"), getClient(), null, indexNum, values); + } + + public IWorkbookFunctionsCleanRequestBuilder clean(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsCleanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clean"), getClient(), null, text); + } + + public IWorkbookFunctionsCodeRequestBuilder code(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsCodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.code"), getClient(), null, text); + } + + public IWorkbookFunctionsColumnsRequestBuilder columns(final com.google.gson.JsonElement array) { + return new WorkbookFunctionsColumnsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columns"), getClient(), null, array); + } + + public IWorkbookFunctionsCombinRequestBuilder combin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { + return new WorkbookFunctionsCombinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.combin"), getClient(), null, number, numberChosen); + } + + public IWorkbookFunctionsCombinaRequestBuilder combina(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { + return new WorkbookFunctionsCombinaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.combina"), getClient(), null, number, numberChosen); + } + + public IWorkbookFunctionsComplexRequestBuilder complex(final com.google.gson.JsonElement realNum, final com.google.gson.JsonElement iNum, final com.google.gson.JsonElement suffix) { + return new WorkbookFunctionsComplexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.complex"), getClient(), null, realNum, iNum, suffix); + } + + public IWorkbookFunctionsConcatenateRequestBuilder concatenate(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsConcatenateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.concatenate"), getClient(), null, values); + } + + public IWorkbookFunctionsConfidence_NormRequestBuilder confidence_Norm(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { + return new WorkbookFunctionsConfidence_NormRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.confidence_Norm"), getClient(), null, alpha, standardDev, size); + } + + public IWorkbookFunctionsConfidence_TRequestBuilder confidence_T(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { + return new WorkbookFunctionsConfidence_TRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.confidence_T"), getClient(), null, alpha, standardDev, size); + } + + public IWorkbookFunctionsConvertRequestBuilder convert(final com.google.gson.JsonElement number, final com.google.gson.JsonElement fromUnit, final com.google.gson.JsonElement toUnit) { + return new WorkbookFunctionsConvertRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.convert"), getClient(), null, number, fromUnit, toUnit); + } + + public IWorkbookFunctionsCosRequestBuilder cos(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCosRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cos"), getClient(), null, number); + } + + public IWorkbookFunctionsCoshRequestBuilder cosh(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCoshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cosh"), getClient(), null, number); + } + + public IWorkbookFunctionsCotRequestBuilder cot(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cot"), getClient(), null, number); + } + + public IWorkbookFunctionsCothRequestBuilder coth(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCothRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coth"), getClient(), null, number); + } + + public IWorkbookFunctionsCountRequestBuilder count(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null, values); + } + + public IWorkbookFunctionsCountARequestBuilder countA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsCountARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countA"), getClient(), null, values); + } + + public IWorkbookFunctionsCountBlankRequestBuilder countBlank(final com.google.gson.JsonElement range) { + return new WorkbookFunctionsCountBlankRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countBlank"), getClient(), null, range); + } + + public IWorkbookFunctionsCountIfRequestBuilder countIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsCountIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countIf"), getClient(), null, range, criteria); + } + + public IWorkbookFunctionsCountIfsRequestBuilder countIfs(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsCountIfsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countIfs"), getClient(), null, values); + } + + public IWorkbookFunctionsCoupDayBsRequestBuilder coupDayBs(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsCoupDayBsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupDayBs"), getClient(), null, settlement, maturity, frequency, basis); + } + + public IWorkbookFunctionsCoupDaysRequestBuilder coupDays(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsCoupDaysRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupDays"), getClient(), null, settlement, maturity, frequency, basis); + } + + public IWorkbookFunctionsCoupDaysNcRequestBuilder coupDaysNc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsCoupDaysNcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupDaysNc"), getClient(), null, settlement, maturity, frequency, basis); + } + + public IWorkbookFunctionsCoupNcdRequestBuilder coupNcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsCoupNcdRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupNcd"), getClient(), null, settlement, maturity, frequency, basis); + } + + public IWorkbookFunctionsCoupNumRequestBuilder coupNum(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsCoupNumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupNum"), getClient(), null, settlement, maturity, frequency, basis); + } + + public IWorkbookFunctionsCoupPcdRequestBuilder coupPcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsCoupPcdRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupPcd"), getClient(), null, settlement, maturity, frequency, basis); + } + + public IWorkbookFunctionsCscRequestBuilder csc(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.csc"), getClient(), null, number); + } + + public IWorkbookFunctionsCschRequestBuilder csch(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsCschRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.csch"), getClient(), null, number); + } + + public IWorkbookFunctionsCumIPmtRequestBuilder cumIPmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsCumIPmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cumIPmt"), getClient(), null, rate, nper, pv, startPeriod, endPeriod, type); + } + + public IWorkbookFunctionsCumPrincRequestBuilder cumPrinc(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsCumPrincRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cumPrinc"), getClient(), null, rate, nper, pv, startPeriod, endPeriod, type); + } + + public IWorkbookFunctionsDaverageRequestBuilder daverage(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDaverageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.daverage"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDcountRequestBuilder dcount(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDcountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dcount"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDcountARequestBuilder dcountA(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDcountARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dcountA"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDgetRequestBuilder dget(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDgetRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dget"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDmaxRequestBuilder dmax(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDmaxRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dmax"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDminRequestBuilder dmin(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDminRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dmin"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDproductRequestBuilder dproduct(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDproductRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dproduct"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDstDevRequestBuilder dstDev(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDstDevRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dstDev"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDstDevPRequestBuilder dstDevP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDstDevPRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dstDevP"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDsumRequestBuilder dsum(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDsumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dsum"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDvarRequestBuilder dvar(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDvarRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dvar"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDvarPRequestBuilder dvarP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { + return new WorkbookFunctionsDvarPRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dvarP"), getClient(), null, database, field, criteria); + } + + public IWorkbookFunctionsDateRequestBuilder date(final com.google.gson.JsonElement year, final com.google.gson.JsonElement month, final com.google.gson.JsonElement day) { + return new WorkbookFunctionsDateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.date"), getClient(), null, year, month, day); + } + + public IWorkbookFunctionsDatevalueRequestBuilder datevalue(final com.google.gson.JsonElement dateText) { + return new WorkbookFunctionsDatevalueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.datevalue"), getClient(), null, dateText); + } + + public IWorkbookFunctionsDayRequestBuilder day(final com.google.gson.JsonElement serialNumber) { + return new WorkbookFunctionsDayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.day"), getClient(), null, serialNumber); + } + + public IWorkbookFunctionsDaysRequestBuilder days(final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement startDate) { + return new WorkbookFunctionsDaysRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.days"), getClient(), null, endDate, startDate); + } + + public IWorkbookFunctionsDays360RequestBuilder days360(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement method) { + return new WorkbookFunctionsDays360RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.days360"), getClient(), null, startDate, endDate, method); + } + + public IWorkbookFunctionsDbRequestBuilder db(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement month) { + return new WorkbookFunctionsDbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.db"), getClient(), null, cost, salvage, life, period, month); + } + + public IWorkbookFunctionsDbcsRequestBuilder dbcs(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsDbcsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dbcs"), getClient(), null, text); + } + + public IWorkbookFunctionsDdbRequestBuilder ddb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement factor) { + return new WorkbookFunctionsDdbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ddb"), getClient(), null, cost, salvage, life, period, factor); + } + + public IWorkbookFunctionsDec2BinRequestBuilder dec2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsDec2BinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dec2Bin"), getClient(), null, number, places); + } + + public IWorkbookFunctionsDec2HexRequestBuilder dec2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsDec2HexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dec2Hex"), getClient(), null, number, places); + } + + public IWorkbookFunctionsDec2OctRequestBuilder dec2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsDec2OctRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dec2Oct"), getClient(), null, number, places); + } + + public IWorkbookFunctionsDecimalRequestBuilder decimal(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix) { + return new WorkbookFunctionsDecimalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.decimal"), getClient(), null, number, radix); + } + + public IWorkbookFunctionsDegreesRequestBuilder degrees(final com.google.gson.JsonElement angle) { + return new WorkbookFunctionsDegreesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.degrees"), getClient(), null, angle); + } + + public IWorkbookFunctionsDeltaRequestBuilder delta(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { + return new WorkbookFunctionsDeltaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null, number1, number2); + } + + public IWorkbookFunctionsDevSqRequestBuilder devSq(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsDevSqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.devSq"), getClient(), null, values); + } + + public IWorkbookFunctionsDiscRequestBuilder disc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsDiscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.disc"), getClient(), null, settlement, maturity, pr, redemption, basis); + } + + public IWorkbookFunctionsDollarRequestBuilder dollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { + return new WorkbookFunctionsDollarRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dollar"), getClient(), null, number, decimals); + } + + public IWorkbookFunctionsDollarDeRequestBuilder dollarDe(final com.google.gson.JsonElement fractionalDollar, final com.google.gson.JsonElement fraction) { + return new WorkbookFunctionsDollarDeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dollarDe"), getClient(), null, fractionalDollar, fraction); + } + + public IWorkbookFunctionsDollarFrRequestBuilder dollarFr(final com.google.gson.JsonElement decimalDollar, final com.google.gson.JsonElement fraction) { + return new WorkbookFunctionsDollarFrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dollarFr"), getClient(), null, decimalDollar, fraction); + } + + public IWorkbookFunctionsDurationRequestBuilder duration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsDurationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.duration"), getClient(), null, settlement, maturity, coupon, yld, frequency, basis); + } + + public IWorkbookFunctionsEcma_CeilingRequestBuilder ecma_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { + return new WorkbookFunctionsEcma_CeilingRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ecma_Ceiling"), getClient(), null, number, significance); + } + + public IWorkbookFunctionsEdateRequestBuilder edate(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { + return new WorkbookFunctionsEdateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.edate"), getClient(), null, startDate, months); + } + + public IWorkbookFunctionsEffectRequestBuilder effect(final com.google.gson.JsonElement nominalRate, final com.google.gson.JsonElement npery) { + return new WorkbookFunctionsEffectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.effect"), getClient(), null, nominalRate, npery); + } + + public IWorkbookFunctionsEoMonthRequestBuilder eoMonth(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { + return new WorkbookFunctionsEoMonthRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.eoMonth"), getClient(), null, startDate, months); + } + + public IWorkbookFunctionsErfRequestBuilder erf(final com.google.gson.JsonElement lowerLimit, final com.google.gson.JsonElement upperLimit) { + return new WorkbookFunctionsErfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erf"), getClient(), null, lowerLimit, upperLimit); + } + + public IWorkbookFunctionsErfCRequestBuilder erfC(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsErfCRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erfC"), getClient(), null, x); + } + + public IWorkbookFunctionsErfC_PreciseRequestBuilder erfC_Precise(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsErfC_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erfC_Precise"), getClient(), null, x); + } + + public IWorkbookFunctionsErf_PreciseRequestBuilder erf_Precise(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsErf_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erf_Precise"), getClient(), null, x); + } + + public IWorkbookFunctionsError_TypeRequestBuilder error_Type(final com.google.gson.JsonElement errorVal) { + return new WorkbookFunctionsError_TypeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.error_Type"), getClient(), null, errorVal); + } + + public IWorkbookFunctionsEvenRequestBuilder even(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsEvenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.even"), getClient(), null, number); + } + + public IWorkbookFunctionsExactRequestBuilder exact(final com.google.gson.JsonElement text1, final com.google.gson.JsonElement text2) { + return new WorkbookFunctionsExactRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.exact"), getClient(), null, text1, text2); + } + + public IWorkbookFunctionsExpRequestBuilder exp(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsExpRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.exp"), getClient(), null, number); + } + + public IWorkbookFunctionsExpon_DistRequestBuilder expon_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement lambda, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsExpon_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.expon_Dist"), getClient(), null, x, lambda, cumulative); + } + + public IWorkbookFunctionsFvscheduleRequestBuilder fvschedule(final com.google.gson.JsonElement principal, final com.google.gson.JsonElement schedule) { + return new WorkbookFunctionsFvscheduleRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fvschedule"), getClient(), null, principal, schedule); + } + + public IWorkbookFunctionsF_DistRequestBuilder f_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsF_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Dist"), getClient(), null, x, degFreedom1, degFreedom2, cumulative); + } + + public IWorkbookFunctionsF_Dist_RTRequestBuilder f_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { + return new WorkbookFunctionsF_Dist_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Dist_RT"), getClient(), null, x, degFreedom1, degFreedom2); + } + + public IWorkbookFunctionsF_InvRequestBuilder f_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { + return new WorkbookFunctionsF_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Inv"), getClient(), null, probability, degFreedom1, degFreedom2); + } + + public IWorkbookFunctionsF_Inv_RTRequestBuilder f_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { + return new WorkbookFunctionsF_Inv_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Inv_RT"), getClient(), null, probability, degFreedom1, degFreedom2); + } + + public IWorkbookFunctionsFactRequestBuilder fact(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsFactRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fact"), getClient(), null, number); + } + + public IWorkbookFunctionsFactDoubleRequestBuilder factDouble(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsFactDoubleRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.factDouble"), getClient(), null, number); + } + + public IWorkbookFunctionsFalseRequestBuilder msgraphFalse() { + return new WorkbookFunctionsFalseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.false"), getClient(), null); + } + + public IWorkbookFunctionsFindRequestBuilder find(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { + return new WorkbookFunctionsFindRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.find"), getClient(), null, findText, withinText, startNum); + } + + public IWorkbookFunctionsFindBRequestBuilder findB(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { + return new WorkbookFunctionsFindBRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.findB"), getClient(), null, findText, withinText, startNum); + } + + public IWorkbookFunctionsFisherRequestBuilder fisher(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsFisherRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fisher"), getClient(), null, x); + } + + public IWorkbookFunctionsFisherInvRequestBuilder fisherInv(final com.google.gson.JsonElement y) { + return new WorkbookFunctionsFisherInvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fisherInv"), getClient(), null, y); + } + + public IWorkbookFunctionsFixedRequestBuilder fixed(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals, final com.google.gson.JsonElement noCommas) { + return new WorkbookFunctionsFixedRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fixed"), getClient(), null, number, decimals, noCommas); + } + + public IWorkbookFunctionsFloor_MathRequestBuilder floor_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { + return new WorkbookFunctionsFloor_MathRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.floor_Math"), getClient(), null, number, significance, mode); + } + + public IWorkbookFunctionsFloor_PreciseRequestBuilder floor_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { + return new WorkbookFunctionsFloor_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.floor_Precise"), getClient(), null, number, significance); + } + + public IWorkbookFunctionsFvRequestBuilder fv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsFvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fv"), getClient(), null, rate, nper, pmt, pv, type); + } + + public IWorkbookFunctionsGammaRequestBuilder gamma(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsGammaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gamma"), getClient(), null, x); + } + + public IWorkbookFunctionsGammaLnRequestBuilder gammaLn(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsGammaLnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gammaLn"), getClient(), null, x); + } + + public IWorkbookFunctionsGammaLn_PreciseRequestBuilder gammaLn_Precise(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsGammaLn_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gammaLn_Precise"), getClient(), null, x); + } + + public IWorkbookFunctionsGamma_DistRequestBuilder gamma_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsGamma_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gamma_Dist"), getClient(), null, x, alpha, beta, cumulative); + } + + public IWorkbookFunctionsGamma_InvRequestBuilder gamma_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta) { + return new WorkbookFunctionsGamma_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gamma_Inv"), getClient(), null, probability, alpha, beta); + } + + public IWorkbookFunctionsGaussRequestBuilder gauss(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsGaussRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gauss"), getClient(), null, x); + } + + public IWorkbookFunctionsGcdRequestBuilder gcd(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsGcdRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gcd"), getClient(), null, values); + } + + public IWorkbookFunctionsGeStepRequestBuilder geStep(final com.google.gson.JsonElement number, final com.google.gson.JsonElement step) { + return new WorkbookFunctionsGeStepRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.geStep"), getClient(), null, number, step); + } + + public IWorkbookFunctionsGeoMeanRequestBuilder geoMean(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsGeoMeanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.geoMean"), getClient(), null, values); + } + + public IWorkbookFunctionsHlookupRequestBuilder hlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement rowIndexNum, final com.google.gson.JsonElement rangeLookup) { + return new WorkbookFunctionsHlookupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hlookup"), getClient(), null, lookupValue, tableArray, rowIndexNum, rangeLookup); + } + + public IWorkbookFunctionsHarMeanRequestBuilder harMean(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsHarMeanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.harMean"), getClient(), null, values); + } + + public IWorkbookFunctionsHex2BinRequestBuilder hex2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsHex2BinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hex2Bin"), getClient(), null, number, places); + } + + public IWorkbookFunctionsHex2DecRequestBuilder hex2Dec(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsHex2DecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hex2Dec"), getClient(), null, number); + } + + public IWorkbookFunctionsHex2OctRequestBuilder hex2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsHex2OctRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hex2Oct"), getClient(), null, number, places); + } + + public IWorkbookFunctionsHourRequestBuilder hour(final com.google.gson.JsonElement serialNumber) { + return new WorkbookFunctionsHourRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hour"), getClient(), null, serialNumber); + } + + public IWorkbookFunctionsHypGeom_DistRequestBuilder hypGeom_Dist(final com.google.gson.JsonElement sampleS, final com.google.gson.JsonElement numberSample, final com.google.gson.JsonElement populationS, final com.google.gson.JsonElement numberPop, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsHypGeom_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hypGeom_Dist"), getClient(), null, sampleS, numberSample, populationS, numberPop, cumulative); + } + + public IWorkbookFunctionsHyperlinkRequestBuilder hyperlink(final com.google.gson.JsonElement linkLocation, final com.google.gson.JsonElement friendlyName) { + return new WorkbookFunctionsHyperlinkRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hyperlink"), getClient(), null, linkLocation, friendlyName); + } + + public IWorkbookFunctionsIso_CeilingRequestBuilder iso_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { + return new WorkbookFunctionsIso_CeilingRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.iso_Ceiling"), getClient(), null, number, significance); + } + + public IWorkbookFunctionsIfRequestBuilder msgraphIf(final com.google.gson.JsonElement logicalTest, final com.google.gson.JsonElement valueIfTrue, final com.google.gson.JsonElement valueIfFalse) { + return new WorkbookFunctionsIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.if"), getClient(), null, logicalTest, valueIfTrue, valueIfFalse); + } + + public IWorkbookFunctionsImAbsRequestBuilder imAbs(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImAbsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imAbs"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImArgumentRequestBuilder imArgument(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImArgumentRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imArgument"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImConjugateRequestBuilder imConjugate(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImConjugateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imConjugate"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImCosRequestBuilder imCos(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImCosRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCos"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImCoshRequestBuilder imCosh(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImCoshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCosh"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImCotRequestBuilder imCot(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImCotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCot"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImCscRequestBuilder imCsc(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImCscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCsc"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImCschRequestBuilder imCsch(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImCschRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCsch"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImDivRequestBuilder imDiv(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { + return new WorkbookFunctionsImDivRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imDiv"), getClient(), null, inumber1, inumber2); + } + + public IWorkbookFunctionsImExpRequestBuilder imExp(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImExpRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imExp"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImLnRequestBuilder imLn(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImLnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imLn"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImLog10RequestBuilder imLog10(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImLog10RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imLog10"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImLog2RequestBuilder imLog2(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImLog2RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imLog2"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImPowerRequestBuilder imPower(final com.google.gson.JsonElement inumber, final com.google.gson.JsonElement number) { + return new WorkbookFunctionsImPowerRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imPower"), getClient(), null, inumber, number); + } + + public IWorkbookFunctionsImProductRequestBuilder imProduct(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsImProductRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imProduct"), getClient(), null, values); + } + + public IWorkbookFunctionsImRealRequestBuilder imReal(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImRealRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imReal"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImSecRequestBuilder imSec(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImSecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSec"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImSechRequestBuilder imSech(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImSechRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSech"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImSinRequestBuilder imSin(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImSinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSin"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImSinhRequestBuilder imSinh(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImSinhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSinh"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImSqrtRequestBuilder imSqrt(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImSqrtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSqrt"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImSubRequestBuilder imSub(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { + return new WorkbookFunctionsImSubRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSub"), getClient(), null, inumber1, inumber2); + } + + public IWorkbookFunctionsImSumRequestBuilder imSum(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsImSumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSum"), getClient(), null, values); + } + + public IWorkbookFunctionsImTanRequestBuilder imTan(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImTanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imTan"), getClient(), null, inumber); + } + + public IWorkbookFunctionsImaginaryRequestBuilder imaginary(final com.google.gson.JsonElement inumber) { + return new WorkbookFunctionsImaginaryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imaginary"), getClient(), null, inumber); + } + + public IWorkbookFunctionsIntRequestBuilder msgraphInt(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsIntRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.int"), getClient(), null, number); + } + + public IWorkbookFunctionsIntRateRequestBuilder intRate(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsIntRateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.intRate"), getClient(), null, settlement, maturity, investment, redemption, basis); + } + + public IWorkbookFunctionsIpmtRequestBuilder ipmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsIpmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ipmt"), getClient(), null, rate, per, nper, pv, fv, type); + } + + public IWorkbookFunctionsIrrRequestBuilder irr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement guess) { + return new WorkbookFunctionsIrrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.irr"), getClient(), null, values, guess); + } + + public IWorkbookFunctionsIsErrRequestBuilder isErr(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsErrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isErr"), getClient(), null, value); + } + + public IWorkbookFunctionsIsErrorRequestBuilder isError(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsErrorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isError"), getClient(), null, value); + } + + public IWorkbookFunctionsIsEvenRequestBuilder isEven(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsIsEvenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isEven"), getClient(), null, number); + } + + public IWorkbookFunctionsIsFormulaRequestBuilder isFormula(final com.google.gson.JsonElement reference) { + return new WorkbookFunctionsIsFormulaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isFormula"), getClient(), null, reference); + } + + public IWorkbookFunctionsIsLogicalRequestBuilder isLogical(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsLogicalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isLogical"), getClient(), null, value); + } + + public IWorkbookFunctionsIsNARequestBuilder isNA(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsNARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isNA"), getClient(), null, value); + } + + public IWorkbookFunctionsIsNonTextRequestBuilder isNonText(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsNonTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isNonText"), getClient(), null, value); + } + + public IWorkbookFunctionsIsNumberRequestBuilder isNumber(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsNumberRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isNumber"), getClient(), null, value); + } + + public IWorkbookFunctionsIsOddRequestBuilder isOdd(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsIsOddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isOdd"), getClient(), null, number); + } + + public IWorkbookFunctionsIsTextRequestBuilder isText(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isText"), getClient(), null, value); + } + + public IWorkbookFunctionsIsoWeekNumRequestBuilder isoWeekNum(final com.google.gson.JsonElement date) { + return new WorkbookFunctionsIsoWeekNumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isoWeekNum"), getClient(), null, date); + } + + public IWorkbookFunctionsIspmtRequestBuilder ispmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv) { + return new WorkbookFunctionsIspmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ispmt"), getClient(), null, rate, per, nper, pv); + } + + public IWorkbookFunctionsIsrefRequestBuilder isref(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsIsrefRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isref"), getClient(), null, value); + } + + public IWorkbookFunctionsKurtRequestBuilder kurt(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsKurtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.kurt"), getClient(), null, values); + } + + public IWorkbookFunctionsLargeRequestBuilder large(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { + return new WorkbookFunctionsLargeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.large"), getClient(), null, array, k); + } + + public IWorkbookFunctionsLcmRequestBuilder lcm(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsLcmRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lcm"), getClient(), null, values); + } + + public IWorkbookFunctionsLeftRequestBuilder left(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { + return new WorkbookFunctionsLeftRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.left"), getClient(), null, text, numChars); + } + + public IWorkbookFunctionsLeftbRequestBuilder leftb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { + return new WorkbookFunctionsLeftbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.leftb"), getClient(), null, text, numBytes); + } + + public IWorkbookFunctionsLenRequestBuilder len(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsLenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.len"), getClient(), null, text); + } + + public IWorkbookFunctionsLenbRequestBuilder lenb(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsLenbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lenb"), getClient(), null, text); + } + + public IWorkbookFunctionsLnRequestBuilder ln(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsLnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ln"), getClient(), null, number); + } + + public IWorkbookFunctionsLogRequestBuilder log(final com.google.gson.JsonElement number, final com.google.gson.JsonElement base) { + return new WorkbookFunctionsLogRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.log"), getClient(), null, number, base); + } + + public IWorkbookFunctionsLog10RequestBuilder log10(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsLog10RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.log10"), getClient(), null, number); + } + + public IWorkbookFunctionsLogNorm_DistRequestBuilder logNorm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsLogNorm_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.logNorm_Dist"), getClient(), null, x, mean, standardDev, cumulative); + } + + public IWorkbookFunctionsLogNorm_InvRequestBuilder logNorm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { + return new WorkbookFunctionsLogNorm_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.logNorm_Inv"), getClient(), null, probability, mean, standardDev); + } + + public IWorkbookFunctionsLookupRequestBuilder lookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupVector, final com.google.gson.JsonElement resultVector) { + return new WorkbookFunctionsLookupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lookup"), getClient(), null, lookupValue, lookupVector, resultVector); + } + + public IWorkbookFunctionsLowerRequestBuilder lower(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsLowerRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lower"), getClient(), null, text); + } + + public IWorkbookFunctionsMdurationRequestBuilder mduration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsMdurationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mduration"), getClient(), null, settlement, maturity, coupon, yld, frequency, basis); + } + + public IWorkbookFunctionsMirrRequestBuilder mirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement financeRate, final com.google.gson.JsonElement reinvestRate) { + return new WorkbookFunctionsMirrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mirr"), getClient(), null, values, financeRate, reinvestRate); + } + + public IWorkbookFunctionsMroundRequestBuilder mround(final com.google.gson.JsonElement number, final com.google.gson.JsonElement multiple) { + return new WorkbookFunctionsMroundRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mround"), getClient(), null, number, multiple); + } + + public IWorkbookFunctionsMatchRequestBuilder match(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupArray, final com.google.gson.JsonElement matchType) { + return new WorkbookFunctionsMatchRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.match"), getClient(), null, lookupValue, lookupArray, matchType); + } + + public IWorkbookFunctionsMaxRequestBuilder max(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsMaxRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.max"), getClient(), null, values); + } + + public IWorkbookFunctionsMaxARequestBuilder maxA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsMaxARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.maxA"), getClient(), null, values); + } + + public IWorkbookFunctionsMedianRequestBuilder median(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsMedianRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.median"), getClient(), null, values); + } + + public IWorkbookFunctionsMidRequestBuilder mid(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars) { + return new WorkbookFunctionsMidRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mid"), getClient(), null, text, startNum, numChars); + } + + public IWorkbookFunctionsMidbRequestBuilder midb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes) { + return new WorkbookFunctionsMidbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.midb"), getClient(), null, text, startNum, numBytes); + } + + public IWorkbookFunctionsMinRequestBuilder min(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsMinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.min"), getClient(), null, values); + } + + public IWorkbookFunctionsMinARequestBuilder minA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsMinARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.minA"), getClient(), null, values); + } + + public IWorkbookFunctionsMinuteRequestBuilder minute(final com.google.gson.JsonElement serialNumber) { + return new WorkbookFunctionsMinuteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.minute"), getClient(), null, serialNumber); + } + + public IWorkbookFunctionsModRequestBuilder mod(final com.google.gson.JsonElement number, final com.google.gson.JsonElement divisor) { + return new WorkbookFunctionsModRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mod"), getClient(), null, number, divisor); + } + + public IWorkbookFunctionsMonthRequestBuilder month(final com.google.gson.JsonElement serialNumber) { + return new WorkbookFunctionsMonthRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.month"), getClient(), null, serialNumber); + } + + public IWorkbookFunctionsMultiNomialRequestBuilder multiNomial(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsMultiNomialRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.multiNomial"), getClient(), null, values); + } + + public IWorkbookFunctionsNRequestBuilder n(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsNRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.n"), getClient(), null, value); + } + + public IWorkbookFunctionsNperRequestBuilder nper(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsNperRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.nper"), getClient(), null, rate, pmt, pv, fv, type); + } + + public IWorkbookFunctionsNaRequestBuilder na() { + return new WorkbookFunctionsNaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.na"), getClient(), null); + } + + public IWorkbookFunctionsNegBinom_DistRequestBuilder negBinom_Dist(final com.google.gson.JsonElement numberF, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsNegBinom_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.negBinom_Dist"), getClient(), null, numberF, numberS, probabilityS, cumulative); + } + + public IWorkbookFunctionsNetworkDaysRequestBuilder networkDays(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement holidays) { + return new WorkbookFunctionsNetworkDaysRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.networkDays"), getClient(), null, startDate, endDate, holidays); + } + + public IWorkbookFunctionsNetworkDays_IntlRequestBuilder networkDays_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { + return new WorkbookFunctionsNetworkDays_IntlRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.networkDays_Intl"), getClient(), null, startDate, endDate, weekend, holidays); + } + + public IWorkbookFunctionsNominalRequestBuilder nominal(final com.google.gson.JsonElement effectRate, final com.google.gson.JsonElement npery) { + return new WorkbookFunctionsNominalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.nominal"), getClient(), null, effectRate, npery); + } + + public IWorkbookFunctionsNorm_DistRequestBuilder norm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsNorm_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_Dist"), getClient(), null, x, mean, standardDev, cumulative); + } + + public IWorkbookFunctionsNorm_InvRequestBuilder norm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { + return new WorkbookFunctionsNorm_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_Inv"), getClient(), null, probability, mean, standardDev); + } + + public IWorkbookFunctionsNorm_S_DistRequestBuilder norm_S_Dist(final com.google.gson.JsonElement z, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsNorm_S_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_S_Dist"), getClient(), null, z, cumulative); + } + + public IWorkbookFunctionsNorm_S_InvRequestBuilder norm_S_Inv(final com.google.gson.JsonElement probability) { + return new WorkbookFunctionsNorm_S_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_S_Inv"), getClient(), null, probability); + } + + public IWorkbookFunctionsNotRequestBuilder not(final com.google.gson.JsonElement logical) { + return new WorkbookFunctionsNotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.not"), getClient(), null, logical); + } + + public IWorkbookFunctionsNowRequestBuilder now() { + return new WorkbookFunctionsNowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.now"), getClient(), null); + } + + public IWorkbookFunctionsNpvRequestBuilder npv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values) { + return new WorkbookFunctionsNpvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.npv"), getClient(), null, rate, values); + } + + public IWorkbookFunctionsNumberValueRequestBuilder numberValue(final com.google.gson.JsonElement text, final com.google.gson.JsonElement decimalSeparator, final com.google.gson.JsonElement groupSeparator) { + return new WorkbookFunctionsNumberValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.numberValue"), getClient(), null, text, decimalSeparator, groupSeparator); + } + + public IWorkbookFunctionsOct2BinRequestBuilder oct2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsOct2BinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oct2Bin"), getClient(), null, number, places); + } + + public IWorkbookFunctionsOct2DecRequestBuilder oct2Dec(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsOct2DecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oct2Dec"), getClient(), null, number); + } + + public IWorkbookFunctionsOct2HexRequestBuilder oct2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { + return new WorkbookFunctionsOct2HexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oct2Hex"), getClient(), null, number, places); + } + + public IWorkbookFunctionsOddRequestBuilder odd(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsOddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.odd"), getClient(), null, number); + } + + public IWorkbookFunctionsOddFPriceRequestBuilder oddFPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsOddFPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddFPrice"), getClient(), null, settlement, maturity, issue, firstCoupon, rate, yld, redemption, frequency, basis); + } + + public IWorkbookFunctionsOddFYieldRequestBuilder oddFYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsOddFYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddFYield"), getClient(), null, settlement, maturity, issue, firstCoupon, rate, pr, redemption, frequency, basis); + } + + public IWorkbookFunctionsOddLPriceRequestBuilder oddLPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsOddLPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddLPrice"), getClient(), null, settlement, maturity, lastInterest, rate, yld, redemption, frequency, basis); + } + + public IWorkbookFunctionsOddLYieldRequestBuilder oddLYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsOddLYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddLYield"), getClient(), null, settlement, maturity, lastInterest, rate, pr, redemption, frequency, basis); + } + + public IWorkbookFunctionsOrRequestBuilder or(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsOrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.or"), getClient(), null, values); + } + + public IWorkbookFunctionsPdurationRequestBuilder pduration(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { + return new WorkbookFunctionsPdurationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pduration"), getClient(), null, rate, pv, fv); + } + + public IWorkbookFunctionsPercentRank_ExcRequestBuilder percentRank_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { + return new WorkbookFunctionsPercentRank_ExcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentRank_Exc"), getClient(), null, array, x, significance); + } + + public IWorkbookFunctionsPercentRank_IncRequestBuilder percentRank_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { + return new WorkbookFunctionsPercentRank_IncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentRank_Inc"), getClient(), null, array, x, significance); + } + + public IWorkbookFunctionsPercentile_ExcRequestBuilder percentile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { + return new WorkbookFunctionsPercentile_ExcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentile_Exc"), getClient(), null, array, k); + } + + public IWorkbookFunctionsPercentile_IncRequestBuilder percentile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { + return new WorkbookFunctionsPercentile_IncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentile_Inc"), getClient(), null, array, k); + } + + public IWorkbookFunctionsPermutRequestBuilder permut(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { + return new WorkbookFunctionsPermutRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.permut"), getClient(), null, number, numberChosen); + } + + public IWorkbookFunctionsPermutationaRequestBuilder permutationa(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { + return new WorkbookFunctionsPermutationaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.permutationa"), getClient(), null, number, numberChosen); + } + + public IWorkbookFunctionsPhiRequestBuilder phi(final com.google.gson.JsonElement x) { + return new WorkbookFunctionsPhiRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.phi"), getClient(), null, x); + } + + public IWorkbookFunctionsPiRequestBuilder pi() { + return new WorkbookFunctionsPiRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pi"), getClient(), null); + } + + public IWorkbookFunctionsPmtRequestBuilder pmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsPmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pmt"), getClient(), null, rate, nper, pv, fv, type); + } + + public IWorkbookFunctionsPoisson_DistRequestBuilder poisson_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsPoisson_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.poisson_Dist"), getClient(), null, x, mean, cumulative); + } + + public IWorkbookFunctionsPowerRequestBuilder power(final com.google.gson.JsonElement number, final com.google.gson.JsonElement power) { + return new WorkbookFunctionsPowerRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.power"), getClient(), null, number, power); + } + + public IWorkbookFunctionsPpmtRequestBuilder ppmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsPpmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ppmt"), getClient(), null, rate, per, nper, pv, fv, type); + } + + public IWorkbookFunctionsPriceRequestBuilder price(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.price"), getClient(), null, settlement, maturity, rate, yld, redemption, frequency, basis); + } + + public IWorkbookFunctionsPriceDiscRequestBuilder priceDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsPriceDiscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.priceDisc"), getClient(), null, settlement, maturity, discount, redemption, basis); + } + + public IWorkbookFunctionsPriceMatRequestBuilder priceMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsPriceMatRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.priceMat"), getClient(), null, settlement, maturity, issue, rate, yld, basis); + } + + public IWorkbookFunctionsProductRequestBuilder product(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsProductRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.product"), getClient(), null, values); + } + + public IWorkbookFunctionsProperRequestBuilder proper(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsProperRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.proper"), getClient(), null, text); + } + + public IWorkbookFunctionsPvRequestBuilder pv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { + return new WorkbookFunctionsPvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pv"), getClient(), null, rate, nper, pmt, fv, type); + } + + public IWorkbookFunctionsQuartile_ExcRequestBuilder quartile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { + return new WorkbookFunctionsQuartile_ExcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.quartile_Exc"), getClient(), null, array, quart); + } + + public IWorkbookFunctionsQuartile_IncRequestBuilder quartile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { + return new WorkbookFunctionsQuartile_IncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.quartile_Inc"), getClient(), null, array, quart); + } + + public IWorkbookFunctionsQuotientRequestBuilder quotient(final com.google.gson.JsonElement numerator, final com.google.gson.JsonElement denominator) { + return new WorkbookFunctionsQuotientRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.quotient"), getClient(), null, numerator, denominator); + } + + public IWorkbookFunctionsRadiansRequestBuilder radians(final com.google.gson.JsonElement angle) { + return new WorkbookFunctionsRadiansRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.radians"), getClient(), null, angle); + } + + public IWorkbookFunctionsRandRequestBuilder rand() { + return new WorkbookFunctionsRandRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rand"), getClient(), null); + } + + public IWorkbookFunctionsRandBetweenRequestBuilder randBetween(final com.google.gson.JsonElement bottom, final com.google.gson.JsonElement top) { + return new WorkbookFunctionsRandBetweenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.randBetween"), getClient(), null, bottom, top); + } + + public IWorkbookFunctionsRank_AvgRequestBuilder rank_Avg(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { + return new WorkbookFunctionsRank_AvgRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rank_Avg"), getClient(), null, number, ref, order); + } + + public IWorkbookFunctionsRank_EqRequestBuilder rank_Eq(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { + return new WorkbookFunctionsRank_EqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rank_Eq"), getClient(), null, number, ref, order); + } + + public IWorkbookFunctionsRateRequestBuilder rate(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type, final com.google.gson.JsonElement guess) { + return new WorkbookFunctionsRateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rate"), getClient(), null, nper, pmt, pv, fv, type, guess); + } + + public IWorkbookFunctionsReceivedRequestBuilder received(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsReceivedRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.received"), getClient(), null, settlement, maturity, investment, discount, basis); + } + + public IWorkbookFunctionsReplaceRequestBuilder replace(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars, final com.google.gson.JsonElement newText) { + return new WorkbookFunctionsReplaceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.replace"), getClient(), null, oldText, startNum, numChars, newText); + } + + public IWorkbookFunctionsReplaceBRequestBuilder replaceB(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes, final com.google.gson.JsonElement newText) { + return new WorkbookFunctionsReplaceBRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.replaceB"), getClient(), null, oldText, startNum, numBytes, newText); + } + + public IWorkbookFunctionsReptRequestBuilder rept(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numberTimes) { + return new WorkbookFunctionsReptRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rept"), getClient(), null, text, numberTimes); + } + + public IWorkbookFunctionsRightRequestBuilder right(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { + return new WorkbookFunctionsRightRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.right"), getClient(), null, text, numChars); + } + + public IWorkbookFunctionsRightbRequestBuilder rightb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { + return new WorkbookFunctionsRightbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rightb"), getClient(), null, text, numBytes); + } + + public IWorkbookFunctionsRomanRequestBuilder roman(final com.google.gson.JsonElement number, final com.google.gson.JsonElement form) { + return new WorkbookFunctionsRomanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.roman"), getClient(), null, number, form); + } + + public IWorkbookFunctionsRoundRequestBuilder round(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { + return new WorkbookFunctionsRoundRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.round"), getClient(), null, number, numDigits); + } + + public IWorkbookFunctionsRoundDownRequestBuilder roundDown(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { + return new WorkbookFunctionsRoundDownRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.roundDown"), getClient(), null, number, numDigits); + } + + public IWorkbookFunctionsRoundUpRequestBuilder roundUp(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { + return new WorkbookFunctionsRoundUpRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.roundUp"), getClient(), null, number, numDigits); + } + + public IWorkbookFunctionsRowsRequestBuilder rows(final com.google.gson.JsonElement array) { + return new WorkbookFunctionsRowsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rows"), getClient(), null, array); + } + + public IWorkbookFunctionsRriRequestBuilder rri(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { + return new WorkbookFunctionsRriRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rri"), getClient(), null, nper, pv, fv); + } + + public IWorkbookFunctionsSecRequestBuilder sec(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sec"), getClient(), null, number); + } + + public IWorkbookFunctionsSechRequestBuilder sech(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSechRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sech"), getClient(), null, number); + } + + public IWorkbookFunctionsSecondRequestBuilder second(final com.google.gson.JsonElement serialNumber) { + return new WorkbookFunctionsSecondRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.second"), getClient(), null, serialNumber); + } + + public IWorkbookFunctionsSeriesSumRequestBuilder seriesSum(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n, final com.google.gson.JsonElement m, final com.google.gson.JsonElement coefficients) { + return new WorkbookFunctionsSeriesSumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.seriesSum"), getClient(), null, x, n, m, coefficients); + } + + public IWorkbookFunctionsSheetRequestBuilder sheet(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsSheetRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sheet"), getClient(), null, value); + } + + public IWorkbookFunctionsSheetsRequestBuilder sheets(final com.google.gson.JsonElement reference) { + return new WorkbookFunctionsSheetsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sheets"), getClient(), null, reference); + } + + public IWorkbookFunctionsSignRequestBuilder sign(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sign"), getClient(), null, number); + } + + public IWorkbookFunctionsSinRequestBuilder sin(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sin"), getClient(), null, number); + } + + public IWorkbookFunctionsSinhRequestBuilder sinh(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSinhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sinh"), getClient(), null, number); + } + + public IWorkbookFunctionsSkewRequestBuilder skew(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsSkewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.skew"), getClient(), null, values); + } + + public IWorkbookFunctionsSkew_pRequestBuilder skew_p(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsSkew_pRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.skew_p"), getClient(), null, values); + } + + public IWorkbookFunctionsSlnRequestBuilder sln(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life) { + return new WorkbookFunctionsSlnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sln"), getClient(), null, cost, salvage, life); + } + + public IWorkbookFunctionsSmallRequestBuilder small(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { + return new WorkbookFunctionsSmallRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.small"), getClient(), null, array, k); + } + + public IWorkbookFunctionsSqrtRequestBuilder sqrt(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSqrtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sqrt"), getClient(), null, number); + } + + public IWorkbookFunctionsSqrtPiRequestBuilder sqrtPi(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsSqrtPiRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sqrtPi"), getClient(), null, number); + } + + public IWorkbookFunctionsStDevARequestBuilder stDevA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsStDevARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDevA"), getClient(), null, values); + } + + public IWorkbookFunctionsStDevPARequestBuilder stDevPA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsStDevPARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDevPA"), getClient(), null, values); + } + + public IWorkbookFunctionsStDev_PRequestBuilder stDev_P(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsStDev_PRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDev_P"), getClient(), null, values); + } + + public IWorkbookFunctionsStDev_SRequestBuilder stDev_S(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsStDev_SRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDev_S"), getClient(), null, values); + } + + public IWorkbookFunctionsStandardizeRequestBuilder standardize(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { + return new WorkbookFunctionsStandardizeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.standardize"), getClient(), null, x, mean, standardDev); + } + + public IWorkbookFunctionsSubstituteRequestBuilder substitute(final com.google.gson.JsonElement text, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement newText, final com.google.gson.JsonElement instanceNum) { + return new WorkbookFunctionsSubstituteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.substitute"), getClient(), null, text, oldText, newText, instanceNum); + } + + public IWorkbookFunctionsSubtotalRequestBuilder subtotal(final com.google.gson.JsonElement functionNum, final com.google.gson.JsonElement values) { + return new WorkbookFunctionsSubtotalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.subtotal"), getClient(), null, functionNum, values); + } + + public IWorkbookFunctionsSumRequestBuilder sum(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsSumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sum"), getClient(), null, values); + } + + public IWorkbookFunctionsSumIfRequestBuilder sumIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement sumRange) { + return new WorkbookFunctionsSumIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sumIf"), getClient(), null, range, criteria, sumRange); + } + + public IWorkbookFunctionsSumIfsRequestBuilder sumIfs(final com.google.gson.JsonElement sumRange, final com.google.gson.JsonElement values) { + return new WorkbookFunctionsSumIfsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sumIfs"), getClient(), null, sumRange, values); + } + + public IWorkbookFunctionsSumSqRequestBuilder sumSq(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsSumSqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sumSq"), getClient(), null, values); + } + + public IWorkbookFunctionsSydRequestBuilder syd(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement per) { + return new WorkbookFunctionsSydRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syd"), getClient(), null, cost, salvage, life, per); + } + + public IWorkbookFunctionsTRequestBuilder t(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t"), getClient(), null, value); + } + + public IWorkbookFunctionsTbillEqRequestBuilder tbillEq(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { + return new WorkbookFunctionsTbillEqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tbillEq"), getClient(), null, settlement, maturity, discount); + } + + public IWorkbookFunctionsTbillPriceRequestBuilder tbillPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { + return new WorkbookFunctionsTbillPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tbillPrice"), getClient(), null, settlement, maturity, discount); + } + + public IWorkbookFunctionsTbillYieldRequestBuilder tbillYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr) { + return new WorkbookFunctionsTbillYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tbillYield"), getClient(), null, settlement, maturity, pr); + } + + public IWorkbookFunctionsT_DistRequestBuilder t_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsT_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Dist"), getClient(), null, x, degFreedom, cumulative); + } + + public IWorkbookFunctionsT_Dist_2TRequestBuilder t_Dist_2T(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsT_Dist_2TRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Dist_2T"), getClient(), null, x, degFreedom); + } + + public IWorkbookFunctionsT_Dist_RTRequestBuilder t_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsT_Dist_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Dist_RT"), getClient(), null, x, degFreedom); + } + + public IWorkbookFunctionsT_InvRequestBuilder t_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsT_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Inv"), getClient(), null, probability, degFreedom); + } + + public IWorkbookFunctionsT_Inv_2TRequestBuilder t_Inv_2T(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { + return new WorkbookFunctionsT_Inv_2TRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Inv_2T"), getClient(), null, probability, degFreedom); + } + + public IWorkbookFunctionsTanRequestBuilder tan(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsTanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tan"), getClient(), null, number); + } + + public IWorkbookFunctionsTanhRequestBuilder tanh(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsTanhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tanh"), getClient(), null, number); + } + + public IWorkbookFunctionsTextRequestBuilder text(final com.google.gson.JsonElement value, final com.google.gson.JsonElement formatText) { + return new WorkbookFunctionsTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.text"), getClient(), null, value, formatText); + } + + public IWorkbookFunctionsTimeRequestBuilder time(final com.google.gson.JsonElement hour, final com.google.gson.JsonElement minute, final com.google.gson.JsonElement second) { + return new WorkbookFunctionsTimeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.time"), getClient(), null, hour, minute, second); + } + + public IWorkbookFunctionsTimevalueRequestBuilder timevalue(final com.google.gson.JsonElement timeText) { + return new WorkbookFunctionsTimevalueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.timevalue"), getClient(), null, timeText); + } + + public IWorkbookFunctionsTodayRequestBuilder today() { + return new WorkbookFunctionsTodayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.today"), getClient(), null); + } + + public IWorkbookFunctionsTrimRequestBuilder trim(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsTrimRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.trim"), getClient(), null, text); + } + + public IWorkbookFunctionsTrimMeanRequestBuilder trimMean(final com.google.gson.JsonElement array, final com.google.gson.JsonElement percent) { + return new WorkbookFunctionsTrimMeanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.trimMean"), getClient(), null, array, percent); + } + + public IWorkbookFunctionsTrueRequestBuilder msgraphTrue() { + return new WorkbookFunctionsTrueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.true"), getClient(), null); + } + + public IWorkbookFunctionsTruncRequestBuilder trunc(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { + return new WorkbookFunctionsTruncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.trunc"), getClient(), null, number, numDigits); + } + + public IWorkbookFunctionsTypeRequestBuilder type(final com.google.gson.JsonElement value) { + return new WorkbookFunctionsTypeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.type"), getClient(), null, value); + } + + public IWorkbookFunctionsUsdollarRequestBuilder usdollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { + return new WorkbookFunctionsUsdollarRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usdollar"), getClient(), null, number, decimals); + } + + public IWorkbookFunctionsUnicharRequestBuilder unichar(final com.google.gson.JsonElement number) { + return new WorkbookFunctionsUnicharRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unichar"), getClient(), null, number); + } + + public IWorkbookFunctionsUnicodeRequestBuilder unicode(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsUnicodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unicode"), getClient(), null, text); + } + + public IWorkbookFunctionsUpperRequestBuilder upper(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsUpperRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.upper"), getClient(), null, text); + } + + public IWorkbookFunctionsVlookupRequestBuilder vlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement colIndexNum, final com.google.gson.JsonElement rangeLookup) { + return new WorkbookFunctionsVlookupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.vlookup"), getClient(), null, lookupValue, tableArray, colIndexNum, rangeLookup); + } + + public IWorkbookFunctionsValueRequestBuilder value(final com.google.gson.JsonElement text) { + return new WorkbookFunctionsValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.value"), getClient(), null, text); + } + + public IWorkbookFunctionsVarARequestBuilder varA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsVarARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.varA"), getClient(), null, values); + } + + public IWorkbookFunctionsVarPARequestBuilder varPA(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsVarPARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.varPA"), getClient(), null, values); + } + + public IWorkbookFunctionsVar_PRequestBuilder var_P(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsVar_PRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.var_P"), getClient(), null, values); + } + + public IWorkbookFunctionsVar_SRequestBuilder var_S(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsVar_SRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.var_S"), getClient(), null, values); + } + + public IWorkbookFunctionsVdbRequestBuilder vdb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement factor, final com.google.gson.JsonElement noSwitch) { + return new WorkbookFunctionsVdbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.vdb"), getClient(), null, cost, salvage, life, startPeriod, endPeriod, factor, noSwitch); + } + + public IWorkbookFunctionsWeekNumRequestBuilder weekNum(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { + return new WorkbookFunctionsWeekNumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.weekNum"), getClient(), null, serialNumber, returnType); + } + + public IWorkbookFunctionsWeekdayRequestBuilder weekday(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { + return new WorkbookFunctionsWeekdayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.weekday"), getClient(), null, serialNumber, returnType); + } + + public IWorkbookFunctionsWeibull_DistRequestBuilder weibull_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { + return new WorkbookFunctionsWeibull_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.weibull_Dist"), getClient(), null, x, alpha, beta, cumulative); + } + + public IWorkbookFunctionsWorkDayRequestBuilder workDay(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement holidays) { + return new WorkbookFunctionsWorkDayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.workDay"), getClient(), null, startDate, days, holidays); + } + + public IWorkbookFunctionsWorkDay_IntlRequestBuilder workDay_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { + return new WorkbookFunctionsWorkDay_IntlRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.workDay_Intl"), getClient(), null, startDate, days, weekend, holidays); + } + + public IWorkbookFunctionsXirrRequestBuilder xirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates, final com.google.gson.JsonElement guess) { + return new WorkbookFunctionsXirrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.xirr"), getClient(), null, values, dates, guess); + } + + public IWorkbookFunctionsXnpvRequestBuilder xnpv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates) { + return new WorkbookFunctionsXnpvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.xnpv"), getClient(), null, rate, values, dates); + } + + public IWorkbookFunctionsXorRequestBuilder xor(final com.google.gson.JsonElement values) { + return new WorkbookFunctionsXorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.xor"), getClient(), null, values); + } + + public IWorkbookFunctionsYearRequestBuilder year(final com.google.gson.JsonElement serialNumber) { + return new WorkbookFunctionsYearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.year"), getClient(), null, serialNumber); + } + + public IWorkbookFunctionsYearFracRequestBuilder yearFrac(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsYearFracRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yearFrac"), getClient(), null, startDate, endDate, basis); + } + + public IWorkbookFunctionsYieldRequestBuilder yield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yield"), getClient(), null, settlement, maturity, rate, pr, redemption, frequency, basis); + } + + public IWorkbookFunctionsYieldDiscRequestBuilder yieldDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsYieldDiscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yieldDisc"), getClient(), null, settlement, maturity, pr, redemption, basis); + } + + public IWorkbookFunctionsYieldMatRequestBuilder yieldMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement basis) { + return new WorkbookFunctionsYieldMatRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yieldMat"), getClient(), null, settlement, maturity, issue, rate, pr, basis); + } + + public IWorkbookFunctionsZ_TestRequestBuilder z_Test(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement sigma) { + return new WorkbookFunctionsZ_TestRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.z_Test"), getClient(), null, array, x, sigma); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequest.java index 38988f27e29..d391d4cdc1a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRightBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRightRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Right Request. */ -public class WorkbookFunctionsRightRequest extends BaseWorkbookFunctionsRightRequest implements IWorkbookFunctionsRightRequest { +public class WorkbookFunctionsRightRequest extends BaseRequest implements IWorkbookFunctionsRightRequest { + protected final WorkbookFunctionsRightBody body; /** * The request for this WorkbookFunctionsRight @@ -23,6 +32,49 @@ public class WorkbookFunctionsRightRequest extends BaseWorkbookFunctionsRightReq * @param requestOptions the options for this request */ public WorkbookFunctionsRightRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRightBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRightRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRightRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRightRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRightRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRightRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRightRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequestBuilder.java index 8a17977c9cc..6397b45f687 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRightRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Right Request Builder. */ -public class WorkbookFunctionsRightRequestBuilder extends BaseWorkbookFunctionsRightRequestBuilder implements IWorkbookFunctionsRightRequestBuilder { +public class WorkbookFunctionsRightRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRightRequestBuilder { /** * The request builder for this WorkbookFunctionsRight @@ -25,6 +30,41 @@ public class WorkbookFunctionsRightRequestBuilder extends BaseWorkbookFunctionsR * @param numChars the numChars */ public WorkbookFunctionsRightRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { - super(requestUrl, client, requestOptions, text, numChars); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("numChars", numChars); + } + + /** + * Creates the IWorkbookFunctionsRightRequest + * + * @return the IWorkbookFunctionsRightRequest instance + */ + public IWorkbookFunctionsRightRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRightRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRightRequest instance + */ + public IWorkbookFunctionsRightRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRightRequest request = new WorkbookFunctionsRightRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("numChars")) { + request.body.numChars = getParameter("numChars"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequest.java index d8975bac2c8..7942df7de09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRightbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRightbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rightb Request. */ -public class WorkbookFunctionsRightbRequest extends BaseWorkbookFunctionsRightbRequest implements IWorkbookFunctionsRightbRequest { +public class WorkbookFunctionsRightbRequest extends BaseRequest implements IWorkbookFunctionsRightbRequest { + protected final WorkbookFunctionsRightbBody body; /** * The request for this WorkbookFunctionsRightb @@ -23,6 +32,49 @@ public class WorkbookFunctionsRightbRequest extends BaseWorkbookFunctionsRightbR * @param requestOptions the options for this request */ public WorkbookFunctionsRightbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRightbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRightbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRightbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRightbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRightbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRightbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRightbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequestBuilder.java index bc5b160f696..e60582e09d8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRightbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRightbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rightb Request Builder. */ -public class WorkbookFunctionsRightbRequestBuilder extends BaseWorkbookFunctionsRightbRequestBuilder implements IWorkbookFunctionsRightbRequestBuilder { +public class WorkbookFunctionsRightbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRightbRequestBuilder { /** * The request builder for this WorkbookFunctionsRightb @@ -25,6 +30,41 @@ public class WorkbookFunctionsRightbRequestBuilder extends BaseWorkbookFunctions * @param numBytes the numBytes */ public WorkbookFunctionsRightbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { - super(requestUrl, client, requestOptions, text, numBytes); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("numBytes", numBytes); + } + + /** + * Creates the IWorkbookFunctionsRightbRequest + * + * @return the IWorkbookFunctionsRightbRequest instance + */ + public IWorkbookFunctionsRightbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRightbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRightbRequest instance + */ + public IWorkbookFunctionsRightbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRightbRequest request = new WorkbookFunctionsRightbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("numBytes")) { + request.body.numBytes = getParameter("numBytes"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequest.java index 3487b434fe1..9bb07080256 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRomanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRomanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRomanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Roman Request. */ -public class WorkbookFunctionsRomanRequest extends BaseWorkbookFunctionsRomanRequest implements IWorkbookFunctionsRomanRequest { +public class WorkbookFunctionsRomanRequest extends BaseRequest implements IWorkbookFunctionsRomanRequest { + protected final WorkbookFunctionsRomanBody body; /** * The request for this WorkbookFunctionsRoman @@ -23,6 +32,49 @@ public class WorkbookFunctionsRomanRequest extends BaseWorkbookFunctionsRomanReq * @param requestOptions the options for this request */ public WorkbookFunctionsRomanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRomanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRomanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRomanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRomanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRomanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRomanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRomanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequestBuilder.java index 0f7f38a92fd..1428d1a01f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRomanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRomanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRomanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Roman Request Builder. */ -public class WorkbookFunctionsRomanRequestBuilder extends BaseWorkbookFunctionsRomanRequestBuilder implements IWorkbookFunctionsRomanRequestBuilder { +public class WorkbookFunctionsRomanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRomanRequestBuilder { /** * The request builder for this WorkbookFunctionsRoman @@ -25,6 +30,41 @@ public class WorkbookFunctionsRomanRequestBuilder extends BaseWorkbookFunctionsR * @param form the form */ public WorkbookFunctionsRomanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement form) { - super(requestUrl, client, requestOptions, number, form); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("form", form); + } + + /** + * Creates the IWorkbookFunctionsRomanRequest + * + * @return the IWorkbookFunctionsRomanRequest instance + */ + public IWorkbookFunctionsRomanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRomanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRomanRequest instance + */ + public IWorkbookFunctionsRomanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRomanRequest request = new WorkbookFunctionsRomanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("form")) { + request.body.form = getParameter("form"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequest.java index ee34a45da09..c9753c2c0e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRoundDownBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundDownRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRoundDownRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Down Request. */ -public class WorkbookFunctionsRoundDownRequest extends BaseWorkbookFunctionsRoundDownRequest implements IWorkbookFunctionsRoundDownRequest { +public class WorkbookFunctionsRoundDownRequest extends BaseRequest implements IWorkbookFunctionsRoundDownRequest { + protected final WorkbookFunctionsRoundDownBody body; /** * The request for this WorkbookFunctionsRoundDown @@ -23,6 +32,49 @@ public class WorkbookFunctionsRoundDownRequest extends BaseWorkbookFunctionsRoun * @param requestOptions the options for this request */ public WorkbookFunctionsRoundDownRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRoundDownBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRoundDownRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRoundDownRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRoundDownRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRoundDownRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRoundDownRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRoundDownRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequestBuilder.java index 8c75622cf66..ced4852410a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundDownRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundDownRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRoundDownRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Down Request Builder. */ -public class WorkbookFunctionsRoundDownRequestBuilder extends BaseWorkbookFunctionsRoundDownRequestBuilder implements IWorkbookFunctionsRoundDownRequestBuilder { +public class WorkbookFunctionsRoundDownRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRoundDownRequestBuilder { /** * The request builder for this WorkbookFunctionsRoundDown @@ -25,6 +30,41 @@ public class WorkbookFunctionsRoundDownRequestBuilder extends BaseWorkbookFuncti * @param numDigits the numDigits */ public WorkbookFunctionsRoundDownRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions, number, numDigits); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numDigits", numDigits); + } + + /** + * Creates the IWorkbookFunctionsRoundDownRequest + * + * @return the IWorkbookFunctionsRoundDownRequest instance + */ + public IWorkbookFunctionsRoundDownRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRoundDownRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRoundDownRequest instance + */ + public IWorkbookFunctionsRoundDownRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRoundDownRequest request = new WorkbookFunctionsRoundDownRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numDigits")) { + request.body.numDigits = getParameter("numDigits"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequest.java index a4b91d2c4ac..e1207ba01b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRoundBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRoundRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Request. */ -public class WorkbookFunctionsRoundRequest extends BaseWorkbookFunctionsRoundRequest implements IWorkbookFunctionsRoundRequest { +public class WorkbookFunctionsRoundRequest extends BaseRequest implements IWorkbookFunctionsRoundRequest { + protected final WorkbookFunctionsRoundBody body; /** * The request for this WorkbookFunctionsRound @@ -23,6 +32,49 @@ public class WorkbookFunctionsRoundRequest extends BaseWorkbookFunctionsRoundReq * @param requestOptions the options for this request */ public WorkbookFunctionsRoundRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRoundBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRoundRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRoundRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRoundRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRoundRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRoundRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRoundRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequestBuilder.java index 000c513ed7b..36a6ebfb717 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRoundRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Request Builder. */ -public class WorkbookFunctionsRoundRequestBuilder extends BaseWorkbookFunctionsRoundRequestBuilder implements IWorkbookFunctionsRoundRequestBuilder { +public class WorkbookFunctionsRoundRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRoundRequestBuilder { /** * The request builder for this WorkbookFunctionsRound @@ -25,6 +30,41 @@ public class WorkbookFunctionsRoundRequestBuilder extends BaseWorkbookFunctionsR * @param numDigits the numDigits */ public WorkbookFunctionsRoundRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions, number, numDigits); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numDigits", numDigits); + } + + /** + * Creates the IWorkbookFunctionsRoundRequest + * + * @return the IWorkbookFunctionsRoundRequest instance + */ + public IWorkbookFunctionsRoundRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRoundRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRoundRequest instance + */ + public IWorkbookFunctionsRoundRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRoundRequest request = new WorkbookFunctionsRoundRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numDigits")) { + request.body.numDigits = getParameter("numDigits"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequest.java index a615a548c39..cafb4b1fc0e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRoundUpBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundUpRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRoundUpRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Up Request. */ -public class WorkbookFunctionsRoundUpRequest extends BaseWorkbookFunctionsRoundUpRequest implements IWorkbookFunctionsRoundUpRequest { +public class WorkbookFunctionsRoundUpRequest extends BaseRequest implements IWorkbookFunctionsRoundUpRequest { + protected final WorkbookFunctionsRoundUpBody body; /** * The request for this WorkbookFunctionsRoundUp @@ -23,6 +32,49 @@ public class WorkbookFunctionsRoundUpRequest extends BaseWorkbookFunctionsRoundU * @param requestOptions the options for this request */ public WorkbookFunctionsRoundUpRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRoundUpBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRoundUpRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRoundUpRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRoundUpRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRoundUpRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRoundUpRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRoundUpRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequestBuilder.java index 7edab47f233..1dd1079f25f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRoundUpRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundUpRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRoundUpRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Round Up Request Builder. */ -public class WorkbookFunctionsRoundUpRequestBuilder extends BaseWorkbookFunctionsRoundUpRequestBuilder implements IWorkbookFunctionsRoundUpRequestBuilder { +public class WorkbookFunctionsRoundUpRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRoundUpRequestBuilder { /** * The request builder for this WorkbookFunctionsRoundUp @@ -25,6 +30,41 @@ public class WorkbookFunctionsRoundUpRequestBuilder extends BaseWorkbookFunction * @param numDigits the numDigits */ public WorkbookFunctionsRoundUpRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions, number, numDigits); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numDigits", numDigits); + } + + /** + * Creates the IWorkbookFunctionsRoundUpRequest + * + * @return the IWorkbookFunctionsRoundUpRequest instance + */ + public IWorkbookFunctionsRoundUpRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRoundUpRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRoundUpRequest instance + */ + public IWorkbookFunctionsRoundUpRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRoundUpRequest request = new WorkbookFunctionsRoundUpRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numDigits")) { + request.body.numDigits = getParameter("numDigits"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequest.java index 1c5cad400c0..71b98e0d8d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRowsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRowsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRowsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rows Request. */ -public class WorkbookFunctionsRowsRequest extends BaseWorkbookFunctionsRowsRequest implements IWorkbookFunctionsRowsRequest { +public class WorkbookFunctionsRowsRequest extends BaseRequest implements IWorkbookFunctionsRowsRequest { + protected final WorkbookFunctionsRowsBody body; /** * The request for this WorkbookFunctionsRows @@ -23,6 +32,49 @@ public class WorkbookFunctionsRowsRequest extends BaseWorkbookFunctionsRowsReque * @param requestOptions the options for this request */ public WorkbookFunctionsRowsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRowsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRowsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRowsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRowsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRowsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRowsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRowsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequestBuilder.java index cbd407b3138..25e1d1c1ddb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRowsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRowsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRowsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rows Request Builder. */ -public class WorkbookFunctionsRowsRequestBuilder extends BaseWorkbookFunctionsRowsRequestBuilder implements IWorkbookFunctionsRowsRequestBuilder { +public class WorkbookFunctionsRowsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRowsRequestBuilder { /** * The request builder for this WorkbookFunctionsRows @@ -24,6 +29,36 @@ public class WorkbookFunctionsRowsRequestBuilder extends BaseWorkbookFunctionsRo * @param array the array */ public WorkbookFunctionsRowsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array) { - super(requestUrl, client, requestOptions, array); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + } + + /** + * Creates the IWorkbookFunctionsRowsRequest + * + * @return the IWorkbookFunctionsRowsRequest instance + */ + public IWorkbookFunctionsRowsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRowsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRowsRequest instance + */ + public IWorkbookFunctionsRowsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRowsRequest request = new WorkbookFunctionsRowsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequest.java index e8d0a720dba..71b231a87d9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsRriBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRriRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRriRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rri Request. */ -public class WorkbookFunctionsRriRequest extends BaseWorkbookFunctionsRriRequest implements IWorkbookFunctionsRriRequest { +public class WorkbookFunctionsRriRequest extends BaseRequest implements IWorkbookFunctionsRriRequest { + protected final WorkbookFunctionsRriBody body; /** * The request for this WorkbookFunctionsRri @@ -23,6 +32,49 @@ public class WorkbookFunctionsRriRequest extends BaseWorkbookFunctionsRriRequest * @param requestOptions the options for this request */ public WorkbookFunctionsRriRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsRriBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsRriRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsRriRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsRriRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsRriRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsRriRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsRriRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequestBuilder.java index 24d15546e16..fdef8c5ac0a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRriRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRriRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsRriRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Rri Request Builder. */ -public class WorkbookFunctionsRriRequestBuilder extends BaseWorkbookFunctionsRriRequestBuilder implements IWorkbookFunctionsRriRequestBuilder { +public class WorkbookFunctionsRriRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsRriRequestBuilder { /** * The request builder for this WorkbookFunctionsRri @@ -26,6 +31,46 @@ public class WorkbookFunctionsRriRequestBuilder extends BaseWorkbookFunctionsRri * @param fv the fv */ public WorkbookFunctionsRriRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { - super(requestUrl, client, requestOptions, nper, pv, fv); + super(requestUrl, client, requestOptions); + bodyParams.put("nper", nper); + bodyParams.put("pv", pv); + bodyParams.put("fv", fv); + } + + /** + * Creates the IWorkbookFunctionsRriRequest + * + * @return the IWorkbookFunctionsRriRequest instance + */ + public IWorkbookFunctionsRriRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsRriRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsRriRequest instance + */ + public IWorkbookFunctionsRriRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsRriRequest request = new WorkbookFunctionsRriRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("nper")) { + request.body.nper = getParameter("nper"); + } + + if (hasParameter("pv")) { + request.body.pv = getParameter("pv"); + } + + if (hasParameter("fv")) { + request.body.fv = getParameter("fv"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequest.java index e3d62ad2e1c..5fde97abc51 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSecBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSecRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sec Request. */ -public class WorkbookFunctionsSecRequest extends BaseWorkbookFunctionsSecRequest implements IWorkbookFunctionsSecRequest { +public class WorkbookFunctionsSecRequest extends BaseRequest implements IWorkbookFunctionsSecRequest { + protected final WorkbookFunctionsSecBody body; /** * The request for this WorkbookFunctionsSec @@ -23,6 +32,49 @@ public class WorkbookFunctionsSecRequest extends BaseWorkbookFunctionsSecRequest * @param requestOptions the options for this request */ public WorkbookFunctionsSecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSecBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSecRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSecRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSecRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSecRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSecRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSecRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequestBuilder.java index d132fb89b7b..b4422ba6811 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSecRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sec Request Builder. */ -public class WorkbookFunctionsSecRequestBuilder extends BaseWorkbookFunctionsSecRequestBuilder implements IWorkbookFunctionsSecRequestBuilder { +public class WorkbookFunctionsSecRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSecRequestBuilder { /** * The request builder for this WorkbookFunctionsSec @@ -24,6 +29,36 @@ public class WorkbookFunctionsSecRequestBuilder extends BaseWorkbookFunctionsSec * @param number the number */ public WorkbookFunctionsSecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSecRequest + * + * @return the IWorkbookFunctionsSecRequest instance + */ + public IWorkbookFunctionsSecRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSecRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSecRequest instance + */ + public IWorkbookFunctionsSecRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSecRequest request = new WorkbookFunctionsSecRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequest.java index 7b8c64b09f3..32a8ab947ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSechBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSechRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSechRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sech Request. */ -public class WorkbookFunctionsSechRequest extends BaseWorkbookFunctionsSechRequest implements IWorkbookFunctionsSechRequest { +public class WorkbookFunctionsSechRequest extends BaseRequest implements IWorkbookFunctionsSechRequest { + protected final WorkbookFunctionsSechBody body; /** * The request for this WorkbookFunctionsSech @@ -23,6 +32,49 @@ public class WorkbookFunctionsSechRequest extends BaseWorkbookFunctionsSechReque * @param requestOptions the options for this request */ public WorkbookFunctionsSechRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSechBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSechRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSechRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSechRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSechRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSechRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSechRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequestBuilder.java index 4762af5dfa7..9fd9940374e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSechRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSechRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSechRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sech Request Builder. */ -public class WorkbookFunctionsSechRequestBuilder extends BaseWorkbookFunctionsSechRequestBuilder implements IWorkbookFunctionsSechRequestBuilder { +public class WorkbookFunctionsSechRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSechRequestBuilder { /** * The request builder for this WorkbookFunctionsSech @@ -24,6 +29,36 @@ public class WorkbookFunctionsSechRequestBuilder extends BaseWorkbookFunctionsSe * @param number the number */ public WorkbookFunctionsSechRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSechRequest + * + * @return the IWorkbookFunctionsSechRequest instance + */ + public IWorkbookFunctionsSechRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSechRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSechRequest instance + */ + public IWorkbookFunctionsSechRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSechRequest request = new WorkbookFunctionsSechRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequest.java index 1c9c5d727f3..d369db2ac06 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSecondBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecondRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSecondRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Second Request. */ -public class WorkbookFunctionsSecondRequest extends BaseWorkbookFunctionsSecondRequest implements IWorkbookFunctionsSecondRequest { +public class WorkbookFunctionsSecondRequest extends BaseRequest implements IWorkbookFunctionsSecondRequest { + protected final WorkbookFunctionsSecondBody body; /** * The request for this WorkbookFunctionsSecond @@ -23,6 +32,49 @@ public class WorkbookFunctionsSecondRequest extends BaseWorkbookFunctionsSecondR * @param requestOptions the options for this request */ public WorkbookFunctionsSecondRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSecondBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSecondRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSecondRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSecondRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSecondRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSecondRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSecondRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequestBuilder.java index 3a52ade1385..10457500e84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSecondRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecondRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSecondRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Second Request Builder. */ -public class WorkbookFunctionsSecondRequestBuilder extends BaseWorkbookFunctionsSecondRequestBuilder implements IWorkbookFunctionsSecondRequestBuilder { +public class WorkbookFunctionsSecondRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSecondRequestBuilder { /** * The request builder for this WorkbookFunctionsSecond @@ -24,6 +29,36 @@ public class WorkbookFunctionsSecondRequestBuilder extends BaseWorkbookFunctions * @param serialNumber the serialNumber */ public WorkbookFunctionsSecondRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions, serialNumber); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + } + + /** + * Creates the IWorkbookFunctionsSecondRequest + * + * @return the IWorkbookFunctionsSecondRequest instance + */ + public IWorkbookFunctionsSecondRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSecondRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSecondRequest instance + */ + public IWorkbookFunctionsSecondRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSecondRequest request = new WorkbookFunctionsSecondRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequest.java index 936da296824..c381c3f3a2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSeriesSumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSeriesSumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSeriesSumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Series Sum Request. */ -public class WorkbookFunctionsSeriesSumRequest extends BaseWorkbookFunctionsSeriesSumRequest implements IWorkbookFunctionsSeriesSumRequest { +public class WorkbookFunctionsSeriesSumRequest extends BaseRequest implements IWorkbookFunctionsSeriesSumRequest { + protected final WorkbookFunctionsSeriesSumBody body; /** * The request for this WorkbookFunctionsSeriesSum @@ -23,6 +32,49 @@ public class WorkbookFunctionsSeriesSumRequest extends BaseWorkbookFunctionsSeri * @param requestOptions the options for this request */ public WorkbookFunctionsSeriesSumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSeriesSumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSeriesSumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSeriesSumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSeriesSumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSeriesSumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSeriesSumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSeriesSumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequestBuilder.java index e3e45c003eb..a7edb6d5b55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSeriesSumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSeriesSumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSeriesSumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Series Sum Request Builder. */ -public class WorkbookFunctionsSeriesSumRequestBuilder extends BaseWorkbookFunctionsSeriesSumRequestBuilder implements IWorkbookFunctionsSeriesSumRequestBuilder { +public class WorkbookFunctionsSeriesSumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSeriesSumRequestBuilder { /** * The request builder for this WorkbookFunctionsSeriesSum @@ -27,6 +32,51 @@ public class WorkbookFunctionsSeriesSumRequestBuilder extends BaseWorkbookFuncti * @param coefficients the coefficients */ public WorkbookFunctionsSeriesSumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n, final com.google.gson.JsonElement m, final com.google.gson.JsonElement coefficients) { - super(requestUrl, client, requestOptions, x, n, m, coefficients); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("n", n); + bodyParams.put("m", m); + bodyParams.put("coefficients", coefficients); + } + + /** + * Creates the IWorkbookFunctionsSeriesSumRequest + * + * @return the IWorkbookFunctionsSeriesSumRequest instance + */ + public IWorkbookFunctionsSeriesSumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSeriesSumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSeriesSumRequest instance + */ + public IWorkbookFunctionsSeriesSumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSeriesSumRequest request = new WorkbookFunctionsSeriesSumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("n")) { + request.body.n = getParameter("n"); + } + + if (hasParameter("m")) { + request.body.m = getParameter("m"); + } + + if (hasParameter("coefficients")) { + request.body.coefficients = getParameter("coefficients"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequest.java index bb818f2aba8..216c26ca7ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSheetBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSheetRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sheet Request. */ -public class WorkbookFunctionsSheetRequest extends BaseWorkbookFunctionsSheetRequest implements IWorkbookFunctionsSheetRequest { +public class WorkbookFunctionsSheetRequest extends BaseRequest implements IWorkbookFunctionsSheetRequest { + protected final WorkbookFunctionsSheetBody body; /** * The request for this WorkbookFunctionsSheet @@ -23,6 +32,49 @@ public class WorkbookFunctionsSheetRequest extends BaseWorkbookFunctionsSheetReq * @param requestOptions the options for this request */ public WorkbookFunctionsSheetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSheetBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSheetRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSheetRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSheetRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSheetRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSheetRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSheetRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequestBuilder.java index 3a8e9d7a20e..8cc1c4bc88a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSheetRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sheet Request Builder. */ -public class WorkbookFunctionsSheetRequestBuilder extends BaseWorkbookFunctionsSheetRequestBuilder implements IWorkbookFunctionsSheetRequestBuilder { +public class WorkbookFunctionsSheetRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSheetRequestBuilder { /** * The request builder for this WorkbookFunctionsSheet @@ -24,6 +29,36 @@ public class WorkbookFunctionsSheetRequestBuilder extends BaseWorkbookFunctionsS * @param value the value */ public WorkbookFunctionsSheetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsSheetRequest + * + * @return the IWorkbookFunctionsSheetRequest instance + */ + public IWorkbookFunctionsSheetRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSheetRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSheetRequest instance + */ + public IWorkbookFunctionsSheetRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSheetRequest request = new WorkbookFunctionsSheetRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequest.java index d330616d612..de372a976c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSheetsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSheetsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sheets Request. */ -public class WorkbookFunctionsSheetsRequest extends BaseWorkbookFunctionsSheetsRequest implements IWorkbookFunctionsSheetsRequest { +public class WorkbookFunctionsSheetsRequest extends BaseRequest implements IWorkbookFunctionsSheetsRequest { + protected final WorkbookFunctionsSheetsBody body; /** * The request for this WorkbookFunctionsSheets @@ -23,6 +32,49 @@ public class WorkbookFunctionsSheetsRequest extends BaseWorkbookFunctionsSheetsR * @param requestOptions the options for this request */ public WorkbookFunctionsSheetsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSheetsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSheetsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSheetsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSheetsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSheetsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSheetsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSheetsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequestBuilder.java index 91f93308fde..1f719c31797 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSheetsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSheetsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sheets Request Builder. */ -public class WorkbookFunctionsSheetsRequestBuilder extends BaseWorkbookFunctionsSheetsRequestBuilder implements IWorkbookFunctionsSheetsRequestBuilder { +public class WorkbookFunctionsSheetsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSheetsRequestBuilder { /** * The request builder for this WorkbookFunctionsSheets @@ -24,6 +29,36 @@ public class WorkbookFunctionsSheetsRequestBuilder extends BaseWorkbookFunctions * @param reference the reference */ public WorkbookFunctionsSheetsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement reference) { - super(requestUrl, client, requestOptions, reference); + super(requestUrl, client, requestOptions); + bodyParams.put("reference", reference); + } + + /** + * Creates the IWorkbookFunctionsSheetsRequest + * + * @return the IWorkbookFunctionsSheetsRequest instance + */ + public IWorkbookFunctionsSheetsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSheetsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSheetsRequest instance + */ + public IWorkbookFunctionsSheetsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSheetsRequest request = new WorkbookFunctionsSheetsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("reference")) { + request.body.reference = getParameter("reference"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequest.java index 2fed4ed8c5e..0436be9584a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSignBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSignRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSignRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sign Request. */ -public class WorkbookFunctionsSignRequest extends BaseWorkbookFunctionsSignRequest implements IWorkbookFunctionsSignRequest { +public class WorkbookFunctionsSignRequest extends BaseRequest implements IWorkbookFunctionsSignRequest { + protected final WorkbookFunctionsSignBody body; /** * The request for this WorkbookFunctionsSign @@ -23,6 +32,49 @@ public class WorkbookFunctionsSignRequest extends BaseWorkbookFunctionsSignReque * @param requestOptions the options for this request */ public WorkbookFunctionsSignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSignBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSignRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSignRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSignRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSignRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSignRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSignRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequestBuilder.java index 3fbd17a94f0..883950a8196 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSignRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSignRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSignRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sign Request Builder. */ -public class WorkbookFunctionsSignRequestBuilder extends BaseWorkbookFunctionsSignRequestBuilder implements IWorkbookFunctionsSignRequestBuilder { +public class WorkbookFunctionsSignRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSignRequestBuilder { /** * The request builder for this WorkbookFunctionsSign @@ -24,6 +29,36 @@ public class WorkbookFunctionsSignRequestBuilder extends BaseWorkbookFunctionsSi * @param number the number */ public WorkbookFunctionsSignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSignRequest + * + * @return the IWorkbookFunctionsSignRequest instance + */ + public IWorkbookFunctionsSignRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSignRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSignRequest instance + */ + public IWorkbookFunctionsSignRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSignRequest request = new WorkbookFunctionsSignRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequest.java index 7592e6fb77f..9bbfbf86215 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSinBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSinRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sin Request. */ -public class WorkbookFunctionsSinRequest extends BaseWorkbookFunctionsSinRequest implements IWorkbookFunctionsSinRequest { +public class WorkbookFunctionsSinRequest extends BaseRequest implements IWorkbookFunctionsSinRequest { + protected final WorkbookFunctionsSinBody body; /** * The request for this WorkbookFunctionsSin @@ -23,6 +32,49 @@ public class WorkbookFunctionsSinRequest extends BaseWorkbookFunctionsSinRequest * @param requestOptions the options for this request */ public WorkbookFunctionsSinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSinBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSinRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSinRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSinRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSinRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSinRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSinRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequestBuilder.java index a0871513fae..f0c8bdca41e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSinRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sin Request Builder. */ -public class WorkbookFunctionsSinRequestBuilder extends BaseWorkbookFunctionsSinRequestBuilder implements IWorkbookFunctionsSinRequestBuilder { +public class WorkbookFunctionsSinRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSinRequestBuilder { /** * The request builder for this WorkbookFunctionsSin @@ -24,6 +29,36 @@ public class WorkbookFunctionsSinRequestBuilder extends BaseWorkbookFunctionsSin * @param number the number */ public WorkbookFunctionsSinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSinRequest + * + * @return the IWorkbookFunctionsSinRequest instance + */ + public IWorkbookFunctionsSinRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSinRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSinRequest instance + */ + public IWorkbookFunctionsSinRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSinRequest request = new WorkbookFunctionsSinRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequest.java index 0196df1a64a..b1fa4663c12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSinhBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSinhRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sinh Request. */ -public class WorkbookFunctionsSinhRequest extends BaseWorkbookFunctionsSinhRequest implements IWorkbookFunctionsSinhRequest { +public class WorkbookFunctionsSinhRequest extends BaseRequest implements IWorkbookFunctionsSinhRequest { + protected final WorkbookFunctionsSinhBody body; /** * The request for this WorkbookFunctionsSinh @@ -23,6 +32,49 @@ public class WorkbookFunctionsSinhRequest extends BaseWorkbookFunctionsSinhReque * @param requestOptions the options for this request */ public WorkbookFunctionsSinhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSinhBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSinhRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSinhRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSinhRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSinhRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSinhRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSinhRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequestBuilder.java index ef805c20528..b0260eadb01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSinhRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinhRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSinhRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sinh Request Builder. */ -public class WorkbookFunctionsSinhRequestBuilder extends BaseWorkbookFunctionsSinhRequestBuilder implements IWorkbookFunctionsSinhRequestBuilder { +public class WorkbookFunctionsSinhRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSinhRequestBuilder { /** * The request builder for this WorkbookFunctionsSinh @@ -24,6 +29,36 @@ public class WorkbookFunctionsSinhRequestBuilder extends BaseWorkbookFunctionsSi * @param number the number */ public WorkbookFunctionsSinhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSinhRequest + * + * @return the IWorkbookFunctionsSinhRequest instance + */ + public IWorkbookFunctionsSinhRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSinhRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSinhRequest instance + */ + public IWorkbookFunctionsSinhRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSinhRequest request = new WorkbookFunctionsSinhRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequest.java index 64acb030d7e..f3d06c14770 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSkewBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSkewRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Skew Request. */ -public class WorkbookFunctionsSkewRequest extends BaseWorkbookFunctionsSkewRequest implements IWorkbookFunctionsSkewRequest { +public class WorkbookFunctionsSkewRequest extends BaseRequest implements IWorkbookFunctionsSkewRequest { + protected final WorkbookFunctionsSkewBody body; /** * The request for this WorkbookFunctionsSkew @@ -23,6 +32,49 @@ public class WorkbookFunctionsSkewRequest extends BaseWorkbookFunctionsSkewReque * @param requestOptions the options for this request */ public WorkbookFunctionsSkewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSkewBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSkewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSkewRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSkewRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSkewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSkewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSkewRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequestBuilder.java index 64ba34ab8b1..5801d1f9bae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkewRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkewRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSkewRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Skew Request Builder. */ -public class WorkbookFunctionsSkewRequestBuilder extends BaseWorkbookFunctionsSkewRequestBuilder implements IWorkbookFunctionsSkewRequestBuilder { +public class WorkbookFunctionsSkewRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSkewRequestBuilder { /** * The request builder for this WorkbookFunctionsSkew @@ -24,6 +29,36 @@ public class WorkbookFunctionsSkewRequestBuilder extends BaseWorkbookFunctionsSk * @param values the values */ public WorkbookFunctionsSkewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsSkewRequest + * + * @return the IWorkbookFunctionsSkewRequest instance + */ + public IWorkbookFunctionsSkewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSkewRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSkewRequest instance + */ + public IWorkbookFunctionsSkewRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSkewRequest request = new WorkbookFunctionsSkewRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequest.java index 41b909159ea..7e18e11b233 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSkew_pBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkew_pRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSkew_pRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Skew_p Request. */ -public class WorkbookFunctionsSkew_pRequest extends BaseWorkbookFunctionsSkew_pRequest implements IWorkbookFunctionsSkew_pRequest { +public class WorkbookFunctionsSkew_pRequest extends BaseRequest implements IWorkbookFunctionsSkew_pRequest { + protected final WorkbookFunctionsSkew_pBody body; /** * The request for this WorkbookFunctionsSkew_p @@ -23,6 +32,49 @@ public class WorkbookFunctionsSkew_pRequest extends BaseWorkbookFunctionsSkew_pR * @param requestOptions the options for this request */ public WorkbookFunctionsSkew_pRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSkew_pBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSkew_pRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSkew_pRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSkew_pRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSkew_pRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSkew_pRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSkew_pRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequestBuilder.java index 67942061ae6..21e88b4c5c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSkew_pRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkew_pRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSkew_pRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Skew_p Request Builder. */ -public class WorkbookFunctionsSkew_pRequestBuilder extends BaseWorkbookFunctionsSkew_pRequestBuilder implements IWorkbookFunctionsSkew_pRequestBuilder { +public class WorkbookFunctionsSkew_pRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSkew_pRequestBuilder { /** * The request builder for this WorkbookFunctionsSkew_p @@ -24,6 +29,36 @@ public class WorkbookFunctionsSkew_pRequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsSkew_pRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsSkew_pRequest + * + * @return the IWorkbookFunctionsSkew_pRequest instance + */ + public IWorkbookFunctionsSkew_pRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSkew_pRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSkew_pRequest instance + */ + public IWorkbookFunctionsSkew_pRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSkew_pRequest request = new WorkbookFunctionsSkew_pRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequest.java index cd1e214389b..23fcc87eb1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSlnBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSlnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSlnRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sln Request. */ -public class WorkbookFunctionsSlnRequest extends BaseWorkbookFunctionsSlnRequest implements IWorkbookFunctionsSlnRequest { +public class WorkbookFunctionsSlnRequest extends BaseRequest implements IWorkbookFunctionsSlnRequest { + protected final WorkbookFunctionsSlnBody body; /** * The request for this WorkbookFunctionsSln @@ -23,6 +32,49 @@ public class WorkbookFunctionsSlnRequest extends BaseWorkbookFunctionsSlnRequest * @param requestOptions the options for this request */ public WorkbookFunctionsSlnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSlnBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSlnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSlnRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSlnRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSlnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSlnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSlnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequestBuilder.java index f30e118d12b..ee2ee254e58 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSlnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSlnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSlnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sln Request Builder. */ -public class WorkbookFunctionsSlnRequestBuilder extends BaseWorkbookFunctionsSlnRequestBuilder implements IWorkbookFunctionsSlnRequestBuilder { +public class WorkbookFunctionsSlnRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSlnRequestBuilder { /** * The request builder for this WorkbookFunctionsSln @@ -26,6 +31,46 @@ public class WorkbookFunctionsSlnRequestBuilder extends BaseWorkbookFunctionsSln * @param life the life */ public WorkbookFunctionsSlnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life) { - super(requestUrl, client, requestOptions, cost, salvage, life); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("salvage", salvage); + bodyParams.put("life", life); + } + + /** + * Creates the IWorkbookFunctionsSlnRequest + * + * @return the IWorkbookFunctionsSlnRequest instance + */ + public IWorkbookFunctionsSlnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSlnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSlnRequest instance + */ + public IWorkbookFunctionsSlnRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSlnRequest request = new WorkbookFunctionsSlnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("life")) { + request.body.life = getParameter("life"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequest.java index b3240906e68..bb24e30b62b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSmallBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSmallRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSmallRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Small Request. */ -public class WorkbookFunctionsSmallRequest extends BaseWorkbookFunctionsSmallRequest implements IWorkbookFunctionsSmallRequest { +public class WorkbookFunctionsSmallRequest extends BaseRequest implements IWorkbookFunctionsSmallRequest { + protected final WorkbookFunctionsSmallBody body; /** * The request for this WorkbookFunctionsSmall @@ -23,6 +32,49 @@ public class WorkbookFunctionsSmallRequest extends BaseWorkbookFunctionsSmallReq * @param requestOptions the options for this request */ public WorkbookFunctionsSmallRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSmallBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSmallRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSmallRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSmallRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSmallRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSmallRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSmallRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequestBuilder.java index 2c2b4c04d57..a22dc3082ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSmallRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSmallRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSmallRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Small Request Builder. */ -public class WorkbookFunctionsSmallRequestBuilder extends BaseWorkbookFunctionsSmallRequestBuilder implements IWorkbookFunctionsSmallRequestBuilder { +public class WorkbookFunctionsSmallRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSmallRequestBuilder { /** * The request builder for this WorkbookFunctionsSmall @@ -25,6 +30,41 @@ public class WorkbookFunctionsSmallRequestBuilder extends BaseWorkbookFunctionsS * @param k the k */ public WorkbookFunctionsSmallRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions, array, k); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("k", k); + } + + /** + * Creates the IWorkbookFunctionsSmallRequest + * + * @return the IWorkbookFunctionsSmallRequest instance + */ + public IWorkbookFunctionsSmallRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSmallRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSmallRequest instance + */ + public IWorkbookFunctionsSmallRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSmallRequest request = new WorkbookFunctionsSmallRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("k")) { + request.body.k = getParameter("k"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequest.java index 3e2256742d6..9d1e9fe2edc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSqrtPiBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtPiRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSqrtPiRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sqrt Pi Request. */ -public class WorkbookFunctionsSqrtPiRequest extends BaseWorkbookFunctionsSqrtPiRequest implements IWorkbookFunctionsSqrtPiRequest { +public class WorkbookFunctionsSqrtPiRequest extends BaseRequest implements IWorkbookFunctionsSqrtPiRequest { + protected final WorkbookFunctionsSqrtPiBody body; /** * The request for this WorkbookFunctionsSqrtPi @@ -23,6 +32,49 @@ public class WorkbookFunctionsSqrtPiRequest extends BaseWorkbookFunctionsSqrtPiR * @param requestOptions the options for this request */ public WorkbookFunctionsSqrtPiRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSqrtPiBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSqrtPiRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSqrtPiRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSqrtPiRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSqrtPiRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSqrtPiRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSqrtPiRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequestBuilder.java index 659011bcb4b..e4ea5416b3b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtPiRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtPiRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSqrtPiRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sqrt Pi Request Builder. */ -public class WorkbookFunctionsSqrtPiRequestBuilder extends BaseWorkbookFunctionsSqrtPiRequestBuilder implements IWorkbookFunctionsSqrtPiRequestBuilder { +public class WorkbookFunctionsSqrtPiRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSqrtPiRequestBuilder { /** * The request builder for this WorkbookFunctionsSqrtPi @@ -24,6 +29,36 @@ public class WorkbookFunctionsSqrtPiRequestBuilder extends BaseWorkbookFunctions * @param number the number */ public WorkbookFunctionsSqrtPiRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSqrtPiRequest + * + * @return the IWorkbookFunctionsSqrtPiRequest instance + */ + public IWorkbookFunctionsSqrtPiRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSqrtPiRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSqrtPiRequest instance + */ + public IWorkbookFunctionsSqrtPiRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSqrtPiRequest request = new WorkbookFunctionsSqrtPiRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequest.java index ad369fc84a2..ed8504acfe3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSqrtBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSqrtRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sqrt Request. */ -public class WorkbookFunctionsSqrtRequest extends BaseWorkbookFunctionsSqrtRequest implements IWorkbookFunctionsSqrtRequest { +public class WorkbookFunctionsSqrtRequest extends BaseRequest implements IWorkbookFunctionsSqrtRequest { + protected final WorkbookFunctionsSqrtBody body; /** * The request for this WorkbookFunctionsSqrt @@ -23,6 +32,49 @@ public class WorkbookFunctionsSqrtRequest extends BaseWorkbookFunctionsSqrtReque * @param requestOptions the options for this request */ public WorkbookFunctionsSqrtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSqrtBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSqrtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSqrtRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSqrtRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSqrtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSqrtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSqrtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequestBuilder.java index 5a64cb446e2..ed64d727594 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSqrtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSqrtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sqrt Request Builder. */ -public class WorkbookFunctionsSqrtRequestBuilder extends BaseWorkbookFunctionsSqrtRequestBuilder implements IWorkbookFunctionsSqrtRequestBuilder { +public class WorkbookFunctionsSqrtRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSqrtRequestBuilder { /** * The request builder for this WorkbookFunctionsSqrt @@ -24,6 +29,36 @@ public class WorkbookFunctionsSqrtRequestBuilder extends BaseWorkbookFunctionsSq * @param number the number */ public WorkbookFunctionsSqrtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsSqrtRequest + * + * @return the IWorkbookFunctionsSqrtRequest instance + */ + public IWorkbookFunctionsSqrtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSqrtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSqrtRequest instance + */ + public IWorkbookFunctionsSqrtRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSqrtRequest request = new WorkbookFunctionsSqrtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequest.java index dcfb7d653a4..4cc58dbb665 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsStDevABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDevARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev ARequest. */ -public class WorkbookFunctionsStDevARequest extends BaseWorkbookFunctionsStDevARequest implements IWorkbookFunctionsStDevARequest { +public class WorkbookFunctionsStDevARequest extends BaseRequest implements IWorkbookFunctionsStDevARequest { + protected final WorkbookFunctionsStDevABody body; /** * The request for this WorkbookFunctionsStDevA @@ -23,6 +32,49 @@ public class WorkbookFunctionsStDevARequest extends BaseWorkbookFunctionsStDevAR * @param requestOptions the options for this request */ public WorkbookFunctionsStDevARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsStDevABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsStDevARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsStDevARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsStDevARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsStDevARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsStDevARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsStDevARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequestBuilder.java index 8148b280615..4ed8076830e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDevARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev ARequest Builder. */ -public class WorkbookFunctionsStDevARequestBuilder extends BaseWorkbookFunctionsStDevARequestBuilder implements IWorkbookFunctionsStDevARequestBuilder { +public class WorkbookFunctionsStDevARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsStDevARequestBuilder { /** * The request builder for this WorkbookFunctionsStDevA @@ -24,6 +29,36 @@ public class WorkbookFunctionsStDevARequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsStDevARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsStDevARequest + * + * @return the IWorkbookFunctionsStDevARequest instance + */ + public IWorkbookFunctionsStDevARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsStDevARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDevARequest instance + */ + public IWorkbookFunctionsStDevARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsStDevARequest request = new WorkbookFunctionsStDevARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequest.java index d490c42e54c..04e63c9a2c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsStDevPABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevPARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDevPARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev PARequest. */ -public class WorkbookFunctionsStDevPARequest extends BaseWorkbookFunctionsStDevPARequest implements IWorkbookFunctionsStDevPARequest { +public class WorkbookFunctionsStDevPARequest extends BaseRequest implements IWorkbookFunctionsStDevPARequest { + protected final WorkbookFunctionsStDevPABody body; /** * The request for this WorkbookFunctionsStDevPA @@ -23,6 +32,49 @@ public class WorkbookFunctionsStDevPARequest extends BaseWorkbookFunctionsStDevP * @param requestOptions the options for this request */ public WorkbookFunctionsStDevPARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsStDevPABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsStDevPARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsStDevPARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsStDevPARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsStDevPARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsStDevPARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsStDevPARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequestBuilder.java index b5cb2e8208b..3716ea7b117 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDevPARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevPARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDevPARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev PARequest Builder. */ -public class WorkbookFunctionsStDevPARequestBuilder extends BaseWorkbookFunctionsStDevPARequestBuilder implements IWorkbookFunctionsStDevPARequestBuilder { +public class WorkbookFunctionsStDevPARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsStDevPARequestBuilder { /** * The request builder for this WorkbookFunctionsStDevPA @@ -24,6 +29,36 @@ public class WorkbookFunctionsStDevPARequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsStDevPARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsStDevPARequest + * + * @return the IWorkbookFunctionsStDevPARequest instance + */ + public IWorkbookFunctionsStDevPARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsStDevPARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDevPARequest instance + */ + public IWorkbookFunctionsStDevPARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsStDevPARequest request = new WorkbookFunctionsStDevPARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequest.java index 7ba70f9349f..f491a01126e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsStDev_PBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_PRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDev_PRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev_PRequest. */ -public class WorkbookFunctionsStDev_PRequest extends BaseWorkbookFunctionsStDev_PRequest implements IWorkbookFunctionsStDev_PRequest { +public class WorkbookFunctionsStDev_PRequest extends BaseRequest implements IWorkbookFunctionsStDev_PRequest { + protected final WorkbookFunctionsStDev_PBody body; /** * The request for this WorkbookFunctionsStDev_P @@ -23,6 +32,49 @@ public class WorkbookFunctionsStDev_PRequest extends BaseWorkbookFunctionsStDev_ * @param requestOptions the options for this request */ public WorkbookFunctionsStDev_PRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsStDev_PBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsStDev_PRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsStDev_PRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsStDev_PRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsStDev_PRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsStDev_PRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsStDev_PRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequestBuilder.java index 6f94c3002cf..9a24bae127c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_PRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_PRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDev_PRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev_PRequest Builder. */ -public class WorkbookFunctionsStDev_PRequestBuilder extends BaseWorkbookFunctionsStDev_PRequestBuilder implements IWorkbookFunctionsStDev_PRequestBuilder { +public class WorkbookFunctionsStDev_PRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsStDev_PRequestBuilder { /** * The request builder for this WorkbookFunctionsStDev_P @@ -24,6 +29,36 @@ public class WorkbookFunctionsStDev_PRequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsStDev_PRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsStDev_PRequest + * + * @return the IWorkbookFunctionsStDev_PRequest instance + */ + public IWorkbookFunctionsStDev_PRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsStDev_PRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDev_PRequest instance + */ + public IWorkbookFunctionsStDev_PRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsStDev_PRequest request = new WorkbookFunctionsStDev_PRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequest.java index 6f77841821e..1583339cc7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsStDev_SBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_SRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDev_SRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev_SRequest. */ -public class WorkbookFunctionsStDev_SRequest extends BaseWorkbookFunctionsStDev_SRequest implements IWorkbookFunctionsStDev_SRequest { +public class WorkbookFunctionsStDev_SRequest extends BaseRequest implements IWorkbookFunctionsStDev_SRequest { + protected final WorkbookFunctionsStDev_SBody body; /** * The request for this WorkbookFunctionsStDev_S @@ -23,6 +32,49 @@ public class WorkbookFunctionsStDev_SRequest extends BaseWorkbookFunctionsStDev_ * @param requestOptions the options for this request */ public WorkbookFunctionsStDev_SRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsStDev_SBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsStDev_SRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsStDev_SRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsStDev_SRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsStDev_SRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsStDev_SRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsStDev_SRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequestBuilder.java index 8c69650e988..a9180b44a66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStDev_SRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_SRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStDev_SRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions St Dev_SRequest Builder. */ -public class WorkbookFunctionsStDev_SRequestBuilder extends BaseWorkbookFunctionsStDev_SRequestBuilder implements IWorkbookFunctionsStDev_SRequestBuilder { +public class WorkbookFunctionsStDev_SRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsStDev_SRequestBuilder { /** * The request builder for this WorkbookFunctionsStDev_S @@ -24,6 +29,36 @@ public class WorkbookFunctionsStDev_SRequestBuilder extends BaseWorkbookFunction * @param values the values */ public WorkbookFunctionsStDev_SRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsStDev_SRequest + * + * @return the IWorkbookFunctionsStDev_SRequest instance + */ + public IWorkbookFunctionsStDev_SRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsStDev_SRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStDev_SRequest instance + */ + public IWorkbookFunctionsStDev_SRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsStDev_SRequest request = new WorkbookFunctionsStDev_SRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequest.java index cb9705b7ab7..9666f71a0c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsStandardizeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStandardizeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStandardizeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Standardize Request. */ -public class WorkbookFunctionsStandardizeRequest extends BaseWorkbookFunctionsStandardizeRequest implements IWorkbookFunctionsStandardizeRequest { +public class WorkbookFunctionsStandardizeRequest extends BaseRequest implements IWorkbookFunctionsStandardizeRequest { + protected final WorkbookFunctionsStandardizeBody body; /** * The request for this WorkbookFunctionsStandardize @@ -23,6 +32,49 @@ public class WorkbookFunctionsStandardizeRequest extends BaseWorkbookFunctionsSt * @param requestOptions the options for this request */ public WorkbookFunctionsStandardizeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsStandardizeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsStandardizeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsStandardizeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsStandardizeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsStandardizeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsStandardizeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsStandardizeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequestBuilder.java index a0627484ca6..7282e6e8d04 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsStandardizeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsStandardizeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsStandardizeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Standardize Request Builder. */ -public class WorkbookFunctionsStandardizeRequestBuilder extends BaseWorkbookFunctionsStandardizeRequestBuilder implements IWorkbookFunctionsStandardizeRequestBuilder { +public class WorkbookFunctionsStandardizeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsStandardizeRequestBuilder { /** * The request builder for this WorkbookFunctionsStandardize @@ -26,6 +31,46 @@ public class WorkbookFunctionsStandardizeRequestBuilder extends BaseWorkbookFunc * @param standardDev the standardDev */ public WorkbookFunctionsStandardizeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - super(requestUrl, client, requestOptions, x, mean, standardDev); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("mean", mean); + bodyParams.put("standardDev", standardDev); + } + + /** + * Creates the IWorkbookFunctionsStandardizeRequest + * + * @return the IWorkbookFunctionsStandardizeRequest instance + */ + public IWorkbookFunctionsStandardizeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsStandardizeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsStandardizeRequest instance + */ + public IWorkbookFunctionsStandardizeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsStandardizeRequest request = new WorkbookFunctionsStandardizeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("mean")) { + request.body.mean = getParameter("mean"); + } + + if (hasParameter("standardDev")) { + request.body.standardDev = getParameter("standardDev"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequest.java index e45f2d777de..71868c4e392 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSubstituteBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubstituteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSubstituteRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Substitute Request. */ -public class WorkbookFunctionsSubstituteRequest extends BaseWorkbookFunctionsSubstituteRequest implements IWorkbookFunctionsSubstituteRequest { +public class WorkbookFunctionsSubstituteRequest extends BaseRequest implements IWorkbookFunctionsSubstituteRequest { + protected final WorkbookFunctionsSubstituteBody body; /** * The request for this WorkbookFunctionsSubstitute @@ -23,6 +32,49 @@ public class WorkbookFunctionsSubstituteRequest extends BaseWorkbookFunctionsSub * @param requestOptions the options for this request */ public WorkbookFunctionsSubstituteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSubstituteBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSubstituteRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSubstituteRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSubstituteRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSubstituteRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSubstituteRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSubstituteRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequestBuilder.java index 6831c981386..ed23829c313 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubstituteRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubstituteRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSubstituteRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Substitute Request Builder. */ -public class WorkbookFunctionsSubstituteRequestBuilder extends BaseWorkbookFunctionsSubstituteRequestBuilder implements IWorkbookFunctionsSubstituteRequestBuilder { +public class WorkbookFunctionsSubstituteRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSubstituteRequestBuilder { /** * The request builder for this WorkbookFunctionsSubstitute @@ -27,6 +32,51 @@ public class WorkbookFunctionsSubstituteRequestBuilder extends BaseWorkbookFunct * @param instanceNum the instanceNum */ public WorkbookFunctionsSubstituteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement newText, final com.google.gson.JsonElement instanceNum) { - super(requestUrl, client, requestOptions, text, oldText, newText, instanceNum); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + bodyParams.put("oldText", oldText); + bodyParams.put("newText", newText); + bodyParams.put("instanceNum", instanceNum); + } + + /** + * Creates the IWorkbookFunctionsSubstituteRequest + * + * @return the IWorkbookFunctionsSubstituteRequest instance + */ + public IWorkbookFunctionsSubstituteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSubstituteRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSubstituteRequest instance + */ + public IWorkbookFunctionsSubstituteRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSubstituteRequest request = new WorkbookFunctionsSubstituteRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + if (hasParameter("oldText")) { + request.body.oldText = getParameter("oldText"); + } + + if (hasParameter("newText")) { + request.body.newText = getParameter("newText"); + } + + if (hasParameter("instanceNum")) { + request.body.instanceNum = getParameter("instanceNum"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequest.java index cdfbef6bac7..dab3828b877 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSubtotalBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubtotalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSubtotalRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Subtotal Request. */ -public class WorkbookFunctionsSubtotalRequest extends BaseWorkbookFunctionsSubtotalRequest implements IWorkbookFunctionsSubtotalRequest { +public class WorkbookFunctionsSubtotalRequest extends BaseRequest implements IWorkbookFunctionsSubtotalRequest { + protected final WorkbookFunctionsSubtotalBody body; /** * The request for this WorkbookFunctionsSubtotal @@ -23,6 +32,49 @@ public class WorkbookFunctionsSubtotalRequest extends BaseWorkbookFunctionsSubto * @param requestOptions the options for this request */ public WorkbookFunctionsSubtotalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSubtotalBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSubtotalRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSubtotalRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSubtotalRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSubtotalRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSubtotalRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSubtotalRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequestBuilder.java index 59ba9a5778f..2df160cd586 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSubtotalRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubtotalRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSubtotalRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Subtotal Request Builder. */ -public class WorkbookFunctionsSubtotalRequestBuilder extends BaseWorkbookFunctionsSubtotalRequestBuilder implements IWorkbookFunctionsSubtotalRequestBuilder { +public class WorkbookFunctionsSubtotalRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSubtotalRequestBuilder { /** * The request builder for this WorkbookFunctionsSubtotal @@ -25,6 +30,41 @@ public class WorkbookFunctionsSubtotalRequestBuilder extends BaseWorkbookFunctio * @param values the values */ public WorkbookFunctionsSubtotalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement functionNum, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, functionNum, values); + super(requestUrl, client, requestOptions); + bodyParams.put("functionNum", functionNum); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsSubtotalRequest + * + * @return the IWorkbookFunctionsSubtotalRequest instance + */ + public IWorkbookFunctionsSubtotalRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSubtotalRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSubtotalRequest instance + */ + public IWorkbookFunctionsSubtotalRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSubtotalRequest request = new WorkbookFunctionsSubtotalRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("functionNum")) { + request.body.functionNum = getParameter("functionNum"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequest.java index 29e32ee2d15..12659af6cb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSumIfBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumIfRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum If Request. */ -public class WorkbookFunctionsSumIfRequest extends BaseWorkbookFunctionsSumIfRequest implements IWorkbookFunctionsSumIfRequest { +public class WorkbookFunctionsSumIfRequest extends BaseRequest implements IWorkbookFunctionsSumIfRequest { + protected final WorkbookFunctionsSumIfBody body; /** * The request for this WorkbookFunctionsSumIf @@ -23,6 +32,49 @@ public class WorkbookFunctionsSumIfRequest extends BaseWorkbookFunctionsSumIfReq * @param requestOptions the options for this request */ public WorkbookFunctionsSumIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSumIfBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSumIfRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSumIfRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSumIfRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSumIfRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSumIfRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSumIfRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequestBuilder.java index d42c62a03f7..b26652e60bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumIfRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum If Request Builder. */ -public class WorkbookFunctionsSumIfRequestBuilder extends BaseWorkbookFunctionsSumIfRequestBuilder implements IWorkbookFunctionsSumIfRequestBuilder { +public class WorkbookFunctionsSumIfRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSumIfRequestBuilder { /** * The request builder for this WorkbookFunctionsSumIf @@ -26,6 +31,46 @@ public class WorkbookFunctionsSumIfRequestBuilder extends BaseWorkbookFunctionsS * @param sumRange the sumRange */ public WorkbookFunctionsSumIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement sumRange) { - super(requestUrl, client, requestOptions, range, criteria, sumRange); + super(requestUrl, client, requestOptions); + bodyParams.put("range", range); + bodyParams.put("criteria", criteria); + bodyParams.put("sumRange", sumRange); + } + + /** + * Creates the IWorkbookFunctionsSumIfRequest + * + * @return the IWorkbookFunctionsSumIfRequest instance + */ + public IWorkbookFunctionsSumIfRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSumIfRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumIfRequest instance + */ + public IWorkbookFunctionsSumIfRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSumIfRequest request = new WorkbookFunctionsSumIfRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("range")) { + request.body.range = getParameter("range"); + } + + if (hasParameter("criteria")) { + request.body.criteria = getParameter("criteria"); + } + + if (hasParameter("sumRange")) { + request.body.sumRange = getParameter("sumRange"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequest.java index 6b975592f30..3de96e7c1d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSumIfsBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumIfsRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Ifs Request. */ -public class WorkbookFunctionsSumIfsRequest extends BaseWorkbookFunctionsSumIfsRequest implements IWorkbookFunctionsSumIfsRequest { +public class WorkbookFunctionsSumIfsRequest extends BaseRequest implements IWorkbookFunctionsSumIfsRequest { + protected final WorkbookFunctionsSumIfsBody body; /** * The request for this WorkbookFunctionsSumIfs @@ -23,6 +32,49 @@ public class WorkbookFunctionsSumIfsRequest extends BaseWorkbookFunctionsSumIfsR * @param requestOptions the options for this request */ public WorkbookFunctionsSumIfsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSumIfsBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSumIfsRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSumIfsRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSumIfsRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSumIfsRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSumIfsRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSumIfsRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequestBuilder.java index 8c7749ea402..8c22353d64a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumIfsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumIfsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Ifs Request Builder. */ -public class WorkbookFunctionsSumIfsRequestBuilder extends BaseWorkbookFunctionsSumIfsRequestBuilder implements IWorkbookFunctionsSumIfsRequestBuilder { +public class WorkbookFunctionsSumIfsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSumIfsRequestBuilder { /** * The request builder for this WorkbookFunctionsSumIfs @@ -25,6 +30,41 @@ public class WorkbookFunctionsSumIfsRequestBuilder extends BaseWorkbookFunctions * @param values the values */ public WorkbookFunctionsSumIfsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement sumRange, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, sumRange, values); + super(requestUrl, client, requestOptions); + bodyParams.put("sumRange", sumRange); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsSumIfsRequest + * + * @return the IWorkbookFunctionsSumIfsRequest instance + */ + public IWorkbookFunctionsSumIfsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSumIfsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumIfsRequest instance + */ + public IWorkbookFunctionsSumIfsRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSumIfsRequest request = new WorkbookFunctionsSumIfsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("sumRange")) { + request.body.sumRange = getParameter("sumRange"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequest.java index 7006d76d9ed..c5fc6d7d9f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Request. */ -public class WorkbookFunctionsSumRequest extends BaseWorkbookFunctionsSumRequest implements IWorkbookFunctionsSumRequest { +public class WorkbookFunctionsSumRequest extends BaseRequest implements IWorkbookFunctionsSumRequest { + protected final WorkbookFunctionsSumBody body; /** * The request for this WorkbookFunctionsSum @@ -23,6 +32,49 @@ public class WorkbookFunctionsSumRequest extends BaseWorkbookFunctionsSumRequest * @param requestOptions the options for this request */ public WorkbookFunctionsSumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequestBuilder.java index 208cc524619..c9f32326914 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Request Builder. */ -public class WorkbookFunctionsSumRequestBuilder extends BaseWorkbookFunctionsSumRequestBuilder implements IWorkbookFunctionsSumRequestBuilder { +public class WorkbookFunctionsSumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSumRequestBuilder { /** * The request builder for this WorkbookFunctionsSum @@ -24,6 +29,36 @@ public class WorkbookFunctionsSumRequestBuilder extends BaseWorkbookFunctionsSum * @param values the values */ public WorkbookFunctionsSumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsSumRequest + * + * @return the IWorkbookFunctionsSumRequest instance + */ + public IWorkbookFunctionsSumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumRequest instance + */ + public IWorkbookFunctionsSumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSumRequest request = new WorkbookFunctionsSumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequest.java index 81ecce5d943..f26c00973d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSumSqBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumSqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumSqRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Sq Request. */ -public class WorkbookFunctionsSumSqRequest extends BaseWorkbookFunctionsSumSqRequest implements IWorkbookFunctionsSumSqRequest { +public class WorkbookFunctionsSumSqRequest extends BaseRequest implements IWorkbookFunctionsSumSqRequest { + protected final WorkbookFunctionsSumSqBody body; /** * The request for this WorkbookFunctionsSumSq @@ -23,6 +32,49 @@ public class WorkbookFunctionsSumSqRequest extends BaseWorkbookFunctionsSumSqReq * @param requestOptions the options for this request */ public WorkbookFunctionsSumSqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSumSqBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSumSqRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSumSqRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSumSqRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSumSqRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSumSqRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSumSqRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequestBuilder.java index 225616cf29b..cfb6d43a7d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSumSqRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumSqRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSumSqRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Sum Sq Request Builder. */ -public class WorkbookFunctionsSumSqRequestBuilder extends BaseWorkbookFunctionsSumSqRequestBuilder implements IWorkbookFunctionsSumSqRequestBuilder { +public class WorkbookFunctionsSumSqRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSumSqRequestBuilder { /** * The request builder for this WorkbookFunctionsSumSq @@ -24,6 +29,36 @@ public class WorkbookFunctionsSumSqRequestBuilder extends BaseWorkbookFunctionsS * @param values the values */ public WorkbookFunctionsSumSqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsSumSqRequest + * + * @return the IWorkbookFunctionsSumSqRequest instance + */ + public IWorkbookFunctionsSumSqRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSumSqRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSumSqRequest instance + */ + public IWorkbookFunctionsSumSqRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSumSqRequest request = new WorkbookFunctionsSumSqRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequest.java index b2ed4850081..8e121474716 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsSydBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSydRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSydRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Syd Request. */ -public class WorkbookFunctionsSydRequest extends BaseWorkbookFunctionsSydRequest implements IWorkbookFunctionsSydRequest { +public class WorkbookFunctionsSydRequest extends BaseRequest implements IWorkbookFunctionsSydRequest { + protected final WorkbookFunctionsSydBody body; /** * The request for this WorkbookFunctionsSyd @@ -23,6 +32,49 @@ public class WorkbookFunctionsSydRequest extends BaseWorkbookFunctionsSydRequest * @param requestOptions the options for this request */ public WorkbookFunctionsSydRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsSydBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsSydRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsSydRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsSydRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsSydRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsSydRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsSydRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequestBuilder.java index 98e021dd0dc..ae708464a5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsSydRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsSydRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsSydRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Syd Request Builder. */ -public class WorkbookFunctionsSydRequestBuilder extends BaseWorkbookFunctionsSydRequestBuilder implements IWorkbookFunctionsSydRequestBuilder { +public class WorkbookFunctionsSydRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsSydRequestBuilder { /** * The request builder for this WorkbookFunctionsSyd @@ -27,6 +32,51 @@ public class WorkbookFunctionsSydRequestBuilder extends BaseWorkbookFunctionsSyd * @param per the per */ public WorkbookFunctionsSydRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement per) { - super(requestUrl, client, requestOptions, cost, salvage, life, per); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("salvage", salvage); + bodyParams.put("life", life); + bodyParams.put("per", per); + } + + /** + * Creates the IWorkbookFunctionsSydRequest + * + * @return the IWorkbookFunctionsSydRequest instance + */ + public IWorkbookFunctionsSydRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsSydRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsSydRequest instance + */ + public IWorkbookFunctionsSydRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsSydRequest request = new WorkbookFunctionsSydRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("life")) { + request.body.life = getParameter("life"); + } + + if (hasParameter("per")) { + request.body.per = getParameter("per"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequest.java index c65dd000c10..9239715a0b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions TRequest. */ -public class WorkbookFunctionsTRequest extends BaseWorkbookFunctionsTRequest implements IWorkbookFunctionsTRequest { +public class WorkbookFunctionsTRequest extends BaseRequest implements IWorkbookFunctionsTRequest { + protected final WorkbookFunctionsTBody body; /** * The request for this WorkbookFunctionsT @@ -23,6 +32,49 @@ public class WorkbookFunctionsTRequest extends BaseWorkbookFunctionsTRequest imp * @param requestOptions the options for this request */ public WorkbookFunctionsTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequestBuilder.java index 5c7d4aac9b2..1dd1a8222c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions TRequest Builder. */ -public class WorkbookFunctionsTRequestBuilder extends BaseWorkbookFunctionsTRequestBuilder implements IWorkbookFunctionsTRequestBuilder { +public class WorkbookFunctionsTRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTRequestBuilder { /** * The request builder for this WorkbookFunctionsT @@ -24,6 +29,36 @@ public class WorkbookFunctionsTRequestBuilder extends BaseWorkbookFunctionsTRequ * @param value the value */ public WorkbookFunctionsTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsTRequest + * + * @return the IWorkbookFunctionsTRequest instance + */ + public IWorkbookFunctionsTRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTRequest instance + */ + public IWorkbookFunctionsTRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTRequest request = new WorkbookFunctionsTRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequest.java index 2404f575ff4..c3c50d03be8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsT_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist Request. */ -public class WorkbookFunctionsT_DistRequest extends BaseWorkbookFunctionsT_DistRequest implements IWorkbookFunctionsT_DistRequest { +public class WorkbookFunctionsT_DistRequest extends BaseRequest implements IWorkbookFunctionsT_DistRequest { + protected final WorkbookFunctionsT_DistBody body; /** * The request for this WorkbookFunctionsT_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsT_DistRequest extends BaseWorkbookFunctionsT_DistR * @param requestOptions the options for this request */ public WorkbookFunctionsT_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsT_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsT_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsT_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsT_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsT_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsT_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsT_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequestBuilder.java index 0ec887557f5..6343ab5eb00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist Request Builder. */ -public class WorkbookFunctionsT_DistRequestBuilder extends BaseWorkbookFunctionsT_DistRequestBuilder implements IWorkbookFunctionsT_DistRequestBuilder { +public class WorkbookFunctionsT_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsT_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsT_Dist @@ -26,6 +31,46 @@ public class WorkbookFunctionsT_DistRequestBuilder extends BaseWorkbookFunctions * @param cumulative the cumulative */ public WorkbookFunctionsT_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, degFreedom, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom", degFreedom); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsT_DistRequest + * + * @return the IWorkbookFunctionsT_DistRequest instance + */ + public IWorkbookFunctionsT_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsT_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_DistRequest instance + */ + public IWorkbookFunctionsT_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsT_DistRequest request = new WorkbookFunctionsT_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequest.java index 44c94765e3e..7af96e63e28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsT_Dist_2TBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_2TRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_Dist_2TRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist_2TRequest. */ -public class WorkbookFunctionsT_Dist_2TRequest extends BaseWorkbookFunctionsT_Dist_2TRequest implements IWorkbookFunctionsT_Dist_2TRequest { +public class WorkbookFunctionsT_Dist_2TRequest extends BaseRequest implements IWorkbookFunctionsT_Dist_2TRequest { + protected final WorkbookFunctionsT_Dist_2TBody body; /** * The request for this WorkbookFunctionsT_Dist_2T @@ -23,6 +32,49 @@ public class WorkbookFunctionsT_Dist_2TRequest extends BaseWorkbookFunctionsT_Di * @param requestOptions the options for this request */ public WorkbookFunctionsT_Dist_2TRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsT_Dist_2TBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsT_Dist_2TRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsT_Dist_2TRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsT_Dist_2TRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsT_Dist_2TRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsT_Dist_2TRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsT_Dist_2TRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequestBuilder.java index 9abf75b4dbb..97f2bafbd78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_2TRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_2TRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_Dist_2TRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist_2TRequest Builder. */ -public class WorkbookFunctionsT_Dist_2TRequestBuilder extends BaseWorkbookFunctionsT_Dist_2TRequestBuilder implements IWorkbookFunctionsT_Dist_2TRequestBuilder { +public class WorkbookFunctionsT_Dist_2TRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsT_Dist_2TRequestBuilder { /** * The request builder for this WorkbookFunctionsT_Dist_2T @@ -25,6 +30,41 @@ public class WorkbookFunctionsT_Dist_2TRequestBuilder extends BaseWorkbookFuncti * @param degFreedom the degFreedom */ public WorkbookFunctionsT_Dist_2TRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, x, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsT_Dist_2TRequest + * + * @return the IWorkbookFunctionsT_Dist_2TRequest instance + */ + public IWorkbookFunctionsT_Dist_2TRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsT_Dist_2TRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_Dist_2TRequest instance + */ + public IWorkbookFunctionsT_Dist_2TRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsT_Dist_2TRequest request = new WorkbookFunctionsT_Dist_2TRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequest.java index 4753922ba02..0beceefe8b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsT_Dist_RTBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_RTRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_Dist_RTRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist_RTRequest. */ -public class WorkbookFunctionsT_Dist_RTRequest extends BaseWorkbookFunctionsT_Dist_RTRequest implements IWorkbookFunctionsT_Dist_RTRequest { +public class WorkbookFunctionsT_Dist_RTRequest extends BaseRequest implements IWorkbookFunctionsT_Dist_RTRequest { + protected final WorkbookFunctionsT_Dist_RTBody body; /** * The request for this WorkbookFunctionsT_Dist_RT @@ -23,6 +32,49 @@ public class WorkbookFunctionsT_Dist_RTRequest extends BaseWorkbookFunctionsT_Di * @param requestOptions the options for this request */ public WorkbookFunctionsT_Dist_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsT_Dist_RTBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsT_Dist_RTRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsT_Dist_RTRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsT_Dist_RTRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsT_Dist_RTRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsT_Dist_RTRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsT_Dist_RTRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequestBuilder.java index 992dca2d957..dd2a3b37685 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Dist_RTRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_RTRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_Dist_RTRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Dist_RTRequest Builder. */ -public class WorkbookFunctionsT_Dist_RTRequestBuilder extends BaseWorkbookFunctionsT_Dist_RTRequestBuilder implements IWorkbookFunctionsT_Dist_RTRequestBuilder { +public class WorkbookFunctionsT_Dist_RTRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsT_Dist_RTRequestBuilder { /** * The request builder for this WorkbookFunctionsT_Dist_RT @@ -25,6 +30,41 @@ public class WorkbookFunctionsT_Dist_RTRequestBuilder extends BaseWorkbookFuncti * @param degFreedom the degFreedom */ public WorkbookFunctionsT_Dist_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, x, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsT_Dist_RTRequest + * + * @return the IWorkbookFunctionsT_Dist_RTRequest instance + */ + public IWorkbookFunctionsT_Dist_RTRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsT_Dist_RTRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_Dist_RTRequest instance + */ + public IWorkbookFunctionsT_Dist_RTRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsT_Dist_RTRequest request = new WorkbookFunctionsT_Dist_RTRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequest.java index c67f61ac52d..6228b3744c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsT_InvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_InvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_InvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Inv Request. */ -public class WorkbookFunctionsT_InvRequest extends BaseWorkbookFunctionsT_InvRequest implements IWorkbookFunctionsT_InvRequest { +public class WorkbookFunctionsT_InvRequest extends BaseRequest implements IWorkbookFunctionsT_InvRequest { + protected final WorkbookFunctionsT_InvBody body; /** * The request for this WorkbookFunctionsT_Inv @@ -23,6 +32,49 @@ public class WorkbookFunctionsT_InvRequest extends BaseWorkbookFunctionsT_InvReq * @param requestOptions the options for this request */ public WorkbookFunctionsT_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsT_InvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsT_InvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsT_InvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsT_InvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsT_InvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsT_InvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsT_InvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequestBuilder.java index 6e8c74eb9e7..b0302bc50c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_InvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_InvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_InvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Inv Request Builder. */ -public class WorkbookFunctionsT_InvRequestBuilder extends BaseWorkbookFunctionsT_InvRequestBuilder implements IWorkbookFunctionsT_InvRequestBuilder { +public class WorkbookFunctionsT_InvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsT_InvRequestBuilder { /** * The request builder for this WorkbookFunctionsT_Inv @@ -25,6 +30,41 @@ public class WorkbookFunctionsT_InvRequestBuilder extends BaseWorkbookFunctionsT * @param degFreedom the degFreedom */ public WorkbookFunctionsT_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, probability, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsT_InvRequest + * + * @return the IWorkbookFunctionsT_InvRequest instance + */ + public IWorkbookFunctionsT_InvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsT_InvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_InvRequest instance + */ + public IWorkbookFunctionsT_InvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsT_InvRequest request = new WorkbookFunctionsT_InvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequest.java index acf2e3babc9..a7437e908b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsT_Inv_2TBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Inv_2TRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_Inv_2TRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Inv_2TRequest. */ -public class WorkbookFunctionsT_Inv_2TRequest extends BaseWorkbookFunctionsT_Inv_2TRequest implements IWorkbookFunctionsT_Inv_2TRequest { +public class WorkbookFunctionsT_Inv_2TRequest extends BaseRequest implements IWorkbookFunctionsT_Inv_2TRequest { + protected final WorkbookFunctionsT_Inv_2TBody body; /** * The request for this WorkbookFunctionsT_Inv_2T @@ -23,6 +32,49 @@ public class WorkbookFunctionsT_Inv_2TRequest extends BaseWorkbookFunctionsT_Inv * @param requestOptions the options for this request */ public WorkbookFunctionsT_Inv_2TRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsT_Inv_2TBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsT_Inv_2TRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsT_Inv_2TRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsT_Inv_2TRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsT_Inv_2TRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsT_Inv_2TRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsT_Inv_2TRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequestBuilder.java index b19c328b799..ee72bda77cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsT_Inv_2TRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Inv_2TRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsT_Inv_2TRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions T_Inv_2TRequest Builder. */ -public class WorkbookFunctionsT_Inv_2TRequestBuilder extends BaseWorkbookFunctionsT_Inv_2TRequestBuilder implements IWorkbookFunctionsT_Inv_2TRequestBuilder { +public class WorkbookFunctionsT_Inv_2TRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsT_Inv_2TRequestBuilder { /** * The request builder for this WorkbookFunctionsT_Inv_2T @@ -25,6 +30,41 @@ public class WorkbookFunctionsT_Inv_2TRequestBuilder extends BaseWorkbookFunctio * @param degFreedom the degFreedom */ public WorkbookFunctionsT_Inv_2TRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions, probability, degFreedom); + super(requestUrl, client, requestOptions); + bodyParams.put("probability", probability); + bodyParams.put("degFreedom", degFreedom); + } + + /** + * Creates the IWorkbookFunctionsT_Inv_2TRequest + * + * @return the IWorkbookFunctionsT_Inv_2TRequest instance + */ + public IWorkbookFunctionsT_Inv_2TRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsT_Inv_2TRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsT_Inv_2TRequest instance + */ + public IWorkbookFunctionsT_Inv_2TRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsT_Inv_2TRequest request = new WorkbookFunctionsT_Inv_2TRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("probability")) { + request.body.probability = getParameter("probability"); + } + + if (hasParameter("degFreedom")) { + request.body.degFreedom = getParameter("degFreedom"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequest.java index 79d1a51e75c..7873e0c6dec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tan Request. */ -public class WorkbookFunctionsTanRequest extends BaseWorkbookFunctionsTanRequest implements IWorkbookFunctionsTanRequest { +public class WorkbookFunctionsTanRequest extends BaseRequest implements IWorkbookFunctionsTanRequest { + protected final WorkbookFunctionsTanBody body; /** * The request for this WorkbookFunctionsTan @@ -23,6 +32,49 @@ public class WorkbookFunctionsTanRequest extends BaseWorkbookFunctionsTanRequest * @param requestOptions the options for this request */ public WorkbookFunctionsTanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequestBuilder.java index f6983263a17..a0e8a701732 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tan Request Builder. */ -public class WorkbookFunctionsTanRequestBuilder extends BaseWorkbookFunctionsTanRequestBuilder implements IWorkbookFunctionsTanRequestBuilder { +public class WorkbookFunctionsTanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTanRequestBuilder { /** * The request builder for this WorkbookFunctionsTan @@ -24,6 +29,36 @@ public class WorkbookFunctionsTanRequestBuilder extends BaseWorkbookFunctionsTan * @param number the number */ public WorkbookFunctionsTanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsTanRequest + * + * @return the IWorkbookFunctionsTanRequest instance + */ + public IWorkbookFunctionsTanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTanRequest instance + */ + public IWorkbookFunctionsTanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTanRequest request = new WorkbookFunctionsTanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequest.java index 55b8dc5c92f..1ebf475b7a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTanhBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanhRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTanhRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tanh Request. */ -public class WorkbookFunctionsTanhRequest extends BaseWorkbookFunctionsTanhRequest implements IWorkbookFunctionsTanhRequest { +public class WorkbookFunctionsTanhRequest extends BaseRequest implements IWorkbookFunctionsTanhRequest { + protected final WorkbookFunctionsTanhBody body; /** * The request for this WorkbookFunctionsTanh @@ -23,6 +32,49 @@ public class WorkbookFunctionsTanhRequest extends BaseWorkbookFunctionsTanhReque * @param requestOptions the options for this request */ public WorkbookFunctionsTanhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTanhBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTanhRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTanhRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTanhRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTanhRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTanhRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTanhRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequestBuilder.java index 90919bfab21..907f486d495 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTanhRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanhRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTanhRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tanh Request Builder. */ -public class WorkbookFunctionsTanhRequestBuilder extends BaseWorkbookFunctionsTanhRequestBuilder implements IWorkbookFunctionsTanhRequestBuilder { +public class WorkbookFunctionsTanhRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTanhRequestBuilder { /** * The request builder for this WorkbookFunctionsTanh @@ -24,6 +29,36 @@ public class WorkbookFunctionsTanhRequestBuilder extends BaseWorkbookFunctionsTa * @param number the number */ public WorkbookFunctionsTanhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsTanhRequest + * + * @return the IWorkbookFunctionsTanhRequest instance + */ + public IWorkbookFunctionsTanhRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTanhRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTanhRequest instance + */ + public IWorkbookFunctionsTanhRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTanhRequest request = new WorkbookFunctionsTanhRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequest.java index 3889329f3cd..a699c70c759 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTbillEqBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillEqRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTbillEqRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Eq Request. */ -public class WorkbookFunctionsTbillEqRequest extends BaseWorkbookFunctionsTbillEqRequest implements IWorkbookFunctionsTbillEqRequest { +public class WorkbookFunctionsTbillEqRequest extends BaseRequest implements IWorkbookFunctionsTbillEqRequest { + protected final WorkbookFunctionsTbillEqBody body; /** * The request for this WorkbookFunctionsTbillEq @@ -23,6 +32,49 @@ public class WorkbookFunctionsTbillEqRequest extends BaseWorkbookFunctionsTbillE * @param requestOptions the options for this request */ public WorkbookFunctionsTbillEqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTbillEqBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTbillEqRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTbillEqRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTbillEqRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTbillEqRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTbillEqRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTbillEqRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequestBuilder.java index 9706a522159..a7ed4426d45 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillEqRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillEqRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTbillEqRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Eq Request Builder. */ -public class WorkbookFunctionsTbillEqRequestBuilder extends BaseWorkbookFunctionsTbillEqRequestBuilder implements IWorkbookFunctionsTbillEqRequestBuilder { +public class WorkbookFunctionsTbillEqRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTbillEqRequestBuilder { /** * The request builder for this WorkbookFunctionsTbillEq @@ -26,6 +31,46 @@ public class WorkbookFunctionsTbillEqRequestBuilder extends BaseWorkbookFunction * @param discount the discount */ public WorkbookFunctionsTbillEqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { - super(requestUrl, client, requestOptions, settlement, maturity, discount); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("discount", discount); + } + + /** + * Creates the IWorkbookFunctionsTbillEqRequest + * + * @return the IWorkbookFunctionsTbillEqRequest instance + */ + public IWorkbookFunctionsTbillEqRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTbillEqRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTbillEqRequest instance + */ + public IWorkbookFunctionsTbillEqRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTbillEqRequest request = new WorkbookFunctionsTbillEqRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("discount")) { + request.body.discount = getParameter("discount"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequest.java index 2ab6f712ae8..fcba05da23e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTbillPriceBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillPriceRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTbillPriceRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Price Request. */ -public class WorkbookFunctionsTbillPriceRequest extends BaseWorkbookFunctionsTbillPriceRequest implements IWorkbookFunctionsTbillPriceRequest { +public class WorkbookFunctionsTbillPriceRequest extends BaseRequest implements IWorkbookFunctionsTbillPriceRequest { + protected final WorkbookFunctionsTbillPriceBody body; /** * The request for this WorkbookFunctionsTbillPrice @@ -23,6 +32,49 @@ public class WorkbookFunctionsTbillPriceRequest extends BaseWorkbookFunctionsTbi * @param requestOptions the options for this request */ public WorkbookFunctionsTbillPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTbillPriceBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTbillPriceRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTbillPriceRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTbillPriceRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTbillPriceRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTbillPriceRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTbillPriceRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequestBuilder.java index b08ff11dc0e..61586823998 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillPriceRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillPriceRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTbillPriceRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Price Request Builder. */ -public class WorkbookFunctionsTbillPriceRequestBuilder extends BaseWorkbookFunctionsTbillPriceRequestBuilder implements IWorkbookFunctionsTbillPriceRequestBuilder { +public class WorkbookFunctionsTbillPriceRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTbillPriceRequestBuilder { /** * The request builder for this WorkbookFunctionsTbillPrice @@ -26,6 +31,46 @@ public class WorkbookFunctionsTbillPriceRequestBuilder extends BaseWorkbookFunct * @param discount the discount */ public WorkbookFunctionsTbillPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { - super(requestUrl, client, requestOptions, settlement, maturity, discount); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("discount", discount); + } + + /** + * Creates the IWorkbookFunctionsTbillPriceRequest + * + * @return the IWorkbookFunctionsTbillPriceRequest instance + */ + public IWorkbookFunctionsTbillPriceRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTbillPriceRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTbillPriceRequest instance + */ + public IWorkbookFunctionsTbillPriceRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTbillPriceRequest request = new WorkbookFunctionsTbillPriceRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("discount")) { + request.body.discount = getParameter("discount"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequest.java index 3d30bc99740..49535beff09 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTbillYieldBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTbillYieldRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Yield Request. */ -public class WorkbookFunctionsTbillYieldRequest extends BaseWorkbookFunctionsTbillYieldRequest implements IWorkbookFunctionsTbillYieldRequest { +public class WorkbookFunctionsTbillYieldRequest extends BaseRequest implements IWorkbookFunctionsTbillYieldRequest { + protected final WorkbookFunctionsTbillYieldBody body; /** * The request for this WorkbookFunctionsTbillYield @@ -23,6 +32,49 @@ public class WorkbookFunctionsTbillYieldRequest extends BaseWorkbookFunctionsTbi * @param requestOptions the options for this request */ public WorkbookFunctionsTbillYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTbillYieldBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTbillYieldRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTbillYieldRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTbillYieldRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTbillYieldRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTbillYieldRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTbillYieldRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequestBuilder.java index 60e4ed3e726..df4c7ace24e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTbillYieldRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillYieldRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTbillYieldRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Tbill Yield Request Builder. */ -public class WorkbookFunctionsTbillYieldRequestBuilder extends BaseWorkbookFunctionsTbillYieldRequestBuilder implements IWorkbookFunctionsTbillYieldRequestBuilder { +public class WorkbookFunctionsTbillYieldRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTbillYieldRequestBuilder { /** * The request builder for this WorkbookFunctionsTbillYield @@ -26,6 +31,46 @@ public class WorkbookFunctionsTbillYieldRequestBuilder extends BaseWorkbookFunct * @param pr the pr */ public WorkbookFunctionsTbillYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr) { - super(requestUrl, client, requestOptions, settlement, maturity, pr); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("pr", pr); + } + + /** + * Creates the IWorkbookFunctionsTbillYieldRequest + * + * @return the IWorkbookFunctionsTbillYieldRequest instance + */ + public IWorkbookFunctionsTbillYieldRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTbillYieldRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTbillYieldRequest instance + */ + public IWorkbookFunctionsTbillYieldRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTbillYieldRequest request = new WorkbookFunctionsTbillYieldRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequest.java index 45619957dd3..0f83bd211da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTextBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTextRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTextRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Text Request. */ -public class WorkbookFunctionsTextRequest extends BaseWorkbookFunctionsTextRequest implements IWorkbookFunctionsTextRequest { +public class WorkbookFunctionsTextRequest extends BaseRequest implements IWorkbookFunctionsTextRequest { + protected final WorkbookFunctionsTextBody body; /** * The request for this WorkbookFunctionsText @@ -23,6 +32,49 @@ public class WorkbookFunctionsTextRequest extends BaseWorkbookFunctionsTextReque * @param requestOptions the options for this request */ public WorkbookFunctionsTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTextBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTextRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTextRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTextRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTextRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTextRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTextRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequestBuilder.java index e41d530b612..6fe94b550b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTextRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTextRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTextRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Text Request Builder. */ -public class WorkbookFunctionsTextRequestBuilder extends BaseWorkbookFunctionsTextRequestBuilder implements IWorkbookFunctionsTextRequestBuilder { +public class WorkbookFunctionsTextRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTextRequestBuilder { /** * The request builder for this WorkbookFunctionsText @@ -25,6 +30,41 @@ public class WorkbookFunctionsTextRequestBuilder extends BaseWorkbookFunctionsTe * @param formatText the formatText */ public WorkbookFunctionsTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value, final com.google.gson.JsonElement formatText) { - super(requestUrl, client, requestOptions, value, formatText); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + bodyParams.put("formatText", formatText); + } + + /** + * Creates the IWorkbookFunctionsTextRequest + * + * @return the IWorkbookFunctionsTextRequest instance + */ + public IWorkbookFunctionsTextRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTextRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTextRequest instance + */ + public IWorkbookFunctionsTextRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTextRequest request = new WorkbookFunctionsTextRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + if (hasParameter("formatText")) { + request.body.formatText = getParameter("formatText"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequest.java index 7b204cc25d6..c69207364ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTimeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTimeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Time Request. */ -public class WorkbookFunctionsTimeRequest extends BaseWorkbookFunctionsTimeRequest implements IWorkbookFunctionsTimeRequest { +public class WorkbookFunctionsTimeRequest extends BaseRequest implements IWorkbookFunctionsTimeRequest { + protected final WorkbookFunctionsTimeBody body; /** * The request for this WorkbookFunctionsTime @@ -23,6 +32,49 @@ public class WorkbookFunctionsTimeRequest extends BaseWorkbookFunctionsTimeReque * @param requestOptions the options for this request */ public WorkbookFunctionsTimeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTimeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTimeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTimeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTimeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTimeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTimeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTimeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequestBuilder.java index 4644f8f9515..7d188dd1693 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTimeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Time Request Builder. */ -public class WorkbookFunctionsTimeRequestBuilder extends BaseWorkbookFunctionsTimeRequestBuilder implements IWorkbookFunctionsTimeRequestBuilder { +public class WorkbookFunctionsTimeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTimeRequestBuilder { /** * The request builder for this WorkbookFunctionsTime @@ -26,6 +31,46 @@ public class WorkbookFunctionsTimeRequestBuilder extends BaseWorkbookFunctionsTi * @param second the second */ public WorkbookFunctionsTimeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement hour, final com.google.gson.JsonElement minute, final com.google.gson.JsonElement second) { - super(requestUrl, client, requestOptions, hour, minute, second); + super(requestUrl, client, requestOptions); + bodyParams.put("hour", hour); + bodyParams.put("minute", minute); + bodyParams.put("second", second); + } + + /** + * Creates the IWorkbookFunctionsTimeRequest + * + * @return the IWorkbookFunctionsTimeRequest instance + */ + public IWorkbookFunctionsTimeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTimeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTimeRequest instance + */ + public IWorkbookFunctionsTimeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTimeRequest request = new WorkbookFunctionsTimeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("hour")) { + request.body.hour = getParameter("hour"); + } + + if (hasParameter("minute")) { + request.body.minute = getParameter("minute"); + } + + if (hasParameter("second")) { + request.body.second = getParameter("second"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequest.java index d0469285583..a2ccbf7bc18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTimevalueBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimevalueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTimevalueRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Timevalue Request. */ -public class WorkbookFunctionsTimevalueRequest extends BaseWorkbookFunctionsTimevalueRequest implements IWorkbookFunctionsTimevalueRequest { +public class WorkbookFunctionsTimevalueRequest extends BaseRequest implements IWorkbookFunctionsTimevalueRequest { + protected final WorkbookFunctionsTimevalueBody body; /** * The request for this WorkbookFunctionsTimevalue @@ -23,6 +32,49 @@ public class WorkbookFunctionsTimevalueRequest extends BaseWorkbookFunctionsTime * @param requestOptions the options for this request */ public WorkbookFunctionsTimevalueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTimevalueBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTimevalueRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTimevalueRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTimevalueRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTimevalueRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTimevalueRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTimevalueRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequestBuilder.java index 02aa5304baa..c3bd027cfec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTimevalueRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimevalueRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTimevalueRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Timevalue Request Builder. */ -public class WorkbookFunctionsTimevalueRequestBuilder extends BaseWorkbookFunctionsTimevalueRequestBuilder implements IWorkbookFunctionsTimevalueRequestBuilder { +public class WorkbookFunctionsTimevalueRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTimevalueRequestBuilder { /** * The request builder for this WorkbookFunctionsTimevalue @@ -24,6 +29,36 @@ public class WorkbookFunctionsTimevalueRequestBuilder extends BaseWorkbookFuncti * @param timeText the timeText */ public WorkbookFunctionsTimevalueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement timeText) { - super(requestUrl, client, requestOptions, timeText); + super(requestUrl, client, requestOptions); + bodyParams.put("timeText", timeText); + } + + /** + * Creates the IWorkbookFunctionsTimevalueRequest + * + * @return the IWorkbookFunctionsTimevalueRequest instance + */ + public IWorkbookFunctionsTimevalueRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTimevalueRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTimevalueRequest instance + */ + public IWorkbookFunctionsTimevalueRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTimevalueRequest request = new WorkbookFunctionsTimevalueRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("timeText")) { + request.body.timeText = getParameter("timeText"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequest.java index b9ff7a890e6..880f66aef6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTodayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTodayRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Today Request. */ -public class WorkbookFunctionsTodayRequest extends BaseWorkbookFunctionsTodayRequest implements IWorkbookFunctionsTodayRequest { +public class WorkbookFunctionsTodayRequest extends BaseRequest implements IWorkbookFunctionsTodayRequest { /** * The request for this WorkbookFunctionsToday @@ -23,6 +31,48 @@ public class WorkbookFunctionsTodayRequest extends BaseWorkbookFunctionsTodayReq * @param requestOptions the options for this request */ public WorkbookFunctionsTodayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsToday + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsToday + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTodayRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTodayRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTodayRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTodayRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequestBuilder.java index 45914313117..db9c5df3800 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTodayRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTodayRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTodayRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Today Request Builder. */ -public class WorkbookFunctionsTodayRequestBuilder extends BaseWorkbookFunctionsTodayRequestBuilder implements IWorkbookFunctionsTodayRequestBuilder { +public class WorkbookFunctionsTodayRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTodayRequestBuilder { /** * The request builder for this WorkbookFunctionsToday @@ -25,4 +30,29 @@ public class WorkbookFunctionsTodayRequestBuilder extends BaseWorkbookFunctionsT public WorkbookFunctionsTodayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsTodayRequest + * + * @return the IWorkbookFunctionsTodayRequest instance + */ + public IWorkbookFunctionsTodayRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTodayRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTodayRequest instance + */ + public IWorkbookFunctionsTodayRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTodayRequest request = new WorkbookFunctionsTodayRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequest.java index 4584016c2db..de1fb9b7bef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTrimMeanBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimMeanRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTrimMeanRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trim Mean Request. */ -public class WorkbookFunctionsTrimMeanRequest extends BaseWorkbookFunctionsTrimMeanRequest implements IWorkbookFunctionsTrimMeanRequest { +public class WorkbookFunctionsTrimMeanRequest extends BaseRequest implements IWorkbookFunctionsTrimMeanRequest { + protected final WorkbookFunctionsTrimMeanBody body; /** * The request for this WorkbookFunctionsTrimMean @@ -23,6 +32,49 @@ public class WorkbookFunctionsTrimMeanRequest extends BaseWorkbookFunctionsTrimM * @param requestOptions the options for this request */ public WorkbookFunctionsTrimMeanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTrimMeanBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTrimMeanRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTrimMeanRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTrimMeanRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTrimMeanRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTrimMeanRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTrimMeanRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequestBuilder.java index f4b687f9761..f5bd0072c53 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimMeanRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimMeanRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTrimMeanRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trim Mean Request Builder. */ -public class WorkbookFunctionsTrimMeanRequestBuilder extends BaseWorkbookFunctionsTrimMeanRequestBuilder implements IWorkbookFunctionsTrimMeanRequestBuilder { +public class WorkbookFunctionsTrimMeanRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTrimMeanRequestBuilder { /** * The request builder for this WorkbookFunctionsTrimMean @@ -25,6 +30,41 @@ public class WorkbookFunctionsTrimMeanRequestBuilder extends BaseWorkbookFunctio * @param percent the percent */ public WorkbookFunctionsTrimMeanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement percent) { - super(requestUrl, client, requestOptions, array, percent); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("percent", percent); + } + + /** + * Creates the IWorkbookFunctionsTrimMeanRequest + * + * @return the IWorkbookFunctionsTrimMeanRequest instance + */ + public IWorkbookFunctionsTrimMeanRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTrimMeanRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTrimMeanRequest instance + */ + public IWorkbookFunctionsTrimMeanRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTrimMeanRequest request = new WorkbookFunctionsTrimMeanRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("percent")) { + request.body.percent = getParameter("percent"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequest.java index 06362de10f9..f375290a9ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTrimBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTrimRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trim Request. */ -public class WorkbookFunctionsTrimRequest extends BaseWorkbookFunctionsTrimRequest implements IWorkbookFunctionsTrimRequest { +public class WorkbookFunctionsTrimRequest extends BaseRequest implements IWorkbookFunctionsTrimRequest { + protected final WorkbookFunctionsTrimBody body; /** * The request for this WorkbookFunctionsTrim @@ -23,6 +32,49 @@ public class WorkbookFunctionsTrimRequest extends BaseWorkbookFunctionsTrimReque * @param requestOptions the options for this request */ public WorkbookFunctionsTrimRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTrimBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTrimRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTrimRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTrimRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTrimRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTrimRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTrimRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequestBuilder.java index 02fdfe0551e..0b90606016b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrimRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTrimRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trim Request Builder. */ -public class WorkbookFunctionsTrimRequestBuilder extends BaseWorkbookFunctionsTrimRequestBuilder implements IWorkbookFunctionsTrimRequestBuilder { +public class WorkbookFunctionsTrimRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTrimRequestBuilder { /** * The request builder for this WorkbookFunctionsTrim @@ -24,6 +29,36 @@ public class WorkbookFunctionsTrimRequestBuilder extends BaseWorkbookFunctionsTr * @param text the text */ public WorkbookFunctionsTrimRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsTrimRequest + * + * @return the IWorkbookFunctionsTrimRequest instance + */ + public IWorkbookFunctionsTrimRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTrimRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTrimRequest instance + */ + public IWorkbookFunctionsTrimRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTrimRequest request = new WorkbookFunctionsTrimRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequest.java index 267bd46cbc4..0e553b210db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTrueRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions True Request. */ -public class WorkbookFunctionsTrueRequest extends BaseWorkbookFunctionsTrueRequest implements IWorkbookFunctionsTrueRequest { +public class WorkbookFunctionsTrueRequest extends BaseRequest implements IWorkbookFunctionsTrueRequest { /** * The request for this WorkbookFunctionsTrue @@ -23,6 +31,48 @@ public class WorkbookFunctionsTrueRequest extends BaseWorkbookFunctionsTrueReque * @param requestOptions the options for this request */ public WorkbookFunctionsTrueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); } + + /** + * Creates the WorkbookFunctionsTrue + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookFunctionsTrue + * + * @return the WorkbookFunctionResult + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTrueRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTrueRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTrueRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTrueRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequestBuilder.java index 75a2ad324a9..ed3f9b014ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTrueRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrueRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTrueRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions True Request Builder. */ -public class WorkbookFunctionsTrueRequestBuilder extends BaseWorkbookFunctionsTrueRequestBuilder implements IWorkbookFunctionsTrueRequestBuilder { +public class WorkbookFunctionsTrueRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTrueRequestBuilder { /** * The request builder for this WorkbookFunctionsTrue @@ -25,4 +30,29 @@ public class WorkbookFunctionsTrueRequestBuilder extends BaseWorkbookFunctionsTr public WorkbookFunctionsTrueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookFunctionsTrueRequest + * + * @return the IWorkbookFunctionsTrueRequest instance + */ + public IWorkbookFunctionsTrueRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTrueRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTrueRequest instance + */ + public IWorkbookFunctionsTrueRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTrueRequest request = new WorkbookFunctionsTrueRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequest.java index e716b23da72..5d5cbd59f41 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTruncBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTruncRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTruncRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trunc Request. */ -public class WorkbookFunctionsTruncRequest extends BaseWorkbookFunctionsTruncRequest implements IWorkbookFunctionsTruncRequest { +public class WorkbookFunctionsTruncRequest extends BaseRequest implements IWorkbookFunctionsTruncRequest { + protected final WorkbookFunctionsTruncBody body; /** * The request for this WorkbookFunctionsTrunc @@ -23,6 +32,49 @@ public class WorkbookFunctionsTruncRequest extends BaseWorkbookFunctionsTruncReq * @param requestOptions the options for this request */ public WorkbookFunctionsTruncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTruncBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTruncRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTruncRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTruncRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTruncRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTruncRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTruncRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequestBuilder.java index 513d3b58c24..d659e14514d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTruncRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTruncRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTruncRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Trunc Request Builder. */ -public class WorkbookFunctionsTruncRequestBuilder extends BaseWorkbookFunctionsTruncRequestBuilder implements IWorkbookFunctionsTruncRequestBuilder { +public class WorkbookFunctionsTruncRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTruncRequestBuilder { /** * The request builder for this WorkbookFunctionsTrunc @@ -25,6 +30,41 @@ public class WorkbookFunctionsTruncRequestBuilder extends BaseWorkbookFunctionsT * @param numDigits the numDigits */ public WorkbookFunctionsTruncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions, number, numDigits); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("numDigits", numDigits); + } + + /** + * Creates the IWorkbookFunctionsTruncRequest + * + * @return the IWorkbookFunctionsTruncRequest instance + */ + public IWorkbookFunctionsTruncRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTruncRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTruncRequest instance + */ + public IWorkbookFunctionsTruncRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTruncRequest request = new WorkbookFunctionsTruncRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("numDigits")) { + request.body.numDigits = getParameter("numDigits"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequest.java index ec61172e722..06378ee9e0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsTypeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTypeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTypeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Type Request. */ -public class WorkbookFunctionsTypeRequest extends BaseWorkbookFunctionsTypeRequest implements IWorkbookFunctionsTypeRequest { +public class WorkbookFunctionsTypeRequest extends BaseRequest implements IWorkbookFunctionsTypeRequest { + protected final WorkbookFunctionsTypeBody body; /** * The request for this WorkbookFunctionsType @@ -23,6 +32,49 @@ public class WorkbookFunctionsTypeRequest extends BaseWorkbookFunctionsTypeReque * @param requestOptions the options for this request */ public WorkbookFunctionsTypeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsTypeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsTypeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsTypeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsTypeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsTypeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsTypeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsTypeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequestBuilder.java index b73bee4c4ae..5fbe4586980 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsTypeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsTypeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsTypeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Type Request Builder. */ -public class WorkbookFunctionsTypeRequestBuilder extends BaseWorkbookFunctionsTypeRequestBuilder implements IWorkbookFunctionsTypeRequestBuilder { +public class WorkbookFunctionsTypeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsTypeRequestBuilder { /** * The request builder for this WorkbookFunctionsType @@ -24,6 +29,36 @@ public class WorkbookFunctionsTypeRequestBuilder extends BaseWorkbookFunctionsTy * @param value the value */ public WorkbookFunctionsTypeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions, value); + super(requestUrl, client, requestOptions); + bodyParams.put("value", value); + } + + /** + * Creates the IWorkbookFunctionsTypeRequest + * + * @return the IWorkbookFunctionsTypeRequest instance + */ + public IWorkbookFunctionsTypeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsTypeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsTypeRequest instance + */ + public IWorkbookFunctionsTypeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsTypeRequest request = new WorkbookFunctionsTypeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("value")) { + request.body.value = getParameter("value"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequest.java index 45ffb07e17e..72668032ab2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsUnicharBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicharRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUnicharRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Unichar Request. */ -public class WorkbookFunctionsUnicharRequest extends BaseWorkbookFunctionsUnicharRequest implements IWorkbookFunctionsUnicharRequest { +public class WorkbookFunctionsUnicharRequest extends BaseRequest implements IWorkbookFunctionsUnicharRequest { + protected final WorkbookFunctionsUnicharBody body; /** * The request for this WorkbookFunctionsUnichar @@ -23,6 +32,49 @@ public class WorkbookFunctionsUnicharRequest extends BaseWorkbookFunctionsUnicha * @param requestOptions the options for this request */ public WorkbookFunctionsUnicharRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsUnicharBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsUnicharRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsUnicharRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsUnicharRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsUnicharRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsUnicharRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsUnicharRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequestBuilder.java index 139806e53c2..2ce80d408bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicharRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicharRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUnicharRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Unichar Request Builder. */ -public class WorkbookFunctionsUnicharRequestBuilder extends BaseWorkbookFunctionsUnicharRequestBuilder implements IWorkbookFunctionsUnicharRequestBuilder { +public class WorkbookFunctionsUnicharRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsUnicharRequestBuilder { /** * The request builder for this WorkbookFunctionsUnichar @@ -24,6 +29,36 @@ public class WorkbookFunctionsUnicharRequestBuilder extends BaseWorkbookFunction * @param number the number */ public WorkbookFunctionsUnicharRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions, number); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + } + + /** + * Creates the IWorkbookFunctionsUnicharRequest + * + * @return the IWorkbookFunctionsUnicharRequest instance + */ + public IWorkbookFunctionsUnicharRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsUnicharRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUnicharRequest instance + */ + public IWorkbookFunctionsUnicharRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsUnicharRequest request = new WorkbookFunctionsUnicharRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequest.java index 2adffa2041c..46c01e1e12e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsUnicodeBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicodeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUnicodeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Unicode Request. */ -public class WorkbookFunctionsUnicodeRequest extends BaseWorkbookFunctionsUnicodeRequest implements IWorkbookFunctionsUnicodeRequest { +public class WorkbookFunctionsUnicodeRequest extends BaseRequest implements IWorkbookFunctionsUnicodeRequest { + protected final WorkbookFunctionsUnicodeBody body; /** * The request for this WorkbookFunctionsUnicode @@ -23,6 +32,49 @@ public class WorkbookFunctionsUnicodeRequest extends BaseWorkbookFunctionsUnicod * @param requestOptions the options for this request */ public WorkbookFunctionsUnicodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsUnicodeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsUnicodeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsUnicodeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsUnicodeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsUnicodeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsUnicodeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsUnicodeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequestBuilder.java index e0fbf128304..68ae80a2e01 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUnicodeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicodeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUnicodeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Unicode Request Builder. */ -public class WorkbookFunctionsUnicodeRequestBuilder extends BaseWorkbookFunctionsUnicodeRequestBuilder implements IWorkbookFunctionsUnicodeRequestBuilder { +public class WorkbookFunctionsUnicodeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsUnicodeRequestBuilder { /** * The request builder for this WorkbookFunctionsUnicode @@ -24,6 +29,36 @@ public class WorkbookFunctionsUnicodeRequestBuilder extends BaseWorkbookFunction * @param text the text */ public WorkbookFunctionsUnicodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsUnicodeRequest + * + * @return the IWorkbookFunctionsUnicodeRequest instance + */ + public IWorkbookFunctionsUnicodeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsUnicodeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUnicodeRequest instance + */ + public IWorkbookFunctionsUnicodeRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsUnicodeRequest request = new WorkbookFunctionsUnicodeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequest.java index cdfb0efe81b..8a90ee8a7ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsUpperBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUpperRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUpperRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Upper Request. */ -public class WorkbookFunctionsUpperRequest extends BaseWorkbookFunctionsUpperRequest implements IWorkbookFunctionsUpperRequest { +public class WorkbookFunctionsUpperRequest extends BaseRequest implements IWorkbookFunctionsUpperRequest { + protected final WorkbookFunctionsUpperBody body; /** * The request for this WorkbookFunctionsUpper @@ -23,6 +32,49 @@ public class WorkbookFunctionsUpperRequest extends BaseWorkbookFunctionsUpperReq * @param requestOptions the options for this request */ public WorkbookFunctionsUpperRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsUpperBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsUpperRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsUpperRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsUpperRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsUpperRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsUpperRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsUpperRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequestBuilder.java index d837d42c933..cd4de9b4146 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUpperRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUpperRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUpperRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Upper Request Builder. */ -public class WorkbookFunctionsUpperRequestBuilder extends BaseWorkbookFunctionsUpperRequestBuilder implements IWorkbookFunctionsUpperRequestBuilder { +public class WorkbookFunctionsUpperRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsUpperRequestBuilder { /** * The request builder for this WorkbookFunctionsUpper @@ -24,6 +29,36 @@ public class WorkbookFunctionsUpperRequestBuilder extends BaseWorkbookFunctionsU * @param text the text */ public WorkbookFunctionsUpperRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsUpperRequest + * + * @return the IWorkbookFunctionsUpperRequest instance + */ + public IWorkbookFunctionsUpperRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsUpperRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUpperRequest instance + */ + public IWorkbookFunctionsUpperRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsUpperRequest request = new WorkbookFunctionsUpperRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequest.java index e64fbcad43c..b2fb68bfd7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsUsdollarBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUsdollarRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUsdollarRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Usdollar Request. */ -public class WorkbookFunctionsUsdollarRequest extends BaseWorkbookFunctionsUsdollarRequest implements IWorkbookFunctionsUsdollarRequest { +public class WorkbookFunctionsUsdollarRequest extends BaseRequest implements IWorkbookFunctionsUsdollarRequest { + protected final WorkbookFunctionsUsdollarBody body; /** * The request for this WorkbookFunctionsUsdollar @@ -23,6 +32,49 @@ public class WorkbookFunctionsUsdollarRequest extends BaseWorkbookFunctionsUsdol * @param requestOptions the options for this request */ public WorkbookFunctionsUsdollarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsUsdollarBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsUsdollarRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsUsdollarRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsUsdollarRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsUsdollarRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsUsdollarRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsUsdollarRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequestBuilder.java index 2bedec0949e..ebd0ca57789 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsUsdollarRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsUsdollarRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsUsdollarRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Usdollar Request Builder. */ -public class WorkbookFunctionsUsdollarRequestBuilder extends BaseWorkbookFunctionsUsdollarRequestBuilder implements IWorkbookFunctionsUsdollarRequestBuilder { +public class WorkbookFunctionsUsdollarRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsUsdollarRequestBuilder { /** * The request builder for this WorkbookFunctionsUsdollar @@ -25,6 +30,41 @@ public class WorkbookFunctionsUsdollarRequestBuilder extends BaseWorkbookFunctio * @param decimals the decimals */ public WorkbookFunctionsUsdollarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { - super(requestUrl, client, requestOptions, number, decimals); + super(requestUrl, client, requestOptions); + bodyParams.put("number", number); + bodyParams.put("decimals", decimals); + } + + /** + * Creates the IWorkbookFunctionsUsdollarRequest + * + * @return the IWorkbookFunctionsUsdollarRequest instance + */ + public IWorkbookFunctionsUsdollarRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsUsdollarRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsUsdollarRequest instance + */ + public IWorkbookFunctionsUsdollarRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsUsdollarRequest request = new WorkbookFunctionsUsdollarRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("number")) { + request.body.number = getParameter("number"); + } + + if (hasParameter("decimals")) { + request.body.decimals = getParameter("decimals"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequest.java index 3c64fe2b035..4a64a6456ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsValueBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsValueRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsValueRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Value Request. */ -public class WorkbookFunctionsValueRequest extends BaseWorkbookFunctionsValueRequest implements IWorkbookFunctionsValueRequest { +public class WorkbookFunctionsValueRequest extends BaseRequest implements IWorkbookFunctionsValueRequest { + protected final WorkbookFunctionsValueBody body; /** * The request for this WorkbookFunctionsValue @@ -23,6 +32,49 @@ public class WorkbookFunctionsValueRequest extends BaseWorkbookFunctionsValueReq * @param requestOptions the options for this request */ public WorkbookFunctionsValueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsValueBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsValueRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsValueRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsValueRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsValueRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsValueRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsValueRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequestBuilder.java index c368ced37b2..862e5e96f5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsValueRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsValueRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsValueRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Value Request Builder. */ -public class WorkbookFunctionsValueRequestBuilder extends BaseWorkbookFunctionsValueRequestBuilder implements IWorkbookFunctionsValueRequestBuilder { +public class WorkbookFunctionsValueRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsValueRequestBuilder { /** * The request builder for this WorkbookFunctionsValue @@ -24,6 +29,36 @@ public class WorkbookFunctionsValueRequestBuilder extends BaseWorkbookFunctionsV * @param text the text */ public WorkbookFunctionsValueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions, text); + super(requestUrl, client, requestOptions); + bodyParams.put("text", text); + } + + /** + * Creates the IWorkbookFunctionsValueRequest + * + * @return the IWorkbookFunctionsValueRequest instance + */ + public IWorkbookFunctionsValueRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsValueRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsValueRequest instance + */ + public IWorkbookFunctionsValueRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsValueRequest request = new WorkbookFunctionsValueRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("text")) { + request.body.text = getParameter("text"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequest.java index 0900d5af2fc..d53003ecabf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsVarABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVarARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var ARequest. */ -public class WorkbookFunctionsVarARequest extends BaseWorkbookFunctionsVarARequest implements IWorkbookFunctionsVarARequest { +public class WorkbookFunctionsVarARequest extends BaseRequest implements IWorkbookFunctionsVarARequest { + protected final WorkbookFunctionsVarABody body; /** * The request for this WorkbookFunctionsVarA @@ -23,6 +32,49 @@ public class WorkbookFunctionsVarARequest extends BaseWorkbookFunctionsVarAReque * @param requestOptions the options for this request */ public WorkbookFunctionsVarARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsVarABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsVarARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsVarARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsVarARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsVarARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsVarARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsVarARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequestBuilder.java index 37b5df6f707..911de7ab1b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVarARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var ARequest Builder. */ -public class WorkbookFunctionsVarARequestBuilder extends BaseWorkbookFunctionsVarARequestBuilder implements IWorkbookFunctionsVarARequestBuilder { +public class WorkbookFunctionsVarARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsVarARequestBuilder { /** * The request builder for this WorkbookFunctionsVarA @@ -24,6 +29,36 @@ public class WorkbookFunctionsVarARequestBuilder extends BaseWorkbookFunctionsVa * @param values the values */ public WorkbookFunctionsVarARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsVarARequest + * + * @return the IWorkbookFunctionsVarARequest instance + */ + public IWorkbookFunctionsVarARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsVarARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVarARequest instance + */ + public IWorkbookFunctionsVarARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsVarARequest request = new WorkbookFunctionsVarARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequest.java index 2820e7c8b4a..bf593176949 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsVarPABody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarPARequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVarPARequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var PARequest. */ -public class WorkbookFunctionsVarPARequest extends BaseWorkbookFunctionsVarPARequest implements IWorkbookFunctionsVarPARequest { +public class WorkbookFunctionsVarPARequest extends BaseRequest implements IWorkbookFunctionsVarPARequest { + protected final WorkbookFunctionsVarPABody body; /** * The request for this WorkbookFunctionsVarPA @@ -23,6 +32,49 @@ public class WorkbookFunctionsVarPARequest extends BaseWorkbookFunctionsVarPAReq * @param requestOptions the options for this request */ public WorkbookFunctionsVarPARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsVarPABody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsVarPARequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsVarPARequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsVarPARequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsVarPARequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsVarPARequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsVarPARequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequestBuilder.java index e8b2e277b2c..c11e8c31036 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVarPARequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarPARequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVarPARequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var PARequest Builder. */ -public class WorkbookFunctionsVarPARequestBuilder extends BaseWorkbookFunctionsVarPARequestBuilder implements IWorkbookFunctionsVarPARequestBuilder { +public class WorkbookFunctionsVarPARequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsVarPARequestBuilder { /** * The request builder for this WorkbookFunctionsVarPA @@ -24,6 +29,36 @@ public class WorkbookFunctionsVarPARequestBuilder extends BaseWorkbookFunctionsV * @param values the values */ public WorkbookFunctionsVarPARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsVarPARequest + * + * @return the IWorkbookFunctionsVarPARequest instance + */ + public IWorkbookFunctionsVarPARequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsVarPARequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVarPARequest instance + */ + public IWorkbookFunctionsVarPARequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsVarPARequest request = new WorkbookFunctionsVarPARequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequest.java index fbafaab14af..4d4f4705447 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsVar_PBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_PRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVar_PRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var_PRequest. */ -public class WorkbookFunctionsVar_PRequest extends BaseWorkbookFunctionsVar_PRequest implements IWorkbookFunctionsVar_PRequest { +public class WorkbookFunctionsVar_PRequest extends BaseRequest implements IWorkbookFunctionsVar_PRequest { + protected final WorkbookFunctionsVar_PBody body; /** * The request for this WorkbookFunctionsVar_P @@ -23,6 +32,49 @@ public class WorkbookFunctionsVar_PRequest extends BaseWorkbookFunctionsVar_PReq * @param requestOptions the options for this request */ public WorkbookFunctionsVar_PRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsVar_PBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsVar_PRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsVar_PRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsVar_PRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsVar_PRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsVar_PRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsVar_PRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequestBuilder.java index bbad87a9866..bbf383d9595 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_PRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_PRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVar_PRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var_PRequest Builder. */ -public class WorkbookFunctionsVar_PRequestBuilder extends BaseWorkbookFunctionsVar_PRequestBuilder implements IWorkbookFunctionsVar_PRequestBuilder { +public class WorkbookFunctionsVar_PRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsVar_PRequestBuilder { /** * The request builder for this WorkbookFunctionsVar_P @@ -24,6 +29,36 @@ public class WorkbookFunctionsVar_PRequestBuilder extends BaseWorkbookFunctionsV * @param values the values */ public WorkbookFunctionsVar_PRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsVar_PRequest + * + * @return the IWorkbookFunctionsVar_PRequest instance + */ + public IWorkbookFunctionsVar_PRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsVar_PRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVar_PRequest instance + */ + public IWorkbookFunctionsVar_PRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsVar_PRequest request = new WorkbookFunctionsVar_PRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequest.java index 1f7590e67f5..426c79392c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsVar_SBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_SRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVar_SRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var_SRequest. */ -public class WorkbookFunctionsVar_SRequest extends BaseWorkbookFunctionsVar_SRequest implements IWorkbookFunctionsVar_SRequest { +public class WorkbookFunctionsVar_SRequest extends BaseRequest implements IWorkbookFunctionsVar_SRequest { + protected final WorkbookFunctionsVar_SBody body; /** * The request for this WorkbookFunctionsVar_S @@ -23,6 +32,49 @@ public class WorkbookFunctionsVar_SRequest extends BaseWorkbookFunctionsVar_SReq * @param requestOptions the options for this request */ public WorkbookFunctionsVar_SRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsVar_SBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsVar_SRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsVar_SRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsVar_SRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsVar_SRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsVar_SRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsVar_SRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequestBuilder.java index ec321366617..b85e5b70267 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVar_SRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_SRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVar_SRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Var_SRequest Builder. */ -public class WorkbookFunctionsVar_SRequestBuilder extends BaseWorkbookFunctionsVar_SRequestBuilder implements IWorkbookFunctionsVar_SRequestBuilder { +public class WorkbookFunctionsVar_SRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsVar_SRequestBuilder { /** * The request builder for this WorkbookFunctionsVar_S @@ -24,6 +29,36 @@ public class WorkbookFunctionsVar_SRequestBuilder extends BaseWorkbookFunctionsV * @param values the values */ public WorkbookFunctionsVar_SRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsVar_SRequest + * + * @return the IWorkbookFunctionsVar_SRequest instance + */ + public IWorkbookFunctionsVar_SRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsVar_SRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVar_SRequest instance + */ + public IWorkbookFunctionsVar_SRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsVar_SRequest request = new WorkbookFunctionsVar_SRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequest.java index c4335d2ad56..8c0c974f0cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsVdbBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVdbRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVdbRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Vdb Request. */ -public class WorkbookFunctionsVdbRequest extends BaseWorkbookFunctionsVdbRequest implements IWorkbookFunctionsVdbRequest { +public class WorkbookFunctionsVdbRequest extends BaseRequest implements IWorkbookFunctionsVdbRequest { + protected final WorkbookFunctionsVdbBody body; /** * The request for this WorkbookFunctionsVdb @@ -23,6 +32,49 @@ public class WorkbookFunctionsVdbRequest extends BaseWorkbookFunctionsVdbRequest * @param requestOptions the options for this request */ public WorkbookFunctionsVdbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsVdbBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsVdbRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsVdbRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsVdbRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsVdbRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsVdbRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsVdbRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequestBuilder.java index e3029c26cc9..082f8db90c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVdbRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVdbRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVdbRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Vdb Request Builder. */ -public class WorkbookFunctionsVdbRequestBuilder extends BaseWorkbookFunctionsVdbRequestBuilder implements IWorkbookFunctionsVdbRequestBuilder { +public class WorkbookFunctionsVdbRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsVdbRequestBuilder { /** * The request builder for this WorkbookFunctionsVdb @@ -30,6 +35,66 @@ public class WorkbookFunctionsVdbRequestBuilder extends BaseWorkbookFunctionsVdb * @param noSwitch the noSwitch */ public WorkbookFunctionsVdbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement factor, final com.google.gson.JsonElement noSwitch) { - super(requestUrl, client, requestOptions, cost, salvage, life, startPeriod, endPeriod, factor, noSwitch); + super(requestUrl, client, requestOptions); + bodyParams.put("cost", cost); + bodyParams.put("salvage", salvage); + bodyParams.put("life", life); + bodyParams.put("startPeriod", startPeriod); + bodyParams.put("endPeriod", endPeriod); + bodyParams.put("factor", factor); + bodyParams.put("noSwitch", noSwitch); + } + + /** + * Creates the IWorkbookFunctionsVdbRequest + * + * @return the IWorkbookFunctionsVdbRequest instance + */ + public IWorkbookFunctionsVdbRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsVdbRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVdbRequest instance + */ + public IWorkbookFunctionsVdbRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsVdbRequest request = new WorkbookFunctionsVdbRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("cost")) { + request.body.cost = getParameter("cost"); + } + + if (hasParameter("salvage")) { + request.body.salvage = getParameter("salvage"); + } + + if (hasParameter("life")) { + request.body.life = getParameter("life"); + } + + if (hasParameter("startPeriod")) { + request.body.startPeriod = getParameter("startPeriod"); + } + + if (hasParameter("endPeriod")) { + request.body.endPeriod = getParameter("endPeriod"); + } + + if (hasParameter("factor")) { + request.body.factor = getParameter("factor"); + } + + if (hasParameter("noSwitch")) { + request.body.noSwitch = getParameter("noSwitch"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequest.java index f3517fd02fe..13c2fab42f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsVlookupBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVlookupRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVlookupRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Vlookup Request. */ -public class WorkbookFunctionsVlookupRequest extends BaseWorkbookFunctionsVlookupRequest implements IWorkbookFunctionsVlookupRequest { +public class WorkbookFunctionsVlookupRequest extends BaseRequest implements IWorkbookFunctionsVlookupRequest { + protected final WorkbookFunctionsVlookupBody body; /** * The request for this WorkbookFunctionsVlookup @@ -23,6 +32,49 @@ public class WorkbookFunctionsVlookupRequest extends BaseWorkbookFunctionsVlooku * @param requestOptions the options for this request */ public WorkbookFunctionsVlookupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsVlookupBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsVlookupRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsVlookupRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsVlookupRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsVlookupRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsVlookupRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsVlookupRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequestBuilder.java index c315c0835dd..c51065a41de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsVlookupRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsVlookupRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsVlookupRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Vlookup Request Builder. */ -public class WorkbookFunctionsVlookupRequestBuilder extends BaseWorkbookFunctionsVlookupRequestBuilder implements IWorkbookFunctionsVlookupRequestBuilder { +public class WorkbookFunctionsVlookupRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsVlookupRequestBuilder { /** * The request builder for this WorkbookFunctionsVlookup @@ -27,6 +32,51 @@ public class WorkbookFunctionsVlookupRequestBuilder extends BaseWorkbookFunction * @param rangeLookup the rangeLookup */ public WorkbookFunctionsVlookupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement colIndexNum, final com.google.gson.JsonElement rangeLookup) { - super(requestUrl, client, requestOptions, lookupValue, tableArray, colIndexNum, rangeLookup); + super(requestUrl, client, requestOptions); + bodyParams.put("lookupValue", lookupValue); + bodyParams.put("tableArray", tableArray); + bodyParams.put("colIndexNum", colIndexNum); + bodyParams.put("rangeLookup", rangeLookup); + } + + /** + * Creates the IWorkbookFunctionsVlookupRequest + * + * @return the IWorkbookFunctionsVlookupRequest instance + */ + public IWorkbookFunctionsVlookupRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsVlookupRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsVlookupRequest instance + */ + public IWorkbookFunctionsVlookupRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsVlookupRequest request = new WorkbookFunctionsVlookupRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("lookupValue")) { + request.body.lookupValue = getParameter("lookupValue"); + } + + if (hasParameter("tableArray")) { + request.body.tableArray = getParameter("tableArray"); + } + + if (hasParameter("colIndexNum")) { + request.body.colIndexNum = getParameter("colIndexNum"); + } + + if (hasParameter("rangeLookup")) { + request.body.rangeLookup = getParameter("rangeLookup"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequest.java index 2b04681e3de..9e693d858dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsWeekNumBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekNumRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWeekNumRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Week Num Request. */ -public class WorkbookFunctionsWeekNumRequest extends BaseWorkbookFunctionsWeekNumRequest implements IWorkbookFunctionsWeekNumRequest { +public class WorkbookFunctionsWeekNumRequest extends BaseRequest implements IWorkbookFunctionsWeekNumRequest { + protected final WorkbookFunctionsWeekNumBody body; /** * The request for this WorkbookFunctionsWeekNum @@ -23,6 +32,49 @@ public class WorkbookFunctionsWeekNumRequest extends BaseWorkbookFunctionsWeekNu * @param requestOptions the options for this request */ public WorkbookFunctionsWeekNumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsWeekNumBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsWeekNumRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsWeekNumRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsWeekNumRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsWeekNumRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsWeekNumRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsWeekNumRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequestBuilder.java index 22b01baeb6b..7e2cb8e5c35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekNumRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekNumRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWeekNumRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Week Num Request Builder. */ -public class WorkbookFunctionsWeekNumRequestBuilder extends BaseWorkbookFunctionsWeekNumRequestBuilder implements IWorkbookFunctionsWeekNumRequestBuilder { +public class WorkbookFunctionsWeekNumRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsWeekNumRequestBuilder { /** * The request builder for this WorkbookFunctionsWeekNum @@ -25,6 +30,41 @@ public class WorkbookFunctionsWeekNumRequestBuilder extends BaseWorkbookFunction * @param returnType the returnType */ public WorkbookFunctionsWeekNumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { - super(requestUrl, client, requestOptions, serialNumber, returnType); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + bodyParams.put("returnType", returnType); + } + + /** + * Creates the IWorkbookFunctionsWeekNumRequest + * + * @return the IWorkbookFunctionsWeekNumRequest instance + */ + public IWorkbookFunctionsWeekNumRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsWeekNumRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWeekNumRequest instance + */ + public IWorkbookFunctionsWeekNumRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsWeekNumRequest request = new WorkbookFunctionsWeekNumRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + if (hasParameter("returnType")) { + request.body.returnType = getParameter("returnType"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequest.java index 41eba40532c..22bd9c133c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsWeekdayBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekdayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWeekdayRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Weekday Request. */ -public class WorkbookFunctionsWeekdayRequest extends BaseWorkbookFunctionsWeekdayRequest implements IWorkbookFunctionsWeekdayRequest { +public class WorkbookFunctionsWeekdayRequest extends BaseRequest implements IWorkbookFunctionsWeekdayRequest { + protected final WorkbookFunctionsWeekdayBody body; /** * The request for this WorkbookFunctionsWeekday @@ -23,6 +32,49 @@ public class WorkbookFunctionsWeekdayRequest extends BaseWorkbookFunctionsWeekda * @param requestOptions the options for this request */ public WorkbookFunctionsWeekdayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsWeekdayBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsWeekdayRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsWeekdayRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsWeekdayRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsWeekdayRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsWeekdayRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsWeekdayRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequestBuilder.java index b1c780a46a2..12bb4ec5350 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeekdayRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekdayRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWeekdayRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Weekday Request Builder. */ -public class WorkbookFunctionsWeekdayRequestBuilder extends BaseWorkbookFunctionsWeekdayRequestBuilder implements IWorkbookFunctionsWeekdayRequestBuilder { +public class WorkbookFunctionsWeekdayRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsWeekdayRequestBuilder { /** * The request builder for this WorkbookFunctionsWeekday @@ -25,6 +30,41 @@ public class WorkbookFunctionsWeekdayRequestBuilder extends BaseWorkbookFunction * @param returnType the returnType */ public WorkbookFunctionsWeekdayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { - super(requestUrl, client, requestOptions, serialNumber, returnType); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + bodyParams.put("returnType", returnType); + } + + /** + * Creates the IWorkbookFunctionsWeekdayRequest + * + * @return the IWorkbookFunctionsWeekdayRequest instance + */ + public IWorkbookFunctionsWeekdayRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsWeekdayRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWeekdayRequest instance + */ + public IWorkbookFunctionsWeekdayRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsWeekdayRequest request = new WorkbookFunctionsWeekdayRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + if (hasParameter("returnType")) { + request.body.returnType = getParameter("returnType"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequest.java index 9615e5f4081..2656d1882df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsWeibull_DistBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeibull_DistRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWeibull_DistRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Weibull_Dist Request. */ -public class WorkbookFunctionsWeibull_DistRequest extends BaseWorkbookFunctionsWeibull_DistRequest implements IWorkbookFunctionsWeibull_DistRequest { +public class WorkbookFunctionsWeibull_DistRequest extends BaseRequest implements IWorkbookFunctionsWeibull_DistRequest { + protected final WorkbookFunctionsWeibull_DistBody body; /** * The request for this WorkbookFunctionsWeibull_Dist @@ -23,6 +32,49 @@ public class WorkbookFunctionsWeibull_DistRequest extends BaseWorkbookFunctionsW * @param requestOptions the options for this request */ public WorkbookFunctionsWeibull_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsWeibull_DistBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsWeibull_DistRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsWeibull_DistRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsWeibull_DistRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsWeibull_DistRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsWeibull_DistRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsWeibull_DistRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequestBuilder.java index f3d9fa1cc0e..90647b4ae8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWeibull_DistRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeibull_DistRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWeibull_DistRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Weibull_Dist Request Builder. */ -public class WorkbookFunctionsWeibull_DistRequestBuilder extends BaseWorkbookFunctionsWeibull_DistRequestBuilder implements IWorkbookFunctionsWeibull_DistRequestBuilder { +public class WorkbookFunctionsWeibull_DistRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsWeibull_DistRequestBuilder { /** * The request builder for this WorkbookFunctionsWeibull_Dist @@ -27,6 +32,51 @@ public class WorkbookFunctionsWeibull_DistRequestBuilder extends BaseWorkbookFun * @param cumulative the cumulative */ public WorkbookFunctionsWeibull_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions, x, alpha, beta, cumulative); + super(requestUrl, client, requestOptions); + bodyParams.put("x", x); + bodyParams.put("alpha", alpha); + bodyParams.put("beta", beta); + bodyParams.put("cumulative", cumulative); + } + + /** + * Creates the IWorkbookFunctionsWeibull_DistRequest + * + * @return the IWorkbookFunctionsWeibull_DistRequest instance + */ + public IWorkbookFunctionsWeibull_DistRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsWeibull_DistRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWeibull_DistRequest instance + */ + public IWorkbookFunctionsWeibull_DistRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsWeibull_DistRequest request = new WorkbookFunctionsWeibull_DistRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("alpha")) { + request.body.alpha = getParameter("alpha"); + } + + if (hasParameter("beta")) { + request.body.beta = getParameter("beta"); + } + + if (hasParameter("cumulative")) { + request.body.cumulative = getParameter("cumulative"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequest.java index 4b5270389d7..f7352504721 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsWorkDayBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDayRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWorkDayRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Work Day Request. */ -public class WorkbookFunctionsWorkDayRequest extends BaseWorkbookFunctionsWorkDayRequest implements IWorkbookFunctionsWorkDayRequest { +public class WorkbookFunctionsWorkDayRequest extends BaseRequest implements IWorkbookFunctionsWorkDayRequest { + protected final WorkbookFunctionsWorkDayBody body; /** * The request for this WorkbookFunctionsWorkDay @@ -23,6 +32,49 @@ public class WorkbookFunctionsWorkDayRequest extends BaseWorkbookFunctionsWorkDa * @param requestOptions the options for this request */ public WorkbookFunctionsWorkDayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsWorkDayBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsWorkDayRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsWorkDayRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsWorkDayRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsWorkDayRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsWorkDayRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsWorkDayRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequestBuilder.java index a01ac40b1df..14e29e652c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDayRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDayRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWorkDayRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Work Day Request Builder. */ -public class WorkbookFunctionsWorkDayRequestBuilder extends BaseWorkbookFunctionsWorkDayRequestBuilder implements IWorkbookFunctionsWorkDayRequestBuilder { +public class WorkbookFunctionsWorkDayRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsWorkDayRequestBuilder { /** * The request builder for this WorkbookFunctionsWorkDay @@ -26,6 +31,46 @@ public class WorkbookFunctionsWorkDayRequestBuilder extends BaseWorkbookFunction * @param holidays the holidays */ public WorkbookFunctionsWorkDayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions, startDate, days, holidays); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("days", days); + bodyParams.put("holidays", holidays); + } + + /** + * Creates the IWorkbookFunctionsWorkDayRequest + * + * @return the IWorkbookFunctionsWorkDayRequest instance + */ + public IWorkbookFunctionsWorkDayRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsWorkDayRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWorkDayRequest instance + */ + public IWorkbookFunctionsWorkDayRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsWorkDayRequest request = new WorkbookFunctionsWorkDayRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("days")) { + request.body.days = getParameter("days"); + } + + if (hasParameter("holidays")) { + request.body.holidays = getParameter("holidays"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequest.java index 35fd56286c0..b5395594c6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsWorkDay_IntlBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDay_IntlRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWorkDay_IntlRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Work Day_Intl Request. */ -public class WorkbookFunctionsWorkDay_IntlRequest extends BaseWorkbookFunctionsWorkDay_IntlRequest implements IWorkbookFunctionsWorkDay_IntlRequest { +public class WorkbookFunctionsWorkDay_IntlRequest extends BaseRequest implements IWorkbookFunctionsWorkDay_IntlRequest { + protected final WorkbookFunctionsWorkDay_IntlBody body; /** * The request for this WorkbookFunctionsWorkDay_Intl @@ -23,6 +32,49 @@ public class WorkbookFunctionsWorkDay_IntlRequest extends BaseWorkbookFunctionsW * @param requestOptions the options for this request */ public WorkbookFunctionsWorkDay_IntlRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsWorkDay_IntlBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsWorkDay_IntlRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsWorkDay_IntlRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsWorkDay_IntlRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsWorkDay_IntlRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsWorkDay_IntlRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsWorkDay_IntlRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequestBuilder.java index 34c76c176ce..27869dd2ded 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsWorkDay_IntlRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDay_IntlRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsWorkDay_IntlRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Work Day_Intl Request Builder. */ -public class WorkbookFunctionsWorkDay_IntlRequestBuilder extends BaseWorkbookFunctionsWorkDay_IntlRequestBuilder implements IWorkbookFunctionsWorkDay_IntlRequestBuilder { +public class WorkbookFunctionsWorkDay_IntlRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsWorkDay_IntlRequestBuilder { /** * The request builder for this WorkbookFunctionsWorkDay_Intl @@ -27,6 +32,51 @@ public class WorkbookFunctionsWorkDay_IntlRequestBuilder extends BaseWorkbookFun * @param holidays the holidays */ public WorkbookFunctionsWorkDay_IntlRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions, startDate, days, weekend, holidays); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("days", days); + bodyParams.put("weekend", weekend); + bodyParams.put("holidays", holidays); + } + + /** + * Creates the IWorkbookFunctionsWorkDay_IntlRequest + * + * @return the IWorkbookFunctionsWorkDay_IntlRequest instance + */ + public IWorkbookFunctionsWorkDay_IntlRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsWorkDay_IntlRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsWorkDay_IntlRequest instance + */ + public IWorkbookFunctionsWorkDay_IntlRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsWorkDay_IntlRequest request = new WorkbookFunctionsWorkDay_IntlRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("days")) { + request.body.days = getParameter("days"); + } + + if (hasParameter("weekend")) { + request.body.weekend = getParameter("weekend"); + } + + if (hasParameter("holidays")) { + request.body.holidays = getParameter("holidays"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequest.java index 36ef92a694d..083e0652115 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsXirrBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXirrRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsXirrRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xirr Request. */ -public class WorkbookFunctionsXirrRequest extends BaseWorkbookFunctionsXirrRequest implements IWorkbookFunctionsXirrRequest { +public class WorkbookFunctionsXirrRequest extends BaseRequest implements IWorkbookFunctionsXirrRequest { + protected final WorkbookFunctionsXirrBody body; /** * The request for this WorkbookFunctionsXirr @@ -23,6 +32,49 @@ public class WorkbookFunctionsXirrRequest extends BaseWorkbookFunctionsXirrReque * @param requestOptions the options for this request */ public WorkbookFunctionsXirrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsXirrBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsXirrRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsXirrRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsXirrRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsXirrRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsXirrRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsXirrRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequestBuilder.java index a41d3377aaf..364264cc142 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXirrRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXirrRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsXirrRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xirr Request Builder. */ -public class WorkbookFunctionsXirrRequestBuilder extends BaseWorkbookFunctionsXirrRequestBuilder implements IWorkbookFunctionsXirrRequestBuilder { +public class WorkbookFunctionsXirrRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsXirrRequestBuilder { /** * The request builder for this WorkbookFunctionsXirr @@ -26,6 +31,46 @@ public class WorkbookFunctionsXirrRequestBuilder extends BaseWorkbookFunctionsXi * @param guess the guess */ public WorkbookFunctionsXirrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates, final com.google.gson.JsonElement guess) { - super(requestUrl, client, requestOptions, values, dates, guess); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + bodyParams.put("dates", dates); + bodyParams.put("guess", guess); + } + + /** + * Creates the IWorkbookFunctionsXirrRequest + * + * @return the IWorkbookFunctionsXirrRequest instance + */ + public IWorkbookFunctionsXirrRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsXirrRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsXirrRequest instance + */ + public IWorkbookFunctionsXirrRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsXirrRequest request = new WorkbookFunctionsXirrRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + if (hasParameter("dates")) { + request.body.dates = getParameter("dates"); + } + + if (hasParameter("guess")) { + request.body.guess = getParameter("guess"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequest.java index adb96a329fe..22e4ef514ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsXnpvBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXnpvRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsXnpvRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xnpv Request. */ -public class WorkbookFunctionsXnpvRequest extends BaseWorkbookFunctionsXnpvRequest implements IWorkbookFunctionsXnpvRequest { +public class WorkbookFunctionsXnpvRequest extends BaseRequest implements IWorkbookFunctionsXnpvRequest { + protected final WorkbookFunctionsXnpvBody body; /** * The request for this WorkbookFunctionsXnpv @@ -23,6 +32,49 @@ public class WorkbookFunctionsXnpvRequest extends BaseWorkbookFunctionsXnpvReque * @param requestOptions the options for this request */ public WorkbookFunctionsXnpvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsXnpvBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsXnpvRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsXnpvRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsXnpvRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsXnpvRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsXnpvRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsXnpvRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequestBuilder.java index 7f3f8333878..aa588992d17 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXnpvRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXnpvRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsXnpvRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xnpv Request Builder. */ -public class WorkbookFunctionsXnpvRequestBuilder extends BaseWorkbookFunctionsXnpvRequestBuilder implements IWorkbookFunctionsXnpvRequestBuilder { +public class WorkbookFunctionsXnpvRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsXnpvRequestBuilder { /** * The request builder for this WorkbookFunctionsXnpv @@ -26,6 +31,46 @@ public class WorkbookFunctionsXnpvRequestBuilder extends BaseWorkbookFunctionsXn * @param dates the dates */ public WorkbookFunctionsXnpvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates) { - super(requestUrl, client, requestOptions, rate, values, dates); + super(requestUrl, client, requestOptions); + bodyParams.put("rate", rate); + bodyParams.put("values", values); + bodyParams.put("dates", dates); + } + + /** + * Creates the IWorkbookFunctionsXnpvRequest + * + * @return the IWorkbookFunctionsXnpvRequest instance + */ + public IWorkbookFunctionsXnpvRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsXnpvRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsXnpvRequest instance + */ + public IWorkbookFunctionsXnpvRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsXnpvRequest request = new WorkbookFunctionsXnpvRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + if (hasParameter("dates")) { + request.body.dates = getParameter("dates"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequest.java index 6c21155f45e..e18ecf0c587 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsXorBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXorRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsXorRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xor Request. */ -public class WorkbookFunctionsXorRequest extends BaseWorkbookFunctionsXorRequest implements IWorkbookFunctionsXorRequest { +public class WorkbookFunctionsXorRequest extends BaseRequest implements IWorkbookFunctionsXorRequest { + protected final WorkbookFunctionsXorBody body; /** * The request for this WorkbookFunctionsXor @@ -23,6 +32,49 @@ public class WorkbookFunctionsXorRequest extends BaseWorkbookFunctionsXorRequest * @param requestOptions the options for this request */ public WorkbookFunctionsXorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsXorBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsXorRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsXorRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsXorRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsXorRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsXorRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsXorRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequestBuilder.java index 6ed8ecb4d41..1deb7c217d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsXorRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsXorRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsXorRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Xor Request Builder. */ -public class WorkbookFunctionsXorRequestBuilder extends BaseWorkbookFunctionsXorRequestBuilder implements IWorkbookFunctionsXorRequestBuilder { +public class WorkbookFunctionsXorRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsXorRequestBuilder { /** * The request builder for this WorkbookFunctionsXor @@ -24,6 +29,36 @@ public class WorkbookFunctionsXorRequestBuilder extends BaseWorkbookFunctionsXor * @param values the values */ public WorkbookFunctionsXorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, values); + super(requestUrl, client, requestOptions); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookFunctionsXorRequest + * + * @return the IWorkbookFunctionsXorRequest instance + */ + public IWorkbookFunctionsXorRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsXorRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsXorRequest instance + */ + public IWorkbookFunctionsXorRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsXorRequest request = new WorkbookFunctionsXorRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequest.java index 6ab55e6d9ab..a9b1686fcd3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsYearFracBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearFracRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYearFracRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Year Frac Request. */ -public class WorkbookFunctionsYearFracRequest extends BaseWorkbookFunctionsYearFracRequest implements IWorkbookFunctionsYearFracRequest { +public class WorkbookFunctionsYearFracRequest extends BaseRequest implements IWorkbookFunctionsYearFracRequest { + protected final WorkbookFunctionsYearFracBody body; /** * The request for this WorkbookFunctionsYearFrac @@ -23,6 +32,49 @@ public class WorkbookFunctionsYearFracRequest extends BaseWorkbookFunctionsYearF * @param requestOptions the options for this request */ public WorkbookFunctionsYearFracRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsYearFracBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsYearFracRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsYearFracRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsYearFracRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsYearFracRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsYearFracRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsYearFracRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequestBuilder.java index f93871a231a..964a9b4d925 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearFracRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearFracRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYearFracRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Year Frac Request Builder. */ -public class WorkbookFunctionsYearFracRequestBuilder extends BaseWorkbookFunctionsYearFracRequestBuilder implements IWorkbookFunctionsYearFracRequestBuilder { +public class WorkbookFunctionsYearFracRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsYearFracRequestBuilder { /** * The request builder for this WorkbookFunctionsYearFrac @@ -26,6 +31,46 @@ public class WorkbookFunctionsYearFracRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsYearFracRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, startDate, endDate, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("startDate", startDate); + bodyParams.put("endDate", endDate); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsYearFracRequest + * + * @return the IWorkbookFunctionsYearFracRequest instance + */ + public IWorkbookFunctionsYearFracRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsYearFracRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYearFracRequest instance + */ + public IWorkbookFunctionsYearFracRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsYearFracRequest request = new WorkbookFunctionsYearFracRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("startDate")) { + request.body.startDate = getParameter("startDate"); + } + + if (hasParameter("endDate")) { + request.body.endDate = getParameter("endDate"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequest.java index c85b2f34805..0a98a2d5ba0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsYearBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYearRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Year Request. */ -public class WorkbookFunctionsYearRequest extends BaseWorkbookFunctionsYearRequest implements IWorkbookFunctionsYearRequest { +public class WorkbookFunctionsYearRequest extends BaseRequest implements IWorkbookFunctionsYearRequest { + protected final WorkbookFunctionsYearBody body; /** * The request for this WorkbookFunctionsYear @@ -23,6 +32,49 @@ public class WorkbookFunctionsYearRequest extends BaseWorkbookFunctionsYearReque * @param requestOptions the options for this request */ public WorkbookFunctionsYearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsYearBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsYearRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsYearRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsYearRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsYearRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsYearRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsYearRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequestBuilder.java index 86f814f09ff..46354b7799e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Year Request Builder. */ -public class WorkbookFunctionsYearRequestBuilder extends BaseWorkbookFunctionsYearRequestBuilder implements IWorkbookFunctionsYearRequestBuilder { +public class WorkbookFunctionsYearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsYearRequestBuilder { /** * The request builder for this WorkbookFunctionsYear @@ -24,6 +29,36 @@ public class WorkbookFunctionsYearRequestBuilder extends BaseWorkbookFunctionsYe * @param serialNumber the serialNumber */ public WorkbookFunctionsYearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions, serialNumber); + super(requestUrl, client, requestOptions); + bodyParams.put("serialNumber", serialNumber); + } + + /** + * Creates the IWorkbookFunctionsYearRequest + * + * @return the IWorkbookFunctionsYearRequest instance + */ + public IWorkbookFunctionsYearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsYearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYearRequest instance + */ + public IWorkbookFunctionsYearRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsYearRequest request = new WorkbookFunctionsYearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("serialNumber")) { + request.body.serialNumber = getParameter("serialNumber"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequest.java index 5df4b96e6a9..70d31dd18f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsYieldDiscBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldDiscRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYieldDiscRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Disc Request. */ -public class WorkbookFunctionsYieldDiscRequest extends BaseWorkbookFunctionsYieldDiscRequest implements IWorkbookFunctionsYieldDiscRequest { +public class WorkbookFunctionsYieldDiscRequest extends BaseRequest implements IWorkbookFunctionsYieldDiscRequest { + protected final WorkbookFunctionsYieldDiscBody body; /** * The request for this WorkbookFunctionsYieldDisc @@ -23,6 +32,49 @@ public class WorkbookFunctionsYieldDiscRequest extends BaseWorkbookFunctionsYiel * @param requestOptions the options for this request */ public WorkbookFunctionsYieldDiscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsYieldDiscBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsYieldDiscRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsYieldDiscRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsYieldDiscRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsYieldDiscRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsYieldDiscRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsYieldDiscRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequestBuilder.java index d30896bd98a..735e4532a24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldDiscRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldDiscRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYieldDiscRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Disc Request Builder. */ -public class WorkbookFunctionsYieldDiscRequestBuilder extends BaseWorkbookFunctionsYieldDiscRequestBuilder implements IWorkbookFunctionsYieldDiscRequestBuilder { +public class WorkbookFunctionsYieldDiscRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsYieldDiscRequestBuilder { /** * The request builder for this WorkbookFunctionsYieldDisc @@ -28,6 +33,56 @@ public class WorkbookFunctionsYieldDiscRequestBuilder extends BaseWorkbookFuncti * @param basis the basis */ public WorkbookFunctionsYieldDiscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, pr, redemption, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("pr", pr); + bodyParams.put("redemption", redemption); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsYieldDiscRequest + * + * @return the IWorkbookFunctionsYieldDiscRequest instance + */ + public IWorkbookFunctionsYieldDiscRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsYieldDiscRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYieldDiscRequest instance + */ + public IWorkbookFunctionsYieldDiscRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsYieldDiscRequest request = new WorkbookFunctionsYieldDiscRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequest.java index 3122435bb78..6b814f2d78d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsYieldMatBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldMatRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYieldMatRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Mat Request. */ -public class WorkbookFunctionsYieldMatRequest extends BaseWorkbookFunctionsYieldMatRequest implements IWorkbookFunctionsYieldMatRequest { +public class WorkbookFunctionsYieldMatRequest extends BaseRequest implements IWorkbookFunctionsYieldMatRequest { + protected final WorkbookFunctionsYieldMatBody body; /** * The request for this WorkbookFunctionsYieldMat @@ -23,6 +32,49 @@ public class WorkbookFunctionsYieldMatRequest extends BaseWorkbookFunctionsYield * @param requestOptions the options for this request */ public WorkbookFunctionsYieldMatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsYieldMatBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsYieldMatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsYieldMatRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsYieldMatRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsYieldMatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsYieldMatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsYieldMatRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequestBuilder.java index b3bba8a65e1..efdbf531c38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldMatRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldMatRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYieldMatRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Mat Request Builder. */ -public class WorkbookFunctionsYieldMatRequestBuilder extends BaseWorkbookFunctionsYieldMatRequestBuilder implements IWorkbookFunctionsYieldMatRequestBuilder { +public class WorkbookFunctionsYieldMatRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsYieldMatRequestBuilder { /** * The request builder for this WorkbookFunctionsYieldMat @@ -29,6 +34,61 @@ public class WorkbookFunctionsYieldMatRequestBuilder extends BaseWorkbookFunctio * @param basis the basis */ public WorkbookFunctionsYieldMatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, issue, rate, pr, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("issue", issue); + bodyParams.put("rate", rate); + bodyParams.put("pr", pr); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsYieldMatRequest + * + * @return the IWorkbookFunctionsYieldMatRequest instance + */ + public IWorkbookFunctionsYieldMatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsYieldMatRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYieldMatRequest instance + */ + public IWorkbookFunctionsYieldMatRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsYieldMatRequest request = new WorkbookFunctionsYieldMatRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("issue")) { + request.body.issue = getParameter("issue"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequest.java index 4e70399f021..14e987b3f88 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsYieldBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYieldRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Request. */ -public class WorkbookFunctionsYieldRequest extends BaseWorkbookFunctionsYieldRequest implements IWorkbookFunctionsYieldRequest { +public class WorkbookFunctionsYieldRequest extends BaseRequest implements IWorkbookFunctionsYieldRequest { + protected final WorkbookFunctionsYieldBody body; /** * The request for this WorkbookFunctionsYield @@ -23,6 +32,49 @@ public class WorkbookFunctionsYieldRequest extends BaseWorkbookFunctionsYieldReq * @param requestOptions the options for this request */ public WorkbookFunctionsYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsYieldBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsYieldRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsYieldRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsYieldRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsYieldRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsYieldRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsYieldRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequestBuilder.java index ca3f0fa285e..f9a53828386 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsYieldRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsYieldRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Yield Request Builder. */ -public class WorkbookFunctionsYieldRequestBuilder extends BaseWorkbookFunctionsYieldRequestBuilder implements IWorkbookFunctionsYieldRequestBuilder { +public class WorkbookFunctionsYieldRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsYieldRequestBuilder { /** * The request builder for this WorkbookFunctionsYield @@ -30,6 +35,66 @@ public class WorkbookFunctionsYieldRequestBuilder extends BaseWorkbookFunctionsY * @param basis the basis */ public WorkbookFunctionsYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions, settlement, maturity, rate, pr, redemption, frequency, basis); + super(requestUrl, client, requestOptions); + bodyParams.put("settlement", settlement); + bodyParams.put("maturity", maturity); + bodyParams.put("rate", rate); + bodyParams.put("pr", pr); + bodyParams.put("redemption", redemption); + bodyParams.put("frequency", frequency); + bodyParams.put("basis", basis); + } + + /** + * Creates the IWorkbookFunctionsYieldRequest + * + * @return the IWorkbookFunctionsYieldRequest instance + */ + public IWorkbookFunctionsYieldRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsYieldRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsYieldRequest instance + */ + public IWorkbookFunctionsYieldRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsYieldRequest request = new WorkbookFunctionsYieldRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("settlement")) { + request.body.settlement = getParameter("settlement"); + } + + if (hasParameter("maturity")) { + request.body.maturity = getParameter("maturity"); + } + + if (hasParameter("rate")) { + request.body.rate = getParameter("rate"); + } + + if (hasParameter("pr")) { + request.body.pr = getParameter("pr"); + } + + if (hasParameter("redemption")) { + request.body.redemption = getParameter("redemption"); + } + + if (hasParameter("frequency")) { + request.body.frequency = getParameter("frequency"); + } + + if (hasParameter("basis")) { + request.body.basis = getParameter("basis"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequest.java index bb329e413ec..5ad07e71021 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookFunctionsZ_TestBody; +import com.microsoft.graph.models.extensions.WorkbookFunctionResult; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsZ_TestRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsZ_TestRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Z_Test Request. */ -public class WorkbookFunctionsZ_TestRequest extends BaseWorkbookFunctionsZ_TestRequest implements IWorkbookFunctionsZ_TestRequest { +public class WorkbookFunctionsZ_TestRequest extends BaseRequest implements IWorkbookFunctionsZ_TestRequest { + protected final WorkbookFunctionsZ_TestBody body; /** * The request for this WorkbookFunctionsZ_Test @@ -23,6 +32,49 @@ public class WorkbookFunctionsZ_TestRequest extends BaseWorkbookFunctionsZ_TestR * @param requestOptions the options for this request */ public WorkbookFunctionsZ_TestRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); + body = new WorkbookFunctionsZ_TestBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookFunctionResult post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookFunctionsZ_TestRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookFunctionsZ_TestRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookFunctionsZ_TestRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookFunctionsZ_TestRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookFunctionsZ_TestRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookFunctionsZ_TestRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequestBuilder.java index c0a28edfcfb..e2e3dc66cb9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsZ_TestRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsZ_TestRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookFunctionsZ_TestRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Functions Z_Test Request Builder. */ -public class WorkbookFunctionsZ_TestRequestBuilder extends BaseWorkbookFunctionsZ_TestRequestBuilder implements IWorkbookFunctionsZ_TestRequestBuilder { +public class WorkbookFunctionsZ_TestRequestBuilder extends BaseActionRequestBuilder implements IWorkbookFunctionsZ_TestRequestBuilder { /** * The request builder for this WorkbookFunctionsZ_Test @@ -26,6 +31,46 @@ public class WorkbookFunctionsZ_TestRequestBuilder extends BaseWorkbookFunctions * @param sigma the sigma */ public WorkbookFunctionsZ_TestRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement sigma) { - super(requestUrl, client, requestOptions, array, x, sigma); + super(requestUrl, client, requestOptions); + bodyParams.put("array", array); + bodyParams.put("x", x); + bodyParams.put("sigma", sigma); + } + + /** + * Creates the IWorkbookFunctionsZ_TestRequest + * + * @return the IWorkbookFunctionsZ_TestRequest instance + */ + public IWorkbookFunctionsZ_TestRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookFunctionsZ_TestRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookFunctionsZ_TestRequest instance + */ + public IWorkbookFunctionsZ_TestRequest buildRequest(final java.util.List requestOptions) { + WorkbookFunctionsZ_TestRequest request = new WorkbookFunctionsZ_TestRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("array")) { + request.body.array = getParameter("array"); + } + + if (hasParameter("x")) { + request.body.x = getParameter("x"); + } + + if (hasParameter("sigma")) { + request.body.sigma = getParameter("sigma"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequest.java index 2f437315707..44dd4ae06e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItemAddFormulaLocalBody; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddFormulaLocalRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemAddFormulaLocalRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Add Formula Local Request. */ -public class WorkbookNamedItemAddFormulaLocalRequest extends BaseWorkbookNamedItemAddFormulaLocalRequest implements IWorkbookNamedItemAddFormulaLocalRequest { +public class WorkbookNamedItemAddFormulaLocalRequest extends BaseRequest implements IWorkbookNamedItemAddFormulaLocalRequest { + protected final WorkbookNamedItemAddFormulaLocalBody body; /** * The request for this WorkbookNamedItemAddFormulaLocal @@ -23,6 +32,49 @@ public class WorkbookNamedItemAddFormulaLocalRequest extends BaseWorkbookNamedIt * @param requestOptions the options for this request */ public WorkbookNamedItemAddFormulaLocalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookNamedItem.class); + body = new WorkbookNamedItemAddFormulaLocalBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookNamedItem post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookNamedItemAddFormulaLocalRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookNamedItemAddFormulaLocalRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookNamedItemAddFormulaLocalRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookNamedItemAddFormulaLocalRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookNamedItemAddFormulaLocalRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookNamedItemAddFormulaLocalRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequestBuilder.java index 958a1a4ebaf..c69c4066c4d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddFormulaLocalRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddFormulaLocalRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemAddFormulaLocalRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Add Formula Local Request Builder. */ -public class WorkbookNamedItemAddFormulaLocalRequestBuilder extends BaseWorkbookNamedItemAddFormulaLocalRequestBuilder implements IWorkbookNamedItemAddFormulaLocalRequestBuilder { +public class WorkbookNamedItemAddFormulaLocalRequestBuilder extends BaseActionRequestBuilder implements IWorkbookNamedItemAddFormulaLocalRequestBuilder { /** * The request builder for this WorkbookNamedItemAddFormulaLocal @@ -26,6 +31,46 @@ public class WorkbookNamedItemAddFormulaLocalRequestBuilder extends BaseWorkbook * @param comment the comment */ public WorkbookNamedItemAddFormulaLocalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name, final String formula, final String comment) { - super(requestUrl, client, requestOptions, name, formula, comment); + super(requestUrl, client, requestOptions); + bodyParams.put("name", name); + bodyParams.put("formula", formula); + bodyParams.put("comment", comment); + } + + /** + * Creates the IWorkbookNamedItemAddFormulaLocalRequest + * + * @return the IWorkbookNamedItemAddFormulaLocalRequest instance + */ + public IWorkbookNamedItemAddFormulaLocalRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookNamedItemAddFormulaLocalRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookNamedItemAddFormulaLocalRequest instance + */ + public IWorkbookNamedItemAddFormulaLocalRequest buildRequest(final java.util.List requestOptions) { + WorkbookNamedItemAddFormulaLocalRequest request = new WorkbookNamedItemAddFormulaLocalRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("name")) { + request.body.name = getParameter("name"); + } + + if (hasParameter("formula")) { + request.body.formula = getParameter("formula"); + } + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequest.java index d977cd2b871..d61b7365380 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItemAddBody; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemAddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Add Request. */ -public class WorkbookNamedItemAddRequest extends BaseWorkbookNamedItemAddRequest implements IWorkbookNamedItemAddRequest { +public class WorkbookNamedItemAddRequest extends BaseRequest implements IWorkbookNamedItemAddRequest { + protected final WorkbookNamedItemAddBody body; /** * The request for this WorkbookNamedItemAdd @@ -23,6 +32,49 @@ public class WorkbookNamedItemAddRequest extends BaseWorkbookNamedItemAddRequest * @param requestOptions the options for this request */ public WorkbookNamedItemAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookNamedItem.class); + body = new WorkbookNamedItemAddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookNamedItem post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookNamedItemAddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookNamedItemAddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookNamedItemAddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookNamedItemAddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookNamedItemAddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookNamedItemAddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequestBuilder.java index a25360e69a8..be45d05ec30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemAddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemAddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Add Request Builder. */ -public class WorkbookNamedItemAddRequestBuilder extends BaseWorkbookNamedItemAddRequestBuilder implements IWorkbookNamedItemAddRequestBuilder { +public class WorkbookNamedItemAddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookNamedItemAddRequestBuilder { /** * The request builder for this WorkbookNamedItemAdd @@ -26,6 +31,46 @@ public class WorkbookNamedItemAddRequestBuilder extends BaseWorkbookNamedItemAdd * @param comment the comment */ public WorkbookNamedItemAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name, final com.google.gson.JsonElement reference, final String comment) { - super(requestUrl, client, requestOptions, name, reference, comment); + super(requestUrl, client, requestOptions); + bodyParams.put("name", name); + bodyParams.put("reference", reference); + bodyParams.put("comment", comment); + } + + /** + * Creates the IWorkbookNamedItemAddRequest + * + * @return the IWorkbookNamedItemAddRequest instance + */ + public IWorkbookNamedItemAddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookNamedItemAddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookNamedItemAddRequest instance + */ + public IWorkbookNamedItemAddRequest buildRequest(final java.util.List requestOptions) { + WorkbookNamedItemAddRequest request = new WorkbookNamedItemAddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("name")) { + request.body.name = getParameter("name"); + } + + if (hasParameter("reference")) { + request.body.reference = getParameter("reference"); + } + + if (hasParameter("comment")) { + request.body.comment = getParameter("comment"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionPage.java index 4e07112fe6c..f426b6d7abd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Collection Page. */ -public class WorkbookNamedItemCollectionPage extends BaseWorkbookNamedItemCollectionPage implements IWorkbookNamedItemCollectionPage { +public class WorkbookNamedItemCollectionPage extends BaseCollectionPage implements IWorkbookNamedItemCollectionPage { /** - * A collection page for WorkbookWorksheet. + * A collection page for WorkbookNamedItem * - * @param response the serialized BaseWorkbookNamedItemCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookNamedItemCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookNamedItemCollectionPage(final BaseWorkbookNamedItemCollectionResponse response, final IWorkbookNamedItemCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookNamedItemCollectionPage(final WorkbookNamedItemCollectionResponse response, final IWorkbookNamedItemCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequest.java index d21e8091b39..2543701bf9a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Collection Request. */ -public class WorkbookNamedItemCollectionRequest extends BaseWorkbookNamedItemCollectionRequest implements IWorkbookNamedItemCollectionRequest { +public class WorkbookNamedItemCollectionRequest extends BaseCollectionRequest implements IWorkbookNamedItemCollectionRequest { /** - * The request for this collection of WorkbookWorksheet + * The request builder for this collection of WorkbookNamedItem * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookNamedItemCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookNamedItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookNamedItemCollectionResponse.class, IWorkbookNamedItemCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookNamedItemCollectionPage get() throws ClientException { + final WorkbookNamedItemCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookNamedItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookNamedItem, callback); + } + + public WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookNamedItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookNamedItem); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookNamedItemCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookNamedItemCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookNamedItemCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookNamedItemCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookNamedItemCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookNamedItemCollectionRequest)this; + } + + public IWorkbookNamedItemCollectionPage buildFromResponse(final WorkbookNamedItemCollectionResponse response) { + final IWorkbookNamedItemCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookNamedItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookNamedItemCollectionPage page = new WorkbookNamedItemCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequestBuilder.java index c9699b7571d..9c9b1136218 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Collection Request Builder. */ -public class WorkbookNamedItemCollectionRequestBuilder extends BaseWorkbookNamedItemCollectionRequestBuilder implements IWorkbookNamedItemCollectionRequestBuilder { +public class WorkbookNamedItemCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookNamedItemCollectionRequestBuilder { /** * The request builder for this collection of WorkbookWorksheet @@ -25,4 +33,26 @@ public class WorkbookNamedItemCollectionRequestBuilder extends BaseWorkbookNamed public WorkbookNamedItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookNamedItemCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookNamedItemCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookNamedItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookNamedItemRequestBuilder byId(final String id) { + return new WorkbookNamedItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookNamedItemAddRequestBuilder add(final String name, final com.google.gson.JsonElement reference, final String comment) { + return new WorkbookNamedItemAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, name, reference, comment); + } + + public IWorkbookNamedItemAddFormulaLocalRequestBuilder addFormulaLocal(final String name, final String formula, final String comment) { + return new WorkbookNamedItemAddFormulaLocalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addFormulaLocal"), getClient(), null, name, formula, comment); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionResponse.java new file mode 100644 index 00000000000..a2f4ce808d8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Named Item Collection Response. + */ +public class WorkbookNamedItemCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookNamedItem within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequest.java index 5c2e00869f0..5273460fe7e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Range Request. */ -public class WorkbookNamedItemRangeRequest extends BaseWorkbookNamedItemRangeRequest implements IWorkbookNamedItemRangeRequest { +public class WorkbookNamedItemRangeRequest extends BaseRequest implements IWorkbookNamedItemRangeRequest { /** * The request for this WorkbookNamedItemRange @@ -23,6 +31,88 @@ public class WorkbookNamedItemRangeRequest extends BaseWorkbookNamedItemRangeReq * @param requestOptions the options for this request */ public WorkbookNamedItemRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookNamedItemRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookNamedItemRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookNamedItemRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookNamedItemRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookNamedItemRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookNamedItemRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequestBuilder.java index dc523f5662b..2dffbbb09ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Range Request Builder. */ -public class WorkbookNamedItemRangeRequestBuilder extends BaseWorkbookNamedItemRangeRequestBuilder implements IWorkbookNamedItemRangeRequestBuilder { +public class WorkbookNamedItemRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookNamedItemRangeRequestBuilder { /** * The request builder for this WorkbookNamedItemRange @@ -25,4 +30,33 @@ public class WorkbookNamedItemRangeRequestBuilder extends BaseWorkbookNamedItemR public WorkbookNamedItemRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookNamedItemRangeRequest + * + * @return the IWorkbookNamedItemRangeRequest instance + */ + public IWorkbookNamedItemRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookNamedItemRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookNamedItemRangeRequest instance + */ + public IWorkbookNamedItemRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookNamedItemRangeRequest request = new WorkbookNamedItemRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequest.java index 037b95f927c..8ea3bf8b9c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequest; +import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Request. */ -public class WorkbookNamedItemRequest extends BaseWorkbookNamedItemRequest implements IWorkbookNamedItemRequest { - +public class WorkbookNamedItemRequest extends BaseRequest implements IWorkbookNamedItemRequest { + /** * The request for the WorkbookNamedItem * @@ -26,4 +32,107 @@ public class WorkbookNamedItemRequest extends BaseWorkbookNamedItemRequest imple public WorkbookNamedItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookNamedItem.class); } + + /** + * Gets the WorkbookNamedItem from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookNamedItem from the service + * + * @return the WorkbookNamedItem from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookNamedItem get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookNamedItem with a source + * + * @param sourceWorkbookNamedItem the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookNamedItem sourceWorkbookNamedItem, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookNamedItem); + } + + /** + * Patches this WorkbookNamedItem with a source + * + * @param sourceWorkbookNamedItem the source object with updates + * @return the updated WorkbookNamedItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookNamedItem patch(final WorkbookNamedItem sourceWorkbookNamedItem) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookNamedItem); + } + + /** + * Creates a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookNamedItem); + } + + /** + * Creates a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the new object to create + * @return the created WorkbookNamedItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException { + return send(HttpMethod.POST, newWorkbookNamedItem); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookNamedItemRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookNamedItemRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookNamedItemRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookNamedItemRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequestBuilder.java index 66c687dc352..19112afbc61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequest; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequest; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRangeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookNamedItemRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Named Item Request Builder. */ -public class WorkbookNamedItemRequestBuilder extends BaseWorkbookNamedItemRequestBuilder implements IWorkbookNamedItemRequestBuilder { +public class WorkbookNamedItemRequestBuilder extends BaseRequestBuilder implements IWorkbookNamedItemRequestBuilder { /** * The request builder for the WorkbookNamedItem @@ -25,4 +32,39 @@ public class WorkbookNamedItemRequestBuilder extends BaseWorkbookNamedItemReques public WorkbookNamedItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookNamedItemRequest instance + */ + public IWorkbookNamedItemRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookNamedItemRequest instance + */ + public IWorkbookNamedItemRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookNamedItemRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + public IWorkbookWorksheetRequestBuilder worksheet() { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); + } + + public IWorkbookNamedItemRangeRequestBuilder range() { + return new WorkbookNamedItemRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionPage.java index ce7591db218..81c48e74a9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookPivotTable; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Collection Page. */ -public class WorkbookPivotTableCollectionPage extends BaseWorkbookPivotTableCollectionPage implements IWorkbookPivotTableCollectionPage { +public class WorkbookPivotTableCollectionPage extends BaseCollectionPage implements IWorkbookPivotTableCollectionPage { /** - * A collection page for WorkbookWorksheet. + * A collection page for WorkbookPivotTable * - * @param response the serialized BaseWorkbookPivotTableCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookPivotTableCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookPivotTableCollectionPage(final BaseWorkbookPivotTableCollectionResponse response, final IWorkbookPivotTableCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookPivotTableCollectionPage(final WorkbookPivotTableCollectionResponse response, final IWorkbookPivotTableCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequest.java index b5b0bd9fd16..90c48471d57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Collection Request. */ -public class WorkbookPivotTableCollectionRequest extends BaseWorkbookPivotTableCollectionRequest implements IWorkbookPivotTableCollectionRequest { +public class WorkbookPivotTableCollectionRequest extends BaseCollectionRequest implements IWorkbookPivotTableCollectionRequest { /** - * The request for this collection of WorkbookWorksheet + * The request builder for this collection of WorkbookPivotTable * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookPivotTableCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookPivotTableCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookPivotTableCollectionResponse.class, IWorkbookPivotTableCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookPivotTableCollectionPage get() throws ClientException { + final WorkbookPivotTableCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookPivotTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookPivotTable, callback); + } + + public WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookPivotTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookPivotTable); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookPivotTableCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookPivotTableCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookPivotTableCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookPivotTableCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookPivotTableCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookPivotTableCollectionRequest)this; + } + + public IWorkbookPivotTableCollectionPage buildFromResponse(final WorkbookPivotTableCollectionResponse response) { + final IWorkbookPivotTableCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookPivotTableCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookPivotTableCollectionPage page = new WorkbookPivotTableCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequestBuilder.java index cc3e90e6d6c..d6153dfdaa1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Collection Request Builder. */ -public class WorkbookPivotTableCollectionRequestBuilder extends BaseWorkbookPivotTableCollectionRequestBuilder implements IWorkbookPivotTableCollectionRequestBuilder { +public class WorkbookPivotTableCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookPivotTableCollectionRequestBuilder { /** * The request builder for this collection of WorkbookWorksheet @@ -25,4 +33,22 @@ public class WorkbookPivotTableCollectionRequestBuilder extends BaseWorkbookPivo public WorkbookPivotTableCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookPivotTableCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookPivotTableCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookPivotTableCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookPivotTableRequestBuilder byId(final String id) { + return new WorkbookPivotTableRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookPivotTableRefreshAllRequestBuilder refreshAll() { + return new WorkbookPivotTableRefreshAllRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.refreshAll"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionResponse.java new file mode 100644 index 00000000000..0141221fda9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookPivotTable; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Pivot Table Collection Response. + */ +public class WorkbookPivotTableCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookPivotTable within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequest.java index 5b64a1a0b31..449eea14352 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshAllRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableRefreshAllRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Refresh All Request. */ -public class WorkbookPivotTableRefreshAllRequest extends BaseWorkbookPivotTableRefreshAllRequest implements IWorkbookPivotTableRefreshAllRequest { +public class WorkbookPivotTableRefreshAllRequest extends BaseRequest implements IWorkbookPivotTableRefreshAllRequest { /** * The request for this WorkbookPivotTableRefreshAll @@ -23,6 +30,35 @@ public class WorkbookPivotTableRefreshAllRequest extends BaseWorkbookPivotTableR * @param requestOptions the options for this request */ public WorkbookPivotTableRefreshAllRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookPivotTableRefreshAll + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookPivotTableRefreshAll + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequestBuilder.java index 13578753627..0c3beb4c7d7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshAllRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshAllRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableRefreshAllRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Refresh All Request Builder. */ -public class WorkbookPivotTableRefreshAllRequestBuilder extends BaseWorkbookPivotTableRefreshAllRequestBuilder implements IWorkbookPivotTableRefreshAllRequestBuilder { +public class WorkbookPivotTableRefreshAllRequestBuilder extends BaseActionRequestBuilder implements IWorkbookPivotTableRefreshAllRequestBuilder { /** * The request builder for this WorkbookPivotTableRefreshAll @@ -25,4 +30,29 @@ public class WorkbookPivotTableRefreshAllRequestBuilder extends BaseWorkbookPivo public WorkbookPivotTableRefreshAllRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookPivotTableRefreshAllRequest + * + * @return the IWorkbookPivotTableRefreshAllRequest instance + */ + public IWorkbookPivotTableRefreshAllRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookPivotTableRefreshAllRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookPivotTableRefreshAllRequest instance + */ + public IWorkbookPivotTableRefreshAllRequest buildRequest(final java.util.List requestOptions) { + WorkbookPivotTableRefreshAllRequest request = new WorkbookPivotTableRefreshAllRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequest.java index 5eca0947295..7743bd9b147 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableRefreshRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Refresh Request. */ -public class WorkbookPivotTableRefreshRequest extends BaseWorkbookPivotTableRefreshRequest implements IWorkbookPivotTableRefreshRequest { +public class WorkbookPivotTableRefreshRequest extends BaseRequest implements IWorkbookPivotTableRefreshRequest { /** * The request for this WorkbookPivotTableRefresh @@ -23,6 +30,35 @@ public class WorkbookPivotTableRefreshRequest extends BaseWorkbookPivotTableRefr * @param requestOptions the options for this request */ public WorkbookPivotTableRefreshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookPivotTableRefresh + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookPivotTableRefresh + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequestBuilder.java index b93c8cc8f59..d72f0242e5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRefreshRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableRefreshRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Refresh Request Builder. */ -public class WorkbookPivotTableRefreshRequestBuilder extends BaseWorkbookPivotTableRefreshRequestBuilder implements IWorkbookPivotTableRefreshRequestBuilder { +public class WorkbookPivotTableRefreshRequestBuilder extends BaseActionRequestBuilder implements IWorkbookPivotTableRefreshRequestBuilder { /** * The request builder for this WorkbookPivotTableRefresh @@ -25,4 +30,29 @@ public class WorkbookPivotTableRefreshRequestBuilder extends BaseWorkbookPivotTa public WorkbookPivotTableRefreshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookPivotTableRefreshRequest + * + * @return the IWorkbookPivotTableRefreshRequest instance + */ + public IWorkbookPivotTableRefreshRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookPivotTableRefreshRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookPivotTableRefreshRequest instance + */ + public IWorkbookPivotTableRefreshRequest buildRequest(final java.util.List requestOptions) { + WorkbookPivotTableRefreshRequest request = new WorkbookPivotTableRefreshRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequest.java index a2dbfc8a39a..1a50c8181f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequest; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRequest; +import com.microsoft.graph.models.extensions.WorkbookPivotTable; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookPivotTable; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Request. */ -public class WorkbookPivotTableRequest extends BaseWorkbookPivotTableRequest implements IWorkbookPivotTableRequest { - +public class WorkbookPivotTableRequest extends BaseRequest implements IWorkbookPivotTableRequest { + /** * The request for the WorkbookPivotTable * @@ -26,4 +32,107 @@ public class WorkbookPivotTableRequest extends BaseWorkbookPivotTableRequest imp public WorkbookPivotTableRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookPivotTable.class); } + + /** + * Gets the WorkbookPivotTable from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookPivotTable from the service + * + * @return the WorkbookPivotTable from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookPivotTable get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookPivotTable with a source + * + * @param sourceWorkbookPivotTable the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookPivotTable sourceWorkbookPivotTable, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookPivotTable); + } + + /** + * Patches this WorkbookPivotTable with a source + * + * @param sourceWorkbookPivotTable the source object with updates + * @return the updated WorkbookPivotTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookPivotTable patch(final WorkbookPivotTable sourceWorkbookPivotTable) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookPivotTable); + } + + /** + * Creates a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookPivotTable); + } + + /** + * Creates a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the new object to create + * @return the created WorkbookPivotTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException { + return send(HttpMethod.POST, newWorkbookPivotTable); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookPivotTableRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookPivotTableRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookPivotTableRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookPivotTableRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequestBuilder.java index ca1f90e8a48..0b411f3b6bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequestBuilder.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequest; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRequest; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookPivotTableRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Pivot Table Request Builder. */ -public class WorkbookPivotTableRequestBuilder extends BaseWorkbookPivotTableRequestBuilder implements IWorkbookPivotTableRequestBuilder { +public class WorkbookPivotTableRequestBuilder extends BaseRequestBuilder implements IWorkbookPivotTableRequestBuilder { /** * The request builder for the WorkbookPivotTable @@ -25,4 +32,39 @@ public class WorkbookPivotTableRequestBuilder extends BaseWorkbookPivotTableRequ public WorkbookPivotTableRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookPivotTableRequest instance + */ + public IWorkbookPivotTableRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookPivotTableRequest instance + */ + public IWorkbookPivotTableRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookPivotTableRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + public IWorkbookWorksheetRequestBuilder worksheet() { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); + } + + public IWorkbookPivotTableRefreshRequestBuilder refresh() { + return new WorkbookPivotTableRefreshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.refresh"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequest.java index 86ee5406b18..db268de8da7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookProcessQueryBody; +import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; +import com.microsoft.graph.requests.extensions.WorkbookProcessQueryRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookProcessQueryRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Process Query Request. */ -public class WorkbookProcessQueryRequest extends BaseWorkbookProcessQueryRequest implements IWorkbookProcessQueryRequest { +public class WorkbookProcessQueryRequest extends BaseRequest implements IWorkbookProcessQueryRequest { + protected final WorkbookProcessQueryBody body; /** * The request for this WorkbookProcessQuery @@ -23,6 +31,49 @@ public class WorkbookProcessQueryRequest extends BaseWorkbookProcessQueryRequest * @param requestOptions the options for this request */ public WorkbookProcessQueryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, java.io.InputStream.class); + body = new WorkbookProcessQueryBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookProcessQueryRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookProcessQueryRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookProcessQueryRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookProcessQueryRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookProcessQueryRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookProcessQueryRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequestBuilder.java index 8649c7ea78d..5aef27c95ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookProcessQueryRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; +import com.microsoft.graph.requests.extensions.WorkbookProcessQueryRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookProcessQueryRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Process Query Request Builder. */ -public class WorkbookProcessQueryRequestBuilder extends BaseWorkbookProcessQueryRequestBuilder implements IWorkbookProcessQueryRequestBuilder { +public class WorkbookProcessQueryRequestBuilder extends BaseActionRequestBuilder implements IWorkbookProcessQueryRequestBuilder { /** * The request builder for this WorkbookProcessQuery @@ -24,6 +29,36 @@ public class WorkbookProcessQueryRequestBuilder extends BaseWorkbookProcessQuery * @param input the input */ public WorkbookProcessQueryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final byte[] input) { - super(requestUrl, client, requestOptions, input); + super(requestUrl, client, requestOptions); + bodyParams.put("input", input); + } + + /** + * Creates the IWorkbookProcessQueryRequest + * + * @return the IWorkbookProcessQueryRequest instance + */ + public IWorkbookProcessQueryRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookProcessQueryRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookProcessQueryRequest instance + */ + public IWorkbookProcessQueryRequest buildRequest(final java.util.List requestOptions) { + WorkbookProcessQueryRequest request = new WorkbookProcessQueryRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("input")) { + request.body.input = getParameter("input"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionPage.java index b436f9c8edd..087d3ab5771 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Collection Page. */ -public class WorkbookRangeBorderCollectionPage extends BaseWorkbookRangeBorderCollectionPage implements IWorkbookRangeBorderCollectionPage { +public class WorkbookRangeBorderCollectionPage extends BaseCollectionPage implements IWorkbookRangeBorderCollectionPage { /** - * A collection page for WorkbookRangeFormat. + * A collection page for WorkbookRangeBorder * - * @param response the serialized BaseWorkbookRangeBorderCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookRangeBorderCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookRangeBorderCollectionPage(final BaseWorkbookRangeBorderCollectionResponse response, final IWorkbookRangeBorderCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookRangeBorderCollectionPage(final WorkbookRangeBorderCollectionResponse response, final IWorkbookRangeBorderCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequest.java index ded6a134346..95296620e8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Collection Request. */ -public class WorkbookRangeBorderCollectionRequest extends BaseWorkbookRangeBorderCollectionRequest implements IWorkbookRangeBorderCollectionRequest { +public class WorkbookRangeBorderCollectionRequest extends BaseCollectionRequest implements IWorkbookRangeBorderCollectionRequest { /** - * The request for this collection of WorkbookRangeFormat + * The request builder for this collection of WorkbookRangeBorder * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookRangeBorderCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookRangeBorderCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookRangeBorderCollectionResponse.class, IWorkbookRangeBorderCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookRangeBorderCollectionPage get() throws ClientException { + final WorkbookRangeBorderCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookRangeBorderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookRangeBorder, callback); + } + + public WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookRangeBorderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookRangeBorder); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeBorderCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookRangeBorderCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeBorderCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookRangeBorderCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeBorderCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookRangeBorderCollectionRequest)this; + } + + public IWorkbookRangeBorderCollectionPage buildFromResponse(final WorkbookRangeBorderCollectionResponse response) { + final IWorkbookRangeBorderCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookRangeBorderCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookRangeBorderCollectionPage page = new WorkbookRangeBorderCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequestBuilder.java index c2c6137480f..a7db98f9f8d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Collection Request Builder. */ -public class WorkbookRangeBorderCollectionRequestBuilder extends BaseWorkbookRangeBorderCollectionRequestBuilder implements IWorkbookRangeBorderCollectionRequestBuilder { +public class WorkbookRangeBorderCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeBorderCollectionRequestBuilder { /** * The request builder for this collection of WorkbookRangeFormat @@ -25,4 +33,26 @@ public class WorkbookRangeBorderCollectionRequestBuilder extends BaseWorkbookRan public WorkbookRangeBorderCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookRangeBorderCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookRangeBorderCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeBorderCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookRangeBorderRequestBuilder byId(final String id) { + return new WorkbookRangeBorderRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookRangeBorderItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookRangeBorderItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookRangeBorderCountRequestBuilder count() { + return new WorkbookRangeBorderCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionResponse.java new file mode 100644 index 00000000000..b0d1bbaf7dc --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Range Border Collection Response. + */ +public class WorkbookRangeBorderCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookRangeBorder within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequest.java index 03672d20783..fe4edbdc23c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Count Request. */ -public class WorkbookRangeBorderCountRequest extends BaseWorkbookRangeBorderCountRequest implements IWorkbookRangeBorderCountRequest { +public class WorkbookRangeBorderCountRequest extends BaseRequest implements IWorkbookRangeBorderCountRequest { /** * The request for this WorkbookRangeBorderCount @@ -23,6 +30,48 @@ public class WorkbookRangeBorderCountRequest extends BaseWorkbookRangeBorderCoun * @param requestOptions the options for this request */ public WorkbookRangeBorderCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeBorderCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeBorderCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeBorderCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeBorderCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequestBuilder.java index 4fe016345d6..e8d4699e831 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Count Request Builder. */ -public class WorkbookRangeBorderCountRequestBuilder extends BaseWorkbookRangeBorderCountRequestBuilder implements IWorkbookRangeBorderCountRequestBuilder { +public class WorkbookRangeBorderCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeBorderCountRequestBuilder { /** * The request builder for this WorkbookRangeBorderCount @@ -25,4 +30,33 @@ public class WorkbookRangeBorderCountRequestBuilder extends BaseWorkbookRangeBor public WorkbookRangeBorderCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeBorderCountRequest + * + * @return the IWorkbookRangeBorderCountRequest instance + */ + public IWorkbookRangeBorderCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeBorderCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeBorderCountRequest instance + */ + public IWorkbookRangeBorderCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeBorderCountRequest request = new WorkbookRangeBorderCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequest.java index 1459c7c429a..4b51c9758dd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Item At Request. */ -public class WorkbookRangeBorderItemAtRequest extends BaseWorkbookRangeBorderItemAtRequest implements IWorkbookRangeBorderItemAtRequest { +public class WorkbookRangeBorderItemAtRequest extends BaseRequest implements IWorkbookRangeBorderItemAtRequest { /** * The request for this WorkbookRangeBorderItemAt @@ -23,6 +31,88 @@ public class WorkbookRangeBorderItemAtRequest extends BaseWorkbookRangeBorderIte * @param requestOptions the options for this request */ public WorkbookRangeBorderItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRangeBorder.class); } + + /** + * Patches the WorkbookRangeBorderItemAt + * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRangeBorder); + } + + /** + * Patches the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH + * @return the WorkbookRangeBorder + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeBorder patch(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRangeBorder); + } + + /** + * Puts the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRangeBorder); + } + + /** + * Puts the WorkbookRangeBorderItemAt + * + * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT + * @return the WorkbookRangeBorder + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeBorder put(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRangeBorder); + } + /** + * Gets the WorkbookRangeBorder + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeBorder + * + * @return the WorkbookRangeBorder + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeBorder get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeBorderItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeBorderItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeBorderItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeBorderItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequestBuilder.java index 17f09109c07..25341e1c317 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Item At Request Builder. */ -public class WorkbookRangeBorderItemAtRequestBuilder extends BaseWorkbookRangeBorderItemAtRequestBuilder implements IWorkbookRangeBorderItemAtRequestBuilder { +public class WorkbookRangeBorderItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeBorderItemAtRequestBuilder { /** * The request builder for this WorkbookRangeBorderItemAt @@ -24,6 +29,36 @@ public class WorkbookRangeBorderItemAtRequestBuilder extends BaseWorkbookRangeBo * @param index the index */ public WorkbookRangeBorderItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookRangeBorderItemAtRequest + * + * @return the IWorkbookRangeBorderItemAtRequest instance + */ + public IWorkbookRangeBorderItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeBorderItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeBorderItemAtRequest instance + */ + public IWorkbookRangeBorderItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeBorderItemAtRequest request = new WorkbookRangeBorderItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequest.java index e56ec70e87d..c0a98a3627e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderRequest; +import com.microsoft.graph.models.extensions.WorkbookRangeBorder; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Request. */ -public class WorkbookRangeBorderRequest extends BaseWorkbookRangeBorderRequest implements IWorkbookRangeBorderRequest { - +public class WorkbookRangeBorderRequest extends BaseRequest implements IWorkbookRangeBorderRequest { + /** * The request for the WorkbookRangeBorder * @@ -26,4 +32,107 @@ public class WorkbookRangeBorderRequest extends BaseWorkbookRangeBorderRequest i public WorkbookRangeBorderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRangeBorder.class); } + + /** + * Gets the WorkbookRangeBorder from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeBorder from the service + * + * @return the WorkbookRangeBorder from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeBorder get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRangeBorder with a source + * + * @param sourceWorkbookRangeBorder the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRangeBorder sourceWorkbookRangeBorder, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRangeBorder); + } + + /** + * Patches this WorkbookRangeBorder with a source + * + * @param sourceWorkbookRangeBorder the source object with updates + * @return the updated WorkbookRangeBorder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeBorder patch(final WorkbookRangeBorder sourceWorkbookRangeBorder) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRangeBorder); + } + + /** + * Creates a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRangeBorder); + } + + /** + * Creates a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the new object to create + * @return the created WorkbookRangeBorder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException { + return send(HttpMethod.POST, newWorkbookRangeBorder); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeBorderRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeBorderRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeBorderRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeBorderRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequestBuilder.java index 2f96186b891..e93ad1dcf33 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBorderRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Border Request Builder. */ -public class WorkbookRangeBorderRequestBuilder extends BaseWorkbookRangeBorderRequestBuilder implements IWorkbookRangeBorderRequestBuilder { +public class WorkbookRangeBorderRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeBorderRequestBuilder { /** * The request builder for the WorkbookRangeBorder @@ -25,4 +28,26 @@ public class WorkbookRangeBorderRequestBuilder extends BaseWorkbookRangeBorderRe public WorkbookRangeBorderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeBorderRequest instance + */ + public IWorkbookRangeBorderRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeBorderRequest instance + */ + public IWorkbookRangeBorderRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeBorderRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequest.java index a553c2d8879..e8500f98397 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBoundingRectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBoundingRectRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Bounding Rect Request. */ -public class WorkbookRangeBoundingRectRequest extends BaseWorkbookRangeBoundingRectRequest implements IWorkbookRangeBoundingRectRequest { +public class WorkbookRangeBoundingRectRequest extends BaseRequest implements IWorkbookRangeBoundingRectRequest { /** * The request for this WorkbookRangeBoundingRect @@ -23,6 +31,88 @@ public class WorkbookRangeBoundingRectRequest extends BaseWorkbookRangeBoundingR * @param requestOptions the options for this request */ public WorkbookRangeBoundingRectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeBoundingRect + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeBoundingRect + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeBoundingRectRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeBoundingRectRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeBoundingRectRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeBoundingRectRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequestBuilder.java index 0c59ad49832..720b363af15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBoundingRectRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeBoundingRectRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeBoundingRectRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Bounding Rect Request Builder. */ -public class WorkbookRangeBoundingRectRequestBuilder extends BaseWorkbookRangeBoundingRectRequestBuilder implements IWorkbookRangeBoundingRectRequestBuilder { +public class WorkbookRangeBoundingRectRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeBoundingRectRequestBuilder { /** * The request builder for this WorkbookRangeBoundingRect @@ -24,6 +29,36 @@ public class WorkbookRangeBoundingRectRequestBuilder extends BaseWorkbookRangeBo * @param anotherRange the anotherRange */ public WorkbookRangeBoundingRectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String anotherRange) { - super(requestUrl, client, requestOptions, anotherRange); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("anotherRange", anotherRange)); + } + + /** + * Creates the IWorkbookRangeBoundingRectRequest + * + * @return the IWorkbookRangeBoundingRectRequest instance + */ + public IWorkbookRangeBoundingRectRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeBoundingRectRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeBoundingRectRequest instance + */ + public IWorkbookRangeBoundingRectRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeBoundingRectRequest request = new WorkbookRangeBoundingRectRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequest.java index 8b6cdf74848..28ee8452130 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeCellRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeCellRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Cell Request. */ -public class WorkbookRangeCellRequest extends BaseWorkbookRangeCellRequest implements IWorkbookRangeCellRequest { +public class WorkbookRangeCellRequest extends BaseRequest implements IWorkbookRangeCellRequest { /** * The request for this WorkbookRangeCell @@ -23,6 +31,88 @@ public class WorkbookRangeCellRequest extends BaseWorkbookRangeCellRequest imple * @param requestOptions the options for this request */ public WorkbookRangeCellRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeCell + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeCellRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeCellRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeCellRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeCellRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequestBuilder.java index d0043db6ed5..af935fafa31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeCellRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeCellRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeCellRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Cell Request Builder. */ -public class WorkbookRangeCellRequestBuilder extends BaseWorkbookRangeCellRequestBuilder implements IWorkbookRangeCellRequestBuilder { +public class WorkbookRangeCellRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeCellRequestBuilder { /** * The request builder for this WorkbookRangeCell @@ -25,6 +30,37 @@ public class WorkbookRangeCellRequestBuilder extends BaseWorkbookRangeCellReques * @param column the column */ public WorkbookRangeCellRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer row, final Integer column) { - super(requestUrl, client, requestOptions, row, column); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("row", row)); + functionOptions.add(new FunctionOption("column", column)); + } + + /** + * Creates the IWorkbookRangeCellRequest + * + * @return the IWorkbookRangeCellRequest instance + */ + public IWorkbookRangeCellRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeCellRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeCellRequest instance + */ + public IWorkbookRangeCellRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeCellRequest request = new WorkbookRangeCellRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequest.java index cf0ab760797..56b010c64bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeClearBody; +import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeClearRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Clear Request. */ -public class WorkbookRangeClearRequest extends BaseWorkbookRangeClearRequest implements IWorkbookRangeClearRequest { +public class WorkbookRangeClearRequest extends BaseRequest implements IWorkbookRangeClearRequest { + protected final WorkbookRangeClearBody body; /** * The request for this WorkbookRangeClear @@ -23,6 +31,49 @@ public class WorkbookRangeClearRequest extends BaseWorkbookRangeClearRequest imp * @param requestOptions the options for this request */ public WorkbookRangeClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookRangeClearBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeClearRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeClearRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeClearRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookRangeClearRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeClearRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeClearRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequestBuilder.java index e4a980b9c2a..40e6116697e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeClearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeClearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeClearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Clear Request Builder. */ -public class WorkbookRangeClearRequestBuilder extends BaseWorkbookRangeClearRequestBuilder implements IWorkbookRangeClearRequestBuilder { +public class WorkbookRangeClearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeClearRequestBuilder { /** * The request builder for this WorkbookRangeClear @@ -24,6 +29,36 @@ public class WorkbookRangeClearRequestBuilder extends BaseWorkbookRangeClearRequ * @param applyTo the applyTo */ public WorkbookRangeClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String applyTo) { - super(requestUrl, client, requestOptions, applyTo); + super(requestUrl, client, requestOptions); + bodyParams.put("applyTo", applyTo); + } + + /** + * Creates the IWorkbookRangeClearRequest + * + * @return the IWorkbookRangeClearRequest instance + */ + public IWorkbookRangeClearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeClearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeClearRequest instance + */ + public IWorkbookRangeClearRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeClearRequest request = new WorkbookRangeClearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("applyTo")) { + request.body.applyTo = getParameter("applyTo"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequest.java index 09b07a386e7..6b420e09286 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeColumnRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Column Request. */ -public class WorkbookRangeColumnRequest extends BaseWorkbookRangeColumnRequest implements IWorkbookRangeColumnRequest { +public class WorkbookRangeColumnRequest extends BaseRequest implements IWorkbookRangeColumnRequest { /** * The request for this WorkbookRangeColumn @@ -23,6 +31,88 @@ public class WorkbookRangeColumnRequest extends BaseWorkbookRangeColumnRequest i * @param requestOptions the options for this request */ public WorkbookRangeColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeColumn + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeColumnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeColumnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeColumnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeColumnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequestBuilder.java index e0bdde5b056..457b100d12a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeColumnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Column Request Builder. */ -public class WorkbookRangeColumnRequestBuilder extends BaseWorkbookRangeColumnRequestBuilder implements IWorkbookRangeColumnRequestBuilder { +public class WorkbookRangeColumnRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeColumnRequestBuilder { /** * The request builder for this WorkbookRangeColumn @@ -24,6 +29,36 @@ public class WorkbookRangeColumnRequestBuilder extends BaseWorkbookRangeColumnRe * @param column the column */ public WorkbookRangeColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer column) { - super(requestUrl, client, requestOptions, column); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("column", column)); + } + + /** + * Creates the IWorkbookRangeColumnRequest + * + * @return the IWorkbookRangeColumnRequest instance + */ + public IWorkbookRangeColumnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeColumnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeColumnRequest instance + */ + public IWorkbookRangeColumnRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeColumnRequest request = new WorkbookRangeColumnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequest.java index 299e2794806..b0133330a1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeColumnsAfterRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Columns After Request. */ -public class WorkbookRangeColumnsAfterRequest extends BaseWorkbookRangeColumnsAfterRequest implements IWorkbookRangeColumnsAfterRequest { +public class WorkbookRangeColumnsAfterRequest extends BaseRequest implements IWorkbookRangeColumnsAfterRequest { /** * The request for this WorkbookRangeColumnsAfter @@ -23,6 +31,88 @@ public class WorkbookRangeColumnsAfterRequest extends BaseWorkbookRangeColumnsAf * @param requestOptions the options for this request */ public WorkbookRangeColumnsAfterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeColumnsAfter + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeColumnsAfter + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeColumnsAfterRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeColumnsAfterRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeColumnsAfterRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeColumnsAfterRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequestBuilder.java index b35a52c765e..8f5af8621e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsAfterRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Columns After Request Builder. */ -public class WorkbookRangeColumnsAfterRequestBuilder extends BaseWorkbookRangeColumnsAfterRequestBuilder implements IWorkbookRangeColumnsAfterRequestBuilder { +public class WorkbookRangeColumnsAfterRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeColumnsAfterRequestBuilder { /** * The request builder for this WorkbookRangeColumnsAfter @@ -25,7 +30,6 @@ public class WorkbookRangeColumnsAfterRequestBuilder extends BaseWorkbookRangeCo public WorkbookRangeColumnsAfterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookRangeColumnsAfter * @@ -35,6 +39,36 @@ public WorkbookRangeColumnsAfterRequestBuilder(final String requestUrl, final IB * @param count the count */ public WorkbookRangeColumnsAfterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions, count); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("count", count)); + } + + /** + * Creates the IWorkbookRangeColumnsAfterRequest + * + * @return the IWorkbookRangeColumnsAfterRequest instance + */ + public IWorkbookRangeColumnsAfterRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeColumnsAfterRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeColumnsAfterRequest instance + */ + public IWorkbookRangeColumnsAfterRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeColumnsAfterRequest request = new WorkbookRangeColumnsAfterRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequest.java index 3bd9432698e..627ab2b06c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeColumnsBeforeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Columns Before Request. */ -public class WorkbookRangeColumnsBeforeRequest extends BaseWorkbookRangeColumnsBeforeRequest implements IWorkbookRangeColumnsBeforeRequest { +public class WorkbookRangeColumnsBeforeRequest extends BaseRequest implements IWorkbookRangeColumnsBeforeRequest { /** * The request for this WorkbookRangeColumnsBefore @@ -23,6 +31,88 @@ public class WorkbookRangeColumnsBeforeRequest extends BaseWorkbookRangeColumnsB * @param requestOptions the options for this request */ public WorkbookRangeColumnsBeforeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeColumnsBefore + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeColumnsBefore + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeColumnsBeforeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeColumnsBeforeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeColumnsBeforeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeColumnsBeforeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequestBuilder.java index d61ffe29c28..5a3ba3ec1e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeColumnsBeforeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Columns Before Request Builder. */ -public class WorkbookRangeColumnsBeforeRequestBuilder extends BaseWorkbookRangeColumnsBeforeRequestBuilder implements IWorkbookRangeColumnsBeforeRequestBuilder { +public class WorkbookRangeColumnsBeforeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeColumnsBeforeRequestBuilder { /** * The request builder for this WorkbookRangeColumnsBefore @@ -25,7 +30,6 @@ public class WorkbookRangeColumnsBeforeRequestBuilder extends BaseWorkbookRangeC public WorkbookRangeColumnsBeforeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookRangeColumnsBefore * @@ -35,6 +39,36 @@ public WorkbookRangeColumnsBeforeRequestBuilder(final String requestUrl, final I * @param count the count */ public WorkbookRangeColumnsBeforeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions, count); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("count", count)); + } + + /** + * Creates the IWorkbookRangeColumnsBeforeRequest + * + * @return the IWorkbookRangeColumnsBeforeRequest instance + */ + public IWorkbookRangeColumnsBeforeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeColumnsBeforeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeColumnsBeforeRequest instance + */ + public IWorkbookRangeColumnsBeforeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeColumnsBeforeRequest request = new WorkbookRangeColumnsBeforeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequest.java index c5ebf5dcf18..3cd7fcb8fba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeDeleteBody; +import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeDeleteRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeDeleteRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Delete Request. */ -public class WorkbookRangeDeleteRequest extends BaseWorkbookRangeDeleteRequest implements IWorkbookRangeDeleteRequest { +public class WorkbookRangeDeleteRequest extends BaseRequest implements IWorkbookRangeDeleteRequest { + protected final WorkbookRangeDeleteBody body; /** * The request for this WorkbookRangeDelete @@ -23,6 +31,49 @@ public class WorkbookRangeDeleteRequest extends BaseWorkbookRangeDeleteRequest i * @param requestOptions the options for this request */ public WorkbookRangeDeleteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookRangeDeleteBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeDeleteRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeDeleteRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeDeleteRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookRangeDeleteRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeDeleteRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeDeleteRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequestBuilder.java index f756fb3ad71..c5a63e21b69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeDeleteRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeDeleteRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeDeleteRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Delete Request Builder. */ -public class WorkbookRangeDeleteRequestBuilder extends BaseWorkbookRangeDeleteRequestBuilder implements IWorkbookRangeDeleteRequestBuilder { +public class WorkbookRangeDeleteRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeDeleteRequestBuilder { /** * The request builder for this WorkbookRangeDelete @@ -24,6 +29,36 @@ public class WorkbookRangeDeleteRequestBuilder extends BaseWorkbookRangeDeleteRe * @param shift the shift */ public WorkbookRangeDeleteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String shift) { - super(requestUrl, client, requestOptions, shift); + super(requestUrl, client, requestOptions); + bodyParams.put("shift", shift); + } + + /** + * Creates the IWorkbookRangeDeleteRequest + * + * @return the IWorkbookRangeDeleteRequest instance + */ + public IWorkbookRangeDeleteRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeDeleteRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeDeleteRequest instance + */ + public IWorkbookRangeDeleteRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeDeleteRequest request = new WorkbookRangeDeleteRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("shift")) { + request.body.shift = getParameter("shift"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequest.java index 2aa4b0e01e5..75e6dfd8d0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeEntireColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeEntireColumnRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Entire Column Request. */ -public class WorkbookRangeEntireColumnRequest extends BaseWorkbookRangeEntireColumnRequest implements IWorkbookRangeEntireColumnRequest { +public class WorkbookRangeEntireColumnRequest extends BaseRequest implements IWorkbookRangeEntireColumnRequest { /** * The request for this WorkbookRangeEntireColumn @@ -23,6 +31,88 @@ public class WorkbookRangeEntireColumnRequest extends BaseWorkbookRangeEntireCol * @param requestOptions the options for this request */ public WorkbookRangeEntireColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeEntireColumn + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeEntireColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeEntireColumnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeEntireColumnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeEntireColumnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeEntireColumnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequestBuilder.java index 3fb0ae1252f..576c0dd33ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireColumnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeEntireColumnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeEntireColumnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Entire Column Request Builder. */ -public class WorkbookRangeEntireColumnRequestBuilder extends BaseWorkbookRangeEntireColumnRequestBuilder implements IWorkbookRangeEntireColumnRequestBuilder { +public class WorkbookRangeEntireColumnRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeEntireColumnRequestBuilder { /** * The request builder for this WorkbookRangeEntireColumn @@ -25,4 +30,33 @@ public class WorkbookRangeEntireColumnRequestBuilder extends BaseWorkbookRangeEn public WorkbookRangeEntireColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeEntireColumnRequest + * + * @return the IWorkbookRangeEntireColumnRequest instance + */ + public IWorkbookRangeEntireColumnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeEntireColumnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeEntireColumnRequest instance + */ + public IWorkbookRangeEntireColumnRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeEntireColumnRequest request = new WorkbookRangeEntireColumnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequest.java index 64cdb2c0553..1e3813e7fae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeEntireRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeEntireRowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Entire Row Request. */ -public class WorkbookRangeEntireRowRequest extends BaseWorkbookRangeEntireRowRequest implements IWorkbookRangeEntireRowRequest { +public class WorkbookRangeEntireRowRequest extends BaseRequest implements IWorkbookRangeEntireRowRequest { /** * The request for this WorkbookRangeEntireRow @@ -23,6 +31,88 @@ public class WorkbookRangeEntireRowRequest extends BaseWorkbookRangeEntireRowReq * @param requestOptions the options for this request */ public WorkbookRangeEntireRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeEntireRow + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeEntireRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeEntireRowRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeEntireRowRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeEntireRowRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeEntireRowRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequestBuilder.java index a36909197d0..17eb28f7c65 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeEntireRowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeEntireRowRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeEntireRowRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Entire Row Request Builder. */ -public class WorkbookRangeEntireRowRequestBuilder extends BaseWorkbookRangeEntireRowRequestBuilder implements IWorkbookRangeEntireRowRequestBuilder { +public class WorkbookRangeEntireRowRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeEntireRowRequestBuilder { /** * The request builder for this WorkbookRangeEntireRow @@ -25,4 +30,33 @@ public class WorkbookRangeEntireRowRequestBuilder extends BaseWorkbookRangeEntir public WorkbookRangeEntireRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeEntireRowRequest + * + * @return the IWorkbookRangeEntireRowRequest instance + */ + public IWorkbookRangeEntireRowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeEntireRowRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeEntireRowRequest instance + */ + public IWorkbookRangeEntireRowRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeEntireRowRequest request = new WorkbookRangeEntireRowRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequest.java index 2468fd83668..6d17a88da80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFillClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFillClearRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Fill Clear Request. */ -public class WorkbookRangeFillClearRequest extends BaseWorkbookRangeFillClearRequest implements IWorkbookRangeFillClearRequest { +public class WorkbookRangeFillClearRequest extends BaseRequest implements IWorkbookRangeFillClearRequest { /** * The request for this WorkbookRangeFillClear @@ -23,6 +30,35 @@ public class WorkbookRangeFillClearRequest extends BaseWorkbookRangeFillClearReq * @param requestOptions the options for this request */ public WorkbookRangeFillClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookRangeFillClear + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookRangeFillClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequestBuilder.java index e78f8f46733..4934a46446e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillClearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFillClearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFillClearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Fill Clear Request Builder. */ -public class WorkbookRangeFillClearRequestBuilder extends BaseWorkbookRangeFillClearRequestBuilder implements IWorkbookRangeFillClearRequestBuilder { +public class WorkbookRangeFillClearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeFillClearRequestBuilder { /** * The request builder for this WorkbookRangeFillClear @@ -25,4 +30,29 @@ public class WorkbookRangeFillClearRequestBuilder extends BaseWorkbookRangeFillC public WorkbookRangeFillClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeFillClearRequest + * + * @return the IWorkbookRangeFillClearRequest instance + */ + public IWorkbookRangeFillClearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeFillClearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeFillClearRequest instance + */ + public IWorkbookRangeFillClearRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeFillClearRequest request = new WorkbookRangeFillClearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequest.java index 38592c8834d..713771d010f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFillRequest; +import com.microsoft.graph.models.extensions.WorkbookRangeFill; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRangeFill; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFillRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Fill Request. */ -public class WorkbookRangeFillRequest extends BaseWorkbookRangeFillRequest implements IWorkbookRangeFillRequest { - +public class WorkbookRangeFillRequest extends BaseRequest implements IWorkbookRangeFillRequest { + /** * The request for the WorkbookRangeFill * @@ -26,4 +32,107 @@ public class WorkbookRangeFillRequest extends BaseWorkbookRangeFillRequest imple public WorkbookRangeFillRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRangeFill.class); } + + /** + * Gets the WorkbookRangeFill from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeFill from the service + * + * @return the WorkbookRangeFill from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFill get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRangeFill with a source + * + * @param sourceWorkbookRangeFill the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRangeFill sourceWorkbookRangeFill, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRangeFill); + } + + /** + * Patches this WorkbookRangeFill with a source + * + * @param sourceWorkbookRangeFill the source object with updates + * @return the updated WorkbookRangeFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFill patch(final WorkbookRangeFill sourceWorkbookRangeFill) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRangeFill); + } + + /** + * Creates a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRangeFill newWorkbookRangeFill, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRangeFill); + } + + /** + * Creates a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the new object to create + * @return the created WorkbookRangeFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFill post(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException { + return send(HttpMethod.POST, newWorkbookRangeFill); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeFillRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeFillRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeFillRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeFillRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequestBuilder.java index e9abb3a859a..7c8472077f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFillRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeFillClearRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFillRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Fill Request Builder. */ -public class WorkbookRangeFillRequestBuilder extends BaseWorkbookRangeFillRequestBuilder implements IWorkbookRangeFillRequestBuilder { +public class WorkbookRangeFillRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeFillRequestBuilder { /** * The request builder for the WorkbookRangeFill @@ -25,4 +30,30 @@ public class WorkbookRangeFillRequestBuilder extends BaseWorkbookRangeFillReques public WorkbookRangeFillRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeFillRequest instance + */ + public IWorkbookRangeFillRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeFillRequest instance + */ + public IWorkbookRangeFillRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeFillRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookRangeFillClearRequestBuilder clear() { + return new WorkbookRangeFillClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequest.java index 3c2a2d97be1..37797a60793 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFontRequest; +import com.microsoft.graph.models.extensions.WorkbookRangeFont; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRangeFont; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFontRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Font Request. */ -public class WorkbookRangeFontRequest extends BaseWorkbookRangeFontRequest implements IWorkbookRangeFontRequest { - +public class WorkbookRangeFontRequest extends BaseRequest implements IWorkbookRangeFontRequest { + /** * The request for the WorkbookRangeFont * @@ -26,4 +32,107 @@ public class WorkbookRangeFontRequest extends BaseWorkbookRangeFontRequest imple public WorkbookRangeFontRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRangeFont.class); } + + /** + * Gets the WorkbookRangeFont from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeFont from the service + * + * @return the WorkbookRangeFont from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFont get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRangeFont with a source + * + * @param sourceWorkbookRangeFont the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRangeFont sourceWorkbookRangeFont, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRangeFont); + } + + /** + * Patches this WorkbookRangeFont with a source + * + * @param sourceWorkbookRangeFont the source object with updates + * @return the updated WorkbookRangeFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFont patch(final WorkbookRangeFont sourceWorkbookRangeFont) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRangeFont); + } + + /** + * Creates a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRangeFont newWorkbookRangeFont, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRangeFont); + } + + /** + * Creates a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the new object to create + * @return the created WorkbookRangeFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFont post(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException { + return send(HttpMethod.POST, newWorkbookRangeFont); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeFontRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeFontRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeFontRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeFontRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequestBuilder.java index 3ef7864f41c..0f763938623 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequestBuilder.java @@ -3,17 +3,20 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFontRequest; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFontRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Font Request Builder. */ -public class WorkbookRangeFontRequestBuilder extends BaseWorkbookRangeFontRequestBuilder implements IWorkbookRangeFontRequestBuilder { +public class WorkbookRangeFontRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeFontRequestBuilder { /** * The request builder for the WorkbookRangeFont @@ -25,4 +28,26 @@ public class WorkbookRangeFontRequestBuilder extends BaseWorkbookRangeFontReques public WorkbookRangeFontRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeFontRequest instance + */ + public IWorkbookRangeFontRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeFontRequest instance + */ + public IWorkbookRangeFontRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeFontRequest(getRequestUrl(), getClient(), requestOptions); + } + + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequest.java index 97699e031ef..e41c1d6794f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitColumnsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFormatAutofitColumnsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format Autofit Columns Request. */ -public class WorkbookRangeFormatAutofitColumnsRequest extends BaseWorkbookRangeFormatAutofitColumnsRequest implements IWorkbookRangeFormatAutofitColumnsRequest { +public class WorkbookRangeFormatAutofitColumnsRequest extends BaseRequest implements IWorkbookRangeFormatAutofitColumnsRequest { /** * The request for this WorkbookRangeFormatAutofitColumns @@ -23,6 +30,35 @@ public class WorkbookRangeFormatAutofitColumnsRequest extends BaseWorkbookRangeF * @param requestOptions the options for this request */ public WorkbookRangeFormatAutofitColumnsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookRangeFormatAutofitColumns + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookRangeFormatAutofitColumns + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequestBuilder.java index a919308774d..5f83555f4f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitColumnsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitColumnsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFormatAutofitColumnsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format Autofit Columns Request Builder. */ -public class WorkbookRangeFormatAutofitColumnsRequestBuilder extends BaseWorkbookRangeFormatAutofitColumnsRequestBuilder implements IWorkbookRangeFormatAutofitColumnsRequestBuilder { +public class WorkbookRangeFormatAutofitColumnsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeFormatAutofitColumnsRequestBuilder { /** * The request builder for this WorkbookRangeFormatAutofitColumns @@ -25,4 +30,29 @@ public class WorkbookRangeFormatAutofitColumnsRequestBuilder extends BaseWorkboo public WorkbookRangeFormatAutofitColumnsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeFormatAutofitColumnsRequest + * + * @return the IWorkbookRangeFormatAutofitColumnsRequest instance + */ + public IWorkbookRangeFormatAutofitColumnsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeFormatAutofitColumnsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeFormatAutofitColumnsRequest instance + */ + public IWorkbookRangeFormatAutofitColumnsRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeFormatAutofitColumnsRequest request = new WorkbookRangeFormatAutofitColumnsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequest.java index 8ee792bfacb..f471c369408 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitRowsRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFormatAutofitRowsRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format Autofit Rows Request. */ -public class WorkbookRangeFormatAutofitRowsRequest extends BaseWorkbookRangeFormatAutofitRowsRequest implements IWorkbookRangeFormatAutofitRowsRequest { +public class WorkbookRangeFormatAutofitRowsRequest extends BaseRequest implements IWorkbookRangeFormatAutofitRowsRequest { /** * The request for this WorkbookRangeFormatAutofitRows @@ -23,6 +30,35 @@ public class WorkbookRangeFormatAutofitRowsRequest extends BaseWorkbookRangeForm * @param requestOptions the options for this request */ public WorkbookRangeFormatAutofitRowsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookRangeFormatAutofitRows + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookRangeFormatAutofitRows + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequestBuilder.java index ad377006c88..b3de2d47f76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatAutofitRowsRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitRowsRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFormatAutofitRowsRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format Autofit Rows Request Builder. */ -public class WorkbookRangeFormatAutofitRowsRequestBuilder extends BaseWorkbookRangeFormatAutofitRowsRequestBuilder implements IWorkbookRangeFormatAutofitRowsRequestBuilder { +public class WorkbookRangeFormatAutofitRowsRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeFormatAutofitRowsRequestBuilder { /** * The request builder for this WorkbookRangeFormatAutofitRows @@ -25,4 +30,29 @@ public class WorkbookRangeFormatAutofitRowsRequestBuilder extends BaseWorkbookRa public WorkbookRangeFormatAutofitRowsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeFormatAutofitRowsRequest + * + * @return the IWorkbookRangeFormatAutofitRowsRequest instance + */ + public IWorkbookRangeFormatAutofitRowsRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeFormatAutofitRowsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeFormatAutofitRowsRequest instance + */ + public IWorkbookRangeFormatAutofitRowsRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeFormatAutofitRowsRequest request = new WorkbookRangeFormatAutofitRowsRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequest.java index 4b022e30ec7..885ea6e9576 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatRequest; +import com.microsoft.graph.models.extensions.WorkbookRangeFormat; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRangeFormat; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFormatRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format Request. */ -public class WorkbookRangeFormatRequest extends BaseWorkbookRangeFormatRequest implements IWorkbookRangeFormatRequest { - +public class WorkbookRangeFormatRequest extends BaseRequest implements IWorkbookRangeFormatRequest { + /** * The request for the WorkbookRangeFormat * @@ -26,4 +32,107 @@ public class WorkbookRangeFormatRequest extends BaseWorkbookRangeFormatRequest i public WorkbookRangeFormatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRangeFormat.class); } + + /** + * Gets the WorkbookRangeFormat from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeFormat from the service + * + * @return the WorkbookRangeFormat from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFormat get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRangeFormat with a source + * + * @param sourceWorkbookRangeFormat the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRangeFormat sourceWorkbookRangeFormat, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRangeFormat); + } + + /** + * Patches this WorkbookRangeFormat with a source + * + * @param sourceWorkbookRangeFormat the source object with updates + * @return the updated WorkbookRangeFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFormat patch(final WorkbookRangeFormat sourceWorkbookRangeFormat) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRangeFormat); + } + + /** + * Creates a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRangeFormat newWorkbookRangeFormat, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRangeFormat); + } + + /** + * Creates a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the new object to create + * @return the created WorkbookRangeFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFormat post(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException { + return send(HttpMethod.POST, newWorkbookRangeFormat); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeFormatRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeFormatRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeFormatRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeFormatRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequestBuilder.java index 093656017b1..13feee7ebb1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequestBuilder.java @@ -3,17 +3,34 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeBorderRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeFillRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeFontRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFormatProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitColumnsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitRowsRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeFormatRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Format Request Builder. */ -public class WorkbookRangeFormatRequestBuilder extends BaseWorkbookRangeFormatRequestBuilder implements IWorkbookRangeFormatRequestBuilder { +public class WorkbookRangeFormatRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeFormatRequestBuilder { /** * The request builder for the WorkbookRangeFormat @@ -25,4 +42,68 @@ public class WorkbookRangeFormatRequestBuilder extends BaseWorkbookRangeFormatRe public WorkbookRangeFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeFormatRequest instance + */ + public IWorkbookRangeFormatRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeFormatRequest instance + */ + public IWorkbookRangeFormatRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeFormatRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IWorkbookRangeBorderCollectionRequestBuilder borders() { + return new WorkbookRangeBorderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("borders"), getClient(), null); + } + + public IWorkbookRangeBorderRequestBuilder borders(final String id) { + return new WorkbookRangeBorderRequestBuilder(getRequestUrlWithAdditionalSegment("borders") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for WorkbookRangeFill + * + * @return the IWorkbookRangeFillRequestBuilder instance + */ + public IWorkbookRangeFillRequestBuilder fill() { + return new WorkbookRangeFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookRangeFont + * + * @return the IWorkbookRangeFontRequestBuilder instance + */ + public IWorkbookRangeFontRequestBuilder font() { + return new WorkbookRangeFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookFormatProtection + * + * @return the IWorkbookFormatProtectionRequestBuilder instance + */ + public IWorkbookFormatProtectionRequestBuilder protection() { + return new WorkbookFormatProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("protection"), getClient(), null); + } + + public IWorkbookRangeFormatAutofitColumnsRequestBuilder autofitColumns() { + return new WorkbookRangeFormatAutofitColumnsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.autofitColumns"), getClient(), null); + } + + public IWorkbookRangeFormatAutofitRowsRequestBuilder autofitRows() { + return new WorkbookRangeFormatAutofitRowsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.autofitRows"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequest.java index dfb643b183b..f18b3a358aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeInsertBody; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeInsertRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeInsertRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Insert Request. */ -public class WorkbookRangeInsertRequest extends BaseWorkbookRangeInsertRequest implements IWorkbookRangeInsertRequest { +public class WorkbookRangeInsertRequest extends BaseRequest implements IWorkbookRangeInsertRequest { + protected final WorkbookRangeInsertBody body; /** * The request for this WorkbookRangeInsert @@ -23,6 +32,49 @@ public class WorkbookRangeInsertRequest extends BaseWorkbookRangeInsertRequest i * @param requestOptions the options for this request */ public WorkbookRangeInsertRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); + body = new WorkbookRangeInsertBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookRange post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeInsertRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeInsertRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeInsertRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookRangeInsertRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeInsertRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeInsertRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequestBuilder.java index 5f2760f5df3..1ff7e7c060f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeInsertRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeInsertRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeInsertRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Insert Request Builder. */ -public class WorkbookRangeInsertRequestBuilder extends BaseWorkbookRangeInsertRequestBuilder implements IWorkbookRangeInsertRequestBuilder { +public class WorkbookRangeInsertRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeInsertRequestBuilder { /** * The request builder for this WorkbookRangeInsert @@ -24,6 +29,36 @@ public class WorkbookRangeInsertRequestBuilder extends BaseWorkbookRangeInsertRe * @param shift the shift */ public WorkbookRangeInsertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String shift) { - super(requestUrl, client, requestOptions, shift); + super(requestUrl, client, requestOptions); + bodyParams.put("shift", shift); + } + + /** + * Creates the IWorkbookRangeInsertRequest + * + * @return the IWorkbookRangeInsertRequest instance + */ + public IWorkbookRangeInsertRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeInsertRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeInsertRequest instance + */ + public IWorkbookRangeInsertRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeInsertRequest request = new WorkbookRangeInsertRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("shift")) { + request.body.shift = getParameter("shift"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequest.java index acf2c5c6b5f..10772a0c7b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeIntersectionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeIntersectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Intersection Request. */ -public class WorkbookRangeIntersectionRequest extends BaseWorkbookRangeIntersectionRequest implements IWorkbookRangeIntersectionRequest { +public class WorkbookRangeIntersectionRequest extends BaseRequest implements IWorkbookRangeIntersectionRequest { /** * The request for this WorkbookRangeIntersection @@ -23,6 +31,88 @@ public class WorkbookRangeIntersectionRequest extends BaseWorkbookRangeIntersect * @param requestOptions the options for this request */ public WorkbookRangeIntersectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeIntersection + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeIntersection + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeIntersectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeIntersectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeIntersectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeIntersectionRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequestBuilder.java index 11ab2281396..46488eed3d6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeIntersectionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeIntersectionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeIntersectionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Intersection Request Builder. */ -public class WorkbookRangeIntersectionRequestBuilder extends BaseWorkbookRangeIntersectionRequestBuilder implements IWorkbookRangeIntersectionRequestBuilder { +public class WorkbookRangeIntersectionRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeIntersectionRequestBuilder { /** * The request builder for this WorkbookRangeIntersection @@ -24,6 +29,36 @@ public class WorkbookRangeIntersectionRequestBuilder extends BaseWorkbookRangeIn * @param anotherRange the anotherRange */ public WorkbookRangeIntersectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String anotherRange) { - super(requestUrl, client, requestOptions, anotherRange); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("anotherRange", anotherRange)); + } + + /** + * Creates the IWorkbookRangeIntersectionRequest + * + * @return the IWorkbookRangeIntersectionRequest instance + */ + public IWorkbookRangeIntersectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeIntersectionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeIntersectionRequest instance + */ + public IWorkbookRangeIntersectionRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeIntersectionRequest request = new WorkbookRangeIntersectionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequest.java index 8633014591d..6e6e9b5e870 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastCellRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeLastCellRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Last Cell Request. */ -public class WorkbookRangeLastCellRequest extends BaseWorkbookRangeLastCellRequest implements IWorkbookRangeLastCellRequest { +public class WorkbookRangeLastCellRequest extends BaseRequest implements IWorkbookRangeLastCellRequest { /** * The request for this WorkbookRangeLastCell @@ -23,6 +31,88 @@ public class WorkbookRangeLastCellRequest extends BaseWorkbookRangeLastCellReque * @param requestOptions the options for this request */ public WorkbookRangeLastCellRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeLastCell + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeLastCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeLastCellRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeLastCellRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeLastCellRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeLastCellRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequestBuilder.java index 709f7e93aae..4609a5905cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastCellRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastCellRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeLastCellRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Last Cell Request Builder. */ -public class WorkbookRangeLastCellRequestBuilder extends BaseWorkbookRangeLastCellRequestBuilder implements IWorkbookRangeLastCellRequestBuilder { +public class WorkbookRangeLastCellRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeLastCellRequestBuilder { /** * The request builder for this WorkbookRangeLastCell @@ -25,4 +30,33 @@ public class WorkbookRangeLastCellRequestBuilder extends BaseWorkbookRangeLastCe public WorkbookRangeLastCellRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeLastCellRequest + * + * @return the IWorkbookRangeLastCellRequest instance + */ + public IWorkbookRangeLastCellRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeLastCellRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeLastCellRequest instance + */ + public IWorkbookRangeLastCellRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeLastCellRequest request = new WorkbookRangeLastCellRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequest.java index 3c9ac3feb82..a568f98bc08 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastColumnRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeLastColumnRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Last Column Request. */ -public class WorkbookRangeLastColumnRequest extends BaseWorkbookRangeLastColumnRequest implements IWorkbookRangeLastColumnRequest { +public class WorkbookRangeLastColumnRequest extends BaseRequest implements IWorkbookRangeLastColumnRequest { /** * The request for this WorkbookRangeLastColumn @@ -23,6 +31,88 @@ public class WorkbookRangeLastColumnRequest extends BaseWorkbookRangeLastColumnR * @param requestOptions the options for this request */ public WorkbookRangeLastColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeLastColumn + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeLastColumn + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeLastColumnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeLastColumnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeLastColumnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeLastColumnRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequestBuilder.java index e7a3d41e4c0..2a5eed2b428 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastColumnRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastColumnRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeLastColumnRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Last Column Request Builder. */ -public class WorkbookRangeLastColumnRequestBuilder extends BaseWorkbookRangeLastColumnRequestBuilder implements IWorkbookRangeLastColumnRequestBuilder { +public class WorkbookRangeLastColumnRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeLastColumnRequestBuilder { /** * The request builder for this WorkbookRangeLastColumn @@ -25,4 +30,33 @@ public class WorkbookRangeLastColumnRequestBuilder extends BaseWorkbookRangeLast public WorkbookRangeLastColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeLastColumnRequest + * + * @return the IWorkbookRangeLastColumnRequest instance + */ + public IWorkbookRangeLastColumnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeLastColumnRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeLastColumnRequest instance + */ + public IWorkbookRangeLastColumnRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeLastColumnRequest request = new WorkbookRangeLastColumnRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequest.java index db090f149fb..1e9bf04dfb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeLastRowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Last Row Request. */ -public class WorkbookRangeLastRowRequest extends BaseWorkbookRangeLastRowRequest implements IWorkbookRangeLastRowRequest { +public class WorkbookRangeLastRowRequest extends BaseRequest implements IWorkbookRangeLastRowRequest { /** * The request for this WorkbookRangeLastRow @@ -23,6 +31,88 @@ public class WorkbookRangeLastRowRequest extends BaseWorkbookRangeLastRowRequest * @param requestOptions the options for this request */ public WorkbookRangeLastRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeLastRow + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeLastRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeLastRowRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeLastRowRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeLastRowRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeLastRowRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequestBuilder.java index 809e377dd50..25ab0bc493a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeLastRowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastRowRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeLastRowRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Last Row Request Builder. */ -public class WorkbookRangeLastRowRequestBuilder extends BaseWorkbookRangeLastRowRequestBuilder implements IWorkbookRangeLastRowRequestBuilder { +public class WorkbookRangeLastRowRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeLastRowRequestBuilder { /** * The request builder for this WorkbookRangeLastRow @@ -25,4 +30,33 @@ public class WorkbookRangeLastRowRequestBuilder extends BaseWorkbookRangeLastRow public WorkbookRangeLastRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeLastRowRequest + * + * @return the IWorkbookRangeLastRowRequest instance + */ + public IWorkbookRangeLastRowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeLastRowRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeLastRowRequest instance + */ + public IWorkbookRangeLastRowRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeLastRowRequest request = new WorkbookRangeLastRowRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequest.java index 28abfef4155..f8f8e450c5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeMergeBody; +import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeMergeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeMergeRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Merge Request. */ -public class WorkbookRangeMergeRequest extends BaseWorkbookRangeMergeRequest implements IWorkbookRangeMergeRequest { +public class WorkbookRangeMergeRequest extends BaseRequest implements IWorkbookRangeMergeRequest { + protected final WorkbookRangeMergeBody body; /** * The request for this WorkbookRangeMerge @@ -23,6 +31,49 @@ public class WorkbookRangeMergeRequest extends BaseWorkbookRangeMergeRequest imp * @param requestOptions the options for this request */ public WorkbookRangeMergeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookRangeMergeBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeMergeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeMergeRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeMergeRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookRangeMergeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeMergeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeMergeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequestBuilder.java index 80c7aed5b02..911e1bfce69 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeMergeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeMergeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeMergeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Merge Request Builder. */ -public class WorkbookRangeMergeRequestBuilder extends BaseWorkbookRangeMergeRequestBuilder implements IWorkbookRangeMergeRequestBuilder { +public class WorkbookRangeMergeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeMergeRequestBuilder { /** * The request builder for this WorkbookRangeMerge @@ -24,6 +29,36 @@ public class WorkbookRangeMergeRequestBuilder extends BaseWorkbookRangeMergeRequ * @param across the across */ public WorkbookRangeMergeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean across) { - super(requestUrl, client, requestOptions, across); + super(requestUrl, client, requestOptions); + bodyParams.put("across", across); + } + + /** + * Creates the IWorkbookRangeMergeRequest + * + * @return the IWorkbookRangeMergeRequest instance + */ + public IWorkbookRangeMergeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeMergeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeMergeRequest instance + */ + public IWorkbookRangeMergeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeMergeRequest request = new WorkbookRangeMergeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("across")) { + request.body.across = getParameter("across"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequest.java index 0848b887181..4a7e38c3ca8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeOffsetRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeOffsetRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Offset Range Request. */ -public class WorkbookRangeOffsetRangeRequest extends BaseWorkbookRangeOffsetRangeRequest implements IWorkbookRangeOffsetRangeRequest { +public class WorkbookRangeOffsetRangeRequest extends BaseRequest implements IWorkbookRangeOffsetRangeRequest { /** * The request for this WorkbookRangeOffsetRange @@ -23,6 +31,88 @@ public class WorkbookRangeOffsetRangeRequest extends BaseWorkbookRangeOffsetRang * @param requestOptions the options for this request */ public WorkbookRangeOffsetRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeOffsetRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeOffsetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeOffsetRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeOffsetRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeOffsetRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeOffsetRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequestBuilder.java index 28139c3d34c..0b5e7798311 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeOffsetRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeOffsetRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeOffsetRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Offset Range Request Builder. */ -public class WorkbookRangeOffsetRangeRequestBuilder extends BaseWorkbookRangeOffsetRangeRequestBuilder implements IWorkbookRangeOffsetRangeRequestBuilder { +public class WorkbookRangeOffsetRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeOffsetRangeRequestBuilder { /** * The request builder for this WorkbookRangeOffsetRange @@ -25,6 +30,37 @@ public class WorkbookRangeOffsetRangeRequestBuilder extends BaseWorkbookRangeOff * @param columnOffset the columnOffset */ public WorkbookRangeOffsetRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer rowOffset, final Integer columnOffset) { - super(requestUrl, client, requestOptions, rowOffset, columnOffset); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("rowOffset", rowOffset)); + functionOptions.add(new FunctionOption("columnOffset", columnOffset)); + } + + /** + * Creates the IWorkbookRangeOffsetRangeRequest + * + * @return the IWorkbookRangeOffsetRangeRequest instance + */ + public IWorkbookRangeOffsetRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeOffsetRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeOffsetRangeRequest instance + */ + public IWorkbookRangeOffsetRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeOffsetRangeRequest request = new WorkbookRangeOffsetRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequest.java index 06fd25a2827..9eb17487231 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRequest; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Request. */ -public class WorkbookRangeRequest extends BaseWorkbookRangeRequest implements IWorkbookRangeRequest { - +public class WorkbookRangeRequest extends BaseRequest implements IWorkbookRangeRequest { + /** * The request for the WorkbookRange * @@ -26,4 +32,107 @@ public class WorkbookRangeRequest extends BaseWorkbookRangeRequest implements IW public WorkbookRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Gets the WorkbookRange from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange from the service + * + * @return the WorkbookRange from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRange with a source + * + * @param sourceWorkbookRange the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRange sourceWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRange); + } + + /** + * Patches this WorkbookRange with a source + * + * @param sourceWorkbookRange the source object with updates + * @return the updated WorkbookRange + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRange patch(final WorkbookRange sourceWorkbookRange) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRange); + } + + /** + * Creates a WorkbookRange with a new object + * + * @param newWorkbookRange the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRange newWorkbookRange, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRange); + } + + /** + * Creates a WorkbookRange with a new object + * + * @param newWorkbookRange the new object to create + * @return the created WorkbookRange + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRange post(final WorkbookRange newWorkbookRange) throws ClientException { + return send(HttpMethod.POST, newWorkbookRange); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequestBuilder.java index 86bb6d2bfcd..35847290503 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequestBuilder.java @@ -3,17 +3,82 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeFormatRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeSortRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeClearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeDeleteRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeInsertRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeMergeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeUnmergeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeBoundingRectRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeCellRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeEntireColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeEntireRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeIntersectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastCellRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeLastRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeOffsetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeResizedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeVisibleViewRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Request Builder. */ -public class WorkbookRangeRequestBuilder extends BaseWorkbookRangeRequestBuilder implements IWorkbookRangeRequestBuilder { +public class WorkbookRangeRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeRequestBuilder { /** * The request builder for the WorkbookRange @@ -25,4 +90,165 @@ public class WorkbookRangeRequestBuilder extends BaseWorkbookRangeRequestBuilder public WorkbookRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeRequest instance + */ + public IWorkbookRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeRequest instance + */ + public IWorkbookRangeRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookRangeFormat + * + * @return the IWorkbookRangeFormatRequestBuilder instance + */ + public IWorkbookRangeFormatRequestBuilder format() { + return new WorkbookRangeFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookRangeSort + * + * @return the IWorkbookRangeSortRequestBuilder instance + */ + public IWorkbookRangeSortRequestBuilder sort() { + return new WorkbookRangeSortRequestBuilder(getRequestUrlWithAdditionalSegment("sort"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + public IWorkbookWorksheetRequestBuilder worksheet() { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); + } + + public IWorkbookRangeClearRequestBuilder clear(final String applyTo) { + return new WorkbookRangeClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null, applyTo); + } + + public IWorkbookRangeDeleteRequestBuilder delete(final String shift) { + return new WorkbookRangeDeleteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delete"), getClient(), null, shift); + } + + public IWorkbookRangeInsertRequestBuilder insert(final String shift) { + return new WorkbookRangeInsertRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.insert"), getClient(), null, shift); + } + + public IWorkbookRangeMergeRequestBuilder merge(final Boolean across) { + return new WorkbookRangeMergeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.merge"), getClient(), null, across); + } + + public IWorkbookRangeUnmergeRequestBuilder unmerge() { + return new WorkbookRangeUnmergeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unmerge"), getClient(), null); + } + + public IWorkbookRangeBoundingRectRequestBuilder boundingRect(final String anotherRange) { + return new WorkbookRangeBoundingRectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.boundingRect"), getClient(), null, anotherRange); + } + + public IWorkbookRangeCellRequestBuilder cell(final Integer row, final Integer column) { + return new WorkbookRangeCellRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cell"), getClient(), null, row, column); + } + + public IWorkbookRangeColumnRequestBuilder column(final Integer column) { + return new WorkbookRangeColumnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.column"), getClient(), null, column); + } + + public IWorkbookRangeColumnsAfterRequestBuilder columnsAfter() { + return new WorkbookRangeColumnsAfterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsAfter"), getClient(), null); + } + + public IWorkbookRangeColumnsAfterRequestBuilder columnsAfter(final Integer count) { + return new WorkbookRangeColumnsAfterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsAfter"), getClient(), null, count); + } + + public IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore() { + return new WorkbookRangeColumnsBeforeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsBefore"), getClient(), null); + } + + public IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore(final Integer count) { + return new WorkbookRangeColumnsBeforeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsBefore"), getClient(), null, count); + } + + public IWorkbookRangeEntireColumnRequestBuilder entireColumn() { + return new WorkbookRangeEntireColumnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.entireColumn"), getClient(), null); + } + + public IWorkbookRangeEntireRowRequestBuilder entireRow() { + return new WorkbookRangeEntireRowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.entireRow"), getClient(), null); + } + + public IWorkbookRangeIntersectionRequestBuilder intersection(final String anotherRange) { + return new WorkbookRangeIntersectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.intersection"), getClient(), null, anotherRange); + } + + public IWorkbookRangeLastCellRequestBuilder lastCell() { + return new WorkbookRangeLastCellRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lastCell"), getClient(), null); + } + + public IWorkbookRangeLastColumnRequestBuilder lastColumn() { + return new WorkbookRangeLastColumnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lastColumn"), getClient(), null); + } + + public IWorkbookRangeLastRowRequestBuilder lastRow() { + return new WorkbookRangeLastRowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lastRow"), getClient(), null); + } + + public IWorkbookRangeOffsetRangeRequestBuilder offsetRange(final Integer rowOffset, final Integer columnOffset) { + return new WorkbookRangeOffsetRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.offsetRange"), getClient(), null, rowOffset, columnOffset); + } + + public IWorkbookRangeResizedRangeRequestBuilder resizedRange(final Integer deltaRows, final Integer deltaColumns) { + return new WorkbookRangeResizedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resizedRange"), getClient(), null, deltaRows, deltaColumns); + } + + public IWorkbookRangeRowRequestBuilder row(final Integer row) { + return new WorkbookRangeRowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.row"), getClient(), null, row); + } + + public IWorkbookRangeRowsAboveRequestBuilder rowsAbove() { + return new WorkbookRangeRowsAboveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsAbove"), getClient(), null); + } + + public IWorkbookRangeRowsAboveRequestBuilder rowsAbove(final Integer count) { + return new WorkbookRangeRowsAboveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsAbove"), getClient(), null, count); + } + + public IWorkbookRangeRowsBelowRequestBuilder rowsBelow() { + return new WorkbookRangeRowsBelowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsBelow"), getClient(), null); + } + + public IWorkbookRangeRowsBelowRequestBuilder rowsBelow(final Integer count) { + return new WorkbookRangeRowsBelowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsBelow"), getClient(), null, count); + } + + public IWorkbookRangeUsedRangeRequestBuilder usedRange() { + return new WorkbookRangeUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null); + } + + public IWorkbookRangeUsedRangeRequestBuilder usedRange(final Boolean valuesOnly) { + return new WorkbookRangeUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null, valuesOnly); + } + + public IWorkbookRangeVisibleViewRequestBuilder visibleView() { + return new WorkbookRangeVisibleViewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.visibleView"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequest.java index 9292d1ebf4d..8b10e7890fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeResizedRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeResizedRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Resized Range Request. */ -public class WorkbookRangeResizedRangeRequest extends BaseWorkbookRangeResizedRangeRequest implements IWorkbookRangeResizedRangeRequest { +public class WorkbookRangeResizedRangeRequest extends BaseRequest implements IWorkbookRangeResizedRangeRequest { /** * The request for this WorkbookRangeResizedRange @@ -23,6 +31,88 @@ public class WorkbookRangeResizedRangeRequest extends BaseWorkbookRangeResizedRa * @param requestOptions the options for this request */ public WorkbookRangeResizedRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeResizedRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeResizedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeResizedRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeResizedRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeResizedRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeResizedRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequestBuilder.java index 1b26b9fe0ae..96bddfca9b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeResizedRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeResizedRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeResizedRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Resized Range Request Builder. */ -public class WorkbookRangeResizedRangeRequestBuilder extends BaseWorkbookRangeResizedRangeRequestBuilder implements IWorkbookRangeResizedRangeRequestBuilder { +public class WorkbookRangeResizedRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeResizedRangeRequestBuilder { /** * The request builder for this WorkbookRangeResizedRange @@ -25,6 +30,37 @@ public class WorkbookRangeResizedRangeRequestBuilder extends BaseWorkbookRangeRe * @param deltaColumns the deltaColumns */ public WorkbookRangeResizedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer deltaRows, final Integer deltaColumns) { - super(requestUrl, client, requestOptions, deltaRows, deltaColumns); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("deltaRows", deltaRows)); + functionOptions.add(new FunctionOption("deltaColumns", deltaColumns)); + } + + /** + * Creates the IWorkbookRangeResizedRangeRequest + * + * @return the IWorkbookRangeResizedRangeRequest instance + */ + public IWorkbookRangeResizedRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeResizedRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeResizedRangeRequest instance + */ + public IWorkbookRangeResizedRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeResizedRangeRequest request = new WorkbookRangeResizedRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequest.java index fd4a6e054ee..75f5211e617 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Row Request. */ -public class WorkbookRangeRowRequest extends BaseWorkbookRangeRowRequest implements IWorkbookRangeRowRequest { +public class WorkbookRangeRowRequest extends BaseRequest implements IWorkbookRangeRowRequest { /** * The request for this WorkbookRangeRow @@ -23,6 +31,88 @@ public class WorkbookRangeRowRequest extends BaseWorkbookRangeRowRequest impleme * @param requestOptions the options for this request */ public WorkbookRangeRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeRow + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeRow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeRowRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeRowRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeRowRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeRowRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequestBuilder.java index 0abdba06272..1eb275143b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRowRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Row Request Builder. */ -public class WorkbookRangeRowRequestBuilder extends BaseWorkbookRangeRowRequestBuilder implements IWorkbookRangeRowRequestBuilder { +public class WorkbookRangeRowRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeRowRequestBuilder { /** * The request builder for this WorkbookRangeRow @@ -24,6 +29,36 @@ public class WorkbookRangeRowRequestBuilder extends BaseWorkbookRangeRowRequestB * @param row the row */ public WorkbookRangeRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer row) { - super(requestUrl, client, requestOptions, row); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("row", row)); + } + + /** + * Creates the IWorkbookRangeRowRequest + * + * @return the IWorkbookRangeRowRequest instance + */ + public IWorkbookRangeRowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeRowRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeRowRequest instance + */ + public IWorkbookRangeRowRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeRowRequest request = new WorkbookRangeRowRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequest.java index 7e7cdb9e399..35adc8db085 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRowsAboveRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Rows Above Request. */ -public class WorkbookRangeRowsAboveRequest extends BaseWorkbookRangeRowsAboveRequest implements IWorkbookRangeRowsAboveRequest { +public class WorkbookRangeRowsAboveRequest extends BaseRequest implements IWorkbookRangeRowsAboveRequest { /** * The request for this WorkbookRangeRowsAbove @@ -23,6 +31,88 @@ public class WorkbookRangeRowsAboveRequest extends BaseWorkbookRangeRowsAboveReq * @param requestOptions the options for this request */ public WorkbookRangeRowsAboveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeRowsAbove + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeRowsAbove + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeRowsAboveRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeRowsAboveRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeRowsAboveRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeRowsAboveRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequestBuilder.java index 4b9212c9ed4..c645ee36938 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsAboveRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRowsAboveRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Rows Above Request Builder. */ -public class WorkbookRangeRowsAboveRequestBuilder extends BaseWorkbookRangeRowsAboveRequestBuilder implements IWorkbookRangeRowsAboveRequestBuilder { +public class WorkbookRangeRowsAboveRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeRowsAboveRequestBuilder { /** * The request builder for this WorkbookRangeRowsAbove @@ -25,7 +30,6 @@ public class WorkbookRangeRowsAboveRequestBuilder extends BaseWorkbookRangeRowsA public WorkbookRangeRowsAboveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookRangeRowsAbove * @@ -35,6 +39,36 @@ public WorkbookRangeRowsAboveRequestBuilder(final String requestUrl, final IBase * @param count the count */ public WorkbookRangeRowsAboveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions, count); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("count", count)); + } + + /** + * Creates the IWorkbookRangeRowsAboveRequest + * + * @return the IWorkbookRangeRowsAboveRequest instance + */ + public IWorkbookRangeRowsAboveRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeRowsAboveRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeRowsAboveRequest instance + */ + public IWorkbookRangeRowsAboveRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeRowsAboveRequest request = new WorkbookRangeRowsAboveRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequest.java index cebf9f85de1..1772e2096a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRowsBelowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Rows Below Request. */ -public class WorkbookRangeRowsBelowRequest extends BaseWorkbookRangeRowsBelowRequest implements IWorkbookRangeRowsBelowRequest { +public class WorkbookRangeRowsBelowRequest extends BaseRequest implements IWorkbookRangeRowsBelowRequest { /** * The request for this WorkbookRangeRowsBelow @@ -23,6 +31,88 @@ public class WorkbookRangeRowsBelowRequest extends BaseWorkbookRangeRowsBelowReq * @param requestOptions the options for this request */ public WorkbookRangeRowsBelowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeRowsBelow + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeRowsBelow + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeRowsBelowRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeRowsBelowRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeRowsBelowRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeRowsBelowRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequestBuilder.java index 604b97216b2..efec77baacf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRowsBelowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeRowsBelowRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Rows Below Request Builder. */ -public class WorkbookRangeRowsBelowRequestBuilder extends BaseWorkbookRangeRowsBelowRequestBuilder implements IWorkbookRangeRowsBelowRequestBuilder { +public class WorkbookRangeRowsBelowRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeRowsBelowRequestBuilder { /** * The request builder for this WorkbookRangeRowsBelow @@ -25,7 +30,6 @@ public class WorkbookRangeRowsBelowRequestBuilder extends BaseWorkbookRangeRowsB public WorkbookRangeRowsBelowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookRangeRowsBelow * @@ -35,6 +39,36 @@ public WorkbookRangeRowsBelowRequestBuilder(final String requestUrl, final IBase * @param count the count */ public WorkbookRangeRowsBelowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions, count); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("count", count)); + } + + /** + * Creates the IWorkbookRangeRowsBelowRequest + * + * @return the IWorkbookRangeRowsBelowRequest instance + */ + public IWorkbookRangeRowsBelowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeRowsBelowRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeRowsBelowRequest instance + */ + public IWorkbookRangeRowsBelowRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeRowsBelowRequest request = new WorkbookRangeRowsBelowRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequest.java index 4edfa7cc574..70b40a953d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeSortApplyBody; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeSortApplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeSortApplyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Sort Apply Request. */ -public class WorkbookRangeSortApplyRequest extends BaseWorkbookRangeSortApplyRequest implements IWorkbookRangeSortApplyRequest { +public class WorkbookRangeSortApplyRequest extends BaseRequest implements IWorkbookRangeSortApplyRequest { + protected final WorkbookRangeSortApplyBody body; /** * The request for this WorkbookRangeSortApply @@ -23,6 +31,49 @@ public class WorkbookRangeSortApplyRequest extends BaseWorkbookRangeSortApplyReq * @param requestOptions the options for this request */ public WorkbookRangeSortApplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookRangeSortApplyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeSortApplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeSortApplyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeSortApplyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookRangeSortApplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeSortApplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeSortApplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequestBuilder.java index 58c0da671e7..5c94307b607 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortApplyRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeSortApplyRequest; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookSortField; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeSortApplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Sort Apply Request Builder. */ -public class WorkbookRangeSortApplyRequestBuilder extends BaseWorkbookRangeSortApplyRequestBuilder implements IWorkbookRangeSortApplyRequestBuilder { +public class WorkbookRangeSortApplyRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeSortApplyRequestBuilder { /** * The request builder for this WorkbookRangeSortApply @@ -29,6 +34,56 @@ public class WorkbookRangeSortApplyRequestBuilder extends BaseWorkbookRangeSortA * @param method the method */ public WorkbookRangeSortApplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List fields, final Boolean matchCase, final Boolean hasHeaders, final String orientation, final String method) { - super(requestUrl, client, requestOptions, fields, matchCase, hasHeaders, orientation, method); + super(requestUrl, client, requestOptions); + bodyParams.put("fields", fields); + bodyParams.put("matchCase", matchCase); + bodyParams.put("hasHeaders", hasHeaders); + bodyParams.put("orientation", orientation); + bodyParams.put("method", method); + } + + /** + * Creates the IWorkbookRangeSortApplyRequest + * + * @return the IWorkbookRangeSortApplyRequest instance + */ + public IWorkbookRangeSortApplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeSortApplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeSortApplyRequest instance + */ + public IWorkbookRangeSortApplyRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeSortApplyRequest request = new WorkbookRangeSortApplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("fields")) { + request.body.fields = getParameter("fields"); + } + + if (hasParameter("matchCase")) { + request.body.matchCase = getParameter("matchCase"); + } + + if (hasParameter("hasHeaders")) { + request.body.hasHeaders = getParameter("hasHeaders"); + } + + if (hasParameter("orientation")) { + request.body.orientation = getParameter("orientation"); + } + + if (hasParameter("method")) { + request.body.method = getParameter("method"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequest.java index 0e4f4dc4195..4d1c437ee95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeSortRequest; +import com.microsoft.graph.models.extensions.WorkbookRangeSort; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRangeSort; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeSortRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Sort Request. */ -public class WorkbookRangeSortRequest extends BaseWorkbookRangeSortRequest implements IWorkbookRangeSortRequest { - +public class WorkbookRangeSortRequest extends BaseRequest implements IWorkbookRangeSortRequest { + /** * The request for the WorkbookRangeSort * @@ -26,4 +32,107 @@ public class WorkbookRangeSortRequest extends BaseWorkbookRangeSortRequest imple public WorkbookRangeSortRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRangeSort.class); } + + /** + * Gets the WorkbookRangeSort from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeSort from the service + * + * @return the WorkbookRangeSort from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeSort get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRangeSort with a source + * + * @param sourceWorkbookRangeSort the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRangeSort sourceWorkbookRangeSort, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRangeSort); + } + + /** + * Patches this WorkbookRangeSort with a source + * + * @param sourceWorkbookRangeSort the source object with updates + * @return the updated WorkbookRangeSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeSort patch(final WorkbookRangeSort sourceWorkbookRangeSort) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRangeSort); + } + + /** + * Creates a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRangeSort newWorkbookRangeSort, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRangeSort); + } + + /** + * Creates a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the new object to create + * @return the created WorkbookRangeSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeSort post(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException { + return send(HttpMethod.POST, newWorkbookRangeSort); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeSortRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeSortRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeSortRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeSortRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequestBuilder.java index 60ba14acbb2..a5373206a50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequestBuilder.java @@ -3,17 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeSortRequest; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeSortApplyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeSortRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Sort Request Builder. */ -public class WorkbookRangeSortRequestBuilder extends BaseWorkbookRangeSortRequestBuilder implements IWorkbookRangeSortRequestBuilder { +public class WorkbookRangeSortRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeSortRequestBuilder { /** * The request builder for the WorkbookRangeSort @@ -25,4 +31,30 @@ public class WorkbookRangeSortRequestBuilder extends BaseWorkbookRangeSortReques public WorkbookRangeSortRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeSortRequest instance + */ + public IWorkbookRangeSortRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeSortRequest instance + */ + public IWorkbookRangeSortRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeSortRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookRangeSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final Boolean hasHeaders, final String orientation, final String method) { + return new WorkbookRangeSortApplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.apply"), getClient(), null, fields, matchCase, hasHeaders, orientation, method); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequest.java index 0544af3482a..ac49f831e6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeUnmergeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeUnmergeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Unmerge Request. */ -public class WorkbookRangeUnmergeRequest extends BaseWorkbookRangeUnmergeRequest implements IWorkbookRangeUnmergeRequest { +public class WorkbookRangeUnmergeRequest extends BaseRequest implements IWorkbookRangeUnmergeRequest { /** * The request for this WorkbookRangeUnmerge @@ -23,6 +30,35 @@ public class WorkbookRangeUnmergeRequest extends BaseWorkbookRangeUnmergeRequest * @param requestOptions the options for this request */ public WorkbookRangeUnmergeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookRangeUnmerge + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookRangeUnmerge + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequestBuilder.java index 8209af8d876..d9ab77de3f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUnmergeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeUnmergeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeUnmergeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Unmerge Request Builder. */ -public class WorkbookRangeUnmergeRequestBuilder extends BaseWorkbookRangeUnmergeRequestBuilder implements IWorkbookRangeUnmergeRequestBuilder { +public class WorkbookRangeUnmergeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRangeUnmergeRequestBuilder { /** * The request builder for this WorkbookRangeUnmerge @@ -25,4 +30,29 @@ public class WorkbookRangeUnmergeRequestBuilder extends BaseWorkbookRangeUnmerge public WorkbookRangeUnmergeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeUnmergeRequest + * + * @return the IWorkbookRangeUnmergeRequest instance + */ + public IWorkbookRangeUnmergeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeUnmergeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeUnmergeRequest instance + */ + public IWorkbookRangeUnmergeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeUnmergeRequest request = new WorkbookRangeUnmergeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequest.java index 9c5a896d1c3..b3dc16b901a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeUsedRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Used Range Request. */ -public class WorkbookRangeUsedRangeRequest extends BaseWorkbookRangeUsedRangeRequest implements IWorkbookRangeUsedRangeRequest { +public class WorkbookRangeUsedRangeRequest extends BaseRequest implements IWorkbookRangeUsedRangeRequest { /** * The request for this WorkbookRangeUsedRange @@ -23,6 +31,88 @@ public class WorkbookRangeUsedRangeRequest extends BaseWorkbookRangeUsedRangeReq * @param requestOptions the options for this request */ public WorkbookRangeUsedRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeUsedRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeUsedRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeUsedRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeUsedRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeUsedRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequestBuilder.java index a2083d8dffc..1eff0a752ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeUsedRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeUsedRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Used Range Request Builder. */ -public class WorkbookRangeUsedRangeRequestBuilder extends BaseWorkbookRangeUsedRangeRequestBuilder implements IWorkbookRangeUsedRangeRequestBuilder { +public class WorkbookRangeUsedRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeUsedRangeRequestBuilder { /** * The request builder for this WorkbookRangeUsedRange @@ -25,7 +30,6 @@ public class WorkbookRangeUsedRangeRequestBuilder extends BaseWorkbookRangeUsedR public WorkbookRangeUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookRangeUsedRange * @@ -35,6 +39,36 @@ public WorkbookRangeUsedRangeRequestBuilder(final String requestUrl, final IBase * @param valuesOnly the valuesOnly */ public WorkbookRangeUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean valuesOnly) { - super(requestUrl, client, requestOptions, valuesOnly); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("valuesOnly", valuesOnly)); + } + + /** + * Creates the IWorkbookRangeUsedRangeRequest + * + * @return the IWorkbookRangeUsedRangeRequest instance + */ + public IWorkbookRangeUsedRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeUsedRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeUsedRangeRequest instance + */ + public IWorkbookRangeUsedRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeUsedRangeRequest request = new WorkbookRangeUsedRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionPage.java index 6897fa7825d..dd53a7ea220 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Collection Page. */ -public class WorkbookRangeViewCollectionPage extends BaseWorkbookRangeViewCollectionPage implements IWorkbookRangeViewCollectionPage { +public class WorkbookRangeViewCollectionPage extends BaseCollectionPage implements IWorkbookRangeViewCollectionPage { /** - * A collection page for WorkbookRangeView. + * A collection page for WorkbookRangeView * - * @param response the serialized BaseWorkbookRangeViewCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookRangeViewCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookRangeViewCollectionPage(final BaseWorkbookRangeViewCollectionResponse response, final IWorkbookRangeViewCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookRangeViewCollectionPage(final WorkbookRangeViewCollectionResponse response, final IWorkbookRangeViewCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequest.java index eb5595fbb59..61e5fa9658c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Collection Request. */ -public class WorkbookRangeViewCollectionRequest extends BaseWorkbookRangeViewCollectionRequest implements IWorkbookRangeViewCollectionRequest { +public class WorkbookRangeViewCollectionRequest extends BaseCollectionRequest implements IWorkbookRangeViewCollectionRequest { /** - * The request for this collection of WorkbookRangeView + * The request builder for this collection of WorkbookRangeView * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookRangeViewCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookRangeViewCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookRangeViewCollectionResponse.class, IWorkbookRangeViewCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookRangeViewCollectionPage get() throws ClientException { + final WorkbookRangeViewCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookRangeViewRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookRangeView, callback); + } + + public WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookRangeViewRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookRangeView); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeViewCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookRangeViewCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeViewCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookRangeViewCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookRangeViewCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookRangeViewCollectionRequest)this; + } + + public IWorkbookRangeViewCollectionPage buildFromResponse(final WorkbookRangeViewCollectionResponse response) { + final IWorkbookRangeViewCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookRangeViewCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookRangeViewCollectionPage page = new WorkbookRangeViewCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequestBuilder.java index 499039f77db..693391d7546 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Collection Request Builder. */ -public class WorkbookRangeViewCollectionRequestBuilder extends BaseWorkbookRangeViewCollectionRequestBuilder implements IWorkbookRangeViewCollectionRequestBuilder { +public class WorkbookRangeViewCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeViewCollectionRequestBuilder { /** * The request builder for this collection of WorkbookRangeView @@ -25,4 +33,22 @@ public class WorkbookRangeViewCollectionRequestBuilder extends BaseWorkbookRange public WorkbookRangeViewCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookRangeViewCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookRangeViewCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeViewCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookRangeViewRequestBuilder byId(final String id) { + return new WorkbookRangeViewRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookRangeViewItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookRangeViewItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionResponse.java new file mode 100644 index 00000000000..68c19a313a6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Range View Collection Response. + */ +public class WorkbookRangeViewCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookRangeView within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequest.java index 121117455f8..5812100549a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Item At Request. */ -public class WorkbookRangeViewItemAtRequest extends BaseWorkbookRangeViewItemAtRequest implements IWorkbookRangeViewItemAtRequest { +public class WorkbookRangeViewItemAtRequest extends BaseRequest implements IWorkbookRangeViewItemAtRequest { /** * The request for this WorkbookRangeViewItemAt @@ -23,6 +31,88 @@ public class WorkbookRangeViewItemAtRequest extends BaseWorkbookRangeViewItemAtR * @param requestOptions the options for this request */ public WorkbookRangeViewItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRangeView.class); } + + /** + * Patches the WorkbookRangeViewItemAt + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRangeView); + } + + /** + * Patches the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRangeView); + } + + /** + * Puts the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRangeView); + } + + /** + * Puts the WorkbookRangeViewItemAt + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRangeView); + } + /** + * Gets the WorkbookRangeView + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeView + * + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeView get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeViewItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeViewItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeViewItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeViewItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequestBuilder.java index f4c9057d4f5..f3b519cc585 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Item At Request Builder. */ -public class WorkbookRangeViewItemAtRequestBuilder extends BaseWorkbookRangeViewItemAtRequestBuilder implements IWorkbookRangeViewItemAtRequestBuilder { +public class WorkbookRangeViewItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeViewItemAtRequestBuilder { /** * The request builder for this WorkbookRangeViewItemAt @@ -24,6 +29,36 @@ public class WorkbookRangeViewItemAtRequestBuilder extends BaseWorkbookRangeView * @param index the index */ public WorkbookRangeViewItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookRangeViewItemAtRequest + * + * @return the IWorkbookRangeViewItemAtRequest instance + */ + public IWorkbookRangeViewItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeViewItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeViewItemAtRequest instance + */ + public IWorkbookRangeViewItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeViewItemAtRequest request = new WorkbookRangeViewItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequest.java index 672008908d0..b8944094505 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Range Request. */ -public class WorkbookRangeViewRangeRequest extends BaseWorkbookRangeViewRangeRequest implements IWorkbookRangeViewRangeRequest { +public class WorkbookRangeViewRangeRequest extends BaseRequest implements IWorkbookRangeViewRangeRequest { /** * The request for this WorkbookRangeViewRange @@ -23,6 +31,88 @@ public class WorkbookRangeViewRangeRequest extends BaseWorkbookRangeViewRangeReq * @param requestOptions the options for this request */ public WorkbookRangeViewRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookRangeViewRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookRangeViewRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeViewRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeViewRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeViewRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeViewRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequestBuilder.java index eeb6785b130..d467d913c0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Range Request Builder. */ -public class WorkbookRangeViewRangeRequestBuilder extends BaseWorkbookRangeViewRangeRequestBuilder implements IWorkbookRangeViewRangeRequestBuilder { +public class WorkbookRangeViewRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeViewRangeRequestBuilder { /** * The request builder for this WorkbookRangeViewRange @@ -25,4 +30,33 @@ public class WorkbookRangeViewRangeRequestBuilder extends BaseWorkbookRangeViewR public WorkbookRangeViewRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeViewRangeRequest + * + * @return the IWorkbookRangeViewRangeRequest instance + */ + public IWorkbookRangeViewRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeViewRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeViewRangeRequest instance + */ + public IWorkbookRangeViewRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeViewRangeRequest request = new WorkbookRangeViewRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequest.java index 36e80302ac6..2dfffee0191 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewRequest; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Request. */ -public class WorkbookRangeViewRequest extends BaseWorkbookRangeViewRequest implements IWorkbookRangeViewRequest { - +public class WorkbookRangeViewRequest extends BaseRequest implements IWorkbookRangeViewRequest { + /** * The request for the WorkbookRangeView * @@ -26,4 +32,107 @@ public class WorkbookRangeViewRequest extends BaseWorkbookRangeViewRequest imple public WorkbookRangeViewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookRangeView.class); } + + /** + * Gets the WorkbookRangeView from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeView from the service + * + * @return the WorkbookRangeView from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeView get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookRangeView with a source + * + * @param sourceWorkbookRangeView the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookRangeView sourceWorkbookRangeView, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookRangeView); + } + + /** + * Patches this WorkbookRangeView with a source + * + * @param sourceWorkbookRangeView the source object with updates + * @return the updated WorkbookRangeView + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeView patch(final WorkbookRangeView sourceWorkbookRangeView) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookRangeView); + } + + /** + * Creates a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookRangeView); + } + + /** + * Creates a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the new object to create + * @return the created WorkbookRangeView + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException { + return send(HttpMethod.POST, newWorkbookRangeView); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeViewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeViewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeViewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeViewRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequestBuilder.java index 08022a53880..2023e5f0b8b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequestBuilder.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewRequest; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRangeViewRangeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeViewRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range View Request Builder. */ -public class WorkbookRangeViewRequestBuilder extends BaseWorkbookRangeViewRequestBuilder implements IWorkbookRangeViewRequestBuilder { +public class WorkbookRangeViewRequestBuilder extends BaseRequestBuilder implements IWorkbookRangeViewRequestBuilder { /** * The request builder for the WorkbookRangeView @@ -25,4 +34,37 @@ public class WorkbookRangeViewRequestBuilder extends BaseWorkbookRangeViewReques public WorkbookRangeViewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRangeViewRequest instance + */ + public IWorkbookRangeViewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRangeViewRequest instance + */ + public IWorkbookRangeViewRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRangeViewRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IWorkbookRangeViewCollectionRequestBuilder rows() { + return new WorkbookRangeViewCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("rows"), getClient(), null); + } + + public IWorkbookRangeViewRequestBuilder rows(final String id) { + return new WorkbookRangeViewRequestBuilder(getRequestUrlWithAdditionalSegment("rows") + "/" + id, getClient(), null); + } + + public IWorkbookRangeViewRangeRequestBuilder range() { + return new WorkbookRangeViewRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequest.java index e7a7306150e..bf47979b564 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRangeView; +import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeVisibleViewRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeVisibleViewRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Visible View Request. */ -public class WorkbookRangeVisibleViewRequest extends BaseWorkbookRangeVisibleViewRequest implements IWorkbookRangeVisibleViewRequest { +public class WorkbookRangeVisibleViewRequest extends BaseRequest implements IWorkbookRangeVisibleViewRequest { /** * The request for this WorkbookRangeVisibleView @@ -23,6 +31,88 @@ public class WorkbookRangeVisibleViewRequest extends BaseWorkbookRangeVisibleVie * @param requestOptions the options for this request */ public WorkbookRangeVisibleViewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRangeView.class); } + + /** + * Patches the WorkbookRangeVisibleView + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRangeView); + } + + /** + * Patches the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRangeView); + } + + /** + * Puts the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRangeView); + } + + /** + * Puts the WorkbookRangeVisibleView + * + * @param srcWorkbookRangeView the WorkbookRangeView to PUT + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRangeView); + } + /** + * Gets the WorkbookRangeView + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRangeView + * + * @return the WorkbookRangeView + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRangeView get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRangeVisibleViewRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRangeVisibleViewRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRangeVisibleViewRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRangeVisibleViewRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequestBuilder.java index 6d58155efaa..c5f240d7a13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeVisibleViewRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; +import com.microsoft.graph.requests.extensions.WorkbookRangeVisibleViewRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRangeVisibleViewRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Range Visible View Request Builder. */ -public class WorkbookRangeVisibleViewRequestBuilder extends BaseWorkbookRangeVisibleViewRequestBuilder implements IWorkbookRangeVisibleViewRequestBuilder { +public class WorkbookRangeVisibleViewRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookRangeVisibleViewRequestBuilder { /** * The request builder for this WorkbookRangeVisibleView @@ -25,4 +30,33 @@ public class WorkbookRangeVisibleViewRequestBuilder extends BaseWorkbookRangeVis public WorkbookRangeVisibleViewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRangeVisibleViewRequest + * + * @return the IWorkbookRangeVisibleViewRequest instance + */ + public IWorkbookRangeVisibleViewRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRangeVisibleViewRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRangeVisibleViewRequest instance + */ + public IWorkbookRangeVisibleViewRequest buildRequest(final java.util.List requestOptions) { + WorkbookRangeVisibleViewRequest request = new WorkbookRangeVisibleViewRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequest.java index 30316b330f6..0e3d95420cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; +import com.microsoft.graph.requests.extensions.WorkbookRefreshSessionRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRefreshSessionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Refresh Session Request. */ -public class WorkbookRefreshSessionRequest extends BaseWorkbookRefreshSessionRequest implements IWorkbookRefreshSessionRequest { +public class WorkbookRefreshSessionRequest extends BaseRequest implements IWorkbookRefreshSessionRequest { /** * The request for this WorkbookRefreshSession @@ -23,6 +30,35 @@ public class WorkbookRefreshSessionRequest extends BaseWorkbookRefreshSessionReq * @param requestOptions the options for this request */ public WorkbookRefreshSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookRefreshSession + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookRefreshSession + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequestBuilder.java index 3a116623f79..0c945cab0ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRefreshSessionRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; +import com.microsoft.graph.requests.extensions.WorkbookRefreshSessionRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRefreshSessionRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Refresh Session Request Builder. */ -public class WorkbookRefreshSessionRequestBuilder extends BaseWorkbookRefreshSessionRequestBuilder implements IWorkbookRefreshSessionRequestBuilder { +public class WorkbookRefreshSessionRequestBuilder extends BaseActionRequestBuilder implements IWorkbookRefreshSessionRequestBuilder { /** * The request builder for this WorkbookRefreshSession @@ -25,4 +30,29 @@ public class WorkbookRefreshSessionRequestBuilder extends BaseWorkbookRefreshSes public WorkbookRefreshSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookRefreshSessionRequest + * + * @return the IWorkbookRefreshSessionRequest instance + */ + public IWorkbookRefreshSessionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookRefreshSessionRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookRefreshSessionRequest instance + */ + public IWorkbookRefreshSessionRequest buildRequest(final java.util.List requestOptions) { + WorkbookRefreshSessionRequest request = new WorkbookRefreshSessionRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequest.java index 4f1c4585a12..5f0e780cee7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRequest; +import com.microsoft.graph.requests.extensions.WorkbookRequest; +import com.microsoft.graph.models.extensions.Workbook; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.Workbook; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Request. */ -public class WorkbookRequest extends BaseWorkbookRequest implements IWorkbookRequest { - +public class WorkbookRequest extends BaseRequest implements IWorkbookRequest { + /** * The request for the Workbook * @@ -26,4 +32,107 @@ public class WorkbookRequest extends BaseWorkbookRequest implements IWorkbookReq public WorkbookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, Workbook.class); } + + /** + * Gets the Workbook from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Workbook from the service + * + * @return the Workbook from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Workbook get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this Workbook with a source + * + * @param sourceWorkbook the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final Workbook sourceWorkbook, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbook); + } + + /** + * Patches this Workbook with a source + * + * @param sourceWorkbook the source object with updates + * @return the updated Workbook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Workbook patch(final Workbook sourceWorkbook) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbook); + } + + /** + * Creates a Workbook with a new object + * + * @param newWorkbook the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final Workbook newWorkbook, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbook); + } + + /** + * Creates a Workbook with a new object + * + * @param newWorkbook the new object to create + * @return the created Workbook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Workbook post(final Workbook newWorkbook) throws ClientException { + return send(HttpMethod.POST, newWorkbook); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequestBuilder.java index ef410ff00f5..0e53bcc5d29 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequestBuilder.java @@ -3,17 +3,44 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookRequest; +import com.microsoft.graph.requests.extensions.WorkbookRequest; +import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookApplicationRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFunctionsRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookCreateSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookCloseSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookRefreshSessionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookProcessQueryRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Request Builder. */ -public class WorkbookRequestBuilder extends BaseWorkbookRequestBuilder implements IWorkbookRequestBuilder { +public class WorkbookRequestBuilder extends BaseRequestBuilder implements IWorkbookRequestBuilder { /** * The request builder for the Workbook @@ -25,4 +52,81 @@ public class WorkbookRequestBuilder extends BaseWorkbookRequestBuilder implement public WorkbookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookRequest instance + */ + public IWorkbookRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookRequest instance + */ + public IWorkbookRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookApplication + * + * @return the IWorkbookApplicationRequestBuilder instance + */ + public IWorkbookApplicationRequestBuilder application() { + return new WorkbookApplicationRequestBuilder(getRequestUrlWithAdditionalSegment("application"), getClient(), null); + } + public IWorkbookNamedItemCollectionRequestBuilder names() { + return new WorkbookNamedItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("names"), getClient(), null); + } + + public IWorkbookNamedItemRequestBuilder names(final String id) { + return new WorkbookNamedItemRequestBuilder(getRequestUrlWithAdditionalSegment("names") + "/" + id, getClient(), null); + } + public IWorkbookTableCollectionRequestBuilder tables() { + return new WorkbookTableCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tables"), getClient(), null); + } + + public IWorkbookTableRequestBuilder tables(final String id) { + return new WorkbookTableRequestBuilder(getRequestUrlWithAdditionalSegment("tables") + "/" + id, getClient(), null); + } + public IWorkbookWorksheetCollectionRequestBuilder worksheets() { + return new WorkbookWorksheetCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("worksheets"), getClient(), null); + } + + public IWorkbookWorksheetRequestBuilder worksheets(final String id) { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheets") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for WorkbookFunctions + * + * @return the IWorkbookFunctionsRequestBuilder instance + */ + public IWorkbookFunctionsRequestBuilder functions() { + return new WorkbookFunctionsRequestBuilder(getRequestUrlWithAdditionalSegment("functions"), getClient(), null); + } + + public IWorkbookCreateSessionRequestBuilder createSession(final Boolean persistChanges) { + return new WorkbookCreateSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createSession"), getClient(), null, persistChanges); + } + + public IWorkbookCloseSessionRequestBuilder closeSession() { + return new WorkbookCloseSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.closeSession"), getClient(), null); + } + + public IWorkbookRefreshSessionRequestBuilder refreshSession() { + return new WorkbookRefreshSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.refreshSession"), getClient(), null); + } + + public IWorkbookProcessQueryRequestBuilder processQuery(final byte[] input) { + return new WorkbookProcessQueryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.processQuery"), getClient(), null, input); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequest.java index 8b555d1958a..21952d06f3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableAddBody; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableAddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Add Request. */ -public class WorkbookTableAddRequest extends BaseWorkbookTableAddRequest implements IWorkbookTableAddRequest { +public class WorkbookTableAddRequest extends BaseRequest implements IWorkbookTableAddRequest { + protected final WorkbookTableAddBody body; /** * The request for this WorkbookTableAdd @@ -23,6 +32,49 @@ public class WorkbookTableAddRequest extends BaseWorkbookTableAddRequest impleme * @param requestOptions the options for this request */ public WorkbookTableAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookTable.class); + body = new WorkbookTableAddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookTable post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableAddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableAddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableAddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookTableAddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableAddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableAddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequestBuilder.java index 97e584f19c8..736c6a599dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableAddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableAddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableAddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Add Request Builder. */ -public class WorkbookTableAddRequestBuilder extends BaseWorkbookTableAddRequestBuilder implements IWorkbookTableAddRequestBuilder { +public class WorkbookTableAddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableAddRequestBuilder { /** * The request builder for this WorkbookTableAdd @@ -25,6 +30,41 @@ public class WorkbookTableAddRequestBuilder extends BaseWorkbookTableAddRequestB * @param hasHeaders the hasHeaders */ public WorkbookTableAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String address, final Boolean hasHeaders) { - super(requestUrl, client, requestOptions, address, hasHeaders); + super(requestUrl, client, requestOptions); + bodyParams.put("address", address); + bodyParams.put("hasHeaders", hasHeaders); + } + + /** + * Creates the IWorkbookTableAddRequest + * + * @return the IWorkbookTableAddRequest instance + */ + public IWorkbookTableAddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableAddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableAddRequest instance + */ + public IWorkbookTableAddRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableAddRequest request = new WorkbookTableAddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("address")) { + request.body.address = getParameter("address"); + } + + if (hasParameter("hasHeaders")) { + request.body.hasHeaders = getParameter("hasHeaders"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequest.java index 264e0b1e6b3..adbfaddd7f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableClearFiltersRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableClearFiltersRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Clear Filters Request. */ -public class WorkbookTableClearFiltersRequest extends BaseWorkbookTableClearFiltersRequest implements IWorkbookTableClearFiltersRequest { +public class WorkbookTableClearFiltersRequest extends BaseRequest implements IWorkbookTableClearFiltersRequest { /** * The request for this WorkbookTableClearFilters @@ -23,6 +30,35 @@ public class WorkbookTableClearFiltersRequest extends BaseWorkbookTableClearFilt * @param requestOptions the options for this request */ public WorkbookTableClearFiltersRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookTableClearFilters + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookTableClearFilters + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequestBuilder.java index 74660e8baa8..ac21a9912c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableClearFiltersRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableClearFiltersRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableClearFiltersRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Clear Filters Request Builder. */ -public class WorkbookTableClearFiltersRequestBuilder extends BaseWorkbookTableClearFiltersRequestBuilder implements IWorkbookTableClearFiltersRequestBuilder { +public class WorkbookTableClearFiltersRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableClearFiltersRequestBuilder { /** * The request builder for this WorkbookTableClearFilters @@ -25,4 +30,29 @@ public class WorkbookTableClearFiltersRequestBuilder extends BaseWorkbookTableCl public WorkbookTableClearFiltersRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableClearFiltersRequest + * + * @return the IWorkbookTableClearFiltersRequest instance + */ + public IWorkbookTableClearFiltersRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableClearFiltersRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableClearFiltersRequest instance + */ + public IWorkbookTableClearFiltersRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableClearFiltersRequest request = new WorkbookTableClearFiltersRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionPage.java index 62e59c814b2..6b93c852641 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Collection Page. */ -public class WorkbookTableCollectionPage extends BaseWorkbookTableCollectionPage implements IWorkbookTableCollectionPage { +public class WorkbookTableCollectionPage extends BaseCollectionPage implements IWorkbookTableCollectionPage { /** - * A collection page for WorkbookWorksheet. + * A collection page for WorkbookTable * - * @param response the serialized BaseWorkbookTableCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookTableCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookTableCollectionPage(final BaseWorkbookTableCollectionResponse response, final IWorkbookTableCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookTableCollectionPage(final WorkbookTableCollectionResponse response, final IWorkbookTableCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequest.java index cd036ba214f..c47b2dbe7e4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Collection Request. */ -public class WorkbookTableCollectionRequest extends BaseWorkbookTableCollectionRequest implements IWorkbookTableCollectionRequest { +public class WorkbookTableCollectionRequest extends BaseCollectionRequest implements IWorkbookTableCollectionRequest { /** - * The request for this collection of WorkbookWorksheet + * The request builder for this collection of WorkbookTable * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookTableCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookTableCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookTableCollectionResponse.class, IWorkbookTableCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookTableCollectionPage get() throws ClientException { + final WorkbookTableCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookTable newWorkbookTable, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookTable, callback); + } + + public WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookTable); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookTableCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookTableCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookTableCollectionRequest)this; + } + + public IWorkbookTableCollectionPage buildFromResponse(final WorkbookTableCollectionResponse response) { + final IWorkbookTableCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookTableCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookTableCollectionPage page = new WorkbookTableCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequestBuilder.java index 812637ccb05..f36a0121f3f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Collection Request Builder. */ -public class WorkbookTableCollectionRequestBuilder extends BaseWorkbookTableCollectionRequestBuilder implements IWorkbookTableCollectionRequestBuilder { +public class WorkbookTableCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookTableCollectionRequestBuilder { /** * The request builder for this collection of WorkbookWorksheet @@ -25,4 +33,30 @@ public class WorkbookTableCollectionRequestBuilder extends BaseWorkbookTableColl public WorkbookTableCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookTableCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookTableCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookTableRequestBuilder byId(final String id) { + return new WorkbookTableRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookTableAddRequestBuilder add(final String address, final Boolean hasHeaders) { + return new WorkbookTableAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, address, hasHeaders); + } + + public IWorkbookTableItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookTableItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookTableCountRequestBuilder count() { + return new WorkbookTableCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionResponse.java new file mode 100644 index 00000000000..0a71d2a6c76 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTable; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Table Collection Response. + */ +public class WorkbookTableCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookTable within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequest.java index d2ede4b4e0f..d9ecba29ce8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumnAddBody; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnAddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Add Request. */ -public class WorkbookTableColumnAddRequest extends BaseWorkbookTableColumnAddRequest implements IWorkbookTableColumnAddRequest { +public class WorkbookTableColumnAddRequest extends BaseRequest implements IWorkbookTableColumnAddRequest { + protected final WorkbookTableColumnAddBody body; /** * The request for this WorkbookTableColumnAdd @@ -23,6 +32,49 @@ public class WorkbookTableColumnAddRequest extends BaseWorkbookTableColumnAddReq * @param requestOptions the options for this request */ public WorkbookTableColumnAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookTableColumn.class); + body = new WorkbookTableColumnAddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookTableColumn post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnAddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnAddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableColumnAddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookTableColumnAddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnAddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnAddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequestBuilder.java index 7c1ac001168..20187ce5fca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnAddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnAddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnAddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Add Request Builder. */ -public class WorkbookTableColumnAddRequestBuilder extends BaseWorkbookTableColumnAddRequestBuilder implements IWorkbookTableColumnAddRequestBuilder { +public class WorkbookTableColumnAddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableColumnAddRequestBuilder { /** * The request builder for this WorkbookTableColumnAdd @@ -26,6 +31,46 @@ public class WorkbookTableColumnAddRequestBuilder extends BaseWorkbookTableColum * @param name the name */ public WorkbookTableColumnAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index, final com.google.gson.JsonElement values, final String name) { - super(requestUrl, client, requestOptions, index, values, name); + super(requestUrl, client, requestOptions); + bodyParams.put("index", index); + bodyParams.put("values", values); + bodyParams.put("name", name); + } + + /** + * Creates the IWorkbookTableColumnAddRequest + * + * @return the IWorkbookTableColumnAddRequest instance + */ + public IWorkbookTableColumnAddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnAddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnAddRequest instance + */ + public IWorkbookTableColumnAddRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnAddRequest request = new WorkbookTableColumnAddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("index")) { + request.body.index = getParameter("index"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + if (hasParameter("name")) { + request.body.name = getParameter("name"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionPage.java index e0aa2289a96..1c098971756 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Collection Page. */ -public class WorkbookTableColumnCollectionPage extends BaseWorkbookTableColumnCollectionPage implements IWorkbookTableColumnCollectionPage { +public class WorkbookTableColumnCollectionPage extends BaseCollectionPage implements IWorkbookTableColumnCollectionPage { /** - * A collection page for WorkbookTable. + * A collection page for WorkbookTableColumn * - * @param response the serialized BaseWorkbookTableColumnCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookTableColumnCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookTableColumnCollectionPage(final BaseWorkbookTableColumnCollectionResponse response, final IWorkbookTableColumnCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookTableColumnCollectionPage(final WorkbookTableColumnCollectionResponse response, final IWorkbookTableColumnCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequest.java index 87cf8d66b08..ec5030146e2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Collection Request. */ -public class WorkbookTableColumnCollectionRequest extends BaseWorkbookTableColumnCollectionRequest implements IWorkbookTableColumnCollectionRequest { +public class WorkbookTableColumnCollectionRequest extends BaseCollectionRequest implements IWorkbookTableColumnCollectionRequest { /** - * The request for this collection of WorkbookTable + * The request builder for this collection of WorkbookTableColumn * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookTableColumnCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookTableColumnCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookTableColumnCollectionResponse.class, IWorkbookTableColumnCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookTableColumnCollectionPage get() throws ClientException { + final WorkbookTableColumnCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookTableColumnRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookTableColumn, callback); + } + + public WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookTableColumnRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookTableColumn); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookTableColumnCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookTableColumnCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableColumnCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookTableColumnCollectionRequest)this; + } + + public IWorkbookTableColumnCollectionPage buildFromResponse(final WorkbookTableColumnCollectionResponse response) { + final IWorkbookTableColumnCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookTableColumnCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookTableColumnCollectionPage page = new WorkbookTableColumnCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequestBuilder.java index 3ddbe1b1383..4683bcb16f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Collection Request Builder. */ -public class WorkbookTableColumnCollectionRequestBuilder extends BaseWorkbookTableColumnCollectionRequestBuilder implements IWorkbookTableColumnCollectionRequestBuilder { +public class WorkbookTableColumnCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookTableColumnCollectionRequestBuilder { /** * The request builder for this collection of WorkbookTable @@ -25,4 +33,30 @@ public class WorkbookTableColumnCollectionRequestBuilder extends BaseWorkbookTab public WorkbookTableColumnCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookTableColumnCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookTableColumnCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableColumnCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookTableColumnRequestBuilder byId(final String id) { + return new WorkbookTableColumnRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookTableColumnAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values, final String name) { + return new WorkbookTableColumnAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, index, values, name); + } + + public IWorkbookTableColumnItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookTableColumnItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookTableColumnCountRequestBuilder count() { + return new WorkbookTableColumnCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionResponse.java new file mode 100644 index 00000000000..256c310938a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Table Column Collection Response. + */ +public class WorkbookTableColumnCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookTableColumn within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequest.java index 5e3781d2a6e..c55b6310e4e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Count Request. */ -public class WorkbookTableColumnCountRequest extends BaseWorkbookTableColumnCountRequest implements IWorkbookTableColumnCountRequest { +public class WorkbookTableColumnCountRequest extends BaseRequest implements IWorkbookTableColumnCountRequest { /** * The request for this WorkbookTableColumnCount @@ -23,6 +30,48 @@ public class WorkbookTableColumnCountRequest extends BaseWorkbookTableColumnCoun * @param requestOptions the options for this request */ public WorkbookTableColumnCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequestBuilder.java index c119f3566e1..8ef1c0f5b68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Count Request Builder. */ -public class WorkbookTableColumnCountRequestBuilder extends BaseWorkbookTableColumnCountRequestBuilder implements IWorkbookTableColumnCountRequestBuilder { +public class WorkbookTableColumnCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableColumnCountRequestBuilder { /** * The request builder for this WorkbookTableColumnCount @@ -25,4 +30,33 @@ public class WorkbookTableColumnCountRequestBuilder extends BaseWorkbookTableCol public WorkbookTableColumnCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableColumnCountRequest + * + * @return the IWorkbookTableColumnCountRequest instance + */ + public IWorkbookTableColumnCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnCountRequest instance + */ + public IWorkbookTableColumnCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnCountRequest request = new WorkbookTableColumnCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequest.java index c58bf478c8c..c24a7f393b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnDataBodyRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnDataBodyRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Data Body Range Request. */ -public class WorkbookTableColumnDataBodyRangeRequest extends BaseWorkbookTableColumnDataBodyRangeRequest implements IWorkbookTableColumnDataBodyRangeRequest { +public class WorkbookTableColumnDataBodyRangeRequest extends BaseRequest implements IWorkbookTableColumnDataBodyRangeRequest { /** * The request for this WorkbookTableColumnDataBodyRange @@ -23,6 +31,88 @@ public class WorkbookTableColumnDataBodyRangeRequest extends BaseWorkbookTableCo * @param requestOptions the options for this request */ public WorkbookTableColumnDataBodyRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableColumnDataBodyRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnDataBodyRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnDataBodyRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnDataBodyRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnDataBodyRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequestBuilder.java index a533f3e4a9f..bc79644b884 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnDataBodyRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnDataBodyRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnDataBodyRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Data Body Range Request Builder. */ -public class WorkbookTableColumnDataBodyRangeRequestBuilder extends BaseWorkbookTableColumnDataBodyRangeRequestBuilder implements IWorkbookTableColumnDataBodyRangeRequestBuilder { +public class WorkbookTableColumnDataBodyRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableColumnDataBodyRangeRequestBuilder { /** * The request builder for this WorkbookTableColumnDataBodyRange @@ -25,4 +30,33 @@ public class WorkbookTableColumnDataBodyRangeRequestBuilder extends BaseWorkbook public WorkbookTableColumnDataBodyRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableColumnDataBodyRangeRequest + * + * @return the IWorkbookTableColumnDataBodyRangeRequest instance + */ + public IWorkbookTableColumnDataBodyRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnDataBodyRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnDataBodyRangeRequest instance + */ + public IWorkbookTableColumnDataBodyRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnDataBodyRangeRequest request = new WorkbookTableColumnDataBodyRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequest.java index 7fdaa71d830..800b56775eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnHeaderRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnHeaderRowRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Header Row Range Request. */ -public class WorkbookTableColumnHeaderRowRangeRequest extends BaseWorkbookTableColumnHeaderRowRangeRequest implements IWorkbookTableColumnHeaderRowRangeRequest { +public class WorkbookTableColumnHeaderRowRangeRequest extends BaseRequest implements IWorkbookTableColumnHeaderRowRangeRequest { /** * The request for this WorkbookTableColumnHeaderRowRange @@ -23,6 +31,88 @@ public class WorkbookTableColumnHeaderRowRangeRequest extends BaseWorkbookTableC * @param requestOptions the options for this request */ public WorkbookTableColumnHeaderRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableColumnHeaderRowRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnHeaderRowRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnHeaderRowRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnHeaderRowRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnHeaderRowRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequestBuilder.java index 8e4734c46ac..2f0c970b1fa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnHeaderRowRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnHeaderRowRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnHeaderRowRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Header Row Range Request Builder. */ -public class WorkbookTableColumnHeaderRowRangeRequestBuilder extends BaseWorkbookTableColumnHeaderRowRangeRequestBuilder implements IWorkbookTableColumnHeaderRowRangeRequestBuilder { +public class WorkbookTableColumnHeaderRowRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableColumnHeaderRowRangeRequestBuilder { /** * The request builder for this WorkbookTableColumnHeaderRowRange @@ -25,4 +30,33 @@ public class WorkbookTableColumnHeaderRowRangeRequestBuilder extends BaseWorkboo public WorkbookTableColumnHeaderRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableColumnHeaderRowRangeRequest + * + * @return the IWorkbookTableColumnHeaderRowRangeRequest instance + */ + public IWorkbookTableColumnHeaderRowRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnHeaderRowRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnHeaderRowRangeRequest instance + */ + public IWorkbookTableColumnHeaderRowRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnHeaderRowRangeRequest request = new WorkbookTableColumnHeaderRowRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequest.java index 331bb5051f4..a8028e09a32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Item At Request. */ -public class WorkbookTableColumnItemAtRequest extends BaseWorkbookTableColumnItemAtRequest implements IWorkbookTableColumnItemAtRequest { +public class WorkbookTableColumnItemAtRequest extends BaseRequest implements IWorkbookTableColumnItemAtRequest { /** * The request for this WorkbookTableColumnItemAt @@ -23,6 +31,88 @@ public class WorkbookTableColumnItemAtRequest extends BaseWorkbookTableColumnIte * @param requestOptions the options for this request */ public WorkbookTableColumnItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookTableColumn.class); } + + /** + * Patches the WorkbookTableColumnItemAt + * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookTableColumn); + } + + /** + * Patches the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH + * @return the WorkbookTableColumn + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTableColumn patch(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookTableColumn); + } + + /** + * Puts the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookTableColumn); + } + + /** + * Puts the WorkbookTableColumnItemAt + * + * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT + * @return the WorkbookTableColumn + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTableColumn put(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookTableColumn); + } + /** + * Gets the WorkbookTableColumn + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTableColumn + * + * @return the WorkbookTableColumn + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTableColumn get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequestBuilder.java index 743b1d2db3e..fda8b42a989 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Item At Request Builder. */ -public class WorkbookTableColumnItemAtRequestBuilder extends BaseWorkbookTableColumnItemAtRequestBuilder implements IWorkbookTableColumnItemAtRequestBuilder { +public class WorkbookTableColumnItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableColumnItemAtRequestBuilder { /** * The request builder for this WorkbookTableColumnItemAt @@ -24,6 +29,36 @@ public class WorkbookTableColumnItemAtRequestBuilder extends BaseWorkbookTableCo * @param index the index */ public WorkbookTableColumnItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookTableColumnItemAtRequest + * + * @return the IWorkbookTableColumnItemAtRequest instance + */ + public IWorkbookTableColumnItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnItemAtRequest instance + */ + public IWorkbookTableColumnItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnItemAtRequest request = new WorkbookTableColumnItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequest.java index 90e939090c7..ff3e146ab62 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Range Request. */ -public class WorkbookTableColumnRangeRequest extends BaseWorkbookTableColumnRangeRequest implements IWorkbookTableColumnRangeRequest { +public class WorkbookTableColumnRangeRequest extends BaseRequest implements IWorkbookTableColumnRangeRequest { /** * The request for this WorkbookTableColumnRange @@ -23,6 +31,88 @@ public class WorkbookTableColumnRangeRequest extends BaseWorkbookTableColumnRang * @param requestOptions the options for this request */ public WorkbookTableColumnRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableColumnRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequestBuilder.java index 6f05dbdd8af..5b8901b4d92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Range Request Builder. */ -public class WorkbookTableColumnRangeRequestBuilder extends BaseWorkbookTableColumnRangeRequestBuilder implements IWorkbookTableColumnRangeRequestBuilder { +public class WorkbookTableColumnRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableColumnRangeRequestBuilder { /** * The request builder for this WorkbookTableColumnRange @@ -25,4 +30,33 @@ public class WorkbookTableColumnRangeRequestBuilder extends BaseWorkbookTableCol public WorkbookTableColumnRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableColumnRangeRequest + * + * @return the IWorkbookTableColumnRangeRequest instance + */ + public IWorkbookTableColumnRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnRangeRequest instance + */ + public IWorkbookTableColumnRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnRangeRequest request = new WorkbookTableColumnRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequest.java index 7ef86560e29..9a87a665b8e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnRequest; +import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Request. */ -public class WorkbookTableColumnRequest extends BaseWorkbookTableColumnRequest implements IWorkbookTableColumnRequest { - +public class WorkbookTableColumnRequest extends BaseRequest implements IWorkbookTableColumnRequest { + /** * The request for the WorkbookTableColumn * @@ -26,4 +32,107 @@ public class WorkbookTableColumnRequest extends BaseWorkbookTableColumnRequest i public WorkbookTableColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookTableColumn.class); } + + /** + * Gets the WorkbookTableColumn from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTableColumn from the service + * + * @return the WorkbookTableColumn from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableColumn get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookTableColumn with a source + * + * @param sourceWorkbookTableColumn the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookTableColumn sourceWorkbookTableColumn, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookTableColumn); + } + + /** + * Patches this WorkbookTableColumn with a source + * + * @param sourceWorkbookTableColumn the source object with updates + * @return the updated WorkbookTableColumn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableColumn patch(final WorkbookTableColumn sourceWorkbookTableColumn) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookTableColumn); + } + + /** + * Creates a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookTableColumn); + } + + /** + * Creates a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the new object to create + * @return the created WorkbookTableColumn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException { + return send(HttpMethod.POST, newWorkbookTableColumn); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequestBuilder.java index e4add41b20f..ea3025977bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequestBuilder.java @@ -3,17 +3,30 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnRequest; +import com.microsoft.graph.requests.extensions.IWorkbookFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookFilterRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnDataBodyRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnHeaderRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnTotalRowRangeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Request Builder. */ -public class WorkbookTableColumnRequestBuilder extends BaseWorkbookTableColumnRequestBuilder implements IWorkbookTableColumnRequestBuilder { +public class WorkbookTableColumnRequestBuilder extends BaseRequestBuilder implements IWorkbookTableColumnRequestBuilder { /** * The request builder for the WorkbookTableColumn @@ -25,4 +38,51 @@ public class WorkbookTableColumnRequestBuilder extends BaseWorkbookTableColumnRe public WorkbookTableColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookTableColumnRequest instance + */ + public IWorkbookTableColumnRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookTableColumnRequest instance + */ + public IWorkbookTableColumnRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableColumnRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + /** + * Gets the request builder for WorkbookFilter + * + * @return the IWorkbookFilterRequestBuilder instance + */ + public IWorkbookFilterRequestBuilder filter() { + return new WorkbookFilterRequestBuilder(getRequestUrlWithAdditionalSegment("filter"), getClient(), null); + } + + public IWorkbookTableColumnDataBodyRangeRequestBuilder dataBodyRange() { + return new WorkbookTableColumnDataBodyRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dataBodyRange"), getClient(), null); + } + + public IWorkbookTableColumnHeaderRowRangeRequestBuilder headerRowRange() { + return new WorkbookTableColumnHeaderRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.headerRowRange"), getClient(), null); + } + + public IWorkbookTableColumnRangeRequestBuilder range() { + return new WorkbookTableColumnRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); + } + + public IWorkbookTableColumnTotalRowRangeRequestBuilder totalRowRange() { + return new WorkbookTableColumnTotalRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.totalRowRange"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequest.java index 53548bd8574..7bc9717089c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnTotalRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnTotalRowRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Total Row Range Request. */ -public class WorkbookTableColumnTotalRowRangeRequest extends BaseWorkbookTableColumnTotalRowRangeRequest implements IWorkbookTableColumnTotalRowRangeRequest { +public class WorkbookTableColumnTotalRowRangeRequest extends BaseRequest implements IWorkbookTableColumnTotalRowRangeRequest { /** * The request for this WorkbookTableColumnTotalRowRange @@ -23,6 +31,88 @@ public class WorkbookTableColumnTotalRowRangeRequest extends BaseWorkbookTableCo * @param requestOptions the options for this request */ public WorkbookTableColumnTotalRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableColumnTotalRowRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableColumnTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableColumnTotalRowRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableColumnTotalRowRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableColumnTotalRowRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableColumnTotalRowRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequestBuilder.java index b5ed063c4db..4ce59c5d6f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnTotalRowRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnTotalRowRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableColumnTotalRowRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Column Total Row Range Request Builder. */ -public class WorkbookTableColumnTotalRowRangeRequestBuilder extends BaseWorkbookTableColumnTotalRowRangeRequestBuilder implements IWorkbookTableColumnTotalRowRangeRequestBuilder { +public class WorkbookTableColumnTotalRowRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableColumnTotalRowRangeRequestBuilder { /** * The request builder for this WorkbookTableColumnTotalRowRange @@ -25,4 +30,33 @@ public class WorkbookTableColumnTotalRowRangeRequestBuilder extends BaseWorkbook public WorkbookTableColumnTotalRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableColumnTotalRowRangeRequest + * + * @return the IWorkbookTableColumnTotalRowRangeRequest instance + */ + public IWorkbookTableColumnTotalRowRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableColumnTotalRowRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableColumnTotalRowRangeRequest instance + */ + public IWorkbookTableColumnTotalRowRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableColumnTotalRowRangeRequest request = new WorkbookTableColumnTotalRowRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequest.java index 9bb87176d16..f8c3d8aaa44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableConvertToRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableConvertToRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Convert To Range Request. */ -public class WorkbookTableConvertToRangeRequest extends BaseWorkbookTableConvertToRangeRequest implements IWorkbookTableConvertToRangeRequest { +public class WorkbookTableConvertToRangeRequest extends BaseRequest implements IWorkbookTableConvertToRangeRequest { /** * The request for this WorkbookTableConvertToRange @@ -23,6 +31,48 @@ public class WorkbookTableConvertToRangeRequest extends BaseWorkbookTableConvert * @param requestOptions the options for this request */ public WorkbookTableConvertToRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Creates the WorkbookTableConvertToRange + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, null); + } + + /** + * Creates the WorkbookTableConvertToRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange post() throws ClientException { + return send(HttpMethod.POST, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableConvertToRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableConvertToRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableConvertToRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableConvertToRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequestBuilder.java index 901428dd5ef..43cf15df437 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableConvertToRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableConvertToRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableConvertToRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Convert To Range Request Builder. */ -public class WorkbookTableConvertToRangeRequestBuilder extends BaseWorkbookTableConvertToRangeRequestBuilder implements IWorkbookTableConvertToRangeRequestBuilder { +public class WorkbookTableConvertToRangeRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableConvertToRangeRequestBuilder { /** * The request builder for this WorkbookTableConvertToRange @@ -25,4 +30,29 @@ public class WorkbookTableConvertToRangeRequestBuilder extends BaseWorkbookTable public WorkbookTableConvertToRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableConvertToRangeRequest + * + * @return the IWorkbookTableConvertToRangeRequest instance + */ + public IWorkbookTableConvertToRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableConvertToRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableConvertToRangeRequest instance + */ + public IWorkbookTableConvertToRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableConvertToRangeRequest request = new WorkbookTableConvertToRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequest.java index e8100835c87..d0074fedf1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Count Request. */ -public class WorkbookTableCountRequest extends BaseWorkbookTableCountRequest implements IWorkbookTableCountRequest { +public class WorkbookTableCountRequest extends BaseRequest implements IWorkbookTableCountRequest { /** * The request for this WorkbookTableCount @@ -23,6 +30,48 @@ public class WorkbookTableCountRequest extends BaseWorkbookTableCountRequest imp * @param requestOptions the options for this request */ public WorkbookTableCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequestBuilder.java index e677fab4c79..80790f3d334 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Count Request Builder. */ -public class WorkbookTableCountRequestBuilder extends BaseWorkbookTableCountRequestBuilder implements IWorkbookTableCountRequestBuilder { +public class WorkbookTableCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableCountRequestBuilder { /** * The request builder for this WorkbookTableCount @@ -25,4 +30,33 @@ public class WorkbookTableCountRequestBuilder extends BaseWorkbookTableCountRequ public WorkbookTableCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableCountRequest + * + * @return the IWorkbookTableCountRequest instance + */ + public IWorkbookTableCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableCountRequest instance + */ + public IWorkbookTableCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableCountRequest request = new WorkbookTableCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequest.java index d8456c9df80..00140d96cbf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableDataBodyRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableDataBodyRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Data Body Range Request. */ -public class WorkbookTableDataBodyRangeRequest extends BaseWorkbookTableDataBodyRangeRequest implements IWorkbookTableDataBodyRangeRequest { +public class WorkbookTableDataBodyRangeRequest extends BaseRequest implements IWorkbookTableDataBodyRangeRequest { /** * The request for this WorkbookTableDataBodyRange @@ -23,6 +31,88 @@ public class WorkbookTableDataBodyRangeRequest extends BaseWorkbookTableDataBody * @param requestOptions the options for this request */ public WorkbookTableDataBodyRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableDataBodyRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableDataBodyRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableDataBodyRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableDataBodyRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableDataBodyRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableDataBodyRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequestBuilder.java index 00bc737a3a4..3989083a653 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableDataBodyRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableDataBodyRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableDataBodyRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Data Body Range Request Builder. */ -public class WorkbookTableDataBodyRangeRequestBuilder extends BaseWorkbookTableDataBodyRangeRequestBuilder implements IWorkbookTableDataBodyRangeRequestBuilder { +public class WorkbookTableDataBodyRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableDataBodyRangeRequestBuilder { /** * The request builder for this WorkbookTableDataBodyRange @@ -25,4 +30,33 @@ public class WorkbookTableDataBodyRangeRequestBuilder extends BaseWorkbookTableD public WorkbookTableDataBodyRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableDataBodyRangeRequest + * + * @return the IWorkbookTableDataBodyRangeRequest instance + */ + public IWorkbookTableDataBodyRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableDataBodyRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableDataBodyRangeRequest instance + */ + public IWorkbookTableDataBodyRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableDataBodyRangeRequest request = new WorkbookTableDataBodyRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequest.java index c93c8dcc323..07588a49bc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableHeaderRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableHeaderRowRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Header Row Range Request. */ -public class WorkbookTableHeaderRowRangeRequest extends BaseWorkbookTableHeaderRowRangeRequest implements IWorkbookTableHeaderRowRangeRequest { +public class WorkbookTableHeaderRowRangeRequest extends BaseRequest implements IWorkbookTableHeaderRowRangeRequest { /** * The request for this WorkbookTableHeaderRowRange @@ -23,6 +31,88 @@ public class WorkbookTableHeaderRowRangeRequest extends BaseWorkbookTableHeaderR * @param requestOptions the options for this request */ public WorkbookTableHeaderRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableHeaderRowRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableHeaderRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableHeaderRowRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableHeaderRowRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableHeaderRowRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableHeaderRowRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequestBuilder.java index 8192eb3b783..885511446ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableHeaderRowRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableHeaderRowRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableHeaderRowRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Header Row Range Request Builder. */ -public class WorkbookTableHeaderRowRangeRequestBuilder extends BaseWorkbookTableHeaderRowRangeRequestBuilder implements IWorkbookTableHeaderRowRangeRequestBuilder { +public class WorkbookTableHeaderRowRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableHeaderRowRangeRequestBuilder { /** * The request builder for this WorkbookTableHeaderRowRange @@ -25,4 +30,33 @@ public class WorkbookTableHeaderRowRangeRequestBuilder extends BaseWorkbookTable public WorkbookTableHeaderRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableHeaderRowRangeRequest + * + * @return the IWorkbookTableHeaderRowRangeRequest instance + */ + public IWorkbookTableHeaderRowRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableHeaderRowRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableHeaderRowRangeRequest instance + */ + public IWorkbookTableHeaderRowRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableHeaderRowRangeRequest request = new WorkbookTableHeaderRowRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequest.java index 57acaefc549..33a5956aeb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Item At Request. */ -public class WorkbookTableItemAtRequest extends BaseWorkbookTableItemAtRequest implements IWorkbookTableItemAtRequest { +public class WorkbookTableItemAtRequest extends BaseRequest implements IWorkbookTableItemAtRequest { /** * The request for this WorkbookTableItemAt @@ -23,6 +31,88 @@ public class WorkbookTableItemAtRequest extends BaseWorkbookTableItemAtRequest i * @param requestOptions the options for this request */ public WorkbookTableItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookTable.class); } + + /** + * Patches the WorkbookTableItemAt + * @param srcWorkbookTable the WorkbookTable with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookTable srcWorkbookTable, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookTable); + } + + /** + * Patches the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable with which to PATCH + * @return the WorkbookTable + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTable patch(WorkbookTable srcWorkbookTable) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookTable); + } + + /** + * Puts the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookTable srcWorkbookTable, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookTable); + } + + /** + * Puts the WorkbookTableItemAt + * + * @param srcWorkbookTable the WorkbookTable to PUT + * @return the WorkbookTable + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTable put(WorkbookTable srcWorkbookTable) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookTable); + } + /** + * Gets the WorkbookTable + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTable + * + * @return the WorkbookTable + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTable get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequestBuilder.java index 8e88bbc0194..28ddf13e558 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Item At Request Builder. */ -public class WorkbookTableItemAtRequestBuilder extends BaseWorkbookTableItemAtRequestBuilder implements IWorkbookTableItemAtRequestBuilder { +public class WorkbookTableItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableItemAtRequestBuilder { /** * The request builder for this WorkbookTableItemAt @@ -24,6 +29,36 @@ public class WorkbookTableItemAtRequestBuilder extends BaseWorkbookTableItemAtRe * @param index the index */ public WorkbookTableItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookTableItemAtRequest + * + * @return the IWorkbookTableItemAtRequest instance + */ + public IWorkbookTableItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableItemAtRequest instance + */ + public IWorkbookTableItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableItemAtRequest request = new WorkbookTableItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequest.java index 75257a0bdba..86414f3e8da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Range Request. */ -public class WorkbookTableRangeRequest extends BaseWorkbookTableRangeRequest implements IWorkbookTableRangeRequest { +public class WorkbookTableRangeRequest extends BaseRequest implements IWorkbookTableRangeRequest { /** * The request for this WorkbookTableRange @@ -23,6 +31,88 @@ public class WorkbookTableRangeRequest extends BaseWorkbookTableRangeRequest imp * @param requestOptions the options for this request */ public WorkbookTableRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequestBuilder.java index a2f70dbd6be..20c0e7cee10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Range Request Builder. */ -public class WorkbookTableRangeRequestBuilder extends BaseWorkbookTableRangeRequestBuilder implements IWorkbookTableRangeRequestBuilder { +public class WorkbookTableRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableRangeRequestBuilder { /** * The request builder for this WorkbookTableRange @@ -25,4 +30,33 @@ public class WorkbookTableRangeRequestBuilder extends BaseWorkbookTableRangeRequ public WorkbookTableRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableRangeRequest + * + * @return the IWorkbookTableRangeRequest instance + */ + public IWorkbookTableRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRangeRequest instance + */ + public IWorkbookTableRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableRangeRequest request = new WorkbookTableRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequest.java index dc1a750b002..dc2b449fea1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableReapplyFiltersRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableReapplyFiltersRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Reapply Filters Request. */ -public class WorkbookTableReapplyFiltersRequest extends BaseWorkbookTableReapplyFiltersRequest implements IWorkbookTableReapplyFiltersRequest { +public class WorkbookTableReapplyFiltersRequest extends BaseRequest implements IWorkbookTableReapplyFiltersRequest { /** * The request for this WorkbookTableReapplyFilters @@ -23,6 +30,35 @@ public class WorkbookTableReapplyFiltersRequest extends BaseWorkbookTableReapply * @param requestOptions the options for this request */ public WorkbookTableReapplyFiltersRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookTableReapplyFilters + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookTableReapplyFilters + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequestBuilder.java index 3060a28add2..42b42377d15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableReapplyFiltersRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableReapplyFiltersRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableReapplyFiltersRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Reapply Filters Request Builder. */ -public class WorkbookTableReapplyFiltersRequestBuilder extends BaseWorkbookTableReapplyFiltersRequestBuilder implements IWorkbookTableReapplyFiltersRequestBuilder { +public class WorkbookTableReapplyFiltersRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableReapplyFiltersRequestBuilder { /** * The request builder for this WorkbookTableReapplyFilters @@ -25,4 +30,29 @@ public class WorkbookTableReapplyFiltersRequestBuilder extends BaseWorkbookTable public WorkbookTableReapplyFiltersRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableReapplyFiltersRequest + * + * @return the IWorkbookTableReapplyFiltersRequest instance + */ + public IWorkbookTableReapplyFiltersRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableReapplyFiltersRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableReapplyFiltersRequest instance + */ + public IWorkbookTableReapplyFiltersRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableReapplyFiltersRequest request = new WorkbookTableReapplyFiltersRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequest.java index 21de7682980..3b9b0586264 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRequest; +import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookTable; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Request. */ -public class WorkbookTableRequest extends BaseWorkbookTableRequest implements IWorkbookTableRequest { - +public class WorkbookTableRequest extends BaseRequest implements IWorkbookTableRequest { + /** * The request for the WorkbookTable * @@ -26,4 +32,107 @@ public class WorkbookTableRequest extends BaseWorkbookTableRequest implements IW public WorkbookTableRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookTable.class); } + + /** + * Gets the WorkbookTable from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTable from the service + * + * @return the WorkbookTable from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTable get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookTable with a source + * + * @param sourceWorkbookTable the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookTable sourceWorkbookTable, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookTable); + } + + /** + * Patches this WorkbookTable with a source + * + * @param sourceWorkbookTable the source object with updates + * @return the updated WorkbookTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTable patch(final WorkbookTable sourceWorkbookTable) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookTable); + } + + /** + * Creates a WorkbookTable with a new object + * + * @param newWorkbookTable the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookTable newWorkbookTable, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookTable); + } + + /** + * Creates a WorkbookTable with a new object + * + * @param newWorkbookTable the new object to create + * @return the created WorkbookTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException { + return send(HttpMethod.POST, newWorkbookTable); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequestBuilder.java index 22f82b12a79..e744082def0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequestBuilder.java @@ -3,17 +3,46 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRequest; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableColumnRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableRowCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableRowRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableSortRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableClearFiltersRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableConvertToRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableReapplyFiltersRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableDataBodyRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableHeaderRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableTotalRowRangeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Request Builder. */ -public class WorkbookTableRequestBuilder extends BaseWorkbookTableRequestBuilder implements IWorkbookTableRequestBuilder { +public class WorkbookTableRequestBuilder extends BaseRequestBuilder implements IWorkbookTableRequestBuilder { /** * The request builder for the WorkbookTable @@ -25,4 +54,86 @@ public class WorkbookTableRequestBuilder extends BaseWorkbookTableRequestBuilder public WorkbookTableRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookTableRequest instance + */ + public IWorkbookTableRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookTableRequest instance + */ + public IWorkbookTableRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IWorkbookTableColumnCollectionRequestBuilder columns() { + return new WorkbookTableColumnCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null); + } + + public IWorkbookTableColumnRequestBuilder columns(final String id) { + return new WorkbookTableColumnRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null); + } + public IWorkbookTableRowCollectionRequestBuilder rows() { + return new WorkbookTableRowCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("rows"), getClient(), null); + } + + public IWorkbookTableRowRequestBuilder rows(final String id) { + return new WorkbookTableRowRequestBuilder(getRequestUrlWithAdditionalSegment("rows") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for WorkbookTableSort + * + * @return the IWorkbookTableSortRequestBuilder instance + */ + public IWorkbookTableSortRequestBuilder sort() { + return new WorkbookTableSortRequestBuilder(getRequestUrlWithAdditionalSegment("sort"), getClient(), null); + } + + /** + * Gets the request builder for WorkbookWorksheet + * + * @return the IWorkbookWorksheetRequestBuilder instance + */ + public IWorkbookWorksheetRequestBuilder worksheet() { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); + } + + public IWorkbookTableClearFiltersRequestBuilder clearFilters() { + return new WorkbookTableClearFiltersRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clearFilters"), getClient(), null); + } + + public IWorkbookTableConvertToRangeRequestBuilder convertToRange() { + return new WorkbookTableConvertToRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.convertToRange"), getClient(), null); + } + + public IWorkbookTableReapplyFiltersRequestBuilder reapplyFilters() { + return new WorkbookTableReapplyFiltersRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reapplyFilters"), getClient(), null); + } + + public IWorkbookTableDataBodyRangeRequestBuilder dataBodyRange() { + return new WorkbookTableDataBodyRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dataBodyRange"), getClient(), null); + } + + public IWorkbookTableHeaderRowRangeRequestBuilder headerRowRange() { + return new WorkbookTableHeaderRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.headerRowRange"), getClient(), null); + } + + public IWorkbookTableRangeRequestBuilder range() { + return new WorkbookTableRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); + } + + public IWorkbookTableTotalRowRangeRequestBuilder totalRowRange() { + return new WorkbookTableTotalRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.totalRowRange"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequest.java index 4ccb6b848b9..a9fa885f740 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRowAddBody; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowAddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Add Request. */ -public class WorkbookTableRowAddRequest extends BaseWorkbookTableRowAddRequest implements IWorkbookTableRowAddRequest { +public class WorkbookTableRowAddRequest extends BaseRequest implements IWorkbookTableRowAddRequest { + protected final WorkbookTableRowAddBody body; /** * The request for this WorkbookTableRowAdd @@ -23,6 +32,49 @@ public class WorkbookTableRowAddRequest extends BaseWorkbookTableRowAddRequest i * @param requestOptions the options for this request */ public WorkbookTableRowAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookTableRow.class); + body = new WorkbookTableRowAddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookTableRow post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRowAddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRowAddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableRowAddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookTableRowAddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRowAddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRowAddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequestBuilder.java index 6b6e24cbd91..468eaa76a9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowAddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowAddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowAddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Add Request Builder. */ -public class WorkbookTableRowAddRequestBuilder extends BaseWorkbookTableRowAddRequestBuilder implements IWorkbookTableRowAddRequestBuilder { +public class WorkbookTableRowAddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableRowAddRequestBuilder { /** * The request builder for this WorkbookTableRowAdd @@ -25,6 +30,41 @@ public class WorkbookTableRowAddRequestBuilder extends BaseWorkbookTableRowAddRe * @param values the values */ public WorkbookTableRowAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions, index, values); + super(requestUrl, client, requestOptions); + bodyParams.put("index", index); + bodyParams.put("values", values); + } + + /** + * Creates the IWorkbookTableRowAddRequest + * + * @return the IWorkbookTableRowAddRequest instance + */ + public IWorkbookTableRowAddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableRowAddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowAddRequest instance + */ + public IWorkbookTableRowAddRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableRowAddRequest request = new WorkbookTableRowAddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("index")) { + request.body.index = getParameter("index"); + } + + if (hasParameter("values")) { + request.body.values = getParameter("values"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionPage.java index ab98ab883db..c57b508f034 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Collection Page. */ -public class WorkbookTableRowCollectionPage extends BaseWorkbookTableRowCollectionPage implements IWorkbookTableRowCollectionPage { +public class WorkbookTableRowCollectionPage extends BaseCollectionPage implements IWorkbookTableRowCollectionPage { /** - * A collection page for WorkbookTable. + * A collection page for WorkbookTableRow * - * @param response the serialized BaseWorkbookTableRowCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookTableRowCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookTableRowCollectionPage(final BaseWorkbookTableRowCollectionResponse response, final IWorkbookTableRowCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookTableRowCollectionPage(final WorkbookTableRowCollectionResponse response, final IWorkbookTableRowCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequest.java index 9a7af39eea4..40f1cdfbad5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Collection Request. */ -public class WorkbookTableRowCollectionRequest extends BaseWorkbookTableRowCollectionRequest implements IWorkbookTableRowCollectionRequest { +public class WorkbookTableRowCollectionRequest extends BaseCollectionRequest implements IWorkbookTableRowCollectionRequest { /** - * The request for this collection of WorkbookTable + * The request builder for this collection of WorkbookTableRow * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookTableRowCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookTableRowCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookTableRowCollectionResponse.class, IWorkbookTableRowCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookTableRowCollectionPage get() throws ClientException { + final WorkbookTableRowCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookTableRowRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookTableRow, callback); + } + + public WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookTableRowRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookTableRow); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRowCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookTableRowCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRowCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookTableRowCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableRowCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookTableRowCollectionRequest)this; + } + + public IWorkbookTableRowCollectionPage buildFromResponse(final WorkbookTableRowCollectionResponse response) { + final IWorkbookTableRowCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookTableRowCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookTableRowCollectionPage page = new WorkbookTableRowCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequestBuilder.java index f044b4a13b7..5cf8c44ff2d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Collection Request Builder. */ -public class WorkbookTableRowCollectionRequestBuilder extends BaseWorkbookTableRowCollectionRequestBuilder implements IWorkbookTableRowCollectionRequestBuilder { +public class WorkbookTableRowCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookTableRowCollectionRequestBuilder { /** * The request builder for this collection of WorkbookTable @@ -25,4 +33,30 @@ public class WorkbookTableRowCollectionRequestBuilder extends BaseWorkbookTableR public WorkbookTableRowCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookTableRowCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookTableRowCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableRowCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookTableRowRequestBuilder byId(final String id) { + return new WorkbookTableRowRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookTableRowAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values) { + return new WorkbookTableRowAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, index, values); + } + + public IWorkbookTableRowItemAtRequestBuilder itemAt(final Integer index) { + return new WorkbookTableRowItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); + } + + public IWorkbookTableRowCountRequestBuilder count() { + return new WorkbookTableRowCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionResponse.java new file mode 100644 index 00000000000..ff75567ee9b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRow; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Table Row Collection Response. + */ +public class WorkbookTableRowCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookTableRow within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequest.java index 0a80f829181..9bc350c9715 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowCountRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCountRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Count Request. */ -public class WorkbookTableRowCountRequest extends BaseWorkbookTableRowCountRequest implements IWorkbookTableRowCountRequest { +public class WorkbookTableRowCountRequest extends BaseRequest implements IWorkbookTableRowCountRequest { /** * The request for this WorkbookTableRowCount @@ -23,6 +30,48 @@ public class WorkbookTableRowCountRequest extends BaseWorkbookTableRowCountReque * @param requestOptions the options for this request */ public WorkbookTableRowCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Integer.class); } + + /** + * Gets the Integer + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the Integer + * + * @return the Integer + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public Integer get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRowCountRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRowCountRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRowCountRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRowCountRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequestBuilder.java index ce262679261..93f848578ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowCountRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowCountRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowCountRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Count Request Builder. */ -public class WorkbookTableRowCountRequestBuilder extends BaseWorkbookTableRowCountRequestBuilder implements IWorkbookTableRowCountRequestBuilder { +public class WorkbookTableRowCountRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableRowCountRequestBuilder { /** * The request builder for this WorkbookTableRowCount @@ -25,4 +30,33 @@ public class WorkbookTableRowCountRequestBuilder extends BaseWorkbookTableRowCou public WorkbookTableRowCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableRowCountRequest + * + * @return the IWorkbookTableRowCountRequest instance + */ + public IWorkbookTableRowCountRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableRowCountRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowCountRequest instance + */ + public IWorkbookTableRowCountRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableRowCountRequest request = new WorkbookTableRowCountRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequest.java index cb09e8a01f8..5ac5e6d5c63 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowItemAtRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowItemAtRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Item At Request. */ -public class WorkbookTableRowItemAtRequest extends BaseWorkbookTableRowItemAtRequest implements IWorkbookTableRowItemAtRequest { +public class WorkbookTableRowItemAtRequest extends BaseRequest implements IWorkbookTableRowItemAtRequest { /** * The request for this WorkbookTableRowItemAt @@ -23,6 +31,88 @@ public class WorkbookTableRowItemAtRequest extends BaseWorkbookTableRowItemAtReq * @param requestOptions the options for this request */ public WorkbookTableRowItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookTableRow.class); } + + /** + * Patches the WorkbookTableRowItemAt + * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookTableRow srcWorkbookTableRow, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookTableRow); + } + + /** + * Patches the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH + * @return the WorkbookTableRow + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTableRow patch(WorkbookTableRow srcWorkbookTableRow) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookTableRow); + } + + /** + * Puts the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookTableRow srcWorkbookTableRow, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookTableRow); + } + + /** + * Puts the WorkbookTableRowItemAt + * + * @param srcWorkbookTableRow the WorkbookTableRow to PUT + * @return the WorkbookTableRow + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTableRow put(WorkbookTableRow srcWorkbookTableRow) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookTableRow); + } + /** + * Gets the WorkbookTableRow + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTableRow + * + * @return the WorkbookTableRow + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookTableRow get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRowItemAtRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRowItemAtRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRowItemAtRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRowItemAtRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequestBuilder.java index 811ffb12710..bf1176cade0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowItemAtRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowItemAtRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowItemAtRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Item At Request Builder. */ -public class WorkbookTableRowItemAtRequestBuilder extends BaseWorkbookTableRowItemAtRequestBuilder implements IWorkbookTableRowItemAtRequestBuilder { +public class WorkbookTableRowItemAtRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableRowItemAtRequestBuilder { /** * The request builder for this WorkbookTableRowItemAt @@ -24,6 +29,36 @@ public class WorkbookTableRowItemAtRequestBuilder extends BaseWorkbookTableRowIt * @param index the index */ public WorkbookTableRowItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions, index); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("index", index)); + } + + /** + * Creates the IWorkbookTableRowItemAtRequest + * + * @return the IWorkbookTableRowItemAtRequest instance + */ + public IWorkbookTableRowItemAtRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableRowItemAtRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowItemAtRequest instance + */ + public IWorkbookTableRowItemAtRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableRowItemAtRequest request = new WorkbookTableRowItemAtRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequest.java index 98ff3c0b4b1..2fbc2afaf61 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Range Request. */ -public class WorkbookTableRowRangeRequest extends BaseWorkbookTableRowRangeRequest implements IWorkbookTableRowRangeRequest { +public class WorkbookTableRowRangeRequest extends BaseRequest implements IWorkbookTableRowRangeRequest { /** * The request for this WorkbookTableRowRange @@ -23,6 +31,88 @@ public class WorkbookTableRowRangeRequest extends BaseWorkbookTableRowRangeReque * @param requestOptions the options for this request */ public WorkbookTableRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableRowRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRowRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRowRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRowRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRowRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequestBuilder.java index 69946639ade..c0e41de0793 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Range Request Builder. */ -public class WorkbookTableRowRangeRequestBuilder extends BaseWorkbookTableRowRangeRequestBuilder implements IWorkbookTableRowRangeRequestBuilder { +public class WorkbookTableRowRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableRowRangeRequestBuilder { /** * The request builder for this WorkbookTableRowRange @@ -25,4 +30,33 @@ public class WorkbookTableRowRangeRequestBuilder extends BaseWorkbookTableRowRan public WorkbookTableRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableRowRangeRequest + * + * @return the IWorkbookTableRowRangeRequest instance + */ + public IWorkbookTableRowRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableRowRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableRowRangeRequest instance + */ + public IWorkbookTableRowRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableRowRangeRequest request = new WorkbookTableRowRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequest.java index 2804779dbc6..f65053958c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowRequest; +import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookTableRow; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Request. */ -public class WorkbookTableRowRequest extends BaseWorkbookTableRowRequest implements IWorkbookTableRowRequest { - +public class WorkbookTableRowRequest extends BaseRequest implements IWorkbookTableRowRequest { + /** * The request for the WorkbookTableRow * @@ -26,4 +32,107 @@ public class WorkbookTableRowRequest extends BaseWorkbookTableRowRequest impleme public WorkbookTableRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookTableRow.class); } + + /** + * Gets the WorkbookTableRow from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTableRow from the service + * + * @return the WorkbookTableRow from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableRow get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookTableRow with a source + * + * @param sourceWorkbookTableRow the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookTableRow sourceWorkbookTableRow, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookTableRow); + } + + /** + * Patches this WorkbookTableRow with a source + * + * @param sourceWorkbookTableRow the source object with updates + * @return the updated WorkbookTableRow + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableRow patch(final WorkbookTableRow sourceWorkbookTableRow) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookTableRow); + } + + /** + * Creates a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookTableRow); + } + + /** + * Creates a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the new object to create + * @return the created WorkbookTableRow + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException { + return send(HttpMethod.POST, newWorkbookTableRow); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableRowRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableRowRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableRowRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableRowRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequestBuilder.java index 4c1be781890..ed7f81c9ec4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableRowRequest; +import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableRowRangeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableRowRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Row Request Builder. */ -public class WorkbookTableRowRequestBuilder extends BaseWorkbookTableRowRequestBuilder implements IWorkbookTableRowRequestBuilder { +public class WorkbookTableRowRequestBuilder extends BaseRequestBuilder implements IWorkbookTableRowRequestBuilder { /** * The request builder for the WorkbookTableRow @@ -25,4 +30,30 @@ public class WorkbookTableRowRequestBuilder extends BaseWorkbookTableRowRequestB public WorkbookTableRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookTableRowRequest instance + */ + public IWorkbookTableRowRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookTableRowRequest instance + */ + public IWorkbookTableRowRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableRowRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookTableRowRangeRequestBuilder range() { + return new WorkbookTableRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequest.java index 7d41b1f8419..ef7361369cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookTableSortApplyBody; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortApplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortApplyRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Apply Request. */ -public class WorkbookTableSortApplyRequest extends BaseWorkbookTableSortApplyRequest implements IWorkbookTableSortApplyRequest { +public class WorkbookTableSortApplyRequest extends BaseRequest implements IWorkbookTableSortApplyRequest { + protected final WorkbookTableSortApplyBody body; /** * The request for this WorkbookTableSortApply @@ -23,6 +31,49 @@ public class WorkbookTableSortApplyRequest extends BaseWorkbookTableSortApplyReq * @param requestOptions the options for this request */ public WorkbookTableSortApplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookTableSortApplyBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableSortApplyRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableSortApplyRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookTableSortApplyRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookTableSortApplyRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableSortApplyRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableSortApplyRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequestBuilder.java index 05019806982..bab9317df56 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortApplyRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortApplyRequest; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookSortField; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortApplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Apply Request Builder. */ -public class WorkbookTableSortApplyRequestBuilder extends BaseWorkbookTableSortApplyRequestBuilder implements IWorkbookTableSortApplyRequestBuilder { +public class WorkbookTableSortApplyRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableSortApplyRequestBuilder { /** * The request builder for this WorkbookTableSortApply @@ -27,6 +32,46 @@ public class WorkbookTableSortApplyRequestBuilder extends BaseWorkbookTableSortA * @param method the method */ public WorkbookTableSortApplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List fields, final Boolean matchCase, final String method) { - super(requestUrl, client, requestOptions, fields, matchCase, method); + super(requestUrl, client, requestOptions); + bodyParams.put("fields", fields); + bodyParams.put("matchCase", matchCase); + bodyParams.put("method", method); + } + + /** + * Creates the IWorkbookTableSortApplyRequest + * + * @return the IWorkbookTableSortApplyRequest instance + */ + public IWorkbookTableSortApplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableSortApplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableSortApplyRequest instance + */ + public IWorkbookTableSortApplyRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableSortApplyRequest request = new WorkbookTableSortApplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("fields")) { + request.body.fields = getParameter("fields"); + } + + if (hasParameter("matchCase")) { + request.body.matchCase = getParameter("matchCase"); + } + + if (hasParameter("method")) { + request.body.method = getParameter("method"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequest.java index 4fa5c70e875..862fc13a09a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortClearRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortClearRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Clear Request. */ -public class WorkbookTableSortClearRequest extends BaseWorkbookTableSortClearRequest implements IWorkbookTableSortClearRequest { +public class WorkbookTableSortClearRequest extends BaseRequest implements IWorkbookTableSortClearRequest { /** * The request for this WorkbookTableSortClear @@ -23,6 +30,35 @@ public class WorkbookTableSortClearRequest extends BaseWorkbookTableSortClearReq * @param requestOptions the options for this request */ public WorkbookTableSortClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookTableSortClear + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookTableSortClear + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequestBuilder.java index 422710d05cb..20a6e3c1133 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortClearRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortClearRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortClearRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Clear Request Builder. */ -public class WorkbookTableSortClearRequestBuilder extends BaseWorkbookTableSortClearRequestBuilder implements IWorkbookTableSortClearRequestBuilder { +public class WorkbookTableSortClearRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableSortClearRequestBuilder { /** * The request builder for this WorkbookTableSortClear @@ -25,4 +30,29 @@ public class WorkbookTableSortClearRequestBuilder extends BaseWorkbookTableSortC public WorkbookTableSortClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableSortClearRequest + * + * @return the IWorkbookTableSortClearRequest instance + */ + public IWorkbookTableSortClearRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableSortClearRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableSortClearRequest instance + */ + public IWorkbookTableSortClearRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableSortClearRequest request = new WorkbookTableSortClearRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequest.java index 5ee179536c7..0ef4546e154 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortReapplyRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortReapplyRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Reapply Request. */ -public class WorkbookTableSortReapplyRequest extends BaseWorkbookTableSortReapplyRequest implements IWorkbookTableSortReapplyRequest { +public class WorkbookTableSortReapplyRequest extends BaseRequest implements IWorkbookTableSortReapplyRequest { /** * The request for this WorkbookTableSortReapply @@ -23,6 +30,35 @@ public class WorkbookTableSortReapplyRequest extends BaseWorkbookTableSortReappl * @param requestOptions the options for this request */ public WorkbookTableSortReapplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookTableSortReapply + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookTableSortReapply + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequestBuilder.java index 4b312085bfb..11c5f6764d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortReapplyRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortReapplyRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortReapplyRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Reapply Request Builder. */ -public class WorkbookTableSortReapplyRequestBuilder extends BaseWorkbookTableSortReapplyRequestBuilder implements IWorkbookTableSortReapplyRequestBuilder { +public class WorkbookTableSortReapplyRequestBuilder extends BaseActionRequestBuilder implements IWorkbookTableSortReapplyRequestBuilder { /** * The request builder for this WorkbookTableSortReapply @@ -25,4 +30,29 @@ public class WorkbookTableSortReapplyRequestBuilder extends BaseWorkbookTableSor public WorkbookTableSortReapplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableSortReapplyRequest + * + * @return the IWorkbookTableSortReapplyRequest instance + */ + public IWorkbookTableSortReapplyRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableSortReapplyRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableSortReapplyRequest instance + */ + public IWorkbookTableSortReapplyRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableSortReapplyRequest request = new WorkbookTableSortReapplyRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequest.java index 29817cb0b79..8f3bafcbcc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortRequest; +import com.microsoft.graph.models.extensions.WorkbookTableSort; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookTableSort; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Request. */ -public class WorkbookTableSortRequest extends BaseWorkbookTableSortRequest implements IWorkbookTableSortRequest { - +public class WorkbookTableSortRequest extends BaseRequest implements IWorkbookTableSortRequest { + /** * The request for the WorkbookTableSort * @@ -26,4 +32,107 @@ public class WorkbookTableSortRequest extends BaseWorkbookTableSortRequest imple public WorkbookTableSortRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookTableSort.class); } + + /** + * Gets the WorkbookTableSort from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookTableSort from the service + * + * @return the WorkbookTableSort from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableSort get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookTableSort with a source + * + * @param sourceWorkbookTableSort the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookTableSort sourceWorkbookTableSort, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookTableSort); + } + + /** + * Patches this WorkbookTableSort with a source + * + * @param sourceWorkbookTableSort the source object with updates + * @return the updated WorkbookTableSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableSort patch(final WorkbookTableSort sourceWorkbookTableSort) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookTableSort); + } + + /** + * Creates a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookTableSort newWorkbookTableSort, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookTableSort); + } + + /** + * Creates a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the new object to create + * @return the created WorkbookTableSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableSort post(final WorkbookTableSort newWorkbookTableSort) throws ClientException { + return send(HttpMethod.POST, newWorkbookTableSort); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableSortRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableSortRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableSortRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableSortRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequestBuilder.java index effde89bb71..4d36c76992e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequestBuilder.java @@ -3,17 +3,27 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableSortRequest; +import com.microsoft.graph.models.extensions.WorkbookSortField; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableSortApplyRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableSortClearRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableSortReapplyRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableSortRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Sort Request Builder. */ -public class WorkbookTableSortRequestBuilder extends BaseWorkbookTableSortRequestBuilder implements IWorkbookTableSortRequestBuilder { +public class WorkbookTableSortRequestBuilder extends BaseRequestBuilder implements IWorkbookTableSortRequestBuilder { /** * The request builder for the WorkbookTableSort @@ -25,4 +35,38 @@ public class WorkbookTableSortRequestBuilder extends BaseWorkbookTableSortReques public WorkbookTableSortRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookTableSortRequest instance + */ + public IWorkbookTableSortRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookTableSortRequest instance + */ + public IWorkbookTableSortRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookTableSortRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookTableSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final String method) { + return new WorkbookTableSortApplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.apply"), getClient(), null, fields, matchCase, method); + } + + public IWorkbookTableSortClearRequestBuilder clear() { + return new WorkbookTableSortClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); + } + + public IWorkbookTableSortReapplyRequestBuilder reapply() { + return new WorkbookTableSortReapplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reapply"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequest.java index c517b6adf88..2280f40c598 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableTotalRowRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableTotalRowRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Total Row Range Request. */ -public class WorkbookTableTotalRowRangeRequest extends BaseWorkbookTableTotalRowRangeRequest implements IWorkbookTableTotalRowRangeRequest { +public class WorkbookTableTotalRowRangeRequest extends BaseRequest implements IWorkbookTableTotalRowRangeRequest { /** * The request for this WorkbookTableTotalRowRange @@ -23,6 +31,88 @@ public class WorkbookTableTotalRowRangeRequest extends BaseWorkbookTableTotalRow * @param requestOptions the options for this request */ public WorkbookTableTotalRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookTableTotalRowRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookTableTotalRowRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookTableTotalRowRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookTableTotalRowRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookTableTotalRowRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookTableTotalRowRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequestBuilder.java index 4042dc26194..37e6c2e6ef3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableTotalRowRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookTableTotalRowRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookTableTotalRowRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Table Total Row Range Request Builder. */ -public class WorkbookTableTotalRowRangeRequestBuilder extends BaseWorkbookTableTotalRowRangeRequestBuilder implements IWorkbookTableTotalRowRangeRequestBuilder { +public class WorkbookTableTotalRowRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookTableTotalRowRangeRequestBuilder { /** * The request builder for this WorkbookTableTotalRowRange @@ -25,4 +30,33 @@ public class WorkbookTableTotalRowRangeRequestBuilder extends BaseWorkbookTableT public WorkbookTableTotalRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookTableTotalRowRangeRequest + * + * @return the IWorkbookTableTotalRowRangeRequest instance + */ + public IWorkbookTableTotalRowRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookTableTotalRowRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookTableTotalRowRangeRequest instance + */ + public IWorkbookTableTotalRowRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookTableTotalRowRangeRequest request = new WorkbookTableTotalRowRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequest.java index 9750fe588d7..6120d5137a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequest.java @@ -3,17 +3,26 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheetAddBody; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetAddRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetAddRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Add Request. */ -public class WorkbookWorksheetAddRequest extends BaseWorkbookWorksheetAddRequest implements IWorkbookWorksheetAddRequest { +public class WorkbookWorksheetAddRequest extends BaseRequest implements IWorkbookWorksheetAddRequest { + protected final WorkbookWorksheetAddBody body; /** * The request for this WorkbookWorksheetAdd @@ -23,6 +32,49 @@ public class WorkbookWorksheetAddRequest extends BaseWorkbookWorksheetAddRequest * @param requestOptions the options for this request */ public WorkbookWorksheetAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookWorksheet.class); + body = new WorkbookWorksheetAddBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public WorkbookWorksheet post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetAddRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetAddRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookWorksheetAddRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookWorksheetAddRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetAddRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetAddRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequestBuilder.java index b1c45abf9d5..2ddfd0b53f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetAddRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetAddRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetAddRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Add Request Builder. */ -public class WorkbookWorksheetAddRequestBuilder extends BaseWorkbookWorksheetAddRequestBuilder implements IWorkbookWorksheetAddRequestBuilder { +public class WorkbookWorksheetAddRequestBuilder extends BaseActionRequestBuilder implements IWorkbookWorksheetAddRequestBuilder { /** * The request builder for this WorkbookWorksheetAdd @@ -24,6 +29,36 @@ public class WorkbookWorksheetAddRequestBuilder extends BaseWorkbookWorksheetAdd * @param name the name */ public WorkbookWorksheetAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name) { - super(requestUrl, client, requestOptions, name); + super(requestUrl, client, requestOptions); + bodyParams.put("name", name); + } + + /** + * Creates the IWorkbookWorksheetAddRequest + * + * @return the IWorkbookWorksheetAddRequest instance + */ + public IWorkbookWorksheetAddRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookWorksheetAddRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetAddRequest instance + */ + public IWorkbookWorksheetAddRequest buildRequest(final java.util.List requestOptions) { + WorkbookWorksheetAddRequest request = new WorkbookWorksheetAddRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("name")) { + request.body.name = getParameter("name"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequest.java index 2cdbc8b8243..1bee050cdf9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetCellRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCellRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Cell Request. */ -public class WorkbookWorksheetCellRequest extends BaseWorkbookWorksheetCellRequest implements IWorkbookWorksheetCellRequest { +public class WorkbookWorksheetCellRequest extends BaseRequest implements IWorkbookWorksheetCellRequest { /** * The request for this WorkbookWorksheetCell @@ -23,6 +31,88 @@ public class WorkbookWorksheetCellRequest extends BaseWorkbookWorksheetCellReque * @param requestOptions the options for this request */ public WorkbookWorksheetCellRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookWorksheetCell + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookWorksheetCell + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetCellRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetCellRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetCellRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetCellRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequestBuilder.java index 571743fa3db..adc764f84e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCellRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetCellRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCellRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Cell Request Builder. */ -public class WorkbookWorksheetCellRequestBuilder extends BaseWorkbookWorksheetCellRequestBuilder implements IWorkbookWorksheetCellRequestBuilder { +public class WorkbookWorksheetCellRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookWorksheetCellRequestBuilder { /** * The request builder for this WorkbookWorksheetCell @@ -25,6 +30,37 @@ public class WorkbookWorksheetCellRequestBuilder extends BaseWorkbookWorksheetCe * @param column the column */ public WorkbookWorksheetCellRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer row, final Integer column) { - super(requestUrl, client, requestOptions, row, column); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("row", row)); + functionOptions.add(new FunctionOption("column", column)); + } + + /** + * Creates the IWorkbookWorksheetCellRequest + * + * @return the IWorkbookWorksheetCellRequest instance + */ + public IWorkbookWorksheetCellRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookWorksheetCellRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetCellRequest instance + */ + public IWorkbookWorksheetCellRequest buildRequest(final java.util.List requestOptions) { + WorkbookWorksheetCellRequest request = new WorkbookWorksheetCellRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionPage.java index 0ddea26066a..d53787a8ce7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionPage.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionPage.java @@ -3,24 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCollectionRequestBuilder; +import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCollectionPage; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCollectionResponse; - -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Collection Page. */ -public class WorkbookWorksheetCollectionPage extends BaseWorkbookWorksheetCollectionPage implements IWorkbookWorksheetCollectionPage { +public class WorkbookWorksheetCollectionPage extends BaseCollectionPage implements IWorkbookWorksheetCollectionPage { /** - * A collection page for Workbook. + * A collection page for WorkbookWorksheet * - * @param response the serialized BaseWorkbookWorksheetCollectionResponse from the service - * @param builder the request builder for the next collection page + * @param response the serialized WorkbookWorksheetCollectionResponse from the service + * @param builder the request builder for the next collection page */ - public WorkbookWorksheetCollectionPage(final BaseWorkbookWorksheetCollectionResponse response, final IWorkbookWorksheetCollectionRequestBuilder builder) { - super(response, builder); + public WorkbookWorksheetCollectionPage(final WorkbookWorksheetCollectionResponse response, final IWorkbookWorksheetCollectionRequestBuilder builder) { + super(response.value, builder); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequest.java index 171b1f0651c..ff8e34292b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequest.java @@ -4,25 +4,111 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCollectionRequest; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Collection Request. */ -public class WorkbookWorksheetCollectionRequest extends BaseWorkbookWorksheetCollectionRequest implements IWorkbookWorksheetCollectionRequest { +public class WorkbookWorksheetCollectionRequest extends BaseCollectionRequest implements IWorkbookWorksheetCollectionRequest { /** - * The request for this collection of Workbook + * The request builder for this collection of WorkbookWorksheet * * @param requestUrl the request URL * @param client the service client * @param requestOptions the options for this request */ - public WorkbookWorksheetCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + public WorkbookWorksheetCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, WorkbookWorksheetCollectionResponse.class, IWorkbookWorksheetCollectionPage.class); + } + + public void get(final ICallback callback) { + final IExecutors executors = getBaseRequest().getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + executors.performOnForeground(get(), callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + public IWorkbookWorksheetCollectionPage get() throws ClientException { + final WorkbookWorksheetCollectionResponse response = send(); + return buildFromResponse(response); + } + + public void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + new WorkbookWorksheetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookWorksheet, callback); + } + + public WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new WorkbookWorksheetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getOptions()) + .post(newWorkbookWorksheet); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetCollectionRequest expand(final String value) { + addQueryOption(new QueryOption("$expand", value)); + return (WorkbookWorksheetCollectionRequest)this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetCollectionRequest select(final String value) { + addQueryOption(new QueryOption("$select", value)); + return (WorkbookWorksheetCollectionRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookWorksheetCollectionRequest top(final int value) { + addQueryOption(new QueryOption("$top", value + "")); + return (WorkbookWorksheetCollectionRequest)this; + } + + public IWorkbookWorksheetCollectionPage buildFromResponse(final WorkbookWorksheetCollectionResponse response) { + final IWorkbookWorksheetCollectionRequestBuilder builder; + if (response.nextLink != null) { + builder = new WorkbookWorksheetCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); + } else { + builder = null; + } + final WorkbookWorksheetCollectionPage page = new WorkbookWorksheetCollectionPage(response, builder); + page.setRawObject(response.getSerializer(), response.getRawObject()); + return page; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequestBuilder.java index 06058cda4f2..1553ac75428 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionRequestBuilder.java @@ -4,16 +4,24 @@ package com.microsoft.graph.requests.extensions; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetCollectionRequestBuilder; +import com.microsoft.graph.concurrency.*; +import com.microsoft.graph.core.*; +import com.microsoft.graph.models.extensions.*; +import com.microsoft.graph.models.generated.*; +import com.microsoft.graph.http.*; +import com.microsoft.graph.requests.extensions.*; +import com.microsoft.graph.options.*; +import com.microsoft.graph.serializer.*; -// This file is available for extending, afterwards please submit a pull request. +import java.util.Arrays; +import java.util.EnumSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Collection Request Builder. */ -public class WorkbookWorksheetCollectionRequestBuilder extends BaseWorkbookWorksheetCollectionRequestBuilder implements IWorkbookWorksheetCollectionRequestBuilder { +public class WorkbookWorksheetCollectionRequestBuilder extends BaseRequestBuilder implements IWorkbookWorksheetCollectionRequestBuilder { /** * The request builder for this collection of Workbook @@ -25,4 +33,22 @@ public class WorkbookWorksheetCollectionRequestBuilder extends BaseWorkbookWorks public WorkbookWorksheetCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + public IWorkbookWorksheetCollectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + public IWorkbookWorksheetCollectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookWorksheetCollectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + public IWorkbookWorksheetRequestBuilder byId(final String id) { + return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); + } + + + + public IWorkbookWorksheetAddRequestBuilder add(final String name) { + return new WorkbookWorksheetAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, name); + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionResponse.java new file mode 100644 index 00000000000..9e441830f6c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetCollectionResponse.java @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; + +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import com.microsoft.graph.serializer.AdditionalDataManager; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.ISerializer; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Workbook Worksheet Collection Response. + */ +public class WorkbookWorksheetCollectionResponse implements IJsonBackedObject { + + /** + * The list of WorkbookWorksheet within this collection page + */ + @SerializedName("value") + @Expose + public java.util.List value; + + /** + * The URL to the next page of this collection, or null + */ + @SerializedName("@odata.nextLink") + @Expose(serialize = false) + public String nextLink; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("value")) { + final JsonArray array = json.getAsJsonArray("value"); + for (int i = 0; i < array.size(); i++) { + value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); + } + } + } +} diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequest.java index d61196c3179..49dab448b95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionProtectBody; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionProtectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetProtectionProtectRequest; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Protect Request. */ -public class WorkbookWorksheetProtectionProtectRequest extends BaseWorkbookWorksheetProtectionProtectRequest implements IWorkbookWorksheetProtectionProtectRequest { +public class WorkbookWorksheetProtectionProtectRequest extends BaseRequest implements IWorkbookWorksheetProtectionProtectRequest { + protected final WorkbookWorksheetProtectionProtectBody body; /** * The request for this WorkbookWorksheetProtectionProtect @@ -23,6 +31,49 @@ public class WorkbookWorksheetProtectionProtectRequest extends BaseWorkbookWorks * @param requestOptions the options for this request */ public WorkbookWorksheetProtectionProtectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + body = new WorkbookWorksheetProtectionProtectBody(); } + + public void post(final ICallback callback) { + send(HttpMethod.POST, callback, body); + } + + public Void post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetProtectionProtectRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetProtectionProtectRequest)this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + public IWorkbookWorksheetProtectionProtectRequest top(final int value) { + getQueryOptions().add(new QueryOption("$top", value+"")); + return (WorkbookWorksheetProtectionProtectRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetProtectionProtectRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetProtectionProtectRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequestBuilder.java index edbd0203a09..d7685696417 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionProtectRequestBuilder.java @@ -3,18 +3,23 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionProtectRequest; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetProtectionProtectRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Protect Request Builder. */ -public class WorkbookWorksheetProtectionProtectRequestBuilder extends BaseWorkbookWorksheetProtectionProtectRequestBuilder implements IWorkbookWorksheetProtectionProtectRequestBuilder { +public class WorkbookWorksheetProtectionProtectRequestBuilder extends BaseActionRequestBuilder implements IWorkbookWorksheetProtectionProtectRequestBuilder { /** * The request builder for this WorkbookWorksheetProtectionProtect @@ -25,6 +30,36 @@ public class WorkbookWorksheetProtectionProtectRequestBuilder extends BaseWorkbo * @param options the options */ public WorkbookWorksheetProtectionProtectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final WorkbookWorksheetProtectionOptions options) { - super(requestUrl, client, requestOptions, options); + super(requestUrl, client, requestOptions); + bodyParams.put("options", options); + } + + /** + * Creates the IWorkbookWorksheetProtectionProtectRequest + * + * @return the IWorkbookWorksheetProtectionProtectRequest instance + */ + public IWorkbookWorksheetProtectionProtectRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookWorksheetProtectionProtectRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetProtectionProtectRequest instance + */ + public IWorkbookWorksheetProtectionProtectRequest buildRequest(final java.util.List requestOptions) { + WorkbookWorksheetProtectionProtectRequest request = new WorkbookWorksheetProtectionProtectRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + if (hasParameter("options")) { + request.body.options = getParameter("options"); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequest.java index f75d23724f9..917c9454246 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionRequest; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetProtectionRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Request. */ -public class WorkbookWorksheetProtectionRequest extends BaseWorkbookWorksheetProtectionRequest implements IWorkbookWorksheetProtectionRequest { - +public class WorkbookWorksheetProtectionRequest extends BaseRequest implements IWorkbookWorksheetProtectionRequest { + /** * The request for the WorkbookWorksheetProtection * @@ -26,4 +32,107 @@ public class WorkbookWorksheetProtectionRequest extends BaseWorkbookWorksheetPro public WorkbookWorksheetProtectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookWorksheetProtection.class); } + + /** + * Gets the WorkbookWorksheetProtection from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookWorksheetProtection from the service + * + * @return the WorkbookWorksheetProtection from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheetProtection get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookWorksheetProtection with a source + * + * @param sourceWorkbookWorksheetProtection the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookWorksheetProtection); + } + + /** + * Patches this WorkbookWorksheetProtection with a source + * + * @param sourceWorkbookWorksheetProtection the source object with updates + * @return the updated WorkbookWorksheetProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheetProtection patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookWorksheetProtection); + } + + /** + * Creates a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookWorksheetProtection); + } + + /** + * Creates a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the new object to create + * @return the created WorkbookWorksheetProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheetProtection post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException { + return send(HttpMethod.POST, newWorkbookWorksheetProtection); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetProtectionRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetProtectionRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetProtectionRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetProtectionRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequestBuilder.java index b1bdd0884a2..2e8c50c131f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequestBuilder.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionRequest; +import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionProtectRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionUnprotectRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetProtectionRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Request Builder. */ -public class WorkbookWorksheetProtectionRequestBuilder extends BaseWorkbookWorksheetProtectionRequestBuilder implements IWorkbookWorksheetProtectionRequestBuilder { +public class WorkbookWorksheetProtectionRequestBuilder extends BaseRequestBuilder implements IWorkbookWorksheetProtectionRequestBuilder { /** * The request builder for the WorkbookWorksheetProtection @@ -25,4 +33,34 @@ public class WorkbookWorksheetProtectionRequestBuilder extends BaseWorkbookWorks public WorkbookWorksheetProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookWorksheetProtectionRequest instance + */ + public IWorkbookWorksheetProtectionRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookWorksheetProtectionRequest instance + */ + public IWorkbookWorksheetProtectionRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookWorksheetProtectionRequest(getRequestUrl(), getClient(), requestOptions); + } + + + + public IWorkbookWorksheetProtectionProtectRequestBuilder protect(final WorkbookWorksheetProtectionOptions options) { + return new WorkbookWorksheetProtectionProtectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.protect"), getClient(), null, options); + } + + public IWorkbookWorksheetProtectionUnprotectRequestBuilder unprotect() { + return new WorkbookWorksheetProtectionUnprotectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unprotect"), getClient(), null); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequest.java index 53e55b8b555..473d3ab3545 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequest.java @@ -3,17 +3,24 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionUnprotectRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetProtectionUnprotectRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Unprotect Request. */ -public class WorkbookWorksheetProtectionUnprotectRequest extends BaseWorkbookWorksheetProtectionUnprotectRequest implements IWorkbookWorksheetProtectionUnprotectRequest { +public class WorkbookWorksheetProtectionUnprotectRequest extends BaseRequest implements IWorkbookWorksheetProtectionUnprotectRequest { /** * The request for this WorkbookWorksheetProtectionUnprotect @@ -23,6 +30,35 @@ public class WorkbookWorksheetProtectionUnprotectRequest extends BaseWorkbookWor * @param requestOptions the options for this request */ public WorkbookWorksheetProtectionUnprotectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, Void.class); + } + + /** + * Creates the WorkbookWorksheetProtectionUnprotect + * + * @param callback the callback to be called after success or failure + */ + public void post(final ICallback callback) { + final IExecutors executors = getClient().getExecutors(); + executors.performOnBackground(new Runnable() { + @Override + public void run() { + try { + post(); + executors.performOnForeground((Void)null, callback); + } catch (final ClientException e) { + executors.performOnForeground(e, callback); + } + } + }); + } + + /** + * Creates the WorkbookWorksheetProtectionUnprotect + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, null); } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequestBuilder.java index 93287790110..7acb331644b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionUnprotectRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionUnprotectRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetProtectionUnprotectRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Protection Unprotect Request Builder. */ -public class WorkbookWorksheetProtectionUnprotectRequestBuilder extends BaseWorkbookWorksheetProtectionUnprotectRequestBuilder implements IWorkbookWorksheetProtectionUnprotectRequestBuilder { +public class WorkbookWorksheetProtectionUnprotectRequestBuilder extends BaseActionRequestBuilder implements IWorkbookWorksheetProtectionUnprotectRequestBuilder { /** * The request builder for this WorkbookWorksheetProtectionUnprotect @@ -25,4 +30,29 @@ public class WorkbookWorksheetProtectionUnprotectRequestBuilder extends BaseWork public WorkbookWorksheetProtectionUnprotectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the IWorkbookWorksheetProtectionUnprotectRequest + * + * @return the IWorkbookWorksheetProtectionUnprotectRequest instance + */ + public IWorkbookWorksheetProtectionUnprotectRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookWorksheetProtectionUnprotectRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetProtectionUnprotectRequest instance + */ + public IWorkbookWorksheetProtectionUnprotectRequest buildRequest(final java.util.List requestOptions) { + WorkbookWorksheetProtectionUnprotectRequest request = new WorkbookWorksheetProtectionUnprotectRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + return request; + } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequest.java index c5c14d5c14a..81c154338b5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Range Request. */ -public class WorkbookWorksheetRangeRequest extends BaseWorkbookWorksheetRangeRequest implements IWorkbookWorksheetRangeRequest { +public class WorkbookWorksheetRangeRequest extends BaseRequest implements IWorkbookWorksheetRangeRequest { /** * The request for this WorkbookWorksheetRange @@ -23,6 +31,88 @@ public class WorkbookWorksheetRangeRequest extends BaseWorkbookWorksheetRangeReq * @param requestOptions the options for this request */ public WorkbookWorksheetRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookWorksheetRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookWorksheetRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequestBuilder.java index f884db949c2..197d88d8ada 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Range Request Builder. */ -public class WorkbookWorksheetRangeRequestBuilder extends BaseWorkbookWorksheetRangeRequestBuilder implements IWorkbookWorksheetRangeRequestBuilder { +public class WorkbookWorksheetRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookWorksheetRangeRequestBuilder { /** * The request builder for this WorkbookWorksheetRange @@ -25,7 +30,6 @@ public class WorkbookWorksheetRangeRequestBuilder extends BaseWorkbookWorksheetR public WorkbookWorksheetRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookWorksheetRange * @@ -35,6 +39,36 @@ public WorkbookWorksheetRangeRequestBuilder(final String requestUrl, final IBase * @param address the address */ public WorkbookWorksheetRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String address) { - super(requestUrl, client, requestOptions, address); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("address", address)); + } + + /** + * Creates the IWorkbookWorksheetRangeRequest + * + * @return the IWorkbookWorksheetRangeRequest instance + */ + public IWorkbookWorksheetRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookWorksheetRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetRangeRequest instance + */ + public IWorkbookWorksheetRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookWorksheetRangeRequest request = new WorkbookWorksheetRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequest.java index c13bf86dc5e..37bb9bb99c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequest.java @@ -3,19 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequest; +import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Request. */ -public class WorkbookWorksheetRequest extends BaseWorkbookWorksheetRequest implements IWorkbookWorksheetRequest { - +public class WorkbookWorksheetRequest extends BaseRequest implements IWorkbookWorksheetRequest { + /** * The request for the WorkbookWorksheet * @@ -26,4 +32,107 @@ public class WorkbookWorksheetRequest extends BaseWorkbookWorksheetRequest imple public WorkbookWorksheetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions, WorkbookWorksheet.class); } + + /** + * Gets the WorkbookWorksheet from the service + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookWorksheet from the service + * + * @return the WorkbookWorksheet from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheet get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @param callback the callback when the deletion action has completed + */ + public void delete(final ICallback callback) { + send(HttpMethod.DELETE, callback, null); + } + + /** + * Delete this item from the service + * + * @throws ClientException if there was an exception during the delete operation + */ + public void delete() throws ClientException { + send(HttpMethod.DELETE, null); + } + + /** + * Patches this WorkbookWorksheet with a source + * + * @param sourceWorkbookWorksheet the source object with updates + * @param callback the callback to be called after success or failure + */ + public void patch(final WorkbookWorksheet sourceWorkbookWorksheet, final ICallback callback) { + send(HttpMethod.PATCH, callback, sourceWorkbookWorksheet); + } + + /** + * Patches this WorkbookWorksheet with a source + * + * @param sourceWorkbookWorksheet the source object with updates + * @return the updated WorkbookWorksheet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheet patch(final WorkbookWorksheet sourceWorkbookWorksheet) throws ClientException { + return send(HttpMethod.PATCH, sourceWorkbookWorksheet); + } + + /** + * Creates a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the new object to create + * @param callback the callback to be called after success or failure + */ + public void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback) { + send(HttpMethod.POST, callback, newWorkbookWorksheet); + } + + /** + * Creates a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the new object to create + * @return the created WorkbookWorksheet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException { + return send(HttpMethod.POST, newWorkbookWorksheet); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetRequest)this; + } + } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequestBuilder.java index aa78f07589a..e8af745fa05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequestBuilder.java @@ -3,17 +3,48 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequest; +import com.microsoft.graph.requests.extensions.IWorkbookChartCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookChartRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookChartRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookPivotTableRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookTableRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetCellRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequestBuilder; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetRequestBuilder; +import java.util.EnumSet; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Request Builder. */ -public class WorkbookWorksheetRequestBuilder extends BaseWorkbookWorksheetRequestBuilder implements IWorkbookWorksheetRequestBuilder { +public class WorkbookWorksheetRequestBuilder extends BaseRequestBuilder implements IWorkbookWorksheetRequestBuilder { /** * The request builder for the WorkbookWorksheet @@ -25,4 +56,83 @@ public class WorkbookWorksheetRequestBuilder extends BaseWorkbookWorksheetReques public WorkbookWorksheetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } + + /** + * Creates the request + * + * @return the IWorkbookWorksheetRequest instance + */ + public IWorkbookWorksheetRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IWorkbookWorksheetRequest instance + */ + public IWorkbookWorksheetRequest buildRequest(final java.util.List requestOptions) { + return new WorkbookWorksheetRequest(getRequestUrl(), getClient(), requestOptions); + } + + + public IWorkbookChartCollectionRequestBuilder charts() { + return new WorkbookChartCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("charts"), getClient(), null); + } + + public IWorkbookChartRequestBuilder charts(final String id) { + return new WorkbookChartRequestBuilder(getRequestUrlWithAdditionalSegment("charts") + "/" + id, getClient(), null); + } + public IWorkbookNamedItemCollectionRequestBuilder names() { + return new WorkbookNamedItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("names"), getClient(), null); + } + + public IWorkbookNamedItemRequestBuilder names(final String id) { + return new WorkbookNamedItemRequestBuilder(getRequestUrlWithAdditionalSegment("names") + "/" + id, getClient(), null); + } + public IWorkbookPivotTableCollectionRequestBuilder pivotTables() { + return new WorkbookPivotTableCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("pivotTables"), getClient(), null); + } + + public IWorkbookPivotTableRequestBuilder pivotTables(final String id) { + return new WorkbookPivotTableRequestBuilder(getRequestUrlWithAdditionalSegment("pivotTables") + "/" + id, getClient(), null); + } + + /** + * Gets the request builder for WorkbookWorksheetProtection + * + * @return the IWorkbookWorksheetProtectionRequestBuilder instance + */ + public IWorkbookWorksheetProtectionRequestBuilder protection() { + return new WorkbookWorksheetProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("protection"), getClient(), null); + } + public IWorkbookTableCollectionRequestBuilder tables() { + return new WorkbookTableCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tables"), getClient(), null); + } + + public IWorkbookTableRequestBuilder tables(final String id) { + return new WorkbookTableRequestBuilder(getRequestUrlWithAdditionalSegment("tables") + "/" + id, getClient(), null); + } + + public IWorkbookWorksheetCellRequestBuilder cell(final Integer row, final Integer column) { + return new WorkbookWorksheetCellRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cell"), getClient(), null, row, column); + } + + public IWorkbookWorksheetRangeRequestBuilder range() { + return new WorkbookWorksheetRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); + } + + public IWorkbookWorksheetRangeRequestBuilder range(final String address) { + return new WorkbookWorksheetRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null, address); + } + + public IWorkbookWorksheetUsedRangeRequestBuilder usedRange() { + return new WorkbookWorksheetUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null); + } + + public IWorkbookWorksheetUsedRangeRequestBuilder usedRange(final Boolean valuesOnly) { + return new WorkbookWorksheetUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null, valuesOnly); + } } + diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequest.java index d67ac64f299..2f6a05336ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequest.java @@ -3,17 +3,25 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.models.extensions.WorkbookRange; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequest; +import com.microsoft.graph.concurrency.ICallback; +import com.microsoft.graph.concurrency.IExecutors; +import com.microsoft.graph.core.ClientException; import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetUsedRangeRequest; +import com.microsoft.graph.options.QueryOption; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Used Range Request. */ -public class WorkbookWorksheetUsedRangeRequest extends BaseWorkbookWorksheetUsedRangeRequest implements IWorkbookWorksheetUsedRangeRequest { +public class WorkbookWorksheetUsedRangeRequest extends BaseRequest implements IWorkbookWorksheetUsedRangeRequest { /** * The request for this WorkbookWorksheetUsedRange @@ -23,6 +31,88 @@ public class WorkbookWorksheetUsedRangeRequest extends BaseWorkbookWorksheetUsed * @param requestOptions the options for this request */ public WorkbookWorksheetUsedRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); + super(requestUrl, client, requestOptions, WorkbookRange.class); } + + /** + * Patches the WorkbookWorksheetUsedRange + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @param callback the callback to be called after success or failure + */ + public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PATCH, callback, srcWorkbookRange); + } + + /** + * Patches the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange with which to PATCH + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PATCH, srcWorkbookRange); + } + + /** + * Puts the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @param callback the callback to be called after success or failure + */ + public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, srcWorkbookRange); + } + + /** + * Puts the WorkbookWorksheetUsedRange + * + * @param srcWorkbookRange the WorkbookRange to PUT + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { + return this.send(HttpMethod.PUT, srcWorkbookRange); + } + /** + * Gets the WorkbookRange + * + * @param callback the callback to be called after success or failure + */ + public void get(final ICallback callback) { + send(HttpMethod.GET, callback, null); + } + + /** + * Gets the WorkbookRange + * + * @return the WorkbookRange + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public WorkbookRange get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + public IWorkbookWorksheetUsedRangeRequest select(final String value) { + getQueryOptions().add(new QueryOption("$select", value)); + return (WorkbookWorksheetUsedRangeRequest)this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + public IWorkbookWorksheetUsedRangeRequest expand(final String value) { + getQueryOptions().add(new QueryOption("$expand", value)); + return (WorkbookWorksheetUsedRangeRequest)this; + } + } diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequestBuilder.java index 8319aeff0a9..9b27ac8ec66 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetUsedRangeRequestBuilder.java @@ -3,17 +3,22 @@ // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; +import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; +import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequest; +import com.microsoft.graph.core.BaseActionRequestBuilder; +import com.microsoft.graph.core.BaseFunctionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.options.Option; -import com.microsoft.graph.requests.generated.BaseWorkbookWorksheetUsedRangeRequestBuilder; +import com.microsoft.graph.options.FunctionOption; +import com.google.gson.JsonElement; -// This file is available for extending, afterwards please submit a pull request. +// **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The class for the Workbook Worksheet Used Range Request Builder. */ -public class WorkbookWorksheetUsedRangeRequestBuilder extends BaseWorkbookWorksheetUsedRangeRequestBuilder implements IWorkbookWorksheetUsedRangeRequestBuilder { +public class WorkbookWorksheetUsedRangeRequestBuilder extends BaseFunctionRequestBuilder implements IWorkbookWorksheetUsedRangeRequestBuilder { /** * The request builder for this WorkbookWorksheetUsedRange @@ -25,7 +30,6 @@ public class WorkbookWorksheetUsedRangeRequestBuilder extends BaseWorkbookWorksh public WorkbookWorksheetUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { super(requestUrl, client, requestOptions); } - /** * The request builder for this WorkbookWorksheetUsedRange * @@ -35,6 +39,36 @@ public WorkbookWorksheetUsedRangeRequestBuilder(final String requestUrl, final I * @param valuesOnly the valuesOnly */ public WorkbookWorksheetUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean valuesOnly) { - super(requestUrl, client, requestOptions, valuesOnly); + super(requestUrl, client, requestOptions); + functionOptions.add(new FunctionOption("valuesOnly", valuesOnly)); + } + + /** + * Creates the IWorkbookWorksheetUsedRangeRequest + * + * @return the IWorkbookWorksheetUsedRangeRequest instance + */ + public IWorkbookWorksheetUsedRangeRequest buildRequest() { + return buildRequest(getOptions()); + } + + /** + * Creates the IWorkbookWorksheetUsedRangeRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the IWorkbookWorksheetUsedRangeRequest instance + */ + public IWorkbookWorksheetUsedRangeRequest buildRequest(final java.util.List requestOptions) { + WorkbookWorksheetUsedRangeRequest request = new WorkbookWorksheetUsedRangeRequest( + getRequestUrl(), + getClient(), + requestOptions + ); + + for (FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + + return request; } } diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionPage.java deleted file mode 100644 index a32c58b7e17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ActivityHistoryItem; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item Collection Page. - */ -public class BaseActivityHistoryItemCollectionPage extends BaseCollectionPage implements IBaseActivityHistoryItemCollectionPage { - - /** - * A collection page for ActivityHistoryItem - * - * @param response the serialized BaseActivityHistoryItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseActivityHistoryItemCollectionPage(final BaseActivityHistoryItemCollectionResponse response, final IActivityHistoryItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequest.java deleted file mode 100644 index 9d726308dff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item Collection Request. - */ -public class BaseActivityHistoryItemCollectionRequest extends BaseCollectionRequest implements IBaseActivityHistoryItemCollectionRequest { - - /** - * The request builder for this collection of ActivityHistoryItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseActivityHistoryItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseActivityHistoryItemCollectionResponse.class, IActivityHistoryItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IActivityHistoryItemCollectionPage get() throws ClientException { - final BaseActivityHistoryItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ActivityHistoryItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newActivityHistoryItem, callback); - } - - public ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ActivityHistoryItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newActivityHistoryItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IActivityHistoryItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ActivityHistoryItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IActivityHistoryItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ActivityHistoryItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IActivityHistoryItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ActivityHistoryItemCollectionRequest)this; - } - - public IActivityHistoryItemCollectionPage buildFromResponse(final BaseActivityHistoryItemCollectionResponse response) { - final IActivityHistoryItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ActivityHistoryItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ActivityHistoryItemCollectionPage page = new ActivityHistoryItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequestBuilder.java deleted file mode 100644 index 77a052d3bd0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item Collection Request Builder. - */ -public class BaseActivityHistoryItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseActivityHistoryItemCollectionRequestBuilder { - - /** - * The request builder for this collection of UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseActivityHistoryItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IActivityHistoryItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IActivityHistoryItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ActivityHistoryItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IActivityHistoryItemRequestBuilder byId(final String id) { - return new ActivityHistoryItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionResponse.java deleted file mode 100644 index c29d7a411f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ActivityHistoryItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item Collection Response. - */ -public class BaseActivityHistoryItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of ActivityHistoryItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequest.java deleted file mode 100644 index c5823246447..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequest; -import com.microsoft.graph.requests.extensions.ActivityHistoryItemRequest; -import com.microsoft.graph.models.extensions.ActivityHistoryItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item Request. - */ -public class BaseActivityHistoryItemRequest extends BaseRequest implements IBaseActivityHistoryItemRequest { - - /** - * The request for the ActivityHistoryItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseActivityHistoryItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ActivityHistoryItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ActivityHistoryItem from the service - * - * @return the ActivityHistoryItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ActivityHistoryItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ActivityHistoryItem with a source - * - * @param sourceActivityHistoryItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ActivityHistoryItem sourceActivityHistoryItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceActivityHistoryItem); - } - - /** - * Patches this ActivityHistoryItem with a source - * - * @param sourceActivityHistoryItem the source object with updates - * @return the updated ActivityHistoryItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ActivityHistoryItem patch(final ActivityHistoryItem sourceActivityHistoryItem) throws ClientException { - return send(HttpMethod.PATCH, sourceActivityHistoryItem); - } - - /** - * Creates a ActivityHistoryItem with a new object - * - * @param newActivityHistoryItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback) { - send(HttpMethod.POST, callback, newActivityHistoryItem); - } - - /** - * Creates a ActivityHistoryItem with a new object - * - * @param newActivityHistoryItem the new object to create - * @return the created ActivityHistoryItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException { - return send(HttpMethod.POST, newActivityHistoryItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IActivityHistoryItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ActivityHistoryItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IActivityHistoryItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ActivityHistoryItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequestBuilder.java deleted file mode 100644 index a9b3801e6fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseActivityHistoryItemRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequest; -import com.microsoft.graph.requests.extensions.ActivityHistoryItemRequest; -import com.microsoft.graph.requests.extensions.IUserActivityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.UserActivityWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Activity History Item Request Builder. - */ -public class BaseActivityHistoryItemRequestBuilder extends BaseRequestBuilder implements IBaseActivityHistoryItemRequestBuilder { - - /** - * The request builder for the ActivityHistoryItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseActivityHistoryItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IActivityHistoryItemRequest instance - */ - public IActivityHistoryItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IActivityHistoryItemRequest instance - */ - public IActivityHistoryItemRequest buildRequest(final java.util.List requestOptions) { - return new ActivityHistoryItemRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for UserActivity - * - * @return the IUserActivityWithReferenceRequestBuilder instance - */ - public IUserActivityWithReferenceRequestBuilder activity() { - return new UserActivityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("activity"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequest.java deleted file mode 100644 index 58c74669bbb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequest; -import com.microsoft.graph.requests.extensions.AdministrativeUnitRequest; -import com.microsoft.graph.models.extensions.AdministrativeUnit; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Administrative Unit Request. - */ -public class BaseAdministrativeUnitRequest extends BaseRequest implements IBaseAdministrativeUnitRequest { - - /** - * The request for the AdministrativeUnit - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAdministrativeUnitRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AdministrativeUnit from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AdministrativeUnit from the service - * - * @return the AdministrativeUnit from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AdministrativeUnit get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AdministrativeUnit with a source - * - * @param sourceAdministrativeUnit the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AdministrativeUnit sourceAdministrativeUnit, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAdministrativeUnit); - } - - /** - * Patches this AdministrativeUnit with a source - * - * @param sourceAdministrativeUnit the source object with updates - * @return the updated AdministrativeUnit - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AdministrativeUnit patch(final AdministrativeUnit sourceAdministrativeUnit) throws ClientException { - return send(HttpMethod.PATCH, sourceAdministrativeUnit); - } - - /** - * Creates a AdministrativeUnit with a new object - * - * @param newAdministrativeUnit the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AdministrativeUnit newAdministrativeUnit, final ICallback callback) { - send(HttpMethod.POST, callback, newAdministrativeUnit); - } - - /** - * Creates a AdministrativeUnit with a new object - * - * @param newAdministrativeUnit the new object to create - * @return the created AdministrativeUnit - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AdministrativeUnit post(final AdministrativeUnit newAdministrativeUnit) throws ClientException { - return send(HttpMethod.POST, newAdministrativeUnit); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAdministrativeUnitRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AdministrativeUnitRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAdministrativeUnitRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AdministrativeUnitRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequestBuilder.java deleted file mode 100644 index 87f39933d96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAdministrativeUnitRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequest; -import com.microsoft.graph.requests.extensions.AdministrativeUnitRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Administrative Unit Request Builder. - */ -public class BaseAdministrativeUnitRequestBuilder extends BaseRequestBuilder implements IBaseAdministrativeUnitRequestBuilder { - - /** - * The request builder for the AdministrativeUnit - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAdministrativeUnitRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAdministrativeUnitRequest instance - */ - public IAdministrativeUnitRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAdministrativeUnitRequest instance - */ - public IAdministrativeUnitRequest buildRequest(final java.util.List requestOptions) { - return new AdministrativeUnitRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionPage.java deleted file mode 100644 index 3bb00af16d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Alert; -import com.microsoft.graph.requests.extensions.IAlertCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Collection Page. - */ -public class BaseAlertCollectionPage extends BaseCollectionPage implements IBaseAlertCollectionPage { - - /** - * A collection page for Alert - * - * @param response the serialized BaseAlertCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseAlertCollectionPage(final BaseAlertCollectionResponse response, final IAlertCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequest.java deleted file mode 100644 index faff2bdbafa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Collection Request. - */ -public class BaseAlertCollectionRequest extends BaseCollectionRequest implements IBaseAlertCollectionRequest { - - /** - * The request builder for this collection of Alert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAlertCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseAlertCollectionResponse.class, IAlertCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IAlertCollectionPage get() throws ClientException { - final BaseAlertCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Alert newAlert, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new AlertRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newAlert, callback); - } - - public Alert post(final Alert newAlert) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new AlertRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newAlert); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAlertCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (AlertCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAlertCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (AlertCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IAlertCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (AlertCollectionRequest)this; - } - - public IAlertCollectionPage buildFromResponse(final BaseAlertCollectionResponse response) { - final IAlertCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new AlertCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final AlertCollectionPage page = new AlertCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequestBuilder.java deleted file mode 100644 index a96e445ad25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Collection Request Builder. - */ -public class BaseAlertCollectionRequestBuilder extends BaseRequestBuilder implements IBaseAlertCollectionRequestBuilder { - - /** - * The request builder for this collection of Security - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAlertCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IAlertCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IAlertCollectionRequest buildRequest(final java.util.List requestOptions) { - return new AlertCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IAlertRequestBuilder byId(final String id) { - return new AlertRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionResponse.java deleted file mode 100644 index 10e7bcc1929..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Alert; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Collection Response. - */ -public class BaseAlertCollectionResponse implements IJsonBackedObject { - - /** - * The list of Alert within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequest.java deleted file mode 100644 index 06e37bf2957..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAlertRequest; -import com.microsoft.graph.requests.extensions.AlertRequest; -import com.microsoft.graph.models.extensions.Alert; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Request. - */ -public class BaseAlertRequest extends BaseRequest implements IBaseAlertRequest { - - /** - * The request for the Alert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAlertRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Alert from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Alert from the service - * - * @return the Alert from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Alert get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Alert with a source - * - * @param sourceAlert the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Alert sourceAlert, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAlert); - } - - /** - * Patches this Alert with a source - * - * @param sourceAlert the source object with updates - * @return the updated Alert - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Alert patch(final Alert sourceAlert) throws ClientException { - return send(HttpMethod.PATCH, sourceAlert); - } - - /** - * Creates a Alert with a new object - * - * @param newAlert the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Alert newAlert, final ICallback callback) { - send(HttpMethod.POST, callback, newAlert); - } - - /** - * Creates a Alert with a new object - * - * @param newAlert the new object to create - * @return the created Alert - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Alert post(final Alert newAlert) throws ClientException { - return send(HttpMethod.POST, newAlert); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAlertRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AlertRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAlertRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AlertRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequestBuilder.java deleted file mode 100644 index 31ff2901c7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAlertRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAlertRequest; -import com.microsoft.graph.requests.extensions.AlertRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Alert Request Builder. - */ -public class BaseAlertRequestBuilder extends BaseRequestBuilder implements IBaseAlertRequestBuilder { - - /** - * The request builder for the Alert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAlertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAlertRequest instance - */ - public IAlertRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAlertRequest instance - */ - public IAlertRequest buildRequest(final java.util.List requestOptions) { - return new AlertRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequest.java deleted file mode 100644 index 70d6ff0c40f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.AndroidCompliancePolicyRequest; -import com.microsoft.graph.models.extensions.AndroidCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Compliance Policy Request. - */ -public class BaseAndroidCompliancePolicyRequest extends BaseRequest implements IBaseAndroidCompliancePolicyRequest { - - /** - * The request for the AndroidCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidCompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidCompliancePolicy from the service - * - * @return the AndroidCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidCompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidCompliancePolicy with a source - * - * @param sourceAndroidCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidCompliancePolicy); - } - - /** - * Patches this AndroidCompliancePolicy with a source - * - * @param sourceAndroidCompliancePolicy the source object with updates - * @return the updated AndroidCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidCompliancePolicy patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidCompliancePolicy); - } - - /** - * Creates a AndroidCompliancePolicy with a new object - * - * @param newAndroidCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidCompliancePolicy newAndroidCompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidCompliancePolicy); - } - - /** - * Creates a AndroidCompliancePolicy with a new object - * - * @param newAndroidCompliancePolicy the new object to create - * @return the created AndroidCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidCompliancePolicy post(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newAndroidCompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidCompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidCompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidCompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidCompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequestBuilder.java deleted file mode 100644 index 93fd9a7d9fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.AndroidCompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Compliance Policy Request Builder. - */ -public class BaseAndroidCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseAndroidCompliancePolicyRequestBuilder { - - /** - * The request builder for the AndroidCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidCompliancePolicyRequest instance - */ - public IAndroidCompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidCompliancePolicyRequest instance - */ - public IAndroidCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new AndroidCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequest.java deleted file mode 100644 index a5703a8415c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidCustomConfigurationRequest; -import com.microsoft.graph.models.extensions.AndroidCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Custom Configuration Request. - */ -public class BaseAndroidCustomConfigurationRequest extends BaseRequest implements IBaseAndroidCustomConfigurationRequest { - - /** - * The request for the AndroidCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidCustomConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidCustomConfiguration from the service - * - * @return the AndroidCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidCustomConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidCustomConfiguration with a source - * - * @param sourceAndroidCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidCustomConfiguration); - } - - /** - * Patches this AndroidCustomConfiguration with a source - * - * @param sourceAndroidCustomConfiguration the source object with updates - * @return the updated AndroidCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidCustomConfiguration patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidCustomConfiguration); - } - - /** - * Creates a AndroidCustomConfiguration with a new object - * - * @param newAndroidCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidCustomConfiguration newAndroidCustomConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidCustomConfiguration); - } - - /** - * Creates a AndroidCustomConfiguration with a new object - * - * @param newAndroidCustomConfiguration the new object to create - * @return the created AndroidCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidCustomConfiguration post(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException { - return send(HttpMethod.POST, newAndroidCustomConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidCustomConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidCustomConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidCustomConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidCustomConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequestBuilder.java deleted file mode 100644 index 295f0431f01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidCustomConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Custom Configuration Request Builder. - */ -public class BaseAndroidCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseAndroidCustomConfigurationRequestBuilder { - - /** - * The request builder for the AndroidCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidCustomConfigurationRequest instance - */ - public IAndroidCustomConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidCustomConfigurationRequest instance - */ - public IAndroidCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new AndroidCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequest.java deleted file mode 100644 index 2f38cd5892c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidGeneralDeviceConfigurationRequest; -import com.microsoft.graph.models.extensions.AndroidGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android General Device Configuration Request. - */ -public class BaseAndroidGeneralDeviceConfigurationRequest extends BaseRequest implements IBaseAndroidGeneralDeviceConfigurationRequest { - - /** - * The request for the AndroidGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidGeneralDeviceConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidGeneralDeviceConfiguration from the service - * - * @return the AndroidGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidGeneralDeviceConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidGeneralDeviceConfiguration with a source - * - * @param sourceAndroidGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidGeneralDeviceConfiguration); - } - - /** - * Patches this AndroidGeneralDeviceConfiguration with a source - * - * @param sourceAndroidGeneralDeviceConfiguration the source object with updates - * @return the updated AndroidGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidGeneralDeviceConfiguration patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidGeneralDeviceConfiguration); - } - - /** - * Creates a AndroidGeneralDeviceConfiguration with a new object - * - * @param newAndroidGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidGeneralDeviceConfiguration); - } - - /** - * Creates a AndroidGeneralDeviceConfiguration with a new object - * - * @param newAndroidGeneralDeviceConfiguration the new object to create - * @return the created AndroidGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidGeneralDeviceConfiguration post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.POST, newAndroidGeneralDeviceConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidGeneralDeviceConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidGeneralDeviceConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidGeneralDeviceConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidGeneralDeviceConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index 1fee952aaf5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android General Device Configuration Request Builder. - */ -public class BaseAndroidGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseAndroidGeneralDeviceConfigurationRequestBuilder { - - /** - * The request builder for the AndroidGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidGeneralDeviceConfigurationRequest instance - */ - public IAndroidGeneralDeviceConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidGeneralDeviceConfigurationRequest instance - */ - public IAndroidGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new AndroidGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequest.java deleted file mode 100644 index c67963ff971..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidLobAppRequest; -import com.microsoft.graph.requests.extensions.AndroidLobAppRequest; -import com.microsoft.graph.models.extensions.AndroidLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Lob App Request. - */ -public class BaseAndroidLobAppRequest extends BaseRequest implements IBaseAndroidLobAppRequest { - - /** - * The request for the AndroidLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidLobAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidLobApp from the service - * - * @return the AndroidLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidLobApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidLobApp with a source - * - * @param sourceAndroidLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidLobApp sourceAndroidLobApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidLobApp); - } - - /** - * Patches this AndroidLobApp with a source - * - * @param sourceAndroidLobApp the source object with updates - * @return the updated AndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidLobApp patch(final AndroidLobApp sourceAndroidLobApp) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidLobApp); - } - - /** - * Creates a AndroidLobApp with a new object - * - * @param newAndroidLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidLobApp newAndroidLobApp, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidLobApp); - } - - /** - * Creates a AndroidLobApp with a new object - * - * @param newAndroidLobApp the new object to create - * @return the created AndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidLobApp post(final AndroidLobApp newAndroidLobApp) throws ClientException { - return send(HttpMethod.POST, newAndroidLobApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidLobAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidLobAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidLobAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidLobAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequestBuilder.java deleted file mode 100644 index 844631287ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidLobAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidLobAppRequest; -import com.microsoft.graph.requests.extensions.AndroidLobAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Lob App Request Builder. - */ -public class BaseAndroidLobAppRequestBuilder extends BaseRequestBuilder implements IBaseAndroidLobAppRequestBuilder { - - /** - * The request builder for the AndroidLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidLobAppRequest instance - */ - public IAndroidLobAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidLobAppRequest instance - */ - public IAndroidLobAppRequest buildRequest(final java.util.List requestOptions) { - return new AndroidLobAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionPage.java deleted file mode 100644 index 9eb53e03cf1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection Collection Page. - */ -public class BaseAndroidManagedAppProtectionCollectionPage extends BaseCollectionPage implements IBaseAndroidManagedAppProtectionCollectionPage { - - /** - * A collection page for AndroidManagedAppProtection - * - * @param response the serialized BaseAndroidManagedAppProtectionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseAndroidManagedAppProtectionCollectionPage(final BaseAndroidManagedAppProtectionCollectionResponse response, final IAndroidManagedAppProtectionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequest.java deleted file mode 100644 index 63d3fe5be29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection Collection Request. - */ -public class BaseAndroidManagedAppProtectionCollectionRequest extends BaseCollectionRequest implements IBaseAndroidManagedAppProtectionCollectionRequest { - - /** - * The request builder for this collection of AndroidManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidManagedAppProtectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseAndroidManagedAppProtectionCollectionResponse.class, IAndroidManagedAppProtectionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IAndroidManagedAppProtectionCollectionPage get() throws ClientException { - final BaseAndroidManagedAppProtectionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new AndroidManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newAndroidManagedAppProtection, callback); - } - - public AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new AndroidManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newAndroidManagedAppProtection); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidManagedAppProtectionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (AndroidManagedAppProtectionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidManagedAppProtectionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (AndroidManagedAppProtectionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IAndroidManagedAppProtectionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (AndroidManagedAppProtectionCollectionRequest)this; - } - - public IAndroidManagedAppProtectionCollectionPage buildFromResponse(final BaseAndroidManagedAppProtectionCollectionResponse response) { - final IAndroidManagedAppProtectionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new AndroidManagedAppProtectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final AndroidManagedAppProtectionCollectionPage page = new AndroidManagedAppProtectionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequestBuilder.java deleted file mode 100644 index cf8030f063e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection Collection Request Builder. - */ -public class BaseAndroidManagedAppProtectionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseAndroidManagedAppProtectionCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidManagedAppProtectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IAndroidManagedAppProtectionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IAndroidManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new AndroidManagedAppProtectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IAndroidManagedAppProtectionRequestBuilder byId(final String id) { - return new AndroidManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionResponse.java deleted file mode 100644 index 0f8d11b397a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection Collection Response. - */ -public class BaseAndroidManagedAppProtectionCollectionResponse implements IJsonBackedObject { - - /** - * The list of AndroidManagedAppProtection within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequest.java deleted file mode 100644 index 7d79698022c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection Request. - */ -public class BaseAndroidManagedAppProtectionRequest extends BaseRequest implements IBaseAndroidManagedAppProtectionRequest { - - /** - * The request for the AndroidManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidManagedAppProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidManagedAppProtection from the service - * - * @return the AndroidManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidManagedAppProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidManagedAppProtection with a source - * - * @param sourceAndroidManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidManagedAppProtection); - } - - /** - * Patches this AndroidManagedAppProtection with a source - * - * @param sourceAndroidManagedAppProtection the source object with updates - * @return the updated AndroidManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidManagedAppProtection patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidManagedAppProtection); - } - - /** - * Creates a AndroidManagedAppProtection with a new object - * - * @param newAndroidManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidManagedAppProtection); - } - - /** - * Creates a AndroidManagedAppProtection with a new object - * - * @param newAndroidManagedAppProtection the new object to create - * @return the created AndroidManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException { - return send(HttpMethod.POST, newAndroidManagedAppProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidManagedAppProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidManagedAppProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidManagedAppProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidManagedAppProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 02ea501f1dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Protection Request Builder. - */ -public class BaseAndroidManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IBaseAndroidManagedAppProtectionRequestBuilder { - - /** - * The request builder for the AndroidManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidManagedAppProtectionRequest instance - */ - public IAndroidManagedAppProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidManagedAppProtectionRequest instance - */ - public IAndroidManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { - return new AndroidManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedMobileAppCollectionRequestBuilder apps() { - return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); - } - - public IManagedMobileAppRequestBuilder apps(final String id) { - return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { - return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequest.java deleted file mode 100644 index 9eb45f6e664..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.AndroidManagedAppRegistrationRequest; -import com.microsoft.graph.models.extensions.AndroidManagedAppRegistration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Registration Request. - */ -public class BaseAndroidManagedAppRegistrationRequest extends BaseRequest implements IBaseAndroidManagedAppRegistrationRequest { - - /** - * The request for the AndroidManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidManagedAppRegistrationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidManagedAppRegistration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidManagedAppRegistration from the service - * - * @return the AndroidManagedAppRegistration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidManagedAppRegistration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidManagedAppRegistration with a source - * - * @param sourceAndroidManagedAppRegistration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidManagedAppRegistration); - } - - /** - * Patches this AndroidManagedAppRegistration with a source - * - * @param sourceAndroidManagedAppRegistration the source object with updates - * @return the updated AndroidManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidManagedAppRegistration patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidManagedAppRegistration); - } - - /** - * Creates a AndroidManagedAppRegistration with a new object - * - * @param newAndroidManagedAppRegistration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidManagedAppRegistration); - } - - /** - * Creates a AndroidManagedAppRegistration with a new object - * - * @param newAndroidManagedAppRegistration the new object to create - * @return the created AndroidManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidManagedAppRegistration post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException { - return send(HttpMethod.POST, newAndroidManagedAppRegistration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidManagedAppRegistrationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidManagedAppRegistrationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidManagedAppRegistrationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidManagedAppRegistrationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequestBuilder.java deleted file mode 100644 index 47c8119d99b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidManagedAppRegistrationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.AndroidManagedAppRegistrationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Managed App Registration Request Builder. - */ -public class BaseAndroidManagedAppRegistrationRequestBuilder extends BaseRequestBuilder implements IBaseAndroidManagedAppRegistrationRequestBuilder { - - /** - * The request builder for the AndroidManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidManagedAppRegistrationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidManagedAppRegistrationRequest instance - */ - public IAndroidManagedAppRegistrationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidManagedAppRegistrationRequest instance - */ - public IAndroidManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions) { - return new AndroidManagedAppRegistrationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequest.java deleted file mode 100644 index c9901e8372f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidStoreAppRequest; -import com.microsoft.graph.requests.extensions.AndroidStoreAppRequest; -import com.microsoft.graph.models.extensions.AndroidStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Store App Request. - */ -public class BaseAndroidStoreAppRequest extends BaseRequest implements IBaseAndroidStoreAppRequest { - - /** - * The request for the AndroidStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidStoreAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidStoreApp from the service - * - * @return the AndroidStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidStoreApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidStoreApp with a source - * - * @param sourceAndroidStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidStoreApp sourceAndroidStoreApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidStoreApp); - } - - /** - * Patches this AndroidStoreApp with a source - * - * @param sourceAndroidStoreApp the source object with updates - * @return the updated AndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidStoreApp patch(final AndroidStoreApp sourceAndroidStoreApp) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidStoreApp); - } - - /** - * Creates a AndroidStoreApp with a new object - * - * @param newAndroidStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidStoreApp newAndroidStoreApp, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidStoreApp); - } - - /** - * Creates a AndroidStoreApp with a new object - * - * @param newAndroidStoreApp the new object to create - * @return the created AndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidStoreApp post(final AndroidStoreApp newAndroidStoreApp) throws ClientException { - return send(HttpMethod.POST, newAndroidStoreApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidStoreAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidStoreAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidStoreAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidStoreAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequestBuilder.java deleted file mode 100644 index 2b849781371..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidStoreAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidStoreAppRequest; -import com.microsoft.graph.requests.extensions.AndroidStoreAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Store App Request Builder. - */ -public class BaseAndroidStoreAppRequestBuilder extends BaseRequestBuilder implements IBaseAndroidStoreAppRequestBuilder { - - /** - * The request builder for the AndroidStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidStoreAppRequest instance - */ - public IAndroidStoreAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidStoreAppRequest instance - */ - public IAndroidStoreAppRequest buildRequest(final java.util.List requestOptions) { - return new AndroidStoreAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequest.java deleted file mode 100644 index ccf0130745a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.AndroidWorkProfileCompliancePolicyRequest; -import com.microsoft.graph.models.extensions.AndroidWorkProfileCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile Compliance Policy Request. - */ -public class BaseAndroidWorkProfileCompliancePolicyRequest extends BaseRequest implements IBaseAndroidWorkProfileCompliancePolicyRequest { - - /** - * The request for the AndroidWorkProfileCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidWorkProfileCompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidWorkProfileCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidWorkProfileCompliancePolicy from the service - * - * @return the AndroidWorkProfileCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileCompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidWorkProfileCompliancePolicy with a source - * - * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidWorkProfileCompliancePolicy); - } - - /** - * Patches this AndroidWorkProfileCompliancePolicy with a source - * - * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates - * @return the updated AndroidWorkProfileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileCompliancePolicy patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidWorkProfileCompliancePolicy); - } - - /** - * Creates a AndroidWorkProfileCompliancePolicy with a new object - * - * @param newAndroidWorkProfileCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidWorkProfileCompliancePolicy); - } - - /** - * Creates a AndroidWorkProfileCompliancePolicy with a new object - * - * @param newAndroidWorkProfileCompliancePolicy the new object to create - * @return the created AndroidWorkProfileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileCompliancePolicy post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newAndroidWorkProfileCompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidWorkProfileCompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidWorkProfileCompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidWorkProfileCompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidWorkProfileCompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequestBuilder.java deleted file mode 100644 index d1d1a21749a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.AndroidWorkProfileCompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile Compliance Policy Request Builder. - */ -public class BaseAndroidWorkProfileCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseAndroidWorkProfileCompliancePolicyRequestBuilder { - - /** - * The request builder for the AndroidWorkProfileCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidWorkProfileCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidWorkProfileCompliancePolicyRequest instance - */ - public IAndroidWorkProfileCompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidWorkProfileCompliancePolicyRequest instance - */ - public IAndroidWorkProfileCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new AndroidWorkProfileCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequest.java deleted file mode 100644 index 88b7883fbee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidWorkProfileCustomConfigurationRequest; -import com.microsoft.graph.models.extensions.AndroidWorkProfileCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile Custom Configuration Request. - */ -public class BaseAndroidWorkProfileCustomConfigurationRequest extends BaseRequest implements IBaseAndroidWorkProfileCustomConfigurationRequest { - - /** - * The request for the AndroidWorkProfileCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidWorkProfileCustomConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidWorkProfileCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidWorkProfileCustomConfiguration from the service - * - * @return the AndroidWorkProfileCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileCustomConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidWorkProfileCustomConfiguration with a source - * - * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidWorkProfileCustomConfiguration); - } - - /** - * Patches this AndroidWorkProfileCustomConfiguration with a source - * - * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates - * @return the updated AndroidWorkProfileCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileCustomConfiguration patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidWorkProfileCustomConfiguration); - } - - /** - * Creates a AndroidWorkProfileCustomConfiguration with a new object - * - * @param newAndroidWorkProfileCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidWorkProfileCustomConfiguration); - } - - /** - * Creates a AndroidWorkProfileCustomConfiguration with a new object - * - * @param newAndroidWorkProfileCustomConfiguration the new object to create - * @return the created AndroidWorkProfileCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileCustomConfiguration post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException { - return send(HttpMethod.POST, newAndroidWorkProfileCustomConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidWorkProfileCustomConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidWorkProfileCustomConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidWorkProfileCustomConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidWorkProfileCustomConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequestBuilder.java deleted file mode 100644 index 5ca2cc1123c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidWorkProfileCustomConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile Custom Configuration Request Builder. - */ -public class BaseAndroidWorkProfileCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseAndroidWorkProfileCustomConfigurationRequestBuilder { - - /** - * The request builder for the AndroidWorkProfileCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidWorkProfileCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidWorkProfileCustomConfigurationRequest instance - */ - public IAndroidWorkProfileCustomConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidWorkProfileCustomConfigurationRequest instance - */ - public IAndroidWorkProfileCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new AndroidWorkProfileCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java deleted file mode 100644 index b24405f46aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidWorkProfileGeneralDeviceConfigurationRequest; -import com.microsoft.graph.models.extensions.AndroidWorkProfileGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile General Device Configuration Request. - */ -public class BaseAndroidWorkProfileGeneralDeviceConfigurationRequest extends BaseRequest implements IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest { - - /** - * The request for the AndroidWorkProfileGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAndroidWorkProfileGeneralDeviceConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service - * - * @return the AndroidWorkProfileGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileGeneralDeviceConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source - * - * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAndroidWorkProfileGeneralDeviceConfiguration); - } - - /** - * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source - * - * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates - * @return the updated AndroidWorkProfileGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileGeneralDeviceConfiguration patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceAndroidWorkProfileGeneralDeviceConfiguration); - } - - /** - * Creates a AndroidWorkProfileGeneralDeviceConfiguration with a new object - * - * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newAndroidWorkProfileGeneralDeviceConfiguration); - } - - /** - * Creates a AndroidWorkProfileGeneralDeviceConfiguration with a new object - * - * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create - * @return the created AndroidWorkProfileGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AndroidWorkProfileGeneralDeviceConfiguration post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.POST, newAndroidWorkProfileGeneralDeviceConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAndroidWorkProfileGeneralDeviceConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AndroidWorkProfileGeneralDeviceConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAndroidWorkProfileGeneralDeviceConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AndroidWorkProfileGeneralDeviceConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index aa5a71ada00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.AndroidWorkProfileGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Android Work Profile General Device Configuration Request Builder. - */ -public class BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder { - - /** - * The request builder for the AndroidWorkProfileGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance - */ - public IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance - */ - public IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new AndroidWorkProfileGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequest.java deleted file mode 100644 index 9e4e43a339d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAppCatalogsRequest; -import com.microsoft.graph.requests.extensions.AppCatalogsRequest; -import com.microsoft.graph.models.extensions.AppCatalogs; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base App Catalogs Request. - */ -public class BaseAppCatalogsRequest extends BaseRequest implements IBaseAppCatalogsRequest { - - /** - * The request for the AppCatalogs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAppCatalogsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AppCatalogs from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AppCatalogs from the service - * - * @return the AppCatalogs from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AppCatalogs get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AppCatalogs with a source - * - * @param sourceAppCatalogs the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AppCatalogs sourceAppCatalogs, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAppCatalogs); - } - - /** - * Patches this AppCatalogs with a source - * - * @param sourceAppCatalogs the source object with updates - * @return the updated AppCatalogs - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AppCatalogs patch(final AppCatalogs sourceAppCatalogs) throws ClientException { - return send(HttpMethod.PATCH, sourceAppCatalogs); - } - - /** - * Creates a AppCatalogs with a new object - * - * @param newAppCatalogs the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AppCatalogs newAppCatalogs, final ICallback callback) { - send(HttpMethod.POST, callback, newAppCatalogs); - } - - /** - * Creates a AppCatalogs with a new object - * - * @param newAppCatalogs the new object to create - * @return the created AppCatalogs - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AppCatalogs post(final AppCatalogs newAppCatalogs) throws ClientException { - return send(HttpMethod.POST, newAppCatalogs); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAppCatalogsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AppCatalogsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAppCatalogsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AppCatalogsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequestBuilder.java deleted file mode 100644 index 0bef183d7fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAppCatalogsRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAppCatalogsRequest; -import com.microsoft.graph.requests.extensions.AppCatalogsRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base App Catalogs Request Builder. - */ -public class BaseAppCatalogsRequestBuilder extends BaseRequestBuilder implements IBaseAppCatalogsRequestBuilder { - - /** - * The request builder for the AppCatalogs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAppCatalogsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAppCatalogsRequest instance - */ - public IAppCatalogsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAppCatalogsRequest instance - */ - public IAppCatalogsRequest buildRequest(final java.util.List requestOptions) { - return new AppCatalogsRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppCollectionRequestBuilder teamsApps() { - return new TeamsAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApps"), getClient(), null); - } - - public ITeamsAppRequestBuilder teamsApps(final String id) { - return new TeamsAppRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApps") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequest.java deleted file mode 100644 index f3c305d8782..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAppleDeviceFeaturesConfigurationBaseRequest; -import com.microsoft.graph.requests.extensions.AppleDeviceFeaturesConfigurationBaseRequest; -import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Device Features Configuration Base Request. - */ -public class BaseAppleDeviceFeaturesConfigurationBaseRequest extends BaseRequest implements IBaseAppleDeviceFeaturesConfigurationBaseRequest { - - /** - * The request for the AppleDeviceFeaturesConfigurationBase - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAppleDeviceFeaturesConfigurationBaseRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the AppleDeviceFeaturesConfigurationBase from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the AppleDeviceFeaturesConfigurationBase from the service - * - * @return the AppleDeviceFeaturesConfigurationBase from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AppleDeviceFeaturesConfigurationBase get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this AppleDeviceFeaturesConfigurationBase with a source - * - * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAppleDeviceFeaturesConfigurationBase); - } - - /** - * Patches this AppleDeviceFeaturesConfigurationBase with a source - * - * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates - * @return the updated AppleDeviceFeaturesConfigurationBase - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AppleDeviceFeaturesConfigurationBase patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase) throws ClientException { - return send(HttpMethod.PATCH, sourceAppleDeviceFeaturesConfigurationBase); - } - - /** - * Creates a AppleDeviceFeaturesConfigurationBase with a new object - * - * @param newAppleDeviceFeaturesConfigurationBase the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase, final ICallback callback) { - send(HttpMethod.POST, callback, newAppleDeviceFeaturesConfigurationBase); - } - - /** - * Creates a AppleDeviceFeaturesConfigurationBase with a new object - * - * @param newAppleDeviceFeaturesConfigurationBase the new object to create - * @return the created AppleDeviceFeaturesConfigurationBase - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public AppleDeviceFeaturesConfigurationBase post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException { - return send(HttpMethod.POST, newAppleDeviceFeaturesConfigurationBase); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAppleDeviceFeaturesConfigurationBaseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AppleDeviceFeaturesConfigurationBaseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAppleDeviceFeaturesConfigurationBaseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AppleDeviceFeaturesConfigurationBaseRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java deleted file mode 100644 index 3c5ebbd2f83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAppleDeviceFeaturesConfigurationBaseRequest; -import com.microsoft.graph.requests.extensions.AppleDeviceFeaturesConfigurationBaseRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Device Features Configuration Base Request Builder. - */ -public class BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder extends BaseRequestBuilder implements IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder { - - /** - * The request builder for the AppleDeviceFeaturesConfigurationBase - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAppleDeviceFeaturesConfigurationBaseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance - */ - public IAppleDeviceFeaturesConfigurationBaseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance - */ - public IAppleDeviceFeaturesConfigurationBaseRequest buildRequest(final java.util.List requestOptions) { - return new AppleDeviceFeaturesConfigurationBaseRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java deleted file mode 100644 index d6742ae7a3c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; -import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request. - */ -public class BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest extends BaseRequest implements IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest { - - /** - * The request for this ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequest - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, String.class); - } - - /** - * Gets the String - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the String - * - * @return the String - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public String get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java deleted file mode 100644 index c4d9674350b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; -import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request Builder. - */ -public class BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequest - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest - * - * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance - */ - public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance - */ - public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest(final java.util.List requestOptions) { - ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest request = new ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequest.java deleted file mode 100644 index 8764620cfc9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequest; -import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateRequest; -import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Push Notification Certificate Request. - */ -public class BaseApplePushNotificationCertificateRequest extends BaseRequest implements IBaseApplePushNotificationCertificateRequest { - - /** - * The request for the ApplePushNotificationCertificate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseApplePushNotificationCertificateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ApplePushNotificationCertificate from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ApplePushNotificationCertificate from the service - * - * @return the ApplePushNotificationCertificate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ApplePushNotificationCertificate get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ApplePushNotificationCertificate with a source - * - * @param sourceApplePushNotificationCertificate the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceApplePushNotificationCertificate); - } - - /** - * Patches this ApplePushNotificationCertificate with a source - * - * @param sourceApplePushNotificationCertificate the source object with updates - * @return the updated ApplePushNotificationCertificate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ApplePushNotificationCertificate patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate) throws ClientException { - return send(HttpMethod.PATCH, sourceApplePushNotificationCertificate); - } - - /** - * Creates a ApplePushNotificationCertificate with a new object - * - * @param newApplePushNotificationCertificate the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ApplePushNotificationCertificate newApplePushNotificationCertificate, final ICallback callback) { - send(HttpMethod.POST, callback, newApplePushNotificationCertificate); - } - - /** - * Creates a ApplePushNotificationCertificate with a new object - * - * @param newApplePushNotificationCertificate the new object to create - * @return the created ApplePushNotificationCertificate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ApplePushNotificationCertificate post(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException { - return send(HttpMethod.POST, newApplePushNotificationCertificate); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IApplePushNotificationCertificateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ApplePushNotificationCertificateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IApplePushNotificationCertificateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ApplePushNotificationCertificateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequestBuilder.java deleted file mode 100644 index 55943bb499e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseApplePushNotificationCertificateRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequest; -import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateRequest; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; -import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Apple Push Notification Certificate Request Builder. - */ -public class BaseApplePushNotificationCertificateRequestBuilder extends BaseRequestBuilder implements IBaseApplePushNotificationCertificateRequestBuilder { - - /** - * The request builder for the ApplePushNotificationCertificate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseApplePushNotificationCertificateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IApplePushNotificationCertificateRequest instance - */ - public IApplePushNotificationCertificateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IApplePushNotificationCertificateRequest instance - */ - public IApplePushNotificationCertificateRequest buildRequest(final java.util.List requestOptions) { - return new ApplePushNotificationCertificateRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder downloadApplePushNotificationCertificateSigningRequest() { - return new ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.downloadApplePushNotificationCertificateSigningRequest"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionPage.java deleted file mode 100644 index bbf589e30e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment Collection Page. - */ -public class BaseAttachmentCollectionPage extends BaseCollectionPage implements IBaseAttachmentCollectionPage { - - /** - * A collection page for Attachment - * - * @param response the serialized BaseAttachmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseAttachmentCollectionPage(final BaseAttachmentCollectionResponse response, final IAttachmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequest.java deleted file mode 100644 index bc6d91e9d72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment Collection Request. - */ -public class BaseAttachmentCollectionRequest extends BaseCollectionRequest implements IBaseAttachmentCollectionRequest { - - /** - * The request builder for this collection of Attachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAttachmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseAttachmentCollectionResponse.class, IAttachmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IAttachmentCollectionPage get() throws ClientException { - final BaseAttachmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Attachment newAttachment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new AttachmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newAttachment, callback); - } - - public Attachment post(final Attachment newAttachment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new AttachmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newAttachment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAttachmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (AttachmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAttachmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (AttachmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IAttachmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (AttachmentCollectionRequest)this; - } - - public IAttachmentCollectionPage buildFromResponse(final BaseAttachmentCollectionResponse response) { - final IAttachmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new AttachmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final AttachmentCollectionPage page = new AttachmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequestBuilder.java deleted file mode 100644 index 7a4c8a24e5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment Collection Request Builder. - */ -public class BaseAttachmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseAttachmentCollectionRequestBuilder { - - /** - * The request builder for this collection of Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAttachmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IAttachmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IAttachmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new AttachmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IAttachmentRequestBuilder byId(final String id) { - return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionResponse.java deleted file mode 100644 index 802ecd32c6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Attachment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment Collection Response. - */ -public class BaseAttachmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of Attachment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequest.java deleted file mode 100644 index b0b50043c71..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAttachmentRequest; -import com.microsoft.graph.requests.extensions.AttachmentRequest; -import com.microsoft.graph.models.extensions.Attachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment Request. - */ -public class BaseAttachmentRequest extends BaseRequest implements IBaseAttachmentRequest { - - /** - * The request for the Attachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseAttachmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Attachment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Attachment from the service - * - * @return the Attachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Attachment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Attachment with a source - * - * @param sourceAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Attachment sourceAttachment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceAttachment); - } - - /** - * Patches this Attachment with a source - * - * @param sourceAttachment the source object with updates - * @return the updated Attachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Attachment patch(final Attachment sourceAttachment) throws ClientException { - return send(HttpMethod.PATCH, sourceAttachment); - } - - /** - * Creates a Attachment with a new object - * - * @param newAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Attachment newAttachment, final ICallback callback) { - send(HttpMethod.POST, callback, newAttachment); - } - - /** - * Creates a Attachment with a new object - * - * @param newAttachment the new object to create - * @return the created Attachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Attachment post(final Attachment newAttachment) throws ClientException { - return send(HttpMethod.POST, newAttachment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IAttachmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (AttachmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IAttachmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (AttachmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequestBuilder.java deleted file mode 100644 index c2ee69438bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAttachmentRequest; -import com.microsoft.graph.requests.extensions.AttachmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Attachment Request Builder. - */ -public class BaseAttachmentRequestBuilder extends BaseRequestBuilder implements IBaseAttachmentRequestBuilder { - - /** - * The request builder for the Attachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IAttachmentRequest instance - */ - public IAttachmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IAttachmentRequest instance - */ - public IAttachmentRequest buildRequest(final java.util.List requestOptions) { - return new AttachmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionPage.java deleted file mode 100644 index 0837f91c19b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.BaseItem; -import com.microsoft.graph.requests.extensions.IBaseItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Collection Page. - */ -public class BaseBaseItemCollectionPage extends BaseCollectionPage implements IBaseBaseItemCollectionPage { - - /** - * A collection page for BaseItem - * - * @param response the serialized BaseBaseItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseBaseItemCollectionPage(final BaseBaseItemCollectionResponse response, final IBaseItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequest.java deleted file mode 100644 index 156f3cdb21c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Collection Request. - */ -public class BaseBaseItemCollectionRequest extends BaseCollectionRequest implements IBaseBaseItemCollectionRequest { - - /** - * The request builder for this collection of BaseItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseBaseItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseBaseItemCollectionResponse.class, IBaseItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IBaseItemCollectionPage get() throws ClientException { - final BaseBaseItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final BaseItem newBaseItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new BaseItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newBaseItem, callback); - } - - public BaseItem post(final BaseItem newBaseItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new BaseItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newBaseItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IBaseItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (BaseItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IBaseItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (BaseItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IBaseItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (BaseItemCollectionRequest)this; - } - - public IBaseItemCollectionPage buildFromResponse(final BaseBaseItemCollectionResponse response) { - final IBaseItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new BaseItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final BaseItemCollectionPage page = new BaseItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequestBuilder.java deleted file mode 100644 index 8f876a64508..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Collection Request Builder. - */ -public class BaseBaseItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseBaseItemCollectionRequestBuilder { - - /** - * The request builder for this collection of Site - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseBaseItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IBaseItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IBaseItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new BaseItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IBaseItemRequestBuilder byId(final String id) { - return new BaseItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionResponse.java deleted file mode 100644 index 4215770c7bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.BaseItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Collection Response. - */ -public class BaseBaseItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of BaseItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequest.java deleted file mode 100644 index 85050bfa8f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IBaseItemRequest; -import com.microsoft.graph.requests.extensions.BaseItemRequest; -import com.microsoft.graph.models.extensions.BaseItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Request. - */ -public class BaseBaseItemRequest extends BaseRequest implements IBaseBaseItemRequest { - - /** - * The request for the BaseItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseBaseItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the BaseItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the BaseItem from the service - * - * @return the BaseItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public BaseItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this BaseItem with a source - * - * @param sourceBaseItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final BaseItem sourceBaseItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceBaseItem); - } - - /** - * Patches this BaseItem with a source - * - * @param sourceBaseItem the source object with updates - * @return the updated BaseItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public BaseItem patch(final BaseItem sourceBaseItem) throws ClientException { - return send(HttpMethod.PATCH, sourceBaseItem); - } - - /** - * Creates a BaseItem with a new object - * - * @param newBaseItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final BaseItem newBaseItem, final ICallback callback) { - send(HttpMethod.POST, callback, newBaseItem); - } - - /** - * Creates a BaseItem with a new object - * - * @param newBaseItem the new object to create - * @return the created BaseItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public BaseItem post(final BaseItem newBaseItem) throws ClientException { - return send(HttpMethod.POST, newBaseItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IBaseItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (BaseItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IBaseItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (BaseItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequestBuilder.java deleted file mode 100644 index 841ac08c323..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IBaseItemRequest; -import com.microsoft.graph.requests.extensions.BaseItemRequest; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Request Builder. - */ -public class BaseBaseItemRequestBuilder extends BaseRequestBuilder implements IBaseBaseItemRequestBuilder { - - /** - * The request builder for the BaseItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseBaseItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IBaseItemRequest instance - */ - public IBaseItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IBaseItemRequest instance - */ - public IBaseItemRequest buildRequest(final java.util.List requestOptions) { - return new BaseItemRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - public IUserWithReferenceRequestBuilder createdByUser() { - return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdByUser"), getClient(), null); - } - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - public IUserWithReferenceRequestBuilder lastModifiedByUser() { - return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastModifiedByUser"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequest.java deleted file mode 100644 index 856b3e20c21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IBaseItemVersionRequest; -import com.microsoft.graph.requests.extensions.BaseItemVersionRequest; -import com.microsoft.graph.models.extensions.BaseItemVersion; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Version Request. - */ -public class BaseBaseItemVersionRequest extends BaseRequest implements IBaseBaseItemVersionRequest { - - /** - * The request for the BaseItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseBaseItemVersionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the BaseItemVersion from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the BaseItemVersion from the service - * - * @return the BaseItemVersion from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public BaseItemVersion get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this BaseItemVersion with a source - * - * @param sourceBaseItemVersion the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final BaseItemVersion sourceBaseItemVersion, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceBaseItemVersion); - } - - /** - * Patches this BaseItemVersion with a source - * - * @param sourceBaseItemVersion the source object with updates - * @return the updated BaseItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public BaseItemVersion patch(final BaseItemVersion sourceBaseItemVersion) throws ClientException { - return send(HttpMethod.PATCH, sourceBaseItemVersion); - } - - /** - * Creates a BaseItemVersion with a new object - * - * @param newBaseItemVersion the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final BaseItemVersion newBaseItemVersion, final ICallback callback) { - send(HttpMethod.POST, callback, newBaseItemVersion); - } - - /** - * Creates a BaseItemVersion with a new object - * - * @param newBaseItemVersion the new object to create - * @return the created BaseItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public BaseItemVersion post(final BaseItemVersion newBaseItemVersion) throws ClientException { - return send(HttpMethod.POST, newBaseItemVersion); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IBaseItemVersionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (BaseItemVersionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IBaseItemVersionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (BaseItemVersionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequestBuilder.java deleted file mode 100644 index 838c1f4b79a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemVersionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IBaseItemVersionRequest; -import com.microsoft.graph.requests.extensions.BaseItemVersionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Base Item Version Request Builder. - */ -public class BaseBaseItemVersionRequestBuilder extends BaseRequestBuilder implements IBaseBaseItemVersionRequestBuilder { - - /** - * The request builder for the BaseItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseBaseItemVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IBaseItemVersionRequest instance - */ - public IBaseItemVersionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IBaseItemVersionRequest instance - */ - public IBaseItemVersionRequest buildRequest(final java.util.List requestOptions) { - return new BaseItemVersionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionPage.java deleted file mode 100644 index e20b555fbdb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Collection Page. - */ -public class BaseCalendarCollectionPage extends BaseCollectionPage implements IBaseCalendarCollectionPage { - - /** - * A collection page for Calendar - * - * @param response the serialized BaseCalendarCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseCalendarCollectionPage(final BaseCalendarCollectionResponse response, final ICalendarCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequest.java deleted file mode 100644 index 412971d98a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Collection Request. - */ -public class BaseCalendarCollectionRequest extends BaseCollectionRequest implements IBaseCalendarCollectionRequest { - - /** - * The request builder for this collection of Calendar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseCalendarCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseCalendarCollectionResponse.class, ICalendarCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ICalendarCollectionPage get() throws ClientException { - final BaseCalendarCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Calendar newCalendar, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new CalendarRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newCalendar, callback); - } - - public Calendar post(final Calendar newCalendar) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new CalendarRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newCalendar); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ICalendarCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (CalendarCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ICalendarCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (CalendarCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ICalendarCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (CalendarCollectionRequest)this; - } - - public ICalendarCollectionPage buildFromResponse(final BaseCalendarCollectionResponse response) { - final ICalendarCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new CalendarCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final CalendarCollectionPage page = new CalendarCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequestBuilder.java deleted file mode 100644 index 140c9c3be52..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Collection Request Builder. - */ -public class BaseCalendarCollectionRequestBuilder extends BaseRequestBuilder implements IBaseCalendarCollectionRequestBuilder { - - /** - * The request builder for this collection of CalendarGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseCalendarCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ICalendarCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ICalendarCollectionRequest buildRequest(final java.util.List requestOptions) { - return new CalendarCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ICalendarRequestBuilder byId(final String id) { - return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionResponse.java deleted file mode 100644 index 3dfef571b87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Calendar; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Collection Response. - */ -public class BaseCalendarCollectionResponse implements IJsonBackedObject { - - /** - * The list of Calendar within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionPage.java deleted file mode 100644 index 13dd932c9e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.CalendarGroup; -import com.microsoft.graph.requests.extensions.ICalendarGroupCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group Collection Page. - */ -public class BaseCalendarGroupCollectionPage extends BaseCollectionPage implements IBaseCalendarGroupCollectionPage { - - /** - * A collection page for CalendarGroup - * - * @param response the serialized BaseCalendarGroupCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseCalendarGroupCollectionPage(final BaseCalendarGroupCollectionResponse response, final ICalendarGroupCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequest.java deleted file mode 100644 index f9ded98e219..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group Collection Request. - */ -public class BaseCalendarGroupCollectionRequest extends BaseCollectionRequest implements IBaseCalendarGroupCollectionRequest { - - /** - * The request builder for this collection of CalendarGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseCalendarGroupCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseCalendarGroupCollectionResponse.class, ICalendarGroupCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ICalendarGroupCollectionPage get() throws ClientException { - final BaseCalendarGroupCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final CalendarGroup newCalendarGroup, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new CalendarGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newCalendarGroup, callback); - } - - public CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new CalendarGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newCalendarGroup); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ICalendarGroupCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (CalendarGroupCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ICalendarGroupCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (CalendarGroupCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ICalendarGroupCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (CalendarGroupCollectionRequest)this; - } - - public ICalendarGroupCollectionPage buildFromResponse(final BaseCalendarGroupCollectionResponse response) { - final ICalendarGroupCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new CalendarGroupCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final CalendarGroupCollectionPage page = new CalendarGroupCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequestBuilder.java deleted file mode 100644 index 8a3a66c497b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group Collection Request Builder. - */ -public class BaseCalendarGroupCollectionRequestBuilder extends BaseRequestBuilder implements IBaseCalendarGroupCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseCalendarGroupCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ICalendarGroupCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ICalendarGroupCollectionRequest buildRequest(final java.util.List requestOptions) { - return new CalendarGroupCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ICalendarGroupRequestBuilder byId(final String id) { - return new CalendarGroupRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionResponse.java deleted file mode 100644 index bce97b724f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.CalendarGroup; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group Collection Response. - */ -public class BaseCalendarGroupCollectionResponse implements IJsonBackedObject { - - /** - * The list of CalendarGroup within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequest.java deleted file mode 100644 index 71d8c68bad6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ICalendarGroupRequest; -import com.microsoft.graph.requests.extensions.CalendarGroupRequest; -import com.microsoft.graph.models.extensions.CalendarGroup; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group Request. - */ -public class BaseCalendarGroupRequest extends BaseRequest implements IBaseCalendarGroupRequest { - - /** - * The request for the CalendarGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseCalendarGroupRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the CalendarGroup from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the CalendarGroup from the service - * - * @return the CalendarGroup from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public CalendarGroup get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this CalendarGroup with a source - * - * @param sourceCalendarGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final CalendarGroup sourceCalendarGroup, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceCalendarGroup); - } - - /** - * Patches this CalendarGroup with a source - * - * @param sourceCalendarGroup the source object with updates - * @return the updated CalendarGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public CalendarGroup patch(final CalendarGroup sourceCalendarGroup) throws ClientException { - return send(HttpMethod.PATCH, sourceCalendarGroup); - } - - /** - * Creates a CalendarGroup with a new object - * - * @param newCalendarGroup the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final CalendarGroup newCalendarGroup, final ICallback callback) { - send(HttpMethod.POST, callback, newCalendarGroup); - } - - /** - * Creates a CalendarGroup with a new object - * - * @param newCalendarGroup the new object to create - * @return the created CalendarGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException { - return send(HttpMethod.POST, newCalendarGroup); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ICalendarGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (CalendarGroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ICalendarGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (CalendarGroupRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequestBuilder.java deleted file mode 100644 index 4a68cefcd4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarGroupRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ICalendarGroupRequest; -import com.microsoft.graph.requests.extensions.CalendarGroupRequest; -import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Group Request Builder. - */ -public class BaseCalendarGroupRequestBuilder extends BaseRequestBuilder implements IBaseCalendarGroupRequestBuilder { - - /** - * The request builder for the CalendarGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseCalendarGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ICalendarGroupRequest instance - */ - public ICalendarGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ICalendarGroupRequest instance - */ - public ICalendarGroupRequest buildRequest(final java.util.List requestOptions) { - return new CalendarGroupRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ICalendarCollectionRequestBuilder calendars() { - return new CalendarCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendars"), getClient(), null); - } - - public ICalendarRequestBuilder calendars(final String id) { - return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendars") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequest.java deleted file mode 100644 index 57cccc74d9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ICalendarRequest; -import com.microsoft.graph.requests.extensions.CalendarRequest; -import com.microsoft.graph.models.extensions.Calendar; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Request. - */ -public class BaseCalendarRequest extends BaseRequest implements IBaseCalendarRequest { - - /** - * The request for the Calendar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseCalendarRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Calendar from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Calendar from the service - * - * @return the Calendar from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Calendar get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Calendar with a source - * - * @param sourceCalendar the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Calendar sourceCalendar, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceCalendar); - } - - /** - * Patches this Calendar with a source - * - * @param sourceCalendar the source object with updates - * @return the updated Calendar - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Calendar patch(final Calendar sourceCalendar) throws ClientException { - return send(HttpMethod.PATCH, sourceCalendar); - } - - /** - * Creates a Calendar with a new object - * - * @param newCalendar the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Calendar newCalendar, final ICallback callback) { - send(HttpMethod.POST, callback, newCalendar); - } - - /** - * Creates a Calendar with a new object - * - * @param newCalendar the new object to create - * @return the created Calendar - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Calendar post(final Calendar newCalendar) throws ClientException { - return send(HttpMethod.POST, newCalendar); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ICalendarRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (CalendarRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ICalendarRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (CalendarRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequestBuilder.java deleted file mode 100644 index dd00d914289..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseCalendarRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ICalendarRequest; -import com.microsoft.graph.requests.extensions.CalendarRequest; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Calendar Request Builder. - */ -public class BaseCalendarRequestBuilder extends BaseRequestBuilder implements IBaseCalendarRequestBuilder { - - /** - * The request builder for the Calendar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseCalendarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ICalendarRequest instance - */ - public ICalendarRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ICalendarRequest instance - */ - public ICalendarRequest buildRequest(final java.util.List requestOptions) { - return new CalendarRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEventCollectionRequestBuilder events() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("events"), getClient(), null); - } - - public IEventRequestBuilder events(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("events") + "/" + id, getClient(), null); - } - public IEventCollectionRequestBuilder calendarView() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView"), getClient(), null); - } - - public IEventRequestBuilder calendarView(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionPage.java deleted file mode 100644 index ddb039683f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Channel; -import com.microsoft.graph.requests.extensions.IChannelCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel Collection Page. - */ -public class BaseChannelCollectionPage extends BaseCollectionPage implements IBaseChannelCollectionPage { - - /** - * A collection page for Channel - * - * @param response the serialized BaseChannelCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseChannelCollectionPage(final BaseChannelCollectionResponse response, final IChannelCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequest.java deleted file mode 100644 index e0a1a3e32cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel Collection Request. - */ -public class BaseChannelCollectionRequest extends BaseCollectionRequest implements IBaseChannelCollectionRequest { - - /** - * The request builder for this collection of Channel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseChannelCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseChannelCollectionResponse.class, IChannelCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IChannelCollectionPage get() throws ClientException { - final BaseChannelCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Channel newChannel, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ChannelRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newChannel, callback); - } - - public Channel post(final Channel newChannel) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ChannelRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newChannel); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IChannelCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ChannelCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IChannelCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ChannelCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IChannelCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ChannelCollectionRequest)this; - } - - public IChannelCollectionPage buildFromResponse(final BaseChannelCollectionResponse response) { - final IChannelCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ChannelCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ChannelCollectionPage page = new ChannelCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequestBuilder.java deleted file mode 100644 index c579ae9823a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel Collection Request Builder. - */ -public class BaseChannelCollectionRequestBuilder extends BaseRequestBuilder implements IBaseChannelCollectionRequestBuilder { - - /** - * The request builder for this collection of Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseChannelCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IChannelCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IChannelCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ChannelCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IChannelRequestBuilder byId(final String id) { - return new ChannelRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionResponse.java deleted file mode 100644 index c3b2977ec62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Channel; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel Collection Response. - */ -public class BaseChannelCollectionResponse implements IJsonBackedObject { - - /** - * The list of Channel within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequest.java deleted file mode 100644 index eaeb04062f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IChannelRequest; -import com.microsoft.graph.requests.extensions.ChannelRequest; -import com.microsoft.graph.models.extensions.Channel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel Request. - */ -public class BaseChannelRequest extends BaseRequest implements IBaseChannelRequest { - - /** - * The request for the Channel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseChannelRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Channel from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Channel from the service - * - * @return the Channel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Channel get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Channel with a source - * - * @param sourceChannel the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Channel sourceChannel, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceChannel); - } - - /** - * Patches this Channel with a source - * - * @param sourceChannel the source object with updates - * @return the updated Channel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Channel patch(final Channel sourceChannel) throws ClientException { - return send(HttpMethod.PATCH, sourceChannel); - } - - /** - * Creates a Channel with a new object - * - * @param newChannel the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Channel newChannel, final ICallback callback) { - send(HttpMethod.POST, callback, newChannel); - } - - /** - * Creates a Channel with a new object - * - * @param newChannel the new object to create - * @return the created Channel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Channel post(final Channel newChannel) throws ClientException { - return send(HttpMethod.POST, newChannel); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IChannelRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ChannelRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IChannelRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ChannelRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequestBuilder.java deleted file mode 100644 index 3b2f38068be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseChannelRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IChannelRequest; -import com.microsoft.graph.requests.extensions.ChannelRequest; -import com.microsoft.graph.requests.extensions.ITeamsTabCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsTabCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsTabRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsTabRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Channel Request Builder. - */ -public class BaseChannelRequestBuilder extends BaseRequestBuilder implements IBaseChannelRequestBuilder { - - /** - * The request builder for the Channel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseChannelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IChannelRequest instance - */ - public IChannelRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IChannelRequest instance - */ - public IChannelRequest buildRequest(final java.util.List requestOptions) { - return new ChannelRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsTabCollectionRequestBuilder tabs() { - return new TeamsTabCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tabs"), getClient(), null); - } - - public ITeamsTabRequestBuilder tabs(final String id) { - return new TeamsTabRequestBuilder(getRequestUrlWithAdditionalSegment("tabs") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionPage.java deleted file mode 100644 index 02383d98db3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ColumnDefinition; -import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition Collection Page. - */ -public class BaseColumnDefinitionCollectionPage extends BaseCollectionPage implements IBaseColumnDefinitionCollectionPage { - - /** - * A collection page for ColumnDefinition - * - * @param response the serialized BaseColumnDefinitionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseColumnDefinitionCollectionPage(final BaseColumnDefinitionCollectionResponse response, final IColumnDefinitionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequest.java deleted file mode 100644 index 6120d090d74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition Collection Request. - */ -public class BaseColumnDefinitionCollectionRequest extends BaseCollectionRequest implements IBaseColumnDefinitionCollectionRequest { - - /** - * The request builder for this collection of ColumnDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseColumnDefinitionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseColumnDefinitionCollectionResponse.class, IColumnDefinitionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IColumnDefinitionCollectionPage get() throws ClientException { - final BaseColumnDefinitionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ColumnDefinition newColumnDefinition, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ColumnDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newColumnDefinition, callback); - } - - public ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ColumnDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newColumnDefinition); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IColumnDefinitionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ColumnDefinitionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IColumnDefinitionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ColumnDefinitionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IColumnDefinitionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ColumnDefinitionCollectionRequest)this; - } - - public IColumnDefinitionCollectionPage buildFromResponse(final BaseColumnDefinitionCollectionResponse response) { - final IColumnDefinitionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ColumnDefinitionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ColumnDefinitionCollectionPage page = new ColumnDefinitionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequestBuilder.java deleted file mode 100644 index 6ad4310b344..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition Collection Request Builder. - */ -public class BaseColumnDefinitionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseColumnDefinitionCollectionRequestBuilder { - - /** - * The request builder for this collection of List - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseColumnDefinitionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IColumnDefinitionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IColumnDefinitionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ColumnDefinitionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IColumnDefinitionRequestBuilder byId(final String id) { - return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionResponse.java deleted file mode 100644 index 376ceb60f85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ColumnDefinition; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition Collection Response. - */ -public class BaseColumnDefinitionCollectionResponse implements IJsonBackedObject { - - /** - * The list of ColumnDefinition within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequest.java deleted file mode 100644 index 646954621d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequest; -import com.microsoft.graph.requests.extensions.ColumnDefinitionRequest; -import com.microsoft.graph.models.extensions.ColumnDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition Request. - */ -public class BaseColumnDefinitionRequest extends BaseRequest implements IBaseColumnDefinitionRequest { - - /** - * The request for the ColumnDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseColumnDefinitionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ColumnDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ColumnDefinition from the service - * - * @return the ColumnDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ColumnDefinition get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ColumnDefinition with a source - * - * @param sourceColumnDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ColumnDefinition sourceColumnDefinition, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceColumnDefinition); - } - - /** - * Patches this ColumnDefinition with a source - * - * @param sourceColumnDefinition the source object with updates - * @return the updated ColumnDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ColumnDefinition patch(final ColumnDefinition sourceColumnDefinition) throws ClientException { - return send(HttpMethod.PATCH, sourceColumnDefinition); - } - - /** - * Creates a ColumnDefinition with a new object - * - * @param newColumnDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ColumnDefinition newColumnDefinition, final ICallback callback) { - send(HttpMethod.POST, callback, newColumnDefinition); - } - - /** - * Creates a ColumnDefinition with a new object - * - * @param newColumnDefinition the new object to create - * @return the created ColumnDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException { - return send(HttpMethod.POST, newColumnDefinition); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IColumnDefinitionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ColumnDefinitionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IColumnDefinitionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ColumnDefinitionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequestBuilder.java deleted file mode 100644 index 1b4e719027d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnDefinitionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequest; -import com.microsoft.graph.requests.extensions.ColumnDefinitionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Definition Request Builder. - */ -public class BaseColumnDefinitionRequestBuilder extends BaseRequestBuilder implements IBaseColumnDefinitionRequestBuilder { - - /** - * The request builder for the ColumnDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseColumnDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IColumnDefinitionRequest instance - */ - public IColumnDefinitionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IColumnDefinitionRequest instance - */ - public IColumnDefinitionRequest buildRequest(final java.util.List requestOptions) { - return new ColumnDefinitionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionPage.java deleted file mode 100644 index 0148961b686..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ColumnLink; -import com.microsoft.graph.requests.extensions.IColumnLinkCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link Collection Page. - */ -public class BaseColumnLinkCollectionPage extends BaseCollectionPage implements IBaseColumnLinkCollectionPage { - - /** - * A collection page for ColumnLink - * - * @param response the serialized BaseColumnLinkCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseColumnLinkCollectionPage(final BaseColumnLinkCollectionResponse response, final IColumnLinkCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequest.java deleted file mode 100644 index 0318253aaeb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link Collection Request. - */ -public class BaseColumnLinkCollectionRequest extends BaseCollectionRequest implements IBaseColumnLinkCollectionRequest { - - /** - * The request builder for this collection of ColumnLink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseColumnLinkCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseColumnLinkCollectionResponse.class, IColumnLinkCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IColumnLinkCollectionPage get() throws ClientException { - final BaseColumnLinkCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ColumnLink newColumnLink, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ColumnLinkRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newColumnLink, callback); - } - - public ColumnLink post(final ColumnLink newColumnLink) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ColumnLinkRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newColumnLink); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IColumnLinkCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ColumnLinkCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IColumnLinkCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ColumnLinkCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IColumnLinkCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ColumnLinkCollectionRequest)this; - } - - public IColumnLinkCollectionPage buildFromResponse(final BaseColumnLinkCollectionResponse response) { - final IColumnLinkCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ColumnLinkCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ColumnLinkCollectionPage page = new ColumnLinkCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequestBuilder.java deleted file mode 100644 index 999e033c074..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link Collection Request Builder. - */ -public class BaseColumnLinkCollectionRequestBuilder extends BaseRequestBuilder implements IBaseColumnLinkCollectionRequestBuilder { - - /** - * The request builder for this collection of ContentType - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseColumnLinkCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IColumnLinkCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IColumnLinkCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ColumnLinkCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IColumnLinkRequestBuilder byId(final String id) { - return new ColumnLinkRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionResponse.java deleted file mode 100644 index 9e37cbe6984..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ColumnLink; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link Collection Response. - */ -public class BaseColumnLinkCollectionResponse implements IJsonBackedObject { - - /** - * The list of ColumnLink within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequest.java deleted file mode 100644 index 9d6545089fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IColumnLinkRequest; -import com.microsoft.graph.requests.extensions.ColumnLinkRequest; -import com.microsoft.graph.models.extensions.ColumnLink; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link Request. - */ -public class BaseColumnLinkRequest extends BaseRequest implements IBaseColumnLinkRequest { - - /** - * The request for the ColumnLink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseColumnLinkRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ColumnLink from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ColumnLink from the service - * - * @return the ColumnLink from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ColumnLink get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ColumnLink with a source - * - * @param sourceColumnLink the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ColumnLink sourceColumnLink, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceColumnLink); - } - - /** - * Patches this ColumnLink with a source - * - * @param sourceColumnLink the source object with updates - * @return the updated ColumnLink - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ColumnLink patch(final ColumnLink sourceColumnLink) throws ClientException { - return send(HttpMethod.PATCH, sourceColumnLink); - } - - /** - * Creates a ColumnLink with a new object - * - * @param newColumnLink the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ColumnLink newColumnLink, final ICallback callback) { - send(HttpMethod.POST, callback, newColumnLink); - } - - /** - * Creates a ColumnLink with a new object - * - * @param newColumnLink the new object to create - * @return the created ColumnLink - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ColumnLink post(final ColumnLink newColumnLink) throws ClientException { - return send(HttpMethod.POST, newColumnLink); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IColumnLinkRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ColumnLinkRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IColumnLinkRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ColumnLinkRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequestBuilder.java deleted file mode 100644 index 4c1dd27f3d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseColumnLinkRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IColumnLinkRequest; -import com.microsoft.graph.requests.extensions.ColumnLinkRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Column Link Request Builder. - */ -public class BaseColumnLinkRequestBuilder extends BaseRequestBuilder implements IBaseColumnLinkRequestBuilder { - - /** - * The request builder for the ColumnLink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseColumnLinkRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IColumnLinkRequest instance - */ - public IColumnLinkRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IColumnLinkRequest instance - */ - public IColumnLinkRequest buildRequest(final java.util.List requestOptions) { - return new ColumnLinkRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionPage.java deleted file mode 100644 index ddc13ccb8e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Contact; -import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Collection Page. - */ -public class BaseContactCollectionPage extends BaseCollectionPage implements IBaseContactCollectionPage { - - /** - * A collection page for Contact - * - * @param response the serialized BaseContactCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseContactCollectionPage(final BaseContactCollectionResponse response, final IContactCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequest.java deleted file mode 100644 index b0c6602acec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Collection Request. - */ -public class BaseContactCollectionRequest extends BaseCollectionRequest implements IBaseContactCollectionRequest { - - /** - * The request builder for this collection of Contact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseContactCollectionResponse.class, IContactCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IContactCollectionPage get() throws ClientException { - final BaseContactCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Contact newContact, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ContactRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContact, callback); - } - - public Contact post(final Contact newContact) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ContactRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContact); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContactCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ContactCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContactCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ContactCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IContactCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ContactCollectionRequest)this; - } - - public IContactCollectionPage buildFromResponse(final BaseContactCollectionResponse response) { - final IContactCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ContactCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ContactCollectionPage page = new ContactCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequestBuilder.java deleted file mode 100644 index 4ec554a555b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Collection Request Builder. - */ -public class BaseContactCollectionRequestBuilder extends BaseRequestBuilder implements IBaseContactCollectionRequestBuilder { - - /** - * The request builder for this collection of ContactFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IContactCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IContactCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ContactCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IContactRequestBuilder byId(final String id) { - return new ContactRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IContactDeltaCollectionRequestBuilder delta() { - return new ContactDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IContactDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new ContactDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionResponse.java deleted file mode 100644 index e3342653550..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Contact; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Collection Response. - */ -public class BaseContactCollectionResponse implements IJsonBackedObject { - - /** - * The list of Contact within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionPage.java deleted file mode 100644 index be37f7335a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Delta Collection Page. - */ -public class BaseContactDeltaCollectionPage extends BaseCollectionPage implements IBaseContactDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for ContactDelta. - * - * @param response The serialized BaseContactDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseContactDeltaCollectionPage(final BaseContactDeltaCollectionResponse response, final IContactDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequest.java deleted file mode 100644 index 3075da179a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Delta Collection Request. - */ -public class BaseContactDeltaCollectionRequest extends BaseCollectionRequest implements IBaseContactDeltaCollectionRequest { - - - /** - * The request for this ContactDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseContactDeltaCollectionResponse.class, IContactDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IContactDeltaCollectionPage get() throws ClientException { - final BaseContactDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IContactDeltaCollectionPage buildFromResponse(final BaseContactDeltaCollectionResponse response) { - final IContactDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ContactDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IContactDeltaCollectionPage page = new ContactDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContactDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IContactDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IContactDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IContactDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContactDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IContactDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequestBuilder.java deleted file mode 100644 index fd14776dae6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Delta Collection Request Builder. - */ -public class BaseContactDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseContactDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of Contact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IContactDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IContactDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - ContactDeltaCollectionRequest request = new ContactDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionResponse.java deleted file mode 100644 index 5aae3e71699..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Delta Collection Response. - */ -public class BaseContactDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionPage.java deleted file mode 100644 index 9ce23929ceb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ContactFolder; -import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Collection Page. - */ -public class BaseContactFolderCollectionPage extends BaseCollectionPage implements IBaseContactFolderCollectionPage { - - /** - * A collection page for ContactFolder - * - * @param response the serialized BaseContactFolderCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseContactFolderCollectionPage(final BaseContactFolderCollectionResponse response, final IContactFolderCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequest.java deleted file mode 100644 index b668b0462a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Collection Request. - */ -public class BaseContactFolderCollectionRequest extends BaseCollectionRequest implements IBaseContactFolderCollectionRequest { - - /** - * The request builder for this collection of ContactFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactFolderCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseContactFolderCollectionResponse.class, IContactFolderCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IContactFolderCollectionPage get() throws ClientException { - final BaseContactFolderCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ContactFolder newContactFolder, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ContactFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContactFolder, callback); - } - - public ContactFolder post(final ContactFolder newContactFolder) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ContactFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContactFolder); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContactFolderCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ContactFolderCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContactFolderCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ContactFolderCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IContactFolderCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ContactFolderCollectionRequest)this; - } - - public IContactFolderCollectionPage buildFromResponse(final BaseContactFolderCollectionResponse response) { - final IContactFolderCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ContactFolderCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ContactFolderCollectionPage page = new ContactFolderCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequestBuilder.java deleted file mode 100644 index 86c75284b37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Collection Request Builder. - */ -public class BaseContactFolderCollectionRequestBuilder extends BaseRequestBuilder implements IBaseContactFolderCollectionRequestBuilder { - - /** - * The request builder for this collection of ContactFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactFolderCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IContactFolderCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IContactFolderCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ContactFolderCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IContactFolderRequestBuilder byId(final String id) { - return new ContactFolderRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IContactFolderDeltaCollectionRequestBuilder delta() { - return new ContactFolderDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IContactFolderDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new ContactFolderDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionResponse.java deleted file mode 100644 index 8cd06ba9246..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ContactFolder; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Collection Response. - */ -public class BaseContactFolderCollectionResponse implements IJsonBackedObject { - - /** - * The list of ContactFolder within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionPage.java deleted file mode 100644 index 2e2e9132edc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Delta Collection Page. - */ -public class BaseContactFolderDeltaCollectionPage extends BaseCollectionPage implements IBaseContactFolderDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for ContactFolderDelta. - * - * @param response The serialized BaseContactFolderDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseContactFolderDeltaCollectionPage(final BaseContactFolderDeltaCollectionResponse response, final IContactFolderDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequest.java deleted file mode 100644 index 1474f7a358a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Delta Collection Request. - */ -public class BaseContactFolderDeltaCollectionRequest extends BaseCollectionRequest implements IBaseContactFolderDeltaCollectionRequest { - - - /** - * The request for this ContactFolderDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactFolderDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseContactFolderDeltaCollectionResponse.class, IContactFolderDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IContactFolderDeltaCollectionPage get() throws ClientException { - final BaseContactFolderDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IContactFolderDeltaCollectionPage buildFromResponse(final BaseContactFolderDeltaCollectionResponse response) { - final IContactFolderDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ContactFolderDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IContactFolderDeltaCollectionPage page = new ContactFolderDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContactFolderDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IContactFolderDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IContactFolderDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IContactFolderDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContactFolderDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IContactFolderDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequestBuilder.java deleted file mode 100644 index 0b1bd722072..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Delta Collection Request Builder. - */ -public class BaseContactFolderDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseContactFolderDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of ContactFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactFolderDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IContactFolderDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IContactFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - ContactFolderDeltaCollectionRequest request = new ContactFolderDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionResponse.java deleted file mode 100644 index b9bfa55d48e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Delta Collection Response. - */ -public class BaseContactFolderDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequest.java deleted file mode 100644 index a1692d2436f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContactFolderRequest; -import com.microsoft.graph.requests.extensions.ContactFolderRequest; -import com.microsoft.graph.models.extensions.ContactFolder; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Request. - */ -public class BaseContactFolderRequest extends BaseRequest implements IBaseContactFolderRequest { - - /** - * The request for the ContactFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseContactFolderRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ContactFolder from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ContactFolder from the service - * - * @return the ContactFolder from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ContactFolder get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ContactFolder with a source - * - * @param sourceContactFolder the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ContactFolder sourceContactFolder, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceContactFolder); - } - - /** - * Patches this ContactFolder with a source - * - * @param sourceContactFolder the source object with updates - * @return the updated ContactFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ContactFolder patch(final ContactFolder sourceContactFolder) throws ClientException { - return send(HttpMethod.PATCH, sourceContactFolder); - } - - /** - * Creates a ContactFolder with a new object - * - * @param newContactFolder the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ContactFolder newContactFolder, final ICallback callback) { - send(HttpMethod.POST, callback, newContactFolder); - } - - /** - * Creates a ContactFolder with a new object - * - * @param newContactFolder the new object to create - * @return the created ContactFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ContactFolder post(final ContactFolder newContactFolder) throws ClientException { - return send(HttpMethod.POST, newContactFolder); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContactFolderRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ContactFolderRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContactFolderRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ContactFolderRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequestBuilder.java deleted file mode 100644 index f7c949b7e81..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactFolderRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContactFolderRequest; -import com.microsoft.graph.requests.extensions.ContactFolderRequest; -import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Folder Request Builder. - */ -public class BaseContactFolderRequestBuilder extends BaseRequestBuilder implements IBaseContactFolderRequestBuilder { - - /** - * The request builder for the ContactFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactFolderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IContactFolderRequest instance - */ - public IContactFolderRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IContactFolderRequest instance - */ - public IContactFolderRequest buildRequest(final java.util.List requestOptions) { - return new ContactFolderRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IContactCollectionRequestBuilder contacts() { - return new ContactCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contacts"), getClient(), null); - } - - public IContactRequestBuilder contacts(final String id) { - return new ContactRequestBuilder(getRequestUrlWithAdditionalSegment("contacts") + "/" + id, getClient(), null); - } - public IContactFolderCollectionRequestBuilder childFolders() { - return new ContactFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders"), getClient(), null); - } - - public IContactFolderRequestBuilder childFolders(final String id) { - return new ContactFolderRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactRequest.java deleted file mode 100644 index 2a5efc22981..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContactRequest; -import com.microsoft.graph.requests.extensions.ContactRequest; -import com.microsoft.graph.models.extensions.Contact; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Request. - */ -public class BaseContactRequest extends BaseRequest implements IBaseContactRequest { - - /** - * The request for the Contact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseContactRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Contact from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Contact from the service - * - * @return the Contact from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Contact get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Contact with a source - * - * @param sourceContact the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Contact sourceContact, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceContact); - } - - /** - * Patches this Contact with a source - * - * @param sourceContact the source object with updates - * @return the updated Contact - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Contact patch(final Contact sourceContact) throws ClientException { - return send(HttpMethod.PATCH, sourceContact); - } - - /** - * Creates a Contact with a new object - * - * @param newContact the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Contact newContact, final ICallback callback) { - send(HttpMethod.POST, callback, newContact); - } - - /** - * Creates a Contact with a new object - * - * @param newContact the new object to create - * @return the created Contact - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Contact post(final Contact newContact) throws ClientException { - return send(HttpMethod.POST, newContact); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContactRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ContactRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContactRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ContactRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContactRequestBuilder.java deleted file mode 100644 index ba936993c6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContactRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContactRequest; -import com.microsoft.graph.requests.extensions.ContactRequest; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contact Request Builder. - */ -public class BaseContactRequestBuilder extends BaseRequestBuilder implements IBaseContactRequestBuilder { - - /** - * The request builder for the Contact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContactRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IContactRequest instance - */ - public IContactRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IContactRequest instance - */ - public IContactRequest buildRequest(final java.util.List requestOptions) { - return new ContactRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ProfilePhoto - * - * @return the IProfilePhotoRequestBuilder instance - */ - public IProfilePhotoRequestBuilder photo() { - return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photo"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionPage.java deleted file mode 100644 index 75aee794a41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ContentType; -import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Collection Page. - */ -public class BaseContentTypeCollectionPage extends BaseCollectionPage implements IBaseContentTypeCollectionPage { - - /** - * A collection page for ContentType - * - * @param response the serialized BaseContentTypeCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseContentTypeCollectionPage(final BaseContentTypeCollectionResponse response, final IContentTypeCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequest.java deleted file mode 100644 index 9b054231274..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Collection Request. - */ -public class BaseContentTypeCollectionRequest extends BaseCollectionRequest implements IBaseContentTypeCollectionRequest { - - /** - * The request builder for this collection of ContentType - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContentTypeCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseContentTypeCollectionResponse.class, IContentTypeCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IContentTypeCollectionPage get() throws ClientException { - final BaseContentTypeCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ContentType newContentType, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ContentTypeRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContentType, callback); - } - - public ContentType post(final ContentType newContentType) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ContentTypeRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContentType); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContentTypeCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ContentTypeCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContentTypeCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ContentTypeCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IContentTypeCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ContentTypeCollectionRequest)this; - } - - public IContentTypeCollectionPage buildFromResponse(final BaseContentTypeCollectionResponse response) { - final IContentTypeCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ContentTypeCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ContentTypeCollectionPage page = new ContentTypeCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequestBuilder.java deleted file mode 100644 index f84707f07c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Collection Request Builder. - */ -public class BaseContentTypeCollectionRequestBuilder extends BaseRequestBuilder implements IBaseContentTypeCollectionRequestBuilder { - - /** - * The request builder for this collection of List - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContentTypeCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IContentTypeCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IContentTypeCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ContentTypeCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IContentTypeRequestBuilder byId(final String id) { - return new ContentTypeRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionResponse.java deleted file mode 100644 index e57776c6daf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ContentType; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Collection Response. - */ -public class BaseContentTypeCollectionResponse implements IJsonBackedObject { - - /** - * The list of ContentType within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequest.java deleted file mode 100644 index e4e7f94afa3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContentTypeRequest; -import com.microsoft.graph.requests.extensions.ContentTypeRequest; -import com.microsoft.graph.models.extensions.ContentType; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Request. - */ -public class BaseContentTypeRequest extends BaseRequest implements IBaseContentTypeRequest { - - /** - * The request for the ContentType - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseContentTypeRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ContentType from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ContentType from the service - * - * @return the ContentType from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ContentType get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ContentType with a source - * - * @param sourceContentType the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ContentType sourceContentType, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceContentType); - } - - /** - * Patches this ContentType with a source - * - * @param sourceContentType the source object with updates - * @return the updated ContentType - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ContentType patch(final ContentType sourceContentType) throws ClientException { - return send(HttpMethod.PATCH, sourceContentType); - } - - /** - * Creates a ContentType with a new object - * - * @param newContentType the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ContentType newContentType, final ICallback callback) { - send(HttpMethod.POST, callback, newContentType); - } - - /** - * Creates a ContentType with a new object - * - * @param newContentType the new object to create - * @return the created ContentType - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ContentType post(final ContentType newContentType) throws ClientException { - return send(HttpMethod.POST, newContentType); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContentTypeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ContentTypeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContentTypeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ContentTypeRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequestBuilder.java deleted file mode 100644 index 4ca0365d8f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContentTypeRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContentTypeRequest; -import com.microsoft.graph.requests.extensions.ContentTypeRequest; -import com.microsoft.graph.requests.extensions.IColumnLinkCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ColumnLinkCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IColumnLinkRequestBuilder; -import com.microsoft.graph.requests.extensions.ColumnLinkRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Content Type Request Builder. - */ -public class BaseContentTypeRequestBuilder extends BaseRequestBuilder implements IBaseContentTypeRequestBuilder { - - /** - * The request builder for the ContentType - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContentTypeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IContentTypeRequest instance - */ - public IContentTypeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IContentTypeRequest instance - */ - public IContentTypeRequest buildRequest(final java.util.List requestOptions) { - return new ContentTypeRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IColumnLinkCollectionRequestBuilder columnLinks() { - return new ColumnLinkCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columnLinks"), getClient(), null); - } - - public IColumnLinkRequestBuilder columnLinks(final String id) { - return new ColumnLinkRequestBuilder(getRequestUrlWithAdditionalSegment("columnLinks") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionPage.java deleted file mode 100644 index 8d2300c3539..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Contract; -import com.microsoft.graph.requests.extensions.IContractCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract Collection Page. - */ -public class BaseContractCollectionPage extends BaseCollectionPage implements IBaseContractCollectionPage { - - /** - * A collection page for Contract - * - * @param response the serialized BaseContractCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseContractCollectionPage(final BaseContractCollectionResponse response, final IContractCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequest.java deleted file mode 100644 index e56b3279251..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract Collection Request. - */ -public class BaseContractCollectionRequest extends BaseCollectionRequest implements IBaseContractCollectionRequest { - - /** - * The request builder for this collection of Contract - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContractCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseContractCollectionResponse.class, IContractCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IContractCollectionPage get() throws ClientException { - final BaseContractCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Contract newContract, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ContractRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContract, callback); - } - - public Contract post(final Contract newContract) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ContractRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newContract); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContractCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ContractCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContractCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ContractCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IContractCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ContractCollectionRequest)this; - } - - public IContractCollectionPage buildFromResponse(final BaseContractCollectionResponse response) { - final IContractCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ContractCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ContractCollectionPage page = new ContractCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequestBuilder.java deleted file mode 100644 index 9e6e1dffb5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract Collection Request Builder. - */ -public class BaseContractCollectionRequestBuilder extends BaseRequestBuilder implements IBaseContractCollectionRequestBuilder { - - /** - * The request builder for this collection of Contract - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContractCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IContractCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IContractCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ContractCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IContractRequestBuilder byId(final String id) { - return new ContractRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionResponse.java deleted file mode 100644 index 762074c78d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContractCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Contract; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract Collection Response. - */ -public class BaseContractCollectionResponse implements IJsonBackedObject { - - /** - * The list of Contract within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContractRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContractRequest.java deleted file mode 100644 index 0b38110a5d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContractRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContractRequest; -import com.microsoft.graph.requests.extensions.ContractRequest; -import com.microsoft.graph.models.extensions.Contract; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract Request. - */ -public class BaseContractRequest extends BaseRequest implements IBaseContractRequest { - - /** - * The request for the Contract - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseContractRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Contract from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Contract from the service - * - * @return the Contract from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Contract get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Contract with a source - * - * @param sourceContract the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Contract sourceContract, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceContract); - } - - /** - * Patches this Contract with a source - * - * @param sourceContract the source object with updates - * @return the updated Contract - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Contract patch(final Contract sourceContract) throws ClientException { - return send(HttpMethod.PATCH, sourceContract); - } - - /** - * Creates a Contract with a new object - * - * @param newContract the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Contract newContract, final ICallback callback) { - send(HttpMethod.POST, callback, newContract); - } - - /** - * Creates a Contract with a new object - * - * @param newContract the new object to create - * @return the created Contract - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Contract post(final Contract newContract) throws ClientException { - return send(HttpMethod.POST, newContract); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IContractRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ContractRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IContractRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ContractRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseContractRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseContractRequestBuilder.java deleted file mode 100644 index 879c43dc488..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseContractRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContractRequest; -import com.microsoft.graph.requests.extensions.ContractRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Contract Request Builder. - */ -public class BaseContractRequestBuilder extends BaseRequestBuilder implements IBaseContractRequestBuilder { - - /** - * The request builder for the Contract - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseContractRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IContractRequest instance - */ - public IContractRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IContractRequest instance - */ - public IContractRequest buildRequest(final java.util.List requestOptions) { - return new ContractRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionPage.java deleted file mode 100644 index 46c576f260f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Conversation; -import com.microsoft.graph.requests.extensions.IConversationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Collection Page. - */ -public class BaseConversationCollectionPage extends BaseCollectionPage implements IBaseConversationCollectionPage { - - /** - * A collection page for Conversation - * - * @param response the serialized BaseConversationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseConversationCollectionPage(final BaseConversationCollectionResponse response, final IConversationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequest.java deleted file mode 100644 index 306d76d0b41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Collection Request. - */ -public class BaseConversationCollectionRequest extends BaseCollectionRequest implements IBaseConversationCollectionRequest { - - /** - * The request builder for this collection of Conversation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseConversationCollectionResponse.class, IConversationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IConversationCollectionPage get() throws ClientException { - final BaseConversationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Conversation newConversation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ConversationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newConversation, callback); - } - - public Conversation post(final Conversation newConversation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ConversationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newConversation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IConversationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ConversationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IConversationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ConversationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IConversationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ConversationCollectionRequest)this; - } - - public IConversationCollectionPage buildFromResponse(final BaseConversationCollectionResponse response) { - final IConversationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ConversationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ConversationCollectionPage page = new ConversationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequestBuilder.java deleted file mode 100644 index 155d288234b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Collection Request Builder. - */ -public class BaseConversationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseConversationCollectionRequestBuilder { - - /** - * The request builder for this collection of Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IConversationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IConversationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ConversationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IConversationRequestBuilder byId(final String id) { - return new ConversationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionResponse.java deleted file mode 100644 index 046e5c2d0d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Conversation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Collection Response. - */ -public class BaseConversationCollectionResponse implements IJsonBackedObject { - - /** - * The list of Conversation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequest.java deleted file mode 100644 index a10429918da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationRequest; -import com.microsoft.graph.requests.extensions.ConversationRequest; -import com.microsoft.graph.models.extensions.Conversation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Request. - */ -public class BaseConversationRequest extends BaseRequest implements IBaseConversationRequest { - - /** - * The request for the Conversation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseConversationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Conversation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Conversation from the service - * - * @return the Conversation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Conversation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Conversation with a source - * - * @param sourceConversation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Conversation sourceConversation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceConversation); - } - - /** - * Patches this Conversation with a source - * - * @param sourceConversation the source object with updates - * @return the updated Conversation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Conversation patch(final Conversation sourceConversation) throws ClientException { - return send(HttpMethod.PATCH, sourceConversation); - } - - /** - * Creates a Conversation with a new object - * - * @param newConversation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Conversation newConversation, final ICallback callback) { - send(HttpMethod.POST, callback, newConversation); - } - - /** - * Creates a Conversation with a new object - * - * @param newConversation the new object to create - * @return the created Conversation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Conversation post(final Conversation newConversation) throws ClientException { - return send(HttpMethod.POST, newConversation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IConversationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ConversationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IConversationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ConversationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequestBuilder.java deleted file mode 100644 index 979c07a9623..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationRequest; -import com.microsoft.graph.requests.extensions.ConversationRequest; -import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationThreadRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Request Builder. - */ -public class BaseConversationRequestBuilder extends BaseRequestBuilder implements IBaseConversationRequestBuilder { - - /** - * The request builder for the Conversation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IConversationRequest instance - */ - public IConversationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IConversationRequest instance - */ - public IConversationRequest buildRequest(final java.util.List requestOptions) { - return new ConversationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IConversationThreadCollectionRequestBuilder threads() { - return new ConversationThreadCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("threads"), getClient(), null); - } - - public IConversationThreadRequestBuilder threads(final String id) { - return new ConversationThreadRequestBuilder(getRequestUrlWithAdditionalSegment("threads") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionPage.java deleted file mode 100644 index 83a6ed72af7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ConversationThread; -import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Collection Page. - */ -public class BaseConversationThreadCollectionPage extends BaseCollectionPage implements IBaseConversationThreadCollectionPage { - - /** - * A collection page for ConversationThread - * - * @param response the serialized BaseConversationThreadCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseConversationThreadCollectionPage(final BaseConversationThreadCollectionResponse response, final IConversationThreadCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequest.java deleted file mode 100644 index 9c1171b42db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Collection Request. - */ -public class BaseConversationThreadCollectionRequest extends BaseCollectionRequest implements IBaseConversationThreadCollectionRequest { - - /** - * The request builder for this collection of ConversationThread - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationThreadCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseConversationThreadCollectionResponse.class, IConversationThreadCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IConversationThreadCollectionPage get() throws ClientException { - final BaseConversationThreadCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ConversationThread newConversationThread, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ConversationThreadRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newConversationThread, callback); - } - - public ConversationThread post(final ConversationThread newConversationThread) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ConversationThreadRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newConversationThread); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IConversationThreadCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ConversationThreadCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IConversationThreadCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ConversationThreadCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IConversationThreadCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ConversationThreadCollectionRequest)this; - } - - public IConversationThreadCollectionPage buildFromResponse(final BaseConversationThreadCollectionResponse response) { - final IConversationThreadCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ConversationThreadCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ConversationThreadCollectionPage page = new ConversationThreadCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequestBuilder.java deleted file mode 100644 index d8cf264494b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Collection Request Builder. - */ -public class BaseConversationThreadCollectionRequestBuilder extends BaseRequestBuilder implements IBaseConversationThreadCollectionRequestBuilder { - - /** - * The request builder for this collection of Conversation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationThreadCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IConversationThreadCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IConversationThreadCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ConversationThreadCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IConversationThreadRequestBuilder byId(final String id) { - return new ConversationThreadRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionResponse.java deleted file mode 100644 index 45426b72e00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ConversationThread; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Collection Response. - */ -public class BaseConversationThreadCollectionResponse implements IJsonBackedObject { - - /** - * The list of ConversationThread within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequest.java deleted file mode 100644 index 6835d23b3f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ConversationThreadReplyBody; -import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; -import com.microsoft.graph.requests.extensions.ConversationThreadReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Reply Request. - */ -public class BaseConversationThreadReplyRequest extends BaseRequest implements IBaseConversationThreadReplyRequest { - protected final ConversationThreadReplyBody body; - - /** - * The request for this ConversationThreadReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationThreadReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ConversationThreadReplyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IConversationThreadReplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ConversationThreadReplyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IConversationThreadReplyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ConversationThreadReplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IConversationThreadReplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ConversationThreadReplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequestBuilder.java deleted file mode 100644 index 0cc022b1234..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadReplyRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; -import com.microsoft.graph.requests.extensions.ConversationThreadReplyRequest; -import com.microsoft.graph.models.extensions.Post; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Reply Request Builder. - */ -public class BaseConversationThreadReplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ConversationThreadReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param post the post - */ - public BaseConversationThreadReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Post post) { - super(requestUrl, client, requestOptions); - bodyParams.put("post", post); - } - - /** - * Creates the IConversationThreadReplyRequest - * - * @return the IConversationThreadReplyRequest instance - */ - public IConversationThreadReplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IConversationThreadReplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IConversationThreadReplyRequest instance - */ - public IConversationThreadReplyRequest buildRequest(final java.util.List requestOptions) { - ConversationThreadReplyRequest request = new ConversationThreadReplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("post")) { - request.body.post = getParameter("post"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequest.java deleted file mode 100644 index 8f07f136a6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationThreadRequest; -import com.microsoft.graph.requests.extensions.ConversationThreadRequest; -import com.microsoft.graph.models.extensions.ConversationThread; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Request. - */ -public class BaseConversationThreadRequest extends BaseRequest implements IBaseConversationThreadRequest { - - /** - * The request for the ConversationThread - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseConversationThreadRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ConversationThread from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ConversationThread from the service - * - * @return the ConversationThread from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ConversationThread get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ConversationThread with a source - * - * @param sourceConversationThread the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ConversationThread sourceConversationThread, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceConversationThread); - } - - /** - * Patches this ConversationThread with a source - * - * @param sourceConversationThread the source object with updates - * @return the updated ConversationThread - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ConversationThread patch(final ConversationThread sourceConversationThread) throws ClientException { - return send(HttpMethod.PATCH, sourceConversationThread); - } - - /** - * Creates a ConversationThread with a new object - * - * @param newConversationThread the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ConversationThread newConversationThread, final ICallback callback) { - send(HttpMethod.POST, callback, newConversationThread); - } - - /** - * Creates a ConversationThread with a new object - * - * @param newConversationThread the new object to create - * @return the created ConversationThread - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ConversationThread post(final ConversationThread newConversationThread) throws ClientException { - return send(HttpMethod.POST, newConversationThread); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IConversationThreadRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ConversationThreadRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IConversationThreadRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ConversationThreadRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequestBuilder.java deleted file mode 100644 index 67e8823cc17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseConversationThreadRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationThreadRequest; -import com.microsoft.graph.requests.extensions.ConversationThreadRequest; -import com.microsoft.graph.requests.extensions.IPostCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PostCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPostRequestBuilder; -import com.microsoft.graph.requests.extensions.PostRequestBuilder; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationThreadReplyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Conversation Thread Request Builder. - */ -public class BaseConversationThreadRequestBuilder extends BaseRequestBuilder implements IBaseConversationThreadRequestBuilder { - - /** - * The request builder for the ConversationThread - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseConversationThreadRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IConversationThreadRequest instance - */ - public IConversationThreadRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IConversationThreadRequest instance - */ - public IConversationThreadRequest buildRequest(final java.util.List requestOptions) { - return new ConversationThreadRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPostCollectionRequestBuilder posts() { - return new PostCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("posts"), getClient(), null); - } - - public IPostRequestBuilder posts(final String id) { - return new PostRequestBuilder(getRequestUrlWithAdditionalSegment("posts") + "/" + id, getClient(), null); - } - - public IConversationThreadReplyRequestBuilder reply(final Post post) { - return new ConversationThreadReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reply"), getClient(), null, post); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionPage.java deleted file mode 100644 index 4e37da428e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DataPolicyOperation; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation Collection Page. - */ -public class BaseDataPolicyOperationCollectionPage extends BaseCollectionPage implements IBaseDataPolicyOperationCollectionPage { - - /** - * A collection page for DataPolicyOperation - * - * @param response the serialized BaseDataPolicyOperationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDataPolicyOperationCollectionPage(final BaseDataPolicyOperationCollectionResponse response, final IDataPolicyOperationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequest.java deleted file mode 100644 index fa4e242a205..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation Collection Request. - */ -public class BaseDataPolicyOperationCollectionRequest extends BaseCollectionRequest implements IBaseDataPolicyOperationCollectionRequest { - - /** - * The request builder for this collection of DataPolicyOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDataPolicyOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDataPolicyOperationCollectionResponse.class, IDataPolicyOperationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDataPolicyOperationCollectionPage get() throws ClientException { - final BaseDataPolicyOperationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DataPolicyOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDataPolicyOperation, callback); - } - - public DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DataPolicyOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDataPolicyOperation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDataPolicyOperationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DataPolicyOperationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDataPolicyOperationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DataPolicyOperationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDataPolicyOperationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DataPolicyOperationCollectionRequest)this; - } - - public IDataPolicyOperationCollectionPage buildFromResponse(final BaseDataPolicyOperationCollectionResponse response) { - final IDataPolicyOperationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DataPolicyOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DataPolicyOperationCollectionPage page = new DataPolicyOperationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequestBuilder.java deleted file mode 100644 index 5b5cc5e01b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation Collection Request Builder. - */ -public class BaseDataPolicyOperationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDataPolicyOperationCollectionRequestBuilder { - - /** - * The request builder for this collection of DataPolicyOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDataPolicyOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDataPolicyOperationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDataPolicyOperationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DataPolicyOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDataPolicyOperationRequestBuilder byId(final String id) { - return new DataPolicyOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionResponse.java deleted file mode 100644 index c4ed80d7984..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DataPolicyOperation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation Collection Response. - */ -public class BaseDataPolicyOperationCollectionResponse implements IJsonBackedObject { - - /** - * The list of DataPolicyOperation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequest.java deleted file mode 100644 index eb0afd2ac1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequest; -import com.microsoft.graph.requests.extensions.DataPolicyOperationRequest; -import com.microsoft.graph.models.extensions.DataPolicyOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation Request. - */ -public class BaseDataPolicyOperationRequest extends BaseRequest implements IBaseDataPolicyOperationRequest { - - /** - * The request for the DataPolicyOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDataPolicyOperationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DataPolicyOperation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DataPolicyOperation from the service - * - * @return the DataPolicyOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DataPolicyOperation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DataPolicyOperation with a source - * - * @param sourceDataPolicyOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DataPolicyOperation sourceDataPolicyOperation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDataPolicyOperation); - } - - /** - * Patches this DataPolicyOperation with a source - * - * @param sourceDataPolicyOperation the source object with updates - * @return the updated DataPolicyOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DataPolicyOperation patch(final DataPolicyOperation sourceDataPolicyOperation) throws ClientException { - return send(HttpMethod.PATCH, sourceDataPolicyOperation); - } - - /** - * Creates a DataPolicyOperation with a new object - * - * @param newDataPolicyOperation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback) { - send(HttpMethod.POST, callback, newDataPolicyOperation); - } - - /** - * Creates a DataPolicyOperation with a new object - * - * @param newDataPolicyOperation the new object to create - * @return the created DataPolicyOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException { - return send(HttpMethod.POST, newDataPolicyOperation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDataPolicyOperationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DataPolicyOperationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDataPolicyOperationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DataPolicyOperationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequestBuilder.java deleted file mode 100644 index b7f5e4e7fe6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDataPolicyOperationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequest; -import com.microsoft.graph.requests.extensions.DataPolicyOperationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Data Policy Operation Request Builder. - */ -public class BaseDataPolicyOperationRequestBuilder extends BaseRequestBuilder implements IBaseDataPolicyOperationRequestBuilder { - - /** - * The request builder for the DataPolicyOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDataPolicyOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDataPolicyOperationRequest instance - */ - public IDataPolicyOperationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDataPolicyOperationRequest instance - */ - public IDataPolicyOperationRequest buildRequest(final java.util.List requestOptions) { - return new DataPolicyOperationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionPage.java deleted file mode 100644 index 0b70db56deb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection Collection Page. - */ -public class BaseDefaultManagedAppProtectionCollectionPage extends BaseCollectionPage implements IBaseDefaultManagedAppProtectionCollectionPage { - - /** - * A collection page for DefaultManagedAppProtection - * - * @param response the serialized BaseDefaultManagedAppProtectionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDefaultManagedAppProtectionCollectionPage(final BaseDefaultManagedAppProtectionCollectionResponse response, final IDefaultManagedAppProtectionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequest.java deleted file mode 100644 index 8078dac022c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection Collection Request. - */ -public class BaseDefaultManagedAppProtectionCollectionRequest extends BaseCollectionRequest implements IBaseDefaultManagedAppProtectionCollectionRequest { - - /** - * The request builder for this collection of DefaultManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDefaultManagedAppProtectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDefaultManagedAppProtectionCollectionResponse.class, IDefaultManagedAppProtectionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDefaultManagedAppProtectionCollectionPage get() throws ClientException { - final BaseDefaultManagedAppProtectionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DefaultManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDefaultManagedAppProtection, callback); - } - - public DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DefaultManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDefaultManagedAppProtection); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDefaultManagedAppProtectionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DefaultManagedAppProtectionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDefaultManagedAppProtectionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DefaultManagedAppProtectionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDefaultManagedAppProtectionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DefaultManagedAppProtectionCollectionRequest)this; - } - - public IDefaultManagedAppProtectionCollectionPage buildFromResponse(final BaseDefaultManagedAppProtectionCollectionResponse response) { - final IDefaultManagedAppProtectionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DefaultManagedAppProtectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DefaultManagedAppProtectionCollectionPage page = new DefaultManagedAppProtectionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequestBuilder.java deleted file mode 100644 index 60d018c8693..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection Collection Request Builder. - */ -public class BaseDefaultManagedAppProtectionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDefaultManagedAppProtectionCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDefaultManagedAppProtectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDefaultManagedAppProtectionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDefaultManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DefaultManagedAppProtectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDefaultManagedAppProtectionRequestBuilder byId(final String id) { - return new DefaultManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionResponse.java deleted file mode 100644 index c9a96eda78a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection Collection Response. - */ -public class BaseDefaultManagedAppProtectionCollectionResponse implements IJsonBackedObject { - - /** - * The list of DefaultManagedAppProtection within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequest.java deleted file mode 100644 index 90b04832ace..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection Request. - */ -public class BaseDefaultManagedAppProtectionRequest extends BaseRequest implements IBaseDefaultManagedAppProtectionRequest { - - /** - * The request for the DefaultManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDefaultManagedAppProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DefaultManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DefaultManagedAppProtection from the service - * - * @return the DefaultManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DefaultManagedAppProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DefaultManagedAppProtection with a source - * - * @param sourceDefaultManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDefaultManagedAppProtection); - } - - /** - * Patches this DefaultManagedAppProtection with a source - * - * @param sourceDefaultManagedAppProtection the source object with updates - * @return the updated DefaultManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DefaultManagedAppProtection patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceDefaultManagedAppProtection); - } - - /** - * Creates a DefaultManagedAppProtection with a new object - * - * @param newDefaultManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newDefaultManagedAppProtection); - } - - /** - * Creates a DefaultManagedAppProtection with a new object - * - * @param newDefaultManagedAppProtection the new object to create - * @return the created DefaultManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException { - return send(HttpMethod.POST, newDefaultManagedAppProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDefaultManagedAppProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DefaultManagedAppProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDefaultManagedAppProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DefaultManagedAppProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequestBuilder.java deleted file mode 100644 index caa8e2f2043..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDefaultManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Default Managed App Protection Request Builder. - */ -public class BaseDefaultManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IBaseDefaultManagedAppProtectionRequestBuilder { - - /** - * The request builder for the DefaultManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDefaultManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDefaultManagedAppProtectionRequest instance - */ - public IDefaultManagedAppProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDefaultManagedAppProtectionRequest instance - */ - public IDefaultManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { - return new DefaultManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedMobileAppCollectionRequestBuilder apps() { - return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); - } - - public IManagedMobileAppRequestBuilder apps(final String id) { - return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { - return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionPage.java deleted file mode 100644 index 28c34b018e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DetectedApp; -import com.microsoft.graph.requests.extensions.IDetectedAppCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App Collection Page. - */ -public class BaseDetectedAppCollectionPage extends BaseCollectionPage implements IBaseDetectedAppCollectionPage { - - /** - * A collection page for DetectedApp - * - * @param response the serialized BaseDetectedAppCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDetectedAppCollectionPage(final BaseDetectedAppCollectionResponse response, final IDetectedAppCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequest.java deleted file mode 100644 index 5b2b6a0f608..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App Collection Request. - */ -public class BaseDetectedAppCollectionRequest extends BaseCollectionRequest implements IBaseDetectedAppCollectionRequest { - - /** - * The request builder for this collection of DetectedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDetectedAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDetectedAppCollectionResponse.class, IDetectedAppCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDetectedAppCollectionPage get() throws ClientException { - final BaseDetectedAppCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DetectedApp newDetectedApp, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DetectedAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDetectedApp, callback); - } - - public DetectedApp post(final DetectedApp newDetectedApp) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DetectedAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDetectedApp); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDetectedAppCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DetectedAppCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDetectedAppCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DetectedAppCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDetectedAppCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DetectedAppCollectionRequest)this; - } - - public IDetectedAppCollectionPage buildFromResponse(final BaseDetectedAppCollectionResponse response) { - final IDetectedAppCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DetectedAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DetectedAppCollectionPage page = new DetectedAppCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequestBuilder.java deleted file mode 100644 index fb7b09c9a99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App Collection Request Builder. - */ -public class BaseDetectedAppCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDetectedAppCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDetectedAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDetectedAppCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDetectedAppCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DetectedAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDetectedAppRequestBuilder byId(final String id) { - return new DetectedAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionResponse.java deleted file mode 100644 index 26c12ce18e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DetectedApp; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App Collection Response. - */ -public class BaseDetectedAppCollectionResponse implements IJsonBackedObject { - - /** - * The list of DetectedApp within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequest.java deleted file mode 100644 index 2583963fb55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDetectedAppRequest; -import com.microsoft.graph.requests.extensions.DetectedAppRequest; -import com.microsoft.graph.models.extensions.DetectedApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App Request. - */ -public class BaseDetectedAppRequest extends BaseRequest implements IBaseDetectedAppRequest { - - /** - * The request for the DetectedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDetectedAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DetectedApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DetectedApp from the service - * - * @return the DetectedApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DetectedApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DetectedApp with a source - * - * @param sourceDetectedApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DetectedApp sourceDetectedApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDetectedApp); - } - - /** - * Patches this DetectedApp with a source - * - * @param sourceDetectedApp the source object with updates - * @return the updated DetectedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DetectedApp patch(final DetectedApp sourceDetectedApp) throws ClientException { - return send(HttpMethod.PATCH, sourceDetectedApp); - } - - /** - * Creates a DetectedApp with a new object - * - * @param newDetectedApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DetectedApp newDetectedApp, final ICallback callback) { - send(HttpMethod.POST, callback, newDetectedApp); - } - - /** - * Creates a DetectedApp with a new object - * - * @param newDetectedApp the new object to create - * @return the created DetectedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DetectedApp post(final DetectedApp newDetectedApp) throws ClientException { - return send(HttpMethod.POST, newDetectedApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDetectedAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DetectedAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDetectedAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DetectedAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequestBuilder.java deleted file mode 100644 index 524347cc34e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDetectedAppRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDetectedAppRequest; -import com.microsoft.graph.requests.extensions.DetectedAppRequest; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Detected App Request Builder. - */ -public class BaseDetectedAppRequestBuilder extends BaseRequestBuilder implements IBaseDetectedAppRequestBuilder { - - /** - * The request builder for the DetectedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDetectedAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDetectedAppRequest instance - */ - public IDetectedAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDetectedAppRequest instance - */ - public IDetectedAppRequest buildRequest(final java.util.List requestOptions) { - return new DetectedAppRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceCollectionWithReferencesRequestBuilder managedDevices() { - return new ManagedDeviceCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices"), getClient(), null); - } - - public IManagedDeviceWithReferenceRequestBuilder managedDevices(final String id) { - return new ManagedDeviceWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionPage.java deleted file mode 100644 index aecc4e8720f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment Collection Page. - */ -public class BaseDeviceAndAppManagementRoleAssignmentCollectionPage extends BaseCollectionPage implements IBaseDeviceAndAppManagementRoleAssignmentCollectionPage { - - /** - * A collection page for DeviceAndAppManagementRoleAssignment - * - * @param response the serialized BaseDeviceAndAppManagementRoleAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceAndAppManagementRoleAssignmentCollectionPage(final BaseDeviceAndAppManagementRoleAssignmentCollectionResponse response, final IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java deleted file mode 100644 index 46c3ea5722b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment Collection Request. - */ -public class BaseDeviceAndAppManagementRoleAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest { - - /** - * The request builder for this collection of DeviceAndAppManagementRoleAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAndAppManagementRoleAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceAndAppManagementRoleAssignmentCollectionResponse.class, IDeviceAndAppManagementRoleAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceAndAppManagementRoleAssignmentCollectionPage get() throws ClientException { - final BaseDeviceAndAppManagementRoleAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceAndAppManagementRoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceAndAppManagementRoleAssignment, callback); - } - - public DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceAndAppManagementRoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceAndAppManagementRoleAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceAndAppManagementRoleAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceAndAppManagementRoleAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceAndAppManagementRoleAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceAndAppManagementRoleAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceAndAppManagementRoleAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceAndAppManagementRoleAssignmentCollectionRequest)this; - } - - public IDeviceAndAppManagementRoleAssignmentCollectionPage buildFromResponse(final BaseDeviceAndAppManagementRoleAssignmentCollectionResponse response) { - final IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceAndAppManagementRoleAssignmentCollectionPage page = new DeviceAndAppManagementRoleAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java deleted file mode 100644 index bed01d3dbcc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment Collection Request Builder. - */ -public class BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceAndAppManagementRoleAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceAndAppManagementRoleAssignmentRequestBuilder byId(final String id) { - return new DeviceAndAppManagementRoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionResponse.java deleted file mode 100644 index e14f23eb1cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment Collection Response. - */ -public class BaseDeviceAndAppManagementRoleAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceAndAppManagementRoleAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequest.java deleted file mode 100644 index c78c52680fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequest; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentRequest; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment Request. - */ -public class BaseDeviceAndAppManagementRoleAssignmentRequest extends BaseRequest implements IBaseDeviceAndAppManagementRoleAssignmentRequest { - - /** - * The request for the DeviceAndAppManagementRoleAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceAndAppManagementRoleAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceAndAppManagementRoleAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceAndAppManagementRoleAssignment from the service - * - * @return the DeviceAndAppManagementRoleAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAndAppManagementRoleAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceAndAppManagementRoleAssignment with a source - * - * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceAndAppManagementRoleAssignment); - } - - /** - * Patches this DeviceAndAppManagementRoleAssignment with a source - * - * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates - * @return the updated DeviceAndAppManagementRoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAndAppManagementRoleAssignment patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceAndAppManagementRoleAssignment); - } - - /** - * Creates a DeviceAndAppManagementRoleAssignment with a new object - * - * @param newDeviceAndAppManagementRoleAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceAndAppManagementRoleAssignment); - } - - /** - * Creates a DeviceAndAppManagementRoleAssignment with a new object - * - * @param newDeviceAndAppManagementRoleAssignment the new object to create - * @return the created DeviceAndAppManagementRoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException { - return send(HttpMethod.POST, newDeviceAndAppManagementRoleAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceAndAppManagementRoleAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceAndAppManagementRoleAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceAndAppManagementRoleAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceAndAppManagementRoleAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java deleted file mode 100644 index 54bf8280297..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequest; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Assignment Request Builder. - */ -public class BaseDeviceAndAppManagementRoleAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder { - - /** - * The request builder for the DeviceAndAppManagementRoleAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAndAppManagementRoleAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceAndAppManagementRoleAssignmentRequest instance - */ - public IDeviceAndAppManagementRoleAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceAndAppManagementRoleAssignmentRequest instance - */ - public IDeviceAndAppManagementRoleAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new DeviceAndAppManagementRoleAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequest.java deleted file mode 100644 index 444e8746183..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleDefinitionRequest; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleDefinitionRequest; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Definition Request. - */ -public class BaseDeviceAndAppManagementRoleDefinitionRequest extends BaseRequest implements IBaseDeviceAndAppManagementRoleDefinitionRequest { - - /** - * The request for the DeviceAndAppManagementRoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceAndAppManagementRoleDefinitionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceAndAppManagementRoleDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceAndAppManagementRoleDefinition from the service - * - * @return the DeviceAndAppManagementRoleDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAndAppManagementRoleDefinition get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceAndAppManagementRoleDefinition with a source - * - * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceAndAppManagementRoleDefinition); - } - - /** - * Patches this DeviceAndAppManagementRoleDefinition with a source - * - * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates - * @return the updated DeviceAndAppManagementRoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAndAppManagementRoleDefinition patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceAndAppManagementRoleDefinition); - } - - /** - * Creates a DeviceAndAppManagementRoleDefinition with a new object - * - * @param newDeviceAndAppManagementRoleDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceAndAppManagementRoleDefinition); - } - - /** - * Creates a DeviceAndAppManagementRoleDefinition with a new object - * - * @param newDeviceAndAppManagementRoleDefinition the new object to create - * @return the created DeviceAndAppManagementRoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAndAppManagementRoleDefinition post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException { - return send(HttpMethod.POST, newDeviceAndAppManagementRoleDefinition); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceAndAppManagementRoleDefinitionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceAndAppManagementRoleDefinitionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceAndAppManagementRoleDefinitionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceAndAppManagementRoleDefinitionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java deleted file mode 100644 index 7009b6b1552..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleDefinitionRequest; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleDefinitionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device And App Management Role Definition Request Builder. - */ -public class BaseDeviceAndAppManagementRoleDefinitionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder { - - /** - * The request builder for the DeviceAndAppManagementRoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAndAppManagementRoleDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceAndAppManagementRoleDefinitionRequest instance - */ - public IDeviceAndAppManagementRoleDefinitionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceAndAppManagementRoleDefinitionRequest instance - */ - public IDeviceAndAppManagementRoleDefinitionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceAndAppManagementRoleDefinitionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequest.java deleted file mode 100644 index 809bcd40bd0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequest; -import com.microsoft.graph.requests.extensions.DeviceAppManagementRequest; -import com.microsoft.graph.models.extensions.DeviceAppManagement; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device App Management Request. - */ -public class BaseDeviceAppManagementRequest extends BaseRequest implements IBaseDeviceAppManagementRequest { - - /** - * The request for the DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceAppManagementRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceAppManagement from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceAppManagement from the service - * - * @return the DeviceAppManagement from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAppManagement get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceAppManagement with a source - * - * @param sourceDeviceAppManagement the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceAppManagement sourceDeviceAppManagement, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceAppManagement); - } - - /** - * Patches this DeviceAppManagement with a source - * - * @param sourceDeviceAppManagement the source object with updates - * @return the updated DeviceAppManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAppManagement patch(final DeviceAppManagement sourceDeviceAppManagement) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceAppManagement); - } - - /** - * Creates a DeviceAppManagement with a new object - * - * @param newDeviceAppManagement the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceAppManagement newDeviceAppManagement, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceAppManagement); - } - - /** - * Creates a DeviceAppManagement with a new object - * - * @param newDeviceAppManagement the new object to create - * @return the created DeviceAppManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceAppManagement post(final DeviceAppManagement newDeviceAppManagement) throws ClientException { - return send(HttpMethod.POST, newDeviceAppManagement); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceAppManagementRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceAppManagementRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceAppManagementRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceAppManagementRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequestBuilder.java deleted file mode 100644 index 5a1b161ee03..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementRequestBuilder.java +++ /dev/null @@ -1,212 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequest; -import com.microsoft.graph.requests.extensions.DeviceAppManagementRequest; -import com.microsoft.graph.requests.extensions.IMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IVppTokenCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.VppTokenCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IVppTokenRequestBuilder; -import com.microsoft.graph.requests.extensions.VppTokenRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedEBookCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedEBookCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedEBookRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedEBookRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device App Management Request Builder. - */ -public class BaseDeviceAppManagementRequestBuilder extends BaseRequestBuilder implements IBaseDeviceAppManagementRequestBuilder { - - /** - * The request builder for the DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAppManagementRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceAppManagementRequest instance - */ - public IDeviceAppManagementRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceAppManagementRequest instance - */ - public IDeviceAppManagementRequest buildRequest(final java.util.List requestOptions) { - return new DeviceAppManagementRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppCollectionRequestBuilder mobileApps() { - return new MobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileApps"), getClient(), null); - } - - public IMobileAppRequestBuilder mobileApps(final String id) { - return new MobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("mobileApps") + "/" + id, getClient(), null); - } - public IMobileAppCategoryCollectionRequestBuilder mobileAppCategories() { - return new MobileAppCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppCategories"), getClient(), null); - } - - public IMobileAppCategoryRequestBuilder mobileAppCategories(final String id) { - return new MobileAppCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppCategories") + "/" + id, getClient(), null); - } - public IManagedDeviceMobileAppConfigurationCollectionRequestBuilder mobileAppConfigurations() { - return new ManagedDeviceMobileAppConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppConfigurations"), getClient(), null); - } - - public IManagedDeviceMobileAppConfigurationRequestBuilder mobileAppConfigurations(final String id) { - return new ManagedDeviceMobileAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("mobileAppConfigurations") + "/" + id, getClient(), null); - } - public IVppTokenCollectionRequestBuilder vppTokens() { - return new VppTokenCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("vppTokens"), getClient(), null); - } - - public IVppTokenRequestBuilder vppTokens(final String id) { - return new VppTokenRequestBuilder(getRequestUrlWithAdditionalSegment("vppTokens") + "/" + id, getClient(), null); - } - public IManagedAppPolicyCollectionRequestBuilder managedAppPolicies() { - return new ManagedAppPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppPolicies"), getClient(), null); - } - - public IManagedAppPolicyRequestBuilder managedAppPolicies(final String id) { - return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppPolicies") + "/" + id, getClient(), null); - } - public IIosManagedAppProtectionCollectionRequestBuilder iosManagedAppProtections() { - return new IosManagedAppProtectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("iosManagedAppProtections"), getClient(), null); - } - - public IIosManagedAppProtectionRequestBuilder iosManagedAppProtections(final String id) { - return new IosManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("iosManagedAppProtections") + "/" + id, getClient(), null); - } - public IAndroidManagedAppProtectionCollectionRequestBuilder androidManagedAppProtections() { - return new AndroidManagedAppProtectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("androidManagedAppProtections"), getClient(), null); - } - - public IAndroidManagedAppProtectionRequestBuilder androidManagedAppProtections(final String id) { - return new AndroidManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("androidManagedAppProtections") + "/" + id, getClient(), null); - } - public IDefaultManagedAppProtectionCollectionRequestBuilder defaultManagedAppProtections() { - return new DefaultManagedAppProtectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("defaultManagedAppProtections"), getClient(), null); - } - - public IDefaultManagedAppProtectionRequestBuilder defaultManagedAppProtections(final String id) { - return new DefaultManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("defaultManagedAppProtections") + "/" + id, getClient(), null); - } - public ITargetedManagedAppConfigurationCollectionRequestBuilder targetedManagedAppConfigurations() { - return new TargetedManagedAppConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("targetedManagedAppConfigurations"), getClient(), null); - } - - public ITargetedManagedAppConfigurationRequestBuilder targetedManagedAppConfigurations(final String id) { - return new TargetedManagedAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("targetedManagedAppConfigurations") + "/" + id, getClient(), null); - } - public IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder mdmWindowsInformationProtectionPolicies() { - return new MdmWindowsInformationProtectionPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mdmWindowsInformationProtectionPolicies"), getClient(), null); - } - - public IMdmWindowsInformationProtectionPolicyRequestBuilder mdmWindowsInformationProtectionPolicies(final String id) { - return new MdmWindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("mdmWindowsInformationProtectionPolicies") + "/" + id, getClient(), null); - } - public IWindowsInformationProtectionPolicyCollectionRequestBuilder windowsInformationProtectionPolicies() { - return new WindowsInformationProtectionPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionPolicies"), getClient(), null); - } - - public IWindowsInformationProtectionPolicyRequestBuilder windowsInformationProtectionPolicies(final String id) { - return new WindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionPolicies") + "/" + id, getClient(), null); - } - public IManagedAppRegistrationCollectionRequestBuilder managedAppRegistrations() { - return new ManagedAppRegistrationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations"), getClient(), null); - } - - public IManagedAppRegistrationRequestBuilder managedAppRegistrations(final String id) { - return new ManagedAppRegistrationRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations") + "/" + id, getClient(), null); - } - public IManagedAppStatusCollectionRequestBuilder managedAppStatuses() { - return new ManagedAppStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppStatuses"), getClient(), null); - } - - public IManagedAppStatusRequestBuilder managedAppStatuses(final String id) { - return new ManagedAppStatusRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppStatuses") + "/" + id, getClient(), null); - } - public IManagedEBookCollectionRequestBuilder managedEBooks() { - return new ManagedEBookCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedEBooks"), getClient(), null); - } - - public IManagedEBookRequestBuilder managedEBooks(final String id) { - return new ManagedEBookRequestBuilder(getRequestUrlWithAdditionalSegment("managedEBooks") + "/" + id, getClient(), null); - } - - public IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder syncMicrosoftStoreForBusinessApps() { - return new DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syncMicrosoftStoreForBusinessApps"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java deleted file mode 100644 index 064a3a39879..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; -import com.microsoft.graph.requests.extensions.DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device App Management Sync Microsoft Store For Business Apps Request. - */ -public class BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest extends BaseRequest implements IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest { - - /** - * The request for this DeviceAppManagementSyncMicrosoftStoreForBusinessApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java deleted file mode 100644 index a10c9c2fad3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; -import com.microsoft.graph.requests.extensions.DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device App Management Sync Microsoft Store For Business Apps Request Builder. - */ -public class BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DeviceAppManagementSyncMicrosoftStoreForBusinessApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest - * - * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance - */ - public IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance - */ - public IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest(final java.util.List requestOptions) { - DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest request = new DeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionPage.java deleted file mode 100644 index 8d0ba31be45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCategory; -import com.microsoft.graph.requests.extensions.IDeviceCategoryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category Collection Page. - */ -public class BaseDeviceCategoryCollectionPage extends BaseCollectionPage implements IBaseDeviceCategoryCollectionPage { - - /** - * A collection page for DeviceCategory - * - * @param response the serialized BaseDeviceCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceCategoryCollectionPage(final BaseDeviceCategoryCollectionResponse response, final IDeviceCategoryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequest.java deleted file mode 100644 index 3f6017ff4c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category Collection Request. - */ -public class BaseDeviceCategoryCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCategoryCollectionRequest { - - /** - * The request builder for this collection of DeviceCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCategoryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCategoryCollectionResponse.class, IDeviceCategoryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCategoryCollectionPage get() throws ClientException { - final BaseDeviceCategoryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceCategory newDeviceCategory, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCategory, callback); - } - - public DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCategory); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCategoryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceCategoryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCategoryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceCategoryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCategoryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceCategoryCollectionRequest)this; - } - - public IDeviceCategoryCollectionPage buildFromResponse(final BaseDeviceCategoryCollectionResponse response) { - final IDeviceCategoryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCategoryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceCategoryCollectionPage page = new DeviceCategoryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequestBuilder.java deleted file mode 100644 index b51589e4158..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category Collection Request Builder. - */ -public class BaseDeviceCategoryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCategoryCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCategoryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceCategoryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCategoryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCategoryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceCategoryRequestBuilder byId(final String id) { - return new DeviceCategoryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionResponse.java deleted file mode 100644 index 0a1a1b23485..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCategory; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category Collection Response. - */ -public class BaseDeviceCategoryCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceCategory within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequest.java deleted file mode 100644 index 6a1744e9110..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequest; -import com.microsoft.graph.requests.extensions.DeviceCategoryRequest; -import com.microsoft.graph.models.extensions.DeviceCategory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category Request. - */ -public class BaseDeviceCategoryRequest extends BaseRequest implements IBaseDeviceCategoryRequest { - - /** - * The request for the DeviceCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceCategoryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceCategory from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceCategory from the service - * - * @return the DeviceCategory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCategory get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceCategory with a source - * - * @param sourceDeviceCategory the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceCategory sourceDeviceCategory, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceCategory); - } - - /** - * Patches this DeviceCategory with a source - * - * @param sourceDeviceCategory the source object with updates - * @return the updated DeviceCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCategory patch(final DeviceCategory sourceDeviceCategory) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceCategory); - } - - /** - * Creates a DeviceCategory with a new object - * - * @param newDeviceCategory the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceCategory newDeviceCategory, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceCategory); - } - - /** - * Creates a DeviceCategory with a new object - * - * @param newDeviceCategory the new object to create - * @return the created DeviceCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException { - return send(HttpMethod.POST, newDeviceCategory); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCategoryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCategoryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCategoryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCategoryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequestBuilder.java deleted file mode 100644 index 8652a7c25fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCategoryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequest; -import com.microsoft.graph.requests.extensions.DeviceCategoryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Category Request Builder. - */ -public class BaseDeviceCategoryRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCategoryRequestBuilder { - - /** - * The request builder for the DeviceCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCategoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceCategoryRequest instance - */ - public IDeviceCategoryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceCategoryRequest instance - */ - public IDeviceCategoryRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCategoryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionPage.java deleted file mode 100644 index 0ae1a1b7c85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Device; -import com.microsoft.graph.requests.extensions.IDeviceCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Collection Page. - */ -public class BaseDeviceCollectionPage extends BaseCollectionPage implements IBaseDeviceCollectionPage { - - /** - * A collection page for Device - * - * @param response the serialized BaseDeviceCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceCollectionPage(final BaseDeviceCollectionResponse response, final IDeviceCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequest.java deleted file mode 100644 index c29586f4e8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Collection Request. - */ -public class BaseDeviceCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCollectionRequest { - - /** - * The request builder for this collection of Device - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCollectionResponse.class, IDeviceCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCollectionPage get() throws ClientException { - final BaseDeviceCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Device newDevice, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDevice, callback); - } - - public Device post(final Device newDevice) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDevice); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceCollectionRequest)this; - } - - public IDeviceCollectionPage buildFromResponse(final BaseDeviceCollectionResponse response) { - final IDeviceCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceCollectionPage page = new DeviceCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequestBuilder.java deleted file mode 100644 index d30dd78b787..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Collection Request Builder. - */ -public class BaseDeviceCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCollectionRequestBuilder { - - /** - * The request builder for this collection of Device - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceRequestBuilder byId(final String id) { - return new DeviceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionResponse.java deleted file mode 100644 index 5510a92d926..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Device; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Collection Response. - */ -public class BaseDeviceCollectionResponse implements IJsonBackedObject { - - /** - * The list of Device within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionPage.java deleted file mode 100644 index 494c7776f32..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item Collection Page. - */ -public class BaseDeviceComplianceActionItemCollectionPage extends BaseCollectionPage implements IBaseDeviceComplianceActionItemCollectionPage { - - /** - * A collection page for DeviceComplianceActionItem - * - * @param response the serialized BaseDeviceComplianceActionItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceComplianceActionItemCollectionPage(final BaseDeviceComplianceActionItemCollectionResponse response, final IDeviceComplianceActionItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequest.java deleted file mode 100644 index 12a0072263b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item Collection Request. - */ -public class BaseDeviceComplianceActionItemCollectionRequest extends BaseCollectionRequest implements IBaseDeviceComplianceActionItemCollectionRequest { - - /** - * The request builder for this collection of DeviceComplianceActionItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceActionItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceComplianceActionItemCollectionResponse.class, IDeviceComplianceActionItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceComplianceActionItemCollectionPage get() throws ClientException { - final BaseDeviceComplianceActionItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceComplianceActionItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceActionItem, callback); - } - - public DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceComplianceActionItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceActionItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceActionItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceComplianceActionItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceActionItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceComplianceActionItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceComplianceActionItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceComplianceActionItemCollectionRequest)this; - } - - public IDeviceComplianceActionItemCollectionPage buildFromResponse(final BaseDeviceComplianceActionItemCollectionResponse response) { - final IDeviceComplianceActionItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceComplianceActionItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceComplianceActionItemCollectionPage page = new DeviceComplianceActionItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequestBuilder.java deleted file mode 100644 index ab41c1a0d61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item Collection Request Builder. - */ -public class BaseDeviceComplianceActionItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceActionItemCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceComplianceScheduledActionForRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceActionItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceComplianceActionItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceComplianceActionItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceActionItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceActionItemRequestBuilder byId(final String id) { - return new DeviceComplianceActionItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionResponse.java deleted file mode 100644 index e935e8bdf33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item Collection Response. - */ -public class BaseDeviceComplianceActionItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceComplianceActionItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequest.java deleted file mode 100644 index 765f1d5c56b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item Request. - */ -public class BaseDeviceComplianceActionItemRequest extends BaseRequest implements IBaseDeviceComplianceActionItemRequest { - - /** - * The request for the DeviceComplianceActionItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceActionItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceActionItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceActionItem from the service - * - * @return the DeviceComplianceActionItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceActionItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceActionItem with a source - * - * @param sourceDeviceComplianceActionItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceActionItem); - } - - /** - * Patches this DeviceComplianceActionItem with a source - * - * @param sourceDeviceComplianceActionItem the source object with updates - * @return the updated DeviceComplianceActionItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceActionItem patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceActionItem); - } - - /** - * Creates a DeviceComplianceActionItem with a new object - * - * @param newDeviceComplianceActionItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceActionItem); - } - - /** - * Creates a DeviceComplianceActionItem with a new object - * - * @param newDeviceComplianceActionItem the new object to create - * @return the created DeviceComplianceActionItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceActionItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceActionItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceActionItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceActionItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceActionItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequestBuilder.java deleted file mode 100644 index 13988d16192..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceActionItemRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Action Item Request Builder. - */ -public class BaseDeviceComplianceActionItemRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceActionItemRequestBuilder { - - /** - * The request builder for the DeviceComplianceActionItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceActionItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceActionItemRequest instance - */ - public IDeviceComplianceActionItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceActionItemRequest instance - */ - public IDeviceComplianceActionItemRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceActionItemRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequest.java deleted file mode 100644 index fe49393e63b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceOverviewRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Overview Request. - */ -public class BaseDeviceComplianceDeviceOverviewRequest extends BaseRequest implements IBaseDeviceComplianceDeviceOverviewRequest { - - /** - * The request for the DeviceComplianceDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceDeviceOverviewRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceDeviceOverview from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceDeviceOverview from the service - * - * @return the DeviceComplianceDeviceOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceDeviceOverview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceDeviceOverview with a source - * - * @param sourceDeviceComplianceDeviceOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceDeviceOverview); - } - - /** - * Patches this DeviceComplianceDeviceOverview with a source - * - * @param sourceDeviceComplianceDeviceOverview the source object with updates - * @return the updated DeviceComplianceDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceDeviceOverview patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceDeviceOverview); - } - - /** - * Creates a DeviceComplianceDeviceOverview with a new object - * - * @param newDeviceComplianceDeviceOverview the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceDeviceOverview); - } - - /** - * Creates a DeviceComplianceDeviceOverview with a new object - * - * @param newDeviceComplianceDeviceOverview the new object to create - * @return the created DeviceComplianceDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceDeviceOverview post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceDeviceOverview); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceDeviceOverviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceDeviceOverviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceDeviceOverviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceDeviceOverviewRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequestBuilder.java deleted file mode 100644 index efed2809b25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceOverviewRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceOverviewRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Overview Request Builder. - */ -public class BaseDeviceComplianceDeviceOverviewRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceDeviceOverviewRequestBuilder { - - /** - * The request builder for the DeviceComplianceDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceDeviceOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceDeviceOverviewRequest instance - */ - public IDeviceComplianceDeviceOverviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceDeviceOverviewRequest instance - */ - public IDeviceComplianceDeviceOverviewRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceDeviceOverviewRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionPage.java deleted file mode 100644 index 3e854276d92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status Collection Page. - */ -public class BaseDeviceComplianceDeviceStatusCollectionPage extends BaseCollectionPage implements IBaseDeviceComplianceDeviceStatusCollectionPage { - - /** - * A collection page for DeviceComplianceDeviceStatus - * - * @param response the serialized BaseDeviceComplianceDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceComplianceDeviceStatusCollectionPage(final BaseDeviceComplianceDeviceStatusCollectionResponse response, final IDeviceComplianceDeviceStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequest.java deleted file mode 100644 index a2d22160277..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status Collection Request. - */ -public class BaseDeviceComplianceDeviceStatusCollectionRequest extends BaseCollectionRequest implements IBaseDeviceComplianceDeviceStatusCollectionRequest { - - /** - * The request builder for this collection of DeviceComplianceDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceComplianceDeviceStatusCollectionResponse.class, IDeviceComplianceDeviceStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceComplianceDeviceStatusCollectionPage get() throws ClientException { - final BaseDeviceComplianceDeviceStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceComplianceDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceDeviceStatus, callback); - } - - public DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceComplianceDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceDeviceStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceDeviceStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceComplianceDeviceStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceDeviceStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceComplianceDeviceStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceComplianceDeviceStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceComplianceDeviceStatusCollectionRequest)this; - } - - public IDeviceComplianceDeviceStatusCollectionPage buildFromResponse(final BaseDeviceComplianceDeviceStatusCollectionResponse response) { - final IDeviceComplianceDeviceStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceComplianceDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceComplianceDeviceStatusCollectionPage page = new DeviceComplianceDeviceStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index e56d7190098..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status Collection Request Builder. - */ -public class BaseDeviceComplianceDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceComplianceDeviceStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceComplianceDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceDeviceStatusRequestBuilder byId(final String id) { - return new DeviceComplianceDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionResponse.java deleted file mode 100644 index 494ff9c399a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status Collection Response. - */ -public class BaseDeviceComplianceDeviceStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceComplianceDeviceStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequest.java deleted file mode 100644 index 782c0f05dac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status Request. - */ -public class BaseDeviceComplianceDeviceStatusRequest extends BaseRequest implements IBaseDeviceComplianceDeviceStatusRequest { - - /** - * The request for the DeviceComplianceDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceDeviceStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceDeviceStatus from the service - * - * @return the DeviceComplianceDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceDeviceStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceDeviceStatus with a source - * - * @param sourceDeviceComplianceDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceDeviceStatus); - } - - /** - * Patches this DeviceComplianceDeviceStatus with a source - * - * @param sourceDeviceComplianceDeviceStatus the source object with updates - * @return the updated DeviceComplianceDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceDeviceStatus patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceDeviceStatus); - } - - /** - * Creates a DeviceComplianceDeviceStatus with a new object - * - * @param newDeviceComplianceDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceDeviceStatus); - } - - /** - * Creates a DeviceComplianceDeviceStatus with a new object - * - * @param newDeviceComplianceDeviceStatus the new object to create - * @return the created DeviceComplianceDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceDeviceStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceDeviceStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceDeviceStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceDeviceStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceDeviceStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequestBuilder.java deleted file mode 100644 index cd0f80d63db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Device Status Request Builder. - */ -public class BaseDeviceComplianceDeviceStatusRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceDeviceStatusRequestBuilder { - - /** - * The request builder for the DeviceComplianceDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceDeviceStatusRequest instance - */ - public IDeviceComplianceDeviceStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceDeviceStatusRequest instance - */ - public IDeviceComplianceDeviceStatusRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionPage.java deleted file mode 100644 index 14b37c00c6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assign Collection Page. - */ -public class BaseDeviceCompliancePolicyAssignCollectionPage extends BaseCollectionPage implements IBaseDeviceCompliancePolicyAssignCollectionPage { - - /** - * A collection page for DeviceCompliancePolicyAssign. - * - * @param response The serialized BaseDeviceCompliancePolicyAssignCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDeviceCompliancePolicyAssignCollectionPage(final BaseDeviceCompliancePolicyAssignCollectionResponse response, final IDeviceCompliancePolicyAssignCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequest.java deleted file mode 100644 index a576564d1a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assign Collection Request. - */ -public class BaseDeviceCompliancePolicyAssignCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCompliancePolicyAssignCollectionRequest { - - - protected final DeviceCompliancePolicyAssignBody body; - - - /** - * The request for this DeviceCompliancePolicyAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyAssignCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCompliancePolicyAssignCollectionResponse.class, IDeviceCompliancePolicyAssignCollectionPage.class); - body = new DeviceCompliancePolicyAssignBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCompliancePolicyAssignCollectionPage post() throws ClientException { - final BaseDeviceCompliancePolicyAssignCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDeviceCompliancePolicyAssignCollectionPage buildFromResponse(final BaseDeviceCompliancePolicyAssignCollectionResponse response) { - final IDeviceCompliancePolicyAssignCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCompliancePolicyAssignCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* assignments */ null); - } else { - builder = null; - } - final IDeviceCompliancePolicyAssignCollectionPage page = new DeviceCompliancePolicyAssignCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyAssignCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDeviceCompliancePolicyAssignCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCompliancePolicyAssignCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDeviceCompliancePolicyAssignCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyAssignCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDeviceCompliancePolicyAssignCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java deleted file mode 100644 index bb794319563..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assign Collection Request Builder. - */ -public class BaseDeviceCompliancePolicyAssignCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param assignments the assignments - */ - public BaseDeviceCompliancePolicyAssignCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions); - if(assignments!=null){ - bodyParams.put("assignments", assignments); - } - } - - public IDeviceCompliancePolicyAssignCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCompliancePolicyAssignCollectionRequest buildRequest(final java.util.List requestOptions) { - DeviceCompliancePolicyAssignCollectionRequest request = new DeviceCompliancePolicyAssignCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("assignments")) { - request.body.assignments = getParameter("assignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionResponse.java deleted file mode 100644 index c2a97a78e57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assign Collection Response. - */ -public class BaseDeviceCompliancePolicyAssignCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionPage.java deleted file mode 100644 index 04eda39c437..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment Collection Page. - */ -public class BaseDeviceCompliancePolicyAssignmentCollectionPage extends BaseCollectionPage implements IBaseDeviceCompliancePolicyAssignmentCollectionPage { - - /** - * A collection page for DeviceCompliancePolicyAssignment - * - * @param response the serialized BaseDeviceCompliancePolicyAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceCompliancePolicyAssignmentCollectionPage(final BaseDeviceCompliancePolicyAssignmentCollectionResponse response, final IDeviceCompliancePolicyAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequest.java deleted file mode 100644 index 89d7b508b4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment Collection Request. - */ -public class BaseDeviceCompliancePolicyAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCompliancePolicyAssignmentCollectionRequest { - - /** - * The request builder for this collection of DeviceCompliancePolicyAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCompliancePolicyAssignmentCollectionResponse.class, IDeviceCompliancePolicyAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCompliancePolicyAssignmentCollectionPage get() throws ClientException { - final BaseDeviceCompliancePolicyAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceCompliancePolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicyAssignment, callback); - } - - public DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceCompliancePolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicyAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceCompliancePolicyAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCompliancePolicyAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceCompliancePolicyAssignmentCollectionRequest)this; - } - - public IDeviceCompliancePolicyAssignmentCollectionPage buildFromResponse(final BaseDeviceCompliancePolicyAssignmentCollectionResponse response) { - final IDeviceCompliancePolicyAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCompliancePolicyAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceCompliancePolicyAssignmentCollectionPage page = new DeviceCompliancePolicyAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java deleted file mode 100644 index c65b95c4cb7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment Collection Request Builder. - */ -public class BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceCompliancePolicyAssignmentRequestBuilder byId(final String id) { - return new DeviceCompliancePolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionResponse.java deleted file mode 100644 index ea072b57f11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment Collection Response. - */ -public class BaseDeviceCompliancePolicyAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceCompliancePolicyAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequest.java deleted file mode 100644 index b1b034fa9a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentRequest; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment Request. - */ -public class BaseDeviceCompliancePolicyAssignmentRequest extends BaseRequest implements IBaseDeviceCompliancePolicyAssignmentRequest { - - /** - * The request for the DeviceCompliancePolicyAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceCompliancePolicyAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceCompliancePolicyAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceCompliancePolicyAssignment from the service - * - * @return the DeviceCompliancePolicyAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceCompliancePolicyAssignment with a source - * - * @param sourceDeviceCompliancePolicyAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicyAssignment); - } - - /** - * Patches this DeviceCompliancePolicyAssignment with a source - * - * @param sourceDeviceCompliancePolicyAssignment the source object with updates - * @return the updated DeviceCompliancePolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyAssignment patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyAssignment); - } - - /** - * Creates a DeviceCompliancePolicyAssignment with a new object - * - * @param newDeviceCompliancePolicyAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceCompliancePolicyAssignment); - } - - /** - * Creates a DeviceCompliancePolicyAssignment with a new object - * - * @param newDeviceCompliancePolicyAssignment the new object to create - * @return the created DeviceCompliancePolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException { - return send(HttpMethod.POST, newDeviceCompliancePolicyAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCompliancePolicyAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequestBuilder.java deleted file mode 100644 index eea8d34d65a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Assignment Request Builder. - */ -public class BaseDeviceCompliancePolicyAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyAssignmentRequestBuilder { - - /** - * The request builder for the DeviceCompliancePolicyAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyAssignmentRequest instance - */ - public IDeviceCompliancePolicyAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyAssignmentRequest instance - */ - public IDeviceCompliancePolicyAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionPage.java deleted file mode 100644 index b7dc9b3ce2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Collection Page. - */ -public class BaseDeviceCompliancePolicyCollectionPage extends BaseCollectionPage implements IBaseDeviceCompliancePolicyCollectionPage { - - /** - * A collection page for DeviceCompliancePolicy - * - * @param response the serialized BaseDeviceCompliancePolicyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceCompliancePolicyCollectionPage(final BaseDeviceCompliancePolicyCollectionResponse response, final IDeviceCompliancePolicyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequest.java deleted file mode 100644 index 2f52917a2d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Collection Request. - */ -public class BaseDeviceCompliancePolicyCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCompliancePolicyCollectionRequest { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCompliancePolicyCollectionResponse.class, IDeviceCompliancePolicyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCompliancePolicyCollectionPage get() throws ClientException { - final BaseDeviceCompliancePolicyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceCompliancePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicy, callback); - } - - public DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceCompliancePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicy); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceCompliancePolicyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCompliancePolicyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceCompliancePolicyCollectionRequest)this; - } - - public IDeviceCompliancePolicyCollectionPage buildFromResponse(final BaseDeviceCompliancePolicyCollectionResponse response) { - final IDeviceCompliancePolicyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCompliancePolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceCompliancePolicyCollectionPage page = new DeviceCompliancePolicyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequestBuilder.java deleted file mode 100644 index 21987db2837..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Collection Request Builder. - */ -public class BaseDeviceCompliancePolicyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceCompliancePolicyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCompliancePolicyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceCompliancePolicyRequestBuilder byId(final String id) { - return new DeviceCompliancePolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionResponse.java deleted file mode 100644 index 662d9a3c168..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Collection Response. - */ -public class BaseDeviceCompliancePolicyCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceCompliancePolicy within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequest.java deleted file mode 100644 index be94dfca471..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyDeviceStateSummaryRequest; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Device State Summary Request. - */ -public class BaseDeviceCompliancePolicyDeviceStateSummaryRequest extends BaseRequest implements IBaseDeviceCompliancePolicyDeviceStateSummaryRequest { - - /** - * The request for the DeviceCompliancePolicyDeviceStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceCompliancePolicyDeviceStateSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceCompliancePolicyDeviceStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceCompliancePolicyDeviceStateSummary from the service - * - * @return the DeviceCompliancePolicyDeviceStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyDeviceStateSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceCompliancePolicyDeviceStateSummary with a source - * - * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicyDeviceStateSummary); - } - - /** - * Patches this DeviceCompliancePolicyDeviceStateSummary with a source - * - * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates - * @return the updated DeviceCompliancePolicyDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyDeviceStateSummary patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyDeviceStateSummary); - } - - /** - * Creates a DeviceCompliancePolicyDeviceStateSummary with a new object - * - * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceCompliancePolicyDeviceStateSummary); - } - - /** - * Creates a DeviceCompliancePolicyDeviceStateSummary with a new object - * - * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create - * @return the created DeviceCompliancePolicyDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyDeviceStateSummary post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException { - return send(HttpMethod.POST, newDeviceCompliancePolicyDeviceStateSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyDeviceStateSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCompliancePolicyDeviceStateSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyDeviceStateSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyDeviceStateSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java deleted file mode 100644 index e37518b4631..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyDeviceStateSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Device State Summary Request Builder. - */ -public class BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder { - - /** - * The request builder for the DeviceCompliancePolicyDeviceStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance - */ - public IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance - */ - public IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyDeviceStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequest.java deleted file mode 100644 index 7682bc1b379..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyRequest; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Request. - */ -public class BaseDeviceCompliancePolicyRequest extends BaseRequest implements IBaseDeviceCompliancePolicyRequest { - - /** - * The request for the DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceCompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceCompliancePolicy from the service - * - * @return the DeviceCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceCompliancePolicy with a source - * - * @param sourceDeviceCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicy); - } - - /** - * Patches this DeviceCompliancePolicy with a source - * - * @param sourceDeviceCompliancePolicy the source object with updates - * @return the updated DeviceCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicy patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceCompliancePolicy); - } - - /** - * Creates a DeviceCompliancePolicy with a new object - * - * @param newDeviceCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceCompliancePolicy); - } - - /** - * Creates a DeviceCompliancePolicy with a new object - * - * @param newDeviceCompliancePolicy the new object to create - * @return the created DeviceCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newDeviceCompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequestBuilder.java deleted file mode 100644 index cacab1a87b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignCollectionRequestBuilder; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Request Builder. - */ -public class BaseDeviceCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyRequestBuilder { - - /** - * The request builder for the DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyRequest instance - */ - public IDeviceCompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyRequest instance - */ - public IDeviceCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder scheduledActionsForRule() { - return new DeviceComplianceScheduledActionForRuleCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionsForRule"), getClient(), null); - } - - public IDeviceComplianceScheduledActionForRuleRequestBuilder scheduledActionsForRule(final String id) { - return new DeviceComplianceScheduledActionForRuleRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionsForRule") + "/" + id, getClient(), null); - } - public IDeviceComplianceDeviceStatusCollectionRequestBuilder deviceStatuses() { - return new DeviceComplianceDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses"), getClient(), null); - } - - public IDeviceComplianceDeviceStatusRequestBuilder deviceStatuses(final String id) { - return new DeviceComplianceDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses") + "/" + id, getClient(), null); - } - public IDeviceComplianceUserStatusCollectionRequestBuilder userStatuses() { - return new DeviceComplianceUserStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses"), getClient(), null); - } - - public IDeviceComplianceUserStatusRequestBuilder userStatuses(final String id) { - return new DeviceComplianceUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for DeviceComplianceDeviceOverview - * - * @return the IDeviceComplianceDeviceOverviewRequestBuilder instance - */ - public IDeviceComplianceDeviceOverviewRequestBuilder deviceStatusOverview() { - return new DeviceComplianceDeviceOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatusOverview"), getClient(), null); - } - - /** - * Gets the request builder for DeviceComplianceUserOverview - * - * @return the IDeviceComplianceUserOverviewRequestBuilder instance - */ - public IDeviceComplianceUserOverviewRequestBuilder userStatusOverview() { - return new DeviceComplianceUserOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("userStatusOverview"), getClient(), null); - } - public ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries() { - return new SettingStateDeviceSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries"), getClient(), null); - } - - public ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id) { - return new SettingStateDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries") + "/" + id, getClient(), null); - } - public IDeviceCompliancePolicyAssignmentCollectionRequestBuilder assignments() { - return new DeviceCompliancePolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public IDeviceCompliancePolicyAssignmentRequestBuilder assignments(final String id) { - return new DeviceCompliancePolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - public IDeviceCompliancePolicyAssignCollectionRequestBuilder assign(final java.util.List assignments) { - return new DeviceCompliancePolicyAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); - } - - public IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder scheduleActionsForRules(final java.util.List deviceComplianceScheduledActionForRules) { - return new DeviceCompliancePolicyScheduleActionsForRulesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.scheduleActionsForRules"), getClient(), null, deviceComplianceScheduledActionForRules); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java deleted file mode 100644 index e546897918b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyScheduleActionsForRulesBody; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyScheduleActionsForRulesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Schedule Actions For Rules Request. - */ -public class BaseDeviceCompliancePolicyScheduleActionsForRulesRequest extends BaseRequest implements IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest { - protected final DeviceCompliancePolicyScheduleActionsForRulesBody body; - - /** - * The request for this DeviceCompliancePolicyScheduleActionsForRules - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyScheduleActionsForRulesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new DeviceCompliancePolicyScheduleActionsForRulesBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyScheduleActionsForRulesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCompliancePolicyScheduleActionsForRulesRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCompliancePolicyScheduleActionsForRulesRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DeviceCompliancePolicyScheduleActionsForRulesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyScheduleActionsForRulesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyScheduleActionsForRulesRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java deleted file mode 100644 index ecfe09fbd02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyScheduleActionsForRulesRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Schedule Actions For Rules Request Builder. - */ -public class BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DeviceCompliancePolicyScheduleActionsForRules - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param deviceComplianceScheduledActionForRules the deviceComplianceScheduledActionForRules - */ - public BaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List deviceComplianceScheduledActionForRules) { - super(requestUrl, client, requestOptions); - bodyParams.put("deviceComplianceScheduledActionForRules", deviceComplianceScheduledActionForRules); - } - - /** - * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest - * - * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance - */ - public IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance - */ - public IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest(final java.util.List requestOptions) { - DeviceCompliancePolicyScheduleActionsForRulesRequest request = new DeviceCompliancePolicyScheduleActionsForRulesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("deviceComplianceScheduledActionForRules")) { - request.body.deviceComplianceScheduledActionForRules = getParameter("deviceComplianceScheduledActionForRules"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java deleted file mode 100644 index 76528fca7df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary Collection Page. - */ -public class BaseDeviceCompliancePolicySettingStateSummaryCollectionPage extends BaseCollectionPage implements IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage { - - /** - * A collection page for DeviceCompliancePolicySettingStateSummary - * - * @param response the serialized BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceCompliancePolicySettingStateSummaryCollectionPage(final BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse response, final IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java deleted file mode 100644 index d6b3aac75fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary Collection Request. - */ -public class BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest { - - /** - * The request builder for this collection of DeviceCompliancePolicySettingStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicySettingStateSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse.class, IDeviceCompliancePolicySettingStateSummaryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCompliancePolicySettingStateSummaryCollectionPage get() throws ClientException { - final BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceCompliancePolicySettingStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicySettingStateSummary, callback); - } - - public DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceCompliancePolicySettingStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicySettingStateSummary); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicySettingStateSummaryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceCompliancePolicySettingStateSummaryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicySettingStateSummaryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceCompliancePolicySettingStateSummaryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCompliancePolicySettingStateSummaryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceCompliancePolicySettingStateSummaryCollectionRequest)this; - } - - public IDeviceCompliancePolicySettingStateSummaryCollectionPage buildFromResponse(final BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse response) { - final IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceCompliancePolicySettingStateSummaryCollectionPage page = new DeviceCompliancePolicySettingStateSummaryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java deleted file mode 100644 index 6daaf75eabe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary Collection Request Builder. - */ -public class BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicySettingStateSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceCompliancePolicySettingStateSummaryRequestBuilder byId(final String id) { - return new DeviceCompliancePolicySettingStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse.java deleted file mode 100644 index 736a7766710..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary Collection Response. - */ -public class BaseDeviceCompliancePolicySettingStateSummaryCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceCompliancePolicySettingStateSummary within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequest.java deleted file mode 100644 index 383b9570b89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryRequest; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary Request. - */ -public class BaseDeviceCompliancePolicySettingStateSummaryRequest extends BaseRequest implements IBaseDeviceCompliancePolicySettingStateSummaryRequest { - - /** - * The request for the DeviceCompliancePolicySettingStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceCompliancePolicySettingStateSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceCompliancePolicySettingStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceCompliancePolicySettingStateSummary from the service - * - * @return the DeviceCompliancePolicySettingStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicySettingStateSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceCompliancePolicySettingStateSummary with a source - * - * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicySettingStateSummary); - } - - /** - * Patches this DeviceCompliancePolicySettingStateSummary with a source - * - * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates - * @return the updated DeviceCompliancePolicySettingStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicySettingStateSummary patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceCompliancePolicySettingStateSummary); - } - - /** - * Creates a DeviceCompliancePolicySettingStateSummary with a new object - * - * @param newDeviceCompliancePolicySettingStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceCompliancePolicySettingStateSummary); - } - - /** - * Creates a DeviceCompliancePolicySettingStateSummary with a new object - * - * @param newDeviceCompliancePolicySettingStateSummary the new object to create - * @return the created DeviceCompliancePolicySettingStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException { - return send(HttpMethod.POST, newDeviceCompliancePolicySettingStateSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicySettingStateSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCompliancePolicySettingStateSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicySettingStateSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCompliancePolicySettingStateSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java deleted file mode 100644 index 7486f9a69c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryRequest; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy Setting State Summary Request Builder. - */ -public class BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder { - - /** - * The request builder for the DeviceCompliancePolicySettingStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicySettingStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance - */ - public IDeviceCompliancePolicySettingStateSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance - */ - public IDeviceCompliancePolicySettingStateSummaryRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicySettingStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceSettingStateCollectionRequestBuilder deviceComplianceSettingStates() { - return new DeviceComplianceSettingStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceComplianceSettingStates"), getClient(), null); - } - - public IDeviceComplianceSettingStateRequestBuilder deviceComplianceSettingStates(final String id) { - return new DeviceComplianceSettingStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceComplianceSettingStates") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionPage.java deleted file mode 100644 index 6de50cc9025..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State Collection Page. - */ -public class BaseDeviceCompliancePolicyStateCollectionPage extends BaseCollectionPage implements IBaseDeviceCompliancePolicyStateCollectionPage { - - /** - * A collection page for DeviceCompliancePolicyState - * - * @param response the serialized BaseDeviceCompliancePolicyStateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceCompliancePolicyStateCollectionPage(final BaseDeviceCompliancePolicyStateCollectionResponse response, final IDeviceCompliancePolicyStateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequest.java deleted file mode 100644 index 2a42590eae8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State Collection Request. - */ -public class BaseDeviceCompliancePolicyStateCollectionRequest extends BaseCollectionRequest implements IBaseDeviceCompliancePolicyStateCollectionRequest { - - /** - * The request builder for this collection of DeviceCompliancePolicyState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceCompliancePolicyStateCollectionResponse.class, IDeviceCompliancePolicyStateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceCompliancePolicyStateCollectionPage get() throws ClientException { - final BaseDeviceCompliancePolicyStateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceCompliancePolicyStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicyState, callback); - } - - public DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceCompliancePolicyStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceCompliancePolicyState); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyStateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyStateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyStateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceCompliancePolicyStateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceCompliancePolicyStateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceCompliancePolicyStateCollectionRequest)this; - } - - public IDeviceCompliancePolicyStateCollectionPage buildFromResponse(final BaseDeviceCompliancePolicyStateCollectionResponse response) { - final IDeviceCompliancePolicyStateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceCompliancePolicyStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceCompliancePolicyStateCollectionPage page = new DeviceCompliancePolicyStateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequestBuilder.java deleted file mode 100644 index c865acc41b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State Collection Request Builder. - */ -public class BaseDeviceCompliancePolicyStateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyStateCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceCompliancePolicyStateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceCompliancePolicyStateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceCompliancePolicyStateRequestBuilder byId(final String id) { - return new DeviceCompliancePolicyStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionResponse.java deleted file mode 100644 index 1501b7730bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State Collection Response. - */ -public class BaseDeviceCompliancePolicyStateCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceCompliancePolicyState within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequest.java deleted file mode 100644 index 33333bd4127..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateRequest; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State Request. - */ -public class BaseDeviceCompliancePolicyStateRequest extends BaseRequest implements IBaseDeviceCompliancePolicyStateRequest { - - /** - * The request for the DeviceCompliancePolicyState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceCompliancePolicyStateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceCompliancePolicyState from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceCompliancePolicyState from the service - * - * @return the DeviceCompliancePolicyState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyState get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceCompliancePolicyState with a source - * - * @param sourceDeviceCompliancePolicyState the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceCompliancePolicyState); - } - - /** - * Patches this DeviceCompliancePolicyState with a source - * - * @param sourceDeviceCompliancePolicyState the source object with updates - * @return the updated DeviceCompliancePolicyState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyState patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyState); - } - - /** - * Creates a DeviceCompliancePolicyState with a new object - * - * @param newDeviceCompliancePolicyState the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceCompliancePolicyState); - } - - /** - * Creates a DeviceCompliancePolicyState with a new object - * - * @param newDeviceCompliancePolicyState the new object to create - * @return the created DeviceCompliancePolicyState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException { - return send(HttpMethod.POST, newDeviceCompliancePolicyState); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceCompliancePolicyStateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceCompliancePolicyStateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceCompliancePolicyStateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceCompliancePolicyStateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequestBuilder.java deleted file mode 100644 index bd0a69bcebb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceCompliancePolicyStateRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequest; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Policy State Request Builder. - */ -public class BaseDeviceCompliancePolicyStateRequestBuilder extends BaseRequestBuilder implements IBaseDeviceCompliancePolicyStateRequestBuilder { - - /** - * The request builder for the DeviceCompliancePolicyState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceCompliancePolicyStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyStateRequest instance - */ - public IDeviceCompliancePolicyStateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyStateRequest instance - */ - public IDeviceCompliancePolicyStateRequest buildRequest(final java.util.List requestOptions) { - return new DeviceCompliancePolicyStateRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionPage.java deleted file mode 100644 index 412dbeda3bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule Collection Page. - */ -public class BaseDeviceComplianceScheduledActionForRuleCollectionPage extends BaseCollectionPage implements IBaseDeviceComplianceScheduledActionForRuleCollectionPage { - - /** - * A collection page for DeviceComplianceScheduledActionForRule - * - * @param response the serialized BaseDeviceComplianceScheduledActionForRuleCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceComplianceScheduledActionForRuleCollectionPage(final BaseDeviceComplianceScheduledActionForRuleCollectionResponse response, final IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequest.java deleted file mode 100644 index 2f6daf52c4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule Collection Request. - */ -public class BaseDeviceComplianceScheduledActionForRuleCollectionRequest extends BaseCollectionRequest implements IBaseDeviceComplianceScheduledActionForRuleCollectionRequest { - - /** - * The request builder for this collection of DeviceComplianceScheduledActionForRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceScheduledActionForRuleCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceComplianceScheduledActionForRuleCollectionResponse.class, IDeviceComplianceScheduledActionForRuleCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceComplianceScheduledActionForRuleCollectionPage get() throws ClientException { - final BaseDeviceComplianceScheduledActionForRuleCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceComplianceScheduledActionForRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceScheduledActionForRule, callback); - } - - public DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceComplianceScheduledActionForRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceScheduledActionForRule); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceScheduledActionForRuleCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceComplianceScheduledActionForRuleCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceScheduledActionForRuleCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceComplianceScheduledActionForRuleCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceComplianceScheduledActionForRuleCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceComplianceScheduledActionForRuleCollectionRequest)this; - } - - public IDeviceComplianceScheduledActionForRuleCollectionPage buildFromResponse(final BaseDeviceComplianceScheduledActionForRuleCollectionResponse response) { - final IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceComplianceScheduledActionForRuleCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceComplianceScheduledActionForRuleCollectionPage page = new DeviceComplianceScheduledActionForRuleCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java deleted file mode 100644 index 5cde5fe3b97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule Collection Request Builder. - */ -public class BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceScheduledActionForRuleCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceScheduledActionForRuleRequestBuilder byId(final String id) { - return new DeviceComplianceScheduledActionForRuleRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionResponse.java deleted file mode 100644 index d6244054cb0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule Collection Response. - */ -public class BaseDeviceComplianceScheduledActionForRuleCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceComplianceScheduledActionForRule within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequest.java deleted file mode 100644 index 790cb4aff8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule Request. - */ -public class BaseDeviceComplianceScheduledActionForRuleRequest extends BaseRequest implements IBaseDeviceComplianceScheduledActionForRuleRequest { - - /** - * The request for the DeviceComplianceScheduledActionForRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceScheduledActionForRuleRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceScheduledActionForRule from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceScheduledActionForRule from the service - * - * @return the DeviceComplianceScheduledActionForRule from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceScheduledActionForRule get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceScheduledActionForRule with a source - * - * @param sourceDeviceComplianceScheduledActionForRule the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceScheduledActionForRule); - } - - /** - * Patches this DeviceComplianceScheduledActionForRule with a source - * - * @param sourceDeviceComplianceScheduledActionForRule the source object with updates - * @return the updated DeviceComplianceScheduledActionForRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceScheduledActionForRule patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceScheduledActionForRule); - } - - /** - * Creates a DeviceComplianceScheduledActionForRule with a new object - * - * @param newDeviceComplianceScheduledActionForRule the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceScheduledActionForRule); - } - - /** - * Creates a DeviceComplianceScheduledActionForRule with a new object - * - * @param newDeviceComplianceScheduledActionForRule the new object to create - * @return the created DeviceComplianceScheduledActionForRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceScheduledActionForRule); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceScheduledActionForRuleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceScheduledActionForRuleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceScheduledActionForRuleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceScheduledActionForRuleRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequestBuilder.java deleted file mode 100644 index a4e5df09b52..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceScheduledActionForRuleRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleRequest; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceComplianceActionItemRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Scheduled Action For Rule Request Builder. - */ -public class BaseDeviceComplianceScheduledActionForRuleRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceScheduledActionForRuleRequestBuilder { - - /** - * The request builder for the DeviceComplianceScheduledActionForRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceScheduledActionForRuleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceScheduledActionForRuleRequest instance - */ - public IDeviceComplianceScheduledActionForRuleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceScheduledActionForRuleRequest instance - */ - public IDeviceComplianceScheduledActionForRuleRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceScheduledActionForRuleRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceActionItemCollectionRequestBuilder scheduledActionConfigurations() { - return new DeviceComplianceActionItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionConfigurations"), getClient(), null); - } - - public IDeviceComplianceActionItemRequestBuilder scheduledActionConfigurations(final String id) { - return new DeviceComplianceActionItemRequestBuilder(getRequestUrlWithAdditionalSegment("scheduledActionConfigurations") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionPage.java deleted file mode 100644 index bf03eb06d7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State Collection Page. - */ -public class BaseDeviceComplianceSettingStateCollectionPage extends BaseCollectionPage implements IBaseDeviceComplianceSettingStateCollectionPage { - - /** - * A collection page for DeviceComplianceSettingState - * - * @param response the serialized BaseDeviceComplianceSettingStateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceComplianceSettingStateCollectionPage(final BaseDeviceComplianceSettingStateCollectionResponse response, final IDeviceComplianceSettingStateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequest.java deleted file mode 100644 index 0cb7ca5442c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State Collection Request. - */ -public class BaseDeviceComplianceSettingStateCollectionRequest extends BaseCollectionRequest implements IBaseDeviceComplianceSettingStateCollectionRequest { - - /** - * The request builder for this collection of DeviceComplianceSettingState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceSettingStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceComplianceSettingStateCollectionResponse.class, IDeviceComplianceSettingStateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceComplianceSettingStateCollectionPage get() throws ClientException { - final BaseDeviceComplianceSettingStateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceComplianceSettingStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceSettingState, callback); - } - - public DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceComplianceSettingStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceSettingState); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceSettingStateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceComplianceSettingStateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceSettingStateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceComplianceSettingStateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceComplianceSettingStateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceComplianceSettingStateCollectionRequest)this; - } - - public IDeviceComplianceSettingStateCollectionPage buildFromResponse(final BaseDeviceComplianceSettingStateCollectionResponse response) { - final IDeviceComplianceSettingStateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceComplianceSettingStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceComplianceSettingStateCollectionPage page = new DeviceComplianceSettingStateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequestBuilder.java deleted file mode 100644 index 1b418565d96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State Collection Request Builder. - */ -public class BaseDeviceComplianceSettingStateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceSettingStateCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicySettingStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceSettingStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceComplianceSettingStateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceComplianceSettingStateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceSettingStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceSettingStateRequestBuilder byId(final String id) { - return new DeviceComplianceSettingStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionResponse.java deleted file mode 100644 index 342260ef8e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State Collection Response. - */ -public class BaseDeviceComplianceSettingStateCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceComplianceSettingState within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequest.java deleted file mode 100644 index 9cfd7c0e718..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State Request. - */ -public class BaseDeviceComplianceSettingStateRequest extends BaseRequest implements IBaseDeviceComplianceSettingStateRequest { - - /** - * The request for the DeviceComplianceSettingState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceSettingStateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceSettingState from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceSettingState from the service - * - * @return the DeviceComplianceSettingState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceSettingState get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceSettingState with a source - * - * @param sourceDeviceComplianceSettingState the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceSettingState); - } - - /** - * Patches this DeviceComplianceSettingState with a source - * - * @param sourceDeviceComplianceSettingState the source object with updates - * @return the updated DeviceComplianceSettingState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceSettingState patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceSettingState); - } - - /** - * Creates a DeviceComplianceSettingState with a new object - * - * @param newDeviceComplianceSettingState the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceSettingState); - } - - /** - * Creates a DeviceComplianceSettingState with a new object - * - * @param newDeviceComplianceSettingState the new object to create - * @return the created DeviceComplianceSettingState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceSettingState); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceSettingStateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceSettingStateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceSettingStateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceSettingStateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequestBuilder.java deleted file mode 100644 index 41ab150fe18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceSettingStateRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceSettingStateRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance Setting State Request Builder. - */ -public class BaseDeviceComplianceSettingStateRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceSettingStateRequestBuilder { - - /** - * The request builder for the DeviceComplianceSettingState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceSettingStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceSettingStateRequest instance - */ - public IDeviceComplianceSettingStateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceSettingStateRequest instance - */ - public IDeviceComplianceSettingStateRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceSettingStateRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequest.java deleted file mode 100644 index 6c206645e7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserOverviewRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Overview Request. - */ -public class BaseDeviceComplianceUserOverviewRequest extends BaseRequest implements IBaseDeviceComplianceUserOverviewRequest { - - /** - * The request for the DeviceComplianceUserOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceUserOverviewRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceUserOverview from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceUserOverview from the service - * - * @return the DeviceComplianceUserOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceUserOverview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceUserOverview with a source - * - * @param sourceDeviceComplianceUserOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceUserOverview); - } - - /** - * Patches this DeviceComplianceUserOverview with a source - * - * @param sourceDeviceComplianceUserOverview the source object with updates - * @return the updated DeviceComplianceUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceUserOverview patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceUserOverview); - } - - /** - * Creates a DeviceComplianceUserOverview with a new object - * - * @param newDeviceComplianceUserOverview the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceUserOverview); - } - - /** - * Creates a DeviceComplianceUserOverview with a new object - * - * @param newDeviceComplianceUserOverview the new object to create - * @return the created DeviceComplianceUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceUserOverview post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceUserOverview); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceUserOverviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceUserOverviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceUserOverviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceUserOverviewRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequestBuilder.java deleted file mode 100644 index 50fc6214fc3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserOverviewRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserOverviewRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Overview Request Builder. - */ -public class BaseDeviceComplianceUserOverviewRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceUserOverviewRequestBuilder { - - /** - * The request builder for the DeviceComplianceUserOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceUserOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceUserOverviewRequest instance - */ - public IDeviceComplianceUserOverviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceUserOverviewRequest instance - */ - public IDeviceComplianceUserOverviewRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceUserOverviewRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionPage.java deleted file mode 100644 index 13e9c1601b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status Collection Page. - */ -public class BaseDeviceComplianceUserStatusCollectionPage extends BaseCollectionPage implements IBaseDeviceComplianceUserStatusCollectionPage { - - /** - * A collection page for DeviceComplianceUserStatus - * - * @param response the serialized BaseDeviceComplianceUserStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceComplianceUserStatusCollectionPage(final BaseDeviceComplianceUserStatusCollectionResponse response, final IDeviceComplianceUserStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequest.java deleted file mode 100644 index 41ecd43b88f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status Collection Request. - */ -public class BaseDeviceComplianceUserStatusCollectionRequest extends BaseCollectionRequest implements IBaseDeviceComplianceUserStatusCollectionRequest { - - /** - * The request builder for this collection of DeviceComplianceUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceUserStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceComplianceUserStatusCollectionResponse.class, IDeviceComplianceUserStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceComplianceUserStatusCollectionPage get() throws ClientException { - final BaseDeviceComplianceUserStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceComplianceUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceUserStatus, callback); - } - - public DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceComplianceUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceComplianceUserStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceUserStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceComplianceUserStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceUserStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceComplianceUserStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceComplianceUserStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceComplianceUserStatusCollectionRequest)this; - } - - public IDeviceComplianceUserStatusCollectionPage buildFromResponse(final BaseDeviceComplianceUserStatusCollectionResponse response) { - final IDeviceComplianceUserStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceComplianceUserStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceComplianceUserStatusCollectionPage page = new DeviceComplianceUserStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequestBuilder.java deleted file mode 100644 index b9b15fb1816..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status Collection Request Builder. - */ -public class BaseDeviceComplianceUserStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceUserStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceUserStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceComplianceUserStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceComplianceUserStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceUserStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceComplianceUserStatusRequestBuilder byId(final String id) { - return new DeviceComplianceUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionResponse.java deleted file mode 100644 index 53ecebd4a48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status Collection Response. - */ -public class BaseDeviceComplianceUserStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceComplianceUserStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequest.java deleted file mode 100644 index e8b0fa03cea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusRequest; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status Request. - */ -public class BaseDeviceComplianceUserStatusRequest extends BaseRequest implements IBaseDeviceComplianceUserStatusRequest { - - /** - * The request for the DeviceComplianceUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceComplianceUserStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceComplianceUserStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceComplianceUserStatus from the service - * - * @return the DeviceComplianceUserStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceUserStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceComplianceUserStatus with a source - * - * @param sourceDeviceComplianceUserStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceComplianceUserStatus); - } - - /** - * Patches this DeviceComplianceUserStatus with a source - * - * @param sourceDeviceComplianceUserStatus the source object with updates - * @return the updated DeviceComplianceUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceUserStatus patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceComplianceUserStatus); - } - - /** - * Creates a DeviceComplianceUserStatus with a new object - * - * @param newDeviceComplianceUserStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceComplianceUserStatus); - } - - /** - * Creates a DeviceComplianceUserStatus with a new object - * - * @param newDeviceComplianceUserStatus the new object to create - * @return the created DeviceComplianceUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException { - return send(HttpMethod.POST, newDeviceComplianceUserStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceComplianceUserStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceComplianceUserStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceComplianceUserStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceComplianceUserStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequestBuilder.java deleted file mode 100644 index bb7937fcc7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceComplianceUserStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Compliance User Status Request Builder. - */ -public class BaseDeviceComplianceUserStatusRequestBuilder extends BaseRequestBuilder implements IBaseDeviceComplianceUserStatusRequestBuilder { - - /** - * The request builder for the DeviceComplianceUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceComplianceUserStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceComplianceUserStatusRequest instance - */ - public IDeviceComplianceUserStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceUserStatusRequest instance - */ - public IDeviceComplianceUserStatusRequest buildRequest(final java.util.List requestOptions) { - return new DeviceComplianceUserStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionPage.java deleted file mode 100644 index ba443470e07..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assign Collection Page. - */ -public class BaseDeviceConfigurationAssignCollectionPage extends BaseCollectionPage implements IBaseDeviceConfigurationAssignCollectionPage { - - /** - * A collection page for DeviceConfigurationAssign. - * - * @param response The serialized BaseDeviceConfigurationAssignCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDeviceConfigurationAssignCollectionPage(final BaseDeviceConfigurationAssignCollectionResponse response, final IDeviceConfigurationAssignCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequest.java deleted file mode 100644 index b6d4b35a33b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assign Collection Request. - */ -public class BaseDeviceConfigurationAssignCollectionRequest extends BaseCollectionRequest implements IBaseDeviceConfigurationAssignCollectionRequest { - - - protected final DeviceConfigurationAssignBody body; - - - /** - * The request for this DeviceConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationAssignCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceConfigurationAssignCollectionResponse.class, IDeviceConfigurationAssignCollectionPage.class); - body = new DeviceConfigurationAssignBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceConfigurationAssignCollectionPage post() throws ClientException { - final BaseDeviceConfigurationAssignCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDeviceConfigurationAssignCollectionPage buildFromResponse(final BaseDeviceConfigurationAssignCollectionResponse response) { - final IDeviceConfigurationAssignCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceConfigurationAssignCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* assignments */ null); - } else { - builder = null; - } - final IDeviceConfigurationAssignCollectionPage page = new DeviceConfigurationAssignCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationAssignCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDeviceConfigurationAssignCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceConfigurationAssignCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDeviceConfigurationAssignCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationAssignCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDeviceConfigurationAssignCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequestBuilder.java deleted file mode 100644 index ed7c2611e64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assign Collection Request Builder. - */ -public class BaseDeviceConfigurationAssignCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDeviceConfigurationAssignCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param assignments the assignments - */ - public BaseDeviceConfigurationAssignCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions); - if(assignments!=null){ - bodyParams.put("assignments", assignments); - } - } - - public IDeviceConfigurationAssignCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceConfigurationAssignCollectionRequest buildRequest(final java.util.List requestOptions) { - DeviceConfigurationAssignCollectionRequest request = new DeviceConfigurationAssignCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("assignments")) { - request.body.assignments = getParameter("assignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionResponse.java deleted file mode 100644 index 4b1c3a3642f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assign Collection Response. - */ -public class BaseDeviceConfigurationAssignCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionPage.java deleted file mode 100644 index 342b080372a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment Collection Page. - */ -public class BaseDeviceConfigurationAssignmentCollectionPage extends BaseCollectionPage implements IBaseDeviceConfigurationAssignmentCollectionPage { - - /** - * A collection page for DeviceConfigurationAssignment - * - * @param response the serialized BaseDeviceConfigurationAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceConfigurationAssignmentCollectionPage(final BaseDeviceConfigurationAssignmentCollectionResponse response, final IDeviceConfigurationAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequest.java deleted file mode 100644 index 2ce60affe38..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment Collection Request. - */ -public class BaseDeviceConfigurationAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseDeviceConfigurationAssignmentCollectionRequest { - - /** - * The request builder for this collection of DeviceConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceConfigurationAssignmentCollectionResponse.class, IDeviceConfigurationAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceConfigurationAssignmentCollectionPage get() throws ClientException { - final BaseDeviceConfigurationAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationAssignment, callback); - } - - public DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceConfigurationAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceConfigurationAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceConfigurationAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceConfigurationAssignmentCollectionRequest)this; - } - - public IDeviceConfigurationAssignmentCollectionPage buildFromResponse(final BaseDeviceConfigurationAssignmentCollectionResponse response) { - final IDeviceConfigurationAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceConfigurationAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceConfigurationAssignmentCollectionPage page = new DeviceConfigurationAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 630c6358888..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment Collection Request Builder. - */ -public class BaseDeviceConfigurationAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceConfigurationAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationAssignmentRequestBuilder byId(final String id) { - return new DeviceConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionResponse.java deleted file mode 100644 index ab2d817398d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment Collection Response. - */ -public class BaseDeviceConfigurationAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceConfigurationAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequest.java deleted file mode 100644 index 969f7800a72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment Request. - */ -public class BaseDeviceConfigurationAssignmentRequest extends BaseRequest implements IBaseDeviceConfigurationAssignmentRequest { - - /** - * The request for the DeviceConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationAssignment from the service - * - * @return the DeviceConfigurationAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationAssignment with a source - * - * @param sourceDeviceConfigurationAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationAssignment); - } - - /** - * Patches this DeviceConfigurationAssignment with a source - * - * @param sourceDeviceConfigurationAssignment the source object with updates - * @return the updated DeviceConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationAssignment patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationAssignment); - } - - /** - * Creates a DeviceConfigurationAssignment with a new object - * - * @param newDeviceConfigurationAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationAssignment); - } - - /** - * Creates a DeviceConfigurationAssignment with a new object - * - * @param newDeviceConfigurationAssignment the new object to create - * @return the created DeviceConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequestBuilder.java deleted file mode 100644 index 2f950fe6bf3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Assignment Request Builder. - */ -public class BaseDeviceConfigurationAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationAssignmentRequestBuilder { - - /** - * The request builder for the DeviceConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationAssignmentRequest instance - */ - public IDeviceConfigurationAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationAssignmentRequest instance - */ - public IDeviceConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionPage.java deleted file mode 100644 index 67ae7907be5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfiguration; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Collection Page. - */ -public class BaseDeviceConfigurationCollectionPage extends BaseCollectionPage implements IBaseDeviceConfigurationCollectionPage { - - /** - * A collection page for DeviceConfiguration - * - * @param response the serialized BaseDeviceConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceConfigurationCollectionPage(final BaseDeviceConfigurationCollectionResponse response, final IDeviceConfigurationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequest.java deleted file mode 100644 index 2793212399b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Collection Request. - */ -public class BaseDeviceConfigurationCollectionRequest extends BaseCollectionRequest implements IBaseDeviceConfigurationCollectionRequest { - - /** - * The request builder for this collection of DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceConfigurationCollectionResponse.class, IDeviceConfigurationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceConfigurationCollectionPage get() throws ClientException { - final BaseDeviceConfigurationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfiguration, callback); - } - - public DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfiguration); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceConfigurationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceConfigurationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceConfigurationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceConfigurationCollectionRequest)this; - } - - public IDeviceConfigurationCollectionPage buildFromResponse(final BaseDeviceConfigurationCollectionResponse response) { - final IDeviceConfigurationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceConfigurationCollectionPage page = new DeviceConfigurationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequestBuilder.java deleted file mode 100644 index 9f4e35afd34..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Collection Request Builder. - */ -public class BaseDeviceConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceConfigurationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationRequestBuilder byId(final String id) { - return new DeviceConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionResponse.java deleted file mode 100644 index 82108e1dbd6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Collection Response. - */ -public class BaseDeviceConfigurationCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceConfiguration within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequest.java deleted file mode 100644 index f93e488c089..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceOverviewRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Overview Request. - */ -public class BaseDeviceConfigurationDeviceOverviewRequest extends BaseRequest implements IBaseDeviceConfigurationDeviceOverviewRequest { - - /** - * The request for the DeviceConfigurationDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationDeviceOverviewRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationDeviceOverview from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationDeviceOverview from the service - * - * @return the DeviceConfigurationDeviceOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceOverview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationDeviceOverview with a source - * - * @param sourceDeviceConfigurationDeviceOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationDeviceOverview); - } - - /** - * Patches this DeviceConfigurationDeviceOverview with a source - * - * @param sourceDeviceConfigurationDeviceOverview the source object with updates - * @return the updated DeviceConfigurationDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceOverview patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationDeviceOverview); - } - - /** - * Creates a DeviceConfigurationDeviceOverview with a new object - * - * @param newDeviceConfigurationDeviceOverview the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationDeviceOverview); - } - - /** - * Creates a DeviceConfigurationDeviceOverview with a new object - * - * @param newDeviceConfigurationDeviceOverview the new object to create - * @return the created DeviceConfigurationDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceOverview post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationDeviceOverview); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationDeviceOverviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationDeviceOverviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationDeviceOverviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationDeviceOverviewRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequestBuilder.java deleted file mode 100644 index e8979e864dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceOverviewRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceOverviewRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Overview Request Builder. - */ -public class BaseDeviceConfigurationDeviceOverviewRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationDeviceOverviewRequestBuilder { - - /** - * The request builder for the DeviceConfigurationDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationDeviceOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationDeviceOverviewRequest instance - */ - public IDeviceConfigurationDeviceOverviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationDeviceOverviewRequest instance - */ - public IDeviceConfigurationDeviceOverviewRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationDeviceOverviewRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequest.java deleted file mode 100644 index 36051527871..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStateSummaryRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device State Summary Request. - */ -public class BaseDeviceConfigurationDeviceStateSummaryRequest extends BaseRequest implements IBaseDeviceConfigurationDeviceStateSummaryRequest { - - /** - * The request for the DeviceConfigurationDeviceStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationDeviceStateSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationDeviceStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationDeviceStateSummary from the service - * - * @return the DeviceConfigurationDeviceStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceStateSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationDeviceStateSummary with a source - * - * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationDeviceStateSummary); - } - - /** - * Patches this DeviceConfigurationDeviceStateSummary with a source - * - * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates - * @return the updated DeviceConfigurationDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceStateSummary patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationDeviceStateSummary); - } - - /** - * Creates a DeviceConfigurationDeviceStateSummary with a new object - * - * @param newDeviceConfigurationDeviceStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationDeviceStateSummary); - } - - /** - * Creates a DeviceConfigurationDeviceStateSummary with a new object - * - * @param newDeviceConfigurationDeviceStateSummary the new object to create - * @return the created DeviceConfigurationDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceStateSummary post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationDeviceStateSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationDeviceStateSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationDeviceStateSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationDeviceStateSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationDeviceStateSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java deleted file mode 100644 index ba287998039..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStateSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device State Summary Request Builder. - */ -public class BaseDeviceConfigurationDeviceStateSummaryRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder { - - /** - * The request builder for the DeviceConfigurationDeviceStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationDeviceStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationDeviceStateSummaryRequest instance - */ - public IDeviceConfigurationDeviceStateSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationDeviceStateSummaryRequest instance - */ - public IDeviceConfigurationDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationDeviceStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionPage.java deleted file mode 100644 index 229dc85d3ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status Collection Page. - */ -public class BaseDeviceConfigurationDeviceStatusCollectionPage extends BaseCollectionPage implements IBaseDeviceConfigurationDeviceStatusCollectionPage { - - /** - * A collection page for DeviceConfigurationDeviceStatus - * - * @param response the serialized BaseDeviceConfigurationDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceConfigurationDeviceStatusCollectionPage(final BaseDeviceConfigurationDeviceStatusCollectionResponse response, final IDeviceConfigurationDeviceStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequest.java deleted file mode 100644 index 67dd9aecde8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status Collection Request. - */ -public class BaseDeviceConfigurationDeviceStatusCollectionRequest extends BaseCollectionRequest implements IBaseDeviceConfigurationDeviceStatusCollectionRequest { - - /** - * The request builder for this collection of DeviceConfigurationDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceConfigurationDeviceStatusCollectionResponse.class, IDeviceConfigurationDeviceStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceConfigurationDeviceStatusCollectionPage get() throws ClientException { - final BaseDeviceConfigurationDeviceStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationDeviceStatus, callback); - } - - public DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationDeviceStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationDeviceStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceConfigurationDeviceStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationDeviceStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceConfigurationDeviceStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceConfigurationDeviceStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceConfigurationDeviceStatusCollectionRequest)this; - } - - public IDeviceConfigurationDeviceStatusCollectionPage buildFromResponse(final BaseDeviceConfigurationDeviceStatusCollectionResponse response) { - final IDeviceConfigurationDeviceStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceConfigurationDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceConfigurationDeviceStatusCollectionPage page = new DeviceConfigurationDeviceStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index 9958be61556..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status Collection Request Builder. - */ -public class BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceConfigurationDeviceStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationDeviceStatusRequestBuilder byId(final String id) { - return new DeviceConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionResponse.java deleted file mode 100644 index 67b9472d708..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status Collection Response. - */ -public class BaseDeviceConfigurationDeviceStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceConfigurationDeviceStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequest.java deleted file mode 100644 index ea08b55ed20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status Request. - */ -public class BaseDeviceConfigurationDeviceStatusRequest extends BaseRequest implements IBaseDeviceConfigurationDeviceStatusRequest { - - /** - * The request for the DeviceConfigurationDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationDeviceStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationDeviceStatus from the service - * - * @return the DeviceConfigurationDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationDeviceStatus with a source - * - * @param sourceDeviceConfigurationDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationDeviceStatus); - } - - /** - * Patches this DeviceConfigurationDeviceStatus with a source - * - * @param sourceDeviceConfigurationDeviceStatus the source object with updates - * @return the updated DeviceConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceStatus patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationDeviceStatus); - } - - /** - * Creates a DeviceConfigurationDeviceStatus with a new object - * - * @param newDeviceConfigurationDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationDeviceStatus); - } - - /** - * Creates a DeviceConfigurationDeviceStatus with a new object - * - * @param newDeviceConfigurationDeviceStatus the new object to create - * @return the created DeviceConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationDeviceStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationDeviceStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationDeviceStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationDeviceStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationDeviceStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequestBuilder.java deleted file mode 100644 index 9af4343a14f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Device Status Request Builder. - */ -public class BaseDeviceConfigurationDeviceStatusRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationDeviceStatusRequestBuilder { - - /** - * The request builder for the DeviceConfigurationDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationDeviceStatusRequest instance - */ - public IDeviceConfigurationDeviceStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationDeviceStatusRequest instance - */ - public IDeviceConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequest.java deleted file mode 100644 index 629bb12234e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationRequest; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Request. - */ -public class BaseDeviceConfigurationRequest extends BaseRequest implements IBaseDeviceConfigurationRequest { - - /** - * The request for the DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfiguration from the service - * - * @return the DeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfiguration with a source - * - * @param sourceDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfiguration sourceDeviceConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfiguration); - } - - /** - * Patches this DeviceConfiguration with a source - * - * @param sourceDeviceConfiguration the source object with updates - * @return the updated DeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfiguration patch(final DeviceConfiguration sourceDeviceConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfiguration); - } - - /** - * Creates a DeviceConfiguration with a new object - * - * @param newDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfiguration); - } - - /** - * Creates a DeviceConfiguration with a new object - * - * @param newDeviceConfiguration the new object to create - * @return the created DeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException { - return send(HttpMethod.POST, newDeviceConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequestBuilder.java deleted file mode 100644 index be91e4ff520..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,125 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequestBuilder; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignCollectionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration Request Builder. - */ -public class BaseDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationRequestBuilder { - - /** - * The request builder for the DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationRequest instance - */ - public IDeviceConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationRequest instance - */ - public IDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationAssignmentCollectionRequestBuilder assignments() { - return new DeviceConfigurationAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public IDeviceConfigurationAssignmentRequestBuilder assignments(final String id) { - return new DeviceConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - public IDeviceConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses() { - return new DeviceConfigurationDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses"), getClient(), null); - } - - public IDeviceConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id) { - return new DeviceConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses") + "/" + id, getClient(), null); - } - public IDeviceConfigurationUserStatusCollectionRequestBuilder userStatuses() { - return new DeviceConfigurationUserStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses"), getClient(), null); - } - - public IDeviceConfigurationUserStatusRequestBuilder userStatuses(final String id) { - return new DeviceConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for DeviceConfigurationDeviceOverview - * - * @return the IDeviceConfigurationDeviceOverviewRequestBuilder instance - */ - public IDeviceConfigurationDeviceOverviewRequestBuilder deviceStatusOverview() { - return new DeviceConfigurationDeviceOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatusOverview"), getClient(), null); - } - - /** - * Gets the request builder for DeviceConfigurationUserOverview - * - * @return the IDeviceConfigurationUserOverviewRequestBuilder instance - */ - public IDeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { - return new DeviceConfigurationUserOverviewRequestBuilder(getRequestUrlWithAdditionalSegment("userStatusOverview"), getClient(), null); - } - public ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries() { - return new SettingStateDeviceSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries"), getClient(), null); - } - - public ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id) { - return new SettingStateDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceSettingStateSummaries") + "/" + id, getClient(), null); - } - - public IDeviceConfigurationAssignCollectionRequestBuilder assign(final java.util.List assignments) { - return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionPage.java deleted file mode 100644 index 894de7f046a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State Collection Page. - */ -public class BaseDeviceConfigurationStateCollectionPage extends BaseCollectionPage implements IBaseDeviceConfigurationStateCollectionPage { - - /** - * A collection page for DeviceConfigurationState - * - * @param response the serialized BaseDeviceConfigurationStateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceConfigurationStateCollectionPage(final BaseDeviceConfigurationStateCollectionResponse response, final IDeviceConfigurationStateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequest.java deleted file mode 100644 index fc638ba47fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State Collection Request. - */ -public class BaseDeviceConfigurationStateCollectionRequest extends BaseCollectionRequest implements IBaseDeviceConfigurationStateCollectionRequest { - - /** - * The request builder for this collection of DeviceConfigurationState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceConfigurationStateCollectionResponse.class, IDeviceConfigurationStateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceConfigurationStateCollectionPage get() throws ClientException { - final BaseDeviceConfigurationStateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceConfigurationStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationState, callback); - } - - public DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceConfigurationStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationState); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationStateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceConfigurationStateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationStateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceConfigurationStateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceConfigurationStateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceConfigurationStateCollectionRequest)this; - } - - public IDeviceConfigurationStateCollectionPage buildFromResponse(final BaseDeviceConfigurationStateCollectionResponse response) { - final IDeviceConfigurationStateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceConfigurationStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceConfigurationStateCollectionPage page = new DeviceConfigurationStateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequestBuilder.java deleted file mode 100644 index 8e8cdd2b8d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State Collection Request Builder. - */ -public class BaseDeviceConfigurationStateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationStateCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceConfigurationStateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceConfigurationStateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationStateRequestBuilder byId(final String id) { - return new DeviceConfigurationStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionResponse.java deleted file mode 100644 index 41ef8ad879c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State Collection Response. - */ -public class BaseDeviceConfigurationStateCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceConfigurationState within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequest.java deleted file mode 100644 index e84be4160be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State Request. - */ -public class BaseDeviceConfigurationStateRequest extends BaseRequest implements IBaseDeviceConfigurationStateRequest { - - /** - * The request for the DeviceConfigurationState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationStateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationState from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationState from the service - * - * @return the DeviceConfigurationState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationState get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationState with a source - * - * @param sourceDeviceConfigurationState the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationState sourceDeviceConfigurationState, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationState); - } - - /** - * Patches this DeviceConfigurationState with a source - * - * @param sourceDeviceConfigurationState the source object with updates - * @return the updated DeviceConfigurationState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationState patch(final DeviceConfigurationState sourceDeviceConfigurationState) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationState); - } - - /** - * Creates a DeviceConfigurationState with a new object - * - * @param newDeviceConfigurationState the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationState); - } - - /** - * Creates a DeviceConfigurationState with a new object - * - * @param newDeviceConfigurationState the new object to create - * @return the created DeviceConfigurationState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationState); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationStateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationStateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationStateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationStateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequestBuilder.java deleted file mode 100644 index 47bc022e3b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationStateRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration State Request Builder. - */ -public class BaseDeviceConfigurationStateRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationStateRequestBuilder { - - /** - * The request builder for the DeviceConfigurationState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationStateRequest instance - */ - public IDeviceConfigurationStateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationStateRequest instance - */ - public IDeviceConfigurationStateRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationStateRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequest.java deleted file mode 100644 index 366df6c6c8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserOverviewRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Overview Request. - */ -public class BaseDeviceConfigurationUserOverviewRequest extends BaseRequest implements IBaseDeviceConfigurationUserOverviewRequest { - - /** - * The request for the DeviceConfigurationUserOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationUserOverviewRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationUserOverview from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationUserOverview from the service - * - * @return the DeviceConfigurationUserOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationUserOverview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationUserOverview with a source - * - * @param sourceDeviceConfigurationUserOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationUserOverview); - } - - /** - * Patches this DeviceConfigurationUserOverview with a source - * - * @param sourceDeviceConfigurationUserOverview the source object with updates - * @return the updated DeviceConfigurationUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationUserOverview patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationUserOverview); - } - - /** - * Creates a DeviceConfigurationUserOverview with a new object - * - * @param newDeviceConfigurationUserOverview the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationUserOverview); - } - - /** - * Creates a DeviceConfigurationUserOverview with a new object - * - * @param newDeviceConfigurationUserOverview the new object to create - * @return the created DeviceConfigurationUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationUserOverview post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationUserOverview); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationUserOverviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationUserOverviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationUserOverviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationUserOverviewRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequestBuilder.java deleted file mode 100644 index 39f5b268467..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserOverviewRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserOverviewRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Overview Request Builder. - */ -public class BaseDeviceConfigurationUserOverviewRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationUserOverviewRequestBuilder { - - /** - * The request builder for the DeviceConfigurationUserOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationUserOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationUserOverviewRequest instance - */ - public IDeviceConfigurationUserOverviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationUserOverviewRequest instance - */ - public IDeviceConfigurationUserOverviewRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationUserOverviewRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionPage.java deleted file mode 100644 index 4cba59dff0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status Collection Page. - */ -public class BaseDeviceConfigurationUserStatusCollectionPage extends BaseCollectionPage implements IBaseDeviceConfigurationUserStatusCollectionPage { - - /** - * A collection page for DeviceConfigurationUserStatus - * - * @param response the serialized BaseDeviceConfigurationUserStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceConfigurationUserStatusCollectionPage(final BaseDeviceConfigurationUserStatusCollectionResponse response, final IDeviceConfigurationUserStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequest.java deleted file mode 100644 index 9052c670163..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status Collection Request. - */ -public class BaseDeviceConfigurationUserStatusCollectionRequest extends BaseCollectionRequest implements IBaseDeviceConfigurationUserStatusCollectionRequest { - - /** - * The request builder for this collection of DeviceConfigurationUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationUserStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceConfigurationUserStatusCollectionResponse.class, IDeviceConfigurationUserStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceConfigurationUserStatusCollectionPage get() throws ClientException { - final BaseDeviceConfigurationUserStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationUserStatus, callback); - } - - public DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceConfigurationUserStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationUserStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceConfigurationUserStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationUserStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceConfigurationUserStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceConfigurationUserStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceConfigurationUserStatusCollectionRequest)this; - } - - public IDeviceConfigurationUserStatusCollectionPage buildFromResponse(final BaseDeviceConfigurationUserStatusCollectionResponse response) { - final IDeviceConfigurationUserStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceConfigurationUserStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceConfigurationUserStatusCollectionPage page = new DeviceConfigurationUserStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequestBuilder.java deleted file mode 100644 index 31eed2fa517..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status Collection Request Builder. - */ -public class BaseDeviceConfigurationUserStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationUserStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationUserStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceConfigurationUserStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationUserStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationUserStatusRequestBuilder byId(final String id) { - return new DeviceConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionResponse.java deleted file mode 100644 index d37dfe8e413..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status Collection Response. - */ -public class BaseDeviceConfigurationUserStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceConfigurationUserStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequest.java deleted file mode 100644 index a42c09a5da8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusRequest; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status Request. - */ -public class BaseDeviceConfigurationUserStatusRequest extends BaseRequest implements IBaseDeviceConfigurationUserStatusRequest { - - /** - * The request for the DeviceConfigurationUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceConfigurationUserStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceConfigurationUserStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceConfigurationUserStatus from the service - * - * @return the DeviceConfigurationUserStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationUserStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceConfigurationUserStatus with a source - * - * @param sourceDeviceConfigurationUserStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceConfigurationUserStatus); - } - - /** - * Patches this DeviceConfigurationUserStatus with a source - * - * @param sourceDeviceConfigurationUserStatus the source object with updates - * @return the updated DeviceConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationUserStatus patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceConfigurationUserStatus); - } - - /** - * Creates a DeviceConfigurationUserStatus with a new object - * - * @param newDeviceConfigurationUserStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceConfigurationUserStatus); - } - - /** - * Creates a DeviceConfigurationUserStatus with a new object - * - * @param newDeviceConfigurationUserStatus the new object to create - * @return the created DeviceConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException { - return send(HttpMethod.POST, newDeviceConfigurationUserStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceConfigurationUserStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceConfigurationUserStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceConfigurationUserStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceConfigurationUserStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequestBuilder.java deleted file mode 100644 index 403ff92e2ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceConfigurationUserStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequest; -import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Configuration User Status Request Builder. - */ -public class BaseDeviceConfigurationUserStatusRequestBuilder extends BaseRequestBuilder implements IBaseDeviceConfigurationUserStatusRequestBuilder { - - /** - * The request builder for the DeviceConfigurationUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceConfigurationUserStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceConfigurationUserStatusRequest instance - */ - public IDeviceConfigurationUserStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationUserStatusRequest instance - */ - public IDeviceConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions) { - return new DeviceConfigurationUserStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequest.java deleted file mode 100644 index 834a4cb3590..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfigurationAssignBody; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Assign Request. - */ -public class BaseDeviceEnrollmentConfigurationAssignRequest extends BaseRequest implements IBaseDeviceEnrollmentConfigurationAssignRequest { - protected final DeviceEnrollmentConfigurationAssignBody body; - - /** - * The request for this DeviceEnrollmentConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentConfigurationAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new DeviceEnrollmentConfigurationAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceEnrollmentConfigurationAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceEnrollmentConfigurationAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DeviceEnrollmentConfigurationAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceEnrollmentConfigurationAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequestBuilder.java deleted file mode 100644 index 6f97659b560..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationAssignRequest; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Assign Request Builder. - */ -public class BaseDeviceEnrollmentConfigurationAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DeviceEnrollmentConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param enrollmentConfigurationAssignments the enrollmentConfigurationAssignments - */ - public BaseDeviceEnrollmentConfigurationAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List enrollmentConfigurationAssignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("enrollmentConfigurationAssignments", enrollmentConfigurationAssignments); - } - - /** - * Creates the IDeviceEnrollmentConfigurationAssignRequest - * - * @return the IDeviceEnrollmentConfigurationAssignRequest instance - */ - public IDeviceEnrollmentConfigurationAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDeviceEnrollmentConfigurationAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDeviceEnrollmentConfigurationAssignRequest instance - */ - public IDeviceEnrollmentConfigurationAssignRequest buildRequest(final java.util.List requestOptions) { - DeviceEnrollmentConfigurationAssignRequest request = new DeviceEnrollmentConfigurationAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("enrollmentConfigurationAssignments")) { - request.body.enrollmentConfigurationAssignments = getParameter("enrollmentConfigurationAssignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionPage.java deleted file mode 100644 index be60fd280b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Collection Page. - */ -public class BaseDeviceEnrollmentConfigurationCollectionPage extends BaseCollectionPage implements IBaseDeviceEnrollmentConfigurationCollectionPage { - - /** - * A collection page for DeviceEnrollmentConfiguration - * - * @param response the serialized BaseDeviceEnrollmentConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceEnrollmentConfigurationCollectionPage(final BaseDeviceEnrollmentConfigurationCollectionResponse response, final IDeviceEnrollmentConfigurationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequest.java deleted file mode 100644 index 99072cf9f40..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Collection Request. - */ -public class BaseDeviceEnrollmentConfigurationCollectionRequest extends BaseCollectionRequest implements IBaseDeviceEnrollmentConfigurationCollectionRequest { - - /** - * The request builder for this collection of DeviceEnrollmentConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceEnrollmentConfigurationCollectionResponse.class, IDeviceEnrollmentConfigurationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceEnrollmentConfigurationCollectionPage get() throws ClientException { - final BaseDeviceEnrollmentConfigurationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceEnrollmentConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceEnrollmentConfiguration, callback); - } - - public DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceEnrollmentConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceEnrollmentConfiguration); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceEnrollmentConfigurationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceEnrollmentConfigurationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceEnrollmentConfigurationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceEnrollmentConfigurationCollectionRequest)this; - } - - public IDeviceEnrollmentConfigurationCollectionPage buildFromResponse(final BaseDeviceEnrollmentConfigurationCollectionResponse response) { - final IDeviceEnrollmentConfigurationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceEnrollmentConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceEnrollmentConfigurationCollectionPage page = new DeviceEnrollmentConfigurationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java deleted file mode 100644 index b115d322b29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Collection Request Builder. - */ -public class BaseDeviceEnrollmentConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceEnrollmentConfigurationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceEnrollmentConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceEnrollmentConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceEnrollmentConfigurationRequestBuilder byId(final String id) { - return new DeviceEnrollmentConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionResponse.java deleted file mode 100644 index f78888f89c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Collection Response. - */ -public class BaseDeviceEnrollmentConfigurationCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceEnrollmentConfiguration within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequest.java deleted file mode 100644 index f0094bed9c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationRequest; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Request. - */ -public class BaseDeviceEnrollmentConfigurationRequest extends BaseRequest implements IBaseDeviceEnrollmentConfigurationRequest { - - /** - * The request for the DeviceEnrollmentConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceEnrollmentConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceEnrollmentConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceEnrollmentConfiguration from the service - * - * @return the DeviceEnrollmentConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceEnrollmentConfiguration with a source - * - * @param sourceDeviceEnrollmentConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentConfiguration); - } - - /** - * Patches this DeviceEnrollmentConfiguration with a source - * - * @param sourceDeviceEnrollmentConfiguration the source object with updates - * @return the updated DeviceEnrollmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentConfiguration patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceEnrollmentConfiguration); - } - - /** - * Creates a DeviceEnrollmentConfiguration with a new object - * - * @param newDeviceEnrollmentConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceEnrollmentConfiguration); - } - - /** - * Creates a DeviceEnrollmentConfiguration with a new object - * - * @param newDeviceEnrollmentConfiguration the new object to create - * @return the created DeviceEnrollmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException { - return send(HttpMethod.POST, newDeviceEnrollmentConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceEnrollmentConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceEnrollmentConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequestBuilder.java deleted file mode 100644 index 6ca3e84e356..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationRequest; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationSetPriorityRequestBuilder; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationAssignRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Request Builder. - */ -public class BaseDeviceEnrollmentConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseDeviceEnrollmentConfigurationRequestBuilder { - - /** - * The request builder for the DeviceEnrollmentConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceEnrollmentConfigurationRequest instance - */ - public IDeviceEnrollmentConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentConfigurationRequest instance - */ - public IDeviceEnrollmentConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new DeviceEnrollmentConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEnrollmentConfigurationAssignmentCollectionRequestBuilder assignments() { - return new EnrollmentConfigurationAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public IEnrollmentConfigurationAssignmentRequestBuilder assignments(final String id) { - return new EnrollmentConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - public IDeviceEnrollmentConfigurationSetPriorityRequestBuilder setPriority(final Integer priority) { - return new DeviceEnrollmentConfigurationSetPriorityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setPriority"), getClient(), null, priority); - } - - public IDeviceEnrollmentConfigurationAssignRequestBuilder assign(final java.util.List enrollmentConfigurationAssignments) { - return new DeviceEnrollmentConfigurationAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, enrollmentConfigurationAssignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequest.java deleted file mode 100644 index 7ca59604d80..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfigurationSetPriorityBody; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationSetPriorityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Set Priority Request. - */ -public class BaseDeviceEnrollmentConfigurationSetPriorityRequest extends BaseRequest implements IBaseDeviceEnrollmentConfigurationSetPriorityRequest { - protected final DeviceEnrollmentConfigurationSetPriorityBody body; - - /** - * The request for this DeviceEnrollmentConfigurationSetPriority - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentConfigurationSetPriorityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new DeviceEnrollmentConfigurationSetPriorityBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationSetPriorityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceEnrollmentConfigurationSetPriorityRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceEnrollmentConfigurationSetPriorityRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DeviceEnrollmentConfigurationSetPriorityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentConfigurationSetPriorityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceEnrollmentConfigurationSetPriorityRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java deleted file mode 100644 index 39cca6950a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationSetPriorityRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Configuration Set Priority Request Builder. - */ -public class BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DeviceEnrollmentConfigurationSetPriority - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param priority the priority - */ - public BaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer priority) { - super(requestUrl, client, requestOptions); - bodyParams.put("priority", priority); - } - - /** - * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest - * - * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance - */ - public IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance - */ - public IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest(final java.util.List requestOptions) { - DeviceEnrollmentConfigurationSetPriorityRequest request = new DeviceEnrollmentConfigurationSetPriorityRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("priority")) { - request.body.priority = getParameter("priority"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequest.java deleted file mode 100644 index c94c772cb8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentLimitConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentLimitConfigurationRequest; -import com.microsoft.graph.models.extensions.DeviceEnrollmentLimitConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Limit Configuration Request. - */ -public class BaseDeviceEnrollmentLimitConfigurationRequest extends BaseRequest implements IBaseDeviceEnrollmentLimitConfigurationRequest { - - /** - * The request for the DeviceEnrollmentLimitConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceEnrollmentLimitConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceEnrollmentLimitConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceEnrollmentLimitConfiguration from the service - * - * @return the DeviceEnrollmentLimitConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentLimitConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceEnrollmentLimitConfiguration with a source - * - * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentLimitConfiguration); - } - - /** - * Patches this DeviceEnrollmentLimitConfiguration with a source - * - * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates - * @return the updated DeviceEnrollmentLimitConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentLimitConfiguration patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceEnrollmentLimitConfiguration); - } - - /** - * Creates a DeviceEnrollmentLimitConfiguration with a new object - * - * @param newDeviceEnrollmentLimitConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceEnrollmentLimitConfiguration); - } - - /** - * Creates a DeviceEnrollmentLimitConfiguration with a new object - * - * @param newDeviceEnrollmentLimitConfiguration the new object to create - * @return the created DeviceEnrollmentLimitConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentLimitConfiguration post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException { - return send(HttpMethod.POST, newDeviceEnrollmentLimitConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentLimitConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceEnrollmentLimitConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentLimitConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceEnrollmentLimitConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequestBuilder.java deleted file mode 100644 index af16d00879f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentLimitConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentLimitConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentLimitConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Limit Configuration Request Builder. - */ -public class BaseDeviceEnrollmentLimitConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseDeviceEnrollmentLimitConfigurationRequestBuilder { - - /** - * The request builder for the DeviceEnrollmentLimitConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentLimitConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceEnrollmentLimitConfigurationRequest instance - */ - public IDeviceEnrollmentLimitConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentLimitConfigurationRequest instance - */ - public IDeviceEnrollmentLimitConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new DeviceEnrollmentLimitConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java deleted file mode 100644 index ce294c15920..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentPlatformRestrictionsConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentPlatformRestrictionsConfigurationRequest; -import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestrictionsConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Platform Restrictions Configuration Request. - */ -public class BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest extends BaseRequest implements IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest { - - /** - * The request for the DeviceEnrollmentPlatformRestrictionsConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service - * - * @return the DeviceEnrollmentPlatformRestrictionsConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentPlatformRestrictionsConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source - * - * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentPlatformRestrictionsConfiguration); - } - - /** - * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source - * - * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates - * @return the updated DeviceEnrollmentPlatformRestrictionsConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentPlatformRestrictionsConfiguration patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceEnrollmentPlatformRestrictionsConfiguration); - } - - /** - * Creates a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object - * - * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceEnrollmentPlatformRestrictionsConfiguration); - } - - /** - * Creates a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object - * - * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create - * @return the created DeviceEnrollmentPlatformRestrictionsConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentPlatformRestrictionsConfiguration post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException { - return send(HttpMethod.POST, newDeviceEnrollmentPlatformRestrictionsConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceEnrollmentPlatformRestrictionsConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceEnrollmentPlatformRestrictionsConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java deleted file mode 100644 index 64581b6d688..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentPlatformRestrictionsConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentPlatformRestrictionsConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Platform Restrictions Configuration Request Builder. - */ -public class BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder { - - /** - * The request builder for the DeviceEnrollmentPlatformRestrictionsConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance - */ - public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance - */ - public IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new DeviceEnrollmentPlatformRestrictionsConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java deleted file mode 100644 index c2bc382ba23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; -import com.microsoft.graph.models.extensions.DeviceEnrollmentWindowsHelloForBusinessConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Windows Hello For Business Configuration Request. - */ -public class BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends BaseRequest implements IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest { - - /** - * The request for the DeviceEnrollmentWindowsHelloForBusinessConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service - * - * @return the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentWindowsHelloForBusinessConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source - * - * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration); - } - - /** - * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source - * - * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates - * @return the updated DeviceEnrollmentWindowsHelloForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentWindowsHelloForBusinessConfiguration patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration); - } - - /** - * Creates a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object - * - * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); - } - - /** - * Creates a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object - * - * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create - * @return the created DeviceEnrollmentWindowsHelloForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceEnrollmentWindowsHelloForBusinessConfiguration post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException { - return send(HttpMethod.POST, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java deleted file mode 100644 index f4de7552919..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Enrollment Windows Hello For Business Configuration Request Builder. - */ -public class BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder { - - /** - * The request builder for the DeviceEnrollmentWindowsHelloForBusinessConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance - */ - public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance - */ - public IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionPage.java deleted file mode 100644 index a41849e0170..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceInstallState; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State Collection Page. - */ -public class BaseDeviceInstallStateCollectionPage extends BaseCollectionPage implements IBaseDeviceInstallStateCollectionPage { - - /** - * A collection page for DeviceInstallState - * - * @param response the serialized BaseDeviceInstallStateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceInstallStateCollectionPage(final BaseDeviceInstallStateCollectionResponse response, final IDeviceInstallStateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequest.java deleted file mode 100644 index 13ddca60c08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State Collection Request. - */ -public class BaseDeviceInstallStateCollectionRequest extends BaseCollectionRequest implements IBaseDeviceInstallStateCollectionRequest { - - /** - * The request builder for this collection of DeviceInstallState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceInstallStateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceInstallStateCollectionResponse.class, IDeviceInstallStateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceInstallStateCollectionPage get() throws ClientException { - final BaseDeviceInstallStateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceInstallState newDeviceInstallState, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceInstallStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceInstallState, callback); - } - - public DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceInstallStateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceInstallState); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceInstallStateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceInstallStateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceInstallStateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceInstallStateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceInstallStateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceInstallStateCollectionRequest)this; - } - - public IDeviceInstallStateCollectionPage buildFromResponse(final BaseDeviceInstallStateCollectionResponse response) { - final IDeviceInstallStateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceInstallStateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceInstallStateCollectionPage page = new DeviceInstallStateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequestBuilder.java deleted file mode 100644 index b453eb6fd51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State Collection Request Builder. - */ -public class BaseDeviceInstallStateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceInstallStateCollectionRequestBuilder { - - /** - * The request builder for this collection of UserInstallStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceInstallStateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceInstallStateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceInstallStateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceInstallStateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceInstallStateRequestBuilder byId(final String id) { - return new DeviceInstallStateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionResponse.java deleted file mode 100644 index e16bb44e4be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceInstallState; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State Collection Response. - */ -public class BaseDeviceInstallStateCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceInstallState within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequest.java deleted file mode 100644 index 8312e0d10b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequest; -import com.microsoft.graph.requests.extensions.DeviceInstallStateRequest; -import com.microsoft.graph.models.extensions.DeviceInstallState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State Request. - */ -public class BaseDeviceInstallStateRequest extends BaseRequest implements IBaseDeviceInstallStateRequest { - - /** - * The request for the DeviceInstallState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceInstallStateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceInstallState from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceInstallState from the service - * - * @return the DeviceInstallState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceInstallState get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceInstallState with a source - * - * @param sourceDeviceInstallState the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceInstallState sourceDeviceInstallState, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceInstallState); - } - - /** - * Patches this DeviceInstallState with a source - * - * @param sourceDeviceInstallState the source object with updates - * @return the updated DeviceInstallState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceInstallState patch(final DeviceInstallState sourceDeviceInstallState) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceInstallState); - } - - /** - * Creates a DeviceInstallState with a new object - * - * @param newDeviceInstallState the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceInstallState newDeviceInstallState, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceInstallState); - } - - /** - * Creates a DeviceInstallState with a new object - * - * @param newDeviceInstallState the new object to create - * @return the created DeviceInstallState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException { - return send(HttpMethod.POST, newDeviceInstallState); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceInstallStateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceInstallStateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceInstallStateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceInstallStateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequestBuilder.java deleted file mode 100644 index 91f7c741e3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceInstallStateRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequest; -import com.microsoft.graph.requests.extensions.DeviceInstallStateRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Install State Request Builder. - */ -public class BaseDeviceInstallStateRequestBuilder extends BaseRequestBuilder implements IBaseDeviceInstallStateRequestBuilder { - - /** - * The request builder for the DeviceInstallState - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceInstallStateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceInstallStateRequest instance - */ - public IDeviceInstallStateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceInstallStateRequest instance - */ - public IDeviceInstallStateRequest buildRequest(final java.util.List requestOptions) { - return new DeviceInstallStateRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionPage.java deleted file mode 100644 index 0949e39e07e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Collection Page. - */ -public class BaseDeviceManagementExchangeConnectorCollectionPage extends BaseCollectionPage implements IBaseDeviceManagementExchangeConnectorCollectionPage { - - /** - * A collection page for DeviceManagementExchangeConnector - * - * @param response the serialized BaseDeviceManagementExchangeConnectorCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceManagementExchangeConnectorCollectionPage(final BaseDeviceManagementExchangeConnectorCollectionResponse response, final IDeviceManagementExchangeConnectorCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequest.java deleted file mode 100644 index 06fff2b204e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Collection Request. - */ -public class BaseDeviceManagementExchangeConnectorCollectionRequest extends BaseCollectionRequest implements IBaseDeviceManagementExchangeConnectorCollectionRequest { - - /** - * The request builder for this collection of DeviceManagementExchangeConnector - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementExchangeConnectorCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceManagementExchangeConnectorCollectionResponse.class, IDeviceManagementExchangeConnectorCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceManagementExchangeConnectorCollectionPage get() throws ClientException { - final BaseDeviceManagementExchangeConnectorCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceManagementExchangeConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceManagementExchangeConnector, callback); - } - - public DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceManagementExchangeConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceManagementExchangeConnector); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementExchangeConnectorCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceManagementExchangeConnectorCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementExchangeConnectorCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceManagementExchangeConnectorCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceManagementExchangeConnectorCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceManagementExchangeConnectorCollectionRequest)this; - } - - public IDeviceManagementExchangeConnectorCollectionPage buildFromResponse(final BaseDeviceManagementExchangeConnectorCollectionResponse response) { - final IDeviceManagementExchangeConnectorCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceManagementExchangeConnectorCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceManagementExchangeConnectorCollectionPage page = new DeviceManagementExchangeConnectorCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java deleted file mode 100644 index 25337368500..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Collection Request Builder. - */ -public class BaseDeviceManagementExchangeConnectorCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementExchangeConnectorCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceManagementExchangeConnectorCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceManagementExchangeConnectorCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementExchangeConnectorCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceManagementExchangeConnectorRequestBuilder byId(final String id) { - return new DeviceManagementExchangeConnectorRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionResponse.java deleted file mode 100644 index 4fe31ac26a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Collection Response. - */ -public class BaseDeviceManagementExchangeConnectorCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceManagementExchangeConnector within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequest.java deleted file mode 100644 index eec534deea5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorRequest; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Request. - */ -public class BaseDeviceManagementExchangeConnectorRequest extends BaseRequest implements IBaseDeviceManagementExchangeConnectorRequest { - - /** - * The request for the DeviceManagementExchangeConnector - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceManagementExchangeConnectorRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceManagementExchangeConnector from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceManagementExchangeConnector from the service - * - * @return the DeviceManagementExchangeConnector from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementExchangeConnector get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceManagementExchangeConnector with a source - * - * @param sourceDeviceManagementExchangeConnector the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceManagementExchangeConnector); - } - - /** - * Patches this DeviceManagementExchangeConnector with a source - * - * @param sourceDeviceManagementExchangeConnector the source object with updates - * @return the updated DeviceManagementExchangeConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementExchangeConnector patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceManagementExchangeConnector); - } - - /** - * Creates a DeviceManagementExchangeConnector with a new object - * - * @param newDeviceManagementExchangeConnector the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceManagementExchangeConnector); - } - - /** - * Creates a DeviceManagementExchangeConnector with a new object - * - * @param newDeviceManagementExchangeConnector the new object to create - * @return the created DeviceManagementExchangeConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException { - return send(HttpMethod.POST, newDeviceManagementExchangeConnector); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementExchangeConnectorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceManagementExchangeConnectorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementExchangeConnectorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceManagementExchangeConnectorRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequestBuilder.java deleted file mode 100644 index 15e65d652f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorRequest; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorSyncRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Request Builder. - */ -public class BaseDeviceManagementExchangeConnectorRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementExchangeConnectorRequestBuilder { - - /** - * The request builder for the DeviceManagementExchangeConnector - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementExchangeConnectorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceManagementExchangeConnectorRequest instance - */ - public IDeviceManagementExchangeConnectorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceManagementExchangeConnectorRequest instance - */ - public IDeviceManagementExchangeConnectorRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementExchangeConnectorRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IDeviceManagementExchangeConnectorSyncRequestBuilder sync(final DeviceManagementExchangeConnectorSyncType syncType) { - return new DeviceManagementExchangeConnectorSyncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sync"), getClient(), null, syncType); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequest.java deleted file mode 100644 index 4d5752903aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnectorSyncBody; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorSyncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Sync Request. - */ -public class BaseDeviceManagementExchangeConnectorSyncRequest extends BaseRequest implements IBaseDeviceManagementExchangeConnectorSyncRequest { - protected final DeviceManagementExchangeConnectorSyncBody body; - - /** - * The request for this DeviceManagementExchangeConnectorSync - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementExchangeConnectorSyncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new DeviceManagementExchangeConnectorSyncBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementExchangeConnectorSyncRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceManagementExchangeConnectorSyncRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceManagementExchangeConnectorSyncRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DeviceManagementExchangeConnectorSyncRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementExchangeConnectorSyncRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceManagementExchangeConnectorSyncRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequestBuilder.java deleted file mode 100644 index 81435a8859b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementExchangeConnectorSyncRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorSyncRequest; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Exchange Connector Sync Request Builder. - */ -public class BaseDeviceManagementExchangeConnectorSyncRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DeviceManagementExchangeConnectorSync - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param syncType the syncType - */ - public BaseDeviceManagementExchangeConnectorSyncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final DeviceManagementExchangeConnectorSyncType syncType) { - super(requestUrl, client, requestOptions); - bodyParams.put("syncType", syncType); - } - - /** - * Creates the IDeviceManagementExchangeConnectorSyncRequest - * - * @return the IDeviceManagementExchangeConnectorSyncRequest instance - */ - public IDeviceManagementExchangeConnectorSyncRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDeviceManagementExchangeConnectorSyncRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDeviceManagementExchangeConnectorSyncRequest instance - */ - public IDeviceManagementExchangeConnectorSyncRequest buildRequest(final java.util.List requestOptions) { - DeviceManagementExchangeConnectorSyncRequest request = new DeviceManagementExchangeConnectorSyncRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("syncType")) { - request.body.syncType = getParameter("syncType"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionPage.java deleted file mode 100644 index 9293fe951b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Get Effective Permissions Collection Page. - */ -public class BaseDeviceManagementGetEffectivePermissionsCollectionPage extends BaseCollectionPage implements IBaseDeviceManagementGetEffectivePermissionsCollectionPage { - - /** - * A collection page for DeviceManagementGetEffectivePermissions. - * - * @param response The serialized BaseDeviceManagementGetEffectivePermissionsCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDeviceManagementGetEffectivePermissionsCollectionPage(final BaseDeviceManagementGetEffectivePermissionsCollectionResponse response, final IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequest.java deleted file mode 100644 index 9ba2d9f1dda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Get Effective Permissions Collection Request. - */ -public class BaseDeviceManagementGetEffectivePermissionsCollectionRequest extends BaseCollectionRequest implements IBaseDeviceManagementGetEffectivePermissionsCollectionRequest { - - - /** - * The request for this DeviceManagementGetEffectivePermissions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementGetEffectivePermissionsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceManagementGetEffectivePermissionsCollectionResponse.class, IDeviceManagementGetEffectivePermissionsCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceManagementGetEffectivePermissionsCollectionPage get() throws ClientException { - final BaseDeviceManagementGetEffectivePermissionsCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDeviceManagementGetEffectivePermissionsCollectionPage buildFromResponse(final BaseDeviceManagementGetEffectivePermissionsCollectionResponse response) { - final IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceManagementGetEffectivePermissionsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* scope */ null); - } else { - builder = null; - } - final IDeviceManagementGetEffectivePermissionsCollectionPage page = new DeviceManagementGetEffectivePermissionsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementGetEffectivePermissionsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDeviceManagementGetEffectivePermissionsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceManagementGetEffectivePermissionsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDeviceManagementGetEffectivePermissionsCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementGetEffectivePermissionsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDeviceManagementGetEffectivePermissionsCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java deleted file mode 100644 index bafdcc60e05..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Get Effective Permissions Collection Request Builder. - */ -public class BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param scope the scope - */ - public BaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String scope) { - super(requestUrl, client, requestOptions); - if(scope!=null){ - functionOptions.add(new FunctionOption("scope", scope)); - } - } - - public IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest(final java.util.List requestOptions) { - DeviceManagementGetEffectivePermissionsCollectionRequest request = new DeviceManagementGetEffectivePermissionsCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionResponse.java deleted file mode 100644 index b8ec3a7fe12..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementGetEffectivePermissionsCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Get Effective Permissions Collection Response. - */ -public class BaseDeviceManagementGetEffectivePermissionsCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionPage.java deleted file mode 100644 index 72976d96029..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner Collection Page. - */ -public class BaseDeviceManagementPartnerCollectionPage extends BaseCollectionPage implements IBaseDeviceManagementPartnerCollectionPage { - - /** - * A collection page for DeviceManagementPartner - * - * @param response the serialized BaseDeviceManagementPartnerCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceManagementPartnerCollectionPage(final BaseDeviceManagementPartnerCollectionResponse response, final IDeviceManagementPartnerCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequest.java deleted file mode 100644 index 4294dd149ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner Collection Request. - */ -public class BaseDeviceManagementPartnerCollectionRequest extends BaseCollectionRequest implements IBaseDeviceManagementPartnerCollectionRequest { - - /** - * The request builder for this collection of DeviceManagementPartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementPartnerCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceManagementPartnerCollectionResponse.class, IDeviceManagementPartnerCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceManagementPartnerCollectionPage get() throws ClientException { - final BaseDeviceManagementPartnerCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceManagementPartner, callback); - } - - public DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceManagementPartner); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementPartnerCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceManagementPartnerCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementPartnerCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceManagementPartnerCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceManagementPartnerCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceManagementPartnerCollectionRequest)this; - } - - public IDeviceManagementPartnerCollectionPage buildFromResponse(final BaseDeviceManagementPartnerCollectionResponse response) { - final IDeviceManagementPartnerCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceManagementPartnerCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceManagementPartnerCollectionPage page = new DeviceManagementPartnerCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequestBuilder.java deleted file mode 100644 index 13b1b11720e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner Collection Request Builder. - */ -public class BaseDeviceManagementPartnerCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementPartnerCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementPartnerCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceManagementPartnerCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementPartnerCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceManagementPartnerRequestBuilder byId(final String id) { - return new DeviceManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionResponse.java deleted file mode 100644 index 47e0d9ee360..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner Collection Response. - */ -public class BaseDeviceManagementPartnerCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceManagementPartner within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequest.java deleted file mode 100644 index 12a5d286ea4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerRequest; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner Request. - */ -public class BaseDeviceManagementPartnerRequest extends BaseRequest implements IBaseDeviceManagementPartnerRequest { - - /** - * The request for the DeviceManagementPartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceManagementPartnerRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceManagementPartner from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceManagementPartner from the service - * - * @return the DeviceManagementPartner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementPartner get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceManagementPartner with a source - * - * @param sourceDeviceManagementPartner the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceManagementPartner sourceDeviceManagementPartner, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceManagementPartner); - } - - /** - * Patches this DeviceManagementPartner with a source - * - * @param sourceDeviceManagementPartner the source object with updates - * @return the updated DeviceManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementPartner patch(final DeviceManagementPartner sourceDeviceManagementPartner) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceManagementPartner); - } - - /** - * Creates a DeviceManagementPartner with a new object - * - * @param newDeviceManagementPartner the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceManagementPartner); - } - - /** - * Creates a DeviceManagementPartner with a new object - * - * @param newDeviceManagementPartner the new object to create - * @return the created DeviceManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException { - return send(HttpMethod.POST, newDeviceManagementPartner); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementPartnerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceManagementPartnerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementPartnerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceManagementPartnerRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequestBuilder.java deleted file mode 100644 index 37af4d6d9ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementPartnerRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Partner Request Builder. - */ -public class BaseDeviceManagementPartnerRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementPartnerRequestBuilder { - - /** - * The request builder for the DeviceManagementPartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementPartnerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceManagementPartnerRequest instance - */ - public IDeviceManagementPartnerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceManagementPartnerRequest instance - */ - public IDeviceManagementPartnerRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementPartnerRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequest.java deleted file mode 100644 index 6b79dc60690..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementRequest; -import com.microsoft.graph.models.extensions.DeviceManagement; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Request. - */ -public class BaseDeviceManagementRequest extends BaseRequest implements IBaseDeviceManagementRequest { - - /** - * The request for the DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceManagementRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceManagement from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceManagement from the service - * - * @return the DeviceManagement from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagement get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceManagement with a source - * - * @param sourceDeviceManagement the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceManagement sourceDeviceManagement, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceManagement); - } - - /** - * Patches this DeviceManagement with a source - * - * @param sourceDeviceManagement the source object with updates - * @return the updated DeviceManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagement patch(final DeviceManagement sourceDeviceManagement) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceManagement); - } - - /** - * Creates a DeviceManagement with a new object - * - * @param newDeviceManagement the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceManagement newDeviceManagement, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceManagement); - } - - /** - * Creates a DeviceManagement with a new object - * - * @param newDeviceManagement the new object to create - * @return the created DeviceManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagement post(final DeviceManagement newDeviceManagement) throws ClientException { - return send(HttpMethod.POST, newDeviceManagement); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceManagementRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceManagementRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequestBuilder.java deleted file mode 100644 index 0595e42c6c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementRequestBuilder.java +++ /dev/null @@ -1,361 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementRequest; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsRequestBuilder; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequestBuilder; -import com.microsoft.graph.requests.extensions.ApplePushNotificationCertificateRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceOverviewWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDetectedAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DetectedAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDetectedAppRequestBuilder; -import com.microsoft.graph.requests.extensions.DetectedAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.SoftwareUpdateStatusSummaryWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyDeviceStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequestBuilder; -import com.microsoft.graph.requests.extensions.OnPremisesConditionalAccessSettingsRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.IRoleDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IRoleDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.RoleDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ResourceOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceOperationRequestBuilder; -import com.microsoft.graph.requests.extensions.ResourceOperationRequestBuilder; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementGetEffectivePermissionsCollectionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Request Builder. - */ -public class BaseDeviceManagementRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementRequestBuilder { - - /** - * The request builder for the DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceManagementRequest instance - */ - public IDeviceManagementRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceManagementRequest instance - */ - public IDeviceManagementRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITermsAndConditionsCollectionRequestBuilder termsAndConditions() { - return new TermsAndConditionsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("termsAndConditions"), getClient(), null); - } - - public ITermsAndConditionsRequestBuilder termsAndConditions(final String id) { - return new TermsAndConditionsRequestBuilder(getRequestUrlWithAdditionalSegment("termsAndConditions") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ApplePushNotificationCertificate - * - * @return the IApplePushNotificationCertificateRequestBuilder instance - */ - public IApplePushNotificationCertificateRequestBuilder applePushNotificationCertificate() { - return new ApplePushNotificationCertificateRequestBuilder(getRequestUrlWithAdditionalSegment("applePushNotificationCertificate"), getClient(), null); - } - - /** - * Gets the request builder for ManagedDeviceOverview - * - * @return the IManagedDeviceOverviewWithReferenceRequestBuilder instance - */ - public IManagedDeviceOverviewWithReferenceRequestBuilder managedDeviceOverview() { - return new ManagedDeviceOverviewWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDeviceOverview"), getClient(), null); - } - public IDetectedAppCollectionRequestBuilder detectedApps() { - return new DetectedAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("detectedApps"), getClient(), null); - } - - public IDetectedAppRequestBuilder detectedApps(final String id) { - return new DetectedAppRequestBuilder(getRequestUrlWithAdditionalSegment("detectedApps") + "/" + id, getClient(), null); - } - public IManagedDeviceCollectionRequestBuilder managedDevices() { - return new ManagedDeviceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices"), getClient(), null); - } - - public IManagedDeviceRequestBuilder managedDevices(final String id) { - return new ManagedDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices") + "/" + id, getClient(), null); - } - public IDeviceConfigurationCollectionRequestBuilder deviceConfigurations() { - return new DeviceConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurations"), getClient(), null); - } - - public IDeviceConfigurationRequestBuilder deviceConfigurations(final String id) { - return new DeviceConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurations") + "/" + id, getClient(), null); - } - public IDeviceCompliancePolicyCollectionRequestBuilder deviceCompliancePolicies() { - return new DeviceCompliancePolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicies"), getClient(), null); - } - - public IDeviceCompliancePolicyRequestBuilder deviceCompliancePolicies(final String id) { - return new DeviceCompliancePolicyRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicies") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for SoftwareUpdateStatusSummary - * - * @return the ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder instance - */ - public ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder softwareUpdateStatusSummary() { - return new SoftwareUpdateStatusSummaryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("softwareUpdateStatusSummary"), getClient(), null); - } - - /** - * Gets the request builder for DeviceCompliancePolicyDeviceStateSummary - * - * @return the IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder instance - */ - public IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder deviceCompliancePolicyDeviceStateSummary() { - return new DeviceCompliancePolicyDeviceStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicyDeviceStateSummary"), getClient(), null); - } - public IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder deviceCompliancePolicySettingStateSummaries() { - return new DeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicySettingStateSummaries"), getClient(), null); - } - - public IDeviceCompliancePolicySettingStateSummaryRequestBuilder deviceCompliancePolicySettingStateSummaries(final String id) { - return new DeviceCompliancePolicySettingStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicySettingStateSummaries") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for DeviceConfigurationDeviceStateSummary - * - * @return the IDeviceConfigurationDeviceStateSummaryRequestBuilder instance - */ - public IDeviceConfigurationDeviceStateSummaryRequestBuilder deviceConfigurationDeviceStateSummaries() { - return new DeviceConfigurationDeviceStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurationDeviceStateSummaries"), getClient(), null); - } - public IIosUpdateDeviceStatusCollectionRequestBuilder iosUpdateStatuses() { - return new IosUpdateDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("iosUpdateStatuses"), getClient(), null); - } - - public IIosUpdateDeviceStatusRequestBuilder iosUpdateStatuses(final String id) { - return new IosUpdateDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("iosUpdateStatuses") + "/" + id, getClient(), null); - } - public IDeviceCategoryCollectionRequestBuilder deviceCategories() { - return new DeviceCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCategories"), getClient(), null); - } - - public IDeviceCategoryRequestBuilder deviceCategories(final String id) { - return new DeviceCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCategories") + "/" + id, getClient(), null); - } - public IDeviceManagementExchangeConnectorCollectionRequestBuilder exchangeConnectors() { - return new DeviceManagementExchangeConnectorCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("exchangeConnectors"), getClient(), null); - } - - public IDeviceManagementExchangeConnectorRequestBuilder exchangeConnectors(final String id) { - return new DeviceManagementExchangeConnectorRequestBuilder(getRequestUrlWithAdditionalSegment("exchangeConnectors") + "/" + id, getClient(), null); - } - public IDeviceEnrollmentConfigurationCollectionRequestBuilder deviceEnrollmentConfigurations() { - return new DeviceEnrollmentConfigurationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceEnrollmentConfigurations"), getClient(), null); - } - - public IDeviceEnrollmentConfigurationRequestBuilder deviceEnrollmentConfigurations(final String id) { - return new DeviceEnrollmentConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment("deviceEnrollmentConfigurations") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for OnPremisesConditionalAccessSettings - * - * @return the IOnPremisesConditionalAccessSettingsRequestBuilder instance - */ - public IOnPremisesConditionalAccessSettingsRequestBuilder conditionalAccessSettings() { - return new OnPremisesConditionalAccessSettingsRequestBuilder(getRequestUrlWithAdditionalSegment("conditionalAccessSettings"), getClient(), null); - } - public IMobileThreatDefenseConnectorCollectionRequestBuilder mobileThreatDefenseConnectors() { - return new MobileThreatDefenseConnectorCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mobileThreatDefenseConnectors"), getClient(), null); - } - - public IMobileThreatDefenseConnectorRequestBuilder mobileThreatDefenseConnectors(final String id) { - return new MobileThreatDefenseConnectorRequestBuilder(getRequestUrlWithAdditionalSegment("mobileThreatDefenseConnectors") + "/" + id, getClient(), null); - } - public IDeviceManagementPartnerCollectionRequestBuilder deviceManagementPartners() { - return new DeviceManagementPartnerCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementPartners"), getClient(), null); - } - - public IDeviceManagementPartnerRequestBuilder deviceManagementPartners(final String id) { - return new DeviceManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementPartners") + "/" + id, getClient(), null); - } - public INotificationMessageTemplateCollectionRequestBuilder notificationMessageTemplates() { - return new NotificationMessageTemplateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("notificationMessageTemplates"), getClient(), null); - } - - public INotificationMessageTemplateRequestBuilder notificationMessageTemplates(final String id) { - return new NotificationMessageTemplateRequestBuilder(getRequestUrlWithAdditionalSegment("notificationMessageTemplates") + "/" + id, getClient(), null); - } - public IRoleDefinitionCollectionRequestBuilder roleDefinitions() { - return new RoleDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("roleDefinitions"), getClient(), null); - } - - public IRoleDefinitionRequestBuilder roleDefinitions(final String id) { - return new RoleDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("roleDefinitions") + "/" + id, getClient(), null); - } - public IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder roleAssignments() { - return new DeviceAndAppManagementRoleAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments"), getClient(), null); - } - - public IDeviceAndAppManagementRoleAssignmentRequestBuilder roleAssignments(final String id) { - return new DeviceAndAppManagementRoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments") + "/" + id, getClient(), null); - } - public IResourceOperationCollectionRequestBuilder resourceOperations() { - return new ResourceOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("resourceOperations"), getClient(), null); - } - - public IResourceOperationRequestBuilder resourceOperations(final String id) { - return new ResourceOperationRequestBuilder(getRequestUrlWithAdditionalSegment("resourceOperations") + "/" + id, getClient(), null); - } - public ITelecomExpenseManagementPartnerCollectionRequestBuilder telecomExpenseManagementPartners() { - return new TelecomExpenseManagementPartnerCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("telecomExpenseManagementPartners"), getClient(), null); - } - - public ITelecomExpenseManagementPartnerRequestBuilder telecomExpenseManagementPartners(final String id) { - return new TelecomExpenseManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment("telecomExpenseManagementPartners") + "/" + id, getClient(), null); - } - public IRemoteAssistancePartnerCollectionRequestBuilder remoteAssistancePartners() { - return new RemoteAssistancePartnerCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("remoteAssistancePartners"), getClient(), null); - } - - public IRemoteAssistancePartnerRequestBuilder remoteAssistancePartners(final String id) { - return new RemoteAssistancePartnerRequestBuilder(getRequestUrlWithAdditionalSegment("remoteAssistancePartners") + "/" + id, getClient(), null); - } - public IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder windowsInformationProtectionAppLearningSummaries() { - return new WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionAppLearningSummaries"), getClient(), null); - } - - public IWindowsInformationProtectionAppLearningSummaryRequestBuilder windowsInformationProtectionAppLearningSummaries(final String id) { - return new WindowsInformationProtectionAppLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionAppLearningSummaries") + "/" + id, getClient(), null); - } - public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder windowsInformationProtectionNetworkLearningSummaries() { - return new WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionNetworkLearningSummaries"), getClient(), null); - } - - public IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder windowsInformationProtectionNetworkLearningSummaries(final String id) { - return new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("windowsInformationProtectionNetworkLearningSummaries") + "/" + id, getClient(), null); - } - public IDeviceManagementTroubleshootingEventCollectionRequestBuilder troubleshootingEvents() { - return new DeviceManagementTroubleshootingEventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("troubleshootingEvents"), getClient(), null); - } - - public IDeviceManagementTroubleshootingEventRequestBuilder troubleshootingEvents(final String id) { - return new DeviceManagementTroubleshootingEventRequestBuilder(getRequestUrlWithAdditionalSegment("troubleshootingEvents") + "/" + id, getClient(), null); - } - - public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder verifyWindowsEnrollmentAutoDiscovery(final String domainName) { - return new DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.verifyWindowsEnrollmentAutoDiscovery"), getClient(), null, domainName); - } - - public IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder getEffectivePermissions(final String scope) { - return new DeviceManagementGetEffectivePermissionsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEffectivePermissions"), getClient(), null, scope); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionPage.java deleted file mode 100644 index 3ec2e535676..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event Collection Page. - */ -public class BaseDeviceManagementTroubleshootingEventCollectionPage extends BaseCollectionPage implements IBaseDeviceManagementTroubleshootingEventCollectionPage { - - /** - * A collection page for DeviceManagementTroubleshootingEvent - * - * @param response the serialized BaseDeviceManagementTroubleshootingEventCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDeviceManagementTroubleshootingEventCollectionPage(final BaseDeviceManagementTroubleshootingEventCollectionResponse response, final IDeviceManagementTroubleshootingEventCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequest.java deleted file mode 100644 index 49fd8276b68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event Collection Request. - */ -public class BaseDeviceManagementTroubleshootingEventCollectionRequest extends BaseCollectionRequest implements IBaseDeviceManagementTroubleshootingEventCollectionRequest { - - /** - * The request builder for this collection of DeviceManagementTroubleshootingEvent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementTroubleshootingEventCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDeviceManagementTroubleshootingEventCollectionResponse.class, IDeviceManagementTroubleshootingEventCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDeviceManagementTroubleshootingEventCollectionPage get() throws ClientException { - final BaseDeviceManagementTroubleshootingEventCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DeviceManagementTroubleshootingEventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceManagementTroubleshootingEvent, callback); - } - - public DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DeviceManagementTroubleshootingEventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDeviceManagementTroubleshootingEvent); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementTroubleshootingEventCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DeviceManagementTroubleshootingEventCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementTroubleshootingEventCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DeviceManagementTroubleshootingEventCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDeviceManagementTroubleshootingEventCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DeviceManagementTroubleshootingEventCollectionRequest)this; - } - - public IDeviceManagementTroubleshootingEventCollectionPage buildFromResponse(final BaseDeviceManagementTroubleshootingEventCollectionResponse response) { - final IDeviceManagementTroubleshootingEventCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DeviceManagementTroubleshootingEventCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DeviceManagementTroubleshootingEventCollectionPage page = new DeviceManagementTroubleshootingEventCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java deleted file mode 100644 index e8a209d7394..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event Collection Request Builder. - */ -public class BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementTroubleshootingEventCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDeviceManagementTroubleshootingEventCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDeviceManagementTroubleshootingEventCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementTroubleshootingEventCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceManagementTroubleshootingEventRequestBuilder byId(final String id) { - return new DeviceManagementTroubleshootingEventRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionResponse.java deleted file mode 100644 index 646ee238e77..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event Collection Response. - */ -public class BaseDeviceManagementTroubleshootingEventCollectionResponse implements IJsonBackedObject { - - /** - * The list of DeviceManagementTroubleshootingEvent within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequest.java deleted file mode 100644 index b0e8dfa93d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequest; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event Request. - */ -public class BaseDeviceManagementTroubleshootingEventRequest extends BaseRequest implements IBaseDeviceManagementTroubleshootingEventRequest { - - /** - * The request for the DeviceManagementTroubleshootingEvent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceManagementTroubleshootingEventRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DeviceManagementTroubleshootingEvent from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DeviceManagementTroubleshootingEvent from the service - * - * @return the DeviceManagementTroubleshootingEvent from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementTroubleshootingEvent get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DeviceManagementTroubleshootingEvent with a source - * - * @param sourceDeviceManagementTroubleshootingEvent the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDeviceManagementTroubleshootingEvent); - } - - /** - * Patches this DeviceManagementTroubleshootingEvent with a source - * - * @param sourceDeviceManagementTroubleshootingEvent the source object with updates - * @return the updated DeviceManagementTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementTroubleshootingEvent patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent) throws ClientException { - return send(HttpMethod.PATCH, sourceDeviceManagementTroubleshootingEvent); - } - - /** - * Creates a DeviceManagementTroubleshootingEvent with a new object - * - * @param newDeviceManagementTroubleshootingEvent the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback) { - send(HttpMethod.POST, callback, newDeviceManagementTroubleshootingEvent); - } - - /** - * Creates a DeviceManagementTroubleshootingEvent with a new object - * - * @param newDeviceManagementTroubleshootingEvent the new object to create - * @return the created DeviceManagementTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException { - return send(HttpMethod.POST, newDeviceManagementTroubleshootingEvent); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementTroubleshootingEventRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceManagementTroubleshootingEventRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementTroubleshootingEventRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceManagementTroubleshootingEventRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequestBuilder.java deleted file mode 100644 index c1b0524b54b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementTroubleshootingEventRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Troubleshooting Event Request Builder. - */ -public class BaseDeviceManagementTroubleshootingEventRequestBuilder extends BaseRequestBuilder implements IBaseDeviceManagementTroubleshootingEventRequestBuilder { - - /** - * The request builder for the DeviceManagementTroubleshootingEvent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementTroubleshootingEventRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceManagementTroubleshootingEventRequest instance - */ - public IDeviceManagementTroubleshootingEventRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceManagementTroubleshootingEventRequest instance - */ - public IDeviceManagementTroubleshootingEventRequest buildRequest(final java.util.List requestOptions) { - return new DeviceManagementTroubleshootingEventRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java deleted file mode 100644 index a7976c656a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Verify Windows Enrollment Auto Discovery Request. - */ -public class BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest extends BaseRequest implements IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest { - - /** - * The request for this DeviceManagementVerifyWindowsEnrollmentAutoDiscovery - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Boolean.class); - } - - /** - * Gets the Boolean - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Boolean - * - * @return the Boolean - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Boolean get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java deleted file mode 100644 index 1e56674ec3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; -import com.microsoft.graph.requests.extensions.DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Management Verify Windows Enrollment Auto Discovery Request Builder. - */ -public class BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this DeviceManagementVerifyWindowsEnrollmentAutoDiscovery - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param domainName the domainName - */ - public BaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String domainName) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("domainName", domainName)); - } - - /** - * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest - * - * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance - */ - public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance - */ - public IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest(final java.util.List requestOptions) { - DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest request = new DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequest.java deleted file mode 100644 index 52c0218852e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceRequest; -import com.microsoft.graph.requests.extensions.DeviceRequest; -import com.microsoft.graph.models.extensions.Device; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Request. - */ -public class BaseDeviceRequest extends BaseRequest implements IBaseDeviceRequest { - - /** - * The request for the Device - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDeviceRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Device from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Device from the service - * - * @return the Device from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Device get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Device with a source - * - * @param sourceDevice the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Device sourceDevice, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDevice); - } - - /** - * Patches this Device with a source - * - * @param sourceDevice the source object with updates - * @return the updated Device - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Device patch(final Device sourceDevice) throws ClientException { - return send(HttpMethod.PATCH, sourceDevice); - } - - /** - * Creates a Device with a new object - * - * @param newDevice the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Device newDevice, final ICallback callback) { - send(HttpMethod.POST, callback, newDevice); - } - - /** - * Creates a Device with a new object - * - * @param newDevice the new object to create - * @return the created Device - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Device post(final Device newDevice) throws ClientException { - return send(HttpMethod.POST, newDevice); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDeviceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DeviceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDeviceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DeviceRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequestBuilder.java deleted file mode 100644 index 87a8666a9d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDeviceRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceRequest; -import com.microsoft.graph.requests.extensions.DeviceRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Device Request Builder. - */ -public class BaseDeviceRequestBuilder extends BaseRequestBuilder implements IBaseDeviceRequestBuilder { - - /** - * The request builder for the Device - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDeviceRequest instance - */ - public IDeviceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDeviceRequest instance - */ - public IDeviceRequest buildRequest(final java.util.List requestOptions) { - return new DeviceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder registeredOwners() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("registeredOwners"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder registeredOwners(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("registeredOwners") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder registeredUsers() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("registeredUsers"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder registeredUsers(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("registeredUsers") + "/" + id, getClient(), null); - } - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionPage.java deleted file mode 100644 index e48793e576a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Check Member Groups Collection Page. - */ -public class BaseDirectoryObjectCheckMemberGroupsCollectionPage extends BaseCollectionPage implements IBaseDirectoryObjectCheckMemberGroupsCollectionPage { - - /** - * A collection page for DirectoryObjectCheckMemberGroups. - * - * @param response The serialized BaseDirectoryObjectCheckMemberGroupsCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDirectoryObjectCheckMemberGroupsCollectionPage(final BaseDirectoryObjectCheckMemberGroupsCollectionResponse response, final IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequest.java deleted file mode 100644 index fa09dd1c128..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Check Member Groups Collection Request. - */ -public class BaseDirectoryObjectCheckMemberGroupsCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryObjectCheckMemberGroupsCollectionRequest { - - - protected final DirectoryObjectCheckMemberGroupsBody body; - - - /** - * The request for this DirectoryObjectCheckMemberGroups - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCheckMemberGroupsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectCheckMemberGroupsCollectionResponse.class, IDirectoryObjectCheckMemberGroupsCollectionPage.class); - body = new DirectoryObjectCheckMemberGroupsBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryObjectCheckMemberGroupsCollectionPage post() throws ClientException { - final BaseDirectoryObjectCheckMemberGroupsCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDirectoryObjectCheckMemberGroupsCollectionPage buildFromResponse(final BaseDirectoryObjectCheckMemberGroupsCollectionResponse response) { - final IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryObjectCheckMemberGroupsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* groupIds */ null); - } else { - builder = null; - } - final IDirectoryObjectCheckMemberGroupsCollectionPage page = new DirectoryObjectCheckMemberGroupsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectCheckMemberGroupsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDirectoryObjectCheckMemberGroupsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryObjectCheckMemberGroupsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDirectoryObjectCheckMemberGroupsCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectCheckMemberGroupsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDirectoryObjectCheckMemberGroupsCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java deleted file mode 100644 index f690411a26a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Check Member Groups Collection Request Builder. - */ -public class BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param groupIds the groupIds - */ - public BaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List groupIds) { - super(requestUrl, client, requestOptions); - if(groupIds!=null){ - bodyParams.put("groupIds", groupIds); - } - } - - public IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions) { - DirectoryObjectCheckMemberGroupsCollectionRequest request = new DirectoryObjectCheckMemberGroupsCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("groupIds")) { - request.body.groupIds = getParameter("groupIds"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionResponse.java deleted file mode 100644 index cc6abf6740f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCheckMemberGroupsCollectionResponse.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Check Member Groups Collection Response. - */ -public class BaseDirectoryObjectCheckMemberGroupsCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionPage.java deleted file mode 100644 index 25fc50b4c6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection Page. - */ -public class BaseDirectoryObjectCollectionPage extends BaseCollectionPage implements IBaseDirectoryObjectCollectionPage { - - /** - * A collection page for DirectoryObject - * - * @param response the serialized BaseDirectoryObjectCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDirectoryObjectCollectionPage(final BaseDirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequest.java deleted file mode 100644 index b089a2a5a19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection Reference Request. - */ -public class BaseDirectoryObjectCollectionReferenceRequest extends BaseCollectionRequest implements IBaseDirectoryObjectCollectionReferenceRequest { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectCollectionResponse.class, IDirectoryObjectCollectionPage.class); - } - - public void post(final DirectoryObject newDirectoryObject, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/directoryObjects/" + newDirectoryObject.id); - new DirectoryObjectWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryObject, body, callback); - } - - public DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/directoryObjects/" + newDirectoryObject.id); - return new DirectoryObjectWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryObject, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DirectoryObjectCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DirectoryObjectCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryObjectCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DirectoryObjectCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequestBuilder.java deleted file mode 100644 index 2d0a5e83f6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection Reference Request Builder. - */ -public class BaseDirectoryObjectCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryObjectCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDirectoryObjectCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryObjectCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequest.java deleted file mode 100644 index 84ee6828a99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection Request. - */ -public class BaseDirectoryObjectCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryObjectCollectionRequest { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectCollectionResponse.class, IDirectoryObjectCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryObjectCollectionPage get() throws ClientException { - final BaseDirectoryObjectCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DirectoryObject newDirectoryObject, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DirectoryObjectRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryObject, callback); - } - - public DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DirectoryObjectRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryObject); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DirectoryObjectCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DirectoryObjectCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryObjectCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DirectoryObjectCollectionRequest)this; - } - - public IDirectoryObjectCollectionPage buildFromResponse(final BaseDirectoryObjectCollectionResponse response) { - final IDirectoryObjectCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryObjectCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DirectoryObjectCollectionPage page = new DirectoryObjectCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequestBuilder.java deleted file mode 100644 index cf987591170..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection Request Builder. - */ -public class BaseDirectoryObjectCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryObjectCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDirectoryObjectCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryObjectCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectRequestBuilder byId(final String id) { - return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IDirectoryObjectGetByIdsCollectionRequestBuilder getByIds(final java.util.List ids, final java.util.List types) { - return new DirectoryObjectGetByIdsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getByIds"), getClient(), null, ids, types); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionResponse.java deleted file mode 100644 index cd72b02faa4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryObject; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection Response. - */ -public class BaseDirectoryObjectCollectionResponse implements IJsonBackedObject { - - /** - * The list of DirectoryObject within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesPage.java deleted file mode 100644 index 4a1a5529754..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection With References Page. - */ -public class BaseDirectoryObjectCollectionWithReferencesPage extends BaseCollectionPage implements IBaseDirectoryObjectCollectionWithReferencesPage { - - /** - * A collection page for DirectoryObject - * - * @param response the serialized BaseDirectoryObjectCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDirectoryObjectCollectionWithReferencesPage(final BaseDirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequest.java deleted file mode 100644 index d32d4fac71d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection With References Request. - */ -public class BaseDirectoryObjectCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseDirectoryObjectCollectionWithReferencesRequest { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectCollectionResponse.class, IDirectoryObjectCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryObjectCollectionWithReferencesPage get() throws ClientException { - final BaseDirectoryObjectCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IDirectoryObjectCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DirectoryObjectCollectionWithReferencesRequest)this; - } - - public IDirectoryObjectCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DirectoryObjectCollectionWithReferencesRequest)this; - } - - public IDirectoryObjectCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DirectoryObjectCollectionWithReferencesRequest)this; - } - - public IDirectoryObjectCollectionWithReferencesPage buildFromResponse(final BaseDirectoryObjectCollectionResponse response) { - final IDirectoryObjectCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryObjectCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DirectoryObjectCollectionWithReferencesPage page = new DirectoryObjectCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 0efe6310371..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Collection With References Request Builder. - */ -public class BaseDirectoryObjectCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryObjectCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDirectoryObjectCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryObjectCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectWithReferenceRequestBuilder byId(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IDirectoryObjectCollectionReferenceRequestBuilder references(){ - return new DirectoryObjectCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionPage.java deleted file mode 100644 index 999b9a3b548..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get By Ids Collection Page. - */ -public class BaseDirectoryObjectGetByIdsCollectionPage extends BaseCollectionPage implements IBaseDirectoryObjectGetByIdsCollectionPage { - - /** - * A collection page for DirectoryObjectGetByIds. - * - * @param response The serialized BaseDirectoryObjectGetByIdsCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDirectoryObjectGetByIdsCollectionPage(final BaseDirectoryObjectGetByIdsCollectionResponse response, final IDirectoryObjectGetByIdsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequest.java deleted file mode 100644 index c6368c34253..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get By Ids Collection Request. - */ -public class BaseDirectoryObjectGetByIdsCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryObjectGetByIdsCollectionRequest { - - - protected final DirectoryObjectGetByIdsBody body; - - - /** - * The request for this DirectoryObjectGetByIds - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectGetByIdsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectGetByIdsCollectionResponse.class, IDirectoryObjectGetByIdsCollectionPage.class); - body = new DirectoryObjectGetByIdsBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryObjectGetByIdsCollectionPage post() throws ClientException { - final BaseDirectoryObjectGetByIdsCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDirectoryObjectGetByIdsCollectionPage buildFromResponse(final BaseDirectoryObjectGetByIdsCollectionResponse response) { - final IDirectoryObjectGetByIdsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryObjectGetByIdsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* ids */ null, /* types */ null); - } else { - builder = null; - } - final IDirectoryObjectGetByIdsCollectionPage page = new DirectoryObjectGetByIdsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectGetByIdsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDirectoryObjectGetByIdsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryObjectGetByIdsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDirectoryObjectGetByIdsCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectGetByIdsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDirectoryObjectGetByIdsCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequestBuilder.java deleted file mode 100644 index 10175f40d22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get By Ids Collection Request Builder. - */ -public class BaseDirectoryObjectGetByIdsCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDirectoryObjectGetByIdsCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param ids the ids - * @param types the types - */ - public BaseDirectoryObjectGetByIdsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List ids, final java.util.List types) { - super(requestUrl, client, requestOptions); - if(ids!=null){ - bodyParams.put("ids", ids); - } - if(types!=null){ - bodyParams.put("types", types); - } - } - - public IDirectoryObjectGetByIdsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectGetByIdsCollectionRequest buildRequest(final java.util.List requestOptions) { - DirectoryObjectGetByIdsCollectionRequest request = new DirectoryObjectGetByIdsCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("ids")) { - request.body.ids = getParameter("ids"); - } - if (hasParameter("types")) { - request.body.types = getParameter("types"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionResponse.java deleted file mode 100644 index c5eb214bfe9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetByIdsCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get By Ids Collection Response. - */ -public class BaseDirectoryObjectGetByIdsCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionPage.java deleted file mode 100644 index a82a4d01183..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Groups Collection Page. - */ -public class BaseDirectoryObjectGetMemberGroupsCollectionPage extends BaseCollectionPage implements IBaseDirectoryObjectGetMemberGroupsCollectionPage { - - /** - * A collection page for DirectoryObjectGetMemberGroups. - * - * @param response The serialized BaseDirectoryObjectGetMemberGroupsCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDirectoryObjectGetMemberGroupsCollectionPage(final BaseDirectoryObjectGetMemberGroupsCollectionResponse response, final IDirectoryObjectGetMemberGroupsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequest.java deleted file mode 100644 index a08829d86d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Groups Collection Request. - */ -public class BaseDirectoryObjectGetMemberGroupsCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryObjectGetMemberGroupsCollectionRequest { - - - protected final DirectoryObjectGetMemberGroupsBody body; - - - /** - * The request for this DirectoryObjectGetMemberGroups - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectGetMemberGroupsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectGetMemberGroupsCollectionResponse.class, IDirectoryObjectGetMemberGroupsCollectionPage.class); - body = new DirectoryObjectGetMemberGroupsBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryObjectGetMemberGroupsCollectionPage post() throws ClientException { - final BaseDirectoryObjectGetMemberGroupsCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDirectoryObjectGetMemberGroupsCollectionPage buildFromResponse(final BaseDirectoryObjectGetMemberGroupsCollectionResponse response) { - final IDirectoryObjectGetMemberGroupsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryObjectGetMemberGroupsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* securityEnabledOnly */ null); - } else { - builder = null; - } - final IDirectoryObjectGetMemberGroupsCollectionPage page = new DirectoryObjectGetMemberGroupsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectGetMemberGroupsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDirectoryObjectGetMemberGroupsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryObjectGetMemberGroupsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDirectoryObjectGetMemberGroupsCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectGetMemberGroupsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDirectoryObjectGetMemberGroupsCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java deleted file mode 100644 index 50b2aceee2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Groups Collection Request Builder. - */ -public class BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param securityEnabledOnly the securityEnabledOnly - */ - public BaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean securityEnabledOnly) { - super(requestUrl, client, requestOptions); - if(securityEnabledOnly!=null){ - bodyParams.put("securityEnabledOnly", securityEnabledOnly); - } - } - - public IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions) { - DirectoryObjectGetMemberGroupsCollectionRequest request = new DirectoryObjectGetMemberGroupsCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("securityEnabledOnly")) { - request.body.securityEnabledOnly = getParameter("securityEnabledOnly"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionResponse.java deleted file mode 100644 index 83559dbf514..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberGroupsCollectionResponse.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Groups Collection Response. - */ -public class BaseDirectoryObjectGetMemberGroupsCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionPage.java deleted file mode 100644 index 6b9d3bc3cfd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Objects Collection Page. - */ -public class BaseDirectoryObjectGetMemberObjectsCollectionPage extends BaseCollectionPage implements IBaseDirectoryObjectGetMemberObjectsCollectionPage { - - /** - * A collection page for DirectoryObjectGetMemberObjects. - * - * @param response The serialized BaseDirectoryObjectGetMemberObjectsCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDirectoryObjectGetMemberObjectsCollectionPage(final BaseDirectoryObjectGetMemberObjectsCollectionResponse response, final IDirectoryObjectGetMemberObjectsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequest.java deleted file mode 100644 index 56f88e4349f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Objects Collection Request. - */ -public class BaseDirectoryObjectGetMemberObjectsCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryObjectGetMemberObjectsCollectionRequest { - - - protected final DirectoryObjectGetMemberObjectsBody body; - - - /** - * The request for this DirectoryObjectGetMemberObjects - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectGetMemberObjectsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryObjectGetMemberObjectsCollectionResponse.class, IDirectoryObjectGetMemberObjectsCollectionPage.class); - body = new DirectoryObjectGetMemberObjectsBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryObjectGetMemberObjectsCollectionPage post() throws ClientException { - final BaseDirectoryObjectGetMemberObjectsCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDirectoryObjectGetMemberObjectsCollectionPage buildFromResponse(final BaseDirectoryObjectGetMemberObjectsCollectionResponse response) { - final IDirectoryObjectGetMemberObjectsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryObjectGetMemberObjectsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* securityEnabledOnly */ null); - } else { - builder = null; - } - final IDirectoryObjectGetMemberObjectsCollectionPage page = new DirectoryObjectGetMemberObjectsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectGetMemberObjectsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDirectoryObjectGetMemberObjectsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryObjectGetMemberObjectsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDirectoryObjectGetMemberObjectsCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectGetMemberObjectsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDirectoryObjectGetMemberObjectsCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java deleted file mode 100644 index be65e18d5fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Objects Collection Request Builder. - */ -public class BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param securityEnabledOnly the securityEnabledOnly - */ - public BaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean securityEnabledOnly) { - super(requestUrl, client, requestOptions); - if(securityEnabledOnly!=null){ - bodyParams.put("securityEnabledOnly", securityEnabledOnly); - } - } - - public IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest(final java.util.List requestOptions) { - DirectoryObjectGetMemberObjectsCollectionRequest request = new DirectoryObjectGetMemberObjectsCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("securityEnabledOnly")) { - request.body.securityEnabledOnly = getParameter("securityEnabledOnly"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionResponse.java deleted file mode 100644 index 5414364c84d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectGetMemberObjectsCollectionResponse.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Get Member Objects Collection Response. - */ -public class BaseDirectoryObjectGetMemberObjectsCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequest.java deleted file mode 100644 index 240064e0629..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Reference Request. - */ -public class BaseDirectoryObjectReferenceRequest extends BaseRequest implements IBaseDirectoryObjectReferenceRequest { - - /** - * The request for the DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, DirectoryObject.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public DirectoryObject delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DirectoryObjectReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryObjectReferenceRequest)this; - } - /** - * Puts the DirectoryObject - * - * @param srcDirectoryObject the DirectoryObject reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(DirectoryObject srcDirectoryObject, final ICallback callback) { - send(HttpMethod.PUT, callback, srcDirectoryObject); - } - - /** - * Puts the DirectoryObject - * - * @param srcDirectoryObject the DirectoryObject reference to PUT - * @return the DirectoryObject - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public DirectoryObject put(DirectoryObject srcDirectoryObject) throws ClientException { - return send(HttpMethod.PUT, srcDirectoryObject); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequestBuilder.java deleted file mode 100644 index 94a3757a3d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Reference Request Builder. - */ -public class BaseDirectoryObjectReferenceRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryObjectReferenceRequestBuilder { - - /** - * The request builder for the DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IDirectoryObjectReferenceRequest instance - */ - public IDirectoryObjectReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDirectoryObjectReferenceRequest instance - */ - public IDirectoryObjectReferenceRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryObjectReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequest.java deleted file mode 100644 index bed34b16270..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequest; -import com.microsoft.graph.requests.extensions.DirectoryObjectRequest; -import com.microsoft.graph.models.extensions.DirectoryObject; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Request. - */ -public class BaseDirectoryObjectRequest extends BaseRequest implements IBaseDirectoryObjectRequest { - - /** - * The request for the DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDirectoryObjectRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DirectoryObject from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DirectoryObject from the service - * - * @return the DirectoryObject from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryObject get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DirectoryObject with a source - * - * @param sourceDirectoryObject the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDirectoryObject); - } - - /** - * Patches this DirectoryObject with a source - * - * @param sourceDirectoryObject the source object with updates - * @return the updated DirectoryObject - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException { - return send(HttpMethod.PATCH, sourceDirectoryObject); - } - - /** - * Creates a DirectoryObject with a new object - * - * @param newDirectoryObject the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DirectoryObject newDirectoryObject, final ICallback callback) { - send(HttpMethod.POST, callback, newDirectoryObject); - } - - /** - * Creates a DirectoryObject with a new object - * - * @param newDirectoryObject the new object to create - * @return the created DirectoryObject - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException { - return send(HttpMethod.POST, newDirectoryObject); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DirectoryObjectRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryObjectRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequestBuilder.java deleted file mode 100644 index 554efe6735b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequest; -import com.microsoft.graph.requests.extensions.DirectoryObjectRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCheckMemberGroupsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberGroupsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectGetMemberGroupsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberObjectsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectGetMemberObjectsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectRestoreRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Request Builder. - */ -public class BaseDirectoryObjectRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryObjectRequestBuilder { - - /** - * The request builder for the DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDirectoryObjectRequest instance - */ - public IDirectoryObjectRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDirectoryObjectRequest instance - */ - public IDirectoryObjectRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryObjectRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder checkMemberGroups(final java.util.List groupIds) { - return new DirectoryObjectCheckMemberGroupsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.checkMemberGroups"), getClient(), null, groupIds); - } - - public IDirectoryObjectGetMemberGroupsCollectionRequestBuilder getMemberGroups(final Boolean securityEnabledOnly) { - return new DirectoryObjectGetMemberGroupsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMemberGroups"), getClient(), null, securityEnabledOnly); - } - - public IDirectoryObjectGetMemberObjectsCollectionRequestBuilder getMemberObjects(final Boolean securityEnabledOnly) { - return new DirectoryObjectGetMemberObjectsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMemberObjects"), getClient(), null, securityEnabledOnly); - } - - public IDirectoryObjectRestoreRequestBuilder restore() { - return new DirectoryObjectRestoreRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restore"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequest.java deleted file mode 100644 index c7946c95b7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; -import com.microsoft.graph.requests.extensions.DirectoryObjectRestoreRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Restore Request. - */ -public class BaseDirectoryObjectRestoreRequest extends BaseRequest implements IBaseDirectoryObjectRestoreRequest { - - /** - * The request for this DirectoryObjectRestore - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectRestoreRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, DirectoryObject.class); - } - - /** - * Creates the DirectoryObjectRestore - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the DirectoryObjectRestore - * - * @return the DirectoryObject - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public DirectoryObject post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectRestoreRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DirectoryObjectRestoreRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectRestoreRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryObjectRestoreRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequestBuilder.java deleted file mode 100644 index e4ec67c88ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRestoreRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; -import com.microsoft.graph.requests.extensions.DirectoryObjectRestoreRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object Restore Request Builder. - */ -public class BaseDirectoryObjectRestoreRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DirectoryObjectRestore - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectRestoreRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IDirectoryObjectRestoreRequest - * - * @return the IDirectoryObjectRestoreRequest instance - */ - public IDirectoryObjectRestoreRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDirectoryObjectRestoreRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDirectoryObjectRestoreRequest instance - */ - public IDirectoryObjectRestoreRequest buildRequest(final java.util.List requestOptions) { - DirectoryObjectRestoreRequest request = new DirectoryObjectRestoreRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequest.java deleted file mode 100644 index 3bec0609ae2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object With Reference Request. - */ -public class BaseDirectoryObjectWithReferenceRequest extends BaseRequest implements IBaseDirectoryObjectWithReferenceRequest { - - /** - * The request for the DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, DirectoryObject.class); - } - - public void post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public DirectoryObject post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newDirectoryObject; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public DirectoryObject get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDirectoryObject); - } - - public DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException { - return send(HttpMethod.PATCH, sourceDirectoryObject); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryObjectWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IDirectoryObjectWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryObjectWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryObjectWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequestBuilder.java deleted file mode 100644 index 5589ad75a24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Object With Reference Request Builder. - */ -public class BaseDirectoryObjectWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryObjectWithReferenceRequestBuilder { - - /** - * The request builder for the DirectoryObject - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryObjectWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDirectoryObjectWithReferenceRequest instance - */ - public IDirectoryObjectWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryObjectWithReferenceRequest instance - */ - public IDirectoryObjectWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryObjectWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectReferenceRequestBuilder reference(){ - return new DirectoryObjectReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequest.java deleted file mode 100644 index e3639fd81d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRequest; -import com.microsoft.graph.requests.extensions.DirectoryRequest; -import com.microsoft.graph.models.extensions.Directory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Request. - */ -public class BaseDirectoryRequest extends BaseRequest implements IBaseDirectoryRequest { - - /** - * The request for the Directory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDirectoryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Directory from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Directory from the service - * - * @return the Directory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Directory get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Directory with a source - * - * @param sourceDirectory the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Directory sourceDirectory, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDirectory); - } - - /** - * Patches this Directory with a source - * - * @param sourceDirectory the source object with updates - * @return the updated Directory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Directory patch(final Directory sourceDirectory) throws ClientException { - return send(HttpMethod.PATCH, sourceDirectory); - } - - /** - * Creates a Directory with a new object - * - * @param newDirectory the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Directory newDirectory, final ICallback callback) { - send(HttpMethod.POST, callback, newDirectory); - } - - /** - * Creates a Directory with a new object - * - * @param newDirectory the new object to create - * @return the created Directory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Directory post(final Directory newDirectory) throws ClientException { - return send(HttpMethod.POST, newDirectory); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DirectoryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequestBuilder.java deleted file mode 100644 index 46e195dfe56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRequest; -import com.microsoft.graph.requests.extensions.DirectoryRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Request Builder. - */ -public class BaseDirectoryRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryRequestBuilder { - - /** - * The request builder for the Directory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDirectoryRequest instance - */ - public IDirectoryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDirectoryRequest instance - */ - public IDirectoryRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectCollectionRequestBuilder deletedItems() { - return new DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems"), getClient(), null); - } - - public IDirectoryObjectRequestBuilder deletedItems(final String id) { - return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionPage.java deleted file mode 100644 index 5be58d77ed7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryRole; -import com.microsoft.graph.requests.extensions.IDirectoryRoleCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Collection Page. - */ -public class BaseDirectoryRoleCollectionPage extends BaseCollectionPage implements IBaseDirectoryRoleCollectionPage { - - /** - * A collection page for DirectoryRole - * - * @param response the serialized BaseDirectoryRoleCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDirectoryRoleCollectionPage(final BaseDirectoryRoleCollectionResponse response, final IDirectoryRoleCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequest.java deleted file mode 100644 index 9e211bad2e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Collection Request. - */ -public class BaseDirectoryRoleCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryRoleCollectionRequest { - - /** - * The request builder for this collection of DirectoryRole - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryRoleCollectionResponse.class, IDirectoryRoleCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryRoleCollectionPage get() throws ClientException { - final BaseDirectoryRoleCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DirectoryRole newDirectoryRole, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DirectoryRoleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryRole, callback); - } - - public DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DirectoryRoleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryRole); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryRoleCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DirectoryRoleCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryRoleCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DirectoryRoleCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryRoleCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DirectoryRoleCollectionRequest)this; - } - - public IDirectoryRoleCollectionPage buildFromResponse(final BaseDirectoryRoleCollectionResponse response) { - final IDirectoryRoleCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryRoleCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DirectoryRoleCollectionPage page = new DirectoryRoleCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequestBuilder.java deleted file mode 100644 index be6f31545cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Collection Request Builder. - */ -public class BaseDirectoryRoleCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryRoleCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryRole - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDirectoryRoleCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryRoleCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryRoleCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryRoleRequestBuilder byId(final String id) { - return new DirectoryRoleRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IDirectoryRoleDeltaCollectionRequestBuilder delta() { - return new DirectoryRoleDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IDirectoryRoleDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new DirectoryRoleDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionResponse.java deleted file mode 100644 index 6e2c1d763e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryRole; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Collection Response. - */ -public class BaseDirectoryRoleCollectionResponse implements IJsonBackedObject { - - /** - * The list of DirectoryRole within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionPage.java deleted file mode 100644 index b09e117f836..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Delta Collection Page. - */ -public class BaseDirectoryRoleDeltaCollectionPage extends BaseCollectionPage implements IBaseDirectoryRoleDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for DirectoryRoleDelta. - * - * @param response The serialized BaseDirectoryRoleDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDirectoryRoleDeltaCollectionPage(final BaseDirectoryRoleDeltaCollectionResponse response, final IDirectoryRoleDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequest.java deleted file mode 100644 index 26ffe25329e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Delta Collection Request. - */ -public class BaseDirectoryRoleDeltaCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryRoleDeltaCollectionRequest { - - - /** - * The request for this DirectoryRoleDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryRoleDeltaCollectionResponse.class, IDirectoryRoleDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryRoleDeltaCollectionPage get() throws ClientException { - final BaseDirectoryRoleDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDirectoryRoleDeltaCollectionPage buildFromResponse(final BaseDirectoryRoleDeltaCollectionResponse response) { - final IDirectoryRoleDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryRoleDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IDirectoryRoleDeltaCollectionPage page = new DirectoryRoleDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryRoleDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDirectoryRoleDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryRoleDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDirectoryRoleDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryRoleDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDirectoryRoleDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequestBuilder.java deleted file mode 100644 index 2641b537d2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Delta Collection Request Builder. - */ -public class BaseDirectoryRoleDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDirectoryRoleDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryRole - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDirectoryRoleDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryRoleDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - DirectoryRoleDeltaCollectionRequest request = new DirectoryRoleDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionResponse.java deleted file mode 100644 index ec528d23d50..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Delta Collection Response. - */ -public class BaseDirectoryRoleDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequest.java deleted file mode 100644 index f98229e8757..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRoleRequest; -import com.microsoft.graph.requests.extensions.DirectoryRoleRequest; -import com.microsoft.graph.models.extensions.DirectoryRole; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Request. - */ -public class BaseDirectoryRoleRequest extends BaseRequest implements IBaseDirectoryRoleRequest { - - /** - * The request for the DirectoryRole - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDirectoryRoleRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DirectoryRole from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DirectoryRole from the service - * - * @return the DirectoryRole from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryRole get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DirectoryRole with a source - * - * @param sourceDirectoryRole the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DirectoryRole sourceDirectoryRole, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDirectoryRole); - } - - /** - * Patches this DirectoryRole with a source - * - * @param sourceDirectoryRole the source object with updates - * @return the updated DirectoryRole - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryRole patch(final DirectoryRole sourceDirectoryRole) throws ClientException { - return send(HttpMethod.PATCH, sourceDirectoryRole); - } - - /** - * Creates a DirectoryRole with a new object - * - * @param newDirectoryRole the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DirectoryRole newDirectoryRole, final ICallback callback) { - send(HttpMethod.POST, callback, newDirectoryRole); - } - - /** - * Creates a DirectoryRole with a new object - * - * @param newDirectoryRole the new object to create - * @return the created DirectoryRole - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException { - return send(HttpMethod.POST, newDirectoryRole); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryRoleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DirectoryRoleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryRoleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryRoleRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequestBuilder.java deleted file mode 100644 index dc9b8c63cb0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRoleRequest; -import com.microsoft.graph.requests.extensions.DirectoryRoleRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Request Builder. - */ -public class BaseDirectoryRoleRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryRoleRequestBuilder { - - /** - * The request builder for the DirectoryRole - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDirectoryRoleRequest instance - */ - public IDirectoryRoleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDirectoryRoleRequest instance - */ - public IDirectoryRoleRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryRoleRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectCollectionWithReferencesRequestBuilder members() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder members(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionPage.java deleted file mode 100644 index bd363d2eebb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; -import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template Collection Page. - */ -public class BaseDirectoryRoleTemplateCollectionPage extends BaseCollectionPage implements IBaseDirectoryRoleTemplateCollectionPage { - - /** - * A collection page for DirectoryRoleTemplate - * - * @param response the serialized BaseDirectoryRoleTemplateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDirectoryRoleTemplateCollectionPage(final BaseDirectoryRoleTemplateCollectionResponse response, final IDirectoryRoleTemplateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequest.java deleted file mode 100644 index 16743429a5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template Collection Request. - */ -public class BaseDirectoryRoleTemplateCollectionRequest extends BaseCollectionRequest implements IBaseDirectoryRoleTemplateCollectionRequest { - - /** - * The request builder for this collection of DirectoryRoleTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleTemplateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDirectoryRoleTemplateCollectionResponse.class, IDirectoryRoleTemplateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDirectoryRoleTemplateCollectionPage get() throws ClientException { - final BaseDirectoryRoleTemplateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DirectoryRoleTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryRoleTemplate, callback); - } - - public DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DirectoryRoleTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDirectoryRoleTemplate); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryRoleTemplateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DirectoryRoleTemplateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryRoleTemplateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DirectoryRoleTemplateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDirectoryRoleTemplateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DirectoryRoleTemplateCollectionRequest)this; - } - - public IDirectoryRoleTemplateCollectionPage buildFromResponse(final BaseDirectoryRoleTemplateCollectionResponse response) { - final IDirectoryRoleTemplateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DirectoryRoleTemplateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DirectoryRoleTemplateCollectionPage page = new DirectoryRoleTemplateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequestBuilder.java deleted file mode 100644 index 54590b3fdcd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template Collection Request Builder. - */ -public class BaseDirectoryRoleTemplateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryRoleTemplateCollectionRequestBuilder { - - /** - * The request builder for this collection of DirectoryRoleTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleTemplateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDirectoryRoleTemplateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDirectoryRoleTemplateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryRoleTemplateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryRoleTemplateRequestBuilder byId(final String id) { - return new DirectoryRoleTemplateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionResponse.java deleted file mode 100644 index 36db846fd1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template Collection Response. - */ -public class BaseDirectoryRoleTemplateCollectionResponse implements IJsonBackedObject { - - /** - * The list of DirectoryRoleTemplate within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequest.java deleted file mode 100644 index a1044ce18f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequest; -import com.microsoft.graph.requests.extensions.DirectoryRoleTemplateRequest; -import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template Request. - */ -public class BaseDirectoryRoleTemplateRequest extends BaseRequest implements IBaseDirectoryRoleTemplateRequest { - - /** - * The request for the DirectoryRoleTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDirectoryRoleTemplateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DirectoryRoleTemplate from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DirectoryRoleTemplate from the service - * - * @return the DirectoryRoleTemplate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryRoleTemplate get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DirectoryRoleTemplate with a source - * - * @param sourceDirectoryRoleTemplate the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDirectoryRoleTemplate); - } - - /** - * Patches this DirectoryRoleTemplate with a source - * - * @param sourceDirectoryRoleTemplate the source object with updates - * @return the updated DirectoryRoleTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryRoleTemplate patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate) throws ClientException { - return send(HttpMethod.PATCH, sourceDirectoryRoleTemplate); - } - - /** - * Creates a DirectoryRoleTemplate with a new object - * - * @param newDirectoryRoleTemplate the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback) { - send(HttpMethod.POST, callback, newDirectoryRoleTemplate); - } - - /** - * Creates a DirectoryRoleTemplate with a new object - * - * @param newDirectoryRoleTemplate the new object to create - * @return the created DirectoryRoleTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException { - return send(HttpMethod.POST, newDirectoryRoleTemplate); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDirectoryRoleTemplateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DirectoryRoleTemplateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDirectoryRoleTemplateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DirectoryRoleTemplateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequestBuilder.java deleted file mode 100644 index 246bc18ce37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryRoleTemplateRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequest; -import com.microsoft.graph.requests.extensions.DirectoryRoleTemplateRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Directory Role Template Request Builder. - */ -public class BaseDirectoryRoleTemplateRequestBuilder extends BaseRequestBuilder implements IBaseDirectoryRoleTemplateRequestBuilder { - - /** - * The request builder for the DirectoryRoleTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDirectoryRoleTemplateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDirectoryRoleTemplateRequest instance - */ - public IDirectoryRoleTemplateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDirectoryRoleTemplateRequest instance - */ - public IDirectoryRoleTemplateRequest buildRequest(final java.util.List requestOptions) { - return new DirectoryRoleTemplateRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionPage.java deleted file mode 100644 index 1ac98a02e8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Domain; -import com.microsoft.graph.requests.extensions.IDomainCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Collection Page. - */ -public class BaseDomainCollectionPage extends BaseCollectionPage implements IBaseDomainCollectionPage { - - /** - * A collection page for Domain - * - * @param response the serialized BaseDomainCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDomainCollectionPage(final BaseDomainCollectionResponse response, final IDomainCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequest.java deleted file mode 100644 index a3687474d2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Collection Request. - */ -public class BaseDomainCollectionRequest extends BaseCollectionRequest implements IBaseDomainCollectionRequest { - - /** - * The request builder for this collection of Domain - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDomainCollectionResponse.class, IDomainCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDomainCollectionPage get() throws ClientException { - final BaseDomainCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Domain newDomain, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DomainRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDomain, callback); - } - - public Domain post(final Domain newDomain) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DomainRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDomain); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DomainCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DomainCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDomainCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DomainCollectionRequest)this; - } - - public IDomainCollectionPage buildFromResponse(final BaseDomainCollectionResponse response) { - final IDomainCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DomainCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DomainCollectionPage page = new DomainCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequestBuilder.java deleted file mode 100644 index 6143604229b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Collection Request Builder. - */ -public class BaseDomainCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDomainCollectionRequestBuilder { - - /** - * The request builder for this collection of Domain - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDomainCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDomainCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DomainCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDomainRequestBuilder byId(final String id) { - return new DomainRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionResponse.java deleted file mode 100644 index a99a5d1fdd3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Domain; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Collection Response. - */ -public class BaseDomainCollectionResponse implements IJsonBackedObject { - - /** - * The list of Domain within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequest.java deleted file mode 100644 index 7b1b228df48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsCnameRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsCnameRecordRequest; -import com.microsoft.graph.models.extensions.DomainDnsCnameRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Cname Record Request. - */ -public class BaseDomainDnsCnameRecordRequest extends BaseRequest implements IBaseDomainDnsCnameRecordRequest { - - /** - * The request for the DomainDnsCnameRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainDnsCnameRecordRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DomainDnsCnameRecord from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DomainDnsCnameRecord from the service - * - * @return the DomainDnsCnameRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsCnameRecord get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DomainDnsCnameRecord with a source - * - * @param sourceDomainDnsCnameRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomainDnsCnameRecord); - } - - /** - * Patches this DomainDnsCnameRecord with a source - * - * @param sourceDomainDnsCnameRecord the source object with updates - * @return the updated DomainDnsCnameRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsCnameRecord patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord) throws ClientException { - return send(HttpMethod.PATCH, sourceDomainDnsCnameRecord); - } - - /** - * Creates a DomainDnsCnameRecord with a new object - * - * @param newDomainDnsCnameRecord the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DomainDnsCnameRecord newDomainDnsCnameRecord, final ICallback callback) { - send(HttpMethod.POST, callback, newDomainDnsCnameRecord); - } - - /** - * Creates a DomainDnsCnameRecord with a new object - * - * @param newDomainDnsCnameRecord the new object to create - * @return the created DomainDnsCnameRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsCnameRecord post(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException { - return send(HttpMethod.POST, newDomainDnsCnameRecord); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsCnameRecordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainDnsCnameRecordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsCnameRecordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainDnsCnameRecordRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequestBuilder.java deleted file mode 100644 index 2c3782c5bc3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsCnameRecordRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsCnameRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsCnameRecordRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Cname Record Request Builder. - */ -public class BaseDomainDnsCnameRecordRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsCnameRecordRequestBuilder { - - /** - * The request builder for the DomainDnsCnameRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsCnameRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainDnsCnameRecordRequest instance - */ - public IDomainDnsCnameRecordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainDnsCnameRecordRequest instance - */ - public IDomainDnsCnameRecordRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsCnameRecordRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequest.java deleted file mode 100644 index 8bd172ee2e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsMxRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsMxRecordRequest; -import com.microsoft.graph.models.extensions.DomainDnsMxRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Mx Record Request. - */ -public class BaseDomainDnsMxRecordRequest extends BaseRequest implements IBaseDomainDnsMxRecordRequest { - - /** - * The request for the DomainDnsMxRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainDnsMxRecordRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DomainDnsMxRecord from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DomainDnsMxRecord from the service - * - * @return the DomainDnsMxRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsMxRecord get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DomainDnsMxRecord with a source - * - * @param sourceDomainDnsMxRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DomainDnsMxRecord sourceDomainDnsMxRecord, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomainDnsMxRecord); - } - - /** - * Patches this DomainDnsMxRecord with a source - * - * @param sourceDomainDnsMxRecord the source object with updates - * @return the updated DomainDnsMxRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsMxRecord patch(final DomainDnsMxRecord sourceDomainDnsMxRecord) throws ClientException { - return send(HttpMethod.PATCH, sourceDomainDnsMxRecord); - } - - /** - * Creates a DomainDnsMxRecord with a new object - * - * @param newDomainDnsMxRecord the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DomainDnsMxRecord newDomainDnsMxRecord, final ICallback callback) { - send(HttpMethod.POST, callback, newDomainDnsMxRecord); - } - - /** - * Creates a DomainDnsMxRecord with a new object - * - * @param newDomainDnsMxRecord the new object to create - * @return the created DomainDnsMxRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsMxRecord post(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException { - return send(HttpMethod.POST, newDomainDnsMxRecord); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsMxRecordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainDnsMxRecordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsMxRecordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainDnsMxRecordRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequestBuilder.java deleted file mode 100644 index 77e25c89a9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsMxRecordRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsMxRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsMxRecordRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Mx Record Request Builder. - */ -public class BaseDomainDnsMxRecordRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsMxRecordRequestBuilder { - - /** - * The request builder for the DomainDnsMxRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsMxRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainDnsMxRecordRequest instance - */ - public IDomainDnsMxRecordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainDnsMxRecordRequest instance - */ - public IDomainDnsMxRecordRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsMxRecordRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionPage.java deleted file mode 100644 index 351649faf35..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsRecord; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record Collection Page. - */ -public class BaseDomainDnsRecordCollectionPage extends BaseCollectionPage implements IBaseDomainDnsRecordCollectionPage { - - /** - * A collection page for DomainDnsRecord - * - * @param response the serialized BaseDomainDnsRecordCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDomainDnsRecordCollectionPage(final BaseDomainDnsRecordCollectionResponse response, final IDomainDnsRecordCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequest.java deleted file mode 100644 index 10c9bce4b64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record Collection Request. - */ -public class BaseDomainDnsRecordCollectionRequest extends BaseCollectionRequest implements IBaseDomainDnsRecordCollectionRequest { - - /** - * The request builder for this collection of DomainDnsRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsRecordCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDomainDnsRecordCollectionResponse.class, IDomainDnsRecordCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDomainDnsRecordCollectionPage get() throws ClientException { - final BaseDomainDnsRecordCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DomainDnsRecordRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDomainDnsRecord, callback); - } - - public DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DomainDnsRecordRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDomainDnsRecord); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsRecordCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DomainDnsRecordCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsRecordCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DomainDnsRecordCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDomainDnsRecordCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DomainDnsRecordCollectionRequest)this; - } - - public IDomainDnsRecordCollectionPage buildFromResponse(final BaseDomainDnsRecordCollectionResponse response) { - final IDomainDnsRecordCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DomainDnsRecordCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DomainDnsRecordCollectionPage page = new DomainDnsRecordCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequestBuilder.java deleted file mode 100644 index afb53dc4718..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record Collection Request Builder. - */ -public class BaseDomainDnsRecordCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsRecordCollectionRequestBuilder { - - /** - * The request builder for this collection of DomainDnsRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsRecordCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDomainDnsRecordCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDomainDnsRecordCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsRecordCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDomainDnsRecordRequestBuilder byId(final String id) { - return new DomainDnsRecordRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionResponse.java deleted file mode 100644 index 810adcc18d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record Collection Response. - */ -public class BaseDomainDnsRecordCollectionResponse implements IJsonBackedObject { - - /** - * The list of DomainDnsRecord within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequest.java deleted file mode 100644 index d312a3f0cbe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsRecordRequest; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record Request. - */ -public class BaseDomainDnsRecordRequest extends BaseRequest implements IBaseDomainDnsRecordRequest { - - /** - * The request for the DomainDnsRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainDnsRecordRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DomainDnsRecord from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DomainDnsRecord from the service - * - * @return the DomainDnsRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsRecord get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DomainDnsRecord with a source - * - * @param sourceDomainDnsRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DomainDnsRecord sourceDomainDnsRecord, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomainDnsRecord); - } - - /** - * Patches this DomainDnsRecord with a source - * - * @param sourceDomainDnsRecord the source object with updates - * @return the updated DomainDnsRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsRecord patch(final DomainDnsRecord sourceDomainDnsRecord) throws ClientException { - return send(HttpMethod.PATCH, sourceDomainDnsRecord); - } - - /** - * Creates a DomainDnsRecord with a new object - * - * @param newDomainDnsRecord the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback) { - send(HttpMethod.POST, callback, newDomainDnsRecord); - } - - /** - * Creates a DomainDnsRecord with a new object - * - * @param newDomainDnsRecord the new object to create - * @return the created DomainDnsRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException { - return send(HttpMethod.POST, newDomainDnsRecord); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsRecordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainDnsRecordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsRecordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainDnsRecordRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequestBuilder.java deleted file mode 100644 index b1e160b84c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsRecordRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Record Request Builder. - */ -public class BaseDomainDnsRecordRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsRecordRequestBuilder { - - /** - * The request builder for the DomainDnsRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainDnsRecordRequest instance - */ - public IDomainDnsRecordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainDnsRecordRequest instance - */ - public IDomainDnsRecordRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsRecordRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequest.java deleted file mode 100644 index 429be87f594..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsSrvRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsSrvRecordRequest; -import com.microsoft.graph.models.extensions.DomainDnsSrvRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Srv Record Request. - */ -public class BaseDomainDnsSrvRecordRequest extends BaseRequest implements IBaseDomainDnsSrvRecordRequest { - - /** - * The request for the DomainDnsSrvRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainDnsSrvRecordRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DomainDnsSrvRecord from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DomainDnsSrvRecord from the service - * - * @return the DomainDnsSrvRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsSrvRecord get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DomainDnsSrvRecord with a source - * - * @param sourceDomainDnsSrvRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomainDnsSrvRecord); - } - - /** - * Patches this DomainDnsSrvRecord with a source - * - * @param sourceDomainDnsSrvRecord the source object with updates - * @return the updated DomainDnsSrvRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsSrvRecord patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord) throws ClientException { - return send(HttpMethod.PATCH, sourceDomainDnsSrvRecord); - } - - /** - * Creates a DomainDnsSrvRecord with a new object - * - * @param newDomainDnsSrvRecord the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DomainDnsSrvRecord newDomainDnsSrvRecord, final ICallback callback) { - send(HttpMethod.POST, callback, newDomainDnsSrvRecord); - } - - /** - * Creates a DomainDnsSrvRecord with a new object - * - * @param newDomainDnsSrvRecord the new object to create - * @return the created DomainDnsSrvRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsSrvRecord post(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException { - return send(HttpMethod.POST, newDomainDnsSrvRecord); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsSrvRecordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainDnsSrvRecordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsSrvRecordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainDnsSrvRecordRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequestBuilder.java deleted file mode 100644 index eeaa8f83501..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsSrvRecordRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsSrvRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsSrvRecordRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Srv Record Request Builder. - */ -public class BaseDomainDnsSrvRecordRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsSrvRecordRequestBuilder { - - /** - * The request builder for the DomainDnsSrvRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsSrvRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainDnsSrvRecordRequest instance - */ - public IDomainDnsSrvRecordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainDnsSrvRecordRequest instance - */ - public IDomainDnsSrvRecordRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsSrvRecordRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequest.java deleted file mode 100644 index e630ada5738..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsTxtRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsTxtRecordRequest; -import com.microsoft.graph.models.extensions.DomainDnsTxtRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Txt Record Request. - */ -public class BaseDomainDnsTxtRecordRequest extends BaseRequest implements IBaseDomainDnsTxtRecordRequest { - - /** - * The request for the DomainDnsTxtRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainDnsTxtRecordRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DomainDnsTxtRecord from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DomainDnsTxtRecord from the service - * - * @return the DomainDnsTxtRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsTxtRecord get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DomainDnsTxtRecord with a source - * - * @param sourceDomainDnsTxtRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomainDnsTxtRecord); - } - - /** - * Patches this DomainDnsTxtRecord with a source - * - * @param sourceDomainDnsTxtRecord the source object with updates - * @return the updated DomainDnsTxtRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsTxtRecord patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord) throws ClientException { - return send(HttpMethod.PATCH, sourceDomainDnsTxtRecord); - } - - /** - * Creates a DomainDnsTxtRecord with a new object - * - * @param newDomainDnsTxtRecord the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DomainDnsTxtRecord newDomainDnsTxtRecord, final ICallback callback) { - send(HttpMethod.POST, callback, newDomainDnsTxtRecord); - } - - /** - * Creates a DomainDnsTxtRecord with a new object - * - * @param newDomainDnsTxtRecord the new object to create - * @return the created DomainDnsTxtRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsTxtRecord post(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException { - return send(HttpMethod.POST, newDomainDnsTxtRecord); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsTxtRecordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainDnsTxtRecordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsTxtRecordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainDnsTxtRecordRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequestBuilder.java deleted file mode 100644 index 20624d2c07f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsTxtRecordRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsTxtRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsTxtRecordRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Txt Record Request Builder. - */ -public class BaseDomainDnsTxtRecordRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsTxtRecordRequestBuilder { - - /** - * The request builder for the DomainDnsTxtRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsTxtRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainDnsTxtRecordRequest instance - */ - public IDomainDnsTxtRecordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainDnsTxtRecordRequest instance - */ - public IDomainDnsTxtRecordRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsTxtRecordRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequest.java deleted file mode 100644 index 23d20acac76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsUnavailableRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsUnavailableRecordRequest; -import com.microsoft.graph.models.extensions.DomainDnsUnavailableRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Unavailable Record Request. - */ -public class BaseDomainDnsUnavailableRecordRequest extends BaseRequest implements IBaseDomainDnsUnavailableRecordRequest { - - /** - * The request for the DomainDnsUnavailableRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainDnsUnavailableRecordRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DomainDnsUnavailableRecord from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DomainDnsUnavailableRecord from the service - * - * @return the DomainDnsUnavailableRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsUnavailableRecord get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DomainDnsUnavailableRecord with a source - * - * @param sourceDomainDnsUnavailableRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomainDnsUnavailableRecord); - } - - /** - * Patches this DomainDnsUnavailableRecord with a source - * - * @param sourceDomainDnsUnavailableRecord the source object with updates - * @return the updated DomainDnsUnavailableRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsUnavailableRecord patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord) throws ClientException { - return send(HttpMethod.PATCH, sourceDomainDnsUnavailableRecord); - } - - /** - * Creates a DomainDnsUnavailableRecord with a new object - * - * @param newDomainDnsUnavailableRecord the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord, final ICallback callback) { - send(HttpMethod.POST, callback, newDomainDnsUnavailableRecord); - } - - /** - * Creates a DomainDnsUnavailableRecord with a new object - * - * @param newDomainDnsUnavailableRecord the new object to create - * @return the created DomainDnsUnavailableRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DomainDnsUnavailableRecord post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException { - return send(HttpMethod.POST, newDomainDnsUnavailableRecord); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainDnsUnavailableRecordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainDnsUnavailableRecordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainDnsUnavailableRecordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainDnsUnavailableRecordRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequestBuilder.java deleted file mode 100644 index 25560bdff59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsUnavailableRecordRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsUnavailableRecordRequest; -import com.microsoft.graph.requests.extensions.DomainDnsUnavailableRecordRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Dns Unavailable Record Request Builder. - */ -public class BaseDomainDnsUnavailableRecordRequestBuilder extends BaseRequestBuilder implements IBaseDomainDnsUnavailableRecordRequestBuilder { - - /** - * The request builder for the DomainDnsUnavailableRecord - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainDnsUnavailableRecordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainDnsUnavailableRecordRequest instance - */ - public IDomainDnsUnavailableRecordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainDnsUnavailableRecordRequest instance - */ - public IDomainDnsUnavailableRecordRequest buildRequest(final java.util.List requestOptions) { - return new DomainDnsUnavailableRecordRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequest.java deleted file mode 100644 index 2a6c6f471d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainForceDeleteBody; -import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; -import com.microsoft.graph.requests.extensions.DomainForceDeleteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Force Delete Request. - */ -public class BaseDomainForceDeleteRequest extends BaseRequest implements IBaseDomainForceDeleteRequest { - protected final DomainForceDeleteBody body; - - /** - * The request for this DomainForceDelete - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainForceDeleteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new DomainForceDeleteBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainForceDeleteRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainForceDeleteRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDomainForceDeleteRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DomainForceDeleteRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainForceDeleteRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainForceDeleteRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequestBuilder.java deleted file mode 100644 index bbc89f6bf7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainForceDeleteRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; -import com.microsoft.graph.requests.extensions.DomainForceDeleteRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Force Delete Request Builder. - */ -public class BaseDomainForceDeleteRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DomainForceDelete - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param disableUserAccounts the disableUserAccounts - */ - public BaseDomainForceDeleteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean disableUserAccounts) { - super(requestUrl, client, requestOptions); - bodyParams.put("disableUserAccounts", disableUserAccounts); - } - - /** - * Creates the IDomainForceDeleteRequest - * - * @return the IDomainForceDeleteRequest instance - */ - public IDomainForceDeleteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDomainForceDeleteRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDomainForceDeleteRequest instance - */ - public IDomainForceDeleteRequest buildRequest(final java.util.List requestOptions) { - DomainForceDeleteRequest request = new DomainForceDeleteRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("disableUserAccounts")) { - request.body.disableUserAccounts = getParameter("disableUserAccounts"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequest.java deleted file mode 100644 index ea679a1cc63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainRequest; -import com.microsoft.graph.requests.extensions.DomainRequest; -import com.microsoft.graph.models.extensions.Domain; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Request. - */ -public class BaseDomainRequest extends BaseRequest implements IBaseDomainRequest { - - /** - * The request for the Domain - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDomainRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Domain from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Domain from the service - * - * @return the Domain from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Domain get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Domain with a source - * - * @param sourceDomain the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Domain sourceDomain, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDomain); - } - - /** - * Patches this Domain with a source - * - * @param sourceDomain the source object with updates - * @return the updated Domain - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Domain patch(final Domain sourceDomain) throws ClientException { - return send(HttpMethod.PATCH, sourceDomain); - } - - /** - * Creates a Domain with a new object - * - * @param newDomain the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Domain newDomain, final ICallback callback) { - send(HttpMethod.POST, callback, newDomain); - } - - /** - * Creates a Domain with a new object - * - * @param newDomain the new object to create - * @return the created Domain - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Domain post(final Domain newDomain) throws ClientException { - return send(HttpMethod.POST, newDomain); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequestBuilder.java deleted file mode 100644 index a434c0e94f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainRequestBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainRequest; -import com.microsoft.graph.requests.extensions.DomainRequest; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.DomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.DomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequestBuilder; -import com.microsoft.graph.requests.extensions.DomainForceDeleteRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainVerifyRequestBuilder; -import com.microsoft.graph.requests.extensions.DomainVerifyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Request Builder. - */ -public class BaseDomainRequestBuilder extends BaseRequestBuilder implements IBaseDomainRequestBuilder { - - /** - * The request builder for the Domain - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDomainRequest instance - */ - public IDomainRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDomainRequest instance - */ - public IDomainRequest buildRequest(final java.util.List requestOptions) { - return new DomainRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDomainDnsRecordCollectionRequestBuilder serviceConfigurationRecords() { - return new DomainDnsRecordCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("serviceConfigurationRecords"), getClient(), null); - } - - public IDomainDnsRecordRequestBuilder serviceConfigurationRecords(final String id) { - return new DomainDnsRecordRequestBuilder(getRequestUrlWithAdditionalSegment("serviceConfigurationRecords") + "/" + id, getClient(), null); - } - public IDomainDnsRecordCollectionRequestBuilder verificationDnsRecords() { - return new DomainDnsRecordCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("verificationDnsRecords"), getClient(), null); - } - - public IDomainDnsRecordRequestBuilder verificationDnsRecords(final String id) { - return new DomainDnsRecordRequestBuilder(getRequestUrlWithAdditionalSegment("verificationDnsRecords") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder domainNameReferences() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("domainNameReferences"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder domainNameReferences(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("domainNameReferences") + "/" + id, getClient(), null); - } - - public IDomainForceDeleteRequestBuilder forceDelete(final Boolean disableUserAccounts) { - return new DomainForceDeleteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.forceDelete"), getClient(), null, disableUserAccounts); - } - - public IDomainVerifyRequestBuilder verify() { - return new DomainVerifyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.verify"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequest.java deleted file mode 100644 index 2f363a78bb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Domain; -import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; -import com.microsoft.graph.requests.extensions.DomainVerifyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Verify Request. - */ -public class BaseDomainVerifyRequest extends BaseRequest implements IBaseDomainVerifyRequest { - - /** - * The request for this DomainVerify - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainVerifyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Domain.class); - } - - /** - * Creates the DomainVerify - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the DomainVerify - * - * @return the Domain - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Domain post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDomainVerifyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DomainVerifyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDomainVerifyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DomainVerifyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequestBuilder.java deleted file mode 100644 index 0edc2132ee4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDomainVerifyRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; -import com.microsoft.graph.requests.extensions.DomainVerifyRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Domain Verify Request Builder. - */ -public class BaseDomainVerifyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DomainVerify - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDomainVerifyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IDomainVerifyRequest - * - * @return the IDomainVerifyRequest instance - */ - public IDomainVerifyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDomainVerifyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDomainVerifyRequest instance - */ - public IDomainVerifyRequest buildRequest(final java.util.List requestOptions) { - DomainVerifyRequest request = new DomainVerifyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionPage.java deleted file mode 100644 index e2ac9fafc6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Drive; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Collection Page. - */ -public class BaseDriveCollectionPage extends BaseCollectionPage implements IBaseDriveCollectionPage { - - /** - * A collection page for Drive - * - * @param response the serialized BaseDriveCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDriveCollectionPage(final BaseDriveCollectionResponse response, final IDriveCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequest.java deleted file mode 100644 index 096b023029e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Collection Request. - */ -public class BaseDriveCollectionRequest extends BaseCollectionRequest implements IBaseDriveCollectionRequest { - - /** - * The request builder for this collection of Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveCollectionResponse.class, IDriveCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveCollectionPage get() throws ClientException { - final BaseDriveCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Drive newDrive, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DriveRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDrive, callback); - } - - public Drive post(final Drive newDrive) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DriveRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDrive); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DriveCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DriveCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DriveCollectionRequest)this; - } - - public IDriveCollectionPage buildFromResponse(final BaseDriveCollectionResponse response) { - final IDriveCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DriveCollectionPage page = new DriveCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequestBuilder.java deleted file mode 100644 index 2ee8e9f741f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Collection Request Builder. - */ -public class BaseDriveCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDriveCollectionRequestBuilder { - - /** - * The request builder for this collection of Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDriveCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DriveCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDriveRequestBuilder byId(final String id) { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionResponse.java deleted file mode 100644 index 272aabf017e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Drive; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Collection Response. - */ -public class BaseDriveCollectionResponse implements IJsonBackedObject { - - /** - * The list of Drive within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionPage.java deleted file mode 100644 index ea70560708b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Collection Page. - */ -public class BaseDriveItemCollectionPage extends BaseCollectionPage implements IBaseDriveItemCollectionPage { - - /** - * A collection page for DriveItem - * - * @param response the serialized BaseDriveItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDriveItemCollectionPage(final BaseDriveItemCollectionResponse response, final IDriveItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequest.java deleted file mode 100644 index 2a0af2416df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Collection Request. - */ -public class BaseDriveItemCollectionRequest extends BaseCollectionRequest implements IBaseDriveItemCollectionRequest { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveItemCollectionResponse.class, IDriveItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveItemCollectionPage get() throws ClientException { - final BaseDriveItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DriveItem newDriveItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDriveItem, callback); - } - - public DriveItem post(final DriveItem newDriveItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDriveItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DriveItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DriveItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DriveItemCollectionRequest)this; - } - - public IDriveItemCollectionPage buildFromResponse(final BaseDriveItemCollectionResponse response) { - final IDriveItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DriveItemCollectionPage page = new DriveItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequestBuilder.java deleted file mode 100644 index ebbe27a7277..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Collection Request Builder. - */ -public class BaseDriveItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDriveItemCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDriveItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DriveItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDriveItemRequestBuilder byId(final String id) { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionResponse.java deleted file mode 100644 index 11a57741acd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Collection Response. - */ -public class BaseDriveItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of DriveItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequest.java deleted file mode 100644 index d9fae567906..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemCopyBody; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; -import com.microsoft.graph.requests.extensions.DriveItemCopyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Copy Request. - */ -public class BaseDriveItemCopyRequest extends BaseRequest implements IBaseDriveItemCopyRequest { - protected final DriveItemCopyBody body; - - /** - * The request for this DriveItemCopy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemCopyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, DriveItem.class); - body = new DriveItemCopyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public DriveItem post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemCopyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveItemCopyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemCopyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DriveItemCopyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemCopyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveItemCopyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequestBuilder.java deleted file mode 100644 index 3a508d346fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCopyRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; -import com.microsoft.graph.requests.extensions.DriveItemCopyRequest; -import com.microsoft.graph.models.extensions.ItemReference; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Copy Request Builder. - */ -public class BaseDriveItemCopyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DriveItemCopy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param name the name - * @param parentReference the parentReference - */ - public BaseDriveItemCopyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name, final ItemReference parentReference) { - super(requestUrl, client, requestOptions); - bodyParams.put("name", name); - bodyParams.put("parentReference", parentReference); - } - - /** - * Creates the IDriveItemCopyRequest - * - * @return the IDriveItemCopyRequest instance - */ - public IDriveItemCopyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDriveItemCopyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDriveItemCopyRequest instance - */ - public IDriveItemCopyRequest buildRequest(final java.util.List requestOptions) { - DriveItemCopyRequest request = new DriveItemCopyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("name")) { - request.body.name = getParameter("name"); - } - - if (hasParameter("parentReference")) { - request.body.parentReference = getParameter("parentReference"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequest.java deleted file mode 100644 index 1667b4e69a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemCreateLinkBody; -import com.microsoft.graph.models.extensions.Permission; -import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; -import com.microsoft.graph.requests.extensions.DriveItemCreateLinkRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Create Link Request. - */ -public class BaseDriveItemCreateLinkRequest extends BaseRequest implements IBaseDriveItemCreateLinkRequest { - protected final DriveItemCreateLinkBody body; - - /** - * The request for this DriveItemCreateLink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemCreateLinkRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Permission.class); - body = new DriveItemCreateLinkBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Permission post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemCreateLinkRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveItemCreateLinkRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemCreateLinkRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DriveItemCreateLinkRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemCreateLinkRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveItemCreateLinkRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequestBuilder.java deleted file mode 100644 index d6e8f0eae23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateLinkRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; -import com.microsoft.graph.requests.extensions.DriveItemCreateLinkRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Create Link Request Builder. - */ -public class BaseDriveItemCreateLinkRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DriveItemCreateLink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param type the type - * @param scope the scope - */ - public BaseDriveItemCreateLinkRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String type, final String scope) { - super(requestUrl, client, requestOptions); - bodyParams.put("type", type); - bodyParams.put("scope", scope); - } - - /** - * Creates the IDriveItemCreateLinkRequest - * - * @return the IDriveItemCreateLinkRequest instance - */ - public IDriveItemCreateLinkRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDriveItemCreateLinkRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDriveItemCreateLinkRequest instance - */ - public IDriveItemCreateLinkRequest buildRequest(final java.util.List requestOptions) { - DriveItemCreateLinkRequest request = new DriveItemCreateLinkRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - if (hasParameter("scope")) { - request.body.scope = getParameter("scope"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequest.java deleted file mode 100644 index df112a8e5a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemCreateUploadSessionBody; -import com.microsoft.graph.models.extensions.UploadSession; -import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; -import com.microsoft.graph.requests.extensions.DriveItemCreateUploadSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Create Upload Session Request. - */ -public class BaseDriveItemCreateUploadSessionRequest extends BaseRequest implements IBaseDriveItemCreateUploadSessionRequest { - protected final DriveItemCreateUploadSessionBody body; - - /** - * The request for this DriveItemCreateUploadSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemCreateUploadSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, UploadSession.class); - body = new DriveItemCreateUploadSessionBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public UploadSession post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemCreateUploadSessionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveItemCreateUploadSessionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemCreateUploadSessionRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DriveItemCreateUploadSessionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemCreateUploadSessionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveItemCreateUploadSessionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequestBuilder.java deleted file mode 100644 index 714c52ee2b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemCreateUploadSessionRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; -import com.microsoft.graph.requests.extensions.DriveItemCreateUploadSessionRequest; -import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Create Upload Session Request Builder. - */ -public class BaseDriveItemCreateUploadSessionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DriveItemCreateUploadSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param item the item - */ - public BaseDriveItemCreateUploadSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final DriveItemUploadableProperties item) { - super(requestUrl, client, requestOptions); - bodyParams.put("item", item); - } - - /** - * Creates the IDriveItemCreateUploadSessionRequest - * - * @return the IDriveItemCreateUploadSessionRequest instance - */ - public IDriveItemCreateUploadSessionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDriveItemCreateUploadSessionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDriveItemCreateUploadSessionRequest instance - */ - public IDriveItemCreateUploadSessionRequest buildRequest(final java.util.List requestOptions) { - DriveItemCreateUploadSessionRequest request = new DriveItemCreateUploadSessionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("item")) { - request.body.item = getParameter("item"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionPage.java deleted file mode 100644 index 82afaeeda4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Delta Collection Page. - */ -public class BaseDriveItemDeltaCollectionPage extends BaseCollectionPage implements IBaseDriveItemDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for DriveItemDelta. - * - * @param response The serialized BaseDriveItemDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDriveItemDeltaCollectionPage(final BaseDriveItemDeltaCollectionResponse response, final IDriveItemDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequest.java deleted file mode 100644 index a3a17d14a13..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Delta Collection Request. - */ -public class BaseDriveItemDeltaCollectionRequest extends BaseCollectionRequest implements IBaseDriveItemDeltaCollectionRequest { - - - /** - * The request for this DriveItemDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveItemDeltaCollectionResponse.class, IDriveItemDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveItemDeltaCollectionPage get() throws ClientException { - final BaseDriveItemDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDriveItemDeltaCollectionPage buildFromResponse(final BaseDriveItemDeltaCollectionResponse response) { - final IDriveItemDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveItemDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* token */ null); - } else { - builder = null; - } - final IDriveItemDeltaCollectionPage page = new DriveItemDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDriveItemDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDriveItemDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDriveItemDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequestBuilder.java deleted file mode 100644 index 2228188cf3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,68 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Delta Collection Request Builder. - */ -public class BaseDriveItemDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDriveItemDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param token the token - */ - public BaseDriveItemDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String token) { - super(requestUrl, client, requestOptions); - if(token!=null){ - functionOptions.add(new FunctionOption("token", token)); - } - } - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDriveItemDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveItemDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - DriveItemDeltaCollectionRequest request = new DriveItemDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionResponse.java deleted file mode 100644 index d7c3d3f3678..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Delta Collection Response. - */ -public class BaseDriveItemDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionPage.java deleted file mode 100644 index 9d5929635b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Invite Collection Page. - */ -public class BaseDriveItemInviteCollectionPage extends BaseCollectionPage implements IBaseDriveItemInviteCollectionPage { - - /** - * A collection page for DriveItemInvite. - * - * @param response The serialized BaseDriveItemInviteCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDriveItemInviteCollectionPage(final BaseDriveItemInviteCollectionResponse response, final IDriveItemInviteCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequest.java deleted file mode 100644 index 3d589b30399..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Invite Collection Request. - */ -public class BaseDriveItemInviteCollectionRequest extends BaseCollectionRequest implements IBaseDriveItemInviteCollectionRequest { - - - protected final DriveItemInviteBody body; - - - /** - * The request for this DriveItemInvite - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemInviteCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveItemInviteCollectionResponse.class, IDriveItemInviteCollectionPage.class); - body = new DriveItemInviteBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveItemInviteCollectionPage post() throws ClientException { - final BaseDriveItemInviteCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IDriveItemInviteCollectionPage buildFromResponse(final BaseDriveItemInviteCollectionResponse response) { - final IDriveItemInviteCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveItemInviteCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* requireSignIn */ null, /* roles */ null, /* sendInvitation */ null, /* message */ null, /* recipients */ null); - } else { - builder = null; - } - final IDriveItemInviteCollectionPage page = new DriveItemInviteCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemInviteCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDriveItemInviteCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemInviteCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDriveItemInviteCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemInviteCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDriveItemInviteCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequestBuilder.java deleted file mode 100644 index 6e69a8022ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionRequestBuilder.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Invite Collection Request Builder. - */ -public class BaseDriveItemInviteCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseDriveItemInviteCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param requireSignIn the requireSignIn - * @param roles the roles - * @param sendInvitation the sendInvitation - * @param message the message - * @param recipients the recipients - */ - public BaseDriveItemInviteCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean requireSignIn, final java.util.List roles, final Boolean sendInvitation, final String message, final java.util.List recipients) { - super(requestUrl, client, requestOptions); - if(requireSignIn!=null){ - bodyParams.put("requireSignIn", requireSignIn); - } - if(roles!=null){ - bodyParams.put("roles", roles); - } - if(sendInvitation!=null){ - bodyParams.put("sendInvitation", sendInvitation); - } - if(message!=null){ - bodyParams.put("message", message); - } - if(recipients!=null){ - bodyParams.put("recipients", recipients); - } - } - - public IDriveItemInviteCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveItemInviteCollectionRequest buildRequest(final java.util.List requestOptions) { - DriveItemInviteCollectionRequest request = new DriveItemInviteCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("requireSignIn")) { - request.body.requireSignIn = getParameter("requireSignIn"); - } - if (hasParameter("roles")) { - request.body.roles = getParameter("roles"); - } - if (hasParameter("sendInvitation")) { - request.body.sendInvitation = getParameter("sendInvitation"); - } - if (hasParameter("message")) { - request.body.message = getParameter("message"); - } - if (hasParameter("recipients")) { - request.body.recipients = getParameter("recipients"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionResponse.java deleted file mode 100644 index 4e9943d1e9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemInviteCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Invite Collection Response. - */ -public class BaseDriveItemInviteCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequest.java deleted file mode 100644 index fd1582eb894..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemPreviewBody; -import com.microsoft.graph.models.extensions.ItemPreviewInfo; -import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; -import com.microsoft.graph.requests.extensions.DriveItemPreviewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Preview Request. - */ -public class BaseDriveItemPreviewRequest extends BaseRequest implements IBaseDriveItemPreviewRequest { - protected final DriveItemPreviewBody body; - - /** - * The request for this DriveItemPreview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemPreviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ItemPreviewInfo.class); - body = new DriveItemPreviewBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public ItemPreviewInfo post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemPreviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveItemPreviewRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemPreviewRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (DriveItemPreviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemPreviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveItemPreviewRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequestBuilder.java deleted file mode 100644 index 639654ba027..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemPreviewRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; -import com.microsoft.graph.requests.extensions.DriveItemPreviewRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Preview Request Builder. - */ -public class BaseDriveItemPreviewRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DriveItemPreview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param page the page - * @param zoom the zoom - */ - public BaseDriveItemPreviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String page, final Double zoom) { - super(requestUrl, client, requestOptions); - bodyParams.put("page", page); - bodyParams.put("zoom", zoom); - } - - /** - * Creates the IDriveItemPreviewRequest - * - * @return the IDriveItemPreviewRequest instance - */ - public IDriveItemPreviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDriveItemPreviewRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDriveItemPreviewRequest instance - */ - public IDriveItemPreviewRequest buildRequest(final java.util.List requestOptions) { - DriveItemPreviewRequest request = new DriveItemPreviewRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("page")) { - request.body.page = getParameter("page"); - } - - if (hasParameter("zoom")) { - request.body.zoom = getParameter("zoom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequest.java deleted file mode 100644 index 4722b60c1b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemRequest; -import com.microsoft.graph.requests.extensions.DriveItemRequest; -import com.microsoft.graph.models.extensions.DriveItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Request. - */ -public class BaseDriveItemRequest extends BaseRequest implements IBaseDriveItemRequest { - - /** - * The request for the DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDriveItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DriveItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DriveItem from the service - * - * @return the DriveItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DriveItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DriveItem with a source - * - * @param sourceDriveItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DriveItem sourceDriveItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDriveItem); - } - - /** - * Patches this DriveItem with a source - * - * @param sourceDriveItem the source object with updates - * @return the updated DriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DriveItem patch(final DriveItem sourceDriveItem) throws ClientException { - return send(HttpMethod.PATCH, sourceDriveItem); - } - - /** - * Creates a DriveItem with a new object - * - * @param newDriveItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DriveItem newDriveItem, final ICallback callback) { - send(HttpMethod.POST, callback, newDriveItem); - } - - /** - * Creates a DriveItem with a new object - * - * @param newDriveItem the new object to create - * @return the created DriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DriveItem post(final DriveItem newDriveItem) throws ClientException { - return send(HttpMethod.POST, newDriveItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequestBuilder.java deleted file mode 100644 index d5bb8e10489..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemRequestBuilder.java +++ /dev/null @@ -1,175 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemRequest; -import com.microsoft.graph.requests.extensions.DriveItemRequest; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IPermissionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PermissionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPermissionRequestBuilder; -import com.microsoft.graph.requests.extensions.PermissionRequestBuilder; -import com.microsoft.graph.requests.extensions.IThumbnailSetCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ThumbnailSetCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IThumbnailSetRequestBuilder; -import com.microsoft.graph.requests.extensions.ThumbnailSetRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemVersionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemVersionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemVersionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemStreamRequestBuilder; -import com.microsoft.graph.models.extensions.ItemReference; -import com.microsoft.graph.requests.extensions.IDriveItemCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCreateLinkRequestBuilder; -import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; -import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCreateUploadSessionRequestBuilder; -import com.microsoft.graph.models.extensions.DriveRecipient; -import com.microsoft.graph.requests.extensions.IDriveItemInviteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemInviteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemPreviewRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemDeltaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemDeltaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemSearchCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemSearchCollectionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Request Builder. - */ -public class BaseDriveItemRequestBuilder extends BaseRequestBuilder implements IBaseDriveItemRequestBuilder { - - /** - * The request builder for the DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDriveItemRequest instance - */ - public IDriveItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDriveItemRequest instance - */ - public IDriveItemRequest buildRequest(final java.util.List requestOptions) { - return new DriveItemRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDriveItemCollectionRequestBuilder children() { - return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("children"), getClient(), null); - } - - public IDriveItemRequestBuilder children(final String id) { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("children") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ListItem - * - * @return the IListItemRequestBuilder instance - */ - public IListItemRequestBuilder listItem() { - return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment("listItem"), getClient(), null); - } - public IPermissionCollectionRequestBuilder permissions() { - return new PermissionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("permissions"), getClient(), null); - } - - public IPermissionRequestBuilder permissions(final String id) { - return new PermissionRequestBuilder(getRequestUrlWithAdditionalSegment("permissions") + "/" + id, getClient(), null); - } - public IThumbnailSetCollectionRequestBuilder thumbnails() { - return new ThumbnailSetCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("thumbnails"), getClient(), null); - } - - public IThumbnailSetRequestBuilder thumbnails(final String id) { - return new ThumbnailSetRequestBuilder(getRequestUrlWithAdditionalSegment("thumbnails") + "/" + id, getClient(), null); - } - public IDriveItemVersionCollectionRequestBuilder versions() { - return new DriveItemVersionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("versions"), getClient(), null); - } - - public IDriveItemVersionRequestBuilder versions(final String id) { - return new DriveItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment("versions") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Workbook - * - * @return the IWorkbookRequestBuilder instance - */ - public IWorkbookRequestBuilder workbook() { - return new WorkbookRequestBuilder(getRequestUrlWithAdditionalSegment("workbook"), getClient(), null); - } - - public IDriveItemStreamRequestBuilder content() { - return new DriveItemStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); - } - - public IDriveItemCopyRequestBuilder copy(final String name, final ItemReference parentReference) { - return new DriveItemCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, name, parentReference); - } - - public IDriveItemCreateLinkRequestBuilder createLink(final String type, final String scope) { - return new DriveItemCreateLinkRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createLink"), getClient(), null, type, scope); - } - - public IDriveItemCreateUploadSessionRequestBuilder createUploadSession(final DriveItemUploadableProperties item) { - return new DriveItemCreateUploadSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createUploadSession"), getClient(), null, item); - } - - public IDriveItemInviteCollectionRequestBuilder invite(final Boolean requireSignIn, final java.util.List roles, final Boolean sendInvitation, final String message, final java.util.List recipients) { - return new DriveItemInviteCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.invite"), getClient(), null, requireSignIn, roles, sendInvitation, message, recipients); - } - - public IDriveItemPreviewRequestBuilder preview(final String page, final Double zoom) { - return new DriveItemPreviewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.preview"), getClient(), null, page, zoom); - } - - public IDriveItemDeltaCollectionRequestBuilder delta(final String token) { - return new DriveItemDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null, token); - } - - public IDriveItemDeltaCollectionRequestBuilder delta() { - return new DriveItemDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IDriveItemSearchCollectionRequestBuilder search(final String q) { - return new DriveItemSearchCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.search"), getClient(), null, q); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionPage.java deleted file mode 100644 index 65e68431c60..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Search Collection Page. - */ -public class BaseDriveItemSearchCollectionPage extends BaseCollectionPage implements IBaseDriveItemSearchCollectionPage { - - /** - * A collection page for DriveItemSearch. - * - * @param response The serialized BaseDriveItemSearchCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDriveItemSearchCollectionPage(final BaseDriveItemSearchCollectionResponse response, final IDriveItemSearchCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequest.java deleted file mode 100644 index 6bd6255c606..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Search Collection Request. - */ -public class BaseDriveItemSearchCollectionRequest extends BaseCollectionRequest implements IBaseDriveItemSearchCollectionRequest { - - - /** - * The request for this DriveItemSearch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemSearchCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveItemSearchCollectionResponse.class, IDriveItemSearchCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveItemSearchCollectionPage get() throws ClientException { - final BaseDriveItemSearchCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDriveItemSearchCollectionPage buildFromResponse(final BaseDriveItemSearchCollectionResponse response) { - final IDriveItemSearchCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveItemSearchCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* q */ null); - } else { - builder = null; - } - final IDriveItemSearchCollectionPage page = new DriveItemSearchCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemSearchCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDriveItemSearchCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemSearchCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDriveItemSearchCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemSearchCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDriveItemSearchCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequestBuilder.java deleted file mode 100644 index 570d5ec5ab0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Search Collection Request Builder. - */ -public class BaseDriveItemSearchCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDriveItemSearchCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param q the q - */ - public BaseDriveItemSearchCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String q) { - super(requestUrl, client, requestOptions); - if(q!=null){ - functionOptions.add(new FunctionOption("q", q)); - } - } - - public IDriveItemSearchCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveItemSearchCollectionRequest buildRequest(final java.util.List requestOptions) { - DriveItemSearchCollectionRequest request = new DriveItemSearchCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionResponse.java deleted file mode 100644 index 4756ca7ba58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemSearchCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Search Collection Response. - */ -public class BaseDriveItemSearchCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequest.java deleted file mode 100644 index bb5bb125099..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Stream Request. - */ -public class BaseDriveItemStreamRequest extends BaseStreamRequest implements IBaseDriveItemStreamRequest { - - /** - * The request for this DriveItemStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDriveItemStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public DriveItem put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequestBuilder.java deleted file mode 100644 index 9b15452a861..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemStreamRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemStreamRequest; -import com.microsoft.graph.requests.extensions.DriveItemStreamRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Stream Request Builder. - */ -public class BaseDriveItemStreamRequestBuilder extends BaseRequestBuilder implements IBaseDriveItemStreamRequestBuilder { - - /** - * The request builder for the DriveItemStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDriveItemStreamRequest instance - */ - public IDriveItemStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDriveItemStreamRequest instance - */ - public IDriveItemStreamRequest buildRequest(final java.util.List requestOptions) { - return new DriveItemStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionPage.java deleted file mode 100644 index 9124a579cac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemVersion; -import com.microsoft.graph.requests.extensions.IDriveItemVersionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Collection Page. - */ -public class BaseDriveItemVersionCollectionPage extends BaseCollectionPage implements IBaseDriveItemVersionCollectionPage { - - /** - * A collection page for DriveItemVersion - * - * @param response the serialized BaseDriveItemVersionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseDriveItemVersionCollectionPage(final BaseDriveItemVersionCollectionResponse response, final IDriveItemVersionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequest.java deleted file mode 100644 index dfb74c1d638..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Collection Request. - */ -public class BaseDriveItemVersionCollectionRequest extends BaseCollectionRequest implements IBaseDriveItemVersionCollectionRequest { - - /** - * The request builder for this collection of DriveItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemVersionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveItemVersionCollectionResponse.class, IDriveItemVersionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveItemVersionCollectionPage get() throws ClientException { - final BaseDriveItemVersionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final DriveItemVersion newDriveItemVersion, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new DriveItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDriveItemVersion, callback); - } - - public DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new DriveItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newDriveItemVersion); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemVersionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (DriveItemVersionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemVersionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (DriveItemVersionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveItemVersionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (DriveItemVersionCollectionRequest)this; - } - - public IDriveItemVersionCollectionPage buildFromResponse(final BaseDriveItemVersionCollectionResponse response) { - final IDriveItemVersionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveItemVersionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final DriveItemVersionCollectionPage page = new DriveItemVersionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequestBuilder.java deleted file mode 100644 index 815bac9ccfe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Collection Request Builder. - */ -public class BaseDriveItemVersionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseDriveItemVersionCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemVersionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDriveItemVersionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveItemVersionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new DriveItemVersionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDriveItemVersionRequestBuilder byId(final String id) { - return new DriveItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionResponse.java deleted file mode 100644 index d6ff9e55f3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemVersion; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Collection Response. - */ -public class BaseDriveItemVersionCollectionResponse implements IJsonBackedObject { - - /** - * The list of DriveItemVersion within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequest.java deleted file mode 100644 index f36552daf84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRequest; -import com.microsoft.graph.requests.extensions.DriveItemVersionRequest; -import com.microsoft.graph.models.extensions.DriveItemVersion; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Request. - */ -public class BaseDriveItemVersionRequest extends BaseRequest implements IBaseDriveItemVersionRequest { - - /** - * The request for the DriveItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDriveItemVersionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the DriveItemVersion from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the DriveItemVersion from the service - * - * @return the DriveItemVersion from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DriveItemVersion get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this DriveItemVersion with a source - * - * @param sourceDriveItemVersion the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final DriveItemVersion sourceDriveItemVersion, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDriveItemVersion); - } - - /** - * Patches this DriveItemVersion with a source - * - * @param sourceDriveItemVersion the source object with updates - * @return the updated DriveItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DriveItemVersion patch(final DriveItemVersion sourceDriveItemVersion) throws ClientException { - return send(HttpMethod.PATCH, sourceDriveItemVersion); - } - - /** - * Creates a DriveItemVersion with a new object - * - * @param newDriveItemVersion the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final DriveItemVersion newDriveItemVersion, final ICallback callback) { - send(HttpMethod.POST, callback, newDriveItemVersion); - } - - /** - * Creates a DriveItemVersion with a new object - * - * @param newDriveItemVersion the new object to create - * @return the created DriveItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException { - return send(HttpMethod.POST, newDriveItemVersion); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveItemVersionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveItemVersionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveItemVersionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveItemVersionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequestBuilder.java deleted file mode 100644 index 15f66552806..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRequest; -import com.microsoft.graph.requests.extensions.DriveItemVersionRequest; -import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemVersionStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemVersionRestoreVersionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Request Builder. - */ -public class BaseDriveItemVersionRequestBuilder extends BaseRequestBuilder implements IBaseDriveItemVersionRequestBuilder { - - /** - * The request builder for the DriveItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDriveItemVersionRequest instance - */ - public IDriveItemVersionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDriveItemVersionRequest instance - */ - public IDriveItemVersionRequest buildRequest(final java.util.List requestOptions) { - return new DriveItemVersionRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IDriveItemVersionStreamRequestBuilder content() { - return new DriveItemVersionStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); - } - - public IDriveItemVersionRestoreVersionRequestBuilder restoreVersion() { - return new DriveItemVersionRestoreVersionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restoreVersion"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequest.java deleted file mode 100644 index 697eee7f851..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.extensions.DriveItemVersionRestoreVersionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Restore Version Request. - */ -public class BaseDriveItemVersionRestoreVersionRequest extends BaseRequest implements IBaseDriveItemVersionRestoreVersionRequest { - - /** - * The request for this DriveItemVersionRestoreVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemVersionRestoreVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the DriveItemVersionRestoreVersion - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the DriveItemVersionRestoreVersion - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequestBuilder.java deleted file mode 100644 index 08b9704103f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionRestoreVersionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.extensions.DriveItemVersionRestoreVersionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Restore Version Request Builder. - */ -public class BaseDriveItemVersionRestoreVersionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this DriveItemVersionRestoreVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemVersionRestoreVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IDriveItemVersionRestoreVersionRequest - * - * @return the IDriveItemVersionRestoreVersionRequest instance - */ - public IDriveItemVersionRestoreVersionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IDriveItemVersionRestoreVersionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IDriveItemVersionRestoreVersionRequest instance - */ - public IDriveItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions) { - DriveItemVersionRestoreVersionRequest request = new DriveItemVersionRestoreVersionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequest.java deleted file mode 100644 index 9be8bc289ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Stream Request. - */ -public class BaseDriveItemVersionStreamRequest extends BaseStreamRequest implements IBaseDriveItemVersionStreamRequest { - - /** - * The request for this DriveItemVersionStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDriveItemVersionStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public DriveItemVersion put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequestBuilder.java deleted file mode 100644 index d3adb46f3f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveItemVersionStreamRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequest; -import com.microsoft.graph.requests.extensions.DriveItemVersionStreamRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Item Version Stream Request Builder. - */ -public class BaseDriveItemVersionStreamRequestBuilder extends BaseRequestBuilder implements IBaseDriveItemVersionStreamRequestBuilder { - - /** - * The request builder for the DriveItemVersionStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveItemVersionStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDriveItemVersionStreamRequest instance - */ - public IDriveItemVersionStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDriveItemVersionStreamRequest instance - */ - public IDriveItemVersionStreamRequest buildRequest(final java.util.List requestOptions) { - return new DriveItemVersionStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionPage.java deleted file mode 100644 index d3c757a982f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Recent Collection Page. - */ -public class BaseDriveRecentCollectionPage extends BaseCollectionPage implements IBaseDriveRecentCollectionPage { - - /** - * A collection page for DriveRecent. - * - * @param response The serialized BaseDriveRecentCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDriveRecentCollectionPage(final BaseDriveRecentCollectionResponse response, final IDriveRecentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequest.java deleted file mode 100644 index c38a4cace61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Recent Collection Request. - */ -public class BaseDriveRecentCollectionRequest extends BaseCollectionRequest implements IBaseDriveRecentCollectionRequest { - - - /** - * The request for this DriveRecent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveRecentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveRecentCollectionResponse.class, IDriveRecentCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveRecentCollectionPage get() throws ClientException { - final BaseDriveRecentCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDriveRecentCollectionPage buildFromResponse(final BaseDriveRecentCollectionResponse response) { - final IDriveRecentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveRecentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IDriveRecentCollectionPage page = new DriveRecentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveRecentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDriveRecentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveRecentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDriveRecentCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveRecentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDriveRecentCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequestBuilder.java deleted file mode 100644 index 16369bc12f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Recent Collection Request Builder. - */ -public class BaseDriveRecentCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDriveRecentCollectionRequestBuilder { - - /** - * The request builder for this collection of Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveRecentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDriveRecentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveRecentCollectionRequest buildRequest(final java.util.List requestOptions) { - DriveRecentCollectionRequest request = new DriveRecentCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionResponse.java deleted file mode 100644 index d55cdc8ba0d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRecentCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Recent Collection Response. - */ -public class BaseDriveRecentCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequest.java deleted file mode 100644 index 7ad9c288fe0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveRequest; -import com.microsoft.graph.requests.extensions.DriveRequest; -import com.microsoft.graph.models.extensions.Drive; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Request. - */ -public class BaseDriveRequest extends BaseRequest implements IBaseDriveRequest { - - /** - * The request for the Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseDriveRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Drive from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Drive from the service - * - * @return the Drive from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Drive get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Drive with a source - * - * @param sourceDrive the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Drive sourceDrive, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceDrive); - } - - /** - * Patches this Drive with a source - * - * @param sourceDrive the source object with updates - * @return the updated Drive - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Drive patch(final Drive sourceDrive) throws ClientException { - return send(HttpMethod.PATCH, sourceDrive); - } - - /** - * Creates a Drive with a new object - * - * @param newDrive the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Drive newDrive, final ICallback callback) { - send(HttpMethod.POST, callback, newDrive); - } - - /** - * Creates a Drive with a new object - * - * @param newDrive the new object to create - * @return the created Drive - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Drive post(final Drive newDrive) throws ClientException { - return send(HttpMethod.POST, newDrive); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (DriveRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (DriveRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequestBuilder.java deleted file mode 100644 index 4dc0b2604a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveRequestBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveRequest; -import com.microsoft.graph.requests.extensions.DriveRequest; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListRequestBuilder; -import com.microsoft.graph.requests.extensions.ListRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRecentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRecentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveSearchCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveSearchCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveSharedWithMeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveSharedWithMeCollectionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Request Builder. - */ -public class BaseDriveRequestBuilder extends BaseRequestBuilder implements IBaseDriveRequestBuilder { - - /** - * The request builder for the Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IDriveRequest instance - */ - public IDriveRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IDriveRequest instance - */ - public IDriveRequest buildRequest(final java.util.List requestOptions) { - return new DriveRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDriveItemCollectionRequestBuilder items() { - return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); - } - - public IDriveItemRequestBuilder items(final String id) { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for List - * - * @return the IListRequestBuilder instance - */ - public IListRequestBuilder list() { - return new ListRequestBuilder(getRequestUrlWithAdditionalSegment("list"), getClient(), null); - } - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - public IDriveItemRequestBuilder root() { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("root"), getClient(), null); - } - public IDriveItemCollectionRequestBuilder special() { - return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("special"), getClient(), null); - } - - public IDriveItemRequestBuilder special(final String id) { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("special") + "/" + id, getClient(), null); - } - - public IDriveRecentCollectionRequestBuilder recent() { - return new DriveRecentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.recent"), getClient(), null); - } - - public IDriveSearchCollectionRequestBuilder search(final String q) { - return new DriveSearchCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.search"), getClient(), null, q); - } - - public IDriveSharedWithMeCollectionRequestBuilder sharedWithMe() { - return new DriveSharedWithMeCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sharedWithMe"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionPage.java deleted file mode 100644 index 050a392ae2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Search Collection Page. - */ -public class BaseDriveSearchCollectionPage extends BaseCollectionPage implements IBaseDriveSearchCollectionPage { - - /** - * A collection page for DriveSearch. - * - * @param response The serialized BaseDriveSearchCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDriveSearchCollectionPage(final BaseDriveSearchCollectionResponse response, final IDriveSearchCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequest.java deleted file mode 100644 index a5cc225d658..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Search Collection Request. - */ -public class BaseDriveSearchCollectionRequest extends BaseCollectionRequest implements IBaseDriveSearchCollectionRequest { - - - /** - * The request for this DriveSearch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveSearchCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveSearchCollectionResponse.class, IDriveSearchCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveSearchCollectionPage get() throws ClientException { - final BaseDriveSearchCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDriveSearchCollectionPage buildFromResponse(final BaseDriveSearchCollectionResponse response) { - final IDriveSearchCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveSearchCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* q */ null); - } else { - builder = null; - } - final IDriveSearchCollectionPage page = new DriveSearchCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveSearchCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDriveSearchCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveSearchCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDriveSearchCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveSearchCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDriveSearchCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequestBuilder.java deleted file mode 100644 index 13823e8205c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Search Collection Request Builder. - */ -public class BaseDriveSearchCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDriveSearchCollectionRequestBuilder { - - /** - * The request builder for this collection of Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param q the q - */ - public BaseDriveSearchCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String q) { - super(requestUrl, client, requestOptions); - if(q!=null){ - functionOptions.add(new FunctionOption("q", q)); - } - } - - public IDriveSearchCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveSearchCollectionRequest buildRequest(final java.util.List requestOptions) { - DriveSearchCollectionRequest request = new DriveSearchCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionResponse.java deleted file mode 100644 index 4225be63ccc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSearchCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Search Collection Response. - */ -public class BaseDriveSearchCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionPage.java deleted file mode 100644 index b4ea5dea12c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Shared With Me Collection Page. - */ -public class BaseDriveSharedWithMeCollectionPage extends BaseCollectionPage implements IBaseDriveSharedWithMeCollectionPage { - - /** - * A collection page for DriveSharedWithMe. - * - * @param response The serialized BaseDriveSharedWithMeCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseDriveSharedWithMeCollectionPage(final BaseDriveSharedWithMeCollectionResponse response, final IDriveSharedWithMeCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequest.java deleted file mode 100644 index fafa06b61d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Shared With Me Collection Request. - */ -public class BaseDriveSharedWithMeCollectionRequest extends BaseCollectionRequest implements IBaseDriveSharedWithMeCollectionRequest { - - - /** - * The request for this DriveSharedWithMe - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveSharedWithMeCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseDriveSharedWithMeCollectionResponse.class, IDriveSharedWithMeCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IDriveSharedWithMeCollectionPage get() throws ClientException { - final BaseDriveSharedWithMeCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IDriveSharedWithMeCollectionPage buildFromResponse(final BaseDriveSharedWithMeCollectionResponse response) { - final IDriveSharedWithMeCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new DriveSharedWithMeCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IDriveSharedWithMeCollectionPage page = new DriveSharedWithMeCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IDriveSharedWithMeCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IDriveSharedWithMeCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IDriveSharedWithMeCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IDriveSharedWithMeCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IDriveSharedWithMeCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IDriveSharedWithMeCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequestBuilder.java deleted file mode 100644 index 55020a31715..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Shared With Me Collection Request Builder. - */ -public class BaseDriveSharedWithMeCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseDriveSharedWithMeCollectionRequestBuilder { - - /** - * The request builder for this collection of Drive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseDriveSharedWithMeCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IDriveSharedWithMeCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IDriveSharedWithMeCollectionRequest buildRequest(final java.util.List requestOptions) { - DriveSharedWithMeCollectionRequest request = new DriveSharedWithMeCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionResponse.java deleted file mode 100644 index 23b4c875beb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseDriveSharedWithMeCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Drive Shared With Me Collection Response. - */ -public class BaseDriveSharedWithMeCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequest.java deleted file mode 100644 index f5b952287d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequest; -import com.microsoft.graph.requests.extensions.EBookInstallSummaryRequest; -import com.microsoft.graph.models.extensions.EBookInstallSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base EBook Install Summary Request. - */ -public class BaseEBookInstallSummaryRequest extends BaseRequest implements IBaseEBookInstallSummaryRequest { - - /** - * The request for the EBookInstallSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEBookInstallSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EBookInstallSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EBookInstallSummary from the service - * - * @return the EBookInstallSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EBookInstallSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EBookInstallSummary with a source - * - * @param sourceEBookInstallSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EBookInstallSummary sourceEBookInstallSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEBookInstallSummary); - } - - /** - * Patches this EBookInstallSummary with a source - * - * @param sourceEBookInstallSummary the source object with updates - * @return the updated EBookInstallSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EBookInstallSummary patch(final EBookInstallSummary sourceEBookInstallSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceEBookInstallSummary); - } - - /** - * Creates a EBookInstallSummary with a new object - * - * @param newEBookInstallSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EBookInstallSummary newEBookInstallSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newEBookInstallSummary); - } - - /** - * Creates a EBookInstallSummary with a new object - * - * @param newEBookInstallSummary the new object to create - * @return the created EBookInstallSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EBookInstallSummary post(final EBookInstallSummary newEBookInstallSummary) throws ClientException { - return send(HttpMethod.POST, newEBookInstallSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEBookInstallSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EBookInstallSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEBookInstallSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EBookInstallSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequestBuilder.java deleted file mode 100644 index 4606d8ebf7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEBookInstallSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequest; -import com.microsoft.graph.requests.extensions.EBookInstallSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base EBook Install Summary Request Builder. - */ -public class BaseEBookInstallSummaryRequestBuilder extends BaseRequestBuilder implements IBaseEBookInstallSummaryRequestBuilder { - - /** - * The request builder for the EBookInstallSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEBookInstallSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEBookInstallSummaryRequest instance - */ - public IEBookInstallSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEBookInstallSummaryRequest instance - */ - public IEBookInstallSummaryRequest buildRequest(final java.util.List requestOptions) { - return new EBookInstallSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequest.java deleted file mode 100644 index 5b5fe272209..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEditionUpgradeConfigurationRequest; -import com.microsoft.graph.requests.extensions.EditionUpgradeConfigurationRequest; -import com.microsoft.graph.models.extensions.EditionUpgradeConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Edition Upgrade Configuration Request. - */ -public class BaseEditionUpgradeConfigurationRequest extends BaseRequest implements IBaseEditionUpgradeConfigurationRequest { - - /** - * The request for the EditionUpgradeConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEditionUpgradeConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EditionUpgradeConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EditionUpgradeConfiguration from the service - * - * @return the EditionUpgradeConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EditionUpgradeConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EditionUpgradeConfiguration with a source - * - * @param sourceEditionUpgradeConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEditionUpgradeConfiguration); - } - - /** - * Patches this EditionUpgradeConfiguration with a source - * - * @param sourceEditionUpgradeConfiguration the source object with updates - * @return the updated EditionUpgradeConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EditionUpgradeConfiguration patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceEditionUpgradeConfiguration); - } - - /** - * Creates a EditionUpgradeConfiguration with a new object - * - * @param newEditionUpgradeConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newEditionUpgradeConfiguration); - } - - /** - * Creates a EditionUpgradeConfiguration with a new object - * - * @param newEditionUpgradeConfiguration the new object to create - * @return the created EditionUpgradeConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EditionUpgradeConfiguration post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException { - return send(HttpMethod.POST, newEditionUpgradeConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEditionUpgradeConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EditionUpgradeConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEditionUpgradeConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EditionUpgradeConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequestBuilder.java deleted file mode 100644 index 8401c806a72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEditionUpgradeConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEditionUpgradeConfigurationRequest; -import com.microsoft.graph.requests.extensions.EditionUpgradeConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Edition Upgrade Configuration Request Builder. - */ -public class BaseEditionUpgradeConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseEditionUpgradeConfigurationRequestBuilder { - - /** - * The request builder for the EditionUpgradeConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEditionUpgradeConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEditionUpgradeConfigurationRequest instance - */ - public IEditionUpgradeConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEditionUpgradeConfigurationRequest instance - */ - public IEditionUpgradeConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new EditionUpgradeConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionPage.java deleted file mode 100644 index 10364b8cb9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationClass; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection Page. - */ -public class BaseEducationClassCollectionPage extends BaseCollectionPage implements IBaseEducationClassCollectionPage { - - /** - * A collection page for EducationClass - * - * @param response the serialized BaseEducationClassCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEducationClassCollectionPage(final BaseEducationClassCollectionResponse response, final IEducationClassCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequest.java deleted file mode 100644 index 6ad9273fae3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection Reference Request. - */ -public class BaseEducationClassCollectionReferenceRequest extends BaseCollectionRequest implements IBaseEducationClassCollectionReferenceRequest { - - /** - * The request builder for this collection of EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationClassCollectionResponse.class, IEducationClassCollectionPage.class); - } - - public void post(final EducationClass newEducationClass, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/classes/" + newEducationClass.id); - new EducationClassWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationClass, body, callback); - } - - public EducationClass post(final EducationClass newEducationClass) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/classes/" + newEducationClass.id); - return new EducationClassWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationClass, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationClassCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationClassCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationClassCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationClassCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEducationClassCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationClassCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequestBuilder.java deleted file mode 100644 index 867dc589bc5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection Reference Request Builder. - */ -public class BaseEducationClassCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationClassCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationClassCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationClassCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationClassCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequest.java deleted file mode 100644 index 922778dffea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection Request. - */ -public class BaseEducationClassCollectionRequest extends BaseCollectionRequest implements IBaseEducationClassCollectionRequest { - - /** - * The request builder for this collection of EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationClassCollectionResponse.class, IEducationClassCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEducationClassCollectionPage get() throws ClientException { - final BaseEducationClassCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final EducationClass newEducationClass, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new EducationClassRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationClass, callback); - } - - public EducationClass post(final EducationClass newEducationClass) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new EducationClassRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationClass); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationClassCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationClassCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationClassCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationClassCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEducationClassCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationClassCollectionRequest)this; - } - - public IEducationClassCollectionPage buildFromResponse(final BaseEducationClassCollectionResponse response) { - final IEducationClassCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new EducationClassCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EducationClassCollectionPage page = new EducationClassCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequestBuilder.java deleted file mode 100644 index 729f968c54a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection Request Builder. - */ -public class BaseEducationClassCollectionRequestBuilder extends BaseRequestBuilder implements IBaseEducationClassCollectionRequestBuilder { - - /** - * The request builder for this collection of EducationRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationClassCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationClassCollectionRequest buildRequest(final java.util.List requestOptions) { - return new EducationClassCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationClassRequestBuilder byId(final String id) { - return new EducationClassRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionResponse.java deleted file mode 100644 index 8c9a5092a4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationClass; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection Response. - */ -public class BaseEducationClassCollectionResponse implements IJsonBackedObject { - - /** - * The list of EducationClass within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesPage.java deleted file mode 100644 index 53975fd86aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection With References Page. - */ -public class BaseEducationClassCollectionWithReferencesPage extends BaseCollectionPage implements IBaseEducationClassCollectionWithReferencesPage { - - /** - * A collection page for EducationClass - * - * @param response the serialized BaseEducationClassCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEducationClassCollectionWithReferencesPage(final BaseEducationClassCollectionResponse response, final IEducationClassCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequest.java deleted file mode 100644 index 069d87cda5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection With References Request. - */ -public class BaseEducationClassCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseEducationClassCollectionWithReferencesRequest { - - /** - * The request builder for this collection of EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationClassCollectionResponse.class, IEducationClassCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEducationClassCollectionWithReferencesPage get() throws ClientException { - final BaseEducationClassCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IEducationClassCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationClassCollectionWithReferencesRequest)this; - } - - public IEducationClassCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationClassCollectionWithReferencesRequest)this; - } - - public IEducationClassCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationClassCollectionWithReferencesRequest)this; - } - - public IEducationClassCollectionWithReferencesPage buildFromResponse(final BaseEducationClassCollectionResponse response) { - final IEducationClassCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new EducationClassCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EducationClassCollectionWithReferencesPage page = new EducationClassCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index add26f5ac46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Collection With References Request Builder. - */ -public class BaseEducationClassCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseEducationClassCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationClassCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationClassCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new EducationClassCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationClassWithReferenceRequestBuilder byId(final String id) { - return new EducationClassWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IEducationClassCollectionReferenceRequestBuilder references(){ - return new EducationClassCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequest.java deleted file mode 100644 index 9d3e0fc82bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Reference Request. - */ -public class BaseEducationClassReferenceRequest extends BaseRequest implements IBaseEducationClassReferenceRequest { - - /** - * The request for the EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, EducationClass.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public EducationClass delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationClassReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationClassReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationClassReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationClassReferenceRequest)this; - } - /** - * Puts the EducationClass - * - * @param srcEducationClass the EducationClass reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(EducationClass srcEducationClass, final ICallback callback) { - send(HttpMethod.PUT, callback, srcEducationClass); - } - - /** - * Puts the EducationClass - * - * @param srcEducationClass the EducationClass reference to PUT - * @return the EducationClass - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public EducationClass put(EducationClass srcEducationClass) throws ClientException { - return send(HttpMethod.PUT, srcEducationClass); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequestBuilder.java deleted file mode 100644 index c77cfd0c1e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Reference Request Builder. - */ -public class BaseEducationClassReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationClassReferenceRequestBuilder { - - /** - * The request builder for the EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IEducationClassReferenceRequest instance - */ - public IEducationClassReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationClassReferenceRequest instance - */ - public IEducationClassReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationClassReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequest.java deleted file mode 100644 index 47c71175b4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationClassRequest; -import com.microsoft.graph.requests.extensions.EducationClassRequest; -import com.microsoft.graph.models.extensions.EducationClass; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Request. - */ -public class BaseEducationClassRequest extends BaseRequest implements IBaseEducationClassRequest { - - /** - * The request for the EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEducationClassRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EducationClass from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EducationClass from the service - * - * @return the EducationClass from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationClass get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EducationClass with a source - * - * @param sourceEducationClass the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EducationClass sourceEducationClass, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationClass); - } - - /** - * Patches this EducationClass with a source - * - * @param sourceEducationClass the source object with updates - * @return the updated EducationClass - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationClass patch(final EducationClass sourceEducationClass) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationClass); - } - - /** - * Creates a EducationClass with a new object - * - * @param newEducationClass the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EducationClass newEducationClass, final ICallback callback) { - send(HttpMethod.POST, callback, newEducationClass); - } - - /** - * Creates a EducationClass with a new object - * - * @param newEducationClass the new object to create - * @return the created EducationClass - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationClass post(final EducationClass newEducationClass) throws ClientException { - return send(HttpMethod.POST, newEducationClass); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationClassRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationClassRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationClassRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationClassRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequestBuilder.java deleted file mode 100644 index fa252557e12..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationClassRequest; -import com.microsoft.graph.requests.extensions.EducationClassRequest; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationSchoolCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationSchoolWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class Request Builder. - */ -public class BaseEducationClassRequestBuilder extends BaseRequestBuilder implements IBaseEducationClassRequestBuilder { - - /** - * The request builder for the EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationClassRequest instance - */ - public IEducationClassRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationClassRequest instance - */ - public IEducationClassRequest buildRequest(final java.util.List requestOptions) { - return new EducationClassRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationSchoolCollectionWithReferencesRequestBuilder schools() { - return new EducationSchoolCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("schools"), getClient(), null); - } - - public IEducationSchoolWithReferenceRequestBuilder schools(final String id) { - return new EducationSchoolWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("schools") + "/" + id, getClient(), null); - } - public IEducationUserCollectionWithReferencesRequestBuilder members() { - return new EducationUserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); - } - - public IEducationUserWithReferenceRequestBuilder members(final String id) { - return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); - } - public IEducationUserCollectionWithReferencesRequestBuilder teachers() { - return new EducationUserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("teachers"), getClient(), null); - } - - public IEducationUserWithReferenceRequestBuilder teachers(final String id) { - return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teachers") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Group - * - * @return the IGroupWithReferenceRequestBuilder instance - */ - public IGroupWithReferenceRequestBuilder group() { - return new GroupWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("group"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequest.java deleted file mode 100644 index 94c9bccc6ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class With Reference Request. - */ -public class BaseEducationClassWithReferenceRequest extends BaseRequest implements IBaseEducationClassWithReferenceRequest { - - /** - * The request for the EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, EducationClass.class); - } - - public void post(final EducationClass newEducationClass, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public EducationClass post(final EducationClass newEducationClass, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newEducationClass; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public EducationClass get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final EducationClass sourceEducationClass, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationClass); - } - - public EducationClass patch(final EducationClass sourceEducationClass) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationClass); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationClassWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IEducationClassWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationClassWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationClassWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequestBuilder.java deleted file mode 100644 index ce08e02e781..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationClassWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Class With Reference Request Builder. - */ -public class BaseEducationClassWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationClassWithReferenceRequestBuilder { - - /** - * The request builder for the EducationClass - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationClassWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationClassWithReferenceRequest instance - */ - public IEducationClassWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationClassWithReferenceRequest instance - */ - public IEducationClassWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationClassWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationClassReferenceRequestBuilder reference(){ - return new EducationClassReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequest.java deleted file mode 100644 index a268ae36078..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationOrganizationRequest; -import com.microsoft.graph.requests.extensions.EducationOrganizationRequest; -import com.microsoft.graph.models.extensions.EducationOrganization; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Organization Request. - */ -public class BaseEducationOrganizationRequest extends BaseRequest implements IBaseEducationOrganizationRequest { - - /** - * The request for the EducationOrganization - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEducationOrganizationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EducationOrganization from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EducationOrganization from the service - * - * @return the EducationOrganization from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationOrganization get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EducationOrganization with a source - * - * @param sourceEducationOrganization the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EducationOrganization sourceEducationOrganization, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationOrganization); - } - - /** - * Patches this EducationOrganization with a source - * - * @param sourceEducationOrganization the source object with updates - * @return the updated EducationOrganization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationOrganization patch(final EducationOrganization sourceEducationOrganization) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationOrganization); - } - - /** - * Creates a EducationOrganization with a new object - * - * @param newEducationOrganization the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EducationOrganization newEducationOrganization, final ICallback callback) { - send(HttpMethod.POST, callback, newEducationOrganization); - } - - /** - * Creates a EducationOrganization with a new object - * - * @param newEducationOrganization the new object to create - * @return the created EducationOrganization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationOrganization post(final EducationOrganization newEducationOrganization) throws ClientException { - return send(HttpMethod.POST, newEducationOrganization); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationOrganizationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationOrganizationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationOrganizationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationOrganizationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequestBuilder.java deleted file mode 100644 index 71178c04b5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationOrganizationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationOrganizationRequest; -import com.microsoft.graph.requests.extensions.EducationOrganizationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Organization Request Builder. - */ -public class BaseEducationOrganizationRequestBuilder extends BaseRequestBuilder implements IBaseEducationOrganizationRequestBuilder { - - /** - * The request builder for the EducationOrganization - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationOrganizationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationOrganizationRequest instance - */ - public IEducationOrganizationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationOrganizationRequest instance - */ - public IEducationOrganizationRequest buildRequest(final java.util.List requestOptions) { - return new EducationOrganizationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequest.java deleted file mode 100644 index 05de65b708e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationRootRequest; -import com.microsoft.graph.requests.extensions.EducationRootRequest; -import com.microsoft.graph.models.extensions.EducationRoot; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Root Request. - */ -public class BaseEducationRootRequest extends BaseRequest implements IBaseEducationRootRequest { - - /** - * The request for the EducationRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEducationRootRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EducationRoot from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EducationRoot from the service - * - * @return the EducationRoot from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationRoot get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EducationRoot with a source - * - * @param sourceEducationRoot the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EducationRoot sourceEducationRoot, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationRoot); - } - - /** - * Patches this EducationRoot with a source - * - * @param sourceEducationRoot the source object with updates - * @return the updated EducationRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationRoot patch(final EducationRoot sourceEducationRoot) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationRoot); - } - - /** - * Creates a EducationRoot with a new object - * - * @param newEducationRoot the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EducationRoot newEducationRoot, final ICallback callback) { - send(HttpMethod.POST, callback, newEducationRoot); - } - - /** - * Creates a EducationRoot with a new object - * - * @param newEducationRoot the new object to create - * @return the created EducationRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationRoot post(final EducationRoot newEducationRoot) throws ClientException { - return send(HttpMethod.POST, newEducationRoot); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationRootRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationRootRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationRootRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationRootRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequestBuilder.java deleted file mode 100644 index 6a97ee40431..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationRootRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationRootRequest; -import com.microsoft.graph.requests.extensions.EducationRootRequest; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationClassCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationClassRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationSchoolCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationSchoolRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education Root Request Builder. - */ -public class BaseEducationRootRequestBuilder extends BaseRequestBuilder implements IBaseEducationRootRequestBuilder { - - /** - * The request builder for the EducationRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationRootRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationRootRequest instance - */ - public IEducationRootRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationRootRequest instance - */ - public IEducationRootRequest buildRequest(final java.util.List requestOptions) { - return new EducationRootRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationClassCollectionRequestBuilder classes() { - return new EducationClassCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("classes"), getClient(), null); - } - - public IEducationClassRequestBuilder classes(final String id) { - return new EducationClassRequestBuilder(getRequestUrlWithAdditionalSegment("classes") + "/" + id, getClient(), null); - } - public IEducationSchoolCollectionRequestBuilder schools() { - return new EducationSchoolCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("schools"), getClient(), null); - } - - public IEducationSchoolRequestBuilder schools(final String id) { - return new EducationSchoolRequestBuilder(getRequestUrlWithAdditionalSegment("schools") + "/" + id, getClient(), null); - } - public IEducationUserCollectionRequestBuilder users() { - return new EducationUserCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("users"), getClient(), null); - } - - public IEducationUserRequestBuilder users(final String id) { - return new EducationUserRequestBuilder(getRequestUrlWithAdditionalSegment("users") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for EducationUser - * - * @return the IEducationUserRequestBuilder instance - */ - public IEducationUserRequestBuilder me() { - return new EducationUserRequestBuilder(getRequestUrlWithAdditionalSegment("me"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionPage.java deleted file mode 100644 index 3389a498096..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationSchool; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection Page. - */ -public class BaseEducationSchoolCollectionPage extends BaseCollectionPage implements IBaseEducationSchoolCollectionPage { - - /** - * A collection page for EducationSchool - * - * @param response the serialized BaseEducationSchoolCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEducationSchoolCollectionPage(final BaseEducationSchoolCollectionResponse response, final IEducationSchoolCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequest.java deleted file mode 100644 index aa4f19f3b3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection Reference Request. - */ -public class BaseEducationSchoolCollectionReferenceRequest extends BaseCollectionRequest implements IBaseEducationSchoolCollectionReferenceRequest { - - /** - * The request builder for this collection of EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationSchoolCollectionResponse.class, IEducationSchoolCollectionPage.class); - } - - public void post(final EducationSchool newEducationSchool, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/schools/" + newEducationSchool.id); - new EducationSchoolWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationSchool, body, callback); - } - - public EducationSchool post(final EducationSchool newEducationSchool) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/schools/" + newEducationSchool.id); - return new EducationSchoolWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationSchool, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationSchoolCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationSchoolCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationSchoolCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationSchoolCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEducationSchoolCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationSchoolCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequestBuilder.java deleted file mode 100644 index b4a8df7c961..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection Reference Request Builder. - */ -public class BaseEducationSchoolCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationSchoolCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationSchoolCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationSchoolCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationSchoolCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequest.java deleted file mode 100644 index d757a32a53b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection Request. - */ -public class BaseEducationSchoolCollectionRequest extends BaseCollectionRequest implements IBaseEducationSchoolCollectionRequest { - - /** - * The request builder for this collection of EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationSchoolCollectionResponse.class, IEducationSchoolCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEducationSchoolCollectionPage get() throws ClientException { - final BaseEducationSchoolCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final EducationSchool newEducationSchool, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new EducationSchoolRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationSchool, callback); - } - - public EducationSchool post(final EducationSchool newEducationSchool) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new EducationSchoolRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationSchool); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationSchoolCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationSchoolCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationSchoolCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationSchoolCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEducationSchoolCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationSchoolCollectionRequest)this; - } - - public IEducationSchoolCollectionPage buildFromResponse(final BaseEducationSchoolCollectionResponse response) { - final IEducationSchoolCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new EducationSchoolCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EducationSchoolCollectionPage page = new EducationSchoolCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequestBuilder.java deleted file mode 100644 index 1297b885a5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection Request Builder. - */ -public class BaseEducationSchoolCollectionRequestBuilder extends BaseRequestBuilder implements IBaseEducationSchoolCollectionRequestBuilder { - - /** - * The request builder for this collection of EducationRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationSchoolCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationSchoolCollectionRequest buildRequest(final java.util.List requestOptions) { - return new EducationSchoolCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationSchoolRequestBuilder byId(final String id) { - return new EducationSchoolRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionResponse.java deleted file mode 100644 index fe81bc1d991..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationSchool; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection Response. - */ -public class BaseEducationSchoolCollectionResponse implements IJsonBackedObject { - - /** - * The list of EducationSchool within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesPage.java deleted file mode 100644 index 37818410691..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection With References Page. - */ -public class BaseEducationSchoolCollectionWithReferencesPage extends BaseCollectionPage implements IBaseEducationSchoolCollectionWithReferencesPage { - - /** - * A collection page for EducationSchool - * - * @param response the serialized BaseEducationSchoolCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEducationSchoolCollectionWithReferencesPage(final BaseEducationSchoolCollectionResponse response, final IEducationSchoolCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequest.java deleted file mode 100644 index dc158c35cef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection With References Request. - */ -public class BaseEducationSchoolCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseEducationSchoolCollectionWithReferencesRequest { - - /** - * The request builder for this collection of EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationSchoolCollectionResponse.class, IEducationSchoolCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEducationSchoolCollectionWithReferencesPage get() throws ClientException { - final BaseEducationSchoolCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IEducationSchoolCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationSchoolCollectionWithReferencesRequest)this; - } - - public IEducationSchoolCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationSchoolCollectionWithReferencesRequest)this; - } - - public IEducationSchoolCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationSchoolCollectionWithReferencesRequest)this; - } - - public IEducationSchoolCollectionWithReferencesPage buildFromResponse(final BaseEducationSchoolCollectionResponse response) { - final IEducationSchoolCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new EducationSchoolCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EducationSchoolCollectionWithReferencesPage page = new EducationSchoolCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 2c7758d06d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Collection With References Request Builder. - */ -public class BaseEducationSchoolCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseEducationSchoolCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationSchoolCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationSchoolCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new EducationSchoolCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationSchoolWithReferenceRequestBuilder byId(final String id) { - return new EducationSchoolWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IEducationSchoolCollectionReferenceRequestBuilder references(){ - return new EducationSchoolCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequest.java deleted file mode 100644 index f349611991e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Reference Request. - */ -public class BaseEducationSchoolReferenceRequest extends BaseRequest implements IBaseEducationSchoolReferenceRequest { - - /** - * The request for the EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, EducationSchool.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public EducationSchool delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationSchoolReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationSchoolReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationSchoolReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationSchoolReferenceRequest)this; - } - /** - * Puts the EducationSchool - * - * @param srcEducationSchool the EducationSchool reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(EducationSchool srcEducationSchool, final ICallback callback) { - send(HttpMethod.PUT, callback, srcEducationSchool); - } - - /** - * Puts the EducationSchool - * - * @param srcEducationSchool the EducationSchool reference to PUT - * @return the EducationSchool - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public EducationSchool put(EducationSchool srcEducationSchool) throws ClientException { - return send(HttpMethod.PUT, srcEducationSchool); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequestBuilder.java deleted file mode 100644 index 3cffb712271..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Reference Request Builder. - */ -public class BaseEducationSchoolReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationSchoolReferenceRequestBuilder { - - /** - * The request builder for the EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IEducationSchoolReferenceRequest instance - */ - public IEducationSchoolReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationSchoolReferenceRequest instance - */ - public IEducationSchoolReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationSchoolReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequest.java deleted file mode 100644 index 843b8090085..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationSchoolRequest; -import com.microsoft.graph.requests.extensions.EducationSchoolRequest; -import com.microsoft.graph.models.extensions.EducationSchool; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Request. - */ -public class BaseEducationSchoolRequest extends BaseRequest implements IBaseEducationSchoolRequest { - - /** - * The request for the EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEducationSchoolRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EducationSchool from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EducationSchool from the service - * - * @return the EducationSchool from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationSchool get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EducationSchool with a source - * - * @param sourceEducationSchool the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EducationSchool sourceEducationSchool, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationSchool); - } - - /** - * Patches this EducationSchool with a source - * - * @param sourceEducationSchool the source object with updates - * @return the updated EducationSchool - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationSchool); - } - - /** - * Creates a EducationSchool with a new object - * - * @param newEducationSchool the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EducationSchool newEducationSchool, final ICallback callback) { - send(HttpMethod.POST, callback, newEducationSchool); - } - - /** - * Creates a EducationSchool with a new object - * - * @param newEducationSchool the new object to create - * @return the created EducationSchool - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationSchool post(final EducationSchool newEducationSchool) throws ClientException { - return send(HttpMethod.POST, newEducationSchool); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationSchoolRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationSchoolRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationSchoolRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationSchoolRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequestBuilder.java deleted file mode 100644 index 7ba0b970178..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationSchoolRequest; -import com.microsoft.graph.requests.extensions.EducationSchoolRequest; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationClassCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationClassWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationUserWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School Request Builder. - */ -public class BaseEducationSchoolRequestBuilder extends BaseRequestBuilder implements IBaseEducationSchoolRequestBuilder { - - /** - * The request builder for the EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationSchoolRequest instance - */ - public IEducationSchoolRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationSchoolRequest instance - */ - public IEducationSchoolRequest buildRequest(final java.util.List requestOptions) { - return new EducationSchoolRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationClassCollectionWithReferencesRequestBuilder classes() { - return new EducationClassCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("classes"), getClient(), null); - } - - public IEducationClassWithReferenceRequestBuilder classes(final String id) { - return new EducationClassWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("classes") + "/" + id, getClient(), null); - } - public IEducationUserCollectionWithReferencesRequestBuilder users() { - return new EducationUserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("users"), getClient(), null); - } - - public IEducationUserWithReferenceRequestBuilder users(final String id) { - return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("users") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequest.java deleted file mode 100644 index dd336bc3e98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School With Reference Request. - */ -public class BaseEducationSchoolWithReferenceRequest extends BaseRequest implements IBaseEducationSchoolWithReferenceRequest { - - /** - * The request for the EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, EducationSchool.class); - } - - public void post(final EducationSchool newEducationSchool, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public EducationSchool post(final EducationSchool newEducationSchool, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newEducationSchool; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public EducationSchool get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final EducationSchool sourceEducationSchool, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationSchool); - } - - public EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationSchool); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationSchoolWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IEducationSchoolWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationSchoolWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationSchoolWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequestBuilder.java deleted file mode 100644 index 2cc7f26858e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationSchoolWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education School With Reference Request Builder. - */ -public class BaseEducationSchoolWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationSchoolWithReferenceRequestBuilder { - - /** - * The request builder for the EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationSchoolWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationSchoolWithReferenceRequest instance - */ - public IEducationSchoolWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationSchoolWithReferenceRequest instance - */ - public IEducationSchoolWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationSchoolWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationSchoolReferenceRequestBuilder reference(){ - return new EducationSchoolReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionPage.java deleted file mode 100644 index 7e08ffb954b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationUser; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection Page. - */ -public class BaseEducationUserCollectionPage extends BaseCollectionPage implements IBaseEducationUserCollectionPage { - - /** - * A collection page for EducationUser - * - * @param response the serialized BaseEducationUserCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEducationUserCollectionPage(final BaseEducationUserCollectionResponse response, final IEducationUserCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequest.java deleted file mode 100644 index 228dc84e011..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection Reference Request. - */ -public class BaseEducationUserCollectionReferenceRequest extends BaseCollectionRequest implements IBaseEducationUserCollectionReferenceRequest { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationUserCollectionResponse.class, IEducationUserCollectionPage.class); - } - - public void post(final EducationUser newEducationUser, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/users/" + newEducationUser.id); - new EducationUserWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationUser, body, callback); - } - - public EducationUser post(final EducationUser newEducationUser) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/education/users/" + newEducationUser.id); - return new EducationUserWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationUser, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationUserCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationUserCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationUserCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationUserCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEducationUserCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationUserCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequestBuilder.java deleted file mode 100644 index c6cffa952df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection Reference Request Builder. - */ -public class BaseEducationUserCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationUserCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationUserCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationUserCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationUserCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequest.java deleted file mode 100644 index 7ddaf757842..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection Request. - */ -public class BaseEducationUserCollectionRequest extends BaseCollectionRequest implements IBaseEducationUserCollectionRequest { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationUserCollectionResponse.class, IEducationUserCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEducationUserCollectionPage get() throws ClientException { - final BaseEducationUserCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final EducationUser newEducationUser, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new EducationUserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationUser, callback); - } - - public EducationUser post(final EducationUser newEducationUser) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new EducationUserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEducationUser); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationUserCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationUserCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationUserCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationUserCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEducationUserCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationUserCollectionRequest)this; - } - - public IEducationUserCollectionPage buildFromResponse(final BaseEducationUserCollectionResponse response) { - final IEducationUserCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new EducationUserCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EducationUserCollectionPage page = new EducationUserCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequestBuilder.java deleted file mode 100644 index 26a207ef9c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection Request Builder. - */ -public class BaseEducationUserCollectionRequestBuilder extends BaseRequestBuilder implements IBaseEducationUserCollectionRequestBuilder { - - /** - * The request builder for this collection of EducationRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationUserCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationUserCollectionRequest buildRequest(final java.util.List requestOptions) { - return new EducationUserCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationUserRequestBuilder byId(final String id) { - return new EducationUserRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionResponse.java deleted file mode 100644 index 9ff160975e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationUser; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection Response. - */ -public class BaseEducationUserCollectionResponse implements IJsonBackedObject { - - /** - * The list of EducationUser within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesPage.java deleted file mode 100644 index b3f4af7a36d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection With References Page. - */ -public class BaseEducationUserCollectionWithReferencesPage extends BaseCollectionPage implements IBaseEducationUserCollectionWithReferencesPage { - - /** - * A collection page for EducationUser - * - * @param response the serialized BaseEducationUserCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEducationUserCollectionWithReferencesPage(final BaseEducationUserCollectionResponse response, final IEducationUserCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequest.java deleted file mode 100644 index 6fb7dc3fe4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection With References Request. - */ -public class BaseEducationUserCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseEducationUserCollectionWithReferencesRequest { - - /** - * The request builder for this collection of EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEducationUserCollectionResponse.class, IEducationUserCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEducationUserCollectionWithReferencesPage get() throws ClientException { - final BaseEducationUserCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IEducationUserCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EducationUserCollectionWithReferencesRequest)this; - } - - public IEducationUserCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EducationUserCollectionWithReferencesRequest)this; - } - - public IEducationUserCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EducationUserCollectionWithReferencesRequest)this; - } - - public IEducationUserCollectionWithReferencesPage buildFromResponse(final BaseEducationUserCollectionResponse response) { - final IEducationUserCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new EducationUserCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EducationUserCollectionWithReferencesPage page = new EducationUserCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index a6edbbd2e50..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Collection With References Request Builder. - */ -public class BaseEducationUserCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseEducationUserCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of EducationSchool - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEducationUserCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEducationUserCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new EducationUserCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationUserWithReferenceRequestBuilder byId(final String id) { - return new EducationUserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IEducationUserCollectionReferenceRequestBuilder references(){ - return new EducationUserCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequest.java deleted file mode 100644 index 57018c78411..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Reference Request. - */ -public class BaseEducationUserReferenceRequest extends BaseRequest implements IBaseEducationUserReferenceRequest { - - /** - * The request for the EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, EducationUser.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public EducationUser delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationUserReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationUserReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationUserReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationUserReferenceRequest)this; - } - /** - * Puts the EducationUser - * - * @param srcEducationUser the EducationUser reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(EducationUser srcEducationUser, final ICallback callback) { - send(HttpMethod.PUT, callback, srcEducationUser); - } - - /** - * Puts the EducationUser - * - * @param srcEducationUser the EducationUser reference to PUT - * @return the EducationUser - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public EducationUser put(EducationUser srcEducationUser) throws ClientException { - return send(HttpMethod.PUT, srcEducationUser); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequestBuilder.java deleted file mode 100644 index 0bf0c728618..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Reference Request Builder. - */ -public class BaseEducationUserReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationUserReferenceRequestBuilder { - - /** - * The request builder for the EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IEducationUserReferenceRequest instance - */ - public IEducationUserReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationUserReferenceRequest instance - */ - public IEducationUserReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationUserReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequest.java deleted file mode 100644 index 3851367463b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationUserRequest; -import com.microsoft.graph.requests.extensions.EducationUserRequest; -import com.microsoft.graph.models.extensions.EducationUser; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Request. - */ -public class BaseEducationUserRequest extends BaseRequest implements IBaseEducationUserRequest { - - /** - * The request for the EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEducationUserRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EducationUser from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EducationUser from the service - * - * @return the EducationUser from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationUser get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EducationUser with a source - * - * @param sourceEducationUser the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EducationUser sourceEducationUser, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationUser); - } - - /** - * Patches this EducationUser with a source - * - * @param sourceEducationUser the source object with updates - * @return the updated EducationUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationUser patch(final EducationUser sourceEducationUser) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationUser); - } - - /** - * Creates a EducationUser with a new object - * - * @param newEducationUser the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EducationUser newEducationUser, final ICallback callback) { - send(HttpMethod.POST, callback, newEducationUser); - } - - /** - * Creates a EducationUser with a new object - * - * @param newEducationUser the new object to create - * @return the created EducationUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EducationUser post(final EducationUser newEducationUser) throws ClientException { - return send(HttpMethod.POST, newEducationUser); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationUserRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EducationUserRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationUserRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationUserRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequestBuilder.java deleted file mode 100644 index dbba1a5cab3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationUserRequest; -import com.microsoft.graph.requests.extensions.EducationUserRequest; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationSchoolCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationSchoolWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationClassCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EducationClassWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User Request Builder. - */ -public class BaseEducationUserRequestBuilder extends BaseRequestBuilder implements IBaseEducationUserRequestBuilder { - - /** - * The request builder for the EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationUserRequest instance - */ - public IEducationUserRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEducationUserRequest instance - */ - public IEducationUserRequest buildRequest(final java.util.List requestOptions) { - return new EducationUserRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationSchoolCollectionWithReferencesRequestBuilder schools() { - return new EducationSchoolCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("schools"), getClient(), null); - } - - public IEducationSchoolWithReferenceRequestBuilder schools(final String id) { - return new EducationSchoolWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("schools") + "/" + id, getClient(), null); - } - public IEducationClassCollectionWithReferencesRequestBuilder classes() { - return new EducationClassCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("classes"), getClient(), null); - } - - public IEducationClassWithReferenceRequestBuilder classes(final String id) { - return new EducationClassWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("classes") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - public IUserWithReferenceRequestBuilder user() { - return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("user"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequest.java deleted file mode 100644 index a1bddb78bc5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User With Reference Request. - */ -public class BaseEducationUserWithReferenceRequest extends BaseRequest implements IBaseEducationUserWithReferenceRequest { - - /** - * The request for the EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, EducationUser.class); - } - - public void post(final EducationUser newEducationUser, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public EducationUser post(final EducationUser newEducationUser, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newEducationUser; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public EducationUser get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final EducationUser sourceEducationUser, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEducationUser); - } - - public EducationUser patch(final EducationUser sourceEducationUser) throws ClientException { - return send(HttpMethod.PATCH, sourceEducationUser); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEducationUserWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IEducationUserWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEducationUserWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EducationUserWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequestBuilder.java deleted file mode 100644 index bebbe417f43..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEducationUserWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Education User With Reference Request Builder. - */ -public class BaseEducationUserWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEducationUserWithReferenceRequestBuilder { - - /** - * The request builder for the EducationUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEducationUserWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEducationUserWithReferenceRequest instance - */ - public IEducationUserWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationUserWithReferenceRequest instance - */ - public IEducationUserWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EducationUserWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEducationUserReferenceRequestBuilder reference(){ - return new EducationUserReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionPage.java deleted file mode 100644 index 421c9fed8a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment Collection Page. - */ -public class BaseEnrollmentConfigurationAssignmentCollectionPage extends BaseCollectionPage implements IBaseEnrollmentConfigurationAssignmentCollectionPage { - - /** - * A collection page for EnrollmentConfigurationAssignment - * - * @param response the serialized BaseEnrollmentConfigurationAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEnrollmentConfigurationAssignmentCollectionPage(final BaseEnrollmentConfigurationAssignmentCollectionResponse response, final IEnrollmentConfigurationAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequest.java deleted file mode 100644 index 24996e281b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment Collection Request. - */ -public class BaseEnrollmentConfigurationAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseEnrollmentConfigurationAssignmentCollectionRequest { - - /** - * The request builder for this collection of EnrollmentConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEnrollmentConfigurationAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEnrollmentConfigurationAssignmentCollectionResponse.class, IEnrollmentConfigurationAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEnrollmentConfigurationAssignmentCollectionPage get() throws ClientException { - final BaseEnrollmentConfigurationAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new EnrollmentConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEnrollmentConfigurationAssignment, callback); - } - - public EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new EnrollmentConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEnrollmentConfigurationAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEnrollmentConfigurationAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EnrollmentConfigurationAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEnrollmentConfigurationAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EnrollmentConfigurationAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEnrollmentConfigurationAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EnrollmentConfigurationAssignmentCollectionRequest)this; - } - - public IEnrollmentConfigurationAssignmentCollectionPage buildFromResponse(final BaseEnrollmentConfigurationAssignmentCollectionResponse response) { - final IEnrollmentConfigurationAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new EnrollmentConfigurationAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EnrollmentConfigurationAssignmentCollectionPage page = new EnrollmentConfigurationAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 7981b77f772..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment Collection Request Builder. - */ -public class BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceEnrollmentConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEnrollmentConfigurationAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEnrollmentConfigurationAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEnrollmentConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new EnrollmentConfigurationAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEnrollmentConfigurationAssignmentRequestBuilder byId(final String id) { - return new EnrollmentConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionResponse.java deleted file mode 100644 index 14c86a4a019..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment Collection Response. - */ -public class BaseEnrollmentConfigurationAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of EnrollmentConfigurationAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequest.java deleted file mode 100644 index edbb7061f00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequest; -import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentRequest; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment Request. - */ -public class BaseEnrollmentConfigurationAssignmentRequest extends BaseRequest implements IBaseEnrollmentConfigurationAssignmentRequest { - - /** - * The request for the EnrollmentConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEnrollmentConfigurationAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EnrollmentConfigurationAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EnrollmentConfigurationAssignment from the service - * - * @return the EnrollmentConfigurationAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EnrollmentConfigurationAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EnrollmentConfigurationAssignment with a source - * - * @param sourceEnrollmentConfigurationAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEnrollmentConfigurationAssignment); - } - - /** - * Patches this EnrollmentConfigurationAssignment with a source - * - * @param sourceEnrollmentConfigurationAssignment the source object with updates - * @return the updated EnrollmentConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EnrollmentConfigurationAssignment patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceEnrollmentConfigurationAssignment); - } - - /** - * Creates a EnrollmentConfigurationAssignment with a new object - * - * @param newEnrollmentConfigurationAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newEnrollmentConfigurationAssignment); - } - - /** - * Creates a EnrollmentConfigurationAssignment with a new object - * - * @param newEnrollmentConfigurationAssignment the new object to create - * @return the created EnrollmentConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException { - return send(HttpMethod.POST, newEnrollmentConfigurationAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEnrollmentConfigurationAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EnrollmentConfigurationAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEnrollmentConfigurationAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EnrollmentConfigurationAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequestBuilder.java deleted file mode 100644 index b3829b20b8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentConfigurationAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequest; -import com.microsoft.graph.requests.extensions.EnrollmentConfigurationAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Configuration Assignment Request Builder. - */ -public class BaseEnrollmentConfigurationAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseEnrollmentConfigurationAssignmentRequestBuilder { - - /** - * The request builder for the EnrollmentConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEnrollmentConfigurationAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEnrollmentConfigurationAssignmentRequest instance - */ - public IEnrollmentConfigurationAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEnrollmentConfigurationAssignmentRequest instance - */ - public IEnrollmentConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new EnrollmentConfigurationAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequest.java deleted file mode 100644 index dcff6d82e7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEnrollmentTroubleshootingEventRequest; -import com.microsoft.graph.requests.extensions.EnrollmentTroubleshootingEventRequest; -import com.microsoft.graph.models.extensions.EnrollmentTroubleshootingEvent; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Troubleshooting Event Request. - */ -public class BaseEnrollmentTroubleshootingEventRequest extends BaseRequest implements IBaseEnrollmentTroubleshootingEventRequest { - - /** - * The request for the EnrollmentTroubleshootingEvent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEnrollmentTroubleshootingEventRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EnrollmentTroubleshootingEvent from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EnrollmentTroubleshootingEvent from the service - * - * @return the EnrollmentTroubleshootingEvent from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EnrollmentTroubleshootingEvent get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EnrollmentTroubleshootingEvent with a source - * - * @param sourceEnrollmentTroubleshootingEvent the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEnrollmentTroubleshootingEvent); - } - - /** - * Patches this EnrollmentTroubleshootingEvent with a source - * - * @param sourceEnrollmentTroubleshootingEvent the source object with updates - * @return the updated EnrollmentTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EnrollmentTroubleshootingEvent patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent) throws ClientException { - return send(HttpMethod.PATCH, sourceEnrollmentTroubleshootingEvent); - } - - /** - * Creates a EnrollmentTroubleshootingEvent with a new object - * - * @param newEnrollmentTroubleshootingEvent the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent, final ICallback callback) { - send(HttpMethod.POST, callback, newEnrollmentTroubleshootingEvent); - } - - /** - * Creates a EnrollmentTroubleshootingEvent with a new object - * - * @param newEnrollmentTroubleshootingEvent the new object to create - * @return the created EnrollmentTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EnrollmentTroubleshootingEvent post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException { - return send(HttpMethod.POST, newEnrollmentTroubleshootingEvent); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEnrollmentTroubleshootingEventRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EnrollmentTroubleshootingEventRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEnrollmentTroubleshootingEventRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EnrollmentTroubleshootingEventRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequestBuilder.java deleted file mode 100644 index ac6ddd9078a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEnrollmentTroubleshootingEventRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEnrollmentTroubleshootingEventRequest; -import com.microsoft.graph.requests.extensions.EnrollmentTroubleshootingEventRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Enrollment Troubleshooting Event Request Builder. - */ -public class BaseEnrollmentTroubleshootingEventRequestBuilder extends BaseRequestBuilder implements IBaseEnrollmentTroubleshootingEventRequestBuilder { - - /** - * The request builder for the EnrollmentTroubleshootingEvent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEnrollmentTroubleshootingEventRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEnrollmentTroubleshootingEventRequest instance - */ - public IEnrollmentTroubleshootingEventRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEnrollmentTroubleshootingEventRequest instance - */ - public IEnrollmentTroubleshootingEventRequest buildRequest(final java.util.List requestOptions) { - return new EnrollmentTroubleshootingEventRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequest.java deleted file mode 100644 index 308b1e893c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity Reference Request. - */ -public class BaseEntityReferenceRequest extends BaseRequest implements IBaseEntityReferenceRequest { - - /** - * The request for the Entity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEntityReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Entity.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public Entity delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEntityReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EntityReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEntityReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EntityReferenceRequest)this; - } - /** - * Puts the Entity - * - * @param srcEntity the Entity reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Entity srcEntity, final ICallback callback) { - send(HttpMethod.PUT, callback, srcEntity); - } - - /** - * Puts the Entity - * - * @param srcEntity the Entity reference to PUT - * @return the Entity - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Entity put(Entity srcEntity) throws ClientException { - return send(HttpMethod.PUT, srcEntity); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequestBuilder.java deleted file mode 100644 index c6222fc5b8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity Reference Request Builder. - */ -public class BaseEntityReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEntityReferenceRequestBuilder { - - /** - * The request builder for the Entity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEntityReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IEntityReferenceRequest instance - */ - public IEntityReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEntityReferenceRequest instance - */ - public IEntityReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EntityReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequest.java deleted file mode 100644 index 6e77572ab62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEntityRequest; -import com.microsoft.graph.requests.extensions.EntityRequest; -import com.microsoft.graph.models.extensions.Entity; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity Request. - */ -public class BaseEntityRequest extends BaseRequest implements IBaseEntityRequest { - - /** - * The request for the Entity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEntityRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEntityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EntityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEntityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EntityRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequestBuilder.java deleted file mode 100644 index cc0d379cecd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEntityRequest; -import com.microsoft.graph.requests.extensions.EntityRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity Request Builder. - */ -public class BaseEntityRequestBuilder extends BaseRequestBuilder implements IBaseEntityRequestBuilder { - - /** - * The request builder for the Entity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEntityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEntityRequest instance - */ - public IEntityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEntityRequest instance - */ - public IEntityRequest buildRequest(final java.util.List requestOptions) { - return new EntityRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequest.java deleted file mode 100644 index be39edf3057..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity With Reference Request. - */ -public class BaseEntityWithReferenceRequest extends BaseRequest implements IBaseEntityWithReferenceRequest { - - /** - * The request for the Entity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEntityWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Entity.class); - } - - public void post(final Entity newEntity, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public Entity post(final Entity newEntity, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newEntity; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public Entity get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final Entity sourceEntity, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEntity); - } - - public Entity patch(final Entity sourceEntity) throws ClientException { - return send(HttpMethod.PATCH, sourceEntity); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEntityWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IEntityWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEntityWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EntityWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequestBuilder.java deleted file mode 100644 index 2c3126be066..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEntityWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Entity With Reference Request Builder. - */ -public class BaseEntityWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseEntityWithReferenceRequestBuilder { - - /** - * The request builder for the Entity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEntityWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEntityWithReferenceRequest instance - */ - public IEntityWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEntityWithReferenceRequest instance - */ - public IEntityWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new EntityWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEntityReferenceRequestBuilder reference(){ - return new EntityReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequest.java deleted file mode 100644 index 353f409c160..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EventAcceptBody; -import com.microsoft.graph.requests.extensions.IEventAcceptRequest; -import com.microsoft.graph.requests.extensions.EventAcceptRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Accept Request. - */ -public class BaseEventAcceptRequest extends BaseRequest implements IBaseEventAcceptRequest { - protected final EventAcceptBody body; - - /** - * The request for this EventAccept - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventAcceptRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new EventAcceptBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventAcceptRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EventAcceptRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEventAcceptRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (EventAcceptRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventAcceptRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EventAcceptRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequestBuilder.java deleted file mode 100644 index 27706dafd13..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventAcceptRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventAcceptRequest; -import com.microsoft.graph.requests.extensions.EventAcceptRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Accept Request Builder. - */ -public class BaseEventAcceptRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this EventAccept - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - * @param sendResponse the sendResponse - */ - public BaseEventAcceptRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final Boolean sendResponse) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - bodyParams.put("sendResponse", sendResponse); - } - - /** - * Creates the IEventAcceptRequest - * - * @return the IEventAcceptRequest instance - */ - public IEventAcceptRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IEventAcceptRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IEventAcceptRequest instance - */ - public IEventAcceptRequest buildRequest(final java.util.List requestOptions) { - EventAcceptRequest request = new EventAcceptRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - if (hasParameter("sendResponse")) { - request.body.sendResponse = getParameter("sendResponse"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionPage.java deleted file mode 100644 index ca16e2d30fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Event; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Collection Page. - */ -public class BaseEventCollectionPage extends BaseCollectionPage implements IBaseEventCollectionPage { - - /** - * A collection page for Event - * - * @param response the serialized BaseEventCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseEventCollectionPage(final BaseEventCollectionResponse response, final IEventCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequest.java deleted file mode 100644 index 09486c7d576..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Collection Request. - */ -public class BaseEventCollectionRequest extends BaseCollectionRequest implements IBaseEventCollectionRequest { - - /** - * The request builder for this collection of Event - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEventCollectionResponse.class, IEventCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEventCollectionPage get() throws ClientException { - final BaseEventCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Event newEvent, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new EventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEvent, callback); - } - - public Event post(final Event newEvent) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new EventRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newEvent); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (EventCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (EventCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEventCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (EventCollectionRequest)this; - } - - public IEventCollectionPage buildFromResponse(final BaseEventCollectionResponse response) { - final IEventCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new EventCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final EventCollectionPage page = new EventCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequestBuilder.java deleted file mode 100644 index 03232240739..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Collection Request Builder. - */ -public class BaseEventCollectionRequestBuilder extends BaseRequestBuilder implements IBaseEventCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEventCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEventCollectionRequest buildRequest(final java.util.List requestOptions) { - return new EventCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IEventRequestBuilder byId(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IEventDeltaCollectionRequestBuilder delta() { - return new EventDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IEventDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new EventDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionResponse.java deleted file mode 100644 index 16c4e01a70d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Event; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Collection Response. - */ -public class BaseEventCollectionResponse implements IJsonBackedObject { - - /** - * The list of Event within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequest.java deleted file mode 100644 index 2c1b6816114..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EventDeclineBody; -import com.microsoft.graph.requests.extensions.IEventDeclineRequest; -import com.microsoft.graph.requests.extensions.EventDeclineRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Decline Request. - */ -public class BaseEventDeclineRequest extends BaseRequest implements IBaseEventDeclineRequest { - protected final EventDeclineBody body; - - /** - * The request for this EventDecline - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventDeclineRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new EventDeclineBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventDeclineRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EventDeclineRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEventDeclineRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (EventDeclineRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventDeclineRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EventDeclineRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequestBuilder.java deleted file mode 100644 index a5a45104d4c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeclineRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDeclineRequest; -import com.microsoft.graph.requests.extensions.EventDeclineRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Decline Request Builder. - */ -public class BaseEventDeclineRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this EventDecline - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - * @param sendResponse the sendResponse - */ - public BaseEventDeclineRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final Boolean sendResponse) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - bodyParams.put("sendResponse", sendResponse); - } - - /** - * Creates the IEventDeclineRequest - * - * @return the IEventDeclineRequest instance - */ - public IEventDeclineRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IEventDeclineRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IEventDeclineRequest instance - */ - public IEventDeclineRequest buildRequest(final java.util.List requestOptions) { - EventDeclineRequest request = new EventDeclineRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - if (hasParameter("sendResponse")) { - request.body.sendResponse = getParameter("sendResponse"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionPage.java deleted file mode 100644 index ef7b9fd1cb7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Delta Collection Page. - */ -public class BaseEventDeltaCollectionPage extends BaseCollectionPage implements IBaseEventDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for EventDelta. - * - * @param response The serialized BaseEventDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseEventDeltaCollectionPage(final BaseEventDeltaCollectionResponse response, final IEventDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequest.java deleted file mode 100644 index cc89a763012..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Delta Collection Request. - */ -public class BaseEventDeltaCollectionRequest extends BaseCollectionRequest implements IBaseEventDeltaCollectionRequest { - - - /** - * The request for this EventDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseEventDeltaCollectionResponse.class, IEventDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IEventDeltaCollectionPage get() throws ClientException { - final BaseEventDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IEventDeltaCollectionPage buildFromResponse(final BaseEventDeltaCollectionResponse response) { - final IEventDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new EventDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IEventDeltaCollectionPage page = new EventDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IEventDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEventDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IEventDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IEventDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequestBuilder.java deleted file mode 100644 index 7c3666680f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Delta Collection Request Builder. - */ -public class BaseEventDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseEventDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of Event - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IEventDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IEventDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - EventDeltaCollectionRequest request = new EventDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionResponse.java deleted file mode 100644 index 49b515ecccc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Delta Collection Response. - */ -public class BaseEventDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequest.java deleted file mode 100644 index e82aeca3d64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; -import com.microsoft.graph.requests.extensions.EventDismissReminderRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Dismiss Reminder Request. - */ -public class BaseEventDismissReminderRequest extends BaseRequest implements IBaseEventDismissReminderRequest { - - /** - * The request for this EventDismissReminder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventDismissReminderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the EventDismissReminder - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the EventDismissReminder - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequestBuilder.java deleted file mode 100644 index 48da7aa5e72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventDismissReminderRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; -import com.microsoft.graph.requests.extensions.EventDismissReminderRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Dismiss Reminder Request Builder. - */ -public class BaseEventDismissReminderRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this EventDismissReminder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventDismissReminderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IEventDismissReminderRequest - * - * @return the IEventDismissReminderRequest instance - */ - public IEventDismissReminderRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IEventDismissReminderRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IEventDismissReminderRequest instance - */ - public IEventDismissReminderRequest buildRequest(final java.util.List requestOptions) { - EventDismissReminderRequest request = new EventDismissReminderRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequest.java deleted file mode 100644 index 6300bb0d053..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventMessageRequest; -import com.microsoft.graph.requests.extensions.EventMessageRequest; -import com.microsoft.graph.models.extensions.EventMessage; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Message Request. - */ -public class BaseEventMessageRequest extends BaseRequest implements IBaseEventMessageRequest { - - /** - * The request for the EventMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEventMessageRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the EventMessage from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the EventMessage from the service - * - * @return the EventMessage from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EventMessage get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this EventMessage with a source - * - * @param sourceEventMessage the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final EventMessage sourceEventMessage, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEventMessage); - } - - /** - * Patches this EventMessage with a source - * - * @param sourceEventMessage the source object with updates - * @return the updated EventMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EventMessage patch(final EventMessage sourceEventMessage) throws ClientException { - return send(HttpMethod.PATCH, sourceEventMessage); - } - - /** - * Creates a EventMessage with a new object - * - * @param newEventMessage the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final EventMessage newEventMessage, final ICallback callback) { - send(HttpMethod.POST, callback, newEventMessage); - } - - /** - * Creates a EventMessage with a new object - * - * @param newEventMessage the new object to create - * @return the created EventMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public EventMessage post(final EventMessage newEventMessage) throws ClientException { - return send(HttpMethod.POST, newEventMessage); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventMessageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EventMessageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventMessageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EventMessageRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequestBuilder.java deleted file mode 100644 index 6b3d3c35fd1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventMessageRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventMessageRequest; -import com.microsoft.graph.requests.extensions.EventMessageRequest; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Message Request Builder. - */ -public class BaseEventMessageRequestBuilder extends BaseRequestBuilder implements IBaseEventMessageRequestBuilder { - - /** - * The request builder for the EventMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEventMessageRequest instance - */ - public IEventMessageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEventMessageRequest instance - */ - public IEventMessageRequest buildRequest(final java.util.List requestOptions) { - return new EventMessageRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Event - * - * @return the IEventRequestBuilder instance - */ - public IEventRequestBuilder event() { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("event"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventRequest.java deleted file mode 100644 index 2eaa681d3a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventRequest; -import com.microsoft.graph.requests.extensions.EventRequest; -import com.microsoft.graph.models.extensions.Event; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Request. - */ -public class BaseEventRequest extends BaseRequest implements IBaseEventRequest { - - /** - * The request for the Event - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseEventRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Event from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Event from the service - * - * @return the Event from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Event get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Event with a source - * - * @param sourceEvent the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Event sourceEvent, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceEvent); - } - - /** - * Patches this Event with a source - * - * @param sourceEvent the source object with updates - * @return the updated Event - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Event patch(final Event sourceEvent) throws ClientException { - return send(HttpMethod.PATCH, sourceEvent); - } - - /** - * Creates a Event with a new object - * - * @param newEvent the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Event newEvent, final ICallback callback) { - send(HttpMethod.POST, callback, newEvent); - } - - /** - * Creates a Event with a new object - * - * @param newEvent the new object to create - * @return the created Event - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Event post(final Event newEvent) throws ClientException { - return send(HttpMethod.POST, newEvent); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EventRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EventRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventRequestBuilder.java deleted file mode 100644 index 324d9efa3e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventRequestBuilder.java +++ /dev/null @@ -1,149 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventRequest; -import com.microsoft.graph.requests.extensions.EventRequest; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.AttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.AttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventAcceptRequestBuilder; -import com.microsoft.graph.requests.extensions.EventAcceptRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventDeclineRequestBuilder; -import com.microsoft.graph.requests.extensions.EventDeclineRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequestBuilder; -import com.microsoft.graph.requests.extensions.EventTentativelyAcceptRequestBuilder; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequestBuilder; -import com.microsoft.graph.requests.extensions.EventSnoozeReminderRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventDismissReminderRequestBuilder; -import com.microsoft.graph.requests.extensions.EventDismissReminderRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Request Builder. - */ -public class BaseEventRequestBuilder extends BaseRequestBuilder implements IBaseEventRequestBuilder { - - /** - * The request builder for the Event - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IEventRequest instance - */ - public IEventRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IEventRequest instance - */ - public IEventRequest buildRequest(final java.util.List requestOptions) { - return new EventRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Calendar - * - * @return the ICalendarRequestBuilder instance - */ - public ICalendarRequestBuilder calendar() { - return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendar"), getClient(), null); - } - public IEventCollectionRequestBuilder instances() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("instances"), getClient(), null); - } - - public IEventRequestBuilder instances(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("instances") + "/" + id, getClient(), null); - } - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - public IAttachmentCollectionRequestBuilder attachments() { - return new AttachmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("attachments"), getClient(), null); - } - - public IAttachmentRequestBuilder attachments(final String id) { - return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("attachments") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } - - public IEventAcceptRequestBuilder accept(final String comment, final Boolean sendResponse) { - return new EventAcceptRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.accept"), getClient(), null, comment, sendResponse); - } - - public IEventDeclineRequestBuilder decline(final String comment, final Boolean sendResponse) { - return new EventDeclineRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.decline"), getClient(), null, comment, sendResponse); - } - - public IEventTentativelyAcceptRequestBuilder tentativelyAccept(final String comment, final Boolean sendResponse) { - return new EventTentativelyAcceptRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tentativelyAccept"), getClient(), null, comment, sendResponse); - } - - public IEventSnoozeReminderRequestBuilder snoozeReminder(final DateTimeTimeZone newReminderTime) { - return new EventSnoozeReminderRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.snoozeReminder"), getClient(), null, newReminderTime); - } - - public IEventDismissReminderRequestBuilder dismissReminder() { - return new EventDismissReminderRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dismissReminder"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequest.java deleted file mode 100644 index 2ecc9e3116f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EventSnoozeReminderBody; -import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; -import com.microsoft.graph.requests.extensions.EventSnoozeReminderRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Snooze Reminder Request. - */ -public class BaseEventSnoozeReminderRequest extends BaseRequest implements IBaseEventSnoozeReminderRequest { - protected final EventSnoozeReminderBody body; - - /** - * The request for this EventSnoozeReminder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventSnoozeReminderRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new EventSnoozeReminderBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventSnoozeReminderRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EventSnoozeReminderRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEventSnoozeReminderRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (EventSnoozeReminderRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventSnoozeReminderRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EventSnoozeReminderRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequestBuilder.java deleted file mode 100644 index e44ece4e36b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventSnoozeReminderRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; -import com.microsoft.graph.requests.extensions.EventSnoozeReminderRequest; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Snooze Reminder Request Builder. - */ -public class BaseEventSnoozeReminderRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this EventSnoozeReminder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param newReminderTime the newReminderTime - */ - public BaseEventSnoozeReminderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final DateTimeTimeZone newReminderTime) { - super(requestUrl, client, requestOptions); - bodyParams.put("newReminderTime", newReminderTime); - } - - /** - * Creates the IEventSnoozeReminderRequest - * - * @return the IEventSnoozeReminderRequest instance - */ - public IEventSnoozeReminderRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IEventSnoozeReminderRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IEventSnoozeReminderRequest instance - */ - public IEventSnoozeReminderRequest buildRequest(final java.util.List requestOptions) { - EventSnoozeReminderRequest request = new EventSnoozeReminderRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("newReminderTime")) { - request.body.newReminderTime = getParameter("newReminderTime"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequest.java deleted file mode 100644 index 7cd11a941a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EventTentativelyAcceptBody; -import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; -import com.microsoft.graph.requests.extensions.EventTentativelyAcceptRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Tentatively Accept Request. - */ -public class BaseEventTentativelyAcceptRequest extends BaseRequest implements IBaseEventTentativelyAcceptRequest { - protected final EventTentativelyAcceptBody body; - - /** - * The request for this EventTentativelyAccept - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseEventTentativelyAcceptRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new EventTentativelyAcceptBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IEventTentativelyAcceptRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (EventTentativelyAcceptRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IEventTentativelyAcceptRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (EventTentativelyAcceptRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IEventTentativelyAcceptRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (EventTentativelyAcceptRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequestBuilder.java deleted file mode 100644 index 0a487cc8525..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseEventTentativelyAcceptRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; -import com.microsoft.graph.requests.extensions.EventTentativelyAcceptRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Event Tentatively Accept Request Builder. - */ -public class BaseEventTentativelyAcceptRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this EventTentativelyAccept - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - * @param sendResponse the sendResponse - */ - public BaseEventTentativelyAcceptRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final Boolean sendResponse) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - bodyParams.put("sendResponse", sendResponse); - } - - /** - * Creates the IEventTentativelyAcceptRequest - * - * @return the IEventTentativelyAcceptRequest instance - */ - public IEventTentativelyAcceptRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IEventTentativelyAcceptRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IEventTentativelyAcceptRequest instance - */ - public IEventTentativelyAcceptRequest buildRequest(final java.util.List requestOptions) { - EventTentativelyAcceptRequest request = new EventTentativelyAcceptRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - if (hasParameter("sendResponse")) { - request.body.sendResponse = getParameter("sendResponse"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionPage.java deleted file mode 100644 index 322ad84b398..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Extension; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Collection Page. - */ -public class BaseExtensionCollectionPage extends BaseCollectionPage implements IBaseExtensionCollectionPage { - - /** - * A collection page for Extension - * - * @param response the serialized BaseExtensionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseExtensionCollectionPage(final BaseExtensionCollectionResponse response, final IExtensionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequest.java deleted file mode 100644 index 19e9ed82390..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Collection Request. - */ -public class BaseExtensionCollectionRequest extends BaseCollectionRequest implements IBaseExtensionCollectionRequest { - - /** - * The request builder for this collection of Extension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseExtensionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseExtensionCollectionResponse.class, IExtensionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IExtensionCollectionPage get() throws ClientException { - final BaseExtensionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Extension newExtension, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newExtension, callback); - } - - public Extension post(final Extension newExtension) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newExtension); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IExtensionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ExtensionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IExtensionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ExtensionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IExtensionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ExtensionCollectionRequest)this; - } - - public IExtensionCollectionPage buildFromResponse(final BaseExtensionCollectionResponse response) { - final IExtensionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ExtensionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ExtensionCollectionPage page = new ExtensionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequestBuilder.java deleted file mode 100644 index 3b8a730419b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Collection Request Builder. - */ -public class BaseExtensionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseExtensionCollectionRequestBuilder { - - /** - * The request builder for this collection of Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseExtensionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IExtensionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IExtensionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ExtensionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IExtensionRequestBuilder byId(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionResponse.java deleted file mode 100644 index fdce3d4932e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Extension; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Collection Response. - */ -public class BaseExtensionCollectionResponse implements IJsonBackedObject { - - /** - * The list of Extension within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequest.java deleted file mode 100644 index f79dd11dfc9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IExtensionRequest; -import com.microsoft.graph.requests.extensions.ExtensionRequest; -import com.microsoft.graph.models.extensions.Extension; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Request. - */ -public class BaseExtensionRequest extends BaseRequest implements IBaseExtensionRequest { - - /** - * The request for the Extension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseExtensionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Extension from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Extension from the service - * - * @return the Extension from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Extension get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Extension with a source - * - * @param sourceExtension the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Extension sourceExtension, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceExtension); - } - - /** - * Patches this Extension with a source - * - * @param sourceExtension the source object with updates - * @return the updated Extension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Extension patch(final Extension sourceExtension) throws ClientException { - return send(HttpMethod.PATCH, sourceExtension); - } - - /** - * Creates a Extension with a new object - * - * @param newExtension the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Extension newExtension, final ICallback callback) { - send(HttpMethod.POST, callback, newExtension); - } - - /** - * Creates a Extension with a new object - * - * @param newExtension the new object to create - * @return the created Extension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Extension post(final Extension newExtension) throws ClientException { - return send(HttpMethod.POST, newExtension); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IExtensionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ExtensionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IExtensionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ExtensionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequestBuilder.java deleted file mode 100644 index 5862354ac68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IExtensionRequest; -import com.microsoft.graph.requests.extensions.ExtensionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Extension Request Builder. - */ -public class BaseExtensionRequestBuilder extends BaseRequestBuilder implements IBaseExtensionRequestBuilder { - - /** - * The request builder for the Extension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseExtensionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IExtensionRequest instance - */ - public IExtensionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IExtensionRequest instance - */ - public IExtensionRequest buildRequest(final java.util.List requestOptions) { - return new ExtensionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequest.java deleted file mode 100644 index 09934e44a26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequest; -import com.microsoft.graph.requests.extensions.FieldValueSetRequest; -import com.microsoft.graph.models.extensions.FieldValueSet; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Field Value Set Request. - */ -public class BaseFieldValueSetRequest extends BaseRequest implements IBaseFieldValueSetRequest { - - /** - * The request for the FieldValueSet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseFieldValueSetRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the FieldValueSet from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the FieldValueSet from the service - * - * @return the FieldValueSet from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public FieldValueSet get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this FieldValueSet with a source - * - * @param sourceFieldValueSet the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final FieldValueSet sourceFieldValueSet, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceFieldValueSet); - } - - /** - * Patches this FieldValueSet with a source - * - * @param sourceFieldValueSet the source object with updates - * @return the updated FieldValueSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public FieldValueSet patch(final FieldValueSet sourceFieldValueSet) throws ClientException { - return send(HttpMethod.PATCH, sourceFieldValueSet); - } - - /** - * Creates a FieldValueSet with a new object - * - * @param newFieldValueSet the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final FieldValueSet newFieldValueSet, final ICallback callback) { - send(HttpMethod.POST, callback, newFieldValueSet); - } - - /** - * Creates a FieldValueSet with a new object - * - * @param newFieldValueSet the new object to create - * @return the created FieldValueSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public FieldValueSet post(final FieldValueSet newFieldValueSet) throws ClientException { - return send(HttpMethod.POST, newFieldValueSet); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IFieldValueSetRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (FieldValueSetRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IFieldValueSetRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (FieldValueSetRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequestBuilder.java deleted file mode 100644 index 997f6def3ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseFieldValueSetRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequest; -import com.microsoft.graph.requests.extensions.FieldValueSetRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Field Value Set Request Builder. - */ -public class BaseFieldValueSetRequestBuilder extends BaseRequestBuilder implements IBaseFieldValueSetRequestBuilder { - - /** - * The request builder for the FieldValueSet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseFieldValueSetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IFieldValueSetRequest instance - */ - public IFieldValueSetRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IFieldValueSetRequest instance - */ - public IFieldValueSetRequest buildRequest(final java.util.List requestOptions) { - return new FieldValueSetRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequest.java deleted file mode 100644 index 2800fd97350..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IFileAttachmentRequest; -import com.microsoft.graph.requests.extensions.FileAttachmentRequest; -import com.microsoft.graph.models.extensions.FileAttachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File Attachment Request. - */ -public class BaseFileAttachmentRequest extends BaseRequest implements IBaseFileAttachmentRequest { - - /** - * The request for the FileAttachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseFileAttachmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the FileAttachment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the FileAttachment from the service - * - * @return the FileAttachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public FileAttachment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this FileAttachment with a source - * - * @param sourceFileAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final FileAttachment sourceFileAttachment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceFileAttachment); - } - - /** - * Patches this FileAttachment with a source - * - * @param sourceFileAttachment the source object with updates - * @return the updated FileAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public FileAttachment patch(final FileAttachment sourceFileAttachment) throws ClientException { - return send(HttpMethod.PATCH, sourceFileAttachment); - } - - /** - * Creates a FileAttachment with a new object - * - * @param newFileAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final FileAttachment newFileAttachment, final ICallback callback) { - send(HttpMethod.POST, callback, newFileAttachment); - } - - /** - * Creates a FileAttachment with a new object - * - * @param newFileAttachment the new object to create - * @return the created FileAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public FileAttachment post(final FileAttachment newFileAttachment) throws ClientException { - return send(HttpMethod.POST, newFileAttachment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IFileAttachmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (FileAttachmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IFileAttachmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (FileAttachmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequestBuilder.java deleted file mode 100644 index 0641e629b11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseFileAttachmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IFileAttachmentRequest; -import com.microsoft.graph.requests.extensions.FileAttachmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base File Attachment Request Builder. - */ -public class BaseFileAttachmentRequestBuilder extends BaseRequestBuilder implements IBaseFileAttachmentRequestBuilder { - - /** - * The request builder for the FileAttachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseFileAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IFileAttachmentRequest instance - */ - public IFileAttachmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IFileAttachmentRequest instance - */ - public IFileAttachmentRequest buildRequest(final java.util.List requestOptions) { - return new FileAttachmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequest.java deleted file mode 100644 index 0625a0e94cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; -import com.microsoft.graph.requests.extensions.GroupAddFavoriteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Add Favorite Request. - */ -public class BaseGroupAddFavoriteRequest extends BaseRequest implements IBaseGroupAddFavoriteRequest { - - /** - * The request for this GroupAddFavorite - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupAddFavoriteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the GroupAddFavorite - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the GroupAddFavorite - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequestBuilder.java deleted file mode 100644 index 2dd2f59bc66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupAddFavoriteRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; -import com.microsoft.graph.requests.extensions.GroupAddFavoriteRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Add Favorite Request Builder. - */ -public class BaseGroupAddFavoriteRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupAddFavorite - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupAddFavoriteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IGroupAddFavoriteRequest - * - * @return the IGroupAddFavoriteRequest instance - */ - public IGroupAddFavoriteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupAddFavoriteRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupAddFavoriteRequest instance - */ - public IGroupAddFavoriteRequest buildRequest(final java.util.List requestOptions) { - GroupAddFavoriteRequest request = new GroupAddFavoriteRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionPage.java deleted file mode 100644 index f17af5ac3ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Group; -import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Collection Page. - */ -public class BaseGroupCollectionPage extends BaseCollectionPage implements IBaseGroupCollectionPage { - - /** - * A collection page for Group - * - * @param response the serialized BaseGroupCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseGroupCollectionPage(final BaseGroupCollectionResponse response, final IGroupCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequest.java deleted file mode 100644 index d96ae2bbc65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Collection Request. - */ -public class BaseGroupCollectionRequest extends BaseCollectionRequest implements IBaseGroupCollectionRequest { - - /** - * The request builder for this collection of Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseGroupCollectionResponse.class, IGroupCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IGroupCollectionPage get() throws ClientException { - final BaseGroupCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Group newGroup, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new GroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroup, callback); - } - - public Group post(final Group newGroup) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new GroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroup); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (GroupCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (GroupCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (GroupCollectionRequest)this; - } - - public IGroupCollectionPage buildFromResponse(final BaseGroupCollectionResponse response) { - final IGroupCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new GroupCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final GroupCollectionPage page = new GroupCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequestBuilder.java deleted file mode 100644 index 7cbb91c8a09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Collection Request Builder. - */ -public class BaseGroupCollectionRequestBuilder extends BaseRequestBuilder implements IBaseGroupCollectionRequestBuilder { - - /** - * The request builder for this collection of Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IGroupCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IGroupCollectionRequest buildRequest(final java.util.List requestOptions) { - return new GroupCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IGroupRequestBuilder byId(final String id) { - return new GroupRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IGroupDeltaCollectionRequestBuilder delta() { - return new GroupDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IGroupDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new GroupDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionResponse.java deleted file mode 100644 index 6ead7a31dfb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Group; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Collection Response. - */ -public class BaseGroupCollectionResponse implements IJsonBackedObject { - - /** - * The list of Group within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionPage.java deleted file mode 100644 index b149a5e875c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Delta Collection Page. - */ -public class BaseGroupDeltaCollectionPage extends BaseCollectionPage implements IBaseGroupDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for GroupDelta. - * - * @param response The serialized BaseGroupDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseGroupDeltaCollectionPage(final BaseGroupDeltaCollectionResponse response, final IGroupDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequest.java deleted file mode 100644 index 545dbb5d49b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Delta Collection Request. - */ -public class BaseGroupDeltaCollectionRequest extends BaseCollectionRequest implements IBaseGroupDeltaCollectionRequest { - - - /** - * The request for this GroupDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseGroupDeltaCollectionResponse.class, IGroupDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IGroupDeltaCollectionPage get() throws ClientException { - final BaseGroupDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IGroupDeltaCollectionPage buildFromResponse(final BaseGroupDeltaCollectionResponse response) { - final IGroupDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new GroupDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IGroupDeltaCollectionPage page = new GroupDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IGroupDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IGroupDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IGroupDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequestBuilder.java deleted file mode 100644 index 6519371a8e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Delta Collection Request Builder. - */ -public class BaseGroupDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseGroupDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IGroupDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IGroupDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - GroupDeltaCollectionRequest request = new GroupDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionResponse.java deleted file mode 100644 index 7e928f153d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Delta Collection Response. - */ -public class BaseGroupDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequest.java deleted file mode 100644 index 593e9e0f733..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicyAddGroupBody; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyAddGroupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Add Group Request. - */ -public class BaseGroupLifecyclePolicyAddGroupRequest extends BaseRequest implements IBaseGroupLifecyclePolicyAddGroupRequest { - protected final GroupLifecyclePolicyAddGroupBody body; - - /** - * The request for this GroupLifecyclePolicyAddGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupLifecyclePolicyAddGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Boolean.class); - body = new GroupLifecyclePolicyAddGroupBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Boolean post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupLifecyclePolicyAddGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupLifecyclePolicyAddGroupRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupLifecyclePolicyAddGroupRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (GroupLifecyclePolicyAddGroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupLifecyclePolicyAddGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupLifecyclePolicyAddGroupRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequestBuilder.java deleted file mode 100644 index 0979ba7186c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyAddGroupRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyAddGroupRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Add Group Request Builder. - */ -public class BaseGroupLifecyclePolicyAddGroupRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupLifecyclePolicyAddGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param groupId the groupId - */ - public BaseGroupLifecyclePolicyAddGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String groupId) { - super(requestUrl, client, requestOptions); - bodyParams.put("groupId", groupId); - } - - /** - * Creates the IGroupLifecyclePolicyAddGroupRequest - * - * @return the IGroupLifecyclePolicyAddGroupRequest instance - */ - public IGroupLifecyclePolicyAddGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupLifecyclePolicyAddGroupRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupLifecyclePolicyAddGroupRequest instance - */ - public IGroupLifecyclePolicyAddGroupRequest buildRequest(final java.util.List requestOptions) { - GroupLifecyclePolicyAddGroupRequest request = new GroupLifecyclePolicyAddGroupRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("groupId")) { - request.body.groupId = getParameter("groupId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionPage.java deleted file mode 100644 index e4f20340a29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Collection Page. - */ -public class BaseGroupLifecyclePolicyCollectionPage extends BaseCollectionPage implements IBaseGroupLifecyclePolicyCollectionPage { - - /** - * A collection page for GroupLifecyclePolicy - * - * @param response the serialized BaseGroupLifecyclePolicyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseGroupLifecyclePolicyCollectionPage(final BaseGroupLifecyclePolicyCollectionResponse response, final IGroupLifecyclePolicyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequest.java deleted file mode 100644 index 0fdc1b422b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Collection Request. - */ -public class BaseGroupLifecyclePolicyCollectionRequest extends BaseCollectionRequest implements IBaseGroupLifecyclePolicyCollectionRequest { - - /** - * The request builder for this collection of GroupLifecyclePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupLifecyclePolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseGroupLifecyclePolicyCollectionResponse.class, IGroupLifecyclePolicyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IGroupLifecyclePolicyCollectionPage get() throws ClientException { - final BaseGroupLifecyclePolicyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new GroupLifecyclePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroupLifecyclePolicy, callback); - } - - public GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new GroupLifecyclePolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroupLifecyclePolicy); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupLifecyclePolicyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (GroupLifecyclePolicyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupLifecyclePolicyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (GroupLifecyclePolicyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupLifecyclePolicyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (GroupLifecyclePolicyCollectionRequest)this; - } - - public IGroupLifecyclePolicyCollectionPage buildFromResponse(final BaseGroupLifecyclePolicyCollectionResponse response) { - final IGroupLifecyclePolicyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new GroupLifecyclePolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final GroupLifecyclePolicyCollectionPage page = new GroupLifecyclePolicyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequestBuilder.java deleted file mode 100644 index 31db6b1df1c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Collection Request Builder. - */ -public class BaseGroupLifecyclePolicyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseGroupLifecyclePolicyCollectionRequestBuilder { - - /** - * The request builder for this collection of GroupLifecyclePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupLifecyclePolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IGroupLifecyclePolicyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IGroupLifecyclePolicyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new GroupLifecyclePolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IGroupLifecyclePolicyRequestBuilder byId(final String id) { - return new GroupLifecyclePolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionResponse.java deleted file mode 100644 index 6a12654879c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Collection Response. - */ -public class BaseGroupLifecyclePolicyCollectionResponse implements IJsonBackedObject { - - /** - * The list of GroupLifecyclePolicy within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequest.java deleted file mode 100644 index 37bc6140bcb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicyRemoveGroupBody; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRemoveGroupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Remove Group Request. - */ -public class BaseGroupLifecyclePolicyRemoveGroupRequest extends BaseRequest implements IBaseGroupLifecyclePolicyRemoveGroupRequest { - protected final GroupLifecyclePolicyRemoveGroupBody body; - - /** - * The request for this GroupLifecyclePolicyRemoveGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupLifecyclePolicyRemoveGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Boolean.class); - body = new GroupLifecyclePolicyRemoveGroupBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Boolean post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupLifecyclePolicyRemoveGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupLifecyclePolicyRemoveGroupRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupLifecyclePolicyRemoveGroupRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (GroupLifecyclePolicyRemoveGroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupLifecyclePolicyRemoveGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupLifecyclePolicyRemoveGroupRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java deleted file mode 100644 index bea32e3a1ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRemoveGroupRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Remove Group Request Builder. - */ -public class BaseGroupLifecyclePolicyRemoveGroupRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupLifecyclePolicyRemoveGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param groupId the groupId - */ - public BaseGroupLifecyclePolicyRemoveGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String groupId) { - super(requestUrl, client, requestOptions); - bodyParams.put("groupId", groupId); - } - - /** - * Creates the IGroupLifecyclePolicyRemoveGroupRequest - * - * @return the IGroupLifecyclePolicyRemoveGroupRequest instance - */ - public IGroupLifecyclePolicyRemoveGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupLifecyclePolicyRemoveGroupRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupLifecyclePolicyRemoveGroupRequest instance - */ - public IGroupLifecyclePolicyRemoveGroupRequest buildRequest(final java.util.List requestOptions) { - GroupLifecyclePolicyRemoveGroupRequest request = new GroupLifecyclePolicyRemoveGroupRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("groupId")) { - request.body.groupId = getParameter("groupId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequest.java deleted file mode 100644 index 9e7abec21de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequest; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRequest; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Request. - */ -public class BaseGroupLifecyclePolicyRequest extends BaseRequest implements IBaseGroupLifecyclePolicyRequest { - - /** - * The request for the GroupLifecyclePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseGroupLifecyclePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the GroupLifecyclePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the GroupLifecyclePolicy from the service - * - * @return the GroupLifecyclePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupLifecyclePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this GroupLifecyclePolicy with a source - * - * @param sourceGroupLifecyclePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceGroupLifecyclePolicy); - } - - /** - * Patches this GroupLifecyclePolicy with a source - * - * @param sourceGroupLifecyclePolicy the source object with updates - * @return the updated GroupLifecyclePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupLifecyclePolicy patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceGroupLifecyclePolicy); - } - - /** - * Creates a GroupLifecyclePolicy with a new object - * - * @param newGroupLifecyclePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newGroupLifecyclePolicy); - } - - /** - * Creates a GroupLifecyclePolicy with a new object - * - * @param newGroupLifecyclePolicy the new object to create - * @return the created GroupLifecyclePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException { - return send(HttpMethod.POST, newGroupLifecyclePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupLifecyclePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupLifecyclePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupLifecyclePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupLifecyclePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequestBuilder.java deleted file mode 100644 index dc2e85adfea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupLifecyclePolicyRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequest; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRequest; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyAddGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRemoveGroupRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Lifecycle Policy Request Builder. - */ -public class BaseGroupLifecyclePolicyRequestBuilder extends BaseRequestBuilder implements IBaseGroupLifecyclePolicyRequestBuilder { - - /** - * The request builder for the GroupLifecyclePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupLifecyclePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IGroupLifecyclePolicyRequest instance - */ - public IGroupLifecyclePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IGroupLifecyclePolicyRequest instance - */ - public IGroupLifecyclePolicyRequest buildRequest(final java.util.List requestOptions) { - return new GroupLifecyclePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IGroupLifecyclePolicyAddGroupRequestBuilder addGroup(final String groupId) { - return new GroupLifecyclePolicyAddGroupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addGroup"), getClient(), null, groupId); - } - - public IGroupLifecyclePolicyRemoveGroupRequestBuilder removeGroup(final String groupId) { - return new GroupLifecyclePolicyRemoveGroupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.removeGroup"), getClient(), null, groupId); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequest.java deleted file mode 100644 index a5c4056bfda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Reference Request. - */ -public class BaseGroupReferenceRequest extends BaseRequest implements IBaseGroupReferenceRequest { - - /** - * The request for the Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Group.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public Group delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupReferenceRequest)this; - } - /** - * Puts the Group - * - * @param srcGroup the Group reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Group srcGroup, final ICallback callback) { - send(HttpMethod.PUT, callback, srcGroup); - } - - /** - * Puts the Group - * - * @param srcGroup the Group reference to PUT - * @return the Group - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Group put(Group srcGroup) throws ClientException { - return send(HttpMethod.PUT, srcGroup); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequestBuilder.java deleted file mode 100644 index 0e47e956f1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Reference Request Builder. - */ -public class BaseGroupReferenceRequestBuilder extends BaseRequestBuilder implements IBaseGroupReferenceRequestBuilder { - - /** - * The request builder for the Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IGroupReferenceRequest instance - */ - public IGroupReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IGroupReferenceRequest instance - */ - public IGroupReferenceRequest buildRequest(final java.util.List requestOptions) { - return new GroupReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequest.java deleted file mode 100644 index 24f99b3e5df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; -import com.microsoft.graph.requests.extensions.GroupRemoveFavoriteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Remove Favorite Request. - */ -public class BaseGroupRemoveFavoriteRequest extends BaseRequest implements IBaseGroupRemoveFavoriteRequest { - - /** - * The request for this GroupRemoveFavorite - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupRemoveFavoriteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the GroupRemoveFavorite - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the GroupRemoveFavorite - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequestBuilder.java deleted file mode 100644 index ef57a61e097..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRemoveFavoriteRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; -import com.microsoft.graph.requests.extensions.GroupRemoveFavoriteRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Remove Favorite Request Builder. - */ -public class BaseGroupRemoveFavoriteRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupRemoveFavorite - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupRemoveFavoriteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IGroupRemoveFavoriteRequest - * - * @return the IGroupRemoveFavoriteRequest instance - */ - public IGroupRemoveFavoriteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupRemoveFavoriteRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupRemoveFavoriteRequest instance - */ - public IGroupRemoveFavoriteRequest buildRequest(final java.util.List requestOptions) { - GroupRemoveFavoriteRequest request = new GroupRemoveFavoriteRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequest.java deleted file mode 100644 index 1b2b1a7db85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRenewRequest; -import com.microsoft.graph.requests.extensions.GroupRenewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Renew Request. - */ -public class BaseGroupRenewRequest extends BaseRequest implements IBaseGroupRenewRequest { - - /** - * The request for this GroupRenew - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupRenewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the GroupRenew - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the GroupRenew - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequestBuilder.java deleted file mode 100644 index bf62f34bc27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRenewRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRenewRequest; -import com.microsoft.graph.requests.extensions.GroupRenewRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Renew Request Builder. - */ -public class BaseGroupRenewRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupRenew - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupRenewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IGroupRenewRequest - * - * @return the IGroupRenewRequest instance - */ - public IGroupRenewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupRenewRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupRenewRequest instance - */ - public IGroupRenewRequest buildRequest(final java.util.List requestOptions) { - GroupRenewRequest request = new GroupRenewRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequest.java deleted file mode 100644 index 4d66e7b6d7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRequest; -import com.microsoft.graph.requests.extensions.GroupRequest; -import com.microsoft.graph.models.extensions.Group; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Request. - */ -public class BaseGroupRequest extends BaseRequest implements IBaseGroupRequest { - - /** - * The request for the Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseGroupRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Group from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Group from the service - * - * @return the Group from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Group get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Group with a source - * - * @param sourceGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Group sourceGroup, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceGroup); - } - - /** - * Patches this Group with a source - * - * @param sourceGroup the source object with updates - * @return the updated Group - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Group patch(final Group sourceGroup) throws ClientException { - return send(HttpMethod.PATCH, sourceGroup); - } - - /** - * Creates a Group with a new object - * - * @param newGroup the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Group newGroup, final ICallback callback) { - send(HttpMethod.POST, callback, newGroup); - } - - /** - * Creates a Group with a new object - * - * @param newGroup the new object to create - * @return the created Group - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Group post(final Group newGroup) throws ClientException { - return send(HttpMethod.POST, newGroup); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequestBuilder.java deleted file mode 100644 index 9bc35982f0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupRequestBuilder.java +++ /dev/null @@ -1,330 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRequest; -import com.microsoft.graph.requests.extensions.GroupRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupSettingCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupSettingCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupSettingRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupSettingRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationThreadRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationRequestBuilder; -import com.microsoft.graph.requests.extensions.ConversationRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SiteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; -import com.microsoft.graph.requests.extensions.SiteRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupLifecyclePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupSubscribeByMailRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupUnsubscribeByMailRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupAddFavoriteRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupRemoveFavoriteRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupResetUnseenCountRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRenewRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupRenewRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Request Builder. - */ -public class BaseGroupRequestBuilder extends BaseRequestBuilder implements IBaseGroupRequestBuilder { - - /** - * The request builder for the Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IGroupRequest instance - */ - public IGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IGroupRequest instance - */ - public IGroupRequest buildRequest(final java.util.List requestOptions) { - return new GroupRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectCollectionWithReferencesRequestBuilder members() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder members(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for DirectoryObject - * - * @return the IDirectoryObjectWithReferenceRequestBuilder instance - */ - public IDirectoryObjectWithReferenceRequestBuilder createdOnBehalfOf() { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdOnBehalfOf"), getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder owners() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("owners"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder owners(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("owners") + "/" + id, getClient(), null); - } - public IGroupSettingCollectionRequestBuilder settings() { - return new GroupSettingCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null); - } - - public IGroupSettingRequestBuilder settings(final String id) { - return new GroupSettingRequestBuilder(getRequestUrlWithAdditionalSegment("settings") + "/" + id, getClient(), null); - } - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - public IConversationThreadCollectionRequestBuilder threads() { - return new ConversationThreadCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("threads"), getClient(), null); - } - - public IConversationThreadRequestBuilder threads(final String id) { - return new ConversationThreadRequestBuilder(getRequestUrlWithAdditionalSegment("threads") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Calendar - * - * @return the ICalendarRequestBuilder instance - */ - public ICalendarRequestBuilder calendar() { - return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendar"), getClient(), null); - } - public IEventCollectionRequestBuilder calendarView() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView"), getClient(), null); - } - - public IEventRequestBuilder calendarView(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView") + "/" + id, getClient(), null); - } - public IEventCollectionRequestBuilder events() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("events"), getClient(), null); - } - - public IEventRequestBuilder events(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("events") + "/" + id, getClient(), null); - } - public IConversationCollectionRequestBuilder conversations() { - return new ConversationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("conversations"), getClient(), null); - } - - public IConversationRequestBuilder conversations(final String id) { - return new ConversationRequestBuilder(getRequestUrlWithAdditionalSegment("conversations") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ProfilePhoto - * - * @return the IProfilePhotoRequestBuilder instance - */ - public IProfilePhotoRequestBuilder photo() { - return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photo"), getClient(), null); - } - public IProfilePhotoCollectionRequestBuilder photos() { - return new ProfilePhotoCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("photos"), getClient(), null); - } - - public IProfilePhotoRequestBuilder photos(final String id) { - return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photos") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionRequestBuilder acceptedSenders() { - return new DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("acceptedSenders"), getClient(), null); - } - - public IDirectoryObjectRequestBuilder acceptedSenders(final String id) { - return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("acceptedSenders") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionRequestBuilder rejectedSenders() { - return new DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("rejectedSenders"), getClient(), null); - } - - public IDirectoryObjectRequestBuilder rejectedSenders(final String id) { - return new DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("rejectedSenders") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - public IDriveRequestBuilder drive() { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); - } - public IDriveCollectionRequestBuilder drives() { - return new DriveCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("drives"), getClient(), null); - } - - public IDriveRequestBuilder drives(final String id) { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null); - } - public ISiteCollectionRequestBuilder sites() { - return new SiteCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sites"), getClient(), null); - } - - public ISiteRequestBuilder sites(final String id) { - return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment("sites") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for PlannerGroup - * - * @return the IPlannerGroupRequestBuilder instance - */ - public IPlannerGroupRequestBuilder planner() { - return new PlannerGroupRequestBuilder(getRequestUrlWithAdditionalSegment("planner"), getClient(), null); - } - - /** - * Gets the request builder for Onenote - * - * @return the IOnenoteRequestBuilder instance - */ - public IOnenoteRequestBuilder onenote() { - return new OnenoteRequestBuilder(getRequestUrlWithAdditionalSegment("onenote"), getClient(), null); - } - public IGroupLifecyclePolicyCollectionRequestBuilder groupLifecyclePolicies() { - return new GroupLifecyclePolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("groupLifecyclePolicies"), getClient(), null); - } - - public IGroupLifecyclePolicyRequestBuilder groupLifecyclePolicies(final String id) { - return new GroupLifecyclePolicyRequestBuilder(getRequestUrlWithAdditionalSegment("groupLifecyclePolicies") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Team - * - * @return the ITeamRequestBuilder instance - */ - public ITeamRequestBuilder team() { - return new TeamRequestBuilder(getRequestUrlWithAdditionalSegment("team"), getClient(), null); - } - - public IGroupSubscribeByMailRequestBuilder subscribeByMail() { - return new GroupSubscribeByMailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.subscribeByMail"), getClient(), null); - } - - public IGroupUnsubscribeByMailRequestBuilder unsubscribeByMail() { - return new GroupUnsubscribeByMailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unsubscribeByMail"), getClient(), null); - } - - public IGroupAddFavoriteRequestBuilder addFavorite() { - return new GroupAddFavoriteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addFavorite"), getClient(), null); - } - - public IGroupRemoveFavoriteRequestBuilder removeFavorite() { - return new GroupRemoveFavoriteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.removeFavorite"), getClient(), null); - } - - public IGroupResetUnseenCountRequestBuilder resetUnseenCount() { - return new GroupResetUnseenCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resetUnseenCount"), getClient(), null); - } - - public IGroupRenewRequestBuilder renew() { - return new GroupRenewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.renew"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequest.java deleted file mode 100644 index cd085f31e55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; -import com.microsoft.graph.requests.extensions.GroupResetUnseenCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Reset Unseen Count Request. - */ -public class BaseGroupResetUnseenCountRequest extends BaseRequest implements IBaseGroupResetUnseenCountRequest { - - /** - * The request for this GroupResetUnseenCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupResetUnseenCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the GroupResetUnseenCount - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the GroupResetUnseenCount - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequestBuilder.java deleted file mode 100644 index eff34f36427..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupResetUnseenCountRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; -import com.microsoft.graph.requests.extensions.GroupResetUnseenCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Reset Unseen Count Request Builder. - */ -public class BaseGroupResetUnseenCountRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupResetUnseenCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupResetUnseenCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IGroupResetUnseenCountRequest - * - * @return the IGroupResetUnseenCountRequest instance - */ - public IGroupResetUnseenCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupResetUnseenCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupResetUnseenCountRequest instance - */ - public IGroupResetUnseenCountRequest buildRequest(final java.util.List requestOptions) { - GroupResetUnseenCountRequest request = new GroupResetUnseenCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionPage.java deleted file mode 100644 index 2bd6df8bfd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupSetting; -import com.microsoft.graph.requests.extensions.IGroupSettingCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Collection Page. - */ -public class BaseGroupSettingCollectionPage extends BaseCollectionPage implements IBaseGroupSettingCollectionPage { - - /** - * A collection page for GroupSetting - * - * @param response the serialized BaseGroupSettingCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseGroupSettingCollectionPage(final BaseGroupSettingCollectionResponse response, final IGroupSettingCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequest.java deleted file mode 100644 index 6d8c52f9701..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Collection Request. - */ -public class BaseGroupSettingCollectionRequest extends BaseCollectionRequest implements IBaseGroupSettingCollectionRequest { - - /** - * The request builder for this collection of GroupSetting - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSettingCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseGroupSettingCollectionResponse.class, IGroupSettingCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IGroupSettingCollectionPage get() throws ClientException { - final BaseGroupSettingCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final GroupSetting newGroupSetting, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new GroupSettingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroupSetting, callback); - } - - public GroupSetting post(final GroupSetting newGroupSetting) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new GroupSettingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroupSetting); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupSettingCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (GroupSettingCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupSettingCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (GroupSettingCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupSettingCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (GroupSettingCollectionRequest)this; - } - - public IGroupSettingCollectionPage buildFromResponse(final BaseGroupSettingCollectionResponse response) { - final IGroupSettingCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new GroupSettingCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final GroupSettingCollectionPage page = new GroupSettingCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequestBuilder.java deleted file mode 100644 index 7a58bdb1a1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Collection Request Builder. - */ -public class BaseGroupSettingCollectionRequestBuilder extends BaseRequestBuilder implements IBaseGroupSettingCollectionRequestBuilder { - - /** - * The request builder for this collection of GroupSetting - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSettingCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IGroupSettingCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IGroupSettingCollectionRequest buildRequest(final java.util.List requestOptions) { - return new GroupSettingCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IGroupSettingRequestBuilder byId(final String id) { - return new GroupSettingRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionResponse.java deleted file mode 100644 index 639a58de3c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupSetting; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Collection Response. - */ -public class BaseGroupSettingCollectionResponse implements IJsonBackedObject { - - /** - * The list of GroupSetting within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequest.java deleted file mode 100644 index 08bb2718a2f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSettingRequest; -import com.microsoft.graph.requests.extensions.GroupSettingRequest; -import com.microsoft.graph.models.extensions.GroupSetting; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Request. - */ -public class BaseGroupSettingRequest extends BaseRequest implements IBaseGroupSettingRequest { - - /** - * The request for the GroupSetting - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseGroupSettingRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the GroupSetting from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the GroupSetting from the service - * - * @return the GroupSetting from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupSetting get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this GroupSetting with a source - * - * @param sourceGroupSetting the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final GroupSetting sourceGroupSetting, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceGroupSetting); - } - - /** - * Patches this GroupSetting with a source - * - * @param sourceGroupSetting the source object with updates - * @return the updated GroupSetting - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupSetting patch(final GroupSetting sourceGroupSetting) throws ClientException { - return send(HttpMethod.PATCH, sourceGroupSetting); - } - - /** - * Creates a GroupSetting with a new object - * - * @param newGroupSetting the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final GroupSetting newGroupSetting, final ICallback callback) { - send(HttpMethod.POST, callback, newGroupSetting); - } - - /** - * Creates a GroupSetting with a new object - * - * @param newGroupSetting the new object to create - * @return the created GroupSetting - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupSetting post(final GroupSetting newGroupSetting) throws ClientException { - return send(HttpMethod.POST, newGroupSetting); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupSettingRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupSettingRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupSettingRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupSettingRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequestBuilder.java deleted file mode 100644 index b37d25aa9b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSettingRequest; -import com.microsoft.graph.requests.extensions.GroupSettingRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Request Builder. - */ -public class BaseGroupSettingRequestBuilder extends BaseRequestBuilder implements IBaseGroupSettingRequestBuilder { - - /** - * The request builder for the GroupSetting - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSettingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IGroupSettingRequest instance - */ - public IGroupSettingRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IGroupSettingRequest instance - */ - public IGroupSettingRequest buildRequest(final java.util.List requestOptions) { - return new GroupSettingRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionPage.java deleted file mode 100644 index c2f0f6943ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupSettingTemplate; -import com.microsoft.graph.requests.extensions.IGroupSettingTemplateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template Collection Page. - */ -public class BaseGroupSettingTemplateCollectionPage extends BaseCollectionPage implements IBaseGroupSettingTemplateCollectionPage { - - /** - * A collection page for GroupSettingTemplate - * - * @param response the serialized BaseGroupSettingTemplateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseGroupSettingTemplateCollectionPage(final BaseGroupSettingTemplateCollectionResponse response, final IGroupSettingTemplateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequest.java deleted file mode 100644 index 7dbda41e5d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template Collection Request. - */ -public class BaseGroupSettingTemplateCollectionRequest extends BaseCollectionRequest implements IBaseGroupSettingTemplateCollectionRequest { - - /** - * The request builder for this collection of GroupSettingTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSettingTemplateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseGroupSettingTemplateCollectionResponse.class, IGroupSettingTemplateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IGroupSettingTemplateCollectionPage get() throws ClientException { - final BaseGroupSettingTemplateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new GroupSettingTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroupSettingTemplate, callback); - } - - public GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new GroupSettingTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newGroupSettingTemplate); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupSettingTemplateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (GroupSettingTemplateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupSettingTemplateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (GroupSettingTemplateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IGroupSettingTemplateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (GroupSettingTemplateCollectionRequest)this; - } - - public IGroupSettingTemplateCollectionPage buildFromResponse(final BaseGroupSettingTemplateCollectionResponse response) { - final IGroupSettingTemplateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new GroupSettingTemplateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final GroupSettingTemplateCollectionPage page = new GroupSettingTemplateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequestBuilder.java deleted file mode 100644 index 5ed263bed75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template Collection Request Builder. - */ -public class BaseGroupSettingTemplateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseGroupSettingTemplateCollectionRequestBuilder { - - /** - * The request builder for this collection of GroupSettingTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSettingTemplateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IGroupSettingTemplateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IGroupSettingTemplateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new GroupSettingTemplateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IGroupSettingTemplateRequestBuilder byId(final String id) { - return new GroupSettingTemplateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionResponse.java deleted file mode 100644 index 32ba0e9ba96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupSettingTemplate; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template Collection Response. - */ -public class BaseGroupSettingTemplateCollectionResponse implements IJsonBackedObject { - - /** - * The list of GroupSettingTemplate within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequest.java deleted file mode 100644 index 9c82b6a418f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSettingTemplateRequest; -import com.microsoft.graph.requests.extensions.GroupSettingTemplateRequest; -import com.microsoft.graph.models.extensions.GroupSettingTemplate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template Request. - */ -public class BaseGroupSettingTemplateRequest extends BaseRequest implements IBaseGroupSettingTemplateRequest { - - /** - * The request for the GroupSettingTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseGroupSettingTemplateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the GroupSettingTemplate from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the GroupSettingTemplate from the service - * - * @return the GroupSettingTemplate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupSettingTemplate get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this GroupSettingTemplate with a source - * - * @param sourceGroupSettingTemplate the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final GroupSettingTemplate sourceGroupSettingTemplate, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceGroupSettingTemplate); - } - - /** - * Patches this GroupSettingTemplate with a source - * - * @param sourceGroupSettingTemplate the source object with updates - * @return the updated GroupSettingTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupSettingTemplate patch(final GroupSettingTemplate sourceGroupSettingTemplate) throws ClientException { - return send(HttpMethod.PATCH, sourceGroupSettingTemplate); - } - - /** - * Creates a GroupSettingTemplate with a new object - * - * @param newGroupSettingTemplate the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback) { - send(HttpMethod.POST, callback, newGroupSettingTemplate); - } - - /** - * Creates a GroupSettingTemplate with a new object - * - * @param newGroupSettingTemplate the new object to create - * @return the created GroupSettingTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException { - return send(HttpMethod.POST, newGroupSettingTemplate); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupSettingTemplateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (GroupSettingTemplateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupSettingTemplateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupSettingTemplateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequestBuilder.java deleted file mode 100644 index 1a5d4e8c389..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSettingTemplateRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSettingTemplateRequest; -import com.microsoft.graph.requests.extensions.GroupSettingTemplateRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Setting Template Request Builder. - */ -public class BaseGroupSettingTemplateRequestBuilder extends BaseRequestBuilder implements IBaseGroupSettingTemplateRequestBuilder { - - /** - * The request builder for the GroupSettingTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSettingTemplateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IGroupSettingTemplateRequest instance - */ - public IGroupSettingTemplateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IGroupSettingTemplateRequest instance - */ - public IGroupSettingTemplateRequest buildRequest(final java.util.List requestOptions) { - return new GroupSettingTemplateRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequest.java deleted file mode 100644 index 1a547d78d8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; -import com.microsoft.graph.requests.extensions.GroupSubscribeByMailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Subscribe By Mail Request. - */ -public class BaseGroupSubscribeByMailRequest extends BaseRequest implements IBaseGroupSubscribeByMailRequest { - - /** - * The request for this GroupSubscribeByMail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSubscribeByMailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the GroupSubscribeByMail - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the GroupSubscribeByMail - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequestBuilder.java deleted file mode 100644 index af426b92ac0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupSubscribeByMailRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; -import com.microsoft.graph.requests.extensions.GroupSubscribeByMailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Subscribe By Mail Request Builder. - */ -public class BaseGroupSubscribeByMailRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupSubscribeByMail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupSubscribeByMailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IGroupSubscribeByMailRequest - * - * @return the IGroupSubscribeByMailRequest instance - */ - public IGroupSubscribeByMailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupSubscribeByMailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupSubscribeByMailRequest instance - */ - public IGroupSubscribeByMailRequest buildRequest(final java.util.List requestOptions) { - GroupSubscribeByMailRequest request = new GroupSubscribeByMailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequest.java deleted file mode 100644 index c0b1ebb7312..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; -import com.microsoft.graph.requests.extensions.GroupUnsubscribeByMailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Unsubscribe By Mail Request. - */ -public class BaseGroupUnsubscribeByMailRequest extends BaseRequest implements IBaseGroupUnsubscribeByMailRequest { - - /** - * The request for this GroupUnsubscribeByMail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupUnsubscribeByMailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the GroupUnsubscribeByMail - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the GroupUnsubscribeByMail - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequestBuilder.java deleted file mode 100644 index d1a584c335d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupUnsubscribeByMailRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; -import com.microsoft.graph.requests.extensions.GroupUnsubscribeByMailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group Unsubscribe By Mail Request Builder. - */ -public class BaseGroupUnsubscribeByMailRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this GroupUnsubscribeByMail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupUnsubscribeByMailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IGroupUnsubscribeByMailRequest - * - * @return the IGroupUnsubscribeByMailRequest instance - */ - public IGroupUnsubscribeByMailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IGroupUnsubscribeByMailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IGroupUnsubscribeByMailRequest instance - */ - public IGroupUnsubscribeByMailRequest buildRequest(final java.util.List requestOptions) { - GroupUnsubscribeByMailRequest request = new GroupUnsubscribeByMailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequest.java deleted file mode 100644 index 071486c3dcc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group With Reference Request. - */ -public class BaseGroupWithReferenceRequest extends BaseRequest implements IBaseGroupWithReferenceRequest { - - /** - * The request for the Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Group.class); - } - - public void post(final Group newGroup, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public Group post(final Group newGroup, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newGroup; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public Group get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final Group sourceGroup, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceGroup); - } - - public Group patch(final Group sourceGroup) throws ClientException { - return send(HttpMethod.PATCH, sourceGroup); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IGroupWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IGroupWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IGroupWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (GroupWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequestBuilder.java deleted file mode 100644 index c262a0d545f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseGroupWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Group With Reference Request Builder. - */ -public class BaseGroupWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseGroupWithReferenceRequestBuilder { - - /** - * The request builder for the Group - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseGroupWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IGroupWithReferenceRequest instance - */ - public IGroupWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupWithReferenceRequest instance - */ - public IGroupWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new GroupWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IGroupReferenceRequestBuilder reference(){ - return new GroupReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionPage.java deleted file mode 100644 index 1a14453d929..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.InferenceClassificationOverride; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override Collection Page. - */ -public class BaseInferenceClassificationOverrideCollectionPage extends BaseCollectionPage implements IBaseInferenceClassificationOverrideCollectionPage { - - /** - * A collection page for InferenceClassificationOverride - * - * @param response the serialized BaseInferenceClassificationOverrideCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseInferenceClassificationOverrideCollectionPage(final BaseInferenceClassificationOverrideCollectionResponse response, final IInferenceClassificationOverrideCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequest.java deleted file mode 100644 index abeea148732..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override Collection Request. - */ -public class BaseInferenceClassificationOverrideCollectionRequest extends BaseCollectionRequest implements IBaseInferenceClassificationOverrideCollectionRequest { - - /** - * The request builder for this collection of InferenceClassificationOverride - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInferenceClassificationOverrideCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseInferenceClassificationOverrideCollectionResponse.class, IInferenceClassificationOverrideCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IInferenceClassificationOverrideCollectionPage get() throws ClientException { - final BaseInferenceClassificationOverrideCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new InferenceClassificationOverrideRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newInferenceClassificationOverride, callback); - } - - public InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new InferenceClassificationOverrideRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newInferenceClassificationOverride); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IInferenceClassificationOverrideCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (InferenceClassificationOverrideCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IInferenceClassificationOverrideCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (InferenceClassificationOverrideCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IInferenceClassificationOverrideCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (InferenceClassificationOverrideCollectionRequest)this; - } - - public IInferenceClassificationOverrideCollectionPage buildFromResponse(final BaseInferenceClassificationOverrideCollectionResponse response) { - final IInferenceClassificationOverrideCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new InferenceClassificationOverrideCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final InferenceClassificationOverrideCollectionPage page = new InferenceClassificationOverrideCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequestBuilder.java deleted file mode 100644 index 1ad6e0d90a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override Collection Request Builder. - */ -public class BaseInferenceClassificationOverrideCollectionRequestBuilder extends BaseRequestBuilder implements IBaseInferenceClassificationOverrideCollectionRequestBuilder { - - /** - * The request builder for this collection of InferenceClassification - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInferenceClassificationOverrideCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IInferenceClassificationOverrideCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IInferenceClassificationOverrideCollectionRequest buildRequest(final java.util.List requestOptions) { - return new InferenceClassificationOverrideCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IInferenceClassificationOverrideRequestBuilder byId(final String id) { - return new InferenceClassificationOverrideRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionResponse.java deleted file mode 100644 index 21bf560edc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.InferenceClassificationOverride; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override Collection Response. - */ -public class BaseInferenceClassificationOverrideCollectionResponse implements IJsonBackedObject { - - /** - * The list of InferenceClassificationOverride within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequest.java deleted file mode 100644 index 98b1bfb6614..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequest; -import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideRequest; -import com.microsoft.graph.models.extensions.InferenceClassificationOverride; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override Request. - */ -public class BaseInferenceClassificationOverrideRequest extends BaseRequest implements IBaseInferenceClassificationOverrideRequest { - - /** - * The request for the InferenceClassificationOverride - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseInferenceClassificationOverrideRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the InferenceClassificationOverride from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the InferenceClassificationOverride from the service - * - * @return the InferenceClassificationOverride from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public InferenceClassificationOverride get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this InferenceClassificationOverride with a source - * - * @param sourceInferenceClassificationOverride the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final InferenceClassificationOverride sourceInferenceClassificationOverride, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceInferenceClassificationOverride); - } - - /** - * Patches this InferenceClassificationOverride with a source - * - * @param sourceInferenceClassificationOverride the source object with updates - * @return the updated InferenceClassificationOverride - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public InferenceClassificationOverride patch(final InferenceClassificationOverride sourceInferenceClassificationOverride) throws ClientException { - return send(HttpMethod.PATCH, sourceInferenceClassificationOverride); - } - - /** - * Creates a InferenceClassificationOverride with a new object - * - * @param newInferenceClassificationOverride the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback) { - send(HttpMethod.POST, callback, newInferenceClassificationOverride); - } - - /** - * Creates a InferenceClassificationOverride with a new object - * - * @param newInferenceClassificationOverride the new object to create - * @return the created InferenceClassificationOverride - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException { - return send(HttpMethod.POST, newInferenceClassificationOverride); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IInferenceClassificationOverrideRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (InferenceClassificationOverrideRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IInferenceClassificationOverrideRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (InferenceClassificationOverrideRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequestBuilder.java deleted file mode 100644 index 89a5b49aac1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationOverrideRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequest; -import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Override Request Builder. - */ -public class BaseInferenceClassificationOverrideRequestBuilder extends BaseRequestBuilder implements IBaseInferenceClassificationOverrideRequestBuilder { - - /** - * The request builder for the InferenceClassificationOverride - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInferenceClassificationOverrideRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IInferenceClassificationOverrideRequest instance - */ - public IInferenceClassificationOverrideRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IInferenceClassificationOverrideRequest instance - */ - public IInferenceClassificationOverrideRequest buildRequest(final java.util.List requestOptions) { - return new InferenceClassificationOverrideRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequest.java deleted file mode 100644 index 3158eeb4a98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInferenceClassificationRequest; -import com.microsoft.graph.requests.extensions.InferenceClassificationRequest; -import com.microsoft.graph.models.extensions.InferenceClassification; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Request. - */ -public class BaseInferenceClassificationRequest extends BaseRequest implements IBaseInferenceClassificationRequest { - - /** - * The request for the InferenceClassification - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseInferenceClassificationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the InferenceClassification from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the InferenceClassification from the service - * - * @return the InferenceClassification from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public InferenceClassification get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this InferenceClassification with a source - * - * @param sourceInferenceClassification the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final InferenceClassification sourceInferenceClassification, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceInferenceClassification); - } - - /** - * Patches this InferenceClassification with a source - * - * @param sourceInferenceClassification the source object with updates - * @return the updated InferenceClassification - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public InferenceClassification patch(final InferenceClassification sourceInferenceClassification) throws ClientException { - return send(HttpMethod.PATCH, sourceInferenceClassification); - } - - /** - * Creates a InferenceClassification with a new object - * - * @param newInferenceClassification the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final InferenceClassification newInferenceClassification, final ICallback callback) { - send(HttpMethod.POST, callback, newInferenceClassification); - } - - /** - * Creates a InferenceClassification with a new object - * - * @param newInferenceClassification the new object to create - * @return the created InferenceClassification - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public InferenceClassification post(final InferenceClassification newInferenceClassification) throws ClientException { - return send(HttpMethod.POST, newInferenceClassification); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IInferenceClassificationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (InferenceClassificationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IInferenceClassificationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (InferenceClassificationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequestBuilder.java deleted file mode 100644 index 4835e674eb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInferenceClassificationRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInferenceClassificationRequest; -import com.microsoft.graph.requests.extensions.InferenceClassificationRequest; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequestBuilder; -import com.microsoft.graph.requests.extensions.InferenceClassificationOverrideRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Inference Classification Request Builder. - */ -public class BaseInferenceClassificationRequestBuilder extends BaseRequestBuilder implements IBaseInferenceClassificationRequestBuilder { - - /** - * The request builder for the InferenceClassification - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInferenceClassificationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IInferenceClassificationRequest instance - */ - public IInferenceClassificationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IInferenceClassificationRequest instance - */ - public IInferenceClassificationRequest buildRequest(final java.util.List requestOptions) { - return new InferenceClassificationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IInferenceClassificationOverrideCollectionRequestBuilder overrides() { - return new InferenceClassificationOverrideCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("overrides"), getClient(), null); - } - - public IInferenceClassificationOverrideRequestBuilder overrides(final String id) { - return new InferenceClassificationOverrideRequestBuilder(getRequestUrlWithAdditionalSegment("overrides") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionPage.java deleted file mode 100644 index 1da0d681f36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Invitation; -import com.microsoft.graph.requests.extensions.IInvitationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation Collection Page. - */ -public class BaseInvitationCollectionPage extends BaseCollectionPage implements IBaseInvitationCollectionPage { - - /** - * A collection page for Invitation - * - * @param response the serialized BaseInvitationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseInvitationCollectionPage(final BaseInvitationCollectionResponse response, final IInvitationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequest.java deleted file mode 100644 index 60277c2b276..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation Collection Request. - */ -public class BaseInvitationCollectionRequest extends BaseCollectionRequest implements IBaseInvitationCollectionRequest { - - /** - * The request builder for this collection of Invitation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInvitationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseInvitationCollectionResponse.class, IInvitationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IInvitationCollectionPage get() throws ClientException { - final BaseInvitationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Invitation newInvitation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new InvitationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newInvitation, callback); - } - - public Invitation post(final Invitation newInvitation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new InvitationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newInvitation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IInvitationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (InvitationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IInvitationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (InvitationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IInvitationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (InvitationCollectionRequest)this; - } - - public IInvitationCollectionPage buildFromResponse(final BaseInvitationCollectionResponse response) { - final IInvitationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new InvitationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final InvitationCollectionPage page = new InvitationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequestBuilder.java deleted file mode 100644 index 0d575601262..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation Collection Request Builder. - */ -public class BaseInvitationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseInvitationCollectionRequestBuilder { - - /** - * The request builder for this collection of Invitation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInvitationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IInvitationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IInvitationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new InvitationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IInvitationRequestBuilder byId(final String id) { - return new InvitationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionResponse.java deleted file mode 100644 index 5a2076b02b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Invitation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation Collection Response. - */ -public class BaseInvitationCollectionResponse implements IJsonBackedObject { - - /** - * The list of Invitation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequest.java deleted file mode 100644 index d306e141723..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInvitationRequest; -import com.microsoft.graph.requests.extensions.InvitationRequest; -import com.microsoft.graph.models.extensions.Invitation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation Request. - */ -public class BaseInvitationRequest extends BaseRequest implements IBaseInvitationRequest { - - /** - * The request for the Invitation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseInvitationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Invitation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Invitation from the service - * - * @return the Invitation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Invitation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Invitation with a source - * - * @param sourceInvitation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Invitation sourceInvitation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceInvitation); - } - - /** - * Patches this Invitation with a source - * - * @param sourceInvitation the source object with updates - * @return the updated Invitation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Invitation patch(final Invitation sourceInvitation) throws ClientException { - return send(HttpMethod.PATCH, sourceInvitation); - } - - /** - * Creates a Invitation with a new object - * - * @param newInvitation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Invitation newInvitation, final ICallback callback) { - send(HttpMethod.POST, callback, newInvitation); - } - - /** - * Creates a Invitation with a new object - * - * @param newInvitation the new object to create - * @return the created Invitation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Invitation post(final Invitation newInvitation) throws ClientException { - return send(HttpMethod.POST, newInvitation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IInvitationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (InvitationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IInvitationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (InvitationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequestBuilder.java deleted file mode 100644 index 971c1c9e3c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseInvitationRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInvitationRequest; -import com.microsoft.graph.requests.extensions.InvitationRequest; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.UserWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Invitation Request Builder. - */ -public class BaseInvitationRequestBuilder extends BaseRequestBuilder implements IBaseInvitationRequestBuilder { - - /** - * The request builder for the Invitation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseInvitationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IInvitationRequest instance - */ - public IInvitationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IInvitationRequest instance - */ - public IInvitationRequest buildRequest(final java.util.List requestOptions) { - return new InvitationRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - public IUserWithReferenceRequestBuilder invitedUser() { - return new UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("invitedUser"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequest.java deleted file mode 100644 index eb6c11aa3b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCertificateProfileRequest; -import com.microsoft.graph.requests.extensions.IosCertificateProfileRequest; -import com.microsoft.graph.models.extensions.IosCertificateProfile; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Certificate Profile Request. - */ -public class BaseIosCertificateProfileRequest extends BaseRequest implements IBaseIosCertificateProfileRequest { - - /** - * The request for the IosCertificateProfile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosCertificateProfileRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosCertificateProfile from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosCertificateProfile from the service - * - * @return the IosCertificateProfile from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCertificateProfile get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosCertificateProfile with a source - * - * @param sourceIosCertificateProfile the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosCertificateProfile sourceIosCertificateProfile, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosCertificateProfile); - } - - /** - * Patches this IosCertificateProfile with a source - * - * @param sourceIosCertificateProfile the source object with updates - * @return the updated IosCertificateProfile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCertificateProfile patch(final IosCertificateProfile sourceIosCertificateProfile) throws ClientException { - return send(HttpMethod.PATCH, sourceIosCertificateProfile); - } - - /** - * Creates a IosCertificateProfile with a new object - * - * @param newIosCertificateProfile the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosCertificateProfile newIosCertificateProfile, final ICallback callback) { - send(HttpMethod.POST, callback, newIosCertificateProfile); - } - - /** - * Creates a IosCertificateProfile with a new object - * - * @param newIosCertificateProfile the new object to create - * @return the created IosCertificateProfile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCertificateProfile post(final IosCertificateProfile newIosCertificateProfile) throws ClientException { - return send(HttpMethod.POST, newIosCertificateProfile); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosCertificateProfileRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosCertificateProfileRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosCertificateProfileRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosCertificateProfileRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequestBuilder.java deleted file mode 100644 index dd4449e514e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCertificateProfileRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCertificateProfileRequest; -import com.microsoft.graph.requests.extensions.IosCertificateProfileRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Certificate Profile Request Builder. - */ -public class BaseIosCertificateProfileRequestBuilder extends BaseRequestBuilder implements IBaseIosCertificateProfileRequestBuilder { - - /** - * The request builder for the IosCertificateProfile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosCertificateProfileRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosCertificateProfileRequest instance - */ - public IIosCertificateProfileRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosCertificateProfileRequest instance - */ - public IIosCertificateProfileRequest buildRequest(final java.util.List requestOptions) { - return new IosCertificateProfileRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequest.java deleted file mode 100644 index 6bba962435b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.IosCompliancePolicyRequest; -import com.microsoft.graph.models.extensions.IosCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Compliance Policy Request. - */ -public class BaseIosCompliancePolicyRequest extends BaseRequest implements IBaseIosCompliancePolicyRequest { - - /** - * The request for the IosCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosCompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosCompliancePolicy from the service - * - * @return the IosCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosCompliancePolicy with a source - * - * @param sourceIosCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosCompliancePolicy sourceIosCompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosCompliancePolicy); - } - - /** - * Patches this IosCompliancePolicy with a source - * - * @param sourceIosCompliancePolicy the source object with updates - * @return the updated IosCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCompliancePolicy patch(final IosCompliancePolicy sourceIosCompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceIosCompliancePolicy); - } - - /** - * Creates a IosCompliancePolicy with a new object - * - * @param newIosCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosCompliancePolicy newIosCompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newIosCompliancePolicy); - } - - /** - * Creates a IosCompliancePolicy with a new object - * - * @param newIosCompliancePolicy the new object to create - * @return the created IosCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCompliancePolicy post(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newIosCompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosCompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosCompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosCompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosCompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequestBuilder.java deleted file mode 100644 index 51a378d53ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.IosCompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Compliance Policy Request Builder. - */ -public class BaseIosCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseIosCompliancePolicyRequestBuilder { - - /** - * The request builder for the IosCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosCompliancePolicyRequest instance - */ - public IIosCompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosCompliancePolicyRequest instance - */ - public IIosCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new IosCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequest.java deleted file mode 100644 index 63aa40d835a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosCustomConfigurationRequest; -import com.microsoft.graph.models.extensions.IosCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Custom Configuration Request. - */ -public class BaseIosCustomConfigurationRequest extends BaseRequest implements IBaseIosCustomConfigurationRequest { - - /** - * The request for the IosCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosCustomConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosCustomConfiguration from the service - * - * @return the IosCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCustomConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosCustomConfiguration with a source - * - * @param sourceIosCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosCustomConfiguration sourceIosCustomConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosCustomConfiguration); - } - - /** - * Patches this IosCustomConfiguration with a source - * - * @param sourceIosCustomConfiguration the source object with updates - * @return the updated IosCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCustomConfiguration patch(final IosCustomConfiguration sourceIosCustomConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceIosCustomConfiguration); - } - - /** - * Creates a IosCustomConfiguration with a new object - * - * @param newIosCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosCustomConfiguration newIosCustomConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newIosCustomConfiguration); - } - - /** - * Creates a IosCustomConfiguration with a new object - * - * @param newIosCustomConfiguration the new object to create - * @return the created IosCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosCustomConfiguration post(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException { - return send(HttpMethod.POST, newIosCustomConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosCustomConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosCustomConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosCustomConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosCustomConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequestBuilder.java deleted file mode 100644 index a428bcf2769..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosCustomConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Custom Configuration Request Builder. - */ -public class BaseIosCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseIosCustomConfigurationRequestBuilder { - - /** - * The request builder for the IosCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosCustomConfigurationRequest instance - */ - public IIosCustomConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosCustomConfigurationRequest instance - */ - public IIosCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new IosCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequest.java deleted file mode 100644 index aaf41cd27a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.models.extensions.IosDeviceFeaturesConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Device Features Configuration Request. - */ -public class BaseIosDeviceFeaturesConfigurationRequest extends BaseRequest implements IBaseIosDeviceFeaturesConfigurationRequest { - - /** - * The request for the IosDeviceFeaturesConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosDeviceFeaturesConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosDeviceFeaturesConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosDeviceFeaturesConfiguration from the service - * - * @return the IosDeviceFeaturesConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosDeviceFeaturesConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosDeviceFeaturesConfiguration with a source - * - * @param sourceIosDeviceFeaturesConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosDeviceFeaturesConfiguration); - } - - /** - * Patches this IosDeviceFeaturesConfiguration with a source - * - * @param sourceIosDeviceFeaturesConfiguration the source object with updates - * @return the updated IosDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosDeviceFeaturesConfiguration patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceIosDeviceFeaturesConfiguration); - } - - /** - * Creates a IosDeviceFeaturesConfiguration with a new object - * - * @param newIosDeviceFeaturesConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newIosDeviceFeaturesConfiguration); - } - - /** - * Creates a IosDeviceFeaturesConfiguration with a new object - * - * @param newIosDeviceFeaturesConfiguration the new object to create - * @return the created IosDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosDeviceFeaturesConfiguration post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException { - return send(HttpMethod.POST, newIosDeviceFeaturesConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosDeviceFeaturesConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosDeviceFeaturesConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosDeviceFeaturesConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosDeviceFeaturesConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequestBuilder.java deleted file mode 100644 index aebb5cd015c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosDeviceFeaturesConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosDeviceFeaturesConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Device Features Configuration Request Builder. - */ -public class BaseIosDeviceFeaturesConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseIosDeviceFeaturesConfigurationRequestBuilder { - - /** - * The request builder for the IosDeviceFeaturesConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosDeviceFeaturesConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosDeviceFeaturesConfigurationRequest instance - */ - public IIosDeviceFeaturesConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosDeviceFeaturesConfigurationRequest instance - */ - public IIosDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new IosDeviceFeaturesConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequest.java deleted file mode 100644 index 8b118cc167c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosGeneralDeviceConfigurationRequest; -import com.microsoft.graph.models.extensions.IosGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios General Device Configuration Request. - */ -public class BaseIosGeneralDeviceConfigurationRequest extends BaseRequest implements IBaseIosGeneralDeviceConfigurationRequest { - - /** - * The request for the IosGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosGeneralDeviceConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosGeneralDeviceConfiguration from the service - * - * @return the IosGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosGeneralDeviceConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosGeneralDeviceConfiguration with a source - * - * @param sourceIosGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosGeneralDeviceConfiguration); - } - - /** - * Patches this IosGeneralDeviceConfiguration with a source - * - * @param sourceIosGeneralDeviceConfiguration the source object with updates - * @return the updated IosGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosGeneralDeviceConfiguration patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceIosGeneralDeviceConfiguration); - } - - /** - * Creates a IosGeneralDeviceConfiguration with a new object - * - * @param newIosGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newIosGeneralDeviceConfiguration); - } - - /** - * Creates a IosGeneralDeviceConfiguration with a new object - * - * @param newIosGeneralDeviceConfiguration the new object to create - * @return the created IosGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosGeneralDeviceConfiguration post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.POST, newIosGeneralDeviceConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosGeneralDeviceConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosGeneralDeviceConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosGeneralDeviceConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosGeneralDeviceConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index d1f7ab710d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios General Device Configuration Request Builder. - */ -public class BaseIosGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseIosGeneralDeviceConfigurationRequestBuilder { - - /** - * The request builder for the IosGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosGeneralDeviceConfigurationRequest instance - */ - public IIosGeneralDeviceConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosGeneralDeviceConfigurationRequest instance - */ - public IIosGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new IosGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequest.java deleted file mode 100644 index 24e1cdc57c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosLobAppRequest; -import com.microsoft.graph.requests.extensions.IosLobAppRequest; -import com.microsoft.graph.models.extensions.IosLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Lob App Request. - */ -public class BaseIosLobAppRequest extends BaseRequest implements IBaseIosLobAppRequest { - - /** - * The request for the IosLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosLobAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosLobApp from the service - * - * @return the IosLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosLobApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosLobApp with a source - * - * @param sourceIosLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosLobApp sourceIosLobApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosLobApp); - } - - /** - * Patches this IosLobApp with a source - * - * @param sourceIosLobApp the source object with updates - * @return the updated IosLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosLobApp patch(final IosLobApp sourceIosLobApp) throws ClientException { - return send(HttpMethod.PATCH, sourceIosLobApp); - } - - /** - * Creates a IosLobApp with a new object - * - * @param newIosLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosLobApp newIosLobApp, final ICallback callback) { - send(HttpMethod.POST, callback, newIosLobApp); - } - - /** - * Creates a IosLobApp with a new object - * - * @param newIosLobApp the new object to create - * @return the created IosLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosLobApp post(final IosLobApp newIosLobApp) throws ClientException { - return send(HttpMethod.POST, newIosLobApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosLobAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosLobAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosLobAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosLobAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequestBuilder.java deleted file mode 100644 index 819c92bffb7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosLobAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosLobAppRequest; -import com.microsoft.graph.requests.extensions.IosLobAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Lob App Request Builder. - */ -public class BaseIosLobAppRequestBuilder extends BaseRequestBuilder implements IBaseIosLobAppRequestBuilder { - - /** - * The request builder for the IosLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosLobAppRequest instance - */ - public IIosLobAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosLobAppRequest instance - */ - public IIosLobAppRequest buildRequest(final java.util.List requestOptions) { - return new IosLobAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionPage.java deleted file mode 100644 index 6905d30ce3c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection Collection Page. - */ -public class BaseIosManagedAppProtectionCollectionPage extends BaseCollectionPage implements IBaseIosManagedAppProtectionCollectionPage { - - /** - * A collection page for IosManagedAppProtection - * - * @param response the serialized BaseIosManagedAppProtectionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseIosManagedAppProtectionCollectionPage(final BaseIosManagedAppProtectionCollectionResponse response, final IIosManagedAppProtectionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequest.java deleted file mode 100644 index 014b94db481..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection Collection Request. - */ -public class BaseIosManagedAppProtectionCollectionRequest extends BaseCollectionRequest implements IBaseIosManagedAppProtectionCollectionRequest { - - /** - * The request builder for this collection of IosManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosManagedAppProtectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseIosManagedAppProtectionCollectionResponse.class, IIosManagedAppProtectionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IIosManagedAppProtectionCollectionPage get() throws ClientException { - final BaseIosManagedAppProtectionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new IosManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newIosManagedAppProtection, callback); - } - - public IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new IosManagedAppProtectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newIosManagedAppProtection); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosManagedAppProtectionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IosManagedAppProtectionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosManagedAppProtectionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IosManagedAppProtectionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IIosManagedAppProtectionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (IosManagedAppProtectionCollectionRequest)this; - } - - public IIosManagedAppProtectionCollectionPage buildFromResponse(final BaseIosManagedAppProtectionCollectionResponse response) { - final IIosManagedAppProtectionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new IosManagedAppProtectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IosManagedAppProtectionCollectionPage page = new IosManagedAppProtectionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequestBuilder.java deleted file mode 100644 index c7104735e85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection Collection Request Builder. - */ -public class BaseIosManagedAppProtectionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseIosManagedAppProtectionCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosManagedAppProtectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IIosManagedAppProtectionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IIosManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new IosManagedAppProtectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IIosManagedAppProtectionRequestBuilder byId(final String id) { - return new IosManagedAppProtectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionResponse.java deleted file mode 100644 index 5763d63f6a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection Collection Response. - */ -public class BaseIosManagedAppProtectionCollectionResponse implements IJsonBackedObject { - - /** - * The list of IosManagedAppProtection within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequest.java deleted file mode 100644 index d9640cd05cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection Request. - */ -public class BaseIosManagedAppProtectionRequest extends BaseRequest implements IBaseIosManagedAppProtectionRequest { - - /** - * The request for the IosManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosManagedAppProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosManagedAppProtection from the service - * - * @return the IosManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosManagedAppProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosManagedAppProtection with a source - * - * @param sourceIosManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosManagedAppProtection sourceIosManagedAppProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosManagedAppProtection); - } - - /** - * Patches this IosManagedAppProtection with a source - * - * @param sourceIosManagedAppProtection the source object with updates - * @return the updated IosManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosManagedAppProtection patch(final IosManagedAppProtection sourceIosManagedAppProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceIosManagedAppProtection); - } - - /** - * Creates a IosManagedAppProtection with a new object - * - * @param newIosManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newIosManagedAppProtection); - } - - /** - * Creates a IosManagedAppProtection with a new object - * - * @param newIosManagedAppProtection the new object to create - * @return the created IosManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException { - return send(HttpMethod.POST, newIosManagedAppProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosManagedAppProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosManagedAppProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosManagedAppProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosManagedAppProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 67b1b2ca394..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Protection Request Builder. - */ -public class BaseIosManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IBaseIosManagedAppProtectionRequestBuilder { - - /** - * The request builder for the IosManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosManagedAppProtectionRequest instance - */ - public IIosManagedAppProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosManagedAppProtectionRequest instance - */ - public IIosManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { - return new IosManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedMobileAppCollectionRequestBuilder apps() { - return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); - } - - public IManagedMobileAppRequestBuilder apps(final String id) { - return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { - return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequest.java deleted file mode 100644 index e649ef880ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.IosManagedAppRegistrationRequest; -import com.microsoft.graph.models.extensions.IosManagedAppRegistration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Registration Request. - */ -public class BaseIosManagedAppRegistrationRequest extends BaseRequest implements IBaseIosManagedAppRegistrationRequest { - - /** - * The request for the IosManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosManagedAppRegistrationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosManagedAppRegistration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosManagedAppRegistration from the service - * - * @return the IosManagedAppRegistration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosManagedAppRegistration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosManagedAppRegistration with a source - * - * @param sourceIosManagedAppRegistration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosManagedAppRegistration sourceIosManagedAppRegistration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosManagedAppRegistration); - } - - /** - * Patches this IosManagedAppRegistration with a source - * - * @param sourceIosManagedAppRegistration the source object with updates - * @return the updated IosManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosManagedAppRegistration patch(final IosManagedAppRegistration sourceIosManagedAppRegistration) throws ClientException { - return send(HttpMethod.PATCH, sourceIosManagedAppRegistration); - } - - /** - * Creates a IosManagedAppRegistration with a new object - * - * @param newIosManagedAppRegistration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosManagedAppRegistration newIosManagedAppRegistration, final ICallback callback) { - send(HttpMethod.POST, callback, newIosManagedAppRegistration); - } - - /** - * Creates a IosManagedAppRegistration with a new object - * - * @param newIosManagedAppRegistration the new object to create - * @return the created IosManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosManagedAppRegistration post(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException { - return send(HttpMethod.POST, newIosManagedAppRegistration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosManagedAppRegistrationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosManagedAppRegistrationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosManagedAppRegistrationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosManagedAppRegistrationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequestBuilder.java deleted file mode 100644 index 59f7d9d97d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosManagedAppRegistrationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.IosManagedAppRegistrationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Managed App Registration Request Builder. - */ -public class BaseIosManagedAppRegistrationRequestBuilder extends BaseRequestBuilder implements IBaseIosManagedAppRegistrationRequestBuilder { - - /** - * The request builder for the IosManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosManagedAppRegistrationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosManagedAppRegistrationRequest instance - */ - public IIosManagedAppRegistrationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosManagedAppRegistrationRequest instance - */ - public IIosManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions) { - return new IosManagedAppRegistrationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequest.java deleted file mode 100644 index 335372be824..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosMobileAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosMobileAppConfigurationRequest; -import com.microsoft.graph.models.extensions.IosMobileAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Mobile App Configuration Request. - */ -public class BaseIosMobileAppConfigurationRequest extends BaseRequest implements IBaseIosMobileAppConfigurationRequest { - - /** - * The request for the IosMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosMobileAppConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosMobileAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosMobileAppConfiguration from the service - * - * @return the IosMobileAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosMobileAppConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosMobileAppConfiguration with a source - * - * @param sourceIosMobileAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosMobileAppConfiguration); - } - - /** - * Patches this IosMobileAppConfiguration with a source - * - * @param sourceIosMobileAppConfiguration the source object with updates - * @return the updated IosMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosMobileAppConfiguration patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceIosMobileAppConfiguration); - } - - /** - * Creates a IosMobileAppConfiguration with a new object - * - * @param newIosMobileAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosMobileAppConfiguration newIosMobileAppConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newIosMobileAppConfiguration); - } - - /** - * Creates a IosMobileAppConfiguration with a new object - * - * @param newIosMobileAppConfiguration the new object to create - * @return the created IosMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosMobileAppConfiguration post(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException { - return send(HttpMethod.POST, newIosMobileAppConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosMobileAppConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosMobileAppConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosMobileAppConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosMobileAppConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequestBuilder.java deleted file mode 100644 index 2c7876dc106..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosMobileAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosMobileAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosMobileAppConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Mobile App Configuration Request Builder. - */ -public class BaseIosMobileAppConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseIosMobileAppConfigurationRequestBuilder { - - /** - * The request builder for the IosMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosMobileAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosMobileAppConfigurationRequest instance - */ - public IIosMobileAppConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosMobileAppConfigurationRequest instance - */ - public IIosMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new IosMobileAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequest.java deleted file mode 100644 index 69a3519aa2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosStoreAppRequest; -import com.microsoft.graph.requests.extensions.IosStoreAppRequest; -import com.microsoft.graph.models.extensions.IosStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Store App Request. - */ -public class BaseIosStoreAppRequest extends BaseRequest implements IBaseIosStoreAppRequest { - - /** - * The request for the IosStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosStoreAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosStoreApp from the service - * - * @return the IosStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosStoreApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosStoreApp with a source - * - * @param sourceIosStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosStoreApp sourceIosStoreApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosStoreApp); - } - - /** - * Patches this IosStoreApp with a source - * - * @param sourceIosStoreApp the source object with updates - * @return the updated IosStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosStoreApp patch(final IosStoreApp sourceIosStoreApp) throws ClientException { - return send(HttpMethod.PATCH, sourceIosStoreApp); - } - - /** - * Creates a IosStoreApp with a new object - * - * @param newIosStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosStoreApp newIosStoreApp, final ICallback callback) { - send(HttpMethod.POST, callback, newIosStoreApp); - } - - /** - * Creates a IosStoreApp with a new object - * - * @param newIosStoreApp the new object to create - * @return the created IosStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosStoreApp post(final IosStoreApp newIosStoreApp) throws ClientException { - return send(HttpMethod.POST, newIosStoreApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosStoreAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosStoreAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosStoreAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosStoreAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequestBuilder.java deleted file mode 100644 index 69e055d3ca1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosStoreAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosStoreAppRequest; -import com.microsoft.graph.requests.extensions.IosStoreAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Store App Request Builder. - */ -public class BaseIosStoreAppRequestBuilder extends BaseRequestBuilder implements IBaseIosStoreAppRequestBuilder { - - /** - * The request builder for the IosStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosStoreAppRequest instance - */ - public IIosStoreAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosStoreAppRequest instance - */ - public IIosStoreAppRequest buildRequest(final java.util.List requestOptions) { - return new IosStoreAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequest.java deleted file mode 100644 index 79b417d6738..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosUpdateConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosUpdateConfigurationRequest; -import com.microsoft.graph.models.extensions.IosUpdateConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Configuration Request. - */ -public class BaseIosUpdateConfigurationRequest extends BaseRequest implements IBaseIosUpdateConfigurationRequest { - - /** - * The request for the IosUpdateConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosUpdateConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosUpdateConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosUpdateConfiguration from the service - * - * @return the IosUpdateConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosUpdateConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosUpdateConfiguration with a source - * - * @param sourceIosUpdateConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosUpdateConfiguration sourceIosUpdateConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosUpdateConfiguration); - } - - /** - * Patches this IosUpdateConfiguration with a source - * - * @param sourceIosUpdateConfiguration the source object with updates - * @return the updated IosUpdateConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosUpdateConfiguration patch(final IosUpdateConfiguration sourceIosUpdateConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceIosUpdateConfiguration); - } - - /** - * Creates a IosUpdateConfiguration with a new object - * - * @param newIosUpdateConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosUpdateConfiguration newIosUpdateConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newIosUpdateConfiguration); - } - - /** - * Creates a IosUpdateConfiguration with a new object - * - * @param newIosUpdateConfiguration the new object to create - * @return the created IosUpdateConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosUpdateConfiguration post(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException { - return send(HttpMethod.POST, newIosUpdateConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosUpdateConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosUpdateConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosUpdateConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosUpdateConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequestBuilder.java deleted file mode 100644 index cc7c3df4c83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosUpdateConfigurationRequest; -import com.microsoft.graph.requests.extensions.IosUpdateConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Configuration Request Builder. - */ -public class BaseIosUpdateConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseIosUpdateConfigurationRequestBuilder { - - /** - * The request builder for the IosUpdateConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosUpdateConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosUpdateConfigurationRequest instance - */ - public IIosUpdateConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosUpdateConfigurationRequest instance - */ - public IIosUpdateConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new IosUpdateConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionPage.java deleted file mode 100644 index 7ec76ee4a09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status Collection Page. - */ -public class BaseIosUpdateDeviceStatusCollectionPage extends BaseCollectionPage implements IBaseIosUpdateDeviceStatusCollectionPage { - - /** - * A collection page for IosUpdateDeviceStatus - * - * @param response the serialized BaseIosUpdateDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseIosUpdateDeviceStatusCollectionPage(final BaseIosUpdateDeviceStatusCollectionResponse response, final IIosUpdateDeviceStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequest.java deleted file mode 100644 index cfb02d36421..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status Collection Request. - */ -public class BaseIosUpdateDeviceStatusCollectionRequest extends BaseCollectionRequest implements IBaseIosUpdateDeviceStatusCollectionRequest { - - /** - * The request builder for this collection of IosUpdateDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosUpdateDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseIosUpdateDeviceStatusCollectionResponse.class, IIosUpdateDeviceStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IIosUpdateDeviceStatusCollectionPage get() throws ClientException { - final BaseIosUpdateDeviceStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new IosUpdateDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newIosUpdateDeviceStatus, callback); - } - - public IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new IosUpdateDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newIosUpdateDeviceStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosUpdateDeviceStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IosUpdateDeviceStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosUpdateDeviceStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IosUpdateDeviceStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IIosUpdateDeviceStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (IosUpdateDeviceStatusCollectionRequest)this; - } - - public IIosUpdateDeviceStatusCollectionPage buildFromResponse(final BaseIosUpdateDeviceStatusCollectionResponse response) { - final IIosUpdateDeviceStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new IosUpdateDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IosUpdateDeviceStatusCollectionPage page = new IosUpdateDeviceStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index b0aa7d3bcd2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status Collection Request Builder. - */ -public class BaseIosUpdateDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseIosUpdateDeviceStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosUpdateDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IIosUpdateDeviceStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IIosUpdateDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new IosUpdateDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IIosUpdateDeviceStatusRequestBuilder byId(final String id) { - return new IosUpdateDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionResponse.java deleted file mode 100644 index e66836e120b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status Collection Response. - */ -public class BaseIosUpdateDeviceStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of IosUpdateDeviceStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequest.java deleted file mode 100644 index 21dcaec5741..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusRequest; -import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status Request. - */ -public class BaseIosUpdateDeviceStatusRequest extends BaseRequest implements IBaseIosUpdateDeviceStatusRequest { - - /** - * The request for the IosUpdateDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosUpdateDeviceStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosUpdateDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosUpdateDeviceStatus from the service - * - * @return the IosUpdateDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosUpdateDeviceStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosUpdateDeviceStatus with a source - * - * @param sourceIosUpdateDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosUpdateDeviceStatus); - } - - /** - * Patches this IosUpdateDeviceStatus with a source - * - * @param sourceIosUpdateDeviceStatus the source object with updates - * @return the updated IosUpdateDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosUpdateDeviceStatus patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceIosUpdateDeviceStatus); - } - - /** - * Creates a IosUpdateDeviceStatus with a new object - * - * @param newIosUpdateDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newIosUpdateDeviceStatus); - } - - /** - * Creates a IosUpdateDeviceStatus with a new object - * - * @param newIosUpdateDeviceStatus the new object to create - * @return the created IosUpdateDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException { - return send(HttpMethod.POST, newIosUpdateDeviceStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosUpdateDeviceStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosUpdateDeviceStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosUpdateDeviceStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosUpdateDeviceStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequestBuilder.java deleted file mode 100644 index a54c25f18a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosUpdateDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Update Device Status Request Builder. - */ -public class BaseIosUpdateDeviceStatusRequestBuilder extends BaseRequestBuilder implements IBaseIosUpdateDeviceStatusRequestBuilder { - - /** - * The request builder for the IosUpdateDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosUpdateDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosUpdateDeviceStatusRequest instance - */ - public IIosUpdateDeviceStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosUpdateDeviceStatusRequest instance - */ - public IIosUpdateDeviceStatusRequest buildRequest(final java.util.List requestOptions) { - return new IosUpdateDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequest.java deleted file mode 100644 index 972456aaee1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppAppRequest; -import com.microsoft.graph.requests.extensions.IosVppAppRequest; -import com.microsoft.graph.models.extensions.IosVppApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp App Request. - */ -public class BaseIosVppAppRequest extends BaseRequest implements IBaseIosVppAppRequest { - - /** - * The request for the IosVppApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosVppAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosVppApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosVppApp from the service - * - * @return the IosVppApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosVppApp with a source - * - * @param sourceIosVppApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosVppApp sourceIosVppApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosVppApp); - } - - /** - * Patches this IosVppApp with a source - * - * @param sourceIosVppApp the source object with updates - * @return the updated IosVppApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppApp patch(final IosVppApp sourceIosVppApp) throws ClientException { - return send(HttpMethod.PATCH, sourceIosVppApp); - } - - /** - * Creates a IosVppApp with a new object - * - * @param newIosVppApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosVppApp newIosVppApp, final ICallback callback) { - send(HttpMethod.POST, callback, newIosVppApp); - } - - /** - * Creates a IosVppApp with a new object - * - * @param newIosVppApp the new object to create - * @return the created IosVppApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppApp post(final IosVppApp newIosVppApp) throws ClientException { - return send(HttpMethod.POST, newIosVppApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosVppAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosVppAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosVppAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosVppAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequestBuilder.java deleted file mode 100644 index 4a413b02803..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppAppRequest; -import com.microsoft.graph.requests.extensions.IosVppAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp App Request Builder. - */ -public class BaseIosVppAppRequestBuilder extends BaseRequestBuilder implements IBaseIosVppAppRequestBuilder { - - /** - * The request builder for the IosVppApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosVppAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosVppAppRequest instance - */ - public IIosVppAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosVppAppRequest instance - */ - public IIosVppAppRequest buildRequest(final java.util.List requestOptions) { - return new IosVppAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequest.java deleted file mode 100644 index f2852641740..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppEBookAssignmentRequest; -import com.microsoft.graph.requests.extensions.IosVppEBookAssignmentRequest; -import com.microsoft.graph.models.extensions.IosVppEBookAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp EBook Assignment Request. - */ -public class BaseIosVppEBookAssignmentRequest extends BaseRequest implements IBaseIosVppEBookAssignmentRequest { - - /** - * The request for the IosVppEBookAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosVppEBookAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosVppEBookAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosVppEBookAssignment from the service - * - * @return the IosVppEBookAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppEBookAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosVppEBookAssignment with a source - * - * @param sourceIosVppEBookAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosVppEBookAssignment sourceIosVppEBookAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosVppEBookAssignment); - } - - /** - * Patches this IosVppEBookAssignment with a source - * - * @param sourceIosVppEBookAssignment the source object with updates - * @return the updated IosVppEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppEBookAssignment patch(final IosVppEBookAssignment sourceIosVppEBookAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceIosVppEBookAssignment); - } - - /** - * Creates a IosVppEBookAssignment with a new object - * - * @param newIosVppEBookAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosVppEBookAssignment newIosVppEBookAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newIosVppEBookAssignment); - } - - /** - * Creates a IosVppEBookAssignment with a new object - * - * @param newIosVppEBookAssignment the new object to create - * @return the created IosVppEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppEBookAssignment post(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException { - return send(HttpMethod.POST, newIosVppEBookAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosVppEBookAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosVppEBookAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosVppEBookAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosVppEBookAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequestBuilder.java deleted file mode 100644 index 317555e43cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppEBookAssignmentRequest; -import com.microsoft.graph.requests.extensions.IosVppEBookAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp EBook Assignment Request Builder. - */ -public class BaseIosVppEBookAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseIosVppEBookAssignmentRequestBuilder { - - /** - * The request builder for the IosVppEBookAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosVppEBookAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosVppEBookAssignmentRequest instance - */ - public IIosVppEBookAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosVppEBookAssignmentRequest instance - */ - public IIosVppEBookAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new IosVppEBookAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequest.java deleted file mode 100644 index e8c5eb3e269..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppEBookRequest; -import com.microsoft.graph.requests.extensions.IosVppEBookRequest; -import com.microsoft.graph.models.extensions.IosVppEBook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp EBook Request. - */ -public class BaseIosVppEBookRequest extends BaseRequest implements IBaseIosVppEBookRequest { - - /** - * The request for the IosVppEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseIosVppEBookRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the IosVppEBook from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the IosVppEBook from the service - * - * @return the IosVppEBook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppEBook get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this IosVppEBook with a source - * - * @param sourceIosVppEBook the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final IosVppEBook sourceIosVppEBook, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceIosVppEBook); - } - - /** - * Patches this IosVppEBook with a source - * - * @param sourceIosVppEBook the source object with updates - * @return the updated IosVppEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppEBook patch(final IosVppEBook sourceIosVppEBook) throws ClientException { - return send(HttpMethod.PATCH, sourceIosVppEBook); - } - - /** - * Creates a IosVppEBook with a new object - * - * @param newIosVppEBook the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final IosVppEBook newIosVppEBook, final ICallback callback) { - send(HttpMethod.POST, callback, newIosVppEBook); - } - - /** - * Creates a IosVppEBook with a new object - * - * @param newIosVppEBook the new object to create - * @return the created IosVppEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public IosVppEBook post(final IosVppEBook newIosVppEBook) throws ClientException { - return send(HttpMethod.POST, newIosVppEBook); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IIosVppEBookRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IosVppEBookRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IIosVppEBookRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (IosVppEBookRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequestBuilder.java deleted file mode 100644 index 56d08fef3e1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseIosVppEBookRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppEBookRequest; -import com.microsoft.graph.requests.extensions.IosVppEBookRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Ios Vpp EBook Request Builder. - */ -public class BaseIosVppEBookRequestBuilder extends BaseRequestBuilder implements IBaseIosVppEBookRequestBuilder { - - /** - * The request builder for the IosVppEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseIosVppEBookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IIosVppEBookRequest instance - */ - public IIosVppEBookRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IIosVppEBookRequest instance - */ - public IIosVppEBookRequest buildRequest(final java.util.List requestOptions) { - return new IosVppEBookRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequest.java deleted file mode 100644 index a62499c31f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IItemAttachmentRequest; -import com.microsoft.graph.requests.extensions.ItemAttachmentRequest; -import com.microsoft.graph.models.extensions.ItemAttachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Item Attachment Request. - */ -public class BaseItemAttachmentRequest extends BaseRequest implements IBaseItemAttachmentRequest { - - /** - * The request for the ItemAttachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseItemAttachmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ItemAttachment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ItemAttachment from the service - * - * @return the ItemAttachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ItemAttachment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ItemAttachment with a source - * - * @param sourceItemAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ItemAttachment sourceItemAttachment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceItemAttachment); - } - - /** - * Patches this ItemAttachment with a source - * - * @param sourceItemAttachment the source object with updates - * @return the updated ItemAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ItemAttachment patch(final ItemAttachment sourceItemAttachment) throws ClientException { - return send(HttpMethod.PATCH, sourceItemAttachment); - } - - /** - * Creates a ItemAttachment with a new object - * - * @param newItemAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ItemAttachment newItemAttachment, final ICallback callback) { - send(HttpMethod.POST, callback, newItemAttachment); - } - - /** - * Creates a ItemAttachment with a new object - * - * @param newItemAttachment the new object to create - * @return the created ItemAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ItemAttachment post(final ItemAttachment newItemAttachment) throws ClientException { - return send(HttpMethod.POST, newItemAttachment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IItemAttachmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ItemAttachmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IItemAttachmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ItemAttachmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequestBuilder.java deleted file mode 100644 index 107caaad31e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseItemAttachmentRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IItemAttachmentRequest; -import com.microsoft.graph.requests.extensions.ItemAttachmentRequest; -import com.microsoft.graph.requests.extensions.IOutlookItemRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookItemRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Item Attachment Request Builder. - */ -public class BaseItemAttachmentRequestBuilder extends BaseRequestBuilder implements IBaseItemAttachmentRequestBuilder { - - /** - * The request builder for the ItemAttachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseItemAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IItemAttachmentRequest instance - */ - public IItemAttachmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IItemAttachmentRequest instance - */ - public IItemAttachmentRequest buildRequest(final java.util.List requestOptions) { - return new ItemAttachmentRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for OutlookItem - * - * @return the IOutlookItemRequestBuilder instance - */ - public IOutlookItemRequestBuilder item() { - return new OutlookItemRequestBuilder(getRequestUrlWithAdditionalSegment("item"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionPage.java deleted file mode 100644 index e274a907e9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.LicenseDetails; -import com.microsoft.graph.requests.extensions.ILicenseDetailsCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details Collection Page. - */ -public class BaseLicenseDetailsCollectionPage extends BaseCollectionPage implements IBaseLicenseDetailsCollectionPage { - - /** - * A collection page for LicenseDetails - * - * @param response the serialized BaseLicenseDetailsCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseLicenseDetailsCollectionPage(final BaseLicenseDetailsCollectionResponse response, final ILicenseDetailsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequest.java deleted file mode 100644 index c5855ffcdd0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details Collection Request. - */ -public class BaseLicenseDetailsCollectionRequest extends BaseCollectionRequest implements IBaseLicenseDetailsCollectionRequest { - - /** - * The request builder for this collection of LicenseDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseLicenseDetailsCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseLicenseDetailsCollectionResponse.class, ILicenseDetailsCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ILicenseDetailsCollectionPage get() throws ClientException { - final BaseLicenseDetailsCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final LicenseDetails newLicenseDetails, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new LicenseDetailsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newLicenseDetails, callback); - } - - public LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new LicenseDetailsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newLicenseDetails); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ILicenseDetailsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (LicenseDetailsCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ILicenseDetailsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (LicenseDetailsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ILicenseDetailsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (LicenseDetailsCollectionRequest)this; - } - - public ILicenseDetailsCollectionPage buildFromResponse(final BaseLicenseDetailsCollectionResponse response) { - final ILicenseDetailsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new LicenseDetailsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final LicenseDetailsCollectionPage page = new LicenseDetailsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequestBuilder.java deleted file mode 100644 index bbe248fdfad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details Collection Request Builder. - */ -public class BaseLicenseDetailsCollectionRequestBuilder extends BaseRequestBuilder implements IBaseLicenseDetailsCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseLicenseDetailsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ILicenseDetailsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ILicenseDetailsCollectionRequest buildRequest(final java.util.List requestOptions) { - return new LicenseDetailsCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ILicenseDetailsRequestBuilder byId(final String id) { - return new LicenseDetailsRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionResponse.java deleted file mode 100644 index 6b52083bf62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.LicenseDetails; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details Collection Response. - */ -public class BaseLicenseDetailsCollectionResponse implements IJsonBackedObject { - - /** - * The list of LicenseDetails within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequest.java deleted file mode 100644 index df31dbb7378..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ILicenseDetailsRequest; -import com.microsoft.graph.requests.extensions.LicenseDetailsRequest; -import com.microsoft.graph.models.extensions.LicenseDetails; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details Request. - */ -public class BaseLicenseDetailsRequest extends BaseRequest implements IBaseLicenseDetailsRequest { - - /** - * The request for the LicenseDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseLicenseDetailsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the LicenseDetails from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the LicenseDetails from the service - * - * @return the LicenseDetails from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public LicenseDetails get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this LicenseDetails with a source - * - * @param sourceLicenseDetails the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final LicenseDetails sourceLicenseDetails, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceLicenseDetails); - } - - /** - * Patches this LicenseDetails with a source - * - * @param sourceLicenseDetails the source object with updates - * @return the updated LicenseDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public LicenseDetails patch(final LicenseDetails sourceLicenseDetails) throws ClientException { - return send(HttpMethod.PATCH, sourceLicenseDetails); - } - - /** - * Creates a LicenseDetails with a new object - * - * @param newLicenseDetails the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final LicenseDetails newLicenseDetails, final ICallback callback) { - send(HttpMethod.POST, callback, newLicenseDetails); - } - - /** - * Creates a LicenseDetails with a new object - * - * @param newLicenseDetails the new object to create - * @return the created LicenseDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException { - return send(HttpMethod.POST, newLicenseDetails); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ILicenseDetailsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (LicenseDetailsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ILicenseDetailsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (LicenseDetailsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequestBuilder.java deleted file mode 100644 index 7aaba9c62f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLicenseDetailsRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ILicenseDetailsRequest; -import com.microsoft.graph.requests.extensions.LicenseDetailsRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base License Details Request Builder. - */ -public class BaseLicenseDetailsRequestBuilder extends BaseRequestBuilder implements IBaseLicenseDetailsRequestBuilder { - - /** - * The request builder for the LicenseDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseLicenseDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ILicenseDetailsRequest instance - */ - public ILicenseDetailsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ILicenseDetailsRequest instance - */ - public ILicenseDetailsRequest buildRequest(final java.util.List requestOptions) { - return new LicenseDetailsRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionPage.java deleted file mode 100644 index 8718734067e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.List; -import com.microsoft.graph.requests.extensions.IListCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Collection Page. - */ -public class BaseListCollectionPage extends BaseCollectionPage implements IBaseListCollectionPage { - - /** - * A collection page for List - * - * @param response the serialized BaseListCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseListCollectionPage(final BaseListCollectionResponse response, final IListCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequest.java deleted file mode 100644 index 3b89570e95b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Collection Request. - */ -public class BaseListCollectionRequest extends BaseCollectionRequest implements IBaseListCollectionRequest { - - /** - * The request builder for this collection of List - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseListCollectionResponse.class, IListCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IListCollectionPage get() throws ClientException { - final BaseListCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final List newList, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ListRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newList, callback); - } - - public List post(final List newList) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ListRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newList); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IListCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ListCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IListCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ListCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IListCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ListCollectionRequest)this; - } - - public IListCollectionPage buildFromResponse(final BaseListCollectionResponse response) { - final IListCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ListCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ListCollectionPage page = new ListCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequestBuilder.java deleted file mode 100644 index e9ba998098a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Collection Request Builder. - */ -public class BaseListCollectionRequestBuilder extends BaseRequestBuilder implements IBaseListCollectionRequestBuilder { - - /** - * The request builder for this collection of Site - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IListCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IListCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ListCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IListRequestBuilder byId(final String id) { - return new ListRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionResponse.java deleted file mode 100644 index ff3cb520ebb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.List; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Collection Response. - */ -public class BaseListCollectionResponse implements IJsonBackedObject { - - /** - * The list of List within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionPage.java deleted file mode 100644 index 0d9abbf7804..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ListItem; -import com.microsoft.graph.requests.extensions.IListItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Collection Page. - */ -public class BaseListItemCollectionPage extends BaseCollectionPage implements IBaseListItemCollectionPage { - - /** - * A collection page for ListItem - * - * @param response the serialized BaseListItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseListItemCollectionPage(final BaseListItemCollectionResponse response, final IListItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequest.java deleted file mode 100644 index a17edbf8ee7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Collection Request. - */ -public class BaseListItemCollectionRequest extends BaseCollectionRequest implements IBaseListItemCollectionRequest { - - /** - * The request builder for this collection of ListItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseListItemCollectionResponse.class, IListItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IListItemCollectionPage get() throws ClientException { - final BaseListItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ListItem newListItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ListItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newListItem, callback); - } - - public ListItem post(final ListItem newListItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ListItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newListItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IListItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ListItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IListItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ListItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IListItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ListItemCollectionRequest)this; - } - - public IListItemCollectionPage buildFromResponse(final BaseListItemCollectionResponse response) { - final IListItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ListItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ListItemCollectionPage page = new ListItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequestBuilder.java deleted file mode 100644 index fb3c4d23420..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Collection Request Builder. - */ -public class BaseListItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseListItemCollectionRequestBuilder { - - /** - * The request builder for this collection of List - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IListItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IListItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ListItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IListItemRequestBuilder byId(final String id) { - return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionResponse.java deleted file mode 100644 index 1956286812d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ListItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Collection Response. - */ -public class BaseListItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of ListItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequest.java deleted file mode 100644 index 2f1b40bcec9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemRequest; -import com.microsoft.graph.requests.extensions.ListItemRequest; -import com.microsoft.graph.models.extensions.ListItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Request. - */ -public class BaseListItemRequest extends BaseRequest implements IBaseListItemRequest { - - /** - * The request for the ListItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseListItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ListItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ListItem from the service - * - * @return the ListItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ListItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ListItem with a source - * - * @param sourceListItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ListItem sourceListItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceListItem); - } - - /** - * Patches this ListItem with a source - * - * @param sourceListItem the source object with updates - * @return the updated ListItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ListItem patch(final ListItem sourceListItem) throws ClientException { - return send(HttpMethod.PATCH, sourceListItem); - } - - /** - * Creates a ListItem with a new object - * - * @param newListItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ListItem newListItem, final ICallback callback) { - send(HttpMethod.POST, callback, newListItem); - } - - /** - * Creates a ListItem with a new object - * - * @param newListItem the new object to create - * @return the created ListItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ListItem post(final ListItem newListItem) throws ClientException { - return send(HttpMethod.POST, newListItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IListItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ListItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IListItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ListItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequestBuilder.java deleted file mode 100644 index 152031d6685..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemRequest; -import com.microsoft.graph.requests.extensions.ListItemRequest; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; -import com.microsoft.graph.requests.extensions.FieldValueSetRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemVersionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemVersionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemVersionRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemVersionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Request Builder. - */ -public class BaseListItemRequestBuilder extends BaseRequestBuilder implements IBaseListItemRequestBuilder { - - /** - * The request builder for the ListItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IListItemRequest instance - */ - public IListItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IListItemRequest instance - */ - public IListItemRequest buildRequest(final java.util.List requestOptions) { - return new ListItemRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - public IDriveItemRequestBuilder driveItem() { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("driveItem"), getClient(), null); - } - - /** - * Gets the request builder for FieldValueSet - * - * @return the IFieldValueSetRequestBuilder instance - */ - public IFieldValueSetRequestBuilder fields() { - return new FieldValueSetRequestBuilder(getRequestUrlWithAdditionalSegment("fields"), getClient(), null); - } - public IListItemVersionCollectionRequestBuilder versions() { - return new ListItemVersionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("versions"), getClient(), null); - } - - public IListItemVersionRequestBuilder versions(final String id) { - return new ListItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment("versions") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionPage.java deleted file mode 100644 index 59df5d2e8d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ListItemVersion; -import com.microsoft.graph.requests.extensions.IListItemVersionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Collection Page. - */ -public class BaseListItemVersionCollectionPage extends BaseCollectionPage implements IBaseListItemVersionCollectionPage { - - /** - * A collection page for ListItemVersion - * - * @param response the serialized BaseListItemVersionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseListItemVersionCollectionPage(final BaseListItemVersionCollectionResponse response, final IListItemVersionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequest.java deleted file mode 100644 index 0d788dd826a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Collection Request. - */ -public class BaseListItemVersionCollectionRequest extends BaseCollectionRequest implements IBaseListItemVersionCollectionRequest { - - /** - * The request builder for this collection of ListItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemVersionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseListItemVersionCollectionResponse.class, IListItemVersionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IListItemVersionCollectionPage get() throws ClientException { - final BaseListItemVersionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ListItemVersion newListItemVersion, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ListItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newListItemVersion, callback); - } - - public ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ListItemVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newListItemVersion); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IListItemVersionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ListItemVersionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IListItemVersionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ListItemVersionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IListItemVersionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ListItemVersionCollectionRequest)this; - } - - public IListItemVersionCollectionPage buildFromResponse(final BaseListItemVersionCollectionResponse response) { - final IListItemVersionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ListItemVersionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ListItemVersionCollectionPage page = new ListItemVersionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequestBuilder.java deleted file mode 100644 index 63e443ae824..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Collection Request Builder. - */ -public class BaseListItemVersionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseListItemVersionCollectionRequestBuilder { - - /** - * The request builder for this collection of ListItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemVersionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IListItemVersionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IListItemVersionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ListItemVersionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IListItemVersionRequestBuilder byId(final String id) { - return new ListItemVersionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionResponse.java deleted file mode 100644 index 48fc0d034e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ListItemVersion; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Collection Response. - */ -public class BaseListItemVersionCollectionResponse implements IJsonBackedObject { - - /** - * The list of ListItemVersion within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequest.java deleted file mode 100644 index 2c4b7005c00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRequest; -import com.microsoft.graph.requests.extensions.ListItemVersionRequest; -import com.microsoft.graph.models.extensions.ListItemVersion; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Request. - */ -public class BaseListItemVersionRequest extends BaseRequest implements IBaseListItemVersionRequest { - - /** - * The request for the ListItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseListItemVersionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ListItemVersion from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ListItemVersion from the service - * - * @return the ListItemVersion from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ListItemVersion get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ListItemVersion with a source - * - * @param sourceListItemVersion the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ListItemVersion sourceListItemVersion, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceListItemVersion); - } - - /** - * Patches this ListItemVersion with a source - * - * @param sourceListItemVersion the source object with updates - * @return the updated ListItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ListItemVersion patch(final ListItemVersion sourceListItemVersion) throws ClientException { - return send(HttpMethod.PATCH, sourceListItemVersion); - } - - /** - * Creates a ListItemVersion with a new object - * - * @param newListItemVersion the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ListItemVersion newListItemVersion, final ICallback callback) { - send(HttpMethod.POST, callback, newListItemVersion); - } - - /** - * Creates a ListItemVersion with a new object - * - * @param newListItemVersion the new object to create - * @return the created ListItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException { - return send(HttpMethod.POST, newListItemVersion); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IListItemVersionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ListItemVersionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IListItemVersionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ListItemVersionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequestBuilder.java deleted file mode 100644 index 3ef50951279..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRequest; -import com.microsoft.graph.requests.extensions.ListItemVersionRequest; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; -import com.microsoft.graph.requests.extensions.FieldValueSetRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemVersionRestoreVersionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Request Builder. - */ -public class BaseListItemVersionRequestBuilder extends BaseRequestBuilder implements IBaseListItemVersionRequestBuilder { - - /** - * The request builder for the ListItemVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IListItemVersionRequest instance - */ - public IListItemVersionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IListItemVersionRequest instance - */ - public IListItemVersionRequest buildRequest(final java.util.List requestOptions) { - return new ListItemVersionRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for FieldValueSet - * - * @return the IFieldValueSetRequestBuilder instance - */ - public IFieldValueSetRequestBuilder fields() { - return new FieldValueSetRequestBuilder(getRequestUrlWithAdditionalSegment("fields"), getClient(), null); - } - - public IListItemVersionRestoreVersionRequestBuilder restoreVersion() { - return new ListItemVersionRestoreVersionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restoreVersion"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequest.java deleted file mode 100644 index 70e31956caa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.extensions.ListItemVersionRestoreVersionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Restore Version Request. - */ -public class BaseListItemVersionRestoreVersionRequest extends BaseRequest implements IBaseListItemVersionRestoreVersionRequest { - - /** - * The request for this ListItemVersionRestoreVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemVersionRestoreVersionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ListItemVersionRestoreVersion - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ListItemVersionRestoreVersion - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequestBuilder.java deleted file mode 100644 index 6ddda148d18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListItemVersionRestoreVersionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; -import com.microsoft.graph.requests.extensions.ListItemVersionRestoreVersionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Item Version Restore Version Request Builder. - */ -public class BaseListItemVersionRestoreVersionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ListItemVersionRestoreVersion - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListItemVersionRestoreVersionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IListItemVersionRestoreVersionRequest - * - * @return the IListItemVersionRestoreVersionRequest instance - */ - public IListItemVersionRestoreVersionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IListItemVersionRestoreVersionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IListItemVersionRestoreVersionRequest instance - */ - public IListItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions) { - ListItemVersionRestoreVersionRequest request = new ListItemVersionRestoreVersionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListRequest.java deleted file mode 100644 index 1d7ec48c3e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListRequest; -import com.microsoft.graph.requests.extensions.ListRequest; -import com.microsoft.graph.models.extensions.List; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Request. - */ -public class BaseListRequest extends BaseRequest implements IBaseListRequest { - - /** - * The request for the List - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseListRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the List from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the List from the service - * - * @return the List from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public List get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this List with a source - * - * @param sourceList the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final List sourceList, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceList); - } - - /** - * Patches this List with a source - * - * @param sourceList the source object with updates - * @return the updated List - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public List patch(final List sourceList) throws ClientException { - return send(HttpMethod.PATCH, sourceList); - } - - /** - * Creates a List with a new object - * - * @param newList the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final List newList, final ICallback callback) { - send(HttpMethod.POST, callback, newList); - } - - /** - * Creates a List with a new object - * - * @param newList the new object to create - * @return the created List - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public List post(final List newList) throws ClientException { - return send(HttpMethod.POST, newList); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IListRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ListRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IListRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ListRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseListRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseListRequestBuilder.java deleted file mode 100644 index 1e99fe36de7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseListRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListRequest; -import com.microsoft.graph.requests.extensions.ListRequest; -import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.ColumnDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ContentTypeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.ContentTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base List Request Builder. - */ -public class BaseListRequestBuilder extends BaseRequestBuilder implements IBaseListRequestBuilder { - - /** - * The request builder for the List - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseListRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IListRequest instance - */ - public IListRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IListRequest instance - */ - public IListRequest buildRequest(final java.util.List requestOptions) { - return new ListRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IColumnDefinitionCollectionRequestBuilder columns() { - return new ColumnDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null); - } - - public IColumnDefinitionRequestBuilder columns(final String id) { - return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null); - } - public IContentTypeCollectionRequestBuilder contentTypes() { - return new ContentTypeCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes"), getClient(), null); - } - - public IContentTypeRequestBuilder contentTypes(final String id) { - return new ContentTypeRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - public IDriveRequestBuilder drive() { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); - } - public IListItemCollectionRequestBuilder items() { - return new ListItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); - } - - public IListItemRequestBuilder items(final String id) { - return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionPage.java deleted file mode 100644 index f9cc4094e6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message Collection Page. - */ -public class BaseLocalizedNotificationMessageCollectionPage extends BaseCollectionPage implements IBaseLocalizedNotificationMessageCollectionPage { - - /** - * A collection page for LocalizedNotificationMessage - * - * @param response the serialized BaseLocalizedNotificationMessageCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseLocalizedNotificationMessageCollectionPage(final BaseLocalizedNotificationMessageCollectionResponse response, final ILocalizedNotificationMessageCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequest.java deleted file mode 100644 index e12be18be69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message Collection Request. - */ -public class BaseLocalizedNotificationMessageCollectionRequest extends BaseCollectionRequest implements IBaseLocalizedNotificationMessageCollectionRequest { - - /** - * The request builder for this collection of LocalizedNotificationMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseLocalizedNotificationMessageCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseLocalizedNotificationMessageCollectionResponse.class, ILocalizedNotificationMessageCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ILocalizedNotificationMessageCollectionPage get() throws ClientException { - final BaseLocalizedNotificationMessageCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new LocalizedNotificationMessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newLocalizedNotificationMessage, callback); - } - - public LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new LocalizedNotificationMessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newLocalizedNotificationMessage); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ILocalizedNotificationMessageCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (LocalizedNotificationMessageCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ILocalizedNotificationMessageCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (LocalizedNotificationMessageCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ILocalizedNotificationMessageCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (LocalizedNotificationMessageCollectionRequest)this; - } - - public ILocalizedNotificationMessageCollectionPage buildFromResponse(final BaseLocalizedNotificationMessageCollectionResponse response) { - final ILocalizedNotificationMessageCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new LocalizedNotificationMessageCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final LocalizedNotificationMessageCollectionPage page = new LocalizedNotificationMessageCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequestBuilder.java deleted file mode 100644 index 4a4f7ff0f0b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message Collection Request Builder. - */ -public class BaseLocalizedNotificationMessageCollectionRequestBuilder extends BaseRequestBuilder implements IBaseLocalizedNotificationMessageCollectionRequestBuilder { - - /** - * The request builder for this collection of NotificationMessageTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseLocalizedNotificationMessageCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ILocalizedNotificationMessageCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ILocalizedNotificationMessageCollectionRequest buildRequest(final java.util.List requestOptions) { - return new LocalizedNotificationMessageCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ILocalizedNotificationMessageRequestBuilder byId(final String id) { - return new LocalizedNotificationMessageRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionResponse.java deleted file mode 100644 index dcf65c7ebf9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message Collection Response. - */ -public class BaseLocalizedNotificationMessageCollectionResponse implements IJsonBackedObject { - - /** - * The list of LocalizedNotificationMessage within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequest.java deleted file mode 100644 index 8a6af6cc3f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequest; -import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageRequest; -import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message Request. - */ -public class BaseLocalizedNotificationMessageRequest extends BaseRequest implements IBaseLocalizedNotificationMessageRequest { - - /** - * The request for the LocalizedNotificationMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseLocalizedNotificationMessageRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the LocalizedNotificationMessage from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the LocalizedNotificationMessage from the service - * - * @return the LocalizedNotificationMessage from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public LocalizedNotificationMessage get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this LocalizedNotificationMessage with a source - * - * @param sourceLocalizedNotificationMessage the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceLocalizedNotificationMessage); - } - - /** - * Patches this LocalizedNotificationMessage with a source - * - * @param sourceLocalizedNotificationMessage the source object with updates - * @return the updated LocalizedNotificationMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public LocalizedNotificationMessage patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage) throws ClientException { - return send(HttpMethod.PATCH, sourceLocalizedNotificationMessage); - } - - /** - * Creates a LocalizedNotificationMessage with a new object - * - * @param newLocalizedNotificationMessage the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback) { - send(HttpMethod.POST, callback, newLocalizedNotificationMessage); - } - - /** - * Creates a LocalizedNotificationMessage with a new object - * - * @param newLocalizedNotificationMessage the new object to create - * @return the created LocalizedNotificationMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException { - return send(HttpMethod.POST, newLocalizedNotificationMessage); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ILocalizedNotificationMessageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (LocalizedNotificationMessageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ILocalizedNotificationMessageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (LocalizedNotificationMessageRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequestBuilder.java deleted file mode 100644 index 333023c729d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseLocalizedNotificationMessageRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequest; -import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Localized Notification Message Request Builder. - */ -public class BaseLocalizedNotificationMessageRequestBuilder extends BaseRequestBuilder implements IBaseLocalizedNotificationMessageRequestBuilder { - - /** - * The request builder for the LocalizedNotificationMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseLocalizedNotificationMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ILocalizedNotificationMessageRequest instance - */ - public ILocalizedNotificationMessageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ILocalizedNotificationMessageRequest instance - */ - public ILocalizedNotificationMessageRequest buildRequest(final java.util.List requestOptions) { - return new LocalizedNotificationMessageRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequest.java deleted file mode 100644 index 52fc3b965e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.MacOSCompliancePolicyRequest; -import com.microsoft.graph.models.extensions.MacOSCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSCompliance Policy Request. - */ -public class BaseMacOSCompliancePolicyRequest extends BaseRequest implements IBaseMacOSCompliancePolicyRequest { - - /** - * The request for the MacOSCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMacOSCompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MacOSCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MacOSCompliancePolicy from the service - * - * @return the MacOSCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSCompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MacOSCompliancePolicy with a source - * - * @param sourceMacOSCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMacOSCompliancePolicy); - } - - /** - * Patches this MacOSCompliancePolicy with a source - * - * @param sourceMacOSCompliancePolicy the source object with updates - * @return the updated MacOSCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSCompliancePolicy patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceMacOSCompliancePolicy); - } - - /** - * Creates a MacOSCompliancePolicy with a new object - * - * @param newMacOSCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MacOSCompliancePolicy newMacOSCompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newMacOSCompliancePolicy); - } - - /** - * Creates a MacOSCompliancePolicy with a new object - * - * @param newMacOSCompliancePolicy the new object to create - * @return the created MacOSCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSCompliancePolicy post(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newMacOSCompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMacOSCompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MacOSCompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMacOSCompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MacOSCompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequestBuilder.java deleted file mode 100644 index 53f242e8b4b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.MacOSCompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSCompliance Policy Request Builder. - */ -public class BaseMacOSCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseMacOSCompliancePolicyRequestBuilder { - - /** - * The request builder for the MacOSCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMacOSCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMacOSCompliancePolicyRequest instance - */ - public IMacOSCompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMacOSCompliancePolicyRequest instance - */ - public IMacOSCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new MacOSCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequest.java deleted file mode 100644 index 0edbd8d5fe8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.MacOSCustomConfigurationRequest; -import com.microsoft.graph.models.extensions.MacOSCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSCustom Configuration Request. - */ -public class BaseMacOSCustomConfigurationRequest extends BaseRequest implements IBaseMacOSCustomConfigurationRequest { - - /** - * The request for the MacOSCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMacOSCustomConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MacOSCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MacOSCustomConfiguration from the service - * - * @return the MacOSCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSCustomConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MacOSCustomConfiguration with a source - * - * @param sourceMacOSCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMacOSCustomConfiguration); - } - - /** - * Patches this MacOSCustomConfiguration with a source - * - * @param sourceMacOSCustomConfiguration the source object with updates - * @return the updated MacOSCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSCustomConfiguration patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceMacOSCustomConfiguration); - } - - /** - * Creates a MacOSCustomConfiguration with a new object - * - * @param newMacOSCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MacOSCustomConfiguration newMacOSCustomConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newMacOSCustomConfiguration); - } - - /** - * Creates a MacOSCustomConfiguration with a new object - * - * @param newMacOSCustomConfiguration the new object to create - * @return the created MacOSCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSCustomConfiguration post(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException { - return send(HttpMethod.POST, newMacOSCustomConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMacOSCustomConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MacOSCustomConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMacOSCustomConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MacOSCustomConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequestBuilder.java deleted file mode 100644 index b452ac8bebe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSCustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.MacOSCustomConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSCustom Configuration Request Builder. - */ -public class BaseMacOSCustomConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseMacOSCustomConfigurationRequestBuilder { - - /** - * The request builder for the MacOSCustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMacOSCustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMacOSCustomConfigurationRequest instance - */ - public IMacOSCustomConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMacOSCustomConfigurationRequest instance - */ - public IMacOSCustomConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new MacOSCustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequest.java deleted file mode 100644 index 267a4a478d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.requests.extensions.MacOSDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.models.extensions.MacOSDeviceFeaturesConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSDevice Features Configuration Request. - */ -public class BaseMacOSDeviceFeaturesConfigurationRequest extends BaseRequest implements IBaseMacOSDeviceFeaturesConfigurationRequest { - - /** - * The request for the MacOSDeviceFeaturesConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMacOSDeviceFeaturesConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MacOSDeviceFeaturesConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MacOSDeviceFeaturesConfiguration from the service - * - * @return the MacOSDeviceFeaturesConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSDeviceFeaturesConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MacOSDeviceFeaturesConfiguration with a source - * - * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMacOSDeviceFeaturesConfiguration); - } - - /** - * Patches this MacOSDeviceFeaturesConfiguration with a source - * - * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates - * @return the updated MacOSDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSDeviceFeaturesConfiguration patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceMacOSDeviceFeaturesConfiguration); - } - - /** - * Creates a MacOSDeviceFeaturesConfiguration with a new object - * - * @param newMacOSDeviceFeaturesConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newMacOSDeviceFeaturesConfiguration); - } - - /** - * Creates a MacOSDeviceFeaturesConfiguration with a new object - * - * @param newMacOSDeviceFeaturesConfiguration the new object to create - * @return the created MacOSDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSDeviceFeaturesConfiguration post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException { - return send(HttpMethod.POST, newMacOSDeviceFeaturesConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMacOSDeviceFeaturesConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MacOSDeviceFeaturesConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMacOSDeviceFeaturesConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MacOSDeviceFeaturesConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequestBuilder.java deleted file mode 100644 index 06b0aa7847a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSDeviceFeaturesConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSDeviceFeaturesConfigurationRequest; -import com.microsoft.graph.requests.extensions.MacOSDeviceFeaturesConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSDevice Features Configuration Request Builder. - */ -public class BaseMacOSDeviceFeaturesConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseMacOSDeviceFeaturesConfigurationRequestBuilder { - - /** - * The request builder for the MacOSDeviceFeaturesConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMacOSDeviceFeaturesConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMacOSDeviceFeaturesConfigurationRequest instance - */ - public IMacOSDeviceFeaturesConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMacOSDeviceFeaturesConfigurationRequest instance - */ - public IMacOSDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new MacOSDeviceFeaturesConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequest.java deleted file mode 100644 index 9c64f735220..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.MacOSGeneralDeviceConfigurationRequest; -import com.microsoft.graph.models.extensions.MacOSGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSGeneral Device Configuration Request. - */ -public class BaseMacOSGeneralDeviceConfigurationRequest extends BaseRequest implements IBaseMacOSGeneralDeviceConfigurationRequest { - - /** - * The request for the MacOSGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMacOSGeneralDeviceConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MacOSGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MacOSGeneralDeviceConfiguration from the service - * - * @return the MacOSGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSGeneralDeviceConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MacOSGeneralDeviceConfiguration with a source - * - * @param sourceMacOSGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMacOSGeneralDeviceConfiguration); - } - - /** - * Patches this MacOSGeneralDeviceConfiguration with a source - * - * @param sourceMacOSGeneralDeviceConfiguration the source object with updates - * @return the updated MacOSGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSGeneralDeviceConfiguration patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceMacOSGeneralDeviceConfiguration); - } - - /** - * Creates a MacOSGeneralDeviceConfiguration with a new object - * - * @param newMacOSGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newMacOSGeneralDeviceConfiguration); - } - - /** - * Creates a MacOSGeneralDeviceConfiguration with a new object - * - * @param newMacOSGeneralDeviceConfiguration the new object to create - * @return the created MacOSGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSGeneralDeviceConfiguration post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException { - return send(HttpMethod.POST, newMacOSGeneralDeviceConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMacOSGeneralDeviceConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MacOSGeneralDeviceConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMacOSGeneralDeviceConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MacOSGeneralDeviceConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index dd47182c246..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSGeneralDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.MacOSGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSGeneral Device Configuration Request Builder. - */ -public class BaseMacOSGeneralDeviceConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseMacOSGeneralDeviceConfigurationRequestBuilder { - - /** - * The request builder for the MacOSGeneralDeviceConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMacOSGeneralDeviceConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMacOSGeneralDeviceConfigurationRequest instance - */ - public IMacOSGeneralDeviceConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMacOSGeneralDeviceConfigurationRequest instance - */ - public IMacOSGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new MacOSGeneralDeviceConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequest.java deleted file mode 100644 index ebb34711d41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSOfficeSuiteAppRequest; -import com.microsoft.graph.requests.extensions.MacOSOfficeSuiteAppRequest; -import com.microsoft.graph.models.extensions.MacOSOfficeSuiteApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSOffice Suite App Request. - */ -public class BaseMacOSOfficeSuiteAppRequest extends BaseRequest implements IBaseMacOSOfficeSuiteAppRequest { - - /** - * The request for the MacOSOfficeSuiteApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMacOSOfficeSuiteAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MacOSOfficeSuiteApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MacOSOfficeSuiteApp from the service - * - * @return the MacOSOfficeSuiteApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSOfficeSuiteApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MacOSOfficeSuiteApp with a source - * - * @param sourceMacOSOfficeSuiteApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMacOSOfficeSuiteApp); - } - - /** - * Patches this MacOSOfficeSuiteApp with a source - * - * @param sourceMacOSOfficeSuiteApp the source object with updates - * @return the updated MacOSOfficeSuiteApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSOfficeSuiteApp patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp) throws ClientException { - return send(HttpMethod.PATCH, sourceMacOSOfficeSuiteApp); - } - - /** - * Creates a MacOSOfficeSuiteApp with a new object - * - * @param newMacOSOfficeSuiteApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp, final ICallback callback) { - send(HttpMethod.POST, callback, newMacOSOfficeSuiteApp); - } - - /** - * Creates a MacOSOfficeSuiteApp with a new object - * - * @param newMacOSOfficeSuiteApp the new object to create - * @return the created MacOSOfficeSuiteApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MacOSOfficeSuiteApp post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException { - return send(HttpMethod.POST, newMacOSOfficeSuiteApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMacOSOfficeSuiteAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MacOSOfficeSuiteAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMacOSOfficeSuiteAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MacOSOfficeSuiteAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequestBuilder.java deleted file mode 100644 index b6b93f13e5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMacOSOfficeSuiteAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSOfficeSuiteAppRequest; -import com.microsoft.graph.requests.extensions.MacOSOfficeSuiteAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mac OSOffice Suite App Request Builder. - */ -public class BaseMacOSOfficeSuiteAppRequestBuilder extends BaseRequestBuilder implements IBaseMacOSOfficeSuiteAppRequestBuilder { - - /** - * The request builder for the MacOSOfficeSuiteApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMacOSOfficeSuiteAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMacOSOfficeSuiteAppRequest instance - */ - public IMacOSOfficeSuiteAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMacOSOfficeSuiteAppRequest instance - */ - public IMacOSOfficeSuiteAppRequest buildRequest(final java.util.List requestOptions) { - return new MacOSOfficeSuiteAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionPage.java deleted file mode 100644 index fd54ba3eeb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Collection Page. - */ -public class BaseMailFolderCollectionPage extends BaseCollectionPage implements IBaseMailFolderCollectionPage { - - /** - * A collection page for MailFolder - * - * @param response the serialized BaseMailFolderCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMailFolderCollectionPage(final BaseMailFolderCollectionResponse response, final IMailFolderCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequest.java deleted file mode 100644 index 177898c392b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Collection Request. - */ -public class BaseMailFolderCollectionRequest extends BaseCollectionRequest implements IBaseMailFolderCollectionRequest { - - /** - * The request builder for this collection of MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMailFolderCollectionResponse.class, IMailFolderCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMailFolderCollectionPage get() throws ClientException { - final BaseMailFolderCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MailFolder newMailFolder, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MailFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMailFolder, callback); - } - - public MailFolder post(final MailFolder newMailFolder) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MailFolderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMailFolder); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMailFolderCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MailFolderCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMailFolderCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MailFolderCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMailFolderCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MailFolderCollectionRequest)this; - } - - public IMailFolderCollectionPage buildFromResponse(final BaseMailFolderCollectionResponse response) { - final IMailFolderCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MailFolderCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MailFolderCollectionPage page = new MailFolderCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequestBuilder.java deleted file mode 100644 index cb0a9e0faca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Collection Request Builder. - */ -public class BaseMailFolderCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMailFolderCollectionRequestBuilder { - - /** - * The request builder for this collection of MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMailFolderCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMailFolderCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MailFolderCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMailFolderRequestBuilder byId(final String id) { - return new MailFolderRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IMailFolderDeltaCollectionRequestBuilder delta() { - return new MailFolderDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IMailFolderDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new MailFolderDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionResponse.java deleted file mode 100644 index 44d62aad430..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolder; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Collection Response. - */ -public class BaseMailFolderCollectionResponse implements IJsonBackedObject { - - /** - * The list of MailFolder within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequest.java deleted file mode 100644 index 7c43ccc4278..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolderCopyBody; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; -import com.microsoft.graph.requests.extensions.MailFolderCopyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Copy Request. - */ -public class BaseMailFolderCopyRequest extends BaseRequest implements IBaseMailFolderCopyRequest { - protected final MailFolderCopyBody body; - - /** - * The request for this MailFolderCopy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderCopyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, MailFolder.class); - body = new MailFolderCopyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public MailFolder post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMailFolderCopyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MailFolderCopyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMailFolderCopyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MailFolderCopyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMailFolderCopyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MailFolderCopyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequestBuilder.java deleted file mode 100644 index e13a0f06db5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderCopyRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; -import com.microsoft.graph.requests.extensions.MailFolderCopyRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Copy Request Builder. - */ -public class BaseMailFolderCopyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MailFolderCopy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param destinationId the destinationId - */ - public BaseMailFolderCopyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions); - bodyParams.put("destinationId", destinationId); - } - - /** - * Creates the IMailFolderCopyRequest - * - * @return the IMailFolderCopyRequest instance - */ - public IMailFolderCopyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMailFolderCopyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMailFolderCopyRequest instance - */ - public IMailFolderCopyRequest buildRequest(final java.util.List requestOptions) { - MailFolderCopyRequest request = new MailFolderCopyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("destinationId")) { - request.body.destinationId = getParameter("destinationId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionPage.java deleted file mode 100644 index f8859883bf6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Delta Collection Page. - */ -public class BaseMailFolderDeltaCollectionPage extends BaseCollectionPage implements IBaseMailFolderDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for MailFolderDelta. - * - * @param response The serialized BaseMailFolderDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseMailFolderDeltaCollectionPage(final BaseMailFolderDeltaCollectionResponse response, final IMailFolderDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequest.java deleted file mode 100644 index 38bf9dac043..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Delta Collection Request. - */ -public class BaseMailFolderDeltaCollectionRequest extends BaseCollectionRequest implements IBaseMailFolderDeltaCollectionRequest { - - - /** - * The request for this MailFolderDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMailFolderDeltaCollectionResponse.class, IMailFolderDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMailFolderDeltaCollectionPage get() throws ClientException { - final BaseMailFolderDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IMailFolderDeltaCollectionPage buildFromResponse(final BaseMailFolderDeltaCollectionResponse response) { - final IMailFolderDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MailFolderDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IMailFolderDeltaCollectionPage page = new MailFolderDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMailFolderDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IMailFolderDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMailFolderDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IMailFolderDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMailFolderDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IMailFolderDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequestBuilder.java deleted file mode 100644 index c14f1cd6dc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Delta Collection Request Builder. - */ -public class BaseMailFolderDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseMailFolderDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMailFolderDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMailFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - MailFolderDeltaCollectionRequest request = new MailFolderDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionResponse.java deleted file mode 100644 index 0b133c8757d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Delta Collection Response. - */ -public class BaseMailFolderDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequest.java deleted file mode 100644 index 24ed4809112..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolderMoveBody; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; -import com.microsoft.graph.requests.extensions.MailFolderMoveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Move Request. - */ -public class BaseMailFolderMoveRequest extends BaseRequest implements IBaseMailFolderMoveRequest { - protected final MailFolderMoveBody body; - - /** - * The request for this MailFolderMove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderMoveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, MailFolder.class); - body = new MailFolderMoveBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public MailFolder post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMailFolderMoveRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MailFolderMoveRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMailFolderMoveRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MailFolderMoveRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMailFolderMoveRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MailFolderMoveRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequestBuilder.java deleted file mode 100644 index a8132128d3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderMoveRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; -import com.microsoft.graph.requests.extensions.MailFolderMoveRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Move Request Builder. - */ -public class BaseMailFolderMoveRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MailFolderMove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param destinationId the destinationId - */ - public BaseMailFolderMoveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions); - bodyParams.put("destinationId", destinationId); - } - - /** - * Creates the IMailFolderMoveRequest - * - * @return the IMailFolderMoveRequest instance - */ - public IMailFolderMoveRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMailFolderMoveRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMailFolderMoveRequest instance - */ - public IMailFolderMoveRequest buildRequest(final java.util.List requestOptions) { - MailFolderMoveRequest request = new MailFolderMoveRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("destinationId")) { - request.body.destinationId = getParameter("destinationId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequest.java deleted file mode 100644 index 7dbd4014c2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderRequest; -import com.microsoft.graph.requests.extensions.MailFolderRequest; -import com.microsoft.graph.models.extensions.MailFolder; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Request. - */ -public class BaseMailFolderRequest extends BaseRequest implements IBaseMailFolderRequest { - - /** - * The request for the MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMailFolderRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MailFolder from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MailFolder from the service - * - * @return the MailFolder from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MailFolder get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MailFolder with a source - * - * @param sourceMailFolder the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MailFolder sourceMailFolder, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMailFolder); - } - - /** - * Patches this MailFolder with a source - * - * @param sourceMailFolder the source object with updates - * @return the updated MailFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MailFolder patch(final MailFolder sourceMailFolder) throws ClientException { - return send(HttpMethod.PATCH, sourceMailFolder); - } - - /** - * Creates a MailFolder with a new object - * - * @param newMailFolder the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MailFolder newMailFolder, final ICallback callback) { - send(HttpMethod.POST, callback, newMailFolder); - } - - /** - * Creates a MailFolder with a new object - * - * @param newMailFolder the new object to create - * @return the created MailFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MailFolder post(final MailFolder newMailFolder) throws ClientException { - return send(HttpMethod.POST, newMailFolder); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMailFolderRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MailFolderRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMailFolderRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MailFolderRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequestBuilder.java deleted file mode 100644 index 7641ab865be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMailFolderRequestBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderRequest; -import com.microsoft.graph.requests.extensions.MailFolderRequest; -import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRuleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageRuleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRuleRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageRuleRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MailFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.MailFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.MailFolderCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderMoveRequestBuilder; -import com.microsoft.graph.requests.extensions.MailFolderMoveRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mail Folder Request Builder. - */ -public class BaseMailFolderRequestBuilder extends BaseRequestBuilder implements IBaseMailFolderRequestBuilder { - - /** - * The request builder for the MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMailFolderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMailFolderRequest instance - */ - public IMailFolderRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMailFolderRequest instance - */ - public IMailFolderRequest buildRequest(final java.util.List requestOptions) { - return new MailFolderRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMessageCollectionRequestBuilder messages() { - return new MessageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("messages"), getClient(), null); - } - - public IMessageRequestBuilder messages(final String id) { - return new MessageRequestBuilder(getRequestUrlWithAdditionalSegment("messages") + "/" + id, getClient(), null); - } - public IMessageRuleCollectionRequestBuilder messageRules() { - return new MessageRuleCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("messageRules"), getClient(), null); - } - - public IMessageRuleRequestBuilder messageRules(final String id) { - return new MessageRuleRequestBuilder(getRequestUrlWithAdditionalSegment("messageRules") + "/" + id, getClient(), null); - } - public IMailFolderCollectionRequestBuilder childFolders() { - return new MailFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders"), getClient(), null); - } - - public IMailFolderRequestBuilder childFolders(final String id) { - return new MailFolderRequestBuilder(getRequestUrlWithAdditionalSegment("childFolders") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } - - public IMailFolderCopyRequestBuilder copy(final String destinationId) { - return new MailFolderCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, destinationId); - } - - public IMailFolderMoveRequestBuilder move(final String destinationId) { - return new MailFolderMoveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.move"), getClient(), null, destinationId); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequest.java deleted file mode 100644 index db167b92c7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAndroidLobAppRequest; -import com.microsoft.graph.requests.extensions.ManagedAndroidLobAppRequest; -import com.microsoft.graph.models.extensions.ManagedAndroidLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Android Lob App Request. - */ -public class BaseManagedAndroidLobAppRequest extends BaseRequest implements IBaseManagedAndroidLobAppRequest { - - /** - * The request for the ManagedAndroidLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAndroidLobAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAndroidLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAndroidLobApp from the service - * - * @return the ManagedAndroidLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAndroidLobApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAndroidLobApp with a source - * - * @param sourceManagedAndroidLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAndroidLobApp); - } - - /** - * Patches this ManagedAndroidLobApp with a source - * - * @param sourceManagedAndroidLobApp the source object with updates - * @return the updated ManagedAndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAndroidLobApp patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAndroidLobApp); - } - - /** - * Creates a ManagedAndroidLobApp with a new object - * - * @param newManagedAndroidLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAndroidLobApp newManagedAndroidLobApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAndroidLobApp); - } - - /** - * Creates a ManagedAndroidLobApp with a new object - * - * @param newManagedAndroidLobApp the new object to create - * @return the created ManagedAndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAndroidLobApp post(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException { - return send(HttpMethod.POST, newManagedAndroidLobApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAndroidLobAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAndroidLobAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAndroidLobAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAndroidLobAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequestBuilder.java deleted file mode 100644 index ebf6de61799..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidLobAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAndroidLobAppRequest; -import com.microsoft.graph.requests.extensions.ManagedAndroidLobAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Android Lob App Request Builder. - */ -public class BaseManagedAndroidLobAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedAndroidLobAppRequestBuilder { - - /** - * The request builder for the ManagedAndroidLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAndroidLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAndroidLobAppRequest instance - */ - public IManagedAndroidLobAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAndroidLobAppRequest instance - */ - public IManagedAndroidLobAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAndroidLobAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequest.java deleted file mode 100644 index bda3229a46a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAndroidStoreAppRequest; -import com.microsoft.graph.requests.extensions.ManagedAndroidStoreAppRequest; -import com.microsoft.graph.models.extensions.ManagedAndroidStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Android Store App Request. - */ -public class BaseManagedAndroidStoreAppRequest extends BaseRequest implements IBaseManagedAndroidStoreAppRequest { - - /** - * The request for the ManagedAndroidStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAndroidStoreAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAndroidStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAndroidStoreApp from the service - * - * @return the ManagedAndroidStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAndroidStoreApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAndroidStoreApp with a source - * - * @param sourceManagedAndroidStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAndroidStoreApp); - } - - /** - * Patches this ManagedAndroidStoreApp with a source - * - * @param sourceManagedAndroidStoreApp the source object with updates - * @return the updated ManagedAndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAndroidStoreApp patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAndroidStoreApp); - } - - /** - * Creates a ManagedAndroidStoreApp with a new object - * - * @param newManagedAndroidStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAndroidStoreApp newManagedAndroidStoreApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAndroidStoreApp); - } - - /** - * Creates a ManagedAndroidStoreApp with a new object - * - * @param newManagedAndroidStoreApp the new object to create - * @return the created ManagedAndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAndroidStoreApp post(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException { - return send(HttpMethod.POST, newManagedAndroidStoreApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAndroidStoreAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAndroidStoreAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAndroidStoreAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAndroidStoreAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequestBuilder.java deleted file mode 100644 index 531f68b365c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAndroidStoreAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAndroidStoreAppRequest; -import com.microsoft.graph.requests.extensions.ManagedAndroidStoreAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Android Store App Request Builder. - */ -public class BaseManagedAndroidStoreAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedAndroidStoreAppRequestBuilder { - - /** - * The request builder for the ManagedAndroidStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAndroidStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAndroidStoreAppRequest instance - */ - public IManagedAndroidStoreAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAndroidStoreAppRequest instance - */ - public IManagedAndroidStoreAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAndroidStoreAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequest.java deleted file mode 100644 index ef70f6f631d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.ManagedAppConfigurationRequest; -import com.microsoft.graph.models.extensions.ManagedAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Configuration Request. - */ -public class BaseManagedAppConfigurationRequest extends BaseRequest implements IBaseManagedAppConfigurationRequest { - - /** - * The request for the ManagedAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppConfiguration from the service - * - * @return the ManagedAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppConfiguration with a source - * - * @param sourceManagedAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppConfiguration sourceManagedAppConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppConfiguration); - } - - /** - * Patches this ManagedAppConfiguration with a source - * - * @param sourceManagedAppConfiguration the source object with updates - * @return the updated ManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppConfiguration patch(final ManagedAppConfiguration sourceManagedAppConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppConfiguration); - } - - /** - * Creates a ManagedAppConfiguration with a new object - * - * @param newManagedAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppConfiguration newManagedAppConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppConfiguration); - } - - /** - * Creates a ManagedAppConfiguration with a new object - * - * @param newManagedAppConfiguration the new object to create - * @return the created ManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppConfiguration post(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException { - return send(HttpMethod.POST, newManagedAppConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequestBuilder.java deleted file mode 100644 index cd94f205f50..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.ManagedAppConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Configuration Request Builder. - */ -public class BaseManagedAppConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppConfigurationRequestBuilder { - - /** - * The request builder for the ManagedAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppConfigurationRequest instance - */ - public IManagedAppConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppConfigurationRequest instance - */ - public IManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionPage.java deleted file mode 100644 index 1696b236b33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppOperation; -import com.microsoft.graph.requests.extensions.IManagedAppOperationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation Collection Page. - */ -public class BaseManagedAppOperationCollectionPage extends BaseCollectionPage implements IBaseManagedAppOperationCollectionPage { - - /** - * A collection page for ManagedAppOperation - * - * @param response the serialized BaseManagedAppOperationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedAppOperationCollectionPage(final BaseManagedAppOperationCollectionResponse response, final IManagedAppOperationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequest.java deleted file mode 100644 index 7e8a7b817d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation Collection Request. - */ -public class BaseManagedAppOperationCollectionRequest extends BaseCollectionRequest implements IBaseManagedAppOperationCollectionRequest { - - /** - * The request builder for this collection of ManagedAppOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppOperationCollectionResponse.class, IManagedAppOperationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedAppOperationCollectionPage get() throws ClientException { - final BaseManagedAppOperationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedAppOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppOperation, callback); - } - - public ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedAppOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppOperation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppOperationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedAppOperationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppOperationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedAppOperationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppOperationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedAppOperationCollectionRequest)this; - } - - public IManagedAppOperationCollectionPage buildFromResponse(final BaseManagedAppOperationCollectionResponse response) { - final IManagedAppOperationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedAppOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedAppOperationCollectionPage page = new ManagedAppOperationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequestBuilder.java deleted file mode 100644 index 8f923783c45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation Collection Request Builder. - */ -public class BaseManagedAppOperationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppOperationCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppOperationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppOperationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppOperationRequestBuilder byId(final String id) { - return new ManagedAppOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionResponse.java deleted file mode 100644 index 0cc2d8a84e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppOperation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation Collection Response. - */ -public class BaseManagedAppOperationCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedAppOperation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequest.java deleted file mode 100644 index 6c09de4757e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppOperationRequest; -import com.microsoft.graph.requests.extensions.ManagedAppOperationRequest; -import com.microsoft.graph.models.extensions.ManagedAppOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation Request. - */ -public class BaseManagedAppOperationRequest extends BaseRequest implements IBaseManagedAppOperationRequest { - - /** - * The request for the ManagedAppOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppOperationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppOperation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppOperation from the service - * - * @return the ManagedAppOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppOperation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppOperation with a source - * - * @param sourceManagedAppOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppOperation sourceManagedAppOperation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppOperation); - } - - /** - * Patches this ManagedAppOperation with a source - * - * @param sourceManagedAppOperation the source object with updates - * @return the updated ManagedAppOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppOperation patch(final ManagedAppOperation sourceManagedAppOperation) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppOperation); - } - - /** - * Creates a ManagedAppOperation with a new object - * - * @param newManagedAppOperation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppOperation); - } - - /** - * Creates a ManagedAppOperation with a new object - * - * @param newManagedAppOperation the new object to create - * @return the created ManagedAppOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException { - return send(HttpMethod.POST, newManagedAppOperation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppOperationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppOperationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppOperationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppOperationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequestBuilder.java deleted file mode 100644 index 6dd475cb386..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppOperationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppOperationRequest; -import com.microsoft.graph.requests.extensions.ManagedAppOperationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Operation Request Builder. - */ -public class BaseManagedAppOperationRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppOperationRequestBuilder { - - /** - * The request builder for the ManagedAppOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppOperationRequest instance - */ - public IManagedAppOperationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppOperationRequest instance - */ - public IManagedAppOperationRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppOperationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionPage.java deleted file mode 100644 index 143561c3be9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Collection Page. - */ -public class BaseManagedAppPolicyCollectionPage extends BaseCollectionPage implements IBaseManagedAppPolicyCollectionPage { - - /** - * A collection page for ManagedAppPolicy - * - * @param response the serialized BaseManagedAppPolicyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedAppPolicyCollectionPage(final BaseManagedAppPolicyCollectionResponse response, final IManagedAppPolicyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequest.java deleted file mode 100644 index 5626f5c3936..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Collection Request. - */ -public class BaseManagedAppPolicyCollectionRequest extends BaseCollectionRequest implements IBaseManagedAppPolicyCollectionRequest { - - /** - * The request builder for this collection of ManagedAppPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppPolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppPolicyCollectionResponse.class, IManagedAppPolicyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedAppPolicyCollectionPage get() throws ClientException { - final BaseManagedAppPolicyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedAppPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppPolicy, callback); - } - - public ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedAppPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppPolicy); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppPolicyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedAppPolicyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppPolicyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedAppPolicyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppPolicyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedAppPolicyCollectionRequest)this; - } - - public IManagedAppPolicyCollectionPage buildFromResponse(final BaseManagedAppPolicyCollectionResponse response) { - final IManagedAppPolicyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedAppPolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedAppPolicyCollectionPage page = new ManagedAppPolicyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequestBuilder.java deleted file mode 100644 index 9bf15fcf081..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Collection Request Builder. - */ -public class BaseManagedAppPolicyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppPolicyCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppPolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppPolicyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppPolicyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppPolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppPolicyRequestBuilder byId(final String id) { - return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionResponse.java deleted file mode 100644 index 5fa3cd9f79a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Collection Response. - */ -public class BaseManagedAppPolicyCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedAppPolicy within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequest.java deleted file mode 100644 index 55c7b2a0607..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequest; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequest; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Deployment Summary Request. - */ -public class BaseManagedAppPolicyDeploymentSummaryRequest extends BaseRequest implements IBaseManagedAppPolicyDeploymentSummaryRequest { - - /** - * The request for the ManagedAppPolicyDeploymentSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppPolicyDeploymentSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppPolicyDeploymentSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppPolicyDeploymentSummary from the service - * - * @return the ManagedAppPolicyDeploymentSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppPolicyDeploymentSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppPolicyDeploymentSummary with a source - * - * @param sourceManagedAppPolicyDeploymentSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppPolicyDeploymentSummary); - } - - /** - * Patches this ManagedAppPolicyDeploymentSummary with a source - * - * @param sourceManagedAppPolicyDeploymentSummary the source object with updates - * @return the updated ManagedAppPolicyDeploymentSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppPolicyDeploymentSummary patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppPolicyDeploymentSummary); - } - - /** - * Creates a ManagedAppPolicyDeploymentSummary with a new object - * - * @param newManagedAppPolicyDeploymentSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppPolicyDeploymentSummary); - } - - /** - * Creates a ManagedAppPolicyDeploymentSummary with a new object - * - * @param newManagedAppPolicyDeploymentSummary the new object to create - * @return the created ManagedAppPolicyDeploymentSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppPolicyDeploymentSummary post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException { - return send(HttpMethod.POST, newManagedAppPolicyDeploymentSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppPolicyDeploymentSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppPolicyDeploymentSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppPolicyDeploymentSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppPolicyDeploymentSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequestBuilder.java deleted file mode 100644 index 39a7b4039d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyDeploymentSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequest; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Deployment Summary Request Builder. - */ -public class BaseManagedAppPolicyDeploymentSummaryRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppPolicyDeploymentSummaryRequestBuilder { - - /** - * The request builder for the ManagedAppPolicyDeploymentSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppPolicyDeploymentSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppPolicyDeploymentSummaryRequest instance - */ - public IManagedAppPolicyDeploymentSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppPolicyDeploymentSummaryRequest instance - */ - public IManagedAppPolicyDeploymentSummaryRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppPolicyDeploymentSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequest.java deleted file mode 100644 index bb155ac5510..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequest; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequest; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Request. - */ -public class BaseManagedAppPolicyRequest extends BaseRequest implements IBaseManagedAppPolicyRequest { - - /** - * The request for the ManagedAppPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppPolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppPolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppPolicy from the service - * - * @return the ManagedAppPolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppPolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppPolicy with a source - * - * @param sourceManagedAppPolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppPolicy sourceManagedAppPolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppPolicy); - } - - /** - * Patches this ManagedAppPolicy with a source - * - * @param sourceManagedAppPolicy the source object with updates - * @return the updated ManagedAppPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppPolicy patch(final ManagedAppPolicy sourceManagedAppPolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppPolicy); - } - - /** - * Creates a ManagedAppPolicy with a new object - * - * @param newManagedAppPolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppPolicy); - } - - /** - * Creates a ManagedAppPolicy with a new object - * - * @param newManagedAppPolicy the new object to create - * @return the created ManagedAppPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException { - return send(HttpMethod.POST, newManagedAppPolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppPolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppPolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppPolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppPolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequestBuilder.java deleted file mode 100644 index c8f07db0fb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequest; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyTargetAppsRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Request Builder. - */ -public class BaseManagedAppPolicyRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppPolicyRequestBuilder { - - /** - * The request builder for the ManagedAppPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppPolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppPolicyRequest instance - */ - public IManagedAppPolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppPolicyRequest instance - */ - public IManagedAppPolicyRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppPolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IManagedAppPolicyTargetAppsRequestBuilder targetApps(final java.util.List apps) { - return new ManagedAppPolicyTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, apps); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequest.java deleted file mode 100644 index eeaedb9a02a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppPolicyTargetAppsBody; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyTargetAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Target Apps Request. - */ -public class BaseManagedAppPolicyTargetAppsRequest extends BaseRequest implements IBaseManagedAppPolicyTargetAppsRequest { - protected final ManagedAppPolicyTargetAppsBody body; - - /** - * The request for this ManagedAppPolicyTargetApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppPolicyTargetAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedAppPolicyTargetAppsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppPolicyTargetAppsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppPolicyTargetAppsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppPolicyTargetAppsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedAppPolicyTargetAppsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppPolicyTargetAppsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppPolicyTargetAppsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequestBuilder.java deleted file mode 100644 index 4d347ef2a1f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppPolicyTargetAppsRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyTargetAppsRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Policy Target Apps Request Builder. - */ -public class BaseManagedAppPolicyTargetAppsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedAppPolicyTargetApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param apps the apps - */ - public BaseManagedAppPolicyTargetAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List apps) { - super(requestUrl, client, requestOptions); - bodyParams.put("apps", apps); - } - - /** - * Creates the IManagedAppPolicyTargetAppsRequest - * - * @return the IManagedAppPolicyTargetAppsRequest instance - */ - public IManagedAppPolicyTargetAppsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedAppPolicyTargetAppsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedAppPolicyTargetAppsRequest instance - */ - public IManagedAppPolicyTargetAppsRequest buildRequest(final java.util.List requestOptions) { - ManagedAppPolicyTargetAppsRequest request = new ManagedAppPolicyTargetAppsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("apps")) { - request.body.apps = getParameter("apps"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequest.java deleted file mode 100644 index a9d67bba6cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.ManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.ManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Protection Request. - */ -public class BaseManagedAppProtectionRequest extends BaseRequest implements IBaseManagedAppProtectionRequest { - - /** - * The request for the ManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppProtection from the service - * - * @return the ManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppProtection with a source - * - * @param sourceManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppProtection sourceManagedAppProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppProtection); - } - - /** - * Patches this ManagedAppProtection with a source - * - * @param sourceManagedAppProtection the source object with updates - * @return the updated ManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppProtection patch(final ManagedAppProtection sourceManagedAppProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppProtection); - } - - /** - * Creates a ManagedAppProtection with a new object - * - * @param newManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppProtection newManagedAppProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppProtection); - } - - /** - * Creates a ManagedAppProtection with a new object - * - * @param newManagedAppProtection the new object to create - * @return the created ManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppProtection post(final ManagedAppProtection newManagedAppProtection) throws ClientException { - return send(HttpMethod.POST, newManagedAppProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 435d61cd492..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.ManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppProtectionTargetAppsRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Protection Request Builder. - */ -public class BaseManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppProtectionRequestBuilder { - - /** - * The request builder for the ManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppProtectionRequest instance - */ - public IManagedAppProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppProtectionRequest instance - */ - public IManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IManagedAppProtectionTargetAppsRequestBuilder targetApps(final java.util.List apps) { - return new ManagedAppProtectionTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, apps); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequest.java deleted file mode 100644 index 416bf35c390..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppProtectionTargetAppsBody; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; -import com.microsoft.graph.requests.extensions.ManagedAppProtectionTargetAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Protection Target Apps Request. - */ -public class BaseManagedAppProtectionTargetAppsRequest extends BaseRequest implements IBaseManagedAppProtectionTargetAppsRequest { - protected final ManagedAppProtectionTargetAppsBody body; - - /** - * The request for this ManagedAppProtectionTargetApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppProtectionTargetAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedAppProtectionTargetAppsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppProtectionTargetAppsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppProtectionTargetAppsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppProtectionTargetAppsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedAppProtectionTargetAppsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppProtectionTargetAppsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppProtectionTargetAppsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequestBuilder.java deleted file mode 100644 index 9f1e027260b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppProtectionTargetAppsRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; -import com.microsoft.graph.requests.extensions.ManagedAppProtectionTargetAppsRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Protection Target Apps Request Builder. - */ -public class BaseManagedAppProtectionTargetAppsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedAppProtectionTargetApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param apps the apps - */ - public BaseManagedAppProtectionTargetAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List apps) { - super(requestUrl, client, requestOptions); - bodyParams.put("apps", apps); - } - - /** - * Creates the IManagedAppProtectionTargetAppsRequest - * - * @return the IManagedAppProtectionTargetAppsRequest instance - */ - public IManagedAppProtectionTargetAppsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedAppProtectionTargetAppsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedAppProtectionTargetAppsRequest instance - */ - public IManagedAppProtectionTargetAppsRequest buildRequest(final java.util.List requestOptions) { - ManagedAppProtectionTargetAppsRequest request = new ManagedAppProtectionTargetAppsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("apps")) { - request.body.apps = getParameter("apps"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionPage.java deleted file mode 100644 index baf9af4b6ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection Page. - */ -public class BaseManagedAppRegistrationCollectionPage extends BaseCollectionPage implements IBaseManagedAppRegistrationCollectionPage { - - /** - * A collection page for ManagedAppRegistration - * - * @param response the serialized BaseManagedAppRegistrationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedAppRegistrationCollectionPage(final BaseManagedAppRegistrationCollectionResponse response, final IManagedAppRegistrationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequest.java deleted file mode 100644 index b41b3441561..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection Reference Request. - */ -public class BaseManagedAppRegistrationCollectionReferenceRequest extends BaseCollectionRequest implements IBaseManagedAppRegistrationCollectionReferenceRequest { - - /** - * The request builder for this collection of ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppRegistrationCollectionResponse.class, IManagedAppRegistrationCollectionPage.class); - } - - public void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/managedAppRegistrations/" + newManagedAppRegistration.id); - new ManagedAppRegistrationWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppRegistration, body, callback); - } - - public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/managedAppRegistrations/" + newManagedAppRegistration.id); - return new ManagedAppRegistrationWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppRegistration, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRegistrationCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedAppRegistrationCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRegistrationCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedAppRegistrationCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppRegistrationCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedAppRegistrationCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequestBuilder.java deleted file mode 100644 index c79db78101b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection Reference Request Builder. - */ -public class BaseManagedAppRegistrationCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRegistrationCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppRegistrationCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppRegistrationCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRegistrationCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequest.java deleted file mode 100644 index 51264ca85ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection Request. - */ -public class BaseManagedAppRegistrationCollectionRequest extends BaseCollectionRequest implements IBaseManagedAppRegistrationCollectionRequest { - - /** - * The request builder for this collection of ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppRegistrationCollectionResponse.class, IManagedAppRegistrationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedAppRegistrationCollectionPage get() throws ClientException { - final BaseManagedAppRegistrationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedAppRegistrationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppRegistration, callback); - } - - public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedAppRegistrationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppRegistration); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRegistrationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedAppRegistrationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRegistrationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedAppRegistrationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppRegistrationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedAppRegistrationCollectionRequest)this; - } - - public IManagedAppRegistrationCollectionPage buildFromResponse(final BaseManagedAppRegistrationCollectionResponse response) { - final IManagedAppRegistrationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedAppRegistrationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedAppRegistrationCollectionPage page = new ManagedAppRegistrationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequestBuilder.java deleted file mode 100644 index 23531347278..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection Request Builder. - */ -public class BaseManagedAppRegistrationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRegistrationCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppRegistrationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRegistrationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppRegistrationRequestBuilder byId(final String id) { - return new ManagedAppRegistrationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder getUserIdsWithFlaggedAppRegistration() { - return new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getUserIdsWithFlaggedAppRegistration"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionResponse.java deleted file mode 100644 index 8d6adbe6e44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection Response. - */ -public class BaseManagedAppRegistrationCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedAppRegistration within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesPage.java deleted file mode 100644 index 23c8713d329..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection With References Page. - */ -public class BaseManagedAppRegistrationCollectionWithReferencesPage extends BaseCollectionPage implements IBaseManagedAppRegistrationCollectionWithReferencesPage { - - /** - * A collection page for ManagedAppRegistration - * - * @param response the serialized BaseManagedAppRegistrationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedAppRegistrationCollectionWithReferencesPage(final BaseManagedAppRegistrationCollectionResponse response, final IManagedAppRegistrationCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequest.java deleted file mode 100644 index a1a0b8e4d35..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection With References Request. - */ -public class BaseManagedAppRegistrationCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseManagedAppRegistrationCollectionWithReferencesRequest { - - /** - * The request builder for this collection of ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppRegistrationCollectionResponse.class, IManagedAppRegistrationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedAppRegistrationCollectionWithReferencesPage get() throws ClientException { - final BaseManagedAppRegistrationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IManagedAppRegistrationCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedAppRegistrationCollectionWithReferencesRequest)this; - } - - public IManagedAppRegistrationCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedAppRegistrationCollectionWithReferencesRequest)this; - } - - public IManagedAppRegistrationCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedAppRegistrationCollectionWithReferencesRequest)this; - } - - public IManagedAppRegistrationCollectionWithReferencesPage buildFromResponse(final BaseManagedAppRegistrationCollectionResponse response) { - final IManagedAppRegistrationCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedAppRegistrationCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedAppRegistrationCollectionWithReferencesPage page = new ManagedAppRegistrationCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index c80f924d114..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Collection With References Request Builder. - */ -public class BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppRegistrationCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppRegistrationCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRegistrationCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppRegistrationWithReferenceRequestBuilder byId(final String id) { - return new ManagedAppRegistrationWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IManagedAppRegistrationCollectionReferenceRequestBuilder references(){ - return new ManagedAppRegistrationCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java deleted file mode 100644 index 3194e73843a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Page. - */ -public class BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage extends BaseCollectionPage implements IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage { - - /** - * A collection page for ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistration. - * - * @param response The serialized BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage(final BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response, final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java deleted file mode 100644 index 41ac742a557..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Request. - */ -public class BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest extends BaseCollectionRequest implements IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest { - - - /** - * The request for this ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.class, IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage get() throws ClientException { - final BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage buildFromResponse(final BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse response) { - final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage page = new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java deleted file mode 100644 index 44e617065bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Request Builder. - */ -public class BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions) { - ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest request = new ManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java deleted file mode 100644 index e2b0602bb5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Response. - */ -public class BaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequest.java deleted file mode 100644 index 65bbb2f56d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Reference Request. - */ -public class BaseManagedAppRegistrationReferenceRequest extends BaseRequest implements IBaseManagedAppRegistrationReferenceRequest { - - /** - * The request for the ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ManagedAppRegistration.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public ManagedAppRegistration delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRegistrationReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppRegistrationReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRegistrationReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppRegistrationReferenceRequest)this; - } - /** - * Puts the ManagedAppRegistration - * - * @param srcManagedAppRegistration the ManagedAppRegistration reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(ManagedAppRegistration srcManagedAppRegistration, final ICallback callback) { - send(HttpMethod.PUT, callback, srcManagedAppRegistration); - } - - /** - * Puts the ManagedAppRegistration - * - * @param srcManagedAppRegistration the ManagedAppRegistration reference to PUT - * @return the ManagedAppRegistration - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public ManagedAppRegistration put(ManagedAppRegistration srcManagedAppRegistration) throws ClientException { - return send(HttpMethod.PUT, srcManagedAppRegistration); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequestBuilder.java deleted file mode 100644 index 0193b8a394c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Reference Request Builder. - */ -public class BaseManagedAppRegistrationReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRegistrationReferenceRequestBuilder { - - /** - * The request builder for the ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IManagedAppRegistrationReferenceRequest instance - */ - public IManagedAppRegistrationReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppRegistrationReferenceRequest instance - */ - public IManagedAppRegistrationReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRegistrationReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequest.java deleted file mode 100644 index 980c45eb47e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationRequest; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Request. - */ -public class BaseManagedAppRegistrationRequest extends BaseRequest implements IBaseManagedAppRegistrationRequest { - - /** - * The request for the ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppRegistrationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppRegistration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppRegistration from the service - * - * @return the ManagedAppRegistration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppRegistration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppRegistration with a source - * - * @param sourceManagedAppRegistration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppRegistration); - } - - /** - * Patches this ManagedAppRegistration with a source - * - * @param sourceManagedAppRegistration the source object with updates - * @return the updated ManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppRegistration); - } - - /** - * Creates a ManagedAppRegistration with a new object - * - * @param newManagedAppRegistration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppRegistration); - } - - /** - * Creates a ManagedAppRegistration with a new object - * - * @param newManagedAppRegistration the new object to create - * @return the created ManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { - return send(HttpMethod.POST, newManagedAppRegistration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRegistrationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppRegistrationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRegistrationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppRegistrationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequestBuilder.java deleted file mode 100644 index be274b0010f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppOperationRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppOperationRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration Request Builder. - */ -public class BaseManagedAppRegistrationRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRegistrationRequestBuilder { - - /** - * The request builder for the ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppRegistrationRequest instance - */ - public IManagedAppRegistrationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppRegistrationRequest instance - */ - public IManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRegistrationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppPolicyCollectionRequestBuilder appliedPolicies() { - return new ManagedAppPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("appliedPolicies"), getClient(), null); - } - - public IManagedAppPolicyRequestBuilder appliedPolicies(final String id) { - return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("appliedPolicies") + "/" + id, getClient(), null); - } - public IManagedAppPolicyCollectionRequestBuilder intendedPolicies() { - return new ManagedAppPolicyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("intendedPolicies"), getClient(), null); - } - - public IManagedAppPolicyRequestBuilder intendedPolicies(final String id) { - return new ManagedAppPolicyRequestBuilder(getRequestUrlWithAdditionalSegment("intendedPolicies") + "/" + id, getClient(), null); - } - public IManagedAppOperationCollectionRequestBuilder operations() { - return new ManagedAppOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null); - } - - public IManagedAppOperationRequestBuilder operations(final String id) { - return new ManagedAppOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequest.java deleted file mode 100644 index bef105dfaa6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration With Reference Request. - */ -public class BaseManagedAppRegistrationWithReferenceRequest extends BaseRequest implements IBaseManagedAppRegistrationWithReferenceRequest { - - /** - * The request for the ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ManagedAppRegistration.class); - } - - public void post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newManagedAppRegistration; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public ManagedAppRegistration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppRegistration); - } - - public ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppRegistration); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRegistrationWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IManagedAppRegistrationWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRegistrationWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppRegistrationWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequestBuilder.java deleted file mode 100644 index c04df44790e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRegistrationWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Registration With Reference Request Builder. - */ -public class BaseManagedAppRegistrationWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRegistrationWithReferenceRequestBuilder { - - /** - * The request builder for the ManagedAppRegistration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRegistrationWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppRegistrationWithReferenceRequest instance - */ - public IManagedAppRegistrationWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppRegistrationWithReferenceRequest instance - */ - public IManagedAppRegistrationWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRegistrationWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppRegistrationReferenceRequestBuilder reference(){ - return new ManagedAppRegistrationReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequest.java deleted file mode 100644 index 51a74a79ceb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppRequest; -import com.microsoft.graph.requests.extensions.ManagedAppRequest; -import com.microsoft.graph.models.extensions.ManagedApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Request. - */ -public class BaseManagedAppRequest extends BaseRequest implements IBaseManagedAppRequest { - - /** - * The request for the ManagedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedApp from the service - * - * @return the ManagedApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedApp with a source - * - * @param sourceManagedApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedApp sourceManagedApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedApp); - } - - /** - * Patches this ManagedApp with a source - * - * @param sourceManagedApp the source object with updates - * @return the updated ManagedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedApp patch(final ManagedApp sourceManagedApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedApp); - } - - /** - * Creates a ManagedApp with a new object - * - * @param newManagedApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedApp newManagedApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedApp); - } - - /** - * Creates a ManagedApp with a new object - * - * @param newManagedApp the new object to create - * @return the created ManagedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedApp post(final ManagedApp newManagedApp) throws ClientException { - return send(HttpMethod.POST, newManagedApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequestBuilder.java deleted file mode 100644 index 60c32ebff96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppRequest; -import com.microsoft.graph.requests.extensions.ManagedAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Request Builder. - */ -public class BaseManagedAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppRequestBuilder { - - /** - * The request builder for the ManagedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppRequest instance - */ - public IManagedAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppRequest instance - */ - public IManagedAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionPage.java deleted file mode 100644 index db3dd9eecee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppStatus; -import com.microsoft.graph.requests.extensions.IManagedAppStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Collection Page. - */ -public class BaseManagedAppStatusCollectionPage extends BaseCollectionPage implements IBaseManagedAppStatusCollectionPage { - - /** - * A collection page for ManagedAppStatus - * - * @param response the serialized BaseManagedAppStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedAppStatusCollectionPage(final BaseManagedAppStatusCollectionResponse response, final IManagedAppStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequest.java deleted file mode 100644 index 7b2a57b4688..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Collection Request. - */ -public class BaseManagedAppStatusCollectionRequest extends BaseCollectionRequest implements IBaseManagedAppStatusCollectionRequest { - - /** - * The request builder for this collection of ManagedAppStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedAppStatusCollectionResponse.class, IManagedAppStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedAppStatusCollectionPage get() throws ClientException { - final BaseManagedAppStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedAppStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppStatus, callback); - } - - public ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedAppStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedAppStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedAppStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedAppStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedAppStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedAppStatusCollectionRequest)this; - } - - public IManagedAppStatusCollectionPage buildFromResponse(final BaseManagedAppStatusCollectionResponse response) { - final IManagedAppStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedAppStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedAppStatusCollectionPage page = new ManagedAppStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequestBuilder.java deleted file mode 100644 index cf3427385b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Collection Request Builder. - */ -public class BaseManagedAppStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedAppStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedAppStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedAppStatusRequestBuilder byId(final String id) { - return new ManagedAppStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionResponse.java deleted file mode 100644 index 72210938d0d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Collection Response. - */ -public class BaseManagedAppStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedAppStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequest.java deleted file mode 100644 index 039bc6926d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRawRequest; -import com.microsoft.graph.requests.extensions.ManagedAppStatusRawRequest; -import com.microsoft.graph.models.extensions.ManagedAppStatusRaw; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Raw Request. - */ -public class BaseManagedAppStatusRawRequest extends BaseRequest implements IBaseManagedAppStatusRawRequest { - - /** - * The request for the ManagedAppStatusRaw - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppStatusRawRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppStatusRaw from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppStatusRaw from the service - * - * @return the ManagedAppStatusRaw from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppStatusRaw get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppStatusRaw with a source - * - * @param sourceManagedAppStatusRaw the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppStatusRaw); - } - - /** - * Patches this ManagedAppStatusRaw with a source - * - * @param sourceManagedAppStatusRaw the source object with updates - * @return the updated ManagedAppStatusRaw - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppStatusRaw patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppStatusRaw); - } - - /** - * Creates a ManagedAppStatusRaw with a new object - * - * @param newManagedAppStatusRaw the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppStatusRaw newManagedAppStatusRaw, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppStatusRaw); - } - - /** - * Creates a ManagedAppStatusRaw with a new object - * - * @param newManagedAppStatusRaw the new object to create - * @return the created ManagedAppStatusRaw - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppStatusRaw post(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException { - return send(HttpMethod.POST, newManagedAppStatusRaw); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppStatusRawRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppStatusRawRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppStatusRawRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppStatusRawRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequestBuilder.java deleted file mode 100644 index 0277127e508..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRawRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRawRequest; -import com.microsoft.graph.requests.extensions.ManagedAppStatusRawRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Raw Request Builder. - */ -public class BaseManagedAppStatusRawRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppStatusRawRequestBuilder { - - /** - * The request builder for the ManagedAppStatusRaw - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppStatusRawRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppStatusRawRequest instance - */ - public IManagedAppStatusRawRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppStatusRawRequest instance - */ - public IManagedAppStatusRawRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppStatusRawRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequest.java deleted file mode 100644 index f1653ee2ca5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRequest; -import com.microsoft.graph.requests.extensions.ManagedAppStatusRequest; -import com.microsoft.graph.models.extensions.ManagedAppStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Request. - */ -public class BaseManagedAppStatusRequest extends BaseRequest implements IBaseManagedAppStatusRequest { - - /** - * The request for the ManagedAppStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedAppStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedAppStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedAppStatus from the service - * - * @return the ManagedAppStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedAppStatus with a source - * - * @param sourceManagedAppStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedAppStatus sourceManagedAppStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedAppStatus); - } - - /** - * Patches this ManagedAppStatus with a source - * - * @param sourceManagedAppStatus the source object with updates - * @return the updated ManagedAppStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppStatus patch(final ManagedAppStatus sourceManagedAppStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedAppStatus); - } - - /** - * Creates a ManagedAppStatus with a new object - * - * @param newManagedAppStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedAppStatus); - } - - /** - * Creates a ManagedAppStatus with a new object - * - * @param newManagedAppStatus the new object to create - * @return the created ManagedAppStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException { - return send(HttpMethod.POST, newManagedAppStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedAppStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedAppStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedAppStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedAppStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequestBuilder.java deleted file mode 100644 index 46005608189..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedAppStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRequest; -import com.microsoft.graph.requests.extensions.ManagedAppStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed App Status Request Builder. - */ -public class BaseManagedAppStatusRequestBuilder extends BaseRequestBuilder implements IBaseManagedAppStatusRequestBuilder { - - /** - * The request builder for the ManagedAppStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedAppStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedAppStatusRequest instance - */ - public IManagedAppStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedAppStatusRequest instance - */ - public IManagedAppStatusRequest buildRequest(final java.util.List requestOptions) { - return new ManagedAppStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequest.java deleted file mode 100644 index 8661758978f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceBypassActivationLockRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Bypass Activation Lock Request. - */ -public class BaseManagedDeviceBypassActivationLockRequest extends BaseRequest implements IBaseManagedDeviceBypassActivationLockRequest { - - /** - * The request for this ManagedDeviceBypassActivationLock - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceBypassActivationLockRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceBypassActivationLock - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceBypassActivationLock - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequestBuilder.java deleted file mode 100644 index 5b37b442305..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceBypassActivationLockRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceBypassActivationLockRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Bypass Activation Lock Request Builder. - */ -public class BaseManagedDeviceBypassActivationLockRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceBypassActivationLock - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceBypassActivationLockRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceBypassActivationLockRequest - * - * @return the IManagedDeviceBypassActivationLockRequest instance - */ - public IManagedDeviceBypassActivationLockRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceBypassActivationLockRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceBypassActivationLockRequest instance - */ - public IManagedDeviceBypassActivationLockRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceBypassActivationLockRequest request = new ManagedDeviceBypassActivationLockRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequest.java deleted file mode 100644 index dd0444c20ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceCleanWindowsDeviceBody; -import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceCleanWindowsDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Clean Windows Device Request. - */ -public class BaseManagedDeviceCleanWindowsDeviceRequest extends BaseRequest implements IBaseManagedDeviceCleanWindowsDeviceRequest { - protected final ManagedDeviceCleanWindowsDeviceBody body; - - /** - * The request for this ManagedDeviceCleanWindowsDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCleanWindowsDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedDeviceCleanWindowsDeviceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceCleanWindowsDeviceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceCleanWindowsDeviceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceCleanWindowsDeviceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedDeviceCleanWindowsDeviceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceCleanWindowsDeviceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceCleanWindowsDeviceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequestBuilder.java deleted file mode 100644 index ecf94f5ee35..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCleanWindowsDeviceRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceCleanWindowsDeviceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Clean Windows Device Request Builder. - */ -public class BaseManagedDeviceCleanWindowsDeviceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceCleanWindowsDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param keepUserData the keepUserData - */ - public BaseManagedDeviceCleanWindowsDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean keepUserData) { - super(requestUrl, client, requestOptions); - bodyParams.put("keepUserData", keepUserData); - } - - /** - * Creates the IManagedDeviceCleanWindowsDeviceRequest - * - * @return the IManagedDeviceCleanWindowsDeviceRequest instance - */ - public IManagedDeviceCleanWindowsDeviceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceCleanWindowsDeviceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceCleanWindowsDeviceRequest instance - */ - public IManagedDeviceCleanWindowsDeviceRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceCleanWindowsDeviceRequest request = new ManagedDeviceCleanWindowsDeviceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("keepUserData")) { - request.body.keepUserData = getParameter("keepUserData"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionPage.java deleted file mode 100644 index a22a86cd76d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDevice; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection Page. - */ -public class BaseManagedDeviceCollectionPage extends BaseCollectionPage implements IBaseManagedDeviceCollectionPage { - - /** - * A collection page for ManagedDevice - * - * @param response the serialized BaseManagedDeviceCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedDeviceCollectionPage(final BaseManagedDeviceCollectionResponse response, final IManagedDeviceCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequest.java deleted file mode 100644 index c6a71f697b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection Reference Request. - */ -public class BaseManagedDeviceCollectionReferenceRequest extends BaseCollectionRequest implements IBaseManagedDeviceCollectionReferenceRequest { - - /** - * The request builder for this collection of ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceCollectionResponse.class, IManagedDeviceCollectionPage.class); - } - - public void post(final ManagedDevice newManagedDevice, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/managedDevices/" + newManagedDevice.id); - new ManagedDeviceWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDevice, body, callback); - } - - public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/managedDevices/" + newManagedDevice.id); - return new ManagedDeviceWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDevice, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequestBuilder.java deleted file mode 100644 index a67e7fe87b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection Reference Request Builder. - */ -public class BaseManagedDeviceCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of DetectedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequest.java deleted file mode 100644 index 80b0a546491..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection Request. - */ -public class BaseManagedDeviceCollectionRequest extends BaseCollectionRequest implements IBaseManagedDeviceCollectionRequest { - - /** - * The request builder for this collection of ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceCollectionResponse.class, IManagedDeviceCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedDeviceCollectionPage get() throws ClientException { - final BaseManagedDeviceCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedDevice newManagedDevice, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedDeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDevice, callback); - } - - public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedDeviceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDevice); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceCollectionRequest)this; - } - - public IManagedDeviceCollectionPage buildFromResponse(final BaseManagedDeviceCollectionResponse response) { - final IManagedDeviceCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedDeviceCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedDeviceCollectionPage page = new ManagedDeviceCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequestBuilder.java deleted file mode 100644 index dba1483a096..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection Request Builder. - */ -public class BaseManagedDeviceCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceRequestBuilder byId(final String id) { - return new ManagedDeviceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionResponse.java deleted file mode 100644 index 3e6f5519af9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDevice; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection Response. - */ -public class BaseManagedDeviceCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedDevice within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesPage.java deleted file mode 100644 index 5d8ecbbd20b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection With References Page. - */ -public class BaseManagedDeviceCollectionWithReferencesPage extends BaseCollectionPage implements IBaseManagedDeviceCollectionWithReferencesPage { - - /** - * A collection page for ManagedDevice - * - * @param response the serialized BaseManagedDeviceCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedDeviceCollectionWithReferencesPage(final BaseManagedDeviceCollectionResponse response, final IManagedDeviceCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequest.java deleted file mode 100644 index 34d3d8517e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection With References Request. - */ -public class BaseManagedDeviceCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseManagedDeviceCollectionWithReferencesRequest { - - /** - * The request builder for this collection of ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceCollectionResponse.class, IManagedDeviceCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedDeviceCollectionWithReferencesPage get() throws ClientException { - final BaseManagedDeviceCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IManagedDeviceCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceCollectionWithReferencesRequest)this; - } - - public IManagedDeviceCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceCollectionWithReferencesRequest)this; - } - - public IManagedDeviceCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceCollectionWithReferencesRequest)this; - } - - public IManagedDeviceCollectionWithReferencesPage buildFromResponse(final BaseManagedDeviceCollectionResponse response) { - final IManagedDeviceCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedDeviceCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedDeviceCollectionWithReferencesPage page = new ManagedDeviceCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 92e031b385c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Collection With References Request Builder. - */ -public class BaseManagedDeviceCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of DetectedApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceWithReferenceRequestBuilder byId(final String id) { - return new ManagedDeviceWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IManagedDeviceCollectionReferenceRequestBuilder references(){ - return new ManagedDeviceCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java deleted file mode 100644 index 1793c3286c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceBody; -import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Delete User From Shared Apple Device Request. - */ -public class BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest extends BaseRequest implements IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest { - protected final ManagedDeviceDeleteUserFromSharedAppleDeviceBody body; - - /** - * The request for this ManagedDeviceDeleteUserFromSharedAppleDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedDeviceDeleteUserFromSharedAppleDeviceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceDeleteUserFromSharedAppleDeviceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedDeviceDeleteUserFromSharedAppleDeviceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceDeleteUserFromSharedAppleDeviceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java deleted file mode 100644 index 97b6a20b50d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Delete User From Shared Apple Device Request Builder. - */ -public class BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceDeleteUserFromSharedAppleDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param userPrincipalName the userPrincipalName - */ - public BaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String userPrincipalName) { - super(requestUrl, client, requestOptions); - bodyParams.put("userPrincipalName", userPrincipalName); - } - - /** - * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest - * - * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance - */ - public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance - */ - public IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceDeleteUserFromSharedAppleDeviceRequest request = new ManagedDeviceDeleteUserFromSharedAppleDeviceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("userPrincipalName")) { - request.body.userPrincipalName = getParameter("userPrincipalName"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequest.java deleted file mode 100644 index 9916d5dbf1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceDisableLostModeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Disable Lost Mode Request. - */ -public class BaseManagedDeviceDisableLostModeRequest extends BaseRequest implements IBaseManagedDeviceDisableLostModeRequest { - - /** - * The request for this ManagedDeviceDisableLostMode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceDisableLostModeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceDisableLostMode - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceDisableLostMode - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequestBuilder.java deleted file mode 100644 index 1ab00d7774e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceDisableLostModeRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceDisableLostModeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Disable Lost Mode Request Builder. - */ -public class BaseManagedDeviceDisableLostModeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceDisableLostMode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceDisableLostModeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceDisableLostModeRequest - * - * @return the IManagedDeviceDisableLostModeRequest instance - */ - public IManagedDeviceDisableLostModeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceDisableLostModeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceDisableLostModeRequest instance - */ - public IManagedDeviceDisableLostModeRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceDisableLostModeRequest request = new ManagedDeviceDisableLostModeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequest.java deleted file mode 100644 index c6cb6588b43..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceLocateDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Locate Device Request. - */ -public class BaseManagedDeviceLocateDeviceRequest extends BaseRequest implements IBaseManagedDeviceLocateDeviceRequest { - - /** - * The request for this ManagedDeviceLocateDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceLocateDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceLocateDevice - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceLocateDevice - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequestBuilder.java deleted file mode 100644 index 4ec37e2160a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLocateDeviceRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceLocateDeviceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Locate Device Request Builder. - */ -public class BaseManagedDeviceLocateDeviceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceLocateDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceLocateDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceLocateDeviceRequest - * - * @return the IManagedDeviceLocateDeviceRequest instance - */ - public IManagedDeviceLocateDeviceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceLocateDeviceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceLocateDeviceRequest instance - */ - public IManagedDeviceLocateDeviceRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceLocateDeviceRequest request = new ManagedDeviceLocateDeviceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java deleted file mode 100644 index 5f26dea6e7f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Logout Shared Apple Device Active User Request. - */ -public class BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest extends BaseRequest implements IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest { - - /** - * The request for this ManagedDeviceLogoutSharedAppleDeviceActiveUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java deleted file mode 100644 index 3b9229ef26a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Logout Shared Apple Device Active User Request Builder. - */ -public class BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceLogoutSharedAppleDeviceActiveUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest - * - * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance - */ - public IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance - */ - public IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest request = new ManagedDeviceLogoutSharedAppleDeviceActiveUserRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequest.java deleted file mode 100644 index 2297434af92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignBody; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assign Request. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationAssignRequest { - protected final ManagedDeviceMobileAppConfigurationAssignBody body; - - /** - * The request for this ManagedDeviceMobileAppConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedDeviceMobileAppConfigurationAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedDeviceMobileAppConfigurationAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java deleted file mode 100644 index 70017e82f2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assign Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceMobileAppConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param assignments the assignments - */ - public BaseManagedDeviceMobileAppConfigurationAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("assignments", assignments); - } - - /** - * Creates the IManagedDeviceMobileAppConfigurationAssignRequest - * - * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance - */ - public IManagedDeviceMobileAppConfigurationAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceMobileAppConfigurationAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance - */ - public IManagedDeviceMobileAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceMobileAppConfigurationAssignRequest request = new ManagedDeviceMobileAppConfigurationAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("assignments")) { - request.body.assignments = getParameter("assignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java deleted file mode 100644 index 052cd75b84a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment Collection Page. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage extends BaseCollectionPage implements IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage { - - /** - * A collection page for ManagedDeviceMobileAppConfigurationAssignment - * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage(final BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response, final IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java deleted file mode 100644 index 5b815b9bc4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment Collection Request. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.class, IManagedDeviceMobileAppConfigurationAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedDeviceMobileAppConfigurationAssignmentCollectionPage get() throws ClientException { - final BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfigurationAssignment, callback); - } - - public ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfigurationAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest)this; - } - - public IManagedDeviceMobileAppConfigurationAssignmentCollectionPage buildFromResponse(final BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse response) { - final IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedDeviceMobileAppConfigurationAssignmentCollectionPage page = new ManagedDeviceMobileAppConfigurationAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java deleted file mode 100644 index a7566b8398d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment Collection Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder byId(final String id) { - return new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java deleted file mode 100644 index ec9ca1dabe7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment Collection Response. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedDeviceMobileAppConfigurationAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequest.java deleted file mode 100644 index af9c34fd70c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment Request. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignmentRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationAssignmentRequest { - - /** - * The request for the ManagedDeviceMobileAppConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceMobileAppConfigurationAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service - * - * @return the ManagedDeviceMobileAppConfigurationAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source - * - * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationAssignment); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source - * - * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationAssignment patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationAssignment); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationAssignment with a new object - * - * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationAssignment); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationAssignment with a new object - * - * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create - * @return the created ManagedDeviceMobileAppConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java deleted file mode 100644 index 92e58968257..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Assignment Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder { - - /** - * The request builder for the ManagedDeviceMobileAppConfigurationAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance - */ - public IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance - */ - public IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionPage.java deleted file mode 100644 index c9ef43a357a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Collection Page. - */ -public class BaseManagedDeviceMobileAppConfigurationCollectionPage extends BaseCollectionPage implements IBaseManagedDeviceMobileAppConfigurationCollectionPage { - - /** - * A collection page for ManagedDeviceMobileAppConfiguration - * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedDeviceMobileAppConfigurationCollectionPage(final BaseManagedDeviceMobileAppConfigurationCollectionResponse response, final IManagedDeviceMobileAppConfigurationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequest.java deleted file mode 100644 index 180a9f05a43..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Collection Request. - */ -public class BaseManagedDeviceMobileAppConfigurationCollectionRequest extends BaseCollectionRequest implements IBaseManagedDeviceMobileAppConfigurationCollectionRequest { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceMobileAppConfigurationCollectionResponse.class, IManagedDeviceMobileAppConfigurationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedDeviceMobileAppConfigurationCollectionPage get() throws ClientException { - final BaseManagedDeviceMobileAppConfigurationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedDeviceMobileAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfiguration, callback); - } - - public ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedDeviceMobileAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfiguration); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceMobileAppConfigurationCollectionRequest)this; - } - - public IManagedDeviceMobileAppConfigurationCollectionPage buildFromResponse(final BaseManagedDeviceMobileAppConfigurationCollectionResponse response) { - final IManagedDeviceMobileAppConfigurationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedDeviceMobileAppConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedDeviceMobileAppConfigurationCollectionPage page = new ManagedDeviceMobileAppConfigurationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java deleted file mode 100644 index 42e902f1a21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Collection Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceMobileAppConfigurationRequestBuilder byId(final String id) { - return new ManagedDeviceMobileAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionResponse.java deleted file mode 100644 index 90c7ea1d60e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Collection Response. - */ -public class BaseManagedDeviceMobileAppConfigurationCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedDeviceMobileAppConfiguration within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java deleted file mode 100644 index 66a53b949a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status Collection Page. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage extends BaseCollectionPage implements IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage { - - /** - * A collection page for ManagedDeviceMobileAppConfigurationDeviceStatus - * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(final BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response, final IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java deleted file mode 100644 index c8d0dbfa1cd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status Collection Request. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest extends BaseCollectionRequest implements IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfigurationDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.class, IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage get() throws ClientException { - final BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfigurationDeviceStatus, callback); - } - - public ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfigurationDeviceStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest)this; - } - - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage buildFromResponse(final BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse response) { - final IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage page = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index 6f573751e01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status Collection Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder byId(final String id) { - return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java deleted file mode 100644 index 45c4d980390..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status Collection Response. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedDeviceMobileAppConfigurationDeviceStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java deleted file mode 100644 index c285bfa2155..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status Request. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest { - - /** - * The request for the ManagedDeviceMobileAppConfigurationDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceMobileAppConfigurationDeviceStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service - * - * @return the ManagedDeviceMobileAppConfigurationDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationDeviceStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationDeviceStatus); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationDeviceStatus patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationDeviceStatus); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationDeviceStatus); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create - * @return the created ManagedDeviceMobileAppConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationDeviceStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationDeviceStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationDeviceStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java deleted file mode 100644 index 3e8291d2b98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Status Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder { - - /** - * The request builder for the ManagedDeviceMobileAppConfigurationDeviceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance - */ - public IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationDeviceStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java deleted file mode 100644 index e2c2a07c1be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceSummaryRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Summary Request. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest { - - /** - * The request for the ManagedDeviceMobileAppConfigurationDeviceSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service - * - * @return the ManagedDeviceMobileAppConfigurationDeviceSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationDeviceSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationDeviceSummary); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationDeviceSummary patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationDeviceSummary); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationDeviceSummary); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create - * @return the created ManagedDeviceMobileAppConfigurationDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationDeviceSummary post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationDeviceSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationDeviceSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationDeviceSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java deleted file mode 100644 index f95dab31dd2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Device Summary Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder { - - /** - * The request builder for the ManagedDeviceMobileAppConfigurationDeviceSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance - */ - public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance - */ - public IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationDeviceSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequest.java deleted file mode 100644 index f20f87bff86..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Request. - */ -public class BaseManagedDeviceMobileAppConfigurationRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationRequest { - - /** - * The request for the ManagedDeviceMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceMobileAppConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceMobileAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceMobileAppConfiguration from the service - * - * @return the ManagedDeviceMobileAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceMobileAppConfiguration with a source - * - * @param sourceManagedDeviceMobileAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfiguration); - } - - /** - * Patches this ManagedDeviceMobileAppConfiguration with a source - * - * @param sourceManagedDeviceMobileAppConfiguration the source object with updates - * @return the updated ManagedDeviceMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfiguration patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfiguration); - } - - /** - * Creates a ManagedDeviceMobileAppConfiguration with a new object - * - * @param newManagedDeviceMobileAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfiguration); - } - - /** - * Creates a ManagedDeviceMobileAppConfiguration with a new object - * - * @param newManagedDeviceMobileAppConfiguration the new object to create - * @return the created ManagedDeviceMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceMobileAppConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequestBuilder.java deleted file mode 100644 index c4cd3371454..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationRequestBuilder { - - /** - * The request builder for the ManagedDeviceMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationRequest instance - */ - public IManagedDeviceMobileAppConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationRequest instance - */ - public IManagedDeviceMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder assignments() { - return new ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder assignments(final String id) { - return new ManagedDeviceMobileAppConfigurationAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - public IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses() { - return new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses"), getClient(), null); - } - - public IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id) { - return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatuses") + "/" + id, getClient(), null); - } - public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder userStatuses() { - return new ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses"), getClient(), null); - } - - public IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder userStatuses(final String id) { - return new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment("userStatuses") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ManagedDeviceMobileAppConfigurationDeviceSummary - * - * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder instance - */ - public IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder deviceStatusSummary() { - return new ManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStatusSummary"), getClient(), null); - } - - /** - * Gets the request builder for ManagedDeviceMobileAppConfigurationUserSummary - * - * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder instance - */ - public IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder userStatusSummary() { - return new ManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("userStatusSummary"), getClient(), null); - } - - public IManagedDeviceMobileAppConfigurationAssignRequestBuilder assign(final java.util.List assignments) { - return new ManagedDeviceMobileAppConfigurationAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java deleted file mode 100644 index 9bd86d49abe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status Collection Page. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage extends BaseCollectionPage implements IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage { - - /** - * A collection page for ManagedDeviceMobileAppConfigurationUserStatus - * - * @param response the serialized BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage(final BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response, final IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java deleted file mode 100644 index 597d09f0282..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status Collection Request. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest extends BaseCollectionRequest implements IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfigurationUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.class, IManagedDeviceMobileAppConfigurationUserStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedDeviceMobileAppConfigurationUserStatusCollectionPage get() throws ClientException { - final BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfigurationUserStatus, callback); - } - - public ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedDeviceMobileAppConfigurationUserStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest)this; - } - - public IManagedDeviceMobileAppConfigurationUserStatusCollectionPage buildFromResponse(final BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response) { - final IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedDeviceMobileAppConfigurationUserStatusCollectionPage page = new ManagedDeviceMobileAppConfigurationUserStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java deleted file mode 100644 index 8812ce3cbfe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status Collection Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedDeviceMobileAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder byId(final String id) { - return new ManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java deleted file mode 100644 index e936013dcf2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status Collection Response. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedDeviceMobileAppConfigurationUserStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequest.java deleted file mode 100644 index 047e80ed244..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status Request. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatusRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationUserStatusRequest { - - /** - * The request for the ManagedDeviceMobileAppConfigurationUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceMobileAppConfigurationUserStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service - * - * @return the ManagedDeviceMobileAppConfigurationUserStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationUserStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationUserStatus); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationUserStatus patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationUserStatus); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationUserStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationUserStatus); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationUserStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create - * @return the created ManagedDeviceMobileAppConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationUserStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationUserStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationUserStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java deleted file mode 100644 index 3d44217facb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Status Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder { - - /** - * The request builder for the ManagedDeviceMobileAppConfigurationUserStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance - */ - public IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance - */ - public IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationUserStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java deleted file mode 100644 index 6190f3c48b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserSummaryRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Summary Request. - */ -public class BaseManagedDeviceMobileAppConfigurationUserSummaryRequest extends BaseRequest implements IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest { - - /** - * The request for the ManagedDeviceMobileAppConfigurationUserSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceMobileAppConfigurationUserSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service - * - * @return the ManagedDeviceMobileAppConfigurationUserSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationUserSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceMobileAppConfigurationUserSummary); - } - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationUserSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationUserSummary patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceMobileAppConfigurationUserSummary); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationUserSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceMobileAppConfigurationUserSummary); - } - - /** - * Creates a ManagedDeviceMobileAppConfigurationUserSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create - * @return the created ManagedDeviceMobileAppConfigurationUserSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceMobileAppConfigurationUserSummary post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationUserSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceMobileAppConfigurationUserSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceMobileAppConfigurationUserSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceMobileAppConfigurationUserSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java deleted file mode 100644 index 548d63da20d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Mobile App Configuration User Summary Request Builder. - */ -public class BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder { - - /** - * The request builder for the ManagedDeviceMobileAppConfigurationUserSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance - */ - public IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance - */ - public IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceMobileAppConfigurationUserSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequest.java deleted file mode 100644 index 0b9d601cf2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview Reference Request. - */ -public class BaseManagedDeviceOverviewReferenceRequest extends BaseRequest implements IBaseManagedDeviceOverviewReferenceRequest { - - /** - * The request for the ManagedDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceOverviewReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ManagedDeviceOverview.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public ManagedDeviceOverview delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceOverviewReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceOverviewReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceOverviewReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceOverviewReferenceRequest)this; - } - /** - * Puts the ManagedDeviceOverview - * - * @param srcManagedDeviceOverview the ManagedDeviceOverview reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(ManagedDeviceOverview srcManagedDeviceOverview, final ICallback callback) { - send(HttpMethod.PUT, callback, srcManagedDeviceOverview); - } - - /** - * Puts the ManagedDeviceOverview - * - * @param srcManagedDeviceOverview the ManagedDeviceOverview reference to PUT - * @return the ManagedDeviceOverview - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public ManagedDeviceOverview put(ManagedDeviceOverview srcManagedDeviceOverview) throws ClientException { - return send(HttpMethod.PUT, srcManagedDeviceOverview); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequestBuilder.java deleted file mode 100644 index 9ab2f53d2d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview Reference Request Builder. - */ -public class BaseManagedDeviceOverviewReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceOverviewReferenceRequestBuilder { - - /** - * The request builder for the ManagedDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceOverviewReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IManagedDeviceOverviewReferenceRequest instance - */ - public IManagedDeviceOverviewReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceOverviewReferenceRequest instance - */ - public IManagedDeviceOverviewReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceOverviewReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequest.java deleted file mode 100644 index 040e4216637..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceOverviewRequest; -import com.microsoft.graph.models.extensions.ManagedDeviceOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview Request. - */ -public class BaseManagedDeviceOverviewRequest extends BaseRequest implements IBaseManagedDeviceOverviewRequest { - - /** - * The request for the ManagedDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceOverviewRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDeviceOverview from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDeviceOverview from the service - * - * @return the ManagedDeviceOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceOverview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDeviceOverview with a source - * - * @param sourceManagedDeviceOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceOverview); - } - - /** - * Patches this ManagedDeviceOverview with a source - * - * @param sourceManagedDeviceOverview the source object with updates - * @return the updated ManagedDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceOverview); - } - - /** - * Creates a ManagedDeviceOverview with a new object - * - * @param newManagedDeviceOverview the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDeviceOverview newManagedDeviceOverview, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDeviceOverview); - } - - /** - * Creates a ManagedDeviceOverview with a new object - * - * @param newManagedDeviceOverview the new object to create - * @return the created ManagedDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException { - return send(HttpMethod.POST, newManagedDeviceOverview); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceOverviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceOverviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceOverviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceOverviewRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequestBuilder.java deleted file mode 100644 index e4b3c242890..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceOverviewRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview Request Builder. - */ -public class BaseManagedDeviceOverviewRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceOverviewRequestBuilder { - - /** - * The request builder for the ManagedDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceOverviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceOverviewRequest instance - */ - public IManagedDeviceOverviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceOverviewRequest instance - */ - public IManagedDeviceOverviewRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceOverviewRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequest.java deleted file mode 100644 index 73bfd9f8b12..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview With Reference Request. - */ -public class BaseManagedDeviceOverviewWithReferenceRequest extends BaseRequest implements IBaseManagedDeviceOverviewWithReferenceRequest { - - /** - * The request for the ManagedDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceOverviewWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ManagedDeviceOverview.class); - } - - public void post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newManagedDeviceOverview; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public ManagedDeviceOverview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDeviceOverview); - } - - public ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDeviceOverview); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceOverviewWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IManagedDeviceOverviewWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceOverviewWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceOverviewWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequestBuilder.java deleted file mode 100644 index 4b4fa8ca16f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceOverviewWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Overview With Reference Request Builder. - */ -public class BaseManagedDeviceOverviewWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceOverviewWithReferenceRequestBuilder { - - /** - * The request builder for the ManagedDeviceOverview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceOverviewWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceOverviewWithReferenceRequest instance - */ - public IManagedDeviceOverviewWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceOverviewWithReferenceRequest instance - */ - public IManagedDeviceOverviewWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceOverviewWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceOverviewReferenceRequestBuilder reference(){ - return new ManagedDeviceOverviewReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequest.java deleted file mode 100644 index 9da1ebdfbf3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRebootNowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Reboot Now Request. - */ -public class BaseManagedDeviceRebootNowRequest extends BaseRequest implements IBaseManagedDeviceRebootNowRequest { - - /** - * The request for this ManagedDeviceRebootNow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRebootNowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceRebootNow - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceRebootNow - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequestBuilder.java deleted file mode 100644 index 3f96faf086e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRebootNowRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRebootNowRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Reboot Now Request Builder. - */ -public class BaseManagedDeviceRebootNowRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceRebootNow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRebootNowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceRebootNowRequest - * - * @return the IManagedDeviceRebootNowRequest instance - */ - public IManagedDeviceRebootNowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceRebootNowRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRebootNowRequest instance - */ - public IManagedDeviceRebootNowRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceRebootNowRequest request = new ManagedDeviceRebootNowRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequest.java deleted file mode 100644 index 0167586d438..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRecoverPasscodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Recover Passcode Request. - */ -public class BaseManagedDeviceRecoverPasscodeRequest extends BaseRequest implements IBaseManagedDeviceRecoverPasscodeRequest { - - /** - * The request for this ManagedDeviceRecoverPasscode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRecoverPasscodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceRecoverPasscode - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceRecoverPasscode - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequestBuilder.java deleted file mode 100644 index 3e4efb2093a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRecoverPasscodeRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRecoverPasscodeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Recover Passcode Request Builder. - */ -public class BaseManagedDeviceRecoverPasscodeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceRecoverPasscode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRecoverPasscodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceRecoverPasscodeRequest - * - * @return the IManagedDeviceRecoverPasscodeRequest instance - */ - public IManagedDeviceRecoverPasscodeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceRecoverPasscodeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRecoverPasscodeRequest instance - */ - public IManagedDeviceRecoverPasscodeRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceRecoverPasscodeRequest request = new ManagedDeviceRecoverPasscodeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequest.java deleted file mode 100644 index c160a61f034..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Reference Request. - */ -public class BaseManagedDeviceReferenceRequest extends BaseRequest implements IBaseManagedDeviceReferenceRequest { - - /** - * The request for the ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ManagedDevice.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public ManagedDevice delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceReferenceRequest)this; - } - /** - * Puts the ManagedDevice - * - * @param srcManagedDevice the ManagedDevice reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(ManagedDevice srcManagedDevice, final ICallback callback) { - send(HttpMethod.PUT, callback, srcManagedDevice); - } - - /** - * Puts the ManagedDevice - * - * @param srcManagedDevice the ManagedDevice reference to PUT - * @return the ManagedDevice - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public ManagedDevice put(ManagedDevice srcManagedDevice) throws ClientException { - return send(HttpMethod.PUT, srcManagedDevice); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequestBuilder.java deleted file mode 100644 index a35411b239a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Reference Request Builder. - */ -public class BaseManagedDeviceReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceReferenceRequestBuilder { - - /** - * The request builder for the ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IManagedDeviceReferenceRequest instance - */ - public IManagedDeviceReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceReferenceRequest instance - */ - public IManagedDeviceReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequest.java deleted file mode 100644 index 157a79883aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRemoteLockRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Remote Lock Request. - */ -public class BaseManagedDeviceRemoteLockRequest extends BaseRequest implements IBaseManagedDeviceRemoteLockRequest { - - /** - * The request for this ManagedDeviceRemoteLock - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRemoteLockRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceRemoteLock - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceRemoteLock - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequestBuilder.java deleted file mode 100644 index 7e27d2b11b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRemoteLockRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRemoteLockRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Remote Lock Request Builder. - */ -public class BaseManagedDeviceRemoteLockRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceRemoteLock - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRemoteLockRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceRemoteLockRequest - * - * @return the IManagedDeviceRemoteLockRequest instance - */ - public IManagedDeviceRemoteLockRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceRemoteLockRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRemoteLockRequest instance - */ - public IManagedDeviceRemoteLockRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceRemoteLockRequest request = new ManagedDeviceRemoteLockRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequest.java deleted file mode 100644 index ea342dcae92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequest; -import com.microsoft.graph.models.extensions.ManagedDevice; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Request. - */ -public class BaseManagedDeviceRequest extends BaseRequest implements IBaseManagedDeviceRequest { - - /** - * The request for the ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedDeviceRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedDevice from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedDevice from the service - * - * @return the ManagedDevice from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDevice get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedDevice with a source - * - * @param sourceManagedDevice the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedDevice sourceManagedDevice, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDevice); - } - - /** - * Patches this ManagedDevice with a source - * - * @param sourceManagedDevice the source object with updates - * @return the updated ManagedDevice - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDevice); - } - - /** - * Creates a ManagedDevice with a new object - * - * @param newManagedDevice the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedDevice newManagedDevice, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedDevice); - } - - /** - * Creates a ManagedDevice with a new object - * - * @param newManagedDevice the new object to create - * @return the created ManagedDevice - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException { - return send(HttpMethod.POST, newManagedDevice); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestBuilder.java deleted file mode 100644 index bc9d5f75f40..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestBuilder.java +++ /dev/null @@ -1,194 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequest; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRetireRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceWipeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceResetPasscodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRemoteLockRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequestRemoteAssistanceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceDisableLostModeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceLocateDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceBypassActivationLockRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRebootNowRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceShutDownRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRecoverPasscodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceCleanWindowsDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceSyncDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderScanRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; -import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; -import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Request Builder. - */ -public class BaseManagedDeviceRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceRequestBuilder { - - /** - * The request builder for the ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceRequest instance - */ - public IManagedDeviceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedDeviceRequest instance - */ - public IManagedDeviceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceConfigurationStateCollectionRequestBuilder deviceConfigurationStates() { - return new DeviceConfigurationStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurationStates"), getClient(), null); - } - - public IDeviceConfigurationStateRequestBuilder deviceConfigurationStates(final String id) { - return new DeviceConfigurationStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceConfigurationStates") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for DeviceCategory - * - * @return the IDeviceCategoryRequestBuilder instance - */ - public IDeviceCategoryRequestBuilder deviceCategory() { - return new DeviceCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCategory"), getClient(), null); - } - public IDeviceCompliancePolicyStateCollectionRequestBuilder deviceCompliancePolicyStates() { - return new DeviceCompliancePolicyStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicyStates"), getClient(), null); - } - - public IDeviceCompliancePolicyStateRequestBuilder deviceCompliancePolicyStates(final String id) { - return new DeviceCompliancePolicyStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceCompliancePolicyStates") + "/" + id, getClient(), null); - } - - public IManagedDeviceRetireRequestBuilder retire() { - return new ManagedDeviceRetireRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.retire"), getClient(), null); - } - - public IManagedDeviceWipeRequestBuilder wipe(final Boolean keepEnrollmentData, final Boolean keepUserData, final String macOsUnlockCode) { - return new ManagedDeviceWipeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.wipe"), getClient(), null, keepEnrollmentData, keepUserData, macOsUnlockCode); - } - - public IManagedDeviceResetPasscodeRequestBuilder resetPasscode() { - return new ManagedDeviceResetPasscodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resetPasscode"), getClient(), null); - } - - public IManagedDeviceRemoteLockRequestBuilder remoteLock() { - return new ManagedDeviceRemoteLockRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.remoteLock"), getClient(), null); - } - - public IManagedDeviceRequestRemoteAssistanceRequestBuilder requestRemoteAssistance() { - return new ManagedDeviceRequestRemoteAssistanceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.requestRemoteAssistance"), getClient(), null); - } - - public IManagedDeviceDisableLostModeRequestBuilder disableLostMode() { - return new ManagedDeviceDisableLostModeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.disableLostMode"), getClient(), null); - } - - public IManagedDeviceLocateDeviceRequestBuilder locateDevice() { - return new ManagedDeviceLocateDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.locateDevice"), getClient(), null); - } - - public IManagedDeviceBypassActivationLockRequestBuilder bypassActivationLock() { - return new ManagedDeviceBypassActivationLockRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bypassActivationLock"), getClient(), null); - } - - public IManagedDeviceRebootNowRequestBuilder rebootNow() { - return new ManagedDeviceRebootNowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rebootNow"), getClient(), null); - } - - public IManagedDeviceShutDownRequestBuilder shutDown() { - return new ManagedDeviceShutDownRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.shutDown"), getClient(), null); - } - - public IManagedDeviceRecoverPasscodeRequestBuilder recoverPasscode() { - return new ManagedDeviceRecoverPasscodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.recoverPasscode"), getClient(), null); - } - - public IManagedDeviceCleanWindowsDeviceRequestBuilder cleanWindowsDevice(final Boolean keepUserData) { - return new ManagedDeviceCleanWindowsDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cleanWindowsDevice"), getClient(), null, keepUserData); - } - - public IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder logoutSharedAppleDeviceActiveUser() { - return new ManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.logoutSharedAppleDeviceActiveUser"), getClient(), null); - } - - public IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder deleteUserFromSharedAppleDevice(final String userPrincipalName) { - return new ManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deleteUserFromSharedAppleDevice"), getClient(), null, userPrincipalName); - } - - public IManagedDeviceSyncDeviceRequestBuilder syncDevice() { - return new ManagedDeviceSyncDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syncDevice"), getClient(), null); - } - - public IManagedDeviceWindowsDefenderScanRequestBuilder windowsDefenderScan(final Boolean quickScan) { - return new ManagedDeviceWindowsDefenderScanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.windowsDefenderScan"), getClient(), null, quickScan); - } - - public IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder windowsDefenderUpdateSignatures() { - return new ManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.windowsDefenderUpdateSignatures"), getClient(), null); - } - - public IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder updateWindowsDeviceAccount(final UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter) { - return new ManagedDeviceUpdateWindowsDeviceAccountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.updateWindowsDeviceAccount"), getClient(), null, updateWindowsDeviceAccountActionParameter); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequest.java deleted file mode 100644 index 16fcfafddb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequestRemoteAssistanceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Request Remote Assistance Request. - */ -public class BaseManagedDeviceRequestRemoteAssistanceRequest extends BaseRequest implements IBaseManagedDeviceRequestRemoteAssistanceRequest { - - /** - * The request for this ManagedDeviceRequestRemoteAssistance - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRequestRemoteAssistanceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceRequestRemoteAssistance - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceRequestRemoteAssistance - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java deleted file mode 100644 index 889968494a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequestRemoteAssistanceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Request Remote Assistance Request Builder. - */ -public class BaseManagedDeviceRequestRemoteAssistanceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceRequestRemoteAssistance - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRequestRemoteAssistanceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceRequestRemoteAssistanceRequest - * - * @return the IManagedDeviceRequestRemoteAssistanceRequest instance - */ - public IManagedDeviceRequestRemoteAssistanceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceRequestRemoteAssistanceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRequestRemoteAssistanceRequest instance - */ - public IManagedDeviceRequestRemoteAssistanceRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceRequestRemoteAssistanceRequest request = new ManagedDeviceRequestRemoteAssistanceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequest.java deleted file mode 100644 index 9c7c91a54f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceResetPasscodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Reset Passcode Request. - */ -public class BaseManagedDeviceResetPasscodeRequest extends BaseRequest implements IBaseManagedDeviceResetPasscodeRequest { - - /** - * The request for this ManagedDeviceResetPasscode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceResetPasscodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceResetPasscode - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceResetPasscode - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequestBuilder.java deleted file mode 100644 index 7507b519a4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceResetPasscodeRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceResetPasscodeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Reset Passcode Request Builder. - */ -public class BaseManagedDeviceResetPasscodeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceResetPasscode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceResetPasscodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceResetPasscodeRequest - * - * @return the IManagedDeviceResetPasscodeRequest instance - */ - public IManagedDeviceResetPasscodeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceResetPasscodeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceResetPasscodeRequest instance - */ - public IManagedDeviceResetPasscodeRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceResetPasscodeRequest request = new ManagedDeviceResetPasscodeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequest.java deleted file mode 100644 index c998093c2c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRetireRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Retire Request. - */ -public class BaseManagedDeviceRetireRequest extends BaseRequest implements IBaseManagedDeviceRetireRequest { - - /** - * The request for this ManagedDeviceRetire - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRetireRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceRetire - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceRetire - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequestBuilder.java deleted file mode 100644 index 8ac9a120357..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceRetireRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceRetireRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Retire Request Builder. - */ -public class BaseManagedDeviceRetireRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceRetire - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceRetireRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceRetireRequest - * - * @return the IManagedDeviceRetireRequest instance - */ - public IManagedDeviceRetireRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceRetireRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRetireRequest instance - */ - public IManagedDeviceRetireRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceRetireRequest request = new ManagedDeviceRetireRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequest.java deleted file mode 100644 index b11c6acfd61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceShutDownRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Shut Down Request. - */ -public class BaseManagedDeviceShutDownRequest extends BaseRequest implements IBaseManagedDeviceShutDownRequest { - - /** - * The request for this ManagedDeviceShutDown - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceShutDownRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceShutDown - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceShutDown - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequestBuilder.java deleted file mode 100644 index 78652a60525..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceShutDownRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceShutDownRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Shut Down Request Builder. - */ -public class BaseManagedDeviceShutDownRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceShutDown - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceShutDownRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceShutDownRequest - * - * @return the IManagedDeviceShutDownRequest instance - */ - public IManagedDeviceShutDownRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceShutDownRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceShutDownRequest instance - */ - public IManagedDeviceShutDownRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceShutDownRequest request = new ManagedDeviceShutDownRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequest.java deleted file mode 100644 index 8b5c3e3b767..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceSyncDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Sync Device Request. - */ -public class BaseManagedDeviceSyncDeviceRequest extends BaseRequest implements IBaseManagedDeviceSyncDeviceRequest { - - /** - * The request for this ManagedDeviceSyncDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceSyncDeviceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceSyncDevice - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceSyncDevice - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequestBuilder.java deleted file mode 100644 index d9633cd3a2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceSyncDeviceRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceSyncDeviceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Sync Device Request Builder. - */ -public class BaseManagedDeviceSyncDeviceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceSyncDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceSyncDeviceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceSyncDeviceRequest - * - * @return the IManagedDeviceSyncDeviceRequest instance - */ - public IManagedDeviceSyncDeviceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceSyncDeviceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceSyncDeviceRequest instance - */ - public IManagedDeviceSyncDeviceRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceSyncDeviceRequest request = new ManagedDeviceSyncDeviceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequest.java deleted file mode 100644 index d7f77d5439a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceUpdateWindowsDeviceAccountBody; -import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceUpdateWindowsDeviceAccountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Update Windows Device Account Request. - */ -public class BaseManagedDeviceUpdateWindowsDeviceAccountRequest extends BaseRequest implements IBaseManagedDeviceUpdateWindowsDeviceAccountRequest { - protected final ManagedDeviceUpdateWindowsDeviceAccountBody body; - - /** - * The request for this ManagedDeviceUpdateWindowsDeviceAccount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceUpdateWindowsDeviceAccountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedDeviceUpdateWindowsDeviceAccountBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceUpdateWindowsDeviceAccountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceUpdateWindowsDeviceAccountRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceUpdateWindowsDeviceAccountRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedDeviceUpdateWindowsDeviceAccountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceUpdateWindowsDeviceAccountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceUpdateWindowsDeviceAccountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java deleted file mode 100644 index f54dd66ad1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceUpdateWindowsDeviceAccountRequest; -import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Update Windows Device Account Request Builder. - */ -public class BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceUpdateWindowsDeviceAccount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param updateWindowsDeviceAccountActionParameter the updateWindowsDeviceAccountActionParameter - */ - public BaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter) { - super(requestUrl, client, requestOptions); - bodyParams.put("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountActionParameter); - } - - /** - * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest - * - * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance - */ - public IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance - */ - public IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceUpdateWindowsDeviceAccountRequest request = new ManagedDeviceUpdateWindowsDeviceAccountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("updateWindowsDeviceAccountActionParameter")) { - request.body.updateWindowsDeviceAccountActionParameter = getParameter("updateWindowsDeviceAccountActionParameter"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequest.java deleted file mode 100644 index d6c3a0bb6c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceWindowsDefenderScanBody; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderScanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Windows Defender Scan Request. - */ -public class BaseManagedDeviceWindowsDefenderScanRequest extends BaseRequest implements IBaseManagedDeviceWindowsDefenderScanRequest { - protected final ManagedDeviceWindowsDefenderScanBody body; - - /** - * The request for this ManagedDeviceWindowsDefenderScan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceWindowsDefenderScanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedDeviceWindowsDefenderScanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceWindowsDefenderScanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceWindowsDefenderScanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceWindowsDefenderScanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedDeviceWindowsDefenderScanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceWindowsDefenderScanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceWindowsDefenderScanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequestBuilder.java deleted file mode 100644 index 81b624a1d76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderScanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderScanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Windows Defender Scan Request Builder. - */ -public class BaseManagedDeviceWindowsDefenderScanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceWindowsDefenderScan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param quickScan the quickScan - */ - public BaseManagedDeviceWindowsDefenderScanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean quickScan) { - super(requestUrl, client, requestOptions); - bodyParams.put("quickScan", quickScan); - } - - /** - * Creates the IManagedDeviceWindowsDefenderScanRequest - * - * @return the IManagedDeviceWindowsDefenderScanRequest instance - */ - public IManagedDeviceWindowsDefenderScanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceWindowsDefenderScanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceWindowsDefenderScanRequest instance - */ - public IManagedDeviceWindowsDefenderScanRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceWindowsDefenderScanRequest request = new ManagedDeviceWindowsDefenderScanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("quickScan")) { - request.body.quickScan = getParameter("quickScan"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java deleted file mode 100644 index 10f0b528786..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderUpdateSignaturesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Windows Defender Update Signatures Request. - */ -public class BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest extends BaseRequest implements IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest { - - /** - * The request for this ManagedDeviceWindowsDefenderUpdateSignatures - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceWindowsDefenderUpdateSignaturesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the ManagedDeviceWindowsDefenderUpdateSignatures - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the ManagedDeviceWindowsDefenderUpdateSignatures - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java deleted file mode 100644 index 3ee80590824..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceWindowsDefenderUpdateSignaturesRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Windows Defender Update Signatures Request Builder. - */ -public class BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceWindowsDefenderUpdateSignatures - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest - * - * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance - */ - public IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance - */ - public IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceWindowsDefenderUpdateSignaturesRequest request = new ManagedDeviceWindowsDefenderUpdateSignaturesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequest.java deleted file mode 100644 index 00bd11e8f4b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceWipeBody; -import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceWipeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Wipe Request. - */ -public class BaseManagedDeviceWipeRequest extends BaseRequest implements IBaseManagedDeviceWipeRequest { - protected final ManagedDeviceWipeBody body; - - /** - * The request for this ManagedDeviceWipe - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceWipeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedDeviceWipeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceWipeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedDeviceWipeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedDeviceWipeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedDeviceWipeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceWipeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceWipeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequestBuilder.java deleted file mode 100644 index e51a4ff9528..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWipeRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; -import com.microsoft.graph.requests.extensions.ManagedDeviceWipeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device Wipe Request Builder. - */ -public class BaseManagedDeviceWipeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedDeviceWipe - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param keepEnrollmentData the keepEnrollmentData - * @param keepUserData the keepUserData - * @param macOsUnlockCode the macOsUnlockCode - */ - public BaseManagedDeviceWipeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean keepEnrollmentData, final Boolean keepUserData, final String macOsUnlockCode) { - super(requestUrl, client, requestOptions); - bodyParams.put("keepEnrollmentData", keepEnrollmentData); - bodyParams.put("keepUserData", keepUserData); - bodyParams.put("macOsUnlockCode", macOsUnlockCode); - } - - /** - * Creates the IManagedDeviceWipeRequest - * - * @return the IManagedDeviceWipeRequest instance - */ - public IManagedDeviceWipeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedDeviceWipeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedDeviceWipeRequest instance - */ - public IManagedDeviceWipeRequest buildRequest(final java.util.List requestOptions) { - ManagedDeviceWipeRequest request = new ManagedDeviceWipeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("keepEnrollmentData")) { - request.body.keepEnrollmentData = getParameter("keepEnrollmentData"); - } - - if (hasParameter("keepUserData")) { - request.body.keepUserData = getParameter("keepUserData"); - } - - if (hasParameter("macOsUnlockCode")) { - request.body.macOsUnlockCode = getParameter("macOsUnlockCode"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequest.java deleted file mode 100644 index 3c1779e3494..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device With Reference Request. - */ -public class BaseManagedDeviceWithReferenceRequest extends BaseRequest implements IBaseManagedDeviceWithReferenceRequest { - - /** - * The request for the ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, ManagedDevice.class); - } - - public void post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public ManagedDevice post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newManagedDevice; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public ManagedDevice get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final ManagedDevice sourceManagedDevice, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedDevice); - } - - public ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedDevice); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedDeviceWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IManagedDeviceWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedDeviceWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedDeviceWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequestBuilder.java deleted file mode 100644 index 6a4904aa75b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedDeviceWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Device With Reference Request Builder. - */ -public class BaseManagedDeviceWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseManagedDeviceWithReferenceRequestBuilder { - - /** - * The request builder for the ManagedDevice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedDeviceWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedDeviceWithReferenceRequest instance - */ - public IManagedDeviceWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceWithReferenceRequest instance - */ - public IManagedDeviceWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new ManagedDeviceWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedDeviceReferenceRequestBuilder reference(){ - return new ManagedDeviceReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequest.java deleted file mode 100644 index 5b9010c6c0b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBookAssignBody; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assign Request. - */ -public class BaseManagedEBookAssignRequest extends BaseRequest implements IBaseManagedEBookAssignRequest { - protected final ManagedEBookAssignBody body; - - /** - * The request for this ManagedEBookAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new ManagedEBookAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedEBookAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedEBookAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedEBookAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (ManagedEBookAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedEBookAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedEBookAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequestBuilder.java deleted file mode 100644 index 63570b2b308..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignRequest; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assign Request Builder. - */ -public class BaseManagedEBookAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this ManagedEBookAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param managedEBookAssignments the managedEBookAssignments - */ - public BaseManagedEBookAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List managedEBookAssignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("managedEBookAssignments", managedEBookAssignments); - } - - /** - * Creates the IManagedEBookAssignRequest - * - * @return the IManagedEBookAssignRequest instance - */ - public IManagedEBookAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IManagedEBookAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IManagedEBookAssignRequest instance - */ - public IManagedEBookAssignRequest buildRequest(final java.util.List requestOptions) { - ManagedEBookAssignRequest request = new ManagedEBookAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("managedEBookAssignments")) { - request.body.managedEBookAssignments = getParameter("managedEBookAssignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionPage.java deleted file mode 100644 index 932fbb9414b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment Collection Page. - */ -public class BaseManagedEBookAssignmentCollectionPage extends BaseCollectionPage implements IBaseManagedEBookAssignmentCollectionPage { - - /** - * A collection page for ManagedEBookAssignment - * - * @param response the serialized BaseManagedEBookAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedEBookAssignmentCollectionPage(final BaseManagedEBookAssignmentCollectionResponse response, final IManagedEBookAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequest.java deleted file mode 100644 index 987963a8fc9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment Collection Request. - */ -public class BaseManagedEBookAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseManagedEBookAssignmentCollectionRequest { - - /** - * The request builder for this collection of ManagedEBookAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedEBookAssignmentCollectionResponse.class, IManagedEBookAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedEBookAssignmentCollectionPage get() throws ClientException { - final BaseManagedEBookAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedEBookAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedEBookAssignment, callback); - } - - public ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedEBookAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedEBookAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedEBookAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedEBookAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedEBookAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedEBookAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedEBookAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedEBookAssignmentCollectionRequest)this; - } - - public IManagedEBookAssignmentCollectionPage buildFromResponse(final BaseManagedEBookAssignmentCollectionResponse response) { - final IManagedEBookAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedEBookAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedEBookAssignmentCollectionPage page = new ManagedEBookAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 6502114151e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment Collection Request Builder. - */ -public class BaseManagedEBookAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedEBookAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedEBookAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedEBookAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedEBookAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedEBookAssignmentRequestBuilder byId(final String id) { - return new ManagedEBookAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionResponse.java deleted file mode 100644 index c6e2c8cea45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment Collection Response. - */ -public class BaseManagedEBookAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedEBookAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequest.java deleted file mode 100644 index ad1fce26338..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequest; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentRequest; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment Request. - */ -public class BaseManagedEBookAssignmentRequest extends BaseRequest implements IBaseManagedEBookAssignmentRequest { - - /** - * The request for the ManagedEBookAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedEBookAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedEBookAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedEBookAssignment from the service - * - * @return the ManagedEBookAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedEBookAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedEBookAssignment with a source - * - * @param sourceManagedEBookAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedEBookAssignment sourceManagedEBookAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedEBookAssignment); - } - - /** - * Patches this ManagedEBookAssignment with a source - * - * @param sourceManagedEBookAssignment the source object with updates - * @return the updated ManagedEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedEBookAssignment patch(final ManagedEBookAssignment sourceManagedEBookAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedEBookAssignment); - } - - /** - * Creates a ManagedEBookAssignment with a new object - * - * @param newManagedEBookAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedEBookAssignment); - } - - /** - * Creates a ManagedEBookAssignment with a new object - * - * @param newManagedEBookAssignment the new object to create - * @return the created ManagedEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException { - return send(HttpMethod.POST, newManagedEBookAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedEBookAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedEBookAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedEBookAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedEBookAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequestBuilder.java deleted file mode 100644 index e6698c35cc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequest; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Assignment Request Builder. - */ -public class BaseManagedEBookAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseManagedEBookAssignmentRequestBuilder { - - /** - * The request builder for the ManagedEBookAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedEBookAssignmentRequest instance - */ - public IManagedEBookAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedEBookAssignmentRequest instance - */ - public IManagedEBookAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new ManagedEBookAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionPage.java deleted file mode 100644 index 0bf630eb0eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBook; -import com.microsoft.graph.requests.extensions.IManagedEBookCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Collection Page. - */ -public class BaseManagedEBookCollectionPage extends BaseCollectionPage implements IBaseManagedEBookCollectionPage { - - /** - * A collection page for ManagedEBook - * - * @param response the serialized BaseManagedEBookCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedEBookCollectionPage(final BaseManagedEBookCollectionResponse response, final IManagedEBookCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequest.java deleted file mode 100644 index 1e8ac1f6372..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Collection Request. - */ -public class BaseManagedEBookCollectionRequest extends BaseCollectionRequest implements IBaseManagedEBookCollectionRequest { - - /** - * The request builder for this collection of ManagedEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedEBookCollectionResponse.class, IManagedEBookCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedEBookCollectionPage get() throws ClientException { - final BaseManagedEBookCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedEBook newManagedEBook, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedEBookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedEBook, callback); - } - - public ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedEBookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedEBook); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedEBookCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedEBookCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedEBookCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedEBookCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedEBookCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedEBookCollectionRequest)this; - } - - public IManagedEBookCollectionPage buildFromResponse(final BaseManagedEBookCollectionResponse response) { - final IManagedEBookCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedEBookCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedEBookCollectionPage page = new ManagedEBookCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequestBuilder.java deleted file mode 100644 index a2d4daab766..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Collection Request Builder. - */ -public class BaseManagedEBookCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedEBookCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedEBookCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedEBookCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedEBookCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedEBookRequestBuilder byId(final String id) { - return new ManagedEBookRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionResponse.java deleted file mode 100644 index 0696ea8f517..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBook; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Collection Response. - */ -public class BaseManagedEBookCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedEBook within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequest.java deleted file mode 100644 index a66770d86eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookRequest; -import com.microsoft.graph.requests.extensions.ManagedEBookRequest; -import com.microsoft.graph.models.extensions.ManagedEBook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Request. - */ -public class BaseManagedEBookRequest extends BaseRequest implements IBaseManagedEBookRequest { - - /** - * The request for the ManagedEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedEBookRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedEBook from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedEBook from the service - * - * @return the ManagedEBook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedEBook get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedEBook with a source - * - * @param sourceManagedEBook the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedEBook sourceManagedEBook, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedEBook); - } - - /** - * Patches this ManagedEBook with a source - * - * @param sourceManagedEBook the source object with updates - * @return the updated ManagedEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedEBook patch(final ManagedEBook sourceManagedEBook) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedEBook); - } - - /** - * Creates a ManagedEBook with a new object - * - * @param newManagedEBook the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedEBook newManagedEBook, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedEBook); - } - - /** - * Creates a ManagedEBook with a new object - * - * @param newManagedEBook the new object to create - * @return the created ManagedEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException { - return send(HttpMethod.POST, newManagedEBook); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedEBookRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedEBookRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedEBookRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedEBookRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequestBuilder.java deleted file mode 100644 index f331c8b2164..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedEBookRequestBuilder.java +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookRequest; -import com.microsoft.graph.requests.extensions.ManagedEBookRequest; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.EBookInstallSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceInstallStateRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UserInstallStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.UserInstallStateSummaryRequestBuilder; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedEBookAssignRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed EBook Request Builder. - */ -public class BaseManagedEBookRequestBuilder extends BaseRequestBuilder implements IBaseManagedEBookRequestBuilder { - - /** - * The request builder for the ManagedEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedEBookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedEBookRequest instance - */ - public IManagedEBookRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedEBookRequest instance - */ - public IManagedEBookRequest buildRequest(final java.util.List requestOptions) { - return new ManagedEBookRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedEBookAssignmentCollectionRequestBuilder assignments() { - return new ManagedEBookAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public IManagedEBookAssignmentRequestBuilder assignments(final String id) { - return new ManagedEBookAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for EBookInstallSummary - * - * @return the IEBookInstallSummaryRequestBuilder instance - */ - public IEBookInstallSummaryRequestBuilder installSummary() { - return new EBookInstallSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("installSummary"), getClient(), null); - } - public IDeviceInstallStateCollectionRequestBuilder deviceStates() { - return new DeviceInstallStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates"), getClient(), null); - } - - public IDeviceInstallStateRequestBuilder deviceStates(final String id) { - return new DeviceInstallStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates") + "/" + id, getClient(), null); - } - public IUserInstallStateSummaryCollectionRequestBuilder userStateSummary() { - return new UserInstallStateSummaryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userStateSummary"), getClient(), null); - } - - public IUserInstallStateSummaryRequestBuilder userStateSummary(final String id) { - return new UserInstallStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("userStateSummary") + "/" + id, getClient(), null); - } - - public IManagedEBookAssignRequestBuilder assign(final java.util.List managedEBookAssignments) { - return new ManagedEBookAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, managedEBookAssignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequest.java deleted file mode 100644 index 26026c361d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedIOSLobAppRequest; -import com.microsoft.graph.requests.extensions.ManagedIOSLobAppRequest; -import com.microsoft.graph.models.extensions.ManagedIOSLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed IOSLob App Request. - */ -public class BaseManagedIOSLobAppRequest extends BaseRequest implements IBaseManagedIOSLobAppRequest { - - /** - * The request for the ManagedIOSLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedIOSLobAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedIOSLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedIOSLobApp from the service - * - * @return the ManagedIOSLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedIOSLobApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedIOSLobApp with a source - * - * @param sourceManagedIOSLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedIOSLobApp sourceManagedIOSLobApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedIOSLobApp); - } - - /** - * Patches this ManagedIOSLobApp with a source - * - * @param sourceManagedIOSLobApp the source object with updates - * @return the updated ManagedIOSLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedIOSLobApp patch(final ManagedIOSLobApp sourceManagedIOSLobApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedIOSLobApp); - } - - /** - * Creates a ManagedIOSLobApp with a new object - * - * @param newManagedIOSLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedIOSLobApp newManagedIOSLobApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedIOSLobApp); - } - - /** - * Creates a ManagedIOSLobApp with a new object - * - * @param newManagedIOSLobApp the new object to create - * @return the created ManagedIOSLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedIOSLobApp post(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException { - return send(HttpMethod.POST, newManagedIOSLobApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedIOSLobAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedIOSLobAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedIOSLobAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedIOSLobAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequestBuilder.java deleted file mode 100644 index 2654714618a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSLobAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedIOSLobAppRequest; -import com.microsoft.graph.requests.extensions.ManagedIOSLobAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed IOSLob App Request Builder. - */ -public class BaseManagedIOSLobAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedIOSLobAppRequestBuilder { - - /** - * The request builder for the ManagedIOSLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedIOSLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedIOSLobAppRequest instance - */ - public IManagedIOSLobAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedIOSLobAppRequest instance - */ - public IManagedIOSLobAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedIOSLobAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequest.java deleted file mode 100644 index b36cd098cf3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedIOSStoreAppRequest; -import com.microsoft.graph.requests.extensions.ManagedIOSStoreAppRequest; -import com.microsoft.graph.models.extensions.ManagedIOSStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed IOSStore App Request. - */ -public class BaseManagedIOSStoreAppRequest extends BaseRequest implements IBaseManagedIOSStoreAppRequest { - - /** - * The request for the ManagedIOSStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedIOSStoreAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedIOSStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedIOSStoreApp from the service - * - * @return the ManagedIOSStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedIOSStoreApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedIOSStoreApp with a source - * - * @param sourceManagedIOSStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedIOSStoreApp); - } - - /** - * Patches this ManagedIOSStoreApp with a source - * - * @param sourceManagedIOSStoreApp the source object with updates - * @return the updated ManagedIOSStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedIOSStoreApp patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedIOSStoreApp); - } - - /** - * Creates a ManagedIOSStoreApp with a new object - * - * @param newManagedIOSStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedIOSStoreApp newManagedIOSStoreApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedIOSStoreApp); - } - - /** - * Creates a ManagedIOSStoreApp with a new object - * - * @param newManagedIOSStoreApp the new object to create - * @return the created ManagedIOSStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedIOSStoreApp post(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException { - return send(HttpMethod.POST, newManagedIOSStoreApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedIOSStoreAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedIOSStoreAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedIOSStoreAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedIOSStoreAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequestBuilder.java deleted file mode 100644 index 95ca5523bb4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedIOSStoreAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedIOSStoreAppRequest; -import com.microsoft.graph.requests.extensions.ManagedIOSStoreAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed IOSStore App Request Builder. - */ -public class BaseManagedIOSStoreAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedIOSStoreAppRequestBuilder { - - /** - * The request builder for the ManagedIOSStoreApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedIOSStoreAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedIOSStoreAppRequest instance - */ - public IManagedIOSStoreAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedIOSStoreAppRequest instance - */ - public IManagedIOSStoreAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedIOSStoreAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionPage.java deleted file mode 100644 index b04a1988c71..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App Collection Page. - */ -public class BaseManagedMobileAppCollectionPage extends BaseCollectionPage implements IBaseManagedMobileAppCollectionPage { - - /** - * A collection page for ManagedMobileApp - * - * @param response the serialized BaseManagedMobileAppCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseManagedMobileAppCollectionPage(final BaseManagedMobileAppCollectionResponse response, final IManagedMobileAppCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequest.java deleted file mode 100644 index 9d2e63e7618..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App Collection Request. - */ -public class BaseManagedMobileAppCollectionRequest extends BaseCollectionRequest implements IBaseManagedMobileAppCollectionRequest { - - /** - * The request builder for this collection of ManagedMobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedMobileAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseManagedMobileAppCollectionResponse.class, IManagedMobileAppCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IManagedMobileAppCollectionPage get() throws ClientException { - final BaseManagedMobileAppCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ManagedMobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedMobileApp, callback); - } - - public ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ManagedMobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newManagedMobileApp); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedMobileAppCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ManagedMobileAppCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedMobileAppCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ManagedMobileAppCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IManagedMobileAppCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ManagedMobileAppCollectionRequest)this; - } - - public IManagedMobileAppCollectionPage buildFromResponse(final BaseManagedMobileAppCollectionResponse response) { - final IManagedMobileAppCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ManagedMobileAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ManagedMobileAppCollectionPage page = new ManagedMobileAppCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequestBuilder.java deleted file mode 100644 index ba6bda86a66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App Collection Request Builder. - */ -public class BaseManagedMobileAppCollectionRequestBuilder extends BaseRequestBuilder implements IBaseManagedMobileAppCollectionRequestBuilder { - - /** - * The request builder for this collection of TargetedManagedAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedMobileAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IManagedMobileAppCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IManagedMobileAppCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ManagedMobileAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedMobileAppRequestBuilder byId(final String id) { - return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionResponse.java deleted file mode 100644 index 343b1ce44df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedMobileApp; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App Collection Response. - */ -public class BaseManagedMobileAppCollectionResponse implements IJsonBackedObject { - - /** - * The list of ManagedMobileApp within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequest.java deleted file mode 100644 index a88a937bb91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequest; -import com.microsoft.graph.requests.extensions.ManagedMobileAppRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App Request. - */ -public class BaseManagedMobileAppRequest extends BaseRequest implements IBaseManagedMobileAppRequest { - - /** - * The request for the ManagedMobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedMobileAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedMobileApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedMobileApp from the service - * - * @return the ManagedMobileApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedMobileApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedMobileApp with a source - * - * @param sourceManagedMobileApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedMobileApp sourceManagedMobileApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedMobileApp); - } - - /** - * Patches this ManagedMobileApp with a source - * - * @param sourceManagedMobileApp the source object with updates - * @return the updated ManagedMobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedMobileApp patch(final ManagedMobileApp sourceManagedMobileApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedMobileApp); - } - - /** - * Creates a ManagedMobileApp with a new object - * - * @param newManagedMobileApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedMobileApp); - } - - /** - * Creates a ManagedMobileApp with a new object - * - * @param newManagedMobileApp the new object to create - * @return the created ManagedMobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException { - return send(HttpMethod.POST, newManagedMobileApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedMobileAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedMobileAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedMobileAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedMobileAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequestBuilder.java deleted file mode 100644 index 126fb6be459..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequest; -import com.microsoft.graph.requests.extensions.ManagedMobileAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile App Request Builder. - */ -public class BaseManagedMobileAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedMobileAppRequestBuilder { - - /** - * The request builder for the ManagedMobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedMobileAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedMobileAppRequest instance - */ - public IManagedMobileAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedMobileAppRequest instance - */ - public IManagedMobileAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedMobileAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequest.java deleted file mode 100644 index 4e3259680de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.ManagedMobileLobAppRequest; -import com.microsoft.graph.models.extensions.ManagedMobileLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile Lob App Request. - */ -public class BaseManagedMobileLobAppRequest extends BaseRequest implements IBaseManagedMobileLobAppRequest { - - /** - * The request for the ManagedMobileLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseManagedMobileLobAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ManagedMobileLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ManagedMobileLobApp from the service - * - * @return the ManagedMobileLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedMobileLobApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ManagedMobileLobApp with a source - * - * @param sourceManagedMobileLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ManagedMobileLobApp sourceManagedMobileLobApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceManagedMobileLobApp); - } - - /** - * Patches this ManagedMobileLobApp with a source - * - * @param sourceManagedMobileLobApp the source object with updates - * @return the updated ManagedMobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedMobileLobApp patch(final ManagedMobileLobApp sourceManagedMobileLobApp) throws ClientException { - return send(HttpMethod.PATCH, sourceManagedMobileLobApp); - } - - /** - * Creates a ManagedMobileLobApp with a new object - * - * @param newManagedMobileLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ManagedMobileLobApp newManagedMobileLobApp, final ICallback callback) { - send(HttpMethod.POST, callback, newManagedMobileLobApp); - } - - /** - * Creates a ManagedMobileLobApp with a new object - * - * @param newManagedMobileLobApp the new object to create - * @return the created ManagedMobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ManagedMobileLobApp post(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException { - return send(HttpMethod.POST, newManagedMobileLobApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IManagedMobileLobAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ManagedMobileLobAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IManagedMobileLobAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ManagedMobileLobAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequestBuilder.java deleted file mode 100644 index 2d7893a9572..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseManagedMobileLobAppRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.ManagedMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Managed Mobile Lob App Request Builder. - */ -public class BaseManagedMobileLobAppRequestBuilder extends BaseRequestBuilder implements IBaseManagedMobileLobAppRequestBuilder { - - /** - * The request builder for the ManagedMobileLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseManagedMobileLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IManagedMobileLobAppRequest instance - */ - public IManagedMobileLobAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IManagedMobileLobAppRequest instance - */ - public IManagedMobileLobAppRequest buildRequest(final java.util.List requestOptions) { - return new ManagedMobileLobAppRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppContentCollectionRequestBuilder contentVersions() { - return new MobileAppContentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions"), getClient(), null); - } - - public IMobileAppContentRequestBuilder contentVersions(final String id) { - return new MobileAppContentRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionPage.java deleted file mode 100644 index f94eac91c08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy Collection Page. - */ -public class BaseMdmWindowsInformationProtectionPolicyCollectionPage extends BaseCollectionPage implements IBaseMdmWindowsInformationProtectionPolicyCollectionPage { - - /** - * A collection page for MdmWindowsInformationProtectionPolicy - * - * @param response the serialized BaseMdmWindowsInformationProtectionPolicyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMdmWindowsInformationProtectionPolicyCollectionPage(final BaseMdmWindowsInformationProtectionPolicyCollectionResponse response, final IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequest.java deleted file mode 100644 index 9320265ad9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy Collection Request. - */ -public class BaseMdmWindowsInformationProtectionPolicyCollectionRequest extends BaseCollectionRequest implements IBaseMdmWindowsInformationProtectionPolicyCollectionRequest { - - /** - * The request builder for this collection of MdmWindowsInformationProtectionPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMdmWindowsInformationProtectionPolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMdmWindowsInformationProtectionPolicyCollectionResponse.class, IMdmWindowsInformationProtectionPolicyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMdmWindowsInformationProtectionPolicyCollectionPage get() throws ClientException { - final BaseMdmWindowsInformationProtectionPolicyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MdmWindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMdmWindowsInformationProtectionPolicy, callback); - } - - public MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MdmWindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMdmWindowsInformationProtectionPolicy); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMdmWindowsInformationProtectionPolicyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MdmWindowsInformationProtectionPolicyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMdmWindowsInformationProtectionPolicyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MdmWindowsInformationProtectionPolicyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMdmWindowsInformationProtectionPolicyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MdmWindowsInformationProtectionPolicyCollectionRequest)this; - } - - public IMdmWindowsInformationProtectionPolicyCollectionPage buildFromResponse(final BaseMdmWindowsInformationProtectionPolicyCollectionResponse response) { - final IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MdmWindowsInformationProtectionPolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MdmWindowsInformationProtectionPolicyCollectionPage page = new MdmWindowsInformationProtectionPolicyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java deleted file mode 100644 index 24b2745ddf3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy Collection Request Builder. - */ -public class BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MdmWindowsInformationProtectionPolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMdmWindowsInformationProtectionPolicyRequestBuilder byId(final String id) { - return new MdmWindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionResponse.java deleted file mode 100644 index b852040d5b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy Collection Response. - */ -public class BaseMdmWindowsInformationProtectionPolicyCollectionResponse implements IJsonBackedObject { - - /** - * The list of MdmWindowsInformationProtectionPolicy within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequest.java deleted file mode 100644 index 25a5b067430..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy Request. - */ -public class BaseMdmWindowsInformationProtectionPolicyRequest extends BaseRequest implements IBaseMdmWindowsInformationProtectionPolicyRequest { - - /** - * The request for the MdmWindowsInformationProtectionPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMdmWindowsInformationProtectionPolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MdmWindowsInformationProtectionPolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MdmWindowsInformationProtectionPolicy from the service - * - * @return the MdmWindowsInformationProtectionPolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MdmWindowsInformationProtectionPolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MdmWindowsInformationProtectionPolicy with a source - * - * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMdmWindowsInformationProtectionPolicy); - } - - /** - * Patches this MdmWindowsInformationProtectionPolicy with a source - * - * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates - * @return the updated MdmWindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MdmWindowsInformationProtectionPolicy patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceMdmWindowsInformationProtectionPolicy); - } - - /** - * Creates a MdmWindowsInformationProtectionPolicy with a new object - * - * @param newMdmWindowsInformationProtectionPolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newMdmWindowsInformationProtectionPolicy); - } - - /** - * Creates a MdmWindowsInformationProtectionPolicy with a new object - * - * @param newMdmWindowsInformationProtectionPolicy the new object to create - * @return the created MdmWindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException { - return send(HttpMethod.POST, newMdmWindowsInformationProtectionPolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMdmWindowsInformationProtectionPolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MdmWindowsInformationProtectionPolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMdmWindowsInformationProtectionPolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MdmWindowsInformationProtectionPolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequestBuilder.java deleted file mode 100644 index 42b53d918b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMdmWindowsInformationProtectionPolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mdm Windows Information Protection Policy Request Builder. - */ -public class BaseMdmWindowsInformationProtectionPolicyRequestBuilder extends BaseRequestBuilder implements IBaseMdmWindowsInformationProtectionPolicyRequestBuilder { - - /** - * The request builder for the MdmWindowsInformationProtectionPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMdmWindowsInformationProtectionPolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMdmWindowsInformationProtectionPolicyRequest instance - */ - public IMdmWindowsInformationProtectionPolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMdmWindowsInformationProtectionPolicyRequest instance - */ - public IMdmWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions) { - return new MdmWindowsInformationProtectionPolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionPage.java deleted file mode 100644 index d78f1850e1e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Collection Page. - */ -public class BaseMessageCollectionPage extends BaseCollectionPage implements IBaseMessageCollectionPage { - - /** - * A collection page for Message - * - * @param response the serialized BaseMessageCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMessageCollectionPage(final BaseMessageCollectionResponse response, final IMessageCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequest.java deleted file mode 100644 index ccd124e729b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Collection Request. - */ -public class BaseMessageCollectionRequest extends BaseCollectionRequest implements IBaseMessageCollectionRequest { - - /** - * The request builder for this collection of Message - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMessageCollectionResponse.class, IMessageCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMessageCollectionPage get() throws ClientException { - final BaseMessageCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Message newMessage, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMessage, callback); - } - - public Message post(final Message newMessage) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MessageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMessage); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MessageCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MessageCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MessageCollectionRequest)this; - } - - public IMessageCollectionPage buildFromResponse(final BaseMessageCollectionResponse response) { - final IMessageCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MessageCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MessageCollectionPage page = new MessageCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequestBuilder.java deleted file mode 100644 index 383ee72ef29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Collection Request Builder. - */ -public class BaseMessageCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMessageCollectionRequestBuilder { - - /** - * The request builder for this collection of MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMessageCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMessageCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MessageCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMessageRequestBuilder byId(final String id) { - return new MessageRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IMessageDeltaCollectionRequestBuilder delta() { - return new MessageDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IMessageDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new MessageDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionResponse.java deleted file mode 100644 index aaa7e917cc3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Collection Response. - */ -public class BaseMessageCollectionResponse implements IJsonBackedObject { - - /** - * The list of Message within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequest.java deleted file mode 100644 index b97651b4190..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageCopyBody; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCopyRequest; -import com.microsoft.graph.requests.extensions.MessageCopyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Copy Request. - */ -public class BaseMessageCopyRequest extends BaseRequest implements IBaseMessageCopyRequest { - protected final MessageCopyBody body; - - /** - * The request for this MessageCopy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCopyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Message.class); - body = new MessageCopyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Message post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageCopyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageCopyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageCopyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MessageCopyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageCopyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageCopyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequestBuilder.java deleted file mode 100644 index 09ce3d161cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCopyRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCopyRequest; -import com.microsoft.graph.requests.extensions.MessageCopyRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Copy Request Builder. - */ -public class BaseMessageCopyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageCopy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param destinationId the destinationId - */ - public BaseMessageCopyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions); - bodyParams.put("destinationId", destinationId); - } - - /** - * Creates the IMessageCopyRequest - * - * @return the IMessageCopyRequest instance - */ - public IMessageCopyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageCopyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageCopyRequest instance - */ - public IMessageCopyRequest buildRequest(final java.util.List requestOptions) { - MessageCopyRequest request = new MessageCopyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("destinationId")) { - request.body.destinationId = getParameter("destinationId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequest.java deleted file mode 100644 index 0ed38e78006..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; -import com.microsoft.graph.requests.extensions.MessageCreateForwardRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Create Forward Request. - */ -public class BaseMessageCreateForwardRequest extends BaseRequest implements IBaseMessageCreateForwardRequest { - - /** - * The request for this MessageCreateForward - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCreateForwardRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Message.class); - } - - /** - * Creates the MessageCreateForward - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the MessageCreateForward - * - * @return the Message - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Message post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageCreateForwardRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageCreateForwardRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageCreateForwardRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageCreateForwardRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequestBuilder.java deleted file mode 100644 index ee4936f8f2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateForwardRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; -import com.microsoft.graph.requests.extensions.MessageCreateForwardRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Create Forward Request Builder. - */ -public class BaseMessageCreateForwardRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageCreateForward - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCreateForwardRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IMessageCreateForwardRequest - * - * @return the IMessageCreateForwardRequest instance - */ - public IMessageCreateForwardRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageCreateForwardRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageCreateForwardRequest instance - */ - public IMessageCreateForwardRequest buildRequest(final java.util.List requestOptions) { - MessageCreateForwardRequest request = new MessageCreateForwardRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequest.java deleted file mode 100644 index b986ab5b727..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; -import com.microsoft.graph.requests.extensions.MessageCreateReplyAllRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Create Reply All Request. - */ -public class BaseMessageCreateReplyAllRequest extends BaseRequest implements IBaseMessageCreateReplyAllRequest { - - /** - * The request for this MessageCreateReplyAll - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCreateReplyAllRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Message.class); - } - - /** - * Creates the MessageCreateReplyAll - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the MessageCreateReplyAll - * - * @return the Message - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Message post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageCreateReplyAllRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageCreateReplyAllRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageCreateReplyAllRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageCreateReplyAllRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequestBuilder.java deleted file mode 100644 index 4158b21075c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyAllRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; -import com.microsoft.graph.requests.extensions.MessageCreateReplyAllRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Create Reply All Request Builder. - */ -public class BaseMessageCreateReplyAllRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageCreateReplyAll - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCreateReplyAllRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IMessageCreateReplyAllRequest - * - * @return the IMessageCreateReplyAllRequest instance - */ - public IMessageCreateReplyAllRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageCreateReplyAllRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageCreateReplyAllRequest instance - */ - public IMessageCreateReplyAllRequest buildRequest(final java.util.List requestOptions) { - MessageCreateReplyAllRequest request = new MessageCreateReplyAllRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequest.java deleted file mode 100644 index 544bc04066e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; -import com.microsoft.graph.requests.extensions.MessageCreateReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Create Reply Request. - */ -public class BaseMessageCreateReplyRequest extends BaseRequest implements IBaseMessageCreateReplyRequest { - - /** - * The request for this MessageCreateReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCreateReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Message.class); - } - - /** - * Creates the MessageCreateReply - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the MessageCreateReply - * - * @return the Message - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Message post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageCreateReplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageCreateReplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageCreateReplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageCreateReplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequestBuilder.java deleted file mode 100644 index 358184d5daa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageCreateReplyRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; -import com.microsoft.graph.requests.extensions.MessageCreateReplyRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Create Reply Request Builder. - */ -public class BaseMessageCreateReplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageCreateReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageCreateReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IMessageCreateReplyRequest - * - * @return the IMessageCreateReplyRequest instance - */ - public IMessageCreateReplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageCreateReplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageCreateReplyRequest instance - */ - public IMessageCreateReplyRequest buildRequest(final java.util.List requestOptions) { - MessageCreateReplyRequest request = new MessageCreateReplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionPage.java deleted file mode 100644 index dc3b498be9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Delta Collection Page. - */ -public class BaseMessageDeltaCollectionPage extends BaseCollectionPage implements IBaseMessageDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for MessageDelta. - * - * @param response The serialized BaseMessageDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseMessageDeltaCollectionPage(final BaseMessageDeltaCollectionResponse response, final IMessageDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequest.java deleted file mode 100644 index dc38bfb7290..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Delta Collection Request. - */ -public class BaseMessageDeltaCollectionRequest extends BaseCollectionRequest implements IBaseMessageDeltaCollectionRequest { - - - /** - * The request for this MessageDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMessageDeltaCollectionResponse.class, IMessageDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMessageDeltaCollectionPage get() throws ClientException { - final BaseMessageDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IMessageDeltaCollectionPage buildFromResponse(final BaseMessageDeltaCollectionResponse response) { - final IMessageDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MessageDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IMessageDeltaCollectionPage page = new MessageDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IMessageDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IMessageDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IMessageDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequestBuilder.java deleted file mode 100644 index f76491744ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Delta Collection Request Builder. - */ -public class BaseMessageDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseMessageDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of Message - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMessageDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMessageDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - MessageDeltaCollectionRequest request = new MessageDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionResponse.java deleted file mode 100644 index 9f49ec862a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Delta Collection Response. - */ -public class BaseMessageDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequest.java deleted file mode 100644 index eb31439411e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageForwardBody; -import com.microsoft.graph.requests.extensions.IMessageForwardRequest; -import com.microsoft.graph.requests.extensions.MessageForwardRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Forward Request. - */ -public class BaseMessageForwardRequest extends BaseRequest implements IBaseMessageForwardRequest { - protected final MessageForwardBody body; - - /** - * The request for this MessageForward - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageForwardRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new MessageForwardBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageForwardRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageForwardRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageForwardRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MessageForwardRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageForwardRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageForwardRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequestBuilder.java deleted file mode 100644 index bae877f8e6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageForwardRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageForwardRequest; -import com.microsoft.graph.requests.extensions.MessageForwardRequest; -import com.microsoft.graph.models.extensions.Recipient; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Forward Request Builder. - */ -public class BaseMessageForwardRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageForward - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - * @param toRecipients the toRecipients - */ - public BaseMessageForwardRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final java.util.List toRecipients) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - bodyParams.put("toRecipients", toRecipients); - } - - /** - * Creates the IMessageForwardRequest - * - * @return the IMessageForwardRequest instance - */ - public IMessageForwardRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageForwardRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageForwardRequest instance - */ - public IMessageForwardRequest buildRequest(final java.util.List requestOptions) { - MessageForwardRequest request = new MessageForwardRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - if (hasParameter("toRecipients")) { - request.body.toRecipients = getParameter("toRecipients"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequest.java deleted file mode 100644 index d4885b7aedb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageMoveBody; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageMoveRequest; -import com.microsoft.graph.requests.extensions.MessageMoveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Move Request. - */ -public class BaseMessageMoveRequest extends BaseRequest implements IBaseMessageMoveRequest { - protected final MessageMoveBody body; - - /** - * The request for this MessageMove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageMoveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Message.class); - body = new MessageMoveBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Message post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageMoveRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageMoveRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageMoveRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MessageMoveRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageMoveRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageMoveRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequestBuilder.java deleted file mode 100644 index 2def2e80461..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageMoveRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageMoveRequest; -import com.microsoft.graph.requests.extensions.MessageMoveRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Move Request Builder. - */ -public class BaseMessageMoveRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageMove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param destinationId the destinationId - */ - public BaseMessageMoveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String destinationId) { - super(requestUrl, client, requestOptions); - bodyParams.put("destinationId", destinationId); - } - - /** - * Creates the IMessageMoveRequest - * - * @return the IMessageMoveRequest instance - */ - public IMessageMoveRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageMoveRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageMoveRequest instance - */ - public IMessageMoveRequest buildRequest(final java.util.List requestOptions) { - MessageMoveRequest request = new MessageMoveRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("destinationId")) { - request.body.destinationId = getParameter("destinationId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequest.java deleted file mode 100644 index 60f366a8447..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageReplyAllBody; -import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; -import com.microsoft.graph.requests.extensions.MessageReplyAllRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Reply All Request. - */ -public class BaseMessageReplyAllRequest extends BaseRequest implements IBaseMessageReplyAllRequest { - protected final MessageReplyAllBody body; - - /** - * The request for this MessageReplyAll - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageReplyAllRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new MessageReplyAllBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageReplyAllRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageReplyAllRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageReplyAllRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MessageReplyAllRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageReplyAllRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageReplyAllRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequestBuilder.java deleted file mode 100644 index 18269dee321..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyAllRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; -import com.microsoft.graph.requests.extensions.MessageReplyAllRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Reply All Request Builder. - */ -public class BaseMessageReplyAllRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageReplyAll - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - */ - public BaseMessageReplyAllRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - } - - /** - * Creates the IMessageReplyAllRequest - * - * @return the IMessageReplyAllRequest instance - */ - public IMessageReplyAllRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageReplyAllRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageReplyAllRequest instance - */ - public IMessageReplyAllRequest buildRequest(final java.util.List requestOptions) { - MessageReplyAllRequest request = new MessageReplyAllRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequest.java deleted file mode 100644 index 23621f9546c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageReplyBody; -import com.microsoft.graph.requests.extensions.IMessageReplyRequest; -import com.microsoft.graph.requests.extensions.MessageReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Reply Request. - */ -public class BaseMessageReplyRequest extends BaseRequest implements IBaseMessageReplyRequest { - protected final MessageReplyBody body; - - /** - * The request for this MessageReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new MessageReplyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageReplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageReplyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageReplyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MessageReplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageReplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageReplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequestBuilder.java deleted file mode 100644 index 5e009530234..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageReplyRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageReplyRequest; -import com.microsoft.graph.requests.extensions.MessageReplyRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Reply Request Builder. - */ -public class BaseMessageReplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - */ - public BaseMessageReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - } - - /** - * Creates the IMessageReplyRequest - * - * @return the IMessageReplyRequest instance - */ - public IMessageReplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageReplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageReplyRequest instance - */ - public IMessageReplyRequest buildRequest(final java.util.List requestOptions) { - MessageReplyRequest request = new MessageReplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequest.java deleted file mode 100644 index 027fbb8818a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageRequest; -import com.microsoft.graph.requests.extensions.MessageRequest; -import com.microsoft.graph.models.extensions.Message; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Request. - */ -public class BaseMessageRequest extends BaseRequest implements IBaseMessageRequest { - - /** - * The request for the Message - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMessageRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Message from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Message from the service - * - * @return the Message from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Message get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Message with a source - * - * @param sourceMessage the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Message sourceMessage, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMessage); - } - - /** - * Patches this Message with a source - * - * @param sourceMessage the source object with updates - * @return the updated Message - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Message patch(final Message sourceMessage) throws ClientException { - return send(HttpMethod.PATCH, sourceMessage); - } - - /** - * Creates a Message with a new object - * - * @param newMessage the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Message newMessage, final ICallback callback) { - send(HttpMethod.POST, callback, newMessage); - } - - /** - * Creates a Message with a new object - * - * @param newMessage the new object to create - * @return the created Message - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Message post(final Message newMessage) throws ClientException { - return send(HttpMethod.POST, newMessage); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequestBuilder.java deleted file mode 100644 index 18f1b54339a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequestBuilder.java +++ /dev/null @@ -1,151 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageRequest; -import com.microsoft.graph.requests.extensions.MessageRequest; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.AttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.AttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageMoveRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageMoveRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageCreateReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageCreateReplyAllRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageCreateForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageReplyAllRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageReplyAllRequestBuilder; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.requests.extensions.IMessageForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageSendRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageSendRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Request Builder. - */ -public class BaseMessageRequestBuilder extends BaseRequestBuilder implements IBaseMessageRequestBuilder { - - /** - * The request builder for the Message - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMessageRequest instance - */ - public IMessageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMessageRequest instance - */ - public IMessageRequest buildRequest(final java.util.List requestOptions) { - return new MessageRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IAttachmentCollectionRequestBuilder attachments() { - return new AttachmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("attachments"), getClient(), null); - } - - public IAttachmentRequestBuilder attachments(final String id) { - return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("attachments") + "/" + id, getClient(), null); - } - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } - - public IMessageCopyRequestBuilder copy(final String destinationId) { - return new MessageCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, destinationId); - } - - public IMessageMoveRequestBuilder move(final String destinationId) { - return new MessageMoveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.move"), getClient(), null, destinationId); - } - - public IMessageCreateReplyRequestBuilder createReply() { - return new MessageCreateReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createReply"), getClient(), null); - } - - public IMessageCreateReplyAllRequestBuilder createReplyAll() { - return new MessageCreateReplyAllRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createReplyAll"), getClient(), null); - } - - public IMessageCreateForwardRequestBuilder createForward() { - return new MessageCreateForwardRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createForward"), getClient(), null); - } - - public IMessageReplyRequestBuilder reply(final String comment) { - return new MessageReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reply"), getClient(), null, comment); - } - - public IMessageReplyAllRequestBuilder replyAll(final String comment) { - return new MessageReplyAllRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.replyAll"), getClient(), null, comment); - } - - public IMessageForwardRequestBuilder forward(final String comment, final java.util.List toRecipients) { - return new MessageForwardRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.forward"), getClient(), null, comment, toRecipients); - } - - public IMessageSendRequestBuilder send() { - return new MessageSendRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.send"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionPage.java deleted file mode 100644 index fc1038a67ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageRule; -import com.microsoft.graph.requests.extensions.IMessageRuleCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Collection Page. - */ -public class BaseMessageRuleCollectionPage extends BaseCollectionPage implements IBaseMessageRuleCollectionPage { - - /** - * A collection page for MessageRule - * - * @param response the serialized BaseMessageRuleCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMessageRuleCollectionPage(final BaseMessageRuleCollectionResponse response, final IMessageRuleCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequest.java deleted file mode 100644 index c806fba4186..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Collection Request. - */ -public class BaseMessageRuleCollectionRequest extends BaseCollectionRequest implements IBaseMessageRuleCollectionRequest { - - /** - * The request builder for this collection of MessageRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageRuleCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMessageRuleCollectionResponse.class, IMessageRuleCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMessageRuleCollectionPage get() throws ClientException { - final BaseMessageRuleCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MessageRule newMessageRule, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MessageRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMessageRule, callback); - } - - public MessageRule post(final MessageRule newMessageRule) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MessageRuleRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMessageRule); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageRuleCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MessageRuleCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageRuleCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MessageRuleCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMessageRuleCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MessageRuleCollectionRequest)this; - } - - public IMessageRuleCollectionPage buildFromResponse(final BaseMessageRuleCollectionResponse response) { - final IMessageRuleCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MessageRuleCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MessageRuleCollectionPage page = new MessageRuleCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequestBuilder.java deleted file mode 100644 index 2d41fb5b203..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Collection Request Builder. - */ -public class BaseMessageRuleCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMessageRuleCollectionRequestBuilder { - - /** - * The request builder for this collection of MailFolder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageRuleCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMessageRuleCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMessageRuleCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MessageRuleCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMessageRuleRequestBuilder byId(final String id) { - return new MessageRuleRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionResponse.java deleted file mode 100644 index 7d828ef8063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageRule; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Collection Response. - */ -public class BaseMessageRuleCollectionResponse implements IJsonBackedObject { - - /** - * The list of MessageRule within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequest.java deleted file mode 100644 index fa714ae21dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageRuleRequest; -import com.microsoft.graph.requests.extensions.MessageRuleRequest; -import com.microsoft.graph.models.extensions.MessageRule; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Request. - */ -public class BaseMessageRuleRequest extends BaseRequest implements IBaseMessageRuleRequest { - - /** - * The request for the MessageRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMessageRuleRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MessageRule from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MessageRule from the service - * - * @return the MessageRule from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MessageRule get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MessageRule with a source - * - * @param sourceMessageRule the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MessageRule sourceMessageRule, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMessageRule); - } - - /** - * Patches this MessageRule with a source - * - * @param sourceMessageRule the source object with updates - * @return the updated MessageRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MessageRule patch(final MessageRule sourceMessageRule) throws ClientException { - return send(HttpMethod.PATCH, sourceMessageRule); - } - - /** - * Creates a MessageRule with a new object - * - * @param newMessageRule the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MessageRule newMessageRule, final ICallback callback) { - send(HttpMethod.POST, callback, newMessageRule); - } - - /** - * Creates a MessageRule with a new object - * - * @param newMessageRule the new object to create - * @return the created MessageRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MessageRule post(final MessageRule newMessageRule) throws ClientException { - return send(HttpMethod.POST, newMessageRule); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMessageRuleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MessageRuleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMessageRuleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MessageRuleRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequestBuilder.java deleted file mode 100644 index e8de33204dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageRuleRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageRuleRequest; -import com.microsoft.graph.requests.extensions.MessageRuleRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Rule Request Builder. - */ -public class BaseMessageRuleRequestBuilder extends BaseRequestBuilder implements IBaseMessageRuleRequestBuilder { - - /** - * The request builder for the MessageRule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageRuleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMessageRuleRequest instance - */ - public IMessageRuleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMessageRuleRequest instance - */ - public IMessageRuleRequest buildRequest(final java.util.List requestOptions) { - return new MessageRuleRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequest.java deleted file mode 100644 index ce66ed3a1e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageSendRequest; -import com.microsoft.graph.requests.extensions.MessageSendRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Send Request. - */ -public class BaseMessageSendRequest extends BaseRequest implements IBaseMessageSendRequest { - - /** - * The request for this MessageSend - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageSendRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the MessageSend - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the MessageSend - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequestBuilder.java deleted file mode 100644 index fd8599e5764..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMessageSendRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageSendRequest; -import com.microsoft.graph.requests.extensions.MessageSendRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Message Send Request Builder. - */ -public class BaseMessageSendRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MessageSend - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMessageSendRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IMessageSendRequest - * - * @return the IMessageSendRequest instance - */ - public IMessageSendRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMessageSendRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMessageSendRequest instance - */ - public IMessageSendRequest buildRequest(final java.util.List requestOptions) { - MessageSendRequest request = new MessageSendRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequest.java deleted file mode 100644 index da55562fa36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMicrosoftStoreForBusinessAppRequest; -import com.microsoft.graph.requests.extensions.MicrosoftStoreForBusinessAppRequest; -import com.microsoft.graph.models.extensions.MicrosoftStoreForBusinessApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Microsoft Store For Business App Request. - */ -public class BaseMicrosoftStoreForBusinessAppRequest extends BaseRequest implements IBaseMicrosoftStoreForBusinessAppRequest { - - /** - * The request for the MicrosoftStoreForBusinessApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMicrosoftStoreForBusinessAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MicrosoftStoreForBusinessApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MicrosoftStoreForBusinessApp from the service - * - * @return the MicrosoftStoreForBusinessApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MicrosoftStoreForBusinessApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MicrosoftStoreForBusinessApp with a source - * - * @param sourceMicrosoftStoreForBusinessApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMicrosoftStoreForBusinessApp); - } - - /** - * Patches this MicrosoftStoreForBusinessApp with a source - * - * @param sourceMicrosoftStoreForBusinessApp the source object with updates - * @return the updated MicrosoftStoreForBusinessApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MicrosoftStoreForBusinessApp patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp) throws ClientException { - return send(HttpMethod.PATCH, sourceMicrosoftStoreForBusinessApp); - } - - /** - * Creates a MicrosoftStoreForBusinessApp with a new object - * - * @param newMicrosoftStoreForBusinessApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp, final ICallback callback) { - send(HttpMethod.POST, callback, newMicrosoftStoreForBusinessApp); - } - - /** - * Creates a MicrosoftStoreForBusinessApp with a new object - * - * @param newMicrosoftStoreForBusinessApp the new object to create - * @return the created MicrosoftStoreForBusinessApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MicrosoftStoreForBusinessApp post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException { - return send(HttpMethod.POST, newMicrosoftStoreForBusinessApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMicrosoftStoreForBusinessAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MicrosoftStoreForBusinessAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMicrosoftStoreForBusinessAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MicrosoftStoreForBusinessAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequestBuilder.java deleted file mode 100644 index 2953e2133bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMicrosoftStoreForBusinessAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMicrosoftStoreForBusinessAppRequest; -import com.microsoft.graph.requests.extensions.MicrosoftStoreForBusinessAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Microsoft Store For Business App Request Builder. - */ -public class BaseMicrosoftStoreForBusinessAppRequestBuilder extends BaseRequestBuilder implements IBaseMicrosoftStoreForBusinessAppRequestBuilder { - - /** - * The request builder for the MicrosoftStoreForBusinessApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMicrosoftStoreForBusinessAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMicrosoftStoreForBusinessAppRequest instance - */ - public IMicrosoftStoreForBusinessAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMicrosoftStoreForBusinessAppRequest instance - */ - public IMicrosoftStoreForBusinessAppRequest buildRequest(final java.util.List requestOptions) { - return new MicrosoftStoreForBusinessAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequest.java deleted file mode 100644 index c87abfa3a3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppAssignBody; -import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; -import com.microsoft.graph.requests.extensions.MobileAppAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assign Request. - */ -public class BaseMobileAppAssignRequest extends BaseRequest implements IBaseMobileAppAssignRequest { - protected final MobileAppAssignBody body; - - /** - * The request for this MobileAppAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new MobileAppAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MobileAppAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequestBuilder.java deleted file mode 100644 index 8530a375e1c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; -import com.microsoft.graph.requests.extensions.MobileAppAssignRequest; -import com.microsoft.graph.models.extensions.MobileAppAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assign Request Builder. - */ -public class BaseMobileAppAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MobileAppAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param mobileAppAssignments the mobileAppAssignments - */ - public BaseMobileAppAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List mobileAppAssignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("mobileAppAssignments", mobileAppAssignments); - } - - /** - * Creates the IMobileAppAssignRequest - * - * @return the IMobileAppAssignRequest instance - */ - public IMobileAppAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMobileAppAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMobileAppAssignRequest instance - */ - public IMobileAppAssignRequest buildRequest(final java.util.List requestOptions) { - MobileAppAssignRequest request = new MobileAppAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("mobileAppAssignments")) { - request.body.mobileAppAssignments = getParameter("mobileAppAssignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionPage.java deleted file mode 100644 index 88ed3b9e380..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppAssignment; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Collection Page. - */ -public class BaseMobileAppAssignmentCollectionPage extends BaseCollectionPage implements IBaseMobileAppAssignmentCollectionPage { - - /** - * A collection page for MobileAppAssignment - * - * @param response the serialized BaseMobileAppAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileAppAssignmentCollectionPage(final BaseMobileAppAssignmentCollectionResponse response, final IMobileAppAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequest.java deleted file mode 100644 index affc174ee22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Collection Request. - */ -public class BaseMobileAppAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseMobileAppAssignmentCollectionRequest { - - /** - * The request builder for this collection of MobileAppAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppAssignmentCollectionResponse.class, IMobileAppAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileAppAssignmentCollectionPage get() throws ClientException { - final BaseMobileAppAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MobileAppAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppAssignment, callback); - } - - public MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MobileAppAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppAssignmentCollectionRequest)this; - } - - public IMobileAppAssignmentCollectionPage buildFromResponse(final BaseMobileAppAssignmentCollectionResponse response) { - final IMobileAppAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileAppAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileAppAssignmentCollectionPage page = new MobileAppAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequestBuilder.java deleted file mode 100644 index eb52b140a04..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Collection Request Builder. - */ -public class BaseMobileAppAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of MobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppAssignmentRequestBuilder byId(final String id) { - return new MobileAppAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionResponse.java deleted file mode 100644 index b1be188718d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Collection Response. - */ -public class BaseMobileAppAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of MobileAppAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequest.java deleted file mode 100644 index d56bc567683..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequest; -import com.microsoft.graph.requests.extensions.MobileAppAssignmentRequest; -import com.microsoft.graph.models.extensions.MobileAppAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Request. - */ -public class BaseMobileAppAssignmentRequest extends BaseRequest implements IBaseMobileAppAssignmentRequest { - - /** - * The request for the MobileAppAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileAppAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileAppAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileAppAssignment from the service - * - * @return the MobileAppAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileAppAssignment with a source - * - * @param sourceMobileAppAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileAppAssignment sourceMobileAppAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileAppAssignment); - } - - /** - * Patches this MobileAppAssignment with a source - * - * @param sourceMobileAppAssignment the source object with updates - * @return the updated MobileAppAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppAssignment patch(final MobileAppAssignment sourceMobileAppAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileAppAssignment); - } - - /** - * Creates a MobileAppAssignment with a new object - * - * @param newMobileAppAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileAppAssignment); - } - - /** - * Creates a MobileAppAssignment with a new object - * - * @param newMobileAppAssignment the new object to create - * @return the created MobileAppAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException { - return send(HttpMethod.POST, newMobileAppAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequestBuilder.java deleted file mode 100644 index bcebbaa3460..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequest; -import com.microsoft.graph.requests.extensions.MobileAppAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Assignment Request Builder. - */ -public class BaseMobileAppAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppAssignmentRequestBuilder { - - /** - * The request builder for the MobileAppAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileAppAssignmentRequest instance - */ - public IMobileAppAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileAppAssignmentRequest instance - */ - public IMobileAppAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionPage.java deleted file mode 100644 index 9f31fe22b51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppCategory; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection Page. - */ -public class BaseMobileAppCategoryCollectionPage extends BaseCollectionPage implements IBaseMobileAppCategoryCollectionPage { - - /** - * A collection page for MobileAppCategory - * - * @param response the serialized BaseMobileAppCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileAppCategoryCollectionPage(final BaseMobileAppCategoryCollectionResponse response, final IMobileAppCategoryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequest.java deleted file mode 100644 index 151bdbd96da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection Reference Request. - */ -public class BaseMobileAppCategoryCollectionReferenceRequest extends BaseCollectionRequest implements IBaseMobileAppCategoryCollectionReferenceRequest { - - /** - * The request builder for this collection of MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryCollectionReferenceRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppCategoryCollectionResponse.class, IMobileAppCategoryCollectionPage.class); - } - - public void post(final MobileAppCategory newMobileAppCategory, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/categories/" + newMobileAppCategory.id); - new MobileAppCategoryWithReferenceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppCategory, body, callback); - } - - public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/deviceAppManagement/categories/" + newMobileAppCategory.id); - return new MobileAppCategoryWithReferenceRequestBuilder(requestUrl,getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppCategory, body); - } - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppCategoryCollectionReferenceRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppCategoryCollectionReferenceRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppCategoryCollectionReferenceRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppCategoryCollectionReferenceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppCategoryCollectionReferenceRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppCategoryCollectionReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequestBuilder.java deleted file mode 100644 index 073ff4b776d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection Reference Request Builder. - */ -public class BaseMobileAppCategoryCollectionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCategoryCollectionReferenceRequestBuilder { - - /** - * The request builder for this collection of MobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryCollectionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppCategoryCollectionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppCategoryCollectionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCategoryCollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequest.java deleted file mode 100644 index b6ba3793902..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection Request. - */ -public class BaseMobileAppCategoryCollectionRequest extends BaseCollectionRequest implements IBaseMobileAppCategoryCollectionRequest { - - /** - * The request builder for this collection of MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppCategoryCollectionResponse.class, IMobileAppCategoryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileAppCategoryCollectionPage get() throws ClientException { - final BaseMobileAppCategoryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MobileAppCategory newMobileAppCategory, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MobileAppCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppCategory, callback); - } - - public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MobileAppCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppCategory); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppCategoryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppCategoryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppCategoryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppCategoryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppCategoryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppCategoryCollectionRequest)this; - } - - public IMobileAppCategoryCollectionPage buildFromResponse(final BaseMobileAppCategoryCollectionResponse response) { - final IMobileAppCategoryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileAppCategoryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileAppCategoryCollectionPage page = new MobileAppCategoryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequestBuilder.java deleted file mode 100644 index 2c5e7f966e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection Request Builder. - */ -public class BaseMobileAppCategoryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCategoryCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppCategoryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppCategoryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCategoryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppCategoryRequestBuilder byId(final String id) { - return new MobileAppCategoryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionResponse.java deleted file mode 100644 index 996dd1b6f23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppCategory; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection Response. - */ -public class BaseMobileAppCategoryCollectionResponse implements IJsonBackedObject { - - /** - * The list of MobileAppCategory within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesPage.java deleted file mode 100644 index 2d3f78f5a90..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesPage.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection With References Page. - */ -public class BaseMobileAppCategoryCollectionWithReferencesPage extends BaseCollectionPage implements IBaseMobileAppCategoryCollectionWithReferencesPage { - - /** - * A collection page for MobileAppCategory - * - * @param response the serialized BaseMobileAppCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileAppCategoryCollectionWithReferencesPage(final BaseMobileAppCategoryCollectionResponse response, final IMobileAppCategoryCollectionWithReferencesRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequest.java deleted file mode 100644 index 18bfcfb4b89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection With References Request. - */ -public class BaseMobileAppCategoryCollectionWithReferencesRequest extends BaseCollectionRequest implements IBaseMobileAppCategoryCollectionWithReferencesRequest { - - /** - * The request builder for this collection of MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryCollectionWithReferencesRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppCategoryCollectionResponse.class, IMobileAppCategoryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileAppCategoryCollectionWithReferencesPage get() throws ClientException { - final BaseMobileAppCategoryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public IMobileAppCategoryCollectionWithReferencesRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppCategoryCollectionWithReferencesRequest)this; - } - - public IMobileAppCategoryCollectionWithReferencesRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppCategoryCollectionWithReferencesRequest)this; - } - - public IMobileAppCategoryCollectionWithReferencesRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppCategoryCollectionWithReferencesRequest)this; - } - - public IMobileAppCategoryCollectionWithReferencesPage buildFromResponse(final BaseMobileAppCategoryCollectionResponse response) { - final IMobileAppCategoryCollectionWithReferencesRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileAppCategoryCollectionWithReferencesRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileAppCategoryCollectionWithReferencesPage page = new MobileAppCategoryCollectionWithReferencesPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 2f7fa61798e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Collection With References Request Builder. - */ -public class BaseMobileAppCategoryCollectionWithReferencesRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder { - - /** - * The request builder for this collection of MobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryCollectionWithReferencesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppCategoryCollectionWithReferencesRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppCategoryCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCategoryCollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppCategoryWithReferenceRequestBuilder byId(final String id) { - return new MobileAppCategoryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IMobileAppCategoryCollectionReferenceRequestBuilder references(){ - return new MobileAppCategoryCollectionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequest.java deleted file mode 100644 index e99616c32be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Reference Request. - */ -public class BaseMobileAppCategoryReferenceRequest extends BaseRequest implements IBaseMobileAppCategoryReferenceRequest { - - /** - * The request for the MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, MobileAppCategory.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public MobileAppCategory delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppCategoryReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppCategoryReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppCategoryReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppCategoryReferenceRequest)this; - } - /** - * Puts the MobileAppCategory - * - * @param srcMobileAppCategory the MobileAppCategory reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(MobileAppCategory srcMobileAppCategory, final ICallback callback) { - send(HttpMethod.PUT, callback, srcMobileAppCategory); - } - - /** - * Puts the MobileAppCategory - * - * @param srcMobileAppCategory the MobileAppCategory reference to PUT - * @return the MobileAppCategory - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public MobileAppCategory put(MobileAppCategory srcMobileAppCategory) throws ClientException { - return send(HttpMethod.PUT, srcMobileAppCategory); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequestBuilder.java deleted file mode 100644 index 45c112af002..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Reference Request Builder. - */ -public class BaseMobileAppCategoryReferenceRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCategoryReferenceRequestBuilder { - - /** - * The request builder for the MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IMobileAppCategoryReferenceRequest instance - */ - public IMobileAppCategoryReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileAppCategoryReferenceRequest instance - */ - public IMobileAppCategoryReferenceRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCategoryReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequest.java deleted file mode 100644 index f630b4459aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequest; -import com.microsoft.graph.requests.extensions.MobileAppCategoryRequest; -import com.microsoft.graph.models.extensions.MobileAppCategory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Request. - */ -public class BaseMobileAppCategoryRequest extends BaseRequest implements IBaseMobileAppCategoryRequest { - - /** - * The request for the MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileAppCategoryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileAppCategory from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileAppCategory from the service - * - * @return the MobileAppCategory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppCategory get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileAppCategory with a source - * - * @param sourceMobileAppCategory the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileAppCategory); - } - - /** - * Patches this MobileAppCategory with a source - * - * @param sourceMobileAppCategory the source object with updates - * @return the updated MobileAppCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileAppCategory); - } - - /** - * Creates a MobileAppCategory with a new object - * - * @param newMobileAppCategory the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileAppCategory newMobileAppCategory, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileAppCategory); - } - - /** - * Creates a MobileAppCategory with a new object - * - * @param newMobileAppCategory the new object to create - * @return the created MobileAppCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException { - return send(HttpMethod.POST, newMobileAppCategory); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppCategoryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppCategoryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppCategoryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppCategoryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequestBuilder.java deleted file mode 100644 index a59c6785e95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequest; -import com.microsoft.graph.requests.extensions.MobileAppCategoryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category Request Builder. - */ -public class BaseMobileAppCategoryRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCategoryRequestBuilder { - - /** - * The request builder for the MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileAppCategoryRequest instance - */ - public IMobileAppCategoryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileAppCategoryRequest instance - */ - public IMobileAppCategoryRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCategoryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequest.java deleted file mode 100644 index ef0560d75f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category With Reference Request. - */ -public class BaseMobileAppCategoryWithReferenceRequest extends BaseRequest implements IBaseMobileAppCategoryWithReferenceRequest { - - /** - * The request for the MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, MobileAppCategory.class); - } - - public void post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public MobileAppCategory post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newMobileAppCategory; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public MobileAppCategory get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileAppCategory); - } - - public MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileAppCategory); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppCategoryWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IMobileAppCategoryWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppCategoryWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppCategoryWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequestBuilder.java deleted file mode 100644 index e5608221f59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCategoryWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Category With Reference Request Builder. - */ -public class BaseMobileAppCategoryWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCategoryWithReferenceRequestBuilder { - - /** - * The request builder for the MobileAppCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCategoryWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileAppCategoryWithReferenceRequest instance - */ - public IMobileAppCategoryWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppCategoryWithReferenceRequest instance - */ - public IMobileAppCategoryWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCategoryWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppCategoryReferenceRequestBuilder reference(){ - return new MobileAppCategoryReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionPage.java deleted file mode 100644 index 97b134ba506..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.requests.extensions.IMobileAppCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Collection Page. - */ -public class BaseMobileAppCollectionPage extends BaseCollectionPage implements IBaseMobileAppCollectionPage { - - /** - * A collection page for MobileApp - * - * @param response the serialized BaseMobileAppCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileAppCollectionPage(final BaseMobileAppCollectionResponse response, final IMobileAppCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequest.java deleted file mode 100644 index 74a3b52a224..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Collection Request. - */ -public class BaseMobileAppCollectionRequest extends BaseCollectionRequest implements IBaseMobileAppCollectionRequest { - - /** - * The request builder for this collection of MobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppCollectionResponse.class, IMobileAppCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileAppCollectionPage get() throws ClientException { - final BaseMobileAppCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MobileApp newMobileApp, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileApp, callback); - } - - public MobileApp post(final MobileApp newMobileApp) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MobileAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileApp); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppCollectionRequest)this; - } - - public IMobileAppCollectionPage buildFromResponse(final BaseMobileAppCollectionResponse response) { - final IMobileAppCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileAppCollectionPage page = new MobileAppCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequestBuilder.java deleted file mode 100644 index 9c2cea2e07a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Collection Request Builder. - */ -public class BaseMobileAppCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppRequestBuilder byId(final String id) { - return new MobileAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionResponse.java deleted file mode 100644 index 856a69c0687..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileApp; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Collection Response. - */ -public class BaseMobileAppCollectionResponse implements IJsonBackedObject { - - /** - * The list of MobileApp within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionPage.java deleted file mode 100644 index 06c83e9820a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContent; -import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content Collection Page. - */ -public class BaseMobileAppContentCollectionPage extends BaseCollectionPage implements IBaseMobileAppContentCollectionPage { - - /** - * A collection page for MobileAppContent - * - * @param response the serialized BaseMobileAppContentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileAppContentCollectionPage(final BaseMobileAppContentCollectionResponse response, final IMobileAppContentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequest.java deleted file mode 100644 index 3524b74da83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content Collection Request. - */ -public class BaseMobileAppContentCollectionRequest extends BaseCollectionRequest implements IBaseMobileAppContentCollectionRequest { - - /** - * The request builder for this collection of MobileAppContent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppContentCollectionResponse.class, IMobileAppContentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileAppContentCollectionPage get() throws ClientException { - final BaseMobileAppContentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MobileAppContent newMobileAppContent, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MobileAppContentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppContent, callback); - } - - public MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MobileAppContentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppContent); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppContentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppContentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppContentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppContentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppContentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppContentCollectionRequest)this; - } - - public IMobileAppContentCollectionPage buildFromResponse(final BaseMobileAppContentCollectionResponse response) { - final IMobileAppContentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileAppContentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileAppContentCollectionPage page = new MobileAppContentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequestBuilder.java deleted file mode 100644 index 57db01eebbb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content Collection Request Builder. - */ -public class BaseMobileAppContentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppContentCollectionRequestBuilder { - - /** - * The request builder for this collection of MobileLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppContentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppContentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppContentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppContentRequestBuilder byId(final String id) { - return new MobileAppContentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionResponse.java deleted file mode 100644 index 9fe0bdbc668..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContent; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content Collection Response. - */ -public class BaseMobileAppContentCollectionResponse implements IJsonBackedObject { - - /** - * The list of MobileAppContent within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionPage.java deleted file mode 100644 index 00a929cede2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContentFile; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Collection Page. - */ -public class BaseMobileAppContentFileCollectionPage extends BaseCollectionPage implements IBaseMobileAppContentFileCollectionPage { - - /** - * A collection page for MobileAppContentFile - * - * @param response the serialized BaseMobileAppContentFileCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileAppContentFileCollectionPage(final BaseMobileAppContentFileCollectionResponse response, final IMobileAppContentFileCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequest.java deleted file mode 100644 index 74a7c1dd8a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Collection Request. - */ -public class BaseMobileAppContentFileCollectionRequest extends BaseCollectionRequest implements IBaseMobileAppContentFileCollectionRequest { - - /** - * The request builder for this collection of MobileAppContentFile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentFileCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileAppContentFileCollectionResponse.class, IMobileAppContentFileCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileAppContentFileCollectionPage get() throws ClientException { - final BaseMobileAppContentFileCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MobileAppContentFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppContentFile, callback); - } - - public MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MobileAppContentFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileAppContentFile); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppContentFileCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileAppContentFileCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppContentFileCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileAppContentFileCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppContentFileCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileAppContentFileCollectionRequest)this; - } - - public IMobileAppContentFileCollectionPage buildFromResponse(final BaseMobileAppContentFileCollectionResponse response) { - final IMobileAppContentFileCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileAppContentFileCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileAppContentFileCollectionPage page = new MobileAppContentFileCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequestBuilder.java deleted file mode 100644 index e3d6f1fcc9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Collection Request Builder. - */ -public class BaseMobileAppContentFileCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppContentFileCollectionRequestBuilder { - - /** - * The request builder for this collection of MobileAppContent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentFileCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileAppContentFileCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileAppContentFileCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppContentFileCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppContentFileRequestBuilder byId(final String id) { - return new MobileAppContentFileRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionResponse.java deleted file mode 100644 index 2c82ed6e6f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContentFile; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Collection Response. - */ -public class BaseMobileAppContentFileCollectionResponse implements IJsonBackedObject { - - /** - * The list of MobileAppContentFile within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequest.java deleted file mode 100644 index 651cd3bd0c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContentFileCommitBody; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCommitRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Commit Request. - */ -public class BaseMobileAppContentFileCommitRequest extends BaseRequest implements IBaseMobileAppContentFileCommitRequest { - protected final MobileAppContentFileCommitBody body; - - /** - * The request for this MobileAppContentFileCommit - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentFileCommitRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new MobileAppContentFileCommitBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppContentFileCommitRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppContentFileCommitRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileAppContentFileCommitRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (MobileAppContentFileCommitRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppContentFileCommitRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppContentFileCommitRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequestBuilder.java deleted file mode 100644 index 1fdba159f3c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileCommitRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCommitRequest; -import com.microsoft.graph.models.extensions.FileEncryptionInfo; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Commit Request Builder. - */ -public class BaseMobileAppContentFileCommitRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MobileAppContentFileCommit - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param fileEncryptionInfo the fileEncryptionInfo - */ - public BaseMobileAppContentFileCommitRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final FileEncryptionInfo fileEncryptionInfo) { - super(requestUrl, client, requestOptions); - bodyParams.put("fileEncryptionInfo", fileEncryptionInfo); - } - - /** - * Creates the IMobileAppContentFileCommitRequest - * - * @return the IMobileAppContentFileCommitRequest instance - */ - public IMobileAppContentFileCommitRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMobileAppContentFileCommitRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMobileAppContentFileCommitRequest instance - */ - public IMobileAppContentFileCommitRequest buildRequest(final java.util.List requestOptions) { - MobileAppContentFileCommitRequest request = new MobileAppContentFileCommitRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("fileEncryptionInfo")) { - request.body.fileEncryptionInfo = getParameter("fileEncryptionInfo"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequest.java deleted file mode 100644 index 1d7e56a64d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentFileRenewUploadRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Renew Upload Request. - */ -public class BaseMobileAppContentFileRenewUploadRequest extends BaseRequest implements IBaseMobileAppContentFileRenewUploadRequest { - - /** - * The request for this MobileAppContentFileRenewUpload - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentFileRenewUploadRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the MobileAppContentFileRenewUpload - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the MobileAppContentFileRenewUpload - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequestBuilder.java deleted file mode 100644 index 30efc6a1d06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRenewUploadRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentFileRenewUploadRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Renew Upload Request Builder. - */ -public class BaseMobileAppContentFileRenewUploadRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this MobileAppContentFileRenewUpload - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentFileRenewUploadRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IMobileAppContentFileRenewUploadRequest - * - * @return the IMobileAppContentFileRenewUploadRequest instance - */ - public IMobileAppContentFileRenewUploadRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IMobileAppContentFileRenewUploadRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IMobileAppContentFileRenewUploadRequest instance - */ - public IMobileAppContentFileRenewUploadRequest buildRequest(final java.util.List requestOptions) { - MobileAppContentFileRenewUploadRequest request = new MobileAppContentFileRenewUploadRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequest.java deleted file mode 100644 index cb5e2de5ccb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentFileRequest; -import com.microsoft.graph.models.extensions.MobileAppContentFile; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Request. - */ -public class BaseMobileAppContentFileRequest extends BaseRequest implements IBaseMobileAppContentFileRequest { - - /** - * The request for the MobileAppContentFile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileAppContentFileRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileAppContentFile from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileAppContentFile from the service - * - * @return the MobileAppContentFile from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppContentFile get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileAppContentFile with a source - * - * @param sourceMobileAppContentFile the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileAppContentFile sourceMobileAppContentFile, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileAppContentFile); - } - - /** - * Patches this MobileAppContentFile with a source - * - * @param sourceMobileAppContentFile the source object with updates - * @return the updated MobileAppContentFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppContentFile patch(final MobileAppContentFile sourceMobileAppContentFile) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileAppContentFile); - } - - /** - * Creates a MobileAppContentFile with a new object - * - * @param newMobileAppContentFile the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileAppContentFile); - } - - /** - * Creates a MobileAppContentFile with a new object - * - * @param newMobileAppContentFile the new object to create - * @return the created MobileAppContentFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException { - return send(HttpMethod.POST, newMobileAppContentFile); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppContentFileRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppContentFileRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppContentFileRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppContentFileRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequestBuilder.java deleted file mode 100644 index e7a9dc6ad57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentFileRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentFileRequest; -import com.microsoft.graph.models.extensions.FileEncryptionInfo; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCommitRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentFileRenewUploadRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content File Request Builder. - */ -public class BaseMobileAppContentFileRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppContentFileRequestBuilder { - - /** - * The request builder for the MobileAppContentFile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentFileRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileAppContentFileRequest instance - */ - public IMobileAppContentFileRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileAppContentFileRequest instance - */ - public IMobileAppContentFileRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppContentFileRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IMobileAppContentFileCommitRequestBuilder commit(final FileEncryptionInfo fileEncryptionInfo) { - return new MobileAppContentFileCommitRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.commit"), getClient(), null, fileEncryptionInfo); - } - - public IMobileAppContentFileRenewUploadRequestBuilder renewUpload() { - return new MobileAppContentFileRenewUploadRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.renewUpload"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequest.java deleted file mode 100644 index 5ad493c4327..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentRequest; -import com.microsoft.graph.models.extensions.MobileAppContent; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content Request. - */ -public class BaseMobileAppContentRequest extends BaseRequest implements IBaseMobileAppContentRequest { - - /** - * The request for the MobileAppContent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileAppContentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileAppContent from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileAppContent from the service - * - * @return the MobileAppContent from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppContent get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileAppContent with a source - * - * @param sourceMobileAppContent the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileAppContent sourceMobileAppContent, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileAppContent); - } - - /** - * Patches this MobileAppContent with a source - * - * @param sourceMobileAppContent the source object with updates - * @return the updated MobileAppContent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppContent patch(final MobileAppContent sourceMobileAppContent) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileAppContent); - } - - /** - * Creates a MobileAppContent with a new object - * - * @param newMobileAppContent the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileAppContent newMobileAppContent, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileAppContent); - } - - /** - * Creates a MobileAppContent with a new object - * - * @param newMobileAppContent the new object to create - * @return the created MobileAppContent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException { - return send(HttpMethod.POST, newMobileAppContent); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppContentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppContentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppContentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppContentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequestBuilder.java deleted file mode 100644 index d404d4759a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppContentRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequest; -import com.microsoft.graph.requests.extensions.MobileAppContentRequest; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentFileRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Content Request Builder. - */ -public class BaseMobileAppContentRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppContentRequestBuilder { - - /** - * The request builder for the MobileAppContent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppContentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileAppContentRequest instance - */ - public IMobileAppContentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileAppContentRequest instance - */ - public IMobileAppContentRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppContentRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppContentFileCollectionRequestBuilder files() { - return new MobileAppContentFileCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("files"), getClient(), null); - } - - public IMobileAppContentFileRequestBuilder files(final String id) { - return new MobileAppContentFileRequestBuilder(getRequestUrlWithAdditionalSegment("files") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequest.java deleted file mode 100644 index fa0524f8b02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppRequest; -import com.microsoft.graph.requests.extensions.MobileAppRequest; -import com.microsoft.graph.models.extensions.MobileApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Request. - */ -public class BaseMobileAppRequest extends BaseRequest implements IBaseMobileAppRequest { - - /** - * The request for the MobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileApp from the service - * - * @return the MobileApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileApp with a source - * - * @param sourceMobileApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileApp sourceMobileApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileApp); - } - - /** - * Patches this MobileApp with a source - * - * @param sourceMobileApp the source object with updates - * @return the updated MobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileApp patch(final MobileApp sourceMobileApp) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileApp); - } - - /** - * Creates a MobileApp with a new object - * - * @param newMobileApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileApp newMobileApp, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileApp); - } - - /** - * Creates a MobileApp with a new object - * - * @param newMobileApp the new object to create - * @return the created MobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileApp post(final MobileApp newMobileApp) throws ClientException { - return send(HttpMethod.POST, newMobileApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequestBuilder.java deleted file mode 100644 index 2014fce4ceb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileAppRequestBuilder.java +++ /dev/null @@ -1,81 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppRequest; -import com.microsoft.graph.requests.extensions.MobileAppRequest; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppCategoryWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.MobileAppAssignment; -import com.microsoft.graph.requests.extensions.IMobileAppAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppAssignRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile App Request Builder. - */ -public class BaseMobileAppRequestBuilder extends BaseRequestBuilder implements IBaseMobileAppRequestBuilder { - - /** - * The request builder for the MobileApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileAppRequest instance - */ - public IMobileAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileAppRequest instance - */ - public IMobileAppRequest buildRequest(final java.util.List requestOptions) { - return new MobileAppRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppCategoryCollectionWithReferencesRequestBuilder categories() { - return new MobileAppCategoryCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("categories"), getClient(), null); - } - - public IMobileAppCategoryWithReferenceRequestBuilder categories(final String id) { - return new MobileAppCategoryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("categories") + "/" + id, getClient(), null); - } - public IMobileAppAssignmentCollectionRequestBuilder assignments() { - return new MobileAppAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public IMobileAppAssignmentRequestBuilder assignments(final String id) { - return new MobileAppAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - public IMobileAppAssignRequestBuilder assign(final java.util.List mobileAppAssignments) { - return new MobileAppAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, mobileAppAssignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequest.java deleted file mode 100644 index 43234f99f26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.MobileLobAppRequest; -import com.microsoft.graph.models.extensions.MobileLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Lob App Request. - */ -public class BaseMobileLobAppRequest extends BaseRequest implements IBaseMobileLobAppRequest { - - /** - * The request for the MobileLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileLobAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileLobApp from the service - * - * @return the MobileLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileLobApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileLobApp with a source - * - * @param sourceMobileLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileLobApp sourceMobileLobApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileLobApp); - } - - /** - * Patches this MobileLobApp with a source - * - * @param sourceMobileLobApp the source object with updates - * @return the updated MobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileLobApp patch(final MobileLobApp sourceMobileLobApp) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileLobApp); - } - - /** - * Creates a MobileLobApp with a new object - * - * @param newMobileLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileLobApp newMobileLobApp, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileLobApp); - } - - /** - * Creates a MobileLobApp with a new object - * - * @param newMobileLobApp the new object to create - * @return the created MobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileLobApp post(final MobileLobApp newMobileLobApp) throws ClientException { - return send(HttpMethod.POST, newMobileLobApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileLobAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileLobAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileLobAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileLobAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequestBuilder.java deleted file mode 100644 index f6acee0155b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileLobAppRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.MobileLobAppRequest; -import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; -import com.microsoft.graph.requests.extensions.MobileAppContentRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Lob App Request Builder. - */ -public class BaseMobileLobAppRequestBuilder extends BaseRequestBuilder implements IBaseMobileLobAppRequestBuilder { - - /** - * The request builder for the MobileLobApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileLobAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileLobAppRequest instance - */ - public IMobileLobAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileLobAppRequest instance - */ - public IMobileLobAppRequest buildRequest(final java.util.List requestOptions) { - return new MobileLobAppRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileAppContentCollectionRequestBuilder contentVersions() { - return new MobileAppContentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions"), getClient(), null); - } - - public IMobileAppContentRequestBuilder contentVersions(final String id) { - return new MobileAppContentRequestBuilder(getRequestUrlWithAdditionalSegment("contentVersions") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionPage.java deleted file mode 100644 index 35b43f5eed6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector Collection Page. - */ -public class BaseMobileThreatDefenseConnectorCollectionPage extends BaseCollectionPage implements IBaseMobileThreatDefenseConnectorCollectionPage { - - /** - * A collection page for MobileThreatDefenseConnector - * - * @param response the serialized BaseMobileThreatDefenseConnectorCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMobileThreatDefenseConnectorCollectionPage(final BaseMobileThreatDefenseConnectorCollectionResponse response, final IMobileThreatDefenseConnectorCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequest.java deleted file mode 100644 index 7099fafd8a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector Collection Request. - */ -public class BaseMobileThreatDefenseConnectorCollectionRequest extends BaseCollectionRequest implements IBaseMobileThreatDefenseConnectorCollectionRequest { - - /** - * The request builder for this collection of MobileThreatDefenseConnector - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileThreatDefenseConnectorCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMobileThreatDefenseConnectorCollectionResponse.class, IMobileThreatDefenseConnectorCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMobileThreatDefenseConnectorCollectionPage get() throws ClientException { - final BaseMobileThreatDefenseConnectorCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MobileThreatDefenseConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileThreatDefenseConnector, callback); - } - - public MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MobileThreatDefenseConnectorRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMobileThreatDefenseConnector); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileThreatDefenseConnectorCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MobileThreatDefenseConnectorCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileThreatDefenseConnectorCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MobileThreatDefenseConnectorCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMobileThreatDefenseConnectorCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MobileThreatDefenseConnectorCollectionRequest)this; - } - - public IMobileThreatDefenseConnectorCollectionPage buildFromResponse(final BaseMobileThreatDefenseConnectorCollectionResponse response) { - final IMobileThreatDefenseConnectorCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MobileThreatDefenseConnectorCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MobileThreatDefenseConnectorCollectionPage page = new MobileThreatDefenseConnectorCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequestBuilder.java deleted file mode 100644 index 3bd0e5bb53d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector Collection Request Builder. - */ -public class BaseMobileThreatDefenseConnectorCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMobileThreatDefenseConnectorCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileThreatDefenseConnectorCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMobileThreatDefenseConnectorCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMobileThreatDefenseConnectorCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MobileThreatDefenseConnectorCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMobileThreatDefenseConnectorRequestBuilder byId(final String id) { - return new MobileThreatDefenseConnectorRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionResponse.java deleted file mode 100644 index f29cd7a4d85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector Collection Response. - */ -public class BaseMobileThreatDefenseConnectorCollectionResponse implements IJsonBackedObject { - - /** - * The list of MobileThreatDefenseConnector within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequest.java deleted file mode 100644 index c0643c3aed5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequest; -import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorRequest; -import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector Request. - */ -public class BaseMobileThreatDefenseConnectorRequest extends BaseRequest implements IBaseMobileThreatDefenseConnectorRequest { - - /** - * The request for the MobileThreatDefenseConnector - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMobileThreatDefenseConnectorRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MobileThreatDefenseConnector from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MobileThreatDefenseConnector from the service - * - * @return the MobileThreatDefenseConnector from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileThreatDefenseConnector get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MobileThreatDefenseConnector with a source - * - * @param sourceMobileThreatDefenseConnector the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMobileThreatDefenseConnector); - } - - /** - * Patches this MobileThreatDefenseConnector with a source - * - * @param sourceMobileThreatDefenseConnector the source object with updates - * @return the updated MobileThreatDefenseConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileThreatDefenseConnector patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector) throws ClientException { - return send(HttpMethod.PATCH, sourceMobileThreatDefenseConnector); - } - - /** - * Creates a MobileThreatDefenseConnector with a new object - * - * @param newMobileThreatDefenseConnector the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback) { - send(HttpMethod.POST, callback, newMobileThreatDefenseConnector); - } - - /** - * Creates a MobileThreatDefenseConnector with a new object - * - * @param newMobileThreatDefenseConnector the new object to create - * @return the created MobileThreatDefenseConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException { - return send(HttpMethod.POST, newMobileThreatDefenseConnector); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMobileThreatDefenseConnectorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MobileThreatDefenseConnectorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMobileThreatDefenseConnectorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MobileThreatDefenseConnectorRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequestBuilder.java deleted file mode 100644 index cce94980d99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMobileThreatDefenseConnectorRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequest; -import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Mobile Threat Defense Connector Request Builder. - */ -public class BaseMobileThreatDefenseConnectorRequestBuilder extends BaseRequestBuilder implements IBaseMobileThreatDefenseConnectorRequestBuilder { - - /** - * The request builder for the MobileThreatDefenseConnector - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMobileThreatDefenseConnectorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMobileThreatDefenseConnectorRequest instance - */ - public IMobileThreatDefenseConnectorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMobileThreatDefenseConnectorRequest instance - */ - public IMobileThreatDefenseConnectorRequest buildRequest(final java.util.List requestOptions) { - return new MobileThreatDefenseConnectorRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionPage.java deleted file mode 100644 index f1543e53c56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property Collection Page. - */ -public class BaseMultiValueLegacyExtendedPropertyCollectionPage extends BaseCollectionPage implements IBaseMultiValueLegacyExtendedPropertyCollectionPage { - - /** - * A collection page for MultiValueLegacyExtendedProperty - * - * @param response the serialized BaseMultiValueLegacyExtendedPropertyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseMultiValueLegacyExtendedPropertyCollectionPage(final BaseMultiValueLegacyExtendedPropertyCollectionResponse response, final IMultiValueLegacyExtendedPropertyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequest.java deleted file mode 100644 index 539a47122a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property Collection Request. - */ -public class BaseMultiValueLegacyExtendedPropertyCollectionRequest extends BaseCollectionRequest implements IBaseMultiValueLegacyExtendedPropertyCollectionRequest { - - /** - * The request builder for this collection of MultiValueLegacyExtendedProperty - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMultiValueLegacyExtendedPropertyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseMultiValueLegacyExtendedPropertyCollectionResponse.class, IMultiValueLegacyExtendedPropertyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IMultiValueLegacyExtendedPropertyCollectionPage get() throws ClientException { - final BaseMultiValueLegacyExtendedPropertyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new MultiValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMultiValueLegacyExtendedProperty, callback); - } - - public MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new MultiValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newMultiValueLegacyExtendedProperty); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMultiValueLegacyExtendedPropertyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (MultiValueLegacyExtendedPropertyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMultiValueLegacyExtendedPropertyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (MultiValueLegacyExtendedPropertyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IMultiValueLegacyExtendedPropertyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (MultiValueLegacyExtendedPropertyCollectionRequest)this; - } - - public IMultiValueLegacyExtendedPropertyCollectionPage buildFromResponse(final BaseMultiValueLegacyExtendedPropertyCollectionResponse response) { - final IMultiValueLegacyExtendedPropertyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final MultiValueLegacyExtendedPropertyCollectionPage page = new MultiValueLegacyExtendedPropertyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java deleted file mode 100644 index 8fb6ce51815..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property Collection Request Builder. - */ -public class BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder { - - /** - * The request builder for this collection of Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new MultiValueLegacyExtendedPropertyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder byId(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionResponse.java deleted file mode 100644 index 02410d1b242..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property Collection Response. - */ -public class BaseMultiValueLegacyExtendedPropertyCollectionResponse implements IJsonBackedObject { - - /** - * The list of MultiValueLegacyExtendedProperty within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequest.java deleted file mode 100644 index 9dfb8a61b63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property Request. - */ -public class BaseMultiValueLegacyExtendedPropertyRequest extends BaseRequest implements IBaseMultiValueLegacyExtendedPropertyRequest { - - /** - * The request for the MultiValueLegacyExtendedProperty - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseMultiValueLegacyExtendedPropertyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the MultiValueLegacyExtendedProperty from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the MultiValueLegacyExtendedProperty from the service - * - * @return the MultiValueLegacyExtendedProperty from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MultiValueLegacyExtendedProperty get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this MultiValueLegacyExtendedProperty with a source - * - * @param sourceMultiValueLegacyExtendedProperty the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceMultiValueLegacyExtendedProperty); - } - - /** - * Patches this MultiValueLegacyExtendedProperty with a source - * - * @param sourceMultiValueLegacyExtendedProperty the source object with updates - * @return the updated MultiValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MultiValueLegacyExtendedProperty patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty) throws ClientException { - return send(HttpMethod.PATCH, sourceMultiValueLegacyExtendedProperty); - } - - /** - * Creates a MultiValueLegacyExtendedProperty with a new object - * - * @param newMultiValueLegacyExtendedProperty the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback) { - send(HttpMethod.POST, callback, newMultiValueLegacyExtendedProperty); - } - - /** - * Creates a MultiValueLegacyExtendedProperty with a new object - * - * @param newMultiValueLegacyExtendedProperty the new object to create - * @return the created MultiValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException { - return send(HttpMethod.POST, newMultiValueLegacyExtendedProperty); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IMultiValueLegacyExtendedPropertyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (MultiValueLegacyExtendedPropertyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IMultiValueLegacyExtendedPropertyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (MultiValueLegacyExtendedPropertyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequestBuilder.java deleted file mode 100644 index 9e3ed1ff3ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseMultiValueLegacyExtendedPropertyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Multi Value Legacy Extended Property Request Builder. - */ -public class BaseMultiValueLegacyExtendedPropertyRequestBuilder extends BaseRequestBuilder implements IBaseMultiValueLegacyExtendedPropertyRequestBuilder { - - /** - * The request builder for the MultiValueLegacyExtendedProperty - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseMultiValueLegacyExtendedPropertyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IMultiValueLegacyExtendedPropertyRequest instance - */ - public IMultiValueLegacyExtendedPropertyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IMultiValueLegacyExtendedPropertyRequest instance - */ - public IMultiValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions) { - return new MultiValueLegacyExtendedPropertyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionPage.java deleted file mode 100644 index 520e955dd57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.requests.extensions.INotebookCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Collection Page. - */ -public class BaseNotebookCollectionPage extends BaseCollectionPage implements IBaseNotebookCollectionPage { - - /** - * A collection page for Notebook - * - * @param response the serialized BaseNotebookCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseNotebookCollectionPage(final BaseNotebookCollectionResponse response, final INotebookCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequest.java deleted file mode 100644 index 6fdf3f168b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Collection Request. - */ -public class BaseNotebookCollectionRequest extends BaseCollectionRequest implements IBaseNotebookCollectionRequest { - - /** - * The request builder for this collection of Notebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotebookCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseNotebookCollectionResponse.class, INotebookCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public INotebookCollectionPage get() throws ClientException { - final BaseNotebookCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Notebook newNotebook, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new NotebookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newNotebook, callback); - } - - public Notebook post(final Notebook newNotebook) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new NotebookRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newNotebook); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public INotebookCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (NotebookCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public INotebookCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (NotebookCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public INotebookCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (NotebookCollectionRequest)this; - } - - public INotebookCollectionPage buildFromResponse(final BaseNotebookCollectionResponse response) { - final INotebookCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new NotebookCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final NotebookCollectionPage page = new NotebookCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequestBuilder.java deleted file mode 100644 index 9200412034e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Collection Request Builder. - */ -public class BaseNotebookCollectionRequestBuilder extends BaseRequestBuilder implements IBaseNotebookCollectionRequestBuilder { - - /** - * The request builder for this collection of Onenote - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotebookCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public INotebookCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public INotebookCollectionRequest buildRequest(final java.util.List requestOptions) { - return new NotebookCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public INotebookRequestBuilder byId(final String id) { - return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public INotebookGetRecentNotebooksCollectionRequestBuilder getRecentNotebooks(final Boolean includePersonalNotebooks) { - return new NotebookGetRecentNotebooksCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getRecentNotebooks"), getClient(), null, includePersonalNotebooks); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionResponse.java deleted file mode 100644 index b05e465c223..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Notebook; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Collection Response. - */ -public class BaseNotebookCollectionResponse implements IJsonBackedObject { - - /** - * The list of Notebook within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequest.java deleted file mode 100644 index ce269fbfac9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.NotebookCopyNotebookBody; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; -import com.microsoft.graph.requests.extensions.NotebookCopyNotebookRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Copy Notebook Request. - */ -public class BaseNotebookCopyNotebookRequest extends BaseRequest implements IBaseNotebookCopyNotebookRequest { - protected final NotebookCopyNotebookBody body; - - /** - * The request for this NotebookCopyNotebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotebookCopyNotebookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, OnenoteOperation.class); - body = new NotebookCopyNotebookBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public OnenoteOperation post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public INotebookCopyNotebookRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (NotebookCopyNotebookRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public INotebookCopyNotebookRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (NotebookCopyNotebookRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public INotebookCopyNotebookRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (NotebookCopyNotebookRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequestBuilder.java deleted file mode 100644 index 4b757e1b5b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookCopyNotebookRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; -import com.microsoft.graph.requests.extensions.NotebookCopyNotebookRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Copy Notebook Request Builder. - */ -public class BaseNotebookCopyNotebookRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this NotebookCopyNotebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param groupId the groupId - * @param renameAs the renameAs - * @param notebookFolder the notebookFolder - * @param siteCollectionId the siteCollectionId - * @param siteId the siteId - */ - public BaseNotebookCopyNotebookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String groupId, final String renameAs, final String notebookFolder, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions); - bodyParams.put("groupId", groupId); - bodyParams.put("renameAs", renameAs); - bodyParams.put("notebookFolder", notebookFolder); - bodyParams.put("siteCollectionId", siteCollectionId); - bodyParams.put("siteId", siteId); - } - - /** - * Creates the INotebookCopyNotebookRequest - * - * @return the INotebookCopyNotebookRequest instance - */ - public INotebookCopyNotebookRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the INotebookCopyNotebookRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the INotebookCopyNotebookRequest instance - */ - public INotebookCopyNotebookRequest buildRequest(final java.util.List requestOptions) { - NotebookCopyNotebookRequest request = new NotebookCopyNotebookRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("groupId")) { - request.body.groupId = getParameter("groupId"); - } - - if (hasParameter("renameAs")) { - request.body.renameAs = getParameter("renameAs"); - } - - if (hasParameter("notebookFolder")) { - request.body.notebookFolder = getParameter("notebookFolder"); - } - - if (hasParameter("siteCollectionId")) { - request.body.siteCollectionId = getParameter("siteCollectionId"); - } - - if (hasParameter("siteId")) { - request.body.siteId = getParameter("siteId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionPage.java deleted file mode 100644 index 7da70333457..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Get Recent Notebooks Collection Page. - */ -public class BaseNotebookGetRecentNotebooksCollectionPage extends BaseCollectionPage implements IBaseNotebookGetRecentNotebooksCollectionPage { - - /** - * A collection page for NotebookGetRecentNotebooks. - * - * @param response The serialized BaseNotebookGetRecentNotebooksCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseNotebookGetRecentNotebooksCollectionPage(final BaseNotebookGetRecentNotebooksCollectionResponse response, final INotebookGetRecentNotebooksCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequest.java deleted file mode 100644 index cc9b42517c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Get Recent Notebooks Collection Request. - */ -public class BaseNotebookGetRecentNotebooksCollectionRequest extends BaseCollectionRequest implements IBaseNotebookGetRecentNotebooksCollectionRequest { - - - /** - * The request for this NotebookGetRecentNotebooks - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotebookGetRecentNotebooksCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseNotebookGetRecentNotebooksCollectionResponse.class, INotebookGetRecentNotebooksCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public INotebookGetRecentNotebooksCollectionPage get() throws ClientException { - final BaseNotebookGetRecentNotebooksCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public INotebookGetRecentNotebooksCollectionPage buildFromResponse(final BaseNotebookGetRecentNotebooksCollectionResponse response) { - final INotebookGetRecentNotebooksCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new NotebookGetRecentNotebooksCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* includePersonalNotebooks */ null); - } else { - builder = null; - } - final INotebookGetRecentNotebooksCollectionPage page = new NotebookGetRecentNotebooksCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public INotebookGetRecentNotebooksCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (INotebookGetRecentNotebooksCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public INotebookGetRecentNotebooksCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (INotebookGetRecentNotebooksCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public INotebookGetRecentNotebooksCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (INotebookGetRecentNotebooksCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequestBuilder.java deleted file mode 100644 index 202610cc348..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Get Recent Notebooks Collection Request Builder. - */ -public class BaseNotebookGetRecentNotebooksCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseNotebookGetRecentNotebooksCollectionRequestBuilder { - - /** - * The request builder for this collection of Notebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param includePersonalNotebooks the includePersonalNotebooks - */ - public BaseNotebookGetRecentNotebooksCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean includePersonalNotebooks) { - super(requestUrl, client, requestOptions); - if(includePersonalNotebooks!=null){ - functionOptions.add(new FunctionOption("includePersonalNotebooks", includePersonalNotebooks)); - } - } - - public INotebookGetRecentNotebooksCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public INotebookGetRecentNotebooksCollectionRequest buildRequest(final java.util.List requestOptions) { - NotebookGetRecentNotebooksCollectionRequest request = new NotebookGetRecentNotebooksCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionResponse.java deleted file mode 100644 index 50421981019..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookGetRecentNotebooksCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Get Recent Notebooks Collection Response. - */ -public class BaseNotebookGetRecentNotebooksCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequest.java deleted file mode 100644 index b6dfc99cc1c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotebookRequest; -import com.microsoft.graph.requests.extensions.NotebookRequest; -import com.microsoft.graph.models.extensions.Notebook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Request. - */ -public class BaseNotebookRequest extends BaseRequest implements IBaseNotebookRequest { - - /** - * The request for the Notebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseNotebookRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Notebook from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Notebook from the service - * - * @return the Notebook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Notebook get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Notebook with a source - * - * @param sourceNotebook the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Notebook sourceNotebook, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceNotebook); - } - - /** - * Patches this Notebook with a source - * - * @param sourceNotebook the source object with updates - * @return the updated Notebook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Notebook patch(final Notebook sourceNotebook) throws ClientException { - return send(HttpMethod.PATCH, sourceNotebook); - } - - /** - * Creates a Notebook with a new object - * - * @param newNotebook the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Notebook newNotebook, final ICallback callback) { - send(HttpMethod.POST, callback, newNotebook); - } - - /** - * Creates a Notebook with a new object - * - * @param newNotebook the new object to create - * @return the created Notebook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Notebook post(final Notebook newNotebook) throws ClientException { - return send(HttpMethod.POST, newNotebook); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public INotebookRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (NotebookRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public INotebookRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (NotebookRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequestBuilder.java deleted file mode 100644 index 65652990f3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotebookRequestBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotebookRequest; -import com.microsoft.graph.requests.extensions.NotebookRequest; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.NotebookCopyNotebookRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notebook Request Builder. - */ -public class BaseNotebookRequestBuilder extends BaseRequestBuilder implements IBaseNotebookRequestBuilder { - - /** - * The request builder for the Notebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotebookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the INotebookRequest instance - */ - public INotebookRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the INotebookRequest instance - */ - public INotebookRequest buildRequest(final java.util.List requestOptions) { - return new NotebookRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOnenoteSectionCollectionRequestBuilder sections() { - return new OnenoteSectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections"), getClient(), null); - } - - public IOnenoteSectionRequestBuilder sections(final String id) { - return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections") + "/" + id, getClient(), null); - } - public ISectionGroupCollectionRequestBuilder sectionGroups() { - return new SectionGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups"), getClient(), null); - } - - public ISectionGroupRequestBuilder sectionGroups(final String id) { - return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups") + "/" + id, getClient(), null); - } - - public INotebookCopyNotebookRequestBuilder copyNotebook(final String groupId, final String renameAs, final String notebookFolder, final String siteCollectionId, final String siteId) { - return new NotebookCopyNotebookRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyNotebook"), getClient(), null, groupId, renameAs, notebookFolder, siteCollectionId, siteId); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionPage.java deleted file mode 100644 index 9d2f85d434a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.NotificationMessageTemplate; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Collection Page. - */ -public class BaseNotificationMessageTemplateCollectionPage extends BaseCollectionPage implements IBaseNotificationMessageTemplateCollectionPage { - - /** - * A collection page for NotificationMessageTemplate - * - * @param response the serialized BaseNotificationMessageTemplateCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseNotificationMessageTemplateCollectionPage(final BaseNotificationMessageTemplateCollectionResponse response, final INotificationMessageTemplateCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequest.java deleted file mode 100644 index 719c1589c4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Collection Request. - */ -public class BaseNotificationMessageTemplateCollectionRequest extends BaseCollectionRequest implements IBaseNotificationMessageTemplateCollectionRequest { - - /** - * The request builder for this collection of NotificationMessageTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotificationMessageTemplateCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseNotificationMessageTemplateCollectionResponse.class, INotificationMessageTemplateCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public INotificationMessageTemplateCollectionPage get() throws ClientException { - final BaseNotificationMessageTemplateCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new NotificationMessageTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newNotificationMessageTemplate, callback); - } - - public NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new NotificationMessageTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newNotificationMessageTemplate); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public INotificationMessageTemplateCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (NotificationMessageTemplateCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public INotificationMessageTemplateCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (NotificationMessageTemplateCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public INotificationMessageTemplateCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (NotificationMessageTemplateCollectionRequest)this; - } - - public INotificationMessageTemplateCollectionPage buildFromResponse(final BaseNotificationMessageTemplateCollectionResponse response) { - final INotificationMessageTemplateCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new NotificationMessageTemplateCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final NotificationMessageTemplateCollectionPage page = new NotificationMessageTemplateCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequestBuilder.java deleted file mode 100644 index 169a8e32a71..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Collection Request Builder. - */ -public class BaseNotificationMessageTemplateCollectionRequestBuilder extends BaseRequestBuilder implements IBaseNotificationMessageTemplateCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotificationMessageTemplateCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public INotificationMessageTemplateCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public INotificationMessageTemplateCollectionRequest buildRequest(final java.util.List requestOptions) { - return new NotificationMessageTemplateCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public INotificationMessageTemplateRequestBuilder byId(final String id) { - return new NotificationMessageTemplateRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionResponse.java deleted file mode 100644 index ff963f8116d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.NotificationMessageTemplate; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Collection Response. - */ -public class BaseNotificationMessageTemplateCollectionResponse implements IJsonBackedObject { - - /** - * The list of NotificationMessageTemplate within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequest.java deleted file mode 100644 index 9f12a524d1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequest; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateRequest; -import com.microsoft.graph.models.extensions.NotificationMessageTemplate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Request. - */ -public class BaseNotificationMessageTemplateRequest extends BaseRequest implements IBaseNotificationMessageTemplateRequest { - - /** - * The request for the NotificationMessageTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseNotificationMessageTemplateRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the NotificationMessageTemplate from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the NotificationMessageTemplate from the service - * - * @return the NotificationMessageTemplate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public NotificationMessageTemplate get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this NotificationMessageTemplate with a source - * - * @param sourceNotificationMessageTemplate the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final NotificationMessageTemplate sourceNotificationMessageTemplate, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceNotificationMessageTemplate); - } - - /** - * Patches this NotificationMessageTemplate with a source - * - * @param sourceNotificationMessageTemplate the source object with updates - * @return the updated NotificationMessageTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public NotificationMessageTemplate patch(final NotificationMessageTemplate sourceNotificationMessageTemplate) throws ClientException { - return send(HttpMethod.PATCH, sourceNotificationMessageTemplate); - } - - /** - * Creates a NotificationMessageTemplate with a new object - * - * @param newNotificationMessageTemplate the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback) { - send(HttpMethod.POST, callback, newNotificationMessageTemplate); - } - - /** - * Creates a NotificationMessageTemplate with a new object - * - * @param newNotificationMessageTemplate the new object to create - * @return the created NotificationMessageTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException { - return send(HttpMethod.POST, newNotificationMessageTemplate); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public INotificationMessageTemplateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (NotificationMessageTemplateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public INotificationMessageTemplateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (NotificationMessageTemplateRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequestBuilder.java deleted file mode 100644 index cfb7daf5e9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequest; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateRequest; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.LocalizedNotificationMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateSendTestMessageRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Request Builder. - */ -public class BaseNotificationMessageTemplateRequestBuilder extends BaseRequestBuilder implements IBaseNotificationMessageTemplateRequestBuilder { - - /** - * The request builder for the NotificationMessageTemplate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotificationMessageTemplateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the INotificationMessageTemplateRequest instance - */ - public INotificationMessageTemplateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the INotificationMessageTemplateRequest instance - */ - public INotificationMessageTemplateRequest buildRequest(final java.util.List requestOptions) { - return new NotificationMessageTemplateRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ILocalizedNotificationMessageCollectionRequestBuilder localizedNotificationMessages() { - return new LocalizedNotificationMessageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("localizedNotificationMessages"), getClient(), null); - } - - public ILocalizedNotificationMessageRequestBuilder localizedNotificationMessages(final String id) { - return new LocalizedNotificationMessageRequestBuilder(getRequestUrlWithAdditionalSegment("localizedNotificationMessages") + "/" + id, getClient(), null); - } - - public INotificationMessageTemplateSendTestMessageRequestBuilder sendTestMessage() { - return new NotificationMessageTemplateSendTestMessageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sendTestMessage"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequest.java deleted file mode 100644 index 917206400c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateSendTestMessageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Send Test Message Request. - */ -public class BaseNotificationMessageTemplateSendTestMessageRequest extends BaseRequest implements IBaseNotificationMessageTemplateSendTestMessageRequest { - - /** - * The request for this NotificationMessageTemplateSendTestMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotificationMessageTemplateSendTestMessageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the NotificationMessageTemplateSendTestMessage - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the NotificationMessageTemplateSendTestMessage - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequestBuilder.java deleted file mode 100644 index ad148bc9379..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseNotificationMessageTemplateSendTestMessageRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; -import com.microsoft.graph.requests.extensions.NotificationMessageTemplateSendTestMessageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Notification Message Template Send Test Message Request Builder. - */ -public class BaseNotificationMessageTemplateSendTestMessageRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this NotificationMessageTemplateSendTestMessage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseNotificationMessageTemplateSendTestMessageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the INotificationMessageTemplateSendTestMessageRequest - * - * @return the INotificationMessageTemplateSendTestMessageRequest instance - */ - public INotificationMessageTemplateSendTestMessageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the INotificationMessageTemplateSendTestMessageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the INotificationMessageTemplateSendTestMessageRequest instance - */ - public INotificationMessageTemplateSendTestMessageRequest buildRequest(final java.util.List requestOptions) { - NotificationMessageTemplateSendTestMessageRequest request = new NotificationMessageTemplateSendTestMessageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequest.java deleted file mode 100644 index 42f582b1efd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequest; -import com.microsoft.graph.requests.extensions.OfficeGraphInsightsRequest; -import com.microsoft.graph.models.extensions.OfficeGraphInsights; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Office Graph Insights Request. - */ -public class BaseOfficeGraphInsightsRequest extends BaseRequest implements IBaseOfficeGraphInsightsRequest { - - /** - * The request for the OfficeGraphInsights - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOfficeGraphInsightsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OfficeGraphInsights from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OfficeGraphInsights from the service - * - * @return the OfficeGraphInsights from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OfficeGraphInsights get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OfficeGraphInsights with a source - * - * @param sourceOfficeGraphInsights the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OfficeGraphInsights sourceOfficeGraphInsights, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOfficeGraphInsights); - } - - /** - * Patches this OfficeGraphInsights with a source - * - * @param sourceOfficeGraphInsights the source object with updates - * @return the updated OfficeGraphInsights - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OfficeGraphInsights patch(final OfficeGraphInsights sourceOfficeGraphInsights) throws ClientException { - return send(HttpMethod.PATCH, sourceOfficeGraphInsights); - } - - /** - * Creates a OfficeGraphInsights with a new object - * - * @param newOfficeGraphInsights the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OfficeGraphInsights newOfficeGraphInsights, final ICallback callback) { - send(HttpMethod.POST, callback, newOfficeGraphInsights); - } - - /** - * Creates a OfficeGraphInsights with a new object - * - * @param newOfficeGraphInsights the new object to create - * @return the created OfficeGraphInsights - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OfficeGraphInsights post(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException { - return send(HttpMethod.POST, newOfficeGraphInsights); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOfficeGraphInsightsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OfficeGraphInsightsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOfficeGraphInsightsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OfficeGraphInsightsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequestBuilder.java deleted file mode 100644 index 4e8caee51f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOfficeGraphInsightsRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequest; -import com.microsoft.graph.requests.extensions.OfficeGraphInsightsRequest; -import com.microsoft.graph.requests.extensions.ITrendingCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TrendingCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITrendingRequestBuilder; -import com.microsoft.graph.requests.extensions.TrendingRequestBuilder; -import com.microsoft.graph.requests.extensions.ISharedInsightCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SharedInsightCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISharedInsightRequestBuilder; -import com.microsoft.graph.requests.extensions.SharedInsightRequestBuilder; -import com.microsoft.graph.requests.extensions.IUsedInsightCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UsedInsightCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUsedInsightRequestBuilder; -import com.microsoft.graph.requests.extensions.UsedInsightRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Office Graph Insights Request Builder. - */ -public class BaseOfficeGraphInsightsRequestBuilder extends BaseRequestBuilder implements IBaseOfficeGraphInsightsRequestBuilder { - - /** - * The request builder for the OfficeGraphInsights - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOfficeGraphInsightsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOfficeGraphInsightsRequest instance - */ - public IOfficeGraphInsightsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOfficeGraphInsightsRequest instance - */ - public IOfficeGraphInsightsRequest buildRequest(final java.util.List requestOptions) { - return new OfficeGraphInsightsRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITrendingCollectionRequestBuilder trending() { - return new TrendingCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("trending"), getClient(), null); - } - - public ITrendingRequestBuilder trending(final String id) { - return new TrendingRequestBuilder(getRequestUrlWithAdditionalSegment("trending") + "/" + id, getClient(), null); - } - public ISharedInsightCollectionRequestBuilder shared() { - return new SharedInsightCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("shared"), getClient(), null); - } - - public ISharedInsightRequestBuilder shared(final String id) { - return new SharedInsightRequestBuilder(getRequestUrlWithAdditionalSegment("shared") + "/" + id, getClient(), null); - } - public IUsedInsightCollectionRequestBuilder used() { - return new UsedInsightCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("used"), getClient(), null); - } - - public IUsedInsightRequestBuilder used(final String id) { - return new UsedInsightRequestBuilder(getRequestUrlWithAdditionalSegment("used") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequest.java deleted file mode 100644 index 3c4f89ef329..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequest; -import com.microsoft.graph.requests.extensions.OnPremisesConditionalAccessSettingsRequest; -import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base On Premises Conditional Access Settings Request. - */ -public class BaseOnPremisesConditionalAccessSettingsRequest extends BaseRequest implements IBaseOnPremisesConditionalAccessSettingsRequest { - - /** - * The request for the OnPremisesConditionalAccessSettings - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnPremisesConditionalAccessSettingsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnPremisesConditionalAccessSettings from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnPremisesConditionalAccessSettings from the service - * - * @return the OnPremisesConditionalAccessSettings from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnPremisesConditionalAccessSettings get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnPremisesConditionalAccessSettings with a source - * - * @param sourceOnPremisesConditionalAccessSettings the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnPremisesConditionalAccessSettings); - } - - /** - * Patches this OnPremisesConditionalAccessSettings with a source - * - * @param sourceOnPremisesConditionalAccessSettings the source object with updates - * @return the updated OnPremisesConditionalAccessSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnPremisesConditionalAccessSettings patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings) throws ClientException { - return send(HttpMethod.PATCH, sourceOnPremisesConditionalAccessSettings); - } - - /** - * Creates a OnPremisesConditionalAccessSettings with a new object - * - * @param newOnPremisesConditionalAccessSettings the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings, final ICallback callback) { - send(HttpMethod.POST, callback, newOnPremisesConditionalAccessSettings); - } - - /** - * Creates a OnPremisesConditionalAccessSettings with a new object - * - * @param newOnPremisesConditionalAccessSettings the new object to create - * @return the created OnPremisesConditionalAccessSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnPremisesConditionalAccessSettings post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException { - return send(HttpMethod.POST, newOnPremisesConditionalAccessSettings); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnPremisesConditionalAccessSettingsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnPremisesConditionalAccessSettingsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnPremisesConditionalAccessSettingsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnPremisesConditionalAccessSettingsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequestBuilder.java deleted file mode 100644 index 3fe401ea90c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnPremisesConditionalAccessSettingsRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequest; -import com.microsoft.graph.requests.extensions.OnPremisesConditionalAccessSettingsRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base On Premises Conditional Access Settings Request Builder. - */ -public class BaseOnPremisesConditionalAccessSettingsRequestBuilder extends BaseRequestBuilder implements IBaseOnPremisesConditionalAccessSettingsRequestBuilder { - - /** - * The request builder for the OnPremisesConditionalAccessSettings - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnPremisesConditionalAccessSettingsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnPremisesConditionalAccessSettingsRequest instance - */ - public IOnPremisesConditionalAccessSettingsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnPremisesConditionalAccessSettingsRequest instance - */ - public IOnPremisesConditionalAccessSettingsRequest buildRequest(final java.util.List requestOptions) { - return new OnPremisesConditionalAccessSettingsRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequest.java deleted file mode 100644 index 9cbbfe74818..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntityBaseModelRequest; -import com.microsoft.graph.requests.extensions.OnenoteEntityBaseModelRequest; -import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Base Model Request. - */ -public class BaseOnenoteEntityBaseModelRequest extends BaseRequest implements IBaseOnenoteEntityBaseModelRequest { - - /** - * The request for the OnenoteEntityBaseModel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteEntityBaseModelRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenoteEntityBaseModel from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenoteEntityBaseModel from the service - * - * @return the OnenoteEntityBaseModel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntityBaseModel get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenoteEntityBaseModel with a source - * - * @param sourceOnenoteEntityBaseModel the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenoteEntityBaseModel); - } - - /** - * Patches this OnenoteEntityBaseModel with a source - * - * @param sourceOnenoteEntityBaseModel the source object with updates - * @return the updated OnenoteEntityBaseModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntityBaseModel patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenoteEntityBaseModel); - } - - /** - * Creates a OnenoteEntityBaseModel with a new object - * - * @param newOnenoteEntityBaseModel the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenoteEntityBaseModel); - } - - /** - * Creates a OnenoteEntityBaseModel with a new object - * - * @param newOnenoteEntityBaseModel the new object to create - * @return the created OnenoteEntityBaseModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntityBaseModel post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException { - return send(HttpMethod.POST, newOnenoteEntityBaseModel); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteEntityBaseModelRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteEntityBaseModelRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteEntityBaseModelRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteEntityBaseModelRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequestBuilder.java deleted file mode 100644 index 869899e7fbf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntityBaseModelRequest; -import com.microsoft.graph.requests.extensions.OnenoteEntityBaseModelRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Base Model Request Builder. - */ -public class BaseOnenoteEntityBaseModelRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteEntityBaseModelRequestBuilder { - - /** - * The request builder for the OnenoteEntityBaseModel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteEntityBaseModelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteEntityBaseModelRequest instance - */ - public IOnenoteEntityBaseModelRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteEntityBaseModelRequest instance - */ - public IOnenoteEntityBaseModelRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteEntityBaseModelRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequest.java deleted file mode 100644 index bb5e08fa561..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntityHierarchyModelRequest; -import com.microsoft.graph.requests.extensions.OnenoteEntityHierarchyModelRequest; -import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Hierarchy Model Request. - */ -public class BaseOnenoteEntityHierarchyModelRequest extends BaseRequest implements IBaseOnenoteEntityHierarchyModelRequest { - - /** - * The request for the OnenoteEntityHierarchyModel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteEntityHierarchyModelRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenoteEntityHierarchyModel from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenoteEntityHierarchyModel from the service - * - * @return the OnenoteEntityHierarchyModel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntityHierarchyModel get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenoteEntityHierarchyModel with a source - * - * @param sourceOnenoteEntityHierarchyModel the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenoteEntityHierarchyModel); - } - - /** - * Patches this OnenoteEntityHierarchyModel with a source - * - * @param sourceOnenoteEntityHierarchyModel the source object with updates - * @return the updated OnenoteEntityHierarchyModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntityHierarchyModel patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenoteEntityHierarchyModel); - } - - /** - * Creates a OnenoteEntityHierarchyModel with a new object - * - * @param newOnenoteEntityHierarchyModel the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenoteEntityHierarchyModel); - } - - /** - * Creates a OnenoteEntityHierarchyModel with a new object - * - * @param newOnenoteEntityHierarchyModel the new object to create - * @return the created OnenoteEntityHierarchyModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntityHierarchyModel post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException { - return send(HttpMethod.POST, newOnenoteEntityHierarchyModel); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteEntityHierarchyModelRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteEntityHierarchyModelRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteEntityHierarchyModelRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteEntityHierarchyModelRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequestBuilder.java deleted file mode 100644 index 516f7a0727a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntityHierarchyModelRequest; -import com.microsoft.graph.requests.extensions.OnenoteEntityHierarchyModelRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Hierarchy Model Request Builder. - */ -public class BaseOnenoteEntityHierarchyModelRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteEntityHierarchyModelRequestBuilder { - - /** - * The request builder for the OnenoteEntityHierarchyModel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteEntityHierarchyModelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteEntityHierarchyModelRequest instance - */ - public IOnenoteEntityHierarchyModelRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteEntityHierarchyModelRequest instance - */ - public IOnenoteEntityHierarchyModelRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteEntityHierarchyModelRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequest.java deleted file mode 100644 index c2223cf19ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntitySchemaObjectModelRequest; -import com.microsoft.graph.requests.extensions.OnenoteEntitySchemaObjectModelRequest; -import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Schema Object Model Request. - */ -public class BaseOnenoteEntitySchemaObjectModelRequest extends BaseRequest implements IBaseOnenoteEntitySchemaObjectModelRequest { - - /** - * The request for the OnenoteEntitySchemaObjectModel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteEntitySchemaObjectModelRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenoteEntitySchemaObjectModel from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenoteEntitySchemaObjectModel from the service - * - * @return the OnenoteEntitySchemaObjectModel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntitySchemaObjectModel get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenoteEntitySchemaObjectModel with a source - * - * @param sourceOnenoteEntitySchemaObjectModel the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenoteEntitySchemaObjectModel); - } - - /** - * Patches this OnenoteEntitySchemaObjectModel with a source - * - * @param sourceOnenoteEntitySchemaObjectModel the source object with updates - * @return the updated OnenoteEntitySchemaObjectModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntitySchemaObjectModel patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenoteEntitySchemaObjectModel); - } - - /** - * Creates a OnenoteEntitySchemaObjectModel with a new object - * - * @param newOnenoteEntitySchemaObjectModel the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenoteEntitySchemaObjectModel); - } - - /** - * Creates a OnenoteEntitySchemaObjectModel with a new object - * - * @param newOnenoteEntitySchemaObjectModel the new object to create - * @return the created OnenoteEntitySchemaObjectModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteEntitySchemaObjectModel post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException { - return send(HttpMethod.POST, newOnenoteEntitySchemaObjectModel); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteEntitySchemaObjectModelRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteEntitySchemaObjectModelRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteEntitySchemaObjectModelRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteEntitySchemaObjectModelRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequestBuilder.java deleted file mode 100644 index 8792f773f7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntitySchemaObjectModelRequest; -import com.microsoft.graph.requests.extensions.OnenoteEntitySchemaObjectModelRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Entity Schema Object Model Request Builder. - */ -public class BaseOnenoteEntitySchemaObjectModelRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteEntitySchemaObjectModelRequestBuilder { - - /** - * The request builder for the OnenoteEntitySchemaObjectModel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteEntitySchemaObjectModelRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteEntitySchemaObjectModelRequest instance - */ - public IOnenoteEntitySchemaObjectModelRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteEntitySchemaObjectModelRequest instance - */ - public IOnenoteEntitySchemaObjectModelRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteEntitySchemaObjectModelRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionPage.java deleted file mode 100644 index 97ffc6b5ddb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenoteOperationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Collection Page. - */ -public class BaseOnenoteOperationCollectionPage extends BaseCollectionPage implements IBaseOnenoteOperationCollectionPage { - - /** - * A collection page for OnenoteOperation - * - * @param response the serialized BaseOnenoteOperationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseOnenoteOperationCollectionPage(final BaseOnenoteOperationCollectionResponse response, final IOnenoteOperationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequest.java deleted file mode 100644 index 5e7436c3d2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Collection Request. - */ -public class BaseOnenoteOperationCollectionRequest extends BaseCollectionRequest implements IBaseOnenoteOperationCollectionRequest { - - /** - * The request builder for this collection of OnenoteOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOnenoteOperationCollectionResponse.class, IOnenoteOperationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOnenoteOperationCollectionPage get() throws ClientException { - final BaseOnenoteOperationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final OnenoteOperation newOnenoteOperation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new OnenoteOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenoteOperation, callback); - } - - public OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new OnenoteOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenoteOperation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteOperationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (OnenoteOperationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteOperationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (OnenoteOperationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenoteOperationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (OnenoteOperationCollectionRequest)this; - } - - public IOnenoteOperationCollectionPage buildFromResponse(final BaseOnenoteOperationCollectionResponse response) { - final IOnenoteOperationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OnenoteOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final OnenoteOperationCollectionPage page = new OnenoteOperationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequestBuilder.java deleted file mode 100644 index fae48f0d2e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Collection Request Builder. - */ -public class BaseOnenoteOperationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteOperationCollectionRequestBuilder { - - /** - * The request builder for this collection of Onenote - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOnenoteOperationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOnenoteOperationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOnenoteOperationRequestBuilder byId(final String id) { - return new OnenoteOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionResponse.java deleted file mode 100644 index dc9f9f21611..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Collection Response. - */ -public class BaseOnenoteOperationCollectionResponse implements IJsonBackedObject { - - /** - * The list of OnenoteOperation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequest.java deleted file mode 100644 index b43c42ee7c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteOperationRequest; -import com.microsoft.graph.requests.extensions.OnenoteOperationRequest; -import com.microsoft.graph.models.extensions.OnenoteOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Request. - */ -public class BaseOnenoteOperationRequest extends BaseRequest implements IBaseOnenoteOperationRequest { - - /** - * The request for the OnenoteOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteOperationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenoteOperation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenoteOperation from the service - * - * @return the OnenoteOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteOperation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenoteOperation with a source - * - * @param sourceOnenoteOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenoteOperation sourceOnenoteOperation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenoteOperation); - } - - /** - * Patches this OnenoteOperation with a source - * - * @param sourceOnenoteOperation the source object with updates - * @return the updated OnenoteOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteOperation patch(final OnenoteOperation sourceOnenoteOperation) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenoteOperation); - } - - /** - * Creates a OnenoteOperation with a new object - * - * @param newOnenoteOperation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnenoteOperation newOnenoteOperation, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenoteOperation); - } - - /** - * Creates a OnenoteOperation with a new object - * - * @param newOnenoteOperation the new object to create - * @return the created OnenoteOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException { - return send(HttpMethod.POST, newOnenoteOperation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteOperationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteOperationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteOperationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteOperationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequestBuilder.java deleted file mode 100644 index 355f7a5bdf7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteOperationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteOperationRequest; -import com.microsoft.graph.requests.extensions.OnenoteOperationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Operation Request Builder. - */ -public class BaseOnenoteOperationRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteOperationRequestBuilder { - - /** - * The request builder for the OnenoteOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteOperationRequest instance - */ - public IOnenoteOperationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteOperationRequest instance - */ - public IOnenoteOperationRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteOperationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionPage.java deleted file mode 100644 index 80f36936503..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePage; -import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Collection Page. - */ -public class BaseOnenotePageCollectionPage extends BaseCollectionPage implements IBaseOnenotePageCollectionPage { - - /** - * A collection page for OnenotePage - * - * @param response the serialized BaseOnenotePageCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseOnenotePageCollectionPage(final BaseOnenotePageCollectionResponse response, final IOnenotePageCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequest.java deleted file mode 100644 index 7ec2d02b731..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Collection Request. - */ -public class BaseOnenotePageCollectionRequest extends BaseCollectionRequest implements IBaseOnenotePageCollectionRequest { - - /** - * The request builder for this collection of OnenotePage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePageCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOnenotePageCollectionResponse.class, IOnenotePageCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOnenotePageCollectionPage get() throws ClientException { - final BaseOnenotePageCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final byte[] newOnenotePage, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new OnenotePageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenotePage, callback); - } - - public OnenotePage post(final byte[] newOnenotePage) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new OnenotePageRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenotePage); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenotePageCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (OnenotePageCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenotePageCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (OnenotePageCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenotePageCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (OnenotePageCollectionRequest)this; - } - - public IOnenotePageCollectionPage buildFromResponse(final BaseOnenotePageCollectionResponse response) { - final IOnenotePageCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OnenotePageCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final OnenotePageCollectionPage page = new OnenotePageCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequestBuilder.java deleted file mode 100644 index 3ee36f11e3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Collection Request Builder. - */ -public class BaseOnenotePageCollectionRequestBuilder extends BaseRequestBuilder implements IBaseOnenotePageCollectionRequestBuilder { - - /** - * The request builder for this collection of OnenoteSection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePageCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOnenotePageCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOnenotePageCollectionRequest buildRequest(final java.util.List requestOptions) { - return new OnenotePageCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOnenotePageRequestBuilder byId(final String id) { - return new OnenotePageRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionResponse.java deleted file mode 100644 index 7bed77f3b35..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePage; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Collection Response. - */ -public class BaseOnenotePageCollectionResponse implements IJsonBackedObject { - - /** - * The list of OnenotePage within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequest.java deleted file mode 100644 index dd8856c6e08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePageCopyToSectionBody; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; -import com.microsoft.graph.requests.extensions.OnenotePageCopyToSectionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Copy To Section Request. - */ -public class BaseOnenotePageCopyToSectionRequest extends BaseRequest implements IBaseOnenotePageCopyToSectionRequest { - protected final OnenotePageCopyToSectionBody body; - - /** - * The request for this OnenotePageCopyToSection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePageCopyToSectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, OnenoteOperation.class); - body = new OnenotePageCopyToSectionBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public OnenoteOperation post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenotePageCopyToSectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenotePageCopyToSectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenotePageCopyToSectionRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (OnenotePageCopyToSectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenotePageCopyToSectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenotePageCopyToSectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequestBuilder.java deleted file mode 100644 index 8a33c1b201c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageCopyToSectionRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; -import com.microsoft.graph.requests.extensions.OnenotePageCopyToSectionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Copy To Section Request Builder. - */ -public class BaseOnenotePageCopyToSectionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this OnenotePageCopyToSection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param id the id - * @param groupId the groupId - * @param siteCollectionId the siteCollectionId - * @param siteId the siteId - */ - public BaseOnenotePageCopyToSectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String id, final String groupId, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions); - bodyParams.put("id", id); - bodyParams.put("groupId", groupId); - bodyParams.put("siteCollectionId", siteCollectionId); - bodyParams.put("siteId", siteId); - } - - /** - * Creates the IOnenotePageCopyToSectionRequest - * - * @return the IOnenotePageCopyToSectionRequest instance - */ - public IOnenotePageCopyToSectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IOnenotePageCopyToSectionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IOnenotePageCopyToSectionRequest instance - */ - public IOnenotePageCopyToSectionRequest buildRequest(final java.util.List requestOptions) { - OnenotePageCopyToSectionRequest request = new OnenotePageCopyToSectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("id")) { - request.body.id = getParameter("id"); - } - - if (hasParameter("groupId")) { - request.body.groupId = getParameter("groupId"); - } - - if (hasParameter("siteCollectionId")) { - request.body.siteCollectionId = getParameter("siteCollectionId"); - } - - if (hasParameter("siteId")) { - request.body.siteId = getParameter("siteId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequest.java deleted file mode 100644 index 66de9345af6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePageOnenotePatchContentBody; -import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; -import com.microsoft.graph.requests.extensions.OnenotePageOnenotePatchContentRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Onenote Patch Content Request. - */ -public class BaseOnenotePageOnenotePatchContentRequest extends BaseRequest implements IBaseOnenotePageOnenotePatchContentRequest { - protected final OnenotePageOnenotePatchContentBody body; - - /** - * The request for this OnenotePageOnenotePatchContent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePageOnenotePatchContentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new OnenotePageOnenotePatchContentBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenotePageOnenotePatchContentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenotePageOnenotePatchContentRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenotePageOnenotePatchContentRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (OnenotePageOnenotePatchContentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenotePageOnenotePatchContentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenotePageOnenotePatchContentRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequestBuilder.java deleted file mode 100644 index 23a08ae27bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageOnenotePatchContentRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; -import com.microsoft.graph.requests.extensions.OnenotePageOnenotePatchContentRequest; -import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Onenote Patch Content Request Builder. - */ -public class BaseOnenotePageOnenotePatchContentRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this OnenotePageOnenotePatchContent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param commands the commands - */ - public BaseOnenotePageOnenotePatchContentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List commands) { - super(requestUrl, client, requestOptions); - bodyParams.put("commands", commands); - } - - /** - * Creates the IOnenotePageOnenotePatchContentRequest - * - * @return the IOnenotePageOnenotePatchContentRequest instance - */ - public IOnenotePageOnenotePatchContentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IOnenotePageOnenotePatchContentRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IOnenotePageOnenotePatchContentRequest instance - */ - public IOnenotePageOnenotePatchContentRequest buildRequest(final java.util.List requestOptions) { - OnenotePageOnenotePatchContentRequest request = new OnenotePageOnenotePatchContentRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("commands")) { - request.body.commands = getParameter("commands"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequest.java deleted file mode 100644 index c01883f52da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePagePreview; -import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; -import com.microsoft.graph.requests.extensions.OnenotePagePreviewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Preview Request. - */ -public class BaseOnenotePagePreviewRequest extends BaseRequest implements IBaseOnenotePagePreviewRequest { - - /** - * The request for this OnenotePagePreview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePagePreviewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, OnenotePagePreview.class); - } - - /** - * Gets the OnenotePagePreview - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenotePagePreview - * - * @return the OnenotePagePreview - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public OnenotePagePreview get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenotePagePreviewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenotePagePreviewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenotePagePreviewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenotePagePreviewRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequestBuilder.java deleted file mode 100644 index 68466123d71..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePagePreviewRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; -import com.microsoft.graph.requests.extensions.OnenotePagePreviewRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Preview Request Builder. - */ -public class BaseOnenotePagePreviewRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this OnenotePagePreview - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePagePreviewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IOnenotePagePreviewRequest - * - * @return the IOnenotePagePreviewRequest instance - */ - public IOnenotePagePreviewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IOnenotePagePreviewRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IOnenotePagePreviewRequest instance - */ - public IOnenotePagePreviewRequest buildRequest(final java.util.List requestOptions) { - OnenotePagePreviewRequest request = new OnenotePagePreviewRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequest.java deleted file mode 100644 index 9724df33d05..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageRequest; -import com.microsoft.graph.requests.extensions.OnenotePageRequest; -import com.microsoft.graph.models.extensions.OnenotePage; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Request. - */ -public class BaseOnenotePageRequest extends BaseRequest implements IBaseOnenotePageRequest { - - /** - * The request for the OnenotePage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenotePageRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenotePage from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenotePage from the service - * - * @return the OnenotePage from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenotePage get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenotePage with a source - * - * @param sourceOnenotePage the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenotePage sourceOnenotePage, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenotePage); - } - - /** - * Patches this OnenotePage with a source - * - * @param sourceOnenotePage the source object with updates - * @return the updated OnenotePage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenotePage patch(final OnenotePage sourceOnenotePage) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenotePage); - } - - /** - * Creates a OnenotePage with a new object - * - * @param newOnenotePage the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final byte[] newOnenotePage, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenotePage); - } - - /** - * Creates a OnenotePage with a new object - * - * @param newOnenotePage the new object to create - * @return the created OnenotePage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenotePage post(final byte[] newOnenotePage) throws ClientException { - return send(HttpMethod.POST, newOnenotePage); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenotePageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenotePageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenotePageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenotePageRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequestBuilder.java deleted file mode 100644 index 4517730f6a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageRequestBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageRequest; -import com.microsoft.graph.requests.extensions.OnenotePageRequest; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageStreamRequestBuilder; -import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; -import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageOnenotePatchContentRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageCopyToSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePagePreviewRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Request Builder. - */ -public class BaseOnenotePageRequestBuilder extends BaseRequestBuilder implements IBaseOnenotePageRequestBuilder { - - /** - * The request builder for the OnenotePage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenotePageRequest instance - */ - public IOnenotePageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenotePageRequest instance - */ - public IOnenotePageRequest buildRequest(final java.util.List requestOptions) { - return new OnenotePageRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for OnenoteSection - * - * @return the IOnenoteSectionRequestBuilder instance - */ - public IOnenoteSectionRequestBuilder parentSection() { - return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("parentSection"), getClient(), null); - } - - /** - * Gets the request builder for Notebook - * - * @return the INotebookRequestBuilder instance - */ - public INotebookRequestBuilder parentNotebook() { - return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null); - } - - public IOnenotePageStreamRequestBuilder content() { - return new OnenotePageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); - } - - public IOnenotePageOnenotePatchContentRequestBuilder onenotePatchContent(final java.util.List commands) { - return new OnenotePageOnenotePatchContentRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.onenotePatchContent"), getClient(), null, commands); - } - - public IOnenotePageCopyToSectionRequestBuilder copyToSection(final String id, final String groupId, final String siteCollectionId, final String siteId) { - return new OnenotePageCopyToSectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToSection"), getClient(), null, id, groupId, siteCollectionId, siteId); - } - - public IOnenotePagePreviewRequestBuilder preview() { - return new OnenotePagePreviewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.preview"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequest.java deleted file mode 100644 index f8f93bdeea3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Stream Request. - */ -public class BaseOnenotePageStreamRequest extends BaseStreamRequest implements IBaseOnenotePageStreamRequest { - - /** - * The request for this OnenotePageStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenotePageStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public OnenotePage put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequestBuilder.java deleted file mode 100644 index 6675d393971..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenotePageStreamRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequest; -import com.microsoft.graph.requests.extensions.OnenotePageStreamRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Page Stream Request Builder. - */ -public class BaseOnenotePageStreamRequestBuilder extends BaseRequestBuilder implements IBaseOnenotePageStreamRequestBuilder { - - /** - * The request builder for the OnenotePageStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenotePageStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenotePageStreamRequest instance - */ - public IOnenotePageStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenotePageStreamRequest instance - */ - public IOnenotePageStreamRequest buildRequest(final java.util.List requestOptions) { - return new OnenotePageStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequest.java deleted file mode 100644 index 56080904084..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteRequest; -import com.microsoft.graph.requests.extensions.OnenoteRequest; -import com.microsoft.graph.models.extensions.Onenote; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Request. - */ -public class BaseOnenoteRequest extends BaseRequest implements IBaseOnenoteRequest { - - /** - * The request for the Onenote - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Onenote from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Onenote from the service - * - * @return the Onenote from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Onenote get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Onenote with a source - * - * @param sourceOnenote the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Onenote sourceOnenote, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenote); - } - - /** - * Patches this Onenote with a source - * - * @param sourceOnenote the source object with updates - * @return the updated Onenote - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Onenote patch(final Onenote sourceOnenote) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenote); - } - - /** - * Creates a Onenote with a new object - * - * @param newOnenote the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Onenote newOnenote, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenote); - } - - /** - * Creates a Onenote with a new object - * - * @param newOnenote the new object to create - * @return the created Onenote - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Onenote post(final Onenote newOnenote) throws ClientException { - return send(HttpMethod.POST, newOnenote); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequestBuilder.java deleted file mode 100644 index 71d0b1ff504..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteRequestBuilder.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteRequest; -import com.microsoft.graph.requests.extensions.OnenoteRequest; -import com.microsoft.graph.requests.extensions.INotebookCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.NotebookCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteResourceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteResourceRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteResourceRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteOperationRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteOperationRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Request Builder. - */ -public class BaseOnenoteRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteRequestBuilder { - - /** - * The request builder for the Onenote - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteRequest instance - */ - public IOnenoteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteRequest instance - */ - public IOnenoteRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteRequest(getRequestUrl(), getClient(), requestOptions); - } - - public INotebookCollectionRequestBuilder notebooks() { - return new NotebookCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("notebooks"), getClient(), null); - } - - public INotebookRequestBuilder notebooks(final String id) { - return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("notebooks") + "/" + id, getClient(), null); - } - public IOnenoteSectionCollectionRequestBuilder sections() { - return new OnenoteSectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections"), getClient(), null); - } - - public IOnenoteSectionRequestBuilder sections(final String id) { - return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections") + "/" + id, getClient(), null); - } - public ISectionGroupCollectionRequestBuilder sectionGroups() { - return new SectionGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups"), getClient(), null); - } - - public ISectionGroupRequestBuilder sectionGroups(final String id) { - return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups") + "/" + id, getClient(), null); - } - public IOnenotePageCollectionRequestBuilder pages() { - return new OnenotePageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("pages"), getClient(), null); - } - - public IOnenotePageRequestBuilder pages(final String id) { - return new OnenotePageRequestBuilder(getRequestUrlWithAdditionalSegment("pages") + "/" + id, getClient(), null); - } - public IOnenoteResourceCollectionRequestBuilder resources() { - return new OnenoteResourceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("resources"), getClient(), null); - } - - public IOnenoteResourceRequestBuilder resources(final String id) { - return new OnenoteResourceRequestBuilder(getRequestUrlWithAdditionalSegment("resources") + "/" + id, getClient(), null); - } - public IOnenoteOperationCollectionRequestBuilder operations() { - return new OnenoteOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null); - } - - public IOnenoteOperationRequestBuilder operations(final String id) { - return new OnenoteOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionPage.java deleted file mode 100644 index 3049360bde1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteResource; -import com.microsoft.graph.requests.extensions.IOnenoteResourceCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Collection Page. - */ -public class BaseOnenoteResourceCollectionPage extends BaseCollectionPage implements IBaseOnenoteResourceCollectionPage { - - /** - * A collection page for OnenoteResource - * - * @param response the serialized BaseOnenoteResourceCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseOnenoteResourceCollectionPage(final BaseOnenoteResourceCollectionResponse response, final IOnenoteResourceCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequest.java deleted file mode 100644 index 368d178bc9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Collection Request. - */ -public class BaseOnenoteResourceCollectionRequest extends BaseCollectionRequest implements IBaseOnenoteResourceCollectionRequest { - - /** - * The request builder for this collection of OnenoteResource - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteResourceCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOnenoteResourceCollectionResponse.class, IOnenoteResourceCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOnenoteResourceCollectionPage get() throws ClientException { - final BaseOnenoteResourceCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final OnenoteResource newOnenoteResource, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new OnenoteResourceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenoteResource, callback); - } - - public OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new OnenoteResourceRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenoteResource); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteResourceCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (OnenoteResourceCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteResourceCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (OnenoteResourceCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenoteResourceCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (OnenoteResourceCollectionRequest)this; - } - - public IOnenoteResourceCollectionPage buildFromResponse(final BaseOnenoteResourceCollectionResponse response) { - final IOnenoteResourceCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OnenoteResourceCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final OnenoteResourceCollectionPage page = new OnenoteResourceCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequestBuilder.java deleted file mode 100644 index 32842706cd1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Collection Request Builder. - */ -public class BaseOnenoteResourceCollectionRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteResourceCollectionRequestBuilder { - - /** - * The request builder for this collection of Onenote - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteResourceCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOnenoteResourceCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOnenoteResourceCollectionRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteResourceCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOnenoteResourceRequestBuilder byId(final String id) { - return new OnenoteResourceRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionResponse.java deleted file mode 100644 index 6ce5a2ce3dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteResource; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Collection Response. - */ -public class BaseOnenoteResourceCollectionResponse implements IJsonBackedObject { - - /** - * The list of OnenoteResource within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequest.java deleted file mode 100644 index 9bf3ea14458..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteResourceRequest; -import com.microsoft.graph.requests.extensions.OnenoteResourceRequest; -import com.microsoft.graph.models.extensions.OnenoteResource; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Request. - */ -public class BaseOnenoteResourceRequest extends BaseRequest implements IBaseOnenoteResourceRequest { - - /** - * The request for the OnenoteResource - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteResourceRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenoteResource from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenoteResource from the service - * - * @return the OnenoteResource from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteResource get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenoteResource with a source - * - * @param sourceOnenoteResource the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenoteResource sourceOnenoteResource, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenoteResource); - } - - /** - * Patches this OnenoteResource with a source - * - * @param sourceOnenoteResource the source object with updates - * @return the updated OnenoteResource - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteResource patch(final OnenoteResource sourceOnenoteResource) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenoteResource); - } - - /** - * Creates a OnenoteResource with a new object - * - * @param newOnenoteResource the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnenoteResource newOnenoteResource, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenoteResource); - } - - /** - * Creates a OnenoteResource with a new object - * - * @param newOnenoteResource the new object to create - * @return the created OnenoteResource - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException { - return send(HttpMethod.POST, newOnenoteResource); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteResourceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteResourceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteResourceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteResourceRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequestBuilder.java deleted file mode 100644 index 17ed63308d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteResourceRequest; -import com.microsoft.graph.requests.extensions.OnenoteResourceRequest; -import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteResourceStreamRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Request Builder. - */ -public class BaseOnenoteResourceRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteResourceRequestBuilder { - - /** - * The request builder for the OnenoteResource - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteResourceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteResourceRequest instance - */ - public IOnenoteResourceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteResourceRequest instance - */ - public IOnenoteResourceRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteResourceRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IOnenoteResourceStreamRequestBuilder content() { - return new OnenoteResourceStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequest.java deleted file mode 100644 index 6af0525039c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Stream Request. - */ -public class BaseOnenoteResourceStreamRequest extends BaseStreamRequest implements IBaseOnenoteResourceStreamRequest { - - /** - * The request for this OnenoteResourceStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteResourceStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public OnenoteResource put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequestBuilder.java deleted file mode 100644 index 67eb2bde8b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteResourceStreamRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequest; -import com.microsoft.graph.requests.extensions.OnenoteResourceStreamRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Resource Stream Request Builder. - */ -public class BaseOnenoteResourceStreamRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteResourceStreamRequestBuilder { - - /** - * The request builder for the OnenoteResourceStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteResourceStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteResourceStreamRequest instance - */ - public IOnenoteResourceStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteResourceStreamRequest instance - */ - public IOnenoteResourceStreamRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteResourceStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionPage.java deleted file mode 100644 index 61ed4217577..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Collection Page. - */ -public class BaseOnenoteSectionCollectionPage extends BaseCollectionPage implements IBaseOnenoteSectionCollectionPage { - - /** - * A collection page for OnenoteSection - * - * @param response the serialized BaseOnenoteSectionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseOnenoteSectionCollectionPage(final BaseOnenoteSectionCollectionResponse response, final IOnenoteSectionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequest.java deleted file mode 100644 index 7b451a09185..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Collection Request. - */ -public class BaseOnenoteSectionCollectionRequest extends BaseCollectionRequest implements IBaseOnenoteSectionCollectionRequest { - - /** - * The request builder for this collection of OnenoteSection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteSectionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOnenoteSectionCollectionResponse.class, IOnenoteSectionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOnenoteSectionCollectionPage get() throws ClientException { - final BaseOnenoteSectionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final OnenoteSection newOnenoteSection, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new OnenoteSectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenoteSection, callback); - } - - public OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new OnenoteSectionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOnenoteSection); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteSectionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (OnenoteSectionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteSectionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (OnenoteSectionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenoteSectionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (OnenoteSectionCollectionRequest)this; - } - - public IOnenoteSectionCollectionPage buildFromResponse(final BaseOnenoteSectionCollectionResponse response) { - final IOnenoteSectionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OnenoteSectionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final OnenoteSectionCollectionPage page = new OnenoteSectionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequestBuilder.java deleted file mode 100644 index 7357d1d032c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Collection Request Builder. - */ -public class BaseOnenoteSectionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteSectionCollectionRequestBuilder { - - /** - * The request builder for this collection of SectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteSectionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOnenoteSectionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOnenoteSectionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteSectionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOnenoteSectionRequestBuilder byId(final String id) { - return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionResponse.java deleted file mode 100644 index eb538e56f8e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteSection; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Collection Response. - */ -public class BaseOnenoteSectionCollectionResponse implements IJsonBackedObject { - - /** - * The list of OnenoteSection within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequest.java deleted file mode 100644 index 1758aca4e06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteSectionCopyToNotebookBody; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; -import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToNotebookRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Copy To Notebook Request. - */ -public class BaseOnenoteSectionCopyToNotebookRequest extends BaseRequest implements IBaseOnenoteSectionCopyToNotebookRequest { - protected final OnenoteSectionCopyToNotebookBody body; - - /** - * The request for this OnenoteSectionCopyToNotebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteSectionCopyToNotebookRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, OnenoteOperation.class); - body = new OnenoteSectionCopyToNotebookBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public OnenoteOperation post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteSectionCopyToNotebookRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteSectionCopyToNotebookRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenoteSectionCopyToNotebookRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (OnenoteSectionCopyToNotebookRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteSectionCopyToNotebookRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteSectionCopyToNotebookRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequestBuilder.java deleted file mode 100644 index 4bbede32507..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToNotebookRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; -import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToNotebookRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Copy To Notebook Request Builder. - */ -public class BaseOnenoteSectionCopyToNotebookRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this OnenoteSectionCopyToNotebook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param id the id - * @param groupId the groupId - * @param renameAs the renameAs - * @param siteCollectionId the siteCollectionId - * @param siteId the siteId - */ - public BaseOnenoteSectionCopyToNotebookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions); - bodyParams.put("id", id); - bodyParams.put("groupId", groupId); - bodyParams.put("renameAs", renameAs); - bodyParams.put("siteCollectionId", siteCollectionId); - bodyParams.put("siteId", siteId); - } - - /** - * Creates the IOnenoteSectionCopyToNotebookRequest - * - * @return the IOnenoteSectionCopyToNotebookRequest instance - */ - public IOnenoteSectionCopyToNotebookRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IOnenoteSectionCopyToNotebookRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IOnenoteSectionCopyToNotebookRequest instance - */ - public IOnenoteSectionCopyToNotebookRequest buildRequest(final java.util.List requestOptions) { - OnenoteSectionCopyToNotebookRequest request = new OnenoteSectionCopyToNotebookRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("id")) { - request.body.id = getParameter("id"); - } - - if (hasParameter("groupId")) { - request.body.groupId = getParameter("groupId"); - } - - if (hasParameter("renameAs")) { - request.body.renameAs = getParameter("renameAs"); - } - - if (hasParameter("siteCollectionId")) { - request.body.siteCollectionId = getParameter("siteCollectionId"); - } - - if (hasParameter("siteId")) { - request.body.siteId = getParameter("siteId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequest.java deleted file mode 100644 index ea2487ed692..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteSectionCopyToSectionGroupBody; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; -import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToSectionGroupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Copy To Section Group Request. - */ -public class BaseOnenoteSectionCopyToSectionGroupRequest extends BaseRequest implements IBaseOnenoteSectionCopyToSectionGroupRequest { - protected final OnenoteSectionCopyToSectionGroupBody body; - - /** - * The request for this OnenoteSectionCopyToSectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteSectionCopyToSectionGroupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, OnenoteOperation.class); - body = new OnenoteSectionCopyToSectionGroupBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public OnenoteOperation post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteSectionCopyToSectionGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteSectionCopyToSectionGroupRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOnenoteSectionCopyToSectionGroupRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (OnenoteSectionCopyToSectionGroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteSectionCopyToSectionGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteSectionCopyToSectionGroupRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequestBuilder.java deleted file mode 100644 index 02195c3c04d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionCopyToSectionGroupRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; -import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToSectionGroupRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Copy To Section Group Request Builder. - */ -public class BaseOnenoteSectionCopyToSectionGroupRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this OnenoteSectionCopyToSectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param id the id - * @param groupId the groupId - * @param renameAs the renameAs - * @param siteCollectionId the siteCollectionId - * @param siteId the siteId - */ - public BaseOnenoteSectionCopyToSectionGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { - super(requestUrl, client, requestOptions); - bodyParams.put("id", id); - bodyParams.put("groupId", groupId); - bodyParams.put("renameAs", renameAs); - bodyParams.put("siteCollectionId", siteCollectionId); - bodyParams.put("siteId", siteId); - } - - /** - * Creates the IOnenoteSectionCopyToSectionGroupRequest - * - * @return the IOnenoteSectionCopyToSectionGroupRequest instance - */ - public IOnenoteSectionCopyToSectionGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IOnenoteSectionCopyToSectionGroupRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IOnenoteSectionCopyToSectionGroupRequest instance - */ - public IOnenoteSectionCopyToSectionGroupRequest buildRequest(final java.util.List requestOptions) { - OnenoteSectionCopyToSectionGroupRequest request = new OnenoteSectionCopyToSectionGroupRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("id")) { - request.body.id = getParameter("id"); - } - - if (hasParameter("groupId")) { - request.body.groupId = getParameter("groupId"); - } - - if (hasParameter("renameAs")) { - request.body.renameAs = getParameter("renameAs"); - } - - if (hasParameter("siteCollectionId")) { - request.body.siteCollectionId = getParameter("siteCollectionId"); - } - - if (hasParameter("siteId")) { - request.body.siteId = getParameter("siteId"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequest.java deleted file mode 100644 index bebaf1415ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequest; -import com.microsoft.graph.requests.extensions.OnenoteSectionRequest; -import com.microsoft.graph.models.extensions.OnenoteSection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Request. - */ -public class BaseOnenoteSectionRequest extends BaseRequest implements IBaseOnenoteSectionRequest { - - /** - * The request for the OnenoteSection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOnenoteSectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OnenoteSection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OnenoteSection from the service - * - * @return the OnenoteSection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteSection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OnenoteSection with a source - * - * @param sourceOnenoteSection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OnenoteSection sourceOnenoteSection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOnenoteSection); - } - - /** - * Patches this OnenoteSection with a source - * - * @param sourceOnenoteSection the source object with updates - * @return the updated OnenoteSection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteSection patch(final OnenoteSection sourceOnenoteSection) throws ClientException { - return send(HttpMethod.PATCH, sourceOnenoteSection); - } - - /** - * Creates a OnenoteSection with a new object - * - * @param newOnenoteSection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OnenoteSection newOnenoteSection, final ICallback callback) { - send(HttpMethod.POST, callback, newOnenoteSection); - } - - /** - * Creates a OnenoteSection with a new object - * - * @param newOnenoteSection the new object to create - * @return the created OnenoteSection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException { - return send(HttpMethod.POST, newOnenoteSection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOnenoteSectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OnenoteSectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOnenoteSectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OnenoteSectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequestBuilder.java deleted file mode 100644 index d7e3d7bae79..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteSectionRequestBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequest; -import com.microsoft.graph.requests.extensions.OnenoteSectionRequest; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenotePageRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToNotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionCopyToSectionGroupRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Onenote Section Request Builder. - */ -public class BaseOnenoteSectionRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteSectionRequestBuilder { - - /** - * The request builder for the OnenoteSection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOnenoteSectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOnenoteSectionRequest instance - */ - public IOnenoteSectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOnenoteSectionRequest instance - */ - public IOnenoteSectionRequest buildRequest(final java.util.List requestOptions) { - return new OnenoteSectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Notebook - * - * @return the INotebookRequestBuilder instance - */ - public INotebookRequestBuilder parentNotebook() { - return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null); - } - - /** - * Gets the request builder for SectionGroup - * - * @return the ISectionGroupRequestBuilder instance - */ - public ISectionGroupRequestBuilder parentSectionGroup() { - return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("parentSectionGroup"), getClient(), null); - } - public IOnenotePageCollectionRequestBuilder pages() { - return new OnenotePageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("pages"), getClient(), null); - } - - public IOnenotePageRequestBuilder pages(final String id) { - return new OnenotePageRequestBuilder(getRequestUrlWithAdditionalSegment("pages") + "/" + id, getClient(), null); - } - - public IOnenoteSectionCopyToNotebookRequestBuilder copyToNotebook(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { - return new OnenoteSectionCopyToNotebookRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToNotebook"), getClient(), null, id, groupId, renameAs, siteCollectionId, siteId); - } - - public IOnenoteSectionCopyToSectionGroupRequestBuilder copyToSectionGroup(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId) { - return new OnenoteSectionCopyToSectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToSectionGroup"), getClient(), null, id, groupId, renameAs, siteCollectionId, siteId); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequest.java deleted file mode 100644 index ffdca5b1028..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOpenTypeExtensionRequest; -import com.microsoft.graph.requests.extensions.OpenTypeExtensionRequest; -import com.microsoft.graph.models.extensions.OpenTypeExtension; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Open Type Extension Request. - */ -public class BaseOpenTypeExtensionRequest extends BaseRequest implements IBaseOpenTypeExtensionRequest { - - /** - * The request for the OpenTypeExtension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOpenTypeExtensionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OpenTypeExtension from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OpenTypeExtension from the service - * - * @return the OpenTypeExtension from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OpenTypeExtension get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OpenTypeExtension with a source - * - * @param sourceOpenTypeExtension the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OpenTypeExtension sourceOpenTypeExtension, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOpenTypeExtension); - } - - /** - * Patches this OpenTypeExtension with a source - * - * @param sourceOpenTypeExtension the source object with updates - * @return the updated OpenTypeExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OpenTypeExtension patch(final OpenTypeExtension sourceOpenTypeExtension) throws ClientException { - return send(HttpMethod.PATCH, sourceOpenTypeExtension); - } - - /** - * Creates a OpenTypeExtension with a new object - * - * @param newOpenTypeExtension the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OpenTypeExtension newOpenTypeExtension, final ICallback callback) { - send(HttpMethod.POST, callback, newOpenTypeExtension); - } - - /** - * Creates a OpenTypeExtension with a new object - * - * @param newOpenTypeExtension the new object to create - * @return the created OpenTypeExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OpenTypeExtension post(final OpenTypeExtension newOpenTypeExtension) throws ClientException { - return send(HttpMethod.POST, newOpenTypeExtension); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOpenTypeExtensionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OpenTypeExtensionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOpenTypeExtensionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OpenTypeExtensionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequestBuilder.java deleted file mode 100644 index ab80638c0d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOpenTypeExtensionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOpenTypeExtensionRequest; -import com.microsoft.graph.requests.extensions.OpenTypeExtensionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Open Type Extension Request Builder. - */ -public class BaseOpenTypeExtensionRequestBuilder extends BaseRequestBuilder implements IBaseOpenTypeExtensionRequestBuilder { - - /** - * The request builder for the OpenTypeExtension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOpenTypeExtensionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOpenTypeExtensionRequest instance - */ - public IOpenTypeExtensionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOpenTypeExtensionRequest instance - */ - public IOpenTypeExtensionRequest buildRequest(final java.util.List requestOptions) { - return new OpenTypeExtensionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequest.java deleted file mode 100644 index bbddab1c6e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOperationRequest; -import com.microsoft.graph.requests.extensions.OperationRequest; -import com.microsoft.graph.models.extensions.Operation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Operation Request. - */ -public class BaseOperationRequest extends BaseRequest implements IBaseOperationRequest { - - /** - * The request for the Operation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOperationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Operation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Operation from the service - * - * @return the Operation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Operation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Operation with a source - * - * @param sourceOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Operation sourceOperation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOperation); - } - - /** - * Patches this Operation with a source - * - * @param sourceOperation the source object with updates - * @return the updated Operation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Operation patch(final Operation sourceOperation) throws ClientException { - return send(HttpMethod.PATCH, sourceOperation); - } - - /** - * Creates a Operation with a new object - * - * @param newOperation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Operation newOperation, final ICallback callback) { - send(HttpMethod.POST, callback, newOperation); - } - - /** - * Creates a Operation with a new object - * - * @param newOperation the new object to create - * @return the created Operation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Operation post(final Operation newOperation) throws ClientException { - return send(HttpMethod.POST, newOperation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOperationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OperationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOperationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OperationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequestBuilder.java deleted file mode 100644 index 87a2f61da2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOperationRequest; -import com.microsoft.graph.requests.extensions.OperationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Operation Request Builder. - */ -public class BaseOperationRequestBuilder extends BaseRequestBuilder implements IBaseOperationRequestBuilder { - - /** - * The request builder for the Operation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOperationRequest instance - */ - public IOperationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOperationRequest instance - */ - public IOperationRequest buildRequest(final java.util.List requestOptions) { - return new OperationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionPage.java deleted file mode 100644 index d93baf6ae64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Organization; -import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Collection Page. - */ -public class BaseOrganizationCollectionPage extends BaseCollectionPage implements IBaseOrganizationCollectionPage { - - /** - * A collection page for Organization - * - * @param response the serialized BaseOrganizationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseOrganizationCollectionPage(final BaseOrganizationCollectionResponse response, final IOrganizationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequest.java deleted file mode 100644 index 646ca8cfc88..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Collection Request. - */ -public class BaseOrganizationCollectionRequest extends BaseCollectionRequest implements IBaseOrganizationCollectionRequest { - - /** - * The request builder for this collection of Organization - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOrganizationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOrganizationCollectionResponse.class, IOrganizationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOrganizationCollectionPage get() throws ClientException { - final BaseOrganizationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Organization newOrganization, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new OrganizationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOrganization, callback); - } - - public Organization post(final Organization newOrganization) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new OrganizationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOrganization); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOrganizationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (OrganizationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOrganizationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (OrganizationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOrganizationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (OrganizationCollectionRequest)this; - } - - public IOrganizationCollectionPage buildFromResponse(final BaseOrganizationCollectionResponse response) { - final IOrganizationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OrganizationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final OrganizationCollectionPage page = new OrganizationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequestBuilder.java deleted file mode 100644 index 62257b74d2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Collection Request Builder. - */ -public class BaseOrganizationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseOrganizationCollectionRequestBuilder { - - /** - * The request builder for this collection of Organization - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOrganizationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOrganizationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOrganizationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new OrganizationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOrganizationRequestBuilder byId(final String id) { - return new OrganizationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionResponse.java deleted file mode 100644 index 0597f93b3d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Organization; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Collection Response. - */ -public class BaseOrganizationCollectionResponse implements IJsonBackedObject { - - /** - * The list of Organization within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequest.java deleted file mode 100644 index 2f270542ff4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationRequest; -import com.microsoft.graph.requests.extensions.OrganizationRequest; -import com.microsoft.graph.models.extensions.Organization; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Request. - */ -public class BaseOrganizationRequest extends BaseRequest implements IBaseOrganizationRequest { - - /** - * The request for the Organization - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOrganizationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Organization from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Organization from the service - * - * @return the Organization from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Organization get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Organization with a source - * - * @param sourceOrganization the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Organization sourceOrganization, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOrganization); - } - - /** - * Patches this Organization with a source - * - * @param sourceOrganization the source object with updates - * @return the updated Organization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Organization patch(final Organization sourceOrganization) throws ClientException { - return send(HttpMethod.PATCH, sourceOrganization); - } - - /** - * Creates a Organization with a new object - * - * @param newOrganization the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Organization newOrganization, final ICallback callback) { - send(HttpMethod.POST, callback, newOrganization); - } - - /** - * Creates a Organization with a new object - * - * @param newOrganization the new object to create - * @return the created Organization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Organization post(final Organization newOrganization) throws ClientException { - return send(HttpMethod.POST, newOrganization); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOrganizationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OrganizationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOrganizationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OrganizationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequestBuilder.java deleted file mode 100644 index 7a1fc7a3740..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationRequest; -import com.microsoft.graph.requests.extensions.OrganizationRequest; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder; -import com.microsoft.graph.requests.extensions.OrganizationSetMobileDeviceManagementAuthorityRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Request Builder. - */ -public class BaseOrganizationRequestBuilder extends BaseRequestBuilder implements IBaseOrganizationRequestBuilder { - - /** - * The request builder for the Organization - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOrganizationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOrganizationRequest instance - */ - public IOrganizationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOrganizationRequest instance - */ - public IOrganizationRequest buildRequest(final java.util.List requestOptions) { - return new OrganizationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - - public IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder setMobileDeviceManagementAuthority() { - return new OrganizationSetMobileDeviceManagementAuthorityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setMobileDeviceManagementAuthority"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequest.java deleted file mode 100644 index 1a0f7b9a5d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; -import com.microsoft.graph.requests.extensions.OrganizationSetMobileDeviceManagementAuthorityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Set Mobile Device Management Authority Request. - */ -public class BaseOrganizationSetMobileDeviceManagementAuthorityRequest extends BaseRequest implements IBaseOrganizationSetMobileDeviceManagementAuthorityRequest { - - /** - * The request for this OrganizationSetMobileDeviceManagementAuthority - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOrganizationSetMobileDeviceManagementAuthorityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Creates the OrganizationSetMobileDeviceManagementAuthority - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the OrganizationSetMobileDeviceManagementAuthority - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOrganizationSetMobileDeviceManagementAuthorityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OrganizationSetMobileDeviceManagementAuthorityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOrganizationSetMobileDeviceManagementAuthorityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OrganizationSetMobileDeviceManagementAuthorityRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java deleted file mode 100644 index d89a6c92ea9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; -import com.microsoft.graph.requests.extensions.OrganizationSetMobileDeviceManagementAuthorityRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Organization Set Mobile Device Management Authority Request Builder. - */ -public class BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this OrganizationSetMobileDeviceManagementAuthority - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest - * - * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance - */ - public IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance - */ - public IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest(final java.util.List requestOptions) { - OrganizationSetMobileDeviceManagementAuthorityRequest request = new OrganizationSetMobileDeviceManagementAuthorityRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionPage.java deleted file mode 100644 index 3d645a578d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OutlookCategory; -import com.microsoft.graph.requests.extensions.IOutlookCategoryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category Collection Page. - */ -public class BaseOutlookCategoryCollectionPage extends BaseCollectionPage implements IBaseOutlookCategoryCollectionPage { - - /** - * A collection page for OutlookCategory - * - * @param response the serialized BaseOutlookCategoryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseOutlookCategoryCollectionPage(final BaseOutlookCategoryCollectionResponse response, final IOutlookCategoryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequest.java deleted file mode 100644 index a452dc0e099..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category Collection Request. - */ -public class BaseOutlookCategoryCollectionRequest extends BaseCollectionRequest implements IBaseOutlookCategoryCollectionRequest { - - /** - * The request builder for this collection of OutlookCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookCategoryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOutlookCategoryCollectionResponse.class, IOutlookCategoryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOutlookCategoryCollectionPage get() throws ClientException { - final BaseOutlookCategoryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final OutlookCategory newOutlookCategory, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new OutlookCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOutlookCategory, callback); - } - - public OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new OutlookCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newOutlookCategory); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOutlookCategoryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (OutlookCategoryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOutlookCategoryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (OutlookCategoryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOutlookCategoryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (OutlookCategoryCollectionRequest)this; - } - - public IOutlookCategoryCollectionPage buildFromResponse(final BaseOutlookCategoryCollectionResponse response) { - final IOutlookCategoryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OutlookCategoryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final OutlookCategoryCollectionPage page = new OutlookCategoryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequestBuilder.java deleted file mode 100644 index 76b7b0e0301..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category Collection Request Builder. - */ -public class BaseOutlookCategoryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseOutlookCategoryCollectionRequestBuilder { - - /** - * The request builder for this collection of OutlookUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookCategoryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOutlookCategoryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOutlookCategoryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new OutlookCategoryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOutlookCategoryRequestBuilder byId(final String id) { - return new OutlookCategoryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionResponse.java deleted file mode 100644 index b05368b7122..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OutlookCategory; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category Collection Response. - */ -public class BaseOutlookCategoryCollectionResponse implements IJsonBackedObject { - - /** - * The list of OutlookCategory within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequest.java deleted file mode 100644 index 0d22ed03b41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookCategoryRequest; -import com.microsoft.graph.requests.extensions.OutlookCategoryRequest; -import com.microsoft.graph.models.extensions.OutlookCategory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category Request. - */ -public class BaseOutlookCategoryRequest extends BaseRequest implements IBaseOutlookCategoryRequest { - - /** - * The request for the OutlookCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOutlookCategoryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OutlookCategory from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OutlookCategory from the service - * - * @return the OutlookCategory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookCategory get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OutlookCategory with a source - * - * @param sourceOutlookCategory the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OutlookCategory sourceOutlookCategory, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOutlookCategory); - } - - /** - * Patches this OutlookCategory with a source - * - * @param sourceOutlookCategory the source object with updates - * @return the updated OutlookCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookCategory patch(final OutlookCategory sourceOutlookCategory) throws ClientException { - return send(HttpMethod.PATCH, sourceOutlookCategory); - } - - /** - * Creates a OutlookCategory with a new object - * - * @param newOutlookCategory the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OutlookCategory newOutlookCategory, final ICallback callback) { - send(HttpMethod.POST, callback, newOutlookCategory); - } - - /** - * Creates a OutlookCategory with a new object - * - * @param newOutlookCategory the new object to create - * @return the created OutlookCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException { - return send(HttpMethod.POST, newOutlookCategory); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOutlookCategoryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OutlookCategoryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOutlookCategoryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OutlookCategoryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequestBuilder.java deleted file mode 100644 index b24847d17a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookCategoryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookCategoryRequest; -import com.microsoft.graph.requests.extensions.OutlookCategoryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Category Request Builder. - */ -public class BaseOutlookCategoryRequestBuilder extends BaseRequestBuilder implements IBaseOutlookCategoryRequestBuilder { - - /** - * The request builder for the OutlookCategory - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookCategoryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOutlookCategoryRequest instance - */ - public IOutlookCategoryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOutlookCategoryRequest instance - */ - public IOutlookCategoryRequest buildRequest(final java.util.List requestOptions) { - return new OutlookCategoryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequest.java deleted file mode 100644 index bd5adc6ffb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookItemRequest; -import com.microsoft.graph.requests.extensions.OutlookItemRequest; -import com.microsoft.graph.models.extensions.OutlookItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Item Request. - */ -public class BaseOutlookItemRequest extends BaseRequest implements IBaseOutlookItemRequest { - - /** - * The request for the OutlookItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOutlookItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OutlookItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OutlookItem from the service - * - * @return the OutlookItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OutlookItem with a source - * - * @param sourceOutlookItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OutlookItem sourceOutlookItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOutlookItem); - } - - /** - * Patches this OutlookItem with a source - * - * @param sourceOutlookItem the source object with updates - * @return the updated OutlookItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookItem patch(final OutlookItem sourceOutlookItem) throws ClientException { - return send(HttpMethod.PATCH, sourceOutlookItem); - } - - /** - * Creates a OutlookItem with a new object - * - * @param newOutlookItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OutlookItem newOutlookItem, final ICallback callback) { - send(HttpMethod.POST, callback, newOutlookItem); - } - - /** - * Creates a OutlookItem with a new object - * - * @param newOutlookItem the new object to create - * @return the created OutlookItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookItem post(final OutlookItem newOutlookItem) throws ClientException { - return send(HttpMethod.POST, newOutlookItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOutlookItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OutlookItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOutlookItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OutlookItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequestBuilder.java deleted file mode 100644 index 0644f351e3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookItemRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookItemRequest; -import com.microsoft.graph.requests.extensions.OutlookItemRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook Item Request Builder. - */ -public class BaseOutlookItemRequestBuilder extends BaseRequestBuilder implements IBaseOutlookItemRequestBuilder { - - /** - * The request builder for the OutlookItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOutlookItemRequest instance - */ - public IOutlookItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOutlookItemRequest instance - */ - public IOutlookItemRequest buildRequest(final java.util.List requestOptions) { - return new OutlookItemRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequest.java deleted file mode 100644 index 6bb02a388e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookUserRequest; -import com.microsoft.graph.requests.extensions.OutlookUserRequest; -import com.microsoft.graph.models.extensions.OutlookUser; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Request. - */ -public class BaseOutlookUserRequest extends BaseRequest implements IBaseOutlookUserRequest { - - /** - * The request for the OutlookUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseOutlookUserRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the OutlookUser from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the OutlookUser from the service - * - * @return the OutlookUser from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookUser get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this OutlookUser with a source - * - * @param sourceOutlookUser the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final OutlookUser sourceOutlookUser, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceOutlookUser); - } - - /** - * Patches this OutlookUser with a source - * - * @param sourceOutlookUser the source object with updates - * @return the updated OutlookUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookUser patch(final OutlookUser sourceOutlookUser) throws ClientException { - return send(HttpMethod.PATCH, sourceOutlookUser); - } - - /** - * Creates a OutlookUser with a new object - * - * @param newOutlookUser the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final OutlookUser newOutlookUser, final ICallback callback) { - send(HttpMethod.POST, callback, newOutlookUser); - } - - /** - * Creates a OutlookUser with a new object - * - * @param newOutlookUser the new object to create - * @return the created OutlookUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public OutlookUser post(final OutlookUser newOutlookUser) throws ClientException { - return send(HttpMethod.POST, newOutlookUser); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOutlookUserRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (OutlookUserRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOutlookUserRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (OutlookUserRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequestBuilder.java deleted file mode 100644 index 4cd7d4d3cff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookUserRequest; -import com.microsoft.graph.requests.extensions.OutlookUserRequest; -import com.microsoft.graph.requests.extensions.IOutlookCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookUserSupportedLanguagesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookUserSupportedLanguagesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookUserSupportedTimeZonesCollectionRequestBuilder; -import com.microsoft.graph.models.generated.TimeZoneStandard; -import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookUserSupportedTimeZonesCollectionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Request Builder. - */ -public class BaseOutlookUserRequestBuilder extends BaseRequestBuilder implements IBaseOutlookUserRequestBuilder { - - /** - * The request builder for the OutlookUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IOutlookUserRequest instance - */ - public IOutlookUserRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IOutlookUserRequest instance - */ - public IOutlookUserRequest buildRequest(final java.util.List requestOptions) { - return new OutlookUserRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IOutlookCategoryCollectionRequestBuilder masterCategories() { - return new OutlookCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("masterCategories"), getClient(), null); - } - - public IOutlookCategoryRequestBuilder masterCategories(final String id) { - return new OutlookCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("masterCategories") + "/" + id, getClient(), null); - } - - public IOutlookUserSupportedLanguagesCollectionRequestBuilder supportedLanguages() { - return new OutlookUserSupportedLanguagesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.supportedLanguages"), getClient(), null); - } - - public IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones() { - return new OutlookUserSupportedTimeZonesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.supportedTimeZones"), getClient(), null); - } - - public IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones(final TimeZoneStandard timeZoneStandard) { - return new OutlookUserSupportedTimeZonesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.supportedTimeZones"), getClient(), null, timeZoneStandard); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionPage.java deleted file mode 100644 index 86a15517533..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Languages Collection Page. - */ -public class BaseOutlookUserSupportedLanguagesCollectionPage extends BaseCollectionPage implements IBaseOutlookUserSupportedLanguagesCollectionPage { - - /** - * A collection page for OutlookUserSupportedLanguages. - * - * @param response The serialized BaseOutlookUserSupportedLanguagesCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseOutlookUserSupportedLanguagesCollectionPage(final BaseOutlookUserSupportedLanguagesCollectionResponse response, final IOutlookUserSupportedLanguagesCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequest.java deleted file mode 100644 index ced5fe8ec00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Languages Collection Request. - */ -public class BaseOutlookUserSupportedLanguagesCollectionRequest extends BaseCollectionRequest implements IBaseOutlookUserSupportedLanguagesCollectionRequest { - - - /** - * The request for this OutlookUserSupportedLanguages - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookUserSupportedLanguagesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOutlookUserSupportedLanguagesCollectionResponse.class, IOutlookUserSupportedLanguagesCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOutlookUserSupportedLanguagesCollectionPage get() throws ClientException { - final BaseOutlookUserSupportedLanguagesCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IOutlookUserSupportedLanguagesCollectionPage buildFromResponse(final BaseOutlookUserSupportedLanguagesCollectionResponse response) { - final IOutlookUserSupportedLanguagesCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OutlookUserSupportedLanguagesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IOutlookUserSupportedLanguagesCollectionPage page = new OutlookUserSupportedLanguagesCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOutlookUserSupportedLanguagesCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IOutlookUserSupportedLanguagesCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOutlookUserSupportedLanguagesCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IOutlookUserSupportedLanguagesCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOutlookUserSupportedLanguagesCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IOutlookUserSupportedLanguagesCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java deleted file mode 100644 index 386516c0aee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Languages Collection Request Builder. - */ -public class BaseOutlookUserSupportedLanguagesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder { - - /** - * The request builder for this collection of OutlookUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookUserSupportedLanguagesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IOutlookUserSupportedLanguagesCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOutlookUserSupportedLanguagesCollectionRequest buildRequest(final java.util.List requestOptions) { - OutlookUserSupportedLanguagesCollectionRequest request = new OutlookUserSupportedLanguagesCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionResponse.java deleted file mode 100644 index c1347a8d8e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedLanguagesCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Languages Collection Response. - */ -public class BaseOutlookUserSupportedLanguagesCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionPage.java deleted file mode 100644 index 61957e568b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Time Zones Collection Page. - */ -public class BaseOutlookUserSupportedTimeZonesCollectionPage extends BaseCollectionPage implements IBaseOutlookUserSupportedTimeZonesCollectionPage { - - /** - * A collection page for OutlookUserSupportedTimeZones. - * - * @param response The serialized BaseOutlookUserSupportedTimeZonesCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseOutlookUserSupportedTimeZonesCollectionPage(final BaseOutlookUserSupportedTimeZonesCollectionResponse response, final IOutlookUserSupportedTimeZonesCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequest.java deleted file mode 100644 index 10cd1162a3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Time Zones Collection Request. - */ -public class BaseOutlookUserSupportedTimeZonesCollectionRequest extends BaseCollectionRequest implements IBaseOutlookUserSupportedTimeZonesCollectionRequest { - - - /** - * The request for this OutlookUserSupportedTimeZones - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookUserSupportedTimeZonesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseOutlookUserSupportedTimeZonesCollectionResponse.class, IOutlookUserSupportedTimeZonesCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IOutlookUserSupportedTimeZonesCollectionPage get() throws ClientException { - final BaseOutlookUserSupportedTimeZonesCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IOutlookUserSupportedTimeZonesCollectionPage buildFromResponse(final BaseOutlookUserSupportedTimeZonesCollectionResponse response) { - final IOutlookUserSupportedTimeZonesCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new OutlookUserSupportedTimeZonesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IOutlookUserSupportedTimeZonesCollectionPage page = new OutlookUserSupportedTimeZonesCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IOutlookUserSupportedTimeZonesCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IOutlookUserSupportedTimeZonesCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IOutlookUserSupportedTimeZonesCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IOutlookUserSupportedTimeZonesCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IOutlookUserSupportedTimeZonesCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IOutlookUserSupportedTimeZonesCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java deleted file mode 100644 index b06c51c3cba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java +++ /dev/null @@ -1,68 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Time Zones Collection Request Builder. - */ -public class BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder { - - /** - * The request builder for this collection of OutlookUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this collection of OutlookUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param timeZoneStandard the timeZoneStandard - */ - public BaseOutlookUserSupportedTimeZonesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final TimeZoneStandard timeZoneStandard) { - super(requestUrl, client, requestOptions); - if(timeZoneStandard!=null){ - functionOptions.add(new FunctionOption("timeZoneStandard", timeZoneStandard)); - } - } - - public IOutlookUserSupportedTimeZonesCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IOutlookUserSupportedTimeZonesCollectionRequest buildRequest(final java.util.List requestOptions) { - OutlookUserSupportedTimeZonesCollectionRequest request = new OutlookUserSupportedTimeZonesCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionResponse.java deleted file mode 100644 index b24b175314d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseOutlookUserSupportedTimeZonesCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Outlook User Supported Time Zones Collection Response. - */ -public class BaseOutlookUserSupportedTimeZonesCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionPage.java deleted file mode 100644 index e0b47e11008..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Permission; -import com.microsoft.graph.requests.extensions.IPermissionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission Collection Page. - */ -public class BasePermissionCollectionPage extends BaseCollectionPage implements IBasePermissionCollectionPage { - - /** - * A collection page for Permission - * - * @param response the serialized BasePermissionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BasePermissionCollectionPage(final BasePermissionCollectionResponse response, final IPermissionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequest.java deleted file mode 100644 index c22b7aa36bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission Collection Request. - */ -public class BasePermissionCollectionRequest extends BaseCollectionRequest implements IBasePermissionCollectionRequest { - - /** - * The request builder for this collection of Permission - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePermissionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BasePermissionCollectionResponse.class, IPermissionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IPermissionCollectionPage get() throws ClientException { - final BasePermissionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Permission newPermission, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new PermissionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPermission, callback); - } - - public Permission post(final Permission newPermission) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new PermissionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPermission); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPermissionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (PermissionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPermissionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (PermissionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPermissionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (PermissionCollectionRequest)this; - } - - public IPermissionCollectionPage buildFromResponse(final BasePermissionCollectionResponse response) { - final IPermissionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new PermissionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final PermissionCollectionPage page = new PermissionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequestBuilder.java deleted file mode 100644 index e2929a9d71c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission Collection Request Builder. - */ -public class BasePermissionCollectionRequestBuilder extends BaseRequestBuilder implements IBasePermissionCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePermissionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IPermissionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IPermissionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new PermissionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPermissionRequestBuilder byId(final String id) { - return new PermissionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionResponse.java deleted file mode 100644 index 460bdef8529..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Permission; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission Collection Response. - */ -public class BasePermissionCollectionResponse implements IJsonBackedObject { - - /** - * The list of Permission within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequest.java deleted file mode 100644 index 3bc7ff0b6a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPermissionRequest; -import com.microsoft.graph.requests.extensions.PermissionRequest; -import com.microsoft.graph.models.extensions.Permission; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission Request. - */ -public class BasePermissionRequest extends BaseRequest implements IBasePermissionRequest { - - /** - * The request for the Permission - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePermissionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Permission from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Permission from the service - * - * @return the Permission from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Permission get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Permission with a source - * - * @param sourcePermission the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Permission sourcePermission, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePermission); - } - - /** - * Patches this Permission with a source - * - * @param sourcePermission the source object with updates - * @return the updated Permission - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Permission patch(final Permission sourcePermission) throws ClientException { - return send(HttpMethod.PATCH, sourcePermission); - } - - /** - * Creates a Permission with a new object - * - * @param newPermission the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Permission newPermission, final ICallback callback) { - send(HttpMethod.POST, callback, newPermission); - } - - /** - * Creates a Permission with a new object - * - * @param newPermission the new object to create - * @return the created Permission - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Permission post(final Permission newPermission) throws ClientException { - return send(HttpMethod.POST, newPermission); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPermissionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PermissionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPermissionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PermissionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequestBuilder.java deleted file mode 100644 index 08f166e04ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePermissionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPermissionRequest; -import com.microsoft.graph.requests.extensions.PermissionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Permission Request Builder. - */ -public class BasePermissionRequestBuilder extends BaseRequestBuilder implements IBasePermissionRequestBuilder { - - /** - * The request builder for the Permission - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePermissionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPermissionRequest instance - */ - public IPermissionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPermissionRequest instance - */ - public IPermissionRequest buildRequest(final java.util.List requestOptions) { - return new PermissionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionPage.java deleted file mode 100644 index abd2fc986b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Person; -import com.microsoft.graph.requests.extensions.IPersonCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Collection Page. - */ -public class BasePersonCollectionPage extends BaseCollectionPage implements IBasePersonCollectionPage { - - /** - * A collection page for Person - * - * @param response the serialized BasePersonCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BasePersonCollectionPage(final BasePersonCollectionResponse response, final IPersonCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequest.java deleted file mode 100644 index 9c251036bb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Collection Request. - */ -public class BasePersonCollectionRequest extends BaseCollectionRequest implements IBasePersonCollectionRequest { - - /** - * The request builder for this collection of Person - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePersonCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BasePersonCollectionResponse.class, IPersonCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IPersonCollectionPage get() throws ClientException { - final BasePersonCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Person newPerson, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new PersonRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPerson, callback); - } - - public Person post(final Person newPerson) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new PersonRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPerson); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPersonCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (PersonCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPersonCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (PersonCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPersonCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (PersonCollectionRequest)this; - } - - public IPersonCollectionPage buildFromResponse(final BasePersonCollectionResponse response) { - final IPersonCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new PersonCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final PersonCollectionPage page = new PersonCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequestBuilder.java deleted file mode 100644 index 0b14556015f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Collection Request Builder. - */ -public class BasePersonCollectionRequestBuilder extends BaseRequestBuilder implements IBasePersonCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePersonCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IPersonCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IPersonCollectionRequest buildRequest(final java.util.List requestOptions) { - return new PersonCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPersonRequestBuilder byId(final String id) { - return new PersonRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionResponse.java deleted file mode 100644 index 34231d08462..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePersonCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Person; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Collection Response. - */ -public class BasePersonCollectionResponse implements IJsonBackedObject { - - /** - * The list of Person within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePersonRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePersonRequest.java deleted file mode 100644 index 72636dd4c3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePersonRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPersonRequest; -import com.microsoft.graph.requests.extensions.PersonRequest; -import com.microsoft.graph.models.extensions.Person; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Request. - */ -public class BasePersonRequest extends BaseRequest implements IBasePersonRequest { - - /** - * The request for the Person - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePersonRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Person from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Person from the service - * - * @return the Person from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Person get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Person with a source - * - * @param sourcePerson the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Person sourcePerson, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePerson); - } - - /** - * Patches this Person with a source - * - * @param sourcePerson the source object with updates - * @return the updated Person - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Person patch(final Person sourcePerson) throws ClientException { - return send(HttpMethod.PATCH, sourcePerson); - } - - /** - * Creates a Person with a new object - * - * @param newPerson the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Person newPerson, final ICallback callback) { - send(HttpMethod.POST, callback, newPerson); - } - - /** - * Creates a Person with a new object - * - * @param newPerson the new object to create - * @return the created Person - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Person post(final Person newPerson) throws ClientException { - return send(HttpMethod.POST, newPerson); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPersonRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PersonRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPersonRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PersonRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePersonRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePersonRequestBuilder.java deleted file mode 100644 index 15b1016cc66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePersonRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPersonRequest; -import com.microsoft.graph.requests.extensions.PersonRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Person Request Builder. - */ -public class BasePersonRequestBuilder extends BaseRequestBuilder implements IBasePersonRequestBuilder { - - /** - * The request builder for the Person - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePersonRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPersonRequest instance - */ - public IPersonRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPersonRequest instance - */ - public IPersonRequest buildRequest(final java.util.List requestOptions) { - return new PersonRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequest.java deleted file mode 100644 index f9937df3d25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.extensions.PlannerAssignedToTaskBoardTaskFormatRequest; -import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Assigned To Task Board Task Format Request. - */ -public class BasePlannerAssignedToTaskBoardTaskFormatRequest extends BaseRequest implements IBasePlannerAssignedToTaskBoardTaskFormatRequest { - - /** - * The request for the PlannerAssignedToTaskBoardTaskFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerAssignedToTaskBoardTaskFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerAssignedToTaskBoardTaskFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerAssignedToTaskBoardTaskFormat from the service - * - * @return the PlannerAssignedToTaskBoardTaskFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerAssignedToTaskBoardTaskFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerAssignedToTaskBoardTaskFormat with a source - * - * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerAssignedToTaskBoardTaskFormat); - } - - /** - * Patches this PlannerAssignedToTaskBoardTaskFormat with a source - * - * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates - * @return the updated PlannerAssignedToTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerAssignedToTaskBoardTaskFormat patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerAssignedToTaskBoardTaskFormat); - } - - /** - * Creates a PlannerAssignedToTaskBoardTaskFormat with a new object - * - * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerAssignedToTaskBoardTaskFormat); - } - - /** - * Creates a PlannerAssignedToTaskBoardTaskFormat with a new object - * - * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create - * @return the created PlannerAssignedToTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerAssignedToTaskBoardTaskFormat post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException { - return send(HttpMethod.POST, newPlannerAssignedToTaskBoardTaskFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerAssignedToTaskBoardTaskFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerAssignedToTaskBoardTaskFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerAssignedToTaskBoardTaskFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerAssignedToTaskBoardTaskFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java deleted file mode 100644 index d26565ce26d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.extensions.PlannerAssignedToTaskBoardTaskFormatRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Assigned To Task Board Task Format Request Builder. - */ -public class BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder extends BaseRequestBuilder implements IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder { - - /** - * The request builder for the PlannerAssignedToTaskBoardTaskFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerAssignedToTaskBoardTaskFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance - */ - public IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance - */ - public IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions) { - return new PlannerAssignedToTaskBoardTaskFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionPage.java deleted file mode 100644 index ef08018351e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerBucket; -import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Collection Page. - */ -public class BasePlannerBucketCollectionPage extends BaseCollectionPage implements IBasePlannerBucketCollectionPage { - - /** - * A collection page for PlannerBucket - * - * @param response the serialized BasePlannerBucketCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BasePlannerBucketCollectionPage(final BasePlannerBucketCollectionResponse response, final IPlannerBucketCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequest.java deleted file mode 100644 index 0551def6173..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Collection Request. - */ -public class BasePlannerBucketCollectionRequest extends BaseCollectionRequest implements IBasePlannerBucketCollectionRequest { - - /** - * The request builder for this collection of PlannerBucket - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerBucketCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BasePlannerBucketCollectionResponse.class, IPlannerBucketCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IPlannerBucketCollectionPage get() throws ClientException { - final BasePlannerBucketCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final PlannerBucket newPlannerBucket, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new PlannerBucketRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPlannerBucket, callback); - } - - public PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new PlannerBucketRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPlannerBucket); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerBucketCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (PlannerBucketCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerBucketCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (PlannerBucketCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPlannerBucketCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (PlannerBucketCollectionRequest)this; - } - - public IPlannerBucketCollectionPage buildFromResponse(final BasePlannerBucketCollectionResponse response) { - final IPlannerBucketCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new PlannerBucketCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final PlannerBucketCollectionPage page = new PlannerBucketCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequestBuilder.java deleted file mode 100644 index 5d79658ad25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Collection Request Builder. - */ -public class BasePlannerBucketCollectionRequestBuilder extends BaseRequestBuilder implements IBasePlannerBucketCollectionRequestBuilder { - - /** - * The request builder for this collection of Planner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerBucketCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IPlannerBucketCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IPlannerBucketCollectionRequest buildRequest(final java.util.List requestOptions) { - return new PlannerBucketCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerBucketRequestBuilder byId(final String id) { - return new PlannerBucketRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionResponse.java deleted file mode 100644 index 8ffb27c7932..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerBucket; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Collection Response. - */ -public class BasePlannerBucketCollectionResponse implements IJsonBackedObject { - - /** - * The list of PlannerBucket within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequest.java deleted file mode 100644 index 4071d9f9537..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequest; -import com.microsoft.graph.requests.extensions.PlannerBucketRequest; -import com.microsoft.graph.models.extensions.PlannerBucket; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Request. - */ -public class BasePlannerBucketRequest extends BaseRequest implements IBasePlannerBucketRequest { - - /** - * The request for the PlannerBucket - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerBucketRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerBucket from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerBucket from the service - * - * @return the PlannerBucket from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerBucket get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerBucket with a source - * - * @param sourcePlannerBucket the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerBucket sourcePlannerBucket, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerBucket); - } - - /** - * Patches this PlannerBucket with a source - * - * @param sourcePlannerBucket the source object with updates - * @return the updated PlannerBucket - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerBucket patch(final PlannerBucket sourcePlannerBucket) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerBucket); - } - - /** - * Creates a PlannerBucket with a new object - * - * @param newPlannerBucket the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerBucket newPlannerBucket, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerBucket); - } - - /** - * Creates a PlannerBucket with a new object - * - * @param newPlannerBucket the new object to create - * @return the created PlannerBucket - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException { - return send(HttpMethod.POST, newPlannerBucket); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerBucketRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerBucketRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerBucketRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerBucketRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequestBuilder.java deleted file mode 100644 index 905c6ec40de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequest; -import com.microsoft.graph.requests.extensions.PlannerBucketRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Request Builder. - */ -public class BasePlannerBucketRequestBuilder extends BaseRequestBuilder implements IBasePlannerBucketRequestBuilder { - - /** - * The request builder for the PlannerBucket - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerBucketRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerBucketRequest instance - */ - public IPlannerBucketRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerBucketRequest instance - */ - public IPlannerBucketRequest buildRequest(final java.util.List requestOptions) { - return new PlannerBucketRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerTaskCollectionRequestBuilder tasks() { - return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); - } - - public IPlannerTaskRequestBuilder tasks(final String id) { - return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequest.java deleted file mode 100644 index 9942d186074..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.extensions.PlannerBucketTaskBoardTaskFormatRequest; -import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Task Board Task Format Request. - */ -public class BasePlannerBucketTaskBoardTaskFormatRequest extends BaseRequest implements IBasePlannerBucketTaskBoardTaskFormatRequest { - - /** - * The request for the PlannerBucketTaskBoardTaskFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerBucketTaskBoardTaskFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerBucketTaskBoardTaskFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerBucketTaskBoardTaskFormat from the service - * - * @return the PlannerBucketTaskBoardTaskFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerBucketTaskBoardTaskFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerBucketTaskBoardTaskFormat with a source - * - * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerBucketTaskBoardTaskFormat); - } - - /** - * Patches this PlannerBucketTaskBoardTaskFormat with a source - * - * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates - * @return the updated PlannerBucketTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerBucketTaskBoardTaskFormat patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerBucketTaskBoardTaskFormat); - } - - /** - * Creates a PlannerBucketTaskBoardTaskFormat with a new object - * - * @param newPlannerBucketTaskBoardTaskFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerBucketTaskBoardTaskFormat); - } - - /** - * Creates a PlannerBucketTaskBoardTaskFormat with a new object - * - * @param newPlannerBucketTaskBoardTaskFormat the new object to create - * @return the created PlannerBucketTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerBucketTaskBoardTaskFormat post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException { - return send(HttpMethod.POST, newPlannerBucketTaskBoardTaskFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerBucketTaskBoardTaskFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerBucketTaskBoardTaskFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerBucketTaskBoardTaskFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerBucketTaskBoardTaskFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequestBuilder.java deleted file mode 100644 index a7b42b45990..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerBucketTaskBoardTaskFormatRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.extensions.PlannerBucketTaskBoardTaskFormatRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Bucket Task Board Task Format Request Builder. - */ -public class BasePlannerBucketTaskBoardTaskFormatRequestBuilder extends BaseRequestBuilder implements IBasePlannerBucketTaskBoardTaskFormatRequestBuilder { - - /** - * The request builder for the PlannerBucketTaskBoardTaskFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerBucketTaskBoardTaskFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerBucketTaskBoardTaskFormatRequest instance - */ - public IPlannerBucketTaskBoardTaskFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerBucketTaskBoardTaskFormatRequest instance - */ - public IPlannerBucketTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions) { - return new PlannerBucketTaskBoardTaskFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequest.java deleted file mode 100644 index 5444ae0fe93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerGroupRequest; -import com.microsoft.graph.requests.extensions.PlannerGroupRequest; -import com.microsoft.graph.models.extensions.PlannerGroup; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Group Request. - */ -public class BasePlannerGroupRequest extends BaseRequest implements IBasePlannerGroupRequest { - - /** - * The request for the PlannerGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerGroupRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerGroup from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerGroup from the service - * - * @return the PlannerGroup from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerGroup get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerGroup with a source - * - * @param sourcePlannerGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerGroup sourcePlannerGroup, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerGroup); - } - - /** - * Patches this PlannerGroup with a source - * - * @param sourcePlannerGroup the source object with updates - * @return the updated PlannerGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerGroup patch(final PlannerGroup sourcePlannerGroup) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerGroup); - } - - /** - * Creates a PlannerGroup with a new object - * - * @param newPlannerGroup the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerGroup newPlannerGroup, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerGroup); - } - - /** - * Creates a PlannerGroup with a new object - * - * @param newPlannerGroup the new object to create - * @return the created PlannerGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerGroup post(final PlannerGroup newPlannerGroup) throws ClientException { - return send(HttpMethod.POST, newPlannerGroup); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerGroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerGroupRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequestBuilder.java deleted file mode 100644 index 7926e0f0be5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerGroupRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerGroupRequest; -import com.microsoft.graph.requests.extensions.PlannerGroupRequest; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Group Request Builder. - */ -public class BasePlannerGroupRequestBuilder extends BaseRequestBuilder implements IBasePlannerGroupRequestBuilder { - - /** - * The request builder for the PlannerGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerGroupRequest instance - */ - public IPlannerGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerGroupRequest instance - */ - public IPlannerGroupRequest buildRequest(final java.util.List requestOptions) { - return new PlannerGroupRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerPlanCollectionRequestBuilder plans() { - return new PlannerPlanCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("plans"), getClient(), null); - } - - public IPlannerPlanRequestBuilder plans(final String id) { - return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment("plans") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionPage.java deleted file mode 100644 index 8a97de4f9ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerPlan; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Collection Page. - */ -public class BasePlannerPlanCollectionPage extends BaseCollectionPage implements IBasePlannerPlanCollectionPage { - - /** - * A collection page for PlannerPlan - * - * @param response the serialized BasePlannerPlanCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BasePlannerPlanCollectionPage(final BasePlannerPlanCollectionResponse response, final IPlannerPlanCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequest.java deleted file mode 100644 index c468fe595ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Collection Request. - */ -public class BasePlannerPlanCollectionRequest extends BaseCollectionRequest implements IBasePlannerPlanCollectionRequest { - - /** - * The request builder for this collection of PlannerPlan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerPlanCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BasePlannerPlanCollectionResponse.class, IPlannerPlanCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IPlannerPlanCollectionPage get() throws ClientException { - final BasePlannerPlanCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final PlannerPlan newPlannerPlan, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new PlannerPlanRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPlannerPlan, callback); - } - - public PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new PlannerPlanRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPlannerPlan); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerPlanCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (PlannerPlanCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerPlanCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (PlannerPlanCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPlannerPlanCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (PlannerPlanCollectionRequest)this; - } - - public IPlannerPlanCollectionPage buildFromResponse(final BasePlannerPlanCollectionResponse response) { - final IPlannerPlanCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new PlannerPlanCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final PlannerPlanCollectionPage page = new PlannerPlanCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequestBuilder.java deleted file mode 100644 index ac55f80cb5c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Collection Request Builder. - */ -public class BasePlannerPlanCollectionRequestBuilder extends BaseRequestBuilder implements IBasePlannerPlanCollectionRequestBuilder { - - /** - * The request builder for this collection of Planner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerPlanCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IPlannerPlanCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IPlannerPlanCollectionRequest buildRequest(final java.util.List requestOptions) { - return new PlannerPlanCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerPlanRequestBuilder byId(final String id) { - return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionResponse.java deleted file mode 100644 index 4d8045ef96d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerPlan; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Collection Response. - */ -public class BasePlannerPlanCollectionResponse implements IJsonBackedObject { - - /** - * The list of PlannerPlan within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequest.java deleted file mode 100644 index ee08ddd466b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequest; -import com.microsoft.graph.requests.extensions.PlannerPlanDetailsRequest; -import com.microsoft.graph.models.extensions.PlannerPlanDetails; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Details Request. - */ -public class BasePlannerPlanDetailsRequest extends BaseRequest implements IBasePlannerPlanDetailsRequest { - - /** - * The request for the PlannerPlanDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerPlanDetailsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerPlanDetails from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerPlanDetails from the service - * - * @return the PlannerPlanDetails from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerPlanDetails get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerPlanDetails with a source - * - * @param sourcePlannerPlanDetails the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerPlanDetails sourcePlannerPlanDetails, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerPlanDetails); - } - - /** - * Patches this PlannerPlanDetails with a source - * - * @param sourcePlannerPlanDetails the source object with updates - * @return the updated PlannerPlanDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerPlanDetails patch(final PlannerPlanDetails sourcePlannerPlanDetails) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerPlanDetails); - } - - /** - * Creates a PlannerPlanDetails with a new object - * - * @param newPlannerPlanDetails the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerPlanDetails newPlannerPlanDetails, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerPlanDetails); - } - - /** - * Creates a PlannerPlanDetails with a new object - * - * @param newPlannerPlanDetails the new object to create - * @return the created PlannerPlanDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerPlanDetails post(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException { - return send(HttpMethod.POST, newPlannerPlanDetails); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerPlanDetailsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerPlanDetailsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerPlanDetailsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerPlanDetailsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequestBuilder.java deleted file mode 100644 index 2873ab62c36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanDetailsRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequest; -import com.microsoft.graph.requests.extensions.PlannerPlanDetailsRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Details Request Builder. - */ -public class BasePlannerPlanDetailsRequestBuilder extends BaseRequestBuilder implements IBasePlannerPlanDetailsRequestBuilder { - - /** - * The request builder for the PlannerPlanDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerPlanDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerPlanDetailsRequest instance - */ - public IPlannerPlanDetailsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerPlanDetailsRequest instance - */ - public IPlannerPlanDetailsRequest buildRequest(final java.util.List requestOptions) { - return new PlannerPlanDetailsRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequest.java deleted file mode 100644 index b1fc79ac8b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequest; -import com.microsoft.graph.requests.extensions.PlannerPlanRequest; -import com.microsoft.graph.models.extensions.PlannerPlan; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Request. - */ -public class BasePlannerPlanRequest extends BaseRequest implements IBasePlannerPlanRequest { - - /** - * The request for the PlannerPlan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerPlanRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerPlan from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerPlan from the service - * - * @return the PlannerPlan from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerPlan get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerPlan with a source - * - * @param sourcePlannerPlan the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerPlan sourcePlannerPlan, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerPlan); - } - - /** - * Patches this PlannerPlan with a source - * - * @param sourcePlannerPlan the source object with updates - * @return the updated PlannerPlan - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerPlan patch(final PlannerPlan sourcePlannerPlan) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerPlan); - } - - /** - * Creates a PlannerPlan with a new object - * - * @param newPlannerPlan the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerPlan newPlannerPlan, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerPlan); - } - - /** - * Creates a PlannerPlan with a new object - * - * @param newPlannerPlan the new object to create - * @return the created PlannerPlan - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException { - return send(HttpMethod.POST, newPlannerPlan); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerPlanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerPlanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerPlanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerPlanRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequestBuilder.java deleted file mode 100644 index 71ac27de3d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerPlanRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequest; -import com.microsoft.graph.requests.extensions.PlannerPlanRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerBucketRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanDetailsRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Plan Request Builder. - */ -public class BasePlannerPlanRequestBuilder extends BaseRequestBuilder implements IBasePlannerPlanRequestBuilder { - - /** - * The request builder for the PlannerPlan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerPlanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerPlanRequest instance - */ - public IPlannerPlanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerPlanRequest instance - */ - public IPlannerPlanRequest buildRequest(final java.util.List requestOptions) { - return new PlannerPlanRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerTaskCollectionRequestBuilder tasks() { - return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); - } - - public IPlannerTaskRequestBuilder tasks(final String id) { - return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); - } - public IPlannerBucketCollectionRequestBuilder buckets() { - return new PlannerBucketCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("buckets"), getClient(), null); - } - - public IPlannerBucketRequestBuilder buckets(final String id) { - return new PlannerBucketRequestBuilder(getRequestUrlWithAdditionalSegment("buckets") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for PlannerPlanDetails - * - * @return the IPlannerPlanDetailsRequestBuilder instance - */ - public IPlannerPlanDetailsRequestBuilder details() { - return new PlannerPlanDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("details"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequest.java deleted file mode 100644 index 39a338457f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.extensions.PlannerProgressTaskBoardTaskFormatRequest; -import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Progress Task Board Task Format Request. - */ -public class BasePlannerProgressTaskBoardTaskFormatRequest extends BaseRequest implements IBasePlannerProgressTaskBoardTaskFormatRequest { - - /** - * The request for the PlannerProgressTaskBoardTaskFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerProgressTaskBoardTaskFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerProgressTaskBoardTaskFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerProgressTaskBoardTaskFormat from the service - * - * @return the PlannerProgressTaskBoardTaskFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerProgressTaskBoardTaskFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerProgressTaskBoardTaskFormat with a source - * - * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerProgressTaskBoardTaskFormat); - } - - /** - * Patches this PlannerProgressTaskBoardTaskFormat with a source - * - * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates - * @return the updated PlannerProgressTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerProgressTaskBoardTaskFormat patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerProgressTaskBoardTaskFormat); - } - - /** - * Creates a PlannerProgressTaskBoardTaskFormat with a new object - * - * @param newPlannerProgressTaskBoardTaskFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerProgressTaskBoardTaskFormat); - } - - /** - * Creates a PlannerProgressTaskBoardTaskFormat with a new object - * - * @param newPlannerProgressTaskBoardTaskFormat the new object to create - * @return the created PlannerProgressTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerProgressTaskBoardTaskFormat post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException { - return send(HttpMethod.POST, newPlannerProgressTaskBoardTaskFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerProgressTaskBoardTaskFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerProgressTaskBoardTaskFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerProgressTaskBoardTaskFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerProgressTaskBoardTaskFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequestBuilder.java deleted file mode 100644 index 2e0dabf9977..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerProgressTaskBoardTaskFormatRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequest; -import com.microsoft.graph.requests.extensions.PlannerProgressTaskBoardTaskFormatRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Progress Task Board Task Format Request Builder. - */ -public class BasePlannerProgressTaskBoardTaskFormatRequestBuilder extends BaseRequestBuilder implements IBasePlannerProgressTaskBoardTaskFormatRequestBuilder { - - /** - * The request builder for the PlannerProgressTaskBoardTaskFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerProgressTaskBoardTaskFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerProgressTaskBoardTaskFormatRequest instance - */ - public IPlannerProgressTaskBoardTaskFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerProgressTaskBoardTaskFormatRequest instance - */ - public IPlannerProgressTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions) { - return new PlannerProgressTaskBoardTaskFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequest.java deleted file mode 100644 index 921edfdcd6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerRequest; -import com.microsoft.graph.requests.extensions.PlannerRequest; -import com.microsoft.graph.models.extensions.Planner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Request. - */ -public class BasePlannerRequest extends BaseRequest implements IBasePlannerRequest { - - /** - * The request for the Planner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Planner from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Planner from the service - * - * @return the Planner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Planner get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Planner with a source - * - * @param sourcePlanner the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Planner sourcePlanner, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlanner); - } - - /** - * Patches this Planner with a source - * - * @param sourcePlanner the source object with updates - * @return the updated Planner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Planner patch(final Planner sourcePlanner) throws ClientException { - return send(HttpMethod.PATCH, sourcePlanner); - } - - /** - * Creates a Planner with a new object - * - * @param newPlanner the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Planner newPlanner, final ICallback callback) { - send(HttpMethod.POST, callback, newPlanner); - } - - /** - * Creates a Planner with a new object - * - * @param newPlanner the new object to create - * @return the created Planner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Planner post(final Planner newPlanner) throws ClientException { - return send(HttpMethod.POST, newPlanner); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequestBuilder.java deleted file mode 100644 index 6e1a3d97abb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerRequest; -import com.microsoft.graph.requests.extensions.PlannerRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerBucketRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Request Builder. - */ -public class BasePlannerRequestBuilder extends BaseRequestBuilder implements IBasePlannerRequestBuilder { - - /** - * The request builder for the Planner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerRequest instance - */ - public IPlannerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerRequest instance - */ - public IPlannerRequest buildRequest(final java.util.List requestOptions) { - return new PlannerRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerTaskCollectionRequestBuilder tasks() { - return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); - } - - public IPlannerTaskRequestBuilder tasks(final String id) { - return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); - } - public IPlannerPlanCollectionRequestBuilder plans() { - return new PlannerPlanCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("plans"), getClient(), null); - } - - public IPlannerPlanRequestBuilder plans(final String id) { - return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment("plans") + "/" + id, getClient(), null); - } - public IPlannerBucketCollectionRequestBuilder buckets() { - return new PlannerBucketCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("buckets"), getClient(), null); - } - - public IPlannerBucketRequestBuilder buckets(final String id) { - return new PlannerBucketRequestBuilder(getRequestUrlWithAdditionalSegment("buckets") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionPage.java deleted file mode 100644 index a3cd2c958be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Collection Page. - */ -public class BasePlannerTaskCollectionPage extends BaseCollectionPage implements IBasePlannerTaskCollectionPage { - - /** - * A collection page for PlannerTask - * - * @param response the serialized BasePlannerTaskCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BasePlannerTaskCollectionPage(final BasePlannerTaskCollectionResponse response, final IPlannerTaskCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequest.java deleted file mode 100644 index 1700dd04fbe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Collection Request. - */ -public class BasePlannerTaskCollectionRequest extends BaseCollectionRequest implements IBasePlannerTaskCollectionRequest { - - /** - * The request builder for this collection of PlannerTask - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerTaskCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BasePlannerTaskCollectionResponse.class, IPlannerTaskCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IPlannerTaskCollectionPage get() throws ClientException { - final BasePlannerTaskCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final PlannerTask newPlannerTask, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new PlannerTaskRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPlannerTask, callback); - } - - public PlannerTask post(final PlannerTask newPlannerTask) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new PlannerTaskRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPlannerTask); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerTaskCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (PlannerTaskCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerTaskCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (PlannerTaskCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPlannerTaskCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (PlannerTaskCollectionRequest)this; - } - - public IPlannerTaskCollectionPage buildFromResponse(final BasePlannerTaskCollectionResponse response) { - final IPlannerTaskCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new PlannerTaskCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final PlannerTaskCollectionPage page = new PlannerTaskCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequestBuilder.java deleted file mode 100644 index 826b5f3f6de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Collection Request Builder. - */ -public class BasePlannerTaskCollectionRequestBuilder extends BaseRequestBuilder implements IBasePlannerTaskCollectionRequestBuilder { - - /** - * The request builder for this collection of PlannerBucket - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerTaskCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IPlannerTaskCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IPlannerTaskCollectionRequest buildRequest(final java.util.List requestOptions) { - return new PlannerTaskCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerTaskRequestBuilder byId(final String id) { - return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionResponse.java deleted file mode 100644 index 46c3345a9c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerTask; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Collection Response. - */ -public class BasePlannerTaskCollectionResponse implements IJsonBackedObject { - - /** - * The list of PlannerTask within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequest.java deleted file mode 100644 index 84049fac423..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequest; -import com.microsoft.graph.requests.extensions.PlannerTaskDetailsRequest; -import com.microsoft.graph.models.extensions.PlannerTaskDetails; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Details Request. - */ -public class BasePlannerTaskDetailsRequest extends BaseRequest implements IBasePlannerTaskDetailsRequest { - - /** - * The request for the PlannerTaskDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerTaskDetailsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerTaskDetails from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerTaskDetails from the service - * - * @return the PlannerTaskDetails from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerTaskDetails get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerTaskDetails with a source - * - * @param sourcePlannerTaskDetails the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerTaskDetails sourcePlannerTaskDetails, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerTaskDetails); - } - - /** - * Patches this PlannerTaskDetails with a source - * - * @param sourcePlannerTaskDetails the source object with updates - * @return the updated PlannerTaskDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerTaskDetails patch(final PlannerTaskDetails sourcePlannerTaskDetails) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerTaskDetails); - } - - /** - * Creates a PlannerTaskDetails with a new object - * - * @param newPlannerTaskDetails the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerTaskDetails newPlannerTaskDetails, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerTaskDetails); - } - - /** - * Creates a PlannerTaskDetails with a new object - * - * @param newPlannerTaskDetails the new object to create - * @return the created PlannerTaskDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerTaskDetails post(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException { - return send(HttpMethod.POST, newPlannerTaskDetails); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerTaskDetailsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerTaskDetailsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerTaskDetailsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerTaskDetailsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequestBuilder.java deleted file mode 100644 index 1961a6f108b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskDetailsRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequest; -import com.microsoft.graph.requests.extensions.PlannerTaskDetailsRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Details Request Builder. - */ -public class BasePlannerTaskDetailsRequestBuilder extends BaseRequestBuilder implements IBasePlannerTaskDetailsRequestBuilder { - - /** - * The request builder for the PlannerTaskDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerTaskDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerTaskDetailsRequest instance - */ - public IPlannerTaskDetailsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerTaskDetailsRequest instance - */ - public IPlannerTaskDetailsRequest buildRequest(final java.util.List requestOptions) { - return new PlannerTaskDetailsRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequest.java deleted file mode 100644 index e130e6b1365..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequest; -import com.microsoft.graph.requests.extensions.PlannerTaskRequest; -import com.microsoft.graph.models.extensions.PlannerTask; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Request. - */ -public class BasePlannerTaskRequest extends BaseRequest implements IBasePlannerTaskRequest { - - /** - * The request for the PlannerTask - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerTaskRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerTask from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerTask from the service - * - * @return the PlannerTask from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerTask get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerTask with a source - * - * @param sourcePlannerTask the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerTask sourcePlannerTask, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerTask); - } - - /** - * Patches this PlannerTask with a source - * - * @param sourcePlannerTask the source object with updates - * @return the updated PlannerTask - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerTask patch(final PlannerTask sourcePlannerTask) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerTask); - } - - /** - * Creates a PlannerTask with a new object - * - * @param newPlannerTask the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerTask newPlannerTask, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerTask); - } - - /** - * Creates a PlannerTask with a new object - * - * @param newPlannerTask the new object to create - * @return the created PlannerTask - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerTask post(final PlannerTask newPlannerTask) throws ClientException { - return send(HttpMethod.POST, newPlannerTask); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerTaskRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerTaskRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerTaskRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerTaskRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequestBuilder.java deleted file mode 100644 index 12fa403a9f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerTaskRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequest; -import com.microsoft.graph.requests.extensions.PlannerTaskRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerAssignedToTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerProgressTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerBucketTaskBoardTaskFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner Task Request Builder. - */ -public class BasePlannerTaskRequestBuilder extends BaseRequestBuilder implements IBasePlannerTaskRequestBuilder { - - /** - * The request builder for the PlannerTask - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerTaskRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerTaskRequest instance - */ - public IPlannerTaskRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerTaskRequest instance - */ - public IPlannerTaskRequest buildRequest(final java.util.List requestOptions) { - return new PlannerTaskRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for PlannerTaskDetails - * - * @return the IPlannerTaskDetailsRequestBuilder instance - */ - public IPlannerTaskDetailsRequestBuilder details() { - return new PlannerTaskDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("details"), getClient(), null); - } - - /** - * Gets the request builder for PlannerAssignedToTaskBoardTaskFormat - * - * @return the IPlannerAssignedToTaskBoardTaskFormatRequestBuilder instance - */ - public IPlannerAssignedToTaskBoardTaskFormatRequestBuilder assignedToTaskBoardFormat() { - return new PlannerAssignedToTaskBoardTaskFormatRequestBuilder(getRequestUrlWithAdditionalSegment("assignedToTaskBoardFormat"), getClient(), null); - } - - /** - * Gets the request builder for PlannerProgressTaskBoardTaskFormat - * - * @return the IPlannerProgressTaskBoardTaskFormatRequestBuilder instance - */ - public IPlannerProgressTaskBoardTaskFormatRequestBuilder progressTaskBoardFormat() { - return new PlannerProgressTaskBoardTaskFormatRequestBuilder(getRequestUrlWithAdditionalSegment("progressTaskBoardFormat"), getClient(), null); - } - - /** - * Gets the request builder for PlannerBucketTaskBoardTaskFormat - * - * @return the IPlannerBucketTaskBoardTaskFormatRequestBuilder instance - */ - public IPlannerBucketTaskBoardTaskFormatRequestBuilder bucketTaskBoardFormat() { - return new PlannerBucketTaskBoardTaskFormatRequestBuilder(getRequestUrlWithAdditionalSegment("bucketTaskBoardFormat"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequest.java deleted file mode 100644 index b765c5474b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerUserRequest; -import com.microsoft.graph.requests.extensions.PlannerUserRequest; -import com.microsoft.graph.models.extensions.PlannerUser; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner User Request. - */ -public class BasePlannerUserRequest extends BaseRequest implements IBasePlannerUserRequest { - - /** - * The request for the PlannerUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePlannerUserRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the PlannerUser from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the PlannerUser from the service - * - * @return the PlannerUser from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerUser get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this PlannerUser with a source - * - * @param sourcePlannerUser the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final PlannerUser sourcePlannerUser, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePlannerUser); - } - - /** - * Patches this PlannerUser with a source - * - * @param sourcePlannerUser the source object with updates - * @return the updated PlannerUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerUser patch(final PlannerUser sourcePlannerUser) throws ClientException { - return send(HttpMethod.PATCH, sourcePlannerUser); - } - - /** - * Creates a PlannerUser with a new object - * - * @param newPlannerUser the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final PlannerUser newPlannerUser, final ICallback callback) { - send(HttpMethod.POST, callback, newPlannerUser); - } - - /** - * Creates a PlannerUser with a new object - * - * @param newPlannerUser the new object to create - * @return the created PlannerUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public PlannerUser post(final PlannerUser newPlannerUser) throws ClientException { - return send(HttpMethod.POST, newPlannerUser); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPlannerUserRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PlannerUserRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPlannerUserRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PlannerUserRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequestBuilder.java deleted file mode 100644 index d7c7ee66323..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePlannerUserRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerUserRequest; -import com.microsoft.graph.requests.extensions.PlannerUserRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerPlanRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Planner User Request Builder. - */ -public class BasePlannerUserRequestBuilder extends BaseRequestBuilder implements IBasePlannerUserRequestBuilder { - - /** - * The request builder for the PlannerUser - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePlannerUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPlannerUserRequest instance - */ - public IPlannerUserRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPlannerUserRequest instance - */ - public IPlannerUserRequest buildRequest(final java.util.List requestOptions) { - return new PlannerUserRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPlannerTaskCollectionRequestBuilder tasks() { - return new PlannerTaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null); - } - - public IPlannerTaskRequestBuilder tasks(final String id) { - return new PlannerTaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null); - } - public IPlannerPlanCollectionRequestBuilder plans() { - return new PlannerPlanCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("plans"), getClient(), null); - } - - public IPlannerPlanRequestBuilder plans(final String id) { - return new PlannerPlanRequestBuilder(getRequestUrlWithAdditionalSegment("plans") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionPage.java deleted file mode 100644 index d2e06da01ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.requests.extensions.IPostCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Collection Page. - */ -public class BasePostCollectionPage extends BaseCollectionPage implements IBasePostCollectionPage { - - /** - * A collection page for Post - * - * @param response the serialized BasePostCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BasePostCollectionPage(final BasePostCollectionResponse response, final IPostCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequest.java deleted file mode 100644 index 8381847fd2f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Collection Request. - */ -public class BasePostCollectionRequest extends BaseCollectionRequest implements IBasePostCollectionRequest { - - /** - * The request builder for this collection of Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePostCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BasePostCollectionResponse.class, IPostCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IPostCollectionPage get() throws ClientException { - final BasePostCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Post newPost, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new PostRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPost, callback); - } - - public Post post(final Post newPost) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new PostRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newPost); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPostCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (PostCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPostCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (PostCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPostCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (PostCollectionRequest)this; - } - - public IPostCollectionPage buildFromResponse(final BasePostCollectionResponse response) { - final IPostCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new PostCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final PostCollectionPage page = new PostCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequestBuilder.java deleted file mode 100644 index 39953355178..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Collection Request Builder. - */ -public class BasePostCollectionRequestBuilder extends BaseRequestBuilder implements IBasePostCollectionRequestBuilder { - - /** - * The request builder for this collection of ConversationThread - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePostCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IPostCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IPostCollectionRequest buildRequest(final java.util.List requestOptions) { - return new PostCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IPostRequestBuilder byId(final String id) { - return new PostRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionResponse.java deleted file mode 100644 index 1fba4978230..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Post; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Collection Response. - */ -public class BasePostCollectionResponse implements IJsonBackedObject { - - /** - * The list of Post within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequest.java deleted file mode 100644 index 9d6131d6b7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PostForwardBody; -import com.microsoft.graph.requests.extensions.IPostForwardRequest; -import com.microsoft.graph.requests.extensions.PostForwardRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Forward Request. - */ -public class BasePostForwardRequest extends BaseRequest implements IBasePostForwardRequest { - protected final PostForwardBody body; - - /** - * The request for this PostForward - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePostForwardRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new PostForwardBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPostForwardRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PostForwardRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPostForwardRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (PostForwardRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPostForwardRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PostForwardRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequestBuilder.java deleted file mode 100644 index 77d5ce47003..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostForwardRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostForwardRequest; -import com.microsoft.graph.requests.extensions.PostForwardRequest; -import com.microsoft.graph.models.extensions.Recipient; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Forward Request Builder. - */ -public class BasePostForwardRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this PostForward - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param comment the comment - * @param toRecipients the toRecipients - */ - public BasePostForwardRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String comment, final java.util.List toRecipients) { - super(requestUrl, client, requestOptions); - bodyParams.put("comment", comment); - bodyParams.put("toRecipients", toRecipients); - } - - /** - * Creates the IPostForwardRequest - * - * @return the IPostForwardRequest instance - */ - public IPostForwardRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IPostForwardRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IPostForwardRequest instance - */ - public IPostForwardRequest buildRequest(final java.util.List requestOptions) { - PostForwardRequest request = new PostForwardRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - if (hasParameter("toRecipients")) { - request.body.toRecipients = getParameter("toRecipients"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequest.java deleted file mode 100644 index 4dbd145b12e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PostReplyBody; -import com.microsoft.graph.requests.extensions.IPostReplyRequest; -import com.microsoft.graph.requests.extensions.PostReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Reply Request. - */ -public class BasePostReplyRequest extends BaseRequest implements IBasePostReplyRequest { - protected final PostReplyBody body; - - /** - * The request for this PostReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePostReplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new PostReplyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPostReplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PostReplyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IPostReplyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (PostReplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPostReplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PostReplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequestBuilder.java deleted file mode 100644 index f4680d257ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostReplyRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostReplyRequest; -import com.microsoft.graph.requests.extensions.PostReplyRequest; -import com.microsoft.graph.models.extensions.Post; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Reply Request Builder. - */ -public class BasePostReplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this PostReply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param post the post - */ - public BasePostReplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Post post) { - super(requestUrl, client, requestOptions); - bodyParams.put("post", post); - } - - /** - * Creates the IPostReplyRequest - * - * @return the IPostReplyRequest instance - */ - public IPostReplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IPostReplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IPostReplyRequest instance - */ - public IPostReplyRequest buildRequest(final java.util.List requestOptions) { - PostReplyRequest request = new PostReplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("post")) { - request.body.post = getParameter("post"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostRequest.java deleted file mode 100644 index 0b211212d73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostRequest; -import com.microsoft.graph.requests.extensions.PostRequest; -import com.microsoft.graph.models.extensions.Post; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Request. - */ -public class BasePostRequest extends BaseRequest implements IBasePostRequest { - - /** - * The request for the Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BasePostRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Post from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Post from the service - * - * @return the Post from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Post get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Post with a source - * - * @param sourcePost the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Post sourcePost, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourcePost); - } - - /** - * Patches this Post with a source - * - * @param sourcePost the source object with updates - * @return the updated Post - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Post patch(final Post sourcePost) throws ClientException { - return send(HttpMethod.PATCH, sourcePost); - } - - /** - * Creates a Post with a new object - * - * @param newPost the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Post newPost, final ICallback callback) { - send(HttpMethod.POST, callback, newPost); - } - - /** - * Creates a Post with a new object - * - * @param newPost the new object to create - * @return the created Post - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Post post(final Post newPost) throws ClientException { - return send(HttpMethod.POST, newPost); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IPostRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (PostRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IPostRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (PostRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BasePostRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BasePostRequestBuilder.java deleted file mode 100644 index 4f86cef0554..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BasePostRequestBuilder.java +++ /dev/null @@ -1,121 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostRequest; -import com.microsoft.graph.requests.extensions.PostRequest; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPostRequestBuilder; -import com.microsoft.graph.requests.extensions.PostRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.AttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.AttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.requests.extensions.IPostForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.PostForwardRequestBuilder; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.requests.extensions.IPostReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.PostReplyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Post Request Builder. - */ -public class BasePostRequestBuilder extends BaseRequestBuilder implements IBasePostRequestBuilder { - - /** - * The request builder for the Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BasePostRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IPostRequest instance - */ - public IPostRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IPostRequest instance - */ - public IPostRequest buildRequest(final java.util.List requestOptions) { - return new PostRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Post - * - * @return the IPostRequestBuilder instance - */ - public IPostRequestBuilder inReplyTo() { - return new PostRequestBuilder(getRequestUrlWithAdditionalSegment("inReplyTo"), getClient(), null); - } - public IAttachmentCollectionRequestBuilder attachments() { - return new AttachmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("attachments"), getClient(), null); - } - - public IAttachmentRequestBuilder attachments(final String id) { - return new AttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("attachments") + "/" + id, getClient(), null); - } - public ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties() { - return new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties"), getClient(), null); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null); - } - public IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties() { - return new MultiValueLegacyExtendedPropertyCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties"), getClient(), null); - } - - public IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id) { - return new MultiValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("multiValueExtendedProperties") + "/" + id, getClient(), null); - } - - public IPostForwardRequestBuilder forward(final String comment, final java.util.List toRecipients) { - return new PostForwardRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.forward"), getClient(), null, comment, toRecipients); - } - - public IPostReplyRequestBuilder reply(final Post post) { - return new PostReplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reply"), getClient(), null, post); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionPage.java deleted file mode 100644 index baf2ccc8693..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Collection Page. - */ -public class BaseProfilePhotoCollectionPage extends BaseCollectionPage implements IBaseProfilePhotoCollectionPage { - - /** - * A collection page for ProfilePhoto - * - * @param response the serialized BaseProfilePhotoCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseProfilePhotoCollectionPage(final BaseProfilePhotoCollectionResponse response, final IProfilePhotoCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequest.java deleted file mode 100644 index 0ab6b3b367a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Collection Request. - */ -public class BaseProfilePhotoCollectionRequest extends BaseCollectionRequest implements IBaseProfilePhotoCollectionRequest { - - /** - * The request builder for this collection of ProfilePhoto - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseProfilePhotoCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseProfilePhotoCollectionResponse.class, IProfilePhotoCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IProfilePhotoCollectionPage get() throws ClientException { - final BaseProfilePhotoCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ProfilePhoto newProfilePhoto, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ProfilePhotoRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newProfilePhoto, callback); - } - - public ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ProfilePhotoRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newProfilePhoto); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IProfilePhotoCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ProfilePhotoCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IProfilePhotoCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ProfilePhotoCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IProfilePhotoCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ProfilePhotoCollectionRequest)this; - } - - public IProfilePhotoCollectionPage buildFromResponse(final BaseProfilePhotoCollectionResponse response) { - final IProfilePhotoCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ProfilePhotoCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ProfilePhotoCollectionPage page = new ProfilePhotoCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequestBuilder.java deleted file mode 100644 index 46cd2a108b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Collection Request Builder. - */ -public class BaseProfilePhotoCollectionRequestBuilder extends BaseRequestBuilder implements IBaseProfilePhotoCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseProfilePhotoCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IProfilePhotoCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IProfilePhotoCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ProfilePhotoCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IProfilePhotoRequestBuilder byId(final String id) { - return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionResponse.java deleted file mode 100644 index 9bafc92d511..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ProfilePhoto; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Collection Response. - */ -public class BaseProfilePhotoCollectionResponse implements IJsonBackedObject { - - /** - * The list of ProfilePhoto within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequest.java deleted file mode 100644 index c3a65390251..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequest; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequest; -import com.microsoft.graph.models.extensions.ProfilePhoto; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Request. - */ -public class BaseProfilePhotoRequest extends BaseRequest implements IBaseProfilePhotoRequest { - - /** - * The request for the ProfilePhoto - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseProfilePhotoRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ProfilePhoto from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ProfilePhoto from the service - * - * @return the ProfilePhoto from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ProfilePhoto get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ProfilePhoto with a source - * - * @param sourceProfilePhoto the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ProfilePhoto sourceProfilePhoto, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceProfilePhoto); - } - - /** - * Patches this ProfilePhoto with a source - * - * @param sourceProfilePhoto the source object with updates - * @return the updated ProfilePhoto - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ProfilePhoto patch(final ProfilePhoto sourceProfilePhoto) throws ClientException { - return send(HttpMethod.PATCH, sourceProfilePhoto); - } - - /** - * Creates a ProfilePhoto with a new object - * - * @param newProfilePhoto the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ProfilePhoto newProfilePhoto, final ICallback callback) { - send(HttpMethod.POST, callback, newProfilePhoto); - } - - /** - * Creates a ProfilePhoto with a new object - * - * @param newProfilePhoto the new object to create - * @return the created ProfilePhoto - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException { - return send(HttpMethod.POST, newProfilePhoto); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IProfilePhotoRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ProfilePhotoRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IProfilePhotoRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ProfilePhotoRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequestBuilder.java deleted file mode 100644 index 8355beeda7f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequest; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequest; -import com.microsoft.graph.requests.extensions.IProfilePhotoStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoStreamRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Request Builder. - */ -public class BaseProfilePhotoRequestBuilder extends BaseRequestBuilder implements IBaseProfilePhotoRequestBuilder { - - /** - * The request builder for the ProfilePhoto - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseProfilePhotoRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IProfilePhotoRequest instance - */ - public IProfilePhotoRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IProfilePhotoRequest instance - */ - public IProfilePhotoRequest buildRequest(final java.util.List requestOptions) { - return new ProfilePhotoRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IProfilePhotoStreamRequestBuilder content() { - return new ProfilePhotoStreamRequestBuilder(getRequestUrlWithAdditionalSegment("$value"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequest.java deleted file mode 100644 index a29dd9d7abd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Stream Request. - */ -public class BaseProfilePhotoStreamRequest extends BaseStreamRequest implements IBaseProfilePhotoStreamRequest { - - /** - * The request for this ProfilePhoto - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseProfilePhotoStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public ProfilePhoto put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequestBuilder.java deleted file mode 100644 index daa85d7b499..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseProfilePhotoStreamRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Profile Photo Stream Request Builder. - */ -public class BaseProfilePhotoStreamRequestBuilder extends BaseRequestBuilder implements IBaseProfilePhotoStreamRequestBuilder { - - /** - * The request builder for the ProfilePhoto - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseProfilePhotoStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IProfilePhotoStreamRequest instance - */ - public IProfilePhotoStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IProfilePhotoStreamRequest instance - */ - public IProfilePhotoStreamRequest buildRequest(final java.util.List requestOptions) { - return new ProfilePhotoStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequest.java deleted file mode 100644 index 717c705700a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReferenceAttachmentRequest; -import com.microsoft.graph.requests.extensions.ReferenceAttachmentRequest; -import com.microsoft.graph.models.extensions.ReferenceAttachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Reference Attachment Request. - */ -public class BaseReferenceAttachmentRequest extends BaseRequest implements IBaseReferenceAttachmentRequest { - - /** - * The request for the ReferenceAttachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseReferenceAttachmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ReferenceAttachment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ReferenceAttachment from the service - * - * @return the ReferenceAttachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ReferenceAttachment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ReferenceAttachment with a source - * - * @param sourceReferenceAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ReferenceAttachment sourceReferenceAttachment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceReferenceAttachment); - } - - /** - * Patches this ReferenceAttachment with a source - * - * @param sourceReferenceAttachment the source object with updates - * @return the updated ReferenceAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ReferenceAttachment patch(final ReferenceAttachment sourceReferenceAttachment) throws ClientException { - return send(HttpMethod.PATCH, sourceReferenceAttachment); - } - - /** - * Creates a ReferenceAttachment with a new object - * - * @param newReferenceAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ReferenceAttachment newReferenceAttachment, final ICallback callback) { - send(HttpMethod.POST, callback, newReferenceAttachment); - } - - /** - * Creates a ReferenceAttachment with a new object - * - * @param newReferenceAttachment the new object to create - * @return the created ReferenceAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ReferenceAttachment post(final ReferenceAttachment newReferenceAttachment) throws ClientException { - return send(HttpMethod.POST, newReferenceAttachment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReferenceAttachmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReferenceAttachmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReferenceAttachmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReferenceAttachmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequestBuilder.java deleted file mode 100644 index db4b6ab126a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReferenceAttachmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReferenceAttachmentRequest; -import com.microsoft.graph.requests.extensions.ReferenceAttachmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Reference Attachment Request Builder. - */ -public class BaseReferenceAttachmentRequestBuilder extends BaseRequestBuilder implements IBaseReferenceAttachmentRequestBuilder { - - /** - * The request builder for the ReferenceAttachment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReferenceAttachmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IReferenceAttachmentRequest instance - */ - public IReferenceAttachmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IReferenceAttachmentRequest instance - */ - public IReferenceAttachmentRequest buildRequest(final java.util.List requestOptions) { - return new ReferenceAttachmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequest.java deleted file mode 100644 index 1abb4ab26a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerBeginOnboardingRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Begin Onboarding Request. - */ -public class BaseRemoteAssistancePartnerBeginOnboardingRequest extends BaseRequest implements IBaseRemoteAssistancePartnerBeginOnboardingRequest { - - /** - * The request for this RemoteAssistancePartnerBeginOnboarding - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerBeginOnboardingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the RemoteAssistancePartnerBeginOnboarding - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the RemoteAssistancePartnerBeginOnboarding - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java deleted file mode 100644 index 826e69df0c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerBeginOnboardingRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Begin Onboarding Request Builder. - */ -public class BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this RemoteAssistancePartnerBeginOnboarding - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerBeginOnboardingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IRemoteAssistancePartnerBeginOnboardingRequest - * - * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance - */ - public IRemoteAssistancePartnerBeginOnboardingRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IRemoteAssistancePartnerBeginOnboardingRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance - */ - public IRemoteAssistancePartnerBeginOnboardingRequest buildRequest(final java.util.List requestOptions) { - RemoteAssistancePartnerBeginOnboardingRequest request = new RemoteAssistancePartnerBeginOnboardingRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionPage.java deleted file mode 100644 index 843c9e26646..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RemoteAssistancePartner; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Collection Page. - */ -public class BaseRemoteAssistancePartnerCollectionPage extends BaseCollectionPage implements IBaseRemoteAssistancePartnerCollectionPage { - - /** - * A collection page for RemoteAssistancePartner - * - * @param response the serialized BaseRemoteAssistancePartnerCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseRemoteAssistancePartnerCollectionPage(final BaseRemoteAssistancePartnerCollectionResponse response, final IRemoteAssistancePartnerCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequest.java deleted file mode 100644 index d3c7ecfef6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Collection Request. - */ -public class BaseRemoteAssistancePartnerCollectionRequest extends BaseCollectionRequest implements IBaseRemoteAssistancePartnerCollectionRequest { - - /** - * The request builder for this collection of RemoteAssistancePartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseRemoteAssistancePartnerCollectionResponse.class, IRemoteAssistancePartnerCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IRemoteAssistancePartnerCollectionPage get() throws ClientException { - final BaseRemoteAssistancePartnerCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new RemoteAssistancePartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newRemoteAssistancePartner, callback); - } - - public RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new RemoteAssistancePartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newRemoteAssistancePartner); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRemoteAssistancePartnerCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (RemoteAssistancePartnerCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRemoteAssistancePartnerCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (RemoteAssistancePartnerCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IRemoteAssistancePartnerCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (RemoteAssistancePartnerCollectionRequest)this; - } - - public IRemoteAssistancePartnerCollectionPage buildFromResponse(final BaseRemoteAssistancePartnerCollectionResponse response) { - final IRemoteAssistancePartnerCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new RemoteAssistancePartnerCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final RemoteAssistancePartnerCollectionPage page = new RemoteAssistancePartnerCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequestBuilder.java deleted file mode 100644 index 8550e6b7cb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Collection Request Builder. - */ -public class BaseRemoteAssistancePartnerCollectionRequestBuilder extends BaseRequestBuilder implements IBaseRemoteAssistancePartnerCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IRemoteAssistancePartnerCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IRemoteAssistancePartnerCollectionRequest buildRequest(final java.util.List requestOptions) { - return new RemoteAssistancePartnerCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IRemoteAssistancePartnerRequestBuilder byId(final String id) { - return new RemoteAssistancePartnerRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionResponse.java deleted file mode 100644 index b2ae849c8bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RemoteAssistancePartner; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Collection Response. - */ -public class BaseRemoteAssistancePartnerCollectionResponse implements IJsonBackedObject { - - /** - * The list of RemoteAssistancePartner within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequest.java deleted file mode 100644 index eed379bda2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerDisconnectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Disconnect Request. - */ -public class BaseRemoteAssistancePartnerDisconnectRequest extends BaseRequest implements IBaseRemoteAssistancePartnerDisconnectRequest { - - /** - * The request for this RemoteAssistancePartnerDisconnect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerDisconnectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the RemoteAssistancePartnerDisconnect - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the RemoteAssistancePartnerDisconnect - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequestBuilder.java deleted file mode 100644 index a018438054e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerDisconnectRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerDisconnectRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Disconnect Request Builder. - */ -public class BaseRemoteAssistancePartnerDisconnectRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this RemoteAssistancePartnerDisconnect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerDisconnectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IRemoteAssistancePartnerDisconnectRequest - * - * @return the IRemoteAssistancePartnerDisconnectRequest instance - */ - public IRemoteAssistancePartnerDisconnectRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IRemoteAssistancePartnerDisconnectRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IRemoteAssistancePartnerDisconnectRequest instance - */ - public IRemoteAssistancePartnerDisconnectRequest buildRequest(final java.util.List requestOptions) { - RemoteAssistancePartnerDisconnectRequest request = new RemoteAssistancePartnerDisconnectRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequest.java deleted file mode 100644 index 5c1f9e30268..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequest; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerRequest; -import com.microsoft.graph.models.extensions.RemoteAssistancePartner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Request. - */ -public class BaseRemoteAssistancePartnerRequest extends BaseRequest implements IBaseRemoteAssistancePartnerRequest { - - /** - * The request for the RemoteAssistancePartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseRemoteAssistancePartnerRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the RemoteAssistancePartner from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the RemoteAssistancePartner from the service - * - * @return the RemoteAssistancePartner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RemoteAssistancePartner get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this RemoteAssistancePartner with a source - * - * @param sourceRemoteAssistancePartner the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final RemoteAssistancePartner sourceRemoteAssistancePartner, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceRemoteAssistancePartner); - } - - /** - * Patches this RemoteAssistancePartner with a source - * - * @param sourceRemoteAssistancePartner the source object with updates - * @return the updated RemoteAssistancePartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RemoteAssistancePartner patch(final RemoteAssistancePartner sourceRemoteAssistancePartner) throws ClientException { - return send(HttpMethod.PATCH, sourceRemoteAssistancePartner); - } - - /** - * Creates a RemoteAssistancePartner with a new object - * - * @param newRemoteAssistancePartner the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback) { - send(HttpMethod.POST, callback, newRemoteAssistancePartner); - } - - /** - * Creates a RemoteAssistancePartner with a new object - * - * @param newRemoteAssistancePartner the new object to create - * @return the created RemoteAssistancePartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException { - return send(HttpMethod.POST, newRemoteAssistancePartner); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRemoteAssistancePartnerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (RemoteAssistancePartnerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRemoteAssistancePartnerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (RemoteAssistancePartnerRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequestBuilder.java deleted file mode 100644 index 128a3917b48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRemoteAssistancePartnerRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequest; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerRequest; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequestBuilder; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerBeginOnboardingRequestBuilder; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequestBuilder; -import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerDisconnectRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Remote Assistance Partner Request Builder. - */ -public class BaseRemoteAssistancePartnerRequestBuilder extends BaseRequestBuilder implements IBaseRemoteAssistancePartnerRequestBuilder { - - /** - * The request builder for the RemoteAssistancePartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRemoteAssistancePartnerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IRemoteAssistancePartnerRequest instance - */ - public IRemoteAssistancePartnerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IRemoteAssistancePartnerRequest instance - */ - public IRemoteAssistancePartnerRequest buildRequest(final java.util.List requestOptions) { - return new RemoteAssistancePartnerRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IRemoteAssistancePartnerBeginOnboardingRequestBuilder beginOnboarding() { - return new RemoteAssistancePartnerBeginOnboardingRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.beginOnboarding"), getClient(), null); - } - - public IRemoteAssistancePartnerDisconnectRequestBuilder disconnect() { - return new RemoteAssistancePartnerDisconnectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.disconnect"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequest.java deleted file mode 100644 index e2c56ebffa4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; -import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationDeviceActivityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Device Configuration Device Activity Request. - */ -public class BaseReportRootDeviceConfigurationDeviceActivityRequest extends BaseRequest implements IBaseReportRootDeviceConfigurationDeviceActivityRequest { - - /** - * The request for this ReportRootDeviceConfigurationDeviceActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootDeviceConfigurationDeviceActivityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootDeviceConfigurationDeviceActivity - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootDeviceConfigurationDeviceActivityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootDeviceConfigurationDeviceActivityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootDeviceConfigurationDeviceActivityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootDeviceConfigurationDeviceActivityRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java deleted file mode 100644 index 1a9a52f5fda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; -import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationDeviceActivityRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Device Configuration Device Activity Request Builder. - */ -public class BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootDeviceConfigurationDeviceActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootDeviceConfigurationDeviceActivityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IReportRootDeviceConfigurationDeviceActivityRequest - * - * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance - */ - public IReportRootDeviceConfigurationDeviceActivityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootDeviceConfigurationDeviceActivityRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance - */ - public IReportRootDeviceConfigurationDeviceActivityRequest buildRequest(final java.util.List requestOptions) { - ReportRootDeviceConfigurationDeviceActivityRequest request = new ReportRootDeviceConfigurationDeviceActivityRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequest.java deleted file mode 100644 index f0e952f8450..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; -import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationUserActivityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Device Configuration User Activity Request. - */ -public class BaseReportRootDeviceConfigurationUserActivityRequest extends BaseRequest implements IBaseReportRootDeviceConfigurationUserActivityRequest { - - /** - * The request for this ReportRootDeviceConfigurationUserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootDeviceConfigurationUserActivityRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootDeviceConfigurationUserActivity - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootDeviceConfigurationUserActivityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootDeviceConfigurationUserActivityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootDeviceConfigurationUserActivityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootDeviceConfigurationUserActivityRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequestBuilder.java deleted file mode 100644 index d6ebbaf4c69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootDeviceConfigurationUserActivityRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; -import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationUserActivityRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Device Configuration User Activity Request Builder. - */ -public class BaseReportRootDeviceConfigurationUserActivityRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootDeviceConfigurationUserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootDeviceConfigurationUserActivityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IReportRootDeviceConfigurationUserActivityRequest - * - * @return the IReportRootDeviceConfigurationUserActivityRequest instance - */ - public IReportRootDeviceConfigurationUserActivityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootDeviceConfigurationUserActivityRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootDeviceConfigurationUserActivityRequest instance - */ - public IReportRootDeviceConfigurationUserActivityRequest buildRequest(final java.util.List requestOptions) { - ReportRootDeviceConfigurationUserActivityRequest request = new ReportRootDeviceConfigurationUserActivityRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequest.java deleted file mode 100644 index 8f1999e96b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email Activity Counts Request. - */ -public class BaseReportRootGetEmailActivityCountsRequest extends BaseRequest implements IBaseReportRootGetEmailActivityCountsRequest { - - /** - * The request for this ReportRootGetEmailActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequestBuilder.java deleted file mode 100644 index e0a4a500d2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email Activity Counts Request Builder. - */ -public class BaseReportRootGetEmailActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailActivityCountsRequest - * - * @return the IReportRootGetEmailActivityCountsRequest instance - */ - public IReportRootGetEmailActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailActivityCountsRequest instance - */ - public IReportRootGetEmailActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailActivityCountsRequest request = new ReportRootGetEmailActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequest.java deleted file mode 100644 index 1ab2741c720..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email Activity User Counts Request. - */ -public class BaseReportRootGetEmailActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetEmailActivityUserCountsRequest { - - /** - * The request for this ReportRootGetEmailActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequestBuilder.java deleted file mode 100644 index 6e6aa169df4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email Activity User Counts Request Builder. - */ -public class BaseReportRootGetEmailActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailActivityUserCountsRequest - * - * @return the IReportRootGetEmailActivityUserCountsRequest instance - */ - public IReportRootGetEmailActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailActivityUserCountsRequest instance - */ - public IReportRootGetEmailActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailActivityUserCountsRequest request = new ReportRootGetEmailActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequest.java deleted file mode 100644 index 114a825c606..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email Activity User Detail Request. - */ -public class BaseReportRootGetEmailActivityUserDetailRequest extends BaseRequest implements IBaseReportRootGetEmailActivityUserDetailRequest { - - /** - * The request for this ReportRootGetEmailActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailActivityUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailActivityUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailActivityUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailActivityUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailActivityUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequestBuilder.java deleted file mode 100644 index 9c73b8b5248..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email Activity User Detail Request Builder. - */ -public class BaseReportRootGetEmailActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetEmailActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetEmailActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailActivityUserDetailRequest - * - * @return the IReportRootGetEmailActivityUserDetailRequest instance - */ - public IReportRootGetEmailActivityUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailActivityUserDetailRequest instance - */ - public IReportRootGetEmailActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailActivityUserDetailRequest request = new ReportRootGetEmailActivityUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequest.java deleted file mode 100644 index dd9a21a3bcd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageAppsUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage Apps User Counts Request. - */ -public class BaseReportRootGetEmailAppUsageAppsUserCountsRequest extends BaseRequest implements IBaseReportRootGetEmailAppUsageAppsUserCountsRequest { - - /** - * The request for this ReportRootGetEmailAppUsageAppsUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailAppUsageAppsUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailAppUsageAppsUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageAppsUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailAppUsageAppsUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageAppsUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailAppUsageAppsUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java deleted file mode 100644 index e7783c2d573..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageAppsUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage Apps User Counts Request Builder. - */ -public class BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailAppUsageAppsUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest - * - * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance - */ - public IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance - */ - public IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailAppUsageAppsUserCountsRequest request = new ReportRootGetEmailAppUsageAppsUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequest.java deleted file mode 100644 index f8ca0e26e50..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage User Counts Request. - */ -public class BaseReportRootGetEmailAppUsageUserCountsRequest extends BaseRequest implements IBaseReportRootGetEmailAppUsageUserCountsRequest { - - /** - * The request for this ReportRootGetEmailAppUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailAppUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailAppUsageUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailAppUsageUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailAppUsageUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java deleted file mode 100644 index 787518074df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage User Counts Request Builder. - */ -public class BaseReportRootGetEmailAppUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailAppUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailAppUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailAppUsageUserCountsRequest - * - * @return the IReportRootGetEmailAppUsageUserCountsRequest instance - */ - public IReportRootGetEmailAppUsageUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailAppUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageUserCountsRequest instance - */ - public IReportRootGetEmailAppUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailAppUsageUserCountsRequest request = new ReportRootGetEmailAppUsageUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequest.java deleted file mode 100644 index f3be6d4e6d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage User Detail Request. - */ -public class BaseReportRootGetEmailAppUsageUserDetailRequest extends BaseRequest implements IBaseReportRootGetEmailAppUsageUserDetailRequest { - - /** - * The request for this ReportRootGetEmailAppUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailAppUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailAppUsageUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailAppUsageUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailAppUsageUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java deleted file mode 100644 index 87b6933d45d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage User Detail Request Builder. - */ -public class BaseReportRootGetEmailAppUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailAppUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetEmailAppUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetEmailAppUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailAppUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailAppUsageUserDetailRequest - * - * @return the IReportRootGetEmailAppUsageUserDetailRequest instance - */ - public IReportRootGetEmailAppUsageUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailAppUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageUserDetailRequest instance - */ - public IReportRootGetEmailAppUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailAppUsageUserDetailRequest request = new ReportRootGetEmailAppUsageUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java deleted file mode 100644 index b9e5491009f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageVersionsUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage Versions User Counts Request. - */ -public class BaseReportRootGetEmailAppUsageVersionsUserCountsRequest extends BaseRequest implements IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest { - - /** - * The request for this ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetEmailAppUsageVersionsUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetEmailAppUsageVersionsUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageVersionsUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetEmailAppUsageVersionsUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetEmailAppUsageVersionsUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetEmailAppUsageVersionsUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java deleted file mode 100644 index e15c6740d1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageVersionsUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Email App Usage Versions User Counts Request Builder. - */ -public class BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest - * - * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance - */ - public IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance - */ - public IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetEmailAppUsageVersionsUserCountsRequest request = new ReportRootGetEmailAppUsageVersionsUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequest.java deleted file mode 100644 index 649ccedde25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Detail Request. - */ -public class BaseReportRootGetMailboxUsageDetailRequest extends BaseRequest implements IBaseReportRootGetMailboxUsageDetailRequest { - - /** - * The request for this ReportRootGetMailboxUsageDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetMailboxUsageDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetMailboxUsageDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetMailboxUsageDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetMailboxUsageDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetMailboxUsageDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetMailboxUsageDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequestBuilder.java deleted file mode 100644 index 6851667f713..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageDetailRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Detail Request Builder. - */ -public class BaseReportRootGetMailboxUsageDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetMailboxUsageDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetMailboxUsageDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetMailboxUsageDetailRequest - * - * @return the IReportRootGetMailboxUsageDetailRequest instance - */ - public IReportRootGetMailboxUsageDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetMailboxUsageDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageDetailRequest instance - */ - public IReportRootGetMailboxUsageDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetMailboxUsageDetailRequest request = new ReportRootGetMailboxUsageDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequest.java deleted file mode 100644 index b0a29934213..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageMailboxCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Mailbox Counts Request. - */ -public class BaseReportRootGetMailboxUsageMailboxCountsRequest extends BaseRequest implements IBaseReportRootGetMailboxUsageMailboxCountsRequest { - - /** - * The request for this ReportRootGetMailboxUsageMailboxCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetMailboxUsageMailboxCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetMailboxUsageMailboxCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetMailboxUsageMailboxCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetMailboxUsageMailboxCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetMailboxUsageMailboxCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetMailboxUsageMailboxCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java deleted file mode 100644 index c3e786c2fd0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageMailboxCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Mailbox Counts Request Builder. - */ -public class BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetMailboxUsageMailboxCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetMailboxUsageMailboxCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetMailboxUsageMailboxCountsRequest - * - * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance - */ - public IReportRootGetMailboxUsageMailboxCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetMailboxUsageMailboxCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance - */ - public IReportRootGetMailboxUsageMailboxCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetMailboxUsageMailboxCountsRequest request = new ReportRootGetMailboxUsageMailboxCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java deleted file mode 100644 index 5b489020a6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Quota Status Mailbox Counts Request. - */ -public class BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest extends BaseRequest implements IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest { - - /** - * The request for this ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java deleted file mode 100644 index 029b5ef3540..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Quota Status Mailbox Counts Request Builder. - */ -public class BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest - * - * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance - */ - public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance - */ - public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest request = new ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequest.java deleted file mode 100644 index bcd25b52868..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Storage Request. - */ -public class BaseReportRootGetMailboxUsageStorageRequest extends BaseRequest implements IBaseReportRootGetMailboxUsageStorageRequest { - - /** - * The request for this ReportRootGetMailboxUsageStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetMailboxUsageStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetMailboxUsageStorage - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetMailboxUsageStorageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetMailboxUsageStorageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetMailboxUsageStorageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetMailboxUsageStorageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequestBuilder.java deleted file mode 100644 index 67fe150c0a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetMailboxUsageStorageRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageStorageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Mailbox Usage Storage Request Builder. - */ -public class BaseReportRootGetMailboxUsageStorageRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetMailboxUsageStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetMailboxUsageStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetMailboxUsageStorageRequest - * - * @return the IReportRootGetMailboxUsageStorageRequest instance - */ - public IReportRootGetMailboxUsageStorageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetMailboxUsageStorageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageStorageRequest instance - */ - public IReportRootGetMailboxUsageStorageRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetMailboxUsageStorageRequest request = new ReportRootGetMailboxUsageStorageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequest.java deleted file mode 100644 index 3ba4f240256..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Activation Counts Request. - */ -public class BaseReportRootGetOffice365ActivationCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365ActivationCountsRequest { - - /** - * The request for this ReportRootGetOffice365ActivationCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActivationCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365ActivationCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365ActivationCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365ActivationCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365ActivationCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365ActivationCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequestBuilder.java deleted file mode 100644 index 372d73a6b68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationCountsRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Activation Counts Request Builder. - */ -public class BaseReportRootGetOffice365ActivationCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365ActivationCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActivationCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IReportRootGetOffice365ActivationCountsRequest - * - * @return the IReportRootGetOffice365ActivationCountsRequest instance - */ - public IReportRootGetOffice365ActivationCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365ActivationCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActivationCountsRequest instance - */ - public IReportRootGetOffice365ActivationCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365ActivationCountsRequest request = new ReportRootGetOffice365ActivationCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequest.java deleted file mode 100644 index c94e779e152..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Activations User Counts Request. - */ -public class BaseReportRootGetOffice365ActivationsUserCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365ActivationsUserCountsRequest { - - /** - * The request for this ReportRootGetOffice365ActivationsUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActivationsUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365ActivationsUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365ActivationsUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365ActivationsUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365ActivationsUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365ActivationsUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java deleted file mode 100644 index adbf5ffd6dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Activations User Counts Request Builder. - */ -public class BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365ActivationsUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActivationsUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IReportRootGetOffice365ActivationsUserCountsRequest - * - * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance - */ - public IReportRootGetOffice365ActivationsUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365ActivationsUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance - */ - public IReportRootGetOffice365ActivationsUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365ActivationsUserCountsRequest request = new ReportRootGetOffice365ActivationsUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequest.java deleted file mode 100644 index 2abb5ac7f0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Activations User Detail Request. - */ -public class BaseReportRootGetOffice365ActivationsUserDetailRequest extends BaseRequest implements IBaseReportRootGetOffice365ActivationsUserDetailRequest { - - /** - * The request for this ReportRootGetOffice365ActivationsUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActivationsUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365ActivationsUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365ActivationsUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365ActivationsUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365ActivationsUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365ActivationsUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java deleted file mode 100644 index ff98168c0ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Activations User Detail Request Builder. - */ -public class BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365ActivationsUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActivationsUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IReportRootGetOffice365ActivationsUserDetailRequest - * - * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance - */ - public IReportRootGetOffice365ActivationsUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365ActivationsUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance - */ - public IReportRootGetOffice365ActivationsUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365ActivationsUserDetailRequest request = new ReportRootGetOffice365ActivationsUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequest.java deleted file mode 100644 index 3b6ee571daa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Active User Counts Request. - */ -public class BaseReportRootGetOffice365ActiveUserCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365ActiveUserCountsRequest { - - /** - * The request for this ReportRootGetOffice365ActiveUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActiveUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365ActiveUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365ActiveUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365ActiveUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365ActiveUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365ActiveUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java deleted file mode 100644 index c69c1bba5b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Active User Counts Request Builder. - */ -public class BaseReportRootGetOffice365ActiveUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365ActiveUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365ActiveUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365ActiveUserCountsRequest - * - * @return the IReportRootGetOffice365ActiveUserCountsRequest instance - */ - public IReportRootGetOffice365ActiveUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365ActiveUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActiveUserCountsRequest instance - */ - public IReportRootGetOffice365ActiveUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365ActiveUserCountsRequest request = new ReportRootGetOffice365ActiveUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequest.java deleted file mode 100644 index 11e244c87b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Active User Detail Request. - */ -public class BaseReportRootGetOffice365ActiveUserDetailRequest extends BaseRequest implements IBaseReportRootGetOffice365ActiveUserDetailRequest { - - /** - * The request for this ReportRootGetOffice365ActiveUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ActiveUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365ActiveUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365ActiveUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365ActiveUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365ActiveUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365ActiveUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java deleted file mode 100644 index 177e7a6e056..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Active User Detail Request Builder. - */ -public class BaseReportRootGetOffice365ActiveUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365ActiveUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetOffice365ActiveUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetOffice365ActiveUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365ActiveUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365ActiveUserDetailRequest - * - * @return the IReportRootGetOffice365ActiveUserDetailRequest instance - */ - public IReportRootGetOffice365ActiveUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365ActiveUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActiveUserDetailRequest instance - */ - public IReportRootGetOffice365ActiveUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365ActiveUserDetailRequest request = new ReportRootGetOffice365ActiveUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequest.java deleted file mode 100644 index b294e76766b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Counts Request. - */ -public class BaseReportRootGetOffice365GroupsActivityCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365GroupsActivityCountsRequest { - - /** - * The request for this ReportRootGetOffice365GroupsActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365GroupsActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365GroupsActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365GroupsActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java deleted file mode 100644 index d4f91eeb390..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Counts Request Builder. - */ -public class BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365GroupsActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365GroupsActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityCountsRequest - * - * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance - */ - public IReportRootGetOffice365GroupsActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance - */ - public IReportRootGetOffice365GroupsActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365GroupsActivityCountsRequest request = new ReportRootGetOffice365GroupsActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequest.java deleted file mode 100644 index 2d2ebf1e937..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Detail Request. - */ -public class BaseReportRootGetOffice365GroupsActivityDetailRequest extends BaseRequest implements IBaseReportRootGetOffice365GroupsActivityDetailRequest { - - /** - * The request for this ReportRootGetOffice365GroupsActivityDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365GroupsActivityDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365GroupsActivityDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365GroupsActivityDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java deleted file mode 100644 index dd2d1d3f903..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Detail Request Builder. - */ -public class BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365GroupsActivityDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetOffice365GroupsActivityDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365GroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityDetailRequest - * - * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance - */ - public IReportRootGetOffice365GroupsActivityDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance - */ - public IReportRootGetOffice365GroupsActivityDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365GroupsActivityDetailRequest request = new ReportRootGetOffice365GroupsActivityDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequest.java deleted file mode 100644 index 5105d041cab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity File Counts Request. - */ -public class BaseReportRootGetOffice365GroupsActivityFileCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365GroupsActivityFileCountsRequest { - - /** - * The request for this ReportRootGetOffice365GroupsActivityFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365GroupsActivityFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityFileCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityFileCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365GroupsActivityFileCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityFileCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365GroupsActivityFileCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java deleted file mode 100644 index bd2884e92c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityFileCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity File Counts Request Builder. - */ -public class BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365GroupsActivityFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest - * - * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance - */ - public IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance - */ - public IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365GroupsActivityFileCountsRequest request = new ReportRootGetOffice365GroupsActivityFileCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java deleted file mode 100644 index bb8107be5d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityGroupCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Group Counts Request. - */ -public class BaseReportRootGetOffice365GroupsActivityGroupCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest { - - /** - * The request for this ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365GroupsActivityGroupCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityGroupCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityGroupCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365GroupsActivityGroupCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityGroupCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365GroupsActivityGroupCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java deleted file mode 100644 index 2e77974147c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityGroupCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Group Counts Request Builder. - */ -public class BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest - * - * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance - */ - public IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance - */ - public IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365GroupsActivityGroupCountsRequest request = new ReportRootGetOffice365GroupsActivityGroupCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequest.java deleted file mode 100644 index 09755857ff8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Storage Request. - */ -public class BaseReportRootGetOffice365GroupsActivityStorageRequest extends BaseRequest implements IBaseReportRootGetOffice365GroupsActivityStorageRequest { - - /** - * The request for this ReportRootGetOffice365GroupsActivityStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365GroupsActivityStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityStorage - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityStorageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365GroupsActivityStorageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365GroupsActivityStorageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365GroupsActivityStorageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java deleted file mode 100644 index c6299465bf8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityStorageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Groups Activity Storage Request Builder. - */ -public class BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365GroupsActivityStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365GroupsActivityStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityStorageRequest - * - * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance - */ - public IReportRootGetOffice365GroupsActivityStorageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365GroupsActivityStorageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance - */ - public IReportRootGetOffice365GroupsActivityStorageRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365GroupsActivityStorageRequest request = new ReportRootGetOffice365GroupsActivityStorageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequest.java deleted file mode 100644 index 0b291c51e10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ServicesUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Services User Counts Request. - */ -public class BaseReportRootGetOffice365ServicesUserCountsRequest extends BaseRequest implements IBaseReportRootGetOffice365ServicesUserCountsRequest { - - /** - * The request for this ReportRootGetOffice365ServicesUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOffice365ServicesUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOffice365ServicesUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOffice365ServicesUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOffice365ServicesUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOffice365ServicesUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOffice365ServicesUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java deleted file mode 100644 index 756eb1612e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ServicesUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Office365Services User Counts Request Builder. - */ -public class BaseReportRootGetOffice365ServicesUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOffice365ServicesUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOffice365ServicesUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOffice365ServicesUserCountsRequest - * - * @return the IReportRootGetOffice365ServicesUserCountsRequest instance - */ - public IReportRootGetOffice365ServicesUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOffice365ServicesUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ServicesUserCountsRequest instance - */ - public IReportRootGetOffice365ServicesUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOffice365ServicesUserCountsRequest request = new ReportRootGetOffice365ServicesUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequest.java deleted file mode 100644 index 133a646de02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Activity File Counts Request. - */ -public class BaseReportRootGetOneDriveActivityFileCountsRequest extends BaseRequest implements IBaseReportRootGetOneDriveActivityFileCountsRequest { - - /** - * The request for this ReportRootGetOneDriveActivityFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveActivityFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveActivityFileCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveActivityFileCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveActivityFileCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveActivityFileCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveActivityFileCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java deleted file mode 100644 index a6d4e00ce24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityFileCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Activity File Counts Request Builder. - */ -public class BaseReportRootGetOneDriveActivityFileCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveActivityFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveActivityFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveActivityFileCountsRequest - * - * @return the IReportRootGetOneDriveActivityFileCountsRequest instance - */ - public IReportRootGetOneDriveActivityFileCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveActivityFileCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveActivityFileCountsRequest instance - */ - public IReportRootGetOneDriveActivityFileCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveActivityFileCountsRequest request = new ReportRootGetOneDriveActivityFileCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequest.java deleted file mode 100644 index 887a7dda656..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Activity User Counts Request. - */ -public class BaseReportRootGetOneDriveActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetOneDriveActivityUserCountsRequest { - - /** - * The request for this ReportRootGetOneDriveActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java deleted file mode 100644 index ba1750c900c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Activity User Counts Request Builder. - */ -public class BaseReportRootGetOneDriveActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveActivityUserCountsRequest - * - * @return the IReportRootGetOneDriveActivityUserCountsRequest instance - */ - public IReportRootGetOneDriveActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveActivityUserCountsRequest instance - */ - public IReportRootGetOneDriveActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveActivityUserCountsRequest request = new ReportRootGetOneDriveActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequest.java deleted file mode 100644 index 849887c4c7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Activity User Detail Request. - */ -public class BaseReportRootGetOneDriveActivityUserDetailRequest extends BaseRequest implements IBaseReportRootGetOneDriveActivityUserDetailRequest { - - /** - * The request for this ReportRootGetOneDriveActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveActivityUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveActivityUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveActivityUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveActivityUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveActivityUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java deleted file mode 100644 index 5bf43a9ae16..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Activity User Detail Request Builder. - */ -public class BaseReportRootGetOneDriveActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetOneDriveActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetOneDriveActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveActivityUserDetailRequest - * - * @return the IReportRootGetOneDriveActivityUserDetailRequest instance - */ - public IReportRootGetOneDriveActivityUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveActivityUserDetailRequest instance - */ - public IReportRootGetOneDriveActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveActivityUserDetailRequest request = new ReportRootGetOneDriveActivityUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequest.java deleted file mode 100644 index fc13ac32489..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage Account Counts Request. - */ -public class BaseReportRootGetOneDriveUsageAccountCountsRequest extends BaseRequest implements IBaseReportRootGetOneDriveUsageAccountCountsRequest { - - /** - * The request for this ReportRootGetOneDriveUsageAccountCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveUsageAccountCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveUsageAccountCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageAccountCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveUsageAccountCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageAccountCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveUsageAccountCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java deleted file mode 100644 index 3f8f722c6dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage Account Counts Request Builder. - */ -public class BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveUsageAccountCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveUsageAccountCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveUsageAccountCountsRequest - * - * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance - */ - public IReportRootGetOneDriveUsageAccountCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveUsageAccountCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance - */ - public IReportRootGetOneDriveUsageAccountCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveUsageAccountCountsRequest request = new ReportRootGetOneDriveUsageAccountCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequest.java deleted file mode 100644 index 80d7f0bd432..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage Account Detail Request. - */ -public class BaseReportRootGetOneDriveUsageAccountDetailRequest extends BaseRequest implements IBaseReportRootGetOneDriveUsageAccountDetailRequest { - - /** - * The request for this ReportRootGetOneDriveUsageAccountDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveUsageAccountDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveUsageAccountDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageAccountDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveUsageAccountDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageAccountDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveUsageAccountDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java deleted file mode 100644 index 1e281af20ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage Account Detail Request Builder. - */ -public class BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveUsageAccountDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetOneDriveUsageAccountDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveUsageAccountDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveUsageAccountDetailRequest - * - * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance - */ - public IReportRootGetOneDriveUsageAccountDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveUsageAccountDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance - */ - public IReportRootGetOneDriveUsageAccountDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveUsageAccountDetailRequest request = new ReportRootGetOneDriveUsageAccountDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequest.java deleted file mode 100644 index b724f790e0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage File Counts Request. - */ -public class BaseReportRootGetOneDriveUsageFileCountsRequest extends BaseRequest implements IBaseReportRootGetOneDriveUsageFileCountsRequest { - - /** - * The request for this ReportRootGetOneDriveUsageFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveUsageFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveUsageFileCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageFileCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveUsageFileCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageFileCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveUsageFileCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java deleted file mode 100644 index 591e4c092d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageFileCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage File Counts Request Builder. - */ -public class BaseReportRootGetOneDriveUsageFileCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveUsageFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveUsageFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveUsageFileCountsRequest - * - * @return the IReportRootGetOneDriveUsageFileCountsRequest instance - */ - public IReportRootGetOneDriveUsageFileCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveUsageFileCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageFileCountsRequest instance - */ - public IReportRootGetOneDriveUsageFileCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveUsageFileCountsRequest request = new ReportRootGetOneDriveUsageFileCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequest.java deleted file mode 100644 index 96f3ccfbbad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage Storage Request. - */ -public class BaseReportRootGetOneDriveUsageStorageRequest extends BaseRequest implements IBaseReportRootGetOneDriveUsageStorageRequest { - - /** - * The request for this ReportRootGetOneDriveUsageStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetOneDriveUsageStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetOneDriveUsageStorage - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageStorageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetOneDriveUsageStorageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetOneDriveUsageStorageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetOneDriveUsageStorageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequestBuilder.java deleted file mode 100644 index 64e544d331b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetOneDriveUsageStorageRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageStorageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get One Drive Usage Storage Request Builder. - */ -public class BaseReportRootGetOneDriveUsageStorageRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetOneDriveUsageStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetOneDriveUsageStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetOneDriveUsageStorageRequest - * - * @return the IReportRootGetOneDriveUsageStorageRequest instance - */ - public IReportRootGetOneDriveUsageStorageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetOneDriveUsageStorageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageStorageRequest instance - */ - public IReportRootGetOneDriveUsageStorageRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetOneDriveUsageStorageRequest request = new ReportRootGetOneDriveUsageStorageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequest.java deleted file mode 100644 index 4c29f34b14a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity File Counts Request. - */ -public class BaseReportRootGetSharePointActivityFileCountsRequest extends BaseRequest implements IBaseReportRootGetSharePointActivityFileCountsRequest { - - /** - * The request for this ReportRootGetSharePointActivityFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointActivityFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointActivityFileCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointActivityFileCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointActivityFileCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointActivityFileCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointActivityFileCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequestBuilder.java deleted file mode 100644 index 34dd4524de2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityFileCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityFileCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity File Counts Request Builder. - */ -public class BaseReportRootGetSharePointActivityFileCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointActivityFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointActivityFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointActivityFileCountsRequest - * - * @return the IReportRootGetSharePointActivityFileCountsRequest instance - */ - public IReportRootGetSharePointActivityFileCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointActivityFileCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityFileCountsRequest instance - */ - public IReportRootGetSharePointActivityFileCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointActivityFileCountsRequest request = new ReportRootGetSharePointActivityFileCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequest.java deleted file mode 100644 index 00ea51b9063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityPagesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity Pages Request. - */ -public class BaseReportRootGetSharePointActivityPagesRequest extends BaseRequest implements IBaseReportRootGetSharePointActivityPagesRequest { - - /** - * The request for this ReportRootGetSharePointActivityPages - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointActivityPagesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointActivityPages - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointActivityPagesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointActivityPagesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointActivityPagesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointActivityPagesRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequestBuilder.java deleted file mode 100644 index 2759ac0aaf7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityPagesRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityPagesRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity Pages Request Builder. - */ -public class BaseReportRootGetSharePointActivityPagesRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointActivityPages - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointActivityPagesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointActivityPagesRequest - * - * @return the IReportRootGetSharePointActivityPagesRequest instance - */ - public IReportRootGetSharePointActivityPagesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointActivityPagesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityPagesRequest instance - */ - public IReportRootGetSharePointActivityPagesRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointActivityPagesRequest request = new ReportRootGetSharePointActivityPagesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequest.java deleted file mode 100644 index 47b54cc4dc3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity User Counts Request. - */ -public class BaseReportRootGetSharePointActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetSharePointActivityUserCountsRequest { - - /** - * The request for this ReportRootGetSharePointActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequestBuilder.java deleted file mode 100644 index caa7e8db7e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity User Counts Request Builder. - */ -public class BaseReportRootGetSharePointActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointActivityUserCountsRequest - * - * @return the IReportRootGetSharePointActivityUserCountsRequest instance - */ - public IReportRootGetSharePointActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityUserCountsRequest instance - */ - public IReportRootGetSharePointActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointActivityUserCountsRequest request = new ReportRootGetSharePointActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequest.java deleted file mode 100644 index 18c128afdbb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity User Detail Request. - */ -public class BaseReportRootGetSharePointActivityUserDetailRequest extends BaseRequest implements IBaseReportRootGetSharePointActivityUserDetailRequest { - - /** - * The request for this ReportRootGetSharePointActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointActivityUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointActivityUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointActivityUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointActivityUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointActivityUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequestBuilder.java deleted file mode 100644 index 43f594997f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Activity User Detail Request Builder. - */ -public class BaseReportRootGetSharePointActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetSharePointActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetSharePointActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointActivityUserDetailRequest - * - * @return the IReportRootGetSharePointActivityUserDetailRequest instance - */ - public IReportRootGetSharePointActivityUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityUserDetailRequest instance - */ - public IReportRootGetSharePointActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointActivityUserDetailRequest request = new ReportRootGetSharePointActivityUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequest.java deleted file mode 100644 index 01e536f7189..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Detail Request. - */ -public class BaseReportRootGetSharePointSiteUsageDetailRequest extends BaseRequest implements IBaseReportRootGetSharePointSiteUsageDetailRequest { - - /** - * The request for this ReportRootGetSharePointSiteUsageDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointSiteUsageDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointSiteUsageDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointSiteUsageDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java deleted file mode 100644 index 5c29c11208b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Detail Request Builder. - */ -public class BaseReportRootGetSharePointSiteUsageDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointSiteUsageDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetSharePointSiteUsageDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetSharePointSiteUsageDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointSiteUsageDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageDetailRequest - * - * @return the IReportRootGetSharePointSiteUsageDetailRequest instance - */ - public IReportRootGetSharePointSiteUsageDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageDetailRequest instance - */ - public IReportRootGetSharePointSiteUsageDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointSiteUsageDetailRequest request = new ReportRootGetSharePointSiteUsageDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequest.java deleted file mode 100644 index 31bea8fa46f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage File Counts Request. - */ -public class BaseReportRootGetSharePointSiteUsageFileCountsRequest extends BaseRequest implements IBaseReportRootGetSharePointSiteUsageFileCountsRequest { - - /** - * The request for this ReportRootGetSharePointSiteUsageFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointSiteUsageFileCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageFileCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageFileCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointSiteUsageFileCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageFileCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointSiteUsageFileCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java deleted file mode 100644 index 17dd25921f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageFileCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage File Counts Request Builder. - */ -public class BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointSiteUsageFileCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest - * - * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance - */ - public IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance - */ - public IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointSiteUsageFileCountsRequest request = new ReportRootGetSharePointSiteUsageFileCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequest.java deleted file mode 100644 index 85788f3cd88..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsagePagesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Pages Request. - */ -public class BaseReportRootGetSharePointSiteUsagePagesRequest extends BaseRequest implements IBaseReportRootGetSharePointSiteUsagePagesRequest { - - /** - * The request for this ReportRootGetSharePointSiteUsagePages - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointSiteUsagePagesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointSiteUsagePages - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsagePagesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointSiteUsagePagesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsagePagesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointSiteUsagePagesRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java deleted file mode 100644 index e0a97470812..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsagePagesRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Pages Request Builder. - */ -public class BaseReportRootGetSharePointSiteUsagePagesRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointSiteUsagePages - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointSiteUsagePagesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointSiteUsagePagesRequest - * - * @return the IReportRootGetSharePointSiteUsagePagesRequest instance - */ - public IReportRootGetSharePointSiteUsagePagesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointSiteUsagePagesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsagePagesRequest instance - */ - public IReportRootGetSharePointSiteUsagePagesRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointSiteUsagePagesRequest request = new ReportRootGetSharePointSiteUsagePagesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequest.java deleted file mode 100644 index 9c582deaa84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageSiteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Site Counts Request. - */ -public class BaseReportRootGetSharePointSiteUsageSiteCountsRequest extends BaseRequest implements IBaseReportRootGetSharePointSiteUsageSiteCountsRequest { - - /** - * The request for this ReportRootGetSharePointSiteUsageSiteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointSiteUsageSiteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageSiteCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageSiteCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointSiteUsageSiteCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageSiteCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointSiteUsageSiteCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java deleted file mode 100644 index a8fc13659b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageSiteCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Site Counts Request Builder. - */ -public class BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointSiteUsageSiteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest - * - * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance - */ - public IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance - */ - public IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointSiteUsageSiteCountsRequest request = new ReportRootGetSharePointSiteUsageSiteCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequest.java deleted file mode 100644 index 9671185a2df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Storage Request. - */ -public class BaseReportRootGetSharePointSiteUsageStorageRequest extends BaseRequest implements IBaseReportRootGetSharePointSiteUsageStorageRequest { - - /** - * The request for this ReportRootGetSharePointSiteUsageStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSharePointSiteUsageStorageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageStorage - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageStorageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSharePointSiteUsageStorageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSharePointSiteUsageStorageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSharePointSiteUsageStorageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java deleted file mode 100644 index 7044e6f21e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageStorageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Share Point Site Usage Storage Request Builder. - */ -public class BaseReportRootGetSharePointSiteUsageStorageRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSharePointSiteUsageStorage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSharePointSiteUsageStorageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageStorageRequest - * - * @return the IReportRootGetSharePointSiteUsageStorageRequest instance - */ - public IReportRootGetSharePointSiteUsageStorageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSharePointSiteUsageStorageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageStorageRequest instance - */ - public IReportRootGetSharePointSiteUsageStorageRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSharePointSiteUsageStorageRequest request = new ReportRootGetSharePointSiteUsageStorageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequest.java deleted file mode 100644 index 20e7a9ac760..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Activity Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessActivityCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessActivityCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java deleted file mode 100644 index 51a8fd7178d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Activity Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessActivityCountsRequest request = new ReportRootGetSkypeForBusinessActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java deleted file mode 100644 index d75bb1784fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Activity User Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java deleted file mode 100644 index 5475055f784..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Activity User Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java deleted file mode 100644 index 21273c258f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Activity User Detail Request. - */ -public class BaseReportRootGetSkypeForBusinessActivityUserDetailRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessActivityUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessActivityUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessActivityUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessActivityUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java deleted file mode 100644 index bff6ae00194..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Activity User Detail Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest - * - * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance - */ - public IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance - */ - public IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessActivityUserDetailRequest request = new ReportRootGetSkypeForBusinessActivityUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java deleted file mode 100644 index c1e8e301fd9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Device Usage Distribution User Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java deleted file mode 100644 index e08b5dcd5fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Device Usage Distribution User Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest request = new ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java deleted file mode 100644 index e762f07a59a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Device Usage User Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java deleted file mode 100644 index a59e6f9541f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Device Usage User Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest request = new ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java deleted file mode 100644 index 757a5cd6689..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Device Usage User Detail Request. - */ -public class BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java deleted file mode 100644 index 97d8d286941..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Device Usage User Detail Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest - * - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance - */ - public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest request = new ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java deleted file mode 100644 index dc6707a379d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Organizer Activity Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java deleted file mode 100644 index a0ba635c242..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Organizer Activity Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest request = new ReportRootGetSkypeForBusinessOrganizerActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java deleted file mode 100644 index 3105985566e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Organizer Activity Minute Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java deleted file mode 100644 index 8e80e58071d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Organizer Activity Minute Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest - * - * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance - */ - public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance - */ - public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest request = new ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java deleted file mode 100644 index 62365de9bc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Organizer Activity User Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java deleted file mode 100644 index c27077532f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Organizer Activity User Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java deleted file mode 100644 index 718b5e207eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Participant Activity Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessParticipantActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessParticipantActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java deleted file mode 100644 index a6bffa16c08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Participant Activity Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessParticipantActivityCountsRequest request = new ReportRootGetSkypeForBusinessParticipantActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java deleted file mode 100644 index dac69fc479c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Participant Activity Minute Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java deleted file mode 100644 index 78b617a39f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Participant Activity Minute Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest - * - * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance - */ - public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance - */ - public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest request = new ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java deleted file mode 100644 index 38bfb0e1025..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Participant Activity User Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java deleted file mode 100644 index 1da3931953c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Participant Activity User Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java deleted file mode 100644 index 24d8d0fde3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Peer To Peer Activity Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java deleted file mode 100644 index da38271c8c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Peer To Peer Activity Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest request = new ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java deleted file mode 100644 index c41e67da3fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java deleted file mode 100644 index d18db790c30..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest - * - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest request = new ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java deleted file mode 100644 index 0c9c64307df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Peer To Peer Activity User Counts Request. - */ -public class BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest { - - /** - * The request for this ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java deleted file mode 100644 index 55025db923e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Skype For Business Peer To Peer Activity User Counts Request Builder. - */ -public class BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance - */ - public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest request = new ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java deleted file mode 100644 index aae2340b136..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams Device Usage Distribution User Counts Request. - */ -public class BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest extends BaseRequest implements IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest { - - /** - * The request for this ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java deleted file mode 100644 index b91a6daef83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams Device Usage Distribution User Counts Request Builder. - */ -public class BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest - * - * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance - */ - public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance - */ - public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest request = new ReportRootGetTeamsDeviceUsageDistributionUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequest.java deleted file mode 100644 index e1b3847e782..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams Device Usage User Counts Request. - */ -public class BaseReportRootGetTeamsDeviceUsageUserCountsRequest extends BaseRequest implements IBaseReportRootGetTeamsDeviceUsageUserCountsRequest { - - /** - * The request for this ReportRootGetTeamsDeviceUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetTeamsDeviceUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetTeamsDeviceUsageUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetTeamsDeviceUsageUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetTeamsDeviceUsageUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetTeamsDeviceUsageUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java deleted file mode 100644 index 9d85ece99f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams Device Usage User Counts Request Builder. - */ -public class BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetTeamsDeviceUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest - * - * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance - */ - public IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance - */ - public IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetTeamsDeviceUsageUserCountsRequest request = new ReportRootGetTeamsDeviceUsageUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequest.java deleted file mode 100644 index 9c60fc90631..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams Device Usage User Detail Request. - */ -public class BaseReportRootGetTeamsDeviceUsageUserDetailRequest extends BaseRequest implements IBaseReportRootGetTeamsDeviceUsageUserDetailRequest { - - /** - * The request for this ReportRootGetTeamsDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetTeamsDeviceUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetTeamsDeviceUsageUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetTeamsDeviceUsageUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetTeamsDeviceUsageUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetTeamsDeviceUsageUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java deleted file mode 100644 index d5bd701dd6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams Device Usage User Detail Request Builder. - */ -public class BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetTeamsDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetTeamsDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest - * - * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance - */ - public IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance - */ - public IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetTeamsDeviceUsageUserDetailRequest request = new ReportRootGetTeamsDeviceUsageUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequest.java deleted file mode 100644 index 4b46b87750e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams User Activity Counts Request. - */ -public class BaseReportRootGetTeamsUserActivityCountsRequest extends BaseRequest implements IBaseReportRootGetTeamsUserActivityCountsRequest { - - /** - * The request for this ReportRootGetTeamsUserActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetTeamsUserActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetTeamsUserActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetTeamsUserActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetTeamsUserActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetTeamsUserActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetTeamsUserActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequestBuilder.java deleted file mode 100644 index 8de6428c4ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams User Activity Counts Request Builder. - */ -public class BaseReportRootGetTeamsUserActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetTeamsUserActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetTeamsUserActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetTeamsUserActivityCountsRequest - * - * @return the IReportRootGetTeamsUserActivityCountsRequest instance - */ - public IReportRootGetTeamsUserActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetTeamsUserActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsUserActivityCountsRequest instance - */ - public IReportRootGetTeamsUserActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetTeamsUserActivityCountsRequest request = new ReportRootGetTeamsUserActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequest.java deleted file mode 100644 index 6abbbd5e8be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams User Activity User Counts Request. - */ -public class BaseReportRootGetTeamsUserActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetTeamsUserActivityUserCountsRequest { - - /** - * The request for this ReportRootGetTeamsUserActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetTeamsUserActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetTeamsUserActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetTeamsUserActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetTeamsUserActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetTeamsUserActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetTeamsUserActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java deleted file mode 100644 index f52ff21837a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams User Activity User Counts Request Builder. - */ -public class BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetTeamsUserActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetTeamsUserActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetTeamsUserActivityUserCountsRequest - * - * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance - */ - public IReportRootGetTeamsUserActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetTeamsUserActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance - */ - public IReportRootGetTeamsUserActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetTeamsUserActivityUserCountsRequest request = new ReportRootGetTeamsUserActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequest.java deleted file mode 100644 index d47825c3f70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams User Activity User Detail Request. - */ -public class BaseReportRootGetTeamsUserActivityUserDetailRequest extends BaseRequest implements IBaseReportRootGetTeamsUserActivityUserDetailRequest { - - /** - * The request for this ReportRootGetTeamsUserActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetTeamsUserActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetTeamsUserActivityUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetTeamsUserActivityUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetTeamsUserActivityUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetTeamsUserActivityUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetTeamsUserActivityUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java deleted file mode 100644 index 5e663f4c425..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Teams User Activity User Detail Request Builder. - */ -public class BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetTeamsUserActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetTeamsUserActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetTeamsUserActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetTeamsUserActivityUserDetailRequest - * - * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance - */ - public IReportRootGetTeamsUserActivityUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetTeamsUserActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance - */ - public IReportRootGetTeamsUserActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetTeamsUserActivityUserDetailRequest request = new ReportRootGetTeamsUserActivityUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequest.java deleted file mode 100644 index dd385811a97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Activity Counts Request. - */ -public class BaseReportRootGetYammerActivityCountsRequest extends BaseRequest implements IBaseReportRootGetYammerActivityCountsRequest { - - /** - * The request for this ReportRootGetYammerActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequestBuilder.java deleted file mode 100644 index b653c8c4ed9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Activity Counts Request Builder. - */ -public class BaseReportRootGetYammerActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerActivityCountsRequest - * - * @return the IReportRootGetYammerActivityCountsRequest instance - */ - public IReportRootGetYammerActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerActivityCountsRequest instance - */ - public IReportRootGetYammerActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerActivityCountsRequest request = new ReportRootGetYammerActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequest.java deleted file mode 100644 index 4aa144bfec9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Activity User Counts Request. - */ -public class BaseReportRootGetYammerActivityUserCountsRequest extends BaseRequest implements IBaseReportRootGetYammerActivityUserCountsRequest { - - /** - * The request for this ReportRootGetYammerActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerActivityUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerActivityUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerActivityUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerActivityUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerActivityUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerActivityUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequestBuilder.java deleted file mode 100644 index fc90a0b9093..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Activity User Counts Request Builder. - */ -public class BaseReportRootGetYammerActivityUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerActivityUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerActivityUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerActivityUserCountsRequest - * - * @return the IReportRootGetYammerActivityUserCountsRequest instance - */ - public IReportRootGetYammerActivityUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerActivityUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerActivityUserCountsRequest instance - */ - public IReportRootGetYammerActivityUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerActivityUserCountsRequest request = new ReportRootGetYammerActivityUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequest.java deleted file mode 100644 index 17bb28c1e22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Activity User Detail Request. - */ -public class BaseReportRootGetYammerActivityUserDetailRequest extends BaseRequest implements IBaseReportRootGetYammerActivityUserDetailRequest { - - /** - * The request for this ReportRootGetYammerActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerActivityUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerActivityUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerActivityUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerActivityUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerActivityUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerActivityUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequestBuilder.java deleted file mode 100644 index ba9185baa92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Activity User Detail Request Builder. - */ -public class BaseReportRootGetYammerActivityUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetYammerActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetYammerActivityUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerActivityUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerActivityUserDetailRequest - * - * @return the IReportRootGetYammerActivityUserDetailRequest instance - */ - public IReportRootGetYammerActivityUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerActivityUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerActivityUserDetailRequest instance - */ - public IReportRootGetYammerActivityUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerActivityUserDetailRequest request = new ReportRootGetYammerActivityUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java deleted file mode 100644 index 8792f3a406e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Device Usage Distribution User Counts Request. - */ -public class BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest extends BaseRequest implements IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest { - - /** - * The request for this ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerDeviceUsageDistributionUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerDeviceUsageDistributionUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java deleted file mode 100644 index c6f6d2999d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Device Usage Distribution User Counts Request Builder. - */ -public class BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest - * - * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance - */ - public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance - */ - public IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerDeviceUsageDistributionUserCountsRequest request = new ReportRootGetYammerDeviceUsageDistributionUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequest.java deleted file mode 100644 index 2f56277fcbd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Device Usage User Counts Request. - */ -public class BaseReportRootGetYammerDeviceUsageUserCountsRequest extends BaseRequest implements IBaseReportRootGetYammerDeviceUsageUserCountsRequest { - - /** - * The request for this ReportRootGetYammerDeviceUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerDeviceUsageUserCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerDeviceUsageUserCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerDeviceUsageUserCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerDeviceUsageUserCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerDeviceUsageUserCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerDeviceUsageUserCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java deleted file mode 100644 index 5d4ae1a9e45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Device Usage User Counts Request Builder. - */ -public class BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerDeviceUsageUserCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest - * - * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance - */ - public IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance - */ - public IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerDeviceUsageUserCountsRequest request = new ReportRootGetYammerDeviceUsageUserCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequest.java deleted file mode 100644 index 5cb38564212..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Device Usage User Detail Request. - */ -public class BaseReportRootGetYammerDeviceUsageUserDetailRequest extends BaseRequest implements IBaseReportRootGetYammerDeviceUsageUserDetailRequest { - - /** - * The request for this ReportRootGetYammerDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerDeviceUsageUserDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerDeviceUsageUserDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerDeviceUsageUserDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerDeviceUsageUserDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerDeviceUsageUserDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerDeviceUsageUserDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java deleted file mode 100644 index 428bae81570..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Device Usage User Detail Request Builder. - */ -public class BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetYammerDeviceUsageUserDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest - * - * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance - */ - public IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance - */ - public IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerDeviceUsageUserDetailRequest request = new ReportRootGetYammerDeviceUsageUserDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequest.java deleted file mode 100644 index cfe95aa506a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Groups Activity Counts Request. - */ -public class BaseReportRootGetYammerGroupsActivityCountsRequest extends BaseRequest implements IBaseReportRootGetYammerGroupsActivityCountsRequest { - - /** - * The request for this ReportRootGetYammerGroupsActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerGroupsActivityCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerGroupsActivityCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerGroupsActivityCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerGroupsActivityCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerGroupsActivityCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerGroupsActivityCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java deleted file mode 100644 index e94ac6b2935..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Groups Activity Counts Request Builder. - */ -public class BaseReportRootGetYammerGroupsActivityCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerGroupsActivityCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerGroupsActivityCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerGroupsActivityCountsRequest - * - * @return the IReportRootGetYammerGroupsActivityCountsRequest instance - */ - public IReportRootGetYammerGroupsActivityCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerGroupsActivityCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerGroupsActivityCountsRequest instance - */ - public IReportRootGetYammerGroupsActivityCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerGroupsActivityCountsRequest request = new ReportRootGetYammerGroupsActivityCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequest.java deleted file mode 100644 index 3e8a9c18832..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Groups Activity Detail Request. - */ -public class BaseReportRootGetYammerGroupsActivityDetailRequest extends BaseRequest implements IBaseReportRootGetYammerGroupsActivityDetailRequest { - - /** - * The request for this ReportRootGetYammerGroupsActivityDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerGroupsActivityDetailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerGroupsActivityDetail - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerGroupsActivityDetailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerGroupsActivityDetailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerGroupsActivityDetailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerGroupsActivityDetailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java deleted file mode 100644 index 624d867f063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Groups Activity Detail Request Builder. - */ -public class BaseReportRootGetYammerGroupsActivityDetailRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerGroupsActivityDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseReportRootGetYammerGroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.microsoft.graph.models.extensions.DateOnly date) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("date", date)); - } - /** - * The request builder for this ReportRootGetYammerGroupsActivityDetail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerGroupsActivityDetailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerGroupsActivityDetailRequest - * - * @return the IReportRootGetYammerGroupsActivityDetailRequest instance - */ - public IReportRootGetYammerGroupsActivityDetailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerGroupsActivityDetailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerGroupsActivityDetailRequest instance - */ - public IReportRootGetYammerGroupsActivityDetailRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerGroupsActivityDetailRequest request = new ReportRootGetYammerGroupsActivityDetailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequest.java deleted file mode 100644 index a0d14fa39d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityGroupCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Groups Activity Group Counts Request. - */ -public class BaseReportRootGetYammerGroupsActivityGroupCountsRequest extends BaseRequest implements IBaseReportRootGetYammerGroupsActivityGroupCountsRequest { - - /** - * The request for this ReportRootGetYammerGroupsActivityGroupCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootGetYammerGroupsActivityGroupCountsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Patches the ReportRootGetYammerGroupsActivityGroupCounts - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Report srcReport, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcReport); - } - - /** - * Patches the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report patch(Report srcReport) throws ClientException { - return this.send(HttpMethod.PATCH, srcReport); - } - - /** - * Puts the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Report srcReport, final ICallback callback) { - send(HttpMethod.PUT, callback, srcReport); - } - - /** - * Puts the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(Report srcReport) throws ClientException { - return this.send(HttpMethod.PUT, srcReport); - } - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootGetYammerGroupsActivityGroupCountsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootGetYammerGroupsActivityGroupCountsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootGetYammerGroupsActivityGroupCountsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootGetYammerGroupsActivityGroupCountsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java deleted file mode 100644 index 530ec965d83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityGroupCountsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Get Yammer Groups Activity Group Counts Request Builder. - */ -public class BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootGetYammerGroupsActivityGroupCounts - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest - * - * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance - */ - public IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance - */ - public IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions) { - ReportRootGetYammerGroupsActivityGroupCountsRequest request = new ReportRootGetYammerGroupsActivityGroupCountsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java deleted file mode 100644 index bd11a77add3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Managed Device Enrollment Failure Details Request. - */ -public class BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest extends BaseRequest implements IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest { - - /** - * The request for this ReportRootManagedDeviceEnrollmentFailureDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootManagedDeviceEnrollmentFailureDetailsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootManagedDeviceEnrollmentFailureDetailsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootManagedDeviceEnrollmentFailureDetailsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootManagedDeviceEnrollmentFailureDetailsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootManagedDeviceEnrollmentFailureDetailsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java deleted file mode 100644 index ec3d955642b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Managed Device Enrollment Failure Details Request Builder. - */ -public class BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootManagedDeviceEnrollmentFailureDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this ReportRootManagedDeviceEnrollmentFailureDetails - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param skip the skip - * @param top the top - * @param filter the filter - * @param skipToken the skipToken - */ - public BaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer skip, final Integer top, final String filter, final String skipToken) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("skip", skip)); - functionOptions.add(new FunctionOption("top", top)); - functionOptions.add(new FunctionOption("filter", filter)); - functionOptions.add(new FunctionOption("skipToken", skipToken)); - } - - /** - * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest - * - * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance - */ - public IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance - */ - public IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest(final java.util.List requestOptions) { - ReportRootManagedDeviceEnrollmentFailureDetailsRequest request = new ReportRootManagedDeviceEnrollmentFailureDetailsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java deleted file mode 100644 index c881502b1cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Managed Device Enrollment Top Failures Request. - */ -public class BaseReportRootManagedDeviceEnrollmentTopFailuresRequest extends BaseRequest implements IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest { - - /** - * The request for this ReportRootManagedDeviceEnrollmentTopFailures - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootManagedDeviceEnrollmentTopFailuresRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Report.class); - } - - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootManagedDeviceEnrollmentTopFailuresRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootManagedDeviceEnrollmentTopFailuresRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootManagedDeviceEnrollmentTopFailuresRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootManagedDeviceEnrollmentTopFailuresRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java deleted file mode 100644 index 6ddb7427346..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Managed Device Enrollment Top Failures Request Builder. - */ -public class BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this ReportRootManagedDeviceEnrollmentTopFailures - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this ReportRootManagedDeviceEnrollmentTopFailures - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param period the period - */ - public BaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String period) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("period", period)); - } - - /** - * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest - * - * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance - */ - public IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance - */ - public IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest(final java.util.List requestOptions) { - ReportRootManagedDeviceEnrollmentTopFailuresRequest request = new ReportRootManagedDeviceEnrollmentTopFailuresRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequest.java deleted file mode 100644 index 45dd71f746a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootRequest; -import com.microsoft.graph.requests.extensions.ReportRootRequest; -import com.microsoft.graph.models.extensions.ReportRoot; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Request. - */ -public class BaseReportRootRequest extends BaseRequest implements IBaseReportRootRequest { - - /** - * The request for the ReportRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseReportRootRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ReportRoot from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ReportRoot from the service - * - * @return the ReportRoot from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ReportRoot get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ReportRoot with a source - * - * @param sourceReportRoot the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ReportRoot sourceReportRoot, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceReportRoot); - } - - /** - * Patches this ReportRoot with a source - * - * @param sourceReportRoot the source object with updates - * @return the updated ReportRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ReportRoot patch(final ReportRoot sourceReportRoot) throws ClientException { - return send(HttpMethod.PATCH, sourceReportRoot); - } - - /** - * Creates a ReportRoot with a new object - * - * @param newReportRoot the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ReportRoot newReportRoot, final ICallback callback) { - send(HttpMethod.POST, callback, newReportRoot); - } - - /** - * Creates a ReportRoot with a new object - * - * @param newReportRoot the new object to create - * @return the created ReportRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ReportRoot post(final ReportRoot newReportRoot) throws ClientException { - return send(HttpMethod.POST, newReportRoot); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IReportRootRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ReportRootRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IReportRootRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ReportRootRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequestBuilder.java deleted file mode 100644 index 387badf91a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportRootRequestBuilder.java +++ /dev/null @@ -1,586 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootRequest; -import com.microsoft.graph.requests.extensions.ReportRootRequest; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActivationsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ServicesUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365ActiveUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageMailboxCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetMailboxUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageAccountCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetOneDriveUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointActivityPagesRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSharePointSiteUsagePagesRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetYammerGroupsActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsUserActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationUserActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootDeviceConfigurationDeviceActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; -import com.microsoft.graph.requests.extensions.ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Root Request Builder. - */ -public class BaseReportRootRequestBuilder extends BaseRequestBuilder implements IBaseReportRootRequestBuilder { - - /** - * The request builder for the ReportRoot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportRootRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IReportRootRequest instance - */ - public IReportRootRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IReportRootRequest instance - */ - public IReportRootRequest buildRequest(final java.util.List requestOptions) { - return new ReportRootRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IReportRootGetOffice365ActivationsUserDetailRequestBuilder getOffice365ActivationsUserDetail() { - return new ReportRootGetOffice365ActivationsUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActivationsUserDetail"), getClient(), null); - } - - public IReportRootGetOffice365ActivationCountsRequestBuilder getOffice365ActivationCounts() { - return new ReportRootGetOffice365ActivationCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActivationCounts"), getClient(), null); - } - - public IReportRootGetOffice365ActivationsUserCountsRequestBuilder getOffice365ActivationsUserCounts() { - return new ReportRootGetOffice365ActivationsUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActivationsUserCounts"), getClient(), null); - } - - public IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetOffice365ActiveUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActiveUserDetail"), getClient(), null, date); - } - - public IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final String period) { - return new ReportRootGetOffice365ActiveUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActiveUserDetail"), getClient(), null, period); - } - - public IReportRootGetOffice365ServicesUserCountsRequestBuilder getOffice365ServicesUserCounts(final String period) { - return new ReportRootGetOffice365ServicesUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ServicesUserCounts"), getClient(), null, period); - } - - public IReportRootGetOffice365ActiveUserCountsRequestBuilder getOffice365ActiveUserCounts(final String period) { - return new ReportRootGetOffice365ActiveUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365ActiveUserCounts"), getClient(), null, period); - } - - public IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetOffice365GroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityDetail"), getClient(), null, date); - } - - public IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final String period) { - return new ReportRootGetOffice365GroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityDetail"), getClient(), null, period); - } - - public IReportRootGetOffice365GroupsActivityCountsRequestBuilder getOffice365GroupsActivityCounts(final String period) { - return new ReportRootGetOffice365GroupsActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityCounts"), getClient(), null, period); - } - - public IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder getOffice365GroupsActivityGroupCounts(final String period) { - return new ReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityGroupCounts"), getClient(), null, period); - } - - public IReportRootGetOffice365GroupsActivityStorageRequestBuilder getOffice365GroupsActivityStorage(final String period) { - return new ReportRootGetOffice365GroupsActivityStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityStorage"), getClient(), null, period); - } - - public IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder getOffice365GroupsActivityFileCounts(final String period) { - return new ReportRootGetOffice365GroupsActivityFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOffice365GroupsActivityFileCounts"), getClient(), null, period); - } - - public IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetEmailActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityUserDetail"), getClient(), null, date); - } - - public IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final String period) { - return new ReportRootGetEmailActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityUserDetail"), getClient(), null, period); - } - - public IReportRootGetEmailActivityCountsRequestBuilder getEmailActivityCounts(final String period) { - return new ReportRootGetEmailActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityCounts"), getClient(), null, period); - } - - public IReportRootGetEmailActivityUserCountsRequestBuilder getEmailActivityUserCounts(final String period) { - return new ReportRootGetEmailActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetEmailAppUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageUserDetail"), getClient(), null, date); - } - - public IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final String period) { - return new ReportRootGetEmailAppUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageUserDetail"), getClient(), null, period); - } - - public IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder getEmailAppUsageAppsUserCounts(final String period) { - return new ReportRootGetEmailAppUsageAppsUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageAppsUserCounts"), getClient(), null, period); - } - - public IReportRootGetEmailAppUsageUserCountsRequestBuilder getEmailAppUsageUserCounts(final String period) { - return new ReportRootGetEmailAppUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageUserCounts"), getClient(), null, period); - } - - public IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder getEmailAppUsageVersionsUserCounts(final String period) { - return new ReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getEmailAppUsageVersionsUserCounts"), getClient(), null, period); - } - - public IReportRootGetMailboxUsageDetailRequestBuilder getMailboxUsageDetail(final String period) { - return new ReportRootGetMailboxUsageDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageDetail"), getClient(), null, period); - } - - public IReportRootGetMailboxUsageMailboxCountsRequestBuilder getMailboxUsageMailboxCounts(final String period) { - return new ReportRootGetMailboxUsageMailboxCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageMailboxCounts"), getClient(), null, period); - } - - public IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder getMailboxUsageQuotaStatusMailboxCounts(final String period) { - return new ReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageQuotaStatusMailboxCounts"), getClient(), null, period); - } - - public IReportRootGetMailboxUsageStorageRequestBuilder getMailboxUsageStorage(final String period) { - return new ReportRootGetMailboxUsageStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailboxUsageStorage"), getClient(), null, period); - } - - public IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetOneDriveActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityUserDetail"), getClient(), null, date); - } - - public IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final String period) { - return new ReportRootGetOneDriveActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityUserDetail"), getClient(), null, period); - } - - public IReportRootGetOneDriveActivityUserCountsRequestBuilder getOneDriveActivityUserCounts(final String period) { - return new ReportRootGetOneDriveActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetOneDriveActivityFileCountsRequestBuilder getOneDriveActivityFileCounts(final String period) { - return new ReportRootGetOneDriveActivityFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveActivityFileCounts"), getClient(), null, period); - } - - public IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetOneDriveUsageAccountDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageAccountDetail"), getClient(), null, date); - } - - public IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final String period) { - return new ReportRootGetOneDriveUsageAccountDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageAccountDetail"), getClient(), null, period); - } - - public IReportRootGetOneDriveUsageAccountCountsRequestBuilder getOneDriveUsageAccountCounts(final String period) { - return new ReportRootGetOneDriveUsageAccountCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageAccountCounts"), getClient(), null, period); - } - - public IReportRootGetOneDriveUsageFileCountsRequestBuilder getOneDriveUsageFileCounts(final String period) { - return new ReportRootGetOneDriveUsageFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageFileCounts"), getClient(), null, period); - } - - public IReportRootGetOneDriveUsageStorageRequestBuilder getOneDriveUsageStorage(final String period) { - return new ReportRootGetOneDriveUsageStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOneDriveUsageStorage"), getClient(), null, period); - } - - public IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetSharePointActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityUserDetail"), getClient(), null, date); - } - - public IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final String period) { - return new ReportRootGetSharePointActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityUserDetail"), getClient(), null, period); - } - - public IReportRootGetSharePointActivityFileCountsRequestBuilder getSharePointActivityFileCounts(final String period) { - return new ReportRootGetSharePointActivityFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityFileCounts"), getClient(), null, period); - } - - public IReportRootGetSharePointActivityUserCountsRequestBuilder getSharePointActivityUserCounts(final String period) { - return new ReportRootGetSharePointActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetSharePointActivityPagesRequestBuilder getSharePointActivityPages(final String period) { - return new ReportRootGetSharePointActivityPagesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointActivityPages"), getClient(), null, period); - } - - public IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetSharePointSiteUsageDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageDetail"), getClient(), null, date); - } - - public IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final String period) { - return new ReportRootGetSharePointSiteUsageDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageDetail"), getClient(), null, period); - } - - public IReportRootGetSharePointSiteUsageFileCountsRequestBuilder getSharePointSiteUsageFileCounts(final String period) { - return new ReportRootGetSharePointSiteUsageFileCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageFileCounts"), getClient(), null, period); - } - - public IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder getSharePointSiteUsageSiteCounts(final String period) { - return new ReportRootGetSharePointSiteUsageSiteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageSiteCounts"), getClient(), null, period); - } - - public IReportRootGetSharePointSiteUsageStorageRequestBuilder getSharePointSiteUsageStorage(final String period) { - return new ReportRootGetSharePointSiteUsageStorageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsageStorage"), getClient(), null, period); - } - - public IReportRootGetSharePointSiteUsagePagesRequestBuilder getSharePointSiteUsagePages(final String period) { - return new ReportRootGetSharePointSiteUsagePagesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSharePointSiteUsagePages"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityUserDetail"), getClient(), null, date); - } - - public IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final String period) { - return new ReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityUserDetail"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessActivityCountsRequestBuilder getSkypeForBusinessActivityCounts(final String period) { - return new ReportRootGetSkypeForBusinessActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder getSkypeForBusinessActivityUserCounts(final String period) { - return new ReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityCounts(final String period) { - return new ReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessPeerToPeerActivityCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityUserCounts(final String period) { - return new ReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessPeerToPeerActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityMinuteCounts(final String period) { - return new ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessPeerToPeerActivityMinuteCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder getSkypeForBusinessOrganizerActivityCounts(final String period) { - return new ReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessOrganizerActivityCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder getSkypeForBusinessOrganizerActivityUserCounts(final String period) { - return new ReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessOrganizerActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder getSkypeForBusinessOrganizerActivityMinuteCounts(final String period) { - return new ReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessOrganizerActivityMinuteCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder getSkypeForBusinessParticipantActivityCounts(final String period) { - return new ReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessParticipantActivityCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder getSkypeForBusinessParticipantActivityUserCounts(final String period) { - return new ReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessParticipantActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder getSkypeForBusinessParticipantActivityMinuteCounts(final String period) { - return new ReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessParticipantActivityMinuteCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageUserDetail"), getClient(), null, date); - } - - public IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final String period) { - return new ReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageUserDetail"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder getSkypeForBusinessDeviceUsageDistributionUserCounts(final String period) { - return new ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageDistributionUserCounts"), getClient(), null, period); - } - - public IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder getSkypeForBusinessDeviceUsageUserCounts(final String period) { - return new ReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSkypeForBusinessDeviceUsageUserCounts"), getClient(), null, period); - } - - public IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetYammerActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityUserDetail"), getClient(), null, date); - } - - public IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final String period) { - return new ReportRootGetYammerActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityUserDetail"), getClient(), null, period); - } - - public IReportRootGetYammerActivityCountsRequestBuilder getYammerActivityCounts(final String period) { - return new ReportRootGetYammerActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityCounts"), getClient(), null, period); - } - - public IReportRootGetYammerActivityUserCountsRequestBuilder getYammerActivityUserCounts(final String period) { - return new ReportRootGetYammerActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageUserDetail"), getClient(), null, date); - } - - public IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final String period) { - return new ReportRootGetYammerDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageUserDetail"), getClient(), null, period); - } - - public IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder getYammerDeviceUsageDistributionUserCounts(final String period) { - return new ReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageDistributionUserCounts"), getClient(), null, period); - } - - public IReportRootGetYammerDeviceUsageUserCountsRequestBuilder getYammerDeviceUsageUserCounts(final String period) { - return new ReportRootGetYammerDeviceUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerDeviceUsageUserCounts"), getClient(), null, period); - } - - public IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetYammerGroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityDetail"), getClient(), null, date); - } - - public IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final String period) { - return new ReportRootGetYammerGroupsActivityDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityDetail"), getClient(), null, period); - } - - public IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder getYammerGroupsActivityGroupCounts(final String period) { - return new ReportRootGetYammerGroupsActivityGroupCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityGroupCounts"), getClient(), null, period); - } - - public IReportRootGetYammerGroupsActivityCountsRequestBuilder getYammerGroupsActivityCounts(final String period) { - return new ReportRootGetYammerGroupsActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getYammerGroupsActivityCounts"), getClient(), null, period); - } - - public IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetTeamsUserActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityUserDetail"), getClient(), null, date); - } - - public IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final String period) { - return new ReportRootGetTeamsUserActivityUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityUserDetail"), getClient(), null, period); - } - - public IReportRootGetTeamsUserActivityCountsRequestBuilder getTeamsUserActivityCounts(final String period) { - return new ReportRootGetTeamsUserActivityCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityCounts"), getClient(), null, period); - } - - public IReportRootGetTeamsUserActivityUserCountsRequestBuilder getTeamsUserActivityUserCounts(final String period) { - return new ReportRootGetTeamsUserActivityUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsUserActivityUserCounts"), getClient(), null, period); - } - - public IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date) { - return new ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageUserDetail"), getClient(), null, date); - } - - public IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final String period) { - return new ReportRootGetTeamsDeviceUsageUserDetailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageUserDetail"), getClient(), null, period); - } - - public IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder getTeamsDeviceUsageUserCounts(final String period) { - return new ReportRootGetTeamsDeviceUsageUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageUserCounts"), getClient(), null, period); - } - - public IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder getTeamsDeviceUsageDistributionUserCounts(final String period) { - return new ReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getTeamsDeviceUsageDistributionUserCounts"), getClient(), null, period); - } - - public IReportRootDeviceConfigurationUserActivityRequestBuilder deviceConfigurationUserActivity() { - return new ReportRootDeviceConfigurationUserActivityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deviceConfigurationUserActivity"), getClient(), null); - } - - public IReportRootDeviceConfigurationDeviceActivityRequestBuilder deviceConfigurationDeviceActivity() { - return new ReportRootDeviceConfigurationDeviceActivityRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deviceConfigurationDeviceActivity"), getClient(), null); - } - - public IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails() { - return new ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentFailureDetails"), getClient(), null); - } - - public IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails(final Integer skip, final Integer top, final String filter, final String skipToken) { - return new ReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentFailureDetails"), getClient(), null, skip, top, filter, skipToken); - } - - public IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures() { - return new ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentTopFailures"), getClient(), null); - } - - public IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures(final String period) { - return new ReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.managedDeviceEnrollmentTopFailures"), getClient(), null, period); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequest.java deleted file mode 100644 index 0307e7ce62b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Stream Request. - */ -public class BaseReportStreamRequest extends BaseStreamRequest implements IBaseReportStreamRequest { - - /** - * The request for this ReportStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseReportStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Report put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequestBuilder.java deleted file mode 100644 index e516f4df96e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseReportStreamRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportStreamRequest; -import com.microsoft.graph.requests.extensions.ReportStreamRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Report Stream Request Builder. - */ -public class BaseReportStreamRequestBuilder extends BaseRequestBuilder implements IBaseReportStreamRequestBuilder { - - /** - * The request builder for the ReportStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseReportStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IReportStreamRequest instance - */ - public IReportStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IReportStreamRequest instance - */ - public IReportStreamRequest buildRequest(final java.util.List requestOptions) { - return new ReportStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionPage.java deleted file mode 100644 index 7b49763e2a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ResourceOperation; -import com.microsoft.graph.requests.extensions.IResourceOperationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation Collection Page. - */ -public class BaseResourceOperationCollectionPage extends BaseCollectionPage implements IBaseResourceOperationCollectionPage { - - /** - * A collection page for ResourceOperation - * - * @param response the serialized BaseResourceOperationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseResourceOperationCollectionPage(final BaseResourceOperationCollectionResponse response, final IResourceOperationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequest.java deleted file mode 100644 index e2f8392efe6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation Collection Request. - */ -public class BaseResourceOperationCollectionRequest extends BaseCollectionRequest implements IBaseResourceOperationCollectionRequest { - - /** - * The request builder for this collection of ResourceOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseResourceOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseResourceOperationCollectionResponse.class, IResourceOperationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IResourceOperationCollectionPage get() throws ClientException { - final BaseResourceOperationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ResourceOperation newResourceOperation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ResourceOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newResourceOperation, callback); - } - - public ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ResourceOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newResourceOperation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IResourceOperationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ResourceOperationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IResourceOperationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ResourceOperationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IResourceOperationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ResourceOperationCollectionRequest)this; - } - - public IResourceOperationCollectionPage buildFromResponse(final BaseResourceOperationCollectionResponse response) { - final IResourceOperationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ResourceOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ResourceOperationCollectionPage page = new ResourceOperationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequestBuilder.java deleted file mode 100644 index c9cdea0b1ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation Collection Request Builder. - */ -public class BaseResourceOperationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseResourceOperationCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseResourceOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IResourceOperationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IResourceOperationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ResourceOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IResourceOperationRequestBuilder byId(final String id) { - return new ResourceOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionResponse.java deleted file mode 100644 index 2a06b07adb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ResourceOperation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation Collection Response. - */ -public class BaseResourceOperationCollectionResponse implements IJsonBackedObject { - - /** - * The list of ResourceOperation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequest.java deleted file mode 100644 index 38865feec26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IResourceOperationRequest; -import com.microsoft.graph.requests.extensions.ResourceOperationRequest; -import com.microsoft.graph.models.extensions.ResourceOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation Request. - */ -public class BaseResourceOperationRequest extends BaseRequest implements IBaseResourceOperationRequest { - - /** - * The request for the ResourceOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseResourceOperationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ResourceOperation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ResourceOperation from the service - * - * @return the ResourceOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ResourceOperation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ResourceOperation with a source - * - * @param sourceResourceOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ResourceOperation sourceResourceOperation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceResourceOperation); - } - - /** - * Patches this ResourceOperation with a source - * - * @param sourceResourceOperation the source object with updates - * @return the updated ResourceOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ResourceOperation patch(final ResourceOperation sourceResourceOperation) throws ClientException { - return send(HttpMethod.PATCH, sourceResourceOperation); - } - - /** - * Creates a ResourceOperation with a new object - * - * @param newResourceOperation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ResourceOperation newResourceOperation, final ICallback callback) { - send(HttpMethod.POST, callback, newResourceOperation); - } - - /** - * Creates a ResourceOperation with a new object - * - * @param newResourceOperation the new object to create - * @return the created ResourceOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException { - return send(HttpMethod.POST, newResourceOperation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IResourceOperationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ResourceOperationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IResourceOperationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ResourceOperationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequestBuilder.java deleted file mode 100644 index ecabab1cf89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseResourceOperationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IResourceOperationRequest; -import com.microsoft.graph.requests.extensions.ResourceOperationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Resource Operation Request Builder. - */ -public class BaseResourceOperationRequestBuilder extends BaseRequestBuilder implements IBaseResourceOperationRequestBuilder { - - /** - * The request builder for the ResourceOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseResourceOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IResourceOperationRequest instance - */ - public IResourceOperationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IResourceOperationRequest instance - */ - public IResourceOperationRequest buildRequest(final java.util.List requestOptions) { - return new ResourceOperationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionPage.java deleted file mode 100644 index af2aa29eb8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RoleAssignment; -import com.microsoft.graph.requests.extensions.IRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment Collection Page. - */ -public class BaseRoleAssignmentCollectionPage extends BaseCollectionPage implements IBaseRoleAssignmentCollectionPage { - - /** - * A collection page for RoleAssignment - * - * @param response the serialized BaseRoleAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseRoleAssignmentCollectionPage(final BaseRoleAssignmentCollectionResponse response, final IRoleAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequest.java deleted file mode 100644 index 223725e9c06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment Collection Request. - */ -public class BaseRoleAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseRoleAssignmentCollectionRequest { - - /** - * The request builder for this collection of RoleAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseRoleAssignmentCollectionResponse.class, IRoleAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IRoleAssignmentCollectionPage get() throws ClientException { - final BaseRoleAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final RoleAssignment newRoleAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new RoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newRoleAssignment, callback); - } - - public RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new RoleAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newRoleAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRoleAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (RoleAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRoleAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (RoleAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IRoleAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (RoleAssignmentCollectionRequest)this; - } - - public IRoleAssignmentCollectionPage buildFromResponse(final BaseRoleAssignmentCollectionResponse response) { - final IRoleAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new RoleAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final RoleAssignmentCollectionPage page = new RoleAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequestBuilder.java deleted file mode 100644 index f8f0c59bebb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment Collection Request Builder. - */ -public class BaseRoleAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseRoleAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IRoleAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new RoleAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IRoleAssignmentRequestBuilder byId(final String id) { - return new RoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionResponse.java deleted file mode 100644 index 56a584cfc6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RoleAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment Collection Response. - */ -public class BaseRoleAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of RoleAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequest.java deleted file mode 100644 index bbc0c7056bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRoleAssignmentRequest; -import com.microsoft.graph.requests.extensions.RoleAssignmentRequest; -import com.microsoft.graph.models.extensions.RoleAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment Request. - */ -public class BaseRoleAssignmentRequest extends BaseRequest implements IBaseRoleAssignmentRequest { - - /** - * The request for the RoleAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseRoleAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the RoleAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the RoleAssignment from the service - * - * @return the RoleAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RoleAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this RoleAssignment with a source - * - * @param sourceRoleAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final RoleAssignment sourceRoleAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceRoleAssignment); - } - - /** - * Patches this RoleAssignment with a source - * - * @param sourceRoleAssignment the source object with updates - * @return the updated RoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RoleAssignment patch(final RoleAssignment sourceRoleAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceRoleAssignment); - } - - /** - * Creates a RoleAssignment with a new object - * - * @param newRoleAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final RoleAssignment newRoleAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newRoleAssignment); - } - - /** - * Creates a RoleAssignment with a new object - * - * @param newRoleAssignment the new object to create - * @return the created RoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException { - return send(HttpMethod.POST, newRoleAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRoleAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (RoleAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRoleAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (RoleAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequestBuilder.java deleted file mode 100644 index a583230f479..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleAssignmentRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRoleAssignmentRequest; -import com.microsoft.graph.requests.extensions.RoleAssignmentRequest; -import com.microsoft.graph.requests.extensions.IRoleDefinitionWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.RoleDefinitionWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Assignment Request Builder. - */ -public class BaseRoleAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseRoleAssignmentRequestBuilder { - - /** - * The request builder for the RoleAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IRoleAssignmentRequest instance - */ - public IRoleAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IRoleAssignmentRequest instance - */ - public IRoleAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new RoleAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for RoleDefinition - * - * @return the IRoleDefinitionWithReferenceRequestBuilder instance - */ - public IRoleDefinitionWithReferenceRequestBuilder roleDefinition() { - return new RoleDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("roleDefinition"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionPage.java deleted file mode 100644 index 5145403d44d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RoleDefinition; -import com.microsoft.graph.requests.extensions.IRoleDefinitionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Collection Page. - */ -public class BaseRoleDefinitionCollectionPage extends BaseCollectionPage implements IBaseRoleDefinitionCollectionPage { - - /** - * A collection page for RoleDefinition - * - * @param response the serialized BaseRoleDefinitionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseRoleDefinitionCollectionPage(final BaseRoleDefinitionCollectionResponse response, final IRoleDefinitionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequest.java deleted file mode 100644 index 130463e8c8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Collection Request. - */ -public class BaseRoleDefinitionCollectionRequest extends BaseCollectionRequest implements IBaseRoleDefinitionCollectionRequest { - - /** - * The request builder for this collection of RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseRoleDefinitionCollectionResponse.class, IRoleDefinitionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IRoleDefinitionCollectionPage get() throws ClientException { - final BaseRoleDefinitionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final RoleDefinition newRoleDefinition, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new RoleDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newRoleDefinition, callback); - } - - public RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new RoleDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newRoleDefinition); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRoleDefinitionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (RoleDefinitionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRoleDefinitionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (RoleDefinitionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IRoleDefinitionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (RoleDefinitionCollectionRequest)this; - } - - public IRoleDefinitionCollectionPage buildFromResponse(final BaseRoleDefinitionCollectionResponse response) { - final IRoleDefinitionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new RoleDefinitionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final RoleDefinitionCollectionPage page = new RoleDefinitionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequestBuilder.java deleted file mode 100644 index a81eb9b16e1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Collection Request Builder. - */ -public class BaseRoleDefinitionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseRoleDefinitionCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IRoleDefinitionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IRoleDefinitionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new RoleDefinitionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IRoleDefinitionRequestBuilder byId(final String id) { - return new RoleDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionResponse.java deleted file mode 100644 index ee96f7cdf82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RoleDefinition; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Collection Response. - */ -public class BaseRoleDefinitionCollectionResponse implements IJsonBackedObject { - - /** - * The list of RoleDefinition within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequest.java deleted file mode 100644 index 267ca28988d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Reference Request. - */ -public class BaseRoleDefinitionReferenceRequest extends BaseRequest implements IBaseRoleDefinitionReferenceRequest { - - /** - * The request for the RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, RoleDefinition.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public RoleDefinition delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRoleDefinitionReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (RoleDefinitionReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRoleDefinitionReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (RoleDefinitionReferenceRequest)this; - } - /** - * Puts the RoleDefinition - * - * @param srcRoleDefinition the RoleDefinition reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(RoleDefinition srcRoleDefinition, final ICallback callback) { - send(HttpMethod.PUT, callback, srcRoleDefinition); - } - - /** - * Puts the RoleDefinition - * - * @param srcRoleDefinition the RoleDefinition reference to PUT - * @return the RoleDefinition - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public RoleDefinition put(RoleDefinition srcRoleDefinition) throws ClientException { - return send(HttpMethod.PUT, srcRoleDefinition); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequestBuilder.java deleted file mode 100644 index faf6613584d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Reference Request Builder. - */ -public class BaseRoleDefinitionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseRoleDefinitionReferenceRequestBuilder { - - /** - * The request builder for the RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IRoleDefinitionReferenceRequest instance - */ - public IRoleDefinitionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IRoleDefinitionReferenceRequest instance - */ - public IRoleDefinitionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new RoleDefinitionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequest.java deleted file mode 100644 index a346f8a213d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRoleDefinitionRequest; -import com.microsoft.graph.requests.extensions.RoleDefinitionRequest; -import com.microsoft.graph.models.extensions.RoleDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Request. - */ -public class BaseRoleDefinitionRequest extends BaseRequest implements IBaseRoleDefinitionRequest { - - /** - * The request for the RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseRoleDefinitionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the RoleDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the RoleDefinition from the service - * - * @return the RoleDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RoleDefinition get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this RoleDefinition with a source - * - * @param sourceRoleDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceRoleDefinition); - } - - /** - * Patches this RoleDefinition with a source - * - * @param sourceRoleDefinition the source object with updates - * @return the updated RoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException { - return send(HttpMethod.PATCH, sourceRoleDefinition); - } - - /** - * Creates a RoleDefinition with a new object - * - * @param newRoleDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final RoleDefinition newRoleDefinition, final ICallback callback) { - send(HttpMethod.POST, callback, newRoleDefinition); - } - - /** - * Creates a RoleDefinition with a new object - * - * @param newRoleDefinition the new object to create - * @return the created RoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException { - return send(HttpMethod.POST, newRoleDefinition); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRoleDefinitionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (RoleDefinitionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRoleDefinitionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (RoleDefinitionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequestBuilder.java deleted file mode 100644 index b20c546d168..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRoleDefinitionRequest; -import com.microsoft.graph.requests.extensions.RoleDefinitionRequest; -import com.microsoft.graph.requests.extensions.IRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.RoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.RoleAssignmentRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition Request Builder. - */ -public class BaseRoleDefinitionRequestBuilder extends BaseRequestBuilder implements IBaseRoleDefinitionRequestBuilder { - - /** - * The request builder for the RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IRoleDefinitionRequest instance - */ - public IRoleDefinitionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IRoleDefinitionRequest instance - */ - public IRoleDefinitionRequest buildRequest(final java.util.List requestOptions) { - return new RoleDefinitionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IRoleAssignmentCollectionRequestBuilder roleAssignments() { - return new RoleAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments"), getClient(), null); - } - - public IRoleAssignmentRequestBuilder roleAssignments(final String id) { - return new RoleAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("roleAssignments") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequest.java deleted file mode 100644 index 1777a6dd8b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition With Reference Request. - */ -public class BaseRoleDefinitionWithReferenceRequest extends BaseRequest implements IBaseRoleDefinitionWithReferenceRequest { - - /** - * The request for the RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, RoleDefinition.class); - } - - public void post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public RoleDefinition post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newRoleDefinition; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public RoleDefinition get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceRoleDefinition); - } - - public RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException { - return send(HttpMethod.PATCH, sourceRoleDefinition); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IRoleDefinitionWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IRoleDefinitionWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IRoleDefinitionWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (RoleDefinitionWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequestBuilder.java deleted file mode 100644 index ad4dbcf4041..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseRoleDefinitionWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Role Definition With Reference Request Builder. - */ -public class BaseRoleDefinitionWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseRoleDefinitionWithReferenceRequestBuilder { - - /** - * The request builder for the RoleDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseRoleDefinitionWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IRoleDefinitionWithReferenceRequest instance - */ - public IRoleDefinitionWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IRoleDefinitionWithReferenceRequest instance - */ - public IRoleDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new RoleDefinitionWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IRoleDefinitionReferenceRequestBuilder reference(){ - return new RoleDefinitionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionPage.java deleted file mode 100644 index deb89364781..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SchemaExtension; -import com.microsoft.graph.requests.extensions.ISchemaExtensionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension Collection Page. - */ -public class BaseSchemaExtensionCollectionPage extends BaseCollectionPage implements IBaseSchemaExtensionCollectionPage { - - /** - * A collection page for SchemaExtension - * - * @param response the serialized BaseSchemaExtensionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSchemaExtensionCollectionPage(final BaseSchemaExtensionCollectionResponse response, final ISchemaExtensionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequest.java deleted file mode 100644 index ff5abea17b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension Collection Request. - */ -public class BaseSchemaExtensionCollectionRequest extends BaseCollectionRequest implements IBaseSchemaExtensionCollectionRequest { - - /** - * The request builder for this collection of SchemaExtension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSchemaExtensionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSchemaExtensionCollectionResponse.class, ISchemaExtensionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISchemaExtensionCollectionPage get() throws ClientException { - final BaseSchemaExtensionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SchemaExtension newSchemaExtension, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SchemaExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSchemaExtension, callback); - } - - public SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SchemaExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSchemaExtension); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISchemaExtensionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SchemaExtensionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISchemaExtensionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SchemaExtensionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISchemaExtensionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SchemaExtensionCollectionRequest)this; - } - - public ISchemaExtensionCollectionPage buildFromResponse(final BaseSchemaExtensionCollectionResponse response) { - final ISchemaExtensionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SchemaExtensionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SchemaExtensionCollectionPage page = new SchemaExtensionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequestBuilder.java deleted file mode 100644 index f0691840c37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension Collection Request Builder. - */ -public class BaseSchemaExtensionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSchemaExtensionCollectionRequestBuilder { - - /** - * The request builder for this collection of SchemaExtension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSchemaExtensionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISchemaExtensionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISchemaExtensionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SchemaExtensionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISchemaExtensionRequestBuilder byId(final String id) { - return new SchemaExtensionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionResponse.java deleted file mode 100644 index b8874c51feb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SchemaExtension; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension Collection Response. - */ -public class BaseSchemaExtensionCollectionResponse implements IJsonBackedObject { - - /** - * The list of SchemaExtension within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequest.java deleted file mode 100644 index 6f894b50cca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISchemaExtensionRequest; -import com.microsoft.graph.requests.extensions.SchemaExtensionRequest; -import com.microsoft.graph.models.extensions.SchemaExtension; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension Request. - */ -public class BaseSchemaExtensionRequest extends BaseRequest implements IBaseSchemaExtensionRequest { - - /** - * The request for the SchemaExtension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSchemaExtensionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SchemaExtension from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SchemaExtension from the service - * - * @return the SchemaExtension from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SchemaExtension get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SchemaExtension with a source - * - * @param sourceSchemaExtension the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SchemaExtension sourceSchemaExtension, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSchemaExtension); - } - - /** - * Patches this SchemaExtension with a source - * - * @param sourceSchemaExtension the source object with updates - * @return the updated SchemaExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SchemaExtension patch(final SchemaExtension sourceSchemaExtension) throws ClientException { - return send(HttpMethod.PATCH, sourceSchemaExtension); - } - - /** - * Creates a SchemaExtension with a new object - * - * @param newSchemaExtension the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SchemaExtension newSchemaExtension, final ICallback callback) { - send(HttpMethod.POST, callback, newSchemaExtension); - } - - /** - * Creates a SchemaExtension with a new object - * - * @param newSchemaExtension the new object to create - * @return the created SchemaExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException { - return send(HttpMethod.POST, newSchemaExtension); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISchemaExtensionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SchemaExtensionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISchemaExtensionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SchemaExtensionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequestBuilder.java deleted file mode 100644 index 6da36484df6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSchemaExtensionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISchemaExtensionRequest; -import com.microsoft.graph.requests.extensions.SchemaExtensionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Schema Extension Request Builder. - */ -public class BaseSchemaExtensionRequestBuilder extends BaseRequestBuilder implements IBaseSchemaExtensionRequestBuilder { - - /** - * The request builder for the SchemaExtension - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSchemaExtensionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISchemaExtensionRequest instance - */ - public ISchemaExtensionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISchemaExtensionRequest instance - */ - public ISchemaExtensionRequest buildRequest(final java.util.List requestOptions) { - return new SchemaExtensionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionPage.java deleted file mode 100644 index 12d5fc9509f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group Collection Page. - */ -public class BaseSectionGroupCollectionPage extends BaseCollectionPage implements IBaseSectionGroupCollectionPage { - - /** - * A collection page for SectionGroup - * - * @param response the serialized BaseSectionGroupCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSectionGroupCollectionPage(final BaseSectionGroupCollectionResponse response, final ISectionGroupCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequest.java deleted file mode 100644 index be68c88be5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group Collection Request. - */ -public class BaseSectionGroupCollectionRequest extends BaseCollectionRequest implements IBaseSectionGroupCollectionRequest { - - /** - * The request builder for this collection of SectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSectionGroupCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSectionGroupCollectionResponse.class, ISectionGroupCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISectionGroupCollectionPage get() throws ClientException { - final BaseSectionGroupCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SectionGroup newSectionGroup, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SectionGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSectionGroup, callback); - } - - public SectionGroup post(final SectionGroup newSectionGroup) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SectionGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSectionGroup); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISectionGroupCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SectionGroupCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISectionGroupCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SectionGroupCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISectionGroupCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SectionGroupCollectionRequest)this; - } - - public ISectionGroupCollectionPage buildFromResponse(final BaseSectionGroupCollectionResponse response) { - final ISectionGroupCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SectionGroupCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SectionGroupCollectionPage page = new SectionGroupCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequestBuilder.java deleted file mode 100644 index 6c97c359559..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group Collection Request Builder. - */ -public class BaseSectionGroupCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSectionGroupCollectionRequestBuilder { - - /** - * The request builder for this collection of SectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSectionGroupCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISectionGroupCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISectionGroupCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SectionGroupCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISectionGroupRequestBuilder byId(final String id) { - return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionResponse.java deleted file mode 100644 index 4d44aa21215..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SectionGroup; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group Collection Response. - */ -public class BaseSectionGroupCollectionResponse implements IJsonBackedObject { - - /** - * The list of SectionGroup within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequest.java deleted file mode 100644 index 4eadd5d4053..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISectionGroupRequest; -import com.microsoft.graph.requests.extensions.SectionGroupRequest; -import com.microsoft.graph.models.extensions.SectionGroup; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group Request. - */ -public class BaseSectionGroupRequest extends BaseRequest implements IBaseSectionGroupRequest { - - /** - * The request for the SectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSectionGroupRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SectionGroup from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SectionGroup from the service - * - * @return the SectionGroup from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SectionGroup get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SectionGroup with a source - * - * @param sourceSectionGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SectionGroup sourceSectionGroup, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSectionGroup); - } - - /** - * Patches this SectionGroup with a source - * - * @param sourceSectionGroup the source object with updates - * @return the updated SectionGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SectionGroup patch(final SectionGroup sourceSectionGroup) throws ClientException { - return send(HttpMethod.PATCH, sourceSectionGroup); - } - - /** - * Creates a SectionGroup with a new object - * - * @param newSectionGroup the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SectionGroup newSectionGroup, final ICallback callback) { - send(HttpMethod.POST, callback, newSectionGroup); - } - - /** - * Creates a SectionGroup with a new object - * - * @param newSectionGroup the new object to create - * @return the created SectionGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SectionGroup post(final SectionGroup newSectionGroup) throws ClientException { - return send(HttpMethod.POST, newSectionGroup); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISectionGroupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SectionGroupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISectionGroupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SectionGroupRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequestBuilder.java deleted file mode 100644 index 59edc63d5be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSectionGroupRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISectionGroupRequest; -import com.microsoft.graph.requests.extensions.SectionGroupRequest; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.NotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.SectionGroupRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Section Group Request Builder. - */ -public class BaseSectionGroupRequestBuilder extends BaseRequestBuilder implements IBaseSectionGroupRequestBuilder { - - /** - * The request builder for the SectionGroup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSectionGroupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISectionGroupRequest instance - */ - public ISectionGroupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISectionGroupRequest instance - */ - public ISectionGroupRequest buildRequest(final java.util.List requestOptions) { - return new SectionGroupRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Notebook - * - * @return the INotebookRequestBuilder instance - */ - public INotebookRequestBuilder parentNotebook() { - return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null); - } - - /** - * Gets the request builder for SectionGroup - * - * @return the ISectionGroupRequestBuilder instance - */ - public ISectionGroupRequestBuilder parentSectionGroup() { - return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("parentSectionGroup"), getClient(), null); - } - public IOnenoteSectionCollectionRequestBuilder sections() { - return new OnenoteSectionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections"), getClient(), null); - } - - public IOnenoteSectionRequestBuilder sections(final String id) { - return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("sections") + "/" + id, getClient(), null); - } - public ISectionGroupCollectionRequestBuilder sectionGroups() { - return new SectionGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups"), getClient(), null); - } - - public ISectionGroupRequestBuilder sectionGroups(final String id) { - return new SectionGroupRequestBuilder(getRequestUrlWithAdditionalSegment("sectionGroups") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequest.java deleted file mode 100644 index 372bf7727d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISecurityRequest; -import com.microsoft.graph.requests.extensions.SecurityRequest; -import com.microsoft.graph.models.extensions.Security; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Security Request. - */ -public class BaseSecurityRequest extends BaseRequest implements IBaseSecurityRequest { - - /** - * The request for the Security - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSecurityRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Security from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Security from the service - * - * @return the Security from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Security get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Security with a source - * - * @param sourceSecurity the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Security sourceSecurity, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSecurity); - } - - /** - * Patches this Security with a source - * - * @param sourceSecurity the source object with updates - * @return the updated Security - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Security patch(final Security sourceSecurity) throws ClientException { - return send(HttpMethod.PATCH, sourceSecurity); - } - - /** - * Creates a Security with a new object - * - * @param newSecurity the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Security newSecurity, final ICallback callback) { - send(HttpMethod.POST, callback, newSecurity); - } - - /** - * Creates a Security with a new object - * - * @param newSecurity the new object to create - * @return the created Security - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Security post(final Security newSecurity) throws ClientException { - return send(HttpMethod.POST, newSecurity); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISecurityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SecurityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISecurityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SecurityRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequestBuilder.java deleted file mode 100644 index edaebc1baed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSecurityRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISecurityRequest; -import com.microsoft.graph.requests.extensions.SecurityRequest; -import com.microsoft.graph.requests.extensions.IAlertCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.AlertCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAlertRequestBuilder; -import com.microsoft.graph.requests.extensions.AlertRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Security Request Builder. - */ -public class BaseSecurityRequestBuilder extends BaseRequestBuilder implements IBaseSecurityRequestBuilder { - - /** - * The request builder for the Security - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSecurityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISecurityRequest instance - */ - public ISecurityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISecurityRequest instance - */ - public ISecurityRequest buildRequest(final java.util.List requestOptions) { - return new SecurityRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IAlertCollectionRequestBuilder alerts() { - return new AlertCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("alerts"), getClient(), null); - } - - public IAlertRequestBuilder alerts(final String id) { - return new AlertRequestBuilder(getRequestUrlWithAdditionalSegment("alerts") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionPage.java deleted file mode 100644 index c6ee93fa5cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary Collection Page. - */ -public class BaseSettingStateDeviceSummaryCollectionPage extends BaseCollectionPage implements IBaseSettingStateDeviceSummaryCollectionPage { - - /** - * A collection page for SettingStateDeviceSummary - * - * @param response the serialized BaseSettingStateDeviceSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSettingStateDeviceSummaryCollectionPage(final BaseSettingStateDeviceSummaryCollectionResponse response, final ISettingStateDeviceSummaryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequest.java deleted file mode 100644 index 0bcc149880d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary Collection Request. - */ -public class BaseSettingStateDeviceSummaryCollectionRequest extends BaseCollectionRequest implements IBaseSettingStateDeviceSummaryCollectionRequest { - - /** - * The request builder for this collection of SettingStateDeviceSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSettingStateDeviceSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSettingStateDeviceSummaryCollectionResponse.class, ISettingStateDeviceSummaryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISettingStateDeviceSummaryCollectionPage get() throws ClientException { - final BaseSettingStateDeviceSummaryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SettingStateDeviceSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSettingStateDeviceSummary, callback); - } - - public SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SettingStateDeviceSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSettingStateDeviceSummary); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISettingStateDeviceSummaryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SettingStateDeviceSummaryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISettingStateDeviceSummaryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SettingStateDeviceSummaryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISettingStateDeviceSummaryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SettingStateDeviceSummaryCollectionRequest)this; - } - - public ISettingStateDeviceSummaryCollectionPage buildFromResponse(final BaseSettingStateDeviceSummaryCollectionResponse response) { - final ISettingStateDeviceSummaryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SettingStateDeviceSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SettingStateDeviceSummaryCollectionPage page = new SettingStateDeviceSummaryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequestBuilder.java deleted file mode 100644 index aaf1f1bee5c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary Collection Request Builder. - */ -public class BaseSettingStateDeviceSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSettingStateDeviceSummaryCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSettingStateDeviceSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISettingStateDeviceSummaryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISettingStateDeviceSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SettingStateDeviceSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISettingStateDeviceSummaryRequestBuilder byId(final String id) { - return new SettingStateDeviceSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionResponse.java deleted file mode 100644 index aaeba99e020..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary Collection Response. - */ -public class BaseSettingStateDeviceSummaryCollectionResponse implements IJsonBackedObject { - - /** - * The list of SettingStateDeviceSummary within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequest.java deleted file mode 100644 index 47fe67d028e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequest; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequest; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary Request. - */ -public class BaseSettingStateDeviceSummaryRequest extends BaseRequest implements IBaseSettingStateDeviceSummaryRequest { - - /** - * The request for the SettingStateDeviceSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSettingStateDeviceSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SettingStateDeviceSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SettingStateDeviceSummary from the service - * - * @return the SettingStateDeviceSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SettingStateDeviceSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SettingStateDeviceSummary with a source - * - * @param sourceSettingStateDeviceSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSettingStateDeviceSummary); - } - - /** - * Patches this SettingStateDeviceSummary with a source - * - * @param sourceSettingStateDeviceSummary the source object with updates - * @return the updated SettingStateDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SettingStateDeviceSummary patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceSettingStateDeviceSummary); - } - - /** - * Creates a SettingStateDeviceSummary with a new object - * - * @param newSettingStateDeviceSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newSettingStateDeviceSummary); - } - - /** - * Creates a SettingStateDeviceSummary with a new object - * - * @param newSettingStateDeviceSummary the new object to create - * @return the created SettingStateDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException { - return send(HttpMethod.POST, newSettingStateDeviceSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISettingStateDeviceSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SettingStateDeviceSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISettingStateDeviceSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SettingStateDeviceSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequestBuilder.java deleted file mode 100644 index 0b3afffa6b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSettingStateDeviceSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequest; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Setting State Device Summary Request Builder. - */ -public class BaseSettingStateDeviceSummaryRequestBuilder extends BaseRequestBuilder implements IBaseSettingStateDeviceSummaryRequestBuilder { - - /** - * The request builder for the SettingStateDeviceSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSettingStateDeviceSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISettingStateDeviceSummaryRequest instance - */ - public ISettingStateDeviceSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISettingStateDeviceSummaryRequest instance - */ - public ISettingStateDeviceSummaryRequest buildRequest(final java.util.List requestOptions) { - return new SettingStateDeviceSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionPage.java deleted file mode 100644 index 51fad14e743..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedDriveItem; -import com.microsoft.graph.requests.extensions.ISharedDriveItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item Collection Page. - */ -public class BaseSharedDriveItemCollectionPage extends BaseCollectionPage implements IBaseSharedDriveItemCollectionPage { - - /** - * A collection page for SharedDriveItem - * - * @param response the serialized BaseSharedDriveItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSharedDriveItemCollectionPage(final BaseSharedDriveItemCollectionResponse response, final ISharedDriveItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequest.java deleted file mode 100644 index ed45960ce6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item Collection Request. - */ -public class BaseSharedDriveItemCollectionRequest extends BaseCollectionRequest implements IBaseSharedDriveItemCollectionRequest { - - /** - * The request builder for this collection of SharedDriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedDriveItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSharedDriveItemCollectionResponse.class, ISharedDriveItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISharedDriveItemCollectionPage get() throws ClientException { - final BaseSharedDriveItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SharedDriveItem newSharedDriveItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SharedDriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSharedDriveItem, callback); - } - - public SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SharedDriveItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSharedDriveItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISharedDriveItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SharedDriveItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISharedDriveItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SharedDriveItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISharedDriveItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SharedDriveItemCollectionRequest)this; - } - - public ISharedDriveItemCollectionPage buildFromResponse(final BaseSharedDriveItemCollectionResponse response) { - final ISharedDriveItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SharedDriveItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SharedDriveItemCollectionPage page = new SharedDriveItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequestBuilder.java deleted file mode 100644 index 73363821712..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item Collection Request Builder. - */ -public class BaseSharedDriveItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSharedDriveItemCollectionRequestBuilder { - - /** - * The request builder for this collection of SharedDriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedDriveItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISharedDriveItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISharedDriveItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SharedDriveItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISharedDriveItemRequestBuilder byId(final String id) { - return new SharedDriveItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionResponse.java deleted file mode 100644 index c1c7dcb90ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedDriveItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item Collection Response. - */ -public class BaseSharedDriveItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of SharedDriveItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequest.java deleted file mode 100644 index b803ef64f6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedDriveItemRequest; -import com.microsoft.graph.requests.extensions.SharedDriveItemRequest; -import com.microsoft.graph.models.extensions.SharedDriveItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item Request. - */ -public class BaseSharedDriveItemRequest extends BaseRequest implements IBaseSharedDriveItemRequest { - - /** - * The request for the SharedDriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSharedDriveItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SharedDriveItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SharedDriveItem from the service - * - * @return the SharedDriveItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedDriveItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SharedDriveItem with a source - * - * @param sourceSharedDriveItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SharedDriveItem sourceSharedDriveItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSharedDriveItem); - } - - /** - * Patches this SharedDriveItem with a source - * - * @param sourceSharedDriveItem the source object with updates - * @return the updated SharedDriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedDriveItem patch(final SharedDriveItem sourceSharedDriveItem) throws ClientException { - return send(HttpMethod.PATCH, sourceSharedDriveItem); - } - - /** - * Creates a SharedDriveItem with a new object - * - * @param newSharedDriveItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SharedDriveItem newSharedDriveItem, final ICallback callback) { - send(HttpMethod.POST, callback, newSharedDriveItem); - } - - /** - * Creates a SharedDriveItem with a new object - * - * @param newSharedDriveItem the new object to create - * @return the created SharedDriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException { - return send(HttpMethod.POST, newSharedDriveItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISharedDriveItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SharedDriveItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISharedDriveItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SharedDriveItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequestBuilder.java deleted file mode 100644 index 576b8203262..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedDriveItemRequestBuilder.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedDriveItemRequest; -import com.microsoft.graph.requests.extensions.SharedDriveItemRequest; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListRequestBuilder; -import com.microsoft.graph.requests.extensions.ListRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.ListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; -import com.microsoft.graph.requests.extensions.SiteRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Drive Item Request Builder. - */ -public class BaseSharedDriveItemRequestBuilder extends BaseRequestBuilder implements IBaseSharedDriveItemRequestBuilder { - - /** - * The request builder for the SharedDriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedDriveItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISharedDriveItemRequest instance - */ - public ISharedDriveItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISharedDriveItemRequest instance - */ - public ISharedDriveItemRequest buildRequest(final java.util.List requestOptions) { - return new SharedDriveItemRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - public IDriveItemRequestBuilder driveItem() { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("driveItem"), getClient(), null); - } - public IDriveItemCollectionRequestBuilder items() { - return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); - } - - public IDriveItemRequestBuilder items(final String id) { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for List - * - * @return the IListRequestBuilder instance - */ - public IListRequestBuilder list() { - return new ListRequestBuilder(getRequestUrlWithAdditionalSegment("list"), getClient(), null); - } - - /** - * Gets the request builder for ListItem - * - * @return the IListItemRequestBuilder instance - */ - public IListItemRequestBuilder listItem() { - return new ListItemRequestBuilder(getRequestUrlWithAdditionalSegment("listItem"), getClient(), null); - } - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - public IDriveItemRequestBuilder root() { - return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("root"), getClient(), null); - } - - /** - * Gets the request builder for Site - * - * @return the ISiteRequestBuilder instance - */ - public ISiteRequestBuilder site() { - return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment("site"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionPage.java deleted file mode 100644 index 7da19fd5c04..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedInsight; -import com.microsoft.graph.requests.extensions.ISharedInsightCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight Collection Page. - */ -public class BaseSharedInsightCollectionPage extends BaseCollectionPage implements IBaseSharedInsightCollectionPage { - - /** - * A collection page for SharedInsight - * - * @param response the serialized BaseSharedInsightCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSharedInsightCollectionPage(final BaseSharedInsightCollectionResponse response, final ISharedInsightCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequest.java deleted file mode 100644 index dc064069169..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight Collection Request. - */ -public class BaseSharedInsightCollectionRequest extends BaseCollectionRequest implements IBaseSharedInsightCollectionRequest { - - /** - * The request builder for this collection of SharedInsight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedInsightCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSharedInsightCollectionResponse.class, ISharedInsightCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISharedInsightCollectionPage get() throws ClientException { - final BaseSharedInsightCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SharedInsight newSharedInsight, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SharedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSharedInsight, callback); - } - - public SharedInsight post(final SharedInsight newSharedInsight) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SharedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSharedInsight); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISharedInsightCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SharedInsightCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISharedInsightCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SharedInsightCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISharedInsightCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SharedInsightCollectionRequest)this; - } - - public ISharedInsightCollectionPage buildFromResponse(final BaseSharedInsightCollectionResponse response) { - final ISharedInsightCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SharedInsightCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SharedInsightCollectionPage page = new SharedInsightCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequestBuilder.java deleted file mode 100644 index 69e1f173548..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight Collection Request Builder. - */ -public class BaseSharedInsightCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSharedInsightCollectionRequestBuilder { - - /** - * The request builder for this collection of OfficeGraphInsights - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedInsightCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISharedInsightCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISharedInsightCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SharedInsightCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISharedInsightRequestBuilder byId(final String id) { - return new SharedInsightRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionResponse.java deleted file mode 100644 index 77de41fa068..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedInsight; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight Collection Response. - */ -public class BaseSharedInsightCollectionResponse implements IJsonBackedObject { - - /** - * The list of SharedInsight within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequest.java deleted file mode 100644 index a3bf1fb455f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedInsightRequest; -import com.microsoft.graph.requests.extensions.SharedInsightRequest; -import com.microsoft.graph.models.extensions.SharedInsight; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight Request. - */ -public class BaseSharedInsightRequest extends BaseRequest implements IBaseSharedInsightRequest { - - /** - * The request for the SharedInsight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSharedInsightRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SharedInsight from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SharedInsight from the service - * - * @return the SharedInsight from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedInsight get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SharedInsight with a source - * - * @param sourceSharedInsight the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SharedInsight sourceSharedInsight, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSharedInsight); - } - - /** - * Patches this SharedInsight with a source - * - * @param sourceSharedInsight the source object with updates - * @return the updated SharedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedInsight patch(final SharedInsight sourceSharedInsight) throws ClientException { - return send(HttpMethod.PATCH, sourceSharedInsight); - } - - /** - * Creates a SharedInsight with a new object - * - * @param newSharedInsight the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SharedInsight newSharedInsight, final ICallback callback) { - send(HttpMethod.POST, callback, newSharedInsight); - } - - /** - * Creates a SharedInsight with a new object - * - * @param newSharedInsight the new object to create - * @return the created SharedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedInsight post(final SharedInsight newSharedInsight) throws ClientException { - return send(HttpMethod.POST, newSharedInsight); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISharedInsightRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SharedInsightRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISharedInsightRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SharedInsightRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequestBuilder.java deleted file mode 100644 index 5c9286dc32a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedInsightRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedInsightRequest; -import com.microsoft.graph.requests.extensions.SharedInsightRequest; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared Insight Request Builder. - */ -public class BaseSharedInsightRequestBuilder extends BaseRequestBuilder implements IBaseSharedInsightRequestBuilder { - - /** - * The request builder for the SharedInsight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedInsightRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISharedInsightRequest instance - */ - public ISharedInsightRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISharedInsightRequest instance - */ - public ISharedInsightRequest buildRequest(final java.util.List requestOptions) { - return new SharedInsightRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - public IEntityWithReferenceRequestBuilder lastSharedMethod() { - return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastSharedMethod"), getClient(), null); - } - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - public IEntityWithReferenceRequestBuilder resource() { - return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("resource"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequest.java deleted file mode 100644 index 547cd4d0d86..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedPCConfigurationRequest; -import com.microsoft.graph.requests.extensions.SharedPCConfigurationRequest; -import com.microsoft.graph.models.extensions.SharedPCConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared PCConfiguration Request. - */ -public class BaseSharedPCConfigurationRequest extends BaseRequest implements IBaseSharedPCConfigurationRequest { - - /** - * The request for the SharedPCConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSharedPCConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SharedPCConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SharedPCConfiguration from the service - * - * @return the SharedPCConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedPCConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SharedPCConfiguration with a source - * - * @param sourceSharedPCConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SharedPCConfiguration sourceSharedPCConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSharedPCConfiguration); - } - - /** - * Patches this SharedPCConfiguration with a source - * - * @param sourceSharedPCConfiguration the source object with updates - * @return the updated SharedPCConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedPCConfiguration patch(final SharedPCConfiguration sourceSharedPCConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceSharedPCConfiguration); - } - - /** - * Creates a SharedPCConfiguration with a new object - * - * @param newSharedPCConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SharedPCConfiguration newSharedPCConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newSharedPCConfiguration); - } - - /** - * Creates a SharedPCConfiguration with a new object - * - * @param newSharedPCConfiguration the new object to create - * @return the created SharedPCConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SharedPCConfiguration post(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException { - return send(HttpMethod.POST, newSharedPCConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISharedPCConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SharedPCConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISharedPCConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SharedPCConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequestBuilder.java deleted file mode 100644 index e8c2f47e590..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSharedPCConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedPCConfigurationRequest; -import com.microsoft.graph.requests.extensions.SharedPCConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Shared PCConfiguration Request Builder. - */ -public class BaseSharedPCConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseSharedPCConfigurationRequestBuilder { - - /** - * The request builder for the SharedPCConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSharedPCConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISharedPCConfigurationRequest instance - */ - public ISharedPCConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISharedPCConfigurationRequest instance - */ - public ISharedPCConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new SharedPCConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionPage.java deleted file mode 100644 index 6b48861d494..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property Collection Page. - */ -public class BaseSingleValueLegacyExtendedPropertyCollectionPage extends BaseCollectionPage implements IBaseSingleValueLegacyExtendedPropertyCollectionPage { - - /** - * A collection page for SingleValueLegacyExtendedProperty - * - * @param response the serialized BaseSingleValueLegacyExtendedPropertyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSingleValueLegacyExtendedPropertyCollectionPage(final BaseSingleValueLegacyExtendedPropertyCollectionResponse response, final ISingleValueLegacyExtendedPropertyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequest.java deleted file mode 100644 index e1f5d5f17f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property Collection Request. - */ -public class BaseSingleValueLegacyExtendedPropertyCollectionRequest extends BaseCollectionRequest implements IBaseSingleValueLegacyExtendedPropertyCollectionRequest { - - /** - * The request builder for this collection of SingleValueLegacyExtendedProperty - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSingleValueLegacyExtendedPropertyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSingleValueLegacyExtendedPropertyCollectionResponse.class, ISingleValueLegacyExtendedPropertyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISingleValueLegacyExtendedPropertyCollectionPage get() throws ClientException { - final BaseSingleValueLegacyExtendedPropertyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SingleValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSingleValueLegacyExtendedProperty, callback); - } - - public SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SingleValueLegacyExtendedPropertyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSingleValueLegacyExtendedProperty); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISingleValueLegacyExtendedPropertyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SingleValueLegacyExtendedPropertyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISingleValueLegacyExtendedPropertyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SingleValueLegacyExtendedPropertyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISingleValueLegacyExtendedPropertyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SingleValueLegacyExtendedPropertyCollectionRequest)this; - } - - public ISingleValueLegacyExtendedPropertyCollectionPage buildFromResponse(final BaseSingleValueLegacyExtendedPropertyCollectionResponse response) { - final ISingleValueLegacyExtendedPropertyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SingleValueLegacyExtendedPropertyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SingleValueLegacyExtendedPropertyCollectionPage page = new SingleValueLegacyExtendedPropertyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java deleted file mode 100644 index 457dd563a87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property Collection Request Builder. - */ -public class BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder { - - /** - * The request builder for this collection of Post - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SingleValueLegacyExtendedPropertyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISingleValueLegacyExtendedPropertyRequestBuilder byId(final String id) { - return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionResponse.java deleted file mode 100644 index ae45adab9ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property Collection Response. - */ -public class BaseSingleValueLegacyExtendedPropertyCollectionResponse implements IJsonBackedObject { - - /** - * The list of SingleValueLegacyExtendedProperty within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequest.java deleted file mode 100644 index d58988568de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property Request. - */ -public class BaseSingleValueLegacyExtendedPropertyRequest extends BaseRequest implements IBaseSingleValueLegacyExtendedPropertyRequest { - - /** - * The request for the SingleValueLegacyExtendedProperty - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSingleValueLegacyExtendedPropertyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SingleValueLegacyExtendedProperty from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SingleValueLegacyExtendedProperty from the service - * - * @return the SingleValueLegacyExtendedProperty from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SingleValueLegacyExtendedProperty get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SingleValueLegacyExtendedProperty with a source - * - * @param sourceSingleValueLegacyExtendedProperty the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSingleValueLegacyExtendedProperty); - } - - /** - * Patches this SingleValueLegacyExtendedProperty with a source - * - * @param sourceSingleValueLegacyExtendedProperty the source object with updates - * @return the updated SingleValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SingleValueLegacyExtendedProperty patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty) throws ClientException { - return send(HttpMethod.PATCH, sourceSingleValueLegacyExtendedProperty); - } - - /** - * Creates a SingleValueLegacyExtendedProperty with a new object - * - * @param newSingleValueLegacyExtendedProperty the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback) { - send(HttpMethod.POST, callback, newSingleValueLegacyExtendedProperty); - } - - /** - * Creates a SingleValueLegacyExtendedProperty with a new object - * - * @param newSingleValueLegacyExtendedProperty the new object to create - * @return the created SingleValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException { - return send(HttpMethod.POST, newSingleValueLegacyExtendedProperty); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISingleValueLegacyExtendedPropertyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SingleValueLegacyExtendedPropertyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISingleValueLegacyExtendedPropertyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SingleValueLegacyExtendedPropertyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequestBuilder.java deleted file mode 100644 index 86a619a6025..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSingleValueLegacyExtendedPropertyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequest; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Single Value Legacy Extended Property Request Builder. - */ -public class BaseSingleValueLegacyExtendedPropertyRequestBuilder extends BaseRequestBuilder implements IBaseSingleValueLegacyExtendedPropertyRequestBuilder { - - /** - * The request builder for the SingleValueLegacyExtendedProperty - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSingleValueLegacyExtendedPropertyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISingleValueLegacyExtendedPropertyRequest instance - */ - public ISingleValueLegacyExtendedPropertyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISingleValueLegacyExtendedPropertyRequest instance - */ - public ISingleValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions) { - return new SingleValueLegacyExtendedPropertyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionPage.java deleted file mode 100644 index 2f4b5e9a4e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Collection Page. - */ -public class BaseSiteCollectionPage extends BaseCollectionPage implements IBaseSiteCollectionPage { - - /** - * A collection page for Site - * - * @param response the serialized BaseSiteCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSiteCollectionPage(final BaseSiteCollectionResponse response, final ISiteCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequest.java deleted file mode 100644 index 4cda46afa93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Collection Request. - */ -public class BaseSiteCollectionRequest extends BaseCollectionRequest implements IBaseSiteCollectionRequest { - - /** - * The request builder for this collection of Site - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSiteCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSiteCollectionResponse.class, ISiteCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISiteCollectionPage get() throws ClientException { - final BaseSiteCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Site newSite, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SiteRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSite, callback); - } - - public Site post(final Site newSite) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SiteRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSite); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISiteCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SiteCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISiteCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SiteCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISiteCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SiteCollectionRequest)this; - } - - public ISiteCollectionPage buildFromResponse(final BaseSiteCollectionResponse response) { - final ISiteCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SiteCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SiteCollectionPage page = new SiteCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequestBuilder.java deleted file mode 100644 index 5b1764b7f95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Collection Request Builder. - */ -public class BaseSiteCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSiteCollectionRequestBuilder { - - /** - * The request builder for this collection of Site - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSiteCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISiteCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISiteCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SiteCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISiteRequestBuilder byId(final String id) { - return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionResponse.java deleted file mode 100644 index 257417d870f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Site; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Collection Response. - */ -public class BaseSiteCollectionResponse implements IJsonBackedObject { - - /** - * The list of Site within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequest.java deleted file mode 100644 index b6823912134..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; -import com.microsoft.graph.requests.extensions.SiteGetByPathRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Get By Path Request. - */ -public class BaseSiteGetByPathRequest extends BaseRequest implements IBaseSiteGetByPathRequest { - - /** - * The request for this SiteGetByPath - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSiteGetByPathRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Site.class); - } - - /** - * Patches the SiteGetByPath - * @param srcSite the Site with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(Site srcSite, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcSite); - } - - /** - * Patches the SiteGetByPath - * - * @param srcSite the Site with which to PATCH - * @return the Site - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Site patch(Site srcSite) throws ClientException { - return this.send(HttpMethod.PATCH, srcSite); - } - - /** - * Puts the SiteGetByPath - * - * @param srcSite the Site to PUT - * @param callback the callback to be called after success or failure - */ - public void put(Site srcSite, final ICallback callback) { - send(HttpMethod.PUT, callback, srcSite); - } - - /** - * Puts the SiteGetByPath - * - * @param srcSite the Site to PUT - * @return the Site - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Site put(Site srcSite) throws ClientException { - return this.send(HttpMethod.PUT, srcSite); - } - /** - * Gets the Site - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Site - * - * @return the Site - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Site get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISiteGetByPathRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SiteGetByPathRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISiteGetByPathRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SiteGetByPathRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequestBuilder.java deleted file mode 100644 index 0797f5c09aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteGetByPathRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; -import com.microsoft.graph.requests.extensions.SiteGetByPathRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Get By Path Request Builder. - */ -public class BaseSiteGetByPathRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this SiteGetByPath - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param path the path - */ - public BaseSiteGetByPathRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String path) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("path", path)); - } - - /** - * Creates the ISiteGetByPathRequest - * - * @return the ISiteGetByPathRequest instance - */ - public ISiteGetByPathRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ISiteGetByPathRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ISiteGetByPathRequest instance - */ - public ISiteGetByPathRequest buildRequest(final java.util.List requestOptions) { - SiteGetByPathRequest request = new SiteGetByPathRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequest.java deleted file mode 100644 index 14370bcc322..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISiteRequest; -import com.microsoft.graph.requests.extensions.SiteRequest; -import com.microsoft.graph.models.extensions.Site; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Request. - */ -public class BaseSiteRequest extends BaseRequest implements IBaseSiteRequest { - - /** - * The request for the Site - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSiteRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Site from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Site from the service - * - * @return the Site from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Site get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Site with a source - * - * @param sourceSite the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Site sourceSite, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSite); - } - - /** - * Patches this Site with a source - * - * @param sourceSite the source object with updates - * @return the updated Site - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Site patch(final Site sourceSite) throws ClientException { - return send(HttpMethod.PATCH, sourceSite); - } - - /** - * Creates a Site with a new object - * - * @param newSite the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Site newSite, final ICallback callback) { - send(HttpMethod.POST, callback, newSite); - } - - /** - * Creates a Site with a new object - * - * @param newSite the new object to create - * @return the created Site - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Site post(final Site newSite) throws ClientException { - return send(HttpMethod.POST, newSite); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISiteRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SiteRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISiteRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SiteRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequestBuilder.java deleted file mode 100644 index 20df69b3c9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSiteRequestBuilder.java +++ /dev/null @@ -1,146 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISiteRequest; -import com.microsoft.graph.requests.extensions.SiteRequest; -import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.ColumnDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ContentTypeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.ContentTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IBaseItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.BaseItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IBaseItemRequestBuilder; -import com.microsoft.graph.requests.extensions.BaseItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ListCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IListRequestBuilder; -import com.microsoft.graph.requests.extensions.ListRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.SiteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; -import com.microsoft.graph.requests.extensions.SiteRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteGetByPathRequestBuilder; -import com.microsoft.graph.requests.extensions.SiteGetByPathRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Site Request Builder. - */ -public class BaseSiteRequestBuilder extends BaseRequestBuilder implements IBaseSiteRequestBuilder { - - /** - * The request builder for the Site - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSiteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISiteRequest instance - */ - public ISiteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISiteRequest instance - */ - public ISiteRequest buildRequest(final java.util.List requestOptions) { - return new SiteRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IColumnDefinitionCollectionRequestBuilder columns() { - return new ColumnDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null); - } - - public IColumnDefinitionRequestBuilder columns(final String id) { - return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null); - } - public IContentTypeCollectionRequestBuilder contentTypes() { - return new ContentTypeCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes"), getClient(), null); - } - - public IContentTypeRequestBuilder contentTypes(final String id) { - return new ContentTypeRequestBuilder(getRequestUrlWithAdditionalSegment("contentTypes") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - public IDriveRequestBuilder drive() { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); - } - public IDriveCollectionRequestBuilder drives() { - return new DriveCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("drives"), getClient(), null); - } - - public IDriveRequestBuilder drives(final String id) { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null); - } - public IBaseItemCollectionRequestBuilder items() { - return new BaseItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("items"), getClient(), null); - } - - public IBaseItemRequestBuilder items(final String id) { - return new BaseItemRequestBuilder(getRequestUrlWithAdditionalSegment("items") + "/" + id, getClient(), null); - } - public IListCollectionRequestBuilder lists() { - return new ListCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("lists"), getClient(), null); - } - - public IListRequestBuilder lists(final String id) { - return new ListRequestBuilder(getRequestUrlWithAdditionalSegment("lists") + "/" + id, getClient(), null); - } - public ISiteCollectionRequestBuilder sites() { - return new SiteCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("sites"), getClient(), null); - } - - public ISiteRequestBuilder sites(final String id) { - return new SiteRequestBuilder(getRequestUrlWithAdditionalSegment("sites") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Onenote - * - * @return the IOnenoteRequestBuilder instance - */ - public IOnenoteRequestBuilder onenote() { - return new OnenoteRequestBuilder(getRequestUrlWithAdditionalSegment("onenote"), getClient(), null); - } - - public ISiteGetByPathRequestBuilder getByPath(final String path) { - return new SiteGetByPathRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getByPath"), getClient(), null, path); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequest.java deleted file mode 100644 index b9c7223b919..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary Reference Request. - */ -public class BaseSoftwareUpdateStatusSummaryReferenceRequest extends BaseRequest implements IBaseSoftwareUpdateStatusSummaryReferenceRequest { - - /** - * The request for the SoftwareUpdateStatusSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSoftwareUpdateStatusSummaryReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, SoftwareUpdateStatusSummary.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public SoftwareUpdateStatusSummary delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISoftwareUpdateStatusSummaryReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SoftwareUpdateStatusSummaryReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISoftwareUpdateStatusSummaryReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SoftwareUpdateStatusSummaryReferenceRequest)this; - } - /** - * Puts the SoftwareUpdateStatusSummary - * - * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary, final ICallback callback) { - send(HttpMethod.PUT, callback, srcSoftwareUpdateStatusSummary); - } - - /** - * Puts the SoftwareUpdateStatusSummary - * - * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary reference to PUT - * @return the SoftwareUpdateStatusSummary - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public SoftwareUpdateStatusSummary put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary) throws ClientException { - return send(HttpMethod.PUT, srcSoftwareUpdateStatusSummary); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java deleted file mode 100644 index ef109dc9f9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary Reference Request Builder. - */ -public class BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder extends BaseRequestBuilder implements IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder { - - /** - * The request builder for the SoftwareUpdateStatusSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSoftwareUpdateStatusSummaryReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The ISoftwareUpdateStatusSummaryReferenceRequest instance - */ - public ISoftwareUpdateStatusSummaryReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISoftwareUpdateStatusSummaryReferenceRequest instance - */ - public ISoftwareUpdateStatusSummaryReferenceRequest buildRequest(final java.util.List requestOptions) { - return new SoftwareUpdateStatusSummaryReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequest.java deleted file mode 100644 index fedc9c0529e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryRequest; -import com.microsoft.graph.requests.extensions.SoftwareUpdateStatusSummaryRequest; -import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary Request. - */ -public class BaseSoftwareUpdateStatusSummaryRequest extends BaseRequest implements IBaseSoftwareUpdateStatusSummaryRequest { - - /** - * The request for the SoftwareUpdateStatusSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSoftwareUpdateStatusSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SoftwareUpdateStatusSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SoftwareUpdateStatusSummary from the service - * - * @return the SoftwareUpdateStatusSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SoftwareUpdateStatusSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SoftwareUpdateStatusSummary with a source - * - * @param sourceSoftwareUpdateStatusSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSoftwareUpdateStatusSummary); - } - - /** - * Patches this SoftwareUpdateStatusSummary with a source - * - * @param sourceSoftwareUpdateStatusSummary the source object with updates - * @return the updated SoftwareUpdateStatusSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceSoftwareUpdateStatusSummary); - } - - /** - * Creates a SoftwareUpdateStatusSummary with a new object - * - * @param newSoftwareUpdateStatusSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newSoftwareUpdateStatusSummary); - } - - /** - * Creates a SoftwareUpdateStatusSummary with a new object - * - * @param newSoftwareUpdateStatusSummary the new object to create - * @return the created SoftwareUpdateStatusSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException { - return send(HttpMethod.POST, newSoftwareUpdateStatusSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISoftwareUpdateStatusSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SoftwareUpdateStatusSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISoftwareUpdateStatusSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SoftwareUpdateStatusSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequestBuilder.java deleted file mode 100644 index ecc5a128e4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryRequest; -import com.microsoft.graph.requests.extensions.SoftwareUpdateStatusSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary Request Builder. - */ -public class BaseSoftwareUpdateStatusSummaryRequestBuilder extends BaseRequestBuilder implements IBaseSoftwareUpdateStatusSummaryRequestBuilder { - - /** - * The request builder for the SoftwareUpdateStatusSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSoftwareUpdateStatusSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISoftwareUpdateStatusSummaryRequest instance - */ - public ISoftwareUpdateStatusSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISoftwareUpdateStatusSummaryRequest instance - */ - public ISoftwareUpdateStatusSummaryRequest buildRequest(final java.util.List requestOptions) { - return new SoftwareUpdateStatusSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequest.java deleted file mode 100644 index 241c528f470..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary With Reference Request. - */ -public class BaseSoftwareUpdateStatusSummaryWithReferenceRequest extends BaseRequest implements IBaseSoftwareUpdateStatusSummaryWithReferenceRequest { - - /** - * The request for the SoftwareUpdateStatusSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSoftwareUpdateStatusSummaryWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, SoftwareUpdateStatusSummary.class); - } - - public void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newSoftwareUpdateStatusSummary; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public SoftwareUpdateStatusSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSoftwareUpdateStatusSummary); - } - - public SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceSoftwareUpdateStatusSummary); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISoftwareUpdateStatusSummaryWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ISoftwareUpdateStatusSummaryWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISoftwareUpdateStatusSummaryWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SoftwareUpdateStatusSummaryWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java deleted file mode 100644 index e46625f3ccf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Software Update Status Summary With Reference Request Builder. - */ -public class BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder { - - /** - * The request builder for the SoftwareUpdateStatusSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance - */ - public ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance - */ - public ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new SoftwareUpdateStatusSummaryWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISoftwareUpdateStatusSummaryReferenceRequestBuilder reference(){ - return new SoftwareUpdateStatusSummaryReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionPage.java deleted file mode 100644 index 60c031beb74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SubscribedSku; -import com.microsoft.graph.requests.extensions.ISubscribedSkuCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku Collection Page. - */ -public class BaseSubscribedSkuCollectionPage extends BaseCollectionPage implements IBaseSubscribedSkuCollectionPage { - - /** - * A collection page for SubscribedSku - * - * @param response the serialized BaseSubscribedSkuCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSubscribedSkuCollectionPage(final BaseSubscribedSkuCollectionResponse response, final ISubscribedSkuCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequest.java deleted file mode 100644 index d82f810188b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku Collection Request. - */ -public class BaseSubscribedSkuCollectionRequest extends BaseCollectionRequest implements IBaseSubscribedSkuCollectionRequest { - - /** - * The request builder for this collection of SubscribedSku - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSubscribedSkuCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSubscribedSkuCollectionResponse.class, ISubscribedSkuCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISubscribedSkuCollectionPage get() throws ClientException { - final BaseSubscribedSkuCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final SubscribedSku newSubscribedSku, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SubscribedSkuRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSubscribedSku, callback); - } - - public SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SubscribedSkuRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSubscribedSku); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISubscribedSkuCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SubscribedSkuCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISubscribedSkuCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SubscribedSkuCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISubscribedSkuCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SubscribedSkuCollectionRequest)this; - } - - public ISubscribedSkuCollectionPage buildFromResponse(final BaseSubscribedSkuCollectionResponse response) { - final ISubscribedSkuCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SubscribedSkuCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SubscribedSkuCollectionPage page = new SubscribedSkuCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequestBuilder.java deleted file mode 100644 index e364f21da8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku Collection Request Builder. - */ -public class BaseSubscribedSkuCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSubscribedSkuCollectionRequestBuilder { - - /** - * The request builder for this collection of SubscribedSku - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSubscribedSkuCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISubscribedSkuCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISubscribedSkuCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SubscribedSkuCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISubscribedSkuRequestBuilder byId(final String id) { - return new SubscribedSkuRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionResponse.java deleted file mode 100644 index fb19a6cee36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SubscribedSku; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku Collection Response. - */ -public class BaseSubscribedSkuCollectionResponse implements IJsonBackedObject { - - /** - * The list of SubscribedSku within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequest.java deleted file mode 100644 index e84d49d6502..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISubscribedSkuRequest; -import com.microsoft.graph.requests.extensions.SubscribedSkuRequest; -import com.microsoft.graph.models.extensions.SubscribedSku; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku Request. - */ -public class BaseSubscribedSkuRequest extends BaseRequest implements IBaseSubscribedSkuRequest { - - /** - * The request for the SubscribedSku - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSubscribedSkuRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the SubscribedSku from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the SubscribedSku from the service - * - * @return the SubscribedSku from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SubscribedSku get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this SubscribedSku with a source - * - * @param sourceSubscribedSku the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final SubscribedSku sourceSubscribedSku, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSubscribedSku); - } - - /** - * Patches this SubscribedSku with a source - * - * @param sourceSubscribedSku the source object with updates - * @return the updated SubscribedSku - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SubscribedSku patch(final SubscribedSku sourceSubscribedSku) throws ClientException { - return send(HttpMethod.PATCH, sourceSubscribedSku); - } - - /** - * Creates a SubscribedSku with a new object - * - * @param newSubscribedSku the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final SubscribedSku newSubscribedSku, final ICallback callback) { - send(HttpMethod.POST, callback, newSubscribedSku); - } - - /** - * Creates a SubscribedSku with a new object - * - * @param newSubscribedSku the new object to create - * @return the created SubscribedSku - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException { - return send(HttpMethod.POST, newSubscribedSku); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISubscribedSkuRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SubscribedSkuRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISubscribedSkuRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SubscribedSkuRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequestBuilder.java deleted file mode 100644 index f3bf65fa200..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscribedSkuRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISubscribedSkuRequest; -import com.microsoft.graph.requests.extensions.SubscribedSkuRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscribed Sku Request Builder. - */ -public class BaseSubscribedSkuRequestBuilder extends BaseRequestBuilder implements IBaseSubscribedSkuRequestBuilder { - - /** - * The request builder for the SubscribedSku - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSubscribedSkuRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISubscribedSkuRequest instance - */ - public ISubscribedSkuRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISubscribedSkuRequest instance - */ - public ISubscribedSkuRequest buildRequest(final java.util.List requestOptions) { - return new SubscribedSkuRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionPage.java deleted file mode 100644 index 6a1903e26a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Subscription; -import com.microsoft.graph.requests.extensions.ISubscriptionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription Collection Page. - */ -public class BaseSubscriptionCollectionPage extends BaseCollectionPage implements IBaseSubscriptionCollectionPage { - - /** - * A collection page for Subscription - * - * @param response the serialized BaseSubscriptionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseSubscriptionCollectionPage(final BaseSubscriptionCollectionResponse response, final ISubscriptionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequest.java deleted file mode 100644 index 2b357afb850..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription Collection Request. - */ -public class BaseSubscriptionCollectionRequest extends BaseCollectionRequest implements IBaseSubscriptionCollectionRequest { - - /** - * The request builder for this collection of Subscription - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSubscriptionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseSubscriptionCollectionResponse.class, ISubscriptionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ISubscriptionCollectionPage get() throws ClientException { - final BaseSubscriptionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Subscription newSubscription, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new SubscriptionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSubscription, callback); - } - - public Subscription post(final Subscription newSubscription) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new SubscriptionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newSubscription); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISubscriptionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (SubscriptionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISubscriptionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (SubscriptionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ISubscriptionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (SubscriptionCollectionRequest)this; - } - - public ISubscriptionCollectionPage buildFromResponse(final BaseSubscriptionCollectionResponse response) { - final ISubscriptionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new SubscriptionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final SubscriptionCollectionPage page = new SubscriptionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequestBuilder.java deleted file mode 100644 index dfb9599be36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription Collection Request Builder. - */ -public class BaseSubscriptionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseSubscriptionCollectionRequestBuilder { - - /** - * The request builder for this collection of Subscription - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSubscriptionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ISubscriptionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ISubscriptionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new SubscriptionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ISubscriptionRequestBuilder byId(final String id) { - return new SubscriptionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionResponse.java deleted file mode 100644 index f05391ed36e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Subscription; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription Collection Response. - */ -public class BaseSubscriptionCollectionResponse implements IJsonBackedObject { - - /** - * The list of Subscription within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequest.java deleted file mode 100644 index 1046bfa9ea8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISubscriptionRequest; -import com.microsoft.graph.requests.extensions.SubscriptionRequest; -import com.microsoft.graph.models.extensions.Subscription; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription Request. - */ -public class BaseSubscriptionRequest extends BaseRequest implements IBaseSubscriptionRequest { - - /** - * The request for the Subscription - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseSubscriptionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Subscription from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Subscription from the service - * - * @return the Subscription from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Subscription get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Subscription with a source - * - * @param sourceSubscription the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Subscription sourceSubscription, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceSubscription); - } - - /** - * Patches this Subscription with a source - * - * @param sourceSubscription the source object with updates - * @return the updated Subscription - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Subscription patch(final Subscription sourceSubscription) throws ClientException { - return send(HttpMethod.PATCH, sourceSubscription); - } - - /** - * Creates a Subscription with a new object - * - * @param newSubscription the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Subscription newSubscription, final ICallback callback) { - send(HttpMethod.POST, callback, newSubscription); - } - - /** - * Creates a Subscription with a new object - * - * @param newSubscription the new object to create - * @return the created Subscription - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Subscription post(final Subscription newSubscription) throws ClientException { - return send(HttpMethod.POST, newSubscription); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ISubscriptionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (SubscriptionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ISubscriptionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (SubscriptionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequestBuilder.java deleted file mode 100644 index 983094b1870..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseSubscriptionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISubscriptionRequest; -import com.microsoft.graph.requests.extensions.SubscriptionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Subscription Request Builder. - */ -public class BaseSubscriptionRequestBuilder extends BaseRequestBuilder implements IBaseSubscriptionRequestBuilder { - - /** - * The request builder for the Subscription - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseSubscriptionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ISubscriptionRequest instance - */ - public ISubscriptionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ISubscriptionRequest instance - */ - public ISubscriptionRequest buildRequest(final java.util.List requestOptions) { - return new SubscriptionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequest.java deleted file mode 100644 index bb14c8fe26d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfigurationAssignBody; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Assign Request. - */ -public class BaseTargetedManagedAppConfigurationAssignRequest extends BaseRequest implements IBaseTargetedManagedAppConfigurationAssignRequest { - protected final TargetedManagedAppConfigurationAssignBody body; - - /** - * The request for this TargetedManagedAppConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppConfigurationAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new TargetedManagedAppConfigurationAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TargetedManagedAppConfigurationAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITargetedManagedAppConfigurationAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (TargetedManagedAppConfigurationAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TargetedManagedAppConfigurationAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequestBuilder.java deleted file mode 100644 index 7994db7b3ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationAssignRequest; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Assign Request Builder. - */ -public class BaseTargetedManagedAppConfigurationAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TargetedManagedAppConfigurationAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param assignments the assignments - */ - public BaseTargetedManagedAppConfigurationAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("assignments", assignments); - } - - /** - * Creates the ITargetedManagedAppConfigurationAssignRequest - * - * @return the ITargetedManagedAppConfigurationAssignRequest instance - */ - public ITargetedManagedAppConfigurationAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITargetedManagedAppConfigurationAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITargetedManagedAppConfigurationAssignRequest instance - */ - public ITargetedManagedAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions) { - TargetedManagedAppConfigurationAssignRequest request = new TargetedManagedAppConfigurationAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("assignments")) { - request.body.assignments = getParameter("assignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionPage.java deleted file mode 100644 index ef5acd73531..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Collection Page. - */ -public class BaseTargetedManagedAppConfigurationCollectionPage extends BaseCollectionPage implements IBaseTargetedManagedAppConfigurationCollectionPage { - - /** - * A collection page for TargetedManagedAppConfiguration - * - * @param response the serialized BaseTargetedManagedAppConfigurationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTargetedManagedAppConfigurationCollectionPage(final BaseTargetedManagedAppConfigurationCollectionResponse response, final ITargetedManagedAppConfigurationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequest.java deleted file mode 100644 index ba914e2d094..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Collection Request. - */ -public class BaseTargetedManagedAppConfigurationCollectionRequest extends BaseCollectionRequest implements IBaseTargetedManagedAppConfigurationCollectionRequest { - - /** - * The request builder for this collection of TargetedManagedAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppConfigurationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTargetedManagedAppConfigurationCollectionResponse.class, ITargetedManagedAppConfigurationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITargetedManagedAppConfigurationCollectionPage get() throws ClientException { - final BaseTargetedManagedAppConfigurationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TargetedManagedAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTargetedManagedAppConfiguration, callback); - } - - public TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TargetedManagedAppConfigurationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTargetedManagedAppConfiguration); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TargetedManagedAppConfigurationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TargetedManagedAppConfigurationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITargetedManagedAppConfigurationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TargetedManagedAppConfigurationCollectionRequest)this; - } - - public ITargetedManagedAppConfigurationCollectionPage buildFromResponse(final BaseTargetedManagedAppConfigurationCollectionResponse response) { - final ITargetedManagedAppConfigurationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TargetedManagedAppConfigurationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TargetedManagedAppConfigurationCollectionPage page = new TargetedManagedAppConfigurationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequestBuilder.java deleted file mode 100644 index 512418830b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Collection Request Builder. - */ -public class BaseTargetedManagedAppConfigurationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTargetedManagedAppConfigurationCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppConfigurationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITargetedManagedAppConfigurationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITargetedManagedAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TargetedManagedAppConfigurationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITargetedManagedAppConfigurationRequestBuilder byId(final String id) { - return new TargetedManagedAppConfigurationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionResponse.java deleted file mode 100644 index 3b263029b26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Collection Response. - */ -public class BaseTargetedManagedAppConfigurationCollectionResponse implements IJsonBackedObject { - - /** - * The list of TargetedManagedAppConfiguration within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequest.java deleted file mode 100644 index fbc12fcdedf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationRequest; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Request. - */ -public class BaseTargetedManagedAppConfigurationRequest extends BaseRequest implements IBaseTargetedManagedAppConfigurationRequest { - - /** - * The request for the TargetedManagedAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTargetedManagedAppConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TargetedManagedAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TargetedManagedAppConfiguration from the service - * - * @return the TargetedManagedAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TargetedManagedAppConfiguration with a source - * - * @param sourceTargetedManagedAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTargetedManagedAppConfiguration); - } - - /** - * Patches this TargetedManagedAppConfiguration with a source - * - * @param sourceTargetedManagedAppConfiguration the source object with updates - * @return the updated TargetedManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppConfiguration patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceTargetedManagedAppConfiguration); - } - - /** - * Creates a TargetedManagedAppConfiguration with a new object - * - * @param newTargetedManagedAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newTargetedManagedAppConfiguration); - } - - /** - * Creates a TargetedManagedAppConfiguration with a new object - * - * @param newTargetedManagedAppConfiguration the new object to create - * @return the created TargetedManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException { - return send(HttpMethod.POST, newTargetedManagedAppConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TargetedManagedAppConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TargetedManagedAppConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequestBuilder.java deleted file mode 100644 index e734ce9c547..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationAssignRequestBuilder; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationTargetAppsRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Request Builder. - */ -public class BaseTargetedManagedAppConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseTargetedManagedAppConfigurationRequestBuilder { - - /** - * The request builder for the TargetedManagedAppConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITargetedManagedAppConfigurationRequest instance - */ - public ITargetedManagedAppConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITargetedManagedAppConfigurationRequest instance - */ - public ITargetedManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new TargetedManagedAppConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IManagedMobileAppCollectionRequestBuilder apps() { - return new ManagedMobileAppCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("apps"), getClient(), null); - } - - public IManagedMobileAppRequestBuilder apps(final String id) { - return new ManagedMobileAppRequestBuilder(getRequestUrlWithAdditionalSegment("apps") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - public IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary() { - return new ManagedAppPolicyDeploymentSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("deploymentSummary"), getClient(), null); - } - public ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments() { - return new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id) { - return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - public ITargetedManagedAppConfigurationAssignRequestBuilder assign(final java.util.List assignments) { - return new TargetedManagedAppConfigurationAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); - } - - public ITargetedManagedAppConfigurationTargetAppsRequestBuilder targetApps(final java.util.List apps) { - return new TargetedManagedAppConfigurationTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, apps); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequest.java deleted file mode 100644 index ce19df5a6dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfigurationTargetAppsBody; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationTargetAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Target Apps Request. - */ -public class BaseTargetedManagedAppConfigurationTargetAppsRequest extends BaseRequest implements IBaseTargetedManagedAppConfigurationTargetAppsRequest { - protected final TargetedManagedAppConfigurationTargetAppsBody body; - - /** - * The request for this TargetedManagedAppConfigurationTargetApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppConfigurationTargetAppsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new TargetedManagedAppConfigurationTargetAppsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationTargetAppsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TargetedManagedAppConfigurationTargetAppsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITargetedManagedAppConfigurationTargetAppsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (TargetedManagedAppConfigurationTargetAppsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppConfigurationTargetAppsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TargetedManagedAppConfigurationTargetAppsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java deleted file mode 100644 index 34ba4fad1d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationTargetAppsRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Configuration Target Apps Request Builder. - */ -public class BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TargetedManagedAppConfigurationTargetApps - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param apps the apps - */ - public BaseTargetedManagedAppConfigurationTargetAppsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List apps) { - super(requestUrl, client, requestOptions); - bodyParams.put("apps", apps); - } - - /** - * Creates the ITargetedManagedAppConfigurationTargetAppsRequest - * - * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance - */ - public ITargetedManagedAppConfigurationTargetAppsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITargetedManagedAppConfigurationTargetAppsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance - */ - public ITargetedManagedAppConfigurationTargetAppsRequest buildRequest(final java.util.List requestOptions) { - TargetedManagedAppConfigurationTargetAppsRequest request = new TargetedManagedAppConfigurationTargetAppsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("apps")) { - request.body.apps = getParameter("apps"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionPage.java deleted file mode 100644 index 6dcf3db2510..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment Collection Page. - */ -public class BaseTargetedManagedAppPolicyAssignmentCollectionPage extends BaseCollectionPage implements IBaseTargetedManagedAppPolicyAssignmentCollectionPage { - - /** - * A collection page for TargetedManagedAppPolicyAssignment - * - * @param response the serialized BaseTargetedManagedAppPolicyAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTargetedManagedAppPolicyAssignmentCollectionPage(final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response, final ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequest.java deleted file mode 100644 index b2c407a5efa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment Collection Request. - */ -public class BaseTargetedManagedAppPolicyAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseTargetedManagedAppPolicyAssignmentCollectionRequest { - - /** - * The request builder for this collection of TargetedManagedAppPolicyAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppPolicyAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTargetedManagedAppPolicyAssignmentCollectionResponse.class, ITargetedManagedAppPolicyAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITargetedManagedAppPolicyAssignmentCollectionPage get() throws ClientException { - final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TargetedManagedAppPolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTargetedManagedAppPolicyAssignment, callback); - } - - public TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TargetedManagedAppPolicyAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTargetedManagedAppPolicyAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppPolicyAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TargetedManagedAppPolicyAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppPolicyAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TargetedManagedAppPolicyAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITargetedManagedAppPolicyAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TargetedManagedAppPolicyAssignmentCollectionRequest)this; - } - - public ITargetedManagedAppPolicyAssignmentCollectionPage buildFromResponse(final BaseTargetedManagedAppPolicyAssignmentCollectionResponse response) { - final ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TargetedManagedAppPolicyAssignmentCollectionPage page = new TargetedManagedAppPolicyAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 4ec4abb3061..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment Collection Request Builder. - */ -public class BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of WindowsInformationProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TargetedManagedAppPolicyAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITargetedManagedAppPolicyAssignmentRequestBuilder byId(final String id) { - return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionResponse.java deleted file mode 100644 index 110656d5f67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment Collection Response. - */ -public class BaseTargetedManagedAppPolicyAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of TargetedManagedAppPolicyAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequest.java deleted file mode 100644 index 89087c0f882..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequest; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment Request. - */ -public class BaseTargetedManagedAppPolicyAssignmentRequest extends BaseRequest implements IBaseTargetedManagedAppPolicyAssignmentRequest { - - /** - * The request for the TargetedManagedAppPolicyAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTargetedManagedAppPolicyAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TargetedManagedAppPolicyAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TargetedManagedAppPolicyAssignment from the service - * - * @return the TargetedManagedAppPolicyAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppPolicyAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TargetedManagedAppPolicyAssignment with a source - * - * @param sourceTargetedManagedAppPolicyAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTargetedManagedAppPolicyAssignment); - } - - /** - * Patches this TargetedManagedAppPolicyAssignment with a source - * - * @param sourceTargetedManagedAppPolicyAssignment the source object with updates - * @return the updated TargetedManagedAppPolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppPolicyAssignment patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceTargetedManagedAppPolicyAssignment); - } - - /** - * Creates a TargetedManagedAppPolicyAssignment with a new object - * - * @param newTargetedManagedAppPolicyAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newTargetedManagedAppPolicyAssignment); - } - - /** - * Creates a TargetedManagedAppPolicyAssignment with a new object - * - * @param newTargetedManagedAppPolicyAssignment the new object to create - * @return the created TargetedManagedAppPolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException { - return send(HttpMethod.POST, newTargetedManagedAppPolicyAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppPolicyAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TargetedManagedAppPolicyAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppPolicyAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TargetedManagedAppPolicyAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequestBuilder.java deleted file mode 100644 index 4a14eaee69f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppPolicyAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Policy Assignment Request Builder. - */ -public class BaseTargetedManagedAppPolicyAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseTargetedManagedAppPolicyAssignmentRequestBuilder { - - /** - * The request builder for the TargetedManagedAppPolicyAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppPolicyAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITargetedManagedAppPolicyAssignmentRequest instance - */ - public ITargetedManagedAppPolicyAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITargetedManagedAppPolicyAssignmentRequest instance - */ - public ITargetedManagedAppPolicyAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new TargetedManagedAppPolicyAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequest.java deleted file mode 100644 index 1a3b6352044..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppProtectionAssignBody; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Protection Assign Request. - */ -public class BaseTargetedManagedAppProtectionAssignRequest extends BaseRequest implements IBaseTargetedManagedAppProtectionAssignRequest { - protected final TargetedManagedAppProtectionAssignBody body; - - /** - * The request for this TargetedManagedAppProtectionAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppProtectionAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new TargetedManagedAppProtectionAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppProtectionAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TargetedManagedAppProtectionAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITargetedManagedAppProtectionAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (TargetedManagedAppProtectionAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppProtectionAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TargetedManagedAppProtectionAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequestBuilder.java deleted file mode 100644 index 8b86a66023c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionAssignRequest; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Protection Assign Request Builder. - */ -public class BaseTargetedManagedAppProtectionAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TargetedManagedAppProtectionAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param assignments the assignments - */ - public BaseTargetedManagedAppProtectionAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("assignments", assignments); - } - - /** - * Creates the ITargetedManagedAppProtectionAssignRequest - * - * @return the ITargetedManagedAppProtectionAssignRequest instance - */ - public ITargetedManagedAppProtectionAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITargetedManagedAppProtectionAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITargetedManagedAppProtectionAssignRequest instance - */ - public ITargetedManagedAppProtectionAssignRequest buildRequest(final java.util.List requestOptions) { - TargetedManagedAppProtectionAssignRequest request = new TargetedManagedAppProtectionAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("assignments")) { - request.body.assignments = getParameter("assignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequest.java deleted file mode 100644 index 43da5140613..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Protection Request. - */ -public class BaseTargetedManagedAppProtectionRequest extends BaseRequest implements IBaseTargetedManagedAppProtectionRequest { - - /** - * The request for the TargetedManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTargetedManagedAppProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TargetedManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TargetedManagedAppProtection from the service - * - * @return the TargetedManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TargetedManagedAppProtection with a source - * - * @param sourceTargetedManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTargetedManagedAppProtection); - } - - /** - * Patches this TargetedManagedAppProtection with a source - * - * @param sourceTargetedManagedAppProtection the source object with updates - * @return the updated TargetedManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppProtection patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceTargetedManagedAppProtection); - } - - /** - * Creates a TargetedManagedAppProtection with a new object - * - * @param newTargetedManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TargetedManagedAppProtection newTargetedManagedAppProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newTargetedManagedAppProtection); - } - - /** - * Creates a TargetedManagedAppProtection with a new object - * - * @param newTargetedManagedAppProtection the new object to create - * @return the created TargetedManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TargetedManagedAppProtection post(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException { - return send(HttpMethod.POST, newTargetedManagedAppProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITargetedManagedAppProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TargetedManagedAppProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITargetedManagedAppProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TargetedManagedAppProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 5d53ce2cf2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTargetedManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppProtectionAssignRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Targeted Managed App Protection Request Builder. - */ -public class BaseTargetedManagedAppProtectionRequestBuilder extends BaseRequestBuilder implements IBaseTargetedManagedAppProtectionRequestBuilder { - - /** - * The request builder for the TargetedManagedAppProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTargetedManagedAppProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITargetedManagedAppProtectionRequest instance - */ - public ITargetedManagedAppProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITargetedManagedAppProtectionRequest instance - */ - public ITargetedManagedAppProtectionRequest buildRequest(final java.util.List requestOptions) { - return new TargetedManagedAppProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments() { - return new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id) { - return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - public ITargetedManagedAppProtectionAssignRequestBuilder assign(final java.util.List assignments) { - return new TargetedManagedAppProtectionAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequest.java deleted file mode 100644 index 456c6834407..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamArchiveBody; -import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; -import com.microsoft.graph.requests.extensions.TeamArchiveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Archive Request. - */ -public class BaseTeamArchiveRequest extends BaseRequest implements IBaseTeamArchiveRequest { - protected final TeamArchiveBody body; - - /** - * The request for this TeamArchive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamArchiveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new TeamArchiveBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamArchiveRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamArchiveRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamArchiveRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (TeamArchiveRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamArchiveRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamArchiveRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequestBuilder.java deleted file mode 100644 index e8b87546aa6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamArchiveRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; -import com.microsoft.graph.requests.extensions.TeamArchiveRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Archive Request Builder. - */ -public class BaseTeamArchiveRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TeamArchive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param shouldSetSpoSiteReadOnlyForMembers the shouldSetSpoSiteReadOnlyForMembers - */ - public BaseTeamArchiveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean shouldSetSpoSiteReadOnlyForMembers) { - super(requestUrl, client, requestOptions); - bodyParams.put("shouldSetSpoSiteReadOnlyForMembers", shouldSetSpoSiteReadOnlyForMembers); - } - - /** - * Creates the ITeamArchiveRequest - * - * @return the ITeamArchiveRequest instance - */ - public ITeamArchiveRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITeamArchiveRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITeamArchiveRequest instance - */ - public ITeamArchiveRequest buildRequest(final java.util.List requestOptions) { - TeamArchiveRequest request = new TeamArchiveRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("shouldSetSpoSiteReadOnlyForMembers")) { - request.body.shouldSetSpoSiteReadOnlyForMembers = getParameter("shouldSetSpoSiteReadOnlyForMembers"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequest.java deleted file mode 100644 index a7101f22cd0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamCloneBody; -import com.microsoft.graph.requests.extensions.ITeamCloneRequest; -import com.microsoft.graph.requests.extensions.TeamCloneRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Clone Request. - */ -public class BaseTeamCloneRequest extends BaseRequest implements IBaseTeamCloneRequest { - protected final TeamCloneBody body; - - /** - * The request for this TeamClone - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamCloneRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new TeamCloneBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamCloneRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamCloneRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamCloneRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (TeamCloneRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamCloneRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamCloneRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequestBuilder.java deleted file mode 100644 index ae409263ff4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCloneRequestBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamCloneRequest; -import com.microsoft.graph.requests.extensions.TeamCloneRequest; -import com.microsoft.graph.models.generated.TeamVisibilityType; -import java.util.EnumSet; -import com.microsoft.graph.models.generated.ClonableTeamParts; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Clone Request Builder. - */ -public class BaseTeamCloneRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TeamClone - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param displayName the displayName - * @param description the description - * @param mailNickname the mailNickname - * @param classification the classification - * @param visibility the visibility - * @param partsToClone the partsToClone - */ - public BaseTeamCloneRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String displayName, final String description, final String mailNickname, final String classification, final TeamVisibilityType visibility, final EnumSet partsToClone) { - super(requestUrl, client, requestOptions); - bodyParams.put("displayName", displayName); - bodyParams.put("description", description); - bodyParams.put("mailNickname", mailNickname); - bodyParams.put("classification", classification); - bodyParams.put("visibility", visibility); - bodyParams.put("partsToClone", partsToClone); - } - - /** - * Creates the ITeamCloneRequest - * - * @return the ITeamCloneRequest instance - */ - public ITeamCloneRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITeamCloneRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITeamCloneRequest instance - */ - public ITeamCloneRequest buildRequest(final java.util.List requestOptions) { - TeamCloneRequest request = new TeamCloneRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("displayName")) { - request.body.displayName = getParameter("displayName"); - } - - if (hasParameter("description")) { - request.body.description = getParameter("description"); - } - - if (hasParameter("mailNickname")) { - request.body.mailNickname = getParameter("mailNickname"); - } - - if (hasParameter("classification")) { - request.body.classification = getParameter("classification"); - } - - if (hasParameter("visibility")) { - request.body.visibility = getParameter("visibility"); - } - - if (hasParameter("partsToClone")) { - request.body.partsToClone = getParameter("partsToClone"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionPage.java deleted file mode 100644 index 5cfea17f1e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Team; -import com.microsoft.graph.requests.extensions.ITeamCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Collection Page. - */ -public class BaseTeamCollectionPage extends BaseCollectionPage implements IBaseTeamCollectionPage { - - /** - * A collection page for Team - * - * @param response the serialized BaseTeamCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTeamCollectionPage(final BaseTeamCollectionResponse response, final ITeamCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequest.java deleted file mode 100644 index 7b238f0491d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Collection Request. - */ -public class BaseTeamCollectionRequest extends BaseCollectionRequest implements IBaseTeamCollectionRequest { - - /** - * The request builder for this collection of Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTeamCollectionResponse.class, ITeamCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITeamCollectionPage get() throws ClientException { - final BaseTeamCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Team newTeam, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TeamRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeam, callback); - } - - public Team post(final Team newTeam) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TeamRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeam); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TeamCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TeamCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TeamCollectionRequest)this; - } - - public ITeamCollectionPage buildFromResponse(final BaseTeamCollectionResponse response) { - final ITeamCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TeamCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TeamCollectionPage page = new TeamCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequestBuilder.java deleted file mode 100644 index 0c5714dd2d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Collection Request Builder. - */ -public class BaseTeamCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTeamCollectionRequestBuilder { - - /** - * The request builder for this collection of Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITeamCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITeamCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TeamCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamRequestBuilder byId(final String id) { - return new TeamRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionResponse.java deleted file mode 100644 index a089567fb2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Team; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Collection Response. - */ -public class BaseTeamCollectionResponse implements IJsonBackedObject { - - /** - * The list of Team within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequest.java deleted file mode 100644 index 682db7c6354..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamRequest; -import com.microsoft.graph.requests.extensions.TeamRequest; -import com.microsoft.graph.models.extensions.Team; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Request. - */ -public class BaseTeamRequest extends BaseRequest implements IBaseTeamRequest { - - /** - * The request for the Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTeamRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Team from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Team from the service - * - * @return the Team from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Team get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Team with a source - * - * @param sourceTeam the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Team sourceTeam, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeam); - } - - /** - * Patches this Team with a source - * - * @param sourceTeam the source object with updates - * @return the updated Team - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Team patch(final Team sourceTeam) throws ClientException { - return send(HttpMethod.PATCH, sourceTeam); - } - - /** - * Creates a Team with a new object - * - * @param newTeam the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Team newTeam, final ICallback callback) { - send(HttpMethod.POST, callback, newTeam); - } - - /** - * Creates a Team with a new object - * - * @param newTeam the new object to create - * @return the created Team - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Team post(final Team newTeam) throws ClientException { - return send(HttpMethod.POST, newTeam); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequestBuilder.java deleted file mode 100644 index ea5da5837a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamRequestBuilder.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamRequest; -import com.microsoft.graph.requests.extensions.TeamRequest; -import com.microsoft.graph.requests.extensions.IChannelCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ChannelCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IChannelRequestBuilder; -import com.microsoft.graph.requests.extensions.ChannelRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAsyncOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAsyncOperationRequestBuilder; -import com.microsoft.graph.models.generated.TeamVisibilityType; -import com.microsoft.graph.models.generated.ClonableTeamParts; -import com.microsoft.graph.requests.extensions.ITeamCloneRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamCloneRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamArchiveRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamArchiveRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamUnarchiveRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Request Builder. - */ -public class BaseTeamRequestBuilder extends BaseRequestBuilder implements IBaseTeamRequestBuilder { - - /** - * The request builder for the Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamRequest instance - */ - public ITeamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamRequest instance - */ - public ITeamRequest buildRequest(final java.util.List requestOptions) { - return new TeamRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IChannelCollectionRequestBuilder channels() { - return new ChannelCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("channels"), getClient(), null); - } - - public IChannelRequestBuilder channels(final String id) { - return new ChannelRequestBuilder(getRequestUrlWithAdditionalSegment("channels") + "/" + id, getClient(), null); - } - public ITeamsAppInstallationCollectionRequestBuilder installedApps() { - return new TeamsAppInstallationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("installedApps"), getClient(), null); - } - - public ITeamsAppInstallationRequestBuilder installedApps(final String id) { - return new TeamsAppInstallationRequestBuilder(getRequestUrlWithAdditionalSegment("installedApps") + "/" + id, getClient(), null); - } - public ITeamsAsyncOperationCollectionRequestBuilder operations() { - return new TeamsAsyncOperationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("operations"), getClient(), null); - } - - public ITeamsAsyncOperationRequestBuilder operations(final String id) { - return new TeamsAsyncOperationRequestBuilder(getRequestUrlWithAdditionalSegment("operations") + "/" + id, getClient(), null); - } - - public ITeamCloneRequestBuilder clone(final String displayName, final String description, final String mailNickname, final String classification, final TeamVisibilityType visibility, final EnumSet partsToClone) { - return new TeamCloneRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clone"), getClient(), null, displayName, description, mailNickname, classification, visibility, partsToClone); - } - - public ITeamArchiveRequestBuilder archive(final Boolean shouldSetSpoSiteReadOnlyForMembers) { - return new TeamArchiveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.archive"), getClient(), null, shouldSetSpoSiteReadOnlyForMembers); - } - - public ITeamUnarchiveRequestBuilder unarchive() { - return new TeamUnarchiveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unarchive"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequest.java deleted file mode 100644 index e62897b097f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; -import com.microsoft.graph.requests.extensions.TeamUnarchiveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Unarchive Request. - */ -public class BaseTeamUnarchiveRequest extends BaseRequest implements IBaseTeamUnarchiveRequest { - - /** - * The request for this TeamUnarchive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamUnarchiveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the TeamUnarchive - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the TeamUnarchive - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequestBuilder.java deleted file mode 100644 index 51e0a3911fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamUnarchiveRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; -import com.microsoft.graph.requests.extensions.TeamUnarchiveRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Team Unarchive Request Builder. - */ -public class BaseTeamUnarchiveRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TeamUnarchive - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamUnarchiveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the ITeamUnarchiveRequest - * - * @return the ITeamUnarchiveRequest instance - */ - public ITeamUnarchiveRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITeamUnarchiveRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITeamUnarchiveRequest instance - */ - public ITeamUnarchiveRequest buildRequest(final java.util.List requestOptions) { - TeamUnarchiveRequest request = new TeamUnarchiveRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionPage.java deleted file mode 100644 index da0a0f5eae6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsApp; -import com.microsoft.graph.requests.extensions.ITeamsAppCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Collection Page. - */ -public class BaseTeamsAppCollectionPage extends BaseCollectionPage implements IBaseTeamsAppCollectionPage { - - /** - * A collection page for TeamsApp - * - * @param response the serialized BaseTeamsAppCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTeamsAppCollectionPage(final BaseTeamsAppCollectionResponse response, final ITeamsAppCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequest.java deleted file mode 100644 index 3e70fb4bee9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Collection Request. - */ -public class BaseTeamsAppCollectionRequest extends BaseCollectionRequest implements IBaseTeamsAppCollectionRequest { - - /** - * The request builder for this collection of TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTeamsAppCollectionResponse.class, ITeamsAppCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITeamsAppCollectionPage get() throws ClientException { - final BaseTeamsAppCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TeamsApp newTeamsApp, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TeamsAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsApp, callback); - } - - public TeamsApp post(final TeamsApp newTeamsApp) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TeamsAppRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsApp); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TeamsAppCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TeamsAppCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamsAppCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TeamsAppCollectionRequest)this; - } - - public ITeamsAppCollectionPage buildFromResponse(final BaseTeamsAppCollectionResponse response) { - final ITeamsAppCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TeamsAppCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TeamsAppCollectionPage page = new TeamsAppCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequestBuilder.java deleted file mode 100644 index 2ec7677b4a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Collection Request Builder. - */ -public class BaseTeamsAppCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppCollectionRequestBuilder { - - /** - * The request builder for this collection of AppCatalogs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITeamsAppCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITeamsAppCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppRequestBuilder byId(final String id) { - return new TeamsAppRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionResponse.java deleted file mode 100644 index 9876aa4f601..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsApp; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Collection Response. - */ -public class BaseTeamsAppCollectionResponse implements IJsonBackedObject { - - /** - * The list of TeamsApp within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionPage.java deleted file mode 100644 index e9d2188e052..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Collection Page. - */ -public class BaseTeamsAppDefinitionCollectionPage extends BaseCollectionPage implements IBaseTeamsAppDefinitionCollectionPage { - - /** - * A collection page for TeamsAppDefinition - * - * @param response the serialized BaseTeamsAppDefinitionCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTeamsAppDefinitionCollectionPage(final BaseTeamsAppDefinitionCollectionResponse response, final ITeamsAppDefinitionCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequest.java deleted file mode 100644 index ff28711b81c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Collection Request. - */ -public class BaseTeamsAppDefinitionCollectionRequest extends BaseCollectionRequest implements IBaseTeamsAppDefinitionCollectionRequest { - - /** - * The request builder for this collection of TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTeamsAppDefinitionCollectionResponse.class, ITeamsAppDefinitionCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITeamsAppDefinitionCollectionPage get() throws ClientException { - final BaseTeamsAppDefinitionCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TeamsAppDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsAppDefinition, callback); - } - - public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TeamsAppDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsAppDefinition); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppDefinitionCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TeamsAppDefinitionCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppDefinitionCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TeamsAppDefinitionCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamsAppDefinitionCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TeamsAppDefinitionCollectionRequest)this; - } - - public ITeamsAppDefinitionCollectionPage buildFromResponse(final BaseTeamsAppDefinitionCollectionResponse response) { - final ITeamsAppDefinitionCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TeamsAppDefinitionCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TeamsAppDefinitionCollectionPage page = new TeamsAppDefinitionCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequestBuilder.java deleted file mode 100644 index 7c200daac28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Collection Request Builder. - */ -public class BaseTeamsAppDefinitionCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppDefinitionCollectionRequestBuilder { - - /** - * The request builder for this collection of TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITeamsAppDefinitionCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITeamsAppDefinitionCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppDefinitionCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppDefinitionRequestBuilder byId(final String id) { - return new TeamsAppDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionResponse.java deleted file mode 100644 index 8ee06cdc655..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Collection Response. - */ -public class BaseTeamsAppDefinitionCollectionResponse implements IJsonBackedObject { - - /** - * The list of TeamsAppDefinition within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequest.java deleted file mode 100644 index 1b98a657d42..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Reference Request. - */ -public class BaseTeamsAppDefinitionReferenceRequest extends BaseRequest implements IBaseTeamsAppDefinitionReferenceRequest { - - /** - * The request for the TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, TeamsAppDefinition.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public TeamsAppDefinition delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppDefinitionReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsAppDefinitionReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppDefinitionReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppDefinitionReferenceRequest)this; - } - /** - * Puts the TeamsAppDefinition - * - * @param srcTeamsAppDefinition the TeamsAppDefinition reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(TeamsAppDefinition srcTeamsAppDefinition, final ICallback callback) { - send(HttpMethod.PUT, callback, srcTeamsAppDefinition); - } - - /** - * Puts the TeamsAppDefinition - * - * @param srcTeamsAppDefinition the TeamsAppDefinition reference to PUT - * @return the TeamsAppDefinition - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public TeamsAppDefinition put(TeamsAppDefinition srcTeamsAppDefinition) throws ClientException { - return send(HttpMethod.PUT, srcTeamsAppDefinition); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequestBuilder.java deleted file mode 100644 index acfe67e5c41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Reference Request Builder. - */ -public class BaseTeamsAppDefinitionReferenceRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppDefinitionReferenceRequestBuilder { - - /** - * The request builder for the TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The ITeamsAppDefinitionReferenceRequest instance - */ - public ITeamsAppDefinitionReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsAppDefinitionReferenceRequest instance - */ - public ITeamsAppDefinitionReferenceRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppDefinitionReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequest.java deleted file mode 100644 index 3e3998aa5eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequest; -import com.microsoft.graph.requests.extensions.TeamsAppDefinitionRequest; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Request. - */ -public class BaseTeamsAppDefinitionRequest extends BaseRequest implements IBaseTeamsAppDefinitionRequest { - - /** - * The request for the TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTeamsAppDefinitionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TeamsAppDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TeamsAppDefinition from the service - * - * @return the TeamsAppDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAppDefinition get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TeamsAppDefinition with a source - * - * @param sourceTeamsAppDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsAppDefinition); - } - - /** - * Patches this TeamsAppDefinition with a source - * - * @param sourceTeamsAppDefinition the source object with updates - * @return the updated TeamsAppDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsAppDefinition); - } - - /** - * Creates a TeamsAppDefinition with a new object - * - * @param newTeamsAppDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback) { - send(HttpMethod.POST, callback, newTeamsAppDefinition); - } - - /** - * Creates a TeamsAppDefinition with a new object - * - * @param newTeamsAppDefinition the new object to create - * @return the created TeamsAppDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException { - return send(HttpMethod.POST, newTeamsAppDefinition); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppDefinitionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsAppDefinitionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppDefinitionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppDefinitionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequestBuilder.java deleted file mode 100644 index 90472a0ec5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequest; -import com.microsoft.graph.requests.extensions.TeamsAppDefinitionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition Request Builder. - */ -public class BaseTeamsAppDefinitionRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppDefinitionRequestBuilder { - - /** - * The request builder for the TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsAppDefinitionRequest instance - */ - public ITeamsAppDefinitionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsAppDefinitionRequest instance - */ - public ITeamsAppDefinitionRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppDefinitionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequest.java deleted file mode 100644 index 03e65966676..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition With Reference Request. - */ -public class BaseTeamsAppDefinitionWithReferenceRequest extends BaseRequest implements IBaseTeamsAppDefinitionWithReferenceRequest { - - /** - * The request for the TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, TeamsAppDefinition.class); - } - - public void post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newTeamsAppDefinition; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public TeamsAppDefinition get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsAppDefinition); - } - - public TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsAppDefinition); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppDefinitionWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ITeamsAppDefinitionWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppDefinitionWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppDefinitionWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequestBuilder.java deleted file mode 100644 index db7d6cb531d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppDefinitionWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Definition With Reference Request Builder. - */ -public class BaseTeamsAppDefinitionWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppDefinitionWithReferenceRequestBuilder { - - /** - * The request builder for the TeamsAppDefinition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppDefinitionWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsAppDefinitionWithReferenceRequest instance - */ - public ITeamsAppDefinitionWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppDefinitionWithReferenceRequest instance - */ - public ITeamsAppDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppDefinitionWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppDefinitionReferenceRequestBuilder reference(){ - return new TeamsAppDefinitionReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionPage.java deleted file mode 100644 index 8ec4704108a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Collection Page. - */ -public class BaseTeamsAppInstallationCollectionPage extends BaseCollectionPage implements IBaseTeamsAppInstallationCollectionPage { - - /** - * A collection page for TeamsAppInstallation - * - * @param response the serialized BaseTeamsAppInstallationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTeamsAppInstallationCollectionPage(final BaseTeamsAppInstallationCollectionResponse response, final ITeamsAppInstallationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequest.java deleted file mode 100644 index 06c0a82f4d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Collection Request. - */ -public class BaseTeamsAppInstallationCollectionRequest extends BaseCollectionRequest implements IBaseTeamsAppInstallationCollectionRequest { - - /** - * The request builder for this collection of TeamsAppInstallation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppInstallationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTeamsAppInstallationCollectionResponse.class, ITeamsAppInstallationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITeamsAppInstallationCollectionPage get() throws ClientException { - final BaseTeamsAppInstallationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TeamsAppInstallationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsAppInstallation, callback); - } - - public TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TeamsAppInstallationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsAppInstallation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppInstallationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TeamsAppInstallationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppInstallationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TeamsAppInstallationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamsAppInstallationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TeamsAppInstallationCollectionRequest)this; - } - - public ITeamsAppInstallationCollectionPage buildFromResponse(final BaseTeamsAppInstallationCollectionResponse response) { - final ITeamsAppInstallationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TeamsAppInstallationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TeamsAppInstallationCollectionPage page = new TeamsAppInstallationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequestBuilder.java deleted file mode 100644 index 1b47a57bf1f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Collection Request Builder. - */ -public class BaseTeamsAppInstallationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppInstallationCollectionRequestBuilder { - - /** - * The request builder for this collection of Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppInstallationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITeamsAppInstallationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITeamsAppInstallationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppInstallationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppInstallationRequestBuilder byId(final String id) { - return new TeamsAppInstallationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionResponse.java deleted file mode 100644 index 93bc5abe66a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Collection Response. - */ -public class BaseTeamsAppInstallationCollectionResponse implements IJsonBackedObject { - - /** - * The list of TeamsAppInstallation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequest.java deleted file mode 100644 index 3dc8d91c603..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequest; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationRequest; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Request. - */ -public class BaseTeamsAppInstallationRequest extends BaseRequest implements IBaseTeamsAppInstallationRequest { - - /** - * The request for the TeamsAppInstallation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTeamsAppInstallationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TeamsAppInstallation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TeamsAppInstallation from the service - * - * @return the TeamsAppInstallation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAppInstallation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TeamsAppInstallation with a source - * - * @param sourceTeamsAppInstallation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TeamsAppInstallation sourceTeamsAppInstallation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsAppInstallation); - } - - /** - * Patches this TeamsAppInstallation with a source - * - * @param sourceTeamsAppInstallation the source object with updates - * @return the updated TeamsAppInstallation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAppInstallation patch(final TeamsAppInstallation sourceTeamsAppInstallation) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsAppInstallation); - } - - /** - * Creates a TeamsAppInstallation with a new object - * - * @param newTeamsAppInstallation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback) { - send(HttpMethod.POST, callback, newTeamsAppInstallation); - } - - /** - * Creates a TeamsAppInstallation with a new object - * - * @param newTeamsAppInstallation the new object to create - * @return the created TeamsAppInstallation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException { - return send(HttpMethod.POST, newTeamsAppInstallation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppInstallationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsAppInstallationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppInstallationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppInstallationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequestBuilder.java deleted file mode 100644 index 7ffe288336f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationRequestBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequest; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppDefinitionWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationUpgradeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Request Builder. - */ -public class BaseTeamsAppInstallationRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppInstallationRequestBuilder { - - /** - * The request builder for the TeamsAppInstallation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppInstallationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsAppInstallationRequest instance - */ - public ITeamsAppInstallationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsAppInstallationRequest instance - */ - public ITeamsAppInstallationRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppInstallationRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for TeamsApp - * - * @return the ITeamsAppWithReferenceRequestBuilder instance - */ - public ITeamsAppWithReferenceRequestBuilder teamsApp() { - return new TeamsAppWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApp"), getClient(), null); - } - - /** - * Gets the request builder for TeamsAppDefinition - * - * @return the ITeamsAppDefinitionWithReferenceRequestBuilder instance - */ - public ITeamsAppDefinitionWithReferenceRequestBuilder teamsAppDefinition() { - return new TeamsAppDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teamsAppDefinition"), getClient(), null); - } - - public ITeamsAppInstallationUpgradeRequestBuilder upgrade() { - return new TeamsAppInstallationUpgradeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.upgrade"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequest.java deleted file mode 100644 index b9f5a371409..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationUpgradeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Upgrade Request. - */ -public class BaseTeamsAppInstallationUpgradeRequest extends BaseRequest implements IBaseTeamsAppInstallationUpgradeRequest { - - /** - * The request for this TeamsAppInstallationUpgrade - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppInstallationUpgradeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the TeamsAppInstallationUpgrade - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the TeamsAppInstallationUpgrade - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequestBuilder.java deleted file mode 100644 index b09ff0e316a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppInstallationUpgradeRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationUpgradeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Installation Upgrade Request Builder. - */ -public class BaseTeamsAppInstallationUpgradeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this TeamsAppInstallationUpgrade - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppInstallationUpgradeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the ITeamsAppInstallationUpgradeRequest - * - * @return the ITeamsAppInstallationUpgradeRequest instance - */ - public ITeamsAppInstallationUpgradeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the ITeamsAppInstallationUpgradeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the ITeamsAppInstallationUpgradeRequest instance - */ - public ITeamsAppInstallationUpgradeRequest buildRequest(final java.util.List requestOptions) { - TeamsAppInstallationUpgradeRequest request = new TeamsAppInstallationUpgradeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequest.java deleted file mode 100644 index 4a2bb7d8c76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Reference Request. - */ -public class BaseTeamsAppReferenceRequest extends BaseRequest implements IBaseTeamsAppReferenceRequest { - - /** - * The request for the TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, TeamsApp.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public TeamsApp delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsAppReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppReferenceRequest)this; - } - /** - * Puts the TeamsApp - * - * @param srcTeamsApp the TeamsApp reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(TeamsApp srcTeamsApp, final ICallback callback) { - send(HttpMethod.PUT, callback, srcTeamsApp); - } - - /** - * Puts the TeamsApp - * - * @param srcTeamsApp the TeamsApp reference to PUT - * @return the TeamsApp - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public TeamsApp put(TeamsApp srcTeamsApp) throws ClientException { - return send(HttpMethod.PUT, srcTeamsApp); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequestBuilder.java deleted file mode 100644 index e4ed5413fdd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Reference Request Builder. - */ -public class BaseTeamsAppReferenceRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppReferenceRequestBuilder { - - /** - * The request builder for the TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The ITeamsAppReferenceRequest instance - */ - public ITeamsAppReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsAppReferenceRequest instance - */ - public ITeamsAppReferenceRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequest.java deleted file mode 100644 index bd7fd8f00b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppRequest; -import com.microsoft.graph.requests.extensions.TeamsAppRequest; -import com.microsoft.graph.models.extensions.TeamsApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Request. - */ -public class BaseTeamsAppRequest extends BaseRequest implements IBaseTeamsAppRequest { - - /** - * The request for the TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTeamsAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TeamsApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TeamsApp from the service - * - * @return the TeamsApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TeamsApp with a source - * - * @param sourceTeamsApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TeamsApp sourceTeamsApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsApp); - } - - /** - * Patches this TeamsApp with a source - * - * @param sourceTeamsApp the source object with updates - * @return the updated TeamsApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsApp); - } - - /** - * Creates a TeamsApp with a new object - * - * @param newTeamsApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TeamsApp newTeamsApp, final ICallback callback) { - send(HttpMethod.POST, callback, newTeamsApp); - } - - /** - * Creates a TeamsApp with a new object - * - * @param newTeamsApp the new object to create - * @return the created TeamsApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsApp post(final TeamsApp newTeamsApp) throws ClientException { - return send(HttpMethod.POST, newTeamsApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequestBuilder.java deleted file mode 100644 index 817e88eb956..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppRequest; -import com.microsoft.graph.requests.extensions.TeamsAppRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppDefinitionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App Request Builder. - */ -public class BaseTeamsAppRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppRequestBuilder { - - /** - * The request builder for the TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsAppRequest instance - */ - public ITeamsAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsAppRequest instance - */ - public ITeamsAppRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppDefinitionCollectionRequestBuilder appDefinitions() { - return new TeamsAppDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("appDefinitions"), getClient(), null); - } - - public ITeamsAppDefinitionRequestBuilder appDefinitions(final String id) { - return new TeamsAppDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("appDefinitions") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequest.java deleted file mode 100644 index 49d1cdffd5c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App With Reference Request. - */ -public class BaseTeamsAppWithReferenceRequest extends BaseRequest implements IBaseTeamsAppWithReferenceRequest { - - /** - * The request for the TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, TeamsApp.class); - } - - public void post(final TeamsApp newTeamsApp, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public TeamsApp post(final TeamsApp newTeamsApp, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newTeamsApp; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public TeamsApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final TeamsApp sourceTeamsApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsApp); - } - - public TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsApp); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAppWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ITeamsAppWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAppWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAppWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequestBuilder.java deleted file mode 100644 index 5a8ac310230..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAppWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams App With Reference Request Builder. - */ -public class BaseTeamsAppWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAppWithReferenceRequestBuilder { - - /** - * The request builder for the TeamsApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAppWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsAppWithReferenceRequest instance - */ - public ITeamsAppWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppWithReferenceRequest instance - */ - public ITeamsAppWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAppWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAppReferenceRequestBuilder reference(){ - return new TeamsAppReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionPage.java deleted file mode 100644 index 62e94eb56e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAsyncOperation; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation Collection Page. - */ -public class BaseTeamsAsyncOperationCollectionPage extends BaseCollectionPage implements IBaseTeamsAsyncOperationCollectionPage { - - /** - * A collection page for TeamsAsyncOperation - * - * @param response the serialized BaseTeamsAsyncOperationCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTeamsAsyncOperationCollectionPage(final BaseTeamsAsyncOperationCollectionResponse response, final ITeamsAsyncOperationCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequest.java deleted file mode 100644 index 07671372553..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation Collection Request. - */ -public class BaseTeamsAsyncOperationCollectionRequest extends BaseCollectionRequest implements IBaseTeamsAsyncOperationCollectionRequest { - - /** - * The request builder for this collection of TeamsAsyncOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAsyncOperationCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTeamsAsyncOperationCollectionResponse.class, ITeamsAsyncOperationCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITeamsAsyncOperationCollectionPage get() throws ClientException { - final BaseTeamsAsyncOperationCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TeamsAsyncOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsAsyncOperation, callback); - } - - public TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TeamsAsyncOperationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsAsyncOperation); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAsyncOperationCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TeamsAsyncOperationCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAsyncOperationCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TeamsAsyncOperationCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamsAsyncOperationCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TeamsAsyncOperationCollectionRequest)this; - } - - public ITeamsAsyncOperationCollectionPage buildFromResponse(final BaseTeamsAsyncOperationCollectionResponse response) { - final ITeamsAsyncOperationCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TeamsAsyncOperationCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TeamsAsyncOperationCollectionPage page = new TeamsAsyncOperationCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequestBuilder.java deleted file mode 100644 index a8e5ad5e556..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation Collection Request Builder. - */ -public class BaseTeamsAsyncOperationCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAsyncOperationCollectionRequestBuilder { - - /** - * The request builder for this collection of Team - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAsyncOperationCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITeamsAsyncOperationCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITeamsAsyncOperationCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAsyncOperationCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsAsyncOperationRequestBuilder byId(final String id) { - return new TeamsAsyncOperationRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionResponse.java deleted file mode 100644 index 845fdf19f4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAsyncOperation; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation Collection Response. - */ -public class BaseTeamsAsyncOperationCollectionResponse implements IJsonBackedObject { - - /** - * The list of TeamsAsyncOperation within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequest.java deleted file mode 100644 index 72673bb427b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequest; -import com.microsoft.graph.requests.extensions.TeamsAsyncOperationRequest; -import com.microsoft.graph.models.extensions.TeamsAsyncOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation Request. - */ -public class BaseTeamsAsyncOperationRequest extends BaseRequest implements IBaseTeamsAsyncOperationRequest { - - /** - * The request for the TeamsAsyncOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTeamsAsyncOperationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TeamsAsyncOperation from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TeamsAsyncOperation from the service - * - * @return the TeamsAsyncOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAsyncOperation get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TeamsAsyncOperation with a source - * - * @param sourceTeamsAsyncOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TeamsAsyncOperation sourceTeamsAsyncOperation, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsAsyncOperation); - } - - /** - * Patches this TeamsAsyncOperation with a source - * - * @param sourceTeamsAsyncOperation the source object with updates - * @return the updated TeamsAsyncOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAsyncOperation patch(final TeamsAsyncOperation sourceTeamsAsyncOperation) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsAsyncOperation); - } - - /** - * Creates a TeamsAsyncOperation with a new object - * - * @param newTeamsAsyncOperation the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback) { - send(HttpMethod.POST, callback, newTeamsAsyncOperation); - } - - /** - * Creates a TeamsAsyncOperation with a new object - * - * @param newTeamsAsyncOperation the new object to create - * @return the created TeamsAsyncOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException { - return send(HttpMethod.POST, newTeamsAsyncOperation); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsAsyncOperationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsAsyncOperationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsAsyncOperationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsAsyncOperationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequestBuilder.java deleted file mode 100644 index 9ae96f8eea3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsAsyncOperationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequest; -import com.microsoft.graph.requests.extensions.TeamsAsyncOperationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Async Operation Request Builder. - */ -public class BaseTeamsAsyncOperationRequestBuilder extends BaseRequestBuilder implements IBaseTeamsAsyncOperationRequestBuilder { - - /** - * The request builder for the TeamsAsyncOperation - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsAsyncOperationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsAsyncOperationRequest instance - */ - public ITeamsAsyncOperationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsAsyncOperationRequest instance - */ - public ITeamsAsyncOperationRequest buildRequest(final java.util.List requestOptions) { - return new TeamsAsyncOperationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionPage.java deleted file mode 100644 index 8bb21fbb4fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsTab; -import com.microsoft.graph.requests.extensions.ITeamsTabCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Collection Page. - */ -public class BaseTeamsTabCollectionPage extends BaseCollectionPage implements IBaseTeamsTabCollectionPage { - - /** - * A collection page for TeamsTab - * - * @param response the serialized BaseTeamsTabCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTeamsTabCollectionPage(final BaseTeamsTabCollectionResponse response, final ITeamsTabCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequest.java deleted file mode 100644 index 8e54ccff85e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Collection Request. - */ -public class BaseTeamsTabCollectionRequest extends BaseCollectionRequest implements IBaseTeamsTabCollectionRequest { - - /** - * The request builder for this collection of TeamsTab - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsTabCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTeamsTabCollectionResponse.class, ITeamsTabCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITeamsTabCollectionPage get() throws ClientException { - final BaseTeamsTabCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TeamsTab newTeamsTab, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TeamsTabRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsTab, callback); - } - - public TeamsTab post(final TeamsTab newTeamsTab) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TeamsTabRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTeamsTab); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsTabCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TeamsTabCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsTabCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TeamsTabCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITeamsTabCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TeamsTabCollectionRequest)this; - } - - public ITeamsTabCollectionPage buildFromResponse(final BaseTeamsTabCollectionResponse response) { - final ITeamsTabCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TeamsTabCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TeamsTabCollectionPage page = new TeamsTabCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequestBuilder.java deleted file mode 100644 index 2a6acceb57d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Collection Request Builder. - */ -public class BaseTeamsTabCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTeamsTabCollectionRequestBuilder { - - /** - * The request builder for this collection of Channel - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsTabCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITeamsTabCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITeamsTabCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TeamsTabCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITeamsTabRequestBuilder byId(final String id) { - return new TeamsTabRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionResponse.java deleted file mode 100644 index 04a1cb157ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsTab; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Collection Response. - */ -public class BaseTeamsTabCollectionResponse implements IJsonBackedObject { - - /** - * The list of TeamsTab within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequest.java deleted file mode 100644 index 6234de948d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsTabRequest; -import com.microsoft.graph.requests.extensions.TeamsTabRequest; -import com.microsoft.graph.models.extensions.TeamsTab; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Request. - */ -public class BaseTeamsTabRequest extends BaseRequest implements IBaseTeamsTabRequest { - - /** - * The request for the TeamsTab - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTeamsTabRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TeamsTab from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TeamsTab from the service - * - * @return the TeamsTab from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsTab get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TeamsTab with a source - * - * @param sourceTeamsTab the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TeamsTab sourceTeamsTab, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTeamsTab); - } - - /** - * Patches this TeamsTab with a source - * - * @param sourceTeamsTab the source object with updates - * @return the updated TeamsTab - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsTab patch(final TeamsTab sourceTeamsTab) throws ClientException { - return send(HttpMethod.PATCH, sourceTeamsTab); - } - - /** - * Creates a TeamsTab with a new object - * - * @param newTeamsTab the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TeamsTab newTeamsTab, final ICallback callback) { - send(HttpMethod.POST, callback, newTeamsTab); - } - - /** - * Creates a TeamsTab with a new object - * - * @param newTeamsTab the new object to create - * @return the created TeamsTab - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TeamsTab post(final TeamsTab newTeamsTab) throws ClientException { - return send(HttpMethod.POST, newTeamsTab); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITeamsTabRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TeamsTabRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITeamsTabRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TeamsTabRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequestBuilder.java deleted file mode 100644 index 712d30c56d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTeamsTabRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsTabRequest; -import com.microsoft.graph.requests.extensions.TeamsTabRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.TeamsAppWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Teams Tab Request Builder. - */ -public class BaseTeamsTabRequestBuilder extends BaseRequestBuilder implements IBaseTeamsTabRequestBuilder { - - /** - * The request builder for the TeamsTab - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTeamsTabRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITeamsTabRequest instance - */ - public ITeamsTabRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITeamsTabRequest instance - */ - public ITeamsTabRequest buildRequest(final java.util.List requestOptions) { - return new TeamsTabRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for TeamsApp - * - * @return the ITeamsAppWithReferenceRequestBuilder instance - */ - public ITeamsAppWithReferenceRequestBuilder teamsApp() { - return new TeamsAppWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("teamsApp"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionPage.java deleted file mode 100644 index 67e0eacdec2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner Collection Page. - */ -public class BaseTelecomExpenseManagementPartnerCollectionPage extends BaseCollectionPage implements IBaseTelecomExpenseManagementPartnerCollectionPage { - - /** - * A collection page for TelecomExpenseManagementPartner - * - * @param response the serialized BaseTelecomExpenseManagementPartnerCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTelecomExpenseManagementPartnerCollectionPage(final BaseTelecomExpenseManagementPartnerCollectionResponse response, final ITelecomExpenseManagementPartnerCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequest.java deleted file mode 100644 index ba745cefa5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner Collection Request. - */ -public class BaseTelecomExpenseManagementPartnerCollectionRequest extends BaseCollectionRequest implements IBaseTelecomExpenseManagementPartnerCollectionRequest { - - /** - * The request builder for this collection of TelecomExpenseManagementPartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTelecomExpenseManagementPartnerCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTelecomExpenseManagementPartnerCollectionResponse.class, ITelecomExpenseManagementPartnerCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITelecomExpenseManagementPartnerCollectionPage get() throws ClientException { - final BaseTelecomExpenseManagementPartnerCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TelecomExpenseManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTelecomExpenseManagementPartner, callback); - } - - public TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TelecomExpenseManagementPartnerRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTelecomExpenseManagementPartner); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITelecomExpenseManagementPartnerCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TelecomExpenseManagementPartnerCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITelecomExpenseManagementPartnerCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TelecomExpenseManagementPartnerCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITelecomExpenseManagementPartnerCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TelecomExpenseManagementPartnerCollectionRequest)this; - } - - public ITelecomExpenseManagementPartnerCollectionPage buildFromResponse(final BaseTelecomExpenseManagementPartnerCollectionResponse response) { - final ITelecomExpenseManagementPartnerCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TelecomExpenseManagementPartnerCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TelecomExpenseManagementPartnerCollectionPage page = new TelecomExpenseManagementPartnerCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java deleted file mode 100644 index 3844a3a4a6c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner Collection Request Builder. - */ -public class BaseTelecomExpenseManagementPartnerCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTelecomExpenseManagementPartnerCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITelecomExpenseManagementPartnerCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITelecomExpenseManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TelecomExpenseManagementPartnerCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITelecomExpenseManagementPartnerRequestBuilder byId(final String id) { - return new TelecomExpenseManagementPartnerRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionResponse.java deleted file mode 100644 index c2c315bf477..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner Collection Response. - */ -public class BaseTelecomExpenseManagementPartnerCollectionResponse implements IJsonBackedObject { - - /** - * The list of TelecomExpenseManagementPartner within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequest.java deleted file mode 100644 index 2be9bce9d3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequest; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerRequest; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner Request. - */ -public class BaseTelecomExpenseManagementPartnerRequest extends BaseRequest implements IBaseTelecomExpenseManagementPartnerRequest { - - /** - * The request for the TelecomExpenseManagementPartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTelecomExpenseManagementPartnerRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TelecomExpenseManagementPartner from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TelecomExpenseManagementPartner from the service - * - * @return the TelecomExpenseManagementPartner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TelecomExpenseManagementPartner get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TelecomExpenseManagementPartner with a source - * - * @param sourceTelecomExpenseManagementPartner the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTelecomExpenseManagementPartner); - } - - /** - * Patches this TelecomExpenseManagementPartner with a source - * - * @param sourceTelecomExpenseManagementPartner the source object with updates - * @return the updated TelecomExpenseManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TelecomExpenseManagementPartner patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner) throws ClientException { - return send(HttpMethod.PATCH, sourceTelecomExpenseManagementPartner); - } - - /** - * Creates a TelecomExpenseManagementPartner with a new object - * - * @param newTelecomExpenseManagementPartner the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback) { - send(HttpMethod.POST, callback, newTelecomExpenseManagementPartner); - } - - /** - * Creates a TelecomExpenseManagementPartner with a new object - * - * @param newTelecomExpenseManagementPartner the new object to create - * @return the created TelecomExpenseManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException { - return send(HttpMethod.POST, newTelecomExpenseManagementPartner); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITelecomExpenseManagementPartnerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TelecomExpenseManagementPartnerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITelecomExpenseManagementPartnerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TelecomExpenseManagementPartnerRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequestBuilder.java deleted file mode 100644 index 2e826515509..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTelecomExpenseManagementPartnerRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequest; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Telecom Expense Management Partner Request Builder. - */ -public class BaseTelecomExpenseManagementPartnerRequestBuilder extends BaseRequestBuilder implements IBaseTelecomExpenseManagementPartnerRequestBuilder { - - /** - * The request builder for the TelecomExpenseManagementPartner - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTelecomExpenseManagementPartnerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITelecomExpenseManagementPartnerRequest instance - */ - public ITelecomExpenseManagementPartnerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITelecomExpenseManagementPartnerRequest instance - */ - public ITelecomExpenseManagementPartnerRequest buildRequest(final java.util.List requestOptions) { - return new TelecomExpenseManagementPartnerRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionPage.java deleted file mode 100644 index 3a5a9efd9f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status Collection Page. - */ -public class BaseTermsAndConditionsAcceptanceStatusCollectionPage extends BaseCollectionPage implements IBaseTermsAndConditionsAcceptanceStatusCollectionPage { - - /** - * A collection page for TermsAndConditionsAcceptanceStatus - * - * @param response the serialized BaseTermsAndConditionsAcceptanceStatusCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTermsAndConditionsAcceptanceStatusCollectionPage(final BaseTermsAndConditionsAcceptanceStatusCollectionResponse response, final ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequest.java deleted file mode 100644 index 0ec707965b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status Collection Request. - */ -public class BaseTermsAndConditionsAcceptanceStatusCollectionRequest extends BaseCollectionRequest implements IBaseTermsAndConditionsAcceptanceStatusCollectionRequest { - - /** - * The request builder for this collection of TermsAndConditionsAcceptanceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsAcceptanceStatusCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTermsAndConditionsAcceptanceStatusCollectionResponse.class, ITermsAndConditionsAcceptanceStatusCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITermsAndConditionsAcceptanceStatusCollectionPage get() throws ClientException { - final BaseTermsAndConditionsAcceptanceStatusCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TermsAndConditionsAcceptanceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTermsAndConditionsAcceptanceStatus, callback); - } - - public TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TermsAndConditionsAcceptanceStatusRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTermsAndConditionsAcceptanceStatus); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsAcceptanceStatusCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TermsAndConditionsAcceptanceStatusCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsAcceptanceStatusCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TermsAndConditionsAcceptanceStatusCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITermsAndConditionsAcceptanceStatusCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TermsAndConditionsAcceptanceStatusCollectionRequest)this; - } - - public ITermsAndConditionsAcceptanceStatusCollectionPage buildFromResponse(final BaseTermsAndConditionsAcceptanceStatusCollectionResponse response) { - final ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TermsAndConditionsAcceptanceStatusCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TermsAndConditionsAcceptanceStatusCollectionPage page = new TermsAndConditionsAcceptanceStatusCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java deleted file mode 100644 index 6402c4f3bfd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status Collection Request Builder. - */ -public class BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder { - - /** - * The request builder for this collection of TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsAcceptanceStatusCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITermsAndConditionsAcceptanceStatusRequestBuilder byId(final String id) { - return new TermsAndConditionsAcceptanceStatusRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionResponse.java deleted file mode 100644 index 41fa63a11d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status Collection Response. - */ -public class BaseTermsAndConditionsAcceptanceStatusCollectionResponse implements IJsonBackedObject { - - /** - * The list of TermsAndConditionsAcceptanceStatus within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequest.java deleted file mode 100644 index 67bbbee22d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequest; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusRequest; -import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status Request. - */ -public class BaseTermsAndConditionsAcceptanceStatusRequest extends BaseRequest implements IBaseTermsAndConditionsAcceptanceStatusRequest { - - /** - * The request for the TermsAndConditionsAcceptanceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTermsAndConditionsAcceptanceStatusRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TermsAndConditionsAcceptanceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TermsAndConditionsAcceptanceStatus from the service - * - * @return the TermsAndConditionsAcceptanceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditionsAcceptanceStatus get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TermsAndConditionsAcceptanceStatus with a source - * - * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTermsAndConditionsAcceptanceStatus); - } - - /** - * Patches this TermsAndConditionsAcceptanceStatus with a source - * - * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates - * @return the updated TermsAndConditionsAcceptanceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditionsAcceptanceStatus patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus) throws ClientException { - return send(HttpMethod.PATCH, sourceTermsAndConditionsAcceptanceStatus); - } - - /** - * Creates a TermsAndConditionsAcceptanceStatus with a new object - * - * @param newTermsAndConditionsAcceptanceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback) { - send(HttpMethod.POST, callback, newTermsAndConditionsAcceptanceStatus); - } - - /** - * Creates a TermsAndConditionsAcceptanceStatus with a new object - * - * @param newTermsAndConditionsAcceptanceStatus the new object to create - * @return the created TermsAndConditionsAcceptanceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException { - return send(HttpMethod.POST, newTermsAndConditionsAcceptanceStatus); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsAcceptanceStatusRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TermsAndConditionsAcceptanceStatusRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsAcceptanceStatusRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TermsAndConditionsAcceptanceStatusRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequestBuilder.java deleted file mode 100644 index 80547750d3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAcceptanceStatusRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequest; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusRequest; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Acceptance Status Request Builder. - */ -public class BaseTermsAndConditionsAcceptanceStatusRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsAcceptanceStatusRequestBuilder { - - /** - * The request builder for the TermsAndConditionsAcceptanceStatus - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsAcceptanceStatusRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITermsAndConditionsAcceptanceStatusRequest instance - */ - public ITermsAndConditionsAcceptanceStatusRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsAcceptanceStatusRequest instance - */ - public ITermsAndConditionsAcceptanceStatusRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsAcceptanceStatusRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for TermsAndConditions - * - * @return the ITermsAndConditionsWithReferenceRequestBuilder instance - */ - public ITermsAndConditionsWithReferenceRequestBuilder termsAndConditions() { - return new TermsAndConditionsWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("termsAndConditions"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionPage.java deleted file mode 100644 index 8832945ad75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment Collection Page. - */ -public class BaseTermsAndConditionsAssignmentCollectionPage extends BaseCollectionPage implements IBaseTermsAndConditionsAssignmentCollectionPage { - - /** - * A collection page for TermsAndConditionsAssignment - * - * @param response the serialized BaseTermsAndConditionsAssignmentCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTermsAndConditionsAssignmentCollectionPage(final BaseTermsAndConditionsAssignmentCollectionResponse response, final ITermsAndConditionsAssignmentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequest.java deleted file mode 100644 index 641ca819bd5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment Collection Request. - */ -public class BaseTermsAndConditionsAssignmentCollectionRequest extends BaseCollectionRequest implements IBaseTermsAndConditionsAssignmentCollectionRequest { - - /** - * The request builder for this collection of TermsAndConditionsAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsAssignmentCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTermsAndConditionsAssignmentCollectionResponse.class, ITermsAndConditionsAssignmentCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITermsAndConditionsAssignmentCollectionPage get() throws ClientException { - final BaseTermsAndConditionsAssignmentCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TermsAndConditionsAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTermsAndConditionsAssignment, callback); - } - - public TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TermsAndConditionsAssignmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTermsAndConditionsAssignment); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsAssignmentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TermsAndConditionsAssignmentCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsAssignmentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TermsAndConditionsAssignmentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITermsAndConditionsAssignmentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TermsAndConditionsAssignmentCollectionRequest)this; - } - - public ITermsAndConditionsAssignmentCollectionPage buildFromResponse(final BaseTermsAndConditionsAssignmentCollectionResponse response) { - final ITermsAndConditionsAssignmentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TermsAndConditionsAssignmentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TermsAndConditionsAssignmentCollectionPage page = new TermsAndConditionsAssignmentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 9e369df9f48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment Collection Request Builder. - */ -public class BaseTermsAndConditionsAssignmentCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsAssignmentCollectionRequestBuilder { - - /** - * The request builder for this collection of TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsAssignmentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITermsAndConditionsAssignmentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITermsAndConditionsAssignmentCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsAssignmentCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITermsAndConditionsAssignmentRequestBuilder byId(final String id) { - return new TermsAndConditionsAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionResponse.java deleted file mode 100644 index da1abb77957..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment Collection Response. - */ -public class BaseTermsAndConditionsAssignmentCollectionResponse implements IJsonBackedObject { - - /** - * The list of TermsAndConditionsAssignment within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequest.java deleted file mode 100644 index 0fe1ba471f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequest; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentRequest; -import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment Request. - */ -public class BaseTermsAndConditionsAssignmentRequest extends BaseRequest implements IBaseTermsAndConditionsAssignmentRequest { - - /** - * The request for the TermsAndConditionsAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTermsAndConditionsAssignmentRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TermsAndConditionsAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TermsAndConditionsAssignment from the service - * - * @return the TermsAndConditionsAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditionsAssignment get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TermsAndConditionsAssignment with a source - * - * @param sourceTermsAndConditionsAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTermsAndConditionsAssignment); - } - - /** - * Patches this TermsAndConditionsAssignment with a source - * - * @param sourceTermsAndConditionsAssignment the source object with updates - * @return the updated TermsAndConditionsAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditionsAssignment patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment) throws ClientException { - return send(HttpMethod.PATCH, sourceTermsAndConditionsAssignment); - } - - /** - * Creates a TermsAndConditionsAssignment with a new object - * - * @param newTermsAndConditionsAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback) { - send(HttpMethod.POST, callback, newTermsAndConditionsAssignment); - } - - /** - * Creates a TermsAndConditionsAssignment with a new object - * - * @param newTermsAndConditionsAssignment the new object to create - * @return the created TermsAndConditionsAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException { - return send(HttpMethod.POST, newTermsAndConditionsAssignment); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsAssignmentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TermsAndConditionsAssignmentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsAssignmentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TermsAndConditionsAssignmentRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequestBuilder.java deleted file mode 100644 index ed8c8b9408b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsAssignmentRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequest; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Assignment Request Builder. - */ -public class BaseTermsAndConditionsAssignmentRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsAssignmentRequestBuilder { - - /** - * The request builder for the TermsAndConditionsAssignment - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsAssignmentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITermsAndConditionsAssignmentRequest instance - */ - public ITermsAndConditionsAssignmentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsAssignmentRequest instance - */ - public ITermsAndConditionsAssignmentRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsAssignmentRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionPage.java deleted file mode 100644 index 7c5d161e397..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditions; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Collection Page. - */ -public class BaseTermsAndConditionsCollectionPage extends BaseCollectionPage implements IBaseTermsAndConditionsCollectionPage { - - /** - * A collection page for TermsAndConditions - * - * @param response the serialized BaseTermsAndConditionsCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTermsAndConditionsCollectionPage(final BaseTermsAndConditionsCollectionResponse response, final ITermsAndConditionsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequest.java deleted file mode 100644 index ec53b7a2217..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Collection Request. - */ -public class BaseTermsAndConditionsCollectionRequest extends BaseCollectionRequest implements IBaseTermsAndConditionsCollectionRequest { - - /** - * The request builder for this collection of TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTermsAndConditionsCollectionResponse.class, ITermsAndConditionsCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITermsAndConditionsCollectionPage get() throws ClientException { - final BaseTermsAndConditionsCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final TermsAndConditions newTermsAndConditions, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TermsAndConditionsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTermsAndConditions, callback); - } - - public TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TermsAndConditionsRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTermsAndConditions); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TermsAndConditionsCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TermsAndConditionsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITermsAndConditionsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TermsAndConditionsCollectionRequest)this; - } - - public ITermsAndConditionsCollectionPage buildFromResponse(final BaseTermsAndConditionsCollectionResponse response) { - final ITermsAndConditionsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TermsAndConditionsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TermsAndConditionsCollectionPage page = new TermsAndConditionsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequestBuilder.java deleted file mode 100644 index 78e423d6fe3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Collection Request Builder. - */ -public class BaseTermsAndConditionsCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITermsAndConditionsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITermsAndConditionsCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITermsAndConditionsRequestBuilder byId(final String id) { - return new TermsAndConditionsRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionResponse.java deleted file mode 100644 index 4a5198518c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditions; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Collection Response. - */ -public class BaseTermsAndConditionsCollectionResponse implements IJsonBackedObject { - - /** - * The list of TermsAndConditions within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequest.java deleted file mode 100644 index 34ce458ca5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Reference Request. - */ -public class BaseTermsAndConditionsReferenceRequest extends BaseRequest implements IBaseTermsAndConditionsReferenceRequest { - - /** - * The request for the TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, TermsAndConditions.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public TermsAndConditions delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TermsAndConditionsReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TermsAndConditionsReferenceRequest)this; - } - /** - * Puts the TermsAndConditions - * - * @param srcTermsAndConditions the TermsAndConditions reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(TermsAndConditions srcTermsAndConditions, final ICallback callback) { - send(HttpMethod.PUT, callback, srcTermsAndConditions); - } - - /** - * Puts the TermsAndConditions - * - * @param srcTermsAndConditions the TermsAndConditions reference to PUT - * @return the TermsAndConditions - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public TermsAndConditions put(TermsAndConditions srcTermsAndConditions) throws ClientException { - return send(HttpMethod.PUT, srcTermsAndConditions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequestBuilder.java deleted file mode 100644 index fd50c7cd8da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Reference Request Builder. - */ -public class BaseTermsAndConditionsReferenceRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsReferenceRequestBuilder { - - /** - * The request builder for the TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The ITermsAndConditionsReferenceRequest instance - */ - public ITermsAndConditionsReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsReferenceRequest instance - */ - public ITermsAndConditionsReferenceRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequest.java deleted file mode 100644 index f15d6a209a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequest; -import com.microsoft.graph.requests.extensions.TermsAndConditionsRequest; -import com.microsoft.graph.models.extensions.TermsAndConditions; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Request. - */ -public class BaseTermsAndConditionsRequest extends BaseRequest implements IBaseTermsAndConditionsRequest { - - /** - * The request for the TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTermsAndConditionsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the TermsAndConditions from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the TermsAndConditions from the service - * - * @return the TermsAndConditions from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditions get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this TermsAndConditions with a source - * - * @param sourceTermsAndConditions the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTermsAndConditions); - } - - /** - * Patches this TermsAndConditions with a source - * - * @param sourceTermsAndConditions the source object with updates - * @return the updated TermsAndConditions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException { - return send(HttpMethod.PATCH, sourceTermsAndConditions); - } - - /** - * Creates a TermsAndConditions with a new object - * - * @param newTermsAndConditions the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final TermsAndConditions newTermsAndConditions, final ICallback callback) { - send(HttpMethod.POST, callback, newTermsAndConditions); - } - - /** - * Creates a TermsAndConditions with a new object - * - * @param newTermsAndConditions the new object to create - * @return the created TermsAndConditions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException { - return send(HttpMethod.POST, newTermsAndConditions); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TermsAndConditionsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TermsAndConditionsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequestBuilder.java deleted file mode 100644 index 965dad5e0c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequest; -import com.microsoft.graph.requests.extensions.TermsAndConditionsRequest; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.TermsAndConditionsAcceptanceStatusRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions Request Builder. - */ -public class BaseTermsAndConditionsRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsRequestBuilder { - - /** - * The request builder for the TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITermsAndConditionsRequest instance - */ - public ITermsAndConditionsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsRequest instance - */ - public ITermsAndConditionsRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITermsAndConditionsAssignmentCollectionRequestBuilder assignments() { - return new TermsAndConditionsAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public ITermsAndConditionsAssignmentRequestBuilder assignments(final String id) { - return new TermsAndConditionsAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - public ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder acceptanceStatuses() { - return new TermsAndConditionsAcceptanceStatusCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("acceptanceStatuses"), getClient(), null); - } - - public ITermsAndConditionsAcceptanceStatusRequestBuilder acceptanceStatuses(final String id) { - return new TermsAndConditionsAcceptanceStatusRequestBuilder(getRequestUrlWithAdditionalSegment("acceptanceStatuses") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequest.java deleted file mode 100644 index b8481fcb612..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions With Reference Request. - */ -public class BaseTermsAndConditionsWithReferenceRequest extends BaseRequest implements IBaseTermsAndConditionsWithReferenceRequest { - - /** - * The request for the TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, TermsAndConditions.class); - } - - public void post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public TermsAndConditions post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newTermsAndConditions; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public TermsAndConditions get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTermsAndConditions); - } - - public TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException { - return send(HttpMethod.PATCH, sourceTermsAndConditions); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITermsAndConditionsWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ITermsAndConditionsWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITermsAndConditionsWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TermsAndConditionsWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequestBuilder.java deleted file mode 100644 index 4c8e414f5ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTermsAndConditionsWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Terms And Conditions With Reference Request Builder. - */ -public class BaseTermsAndConditionsWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseTermsAndConditionsWithReferenceRequestBuilder { - - /** - * The request builder for the TermsAndConditions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTermsAndConditionsWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITermsAndConditionsWithReferenceRequest instance - */ - public ITermsAndConditionsWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsWithReferenceRequest instance - */ - public ITermsAndConditionsWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new TermsAndConditionsWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITermsAndConditionsReferenceRequestBuilder reference(){ - return new TermsAndConditionsReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequest.java deleted file mode 100644 index efdb83202be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailRequest; -import com.microsoft.graph.requests.extensions.ThumbnailRequest; -import com.microsoft.graph.models.extensions.Thumbnail; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Request. - */ -public class BaseThumbnailRequest extends BaseRequest implements IBaseThumbnailRequest { - - /** - * The request for the Thumbnail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseThumbnailRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Thumbnail from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Thumbnail from the service - * - * @return the Thumbnail from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Thumbnail get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Thumbnail with a source - * - * @param sourceThumbnail the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Thumbnail sourceThumbnail, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceThumbnail); - } - - /** - * Patches this Thumbnail with a source - * - * @param sourceThumbnail the source object with updates - * @return the updated Thumbnail - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Thumbnail patch(final Thumbnail sourceThumbnail) throws ClientException { - return send(HttpMethod.PATCH, sourceThumbnail); - } - - /** - * Creates a Thumbnail with a new object - * - * @param newThumbnail the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Thumbnail newThumbnail, final ICallback callback) { - send(HttpMethod.POST, callback, newThumbnail); - } - - /** - * Creates a Thumbnail with a new object - * - * @param newThumbnail the new object to create - * @return the created Thumbnail - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Thumbnail post(final Thumbnail newThumbnail) throws ClientException { - return send(HttpMethod.POST, newThumbnail); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IThumbnailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ThumbnailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IThumbnailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ThumbnailRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequestBuilder.java deleted file mode 100644 index aa40be36b89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailRequest; -import com.microsoft.graph.requests.extensions.ThumbnailRequest; -import com.microsoft.graph.requests.extensions.IThumbnailStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.ThumbnailStreamRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Request Builder. - */ -public class BaseThumbnailRequestBuilder extends BaseRequestBuilder implements IBaseThumbnailRequestBuilder { - - /** - * The request builder for the Thumbnail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseThumbnailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IThumbnailRequest instance - */ - public IThumbnailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IThumbnailRequest instance - */ - public IThumbnailRequest buildRequest(final java.util.List requestOptions) { - return new ThumbnailRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IThumbnailStreamRequestBuilder content() { - return new ThumbnailStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionPage.java deleted file mode 100644 index a3e8caeda22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ThumbnailSet; -import com.microsoft.graph.requests.extensions.IThumbnailSetCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set Collection Page. - */ -public class BaseThumbnailSetCollectionPage extends BaseCollectionPage implements IBaseThumbnailSetCollectionPage { - - /** - * A collection page for ThumbnailSet - * - * @param response the serialized BaseThumbnailSetCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseThumbnailSetCollectionPage(final BaseThumbnailSetCollectionResponse response, final IThumbnailSetCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequest.java deleted file mode 100644 index 73f46f1656d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set Collection Request. - */ -public class BaseThumbnailSetCollectionRequest extends BaseCollectionRequest implements IBaseThumbnailSetCollectionRequest { - - /** - * The request builder for this collection of ThumbnailSet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseThumbnailSetCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseThumbnailSetCollectionResponse.class, IThumbnailSetCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IThumbnailSetCollectionPage get() throws ClientException { - final BaseThumbnailSetCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final ThumbnailSet newThumbnailSet, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new ThumbnailSetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newThumbnailSet, callback); - } - - public ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new ThumbnailSetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newThumbnailSet); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IThumbnailSetCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (ThumbnailSetCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IThumbnailSetCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (ThumbnailSetCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IThumbnailSetCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (ThumbnailSetCollectionRequest)this; - } - - public IThumbnailSetCollectionPage buildFromResponse(final BaseThumbnailSetCollectionResponse response) { - final IThumbnailSetCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new ThumbnailSetCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final ThumbnailSetCollectionPage page = new ThumbnailSetCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequestBuilder.java deleted file mode 100644 index 8db9fb6d96b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set Collection Request Builder. - */ -public class BaseThumbnailSetCollectionRequestBuilder extends BaseRequestBuilder implements IBaseThumbnailSetCollectionRequestBuilder { - - /** - * The request builder for this collection of DriveItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseThumbnailSetCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IThumbnailSetCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IThumbnailSetCollectionRequest buildRequest(final java.util.List requestOptions) { - return new ThumbnailSetCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IThumbnailSetRequestBuilder byId(final String id) { - return new ThumbnailSetRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionResponse.java deleted file mode 100644 index 67c9d773c53..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ThumbnailSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set Collection Response. - */ -public class BaseThumbnailSetCollectionResponse implements IJsonBackedObject { - - /** - * The list of ThumbnailSet within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequest.java deleted file mode 100644 index 49499690d99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailSetRequest; -import com.microsoft.graph.requests.extensions.ThumbnailSetRequest; -import com.microsoft.graph.models.extensions.ThumbnailSet; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set Request. - */ -public class BaseThumbnailSetRequest extends BaseRequest implements IBaseThumbnailSetRequest { - - /** - * The request for the ThumbnailSet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseThumbnailSetRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the ThumbnailSet from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the ThumbnailSet from the service - * - * @return the ThumbnailSet from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ThumbnailSet get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this ThumbnailSet with a source - * - * @param sourceThumbnailSet the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final ThumbnailSet sourceThumbnailSet, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceThumbnailSet); - } - - /** - * Patches this ThumbnailSet with a source - * - * @param sourceThumbnailSet the source object with updates - * @return the updated ThumbnailSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ThumbnailSet patch(final ThumbnailSet sourceThumbnailSet) throws ClientException { - return send(HttpMethod.PATCH, sourceThumbnailSet); - } - - /** - * Creates a ThumbnailSet with a new object - * - * @param newThumbnailSet the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final ThumbnailSet newThumbnailSet, final ICallback callback) { - send(HttpMethod.POST, callback, newThumbnailSet); - } - - /** - * Creates a ThumbnailSet with a new object - * - * @param newThumbnailSet the new object to create - * @return the created ThumbnailSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException { - return send(HttpMethod.POST, newThumbnailSet); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IThumbnailSetRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (ThumbnailSetRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IThumbnailSetRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (ThumbnailSetRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequestBuilder.java deleted file mode 100644 index 98c116426bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailSetRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailSetRequest; -import com.microsoft.graph.requests.extensions.ThumbnailSetRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Set Request Builder. - */ -public class BaseThumbnailSetRequestBuilder extends BaseRequestBuilder implements IBaseThumbnailSetRequestBuilder { - - /** - * The request builder for the ThumbnailSet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseThumbnailSetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IThumbnailSetRequest instance - */ - public IThumbnailSetRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IThumbnailSetRequest instance - */ - public IThumbnailSetRequest buildRequest(final java.util.List requestOptions) { - return new ThumbnailSetRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequest.java deleted file mode 100644 index ce25861c55c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequest.java +++ /dev/null @@ -1,84 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Stream Request. - */ -public class BaseThumbnailStreamRequest extends BaseStreamRequest implements IBaseThumbnailStreamRequest { - - /** - * The request for this ThumbnailStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseThumbnailStreamRequest( - final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(callback); - } - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public InputStream get() throws ClientException { - return send(); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - public void put(final byte[] fileContents, final ICallback callback) { - send(fileContents, callback); - } - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Thumbnail put(final byte[] fileContents) throws ClientException { - return send(fileContents); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequestBuilder.java deleted file mode 100644 index 171a5a300c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseThumbnailStreamRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailStreamRequest; -import com.microsoft.graph.requests.extensions.ThumbnailStreamRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Thumbnail Stream Request Builder. - */ -public class BaseThumbnailStreamRequestBuilder extends BaseRequestBuilder implements IBaseThumbnailStreamRequestBuilder { - - /** - * The request builder for the ThumbnailStream - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseThumbnailStreamRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IThumbnailStreamRequest instance - */ - public IThumbnailStreamRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IThumbnailStreamRequest instance - */ - public IThumbnailStreamRequest buildRequest(final java.util.List requestOptions) { - return new ThumbnailStreamRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionPage.java deleted file mode 100644 index 2b8d51b2288..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Trending; -import com.microsoft.graph.requests.extensions.ITrendingCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending Collection Page. - */ -public class BaseTrendingCollectionPage extends BaseCollectionPage implements IBaseTrendingCollectionPage { - - /** - * A collection page for Trending - * - * @param response the serialized BaseTrendingCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseTrendingCollectionPage(final BaseTrendingCollectionResponse response, final ITrendingCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequest.java deleted file mode 100644 index 28455cc91a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending Collection Request. - */ -public class BaseTrendingCollectionRequest extends BaseCollectionRequest implements IBaseTrendingCollectionRequest { - - /** - * The request builder for this collection of Trending - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTrendingCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseTrendingCollectionResponse.class, ITrendingCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public ITrendingCollectionPage get() throws ClientException { - final BaseTrendingCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final Trending newTrending, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new TrendingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTrending, callback); - } - - public Trending post(final Trending newTrending) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new TrendingRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newTrending); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITrendingCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (TrendingCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITrendingCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (TrendingCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public ITrendingCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (TrendingCollectionRequest)this; - } - - public ITrendingCollectionPage buildFromResponse(final BaseTrendingCollectionResponse response) { - final ITrendingCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new TrendingCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final TrendingCollectionPage page = new TrendingCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequestBuilder.java deleted file mode 100644 index 8d9e5006930..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending Collection Request Builder. - */ -public class BaseTrendingCollectionRequestBuilder extends BaseRequestBuilder implements IBaseTrendingCollectionRequestBuilder { - - /** - * The request builder for this collection of OfficeGraphInsights - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTrendingCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public ITrendingCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public ITrendingCollectionRequest buildRequest(final java.util.List requestOptions) { - return new TrendingCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public ITrendingRequestBuilder byId(final String id) { - return new TrendingRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionResponse.java deleted file mode 100644 index 0cb767ead80..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Trending; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending Collection Response. - */ -public class BaseTrendingCollectionResponse implements IJsonBackedObject { - - /** - * The list of Trending within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequest.java deleted file mode 100644 index 745456b0fa0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITrendingRequest; -import com.microsoft.graph.requests.extensions.TrendingRequest; -import com.microsoft.graph.models.extensions.Trending; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending Request. - */ -public class BaseTrendingRequest extends BaseRequest implements IBaseTrendingRequest { - - /** - * The request for the Trending - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseTrendingRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Trending from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Trending from the service - * - * @return the Trending from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Trending get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Trending with a source - * - * @param sourceTrending the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Trending sourceTrending, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceTrending); - } - - /** - * Patches this Trending with a source - * - * @param sourceTrending the source object with updates - * @return the updated Trending - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Trending patch(final Trending sourceTrending) throws ClientException { - return send(HttpMethod.PATCH, sourceTrending); - } - - /** - * Creates a Trending with a new object - * - * @param newTrending the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Trending newTrending, final ICallback callback) { - send(HttpMethod.POST, callback, newTrending); - } - - /** - * Creates a Trending with a new object - * - * @param newTrending the new object to create - * @return the created Trending - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Trending post(final Trending newTrending) throws ClientException { - return send(HttpMethod.POST, newTrending); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public ITrendingRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (TrendingRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public ITrendingRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (TrendingRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequestBuilder.java deleted file mode 100644 index 073410b4f4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseTrendingRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITrendingRequest; -import com.microsoft.graph.requests.extensions.TrendingRequest; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Trending Request Builder. - */ -public class BaseTrendingRequestBuilder extends BaseRequestBuilder implements IBaseTrendingRequestBuilder { - - /** - * The request builder for the Trending - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseTrendingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the ITrendingRequest instance - */ - public ITrendingRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the ITrendingRequest instance - */ - public ITrendingRequest buildRequest(final java.util.List requestOptions) { - return new TrendingRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - public IEntityWithReferenceRequestBuilder resource() { - return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("resource"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionPage.java deleted file mode 100644 index 3128e6acc84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UsedInsight; -import com.microsoft.graph.requests.extensions.IUsedInsightCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight Collection Page. - */ -public class BaseUsedInsightCollectionPage extends BaseCollectionPage implements IBaseUsedInsightCollectionPage { - - /** - * A collection page for UsedInsight - * - * @param response the serialized BaseUsedInsightCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseUsedInsightCollectionPage(final BaseUsedInsightCollectionResponse response, final IUsedInsightCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequest.java deleted file mode 100644 index 197927bc1e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight Collection Request. - */ -public class BaseUsedInsightCollectionRequest extends BaseCollectionRequest implements IBaseUsedInsightCollectionRequest { - - /** - * The request builder for this collection of UsedInsight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUsedInsightCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUsedInsightCollectionResponse.class, IUsedInsightCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUsedInsightCollectionPage get() throws ClientException { - final BaseUsedInsightCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final UsedInsight newUsedInsight, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new UsedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUsedInsight, callback); - } - - public UsedInsight post(final UsedInsight newUsedInsight) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new UsedInsightRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUsedInsight); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUsedInsightCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (UsedInsightCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUsedInsightCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (UsedInsightCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUsedInsightCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (UsedInsightCollectionRequest)this; - } - - public IUsedInsightCollectionPage buildFromResponse(final BaseUsedInsightCollectionResponse response) { - final IUsedInsightCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UsedInsightCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final UsedInsightCollectionPage page = new UsedInsightCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequestBuilder.java deleted file mode 100644 index 82d8dce645b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight Collection Request Builder. - */ -public class BaseUsedInsightCollectionRequestBuilder extends BaseRequestBuilder implements IBaseUsedInsightCollectionRequestBuilder { - - /** - * The request builder for this collection of OfficeGraphInsights - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUsedInsightCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUsedInsightCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUsedInsightCollectionRequest buildRequest(final java.util.List requestOptions) { - return new UsedInsightCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IUsedInsightRequestBuilder byId(final String id) { - return new UsedInsightRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionResponse.java deleted file mode 100644 index bbf63b72c90..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UsedInsight; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight Collection Response. - */ -public class BaseUsedInsightCollectionResponse implements IJsonBackedObject { - - /** - * The list of UsedInsight within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequest.java deleted file mode 100644 index 282fa5d75b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUsedInsightRequest; -import com.microsoft.graph.requests.extensions.UsedInsightRequest; -import com.microsoft.graph.models.extensions.UsedInsight; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight Request. - */ -public class BaseUsedInsightRequest extends BaseRequest implements IBaseUsedInsightRequest { - - /** - * The request for the UsedInsight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseUsedInsightRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the UsedInsight from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the UsedInsight from the service - * - * @return the UsedInsight from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UsedInsight get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this UsedInsight with a source - * - * @param sourceUsedInsight the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final UsedInsight sourceUsedInsight, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUsedInsight); - } - - /** - * Patches this UsedInsight with a source - * - * @param sourceUsedInsight the source object with updates - * @return the updated UsedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UsedInsight patch(final UsedInsight sourceUsedInsight) throws ClientException { - return send(HttpMethod.PATCH, sourceUsedInsight); - } - - /** - * Creates a UsedInsight with a new object - * - * @param newUsedInsight the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final UsedInsight newUsedInsight, final ICallback callback) { - send(HttpMethod.POST, callback, newUsedInsight); - } - - /** - * Creates a UsedInsight with a new object - * - * @param newUsedInsight the new object to create - * @return the created UsedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UsedInsight post(final UsedInsight newUsedInsight) throws ClientException { - return send(HttpMethod.POST, newUsedInsight); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUsedInsightRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UsedInsightRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUsedInsightRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UsedInsightRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequestBuilder.java deleted file mode 100644 index b73b405f54b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUsedInsightRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUsedInsightRequest; -import com.microsoft.graph.requests.extensions.UsedInsightRequest; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.EntityWithReferenceRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Used Insight Request Builder. - */ -public class BaseUsedInsightRequestBuilder extends BaseRequestBuilder implements IBaseUsedInsightRequestBuilder { - - /** - * The request builder for the UsedInsight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUsedInsightRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUsedInsightRequest instance - */ - public IUsedInsightRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUsedInsightRequest instance - */ - public IUsedInsightRequest buildRequest(final java.util.List requestOptions) { - return new UsedInsightRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - public IEntityWithReferenceRequestBuilder resource() { - return new EntityWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("resource"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionPage.java deleted file mode 100644 index 8718d6e2bde..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserActivity; -import com.microsoft.graph.requests.extensions.IUserActivityCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Collection Page. - */ -public class BaseUserActivityCollectionPage extends BaseCollectionPage implements IBaseUserActivityCollectionPage { - - /** - * A collection page for UserActivity - * - * @param response the serialized BaseUserActivityCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseUserActivityCollectionPage(final BaseUserActivityCollectionResponse response, final IUserActivityCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequest.java deleted file mode 100644 index 07858724f4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Collection Request. - */ -public class BaseUserActivityCollectionRequest extends BaseCollectionRequest implements IBaseUserActivityCollectionRequest { - - /** - * The request builder for this collection of UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserActivityCollectionResponse.class, IUserActivityCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserActivityCollectionPage get() throws ClientException { - final BaseUserActivityCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final UserActivity newUserActivity, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new UserActivityRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUserActivity, callback); - } - - public UserActivity post(final UserActivity newUserActivity) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new UserActivityRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUserActivity); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserActivityCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (UserActivityCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserActivityCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (UserActivityCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserActivityCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (UserActivityCollectionRequest)this; - } - - public IUserActivityCollectionPage buildFromResponse(final BaseUserActivityCollectionResponse response) { - final IUserActivityCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserActivityCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final UserActivityCollectionPage page = new UserActivityCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequestBuilder.java deleted file mode 100644 index 72cbd794365..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Collection Request Builder. - */ -public class BaseUserActivityCollectionRequestBuilder extends BaseRequestBuilder implements IBaseUserActivityCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserActivityCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserActivityCollectionRequest buildRequest(final java.util.List requestOptions) { - return new UserActivityCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IUserActivityRequestBuilder byId(final String id) { - return new UserActivityRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IUserActivityRecentCollectionRequestBuilder recent() { - return new UserActivityRecentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.recent"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionResponse.java deleted file mode 100644 index 577ebddc670..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserActivity; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Collection Response. - */ -public class BaseUserActivityCollectionResponse implements IJsonBackedObject { - - /** - * The list of UserActivity within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionPage.java deleted file mode 100644 index 39e7dea566c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Recent Collection Page. - */ -public class BaseUserActivityRecentCollectionPage extends BaseCollectionPage implements IBaseUserActivityRecentCollectionPage { - - /** - * A collection page for UserActivityRecent. - * - * @param response The serialized BaseUserActivityRecentCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseUserActivityRecentCollectionPage(final BaseUserActivityRecentCollectionResponse response, final IUserActivityRecentCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequest.java deleted file mode 100644 index dd935ed8cb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Recent Collection Request. - */ -public class BaseUserActivityRecentCollectionRequest extends BaseCollectionRequest implements IBaseUserActivityRecentCollectionRequest { - - - /** - * The request for this UserActivityRecent - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityRecentCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserActivityRecentCollectionResponse.class, IUserActivityRecentCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserActivityRecentCollectionPage get() throws ClientException { - final BaseUserActivityRecentCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IUserActivityRecentCollectionPage buildFromResponse(final BaseUserActivityRecentCollectionResponse response) { - final IUserActivityRecentCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserActivityRecentCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IUserActivityRecentCollectionPage page = new UserActivityRecentCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserActivityRecentCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IUserActivityRecentCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserActivityRecentCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IUserActivityRecentCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserActivityRecentCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IUserActivityRecentCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequestBuilder.java deleted file mode 100644 index 983cda47728..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Recent Collection Request Builder. - */ -public class BaseUserActivityRecentCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseUserActivityRecentCollectionRequestBuilder { - - /** - * The request builder for this collection of UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityRecentCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserActivityRecentCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserActivityRecentCollectionRequest buildRequest(final java.util.List requestOptions) { - UserActivityRecentCollectionRequest request = new UserActivityRecentCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionResponse.java deleted file mode 100644 index 20135effe27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRecentCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Recent Collection Response. - */ -public class BaseUserActivityRecentCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequest.java deleted file mode 100644 index fa08ef10599..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Reference Request. - */ -public class BaseUserActivityReferenceRequest extends BaseRequest implements IBaseUserActivityReferenceRequest { - - /** - * The request for the UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, UserActivity.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public UserActivity delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserActivityReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserActivityReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserActivityReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserActivityReferenceRequest)this; - } - /** - * Puts the UserActivity - * - * @param srcUserActivity the UserActivity reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(UserActivity srcUserActivity, final ICallback callback) { - send(HttpMethod.PUT, callback, srcUserActivity); - } - - /** - * Puts the UserActivity - * - * @param srcUserActivity the UserActivity reference to PUT - * @return the UserActivity - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public UserActivity put(UserActivity srcUserActivity) throws ClientException { - return send(HttpMethod.PUT, srcUserActivity); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequestBuilder.java deleted file mode 100644 index 7984cea45b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Reference Request Builder. - */ -public class BaseUserActivityReferenceRequestBuilder extends BaseRequestBuilder implements IBaseUserActivityReferenceRequestBuilder { - - /** - * The request builder for the UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IUserActivityReferenceRequest instance - */ - public IUserActivityReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUserActivityReferenceRequest instance - */ - public IUserActivityReferenceRequest buildRequest(final java.util.List requestOptions) { - return new UserActivityReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequest.java deleted file mode 100644 index 2b4bcab9091..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserActivityRequest; -import com.microsoft.graph.requests.extensions.UserActivityRequest; -import com.microsoft.graph.models.extensions.UserActivity; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Request. - */ -public class BaseUserActivityRequest extends BaseRequest implements IBaseUserActivityRequest { - - /** - * The request for the UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseUserActivityRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the UserActivity from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the UserActivity from the service - * - * @return the UserActivity from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserActivity get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this UserActivity with a source - * - * @param sourceUserActivity the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final UserActivity sourceUserActivity, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUserActivity); - } - - /** - * Patches this UserActivity with a source - * - * @param sourceUserActivity the source object with updates - * @return the updated UserActivity - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserActivity patch(final UserActivity sourceUserActivity) throws ClientException { - return send(HttpMethod.PATCH, sourceUserActivity); - } - - /** - * Creates a UserActivity with a new object - * - * @param newUserActivity the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final UserActivity newUserActivity, final ICallback callback) { - send(HttpMethod.POST, callback, newUserActivity); - } - - /** - * Creates a UserActivity with a new object - * - * @param newUserActivity the new object to create - * @return the created UserActivity - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserActivity post(final UserActivity newUserActivity) throws ClientException { - return send(HttpMethod.POST, newUserActivity); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserActivityRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserActivityRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserActivityRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserActivityRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequestBuilder.java deleted file mode 100644 index bd62f58b60c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserActivityRequest; -import com.microsoft.graph.requests.extensions.UserActivityRequest; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ActivityHistoryItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequestBuilder; -import com.microsoft.graph.requests.extensions.ActivityHistoryItemRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity Request Builder. - */ -public class BaseUserActivityRequestBuilder extends BaseRequestBuilder implements IBaseUserActivityRequestBuilder { - - /** - * The request builder for the UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUserActivityRequest instance - */ - public IUserActivityRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUserActivityRequest instance - */ - public IUserActivityRequest buildRequest(final java.util.List requestOptions) { - return new UserActivityRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IActivityHistoryItemCollectionRequestBuilder historyItems() { - return new ActivityHistoryItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("historyItems"), getClient(), null); - } - - public IActivityHistoryItemRequestBuilder historyItems(final String id) { - return new ActivityHistoryItemRequestBuilder(getRequestUrlWithAdditionalSegment("historyItems") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequest.java deleted file mode 100644 index 9025737a3d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity With Reference Request. - */ -public class BaseUserActivityWithReferenceRequest extends BaseRequest implements IBaseUserActivityWithReferenceRequest { - - /** - * The request for the UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, UserActivity.class); - } - - public void post(final UserActivity newUserActivity, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public UserActivity post(final UserActivity newUserActivity, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newUserActivity; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public UserActivity get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final UserActivity sourceUserActivity, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUserActivity); - } - - public UserActivity patch(final UserActivity sourceUserActivity) throws ClientException { - return send(HttpMethod.PATCH, sourceUserActivity); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserActivityWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IUserActivityWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserActivityWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserActivityWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequestBuilder.java deleted file mode 100644 index 09af526fdd9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserActivityWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Activity With Reference Request Builder. - */ -public class BaseUserActivityWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseUserActivityWithReferenceRequestBuilder { - - /** - * The request builder for the UserActivity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserActivityWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUserActivityWithReferenceRequest instance - */ - public IUserActivityWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserActivityWithReferenceRequest instance - */ - public IUserActivityWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new UserActivityWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IUserActivityReferenceRequestBuilder reference(){ - return new UserActivityReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequest.java deleted file mode 100644 index 960f6d2c2a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserAssignLicenseBody; -import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; -import com.microsoft.graph.requests.extensions.UserAssignLicenseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Assign License Request. - */ -public class BaseUserAssignLicenseRequest extends BaseRequest implements IBaseUserAssignLicenseRequest { - protected final UserAssignLicenseBody body; - - /** - * The request for this UserAssignLicense - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserAssignLicenseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, User.class); - body = new UserAssignLicenseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public User post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserAssignLicenseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserAssignLicenseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserAssignLicenseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (UserAssignLicenseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserAssignLicenseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserAssignLicenseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequestBuilder.java deleted file mode 100644 index bb9b9fcc09b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserAssignLicenseRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; -import com.microsoft.graph.requests.extensions.UserAssignLicenseRequest; -import com.microsoft.graph.models.extensions.AssignedLicense; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Assign License Request Builder. - */ -public class BaseUserAssignLicenseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserAssignLicense - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param addLicenses the addLicenses - * @param removeLicenses the removeLicenses - */ - public BaseUserAssignLicenseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List addLicenses, final java.util.List removeLicenses) { - super(requestUrl, client, requestOptions); - bodyParams.put("addLicenses", addLicenses); - bodyParams.put("removeLicenses", removeLicenses); - } - - /** - * Creates the IUserAssignLicenseRequest - * - * @return the IUserAssignLicenseRequest instance - */ - public IUserAssignLicenseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserAssignLicenseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserAssignLicenseRequest instance - */ - public IUserAssignLicenseRequest buildRequest(final java.util.List requestOptions) { - UserAssignLicenseRequest request = new UserAssignLicenseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("addLicenses")) { - request.body.addLicenses = getParameter("addLicenses"); - } - - if (hasParameter("removeLicenses")) { - request.body.removeLicenses = getParameter("removeLicenses"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequest.java deleted file mode 100644 index 1ebfdf99787..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserChangePasswordBody; -import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; -import com.microsoft.graph.requests.extensions.UserChangePasswordRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Change Password Request. - */ -public class BaseUserChangePasswordRequest extends BaseRequest implements IBaseUserChangePasswordRequest { - protected final UserChangePasswordBody body; - - /** - * The request for this UserChangePassword - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserChangePasswordRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new UserChangePasswordBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserChangePasswordRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserChangePasswordRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserChangePasswordRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (UserChangePasswordRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserChangePasswordRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserChangePasswordRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequestBuilder.java deleted file mode 100644 index 3f66d372e69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserChangePasswordRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; -import com.microsoft.graph.requests.extensions.UserChangePasswordRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Change Password Request Builder. - */ -public class BaseUserChangePasswordRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserChangePassword - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param currentPassword the currentPassword - * @param newPassword the newPassword - */ - public BaseUserChangePasswordRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String currentPassword, final String newPassword) { - super(requestUrl, client, requestOptions); - bodyParams.put("currentPassword", currentPassword); - bodyParams.put("newPassword", newPassword); - } - - /** - * Creates the IUserChangePasswordRequest - * - * @return the IUserChangePasswordRequest instance - */ - public IUserChangePasswordRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserChangePasswordRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserChangePasswordRequest instance - */ - public IUserChangePasswordRequest buildRequest(final java.util.List requestOptions) { - UserChangePasswordRequest request = new UserChangePasswordRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("currentPassword")) { - request.body.currentPassword = getParameter("currentPassword"); - } - - if (hasParameter("newPassword")) { - request.body.newPassword = getParameter("newPassword"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionPage.java deleted file mode 100644 index 121268243c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.requests.extensions.IUserCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Collection Page. - */ -public class BaseUserCollectionPage extends BaseCollectionPage implements IBaseUserCollectionPage { - - /** - * A collection page for User - * - * @param response the serialized BaseUserCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseUserCollectionPage(final BaseUserCollectionResponse response, final IUserCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequest.java deleted file mode 100644 index ff53b49090b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Collection Request. - */ -public class BaseUserCollectionRequest extends BaseCollectionRequest implements IBaseUserCollectionRequest { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserCollectionResponse.class, IUserCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserCollectionPage get() throws ClientException { - final BaseUserCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final User newUser, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new UserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUser, callback); - } - - public User post(final User newUser) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new UserRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUser); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (UserCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (UserCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (UserCollectionRequest)this; - } - - public IUserCollectionPage buildFromResponse(final BaseUserCollectionResponse response) { - final IUserCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final UserCollectionPage page = new UserCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequestBuilder.java deleted file mode 100644 index b4226a431b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Collection Request Builder. - */ -public class BaseUserCollectionRequestBuilder extends BaseRequestBuilder implements IBaseUserCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserCollectionRequest buildRequest(final java.util.List requestOptions) { - return new UserCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IUserRequestBuilder byId(final String id) { - return new UserRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IUserDeltaCollectionRequestBuilder delta() { - return new UserDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null); - } - - public IUserDeltaCollectionRequestBuilder delta(final String deltaLink) { - return new UserDeltaCollectionRequestBuilder(deltaLink, getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionResponse.java deleted file mode 100644 index 2c702cbd30f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.User; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Collection Response. - */ -public class BaseUserCollectionResponse implements IJsonBackedObject { - - /** - * The list of User within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionPage.java deleted file mode 100644 index c4b646b6462..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionPage.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Delta Collection Page. - */ -public class BaseUserDeltaCollectionPage extends BaseCollectionPage implements IBaseUserDeltaCollectionPage { - - /** - * The opaque link to query delta after the - * initial request - */ - public String deltaLink; - - /** - * A collection page for UserDelta. - * - * @param response The serialized BaseUserDeltaCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseUserDeltaCollectionPage(final BaseUserDeltaCollectionResponse response, final IUserDeltaCollectionRequestBuilder builder) { - super(response.value, builder); - - if (response.getRawObject().get("@odata.deltaLink") != null) { - deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString(); - } else { - deltaLink = null; - } - } - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink() { - return deltaLink; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequest.java deleted file mode 100644 index 31434abad75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Delta Collection Request. - */ -public class BaseUserDeltaCollectionRequest extends BaseCollectionRequest implements IBaseUserDeltaCollectionRequest { - - - /** - * The request for this UserDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserDeltaCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserDeltaCollectionResponse.class, IUserDeltaCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserDeltaCollectionPage get() throws ClientException { - final BaseUserDeltaCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IUserDeltaCollectionPage buildFromResponse(final BaseUserDeltaCollectionResponse response) { - final IUserDeltaCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserDeltaCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IUserDeltaCollectionPage page = new UserDeltaCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserDeltaCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IUserDeltaCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserDeltaCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IUserDeltaCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserDeltaCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IUserDeltaCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequestBuilder.java deleted file mode 100644 index e4cbd6b0c5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Delta Collection Request Builder. - */ -public class BaseUserDeltaCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseUserDeltaCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserDeltaCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserDeltaCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserDeltaCollectionRequest buildRequest(final java.util.List requestOptions) { - UserDeltaCollectionRequest request = new UserDeltaCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionResponse.java deleted file mode 100644 index 55c726d874d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserDeltaCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Delta Collection Response. - */ -public class BaseUserDeltaCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequest.java deleted file mode 100644 index d284051a9d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserExportPersonalDataBody; -import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; -import com.microsoft.graph.requests.extensions.UserExportPersonalDataRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Export Personal Data Request. - */ -public class BaseUserExportPersonalDataRequest extends BaseRequest implements IBaseUserExportPersonalDataRequest { - protected final UserExportPersonalDataBody body; - - /** - * The request for this UserExportPersonalData - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserExportPersonalDataRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new UserExportPersonalDataBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserExportPersonalDataRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserExportPersonalDataRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserExportPersonalDataRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (UserExportPersonalDataRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserExportPersonalDataRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserExportPersonalDataRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequestBuilder.java deleted file mode 100644 index 1e6329c9927..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserExportPersonalDataRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; -import com.microsoft.graph.requests.extensions.UserExportPersonalDataRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Export Personal Data Request Builder. - */ -public class BaseUserExportPersonalDataRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserExportPersonalData - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param storageLocation the storageLocation - */ - public BaseUserExportPersonalDataRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String storageLocation) { - super(requestUrl, client, requestOptions); - bodyParams.put("storageLocation", storageLocation); - } - - /** - * Creates the IUserExportPersonalDataRequest - * - * @return the IUserExportPersonalDataRequest instance - */ - public IUserExportPersonalDataRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserExportPersonalDataRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserExportPersonalDataRequest instance - */ - public IUserExportPersonalDataRequest buildRequest(final java.util.List requestOptions) { - UserExportPersonalDataRequest request = new UserExportPersonalDataRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("storageLocation")) { - request.body.storageLocation = getParameter("storageLocation"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequest.java deleted file mode 100644 index 27da8e37729..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserFindMeetingTimesBody; -import com.microsoft.graph.models.extensions.MeetingTimeSuggestionsResult; -import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; -import com.microsoft.graph.requests.extensions.UserFindMeetingTimesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Find Meeting Times Request. - */ -public class BaseUserFindMeetingTimesRequest extends BaseRequest implements IBaseUserFindMeetingTimesRequest { - protected final UserFindMeetingTimesBody body; - - /** - * The request for this UserFindMeetingTimes - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserFindMeetingTimesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, MeetingTimeSuggestionsResult.class); - body = new UserFindMeetingTimesBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public MeetingTimeSuggestionsResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserFindMeetingTimesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserFindMeetingTimesRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserFindMeetingTimesRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (UserFindMeetingTimesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserFindMeetingTimesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserFindMeetingTimesRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequestBuilder.java deleted file mode 100644 index 99308e495df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserFindMeetingTimesRequestBuilder.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; -import com.microsoft.graph.requests.extensions.UserFindMeetingTimesRequest; -import com.microsoft.graph.models.extensions.AttendeeBase; -import com.microsoft.graph.models.extensions.LocationConstraint; -import com.microsoft.graph.models.extensions.TimeConstraint; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Find Meeting Times Request Builder. - */ -public class BaseUserFindMeetingTimesRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserFindMeetingTimes - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param attendees the attendees - * @param locationConstraint the locationConstraint - * @param timeConstraint the timeConstraint - * @param meetingDuration the meetingDuration - * @param maxCandidates the maxCandidates - * @param isOrganizerOptional the isOrganizerOptional - * @param returnSuggestionReasons the returnSuggestionReasons - * @param minimumAttendeePercentage the minimumAttendeePercentage - */ - public BaseUserFindMeetingTimesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List attendees, final LocationConstraint locationConstraint, final TimeConstraint timeConstraint, final javax.xml.datatype.Duration meetingDuration, final Integer maxCandidates, final Boolean isOrganizerOptional, final Boolean returnSuggestionReasons, final Double minimumAttendeePercentage) { - super(requestUrl, client, requestOptions); - bodyParams.put("attendees", attendees); - bodyParams.put("locationConstraint", locationConstraint); - bodyParams.put("timeConstraint", timeConstraint); - bodyParams.put("meetingDuration", meetingDuration); - bodyParams.put("maxCandidates", maxCandidates); - bodyParams.put("isOrganizerOptional", isOrganizerOptional); - bodyParams.put("returnSuggestionReasons", returnSuggestionReasons); - bodyParams.put("minimumAttendeePercentage", minimumAttendeePercentage); - } - - /** - * Creates the IUserFindMeetingTimesRequest - * - * @return the IUserFindMeetingTimesRequest instance - */ - public IUserFindMeetingTimesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserFindMeetingTimesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserFindMeetingTimesRequest instance - */ - public IUserFindMeetingTimesRequest buildRequest(final java.util.List requestOptions) { - UserFindMeetingTimesRequest request = new UserFindMeetingTimesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("attendees")) { - request.body.attendees = getParameter("attendees"); - } - - if (hasParameter("locationConstraint")) { - request.body.locationConstraint = getParameter("locationConstraint"); - } - - if (hasParameter("timeConstraint")) { - request.body.timeConstraint = getParameter("timeConstraint"); - } - - if (hasParameter("meetingDuration")) { - request.body.meetingDuration = getParameter("meetingDuration"); - } - - if (hasParameter("maxCandidates")) { - request.body.maxCandidates = getParameter("maxCandidates"); - } - - if (hasParameter("isOrganizerOptional")) { - request.body.isOrganizerOptional = getParameter("isOrganizerOptional"); - } - - if (hasParameter("returnSuggestionReasons")) { - request.body.returnSuggestionReasons = getParameter("returnSuggestionReasons"); - } - - if (hasParameter("minimumAttendeePercentage")) { - request.body.minimumAttendeePercentage = getParameter("minimumAttendeePercentage"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionPage.java deleted file mode 100644 index 14c48ef0726..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Mail Tips Collection Page. - */ -public class BaseUserGetMailTipsCollectionPage extends BaseCollectionPage implements IBaseUserGetMailTipsCollectionPage { - - /** - * A collection page for UserGetMailTips. - * - * @param response The serialized BaseUserGetMailTipsCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseUserGetMailTipsCollectionPage(final BaseUserGetMailTipsCollectionResponse response, final IUserGetMailTipsCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequest.java deleted file mode 100644 index 636da110803..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Mail Tips Collection Request. - */ -public class BaseUserGetMailTipsCollectionRequest extends BaseCollectionRequest implements IBaseUserGetMailTipsCollectionRequest { - - - protected final UserGetMailTipsBody body; - - - /** - * The request for this UserGetMailTips - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserGetMailTipsCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserGetMailTipsCollectionResponse.class, IUserGetMailTipsCollectionPage.class); - body = new UserGetMailTipsBody(); - } - - - public void post(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(post(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserGetMailTipsCollectionPage post() throws ClientException { - final BaseUserGetMailTipsCollectionResponse response = post(body); - return buildFromResponse(response); - } - - - public IUserGetMailTipsCollectionPage buildFromResponse(final BaseUserGetMailTipsCollectionResponse response) { - final IUserGetMailTipsCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserGetMailTipsCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* emailAddresses */ null, /* mailTipsOptions */ null); - } else { - builder = null; - } - final IUserGetMailTipsCollectionPage page = new UserGetMailTipsCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserGetMailTipsCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IUserGetMailTipsCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserGetMailTipsCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IUserGetMailTipsCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserGetMailTipsCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IUserGetMailTipsCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequestBuilder.java deleted file mode 100644 index 7401f0a8d1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Mail Tips Collection Request Builder. - */ -public class BaseUserGetMailTipsCollectionRequestBuilder extends BaseActionRequestBuilder implements IBaseUserGetMailTipsCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param emailAddresses the emailAddresses - * @param mailTipsOptions the mailTipsOptions - */ - public BaseUserGetMailTipsCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List emailAddresses, final EnumSet mailTipsOptions) { - super(requestUrl, client, requestOptions); - if(emailAddresses!=null){ - bodyParams.put("emailAddresses", emailAddresses); - } - if(mailTipsOptions!=null){ - bodyParams.put("mailTipsOptions", mailTipsOptions); - } - } - - public IUserGetMailTipsCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserGetMailTipsCollectionRequest buildRequest(final java.util.List requestOptions) { - UserGetMailTipsCollectionRequest request = new UserGetMailTipsCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("emailAddresses")) { - request.body.emailAddresses = getParameter("emailAddresses"); - } - if (hasParameter("mailTipsOptions")) { - request.body.mailTipsOptions = getParameter("mailTipsOptions"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionResponse.java deleted file mode 100644 index c083817f78f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetMailTipsCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Mail Tips Collection Response. - */ -public class BaseUserGetMailTipsCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionPage.java deleted file mode 100644 index d12e4164ebd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Diagnostic Statuses Collection Page. - */ -public class BaseUserGetManagedAppDiagnosticStatusesCollectionPage extends BaseCollectionPage implements IBaseUserGetManagedAppDiagnosticStatusesCollectionPage { - - /** - * A collection page for UserGetManagedAppDiagnosticStatuses. - * - * @param response The serialized BaseUserGetManagedAppDiagnosticStatusesCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseUserGetManagedAppDiagnosticStatusesCollectionPage(final BaseUserGetManagedAppDiagnosticStatusesCollectionResponse response, final IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java deleted file mode 100644 index dce487dca87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Diagnostic Statuses Collection Request. - */ -public class BaseUserGetManagedAppDiagnosticStatusesCollectionRequest extends BaseCollectionRequest implements IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest { - - - /** - * The request for this UserGetManagedAppDiagnosticStatuses - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserGetManagedAppDiagnosticStatusesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserGetManagedAppDiagnosticStatusesCollectionResponse.class, IUserGetManagedAppDiagnosticStatusesCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserGetManagedAppDiagnosticStatusesCollectionPage get() throws ClientException { - final BaseUserGetManagedAppDiagnosticStatusesCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IUserGetManagedAppDiagnosticStatusesCollectionPage buildFromResponse(final BaseUserGetManagedAppDiagnosticStatusesCollectionResponse response) { - final IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IUserGetManagedAppDiagnosticStatusesCollectionPage page = new UserGetManagedAppDiagnosticStatusesCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserGetManagedAppDiagnosticStatusesCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IUserGetManagedAppDiagnosticStatusesCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserGetManagedAppDiagnosticStatusesCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IUserGetManagedAppDiagnosticStatusesCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserGetManagedAppDiagnosticStatusesCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IUserGetManagedAppDiagnosticStatusesCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java deleted file mode 100644 index 71dd9176720..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Diagnostic Statuses Collection Request Builder. - */ -public class BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest(final java.util.List requestOptions) { - UserGetManagedAppDiagnosticStatusesCollectionRequest request = new UserGetManagedAppDiagnosticStatusesCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionResponse.java deleted file mode 100644 index 5a2a4604928..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppDiagnosticStatusesCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Diagnostic Statuses Collection Response. - */ -public class BaseUserGetManagedAppDiagnosticStatusesCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionPage.java deleted file mode 100644 index b826591fa09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Policies Collection Page. - */ -public class BaseUserGetManagedAppPoliciesCollectionPage extends BaseCollectionPage implements IBaseUserGetManagedAppPoliciesCollectionPage { - - /** - * A collection page for UserGetManagedAppPolicies. - * - * @param response The serialized BaseUserGetManagedAppPoliciesCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseUserGetManagedAppPoliciesCollectionPage(final BaseUserGetManagedAppPoliciesCollectionResponse response, final IUserGetManagedAppPoliciesCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequest.java deleted file mode 100644 index 5ad7b26129f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Policies Collection Request. - */ -public class BaseUserGetManagedAppPoliciesCollectionRequest extends BaseCollectionRequest implements IBaseUserGetManagedAppPoliciesCollectionRequest { - - - /** - * The request for this UserGetManagedAppPolicies - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserGetManagedAppPoliciesCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserGetManagedAppPoliciesCollectionResponse.class, IUserGetManagedAppPoliciesCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserGetManagedAppPoliciesCollectionPage get() throws ClientException { - final BaseUserGetManagedAppPoliciesCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IUserGetManagedAppPoliciesCollectionPage buildFromResponse(final BaseUserGetManagedAppPoliciesCollectionResponse response) { - final IUserGetManagedAppPoliciesCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserGetManagedAppPoliciesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final IUserGetManagedAppPoliciesCollectionPage page = new UserGetManagedAppPoliciesCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserGetManagedAppPoliciesCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IUserGetManagedAppPoliciesCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserGetManagedAppPoliciesCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IUserGetManagedAppPoliciesCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserGetManagedAppPoliciesCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IUserGetManagedAppPoliciesCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequestBuilder.java deleted file mode 100644 index 9f6ec4da26a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Policies Collection Request Builder. - */ -public class BaseUserGetManagedAppPoliciesCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseUserGetManagedAppPoliciesCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserGetManagedAppPoliciesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserGetManagedAppPoliciesCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserGetManagedAppPoliciesCollectionRequest buildRequest(final java.util.List requestOptions) { - UserGetManagedAppPoliciesCollectionRequest request = new UserGetManagedAppPoliciesCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionResponse.java deleted file mode 100644 index 516a805da23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserGetManagedAppPoliciesCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Get Managed App Policies Collection Response. - */ -public class BaseUserGetManagedAppPoliciesCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionPage.java deleted file mode 100644 index 4314e9e3352..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserInstallStateSummary; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary Collection Page. - */ -public class BaseUserInstallStateSummaryCollectionPage extends BaseCollectionPage implements IBaseUserInstallStateSummaryCollectionPage { - - /** - * A collection page for UserInstallStateSummary - * - * @param response the serialized BaseUserInstallStateSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseUserInstallStateSummaryCollectionPage(final BaseUserInstallStateSummaryCollectionResponse response, final IUserInstallStateSummaryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequest.java deleted file mode 100644 index 51870bd8025..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary Collection Request. - */ -public class BaseUserInstallStateSummaryCollectionRequest extends BaseCollectionRequest implements IBaseUserInstallStateSummaryCollectionRequest { - - /** - * The request builder for this collection of UserInstallStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserInstallStateSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserInstallStateSummaryCollectionResponse.class, IUserInstallStateSummaryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserInstallStateSummaryCollectionPage get() throws ClientException { - final BaseUserInstallStateSummaryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new UserInstallStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUserInstallStateSummary, callback); - } - - public UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new UserInstallStateSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newUserInstallStateSummary); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserInstallStateSummaryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (UserInstallStateSummaryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserInstallStateSummaryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (UserInstallStateSummaryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserInstallStateSummaryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (UserInstallStateSummaryCollectionRequest)this; - } - - public IUserInstallStateSummaryCollectionPage buildFromResponse(final BaseUserInstallStateSummaryCollectionResponse response) { - final IUserInstallStateSummaryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserInstallStateSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final UserInstallStateSummaryCollectionPage page = new UserInstallStateSummaryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequestBuilder.java deleted file mode 100644 index 3a8dfff3d58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary Collection Request Builder. - */ -public class BaseUserInstallStateSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseUserInstallStateSummaryCollectionRequestBuilder { - - /** - * The request builder for this collection of ManagedEBook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserInstallStateSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IUserInstallStateSummaryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserInstallStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new UserInstallStateSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IUserInstallStateSummaryRequestBuilder byId(final String id) { - return new UserInstallStateSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionResponse.java deleted file mode 100644 index 2663b6be854..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserInstallStateSummary; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary Collection Response. - */ -public class BaseUserInstallStateSummaryCollectionResponse implements IJsonBackedObject { - - /** - * The list of UserInstallStateSummary within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequest.java deleted file mode 100644 index 8de3368249a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequest; -import com.microsoft.graph.requests.extensions.UserInstallStateSummaryRequest; -import com.microsoft.graph.models.extensions.UserInstallStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary Request. - */ -public class BaseUserInstallStateSummaryRequest extends BaseRequest implements IBaseUserInstallStateSummaryRequest { - - /** - * The request for the UserInstallStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseUserInstallStateSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the UserInstallStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the UserInstallStateSummary from the service - * - * @return the UserInstallStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserInstallStateSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this UserInstallStateSummary with a source - * - * @param sourceUserInstallStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final UserInstallStateSummary sourceUserInstallStateSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUserInstallStateSummary); - } - - /** - * Patches this UserInstallStateSummary with a source - * - * @param sourceUserInstallStateSummary the source object with updates - * @return the updated UserInstallStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserInstallStateSummary patch(final UserInstallStateSummary sourceUserInstallStateSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceUserInstallStateSummary); - } - - /** - * Creates a UserInstallStateSummary with a new object - * - * @param newUserInstallStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newUserInstallStateSummary); - } - - /** - * Creates a UserInstallStateSummary with a new object - * - * @param newUserInstallStateSummary the new object to create - * @return the created UserInstallStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException { - return send(HttpMethod.POST, newUserInstallStateSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserInstallStateSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserInstallStateSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserInstallStateSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserInstallStateSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequestBuilder.java deleted file mode 100644 index 13347e084fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserInstallStateSummaryRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequest; -import com.microsoft.graph.requests.extensions.UserInstallStateSummaryRequest; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceInstallStateRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Install State Summary Request Builder. - */ -public class BaseUserInstallStateSummaryRequestBuilder extends BaseRequestBuilder implements IBaseUserInstallStateSummaryRequestBuilder { - - /** - * The request builder for the UserInstallStateSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserInstallStateSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUserInstallStateSummaryRequest instance - */ - public IUserInstallStateSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUserInstallStateSummaryRequest instance - */ - public IUserInstallStateSummaryRequest buildRequest(final java.util.List requestOptions) { - return new UserInstallStateSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDeviceInstallStateCollectionRequestBuilder deviceStates() { - return new DeviceInstallStateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates"), getClient(), null); - } - - public IDeviceInstallStateRequestBuilder deviceStates(final String id) { - return new DeviceInstallStateRequestBuilder(getRequestUrlWithAdditionalSegment("deviceStates") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequest.java deleted file mode 100644 index 3993c06b32f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Reference Request. - */ -public class BaseUserReferenceRequest extends BaseRequest implements IBaseUserReferenceRequest { - - /** - * The request for the User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, User.class); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public User delete() throws ClientException { - return send(HttpMethod.DELETE, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserReferenceRequest)this; - } - /** - * Puts the User - * - * @param srcUser the User reference to PUT - * @param callback the callback to be called after success or failure - */ - public void put(User srcUser, final ICallback callback) { - send(HttpMethod.PUT, callback, srcUser); - } - - /** - * Puts the User - * - * @param srcUser the User reference to PUT - * @return the User - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public User put(User srcUser) throws ClientException { - return send(HttpMethod.PUT, srcUser); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequestBuilder.java deleted file mode 100644 index 998f780c18b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReferenceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ - -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Reference Request Builder. - */ -public class BaseUserReferenceRequestBuilder extends BaseRequestBuilder implements IBaseUserReferenceRequestBuilder { - - /** - * The request builder for the User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return The IUserReferenceRequest instance - */ - public IUserReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUserReferenceRequest instance - */ - public IUserReferenceRequest buildRequest(final java.util.List requestOptions) { - return new UserReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionPage.java deleted file mode 100644 index acc68bc1d6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionPage.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Reminder View Collection Page. - */ -public class BaseUserReminderViewCollectionPage extends BaseCollectionPage implements IBaseUserReminderViewCollectionPage { - - /** - * A collection page for UserReminderView. - * - * @param response The serialized BaseUserReminderViewCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public BaseUserReminderViewCollectionPage(final BaseUserReminderViewCollectionResponse response, final IUserReminderViewCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequest.java deleted file mode 100644 index beb18e6aadd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequest.java +++ /dev/null @@ -1,105 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Reminder View Collection Request. - */ -public class BaseUserReminderViewCollectionRequest extends BaseCollectionRequest implements IBaseUserReminderViewCollectionRequest { - - - /** - * The request for this UserReminderView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserReminderViewCollectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseUserReminderViewCollectionResponse.class, IUserReminderViewCollectionPage.class); - } - - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IUserReminderViewCollectionPage get() throws ClientException { - final BaseUserReminderViewCollectionResponse response = send(); - return buildFromResponse(response); - } - - - public IUserReminderViewCollectionPage buildFromResponse(final BaseUserReminderViewCollectionResponse response) { - final IUserReminderViewCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new UserReminderViewCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null, /* startDateTime */ null, /* endDateTime */ null); - } else { - builder = null; - } - final IUserReminderViewCollectionPage page = new UserReminderViewCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserReminderViewCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (IUserReminderViewCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserReminderViewCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value+"")); - return (IUserReminderViewCollectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserReminderViewCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (IUserReminderViewCollectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequestBuilder.java deleted file mode 100644 index fbcaf68379e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Reminder View Collection Request Builder. - */ -public class BaseUserReminderViewCollectionRequestBuilder extends BaseFunctionRequestBuilder implements IBaseUserReminderViewCollectionRequestBuilder { - - /** - * The request builder for this collection of User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDateTime the startDateTime - * @param endDateTime the endDateTime - */ - public BaseUserReminderViewCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String startDateTime, final String endDateTime) { - super(requestUrl, client, requestOptions); - if(startDateTime!=null){ - functionOptions.add(new FunctionOption("startDateTime", startDateTime)); - } - if(endDateTime!=null){ - functionOptions.add(new FunctionOption("endDateTime", endDateTime)); - } - } - - public IUserReminderViewCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IUserReminderViewCollectionRequest buildRequest(final java.util.List requestOptions) { - UserReminderViewCollectionRequest request = new UserReminderViewCollectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionResponse.java deleted file mode 100644 index 196d5b990f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserReminderViewCollectionResponse.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Reminder View Collection Response. - */ -public class BaseUserReminderViewCollectionResponse implements IJsonBackedObject { - - @SerializedName("value") - @Expose - public java.util.List value; - - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequest.java deleted file mode 100644 index d0e85d4cf3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; -import com.microsoft.graph.requests.extensions.UserRemoveAllDevicesFromManagementRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Remove All Devices From Management Request. - */ -public class BaseUserRemoveAllDevicesFromManagementRequest extends BaseRequest implements IBaseUserRemoveAllDevicesFromManagementRequest { - - /** - * The request for this UserRemoveAllDevicesFromManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserRemoveAllDevicesFromManagementRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the UserRemoveAllDevicesFromManagement - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the UserRemoveAllDevicesFromManagement - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequestBuilder.java deleted file mode 100644 index 3aa5cdef588..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRemoveAllDevicesFromManagementRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; -import com.microsoft.graph.requests.extensions.UserRemoveAllDevicesFromManagementRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Remove All Devices From Management Request Builder. - */ -public class BaseUserRemoveAllDevicesFromManagementRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserRemoveAllDevicesFromManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserRemoveAllDevicesFromManagementRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IUserRemoveAllDevicesFromManagementRequest - * - * @return the IUserRemoveAllDevicesFromManagementRequest instance - */ - public IUserRemoveAllDevicesFromManagementRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserRemoveAllDevicesFromManagementRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserRemoveAllDevicesFromManagementRequest instance - */ - public IUserRemoveAllDevicesFromManagementRequest buildRequest(final java.util.List requestOptions) { - UserRemoveAllDevicesFromManagementRequest request = new UserRemoveAllDevicesFromManagementRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserRequest.java deleted file mode 100644 index 01f5e0ad65a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRequest; -import com.microsoft.graph.requests.extensions.UserRequest; -import com.microsoft.graph.models.extensions.User; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Request. - */ -public class BaseUserRequest extends BaseRequest implements IBaseUserRequest { - - /** - * The request for the User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseUserRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the User from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the User from the service - * - * @return the User from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public User get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this User with a source - * - * @param sourceUser the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final User sourceUser, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUser); - } - - /** - * Patches this User with a source - * - * @param sourceUser the source object with updates - * @return the updated User - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public User patch(final User sourceUser) throws ClientException { - return send(HttpMethod.PATCH, sourceUser); - } - - /** - * Creates a User with a new object - * - * @param newUser the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final User newUser, final ICallback callback) { - send(HttpMethod.POST, callback, newUser); - } - - /** - * Creates a User with a new object - * - * @param newUser the new object to create - * @return the created User - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public User post(final User newUser) throws ClientException { - return send(HttpMethod.POST, newUser); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserRequestBuilder.java deleted file mode 100644 index 74b92dad20d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserRequestBuilder.java +++ /dev/null @@ -1,498 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRequest; -import com.microsoft.graph.requests.extensions.UserRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.DirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ILicenseDetailsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.LicenseDetailsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ILicenseDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.LicenseDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookUserRequestBuilder; -import com.microsoft.graph.requests.extensions.OutlookUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.MessageRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.MailFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.MailFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.CalendarGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.EventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.EventRequestBuilder; -import com.microsoft.graph.requests.extensions.IPersonCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.PersonCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPersonRequestBuilder; -import com.microsoft.graph.requests.extensions.PersonRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ContactFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.IInferenceClassificationRequestBuilder; -import com.microsoft.graph.requests.extensions.InferenceClassificationRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.ProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.DriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerUserRequestBuilder; -import com.microsoft.graph.requests.extensions.PlannerUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.OnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ManagedAppRegistrationWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserActivityCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UserActivityCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.UserActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequestBuilder; -import com.microsoft.graph.requests.extensions.OfficeGraphInsightsRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserSettingsRequestBuilder; -import com.microsoft.graph.requests.extensions.UserSettingsRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.GroupRequestBuilder; -import com.microsoft.graph.models.extensions.AssignedLicense; -import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequestBuilder; -import com.microsoft.graph.requests.extensions.UserAssignLicenseRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserChangePasswordRequestBuilder; -import com.microsoft.graph.requests.extensions.UserChangePasswordRequestBuilder; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IUserSendMailRequestBuilder; -import com.microsoft.graph.requests.extensions.UserSendMailRequestBuilder; -import com.microsoft.graph.models.extensions.AttendeeBase; -import com.microsoft.graph.models.extensions.LocationConstraint; -import com.microsoft.graph.models.extensions.TimeConstraint; -import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequestBuilder; -import com.microsoft.graph.requests.extensions.UserFindMeetingTimesRequestBuilder; -import com.microsoft.graph.models.generated.MailTipsType; -import com.microsoft.graph.requests.extensions.IUserGetMailTipsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UserGetMailTipsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequestBuilder; -import com.microsoft.graph.requests.extensions.UserRemoveAllDevicesFromManagementRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; -import com.microsoft.graph.requests.extensions.UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequestBuilder; -import com.microsoft.graph.requests.extensions.UserExportPersonalDataRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserReminderViewCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UserReminderViewCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserGetManagedAppPoliciesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.UserGetManagedAppPoliciesCollectionRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Request Builder. - */ -public class BaseUserRequestBuilder extends BaseRequestBuilder implements IBaseUserRequestBuilder { - - /** - * The request builder for the User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUserRequest instance - */ - public IUserRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUserRequest instance - */ - public IUserRequest buildRequest(final java.util.List requestOptions) { - return new UserRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IDirectoryObjectCollectionWithReferencesRequestBuilder ownedDevices() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("ownedDevices"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder ownedDevices(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("ownedDevices") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder registeredDevices() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("registeredDevices"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder registeredDevices(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("registeredDevices") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for DirectoryObject - * - * @return the IDirectoryObjectWithReferenceRequestBuilder instance - */ - public IDirectoryObjectWithReferenceRequestBuilder manager() { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("manager"), getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder directReports() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("directReports"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder directReports(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("directReports") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("memberOf") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder createdObjects() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("createdObjects"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder createdObjects(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdObjects") + "/" + id, getClient(), null); - } - public IDirectoryObjectCollectionWithReferencesRequestBuilder ownedObjects() { - return new DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("ownedObjects"), getClient(), null); - } - - public IDirectoryObjectWithReferenceRequestBuilder ownedObjects(final String id) { - return new DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("ownedObjects") + "/" + id, getClient(), null); - } - public ILicenseDetailsCollectionRequestBuilder licenseDetails() { - return new LicenseDetailsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("licenseDetails"), getClient(), null); - } - - public ILicenseDetailsRequestBuilder licenseDetails(final String id) { - return new LicenseDetailsRequestBuilder(getRequestUrlWithAdditionalSegment("licenseDetails") + "/" + id, getClient(), null); - } - public IExtensionCollectionRequestBuilder extensions() { - return new ExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions"), getClient(), null); - } - - public IExtensionRequestBuilder extensions(final String id) { - return new ExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("extensions") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for OutlookUser - * - * @return the IOutlookUserRequestBuilder instance - */ - public IOutlookUserRequestBuilder outlook() { - return new OutlookUserRequestBuilder(getRequestUrlWithAdditionalSegment("outlook"), getClient(), null); - } - public IMessageCollectionRequestBuilder messages() { - return new MessageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("messages"), getClient(), null); - } - - public IMessageRequestBuilder messages(final String id) { - return new MessageRequestBuilder(getRequestUrlWithAdditionalSegment("messages") + "/" + id, getClient(), null); - } - public IMailFolderCollectionRequestBuilder mailFolders() { - return new MailFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("mailFolders"), getClient(), null); - } - - public IMailFolderRequestBuilder mailFolders(final String id) { - return new MailFolderRequestBuilder(getRequestUrlWithAdditionalSegment("mailFolders") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Calendar - * - * @return the ICalendarRequestBuilder instance - */ - public ICalendarRequestBuilder calendar() { - return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendar"), getClient(), null); - } - public ICalendarCollectionRequestBuilder calendars() { - return new CalendarCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendars"), getClient(), null); - } - - public ICalendarRequestBuilder calendars(final String id) { - return new CalendarRequestBuilder(getRequestUrlWithAdditionalSegment("calendars") + "/" + id, getClient(), null); - } - public ICalendarGroupCollectionRequestBuilder calendarGroups() { - return new CalendarGroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarGroups"), getClient(), null); - } - - public ICalendarGroupRequestBuilder calendarGroups(final String id) { - return new CalendarGroupRequestBuilder(getRequestUrlWithAdditionalSegment("calendarGroups") + "/" + id, getClient(), null); - } - public IEventCollectionRequestBuilder calendarView() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView"), getClient(), null); - } - - public IEventRequestBuilder calendarView(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("calendarView") + "/" + id, getClient(), null); - } - public IEventCollectionRequestBuilder events() { - return new EventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("events"), getClient(), null); - } - - public IEventRequestBuilder events(final String id) { - return new EventRequestBuilder(getRequestUrlWithAdditionalSegment("events") + "/" + id, getClient(), null); - } - public IPersonCollectionRequestBuilder people() { - return new PersonCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("people"), getClient(), null); - } - - public IPersonRequestBuilder people(final String id) { - return new PersonRequestBuilder(getRequestUrlWithAdditionalSegment("people") + "/" + id, getClient(), null); - } - public IContactCollectionRequestBuilder contacts() { - return new ContactCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contacts"), getClient(), null); - } - - public IContactRequestBuilder contacts(final String id) { - return new ContactRequestBuilder(getRequestUrlWithAdditionalSegment("contacts") + "/" + id, getClient(), null); - } - public IContactFolderCollectionRequestBuilder contactFolders() { - return new ContactFolderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("contactFolders"), getClient(), null); - } - - public IContactFolderRequestBuilder contactFolders(final String id) { - return new ContactFolderRequestBuilder(getRequestUrlWithAdditionalSegment("contactFolders") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for InferenceClassification - * - * @return the IInferenceClassificationRequestBuilder instance - */ - public IInferenceClassificationRequestBuilder inferenceClassification() { - return new InferenceClassificationRequestBuilder(getRequestUrlWithAdditionalSegment("inferenceClassification"), getClient(), null); - } - - /** - * Gets the request builder for ProfilePhoto - * - * @return the IProfilePhotoRequestBuilder instance - */ - public IProfilePhotoRequestBuilder photo() { - return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photo"), getClient(), null); - } - public IProfilePhotoCollectionRequestBuilder photos() { - return new ProfilePhotoCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("photos"), getClient(), null); - } - - public IProfilePhotoRequestBuilder photos(final String id) { - return new ProfilePhotoRequestBuilder(getRequestUrlWithAdditionalSegment("photos") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - public IDriveRequestBuilder drive() { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drive"), getClient(), null); - } - public IDriveCollectionRequestBuilder drives() { - return new DriveCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("drives"), getClient(), null); - } - - public IDriveRequestBuilder drives(final String id) { - return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for PlannerUser - * - * @return the IPlannerUserRequestBuilder instance - */ - public IPlannerUserRequestBuilder planner() { - return new PlannerUserRequestBuilder(getRequestUrlWithAdditionalSegment("planner"), getClient(), null); - } - - /** - * Gets the request builder for Onenote - * - * @return the IOnenoteRequestBuilder instance - */ - public IOnenoteRequestBuilder onenote() { - return new OnenoteRequestBuilder(getRequestUrlWithAdditionalSegment("onenote"), getClient(), null); - } - public IManagedDeviceCollectionRequestBuilder managedDevices() { - return new ManagedDeviceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices"), getClient(), null); - } - - public IManagedDeviceRequestBuilder managedDevices(final String id) { - return new ManagedDeviceRequestBuilder(getRequestUrlWithAdditionalSegment("managedDevices") + "/" + id, getClient(), null); - } - public IManagedAppRegistrationCollectionWithReferencesRequestBuilder managedAppRegistrations() { - return new ManagedAppRegistrationCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations"), getClient(), null); - } - - public IManagedAppRegistrationWithReferenceRequestBuilder managedAppRegistrations(final String id) { - return new ManagedAppRegistrationWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("managedAppRegistrations") + "/" + id, getClient(), null); - } - public IDeviceManagementTroubleshootingEventCollectionRequestBuilder deviceManagementTroubleshootingEvents() { - return new DeviceManagementTroubleshootingEventCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementTroubleshootingEvents"), getClient(), null); - } - - public IDeviceManagementTroubleshootingEventRequestBuilder deviceManagementTroubleshootingEvents(final String id) { - return new DeviceManagementTroubleshootingEventRequestBuilder(getRequestUrlWithAdditionalSegment("deviceManagementTroubleshootingEvents") + "/" + id, getClient(), null); - } - public IUserActivityCollectionRequestBuilder activities() { - return new UserActivityCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("activities"), getClient(), null); - } - - public IUserActivityRequestBuilder activities(final String id) { - return new UserActivityRequestBuilder(getRequestUrlWithAdditionalSegment("activities") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for OfficeGraphInsights - * - * @return the IOfficeGraphInsightsRequestBuilder instance - */ - public IOfficeGraphInsightsRequestBuilder insights() { - return new OfficeGraphInsightsRequestBuilder(getRequestUrlWithAdditionalSegment("insights"), getClient(), null); - } - - /** - * Gets the request builder for UserSettings - * - * @return the IUserSettingsRequestBuilder instance - */ - public IUserSettingsRequestBuilder settings() { - return new UserSettingsRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null); - } - public IGroupCollectionRequestBuilder joinedTeams() { - return new GroupCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("joinedTeams"), getClient(), null); - } - - public IGroupRequestBuilder joinedTeams(final String id) { - return new GroupRequestBuilder(getRequestUrlWithAdditionalSegment("joinedTeams") + "/" + id, getClient(), null); - } - - public IUserAssignLicenseRequestBuilder assignLicense(final java.util.List addLicenses, final java.util.List removeLicenses) { - return new UserAssignLicenseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assignLicense"), getClient(), null, addLicenses, removeLicenses); - } - - public IUserChangePasswordRequestBuilder changePassword(final String currentPassword, final String newPassword) { - return new UserChangePasswordRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.changePassword"), getClient(), null, currentPassword, newPassword); - } - - public IUserSendMailRequestBuilder sendMail(final Message message, final Boolean saveToSentItems) { - return new UserSendMailRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sendMail"), getClient(), null, message, saveToSentItems); - } - - public IUserFindMeetingTimesRequestBuilder findMeetingTimes(final java.util.List attendees, final LocationConstraint locationConstraint, final TimeConstraint timeConstraint, final javax.xml.datatype.Duration meetingDuration, final Integer maxCandidates, final Boolean isOrganizerOptional, final Boolean returnSuggestionReasons, final Double minimumAttendeePercentage) { - return new UserFindMeetingTimesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.findMeetingTimes"), getClient(), null, attendees, locationConstraint, timeConstraint, meetingDuration, maxCandidates, isOrganizerOptional, returnSuggestionReasons, minimumAttendeePercentage); - } - - public IUserGetMailTipsCollectionRequestBuilder getMailTips(final java.util.List emailAddresses, final EnumSet mailTipsOptions) { - return new UserGetMailTipsCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getMailTips"), getClient(), null, emailAddresses, mailTipsOptions); - } - - public IUserRemoveAllDevicesFromManagementRequestBuilder removeAllDevicesFromManagement() { - return new UserRemoveAllDevicesFromManagementRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.removeAllDevicesFromManagement"), getClient(), null); - } - - public IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder wipeManagedAppRegistrationsByDeviceTag(final String deviceTag) { - return new UserWipeManagedAppRegistrationsByDeviceTagRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.wipeManagedAppRegistrationsByDeviceTag"), getClient(), null, deviceTag); - } - - public IUserExportPersonalDataRequestBuilder exportPersonalData(final String storageLocation) { - return new UserExportPersonalDataRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.exportPersonalData"), getClient(), null, storageLocation); - } - - public IUserReminderViewCollectionRequestBuilder reminderView(final String startDateTime, final String endDateTime) { - return new UserReminderViewCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reminderView"), getClient(), null, startDateTime, endDateTime); - } - - public IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder getManagedAppDiagnosticStatuses() { - return new UserGetManagedAppDiagnosticStatusesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getManagedAppDiagnosticStatuses"), getClient(), null); - } - - public IUserGetManagedAppPoliciesCollectionRequestBuilder getManagedAppPolicies() { - return new UserGetManagedAppPoliciesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getManagedAppPolicies"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequest.java deleted file mode 100644 index 0229bc961db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserSendMailBody; -import com.microsoft.graph.requests.extensions.IUserSendMailRequest; -import com.microsoft.graph.requests.extensions.UserSendMailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Send Mail Request. - */ -public class BaseUserSendMailRequest extends BaseRequest implements IBaseUserSendMailRequest { - protected final UserSendMailBody body; - - /** - * The request for this UserSendMail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserSendMailRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new UserSendMailBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserSendMailRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserSendMailRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserSendMailRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (UserSendMailRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserSendMailRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserSendMailRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequestBuilder.java deleted file mode 100644 index 123df70b091..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSendMailRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserSendMailRequest; -import com.microsoft.graph.requests.extensions.UserSendMailRequest; -import com.microsoft.graph.models.extensions.Message; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Send Mail Request Builder. - */ -public class BaseUserSendMailRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserSendMail - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param message the message - * @param saveToSentItems the saveToSentItems - */ - public BaseUserSendMailRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Message message, final Boolean saveToSentItems) { - super(requestUrl, client, requestOptions); - bodyParams.put("message", message); - bodyParams.put("saveToSentItems", saveToSentItems); - } - - /** - * Creates the IUserSendMailRequest - * - * @return the IUserSendMailRequest instance - */ - public IUserSendMailRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserSendMailRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserSendMailRequest instance - */ - public IUserSendMailRequest buildRequest(final java.util.List requestOptions) { - UserSendMailRequest request = new UserSendMailRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("message")) { - request.body.message = getParameter("message"); - } - - if (hasParameter("saveToSentItems")) { - request.body.saveToSentItems = getParameter("saveToSentItems"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequest.java deleted file mode 100644 index c5dd1ec51fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserSettingsRequest; -import com.microsoft.graph.requests.extensions.UserSettingsRequest; -import com.microsoft.graph.models.extensions.UserSettings; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Settings Request. - */ -public class BaseUserSettingsRequest extends BaseRequest implements IBaseUserSettingsRequest { - - /** - * The request for the UserSettings - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseUserSettingsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the UserSettings from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the UserSettings from the service - * - * @return the UserSettings from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserSettings get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this UserSettings with a source - * - * @param sourceUserSettings the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final UserSettings sourceUserSettings, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUserSettings); - } - - /** - * Patches this UserSettings with a source - * - * @param sourceUserSettings the source object with updates - * @return the updated UserSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserSettings patch(final UserSettings sourceUserSettings) throws ClientException { - return send(HttpMethod.PATCH, sourceUserSettings); - } - - /** - * Creates a UserSettings with a new object - * - * @param newUserSettings the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final UserSettings newUserSettings, final ICallback callback) { - send(HttpMethod.POST, callback, newUserSettings); - } - - /** - * Creates a UserSettings with a new object - * - * @param newUserSettings the new object to create - * @return the created UserSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public UserSettings post(final UserSettings newUserSettings) throws ClientException { - return send(HttpMethod.POST, newUserSettings); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserSettingsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserSettingsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserSettingsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserSettingsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequestBuilder.java deleted file mode 100644 index d6ef0274456..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserSettingsRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserSettingsRequest; -import com.microsoft.graph.requests.extensions.UserSettingsRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Settings Request Builder. - */ -public class BaseUserSettingsRequestBuilder extends BaseRequestBuilder implements IBaseUserSettingsRequestBuilder { - - /** - * The request builder for the UserSettings - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserSettingsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUserSettingsRequest instance - */ - public IUserSettingsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IUserSettingsRequest instance - */ - public IUserSettingsRequest buildRequest(final java.util.List requestOptions) { - return new UserSettingsRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java deleted file mode 100644 index ec682ffa9a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserWipeManagedAppRegistrationsByDeviceTagBody; -import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; -import com.microsoft.graph.requests.extensions.UserWipeManagedAppRegistrationsByDeviceTagRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Wipe Managed App Registrations By Device Tag Request. - */ -public class BaseUserWipeManagedAppRegistrationsByDeviceTagRequest extends BaseRequest implements IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest { - protected final UserWipeManagedAppRegistrationsByDeviceTagBody body; - - /** - * The request for this UserWipeManagedAppRegistrationsByDeviceTag - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserWipeManagedAppRegistrationsByDeviceTagRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new UserWipeManagedAppRegistrationsByDeviceTagBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserWipeManagedAppRegistrationsByDeviceTagRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (UserWipeManagedAppRegistrationsByDeviceTagRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IUserWipeManagedAppRegistrationsByDeviceTagRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (UserWipeManagedAppRegistrationsByDeviceTagRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserWipeManagedAppRegistrationsByDeviceTagRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserWipeManagedAppRegistrationsByDeviceTagRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java deleted file mode 100644 index 02a434c0b08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; -import com.microsoft.graph.requests.extensions.UserWipeManagedAppRegistrationsByDeviceTagRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User Wipe Managed App Registrations By Device Tag Request Builder. - */ -public class BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this UserWipeManagedAppRegistrationsByDeviceTag - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param deviceTag the deviceTag - */ - public BaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String deviceTag) { - super(requestUrl, client, requestOptions); - bodyParams.put("deviceTag", deviceTag); - } - - /** - * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest - * - * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance - */ - public IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance - */ - public IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest(final java.util.List requestOptions) { - UserWipeManagedAppRegistrationsByDeviceTagRequest request = new UserWipeManagedAppRegistrationsByDeviceTagRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("deviceTag")) { - request.body.deviceTag = getParameter("deviceTag"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequest.java deleted file mode 100644 index 01500c0455f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User With Reference Request. - */ -public class BaseUserWithReferenceRequest extends BaseRequest implements IBaseUserWithReferenceRequest { - - /** - * The request for the User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserWithReferenceRequest(String requestUrl, IBaseClient client, java.util.List requestOptions) { - super(requestUrl, client, requestOptions, User.class); - } - - public void post(final User newUser, final IJsonBackedObject payload, final ICallback callback) { - send(HttpMethod.POST, callback, payload); - } - - public User post(final User newUser, final IJsonBackedObject payload) throws ClientException { - IJsonBackedObject response = send(HttpMethod.POST, payload); - if (response != null){ - return newUser; - } - return null; - } - - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - public User get() throws ClientException { - return send(HttpMethod.GET, null); - } - - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - public void patch(final User sourceUser, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceUser); - } - - public User patch(final User sourceUser) throws ClientException { - return send(HttpMethod.PATCH, sourceUser); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IUserWithReferenceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (IUserWithReferenceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IUserWithReferenceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (UserWithReferenceRequest)this; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequestBuilder.java deleted file mode 100644 index 8af25ea9d0f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseUserWithReferenceRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base User With Reference Request Builder. - */ -public class BaseUserWithReferenceRequestBuilder extends BaseRequestBuilder implements IBaseUserWithReferenceRequestBuilder { - - /** - * The request builder for the User - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseUserWithReferenceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IUserWithReferenceRequest instance - */ - public IUserWithReferenceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserWithReferenceRequest instance - */ - public IUserWithReferenceRequest buildRequest(final java.util.List requestOptions) { - return new UserWithReferenceRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IUserReferenceRequestBuilder reference(){ - return new UserReferenceRequestBuilder(getRequestUrl() + "/$ref", getClient(), getOptions()); - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionPage.java deleted file mode 100644 index f726f96e237..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.VppToken; -import com.microsoft.graph.requests.extensions.IVppTokenCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Collection Page. - */ -public class BaseVppTokenCollectionPage extends BaseCollectionPage implements IBaseVppTokenCollectionPage { - - /** - * A collection page for VppToken - * - * @param response the serialized BaseVppTokenCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseVppTokenCollectionPage(final BaseVppTokenCollectionResponse response, final IVppTokenCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequest.java deleted file mode 100644 index 8090850d9ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Collection Request. - */ -public class BaseVppTokenCollectionRequest extends BaseCollectionRequest implements IBaseVppTokenCollectionRequest { - - /** - * The request builder for this collection of VppToken - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseVppTokenCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseVppTokenCollectionResponse.class, IVppTokenCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IVppTokenCollectionPage get() throws ClientException { - final BaseVppTokenCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final VppToken newVppToken, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new VppTokenRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newVppToken, callback); - } - - public VppToken post(final VppToken newVppToken) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new VppTokenRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newVppToken); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IVppTokenCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (VppTokenCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IVppTokenCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (VppTokenCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IVppTokenCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (VppTokenCollectionRequest)this; - } - - public IVppTokenCollectionPage buildFromResponse(final BaseVppTokenCollectionResponse response) { - final IVppTokenCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new VppTokenCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final VppTokenCollectionPage page = new VppTokenCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequestBuilder.java deleted file mode 100644 index 346bca89887..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Collection Request Builder. - */ -public class BaseVppTokenCollectionRequestBuilder extends BaseRequestBuilder implements IBaseVppTokenCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseVppTokenCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IVppTokenCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IVppTokenCollectionRequest buildRequest(final java.util.List requestOptions) { - return new VppTokenCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IVppTokenRequestBuilder byId(final String id) { - return new VppTokenRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionResponse.java deleted file mode 100644 index d9ae86b5e3a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.VppToken; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Collection Response. - */ -public class BaseVppTokenCollectionResponse implements IJsonBackedObject { - - /** - * The list of VppToken within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequest.java deleted file mode 100644 index b895266125f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IVppTokenRequest; -import com.microsoft.graph.requests.extensions.VppTokenRequest; -import com.microsoft.graph.models.extensions.VppToken; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Request. - */ -public class BaseVppTokenRequest extends BaseRequest implements IBaseVppTokenRequest { - - /** - * The request for the VppToken - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseVppTokenRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the VppToken from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the VppToken from the service - * - * @return the VppToken from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public VppToken get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this VppToken with a source - * - * @param sourceVppToken the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final VppToken sourceVppToken, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceVppToken); - } - - /** - * Patches this VppToken with a source - * - * @param sourceVppToken the source object with updates - * @return the updated VppToken - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public VppToken patch(final VppToken sourceVppToken) throws ClientException { - return send(HttpMethod.PATCH, sourceVppToken); - } - - /** - * Creates a VppToken with a new object - * - * @param newVppToken the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final VppToken newVppToken, final ICallback callback) { - send(HttpMethod.POST, callback, newVppToken); - } - - /** - * Creates a VppToken with a new object - * - * @param newVppToken the new object to create - * @return the created VppToken - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public VppToken post(final VppToken newVppToken) throws ClientException { - return send(HttpMethod.POST, newVppToken); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IVppTokenRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (VppTokenRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IVppTokenRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (VppTokenRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequestBuilder.java deleted file mode 100644 index 9eb4bc8c718..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IVppTokenRequest; -import com.microsoft.graph.requests.extensions.VppTokenRequest; -import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequestBuilder; -import com.microsoft.graph.requests.extensions.VppTokenSyncLicensesRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Request Builder. - */ -public class BaseVppTokenRequestBuilder extends BaseRequestBuilder implements IBaseVppTokenRequestBuilder { - - /** - * The request builder for the VppToken - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseVppTokenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IVppTokenRequest instance - */ - public IVppTokenRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IVppTokenRequest instance - */ - public IVppTokenRequest buildRequest(final java.util.List requestOptions) { - return new VppTokenRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IVppTokenSyncLicensesRequestBuilder syncLicenses() { - return new VppTokenSyncLicensesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syncLicenses"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequest.java deleted file mode 100644 index d3956c8e5bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.VppToken; -import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; -import com.microsoft.graph.requests.extensions.VppTokenSyncLicensesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Sync Licenses Request. - */ -public class BaseVppTokenSyncLicensesRequest extends BaseRequest implements IBaseVppTokenSyncLicensesRequest { - - /** - * The request for this VppTokenSyncLicenses - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseVppTokenSyncLicensesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, VppToken.class); - } - - /** - * Creates the VppTokenSyncLicenses - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the VppTokenSyncLicenses - * - * @return the VppToken - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public VppToken post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IVppTokenSyncLicensesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (VppTokenSyncLicensesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IVppTokenSyncLicensesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (VppTokenSyncLicensesRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequestBuilder.java deleted file mode 100644 index 489bc806044..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseVppTokenSyncLicensesRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; -import com.microsoft.graph.requests.extensions.VppTokenSyncLicensesRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Vpp Token Sync Licenses Request Builder. - */ -public class BaseVppTokenSyncLicensesRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this VppTokenSyncLicenses - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseVppTokenSyncLicensesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IVppTokenSyncLicensesRequest - * - * @return the IVppTokenSyncLicensesRequest instance - */ - public IVppTokenSyncLicensesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IVppTokenSyncLicensesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IVppTokenSyncLicensesRequest instance - */ - public IVppTokenSyncLicensesRequest buildRequest(final java.util.List requestOptions) { - VppTokenSyncLicensesRequest request = new VppTokenSyncLicensesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequest.java deleted file mode 100644 index 431f59fb02a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWebAppRequest; -import com.microsoft.graph.requests.extensions.WebAppRequest; -import com.microsoft.graph.models.extensions.WebApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Web App Request. - */ -public class BaseWebAppRequest extends BaseRequest implements IBaseWebAppRequest { - - /** - * The request for the WebApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWebAppRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WebApp from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WebApp from the service - * - * @return the WebApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WebApp get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WebApp with a source - * - * @param sourceWebApp the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WebApp sourceWebApp, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWebApp); - } - - /** - * Patches this WebApp with a source - * - * @param sourceWebApp the source object with updates - * @return the updated WebApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WebApp patch(final WebApp sourceWebApp) throws ClientException { - return send(HttpMethod.PATCH, sourceWebApp); - } - - /** - * Creates a WebApp with a new object - * - * @param newWebApp the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WebApp newWebApp, final ICallback callback) { - send(HttpMethod.POST, callback, newWebApp); - } - - /** - * Creates a WebApp with a new object - * - * @param newWebApp the new object to create - * @return the created WebApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WebApp post(final WebApp newWebApp) throws ClientException { - return send(HttpMethod.POST, newWebApp); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWebAppRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WebAppRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWebAppRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WebAppRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequestBuilder.java deleted file mode 100644 index 7fddaccabe7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWebAppRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWebAppRequest; -import com.microsoft.graph.requests.extensions.WebAppRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Web App Request Builder. - */ -public class BaseWebAppRequestBuilder extends BaseRequestBuilder implements IBaseWebAppRequestBuilder { - - /** - * The request builder for the WebApp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWebAppRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWebAppRequest instance - */ - public IWebAppRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWebAppRequest instance - */ - public IWebAppRequest buildRequest(final java.util.List requestOptions) { - return new WebAppRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequest.java deleted file mode 100644 index c30318a2d2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10CompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.Windows10CompliancePolicyRequest; -import com.microsoft.graph.models.extensions.Windows10CompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Compliance Policy Request. - */ -public class BaseWindows10CompliancePolicyRequest extends BaseRequest implements IBaseWindows10CompliancePolicyRequest { - - /** - * The request for the Windows10CompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10CompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10CompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10CompliancePolicy from the service - * - * @return the Windows10CompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10CompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10CompliancePolicy with a source - * - * @param sourceWindows10CompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10CompliancePolicy); - } - - /** - * Patches this Windows10CompliancePolicy with a source - * - * @param sourceWindows10CompliancePolicy the source object with updates - * @return the updated Windows10CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10CompliancePolicy patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10CompliancePolicy); - } - - /** - * Creates a Windows10CompliancePolicy with a new object - * - * @param newWindows10CompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10CompliancePolicy newWindows10CompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10CompliancePolicy); - } - - /** - * Creates a Windows10CompliancePolicy with a new object - * - * @param newWindows10CompliancePolicy the new object to create - * @return the created Windows10CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10CompliancePolicy post(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newWindows10CompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10CompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10CompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10CompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10CompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequestBuilder.java deleted file mode 100644 index e193423564f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10CompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.Windows10CompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Compliance Policy Request Builder. - */ -public class BaseWindows10CompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseWindows10CompliancePolicyRequestBuilder { - - /** - * The request builder for the Windows10CompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10CompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10CompliancePolicyRequest instance - */ - public IWindows10CompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10CompliancePolicyRequest instance - */ - public IWindows10CompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new Windows10CompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequest.java deleted file mode 100644 index 68044a2a5c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10CustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10CustomConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows10CustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Custom Configuration Request. - */ -public class BaseWindows10CustomConfigurationRequest extends BaseRequest implements IBaseWindows10CustomConfigurationRequest { - - /** - * The request for the Windows10CustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10CustomConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10CustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10CustomConfiguration from the service - * - * @return the Windows10CustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10CustomConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10CustomConfiguration with a source - * - * @param sourceWindows10CustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10CustomConfiguration); - } - - /** - * Patches this Windows10CustomConfiguration with a source - * - * @param sourceWindows10CustomConfiguration the source object with updates - * @return the updated Windows10CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10CustomConfiguration patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10CustomConfiguration); - } - - /** - * Creates a Windows10CustomConfiguration with a new object - * - * @param newWindows10CustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10CustomConfiguration newWindows10CustomConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10CustomConfiguration); - } - - /** - * Creates a Windows10CustomConfiguration with a new object - * - * @param newWindows10CustomConfiguration the new object to create - * @return the created Windows10CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10CustomConfiguration post(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows10CustomConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10CustomConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10CustomConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10CustomConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10CustomConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequestBuilder.java deleted file mode 100644 index 012273dd705..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10CustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10CustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10CustomConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Custom Configuration Request Builder. - */ -public class BaseWindows10CustomConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows10CustomConfigurationRequestBuilder { - - /** - * The request builder for the Windows10CustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10CustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10CustomConfigurationRequest instance - */ - public IWindows10CustomConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10CustomConfigurationRequest instance - */ - public IWindows10CustomConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows10CustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequest.java deleted file mode 100644 index b13ca692f97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10EndpointProtectionConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10EndpointProtectionConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows10EndpointProtectionConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Endpoint Protection Configuration Request. - */ -public class BaseWindows10EndpointProtectionConfigurationRequest extends BaseRequest implements IBaseWindows10EndpointProtectionConfigurationRequest { - - /** - * The request for the Windows10EndpointProtectionConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10EndpointProtectionConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10EndpointProtectionConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10EndpointProtectionConfiguration from the service - * - * @return the Windows10EndpointProtectionConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10EndpointProtectionConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10EndpointProtectionConfiguration with a source - * - * @param sourceWindows10EndpointProtectionConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10EndpointProtectionConfiguration); - } - - /** - * Patches this Windows10EndpointProtectionConfiguration with a source - * - * @param sourceWindows10EndpointProtectionConfiguration the source object with updates - * @return the updated Windows10EndpointProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10EndpointProtectionConfiguration patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10EndpointProtectionConfiguration); - } - - /** - * Creates a Windows10EndpointProtectionConfiguration with a new object - * - * @param newWindows10EndpointProtectionConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10EndpointProtectionConfiguration); - } - - /** - * Creates a Windows10EndpointProtectionConfiguration with a new object - * - * @param newWindows10EndpointProtectionConfiguration the new object to create - * @return the created Windows10EndpointProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10EndpointProtectionConfiguration post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows10EndpointProtectionConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10EndpointProtectionConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10EndpointProtectionConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10EndpointProtectionConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10EndpointProtectionConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequestBuilder.java deleted file mode 100644 index b8611f1f05c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EndpointProtectionConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10EndpointProtectionConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10EndpointProtectionConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Endpoint Protection Configuration Request Builder. - */ -public class BaseWindows10EndpointProtectionConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows10EndpointProtectionConfigurationRequestBuilder { - - /** - * The request builder for the Windows10EndpointProtectionConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10EndpointProtectionConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10EndpointProtectionConfigurationRequest instance - */ - public IWindows10EndpointProtectionConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10EndpointProtectionConfigurationRequest instance - */ - public IWindows10EndpointProtectionConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows10EndpointProtectionConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequest.java deleted file mode 100644 index 4e3f3822762..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10EnterpriseModernAppManagementConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10EnterpriseModernAppManagementConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows10EnterpriseModernAppManagementConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Enterprise Modern App Management Configuration Request. - */ -public class BaseWindows10EnterpriseModernAppManagementConfigurationRequest extends BaseRequest implements IBaseWindows10EnterpriseModernAppManagementConfigurationRequest { - - /** - * The request for the Windows10EnterpriseModernAppManagementConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10EnterpriseModernAppManagementConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service - * - * @return the Windows10EnterpriseModernAppManagementConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10EnterpriseModernAppManagementConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source - * - * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10EnterpriseModernAppManagementConfiguration); - } - - /** - * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source - * - * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates - * @return the updated Windows10EnterpriseModernAppManagementConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10EnterpriseModernAppManagementConfiguration patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10EnterpriseModernAppManagementConfiguration); - } - - /** - * Creates a Windows10EnterpriseModernAppManagementConfiguration with a new object - * - * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10EnterpriseModernAppManagementConfiguration); - } - - /** - * Creates a Windows10EnterpriseModernAppManagementConfiguration with a new object - * - * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create - * @return the created Windows10EnterpriseModernAppManagementConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10EnterpriseModernAppManagementConfiguration post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows10EnterpriseModernAppManagementConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10EnterpriseModernAppManagementConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10EnterpriseModernAppManagementConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10EnterpriseModernAppManagementConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10EnterpriseModernAppManagementConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java deleted file mode 100644 index c26265a401f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10EnterpriseModernAppManagementConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10EnterpriseModernAppManagementConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Enterprise Modern App Management Configuration Request Builder. - */ -public class BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder { - - /** - * The request builder for the Windows10EnterpriseModernAppManagementConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance - */ - public IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance - */ - public IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows10EnterpriseModernAppManagementConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequest.java deleted file mode 100644 index e914703a4ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10GeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10GeneralConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows10GeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10General Configuration Request. - */ -public class BaseWindows10GeneralConfigurationRequest extends BaseRequest implements IBaseWindows10GeneralConfigurationRequest { - - /** - * The request for the Windows10GeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10GeneralConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10GeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10GeneralConfiguration from the service - * - * @return the Windows10GeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10GeneralConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10GeneralConfiguration with a source - * - * @param sourceWindows10GeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10GeneralConfiguration); - } - - /** - * Patches this Windows10GeneralConfiguration with a source - * - * @param sourceWindows10GeneralConfiguration the source object with updates - * @return the updated Windows10GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10GeneralConfiguration patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10GeneralConfiguration); - } - - /** - * Creates a Windows10GeneralConfiguration with a new object - * - * @param newWindows10GeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10GeneralConfiguration); - } - - /** - * Creates a Windows10GeneralConfiguration with a new object - * - * @param newWindows10GeneralConfiguration the new object to create - * @return the created Windows10GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10GeneralConfiguration post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows10GeneralConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10GeneralConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10GeneralConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10GeneralConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10GeneralConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequestBuilder.java deleted file mode 100644 index ac995ba886f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10GeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10GeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10GeneralConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10General Configuration Request Builder. - */ -public class BaseWindows10GeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows10GeneralConfigurationRequestBuilder { - - /** - * The request builder for the Windows10GeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10GeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10GeneralConfigurationRequest instance - */ - public IWindows10GeneralConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10GeneralConfigurationRequest instance - */ - public IWindows10GeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows10GeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequest.java deleted file mode 100644 index 061035ba9d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10MobileCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.Windows10MobileCompliancePolicyRequest; -import com.microsoft.graph.models.extensions.Windows10MobileCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Mobile Compliance Policy Request. - */ -public class BaseWindows10MobileCompliancePolicyRequest extends BaseRequest implements IBaseWindows10MobileCompliancePolicyRequest { - - /** - * The request for the Windows10MobileCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10MobileCompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10MobileCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10MobileCompliancePolicy from the service - * - * @return the Windows10MobileCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10MobileCompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10MobileCompliancePolicy with a source - * - * @param sourceWindows10MobileCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10MobileCompliancePolicy); - } - - /** - * Patches this Windows10MobileCompliancePolicy with a source - * - * @param sourceWindows10MobileCompliancePolicy the source object with updates - * @return the updated Windows10MobileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10MobileCompliancePolicy patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10MobileCompliancePolicy); - } - - /** - * Creates a Windows10MobileCompliancePolicy with a new object - * - * @param newWindows10MobileCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10MobileCompliancePolicy); - } - - /** - * Creates a Windows10MobileCompliancePolicy with a new object - * - * @param newWindows10MobileCompliancePolicy the new object to create - * @return the created Windows10MobileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10MobileCompliancePolicy post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newWindows10MobileCompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10MobileCompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10MobileCompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10MobileCompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10MobileCompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequestBuilder.java deleted file mode 100644 index 64e07e61b28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10MobileCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10MobileCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.Windows10MobileCompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Mobile Compliance Policy Request Builder. - */ -public class BaseWindows10MobileCompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseWindows10MobileCompliancePolicyRequestBuilder { - - /** - * The request builder for the Windows10MobileCompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10MobileCompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10MobileCompliancePolicyRequest instance - */ - public IWindows10MobileCompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10MobileCompliancePolicyRequest instance - */ - public IWindows10MobileCompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new Windows10MobileCompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequest.java deleted file mode 100644 index f0fcd9fe130..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10SecureAssessmentConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10SecureAssessmentConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows10SecureAssessmentConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Secure Assessment Configuration Request. - */ -public class BaseWindows10SecureAssessmentConfigurationRequest extends BaseRequest implements IBaseWindows10SecureAssessmentConfigurationRequest { - - /** - * The request for the Windows10SecureAssessmentConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10SecureAssessmentConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10SecureAssessmentConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10SecureAssessmentConfiguration from the service - * - * @return the Windows10SecureAssessmentConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10SecureAssessmentConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10SecureAssessmentConfiguration with a source - * - * @param sourceWindows10SecureAssessmentConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10SecureAssessmentConfiguration); - } - - /** - * Patches this Windows10SecureAssessmentConfiguration with a source - * - * @param sourceWindows10SecureAssessmentConfiguration the source object with updates - * @return the updated Windows10SecureAssessmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10SecureAssessmentConfiguration patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10SecureAssessmentConfiguration); - } - - /** - * Creates a Windows10SecureAssessmentConfiguration with a new object - * - * @param newWindows10SecureAssessmentConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10SecureAssessmentConfiguration); - } - - /** - * Creates a Windows10SecureAssessmentConfiguration with a new object - * - * @param newWindows10SecureAssessmentConfiguration the new object to create - * @return the created Windows10SecureAssessmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10SecureAssessmentConfiguration post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows10SecureAssessmentConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10SecureAssessmentConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10SecureAssessmentConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10SecureAssessmentConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10SecureAssessmentConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequestBuilder.java deleted file mode 100644 index 27614cfd7ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10SecureAssessmentConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10SecureAssessmentConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10SecureAssessmentConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Secure Assessment Configuration Request Builder. - */ -public class BaseWindows10SecureAssessmentConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows10SecureAssessmentConfigurationRequestBuilder { - - /** - * The request builder for the Windows10SecureAssessmentConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10SecureAssessmentConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10SecureAssessmentConfigurationRequest instance - */ - public IWindows10SecureAssessmentConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10SecureAssessmentConfigurationRequest instance - */ - public IWindows10SecureAssessmentConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows10SecureAssessmentConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequest.java deleted file mode 100644 index 4571ea6c562..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10TeamGeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10TeamGeneralConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows10TeamGeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Team General Configuration Request. - */ -public class BaseWindows10TeamGeneralConfigurationRequest extends BaseRequest implements IBaseWindows10TeamGeneralConfigurationRequest { - - /** - * The request for the Windows10TeamGeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows10TeamGeneralConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows10TeamGeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows10TeamGeneralConfiguration from the service - * - * @return the Windows10TeamGeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10TeamGeneralConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows10TeamGeneralConfiguration with a source - * - * @param sourceWindows10TeamGeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows10TeamGeneralConfiguration); - } - - /** - * Patches this Windows10TeamGeneralConfiguration with a source - * - * @param sourceWindows10TeamGeneralConfiguration the source object with updates - * @return the updated Windows10TeamGeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10TeamGeneralConfiguration patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows10TeamGeneralConfiguration); - } - - /** - * Creates a Windows10TeamGeneralConfiguration with a new object - * - * @param newWindows10TeamGeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows10TeamGeneralConfiguration); - } - - /** - * Creates a Windows10TeamGeneralConfiguration with a new object - * - * @param newWindows10TeamGeneralConfiguration the new object to create - * @return the created Windows10TeamGeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows10TeamGeneralConfiguration post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows10TeamGeneralConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows10TeamGeneralConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows10TeamGeneralConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows10TeamGeneralConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows10TeamGeneralConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequestBuilder.java deleted file mode 100644 index b5618426968..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows10TeamGeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10TeamGeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows10TeamGeneralConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows10Team General Configuration Request Builder. - */ -public class BaseWindows10TeamGeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows10TeamGeneralConfigurationRequestBuilder { - - /** - * The request builder for the Windows10TeamGeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows10TeamGeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows10TeamGeneralConfigurationRequest instance - */ - public IWindows10TeamGeneralConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows10TeamGeneralConfigurationRequest instance - */ - public IWindows10TeamGeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows10TeamGeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequest.java deleted file mode 100644 index e451910d145..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows81CompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.Windows81CompliancePolicyRequest; -import com.microsoft.graph.models.extensions.Windows81CompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows81Compliance Policy Request. - */ -public class BaseWindows81CompliancePolicyRequest extends BaseRequest implements IBaseWindows81CompliancePolicyRequest { - - /** - * The request for the Windows81CompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows81CompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows81CompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows81CompliancePolicy from the service - * - * @return the Windows81CompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows81CompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows81CompliancePolicy with a source - * - * @param sourceWindows81CompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows81CompliancePolicy); - } - - /** - * Patches this Windows81CompliancePolicy with a source - * - * @param sourceWindows81CompliancePolicy the source object with updates - * @return the updated Windows81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows81CompliancePolicy patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows81CompliancePolicy); - } - - /** - * Creates a Windows81CompliancePolicy with a new object - * - * @param newWindows81CompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows81CompliancePolicy newWindows81CompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows81CompliancePolicy); - } - - /** - * Creates a Windows81CompliancePolicy with a new object - * - * @param newWindows81CompliancePolicy the new object to create - * @return the created Windows81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows81CompliancePolicy post(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newWindows81CompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows81CompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows81CompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows81CompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows81CompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequestBuilder.java deleted file mode 100644 index 98fe37b487d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81CompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows81CompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.Windows81CompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows81Compliance Policy Request Builder. - */ -public class BaseWindows81CompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseWindows81CompliancePolicyRequestBuilder { - - /** - * The request builder for the Windows81CompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows81CompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows81CompliancePolicyRequest instance - */ - public IWindows81CompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows81CompliancePolicyRequest instance - */ - public IWindows81CompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new Windows81CompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequest.java deleted file mode 100644 index ddecaf41f56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows81GeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows81GeneralConfigurationRequest; -import com.microsoft.graph.models.extensions.Windows81GeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows81General Configuration Request. - */ -public class BaseWindows81GeneralConfigurationRequest extends BaseRequest implements IBaseWindows81GeneralConfigurationRequest { - - /** - * The request for the Windows81GeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindows81GeneralConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Windows81GeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Windows81GeneralConfiguration from the service - * - * @return the Windows81GeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows81GeneralConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Windows81GeneralConfiguration with a source - * - * @param sourceWindows81GeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindows81GeneralConfiguration); - } - - /** - * Patches this Windows81GeneralConfiguration with a source - * - * @param sourceWindows81GeneralConfiguration the source object with updates - * @return the updated Windows81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows81GeneralConfiguration patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindows81GeneralConfiguration); - } - - /** - * Creates a Windows81GeneralConfiguration with a new object - * - * @param newWindows81GeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindows81GeneralConfiguration); - } - - /** - * Creates a Windows81GeneralConfiguration with a new object - * - * @param newWindows81GeneralConfiguration the new object to create - * @return the created Windows81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Windows81GeneralConfiguration post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindows81GeneralConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindows81GeneralConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (Windows81GeneralConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindows81GeneralConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (Windows81GeneralConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequestBuilder.java deleted file mode 100644 index 3532b03e241..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindows81GeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows81GeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.Windows81GeneralConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows81General Configuration Request Builder. - */ -public class BaseWindows81GeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindows81GeneralConfigurationRequestBuilder { - - /** - * The request builder for the Windows81GeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindows81GeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindows81GeneralConfigurationRequest instance - */ - public IWindows81GeneralConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindows81GeneralConfigurationRequest instance - */ - public IWindows81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new Windows81GeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java deleted file mode 100644 index 7f69532177b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsDefenderAdvancedThreatProtectionConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsDefenderAdvancedThreatProtectionConfigurationRequest; -import com.microsoft.graph.models.extensions.WindowsDefenderAdvancedThreatProtectionConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Defender Advanced Threat Protection Configuration Request. - */ -public class BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest extends BaseRequest implements IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest { - - /** - * The request for the WindowsDefenderAdvancedThreatProtectionConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service - * - * @return the WindowsDefenderAdvancedThreatProtectionConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsDefenderAdvancedThreatProtectionConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source - * - * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsDefenderAdvancedThreatProtectionConfiguration); - } - - /** - * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source - * - * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates - * @return the updated WindowsDefenderAdvancedThreatProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsDefenderAdvancedThreatProtectionConfiguration patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsDefenderAdvancedThreatProtectionConfiguration); - } - - /** - * Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object - * - * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsDefenderAdvancedThreatProtectionConfiguration); - } - - /** - * Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object - * - * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create - * @return the created WindowsDefenderAdvancedThreatProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsDefenderAdvancedThreatProtectionConfiguration post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindowsDefenderAdvancedThreatProtectionConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsDefenderAdvancedThreatProtectionConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsDefenderAdvancedThreatProtectionConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java deleted file mode 100644 index 554cd8729e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsDefenderAdvancedThreatProtectionConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsDefenderAdvancedThreatProtectionConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Defender Advanced Threat Protection Configuration Request Builder. - */ -public class BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder { - - /** - * The request builder for the WindowsDefenderAdvancedThreatProtectionConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance - */ - public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance - */ - public IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new WindowsDefenderAdvancedThreatProtectionConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java deleted file mode 100644 index 1a14f887466..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary Collection Page. - */ -public class BaseWindowsInformationProtectionAppLearningSummaryCollectionPage extends BaseCollectionPage implements IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage { - - /** - * A collection page for WindowsInformationProtectionAppLearningSummary - * - * @param response the serialized BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWindowsInformationProtectionAppLearningSummaryCollectionPage(final BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse response, final IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java deleted file mode 100644 index 6ea572eb332..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary Collection Request. - */ -public class BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest extends BaseCollectionRequest implements IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest { - - /** - * The request builder for this collection of WindowsInformationProtectionAppLearningSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAppLearningSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse.class, IWindowsInformationProtectionAppLearningSummaryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWindowsInformationProtectionAppLearningSummaryCollectionPage get() throws ClientException { - final BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WindowsInformationProtectionAppLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionAppLearningSummary, callback); - } - - public WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WindowsInformationProtectionAppLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionAppLearningSummary); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLearningSummaryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WindowsInformationProtectionAppLearningSummaryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLearningSummaryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WindowsInformationProtectionAppLearningSummaryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWindowsInformationProtectionAppLearningSummaryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WindowsInformationProtectionAppLearningSummaryCollectionRequest)this; - } - - public IWindowsInformationProtectionAppLearningSummaryCollectionPage buildFromResponse(final BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse response) { - final IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WindowsInformationProtectionAppLearningSummaryCollectionPage page = new WindowsInformationProtectionAppLearningSummaryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java deleted file mode 100644 index 4ac03786b31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary Collection Request Builder. - */ -public class BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionAppLearningSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWindowsInformationProtectionAppLearningSummaryRequestBuilder byId(final String id) { - return new WindowsInformationProtectionAppLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse.java deleted file mode 100644 index a37d4305ab6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary Collection Response. - */ -public class BaseWindowsInformationProtectionAppLearningSummaryCollectionResponse implements IJsonBackedObject { - - /** - * The list of WindowsInformationProtectionAppLearningSummary within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequest.java deleted file mode 100644 index 3886a45a42e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryRequest; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary Request. - */ -public class BaseWindowsInformationProtectionAppLearningSummaryRequest extends BaseRequest implements IBaseWindowsInformationProtectionAppLearningSummaryRequest { - - /** - * The request for the WindowsInformationProtectionAppLearningSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsInformationProtectionAppLearningSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsInformationProtectionAppLearningSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsInformationProtectionAppLearningSummary from the service - * - * @return the WindowsInformationProtectionAppLearningSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionAppLearningSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsInformationProtectionAppLearningSummary with a source - * - * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionAppLearningSummary); - } - - /** - * Patches this WindowsInformationProtectionAppLearningSummary with a source - * - * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates - * @return the updated WindowsInformationProtectionAppLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionAppLearningSummary patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsInformationProtectionAppLearningSummary); - } - - /** - * Creates a WindowsInformationProtectionAppLearningSummary with a new object - * - * @param newWindowsInformationProtectionAppLearningSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsInformationProtectionAppLearningSummary); - } - - /** - * Creates a WindowsInformationProtectionAppLearningSummary with a new object - * - * @param newWindowsInformationProtectionAppLearningSummary the new object to create - * @return the created WindowsInformationProtectionAppLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException { - return send(HttpMethod.POST, newWindowsInformationProtectionAppLearningSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLearningSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsInformationProtectionAppLearningSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLearningSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsInformationProtectionAppLearningSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java deleted file mode 100644 index 131c969c3d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Learning Summary Request Builder. - */ -public class BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder { - - /** - * The request builder for the WindowsInformationProtectionAppLearningSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAppLearningSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance - */ - public IWindowsInformationProtectionAppLearningSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance - */ - public IWindowsInformationProtectionAppLearningSummaryRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionAppLearningSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionPage.java deleted file mode 100644 index 3347e68a3b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File Collection Page. - */ -public class BaseWindowsInformationProtectionAppLockerFileCollectionPage extends BaseCollectionPage implements IBaseWindowsInformationProtectionAppLockerFileCollectionPage { - - /** - * A collection page for WindowsInformationProtectionAppLockerFile - * - * @param response the serialized BaseWindowsInformationProtectionAppLockerFileCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWindowsInformationProtectionAppLockerFileCollectionPage(final BaseWindowsInformationProtectionAppLockerFileCollectionResponse response, final IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequest.java deleted file mode 100644 index b8a1e8c74b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File Collection Request. - */ -public class BaseWindowsInformationProtectionAppLockerFileCollectionRequest extends BaseCollectionRequest implements IBaseWindowsInformationProtectionAppLockerFileCollectionRequest { - - /** - * The request builder for this collection of WindowsInformationProtectionAppLockerFile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAppLockerFileCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWindowsInformationProtectionAppLockerFileCollectionResponse.class, IWindowsInformationProtectionAppLockerFileCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWindowsInformationProtectionAppLockerFileCollectionPage get() throws ClientException { - final BaseWindowsInformationProtectionAppLockerFileCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WindowsInformationProtectionAppLockerFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionAppLockerFile, callback); - } - - public WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WindowsInformationProtectionAppLockerFileRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionAppLockerFile); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLockerFileCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WindowsInformationProtectionAppLockerFileCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLockerFileCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WindowsInformationProtectionAppLockerFileCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWindowsInformationProtectionAppLockerFileCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WindowsInformationProtectionAppLockerFileCollectionRequest)this; - } - - public IWindowsInformationProtectionAppLockerFileCollectionPage buildFromResponse(final BaseWindowsInformationProtectionAppLockerFileCollectionResponse response) { - final IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WindowsInformationProtectionAppLockerFileCollectionPage page = new WindowsInformationProtectionAppLockerFileCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java deleted file mode 100644 index 4a7a60fd2cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File Collection Request Builder. - */ -public class BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder { - - /** - * The request builder for this collection of WindowsInformationProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionAppLockerFileCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWindowsInformationProtectionAppLockerFileRequestBuilder byId(final String id) { - return new WindowsInformationProtectionAppLockerFileRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionResponse.java deleted file mode 100644 index 4918bb04d69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File Collection Response. - */ -public class BaseWindowsInformationProtectionAppLockerFileCollectionResponse implements IJsonBackedObject { - - /** - * The list of WindowsInformationProtectionAppLockerFile within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequest.java deleted file mode 100644 index 035e9e45d57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequest; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File Request. - */ -public class BaseWindowsInformationProtectionAppLockerFileRequest extends BaseRequest implements IBaseWindowsInformationProtectionAppLockerFileRequest { - - /** - * The request for the WindowsInformationProtectionAppLockerFile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsInformationProtectionAppLockerFileRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsInformationProtectionAppLockerFile from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsInformationProtectionAppLockerFile from the service - * - * @return the WindowsInformationProtectionAppLockerFile from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionAppLockerFile get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsInformationProtectionAppLockerFile with a source - * - * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionAppLockerFile); - } - - /** - * Patches this WindowsInformationProtectionAppLockerFile with a source - * - * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates - * @return the updated WindowsInformationProtectionAppLockerFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionAppLockerFile patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsInformationProtectionAppLockerFile); - } - - /** - * Creates a WindowsInformationProtectionAppLockerFile with a new object - * - * @param newWindowsInformationProtectionAppLockerFile the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsInformationProtectionAppLockerFile); - } - - /** - * Creates a WindowsInformationProtectionAppLockerFile with a new object - * - * @param newWindowsInformationProtectionAppLockerFile the new object to create - * @return the created WindowsInformationProtectionAppLockerFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException { - return send(HttpMethod.POST, newWindowsInformationProtectionAppLockerFile); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLockerFileRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsInformationProtectionAppLockerFileRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionAppLockerFileRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsInformationProtectionAppLockerFileRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequestBuilder.java deleted file mode 100644 index 69bce600664..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAppLockerFileRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection App Locker File Request Builder. - */ -public class BaseWindowsInformationProtectionAppLockerFileRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionAppLockerFileRequestBuilder { - - /** - * The request builder for the WindowsInformationProtectionAppLockerFile - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAppLockerFileRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsInformationProtectionAppLockerFileRequest instance - */ - public IWindowsInformationProtectionAppLockerFileRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionAppLockerFileRequest instance - */ - public IWindowsInformationProtectionAppLockerFileRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionAppLockerFileRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequest.java deleted file mode 100644 index 361ae6fc19d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAssignBody; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Assign Request. - */ -public class BaseWindowsInformationProtectionAssignRequest extends BaseRequest implements IBaseWindowsInformationProtectionAssignRequest { - protected final WindowsInformationProtectionAssignBody body; - - /** - * The request for this WindowsInformationProtectionAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionAssignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WindowsInformationProtectionAssignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionAssignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsInformationProtectionAssignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWindowsInformationProtectionAssignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WindowsInformationProtectionAssignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionAssignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsInformationProtectionAssignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequestBuilder.java deleted file mode 100644 index 3c4ebcef663..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionAssignRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAssignRequest; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Assign Request Builder. - */ -public class BaseWindowsInformationProtectionAssignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WindowsInformationProtectionAssign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param assignments the assignments - */ - public BaseWindowsInformationProtectionAssignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List assignments) { - super(requestUrl, client, requestOptions); - bodyParams.put("assignments", assignments); - } - - /** - * Creates the IWindowsInformationProtectionAssignRequest - * - * @return the IWindowsInformationProtectionAssignRequest instance - */ - public IWindowsInformationProtectionAssignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWindowsInformationProtectionAssignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWindowsInformationProtectionAssignRequest instance - */ - public IWindowsInformationProtectionAssignRequest buildRequest(final java.util.List requestOptions) { - WindowsInformationProtectionAssignRequest request = new WindowsInformationProtectionAssignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("assignments")) { - request.body.assignments = getParameter("assignments"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java deleted file mode 100644 index 401452d3503..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary Collection Page. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage extends BaseCollectionPage implements IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage { - - /** - * A collection page for WindowsInformationProtectionNetworkLearningSummary - * - * @param response the serialized BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage(final BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse response, final IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java deleted file mode 100644 index 978333e6c48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary Collection Request. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest extends BaseCollectionRequest implements IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest { - - /** - * The request builder for this collection of WindowsInformationProtectionNetworkLearningSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse.class, IWindowsInformationProtectionNetworkLearningSummaryCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWindowsInformationProtectionNetworkLearningSummaryCollectionPage get() throws ClientException { - final BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionNetworkLearningSummary, callback); - } - - public WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionNetworkLearningSummary); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WindowsInformationProtectionNetworkLearningSummaryCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WindowsInformationProtectionNetworkLearningSummaryCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WindowsInformationProtectionNetworkLearningSummaryCollectionRequest)this; - } - - public IWindowsInformationProtectionNetworkLearningSummaryCollectionPage buildFromResponse(final BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse response) { - final IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WindowsInformationProtectionNetworkLearningSummaryCollectionPage page = new WindowsInformationProtectionNetworkLearningSummaryCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java deleted file mode 100644 index 4df516d8a0b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary Collection Request Builder. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionNetworkLearningSummaryCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder byId(final String id) { - return new WindowsInformationProtectionNetworkLearningSummaryRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java deleted file mode 100644 index fb0473f5eae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary Collection Response. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummaryCollectionResponse implements IJsonBackedObject { - - /** - * The list of WindowsInformationProtectionNetworkLearningSummary within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequest.java deleted file mode 100644 index b9db86c7d33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryRequest; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary Request. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummaryRequest extends BaseRequest implements IBaseWindowsInformationProtectionNetworkLearningSummaryRequest { - - /** - * The request for the WindowsInformationProtectionNetworkLearningSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsInformationProtectionNetworkLearningSummaryRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsInformationProtectionNetworkLearningSummary from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsInformationProtectionNetworkLearningSummary from the service - * - * @return the WindowsInformationProtectionNetworkLearningSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionNetworkLearningSummary get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsInformationProtectionNetworkLearningSummary with a source - * - * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionNetworkLearningSummary); - } - - /** - * Patches this WindowsInformationProtectionNetworkLearningSummary with a source - * - * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates - * @return the updated WindowsInformationProtectionNetworkLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionNetworkLearningSummary patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsInformationProtectionNetworkLearningSummary); - } - - /** - * Creates a WindowsInformationProtectionNetworkLearningSummary with a new object - * - * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsInformationProtectionNetworkLearningSummary); - } - - /** - * Creates a WindowsInformationProtectionNetworkLearningSummary with a new object - * - * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create - * @return the created WindowsInformationProtectionNetworkLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException { - return send(HttpMethod.POST, newWindowsInformationProtectionNetworkLearningSummary); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionNetworkLearningSummaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsInformationProtectionNetworkLearningSummaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionNetworkLearningSummaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsInformationProtectionNetworkLearningSummaryRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java deleted file mode 100644 index ff35d214648..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Network Learning Summary Request Builder. - */ -public class BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder { - - /** - * The request builder for the WindowsInformationProtectionNetworkLearningSummary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance - */ - public IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance - */ - public IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionNetworkLearningSummaryRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionPage.java deleted file mode 100644 index 11427a0fbfa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy Collection Page. - */ -public class BaseWindowsInformationProtectionPolicyCollectionPage extends BaseCollectionPage implements IBaseWindowsInformationProtectionPolicyCollectionPage { - - /** - * A collection page for WindowsInformationProtectionPolicy - * - * @param response the serialized BaseWindowsInformationProtectionPolicyCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWindowsInformationProtectionPolicyCollectionPage(final BaseWindowsInformationProtectionPolicyCollectionResponse response, final IWindowsInformationProtectionPolicyCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequest.java deleted file mode 100644 index 9e91037f408..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy Collection Request. - */ -public class BaseWindowsInformationProtectionPolicyCollectionRequest extends BaseCollectionRequest implements IBaseWindowsInformationProtectionPolicyCollectionRequest { - - /** - * The request builder for this collection of WindowsInformationProtectionPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionPolicyCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWindowsInformationProtectionPolicyCollectionResponse.class, IWindowsInformationProtectionPolicyCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWindowsInformationProtectionPolicyCollectionPage get() throws ClientException { - final BaseWindowsInformationProtectionPolicyCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionPolicy, callback); - } - - public WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WindowsInformationProtectionPolicyRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWindowsInformationProtectionPolicy); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionPolicyCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WindowsInformationProtectionPolicyCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionPolicyCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WindowsInformationProtectionPolicyCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWindowsInformationProtectionPolicyCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WindowsInformationProtectionPolicyCollectionRequest)this; - } - - public IWindowsInformationProtectionPolicyCollectionPage buildFromResponse(final BaseWindowsInformationProtectionPolicyCollectionResponse response) { - final IWindowsInformationProtectionPolicyCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WindowsInformationProtectionPolicyCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WindowsInformationProtectionPolicyCollectionPage page = new WindowsInformationProtectionPolicyCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java deleted file mode 100644 index fad5019c954..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy Collection Request Builder. - */ -public class BaseWindowsInformationProtectionPolicyCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder { - - /** - * The request builder for this collection of DeviceAppManagement - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionPolicyCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWindowsInformationProtectionPolicyCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionPolicyCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWindowsInformationProtectionPolicyRequestBuilder byId(final String id) { - return new WindowsInformationProtectionPolicyRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionResponse.java deleted file mode 100644 index ba82466a555..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy Collection Response. - */ -public class BaseWindowsInformationProtectionPolicyCollectionResponse implements IJsonBackedObject { - - /** - * The list of WindowsInformationProtectionPolicy within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequest.java deleted file mode 100644 index eb32192f483..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy Request. - */ -public class BaseWindowsInformationProtectionPolicyRequest extends BaseRequest implements IBaseWindowsInformationProtectionPolicyRequest { - - /** - * The request for the WindowsInformationProtectionPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsInformationProtectionPolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsInformationProtectionPolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsInformationProtectionPolicy from the service - * - * @return the WindowsInformationProtectionPolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionPolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsInformationProtectionPolicy with a source - * - * @param sourceWindowsInformationProtectionPolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsInformationProtectionPolicy); - } - - /** - * Patches this WindowsInformationProtectionPolicy with a source - * - * @param sourceWindowsInformationProtectionPolicy the source object with updates - * @return the updated WindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionPolicy patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsInformationProtectionPolicy); - } - - /** - * Creates a WindowsInformationProtectionPolicy with a new object - * - * @param newWindowsInformationProtectionPolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsInformationProtectionPolicy); - } - - /** - * Creates a WindowsInformationProtectionPolicy with a new object - * - * @param newWindowsInformationProtectionPolicy the new object to create - * @return the created WindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException { - return send(HttpMethod.POST, newWindowsInformationProtectionPolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionPolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsInformationProtectionPolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionPolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsInformationProtectionPolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequestBuilder.java deleted file mode 100644 index bbaacbcaefb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionPolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Policy Request Builder. - */ -public class BaseWindowsInformationProtectionPolicyRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionPolicyRequestBuilder { - - /** - * The request builder for the WindowsInformationProtectionPolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionPolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsInformationProtectionPolicyRequest instance - */ - public IWindowsInformationProtectionPolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionPolicyRequest instance - */ - public IWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionPolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequest.java deleted file mode 100644 index 7c38a2c4c4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionRequest; -import com.microsoft.graph.models.extensions.WindowsInformationProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Request. - */ -public class BaseWindowsInformationProtectionRequest extends BaseRequest implements IBaseWindowsInformationProtectionRequest { - - /** - * The request for the WindowsInformationProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsInformationProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsInformationProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsInformationProtection from the service - * - * @return the WindowsInformationProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsInformationProtection with a source - * - * @param sourceWindowsInformationProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsInformationProtection sourceWindowsInformationProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsInformationProtection); - } - - /** - * Patches this WindowsInformationProtection with a source - * - * @param sourceWindowsInformationProtection the source object with updates - * @return the updated WindowsInformationProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtection patch(final WindowsInformationProtection sourceWindowsInformationProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsInformationProtection); - } - - /** - * Creates a WindowsInformationProtection with a new object - * - * @param newWindowsInformationProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsInformationProtection newWindowsInformationProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsInformationProtection); - } - - /** - * Creates a WindowsInformationProtection with a new object - * - * @param newWindowsInformationProtection the new object to create - * @return the created WindowsInformationProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsInformationProtection post(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException { - return send(HttpMethod.POST, newWindowsInformationProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsInformationProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsInformationProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsInformationProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsInformationProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequestBuilder.java deleted file mode 100644 index 91712c630ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsInformationProtectionRequestBuilder.java +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionRequest; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionRequest; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLockerFileRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.TargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequestBuilder; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAssignRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Information Protection Request Builder. - */ -public class BaseWindowsInformationProtectionRequestBuilder extends BaseRequestBuilder implements IBaseWindowsInformationProtectionRequestBuilder { - - /** - * The request builder for the WindowsInformationProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsInformationProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsInformationProtectionRequest instance - */ - public IWindowsInformationProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionRequest instance - */ - public IWindowsInformationProtectionRequest buildRequest(final java.util.List requestOptions) { - return new WindowsInformationProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder protectedAppLockerFiles() { - return new WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("protectedAppLockerFiles"), getClient(), null); - } - - public IWindowsInformationProtectionAppLockerFileRequestBuilder protectedAppLockerFiles(final String id) { - return new WindowsInformationProtectionAppLockerFileRequestBuilder(getRequestUrlWithAdditionalSegment("protectedAppLockerFiles") + "/" + id, getClient(), null); - } - public IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder exemptAppLockerFiles() { - return new WindowsInformationProtectionAppLockerFileCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("exemptAppLockerFiles"), getClient(), null); - } - - public IWindowsInformationProtectionAppLockerFileRequestBuilder exemptAppLockerFiles(final String id) { - return new WindowsInformationProtectionAppLockerFileRequestBuilder(getRequestUrlWithAdditionalSegment("exemptAppLockerFiles") + "/" + id, getClient(), null); - } - public ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments() { - return new TargetedManagedAppPolicyAssignmentCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("assignments"), getClient(), null); - } - - public ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id) { - return new TargetedManagedAppPolicyAssignmentRequestBuilder(getRequestUrlWithAdditionalSegment("assignments") + "/" + id, getClient(), null); - } - - public IWindowsInformationProtectionAssignRequestBuilder assign(final java.util.List assignments) { - return new WindowsInformationProtectionAssignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, assignments); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequest.java deleted file mode 100644 index de60307e3dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsMobileMSIRequest; -import com.microsoft.graph.requests.extensions.WindowsMobileMSIRequest; -import com.microsoft.graph.models.extensions.WindowsMobileMSI; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Mobile MSIRequest. - */ -public class BaseWindowsMobileMSIRequest extends BaseRequest implements IBaseWindowsMobileMSIRequest { - - /** - * The request for the WindowsMobileMSI - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsMobileMSIRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsMobileMSI from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsMobileMSI from the service - * - * @return the WindowsMobileMSI from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsMobileMSI get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsMobileMSI with a source - * - * @param sourceWindowsMobileMSI the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsMobileMSI sourceWindowsMobileMSI, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsMobileMSI); - } - - /** - * Patches this WindowsMobileMSI with a source - * - * @param sourceWindowsMobileMSI the source object with updates - * @return the updated WindowsMobileMSI - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsMobileMSI patch(final WindowsMobileMSI sourceWindowsMobileMSI) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsMobileMSI); - } - - /** - * Creates a WindowsMobileMSI with a new object - * - * @param newWindowsMobileMSI the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsMobileMSI newWindowsMobileMSI, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsMobileMSI); - } - - /** - * Creates a WindowsMobileMSI with a new object - * - * @param newWindowsMobileMSI the new object to create - * @return the created WindowsMobileMSI - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsMobileMSI post(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException { - return send(HttpMethod.POST, newWindowsMobileMSI); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsMobileMSIRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsMobileMSIRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsMobileMSIRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsMobileMSIRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequestBuilder.java deleted file mode 100644 index a79cba612c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsMobileMSIRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsMobileMSIRequest; -import com.microsoft.graph.requests.extensions.WindowsMobileMSIRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Mobile MSIRequest Builder. - */ -public class BaseWindowsMobileMSIRequestBuilder extends BaseRequestBuilder implements IBaseWindowsMobileMSIRequestBuilder { - - /** - * The request builder for the WindowsMobileMSI - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsMobileMSIRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsMobileMSIRequest instance - */ - public IWindowsMobileMSIRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsMobileMSIRequest instance - */ - public IWindowsMobileMSIRequest buildRequest(final java.util.List requestOptions) { - return new WindowsMobileMSIRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequest.java deleted file mode 100644 index 85c7c9cd512..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81CompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.WindowsPhone81CompliancePolicyRequest; -import com.microsoft.graph.models.extensions.WindowsPhone81CompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81Compliance Policy Request. - */ -public class BaseWindowsPhone81CompliancePolicyRequest extends BaseRequest implements IBaseWindowsPhone81CompliancePolicyRequest { - - /** - * The request for the WindowsPhone81CompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsPhone81CompliancePolicyRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsPhone81CompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsPhone81CompliancePolicy from the service - * - * @return the WindowsPhone81CompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81CompliancePolicy get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsPhone81CompliancePolicy with a source - * - * @param sourceWindowsPhone81CompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsPhone81CompliancePolicy); - } - - /** - * Patches this WindowsPhone81CompliancePolicy with a source - * - * @param sourceWindowsPhone81CompliancePolicy the source object with updates - * @return the updated WindowsPhone81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81CompliancePolicy patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsPhone81CompliancePolicy); - } - - /** - * Creates a WindowsPhone81CompliancePolicy with a new object - * - * @param newWindowsPhone81CompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsPhone81CompliancePolicy); - } - - /** - * Creates a WindowsPhone81CompliancePolicy with a new object - * - * @param newWindowsPhone81CompliancePolicy the new object to create - * @return the created WindowsPhone81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81CompliancePolicy post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException { - return send(HttpMethod.POST, newWindowsPhone81CompliancePolicy); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsPhone81CompliancePolicyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsPhone81CompliancePolicyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsPhone81CompliancePolicyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsPhone81CompliancePolicyRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequestBuilder.java deleted file mode 100644 index 0ddd7fd9884..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81CompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.WindowsPhone81CompliancePolicyRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81Compliance Policy Request Builder. - */ -public class BaseWindowsPhone81CompliancePolicyRequestBuilder extends BaseRequestBuilder implements IBaseWindowsPhone81CompliancePolicyRequestBuilder { - - /** - * The request builder for the WindowsPhone81CompliancePolicy - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsPhone81CompliancePolicyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsPhone81CompliancePolicyRequest instance - */ - public IWindowsPhone81CompliancePolicyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsPhone81CompliancePolicyRequest instance - */ - public IWindowsPhone81CompliancePolicyRequest buildRequest(final java.util.List requestOptions) { - return new WindowsPhone81CompliancePolicyRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequest.java deleted file mode 100644 index 40afe78a679..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81CustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsPhone81CustomConfigurationRequest; -import com.microsoft.graph.models.extensions.WindowsPhone81CustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81Custom Configuration Request. - */ -public class BaseWindowsPhone81CustomConfigurationRequest extends BaseRequest implements IBaseWindowsPhone81CustomConfigurationRequest { - - /** - * The request for the WindowsPhone81CustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsPhone81CustomConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsPhone81CustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsPhone81CustomConfiguration from the service - * - * @return the WindowsPhone81CustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81CustomConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsPhone81CustomConfiguration with a source - * - * @param sourceWindowsPhone81CustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsPhone81CustomConfiguration); - } - - /** - * Patches this WindowsPhone81CustomConfiguration with a source - * - * @param sourceWindowsPhone81CustomConfiguration the source object with updates - * @return the updated WindowsPhone81CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81CustomConfiguration patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsPhone81CustomConfiguration); - } - - /** - * Creates a WindowsPhone81CustomConfiguration with a new object - * - * @param newWindowsPhone81CustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsPhone81CustomConfiguration); - } - - /** - * Creates a WindowsPhone81CustomConfiguration with a new object - * - * @param newWindowsPhone81CustomConfiguration the new object to create - * @return the created WindowsPhone81CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81CustomConfiguration post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindowsPhone81CustomConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsPhone81CustomConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsPhone81CustomConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsPhone81CustomConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsPhone81CustomConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequestBuilder.java deleted file mode 100644 index d7103905b74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81CustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81CustomConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsPhone81CustomConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81Custom Configuration Request Builder. - */ -public class BaseWindowsPhone81CustomConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindowsPhone81CustomConfigurationRequestBuilder { - - /** - * The request builder for the WindowsPhone81CustomConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsPhone81CustomConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsPhone81CustomConfigurationRequest instance - */ - public IWindowsPhone81CustomConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsPhone81CustomConfigurationRequest instance - */ - public IWindowsPhone81CustomConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new WindowsPhone81CustomConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequest.java deleted file mode 100644 index bf272f38382..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81GeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsPhone81GeneralConfigurationRequest; -import com.microsoft.graph.models.extensions.WindowsPhone81GeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81General Configuration Request. - */ -public class BaseWindowsPhone81GeneralConfigurationRequest extends BaseRequest implements IBaseWindowsPhone81GeneralConfigurationRequest { - - /** - * The request for the WindowsPhone81GeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsPhone81GeneralConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsPhone81GeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsPhone81GeneralConfiguration from the service - * - * @return the WindowsPhone81GeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81GeneralConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsPhone81GeneralConfiguration with a source - * - * @param sourceWindowsPhone81GeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsPhone81GeneralConfiguration); - } - - /** - * Patches this WindowsPhone81GeneralConfiguration with a source - * - * @param sourceWindowsPhone81GeneralConfiguration the source object with updates - * @return the updated WindowsPhone81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81GeneralConfiguration patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsPhone81GeneralConfiguration); - } - - /** - * Creates a WindowsPhone81GeneralConfiguration with a new object - * - * @param newWindowsPhone81GeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsPhone81GeneralConfiguration); - } - - /** - * Creates a WindowsPhone81GeneralConfiguration with a new object - * - * @param newWindowsPhone81GeneralConfiguration the new object to create - * @return the created WindowsPhone81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsPhone81GeneralConfiguration post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindowsPhone81GeneralConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsPhone81GeneralConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsPhone81GeneralConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsPhone81GeneralConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsPhone81GeneralConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequestBuilder.java deleted file mode 100644 index bf1022616b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsPhone81GeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81GeneralConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsPhone81GeneralConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Phone81General Configuration Request Builder. - */ -public class BaseWindowsPhone81GeneralConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindowsPhone81GeneralConfigurationRequestBuilder { - - /** - * The request builder for the WindowsPhone81GeneralConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsPhone81GeneralConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsPhone81GeneralConfigurationRequest instance - */ - public IWindowsPhone81GeneralConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsPhone81GeneralConfigurationRequest instance - */ - public IWindowsPhone81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new WindowsPhone81GeneralConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequest.java deleted file mode 100644 index f55691fab51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsUniversalAppXRequest; -import com.microsoft.graph.requests.extensions.WindowsUniversalAppXRequest; -import com.microsoft.graph.models.extensions.WindowsUniversalAppX; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Universal App XRequest. - */ -public class BaseWindowsUniversalAppXRequest extends BaseRequest implements IBaseWindowsUniversalAppXRequest { - - /** - * The request for the WindowsUniversalAppX - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsUniversalAppXRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsUniversalAppX from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsUniversalAppX from the service - * - * @return the WindowsUniversalAppX from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsUniversalAppX get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsUniversalAppX with a source - * - * @param sourceWindowsUniversalAppX the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsUniversalAppX sourceWindowsUniversalAppX, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsUniversalAppX); - } - - /** - * Patches this WindowsUniversalAppX with a source - * - * @param sourceWindowsUniversalAppX the source object with updates - * @return the updated WindowsUniversalAppX - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsUniversalAppX patch(final WindowsUniversalAppX sourceWindowsUniversalAppX) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsUniversalAppX); - } - - /** - * Creates a WindowsUniversalAppX with a new object - * - * @param newWindowsUniversalAppX the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsUniversalAppX newWindowsUniversalAppX, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsUniversalAppX); - } - - /** - * Creates a WindowsUniversalAppX with a new object - * - * @param newWindowsUniversalAppX the new object to create - * @return the created WindowsUniversalAppX - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsUniversalAppX post(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException { - return send(HttpMethod.POST, newWindowsUniversalAppX); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsUniversalAppXRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsUniversalAppXRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsUniversalAppXRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsUniversalAppXRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequestBuilder.java deleted file mode 100644 index 3237a837faf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUniversalAppXRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsUniversalAppXRequest; -import com.microsoft.graph.requests.extensions.WindowsUniversalAppXRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Universal App XRequest Builder. - */ -public class BaseWindowsUniversalAppXRequestBuilder extends BaseRequestBuilder implements IBaseWindowsUniversalAppXRequestBuilder { - - /** - * The request builder for the WindowsUniversalAppX - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsUniversalAppXRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsUniversalAppXRequest instance - */ - public IWindowsUniversalAppXRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsUniversalAppXRequest instance - */ - public IWindowsUniversalAppXRequest buildRequest(final java.util.List requestOptions) { - return new WindowsUniversalAppXRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequest.java deleted file mode 100644 index efb669716e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsUpdateForBusinessConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsUpdateForBusinessConfigurationRequest; -import com.microsoft.graph.models.extensions.WindowsUpdateForBusinessConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Update For Business Configuration Request. - */ -public class BaseWindowsUpdateForBusinessConfigurationRequest extends BaseRequest implements IBaseWindowsUpdateForBusinessConfigurationRequest { - - /** - * The request for the WindowsUpdateForBusinessConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWindowsUpdateForBusinessConfigurationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WindowsUpdateForBusinessConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WindowsUpdateForBusinessConfiguration from the service - * - * @return the WindowsUpdateForBusinessConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsUpdateForBusinessConfiguration get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WindowsUpdateForBusinessConfiguration with a source - * - * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWindowsUpdateForBusinessConfiguration); - } - - /** - * Patches this WindowsUpdateForBusinessConfiguration with a source - * - * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates - * @return the updated WindowsUpdateForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsUpdateForBusinessConfiguration patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration) throws ClientException { - return send(HttpMethod.PATCH, sourceWindowsUpdateForBusinessConfiguration); - } - - /** - * Creates a WindowsUpdateForBusinessConfiguration with a new object - * - * @param newWindowsUpdateForBusinessConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration, final ICallback callback) { - send(HttpMethod.POST, callback, newWindowsUpdateForBusinessConfiguration); - } - - /** - * Creates a WindowsUpdateForBusinessConfiguration with a new object - * - * @param newWindowsUpdateForBusinessConfiguration the new object to create - * @return the created WindowsUpdateForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WindowsUpdateForBusinessConfiguration post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException { - return send(HttpMethod.POST, newWindowsUpdateForBusinessConfiguration); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWindowsUpdateForBusinessConfigurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WindowsUpdateForBusinessConfigurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWindowsUpdateForBusinessConfigurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WindowsUpdateForBusinessConfigurationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequestBuilder.java deleted file mode 100644 index e57a6b9e1b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWindowsUpdateForBusinessConfigurationRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsUpdateForBusinessConfigurationRequest; -import com.microsoft.graph.requests.extensions.WindowsUpdateForBusinessConfigurationRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Windows Update For Business Configuration Request Builder. - */ -public class BaseWindowsUpdateForBusinessConfigurationRequestBuilder extends BaseRequestBuilder implements IBaseWindowsUpdateForBusinessConfigurationRequestBuilder { - - /** - * The request builder for the WindowsUpdateForBusinessConfiguration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWindowsUpdateForBusinessConfigurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWindowsUpdateForBusinessConfigurationRequest instance - */ - public IWindowsUpdateForBusinessConfigurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWindowsUpdateForBusinessConfigurationRequest instance - */ - public IWindowsUpdateForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions) { - return new WindowsUpdateForBusinessConfigurationRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequest.java deleted file mode 100644 index 680fe9eaa37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookApplicationCalculateBody; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; -import com.microsoft.graph.requests.extensions.WorkbookApplicationCalculateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Application Calculate Request. - */ -public class BaseWorkbookApplicationCalculateRequest extends BaseRequest implements IBaseWorkbookApplicationCalculateRequest { - protected final WorkbookApplicationCalculateBody body; - - /** - * The request for this WorkbookApplicationCalculate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookApplicationCalculateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookApplicationCalculateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookApplicationCalculateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookApplicationCalculateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookApplicationCalculateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookApplicationCalculateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookApplicationCalculateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookApplicationCalculateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequestBuilder.java deleted file mode 100644 index d3d496245b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationCalculateRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; -import com.microsoft.graph.requests.extensions.WorkbookApplicationCalculateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Application Calculate Request Builder. - */ -public class BaseWorkbookApplicationCalculateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookApplicationCalculate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param calculationType the calculationType - */ - public BaseWorkbookApplicationCalculateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String calculationType) { - super(requestUrl, client, requestOptions); - bodyParams.put("calculationType", calculationType); - } - - /** - * Creates the IWorkbookApplicationCalculateRequest - * - * @return the IWorkbookApplicationCalculateRequest instance - */ - public IWorkbookApplicationCalculateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookApplicationCalculateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookApplicationCalculateRequest instance - */ - public IWorkbookApplicationCalculateRequest buildRequest(final java.util.List requestOptions) { - WorkbookApplicationCalculateRequest request = new WorkbookApplicationCalculateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("calculationType")) { - request.body.calculationType = getParameter("calculationType"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequest.java deleted file mode 100644 index 63da0f7f55b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequest; -import com.microsoft.graph.requests.extensions.WorkbookApplicationRequest; -import com.microsoft.graph.models.extensions.WorkbookApplication; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Application Request. - */ -public class BaseWorkbookApplicationRequest extends BaseRequest implements IBaseWorkbookApplicationRequest { - - /** - * The request for the WorkbookApplication - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookApplicationRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookApplication from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookApplication from the service - * - * @return the WorkbookApplication from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookApplication get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookApplication with a source - * - * @param sourceWorkbookApplication the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookApplication sourceWorkbookApplication, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookApplication); - } - - /** - * Patches this WorkbookApplication with a source - * - * @param sourceWorkbookApplication the source object with updates - * @return the updated WorkbookApplication - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookApplication patch(final WorkbookApplication sourceWorkbookApplication) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookApplication); - } - - /** - * Creates a WorkbookApplication with a new object - * - * @param newWorkbookApplication the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookApplication newWorkbookApplication, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookApplication); - } - - /** - * Creates a WorkbookApplication with a new object - * - * @param newWorkbookApplication the new object to create - * @return the created WorkbookApplication - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookApplication post(final WorkbookApplication newWorkbookApplication) throws ClientException { - return send(HttpMethod.POST, newWorkbookApplication); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookApplicationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookApplicationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookApplicationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookApplicationRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequestBuilder.java deleted file mode 100644 index 07a46e52b65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookApplicationRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequest; -import com.microsoft.graph.requests.extensions.WorkbookApplicationRequest; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookApplicationCalculateRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Application Request Builder. - */ -public class BaseWorkbookApplicationRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookApplicationRequestBuilder { - - /** - * The request builder for the WorkbookApplication - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookApplicationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookApplicationRequest instance - */ - public IWorkbookApplicationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookApplicationRequest instance - */ - public IWorkbookApplicationRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookApplicationRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookApplicationCalculateRequestBuilder calculate(final String calculationType) { - return new WorkbookApplicationCalculateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.calculate"), getClient(), null, calculationType); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequest.java deleted file mode 100644 index 513194487a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAddBody; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Add Request. - */ -public class BaseWorkbookChartAddRequest extends BaseRequest implements IBaseWorkbookChartAddRequest { - protected final WorkbookChartAddBody body; - - /** - * The request for this WorkbookChartAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookChart.class); - body = new WorkbookChartAddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookChart post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartAddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookChartAddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequestBuilder.java deleted file mode 100644 index 028cca7ff02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAddRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Add Request Builder. - */ -public class BaseWorkbookChartAddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookChartAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param type the type - * @param sourceData the sourceData - * @param seriesBy the seriesBy - */ - public BaseWorkbookChartAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String type, final com.google.gson.JsonElement sourceData, final String seriesBy) { - super(requestUrl, client, requestOptions); - bodyParams.put("type", type); - bodyParams.put("sourceData", sourceData); - bodyParams.put("seriesBy", seriesBy); - } - - /** - * Creates the IWorkbookChartAddRequest - * - * @return the IWorkbookChartAddRequest instance - */ - public IWorkbookChartAddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartAddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartAddRequest instance - */ - public IWorkbookChartAddRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartAddRequest request = new WorkbookChartAddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - if (hasParameter("sourceData")) { - request.body.sourceData = getParameter("sourceData"); - } - - if (hasParameter("seriesBy")) { - request.body.seriesBy = getParameter("seriesBy"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequest.java deleted file mode 100644 index d03395bf0d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAreaFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Area Format Request. - */ -public class BaseWorkbookChartAreaFormatRequest extends BaseRequest implements IBaseWorkbookChartAreaFormatRequest { - - /** - * The request for the WorkbookChartAreaFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartAreaFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartAreaFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartAreaFormat from the service - * - * @return the WorkbookChartAreaFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAreaFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartAreaFormat with a source - * - * @param sourceWorkbookChartAreaFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartAreaFormat); - } - - /** - * Patches this WorkbookChartAreaFormat with a source - * - * @param sourceWorkbookChartAreaFormat the source object with updates - * @return the updated WorkbookChartAreaFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAreaFormat patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartAreaFormat); - } - - /** - * Creates a WorkbookChartAreaFormat with a new object - * - * @param newWorkbookChartAreaFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartAreaFormat); - } - - /** - * Creates a WorkbookChartAreaFormat with a new object - * - * @param newWorkbookChartAreaFormat the new object to create - * @return the created WorkbookChartAreaFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAreaFormat post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartAreaFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAreaFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAreaFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAreaFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAreaFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequestBuilder.java deleted file mode 100644 index ffaab23b249..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAreaFormatRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAreaFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Area Format Request Builder. - */ -public class BaseWorkbookChartAreaFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartAreaFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartAreaFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAreaFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartAreaFormatRequest instance - */ - public IWorkbookChartAreaFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAreaFormatRequest instance - */ - public IWorkbookChartAreaFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartAreaFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - public IWorkbookChartFillRequestBuilder fill() { - return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - public IWorkbookChartFontRequestBuilder font() { - return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequest.java deleted file mode 100644 index 83871222749..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxesRequest; -import com.microsoft.graph.models.extensions.WorkbookChartAxes; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axes Request. - */ -public class BaseWorkbookChartAxesRequest extends BaseRequest implements IBaseWorkbookChartAxesRequest { - - /** - * The request for the WorkbookChartAxes - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartAxesRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartAxes from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartAxes from the service - * - * @return the WorkbookChartAxes from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxes get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartAxes with a source - * - * @param sourceWorkbookChartAxes the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartAxes sourceWorkbookChartAxes, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartAxes); - } - - /** - * Patches this WorkbookChartAxes with a source - * - * @param sourceWorkbookChartAxes the source object with updates - * @return the updated WorkbookChartAxes - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxes patch(final WorkbookChartAxes sourceWorkbookChartAxes) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartAxes); - } - - /** - * Creates a WorkbookChartAxes with a new object - * - * @param newWorkbookChartAxes the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartAxes newWorkbookChartAxes, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartAxes); - } - - /** - * Creates a WorkbookChartAxes with a new object - * - * @param newWorkbookChartAxes the new object to create - * @return the created WorkbookChartAxes - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxes post(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartAxes); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAxesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAxesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAxesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAxesRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequestBuilder.java deleted file mode 100644 index 9c971b97971..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxesRequestBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxesRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axes Request Builder. - */ -public class BaseWorkbookChartAxesRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartAxesRequestBuilder { - - /** - * The request builder for the WorkbookChartAxes - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAxesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartAxesRequest instance - */ - public IWorkbookChartAxesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxesRequest instance - */ - public IWorkbookChartAxesRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartAxesRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartAxis - * - * @return the IWorkbookChartAxisRequestBuilder instance - */ - public IWorkbookChartAxisRequestBuilder categoryAxis() { - return new WorkbookChartAxisRequestBuilder(getRequestUrlWithAdditionalSegment("categoryAxis"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartAxis - * - * @return the IWorkbookChartAxisRequestBuilder instance - */ - public IWorkbookChartAxisRequestBuilder seriesAxis() { - return new WorkbookChartAxisRequestBuilder(getRequestUrlWithAdditionalSegment("seriesAxis"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartAxis - * - * @return the IWorkbookChartAxisRequestBuilder instance - */ - public IWorkbookChartAxisRequestBuilder valueAxis() { - return new WorkbookChartAxisRequestBuilder(getRequestUrlWithAdditionalSegment("valueAxis"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequest.java deleted file mode 100644 index f8f9f455fbd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Format Request. - */ -public class BaseWorkbookChartAxisFormatRequest extends BaseRequest implements IBaseWorkbookChartAxisFormatRequest { - - /** - * The request for the WorkbookChartAxisFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartAxisFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartAxisFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartAxisFormat from the service - * - * @return the WorkbookChartAxisFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartAxisFormat with a source - * - * @param sourceWorkbookChartAxisFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartAxisFormat); - } - - /** - * Patches this WorkbookChartAxisFormat with a source - * - * @param sourceWorkbookChartAxisFormat the source object with updates - * @return the updated WorkbookChartAxisFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisFormat patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartAxisFormat); - } - - /** - * Creates a WorkbookChartAxisFormat with a new object - * - * @param newWorkbookChartAxisFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartAxisFormat); - } - - /** - * Creates a WorkbookChartAxisFormat with a new object - * - * @param newWorkbookChartAxisFormat the new object to create - * @return the created WorkbookChartAxisFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisFormat post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartAxisFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAxisFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAxisFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAxisFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAxisFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequestBuilder.java deleted file mode 100644 index a5854b0383d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisFormatRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Format Request Builder. - */ -public class BaseWorkbookChartAxisFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartAxisFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartAxisFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAxisFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartAxisFormatRequest instance - */ - public IWorkbookChartAxisFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisFormatRequest instance - */ - public IWorkbookChartAxisFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartAxisFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - public IWorkbookChartFontRequestBuilder font() { - return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartLineFormat - * - * @return the IWorkbookChartLineFormatRequestBuilder instance - */ - public IWorkbookChartLineFormatRequestBuilder line() { - return new WorkbookChartLineFormatRequestBuilder(getRequestUrlWithAdditionalSegment("line"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequest.java deleted file mode 100644 index d424047153c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequest; -import com.microsoft.graph.models.extensions.WorkbookChartAxis; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Request. - */ -public class BaseWorkbookChartAxisRequest extends BaseRequest implements IBaseWorkbookChartAxisRequest { - - /** - * The request for the WorkbookChartAxis - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartAxisRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartAxis from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartAxis from the service - * - * @return the WorkbookChartAxis from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxis get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartAxis with a source - * - * @param sourceWorkbookChartAxis the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartAxis sourceWorkbookChartAxis, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartAxis); - } - - /** - * Patches this WorkbookChartAxis with a source - * - * @param sourceWorkbookChartAxis the source object with updates - * @return the updated WorkbookChartAxis - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxis patch(final WorkbookChartAxis sourceWorkbookChartAxis) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartAxis); - } - - /** - * Creates a WorkbookChartAxis with a new object - * - * @param newWorkbookChartAxis the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartAxis newWorkbookChartAxis, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartAxis); - } - - /** - * Creates a WorkbookChartAxis with a new object - * - * @param newWorkbookChartAxis the new object to create - * @return the created WorkbookChartAxis - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxis post(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartAxis); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAxisRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAxisRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAxisRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAxisRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequestBuilder.java deleted file mode 100644 index 948751052e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisRequestBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Request Builder. - */ -public class BaseWorkbookChartAxisRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartAxisRequestBuilder { - - /** - * The request builder for the WorkbookChartAxis - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAxisRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartAxisRequest instance - */ - public IWorkbookChartAxisRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisRequest instance - */ - public IWorkbookChartAxisRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartAxisRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartAxisFormat - * - * @return the IWorkbookChartAxisFormatRequestBuilder instance - */ - public IWorkbookChartAxisFormatRequestBuilder format() { - return new WorkbookChartAxisFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartGridlines - * - * @return the IWorkbookChartGridlinesRequestBuilder instance - */ - public IWorkbookChartGridlinesRequestBuilder majorGridlines() { - return new WorkbookChartGridlinesRequestBuilder(getRequestUrlWithAdditionalSegment("majorGridlines"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartGridlines - * - * @return the IWorkbookChartGridlinesRequestBuilder instance - */ - public IWorkbookChartGridlinesRequestBuilder minorGridlines() { - return new WorkbookChartGridlinesRequestBuilder(getRequestUrlWithAdditionalSegment("minorGridlines"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartAxisTitle - * - * @return the IWorkbookChartAxisTitleRequestBuilder instance - */ - public IWorkbookChartAxisTitleRequestBuilder title() { - return new WorkbookChartAxisTitleRequestBuilder(getRequestUrlWithAdditionalSegment("title"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequest.java deleted file mode 100644 index 2bd1f2bd759..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Title Format Request. - */ -public class BaseWorkbookChartAxisTitleFormatRequest extends BaseRequest implements IBaseWorkbookChartAxisTitleFormatRequest { - - /** - * The request for the WorkbookChartAxisTitleFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartAxisTitleFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartAxisTitleFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartAxisTitleFormat from the service - * - * @return the WorkbookChartAxisTitleFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisTitleFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartAxisTitleFormat with a source - * - * @param sourceWorkbookChartAxisTitleFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartAxisTitleFormat); - } - - /** - * Patches this WorkbookChartAxisTitleFormat with a source - * - * @param sourceWorkbookChartAxisTitleFormat the source object with updates - * @return the updated WorkbookChartAxisTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisTitleFormat patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartAxisTitleFormat); - } - - /** - * Creates a WorkbookChartAxisTitleFormat with a new object - * - * @param newWorkbookChartAxisTitleFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartAxisTitleFormat); - } - - /** - * Creates a WorkbookChartAxisTitleFormat with a new object - * - * @param newWorkbookChartAxisTitleFormat the new object to create - * @return the created WorkbookChartAxisTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisTitleFormat post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartAxisTitleFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAxisTitleFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAxisTitleFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAxisTitleFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAxisTitleFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequestBuilder.java deleted file mode 100644 index e9162699cc7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleFormatRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Title Format Request Builder. - */ -public class BaseWorkbookChartAxisTitleFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartAxisTitleFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartAxisTitleFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAxisTitleFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartAxisTitleFormatRequest instance - */ - public IWorkbookChartAxisTitleFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisTitleFormatRequest instance - */ - public IWorkbookChartAxisTitleFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartAxisTitleFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - public IWorkbookChartFontRequestBuilder font() { - return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequest.java deleted file mode 100644 index bb466cd62b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleRequest; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Title Request. - */ -public class BaseWorkbookChartAxisTitleRequest extends BaseRequest implements IBaseWorkbookChartAxisTitleRequest { - - /** - * The request for the WorkbookChartAxisTitle - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartAxisTitleRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartAxisTitle from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartAxisTitle from the service - * - * @return the WorkbookChartAxisTitle from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisTitle get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartAxisTitle with a source - * - * @param sourceWorkbookChartAxisTitle the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartAxisTitle); - } - - /** - * Patches this WorkbookChartAxisTitle with a source - * - * @param sourceWorkbookChartAxisTitle the source object with updates - * @return the updated WorkbookChartAxisTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisTitle patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartAxisTitle); - } - - /** - * Creates a WorkbookChartAxisTitle with a new object - * - * @param newWorkbookChartAxisTitle the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartAxisTitle); - } - - /** - * Creates a WorkbookChartAxisTitle with a new object - * - * @param newWorkbookChartAxisTitle the new object to create - * @return the created WorkbookChartAxisTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartAxisTitle post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartAxisTitle); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartAxisTitleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartAxisTitleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartAxisTitleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartAxisTitleRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequestBuilder.java deleted file mode 100644 index 5306cb4c952..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartAxisTitleRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxisTitleFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Axis Title Request Builder. - */ -public class BaseWorkbookChartAxisTitleRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartAxisTitleRequestBuilder { - - /** - * The request builder for the WorkbookChartAxisTitle - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartAxisTitleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartAxisTitleRequest instance - */ - public IWorkbookChartAxisTitleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisTitleRequest instance - */ - public IWorkbookChartAxisTitleRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartAxisTitleRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartAxisTitleFormat - * - * @return the IWorkbookChartAxisTitleFormatRequestBuilder instance - */ - public IWorkbookChartAxisTitleFormatRequestBuilder format() { - return new WorkbookChartAxisTitleFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionPage.java deleted file mode 100644 index 5484bbd3797..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Collection Page. - */ -public class BaseWorkbookChartCollectionPage extends BaseCollectionPage implements IBaseWorkbookChartCollectionPage { - - /** - * A collection page for WorkbookChart - * - * @param response the serialized BaseWorkbookChartCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookChartCollectionPage(final BaseWorkbookChartCollectionResponse response, final IWorkbookChartCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequest.java deleted file mode 100644 index cbf041b4d5c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Collection Request. - */ -public class BaseWorkbookChartCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookChartCollectionRequest { - - /** - * The request builder for this collection of WorkbookChart - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookChartCollectionResponse.class, IWorkbookChartCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookChartCollectionPage get() throws ClientException { - final BaseWorkbookChartCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookChart newWorkbookChart, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookChartRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookChart, callback); - } - - public WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookChartRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookChart); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookChartCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookChartCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookChartCollectionRequest)this; - } - - public IWorkbookChartCollectionPage buildFromResponse(final BaseWorkbookChartCollectionResponse response) { - final IWorkbookChartCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookChartCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookChartCollectionPage page = new WorkbookChartCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequestBuilder.java deleted file mode 100644 index c3fdc96eeda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Collection Request Builder. - */ -public class BaseWorkbookChartCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookChartCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookChartCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookChartRequestBuilder byId(final String id) { - return new WorkbookChartRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookChartAddRequestBuilder add(final String type, final com.google.gson.JsonElement sourceData, final String seriesBy) { - return new WorkbookChartAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, type, sourceData, seriesBy); - } - - public IWorkbookChartItemRequestBuilder item(final String name) { - return new WorkbookChartItemRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.item"), getClient(), null, name); - } - - public IWorkbookChartItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookChartItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookChartCountRequestBuilder count() { - return new WorkbookChartCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionResponse.java deleted file mode 100644 index f91ce152038..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Collection Response. - */ -public class BaseWorkbookChartCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookChart within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequest.java deleted file mode 100644 index d7b60b2869f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Count Request. - */ -public class BaseWorkbookChartCountRequest extends BaseRequest implements IBaseWorkbookChartCountRequest { - - /** - * The request for this WorkbookChartCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequestBuilder.java deleted file mode 100644 index 27c09a7c0ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Count Request Builder. - */ -public class BaseWorkbookChartCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookChartCountRequest - * - * @return the IWorkbookChartCountRequest instance - */ - public IWorkbookChartCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartCountRequest instance - */ - public IWorkbookChartCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartCountRequest request = new WorkbookChartCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequest.java deleted file mode 100644 index d1255316cb0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Data Label Format Request. - */ -public class BaseWorkbookChartDataLabelFormatRequest extends BaseRequest implements IBaseWorkbookChartDataLabelFormatRequest { - - /** - * The request for the WorkbookChartDataLabelFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartDataLabelFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartDataLabelFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartDataLabelFormat from the service - * - * @return the WorkbookChartDataLabelFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartDataLabelFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartDataLabelFormat with a source - * - * @param sourceWorkbookChartDataLabelFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartDataLabelFormat); - } - - /** - * Patches this WorkbookChartDataLabelFormat with a source - * - * @param sourceWorkbookChartDataLabelFormat the source object with updates - * @return the updated WorkbookChartDataLabelFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartDataLabelFormat patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartDataLabelFormat); - } - - /** - * Creates a WorkbookChartDataLabelFormat with a new object - * - * @param newWorkbookChartDataLabelFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartDataLabelFormat); - } - - /** - * Creates a WorkbookChartDataLabelFormat with a new object - * - * @param newWorkbookChartDataLabelFormat the new object to create - * @return the created WorkbookChartDataLabelFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartDataLabelFormat post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartDataLabelFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartDataLabelFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartDataLabelFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartDataLabelFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartDataLabelFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequestBuilder.java deleted file mode 100644 index d738d1504f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelFormatRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Data Label Format Request Builder. - */ -public class BaseWorkbookChartDataLabelFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartDataLabelFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartDataLabelFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartDataLabelFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartDataLabelFormatRequest instance - */ - public IWorkbookChartDataLabelFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartDataLabelFormatRequest instance - */ - public IWorkbookChartDataLabelFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartDataLabelFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - public IWorkbookChartFillRequestBuilder fill() { - return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - public IWorkbookChartFontRequestBuilder font() { - return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequest.java deleted file mode 100644 index b412423f82f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelsRequest; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Data Labels Request. - */ -public class BaseWorkbookChartDataLabelsRequest extends BaseRequest implements IBaseWorkbookChartDataLabelsRequest { - - /** - * The request for the WorkbookChartDataLabels - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartDataLabelsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartDataLabels from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartDataLabels from the service - * - * @return the WorkbookChartDataLabels from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartDataLabels get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartDataLabels with a source - * - * @param sourceWorkbookChartDataLabels the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartDataLabels); - } - - /** - * Patches this WorkbookChartDataLabels with a source - * - * @param sourceWorkbookChartDataLabels the source object with updates - * @return the updated WorkbookChartDataLabels - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartDataLabels patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartDataLabels); - } - - /** - * Creates a WorkbookChartDataLabels with a new object - * - * @param newWorkbookChartDataLabels the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartDataLabels newWorkbookChartDataLabels, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartDataLabels); - } - - /** - * Creates a WorkbookChartDataLabels with a new object - * - * @param newWorkbookChartDataLabels the new object to create - * @return the created WorkbookChartDataLabels - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartDataLabels post(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartDataLabels); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartDataLabelsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartDataLabelsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartDataLabelsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartDataLabelsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequestBuilder.java deleted file mode 100644 index 29c1f581089..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartDataLabelsRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelsRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Data Labels Request Builder. - */ -public class BaseWorkbookChartDataLabelsRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartDataLabelsRequestBuilder { - - /** - * The request builder for the WorkbookChartDataLabels - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartDataLabelsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartDataLabelsRequest instance - */ - public IWorkbookChartDataLabelsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartDataLabelsRequest instance - */ - public IWorkbookChartDataLabelsRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartDataLabelsRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartDataLabelFormat - * - * @return the IWorkbookChartDataLabelFormatRequestBuilder instance - */ - public IWorkbookChartDataLabelFormatRequestBuilder format() { - return new WorkbookChartDataLabelFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequest.java deleted file mode 100644 index 68a981024b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFillClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Clear Request. - */ -public class BaseWorkbookChartFillClearRequest extends BaseRequest implements IBaseWorkbookChartFillClearRequest { - - /** - * The request for this WorkbookChartFillClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartFillClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookChartFillClear - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookChartFillClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequestBuilder.java deleted file mode 100644 index afa9bc747cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillClearRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFillClearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Clear Request Builder. - */ -public class BaseWorkbookChartFillClearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookChartFillClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartFillClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookChartFillClearRequest - * - * @return the IWorkbookChartFillClearRequest instance - */ - public IWorkbookChartFillClearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartFillClearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartFillClearRequest instance - */ - public IWorkbookChartFillClearRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartFillClearRequest request = new WorkbookChartFillClearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequest.java deleted file mode 100644 index 96834ba2631..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequest; -import com.microsoft.graph.models.extensions.WorkbookChartFill; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Request. - */ -public class BaseWorkbookChartFillRequest extends BaseRequest implements IBaseWorkbookChartFillRequest { - - /** - * The request for the WorkbookChartFill - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartFillRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartFill from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartFill from the service - * - * @return the WorkbookChartFill from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartFill get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartFill with a source - * - * @param sourceWorkbookChartFill the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartFill sourceWorkbookChartFill, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartFill); - } - - /** - * Patches this WorkbookChartFill with a source - * - * @param sourceWorkbookChartFill the source object with updates - * @return the updated WorkbookChartFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartFill patch(final WorkbookChartFill sourceWorkbookChartFill) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartFill); - } - - /** - * Creates a WorkbookChartFill with a new object - * - * @param newWorkbookChartFill the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartFill newWorkbookChartFill, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartFill); - } - - /** - * Creates a WorkbookChartFill with a new object - * - * @param newWorkbookChartFill the new object to create - * @return the created WorkbookChartFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartFill post(final WorkbookChartFill newWorkbookChartFill) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartFill); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartFillRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartFillRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartFillRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartFillRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequestBuilder.java deleted file mode 100644 index 10ed3506b6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillClearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillSetSolidColorRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Request Builder. - */ -public class BaseWorkbookChartFillRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartFillRequestBuilder { - - /** - * The request builder for the WorkbookChartFill - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartFillRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartFillRequest instance - */ - public IWorkbookChartFillRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartFillRequest instance - */ - public IWorkbookChartFillRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartFillRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookChartFillClearRequestBuilder clear() { - return new WorkbookChartFillClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); - } - - public IWorkbookChartFillSetSolidColorRequestBuilder setSolidColor(final String color) { - return new WorkbookChartFillSetSolidColorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setSolidColor"), getClient(), null, color); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequest.java deleted file mode 100644 index 7e1be749440..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartFillSetSolidColorBody; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFillSetSolidColorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Set Solid Color Request. - */ -public class BaseWorkbookChartFillSetSolidColorRequest extends BaseRequest implements IBaseWorkbookChartFillSetSolidColorRequest { - protected final WorkbookChartFillSetSolidColorBody body; - - /** - * The request for this WorkbookChartFillSetSolidColor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartFillSetSolidColorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookChartFillSetSolidColorBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartFillSetSolidColorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartFillSetSolidColorRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartFillSetSolidColorRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookChartFillSetSolidColorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartFillSetSolidColorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartFillSetSolidColorRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequestBuilder.java deleted file mode 100644 index 4cc5cc6cccb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFillSetSolidColorRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFillSetSolidColorRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Fill Set Solid Color Request Builder. - */ -public class BaseWorkbookChartFillSetSolidColorRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookChartFillSetSolidColor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param color the color - */ - public BaseWorkbookChartFillSetSolidColorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String color) { - super(requestUrl, client, requestOptions); - bodyParams.put("color", color); - } - - /** - * Creates the IWorkbookChartFillSetSolidColorRequest - * - * @return the IWorkbookChartFillSetSolidColorRequest instance - */ - public IWorkbookChartFillSetSolidColorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartFillSetSolidColorRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartFillSetSolidColorRequest instance - */ - public IWorkbookChartFillSetSolidColorRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartFillSetSolidColorRequest request = new WorkbookChartFillSetSolidColorRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("color")) { - request.body.color = getParameter("color"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequest.java deleted file mode 100644 index 15f0e8e3ab3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequest; -import com.microsoft.graph.models.extensions.WorkbookChartFont; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Font Request. - */ -public class BaseWorkbookChartFontRequest extends BaseRequest implements IBaseWorkbookChartFontRequest { - - /** - * The request for the WorkbookChartFont - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartFontRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartFont from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartFont from the service - * - * @return the WorkbookChartFont from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartFont get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartFont with a source - * - * @param sourceWorkbookChartFont the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartFont sourceWorkbookChartFont, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartFont); - } - - /** - * Patches this WorkbookChartFont with a source - * - * @param sourceWorkbookChartFont the source object with updates - * @return the updated WorkbookChartFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartFont patch(final WorkbookChartFont sourceWorkbookChartFont) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartFont); - } - - /** - * Creates a WorkbookChartFont with a new object - * - * @param newWorkbookChartFont the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartFont newWorkbookChartFont, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartFont); - } - - /** - * Creates a WorkbookChartFont with a new object - * - * @param newWorkbookChartFont the new object to create - * @return the created WorkbookChartFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartFont post(final WorkbookChartFont newWorkbookChartFont) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartFont); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartFontRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartFontRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartFontRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartFontRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequestBuilder.java deleted file mode 100644 index 34cb2b63369..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartFontRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Font Request Builder. - */ -public class BaseWorkbookChartFontRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartFontRequestBuilder { - - /** - * The request builder for the WorkbookChartFont - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartFontRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartFontRequest instance - */ - public IWorkbookChartFontRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartFontRequest instance - */ - public IWorkbookChartFontRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartFontRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequest.java deleted file mode 100644 index 999d2b0bb2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Gridlines Format Request. - */ -public class BaseWorkbookChartGridlinesFormatRequest extends BaseRequest implements IBaseWorkbookChartGridlinesFormatRequest { - - /** - * The request for the WorkbookChartGridlinesFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartGridlinesFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartGridlinesFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartGridlinesFormat from the service - * - * @return the WorkbookChartGridlinesFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartGridlinesFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartGridlinesFormat with a source - * - * @param sourceWorkbookChartGridlinesFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartGridlinesFormat); - } - - /** - * Patches this WorkbookChartGridlinesFormat with a source - * - * @param sourceWorkbookChartGridlinesFormat the source object with updates - * @return the updated WorkbookChartGridlinesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartGridlinesFormat patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartGridlinesFormat); - } - - /** - * Creates a WorkbookChartGridlinesFormat with a new object - * - * @param newWorkbookChartGridlinesFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartGridlinesFormat); - } - - /** - * Creates a WorkbookChartGridlinesFormat with a new object - * - * @param newWorkbookChartGridlinesFormat the new object to create - * @return the created WorkbookChartGridlinesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartGridlinesFormat post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartGridlinesFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartGridlinesFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartGridlinesFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartGridlinesFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartGridlinesFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequestBuilder.java deleted file mode 100644 index f7499213291..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesFormatRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Gridlines Format Request Builder. - */ -public class BaseWorkbookChartGridlinesFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartGridlinesFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartGridlinesFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartGridlinesFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartGridlinesFormatRequest instance - */ - public IWorkbookChartGridlinesFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartGridlinesFormatRequest instance - */ - public IWorkbookChartGridlinesFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartGridlinesFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartLineFormat - * - * @return the IWorkbookChartLineFormatRequestBuilder instance - */ - public IWorkbookChartLineFormatRequestBuilder line() { - return new WorkbookChartLineFormatRequestBuilder(getRequestUrlWithAdditionalSegment("line"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequest.java deleted file mode 100644 index b80190bf5e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequest; -import com.microsoft.graph.models.extensions.WorkbookChartGridlines; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Gridlines Request. - */ -public class BaseWorkbookChartGridlinesRequest extends BaseRequest implements IBaseWorkbookChartGridlinesRequest { - - /** - * The request for the WorkbookChartGridlines - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartGridlinesRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartGridlines from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartGridlines from the service - * - * @return the WorkbookChartGridlines from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartGridlines get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartGridlines with a source - * - * @param sourceWorkbookChartGridlines the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartGridlines sourceWorkbookChartGridlines, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartGridlines); - } - - /** - * Patches this WorkbookChartGridlines with a source - * - * @param sourceWorkbookChartGridlines the source object with updates - * @return the updated WorkbookChartGridlines - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartGridlines patch(final WorkbookChartGridlines sourceWorkbookChartGridlines) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartGridlines); - } - - /** - * Creates a WorkbookChartGridlines with a new object - * - * @param newWorkbookChartGridlines the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartGridlines newWorkbookChartGridlines, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartGridlines); - } - - /** - * Creates a WorkbookChartGridlines with a new object - * - * @param newWorkbookChartGridlines the new object to create - * @return the created WorkbookChartGridlines - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartGridlines post(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartGridlines); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartGridlinesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartGridlinesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartGridlinesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartGridlinesRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequestBuilder.java deleted file mode 100644 index 4d1dbb7f27d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartGridlinesRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartGridlinesFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Gridlines Request Builder. - */ -public class BaseWorkbookChartGridlinesRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartGridlinesRequestBuilder { - - /** - * The request builder for the WorkbookChartGridlines - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartGridlinesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartGridlinesRequest instance - */ - public IWorkbookChartGridlinesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartGridlinesRequest instance - */ - public IWorkbookChartGridlinesRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartGridlinesRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartGridlinesFormat - * - * @return the IWorkbookChartGridlinesFormatRequestBuilder instance - */ - public IWorkbookChartGridlinesFormatRequestBuilder format() { - return new WorkbookChartGridlinesFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequest.java deleted file mode 100644 index 07861de5ac5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartImageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Image Request. - */ -public class BaseWorkbookChartImageRequest extends BaseRequest implements IBaseWorkbookChartImageRequest { - - /** - * The request for this WorkbookChartImage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartImageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, String.class); - } - - /** - * Gets the String - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the String - * - * @return the String - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public String get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartImageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartImageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartImageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartImageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequestBuilder.java deleted file mode 100644 index fe10e109ad6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartImageRequestBuilder.java +++ /dev/null @@ -1,104 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartImageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Image Request Builder. - */ -public class BaseWorkbookChartImageRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartImage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookChartImage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param width the width - */ - public BaseWorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer width) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("width", width)); - } - /** - * The request builder for this WorkbookChartImage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param width the width - * @param height the height - */ - public BaseWorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer width, final Integer height) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("width", width)); - functionOptions.add(new FunctionOption("height", height)); - } - /** - * The request builder for this WorkbookChartImage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param width the width - * @param height the height - * @param fittingMode the fittingMode - */ - public BaseWorkbookChartImageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer width, final Integer height, final String fittingMode) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("width", width)); - functionOptions.add(new FunctionOption("height", height)); - functionOptions.add(new FunctionOption("fittingMode", fittingMode)); - } - - /** - * Creates the IWorkbookChartImageRequest - * - * @return the IWorkbookChartImageRequest instance - */ - public IWorkbookChartImageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartImageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartImageRequest instance - */ - public IWorkbookChartImageRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartImageRequest request = new WorkbookChartImageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequest.java deleted file mode 100644 index 00dd2778da2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Item At Request. - */ -public class BaseWorkbookChartItemAtRequest extends BaseRequest implements IBaseWorkbookChartItemAtRequest { - - /** - * The request for this WorkbookChartItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookChart.class); - } - - /** - * Patches the WorkbookChartItemAt - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookChart srcWorkbookChart, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookChart); - } - - /** - * Patches the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookChart); - } - - /** - * Puts the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookChart srcWorkbookChart, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookChart); - } - - /** - * Puts the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookChart); - } - /** - * Gets the WorkbookChart - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChart - * - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChart get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequestBuilder.java deleted file mode 100644 index 2d03dfb72dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Item At Request Builder. - */ -public class BaseWorkbookChartItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookChartItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookChartItemAtRequest - * - * @return the IWorkbookChartItemAtRequest instance - */ - public IWorkbookChartItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartItemAtRequest instance - */ - public IWorkbookChartItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartItemAtRequest request = new WorkbookChartItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequest.java deleted file mode 100644 index 1488d8dde9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartItemRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Item Request. - */ -public class BaseWorkbookChartItemRequest extends BaseRequest implements IBaseWorkbookChartItemRequest { - - /** - * The request for this WorkbookChartItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartItemRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookChart.class); - } - - /** - * Patches the WorkbookChartItem - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookChart srcWorkbookChart, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookChart); - } - - /** - * Patches the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookChart); - } - - /** - * Puts the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookChart srcWorkbookChart, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookChart); - } - - /** - * Puts the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookChart); - } - /** - * Gets the WorkbookChart - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChart - * - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChart get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartItemRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequestBuilder.java deleted file mode 100644 index c3784ab4741..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartItemRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartItemRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Item Request Builder. - */ -public class BaseWorkbookChartItemRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param name the name - */ - public BaseWorkbookChartItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("name", name)); - } - - /** - * Creates the IWorkbookChartItemRequest - * - * @return the IWorkbookChartItemRequest instance - */ - public IWorkbookChartItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartItemRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartItemRequest instance - */ - public IWorkbookChartItemRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartItemRequest request = new WorkbookChartItemRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequest.java deleted file mode 100644 index 050e3b62827..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLegendFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Legend Format Request. - */ -public class BaseWorkbookChartLegendFormatRequest extends BaseRequest implements IBaseWorkbookChartLegendFormatRequest { - - /** - * The request for the WorkbookChartLegendFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartLegendFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartLegendFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartLegendFormat from the service - * - * @return the WorkbookChartLegendFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLegendFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartLegendFormat with a source - * - * @param sourceWorkbookChartLegendFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartLegendFormat); - } - - /** - * Patches this WorkbookChartLegendFormat with a source - * - * @param sourceWorkbookChartLegendFormat the source object with updates - * @return the updated WorkbookChartLegendFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLegendFormat patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartLegendFormat); - } - - /** - * Creates a WorkbookChartLegendFormat with a new object - * - * @param newWorkbookChartLegendFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartLegendFormat); - } - - /** - * Creates a WorkbookChartLegendFormat with a new object - * - * @param newWorkbookChartLegendFormat the new object to create - * @return the created WorkbookChartLegendFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLegendFormat post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartLegendFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartLegendFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartLegendFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartLegendFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartLegendFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequestBuilder.java deleted file mode 100644 index 8e2a3044327..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendFormatRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLegendFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Legend Format Request Builder. - */ -public class BaseWorkbookChartLegendFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartLegendFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartLegendFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartLegendFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartLegendFormatRequest instance - */ - public IWorkbookChartLegendFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartLegendFormatRequest instance - */ - public IWorkbookChartLegendFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartLegendFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - public IWorkbookChartFillRequestBuilder fill() { - return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - public IWorkbookChartFontRequestBuilder font() { - return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequest.java deleted file mode 100644 index b3a5af2b150..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLegendRequest; -import com.microsoft.graph.models.extensions.WorkbookChartLegend; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Legend Request. - */ -public class BaseWorkbookChartLegendRequest extends BaseRequest implements IBaseWorkbookChartLegendRequest { - - /** - * The request for the WorkbookChartLegend - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartLegendRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartLegend from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartLegend from the service - * - * @return the WorkbookChartLegend from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLegend get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartLegend with a source - * - * @param sourceWorkbookChartLegend the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartLegend sourceWorkbookChartLegend, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartLegend); - } - - /** - * Patches this WorkbookChartLegend with a source - * - * @param sourceWorkbookChartLegend the source object with updates - * @return the updated WorkbookChartLegend - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLegend patch(final WorkbookChartLegend sourceWorkbookChartLegend) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartLegend); - } - - /** - * Creates a WorkbookChartLegend with a new object - * - * @param newWorkbookChartLegend the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartLegend newWorkbookChartLegend, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartLegend); - } - - /** - * Creates a WorkbookChartLegend with a new object - * - * @param newWorkbookChartLegend the new object to create - * @return the created WorkbookChartLegend - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLegend post(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartLegend); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartLegendRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartLegendRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartLegendRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartLegendRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequestBuilder.java deleted file mode 100644 index ee13d401658..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLegendRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLegendRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartLegendFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Legend Request Builder. - */ -public class BaseWorkbookChartLegendRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartLegendRequestBuilder { - - /** - * The request builder for the WorkbookChartLegend - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartLegendRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartLegendRequest instance - */ - public IWorkbookChartLegendRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartLegendRequest instance - */ - public IWorkbookChartLegendRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartLegendRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartLegendFormat - * - * @return the IWorkbookChartLegendFormatRequestBuilder instance - */ - public IWorkbookChartLegendFormatRequestBuilder format() { - return new WorkbookChartLegendFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequest.java deleted file mode 100644 index d605f8f8659..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Line Format Clear Request. - */ -public class BaseWorkbookChartLineFormatClearRequest extends BaseRequest implements IBaseWorkbookChartLineFormatClearRequest { - - /** - * The request for this WorkbookChartLineFormatClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartLineFormatClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookChartLineFormatClear - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookChartLineFormatClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequestBuilder.java deleted file mode 100644 index 24fa1505140..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatClearRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatClearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Line Format Clear Request Builder. - */ -public class BaseWorkbookChartLineFormatClearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookChartLineFormatClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartLineFormatClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookChartLineFormatClearRequest - * - * @return the IWorkbookChartLineFormatClearRequest instance - */ - public IWorkbookChartLineFormatClearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartLineFormatClearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartLineFormatClearRequest instance - */ - public IWorkbookChartLineFormatClearRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartLineFormatClearRequest request = new WorkbookChartLineFormatClearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequest.java deleted file mode 100644 index 3691c3e2645..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Line Format Request. - */ -public class BaseWorkbookChartLineFormatRequest extends BaseRequest implements IBaseWorkbookChartLineFormatRequest { - - /** - * The request for the WorkbookChartLineFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartLineFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartLineFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartLineFormat from the service - * - * @return the WorkbookChartLineFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLineFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartLineFormat with a source - * - * @param sourceWorkbookChartLineFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartLineFormat); - } - - /** - * Patches this WorkbookChartLineFormat with a source - * - * @param sourceWorkbookChartLineFormat the source object with updates - * @return the updated WorkbookChartLineFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLineFormat patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartLineFormat); - } - - /** - * Creates a WorkbookChartLineFormat with a new object - * - * @param newWorkbookChartLineFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartLineFormat newWorkbookChartLineFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartLineFormat); - } - - /** - * Creates a WorkbookChartLineFormat with a new object - * - * @param newWorkbookChartLineFormat the new object to create - * @return the created WorkbookChartLineFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartLineFormat post(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartLineFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartLineFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartLineFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartLineFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartLineFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequestBuilder.java deleted file mode 100644 index 36c305d4d2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartLineFormatRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatClearRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Line Format Request Builder. - */ -public class BaseWorkbookChartLineFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartLineFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartLineFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartLineFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartLineFormatRequest instance - */ - public IWorkbookChartLineFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartLineFormatRequest instance - */ - public IWorkbookChartLineFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartLineFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookChartLineFormatClearRequestBuilder clear() { - return new WorkbookChartLineFormatClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionPage.java deleted file mode 100644 index 73b45a71280..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Collection Page. - */ -public class BaseWorkbookChartPointCollectionPage extends BaseCollectionPage implements IBaseWorkbookChartPointCollectionPage { - - /** - * A collection page for WorkbookChartPoint - * - * @param response the serialized BaseWorkbookChartPointCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookChartPointCollectionPage(final BaseWorkbookChartPointCollectionResponse response, final IWorkbookChartPointCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequest.java deleted file mode 100644 index 9de3005625c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Collection Request. - */ -public class BaseWorkbookChartPointCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookChartPointCollectionRequest { - - /** - * The request builder for this collection of WorkbookChartPoint - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookChartPointCollectionResponse.class, IWorkbookChartPointCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookChartPointCollectionPage get() throws ClientException { - final BaseWorkbookChartPointCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookChartPointRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookChartPoint, callback); - } - - public WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookChartPointRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookChartPoint); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartPointCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookChartPointCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartPointCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookChartPointCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartPointCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookChartPointCollectionRequest)this; - } - - public IWorkbookChartPointCollectionPage buildFromResponse(final BaseWorkbookChartPointCollectionResponse response) { - final IWorkbookChartPointCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookChartPointCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookChartPointCollectionPage page = new WorkbookChartPointCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequestBuilder.java deleted file mode 100644 index f7ab133ec7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Collection Request Builder. - */ -public class BaseWorkbookChartPointCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartPointCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookChartSeries - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookChartPointCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookChartPointCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartPointCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookChartPointRequestBuilder byId(final String id) { - return new WorkbookChartPointRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookChartPointItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookChartPointItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookChartPointCountRequestBuilder count() { - return new WorkbookChartPointCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionResponse.java deleted file mode 100644 index d43dfdf1130..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Collection Response. - */ -public class BaseWorkbookChartPointCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookChartPoint within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequest.java deleted file mode 100644 index 2b35dbc3660..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Count Request. - */ -public class BaseWorkbookChartPointCountRequest extends BaseRequest implements IBaseWorkbookChartPointCountRequest { - - /** - * The request for this WorkbookChartPointCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartPointCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartPointCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartPointCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartPointCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequestBuilder.java deleted file mode 100644 index 85c414fd9cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Count Request Builder. - */ -public class BaseWorkbookChartPointCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartPointCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookChartPointCountRequest - * - * @return the IWorkbookChartPointCountRequest instance - */ - public IWorkbookChartPointCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartPointCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartPointCountRequest instance - */ - public IWorkbookChartPointCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartPointCountRequest request = new WorkbookChartPointCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequest.java deleted file mode 100644 index 2a28975d9b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Format Request. - */ -public class BaseWorkbookChartPointFormatRequest extends BaseRequest implements IBaseWorkbookChartPointFormatRequest { - - /** - * The request for the WorkbookChartPointFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartPointFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartPointFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartPointFormat from the service - * - * @return the WorkbookChartPointFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartPointFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartPointFormat with a source - * - * @param sourceWorkbookChartPointFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartPointFormat); - } - - /** - * Patches this WorkbookChartPointFormat with a source - * - * @param sourceWorkbookChartPointFormat the source object with updates - * @return the updated WorkbookChartPointFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartPointFormat patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartPointFormat); - } - - /** - * Creates a WorkbookChartPointFormat with a new object - * - * @param newWorkbookChartPointFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartPointFormat newWorkbookChartPointFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartPointFormat); - } - - /** - * Creates a WorkbookChartPointFormat with a new object - * - * @param newWorkbookChartPointFormat the new object to create - * @return the created WorkbookChartPointFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartPointFormat post(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartPointFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartPointFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartPointFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartPointFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartPointFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequestBuilder.java deleted file mode 100644 index 3bddccd8b89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointFormatRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Format Request Builder. - */ -public class BaseWorkbookChartPointFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartPointFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartPointFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartPointFormatRequest instance - */ - public IWorkbookChartPointFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartPointFormatRequest instance - */ - public IWorkbookChartPointFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartPointFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - public IWorkbookChartFillRequestBuilder fill() { - return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequest.java deleted file mode 100644 index b083fc73d49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Item At Request. - */ -public class BaseWorkbookChartPointItemAtRequest extends BaseRequest implements IBaseWorkbookChartPointItemAtRequest { - - /** - * The request for this WorkbookChartPointItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookChartPoint.class); - } - - /** - * Patches the WorkbookChartPointItemAt - * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookChartPoint); - } - - /** - * Patches the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH - * @return the WorkbookChartPoint - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChartPoint patch(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookChartPoint); - } - - /** - * Puts the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookChartPoint); - } - - /** - * Puts the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT - * @return the WorkbookChartPoint - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChartPoint put(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookChartPoint); - } - /** - * Gets the WorkbookChartPoint - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartPoint - * - * @return the WorkbookChartPoint - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChartPoint get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartPointItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartPointItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartPointItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartPointItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequestBuilder.java deleted file mode 100644 index e77bf66cc55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Item At Request Builder. - */ -public class BaseWorkbookChartPointItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartPointItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookChartPointItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookChartPointItemAtRequest - * - * @return the IWorkbookChartPointItemAtRequest instance - */ - public IWorkbookChartPointItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartPointItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartPointItemAtRequest instance - */ - public IWorkbookChartPointItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartPointItemAtRequest request = new WorkbookChartPointItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequest.java deleted file mode 100644 index aaf83b97afc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointRequest; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Request. - */ -public class BaseWorkbookChartPointRequest extends BaseRequest implements IBaseWorkbookChartPointRequest { - - /** - * The request for the WorkbookChartPoint - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartPointRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartPoint from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartPoint from the service - * - * @return the WorkbookChartPoint from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartPoint get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartPoint with a source - * - * @param sourceWorkbookChartPoint the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartPoint sourceWorkbookChartPoint, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartPoint); - } - - /** - * Patches this WorkbookChartPoint with a source - * - * @param sourceWorkbookChartPoint the source object with updates - * @return the updated WorkbookChartPoint - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartPoint patch(final WorkbookChartPoint sourceWorkbookChartPoint) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartPoint); - } - - /** - * Creates a WorkbookChartPoint with a new object - * - * @param newWorkbookChartPoint the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartPoint); - } - - /** - * Creates a WorkbookChartPoint with a new object - * - * @param newWorkbookChartPoint the new object to create - * @return the created WorkbookChartPoint - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartPoint); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartPointRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartPointRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartPointRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartPointRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequestBuilder.java deleted file mode 100644 index e30957f10c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartPointRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartPointRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartPointFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Point Request Builder. - */ -public class BaseWorkbookChartPointRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartPointRequestBuilder { - - /** - * The request builder for the WorkbookChartPoint - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartPointRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartPointRequest instance - */ - public IWorkbookChartPointRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartPointRequest instance - */ - public IWorkbookChartPointRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartPointRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartPointFormat - * - * @return the IWorkbookChartPointFormatRequestBuilder instance - */ - public IWorkbookChartPointFormatRequestBuilder format() { - return new WorkbookChartPointFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequest.java deleted file mode 100644 index d905273a35a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartRequest; -import com.microsoft.graph.models.extensions.WorkbookChart; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Request. - */ -public class BaseWorkbookChartRequest extends BaseRequest implements IBaseWorkbookChartRequest { - - /** - * The request for the WorkbookChart - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChart from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChart from the service - * - * @return the WorkbookChart from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChart get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChart with a source - * - * @param sourceWorkbookChart the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChart sourceWorkbookChart, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChart); - } - - /** - * Patches this WorkbookChart with a source - * - * @param sourceWorkbookChart the source object with updates - * @return the updated WorkbookChart - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChart patch(final WorkbookChart sourceWorkbookChart) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChart); - } - - /** - * Creates a WorkbookChart with a new object - * - * @param newWorkbookChart the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChart newWorkbookChart, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChart); - } - - /** - * Creates a WorkbookChart with a new object - * - * @param newWorkbookChart the new object to create - * @return the created WorkbookChart - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException { - return send(HttpMethod.POST, newWorkbookChart); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequestBuilder.java deleted file mode 100644 index a8c9c40af48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartRequestBuilder.java +++ /dev/null @@ -1,165 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAxesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartDataLabelsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartAreaFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartLegendRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartTitleRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartSetDataRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartSetPositionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartImageRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Request Builder. - */ -public class BaseWorkbookChartRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartRequestBuilder { - - /** - * The request builder for the WorkbookChart - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartRequest instance - */ - public IWorkbookChartRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartRequest instance - */ - public IWorkbookChartRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartAxes - * - * @return the IWorkbookChartAxesRequestBuilder instance - */ - public IWorkbookChartAxesRequestBuilder axes() { - return new WorkbookChartAxesRequestBuilder(getRequestUrlWithAdditionalSegment("axes"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartDataLabels - * - * @return the IWorkbookChartDataLabelsRequestBuilder instance - */ - public IWorkbookChartDataLabelsRequestBuilder dataLabels() { - return new WorkbookChartDataLabelsRequestBuilder(getRequestUrlWithAdditionalSegment("dataLabels"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartAreaFormat - * - * @return the IWorkbookChartAreaFormatRequestBuilder instance - */ - public IWorkbookChartAreaFormatRequestBuilder format() { - return new WorkbookChartAreaFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartLegend - * - * @return the IWorkbookChartLegendRequestBuilder instance - */ - public IWorkbookChartLegendRequestBuilder legend() { - return new WorkbookChartLegendRequestBuilder(getRequestUrlWithAdditionalSegment("legend"), getClient(), null); - } - public IWorkbookChartSeriesCollectionRequestBuilder series() { - return new WorkbookChartSeriesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("series"), getClient(), null); - } - - public IWorkbookChartSeriesRequestBuilder series(final String id) { - return new WorkbookChartSeriesRequestBuilder(getRequestUrlWithAdditionalSegment("series") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartTitle - * - * @return the IWorkbookChartTitleRequestBuilder instance - */ - public IWorkbookChartTitleRequestBuilder title() { - return new WorkbookChartTitleRequestBuilder(getRequestUrlWithAdditionalSegment("title"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - public IWorkbookWorksheetRequestBuilder worksheet() { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); - } - - public IWorkbookChartSetDataRequestBuilder setData(final com.google.gson.JsonElement sourceData, final String seriesBy) { - return new WorkbookChartSetDataRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setData"), getClient(), null, sourceData, seriesBy); - } - - public IWorkbookChartSetPositionRequestBuilder setPosition(final com.google.gson.JsonElement startCell, final com.google.gson.JsonElement endCell) { - return new WorkbookChartSetPositionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setPosition"), getClient(), null, startCell, endCell); - } - - public IWorkbookChartImageRequestBuilder image() { - return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null); - } - - public IWorkbookChartImageRequestBuilder image(final Integer width) { - return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null, width); - } - - public IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height) { - return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null, width, height); - } - - public IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height, final String fittingMode) { - return new WorkbookChartImageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.image"), getClient(), null, width, height, fittingMode); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionPage.java deleted file mode 100644 index cac864fea13..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Collection Page. - */ -public class BaseWorkbookChartSeriesCollectionPage extends BaseCollectionPage implements IBaseWorkbookChartSeriesCollectionPage { - - /** - * A collection page for WorkbookChartSeries - * - * @param response the serialized BaseWorkbookChartSeriesCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookChartSeriesCollectionPage(final BaseWorkbookChartSeriesCollectionResponse response, final IWorkbookChartSeriesCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequest.java deleted file mode 100644 index a40d7dcc613..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Collection Request. - */ -public class BaseWorkbookChartSeriesCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookChartSeriesCollectionRequest { - - /** - * The request builder for this collection of WorkbookChartSeries - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookChartSeriesCollectionResponse.class, IWorkbookChartSeriesCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookChartSeriesCollectionPage get() throws ClientException { - final BaseWorkbookChartSeriesCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookChartSeriesRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookChartSeries, callback); - } - - public WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookChartSeriesRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookChartSeries); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSeriesCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookChartSeriesCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSeriesCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookChartSeriesCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartSeriesCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookChartSeriesCollectionRequest)this; - } - - public IWorkbookChartSeriesCollectionPage buildFromResponse(final BaseWorkbookChartSeriesCollectionResponse response) { - final IWorkbookChartSeriesCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookChartSeriesCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookChartSeriesCollectionPage page = new WorkbookChartSeriesCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequestBuilder.java deleted file mode 100644 index 71d0404bf63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Collection Request Builder. - */ -public class BaseWorkbookChartSeriesCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartSeriesCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookChart - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookChartSeriesCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookChartSeriesCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartSeriesCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookChartSeriesRequestBuilder byId(final String id) { - return new WorkbookChartSeriesRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookChartSeriesItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookChartSeriesItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookChartSeriesCountRequestBuilder count() { - return new WorkbookChartSeriesCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionResponse.java deleted file mode 100644 index ecc803f0809..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Collection Response. - */ -public class BaseWorkbookChartSeriesCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookChartSeries within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequest.java deleted file mode 100644 index 62a7390325a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Count Request. - */ -public class BaseWorkbookChartSeriesCountRequest extends BaseRequest implements IBaseWorkbookChartSeriesCountRequest { - - /** - * The request for this WorkbookChartSeriesCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSeriesCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartSeriesCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSeriesCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartSeriesCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequestBuilder.java deleted file mode 100644 index 0fb44c0afe1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Count Request Builder. - */ -public class BaseWorkbookChartSeriesCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartSeriesCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookChartSeriesCountRequest - * - * @return the IWorkbookChartSeriesCountRequest instance - */ - public IWorkbookChartSeriesCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartSeriesCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSeriesCountRequest instance - */ - public IWorkbookChartSeriesCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartSeriesCountRequest request = new WorkbookChartSeriesCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequest.java deleted file mode 100644 index 15bdf18eaf0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Format Request. - */ -public class BaseWorkbookChartSeriesFormatRequest extends BaseRequest implements IBaseWorkbookChartSeriesFormatRequest { - - /** - * The request for the WorkbookChartSeriesFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartSeriesFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartSeriesFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartSeriesFormat from the service - * - * @return the WorkbookChartSeriesFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartSeriesFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartSeriesFormat with a source - * - * @param sourceWorkbookChartSeriesFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartSeriesFormat); - } - - /** - * Patches this WorkbookChartSeriesFormat with a source - * - * @param sourceWorkbookChartSeriesFormat the source object with updates - * @return the updated WorkbookChartSeriesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartSeriesFormat patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartSeriesFormat); - } - - /** - * Creates a WorkbookChartSeriesFormat with a new object - * - * @param newWorkbookChartSeriesFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartSeriesFormat); - } - - /** - * Creates a WorkbookChartSeriesFormat with a new object - * - * @param newWorkbookChartSeriesFormat the new object to create - * @return the created WorkbookChartSeriesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartSeriesFormat post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartSeriesFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSeriesFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartSeriesFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSeriesFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartSeriesFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequestBuilder.java deleted file mode 100644 index 8fa8f714a2f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesFormatRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartLineFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Format Request Builder. - */ -public class BaseWorkbookChartSeriesFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartSeriesFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartSeriesFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartSeriesFormatRequest instance - */ - public IWorkbookChartSeriesFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartSeriesFormatRequest instance - */ - public IWorkbookChartSeriesFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartSeriesFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - public IWorkbookChartFillRequestBuilder fill() { - return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartLineFormat - * - * @return the IWorkbookChartLineFormatRequestBuilder instance - */ - public IWorkbookChartLineFormatRequestBuilder line() { - return new WorkbookChartLineFormatRequestBuilder(getRequestUrlWithAdditionalSegment("line"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequest.java deleted file mode 100644 index 783971821c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Item At Request. - */ -public class BaseWorkbookChartSeriesItemAtRequest extends BaseRequest implements IBaseWorkbookChartSeriesItemAtRequest { - - /** - * The request for this WorkbookChartSeriesItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookChartSeries.class); - } - - /** - * Patches the WorkbookChartSeriesItemAt - * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookChartSeries); - } - - /** - * Patches the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH - * @return the WorkbookChartSeries - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChartSeries patch(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookChartSeries); - } - - /** - * Puts the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookChartSeries); - } - - /** - * Puts the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT - * @return the WorkbookChartSeries - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChartSeries put(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookChartSeries); - } - /** - * Gets the WorkbookChartSeries - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartSeries - * - * @return the WorkbookChartSeries - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookChartSeries get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSeriesItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartSeriesItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSeriesItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartSeriesItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequestBuilder.java deleted file mode 100644 index e31bafad06a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Item At Request Builder. - */ -public class BaseWorkbookChartSeriesItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookChartSeriesItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookChartSeriesItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookChartSeriesItemAtRequest - * - * @return the IWorkbookChartSeriesItemAtRequest instance - */ - public IWorkbookChartSeriesItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartSeriesItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSeriesItemAtRequest instance - */ - public IWorkbookChartSeriesItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartSeriesItemAtRequest request = new WorkbookChartSeriesItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequest.java deleted file mode 100644 index d65f33f2c94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesRequest; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Request. - */ -public class BaseWorkbookChartSeriesRequest extends BaseRequest implements IBaseWorkbookChartSeriesRequest { - - /** - * The request for the WorkbookChartSeries - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartSeriesRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartSeries from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartSeries from the service - * - * @return the WorkbookChartSeries from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartSeries get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartSeries with a source - * - * @param sourceWorkbookChartSeries the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartSeries sourceWorkbookChartSeries, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartSeries); - } - - /** - * Patches this WorkbookChartSeries with a source - * - * @param sourceWorkbookChartSeries the source object with updates - * @return the updated WorkbookChartSeries - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartSeries patch(final WorkbookChartSeries sourceWorkbookChartSeries) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartSeries); - } - - /** - * Creates a WorkbookChartSeries with a new object - * - * @param newWorkbookChartSeries the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartSeries); - } - - /** - * Creates a WorkbookChartSeries with a new object - * - * @param newWorkbookChartSeries the new object to create - * @return the created WorkbookChartSeries - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartSeries); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSeriesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartSeriesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSeriesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartSeriesRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequestBuilder.java deleted file mode 100644 index 91691773d03..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSeriesRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartSeriesFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartPointCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartPointRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Series Request Builder. - */ -public class BaseWorkbookChartSeriesRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartSeriesRequestBuilder { - - /** - * The request builder for the WorkbookChartSeries - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSeriesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartSeriesRequest instance - */ - public IWorkbookChartSeriesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartSeriesRequest instance - */ - public IWorkbookChartSeriesRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartSeriesRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartSeriesFormat - * - * @return the IWorkbookChartSeriesFormatRequestBuilder instance - */ - public IWorkbookChartSeriesFormatRequestBuilder format() { - return new WorkbookChartSeriesFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } - public IWorkbookChartPointCollectionRequestBuilder points() { - return new WorkbookChartPointCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("points"), getClient(), null); - } - - public IWorkbookChartPointRequestBuilder points(final String id) { - return new WorkbookChartPointRequestBuilder(getRequestUrlWithAdditionalSegment("points") + "/" + id, getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequest.java deleted file mode 100644 index f40312dcd76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSetDataBody; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSetDataRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Set Data Request. - */ -public class BaseWorkbookChartSetDataRequest extends BaseRequest implements IBaseWorkbookChartSetDataRequest { - protected final WorkbookChartSetDataBody body; - - /** - * The request for this WorkbookChartSetData - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSetDataRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookChartSetDataBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSetDataRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartSetDataRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartSetDataRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookChartSetDataRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSetDataRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartSetDataRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequestBuilder.java deleted file mode 100644 index 65bd2263a92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetDataRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSetDataRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Set Data Request Builder. - */ -public class BaseWorkbookChartSetDataRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookChartSetData - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param sourceData the sourceData - * @param seriesBy the seriesBy - */ - public BaseWorkbookChartSetDataRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement sourceData, final String seriesBy) { - super(requestUrl, client, requestOptions); - bodyParams.put("sourceData", sourceData); - bodyParams.put("seriesBy", seriesBy); - } - - /** - * Creates the IWorkbookChartSetDataRequest - * - * @return the IWorkbookChartSetDataRequest instance - */ - public IWorkbookChartSetDataRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartSetDataRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSetDataRequest instance - */ - public IWorkbookChartSetDataRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartSetDataRequest request = new WorkbookChartSetDataRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("sourceData")) { - request.body.sourceData = getParameter("sourceData"); - } - - if (hasParameter("seriesBy")) { - request.body.seriesBy = getParameter("seriesBy"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequest.java deleted file mode 100644 index a6b4c551517..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSetPositionBody; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSetPositionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Set Position Request. - */ -public class BaseWorkbookChartSetPositionRequest extends BaseRequest implements IBaseWorkbookChartSetPositionRequest { - protected final WorkbookChartSetPositionBody body; - - /** - * The request for this WorkbookChartSetPosition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartSetPositionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookChartSetPositionBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartSetPositionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartSetPositionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookChartSetPositionRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookChartSetPositionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartSetPositionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartSetPositionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequestBuilder.java deleted file mode 100644 index 0c384dd4233..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartSetPositionRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartSetPositionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Set Position Request Builder. - */ -public class BaseWorkbookChartSetPositionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookChartSetPosition - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startCell the startCell - * @param endCell the endCell - */ - public BaseWorkbookChartSetPositionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startCell, final com.google.gson.JsonElement endCell) { - super(requestUrl, client, requestOptions); - bodyParams.put("startCell", startCell); - bodyParams.put("endCell", endCell); - } - - /** - * Creates the IWorkbookChartSetPositionRequest - * - * @return the IWorkbookChartSetPositionRequest instance - */ - public IWorkbookChartSetPositionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookChartSetPositionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSetPositionRequest instance - */ - public IWorkbookChartSetPositionRequest buildRequest(final java.util.List requestOptions) { - WorkbookChartSetPositionRequest request = new WorkbookChartSetPositionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startCell")) { - request.body.startCell = getParameter("startCell"); - } - - if (hasParameter("endCell")) { - request.body.endCell = getParameter("endCell"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequest.java deleted file mode 100644 index 54466ff9a5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartTitleFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Title Format Request. - */ -public class BaseWorkbookChartTitleFormatRequest extends BaseRequest implements IBaseWorkbookChartTitleFormatRequest { - - /** - * The request for the WorkbookChartTitleFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartTitleFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartTitleFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartTitleFormat from the service - * - * @return the WorkbookChartTitleFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartTitleFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartTitleFormat with a source - * - * @param sourceWorkbookChartTitleFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartTitleFormat); - } - - /** - * Patches this WorkbookChartTitleFormat with a source - * - * @param sourceWorkbookChartTitleFormat the source object with updates - * @return the updated WorkbookChartTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartTitleFormat patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartTitleFormat); - } - - /** - * Creates a WorkbookChartTitleFormat with a new object - * - * @param newWorkbookChartTitleFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartTitleFormat); - } - - /** - * Creates a WorkbookChartTitleFormat with a new object - * - * @param newWorkbookChartTitleFormat the new object to create - * @return the created WorkbookChartTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartTitleFormat post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartTitleFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartTitleFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartTitleFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartTitleFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartTitleFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequestBuilder.java deleted file mode 100644 index 56d97defba6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleFormatRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartTitleFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartFontRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Title Format Request Builder. - */ -public class BaseWorkbookChartTitleFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartTitleFormatRequestBuilder { - - /** - * The request builder for the WorkbookChartTitleFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartTitleFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartTitleFormatRequest instance - */ - public IWorkbookChartTitleFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartTitleFormatRequest instance - */ - public IWorkbookChartTitleFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartTitleFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - public IWorkbookChartFillRequestBuilder fill() { - return new WorkbookChartFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - public IWorkbookChartFontRequestBuilder font() { - return new WorkbookChartFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequest.java deleted file mode 100644 index 75ac05c5457..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartTitleRequest; -import com.microsoft.graph.models.extensions.WorkbookChartTitle; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Title Request. - */ -public class BaseWorkbookChartTitleRequest extends BaseRequest implements IBaseWorkbookChartTitleRequest { - - /** - * The request for the WorkbookChartTitle - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookChartTitleRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookChartTitle from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookChartTitle from the service - * - * @return the WorkbookChartTitle from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartTitle get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookChartTitle with a source - * - * @param sourceWorkbookChartTitle the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookChartTitle sourceWorkbookChartTitle, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookChartTitle); - } - - /** - * Patches this WorkbookChartTitle with a source - * - * @param sourceWorkbookChartTitle the source object with updates - * @return the updated WorkbookChartTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartTitle patch(final WorkbookChartTitle sourceWorkbookChartTitle) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookChartTitle); - } - - /** - * Creates a WorkbookChartTitle with a new object - * - * @param newWorkbookChartTitle the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookChartTitle newWorkbookChartTitle, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookChartTitle); - } - - /** - * Creates a WorkbookChartTitle with a new object - * - * @param newWorkbookChartTitle the new object to create - * @return the created WorkbookChartTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookChartTitle post(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException { - return send(HttpMethod.POST, newWorkbookChartTitle); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookChartTitleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookChartTitleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookChartTitleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookChartTitleRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequestBuilder.java deleted file mode 100644 index 8e4d3a5c54e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookChartTitleRequestBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequest; -import com.microsoft.graph.requests.extensions.WorkbookChartTitleRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartTitleFormatRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Chart Title Request Builder. - */ -public class BaseWorkbookChartTitleRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookChartTitleRequestBuilder { - - /** - * The request builder for the WorkbookChartTitle - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookChartTitleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookChartTitleRequest instance - */ - public IWorkbookChartTitleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookChartTitleRequest instance - */ - public IWorkbookChartTitleRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookChartTitleRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookChartTitleFormat - * - * @return the IWorkbookChartTitleFormatRequestBuilder instance - */ - public IWorkbookChartTitleFormatRequestBuilder format() { - return new WorkbookChartTitleFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequest.java deleted file mode 100644 index cae7570dd8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; -import com.microsoft.graph.requests.extensions.WorkbookCloseSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Close Session Request. - */ -public class BaseWorkbookCloseSessionRequest extends BaseRequest implements IBaseWorkbookCloseSessionRequest { - - /** - * The request for this WorkbookCloseSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookCloseSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookCloseSession - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookCloseSession - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequestBuilder.java deleted file mode 100644 index dcf19309dee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCloseSessionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; -import com.microsoft.graph.requests.extensions.WorkbookCloseSessionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Close Session Request Builder. - */ -public class BaseWorkbookCloseSessionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookCloseSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookCloseSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookCloseSessionRequest - * - * @return the IWorkbookCloseSessionRequest instance - */ - public IWorkbookCloseSessionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookCloseSessionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookCloseSessionRequest instance - */ - public IWorkbookCloseSessionRequest buildRequest(final java.util.List requestOptions) { - WorkbookCloseSessionRequest request = new WorkbookCloseSessionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequest.java deleted file mode 100644 index 752f6c55074..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookCreateSessionBody; -import com.microsoft.graph.models.extensions.WorkbookSessionInfo; -import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; -import com.microsoft.graph.requests.extensions.WorkbookCreateSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Create Session Request. - */ -public class BaseWorkbookCreateSessionRequest extends BaseRequest implements IBaseWorkbookCreateSessionRequest { - protected final WorkbookCreateSessionBody body; - - /** - * The request for this WorkbookCreateSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookCreateSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookSessionInfo.class); - body = new WorkbookCreateSessionBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookSessionInfo post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookCreateSessionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookCreateSessionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookCreateSessionRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookCreateSessionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookCreateSessionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookCreateSessionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequestBuilder.java deleted file mode 100644 index c9667e14bfe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookCreateSessionRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; -import com.microsoft.graph.requests.extensions.WorkbookCreateSessionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Create Session Request Builder. - */ -public class BaseWorkbookCreateSessionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookCreateSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param persistChanges the persistChanges - */ - public BaseWorkbookCreateSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean persistChanges) { - super(requestUrl, client, requestOptions); - bodyParams.put("persistChanges", persistChanges); - } - - /** - * Creates the IWorkbookCreateSessionRequest - * - * @return the IWorkbookCreateSessionRequest instance - */ - public IWorkbookCreateSessionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookCreateSessionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookCreateSessionRequest instance - */ - public IWorkbookCreateSessionRequest buildRequest(final java.util.List requestOptions) { - WorkbookCreateSessionRequest request = new WorkbookCreateSessionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("persistChanges")) { - request.body.persistChanges = getParameter("persistChanges"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequest.java deleted file mode 100644 index 640d41aece2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyBottomItemsFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomItemsFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Bottom Items Filter Request. - */ -public class BaseWorkbookFilterApplyBottomItemsFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyBottomItemsFilterRequest { - protected final WorkbookFilterApplyBottomItemsFilterBody body; - - /** - * The request for this WorkbookFilterApplyBottomItemsFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyBottomItemsFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyBottomItemsFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyBottomItemsFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyBottomItemsFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyBottomItemsFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyBottomItemsFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyBottomItemsFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyBottomItemsFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java deleted file mode 100644 index 0ba417c5096..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomItemsFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Bottom Items Filter Request Builder. - */ -public class BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyBottomItemsFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param count the count - */ - public BaseWorkbookFilterApplyBottomItemsFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions); - bodyParams.put("count", count); - } - - /** - * Creates the IWorkbookFilterApplyBottomItemsFilterRequest - * - * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance - */ - public IWorkbookFilterApplyBottomItemsFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyBottomItemsFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance - */ - public IWorkbookFilterApplyBottomItemsFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyBottomItemsFilterRequest request = new WorkbookFilterApplyBottomItemsFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("count")) { - request.body.count = getParameter("count"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequest.java deleted file mode 100644 index 94b5d13e47a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyBottomPercentFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomPercentFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Bottom Percent Filter Request. - */ -public class BaseWorkbookFilterApplyBottomPercentFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyBottomPercentFilterRequest { - protected final WorkbookFilterApplyBottomPercentFilterBody body; - - /** - * The request for this WorkbookFilterApplyBottomPercentFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyBottomPercentFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyBottomPercentFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyBottomPercentFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyBottomPercentFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyBottomPercentFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyBottomPercentFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyBottomPercentFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyBottomPercentFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java deleted file mode 100644 index 9bec0e0a7d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomPercentFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Bottom Percent Filter Request Builder. - */ -public class BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyBottomPercentFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param percent the percent - */ - public BaseWorkbookFilterApplyBottomPercentFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer percent) { - super(requestUrl, client, requestOptions); - bodyParams.put("percent", percent); - } - - /** - * Creates the IWorkbookFilterApplyBottomPercentFilterRequest - * - * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance - */ - public IWorkbookFilterApplyBottomPercentFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyBottomPercentFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance - */ - public IWorkbookFilterApplyBottomPercentFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyBottomPercentFilterRequest request = new WorkbookFilterApplyBottomPercentFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("percent")) { - request.body.percent = getParameter("percent"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequest.java deleted file mode 100644 index 7c585522337..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyCellColorFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCellColorFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Cell Color Filter Request. - */ -public class BaseWorkbookFilterApplyCellColorFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyCellColorFilterRequest { - protected final WorkbookFilterApplyCellColorFilterBody body; - - /** - * The request for this WorkbookFilterApplyCellColorFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyCellColorFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyCellColorFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyCellColorFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyCellColorFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyCellColorFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyCellColorFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyCellColorFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyCellColorFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequestBuilder.java deleted file mode 100644 index 33b016cdabc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCellColorFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCellColorFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Cell Color Filter Request Builder. - */ -public class BaseWorkbookFilterApplyCellColorFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyCellColorFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param color the color - */ - public BaseWorkbookFilterApplyCellColorFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String color) { - super(requestUrl, client, requestOptions); - bodyParams.put("color", color); - } - - /** - * Creates the IWorkbookFilterApplyCellColorFilterRequest - * - * @return the IWorkbookFilterApplyCellColorFilterRequest instance - */ - public IWorkbookFilterApplyCellColorFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyCellColorFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyCellColorFilterRequest instance - */ - public IWorkbookFilterApplyCellColorFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyCellColorFilterRequest request = new WorkbookFilterApplyCellColorFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("color")) { - request.body.color = getParameter("color"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequest.java deleted file mode 100644 index 76061b3025f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyCustomFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCustomFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Custom Filter Request. - */ -public class BaseWorkbookFilterApplyCustomFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyCustomFilterRequest { - protected final WorkbookFilterApplyCustomFilterBody body; - - /** - * The request for this WorkbookFilterApplyCustomFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyCustomFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyCustomFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyCustomFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyCustomFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyCustomFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyCustomFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyCustomFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyCustomFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequestBuilder.java deleted file mode 100644 index 1af7b25145a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyCustomFilterRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCustomFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Custom Filter Request Builder. - */ -public class BaseWorkbookFilterApplyCustomFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyCustomFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param criteria1 the criteria1 - * @param criteria2 the criteria2 - * @param oper the oper - */ - public BaseWorkbookFilterApplyCustomFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String criteria1, final String criteria2, final String oper) { - super(requestUrl, client, requestOptions); - bodyParams.put("criteria1", criteria1); - bodyParams.put("criteria2", criteria2); - bodyParams.put("oper", oper); - } - - /** - * Creates the IWorkbookFilterApplyCustomFilterRequest - * - * @return the IWorkbookFilterApplyCustomFilterRequest instance - */ - public IWorkbookFilterApplyCustomFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyCustomFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyCustomFilterRequest instance - */ - public IWorkbookFilterApplyCustomFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyCustomFilterRequest request = new WorkbookFilterApplyCustomFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("criteria1")) { - request.body.criteria1 = getParameter("criteria1"); - } - - if (hasParameter("criteria2")) { - request.body.criteria2 = getParameter("criteria2"); - } - - if (hasParameter("oper")) { - request.body.oper = getParameter("oper"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequest.java deleted file mode 100644 index 7592e821a90..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyDynamicFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyDynamicFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Dynamic Filter Request. - */ -public class BaseWorkbookFilterApplyDynamicFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyDynamicFilterRequest { - protected final WorkbookFilterApplyDynamicFilterBody body; - - /** - * The request for this WorkbookFilterApplyDynamicFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyDynamicFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyDynamicFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyDynamicFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyDynamicFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyDynamicFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyDynamicFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyDynamicFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyDynamicFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequestBuilder.java deleted file mode 100644 index 530ce4cf602..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyDynamicFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyDynamicFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Dynamic Filter Request Builder. - */ -public class BaseWorkbookFilterApplyDynamicFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyDynamicFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param criteria the criteria - */ - public BaseWorkbookFilterApplyDynamicFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFilterApplyDynamicFilterRequest - * - * @return the IWorkbookFilterApplyDynamicFilterRequest instance - */ - public IWorkbookFilterApplyDynamicFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyDynamicFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyDynamicFilterRequest instance - */ - public IWorkbookFilterApplyDynamicFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyDynamicFilterRequest request = new WorkbookFilterApplyDynamicFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequest.java deleted file mode 100644 index df353398943..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyFontColorFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyFontColorFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Font Color Filter Request. - */ -public class BaseWorkbookFilterApplyFontColorFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyFontColorFilterRequest { - protected final WorkbookFilterApplyFontColorFilterBody body; - - /** - * The request for this WorkbookFilterApplyFontColorFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyFontColorFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyFontColorFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyFontColorFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyFontColorFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyFontColorFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyFontColorFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyFontColorFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyFontColorFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequestBuilder.java deleted file mode 100644 index 1e06c49869a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyFontColorFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyFontColorFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Font Color Filter Request Builder. - */ -public class BaseWorkbookFilterApplyFontColorFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyFontColorFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param color the color - */ - public BaseWorkbookFilterApplyFontColorFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String color) { - super(requestUrl, client, requestOptions); - bodyParams.put("color", color); - } - - /** - * Creates the IWorkbookFilterApplyFontColorFilterRequest - * - * @return the IWorkbookFilterApplyFontColorFilterRequest instance - */ - public IWorkbookFilterApplyFontColorFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyFontColorFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyFontColorFilterRequest instance - */ - public IWorkbookFilterApplyFontColorFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyFontColorFilterRequest request = new WorkbookFilterApplyFontColorFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("color")) { - request.body.color = getParameter("color"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequest.java deleted file mode 100644 index fec39ec1893..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyIconFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyIconFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Icon Filter Request. - */ -public class BaseWorkbookFilterApplyIconFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyIconFilterRequest { - protected final WorkbookFilterApplyIconFilterBody body; - - /** - * The request for this WorkbookFilterApplyIconFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyIconFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyIconFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyIconFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyIconFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyIconFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyIconFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyIconFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyIconFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequestBuilder.java deleted file mode 100644 index 3e6e131cdb6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyIconFilterRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyIconFilterRequest; -import com.microsoft.graph.models.extensions.WorkbookIcon; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Icon Filter Request Builder. - */ -public class BaseWorkbookFilterApplyIconFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyIconFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param icon the icon - */ - public BaseWorkbookFilterApplyIconFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final WorkbookIcon icon) { - super(requestUrl, client, requestOptions); - bodyParams.put("icon", icon); - } - - /** - * Creates the IWorkbookFilterApplyIconFilterRequest - * - * @return the IWorkbookFilterApplyIconFilterRequest instance - */ - public IWorkbookFilterApplyIconFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyIconFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyIconFilterRequest instance - */ - public IWorkbookFilterApplyIconFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyIconFilterRequest request = new WorkbookFilterApplyIconFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("icon")) { - request.body.icon = getParameter("icon"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequest.java deleted file mode 100644 index 255aa2b62f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Request. - */ -public class BaseWorkbookFilterApplyRequest extends BaseRequest implements IBaseWorkbookFilterApplyRequest { - protected final WorkbookFilterApplyBody body; - - /** - * The request for this WorkbookFilterApply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequestBuilder.java deleted file mode 100644 index fef5b6c76ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyRequest; -import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Request Builder. - */ -public class BaseWorkbookFilterApplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param criteria the criteria - */ - public BaseWorkbookFilterApplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final WorkbookFilterCriteria criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFilterApplyRequest - * - * @return the IWorkbookFilterApplyRequest instance - */ - public IWorkbookFilterApplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyRequest instance - */ - public IWorkbookFilterApplyRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyRequest request = new WorkbookFilterApplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequest.java deleted file mode 100644 index e9e1e95db98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyTopItemsFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopItemsFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Top Items Filter Request. - */ -public class BaseWorkbookFilterApplyTopItemsFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyTopItemsFilterRequest { - protected final WorkbookFilterApplyTopItemsFilterBody body; - - /** - * The request for this WorkbookFilterApplyTopItemsFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyTopItemsFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyTopItemsFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyTopItemsFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyTopItemsFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyTopItemsFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyTopItemsFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyTopItemsFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyTopItemsFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java deleted file mode 100644 index a5b986323ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopItemsFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Top Items Filter Request Builder. - */ -public class BaseWorkbookFilterApplyTopItemsFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyTopItemsFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param count the count - */ - public BaseWorkbookFilterApplyTopItemsFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions); - bodyParams.put("count", count); - } - - /** - * Creates the IWorkbookFilterApplyTopItemsFilterRequest - * - * @return the IWorkbookFilterApplyTopItemsFilterRequest instance - */ - public IWorkbookFilterApplyTopItemsFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyTopItemsFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyTopItemsFilterRequest instance - */ - public IWorkbookFilterApplyTopItemsFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyTopItemsFilterRequest request = new WorkbookFilterApplyTopItemsFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("count")) { - request.body.count = getParameter("count"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequest.java deleted file mode 100644 index 8d7b313f609..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyTopPercentFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopPercentFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Top Percent Filter Request. - */ -public class BaseWorkbookFilterApplyTopPercentFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyTopPercentFilterRequest { - protected final WorkbookFilterApplyTopPercentFilterBody body; - - /** - * The request for this WorkbookFilterApplyTopPercentFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyTopPercentFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyTopPercentFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyTopPercentFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyTopPercentFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyTopPercentFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyTopPercentFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyTopPercentFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyTopPercentFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java deleted file mode 100644 index 1bf5bd83895..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopPercentFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Top Percent Filter Request Builder. - */ -public class BaseWorkbookFilterApplyTopPercentFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyTopPercentFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param percent the percent - */ - public BaseWorkbookFilterApplyTopPercentFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer percent) { - super(requestUrl, client, requestOptions); - bodyParams.put("percent", percent); - } - - /** - * Creates the IWorkbookFilterApplyTopPercentFilterRequest - * - * @return the IWorkbookFilterApplyTopPercentFilterRequest instance - */ - public IWorkbookFilterApplyTopPercentFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyTopPercentFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyTopPercentFilterRequest instance - */ - public IWorkbookFilterApplyTopPercentFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyTopPercentFilterRequest request = new WorkbookFilterApplyTopPercentFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("percent")) { - request.body.percent = getParameter("percent"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequest.java deleted file mode 100644 index 96d77f9fb91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilterApplyValuesFilterBody; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyValuesFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Values Filter Request. - */ -public class BaseWorkbookFilterApplyValuesFilterRequest extends BaseRequest implements IBaseWorkbookFilterApplyValuesFilterRequest { - protected final WorkbookFilterApplyValuesFilterBody body; - - /** - * The request for this WorkbookFilterApplyValuesFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterApplyValuesFilterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookFilterApplyValuesFilterBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterApplyValuesFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterApplyValuesFilterRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFilterApplyValuesFilterRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFilterApplyValuesFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterApplyValuesFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterApplyValuesFilterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequestBuilder.java deleted file mode 100644 index 04a9f5f237c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterApplyValuesFilterRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyValuesFilterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Apply Values Filter Request Builder. - */ -public class BaseWorkbookFilterApplyValuesFilterRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterApplyValuesFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFilterApplyValuesFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFilterApplyValuesFilterRequest - * - * @return the IWorkbookFilterApplyValuesFilterRequest instance - */ - public IWorkbookFilterApplyValuesFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterApplyValuesFilterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyValuesFilterRequest instance - */ - public IWorkbookFilterApplyValuesFilterRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterApplyValuesFilterRequest request = new WorkbookFilterApplyValuesFilterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequest.java deleted file mode 100644 index 9882825df34..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Clear Request. - */ -public class BaseWorkbookFilterClearRequest extends BaseRequest implements IBaseWorkbookFilterClearRequest { - - /** - * The request for this WorkbookFilterClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookFilterClear - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookFilterClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequestBuilder.java deleted file mode 100644 index 04806d076cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterClearRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterClearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Clear Request Builder. - */ -public class BaseWorkbookFilterClearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFilterClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFilterClearRequest - * - * @return the IWorkbookFilterClearRequest instance - */ - public IWorkbookFilterClearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFilterClearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterClearRequest instance - */ - public IWorkbookFilterClearRequest buildRequest(final java.util.List requestOptions) { - WorkbookFilterClearRequest request = new WorkbookFilterClearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequest.java deleted file mode 100644 index c2aa1a998c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterRequest; -import com.microsoft.graph.models.extensions.WorkbookFilter; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Request. - */ -public class BaseWorkbookFilterRequest extends BaseRequest implements IBaseWorkbookFilterRequest { - - /** - * The request for the WorkbookFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookFilterRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookFilter from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookFilter from the service - * - * @return the WorkbookFilter from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFilter get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookFilter with a source - * - * @param sourceWorkbookFilter the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookFilter sourceWorkbookFilter, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookFilter); - } - - /** - * Patches this WorkbookFilter with a source - * - * @param sourceWorkbookFilter the source object with updates - * @return the updated WorkbookFilter - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFilter patch(final WorkbookFilter sourceWorkbookFilter) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookFilter); - } - - /** - * Creates a WorkbookFilter with a new object - * - * @param newWorkbookFilter the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookFilter newWorkbookFilter, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookFilter); - } - - /** - * Creates a WorkbookFilter with a new object - * - * @param newWorkbookFilter the new object to create - * @return the created WorkbookFilter - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFilter post(final WorkbookFilter newWorkbookFilter) throws ClientException { - return send(HttpMethod.POST, newWorkbookFilter); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFilterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFilterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFilterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFilterRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequestBuilder.java deleted file mode 100644 index 38825ecf265..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFilterRequestBuilder.java +++ /dev/null @@ -1,126 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterRequest; -import com.microsoft.graph.requests.extensions.WorkbookFilterRequest; -import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomItemsFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyBottomPercentFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCellColorFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyCustomFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyDynamicFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyFontColorFilterRequestBuilder; -import com.microsoft.graph.models.extensions.WorkbookIcon; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyIconFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopItemsFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyTopPercentFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterApplyValuesFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterClearRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Filter Request Builder. - */ -public class BaseWorkbookFilterRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookFilterRequestBuilder { - - /** - * The request builder for the WorkbookFilter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFilterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookFilterRequest instance - */ - public IWorkbookFilterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookFilterRequest instance - */ - public IWorkbookFilterRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookFilterRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookFilterApplyRequestBuilder apply(final WorkbookFilterCriteria criteria) { - return new WorkbookFilterApplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.apply"), getClient(), null, criteria); - } - - public IWorkbookFilterApplyBottomItemsFilterRequestBuilder applyBottomItemsFilter(final Integer count) { - return new WorkbookFilterApplyBottomItemsFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyBottomItemsFilter"), getClient(), null, count); - } - - public IWorkbookFilterApplyBottomPercentFilterRequestBuilder applyBottomPercentFilter(final Integer percent) { - return new WorkbookFilterApplyBottomPercentFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyBottomPercentFilter"), getClient(), null, percent); - } - - public IWorkbookFilterApplyCellColorFilterRequestBuilder applyCellColorFilter(final String color) { - return new WorkbookFilterApplyCellColorFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyCellColorFilter"), getClient(), null, color); - } - - public IWorkbookFilterApplyCustomFilterRequestBuilder applyCustomFilter(final String criteria1, final String criteria2, final String oper) { - return new WorkbookFilterApplyCustomFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyCustomFilter"), getClient(), null, criteria1, criteria2, oper); - } - - public IWorkbookFilterApplyDynamicFilterRequestBuilder applyDynamicFilter(final String criteria) { - return new WorkbookFilterApplyDynamicFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyDynamicFilter"), getClient(), null, criteria); - } - - public IWorkbookFilterApplyFontColorFilterRequestBuilder applyFontColorFilter(final String color) { - return new WorkbookFilterApplyFontColorFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyFontColorFilter"), getClient(), null, color); - } - - public IWorkbookFilterApplyIconFilterRequestBuilder applyIconFilter(final WorkbookIcon icon) { - return new WorkbookFilterApplyIconFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyIconFilter"), getClient(), null, icon); - } - - public IWorkbookFilterApplyTopItemsFilterRequestBuilder applyTopItemsFilter(final Integer count) { - return new WorkbookFilterApplyTopItemsFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyTopItemsFilter"), getClient(), null, count); - } - - public IWorkbookFilterApplyTopPercentFilterRequestBuilder applyTopPercentFilter(final Integer percent) { - return new WorkbookFilterApplyTopPercentFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyTopPercentFilter"), getClient(), null, percent); - } - - public IWorkbookFilterApplyValuesFilterRequestBuilder applyValuesFilter(final com.google.gson.JsonElement values) { - return new WorkbookFilterApplyValuesFilterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.applyValuesFilter"), getClient(), null, values); - } - - public IWorkbookFilterClearRequestBuilder clear() { - return new WorkbookFilterClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequest.java deleted file mode 100644 index 1acb7e88661..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequest; -import com.microsoft.graph.requests.extensions.WorkbookFormatProtectionRequest; -import com.microsoft.graph.models.extensions.WorkbookFormatProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Format Protection Request. - */ -public class BaseWorkbookFormatProtectionRequest extends BaseRequest implements IBaseWorkbookFormatProtectionRequest { - - /** - * The request for the WorkbookFormatProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookFormatProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookFormatProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookFormatProtection from the service - * - * @return the WorkbookFormatProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFormatProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookFormatProtection with a source - * - * @param sourceWorkbookFormatProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookFormatProtection sourceWorkbookFormatProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookFormatProtection); - } - - /** - * Patches this WorkbookFormatProtection with a source - * - * @param sourceWorkbookFormatProtection the source object with updates - * @return the updated WorkbookFormatProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFormatProtection patch(final WorkbookFormatProtection sourceWorkbookFormatProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookFormatProtection); - } - - /** - * Creates a WorkbookFormatProtection with a new object - * - * @param newWorkbookFormatProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookFormatProtection newWorkbookFormatProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookFormatProtection); - } - - /** - * Creates a WorkbookFormatProtection with a new object - * - * @param newWorkbookFormatProtection the new object to create - * @return the created WorkbookFormatProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFormatProtection post(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException { - return send(HttpMethod.POST, newWorkbookFormatProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFormatProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFormatProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFormatProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFormatProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequestBuilder.java deleted file mode 100644 index 710aa4f389d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFormatProtectionRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequest; -import com.microsoft.graph.requests.extensions.WorkbookFormatProtectionRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Format Protection Request Builder. - */ -public class BaseWorkbookFormatProtectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookFormatProtectionRequestBuilder { - - /** - * The request builder for the WorkbookFormatProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFormatProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookFormatProtectionRequest instance - */ - public IWorkbookFormatProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookFormatProtectionRequest instance - */ - public IWorkbookFormatProtectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookFormatProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequest.java deleted file mode 100644 index 597cd78fd79..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionResultRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionResultRequest; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Function Result Request. - */ -public class BaseWorkbookFunctionResultRequest extends BaseRequest implements IBaseWorkbookFunctionResultRequest { - - /** - * The request for the WorkbookFunctionResult - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookFunctionResultRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookFunctionResult from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookFunctionResult from the service - * - * @return the WorkbookFunctionResult from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFunctionResult get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookFunctionResult with a source - * - * @param sourceWorkbookFunctionResult the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookFunctionResult sourceWorkbookFunctionResult, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookFunctionResult); - } - - /** - * Patches this WorkbookFunctionResult with a source - * - * @param sourceWorkbookFunctionResult the source object with updates - * @return the updated WorkbookFunctionResult - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFunctionResult patch(final WorkbookFunctionResult sourceWorkbookFunctionResult) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookFunctionResult); - } - - /** - * Creates a WorkbookFunctionResult with a new object - * - * @param newWorkbookFunctionResult the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookFunctionResult newWorkbookFunctionResult, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookFunctionResult); - } - - /** - * Creates a WorkbookFunctionResult with a new object - * - * @param newWorkbookFunctionResult the new object to create - * @return the created WorkbookFunctionResult - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFunctionResult post(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException { - return send(HttpMethod.POST, newWorkbookFunctionResult); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionResultRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionResultRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionResultRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionResultRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequestBuilder.java deleted file mode 100644 index 0053d94899b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionResultRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionResultRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionResultRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Function Result Request Builder. - */ -public class BaseWorkbookFunctionResultRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookFunctionResultRequestBuilder { - - /** - * The request builder for the WorkbookFunctionResult - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionResultRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookFunctionResultRequest instance - */ - public IWorkbookFunctionResultRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookFunctionResultRequest instance - */ - public IWorkbookFunctionResultRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookFunctionResultRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequest.java deleted file mode 100644 index e20bb2be6ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAbsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAbsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Abs Request. - */ -public class BaseWorkbookFunctionsAbsRequest extends BaseRequest implements IBaseWorkbookFunctionsAbsRequest { - protected final WorkbookFunctionsAbsBody body; - - /** - * The request for this WorkbookFunctionsAbs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAbsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAbsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAbsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAbsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAbsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAbsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAbsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAbsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequestBuilder.java deleted file mode 100644 index fb301da96c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAbsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAbsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Abs Request Builder. - */ -public class BaseWorkbookFunctionsAbsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAbs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAbsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAbsRequest - * - * @return the IWorkbookFunctionsAbsRequest instance - */ - public IWorkbookFunctionsAbsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAbsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAbsRequest instance - */ - public IWorkbookFunctionsAbsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAbsRequest request = new WorkbookFunctionsAbsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequest.java deleted file mode 100644 index 379fff12878..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAccrIntMBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntMRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Accr Int MRequest. - */ -public class BaseWorkbookFunctionsAccrIntMRequest extends BaseRequest implements IBaseWorkbookFunctionsAccrIntMRequest { - protected final WorkbookFunctionsAccrIntMBody body; - - /** - * The request for this WorkbookFunctionsAccrIntM - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAccrIntMRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAccrIntMBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAccrIntMRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAccrIntMRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAccrIntMRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAccrIntMRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAccrIntMRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAccrIntMRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequestBuilder.java deleted file mode 100644 index ed37d33cd27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntMRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntMRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Accr Int MRequest Builder. - */ -public class BaseWorkbookFunctionsAccrIntMRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAccrIntM - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param issue the issue - * @param settlement the settlement - * @param rate the rate - * @param par the par - * @param basis the basis - */ - public BaseWorkbookFunctionsAccrIntMRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("issue", issue); - bodyParams.put("settlement", settlement); - bodyParams.put("rate", rate); - bodyParams.put("par", par); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsAccrIntMRequest - * - * @return the IWorkbookFunctionsAccrIntMRequest instance - */ - public IWorkbookFunctionsAccrIntMRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAccrIntMRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAccrIntMRequest instance - */ - public IWorkbookFunctionsAccrIntMRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAccrIntMRequest request = new WorkbookFunctionsAccrIntMRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("issue")) { - request.body.issue = getParameter("issue"); - } - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("par")) { - request.body.par = getParameter("par"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequest.java deleted file mode 100644 index 60a19fe67b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAccrIntBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Accr Int Request. - */ -public class BaseWorkbookFunctionsAccrIntRequest extends BaseRequest implements IBaseWorkbookFunctionsAccrIntRequest { - protected final WorkbookFunctionsAccrIntBody body; - - /** - * The request for this WorkbookFunctionsAccrInt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAccrIntRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAccrIntBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAccrIntRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAccrIntRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAccrIntRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAccrIntRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAccrIntRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAccrIntRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequestBuilder.java deleted file mode 100644 index a624b369147..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAccrIntRequestBuilder.java +++ /dev/null @@ -1,106 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Accr Int Request Builder. - */ -public class BaseWorkbookFunctionsAccrIntRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAccrInt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param issue the issue - * @param firstInterest the firstInterest - * @param settlement the settlement - * @param rate the rate - * @param par the par - * @param frequency the frequency - * @param basis the basis - * @param calcMethod the calcMethod - */ - public BaseWorkbookFunctionsAccrIntRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstInterest, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis, final com.google.gson.JsonElement calcMethod) { - super(requestUrl, client, requestOptions); - bodyParams.put("issue", issue); - bodyParams.put("firstInterest", firstInterest); - bodyParams.put("settlement", settlement); - bodyParams.put("rate", rate); - bodyParams.put("par", par); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - bodyParams.put("calcMethod", calcMethod); - } - - /** - * Creates the IWorkbookFunctionsAccrIntRequest - * - * @return the IWorkbookFunctionsAccrIntRequest instance - */ - public IWorkbookFunctionsAccrIntRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAccrIntRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAccrIntRequest instance - */ - public IWorkbookFunctionsAccrIntRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAccrIntRequest request = new WorkbookFunctionsAccrIntRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("issue")) { - request.body.issue = getParameter("issue"); - } - - if (hasParameter("firstInterest")) { - request.body.firstInterest = getParameter("firstInterest"); - } - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("par")) { - request.body.par = getParameter("par"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - if (hasParameter("calcMethod")) { - request.body.calcMethod = getParameter("calcMethod"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequest.java deleted file mode 100644 index b439ca4d462..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAcosBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcosRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acos Request. - */ -public class BaseWorkbookFunctionsAcosRequest extends BaseRequest implements IBaseWorkbookFunctionsAcosRequest { - protected final WorkbookFunctionsAcosBody body; - - /** - * The request for this WorkbookFunctionsAcos - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAcosRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAcosBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAcosRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAcosRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAcosRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAcosRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAcosRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAcosRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequestBuilder.java deleted file mode 100644 index e139fbbee3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcosRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcosRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acos Request Builder. - */ -public class BaseWorkbookFunctionsAcosRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAcos - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAcosRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAcosRequest - * - * @return the IWorkbookFunctionsAcosRequest instance - */ - public IWorkbookFunctionsAcosRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAcosRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcosRequest instance - */ - public IWorkbookFunctionsAcosRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAcosRequest request = new WorkbookFunctionsAcosRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequest.java deleted file mode 100644 index b55b55d4b3c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAcoshBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcoshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acosh Request. - */ -public class BaseWorkbookFunctionsAcoshRequest extends BaseRequest implements IBaseWorkbookFunctionsAcoshRequest { - protected final WorkbookFunctionsAcoshBody body; - - /** - * The request for this WorkbookFunctionsAcosh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAcoshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAcoshBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAcoshRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAcoshRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAcoshRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAcoshRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAcoshRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAcoshRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequestBuilder.java deleted file mode 100644 index 88903977edb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcoshRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcoshRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acosh Request Builder. - */ -public class BaseWorkbookFunctionsAcoshRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAcosh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAcoshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAcoshRequest - * - * @return the IWorkbookFunctionsAcoshRequest instance - */ - public IWorkbookFunctionsAcoshRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAcoshRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcoshRequest instance - */ - public IWorkbookFunctionsAcoshRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAcoshRequest request = new WorkbookFunctionsAcoshRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequest.java deleted file mode 100644 index 2405ea9f310..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAcotBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acot Request. - */ -public class BaseWorkbookFunctionsAcotRequest extends BaseRequest implements IBaseWorkbookFunctionsAcotRequest { - protected final WorkbookFunctionsAcotBody body; - - /** - * The request for this WorkbookFunctionsAcot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAcotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAcotBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAcotRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAcotRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAcotRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAcotRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAcotRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAcotRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequestBuilder.java deleted file mode 100644 index 5715390509b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcotRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcotRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acot Request Builder. - */ -public class BaseWorkbookFunctionsAcotRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAcot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAcotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAcotRequest - * - * @return the IWorkbookFunctionsAcotRequest instance - */ - public IWorkbookFunctionsAcotRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAcotRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcotRequest instance - */ - public IWorkbookFunctionsAcotRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAcotRequest request = new WorkbookFunctionsAcotRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequest.java deleted file mode 100644 index 15da2ea22df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAcothBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcothRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acoth Request. - */ -public class BaseWorkbookFunctionsAcothRequest extends BaseRequest implements IBaseWorkbookFunctionsAcothRequest { - protected final WorkbookFunctionsAcothBody body; - - /** - * The request for this WorkbookFunctionsAcoth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAcothRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAcothBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAcothRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAcothRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAcothRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAcothRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAcothRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAcothRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequestBuilder.java deleted file mode 100644 index 1781f4a5e3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAcothRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcothRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Acoth Request Builder. - */ -public class BaseWorkbookFunctionsAcothRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAcoth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAcothRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAcothRequest - * - * @return the IWorkbookFunctionsAcothRequest instance - */ - public IWorkbookFunctionsAcothRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAcothRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcothRequest instance - */ - public IWorkbookFunctionsAcothRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAcothRequest request = new WorkbookFunctionsAcothRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequest.java deleted file mode 100644 index 33a47acc69f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAmorDegrcBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorDegrcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Amor Degrc Request. - */ -public class BaseWorkbookFunctionsAmorDegrcRequest extends BaseRequest implements IBaseWorkbookFunctionsAmorDegrcRequest { - protected final WorkbookFunctionsAmorDegrcBody body; - - /** - * The request for this WorkbookFunctionsAmorDegrc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAmorDegrcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAmorDegrcBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAmorDegrcRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAmorDegrcRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAmorDegrcRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAmorDegrcRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAmorDegrcRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAmorDegrcRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequestBuilder.java deleted file mode 100644 index 26d3a6bd06f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorDegrcRequestBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorDegrcRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Amor Degrc Request Builder. - */ -public class BaseWorkbookFunctionsAmorDegrcRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAmorDegrc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param datePurchased the datePurchased - * @param firstPeriod the firstPeriod - * @param salvage the salvage - * @param period the period - * @param rate the rate - * @param basis the basis - */ - public BaseWorkbookFunctionsAmorDegrcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("datePurchased", datePurchased); - bodyParams.put("firstPeriod", firstPeriod); - bodyParams.put("salvage", salvage); - bodyParams.put("period", period); - bodyParams.put("rate", rate); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsAmorDegrcRequest - * - * @return the IWorkbookFunctionsAmorDegrcRequest instance - */ - public IWorkbookFunctionsAmorDegrcRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAmorDegrcRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAmorDegrcRequest instance - */ - public IWorkbookFunctionsAmorDegrcRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAmorDegrcRequest request = new WorkbookFunctionsAmorDegrcRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("datePurchased")) { - request.body.datePurchased = getParameter("datePurchased"); - } - - if (hasParameter("firstPeriod")) { - request.body.firstPeriod = getParameter("firstPeriod"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("period")) { - request.body.period = getParameter("period"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequest.java deleted file mode 100644 index 96691240d76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAmorLincBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorLincRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Amor Linc Request. - */ -public class BaseWorkbookFunctionsAmorLincRequest extends BaseRequest implements IBaseWorkbookFunctionsAmorLincRequest { - protected final WorkbookFunctionsAmorLincBody body; - - /** - * The request for this WorkbookFunctionsAmorLinc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAmorLincRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAmorLincBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAmorLincRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAmorLincRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAmorLincRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAmorLincRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAmorLincRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAmorLincRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequestBuilder.java deleted file mode 100644 index 0ce04997bfc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAmorLincRequestBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorLincRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Amor Linc Request Builder. - */ -public class BaseWorkbookFunctionsAmorLincRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAmorLinc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param datePurchased the datePurchased - * @param firstPeriod the firstPeriod - * @param salvage the salvage - * @param period the period - * @param rate the rate - * @param basis the basis - */ - public BaseWorkbookFunctionsAmorLincRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("datePurchased", datePurchased); - bodyParams.put("firstPeriod", firstPeriod); - bodyParams.put("salvage", salvage); - bodyParams.put("period", period); - bodyParams.put("rate", rate); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsAmorLincRequest - * - * @return the IWorkbookFunctionsAmorLincRequest instance - */ - public IWorkbookFunctionsAmorLincRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAmorLincRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAmorLincRequest instance - */ - public IWorkbookFunctionsAmorLincRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAmorLincRequest request = new WorkbookFunctionsAmorLincRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("datePurchased")) { - request.body.datePurchased = getParameter("datePurchased"); - } - - if (hasParameter("firstPeriod")) { - request.body.firstPeriod = getParameter("firstPeriod"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("period")) { - request.body.period = getParameter("period"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequest.java deleted file mode 100644 index 3255220330a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAndBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAndRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions And Request. - */ -public class BaseWorkbookFunctionsAndRequest extends BaseRequest implements IBaseWorkbookFunctionsAndRequest { - protected final WorkbookFunctionsAndBody body; - - /** - * The request for this WorkbookFunctionsAnd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAndRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAndBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAndRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAndRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAndRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAndRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAndRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAndRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequestBuilder.java deleted file mode 100644 index e42fa62cd53..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAndRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAndRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions And Request Builder. - */ -public class BaseWorkbookFunctionsAndRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAnd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsAndRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsAndRequest - * - * @return the IWorkbookFunctionsAndRequest instance - */ - public IWorkbookFunctionsAndRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAndRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAndRequest instance - */ - public IWorkbookFunctionsAndRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAndRequest request = new WorkbookFunctionsAndRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequest.java deleted file mode 100644 index 426253fcbf3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsArabicBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsArabicRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Arabic Request. - */ -public class BaseWorkbookFunctionsArabicRequest extends BaseRequest implements IBaseWorkbookFunctionsArabicRequest { - protected final WorkbookFunctionsArabicBody body; - - /** - * The request for this WorkbookFunctionsArabic - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsArabicRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsArabicBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsArabicRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsArabicRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsArabicRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsArabicRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsArabicRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsArabicRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequestBuilder.java deleted file mode 100644 index ff7c7d7aa08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsArabicRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsArabicRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Arabic Request Builder. - */ -public class BaseWorkbookFunctionsArabicRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsArabic - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsArabicRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsArabicRequest - * - * @return the IWorkbookFunctionsArabicRequest instance - */ - public IWorkbookFunctionsArabicRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsArabicRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsArabicRequest instance - */ - public IWorkbookFunctionsArabicRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsArabicRequest request = new WorkbookFunctionsArabicRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequest.java deleted file mode 100644 index 5e5ba154224..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAreasBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAreasRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Areas Request. - */ -public class BaseWorkbookFunctionsAreasRequest extends BaseRequest implements IBaseWorkbookFunctionsAreasRequest { - protected final WorkbookFunctionsAreasBody body; - - /** - * The request for this WorkbookFunctionsAreas - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAreasRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAreasBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAreasRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAreasRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAreasRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAreasRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAreasRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAreasRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequestBuilder.java deleted file mode 100644 index 6c200ca5249..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAreasRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAreasRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Areas Request Builder. - */ -public class BaseWorkbookFunctionsAreasRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAreas - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param reference the reference - */ - public BaseWorkbookFunctionsAreasRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement reference) { - super(requestUrl, client, requestOptions); - bodyParams.put("reference", reference); - } - - /** - * Creates the IWorkbookFunctionsAreasRequest - * - * @return the IWorkbookFunctionsAreasRequest instance - */ - public IWorkbookFunctionsAreasRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAreasRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAreasRequest instance - */ - public IWorkbookFunctionsAreasRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAreasRequest request = new WorkbookFunctionsAreasRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("reference")) { - request.body.reference = getParameter("reference"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequest.java deleted file mode 100644 index 5a29e68dd98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAscBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asc Request. - */ -public class BaseWorkbookFunctionsAscRequest extends BaseRequest implements IBaseWorkbookFunctionsAscRequest { - protected final WorkbookFunctionsAscBody body; - - /** - * The request for this WorkbookFunctionsAsc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAscBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAscRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAscRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAscRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAscRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAscRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAscRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequestBuilder.java deleted file mode 100644 index eea26f4ebb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAscRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAscRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asc Request Builder. - */ -public class BaseWorkbookFunctionsAscRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAsc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsAscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsAscRequest - * - * @return the IWorkbookFunctionsAscRequest instance - */ - public IWorkbookFunctionsAscRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAscRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAscRequest instance - */ - public IWorkbookFunctionsAscRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAscRequest request = new WorkbookFunctionsAscRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequest.java deleted file mode 100644 index e59334a780d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAsinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asin Request. - */ -public class BaseWorkbookFunctionsAsinRequest extends BaseRequest implements IBaseWorkbookFunctionsAsinRequest { - protected final WorkbookFunctionsAsinBody body; - - /** - * The request for this WorkbookFunctionsAsin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAsinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAsinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAsinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAsinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAsinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAsinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAsinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAsinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequestBuilder.java deleted file mode 100644 index ce9c6b05e53..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asin Request Builder. - */ -public class BaseWorkbookFunctionsAsinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAsin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAsinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAsinRequest - * - * @return the IWorkbookFunctionsAsinRequest instance - */ - public IWorkbookFunctionsAsinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAsinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAsinRequest instance - */ - public IWorkbookFunctionsAsinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAsinRequest request = new WorkbookFunctionsAsinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequest.java deleted file mode 100644 index f63555fd1de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAsinhBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asinh Request. - */ -public class BaseWorkbookFunctionsAsinhRequest extends BaseRequest implements IBaseWorkbookFunctionsAsinhRequest { - protected final WorkbookFunctionsAsinhBody body; - - /** - * The request for this WorkbookFunctionsAsinh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAsinhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAsinhBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAsinhRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAsinhRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAsinhRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAsinhRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAsinhRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAsinhRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequestBuilder.java deleted file mode 100644 index 870a771465c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAsinhRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinhRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Asinh Request Builder. - */ -public class BaseWorkbookFunctionsAsinhRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAsinh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAsinhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAsinhRequest - * - * @return the IWorkbookFunctionsAsinhRequest instance - */ - public IWorkbookFunctionsAsinhRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAsinhRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAsinhRequest instance - */ - public IWorkbookFunctionsAsinhRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAsinhRequest request = new WorkbookFunctionsAsinhRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2Request.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2Request.java deleted file mode 100644 index 69f150ee254..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2Request.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAtan2Body; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtan2Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atan2Request. - */ -public class BaseWorkbookFunctionsAtan2Request extends BaseRequest implements IBaseWorkbookFunctionsAtan2Request { - protected final WorkbookFunctionsAtan2Body body; - - /** - * The request for this WorkbookFunctionsAtan2 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAtan2Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAtan2Body(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAtan2Request select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAtan2Request)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAtan2Request top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAtan2Request)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAtan2Request expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAtan2Request)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2RequestBuilder.java deleted file mode 100644 index bcdc8857de7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtan2RequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtan2Request; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atan2Request Builder. - */ -public class BaseWorkbookFunctionsAtan2RequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAtan2 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param xNum the xNum - * @param yNum the yNum - */ - public BaseWorkbookFunctionsAtan2RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement xNum, final com.google.gson.JsonElement yNum) { - super(requestUrl, client, requestOptions); - bodyParams.put("xNum", xNum); - bodyParams.put("yNum", yNum); - } - - /** - * Creates the IWorkbookFunctionsAtan2Request - * - * @return the IWorkbookFunctionsAtan2Request instance - */ - public IWorkbookFunctionsAtan2Request buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAtan2Request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAtan2Request instance - */ - public IWorkbookFunctionsAtan2Request buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAtan2Request request = new WorkbookFunctionsAtan2Request( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("xNum")) { - request.body.xNum = getParameter("xNum"); - } - - if (hasParameter("yNum")) { - request.body.yNum = getParameter("yNum"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequest.java deleted file mode 100644 index 09645f250e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAtanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atan Request. - */ -public class BaseWorkbookFunctionsAtanRequest extends BaseRequest implements IBaseWorkbookFunctionsAtanRequest { - protected final WorkbookFunctionsAtanBody body; - - /** - * The request for this WorkbookFunctionsAtan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAtanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAtanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAtanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAtanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAtanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAtanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAtanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAtanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequestBuilder.java deleted file mode 100644 index 6c11600a9ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atan Request Builder. - */ -public class BaseWorkbookFunctionsAtanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAtan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAtanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAtanRequest - * - * @return the IWorkbookFunctionsAtanRequest instance - */ - public IWorkbookFunctionsAtanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAtanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAtanRequest instance - */ - public IWorkbookFunctionsAtanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAtanRequest request = new WorkbookFunctionsAtanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequest.java deleted file mode 100644 index 13aa02b2cb6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAtanhBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atanh Request. - */ -public class BaseWorkbookFunctionsAtanhRequest extends BaseRequest implements IBaseWorkbookFunctionsAtanhRequest { - protected final WorkbookFunctionsAtanhBody body; - - /** - * The request for this WorkbookFunctionsAtanh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAtanhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAtanhBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAtanhRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAtanhRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAtanhRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAtanhRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAtanhRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAtanhRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequestBuilder.java deleted file mode 100644 index ad89d7cddd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAtanhRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanhRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Atanh Request Builder. - */ -public class BaseWorkbookFunctionsAtanhRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAtanh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsAtanhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsAtanhRequest - * - * @return the IWorkbookFunctionsAtanhRequest instance - */ - public IWorkbookFunctionsAtanhRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAtanhRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAtanhRequest instance - */ - public IWorkbookFunctionsAtanhRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAtanhRequest request = new WorkbookFunctionsAtanhRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequest.java deleted file mode 100644 index 65cf7feaa8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAveDevBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAveDevRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ave Dev Request. - */ -public class BaseWorkbookFunctionsAveDevRequest extends BaseRequest implements IBaseWorkbookFunctionsAveDevRequest { - protected final WorkbookFunctionsAveDevBody body; - - /** - * The request for this WorkbookFunctionsAveDev - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAveDevRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAveDevBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAveDevRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAveDevRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAveDevRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAveDevRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAveDevRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAveDevRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequestBuilder.java deleted file mode 100644 index 2c7917e1735..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAveDevRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAveDevRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ave Dev Request Builder. - */ -public class BaseWorkbookFunctionsAveDevRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAveDev - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsAveDevRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsAveDevRequest - * - * @return the IWorkbookFunctionsAveDevRequest instance - */ - public IWorkbookFunctionsAveDevRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAveDevRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAveDevRequest instance - */ - public IWorkbookFunctionsAveDevRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAveDevRequest request = new WorkbookFunctionsAveDevRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequest.java deleted file mode 100644 index bc3dde2d9c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average ARequest. - */ -public class BaseWorkbookFunctionsAverageARequest extends BaseRequest implements IBaseWorkbookFunctionsAverageARequest { - protected final WorkbookFunctionsAverageABody body; - - /** - * The request for this WorkbookFunctionsAverageA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAverageARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAverageABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAverageARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAverageARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAverageARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAverageARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAverageARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAverageARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequestBuilder.java deleted file mode 100644 index fb1c213ed74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average ARequest Builder. - */ -public class BaseWorkbookFunctionsAverageARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAverageA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsAverageARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsAverageARequest - * - * @return the IWorkbookFunctionsAverageARequest instance - */ - public IWorkbookFunctionsAverageARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAverageARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageARequest instance - */ - public IWorkbookFunctionsAverageARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAverageARequest request = new WorkbookFunctionsAverageARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequest.java deleted file mode 100644 index 9a82b46fa0d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageIfBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average If Request. - */ -public class BaseWorkbookFunctionsAverageIfRequest extends BaseRequest implements IBaseWorkbookFunctionsAverageIfRequest { - protected final WorkbookFunctionsAverageIfBody body; - - /** - * The request for this WorkbookFunctionsAverageIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAverageIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAverageIfBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAverageIfRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAverageIfRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAverageIfRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAverageIfRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAverageIfRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAverageIfRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequestBuilder.java deleted file mode 100644 index 3a6a1c519ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average If Request Builder. - */ -public class BaseWorkbookFunctionsAverageIfRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAverageIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param range the range - * @param criteria the criteria - * @param averageRange the averageRange - */ - public BaseWorkbookFunctionsAverageIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement averageRange) { - super(requestUrl, client, requestOptions); - bodyParams.put("range", range); - bodyParams.put("criteria", criteria); - bodyParams.put("averageRange", averageRange); - } - - /** - * Creates the IWorkbookFunctionsAverageIfRequest - * - * @return the IWorkbookFunctionsAverageIfRequest instance - */ - public IWorkbookFunctionsAverageIfRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAverageIfRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageIfRequest instance - */ - public IWorkbookFunctionsAverageIfRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAverageIfRequest request = new WorkbookFunctionsAverageIfRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("range")) { - request.body.range = getParameter("range"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - if (hasParameter("averageRange")) { - request.body.averageRange = getParameter("averageRange"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequest.java deleted file mode 100644 index e27f4191380..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageIfsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average Ifs Request. - */ -public class BaseWorkbookFunctionsAverageIfsRequest extends BaseRequest implements IBaseWorkbookFunctionsAverageIfsRequest { - protected final WorkbookFunctionsAverageIfsBody body; - - /** - * The request for this WorkbookFunctionsAverageIfs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAverageIfsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAverageIfsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAverageIfsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAverageIfsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAverageIfsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAverageIfsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAverageIfsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAverageIfsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequestBuilder.java deleted file mode 100644 index 879218dfbd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageIfsRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average Ifs Request Builder. - */ -public class BaseWorkbookFunctionsAverageIfsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAverageIfs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param averageRange the averageRange - * @param values the values - */ - public BaseWorkbookFunctionsAverageIfsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement averageRange, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("averageRange", averageRange); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsAverageIfsRequest - * - * @return the IWorkbookFunctionsAverageIfsRequest instance - */ - public IWorkbookFunctionsAverageIfsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAverageIfsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageIfsRequest instance - */ - public IWorkbookFunctionsAverageIfsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAverageIfsRequest request = new WorkbookFunctionsAverageIfsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("averageRange")) { - request.body.averageRange = getParameter("averageRange"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequest.java deleted file mode 100644 index 5215ad6023b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsAverageBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average Request. - */ -public class BaseWorkbookFunctionsAverageRequest extends BaseRequest implements IBaseWorkbookFunctionsAverageRequest { - protected final WorkbookFunctionsAverageBody body; - - /** - * The request for this WorkbookFunctionsAverage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsAverageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsAverageBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsAverageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsAverageRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsAverageRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsAverageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsAverageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsAverageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequestBuilder.java deleted file mode 100644 index 98aea5a43ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsAverageRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Average Request Builder. - */ -public class BaseWorkbookFunctionsAverageRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsAverage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsAverageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsAverageRequest - * - * @return the IWorkbookFunctionsAverageRequest instance - */ - public IWorkbookFunctionsAverageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsAverageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageRequest instance - */ - public IWorkbookFunctionsAverageRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsAverageRequest request = new WorkbookFunctionsAverageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequest.java deleted file mode 100644 index 7ed7829281a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBahtTextBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBahtTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Baht Text Request. - */ -public class BaseWorkbookFunctionsBahtTextRequest extends BaseRequest implements IBaseWorkbookFunctionsBahtTextRequest { - protected final WorkbookFunctionsBahtTextBody body; - - /** - * The request for this WorkbookFunctionsBahtText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBahtTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBahtTextBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBahtTextRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBahtTextRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBahtTextRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBahtTextRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBahtTextRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBahtTextRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequestBuilder.java deleted file mode 100644 index 51b208c7da6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBahtTextRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBahtTextRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Baht Text Request Builder. - */ -public class BaseWorkbookFunctionsBahtTextRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBahtText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsBahtTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsBahtTextRequest - * - * @return the IWorkbookFunctionsBahtTextRequest instance - */ - public IWorkbookFunctionsBahtTextRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBahtTextRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBahtTextRequest instance - */ - public IWorkbookFunctionsBahtTextRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBahtTextRequest request = new WorkbookFunctionsBahtTextRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequest.java deleted file mode 100644 index 7428b1e4cfd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBaseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBaseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Base Request. - */ -public class BaseWorkbookFunctionsBaseRequest extends BaseRequest implements IBaseWorkbookFunctionsBaseRequest { - protected final WorkbookFunctionsBaseBody body; - - /** - * The request for this WorkbookFunctionsBase - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBaseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBaseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBaseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBaseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBaseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBaseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBaseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBaseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequestBuilder.java deleted file mode 100644 index 3a9b2655775..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBaseRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBaseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Base Request Builder. - */ -public class BaseWorkbookFunctionsBaseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBase - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param radix the radix - * @param minLength the minLength - */ - public BaseWorkbookFunctionsBaseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix, final com.google.gson.JsonElement minLength) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("radix", radix); - bodyParams.put("minLength", minLength); - } - - /** - * Creates the IWorkbookFunctionsBaseRequest - * - * @return the IWorkbookFunctionsBaseRequest instance - */ - public IWorkbookFunctionsBaseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBaseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBaseRequest instance - */ - public IWorkbookFunctionsBaseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBaseRequest request = new WorkbookFunctionsBaseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("radix")) { - request.body.radix = getParameter("radix"); - } - - if (hasParameter("minLength")) { - request.body.minLength = getParameter("minLength"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequest.java deleted file mode 100644 index eb61bfa5587..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselIBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselIRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel IRequest. - */ -public class BaseWorkbookFunctionsBesselIRequest extends BaseRequest implements IBaseWorkbookFunctionsBesselIRequest { - protected final WorkbookFunctionsBesselIBody body; - - /** - * The request for this WorkbookFunctionsBesselI - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBesselIRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBesselIBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBesselIRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBesselIRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBesselIRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBesselIRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBesselIRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBesselIRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequestBuilder.java deleted file mode 100644 index baf01bc7cc9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselIRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselIRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel IRequest Builder. - */ -public class BaseWorkbookFunctionsBesselIRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBesselI - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param n the n - */ - public BaseWorkbookFunctionsBesselIRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("n", n); - } - - /** - * Creates the IWorkbookFunctionsBesselIRequest - * - * @return the IWorkbookFunctionsBesselIRequest instance - */ - public IWorkbookFunctionsBesselIRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBesselIRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselIRequest instance - */ - public IWorkbookFunctionsBesselIRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBesselIRequest request = new WorkbookFunctionsBesselIRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("n")) { - request.body.n = getParameter("n"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequest.java deleted file mode 100644 index 40753a45ffa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselJBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselJRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel JRequest. - */ -public class BaseWorkbookFunctionsBesselJRequest extends BaseRequest implements IBaseWorkbookFunctionsBesselJRequest { - protected final WorkbookFunctionsBesselJBody body; - - /** - * The request for this WorkbookFunctionsBesselJ - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBesselJRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBesselJBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBesselJRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBesselJRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBesselJRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBesselJRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBesselJRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBesselJRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequestBuilder.java deleted file mode 100644 index 32b2c611baa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselJRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselJRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel JRequest Builder. - */ -public class BaseWorkbookFunctionsBesselJRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBesselJ - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param n the n - */ - public BaseWorkbookFunctionsBesselJRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("n", n); - } - - /** - * Creates the IWorkbookFunctionsBesselJRequest - * - * @return the IWorkbookFunctionsBesselJRequest instance - */ - public IWorkbookFunctionsBesselJRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBesselJRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselJRequest instance - */ - public IWorkbookFunctionsBesselJRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBesselJRequest request = new WorkbookFunctionsBesselJRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("n")) { - request.body.n = getParameter("n"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequest.java deleted file mode 100644 index dfde13c1e5c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselKBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselKRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel KRequest. - */ -public class BaseWorkbookFunctionsBesselKRequest extends BaseRequest implements IBaseWorkbookFunctionsBesselKRequest { - protected final WorkbookFunctionsBesselKBody body; - - /** - * The request for this WorkbookFunctionsBesselK - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBesselKRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBesselKBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBesselKRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBesselKRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBesselKRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBesselKRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBesselKRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBesselKRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequestBuilder.java deleted file mode 100644 index 5ad77e468ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselKRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselKRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel KRequest Builder. - */ -public class BaseWorkbookFunctionsBesselKRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBesselK - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param n the n - */ - public BaseWorkbookFunctionsBesselKRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("n", n); - } - - /** - * Creates the IWorkbookFunctionsBesselKRequest - * - * @return the IWorkbookFunctionsBesselKRequest instance - */ - public IWorkbookFunctionsBesselKRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBesselKRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselKRequest instance - */ - public IWorkbookFunctionsBesselKRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBesselKRequest request = new WorkbookFunctionsBesselKRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("n")) { - request.body.n = getParameter("n"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequest.java deleted file mode 100644 index 72a36d47ea3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBesselYBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselYRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel YRequest. - */ -public class BaseWorkbookFunctionsBesselYRequest extends BaseRequest implements IBaseWorkbookFunctionsBesselYRequest { - protected final WorkbookFunctionsBesselYBody body; - - /** - * The request for this WorkbookFunctionsBesselY - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBesselYRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBesselYBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBesselYRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBesselYRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBesselYRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBesselYRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBesselYRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBesselYRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequestBuilder.java deleted file mode 100644 index a89ab1cf6cd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBesselYRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselYRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bessel YRequest Builder. - */ -public class BaseWorkbookFunctionsBesselYRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBesselY - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param n the n - */ - public BaseWorkbookFunctionsBesselYRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("n", n); - } - - /** - * Creates the IWorkbookFunctionsBesselYRequest - * - * @return the IWorkbookFunctionsBesselYRequest instance - */ - public IWorkbookFunctionsBesselYRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBesselYRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselYRequest instance - */ - public IWorkbookFunctionsBesselYRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBesselYRequest request = new WorkbookFunctionsBesselYRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("n")) { - request.body.n = getParameter("n"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequest.java deleted file mode 100644 index 26789e33251..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBeta_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Beta_Dist Request. - */ -public class BaseWorkbookFunctionsBeta_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsBeta_DistRequest { - protected final WorkbookFunctionsBeta_DistBody body; - - /** - * The request for this WorkbookFunctionsBeta_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBeta_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBeta_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBeta_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBeta_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBeta_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBeta_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBeta_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBeta_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequestBuilder.java deleted file mode 100644 index fe154cbad07..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_DistRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Beta_Dist Request Builder. - */ -public class BaseWorkbookFunctionsBeta_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBeta_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param alpha the alpha - * @param beta the beta - * @param cumulative the cumulative - * @param a the a - * @param b the b - */ - public BaseWorkbookFunctionsBeta_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("alpha", alpha); - bodyParams.put("beta", beta); - bodyParams.put("cumulative", cumulative); - bodyParams.put("a", a); - bodyParams.put("b", b); - } - - /** - * Creates the IWorkbookFunctionsBeta_DistRequest - * - * @return the IWorkbookFunctionsBeta_DistRequest instance - */ - public IWorkbookFunctionsBeta_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBeta_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBeta_DistRequest instance - */ - public IWorkbookFunctionsBeta_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBeta_DistRequest request = new WorkbookFunctionsBeta_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("beta")) { - request.body.beta = getParameter("beta"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - if (hasParameter("a")) { - request.body.a = getParameter("a"); - } - - if (hasParameter("b")) { - request.body.b = getParameter("b"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequest.java deleted file mode 100644 index 90c2047bb9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBeta_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Beta_Inv Request. - */ -public class BaseWorkbookFunctionsBeta_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsBeta_InvRequest { - protected final WorkbookFunctionsBeta_InvBody body; - - /** - * The request for this WorkbookFunctionsBeta_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBeta_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBeta_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBeta_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBeta_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBeta_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBeta_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBeta_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBeta_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequestBuilder.java deleted file mode 100644 index 7406f31ae9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBeta_InvRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Beta_Inv Request Builder. - */ -public class BaseWorkbookFunctionsBeta_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBeta_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param alpha the alpha - * @param beta the beta - * @param a the a - * @param b the b - */ - public BaseWorkbookFunctionsBeta_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("alpha", alpha); - bodyParams.put("beta", beta); - bodyParams.put("a", a); - bodyParams.put("b", b); - } - - /** - * Creates the IWorkbookFunctionsBeta_InvRequest - * - * @return the IWorkbookFunctionsBeta_InvRequest instance - */ - public IWorkbookFunctionsBeta_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBeta_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBeta_InvRequest instance - */ - public IWorkbookFunctionsBeta_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBeta_InvRequest request = new WorkbookFunctionsBeta_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("beta")) { - request.body.beta = getParameter("beta"); - } - - if (hasParameter("a")) { - request.body.a = getParameter("a"); - } - - if (hasParameter("b")) { - request.body.b = getParameter("b"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequest.java deleted file mode 100644 index 59033780f82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBin2DecBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2DecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Dec Request. - */ -public class BaseWorkbookFunctionsBin2DecRequest extends BaseRequest implements IBaseWorkbookFunctionsBin2DecRequest { - protected final WorkbookFunctionsBin2DecBody body; - - /** - * The request for this WorkbookFunctionsBin2Dec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBin2DecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBin2DecBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBin2DecRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBin2DecRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBin2DecRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBin2DecRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBin2DecRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBin2DecRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequestBuilder.java deleted file mode 100644 index fd51d9d586c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2DecRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2DecRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Dec Request Builder. - */ -public class BaseWorkbookFunctionsBin2DecRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBin2Dec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsBin2DecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsBin2DecRequest - * - * @return the IWorkbookFunctionsBin2DecRequest instance - */ - public IWorkbookFunctionsBin2DecRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBin2DecRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBin2DecRequest instance - */ - public IWorkbookFunctionsBin2DecRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBin2DecRequest request = new WorkbookFunctionsBin2DecRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequest.java deleted file mode 100644 index 3c525b762a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBin2HexBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2HexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Hex Request. - */ -public class BaseWorkbookFunctionsBin2HexRequest extends BaseRequest implements IBaseWorkbookFunctionsBin2HexRequest { - protected final WorkbookFunctionsBin2HexBody body; - - /** - * The request for this WorkbookFunctionsBin2Hex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBin2HexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBin2HexBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBin2HexRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBin2HexRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBin2HexRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBin2HexRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBin2HexRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBin2HexRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequestBuilder.java deleted file mode 100644 index bd5fb9989e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2HexRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2HexRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Hex Request Builder. - */ -public class BaseWorkbookFunctionsBin2HexRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBin2Hex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsBin2HexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsBin2HexRequest - * - * @return the IWorkbookFunctionsBin2HexRequest instance - */ - public IWorkbookFunctionsBin2HexRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBin2HexRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBin2HexRequest instance - */ - public IWorkbookFunctionsBin2HexRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBin2HexRequest request = new WorkbookFunctionsBin2HexRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequest.java deleted file mode 100644 index 6aceb1f038a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBin2OctBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2OctRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Oct Request. - */ -public class BaseWorkbookFunctionsBin2OctRequest extends BaseRequest implements IBaseWorkbookFunctionsBin2OctRequest { - protected final WorkbookFunctionsBin2OctBody body; - - /** - * The request for this WorkbookFunctionsBin2Oct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBin2OctRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBin2OctBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBin2OctRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBin2OctRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBin2OctRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBin2OctRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBin2OctRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBin2OctRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequestBuilder.java deleted file mode 100644 index 26db1d7d4db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBin2OctRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2OctRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bin2Oct Request Builder. - */ -public class BaseWorkbookFunctionsBin2OctRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBin2Oct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsBin2OctRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsBin2OctRequest - * - * @return the IWorkbookFunctionsBin2OctRequest instance - */ - public IWorkbookFunctionsBin2OctRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBin2OctRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBin2OctRequest instance - */ - public IWorkbookFunctionsBin2OctRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBin2OctRequest request = new WorkbookFunctionsBin2OctRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequest.java deleted file mode 100644 index 00d179a9d0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBinom_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Dist Request. - */ -public class BaseWorkbookFunctionsBinom_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsBinom_DistRequest { - protected final WorkbookFunctionsBinom_DistBody body; - - /** - * The request for this WorkbookFunctionsBinom_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBinom_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBinom_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBinom_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBinom_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBinom_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBinom_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBinom_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBinom_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequestBuilder.java deleted file mode 100644 index e9a9923de25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Dist Request Builder. - */ -public class BaseWorkbookFunctionsBinom_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBinom_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param numberS the numberS - * @param trials the trials - * @param probabilityS the probabilityS - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsBinom_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("numberS", numberS); - bodyParams.put("trials", trials); - bodyParams.put("probabilityS", probabilityS); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsBinom_DistRequest - * - * @return the IWorkbookFunctionsBinom_DistRequest instance - */ - public IWorkbookFunctionsBinom_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBinom_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBinom_DistRequest instance - */ - public IWorkbookFunctionsBinom_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBinom_DistRequest request = new WorkbookFunctionsBinom_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("numberS")) { - request.body.numberS = getParameter("numberS"); - } - - if (hasParameter("trials")) { - request.body.trials = getParameter("trials"); - } - - if (hasParameter("probabilityS")) { - request.body.probabilityS = getParameter("probabilityS"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequest.java deleted file mode 100644 index 2d9feaed925..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBinom_Dist_RangeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_Dist_RangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Dist_Range Request. - */ -public class BaseWorkbookFunctionsBinom_Dist_RangeRequest extends BaseRequest implements IBaseWorkbookFunctionsBinom_Dist_RangeRequest { - protected final WorkbookFunctionsBinom_Dist_RangeBody body; - - /** - * The request for this WorkbookFunctionsBinom_Dist_Range - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBinom_Dist_RangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBinom_Dist_RangeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBinom_Dist_RangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBinom_Dist_RangeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBinom_Dist_RangeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBinom_Dist_RangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBinom_Dist_RangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBinom_Dist_RangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java deleted file mode 100644 index ee9a00b60fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_Dist_RangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Dist_Range Request Builder. - */ -public class BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBinom_Dist_Range - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param trials the trials - * @param probabilityS the probabilityS - * @param numberS the numberS - * @param numberS2 the numberS2 - */ - public BaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement numberS2) { - super(requestUrl, client, requestOptions); - bodyParams.put("trials", trials); - bodyParams.put("probabilityS", probabilityS); - bodyParams.put("numberS", numberS); - bodyParams.put("numberS2", numberS2); - } - - /** - * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest - * - * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance - */ - public IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance - */ - public IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBinom_Dist_RangeRequest request = new WorkbookFunctionsBinom_Dist_RangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("trials")) { - request.body.trials = getParameter("trials"); - } - - if (hasParameter("probabilityS")) { - request.body.probabilityS = getParameter("probabilityS"); - } - - if (hasParameter("numberS")) { - request.body.numberS = getParameter("numberS"); - } - - if (hasParameter("numberS2")) { - request.body.numberS2 = getParameter("numberS2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequest.java deleted file mode 100644 index be4b32eb666..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBinom_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Inv Request. - */ -public class BaseWorkbookFunctionsBinom_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsBinom_InvRequest { - protected final WorkbookFunctionsBinom_InvBody body; - - /** - * The request for this WorkbookFunctionsBinom_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBinom_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBinom_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBinom_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBinom_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBinom_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBinom_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBinom_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBinom_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequestBuilder.java deleted file mode 100644 index 732d8ff121d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBinom_InvRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Binom_Inv Request Builder. - */ -public class BaseWorkbookFunctionsBinom_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBinom_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param trials the trials - * @param probabilityS the probabilityS - * @param alpha the alpha - */ - public BaseWorkbookFunctionsBinom_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement alpha) { - super(requestUrl, client, requestOptions); - bodyParams.put("trials", trials); - bodyParams.put("probabilityS", probabilityS); - bodyParams.put("alpha", alpha); - } - - /** - * Creates the IWorkbookFunctionsBinom_InvRequest - * - * @return the IWorkbookFunctionsBinom_InvRequest instance - */ - public IWorkbookFunctionsBinom_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBinom_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBinom_InvRequest instance - */ - public IWorkbookFunctionsBinom_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBinom_InvRequest request = new WorkbookFunctionsBinom_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("trials")) { - request.body.trials = getParameter("trials"); - } - - if (hasParameter("probabilityS")) { - request.body.probabilityS = getParameter("probabilityS"); - } - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequest.java deleted file mode 100644 index 79f32f2d6ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBitandBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitandRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitand Request. - */ -public class BaseWorkbookFunctionsBitandRequest extends BaseRequest implements IBaseWorkbookFunctionsBitandRequest { - protected final WorkbookFunctionsBitandBody body; - - /** - * The request for this WorkbookFunctionsBitand - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBitandRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBitandBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBitandRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBitandRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBitandRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBitandRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBitandRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBitandRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequestBuilder.java deleted file mode 100644 index 48882467a85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitandRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitandRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitand Request Builder. - */ -public class BaseWorkbookFunctionsBitandRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBitand - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number1 the number1 - * @param number2 the number2 - */ - public BaseWorkbookFunctionsBitandRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions); - bodyParams.put("number1", number1); - bodyParams.put("number2", number2); - } - - /** - * Creates the IWorkbookFunctionsBitandRequest - * - * @return the IWorkbookFunctionsBitandRequest instance - */ - public IWorkbookFunctionsBitandRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBitandRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitandRequest instance - */ - public IWorkbookFunctionsBitandRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBitandRequest request = new WorkbookFunctionsBitandRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number1")) { - request.body.number1 = getParameter("number1"); - } - - if (hasParameter("number2")) { - request.body.number2 = getParameter("number2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequest.java deleted file mode 100644 index a994343e835..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBitlshiftBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitlshiftRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitlshift Request. - */ -public class BaseWorkbookFunctionsBitlshiftRequest extends BaseRequest implements IBaseWorkbookFunctionsBitlshiftRequest { - protected final WorkbookFunctionsBitlshiftBody body; - - /** - * The request for this WorkbookFunctionsBitlshift - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBitlshiftRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBitlshiftBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBitlshiftRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBitlshiftRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBitlshiftRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBitlshiftRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBitlshiftRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBitlshiftRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequestBuilder.java deleted file mode 100644 index 112a1f961ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitlshiftRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitlshiftRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitlshift Request Builder. - */ -public class BaseWorkbookFunctionsBitlshiftRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBitlshift - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param shiftAmount the shiftAmount - */ - public BaseWorkbookFunctionsBitlshiftRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("shiftAmount", shiftAmount); - } - - /** - * Creates the IWorkbookFunctionsBitlshiftRequest - * - * @return the IWorkbookFunctionsBitlshiftRequest instance - */ - public IWorkbookFunctionsBitlshiftRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBitlshiftRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitlshiftRequest instance - */ - public IWorkbookFunctionsBitlshiftRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBitlshiftRequest request = new WorkbookFunctionsBitlshiftRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("shiftAmount")) { - request.body.shiftAmount = getParameter("shiftAmount"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequest.java deleted file mode 100644 index be68d199814..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBitorBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitor Request. - */ -public class BaseWorkbookFunctionsBitorRequest extends BaseRequest implements IBaseWorkbookFunctionsBitorRequest { - protected final WorkbookFunctionsBitorBody body; - - /** - * The request for this WorkbookFunctionsBitor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBitorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBitorBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBitorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBitorRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBitorRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBitorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBitorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBitorRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequestBuilder.java deleted file mode 100644 index 839e4abb770..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitorRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitorRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitor Request Builder. - */ -public class BaseWorkbookFunctionsBitorRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBitor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number1 the number1 - * @param number2 the number2 - */ - public BaseWorkbookFunctionsBitorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions); - bodyParams.put("number1", number1); - bodyParams.put("number2", number2); - } - - /** - * Creates the IWorkbookFunctionsBitorRequest - * - * @return the IWorkbookFunctionsBitorRequest instance - */ - public IWorkbookFunctionsBitorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBitorRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitorRequest instance - */ - public IWorkbookFunctionsBitorRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBitorRequest request = new WorkbookFunctionsBitorRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number1")) { - request.body.number1 = getParameter("number1"); - } - - if (hasParameter("number2")) { - request.body.number2 = getParameter("number2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequest.java deleted file mode 100644 index 077177164db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBitrshiftBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitrshiftRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitrshift Request. - */ -public class BaseWorkbookFunctionsBitrshiftRequest extends BaseRequest implements IBaseWorkbookFunctionsBitrshiftRequest { - protected final WorkbookFunctionsBitrshiftBody body; - - /** - * The request for this WorkbookFunctionsBitrshift - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBitrshiftRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBitrshiftBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBitrshiftRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBitrshiftRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBitrshiftRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBitrshiftRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBitrshiftRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBitrshiftRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequestBuilder.java deleted file mode 100644 index 33c3f30a879..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitrshiftRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitrshiftRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitrshift Request Builder. - */ -public class BaseWorkbookFunctionsBitrshiftRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBitrshift - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param shiftAmount the shiftAmount - */ - public BaseWorkbookFunctionsBitrshiftRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("shiftAmount", shiftAmount); - } - - /** - * Creates the IWorkbookFunctionsBitrshiftRequest - * - * @return the IWorkbookFunctionsBitrshiftRequest instance - */ - public IWorkbookFunctionsBitrshiftRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBitrshiftRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitrshiftRequest instance - */ - public IWorkbookFunctionsBitrshiftRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBitrshiftRequest request = new WorkbookFunctionsBitrshiftRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("shiftAmount")) { - request.body.shiftAmount = getParameter("shiftAmount"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequest.java deleted file mode 100644 index 935314b36af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsBitxorBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitxorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitxor Request. - */ -public class BaseWorkbookFunctionsBitxorRequest extends BaseRequest implements IBaseWorkbookFunctionsBitxorRequest { - protected final WorkbookFunctionsBitxorBody body; - - /** - * The request for this WorkbookFunctionsBitxor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsBitxorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsBitxorBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsBitxorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsBitxorRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsBitxorRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsBitxorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsBitxorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsBitxorRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequestBuilder.java deleted file mode 100644 index 3538cf997f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsBitxorRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitxorRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Bitxor Request Builder. - */ -public class BaseWorkbookFunctionsBitxorRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsBitxor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number1 the number1 - * @param number2 the number2 - */ - public BaseWorkbookFunctionsBitxorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions); - bodyParams.put("number1", number1); - bodyParams.put("number2", number2); - } - - /** - * Creates the IWorkbookFunctionsBitxorRequest - * - * @return the IWorkbookFunctionsBitxorRequest instance - */ - public IWorkbookFunctionsBitxorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsBitxorRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitxorRequest instance - */ - public IWorkbookFunctionsBitxorRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsBitxorRequest request = new WorkbookFunctionsBitxorRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number1")) { - request.body.number1 = getParameter("number1"); - } - - if (hasParameter("number2")) { - request.body.number2 = getParameter("number2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequest.java deleted file mode 100644 index 7ac13c6aa39..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCeiling_MathBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_MathRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ceiling_Math Request. - */ -public class BaseWorkbookFunctionsCeiling_MathRequest extends BaseRequest implements IBaseWorkbookFunctionsCeiling_MathRequest { - protected final WorkbookFunctionsCeiling_MathBody body; - - /** - * The request for this WorkbookFunctionsCeiling_Math - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCeiling_MathRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCeiling_MathBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCeiling_MathRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCeiling_MathRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCeiling_MathRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCeiling_MathRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCeiling_MathRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCeiling_MathRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequestBuilder.java deleted file mode 100644 index 7b2f8b34254..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_MathRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_MathRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ceiling_Math Request Builder. - */ -public class BaseWorkbookFunctionsCeiling_MathRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCeiling_Math - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param significance the significance - * @param mode the mode - */ - public BaseWorkbookFunctionsCeiling_MathRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("significance", significance); - bodyParams.put("mode", mode); - } - - /** - * Creates the IWorkbookFunctionsCeiling_MathRequest - * - * @return the IWorkbookFunctionsCeiling_MathRequest instance - */ - public IWorkbookFunctionsCeiling_MathRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCeiling_MathRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCeiling_MathRequest instance - */ - public IWorkbookFunctionsCeiling_MathRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCeiling_MathRequest request = new WorkbookFunctionsCeiling_MathRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - if (hasParameter("mode")) { - request.body.mode = getParameter("mode"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequest.java deleted file mode 100644 index 4e778ab5c9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCeiling_PreciseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ceiling_Precise Request. - */ -public class BaseWorkbookFunctionsCeiling_PreciseRequest extends BaseRequest implements IBaseWorkbookFunctionsCeiling_PreciseRequest { - protected final WorkbookFunctionsCeiling_PreciseBody body; - - /** - * The request for this WorkbookFunctionsCeiling_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCeiling_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCeiling_PreciseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCeiling_PreciseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCeiling_PreciseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCeiling_PreciseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCeiling_PreciseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCeiling_PreciseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCeiling_PreciseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java deleted file mode 100644 index 1b185baaa95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_PreciseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ceiling_Precise Request Builder. - */ -public class BaseWorkbookFunctionsCeiling_PreciseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCeiling_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param significance the significance - */ - public BaseWorkbookFunctionsCeiling_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("significance", significance); - } - - /** - * Creates the IWorkbookFunctionsCeiling_PreciseRequest - * - * @return the IWorkbookFunctionsCeiling_PreciseRequest instance - */ - public IWorkbookFunctionsCeiling_PreciseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCeiling_PreciseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCeiling_PreciseRequest instance - */ - public IWorkbookFunctionsCeiling_PreciseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCeiling_PreciseRequest request = new WorkbookFunctionsCeiling_PreciseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequest.java deleted file mode 100644 index 6c4e3b85e0a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCharBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCharRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Char Request. - */ -public class BaseWorkbookFunctionsCharRequest extends BaseRequest implements IBaseWorkbookFunctionsCharRequest { - protected final WorkbookFunctionsCharBody body; - - /** - * The request for this WorkbookFunctionsChar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCharRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCharBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCharRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCharRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCharRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCharRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCharRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCharRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequestBuilder.java deleted file mode 100644 index 78922028891..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCharRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCharRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Char Request Builder. - */ -public class BaseWorkbookFunctionsCharRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsChar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCharRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCharRequest - * - * @return the IWorkbookFunctionsCharRequest instance - */ - public IWorkbookFunctionsCharRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCharRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCharRequest instance - */ - public IWorkbookFunctionsCharRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCharRequest request = new WorkbookFunctionsCharRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequest.java deleted file mode 100644 index bcb21973b20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Dist Request. - */ -public class BaseWorkbookFunctionsChiSq_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsChiSq_DistRequest { - protected final WorkbookFunctionsChiSq_DistBody body; - - /** - * The request for this WorkbookFunctionsChiSq_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsChiSq_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsChiSq_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsChiSq_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsChiSq_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsChiSq_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsChiSq_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequestBuilder.java deleted file mode 100644 index 7c7e450150a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_DistRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Dist Request Builder. - */ -public class BaseWorkbookFunctionsChiSq_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsChiSq_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom the degFreedom - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsChiSq_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom", degFreedom); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsChiSq_DistRequest - * - * @return the IWorkbookFunctionsChiSq_DistRequest instance - */ - public IWorkbookFunctionsChiSq_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsChiSq_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_DistRequest instance - */ - public IWorkbookFunctionsChiSq_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsChiSq_DistRequest request = new WorkbookFunctionsChiSq_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequest.java deleted file mode 100644 index ee86b809f97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_Dist_RTBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Dist_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Dist_RTRequest. - */ -public class BaseWorkbookFunctionsChiSq_Dist_RTRequest extends BaseRequest implements IBaseWorkbookFunctionsChiSq_Dist_RTRequest { - protected final WorkbookFunctionsChiSq_Dist_RTBody body; - - /** - * The request for this WorkbookFunctionsChiSq_Dist_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsChiSq_Dist_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsChiSq_Dist_RTBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_Dist_RTRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsChiSq_Dist_RTRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsChiSq_Dist_RTRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsChiSq_Dist_RTRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_Dist_RTRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsChiSq_Dist_RTRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java deleted file mode 100644 index 90a655e6292..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Dist_RTRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Dist_RTRequest Builder. - */ -public class BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsChiSq_Dist_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest - * - * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance - */ - public IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance - */ - public IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsChiSq_Dist_RTRequest request = new WorkbookFunctionsChiSq_Dist_RTRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequest.java deleted file mode 100644 index 45f98eb59de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Inv Request. - */ -public class BaseWorkbookFunctionsChiSq_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsChiSq_InvRequest { - protected final WorkbookFunctionsChiSq_InvBody body; - - /** - * The request for this WorkbookFunctionsChiSq_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsChiSq_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsChiSq_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsChiSq_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsChiSq_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsChiSq_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsChiSq_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequestBuilder.java deleted file mode 100644 index ffb1f7f0009..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_InvRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Inv Request Builder. - */ -public class BaseWorkbookFunctionsChiSq_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsChiSq_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsChiSq_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsChiSq_InvRequest - * - * @return the IWorkbookFunctionsChiSq_InvRequest instance - */ - public IWorkbookFunctionsChiSq_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsChiSq_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_InvRequest instance - */ - public IWorkbookFunctionsChiSq_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsChiSq_InvRequest request = new WorkbookFunctionsChiSq_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequest.java deleted file mode 100644 index 78c920dd1a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsChiSq_Inv_RTBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Inv_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Inv_RTRequest. - */ -public class BaseWorkbookFunctionsChiSq_Inv_RTRequest extends BaseRequest implements IBaseWorkbookFunctionsChiSq_Inv_RTRequest { - protected final WorkbookFunctionsChiSq_Inv_RTBody body; - - /** - * The request for this WorkbookFunctionsChiSq_Inv_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsChiSq_Inv_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsChiSq_Inv_RTBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_Inv_RTRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsChiSq_Inv_RTRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsChiSq_Inv_RTRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsChiSq_Inv_RTRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsChiSq_Inv_RTRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsChiSq_Inv_RTRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java deleted file mode 100644 index 340690aa150..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Inv_RTRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Chi Sq_Inv_RTRequest Builder. - */ -public class BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsChiSq_Inv_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest - * - * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance - */ - public IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance - */ - public IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsChiSq_Inv_RTRequest request = new WorkbookFunctionsChiSq_Inv_RTRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequest.java deleted file mode 100644 index 89d2e0d463c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsChooseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChooseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Choose Request. - */ -public class BaseWorkbookFunctionsChooseRequest extends BaseRequest implements IBaseWorkbookFunctionsChooseRequest { - protected final WorkbookFunctionsChooseBody body; - - /** - * The request for this WorkbookFunctionsChoose - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsChooseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsChooseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsChooseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsChooseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsChooseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsChooseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsChooseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsChooseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequestBuilder.java deleted file mode 100644 index 24b5f3ca376..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsChooseRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChooseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Choose Request Builder. - */ -public class BaseWorkbookFunctionsChooseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsChoose - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param indexNum the indexNum - * @param values the values - */ - public BaseWorkbookFunctionsChooseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement indexNum, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("indexNum", indexNum); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsChooseRequest - * - * @return the IWorkbookFunctionsChooseRequest instance - */ - public IWorkbookFunctionsChooseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsChooseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChooseRequest instance - */ - public IWorkbookFunctionsChooseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsChooseRequest request = new WorkbookFunctionsChooseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("indexNum")) { - request.body.indexNum = getParameter("indexNum"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequest.java deleted file mode 100644 index ffa179d42cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCleanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCleanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Clean Request. - */ -public class BaseWorkbookFunctionsCleanRequest extends BaseRequest implements IBaseWorkbookFunctionsCleanRequest { - protected final WorkbookFunctionsCleanBody body; - - /** - * The request for this WorkbookFunctionsClean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCleanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCleanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCleanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCleanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCleanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCleanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCleanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCleanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequestBuilder.java deleted file mode 100644 index a209ba12b00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCleanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCleanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Clean Request Builder. - */ -public class BaseWorkbookFunctionsCleanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsClean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsCleanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsCleanRequest - * - * @return the IWorkbookFunctionsCleanRequest instance - */ - public IWorkbookFunctionsCleanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCleanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCleanRequest instance - */ - public IWorkbookFunctionsCleanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCleanRequest request = new WorkbookFunctionsCleanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequest.java deleted file mode 100644 index e8e8de56edd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCodeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Code Request. - */ -public class BaseWorkbookFunctionsCodeRequest extends BaseRequest implements IBaseWorkbookFunctionsCodeRequest { - protected final WorkbookFunctionsCodeBody body; - - /** - * The request for this WorkbookFunctionsCode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCodeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCodeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCodeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCodeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCodeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCodeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCodeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequestBuilder.java deleted file mode 100644 index 4f45da58f91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCodeRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCodeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Code Request Builder. - */ -public class BaseWorkbookFunctionsCodeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsCodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsCodeRequest - * - * @return the IWorkbookFunctionsCodeRequest instance - */ - public IWorkbookFunctionsCodeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCodeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCodeRequest instance - */ - public IWorkbookFunctionsCodeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCodeRequest request = new WorkbookFunctionsCodeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequest.java deleted file mode 100644 index 19b52fdbb73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsColumnsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsColumnsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Columns Request. - */ -public class BaseWorkbookFunctionsColumnsRequest extends BaseRequest implements IBaseWorkbookFunctionsColumnsRequest { - protected final WorkbookFunctionsColumnsBody body; - - /** - * The request for this WorkbookFunctionsColumns - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsColumnsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsColumnsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsColumnsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsColumnsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsColumnsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsColumnsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsColumnsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsColumnsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequestBuilder.java deleted file mode 100644 index df8a005c131..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsColumnsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsColumnsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Columns Request Builder. - */ -public class BaseWorkbookFunctionsColumnsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsColumns - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - */ - public BaseWorkbookFunctionsColumnsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - } - - /** - * Creates the IWorkbookFunctionsColumnsRequest - * - * @return the IWorkbookFunctionsColumnsRequest instance - */ - public IWorkbookFunctionsColumnsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsColumnsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsColumnsRequest instance - */ - public IWorkbookFunctionsColumnsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsColumnsRequest request = new WorkbookFunctionsColumnsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequest.java deleted file mode 100644 index a25f52db9e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCombinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Combin Request. - */ -public class BaseWorkbookFunctionsCombinRequest extends BaseRequest implements IBaseWorkbookFunctionsCombinRequest { - protected final WorkbookFunctionsCombinBody body; - - /** - * The request for this WorkbookFunctionsCombin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCombinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCombinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCombinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCombinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCombinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCombinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCombinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCombinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequestBuilder.java deleted file mode 100644 index 62551ac1e3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Combin Request Builder. - */ -public class BaseWorkbookFunctionsCombinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCombin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numberChosen the numberChosen - */ - public BaseWorkbookFunctionsCombinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numberChosen", numberChosen); - } - - /** - * Creates the IWorkbookFunctionsCombinRequest - * - * @return the IWorkbookFunctionsCombinRequest instance - */ - public IWorkbookFunctionsCombinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCombinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCombinRequest instance - */ - public IWorkbookFunctionsCombinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCombinRequest request = new WorkbookFunctionsCombinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numberChosen")) { - request.body.numberChosen = getParameter("numberChosen"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequest.java deleted file mode 100644 index 3522d1408cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCombinaBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Combina Request. - */ -public class BaseWorkbookFunctionsCombinaRequest extends BaseRequest implements IBaseWorkbookFunctionsCombinaRequest { - protected final WorkbookFunctionsCombinaBody body; - - /** - * The request for this WorkbookFunctionsCombina - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCombinaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCombinaBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCombinaRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCombinaRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCombinaRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCombinaRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCombinaRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCombinaRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequestBuilder.java deleted file mode 100644 index f422d7d536c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCombinaRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinaRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Combina Request Builder. - */ -public class BaseWorkbookFunctionsCombinaRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCombina - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numberChosen the numberChosen - */ - public BaseWorkbookFunctionsCombinaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numberChosen", numberChosen); - } - - /** - * Creates the IWorkbookFunctionsCombinaRequest - * - * @return the IWorkbookFunctionsCombinaRequest instance - */ - public IWorkbookFunctionsCombinaRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCombinaRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCombinaRequest instance - */ - public IWorkbookFunctionsCombinaRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCombinaRequest request = new WorkbookFunctionsCombinaRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numberChosen")) { - request.body.numberChosen = getParameter("numberChosen"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequest.java deleted file mode 100644 index a79fcf72ba8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsComplexBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsComplexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Complex Request. - */ -public class BaseWorkbookFunctionsComplexRequest extends BaseRequest implements IBaseWorkbookFunctionsComplexRequest { - protected final WorkbookFunctionsComplexBody body; - - /** - * The request for this WorkbookFunctionsComplex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsComplexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsComplexBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsComplexRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsComplexRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsComplexRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsComplexRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsComplexRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsComplexRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequestBuilder.java deleted file mode 100644 index 730a89967b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsComplexRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsComplexRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Complex Request Builder. - */ -public class BaseWorkbookFunctionsComplexRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsComplex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param realNum the realNum - * @param iNum the iNum - * @param suffix the suffix - */ - public BaseWorkbookFunctionsComplexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement realNum, final com.google.gson.JsonElement iNum, final com.google.gson.JsonElement suffix) { - super(requestUrl, client, requestOptions); - bodyParams.put("realNum", realNum); - bodyParams.put("iNum", iNum); - bodyParams.put("suffix", suffix); - } - - /** - * Creates the IWorkbookFunctionsComplexRequest - * - * @return the IWorkbookFunctionsComplexRequest instance - */ - public IWorkbookFunctionsComplexRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsComplexRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsComplexRequest instance - */ - public IWorkbookFunctionsComplexRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsComplexRequest request = new WorkbookFunctionsComplexRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("realNum")) { - request.body.realNum = getParameter("realNum"); - } - - if (hasParameter("iNum")) { - request.body.iNum = getParameter("iNum"); - } - - if (hasParameter("suffix")) { - request.body.suffix = getParameter("suffix"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequest.java deleted file mode 100644 index 153ad074fb7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsConcatenateBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConcatenateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Concatenate Request. - */ -public class BaseWorkbookFunctionsConcatenateRequest extends BaseRequest implements IBaseWorkbookFunctionsConcatenateRequest { - protected final WorkbookFunctionsConcatenateBody body; - - /** - * The request for this WorkbookFunctionsConcatenate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsConcatenateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsConcatenateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsConcatenateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsConcatenateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsConcatenateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsConcatenateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsConcatenateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsConcatenateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequestBuilder.java deleted file mode 100644 index ef581452196..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConcatenateRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConcatenateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Concatenate Request Builder. - */ -public class BaseWorkbookFunctionsConcatenateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsConcatenate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsConcatenateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsConcatenateRequest - * - * @return the IWorkbookFunctionsConcatenateRequest instance - */ - public IWorkbookFunctionsConcatenateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsConcatenateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConcatenateRequest instance - */ - public IWorkbookFunctionsConcatenateRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsConcatenateRequest request = new WorkbookFunctionsConcatenateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequest.java deleted file mode 100644 index 3e4cc237d31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsConfidence_NormBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_NormRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Confidence_Norm Request. - */ -public class BaseWorkbookFunctionsConfidence_NormRequest extends BaseRequest implements IBaseWorkbookFunctionsConfidence_NormRequest { - protected final WorkbookFunctionsConfidence_NormBody body; - - /** - * The request for this WorkbookFunctionsConfidence_Norm - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsConfidence_NormRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsConfidence_NormBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsConfidence_NormRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsConfidence_NormRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsConfidence_NormRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsConfidence_NormRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsConfidence_NormRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsConfidence_NormRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequestBuilder.java deleted file mode 100644 index 062a7f191d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_NormRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_NormRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Confidence_Norm Request Builder. - */ -public class BaseWorkbookFunctionsConfidence_NormRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsConfidence_Norm - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param alpha the alpha - * @param standardDev the standardDev - * @param size the size - */ - public BaseWorkbookFunctionsConfidence_NormRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { - super(requestUrl, client, requestOptions); - bodyParams.put("alpha", alpha); - bodyParams.put("standardDev", standardDev); - bodyParams.put("size", size); - } - - /** - * Creates the IWorkbookFunctionsConfidence_NormRequest - * - * @return the IWorkbookFunctionsConfidence_NormRequest instance - */ - public IWorkbookFunctionsConfidence_NormRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsConfidence_NormRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConfidence_NormRequest instance - */ - public IWorkbookFunctionsConfidence_NormRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsConfidence_NormRequest request = new WorkbookFunctionsConfidence_NormRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - if (hasParameter("size")) { - request.body.size = getParameter("size"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequest.java deleted file mode 100644 index d84cd9b878b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsConfidence_TBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_TRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Confidence_TRequest. - */ -public class BaseWorkbookFunctionsConfidence_TRequest extends BaseRequest implements IBaseWorkbookFunctionsConfidence_TRequest { - protected final WorkbookFunctionsConfidence_TBody body; - - /** - * The request for this WorkbookFunctionsConfidence_T - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsConfidence_TRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsConfidence_TBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsConfidence_TRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsConfidence_TRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsConfidence_TRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsConfidence_TRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsConfidence_TRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsConfidence_TRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequestBuilder.java deleted file mode 100644 index 475511bff76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConfidence_TRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_TRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Confidence_TRequest Builder. - */ -public class BaseWorkbookFunctionsConfidence_TRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsConfidence_T - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param alpha the alpha - * @param standardDev the standardDev - * @param size the size - */ - public BaseWorkbookFunctionsConfidence_TRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { - super(requestUrl, client, requestOptions); - bodyParams.put("alpha", alpha); - bodyParams.put("standardDev", standardDev); - bodyParams.put("size", size); - } - - /** - * Creates the IWorkbookFunctionsConfidence_TRequest - * - * @return the IWorkbookFunctionsConfidence_TRequest instance - */ - public IWorkbookFunctionsConfidence_TRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsConfidence_TRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConfidence_TRequest instance - */ - public IWorkbookFunctionsConfidence_TRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsConfidence_TRequest request = new WorkbookFunctionsConfidence_TRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - if (hasParameter("size")) { - request.body.size = getParameter("size"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequest.java deleted file mode 100644 index e9bc3ab5046..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsConvertBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConvertRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Convert Request. - */ -public class BaseWorkbookFunctionsConvertRequest extends BaseRequest implements IBaseWorkbookFunctionsConvertRequest { - protected final WorkbookFunctionsConvertBody body; - - /** - * The request for this WorkbookFunctionsConvert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsConvertRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsConvertBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsConvertRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsConvertRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsConvertRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsConvertRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsConvertRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsConvertRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequestBuilder.java deleted file mode 100644 index 98d53bc83c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsConvertRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConvertRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Convert Request Builder. - */ -public class BaseWorkbookFunctionsConvertRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsConvert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param fromUnit the fromUnit - * @param toUnit the toUnit - */ - public BaseWorkbookFunctionsConvertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement fromUnit, final com.google.gson.JsonElement toUnit) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("fromUnit", fromUnit); - bodyParams.put("toUnit", toUnit); - } - - /** - * Creates the IWorkbookFunctionsConvertRequest - * - * @return the IWorkbookFunctionsConvertRequest instance - */ - public IWorkbookFunctionsConvertRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsConvertRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConvertRequest instance - */ - public IWorkbookFunctionsConvertRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsConvertRequest request = new WorkbookFunctionsConvertRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("fromUnit")) { - request.body.fromUnit = getParameter("fromUnit"); - } - - if (hasParameter("toUnit")) { - request.body.toUnit = getParameter("toUnit"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequest.java deleted file mode 100644 index 9f0dcb41541..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCosBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCosRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cos Request. - */ -public class BaseWorkbookFunctionsCosRequest extends BaseRequest implements IBaseWorkbookFunctionsCosRequest { - protected final WorkbookFunctionsCosBody body; - - /** - * The request for this WorkbookFunctionsCos - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCosRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCosBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCosRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCosRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCosRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCosRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCosRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCosRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequestBuilder.java deleted file mode 100644 index 1878d8629ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCosRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCosRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cos Request Builder. - */ -public class BaseWorkbookFunctionsCosRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCos - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCosRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCosRequest - * - * @return the IWorkbookFunctionsCosRequest instance - */ - public IWorkbookFunctionsCosRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCosRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCosRequest instance - */ - public IWorkbookFunctionsCosRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCosRequest request = new WorkbookFunctionsCosRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequest.java deleted file mode 100644 index 45791fb7a48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoshBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cosh Request. - */ -public class BaseWorkbookFunctionsCoshRequest extends BaseRequest implements IBaseWorkbookFunctionsCoshRequest { - protected final WorkbookFunctionsCoshBody body; - - /** - * The request for this WorkbookFunctionsCosh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoshBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoshRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoshRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoshRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoshRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoshRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoshRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequestBuilder.java deleted file mode 100644 index bbe20c4812d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoshRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoshRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cosh Request Builder. - */ -public class BaseWorkbookFunctionsCoshRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCosh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCoshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCoshRequest - * - * @return the IWorkbookFunctionsCoshRequest instance - */ - public IWorkbookFunctionsCoshRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoshRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoshRequest instance - */ - public IWorkbookFunctionsCoshRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoshRequest request = new WorkbookFunctionsCoshRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequest.java deleted file mode 100644 index 7df6e751e28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCotBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cot Request. - */ -public class BaseWorkbookFunctionsCotRequest extends BaseRequest implements IBaseWorkbookFunctionsCotRequest { - protected final WorkbookFunctionsCotBody body; - - /** - * The request for this WorkbookFunctionsCot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCotBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCotRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCotRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCotRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCotRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCotRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCotRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequestBuilder.java deleted file mode 100644 index bfc06e02c19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCotRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCotRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cot Request Builder. - */ -public class BaseWorkbookFunctionsCotRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCotRequest - * - * @return the IWorkbookFunctionsCotRequest instance - */ - public IWorkbookFunctionsCotRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCotRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCotRequest instance - */ - public IWorkbookFunctionsCotRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCotRequest request = new WorkbookFunctionsCotRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequest.java deleted file mode 100644 index c23a5321067..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCothBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCothRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coth Request. - */ -public class BaseWorkbookFunctionsCothRequest extends BaseRequest implements IBaseWorkbookFunctionsCothRequest { - protected final WorkbookFunctionsCothBody body; - - /** - * The request for this WorkbookFunctionsCoth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCothRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCothBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCothRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCothRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCothRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCothRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCothRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCothRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequestBuilder.java deleted file mode 100644 index 372dc187d8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCothRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCothRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coth Request Builder. - */ -public class BaseWorkbookFunctionsCothRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCothRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCothRequest - * - * @return the IWorkbookFunctionsCothRequest instance - */ - public IWorkbookFunctionsCothRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCothRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCothRequest instance - */ - public IWorkbookFunctionsCothRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCothRequest request = new WorkbookFunctionsCothRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequest.java deleted file mode 100644 index e42af8763de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCountABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count ARequest. - */ -public class BaseWorkbookFunctionsCountARequest extends BaseRequest implements IBaseWorkbookFunctionsCountARequest { - protected final WorkbookFunctionsCountABody body; - - /** - * The request for this WorkbookFunctionsCountA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCountARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCountABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCountARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCountARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCountARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCountARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCountARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCountARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequestBuilder.java deleted file mode 100644 index 5028eb3e09f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count ARequest Builder. - */ -public class BaseWorkbookFunctionsCountARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCountA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsCountARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsCountARequest - * - * @return the IWorkbookFunctionsCountARequest instance - */ - public IWorkbookFunctionsCountARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCountARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountARequest instance - */ - public IWorkbookFunctionsCountARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCountARequest request = new WorkbookFunctionsCountARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequest.java deleted file mode 100644 index 112670a6945..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCountBlankBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountBlankRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Blank Request. - */ -public class BaseWorkbookFunctionsCountBlankRequest extends BaseRequest implements IBaseWorkbookFunctionsCountBlankRequest { - protected final WorkbookFunctionsCountBlankBody body; - - /** - * The request for this WorkbookFunctionsCountBlank - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCountBlankRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCountBlankBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCountBlankRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCountBlankRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCountBlankRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCountBlankRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCountBlankRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCountBlankRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequestBuilder.java deleted file mode 100644 index 45c8d0fb07b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountBlankRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountBlankRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Blank Request Builder. - */ -public class BaseWorkbookFunctionsCountBlankRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCountBlank - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param range the range - */ - public BaseWorkbookFunctionsCountBlankRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range) { - super(requestUrl, client, requestOptions); - bodyParams.put("range", range); - } - - /** - * Creates the IWorkbookFunctionsCountBlankRequest - * - * @return the IWorkbookFunctionsCountBlankRequest instance - */ - public IWorkbookFunctionsCountBlankRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCountBlankRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountBlankRequest instance - */ - public IWorkbookFunctionsCountBlankRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCountBlankRequest request = new WorkbookFunctionsCountBlankRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("range")) { - request.body.range = getParameter("range"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequest.java deleted file mode 100644 index be8203925ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCountIfBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count If Request. - */ -public class BaseWorkbookFunctionsCountIfRequest extends BaseRequest implements IBaseWorkbookFunctionsCountIfRequest { - protected final WorkbookFunctionsCountIfBody body; - - /** - * The request for this WorkbookFunctionsCountIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCountIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCountIfBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCountIfRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCountIfRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCountIfRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCountIfRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCountIfRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCountIfRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequestBuilder.java deleted file mode 100644 index dbbfdff400f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count If Request Builder. - */ -public class BaseWorkbookFunctionsCountIfRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCountIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param range the range - * @param criteria the criteria - */ - public BaseWorkbookFunctionsCountIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("range", range); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsCountIfRequest - * - * @return the IWorkbookFunctionsCountIfRequest instance - */ - public IWorkbookFunctionsCountIfRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCountIfRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountIfRequest instance - */ - public IWorkbookFunctionsCountIfRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCountIfRequest request = new WorkbookFunctionsCountIfRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("range")) { - request.body.range = getParameter("range"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequest.java deleted file mode 100644 index c98fded3176..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCountIfsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Ifs Request. - */ -public class BaseWorkbookFunctionsCountIfsRequest extends BaseRequest implements IBaseWorkbookFunctionsCountIfsRequest { - protected final WorkbookFunctionsCountIfsBody body; - - /** - * The request for this WorkbookFunctionsCountIfs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCountIfsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCountIfsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCountIfsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCountIfsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCountIfsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCountIfsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCountIfsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCountIfsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequestBuilder.java deleted file mode 100644 index 9a26f6710c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountIfsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Ifs Request Builder. - */ -public class BaseWorkbookFunctionsCountIfsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCountIfs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsCountIfsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsCountIfsRequest - * - * @return the IWorkbookFunctionsCountIfsRequest instance - */ - public IWorkbookFunctionsCountIfsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCountIfsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountIfsRequest instance - */ - public IWorkbookFunctionsCountIfsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCountIfsRequest request = new WorkbookFunctionsCountIfsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequest.java deleted file mode 100644 index 22ad61c63cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCountBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Request. - */ -public class BaseWorkbookFunctionsCountRequest extends BaseRequest implements IBaseWorkbookFunctionsCountRequest { - protected final WorkbookFunctionsCountBody body; - - /** - * The request for this WorkbookFunctionsCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCountBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCountRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCountRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequestBuilder.java deleted file mode 100644 index f3992146993..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCountRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Count Request Builder. - */ -public class BaseWorkbookFunctionsCountRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsCountRequest - * - * @return the IWorkbookFunctionsCountRequest instance - */ - public IWorkbookFunctionsCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountRequest instance - */ - public IWorkbookFunctionsCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCountRequest request = new WorkbookFunctionsCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequest.java deleted file mode 100644 index 756c6863816..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupDayBsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDayBsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Day Bs Request. - */ -public class BaseWorkbookFunctionsCoupDayBsRequest extends BaseRequest implements IBaseWorkbookFunctionsCoupDayBsRequest { - protected final WorkbookFunctionsCoupDayBsBody body; - - /** - * The request for this WorkbookFunctionsCoupDayBs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoupDayBsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoupDayBsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoupDayBsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoupDayBsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoupDayBsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoupDayBsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoupDayBsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoupDayBsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequestBuilder.java deleted file mode 100644 index 855ed351e8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDayBsRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDayBsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Day Bs Request Builder. - */ -public class BaseWorkbookFunctionsCoupDayBsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoupDayBs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsCoupDayBsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsCoupDayBsRequest - * - * @return the IWorkbookFunctionsCoupDayBsRequest instance - */ - public IWorkbookFunctionsCoupDayBsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoupDayBsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupDayBsRequest instance - */ - public IWorkbookFunctionsCoupDayBsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoupDayBsRequest request = new WorkbookFunctionsCoupDayBsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequest.java deleted file mode 100644 index a4dc4167990..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupDaysNcBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysNcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Days Nc Request. - */ -public class BaseWorkbookFunctionsCoupDaysNcRequest extends BaseRequest implements IBaseWorkbookFunctionsCoupDaysNcRequest { - protected final WorkbookFunctionsCoupDaysNcBody body; - - /** - * The request for this WorkbookFunctionsCoupDaysNc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoupDaysNcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoupDaysNcBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoupDaysNcRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoupDaysNcRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoupDaysNcRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoupDaysNcRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoupDaysNcRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoupDaysNcRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequestBuilder.java deleted file mode 100644 index 7584b827d68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysNcRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysNcRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Days Nc Request Builder. - */ -public class BaseWorkbookFunctionsCoupDaysNcRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoupDaysNc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsCoupDaysNcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsCoupDaysNcRequest - * - * @return the IWorkbookFunctionsCoupDaysNcRequest instance - */ - public IWorkbookFunctionsCoupDaysNcRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoupDaysNcRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupDaysNcRequest instance - */ - public IWorkbookFunctionsCoupDaysNcRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoupDaysNcRequest request = new WorkbookFunctionsCoupDaysNcRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequest.java deleted file mode 100644 index e18d51bab93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupDaysBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Days Request. - */ -public class BaseWorkbookFunctionsCoupDaysRequest extends BaseRequest implements IBaseWorkbookFunctionsCoupDaysRequest { - protected final WorkbookFunctionsCoupDaysBody body; - - /** - * The request for this WorkbookFunctionsCoupDays - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoupDaysRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoupDaysBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoupDaysRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoupDaysRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoupDaysRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoupDaysRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoupDaysRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoupDaysRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequestBuilder.java deleted file mode 100644 index aeb90c982d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupDaysRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Days Request Builder. - */ -public class BaseWorkbookFunctionsCoupDaysRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoupDays - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsCoupDaysRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsCoupDaysRequest - * - * @return the IWorkbookFunctionsCoupDaysRequest instance - */ - public IWorkbookFunctionsCoupDaysRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoupDaysRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupDaysRequest instance - */ - public IWorkbookFunctionsCoupDaysRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoupDaysRequest request = new WorkbookFunctionsCoupDaysRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequest.java deleted file mode 100644 index 84109f8e203..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupNcdBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNcdRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Ncd Request. - */ -public class BaseWorkbookFunctionsCoupNcdRequest extends BaseRequest implements IBaseWorkbookFunctionsCoupNcdRequest { - protected final WorkbookFunctionsCoupNcdBody body; - - /** - * The request for this WorkbookFunctionsCoupNcd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoupNcdRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoupNcdBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoupNcdRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoupNcdRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoupNcdRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoupNcdRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoupNcdRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoupNcdRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequestBuilder.java deleted file mode 100644 index de2a040f27f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNcdRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNcdRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Ncd Request Builder. - */ -public class BaseWorkbookFunctionsCoupNcdRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoupNcd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsCoupNcdRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsCoupNcdRequest - * - * @return the IWorkbookFunctionsCoupNcdRequest instance - */ - public IWorkbookFunctionsCoupNcdRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoupNcdRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupNcdRequest instance - */ - public IWorkbookFunctionsCoupNcdRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoupNcdRequest request = new WorkbookFunctionsCoupNcdRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequest.java deleted file mode 100644 index 75e0acd6a04..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupNumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Num Request. - */ -public class BaseWorkbookFunctionsCoupNumRequest extends BaseRequest implements IBaseWorkbookFunctionsCoupNumRequest { - protected final WorkbookFunctionsCoupNumBody body; - - /** - * The request for this WorkbookFunctionsCoupNum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoupNumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoupNumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoupNumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoupNumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoupNumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoupNumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoupNumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoupNumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequestBuilder.java deleted file mode 100644 index 98fb8547ddd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupNumRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Num Request Builder. - */ -public class BaseWorkbookFunctionsCoupNumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoupNum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsCoupNumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsCoupNumRequest - * - * @return the IWorkbookFunctionsCoupNumRequest instance - */ - public IWorkbookFunctionsCoupNumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoupNumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupNumRequest instance - */ - public IWorkbookFunctionsCoupNumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoupNumRequest request = new WorkbookFunctionsCoupNumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequest.java deleted file mode 100644 index aa9572d326f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCoupPcdBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupPcdRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Pcd Request. - */ -public class BaseWorkbookFunctionsCoupPcdRequest extends BaseRequest implements IBaseWorkbookFunctionsCoupPcdRequest { - protected final WorkbookFunctionsCoupPcdBody body; - - /** - * The request for this WorkbookFunctionsCoupPcd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCoupPcdRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCoupPcdBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCoupPcdRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCoupPcdRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCoupPcdRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCoupPcdRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCoupPcdRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCoupPcdRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequestBuilder.java deleted file mode 100644 index a2e9f8c0d57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCoupPcdRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupPcdRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Coup Pcd Request Builder. - */ -public class BaseWorkbookFunctionsCoupPcdRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCoupPcd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsCoupPcdRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsCoupPcdRequest - * - * @return the IWorkbookFunctionsCoupPcdRequest instance - */ - public IWorkbookFunctionsCoupPcdRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCoupPcdRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupPcdRequest instance - */ - public IWorkbookFunctionsCoupPcdRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCoupPcdRequest request = new WorkbookFunctionsCoupPcdRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequest.java deleted file mode 100644 index b7d0fb28819..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCscBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Csc Request. - */ -public class BaseWorkbookFunctionsCscRequest extends BaseRequest implements IBaseWorkbookFunctionsCscRequest { - protected final WorkbookFunctionsCscBody body; - - /** - * The request for this WorkbookFunctionsCsc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCscBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCscRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCscRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCscRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCscRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCscRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCscRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequestBuilder.java deleted file mode 100644 index 9276e948a8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCscRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCscRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Csc Request Builder. - */ -public class BaseWorkbookFunctionsCscRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCsc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCscRequest - * - * @return the IWorkbookFunctionsCscRequest instance - */ - public IWorkbookFunctionsCscRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCscRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCscRequest instance - */ - public IWorkbookFunctionsCscRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCscRequest request = new WorkbookFunctionsCscRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequest.java deleted file mode 100644 index 72d22040368..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCschBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCschRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Csch Request. - */ -public class BaseWorkbookFunctionsCschRequest extends BaseRequest implements IBaseWorkbookFunctionsCschRequest { - protected final WorkbookFunctionsCschBody body; - - /** - * The request for this WorkbookFunctionsCsch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCschRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCschBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCschRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCschRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCschRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCschRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCschRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCschRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequestBuilder.java deleted file mode 100644 index cb8d330b504..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCschRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCschRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Csch Request Builder. - */ -public class BaseWorkbookFunctionsCschRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCsch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsCschRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsCschRequest - * - * @return the IWorkbookFunctionsCschRequest instance - */ - public IWorkbookFunctionsCschRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCschRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCschRequest instance - */ - public IWorkbookFunctionsCschRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCschRequest request = new WorkbookFunctionsCschRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequest.java deleted file mode 100644 index d4740341ba1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCumIPmtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumIPmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cum IPmt Request. - */ -public class BaseWorkbookFunctionsCumIPmtRequest extends BaseRequest implements IBaseWorkbookFunctionsCumIPmtRequest { - protected final WorkbookFunctionsCumIPmtBody body; - - /** - * The request for this WorkbookFunctionsCumIPmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCumIPmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCumIPmtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCumIPmtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCumIPmtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCumIPmtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCumIPmtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCumIPmtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCumIPmtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequestBuilder.java deleted file mode 100644 index 4e90d36474a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumIPmtRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumIPmtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cum IPmt Request Builder. - */ -public class BaseWorkbookFunctionsCumIPmtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCumIPmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param nper the nper - * @param pv the pv - * @param startPeriod the startPeriod - * @param endPeriod the endPeriod - * @param type the type - */ - public BaseWorkbookFunctionsCumIPmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - bodyParams.put("startPeriod", startPeriod); - bodyParams.put("endPeriod", endPeriod); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsCumIPmtRequest - * - * @return the IWorkbookFunctionsCumIPmtRequest instance - */ - public IWorkbookFunctionsCumIPmtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCumIPmtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCumIPmtRequest instance - */ - public IWorkbookFunctionsCumIPmtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCumIPmtRequest request = new WorkbookFunctionsCumIPmtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("startPeriod")) { - request.body.startPeriod = getParameter("startPeriod"); - } - - if (hasParameter("endPeriod")) { - request.body.endPeriod = getParameter("endPeriod"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequest.java deleted file mode 100644 index 4dcf4a240b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsCumPrincBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumPrincRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cum Princ Request. - */ -public class BaseWorkbookFunctionsCumPrincRequest extends BaseRequest implements IBaseWorkbookFunctionsCumPrincRequest { - protected final WorkbookFunctionsCumPrincBody body; - - /** - * The request for this WorkbookFunctionsCumPrinc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsCumPrincRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsCumPrincBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsCumPrincRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsCumPrincRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsCumPrincRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsCumPrincRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsCumPrincRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsCumPrincRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequestBuilder.java deleted file mode 100644 index 22df5e4e8f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsCumPrincRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumPrincRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Cum Princ Request Builder. - */ -public class BaseWorkbookFunctionsCumPrincRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsCumPrinc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param nper the nper - * @param pv the pv - * @param startPeriod the startPeriod - * @param endPeriod the endPeriod - * @param type the type - */ - public BaseWorkbookFunctionsCumPrincRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - bodyParams.put("startPeriod", startPeriod); - bodyParams.put("endPeriod", endPeriod); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsCumPrincRequest - * - * @return the IWorkbookFunctionsCumPrincRequest instance - */ - public IWorkbookFunctionsCumPrincRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsCumPrincRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCumPrincRequest instance - */ - public IWorkbookFunctionsCumPrincRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsCumPrincRequest request = new WorkbookFunctionsCumPrincRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("startPeriod")) { - request.body.startPeriod = getParameter("startPeriod"); - } - - if (hasParameter("endPeriod")) { - request.body.endPeriod = getParameter("endPeriod"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequest.java deleted file mode 100644 index 6aa2a97994e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDateBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Date Request. - */ -public class BaseWorkbookFunctionsDateRequest extends BaseRequest implements IBaseWorkbookFunctionsDateRequest { - protected final WorkbookFunctionsDateBody body; - - /** - * The request for this WorkbookFunctionsDate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequestBuilder.java deleted file mode 100644 index 888cca98667..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDateRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Date Request Builder. - */ -public class BaseWorkbookFunctionsDateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param year the year - * @param month the month - * @param day the day - */ - public BaseWorkbookFunctionsDateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement year, final com.google.gson.JsonElement month, final com.google.gson.JsonElement day) { - super(requestUrl, client, requestOptions); - bodyParams.put("year", year); - bodyParams.put("month", month); - bodyParams.put("day", day); - } - - /** - * Creates the IWorkbookFunctionsDateRequest - * - * @return the IWorkbookFunctionsDateRequest instance - */ - public IWorkbookFunctionsDateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDateRequest instance - */ - public IWorkbookFunctionsDateRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDateRequest request = new WorkbookFunctionsDateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("year")) { - request.body.year = getParameter("year"); - } - - if (hasParameter("month")) { - request.body.month = getParameter("month"); - } - - if (hasParameter("day")) { - request.body.day = getParameter("day"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequest.java deleted file mode 100644 index 7977c9110ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDatevalueBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDatevalueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Datevalue Request. - */ -public class BaseWorkbookFunctionsDatevalueRequest extends BaseRequest implements IBaseWorkbookFunctionsDatevalueRequest { - protected final WorkbookFunctionsDatevalueBody body; - - /** - * The request for this WorkbookFunctionsDatevalue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDatevalueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDatevalueBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDatevalueRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDatevalueRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDatevalueRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDatevalueRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDatevalueRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDatevalueRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequestBuilder.java deleted file mode 100644 index a8696061331..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDatevalueRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDatevalueRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Datevalue Request Builder. - */ -public class BaseWorkbookFunctionsDatevalueRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDatevalue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param dateText the dateText - */ - public BaseWorkbookFunctionsDatevalueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement dateText) { - super(requestUrl, client, requestOptions); - bodyParams.put("dateText", dateText); - } - - /** - * Creates the IWorkbookFunctionsDatevalueRequest - * - * @return the IWorkbookFunctionsDatevalueRequest instance - */ - public IWorkbookFunctionsDatevalueRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDatevalueRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDatevalueRequest instance - */ - public IWorkbookFunctionsDatevalueRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDatevalueRequest request = new WorkbookFunctionsDatevalueRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("dateText")) { - request.body.dateText = getParameter("dateText"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequest.java deleted file mode 100644 index 5cbd3d96a33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDaverageBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaverageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Daverage Request. - */ -public class BaseWorkbookFunctionsDaverageRequest extends BaseRequest implements IBaseWorkbookFunctionsDaverageRequest { - protected final WorkbookFunctionsDaverageBody body; - - /** - * The request for this WorkbookFunctionsDaverage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDaverageRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDaverageBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDaverageRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDaverageRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDaverageRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDaverageRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDaverageRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDaverageRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequestBuilder.java deleted file mode 100644 index 76fed0e50c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaverageRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaverageRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Daverage Request Builder. - */ -public class BaseWorkbookFunctionsDaverageRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDaverage - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDaverageRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDaverageRequest - * - * @return the IWorkbookFunctionsDaverageRequest instance - */ - public IWorkbookFunctionsDaverageRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDaverageRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDaverageRequest instance - */ - public IWorkbookFunctionsDaverageRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDaverageRequest request = new WorkbookFunctionsDaverageRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequest.java deleted file mode 100644 index deebfbce2cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDayBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Day Request. - */ -public class BaseWorkbookFunctionsDayRequest extends BaseRequest implements IBaseWorkbookFunctionsDayRequest { - protected final WorkbookFunctionsDayBody body; - - /** - * The request for this WorkbookFunctionsDay - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDayBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDayRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDayRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDayRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDayRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDayRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDayRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequestBuilder.java deleted file mode 100644 index 1594a00a0a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDayRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDayRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Day Request Builder. - */ -public class BaseWorkbookFunctionsDayRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDay - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - */ - public BaseWorkbookFunctionsDayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - } - - /** - * Creates the IWorkbookFunctionsDayRequest - * - * @return the IWorkbookFunctionsDayRequest instance - */ - public IWorkbookFunctionsDayRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDayRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDayRequest instance - */ - public IWorkbookFunctionsDayRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDayRequest request = new WorkbookFunctionsDayRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360Request.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360Request.java deleted file mode 100644 index 6ad221ddd9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360Request.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDays360Body; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDays360Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Days360Request. - */ -public class BaseWorkbookFunctionsDays360Request extends BaseRequest implements IBaseWorkbookFunctionsDays360Request { - protected final WorkbookFunctionsDays360Body body; - - /** - * The request for this WorkbookFunctionsDays360 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDays360Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDays360Body(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDays360Request select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDays360Request)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDays360Request top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDays360Request)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDays360Request expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDays360Request)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360RequestBuilder.java deleted file mode 100644 index 973ad016d4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDays360RequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDays360Request; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Days360Request Builder. - */ -public class BaseWorkbookFunctionsDays360RequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDays360 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param endDate the endDate - * @param method the method - */ - public BaseWorkbookFunctionsDays360RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement method) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("endDate", endDate); - bodyParams.put("method", method); - } - - /** - * Creates the IWorkbookFunctionsDays360Request - * - * @return the IWorkbookFunctionsDays360Request instance - */ - public IWorkbookFunctionsDays360Request buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDays360Request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDays360Request instance - */ - public IWorkbookFunctionsDays360Request buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDays360Request request = new WorkbookFunctionsDays360Request( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("endDate")) { - request.body.endDate = getParameter("endDate"); - } - - if (hasParameter("method")) { - request.body.method = getParameter("method"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequest.java deleted file mode 100644 index 45b7cdbc70e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDaysBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaysRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Days Request. - */ -public class BaseWorkbookFunctionsDaysRequest extends BaseRequest implements IBaseWorkbookFunctionsDaysRequest { - protected final WorkbookFunctionsDaysBody body; - - /** - * The request for this WorkbookFunctionsDays - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDaysRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDaysBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDaysRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDaysRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDaysRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDaysRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDaysRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDaysRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequestBuilder.java deleted file mode 100644 index e784702bb9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDaysRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaysRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Days Request Builder. - */ -public class BaseWorkbookFunctionsDaysRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDays - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param endDate the endDate - * @param startDate the startDate - */ - public BaseWorkbookFunctionsDaysRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement startDate) { - super(requestUrl, client, requestOptions); - bodyParams.put("endDate", endDate); - bodyParams.put("startDate", startDate); - } - - /** - * Creates the IWorkbookFunctionsDaysRequest - * - * @return the IWorkbookFunctionsDaysRequest instance - */ - public IWorkbookFunctionsDaysRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDaysRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDaysRequest instance - */ - public IWorkbookFunctionsDaysRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDaysRequest request = new WorkbookFunctionsDaysRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("endDate")) { - request.body.endDate = getParameter("endDate"); - } - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequest.java deleted file mode 100644 index 2e022470551..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Db Request. - */ -public class BaseWorkbookFunctionsDbRequest extends BaseRequest implements IBaseWorkbookFunctionsDbRequest { - protected final WorkbookFunctionsDbBody body; - - /** - * The request for this WorkbookFunctionsDb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequestBuilder.java deleted file mode 100644 index aaea2d525b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Db Request Builder. - */ -public class BaseWorkbookFunctionsDbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param salvage the salvage - * @param life the life - * @param period the period - * @param month the month - */ - public BaseWorkbookFunctionsDbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement month) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("salvage", salvage); - bodyParams.put("life", life); - bodyParams.put("period", period); - bodyParams.put("month", month); - } - - /** - * Creates the IWorkbookFunctionsDbRequest - * - * @return the IWorkbookFunctionsDbRequest instance - */ - public IWorkbookFunctionsDbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDbRequest instance - */ - public IWorkbookFunctionsDbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDbRequest request = new WorkbookFunctionsDbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("life")) { - request.body.life = getParameter("life"); - } - - if (hasParameter("period")) { - request.body.period = getParameter("period"); - } - - if (hasParameter("month")) { - request.body.month = getParameter("month"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequest.java deleted file mode 100644 index 4cb30300c1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDbcsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbcsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dbcs Request. - */ -public class BaseWorkbookFunctionsDbcsRequest extends BaseRequest implements IBaseWorkbookFunctionsDbcsRequest { - protected final WorkbookFunctionsDbcsBody body; - - /** - * The request for this WorkbookFunctionsDbcs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDbcsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDbcsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDbcsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDbcsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDbcsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDbcsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDbcsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDbcsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequestBuilder.java deleted file mode 100644 index 38dcafdd5a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDbcsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbcsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dbcs Request Builder. - */ -public class BaseWorkbookFunctionsDbcsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDbcs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsDbcsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsDbcsRequest - * - * @return the IWorkbookFunctionsDbcsRequest instance - */ - public IWorkbookFunctionsDbcsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDbcsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDbcsRequest instance - */ - public IWorkbookFunctionsDbcsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDbcsRequest request = new WorkbookFunctionsDbcsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequest.java deleted file mode 100644 index 5b1abc4b9b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDcountABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dcount ARequest. - */ -public class BaseWorkbookFunctionsDcountARequest extends BaseRequest implements IBaseWorkbookFunctionsDcountARequest { - protected final WorkbookFunctionsDcountABody body; - - /** - * The request for this WorkbookFunctionsDcountA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDcountARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDcountABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDcountARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDcountARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDcountARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDcountARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDcountARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDcountARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequestBuilder.java deleted file mode 100644 index 6e301d7d802..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountARequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dcount ARequest Builder. - */ -public class BaseWorkbookFunctionsDcountARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDcountA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDcountARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDcountARequest - * - * @return the IWorkbookFunctionsDcountARequest instance - */ - public IWorkbookFunctionsDcountARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDcountARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDcountARequest instance - */ - public IWorkbookFunctionsDcountARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDcountARequest request = new WorkbookFunctionsDcountARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequest.java deleted file mode 100644 index 6759c08be0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDcountBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dcount Request. - */ -public class BaseWorkbookFunctionsDcountRequest extends BaseRequest implements IBaseWorkbookFunctionsDcountRequest { - protected final WorkbookFunctionsDcountBody body; - - /** - * The request for this WorkbookFunctionsDcount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDcountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDcountBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDcountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDcountRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDcountRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDcountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDcountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDcountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequestBuilder.java deleted file mode 100644 index eaf54e7f90d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDcountRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dcount Request Builder. - */ -public class BaseWorkbookFunctionsDcountRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDcount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDcountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDcountRequest - * - * @return the IWorkbookFunctionsDcountRequest instance - */ - public IWorkbookFunctionsDcountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDcountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDcountRequest instance - */ - public IWorkbookFunctionsDcountRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDcountRequest request = new WorkbookFunctionsDcountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequest.java deleted file mode 100644 index 3ea7e09c5a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDdbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDdbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ddb Request. - */ -public class BaseWorkbookFunctionsDdbRequest extends BaseRequest implements IBaseWorkbookFunctionsDdbRequest { - protected final WorkbookFunctionsDdbBody body; - - /** - * The request for this WorkbookFunctionsDdb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDdbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDdbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDdbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDdbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDdbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDdbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDdbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDdbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequestBuilder.java deleted file mode 100644 index 81b73651f3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDdbRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDdbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ddb Request Builder. - */ -public class BaseWorkbookFunctionsDdbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDdb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param salvage the salvage - * @param life the life - * @param period the period - * @param factor the factor - */ - public BaseWorkbookFunctionsDdbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement factor) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("salvage", salvage); - bodyParams.put("life", life); - bodyParams.put("period", period); - bodyParams.put("factor", factor); - } - - /** - * Creates the IWorkbookFunctionsDdbRequest - * - * @return the IWorkbookFunctionsDdbRequest instance - */ - public IWorkbookFunctionsDdbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDdbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDdbRequest instance - */ - public IWorkbookFunctionsDdbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDdbRequest request = new WorkbookFunctionsDdbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("life")) { - request.body.life = getParameter("life"); - } - - if (hasParameter("period")) { - request.body.period = getParameter("period"); - } - - if (hasParameter("factor")) { - request.body.factor = getParameter("factor"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequest.java deleted file mode 100644 index d927ea55c6c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDec2BinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2BinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Bin Request. - */ -public class BaseWorkbookFunctionsDec2BinRequest extends BaseRequest implements IBaseWorkbookFunctionsDec2BinRequest { - protected final WorkbookFunctionsDec2BinBody body; - - /** - * The request for this WorkbookFunctionsDec2Bin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDec2BinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDec2BinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDec2BinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDec2BinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDec2BinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDec2BinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDec2BinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDec2BinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequestBuilder.java deleted file mode 100644 index 42b077d0ea8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2BinRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2BinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Bin Request Builder. - */ -public class BaseWorkbookFunctionsDec2BinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDec2Bin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsDec2BinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsDec2BinRequest - * - * @return the IWorkbookFunctionsDec2BinRequest instance - */ - public IWorkbookFunctionsDec2BinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDec2BinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDec2BinRequest instance - */ - public IWorkbookFunctionsDec2BinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDec2BinRequest request = new WorkbookFunctionsDec2BinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequest.java deleted file mode 100644 index 56d23e253c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDec2HexBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2HexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Hex Request. - */ -public class BaseWorkbookFunctionsDec2HexRequest extends BaseRequest implements IBaseWorkbookFunctionsDec2HexRequest { - protected final WorkbookFunctionsDec2HexBody body; - - /** - * The request for this WorkbookFunctionsDec2Hex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDec2HexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDec2HexBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDec2HexRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDec2HexRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDec2HexRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDec2HexRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDec2HexRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDec2HexRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequestBuilder.java deleted file mode 100644 index 745573c5097..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2HexRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2HexRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Hex Request Builder. - */ -public class BaseWorkbookFunctionsDec2HexRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDec2Hex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsDec2HexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsDec2HexRequest - * - * @return the IWorkbookFunctionsDec2HexRequest instance - */ - public IWorkbookFunctionsDec2HexRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDec2HexRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDec2HexRequest instance - */ - public IWorkbookFunctionsDec2HexRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDec2HexRequest request = new WorkbookFunctionsDec2HexRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequest.java deleted file mode 100644 index 153281a71b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDec2OctBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2OctRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Oct Request. - */ -public class BaseWorkbookFunctionsDec2OctRequest extends BaseRequest implements IBaseWorkbookFunctionsDec2OctRequest { - protected final WorkbookFunctionsDec2OctBody body; - - /** - * The request for this WorkbookFunctionsDec2Oct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDec2OctRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDec2OctBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDec2OctRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDec2OctRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDec2OctRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDec2OctRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDec2OctRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDec2OctRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequestBuilder.java deleted file mode 100644 index a194bacce31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDec2OctRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2OctRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dec2Oct Request Builder. - */ -public class BaseWorkbookFunctionsDec2OctRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDec2Oct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsDec2OctRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsDec2OctRequest - * - * @return the IWorkbookFunctionsDec2OctRequest instance - */ - public IWorkbookFunctionsDec2OctRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDec2OctRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDec2OctRequest instance - */ - public IWorkbookFunctionsDec2OctRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDec2OctRequest request = new WorkbookFunctionsDec2OctRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequest.java deleted file mode 100644 index 7280aa54ce5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDecimalBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDecimalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Decimal Request. - */ -public class BaseWorkbookFunctionsDecimalRequest extends BaseRequest implements IBaseWorkbookFunctionsDecimalRequest { - protected final WorkbookFunctionsDecimalBody body; - - /** - * The request for this WorkbookFunctionsDecimal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDecimalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDecimalBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDecimalRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDecimalRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDecimalRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDecimalRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDecimalRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDecimalRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequestBuilder.java deleted file mode 100644 index 9e9613b4652..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDecimalRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDecimalRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Decimal Request Builder. - */ -public class BaseWorkbookFunctionsDecimalRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDecimal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param radix the radix - */ - public BaseWorkbookFunctionsDecimalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("radix", radix); - } - - /** - * Creates the IWorkbookFunctionsDecimalRequest - * - * @return the IWorkbookFunctionsDecimalRequest instance - */ - public IWorkbookFunctionsDecimalRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDecimalRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDecimalRequest instance - */ - public IWorkbookFunctionsDecimalRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDecimalRequest request = new WorkbookFunctionsDecimalRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("radix")) { - request.body.radix = getParameter("radix"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequest.java deleted file mode 100644 index c7ea63a6978..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDegreesBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDegreesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Degrees Request. - */ -public class BaseWorkbookFunctionsDegreesRequest extends BaseRequest implements IBaseWorkbookFunctionsDegreesRequest { - protected final WorkbookFunctionsDegreesBody body; - - /** - * The request for this WorkbookFunctionsDegrees - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDegreesRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDegreesBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDegreesRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDegreesRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDegreesRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDegreesRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDegreesRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDegreesRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequestBuilder.java deleted file mode 100644 index 55eb7884c72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDegreesRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDegreesRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Degrees Request Builder. - */ -public class BaseWorkbookFunctionsDegreesRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDegrees - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param angle the angle - */ - public BaseWorkbookFunctionsDegreesRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement angle) { - super(requestUrl, client, requestOptions); - bodyParams.put("angle", angle); - } - - /** - * Creates the IWorkbookFunctionsDegreesRequest - * - * @return the IWorkbookFunctionsDegreesRequest instance - */ - public IWorkbookFunctionsDegreesRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDegreesRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDegreesRequest instance - */ - public IWorkbookFunctionsDegreesRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDegreesRequest request = new WorkbookFunctionsDegreesRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("angle")) { - request.body.angle = getParameter("angle"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequest.java deleted file mode 100644 index 39a6de827b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDeltaBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDeltaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Delta Request. - */ -public class BaseWorkbookFunctionsDeltaRequest extends BaseRequest implements IBaseWorkbookFunctionsDeltaRequest { - protected final WorkbookFunctionsDeltaBody body; - - /** - * The request for this WorkbookFunctionsDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDeltaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDeltaBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDeltaRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDeltaRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDeltaRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDeltaRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDeltaRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDeltaRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequestBuilder.java deleted file mode 100644 index 9ac10a665ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDeltaRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDeltaRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Delta Request Builder. - */ -public class BaseWorkbookFunctionsDeltaRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDelta - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number1 the number1 - * @param number2 the number2 - */ - public BaseWorkbookFunctionsDeltaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - super(requestUrl, client, requestOptions); - bodyParams.put("number1", number1); - bodyParams.put("number2", number2); - } - - /** - * Creates the IWorkbookFunctionsDeltaRequest - * - * @return the IWorkbookFunctionsDeltaRequest instance - */ - public IWorkbookFunctionsDeltaRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDeltaRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDeltaRequest instance - */ - public IWorkbookFunctionsDeltaRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDeltaRequest request = new WorkbookFunctionsDeltaRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number1")) { - request.body.number1 = getParameter("number1"); - } - - if (hasParameter("number2")) { - request.body.number2 = getParameter("number2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequest.java deleted file mode 100644 index 97e43c504cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDevSqBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDevSqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dev Sq Request. - */ -public class BaseWorkbookFunctionsDevSqRequest extends BaseRequest implements IBaseWorkbookFunctionsDevSqRequest { - protected final WorkbookFunctionsDevSqBody body; - - /** - * The request for this WorkbookFunctionsDevSq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDevSqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDevSqBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDevSqRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDevSqRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDevSqRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDevSqRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDevSqRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDevSqRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequestBuilder.java deleted file mode 100644 index 91a6883df26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDevSqRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDevSqRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dev Sq Request Builder. - */ -public class BaseWorkbookFunctionsDevSqRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDevSq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsDevSqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsDevSqRequest - * - * @return the IWorkbookFunctionsDevSqRequest instance - */ - public IWorkbookFunctionsDevSqRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDevSqRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDevSqRequest instance - */ - public IWorkbookFunctionsDevSqRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDevSqRequest request = new WorkbookFunctionsDevSqRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequest.java deleted file mode 100644 index 8b003df1a2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDgetBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDgetRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dget Request. - */ -public class BaseWorkbookFunctionsDgetRequest extends BaseRequest implements IBaseWorkbookFunctionsDgetRequest { - protected final WorkbookFunctionsDgetBody body; - - /** - * The request for this WorkbookFunctionsDget - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDgetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDgetBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDgetRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDgetRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDgetRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDgetRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDgetRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDgetRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequestBuilder.java deleted file mode 100644 index 6d7f030e557..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDgetRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDgetRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dget Request Builder. - */ -public class BaseWorkbookFunctionsDgetRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDget - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDgetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDgetRequest - * - * @return the IWorkbookFunctionsDgetRequest instance - */ - public IWorkbookFunctionsDgetRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDgetRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDgetRequest instance - */ - public IWorkbookFunctionsDgetRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDgetRequest request = new WorkbookFunctionsDgetRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequest.java deleted file mode 100644 index 014e27c71cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDiscBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDiscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Disc Request. - */ -public class BaseWorkbookFunctionsDiscRequest extends BaseRequest implements IBaseWorkbookFunctionsDiscRequest { - protected final WorkbookFunctionsDiscBody body; - - /** - * The request for this WorkbookFunctionsDisc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDiscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDiscBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDiscRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDiscRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDiscRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDiscRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDiscRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDiscRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequestBuilder.java deleted file mode 100644 index 919804d2692..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDiscRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDiscRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Disc Request Builder. - */ -public class BaseWorkbookFunctionsDiscRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDisc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param pr the pr - * @param redemption the redemption - * @param basis the basis - */ - public BaseWorkbookFunctionsDiscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("pr", pr); - bodyParams.put("redemption", redemption); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsDiscRequest - * - * @return the IWorkbookFunctionsDiscRequest instance - */ - public IWorkbookFunctionsDiscRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDiscRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDiscRequest instance - */ - public IWorkbookFunctionsDiscRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDiscRequest request = new WorkbookFunctionsDiscRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequest.java deleted file mode 100644 index d20e1259768..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDmaxBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDmaxRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dmax Request. - */ -public class BaseWorkbookFunctionsDmaxRequest extends BaseRequest implements IBaseWorkbookFunctionsDmaxRequest { - protected final WorkbookFunctionsDmaxBody body; - - /** - * The request for this WorkbookFunctionsDmax - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDmaxRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDmaxBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDmaxRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDmaxRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDmaxRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDmaxRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDmaxRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDmaxRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequestBuilder.java deleted file mode 100644 index b7413b22e67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDmaxRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDmaxRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dmax Request Builder. - */ -public class BaseWorkbookFunctionsDmaxRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDmax - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDmaxRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDmaxRequest - * - * @return the IWorkbookFunctionsDmaxRequest instance - */ - public IWorkbookFunctionsDmaxRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDmaxRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDmaxRequest instance - */ - public IWorkbookFunctionsDmaxRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDmaxRequest request = new WorkbookFunctionsDmaxRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequest.java deleted file mode 100644 index 4924f2c33ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDminBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDminRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dmin Request. - */ -public class BaseWorkbookFunctionsDminRequest extends BaseRequest implements IBaseWorkbookFunctionsDminRequest { - protected final WorkbookFunctionsDminBody body; - - /** - * The request for this WorkbookFunctionsDmin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDminRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDminBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDminRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDminRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDminRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDminRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDminRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDminRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequestBuilder.java deleted file mode 100644 index 1b611529ca3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDminRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDminRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dmin Request Builder. - */ -public class BaseWorkbookFunctionsDminRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDmin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDminRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDminRequest - * - * @return the IWorkbookFunctionsDminRequest instance - */ - public IWorkbookFunctionsDminRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDminRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDminRequest instance - */ - public IWorkbookFunctionsDminRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDminRequest request = new WorkbookFunctionsDminRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequest.java deleted file mode 100644 index 6b9662b6619..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDollarDeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarDeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar De Request. - */ -public class BaseWorkbookFunctionsDollarDeRequest extends BaseRequest implements IBaseWorkbookFunctionsDollarDeRequest { - protected final WorkbookFunctionsDollarDeBody body; - - /** - * The request for this WorkbookFunctionsDollarDe - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDollarDeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDollarDeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDollarDeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDollarDeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDollarDeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDollarDeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDollarDeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDollarDeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequestBuilder.java deleted file mode 100644 index e480de825b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarDeRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarDeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar De Request Builder. - */ -public class BaseWorkbookFunctionsDollarDeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDollarDe - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param fractionalDollar the fractionalDollar - * @param fraction the fraction - */ - public BaseWorkbookFunctionsDollarDeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement fractionalDollar, final com.google.gson.JsonElement fraction) { - super(requestUrl, client, requestOptions); - bodyParams.put("fractionalDollar", fractionalDollar); - bodyParams.put("fraction", fraction); - } - - /** - * Creates the IWorkbookFunctionsDollarDeRequest - * - * @return the IWorkbookFunctionsDollarDeRequest instance - */ - public IWorkbookFunctionsDollarDeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDollarDeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDollarDeRequest instance - */ - public IWorkbookFunctionsDollarDeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDollarDeRequest request = new WorkbookFunctionsDollarDeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("fractionalDollar")) { - request.body.fractionalDollar = getParameter("fractionalDollar"); - } - - if (hasParameter("fraction")) { - request.body.fraction = getParameter("fraction"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequest.java deleted file mode 100644 index 6a123355d68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDollarFrBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarFrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar Fr Request. - */ -public class BaseWorkbookFunctionsDollarFrRequest extends BaseRequest implements IBaseWorkbookFunctionsDollarFrRequest { - protected final WorkbookFunctionsDollarFrBody body; - - /** - * The request for this WorkbookFunctionsDollarFr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDollarFrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDollarFrBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDollarFrRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDollarFrRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDollarFrRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDollarFrRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDollarFrRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDollarFrRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequestBuilder.java deleted file mode 100644 index c05ba74dace..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarFrRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarFrRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar Fr Request Builder. - */ -public class BaseWorkbookFunctionsDollarFrRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDollarFr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param decimalDollar the decimalDollar - * @param fraction the fraction - */ - public BaseWorkbookFunctionsDollarFrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement decimalDollar, final com.google.gson.JsonElement fraction) { - super(requestUrl, client, requestOptions); - bodyParams.put("decimalDollar", decimalDollar); - bodyParams.put("fraction", fraction); - } - - /** - * Creates the IWorkbookFunctionsDollarFrRequest - * - * @return the IWorkbookFunctionsDollarFrRequest instance - */ - public IWorkbookFunctionsDollarFrRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDollarFrRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDollarFrRequest instance - */ - public IWorkbookFunctionsDollarFrRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDollarFrRequest request = new WorkbookFunctionsDollarFrRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("decimalDollar")) { - request.body.decimalDollar = getParameter("decimalDollar"); - } - - if (hasParameter("fraction")) { - request.body.fraction = getParameter("fraction"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequest.java deleted file mode 100644 index 64b5f5711f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDollarBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar Request. - */ -public class BaseWorkbookFunctionsDollarRequest extends BaseRequest implements IBaseWorkbookFunctionsDollarRequest { - protected final WorkbookFunctionsDollarBody body; - - /** - * The request for this WorkbookFunctionsDollar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDollarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDollarBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDollarRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDollarRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDollarRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDollarRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDollarRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDollarRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequestBuilder.java deleted file mode 100644 index 6135fae3084..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDollarRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dollar Request Builder. - */ -public class BaseWorkbookFunctionsDollarRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDollar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param decimals the decimals - */ - public BaseWorkbookFunctionsDollarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("decimals", decimals); - } - - /** - * Creates the IWorkbookFunctionsDollarRequest - * - * @return the IWorkbookFunctionsDollarRequest instance - */ - public IWorkbookFunctionsDollarRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDollarRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDollarRequest instance - */ - public IWorkbookFunctionsDollarRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDollarRequest request = new WorkbookFunctionsDollarRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("decimals")) { - request.body.decimals = getParameter("decimals"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequest.java deleted file mode 100644 index 4440f6f29c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDproductBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDproductRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dproduct Request. - */ -public class BaseWorkbookFunctionsDproductRequest extends BaseRequest implements IBaseWorkbookFunctionsDproductRequest { - protected final WorkbookFunctionsDproductBody body; - - /** - * The request for this WorkbookFunctionsDproduct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDproductRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDproductBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDproductRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDproductRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDproductRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDproductRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDproductRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDproductRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequestBuilder.java deleted file mode 100644 index 5a386e09b9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDproductRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDproductRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dproduct Request Builder. - */ -public class BaseWorkbookFunctionsDproductRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDproduct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDproductRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDproductRequest - * - * @return the IWorkbookFunctionsDproductRequest instance - */ - public IWorkbookFunctionsDproductRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDproductRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDproductRequest instance - */ - public IWorkbookFunctionsDproductRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDproductRequest request = new WorkbookFunctionsDproductRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequest.java deleted file mode 100644 index 830a8dec302..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDstDevPBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevPRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dst Dev PRequest. - */ -public class BaseWorkbookFunctionsDstDevPRequest extends BaseRequest implements IBaseWorkbookFunctionsDstDevPRequest { - protected final WorkbookFunctionsDstDevPBody body; - - /** - * The request for this WorkbookFunctionsDstDevP - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDstDevPRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDstDevPBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDstDevPRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDstDevPRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDstDevPRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDstDevPRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDstDevPRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDstDevPRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequestBuilder.java deleted file mode 100644 index 065ffd4dde2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevPRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevPRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dst Dev PRequest Builder. - */ -public class BaseWorkbookFunctionsDstDevPRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDstDevP - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDstDevPRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDstDevPRequest - * - * @return the IWorkbookFunctionsDstDevPRequest instance - */ - public IWorkbookFunctionsDstDevPRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDstDevPRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDstDevPRequest instance - */ - public IWorkbookFunctionsDstDevPRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDstDevPRequest request = new WorkbookFunctionsDstDevPRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequest.java deleted file mode 100644 index 4e5a92a8219..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDstDevBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dst Dev Request. - */ -public class BaseWorkbookFunctionsDstDevRequest extends BaseRequest implements IBaseWorkbookFunctionsDstDevRequest { - protected final WorkbookFunctionsDstDevBody body; - - /** - * The request for this WorkbookFunctionsDstDev - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDstDevRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDstDevBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDstDevRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDstDevRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDstDevRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDstDevRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDstDevRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDstDevRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequestBuilder.java deleted file mode 100644 index df2e701d80b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDstDevRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dst Dev Request Builder. - */ -public class BaseWorkbookFunctionsDstDevRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDstDev - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDstDevRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDstDevRequest - * - * @return the IWorkbookFunctionsDstDevRequest instance - */ - public IWorkbookFunctionsDstDevRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDstDevRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDstDevRequest instance - */ - public IWorkbookFunctionsDstDevRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDstDevRequest request = new WorkbookFunctionsDstDevRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequest.java deleted file mode 100644 index 57a0f73a2b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDsumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDsumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dsum Request. - */ -public class BaseWorkbookFunctionsDsumRequest extends BaseRequest implements IBaseWorkbookFunctionsDsumRequest { - protected final WorkbookFunctionsDsumBody body; - - /** - * The request for this WorkbookFunctionsDsum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDsumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDsumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDsumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDsumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDsumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDsumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDsumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDsumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequestBuilder.java deleted file mode 100644 index baa40b46e67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDsumRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDsumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dsum Request Builder. - */ -public class BaseWorkbookFunctionsDsumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDsum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDsumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDsumRequest - * - * @return the IWorkbookFunctionsDsumRequest instance - */ - public IWorkbookFunctionsDsumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDsumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDsumRequest instance - */ - public IWorkbookFunctionsDsumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDsumRequest request = new WorkbookFunctionsDsumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequest.java deleted file mode 100644 index 8efaade051b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDurationBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDurationRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Duration Request. - */ -public class BaseWorkbookFunctionsDurationRequest extends BaseRequest implements IBaseWorkbookFunctionsDurationRequest { - protected final WorkbookFunctionsDurationBody body; - - /** - * The request for this WorkbookFunctionsDuration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDurationBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDurationRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDurationRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDurationRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequestBuilder.java deleted file mode 100644 index 2636bacc107..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDurationRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDurationRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Duration Request Builder. - */ -public class BaseWorkbookFunctionsDurationRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDuration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param coupon the coupon - * @param yld the yld - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsDurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("coupon", coupon); - bodyParams.put("yld", yld); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsDurationRequest - * - * @return the IWorkbookFunctionsDurationRequest instance - */ - public IWorkbookFunctionsDurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDurationRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDurationRequest instance - */ - public IWorkbookFunctionsDurationRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDurationRequest request = new WorkbookFunctionsDurationRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("coupon")) { - request.body.coupon = getParameter("coupon"); - } - - if (hasParameter("yld")) { - request.body.yld = getParameter("yld"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequest.java deleted file mode 100644 index 5eceeaeb37b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDvarPBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarPRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dvar PRequest. - */ -public class BaseWorkbookFunctionsDvarPRequest extends BaseRequest implements IBaseWorkbookFunctionsDvarPRequest { - protected final WorkbookFunctionsDvarPBody body; - - /** - * The request for this WorkbookFunctionsDvarP - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDvarPRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDvarPBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDvarPRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDvarPRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDvarPRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDvarPRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDvarPRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDvarPRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequestBuilder.java deleted file mode 100644 index f9d80b2bd33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarPRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarPRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dvar PRequest Builder. - */ -public class BaseWorkbookFunctionsDvarPRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDvarP - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDvarPRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDvarPRequest - * - * @return the IWorkbookFunctionsDvarPRequest instance - */ - public IWorkbookFunctionsDvarPRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDvarPRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDvarPRequest instance - */ - public IWorkbookFunctionsDvarPRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDvarPRequest request = new WorkbookFunctionsDvarPRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequest.java deleted file mode 100644 index 3379ae6018e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsDvarBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dvar Request. - */ -public class BaseWorkbookFunctionsDvarRequest extends BaseRequest implements IBaseWorkbookFunctionsDvarRequest { - protected final WorkbookFunctionsDvarBody body; - - /** - * The request for this WorkbookFunctionsDvar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsDvarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsDvarBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsDvarRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsDvarRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsDvarRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsDvarRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsDvarRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsDvarRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequestBuilder.java deleted file mode 100644 index 1985e2df493..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsDvarRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Dvar Request Builder. - */ -public class BaseWorkbookFunctionsDvarRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsDvar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param database the database - * @param field the field - * @param criteria the criteria - */ - public BaseWorkbookFunctionsDvarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - super(requestUrl, client, requestOptions); - bodyParams.put("database", database); - bodyParams.put("field", field); - bodyParams.put("criteria", criteria); - } - - /** - * Creates the IWorkbookFunctionsDvarRequest - * - * @return the IWorkbookFunctionsDvarRequest instance - */ - public IWorkbookFunctionsDvarRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsDvarRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDvarRequest instance - */ - public IWorkbookFunctionsDvarRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsDvarRequest request = new WorkbookFunctionsDvarRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("database")) { - request.body.database = getParameter("database"); - } - - if (hasParameter("field")) { - request.body.field = getParameter("field"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequest.java deleted file mode 100644 index df0200bbc44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsEcma_CeilingBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEcma_CeilingRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ecma_Ceiling Request. - */ -public class BaseWorkbookFunctionsEcma_CeilingRequest extends BaseRequest implements IBaseWorkbookFunctionsEcma_CeilingRequest { - protected final WorkbookFunctionsEcma_CeilingBody body; - - /** - * The request for this WorkbookFunctionsEcma_Ceiling - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsEcma_CeilingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsEcma_CeilingBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsEcma_CeilingRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsEcma_CeilingRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsEcma_CeilingRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsEcma_CeilingRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsEcma_CeilingRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsEcma_CeilingRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequestBuilder.java deleted file mode 100644 index 54c425cff1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEcma_CeilingRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEcma_CeilingRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ecma_Ceiling Request Builder. - */ -public class BaseWorkbookFunctionsEcma_CeilingRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsEcma_Ceiling - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param significance the significance - */ - public BaseWorkbookFunctionsEcma_CeilingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("significance", significance); - } - - /** - * Creates the IWorkbookFunctionsEcma_CeilingRequest - * - * @return the IWorkbookFunctionsEcma_CeilingRequest instance - */ - public IWorkbookFunctionsEcma_CeilingRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsEcma_CeilingRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEcma_CeilingRequest instance - */ - public IWorkbookFunctionsEcma_CeilingRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsEcma_CeilingRequest request = new WorkbookFunctionsEcma_CeilingRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequest.java deleted file mode 100644 index 631f5137700..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsEdateBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEdateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Edate Request. - */ -public class BaseWorkbookFunctionsEdateRequest extends BaseRequest implements IBaseWorkbookFunctionsEdateRequest { - protected final WorkbookFunctionsEdateBody body; - - /** - * The request for this WorkbookFunctionsEdate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsEdateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsEdateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsEdateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsEdateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsEdateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsEdateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsEdateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsEdateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequestBuilder.java deleted file mode 100644 index c1372a9059c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEdateRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEdateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Edate Request Builder. - */ -public class BaseWorkbookFunctionsEdateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsEdate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param months the months - */ - public BaseWorkbookFunctionsEdateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("months", months); - } - - /** - * Creates the IWorkbookFunctionsEdateRequest - * - * @return the IWorkbookFunctionsEdateRequest instance - */ - public IWorkbookFunctionsEdateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsEdateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEdateRequest instance - */ - public IWorkbookFunctionsEdateRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsEdateRequest request = new WorkbookFunctionsEdateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("months")) { - request.body.months = getParameter("months"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequest.java deleted file mode 100644 index 3f1a9e5f593..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsEffectBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEffectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Effect Request. - */ -public class BaseWorkbookFunctionsEffectRequest extends BaseRequest implements IBaseWorkbookFunctionsEffectRequest { - protected final WorkbookFunctionsEffectBody body; - - /** - * The request for this WorkbookFunctionsEffect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsEffectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsEffectBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsEffectRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsEffectRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsEffectRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsEffectRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsEffectRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsEffectRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequestBuilder.java deleted file mode 100644 index 675ffd671a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEffectRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEffectRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Effect Request Builder. - */ -public class BaseWorkbookFunctionsEffectRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsEffect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param nominalRate the nominalRate - * @param npery the npery - */ - public BaseWorkbookFunctionsEffectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement nominalRate, final com.google.gson.JsonElement npery) { - super(requestUrl, client, requestOptions); - bodyParams.put("nominalRate", nominalRate); - bodyParams.put("npery", npery); - } - - /** - * Creates the IWorkbookFunctionsEffectRequest - * - * @return the IWorkbookFunctionsEffectRequest instance - */ - public IWorkbookFunctionsEffectRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsEffectRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEffectRequest instance - */ - public IWorkbookFunctionsEffectRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsEffectRequest request = new WorkbookFunctionsEffectRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("nominalRate")) { - request.body.nominalRate = getParameter("nominalRate"); - } - - if (hasParameter("npery")) { - request.body.npery = getParameter("npery"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequest.java deleted file mode 100644 index e160c664b82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsEoMonthBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEoMonthRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Eo Month Request. - */ -public class BaseWorkbookFunctionsEoMonthRequest extends BaseRequest implements IBaseWorkbookFunctionsEoMonthRequest { - protected final WorkbookFunctionsEoMonthBody body; - - /** - * The request for this WorkbookFunctionsEoMonth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsEoMonthRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsEoMonthBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsEoMonthRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsEoMonthRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsEoMonthRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsEoMonthRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsEoMonthRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsEoMonthRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequestBuilder.java deleted file mode 100644 index 8d8dc1d25b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEoMonthRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEoMonthRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Eo Month Request Builder. - */ -public class BaseWorkbookFunctionsEoMonthRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsEoMonth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param months the months - */ - public BaseWorkbookFunctionsEoMonthRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("months", months); - } - - /** - * Creates the IWorkbookFunctionsEoMonthRequest - * - * @return the IWorkbookFunctionsEoMonthRequest instance - */ - public IWorkbookFunctionsEoMonthRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsEoMonthRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEoMonthRequest instance - */ - public IWorkbookFunctionsEoMonthRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsEoMonthRequest request = new WorkbookFunctionsEoMonthRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("months")) { - request.body.months = getParameter("months"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequest.java deleted file mode 100644 index 2f573cd56e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsErfCBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfCRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf CRequest. - */ -public class BaseWorkbookFunctionsErfCRequest extends BaseRequest implements IBaseWorkbookFunctionsErfCRequest { - protected final WorkbookFunctionsErfCBody body; - - /** - * The request for this WorkbookFunctionsErfC - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsErfCRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsErfCBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsErfCRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsErfCRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsErfCRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsErfCRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsErfCRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsErfCRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequestBuilder.java deleted file mode 100644 index e71f7c2584b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfCRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfCRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf CRequest Builder. - */ -public class BaseWorkbookFunctionsErfCRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsErfC - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsErfCRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsErfCRequest - * - * @return the IWorkbookFunctionsErfCRequest instance - */ - public IWorkbookFunctionsErfCRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsErfCRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErfCRequest instance - */ - public IWorkbookFunctionsErfCRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsErfCRequest request = new WorkbookFunctionsErfCRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequest.java deleted file mode 100644 index a7b9fed5551..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsErfC_PreciseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfC_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf C_Precise Request. - */ -public class BaseWorkbookFunctionsErfC_PreciseRequest extends BaseRequest implements IBaseWorkbookFunctionsErfC_PreciseRequest { - protected final WorkbookFunctionsErfC_PreciseBody body; - - /** - * The request for this WorkbookFunctionsErfC_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsErfC_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsErfC_PreciseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsErfC_PreciseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsErfC_PreciseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsErfC_PreciseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsErfC_PreciseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsErfC_PreciseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsErfC_PreciseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequestBuilder.java deleted file mode 100644 index 770c865b662..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfC_PreciseRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfC_PreciseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf C_Precise Request Builder. - */ -public class BaseWorkbookFunctionsErfC_PreciseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsErfC_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsErfC_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsErfC_PreciseRequest - * - * @return the IWorkbookFunctionsErfC_PreciseRequest instance - */ - public IWorkbookFunctionsErfC_PreciseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsErfC_PreciseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErfC_PreciseRequest instance - */ - public IWorkbookFunctionsErfC_PreciseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsErfC_PreciseRequest request = new WorkbookFunctionsErfC_PreciseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequest.java deleted file mode 100644 index 64e38aff103..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsErfBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf Request. - */ -public class BaseWorkbookFunctionsErfRequest extends BaseRequest implements IBaseWorkbookFunctionsErfRequest { - protected final WorkbookFunctionsErfBody body; - - /** - * The request for this WorkbookFunctionsErf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsErfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsErfBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsErfRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsErfRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsErfRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsErfRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsErfRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsErfRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequestBuilder.java deleted file mode 100644 index 0455ad425e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErfRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf Request Builder. - */ -public class BaseWorkbookFunctionsErfRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsErf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param lowerLimit the lowerLimit - * @param upperLimit the upperLimit - */ - public BaseWorkbookFunctionsErfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lowerLimit, final com.google.gson.JsonElement upperLimit) { - super(requestUrl, client, requestOptions); - bodyParams.put("lowerLimit", lowerLimit); - bodyParams.put("upperLimit", upperLimit); - } - - /** - * Creates the IWorkbookFunctionsErfRequest - * - * @return the IWorkbookFunctionsErfRequest instance - */ - public IWorkbookFunctionsErfRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsErfRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErfRequest instance - */ - public IWorkbookFunctionsErfRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsErfRequest request = new WorkbookFunctionsErfRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("lowerLimit")) { - request.body.lowerLimit = getParameter("lowerLimit"); - } - - if (hasParameter("upperLimit")) { - request.body.upperLimit = getParameter("upperLimit"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequest.java deleted file mode 100644 index 31a02fed38c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsErf_PreciseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErf_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf_Precise Request. - */ -public class BaseWorkbookFunctionsErf_PreciseRequest extends BaseRequest implements IBaseWorkbookFunctionsErf_PreciseRequest { - protected final WorkbookFunctionsErf_PreciseBody body; - - /** - * The request for this WorkbookFunctionsErf_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsErf_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsErf_PreciseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsErf_PreciseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsErf_PreciseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsErf_PreciseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsErf_PreciseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsErf_PreciseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsErf_PreciseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequestBuilder.java deleted file mode 100644 index 15716a02721..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsErf_PreciseRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErf_PreciseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Erf_Precise Request Builder. - */ -public class BaseWorkbookFunctionsErf_PreciseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsErf_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsErf_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsErf_PreciseRequest - * - * @return the IWorkbookFunctionsErf_PreciseRequest instance - */ - public IWorkbookFunctionsErf_PreciseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsErf_PreciseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErf_PreciseRequest instance - */ - public IWorkbookFunctionsErf_PreciseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsErf_PreciseRequest request = new WorkbookFunctionsErf_PreciseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequest.java deleted file mode 100644 index 7955c2b81f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsError_TypeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsError_TypeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Error_Type Request. - */ -public class BaseWorkbookFunctionsError_TypeRequest extends BaseRequest implements IBaseWorkbookFunctionsError_TypeRequest { - protected final WorkbookFunctionsError_TypeBody body; - - /** - * The request for this WorkbookFunctionsError_Type - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsError_TypeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsError_TypeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsError_TypeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsError_TypeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsError_TypeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsError_TypeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsError_TypeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsError_TypeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequestBuilder.java deleted file mode 100644 index 56d082081b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsError_TypeRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsError_TypeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Error_Type Request Builder. - */ -public class BaseWorkbookFunctionsError_TypeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsError_Type - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param errorVal the errorVal - */ - public BaseWorkbookFunctionsError_TypeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement errorVal) { - super(requestUrl, client, requestOptions); - bodyParams.put("errorVal", errorVal); - } - - /** - * Creates the IWorkbookFunctionsError_TypeRequest - * - * @return the IWorkbookFunctionsError_TypeRequest instance - */ - public IWorkbookFunctionsError_TypeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsError_TypeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsError_TypeRequest instance - */ - public IWorkbookFunctionsError_TypeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsError_TypeRequest request = new WorkbookFunctionsError_TypeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("errorVal")) { - request.body.errorVal = getParameter("errorVal"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequest.java deleted file mode 100644 index 1d65510220a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsEvenBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEvenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Even Request. - */ -public class BaseWorkbookFunctionsEvenRequest extends BaseRequest implements IBaseWorkbookFunctionsEvenRequest { - protected final WorkbookFunctionsEvenBody body; - - /** - * The request for this WorkbookFunctionsEven - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsEvenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsEvenBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsEvenRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsEvenRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsEvenRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsEvenRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsEvenRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsEvenRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequestBuilder.java deleted file mode 100644 index e5c639b1e04..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsEvenRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEvenRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Even Request Builder. - */ -public class BaseWorkbookFunctionsEvenRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsEven - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsEvenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsEvenRequest - * - * @return the IWorkbookFunctionsEvenRequest instance - */ - public IWorkbookFunctionsEvenRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsEvenRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEvenRequest instance - */ - public IWorkbookFunctionsEvenRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsEvenRequest request = new WorkbookFunctionsEvenRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequest.java deleted file mode 100644 index a50459c2be4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsExactBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExactRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Exact Request. - */ -public class BaseWorkbookFunctionsExactRequest extends BaseRequest implements IBaseWorkbookFunctionsExactRequest { - protected final WorkbookFunctionsExactBody body; - - /** - * The request for this WorkbookFunctionsExact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsExactRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsExactBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsExactRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsExactRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsExactRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsExactRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsExactRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsExactRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequestBuilder.java deleted file mode 100644 index 95a0d98ee10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExactRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExactRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Exact Request Builder. - */ -public class BaseWorkbookFunctionsExactRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsExact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text1 the text1 - * @param text2 the text2 - */ - public BaseWorkbookFunctionsExactRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text1, final com.google.gson.JsonElement text2) { - super(requestUrl, client, requestOptions); - bodyParams.put("text1", text1); - bodyParams.put("text2", text2); - } - - /** - * Creates the IWorkbookFunctionsExactRequest - * - * @return the IWorkbookFunctionsExactRequest instance - */ - public IWorkbookFunctionsExactRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsExactRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsExactRequest instance - */ - public IWorkbookFunctionsExactRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsExactRequest request = new WorkbookFunctionsExactRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text1")) { - request.body.text1 = getParameter("text1"); - } - - if (hasParameter("text2")) { - request.body.text2 = getParameter("text2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequest.java deleted file mode 100644 index c94a7534a02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsExpBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Exp Request. - */ -public class BaseWorkbookFunctionsExpRequest extends BaseRequest implements IBaseWorkbookFunctionsExpRequest { - protected final WorkbookFunctionsExpBody body; - - /** - * The request for this WorkbookFunctionsExp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsExpRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsExpBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsExpRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsExpRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsExpRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsExpRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsExpRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsExpRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequestBuilder.java deleted file mode 100644 index 99c8a9439aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Exp Request Builder. - */ -public class BaseWorkbookFunctionsExpRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsExp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsExpRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsExpRequest - * - * @return the IWorkbookFunctionsExpRequest instance - */ - public IWorkbookFunctionsExpRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsExpRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsExpRequest instance - */ - public IWorkbookFunctionsExpRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsExpRequest request = new WorkbookFunctionsExpRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequest.java deleted file mode 100644 index 493446874e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsExpon_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpon_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Expon_Dist Request. - */ -public class BaseWorkbookFunctionsExpon_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsExpon_DistRequest { - protected final WorkbookFunctionsExpon_DistBody body; - - /** - * The request for this WorkbookFunctionsExpon_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsExpon_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsExpon_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsExpon_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsExpon_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsExpon_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsExpon_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsExpon_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsExpon_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequestBuilder.java deleted file mode 100644 index 37deb95e0b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsExpon_DistRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpon_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Expon_Dist Request Builder. - */ -public class BaseWorkbookFunctionsExpon_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsExpon_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param lambda the lambda - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsExpon_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement lambda, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("lambda", lambda); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsExpon_DistRequest - * - * @return the IWorkbookFunctionsExpon_DistRequest instance - */ - public IWorkbookFunctionsExpon_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsExpon_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsExpon_DistRequest instance - */ - public IWorkbookFunctionsExpon_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsExpon_DistRequest request = new WorkbookFunctionsExpon_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("lambda")) { - request.body.lambda = getParameter("lambda"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequest.java deleted file mode 100644 index 7c3f72e2aa3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsF_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Dist Request. - */ -public class BaseWorkbookFunctionsF_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsF_DistRequest { - protected final WorkbookFunctionsF_DistBody body; - - /** - * The request for this WorkbookFunctionsF_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsF_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsF_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsF_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsF_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsF_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsF_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsF_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsF_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequestBuilder.java deleted file mode 100644 index fa10840a63d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Dist Request Builder. - */ -public class BaseWorkbookFunctionsF_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsF_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom1 the degFreedom1 - * @param degFreedom2 the degFreedom2 - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsF_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom1", degFreedom1); - bodyParams.put("degFreedom2", degFreedom2); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsF_DistRequest - * - * @return the IWorkbookFunctionsF_DistRequest instance - */ - public IWorkbookFunctionsF_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsF_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_DistRequest instance - */ - public IWorkbookFunctionsF_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsF_DistRequest request = new WorkbookFunctionsF_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom1")) { - request.body.degFreedom1 = getParameter("degFreedom1"); - } - - if (hasParameter("degFreedom2")) { - request.body.degFreedom2 = getParameter("degFreedom2"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequest.java deleted file mode 100644 index 958fa31ceba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsF_Dist_RTBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Dist_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Dist_RTRequest. - */ -public class BaseWorkbookFunctionsF_Dist_RTRequest extends BaseRequest implements IBaseWorkbookFunctionsF_Dist_RTRequest { - protected final WorkbookFunctionsF_Dist_RTBody body; - - /** - * The request for this WorkbookFunctionsF_Dist_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsF_Dist_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsF_Dist_RTBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsF_Dist_RTRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsF_Dist_RTRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsF_Dist_RTRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsF_Dist_RTRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsF_Dist_RTRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsF_Dist_RTRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequestBuilder.java deleted file mode 100644 index 0ae6fe7227c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Dist_RTRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Dist_RTRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Dist_RTRequest Builder. - */ -public class BaseWorkbookFunctionsF_Dist_RTRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsF_Dist_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom1 the degFreedom1 - * @param degFreedom2 the degFreedom2 - */ - public BaseWorkbookFunctionsF_Dist_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom1", degFreedom1); - bodyParams.put("degFreedom2", degFreedom2); - } - - /** - * Creates the IWorkbookFunctionsF_Dist_RTRequest - * - * @return the IWorkbookFunctionsF_Dist_RTRequest instance - */ - public IWorkbookFunctionsF_Dist_RTRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsF_Dist_RTRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_Dist_RTRequest instance - */ - public IWorkbookFunctionsF_Dist_RTRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsF_Dist_RTRequest request = new WorkbookFunctionsF_Dist_RTRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom1")) { - request.body.degFreedom1 = getParameter("degFreedom1"); - } - - if (hasParameter("degFreedom2")) { - request.body.degFreedom2 = getParameter("degFreedom2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequest.java deleted file mode 100644 index 4e911e3786d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsF_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Inv Request. - */ -public class BaseWorkbookFunctionsF_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsF_InvRequest { - protected final WorkbookFunctionsF_InvBody body; - - /** - * The request for this WorkbookFunctionsF_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsF_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsF_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsF_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsF_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsF_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsF_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsF_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsF_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequestBuilder.java deleted file mode 100644 index 845fa2d3273..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_InvRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Inv Request Builder. - */ -public class BaseWorkbookFunctionsF_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsF_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param degFreedom1 the degFreedom1 - * @param degFreedom2 the degFreedom2 - */ - public BaseWorkbookFunctionsF_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("degFreedom1", degFreedom1); - bodyParams.put("degFreedom2", degFreedom2); - } - - /** - * Creates the IWorkbookFunctionsF_InvRequest - * - * @return the IWorkbookFunctionsF_InvRequest instance - */ - public IWorkbookFunctionsF_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsF_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_InvRequest instance - */ - public IWorkbookFunctionsF_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsF_InvRequest request = new WorkbookFunctionsF_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("degFreedom1")) { - request.body.degFreedom1 = getParameter("degFreedom1"); - } - - if (hasParameter("degFreedom2")) { - request.body.degFreedom2 = getParameter("degFreedom2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequest.java deleted file mode 100644 index 8dce2b9f69d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsF_Inv_RTBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Inv_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Inv_RTRequest. - */ -public class BaseWorkbookFunctionsF_Inv_RTRequest extends BaseRequest implements IBaseWorkbookFunctionsF_Inv_RTRequest { - protected final WorkbookFunctionsF_Inv_RTBody body; - - /** - * The request for this WorkbookFunctionsF_Inv_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsF_Inv_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsF_Inv_RTBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsF_Inv_RTRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsF_Inv_RTRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsF_Inv_RTRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsF_Inv_RTRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsF_Inv_RTRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsF_Inv_RTRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequestBuilder.java deleted file mode 100644 index ee1eaf33d61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsF_Inv_RTRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Inv_RTRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions F_Inv_RTRequest Builder. - */ -public class BaseWorkbookFunctionsF_Inv_RTRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsF_Inv_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param degFreedom1 the degFreedom1 - * @param degFreedom2 the degFreedom2 - */ - public BaseWorkbookFunctionsF_Inv_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("degFreedom1", degFreedom1); - bodyParams.put("degFreedom2", degFreedom2); - } - - /** - * Creates the IWorkbookFunctionsF_Inv_RTRequest - * - * @return the IWorkbookFunctionsF_Inv_RTRequest instance - */ - public IWorkbookFunctionsF_Inv_RTRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsF_Inv_RTRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_Inv_RTRequest instance - */ - public IWorkbookFunctionsF_Inv_RTRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsF_Inv_RTRequest request = new WorkbookFunctionsF_Inv_RTRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("degFreedom1")) { - request.body.degFreedom1 = getParameter("degFreedom1"); - } - - if (hasParameter("degFreedom2")) { - request.body.degFreedom2 = getParameter("degFreedom2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequest.java deleted file mode 100644 index 3024c07a038..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFactDoubleBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactDoubleRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fact Double Request. - */ -public class BaseWorkbookFunctionsFactDoubleRequest extends BaseRequest implements IBaseWorkbookFunctionsFactDoubleRequest { - protected final WorkbookFunctionsFactDoubleBody body; - - /** - * The request for this WorkbookFunctionsFactDouble - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFactDoubleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFactDoubleBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFactDoubleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFactDoubleRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFactDoubleRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFactDoubleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFactDoubleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFactDoubleRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequestBuilder.java deleted file mode 100644 index b9926065d1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactDoubleRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactDoubleRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fact Double Request Builder. - */ -public class BaseWorkbookFunctionsFactDoubleRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFactDouble - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsFactDoubleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsFactDoubleRequest - * - * @return the IWorkbookFunctionsFactDoubleRequest instance - */ - public IWorkbookFunctionsFactDoubleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFactDoubleRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFactDoubleRequest instance - */ - public IWorkbookFunctionsFactDoubleRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFactDoubleRequest request = new WorkbookFunctionsFactDoubleRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequest.java deleted file mode 100644 index 9bd1ff98a01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFactBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fact Request. - */ -public class BaseWorkbookFunctionsFactRequest extends BaseRequest implements IBaseWorkbookFunctionsFactRequest { - protected final WorkbookFunctionsFactBody body; - - /** - * The request for this WorkbookFunctionsFact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFactRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFactBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFactRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFactRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFactRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFactRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFactRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFactRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequestBuilder.java deleted file mode 100644 index 6dd45b68168..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFactRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fact Request Builder. - */ -public class BaseWorkbookFunctionsFactRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFact - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsFactRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsFactRequest - * - * @return the IWorkbookFunctionsFactRequest instance - */ - public IWorkbookFunctionsFactRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFactRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFactRequest instance - */ - public IWorkbookFunctionsFactRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFactRequest request = new WorkbookFunctionsFactRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequest.java deleted file mode 100644 index 38b89572ff7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFalseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions False Request. - */ -public class BaseWorkbookFunctionsFalseRequest extends BaseRequest implements IBaseWorkbookFunctionsFalseRequest { - - /** - * The request for this WorkbookFunctionsFalse - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFalseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsFalse - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsFalse - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFalseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFalseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFalseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFalseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequestBuilder.java deleted file mode 100644 index 194376e3542..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFalseRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFalseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions False Request Builder. - */ -public class BaseWorkbookFunctionsFalseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFalse - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFalseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsFalseRequest - * - * @return the IWorkbookFunctionsFalseRequest instance - */ - public IWorkbookFunctionsFalseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFalseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFalseRequest instance - */ - public IWorkbookFunctionsFalseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFalseRequest request = new WorkbookFunctionsFalseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequest.java deleted file mode 100644 index 4cf8a00cf0f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFindBBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindBRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Find BRequest. - */ -public class BaseWorkbookFunctionsFindBRequest extends BaseRequest implements IBaseWorkbookFunctionsFindBRequest { - protected final WorkbookFunctionsFindBBody body; - - /** - * The request for this WorkbookFunctionsFindB - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFindBRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFindBBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFindBRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFindBRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFindBRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFindBRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFindBRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFindBRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequestBuilder.java deleted file mode 100644 index e0dbfdff22f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindBRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindBRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Find BRequest Builder. - */ -public class BaseWorkbookFunctionsFindBRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFindB - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param findText the findText - * @param withinText the withinText - * @param startNum the startNum - */ - public BaseWorkbookFunctionsFindBRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { - super(requestUrl, client, requestOptions); - bodyParams.put("findText", findText); - bodyParams.put("withinText", withinText); - bodyParams.put("startNum", startNum); - } - - /** - * Creates the IWorkbookFunctionsFindBRequest - * - * @return the IWorkbookFunctionsFindBRequest instance - */ - public IWorkbookFunctionsFindBRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFindBRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFindBRequest instance - */ - public IWorkbookFunctionsFindBRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFindBRequest request = new WorkbookFunctionsFindBRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("findText")) { - request.body.findText = getParameter("findText"); - } - - if (hasParameter("withinText")) { - request.body.withinText = getParameter("withinText"); - } - - if (hasParameter("startNum")) { - request.body.startNum = getParameter("startNum"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequest.java deleted file mode 100644 index 7dda419fed3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFindBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Find Request. - */ -public class BaseWorkbookFunctionsFindRequest extends BaseRequest implements IBaseWorkbookFunctionsFindRequest { - protected final WorkbookFunctionsFindBody body; - - /** - * The request for this WorkbookFunctionsFind - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFindRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFindBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFindRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFindRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFindRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFindRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFindRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFindRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequestBuilder.java deleted file mode 100644 index e5e6a87a836..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFindRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Find Request Builder. - */ -public class BaseWorkbookFunctionsFindRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFind - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param findText the findText - * @param withinText the withinText - * @param startNum the startNum - */ - public BaseWorkbookFunctionsFindRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { - super(requestUrl, client, requestOptions); - bodyParams.put("findText", findText); - bodyParams.put("withinText", withinText); - bodyParams.put("startNum", startNum); - } - - /** - * Creates the IWorkbookFunctionsFindRequest - * - * @return the IWorkbookFunctionsFindRequest instance - */ - public IWorkbookFunctionsFindRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFindRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFindRequest instance - */ - public IWorkbookFunctionsFindRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFindRequest request = new WorkbookFunctionsFindRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("findText")) { - request.body.findText = getParameter("findText"); - } - - if (hasParameter("withinText")) { - request.body.withinText = getParameter("withinText"); - } - - if (hasParameter("startNum")) { - request.body.startNum = getParameter("startNum"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequest.java deleted file mode 100644 index 124fbff6150..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFisherInvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherInvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fisher Inv Request. - */ -public class BaseWorkbookFunctionsFisherInvRequest extends BaseRequest implements IBaseWorkbookFunctionsFisherInvRequest { - protected final WorkbookFunctionsFisherInvBody body; - - /** - * The request for this WorkbookFunctionsFisherInv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFisherInvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFisherInvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFisherInvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFisherInvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFisherInvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFisherInvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFisherInvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFisherInvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequestBuilder.java deleted file mode 100644 index baf42716f20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherInvRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherInvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fisher Inv Request Builder. - */ -public class BaseWorkbookFunctionsFisherInvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFisherInv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param y the y - */ - public BaseWorkbookFunctionsFisherInvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement y) { - super(requestUrl, client, requestOptions); - bodyParams.put("y", y); - } - - /** - * Creates the IWorkbookFunctionsFisherInvRequest - * - * @return the IWorkbookFunctionsFisherInvRequest instance - */ - public IWorkbookFunctionsFisherInvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFisherInvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFisherInvRequest instance - */ - public IWorkbookFunctionsFisherInvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFisherInvRequest request = new WorkbookFunctionsFisherInvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("y")) { - request.body.y = getParameter("y"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequest.java deleted file mode 100644 index 80b5003cd29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFisherBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fisher Request. - */ -public class BaseWorkbookFunctionsFisherRequest extends BaseRequest implements IBaseWorkbookFunctionsFisherRequest { - protected final WorkbookFunctionsFisherBody body; - - /** - * The request for this WorkbookFunctionsFisher - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFisherRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFisherBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFisherRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFisherRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFisherRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFisherRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFisherRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFisherRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequestBuilder.java deleted file mode 100644 index b9bf5a0abbd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFisherRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fisher Request Builder. - */ -public class BaseWorkbookFunctionsFisherRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFisher - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsFisherRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsFisherRequest - * - * @return the IWorkbookFunctionsFisherRequest instance - */ - public IWorkbookFunctionsFisherRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFisherRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFisherRequest instance - */ - public IWorkbookFunctionsFisherRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFisherRequest request = new WorkbookFunctionsFisherRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequest.java deleted file mode 100644 index d5d61a17c14..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFixedBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFixedRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fixed Request. - */ -public class BaseWorkbookFunctionsFixedRequest extends BaseRequest implements IBaseWorkbookFunctionsFixedRequest { - protected final WorkbookFunctionsFixedBody body; - - /** - * The request for this WorkbookFunctionsFixed - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFixedRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFixedBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFixedRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFixedRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFixedRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFixedRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFixedRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFixedRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequestBuilder.java deleted file mode 100644 index f7c12ce6c9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFixedRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFixedRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fixed Request Builder. - */ -public class BaseWorkbookFunctionsFixedRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFixed - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param decimals the decimals - * @param noCommas the noCommas - */ - public BaseWorkbookFunctionsFixedRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals, final com.google.gson.JsonElement noCommas) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("decimals", decimals); - bodyParams.put("noCommas", noCommas); - } - - /** - * Creates the IWorkbookFunctionsFixedRequest - * - * @return the IWorkbookFunctionsFixedRequest instance - */ - public IWorkbookFunctionsFixedRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFixedRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFixedRequest instance - */ - public IWorkbookFunctionsFixedRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFixedRequest request = new WorkbookFunctionsFixedRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("decimals")) { - request.body.decimals = getParameter("decimals"); - } - - if (hasParameter("noCommas")) { - request.body.noCommas = getParameter("noCommas"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequest.java deleted file mode 100644 index 164700cc332..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFloor_MathBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_MathRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Floor_Math Request. - */ -public class BaseWorkbookFunctionsFloor_MathRequest extends BaseRequest implements IBaseWorkbookFunctionsFloor_MathRequest { - protected final WorkbookFunctionsFloor_MathBody body; - - /** - * The request for this WorkbookFunctionsFloor_Math - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFloor_MathRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFloor_MathBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFloor_MathRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFloor_MathRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFloor_MathRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFloor_MathRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFloor_MathRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFloor_MathRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequestBuilder.java deleted file mode 100644 index 1f9eae85182..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_MathRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_MathRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Floor_Math Request Builder. - */ -public class BaseWorkbookFunctionsFloor_MathRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFloor_Math - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param significance the significance - * @param mode the mode - */ - public BaseWorkbookFunctionsFloor_MathRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("significance", significance); - bodyParams.put("mode", mode); - } - - /** - * Creates the IWorkbookFunctionsFloor_MathRequest - * - * @return the IWorkbookFunctionsFloor_MathRequest instance - */ - public IWorkbookFunctionsFloor_MathRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFloor_MathRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFloor_MathRequest instance - */ - public IWorkbookFunctionsFloor_MathRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFloor_MathRequest request = new WorkbookFunctionsFloor_MathRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - if (hasParameter("mode")) { - request.body.mode = getParameter("mode"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequest.java deleted file mode 100644 index 27b7ab53295..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFloor_PreciseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Floor_Precise Request. - */ -public class BaseWorkbookFunctionsFloor_PreciseRequest extends BaseRequest implements IBaseWorkbookFunctionsFloor_PreciseRequest { - protected final WorkbookFunctionsFloor_PreciseBody body; - - /** - * The request for this WorkbookFunctionsFloor_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFloor_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFloor_PreciseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFloor_PreciseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFloor_PreciseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFloor_PreciseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFloor_PreciseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFloor_PreciseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFloor_PreciseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequestBuilder.java deleted file mode 100644 index d99faa61447..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFloor_PreciseRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_PreciseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Floor_Precise Request Builder. - */ -public class BaseWorkbookFunctionsFloor_PreciseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFloor_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param significance the significance - */ - public BaseWorkbookFunctionsFloor_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("significance", significance); - } - - /** - * Creates the IWorkbookFunctionsFloor_PreciseRequest - * - * @return the IWorkbookFunctionsFloor_PreciseRequest instance - */ - public IWorkbookFunctionsFloor_PreciseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFloor_PreciseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFloor_PreciseRequest instance - */ - public IWorkbookFunctionsFloor_PreciseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFloor_PreciseRequest request = new WorkbookFunctionsFloor_PreciseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequest.java deleted file mode 100644 index 224e934f659..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fv Request. - */ -public class BaseWorkbookFunctionsFvRequest extends BaseRequest implements IBaseWorkbookFunctionsFvRequest { - protected final WorkbookFunctionsFvBody body; - - /** - * The request for this WorkbookFunctionsFv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequestBuilder.java deleted file mode 100644 index cf20e2f54b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fv Request Builder. - */ -public class BaseWorkbookFunctionsFvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param nper the nper - * @param pmt the pmt - * @param pv the pv - * @param type the type - */ - public BaseWorkbookFunctionsFvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("nper", nper); - bodyParams.put("pmt", pmt); - bodyParams.put("pv", pv); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsFvRequest - * - * @return the IWorkbookFunctionsFvRequest instance - */ - public IWorkbookFunctionsFvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFvRequest instance - */ - public IWorkbookFunctionsFvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFvRequest request = new WorkbookFunctionsFvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pmt")) { - request.body.pmt = getParameter("pmt"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequest.java deleted file mode 100644 index ad29f492271..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsFvscheduleBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvscheduleRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fvschedule Request. - */ -public class BaseWorkbookFunctionsFvscheduleRequest extends BaseRequest implements IBaseWorkbookFunctionsFvscheduleRequest { - protected final WorkbookFunctionsFvscheduleBody body; - - /** - * The request for this WorkbookFunctionsFvschedule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsFvscheduleRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsFvscheduleBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsFvscheduleRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsFvscheduleRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsFvscheduleRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsFvscheduleRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsFvscheduleRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsFvscheduleRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequestBuilder.java deleted file mode 100644 index df4267aa174..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsFvscheduleRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvscheduleRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Fvschedule Request Builder. - */ -public class BaseWorkbookFunctionsFvscheduleRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsFvschedule - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param principal the principal - * @param schedule the schedule - */ - public BaseWorkbookFunctionsFvscheduleRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement principal, final com.google.gson.JsonElement schedule) { - super(requestUrl, client, requestOptions); - bodyParams.put("principal", principal); - bodyParams.put("schedule", schedule); - } - - /** - * Creates the IWorkbookFunctionsFvscheduleRequest - * - * @return the IWorkbookFunctionsFvscheduleRequest instance - */ - public IWorkbookFunctionsFvscheduleRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsFvscheduleRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFvscheduleRequest instance - */ - public IWorkbookFunctionsFvscheduleRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsFvscheduleRequest request = new WorkbookFunctionsFvscheduleRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("principal")) { - request.body.principal = getParameter("principal"); - } - - if (hasParameter("schedule")) { - request.body.schedule = getParameter("schedule"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequest.java deleted file mode 100644 index f59fef7914b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGammaLnBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Ln Request. - */ -public class BaseWorkbookFunctionsGammaLnRequest extends BaseRequest implements IBaseWorkbookFunctionsGammaLnRequest { - protected final WorkbookFunctionsGammaLnBody body; - - /** - * The request for this WorkbookFunctionsGammaLn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGammaLnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGammaLnBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGammaLnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGammaLnRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGammaLnRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGammaLnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGammaLnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGammaLnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequestBuilder.java deleted file mode 100644 index a0f4a41646c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLnRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Ln Request Builder. - */ -public class BaseWorkbookFunctionsGammaLnRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGammaLn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsGammaLnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsGammaLnRequest - * - * @return the IWorkbookFunctionsGammaLnRequest instance - */ - public IWorkbookFunctionsGammaLnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGammaLnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGammaLnRequest instance - */ - public IWorkbookFunctionsGammaLnRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGammaLnRequest request = new WorkbookFunctionsGammaLnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequest.java deleted file mode 100644 index c1bf20d2076..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGammaLn_PreciseBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLn_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Ln_Precise Request. - */ -public class BaseWorkbookFunctionsGammaLn_PreciseRequest extends BaseRequest implements IBaseWorkbookFunctionsGammaLn_PreciseRequest { - protected final WorkbookFunctionsGammaLn_PreciseBody body; - - /** - * The request for this WorkbookFunctionsGammaLn_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGammaLn_PreciseRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGammaLn_PreciseBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGammaLn_PreciseRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGammaLn_PreciseRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGammaLn_PreciseRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGammaLn_PreciseRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGammaLn_PreciseRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGammaLn_PreciseRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java deleted file mode 100644 index 3ba682c7e94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLn_PreciseRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Ln_Precise Request Builder. - */ -public class BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGammaLn_Precise - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsGammaLn_PreciseRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsGammaLn_PreciseRequest - * - * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance - */ - public IWorkbookFunctionsGammaLn_PreciseRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGammaLn_PreciseRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance - */ - public IWorkbookFunctionsGammaLn_PreciseRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGammaLn_PreciseRequest request = new WorkbookFunctionsGammaLn_PreciseRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequest.java deleted file mode 100644 index 35f16d32543..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGammaBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Request. - */ -public class BaseWorkbookFunctionsGammaRequest extends BaseRequest implements IBaseWorkbookFunctionsGammaRequest { - protected final WorkbookFunctionsGammaBody body; - - /** - * The request for this WorkbookFunctionsGamma - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGammaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGammaBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGammaRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGammaRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGammaRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGammaRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGammaRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGammaRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequestBuilder.java deleted file mode 100644 index cc5a07778c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGammaRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma Request Builder. - */ -public class BaseWorkbookFunctionsGammaRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGamma - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsGammaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsGammaRequest - * - * @return the IWorkbookFunctionsGammaRequest instance - */ - public IWorkbookFunctionsGammaRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGammaRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGammaRequest instance - */ - public IWorkbookFunctionsGammaRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGammaRequest request = new WorkbookFunctionsGammaRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequest.java deleted file mode 100644 index 4040a83d3eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGamma_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma_Dist Request. - */ -public class BaseWorkbookFunctionsGamma_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsGamma_DistRequest { - protected final WorkbookFunctionsGamma_DistBody body; - - /** - * The request for this WorkbookFunctionsGamma_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGamma_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGamma_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGamma_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGamma_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGamma_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGamma_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGamma_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGamma_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequestBuilder.java deleted file mode 100644 index aed228a6031..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma_Dist Request Builder. - */ -public class BaseWorkbookFunctionsGamma_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGamma_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param alpha the alpha - * @param beta the beta - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsGamma_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("alpha", alpha); - bodyParams.put("beta", beta); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsGamma_DistRequest - * - * @return the IWorkbookFunctionsGamma_DistRequest instance - */ - public IWorkbookFunctionsGamma_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGamma_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGamma_DistRequest instance - */ - public IWorkbookFunctionsGamma_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGamma_DistRequest request = new WorkbookFunctionsGamma_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("beta")) { - request.body.beta = getParameter("beta"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequest.java deleted file mode 100644 index f3ec6b9cc3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGamma_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma_Inv Request. - */ -public class BaseWorkbookFunctionsGamma_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsGamma_InvRequest { - protected final WorkbookFunctionsGamma_InvBody body; - - /** - * The request for this WorkbookFunctionsGamma_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGamma_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGamma_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGamma_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGamma_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGamma_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGamma_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGamma_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGamma_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequestBuilder.java deleted file mode 100644 index b7b55c7d643..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGamma_InvRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gamma_Inv Request Builder. - */ -public class BaseWorkbookFunctionsGamma_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGamma_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param alpha the alpha - * @param beta the beta - */ - public BaseWorkbookFunctionsGamma_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("alpha", alpha); - bodyParams.put("beta", beta); - } - - /** - * Creates the IWorkbookFunctionsGamma_InvRequest - * - * @return the IWorkbookFunctionsGamma_InvRequest instance - */ - public IWorkbookFunctionsGamma_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGamma_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGamma_InvRequest instance - */ - public IWorkbookFunctionsGamma_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGamma_InvRequest request = new WorkbookFunctionsGamma_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("beta")) { - request.body.beta = getParameter("beta"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequest.java deleted file mode 100644 index e0e4c1e55c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGaussBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGaussRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gauss Request. - */ -public class BaseWorkbookFunctionsGaussRequest extends BaseRequest implements IBaseWorkbookFunctionsGaussRequest { - protected final WorkbookFunctionsGaussBody body; - - /** - * The request for this WorkbookFunctionsGauss - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGaussRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGaussBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGaussRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGaussRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGaussRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGaussRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGaussRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGaussRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequestBuilder.java deleted file mode 100644 index 47bf44dcad3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGaussRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGaussRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gauss Request Builder. - */ -public class BaseWorkbookFunctionsGaussRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGauss - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsGaussRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsGaussRequest - * - * @return the IWorkbookFunctionsGaussRequest instance - */ - public IWorkbookFunctionsGaussRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGaussRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGaussRequest instance - */ - public IWorkbookFunctionsGaussRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGaussRequest request = new WorkbookFunctionsGaussRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequest.java deleted file mode 100644 index f88a47ea2ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGcdBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGcdRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gcd Request. - */ -public class BaseWorkbookFunctionsGcdRequest extends BaseRequest implements IBaseWorkbookFunctionsGcdRequest { - protected final WorkbookFunctionsGcdBody body; - - /** - * The request for this WorkbookFunctionsGcd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGcdRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGcdBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGcdRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGcdRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGcdRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGcdRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGcdRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGcdRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequestBuilder.java deleted file mode 100644 index bd3355dcd6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGcdRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGcdRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Gcd Request Builder. - */ -public class BaseWorkbookFunctionsGcdRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGcd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsGcdRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsGcdRequest - * - * @return the IWorkbookFunctionsGcdRequest instance - */ - public IWorkbookFunctionsGcdRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGcdRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGcdRequest instance - */ - public IWorkbookFunctionsGcdRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGcdRequest request = new WorkbookFunctionsGcdRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequest.java deleted file mode 100644 index 278b7de53b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGeStepBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeStepRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ge Step Request. - */ -public class BaseWorkbookFunctionsGeStepRequest extends BaseRequest implements IBaseWorkbookFunctionsGeStepRequest { - protected final WorkbookFunctionsGeStepBody body; - - /** - * The request for this WorkbookFunctionsGeStep - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGeStepRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGeStepBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGeStepRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGeStepRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGeStepRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGeStepRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGeStepRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGeStepRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequestBuilder.java deleted file mode 100644 index b4158dce85e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeStepRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeStepRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ge Step Request Builder. - */ -public class BaseWorkbookFunctionsGeStepRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGeStep - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param step the step - */ - public BaseWorkbookFunctionsGeStepRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement step) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("step", step); - } - - /** - * Creates the IWorkbookFunctionsGeStepRequest - * - * @return the IWorkbookFunctionsGeStepRequest instance - */ - public IWorkbookFunctionsGeStepRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGeStepRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGeStepRequest instance - */ - public IWorkbookFunctionsGeStepRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGeStepRequest request = new WorkbookFunctionsGeStepRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("step")) { - request.body.step = getParameter("step"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequest.java deleted file mode 100644 index 899dc0d970c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsGeoMeanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeoMeanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Geo Mean Request. - */ -public class BaseWorkbookFunctionsGeoMeanRequest extends BaseRequest implements IBaseWorkbookFunctionsGeoMeanRequest { - protected final WorkbookFunctionsGeoMeanBody body; - - /** - * The request for this WorkbookFunctionsGeoMean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsGeoMeanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsGeoMeanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsGeoMeanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsGeoMeanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsGeoMeanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsGeoMeanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsGeoMeanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsGeoMeanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequestBuilder.java deleted file mode 100644 index dfe68a9ec62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsGeoMeanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeoMeanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Geo Mean Request Builder. - */ -public class BaseWorkbookFunctionsGeoMeanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsGeoMean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsGeoMeanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsGeoMeanRequest - * - * @return the IWorkbookFunctionsGeoMeanRequest instance - */ - public IWorkbookFunctionsGeoMeanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsGeoMeanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGeoMeanRequest instance - */ - public IWorkbookFunctionsGeoMeanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsGeoMeanRequest request = new WorkbookFunctionsGeoMeanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequest.java deleted file mode 100644 index 6851defc28f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHarMeanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHarMeanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Har Mean Request. - */ -public class BaseWorkbookFunctionsHarMeanRequest extends BaseRequest implements IBaseWorkbookFunctionsHarMeanRequest { - protected final WorkbookFunctionsHarMeanBody body; - - /** - * The request for this WorkbookFunctionsHarMean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHarMeanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHarMeanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHarMeanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHarMeanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHarMeanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHarMeanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHarMeanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHarMeanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequestBuilder.java deleted file mode 100644 index a6e000a3320..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHarMeanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHarMeanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Har Mean Request Builder. - */ -public class BaseWorkbookFunctionsHarMeanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHarMean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsHarMeanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsHarMeanRequest - * - * @return the IWorkbookFunctionsHarMeanRequest instance - */ - public IWorkbookFunctionsHarMeanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHarMeanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHarMeanRequest instance - */ - public IWorkbookFunctionsHarMeanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHarMeanRequest request = new WorkbookFunctionsHarMeanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequest.java deleted file mode 100644 index a23a46e90e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHex2BinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2BinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Bin Request. - */ -public class BaseWorkbookFunctionsHex2BinRequest extends BaseRequest implements IBaseWorkbookFunctionsHex2BinRequest { - protected final WorkbookFunctionsHex2BinBody body; - - /** - * The request for this WorkbookFunctionsHex2Bin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHex2BinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHex2BinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHex2BinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHex2BinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHex2BinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHex2BinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHex2BinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHex2BinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequestBuilder.java deleted file mode 100644 index f323dfd6ee1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2BinRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2BinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Bin Request Builder. - */ -public class BaseWorkbookFunctionsHex2BinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHex2Bin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsHex2BinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsHex2BinRequest - * - * @return the IWorkbookFunctionsHex2BinRequest instance - */ - public IWorkbookFunctionsHex2BinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHex2BinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHex2BinRequest instance - */ - public IWorkbookFunctionsHex2BinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHex2BinRequest request = new WorkbookFunctionsHex2BinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequest.java deleted file mode 100644 index fcd94e02a48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHex2DecBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2DecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Dec Request. - */ -public class BaseWorkbookFunctionsHex2DecRequest extends BaseRequest implements IBaseWorkbookFunctionsHex2DecRequest { - protected final WorkbookFunctionsHex2DecBody body; - - /** - * The request for this WorkbookFunctionsHex2Dec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHex2DecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHex2DecBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHex2DecRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHex2DecRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHex2DecRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHex2DecRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHex2DecRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHex2DecRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequestBuilder.java deleted file mode 100644 index b65b8edd1fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2DecRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2DecRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Dec Request Builder. - */ -public class BaseWorkbookFunctionsHex2DecRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHex2Dec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsHex2DecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsHex2DecRequest - * - * @return the IWorkbookFunctionsHex2DecRequest instance - */ - public IWorkbookFunctionsHex2DecRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHex2DecRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHex2DecRequest instance - */ - public IWorkbookFunctionsHex2DecRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHex2DecRequest request = new WorkbookFunctionsHex2DecRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequest.java deleted file mode 100644 index 7ebd05b290d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHex2OctBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2OctRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Oct Request. - */ -public class BaseWorkbookFunctionsHex2OctRequest extends BaseRequest implements IBaseWorkbookFunctionsHex2OctRequest { - protected final WorkbookFunctionsHex2OctBody body; - - /** - * The request for this WorkbookFunctionsHex2Oct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHex2OctRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHex2OctBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHex2OctRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHex2OctRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHex2OctRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHex2OctRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHex2OctRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHex2OctRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequestBuilder.java deleted file mode 100644 index 97ba0e0e926..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHex2OctRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2OctRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hex2Oct Request Builder. - */ -public class BaseWorkbookFunctionsHex2OctRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHex2Oct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsHex2OctRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsHex2OctRequest - * - * @return the IWorkbookFunctionsHex2OctRequest instance - */ - public IWorkbookFunctionsHex2OctRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHex2OctRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHex2OctRequest instance - */ - public IWorkbookFunctionsHex2OctRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHex2OctRequest request = new WorkbookFunctionsHex2OctRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequest.java deleted file mode 100644 index 5a96f8ed1fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHlookupBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHlookupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hlookup Request. - */ -public class BaseWorkbookFunctionsHlookupRequest extends BaseRequest implements IBaseWorkbookFunctionsHlookupRequest { - protected final WorkbookFunctionsHlookupBody body; - - /** - * The request for this WorkbookFunctionsHlookup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHlookupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHlookupBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHlookupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHlookupRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHlookupRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHlookupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHlookupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHlookupRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequestBuilder.java deleted file mode 100644 index be915478a46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHlookupRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHlookupRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hlookup Request Builder. - */ -public class BaseWorkbookFunctionsHlookupRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHlookup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param lookupValue the lookupValue - * @param tableArray the tableArray - * @param rowIndexNum the rowIndexNum - * @param rangeLookup the rangeLookup - */ - public BaseWorkbookFunctionsHlookupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement rowIndexNum, final com.google.gson.JsonElement rangeLookup) { - super(requestUrl, client, requestOptions); - bodyParams.put("lookupValue", lookupValue); - bodyParams.put("tableArray", tableArray); - bodyParams.put("rowIndexNum", rowIndexNum); - bodyParams.put("rangeLookup", rangeLookup); - } - - /** - * Creates the IWorkbookFunctionsHlookupRequest - * - * @return the IWorkbookFunctionsHlookupRequest instance - */ - public IWorkbookFunctionsHlookupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHlookupRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHlookupRequest instance - */ - public IWorkbookFunctionsHlookupRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHlookupRequest request = new WorkbookFunctionsHlookupRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("lookupValue")) { - request.body.lookupValue = getParameter("lookupValue"); - } - - if (hasParameter("tableArray")) { - request.body.tableArray = getParameter("tableArray"); - } - - if (hasParameter("rowIndexNum")) { - request.body.rowIndexNum = getParameter("rowIndexNum"); - } - - if (hasParameter("rangeLookup")) { - request.body.rangeLookup = getParameter("rangeLookup"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequest.java deleted file mode 100644 index 4fd53b6afd6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHourBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHourRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hour Request. - */ -public class BaseWorkbookFunctionsHourRequest extends BaseRequest implements IBaseWorkbookFunctionsHourRequest { - protected final WorkbookFunctionsHourBody body; - - /** - * The request for this WorkbookFunctionsHour - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHourRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHourBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHourRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHourRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHourRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHourRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHourRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHourRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequestBuilder.java deleted file mode 100644 index 5113f460a4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHourRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHourRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hour Request Builder. - */ -public class BaseWorkbookFunctionsHourRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHour - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - */ - public BaseWorkbookFunctionsHourRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - } - - /** - * Creates the IWorkbookFunctionsHourRequest - * - * @return the IWorkbookFunctionsHourRequest instance - */ - public IWorkbookFunctionsHourRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHourRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHourRequest instance - */ - public IWorkbookFunctionsHourRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHourRequest request = new WorkbookFunctionsHourRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequest.java deleted file mode 100644 index 8a6c68500e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHypGeom_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHypGeom_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hyp Geom_Dist Request. - */ -public class BaseWorkbookFunctionsHypGeom_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsHypGeom_DistRequest { - protected final WorkbookFunctionsHypGeom_DistBody body; - - /** - * The request for this WorkbookFunctionsHypGeom_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHypGeom_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHypGeom_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHypGeom_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHypGeom_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHypGeom_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHypGeom_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHypGeom_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHypGeom_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequestBuilder.java deleted file mode 100644 index 6a23346eb0a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHypGeom_DistRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHypGeom_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hyp Geom_Dist Request Builder. - */ -public class BaseWorkbookFunctionsHypGeom_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHypGeom_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param sampleS the sampleS - * @param numberSample the numberSample - * @param populationS the populationS - * @param numberPop the numberPop - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsHypGeom_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement sampleS, final com.google.gson.JsonElement numberSample, final com.google.gson.JsonElement populationS, final com.google.gson.JsonElement numberPop, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("sampleS", sampleS); - bodyParams.put("numberSample", numberSample); - bodyParams.put("populationS", populationS); - bodyParams.put("numberPop", numberPop); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsHypGeom_DistRequest - * - * @return the IWorkbookFunctionsHypGeom_DistRequest instance - */ - public IWorkbookFunctionsHypGeom_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHypGeom_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHypGeom_DistRequest instance - */ - public IWorkbookFunctionsHypGeom_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHypGeom_DistRequest request = new WorkbookFunctionsHypGeom_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("sampleS")) { - request.body.sampleS = getParameter("sampleS"); - } - - if (hasParameter("numberSample")) { - request.body.numberSample = getParameter("numberSample"); - } - - if (hasParameter("populationS")) { - request.body.populationS = getParameter("populationS"); - } - - if (hasParameter("numberPop")) { - request.body.numberPop = getParameter("numberPop"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequest.java deleted file mode 100644 index b27e7bbbc22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsHyperlinkBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHyperlinkRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hyperlink Request. - */ -public class BaseWorkbookFunctionsHyperlinkRequest extends BaseRequest implements IBaseWorkbookFunctionsHyperlinkRequest { - protected final WorkbookFunctionsHyperlinkBody body; - - /** - * The request for this WorkbookFunctionsHyperlink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsHyperlinkRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsHyperlinkBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsHyperlinkRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsHyperlinkRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsHyperlinkRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsHyperlinkRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsHyperlinkRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsHyperlinkRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequestBuilder.java deleted file mode 100644 index dee449e861d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsHyperlinkRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHyperlinkRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Hyperlink Request Builder. - */ -public class BaseWorkbookFunctionsHyperlinkRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsHyperlink - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param linkLocation the linkLocation - * @param friendlyName the friendlyName - */ - public BaseWorkbookFunctionsHyperlinkRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement linkLocation, final com.google.gson.JsonElement friendlyName) { - super(requestUrl, client, requestOptions); - bodyParams.put("linkLocation", linkLocation); - bodyParams.put("friendlyName", friendlyName); - } - - /** - * Creates the IWorkbookFunctionsHyperlinkRequest - * - * @return the IWorkbookFunctionsHyperlinkRequest instance - */ - public IWorkbookFunctionsHyperlinkRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsHyperlinkRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHyperlinkRequest instance - */ - public IWorkbookFunctionsHyperlinkRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsHyperlinkRequest request = new WorkbookFunctionsHyperlinkRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("linkLocation")) { - request.body.linkLocation = getParameter("linkLocation"); - } - - if (hasParameter("friendlyName")) { - request.body.friendlyName = getParameter("friendlyName"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequest.java deleted file mode 100644 index e25b347c815..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIfBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions If Request. - */ -public class BaseWorkbookFunctionsIfRequest extends BaseRequest implements IBaseWorkbookFunctionsIfRequest { - protected final WorkbookFunctionsIfBody body; - - /** - * The request for this WorkbookFunctionsIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIfBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIfRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIfRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIfRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIfRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIfRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIfRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequestBuilder.java deleted file mode 100644 index 2e176de8a52..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIfRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIfRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions If Request Builder. - */ -public class BaseWorkbookFunctionsIfRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param logicalTest the logicalTest - * @param valueIfTrue the valueIfTrue - * @param valueIfFalse the valueIfFalse - */ - public BaseWorkbookFunctionsIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement logicalTest, final com.google.gson.JsonElement valueIfTrue, final com.google.gson.JsonElement valueIfFalse) { - super(requestUrl, client, requestOptions); - bodyParams.put("logicalTest", logicalTest); - bodyParams.put("valueIfTrue", valueIfTrue); - bodyParams.put("valueIfFalse", valueIfFalse); - } - - /** - * Creates the IWorkbookFunctionsIfRequest - * - * @return the IWorkbookFunctionsIfRequest instance - */ - public IWorkbookFunctionsIfRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIfRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIfRequest instance - */ - public IWorkbookFunctionsIfRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIfRequest request = new WorkbookFunctionsIfRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("logicalTest")) { - request.body.logicalTest = getParameter("logicalTest"); - } - - if (hasParameter("valueIfTrue")) { - request.body.valueIfTrue = getParameter("valueIfTrue"); - } - - if (hasParameter("valueIfFalse")) { - request.body.valueIfFalse = getParameter("valueIfFalse"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequest.java deleted file mode 100644 index 71898ab106a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImAbsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImAbsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Abs Request. - */ -public class BaseWorkbookFunctionsImAbsRequest extends BaseRequest implements IBaseWorkbookFunctionsImAbsRequest { - protected final WorkbookFunctionsImAbsBody body; - - /** - * The request for this WorkbookFunctionsImAbs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImAbsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImAbsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImAbsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImAbsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImAbsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImAbsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImAbsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImAbsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequestBuilder.java deleted file mode 100644 index 9148ec4935f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImAbsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImAbsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Abs Request Builder. - */ -public class BaseWorkbookFunctionsImAbsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImAbs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImAbsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImAbsRequest - * - * @return the IWorkbookFunctionsImAbsRequest instance - */ - public IWorkbookFunctionsImAbsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImAbsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImAbsRequest instance - */ - public IWorkbookFunctionsImAbsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImAbsRequest request = new WorkbookFunctionsImAbsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequest.java deleted file mode 100644 index 009e535e889..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImArgumentBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImArgumentRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Argument Request. - */ -public class BaseWorkbookFunctionsImArgumentRequest extends BaseRequest implements IBaseWorkbookFunctionsImArgumentRequest { - protected final WorkbookFunctionsImArgumentBody body; - - /** - * The request for this WorkbookFunctionsImArgument - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImArgumentRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImArgumentBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImArgumentRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImArgumentRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImArgumentRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImArgumentRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImArgumentRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImArgumentRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequestBuilder.java deleted file mode 100644 index 8e2fec8d760..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImArgumentRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImArgumentRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Argument Request Builder. - */ -public class BaseWorkbookFunctionsImArgumentRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImArgument - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImArgumentRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImArgumentRequest - * - * @return the IWorkbookFunctionsImArgumentRequest instance - */ - public IWorkbookFunctionsImArgumentRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImArgumentRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImArgumentRequest instance - */ - public IWorkbookFunctionsImArgumentRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImArgumentRequest request = new WorkbookFunctionsImArgumentRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequest.java deleted file mode 100644 index c01a265d7fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImConjugateBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImConjugateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Conjugate Request. - */ -public class BaseWorkbookFunctionsImConjugateRequest extends BaseRequest implements IBaseWorkbookFunctionsImConjugateRequest { - protected final WorkbookFunctionsImConjugateBody body; - - /** - * The request for this WorkbookFunctionsImConjugate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImConjugateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImConjugateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImConjugateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImConjugateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImConjugateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImConjugateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImConjugateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImConjugateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequestBuilder.java deleted file mode 100644 index 9cfd34014ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImConjugateRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImConjugateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Conjugate Request Builder. - */ -public class BaseWorkbookFunctionsImConjugateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImConjugate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImConjugateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImConjugateRequest - * - * @return the IWorkbookFunctionsImConjugateRequest instance - */ - public IWorkbookFunctionsImConjugateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImConjugateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImConjugateRequest instance - */ - public IWorkbookFunctionsImConjugateRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImConjugateRequest request = new WorkbookFunctionsImConjugateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequest.java deleted file mode 100644 index cf2b427a468..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImCosBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCosRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cos Request. - */ -public class BaseWorkbookFunctionsImCosRequest extends BaseRequest implements IBaseWorkbookFunctionsImCosRequest { - protected final WorkbookFunctionsImCosBody body; - - /** - * The request for this WorkbookFunctionsImCos - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImCosRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImCosBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImCosRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImCosRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImCosRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImCosRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImCosRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImCosRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequestBuilder.java deleted file mode 100644 index c9eb894a922..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCosRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCosRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cos Request Builder. - */ -public class BaseWorkbookFunctionsImCosRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImCos - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImCosRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImCosRequest - * - * @return the IWorkbookFunctionsImCosRequest instance - */ - public IWorkbookFunctionsImCosRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImCosRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCosRequest instance - */ - public IWorkbookFunctionsImCosRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImCosRequest request = new WorkbookFunctionsImCosRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequest.java deleted file mode 100644 index f18e699dc11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImCoshBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCoshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cosh Request. - */ -public class BaseWorkbookFunctionsImCoshRequest extends BaseRequest implements IBaseWorkbookFunctionsImCoshRequest { - protected final WorkbookFunctionsImCoshBody body; - - /** - * The request for this WorkbookFunctionsImCosh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImCoshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImCoshBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImCoshRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImCoshRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImCoshRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImCoshRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImCoshRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImCoshRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequestBuilder.java deleted file mode 100644 index aee6aa5e7de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCoshRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCoshRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cosh Request Builder. - */ -public class BaseWorkbookFunctionsImCoshRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImCosh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImCoshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImCoshRequest - * - * @return the IWorkbookFunctionsImCoshRequest instance - */ - public IWorkbookFunctionsImCoshRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImCoshRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCoshRequest instance - */ - public IWorkbookFunctionsImCoshRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImCoshRequest request = new WorkbookFunctionsImCoshRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequest.java deleted file mode 100644 index 8a02d440f49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImCotBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cot Request. - */ -public class BaseWorkbookFunctionsImCotRequest extends BaseRequest implements IBaseWorkbookFunctionsImCotRequest { - protected final WorkbookFunctionsImCotBody body; - - /** - * The request for this WorkbookFunctionsImCot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImCotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImCotBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImCotRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImCotRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImCotRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImCotRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImCotRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImCotRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequestBuilder.java deleted file mode 100644 index 35524fbe386..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCotRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCotRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Cot Request Builder. - */ -public class BaseWorkbookFunctionsImCotRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImCot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImCotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImCotRequest - * - * @return the IWorkbookFunctionsImCotRequest instance - */ - public IWorkbookFunctionsImCotRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImCotRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCotRequest instance - */ - public IWorkbookFunctionsImCotRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImCotRequest request = new WorkbookFunctionsImCotRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequest.java deleted file mode 100644 index 2c3de42acf9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImCscBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Csc Request. - */ -public class BaseWorkbookFunctionsImCscRequest extends BaseRequest implements IBaseWorkbookFunctionsImCscRequest { - protected final WorkbookFunctionsImCscBody body; - - /** - * The request for this WorkbookFunctionsImCsc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImCscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImCscBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImCscRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImCscRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImCscRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImCscRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImCscRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImCscRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequestBuilder.java deleted file mode 100644 index 228f9c009f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCscRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCscRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Csc Request Builder. - */ -public class BaseWorkbookFunctionsImCscRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImCsc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImCscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImCscRequest - * - * @return the IWorkbookFunctionsImCscRequest instance - */ - public IWorkbookFunctionsImCscRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImCscRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCscRequest instance - */ - public IWorkbookFunctionsImCscRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImCscRequest request = new WorkbookFunctionsImCscRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequest.java deleted file mode 100644 index 644061ba2b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImCschBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCschRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Csch Request. - */ -public class BaseWorkbookFunctionsImCschRequest extends BaseRequest implements IBaseWorkbookFunctionsImCschRequest { - protected final WorkbookFunctionsImCschBody body; - - /** - * The request for this WorkbookFunctionsImCsch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImCschRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImCschBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImCschRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImCschRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImCschRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImCschRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImCschRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImCschRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequestBuilder.java deleted file mode 100644 index dd596b61024..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImCschRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCschRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Csch Request Builder. - */ -public class BaseWorkbookFunctionsImCschRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImCsch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImCschRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImCschRequest - * - * @return the IWorkbookFunctionsImCschRequest instance - */ - public IWorkbookFunctionsImCschRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImCschRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCschRequest instance - */ - public IWorkbookFunctionsImCschRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImCschRequest request = new WorkbookFunctionsImCschRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequest.java deleted file mode 100644 index d11974ea5fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImDivBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImDivRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Div Request. - */ -public class BaseWorkbookFunctionsImDivRequest extends BaseRequest implements IBaseWorkbookFunctionsImDivRequest { - protected final WorkbookFunctionsImDivBody body; - - /** - * The request for this WorkbookFunctionsImDiv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImDivRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImDivBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImDivRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImDivRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImDivRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImDivRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImDivRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImDivRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequestBuilder.java deleted file mode 100644 index 92010bbcb20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImDivRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImDivRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Div Request Builder. - */ -public class BaseWorkbookFunctionsImDivRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImDiv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber1 the inumber1 - * @param inumber2 the inumber2 - */ - public BaseWorkbookFunctionsImDivRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber1", inumber1); - bodyParams.put("inumber2", inumber2); - } - - /** - * Creates the IWorkbookFunctionsImDivRequest - * - * @return the IWorkbookFunctionsImDivRequest instance - */ - public IWorkbookFunctionsImDivRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImDivRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImDivRequest instance - */ - public IWorkbookFunctionsImDivRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImDivRequest request = new WorkbookFunctionsImDivRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber1")) { - request.body.inumber1 = getParameter("inumber1"); - } - - if (hasParameter("inumber2")) { - request.body.inumber2 = getParameter("inumber2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequest.java deleted file mode 100644 index 56c4596023e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImExpBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImExpRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Exp Request. - */ -public class BaseWorkbookFunctionsImExpRequest extends BaseRequest implements IBaseWorkbookFunctionsImExpRequest { - protected final WorkbookFunctionsImExpBody body; - - /** - * The request for this WorkbookFunctionsImExp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImExpRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImExpBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImExpRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImExpRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImExpRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImExpRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImExpRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImExpRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequestBuilder.java deleted file mode 100644 index 279c0902e4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImExpRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImExpRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Exp Request Builder. - */ -public class BaseWorkbookFunctionsImExpRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImExp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImExpRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImExpRequest - * - * @return the IWorkbookFunctionsImExpRequest instance - */ - public IWorkbookFunctionsImExpRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImExpRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImExpRequest instance - */ - public IWorkbookFunctionsImExpRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImExpRequest request = new WorkbookFunctionsImExpRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequest.java deleted file mode 100644 index b3d6b59f4ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImLnBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Ln Request. - */ -public class BaseWorkbookFunctionsImLnRequest extends BaseRequest implements IBaseWorkbookFunctionsImLnRequest { - protected final WorkbookFunctionsImLnBody body; - - /** - * The request for this WorkbookFunctionsImLn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImLnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImLnBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImLnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImLnRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImLnRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImLnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImLnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImLnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequestBuilder.java deleted file mode 100644 index 684b6f2de93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLnRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Ln Request Builder. - */ -public class BaseWorkbookFunctionsImLnRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImLn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImLnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImLnRequest - * - * @return the IWorkbookFunctionsImLnRequest instance - */ - public IWorkbookFunctionsImLnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImLnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImLnRequest instance - */ - public IWorkbookFunctionsImLnRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImLnRequest request = new WorkbookFunctionsImLnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10Request.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10Request.java deleted file mode 100644 index b7f97043c78..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10Request.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImLog10Body; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog10Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Log10Request. - */ -public class BaseWorkbookFunctionsImLog10Request extends BaseRequest implements IBaseWorkbookFunctionsImLog10Request { - protected final WorkbookFunctionsImLog10Body body; - - /** - * The request for this WorkbookFunctionsImLog10 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImLog10Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImLog10Body(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImLog10Request select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImLog10Request)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImLog10Request top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImLog10Request)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImLog10Request expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImLog10Request)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10RequestBuilder.java deleted file mode 100644 index 0b6c6842ae6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog10RequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog10Request; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Log10Request Builder. - */ -public class BaseWorkbookFunctionsImLog10RequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImLog10 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImLog10RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImLog10Request - * - * @return the IWorkbookFunctionsImLog10Request instance - */ - public IWorkbookFunctionsImLog10Request buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImLog10Request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImLog10Request instance - */ - public IWorkbookFunctionsImLog10Request buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImLog10Request request = new WorkbookFunctionsImLog10Request( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2Request.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2Request.java deleted file mode 100644 index 205b834ec4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2Request.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImLog2Body; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog2Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Log2Request. - */ -public class BaseWorkbookFunctionsImLog2Request extends BaseRequest implements IBaseWorkbookFunctionsImLog2Request { - protected final WorkbookFunctionsImLog2Body body; - - /** - * The request for this WorkbookFunctionsImLog2 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImLog2Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImLog2Body(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImLog2Request select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImLog2Request)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImLog2Request top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImLog2Request)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImLog2Request expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImLog2Request)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2RequestBuilder.java deleted file mode 100644 index 1dae9ca341d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImLog2RequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog2Request; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Log2Request Builder. - */ -public class BaseWorkbookFunctionsImLog2RequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImLog2 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImLog2RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImLog2Request - * - * @return the IWorkbookFunctionsImLog2Request instance - */ - public IWorkbookFunctionsImLog2Request buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImLog2Request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImLog2Request instance - */ - public IWorkbookFunctionsImLog2Request buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImLog2Request request = new WorkbookFunctionsImLog2Request( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequest.java deleted file mode 100644 index a74d91bd769..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImPowerBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImPowerRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Power Request. - */ -public class BaseWorkbookFunctionsImPowerRequest extends BaseRequest implements IBaseWorkbookFunctionsImPowerRequest { - protected final WorkbookFunctionsImPowerBody body; - - /** - * The request for this WorkbookFunctionsImPower - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImPowerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImPowerBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImPowerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImPowerRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImPowerRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImPowerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImPowerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImPowerRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequestBuilder.java deleted file mode 100644 index 30e4e186786..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImPowerRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImPowerRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Power Request Builder. - */ -public class BaseWorkbookFunctionsImPowerRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImPower - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - * @param number the number - */ - public BaseWorkbookFunctionsImPowerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsImPowerRequest - * - * @return the IWorkbookFunctionsImPowerRequest instance - */ - public IWorkbookFunctionsImPowerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImPowerRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImPowerRequest instance - */ - public IWorkbookFunctionsImPowerRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImPowerRequest request = new WorkbookFunctionsImPowerRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequest.java deleted file mode 100644 index 4cd853cfec3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImProductBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImProductRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Product Request. - */ -public class BaseWorkbookFunctionsImProductRequest extends BaseRequest implements IBaseWorkbookFunctionsImProductRequest { - protected final WorkbookFunctionsImProductBody body; - - /** - * The request for this WorkbookFunctionsImProduct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImProductRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImProductBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImProductRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImProductRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImProductRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImProductRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImProductRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImProductRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequestBuilder.java deleted file mode 100644 index f45f01b687b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImProductRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImProductRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Product Request Builder. - */ -public class BaseWorkbookFunctionsImProductRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImProduct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsImProductRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsImProductRequest - * - * @return the IWorkbookFunctionsImProductRequest instance - */ - public IWorkbookFunctionsImProductRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImProductRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImProductRequest instance - */ - public IWorkbookFunctionsImProductRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImProductRequest request = new WorkbookFunctionsImProductRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequest.java deleted file mode 100644 index 4bbabd175df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImRealBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImRealRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Real Request. - */ -public class BaseWorkbookFunctionsImRealRequest extends BaseRequest implements IBaseWorkbookFunctionsImRealRequest { - protected final WorkbookFunctionsImRealBody body; - - /** - * The request for this WorkbookFunctionsImReal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImRealRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImRealBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImRealRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImRealRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImRealRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImRealRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImRealRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImRealRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequestBuilder.java deleted file mode 100644 index ee6209c0f69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImRealRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImRealRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Real Request Builder. - */ -public class BaseWorkbookFunctionsImRealRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImReal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImRealRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImRealRequest - * - * @return the IWorkbookFunctionsImRealRequest instance - */ - public IWorkbookFunctionsImRealRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImRealRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImRealRequest instance - */ - public IWorkbookFunctionsImRealRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImRealRequest request = new WorkbookFunctionsImRealRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequest.java deleted file mode 100644 index a2033104018..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSecBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sec Request. - */ -public class BaseWorkbookFunctionsImSecRequest extends BaseRequest implements IBaseWorkbookFunctionsImSecRequest { - protected final WorkbookFunctionsImSecBody body; - - /** - * The request for this WorkbookFunctionsImSec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSecBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSecRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSecRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSecRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSecRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSecRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSecRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequestBuilder.java deleted file mode 100644 index 0319f7acf5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSecRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSecRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sec Request Builder. - */ -public class BaseWorkbookFunctionsImSecRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImSecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImSecRequest - * - * @return the IWorkbookFunctionsImSecRequest instance - */ - public IWorkbookFunctionsImSecRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSecRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSecRequest instance - */ - public IWorkbookFunctionsImSecRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSecRequest request = new WorkbookFunctionsImSecRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequest.java deleted file mode 100644 index bb1370b9267..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSechBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSechRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sech Request. - */ -public class BaseWorkbookFunctionsImSechRequest extends BaseRequest implements IBaseWorkbookFunctionsImSechRequest { - protected final WorkbookFunctionsImSechBody body; - - /** - * The request for this WorkbookFunctionsImSech - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSechRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSechBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSechRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSechRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSechRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSechRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSechRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSechRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequestBuilder.java deleted file mode 100644 index dc6d51e60a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSechRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSechRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sech Request Builder. - */ -public class BaseWorkbookFunctionsImSechRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSech - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImSechRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImSechRequest - * - * @return the IWorkbookFunctionsImSechRequest instance - */ - public IWorkbookFunctionsImSechRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSechRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSechRequest instance - */ - public IWorkbookFunctionsImSechRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSechRequest request = new WorkbookFunctionsImSechRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequest.java deleted file mode 100644 index 172791ba952..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sin Request. - */ -public class BaseWorkbookFunctionsImSinRequest extends BaseRequest implements IBaseWorkbookFunctionsImSinRequest { - protected final WorkbookFunctionsImSinBody body; - - /** - * The request for this WorkbookFunctionsImSin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequestBuilder.java deleted file mode 100644 index 3715103c467..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sin Request Builder. - */ -public class BaseWorkbookFunctionsImSinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImSinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImSinRequest - * - * @return the IWorkbookFunctionsImSinRequest instance - */ - public IWorkbookFunctionsImSinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSinRequest instance - */ - public IWorkbookFunctionsImSinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSinRequest request = new WorkbookFunctionsImSinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequest.java deleted file mode 100644 index dc1e72a51b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSinhBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sinh Request. - */ -public class BaseWorkbookFunctionsImSinhRequest extends BaseRequest implements IBaseWorkbookFunctionsImSinhRequest { - protected final WorkbookFunctionsImSinhBody body; - - /** - * The request for this WorkbookFunctionsImSinh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSinhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSinhBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSinhRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSinhRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSinhRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSinhRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSinhRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSinhRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequestBuilder.java deleted file mode 100644 index 4cee7a29394..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSinhRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinhRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sinh Request Builder. - */ -public class BaseWorkbookFunctionsImSinhRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSinh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImSinhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImSinhRequest - * - * @return the IWorkbookFunctionsImSinhRequest instance - */ - public IWorkbookFunctionsImSinhRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSinhRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSinhRequest instance - */ - public IWorkbookFunctionsImSinhRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSinhRequest request = new WorkbookFunctionsImSinhRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequest.java deleted file mode 100644 index 98d334b770b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSqrtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSqrtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sqrt Request. - */ -public class BaseWorkbookFunctionsImSqrtRequest extends BaseRequest implements IBaseWorkbookFunctionsImSqrtRequest { - protected final WorkbookFunctionsImSqrtBody body; - - /** - * The request for this WorkbookFunctionsImSqrt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSqrtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSqrtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSqrtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSqrtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSqrtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSqrtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSqrtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSqrtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequestBuilder.java deleted file mode 100644 index 7c59017d5fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSqrtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSqrtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sqrt Request Builder. - */ -public class BaseWorkbookFunctionsImSqrtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSqrt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImSqrtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImSqrtRequest - * - * @return the IWorkbookFunctionsImSqrtRequest instance - */ - public IWorkbookFunctionsImSqrtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSqrtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSqrtRequest instance - */ - public IWorkbookFunctionsImSqrtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSqrtRequest request = new WorkbookFunctionsImSqrtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequest.java deleted file mode 100644 index 3216f7661df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSubBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSubRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sub Request. - */ -public class BaseWorkbookFunctionsImSubRequest extends BaseRequest implements IBaseWorkbookFunctionsImSubRequest { - protected final WorkbookFunctionsImSubBody body; - - /** - * The request for this WorkbookFunctionsImSub - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSubRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSubBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSubRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSubRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSubRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSubRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSubRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSubRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequestBuilder.java deleted file mode 100644 index 74d0630c95a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSubRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSubRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sub Request Builder. - */ -public class BaseWorkbookFunctionsImSubRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSub - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber1 the inumber1 - * @param inumber2 the inumber2 - */ - public BaseWorkbookFunctionsImSubRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber1", inumber1); - bodyParams.put("inumber2", inumber2); - } - - /** - * Creates the IWorkbookFunctionsImSubRequest - * - * @return the IWorkbookFunctionsImSubRequest instance - */ - public IWorkbookFunctionsImSubRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSubRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSubRequest instance - */ - public IWorkbookFunctionsImSubRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSubRequest request = new WorkbookFunctionsImSubRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber1")) { - request.body.inumber1 = getParameter("inumber1"); - } - - if (hasParameter("inumber2")) { - request.body.inumber2 = getParameter("inumber2"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequest.java deleted file mode 100644 index 16b5b118822..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImSumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sum Request. - */ -public class BaseWorkbookFunctionsImSumRequest extends BaseRequest implements IBaseWorkbookFunctionsImSumRequest { - protected final WorkbookFunctionsImSumBody body; - - /** - * The request for this WorkbookFunctionsImSum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImSumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImSumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImSumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImSumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImSumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImSumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImSumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImSumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequestBuilder.java deleted file mode 100644 index ebc6da9a92e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImSumRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Sum Request Builder. - */ -public class BaseWorkbookFunctionsImSumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImSum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsImSumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsImSumRequest - * - * @return the IWorkbookFunctionsImSumRequest instance - */ - public IWorkbookFunctionsImSumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImSumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSumRequest instance - */ - public IWorkbookFunctionsImSumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImSumRequest request = new WorkbookFunctionsImSumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequest.java deleted file mode 100644 index 9220bd247ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImTanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImTanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Tan Request. - */ -public class BaseWorkbookFunctionsImTanRequest extends BaseRequest implements IBaseWorkbookFunctionsImTanRequest { - protected final WorkbookFunctionsImTanBody body; - - /** - * The request for this WorkbookFunctionsImTan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImTanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImTanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImTanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImTanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImTanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImTanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImTanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImTanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequestBuilder.java deleted file mode 100644 index bd8043a7aaf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImTanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImTanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Im Tan Request Builder. - */ -public class BaseWorkbookFunctionsImTanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImTan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImTanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImTanRequest - * - * @return the IWorkbookFunctionsImTanRequest instance - */ - public IWorkbookFunctionsImTanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImTanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImTanRequest instance - */ - public IWorkbookFunctionsImTanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImTanRequest request = new WorkbookFunctionsImTanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequest.java deleted file mode 100644 index 52f4681a446..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsImaginaryBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImaginaryRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Imaginary Request. - */ -public class BaseWorkbookFunctionsImaginaryRequest extends BaseRequest implements IBaseWorkbookFunctionsImaginaryRequest { - protected final WorkbookFunctionsImaginaryBody body; - - /** - * The request for this WorkbookFunctionsImaginary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsImaginaryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsImaginaryBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsImaginaryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsImaginaryRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsImaginaryRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsImaginaryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsImaginaryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsImaginaryRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequestBuilder.java deleted file mode 100644 index 4c8f1c307a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsImaginaryRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImaginaryRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Imaginary Request Builder. - */ -public class BaseWorkbookFunctionsImaginaryRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsImaginary - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param inumber the inumber - */ - public BaseWorkbookFunctionsImaginaryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement inumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("inumber", inumber); - } - - /** - * Creates the IWorkbookFunctionsImaginaryRequest - * - * @return the IWorkbookFunctionsImaginaryRequest instance - */ - public IWorkbookFunctionsImaginaryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsImaginaryRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImaginaryRequest instance - */ - public IWorkbookFunctionsImaginaryRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsImaginaryRequest request = new WorkbookFunctionsImaginaryRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("inumber")) { - request.body.inumber = getParameter("inumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequest.java deleted file mode 100644 index 4b2c36f0703..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIntRateBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Int Rate Request. - */ -public class BaseWorkbookFunctionsIntRateRequest extends BaseRequest implements IBaseWorkbookFunctionsIntRateRequest { - protected final WorkbookFunctionsIntRateBody body; - - /** - * The request for this WorkbookFunctionsIntRate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIntRateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIntRateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIntRateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIntRateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIntRateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIntRateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIntRateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIntRateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequestBuilder.java deleted file mode 100644 index 3b9ab657274..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRateRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Int Rate Request Builder. - */ -public class BaseWorkbookFunctionsIntRateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIntRate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param investment the investment - * @param redemption the redemption - * @param basis the basis - */ - public BaseWorkbookFunctionsIntRateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("investment", investment); - bodyParams.put("redemption", redemption); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsIntRateRequest - * - * @return the IWorkbookFunctionsIntRateRequest instance - */ - public IWorkbookFunctionsIntRateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIntRateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIntRateRequest instance - */ - public IWorkbookFunctionsIntRateRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIntRateRequest request = new WorkbookFunctionsIntRateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("investment")) { - request.body.investment = getParameter("investment"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequest.java deleted file mode 100644 index d5c238e3986..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIntBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Int Request. - */ -public class BaseWorkbookFunctionsIntRequest extends BaseRequest implements IBaseWorkbookFunctionsIntRequest { - protected final WorkbookFunctionsIntBody body; - - /** - * The request for this WorkbookFunctionsInt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIntRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIntBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIntRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIntRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIntRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIntRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIntRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIntRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequestBuilder.java deleted file mode 100644 index 53922835140..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIntRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Int Request Builder. - */ -public class BaseWorkbookFunctionsIntRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsInt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsIntRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsIntRequest - * - * @return the IWorkbookFunctionsIntRequest instance - */ - public IWorkbookFunctionsIntRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIntRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIntRequest instance - */ - public IWorkbookFunctionsIntRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIntRequest request = new WorkbookFunctionsIntRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequest.java deleted file mode 100644 index d768d0c0fee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIpmtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIpmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ipmt Request. - */ -public class BaseWorkbookFunctionsIpmtRequest extends BaseRequest implements IBaseWorkbookFunctionsIpmtRequest { - protected final WorkbookFunctionsIpmtBody body; - - /** - * The request for this WorkbookFunctionsIpmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIpmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIpmtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIpmtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIpmtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIpmtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIpmtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIpmtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIpmtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequestBuilder.java deleted file mode 100644 index 94e44c15bb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIpmtRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIpmtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ipmt Request Builder. - */ -public class BaseWorkbookFunctionsIpmtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIpmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param per the per - * @param nper the nper - * @param pv the pv - * @param fv the fv - * @param type the type - */ - public BaseWorkbookFunctionsIpmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("per", per); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsIpmtRequest - * - * @return the IWorkbookFunctionsIpmtRequest instance - */ - public IWorkbookFunctionsIpmtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIpmtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIpmtRequest instance - */ - public IWorkbookFunctionsIpmtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIpmtRequest request = new WorkbookFunctionsIpmtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("per")) { - request.body.per = getParameter("per"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequest.java deleted file mode 100644 index a1747c87452..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIrrBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIrrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Irr Request. - */ -public class BaseWorkbookFunctionsIrrRequest extends BaseRequest implements IBaseWorkbookFunctionsIrrRequest { - protected final WorkbookFunctionsIrrBody body; - - /** - * The request for this WorkbookFunctionsIrr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIrrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIrrBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIrrRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIrrRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIrrRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIrrRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIrrRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIrrRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequestBuilder.java deleted file mode 100644 index 2425b57f4f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIrrRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIrrRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Irr Request Builder. - */ -public class BaseWorkbookFunctionsIrrRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIrr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - * @param guess the guess - */ - public BaseWorkbookFunctionsIrrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values, final com.google.gson.JsonElement guess) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - bodyParams.put("guess", guess); - } - - /** - * Creates the IWorkbookFunctionsIrrRequest - * - * @return the IWorkbookFunctionsIrrRequest instance - */ - public IWorkbookFunctionsIrrRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIrrRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIrrRequest instance - */ - public IWorkbookFunctionsIrrRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIrrRequest request = new WorkbookFunctionsIrrRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - if (hasParameter("guess")) { - request.body.guess = getParameter("guess"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequest.java deleted file mode 100644 index 7e412f915e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsErrBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Err Request. - */ -public class BaseWorkbookFunctionsIsErrRequest extends BaseRequest implements IBaseWorkbookFunctionsIsErrRequest { - protected final WorkbookFunctionsIsErrBody body; - - /** - * The request for this WorkbookFunctionsIsErr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsErrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsErrBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsErrRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsErrRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsErrRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsErrRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsErrRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsErrRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequestBuilder.java deleted file mode 100644 index 5c4694251d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Err Request Builder. - */ -public class BaseWorkbookFunctionsIsErrRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsErr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsErrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsErrRequest - * - * @return the IWorkbookFunctionsIsErrRequest instance - */ - public IWorkbookFunctionsIsErrRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsErrRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsErrRequest instance - */ - public IWorkbookFunctionsIsErrRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsErrRequest request = new WorkbookFunctionsIsErrRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequest.java deleted file mode 100644 index 12914e28b03..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsErrorBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Error Request. - */ -public class BaseWorkbookFunctionsIsErrorRequest extends BaseRequest implements IBaseWorkbookFunctionsIsErrorRequest { - protected final WorkbookFunctionsIsErrorBody body; - - /** - * The request for this WorkbookFunctionsIsError - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsErrorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsErrorBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsErrorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsErrorRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsErrorRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsErrorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsErrorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsErrorRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequestBuilder.java deleted file mode 100644 index cc5b6f31a2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsErrorRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrorRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Error Request Builder. - */ -public class BaseWorkbookFunctionsIsErrorRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsError - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsErrorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsErrorRequest - * - * @return the IWorkbookFunctionsIsErrorRequest instance - */ - public IWorkbookFunctionsIsErrorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsErrorRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsErrorRequest instance - */ - public IWorkbookFunctionsIsErrorRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsErrorRequest request = new WorkbookFunctionsIsErrorRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequest.java deleted file mode 100644 index f5f2a4210ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsEvenBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsEvenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Even Request. - */ -public class BaseWorkbookFunctionsIsEvenRequest extends BaseRequest implements IBaseWorkbookFunctionsIsEvenRequest { - protected final WorkbookFunctionsIsEvenBody body; - - /** - * The request for this WorkbookFunctionsIsEven - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsEvenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsEvenBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsEvenRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsEvenRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsEvenRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsEvenRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsEvenRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsEvenRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequestBuilder.java deleted file mode 100644 index a9e7c8883ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsEvenRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsEvenRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Even Request Builder. - */ -public class BaseWorkbookFunctionsIsEvenRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsEven - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsIsEvenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsIsEvenRequest - * - * @return the IWorkbookFunctionsIsEvenRequest instance - */ - public IWorkbookFunctionsIsEvenRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsEvenRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsEvenRequest instance - */ - public IWorkbookFunctionsIsEvenRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsEvenRequest request = new WorkbookFunctionsIsEvenRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequest.java deleted file mode 100644 index 875803db518..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsFormulaBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsFormulaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Formula Request. - */ -public class BaseWorkbookFunctionsIsFormulaRequest extends BaseRequest implements IBaseWorkbookFunctionsIsFormulaRequest { - protected final WorkbookFunctionsIsFormulaBody body; - - /** - * The request for this WorkbookFunctionsIsFormula - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsFormulaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsFormulaBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsFormulaRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsFormulaRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsFormulaRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsFormulaRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsFormulaRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsFormulaRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequestBuilder.java deleted file mode 100644 index 4955598883e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsFormulaRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsFormulaRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Formula Request Builder. - */ -public class BaseWorkbookFunctionsIsFormulaRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsFormula - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param reference the reference - */ - public BaseWorkbookFunctionsIsFormulaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement reference) { - super(requestUrl, client, requestOptions); - bodyParams.put("reference", reference); - } - - /** - * Creates the IWorkbookFunctionsIsFormulaRequest - * - * @return the IWorkbookFunctionsIsFormulaRequest instance - */ - public IWorkbookFunctionsIsFormulaRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsFormulaRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsFormulaRequest instance - */ - public IWorkbookFunctionsIsFormulaRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsFormulaRequest request = new WorkbookFunctionsIsFormulaRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("reference")) { - request.body.reference = getParameter("reference"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequest.java deleted file mode 100644 index afd7569130c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsLogicalBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsLogicalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Logical Request. - */ -public class BaseWorkbookFunctionsIsLogicalRequest extends BaseRequest implements IBaseWorkbookFunctionsIsLogicalRequest { - protected final WorkbookFunctionsIsLogicalBody body; - - /** - * The request for this WorkbookFunctionsIsLogical - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsLogicalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsLogicalBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsLogicalRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsLogicalRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsLogicalRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsLogicalRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsLogicalRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsLogicalRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequestBuilder.java deleted file mode 100644 index fc5ef0b7e9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsLogicalRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsLogicalRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Logical Request Builder. - */ -public class BaseWorkbookFunctionsIsLogicalRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsLogical - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsLogicalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsLogicalRequest - * - * @return the IWorkbookFunctionsIsLogicalRequest instance - */ - public IWorkbookFunctionsIsLogicalRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsLogicalRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsLogicalRequest instance - */ - public IWorkbookFunctionsIsLogicalRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsLogicalRequest request = new WorkbookFunctionsIsLogicalRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequest.java deleted file mode 100644 index ef36d7bf68a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsNABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is NARequest. - */ -public class BaseWorkbookFunctionsIsNARequest extends BaseRequest implements IBaseWorkbookFunctionsIsNARequest { - protected final WorkbookFunctionsIsNABody body; - - /** - * The request for this WorkbookFunctionsIsNA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsNARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsNABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsNARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsNARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsNARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsNARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsNARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsNARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequestBuilder.java deleted file mode 100644 index eea88302f70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is NARequest Builder. - */ -public class BaseWorkbookFunctionsIsNARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsNA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsNARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsNARequest - * - * @return the IWorkbookFunctionsIsNARequest instance - */ - public IWorkbookFunctionsIsNARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsNARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsNARequest instance - */ - public IWorkbookFunctionsIsNARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsNARequest request = new WorkbookFunctionsIsNARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequest.java deleted file mode 100644 index bc4867e29c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsNonTextBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNonTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Non Text Request. - */ -public class BaseWorkbookFunctionsIsNonTextRequest extends BaseRequest implements IBaseWorkbookFunctionsIsNonTextRequest { - protected final WorkbookFunctionsIsNonTextBody body; - - /** - * The request for this WorkbookFunctionsIsNonText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsNonTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsNonTextBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsNonTextRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsNonTextRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsNonTextRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsNonTextRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsNonTextRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsNonTextRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequestBuilder.java deleted file mode 100644 index d17c2203158..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNonTextRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNonTextRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Non Text Request Builder. - */ -public class BaseWorkbookFunctionsIsNonTextRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsNonText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsNonTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsNonTextRequest - * - * @return the IWorkbookFunctionsIsNonTextRequest instance - */ - public IWorkbookFunctionsIsNonTextRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsNonTextRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsNonTextRequest instance - */ - public IWorkbookFunctionsIsNonTextRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsNonTextRequest request = new WorkbookFunctionsIsNonTextRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequest.java deleted file mode 100644 index 8221d78f414..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsNumberBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNumberRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Number Request. - */ -public class BaseWorkbookFunctionsIsNumberRequest extends BaseRequest implements IBaseWorkbookFunctionsIsNumberRequest { - protected final WorkbookFunctionsIsNumberBody body; - - /** - * The request for this WorkbookFunctionsIsNumber - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsNumberRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsNumberBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsNumberRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsNumberRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsNumberRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsNumberRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsNumberRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsNumberRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequestBuilder.java deleted file mode 100644 index c90f6442ef2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsNumberRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNumberRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Number Request Builder. - */ -public class BaseWorkbookFunctionsIsNumberRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsNumber - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsNumberRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsNumberRequest - * - * @return the IWorkbookFunctionsIsNumberRequest instance - */ - public IWorkbookFunctionsIsNumberRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsNumberRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsNumberRequest instance - */ - public IWorkbookFunctionsIsNumberRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsNumberRequest request = new WorkbookFunctionsIsNumberRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequest.java deleted file mode 100644 index f51b7a2678c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsOddBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsOddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Odd Request. - */ -public class BaseWorkbookFunctionsIsOddRequest extends BaseRequest implements IBaseWorkbookFunctionsIsOddRequest { - protected final WorkbookFunctionsIsOddBody body; - - /** - * The request for this WorkbookFunctionsIsOdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsOddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsOddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsOddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsOddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsOddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsOddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsOddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsOddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequestBuilder.java deleted file mode 100644 index aed10d16955..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsOddRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsOddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Odd Request Builder. - */ -public class BaseWorkbookFunctionsIsOddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsOdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsIsOddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsIsOddRequest - * - * @return the IWorkbookFunctionsIsOddRequest instance - */ - public IWorkbookFunctionsIsOddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsOddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsOddRequest instance - */ - public IWorkbookFunctionsIsOddRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsOddRequest request = new WorkbookFunctionsIsOddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequest.java deleted file mode 100644 index 3c72634d2d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsTextBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Text Request. - */ -public class BaseWorkbookFunctionsIsTextRequest extends BaseRequest implements IBaseWorkbookFunctionsIsTextRequest { - protected final WorkbookFunctionsIsTextBody body; - - /** - * The request for this WorkbookFunctionsIsText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsTextBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsTextRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsTextRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsTextRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsTextRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsTextRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsTextRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequestBuilder.java deleted file mode 100644 index 5e097278e21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsTextRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsTextRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Is Text Request Builder. - */ -public class BaseWorkbookFunctionsIsTextRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsTextRequest - * - * @return the IWorkbookFunctionsIsTextRequest instance - */ - public IWorkbookFunctionsIsTextRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsTextRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsTextRequest instance - */ - public IWorkbookFunctionsIsTextRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsTextRequest request = new WorkbookFunctionsIsTextRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequest.java deleted file mode 100644 index b542126101e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsoWeekNumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsoWeekNumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Iso Week Num Request. - */ -public class BaseWorkbookFunctionsIsoWeekNumRequest extends BaseRequest implements IBaseWorkbookFunctionsIsoWeekNumRequest { - protected final WorkbookFunctionsIsoWeekNumBody body; - - /** - * The request for this WorkbookFunctionsIsoWeekNum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsoWeekNumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsoWeekNumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsoWeekNumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsoWeekNumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsoWeekNumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsoWeekNumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsoWeekNumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsoWeekNumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequestBuilder.java deleted file mode 100644 index 8720392fbc1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsoWeekNumRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsoWeekNumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Iso Week Num Request Builder. - */ -public class BaseWorkbookFunctionsIsoWeekNumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsoWeekNum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param date the date - */ - public BaseWorkbookFunctionsIsoWeekNumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement date) { - super(requestUrl, client, requestOptions); - bodyParams.put("date", date); - } - - /** - * Creates the IWorkbookFunctionsIsoWeekNumRequest - * - * @return the IWorkbookFunctionsIsoWeekNumRequest instance - */ - public IWorkbookFunctionsIsoWeekNumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsoWeekNumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsoWeekNumRequest instance - */ - public IWorkbookFunctionsIsoWeekNumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsoWeekNumRequest request = new WorkbookFunctionsIsoWeekNumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("date")) { - request.body.date = getParameter("date"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequest.java deleted file mode 100644 index 19616949840..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIso_CeilingBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIso_CeilingRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Iso_Ceiling Request. - */ -public class BaseWorkbookFunctionsIso_CeilingRequest extends BaseRequest implements IBaseWorkbookFunctionsIso_CeilingRequest { - protected final WorkbookFunctionsIso_CeilingBody body; - - /** - * The request for this WorkbookFunctionsIso_Ceiling - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIso_CeilingRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIso_CeilingBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIso_CeilingRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIso_CeilingRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIso_CeilingRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIso_CeilingRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIso_CeilingRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIso_CeilingRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequestBuilder.java deleted file mode 100644 index 04ccfe38078..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIso_CeilingRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIso_CeilingRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Iso_Ceiling Request Builder. - */ -public class BaseWorkbookFunctionsIso_CeilingRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIso_Ceiling - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param significance the significance - */ - public BaseWorkbookFunctionsIso_CeilingRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("significance", significance); - } - - /** - * Creates the IWorkbookFunctionsIso_CeilingRequest - * - * @return the IWorkbookFunctionsIso_CeilingRequest instance - */ - public IWorkbookFunctionsIso_CeilingRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIso_CeilingRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIso_CeilingRequest instance - */ - public IWorkbookFunctionsIso_CeilingRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIso_CeilingRequest request = new WorkbookFunctionsIso_CeilingRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequest.java deleted file mode 100644 index 26a2b4dc7bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIspmtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIspmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ispmt Request. - */ -public class BaseWorkbookFunctionsIspmtRequest extends BaseRequest implements IBaseWorkbookFunctionsIspmtRequest { - protected final WorkbookFunctionsIspmtBody body; - - /** - * The request for this WorkbookFunctionsIspmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIspmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIspmtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIspmtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIspmtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIspmtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIspmtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIspmtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIspmtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequestBuilder.java deleted file mode 100644 index c2891e8049a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIspmtRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIspmtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ispmt Request Builder. - */ -public class BaseWorkbookFunctionsIspmtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIspmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param per the per - * @param nper the nper - * @param pv the pv - */ - public BaseWorkbookFunctionsIspmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("per", per); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - } - - /** - * Creates the IWorkbookFunctionsIspmtRequest - * - * @return the IWorkbookFunctionsIspmtRequest instance - */ - public IWorkbookFunctionsIspmtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIspmtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIspmtRequest instance - */ - public IWorkbookFunctionsIspmtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIspmtRequest request = new WorkbookFunctionsIspmtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("per")) { - request.body.per = getParameter("per"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequest.java deleted file mode 100644 index f3aa8488e5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsIsrefBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsrefRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Isref Request. - */ -public class BaseWorkbookFunctionsIsrefRequest extends BaseRequest implements IBaseWorkbookFunctionsIsrefRequest { - protected final WorkbookFunctionsIsrefBody body; - - /** - * The request for this WorkbookFunctionsIsref - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsIsrefRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsIsrefBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsIsrefRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsIsrefRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsIsrefRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsIsrefRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsIsrefRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsIsrefRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequestBuilder.java deleted file mode 100644 index 29a5e2fff97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsIsrefRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsrefRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Isref Request Builder. - */ -public class BaseWorkbookFunctionsIsrefRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsIsref - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsIsrefRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsIsrefRequest - * - * @return the IWorkbookFunctionsIsrefRequest instance - */ - public IWorkbookFunctionsIsrefRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsIsrefRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsrefRequest instance - */ - public IWorkbookFunctionsIsrefRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsIsrefRequest request = new WorkbookFunctionsIsrefRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequest.java deleted file mode 100644 index 147a00723a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsKurtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsKurtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Kurt Request. - */ -public class BaseWorkbookFunctionsKurtRequest extends BaseRequest implements IBaseWorkbookFunctionsKurtRequest { - protected final WorkbookFunctionsKurtBody body; - - /** - * The request for this WorkbookFunctionsKurt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsKurtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsKurtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsKurtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsKurtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsKurtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsKurtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsKurtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsKurtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequestBuilder.java deleted file mode 100644 index 2e3b5410fcd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsKurtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsKurtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Kurt Request Builder. - */ -public class BaseWorkbookFunctionsKurtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsKurt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsKurtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsKurtRequest - * - * @return the IWorkbookFunctionsKurtRequest instance - */ - public IWorkbookFunctionsKurtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsKurtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsKurtRequest instance - */ - public IWorkbookFunctionsKurtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsKurtRequest request = new WorkbookFunctionsKurtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequest.java deleted file mode 100644 index 1556c2515b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLargeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLargeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Large Request. - */ -public class BaseWorkbookFunctionsLargeRequest extends BaseRequest implements IBaseWorkbookFunctionsLargeRequest { - protected final WorkbookFunctionsLargeBody body; - - /** - * The request for this WorkbookFunctionsLarge - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLargeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLargeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLargeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLargeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLargeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLargeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLargeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLargeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequestBuilder.java deleted file mode 100644 index d1736d4c8e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLargeRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLargeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Large Request Builder. - */ -public class BaseWorkbookFunctionsLargeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLarge - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param k the k - */ - public BaseWorkbookFunctionsLargeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("k", k); - } - - /** - * Creates the IWorkbookFunctionsLargeRequest - * - * @return the IWorkbookFunctionsLargeRequest instance - */ - public IWorkbookFunctionsLargeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLargeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLargeRequest instance - */ - public IWorkbookFunctionsLargeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLargeRequest request = new WorkbookFunctionsLargeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("k")) { - request.body.k = getParameter("k"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequest.java deleted file mode 100644 index 727208c1439..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLcmBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLcmRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lcm Request. - */ -public class BaseWorkbookFunctionsLcmRequest extends BaseRequest implements IBaseWorkbookFunctionsLcmRequest { - protected final WorkbookFunctionsLcmBody body; - - /** - * The request for this WorkbookFunctionsLcm - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLcmRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLcmBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLcmRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLcmRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLcmRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLcmRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLcmRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLcmRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequestBuilder.java deleted file mode 100644 index 41050462cf0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLcmRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLcmRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lcm Request Builder. - */ -public class BaseWorkbookFunctionsLcmRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLcm - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsLcmRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsLcmRequest - * - * @return the IWorkbookFunctionsLcmRequest instance - */ - public IWorkbookFunctionsLcmRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLcmRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLcmRequest instance - */ - public IWorkbookFunctionsLcmRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLcmRequest request = new WorkbookFunctionsLcmRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequest.java deleted file mode 100644 index 04fedcef371..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLeftBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Left Request. - */ -public class BaseWorkbookFunctionsLeftRequest extends BaseRequest implements IBaseWorkbookFunctionsLeftRequest { - protected final WorkbookFunctionsLeftBody body; - - /** - * The request for this WorkbookFunctionsLeft - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLeftRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLeftBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLeftRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLeftRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLeftRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLeftRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLeftRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLeftRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequestBuilder.java deleted file mode 100644 index fa69d1864df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Left Request Builder. - */ -public class BaseWorkbookFunctionsLeftRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLeft - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param numChars the numChars - */ - public BaseWorkbookFunctionsLeftRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("numChars", numChars); - } - - /** - * Creates the IWorkbookFunctionsLeftRequest - * - * @return the IWorkbookFunctionsLeftRequest instance - */ - public IWorkbookFunctionsLeftRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLeftRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLeftRequest instance - */ - public IWorkbookFunctionsLeftRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLeftRequest request = new WorkbookFunctionsLeftRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("numChars")) { - request.body.numChars = getParameter("numChars"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequest.java deleted file mode 100644 index 1b28e2728e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLeftbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Leftb Request. - */ -public class BaseWorkbookFunctionsLeftbRequest extends BaseRequest implements IBaseWorkbookFunctionsLeftbRequest { - protected final WorkbookFunctionsLeftbBody body; - - /** - * The request for this WorkbookFunctionsLeftb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLeftbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLeftbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLeftbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLeftbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLeftbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLeftbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLeftbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLeftbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequestBuilder.java deleted file mode 100644 index e67ed514541..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLeftbRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Leftb Request Builder. - */ -public class BaseWorkbookFunctionsLeftbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLeftb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param numBytes the numBytes - */ - public BaseWorkbookFunctionsLeftbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("numBytes", numBytes); - } - - /** - * Creates the IWorkbookFunctionsLeftbRequest - * - * @return the IWorkbookFunctionsLeftbRequest instance - */ - public IWorkbookFunctionsLeftbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLeftbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLeftbRequest instance - */ - public IWorkbookFunctionsLeftbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLeftbRequest request = new WorkbookFunctionsLeftbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("numBytes")) { - request.body.numBytes = getParameter("numBytes"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequest.java deleted file mode 100644 index 829f1c1812d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLenBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Len Request. - */ -public class BaseWorkbookFunctionsLenRequest extends BaseRequest implements IBaseWorkbookFunctionsLenRequest { - protected final WorkbookFunctionsLenBody body; - - /** - * The request for this WorkbookFunctionsLen - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLenBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLenRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLenRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLenRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLenRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLenRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLenRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequestBuilder.java deleted file mode 100644 index f821087c7fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Len Request Builder. - */ -public class BaseWorkbookFunctionsLenRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLen - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsLenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsLenRequest - * - * @return the IWorkbookFunctionsLenRequest instance - */ - public IWorkbookFunctionsLenRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLenRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLenRequest instance - */ - public IWorkbookFunctionsLenRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLenRequest request = new WorkbookFunctionsLenRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequest.java deleted file mode 100644 index a166a49748a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLenbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lenb Request. - */ -public class BaseWorkbookFunctionsLenbRequest extends BaseRequest implements IBaseWorkbookFunctionsLenbRequest { - protected final WorkbookFunctionsLenbBody body; - - /** - * The request for this WorkbookFunctionsLenb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLenbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLenbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLenbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLenbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLenbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLenbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLenbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLenbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequestBuilder.java deleted file mode 100644 index da76d5cb918..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLenbRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lenb Request Builder. - */ -public class BaseWorkbookFunctionsLenbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLenb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsLenbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsLenbRequest - * - * @return the IWorkbookFunctionsLenbRequest instance - */ - public IWorkbookFunctionsLenbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLenbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLenbRequest instance - */ - public IWorkbookFunctionsLenbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLenbRequest request = new WorkbookFunctionsLenbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequest.java deleted file mode 100644 index 92c524b8daf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLnBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ln Request. - */ -public class BaseWorkbookFunctionsLnRequest extends BaseRequest implements IBaseWorkbookFunctionsLnRequest { - protected final WorkbookFunctionsLnBody body; - - /** - * The request for this WorkbookFunctionsLn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLnBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLnRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLnRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequestBuilder.java deleted file mode 100644 index a88abc797f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLnRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ln Request Builder. - */ -public class BaseWorkbookFunctionsLnRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsLnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsLnRequest - * - * @return the IWorkbookFunctionsLnRequest instance - */ - public IWorkbookFunctionsLnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLnRequest instance - */ - public IWorkbookFunctionsLnRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLnRequest request = new WorkbookFunctionsLnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10Request.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10Request.java deleted file mode 100644 index b105208cbd9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10Request.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLog10Body; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLog10Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log10Request. - */ -public class BaseWorkbookFunctionsLog10Request extends BaseRequest implements IBaseWorkbookFunctionsLog10Request { - protected final WorkbookFunctionsLog10Body body; - - /** - * The request for this WorkbookFunctionsLog10 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLog10Request(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLog10Body(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLog10Request select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLog10Request)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLog10Request top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLog10Request)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLog10Request expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLog10Request)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10RequestBuilder.java deleted file mode 100644 index ca433f21d37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLog10RequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLog10Request; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log10Request Builder. - */ -public class BaseWorkbookFunctionsLog10RequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLog10 - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsLog10RequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsLog10Request - * - * @return the IWorkbookFunctionsLog10Request instance - */ - public IWorkbookFunctionsLog10Request buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLog10Request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLog10Request instance - */ - public IWorkbookFunctionsLog10Request buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLog10Request request = new WorkbookFunctionsLog10Request( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequest.java deleted file mode 100644 index 5ba9864f3b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLogNorm_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Norm_Dist Request. - */ -public class BaseWorkbookFunctionsLogNorm_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsLogNorm_DistRequest { - protected final WorkbookFunctionsLogNorm_DistBody body; - - /** - * The request for this WorkbookFunctionsLogNorm_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLogNorm_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLogNorm_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLogNorm_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLogNorm_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLogNorm_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLogNorm_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLogNorm_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLogNorm_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequestBuilder.java deleted file mode 100644 index d29f0130300..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Norm_Dist Request Builder. - */ -public class BaseWorkbookFunctionsLogNorm_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLogNorm_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param mean the mean - * @param standardDev the standardDev - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsLogNorm_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("mean", mean); - bodyParams.put("standardDev", standardDev); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsLogNorm_DistRequest - * - * @return the IWorkbookFunctionsLogNorm_DistRequest instance - */ - public IWorkbookFunctionsLogNorm_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLogNorm_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLogNorm_DistRequest instance - */ - public IWorkbookFunctionsLogNorm_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLogNorm_DistRequest request = new WorkbookFunctionsLogNorm_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("mean")) { - request.body.mean = getParameter("mean"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequest.java deleted file mode 100644 index e2ce17bc252..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLogNorm_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Norm_Inv Request. - */ -public class BaseWorkbookFunctionsLogNorm_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsLogNorm_InvRequest { - protected final WorkbookFunctionsLogNorm_InvBody body; - - /** - * The request for this WorkbookFunctionsLogNorm_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLogNorm_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLogNorm_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLogNorm_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLogNorm_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLogNorm_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLogNorm_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLogNorm_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLogNorm_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequestBuilder.java deleted file mode 100644 index 67d508f26f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogNorm_InvRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Norm_Inv Request Builder. - */ -public class BaseWorkbookFunctionsLogNorm_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLogNorm_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param mean the mean - * @param standardDev the standardDev - */ - public BaseWorkbookFunctionsLogNorm_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("mean", mean); - bodyParams.put("standardDev", standardDev); - } - - /** - * Creates the IWorkbookFunctionsLogNorm_InvRequest - * - * @return the IWorkbookFunctionsLogNorm_InvRequest instance - */ - public IWorkbookFunctionsLogNorm_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLogNorm_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLogNorm_InvRequest instance - */ - public IWorkbookFunctionsLogNorm_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLogNorm_InvRequest request = new WorkbookFunctionsLogNorm_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("mean")) { - request.body.mean = getParameter("mean"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequest.java deleted file mode 100644 index 4810cadfb9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLogBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Request. - */ -public class BaseWorkbookFunctionsLogRequest extends BaseRequest implements IBaseWorkbookFunctionsLogRequest { - protected final WorkbookFunctionsLogBody body; - - /** - * The request for this WorkbookFunctionsLog - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLogRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLogBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLogRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLogRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLogRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLogRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLogRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLogRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequestBuilder.java deleted file mode 100644 index c40ee397008..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLogRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Log Request Builder. - */ -public class BaseWorkbookFunctionsLogRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLog - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param base the base - */ - public BaseWorkbookFunctionsLogRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement base) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("base", base); - } - - /** - * Creates the IWorkbookFunctionsLogRequest - * - * @return the IWorkbookFunctionsLogRequest instance - */ - public IWorkbookFunctionsLogRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLogRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLogRequest instance - */ - public IWorkbookFunctionsLogRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLogRequest request = new WorkbookFunctionsLogRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("base")) { - request.body.base = getParameter("base"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequest.java deleted file mode 100644 index 9886754e64d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLookupBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLookupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lookup Request. - */ -public class BaseWorkbookFunctionsLookupRequest extends BaseRequest implements IBaseWorkbookFunctionsLookupRequest { - protected final WorkbookFunctionsLookupBody body; - - /** - * The request for this WorkbookFunctionsLookup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLookupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLookupBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLookupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLookupRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLookupRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLookupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLookupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLookupRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequestBuilder.java deleted file mode 100644 index c0b32b6b48e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLookupRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLookupRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lookup Request Builder. - */ -public class BaseWorkbookFunctionsLookupRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLookup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param lookupValue the lookupValue - * @param lookupVector the lookupVector - * @param resultVector the resultVector - */ - public BaseWorkbookFunctionsLookupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupVector, final com.google.gson.JsonElement resultVector) { - super(requestUrl, client, requestOptions); - bodyParams.put("lookupValue", lookupValue); - bodyParams.put("lookupVector", lookupVector); - bodyParams.put("resultVector", resultVector); - } - - /** - * Creates the IWorkbookFunctionsLookupRequest - * - * @return the IWorkbookFunctionsLookupRequest instance - */ - public IWorkbookFunctionsLookupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLookupRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLookupRequest instance - */ - public IWorkbookFunctionsLookupRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLookupRequest request = new WorkbookFunctionsLookupRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("lookupValue")) { - request.body.lookupValue = getParameter("lookupValue"); - } - - if (hasParameter("lookupVector")) { - request.body.lookupVector = getParameter("lookupVector"); - } - - if (hasParameter("resultVector")) { - request.body.resultVector = getParameter("resultVector"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequest.java deleted file mode 100644 index 20fc4676bd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsLowerBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLowerRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lower Request. - */ -public class BaseWorkbookFunctionsLowerRequest extends BaseRequest implements IBaseWorkbookFunctionsLowerRequest { - protected final WorkbookFunctionsLowerBody body; - - /** - * The request for this WorkbookFunctionsLower - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsLowerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsLowerBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsLowerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsLowerRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsLowerRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsLowerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsLowerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsLowerRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequestBuilder.java deleted file mode 100644 index 28e6c7401bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsLowerRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLowerRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Lower Request Builder. - */ -public class BaseWorkbookFunctionsLowerRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsLower - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsLowerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsLowerRequest - * - * @return the IWorkbookFunctionsLowerRequest instance - */ - public IWorkbookFunctionsLowerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsLowerRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLowerRequest instance - */ - public IWorkbookFunctionsLowerRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsLowerRequest request = new WorkbookFunctionsLowerRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequest.java deleted file mode 100644 index 3e7164d79e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMatchBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMatchRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Match Request. - */ -public class BaseWorkbookFunctionsMatchRequest extends BaseRequest implements IBaseWorkbookFunctionsMatchRequest { - protected final WorkbookFunctionsMatchBody body; - - /** - * The request for this WorkbookFunctionsMatch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMatchRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMatchBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMatchRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMatchRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMatchRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMatchRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMatchRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMatchRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequestBuilder.java deleted file mode 100644 index d9a4a6756c4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMatchRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMatchRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Match Request Builder. - */ -public class BaseWorkbookFunctionsMatchRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMatch - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param lookupValue the lookupValue - * @param lookupArray the lookupArray - * @param matchType the matchType - */ - public BaseWorkbookFunctionsMatchRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupArray, final com.google.gson.JsonElement matchType) { - super(requestUrl, client, requestOptions); - bodyParams.put("lookupValue", lookupValue); - bodyParams.put("lookupArray", lookupArray); - bodyParams.put("matchType", matchType); - } - - /** - * Creates the IWorkbookFunctionsMatchRequest - * - * @return the IWorkbookFunctionsMatchRequest instance - */ - public IWorkbookFunctionsMatchRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMatchRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMatchRequest instance - */ - public IWorkbookFunctionsMatchRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMatchRequest request = new WorkbookFunctionsMatchRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("lookupValue")) { - request.body.lookupValue = getParameter("lookupValue"); - } - - if (hasParameter("lookupArray")) { - request.body.lookupArray = getParameter("lookupArray"); - } - - if (hasParameter("matchType")) { - request.body.matchType = getParameter("matchType"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequest.java deleted file mode 100644 index 55b2dedfdb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMaxABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Max ARequest. - */ -public class BaseWorkbookFunctionsMaxARequest extends BaseRequest implements IBaseWorkbookFunctionsMaxARequest { - protected final WorkbookFunctionsMaxABody body; - - /** - * The request for this WorkbookFunctionsMaxA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMaxARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMaxABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMaxARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMaxARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMaxARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMaxARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMaxARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMaxARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequestBuilder.java deleted file mode 100644 index 2c107f84b77..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Max ARequest Builder. - */ -public class BaseWorkbookFunctionsMaxARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMaxA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsMaxARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsMaxARequest - * - * @return the IWorkbookFunctionsMaxARequest instance - */ - public IWorkbookFunctionsMaxARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMaxARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMaxARequest instance - */ - public IWorkbookFunctionsMaxARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMaxARequest request = new WorkbookFunctionsMaxARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequest.java deleted file mode 100644 index 2468664567c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMaxBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Max Request. - */ -public class BaseWorkbookFunctionsMaxRequest extends BaseRequest implements IBaseWorkbookFunctionsMaxRequest { - protected final WorkbookFunctionsMaxBody body; - - /** - * The request for this WorkbookFunctionsMax - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMaxRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMaxBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMaxRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMaxRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMaxRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMaxRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMaxRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMaxRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequestBuilder.java deleted file mode 100644 index 371913070ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMaxRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Max Request Builder. - */ -public class BaseWorkbookFunctionsMaxRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMax - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsMaxRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsMaxRequest - * - * @return the IWorkbookFunctionsMaxRequest instance - */ - public IWorkbookFunctionsMaxRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMaxRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMaxRequest instance - */ - public IWorkbookFunctionsMaxRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMaxRequest request = new WorkbookFunctionsMaxRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequest.java deleted file mode 100644 index 495df35789b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMdurationBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMdurationRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mduration Request. - */ -public class BaseWorkbookFunctionsMdurationRequest extends BaseRequest implements IBaseWorkbookFunctionsMdurationRequest { - protected final WorkbookFunctionsMdurationBody body; - - /** - * The request for this WorkbookFunctionsMduration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMdurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMdurationBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMdurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMdurationRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMdurationRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMdurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMdurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMdurationRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequestBuilder.java deleted file mode 100644 index de0ff797c72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMdurationRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMdurationRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mduration Request Builder. - */ -public class BaseWorkbookFunctionsMdurationRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMduration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param coupon the coupon - * @param yld the yld - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsMdurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("coupon", coupon); - bodyParams.put("yld", yld); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsMdurationRequest - * - * @return the IWorkbookFunctionsMdurationRequest instance - */ - public IWorkbookFunctionsMdurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMdurationRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMdurationRequest instance - */ - public IWorkbookFunctionsMdurationRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMdurationRequest request = new WorkbookFunctionsMdurationRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("coupon")) { - request.body.coupon = getParameter("coupon"); - } - - if (hasParameter("yld")) { - request.body.yld = getParameter("yld"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequest.java deleted file mode 100644 index c164138c8da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMedianBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMedianRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Median Request. - */ -public class BaseWorkbookFunctionsMedianRequest extends BaseRequest implements IBaseWorkbookFunctionsMedianRequest { - protected final WorkbookFunctionsMedianBody body; - - /** - * The request for this WorkbookFunctionsMedian - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMedianRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMedianBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMedianRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMedianRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMedianRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMedianRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMedianRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMedianRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequestBuilder.java deleted file mode 100644 index b8e37b42675..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMedianRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMedianRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Median Request Builder. - */ -public class BaseWorkbookFunctionsMedianRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMedian - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsMedianRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsMedianRequest - * - * @return the IWorkbookFunctionsMedianRequest instance - */ - public IWorkbookFunctionsMedianRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMedianRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMedianRequest instance - */ - public IWorkbookFunctionsMedianRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMedianRequest request = new WorkbookFunctionsMedianRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequest.java deleted file mode 100644 index d318e59cb7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMidBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mid Request. - */ -public class BaseWorkbookFunctionsMidRequest extends BaseRequest implements IBaseWorkbookFunctionsMidRequest { - protected final WorkbookFunctionsMidBody body; - - /** - * The request for this WorkbookFunctionsMid - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMidRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMidBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMidRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMidRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMidRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMidRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMidRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMidRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequestBuilder.java deleted file mode 100644 index 3caad237028..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mid Request Builder. - */ -public class BaseWorkbookFunctionsMidRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMid - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param startNum the startNum - * @param numChars the numChars - */ - public BaseWorkbookFunctionsMidRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("startNum", startNum); - bodyParams.put("numChars", numChars); - } - - /** - * Creates the IWorkbookFunctionsMidRequest - * - * @return the IWorkbookFunctionsMidRequest instance - */ - public IWorkbookFunctionsMidRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMidRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMidRequest instance - */ - public IWorkbookFunctionsMidRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMidRequest request = new WorkbookFunctionsMidRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("startNum")) { - request.body.startNum = getParameter("startNum"); - } - - if (hasParameter("numChars")) { - request.body.numChars = getParameter("numChars"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequest.java deleted file mode 100644 index b54172a1748..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMidbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Midb Request. - */ -public class BaseWorkbookFunctionsMidbRequest extends BaseRequest implements IBaseWorkbookFunctionsMidbRequest { - protected final WorkbookFunctionsMidbBody body; - - /** - * The request for this WorkbookFunctionsMidb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMidbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMidbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMidbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMidbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMidbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMidbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMidbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMidbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequestBuilder.java deleted file mode 100644 index a3cdcc179dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMidbRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Midb Request Builder. - */ -public class BaseWorkbookFunctionsMidbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMidb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param startNum the startNum - * @param numBytes the numBytes - */ - public BaseWorkbookFunctionsMidbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("startNum", startNum); - bodyParams.put("numBytes", numBytes); - } - - /** - * Creates the IWorkbookFunctionsMidbRequest - * - * @return the IWorkbookFunctionsMidbRequest instance - */ - public IWorkbookFunctionsMidbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMidbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMidbRequest instance - */ - public IWorkbookFunctionsMidbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMidbRequest request = new WorkbookFunctionsMidbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("startNum")) { - request.body.startNum = getParameter("startNum"); - } - - if (hasParameter("numBytes")) { - request.body.numBytes = getParameter("numBytes"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequest.java deleted file mode 100644 index c9c26d62d8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMinABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Min ARequest. - */ -public class BaseWorkbookFunctionsMinARequest extends BaseRequest implements IBaseWorkbookFunctionsMinARequest { - protected final WorkbookFunctionsMinABody body; - - /** - * The request for this WorkbookFunctionsMinA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMinARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMinABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMinARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMinARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMinARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMinARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMinARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMinARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequestBuilder.java deleted file mode 100644 index 6910aefba85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Min ARequest Builder. - */ -public class BaseWorkbookFunctionsMinARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMinA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsMinARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsMinARequest - * - * @return the IWorkbookFunctionsMinARequest instance - */ - public IWorkbookFunctionsMinARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMinARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMinARequest instance - */ - public IWorkbookFunctionsMinARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMinARequest request = new WorkbookFunctionsMinARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequest.java deleted file mode 100644 index adcccea11bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Min Request. - */ -public class BaseWorkbookFunctionsMinRequest extends BaseRequest implements IBaseWorkbookFunctionsMinRequest { - protected final WorkbookFunctionsMinBody body; - - /** - * The request for this WorkbookFunctionsMin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequestBuilder.java deleted file mode 100644 index b3f07960c09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Min Request Builder. - */ -public class BaseWorkbookFunctionsMinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsMinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsMinRequest - * - * @return the IWorkbookFunctionsMinRequest instance - */ - public IWorkbookFunctionsMinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMinRequest instance - */ - public IWorkbookFunctionsMinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMinRequest request = new WorkbookFunctionsMinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequest.java deleted file mode 100644 index ea122825885..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMinuteBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinuteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Minute Request. - */ -public class BaseWorkbookFunctionsMinuteRequest extends BaseRequest implements IBaseWorkbookFunctionsMinuteRequest { - protected final WorkbookFunctionsMinuteBody body; - - /** - * The request for this WorkbookFunctionsMinute - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMinuteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMinuteBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMinuteRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMinuteRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMinuteRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMinuteRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMinuteRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMinuteRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequestBuilder.java deleted file mode 100644 index ed74e0a24e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMinuteRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinuteRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Minute Request Builder. - */ -public class BaseWorkbookFunctionsMinuteRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMinute - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - */ - public BaseWorkbookFunctionsMinuteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - } - - /** - * Creates the IWorkbookFunctionsMinuteRequest - * - * @return the IWorkbookFunctionsMinuteRequest instance - */ - public IWorkbookFunctionsMinuteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMinuteRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMinuteRequest instance - */ - public IWorkbookFunctionsMinuteRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMinuteRequest request = new WorkbookFunctionsMinuteRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequest.java deleted file mode 100644 index 2a734c1f803..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMirrBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMirrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mirr Request. - */ -public class BaseWorkbookFunctionsMirrRequest extends BaseRequest implements IBaseWorkbookFunctionsMirrRequest { - protected final WorkbookFunctionsMirrBody body; - - /** - * The request for this WorkbookFunctionsMirr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMirrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMirrBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMirrRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMirrRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMirrRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMirrRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMirrRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMirrRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequestBuilder.java deleted file mode 100644 index 07ab5480e78..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMirrRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMirrRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mirr Request Builder. - */ -public class BaseWorkbookFunctionsMirrRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMirr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - * @param financeRate the financeRate - * @param reinvestRate the reinvestRate - */ - public BaseWorkbookFunctionsMirrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values, final com.google.gson.JsonElement financeRate, final com.google.gson.JsonElement reinvestRate) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - bodyParams.put("financeRate", financeRate); - bodyParams.put("reinvestRate", reinvestRate); - } - - /** - * Creates the IWorkbookFunctionsMirrRequest - * - * @return the IWorkbookFunctionsMirrRequest instance - */ - public IWorkbookFunctionsMirrRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMirrRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMirrRequest instance - */ - public IWorkbookFunctionsMirrRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMirrRequest request = new WorkbookFunctionsMirrRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - if (hasParameter("financeRate")) { - request.body.financeRate = getParameter("financeRate"); - } - - if (hasParameter("reinvestRate")) { - request.body.reinvestRate = getParameter("reinvestRate"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequest.java deleted file mode 100644 index a3b98cd0cb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsModBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsModRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mod Request. - */ -public class BaseWorkbookFunctionsModRequest extends BaseRequest implements IBaseWorkbookFunctionsModRequest { - protected final WorkbookFunctionsModBody body; - - /** - * The request for this WorkbookFunctionsMod - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsModRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsModBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsModRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsModRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsModRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsModRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsModRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsModRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequestBuilder.java deleted file mode 100644 index 4a32a4a8b6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsModRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsModRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mod Request Builder. - */ -public class BaseWorkbookFunctionsModRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMod - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param divisor the divisor - */ - public BaseWorkbookFunctionsModRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement divisor) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("divisor", divisor); - } - - /** - * Creates the IWorkbookFunctionsModRequest - * - * @return the IWorkbookFunctionsModRequest instance - */ - public IWorkbookFunctionsModRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsModRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsModRequest instance - */ - public IWorkbookFunctionsModRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsModRequest request = new WorkbookFunctionsModRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("divisor")) { - request.body.divisor = getParameter("divisor"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequest.java deleted file mode 100644 index b0ba60f353a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMonthBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMonthRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Month Request. - */ -public class BaseWorkbookFunctionsMonthRequest extends BaseRequest implements IBaseWorkbookFunctionsMonthRequest { - protected final WorkbookFunctionsMonthBody body; - - /** - * The request for this WorkbookFunctionsMonth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMonthRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMonthBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMonthRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMonthRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMonthRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMonthRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMonthRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMonthRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequestBuilder.java deleted file mode 100644 index 0f797d12a44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMonthRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMonthRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Month Request Builder. - */ -public class BaseWorkbookFunctionsMonthRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMonth - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - */ - public BaseWorkbookFunctionsMonthRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - } - - /** - * Creates the IWorkbookFunctionsMonthRequest - * - * @return the IWorkbookFunctionsMonthRequest instance - */ - public IWorkbookFunctionsMonthRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMonthRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMonthRequest instance - */ - public IWorkbookFunctionsMonthRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMonthRequest request = new WorkbookFunctionsMonthRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequest.java deleted file mode 100644 index 49ff26b5eda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMroundBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMroundRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mround Request. - */ -public class BaseWorkbookFunctionsMroundRequest extends BaseRequest implements IBaseWorkbookFunctionsMroundRequest { - protected final WorkbookFunctionsMroundBody body; - - /** - * The request for this WorkbookFunctionsMround - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMroundRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMroundBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMroundRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMroundRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMroundRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMroundRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMroundRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMroundRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequestBuilder.java deleted file mode 100644 index 5358883388f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMroundRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMroundRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Mround Request Builder. - */ -public class BaseWorkbookFunctionsMroundRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMround - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param multiple the multiple - */ - public BaseWorkbookFunctionsMroundRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement multiple) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("multiple", multiple); - } - - /** - * Creates the IWorkbookFunctionsMroundRequest - * - * @return the IWorkbookFunctionsMroundRequest instance - */ - public IWorkbookFunctionsMroundRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMroundRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMroundRequest instance - */ - public IWorkbookFunctionsMroundRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMroundRequest request = new WorkbookFunctionsMroundRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("multiple")) { - request.body.multiple = getParameter("multiple"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequest.java deleted file mode 100644 index df5a3e7ff11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsMultiNomialBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMultiNomialRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Multi Nomial Request. - */ -public class BaseWorkbookFunctionsMultiNomialRequest extends BaseRequest implements IBaseWorkbookFunctionsMultiNomialRequest { - protected final WorkbookFunctionsMultiNomialBody body; - - /** - * The request for this WorkbookFunctionsMultiNomial - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsMultiNomialRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsMultiNomialBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsMultiNomialRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsMultiNomialRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsMultiNomialRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsMultiNomialRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsMultiNomialRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsMultiNomialRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequestBuilder.java deleted file mode 100644 index e1cce95f771..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsMultiNomialRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMultiNomialRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Multi Nomial Request Builder. - */ -public class BaseWorkbookFunctionsMultiNomialRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsMultiNomial - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsMultiNomialRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsMultiNomialRequest - * - * @return the IWorkbookFunctionsMultiNomialRequest instance - */ - public IWorkbookFunctionsMultiNomialRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsMultiNomialRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMultiNomialRequest instance - */ - public IWorkbookFunctionsMultiNomialRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsMultiNomialRequest request = new WorkbookFunctionsMultiNomialRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequest.java deleted file mode 100644 index be5e6649110..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions NRequest. - */ -public class BaseWorkbookFunctionsNRequest extends BaseRequest implements IBaseWorkbookFunctionsNRequest { - protected final WorkbookFunctionsNBody body; - - /** - * The request for this WorkbookFunctionsN - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequestBuilder.java deleted file mode 100644 index 99217c9eeb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions NRequest Builder. - */ -public class BaseWorkbookFunctionsNRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsN - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsNRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsNRequest - * - * @return the IWorkbookFunctionsNRequest instance - */ - public IWorkbookFunctionsNRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNRequest instance - */ - public IWorkbookFunctionsNRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNRequest request = new WorkbookFunctionsNRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequest.java deleted file mode 100644 index fb49b82fa54..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Na Request. - */ -public class BaseWorkbookFunctionsNaRequest extends BaseRequest implements IBaseWorkbookFunctionsNaRequest { - - /** - * The request for this WorkbookFunctionsNa - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsNa - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsNa - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNaRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNaRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNaRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNaRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequestBuilder.java deleted file mode 100644 index 893fbd93217..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNaRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNaRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Na Request Builder. - */ -public class BaseWorkbookFunctionsNaRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNa - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsNaRequest - * - * @return the IWorkbookFunctionsNaRequest instance - */ - public IWorkbookFunctionsNaRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNaRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNaRequest instance - */ - public IWorkbookFunctionsNaRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNaRequest request = new WorkbookFunctionsNaRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequest.java deleted file mode 100644 index 72e8ffd87c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNegBinom_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNegBinom_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Neg Binom_Dist Request. - */ -public class BaseWorkbookFunctionsNegBinom_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsNegBinom_DistRequest { - protected final WorkbookFunctionsNegBinom_DistBody body; - - /** - * The request for this WorkbookFunctionsNegBinom_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNegBinom_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNegBinom_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNegBinom_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNegBinom_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNegBinom_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNegBinom_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNegBinom_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNegBinom_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequestBuilder.java deleted file mode 100644 index cd7b14de62f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNegBinom_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNegBinom_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Neg Binom_Dist Request Builder. - */ -public class BaseWorkbookFunctionsNegBinom_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNegBinom_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param numberF the numberF - * @param numberS the numberS - * @param probabilityS the probabilityS - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsNegBinom_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement numberF, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("numberF", numberF); - bodyParams.put("numberS", numberS); - bodyParams.put("probabilityS", probabilityS); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsNegBinom_DistRequest - * - * @return the IWorkbookFunctionsNegBinom_DistRequest instance - */ - public IWorkbookFunctionsNegBinom_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNegBinom_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNegBinom_DistRequest instance - */ - public IWorkbookFunctionsNegBinom_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNegBinom_DistRequest request = new WorkbookFunctionsNegBinom_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("numberF")) { - request.body.numberF = getParameter("numberF"); - } - - if (hasParameter("numberS")) { - request.body.numberS = getParameter("numberS"); - } - - if (hasParameter("probabilityS")) { - request.body.probabilityS = getParameter("probabilityS"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequest.java deleted file mode 100644 index 6825e57d115..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNetworkDaysBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDaysRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Network Days Request. - */ -public class BaseWorkbookFunctionsNetworkDaysRequest extends BaseRequest implements IBaseWorkbookFunctionsNetworkDaysRequest { - protected final WorkbookFunctionsNetworkDaysBody body; - - /** - * The request for this WorkbookFunctionsNetworkDays - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNetworkDaysRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNetworkDaysBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNetworkDaysRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNetworkDaysRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNetworkDaysRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNetworkDaysRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNetworkDaysRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNetworkDaysRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequestBuilder.java deleted file mode 100644 index b75e1e44097..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDaysRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDaysRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Network Days Request Builder. - */ -public class BaseWorkbookFunctionsNetworkDaysRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNetworkDays - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param endDate the endDate - * @param holidays the holidays - */ - public BaseWorkbookFunctionsNetworkDaysRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("endDate", endDate); - bodyParams.put("holidays", holidays); - } - - /** - * Creates the IWorkbookFunctionsNetworkDaysRequest - * - * @return the IWorkbookFunctionsNetworkDaysRequest instance - */ - public IWorkbookFunctionsNetworkDaysRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNetworkDaysRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNetworkDaysRequest instance - */ - public IWorkbookFunctionsNetworkDaysRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNetworkDaysRequest request = new WorkbookFunctionsNetworkDaysRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("endDate")) { - request.body.endDate = getParameter("endDate"); - } - - if (hasParameter("holidays")) { - request.body.holidays = getParameter("holidays"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequest.java deleted file mode 100644 index 67e759eea83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNetworkDays_IntlBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDays_IntlRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Network Days_Intl Request. - */ -public class BaseWorkbookFunctionsNetworkDays_IntlRequest extends BaseRequest implements IBaseWorkbookFunctionsNetworkDays_IntlRequest { - protected final WorkbookFunctionsNetworkDays_IntlBody body; - - /** - * The request for this WorkbookFunctionsNetworkDays_Intl - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNetworkDays_IntlRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNetworkDays_IntlBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNetworkDays_IntlRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNetworkDays_IntlRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNetworkDays_IntlRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNetworkDays_IntlRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNetworkDays_IntlRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNetworkDays_IntlRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java deleted file mode 100644 index 119688d7be6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDays_IntlRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Network Days_Intl Request Builder. - */ -public class BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNetworkDays_Intl - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param endDate the endDate - * @param weekend the weekend - * @param holidays the holidays - */ - public BaseWorkbookFunctionsNetworkDays_IntlRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("endDate", endDate); - bodyParams.put("weekend", weekend); - bodyParams.put("holidays", holidays); - } - - /** - * Creates the IWorkbookFunctionsNetworkDays_IntlRequest - * - * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance - */ - public IWorkbookFunctionsNetworkDays_IntlRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNetworkDays_IntlRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance - */ - public IWorkbookFunctionsNetworkDays_IntlRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNetworkDays_IntlRequest request = new WorkbookFunctionsNetworkDays_IntlRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("endDate")) { - request.body.endDate = getParameter("endDate"); - } - - if (hasParameter("weekend")) { - request.body.weekend = getParameter("weekend"); - } - - if (hasParameter("holidays")) { - request.body.holidays = getParameter("holidays"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequest.java deleted file mode 100644 index b3ad2dd7b20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNominalBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNominalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Nominal Request. - */ -public class BaseWorkbookFunctionsNominalRequest extends BaseRequest implements IBaseWorkbookFunctionsNominalRequest { - protected final WorkbookFunctionsNominalBody body; - - /** - * The request for this WorkbookFunctionsNominal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNominalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNominalBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNominalRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNominalRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNominalRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNominalRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNominalRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNominalRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequestBuilder.java deleted file mode 100644 index 172d404e5ff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNominalRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNominalRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Nominal Request Builder. - */ -public class BaseWorkbookFunctionsNominalRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNominal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param effectRate the effectRate - * @param npery the npery - */ - public BaseWorkbookFunctionsNominalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement effectRate, final com.google.gson.JsonElement npery) { - super(requestUrl, client, requestOptions); - bodyParams.put("effectRate", effectRate); - bodyParams.put("npery", npery); - } - - /** - * Creates the IWorkbookFunctionsNominalRequest - * - * @return the IWorkbookFunctionsNominalRequest instance - */ - public IWorkbookFunctionsNominalRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNominalRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNominalRequest instance - */ - public IWorkbookFunctionsNominalRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNominalRequest request = new WorkbookFunctionsNominalRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("effectRate")) { - request.body.effectRate = getParameter("effectRate"); - } - - if (hasParameter("npery")) { - request.body.npery = getParameter("npery"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequest.java deleted file mode 100644 index 991fe9b938a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_Dist Request. - */ -public class BaseWorkbookFunctionsNorm_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsNorm_DistRequest { - protected final WorkbookFunctionsNorm_DistBody body; - - /** - * The request for this WorkbookFunctionsNorm_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNorm_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNorm_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNorm_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNorm_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNorm_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNorm_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequestBuilder.java deleted file mode 100644 index 2196fa268f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_Dist Request Builder. - */ -public class BaseWorkbookFunctionsNorm_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNorm_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param mean the mean - * @param standardDev the standardDev - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsNorm_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("mean", mean); - bodyParams.put("standardDev", standardDev); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsNorm_DistRequest - * - * @return the IWorkbookFunctionsNorm_DistRequest instance - */ - public IWorkbookFunctionsNorm_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNorm_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_DistRequest instance - */ - public IWorkbookFunctionsNorm_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNorm_DistRequest request = new WorkbookFunctionsNorm_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("mean")) { - request.body.mean = getParameter("mean"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequest.java deleted file mode 100644 index 2a08d341a6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_Inv Request. - */ -public class BaseWorkbookFunctionsNorm_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsNorm_InvRequest { - protected final WorkbookFunctionsNorm_InvBody body; - - /** - * The request for this WorkbookFunctionsNorm_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNorm_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNorm_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNorm_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNorm_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNorm_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNorm_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequestBuilder.java deleted file mode 100644 index 9d6e20cc8fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_InvRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_Inv Request Builder. - */ -public class BaseWorkbookFunctionsNorm_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNorm_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param mean the mean - * @param standardDev the standardDev - */ - public BaseWorkbookFunctionsNorm_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("mean", mean); - bodyParams.put("standardDev", standardDev); - } - - /** - * Creates the IWorkbookFunctionsNorm_InvRequest - * - * @return the IWorkbookFunctionsNorm_InvRequest instance - */ - public IWorkbookFunctionsNorm_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNorm_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_InvRequest instance - */ - public IWorkbookFunctionsNorm_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNorm_InvRequest request = new WorkbookFunctionsNorm_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("mean")) { - request.body.mean = getParameter("mean"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequest.java deleted file mode 100644 index 487bb33e038..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_S_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_S_Dist Request. - */ -public class BaseWorkbookFunctionsNorm_S_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsNorm_S_DistRequest { - protected final WorkbookFunctionsNorm_S_DistBody body; - - /** - * The request for this WorkbookFunctionsNorm_S_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNorm_S_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNorm_S_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_S_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNorm_S_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNorm_S_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNorm_S_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_S_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNorm_S_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequestBuilder.java deleted file mode 100644 index 9ea779c815d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_DistRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_S_Dist Request Builder. - */ -public class BaseWorkbookFunctionsNorm_S_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNorm_S_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param z the z - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsNorm_S_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement z, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("z", z); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsNorm_S_DistRequest - * - * @return the IWorkbookFunctionsNorm_S_DistRequest instance - */ - public IWorkbookFunctionsNorm_S_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNorm_S_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_S_DistRequest instance - */ - public IWorkbookFunctionsNorm_S_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNorm_S_DistRequest request = new WorkbookFunctionsNorm_S_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("z")) { - request.body.z = getParameter("z"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequest.java deleted file mode 100644 index ee2e2fc3970..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNorm_S_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_S_Inv Request. - */ -public class BaseWorkbookFunctionsNorm_S_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsNorm_S_InvRequest { - protected final WorkbookFunctionsNorm_S_InvBody body; - - /** - * The request for this WorkbookFunctionsNorm_S_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNorm_S_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNorm_S_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_S_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNorm_S_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNorm_S_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNorm_S_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNorm_S_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNorm_S_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequestBuilder.java deleted file mode 100644 index be691caa1df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNorm_S_InvRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Norm_S_Inv Request Builder. - */ -public class BaseWorkbookFunctionsNorm_S_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNorm_S_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - */ - public BaseWorkbookFunctionsNorm_S_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - } - - /** - * Creates the IWorkbookFunctionsNorm_S_InvRequest - * - * @return the IWorkbookFunctionsNorm_S_InvRequest instance - */ - public IWorkbookFunctionsNorm_S_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNorm_S_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_S_InvRequest instance - */ - public IWorkbookFunctionsNorm_S_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNorm_S_InvRequest request = new WorkbookFunctionsNorm_S_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequest.java deleted file mode 100644 index c425bbe3e43..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNotBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Not Request. - */ -public class BaseWorkbookFunctionsNotRequest extends BaseRequest implements IBaseWorkbookFunctionsNotRequest { - protected final WorkbookFunctionsNotBody body; - - /** - * The request for this WorkbookFunctionsNot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNotRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNotBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNotRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNotRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNotRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNotRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNotRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNotRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequestBuilder.java deleted file mode 100644 index 86b0d505db0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNotRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNotRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Not Request Builder. - */ -public class BaseWorkbookFunctionsNotRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNot - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param logical the logical - */ - public BaseWorkbookFunctionsNotRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement logical) { - super(requestUrl, client, requestOptions); - bodyParams.put("logical", logical); - } - - /** - * Creates the IWorkbookFunctionsNotRequest - * - * @return the IWorkbookFunctionsNotRequest instance - */ - public IWorkbookFunctionsNotRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNotRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNotRequest instance - */ - public IWorkbookFunctionsNotRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNotRequest request = new WorkbookFunctionsNotRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("logical")) { - request.body.logical = getParameter("logical"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequest.java deleted file mode 100644 index 9e9d665614f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Now Request. - */ -public class BaseWorkbookFunctionsNowRequest extends BaseRequest implements IBaseWorkbookFunctionsNowRequest { - - /** - * The request for this WorkbookFunctionsNow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsNow - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsNow - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNowRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNowRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNowRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNowRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequestBuilder.java deleted file mode 100644 index ded393127c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNowRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNowRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Now Request Builder. - */ -public class BaseWorkbookFunctionsNowRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsNowRequest - * - * @return the IWorkbookFunctionsNowRequest instance - */ - public IWorkbookFunctionsNowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNowRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNowRequest instance - */ - public IWorkbookFunctionsNowRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNowRequest request = new WorkbookFunctionsNowRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequest.java deleted file mode 100644 index a8c0957fee8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNperBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNperRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Nper Request. - */ -public class BaseWorkbookFunctionsNperRequest extends BaseRequest implements IBaseWorkbookFunctionsNperRequest { - protected final WorkbookFunctionsNperBody body; - - /** - * The request for this WorkbookFunctionsNper - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNperRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNperBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNperRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNperRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNperRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNperRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNperRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNperRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequestBuilder.java deleted file mode 100644 index c8b27549fec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNperRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNperRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Nper Request Builder. - */ -public class BaseWorkbookFunctionsNperRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNper - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param pmt the pmt - * @param pv the pv - * @param fv the fv - * @param type the type - */ - public BaseWorkbookFunctionsNperRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("pmt", pmt); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsNperRequest - * - * @return the IWorkbookFunctionsNperRequest instance - */ - public IWorkbookFunctionsNperRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNperRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNperRequest instance - */ - public IWorkbookFunctionsNperRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNperRequest request = new WorkbookFunctionsNperRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("pmt")) { - request.body.pmt = getParameter("pmt"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequest.java deleted file mode 100644 index bf063e2a1a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNpvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNpvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Npv Request. - */ -public class BaseWorkbookFunctionsNpvRequest extends BaseRequest implements IBaseWorkbookFunctionsNpvRequest { - protected final WorkbookFunctionsNpvBody body; - - /** - * The request for this WorkbookFunctionsNpv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNpvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNpvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNpvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNpvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNpvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNpvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNpvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNpvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequestBuilder.java deleted file mode 100644 index f62fc705080..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNpvRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNpvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Npv Request Builder. - */ -public class BaseWorkbookFunctionsNpvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNpv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param values the values - */ - public BaseWorkbookFunctionsNpvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsNpvRequest - * - * @return the IWorkbookFunctionsNpvRequest instance - */ - public IWorkbookFunctionsNpvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNpvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNpvRequest instance - */ - public IWorkbookFunctionsNpvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNpvRequest request = new WorkbookFunctionsNpvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequest.java deleted file mode 100644 index 00564b15881..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsNumberValueBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNumberValueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Number Value Request. - */ -public class BaseWorkbookFunctionsNumberValueRequest extends BaseRequest implements IBaseWorkbookFunctionsNumberValueRequest { - protected final WorkbookFunctionsNumberValueBody body; - - /** - * The request for this WorkbookFunctionsNumberValue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsNumberValueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsNumberValueBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsNumberValueRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsNumberValueRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsNumberValueRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsNumberValueRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsNumberValueRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsNumberValueRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequestBuilder.java deleted file mode 100644 index 3ebf1bc0197..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsNumberValueRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNumberValueRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Number Value Request Builder. - */ -public class BaseWorkbookFunctionsNumberValueRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsNumberValue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param decimalSeparator the decimalSeparator - * @param groupSeparator the groupSeparator - */ - public BaseWorkbookFunctionsNumberValueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement decimalSeparator, final com.google.gson.JsonElement groupSeparator) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("decimalSeparator", decimalSeparator); - bodyParams.put("groupSeparator", groupSeparator); - } - - /** - * Creates the IWorkbookFunctionsNumberValueRequest - * - * @return the IWorkbookFunctionsNumberValueRequest instance - */ - public IWorkbookFunctionsNumberValueRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsNumberValueRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNumberValueRequest instance - */ - public IWorkbookFunctionsNumberValueRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsNumberValueRequest request = new WorkbookFunctionsNumberValueRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("decimalSeparator")) { - request.body.decimalSeparator = getParameter("decimalSeparator"); - } - - if (hasParameter("groupSeparator")) { - request.body.groupSeparator = getParameter("groupSeparator"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequest.java deleted file mode 100644 index 6cee4d1d150..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOct2BinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2BinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Bin Request. - */ -public class BaseWorkbookFunctionsOct2BinRequest extends BaseRequest implements IBaseWorkbookFunctionsOct2BinRequest { - protected final WorkbookFunctionsOct2BinBody body; - - /** - * The request for this WorkbookFunctionsOct2Bin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOct2BinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOct2BinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOct2BinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOct2BinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOct2BinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOct2BinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOct2BinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOct2BinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequestBuilder.java deleted file mode 100644 index f28975e00fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2BinRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2BinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Bin Request Builder. - */ -public class BaseWorkbookFunctionsOct2BinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOct2Bin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsOct2BinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsOct2BinRequest - * - * @return the IWorkbookFunctionsOct2BinRequest instance - */ - public IWorkbookFunctionsOct2BinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOct2BinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOct2BinRequest instance - */ - public IWorkbookFunctionsOct2BinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOct2BinRequest request = new WorkbookFunctionsOct2BinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequest.java deleted file mode 100644 index 2aadd2ea25b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOct2DecBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2DecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Dec Request. - */ -public class BaseWorkbookFunctionsOct2DecRequest extends BaseRequest implements IBaseWorkbookFunctionsOct2DecRequest { - protected final WorkbookFunctionsOct2DecBody body; - - /** - * The request for this WorkbookFunctionsOct2Dec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOct2DecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOct2DecBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOct2DecRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOct2DecRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOct2DecRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOct2DecRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOct2DecRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOct2DecRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequestBuilder.java deleted file mode 100644 index 676e6ec94df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2DecRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2DecRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Dec Request Builder. - */ -public class BaseWorkbookFunctionsOct2DecRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOct2Dec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsOct2DecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsOct2DecRequest - * - * @return the IWorkbookFunctionsOct2DecRequest instance - */ - public IWorkbookFunctionsOct2DecRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOct2DecRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOct2DecRequest instance - */ - public IWorkbookFunctionsOct2DecRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOct2DecRequest request = new WorkbookFunctionsOct2DecRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequest.java deleted file mode 100644 index e781d61ef5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOct2HexBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2HexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Hex Request. - */ -public class BaseWorkbookFunctionsOct2HexRequest extends BaseRequest implements IBaseWorkbookFunctionsOct2HexRequest { - protected final WorkbookFunctionsOct2HexBody body; - - /** - * The request for this WorkbookFunctionsOct2Hex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOct2HexRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOct2HexBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOct2HexRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOct2HexRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOct2HexRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOct2HexRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOct2HexRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOct2HexRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequestBuilder.java deleted file mode 100644 index 18c7ef7c573..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOct2HexRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2HexRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Oct2Hex Request Builder. - */ -public class BaseWorkbookFunctionsOct2HexRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOct2Hex - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param places the places - */ - public BaseWorkbookFunctionsOct2HexRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("places", places); - } - - /** - * Creates the IWorkbookFunctionsOct2HexRequest - * - * @return the IWorkbookFunctionsOct2HexRequest instance - */ - public IWorkbookFunctionsOct2HexRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOct2HexRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOct2HexRequest instance - */ - public IWorkbookFunctionsOct2HexRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOct2HexRequest request = new WorkbookFunctionsOct2HexRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("places")) { - request.body.places = getParameter("places"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequest.java deleted file mode 100644 index 04ff29d9d0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOddFPriceBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd FPrice Request. - */ -public class BaseWorkbookFunctionsOddFPriceRequest extends BaseRequest implements IBaseWorkbookFunctionsOddFPriceRequest { - protected final WorkbookFunctionsOddFPriceBody body; - - /** - * The request for this WorkbookFunctionsOddFPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOddFPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOddFPriceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOddFPriceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOddFPriceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOddFPriceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOddFPriceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOddFPriceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOddFPriceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequestBuilder.java deleted file mode 100644 index 0f31d7b8589..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFPriceRequestBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFPriceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd FPrice Request Builder. - */ -public class BaseWorkbookFunctionsOddFPriceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOddFPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param issue the issue - * @param firstCoupon the firstCoupon - * @param rate the rate - * @param yld the yld - * @param redemption the redemption - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsOddFPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("issue", issue); - bodyParams.put("firstCoupon", firstCoupon); - bodyParams.put("rate", rate); - bodyParams.put("yld", yld); - bodyParams.put("redemption", redemption); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsOddFPriceRequest - * - * @return the IWorkbookFunctionsOddFPriceRequest instance - */ - public IWorkbookFunctionsOddFPriceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOddFPriceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddFPriceRequest instance - */ - public IWorkbookFunctionsOddFPriceRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOddFPriceRequest request = new WorkbookFunctionsOddFPriceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("issue")) { - request.body.issue = getParameter("issue"); - } - - if (hasParameter("firstCoupon")) { - request.body.firstCoupon = getParameter("firstCoupon"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("yld")) { - request.body.yld = getParameter("yld"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequest.java deleted file mode 100644 index 3c8c8e5d08a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOddFYieldBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd FYield Request. - */ -public class BaseWorkbookFunctionsOddFYieldRequest extends BaseRequest implements IBaseWorkbookFunctionsOddFYieldRequest { - protected final WorkbookFunctionsOddFYieldBody body; - - /** - * The request for this WorkbookFunctionsOddFYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOddFYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOddFYieldBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOddFYieldRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOddFYieldRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOddFYieldRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOddFYieldRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOddFYieldRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOddFYieldRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequestBuilder.java deleted file mode 100644 index 6e71874980d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddFYieldRequestBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFYieldRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd FYield Request Builder. - */ -public class BaseWorkbookFunctionsOddFYieldRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOddFYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param issue the issue - * @param firstCoupon the firstCoupon - * @param rate the rate - * @param pr the pr - * @param redemption the redemption - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsOddFYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("issue", issue); - bodyParams.put("firstCoupon", firstCoupon); - bodyParams.put("rate", rate); - bodyParams.put("pr", pr); - bodyParams.put("redemption", redemption); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsOddFYieldRequest - * - * @return the IWorkbookFunctionsOddFYieldRequest instance - */ - public IWorkbookFunctionsOddFYieldRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOddFYieldRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddFYieldRequest instance - */ - public IWorkbookFunctionsOddFYieldRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOddFYieldRequest request = new WorkbookFunctionsOddFYieldRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("issue")) { - request.body.issue = getParameter("issue"); - } - - if (hasParameter("firstCoupon")) { - request.body.firstCoupon = getParameter("firstCoupon"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequest.java deleted file mode 100644 index b88cfe8c241..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOddLPriceBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd LPrice Request. - */ -public class BaseWorkbookFunctionsOddLPriceRequest extends BaseRequest implements IBaseWorkbookFunctionsOddLPriceRequest { - protected final WorkbookFunctionsOddLPriceBody body; - - /** - * The request for this WorkbookFunctionsOddLPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOddLPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOddLPriceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOddLPriceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOddLPriceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOddLPriceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOddLPriceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOddLPriceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOddLPriceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequestBuilder.java deleted file mode 100644 index d236f4fffee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLPriceRequestBuilder.java +++ /dev/null @@ -1,106 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLPriceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd LPrice Request Builder. - */ -public class BaseWorkbookFunctionsOddLPriceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOddLPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param lastInterest the lastInterest - * @param rate the rate - * @param yld the yld - * @param redemption the redemption - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsOddLPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("lastInterest", lastInterest); - bodyParams.put("rate", rate); - bodyParams.put("yld", yld); - bodyParams.put("redemption", redemption); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsOddLPriceRequest - * - * @return the IWorkbookFunctionsOddLPriceRequest instance - */ - public IWorkbookFunctionsOddLPriceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOddLPriceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddLPriceRequest instance - */ - public IWorkbookFunctionsOddLPriceRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOddLPriceRequest request = new WorkbookFunctionsOddLPriceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("lastInterest")) { - request.body.lastInterest = getParameter("lastInterest"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("yld")) { - request.body.yld = getParameter("yld"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequest.java deleted file mode 100644 index 9afea70c59d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOddLYieldBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd LYield Request. - */ -public class BaseWorkbookFunctionsOddLYieldRequest extends BaseRequest implements IBaseWorkbookFunctionsOddLYieldRequest { - protected final WorkbookFunctionsOddLYieldBody body; - - /** - * The request for this WorkbookFunctionsOddLYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOddLYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOddLYieldBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOddLYieldRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOddLYieldRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOddLYieldRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOddLYieldRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOddLYieldRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOddLYieldRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequestBuilder.java deleted file mode 100644 index c87fe3c474d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddLYieldRequestBuilder.java +++ /dev/null @@ -1,106 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLYieldRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd LYield Request Builder. - */ -public class BaseWorkbookFunctionsOddLYieldRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOddLYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param lastInterest the lastInterest - * @param rate the rate - * @param pr the pr - * @param redemption the redemption - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsOddLYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("lastInterest", lastInterest); - bodyParams.put("rate", rate); - bodyParams.put("pr", pr); - bodyParams.put("redemption", redemption); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsOddLYieldRequest - * - * @return the IWorkbookFunctionsOddLYieldRequest instance - */ - public IWorkbookFunctionsOddLYieldRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOddLYieldRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddLYieldRequest instance - */ - public IWorkbookFunctionsOddLYieldRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOddLYieldRequest request = new WorkbookFunctionsOddLYieldRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("lastInterest")) { - request.body.lastInterest = getParameter("lastInterest"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequest.java deleted file mode 100644 index feb702d7eed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOddBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd Request. - */ -public class BaseWorkbookFunctionsOddRequest extends BaseRequest implements IBaseWorkbookFunctionsOddRequest { - protected final WorkbookFunctionsOddBody body; - - /** - * The request for this WorkbookFunctionsOdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequestBuilder.java deleted file mode 100644 index ec03a94151e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOddRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Odd Request Builder. - */ -public class BaseWorkbookFunctionsOddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsOddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsOddRequest - * - * @return the IWorkbookFunctionsOddRequest instance - */ - public IWorkbookFunctionsOddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddRequest instance - */ - public IWorkbookFunctionsOddRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOddRequest request = new WorkbookFunctionsOddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequest.java deleted file mode 100644 index b48b8a6ca5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsOrBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Or Request. - */ -public class BaseWorkbookFunctionsOrRequest extends BaseRequest implements IBaseWorkbookFunctionsOrRequest { - protected final WorkbookFunctionsOrBody body; - - /** - * The request for this WorkbookFunctionsOr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsOrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsOrBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsOrRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsOrRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsOrRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsOrRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsOrRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsOrRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequestBuilder.java deleted file mode 100644 index e28da054bb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsOrRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOrRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Or Request Builder. - */ -public class BaseWorkbookFunctionsOrRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsOr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsOrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsOrRequest - * - * @return the IWorkbookFunctionsOrRequest instance - */ - public IWorkbookFunctionsOrRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsOrRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOrRequest instance - */ - public IWorkbookFunctionsOrRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsOrRequest request = new WorkbookFunctionsOrRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequest.java deleted file mode 100644 index d019a457c9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPdurationBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPdurationRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pduration Request. - */ -public class BaseWorkbookFunctionsPdurationRequest extends BaseRequest implements IBaseWorkbookFunctionsPdurationRequest { - protected final WorkbookFunctionsPdurationBody body; - - /** - * The request for this WorkbookFunctionsPduration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPdurationRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPdurationBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPdurationRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPdurationRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPdurationRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPdurationRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPdurationRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPdurationRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequestBuilder.java deleted file mode 100644 index 92e0d0f6b98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPdurationRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPdurationRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pduration Request Builder. - */ -public class BaseWorkbookFunctionsPdurationRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPduration - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param pv the pv - * @param fv the fv - */ - public BaseWorkbookFunctionsPdurationRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - } - - /** - * Creates the IWorkbookFunctionsPdurationRequest - * - * @return the IWorkbookFunctionsPdurationRequest instance - */ - public IWorkbookFunctionsPdurationRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPdurationRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPdurationRequest instance - */ - public IWorkbookFunctionsPdurationRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPdurationRequest request = new WorkbookFunctionsPdurationRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequest.java deleted file mode 100644 index 9590a6d6193..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentRank_ExcBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_ExcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percent Rank_Exc Request. - */ -public class BaseWorkbookFunctionsPercentRank_ExcRequest extends BaseRequest implements IBaseWorkbookFunctionsPercentRank_ExcRequest { - protected final WorkbookFunctionsPercentRank_ExcBody body; - - /** - * The request for this WorkbookFunctionsPercentRank_Exc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPercentRank_ExcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPercentRank_ExcBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPercentRank_ExcRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPercentRank_ExcRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPercentRank_ExcRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPercentRank_ExcRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPercentRank_ExcRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPercentRank_ExcRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java deleted file mode 100644 index a872d02981c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_ExcRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percent Rank_Exc Request Builder. - */ -public class BaseWorkbookFunctionsPercentRank_ExcRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPercentRank_Exc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param x the x - * @param significance the significance - */ - public BaseWorkbookFunctionsPercentRank_ExcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("x", x); - bodyParams.put("significance", significance); - } - - /** - * Creates the IWorkbookFunctionsPercentRank_ExcRequest - * - * @return the IWorkbookFunctionsPercentRank_ExcRequest instance - */ - public IWorkbookFunctionsPercentRank_ExcRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPercentRank_ExcRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentRank_ExcRequest instance - */ - public IWorkbookFunctionsPercentRank_ExcRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPercentRank_ExcRequest request = new WorkbookFunctionsPercentRank_ExcRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequest.java deleted file mode 100644 index 8ba25f449b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentRank_IncBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_IncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percent Rank_Inc Request. - */ -public class BaseWorkbookFunctionsPercentRank_IncRequest extends BaseRequest implements IBaseWorkbookFunctionsPercentRank_IncRequest { - protected final WorkbookFunctionsPercentRank_IncBody body; - - /** - * The request for this WorkbookFunctionsPercentRank_Inc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPercentRank_IncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPercentRank_IncBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPercentRank_IncRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPercentRank_IncRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPercentRank_IncRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPercentRank_IncRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPercentRank_IncRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPercentRank_IncRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequestBuilder.java deleted file mode 100644 index 8cadf82a072..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentRank_IncRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_IncRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percent Rank_Inc Request Builder. - */ -public class BaseWorkbookFunctionsPercentRank_IncRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPercentRank_Inc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param x the x - * @param significance the significance - */ - public BaseWorkbookFunctionsPercentRank_IncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("x", x); - bodyParams.put("significance", significance); - } - - /** - * Creates the IWorkbookFunctionsPercentRank_IncRequest - * - * @return the IWorkbookFunctionsPercentRank_IncRequest instance - */ - public IWorkbookFunctionsPercentRank_IncRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPercentRank_IncRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentRank_IncRequest instance - */ - public IWorkbookFunctionsPercentRank_IncRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPercentRank_IncRequest request = new WorkbookFunctionsPercentRank_IncRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("significance")) { - request.body.significance = getParameter("significance"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequest.java deleted file mode 100644 index b975745fd18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentile_ExcBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_ExcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percentile_Exc Request. - */ -public class BaseWorkbookFunctionsPercentile_ExcRequest extends BaseRequest implements IBaseWorkbookFunctionsPercentile_ExcRequest { - protected final WorkbookFunctionsPercentile_ExcBody body; - - /** - * The request for this WorkbookFunctionsPercentile_Exc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPercentile_ExcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPercentile_ExcBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPercentile_ExcRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPercentile_ExcRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPercentile_ExcRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPercentile_ExcRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPercentile_ExcRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPercentile_ExcRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequestBuilder.java deleted file mode 100644 index 43c2af56864..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_ExcRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_ExcRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percentile_Exc Request Builder. - */ -public class BaseWorkbookFunctionsPercentile_ExcRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPercentile_Exc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param k the k - */ - public BaseWorkbookFunctionsPercentile_ExcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("k", k); - } - - /** - * Creates the IWorkbookFunctionsPercentile_ExcRequest - * - * @return the IWorkbookFunctionsPercentile_ExcRequest instance - */ - public IWorkbookFunctionsPercentile_ExcRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPercentile_ExcRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentile_ExcRequest instance - */ - public IWorkbookFunctionsPercentile_ExcRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPercentile_ExcRequest request = new WorkbookFunctionsPercentile_ExcRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("k")) { - request.body.k = getParameter("k"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequest.java deleted file mode 100644 index 94faff07bb6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPercentile_IncBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_IncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percentile_Inc Request. - */ -public class BaseWorkbookFunctionsPercentile_IncRequest extends BaseRequest implements IBaseWorkbookFunctionsPercentile_IncRequest { - protected final WorkbookFunctionsPercentile_IncBody body; - - /** - * The request for this WorkbookFunctionsPercentile_Inc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPercentile_IncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPercentile_IncBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPercentile_IncRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPercentile_IncRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPercentile_IncRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPercentile_IncRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPercentile_IncRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPercentile_IncRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequestBuilder.java deleted file mode 100644 index 7ffe672a9ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPercentile_IncRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_IncRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Percentile_Inc Request Builder. - */ -public class BaseWorkbookFunctionsPercentile_IncRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPercentile_Inc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param k the k - */ - public BaseWorkbookFunctionsPercentile_IncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("k", k); - } - - /** - * Creates the IWorkbookFunctionsPercentile_IncRequest - * - * @return the IWorkbookFunctionsPercentile_IncRequest instance - */ - public IWorkbookFunctionsPercentile_IncRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPercentile_IncRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentile_IncRequest instance - */ - public IWorkbookFunctionsPercentile_IncRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPercentile_IncRequest request = new WorkbookFunctionsPercentile_IncRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("k")) { - request.body.k = getParameter("k"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequest.java deleted file mode 100644 index f1c1b7957e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPermutBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Permut Request. - */ -public class BaseWorkbookFunctionsPermutRequest extends BaseRequest implements IBaseWorkbookFunctionsPermutRequest { - protected final WorkbookFunctionsPermutBody body; - - /** - * The request for this WorkbookFunctionsPermut - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPermutRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPermutBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPermutRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPermutRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPermutRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPermutRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPermutRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPermutRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequestBuilder.java deleted file mode 100644 index 8ee01b24cbc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Permut Request Builder. - */ -public class BaseWorkbookFunctionsPermutRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPermut - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numberChosen the numberChosen - */ - public BaseWorkbookFunctionsPermutRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numberChosen", numberChosen); - } - - /** - * Creates the IWorkbookFunctionsPermutRequest - * - * @return the IWorkbookFunctionsPermutRequest instance - */ - public IWorkbookFunctionsPermutRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPermutRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPermutRequest instance - */ - public IWorkbookFunctionsPermutRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPermutRequest request = new WorkbookFunctionsPermutRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numberChosen")) { - request.body.numberChosen = getParameter("numberChosen"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequest.java deleted file mode 100644 index c546e666f70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPermutationaBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutationaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Permutationa Request. - */ -public class BaseWorkbookFunctionsPermutationaRequest extends BaseRequest implements IBaseWorkbookFunctionsPermutationaRequest { - protected final WorkbookFunctionsPermutationaBody body; - - /** - * The request for this WorkbookFunctionsPermutationa - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPermutationaRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPermutationaBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPermutationaRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPermutationaRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPermutationaRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPermutationaRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPermutationaRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPermutationaRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequestBuilder.java deleted file mode 100644 index d4e4a4918fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPermutationaRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutationaRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Permutationa Request Builder. - */ -public class BaseWorkbookFunctionsPermutationaRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPermutationa - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numberChosen the numberChosen - */ - public BaseWorkbookFunctionsPermutationaRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numberChosen", numberChosen); - } - - /** - * Creates the IWorkbookFunctionsPermutationaRequest - * - * @return the IWorkbookFunctionsPermutationaRequest instance - */ - public IWorkbookFunctionsPermutationaRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPermutationaRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPermutationaRequest instance - */ - public IWorkbookFunctionsPermutationaRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPermutationaRequest request = new WorkbookFunctionsPermutationaRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numberChosen")) { - request.body.numberChosen = getParameter("numberChosen"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequest.java deleted file mode 100644 index 6732c298a51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPhiBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPhiRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Phi Request. - */ -public class BaseWorkbookFunctionsPhiRequest extends BaseRequest implements IBaseWorkbookFunctionsPhiRequest { - protected final WorkbookFunctionsPhiBody body; - - /** - * The request for this WorkbookFunctionsPhi - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPhiRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPhiBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPhiRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPhiRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPhiRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPhiRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPhiRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPhiRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequestBuilder.java deleted file mode 100644 index a3eade04911..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPhiRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPhiRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Phi Request Builder. - */ -public class BaseWorkbookFunctionsPhiRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPhi - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - */ - public BaseWorkbookFunctionsPhiRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - } - - /** - * Creates the IWorkbookFunctionsPhiRequest - * - * @return the IWorkbookFunctionsPhiRequest instance - */ - public IWorkbookFunctionsPhiRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPhiRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPhiRequest instance - */ - public IWorkbookFunctionsPhiRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPhiRequest request = new WorkbookFunctionsPhiRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequest.java deleted file mode 100644 index f1465bc8c2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPiRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pi Request. - */ -public class BaseWorkbookFunctionsPiRequest extends BaseRequest implements IBaseWorkbookFunctionsPiRequest { - - /** - * The request for this WorkbookFunctionsPi - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPiRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsPi - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsPi - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPiRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPiRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPiRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPiRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequestBuilder.java deleted file mode 100644 index b3a2280d525..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPiRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPiRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pi Request Builder. - */ -public class BaseWorkbookFunctionsPiRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPi - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPiRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsPiRequest - * - * @return the IWorkbookFunctionsPiRequest instance - */ - public IWorkbookFunctionsPiRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPiRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPiRequest instance - */ - public IWorkbookFunctionsPiRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPiRequest request = new WorkbookFunctionsPiRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequest.java deleted file mode 100644 index fef20f39b31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPmtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pmt Request. - */ -public class BaseWorkbookFunctionsPmtRequest extends BaseRequest implements IBaseWorkbookFunctionsPmtRequest { - protected final WorkbookFunctionsPmtBody body; - - /** - * The request for this WorkbookFunctionsPmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPmtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPmtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPmtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPmtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPmtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPmtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPmtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequestBuilder.java deleted file mode 100644 index 5a9216d3f62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPmtRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPmtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pmt Request Builder. - */ -public class BaseWorkbookFunctionsPmtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param nper the nper - * @param pv the pv - * @param fv the fv - * @param type the type - */ - public BaseWorkbookFunctionsPmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsPmtRequest - * - * @return the IWorkbookFunctionsPmtRequest instance - */ - public IWorkbookFunctionsPmtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPmtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPmtRequest instance - */ - public IWorkbookFunctionsPmtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPmtRequest request = new WorkbookFunctionsPmtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequest.java deleted file mode 100644 index 4afe552e038..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPoisson_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPoisson_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Poisson_Dist Request. - */ -public class BaseWorkbookFunctionsPoisson_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsPoisson_DistRequest { - protected final WorkbookFunctionsPoisson_DistBody body; - - /** - * The request for this WorkbookFunctionsPoisson_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPoisson_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPoisson_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPoisson_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPoisson_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPoisson_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPoisson_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPoisson_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPoisson_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequestBuilder.java deleted file mode 100644 index d2debd460ff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPoisson_DistRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPoisson_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Poisson_Dist Request Builder. - */ -public class BaseWorkbookFunctionsPoisson_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPoisson_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param mean the mean - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsPoisson_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("mean", mean); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsPoisson_DistRequest - * - * @return the IWorkbookFunctionsPoisson_DistRequest instance - */ - public IWorkbookFunctionsPoisson_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPoisson_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPoisson_DistRequest instance - */ - public IWorkbookFunctionsPoisson_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPoisson_DistRequest request = new WorkbookFunctionsPoisson_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("mean")) { - request.body.mean = getParameter("mean"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequest.java deleted file mode 100644 index bbb5bb63514..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPowerBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPowerRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Power Request. - */ -public class BaseWorkbookFunctionsPowerRequest extends BaseRequest implements IBaseWorkbookFunctionsPowerRequest { - protected final WorkbookFunctionsPowerBody body; - - /** - * The request for this WorkbookFunctionsPower - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPowerRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPowerBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPowerRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPowerRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPowerRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPowerRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPowerRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPowerRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequestBuilder.java deleted file mode 100644 index eed788a7e81..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPowerRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPowerRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Power Request Builder. - */ -public class BaseWorkbookFunctionsPowerRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPower - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param power the power - */ - public BaseWorkbookFunctionsPowerRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement power) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("power", power); - } - - /** - * Creates the IWorkbookFunctionsPowerRequest - * - * @return the IWorkbookFunctionsPowerRequest instance - */ - public IWorkbookFunctionsPowerRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPowerRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPowerRequest instance - */ - public IWorkbookFunctionsPowerRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPowerRequest request = new WorkbookFunctionsPowerRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("power")) { - request.body.power = getParameter("power"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequest.java deleted file mode 100644 index 874dd3fa1a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPpmtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPpmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ppmt Request. - */ -public class BaseWorkbookFunctionsPpmtRequest extends BaseRequest implements IBaseWorkbookFunctionsPpmtRequest { - protected final WorkbookFunctionsPpmtBody body; - - /** - * The request for this WorkbookFunctionsPpmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPpmtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPpmtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPpmtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPpmtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPpmtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPpmtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPpmtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPpmtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequestBuilder.java deleted file mode 100644 index cc0db4863d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPpmtRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPpmtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Ppmt Request Builder. - */ -public class BaseWorkbookFunctionsPpmtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPpmt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param per the per - * @param nper the nper - * @param pv the pv - * @param fv the fv - * @param type the type - */ - public BaseWorkbookFunctionsPpmtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("per", per); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsPpmtRequest - * - * @return the IWorkbookFunctionsPpmtRequest instance - */ - public IWorkbookFunctionsPpmtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPpmtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPpmtRequest instance - */ - public IWorkbookFunctionsPpmtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPpmtRequest request = new WorkbookFunctionsPpmtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("per")) { - request.body.per = getParameter("per"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequest.java deleted file mode 100644 index baf027bd27c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPriceDiscBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceDiscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Disc Request. - */ -public class BaseWorkbookFunctionsPriceDiscRequest extends BaseRequest implements IBaseWorkbookFunctionsPriceDiscRequest { - protected final WorkbookFunctionsPriceDiscBody body; - - /** - * The request for this WorkbookFunctionsPriceDisc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPriceDiscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPriceDiscBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPriceDiscRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPriceDiscRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPriceDiscRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPriceDiscRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPriceDiscRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPriceDiscRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequestBuilder.java deleted file mode 100644 index adec19ced6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceDiscRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceDiscRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Disc Request Builder. - */ -public class BaseWorkbookFunctionsPriceDiscRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPriceDisc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param discount the discount - * @param redemption the redemption - * @param basis the basis - */ - public BaseWorkbookFunctionsPriceDiscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("discount", discount); - bodyParams.put("redemption", redemption); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsPriceDiscRequest - * - * @return the IWorkbookFunctionsPriceDiscRequest instance - */ - public IWorkbookFunctionsPriceDiscRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPriceDiscRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPriceDiscRequest instance - */ - public IWorkbookFunctionsPriceDiscRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPriceDiscRequest request = new WorkbookFunctionsPriceDiscRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("discount")) { - request.body.discount = getParameter("discount"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequest.java deleted file mode 100644 index d3e8ccdd707..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPriceMatBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceMatRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Mat Request. - */ -public class BaseWorkbookFunctionsPriceMatRequest extends BaseRequest implements IBaseWorkbookFunctionsPriceMatRequest { - protected final WorkbookFunctionsPriceMatBody body; - - /** - * The request for this WorkbookFunctionsPriceMat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPriceMatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPriceMatBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPriceMatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPriceMatRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPriceMatRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPriceMatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPriceMatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPriceMatRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequestBuilder.java deleted file mode 100644 index a579fb37bdc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceMatRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceMatRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Mat Request Builder. - */ -public class BaseWorkbookFunctionsPriceMatRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPriceMat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param issue the issue - * @param rate the rate - * @param yld the yld - * @param basis the basis - */ - public BaseWorkbookFunctionsPriceMatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("issue", issue); - bodyParams.put("rate", rate); - bodyParams.put("yld", yld); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsPriceMatRequest - * - * @return the IWorkbookFunctionsPriceMatRequest instance - */ - public IWorkbookFunctionsPriceMatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPriceMatRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPriceMatRequest instance - */ - public IWorkbookFunctionsPriceMatRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPriceMatRequest request = new WorkbookFunctionsPriceMatRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("issue")) { - request.body.issue = getParameter("issue"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("yld")) { - request.body.yld = getParameter("yld"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequest.java deleted file mode 100644 index 792baa9e06c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPriceBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Request. - */ -public class BaseWorkbookFunctionsPriceRequest extends BaseRequest implements IBaseWorkbookFunctionsPriceRequest { - protected final WorkbookFunctionsPriceBody body; - - /** - * The request for this WorkbookFunctionsPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPriceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPriceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPriceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPriceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPriceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPriceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPriceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequestBuilder.java deleted file mode 100644 index 90e9a82cb1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPriceRequestBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Price Request Builder. - */ -public class BaseWorkbookFunctionsPriceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param rate the rate - * @param yld the yld - * @param redemption the redemption - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("rate", rate); - bodyParams.put("yld", yld); - bodyParams.put("redemption", redemption); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsPriceRequest - * - * @return the IWorkbookFunctionsPriceRequest instance - */ - public IWorkbookFunctionsPriceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPriceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPriceRequest instance - */ - public IWorkbookFunctionsPriceRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPriceRequest request = new WorkbookFunctionsPriceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("yld")) { - request.body.yld = getParameter("yld"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequest.java deleted file mode 100644 index c4bd39cd6b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsProductBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsProductRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Product Request. - */ -public class BaseWorkbookFunctionsProductRequest extends BaseRequest implements IBaseWorkbookFunctionsProductRequest { - protected final WorkbookFunctionsProductBody body; - - /** - * The request for this WorkbookFunctionsProduct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsProductRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsProductBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsProductRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsProductRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsProductRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsProductRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsProductRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsProductRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequestBuilder.java deleted file mode 100644 index 4714fa0ce57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProductRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsProductRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Product Request Builder. - */ -public class BaseWorkbookFunctionsProductRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsProduct - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsProductRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsProductRequest - * - * @return the IWorkbookFunctionsProductRequest instance - */ - public IWorkbookFunctionsProductRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsProductRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsProductRequest instance - */ - public IWorkbookFunctionsProductRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsProductRequest request = new WorkbookFunctionsProductRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequest.java deleted file mode 100644 index ce4f47ccb4c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsProperBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsProperRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Proper Request. - */ -public class BaseWorkbookFunctionsProperRequest extends BaseRequest implements IBaseWorkbookFunctionsProperRequest { - protected final WorkbookFunctionsProperBody body; - - /** - * The request for this WorkbookFunctionsProper - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsProperRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsProperBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsProperRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsProperRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsProperRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsProperRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsProperRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsProperRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequestBuilder.java deleted file mode 100644 index 775263e2dcb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsProperRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsProperRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Proper Request Builder. - */ -public class BaseWorkbookFunctionsProperRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsProper - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsProperRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsProperRequest - * - * @return the IWorkbookFunctionsProperRequest instance - */ - public IWorkbookFunctionsProperRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsProperRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsProperRequest instance - */ - public IWorkbookFunctionsProperRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsProperRequest request = new WorkbookFunctionsProperRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequest.java deleted file mode 100644 index c120d2ecae2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsPvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pv Request. - */ -public class BaseWorkbookFunctionsPvRequest extends BaseRequest implements IBaseWorkbookFunctionsPvRequest { - protected final WorkbookFunctionsPvBody body; - - /** - * The request for this WorkbookFunctionsPv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsPvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsPvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsPvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsPvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsPvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsPvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsPvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsPvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequestBuilder.java deleted file mode 100644 index 0b6759f999b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsPvRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Pv Request Builder. - */ -public class BaseWorkbookFunctionsPvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsPv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param nper the nper - * @param pmt the pmt - * @param fv the fv - * @param type the type - */ - public BaseWorkbookFunctionsPvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("nper", nper); - bodyParams.put("pmt", pmt); - bodyParams.put("fv", fv); - bodyParams.put("type", type); - } - - /** - * Creates the IWorkbookFunctionsPvRequest - * - * @return the IWorkbookFunctionsPvRequest instance - */ - public IWorkbookFunctionsPvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsPvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPvRequest instance - */ - public IWorkbookFunctionsPvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsPvRequest request = new WorkbookFunctionsPvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pmt")) { - request.body.pmt = getParameter("pmt"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequest.java deleted file mode 100644 index 29de8927c68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsQuartile_ExcBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_ExcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quartile_Exc Request. - */ -public class BaseWorkbookFunctionsQuartile_ExcRequest extends BaseRequest implements IBaseWorkbookFunctionsQuartile_ExcRequest { - protected final WorkbookFunctionsQuartile_ExcBody body; - - /** - * The request for this WorkbookFunctionsQuartile_Exc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsQuartile_ExcRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsQuartile_ExcBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsQuartile_ExcRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsQuartile_ExcRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsQuartile_ExcRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsQuartile_ExcRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsQuartile_ExcRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsQuartile_ExcRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequestBuilder.java deleted file mode 100644 index 96ff62e21bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_ExcRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_ExcRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quartile_Exc Request Builder. - */ -public class BaseWorkbookFunctionsQuartile_ExcRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsQuartile_Exc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param quart the quart - */ - public BaseWorkbookFunctionsQuartile_ExcRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("quart", quart); - } - - /** - * Creates the IWorkbookFunctionsQuartile_ExcRequest - * - * @return the IWorkbookFunctionsQuartile_ExcRequest instance - */ - public IWorkbookFunctionsQuartile_ExcRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsQuartile_ExcRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsQuartile_ExcRequest instance - */ - public IWorkbookFunctionsQuartile_ExcRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsQuartile_ExcRequest request = new WorkbookFunctionsQuartile_ExcRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("quart")) { - request.body.quart = getParameter("quart"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequest.java deleted file mode 100644 index 4680bf97d9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsQuartile_IncBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_IncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quartile_Inc Request. - */ -public class BaseWorkbookFunctionsQuartile_IncRequest extends BaseRequest implements IBaseWorkbookFunctionsQuartile_IncRequest { - protected final WorkbookFunctionsQuartile_IncBody body; - - /** - * The request for this WorkbookFunctionsQuartile_Inc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsQuartile_IncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsQuartile_IncBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsQuartile_IncRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsQuartile_IncRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsQuartile_IncRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsQuartile_IncRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsQuartile_IncRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsQuartile_IncRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequestBuilder.java deleted file mode 100644 index 36b3e389879..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuartile_IncRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_IncRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quartile_Inc Request Builder. - */ -public class BaseWorkbookFunctionsQuartile_IncRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsQuartile_Inc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param quart the quart - */ - public BaseWorkbookFunctionsQuartile_IncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("quart", quart); - } - - /** - * Creates the IWorkbookFunctionsQuartile_IncRequest - * - * @return the IWorkbookFunctionsQuartile_IncRequest instance - */ - public IWorkbookFunctionsQuartile_IncRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsQuartile_IncRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsQuartile_IncRequest instance - */ - public IWorkbookFunctionsQuartile_IncRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsQuartile_IncRequest request = new WorkbookFunctionsQuartile_IncRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("quart")) { - request.body.quart = getParameter("quart"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequest.java deleted file mode 100644 index f8bae13605a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsQuotientBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuotientRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quotient Request. - */ -public class BaseWorkbookFunctionsQuotientRequest extends BaseRequest implements IBaseWorkbookFunctionsQuotientRequest { - protected final WorkbookFunctionsQuotientBody body; - - /** - * The request for this WorkbookFunctionsQuotient - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsQuotientRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsQuotientBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsQuotientRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsQuotientRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsQuotientRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsQuotientRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsQuotientRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsQuotientRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequestBuilder.java deleted file mode 100644 index cf07d4be2d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsQuotientRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuotientRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Quotient Request Builder. - */ -public class BaseWorkbookFunctionsQuotientRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsQuotient - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param numerator the numerator - * @param denominator the denominator - */ - public BaseWorkbookFunctionsQuotientRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement numerator, final com.google.gson.JsonElement denominator) { - super(requestUrl, client, requestOptions); - bodyParams.put("numerator", numerator); - bodyParams.put("denominator", denominator); - } - - /** - * Creates the IWorkbookFunctionsQuotientRequest - * - * @return the IWorkbookFunctionsQuotientRequest instance - */ - public IWorkbookFunctionsQuotientRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsQuotientRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsQuotientRequest instance - */ - public IWorkbookFunctionsQuotientRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsQuotientRequest request = new WorkbookFunctionsQuotientRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("numerator")) { - request.body.numerator = getParameter("numerator"); - } - - if (hasParameter("denominator")) { - request.body.denominator = getParameter("denominator"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequest.java deleted file mode 100644 index bcdc9ccbb54..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRadiansBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRadiansRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Radians Request. - */ -public class BaseWorkbookFunctionsRadiansRequest extends BaseRequest implements IBaseWorkbookFunctionsRadiansRequest { - protected final WorkbookFunctionsRadiansBody body; - - /** - * The request for this WorkbookFunctionsRadians - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRadiansRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRadiansBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRadiansRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRadiansRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRadiansRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRadiansRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRadiansRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRadiansRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequestBuilder.java deleted file mode 100644 index 3ee78e372a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRadiansRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRadiansRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Radians Request Builder. - */ -public class BaseWorkbookFunctionsRadiansRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRadians - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param angle the angle - */ - public BaseWorkbookFunctionsRadiansRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement angle) { - super(requestUrl, client, requestOptions); - bodyParams.put("angle", angle); - } - - /** - * Creates the IWorkbookFunctionsRadiansRequest - * - * @return the IWorkbookFunctionsRadiansRequest instance - */ - public IWorkbookFunctionsRadiansRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRadiansRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRadiansRequest instance - */ - public IWorkbookFunctionsRadiansRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRadiansRequest request = new WorkbookFunctionsRadiansRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("angle")) { - request.body.angle = getParameter("angle"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequest.java deleted file mode 100644 index 52ec7018c38..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRandBetweenBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandBetweenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rand Between Request. - */ -public class BaseWorkbookFunctionsRandBetweenRequest extends BaseRequest implements IBaseWorkbookFunctionsRandBetweenRequest { - protected final WorkbookFunctionsRandBetweenBody body; - - /** - * The request for this WorkbookFunctionsRandBetween - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRandBetweenRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRandBetweenBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRandBetweenRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRandBetweenRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRandBetweenRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRandBetweenRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRandBetweenRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRandBetweenRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequestBuilder.java deleted file mode 100644 index 89f32a2f966..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandBetweenRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandBetweenRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rand Between Request Builder. - */ -public class BaseWorkbookFunctionsRandBetweenRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRandBetween - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param bottom the bottom - * @param top the top - */ - public BaseWorkbookFunctionsRandBetweenRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement bottom, final com.google.gson.JsonElement top) { - super(requestUrl, client, requestOptions); - bodyParams.put("bottom", bottom); - bodyParams.put("top", top); - } - - /** - * Creates the IWorkbookFunctionsRandBetweenRequest - * - * @return the IWorkbookFunctionsRandBetweenRequest instance - */ - public IWorkbookFunctionsRandBetweenRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRandBetweenRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRandBetweenRequest instance - */ - public IWorkbookFunctionsRandBetweenRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRandBetweenRequest request = new WorkbookFunctionsRandBetweenRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("bottom")) { - request.body.bottom = getParameter("bottom"); - } - - if (hasParameter("top")) { - request.body.top = getParameter("top"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequest.java deleted file mode 100644 index 4dfc2cbf5e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rand Request. - */ -public class BaseWorkbookFunctionsRandRequest extends BaseRequest implements IBaseWorkbookFunctionsRandRequest { - - /** - * The request for this WorkbookFunctionsRand - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRandRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsRand - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsRand - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRandRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRandRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRandRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRandRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequestBuilder.java deleted file mode 100644 index bc8403558ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRandRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rand Request Builder. - */ -public class BaseWorkbookFunctionsRandRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRand - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRandRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsRandRequest - * - * @return the IWorkbookFunctionsRandRequest instance - */ - public IWorkbookFunctionsRandRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRandRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRandRequest instance - */ - public IWorkbookFunctionsRandRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRandRequest request = new WorkbookFunctionsRandRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequest.java deleted file mode 100644 index 9256a0257f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRank_AvgBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_AvgRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rank_Avg Request. - */ -public class BaseWorkbookFunctionsRank_AvgRequest extends BaseRequest implements IBaseWorkbookFunctionsRank_AvgRequest { - protected final WorkbookFunctionsRank_AvgBody body; - - /** - * The request for this WorkbookFunctionsRank_Avg - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRank_AvgRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRank_AvgBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRank_AvgRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRank_AvgRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRank_AvgRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRank_AvgRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRank_AvgRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRank_AvgRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequestBuilder.java deleted file mode 100644 index 0f2bcf2e637..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_AvgRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_AvgRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rank_Avg Request Builder. - */ -public class BaseWorkbookFunctionsRank_AvgRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRank_Avg - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param ref the ref - * @param order the order - */ - public BaseWorkbookFunctionsRank_AvgRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("ref", ref); - bodyParams.put("order", order); - } - - /** - * Creates the IWorkbookFunctionsRank_AvgRequest - * - * @return the IWorkbookFunctionsRank_AvgRequest instance - */ - public IWorkbookFunctionsRank_AvgRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRank_AvgRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRank_AvgRequest instance - */ - public IWorkbookFunctionsRank_AvgRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRank_AvgRequest request = new WorkbookFunctionsRank_AvgRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("ref")) { - request.body.ref = getParameter("ref"); - } - - if (hasParameter("order")) { - request.body.order = getParameter("order"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequest.java deleted file mode 100644 index 8304a2a5486..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRank_EqBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_EqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rank_Eq Request. - */ -public class BaseWorkbookFunctionsRank_EqRequest extends BaseRequest implements IBaseWorkbookFunctionsRank_EqRequest { - protected final WorkbookFunctionsRank_EqBody body; - - /** - * The request for this WorkbookFunctionsRank_Eq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRank_EqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRank_EqBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRank_EqRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRank_EqRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRank_EqRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRank_EqRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRank_EqRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRank_EqRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequestBuilder.java deleted file mode 100644 index 3c94c9762be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRank_EqRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_EqRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rank_Eq Request Builder. - */ -public class BaseWorkbookFunctionsRank_EqRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRank_Eq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param ref the ref - * @param order the order - */ - public BaseWorkbookFunctionsRank_EqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("ref", ref); - bodyParams.put("order", order); - } - - /** - * Creates the IWorkbookFunctionsRank_EqRequest - * - * @return the IWorkbookFunctionsRank_EqRequest instance - */ - public IWorkbookFunctionsRank_EqRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRank_EqRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRank_EqRequest instance - */ - public IWorkbookFunctionsRank_EqRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRank_EqRequest request = new WorkbookFunctionsRank_EqRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("ref")) { - request.body.ref = getParameter("ref"); - } - - if (hasParameter("order")) { - request.body.order = getParameter("order"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequest.java deleted file mode 100644 index e919350b558..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRateBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rate Request. - */ -public class BaseWorkbookFunctionsRateRequest extends BaseRequest implements IBaseWorkbookFunctionsRateRequest { - protected final WorkbookFunctionsRateBody body; - - /** - * The request for this WorkbookFunctionsRate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRateRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRateBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRateRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRateRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRateRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRateRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRateRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRateRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequestBuilder.java deleted file mode 100644 index df8c9c0439e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRateRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRateRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rate Request Builder. - */ -public class BaseWorkbookFunctionsRateRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRate - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param nper the nper - * @param pmt the pmt - * @param pv the pv - * @param fv the fv - * @param type the type - * @param guess the guess - */ - public BaseWorkbookFunctionsRateRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type, final com.google.gson.JsonElement guess) { - super(requestUrl, client, requestOptions); - bodyParams.put("nper", nper); - bodyParams.put("pmt", pmt); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - bodyParams.put("type", type); - bodyParams.put("guess", guess); - } - - /** - * Creates the IWorkbookFunctionsRateRequest - * - * @return the IWorkbookFunctionsRateRequest instance - */ - public IWorkbookFunctionsRateRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRateRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRateRequest instance - */ - public IWorkbookFunctionsRateRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRateRequest request = new WorkbookFunctionsRateRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pmt")) { - request.body.pmt = getParameter("pmt"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - if (hasParameter("type")) { - request.body.type = getParameter("type"); - } - - if (hasParameter("guess")) { - request.body.guess = getParameter("guess"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequest.java deleted file mode 100644 index d9188ec8eb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsReceivedBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReceivedRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Received Request. - */ -public class BaseWorkbookFunctionsReceivedRequest extends BaseRequest implements IBaseWorkbookFunctionsReceivedRequest { - protected final WorkbookFunctionsReceivedBody body; - - /** - * The request for this WorkbookFunctionsReceived - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsReceivedRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsReceivedBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsReceivedRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsReceivedRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsReceivedRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsReceivedRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsReceivedRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsReceivedRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequestBuilder.java deleted file mode 100644 index 478443015b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReceivedRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReceivedRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Received Request Builder. - */ -public class BaseWorkbookFunctionsReceivedRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsReceived - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param investment the investment - * @param discount the discount - * @param basis the basis - */ - public BaseWorkbookFunctionsReceivedRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("investment", investment); - bodyParams.put("discount", discount); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsReceivedRequest - * - * @return the IWorkbookFunctionsReceivedRequest instance - */ - public IWorkbookFunctionsReceivedRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsReceivedRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReceivedRequest instance - */ - public IWorkbookFunctionsReceivedRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsReceivedRequest request = new WorkbookFunctionsReceivedRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("investment")) { - request.body.investment = getParameter("investment"); - } - - if (hasParameter("discount")) { - request.body.discount = getParameter("discount"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequest.java deleted file mode 100644 index 0952c86278a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsReplaceBBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceBRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Replace BRequest. - */ -public class BaseWorkbookFunctionsReplaceBRequest extends BaseRequest implements IBaseWorkbookFunctionsReplaceBRequest { - protected final WorkbookFunctionsReplaceBBody body; - - /** - * The request for this WorkbookFunctionsReplaceB - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsReplaceBRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsReplaceBBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsReplaceBRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsReplaceBRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsReplaceBRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsReplaceBRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsReplaceBRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsReplaceBRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequestBuilder.java deleted file mode 100644 index c625ad94b8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceBRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceBRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Replace BRequest Builder. - */ -public class BaseWorkbookFunctionsReplaceBRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsReplaceB - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param oldText the oldText - * @param startNum the startNum - * @param numBytes the numBytes - * @param newText the newText - */ - public BaseWorkbookFunctionsReplaceBRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes, final com.google.gson.JsonElement newText) { - super(requestUrl, client, requestOptions); - bodyParams.put("oldText", oldText); - bodyParams.put("startNum", startNum); - bodyParams.put("numBytes", numBytes); - bodyParams.put("newText", newText); - } - - /** - * Creates the IWorkbookFunctionsReplaceBRequest - * - * @return the IWorkbookFunctionsReplaceBRequest instance - */ - public IWorkbookFunctionsReplaceBRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsReplaceBRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReplaceBRequest instance - */ - public IWorkbookFunctionsReplaceBRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsReplaceBRequest request = new WorkbookFunctionsReplaceBRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("oldText")) { - request.body.oldText = getParameter("oldText"); - } - - if (hasParameter("startNum")) { - request.body.startNum = getParameter("startNum"); - } - - if (hasParameter("numBytes")) { - request.body.numBytes = getParameter("numBytes"); - } - - if (hasParameter("newText")) { - request.body.newText = getParameter("newText"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequest.java deleted file mode 100644 index acc9e8ad06e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsReplaceBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Replace Request. - */ -public class BaseWorkbookFunctionsReplaceRequest extends BaseRequest implements IBaseWorkbookFunctionsReplaceRequest { - protected final WorkbookFunctionsReplaceBody body; - - /** - * The request for this WorkbookFunctionsReplace - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsReplaceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsReplaceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsReplaceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsReplaceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsReplaceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsReplaceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsReplaceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsReplaceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequestBuilder.java deleted file mode 100644 index b56d702955e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReplaceRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Replace Request Builder. - */ -public class BaseWorkbookFunctionsReplaceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsReplace - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param oldText the oldText - * @param startNum the startNum - * @param numChars the numChars - * @param newText the newText - */ - public BaseWorkbookFunctionsReplaceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars, final com.google.gson.JsonElement newText) { - super(requestUrl, client, requestOptions); - bodyParams.put("oldText", oldText); - bodyParams.put("startNum", startNum); - bodyParams.put("numChars", numChars); - bodyParams.put("newText", newText); - } - - /** - * Creates the IWorkbookFunctionsReplaceRequest - * - * @return the IWorkbookFunctionsReplaceRequest instance - */ - public IWorkbookFunctionsReplaceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsReplaceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReplaceRequest instance - */ - public IWorkbookFunctionsReplaceRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsReplaceRequest request = new WorkbookFunctionsReplaceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("oldText")) { - request.body.oldText = getParameter("oldText"); - } - - if (hasParameter("startNum")) { - request.body.startNum = getParameter("startNum"); - } - - if (hasParameter("numChars")) { - request.body.numChars = getParameter("numChars"); - } - - if (hasParameter("newText")) { - request.body.newText = getParameter("newText"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequest.java deleted file mode 100644 index 76f38c9780f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsReptBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReptRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rept Request. - */ -public class BaseWorkbookFunctionsReptRequest extends BaseRequest implements IBaseWorkbookFunctionsReptRequest { - protected final WorkbookFunctionsReptBody body; - - /** - * The request for this WorkbookFunctionsRept - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsReptRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsReptBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsReptRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsReptRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsReptRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsReptRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsReptRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsReptRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequestBuilder.java deleted file mode 100644 index bec558b9448..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsReptRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReptRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rept Request Builder. - */ -public class BaseWorkbookFunctionsReptRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRept - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param numberTimes the numberTimes - */ - public BaseWorkbookFunctionsReptRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numberTimes) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("numberTimes", numberTimes); - } - - /** - * Creates the IWorkbookFunctionsReptRequest - * - * @return the IWorkbookFunctionsReptRequest instance - */ - public IWorkbookFunctionsReptRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsReptRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReptRequest instance - */ - public IWorkbookFunctionsReptRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsReptRequest request = new WorkbookFunctionsReptRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("numberTimes")) { - request.body.numberTimes = getParameter("numberTimes"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequest.java deleted file mode 100644 index 220528d290f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRequest; -import com.microsoft.graph.models.extensions.WorkbookFunctions; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Request. - */ -public class BaseWorkbookFunctionsRequest extends BaseRequest implements IBaseWorkbookFunctionsRequest { - - /** - * The request for the WorkbookFunctions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookFunctionsRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookFunctions from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookFunctions from the service - * - * @return the WorkbookFunctions from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFunctions get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookFunctions with a source - * - * @param sourceWorkbookFunctions the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookFunctions sourceWorkbookFunctions, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookFunctions); - } - - /** - * Patches this WorkbookFunctions with a source - * - * @param sourceWorkbookFunctions the source object with updates - * @return the updated WorkbookFunctions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFunctions patch(final WorkbookFunctions sourceWorkbookFunctions) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookFunctions); - } - - /** - * Creates a WorkbookFunctions with a new object - * - * @param newWorkbookFunctions the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookFunctions newWorkbookFunctions, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookFunctions); - } - - /** - * Creates a WorkbookFunctions with a new object - * - * @param newWorkbookFunctions the new object to create - * @return the created WorkbookFunctions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookFunctions post(final WorkbookFunctions newWorkbookFunctions) throws ClientException { - return send(HttpMethod.POST, newWorkbookFunctions); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequestBuilder.java deleted file mode 100644 index 453f419396f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRequestBuilder.java +++ /dev/null @@ -1,2248 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRequest; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAbsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAccrIntMRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcosRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcoshRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAcothRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorDegrcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAmorLincRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAndRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsArabicRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAreasRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAsinhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2RequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtan2RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAtanhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAveDevRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsAverageIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBahtTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBaseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselIRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselJRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselKRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBesselYRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBeta_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBin2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_Dist_RangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBinom_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitandRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitlshiftRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitrshiftRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsBitxorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_MathRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCeiling_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCharRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChiSq_Inv_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsChooseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCleanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsColumnsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCombinaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsComplexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConcatenateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_NormRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConfidence_TRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsConvertRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCosRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoshRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCothRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountBlankRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCountIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDayBsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupDaysNcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNcdRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupNumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCoupPcdRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCschRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumIPmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsCumPrincRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaverageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDcountARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDgetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDmaxRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDminRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDproductRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDstDevPRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDsumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDvarPRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDatevalueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360RequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDays360RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDbcsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDdbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDec2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDecimalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDegreesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDeltaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDevSqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarDeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDollarFrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsDurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEcma_CeilingRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEdateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEffectRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEoMonthRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfCRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErfC_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsErf_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsError_TypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsEvenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExactRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsExpon_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvscheduleRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsF_Inv_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFactDoubleRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFalseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFindBRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFisherInvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFixedRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_MathRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFloor_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsFvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGammaLn_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGamma_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGaussRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGcdRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeStepRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsGeoMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHlookupRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHarMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHex2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHourRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHypGeom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsHyperlinkRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIso_CeilingRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImAbsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImArgumentRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImConjugateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCosRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCoshRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImCschRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImDivRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImExpRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10RequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog10RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2RequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImLog2RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImPowerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImProductRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImRealRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSechRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSinhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSqrtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSubRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImSumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImTanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsImaginaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIntRateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIpmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIrrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsErrorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsEvenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsFormulaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsLogicalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNonTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsNumberRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsOddRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsoWeekNumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIspmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsIsrefRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsKurtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLargeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLcmRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLeftbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLenbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10RequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLog10RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLogNorm_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLookupRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsLowerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMdurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMirrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMroundRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMatchRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMaxARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMedianRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMidbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMinuteRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsModRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMonthRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsMultiNomialRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNperRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNegBinom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNetworkDays_IntlRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNominalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNorm_S_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNpvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsNumberValueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOct2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddFYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOddLYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsOrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPdurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentRank_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPercentile_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPermutationaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPhiRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPiRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPoisson_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPowerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPpmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPriceMatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsProductRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsProperRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsPvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuartile_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsQuotientRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRadiansRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRandBetweenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_AvgRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRank_EqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReceivedRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReplaceBRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsReptRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRomanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundDownRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundUpRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRowsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRriRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSechRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecondRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSeriesSumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSignRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkewRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkew_pRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSlnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSmallRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtPiRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevPARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_PRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_SRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStandardizeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubstituteRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubtotalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumSqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSydRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillEqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_2TRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Inv_2TRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimevalueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTodayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTruncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUsdollarRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicharRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUpperRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVlookupRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsValueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarPARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_PRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_SRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVdbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekNumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekdayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeibull_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDay_IntlRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXirrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXnpvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearFracRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldMatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsZ_TestRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Request Builder. - */ -public class BaseWorkbookFunctionsRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookFunctionsRequestBuilder { - - /** - * The request builder for the WorkbookFunctions - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookFunctionsRequest instance - */ - public IWorkbookFunctionsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookFunctionsRequest instance - */ - public IWorkbookFunctionsRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookFunctionsRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookFunctionsAbsRequestBuilder abs(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAbsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.abs"), getClient(), null, number); - } - - public IWorkbookFunctionsAccrIntRequestBuilder accrInt(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstInterest, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis, final com.google.gson.JsonElement calcMethod) { - return new WorkbookFunctionsAccrIntRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.accrInt"), getClient(), null, issue, firstInterest, settlement, rate, par, frequency, basis, calcMethod); - } - - public IWorkbookFunctionsAccrIntMRequestBuilder accrIntM(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsAccrIntMRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.accrIntM"), getClient(), null, issue, settlement, rate, par, basis); - } - - public IWorkbookFunctionsAcosRequestBuilder acos(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAcosRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acos"), getClient(), null, number); - } - - public IWorkbookFunctionsAcoshRequestBuilder acosh(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAcoshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acosh"), getClient(), null, number); - } - - public IWorkbookFunctionsAcotRequestBuilder acot(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAcotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acot"), getClient(), null, number); - } - - public IWorkbookFunctionsAcothRequestBuilder acoth(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAcothRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.acoth"), getClient(), null, number); - } - - public IWorkbookFunctionsAmorDegrcRequestBuilder amorDegrc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsAmorDegrcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.amorDegrc"), getClient(), null, cost, datePurchased, firstPeriod, salvage, period, rate, basis); - } - - public IWorkbookFunctionsAmorLincRequestBuilder amorLinc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsAmorLincRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.amorLinc"), getClient(), null, cost, datePurchased, firstPeriod, salvage, period, rate, basis); - } - - public IWorkbookFunctionsAndRequestBuilder and(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsAndRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.and"), getClient(), null, values); - } - - public IWorkbookFunctionsArabicRequestBuilder arabic(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsArabicRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.arabic"), getClient(), null, text); - } - - public IWorkbookFunctionsAreasRequestBuilder areas(final com.google.gson.JsonElement reference) { - return new WorkbookFunctionsAreasRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.areas"), getClient(), null, reference); - } - - public IWorkbookFunctionsAscRequestBuilder asc(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsAscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.asc"), getClient(), null, text); - } - - public IWorkbookFunctionsAsinRequestBuilder asin(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAsinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.asin"), getClient(), null, number); - } - - public IWorkbookFunctionsAsinhRequestBuilder asinh(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAsinhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.asinh"), getClient(), null, number); - } - - public IWorkbookFunctionsAtanRequestBuilder atan(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAtanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.atan"), getClient(), null, number); - } - - public IWorkbookFunctionsAtan2RequestBuilder atan2(final com.google.gson.JsonElement xNum, final com.google.gson.JsonElement yNum) { - return new WorkbookFunctionsAtan2RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.atan2"), getClient(), null, xNum, yNum); - } - - public IWorkbookFunctionsAtanhRequestBuilder atanh(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsAtanhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.atanh"), getClient(), null, number); - } - - public IWorkbookFunctionsAveDevRequestBuilder aveDev(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsAveDevRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.aveDev"), getClient(), null, values); - } - - public IWorkbookFunctionsAverageRequestBuilder average(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsAverageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.average"), getClient(), null, values); - } - - public IWorkbookFunctionsAverageARequestBuilder averageA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsAverageARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.averageA"), getClient(), null, values); - } - - public IWorkbookFunctionsAverageIfRequestBuilder averageIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement averageRange) { - return new WorkbookFunctionsAverageIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.averageIf"), getClient(), null, range, criteria, averageRange); - } - - public IWorkbookFunctionsAverageIfsRequestBuilder averageIfs(final com.google.gson.JsonElement averageRange, final com.google.gson.JsonElement values) { - return new WorkbookFunctionsAverageIfsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.averageIfs"), getClient(), null, averageRange, values); - } - - public IWorkbookFunctionsBahtTextRequestBuilder bahtText(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsBahtTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bahtText"), getClient(), null, number); - } - - public IWorkbookFunctionsBaseRequestBuilder base(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix, final com.google.gson.JsonElement minLength) { - return new WorkbookFunctionsBaseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.base"), getClient(), null, number, radix, minLength); - } - - public IWorkbookFunctionsBesselIRequestBuilder besselI(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - return new WorkbookFunctionsBesselIRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselI"), getClient(), null, x, n); - } - - public IWorkbookFunctionsBesselJRequestBuilder besselJ(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - return new WorkbookFunctionsBesselJRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselJ"), getClient(), null, x, n); - } - - public IWorkbookFunctionsBesselKRequestBuilder besselK(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - return new WorkbookFunctionsBesselKRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselK"), getClient(), null, x, n); - } - - public IWorkbookFunctionsBesselYRequestBuilder besselY(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n) { - return new WorkbookFunctionsBesselYRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.besselY"), getClient(), null, x, n); - } - - public IWorkbookFunctionsBeta_DistRequestBuilder beta_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { - return new WorkbookFunctionsBeta_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.beta_Dist"), getClient(), null, x, alpha, beta, cumulative, a, b); - } - - public IWorkbookFunctionsBeta_InvRequestBuilder beta_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b) { - return new WorkbookFunctionsBeta_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.beta_Inv"), getClient(), null, probability, alpha, beta, a, b); - } - - public IWorkbookFunctionsBin2DecRequestBuilder bin2Dec(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsBin2DecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bin2Dec"), getClient(), null, number); - } - - public IWorkbookFunctionsBin2HexRequestBuilder bin2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsBin2HexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bin2Hex"), getClient(), null, number, places); - } - - public IWorkbookFunctionsBin2OctRequestBuilder bin2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsBin2OctRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bin2Oct"), getClient(), null, number, places); - } - - public IWorkbookFunctionsBinom_DistRequestBuilder binom_Dist(final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsBinom_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.binom_Dist"), getClient(), null, numberS, trials, probabilityS, cumulative); - } - - public IWorkbookFunctionsBinom_Dist_RangeRequestBuilder binom_Dist_Range(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement numberS2) { - return new WorkbookFunctionsBinom_Dist_RangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.binom_Dist_Range"), getClient(), null, trials, probabilityS, numberS, numberS2); - } - - public IWorkbookFunctionsBinom_InvRequestBuilder binom_Inv(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement alpha) { - return new WorkbookFunctionsBinom_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.binom_Inv"), getClient(), null, trials, probabilityS, alpha); - } - - public IWorkbookFunctionsBitandRequestBuilder bitand(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - return new WorkbookFunctionsBitandRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitand"), getClient(), null, number1, number2); - } - - public IWorkbookFunctionsBitlshiftRequestBuilder bitlshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { - return new WorkbookFunctionsBitlshiftRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitlshift"), getClient(), null, number, shiftAmount); - } - - public IWorkbookFunctionsBitorRequestBuilder bitor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - return new WorkbookFunctionsBitorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitor"), getClient(), null, number1, number2); - } - - public IWorkbookFunctionsBitrshiftRequestBuilder bitrshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount) { - return new WorkbookFunctionsBitrshiftRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitrshift"), getClient(), null, number, shiftAmount); - } - - public IWorkbookFunctionsBitxorRequestBuilder bitxor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - return new WorkbookFunctionsBitxorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.bitxor"), getClient(), null, number1, number2); - } - - public IWorkbookFunctionsCeiling_MathRequestBuilder ceiling_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { - return new WorkbookFunctionsCeiling_MathRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ceiling_Math"), getClient(), null, number, significance, mode); - } - - public IWorkbookFunctionsCeiling_PreciseRequestBuilder ceiling_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - return new WorkbookFunctionsCeiling_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ceiling_Precise"), getClient(), null, number, significance); - } - - public IWorkbookFunctionsCharRequestBuilder msgraphChar(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCharRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.char"), getClient(), null, number); - } - - public IWorkbookFunctionsChiSq_DistRequestBuilder chiSq_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsChiSq_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Dist"), getClient(), null, x, degFreedom, cumulative); - } - - public IWorkbookFunctionsChiSq_Dist_RTRequestBuilder chiSq_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsChiSq_Dist_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Dist_RT"), getClient(), null, x, degFreedom); - } - - public IWorkbookFunctionsChiSq_InvRequestBuilder chiSq_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsChiSq_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Inv"), getClient(), null, probability, degFreedom); - } - - public IWorkbookFunctionsChiSq_Inv_RTRequestBuilder chiSq_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsChiSq_Inv_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.chiSq_Inv_RT"), getClient(), null, probability, degFreedom); - } - - public IWorkbookFunctionsChooseRequestBuilder choose(final com.google.gson.JsonElement indexNum, final com.google.gson.JsonElement values) { - return new WorkbookFunctionsChooseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.choose"), getClient(), null, indexNum, values); - } - - public IWorkbookFunctionsCleanRequestBuilder clean(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsCleanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clean"), getClient(), null, text); - } - - public IWorkbookFunctionsCodeRequestBuilder code(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsCodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.code"), getClient(), null, text); - } - - public IWorkbookFunctionsColumnsRequestBuilder columns(final com.google.gson.JsonElement array) { - return new WorkbookFunctionsColumnsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columns"), getClient(), null, array); - } - - public IWorkbookFunctionsCombinRequestBuilder combin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - return new WorkbookFunctionsCombinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.combin"), getClient(), null, number, numberChosen); - } - - public IWorkbookFunctionsCombinaRequestBuilder combina(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - return new WorkbookFunctionsCombinaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.combina"), getClient(), null, number, numberChosen); - } - - public IWorkbookFunctionsComplexRequestBuilder complex(final com.google.gson.JsonElement realNum, final com.google.gson.JsonElement iNum, final com.google.gson.JsonElement suffix) { - return new WorkbookFunctionsComplexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.complex"), getClient(), null, realNum, iNum, suffix); - } - - public IWorkbookFunctionsConcatenateRequestBuilder concatenate(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsConcatenateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.concatenate"), getClient(), null, values); - } - - public IWorkbookFunctionsConfidence_NormRequestBuilder confidence_Norm(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { - return new WorkbookFunctionsConfidence_NormRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.confidence_Norm"), getClient(), null, alpha, standardDev, size); - } - - public IWorkbookFunctionsConfidence_TRequestBuilder confidence_T(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size) { - return new WorkbookFunctionsConfidence_TRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.confidence_T"), getClient(), null, alpha, standardDev, size); - } - - public IWorkbookFunctionsConvertRequestBuilder convert(final com.google.gson.JsonElement number, final com.google.gson.JsonElement fromUnit, final com.google.gson.JsonElement toUnit) { - return new WorkbookFunctionsConvertRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.convert"), getClient(), null, number, fromUnit, toUnit); - } - - public IWorkbookFunctionsCosRequestBuilder cos(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCosRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cos"), getClient(), null, number); - } - - public IWorkbookFunctionsCoshRequestBuilder cosh(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCoshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cosh"), getClient(), null, number); - } - - public IWorkbookFunctionsCotRequestBuilder cot(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cot"), getClient(), null, number); - } - - public IWorkbookFunctionsCothRequestBuilder coth(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCothRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coth"), getClient(), null, number); - } - - public IWorkbookFunctionsCountRequestBuilder count(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null, values); - } - - public IWorkbookFunctionsCountARequestBuilder countA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsCountARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countA"), getClient(), null, values); - } - - public IWorkbookFunctionsCountBlankRequestBuilder countBlank(final com.google.gson.JsonElement range) { - return new WorkbookFunctionsCountBlankRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countBlank"), getClient(), null, range); - } - - public IWorkbookFunctionsCountIfRequestBuilder countIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsCountIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countIf"), getClient(), null, range, criteria); - } - - public IWorkbookFunctionsCountIfsRequestBuilder countIfs(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsCountIfsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.countIfs"), getClient(), null, values); - } - - public IWorkbookFunctionsCoupDayBsRequestBuilder coupDayBs(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsCoupDayBsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupDayBs"), getClient(), null, settlement, maturity, frequency, basis); - } - - public IWorkbookFunctionsCoupDaysRequestBuilder coupDays(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsCoupDaysRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupDays"), getClient(), null, settlement, maturity, frequency, basis); - } - - public IWorkbookFunctionsCoupDaysNcRequestBuilder coupDaysNc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsCoupDaysNcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupDaysNc"), getClient(), null, settlement, maturity, frequency, basis); - } - - public IWorkbookFunctionsCoupNcdRequestBuilder coupNcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsCoupNcdRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupNcd"), getClient(), null, settlement, maturity, frequency, basis); - } - - public IWorkbookFunctionsCoupNumRequestBuilder coupNum(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsCoupNumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupNum"), getClient(), null, settlement, maturity, frequency, basis); - } - - public IWorkbookFunctionsCoupPcdRequestBuilder coupPcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsCoupPcdRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.coupPcd"), getClient(), null, settlement, maturity, frequency, basis); - } - - public IWorkbookFunctionsCscRequestBuilder csc(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.csc"), getClient(), null, number); - } - - public IWorkbookFunctionsCschRequestBuilder csch(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsCschRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.csch"), getClient(), null, number); - } - - public IWorkbookFunctionsCumIPmtRequestBuilder cumIPmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsCumIPmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cumIPmt"), getClient(), null, rate, nper, pv, startPeriod, endPeriod, type); - } - - public IWorkbookFunctionsCumPrincRequestBuilder cumPrinc(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsCumPrincRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cumPrinc"), getClient(), null, rate, nper, pv, startPeriod, endPeriod, type); - } - - public IWorkbookFunctionsDaverageRequestBuilder daverage(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDaverageRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.daverage"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDcountRequestBuilder dcount(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDcountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dcount"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDcountARequestBuilder dcountA(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDcountARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dcountA"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDgetRequestBuilder dget(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDgetRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dget"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDmaxRequestBuilder dmax(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDmaxRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dmax"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDminRequestBuilder dmin(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDminRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dmin"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDproductRequestBuilder dproduct(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDproductRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dproduct"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDstDevRequestBuilder dstDev(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDstDevRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dstDev"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDstDevPRequestBuilder dstDevP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDstDevPRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dstDevP"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDsumRequestBuilder dsum(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDsumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dsum"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDvarRequestBuilder dvar(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDvarRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dvar"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDvarPRequestBuilder dvarP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria) { - return new WorkbookFunctionsDvarPRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dvarP"), getClient(), null, database, field, criteria); - } - - public IWorkbookFunctionsDateRequestBuilder date(final com.google.gson.JsonElement year, final com.google.gson.JsonElement month, final com.google.gson.JsonElement day) { - return new WorkbookFunctionsDateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.date"), getClient(), null, year, month, day); - } - - public IWorkbookFunctionsDatevalueRequestBuilder datevalue(final com.google.gson.JsonElement dateText) { - return new WorkbookFunctionsDatevalueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.datevalue"), getClient(), null, dateText); - } - - public IWorkbookFunctionsDayRequestBuilder day(final com.google.gson.JsonElement serialNumber) { - return new WorkbookFunctionsDayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.day"), getClient(), null, serialNumber); - } - - public IWorkbookFunctionsDaysRequestBuilder days(final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement startDate) { - return new WorkbookFunctionsDaysRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.days"), getClient(), null, endDate, startDate); - } - - public IWorkbookFunctionsDays360RequestBuilder days360(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement method) { - return new WorkbookFunctionsDays360RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.days360"), getClient(), null, startDate, endDate, method); - } - - public IWorkbookFunctionsDbRequestBuilder db(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement month) { - return new WorkbookFunctionsDbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.db"), getClient(), null, cost, salvage, life, period, month); - } - - public IWorkbookFunctionsDbcsRequestBuilder dbcs(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsDbcsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dbcs"), getClient(), null, text); - } - - public IWorkbookFunctionsDdbRequestBuilder ddb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement factor) { - return new WorkbookFunctionsDdbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ddb"), getClient(), null, cost, salvage, life, period, factor); - } - - public IWorkbookFunctionsDec2BinRequestBuilder dec2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsDec2BinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dec2Bin"), getClient(), null, number, places); - } - - public IWorkbookFunctionsDec2HexRequestBuilder dec2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsDec2HexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dec2Hex"), getClient(), null, number, places); - } - - public IWorkbookFunctionsDec2OctRequestBuilder dec2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsDec2OctRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dec2Oct"), getClient(), null, number, places); - } - - public IWorkbookFunctionsDecimalRequestBuilder decimal(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix) { - return new WorkbookFunctionsDecimalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.decimal"), getClient(), null, number, radix); - } - - public IWorkbookFunctionsDegreesRequestBuilder degrees(final com.google.gson.JsonElement angle) { - return new WorkbookFunctionsDegreesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.degrees"), getClient(), null, angle); - } - - public IWorkbookFunctionsDeltaRequestBuilder delta(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2) { - return new WorkbookFunctionsDeltaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null, number1, number2); - } - - public IWorkbookFunctionsDevSqRequestBuilder devSq(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsDevSqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.devSq"), getClient(), null, values); - } - - public IWorkbookFunctionsDiscRequestBuilder disc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsDiscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.disc"), getClient(), null, settlement, maturity, pr, redemption, basis); - } - - public IWorkbookFunctionsDollarRequestBuilder dollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { - return new WorkbookFunctionsDollarRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dollar"), getClient(), null, number, decimals); - } - - public IWorkbookFunctionsDollarDeRequestBuilder dollarDe(final com.google.gson.JsonElement fractionalDollar, final com.google.gson.JsonElement fraction) { - return new WorkbookFunctionsDollarDeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dollarDe"), getClient(), null, fractionalDollar, fraction); - } - - public IWorkbookFunctionsDollarFrRequestBuilder dollarFr(final com.google.gson.JsonElement decimalDollar, final com.google.gson.JsonElement fraction) { - return new WorkbookFunctionsDollarFrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dollarFr"), getClient(), null, decimalDollar, fraction); - } - - public IWorkbookFunctionsDurationRequestBuilder duration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsDurationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.duration"), getClient(), null, settlement, maturity, coupon, yld, frequency, basis); - } - - public IWorkbookFunctionsEcma_CeilingRequestBuilder ecma_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - return new WorkbookFunctionsEcma_CeilingRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ecma_Ceiling"), getClient(), null, number, significance); - } - - public IWorkbookFunctionsEdateRequestBuilder edate(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { - return new WorkbookFunctionsEdateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.edate"), getClient(), null, startDate, months); - } - - public IWorkbookFunctionsEffectRequestBuilder effect(final com.google.gson.JsonElement nominalRate, final com.google.gson.JsonElement npery) { - return new WorkbookFunctionsEffectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.effect"), getClient(), null, nominalRate, npery); - } - - public IWorkbookFunctionsEoMonthRequestBuilder eoMonth(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months) { - return new WorkbookFunctionsEoMonthRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.eoMonth"), getClient(), null, startDate, months); - } - - public IWorkbookFunctionsErfRequestBuilder erf(final com.google.gson.JsonElement lowerLimit, final com.google.gson.JsonElement upperLimit) { - return new WorkbookFunctionsErfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erf"), getClient(), null, lowerLimit, upperLimit); - } - - public IWorkbookFunctionsErfCRequestBuilder erfC(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsErfCRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erfC"), getClient(), null, x); - } - - public IWorkbookFunctionsErfC_PreciseRequestBuilder erfC_Precise(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsErfC_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erfC_Precise"), getClient(), null, x); - } - - public IWorkbookFunctionsErf_PreciseRequestBuilder erf_Precise(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsErf_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.erf_Precise"), getClient(), null, x); - } - - public IWorkbookFunctionsError_TypeRequestBuilder error_Type(final com.google.gson.JsonElement errorVal) { - return new WorkbookFunctionsError_TypeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.error_Type"), getClient(), null, errorVal); - } - - public IWorkbookFunctionsEvenRequestBuilder even(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsEvenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.even"), getClient(), null, number); - } - - public IWorkbookFunctionsExactRequestBuilder exact(final com.google.gson.JsonElement text1, final com.google.gson.JsonElement text2) { - return new WorkbookFunctionsExactRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.exact"), getClient(), null, text1, text2); - } - - public IWorkbookFunctionsExpRequestBuilder exp(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsExpRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.exp"), getClient(), null, number); - } - - public IWorkbookFunctionsExpon_DistRequestBuilder expon_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement lambda, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsExpon_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.expon_Dist"), getClient(), null, x, lambda, cumulative); - } - - public IWorkbookFunctionsFvscheduleRequestBuilder fvschedule(final com.google.gson.JsonElement principal, final com.google.gson.JsonElement schedule) { - return new WorkbookFunctionsFvscheduleRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fvschedule"), getClient(), null, principal, schedule); - } - - public IWorkbookFunctionsF_DistRequestBuilder f_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsF_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Dist"), getClient(), null, x, degFreedom1, degFreedom2, cumulative); - } - - public IWorkbookFunctionsF_Dist_RTRequestBuilder f_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - return new WorkbookFunctionsF_Dist_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Dist_RT"), getClient(), null, x, degFreedom1, degFreedom2); - } - - public IWorkbookFunctionsF_InvRequestBuilder f_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - return new WorkbookFunctionsF_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Inv"), getClient(), null, probability, degFreedom1, degFreedom2); - } - - public IWorkbookFunctionsF_Inv_RTRequestBuilder f_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2) { - return new WorkbookFunctionsF_Inv_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.f_Inv_RT"), getClient(), null, probability, degFreedom1, degFreedom2); - } - - public IWorkbookFunctionsFactRequestBuilder fact(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsFactRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fact"), getClient(), null, number); - } - - public IWorkbookFunctionsFactDoubleRequestBuilder factDouble(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsFactDoubleRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.factDouble"), getClient(), null, number); - } - - public IWorkbookFunctionsFalseRequestBuilder msgraphFalse() { - return new WorkbookFunctionsFalseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.false"), getClient(), null); - } - - public IWorkbookFunctionsFindRequestBuilder find(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { - return new WorkbookFunctionsFindRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.find"), getClient(), null, findText, withinText, startNum); - } - - public IWorkbookFunctionsFindBRequestBuilder findB(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum) { - return new WorkbookFunctionsFindBRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.findB"), getClient(), null, findText, withinText, startNum); - } - - public IWorkbookFunctionsFisherRequestBuilder fisher(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsFisherRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fisher"), getClient(), null, x); - } - - public IWorkbookFunctionsFisherInvRequestBuilder fisherInv(final com.google.gson.JsonElement y) { - return new WorkbookFunctionsFisherInvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fisherInv"), getClient(), null, y); - } - - public IWorkbookFunctionsFixedRequestBuilder fixed(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals, final com.google.gson.JsonElement noCommas) { - return new WorkbookFunctionsFixedRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fixed"), getClient(), null, number, decimals, noCommas); - } - - public IWorkbookFunctionsFloor_MathRequestBuilder floor_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode) { - return new WorkbookFunctionsFloor_MathRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.floor_Math"), getClient(), null, number, significance, mode); - } - - public IWorkbookFunctionsFloor_PreciseRequestBuilder floor_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - return new WorkbookFunctionsFloor_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.floor_Precise"), getClient(), null, number, significance); - } - - public IWorkbookFunctionsFvRequestBuilder fv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsFvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.fv"), getClient(), null, rate, nper, pmt, pv, type); - } - - public IWorkbookFunctionsGammaRequestBuilder gamma(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsGammaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gamma"), getClient(), null, x); - } - - public IWorkbookFunctionsGammaLnRequestBuilder gammaLn(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsGammaLnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gammaLn"), getClient(), null, x); - } - - public IWorkbookFunctionsGammaLn_PreciseRequestBuilder gammaLn_Precise(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsGammaLn_PreciseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gammaLn_Precise"), getClient(), null, x); - } - - public IWorkbookFunctionsGamma_DistRequestBuilder gamma_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsGamma_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gamma_Dist"), getClient(), null, x, alpha, beta, cumulative); - } - - public IWorkbookFunctionsGamma_InvRequestBuilder gamma_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta) { - return new WorkbookFunctionsGamma_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gamma_Inv"), getClient(), null, probability, alpha, beta); - } - - public IWorkbookFunctionsGaussRequestBuilder gauss(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsGaussRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gauss"), getClient(), null, x); - } - - public IWorkbookFunctionsGcdRequestBuilder gcd(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsGcdRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.gcd"), getClient(), null, values); - } - - public IWorkbookFunctionsGeStepRequestBuilder geStep(final com.google.gson.JsonElement number, final com.google.gson.JsonElement step) { - return new WorkbookFunctionsGeStepRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.geStep"), getClient(), null, number, step); - } - - public IWorkbookFunctionsGeoMeanRequestBuilder geoMean(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsGeoMeanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.geoMean"), getClient(), null, values); - } - - public IWorkbookFunctionsHlookupRequestBuilder hlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement rowIndexNum, final com.google.gson.JsonElement rangeLookup) { - return new WorkbookFunctionsHlookupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hlookup"), getClient(), null, lookupValue, tableArray, rowIndexNum, rangeLookup); - } - - public IWorkbookFunctionsHarMeanRequestBuilder harMean(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsHarMeanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.harMean"), getClient(), null, values); - } - - public IWorkbookFunctionsHex2BinRequestBuilder hex2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsHex2BinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hex2Bin"), getClient(), null, number, places); - } - - public IWorkbookFunctionsHex2DecRequestBuilder hex2Dec(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsHex2DecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hex2Dec"), getClient(), null, number); - } - - public IWorkbookFunctionsHex2OctRequestBuilder hex2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsHex2OctRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hex2Oct"), getClient(), null, number, places); - } - - public IWorkbookFunctionsHourRequestBuilder hour(final com.google.gson.JsonElement serialNumber) { - return new WorkbookFunctionsHourRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hour"), getClient(), null, serialNumber); - } - - public IWorkbookFunctionsHypGeom_DistRequestBuilder hypGeom_Dist(final com.google.gson.JsonElement sampleS, final com.google.gson.JsonElement numberSample, final com.google.gson.JsonElement populationS, final com.google.gson.JsonElement numberPop, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsHypGeom_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hypGeom_Dist"), getClient(), null, sampleS, numberSample, populationS, numberPop, cumulative); - } - - public IWorkbookFunctionsHyperlinkRequestBuilder hyperlink(final com.google.gson.JsonElement linkLocation, final com.google.gson.JsonElement friendlyName) { - return new WorkbookFunctionsHyperlinkRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.hyperlink"), getClient(), null, linkLocation, friendlyName); - } - - public IWorkbookFunctionsIso_CeilingRequestBuilder iso_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance) { - return new WorkbookFunctionsIso_CeilingRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.iso_Ceiling"), getClient(), null, number, significance); - } - - public IWorkbookFunctionsIfRequestBuilder msgraphIf(final com.google.gson.JsonElement logicalTest, final com.google.gson.JsonElement valueIfTrue, final com.google.gson.JsonElement valueIfFalse) { - return new WorkbookFunctionsIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.if"), getClient(), null, logicalTest, valueIfTrue, valueIfFalse); - } - - public IWorkbookFunctionsImAbsRequestBuilder imAbs(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImAbsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imAbs"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImArgumentRequestBuilder imArgument(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImArgumentRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imArgument"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImConjugateRequestBuilder imConjugate(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImConjugateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imConjugate"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImCosRequestBuilder imCos(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImCosRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCos"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImCoshRequestBuilder imCosh(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImCoshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCosh"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImCotRequestBuilder imCot(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImCotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCot"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImCscRequestBuilder imCsc(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImCscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCsc"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImCschRequestBuilder imCsch(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImCschRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imCsch"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImDivRequestBuilder imDiv(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { - return new WorkbookFunctionsImDivRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imDiv"), getClient(), null, inumber1, inumber2); - } - - public IWorkbookFunctionsImExpRequestBuilder imExp(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImExpRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imExp"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImLnRequestBuilder imLn(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImLnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imLn"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImLog10RequestBuilder imLog10(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImLog10RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imLog10"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImLog2RequestBuilder imLog2(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImLog2RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imLog2"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImPowerRequestBuilder imPower(final com.google.gson.JsonElement inumber, final com.google.gson.JsonElement number) { - return new WorkbookFunctionsImPowerRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imPower"), getClient(), null, inumber, number); - } - - public IWorkbookFunctionsImProductRequestBuilder imProduct(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsImProductRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imProduct"), getClient(), null, values); - } - - public IWorkbookFunctionsImRealRequestBuilder imReal(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImRealRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imReal"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImSecRequestBuilder imSec(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImSecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSec"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImSechRequestBuilder imSech(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImSechRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSech"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImSinRequestBuilder imSin(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImSinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSin"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImSinhRequestBuilder imSinh(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImSinhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSinh"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImSqrtRequestBuilder imSqrt(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImSqrtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSqrt"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImSubRequestBuilder imSub(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2) { - return new WorkbookFunctionsImSubRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSub"), getClient(), null, inumber1, inumber2); - } - - public IWorkbookFunctionsImSumRequestBuilder imSum(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsImSumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imSum"), getClient(), null, values); - } - - public IWorkbookFunctionsImTanRequestBuilder imTan(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImTanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imTan"), getClient(), null, inumber); - } - - public IWorkbookFunctionsImaginaryRequestBuilder imaginary(final com.google.gson.JsonElement inumber) { - return new WorkbookFunctionsImaginaryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.imaginary"), getClient(), null, inumber); - } - - public IWorkbookFunctionsIntRequestBuilder msgraphInt(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsIntRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.int"), getClient(), null, number); - } - - public IWorkbookFunctionsIntRateRequestBuilder intRate(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsIntRateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.intRate"), getClient(), null, settlement, maturity, investment, redemption, basis); - } - - public IWorkbookFunctionsIpmtRequestBuilder ipmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsIpmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ipmt"), getClient(), null, rate, per, nper, pv, fv, type); - } - - public IWorkbookFunctionsIrrRequestBuilder irr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement guess) { - return new WorkbookFunctionsIrrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.irr"), getClient(), null, values, guess); - } - - public IWorkbookFunctionsIsErrRequestBuilder isErr(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsErrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isErr"), getClient(), null, value); - } - - public IWorkbookFunctionsIsErrorRequestBuilder isError(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsErrorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isError"), getClient(), null, value); - } - - public IWorkbookFunctionsIsEvenRequestBuilder isEven(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsIsEvenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isEven"), getClient(), null, number); - } - - public IWorkbookFunctionsIsFormulaRequestBuilder isFormula(final com.google.gson.JsonElement reference) { - return new WorkbookFunctionsIsFormulaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isFormula"), getClient(), null, reference); - } - - public IWorkbookFunctionsIsLogicalRequestBuilder isLogical(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsLogicalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isLogical"), getClient(), null, value); - } - - public IWorkbookFunctionsIsNARequestBuilder isNA(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsNARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isNA"), getClient(), null, value); - } - - public IWorkbookFunctionsIsNonTextRequestBuilder isNonText(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsNonTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isNonText"), getClient(), null, value); - } - - public IWorkbookFunctionsIsNumberRequestBuilder isNumber(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsNumberRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isNumber"), getClient(), null, value); - } - - public IWorkbookFunctionsIsOddRequestBuilder isOdd(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsIsOddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isOdd"), getClient(), null, number); - } - - public IWorkbookFunctionsIsTextRequestBuilder isText(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isText"), getClient(), null, value); - } - - public IWorkbookFunctionsIsoWeekNumRequestBuilder isoWeekNum(final com.google.gson.JsonElement date) { - return new WorkbookFunctionsIsoWeekNumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isoWeekNum"), getClient(), null, date); - } - - public IWorkbookFunctionsIspmtRequestBuilder ispmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv) { - return new WorkbookFunctionsIspmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ispmt"), getClient(), null, rate, per, nper, pv); - } - - public IWorkbookFunctionsIsrefRequestBuilder isref(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsIsrefRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isref"), getClient(), null, value); - } - - public IWorkbookFunctionsKurtRequestBuilder kurt(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsKurtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.kurt"), getClient(), null, values); - } - - public IWorkbookFunctionsLargeRequestBuilder large(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - return new WorkbookFunctionsLargeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.large"), getClient(), null, array, k); - } - - public IWorkbookFunctionsLcmRequestBuilder lcm(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsLcmRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lcm"), getClient(), null, values); - } - - public IWorkbookFunctionsLeftRequestBuilder left(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { - return new WorkbookFunctionsLeftRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.left"), getClient(), null, text, numChars); - } - - public IWorkbookFunctionsLeftbRequestBuilder leftb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { - return new WorkbookFunctionsLeftbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.leftb"), getClient(), null, text, numBytes); - } - - public IWorkbookFunctionsLenRequestBuilder len(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsLenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.len"), getClient(), null, text); - } - - public IWorkbookFunctionsLenbRequestBuilder lenb(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsLenbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lenb"), getClient(), null, text); - } - - public IWorkbookFunctionsLnRequestBuilder ln(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsLnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ln"), getClient(), null, number); - } - - public IWorkbookFunctionsLogRequestBuilder log(final com.google.gson.JsonElement number, final com.google.gson.JsonElement base) { - return new WorkbookFunctionsLogRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.log"), getClient(), null, number, base); - } - - public IWorkbookFunctionsLog10RequestBuilder log10(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsLog10RequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.log10"), getClient(), null, number); - } - - public IWorkbookFunctionsLogNorm_DistRequestBuilder logNorm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsLogNorm_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.logNorm_Dist"), getClient(), null, x, mean, standardDev, cumulative); - } - - public IWorkbookFunctionsLogNorm_InvRequestBuilder logNorm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - return new WorkbookFunctionsLogNorm_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.logNorm_Inv"), getClient(), null, probability, mean, standardDev); - } - - public IWorkbookFunctionsLookupRequestBuilder lookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupVector, final com.google.gson.JsonElement resultVector) { - return new WorkbookFunctionsLookupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lookup"), getClient(), null, lookupValue, lookupVector, resultVector); - } - - public IWorkbookFunctionsLowerRequestBuilder lower(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsLowerRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lower"), getClient(), null, text); - } - - public IWorkbookFunctionsMdurationRequestBuilder mduration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsMdurationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mduration"), getClient(), null, settlement, maturity, coupon, yld, frequency, basis); - } - - public IWorkbookFunctionsMirrRequestBuilder mirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement financeRate, final com.google.gson.JsonElement reinvestRate) { - return new WorkbookFunctionsMirrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mirr"), getClient(), null, values, financeRate, reinvestRate); - } - - public IWorkbookFunctionsMroundRequestBuilder mround(final com.google.gson.JsonElement number, final com.google.gson.JsonElement multiple) { - return new WorkbookFunctionsMroundRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mround"), getClient(), null, number, multiple); - } - - public IWorkbookFunctionsMatchRequestBuilder match(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupArray, final com.google.gson.JsonElement matchType) { - return new WorkbookFunctionsMatchRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.match"), getClient(), null, lookupValue, lookupArray, matchType); - } - - public IWorkbookFunctionsMaxRequestBuilder max(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsMaxRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.max"), getClient(), null, values); - } - - public IWorkbookFunctionsMaxARequestBuilder maxA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsMaxARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.maxA"), getClient(), null, values); - } - - public IWorkbookFunctionsMedianRequestBuilder median(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsMedianRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.median"), getClient(), null, values); - } - - public IWorkbookFunctionsMidRequestBuilder mid(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars) { - return new WorkbookFunctionsMidRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mid"), getClient(), null, text, startNum, numChars); - } - - public IWorkbookFunctionsMidbRequestBuilder midb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes) { - return new WorkbookFunctionsMidbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.midb"), getClient(), null, text, startNum, numBytes); - } - - public IWorkbookFunctionsMinRequestBuilder min(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsMinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.min"), getClient(), null, values); - } - - public IWorkbookFunctionsMinARequestBuilder minA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsMinARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.minA"), getClient(), null, values); - } - - public IWorkbookFunctionsMinuteRequestBuilder minute(final com.google.gson.JsonElement serialNumber) { - return new WorkbookFunctionsMinuteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.minute"), getClient(), null, serialNumber); - } - - public IWorkbookFunctionsModRequestBuilder mod(final com.google.gson.JsonElement number, final com.google.gson.JsonElement divisor) { - return new WorkbookFunctionsModRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.mod"), getClient(), null, number, divisor); - } - - public IWorkbookFunctionsMonthRequestBuilder month(final com.google.gson.JsonElement serialNumber) { - return new WorkbookFunctionsMonthRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.month"), getClient(), null, serialNumber); - } - - public IWorkbookFunctionsMultiNomialRequestBuilder multiNomial(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsMultiNomialRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.multiNomial"), getClient(), null, values); - } - - public IWorkbookFunctionsNRequestBuilder n(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsNRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.n"), getClient(), null, value); - } - - public IWorkbookFunctionsNperRequestBuilder nper(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsNperRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.nper"), getClient(), null, rate, pmt, pv, fv, type); - } - - public IWorkbookFunctionsNaRequestBuilder na() { - return new WorkbookFunctionsNaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.na"), getClient(), null); - } - - public IWorkbookFunctionsNegBinom_DistRequestBuilder negBinom_Dist(final com.google.gson.JsonElement numberF, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsNegBinom_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.negBinom_Dist"), getClient(), null, numberF, numberS, probabilityS, cumulative); - } - - public IWorkbookFunctionsNetworkDaysRequestBuilder networkDays(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement holidays) { - return new WorkbookFunctionsNetworkDaysRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.networkDays"), getClient(), null, startDate, endDate, holidays); - } - - public IWorkbookFunctionsNetworkDays_IntlRequestBuilder networkDays_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { - return new WorkbookFunctionsNetworkDays_IntlRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.networkDays_Intl"), getClient(), null, startDate, endDate, weekend, holidays); - } - - public IWorkbookFunctionsNominalRequestBuilder nominal(final com.google.gson.JsonElement effectRate, final com.google.gson.JsonElement npery) { - return new WorkbookFunctionsNominalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.nominal"), getClient(), null, effectRate, npery); - } - - public IWorkbookFunctionsNorm_DistRequestBuilder norm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsNorm_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_Dist"), getClient(), null, x, mean, standardDev, cumulative); - } - - public IWorkbookFunctionsNorm_InvRequestBuilder norm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - return new WorkbookFunctionsNorm_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_Inv"), getClient(), null, probability, mean, standardDev); - } - - public IWorkbookFunctionsNorm_S_DistRequestBuilder norm_S_Dist(final com.google.gson.JsonElement z, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsNorm_S_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_S_Dist"), getClient(), null, z, cumulative); - } - - public IWorkbookFunctionsNorm_S_InvRequestBuilder norm_S_Inv(final com.google.gson.JsonElement probability) { - return new WorkbookFunctionsNorm_S_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.norm_S_Inv"), getClient(), null, probability); - } - - public IWorkbookFunctionsNotRequestBuilder not(final com.google.gson.JsonElement logical) { - return new WorkbookFunctionsNotRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.not"), getClient(), null, logical); - } - - public IWorkbookFunctionsNowRequestBuilder now() { - return new WorkbookFunctionsNowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.now"), getClient(), null); - } - - public IWorkbookFunctionsNpvRequestBuilder npv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values) { - return new WorkbookFunctionsNpvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.npv"), getClient(), null, rate, values); - } - - public IWorkbookFunctionsNumberValueRequestBuilder numberValue(final com.google.gson.JsonElement text, final com.google.gson.JsonElement decimalSeparator, final com.google.gson.JsonElement groupSeparator) { - return new WorkbookFunctionsNumberValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.numberValue"), getClient(), null, text, decimalSeparator, groupSeparator); - } - - public IWorkbookFunctionsOct2BinRequestBuilder oct2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsOct2BinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oct2Bin"), getClient(), null, number, places); - } - - public IWorkbookFunctionsOct2DecRequestBuilder oct2Dec(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsOct2DecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oct2Dec"), getClient(), null, number); - } - - public IWorkbookFunctionsOct2HexRequestBuilder oct2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places) { - return new WorkbookFunctionsOct2HexRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oct2Hex"), getClient(), null, number, places); - } - - public IWorkbookFunctionsOddRequestBuilder odd(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsOddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.odd"), getClient(), null, number); - } - - public IWorkbookFunctionsOddFPriceRequestBuilder oddFPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsOddFPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddFPrice"), getClient(), null, settlement, maturity, issue, firstCoupon, rate, yld, redemption, frequency, basis); - } - - public IWorkbookFunctionsOddFYieldRequestBuilder oddFYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsOddFYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddFYield"), getClient(), null, settlement, maturity, issue, firstCoupon, rate, pr, redemption, frequency, basis); - } - - public IWorkbookFunctionsOddLPriceRequestBuilder oddLPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsOddLPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddLPrice"), getClient(), null, settlement, maturity, lastInterest, rate, yld, redemption, frequency, basis); - } - - public IWorkbookFunctionsOddLYieldRequestBuilder oddLYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsOddLYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.oddLYield"), getClient(), null, settlement, maturity, lastInterest, rate, pr, redemption, frequency, basis); - } - - public IWorkbookFunctionsOrRequestBuilder or(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsOrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.or"), getClient(), null, values); - } - - public IWorkbookFunctionsPdurationRequestBuilder pduration(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { - return new WorkbookFunctionsPdurationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pduration"), getClient(), null, rate, pv, fv); - } - - public IWorkbookFunctionsPercentRank_ExcRequestBuilder percentRank_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { - return new WorkbookFunctionsPercentRank_ExcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentRank_Exc"), getClient(), null, array, x, significance); - } - - public IWorkbookFunctionsPercentRank_IncRequestBuilder percentRank_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance) { - return new WorkbookFunctionsPercentRank_IncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentRank_Inc"), getClient(), null, array, x, significance); - } - - public IWorkbookFunctionsPercentile_ExcRequestBuilder percentile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - return new WorkbookFunctionsPercentile_ExcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentile_Exc"), getClient(), null, array, k); - } - - public IWorkbookFunctionsPercentile_IncRequestBuilder percentile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - return new WorkbookFunctionsPercentile_IncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.percentile_Inc"), getClient(), null, array, k); - } - - public IWorkbookFunctionsPermutRequestBuilder permut(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - return new WorkbookFunctionsPermutRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.permut"), getClient(), null, number, numberChosen); - } - - public IWorkbookFunctionsPermutationaRequestBuilder permutationa(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen) { - return new WorkbookFunctionsPermutationaRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.permutationa"), getClient(), null, number, numberChosen); - } - - public IWorkbookFunctionsPhiRequestBuilder phi(final com.google.gson.JsonElement x) { - return new WorkbookFunctionsPhiRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.phi"), getClient(), null, x); - } - - public IWorkbookFunctionsPiRequestBuilder pi() { - return new WorkbookFunctionsPiRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pi"), getClient(), null); - } - - public IWorkbookFunctionsPmtRequestBuilder pmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsPmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pmt"), getClient(), null, rate, nper, pv, fv, type); - } - - public IWorkbookFunctionsPoisson_DistRequestBuilder poisson_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsPoisson_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.poisson_Dist"), getClient(), null, x, mean, cumulative); - } - - public IWorkbookFunctionsPowerRequestBuilder power(final com.google.gson.JsonElement number, final com.google.gson.JsonElement power) { - return new WorkbookFunctionsPowerRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.power"), getClient(), null, number, power); - } - - public IWorkbookFunctionsPpmtRequestBuilder ppmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsPpmtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.ppmt"), getClient(), null, rate, per, nper, pv, fv, type); - } - - public IWorkbookFunctionsPriceRequestBuilder price(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.price"), getClient(), null, settlement, maturity, rate, yld, redemption, frequency, basis); - } - - public IWorkbookFunctionsPriceDiscRequestBuilder priceDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsPriceDiscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.priceDisc"), getClient(), null, settlement, maturity, discount, redemption, basis); - } - - public IWorkbookFunctionsPriceMatRequestBuilder priceMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsPriceMatRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.priceMat"), getClient(), null, settlement, maturity, issue, rate, yld, basis); - } - - public IWorkbookFunctionsProductRequestBuilder product(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsProductRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.product"), getClient(), null, values); - } - - public IWorkbookFunctionsProperRequestBuilder proper(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsProperRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.proper"), getClient(), null, text); - } - - public IWorkbookFunctionsPvRequestBuilder pv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type) { - return new WorkbookFunctionsPvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pv"), getClient(), null, rate, nper, pmt, fv, type); - } - - public IWorkbookFunctionsQuartile_ExcRequestBuilder quartile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { - return new WorkbookFunctionsQuartile_ExcRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.quartile_Exc"), getClient(), null, array, quart); - } - - public IWorkbookFunctionsQuartile_IncRequestBuilder quartile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart) { - return new WorkbookFunctionsQuartile_IncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.quartile_Inc"), getClient(), null, array, quart); - } - - public IWorkbookFunctionsQuotientRequestBuilder quotient(final com.google.gson.JsonElement numerator, final com.google.gson.JsonElement denominator) { - return new WorkbookFunctionsQuotientRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.quotient"), getClient(), null, numerator, denominator); - } - - public IWorkbookFunctionsRadiansRequestBuilder radians(final com.google.gson.JsonElement angle) { - return new WorkbookFunctionsRadiansRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.radians"), getClient(), null, angle); - } - - public IWorkbookFunctionsRandRequestBuilder rand() { - return new WorkbookFunctionsRandRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rand"), getClient(), null); - } - - public IWorkbookFunctionsRandBetweenRequestBuilder randBetween(final com.google.gson.JsonElement bottom, final com.google.gson.JsonElement top) { - return new WorkbookFunctionsRandBetweenRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.randBetween"), getClient(), null, bottom, top); - } - - public IWorkbookFunctionsRank_AvgRequestBuilder rank_Avg(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { - return new WorkbookFunctionsRank_AvgRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rank_Avg"), getClient(), null, number, ref, order); - } - - public IWorkbookFunctionsRank_EqRequestBuilder rank_Eq(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order) { - return new WorkbookFunctionsRank_EqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rank_Eq"), getClient(), null, number, ref, order); - } - - public IWorkbookFunctionsRateRequestBuilder rate(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type, final com.google.gson.JsonElement guess) { - return new WorkbookFunctionsRateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rate"), getClient(), null, nper, pmt, pv, fv, type, guess); - } - - public IWorkbookFunctionsReceivedRequestBuilder received(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsReceivedRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.received"), getClient(), null, settlement, maturity, investment, discount, basis); - } - - public IWorkbookFunctionsReplaceRequestBuilder replace(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars, final com.google.gson.JsonElement newText) { - return new WorkbookFunctionsReplaceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.replace"), getClient(), null, oldText, startNum, numChars, newText); - } - - public IWorkbookFunctionsReplaceBRequestBuilder replaceB(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes, final com.google.gson.JsonElement newText) { - return new WorkbookFunctionsReplaceBRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.replaceB"), getClient(), null, oldText, startNum, numBytes, newText); - } - - public IWorkbookFunctionsReptRequestBuilder rept(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numberTimes) { - return new WorkbookFunctionsReptRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rept"), getClient(), null, text, numberTimes); - } - - public IWorkbookFunctionsRightRequestBuilder right(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { - return new WorkbookFunctionsRightRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.right"), getClient(), null, text, numChars); - } - - public IWorkbookFunctionsRightbRequestBuilder rightb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { - return new WorkbookFunctionsRightbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rightb"), getClient(), null, text, numBytes); - } - - public IWorkbookFunctionsRomanRequestBuilder roman(final com.google.gson.JsonElement number, final com.google.gson.JsonElement form) { - return new WorkbookFunctionsRomanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.roman"), getClient(), null, number, form); - } - - public IWorkbookFunctionsRoundRequestBuilder round(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - return new WorkbookFunctionsRoundRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.round"), getClient(), null, number, numDigits); - } - - public IWorkbookFunctionsRoundDownRequestBuilder roundDown(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - return new WorkbookFunctionsRoundDownRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.roundDown"), getClient(), null, number, numDigits); - } - - public IWorkbookFunctionsRoundUpRequestBuilder roundUp(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - return new WorkbookFunctionsRoundUpRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.roundUp"), getClient(), null, number, numDigits); - } - - public IWorkbookFunctionsRowsRequestBuilder rows(final com.google.gson.JsonElement array) { - return new WorkbookFunctionsRowsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rows"), getClient(), null, array); - } - - public IWorkbookFunctionsRriRequestBuilder rri(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { - return new WorkbookFunctionsRriRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rri"), getClient(), null, nper, pv, fv); - } - - public IWorkbookFunctionsSecRequestBuilder sec(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSecRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sec"), getClient(), null, number); - } - - public IWorkbookFunctionsSechRequestBuilder sech(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSechRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sech"), getClient(), null, number); - } - - public IWorkbookFunctionsSecondRequestBuilder second(final com.google.gson.JsonElement serialNumber) { - return new WorkbookFunctionsSecondRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.second"), getClient(), null, serialNumber); - } - - public IWorkbookFunctionsSeriesSumRequestBuilder seriesSum(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n, final com.google.gson.JsonElement m, final com.google.gson.JsonElement coefficients) { - return new WorkbookFunctionsSeriesSumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.seriesSum"), getClient(), null, x, n, m, coefficients); - } - - public IWorkbookFunctionsSheetRequestBuilder sheet(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsSheetRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sheet"), getClient(), null, value); - } - - public IWorkbookFunctionsSheetsRequestBuilder sheets(final com.google.gson.JsonElement reference) { - return new WorkbookFunctionsSheetsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sheets"), getClient(), null, reference); - } - - public IWorkbookFunctionsSignRequestBuilder sign(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSignRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sign"), getClient(), null, number); - } - - public IWorkbookFunctionsSinRequestBuilder sin(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSinRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sin"), getClient(), null, number); - } - - public IWorkbookFunctionsSinhRequestBuilder sinh(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSinhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sinh"), getClient(), null, number); - } - - public IWorkbookFunctionsSkewRequestBuilder skew(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsSkewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.skew"), getClient(), null, values); - } - - public IWorkbookFunctionsSkew_pRequestBuilder skew_p(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsSkew_pRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.skew_p"), getClient(), null, values); - } - - public IWorkbookFunctionsSlnRequestBuilder sln(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life) { - return new WorkbookFunctionsSlnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sln"), getClient(), null, cost, salvage, life); - } - - public IWorkbookFunctionsSmallRequestBuilder small(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - return new WorkbookFunctionsSmallRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.small"), getClient(), null, array, k); - } - - public IWorkbookFunctionsSqrtRequestBuilder sqrt(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSqrtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sqrt"), getClient(), null, number); - } - - public IWorkbookFunctionsSqrtPiRequestBuilder sqrtPi(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsSqrtPiRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sqrtPi"), getClient(), null, number); - } - - public IWorkbookFunctionsStDevARequestBuilder stDevA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsStDevARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDevA"), getClient(), null, values); - } - - public IWorkbookFunctionsStDevPARequestBuilder stDevPA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsStDevPARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDevPA"), getClient(), null, values); - } - - public IWorkbookFunctionsStDev_PRequestBuilder stDev_P(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsStDev_PRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDev_P"), getClient(), null, values); - } - - public IWorkbookFunctionsStDev_SRequestBuilder stDev_S(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsStDev_SRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stDev_S"), getClient(), null, values); - } - - public IWorkbookFunctionsStandardizeRequestBuilder standardize(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - return new WorkbookFunctionsStandardizeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.standardize"), getClient(), null, x, mean, standardDev); - } - - public IWorkbookFunctionsSubstituteRequestBuilder substitute(final com.google.gson.JsonElement text, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement newText, final com.google.gson.JsonElement instanceNum) { - return new WorkbookFunctionsSubstituteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.substitute"), getClient(), null, text, oldText, newText, instanceNum); - } - - public IWorkbookFunctionsSubtotalRequestBuilder subtotal(final com.google.gson.JsonElement functionNum, final com.google.gson.JsonElement values) { - return new WorkbookFunctionsSubtotalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.subtotal"), getClient(), null, functionNum, values); - } - - public IWorkbookFunctionsSumRequestBuilder sum(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsSumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sum"), getClient(), null, values); - } - - public IWorkbookFunctionsSumIfRequestBuilder sumIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement sumRange) { - return new WorkbookFunctionsSumIfRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sumIf"), getClient(), null, range, criteria, sumRange); - } - - public IWorkbookFunctionsSumIfsRequestBuilder sumIfs(final com.google.gson.JsonElement sumRange, final com.google.gson.JsonElement values) { - return new WorkbookFunctionsSumIfsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sumIfs"), getClient(), null, sumRange, values); - } - - public IWorkbookFunctionsSumSqRequestBuilder sumSq(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsSumSqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sumSq"), getClient(), null, values); - } - - public IWorkbookFunctionsSydRequestBuilder syd(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement per) { - return new WorkbookFunctionsSydRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.syd"), getClient(), null, cost, salvage, life, per); - } - - public IWorkbookFunctionsTRequestBuilder t(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t"), getClient(), null, value); - } - - public IWorkbookFunctionsTbillEqRequestBuilder tbillEq(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { - return new WorkbookFunctionsTbillEqRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tbillEq"), getClient(), null, settlement, maturity, discount); - } - - public IWorkbookFunctionsTbillPriceRequestBuilder tbillPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { - return new WorkbookFunctionsTbillPriceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tbillPrice"), getClient(), null, settlement, maturity, discount); - } - - public IWorkbookFunctionsTbillYieldRequestBuilder tbillYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr) { - return new WorkbookFunctionsTbillYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tbillYield"), getClient(), null, settlement, maturity, pr); - } - - public IWorkbookFunctionsT_DistRequestBuilder t_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsT_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Dist"), getClient(), null, x, degFreedom, cumulative); - } - - public IWorkbookFunctionsT_Dist_2TRequestBuilder t_Dist_2T(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsT_Dist_2TRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Dist_2T"), getClient(), null, x, degFreedom); - } - - public IWorkbookFunctionsT_Dist_RTRequestBuilder t_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsT_Dist_RTRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Dist_RT"), getClient(), null, x, degFreedom); - } - - public IWorkbookFunctionsT_InvRequestBuilder t_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsT_InvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Inv"), getClient(), null, probability, degFreedom); - } - - public IWorkbookFunctionsT_Inv_2TRequestBuilder t_Inv_2T(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - return new WorkbookFunctionsT_Inv_2TRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.t_Inv_2T"), getClient(), null, probability, degFreedom); - } - - public IWorkbookFunctionsTanRequestBuilder tan(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsTanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tan"), getClient(), null, number); - } - - public IWorkbookFunctionsTanhRequestBuilder tanh(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsTanhRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tanh"), getClient(), null, number); - } - - public IWorkbookFunctionsTextRequestBuilder text(final com.google.gson.JsonElement value, final com.google.gson.JsonElement formatText) { - return new WorkbookFunctionsTextRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.text"), getClient(), null, value, formatText); - } - - public IWorkbookFunctionsTimeRequestBuilder time(final com.google.gson.JsonElement hour, final com.google.gson.JsonElement minute, final com.google.gson.JsonElement second) { - return new WorkbookFunctionsTimeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.time"), getClient(), null, hour, minute, second); - } - - public IWorkbookFunctionsTimevalueRequestBuilder timevalue(final com.google.gson.JsonElement timeText) { - return new WorkbookFunctionsTimevalueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.timevalue"), getClient(), null, timeText); - } - - public IWorkbookFunctionsTodayRequestBuilder today() { - return new WorkbookFunctionsTodayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.today"), getClient(), null); - } - - public IWorkbookFunctionsTrimRequestBuilder trim(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsTrimRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.trim"), getClient(), null, text); - } - - public IWorkbookFunctionsTrimMeanRequestBuilder trimMean(final com.google.gson.JsonElement array, final com.google.gson.JsonElement percent) { - return new WorkbookFunctionsTrimMeanRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.trimMean"), getClient(), null, array, percent); - } - - public IWorkbookFunctionsTrueRequestBuilder msgraphTrue() { - return new WorkbookFunctionsTrueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.true"), getClient(), null); - } - - public IWorkbookFunctionsTruncRequestBuilder trunc(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - return new WorkbookFunctionsTruncRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.trunc"), getClient(), null, number, numDigits); - } - - public IWorkbookFunctionsTypeRequestBuilder type(final com.google.gson.JsonElement value) { - return new WorkbookFunctionsTypeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.type"), getClient(), null, value); - } - - public IWorkbookFunctionsUsdollarRequestBuilder usdollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { - return new WorkbookFunctionsUsdollarRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usdollar"), getClient(), null, number, decimals); - } - - public IWorkbookFunctionsUnicharRequestBuilder unichar(final com.google.gson.JsonElement number) { - return new WorkbookFunctionsUnicharRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unichar"), getClient(), null, number); - } - - public IWorkbookFunctionsUnicodeRequestBuilder unicode(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsUnicodeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unicode"), getClient(), null, text); - } - - public IWorkbookFunctionsUpperRequestBuilder upper(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsUpperRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.upper"), getClient(), null, text); - } - - public IWorkbookFunctionsVlookupRequestBuilder vlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement colIndexNum, final com.google.gson.JsonElement rangeLookup) { - return new WorkbookFunctionsVlookupRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.vlookup"), getClient(), null, lookupValue, tableArray, colIndexNum, rangeLookup); - } - - public IWorkbookFunctionsValueRequestBuilder value(final com.google.gson.JsonElement text) { - return new WorkbookFunctionsValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.value"), getClient(), null, text); - } - - public IWorkbookFunctionsVarARequestBuilder varA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsVarARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.varA"), getClient(), null, values); - } - - public IWorkbookFunctionsVarPARequestBuilder varPA(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsVarPARequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.varPA"), getClient(), null, values); - } - - public IWorkbookFunctionsVar_PRequestBuilder var_P(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsVar_PRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.var_P"), getClient(), null, values); - } - - public IWorkbookFunctionsVar_SRequestBuilder var_S(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsVar_SRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.var_S"), getClient(), null, values); - } - - public IWorkbookFunctionsVdbRequestBuilder vdb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement factor, final com.google.gson.JsonElement noSwitch) { - return new WorkbookFunctionsVdbRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.vdb"), getClient(), null, cost, salvage, life, startPeriod, endPeriod, factor, noSwitch); - } - - public IWorkbookFunctionsWeekNumRequestBuilder weekNum(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { - return new WorkbookFunctionsWeekNumRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.weekNum"), getClient(), null, serialNumber, returnType); - } - - public IWorkbookFunctionsWeekdayRequestBuilder weekday(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { - return new WorkbookFunctionsWeekdayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.weekday"), getClient(), null, serialNumber, returnType); - } - - public IWorkbookFunctionsWeibull_DistRequestBuilder weibull_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { - return new WorkbookFunctionsWeibull_DistRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.weibull_Dist"), getClient(), null, x, alpha, beta, cumulative); - } - - public IWorkbookFunctionsWorkDayRequestBuilder workDay(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement holidays) { - return new WorkbookFunctionsWorkDayRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.workDay"), getClient(), null, startDate, days, holidays); - } - - public IWorkbookFunctionsWorkDay_IntlRequestBuilder workDay_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { - return new WorkbookFunctionsWorkDay_IntlRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.workDay_Intl"), getClient(), null, startDate, days, weekend, holidays); - } - - public IWorkbookFunctionsXirrRequestBuilder xirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates, final com.google.gson.JsonElement guess) { - return new WorkbookFunctionsXirrRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.xirr"), getClient(), null, values, dates, guess); - } - - public IWorkbookFunctionsXnpvRequestBuilder xnpv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates) { - return new WorkbookFunctionsXnpvRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.xnpv"), getClient(), null, rate, values, dates); - } - - public IWorkbookFunctionsXorRequestBuilder xor(final com.google.gson.JsonElement values) { - return new WorkbookFunctionsXorRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.xor"), getClient(), null, values); - } - - public IWorkbookFunctionsYearRequestBuilder year(final com.google.gson.JsonElement serialNumber) { - return new WorkbookFunctionsYearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.year"), getClient(), null, serialNumber); - } - - public IWorkbookFunctionsYearFracRequestBuilder yearFrac(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsYearFracRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yearFrac"), getClient(), null, startDate, endDate, basis); - } - - public IWorkbookFunctionsYieldRequestBuilder yield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsYieldRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yield"), getClient(), null, settlement, maturity, rate, pr, redemption, frequency, basis); - } - - public IWorkbookFunctionsYieldDiscRequestBuilder yieldDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsYieldDiscRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yieldDisc"), getClient(), null, settlement, maturity, pr, redemption, basis); - } - - public IWorkbookFunctionsYieldMatRequestBuilder yieldMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement basis) { - return new WorkbookFunctionsYieldMatRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.yieldMat"), getClient(), null, settlement, maturity, issue, rate, pr, basis); - } - - public IWorkbookFunctionsZ_TestRequestBuilder z_Test(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement sigma) { - return new WorkbookFunctionsZ_TestRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.z_Test"), getClient(), null, array, x, sigma); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequest.java deleted file mode 100644 index 9112a23d915..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRightBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Right Request. - */ -public class BaseWorkbookFunctionsRightRequest extends BaseRequest implements IBaseWorkbookFunctionsRightRequest { - protected final WorkbookFunctionsRightBody body; - - /** - * The request for this WorkbookFunctionsRight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRightRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRightBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRightRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRightRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRightRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRightRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRightRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRightRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequestBuilder.java deleted file mode 100644 index 88ba8d7fb9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Right Request Builder. - */ -public class BaseWorkbookFunctionsRightRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRight - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param numChars the numChars - */ - public BaseWorkbookFunctionsRightRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("numChars", numChars); - } - - /** - * Creates the IWorkbookFunctionsRightRequest - * - * @return the IWorkbookFunctionsRightRequest instance - */ - public IWorkbookFunctionsRightRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRightRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRightRequest instance - */ - public IWorkbookFunctionsRightRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRightRequest request = new WorkbookFunctionsRightRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("numChars")) { - request.body.numChars = getParameter("numChars"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequest.java deleted file mode 100644 index 8c2341a1947..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRightbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rightb Request. - */ -public class BaseWorkbookFunctionsRightbRequest extends BaseRequest implements IBaseWorkbookFunctionsRightbRequest { - protected final WorkbookFunctionsRightbBody body; - - /** - * The request for this WorkbookFunctionsRightb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRightbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRightbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRightbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRightbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRightbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRightbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRightbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRightbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequestBuilder.java deleted file mode 100644 index 0edc83cb05e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRightbRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRightbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rightb Request Builder. - */ -public class BaseWorkbookFunctionsRightbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRightb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param numBytes the numBytes - */ - public BaseWorkbookFunctionsRightbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("numBytes", numBytes); - } - - /** - * Creates the IWorkbookFunctionsRightbRequest - * - * @return the IWorkbookFunctionsRightbRequest instance - */ - public IWorkbookFunctionsRightbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRightbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRightbRequest instance - */ - public IWorkbookFunctionsRightbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRightbRequest request = new WorkbookFunctionsRightbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("numBytes")) { - request.body.numBytes = getParameter("numBytes"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequest.java deleted file mode 100644 index 1fb4a7165d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRomanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRomanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Roman Request. - */ -public class BaseWorkbookFunctionsRomanRequest extends BaseRequest implements IBaseWorkbookFunctionsRomanRequest { - protected final WorkbookFunctionsRomanBody body; - - /** - * The request for this WorkbookFunctionsRoman - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRomanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRomanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRomanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRomanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRomanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRomanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRomanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRomanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequestBuilder.java deleted file mode 100644 index 99c99bcbf79..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRomanRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRomanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Roman Request Builder. - */ -public class BaseWorkbookFunctionsRomanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRoman - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param form the form - */ - public BaseWorkbookFunctionsRomanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement form) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("form", form); - } - - /** - * Creates the IWorkbookFunctionsRomanRequest - * - * @return the IWorkbookFunctionsRomanRequest instance - */ - public IWorkbookFunctionsRomanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRomanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRomanRequest instance - */ - public IWorkbookFunctionsRomanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRomanRequest request = new WorkbookFunctionsRomanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("form")) { - request.body.form = getParameter("form"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequest.java deleted file mode 100644 index 91d89a686de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRoundDownBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundDownRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Down Request. - */ -public class BaseWorkbookFunctionsRoundDownRequest extends BaseRequest implements IBaseWorkbookFunctionsRoundDownRequest { - protected final WorkbookFunctionsRoundDownBody body; - - /** - * The request for this WorkbookFunctionsRoundDown - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRoundDownRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRoundDownBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRoundDownRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRoundDownRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRoundDownRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRoundDownRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRoundDownRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRoundDownRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequestBuilder.java deleted file mode 100644 index 5caa12757cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundDownRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundDownRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Down Request Builder. - */ -public class BaseWorkbookFunctionsRoundDownRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRoundDown - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numDigits the numDigits - */ - public BaseWorkbookFunctionsRoundDownRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numDigits", numDigits); - } - - /** - * Creates the IWorkbookFunctionsRoundDownRequest - * - * @return the IWorkbookFunctionsRoundDownRequest instance - */ - public IWorkbookFunctionsRoundDownRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRoundDownRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRoundDownRequest instance - */ - public IWorkbookFunctionsRoundDownRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRoundDownRequest request = new WorkbookFunctionsRoundDownRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numDigits")) { - request.body.numDigits = getParameter("numDigits"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequest.java deleted file mode 100644 index f29a461793a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRoundBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Request. - */ -public class BaseWorkbookFunctionsRoundRequest extends BaseRequest implements IBaseWorkbookFunctionsRoundRequest { - protected final WorkbookFunctionsRoundBody body; - - /** - * The request for this WorkbookFunctionsRound - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRoundRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRoundBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRoundRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRoundRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRoundRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRoundRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRoundRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRoundRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequestBuilder.java deleted file mode 100644 index 8ed116102bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Request Builder. - */ -public class BaseWorkbookFunctionsRoundRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRound - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numDigits the numDigits - */ - public BaseWorkbookFunctionsRoundRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numDigits", numDigits); - } - - /** - * Creates the IWorkbookFunctionsRoundRequest - * - * @return the IWorkbookFunctionsRoundRequest instance - */ - public IWorkbookFunctionsRoundRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRoundRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRoundRequest instance - */ - public IWorkbookFunctionsRoundRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRoundRequest request = new WorkbookFunctionsRoundRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numDigits")) { - request.body.numDigits = getParameter("numDigits"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequest.java deleted file mode 100644 index 6775f67f77d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRoundUpBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundUpRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Up Request. - */ -public class BaseWorkbookFunctionsRoundUpRequest extends BaseRequest implements IBaseWorkbookFunctionsRoundUpRequest { - protected final WorkbookFunctionsRoundUpBody body; - - /** - * The request for this WorkbookFunctionsRoundUp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRoundUpRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRoundUpBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRoundUpRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRoundUpRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRoundUpRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRoundUpRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRoundUpRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRoundUpRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequestBuilder.java deleted file mode 100644 index b956267bd64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRoundUpRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRoundUpRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Round Up Request Builder. - */ -public class BaseWorkbookFunctionsRoundUpRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRoundUp - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numDigits the numDigits - */ - public BaseWorkbookFunctionsRoundUpRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numDigits", numDigits); - } - - /** - * Creates the IWorkbookFunctionsRoundUpRequest - * - * @return the IWorkbookFunctionsRoundUpRequest instance - */ - public IWorkbookFunctionsRoundUpRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRoundUpRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRoundUpRequest instance - */ - public IWorkbookFunctionsRoundUpRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRoundUpRequest request = new WorkbookFunctionsRoundUpRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numDigits")) { - request.body.numDigits = getParameter("numDigits"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequest.java deleted file mode 100644 index c44b2817b65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRowsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRowsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rows Request. - */ -public class BaseWorkbookFunctionsRowsRequest extends BaseRequest implements IBaseWorkbookFunctionsRowsRequest { - protected final WorkbookFunctionsRowsBody body; - - /** - * The request for this WorkbookFunctionsRows - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRowsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRowsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRowsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRowsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRowsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRowsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRowsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRowsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequestBuilder.java deleted file mode 100644 index 1d3b2b39f22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRowsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRowsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rows Request Builder. - */ -public class BaseWorkbookFunctionsRowsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRows - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - */ - public BaseWorkbookFunctionsRowsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - } - - /** - * Creates the IWorkbookFunctionsRowsRequest - * - * @return the IWorkbookFunctionsRowsRequest instance - */ - public IWorkbookFunctionsRowsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRowsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRowsRequest instance - */ - public IWorkbookFunctionsRowsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRowsRequest request = new WorkbookFunctionsRowsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequest.java deleted file mode 100644 index 43f62b4e405..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsRriBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRriRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rri Request. - */ -public class BaseWorkbookFunctionsRriRequest extends BaseRequest implements IBaseWorkbookFunctionsRriRequest { - protected final WorkbookFunctionsRriBody body; - - /** - * The request for this WorkbookFunctionsRri - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsRriRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsRriBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsRriRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsRriRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsRriRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsRriRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsRriRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsRriRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequestBuilder.java deleted file mode 100644 index c87cc683288..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsRriRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRriRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Rri Request Builder. - */ -public class BaseWorkbookFunctionsRriRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsRri - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param nper the nper - * @param pv the pv - * @param fv the fv - */ - public BaseWorkbookFunctionsRriRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv) { - super(requestUrl, client, requestOptions); - bodyParams.put("nper", nper); - bodyParams.put("pv", pv); - bodyParams.put("fv", fv); - } - - /** - * Creates the IWorkbookFunctionsRriRequest - * - * @return the IWorkbookFunctionsRriRequest instance - */ - public IWorkbookFunctionsRriRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsRriRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRriRequest instance - */ - public IWorkbookFunctionsRriRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsRriRequest request = new WorkbookFunctionsRriRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("nper")) { - request.body.nper = getParameter("nper"); - } - - if (hasParameter("pv")) { - request.body.pv = getParameter("pv"); - } - - if (hasParameter("fv")) { - request.body.fv = getParameter("fv"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequest.java deleted file mode 100644 index a22e98b493a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSecBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sec Request. - */ -public class BaseWorkbookFunctionsSecRequest extends BaseRequest implements IBaseWorkbookFunctionsSecRequest { - protected final WorkbookFunctionsSecBody body; - - /** - * The request for this WorkbookFunctionsSec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSecRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSecBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSecRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSecRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSecRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSecRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSecRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSecRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequestBuilder.java deleted file mode 100644 index 881c26fa925..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sec Request Builder. - */ -public class BaseWorkbookFunctionsSecRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSec - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSecRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSecRequest - * - * @return the IWorkbookFunctionsSecRequest instance - */ - public IWorkbookFunctionsSecRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSecRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSecRequest instance - */ - public IWorkbookFunctionsSecRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSecRequest request = new WorkbookFunctionsSecRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequest.java deleted file mode 100644 index ec6859b21f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSechBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSechRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sech Request. - */ -public class BaseWorkbookFunctionsSechRequest extends BaseRequest implements IBaseWorkbookFunctionsSechRequest { - protected final WorkbookFunctionsSechBody body; - - /** - * The request for this WorkbookFunctionsSech - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSechRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSechBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSechRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSechRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSechRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSechRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSechRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSechRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequestBuilder.java deleted file mode 100644 index 13a4e6aa0ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSechRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSechRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sech Request Builder. - */ -public class BaseWorkbookFunctionsSechRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSech - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSechRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSechRequest - * - * @return the IWorkbookFunctionsSechRequest instance - */ - public IWorkbookFunctionsSechRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSechRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSechRequest instance - */ - public IWorkbookFunctionsSechRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSechRequest request = new WorkbookFunctionsSechRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequest.java deleted file mode 100644 index 24c3a6a03b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSecondBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecondRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Second Request. - */ -public class BaseWorkbookFunctionsSecondRequest extends BaseRequest implements IBaseWorkbookFunctionsSecondRequest { - protected final WorkbookFunctionsSecondBody body; - - /** - * The request for this WorkbookFunctionsSecond - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSecondRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSecondBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSecondRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSecondRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSecondRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSecondRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSecondRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSecondRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequestBuilder.java deleted file mode 100644 index 1c58b7dcae9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSecondRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSecondRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Second Request Builder. - */ -public class BaseWorkbookFunctionsSecondRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSecond - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - */ - public BaseWorkbookFunctionsSecondRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - } - - /** - * Creates the IWorkbookFunctionsSecondRequest - * - * @return the IWorkbookFunctionsSecondRequest instance - */ - public IWorkbookFunctionsSecondRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSecondRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSecondRequest instance - */ - public IWorkbookFunctionsSecondRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSecondRequest request = new WorkbookFunctionsSecondRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequest.java deleted file mode 100644 index f1cfcc9f870..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSeriesSumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSeriesSumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Series Sum Request. - */ -public class BaseWorkbookFunctionsSeriesSumRequest extends BaseRequest implements IBaseWorkbookFunctionsSeriesSumRequest { - protected final WorkbookFunctionsSeriesSumBody body; - - /** - * The request for this WorkbookFunctionsSeriesSum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSeriesSumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSeriesSumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSeriesSumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSeriesSumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSeriesSumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSeriesSumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSeriesSumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSeriesSumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequestBuilder.java deleted file mode 100644 index 48db04092d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSeriesSumRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSeriesSumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Series Sum Request Builder. - */ -public class BaseWorkbookFunctionsSeriesSumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSeriesSum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param n the n - * @param m the m - * @param coefficients the coefficients - */ - public BaseWorkbookFunctionsSeriesSumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement n, final com.google.gson.JsonElement m, final com.google.gson.JsonElement coefficients) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("n", n); - bodyParams.put("m", m); - bodyParams.put("coefficients", coefficients); - } - - /** - * Creates the IWorkbookFunctionsSeriesSumRequest - * - * @return the IWorkbookFunctionsSeriesSumRequest instance - */ - public IWorkbookFunctionsSeriesSumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSeriesSumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSeriesSumRequest instance - */ - public IWorkbookFunctionsSeriesSumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSeriesSumRequest request = new WorkbookFunctionsSeriesSumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("n")) { - request.body.n = getParameter("n"); - } - - if (hasParameter("m")) { - request.body.m = getParameter("m"); - } - - if (hasParameter("coefficients")) { - request.body.coefficients = getParameter("coefficients"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequest.java deleted file mode 100644 index 080055a2499..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSheetBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sheet Request. - */ -public class BaseWorkbookFunctionsSheetRequest extends BaseRequest implements IBaseWorkbookFunctionsSheetRequest { - protected final WorkbookFunctionsSheetBody body; - - /** - * The request for this WorkbookFunctionsSheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSheetRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSheetBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSheetRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSheetRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSheetRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSheetRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSheetRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSheetRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequestBuilder.java deleted file mode 100644 index 10a6a011cf5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sheet Request Builder. - */ -public class BaseWorkbookFunctionsSheetRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsSheetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsSheetRequest - * - * @return the IWorkbookFunctionsSheetRequest instance - */ - public IWorkbookFunctionsSheetRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSheetRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSheetRequest instance - */ - public IWorkbookFunctionsSheetRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSheetRequest request = new WorkbookFunctionsSheetRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequest.java deleted file mode 100644 index 1cd0cb71800..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSheetsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sheets Request. - */ -public class BaseWorkbookFunctionsSheetsRequest extends BaseRequest implements IBaseWorkbookFunctionsSheetsRequest { - protected final WorkbookFunctionsSheetsBody body; - - /** - * The request for this WorkbookFunctionsSheets - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSheetsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSheetsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSheetsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSheetsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSheetsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSheetsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSheetsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSheetsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequestBuilder.java deleted file mode 100644 index 9c4d7f59d60..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSheetsRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSheetsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sheets Request Builder. - */ -public class BaseWorkbookFunctionsSheetsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSheets - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param reference the reference - */ - public BaseWorkbookFunctionsSheetsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement reference) { - super(requestUrl, client, requestOptions); - bodyParams.put("reference", reference); - } - - /** - * Creates the IWorkbookFunctionsSheetsRequest - * - * @return the IWorkbookFunctionsSheetsRequest instance - */ - public IWorkbookFunctionsSheetsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSheetsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSheetsRequest instance - */ - public IWorkbookFunctionsSheetsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSheetsRequest request = new WorkbookFunctionsSheetsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("reference")) { - request.body.reference = getParameter("reference"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequest.java deleted file mode 100644 index 4b7f4c6955a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSignBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sign Request. - */ -public class BaseWorkbookFunctionsSignRequest extends BaseRequest implements IBaseWorkbookFunctionsSignRequest { - protected final WorkbookFunctionsSignBody body; - - /** - * The request for this WorkbookFunctionsSign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSignRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSignBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSignRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSignRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSignRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSignRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSignRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSignRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequestBuilder.java deleted file mode 100644 index 134d08825d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSignRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSignRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sign Request Builder. - */ -public class BaseWorkbookFunctionsSignRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSign - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSignRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSignRequest - * - * @return the IWorkbookFunctionsSignRequest instance - */ - public IWorkbookFunctionsSignRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSignRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSignRequest instance - */ - public IWorkbookFunctionsSignRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSignRequest request = new WorkbookFunctionsSignRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequest.java deleted file mode 100644 index e8bb76833b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSinBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sin Request. - */ -public class BaseWorkbookFunctionsSinRequest extends BaseRequest implements IBaseWorkbookFunctionsSinRequest { - protected final WorkbookFunctionsSinBody body; - - /** - * The request for this WorkbookFunctionsSin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSinRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSinBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSinRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSinRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSinRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSinRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSinRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSinRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequestBuilder.java deleted file mode 100644 index a41e23c41a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sin Request Builder. - */ -public class BaseWorkbookFunctionsSinRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSin - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSinRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSinRequest - * - * @return the IWorkbookFunctionsSinRequest instance - */ - public IWorkbookFunctionsSinRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSinRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSinRequest instance - */ - public IWorkbookFunctionsSinRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSinRequest request = new WorkbookFunctionsSinRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequest.java deleted file mode 100644 index 1e5511e3dd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSinhBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sinh Request. - */ -public class BaseWorkbookFunctionsSinhRequest extends BaseRequest implements IBaseWorkbookFunctionsSinhRequest { - protected final WorkbookFunctionsSinhBody body; - - /** - * The request for this WorkbookFunctionsSinh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSinhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSinhBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSinhRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSinhRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSinhRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSinhRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSinhRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSinhRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequestBuilder.java deleted file mode 100644 index 49bc4ecc5e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSinhRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSinhRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sinh Request Builder. - */ -public class BaseWorkbookFunctionsSinhRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSinh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSinhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSinhRequest - * - * @return the IWorkbookFunctionsSinhRequest instance - */ - public IWorkbookFunctionsSinhRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSinhRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSinhRequest instance - */ - public IWorkbookFunctionsSinhRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSinhRequest request = new WorkbookFunctionsSinhRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequest.java deleted file mode 100644 index 40504dd2288..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSkewBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Skew Request. - */ -public class BaseWorkbookFunctionsSkewRequest extends BaseRequest implements IBaseWorkbookFunctionsSkewRequest { - protected final WorkbookFunctionsSkewBody body; - - /** - * The request for this WorkbookFunctionsSkew - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSkewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSkewBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSkewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSkewRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSkewRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSkewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSkewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSkewRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequestBuilder.java deleted file mode 100644 index 5fd07145770..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkewRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkewRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Skew Request Builder. - */ -public class BaseWorkbookFunctionsSkewRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSkew - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsSkewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsSkewRequest - * - * @return the IWorkbookFunctionsSkewRequest instance - */ - public IWorkbookFunctionsSkewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSkewRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSkewRequest instance - */ - public IWorkbookFunctionsSkewRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSkewRequest request = new WorkbookFunctionsSkewRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequest.java deleted file mode 100644 index 9b4567b2026..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSkew_pBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkew_pRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Skew_p Request. - */ -public class BaseWorkbookFunctionsSkew_pRequest extends BaseRequest implements IBaseWorkbookFunctionsSkew_pRequest { - protected final WorkbookFunctionsSkew_pBody body; - - /** - * The request for this WorkbookFunctionsSkew_p - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSkew_pRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSkew_pBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSkew_pRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSkew_pRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSkew_pRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSkew_pRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSkew_pRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSkew_pRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequestBuilder.java deleted file mode 100644 index ffbc82f7454..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSkew_pRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSkew_pRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Skew_p Request Builder. - */ -public class BaseWorkbookFunctionsSkew_pRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSkew_p - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsSkew_pRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsSkew_pRequest - * - * @return the IWorkbookFunctionsSkew_pRequest instance - */ - public IWorkbookFunctionsSkew_pRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSkew_pRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSkew_pRequest instance - */ - public IWorkbookFunctionsSkew_pRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSkew_pRequest request = new WorkbookFunctionsSkew_pRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequest.java deleted file mode 100644 index 63e4c791240..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSlnBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSlnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sln Request. - */ -public class BaseWorkbookFunctionsSlnRequest extends BaseRequest implements IBaseWorkbookFunctionsSlnRequest { - protected final WorkbookFunctionsSlnBody body; - - /** - * The request for this WorkbookFunctionsSln - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSlnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSlnBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSlnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSlnRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSlnRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSlnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSlnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSlnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequestBuilder.java deleted file mode 100644 index 28ba9139186..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSlnRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSlnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sln Request Builder. - */ -public class BaseWorkbookFunctionsSlnRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSln - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param salvage the salvage - * @param life the life - */ - public BaseWorkbookFunctionsSlnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("salvage", salvage); - bodyParams.put("life", life); - } - - /** - * Creates the IWorkbookFunctionsSlnRequest - * - * @return the IWorkbookFunctionsSlnRequest instance - */ - public IWorkbookFunctionsSlnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSlnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSlnRequest instance - */ - public IWorkbookFunctionsSlnRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSlnRequest request = new WorkbookFunctionsSlnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("life")) { - request.body.life = getParameter("life"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequest.java deleted file mode 100644 index 20fae87d9b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSmallBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSmallRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Small Request. - */ -public class BaseWorkbookFunctionsSmallRequest extends BaseRequest implements IBaseWorkbookFunctionsSmallRequest { - protected final WorkbookFunctionsSmallBody body; - - /** - * The request for this WorkbookFunctionsSmall - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSmallRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSmallBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSmallRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSmallRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSmallRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSmallRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSmallRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSmallRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequestBuilder.java deleted file mode 100644 index c6eabb605a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSmallRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSmallRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Small Request Builder. - */ -public class BaseWorkbookFunctionsSmallRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSmall - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param k the k - */ - public BaseWorkbookFunctionsSmallRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement k) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("k", k); - } - - /** - * Creates the IWorkbookFunctionsSmallRequest - * - * @return the IWorkbookFunctionsSmallRequest instance - */ - public IWorkbookFunctionsSmallRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSmallRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSmallRequest instance - */ - public IWorkbookFunctionsSmallRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSmallRequest request = new WorkbookFunctionsSmallRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("k")) { - request.body.k = getParameter("k"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequest.java deleted file mode 100644 index 190cee71c78..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSqrtPiBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtPiRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sqrt Pi Request. - */ -public class BaseWorkbookFunctionsSqrtPiRequest extends BaseRequest implements IBaseWorkbookFunctionsSqrtPiRequest { - protected final WorkbookFunctionsSqrtPiBody body; - - /** - * The request for this WorkbookFunctionsSqrtPi - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSqrtPiRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSqrtPiBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSqrtPiRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSqrtPiRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSqrtPiRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSqrtPiRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSqrtPiRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSqrtPiRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequestBuilder.java deleted file mode 100644 index 50a387fb79f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtPiRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtPiRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sqrt Pi Request Builder. - */ -public class BaseWorkbookFunctionsSqrtPiRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSqrtPi - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSqrtPiRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSqrtPiRequest - * - * @return the IWorkbookFunctionsSqrtPiRequest instance - */ - public IWorkbookFunctionsSqrtPiRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSqrtPiRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSqrtPiRequest instance - */ - public IWorkbookFunctionsSqrtPiRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSqrtPiRequest request = new WorkbookFunctionsSqrtPiRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequest.java deleted file mode 100644 index c89b38128a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSqrtBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sqrt Request. - */ -public class BaseWorkbookFunctionsSqrtRequest extends BaseRequest implements IBaseWorkbookFunctionsSqrtRequest { - protected final WorkbookFunctionsSqrtBody body; - - /** - * The request for this WorkbookFunctionsSqrt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSqrtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSqrtBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSqrtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSqrtRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSqrtRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSqrtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSqrtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSqrtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequestBuilder.java deleted file mode 100644 index f0b3c1f7af4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSqrtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSqrtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sqrt Request Builder. - */ -public class BaseWorkbookFunctionsSqrtRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSqrt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsSqrtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsSqrtRequest - * - * @return the IWorkbookFunctionsSqrtRequest instance - */ - public IWorkbookFunctionsSqrtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSqrtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSqrtRequest instance - */ - public IWorkbookFunctionsSqrtRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSqrtRequest request = new WorkbookFunctionsSqrtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequest.java deleted file mode 100644 index 75bfa4209bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsStDevABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev ARequest. - */ -public class BaseWorkbookFunctionsStDevARequest extends BaseRequest implements IBaseWorkbookFunctionsStDevARequest { - protected final WorkbookFunctionsStDevABody body; - - /** - * The request for this WorkbookFunctionsStDevA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsStDevARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsStDevABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsStDevARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsStDevARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsStDevARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsStDevARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsStDevARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsStDevARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequestBuilder.java deleted file mode 100644 index 40b353eaafe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev ARequest Builder. - */ -public class BaseWorkbookFunctionsStDevARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsStDevA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsStDevARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsStDevARequest - * - * @return the IWorkbookFunctionsStDevARequest instance - */ - public IWorkbookFunctionsStDevARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsStDevARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDevARequest instance - */ - public IWorkbookFunctionsStDevARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsStDevARequest request = new WorkbookFunctionsStDevARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequest.java deleted file mode 100644 index b8b58534d9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsStDevPABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevPARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev PARequest. - */ -public class BaseWorkbookFunctionsStDevPARequest extends BaseRequest implements IBaseWorkbookFunctionsStDevPARequest { - protected final WorkbookFunctionsStDevPABody body; - - /** - * The request for this WorkbookFunctionsStDevPA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsStDevPARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsStDevPABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsStDevPARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsStDevPARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsStDevPARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsStDevPARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsStDevPARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsStDevPARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequestBuilder.java deleted file mode 100644 index 1d90c946dd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDevPARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDevPARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev PARequest Builder. - */ -public class BaseWorkbookFunctionsStDevPARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsStDevPA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsStDevPARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsStDevPARequest - * - * @return the IWorkbookFunctionsStDevPARequest instance - */ - public IWorkbookFunctionsStDevPARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsStDevPARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDevPARequest instance - */ - public IWorkbookFunctionsStDevPARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsStDevPARequest request = new WorkbookFunctionsStDevPARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequest.java deleted file mode 100644 index 45af65781e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsStDev_PBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_PRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev_PRequest. - */ -public class BaseWorkbookFunctionsStDev_PRequest extends BaseRequest implements IBaseWorkbookFunctionsStDev_PRequest { - protected final WorkbookFunctionsStDev_PBody body; - - /** - * The request for this WorkbookFunctionsStDev_P - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsStDev_PRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsStDev_PBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsStDev_PRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsStDev_PRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsStDev_PRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsStDev_PRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsStDev_PRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsStDev_PRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequestBuilder.java deleted file mode 100644 index c691f20e7d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_PRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_PRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev_PRequest Builder. - */ -public class BaseWorkbookFunctionsStDev_PRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsStDev_P - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsStDev_PRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsStDev_PRequest - * - * @return the IWorkbookFunctionsStDev_PRequest instance - */ - public IWorkbookFunctionsStDev_PRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsStDev_PRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDev_PRequest instance - */ - public IWorkbookFunctionsStDev_PRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsStDev_PRequest request = new WorkbookFunctionsStDev_PRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequest.java deleted file mode 100644 index f070217f1ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsStDev_SBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_SRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev_SRequest. - */ -public class BaseWorkbookFunctionsStDev_SRequest extends BaseRequest implements IBaseWorkbookFunctionsStDev_SRequest { - protected final WorkbookFunctionsStDev_SBody body; - - /** - * The request for this WorkbookFunctionsStDev_S - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsStDev_SRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsStDev_SBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsStDev_SRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsStDev_SRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsStDev_SRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsStDev_SRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsStDev_SRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsStDev_SRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequestBuilder.java deleted file mode 100644 index df67420e447..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStDev_SRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStDev_SRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions St Dev_SRequest Builder. - */ -public class BaseWorkbookFunctionsStDev_SRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsStDev_S - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsStDev_SRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsStDev_SRequest - * - * @return the IWorkbookFunctionsStDev_SRequest instance - */ - public IWorkbookFunctionsStDev_SRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsStDev_SRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDev_SRequest instance - */ - public IWorkbookFunctionsStDev_SRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsStDev_SRequest request = new WorkbookFunctionsStDev_SRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequest.java deleted file mode 100644 index fca369b0af4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsStandardizeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStandardizeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Standardize Request. - */ -public class BaseWorkbookFunctionsStandardizeRequest extends BaseRequest implements IBaseWorkbookFunctionsStandardizeRequest { - protected final WorkbookFunctionsStandardizeBody body; - - /** - * The request for this WorkbookFunctionsStandardize - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsStandardizeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsStandardizeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsStandardizeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsStandardizeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsStandardizeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsStandardizeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsStandardizeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsStandardizeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequestBuilder.java deleted file mode 100644 index fe1be829cb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsStandardizeRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsStandardizeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Standardize Request Builder. - */ -public class BaseWorkbookFunctionsStandardizeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsStandardize - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param mean the mean - * @param standardDev the standardDev - */ - public BaseWorkbookFunctionsStandardizeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("mean", mean); - bodyParams.put("standardDev", standardDev); - } - - /** - * Creates the IWorkbookFunctionsStandardizeRequest - * - * @return the IWorkbookFunctionsStandardizeRequest instance - */ - public IWorkbookFunctionsStandardizeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsStandardizeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStandardizeRequest instance - */ - public IWorkbookFunctionsStandardizeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsStandardizeRequest request = new WorkbookFunctionsStandardizeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("mean")) { - request.body.mean = getParameter("mean"); - } - - if (hasParameter("standardDev")) { - request.body.standardDev = getParameter("standardDev"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequest.java deleted file mode 100644 index 503db275a5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSubstituteBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubstituteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Substitute Request. - */ -public class BaseWorkbookFunctionsSubstituteRequest extends BaseRequest implements IBaseWorkbookFunctionsSubstituteRequest { - protected final WorkbookFunctionsSubstituteBody body; - - /** - * The request for this WorkbookFunctionsSubstitute - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSubstituteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSubstituteBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSubstituteRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSubstituteRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSubstituteRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSubstituteRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSubstituteRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSubstituteRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequestBuilder.java deleted file mode 100644 index 76f0f03b7c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubstituteRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubstituteRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Substitute Request Builder. - */ -public class BaseWorkbookFunctionsSubstituteRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSubstitute - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - * @param oldText the oldText - * @param newText the newText - * @param instanceNum the instanceNum - */ - public BaseWorkbookFunctionsSubstituteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement newText, final com.google.gson.JsonElement instanceNum) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - bodyParams.put("oldText", oldText); - bodyParams.put("newText", newText); - bodyParams.put("instanceNum", instanceNum); - } - - /** - * Creates the IWorkbookFunctionsSubstituteRequest - * - * @return the IWorkbookFunctionsSubstituteRequest instance - */ - public IWorkbookFunctionsSubstituteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSubstituteRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSubstituteRequest instance - */ - public IWorkbookFunctionsSubstituteRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSubstituteRequest request = new WorkbookFunctionsSubstituteRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - if (hasParameter("oldText")) { - request.body.oldText = getParameter("oldText"); - } - - if (hasParameter("newText")) { - request.body.newText = getParameter("newText"); - } - - if (hasParameter("instanceNum")) { - request.body.instanceNum = getParameter("instanceNum"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequest.java deleted file mode 100644 index cf5b58f7103..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSubtotalBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubtotalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Subtotal Request. - */ -public class BaseWorkbookFunctionsSubtotalRequest extends BaseRequest implements IBaseWorkbookFunctionsSubtotalRequest { - protected final WorkbookFunctionsSubtotalBody body; - - /** - * The request for this WorkbookFunctionsSubtotal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSubtotalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSubtotalBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSubtotalRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSubtotalRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSubtotalRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSubtotalRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSubtotalRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSubtotalRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequestBuilder.java deleted file mode 100644 index afd93353bc8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSubtotalRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSubtotalRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Subtotal Request Builder. - */ -public class BaseWorkbookFunctionsSubtotalRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSubtotal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param functionNum the functionNum - * @param values the values - */ - public BaseWorkbookFunctionsSubtotalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement functionNum, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("functionNum", functionNum); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsSubtotalRequest - * - * @return the IWorkbookFunctionsSubtotalRequest instance - */ - public IWorkbookFunctionsSubtotalRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSubtotalRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSubtotalRequest instance - */ - public IWorkbookFunctionsSubtotalRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSubtotalRequest request = new WorkbookFunctionsSubtotalRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("functionNum")) { - request.body.functionNum = getParameter("functionNum"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequest.java deleted file mode 100644 index dffc606d301..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSumIfBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum If Request. - */ -public class BaseWorkbookFunctionsSumIfRequest extends BaseRequest implements IBaseWorkbookFunctionsSumIfRequest { - protected final WorkbookFunctionsSumIfBody body; - - /** - * The request for this WorkbookFunctionsSumIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSumIfRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSumIfBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSumIfRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSumIfRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSumIfRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSumIfRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSumIfRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSumIfRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequestBuilder.java deleted file mode 100644 index da87106fed6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum If Request Builder. - */ -public class BaseWorkbookFunctionsSumIfRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSumIf - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param range the range - * @param criteria the criteria - * @param sumRange the sumRange - */ - public BaseWorkbookFunctionsSumIfRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement sumRange) { - super(requestUrl, client, requestOptions); - bodyParams.put("range", range); - bodyParams.put("criteria", criteria); - bodyParams.put("sumRange", sumRange); - } - - /** - * Creates the IWorkbookFunctionsSumIfRequest - * - * @return the IWorkbookFunctionsSumIfRequest instance - */ - public IWorkbookFunctionsSumIfRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSumIfRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumIfRequest instance - */ - public IWorkbookFunctionsSumIfRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSumIfRequest request = new WorkbookFunctionsSumIfRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("range")) { - request.body.range = getParameter("range"); - } - - if (hasParameter("criteria")) { - request.body.criteria = getParameter("criteria"); - } - - if (hasParameter("sumRange")) { - request.body.sumRange = getParameter("sumRange"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequest.java deleted file mode 100644 index 229d1415999..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSumIfsBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Ifs Request. - */ -public class BaseWorkbookFunctionsSumIfsRequest extends BaseRequest implements IBaseWorkbookFunctionsSumIfsRequest { - protected final WorkbookFunctionsSumIfsBody body; - - /** - * The request for this WorkbookFunctionsSumIfs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSumIfsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSumIfsBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSumIfsRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSumIfsRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSumIfsRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSumIfsRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSumIfsRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSumIfsRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequestBuilder.java deleted file mode 100644 index 5a1c907e3e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumIfsRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumIfsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Ifs Request Builder. - */ -public class BaseWorkbookFunctionsSumIfsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSumIfs - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param sumRange the sumRange - * @param values the values - */ - public BaseWorkbookFunctionsSumIfsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement sumRange, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("sumRange", sumRange); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsSumIfsRequest - * - * @return the IWorkbookFunctionsSumIfsRequest instance - */ - public IWorkbookFunctionsSumIfsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSumIfsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumIfsRequest instance - */ - public IWorkbookFunctionsSumIfsRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSumIfsRequest request = new WorkbookFunctionsSumIfsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("sumRange")) { - request.body.sumRange = getParameter("sumRange"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequest.java deleted file mode 100644 index 3b1a7074a62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Request. - */ -public class BaseWorkbookFunctionsSumRequest extends BaseRequest implements IBaseWorkbookFunctionsSumRequest { - protected final WorkbookFunctionsSumBody body; - - /** - * The request for this WorkbookFunctionsSum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequestBuilder.java deleted file mode 100644 index addd937aa4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Request Builder. - */ -public class BaseWorkbookFunctionsSumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsSumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsSumRequest - * - * @return the IWorkbookFunctionsSumRequest instance - */ - public IWorkbookFunctionsSumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumRequest instance - */ - public IWorkbookFunctionsSumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSumRequest request = new WorkbookFunctionsSumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequest.java deleted file mode 100644 index 18d43a2c455..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSumSqBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumSqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Sq Request. - */ -public class BaseWorkbookFunctionsSumSqRequest extends BaseRequest implements IBaseWorkbookFunctionsSumSqRequest { - protected final WorkbookFunctionsSumSqBody body; - - /** - * The request for this WorkbookFunctionsSumSq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSumSqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSumSqBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSumSqRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSumSqRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSumSqRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSumSqRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSumSqRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSumSqRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequestBuilder.java deleted file mode 100644 index 6aa4ddf8f92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSumSqRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSumSqRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Sum Sq Request Builder. - */ -public class BaseWorkbookFunctionsSumSqRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSumSq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsSumSqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsSumSqRequest - * - * @return the IWorkbookFunctionsSumSqRequest instance - */ - public IWorkbookFunctionsSumSqRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSumSqRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumSqRequest instance - */ - public IWorkbookFunctionsSumSqRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSumSqRequest request = new WorkbookFunctionsSumSqRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequest.java deleted file mode 100644 index bfa385645b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsSydBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSydRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Syd Request. - */ -public class BaseWorkbookFunctionsSydRequest extends BaseRequest implements IBaseWorkbookFunctionsSydRequest { - protected final WorkbookFunctionsSydBody body; - - /** - * The request for this WorkbookFunctionsSyd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsSydRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsSydBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsSydRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsSydRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsSydRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsSydRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsSydRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsSydRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequestBuilder.java deleted file mode 100644 index c1bc7d5b581..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsSydRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsSydRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Syd Request Builder. - */ -public class BaseWorkbookFunctionsSydRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsSyd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param salvage the salvage - * @param life the life - * @param per the per - */ - public BaseWorkbookFunctionsSydRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement per) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("salvage", salvage); - bodyParams.put("life", life); - bodyParams.put("per", per); - } - - /** - * Creates the IWorkbookFunctionsSydRequest - * - * @return the IWorkbookFunctionsSydRequest instance - */ - public IWorkbookFunctionsSydRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsSydRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSydRequest instance - */ - public IWorkbookFunctionsSydRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsSydRequest request = new WorkbookFunctionsSydRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("life")) { - request.body.life = getParameter("life"); - } - - if (hasParameter("per")) { - request.body.per = getParameter("per"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequest.java deleted file mode 100644 index 2b427c2c625..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions TRequest. - */ -public class BaseWorkbookFunctionsTRequest extends BaseRequest implements IBaseWorkbookFunctionsTRequest { - protected final WorkbookFunctionsTBody body; - - /** - * The request for this WorkbookFunctionsT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequestBuilder.java deleted file mode 100644 index 55c5aa6df9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions TRequest Builder. - */ -public class BaseWorkbookFunctionsTRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsTRequest - * - * @return the IWorkbookFunctionsTRequest instance - */ - public IWorkbookFunctionsTRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTRequest instance - */ - public IWorkbookFunctionsTRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTRequest request = new WorkbookFunctionsTRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequest.java deleted file mode 100644 index fb43b4e4c30..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsT_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist Request. - */ -public class BaseWorkbookFunctionsT_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsT_DistRequest { - protected final WorkbookFunctionsT_DistBody body; - - /** - * The request for this WorkbookFunctionsT_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsT_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsT_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsT_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsT_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsT_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsT_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsT_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsT_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequestBuilder.java deleted file mode 100644 index 844be23afb7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_DistRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist Request Builder. - */ -public class BaseWorkbookFunctionsT_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsT_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom the degFreedom - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsT_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom", degFreedom); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsT_DistRequest - * - * @return the IWorkbookFunctionsT_DistRequest instance - */ - public IWorkbookFunctionsT_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsT_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_DistRequest instance - */ - public IWorkbookFunctionsT_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsT_DistRequest request = new WorkbookFunctionsT_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequest.java deleted file mode 100644 index 0d49ddd91cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsT_Dist_2TBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_2TRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist_2TRequest. - */ -public class BaseWorkbookFunctionsT_Dist_2TRequest extends BaseRequest implements IBaseWorkbookFunctionsT_Dist_2TRequest { - protected final WorkbookFunctionsT_Dist_2TBody body; - - /** - * The request for this WorkbookFunctionsT_Dist_2T - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsT_Dist_2TRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsT_Dist_2TBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsT_Dist_2TRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsT_Dist_2TRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsT_Dist_2TRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsT_Dist_2TRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsT_Dist_2TRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsT_Dist_2TRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequestBuilder.java deleted file mode 100644 index 2c90d4b7cb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_2TRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_2TRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist_2TRequest Builder. - */ -public class BaseWorkbookFunctionsT_Dist_2TRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsT_Dist_2T - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsT_Dist_2TRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsT_Dist_2TRequest - * - * @return the IWorkbookFunctionsT_Dist_2TRequest instance - */ - public IWorkbookFunctionsT_Dist_2TRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsT_Dist_2TRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_Dist_2TRequest instance - */ - public IWorkbookFunctionsT_Dist_2TRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsT_Dist_2TRequest request = new WorkbookFunctionsT_Dist_2TRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequest.java deleted file mode 100644 index db552afc8bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsT_Dist_RTBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist_RTRequest. - */ -public class BaseWorkbookFunctionsT_Dist_RTRequest extends BaseRequest implements IBaseWorkbookFunctionsT_Dist_RTRequest { - protected final WorkbookFunctionsT_Dist_RTBody body; - - /** - * The request for this WorkbookFunctionsT_Dist_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsT_Dist_RTRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsT_Dist_RTBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsT_Dist_RTRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsT_Dist_RTRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsT_Dist_RTRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsT_Dist_RTRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsT_Dist_RTRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsT_Dist_RTRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequestBuilder.java deleted file mode 100644 index d2d7efff308..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Dist_RTRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Dist_RTRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Dist_RTRequest Builder. - */ -public class BaseWorkbookFunctionsT_Dist_RTRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsT_Dist_RT - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsT_Dist_RTRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsT_Dist_RTRequest - * - * @return the IWorkbookFunctionsT_Dist_RTRequest instance - */ - public IWorkbookFunctionsT_Dist_RTRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsT_Dist_RTRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_Dist_RTRequest instance - */ - public IWorkbookFunctionsT_Dist_RTRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsT_Dist_RTRequest request = new WorkbookFunctionsT_Dist_RTRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequest.java deleted file mode 100644 index c526d564d9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsT_InvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Inv Request. - */ -public class BaseWorkbookFunctionsT_InvRequest extends BaseRequest implements IBaseWorkbookFunctionsT_InvRequest { - protected final WorkbookFunctionsT_InvBody body; - - /** - * The request for this WorkbookFunctionsT_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsT_InvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsT_InvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsT_InvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsT_InvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsT_InvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsT_InvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsT_InvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsT_InvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequestBuilder.java deleted file mode 100644 index 8a5dfa5c5ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_InvRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_InvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Inv Request Builder. - */ -public class BaseWorkbookFunctionsT_InvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsT_Inv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsT_InvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsT_InvRequest - * - * @return the IWorkbookFunctionsT_InvRequest instance - */ - public IWorkbookFunctionsT_InvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsT_InvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_InvRequest instance - */ - public IWorkbookFunctionsT_InvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsT_InvRequest request = new WorkbookFunctionsT_InvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequest.java deleted file mode 100644 index d36df851a36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsT_Inv_2TBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Inv_2TRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Inv_2TRequest. - */ -public class BaseWorkbookFunctionsT_Inv_2TRequest extends BaseRequest implements IBaseWorkbookFunctionsT_Inv_2TRequest { - protected final WorkbookFunctionsT_Inv_2TBody body; - - /** - * The request for this WorkbookFunctionsT_Inv_2T - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsT_Inv_2TRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsT_Inv_2TBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsT_Inv_2TRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsT_Inv_2TRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsT_Inv_2TRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsT_Inv_2TRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsT_Inv_2TRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsT_Inv_2TRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequestBuilder.java deleted file mode 100644 index ac0344f3630..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsT_Inv_2TRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsT_Inv_2TRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions T_Inv_2TRequest Builder. - */ -public class BaseWorkbookFunctionsT_Inv_2TRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsT_Inv_2T - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param probability the probability - * @param degFreedom the degFreedom - */ - public BaseWorkbookFunctionsT_Inv_2TRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom) { - super(requestUrl, client, requestOptions); - bodyParams.put("probability", probability); - bodyParams.put("degFreedom", degFreedom); - } - - /** - * Creates the IWorkbookFunctionsT_Inv_2TRequest - * - * @return the IWorkbookFunctionsT_Inv_2TRequest instance - */ - public IWorkbookFunctionsT_Inv_2TRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsT_Inv_2TRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_Inv_2TRequest instance - */ - public IWorkbookFunctionsT_Inv_2TRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsT_Inv_2TRequest request = new WorkbookFunctionsT_Inv_2TRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("probability")) { - request.body.probability = getParameter("probability"); - } - - if (hasParameter("degFreedom")) { - request.body.degFreedom = getParameter("degFreedom"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequest.java deleted file mode 100644 index 46b319204d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tan Request. - */ -public class BaseWorkbookFunctionsTanRequest extends BaseRequest implements IBaseWorkbookFunctionsTanRequest { - protected final WorkbookFunctionsTanBody body; - - /** - * The request for this WorkbookFunctionsTan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequestBuilder.java deleted file mode 100644 index 7cfbbe27a26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tan Request Builder. - */ -public class BaseWorkbookFunctionsTanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTan - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsTanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsTanRequest - * - * @return the IWorkbookFunctionsTanRequest instance - */ - public IWorkbookFunctionsTanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTanRequest instance - */ - public IWorkbookFunctionsTanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTanRequest request = new WorkbookFunctionsTanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequest.java deleted file mode 100644 index 3032338b7ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTanhBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tanh Request. - */ -public class BaseWorkbookFunctionsTanhRequest extends BaseRequest implements IBaseWorkbookFunctionsTanhRequest { - protected final WorkbookFunctionsTanhBody body; - - /** - * The request for this WorkbookFunctionsTanh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTanhRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTanhBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTanhRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTanhRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTanhRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTanhRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTanhRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTanhRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequestBuilder.java deleted file mode 100644 index 25bcb43ca85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTanhRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTanhRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tanh Request Builder. - */ -public class BaseWorkbookFunctionsTanhRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTanh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsTanhRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsTanhRequest - * - * @return the IWorkbookFunctionsTanhRequest instance - */ - public IWorkbookFunctionsTanhRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTanhRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTanhRequest instance - */ - public IWorkbookFunctionsTanhRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTanhRequest request = new WorkbookFunctionsTanhRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequest.java deleted file mode 100644 index 60ce17aa6f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTbillEqBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillEqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Eq Request. - */ -public class BaseWorkbookFunctionsTbillEqRequest extends BaseRequest implements IBaseWorkbookFunctionsTbillEqRequest { - protected final WorkbookFunctionsTbillEqBody body; - - /** - * The request for this WorkbookFunctionsTbillEq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTbillEqRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTbillEqBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTbillEqRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTbillEqRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTbillEqRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTbillEqRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTbillEqRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTbillEqRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequestBuilder.java deleted file mode 100644 index ad8262ff7f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillEqRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillEqRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Eq Request Builder. - */ -public class BaseWorkbookFunctionsTbillEqRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTbillEq - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param discount the discount - */ - public BaseWorkbookFunctionsTbillEqRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("discount", discount); - } - - /** - * Creates the IWorkbookFunctionsTbillEqRequest - * - * @return the IWorkbookFunctionsTbillEqRequest instance - */ - public IWorkbookFunctionsTbillEqRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTbillEqRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTbillEqRequest instance - */ - public IWorkbookFunctionsTbillEqRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTbillEqRequest request = new WorkbookFunctionsTbillEqRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("discount")) { - request.body.discount = getParameter("discount"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequest.java deleted file mode 100644 index a6ed4c60242..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTbillPriceBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Price Request. - */ -public class BaseWorkbookFunctionsTbillPriceRequest extends BaseRequest implements IBaseWorkbookFunctionsTbillPriceRequest { - protected final WorkbookFunctionsTbillPriceBody body; - - /** - * The request for this WorkbookFunctionsTbillPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTbillPriceRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTbillPriceBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTbillPriceRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTbillPriceRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTbillPriceRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTbillPriceRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTbillPriceRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTbillPriceRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequestBuilder.java deleted file mode 100644 index 0b749edb0d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillPriceRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillPriceRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Price Request Builder. - */ -public class BaseWorkbookFunctionsTbillPriceRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTbillPrice - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param discount the discount - */ - public BaseWorkbookFunctionsTbillPriceRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("discount", discount); - } - - /** - * Creates the IWorkbookFunctionsTbillPriceRequest - * - * @return the IWorkbookFunctionsTbillPriceRequest instance - */ - public IWorkbookFunctionsTbillPriceRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTbillPriceRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTbillPriceRequest instance - */ - public IWorkbookFunctionsTbillPriceRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTbillPriceRequest request = new WorkbookFunctionsTbillPriceRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("discount")) { - request.body.discount = getParameter("discount"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequest.java deleted file mode 100644 index 9b68d8c34f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTbillYieldBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Yield Request. - */ -public class BaseWorkbookFunctionsTbillYieldRequest extends BaseRequest implements IBaseWorkbookFunctionsTbillYieldRequest { - protected final WorkbookFunctionsTbillYieldBody body; - - /** - * The request for this WorkbookFunctionsTbillYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTbillYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTbillYieldBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTbillYieldRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTbillYieldRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTbillYieldRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTbillYieldRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTbillYieldRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTbillYieldRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequestBuilder.java deleted file mode 100644 index 6be9f84f3e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTbillYieldRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTbillYieldRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Tbill Yield Request Builder. - */ -public class BaseWorkbookFunctionsTbillYieldRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTbillYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param pr the pr - */ - public BaseWorkbookFunctionsTbillYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("pr", pr); - } - - /** - * Creates the IWorkbookFunctionsTbillYieldRequest - * - * @return the IWorkbookFunctionsTbillYieldRequest instance - */ - public IWorkbookFunctionsTbillYieldRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTbillYieldRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTbillYieldRequest instance - */ - public IWorkbookFunctionsTbillYieldRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTbillYieldRequest request = new WorkbookFunctionsTbillYieldRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequest.java deleted file mode 100644 index ff84937c0a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTextBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Text Request. - */ -public class BaseWorkbookFunctionsTextRequest extends BaseRequest implements IBaseWorkbookFunctionsTextRequest { - protected final WorkbookFunctionsTextBody body; - - /** - * The request for this WorkbookFunctionsText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTextRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTextBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTextRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTextRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTextRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTextRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTextRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTextRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequestBuilder.java deleted file mode 100644 index 161459a1cb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTextRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTextRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Text Request Builder. - */ -public class BaseWorkbookFunctionsTextRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsText - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - * @param formatText the formatText - */ - public BaseWorkbookFunctionsTextRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value, final com.google.gson.JsonElement formatText) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - bodyParams.put("formatText", formatText); - } - - /** - * Creates the IWorkbookFunctionsTextRequest - * - * @return the IWorkbookFunctionsTextRequest instance - */ - public IWorkbookFunctionsTextRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTextRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTextRequest instance - */ - public IWorkbookFunctionsTextRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTextRequest request = new WorkbookFunctionsTextRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - if (hasParameter("formatText")) { - request.body.formatText = getParameter("formatText"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequest.java deleted file mode 100644 index 2b696f2f682..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTimeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Time Request. - */ -public class BaseWorkbookFunctionsTimeRequest extends BaseRequest implements IBaseWorkbookFunctionsTimeRequest { - protected final WorkbookFunctionsTimeBody body; - - /** - * The request for this WorkbookFunctionsTime - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTimeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTimeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTimeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTimeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTimeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTimeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTimeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTimeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequestBuilder.java deleted file mode 100644 index 56fed798dbe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimeRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Time Request Builder. - */ -public class BaseWorkbookFunctionsTimeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTime - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param hour the hour - * @param minute the minute - * @param second the second - */ - public BaseWorkbookFunctionsTimeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement hour, final com.google.gson.JsonElement minute, final com.google.gson.JsonElement second) { - super(requestUrl, client, requestOptions); - bodyParams.put("hour", hour); - bodyParams.put("minute", minute); - bodyParams.put("second", second); - } - - /** - * Creates the IWorkbookFunctionsTimeRequest - * - * @return the IWorkbookFunctionsTimeRequest instance - */ - public IWorkbookFunctionsTimeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTimeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTimeRequest instance - */ - public IWorkbookFunctionsTimeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTimeRequest request = new WorkbookFunctionsTimeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("hour")) { - request.body.hour = getParameter("hour"); - } - - if (hasParameter("minute")) { - request.body.minute = getParameter("minute"); - } - - if (hasParameter("second")) { - request.body.second = getParameter("second"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequest.java deleted file mode 100644 index 6c7d3e28cbc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTimevalueBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimevalueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Timevalue Request. - */ -public class BaseWorkbookFunctionsTimevalueRequest extends BaseRequest implements IBaseWorkbookFunctionsTimevalueRequest { - protected final WorkbookFunctionsTimevalueBody body; - - /** - * The request for this WorkbookFunctionsTimevalue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTimevalueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTimevalueBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTimevalueRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTimevalueRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTimevalueRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTimevalueRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTimevalueRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTimevalueRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequestBuilder.java deleted file mode 100644 index f7e334f2cfb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTimevalueRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTimevalueRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Timevalue Request Builder. - */ -public class BaseWorkbookFunctionsTimevalueRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTimevalue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param timeText the timeText - */ - public BaseWorkbookFunctionsTimevalueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement timeText) { - super(requestUrl, client, requestOptions); - bodyParams.put("timeText", timeText); - } - - /** - * Creates the IWorkbookFunctionsTimevalueRequest - * - * @return the IWorkbookFunctionsTimevalueRequest instance - */ - public IWorkbookFunctionsTimevalueRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTimevalueRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTimevalueRequest instance - */ - public IWorkbookFunctionsTimevalueRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTimevalueRequest request = new WorkbookFunctionsTimevalueRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("timeText")) { - request.body.timeText = getParameter("timeText"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequest.java deleted file mode 100644 index 50868d40990..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTodayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Today Request. - */ -public class BaseWorkbookFunctionsTodayRequest extends BaseRequest implements IBaseWorkbookFunctionsTodayRequest { - - /** - * The request for this WorkbookFunctionsToday - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTodayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsToday - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsToday - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTodayRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTodayRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTodayRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTodayRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequestBuilder.java deleted file mode 100644 index 80d753b278c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTodayRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTodayRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Today Request Builder. - */ -public class BaseWorkbookFunctionsTodayRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsToday - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTodayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsTodayRequest - * - * @return the IWorkbookFunctionsTodayRequest instance - */ - public IWorkbookFunctionsTodayRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTodayRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTodayRequest instance - */ - public IWorkbookFunctionsTodayRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTodayRequest request = new WorkbookFunctionsTodayRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequest.java deleted file mode 100644 index b8696c38b13..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTrimMeanBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimMeanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trim Mean Request. - */ -public class BaseWorkbookFunctionsTrimMeanRequest extends BaseRequest implements IBaseWorkbookFunctionsTrimMeanRequest { - protected final WorkbookFunctionsTrimMeanBody body; - - /** - * The request for this WorkbookFunctionsTrimMean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTrimMeanRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTrimMeanBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTrimMeanRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTrimMeanRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTrimMeanRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTrimMeanRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTrimMeanRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTrimMeanRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequestBuilder.java deleted file mode 100644 index e7a6ddc38bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimMeanRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimMeanRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trim Mean Request Builder. - */ -public class BaseWorkbookFunctionsTrimMeanRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTrimMean - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param percent the percent - */ - public BaseWorkbookFunctionsTrimMeanRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement percent) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("percent", percent); - } - - /** - * Creates the IWorkbookFunctionsTrimMeanRequest - * - * @return the IWorkbookFunctionsTrimMeanRequest instance - */ - public IWorkbookFunctionsTrimMeanRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTrimMeanRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTrimMeanRequest instance - */ - public IWorkbookFunctionsTrimMeanRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTrimMeanRequest request = new WorkbookFunctionsTrimMeanRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("percent")) { - request.body.percent = getParameter("percent"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequest.java deleted file mode 100644 index 8d9b26c5e1c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTrimBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trim Request. - */ -public class BaseWorkbookFunctionsTrimRequest extends BaseRequest implements IBaseWorkbookFunctionsTrimRequest { - protected final WorkbookFunctionsTrimBody body; - - /** - * The request for this WorkbookFunctionsTrim - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTrimRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTrimBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTrimRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTrimRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTrimRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTrimRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTrimRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTrimRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequestBuilder.java deleted file mode 100644 index 7e03faf49b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrimRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrimRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trim Request Builder. - */ -public class BaseWorkbookFunctionsTrimRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTrim - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsTrimRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsTrimRequest - * - * @return the IWorkbookFunctionsTrimRequest instance - */ - public IWorkbookFunctionsTrimRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTrimRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTrimRequest instance - */ - public IWorkbookFunctionsTrimRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTrimRequest request = new WorkbookFunctionsTrimRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequest.java deleted file mode 100644 index 9dee7f6fca7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions True Request. - */ -public class BaseWorkbookFunctionsTrueRequest extends BaseRequest implements IBaseWorkbookFunctionsTrueRequest { - - /** - * The request for this WorkbookFunctionsTrue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTrueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - } - - /** - * Creates the WorkbookFunctionsTrue - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookFunctionsTrue - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTrueRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTrueRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTrueRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTrueRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequestBuilder.java deleted file mode 100644 index 0bf10c20d30..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTrueRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTrueRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions True Request Builder. - */ -public class BaseWorkbookFunctionsTrueRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTrue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTrueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookFunctionsTrueRequest - * - * @return the IWorkbookFunctionsTrueRequest instance - */ - public IWorkbookFunctionsTrueRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTrueRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTrueRequest instance - */ - public IWorkbookFunctionsTrueRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTrueRequest request = new WorkbookFunctionsTrueRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequest.java deleted file mode 100644 index 7e15cffab8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTruncBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTruncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trunc Request. - */ -public class BaseWorkbookFunctionsTruncRequest extends BaseRequest implements IBaseWorkbookFunctionsTruncRequest { - protected final WorkbookFunctionsTruncBody body; - - /** - * The request for this WorkbookFunctionsTrunc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTruncRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTruncBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTruncRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTruncRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTruncRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTruncRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTruncRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTruncRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequestBuilder.java deleted file mode 100644 index 42677efb14d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTruncRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTruncRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Trunc Request Builder. - */ -public class BaseWorkbookFunctionsTruncRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsTrunc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param numDigits the numDigits - */ - public BaseWorkbookFunctionsTruncRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("numDigits", numDigits); - } - - /** - * Creates the IWorkbookFunctionsTruncRequest - * - * @return the IWorkbookFunctionsTruncRequest instance - */ - public IWorkbookFunctionsTruncRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTruncRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTruncRequest instance - */ - public IWorkbookFunctionsTruncRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTruncRequest request = new WorkbookFunctionsTruncRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("numDigits")) { - request.body.numDigits = getParameter("numDigits"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequest.java deleted file mode 100644 index ab29f9e1a8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsTypeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTypeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Type Request. - */ -public class BaseWorkbookFunctionsTypeRequest extends BaseRequest implements IBaseWorkbookFunctionsTypeRequest { - protected final WorkbookFunctionsTypeBody body; - - /** - * The request for this WorkbookFunctionsType - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsTypeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsTypeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsTypeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsTypeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsTypeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsTypeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsTypeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsTypeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequestBuilder.java deleted file mode 100644 index 54b8d562e9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsTypeRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsTypeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Type Request Builder. - */ -public class BaseWorkbookFunctionsTypeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsType - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param value the value - */ - public BaseWorkbookFunctionsTypeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement value) { - super(requestUrl, client, requestOptions); - bodyParams.put("value", value); - } - - /** - * Creates the IWorkbookFunctionsTypeRequest - * - * @return the IWorkbookFunctionsTypeRequest instance - */ - public IWorkbookFunctionsTypeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsTypeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTypeRequest instance - */ - public IWorkbookFunctionsTypeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsTypeRequest request = new WorkbookFunctionsTypeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("value")) { - request.body.value = getParameter("value"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequest.java deleted file mode 100644 index c0df8299295..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsUnicharBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicharRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Unichar Request. - */ -public class BaseWorkbookFunctionsUnicharRequest extends BaseRequest implements IBaseWorkbookFunctionsUnicharRequest { - protected final WorkbookFunctionsUnicharBody body; - - /** - * The request for this WorkbookFunctionsUnichar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsUnicharRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsUnicharBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsUnicharRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsUnicharRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsUnicharRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsUnicharRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsUnicharRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsUnicharRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequestBuilder.java deleted file mode 100644 index 94cb88a2a57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicharRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicharRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Unichar Request Builder. - */ -public class BaseWorkbookFunctionsUnicharRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsUnichar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - */ - public BaseWorkbookFunctionsUnicharRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - } - - /** - * Creates the IWorkbookFunctionsUnicharRequest - * - * @return the IWorkbookFunctionsUnicharRequest instance - */ - public IWorkbookFunctionsUnicharRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsUnicharRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUnicharRequest instance - */ - public IWorkbookFunctionsUnicharRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsUnicharRequest request = new WorkbookFunctionsUnicharRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequest.java deleted file mode 100644 index 017f5d79ab6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsUnicodeBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Unicode Request. - */ -public class BaseWorkbookFunctionsUnicodeRequest extends BaseRequest implements IBaseWorkbookFunctionsUnicodeRequest { - protected final WorkbookFunctionsUnicodeBody body; - - /** - * The request for this WorkbookFunctionsUnicode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsUnicodeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsUnicodeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsUnicodeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsUnicodeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsUnicodeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsUnicodeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsUnicodeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsUnicodeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequestBuilder.java deleted file mode 100644 index 149a68d3b58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUnicodeRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUnicodeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Unicode Request Builder. - */ -public class BaseWorkbookFunctionsUnicodeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsUnicode - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsUnicodeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsUnicodeRequest - * - * @return the IWorkbookFunctionsUnicodeRequest instance - */ - public IWorkbookFunctionsUnicodeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsUnicodeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUnicodeRequest instance - */ - public IWorkbookFunctionsUnicodeRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsUnicodeRequest request = new WorkbookFunctionsUnicodeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequest.java deleted file mode 100644 index 84629751e91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsUpperBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUpperRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Upper Request. - */ -public class BaseWorkbookFunctionsUpperRequest extends BaseRequest implements IBaseWorkbookFunctionsUpperRequest { - protected final WorkbookFunctionsUpperBody body; - - /** - * The request for this WorkbookFunctionsUpper - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsUpperRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsUpperBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsUpperRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsUpperRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsUpperRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsUpperRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsUpperRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsUpperRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequestBuilder.java deleted file mode 100644 index e7a10fc805f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUpperRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUpperRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Upper Request Builder. - */ -public class BaseWorkbookFunctionsUpperRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsUpper - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsUpperRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsUpperRequest - * - * @return the IWorkbookFunctionsUpperRequest instance - */ - public IWorkbookFunctionsUpperRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsUpperRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUpperRequest instance - */ - public IWorkbookFunctionsUpperRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsUpperRequest request = new WorkbookFunctionsUpperRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequest.java deleted file mode 100644 index 982fdb5b5dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsUsdollarBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUsdollarRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Usdollar Request. - */ -public class BaseWorkbookFunctionsUsdollarRequest extends BaseRequest implements IBaseWorkbookFunctionsUsdollarRequest { - protected final WorkbookFunctionsUsdollarBody body; - - /** - * The request for this WorkbookFunctionsUsdollar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsUsdollarRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsUsdollarBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsUsdollarRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsUsdollarRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsUsdollarRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsUsdollarRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsUsdollarRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsUsdollarRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequestBuilder.java deleted file mode 100644 index 15ba09384b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsUsdollarRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsUsdollarRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Usdollar Request Builder. - */ -public class BaseWorkbookFunctionsUsdollarRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsUsdollar - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param number the number - * @param decimals the decimals - */ - public BaseWorkbookFunctionsUsdollarRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals) { - super(requestUrl, client, requestOptions); - bodyParams.put("number", number); - bodyParams.put("decimals", decimals); - } - - /** - * Creates the IWorkbookFunctionsUsdollarRequest - * - * @return the IWorkbookFunctionsUsdollarRequest instance - */ - public IWorkbookFunctionsUsdollarRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsUsdollarRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUsdollarRequest instance - */ - public IWorkbookFunctionsUsdollarRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsUsdollarRequest request = new WorkbookFunctionsUsdollarRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("number")) { - request.body.number = getParameter("number"); - } - - if (hasParameter("decimals")) { - request.body.decimals = getParameter("decimals"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequest.java deleted file mode 100644 index 1fa40f02982..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsValueBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsValueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Value Request. - */ -public class BaseWorkbookFunctionsValueRequest extends BaseRequest implements IBaseWorkbookFunctionsValueRequest { - protected final WorkbookFunctionsValueBody body; - - /** - * The request for this WorkbookFunctionsValue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsValueRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsValueBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsValueRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsValueRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsValueRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsValueRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsValueRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsValueRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequestBuilder.java deleted file mode 100644 index bfa99faa4ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsValueRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsValueRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Value Request Builder. - */ -public class BaseWorkbookFunctionsValueRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsValue - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param text the text - */ - public BaseWorkbookFunctionsValueRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement text) { - super(requestUrl, client, requestOptions); - bodyParams.put("text", text); - } - - /** - * Creates the IWorkbookFunctionsValueRequest - * - * @return the IWorkbookFunctionsValueRequest instance - */ - public IWorkbookFunctionsValueRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsValueRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsValueRequest instance - */ - public IWorkbookFunctionsValueRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsValueRequest request = new WorkbookFunctionsValueRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("text")) { - request.body.text = getParameter("text"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequest.java deleted file mode 100644 index d0d872a9b8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsVarABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var ARequest. - */ -public class BaseWorkbookFunctionsVarARequest extends BaseRequest implements IBaseWorkbookFunctionsVarARequest { - protected final WorkbookFunctionsVarABody body; - - /** - * The request for this WorkbookFunctionsVarA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsVarARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsVarABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsVarARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsVarARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsVarARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsVarARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsVarARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsVarARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequestBuilder.java deleted file mode 100644 index e17c4338bf5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var ARequest Builder. - */ -public class BaseWorkbookFunctionsVarARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsVarA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsVarARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsVarARequest - * - * @return the IWorkbookFunctionsVarARequest instance - */ - public IWorkbookFunctionsVarARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsVarARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVarARequest instance - */ - public IWorkbookFunctionsVarARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsVarARequest request = new WorkbookFunctionsVarARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequest.java deleted file mode 100644 index a2164706b8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsVarPABody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarPARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var PARequest. - */ -public class BaseWorkbookFunctionsVarPARequest extends BaseRequest implements IBaseWorkbookFunctionsVarPARequest { - protected final WorkbookFunctionsVarPABody body; - - /** - * The request for this WorkbookFunctionsVarPA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsVarPARequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsVarPABody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsVarPARequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsVarPARequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsVarPARequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsVarPARequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsVarPARequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsVarPARequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequestBuilder.java deleted file mode 100644 index 2e7d6b8b93a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVarPARequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVarPARequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var PARequest Builder. - */ -public class BaseWorkbookFunctionsVarPARequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsVarPA - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsVarPARequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsVarPARequest - * - * @return the IWorkbookFunctionsVarPARequest instance - */ - public IWorkbookFunctionsVarPARequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsVarPARequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVarPARequest instance - */ - public IWorkbookFunctionsVarPARequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsVarPARequest request = new WorkbookFunctionsVarPARequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequest.java deleted file mode 100644 index 03270ad37cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsVar_PBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_PRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var_PRequest. - */ -public class BaseWorkbookFunctionsVar_PRequest extends BaseRequest implements IBaseWorkbookFunctionsVar_PRequest { - protected final WorkbookFunctionsVar_PBody body; - - /** - * The request for this WorkbookFunctionsVar_P - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsVar_PRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsVar_PBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsVar_PRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsVar_PRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsVar_PRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsVar_PRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsVar_PRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsVar_PRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequestBuilder.java deleted file mode 100644 index b09050b27d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_PRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_PRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var_PRequest Builder. - */ -public class BaseWorkbookFunctionsVar_PRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsVar_P - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsVar_PRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsVar_PRequest - * - * @return the IWorkbookFunctionsVar_PRequest instance - */ - public IWorkbookFunctionsVar_PRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsVar_PRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVar_PRequest instance - */ - public IWorkbookFunctionsVar_PRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsVar_PRequest request = new WorkbookFunctionsVar_PRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequest.java deleted file mode 100644 index d84e8cb7802..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsVar_SBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_SRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var_SRequest. - */ -public class BaseWorkbookFunctionsVar_SRequest extends BaseRequest implements IBaseWorkbookFunctionsVar_SRequest { - protected final WorkbookFunctionsVar_SBody body; - - /** - * The request for this WorkbookFunctionsVar_S - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsVar_SRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsVar_SBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsVar_SRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsVar_SRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsVar_SRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsVar_SRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsVar_SRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsVar_SRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequestBuilder.java deleted file mode 100644 index aa155516e6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVar_SRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVar_SRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Var_SRequest Builder. - */ -public class BaseWorkbookFunctionsVar_SRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsVar_S - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsVar_SRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsVar_SRequest - * - * @return the IWorkbookFunctionsVar_SRequest instance - */ - public IWorkbookFunctionsVar_SRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsVar_SRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVar_SRequest instance - */ - public IWorkbookFunctionsVar_SRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsVar_SRequest request = new WorkbookFunctionsVar_SRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequest.java deleted file mode 100644 index bf0fcaa5170..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsVdbBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVdbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Vdb Request. - */ -public class BaseWorkbookFunctionsVdbRequest extends BaseRequest implements IBaseWorkbookFunctionsVdbRequest { - protected final WorkbookFunctionsVdbBody body; - - /** - * The request for this WorkbookFunctionsVdb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsVdbRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsVdbBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsVdbRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsVdbRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsVdbRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsVdbRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsVdbRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsVdbRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequestBuilder.java deleted file mode 100644 index 9e31b0b2977..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVdbRequestBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVdbRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Vdb Request Builder. - */ -public class BaseWorkbookFunctionsVdbRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsVdb - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param cost the cost - * @param salvage the salvage - * @param life the life - * @param startPeriod the startPeriod - * @param endPeriod the endPeriod - * @param factor the factor - * @param noSwitch the noSwitch - */ - public BaseWorkbookFunctionsVdbRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement factor, final com.google.gson.JsonElement noSwitch) { - super(requestUrl, client, requestOptions); - bodyParams.put("cost", cost); - bodyParams.put("salvage", salvage); - bodyParams.put("life", life); - bodyParams.put("startPeriod", startPeriod); - bodyParams.put("endPeriod", endPeriod); - bodyParams.put("factor", factor); - bodyParams.put("noSwitch", noSwitch); - } - - /** - * Creates the IWorkbookFunctionsVdbRequest - * - * @return the IWorkbookFunctionsVdbRequest instance - */ - public IWorkbookFunctionsVdbRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsVdbRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVdbRequest instance - */ - public IWorkbookFunctionsVdbRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsVdbRequest request = new WorkbookFunctionsVdbRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("cost")) { - request.body.cost = getParameter("cost"); - } - - if (hasParameter("salvage")) { - request.body.salvage = getParameter("salvage"); - } - - if (hasParameter("life")) { - request.body.life = getParameter("life"); - } - - if (hasParameter("startPeriod")) { - request.body.startPeriod = getParameter("startPeriod"); - } - - if (hasParameter("endPeriod")) { - request.body.endPeriod = getParameter("endPeriod"); - } - - if (hasParameter("factor")) { - request.body.factor = getParameter("factor"); - } - - if (hasParameter("noSwitch")) { - request.body.noSwitch = getParameter("noSwitch"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequest.java deleted file mode 100644 index 19d6b56379b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsVlookupBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVlookupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Vlookup Request. - */ -public class BaseWorkbookFunctionsVlookupRequest extends BaseRequest implements IBaseWorkbookFunctionsVlookupRequest { - protected final WorkbookFunctionsVlookupBody body; - - /** - * The request for this WorkbookFunctionsVlookup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsVlookupRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsVlookupBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsVlookupRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsVlookupRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsVlookupRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsVlookupRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsVlookupRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsVlookupRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequestBuilder.java deleted file mode 100644 index 3fe40d5f27d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsVlookupRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsVlookupRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Vlookup Request Builder. - */ -public class BaseWorkbookFunctionsVlookupRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsVlookup - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param lookupValue the lookupValue - * @param tableArray the tableArray - * @param colIndexNum the colIndexNum - * @param rangeLookup the rangeLookup - */ - public BaseWorkbookFunctionsVlookupRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement colIndexNum, final com.google.gson.JsonElement rangeLookup) { - super(requestUrl, client, requestOptions); - bodyParams.put("lookupValue", lookupValue); - bodyParams.put("tableArray", tableArray); - bodyParams.put("colIndexNum", colIndexNum); - bodyParams.put("rangeLookup", rangeLookup); - } - - /** - * Creates the IWorkbookFunctionsVlookupRequest - * - * @return the IWorkbookFunctionsVlookupRequest instance - */ - public IWorkbookFunctionsVlookupRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsVlookupRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVlookupRequest instance - */ - public IWorkbookFunctionsVlookupRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsVlookupRequest request = new WorkbookFunctionsVlookupRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("lookupValue")) { - request.body.lookupValue = getParameter("lookupValue"); - } - - if (hasParameter("tableArray")) { - request.body.tableArray = getParameter("tableArray"); - } - - if (hasParameter("colIndexNum")) { - request.body.colIndexNum = getParameter("colIndexNum"); - } - - if (hasParameter("rangeLookup")) { - request.body.rangeLookup = getParameter("rangeLookup"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequest.java deleted file mode 100644 index bf9e18fc5e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsWeekNumBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekNumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Week Num Request. - */ -public class BaseWorkbookFunctionsWeekNumRequest extends BaseRequest implements IBaseWorkbookFunctionsWeekNumRequest { - protected final WorkbookFunctionsWeekNumBody body; - - /** - * The request for this WorkbookFunctionsWeekNum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsWeekNumRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsWeekNumBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsWeekNumRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsWeekNumRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsWeekNumRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsWeekNumRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsWeekNumRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsWeekNumRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequestBuilder.java deleted file mode 100644 index 15875a05f3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekNumRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekNumRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Week Num Request Builder. - */ -public class BaseWorkbookFunctionsWeekNumRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsWeekNum - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - * @param returnType the returnType - */ - public BaseWorkbookFunctionsWeekNumRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - bodyParams.put("returnType", returnType); - } - - /** - * Creates the IWorkbookFunctionsWeekNumRequest - * - * @return the IWorkbookFunctionsWeekNumRequest instance - */ - public IWorkbookFunctionsWeekNumRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsWeekNumRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWeekNumRequest instance - */ - public IWorkbookFunctionsWeekNumRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsWeekNumRequest request = new WorkbookFunctionsWeekNumRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - if (hasParameter("returnType")) { - request.body.returnType = getParameter("returnType"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequest.java deleted file mode 100644 index 10622dc5e69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsWeekdayBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekdayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Weekday Request. - */ -public class BaseWorkbookFunctionsWeekdayRequest extends BaseRequest implements IBaseWorkbookFunctionsWeekdayRequest { - protected final WorkbookFunctionsWeekdayBody body; - - /** - * The request for this WorkbookFunctionsWeekday - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsWeekdayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsWeekdayBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsWeekdayRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsWeekdayRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsWeekdayRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsWeekdayRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsWeekdayRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsWeekdayRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequestBuilder.java deleted file mode 100644 index 16ced7c346b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeekdayRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeekdayRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Weekday Request Builder. - */ -public class BaseWorkbookFunctionsWeekdayRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsWeekday - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - * @param returnType the returnType - */ - public BaseWorkbookFunctionsWeekdayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - bodyParams.put("returnType", returnType); - } - - /** - * Creates the IWorkbookFunctionsWeekdayRequest - * - * @return the IWorkbookFunctionsWeekdayRequest instance - */ - public IWorkbookFunctionsWeekdayRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsWeekdayRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWeekdayRequest instance - */ - public IWorkbookFunctionsWeekdayRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsWeekdayRequest request = new WorkbookFunctionsWeekdayRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - if (hasParameter("returnType")) { - request.body.returnType = getParameter("returnType"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequest.java deleted file mode 100644 index b8ea3ea6fb6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsWeibull_DistBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeibull_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Weibull_Dist Request. - */ -public class BaseWorkbookFunctionsWeibull_DistRequest extends BaseRequest implements IBaseWorkbookFunctionsWeibull_DistRequest { - protected final WorkbookFunctionsWeibull_DistBody body; - - /** - * The request for this WorkbookFunctionsWeibull_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsWeibull_DistRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsWeibull_DistBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsWeibull_DistRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsWeibull_DistRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsWeibull_DistRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsWeibull_DistRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsWeibull_DistRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsWeibull_DistRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequestBuilder.java deleted file mode 100644 index 9de8fce1ec2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWeibull_DistRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWeibull_DistRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Weibull_Dist Request Builder. - */ -public class BaseWorkbookFunctionsWeibull_DistRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsWeibull_Dist - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param x the x - * @param alpha the alpha - * @param beta the beta - * @param cumulative the cumulative - */ - public BaseWorkbookFunctionsWeibull_DistRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative) { - super(requestUrl, client, requestOptions); - bodyParams.put("x", x); - bodyParams.put("alpha", alpha); - bodyParams.put("beta", beta); - bodyParams.put("cumulative", cumulative); - } - - /** - * Creates the IWorkbookFunctionsWeibull_DistRequest - * - * @return the IWorkbookFunctionsWeibull_DistRequest instance - */ - public IWorkbookFunctionsWeibull_DistRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsWeibull_DistRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWeibull_DistRequest instance - */ - public IWorkbookFunctionsWeibull_DistRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsWeibull_DistRequest request = new WorkbookFunctionsWeibull_DistRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("alpha")) { - request.body.alpha = getParameter("alpha"); - } - - if (hasParameter("beta")) { - request.body.beta = getParameter("beta"); - } - - if (hasParameter("cumulative")) { - request.body.cumulative = getParameter("cumulative"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequest.java deleted file mode 100644 index 4148b894b47..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsWorkDayBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Work Day Request. - */ -public class BaseWorkbookFunctionsWorkDayRequest extends BaseRequest implements IBaseWorkbookFunctionsWorkDayRequest { - protected final WorkbookFunctionsWorkDayBody body; - - /** - * The request for this WorkbookFunctionsWorkDay - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsWorkDayRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsWorkDayBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsWorkDayRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsWorkDayRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsWorkDayRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsWorkDayRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsWorkDayRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsWorkDayRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequestBuilder.java deleted file mode 100644 index a90aa07e674..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDayRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDayRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Work Day Request Builder. - */ -public class BaseWorkbookFunctionsWorkDayRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsWorkDay - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param days the days - * @param holidays the holidays - */ - public BaseWorkbookFunctionsWorkDayRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("days", days); - bodyParams.put("holidays", holidays); - } - - /** - * Creates the IWorkbookFunctionsWorkDayRequest - * - * @return the IWorkbookFunctionsWorkDayRequest instance - */ - public IWorkbookFunctionsWorkDayRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsWorkDayRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWorkDayRequest instance - */ - public IWorkbookFunctionsWorkDayRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsWorkDayRequest request = new WorkbookFunctionsWorkDayRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("days")) { - request.body.days = getParameter("days"); - } - - if (hasParameter("holidays")) { - request.body.holidays = getParameter("holidays"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequest.java deleted file mode 100644 index 434fb3ab851..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsWorkDay_IntlBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDay_IntlRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Work Day_Intl Request. - */ -public class BaseWorkbookFunctionsWorkDay_IntlRequest extends BaseRequest implements IBaseWorkbookFunctionsWorkDay_IntlRequest { - protected final WorkbookFunctionsWorkDay_IntlBody body; - - /** - * The request for this WorkbookFunctionsWorkDay_Intl - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsWorkDay_IntlRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsWorkDay_IntlBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsWorkDay_IntlRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsWorkDay_IntlRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsWorkDay_IntlRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsWorkDay_IntlRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsWorkDay_IntlRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsWorkDay_IntlRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java deleted file mode 100644 index 258ad39e598..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsWorkDay_IntlRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Work Day_Intl Request Builder. - */ -public class BaseWorkbookFunctionsWorkDay_IntlRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsWorkDay_Intl - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param days the days - * @param weekend the weekend - * @param holidays the holidays - */ - public BaseWorkbookFunctionsWorkDay_IntlRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("days", days); - bodyParams.put("weekend", weekend); - bodyParams.put("holidays", holidays); - } - - /** - * Creates the IWorkbookFunctionsWorkDay_IntlRequest - * - * @return the IWorkbookFunctionsWorkDay_IntlRequest instance - */ - public IWorkbookFunctionsWorkDay_IntlRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsWorkDay_IntlRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWorkDay_IntlRequest instance - */ - public IWorkbookFunctionsWorkDay_IntlRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsWorkDay_IntlRequest request = new WorkbookFunctionsWorkDay_IntlRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("days")) { - request.body.days = getParameter("days"); - } - - if (hasParameter("weekend")) { - request.body.weekend = getParameter("weekend"); - } - - if (hasParameter("holidays")) { - request.body.holidays = getParameter("holidays"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequest.java deleted file mode 100644 index 6508457f2df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsXirrBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXirrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xirr Request. - */ -public class BaseWorkbookFunctionsXirrRequest extends BaseRequest implements IBaseWorkbookFunctionsXirrRequest { - protected final WorkbookFunctionsXirrBody body; - - /** - * The request for this WorkbookFunctionsXirr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsXirrRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsXirrBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsXirrRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsXirrRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsXirrRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsXirrRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsXirrRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsXirrRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequestBuilder.java deleted file mode 100644 index dd9ac9e2fcb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXirrRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXirrRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xirr Request Builder. - */ -public class BaseWorkbookFunctionsXirrRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsXirr - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - * @param dates the dates - * @param guess the guess - */ - public BaseWorkbookFunctionsXirrRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates, final com.google.gson.JsonElement guess) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - bodyParams.put("dates", dates); - bodyParams.put("guess", guess); - } - - /** - * Creates the IWorkbookFunctionsXirrRequest - * - * @return the IWorkbookFunctionsXirrRequest instance - */ - public IWorkbookFunctionsXirrRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsXirrRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsXirrRequest instance - */ - public IWorkbookFunctionsXirrRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsXirrRequest request = new WorkbookFunctionsXirrRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - if (hasParameter("dates")) { - request.body.dates = getParameter("dates"); - } - - if (hasParameter("guess")) { - request.body.guess = getParameter("guess"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequest.java deleted file mode 100644 index 482ec137dd3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsXnpvBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXnpvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xnpv Request. - */ -public class BaseWorkbookFunctionsXnpvRequest extends BaseRequest implements IBaseWorkbookFunctionsXnpvRequest { - protected final WorkbookFunctionsXnpvBody body; - - /** - * The request for this WorkbookFunctionsXnpv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsXnpvRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsXnpvBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsXnpvRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsXnpvRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsXnpvRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsXnpvRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsXnpvRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsXnpvRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequestBuilder.java deleted file mode 100644 index 0ddc7501bef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXnpvRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXnpvRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xnpv Request Builder. - */ -public class BaseWorkbookFunctionsXnpvRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsXnpv - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rate the rate - * @param values the values - * @param dates the dates - */ - public BaseWorkbookFunctionsXnpvRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates) { - super(requestUrl, client, requestOptions); - bodyParams.put("rate", rate); - bodyParams.put("values", values); - bodyParams.put("dates", dates); - } - - /** - * Creates the IWorkbookFunctionsXnpvRequest - * - * @return the IWorkbookFunctionsXnpvRequest instance - */ - public IWorkbookFunctionsXnpvRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsXnpvRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsXnpvRequest instance - */ - public IWorkbookFunctionsXnpvRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsXnpvRequest request = new WorkbookFunctionsXnpvRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - if (hasParameter("dates")) { - request.body.dates = getParameter("dates"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequest.java deleted file mode 100644 index 6898e43f2f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsXorBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xor Request. - */ -public class BaseWorkbookFunctionsXorRequest extends BaseRequest implements IBaseWorkbookFunctionsXorRequest { - protected final WorkbookFunctionsXorBody body; - - /** - * The request for this WorkbookFunctionsXor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsXorRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsXorBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsXorRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsXorRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsXorRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsXorRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsXorRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsXorRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequestBuilder.java deleted file mode 100644 index e5fe2e466c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsXorRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsXorRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Xor Request Builder. - */ -public class BaseWorkbookFunctionsXorRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsXor - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param values the values - */ - public BaseWorkbookFunctionsXorRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookFunctionsXorRequest - * - * @return the IWorkbookFunctionsXorRequest instance - */ - public IWorkbookFunctionsXorRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsXorRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsXorRequest instance - */ - public IWorkbookFunctionsXorRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsXorRequest request = new WorkbookFunctionsXorRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequest.java deleted file mode 100644 index 59987ae8fbc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsYearFracBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearFracRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Year Frac Request. - */ -public class BaseWorkbookFunctionsYearFracRequest extends BaseRequest implements IBaseWorkbookFunctionsYearFracRequest { - protected final WorkbookFunctionsYearFracBody body; - - /** - * The request for this WorkbookFunctionsYearFrac - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsYearFracRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsYearFracBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsYearFracRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsYearFracRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsYearFracRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsYearFracRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsYearFracRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsYearFracRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequestBuilder.java deleted file mode 100644 index e86f4172d58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearFracRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearFracRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Year Frac Request Builder. - */ -public class BaseWorkbookFunctionsYearFracRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsYearFrac - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param startDate the startDate - * @param endDate the endDate - * @param basis the basis - */ - public BaseWorkbookFunctionsYearFracRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("startDate", startDate); - bodyParams.put("endDate", endDate); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsYearFracRequest - * - * @return the IWorkbookFunctionsYearFracRequest instance - */ - public IWorkbookFunctionsYearFracRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsYearFracRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYearFracRequest instance - */ - public IWorkbookFunctionsYearFracRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsYearFracRequest request = new WorkbookFunctionsYearFracRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("startDate")) { - request.body.startDate = getParameter("startDate"); - } - - if (hasParameter("endDate")) { - request.body.endDate = getParameter("endDate"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequest.java deleted file mode 100644 index b3a0a17333d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsYearBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Year Request. - */ -public class BaseWorkbookFunctionsYearRequest extends BaseRequest implements IBaseWorkbookFunctionsYearRequest { - protected final WorkbookFunctionsYearBody body; - - /** - * The request for this WorkbookFunctionsYear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsYearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsYearBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsYearRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsYearRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsYearRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsYearRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsYearRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsYearRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequestBuilder.java deleted file mode 100644 index c3bc216c978..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYearRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Year Request Builder. - */ -public class BaseWorkbookFunctionsYearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsYear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param serialNumber the serialNumber - */ - public BaseWorkbookFunctionsYearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement serialNumber) { - super(requestUrl, client, requestOptions); - bodyParams.put("serialNumber", serialNumber); - } - - /** - * Creates the IWorkbookFunctionsYearRequest - * - * @return the IWorkbookFunctionsYearRequest instance - */ - public IWorkbookFunctionsYearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsYearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYearRequest instance - */ - public IWorkbookFunctionsYearRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsYearRequest request = new WorkbookFunctionsYearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("serialNumber")) { - request.body.serialNumber = getParameter("serialNumber"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequest.java deleted file mode 100644 index b759909fdd2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsYieldDiscBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldDiscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Disc Request. - */ -public class BaseWorkbookFunctionsYieldDiscRequest extends BaseRequest implements IBaseWorkbookFunctionsYieldDiscRequest { - protected final WorkbookFunctionsYieldDiscBody body; - - /** - * The request for this WorkbookFunctionsYieldDisc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsYieldDiscRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsYieldDiscBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsYieldDiscRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsYieldDiscRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsYieldDiscRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsYieldDiscRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsYieldDiscRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsYieldDiscRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequestBuilder.java deleted file mode 100644 index d4d07c864d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldDiscRequestBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldDiscRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Disc Request Builder. - */ -public class BaseWorkbookFunctionsYieldDiscRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsYieldDisc - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param pr the pr - * @param redemption the redemption - * @param basis the basis - */ - public BaseWorkbookFunctionsYieldDiscRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("pr", pr); - bodyParams.put("redemption", redemption); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsYieldDiscRequest - * - * @return the IWorkbookFunctionsYieldDiscRequest instance - */ - public IWorkbookFunctionsYieldDiscRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsYieldDiscRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYieldDiscRequest instance - */ - public IWorkbookFunctionsYieldDiscRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsYieldDiscRequest request = new WorkbookFunctionsYieldDiscRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequest.java deleted file mode 100644 index 43dd65e8550..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsYieldMatBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldMatRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Mat Request. - */ -public class BaseWorkbookFunctionsYieldMatRequest extends BaseRequest implements IBaseWorkbookFunctionsYieldMatRequest { - protected final WorkbookFunctionsYieldMatBody body; - - /** - * The request for this WorkbookFunctionsYieldMat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsYieldMatRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsYieldMatBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsYieldMatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsYieldMatRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsYieldMatRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsYieldMatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsYieldMatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsYieldMatRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequestBuilder.java deleted file mode 100644 index f6a6a0895be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldMatRequestBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldMatRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Mat Request Builder. - */ -public class BaseWorkbookFunctionsYieldMatRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsYieldMat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param issue the issue - * @param rate the rate - * @param pr the pr - * @param basis the basis - */ - public BaseWorkbookFunctionsYieldMatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("issue", issue); - bodyParams.put("rate", rate); - bodyParams.put("pr", pr); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsYieldMatRequest - * - * @return the IWorkbookFunctionsYieldMatRequest instance - */ - public IWorkbookFunctionsYieldMatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsYieldMatRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYieldMatRequest instance - */ - public IWorkbookFunctionsYieldMatRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsYieldMatRequest request = new WorkbookFunctionsYieldMatRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("issue")) { - request.body.issue = getParameter("issue"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequest.java deleted file mode 100644 index 293c8c6a8ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsYieldBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Request. - */ -public class BaseWorkbookFunctionsYieldRequest extends BaseRequest implements IBaseWorkbookFunctionsYieldRequest { - protected final WorkbookFunctionsYieldBody body; - - /** - * The request for this WorkbookFunctionsYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsYieldRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsYieldBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsYieldRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsYieldRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsYieldRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsYieldRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsYieldRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsYieldRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequestBuilder.java deleted file mode 100644 index f04b6249de1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsYieldRequestBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsYieldRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Yield Request Builder. - */ -public class BaseWorkbookFunctionsYieldRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsYield - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param settlement the settlement - * @param maturity the maturity - * @param rate the rate - * @param pr the pr - * @param redemption the redemption - * @param frequency the frequency - * @param basis the basis - */ - public BaseWorkbookFunctionsYieldRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis) { - super(requestUrl, client, requestOptions); - bodyParams.put("settlement", settlement); - bodyParams.put("maturity", maturity); - bodyParams.put("rate", rate); - bodyParams.put("pr", pr); - bodyParams.put("redemption", redemption); - bodyParams.put("frequency", frequency); - bodyParams.put("basis", basis); - } - - /** - * Creates the IWorkbookFunctionsYieldRequest - * - * @return the IWorkbookFunctionsYieldRequest instance - */ - public IWorkbookFunctionsYieldRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsYieldRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYieldRequest instance - */ - public IWorkbookFunctionsYieldRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsYieldRequest request = new WorkbookFunctionsYieldRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("settlement")) { - request.body.settlement = getParameter("settlement"); - } - - if (hasParameter("maturity")) { - request.body.maturity = getParameter("maturity"); - } - - if (hasParameter("rate")) { - request.body.rate = getParameter("rate"); - } - - if (hasParameter("pr")) { - request.body.pr = getParameter("pr"); - } - - if (hasParameter("redemption")) { - request.body.redemption = getParameter("redemption"); - } - - if (hasParameter("frequency")) { - request.body.frequency = getParameter("frequency"); - } - - if (hasParameter("basis")) { - request.body.basis = getParameter("basis"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequest.java deleted file mode 100644 index d1f5a040999..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionsZ_TestBody; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsZ_TestRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Z_Test Request. - */ -public class BaseWorkbookFunctionsZ_TestRequest extends BaseRequest implements IBaseWorkbookFunctionsZ_TestRequest { - protected final WorkbookFunctionsZ_TestBody body; - - /** - * The request for this WorkbookFunctionsZ_Test - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookFunctionsZ_TestRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookFunctionResult.class); - body = new WorkbookFunctionsZ_TestBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookFunctionResult post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookFunctionsZ_TestRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookFunctionsZ_TestRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookFunctionsZ_TestRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookFunctionsZ_TestRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookFunctionsZ_TestRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookFunctionsZ_TestRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequestBuilder.java deleted file mode 100644 index e15d942bbb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookFunctionsZ_TestRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsZ_TestRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Functions Z_Test Request Builder. - */ -public class BaseWorkbookFunctionsZ_TestRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookFunctionsZ_Test - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param array the array - * @param x the x - * @param sigma the sigma - */ - public BaseWorkbookFunctionsZ_TestRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement sigma) { - super(requestUrl, client, requestOptions); - bodyParams.put("array", array); - bodyParams.put("x", x); - bodyParams.put("sigma", sigma); - } - - /** - * Creates the IWorkbookFunctionsZ_TestRequest - * - * @return the IWorkbookFunctionsZ_TestRequest instance - */ - public IWorkbookFunctionsZ_TestRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookFunctionsZ_TestRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsZ_TestRequest instance - */ - public IWorkbookFunctionsZ_TestRequest buildRequest(final java.util.List requestOptions) { - WorkbookFunctionsZ_TestRequest request = new WorkbookFunctionsZ_TestRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("array")) { - request.body.array = getParameter("array"); - } - - if (hasParameter("x")) { - request.body.x = getParameter("x"); - } - - if (hasParameter("sigma")) { - request.body.sigma = getParameter("sigma"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequest.java deleted file mode 100644 index c1a2a6cd55a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItemAddFormulaLocalBody; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddFormulaLocalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Add Formula Local Request. - */ -public class BaseWorkbookNamedItemAddFormulaLocalRequest extends BaseRequest implements IBaseWorkbookNamedItemAddFormulaLocalRequest { - protected final WorkbookNamedItemAddFormulaLocalBody body; - - /** - * The request for this WorkbookNamedItemAddFormulaLocal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemAddFormulaLocalRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookNamedItem.class); - body = new WorkbookNamedItemAddFormulaLocalBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookNamedItem post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookNamedItemAddFormulaLocalRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookNamedItemAddFormulaLocalRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookNamedItemAddFormulaLocalRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookNamedItemAddFormulaLocalRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookNamedItemAddFormulaLocalRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookNamedItemAddFormulaLocalRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java deleted file mode 100644 index e600762d42f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddFormulaLocalRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Add Formula Local Request Builder. - */ -public class BaseWorkbookNamedItemAddFormulaLocalRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookNamedItemAddFormulaLocal - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param name the name - * @param formula the formula - * @param comment the comment - */ - public BaseWorkbookNamedItemAddFormulaLocalRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name, final String formula, final String comment) { - super(requestUrl, client, requestOptions); - bodyParams.put("name", name); - bodyParams.put("formula", formula); - bodyParams.put("comment", comment); - } - - /** - * Creates the IWorkbookNamedItemAddFormulaLocalRequest - * - * @return the IWorkbookNamedItemAddFormulaLocalRequest instance - */ - public IWorkbookNamedItemAddFormulaLocalRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookNamedItemAddFormulaLocalRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookNamedItemAddFormulaLocalRequest instance - */ - public IWorkbookNamedItemAddFormulaLocalRequest buildRequest(final java.util.List requestOptions) { - WorkbookNamedItemAddFormulaLocalRequest request = new WorkbookNamedItemAddFormulaLocalRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("name")) { - request.body.name = getParameter("name"); - } - - if (hasParameter("formula")) { - request.body.formula = getParameter("formula"); - } - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequest.java deleted file mode 100644 index 43ac199056e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItemAddBody; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Add Request. - */ -public class BaseWorkbookNamedItemAddRequest extends BaseRequest implements IBaseWorkbookNamedItemAddRequest { - protected final WorkbookNamedItemAddBody body; - - /** - * The request for this WorkbookNamedItemAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookNamedItem.class); - body = new WorkbookNamedItemAddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookNamedItem post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookNamedItemAddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookNamedItemAddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookNamedItemAddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookNamedItemAddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookNamedItemAddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookNamedItemAddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequestBuilder.java deleted file mode 100644 index bb1771f9baf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemAddRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemAddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Add Request Builder. - */ -public class BaseWorkbookNamedItemAddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookNamedItemAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param name the name - * @param reference the reference - * @param comment the comment - */ - public BaseWorkbookNamedItemAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name, final com.google.gson.JsonElement reference, final String comment) { - super(requestUrl, client, requestOptions); - bodyParams.put("name", name); - bodyParams.put("reference", reference); - bodyParams.put("comment", comment); - } - - /** - * Creates the IWorkbookNamedItemAddRequest - * - * @return the IWorkbookNamedItemAddRequest instance - */ - public IWorkbookNamedItemAddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookNamedItemAddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookNamedItemAddRequest instance - */ - public IWorkbookNamedItemAddRequest buildRequest(final java.util.List requestOptions) { - WorkbookNamedItemAddRequest request = new WorkbookNamedItemAddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("name")) { - request.body.name = getParameter("name"); - } - - if (hasParameter("reference")) { - request.body.reference = getParameter("reference"); - } - - if (hasParameter("comment")) { - request.body.comment = getParameter("comment"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionPage.java deleted file mode 100644 index e5dd5e1aab5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Collection Page. - */ -public class BaseWorkbookNamedItemCollectionPage extends BaseCollectionPage implements IBaseWorkbookNamedItemCollectionPage { - - /** - * A collection page for WorkbookNamedItem - * - * @param response the serialized BaseWorkbookNamedItemCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookNamedItemCollectionPage(final BaseWorkbookNamedItemCollectionResponse response, final IWorkbookNamedItemCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequest.java deleted file mode 100644 index fbde8672f29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Collection Request. - */ -public class BaseWorkbookNamedItemCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookNamedItemCollectionRequest { - - /** - * The request builder for this collection of WorkbookNamedItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookNamedItemCollectionResponse.class, IWorkbookNamedItemCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookNamedItemCollectionPage get() throws ClientException { - final BaseWorkbookNamedItemCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookNamedItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookNamedItem, callback); - } - - public WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookNamedItemRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookNamedItem); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookNamedItemCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookNamedItemCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookNamedItemCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookNamedItemCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookNamedItemCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookNamedItemCollectionRequest)this; - } - - public IWorkbookNamedItemCollectionPage buildFromResponse(final BaseWorkbookNamedItemCollectionResponse response) { - final IWorkbookNamedItemCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookNamedItemCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookNamedItemCollectionPage page = new WorkbookNamedItemCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequestBuilder.java deleted file mode 100644 index cf04b076430..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Collection Request Builder. - */ -public class BaseWorkbookNamedItemCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookNamedItemCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookNamedItemCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookNamedItemCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookNamedItemCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookNamedItemRequestBuilder byId(final String id) { - return new WorkbookNamedItemRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookNamedItemAddRequestBuilder add(final String name, final com.google.gson.JsonElement reference, final String comment) { - return new WorkbookNamedItemAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, name, reference, comment); - } - - public IWorkbookNamedItemAddFormulaLocalRequestBuilder addFormulaLocal(final String name, final String formula, final String comment) { - return new WorkbookNamedItemAddFormulaLocalRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addFormulaLocal"), getClient(), null, name, formula, comment); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionResponse.java deleted file mode 100644 index 2fc3764b1d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Collection Response. - */ -public class BaseWorkbookNamedItemCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookNamedItem within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequest.java deleted file mode 100644 index 03e9accbb8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Range Request. - */ -public class BaseWorkbookNamedItemRangeRequest extends BaseRequest implements IBaseWorkbookNamedItemRangeRequest { - - /** - * The request for this WorkbookNamedItemRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookNamedItemRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookNamedItemRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookNamedItemRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookNamedItemRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookNamedItemRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequestBuilder.java deleted file mode 100644 index 2a5bd40f745..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Range Request Builder. - */ -public class BaseWorkbookNamedItemRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookNamedItemRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookNamedItemRangeRequest - * - * @return the IWorkbookNamedItemRangeRequest instance - */ - public IWorkbookNamedItemRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookNamedItemRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookNamedItemRangeRequest instance - */ - public IWorkbookNamedItemRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookNamedItemRangeRequest request = new WorkbookNamedItemRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequest.java deleted file mode 100644 index a7dccd2c56a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequest; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Request. - */ -public class BaseWorkbookNamedItemRequest extends BaseRequest implements IBaseWorkbookNamedItemRequest { - - /** - * The request for the WorkbookNamedItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookNamedItemRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookNamedItem from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookNamedItem from the service - * - * @return the WorkbookNamedItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookNamedItem get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookNamedItem with a source - * - * @param sourceWorkbookNamedItem the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookNamedItem sourceWorkbookNamedItem, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookNamedItem); - } - - /** - * Patches this WorkbookNamedItem with a source - * - * @param sourceWorkbookNamedItem the source object with updates - * @return the updated WorkbookNamedItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookNamedItem patch(final WorkbookNamedItem sourceWorkbookNamedItem) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookNamedItem); - } - - /** - * Creates a WorkbookNamedItem with a new object - * - * @param newWorkbookNamedItem the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookNamedItem); - } - - /** - * Creates a WorkbookNamedItem with a new object - * - * @param newWorkbookNamedItem the new object to create - * @return the created WorkbookNamedItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException { - return send(HttpMethod.POST, newWorkbookNamedItem); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookNamedItemRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookNamedItemRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookNamedItemRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookNamedItemRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequestBuilder.java deleted file mode 100644 index 9653b3c4a41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookNamedItemRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequest; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequest; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRangeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Named Item Request Builder. - */ -public class BaseWorkbookNamedItemRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookNamedItemRequestBuilder { - - /** - * The request builder for the WorkbookNamedItem - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookNamedItemRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookNamedItemRequest instance - */ - public IWorkbookNamedItemRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookNamedItemRequest instance - */ - public IWorkbookNamedItemRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookNamedItemRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - public IWorkbookWorksheetRequestBuilder worksheet() { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); - } - - public IWorkbookNamedItemRangeRequestBuilder range() { - return new WorkbookNamedItemRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionPage.java deleted file mode 100644 index a813c249129..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookPivotTable; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Collection Page. - */ -public class BaseWorkbookPivotTableCollectionPage extends BaseCollectionPage implements IBaseWorkbookPivotTableCollectionPage { - - /** - * A collection page for WorkbookPivotTable - * - * @param response the serialized BaseWorkbookPivotTableCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookPivotTableCollectionPage(final BaseWorkbookPivotTableCollectionResponse response, final IWorkbookPivotTableCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequest.java deleted file mode 100644 index 789ef34c3d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Collection Request. - */ -public class BaseWorkbookPivotTableCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookPivotTableCollectionRequest { - - /** - * The request builder for this collection of WorkbookPivotTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookPivotTableCollectionResponse.class, IWorkbookPivotTableCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookPivotTableCollectionPage get() throws ClientException { - final BaseWorkbookPivotTableCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookPivotTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookPivotTable, callback); - } - - public WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookPivotTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookPivotTable); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookPivotTableCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookPivotTableCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookPivotTableCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookPivotTableCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookPivotTableCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookPivotTableCollectionRequest)this; - } - - public IWorkbookPivotTableCollectionPage buildFromResponse(final BaseWorkbookPivotTableCollectionResponse response) { - final IWorkbookPivotTableCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookPivotTableCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookPivotTableCollectionPage page = new WorkbookPivotTableCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequestBuilder.java deleted file mode 100644 index e33cc2a20d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Collection Request Builder. - */ -public class BaseWorkbookPivotTableCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookPivotTableCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookPivotTableCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookPivotTableCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookPivotTableCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookPivotTableRequestBuilder byId(final String id) { - return new WorkbookPivotTableRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookPivotTableRefreshAllRequestBuilder refreshAll() { - return new WorkbookPivotTableRefreshAllRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.refreshAll"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionResponse.java deleted file mode 100644 index 6be7fa1d722..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookPivotTable; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Collection Response. - */ -public class BaseWorkbookPivotTableCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookPivotTable within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequest.java deleted file mode 100644 index ffa538da196..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshAllRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Refresh All Request. - */ -public class BaseWorkbookPivotTableRefreshAllRequest extends BaseRequest implements IBaseWorkbookPivotTableRefreshAllRequest { - - /** - * The request for this WorkbookPivotTableRefreshAll - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableRefreshAllRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookPivotTableRefreshAll - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookPivotTableRefreshAll - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequestBuilder.java deleted file mode 100644 index 1b683441aa4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshAllRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshAllRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Refresh All Request Builder. - */ -public class BaseWorkbookPivotTableRefreshAllRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookPivotTableRefreshAll - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableRefreshAllRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookPivotTableRefreshAllRequest - * - * @return the IWorkbookPivotTableRefreshAllRequest instance - */ - public IWorkbookPivotTableRefreshAllRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookPivotTableRefreshAllRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookPivotTableRefreshAllRequest instance - */ - public IWorkbookPivotTableRefreshAllRequest buildRequest(final java.util.List requestOptions) { - WorkbookPivotTableRefreshAllRequest request = new WorkbookPivotTableRefreshAllRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequest.java deleted file mode 100644 index 6c070b320a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Refresh Request. - */ -public class BaseWorkbookPivotTableRefreshRequest extends BaseRequest implements IBaseWorkbookPivotTableRefreshRequest { - - /** - * The request for this WorkbookPivotTableRefresh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableRefreshRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookPivotTableRefresh - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookPivotTableRefresh - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequestBuilder.java deleted file mode 100644 index 4a3ff29c0be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRefreshRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Refresh Request Builder. - */ -public class BaseWorkbookPivotTableRefreshRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookPivotTableRefresh - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableRefreshRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookPivotTableRefreshRequest - * - * @return the IWorkbookPivotTableRefreshRequest instance - */ - public IWorkbookPivotTableRefreshRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookPivotTableRefreshRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookPivotTableRefreshRequest instance - */ - public IWorkbookPivotTableRefreshRequest buildRequest(final java.util.List requestOptions) { - WorkbookPivotTableRefreshRequest request = new WorkbookPivotTableRefreshRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequest.java deleted file mode 100644 index dca24359a0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequest; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRequest; -import com.microsoft.graph.models.extensions.WorkbookPivotTable; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Request. - */ -public class BaseWorkbookPivotTableRequest extends BaseRequest implements IBaseWorkbookPivotTableRequest { - - /** - * The request for the WorkbookPivotTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookPivotTableRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookPivotTable from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookPivotTable from the service - * - * @return the WorkbookPivotTable from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookPivotTable get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookPivotTable with a source - * - * @param sourceWorkbookPivotTable the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookPivotTable sourceWorkbookPivotTable, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookPivotTable); - } - - /** - * Patches this WorkbookPivotTable with a source - * - * @param sourceWorkbookPivotTable the source object with updates - * @return the updated WorkbookPivotTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookPivotTable patch(final WorkbookPivotTable sourceWorkbookPivotTable) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookPivotTable); - } - - /** - * Creates a WorkbookPivotTable with a new object - * - * @param newWorkbookPivotTable the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookPivotTable); - } - - /** - * Creates a WorkbookPivotTable with a new object - * - * @param newWorkbookPivotTable the new object to create - * @return the created WorkbookPivotTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException { - return send(HttpMethod.POST, newWorkbookPivotTable); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookPivotTableRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookPivotTableRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookPivotTableRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookPivotTableRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequestBuilder.java deleted file mode 100644 index 873f5614ab1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookPivotTableRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequest; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRequest; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRefreshRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Pivot Table Request Builder. - */ -public class BaseWorkbookPivotTableRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookPivotTableRequestBuilder { - - /** - * The request builder for the WorkbookPivotTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookPivotTableRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookPivotTableRequest instance - */ - public IWorkbookPivotTableRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookPivotTableRequest instance - */ - public IWorkbookPivotTableRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookPivotTableRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - public IWorkbookWorksheetRequestBuilder worksheet() { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); - } - - public IWorkbookPivotTableRefreshRequestBuilder refresh() { - return new WorkbookPivotTableRefreshRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.refresh"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequest.java deleted file mode 100644 index 5941fb1b402..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookProcessQueryBody; -import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; -import com.microsoft.graph.requests.extensions.WorkbookProcessQueryRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Process Query Request. - */ -public class BaseWorkbookProcessQueryRequest extends BaseRequest implements IBaseWorkbookProcessQueryRequest { - protected final WorkbookProcessQueryBody body; - - /** - * The request for this WorkbookProcessQuery - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookProcessQueryRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, java.io.InputStream.class); - body = new WorkbookProcessQueryBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public java.io.InputStream post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookProcessQueryRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookProcessQueryRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookProcessQueryRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookProcessQueryRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookProcessQueryRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookProcessQueryRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequestBuilder.java deleted file mode 100644 index efe028384ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookProcessQueryRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; -import com.microsoft.graph.requests.extensions.WorkbookProcessQueryRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Process Query Request Builder. - */ -public class BaseWorkbookProcessQueryRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookProcessQuery - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param input the input - */ - public BaseWorkbookProcessQueryRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final byte[] input) { - super(requestUrl, client, requestOptions); - bodyParams.put("input", input); - } - - /** - * Creates the IWorkbookProcessQueryRequest - * - * @return the IWorkbookProcessQueryRequest instance - */ - public IWorkbookProcessQueryRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookProcessQueryRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookProcessQueryRequest instance - */ - public IWorkbookProcessQueryRequest buildRequest(final java.util.List requestOptions) { - WorkbookProcessQueryRequest request = new WorkbookProcessQueryRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("input")) { - request.body.input = getParameter("input"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionPage.java deleted file mode 100644 index fecfe8ab01e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Collection Page. - */ -public class BaseWorkbookRangeBorderCollectionPage extends BaseCollectionPage implements IBaseWorkbookRangeBorderCollectionPage { - - /** - * A collection page for WorkbookRangeBorder - * - * @param response the serialized BaseWorkbookRangeBorderCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookRangeBorderCollectionPage(final BaseWorkbookRangeBorderCollectionResponse response, final IWorkbookRangeBorderCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequest.java deleted file mode 100644 index 5698205f994..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Collection Request. - */ -public class BaseWorkbookRangeBorderCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookRangeBorderCollectionRequest { - - /** - * The request builder for this collection of WorkbookRangeBorder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBorderCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookRangeBorderCollectionResponse.class, IWorkbookRangeBorderCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookRangeBorderCollectionPage get() throws ClientException { - final BaseWorkbookRangeBorderCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookRangeBorderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookRangeBorder, callback); - } - - public WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookRangeBorderRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookRangeBorder); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeBorderCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookRangeBorderCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeBorderCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookRangeBorderCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeBorderCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookRangeBorderCollectionRequest)this; - } - - public IWorkbookRangeBorderCollectionPage buildFromResponse(final BaseWorkbookRangeBorderCollectionResponse response) { - final IWorkbookRangeBorderCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookRangeBorderCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookRangeBorderCollectionPage page = new WorkbookRangeBorderCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequestBuilder.java deleted file mode 100644 index c61b4bfd211..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Collection Request Builder. - */ -public class BaseWorkbookRangeBorderCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeBorderCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookRangeFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBorderCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookRangeBorderCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookRangeBorderCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeBorderCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookRangeBorderRequestBuilder byId(final String id) { - return new WorkbookRangeBorderRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookRangeBorderItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookRangeBorderItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookRangeBorderCountRequestBuilder count() { - return new WorkbookRangeBorderCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionResponse.java deleted file mode 100644 index 8feee178ddf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Collection Response. - */ -public class BaseWorkbookRangeBorderCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookRangeBorder within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequest.java deleted file mode 100644 index ff4c1d56dec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Count Request. - */ -public class BaseWorkbookRangeBorderCountRequest extends BaseRequest implements IBaseWorkbookRangeBorderCountRequest { - - /** - * The request for this WorkbookRangeBorderCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBorderCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeBorderCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeBorderCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeBorderCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeBorderCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequestBuilder.java deleted file mode 100644 index 609f237bda3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Count Request Builder. - */ -public class BaseWorkbookRangeBorderCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeBorderCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBorderCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeBorderCountRequest - * - * @return the IWorkbookRangeBorderCountRequest instance - */ - public IWorkbookRangeBorderCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeBorderCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeBorderCountRequest instance - */ - public IWorkbookRangeBorderCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeBorderCountRequest request = new WorkbookRangeBorderCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequest.java deleted file mode 100644 index 1ba126b8ed9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Item At Request. - */ -public class BaseWorkbookRangeBorderItemAtRequest extends BaseRequest implements IBaseWorkbookRangeBorderItemAtRequest { - - /** - * The request for this WorkbookRangeBorderItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBorderItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRangeBorder.class); - } - - /** - * Patches the WorkbookRangeBorderItemAt - * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRangeBorder); - } - - /** - * Patches the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH - * @return the WorkbookRangeBorder - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeBorder patch(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRangeBorder); - } - - /** - * Puts the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRangeBorder); - } - - /** - * Puts the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT - * @return the WorkbookRangeBorder - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeBorder put(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRangeBorder); - } - /** - * Gets the WorkbookRangeBorder - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeBorder - * - * @return the WorkbookRangeBorder - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeBorder get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeBorderItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeBorderItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeBorderItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeBorderItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequestBuilder.java deleted file mode 100644 index 9446e7f8285..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Item At Request Builder. - */ -public class BaseWorkbookRangeBorderItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeBorderItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookRangeBorderItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookRangeBorderItemAtRequest - * - * @return the IWorkbookRangeBorderItemAtRequest instance - */ - public IWorkbookRangeBorderItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeBorderItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeBorderItemAtRequest instance - */ - public IWorkbookRangeBorderItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeBorderItemAtRequest request = new WorkbookRangeBorderItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequest.java deleted file mode 100644 index 061427bae28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderRequest; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Request. - */ -public class BaseWorkbookRangeBorderRequest extends BaseRequest implements IBaseWorkbookRangeBorderRequest { - - /** - * The request for the WorkbookRangeBorder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeBorderRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRangeBorder from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeBorder from the service - * - * @return the WorkbookRangeBorder from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeBorder get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRangeBorder with a source - * - * @param sourceWorkbookRangeBorder the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRangeBorder sourceWorkbookRangeBorder, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRangeBorder); - } - - /** - * Patches this WorkbookRangeBorder with a source - * - * @param sourceWorkbookRangeBorder the source object with updates - * @return the updated WorkbookRangeBorder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeBorder patch(final WorkbookRangeBorder sourceWorkbookRangeBorder) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRangeBorder); - } - - /** - * Creates a WorkbookRangeBorder with a new object - * - * @param newWorkbookRangeBorder the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRangeBorder); - } - - /** - * Creates a WorkbookRangeBorder with a new object - * - * @param newWorkbookRangeBorder the new object to create - * @return the created WorkbookRangeBorder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException { - return send(HttpMethod.POST, newWorkbookRangeBorder); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeBorderRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeBorderRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeBorderRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeBorderRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequestBuilder.java deleted file mode 100644 index 9e57a772cd1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBorderRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Border Request Builder. - */ -public class BaseWorkbookRangeBorderRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeBorderRequestBuilder { - - /** - * The request builder for the WorkbookRangeBorder - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBorderRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeBorderRequest instance - */ - public IWorkbookRangeBorderRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeBorderRequest instance - */ - public IWorkbookRangeBorderRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeBorderRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequest.java deleted file mode 100644 index 4e1499b6261..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBoundingRectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Bounding Rect Request. - */ -public class BaseWorkbookRangeBoundingRectRequest extends BaseRequest implements IBaseWorkbookRangeBoundingRectRequest { - - /** - * The request for this WorkbookRangeBoundingRect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeBoundingRectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeBoundingRect - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeBoundingRectRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeBoundingRectRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeBoundingRectRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeBoundingRectRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequestBuilder.java deleted file mode 100644 index be8f32d7ece..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeBoundingRectRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeBoundingRectRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Bounding Rect Request Builder. - */ -public class BaseWorkbookRangeBoundingRectRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeBoundingRect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param anotherRange the anotherRange - */ - public BaseWorkbookRangeBoundingRectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String anotherRange) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("anotherRange", anotherRange)); - } - - /** - * Creates the IWorkbookRangeBoundingRectRequest - * - * @return the IWorkbookRangeBoundingRectRequest instance - */ - public IWorkbookRangeBoundingRectRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeBoundingRectRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeBoundingRectRequest instance - */ - public IWorkbookRangeBoundingRectRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeBoundingRectRequest request = new WorkbookRangeBoundingRectRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequest.java deleted file mode 100644 index 26007449c8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeCellRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Cell Request. - */ -public class BaseWorkbookRangeCellRequest extends BaseRequest implements IBaseWorkbookRangeCellRequest { - - /** - * The request for this WorkbookRangeCell - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeCellRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeCell - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeCellRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeCellRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeCellRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeCellRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequestBuilder.java deleted file mode 100644 index 59931bcc20a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeCellRequestBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeCellRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Cell Request Builder. - */ -public class BaseWorkbookRangeCellRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeCell - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param row the row - * @param column the column - */ - public BaseWorkbookRangeCellRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer row, final Integer column) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("row", row)); - functionOptions.add(new FunctionOption("column", column)); - } - - /** - * Creates the IWorkbookRangeCellRequest - * - * @return the IWorkbookRangeCellRequest instance - */ - public IWorkbookRangeCellRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeCellRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeCellRequest instance - */ - public IWorkbookRangeCellRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeCellRequest request = new WorkbookRangeCellRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequest.java deleted file mode 100644 index 1f184268483..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeClearBody; -import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Clear Request. - */ -public class BaseWorkbookRangeClearRequest extends BaseRequest implements IBaseWorkbookRangeClearRequest { - protected final WorkbookRangeClearBody body; - - /** - * The request for this WorkbookRangeClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookRangeClearBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeClearRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeClearRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeClearRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookRangeClearRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeClearRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeClearRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequestBuilder.java deleted file mode 100644 index 3a21adee022..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeClearRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeClearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Clear Request Builder. - */ -public class BaseWorkbookRangeClearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param applyTo the applyTo - */ - public BaseWorkbookRangeClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String applyTo) { - super(requestUrl, client, requestOptions); - bodyParams.put("applyTo", applyTo); - } - - /** - * Creates the IWorkbookRangeClearRequest - * - * @return the IWorkbookRangeClearRequest instance - */ - public IWorkbookRangeClearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeClearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeClearRequest instance - */ - public IWorkbookRangeClearRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeClearRequest request = new WorkbookRangeClearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("applyTo")) { - request.body.applyTo = getParameter("applyTo"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequest.java deleted file mode 100644 index f92d4b574c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Column Request. - */ -public class BaseWorkbookRangeColumnRequest extends BaseRequest implements IBaseWorkbookRangeColumnRequest { - - /** - * The request for this WorkbookRangeColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeColumn - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeColumnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeColumnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeColumnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeColumnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequestBuilder.java deleted file mode 100644 index e632ae21a49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Column Request Builder. - */ -public class BaseWorkbookRangeColumnRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param column the column - */ - public BaseWorkbookRangeColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer column) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("column", column)); - } - - /** - * Creates the IWorkbookRangeColumnRequest - * - * @return the IWorkbookRangeColumnRequest instance - */ - public IWorkbookRangeColumnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeColumnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeColumnRequest instance - */ - public IWorkbookRangeColumnRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeColumnRequest request = new WorkbookRangeColumnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequest.java deleted file mode 100644 index 57cb6391a2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Columns After Request. - */ -public class BaseWorkbookRangeColumnsAfterRequest extends BaseRequest implements IBaseWorkbookRangeColumnsAfterRequest { - - /** - * The request for this WorkbookRangeColumnsAfter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeColumnsAfterRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeColumnsAfter - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeColumnsAfterRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeColumnsAfterRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeColumnsAfterRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeColumnsAfterRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequestBuilder.java deleted file mode 100644 index d46db6fb513..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsAfterRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Columns After Request Builder. - */ -public class BaseWorkbookRangeColumnsAfterRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeColumnsAfter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeColumnsAfterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookRangeColumnsAfter - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param count the count - */ - public BaseWorkbookRangeColumnsAfterRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("count", count)); - } - - /** - * Creates the IWorkbookRangeColumnsAfterRequest - * - * @return the IWorkbookRangeColumnsAfterRequest instance - */ - public IWorkbookRangeColumnsAfterRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeColumnsAfterRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeColumnsAfterRequest instance - */ - public IWorkbookRangeColumnsAfterRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeColumnsAfterRequest request = new WorkbookRangeColumnsAfterRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequest.java deleted file mode 100644 index 1e39fc9c15d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Columns Before Request. - */ -public class BaseWorkbookRangeColumnsBeforeRequest extends BaseRequest implements IBaseWorkbookRangeColumnsBeforeRequest { - - /** - * The request for this WorkbookRangeColumnsBefore - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeColumnsBeforeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeColumnsBefore - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeColumnsBeforeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeColumnsBeforeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeColumnsBeforeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeColumnsBeforeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequestBuilder.java deleted file mode 100644 index 753e68e31a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeColumnsBeforeRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Columns Before Request Builder. - */ -public class BaseWorkbookRangeColumnsBeforeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeColumnsBefore - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeColumnsBeforeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookRangeColumnsBefore - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param count the count - */ - public BaseWorkbookRangeColumnsBeforeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("count", count)); - } - - /** - * Creates the IWorkbookRangeColumnsBeforeRequest - * - * @return the IWorkbookRangeColumnsBeforeRequest instance - */ - public IWorkbookRangeColumnsBeforeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeColumnsBeforeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeColumnsBeforeRequest instance - */ - public IWorkbookRangeColumnsBeforeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeColumnsBeforeRequest request = new WorkbookRangeColumnsBeforeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequest.java deleted file mode 100644 index 51d595db621..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeDeleteBody; -import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeDeleteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Delete Request. - */ -public class BaseWorkbookRangeDeleteRequest extends BaseRequest implements IBaseWorkbookRangeDeleteRequest { - protected final WorkbookRangeDeleteBody body; - - /** - * The request for this WorkbookRangeDelete - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeDeleteRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookRangeDeleteBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeDeleteRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeDeleteRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeDeleteRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookRangeDeleteRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeDeleteRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeDeleteRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequestBuilder.java deleted file mode 100644 index df8f6c38d99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeDeleteRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeDeleteRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Delete Request Builder. - */ -public class BaseWorkbookRangeDeleteRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeDelete - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param shift the shift - */ - public BaseWorkbookRangeDeleteRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String shift) { - super(requestUrl, client, requestOptions); - bodyParams.put("shift", shift); - } - - /** - * Creates the IWorkbookRangeDeleteRequest - * - * @return the IWorkbookRangeDeleteRequest instance - */ - public IWorkbookRangeDeleteRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeDeleteRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeDeleteRequest instance - */ - public IWorkbookRangeDeleteRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeDeleteRequest request = new WorkbookRangeDeleteRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("shift")) { - request.body.shift = getParameter("shift"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequest.java deleted file mode 100644 index 3634faf8a24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeEntireColumnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Entire Column Request. - */ -public class BaseWorkbookRangeEntireColumnRequest extends BaseRequest implements IBaseWorkbookRangeEntireColumnRequest { - - /** - * The request for this WorkbookRangeEntireColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeEntireColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeEntireColumn - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeEntireColumnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeEntireColumnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeEntireColumnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeEntireColumnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequestBuilder.java deleted file mode 100644 index b9a9a1ddcdf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireColumnRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeEntireColumnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Entire Column Request Builder. - */ -public class BaseWorkbookRangeEntireColumnRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeEntireColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeEntireColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeEntireColumnRequest - * - * @return the IWorkbookRangeEntireColumnRequest instance - */ - public IWorkbookRangeEntireColumnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeEntireColumnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeEntireColumnRequest instance - */ - public IWorkbookRangeEntireColumnRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeEntireColumnRequest request = new WorkbookRangeEntireColumnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequest.java deleted file mode 100644 index c1392c114e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeEntireRowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Entire Row Request. - */ -public class BaseWorkbookRangeEntireRowRequest extends BaseRequest implements IBaseWorkbookRangeEntireRowRequest { - - /** - * The request for this WorkbookRangeEntireRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeEntireRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeEntireRow - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeEntireRowRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeEntireRowRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeEntireRowRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeEntireRowRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequestBuilder.java deleted file mode 100644 index 341fe22e21b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeEntireRowRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeEntireRowRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Entire Row Request Builder. - */ -public class BaseWorkbookRangeEntireRowRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeEntireRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeEntireRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeEntireRowRequest - * - * @return the IWorkbookRangeEntireRowRequest instance - */ - public IWorkbookRangeEntireRowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeEntireRowRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeEntireRowRequest instance - */ - public IWorkbookRangeEntireRowRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeEntireRowRequest request = new WorkbookRangeEntireRowRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequest.java deleted file mode 100644 index 0c27fb27d0b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFillClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Fill Clear Request. - */ -public class BaseWorkbookRangeFillClearRequest extends BaseRequest implements IBaseWorkbookRangeFillClearRequest { - - /** - * The request for this WorkbookRangeFillClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFillClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookRangeFillClear - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookRangeFillClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequestBuilder.java deleted file mode 100644 index 91e2dc5f549..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillClearRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFillClearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Fill Clear Request Builder. - */ -public class BaseWorkbookRangeFillClearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeFillClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFillClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeFillClearRequest - * - * @return the IWorkbookRangeFillClearRequest instance - */ - public IWorkbookRangeFillClearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeFillClearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeFillClearRequest instance - */ - public IWorkbookRangeFillClearRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeFillClearRequest request = new WorkbookRangeFillClearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequest.java deleted file mode 100644 index cdb662a69c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFillRequest; -import com.microsoft.graph.models.extensions.WorkbookRangeFill; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Fill Request. - */ -public class BaseWorkbookRangeFillRequest extends BaseRequest implements IBaseWorkbookRangeFillRequest { - - /** - * The request for the WorkbookRangeFill - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeFillRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRangeFill from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeFill from the service - * - * @return the WorkbookRangeFill from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFill get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRangeFill with a source - * - * @param sourceWorkbookRangeFill the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRangeFill sourceWorkbookRangeFill, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRangeFill); - } - - /** - * Patches this WorkbookRangeFill with a source - * - * @param sourceWorkbookRangeFill the source object with updates - * @return the updated WorkbookRangeFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFill patch(final WorkbookRangeFill sourceWorkbookRangeFill) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRangeFill); - } - - /** - * Creates a WorkbookRangeFill with a new object - * - * @param newWorkbookRangeFill the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRangeFill newWorkbookRangeFill, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRangeFill); - } - - /** - * Creates a WorkbookRangeFill with a new object - * - * @param newWorkbookRangeFill the new object to create - * @return the created WorkbookRangeFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFill post(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException { - return send(HttpMethod.POST, newWorkbookRangeFill); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeFillRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeFillRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeFillRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeFillRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequestBuilder.java deleted file mode 100644 index b68356ea018..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFillRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFillRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeFillClearRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Fill Request Builder. - */ -public class BaseWorkbookRangeFillRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeFillRequestBuilder { - - /** - * The request builder for the WorkbookRangeFill - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFillRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeFillRequest instance - */ - public IWorkbookRangeFillRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeFillRequest instance - */ - public IWorkbookRangeFillRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeFillRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookRangeFillClearRequestBuilder clear() { - return new WorkbookRangeFillClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequest.java deleted file mode 100644 index d93214b16ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFontRequest; -import com.microsoft.graph.models.extensions.WorkbookRangeFont; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Font Request. - */ -public class BaseWorkbookRangeFontRequest extends BaseRequest implements IBaseWorkbookRangeFontRequest { - - /** - * The request for the WorkbookRangeFont - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeFontRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRangeFont from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeFont from the service - * - * @return the WorkbookRangeFont from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFont get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRangeFont with a source - * - * @param sourceWorkbookRangeFont the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRangeFont sourceWorkbookRangeFont, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRangeFont); - } - - /** - * Patches this WorkbookRangeFont with a source - * - * @param sourceWorkbookRangeFont the source object with updates - * @return the updated WorkbookRangeFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFont patch(final WorkbookRangeFont sourceWorkbookRangeFont) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRangeFont); - } - - /** - * Creates a WorkbookRangeFont with a new object - * - * @param newWorkbookRangeFont the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRangeFont newWorkbookRangeFont, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRangeFont); - } - - /** - * Creates a WorkbookRangeFont with a new object - * - * @param newWorkbookRangeFont the new object to create - * @return the created WorkbookRangeFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFont post(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException { - return send(HttpMethod.POST, newWorkbookRangeFont); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeFontRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeFontRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeFontRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeFontRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequestBuilder.java deleted file mode 100644 index ba691a963e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFontRequestBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFontRequest; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Font Request Builder. - */ -public class BaseWorkbookRangeFontRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeFontRequestBuilder { - - /** - * The request builder for the WorkbookRangeFont - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFontRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeFontRequest instance - */ - public IWorkbookRangeFontRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeFontRequest instance - */ - public IWorkbookRangeFontRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeFontRequest(getRequestUrl(), getClient(), requestOptions); - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequest.java deleted file mode 100644 index 84c546dd7c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitColumnsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format Autofit Columns Request. - */ -public class BaseWorkbookRangeFormatAutofitColumnsRequest extends BaseRequest implements IBaseWorkbookRangeFormatAutofitColumnsRequest { - - /** - * The request for this WorkbookRangeFormatAutofitColumns - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFormatAutofitColumnsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookRangeFormatAutofitColumns - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookRangeFormatAutofitColumns - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java deleted file mode 100644 index 0bad0e2ae34..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitColumnsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format Autofit Columns Request Builder. - */ -public class BaseWorkbookRangeFormatAutofitColumnsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeFormatAutofitColumns - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFormatAutofitColumnsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeFormatAutofitColumnsRequest - * - * @return the IWorkbookRangeFormatAutofitColumnsRequest instance - */ - public IWorkbookRangeFormatAutofitColumnsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeFormatAutofitColumnsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeFormatAutofitColumnsRequest instance - */ - public IWorkbookRangeFormatAutofitColumnsRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeFormatAutofitColumnsRequest request = new WorkbookRangeFormatAutofitColumnsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequest.java deleted file mode 100644 index 84f99ee6af3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitRowsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format Autofit Rows Request. - */ -public class BaseWorkbookRangeFormatAutofitRowsRequest extends BaseRequest implements IBaseWorkbookRangeFormatAutofitRowsRequest { - - /** - * The request for this WorkbookRangeFormatAutofitRows - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFormatAutofitRowsRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookRangeFormatAutofitRows - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookRangeFormatAutofitRows - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequestBuilder.java deleted file mode 100644 index c3e497a90a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatAutofitRowsRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitRowsRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format Autofit Rows Request Builder. - */ -public class BaseWorkbookRangeFormatAutofitRowsRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeFormatAutofitRows - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFormatAutofitRowsRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeFormatAutofitRowsRequest - * - * @return the IWorkbookRangeFormatAutofitRowsRequest instance - */ - public IWorkbookRangeFormatAutofitRowsRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeFormatAutofitRowsRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeFormatAutofitRowsRequest instance - */ - public IWorkbookRangeFormatAutofitRowsRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeFormatAutofitRowsRequest request = new WorkbookRangeFormatAutofitRowsRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequest.java deleted file mode 100644 index a22ee01fe12..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatRequest; -import com.microsoft.graph.models.extensions.WorkbookRangeFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format Request. - */ -public class BaseWorkbookRangeFormatRequest extends BaseRequest implements IBaseWorkbookRangeFormatRequest { - - /** - * The request for the WorkbookRangeFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeFormatRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRangeFormat from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeFormat from the service - * - * @return the WorkbookRangeFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFormat get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRangeFormat with a source - * - * @param sourceWorkbookRangeFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRangeFormat sourceWorkbookRangeFormat, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRangeFormat); - } - - /** - * Patches this WorkbookRangeFormat with a source - * - * @param sourceWorkbookRangeFormat the source object with updates - * @return the updated WorkbookRangeFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFormat patch(final WorkbookRangeFormat sourceWorkbookRangeFormat) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRangeFormat); - } - - /** - * Creates a WorkbookRangeFormat with a new object - * - * @param newWorkbookRangeFormat the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRangeFormat newWorkbookRangeFormat, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRangeFormat); - } - - /** - * Creates a WorkbookRangeFormat with a new object - * - * @param newWorkbookRangeFormat the new object to create - * @return the created WorkbookRangeFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeFormat post(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException { - return send(HttpMethod.POST, newWorkbookRangeFormat); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeFormatRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeFormatRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeFormatRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeFormatRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequestBuilder.java deleted file mode 100644 index acca9f0602c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeFormatRequestBuilder.java +++ /dev/null @@ -1,108 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeBorderRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeFontRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFormatProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitColumnsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatAutofitRowsRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Format Request Builder. - */ -public class BaseWorkbookRangeFormatRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeFormatRequestBuilder { - - /** - * The request builder for the WorkbookRangeFormat - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeFormatRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeFormatRequest instance - */ - public IWorkbookRangeFormatRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeFormatRequest instance - */ - public IWorkbookRangeFormatRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeFormatRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookRangeBorderCollectionRequestBuilder borders() { - return new WorkbookRangeBorderCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("borders"), getClient(), null); - } - - public IWorkbookRangeBorderRequestBuilder borders(final String id) { - return new WorkbookRangeBorderRequestBuilder(getRequestUrlWithAdditionalSegment("borders") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for WorkbookRangeFill - * - * @return the IWorkbookRangeFillRequestBuilder instance - */ - public IWorkbookRangeFillRequestBuilder fill() { - return new WorkbookRangeFillRequestBuilder(getRequestUrlWithAdditionalSegment("fill"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookRangeFont - * - * @return the IWorkbookRangeFontRequestBuilder instance - */ - public IWorkbookRangeFontRequestBuilder font() { - return new WorkbookRangeFontRequestBuilder(getRequestUrlWithAdditionalSegment("font"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookFormatProtection - * - * @return the IWorkbookFormatProtectionRequestBuilder instance - */ - public IWorkbookFormatProtectionRequestBuilder protection() { - return new WorkbookFormatProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("protection"), getClient(), null); - } - - public IWorkbookRangeFormatAutofitColumnsRequestBuilder autofitColumns() { - return new WorkbookRangeFormatAutofitColumnsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.autofitColumns"), getClient(), null); - } - - public IWorkbookRangeFormatAutofitRowsRequestBuilder autofitRows() { - return new WorkbookRangeFormatAutofitRowsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.autofitRows"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequest.java deleted file mode 100644 index 2bedb46b09d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeInsertBody; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeInsertRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Insert Request. - */ -public class BaseWorkbookRangeInsertRequest extends BaseRequest implements IBaseWorkbookRangeInsertRequest { - protected final WorkbookRangeInsertBody body; - - /** - * The request for this WorkbookRangeInsert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeInsertRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - body = new WorkbookRangeInsertBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookRange post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeInsertRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeInsertRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeInsertRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookRangeInsertRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeInsertRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeInsertRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequestBuilder.java deleted file mode 100644 index e42877d0beb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeInsertRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeInsertRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Insert Request Builder. - */ -public class BaseWorkbookRangeInsertRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeInsert - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param shift the shift - */ - public BaseWorkbookRangeInsertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String shift) { - super(requestUrl, client, requestOptions); - bodyParams.put("shift", shift); - } - - /** - * Creates the IWorkbookRangeInsertRequest - * - * @return the IWorkbookRangeInsertRequest instance - */ - public IWorkbookRangeInsertRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeInsertRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeInsertRequest instance - */ - public IWorkbookRangeInsertRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeInsertRequest request = new WorkbookRangeInsertRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("shift")) { - request.body.shift = getParameter("shift"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequest.java deleted file mode 100644 index 2ae6a2a1d4b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeIntersectionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Intersection Request. - */ -public class BaseWorkbookRangeIntersectionRequest extends BaseRequest implements IBaseWorkbookRangeIntersectionRequest { - - /** - * The request for this WorkbookRangeIntersection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeIntersectionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeIntersection - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeIntersectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeIntersectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeIntersectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeIntersectionRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequestBuilder.java deleted file mode 100644 index 76eeed48a5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeIntersectionRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeIntersectionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Intersection Request Builder. - */ -public class BaseWorkbookRangeIntersectionRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeIntersection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param anotherRange the anotherRange - */ - public BaseWorkbookRangeIntersectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String anotherRange) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("anotherRange", anotherRange)); - } - - /** - * Creates the IWorkbookRangeIntersectionRequest - * - * @return the IWorkbookRangeIntersectionRequest instance - */ - public IWorkbookRangeIntersectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeIntersectionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeIntersectionRequest instance - */ - public IWorkbookRangeIntersectionRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeIntersectionRequest request = new WorkbookRangeIntersectionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequest.java deleted file mode 100644 index 971c1aa1a23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastCellRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Last Cell Request. - */ -public class BaseWorkbookRangeLastCellRequest extends BaseRequest implements IBaseWorkbookRangeLastCellRequest { - - /** - * The request for this WorkbookRangeLastCell - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeLastCellRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeLastCell - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeLastCellRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeLastCellRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeLastCellRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeLastCellRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequestBuilder.java deleted file mode 100644 index 7b5e4352e2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastCellRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastCellRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Last Cell Request Builder. - */ -public class BaseWorkbookRangeLastCellRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeLastCell - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeLastCellRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeLastCellRequest - * - * @return the IWorkbookRangeLastCellRequest instance - */ - public IWorkbookRangeLastCellRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeLastCellRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeLastCellRequest instance - */ - public IWorkbookRangeLastCellRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeLastCellRequest request = new WorkbookRangeLastCellRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequest.java deleted file mode 100644 index 37be758af18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastColumnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Last Column Request. - */ -public class BaseWorkbookRangeLastColumnRequest extends BaseRequest implements IBaseWorkbookRangeLastColumnRequest { - - /** - * The request for this WorkbookRangeLastColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeLastColumnRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeLastColumn - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeLastColumnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeLastColumnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeLastColumnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeLastColumnRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequestBuilder.java deleted file mode 100644 index b3666371cc3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastColumnRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastColumnRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Last Column Request Builder. - */ -public class BaseWorkbookRangeLastColumnRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeLastColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeLastColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeLastColumnRequest - * - * @return the IWorkbookRangeLastColumnRequest instance - */ - public IWorkbookRangeLastColumnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeLastColumnRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeLastColumnRequest instance - */ - public IWorkbookRangeLastColumnRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeLastColumnRequest request = new WorkbookRangeLastColumnRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequest.java deleted file mode 100644 index 3e66c57c212..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastRowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Last Row Request. - */ -public class BaseWorkbookRangeLastRowRequest extends BaseRequest implements IBaseWorkbookRangeLastRowRequest { - - /** - * The request for this WorkbookRangeLastRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeLastRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeLastRow - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeLastRowRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeLastRowRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeLastRowRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeLastRowRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequestBuilder.java deleted file mode 100644 index cced65cdc37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeLastRowRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastRowRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Last Row Request Builder. - */ -public class BaseWorkbookRangeLastRowRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeLastRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeLastRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeLastRowRequest - * - * @return the IWorkbookRangeLastRowRequest instance - */ - public IWorkbookRangeLastRowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeLastRowRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeLastRowRequest instance - */ - public IWorkbookRangeLastRowRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeLastRowRequest request = new WorkbookRangeLastRowRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequest.java deleted file mode 100644 index 4727093fd8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeMergeBody; -import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeMergeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Merge Request. - */ -public class BaseWorkbookRangeMergeRequest extends BaseRequest implements IBaseWorkbookRangeMergeRequest { - protected final WorkbookRangeMergeBody body; - - /** - * The request for this WorkbookRangeMerge - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeMergeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookRangeMergeBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeMergeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeMergeRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeMergeRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookRangeMergeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeMergeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeMergeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequestBuilder.java deleted file mode 100644 index 4c95b0935af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeMergeRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeMergeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Merge Request Builder. - */ -public class BaseWorkbookRangeMergeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeMerge - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param across the across - */ - public BaseWorkbookRangeMergeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean across) { - super(requestUrl, client, requestOptions); - bodyParams.put("across", across); - } - - /** - * Creates the IWorkbookRangeMergeRequest - * - * @return the IWorkbookRangeMergeRequest instance - */ - public IWorkbookRangeMergeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeMergeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeMergeRequest instance - */ - public IWorkbookRangeMergeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeMergeRequest request = new WorkbookRangeMergeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("across")) { - request.body.across = getParameter("across"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequest.java deleted file mode 100644 index d7e43d4080a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeOffsetRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Offset Range Request. - */ -public class BaseWorkbookRangeOffsetRangeRequest extends BaseRequest implements IBaseWorkbookRangeOffsetRangeRequest { - - /** - * The request for this WorkbookRangeOffsetRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeOffsetRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeOffsetRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeOffsetRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeOffsetRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeOffsetRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeOffsetRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequestBuilder.java deleted file mode 100644 index 3906c542ca9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeOffsetRangeRequestBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeOffsetRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Offset Range Request Builder. - */ -public class BaseWorkbookRangeOffsetRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeOffsetRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param rowOffset the rowOffset - * @param columnOffset the columnOffset - */ - public BaseWorkbookRangeOffsetRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer rowOffset, final Integer columnOffset) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("rowOffset", rowOffset)); - functionOptions.add(new FunctionOption("columnOffset", columnOffset)); - } - - /** - * Creates the IWorkbookRangeOffsetRangeRequest - * - * @return the IWorkbookRangeOffsetRangeRequest instance - */ - public IWorkbookRangeOffsetRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeOffsetRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeOffsetRangeRequest instance - */ - public IWorkbookRangeOffsetRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeOffsetRangeRequest request = new WorkbookRangeOffsetRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequest.java deleted file mode 100644 index 5cc921c4db6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRequest; -import com.microsoft.graph.models.extensions.WorkbookRange; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Request. - */ -public class BaseWorkbookRangeRequest extends BaseRequest implements IBaseWorkbookRangeRequest { - - /** - * The request for the WorkbookRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRange from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange from the service - * - * @return the WorkbookRange from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRange with a source - * - * @param sourceWorkbookRange the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRange sourceWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRange); - } - - /** - * Patches this WorkbookRange with a source - * - * @param sourceWorkbookRange the source object with updates - * @return the updated WorkbookRange - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRange patch(final WorkbookRange sourceWorkbookRange) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRange); - } - - /** - * Creates a WorkbookRange with a new object - * - * @param newWorkbookRange the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRange newWorkbookRange, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRange); - } - - /** - * Creates a WorkbookRange with a new object - * - * @param newWorkbookRange the new object to create - * @return the created WorkbookRange - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRange post(final WorkbookRange newWorkbookRange) throws ClientException { - return send(HttpMethod.POST, newWorkbookRange); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequestBuilder.java deleted file mode 100644 index 7a0b3aaa084..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRequestBuilder.java +++ /dev/null @@ -1,253 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeSortRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeClearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeDeleteRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeInsertRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeMergeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeUnmergeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeBoundingRectRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeCellRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsAfterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeColumnsBeforeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeEntireColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeEntireRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeIntersectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastCellRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeLastRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeOffsetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeResizedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeVisibleViewRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Request Builder. - */ -public class BaseWorkbookRangeRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeRequestBuilder { - - /** - * The request builder for the WorkbookRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeRequest instance - */ - public IWorkbookRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeRequest instance - */ - public IWorkbookRangeRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookRangeFormat - * - * @return the IWorkbookRangeFormatRequestBuilder instance - */ - public IWorkbookRangeFormatRequestBuilder format() { - return new WorkbookRangeFormatRequestBuilder(getRequestUrlWithAdditionalSegment("format"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookRangeSort - * - * @return the IWorkbookRangeSortRequestBuilder instance - */ - public IWorkbookRangeSortRequestBuilder sort() { - return new WorkbookRangeSortRequestBuilder(getRequestUrlWithAdditionalSegment("sort"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - public IWorkbookWorksheetRequestBuilder worksheet() { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); - } - - public IWorkbookRangeClearRequestBuilder clear(final String applyTo) { - return new WorkbookRangeClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null, applyTo); - } - - public IWorkbookRangeDeleteRequestBuilder delete(final String shift) { - return new WorkbookRangeDeleteRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delete"), getClient(), null, shift); - } - - public IWorkbookRangeInsertRequestBuilder insert(final String shift) { - return new WorkbookRangeInsertRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.insert"), getClient(), null, shift); - } - - public IWorkbookRangeMergeRequestBuilder merge(final Boolean across) { - return new WorkbookRangeMergeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.merge"), getClient(), null, across); - } - - public IWorkbookRangeUnmergeRequestBuilder unmerge() { - return new WorkbookRangeUnmergeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unmerge"), getClient(), null); - } - - public IWorkbookRangeBoundingRectRequestBuilder boundingRect(final String anotherRange) { - return new WorkbookRangeBoundingRectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.boundingRect"), getClient(), null, anotherRange); - } - - public IWorkbookRangeCellRequestBuilder cell(final Integer row, final Integer column) { - return new WorkbookRangeCellRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cell"), getClient(), null, row, column); - } - - public IWorkbookRangeColumnRequestBuilder column(final Integer column) { - return new WorkbookRangeColumnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.column"), getClient(), null, column); - } - - public IWorkbookRangeColumnsAfterRequestBuilder columnsAfter() { - return new WorkbookRangeColumnsAfterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsAfter"), getClient(), null); - } - - public IWorkbookRangeColumnsAfterRequestBuilder columnsAfter(final Integer count) { - return new WorkbookRangeColumnsAfterRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsAfter"), getClient(), null, count); - } - - public IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore() { - return new WorkbookRangeColumnsBeforeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsBefore"), getClient(), null); - } - - public IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore(final Integer count) { - return new WorkbookRangeColumnsBeforeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.columnsBefore"), getClient(), null, count); - } - - public IWorkbookRangeEntireColumnRequestBuilder entireColumn() { - return new WorkbookRangeEntireColumnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.entireColumn"), getClient(), null); - } - - public IWorkbookRangeEntireRowRequestBuilder entireRow() { - return new WorkbookRangeEntireRowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.entireRow"), getClient(), null); - } - - public IWorkbookRangeIntersectionRequestBuilder intersection(final String anotherRange) { - return new WorkbookRangeIntersectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.intersection"), getClient(), null, anotherRange); - } - - public IWorkbookRangeLastCellRequestBuilder lastCell() { - return new WorkbookRangeLastCellRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lastCell"), getClient(), null); - } - - public IWorkbookRangeLastColumnRequestBuilder lastColumn() { - return new WorkbookRangeLastColumnRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lastColumn"), getClient(), null); - } - - public IWorkbookRangeLastRowRequestBuilder lastRow() { - return new WorkbookRangeLastRowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.lastRow"), getClient(), null); - } - - public IWorkbookRangeOffsetRangeRequestBuilder offsetRange(final Integer rowOffset, final Integer columnOffset) { - return new WorkbookRangeOffsetRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.offsetRange"), getClient(), null, rowOffset, columnOffset); - } - - public IWorkbookRangeResizedRangeRequestBuilder resizedRange(final Integer deltaRows, final Integer deltaColumns) { - return new WorkbookRangeResizedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resizedRange"), getClient(), null, deltaRows, deltaColumns); - } - - public IWorkbookRangeRowRequestBuilder row(final Integer row) { - return new WorkbookRangeRowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.row"), getClient(), null, row); - } - - public IWorkbookRangeRowsAboveRequestBuilder rowsAbove() { - return new WorkbookRangeRowsAboveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsAbove"), getClient(), null); - } - - public IWorkbookRangeRowsAboveRequestBuilder rowsAbove(final Integer count) { - return new WorkbookRangeRowsAboveRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsAbove"), getClient(), null, count); - } - - public IWorkbookRangeRowsBelowRequestBuilder rowsBelow() { - return new WorkbookRangeRowsBelowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsBelow"), getClient(), null); - } - - public IWorkbookRangeRowsBelowRequestBuilder rowsBelow(final Integer count) { - return new WorkbookRangeRowsBelowRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.rowsBelow"), getClient(), null, count); - } - - public IWorkbookRangeUsedRangeRequestBuilder usedRange() { - return new WorkbookRangeUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null); - } - - public IWorkbookRangeUsedRangeRequestBuilder usedRange(final Boolean valuesOnly) { - return new WorkbookRangeUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null, valuesOnly); - } - - public IWorkbookRangeVisibleViewRequestBuilder visibleView() { - return new WorkbookRangeVisibleViewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.visibleView"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequest.java deleted file mode 100644 index c4c4e11059b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeResizedRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Resized Range Request. - */ -public class BaseWorkbookRangeResizedRangeRequest extends BaseRequest implements IBaseWorkbookRangeResizedRangeRequest { - - /** - * The request for this WorkbookRangeResizedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeResizedRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeResizedRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeResizedRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeResizedRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeResizedRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeResizedRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequestBuilder.java deleted file mode 100644 index 40ebd9fdfb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeResizedRangeRequestBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeResizedRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Resized Range Request Builder. - */ -public class BaseWorkbookRangeResizedRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeResizedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param deltaRows the deltaRows - * @param deltaColumns the deltaColumns - */ - public BaseWorkbookRangeResizedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer deltaRows, final Integer deltaColumns) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("deltaRows", deltaRows)); - functionOptions.add(new FunctionOption("deltaColumns", deltaColumns)); - } - - /** - * Creates the IWorkbookRangeResizedRangeRequest - * - * @return the IWorkbookRangeResizedRangeRequest instance - */ - public IWorkbookRangeResizedRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeResizedRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeResizedRangeRequest instance - */ - public IWorkbookRangeResizedRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeResizedRangeRequest request = new WorkbookRangeResizedRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequest.java deleted file mode 100644 index abab25c3e41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Row Request. - */ -public class BaseWorkbookRangeRowRequest extends BaseRequest implements IBaseWorkbookRangeRowRequest { - - /** - * The request for this WorkbookRangeRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeRowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeRow - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeRowRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeRowRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeRowRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeRowRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequestBuilder.java deleted file mode 100644 index d917a2602e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Row Request Builder. - */ -public class BaseWorkbookRangeRowRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param row the row - */ - public BaseWorkbookRangeRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer row) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("row", row)); - } - - /** - * Creates the IWorkbookRangeRowRequest - * - * @return the IWorkbookRangeRowRequest instance - */ - public IWorkbookRangeRowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeRowRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeRowRequest instance - */ - public IWorkbookRangeRowRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeRowRequest request = new WorkbookRangeRowRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequest.java deleted file mode 100644 index 9db5811e7f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Rows Above Request. - */ -public class BaseWorkbookRangeRowsAboveRequest extends BaseRequest implements IBaseWorkbookRangeRowsAboveRequest { - - /** - * The request for this WorkbookRangeRowsAbove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeRowsAboveRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeRowsAbove - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeRowsAboveRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeRowsAboveRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeRowsAboveRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeRowsAboveRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequestBuilder.java deleted file mode 100644 index 847225966aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsAboveRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsAboveRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Rows Above Request Builder. - */ -public class BaseWorkbookRangeRowsAboveRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeRowsAbove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeRowsAboveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookRangeRowsAbove - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param count the count - */ - public BaseWorkbookRangeRowsAboveRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("count", count)); - } - - /** - * Creates the IWorkbookRangeRowsAboveRequest - * - * @return the IWorkbookRangeRowsAboveRequest instance - */ - public IWorkbookRangeRowsAboveRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeRowsAboveRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeRowsAboveRequest instance - */ - public IWorkbookRangeRowsAboveRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeRowsAboveRequest request = new WorkbookRangeRowsAboveRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequest.java deleted file mode 100644 index bd6b927a036..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Rows Below Request. - */ -public class BaseWorkbookRangeRowsBelowRequest extends BaseRequest implements IBaseWorkbookRangeRowsBelowRequest { - - /** - * The request for this WorkbookRangeRowsBelow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeRowsBelowRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeRowsBelow - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeRowsBelowRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeRowsBelowRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeRowsBelowRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeRowsBelowRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequestBuilder.java deleted file mode 100644 index 03b07d8532b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeRowsBelowRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeRowsBelowRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Rows Below Request Builder. - */ -public class BaseWorkbookRangeRowsBelowRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeRowsBelow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeRowsBelowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookRangeRowsBelow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param count the count - */ - public BaseWorkbookRangeRowsBelowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer count) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("count", count)); - } - - /** - * Creates the IWorkbookRangeRowsBelowRequest - * - * @return the IWorkbookRangeRowsBelowRequest instance - */ - public IWorkbookRangeRowsBelowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeRowsBelowRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeRowsBelowRequest instance - */ - public IWorkbookRangeRowsBelowRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeRowsBelowRequest request = new WorkbookRangeRowsBelowRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequest.java deleted file mode 100644 index bb90b28f246..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeSortApplyBody; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeSortApplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Sort Apply Request. - */ -public class BaseWorkbookRangeSortApplyRequest extends BaseRequest implements IBaseWorkbookRangeSortApplyRequest { - protected final WorkbookRangeSortApplyBody body; - - /** - * The request for this WorkbookRangeSortApply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeSortApplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookRangeSortApplyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeSortApplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeSortApplyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeSortApplyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookRangeSortApplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeSortApplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeSortApplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequestBuilder.java deleted file mode 100644 index 35cb165b233..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortApplyRequestBuilder.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeSortApplyRequest; -import com.microsoft.graph.models.extensions.WorkbookSortField; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Sort Apply Request Builder. - */ -public class BaseWorkbookRangeSortApplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeSortApply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param fields the fields - * @param matchCase the matchCase - * @param hasHeaders the hasHeaders - * @param orientation the orientation - * @param method the method - */ - public BaseWorkbookRangeSortApplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List fields, final Boolean matchCase, final Boolean hasHeaders, final String orientation, final String method) { - super(requestUrl, client, requestOptions); - bodyParams.put("fields", fields); - bodyParams.put("matchCase", matchCase); - bodyParams.put("hasHeaders", hasHeaders); - bodyParams.put("orientation", orientation); - bodyParams.put("method", method); - } - - /** - * Creates the IWorkbookRangeSortApplyRequest - * - * @return the IWorkbookRangeSortApplyRequest instance - */ - public IWorkbookRangeSortApplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeSortApplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeSortApplyRequest instance - */ - public IWorkbookRangeSortApplyRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeSortApplyRequest request = new WorkbookRangeSortApplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("fields")) { - request.body.fields = getParameter("fields"); - } - - if (hasParameter("matchCase")) { - request.body.matchCase = getParameter("matchCase"); - } - - if (hasParameter("hasHeaders")) { - request.body.hasHeaders = getParameter("hasHeaders"); - } - - if (hasParameter("orientation")) { - request.body.orientation = getParameter("orientation"); - } - - if (hasParameter("method")) { - request.body.method = getParameter("method"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequest.java deleted file mode 100644 index 75d5c4e325b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeSortRequest; -import com.microsoft.graph.models.extensions.WorkbookRangeSort; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Sort Request. - */ -public class BaseWorkbookRangeSortRequest extends BaseRequest implements IBaseWorkbookRangeSortRequest { - - /** - * The request for the WorkbookRangeSort - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeSortRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRangeSort from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeSort from the service - * - * @return the WorkbookRangeSort from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeSort get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRangeSort with a source - * - * @param sourceWorkbookRangeSort the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRangeSort sourceWorkbookRangeSort, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRangeSort); - } - - /** - * Patches this WorkbookRangeSort with a source - * - * @param sourceWorkbookRangeSort the source object with updates - * @return the updated WorkbookRangeSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeSort patch(final WorkbookRangeSort sourceWorkbookRangeSort) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRangeSort); - } - - /** - * Creates a WorkbookRangeSort with a new object - * - * @param newWorkbookRangeSort the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRangeSort newWorkbookRangeSort, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRangeSort); - } - - /** - * Creates a WorkbookRangeSort with a new object - * - * @param newWorkbookRangeSort the new object to create - * @return the created WorkbookRangeSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeSort post(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException { - return send(HttpMethod.POST, newWorkbookRangeSort); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeSortRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeSortRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeSortRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeSortRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequestBuilder.java deleted file mode 100644 index 7e2eb813e7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeSortRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeSortRequest; -import com.microsoft.graph.models.extensions.WorkbookSortField; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeSortApplyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Sort Request Builder. - */ -public class BaseWorkbookRangeSortRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeSortRequestBuilder { - - /** - * The request builder for the WorkbookRangeSort - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeSortRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeSortRequest instance - */ - public IWorkbookRangeSortRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeSortRequest instance - */ - public IWorkbookRangeSortRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeSortRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookRangeSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final Boolean hasHeaders, final String orientation, final String method) { - return new WorkbookRangeSortApplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.apply"), getClient(), null, fields, matchCase, hasHeaders, orientation, method); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequest.java deleted file mode 100644 index 49a0ffed8b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeUnmergeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Unmerge Request. - */ -public class BaseWorkbookRangeUnmergeRequest extends BaseRequest implements IBaseWorkbookRangeUnmergeRequest { - - /** - * The request for this WorkbookRangeUnmerge - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeUnmergeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookRangeUnmerge - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookRangeUnmerge - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequestBuilder.java deleted file mode 100644 index 9862452d2c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUnmergeRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeUnmergeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Unmerge Request Builder. - */ -public class BaseWorkbookRangeUnmergeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRangeUnmerge - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeUnmergeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeUnmergeRequest - * - * @return the IWorkbookRangeUnmergeRequest instance - */ - public IWorkbookRangeUnmergeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeUnmergeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeUnmergeRequest instance - */ - public IWorkbookRangeUnmergeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeUnmergeRequest request = new WorkbookRangeUnmergeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequest.java deleted file mode 100644 index a3d60dcce09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Used Range Request. - */ -public class BaseWorkbookRangeUsedRangeRequest extends BaseRequest implements IBaseWorkbookRangeUsedRangeRequest { - - /** - * The request for this WorkbookRangeUsedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeUsedRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeUsedRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeUsedRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeUsedRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeUsedRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeUsedRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequestBuilder.java deleted file mode 100644 index 008a9fcd37b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeUsedRangeRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeUsedRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Used Range Request Builder. - */ -public class BaseWorkbookRangeUsedRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeUsedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookRangeUsedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param valuesOnly the valuesOnly - */ - public BaseWorkbookRangeUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean valuesOnly) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("valuesOnly", valuesOnly)); - } - - /** - * Creates the IWorkbookRangeUsedRangeRequest - * - * @return the IWorkbookRangeUsedRangeRequest instance - */ - public IWorkbookRangeUsedRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeUsedRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeUsedRangeRequest instance - */ - public IWorkbookRangeUsedRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeUsedRangeRequest request = new WorkbookRangeUsedRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionPage.java deleted file mode 100644 index 699afeb994d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Collection Page. - */ -public class BaseWorkbookRangeViewCollectionPage extends BaseCollectionPage implements IBaseWorkbookRangeViewCollectionPage { - - /** - * A collection page for WorkbookRangeView - * - * @param response the serialized BaseWorkbookRangeViewCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookRangeViewCollectionPage(final BaseWorkbookRangeViewCollectionResponse response, final IWorkbookRangeViewCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequest.java deleted file mode 100644 index 79259b86e9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Collection Request. - */ -public class BaseWorkbookRangeViewCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookRangeViewCollectionRequest { - - /** - * The request builder for this collection of WorkbookRangeView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeViewCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookRangeViewCollectionResponse.class, IWorkbookRangeViewCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookRangeViewCollectionPage get() throws ClientException { - final BaseWorkbookRangeViewCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookRangeViewRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookRangeView, callback); - } - - public WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookRangeViewRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookRangeView); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeViewCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookRangeViewCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeViewCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookRangeViewCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookRangeViewCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookRangeViewCollectionRequest)this; - } - - public IWorkbookRangeViewCollectionPage buildFromResponse(final BaseWorkbookRangeViewCollectionResponse response) { - final IWorkbookRangeViewCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookRangeViewCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookRangeViewCollectionPage page = new WorkbookRangeViewCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequestBuilder.java deleted file mode 100644 index e87ec051dfe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Collection Request Builder. - */ -public class BaseWorkbookRangeViewCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeViewCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookRangeView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeViewCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookRangeViewCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookRangeViewCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeViewCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookRangeViewRequestBuilder byId(final String id) { - return new WorkbookRangeViewRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookRangeViewItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookRangeViewItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionResponse.java deleted file mode 100644 index 02e6e271625..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Collection Response. - */ -public class BaseWorkbookRangeViewCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookRangeView within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequest.java deleted file mode 100644 index 074f834bdc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Item At Request. - */ -public class BaseWorkbookRangeViewItemAtRequest extends BaseRequest implements IBaseWorkbookRangeViewItemAtRequest { - - /** - * The request for this WorkbookRangeViewItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeViewItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRangeView.class); - } - - /** - * Patches the WorkbookRangeViewItemAt - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRangeView); - } - - /** - * Patches the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRangeView); - } - - /** - * Puts the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRangeView); - } - - /** - * Puts the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRangeView); - } - /** - * Gets the WorkbookRangeView - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeView - * - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeView get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeViewItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeViewItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeViewItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeViewItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequestBuilder.java deleted file mode 100644 index 9214d6a9316..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Item At Request Builder. - */ -public class BaseWorkbookRangeViewItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeViewItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookRangeViewItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookRangeViewItemAtRequest - * - * @return the IWorkbookRangeViewItemAtRequest instance - */ - public IWorkbookRangeViewItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeViewItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeViewItemAtRequest instance - */ - public IWorkbookRangeViewItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeViewItemAtRequest request = new WorkbookRangeViewItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequest.java deleted file mode 100644 index e818e97aff8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Range Request. - */ -public class BaseWorkbookRangeViewRangeRequest extends BaseRequest implements IBaseWorkbookRangeViewRangeRequest { - - /** - * The request for this WorkbookRangeViewRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeViewRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookRangeViewRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeViewRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeViewRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeViewRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeViewRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequestBuilder.java deleted file mode 100644 index 180694f33e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Range Request Builder. - */ -public class BaseWorkbookRangeViewRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeViewRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeViewRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeViewRangeRequest - * - * @return the IWorkbookRangeViewRangeRequest instance - */ - public IWorkbookRangeViewRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeViewRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeViewRangeRequest instance - */ - public IWorkbookRangeViewRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeViewRangeRequest request = new WorkbookRangeViewRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequest.java deleted file mode 100644 index 0e392e75087..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewRequest; -import com.microsoft.graph.models.extensions.WorkbookRangeView; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Request. - */ -public class BaseWorkbookRangeViewRequest extends BaseRequest implements IBaseWorkbookRangeViewRequest { - - /** - * The request for the WorkbookRangeView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRangeViewRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookRangeView from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeView from the service - * - * @return the WorkbookRangeView from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeView get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookRangeView with a source - * - * @param sourceWorkbookRangeView the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookRangeView sourceWorkbookRangeView, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookRangeView); - } - - /** - * Patches this WorkbookRangeView with a source - * - * @param sourceWorkbookRangeView the source object with updates - * @return the updated WorkbookRangeView - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeView patch(final WorkbookRangeView sourceWorkbookRangeView) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookRangeView); - } - - /** - * Creates a WorkbookRangeView with a new object - * - * @param newWorkbookRangeView the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookRangeView); - } - - /** - * Creates a WorkbookRangeView with a new object - * - * @param newWorkbookRangeView the new object to create - * @return the created WorkbookRangeView - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException { - return send(HttpMethod.POST, newWorkbookRangeView); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeViewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeViewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeViewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeViewRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequestBuilder.java deleted file mode 100644 index 4b694b682c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeViewRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRangeViewRangeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range View Request Builder. - */ -public class BaseWorkbookRangeViewRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRangeViewRequestBuilder { - - /** - * The request builder for the WorkbookRangeView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeViewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRangeViewRequest instance - */ - public IWorkbookRangeViewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeViewRequest instance - */ - public IWorkbookRangeViewRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRangeViewRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookRangeViewCollectionRequestBuilder rows() { - return new WorkbookRangeViewCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("rows"), getClient(), null); - } - - public IWorkbookRangeViewRequestBuilder rows(final String id) { - return new WorkbookRangeViewRequestBuilder(getRequestUrlWithAdditionalSegment("rows") + "/" + id, getClient(), null); - } - - public IWorkbookRangeViewRangeRequestBuilder range() { - return new WorkbookRangeViewRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequest.java deleted file mode 100644 index 8c7132a3627..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeVisibleViewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Visible View Request. - */ -public class BaseWorkbookRangeVisibleViewRequest extends BaseRequest implements IBaseWorkbookRangeVisibleViewRequest { - - /** - * The request for this WorkbookRangeVisibleView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeVisibleViewRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRangeView.class); - } - - /** - * Patches the WorkbookRangeVisibleView - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRangeView); - } - - /** - * Patches the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRangeView); - } - - /** - * Puts the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRangeView); - } - - /** - * Puts the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRangeView); - } - /** - * Gets the WorkbookRangeView - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRangeView - * - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRangeView get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRangeVisibleViewRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRangeVisibleViewRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRangeVisibleViewRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRangeVisibleViewRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequestBuilder.java deleted file mode 100644 index 757d0a8be06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRangeVisibleViewRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; -import com.microsoft.graph.requests.extensions.WorkbookRangeVisibleViewRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Range Visible View Request Builder. - */ -public class BaseWorkbookRangeVisibleViewRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookRangeVisibleView - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRangeVisibleViewRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRangeVisibleViewRequest - * - * @return the IWorkbookRangeVisibleViewRequest instance - */ - public IWorkbookRangeVisibleViewRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRangeVisibleViewRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeVisibleViewRequest instance - */ - public IWorkbookRangeVisibleViewRequest buildRequest(final java.util.List requestOptions) { - WorkbookRangeVisibleViewRequest request = new WorkbookRangeVisibleViewRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequest.java deleted file mode 100644 index cb5834f54c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; -import com.microsoft.graph.requests.extensions.WorkbookRefreshSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Refresh Session Request. - */ -public class BaseWorkbookRefreshSessionRequest extends BaseRequest implements IBaseWorkbookRefreshSessionRequest { - - /** - * The request for this WorkbookRefreshSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRefreshSessionRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookRefreshSession - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookRefreshSession - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequestBuilder.java deleted file mode 100644 index 7bcc6d87e2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRefreshSessionRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; -import com.microsoft.graph.requests.extensions.WorkbookRefreshSessionRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Refresh Session Request Builder. - */ -public class BaseWorkbookRefreshSessionRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookRefreshSession - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRefreshSessionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookRefreshSessionRequest - * - * @return the IWorkbookRefreshSessionRequest instance - */ - public IWorkbookRefreshSessionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookRefreshSessionRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookRefreshSessionRequest instance - */ - public IWorkbookRefreshSessionRequest buildRequest(final java.util.List requestOptions) { - WorkbookRefreshSessionRequest request = new WorkbookRefreshSessionRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequest.java deleted file mode 100644 index 954157b506e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRequest; -import com.microsoft.graph.requests.extensions.WorkbookRequest; -import com.microsoft.graph.models.extensions.Workbook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Request. - */ -public class BaseWorkbookRequest extends BaseRequest implements IBaseWorkbookRequest { - - /** - * The request for the Workbook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the Workbook from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Workbook from the service - * - * @return the Workbook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Workbook get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this Workbook with a source - * - * @param sourceWorkbook the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final Workbook sourceWorkbook, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbook); - } - - /** - * Patches this Workbook with a source - * - * @param sourceWorkbook the source object with updates - * @return the updated Workbook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Workbook patch(final Workbook sourceWorkbook) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbook); - } - - /** - * Creates a Workbook with a new object - * - * @param newWorkbook the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final Workbook newWorkbook, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbook); - } - - /** - * Creates a Workbook with a new object - * - * @param newWorkbook the new object to create - * @return the created Workbook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public Workbook post(final Workbook newWorkbook) throws ClientException { - return send(HttpMethod.POST, newWorkbook); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequestBuilder.java deleted file mode 100644 index a0371813710..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookRequestBuilder.java +++ /dev/null @@ -1,131 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRequest; -import com.microsoft.graph.requests.extensions.WorkbookRequest; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookApplicationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFunctionsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookCreateSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookCloseSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookRefreshSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookProcessQueryRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Request Builder. - */ -public class BaseWorkbookRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookRequestBuilder { - - /** - * The request builder for the Workbook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookRequest instance - */ - public IWorkbookRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookRequest instance - */ - public IWorkbookRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookApplication - * - * @return the IWorkbookApplicationRequestBuilder instance - */ - public IWorkbookApplicationRequestBuilder application() { - return new WorkbookApplicationRequestBuilder(getRequestUrlWithAdditionalSegment("application"), getClient(), null); - } - public IWorkbookNamedItemCollectionRequestBuilder names() { - return new WorkbookNamedItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("names"), getClient(), null); - } - - public IWorkbookNamedItemRequestBuilder names(final String id) { - return new WorkbookNamedItemRequestBuilder(getRequestUrlWithAdditionalSegment("names") + "/" + id, getClient(), null); - } - public IWorkbookTableCollectionRequestBuilder tables() { - return new WorkbookTableCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tables"), getClient(), null); - } - - public IWorkbookTableRequestBuilder tables(final String id) { - return new WorkbookTableRequestBuilder(getRequestUrlWithAdditionalSegment("tables") + "/" + id, getClient(), null); - } - public IWorkbookWorksheetCollectionRequestBuilder worksheets() { - return new WorkbookWorksheetCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("worksheets"), getClient(), null); - } - - public IWorkbookWorksheetRequestBuilder worksheets(final String id) { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheets") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for WorkbookFunctions - * - * @return the IWorkbookFunctionsRequestBuilder instance - */ - public IWorkbookFunctionsRequestBuilder functions() { - return new WorkbookFunctionsRequestBuilder(getRequestUrlWithAdditionalSegment("functions"), getClient(), null); - } - - public IWorkbookCreateSessionRequestBuilder createSession(final Boolean persistChanges) { - return new WorkbookCreateSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.createSession"), getClient(), null, persistChanges); - } - - public IWorkbookCloseSessionRequestBuilder closeSession() { - return new WorkbookCloseSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.closeSession"), getClient(), null); - } - - public IWorkbookRefreshSessionRequestBuilder refreshSession() { - return new WorkbookRefreshSessionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.refreshSession"), getClient(), null); - } - - public IWorkbookProcessQueryRequestBuilder processQuery(final byte[] input) { - return new WorkbookProcessQueryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.processQuery"), getClient(), null, input); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequest.java deleted file mode 100644 index 7a227ce9038..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableAddBody; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Add Request. - */ -public class BaseWorkbookTableAddRequest extends BaseRequest implements IBaseWorkbookTableAddRequest { - protected final WorkbookTableAddBody body; - - /** - * The request for this WorkbookTableAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookTable.class); - body = new WorkbookTableAddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookTable post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableAddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableAddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableAddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookTableAddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableAddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableAddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequestBuilder.java deleted file mode 100644 index 1715ec95ab1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableAddRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableAddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Add Request Builder. - */ -public class BaseWorkbookTableAddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param address the address - * @param hasHeaders the hasHeaders - */ - public BaseWorkbookTableAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String address, final Boolean hasHeaders) { - super(requestUrl, client, requestOptions); - bodyParams.put("address", address); - bodyParams.put("hasHeaders", hasHeaders); - } - - /** - * Creates the IWorkbookTableAddRequest - * - * @return the IWorkbookTableAddRequest instance - */ - public IWorkbookTableAddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableAddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableAddRequest instance - */ - public IWorkbookTableAddRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableAddRequest request = new WorkbookTableAddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("address")) { - request.body.address = getParameter("address"); - } - - if (hasParameter("hasHeaders")) { - request.body.hasHeaders = getParameter("hasHeaders"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequest.java deleted file mode 100644 index b06e327d946..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableClearFiltersRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Clear Filters Request. - */ -public class BaseWorkbookTableClearFiltersRequest extends BaseRequest implements IBaseWorkbookTableClearFiltersRequest { - - /** - * The request for this WorkbookTableClearFilters - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableClearFiltersRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookTableClearFilters - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookTableClearFilters - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequestBuilder.java deleted file mode 100644 index 23712fc3353..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableClearFiltersRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableClearFiltersRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Clear Filters Request Builder. - */ -public class BaseWorkbookTableClearFiltersRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableClearFilters - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableClearFiltersRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableClearFiltersRequest - * - * @return the IWorkbookTableClearFiltersRequest instance - */ - public IWorkbookTableClearFiltersRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableClearFiltersRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableClearFiltersRequest instance - */ - public IWorkbookTableClearFiltersRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableClearFiltersRequest request = new WorkbookTableClearFiltersRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionPage.java deleted file mode 100644 index bc694b906b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Collection Page. - */ -public class BaseWorkbookTableCollectionPage extends BaseCollectionPage implements IBaseWorkbookTableCollectionPage { - - /** - * A collection page for WorkbookTable - * - * @param response the serialized BaseWorkbookTableCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookTableCollectionPage(final BaseWorkbookTableCollectionResponse response, final IWorkbookTableCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequest.java deleted file mode 100644 index af538a4d99a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Collection Request. - */ -public class BaseWorkbookTableCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookTableCollectionRequest { - - /** - * The request builder for this collection of WorkbookTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookTableCollectionResponse.class, IWorkbookTableCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookTableCollectionPage get() throws ClientException { - final BaseWorkbookTableCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookTable newWorkbookTable, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookTable, callback); - } - - public WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookTableRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookTable); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookTableCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookTableCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookTableCollectionRequest)this; - } - - public IWorkbookTableCollectionPage buildFromResponse(final BaseWorkbookTableCollectionResponse response) { - final IWorkbookTableCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookTableCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookTableCollectionPage page = new WorkbookTableCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequestBuilder.java deleted file mode 100644 index 552cc96be8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Collection Request Builder. - */ -public class BaseWorkbookTableCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookTableCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookTableCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookTableRequestBuilder byId(final String id) { - return new WorkbookTableRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookTableAddRequestBuilder add(final String address, final Boolean hasHeaders) { - return new WorkbookTableAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, address, hasHeaders); - } - - public IWorkbookTableItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookTableItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookTableCountRequestBuilder count() { - return new WorkbookTableCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionResponse.java deleted file mode 100644 index ccdac483d82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTable; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Collection Response. - */ -public class BaseWorkbookTableCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookTable within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequest.java deleted file mode 100644 index 92bd1c1ac6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumnAddBody; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Add Request. - */ -public class BaseWorkbookTableColumnAddRequest extends BaseRequest implements IBaseWorkbookTableColumnAddRequest { - protected final WorkbookTableColumnAddBody body; - - /** - * The request for this WorkbookTableColumnAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookTableColumn.class); - body = new WorkbookTableColumnAddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookTableColumn post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnAddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnAddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableColumnAddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookTableColumnAddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnAddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnAddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequestBuilder.java deleted file mode 100644 index 747d8add407..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnAddRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnAddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Add Request Builder. - */ -public class BaseWorkbookTableColumnAddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - * @param values the values - * @param name the name - */ - public BaseWorkbookTableColumnAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index, final com.google.gson.JsonElement values, final String name) { - super(requestUrl, client, requestOptions); - bodyParams.put("index", index); - bodyParams.put("values", values); - bodyParams.put("name", name); - } - - /** - * Creates the IWorkbookTableColumnAddRequest - * - * @return the IWorkbookTableColumnAddRequest instance - */ - public IWorkbookTableColumnAddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnAddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnAddRequest instance - */ - public IWorkbookTableColumnAddRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnAddRequest request = new WorkbookTableColumnAddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("index")) { - request.body.index = getParameter("index"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - if (hasParameter("name")) { - request.body.name = getParameter("name"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionPage.java deleted file mode 100644 index b44fc2f8f16..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Collection Page. - */ -public class BaseWorkbookTableColumnCollectionPage extends BaseCollectionPage implements IBaseWorkbookTableColumnCollectionPage { - - /** - * A collection page for WorkbookTableColumn - * - * @param response the serialized BaseWorkbookTableColumnCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookTableColumnCollectionPage(final BaseWorkbookTableColumnCollectionResponse response, final IWorkbookTableColumnCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequest.java deleted file mode 100644 index 4ed14d8670a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Collection Request. - */ -public class BaseWorkbookTableColumnCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookTableColumnCollectionRequest { - - /** - * The request builder for this collection of WorkbookTableColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookTableColumnCollectionResponse.class, IWorkbookTableColumnCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookTableColumnCollectionPage get() throws ClientException { - final BaseWorkbookTableColumnCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookTableColumnRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookTableColumn, callback); - } - - public WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookTableColumnRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookTableColumn); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookTableColumnCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookTableColumnCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableColumnCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookTableColumnCollectionRequest)this; - } - - public IWorkbookTableColumnCollectionPage buildFromResponse(final BaseWorkbookTableColumnCollectionResponse response) { - final IWorkbookTableColumnCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookTableColumnCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookTableColumnCollectionPage page = new WorkbookTableColumnCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequestBuilder.java deleted file mode 100644 index 21a129e7a57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Collection Request Builder. - */ -public class BaseWorkbookTableColumnCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableColumnCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookTableColumnCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookTableColumnCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableColumnCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookTableColumnRequestBuilder byId(final String id) { - return new WorkbookTableColumnRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookTableColumnAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values, final String name) { - return new WorkbookTableColumnAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, index, values, name); - } - - public IWorkbookTableColumnItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookTableColumnItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookTableColumnCountRequestBuilder count() { - return new WorkbookTableColumnCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionResponse.java deleted file mode 100644 index 00ff36037d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Collection Response. - */ -public class BaseWorkbookTableColumnCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookTableColumn within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequest.java deleted file mode 100644 index da9090c5a8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Count Request. - */ -public class BaseWorkbookTableColumnCountRequest extends BaseRequest implements IBaseWorkbookTableColumnCountRequest { - - /** - * The request for this WorkbookTableColumnCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequestBuilder.java deleted file mode 100644 index 37dce697a70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Count Request Builder. - */ -public class BaseWorkbookTableColumnCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableColumnCountRequest - * - * @return the IWorkbookTableColumnCountRequest instance - */ - public IWorkbookTableColumnCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnCountRequest instance - */ - public IWorkbookTableColumnCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnCountRequest request = new WorkbookTableColumnCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequest.java deleted file mode 100644 index 4bb2c796415..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnDataBodyRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Data Body Range Request. - */ -public class BaseWorkbookTableColumnDataBodyRangeRequest extends BaseRequest implements IBaseWorkbookTableColumnDataBodyRangeRequest { - - /** - * The request for this WorkbookTableColumnDataBodyRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnDataBodyRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableColumnDataBodyRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnDataBodyRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnDataBodyRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnDataBodyRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnDataBodyRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequestBuilder.java deleted file mode 100644 index defb63fe982..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnDataBodyRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnDataBodyRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Data Body Range Request Builder. - */ -public class BaseWorkbookTableColumnDataBodyRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnDataBodyRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnDataBodyRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableColumnDataBodyRangeRequest - * - * @return the IWorkbookTableColumnDataBodyRangeRequest instance - */ - public IWorkbookTableColumnDataBodyRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnDataBodyRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnDataBodyRangeRequest instance - */ - public IWorkbookTableColumnDataBodyRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnDataBodyRangeRequest request = new WorkbookTableColumnDataBodyRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequest.java deleted file mode 100644 index 5923915b06f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnHeaderRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Header Row Range Request. - */ -public class BaseWorkbookTableColumnHeaderRowRangeRequest extends BaseRequest implements IBaseWorkbookTableColumnHeaderRowRangeRequest { - - /** - * The request for this WorkbookTableColumnHeaderRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnHeaderRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableColumnHeaderRowRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnHeaderRowRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnHeaderRowRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnHeaderRowRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnHeaderRowRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java deleted file mode 100644 index 0e9493d21e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnHeaderRowRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Header Row Range Request Builder. - */ -public class BaseWorkbookTableColumnHeaderRowRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnHeaderRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnHeaderRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableColumnHeaderRowRangeRequest - * - * @return the IWorkbookTableColumnHeaderRowRangeRequest instance - */ - public IWorkbookTableColumnHeaderRowRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnHeaderRowRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnHeaderRowRangeRequest instance - */ - public IWorkbookTableColumnHeaderRowRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnHeaderRowRangeRequest request = new WorkbookTableColumnHeaderRowRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequest.java deleted file mode 100644 index a7ca54dcf8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Item At Request. - */ -public class BaseWorkbookTableColumnItemAtRequest extends BaseRequest implements IBaseWorkbookTableColumnItemAtRequest { - - /** - * The request for this WorkbookTableColumnItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookTableColumn.class); - } - - /** - * Patches the WorkbookTableColumnItemAt - * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookTableColumn); - } - - /** - * Patches the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH - * @return the WorkbookTableColumn - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTableColumn patch(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookTableColumn); - } - - /** - * Puts the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookTableColumn); - } - - /** - * Puts the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT - * @return the WorkbookTableColumn - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTableColumn put(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookTableColumn); - } - /** - * Gets the WorkbookTableColumn - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTableColumn - * - * @return the WorkbookTableColumn - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTableColumn get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequestBuilder.java deleted file mode 100644 index 1f22715b213..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Item At Request Builder. - */ -public class BaseWorkbookTableColumnItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookTableColumnItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookTableColumnItemAtRequest - * - * @return the IWorkbookTableColumnItemAtRequest instance - */ - public IWorkbookTableColumnItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnItemAtRequest instance - */ - public IWorkbookTableColumnItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnItemAtRequest request = new WorkbookTableColumnItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequest.java deleted file mode 100644 index b658b83d5fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Range Request. - */ -public class BaseWorkbookTableColumnRangeRequest extends BaseRequest implements IBaseWorkbookTableColumnRangeRequest { - - /** - * The request for this WorkbookTableColumnRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableColumnRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequestBuilder.java deleted file mode 100644 index ba9d1a4e846..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Range Request Builder. - */ -public class BaseWorkbookTableColumnRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableColumnRangeRequest - * - * @return the IWorkbookTableColumnRangeRequest instance - */ - public IWorkbookTableColumnRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnRangeRequest instance - */ - public IWorkbookTableColumnRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnRangeRequest request = new WorkbookTableColumnRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequest.java deleted file mode 100644 index 16a4a8f4e05..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnRequest; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Request. - */ -public class BaseWorkbookTableColumnRequest extends BaseRequest implements IBaseWorkbookTableColumnRequest { - - /** - * The request for the WorkbookTableColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookTableColumnRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookTableColumn from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTableColumn from the service - * - * @return the WorkbookTableColumn from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableColumn get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookTableColumn with a source - * - * @param sourceWorkbookTableColumn the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookTableColumn sourceWorkbookTableColumn, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookTableColumn); - } - - /** - * Patches this WorkbookTableColumn with a source - * - * @param sourceWorkbookTableColumn the source object with updates - * @return the updated WorkbookTableColumn - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableColumn patch(final WorkbookTableColumn sourceWorkbookTableColumn) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookTableColumn); - } - - /** - * Creates a WorkbookTableColumn with a new object - * - * @param newWorkbookTableColumn the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookTableColumn); - } - - /** - * Creates a WorkbookTableColumn with a new object - * - * @param newWorkbookTableColumn the new object to create - * @return the created WorkbookTableColumn - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException { - return send(HttpMethod.POST, newWorkbookTableColumn); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequestBuilder.java deleted file mode 100644 index 05fd9f935a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnRequestBuilder.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnRequest; -import com.microsoft.graph.requests.extensions.IWorkbookFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnDataBodyRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnHeaderRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnTotalRowRangeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Request Builder. - */ -public class BaseWorkbookTableColumnRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableColumnRequestBuilder { - - /** - * The request builder for the WorkbookTableColumn - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookTableColumnRequest instance - */ - public IWorkbookTableColumnRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookTableColumnRequest instance - */ - public IWorkbookTableColumnRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableColumnRequest(getRequestUrl(), getClient(), requestOptions); - } - - - /** - * Gets the request builder for WorkbookFilter - * - * @return the IWorkbookFilterRequestBuilder instance - */ - public IWorkbookFilterRequestBuilder filter() { - return new WorkbookFilterRequestBuilder(getRequestUrlWithAdditionalSegment("filter"), getClient(), null); - } - - public IWorkbookTableColumnDataBodyRangeRequestBuilder dataBodyRange() { - return new WorkbookTableColumnDataBodyRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dataBodyRange"), getClient(), null); - } - - public IWorkbookTableColumnHeaderRowRangeRequestBuilder headerRowRange() { - return new WorkbookTableColumnHeaderRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.headerRowRange"), getClient(), null); - } - - public IWorkbookTableColumnRangeRequestBuilder range() { - return new WorkbookTableColumnRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); - } - - public IWorkbookTableColumnTotalRowRangeRequestBuilder totalRowRange() { - return new WorkbookTableColumnTotalRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.totalRowRange"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequest.java deleted file mode 100644 index 0899ba95711..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnTotalRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Total Row Range Request. - */ -public class BaseWorkbookTableColumnTotalRowRangeRequest extends BaseRequest implements IBaseWorkbookTableColumnTotalRowRangeRequest { - - /** - * The request for this WorkbookTableColumnTotalRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnTotalRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableColumnTotalRowRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableColumnTotalRowRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableColumnTotalRowRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableColumnTotalRowRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableColumnTotalRowRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequestBuilder.java deleted file mode 100644 index c8d747a3bc9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableColumnTotalRowRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnTotalRowRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Column Total Row Range Request Builder. - */ -public class BaseWorkbookTableColumnTotalRowRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableColumnTotalRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableColumnTotalRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableColumnTotalRowRangeRequest - * - * @return the IWorkbookTableColumnTotalRowRangeRequest instance - */ - public IWorkbookTableColumnTotalRowRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableColumnTotalRowRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnTotalRowRangeRequest instance - */ - public IWorkbookTableColumnTotalRowRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableColumnTotalRowRangeRequest request = new WorkbookTableColumnTotalRowRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequest.java deleted file mode 100644 index 5230a1054ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequest.java +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableConvertToRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Convert To Range Request. - */ -public class BaseWorkbookTableConvertToRangeRequest extends BaseRequest implements IBaseWorkbookTableConvertToRangeRequest { - - /** - * The request for this WorkbookTableConvertToRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableConvertToRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Creates the WorkbookTableConvertToRange - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, null); - } - - /** - * Creates the WorkbookTableConvertToRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange post() throws ClientException { - return send(HttpMethod.POST, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableConvertToRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableConvertToRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableConvertToRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableConvertToRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequestBuilder.java deleted file mode 100644 index 1ea48c6d14f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableConvertToRangeRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableConvertToRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Convert To Range Request Builder. - */ -public class BaseWorkbookTableConvertToRangeRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableConvertToRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableConvertToRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableConvertToRangeRequest - * - * @return the IWorkbookTableConvertToRangeRequest instance - */ - public IWorkbookTableConvertToRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableConvertToRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableConvertToRangeRequest instance - */ - public IWorkbookTableConvertToRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableConvertToRangeRequest request = new WorkbookTableConvertToRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequest.java deleted file mode 100644 index d34e59e4c85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Count Request. - */ -public class BaseWorkbookTableCountRequest extends BaseRequest implements IBaseWorkbookTableCountRequest { - - /** - * The request for this WorkbookTableCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequestBuilder.java deleted file mode 100644 index d4a3f2cff36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Count Request Builder. - */ -public class BaseWorkbookTableCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableCountRequest - * - * @return the IWorkbookTableCountRequest instance - */ - public IWorkbookTableCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableCountRequest instance - */ - public IWorkbookTableCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableCountRequest request = new WorkbookTableCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequest.java deleted file mode 100644 index bfca8da7328..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableDataBodyRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Data Body Range Request. - */ -public class BaseWorkbookTableDataBodyRangeRequest extends BaseRequest implements IBaseWorkbookTableDataBodyRangeRequest { - - /** - * The request for this WorkbookTableDataBodyRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableDataBodyRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableDataBodyRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableDataBodyRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableDataBodyRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableDataBodyRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableDataBodyRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequestBuilder.java deleted file mode 100644 index 5c2a8b1cd63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableDataBodyRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableDataBodyRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Data Body Range Request Builder. - */ -public class BaseWorkbookTableDataBodyRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableDataBodyRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableDataBodyRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableDataBodyRangeRequest - * - * @return the IWorkbookTableDataBodyRangeRequest instance - */ - public IWorkbookTableDataBodyRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableDataBodyRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableDataBodyRangeRequest instance - */ - public IWorkbookTableDataBodyRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableDataBodyRangeRequest request = new WorkbookTableDataBodyRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequest.java deleted file mode 100644 index c1c951d5662..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableHeaderRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Header Row Range Request. - */ -public class BaseWorkbookTableHeaderRowRangeRequest extends BaseRequest implements IBaseWorkbookTableHeaderRowRangeRequest { - - /** - * The request for this WorkbookTableHeaderRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableHeaderRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableHeaderRowRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableHeaderRowRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableHeaderRowRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableHeaderRowRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableHeaderRowRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequestBuilder.java deleted file mode 100644 index 78703f9f71d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableHeaderRowRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableHeaderRowRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Header Row Range Request Builder. - */ -public class BaseWorkbookTableHeaderRowRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableHeaderRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableHeaderRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableHeaderRowRangeRequest - * - * @return the IWorkbookTableHeaderRowRangeRequest instance - */ - public IWorkbookTableHeaderRowRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableHeaderRowRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableHeaderRowRangeRequest instance - */ - public IWorkbookTableHeaderRowRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableHeaderRowRangeRequest request = new WorkbookTableHeaderRowRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequest.java deleted file mode 100644 index 1cb3219dd9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Item At Request. - */ -public class BaseWorkbookTableItemAtRequest extends BaseRequest implements IBaseWorkbookTableItemAtRequest { - - /** - * The request for this WorkbookTableItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookTable.class); - } - - /** - * Patches the WorkbookTableItemAt - * @param srcWorkbookTable the WorkbookTable with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookTable srcWorkbookTable, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookTable); - } - - /** - * Patches the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable with which to PATCH - * @return the WorkbookTable - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTable patch(WorkbookTable srcWorkbookTable) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookTable); - } - - /** - * Puts the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookTable srcWorkbookTable, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookTable); - } - - /** - * Puts the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable to PUT - * @return the WorkbookTable - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTable put(WorkbookTable srcWorkbookTable) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookTable); - } - /** - * Gets the WorkbookTable - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTable - * - * @return the WorkbookTable - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTable get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequestBuilder.java deleted file mode 100644 index fd7af27ae10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Item At Request Builder. - */ -public class BaseWorkbookTableItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookTableItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookTableItemAtRequest - * - * @return the IWorkbookTableItemAtRequest instance - */ - public IWorkbookTableItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableItemAtRequest instance - */ - public IWorkbookTableItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableItemAtRequest request = new WorkbookTableItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequest.java deleted file mode 100644 index 97fc99b666b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Range Request. - */ -public class BaseWorkbookTableRangeRequest extends BaseRequest implements IBaseWorkbookTableRangeRequest { - - /** - * The request for this WorkbookTableRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequestBuilder.java deleted file mode 100644 index 61bf274dad7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Range Request Builder. - */ -public class BaseWorkbookTableRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableRangeRequest - * - * @return the IWorkbookTableRangeRequest instance - */ - public IWorkbookTableRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRangeRequest instance - */ - public IWorkbookTableRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableRangeRequest request = new WorkbookTableRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequest.java deleted file mode 100644 index 28dc29348f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableReapplyFiltersRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Reapply Filters Request. - */ -public class BaseWorkbookTableReapplyFiltersRequest extends BaseRequest implements IBaseWorkbookTableReapplyFiltersRequest { - - /** - * The request for this WorkbookTableReapplyFilters - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableReapplyFiltersRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookTableReapplyFilters - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookTableReapplyFilters - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequestBuilder.java deleted file mode 100644 index 77739947440..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableReapplyFiltersRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableReapplyFiltersRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Reapply Filters Request Builder. - */ -public class BaseWorkbookTableReapplyFiltersRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableReapplyFilters - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableReapplyFiltersRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableReapplyFiltersRequest - * - * @return the IWorkbookTableReapplyFiltersRequest instance - */ - public IWorkbookTableReapplyFiltersRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableReapplyFiltersRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableReapplyFiltersRequest instance - */ - public IWorkbookTableReapplyFiltersRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableReapplyFiltersRequest request = new WorkbookTableReapplyFiltersRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequest.java deleted file mode 100644 index 5da2c472b15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRequest; -import com.microsoft.graph.models.extensions.WorkbookTable; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Request. - */ -public class BaseWorkbookTableRequest extends BaseRequest implements IBaseWorkbookTableRequest { - - /** - * The request for the WorkbookTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookTableRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookTable from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTable from the service - * - * @return the WorkbookTable from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTable get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookTable with a source - * - * @param sourceWorkbookTable the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookTable sourceWorkbookTable, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookTable); - } - - /** - * Patches this WorkbookTable with a source - * - * @param sourceWorkbookTable the source object with updates - * @return the updated WorkbookTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTable patch(final WorkbookTable sourceWorkbookTable) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookTable); - } - - /** - * Creates a WorkbookTable with a new object - * - * @param newWorkbookTable the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookTable newWorkbookTable, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookTable); - } - - /** - * Creates a WorkbookTable with a new object - * - * @param newWorkbookTable the new object to create - * @return the created WorkbookTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException { - return send(HttpMethod.POST, newWorkbookTable); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequestBuilder.java deleted file mode 100644 index 4203383695e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRequestBuilder.java +++ /dev/null @@ -1,138 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRequest; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableRowCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableSortRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableClearFiltersRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableConvertToRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableReapplyFiltersRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableDataBodyRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableHeaderRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableTotalRowRangeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Request Builder. - */ -public class BaseWorkbookTableRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableRequestBuilder { - - /** - * The request builder for the WorkbookTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookTableRequest instance - */ - public IWorkbookTableRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookTableRequest instance - */ - public IWorkbookTableRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookTableColumnCollectionRequestBuilder columns() { - return new WorkbookTableColumnCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null); - } - - public IWorkbookTableColumnRequestBuilder columns(final String id) { - return new WorkbookTableColumnRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null); - } - public IWorkbookTableRowCollectionRequestBuilder rows() { - return new WorkbookTableRowCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("rows"), getClient(), null); - } - - public IWorkbookTableRowRequestBuilder rows(final String id) { - return new WorkbookTableRowRequestBuilder(getRequestUrlWithAdditionalSegment("rows") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for WorkbookTableSort - * - * @return the IWorkbookTableSortRequestBuilder instance - */ - public IWorkbookTableSortRequestBuilder sort() { - return new WorkbookTableSortRequestBuilder(getRequestUrlWithAdditionalSegment("sort"), getClient(), null); - } - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - public IWorkbookWorksheetRequestBuilder worksheet() { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment("worksheet"), getClient(), null); - } - - public IWorkbookTableClearFiltersRequestBuilder clearFilters() { - return new WorkbookTableClearFiltersRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clearFilters"), getClient(), null); - } - - public IWorkbookTableConvertToRangeRequestBuilder convertToRange() { - return new WorkbookTableConvertToRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.convertToRange"), getClient(), null); - } - - public IWorkbookTableReapplyFiltersRequestBuilder reapplyFilters() { - return new WorkbookTableReapplyFiltersRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reapplyFilters"), getClient(), null); - } - - public IWorkbookTableDataBodyRangeRequestBuilder dataBodyRange() { - return new WorkbookTableDataBodyRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.dataBodyRange"), getClient(), null); - } - - public IWorkbookTableHeaderRowRangeRequestBuilder headerRowRange() { - return new WorkbookTableHeaderRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.headerRowRange"), getClient(), null); - } - - public IWorkbookTableRangeRequestBuilder range() { - return new WorkbookTableRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); - } - - public IWorkbookTableTotalRowRangeRequestBuilder totalRowRange() { - return new WorkbookTableTotalRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.totalRowRange"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequest.java deleted file mode 100644 index 6dec19a8acd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRowAddBody; -import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Add Request. - */ -public class BaseWorkbookTableRowAddRequest extends BaseRequest implements IBaseWorkbookTableRowAddRequest { - protected final WorkbookTableRowAddBody body; - - /** - * The request for this WorkbookTableRowAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookTableRow.class); - body = new WorkbookTableRowAddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookTableRow post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRowAddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRowAddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableRowAddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookTableRowAddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRowAddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRowAddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequestBuilder.java deleted file mode 100644 index 639d339e183..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowAddRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowAddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Add Request Builder. - */ -public class BaseWorkbookTableRowAddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableRowAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - * @param values the values - */ - public BaseWorkbookTableRowAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index, final com.google.gson.JsonElement values) { - super(requestUrl, client, requestOptions); - bodyParams.put("index", index); - bodyParams.put("values", values); - } - - /** - * Creates the IWorkbookTableRowAddRequest - * - * @return the IWorkbookTableRowAddRequest instance - */ - public IWorkbookTableRowAddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableRowAddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowAddRequest instance - */ - public IWorkbookTableRowAddRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableRowAddRequest request = new WorkbookTableRowAddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("index")) { - request.body.index = getParameter("index"); - } - - if (hasParameter("values")) { - request.body.values = getParameter("values"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionPage.java deleted file mode 100644 index b8801fafec3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Collection Page. - */ -public class BaseWorkbookTableRowCollectionPage extends BaseCollectionPage implements IBaseWorkbookTableRowCollectionPage { - - /** - * A collection page for WorkbookTableRow - * - * @param response the serialized BaseWorkbookTableRowCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookTableRowCollectionPage(final BaseWorkbookTableRowCollectionResponse response, final IWorkbookTableRowCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequest.java deleted file mode 100644 index a38f2a42cb9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Collection Request. - */ -public class BaseWorkbookTableRowCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookTableRowCollectionRequest { - - /** - * The request builder for this collection of WorkbookTableRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookTableRowCollectionResponse.class, IWorkbookTableRowCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookTableRowCollectionPage get() throws ClientException { - final BaseWorkbookTableRowCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookTableRowRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookTableRow, callback); - } - - public WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookTableRowRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookTableRow); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRowCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookTableRowCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRowCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookTableRowCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableRowCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookTableRowCollectionRequest)this; - } - - public IWorkbookTableRowCollectionPage buildFromResponse(final BaseWorkbookTableRowCollectionResponse response) { - final IWorkbookTableRowCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookTableRowCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookTableRowCollectionPage page = new WorkbookTableRowCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequestBuilder.java deleted file mode 100644 index 54f6e51662b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Collection Request Builder. - */ -public class BaseWorkbookTableRowCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableRowCollectionRequestBuilder { - - /** - * The request builder for this collection of WorkbookTable - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookTableRowCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookTableRowCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableRowCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookTableRowRequestBuilder byId(final String id) { - return new WorkbookTableRowRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookTableRowAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values) { - return new WorkbookTableRowAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, index, values); - } - - public IWorkbookTableRowItemAtRequestBuilder itemAt(final Integer index) { - return new WorkbookTableRowItemAtRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.itemAt"), getClient(), null, index); - } - - public IWorkbookTableRowCountRequestBuilder count() { - return new WorkbookTableRowCountRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.count"), getClient(), null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionResponse.java deleted file mode 100644 index b37c2a81dc2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRow; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Collection Response. - */ -public class BaseWorkbookTableRowCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookTableRow within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequest.java deleted file mode 100644 index d472c0466eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequest.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Count Request. - */ -public class BaseWorkbookTableRowCountRequest extends BaseRequest implements IBaseWorkbookTableRowCountRequest { - - /** - * The request for this WorkbookTableRowCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowCountRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Integer.class); - } - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public Integer get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRowCountRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRowCountRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRowCountRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRowCountRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequestBuilder.java deleted file mode 100644 index 6df21a755b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowCountRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowCountRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Count Request Builder. - */ -public class BaseWorkbookTableRowCountRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableRowCount - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowCountRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableRowCountRequest - * - * @return the IWorkbookTableRowCountRequest instance - */ - public IWorkbookTableRowCountRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableRowCountRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowCountRequest instance - */ - public IWorkbookTableRowCountRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableRowCountRequest request = new WorkbookTableRowCountRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequest.java deleted file mode 100644 index f2921402821..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Item At Request. - */ -public class BaseWorkbookTableRowItemAtRequest extends BaseRequest implements IBaseWorkbookTableRowItemAtRequest { - - /** - * The request for this WorkbookTableRowItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowItemAtRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookTableRow.class); - } - - /** - * Patches the WorkbookTableRowItemAt - * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookTableRow srcWorkbookTableRow, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookTableRow); - } - - /** - * Patches the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH - * @return the WorkbookTableRow - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTableRow patch(WorkbookTableRow srcWorkbookTableRow) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookTableRow); - } - - /** - * Puts the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookTableRow srcWorkbookTableRow, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookTableRow); - } - - /** - * Puts the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow to PUT - * @return the WorkbookTableRow - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTableRow put(WorkbookTableRow srcWorkbookTableRow) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookTableRow); - } - /** - * Gets the WorkbookTableRow - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTableRow - * - * @return the WorkbookTableRow - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookTableRow get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRowItemAtRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRowItemAtRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRowItemAtRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRowItemAtRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequestBuilder.java deleted file mode 100644 index ef1672f604a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowItemAtRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowItemAtRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Item At Request Builder. - */ -public class BaseWorkbookTableRowItemAtRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableRowItemAt - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param index the index - */ - public BaseWorkbookTableRowItemAtRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer index) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("index", index)); - } - - /** - * Creates the IWorkbookTableRowItemAtRequest - * - * @return the IWorkbookTableRowItemAtRequest instance - */ - public IWorkbookTableRowItemAtRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableRowItemAtRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowItemAtRequest instance - */ - public IWorkbookTableRowItemAtRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableRowItemAtRequest request = new WorkbookTableRowItemAtRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequest.java deleted file mode 100644 index dc126847648..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Range Request. - */ -public class BaseWorkbookTableRowRangeRequest extends BaseRequest implements IBaseWorkbookTableRowRangeRequest { - - /** - * The request for this WorkbookTableRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableRowRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRowRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRowRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRowRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRowRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequestBuilder.java deleted file mode 100644 index fda05e50967..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Range Request Builder. - */ -public class BaseWorkbookTableRowRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableRowRangeRequest - * - * @return the IWorkbookTableRowRangeRequest instance - */ - public IWorkbookTableRowRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableRowRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowRangeRequest instance - */ - public IWorkbookTableRowRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableRowRangeRequest request = new WorkbookTableRowRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequest.java deleted file mode 100644 index 844f4e65179..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowRequest; -import com.microsoft.graph.models.extensions.WorkbookTableRow; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Request. - */ -public class BaseWorkbookTableRowRequest extends BaseRequest implements IBaseWorkbookTableRowRequest { - - /** - * The request for the WorkbookTableRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookTableRowRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookTableRow from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTableRow from the service - * - * @return the WorkbookTableRow from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableRow get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookTableRow with a source - * - * @param sourceWorkbookTableRow the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookTableRow sourceWorkbookTableRow, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookTableRow); - } - - /** - * Patches this WorkbookTableRow with a source - * - * @param sourceWorkbookTableRow the source object with updates - * @return the updated WorkbookTableRow - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableRow patch(final WorkbookTableRow sourceWorkbookTableRow) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookTableRow); - } - - /** - * Creates a WorkbookTableRow with a new object - * - * @param newWorkbookTableRow the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookTableRow); - } - - /** - * Creates a WorkbookTableRow with a new object - * - * @param newWorkbookTableRow the new object to create - * @return the created WorkbookTableRow - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException { - return send(HttpMethod.POST, newWorkbookTableRow); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableRowRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableRowRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableRowRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableRowRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequestBuilder.java deleted file mode 100644 index e8632b10409..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableRowRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableRowRequest; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableRowRangeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Row Request Builder. - */ -public class BaseWorkbookTableRowRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableRowRequestBuilder { - - /** - * The request builder for the WorkbookTableRow - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableRowRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookTableRowRequest instance - */ - public IWorkbookTableRowRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookTableRowRequest instance - */ - public IWorkbookTableRowRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableRowRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookTableRowRangeRequestBuilder range() { - return new WorkbookTableRowRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequest.java deleted file mode 100644 index 8e85d3dc30b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableSortApplyBody; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortApplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Apply Request. - */ -public class BaseWorkbookTableSortApplyRequest extends BaseRequest implements IBaseWorkbookTableSortApplyRequest { - protected final WorkbookTableSortApplyBody body; - - /** - * The request for this WorkbookTableSortApply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableSortApplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookTableSortApplyBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableSortApplyRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableSortApplyRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookTableSortApplyRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookTableSortApplyRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableSortApplyRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableSortApplyRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequestBuilder.java deleted file mode 100644 index 59e29bd935f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortApplyRequestBuilder.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortApplyRequest; -import com.microsoft.graph.models.extensions.WorkbookSortField; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Apply Request Builder. - */ -public class BaseWorkbookTableSortApplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableSortApply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param fields the fields - * @param matchCase the matchCase - * @param method the method - */ - public BaseWorkbookTableSortApplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final java.util.List fields, final Boolean matchCase, final String method) { - super(requestUrl, client, requestOptions); - bodyParams.put("fields", fields); - bodyParams.put("matchCase", matchCase); - bodyParams.put("method", method); - } - - /** - * Creates the IWorkbookTableSortApplyRequest - * - * @return the IWorkbookTableSortApplyRequest instance - */ - public IWorkbookTableSortApplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableSortApplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableSortApplyRequest instance - */ - public IWorkbookTableSortApplyRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableSortApplyRequest request = new WorkbookTableSortApplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("fields")) { - request.body.fields = getParameter("fields"); - } - - if (hasParameter("matchCase")) { - request.body.matchCase = getParameter("matchCase"); - } - - if (hasParameter("method")) { - request.body.method = getParameter("method"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequest.java deleted file mode 100644 index fa141f38c40..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Clear Request. - */ -public class BaseWorkbookTableSortClearRequest extends BaseRequest implements IBaseWorkbookTableSortClearRequest { - - /** - * The request for this WorkbookTableSortClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableSortClearRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookTableSortClear - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookTableSortClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequestBuilder.java deleted file mode 100644 index 1674e9f9681..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortClearRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortClearRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Clear Request Builder. - */ -public class BaseWorkbookTableSortClearRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableSortClear - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableSortClearRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableSortClearRequest - * - * @return the IWorkbookTableSortClearRequest instance - */ - public IWorkbookTableSortClearRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableSortClearRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableSortClearRequest instance - */ - public IWorkbookTableSortClearRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableSortClearRequest request = new WorkbookTableSortClearRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequest.java deleted file mode 100644 index 89ad4c52b15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortReapplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Reapply Request. - */ -public class BaseWorkbookTableSortReapplyRequest extends BaseRequest implements IBaseWorkbookTableSortReapplyRequest { - - /** - * The request for this WorkbookTableSortReapply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableSortReapplyRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookTableSortReapply - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookTableSortReapply - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequestBuilder.java deleted file mode 100644 index daab3d9ac27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortReapplyRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortReapplyRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Reapply Request Builder. - */ -public class BaseWorkbookTableSortReapplyRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookTableSortReapply - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableSortReapplyRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableSortReapplyRequest - * - * @return the IWorkbookTableSortReapplyRequest instance - */ - public IWorkbookTableSortReapplyRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableSortReapplyRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableSortReapplyRequest instance - */ - public IWorkbookTableSortReapplyRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableSortReapplyRequest request = new WorkbookTableSortReapplyRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequest.java deleted file mode 100644 index 7e5661af2da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortRequest; -import com.microsoft.graph.models.extensions.WorkbookTableSort; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Request. - */ -public class BaseWorkbookTableSortRequest extends BaseRequest implements IBaseWorkbookTableSortRequest { - - /** - * The request for the WorkbookTableSort - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookTableSortRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookTableSort from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookTableSort from the service - * - * @return the WorkbookTableSort from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableSort get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookTableSort with a source - * - * @param sourceWorkbookTableSort the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookTableSort sourceWorkbookTableSort, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookTableSort); - } - - /** - * Patches this WorkbookTableSort with a source - * - * @param sourceWorkbookTableSort the source object with updates - * @return the updated WorkbookTableSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableSort patch(final WorkbookTableSort sourceWorkbookTableSort) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookTableSort); - } - - /** - * Creates a WorkbookTableSort with a new object - * - * @param newWorkbookTableSort the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookTableSort newWorkbookTableSort, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookTableSort); - } - - /** - * Creates a WorkbookTableSort with a new object - * - * @param newWorkbookTableSort the new object to create - * @return the created WorkbookTableSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookTableSort post(final WorkbookTableSort newWorkbookTableSort) throws ClientException { - return send(HttpMethod.POST, newWorkbookTableSort); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableSortRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableSortRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableSortRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableSortRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequestBuilder.java deleted file mode 100644 index 57459216cf2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableSortRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableSortRequest; -import com.microsoft.graph.models.extensions.WorkbookSortField; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableSortApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableSortClearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableSortReapplyRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Sort Request Builder. - */ -public class BaseWorkbookTableSortRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookTableSortRequestBuilder { - - /** - * The request builder for the WorkbookTableSort - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableSortRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookTableSortRequest instance - */ - public IWorkbookTableSortRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookTableSortRequest instance - */ - public IWorkbookTableSortRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookTableSortRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookTableSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final String method) { - return new WorkbookTableSortApplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.apply"), getClient(), null, fields, matchCase, method); - } - - public IWorkbookTableSortClearRequestBuilder clear() { - return new WorkbookTableSortClearRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clear"), getClient(), null); - } - - public IWorkbookTableSortReapplyRequestBuilder reapply() { - return new WorkbookTableSortReapplyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.reapply"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequest.java deleted file mode 100644 index a7749069b49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableTotalRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Total Row Range Request. - */ -public class BaseWorkbookTableTotalRowRangeRequest extends BaseRequest implements IBaseWorkbookTableTotalRowRangeRequest { - - /** - * The request for this WorkbookTableTotalRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableTotalRowRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookTableTotalRowRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookTableTotalRowRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookTableTotalRowRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookTableTotalRowRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookTableTotalRowRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequestBuilder.java deleted file mode 100644 index 599acaae272..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookTableTotalRowRangeRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookTableTotalRowRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Table Total Row Range Request Builder. - */ -public class BaseWorkbookTableTotalRowRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookTableTotalRowRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookTableTotalRowRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookTableTotalRowRangeRequest - * - * @return the IWorkbookTableTotalRowRangeRequest instance - */ - public IWorkbookTableTotalRowRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookTableTotalRowRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookTableTotalRowRangeRequest instance - */ - public IWorkbookTableTotalRowRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookTableTotalRowRangeRequest request = new WorkbookTableTotalRowRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequest.java deleted file mode 100644 index 6ce15dceca3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheetAddBody; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Add Request. - */ -public class BaseWorkbookWorksheetAddRequest extends BaseRequest implements IBaseWorkbookWorksheetAddRequest { - protected final WorkbookWorksheetAddBody body; - - /** - * The request for this WorkbookWorksheetAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetAddRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookWorksheet.class); - body = new WorkbookWorksheetAddBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public WorkbookWorksheet post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetAddRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetAddRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookWorksheetAddRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookWorksheetAddRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetAddRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetAddRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequestBuilder.java deleted file mode 100644 index 7192098e6dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetAddRequestBuilder.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetAddRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Add Request Builder. - */ -public class BaseWorkbookWorksheetAddRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookWorksheetAdd - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param name the name - */ - public BaseWorkbookWorksheetAddRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String name) { - super(requestUrl, client, requestOptions); - bodyParams.put("name", name); - } - - /** - * Creates the IWorkbookWorksheetAddRequest - * - * @return the IWorkbookWorksheetAddRequest instance - */ - public IWorkbookWorksheetAddRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookWorksheetAddRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetAddRequest instance - */ - public IWorkbookWorksheetAddRequest buildRequest(final java.util.List requestOptions) { - WorkbookWorksheetAddRequest request = new WorkbookWorksheetAddRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("name")) { - request.body.name = getParameter("name"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequest.java deleted file mode 100644 index 3eb941251bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetCellRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Cell Request. - */ -public class BaseWorkbookWorksheetCellRequest extends BaseRequest implements IBaseWorkbookWorksheetCellRequest { - - /** - * The request for this WorkbookWorksheetCell - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetCellRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookWorksheetCell - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetCellRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetCellRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetCellRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetCellRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequestBuilder.java deleted file mode 100644 index d05e738ba09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCellRequestBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetCellRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Cell Request Builder. - */ -public class BaseWorkbookWorksheetCellRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookWorksheetCell - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param row the row - * @param column the column - */ - public BaseWorkbookWorksheetCellRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Integer row, final Integer column) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("row", row)); - functionOptions.add(new FunctionOption("column", column)); - } - - /** - * Creates the IWorkbookWorksheetCellRequest - * - * @return the IWorkbookWorksheetCellRequest instance - */ - public IWorkbookWorksheetCellRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookWorksheetCellRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetCellRequest instance - */ - public IWorkbookWorksheetCellRequest buildRequest(final java.util.List requestOptions) { - WorkbookWorksheetCellRequest request = new WorkbookWorksheetCellRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionPage.java deleted file mode 100644 index ddbd401d371..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionPage.java +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCollectionRequestBuilder; -import com.microsoft.graph.http.BaseCollectionPage; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Collection Page. - */ -public class BaseWorkbookWorksheetCollectionPage extends BaseCollectionPage implements IBaseWorkbookWorksheetCollectionPage { - - /** - * A collection page for WorkbookWorksheet - * - * @param response the serialized BaseWorkbookWorksheetCollectionResponse from the service - * @param builder the request builder for the next collection page - */ - public BaseWorkbookWorksheetCollectionPage(final BaseWorkbookWorksheetCollectionResponse response, final IWorkbookWorksheetCollectionRequestBuilder builder) { - super(response.value, builder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequest.java deleted file mode 100644 index f1c20259de3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -// **NOTE** This file was generated by a tool and any changes will be overwritten. -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Collection Request. - */ -public class BaseWorkbookWorksheetCollectionRequest extends BaseCollectionRequest implements IBaseWorkbookWorksheetCollectionRequest { - - /** - * The request builder for this collection of WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetCollectionRequest(final String requestUrl, IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, BaseWorkbookWorksheetCollectionResponse.class, IWorkbookWorksheetCollectionPage.class); - } - - public void get(final ICallback callback) { - final IExecutors executors = getBaseRequest().getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - executors.performOnForeground(get(), callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - public IWorkbookWorksheetCollectionPage get() throws ClientException { - final BaseWorkbookWorksheetCollectionResponse response = send(); - return buildFromResponse(response); - } - - public void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback) { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - new WorkbookWorksheetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookWorksheet, callback); - } - - public WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException { - final String requestUrl = getBaseRequest().getRequestUrl().toString(); - return new WorkbookWorksheetRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) - .post(newWorkbookWorksheet); - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetCollectionRequest expand(final String value) { - addQueryOption(new QueryOption("$expand", value)); - return (WorkbookWorksheetCollectionRequest)this; - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetCollectionRequest select(final String value) { - addQueryOption(new QueryOption("$select", value)); - return (WorkbookWorksheetCollectionRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookWorksheetCollectionRequest top(final int value) { - addQueryOption(new QueryOption("$top", value + "")); - return (WorkbookWorksheetCollectionRequest)this; - } - - public IWorkbookWorksheetCollectionPage buildFromResponse(final BaseWorkbookWorksheetCollectionResponse response) { - final IWorkbookWorksheetCollectionRequestBuilder builder; - if (response.nextLink != null) { - builder = new WorkbookWorksheetCollectionRequestBuilder(response.nextLink, getBaseRequest().getClient(), /* options */ null); - } else { - builder = null; - } - final WorkbookWorksheetCollectionPage page = new WorkbookWorksheetCollectionPage(response, builder); - page.setRawObject(response.getSerializer(), response.getRawObject()); - return page; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequestBuilder.java deleted file mode 100644 index 7bbdc45091c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Collection Request Builder. - */ -public class BaseWorkbookWorksheetCollectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookWorksheetCollectionRequestBuilder { - - /** - * The request builder for this collection of Workbook - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetCollectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - public IWorkbookWorksheetCollectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - public IWorkbookWorksheetCollectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookWorksheetCollectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookWorksheetRequestBuilder byId(final String id) { - return new WorkbookWorksheetRequestBuilder(getRequestUrlWithAdditionalSegment(id), getClient(), getOptions()); - } - - public IWorkbookWorksheetAddRequestBuilder add(final String name) { - return new WorkbookWorksheetAddRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.add"), getClient(), null, name); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionResponse.java deleted file mode 100644 index dae6689c5e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetCollectionResponse.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; - -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; -import com.microsoft.graph.serializer.AdditionalDataManager; -import com.microsoft.graph.serializer.IJsonBackedObject; -import com.microsoft.graph.serializer.ISerializer; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Collection Response. - */ -public class BaseWorkbookWorksheetCollectionResponse implements IJsonBackedObject { - - /** - * The list of WorkbookWorksheet within this collection page - */ - @SerializedName("value") - @Expose - public java.util.List value; - - /** - * The URL to the next page of this collection, or null - */ - @SerializedName("@odata.nextLink") - @Expose(serialize = false) - public String nextLink; - - private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); - - @Override - public final AdditionalDataManager additionalDataManager() { - return additionalDataManager; - } - - /** - * The raw representation of this class - */ - private JsonObject rawObject; - - /** - * The serializer - */ - private ISerializer serializer; - - /** - * Gets the raw representation of this class - * - * @return the raw representation of this class - */ - public JsonObject getRawObject() { - return rawObject; - } - - /** - * Gets serializer - * - * @return the serializer - */ - protected ISerializer getSerializer() { - return serializer; - } - - /** - * Sets the raw JSON object - * - * @param serializer the serializer - * @param json the JSON object to set this object to - */ - public void setRawObject(final ISerializer serializer, final JsonObject json) { - this.serializer = serializer; - rawObject = json; - - - if (json.has("value")) { - final JsonArray array = json.getAsJsonArray("value"); - for (int i = 0; i < array.size(); i++) { - value.get(i).setRawObject(serializer, (JsonObject) array.get(i)); - } - } - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequest.java deleted file mode 100644 index c4f04924c5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionProtectBody; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionProtectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Protect Request. - */ -public class BaseWorkbookWorksheetProtectionProtectRequest extends BaseRequest implements IBaseWorkbookWorksheetProtectionProtectRequest { - protected final WorkbookWorksheetProtectionProtectBody body; - - /** - * The request for this WorkbookWorksheetProtectionProtect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetProtectionProtectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - body = new WorkbookWorksheetProtectionProtectBody(); - } - - public void post(final ICallback callback) { - send(HttpMethod.POST, callback, body); - } - - public Void post() throws ClientException { - return send(HttpMethod.POST, body); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetProtectionProtectRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetProtectionProtectRequest)this; - } - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - public IWorkbookWorksheetProtectionProtectRequest top(final int value) { - getQueryOptions().add(new QueryOption("$top", value+"")); - return (WorkbookWorksheetProtectionProtectRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetProtectionProtectRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetProtectionProtectRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequestBuilder.java deleted file mode 100644 index b04b123c19f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionProtectRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionProtectRequest; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Protect Request Builder. - */ -public class BaseWorkbookWorksheetProtectionProtectRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookWorksheetProtectionProtect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param options the options - */ - public BaseWorkbookWorksheetProtectionProtectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final WorkbookWorksheetProtectionOptions options) { - super(requestUrl, client, requestOptions); - bodyParams.put("options", options); - } - - /** - * Creates the IWorkbookWorksheetProtectionProtectRequest - * - * @return the IWorkbookWorksheetProtectionProtectRequest instance - */ - public IWorkbookWorksheetProtectionProtectRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookWorksheetProtectionProtectRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetProtectionProtectRequest instance - */ - public IWorkbookWorksheetProtectionProtectRequest buildRequest(final java.util.List requestOptions) { - WorkbookWorksheetProtectionProtectRequest request = new WorkbookWorksheetProtectionProtectRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - if (hasParameter("options")) { - request.body.options = getParameter("options"); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequest.java deleted file mode 100644 index 26195c83059..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionRequest; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Request. - */ -public class BaseWorkbookWorksheetProtectionRequest extends BaseRequest implements IBaseWorkbookWorksheetProtectionRequest { - - /** - * The request for the WorkbookWorksheetProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookWorksheetProtectionRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookWorksheetProtection from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookWorksheetProtection from the service - * - * @return the WorkbookWorksheetProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookWorksheetProtection get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookWorksheetProtection with a source - * - * @param sourceWorkbookWorksheetProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookWorksheetProtection); - } - - /** - * Patches this WorkbookWorksheetProtection with a source - * - * @param sourceWorkbookWorksheetProtection the source object with updates - * @return the updated WorkbookWorksheetProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookWorksheetProtection patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookWorksheetProtection); - } - - /** - * Creates a WorkbookWorksheetProtection with a new object - * - * @param newWorkbookWorksheetProtection the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookWorksheetProtection); - } - - /** - * Creates a WorkbookWorksheetProtection with a new object - * - * @param newWorkbookWorksheetProtection the new object to create - * @return the created WorkbookWorksheetProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookWorksheetProtection post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException { - return send(HttpMethod.POST, newWorkbookWorksheetProtection); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetProtectionRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetProtectionRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetProtectionRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetProtectionRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequestBuilder.java deleted file mode 100644 index bd5b7c5a931..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionRequest; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionProtectRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionUnprotectRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Request Builder. - */ -public class BaseWorkbookWorksheetProtectionRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookWorksheetProtectionRequestBuilder { - - /** - * The request builder for the WorkbookWorksheetProtection - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetProtectionRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookWorksheetProtectionRequest instance - */ - public IWorkbookWorksheetProtectionRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookWorksheetProtectionRequest instance - */ - public IWorkbookWorksheetProtectionRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookWorksheetProtectionRequest(getRequestUrl(), getClient(), requestOptions); - } - - - public IWorkbookWorksheetProtectionProtectRequestBuilder protect(final WorkbookWorksheetProtectionOptions options) { - return new WorkbookWorksheetProtectionProtectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.protect"), getClient(), null, options); - } - - public IWorkbookWorksheetProtectionUnprotectRequestBuilder unprotect() { - return new WorkbookWorksheetProtectionUnprotectRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unprotect"), getClient(), null); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequest.java deleted file mode 100644 index 7bc007166a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionUnprotectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Unprotect Request. - */ -public class BaseWorkbookWorksheetProtectionUnprotectRequest extends BaseRequest implements IBaseWorkbookWorksheetProtectionUnprotectRequest { - - /** - * The request for this WorkbookWorksheetProtectionUnprotect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetProtectionUnprotectRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, Void.class); - } - - /** - * Creates the WorkbookWorksheetProtectionUnprotect - * - * @param callback the callback to be called after success or failure - */ - public void post(final ICallback callback) { - final IExecutors executors = getClient().getExecutors(); - executors.performOnBackground(new Runnable() { - @Override - public void run() { - try { - post(); - executors.performOnForeground((Void)null, callback); - } catch (final ClientException e) { - executors.performOnForeground(e, callback); - } - } - }); - } - - /** - * Creates the WorkbookWorksheetProtectionUnprotect - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public void post() throws ClientException { - this.send(HttpMethod.POST, null); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java deleted file mode 100644 index 9faa9fd8e5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionUnprotectRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Protection Unprotect Request Builder. - */ -public class BaseWorkbookWorksheetProtectionUnprotectRequestBuilder extends BaseActionRequestBuilder { - - /** - * The request builder for this WorkbookWorksheetProtectionUnprotect - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetProtectionUnprotectRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the IWorkbookWorksheetProtectionUnprotectRequest - * - * @return the IWorkbookWorksheetProtectionUnprotectRequest instance - */ - public IWorkbookWorksheetProtectionUnprotectRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookWorksheetProtectionUnprotectRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetProtectionUnprotectRequest instance - */ - public IWorkbookWorksheetProtectionUnprotectRequest buildRequest(final java.util.List requestOptions) { - WorkbookWorksheetProtectionUnprotectRequest request = new WorkbookWorksheetProtectionUnprotectRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequest.java deleted file mode 100644 index 5e6fa13c302..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Range Request. - */ -public class BaseWorkbookWorksheetRangeRequest extends BaseRequest implements IBaseWorkbookWorksheetRangeRequest { - - /** - * The request for this WorkbookWorksheetRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookWorksheetRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequestBuilder.java deleted file mode 100644 index 1cef74528b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRangeRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Range Request Builder. - */ -public class BaseWorkbookWorksheetRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookWorksheetRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookWorksheetRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param address the address - */ - public BaseWorkbookWorksheetRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final String address) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("address", address)); - } - - /** - * Creates the IWorkbookWorksheetRangeRequest - * - * @return the IWorkbookWorksheetRangeRequest instance - */ - public IWorkbookWorksheetRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookWorksheetRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetRangeRequest instance - */ - public IWorkbookWorksheetRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookWorksheetRangeRequest request = new WorkbookWorksheetRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequest.java deleted file mode 100644 index 43219567acf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequest.java +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequest; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Request. - */ -public class BaseWorkbookWorksheetRequest extends BaseRequest implements IBaseWorkbookWorksheetRequest { - - /** - * The request for the WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param responseClass the class of the response - */ - public BaseWorkbookWorksheetRequest(final String requestUrl, - final IBaseClient client, - final java.util.List requestOptions, - final Class responseClass) { - super(requestUrl, client, requestOptions, responseClass); - } - - /** - * Gets the WorkbookWorksheet from the service - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookWorksheet from the service - * - * @return the WorkbookWorksheet from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookWorksheet get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - public void delete(final ICallback callback) { - send(HttpMethod.DELETE, callback, null); - } - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - public void delete() throws ClientException { - send(HttpMethod.DELETE, null); - } - - /** - * Patches this WorkbookWorksheet with a source - * - * @param sourceWorkbookWorksheet the source object with updates - * @param callback the callback to be called after success or failure - */ - public void patch(final WorkbookWorksheet sourceWorkbookWorksheet, final ICallback callback) { - send(HttpMethod.PATCH, callback, sourceWorkbookWorksheet); - } - - /** - * Patches this WorkbookWorksheet with a source - * - * @param sourceWorkbookWorksheet the source object with updates - * @return the updated WorkbookWorksheet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookWorksheet patch(final WorkbookWorksheet sourceWorkbookWorksheet) throws ClientException { - return send(HttpMethod.PATCH, sourceWorkbookWorksheet); - } - - /** - * Creates a WorkbookWorksheet with a new object - * - * @param newWorkbookWorksheet the new object to create - * @param callback the callback to be called after success or failure - */ - public void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback) { - send(HttpMethod.POST, callback, newWorkbookWorksheet); - } - - /** - * Creates a WorkbookWorksheet with a new object - * - * @param newWorkbookWorksheet the new object to create - * @return the created WorkbookWorksheet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - public WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException { - return send(HttpMethod.POST, newWorkbookWorksheet); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetRequest)this; - } - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequestBuilder.java deleted file mode 100644 index 0ee11b06c50..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetRequestBuilder.java +++ /dev/null @@ -1,137 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookChartRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookNamedItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookPivotTableRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookTableRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetCellRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequestBuilder; - -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Request Builder. - */ -public class BaseWorkbookWorksheetRequestBuilder extends BaseRequestBuilder implements IBaseWorkbookWorksheetRequestBuilder { - - /** - * The request builder for the WorkbookWorksheet - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - - /** - * Creates the request - * - * @return the IWorkbookWorksheetRequest instance - */ - public IWorkbookWorksheetRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the request with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for this request - * @return the IWorkbookWorksheetRequest instance - */ - public IWorkbookWorksheetRequest buildRequest(final java.util.List requestOptions) { - return new WorkbookWorksheetRequest(getRequestUrl(), getClient(), requestOptions); - } - - public IWorkbookChartCollectionRequestBuilder charts() { - return new WorkbookChartCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("charts"), getClient(), null); - } - - public IWorkbookChartRequestBuilder charts(final String id) { - return new WorkbookChartRequestBuilder(getRequestUrlWithAdditionalSegment("charts") + "/" + id, getClient(), null); - } - public IWorkbookNamedItemCollectionRequestBuilder names() { - return new WorkbookNamedItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("names"), getClient(), null); - } - - public IWorkbookNamedItemRequestBuilder names(final String id) { - return new WorkbookNamedItemRequestBuilder(getRequestUrlWithAdditionalSegment("names") + "/" + id, getClient(), null); - } - public IWorkbookPivotTableCollectionRequestBuilder pivotTables() { - return new WorkbookPivotTableCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("pivotTables"), getClient(), null); - } - - public IWorkbookPivotTableRequestBuilder pivotTables(final String id) { - return new WorkbookPivotTableRequestBuilder(getRequestUrlWithAdditionalSegment("pivotTables") + "/" + id, getClient(), null); - } - - /** - * Gets the request builder for WorkbookWorksheetProtection - * - * @return the IWorkbookWorksheetProtectionRequestBuilder instance - */ - public IWorkbookWorksheetProtectionRequestBuilder protection() { - return new WorkbookWorksheetProtectionRequestBuilder(getRequestUrlWithAdditionalSegment("protection"), getClient(), null); - } - public IWorkbookTableCollectionRequestBuilder tables() { - return new WorkbookTableCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tables"), getClient(), null); - } - - public IWorkbookTableRequestBuilder tables(final String id) { - return new WorkbookTableRequestBuilder(getRequestUrlWithAdditionalSegment("tables") + "/" + id, getClient(), null); - } - - public IWorkbookWorksheetCellRequestBuilder cell(final Integer row, final Integer column) { - return new WorkbookWorksheetCellRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.cell"), getClient(), null, row, column); - } - - public IWorkbookWorksheetRangeRequestBuilder range() { - return new WorkbookWorksheetRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null); - } - - public IWorkbookWorksheetRangeRequestBuilder range(final String address) { - return new WorkbookWorksheetRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.range"), getClient(), null, address); - } - - public IWorkbookWorksheetUsedRangeRequestBuilder usedRange() { - return new WorkbookWorksheetUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null); - } - - public IWorkbookWorksheetUsedRangeRequestBuilder usedRange(final Boolean valuesOnly) { - return new WorkbookWorksheetUsedRangeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.usedRange"), getClient(), null, valuesOnly); - } -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequest.java deleted file mode 100644 index 61e92d9fd7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Used Range Request. - */ -public class BaseWorkbookWorksheetUsedRangeRequest extends BaseRequest implements IBaseWorkbookWorksheetUsedRangeRequest { - - /** - * The request for this WorkbookWorksheetUsedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetUsedRangeRequest(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WorkbookRange.class); - } - - /** - * Patches the WorkbookWorksheetUsedRange - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - public void patch(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PATCH, callback, srcWorkbookRange); - } - - /** - * Patches the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PATCH, srcWorkbookRange); - } - - /** - * Puts the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - public void put(WorkbookRange srcWorkbookRange, final ICallback callback) { - send(HttpMethod.PUT, callback, srcWorkbookRange); - } - - /** - * Puts the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException { - return this.send(HttpMethod.PUT, srcWorkbookRange); - } - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - public void get(final ICallback callback) { - send(HttpMethod.GET, callback, null); - } - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - public WorkbookRange get() throws ClientException { - return send(HttpMethod.GET, null); - } - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - public IWorkbookWorksheetUsedRangeRequest select(final String value) { - getQueryOptions().add(new QueryOption("$select", value)); - return (WorkbookWorksheetUsedRangeRequest)this; - } - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - public IWorkbookWorksheetUsedRangeRequest expand(final String value) { - getQueryOptions().add(new QueryOption("$expand", value)); - return (WorkbookWorksheetUsedRangeRequest)this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequestBuilder.java deleted file mode 100644 index d133a9056c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/BaseWorkbookWorksheetUsedRangeRequestBuilder.java +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; -import com.microsoft.graph.requests.extensions.WorkbookWorksheetUsedRangeRequest; - -import com.microsoft.graph.core.BaseActionRequestBuilder; -import com.microsoft.graph.core.BaseFunctionRequestBuilder; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.FunctionOption; -import com.google.gson.JsonElement; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Base Workbook Worksheet Used Range Request Builder. - */ -public class BaseWorkbookWorksheetUsedRangeRequestBuilder extends BaseFunctionRequestBuilder { - - /** - * The request builder for this WorkbookWorksheetUsedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public BaseWorkbookWorksheetUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions) { - super(requestUrl, client, requestOptions); - } - /** - * The request builder for this WorkbookWorksheetUsedRange - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - * @param valuesOnly the valuesOnly - */ - public BaseWorkbookWorksheetUsedRangeRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List requestOptions, final Boolean valuesOnly) { - super(requestUrl, client, requestOptions); - functionOptions.add(new FunctionOption("valuesOnly", valuesOnly)); - } - - /** - * Creates the IWorkbookWorksheetUsedRangeRequest - * - * @return the IWorkbookWorksheetUsedRangeRequest instance - */ - public IWorkbookWorksheetUsedRangeRequest buildRequest() { - return buildRequest(getOptions()); - } - - /** - * Creates the IWorkbookWorksheetUsedRangeRequest with specific requestOptions instead of the existing requestOptions - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetUsedRangeRequest instance - */ - public IWorkbookWorksheetUsedRangeRequest buildRequest(final java.util.List requestOptions) { - WorkbookWorksheetUsedRangeRequest request = new WorkbookWorksheetUsedRangeRequest( - getRequestUrl(), - getClient(), - requestOptions - ); - - for (FunctionOption option : functionOptions) { - request.addFunctionOption(option); - } - - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionPage.java deleted file mode 100644 index 9c5d37a01f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Activity History Item Collection Page. - */ -public interface IBaseActivityHistoryItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequest.java deleted file mode 100644 index 1f91a1fa05a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Activity History Item Collection Request. - */ -public interface IBaseActivityHistoryItemCollectionRequest { - - void get(final ICallback callback); - - IActivityHistoryItemCollectionPage get() throws ClientException; - - void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback); - - ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IActivityHistoryItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IActivityHistoryItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IActivityHistoryItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequestBuilder.java deleted file mode 100644 index 6bfe5b7203f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Activity History Item Collection Request Builder. - */ -public interface IBaseActivityHistoryItemCollectionRequestBuilder extends IRequestBuilder { - - IActivityHistoryItemCollectionRequest buildRequest(); - - IActivityHistoryItemCollectionRequest buildRequest(final java.util.List requestOptions); - - IActivityHistoryItemRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequest.java deleted file mode 100644 index 2c45a6a3452..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ActivityHistoryItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Activity History Item Request. - */ -public interface IBaseActivityHistoryItemRequest extends IHttpRequest { - - /** - * Gets the ActivityHistoryItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ActivityHistoryItem from the service - * - * @return the ActivityHistoryItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ActivityHistoryItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ActivityHistoryItem with a source - * - * @param sourceActivityHistoryItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ActivityHistoryItem sourceActivityHistoryItem, final ICallback callback); - - /** - * Patches this ActivityHistoryItem with a source - * - * @param sourceActivityHistoryItem the source object with updates - * @return the updated ActivityHistoryItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ActivityHistoryItem patch(final ActivityHistoryItem sourceActivityHistoryItem) throws ClientException; - - /** - * Posts a ActivityHistoryItem with a new object - * - * @param newActivityHistoryItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback); - - /** - * Posts a ActivityHistoryItem with a new object - * - * @param newActivityHistoryItem the new object to create - * @return the created ActivityHistoryItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseActivityHistoryItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseActivityHistoryItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequestBuilder.java deleted file mode 100644 index f4466e8ee19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseActivityHistoryItemRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequest; -import com.microsoft.graph.requests.extensions.IUserActivityWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Activity History Item Request Builder. - */ -public interface IBaseActivityHistoryItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IActivityHistoryItemRequest instance - */ - IActivityHistoryItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IActivityHistoryItemRequest instance - */ - IActivityHistoryItemRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for UserActivity - * - * @return the IUserActivityWithReferenceRequestBuilder instance - */ - IUserActivityWithReferenceRequestBuilder activity(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequest.java deleted file mode 100644 index b0089e53a06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AdministrativeUnit; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Administrative Unit Request. - */ -public interface IBaseAdministrativeUnitRequest extends IHttpRequest { - - /** - * Gets the AdministrativeUnit from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AdministrativeUnit from the service - * - * @return the AdministrativeUnit from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AdministrativeUnit get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AdministrativeUnit with a source - * - * @param sourceAdministrativeUnit the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AdministrativeUnit sourceAdministrativeUnit, final ICallback callback); - - /** - * Patches this AdministrativeUnit with a source - * - * @param sourceAdministrativeUnit the source object with updates - * @return the updated AdministrativeUnit - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AdministrativeUnit patch(final AdministrativeUnit sourceAdministrativeUnit) throws ClientException; - - /** - * Posts a AdministrativeUnit with a new object - * - * @param newAdministrativeUnit the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AdministrativeUnit newAdministrativeUnit, final ICallback callback); - - /** - * Posts a AdministrativeUnit with a new object - * - * @param newAdministrativeUnit the new object to create - * @return the created AdministrativeUnit - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AdministrativeUnit post(final AdministrativeUnit newAdministrativeUnit) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAdministrativeUnitRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAdministrativeUnitRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequestBuilder.java deleted file mode 100644 index ad0747c5c95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAdministrativeUnitRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Administrative Unit Request Builder. - */ -public interface IBaseAdministrativeUnitRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAdministrativeUnitRequest instance - */ - IAdministrativeUnitRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAdministrativeUnitRequest instance - */ - IAdministrativeUnitRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionPage.java deleted file mode 100644 index 12a301b8441..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Alert Collection Page. - */ -public interface IBaseAlertCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequest.java deleted file mode 100644 index 07ba1bd2ae3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Alert Collection Request. - */ -public interface IBaseAlertCollectionRequest { - - void get(final ICallback callback); - - IAlertCollectionPage get() throws ClientException; - - void post(final Alert newAlert, final ICallback callback); - - Alert post(final Alert newAlert) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IAlertCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IAlertCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IAlertCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequestBuilder.java deleted file mode 100644 index a9ee8a720e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Alert Collection Request Builder. - */ -public interface IBaseAlertCollectionRequestBuilder extends IRequestBuilder { - - IAlertCollectionRequest buildRequest(); - - IAlertCollectionRequest buildRequest(final java.util.List requestOptions); - - IAlertRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequest.java deleted file mode 100644 index 1c6589bfeda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Alert; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Alert Request. - */ -public interface IBaseAlertRequest extends IHttpRequest { - - /** - * Gets the Alert from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Alert from the service - * - * @return the Alert from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Alert get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Alert with a source - * - * @param sourceAlert the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Alert sourceAlert, final ICallback callback); - - /** - * Patches this Alert with a source - * - * @param sourceAlert the source object with updates - * @return the updated Alert - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Alert patch(final Alert sourceAlert) throws ClientException; - - /** - * Posts a Alert with a new object - * - * @param newAlert the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Alert newAlert, final ICallback callback); - - /** - * Posts a Alert with a new object - * - * @param newAlert the new object to create - * @return the created Alert - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Alert post(final Alert newAlert) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAlertRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAlertRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequestBuilder.java deleted file mode 100644 index b87b1e9e4f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAlertRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAlertRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Alert Request Builder. - */ -public interface IBaseAlertRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAlertRequest instance - */ - IAlertRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAlertRequest instance - */ - IAlertRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequest.java deleted file mode 100644 index 359c63d1270..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Compliance Policy Request. - */ -public interface IBaseAndroidCompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the AndroidCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidCompliancePolicy from the service - * - * @return the AndroidCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidCompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidCompliancePolicy with a source - * - * @param sourceAndroidCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy, final ICallback callback); - - /** - * Patches this AndroidCompliancePolicy with a source - * - * @param sourceAndroidCompliancePolicy the source object with updates - * @return the updated AndroidCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidCompliancePolicy patch(final AndroidCompliancePolicy sourceAndroidCompliancePolicy) throws ClientException; - - /** - * Posts a AndroidCompliancePolicy with a new object - * - * @param newAndroidCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidCompliancePolicy newAndroidCompliancePolicy, final ICallback callback); - - /** - * Posts a AndroidCompliancePolicy with a new object - * - * @param newAndroidCompliancePolicy the new object to create - * @return the created AndroidCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidCompliancePolicy post(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidCompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidCompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequestBuilder.java deleted file mode 100644 index 321d9f904ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidCompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Compliance Policy Request Builder. - */ -public interface IBaseAndroidCompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidCompliancePolicyRequest instance - */ - IAndroidCompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidCompliancePolicyRequest instance - */ - IAndroidCompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequest.java deleted file mode 100644 index 349af13fdf0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Custom Configuration Request. - */ -public interface IBaseAndroidCustomConfigurationRequest extends IHttpRequest { - - /** - * Gets the AndroidCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidCustomConfiguration from the service - * - * @return the AndroidCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidCustomConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidCustomConfiguration with a source - * - * @param sourceAndroidCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration, final ICallback callback); - - /** - * Patches this AndroidCustomConfiguration with a source - * - * @param sourceAndroidCustomConfiguration the source object with updates - * @return the updated AndroidCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidCustomConfiguration patch(final AndroidCustomConfiguration sourceAndroidCustomConfiguration) throws ClientException; - - /** - * Posts a AndroidCustomConfiguration with a new object - * - * @param newAndroidCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidCustomConfiguration newAndroidCustomConfiguration, final ICallback callback); - - /** - * Posts a AndroidCustomConfiguration with a new object - * - * @param newAndroidCustomConfiguration the new object to create - * @return the created AndroidCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidCustomConfiguration post(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidCustomConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidCustomConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequestBuilder.java deleted file mode 100644 index 764adc14133..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidCustomConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Custom Configuration Request Builder. - */ -public interface IBaseAndroidCustomConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidCustomConfigurationRequest instance - */ - IAndroidCustomConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidCustomConfigurationRequest instance - */ - IAndroidCustomConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequest.java deleted file mode 100644 index 2931c161a2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android General Device Configuration Request. - */ -public interface IBaseAndroidGeneralDeviceConfigurationRequest extends IHttpRequest { - - /** - * Gets the AndroidGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidGeneralDeviceConfiguration from the service - * - * @return the AndroidGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidGeneralDeviceConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidGeneralDeviceConfiguration with a source - * - * @param sourceAndroidGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration, final ICallback callback); - - /** - * Patches this AndroidGeneralDeviceConfiguration with a source - * - * @param sourceAndroidGeneralDeviceConfiguration the source object with updates - * @return the updated AndroidGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidGeneralDeviceConfiguration patch(final AndroidGeneralDeviceConfiguration sourceAndroidGeneralDeviceConfiguration) throws ClientException; - - /** - * Posts a AndroidGeneralDeviceConfiguration with a new object - * - * @param newAndroidGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration, final ICallback callback); - - /** - * Posts a AndroidGeneralDeviceConfiguration with a new object - * - * @param newAndroidGeneralDeviceConfiguration the new object to create - * @return the created AndroidGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidGeneralDeviceConfiguration post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidGeneralDeviceConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidGeneralDeviceConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index f9d69ea8d15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android General Device Configuration Request Builder. - */ -public interface IBaseAndroidGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidGeneralDeviceConfigurationRequest instance - */ - IAndroidGeneralDeviceConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidGeneralDeviceConfigurationRequest instance - */ - IAndroidGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequest.java deleted file mode 100644 index 17146c3ddee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Lob App Request. - */ -public interface IBaseAndroidLobAppRequest extends IHttpRequest { - - /** - * Gets the AndroidLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidLobApp from the service - * - * @return the AndroidLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidLobApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidLobApp with a source - * - * @param sourceAndroidLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidLobApp sourceAndroidLobApp, final ICallback callback); - - /** - * Patches this AndroidLobApp with a source - * - * @param sourceAndroidLobApp the source object with updates - * @return the updated AndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidLobApp patch(final AndroidLobApp sourceAndroidLobApp) throws ClientException; - - /** - * Posts a AndroidLobApp with a new object - * - * @param newAndroidLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidLobApp newAndroidLobApp, final ICallback callback); - - /** - * Posts a AndroidLobApp with a new object - * - * @param newAndroidLobApp the new object to create - * @return the created AndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidLobApp post(final AndroidLobApp newAndroidLobApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidLobAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidLobAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequestBuilder.java deleted file mode 100644 index 9497f4f5d97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidLobAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidLobAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Lob App Request Builder. - */ -public interface IBaseAndroidLobAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidLobAppRequest instance - */ - IAndroidLobAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidLobAppRequest instance - */ - IAndroidLobAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionPage.java deleted file mode 100644 index 066a1e5f344..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Protection Collection Page. - */ -public interface IBaseAndroidManagedAppProtectionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequest.java deleted file mode 100644 index aad2a06cd33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Protection Collection Request. - */ -public interface IBaseAndroidManagedAppProtectionCollectionRequest { - - void get(final ICallback callback); - - IAndroidManagedAppProtectionCollectionPage get() throws ClientException; - - void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback); - - AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IAndroidManagedAppProtectionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IAndroidManagedAppProtectionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IAndroidManagedAppProtectionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequestBuilder.java deleted file mode 100644 index c9376f7fca3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Protection Collection Request Builder. - */ -public interface IBaseAndroidManagedAppProtectionCollectionRequestBuilder extends IRequestBuilder { - - IAndroidManagedAppProtectionCollectionRequest buildRequest(); - - IAndroidManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions); - - IAndroidManagedAppProtectionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequest.java deleted file mode 100644 index 7bcf7a2deb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Protection Request. - */ -public interface IBaseAndroidManagedAppProtectionRequest extends IHttpRequest { - - /** - * Gets the AndroidManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidManagedAppProtection from the service - * - * @return the AndroidManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidManagedAppProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidManagedAppProtection with a source - * - * @param sourceAndroidManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection, final ICallback callback); - - /** - * Patches this AndroidManagedAppProtection with a source - * - * @param sourceAndroidManagedAppProtection the source object with updates - * @return the updated AndroidManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidManagedAppProtection patch(final AndroidManagedAppProtection sourceAndroidManagedAppProtection) throws ClientException; - - /** - * Posts a AndroidManagedAppProtection with a new object - * - * @param newAndroidManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback); - - /** - * Posts a AndroidManagedAppProtection with a new object - * - * @param newAndroidManagedAppProtection the new object to create - * @return the created AndroidManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidManagedAppProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidManagedAppProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 3ca018c6e79..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Protection Request Builder. - */ -public interface IBaseAndroidManagedAppProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidManagedAppProtectionRequest instance - */ - IAndroidManagedAppProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidManagedAppProtectionRequest instance - */ - IAndroidManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); - - IManagedMobileAppCollectionRequestBuilder apps(); - - IManagedMobileAppRequestBuilder apps(final String id); - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequest.java deleted file mode 100644 index 797e58cb8ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidManagedAppRegistration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Registration Request. - */ -public interface IBaseAndroidManagedAppRegistrationRequest extends IHttpRequest { - - /** - * Gets the AndroidManagedAppRegistration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidManagedAppRegistration from the service - * - * @return the AndroidManagedAppRegistration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidManagedAppRegistration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidManagedAppRegistration with a source - * - * @param sourceAndroidManagedAppRegistration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration, final ICallback callback); - - /** - * Patches this AndroidManagedAppRegistration with a source - * - * @param sourceAndroidManagedAppRegistration the source object with updates - * @return the updated AndroidManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidManagedAppRegistration patch(final AndroidManagedAppRegistration sourceAndroidManagedAppRegistration) throws ClientException; - - /** - * Posts a AndroidManagedAppRegistration with a new object - * - * @param newAndroidManagedAppRegistration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration, final ICallback callback); - - /** - * Posts a AndroidManagedAppRegistration with a new object - * - * @param newAndroidManagedAppRegistration the new object to create - * @return the created AndroidManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidManagedAppRegistration post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidManagedAppRegistrationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidManagedAppRegistrationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequestBuilder.java deleted file mode 100644 index 7fc31d05f15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidManagedAppRegistrationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppRegistrationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Managed App Registration Request Builder. - */ -public interface IBaseAndroidManagedAppRegistrationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidManagedAppRegistrationRequest instance - */ - IAndroidManagedAppRegistrationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidManagedAppRegistrationRequest instance - */ - IAndroidManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequest.java deleted file mode 100644 index 10cb28e443e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Store App Request. - */ -public interface IBaseAndroidStoreAppRequest extends IHttpRequest { - - /** - * Gets the AndroidStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidStoreApp from the service - * - * @return the AndroidStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidStoreApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidStoreApp with a source - * - * @param sourceAndroidStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidStoreApp sourceAndroidStoreApp, final ICallback callback); - - /** - * Patches this AndroidStoreApp with a source - * - * @param sourceAndroidStoreApp the source object with updates - * @return the updated AndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidStoreApp patch(final AndroidStoreApp sourceAndroidStoreApp) throws ClientException; - - /** - * Posts a AndroidStoreApp with a new object - * - * @param newAndroidStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidStoreApp newAndroidStoreApp, final ICallback callback); - - /** - * Posts a AndroidStoreApp with a new object - * - * @param newAndroidStoreApp the new object to create - * @return the created AndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidStoreApp post(final AndroidStoreApp newAndroidStoreApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidStoreAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidStoreAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequestBuilder.java deleted file mode 100644 index 5f264e296f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidStoreAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidStoreAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Store App Request Builder. - */ -public interface IBaseAndroidStoreAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidStoreAppRequest instance - */ - IAndroidStoreAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidStoreAppRequest instance - */ - IAndroidStoreAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequest.java deleted file mode 100644 index 9a8545b79aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidWorkProfileCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Work Profile Compliance Policy Request. - */ -public interface IBaseAndroidWorkProfileCompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the AndroidWorkProfileCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidWorkProfileCompliancePolicy from the service - * - * @return the AndroidWorkProfileCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileCompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidWorkProfileCompliancePolicy with a source - * - * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy, final ICallback callback); - - /** - * Patches this AndroidWorkProfileCompliancePolicy with a source - * - * @param sourceAndroidWorkProfileCompliancePolicy the source object with updates - * @return the updated AndroidWorkProfileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileCompliancePolicy patch(final AndroidWorkProfileCompliancePolicy sourceAndroidWorkProfileCompliancePolicy) throws ClientException; - - /** - * Posts a AndroidWorkProfileCompliancePolicy with a new object - * - * @param newAndroidWorkProfileCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy, final ICallback callback); - - /** - * Posts a AndroidWorkProfileCompliancePolicy with a new object - * - * @param newAndroidWorkProfileCompliancePolicy the new object to create - * @return the created AndroidWorkProfileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileCompliancePolicy post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidWorkProfileCompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidWorkProfileCompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequestBuilder.java deleted file mode 100644 index ff4898e2152..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Work Profile Compliance Policy Request Builder. - */ -public interface IBaseAndroidWorkProfileCompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidWorkProfileCompliancePolicyRequest instance - */ - IAndroidWorkProfileCompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidWorkProfileCompliancePolicyRequest instance - */ - IAndroidWorkProfileCompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequest.java deleted file mode 100644 index b564755b13e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidWorkProfileCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Work Profile Custom Configuration Request. - */ -public interface IBaseAndroidWorkProfileCustomConfigurationRequest extends IHttpRequest { - - /** - * Gets the AndroidWorkProfileCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidWorkProfileCustomConfiguration from the service - * - * @return the AndroidWorkProfileCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileCustomConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidWorkProfileCustomConfiguration with a source - * - * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration, final ICallback callback); - - /** - * Patches this AndroidWorkProfileCustomConfiguration with a source - * - * @param sourceAndroidWorkProfileCustomConfiguration the source object with updates - * @return the updated AndroidWorkProfileCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileCustomConfiguration patch(final AndroidWorkProfileCustomConfiguration sourceAndroidWorkProfileCustomConfiguration) throws ClientException; - - /** - * Posts a AndroidWorkProfileCustomConfiguration with a new object - * - * @param newAndroidWorkProfileCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration, final ICallback callback); - - /** - * Posts a AndroidWorkProfileCustomConfiguration with a new object - * - * @param newAndroidWorkProfileCustomConfiguration the new object to create - * @return the created AndroidWorkProfileCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileCustomConfiguration post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidWorkProfileCustomConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidWorkProfileCustomConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequestBuilder.java deleted file mode 100644 index 9b3786e2743..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileCustomConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Work Profile Custom Configuration Request Builder. - */ -public interface IBaseAndroidWorkProfileCustomConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidWorkProfileCustomConfigurationRequest instance - */ - IAndroidWorkProfileCustomConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidWorkProfileCustomConfigurationRequest instance - */ - IAndroidWorkProfileCustomConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java deleted file mode 100644 index df8af532686..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AndroidWorkProfileGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Work Profile General Device Configuration Request. - */ -public interface IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest extends IHttpRequest { - - /** - * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AndroidWorkProfileGeneralDeviceConfiguration from the service - * - * @return the AndroidWorkProfileGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileGeneralDeviceConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source - * - * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback); - - /** - * Patches this AndroidWorkProfileGeneralDeviceConfiguration with a source - * - * @param sourceAndroidWorkProfileGeneralDeviceConfiguration the source object with updates - * @return the updated AndroidWorkProfileGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileGeneralDeviceConfiguration patch(final AndroidWorkProfileGeneralDeviceConfiguration sourceAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException; - - /** - * Posts a AndroidWorkProfileGeneralDeviceConfiguration with a new object - * - * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback); - - /** - * Posts a AndroidWorkProfileGeneralDeviceConfiguration with a new object - * - * @param newAndroidWorkProfileGeneralDeviceConfiguration the new object to create - * @return the created AndroidWorkProfileGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AndroidWorkProfileGeneralDeviceConfiguration post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAndroidWorkProfileGeneralDeviceConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index 54734f03f5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAndroidWorkProfileGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Android Work Profile General Device Configuration Request Builder. - */ -public interface IBaseAndroidWorkProfileGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance - */ - IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAndroidWorkProfileGeneralDeviceConfigurationRequest instance - */ - IAndroidWorkProfileGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequest.java deleted file mode 100644 index de6529aa56d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AppCatalogs; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base App Catalogs Request. - */ -public interface IBaseAppCatalogsRequest extends IHttpRequest { - - /** - * Gets the AppCatalogs from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AppCatalogs from the service - * - * @return the AppCatalogs from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AppCatalogs get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AppCatalogs with a source - * - * @param sourceAppCatalogs the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AppCatalogs sourceAppCatalogs, final ICallback callback); - - /** - * Patches this AppCatalogs with a source - * - * @param sourceAppCatalogs the source object with updates - * @return the updated AppCatalogs - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AppCatalogs patch(final AppCatalogs sourceAppCatalogs) throws ClientException; - - /** - * Posts a AppCatalogs with a new object - * - * @param newAppCatalogs the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AppCatalogs newAppCatalogs, final ICallback callback); - - /** - * Posts a AppCatalogs with a new object - * - * @param newAppCatalogs the new object to create - * @return the created AppCatalogs - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AppCatalogs post(final AppCatalogs newAppCatalogs) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAppCatalogsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAppCatalogsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequestBuilder.java deleted file mode 100644 index 85a00143dc8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppCatalogsRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAppCatalogsRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base App Catalogs Request Builder. - */ -public interface IBaseAppCatalogsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAppCatalogsRequest instance - */ - IAppCatalogsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAppCatalogsRequest instance - */ - IAppCatalogsRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppCollectionRequestBuilder teamsApps(); - - ITeamsAppRequestBuilder teamsApps(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequest.java deleted file mode 100644 index 60238079c5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Apple Device Features Configuration Base Request. - */ -public interface IBaseAppleDeviceFeaturesConfigurationBaseRequest extends IHttpRequest { - - /** - * Gets the AppleDeviceFeaturesConfigurationBase from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the AppleDeviceFeaturesConfigurationBase from the service - * - * @return the AppleDeviceFeaturesConfigurationBase from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AppleDeviceFeaturesConfigurationBase get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this AppleDeviceFeaturesConfigurationBase with a source - * - * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase, final ICallback callback); - - /** - * Patches this AppleDeviceFeaturesConfigurationBase with a source - * - * @param sourceAppleDeviceFeaturesConfigurationBase the source object with updates - * @return the updated AppleDeviceFeaturesConfigurationBase - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AppleDeviceFeaturesConfigurationBase patch(final AppleDeviceFeaturesConfigurationBase sourceAppleDeviceFeaturesConfigurationBase) throws ClientException; - - /** - * Posts a AppleDeviceFeaturesConfigurationBase with a new object - * - * @param newAppleDeviceFeaturesConfigurationBase the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase, final ICallback callback); - - /** - * Posts a AppleDeviceFeaturesConfigurationBase with a new object - * - * @param newAppleDeviceFeaturesConfigurationBase the new object to create - * @return the created AppleDeviceFeaturesConfigurationBase - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - AppleDeviceFeaturesConfigurationBase post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAppleDeviceFeaturesConfigurationBaseRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAppleDeviceFeaturesConfigurationBaseRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java deleted file mode 100644 index 214a50b026e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAppleDeviceFeaturesConfigurationBaseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Apple Device Features Configuration Base Request Builder. - */ -public interface IBaseAppleDeviceFeaturesConfigurationBaseRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance - */ - IAppleDeviceFeaturesConfigurationBaseRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAppleDeviceFeaturesConfigurationBaseRequest instance - */ - IAppleDeviceFeaturesConfigurationBaseRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java deleted file mode 100644 index 45d260df0f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request. - */ -public interface IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest { - - /** - * Gets the String - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the String - * - * @return the String - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - String get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java deleted file mode 100644 index f8921d9244c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Apple Push Notification Certificate Download Apple Push Notification Certificate Signing Request Request Builder. - */ -public interface IBaseApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder extends IRequestBuilder { - - /** - * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest - * - * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance - */ - IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest(); - - /** - * Creates the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest instance - */ - IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequest.java deleted file mode 100644 index 96691f88553..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Apple Push Notification Certificate Request. - */ -public interface IBaseApplePushNotificationCertificateRequest extends IHttpRequest { - - /** - * Gets the ApplePushNotificationCertificate from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ApplePushNotificationCertificate from the service - * - * @return the ApplePushNotificationCertificate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ApplePushNotificationCertificate get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ApplePushNotificationCertificate with a source - * - * @param sourceApplePushNotificationCertificate the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate, final ICallback callback); - - /** - * Patches this ApplePushNotificationCertificate with a source - * - * @param sourceApplePushNotificationCertificate the source object with updates - * @return the updated ApplePushNotificationCertificate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ApplePushNotificationCertificate patch(final ApplePushNotificationCertificate sourceApplePushNotificationCertificate) throws ClientException; - - /** - * Posts a ApplePushNotificationCertificate with a new object - * - * @param newApplePushNotificationCertificate the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ApplePushNotificationCertificate newApplePushNotificationCertificate, final ICallback callback); - - /** - * Posts a ApplePushNotificationCertificate with a new object - * - * @param newApplePushNotificationCertificate the new object to create - * @return the created ApplePushNotificationCertificate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ApplePushNotificationCertificate post(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseApplePushNotificationCertificateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseApplePushNotificationCertificateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequestBuilder.java deleted file mode 100644 index 1aaa16fc182..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseApplePushNotificationCertificateRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequest; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Apple Push Notification Certificate Request Builder. - */ -public interface IBaseApplePushNotificationCertificateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IApplePushNotificationCertificateRequest instance - */ - IApplePushNotificationCertificateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IApplePushNotificationCertificateRequest instance - */ - IApplePushNotificationCertificateRequest buildRequest(final java.util.List requestOptions); - IApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder downloadApplePushNotificationCertificateSigningRequest(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionPage.java deleted file mode 100644 index cf55845cc24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Attachment Collection Page. - */ -public interface IBaseAttachmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequest.java deleted file mode 100644 index 2b0540a1a43..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Attachment Collection Request. - */ -public interface IBaseAttachmentCollectionRequest { - - void get(final ICallback callback); - - IAttachmentCollectionPage get() throws ClientException; - - void post(final Attachment newAttachment, final ICallback callback); - - Attachment post(final Attachment newAttachment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IAttachmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IAttachmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IAttachmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequestBuilder.java deleted file mode 100644 index 252d9045b08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Attachment Collection Request Builder. - */ -public interface IBaseAttachmentCollectionRequestBuilder extends IRequestBuilder { - - IAttachmentCollectionRequest buildRequest(); - - IAttachmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IAttachmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequest.java deleted file mode 100644 index ac9244ef7fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Attachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Attachment Request. - */ -public interface IBaseAttachmentRequest extends IHttpRequest { - - /** - * Gets the Attachment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Attachment from the service - * - * @return the Attachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Attachment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Attachment with a source - * - * @param sourceAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Attachment sourceAttachment, final ICallback callback); - - /** - * Patches this Attachment with a source - * - * @param sourceAttachment the source object with updates - * @return the updated Attachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Attachment patch(final Attachment sourceAttachment) throws ClientException; - - /** - * Posts a Attachment with a new object - * - * @param newAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Attachment newAttachment, final ICallback callback); - - /** - * Posts a Attachment with a new object - * - * @param newAttachment the new object to create - * @return the created Attachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Attachment post(final Attachment newAttachment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseAttachmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseAttachmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequestBuilder.java deleted file mode 100644 index e5010236f19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseAttachmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IAttachmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Attachment Request Builder. - */ -public interface IBaseAttachmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IAttachmentRequest instance - */ - IAttachmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IAttachmentRequest instance - */ - IAttachmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionPage.java deleted file mode 100644 index 161771e7f8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Collection Page. - */ -public interface IBaseBaseItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequest.java deleted file mode 100644 index 5a4f91e34f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Collection Request. - */ -public interface IBaseBaseItemCollectionRequest { - - void get(final ICallback callback); - - IBaseItemCollectionPage get() throws ClientException; - - void post(final BaseItem newBaseItem, final ICallback callback); - - BaseItem post(final BaseItem newBaseItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IBaseItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequestBuilder.java deleted file mode 100644 index 2e106fdc00d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Collection Request Builder. - */ -public interface IBaseBaseItemCollectionRequestBuilder extends IRequestBuilder { - - IBaseItemCollectionRequest buildRequest(); - - IBaseItemCollectionRequest buildRequest(final java.util.List requestOptions); - - IBaseItemRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequest.java deleted file mode 100644 index 9468f4b8416..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.BaseItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Request. - */ -public interface IBaseBaseItemRequest extends IHttpRequest { - - /** - * Gets the BaseItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the BaseItem from the service - * - * @return the BaseItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - BaseItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this BaseItem with a source - * - * @param sourceBaseItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final BaseItem sourceBaseItem, final ICallback callback); - - /** - * Patches this BaseItem with a source - * - * @param sourceBaseItem the source object with updates - * @return the updated BaseItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - BaseItem patch(final BaseItem sourceBaseItem) throws ClientException; - - /** - * Posts a BaseItem with a new object - * - * @param newBaseItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final BaseItem newBaseItem, final ICallback callback); - - /** - * Posts a BaseItem with a new object - * - * @param newBaseItem the new object to create - * @return the created BaseItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - BaseItem post(final BaseItem newBaseItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseBaseItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseBaseItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequestBuilder.java deleted file mode 100644 index 2c8c03eb3ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IBaseItemRequest; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Request Builder. - */ -public interface IBaseBaseItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IBaseItemRequest instance - */ - IBaseItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IBaseItemRequest instance - */ - IBaseItemRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - IUserWithReferenceRequestBuilder createdByUser(); - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - IUserWithReferenceRequestBuilder lastModifiedByUser(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequest.java deleted file mode 100644 index 995b9541def..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.BaseItemVersion; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Version Request. - */ -public interface IBaseBaseItemVersionRequest extends IHttpRequest { - - /** - * Gets the BaseItemVersion from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the BaseItemVersion from the service - * - * @return the BaseItemVersion from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - BaseItemVersion get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this BaseItemVersion with a source - * - * @param sourceBaseItemVersion the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final BaseItemVersion sourceBaseItemVersion, final ICallback callback); - - /** - * Patches this BaseItemVersion with a source - * - * @param sourceBaseItemVersion the source object with updates - * @return the updated BaseItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - BaseItemVersion patch(final BaseItemVersion sourceBaseItemVersion) throws ClientException; - - /** - * Posts a BaseItemVersion with a new object - * - * @param newBaseItemVersion the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final BaseItemVersion newBaseItemVersion, final ICallback callback); - - /** - * Posts a BaseItemVersion with a new object - * - * @param newBaseItemVersion the new object to create - * @return the created BaseItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - BaseItemVersion post(final BaseItemVersion newBaseItemVersion) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseBaseItemVersionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseBaseItemVersionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequestBuilder.java deleted file mode 100644 index 0bc9270bb26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseBaseItemVersionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IBaseItemVersionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Base Item Version Request Builder. - */ -public interface IBaseBaseItemVersionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IBaseItemVersionRequest instance - */ - IBaseItemVersionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IBaseItemVersionRequest instance - */ - IBaseItemVersionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionPage.java deleted file mode 100644 index 6b856c39853..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Collection Page. - */ -public interface IBaseCalendarCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequest.java deleted file mode 100644 index 6bf75ccc430..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Collection Request. - */ -public interface IBaseCalendarCollectionRequest { - - void get(final ICallback callback); - - ICalendarCollectionPage get() throws ClientException; - - void post(final Calendar newCalendar, final ICallback callback); - - Calendar post(final Calendar newCalendar) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ICalendarCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ICalendarCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ICalendarCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequestBuilder.java deleted file mode 100644 index 0edfb666384..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Collection Request Builder. - */ -public interface IBaseCalendarCollectionRequestBuilder extends IRequestBuilder { - - ICalendarCollectionRequest buildRequest(); - - ICalendarCollectionRequest buildRequest(final java.util.List requestOptions); - - ICalendarRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionPage.java deleted file mode 100644 index 7ad8e0413ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Group Collection Page. - */ -public interface IBaseCalendarGroupCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequest.java deleted file mode 100644 index 0b7d45ed925..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Group Collection Request. - */ -public interface IBaseCalendarGroupCollectionRequest { - - void get(final ICallback callback); - - ICalendarGroupCollectionPage get() throws ClientException; - - void post(final CalendarGroup newCalendarGroup, final ICallback callback); - - CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ICalendarGroupCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ICalendarGroupCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ICalendarGroupCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequestBuilder.java deleted file mode 100644 index 311bdeb44c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Group Collection Request Builder. - */ -public interface IBaseCalendarGroupCollectionRequestBuilder extends IRequestBuilder { - - ICalendarGroupCollectionRequest buildRequest(); - - ICalendarGroupCollectionRequest buildRequest(final java.util.List requestOptions); - - ICalendarGroupRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequest.java deleted file mode 100644 index 719111e885d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.CalendarGroup; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Group Request. - */ -public interface IBaseCalendarGroupRequest extends IHttpRequest { - - /** - * Gets the CalendarGroup from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the CalendarGroup from the service - * - * @return the CalendarGroup from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - CalendarGroup get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this CalendarGroup with a source - * - * @param sourceCalendarGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final CalendarGroup sourceCalendarGroup, final ICallback callback); - - /** - * Patches this CalendarGroup with a source - * - * @param sourceCalendarGroup the source object with updates - * @return the updated CalendarGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - CalendarGroup patch(final CalendarGroup sourceCalendarGroup) throws ClientException; - - /** - * Posts a CalendarGroup with a new object - * - * @param newCalendarGroup the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final CalendarGroup newCalendarGroup, final ICallback callback); - - /** - * Posts a CalendarGroup with a new object - * - * @param newCalendarGroup the new object to create - * @return the created CalendarGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseCalendarGroupRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseCalendarGroupRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequestBuilder.java deleted file mode 100644 index b3a2019a288..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarGroupRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ICalendarGroupRequest; -import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Group Request Builder. - */ -public interface IBaseCalendarGroupRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ICalendarGroupRequest instance - */ - ICalendarGroupRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ICalendarGroupRequest instance - */ - ICalendarGroupRequest buildRequest(final java.util.List requestOptions); - - ICalendarCollectionRequestBuilder calendars(); - - ICalendarRequestBuilder calendars(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequest.java deleted file mode 100644 index d437d13965b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Calendar; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Request. - */ -public interface IBaseCalendarRequest extends IHttpRequest { - - /** - * Gets the Calendar from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Calendar from the service - * - * @return the Calendar from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Calendar get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Calendar with a source - * - * @param sourceCalendar the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Calendar sourceCalendar, final ICallback callback); - - /** - * Patches this Calendar with a source - * - * @param sourceCalendar the source object with updates - * @return the updated Calendar - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Calendar patch(final Calendar sourceCalendar) throws ClientException; - - /** - * Posts a Calendar with a new object - * - * @param newCalendar the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Calendar newCalendar, final ICallback callback); - - /** - * Posts a Calendar with a new object - * - * @param newCalendar the new object to create - * @return the created Calendar - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Calendar post(final Calendar newCalendar) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseCalendarRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseCalendarRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequestBuilder.java deleted file mode 100644 index e3448591541..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseCalendarRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ICalendarRequest; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Calendar Request Builder. - */ -public interface IBaseCalendarRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ICalendarRequest instance - */ - ICalendarRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ICalendarRequest instance - */ - ICalendarRequest buildRequest(final java.util.List requestOptions); - - IEventCollectionRequestBuilder events(); - - IEventRequestBuilder events(final String id); - - IEventCollectionRequestBuilder calendarView(); - - IEventRequestBuilder calendarView(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionPage.java deleted file mode 100644 index e4447772ff8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Channel Collection Page. - */ -public interface IBaseChannelCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequest.java deleted file mode 100644 index 000717f462f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Channel Collection Request. - */ -public interface IBaseChannelCollectionRequest { - - void get(final ICallback callback); - - IChannelCollectionPage get() throws ClientException; - - void post(final Channel newChannel, final ICallback callback); - - Channel post(final Channel newChannel) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IChannelCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IChannelCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IChannelCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequestBuilder.java deleted file mode 100644 index 0878e8a5f5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Channel Collection Request Builder. - */ -public interface IBaseChannelCollectionRequestBuilder extends IRequestBuilder { - - IChannelCollectionRequest buildRequest(); - - IChannelCollectionRequest buildRequest(final java.util.List requestOptions); - - IChannelRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequest.java deleted file mode 100644 index 308189818bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Channel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Channel Request. - */ -public interface IBaseChannelRequest extends IHttpRequest { - - /** - * Gets the Channel from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Channel from the service - * - * @return the Channel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Channel get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Channel with a source - * - * @param sourceChannel the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Channel sourceChannel, final ICallback callback); - - /** - * Patches this Channel with a source - * - * @param sourceChannel the source object with updates - * @return the updated Channel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Channel patch(final Channel sourceChannel) throws ClientException; - - /** - * Posts a Channel with a new object - * - * @param newChannel the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Channel newChannel, final ICallback callback); - - /** - * Posts a Channel with a new object - * - * @param newChannel the new object to create - * @return the created Channel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Channel post(final Channel newChannel) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseChannelRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseChannelRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequestBuilder.java deleted file mode 100644 index 3ce396ed4b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseChannelRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IChannelRequest; -import com.microsoft.graph.requests.extensions.ITeamsTabCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsTabRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Channel Request Builder. - */ -public interface IBaseChannelRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IChannelRequest instance - */ - IChannelRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IChannelRequest instance - */ - IChannelRequest buildRequest(final java.util.List requestOptions); - - ITeamsTabCollectionRequestBuilder tabs(); - - ITeamsTabRequestBuilder tabs(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionPage.java deleted file mode 100644 index 317a0db4c02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Definition Collection Page. - */ -public interface IBaseColumnDefinitionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequest.java deleted file mode 100644 index 16ff106c974..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Definition Collection Request. - */ -public interface IBaseColumnDefinitionCollectionRequest { - - void get(final ICallback callback); - - IColumnDefinitionCollectionPage get() throws ClientException; - - void post(final ColumnDefinition newColumnDefinition, final ICallback callback); - - ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IColumnDefinitionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IColumnDefinitionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IColumnDefinitionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequestBuilder.java deleted file mode 100644 index 7c73fa4c390..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Definition Collection Request Builder. - */ -public interface IBaseColumnDefinitionCollectionRequestBuilder extends IRequestBuilder { - - IColumnDefinitionCollectionRequest buildRequest(); - - IColumnDefinitionCollectionRequest buildRequest(final java.util.List requestOptions); - - IColumnDefinitionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequest.java deleted file mode 100644 index b9476a2c26a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ColumnDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Definition Request. - */ -public interface IBaseColumnDefinitionRequest extends IHttpRequest { - - /** - * Gets the ColumnDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ColumnDefinition from the service - * - * @return the ColumnDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ColumnDefinition get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ColumnDefinition with a source - * - * @param sourceColumnDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ColumnDefinition sourceColumnDefinition, final ICallback callback); - - /** - * Patches this ColumnDefinition with a source - * - * @param sourceColumnDefinition the source object with updates - * @return the updated ColumnDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ColumnDefinition patch(final ColumnDefinition sourceColumnDefinition) throws ClientException; - - /** - * Posts a ColumnDefinition with a new object - * - * @param newColumnDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ColumnDefinition newColumnDefinition, final ICallback callback); - - /** - * Posts a ColumnDefinition with a new object - * - * @param newColumnDefinition the new object to create - * @return the created ColumnDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseColumnDefinitionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseColumnDefinitionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequestBuilder.java deleted file mode 100644 index d9d1b7eb2d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnDefinitionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Definition Request Builder. - */ -public interface IBaseColumnDefinitionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IColumnDefinitionRequest instance - */ - IColumnDefinitionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IColumnDefinitionRequest instance - */ - IColumnDefinitionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionPage.java deleted file mode 100644 index 5d75352b66b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Link Collection Page. - */ -public interface IBaseColumnLinkCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequest.java deleted file mode 100644 index b29f82fbadd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Link Collection Request. - */ -public interface IBaseColumnLinkCollectionRequest { - - void get(final ICallback callback); - - IColumnLinkCollectionPage get() throws ClientException; - - void post(final ColumnLink newColumnLink, final ICallback callback); - - ColumnLink post(final ColumnLink newColumnLink) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IColumnLinkCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IColumnLinkCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IColumnLinkCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequestBuilder.java deleted file mode 100644 index b4591e6ad2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Link Collection Request Builder. - */ -public interface IBaseColumnLinkCollectionRequestBuilder extends IRequestBuilder { - - IColumnLinkCollectionRequest buildRequest(); - - IColumnLinkCollectionRequest buildRequest(final java.util.List requestOptions); - - IColumnLinkRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequest.java deleted file mode 100644 index b9b8485340d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ColumnLink; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Link Request. - */ -public interface IBaseColumnLinkRequest extends IHttpRequest { - - /** - * Gets the ColumnLink from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ColumnLink from the service - * - * @return the ColumnLink from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ColumnLink get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ColumnLink with a source - * - * @param sourceColumnLink the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ColumnLink sourceColumnLink, final ICallback callback); - - /** - * Patches this ColumnLink with a source - * - * @param sourceColumnLink the source object with updates - * @return the updated ColumnLink - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ColumnLink patch(final ColumnLink sourceColumnLink) throws ClientException; - - /** - * Posts a ColumnLink with a new object - * - * @param newColumnLink the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ColumnLink newColumnLink, final ICallback callback); - - /** - * Posts a ColumnLink with a new object - * - * @param newColumnLink the new object to create - * @return the created ColumnLink - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ColumnLink post(final ColumnLink newColumnLink) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseColumnLinkRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseColumnLinkRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequestBuilder.java deleted file mode 100644 index f0e576bda7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseColumnLinkRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IColumnLinkRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Column Link Request Builder. - */ -public interface IBaseColumnLinkRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IColumnLinkRequest instance - */ - IColumnLinkRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IColumnLinkRequest instance - */ - IColumnLinkRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionPage.java deleted file mode 100644 index 90c191c1c8e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Collection Page. - */ -public interface IBaseContactCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequest.java deleted file mode 100644 index 6d70b68c9ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Collection Request. - */ -public interface IBaseContactCollectionRequest { - - void get(final ICallback callback); - - IContactCollectionPage get() throws ClientException; - - void post(final Contact newContact, final ICallback callback); - - Contact post(final Contact newContact) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IContactCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IContactCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IContactCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequestBuilder.java deleted file mode 100644 index 60d68ddf25b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Collection Request Builder. - */ -public interface IBaseContactCollectionRequestBuilder extends IRequestBuilder { - - IContactCollectionRequest buildRequest(); - - IContactCollectionRequest buildRequest(final java.util.List requestOptions); - - IContactRequestBuilder byId(final String id); - - - IContactDeltaCollectionRequestBuilder delta(); - - IContactDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionPage.java deleted file mode 100644 index 9eebe8c7de8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Delta Collection Page. - */ -public interface IBaseContactDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequest.java deleted file mode 100644 index a7a7f09bb77..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Delta Collection Request. - */ -public interface IBaseContactDeltaCollectionRequest { - - void get(final ICallback callback); - - IContactDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IContactDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IContactDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IContactDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequestBuilder.java deleted file mode 100644 index 33d33f68c7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Delta Collection Request Builder. - */ -public interface IBaseContactDeltaCollectionRequestBuilder extends IRequestBuilder { - - IContactDeltaCollectionRequest buildRequest(); - - IContactDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionPage.java deleted file mode 100644 index 817190e37d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Collection Page. - */ -public interface IBaseContactFolderCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequest.java deleted file mode 100644 index b31000de3ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Collection Request. - */ -public interface IBaseContactFolderCollectionRequest { - - void get(final ICallback callback); - - IContactFolderCollectionPage get() throws ClientException; - - void post(final ContactFolder newContactFolder, final ICallback callback); - - ContactFolder post(final ContactFolder newContactFolder) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IContactFolderCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IContactFolderCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IContactFolderCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequestBuilder.java deleted file mode 100644 index 2dfcc8261a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Collection Request Builder. - */ -public interface IBaseContactFolderCollectionRequestBuilder extends IRequestBuilder { - - IContactFolderCollectionRequest buildRequest(); - - IContactFolderCollectionRequest buildRequest(final java.util.List requestOptions); - - IContactFolderRequestBuilder byId(final String id); - - - IContactFolderDeltaCollectionRequestBuilder delta(); - - IContactFolderDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionPage.java deleted file mode 100644 index f75616fac5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Delta Collection Page. - */ -public interface IBaseContactFolderDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequest.java deleted file mode 100644 index 511ca7a0426..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Delta Collection Request. - */ -public interface IBaseContactFolderDeltaCollectionRequest { - - void get(final ICallback callback); - - IContactFolderDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IContactFolderDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IContactFolderDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IContactFolderDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequestBuilder.java deleted file mode 100644 index 5f6e226a4b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Delta Collection Request Builder. - */ -public interface IBaseContactFolderDeltaCollectionRequestBuilder extends IRequestBuilder { - - IContactFolderDeltaCollectionRequest buildRequest(); - - IContactFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequest.java deleted file mode 100644 index 510eb235547..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ContactFolder; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Request. - */ -public interface IBaseContactFolderRequest extends IHttpRequest { - - /** - * Gets the ContactFolder from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ContactFolder from the service - * - * @return the ContactFolder from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ContactFolder get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ContactFolder with a source - * - * @param sourceContactFolder the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ContactFolder sourceContactFolder, final ICallback callback); - - /** - * Patches this ContactFolder with a source - * - * @param sourceContactFolder the source object with updates - * @return the updated ContactFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ContactFolder patch(final ContactFolder sourceContactFolder) throws ClientException; - - /** - * Posts a ContactFolder with a new object - * - * @param newContactFolder the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ContactFolder newContactFolder, final ICallback callback); - - /** - * Posts a ContactFolder with a new object - * - * @param newContactFolder the new object to create - * @return the created ContactFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ContactFolder post(final ContactFolder newContactFolder) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseContactFolderRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseContactFolderRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequestBuilder.java deleted file mode 100644 index 87e9328df9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactFolderRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContactFolderRequest; -import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Folder Request Builder. - */ -public interface IBaseContactFolderRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IContactFolderRequest instance - */ - IContactFolderRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IContactFolderRequest instance - */ - IContactFolderRequest buildRequest(final java.util.List requestOptions); - - IContactCollectionRequestBuilder contacts(); - - IContactRequestBuilder contacts(final String id); - - IContactFolderCollectionRequestBuilder childFolders(); - - IContactFolderRequestBuilder childFolders(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequest.java deleted file mode 100644 index c1f60127821..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Contact; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Request. - */ -public interface IBaseContactRequest extends IHttpRequest { - - /** - * Gets the Contact from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Contact from the service - * - * @return the Contact from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Contact get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Contact with a source - * - * @param sourceContact the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Contact sourceContact, final ICallback callback); - - /** - * Patches this Contact with a source - * - * @param sourceContact the source object with updates - * @return the updated Contact - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Contact patch(final Contact sourceContact) throws ClientException; - - /** - * Posts a Contact with a new object - * - * @param newContact the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Contact newContact, final ICallback callback); - - /** - * Posts a Contact with a new object - * - * @param newContact the new object to create - * @return the created Contact - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Contact post(final Contact newContact) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseContactRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseContactRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequestBuilder.java deleted file mode 100644 index 71889235444..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContactRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContactRequest; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contact Request Builder. - */ -public interface IBaseContactRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IContactRequest instance - */ - IContactRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IContactRequest instance - */ - IContactRequest buildRequest(final java.util.List requestOptions); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - - /** - * Gets the request builder for ProfilePhoto - * - * @return the IProfilePhotoRequestBuilder instance - */ - IProfilePhotoRequestBuilder photo(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionPage.java deleted file mode 100644 index e628b4cbcd5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Content Type Collection Page. - */ -public interface IBaseContentTypeCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequest.java deleted file mode 100644 index 33ce24c62c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Content Type Collection Request. - */ -public interface IBaseContentTypeCollectionRequest { - - void get(final ICallback callback); - - IContentTypeCollectionPage get() throws ClientException; - - void post(final ContentType newContentType, final ICallback callback); - - ContentType post(final ContentType newContentType) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IContentTypeCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IContentTypeCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IContentTypeCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequestBuilder.java deleted file mode 100644 index b2f336d45aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Content Type Collection Request Builder. - */ -public interface IBaseContentTypeCollectionRequestBuilder extends IRequestBuilder { - - IContentTypeCollectionRequest buildRequest(); - - IContentTypeCollectionRequest buildRequest(final java.util.List requestOptions); - - IContentTypeRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequest.java deleted file mode 100644 index c9b2f56d185..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ContentType; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Content Type Request. - */ -public interface IBaseContentTypeRequest extends IHttpRequest { - - /** - * Gets the ContentType from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ContentType from the service - * - * @return the ContentType from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ContentType get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ContentType with a source - * - * @param sourceContentType the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ContentType sourceContentType, final ICallback callback); - - /** - * Patches this ContentType with a source - * - * @param sourceContentType the source object with updates - * @return the updated ContentType - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ContentType patch(final ContentType sourceContentType) throws ClientException; - - /** - * Posts a ContentType with a new object - * - * @param newContentType the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ContentType newContentType, final ICallback callback); - - /** - * Posts a ContentType with a new object - * - * @param newContentType the new object to create - * @return the created ContentType - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ContentType post(final ContentType newContentType) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseContentTypeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseContentTypeRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequestBuilder.java deleted file mode 100644 index 8032665721a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContentTypeRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContentTypeRequest; -import com.microsoft.graph.requests.extensions.IColumnLinkCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IColumnLinkRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Content Type Request Builder. - */ -public interface IBaseContentTypeRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IContentTypeRequest instance - */ - IContentTypeRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IContentTypeRequest instance - */ - IContentTypeRequest buildRequest(final java.util.List requestOptions); - - IColumnLinkCollectionRequestBuilder columnLinks(); - - IColumnLinkRequestBuilder columnLinks(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionPage.java deleted file mode 100644 index faf162ce0f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contract Collection Page. - */ -public interface IBaseContractCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequest.java deleted file mode 100644 index acecf47d8ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contract Collection Request. - */ -public interface IBaseContractCollectionRequest { - - void get(final ICallback callback); - - IContractCollectionPage get() throws ClientException; - - void post(final Contract newContract, final ICallback callback); - - Contract post(final Contract newContract) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IContractCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IContractCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IContractCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequestBuilder.java deleted file mode 100644 index 672a7bd3a2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contract Collection Request Builder. - */ -public interface IBaseContractCollectionRequestBuilder extends IRequestBuilder { - - IContractCollectionRequest buildRequest(); - - IContractCollectionRequest buildRequest(final java.util.List requestOptions); - - IContractRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequest.java deleted file mode 100644 index 6098e3f99b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Contract; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contract Request. - */ -public interface IBaseContractRequest extends IHttpRequest { - - /** - * Gets the Contract from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Contract from the service - * - * @return the Contract from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Contract get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Contract with a source - * - * @param sourceContract the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Contract sourceContract, final ICallback callback); - - /** - * Patches this Contract with a source - * - * @param sourceContract the source object with updates - * @return the updated Contract - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Contract patch(final Contract sourceContract) throws ClientException; - - /** - * Posts a Contract with a new object - * - * @param newContract the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Contract newContract, final ICallback callback); - - /** - * Posts a Contract with a new object - * - * @param newContract the new object to create - * @return the created Contract - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Contract post(final Contract newContract) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseContractRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseContractRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequestBuilder.java deleted file mode 100644 index 0524ed5fcbc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseContractRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IContractRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Contract Request Builder. - */ -public interface IBaseContractRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IContractRequest instance - */ - IContractRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IContractRequest instance - */ - IContractRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionPage.java deleted file mode 100644 index 5147054f8bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Collection Page. - */ -public interface IBaseConversationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequest.java deleted file mode 100644 index 13b4c4afb52..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Collection Request. - */ -public interface IBaseConversationCollectionRequest { - - void get(final ICallback callback); - - IConversationCollectionPage get() throws ClientException; - - void post(final Conversation newConversation, final ICallback callback); - - Conversation post(final Conversation newConversation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IConversationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IConversationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IConversationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequestBuilder.java deleted file mode 100644 index ebf125a6389..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Collection Request Builder. - */ -public interface IBaseConversationCollectionRequestBuilder extends IRequestBuilder { - - IConversationCollectionRequest buildRequest(); - - IConversationCollectionRequest buildRequest(final java.util.List requestOptions); - - IConversationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequest.java deleted file mode 100644 index 5126db2fcce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Conversation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Request. - */ -public interface IBaseConversationRequest extends IHttpRequest { - - /** - * Gets the Conversation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Conversation from the service - * - * @return the Conversation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Conversation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Conversation with a source - * - * @param sourceConversation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Conversation sourceConversation, final ICallback callback); - - /** - * Patches this Conversation with a source - * - * @param sourceConversation the source object with updates - * @return the updated Conversation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Conversation patch(final Conversation sourceConversation) throws ClientException; - - /** - * Posts a Conversation with a new object - * - * @param newConversation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Conversation newConversation, final ICallback callback); - - /** - * Posts a Conversation with a new object - * - * @param newConversation the new object to create - * @return the created Conversation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Conversation post(final Conversation newConversation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseConversationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseConversationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequestBuilder.java deleted file mode 100644 index 66c61d505b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationRequest; -import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Request Builder. - */ -public interface IBaseConversationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IConversationRequest instance - */ - IConversationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IConversationRequest instance - */ - IConversationRequest buildRequest(final java.util.List requestOptions); - - IConversationThreadCollectionRequestBuilder threads(); - - IConversationThreadRequestBuilder threads(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionPage.java deleted file mode 100644 index 09463721996..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Collection Page. - */ -public interface IBaseConversationThreadCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequest.java deleted file mode 100644 index e231a37ab9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Collection Request. - */ -public interface IBaseConversationThreadCollectionRequest { - - void get(final ICallback callback); - - IConversationThreadCollectionPage get() throws ClientException; - - void post(final ConversationThread newConversationThread, final ICallback callback); - - ConversationThread post(final ConversationThread newConversationThread) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IConversationThreadCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IConversationThreadCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IConversationThreadCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequestBuilder.java deleted file mode 100644 index c20f85bb088..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Collection Request Builder. - */ -public interface IBaseConversationThreadCollectionRequestBuilder extends IRequestBuilder { - - IConversationThreadCollectionRequest buildRequest(); - - IConversationThreadCollectionRequest buildRequest(final java.util.List requestOptions); - - IConversationThreadRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequest.java deleted file mode 100644 index 75756b3e46e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Reply Request. - */ -public interface IBaseConversationThreadReplyRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IConversationThreadReplyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IConversationThreadReplyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IConversationThreadReplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequestBuilder.java deleted file mode 100644 index 2ffd2aba9be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadReplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Reply Request Builder. - */ -public interface IBaseConversationThreadReplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IConversationThreadReplyRequest - * - * @return the IConversationThreadReplyRequest instance - */ - IConversationThreadReplyRequest buildRequest(); - - /** - * Creates the IConversationThreadReplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IConversationThreadReplyRequest instance - */ - IConversationThreadReplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequest.java deleted file mode 100644 index 7cc924364c4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ConversationThread; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Request. - */ -public interface IBaseConversationThreadRequest extends IHttpRequest { - - /** - * Gets the ConversationThread from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ConversationThread from the service - * - * @return the ConversationThread from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ConversationThread get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ConversationThread with a source - * - * @param sourceConversationThread the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ConversationThread sourceConversationThread, final ICallback callback); - - /** - * Patches this ConversationThread with a source - * - * @param sourceConversationThread the source object with updates - * @return the updated ConversationThread - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ConversationThread patch(final ConversationThread sourceConversationThread) throws ClientException; - - /** - * Posts a ConversationThread with a new object - * - * @param newConversationThread the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ConversationThread newConversationThread, final ICallback callback); - - /** - * Posts a ConversationThread with a new object - * - * @param newConversationThread the new object to create - * @return the created ConversationThread - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ConversationThread post(final ConversationThread newConversationThread) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseConversationThreadRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseConversationThreadRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequestBuilder.java deleted file mode 100644 index a98a0f7f52b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseConversationThreadRequestBuilder.java +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IConversationThreadRequest; -import com.microsoft.graph.requests.extensions.IPostCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPostRequestBuilder; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.requests.extensions.IConversationThreadReplyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Conversation Thread Request Builder. - */ -public interface IBaseConversationThreadRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IConversationThreadRequest instance - */ - IConversationThreadRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IConversationThreadRequest instance - */ - IConversationThreadRequest buildRequest(final java.util.List requestOptions); - - IPostCollectionRequestBuilder posts(); - - IPostRequestBuilder posts(final String id); - IConversationThreadReplyRequestBuilder reply(final Post post); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionPage.java deleted file mode 100644 index 90eec2604c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Data Policy Operation Collection Page. - */ -public interface IBaseDataPolicyOperationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequest.java deleted file mode 100644 index 76ac7e41b77..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Data Policy Operation Collection Request. - */ -public interface IBaseDataPolicyOperationCollectionRequest { - - void get(final ICallback callback); - - IDataPolicyOperationCollectionPage get() throws ClientException; - - void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback); - - DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDataPolicyOperationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDataPolicyOperationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDataPolicyOperationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequestBuilder.java deleted file mode 100644 index fdc56f60d65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Data Policy Operation Collection Request Builder. - */ -public interface IBaseDataPolicyOperationCollectionRequestBuilder extends IRequestBuilder { - - IDataPolicyOperationCollectionRequest buildRequest(); - - IDataPolicyOperationCollectionRequest buildRequest(final java.util.List requestOptions); - - IDataPolicyOperationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequest.java deleted file mode 100644 index a0bfe74dbc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DataPolicyOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Data Policy Operation Request. - */ -public interface IBaseDataPolicyOperationRequest extends IHttpRequest { - - /** - * Gets the DataPolicyOperation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DataPolicyOperation from the service - * - * @return the DataPolicyOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DataPolicyOperation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DataPolicyOperation with a source - * - * @param sourceDataPolicyOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DataPolicyOperation sourceDataPolicyOperation, final ICallback callback); - - /** - * Patches this DataPolicyOperation with a source - * - * @param sourceDataPolicyOperation the source object with updates - * @return the updated DataPolicyOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DataPolicyOperation patch(final DataPolicyOperation sourceDataPolicyOperation) throws ClientException; - - /** - * Posts a DataPolicyOperation with a new object - * - * @param newDataPolicyOperation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DataPolicyOperation newDataPolicyOperation, final ICallback callback); - - /** - * Posts a DataPolicyOperation with a new object - * - * @param newDataPolicyOperation the new object to create - * @return the created DataPolicyOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDataPolicyOperationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDataPolicyOperationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequestBuilder.java deleted file mode 100644 index 3dbdcc630dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDataPolicyOperationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Data Policy Operation Request Builder. - */ -public interface IBaseDataPolicyOperationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDataPolicyOperationRequest instance - */ - IDataPolicyOperationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDataPolicyOperationRequest instance - */ - IDataPolicyOperationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionPage.java deleted file mode 100644 index c79853e6c91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Default Managed App Protection Collection Page. - */ -public interface IBaseDefaultManagedAppProtectionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequest.java deleted file mode 100644 index b72e89ace73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Default Managed App Protection Collection Request. - */ -public interface IBaseDefaultManagedAppProtectionCollectionRequest { - - void get(final ICallback callback); - - IDefaultManagedAppProtectionCollectionPage get() throws ClientException; - - void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback); - - DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDefaultManagedAppProtectionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDefaultManagedAppProtectionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDefaultManagedAppProtectionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequestBuilder.java deleted file mode 100644 index d2d89b751b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Default Managed App Protection Collection Request Builder. - */ -public interface IBaseDefaultManagedAppProtectionCollectionRequestBuilder extends IRequestBuilder { - - IDefaultManagedAppProtectionCollectionRequest buildRequest(); - - IDefaultManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions); - - IDefaultManagedAppProtectionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequest.java deleted file mode 100644 index d8494375abe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Default Managed App Protection Request. - */ -public interface IBaseDefaultManagedAppProtectionRequest extends IHttpRequest { - - /** - * Gets the DefaultManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DefaultManagedAppProtection from the service - * - * @return the DefaultManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DefaultManagedAppProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DefaultManagedAppProtection with a source - * - * @param sourceDefaultManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection, final ICallback callback); - - /** - * Patches this DefaultManagedAppProtection with a source - * - * @param sourceDefaultManagedAppProtection the source object with updates - * @return the updated DefaultManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DefaultManagedAppProtection patch(final DefaultManagedAppProtection sourceDefaultManagedAppProtection) throws ClientException; - - /** - * Posts a DefaultManagedAppProtection with a new object - * - * @param newDefaultManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback); - - /** - * Posts a DefaultManagedAppProtection with a new object - * - * @param newDefaultManagedAppProtection the new object to create - * @return the created DefaultManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDefaultManagedAppProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDefaultManagedAppProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequestBuilder.java deleted file mode 100644 index fc691c90fb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDefaultManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Default Managed App Protection Request Builder. - */ -public interface IBaseDefaultManagedAppProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDefaultManagedAppProtectionRequest instance - */ - IDefaultManagedAppProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDefaultManagedAppProtectionRequest instance - */ - IDefaultManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); - - IManagedMobileAppCollectionRequestBuilder apps(); - - IManagedMobileAppRequestBuilder apps(final String id); - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionPage.java deleted file mode 100644 index 990c021dd01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Detected App Collection Page. - */ -public interface IBaseDetectedAppCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequest.java deleted file mode 100644 index 604991a5227..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Detected App Collection Request. - */ -public interface IBaseDetectedAppCollectionRequest { - - void get(final ICallback callback); - - IDetectedAppCollectionPage get() throws ClientException; - - void post(final DetectedApp newDetectedApp, final ICallback callback); - - DetectedApp post(final DetectedApp newDetectedApp) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDetectedAppCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDetectedAppCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDetectedAppCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequestBuilder.java deleted file mode 100644 index 52597e62b2f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Detected App Collection Request Builder. - */ -public interface IBaseDetectedAppCollectionRequestBuilder extends IRequestBuilder { - - IDetectedAppCollectionRequest buildRequest(); - - IDetectedAppCollectionRequest buildRequest(final java.util.List requestOptions); - - IDetectedAppRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequest.java deleted file mode 100644 index 1ac97b652f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DetectedApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Detected App Request. - */ -public interface IBaseDetectedAppRequest extends IHttpRequest { - - /** - * Gets the DetectedApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DetectedApp from the service - * - * @return the DetectedApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DetectedApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DetectedApp with a source - * - * @param sourceDetectedApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DetectedApp sourceDetectedApp, final ICallback callback); - - /** - * Patches this DetectedApp with a source - * - * @param sourceDetectedApp the source object with updates - * @return the updated DetectedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DetectedApp patch(final DetectedApp sourceDetectedApp) throws ClientException; - - /** - * Posts a DetectedApp with a new object - * - * @param newDetectedApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DetectedApp newDetectedApp, final ICallback callback); - - /** - * Posts a DetectedApp with a new object - * - * @param newDetectedApp the new object to create - * @return the created DetectedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DetectedApp post(final DetectedApp newDetectedApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDetectedAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDetectedAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequestBuilder.java deleted file mode 100644 index 39bba753218..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDetectedAppRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDetectedAppRequest; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Detected App Request Builder. - */ -public interface IBaseDetectedAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDetectedAppRequest instance - */ - IDetectedAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDetectedAppRequest instance - */ - IDetectedAppRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceCollectionWithReferencesRequestBuilder managedDevices(); - - IManagedDeviceWithReferenceRequestBuilder managedDevices(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionPage.java deleted file mode 100644 index 832176e5d5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Assignment Collection Page. - */ -public interface IBaseDeviceAndAppManagementRoleAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java deleted file mode 100644 index b6a33079456..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Assignment Collection Request. - */ -public interface IBaseDeviceAndAppManagementRoleAssignmentCollectionRequest { - - void get(final ICallback callback); - - IDeviceAndAppManagementRoleAssignmentCollectionPage get() throws ClientException; - - void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback); - - DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceAndAppManagementRoleAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceAndAppManagementRoleAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceAndAppManagementRoleAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 78912ee4378..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Assignment Collection Request Builder. - */ -public interface IBaseDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest(); - - IDeviceAndAppManagementRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceAndAppManagementRoleAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequest.java deleted file mode 100644 index eadcc55e4d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Assignment Request. - */ -public interface IBaseDeviceAndAppManagementRoleAssignmentRequest extends IHttpRequest { - - /** - * Gets the DeviceAndAppManagementRoleAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceAndAppManagementRoleAssignment from the service - * - * @return the DeviceAndAppManagementRoleAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAndAppManagementRoleAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceAndAppManagementRoleAssignment with a source - * - * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment, final ICallback callback); - - /** - * Patches this DeviceAndAppManagementRoleAssignment with a source - * - * @param sourceDeviceAndAppManagementRoleAssignment the source object with updates - * @return the updated DeviceAndAppManagementRoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAndAppManagementRoleAssignment patch(final DeviceAndAppManagementRoleAssignment sourceDeviceAndAppManagementRoleAssignment) throws ClientException; - - /** - * Posts a DeviceAndAppManagementRoleAssignment with a new object - * - * @param newDeviceAndAppManagementRoleAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback); - - /** - * Posts a DeviceAndAppManagementRoleAssignment with a new object - * - * @param newDeviceAndAppManagementRoleAssignment the new object to create - * @return the created DeviceAndAppManagementRoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceAndAppManagementRoleAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceAndAppManagementRoleAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java deleted file mode 100644 index 982c41f188c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Assignment Request Builder. - */ -public interface IBaseDeviceAndAppManagementRoleAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceAndAppManagementRoleAssignmentRequest instance - */ - IDeviceAndAppManagementRoleAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceAndAppManagementRoleAssignmentRequest instance - */ - IDeviceAndAppManagementRoleAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequest.java deleted file mode 100644 index d8c6bc92948..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Definition Request. - */ -public interface IBaseDeviceAndAppManagementRoleDefinitionRequest extends IHttpRequest { - - /** - * Gets the DeviceAndAppManagementRoleDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceAndAppManagementRoleDefinition from the service - * - * @return the DeviceAndAppManagementRoleDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAndAppManagementRoleDefinition get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceAndAppManagementRoleDefinition with a source - * - * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition, final ICallback callback); - - /** - * Patches this DeviceAndAppManagementRoleDefinition with a source - * - * @param sourceDeviceAndAppManagementRoleDefinition the source object with updates - * @return the updated DeviceAndAppManagementRoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAndAppManagementRoleDefinition patch(final DeviceAndAppManagementRoleDefinition sourceDeviceAndAppManagementRoleDefinition) throws ClientException; - - /** - * Posts a DeviceAndAppManagementRoleDefinition with a new object - * - * @param newDeviceAndAppManagementRoleDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition, final ICallback callback); - - /** - * Posts a DeviceAndAppManagementRoleDefinition with a new object - * - * @param newDeviceAndAppManagementRoleDefinition the new object to create - * @return the created DeviceAndAppManagementRoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAndAppManagementRoleDefinition post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceAndAppManagementRoleDefinitionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceAndAppManagementRoleDefinitionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java deleted file mode 100644 index 8648262b032..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleDefinitionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device And App Management Role Definition Request Builder. - */ -public interface IBaseDeviceAndAppManagementRoleDefinitionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceAndAppManagementRoleDefinitionRequest instance - */ - IDeviceAndAppManagementRoleDefinitionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceAndAppManagementRoleDefinitionRequest instance - */ - IDeviceAndAppManagementRoleDefinitionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequest.java deleted file mode 100644 index 8fd5aee8143..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceAppManagement; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device App Management Request. - */ -public interface IBaseDeviceAppManagementRequest extends IHttpRequest { - - /** - * Gets the DeviceAppManagement from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceAppManagement from the service - * - * @return the DeviceAppManagement from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAppManagement get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceAppManagement with a source - * - * @param sourceDeviceAppManagement the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceAppManagement sourceDeviceAppManagement, final ICallback callback); - - /** - * Patches this DeviceAppManagement with a source - * - * @param sourceDeviceAppManagement the source object with updates - * @return the updated DeviceAppManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAppManagement patch(final DeviceAppManagement sourceDeviceAppManagement) throws ClientException; - - /** - * Posts a DeviceAppManagement with a new object - * - * @param newDeviceAppManagement the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceAppManagement newDeviceAppManagement, final ICallback callback); - - /** - * Posts a DeviceAppManagement with a new object - * - * @param newDeviceAppManagement the new object to create - * @return the created DeviceAppManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceAppManagement post(final DeviceAppManagement newDeviceAppManagement) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceAppManagementRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceAppManagementRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequestBuilder.java deleted file mode 100644 index 46fd389aadd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementRequestBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequest; -import com.microsoft.graph.requests.extensions.IMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IVppTokenCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IVppTokenRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAndroidManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDefaultManagedAppProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedEBookCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedEBookRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device App Management Request Builder. - */ -public interface IBaseDeviceAppManagementRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceAppManagementRequest instance - */ - IDeviceAppManagementRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceAppManagementRequest instance - */ - IDeviceAppManagementRequest buildRequest(final java.util.List requestOptions); - - IMobileAppCollectionRequestBuilder mobileApps(); - - IMobileAppRequestBuilder mobileApps(final String id); - - IMobileAppCategoryCollectionRequestBuilder mobileAppCategories(); - - IMobileAppCategoryRequestBuilder mobileAppCategories(final String id); - - IManagedDeviceMobileAppConfigurationCollectionRequestBuilder mobileAppConfigurations(); - - IManagedDeviceMobileAppConfigurationRequestBuilder mobileAppConfigurations(final String id); - - IVppTokenCollectionRequestBuilder vppTokens(); - - IVppTokenRequestBuilder vppTokens(final String id); - - IManagedAppPolicyCollectionRequestBuilder managedAppPolicies(); - - IManagedAppPolicyRequestBuilder managedAppPolicies(final String id); - - IIosManagedAppProtectionCollectionRequestBuilder iosManagedAppProtections(); - - IIosManagedAppProtectionRequestBuilder iosManagedAppProtections(final String id); - - IAndroidManagedAppProtectionCollectionRequestBuilder androidManagedAppProtections(); - - IAndroidManagedAppProtectionRequestBuilder androidManagedAppProtections(final String id); - - IDefaultManagedAppProtectionCollectionRequestBuilder defaultManagedAppProtections(); - - IDefaultManagedAppProtectionRequestBuilder defaultManagedAppProtections(final String id); - - ITargetedManagedAppConfigurationCollectionRequestBuilder targetedManagedAppConfigurations(); - - ITargetedManagedAppConfigurationRequestBuilder targetedManagedAppConfigurations(final String id); - - IMdmWindowsInformationProtectionPolicyCollectionRequestBuilder mdmWindowsInformationProtectionPolicies(); - - IMdmWindowsInformationProtectionPolicyRequestBuilder mdmWindowsInformationProtectionPolicies(final String id); - - IWindowsInformationProtectionPolicyCollectionRequestBuilder windowsInformationProtectionPolicies(); - - IWindowsInformationProtectionPolicyRequestBuilder windowsInformationProtectionPolicies(final String id); - - IManagedAppRegistrationCollectionRequestBuilder managedAppRegistrations(); - - IManagedAppRegistrationRequestBuilder managedAppRegistrations(final String id); - - IManagedAppStatusCollectionRequestBuilder managedAppStatuses(); - - IManagedAppStatusRequestBuilder managedAppStatuses(final String id); - - IManagedEBookCollectionRequestBuilder managedEBooks(); - - IManagedEBookRequestBuilder managedEBooks(final String id); - IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder syncMicrosoftStoreForBusinessApps(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java deleted file mode 100644 index 7c13dd07057..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device App Management Sync Microsoft Store For Business Apps Request. - */ -public interface IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest { - - /** - * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the DeviceAppManagementSyncMicrosoftStoreForBusinessApps - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java deleted file mode 100644 index bef408afdce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device App Management Sync Microsoft Store For Business Apps Request Builder. - */ -public interface IBaseDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest - * - * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance - */ - IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest(); - - /** - * Creates the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest instance - */ - IDeviceAppManagementSyncMicrosoftStoreForBusinessAppsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionPage.java deleted file mode 100644 index b71eb7dcd6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Category Collection Page. - */ -public interface IBaseDeviceCategoryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequest.java deleted file mode 100644 index cfc0587f548..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Category Collection Request. - */ -public interface IBaseDeviceCategoryCollectionRequest { - - void get(final ICallback callback); - - IDeviceCategoryCollectionPage get() throws ClientException; - - void post(final DeviceCategory newDeviceCategory, final ICallback callback); - - DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCategoryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCategoryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCategoryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequestBuilder.java deleted file mode 100644 index c01691eb2d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Category Collection Request Builder. - */ -public interface IBaseDeviceCategoryCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCategoryCollectionRequest buildRequest(); - - IDeviceCategoryCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceCategoryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequest.java deleted file mode 100644 index c52b4bc4bc4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCategory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Category Request. - */ -public interface IBaseDeviceCategoryRequest extends IHttpRequest { - - /** - * Gets the DeviceCategory from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceCategory from the service - * - * @return the DeviceCategory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCategory get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceCategory with a source - * - * @param sourceDeviceCategory the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceCategory sourceDeviceCategory, final ICallback callback); - - /** - * Patches this DeviceCategory with a source - * - * @param sourceDeviceCategory the source object with updates - * @return the updated DeviceCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCategory patch(final DeviceCategory sourceDeviceCategory) throws ClientException; - - /** - * Posts a DeviceCategory with a new object - * - * @param newDeviceCategory the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceCategory newDeviceCategory, final ICallback callback); - - /** - * Posts a DeviceCategory with a new object - * - * @param newDeviceCategory the new object to create - * @return the created DeviceCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceCategoryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceCategoryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequestBuilder.java deleted file mode 100644 index 7e8a6aadd87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCategoryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Category Request Builder. - */ -public interface IBaseDeviceCategoryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceCategoryRequest instance - */ - IDeviceCategoryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceCategoryRequest instance - */ - IDeviceCategoryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionPage.java deleted file mode 100644 index d2eedddc696..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Collection Page. - */ -public interface IBaseDeviceCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequest.java deleted file mode 100644 index e3f5ed2083a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Collection Request. - */ -public interface IBaseDeviceCollectionRequest { - - void get(final ICallback callback); - - IDeviceCollectionPage get() throws ClientException; - - void post(final Device newDevice, final ICallback callback); - - Device post(final Device newDevice) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequestBuilder.java deleted file mode 100644 index a728612eba5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Collection Request Builder. - */ -public interface IBaseDeviceCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCollectionRequest buildRequest(); - - IDeviceCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionPage.java deleted file mode 100644 index a58879b89c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Action Item Collection Page. - */ -public interface IBaseDeviceComplianceActionItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequest.java deleted file mode 100644 index af8e4acf816..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Action Item Collection Request. - */ -public interface IBaseDeviceComplianceActionItemCollectionRequest { - - void get(final ICallback callback); - - IDeviceComplianceActionItemCollectionPage get() throws ClientException; - - void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback); - - DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceComplianceActionItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceComplianceActionItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceComplianceActionItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequestBuilder.java deleted file mode 100644 index 617bcc71466..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Action Item Collection Request Builder. - */ -public interface IBaseDeviceComplianceActionItemCollectionRequestBuilder extends IRequestBuilder { - - IDeviceComplianceActionItemCollectionRequest buildRequest(); - - IDeviceComplianceActionItemCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceActionItemRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequest.java deleted file mode 100644 index 5d7862913db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceActionItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Action Item Request. - */ -public interface IBaseDeviceComplianceActionItemRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceActionItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceActionItem from the service - * - * @return the DeviceComplianceActionItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceActionItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceActionItem with a source - * - * @param sourceDeviceComplianceActionItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem, final ICallback callback); - - /** - * Patches this DeviceComplianceActionItem with a source - * - * @param sourceDeviceComplianceActionItem the source object with updates - * @return the updated DeviceComplianceActionItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceActionItem patch(final DeviceComplianceActionItem sourceDeviceComplianceActionItem) throws ClientException; - - /** - * Posts a DeviceComplianceActionItem with a new object - * - * @param newDeviceComplianceActionItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback); - - /** - * Posts a DeviceComplianceActionItem with a new object - * - * @param newDeviceComplianceActionItem the new object to create - * @return the created DeviceComplianceActionItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceActionItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceActionItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequestBuilder.java deleted file mode 100644 index 819defee999..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceActionItemRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Action Item Request Builder. - */ -public interface IBaseDeviceComplianceActionItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceActionItemRequest instance - */ - IDeviceComplianceActionItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceActionItemRequest instance - */ - IDeviceComplianceActionItemRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequest.java deleted file mode 100644 index 9b1392ff0b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Overview Request. - */ -public interface IBaseDeviceComplianceDeviceOverviewRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceDeviceOverview from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceDeviceOverview from the service - * - * @return the DeviceComplianceDeviceOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceDeviceOverview get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceDeviceOverview with a source - * - * @param sourceDeviceComplianceDeviceOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview, final ICallback callback); - - /** - * Patches this DeviceComplianceDeviceOverview with a source - * - * @param sourceDeviceComplianceDeviceOverview the source object with updates - * @return the updated DeviceComplianceDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceDeviceOverview patch(final DeviceComplianceDeviceOverview sourceDeviceComplianceDeviceOverview) throws ClientException; - - /** - * Posts a DeviceComplianceDeviceOverview with a new object - * - * @param newDeviceComplianceDeviceOverview the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview, final ICallback callback); - - /** - * Posts a DeviceComplianceDeviceOverview with a new object - * - * @param newDeviceComplianceDeviceOverview the new object to create - * @return the created DeviceComplianceDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceDeviceOverview post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceDeviceOverviewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceDeviceOverviewRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequestBuilder.java deleted file mode 100644 index 78f7f9d3078..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceOverviewRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Overview Request Builder. - */ -public interface IBaseDeviceComplianceDeviceOverviewRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceDeviceOverviewRequest instance - */ - IDeviceComplianceDeviceOverviewRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceDeviceOverviewRequest instance - */ - IDeviceComplianceDeviceOverviewRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionPage.java deleted file mode 100644 index 4d287641618..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Status Collection Page. - */ -public interface IBaseDeviceComplianceDeviceStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequest.java deleted file mode 100644 index d04a57dc22e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Status Collection Request. - */ -public interface IBaseDeviceComplianceDeviceStatusCollectionRequest { - - void get(final ICallback callback); - - IDeviceComplianceDeviceStatusCollectionPage get() throws ClientException; - - void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback); - - DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceComplianceDeviceStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceComplianceDeviceStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceComplianceDeviceStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index af3eef15324..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Status Collection Request Builder. - */ -public interface IBaseDeviceComplianceDeviceStatusCollectionRequestBuilder extends IRequestBuilder { - - IDeviceComplianceDeviceStatusCollectionRequest buildRequest(); - - IDeviceComplianceDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceDeviceStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequest.java deleted file mode 100644 index 2d4e8df2f0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Status Request. - */ -public interface IBaseDeviceComplianceDeviceStatusRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceDeviceStatus from the service - * - * @return the DeviceComplianceDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceDeviceStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceDeviceStatus with a source - * - * @param sourceDeviceComplianceDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus, final ICallback callback); - - /** - * Patches this DeviceComplianceDeviceStatus with a source - * - * @param sourceDeviceComplianceDeviceStatus the source object with updates - * @return the updated DeviceComplianceDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceDeviceStatus patch(final DeviceComplianceDeviceStatus sourceDeviceComplianceDeviceStatus) throws ClientException; - - /** - * Posts a DeviceComplianceDeviceStatus with a new object - * - * @param newDeviceComplianceDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback); - - /** - * Posts a DeviceComplianceDeviceStatus with a new object - * - * @param newDeviceComplianceDeviceStatus the new object to create - * @return the created DeviceComplianceDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceDeviceStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceDeviceStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequestBuilder.java deleted file mode 100644 index 61ae4f5cc8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Device Status Request Builder. - */ -public interface IBaseDeviceComplianceDeviceStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceDeviceStatusRequest instance - */ - IDeviceComplianceDeviceStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceDeviceStatusRequest instance - */ - IDeviceComplianceDeviceStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionPage.java deleted file mode 100644 index ae0432dbd1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assign Collection Page. - */ -public interface IBaseDeviceCompliancePolicyAssignCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequest.java deleted file mode 100644 index c2c2c077298..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assign Collection Request. - */ -public interface IBaseDeviceCompliancePolicyAssignCollectionRequest { - - void post(final ICallback callback); - - IDeviceCompliancePolicyAssignCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCompliancePolicyAssignCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCompliancePolicyAssignCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCompliancePolicyAssignCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java deleted file mode 100644 index 1851cc09dcd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assign Collection Request Builder. - */ -public interface IBaseDeviceCompliancePolicyAssignCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCompliancePolicyAssignCollectionRequest buildRequest(); - - IDeviceCompliancePolicyAssignCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionPage.java deleted file mode 100644 index 255b9fb97b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assignment Collection Page. - */ -public interface IBaseDeviceCompliancePolicyAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequest.java deleted file mode 100644 index 0a9ed3643a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assignment Collection Request. - */ -public interface IBaseDeviceCompliancePolicyAssignmentCollectionRequest { - - void get(final ICallback callback); - - IDeviceCompliancePolicyAssignmentCollectionPage get() throws ClientException; - - void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback); - - DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCompliancePolicyAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCompliancePolicyAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCompliancePolicyAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 85c83db39c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assignment Collection Request Builder. - */ -public interface IBaseDeviceCompliancePolicyAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest(); - - IDeviceCompliancePolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceCompliancePolicyAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequest.java deleted file mode 100644 index 09410a08c98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assignment Request. - */ -public interface IBaseDeviceCompliancePolicyAssignmentRequest extends IHttpRequest { - - /** - * Gets the DeviceCompliancePolicyAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceCompliancePolicyAssignment from the service - * - * @return the DeviceCompliancePolicyAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceCompliancePolicyAssignment with a source - * - * @param sourceDeviceCompliancePolicyAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment, final ICallback callback); - - /** - * Patches this DeviceCompliancePolicyAssignment with a source - * - * @param sourceDeviceCompliancePolicyAssignment the source object with updates - * @return the updated DeviceCompliancePolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyAssignment patch(final DeviceCompliancePolicyAssignment sourceDeviceCompliancePolicyAssignment) throws ClientException; - - /** - * Posts a DeviceCompliancePolicyAssignment with a new object - * - * @param newDeviceCompliancePolicyAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback); - - /** - * Posts a DeviceCompliancePolicyAssignment with a new object - * - * @param newDeviceCompliancePolicyAssignment the new object to create - * @return the created DeviceCompliancePolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequestBuilder.java deleted file mode 100644 index 3dc0ed5b886..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Assignment Request Builder. - */ -public interface IBaseDeviceCompliancePolicyAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyAssignmentRequest instance - */ - IDeviceCompliancePolicyAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyAssignmentRequest instance - */ - IDeviceCompliancePolicyAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionPage.java deleted file mode 100644 index c6b1ccaefb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Collection Page. - */ -public interface IBaseDeviceCompliancePolicyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequest.java deleted file mode 100644 index d089b2ebeac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Collection Request. - */ -public interface IBaseDeviceCompliancePolicyCollectionRequest { - - void get(final ICallback callback); - - IDeviceCompliancePolicyCollectionPage get() throws ClientException; - - void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback); - - DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCompliancePolicyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCompliancePolicyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCompliancePolicyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequestBuilder.java deleted file mode 100644 index 069ae9751b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Collection Request Builder. - */ -public interface IBaseDeviceCompliancePolicyCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCompliancePolicyCollectionRequest buildRequest(); - - IDeviceCompliancePolicyCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceCompliancePolicyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequest.java deleted file mode 100644 index f275571ab89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Device State Summary Request. - */ -public interface IBaseDeviceCompliancePolicyDeviceStateSummaryRequest extends IHttpRequest { - - /** - * Gets the DeviceCompliancePolicyDeviceStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceCompliancePolicyDeviceStateSummary from the service - * - * @return the DeviceCompliancePolicyDeviceStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyDeviceStateSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceCompliancePolicyDeviceStateSummary with a source - * - * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary, final ICallback callback); - - /** - * Patches this DeviceCompliancePolicyDeviceStateSummary with a source - * - * @param sourceDeviceCompliancePolicyDeviceStateSummary the source object with updates - * @return the updated DeviceCompliancePolicyDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyDeviceStateSummary patch(final DeviceCompliancePolicyDeviceStateSummary sourceDeviceCompliancePolicyDeviceStateSummary) throws ClientException; - - /** - * Posts a DeviceCompliancePolicyDeviceStateSummary with a new object - * - * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary, final ICallback callback); - - /** - * Posts a DeviceCompliancePolicyDeviceStateSummary with a new object - * - * @param newDeviceCompliancePolicyDeviceStateSummary the new object to create - * @return the created DeviceCompliancePolicyDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyDeviceStateSummary post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyDeviceStateSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyDeviceStateSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java deleted file mode 100644 index 1326269d4fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Device State Summary Request Builder. - */ -public interface IBaseDeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance - */ - IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyDeviceStateSummaryRequest instance - */ - IDeviceCompliancePolicyDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequest.java deleted file mode 100644 index 5811e8603d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Request. - */ -public interface IBaseDeviceCompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the DeviceCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceCompliancePolicy from the service - * - * @return the DeviceCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceCompliancePolicy with a source - * - * @param sourceDeviceCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy, final ICallback callback); - - /** - * Patches this DeviceCompliancePolicy with a source - * - * @param sourceDeviceCompliancePolicy the source object with updates - * @return the updated DeviceCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicy patch(final DeviceCompliancePolicy sourceDeviceCompliancePolicy) throws ClientException; - - /** - * Posts a DeviceCompliancePolicy with a new object - * - * @param newDeviceCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback); - - /** - * Posts a DeviceCompliancePolicy with a new object - * - * @param newDeviceCompliancePolicy the new object to create - * @return the created DeviceCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequestBuilder.java deleted file mode 100644 index 6deb6a4b4ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,86 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequest; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceDeviceOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyAssignCollectionRequestBuilder; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Request Builder. - */ -public interface IBaseDeviceCompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyRequest instance - */ - IDeviceCompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyRequest instance - */ - IDeviceCompliancePolicyRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceScheduledActionForRuleCollectionRequestBuilder scheduledActionsForRule(); - - IDeviceComplianceScheduledActionForRuleRequestBuilder scheduledActionsForRule(final String id); - - IDeviceComplianceDeviceStatusCollectionRequestBuilder deviceStatuses(); - - IDeviceComplianceDeviceStatusRequestBuilder deviceStatuses(final String id); - - IDeviceComplianceUserStatusCollectionRequestBuilder userStatuses(); - - IDeviceComplianceUserStatusRequestBuilder userStatuses(final String id); - - /** - * Gets the request builder for DeviceComplianceDeviceOverview - * - * @return the IDeviceComplianceDeviceOverviewRequestBuilder instance - */ - IDeviceComplianceDeviceOverviewRequestBuilder deviceStatusOverview(); - - /** - * Gets the request builder for DeviceComplianceUserOverview - * - * @return the IDeviceComplianceUserOverviewRequestBuilder instance - */ - IDeviceComplianceUserOverviewRequestBuilder userStatusOverview(); - - ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries(); - - ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id); - - IDeviceCompliancePolicyAssignmentCollectionRequestBuilder assignments(); - - IDeviceCompliancePolicyAssignmentRequestBuilder assignments(final String id); - - IDeviceCompliancePolicyAssignCollectionRequestBuilder assign(final java.util.List assignments); - IDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder scheduleActionsForRules(final java.util.List deviceComplianceScheduledActionForRules); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java deleted file mode 100644 index 6a720a50654..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Schedule Actions For Rules Request. - */ -public interface IBaseDeviceCompliancePolicyScheduleActionsForRulesRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCompliancePolicyScheduleActionsForRulesRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCompliancePolicyScheduleActionsForRulesRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCompliancePolicyScheduleActionsForRulesRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java deleted file mode 100644 index 5b4f5055710..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyScheduleActionsForRulesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Schedule Actions For Rules Request Builder. - */ -public interface IBaseDeviceCompliancePolicyScheduleActionsForRulesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest - * - * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance - */ - IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest(); - - /** - * Creates the IDeviceCompliancePolicyScheduleActionsForRulesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDeviceCompliancePolicyScheduleActionsForRulesRequest instance - */ - IDeviceCompliancePolicyScheduleActionsForRulesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java deleted file mode 100644 index 7d1e4a1e1da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Setting State Summary Collection Page. - */ -public interface IBaseDeviceCompliancePolicySettingStateSummaryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java deleted file mode 100644 index 444452fc208..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Setting State Summary Collection Request. - */ -public interface IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequest { - - void get(final ICallback callback); - - IDeviceCompliancePolicySettingStateSummaryCollectionPage get() throws ClientException; - - void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback); - - DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCompliancePolicySettingStateSummaryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCompliancePolicySettingStateSummaryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCompliancePolicySettingStateSummaryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java deleted file mode 100644 index 87d45e7e5ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Setting State Summary Collection Request Builder. - */ -public interface IBaseDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest(); - - IDeviceCompliancePolicySettingStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceCompliancePolicySettingStateSummaryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequest.java deleted file mode 100644 index da8bd337145..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Setting State Summary Request. - */ -public interface IBaseDeviceCompliancePolicySettingStateSummaryRequest extends IHttpRequest { - - /** - * Gets the DeviceCompliancePolicySettingStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceCompliancePolicySettingStateSummary from the service - * - * @return the DeviceCompliancePolicySettingStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicySettingStateSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceCompliancePolicySettingStateSummary with a source - * - * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary, final ICallback callback); - - /** - * Patches this DeviceCompliancePolicySettingStateSummary with a source - * - * @param sourceDeviceCompliancePolicySettingStateSummary the source object with updates - * @return the updated DeviceCompliancePolicySettingStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicySettingStateSummary patch(final DeviceCompliancePolicySettingStateSummary sourceDeviceCompliancePolicySettingStateSummary) throws ClientException; - - /** - * Posts a DeviceCompliancePolicySettingStateSummary with a new object - * - * @param newDeviceCompliancePolicySettingStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback); - - /** - * Posts a DeviceCompliancePolicySettingStateSummary with a new object - * - * @param newDeviceCompliancePolicySettingStateSummary the new object to create - * @return the created DeviceCompliancePolicySettingStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceCompliancePolicySettingStateSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceCompliancePolicySettingStateSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java deleted file mode 100644 index fa571a184f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequest; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy Setting State Summary Request Builder. - */ -public interface IBaseDeviceCompliancePolicySettingStateSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance - */ - IDeviceCompliancePolicySettingStateSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicySettingStateSummaryRequest instance - */ - IDeviceCompliancePolicySettingStateSummaryRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceSettingStateCollectionRequestBuilder deviceComplianceSettingStates(); - - IDeviceComplianceSettingStateRequestBuilder deviceComplianceSettingStates(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionPage.java deleted file mode 100644 index dd8a7db0c10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy State Collection Page. - */ -public interface IBaseDeviceCompliancePolicyStateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequest.java deleted file mode 100644 index 8db24e2cdb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy State Collection Request. - */ -public interface IBaseDeviceCompliancePolicyStateCollectionRequest { - - void get(final ICallback callback); - - IDeviceCompliancePolicyStateCollectionPage get() throws ClientException; - - void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback); - - DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceCompliancePolicyStateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceCompliancePolicyStateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceCompliancePolicyStateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequestBuilder.java deleted file mode 100644 index 2d4e940c412..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy State Collection Request Builder. - */ -public interface IBaseDeviceCompliancePolicyStateCollectionRequestBuilder extends IRequestBuilder { - - IDeviceCompliancePolicyStateCollectionRequest buildRequest(); - - IDeviceCompliancePolicyStateCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceCompliancePolicyStateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequest.java deleted file mode 100644 index 2601e290b66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy State Request. - */ -public interface IBaseDeviceCompliancePolicyStateRequest extends IHttpRequest { - - /** - * Gets the DeviceCompliancePolicyState from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceCompliancePolicyState from the service - * - * @return the DeviceCompliancePolicyState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyState get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceCompliancePolicyState with a source - * - * @param sourceDeviceCompliancePolicyState the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState, final ICallback callback); - - /** - * Patches this DeviceCompliancePolicyState with a source - * - * @param sourceDeviceCompliancePolicyState the source object with updates - * @return the updated DeviceCompliancePolicyState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyState patch(final DeviceCompliancePolicyState sourceDeviceCompliancePolicyState) throws ClientException; - - /** - * Posts a DeviceCompliancePolicyState with a new object - * - * @param newDeviceCompliancePolicyState the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback); - - /** - * Posts a DeviceCompliancePolicyState with a new object - * - * @param newDeviceCompliancePolicyState the new object to create - * @return the created DeviceCompliancePolicyState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyStateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceCompliancePolicyStateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequestBuilder.java deleted file mode 100644 index 5c3fee10f52..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceCompliancePolicyStateRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Policy State Request Builder. - */ -public interface IBaseDeviceCompliancePolicyStateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceCompliancePolicyStateRequest instance - */ - IDeviceCompliancePolicyStateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceCompliancePolicyStateRequest instance - */ - IDeviceCompliancePolicyStateRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionPage.java deleted file mode 100644 index 571b1a6a581..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Scheduled Action For Rule Collection Page. - */ -public interface IBaseDeviceComplianceScheduledActionForRuleCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequest.java deleted file mode 100644 index 7040c1c5c9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Scheduled Action For Rule Collection Request. - */ -public interface IBaseDeviceComplianceScheduledActionForRuleCollectionRequest { - - void get(final ICallback callback); - - IDeviceComplianceScheduledActionForRuleCollectionPage get() throws ClientException; - - void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback); - - DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceComplianceScheduledActionForRuleCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceComplianceScheduledActionForRuleCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceComplianceScheduledActionForRuleCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java deleted file mode 100644 index ec70b4e9854..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Scheduled Action For Rule Collection Request Builder. - */ -public interface IBaseDeviceComplianceScheduledActionForRuleCollectionRequestBuilder extends IRequestBuilder { - - IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest(); - - IDeviceComplianceScheduledActionForRuleCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceScheduledActionForRuleRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequest.java deleted file mode 100644 index abdb05567bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Scheduled Action For Rule Request. - */ -public interface IBaseDeviceComplianceScheduledActionForRuleRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceScheduledActionForRule from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceScheduledActionForRule from the service - * - * @return the DeviceComplianceScheduledActionForRule from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceScheduledActionForRule get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceScheduledActionForRule with a source - * - * @param sourceDeviceComplianceScheduledActionForRule the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule, final ICallback callback); - - /** - * Patches this DeviceComplianceScheduledActionForRule with a source - * - * @param sourceDeviceComplianceScheduledActionForRule the source object with updates - * @return the updated DeviceComplianceScheduledActionForRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceScheduledActionForRule patch(final DeviceComplianceScheduledActionForRule sourceDeviceComplianceScheduledActionForRule) throws ClientException; - - /** - * Posts a DeviceComplianceScheduledActionForRule with a new object - * - * @param newDeviceComplianceScheduledActionForRule the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback); - - /** - * Posts a DeviceComplianceScheduledActionForRule with a new object - * - * @param newDeviceComplianceScheduledActionForRule the new object to create - * @return the created DeviceComplianceScheduledActionForRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceScheduledActionForRuleRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceScheduledActionForRuleRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequestBuilder.java deleted file mode 100644 index 1ae3000cb96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceScheduledActionForRuleRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceScheduledActionForRuleRequest; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceComplianceActionItemRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Scheduled Action For Rule Request Builder. - */ -public interface IBaseDeviceComplianceScheduledActionForRuleRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceScheduledActionForRuleRequest instance - */ - IDeviceComplianceScheduledActionForRuleRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceScheduledActionForRuleRequest instance - */ - IDeviceComplianceScheduledActionForRuleRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceActionItemCollectionRequestBuilder scheduledActionConfigurations(); - - IDeviceComplianceActionItemRequestBuilder scheduledActionConfigurations(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionPage.java deleted file mode 100644 index 48d7aa0f2b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Setting State Collection Page. - */ -public interface IBaseDeviceComplianceSettingStateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequest.java deleted file mode 100644 index fdf6ba078d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Setting State Collection Request. - */ -public interface IBaseDeviceComplianceSettingStateCollectionRequest { - - void get(final ICallback callback); - - IDeviceComplianceSettingStateCollectionPage get() throws ClientException; - - void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback); - - DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceComplianceSettingStateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceComplianceSettingStateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceComplianceSettingStateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequestBuilder.java deleted file mode 100644 index 88b6db531df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Setting State Collection Request Builder. - */ -public interface IBaseDeviceComplianceSettingStateCollectionRequestBuilder extends IRequestBuilder { - - IDeviceComplianceSettingStateCollectionRequest buildRequest(); - - IDeviceComplianceSettingStateCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceSettingStateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequest.java deleted file mode 100644 index d81e130a422..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceSettingState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Setting State Request. - */ -public interface IBaseDeviceComplianceSettingStateRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceSettingState from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceSettingState from the service - * - * @return the DeviceComplianceSettingState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceSettingState get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceSettingState with a source - * - * @param sourceDeviceComplianceSettingState the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState, final ICallback callback); - - /** - * Patches this DeviceComplianceSettingState with a source - * - * @param sourceDeviceComplianceSettingState the source object with updates - * @return the updated DeviceComplianceSettingState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceSettingState patch(final DeviceComplianceSettingState sourceDeviceComplianceSettingState) throws ClientException; - - /** - * Posts a DeviceComplianceSettingState with a new object - * - * @param newDeviceComplianceSettingState the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback); - - /** - * Posts a DeviceComplianceSettingState with a new object - * - * @param newDeviceComplianceSettingState the new object to create - * @return the created DeviceComplianceSettingState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceSettingStateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceSettingStateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequestBuilder.java deleted file mode 100644 index fb69b1260c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceSettingStateRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceSettingStateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance Setting State Request Builder. - */ -public interface IBaseDeviceComplianceSettingStateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceSettingStateRequest instance - */ - IDeviceComplianceSettingStateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceSettingStateRequest instance - */ - IDeviceComplianceSettingStateRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequest.java deleted file mode 100644 index f19c0d50ed5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Overview Request. - */ -public interface IBaseDeviceComplianceUserOverviewRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceUserOverview from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceUserOverview from the service - * - * @return the DeviceComplianceUserOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceUserOverview get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceUserOverview with a source - * - * @param sourceDeviceComplianceUserOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview, final ICallback callback); - - /** - * Patches this DeviceComplianceUserOverview with a source - * - * @param sourceDeviceComplianceUserOverview the source object with updates - * @return the updated DeviceComplianceUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceUserOverview patch(final DeviceComplianceUserOverview sourceDeviceComplianceUserOverview) throws ClientException; - - /** - * Posts a DeviceComplianceUserOverview with a new object - * - * @param newDeviceComplianceUserOverview the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview, final ICallback callback); - - /** - * Posts a DeviceComplianceUserOverview with a new object - * - * @param newDeviceComplianceUserOverview the new object to create - * @return the created DeviceComplianceUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceUserOverview post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceUserOverviewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceUserOverviewRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequestBuilder.java deleted file mode 100644 index c6178a0fae7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserOverviewRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserOverviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Overview Request Builder. - */ -public interface IBaseDeviceComplianceUserOverviewRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceUserOverviewRequest instance - */ - IDeviceComplianceUserOverviewRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceUserOverviewRequest instance - */ - IDeviceComplianceUserOverviewRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionPage.java deleted file mode 100644 index 7174cb2ba93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Status Collection Page. - */ -public interface IBaseDeviceComplianceUserStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequest.java deleted file mode 100644 index a7cdd497879..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Status Collection Request. - */ -public interface IBaseDeviceComplianceUserStatusCollectionRequest { - - void get(final ICallback callback); - - IDeviceComplianceUserStatusCollectionPage get() throws ClientException; - - void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback); - - DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceComplianceUserStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceComplianceUserStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceComplianceUserStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequestBuilder.java deleted file mode 100644 index e34768c5098..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Status Collection Request Builder. - */ -public interface IBaseDeviceComplianceUserStatusCollectionRequestBuilder extends IRequestBuilder { - - IDeviceComplianceUserStatusCollectionRequest buildRequest(); - - IDeviceComplianceUserStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceComplianceUserStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequest.java deleted file mode 100644 index 220d65b5bb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Status Request. - */ -public interface IBaseDeviceComplianceUserStatusRequest extends IHttpRequest { - - /** - * Gets the DeviceComplianceUserStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceComplianceUserStatus from the service - * - * @return the DeviceComplianceUserStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceUserStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceComplianceUserStatus with a source - * - * @param sourceDeviceComplianceUserStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus, final ICallback callback); - - /** - * Patches this DeviceComplianceUserStatus with a source - * - * @param sourceDeviceComplianceUserStatus the source object with updates - * @return the updated DeviceComplianceUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceUserStatus patch(final DeviceComplianceUserStatus sourceDeviceComplianceUserStatus) throws ClientException; - - /** - * Posts a DeviceComplianceUserStatus with a new object - * - * @param newDeviceComplianceUserStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback); - - /** - * Posts a DeviceComplianceUserStatus with a new object - * - * @param newDeviceComplianceUserStatus the new object to create - * @return the created DeviceComplianceUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceComplianceUserStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceComplianceUserStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequestBuilder.java deleted file mode 100644 index 03d7bc2e53a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceComplianceUserStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceComplianceUserStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Compliance User Status Request Builder. - */ -public interface IBaseDeviceComplianceUserStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceComplianceUserStatusRequest instance - */ - IDeviceComplianceUserStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceComplianceUserStatusRequest instance - */ - IDeviceComplianceUserStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionPage.java deleted file mode 100644 index 3583458d43b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assign Collection Page. - */ -public interface IBaseDeviceConfigurationAssignCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequest.java deleted file mode 100644 index d895b699e6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assign Collection Request. - */ -public interface IBaseDeviceConfigurationAssignCollectionRequest { - - void post(final ICallback callback); - - IDeviceConfigurationAssignCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceConfigurationAssignCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceConfigurationAssignCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceConfigurationAssignCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequestBuilder.java deleted file mode 100644 index 5c2b7fff327..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assign Collection Request Builder. - */ -public interface IBaseDeviceConfigurationAssignCollectionRequestBuilder extends IRequestBuilder { - - IDeviceConfigurationAssignCollectionRequest buildRequest(); - - IDeviceConfigurationAssignCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionPage.java deleted file mode 100644 index ccc18254dae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assignment Collection Page. - */ -public interface IBaseDeviceConfigurationAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequest.java deleted file mode 100644 index f406019aae6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assignment Collection Request. - */ -public interface IBaseDeviceConfigurationAssignmentCollectionRequest { - - void get(final ICallback callback); - - IDeviceConfigurationAssignmentCollectionPage get() throws ClientException; - - void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback); - - DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceConfigurationAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceConfigurationAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceConfigurationAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 6612ed1b568..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assignment Collection Request Builder. - */ -public interface IBaseDeviceConfigurationAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IDeviceConfigurationAssignmentCollectionRequest buildRequest(); - - IDeviceConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequest.java deleted file mode 100644 index bb631b0fd21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assignment Request. - */ -public interface IBaseDeviceConfigurationAssignmentRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationAssignment from the service - * - * @return the DeviceConfigurationAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationAssignment with a source - * - * @param sourceDeviceConfigurationAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment, final ICallback callback); - - /** - * Patches this DeviceConfigurationAssignment with a source - * - * @param sourceDeviceConfigurationAssignment the source object with updates - * @return the updated DeviceConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationAssignment patch(final DeviceConfigurationAssignment sourceDeviceConfigurationAssignment) throws ClientException; - - /** - * Posts a DeviceConfigurationAssignment with a new object - * - * @param newDeviceConfigurationAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback); - - /** - * Posts a DeviceConfigurationAssignment with a new object - * - * @param newDeviceConfigurationAssignment the new object to create - * @return the created DeviceConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequestBuilder.java deleted file mode 100644 index 200f23345c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Assignment Request Builder. - */ -public interface IBaseDeviceConfigurationAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationAssignmentRequest instance - */ - IDeviceConfigurationAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationAssignmentRequest instance - */ - IDeviceConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionPage.java deleted file mode 100644 index b33ed360d22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Collection Page. - */ -public interface IBaseDeviceConfigurationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequest.java deleted file mode 100644 index 47a25b518de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Collection Request. - */ -public interface IBaseDeviceConfigurationCollectionRequest { - - void get(final ICallback callback); - - IDeviceConfigurationCollectionPage get() throws ClientException; - - void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback); - - DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceConfigurationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceConfigurationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceConfigurationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequestBuilder.java deleted file mode 100644 index 108c00ba53c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Collection Request Builder. - */ -public interface IBaseDeviceConfigurationCollectionRequestBuilder extends IRequestBuilder { - - IDeviceConfigurationCollectionRequest buildRequest(); - - IDeviceConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequest.java deleted file mode 100644 index 99cbd020979..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Overview Request. - */ -public interface IBaseDeviceConfigurationDeviceOverviewRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationDeviceOverview from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationDeviceOverview from the service - * - * @return the DeviceConfigurationDeviceOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceOverview get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationDeviceOverview with a source - * - * @param sourceDeviceConfigurationDeviceOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview, final ICallback callback); - - /** - * Patches this DeviceConfigurationDeviceOverview with a source - * - * @param sourceDeviceConfigurationDeviceOverview the source object with updates - * @return the updated DeviceConfigurationDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceOverview patch(final DeviceConfigurationDeviceOverview sourceDeviceConfigurationDeviceOverview) throws ClientException; - - /** - * Posts a DeviceConfigurationDeviceOverview with a new object - * - * @param newDeviceConfigurationDeviceOverview the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview, final ICallback callback); - - /** - * Posts a DeviceConfigurationDeviceOverview with a new object - * - * @param newDeviceConfigurationDeviceOverview the new object to create - * @return the created DeviceConfigurationDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceOverview post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationDeviceOverviewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationDeviceOverviewRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequestBuilder.java deleted file mode 100644 index c4504b4eb7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceOverviewRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Overview Request Builder. - */ -public interface IBaseDeviceConfigurationDeviceOverviewRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationDeviceOverviewRequest instance - */ - IDeviceConfigurationDeviceOverviewRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationDeviceOverviewRequest instance - */ - IDeviceConfigurationDeviceOverviewRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequest.java deleted file mode 100644 index d65b0423644..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device State Summary Request. - */ -public interface IBaseDeviceConfigurationDeviceStateSummaryRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationDeviceStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationDeviceStateSummary from the service - * - * @return the DeviceConfigurationDeviceStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceStateSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationDeviceStateSummary with a source - * - * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary, final ICallback callback); - - /** - * Patches this DeviceConfigurationDeviceStateSummary with a source - * - * @param sourceDeviceConfigurationDeviceStateSummary the source object with updates - * @return the updated DeviceConfigurationDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceStateSummary patch(final DeviceConfigurationDeviceStateSummary sourceDeviceConfigurationDeviceStateSummary) throws ClientException; - - /** - * Posts a DeviceConfigurationDeviceStateSummary with a new object - * - * @param newDeviceConfigurationDeviceStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary, final ICallback callback); - - /** - * Posts a DeviceConfigurationDeviceStateSummary with a new object - * - * @param newDeviceConfigurationDeviceStateSummary the new object to create - * @return the created DeviceConfigurationDeviceStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceStateSummary post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationDeviceStateSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationDeviceStateSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java deleted file mode 100644 index 707159deb17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device State Summary Request Builder. - */ -public interface IBaseDeviceConfigurationDeviceStateSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationDeviceStateSummaryRequest instance - */ - IDeviceConfigurationDeviceStateSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationDeviceStateSummaryRequest instance - */ - IDeviceConfigurationDeviceStateSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionPage.java deleted file mode 100644 index 05ce2f0c4af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Status Collection Page. - */ -public interface IBaseDeviceConfigurationDeviceStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequest.java deleted file mode 100644 index c716893151b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Status Collection Request. - */ -public interface IBaseDeviceConfigurationDeviceStatusCollectionRequest { - - void get(final ICallback callback); - - IDeviceConfigurationDeviceStatusCollectionPage get() throws ClientException; - - void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback); - - DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceConfigurationDeviceStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceConfigurationDeviceStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceConfigurationDeviceStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index 69dcb02a325..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Status Collection Request Builder. - */ -public interface IBaseDeviceConfigurationDeviceStatusCollectionRequestBuilder extends IRequestBuilder { - - IDeviceConfigurationDeviceStatusCollectionRequest buildRequest(); - - IDeviceConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationDeviceStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequest.java deleted file mode 100644 index d0b0933253f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Status Request. - */ -public interface IBaseDeviceConfigurationDeviceStatusRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationDeviceStatus from the service - * - * @return the DeviceConfigurationDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationDeviceStatus with a source - * - * @param sourceDeviceConfigurationDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus, final ICallback callback); - - /** - * Patches this DeviceConfigurationDeviceStatus with a source - * - * @param sourceDeviceConfigurationDeviceStatus the source object with updates - * @return the updated DeviceConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceStatus patch(final DeviceConfigurationDeviceStatus sourceDeviceConfigurationDeviceStatus) throws ClientException; - - /** - * Posts a DeviceConfigurationDeviceStatus with a new object - * - * @param newDeviceConfigurationDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback); - - /** - * Posts a DeviceConfigurationDeviceStatus with a new object - * - * @param newDeviceConfigurationDeviceStatus the new object to create - * @return the created DeviceConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationDeviceStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationDeviceStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequestBuilder.java deleted file mode 100644 index 525c66c5631..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Device Status Request Builder. - */ -public interface IBaseDeviceConfigurationDeviceStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationDeviceStatusRequest instance - */ - IDeviceConfigurationDeviceStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationDeviceStatusRequest instance - */ - IDeviceConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequest.java deleted file mode 100644 index 90b3e1a9ab1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Request. - */ -public interface IBaseDeviceConfigurationRequest extends IHttpRequest { - - /** - * Gets the DeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfiguration from the service - * - * @return the DeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfiguration with a source - * - * @param sourceDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfiguration sourceDeviceConfiguration, final ICallback callback); - - /** - * Patches this DeviceConfiguration with a source - * - * @param sourceDeviceConfiguration the source object with updates - * @return the updated DeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfiguration patch(final DeviceConfiguration sourceDeviceConfiguration) throws ClientException; - - /** - * Posts a DeviceConfiguration with a new object - * - * @param newDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfiguration newDeviceConfiguration, final ICallback callback); - - /** - * Posts a DeviceConfiguration with a new object - * - * @param newDeviceConfiguration the new object to create - * @return the created DeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequestBuilder.java deleted file mode 100644 index 650cb951766..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequest; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequestBuilder; -import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationAssignCollectionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration Request Builder. - */ -public interface IBaseDeviceConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationRequest instance - */ - IDeviceConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationRequest instance - */ - IDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationAssignmentCollectionRequestBuilder assignments(); - - IDeviceConfigurationAssignmentRequestBuilder assignments(final String id); - - IDeviceConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses(); - - IDeviceConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id); - - IDeviceConfigurationUserStatusCollectionRequestBuilder userStatuses(); - - IDeviceConfigurationUserStatusRequestBuilder userStatuses(final String id); - - /** - * Gets the request builder for DeviceConfigurationDeviceOverview - * - * @return the IDeviceConfigurationDeviceOverviewRequestBuilder instance - */ - IDeviceConfigurationDeviceOverviewRequestBuilder deviceStatusOverview(); - - /** - * Gets the request builder for DeviceConfigurationUserOverview - * - * @return the IDeviceConfigurationUserOverviewRequestBuilder instance - */ - IDeviceConfigurationUserOverviewRequestBuilder userStatusOverview(); - - ISettingStateDeviceSummaryCollectionRequestBuilder deviceSettingStateSummaries(); - - ISettingStateDeviceSummaryRequestBuilder deviceSettingStateSummaries(final String id); - - IDeviceConfigurationAssignCollectionRequestBuilder assign(final java.util.List assignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionPage.java deleted file mode 100644 index a63637e79c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration State Collection Page. - */ -public interface IBaseDeviceConfigurationStateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequest.java deleted file mode 100644 index cdb568abedf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration State Collection Request. - */ -public interface IBaseDeviceConfigurationStateCollectionRequest { - - void get(final ICallback callback); - - IDeviceConfigurationStateCollectionPage get() throws ClientException; - - void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback); - - DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceConfigurationStateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceConfigurationStateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceConfigurationStateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequestBuilder.java deleted file mode 100644 index 016429afbe1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration State Collection Request Builder. - */ -public interface IBaseDeviceConfigurationStateCollectionRequestBuilder extends IRequestBuilder { - - IDeviceConfigurationStateCollectionRequest buildRequest(); - - IDeviceConfigurationStateCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationStateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequest.java deleted file mode 100644 index d913907b03e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration State Request. - */ -public interface IBaseDeviceConfigurationStateRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationState from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationState from the service - * - * @return the DeviceConfigurationState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationState get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationState with a source - * - * @param sourceDeviceConfigurationState the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationState sourceDeviceConfigurationState, final ICallback callback); - - /** - * Patches this DeviceConfigurationState with a source - * - * @param sourceDeviceConfigurationState the source object with updates - * @return the updated DeviceConfigurationState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationState patch(final DeviceConfigurationState sourceDeviceConfigurationState) throws ClientException; - - /** - * Posts a DeviceConfigurationState with a new object - * - * @param newDeviceConfigurationState the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback); - - /** - * Posts a DeviceConfigurationState with a new object - * - * @param newDeviceConfigurationState the new object to create - * @return the created DeviceConfigurationState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationStateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationStateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequestBuilder.java deleted file mode 100644 index e878c95267f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationStateRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration State Request Builder. - */ -public interface IBaseDeviceConfigurationStateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationStateRequest instance - */ - IDeviceConfigurationStateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationStateRequest instance - */ - IDeviceConfigurationStateRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequest.java deleted file mode 100644 index 94470835f93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Overview Request. - */ -public interface IBaseDeviceConfigurationUserOverviewRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationUserOverview from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationUserOverview from the service - * - * @return the DeviceConfigurationUserOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationUserOverview get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationUserOverview with a source - * - * @param sourceDeviceConfigurationUserOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview, final ICallback callback); - - /** - * Patches this DeviceConfigurationUserOverview with a source - * - * @param sourceDeviceConfigurationUserOverview the source object with updates - * @return the updated DeviceConfigurationUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationUserOverview patch(final DeviceConfigurationUserOverview sourceDeviceConfigurationUserOverview) throws ClientException; - - /** - * Posts a DeviceConfigurationUserOverview with a new object - * - * @param newDeviceConfigurationUserOverview the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview, final ICallback callback); - - /** - * Posts a DeviceConfigurationUserOverview with a new object - * - * @param newDeviceConfigurationUserOverview the new object to create - * @return the created DeviceConfigurationUserOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationUserOverview post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationUserOverviewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationUserOverviewRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequestBuilder.java deleted file mode 100644 index 3c5f5b356ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserOverviewRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserOverviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Overview Request Builder. - */ -public interface IBaseDeviceConfigurationUserOverviewRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationUserOverviewRequest instance - */ - IDeviceConfigurationUserOverviewRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationUserOverviewRequest instance - */ - IDeviceConfigurationUserOverviewRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionPage.java deleted file mode 100644 index a1eac3308d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Status Collection Page. - */ -public interface IBaseDeviceConfigurationUserStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequest.java deleted file mode 100644 index 1eea2bc2e10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Status Collection Request. - */ -public interface IBaseDeviceConfigurationUserStatusCollectionRequest { - - void get(final ICallback callback); - - IDeviceConfigurationUserStatusCollectionPage get() throws ClientException; - - void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback); - - DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceConfigurationUserStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceConfigurationUserStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceConfigurationUserStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequestBuilder.java deleted file mode 100644 index 5587ea99959..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Status Collection Request Builder. - */ -public interface IBaseDeviceConfigurationUserStatusCollectionRequestBuilder extends IRequestBuilder { - - IDeviceConfigurationUserStatusCollectionRequest buildRequest(); - - IDeviceConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationUserStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequest.java deleted file mode 100644 index d0dd3d7784d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Status Request. - */ -public interface IBaseDeviceConfigurationUserStatusRequest extends IHttpRequest { - - /** - * Gets the DeviceConfigurationUserStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceConfigurationUserStatus from the service - * - * @return the DeviceConfigurationUserStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationUserStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceConfigurationUserStatus with a source - * - * @param sourceDeviceConfigurationUserStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus, final ICallback callback); - - /** - * Patches this DeviceConfigurationUserStatus with a source - * - * @param sourceDeviceConfigurationUserStatus the source object with updates - * @return the updated DeviceConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationUserStatus patch(final DeviceConfigurationUserStatus sourceDeviceConfigurationUserStatus) throws ClientException; - - /** - * Posts a DeviceConfigurationUserStatus with a new object - * - * @param newDeviceConfigurationUserStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback); - - /** - * Posts a DeviceConfigurationUserStatus with a new object - * - * @param newDeviceConfigurationUserStatus the new object to create - * @return the created DeviceConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceConfigurationUserStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceConfigurationUserStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequestBuilder.java deleted file mode 100644 index 769c54f746b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceConfigurationUserStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationUserStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Configuration User Status Request Builder. - */ -public interface IBaseDeviceConfigurationUserStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceConfigurationUserStatusRequest instance - */ - IDeviceConfigurationUserStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceConfigurationUserStatusRequest instance - */ - IDeviceConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequest.java deleted file mode 100644 index 08efec1489f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Assign Request. - */ -public interface IBaseDeviceEnrollmentConfigurationAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceEnrollmentConfigurationAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceEnrollmentConfigurationAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceEnrollmentConfigurationAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequestBuilder.java deleted file mode 100644 index 8424e876edf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Assign Request Builder. - */ -public interface IBaseDeviceEnrollmentConfigurationAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDeviceEnrollmentConfigurationAssignRequest - * - * @return the IDeviceEnrollmentConfigurationAssignRequest instance - */ - IDeviceEnrollmentConfigurationAssignRequest buildRequest(); - - /** - * Creates the IDeviceEnrollmentConfigurationAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDeviceEnrollmentConfigurationAssignRequest instance - */ - IDeviceEnrollmentConfigurationAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionPage.java deleted file mode 100644 index 5a9e3863b0d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Collection Page. - */ -public interface IBaseDeviceEnrollmentConfigurationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequest.java deleted file mode 100644 index 018e0e22990..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Collection Request. - */ -public interface IBaseDeviceEnrollmentConfigurationCollectionRequest { - - void get(final ICallback callback); - - IDeviceEnrollmentConfigurationCollectionPage get() throws ClientException; - - void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback); - - DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceEnrollmentConfigurationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceEnrollmentConfigurationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceEnrollmentConfigurationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java deleted file mode 100644 index dec6f32a80d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Collection Request Builder. - */ -public interface IBaseDeviceEnrollmentConfigurationCollectionRequestBuilder extends IRequestBuilder { - - IDeviceEnrollmentConfigurationCollectionRequest buildRequest(); - - IDeviceEnrollmentConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceEnrollmentConfigurationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequest.java deleted file mode 100644 index a57dbeac533..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Request. - */ -public interface IBaseDeviceEnrollmentConfigurationRequest extends IHttpRequest { - - /** - * Gets the DeviceEnrollmentConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceEnrollmentConfiguration from the service - * - * @return the DeviceEnrollmentConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceEnrollmentConfiguration with a source - * - * @param sourceDeviceEnrollmentConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration, final ICallback callback); - - /** - * Patches this DeviceEnrollmentConfiguration with a source - * - * @param sourceDeviceEnrollmentConfiguration the source object with updates - * @return the updated DeviceEnrollmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentConfiguration patch(final DeviceEnrollmentConfiguration sourceDeviceEnrollmentConfiguration) throws ClientException; - - /** - * Posts a DeviceEnrollmentConfiguration with a new object - * - * @param newDeviceEnrollmentConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback); - - /** - * Posts a DeviceEnrollmentConfiguration with a new object - * - * @param newDeviceEnrollmentConfiguration the new object to create - * @return the created DeviceEnrollmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceEnrollmentConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceEnrollmentConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequestBuilder.java deleted file mode 100644 index 1791f2f64c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequest; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequestBuilder; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationAssignRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Request Builder. - */ -public interface IBaseDeviceEnrollmentConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceEnrollmentConfigurationRequest instance - */ - IDeviceEnrollmentConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentConfigurationRequest instance - */ - IDeviceEnrollmentConfigurationRequest buildRequest(final java.util.List requestOptions); - - IEnrollmentConfigurationAssignmentCollectionRequestBuilder assignments(); - - IEnrollmentConfigurationAssignmentRequestBuilder assignments(final String id); - IDeviceEnrollmentConfigurationSetPriorityRequestBuilder setPriority(final Integer priority); - IDeviceEnrollmentConfigurationAssignRequestBuilder assign(final java.util.List enrollmentConfigurationAssignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequest.java deleted file mode 100644 index 4c93fbae4a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Set Priority Request. - */ -public interface IBaseDeviceEnrollmentConfigurationSetPriorityRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceEnrollmentConfigurationSetPriorityRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceEnrollmentConfigurationSetPriorityRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceEnrollmentConfigurationSetPriorityRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java deleted file mode 100644 index 7de5cd0dff0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationSetPriorityRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Configuration Set Priority Request Builder. - */ -public interface IBaseDeviceEnrollmentConfigurationSetPriorityRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest - * - * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance - */ - IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest(); - - /** - * Creates the IDeviceEnrollmentConfigurationSetPriorityRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDeviceEnrollmentConfigurationSetPriorityRequest instance - */ - IDeviceEnrollmentConfigurationSetPriorityRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequest.java deleted file mode 100644 index 0b251ae162b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentLimitConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Limit Configuration Request. - */ -public interface IBaseDeviceEnrollmentLimitConfigurationRequest extends IHttpRequest { - - /** - * Gets the DeviceEnrollmentLimitConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceEnrollmentLimitConfiguration from the service - * - * @return the DeviceEnrollmentLimitConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentLimitConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceEnrollmentLimitConfiguration with a source - * - * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration, final ICallback callback); - - /** - * Patches this DeviceEnrollmentLimitConfiguration with a source - * - * @param sourceDeviceEnrollmentLimitConfiguration the source object with updates - * @return the updated DeviceEnrollmentLimitConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentLimitConfiguration patch(final DeviceEnrollmentLimitConfiguration sourceDeviceEnrollmentLimitConfiguration) throws ClientException; - - /** - * Posts a DeviceEnrollmentLimitConfiguration with a new object - * - * @param newDeviceEnrollmentLimitConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration, final ICallback callback); - - /** - * Posts a DeviceEnrollmentLimitConfiguration with a new object - * - * @param newDeviceEnrollmentLimitConfiguration the new object to create - * @return the created DeviceEnrollmentLimitConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentLimitConfiguration post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceEnrollmentLimitConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceEnrollmentLimitConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequestBuilder.java deleted file mode 100644 index 6667dc8e713..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentLimitConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentLimitConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Limit Configuration Request Builder. - */ -public interface IBaseDeviceEnrollmentLimitConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceEnrollmentLimitConfigurationRequest instance - */ - IDeviceEnrollmentLimitConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentLimitConfigurationRequest instance - */ - IDeviceEnrollmentLimitConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java deleted file mode 100644 index 060834f9192..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentPlatformRestrictionsConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Platform Restrictions Configuration Request. - */ -public interface IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest extends IHttpRequest { - - /** - * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceEnrollmentPlatformRestrictionsConfiguration from the service - * - * @return the DeviceEnrollmentPlatformRestrictionsConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentPlatformRestrictionsConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source - * - * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback); - - /** - * Patches this DeviceEnrollmentPlatformRestrictionsConfiguration with a source - * - * @param sourceDeviceEnrollmentPlatformRestrictionsConfiguration the source object with updates - * @return the updated DeviceEnrollmentPlatformRestrictionsConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentPlatformRestrictionsConfiguration patch(final DeviceEnrollmentPlatformRestrictionsConfiguration sourceDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException; - - /** - * Posts a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object - * - * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback); - - /** - * Posts a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object - * - * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the new object to create - * @return the created DeviceEnrollmentPlatformRestrictionsConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentPlatformRestrictionsConfiguration post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java deleted file mode 100644 index bffda8d30cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentPlatformRestrictionsConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Platform Restrictions Configuration Request Builder. - */ -public interface IBaseDeviceEnrollmentPlatformRestrictionsConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance - */ - IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentPlatformRestrictionsConfigurationRequest instance - */ - IDeviceEnrollmentPlatformRestrictionsConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java deleted file mode 100644 index fa8870dc119..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceEnrollmentWindowsHelloForBusinessConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Windows Hello For Business Configuration Request. - */ -public interface IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest extends IHttpRequest { - - /** - * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the service - * - * @return the DeviceEnrollmentWindowsHelloForBusinessConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentWindowsHelloForBusinessConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source - * - * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback); - - /** - * Patches this DeviceEnrollmentWindowsHelloForBusinessConfiguration with a source - * - * @param sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration the source object with updates - * @return the updated DeviceEnrollmentWindowsHelloForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentWindowsHelloForBusinessConfiguration patch(final DeviceEnrollmentWindowsHelloForBusinessConfiguration sourceDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException; - - /** - * Posts a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object - * - * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback); - - /** - * Posts a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object - * - * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the new object to create - * @return the created DeviceEnrollmentWindowsHelloForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceEnrollmentWindowsHelloForBusinessConfiguration post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java deleted file mode 100644 index 81168e2572a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Enrollment Windows Hello For Business Configuration Request Builder. - */ -public interface IBaseDeviceEnrollmentWindowsHelloForBusinessConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance - */ - IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest instance - */ - IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionPage.java deleted file mode 100644 index eafdf290c63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Install State Collection Page. - */ -public interface IBaseDeviceInstallStateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequest.java deleted file mode 100644 index 68d73d05e57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Install State Collection Request. - */ -public interface IBaseDeviceInstallStateCollectionRequest { - - void get(final ICallback callback); - - IDeviceInstallStateCollectionPage get() throws ClientException; - - void post(final DeviceInstallState newDeviceInstallState, final ICallback callback); - - DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceInstallStateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceInstallStateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceInstallStateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequestBuilder.java deleted file mode 100644 index e88ef06e555..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Install State Collection Request Builder. - */ -public interface IBaseDeviceInstallStateCollectionRequestBuilder extends IRequestBuilder { - - IDeviceInstallStateCollectionRequest buildRequest(); - - IDeviceInstallStateCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceInstallStateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequest.java deleted file mode 100644 index 9773469fad2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceInstallState; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Install State Request. - */ -public interface IBaseDeviceInstallStateRequest extends IHttpRequest { - - /** - * Gets the DeviceInstallState from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceInstallState from the service - * - * @return the DeviceInstallState from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceInstallState get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceInstallState with a source - * - * @param sourceDeviceInstallState the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceInstallState sourceDeviceInstallState, final ICallback callback); - - /** - * Patches this DeviceInstallState with a source - * - * @param sourceDeviceInstallState the source object with updates - * @return the updated DeviceInstallState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceInstallState patch(final DeviceInstallState sourceDeviceInstallState) throws ClientException; - - /** - * Posts a DeviceInstallState with a new object - * - * @param newDeviceInstallState the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceInstallState newDeviceInstallState, final ICallback callback); - - /** - * Posts a DeviceInstallState with a new object - * - * @param newDeviceInstallState the new object to create - * @return the created DeviceInstallState - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceInstallStateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceInstallStateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequestBuilder.java deleted file mode 100644 index eff2f0b4dec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceInstallStateRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Install State Request Builder. - */ -public interface IBaseDeviceInstallStateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceInstallStateRequest instance - */ - IDeviceInstallStateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceInstallStateRequest instance - */ - IDeviceInstallStateRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionPage.java deleted file mode 100644 index 773a284d1bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Collection Page. - */ -public interface IBaseDeviceManagementExchangeConnectorCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequest.java deleted file mode 100644 index d4fe3665b4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Collection Request. - */ -public interface IBaseDeviceManagementExchangeConnectorCollectionRequest { - - void get(final ICallback callback); - - IDeviceManagementExchangeConnectorCollectionPage get() throws ClientException; - - void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback); - - DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceManagementExchangeConnectorCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceManagementExchangeConnectorCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceManagementExchangeConnectorCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java deleted file mode 100644 index fcea9d8e01d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Collection Request Builder. - */ -public interface IBaseDeviceManagementExchangeConnectorCollectionRequestBuilder extends IRequestBuilder { - - IDeviceManagementExchangeConnectorCollectionRequest buildRequest(); - - IDeviceManagementExchangeConnectorCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceManagementExchangeConnectorRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequest.java deleted file mode 100644 index 962267b682c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Request. - */ -public interface IBaseDeviceManagementExchangeConnectorRequest extends IHttpRequest { - - /** - * Gets the DeviceManagementExchangeConnector from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceManagementExchangeConnector from the service - * - * @return the DeviceManagementExchangeConnector from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementExchangeConnector get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceManagementExchangeConnector with a source - * - * @param sourceDeviceManagementExchangeConnector the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector, final ICallback callback); - - /** - * Patches this DeviceManagementExchangeConnector with a source - * - * @param sourceDeviceManagementExchangeConnector the source object with updates - * @return the updated DeviceManagementExchangeConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementExchangeConnector patch(final DeviceManagementExchangeConnector sourceDeviceManagementExchangeConnector) throws ClientException; - - /** - * Posts a DeviceManagementExchangeConnector with a new object - * - * @param newDeviceManagementExchangeConnector the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback); - - /** - * Posts a DeviceManagementExchangeConnector with a new object - * - * @param newDeviceManagementExchangeConnector the new object to create - * @return the created DeviceManagementExchangeConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceManagementExchangeConnectorRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceManagementExchangeConnectorRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequestBuilder.java deleted file mode 100644 index bee0d0fc77c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequest; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorSyncType; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Request Builder. - */ -public interface IBaseDeviceManagementExchangeConnectorRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceManagementExchangeConnectorRequest instance - */ - IDeviceManagementExchangeConnectorRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceManagementExchangeConnectorRequest instance - */ - IDeviceManagementExchangeConnectorRequest buildRequest(final java.util.List requestOptions); - IDeviceManagementExchangeConnectorSyncRequestBuilder sync(final DeviceManagementExchangeConnectorSyncType syncType); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequest.java deleted file mode 100644 index 25af29bb8f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Sync Request. - */ -public interface IBaseDeviceManagementExchangeConnectorSyncRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceManagementExchangeConnectorSyncRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceManagementExchangeConnectorSyncRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceManagementExchangeConnectorSyncRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequestBuilder.java deleted file mode 100644 index 9abfa558ec3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementExchangeConnectorSyncRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorSyncRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Exchange Connector Sync Request Builder. - */ -public interface IBaseDeviceManagementExchangeConnectorSyncRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDeviceManagementExchangeConnectorSyncRequest - * - * @return the IDeviceManagementExchangeConnectorSyncRequest instance - */ - IDeviceManagementExchangeConnectorSyncRequest buildRequest(); - - /** - * Creates the IDeviceManagementExchangeConnectorSyncRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDeviceManagementExchangeConnectorSyncRequest instance - */ - IDeviceManagementExchangeConnectorSyncRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionPage.java deleted file mode 100644 index 68864126fb9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Get Effective Permissions Collection Page. - */ -public interface IBaseDeviceManagementGetEffectivePermissionsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequest.java deleted file mode 100644 index a28eb4017c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Get Effective Permissions Collection Request. - */ -public interface IBaseDeviceManagementGetEffectivePermissionsCollectionRequest { - - void get(final ICallback callback); - - IDeviceManagementGetEffectivePermissionsCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceManagementGetEffectivePermissionsCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceManagementGetEffectivePermissionsCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceManagementGetEffectivePermissionsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java deleted file mode 100644 index 9671d6a8d8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Get Effective Permissions Collection Request Builder. - */ -public interface IBaseDeviceManagementGetEffectivePermissionsCollectionRequestBuilder extends IRequestBuilder { - - IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest(); - - IDeviceManagementGetEffectivePermissionsCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionPage.java deleted file mode 100644 index 99f48ea52c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Partner Collection Page. - */ -public interface IBaseDeviceManagementPartnerCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequest.java deleted file mode 100644 index 18ecd6fa600..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Partner Collection Request. - */ -public interface IBaseDeviceManagementPartnerCollectionRequest { - - void get(final ICallback callback); - - IDeviceManagementPartnerCollectionPage get() throws ClientException; - - void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback); - - DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceManagementPartnerCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceManagementPartnerCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceManagementPartnerCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequestBuilder.java deleted file mode 100644 index 26bb9d5a188..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Partner Collection Request Builder. - */ -public interface IBaseDeviceManagementPartnerCollectionRequestBuilder extends IRequestBuilder { - - IDeviceManagementPartnerCollectionRequest buildRequest(); - - IDeviceManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceManagementPartnerRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequest.java deleted file mode 100644 index 2aef013680f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Partner Request. - */ -public interface IBaseDeviceManagementPartnerRequest extends IHttpRequest { - - /** - * Gets the DeviceManagementPartner from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceManagementPartner from the service - * - * @return the DeviceManagementPartner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementPartner get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceManagementPartner with a source - * - * @param sourceDeviceManagementPartner the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceManagementPartner sourceDeviceManagementPartner, final ICallback callback); - - /** - * Patches this DeviceManagementPartner with a source - * - * @param sourceDeviceManagementPartner the source object with updates - * @return the updated DeviceManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementPartner patch(final DeviceManagementPartner sourceDeviceManagementPartner) throws ClientException; - - /** - * Posts a DeviceManagementPartner with a new object - * - * @param newDeviceManagementPartner the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback); - - /** - * Posts a DeviceManagementPartner with a new object - * - * @param newDeviceManagementPartner the new object to create - * @return the created DeviceManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceManagementPartnerRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceManagementPartnerRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequestBuilder.java deleted file mode 100644 index fa0c254a0e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementPartnerRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Partner Request Builder. - */ -public interface IBaseDeviceManagementPartnerRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceManagementPartnerRequest instance - */ - IDeviceManagementPartnerRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceManagementPartnerRequest instance - */ - IDeviceManagementPartnerRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequest.java deleted file mode 100644 index c8211237489..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagement; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Request. - */ -public interface IBaseDeviceManagementRequest extends IHttpRequest { - - /** - * Gets the DeviceManagement from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceManagement from the service - * - * @return the DeviceManagement from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagement get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceManagement with a source - * - * @param sourceDeviceManagement the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceManagement sourceDeviceManagement, final ICallback callback); - - /** - * Patches this DeviceManagement with a source - * - * @param sourceDeviceManagement the source object with updates - * @return the updated DeviceManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagement patch(final DeviceManagement sourceDeviceManagement) throws ClientException; - - /** - * Posts a DeviceManagement with a new object - * - * @param newDeviceManagement the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceManagement newDeviceManagement, final ICallback callback); - - /** - * Posts a DeviceManagement with a new object - * - * @param newDeviceManagement the new object to create - * @return the created DeviceManagement - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagement post(final DeviceManagement newDeviceManagement) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceManagementRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceManagementRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequestBuilder.java deleted file mode 100644 index 16f85c1088a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementRequestBuilder.java +++ /dev/null @@ -1,212 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementRequest; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequestBuilder; -import com.microsoft.graph.requests.extensions.IApplePushNotificationCertificateRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDetectedAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDetectedAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicySettingStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationDeviceStateSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementExchangeConnectorRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceEnrollmentConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementPartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.IRoleDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IRoleDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceAndAppManagementRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceOperationRequestBuilder; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Request Builder. - */ -public interface IBaseDeviceManagementRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceManagementRequest instance - */ - IDeviceManagementRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceManagementRequest instance - */ - IDeviceManagementRequest buildRequest(final java.util.List requestOptions); - - ITermsAndConditionsCollectionRequestBuilder termsAndConditions(); - - ITermsAndConditionsRequestBuilder termsAndConditions(final String id); - - /** - * Gets the request builder for ApplePushNotificationCertificate - * - * @return the IApplePushNotificationCertificateRequestBuilder instance - */ - IApplePushNotificationCertificateRequestBuilder applePushNotificationCertificate(); - - /** - * Gets the request builder for ManagedDeviceOverview - * - * @return the IManagedDeviceOverviewWithReferenceRequestBuilder instance - */ - IManagedDeviceOverviewWithReferenceRequestBuilder managedDeviceOverview(); - - IDetectedAppCollectionRequestBuilder detectedApps(); - - IDetectedAppRequestBuilder detectedApps(final String id); - - IManagedDeviceCollectionRequestBuilder managedDevices(); - - IManagedDeviceRequestBuilder managedDevices(final String id); - - IDeviceConfigurationCollectionRequestBuilder deviceConfigurations(); - - IDeviceConfigurationRequestBuilder deviceConfigurations(final String id); - - IDeviceCompliancePolicyCollectionRequestBuilder deviceCompliancePolicies(); - - IDeviceCompliancePolicyRequestBuilder deviceCompliancePolicies(final String id); - - /** - * Gets the request builder for SoftwareUpdateStatusSummary - * - * @return the ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder instance - */ - ISoftwareUpdateStatusSummaryWithReferenceRequestBuilder softwareUpdateStatusSummary(); - - /** - * Gets the request builder for DeviceCompliancePolicyDeviceStateSummary - * - * @return the IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder instance - */ - IDeviceCompliancePolicyDeviceStateSummaryRequestBuilder deviceCompliancePolicyDeviceStateSummary(); - - IDeviceCompliancePolicySettingStateSummaryCollectionRequestBuilder deviceCompliancePolicySettingStateSummaries(); - - IDeviceCompliancePolicySettingStateSummaryRequestBuilder deviceCompliancePolicySettingStateSummaries(final String id); - - /** - * Gets the request builder for DeviceConfigurationDeviceStateSummary - * - * @return the IDeviceConfigurationDeviceStateSummaryRequestBuilder instance - */ - IDeviceConfigurationDeviceStateSummaryRequestBuilder deviceConfigurationDeviceStateSummaries(); - - IIosUpdateDeviceStatusCollectionRequestBuilder iosUpdateStatuses(); - - IIosUpdateDeviceStatusRequestBuilder iosUpdateStatuses(final String id); - - IDeviceCategoryCollectionRequestBuilder deviceCategories(); - - IDeviceCategoryRequestBuilder deviceCategories(final String id); - - IDeviceManagementExchangeConnectorCollectionRequestBuilder exchangeConnectors(); - - IDeviceManagementExchangeConnectorRequestBuilder exchangeConnectors(final String id); - - IDeviceEnrollmentConfigurationCollectionRequestBuilder deviceEnrollmentConfigurations(); - - IDeviceEnrollmentConfigurationRequestBuilder deviceEnrollmentConfigurations(final String id); - - /** - * Gets the request builder for OnPremisesConditionalAccessSettings - * - * @return the IOnPremisesConditionalAccessSettingsRequestBuilder instance - */ - IOnPremisesConditionalAccessSettingsRequestBuilder conditionalAccessSettings(); - - IMobileThreatDefenseConnectorCollectionRequestBuilder mobileThreatDefenseConnectors(); - - IMobileThreatDefenseConnectorRequestBuilder mobileThreatDefenseConnectors(final String id); - - IDeviceManagementPartnerCollectionRequestBuilder deviceManagementPartners(); - - IDeviceManagementPartnerRequestBuilder deviceManagementPartners(final String id); - - INotificationMessageTemplateCollectionRequestBuilder notificationMessageTemplates(); - - INotificationMessageTemplateRequestBuilder notificationMessageTemplates(final String id); - - IRoleDefinitionCollectionRequestBuilder roleDefinitions(); - - IRoleDefinitionRequestBuilder roleDefinitions(final String id); - - IDeviceAndAppManagementRoleAssignmentCollectionRequestBuilder roleAssignments(); - - IDeviceAndAppManagementRoleAssignmentRequestBuilder roleAssignments(final String id); - - IResourceOperationCollectionRequestBuilder resourceOperations(); - - IResourceOperationRequestBuilder resourceOperations(final String id); - - ITelecomExpenseManagementPartnerCollectionRequestBuilder telecomExpenseManagementPartners(); - - ITelecomExpenseManagementPartnerRequestBuilder telecomExpenseManagementPartners(final String id); - - IRemoteAssistancePartnerCollectionRequestBuilder remoteAssistancePartners(); - - IRemoteAssistancePartnerRequestBuilder remoteAssistancePartners(final String id); - - IWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder windowsInformationProtectionAppLearningSummaries(); - - IWindowsInformationProtectionAppLearningSummaryRequestBuilder windowsInformationProtectionAppLearningSummaries(final String id); - - IWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder windowsInformationProtectionNetworkLearningSummaries(); - - IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder windowsInformationProtectionNetworkLearningSummaries(final String id); - - IDeviceManagementTroubleshootingEventCollectionRequestBuilder troubleshootingEvents(); - - IDeviceManagementTroubleshootingEventRequestBuilder troubleshootingEvents(final String id); - IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder verifyWindowsEnrollmentAutoDiscovery(final String domainName); - - IDeviceManagementGetEffectivePermissionsCollectionRequestBuilder getEffectivePermissions(final String scope); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionPage.java deleted file mode 100644 index 5ac412f9fa3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Troubleshooting Event Collection Page. - */ -public interface IBaseDeviceManagementTroubleshootingEventCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequest.java deleted file mode 100644 index 07e74112539..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Troubleshooting Event Collection Request. - */ -public interface IBaseDeviceManagementTroubleshootingEventCollectionRequest { - - void get(final ICallback callback); - - IDeviceManagementTroubleshootingEventCollectionPage get() throws ClientException; - - void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback); - - DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceManagementTroubleshootingEventCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceManagementTroubleshootingEventCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDeviceManagementTroubleshootingEventCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java deleted file mode 100644 index d7c685fc5a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Troubleshooting Event Collection Request Builder. - */ -public interface IBaseDeviceManagementTroubleshootingEventCollectionRequestBuilder extends IRequestBuilder { - - IDeviceManagementTroubleshootingEventCollectionRequest buildRequest(); - - IDeviceManagementTroubleshootingEventCollectionRequest buildRequest(final java.util.List requestOptions); - - IDeviceManagementTroubleshootingEventRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequest.java deleted file mode 100644 index 5d7effe0c3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Troubleshooting Event Request. - */ -public interface IBaseDeviceManagementTroubleshootingEventRequest extends IHttpRequest { - - /** - * Gets the DeviceManagementTroubleshootingEvent from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DeviceManagementTroubleshootingEvent from the service - * - * @return the DeviceManagementTroubleshootingEvent from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementTroubleshootingEvent get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DeviceManagementTroubleshootingEvent with a source - * - * @param sourceDeviceManagementTroubleshootingEvent the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent, final ICallback callback); - - /** - * Patches this DeviceManagementTroubleshootingEvent with a source - * - * @param sourceDeviceManagementTroubleshootingEvent the source object with updates - * @return the updated DeviceManagementTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementTroubleshootingEvent patch(final DeviceManagementTroubleshootingEvent sourceDeviceManagementTroubleshootingEvent) throws ClientException; - - /** - * Posts a DeviceManagementTroubleshootingEvent with a new object - * - * @param newDeviceManagementTroubleshootingEvent the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback); - - /** - * Posts a DeviceManagementTroubleshootingEvent with a new object - * - * @param newDeviceManagementTroubleshootingEvent the new object to create - * @return the created DeviceManagementTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceManagementTroubleshootingEventRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceManagementTroubleshootingEventRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequestBuilder.java deleted file mode 100644 index 2f6a1e9888b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementTroubleshootingEventRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Troubleshooting Event Request Builder. - */ -public interface IBaseDeviceManagementTroubleshootingEventRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceManagementTroubleshootingEventRequest instance - */ - IDeviceManagementTroubleshootingEventRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceManagementTroubleshootingEventRequest instance - */ - IDeviceManagementTroubleshootingEventRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java deleted file mode 100644 index 536f34897e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Verify Windows Enrollment Auto Discovery Request. - */ -public interface IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest { - - /** - * Gets the Boolean - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Boolean - * - * @return the Boolean - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Boolean get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java deleted file mode 100644 index f455f27d2de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Management Verify Windows Enrollment Auto Discovery Request Builder. - */ -public interface IBaseDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest - * - * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance - */ - IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest(); - - /** - * Creates the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest instance - */ - IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequest.java deleted file mode 100644 index 727f8f94a7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Device; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Request. - */ -public interface IBaseDeviceRequest extends IHttpRequest { - - /** - * Gets the Device from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Device from the service - * - * @return the Device from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Device get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Device with a source - * - * @param sourceDevice the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Device sourceDevice, final ICallback callback); - - /** - * Patches this Device with a source - * - * @param sourceDevice the source object with updates - * @return the updated Device - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Device patch(final Device sourceDevice) throws ClientException; - - /** - * Posts a Device with a new object - * - * @param newDevice the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Device newDevice, final ICallback callback); - - /** - * Posts a Device with a new object - * - * @param newDevice the new object to create - * @return the created Device - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Device post(final Device newDevice) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDeviceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDeviceRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequestBuilder.java deleted file mode 100644 index 467f2872690..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDeviceRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDeviceRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Device Request Builder. - */ -public interface IBaseDeviceRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDeviceRequest instance - */ - IDeviceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDeviceRequest instance - */ - IDeviceRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf(); - - IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder registeredOwners(); - - IDirectoryObjectWithReferenceRequestBuilder registeredOwners(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder registeredUsers(); - - IDirectoryObjectWithReferenceRequestBuilder registeredUsers(final String id); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionPage.java deleted file mode 100644 index 7ea18bcd28b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Check Member Groups Collection Page. - */ -public interface IBaseDirectoryObjectCheckMemberGroupsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequest.java deleted file mode 100644 index e4904a3e75c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Check Member Groups Collection Request. - */ -public interface IBaseDirectoryObjectCheckMemberGroupsCollectionRequest { - - void post(final ICallback callback); - - IDirectoryObjectCheckMemberGroupsCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryObjectCheckMemberGroupsCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryObjectCheckMemberGroupsCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryObjectCheckMemberGroupsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java deleted file mode 100644 index 062b0700349..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Check Member Groups Collection Request Builder. - */ -public interface IBaseDirectoryObjectCheckMemberGroupsCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest(); - - IDirectoryObjectCheckMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionPage.java deleted file mode 100644 index b66da33ef5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection Page. - */ -public interface IBaseDirectoryObjectCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequest.java deleted file mode 100644 index d25110b8e70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection Reference Request. - */ -public interface IBaseDirectoryObjectCollectionReferenceRequest { - - void post(final DirectoryObject newDirectoryObject, final ICallback callback); - - DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; - - IDirectoryObjectCollectionReferenceRequest select(final String value); - - IDirectoryObjectCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequestBuilder.java deleted file mode 100644 index aba611b7172..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection Reference Request Builder. - */ -public interface IBaseDirectoryObjectCollectionReferenceRequestBuilder extends IRequestBuilder { - - IDirectoryObjectCollectionReferenceRequest buildRequest(); - - IDirectoryObjectCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequest.java deleted file mode 100644 index d5ff24e8f42..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection Request. - */ -public interface IBaseDirectoryObjectCollectionRequest { - - void get(final ICallback callback); - - IDirectoryObjectCollectionPage get() throws ClientException; - - void post(final DirectoryObject newDirectoryObject, final ICallback callback); - - DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryObjectCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryObjectCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryObjectCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequestBuilder.java deleted file mode 100644 index 040c3e305e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection Request Builder. - */ -public interface IBaseDirectoryObjectCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryObjectCollectionRequest buildRequest(); - - IDirectoryObjectCollectionRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectRequestBuilder byId(final String id); - - - IDirectoryObjectGetByIdsCollectionRequestBuilder getByIds(final java.util.List ids, final java.util.List types); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesPage.java deleted file mode 100644 index 76871c0b802..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection With References Page. - */ -public interface IBaseDirectoryObjectCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequest.java deleted file mode 100644 index ff5e4c0baca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection With References Request. - */ -public interface IBaseDirectoryObjectCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IDirectoryObjectCollectionWithReferencesPage get() throws ClientException; - - IDirectoryObjectCollectionWithReferencesRequest expand(final String value); - - IDirectoryObjectCollectionWithReferencesRequest select(final String value); - - IDirectoryObjectCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 74dde836d5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Collection With References Request Builder. - */ -public interface IBaseDirectoryObjectCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IDirectoryObjectCollectionWithReferencesRequest buildRequest(); - - IDirectoryObjectCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectWithReferenceRequestBuilder byId(final String id); - - IDirectoryObjectCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionPage.java deleted file mode 100644 index fcbe6e6b579..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get By Ids Collection Page. - */ -public interface IBaseDirectoryObjectGetByIdsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequest.java deleted file mode 100644 index e4349712b27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get By Ids Collection Request. - */ -public interface IBaseDirectoryObjectGetByIdsCollectionRequest { - - void post(final ICallback callback); - - IDirectoryObjectGetByIdsCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryObjectGetByIdsCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryObjectGetByIdsCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryObjectGetByIdsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequestBuilder.java deleted file mode 100644 index 78630dbeca9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetByIdsCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get By Ids Collection Request Builder. - */ -public interface IBaseDirectoryObjectGetByIdsCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryObjectGetByIdsCollectionRequest buildRequest(); - - IDirectoryObjectGetByIdsCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionPage.java deleted file mode 100644 index a2c6cdf09c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get Member Groups Collection Page. - */ -public interface IBaseDirectoryObjectGetMemberGroupsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequest.java deleted file mode 100644 index eaf7fa51afd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get Member Groups Collection Request. - */ -public interface IBaseDirectoryObjectGetMemberGroupsCollectionRequest { - - void post(final ICallback callback); - - IDirectoryObjectGetMemberGroupsCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryObjectGetMemberGroupsCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryObjectGetMemberGroupsCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryObjectGetMemberGroupsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java deleted file mode 100644 index 415ebf568ff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get Member Groups Collection Request Builder. - */ -public interface IBaseDirectoryObjectGetMemberGroupsCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest(); - - IDirectoryObjectGetMemberGroupsCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionPage.java deleted file mode 100644 index 31d077e2825..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get Member Objects Collection Page. - */ -public interface IBaseDirectoryObjectGetMemberObjectsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequest.java deleted file mode 100644 index 2bd1b444ce8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get Member Objects Collection Request. - */ -public interface IBaseDirectoryObjectGetMemberObjectsCollectionRequest { - - void post(final ICallback callback); - - IDirectoryObjectGetMemberObjectsCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryObjectGetMemberObjectsCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryObjectGetMemberObjectsCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryObjectGetMemberObjectsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java deleted file mode 100644 index 470e7e5a634..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Get Member Objects Collection Request Builder. - */ -public interface IBaseDirectoryObjectGetMemberObjectsCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest(); - - IDirectoryObjectGetMemberObjectsCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequest.java deleted file mode 100644 index 92c8a693c3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Reference Request. - */ -public interface IBaseDirectoryObjectReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - DirectoryObject delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDirectoryObjectReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDirectoryObjectReferenceRequest expand(final String value); - - /** - * Puts the DirectoryObject - * - * @param srcDirectoryObject the DirectoryObject to PUT - * @param callback the callback to be called after success or failure - */ - void put(DirectoryObject srcDirectoryObject, final ICallback callback); - - /** - * Puts the DirectoryObject - * - * @param srcDirectoryObject the DirectoryObject to PUT - * @return the DirectoryObject - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - DirectoryObject put(DirectoryObject srcDirectoryObject) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequestBuilder.java deleted file mode 100644 index 1fbd89b0735..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Reference Request Builder. - */ -public interface IBaseDirectoryObjectReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IDirectoryObjectReferenceRequest instance - */ - IDirectoryObjectReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryObjectReferenceRequest instance - */ - IDirectoryObjectReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequest.java deleted file mode 100644 index 256a7fc8758..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryObject; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Request. - */ -public interface IBaseDirectoryObjectRequest extends IHttpRequest { - - /** - * Gets the DirectoryObject from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DirectoryObject from the service - * - * @return the DirectoryObject from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryObject get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DirectoryObject with a source - * - * @param sourceDirectoryObject the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback); - - /** - * Patches this DirectoryObject with a source - * - * @param sourceDirectoryObject the source object with updates - * @return the updated DirectoryObject - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException; - - /** - * Posts a DirectoryObject with a new object - * - * @param newDirectoryObject the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DirectoryObject newDirectoryObject, final ICallback callback); - - /** - * Posts a DirectoryObject with a new object - * - * @param newDirectoryObject the new object to create - * @return the created DirectoryObject - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDirectoryObjectRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDirectoryObjectRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequestBuilder.java deleted file mode 100644 index 10f21cdaa77..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberGroupsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectGetMemberObjectsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Request Builder. - */ -public interface IBaseDirectoryObjectRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDirectoryObjectRequest instance - */ - IDirectoryObjectRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryObjectRequest instance - */ - IDirectoryObjectRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectCheckMemberGroupsCollectionRequestBuilder checkMemberGroups(final java.util.List groupIds); - - IDirectoryObjectGetMemberGroupsCollectionRequestBuilder getMemberGroups(final Boolean securityEnabledOnly); - - IDirectoryObjectGetMemberObjectsCollectionRequestBuilder getMemberObjects(final Boolean securityEnabledOnly); - IDirectoryObjectRestoreRequestBuilder restore(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequest.java deleted file mode 100644 index 0ccb57ca2df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Restore Request. - */ -public interface IBaseDirectoryObjectRestoreRequest { - - /** - * Creates the DirectoryObjectRestore - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the DirectoryObjectRestore - * - * @return the DirectoryObject - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - DirectoryObject post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryObjectRestoreRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryObjectRestoreRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequestBuilder.java deleted file mode 100644 index 7a792750f7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectRestoreRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRestoreRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object Restore Request Builder. - */ -public interface IBaseDirectoryObjectRestoreRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDirectoryObjectRestoreRequest - * - * @return the IDirectoryObjectRestoreRequest instance - */ - IDirectoryObjectRestoreRequest buildRequest(); - - /** - * Creates the IDirectoryObjectRestoreRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDirectoryObjectRestoreRequest instance - */ - IDirectoryObjectRestoreRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequest.java deleted file mode 100644 index f8694822ebc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object With Reference Request. - */ -public interface IBaseDirectoryObjectWithReferenceRequest extends IHttpRequest { - - void post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload, final ICallback callback); - - DirectoryObject post(final DirectoryObject newDirectoryObject, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - DirectoryObject get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final DirectoryObject sourceDirectoryObject, final ICallback callback); - - DirectoryObject patch(final DirectoryObject sourceDirectoryObject) throws ClientException; - - IBaseDirectoryObjectWithReferenceRequest select(final String value); - - IBaseDirectoryObjectWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequestBuilder.java deleted file mode 100644 index b8ed6dd4eb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryObjectWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Object With Reference Request Builder. - */ -public interface IBaseDirectoryObjectWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IDirectoryObjectWithReferenceRequest instance - */ - IDirectoryObjectWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryObjectWithReferenceRequest instance - */ - IDirectoryObjectWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequest.java deleted file mode 100644 index 71e5362aeb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Directory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Request. - */ -public interface IBaseDirectoryRequest extends IHttpRequest { - - /** - * Gets the Directory from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Directory from the service - * - * @return the Directory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Directory get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Directory with a source - * - * @param sourceDirectory the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Directory sourceDirectory, final ICallback callback); - - /** - * Patches this Directory with a source - * - * @param sourceDirectory the source object with updates - * @return the updated Directory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Directory patch(final Directory sourceDirectory) throws ClientException; - - /** - * Posts a Directory with a new object - * - * @param newDirectory the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Directory newDirectory, final ICallback callback); - - /** - * Posts a Directory with a new object - * - * @param newDirectory the new object to create - * @return the created Directory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Directory post(final Directory newDirectory) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDirectoryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDirectoryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequestBuilder.java deleted file mode 100644 index c0db1ed6dba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Request Builder. - */ -public interface IBaseDirectoryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDirectoryRequest instance - */ - IDirectoryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryRequest instance - */ - IDirectoryRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectCollectionRequestBuilder deletedItems(); - - IDirectoryObjectRequestBuilder deletedItems(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionPage.java deleted file mode 100644 index 7f1610a0700..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Collection Page. - */ -public interface IBaseDirectoryRoleCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequest.java deleted file mode 100644 index 5bba5268260..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Collection Request. - */ -public interface IBaseDirectoryRoleCollectionRequest { - - void get(final ICallback callback); - - IDirectoryRoleCollectionPage get() throws ClientException; - - void post(final DirectoryRole newDirectoryRole, final ICallback callback); - - DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryRoleCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryRoleCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryRoleCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequestBuilder.java deleted file mode 100644 index d3623e49012..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Collection Request Builder. - */ -public interface IBaseDirectoryRoleCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryRoleCollectionRequest buildRequest(); - - IDirectoryRoleCollectionRequest buildRequest(final java.util.List requestOptions); - - IDirectoryRoleRequestBuilder byId(final String id); - - - IDirectoryRoleDeltaCollectionRequestBuilder delta(); - - IDirectoryRoleDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionPage.java deleted file mode 100644 index fb5d3f78a37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Delta Collection Page. - */ -public interface IBaseDirectoryRoleDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequest.java deleted file mode 100644 index ededb12cef5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Delta Collection Request. - */ -public interface IBaseDirectoryRoleDeltaCollectionRequest { - - void get(final ICallback callback); - - IDirectoryRoleDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryRoleDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryRoleDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryRoleDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequestBuilder.java deleted file mode 100644 index ea645e59cc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Delta Collection Request Builder. - */ -public interface IBaseDirectoryRoleDeltaCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryRoleDeltaCollectionRequest buildRequest(); - - IDirectoryRoleDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequest.java deleted file mode 100644 index c069eab8d1e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryRole; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Request. - */ -public interface IBaseDirectoryRoleRequest extends IHttpRequest { - - /** - * Gets the DirectoryRole from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DirectoryRole from the service - * - * @return the DirectoryRole from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryRole get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DirectoryRole with a source - * - * @param sourceDirectoryRole the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DirectoryRole sourceDirectoryRole, final ICallback callback); - - /** - * Patches this DirectoryRole with a source - * - * @param sourceDirectoryRole the source object with updates - * @return the updated DirectoryRole - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryRole patch(final DirectoryRole sourceDirectoryRole) throws ClientException; - - /** - * Posts a DirectoryRole with a new object - * - * @param newDirectoryRole the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DirectoryRole newDirectoryRole, final ICallback callback); - - /** - * Posts a DirectoryRole with a new object - * - * @param newDirectoryRole the new object to create - * @return the created DirectoryRole - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDirectoryRoleRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDirectoryRoleRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequestBuilder.java deleted file mode 100644 index 4055eda8b24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRoleRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Request Builder. - */ -public interface IBaseDirectoryRoleRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDirectoryRoleRequest instance - */ - IDirectoryRoleRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryRoleRequest instance - */ - IDirectoryRoleRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectCollectionWithReferencesRequestBuilder members(); - - IDirectoryObjectWithReferenceRequestBuilder members(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionPage.java deleted file mode 100644 index d527b75ba2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Template Collection Page. - */ -public interface IBaseDirectoryRoleTemplateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequest.java deleted file mode 100644 index c5ab1a0a9c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Template Collection Request. - */ -public interface IBaseDirectoryRoleTemplateCollectionRequest { - - void get(final ICallback callback); - - IDirectoryRoleTemplateCollectionPage get() throws ClientException; - - void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback); - - DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDirectoryRoleTemplateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDirectoryRoleTemplateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDirectoryRoleTemplateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequestBuilder.java deleted file mode 100644 index e7377b4d92e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Template Collection Request Builder. - */ -public interface IBaseDirectoryRoleTemplateCollectionRequestBuilder extends IRequestBuilder { - - IDirectoryRoleTemplateCollectionRequest buildRequest(); - - IDirectoryRoleTemplateCollectionRequest buildRequest(final java.util.List requestOptions); - - IDirectoryRoleTemplateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequest.java deleted file mode 100644 index fccbd4c36fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DirectoryRoleTemplate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Template Request. - */ -public interface IBaseDirectoryRoleTemplateRequest extends IHttpRequest { - - /** - * Gets the DirectoryRoleTemplate from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DirectoryRoleTemplate from the service - * - * @return the DirectoryRoleTemplate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryRoleTemplate get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DirectoryRoleTemplate with a source - * - * @param sourceDirectoryRoleTemplate the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate, final ICallback callback); - - /** - * Patches this DirectoryRoleTemplate with a source - * - * @param sourceDirectoryRoleTemplate the source object with updates - * @return the updated DirectoryRoleTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryRoleTemplate patch(final DirectoryRoleTemplate sourceDirectoryRoleTemplate) throws ClientException; - - /** - * Posts a DirectoryRoleTemplate with a new object - * - * @param newDirectoryRoleTemplate the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback); - - /** - * Posts a DirectoryRoleTemplate with a new object - * - * @param newDirectoryRoleTemplate the new object to create - * @return the created DirectoryRoleTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDirectoryRoleTemplateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDirectoryRoleTemplateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequestBuilder.java deleted file mode 100644 index 9bf2abd07cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDirectoryRoleTemplateRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Directory Role Template Request Builder. - */ -public interface IBaseDirectoryRoleTemplateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDirectoryRoleTemplateRequest instance - */ - IDirectoryRoleTemplateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDirectoryRoleTemplateRequest instance - */ - IDirectoryRoleTemplateRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionPage.java deleted file mode 100644 index b86467a2c75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Collection Page. - */ -public interface IBaseDomainCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequest.java deleted file mode 100644 index d68d6c45690..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Collection Request. - */ -public interface IBaseDomainCollectionRequest { - - void get(final ICallback callback); - - IDomainCollectionPage get() throws ClientException; - - void post(final Domain newDomain, final ICallback callback); - - Domain post(final Domain newDomain) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDomainCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDomainCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDomainCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequestBuilder.java deleted file mode 100644 index 229bc1005f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Collection Request Builder. - */ -public interface IBaseDomainCollectionRequestBuilder extends IRequestBuilder { - - IDomainCollectionRequest buildRequest(); - - IDomainCollectionRequest buildRequest(final java.util.List requestOptions); - - IDomainRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequest.java deleted file mode 100644 index ab1fd82d0e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsCnameRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Cname Record Request. - */ -public interface IBaseDomainDnsCnameRecordRequest extends IHttpRequest { - - /** - * Gets the DomainDnsCnameRecord from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DomainDnsCnameRecord from the service - * - * @return the DomainDnsCnameRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsCnameRecord get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DomainDnsCnameRecord with a source - * - * @param sourceDomainDnsCnameRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord, final ICallback callback); - - /** - * Patches this DomainDnsCnameRecord with a source - * - * @param sourceDomainDnsCnameRecord the source object with updates - * @return the updated DomainDnsCnameRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsCnameRecord patch(final DomainDnsCnameRecord sourceDomainDnsCnameRecord) throws ClientException; - - /** - * Posts a DomainDnsCnameRecord with a new object - * - * @param newDomainDnsCnameRecord the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DomainDnsCnameRecord newDomainDnsCnameRecord, final ICallback callback); - - /** - * Posts a DomainDnsCnameRecord with a new object - * - * @param newDomainDnsCnameRecord the new object to create - * @return the created DomainDnsCnameRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsCnameRecord post(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainDnsCnameRecordRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainDnsCnameRecordRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequestBuilder.java deleted file mode 100644 index b7dec058902..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsCnameRecordRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsCnameRecordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Cname Record Request Builder. - */ -public interface IBaseDomainDnsCnameRecordRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainDnsCnameRecordRequest instance - */ - IDomainDnsCnameRecordRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainDnsCnameRecordRequest instance - */ - IDomainDnsCnameRecordRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequest.java deleted file mode 100644 index ae42b29c33f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsMxRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Mx Record Request. - */ -public interface IBaseDomainDnsMxRecordRequest extends IHttpRequest { - - /** - * Gets the DomainDnsMxRecord from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DomainDnsMxRecord from the service - * - * @return the DomainDnsMxRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsMxRecord get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DomainDnsMxRecord with a source - * - * @param sourceDomainDnsMxRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DomainDnsMxRecord sourceDomainDnsMxRecord, final ICallback callback); - - /** - * Patches this DomainDnsMxRecord with a source - * - * @param sourceDomainDnsMxRecord the source object with updates - * @return the updated DomainDnsMxRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsMxRecord patch(final DomainDnsMxRecord sourceDomainDnsMxRecord) throws ClientException; - - /** - * Posts a DomainDnsMxRecord with a new object - * - * @param newDomainDnsMxRecord the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DomainDnsMxRecord newDomainDnsMxRecord, final ICallback callback); - - /** - * Posts a DomainDnsMxRecord with a new object - * - * @param newDomainDnsMxRecord the new object to create - * @return the created DomainDnsMxRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsMxRecord post(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainDnsMxRecordRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainDnsMxRecordRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequestBuilder.java deleted file mode 100644 index 168add6df75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsMxRecordRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsMxRecordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Mx Record Request Builder. - */ -public interface IBaseDomainDnsMxRecordRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainDnsMxRecordRequest instance - */ - IDomainDnsMxRecordRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainDnsMxRecordRequest instance - */ - IDomainDnsMxRecordRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionPage.java deleted file mode 100644 index 0f931cbbd48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Record Collection Page. - */ -public interface IBaseDomainDnsRecordCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequest.java deleted file mode 100644 index fdf6c43e58b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Record Collection Request. - */ -public interface IBaseDomainDnsRecordCollectionRequest { - - void get(final ICallback callback); - - IDomainDnsRecordCollectionPage get() throws ClientException; - - void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback); - - DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDomainDnsRecordCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDomainDnsRecordCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDomainDnsRecordCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequestBuilder.java deleted file mode 100644 index 57d76c6ed95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Record Collection Request Builder. - */ -public interface IBaseDomainDnsRecordCollectionRequestBuilder extends IRequestBuilder { - - IDomainDnsRecordCollectionRequest buildRequest(); - - IDomainDnsRecordCollectionRequest buildRequest(final java.util.List requestOptions); - - IDomainDnsRecordRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequest.java deleted file mode 100644 index 52ac52613b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Record Request. - */ -public interface IBaseDomainDnsRecordRequest extends IHttpRequest { - - /** - * Gets the DomainDnsRecord from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DomainDnsRecord from the service - * - * @return the DomainDnsRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsRecord get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DomainDnsRecord with a source - * - * @param sourceDomainDnsRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DomainDnsRecord sourceDomainDnsRecord, final ICallback callback); - - /** - * Patches this DomainDnsRecord with a source - * - * @param sourceDomainDnsRecord the source object with updates - * @return the updated DomainDnsRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsRecord patch(final DomainDnsRecord sourceDomainDnsRecord) throws ClientException; - - /** - * Posts a DomainDnsRecord with a new object - * - * @param newDomainDnsRecord the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DomainDnsRecord newDomainDnsRecord, final ICallback callback); - - /** - * Posts a DomainDnsRecord with a new object - * - * @param newDomainDnsRecord the new object to create - * @return the created DomainDnsRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainDnsRecordRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainDnsRecordRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequestBuilder.java deleted file mode 100644 index f8528e9a014..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsRecordRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Record Request Builder. - */ -public interface IBaseDomainDnsRecordRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainDnsRecordRequest instance - */ - IDomainDnsRecordRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainDnsRecordRequest instance - */ - IDomainDnsRecordRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequest.java deleted file mode 100644 index e085359291f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsSrvRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Srv Record Request. - */ -public interface IBaseDomainDnsSrvRecordRequest extends IHttpRequest { - - /** - * Gets the DomainDnsSrvRecord from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DomainDnsSrvRecord from the service - * - * @return the DomainDnsSrvRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsSrvRecord get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DomainDnsSrvRecord with a source - * - * @param sourceDomainDnsSrvRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord, final ICallback callback); - - /** - * Patches this DomainDnsSrvRecord with a source - * - * @param sourceDomainDnsSrvRecord the source object with updates - * @return the updated DomainDnsSrvRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsSrvRecord patch(final DomainDnsSrvRecord sourceDomainDnsSrvRecord) throws ClientException; - - /** - * Posts a DomainDnsSrvRecord with a new object - * - * @param newDomainDnsSrvRecord the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DomainDnsSrvRecord newDomainDnsSrvRecord, final ICallback callback); - - /** - * Posts a DomainDnsSrvRecord with a new object - * - * @param newDomainDnsSrvRecord the new object to create - * @return the created DomainDnsSrvRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsSrvRecord post(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainDnsSrvRecordRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainDnsSrvRecordRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequestBuilder.java deleted file mode 100644 index 35e89234a3a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsSrvRecordRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsSrvRecordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Srv Record Request Builder. - */ -public interface IBaseDomainDnsSrvRecordRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainDnsSrvRecordRequest instance - */ - IDomainDnsSrvRecordRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainDnsSrvRecordRequest instance - */ - IDomainDnsSrvRecordRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequest.java deleted file mode 100644 index e7fdbeb8af2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsTxtRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Txt Record Request. - */ -public interface IBaseDomainDnsTxtRecordRequest extends IHttpRequest { - - /** - * Gets the DomainDnsTxtRecord from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DomainDnsTxtRecord from the service - * - * @return the DomainDnsTxtRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsTxtRecord get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DomainDnsTxtRecord with a source - * - * @param sourceDomainDnsTxtRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord, final ICallback callback); - - /** - * Patches this DomainDnsTxtRecord with a source - * - * @param sourceDomainDnsTxtRecord the source object with updates - * @return the updated DomainDnsTxtRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsTxtRecord patch(final DomainDnsTxtRecord sourceDomainDnsTxtRecord) throws ClientException; - - /** - * Posts a DomainDnsTxtRecord with a new object - * - * @param newDomainDnsTxtRecord the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DomainDnsTxtRecord newDomainDnsTxtRecord, final ICallback callback); - - /** - * Posts a DomainDnsTxtRecord with a new object - * - * @param newDomainDnsTxtRecord the new object to create - * @return the created DomainDnsTxtRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsTxtRecord post(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainDnsTxtRecordRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainDnsTxtRecordRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequestBuilder.java deleted file mode 100644 index 4a5e4a3f671..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsTxtRecordRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsTxtRecordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Txt Record Request Builder. - */ -public interface IBaseDomainDnsTxtRecordRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainDnsTxtRecordRequest instance - */ - IDomainDnsTxtRecordRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainDnsTxtRecordRequest instance - */ - IDomainDnsTxtRecordRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequest.java deleted file mode 100644 index 1f90e4a6fc5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DomainDnsUnavailableRecord; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Unavailable Record Request. - */ -public interface IBaseDomainDnsUnavailableRecordRequest extends IHttpRequest { - - /** - * Gets the DomainDnsUnavailableRecord from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DomainDnsUnavailableRecord from the service - * - * @return the DomainDnsUnavailableRecord from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsUnavailableRecord get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DomainDnsUnavailableRecord with a source - * - * @param sourceDomainDnsUnavailableRecord the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord, final ICallback callback); - - /** - * Patches this DomainDnsUnavailableRecord with a source - * - * @param sourceDomainDnsUnavailableRecord the source object with updates - * @return the updated DomainDnsUnavailableRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsUnavailableRecord patch(final DomainDnsUnavailableRecord sourceDomainDnsUnavailableRecord) throws ClientException; - - /** - * Posts a DomainDnsUnavailableRecord with a new object - * - * @param newDomainDnsUnavailableRecord the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord, final ICallback callback); - - /** - * Posts a DomainDnsUnavailableRecord with a new object - * - * @param newDomainDnsUnavailableRecord the new object to create - * @return the created DomainDnsUnavailableRecord - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DomainDnsUnavailableRecord post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainDnsUnavailableRecordRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainDnsUnavailableRecordRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequestBuilder.java deleted file mode 100644 index 01e86e0d854..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainDnsUnavailableRecordRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainDnsUnavailableRecordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Dns Unavailable Record Request Builder. - */ -public interface IBaseDomainDnsUnavailableRecordRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainDnsUnavailableRecordRequest instance - */ - IDomainDnsUnavailableRecordRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainDnsUnavailableRecordRequest instance - */ - IDomainDnsUnavailableRecordRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequest.java deleted file mode 100644 index 95c226bea07..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Force Delete Request. - */ -public interface IBaseDomainForceDeleteRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDomainForceDeleteRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDomainForceDeleteRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDomainForceDeleteRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequestBuilder.java deleted file mode 100644 index 411d36179ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainForceDeleteRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Force Delete Request Builder. - */ -public interface IBaseDomainForceDeleteRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDomainForceDeleteRequest - * - * @return the IDomainForceDeleteRequest instance - */ - IDomainForceDeleteRequest buildRequest(); - - /** - * Creates the IDomainForceDeleteRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDomainForceDeleteRequest instance - */ - IDomainForceDeleteRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequest.java deleted file mode 100644 index 2c6e3a3b1e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Domain; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Request. - */ -public interface IBaseDomainRequest extends IHttpRequest { - - /** - * Gets the Domain from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Domain from the service - * - * @return the Domain from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Domain get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Domain with a source - * - * @param sourceDomain the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Domain sourceDomain, final ICallback callback); - - /** - * Patches this Domain with a source - * - * @param sourceDomain the source object with updates - * @return the updated Domain - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Domain patch(final Domain sourceDomain) throws ClientException; - - /** - * Posts a Domain with a new object - * - * @param newDomain the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Domain newDomain, final ICallback callback); - - /** - * Posts a Domain with a new object - * - * @param newDomain the new object to create - * @return the created Domain - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Domain post(final Domain newDomain) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDomainRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDomainRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequestBuilder.java deleted file mode 100644 index 12246b65c00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainRequestBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainRequest; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainForceDeleteRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainVerifyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Request Builder. - */ -public interface IBaseDomainRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDomainRequest instance - */ - IDomainRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDomainRequest instance - */ - IDomainRequest buildRequest(final java.util.List requestOptions); - - IDomainDnsRecordCollectionRequestBuilder serviceConfigurationRecords(); - - IDomainDnsRecordRequestBuilder serviceConfigurationRecords(final String id); - - IDomainDnsRecordCollectionRequestBuilder verificationDnsRecords(); - - IDomainDnsRecordRequestBuilder verificationDnsRecords(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder domainNameReferences(); - - IDirectoryObjectWithReferenceRequestBuilder domainNameReferences(final String id); - IDomainForceDeleteRequestBuilder forceDelete(final Boolean disableUserAccounts); - IDomainVerifyRequestBuilder verify(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequest.java deleted file mode 100644 index a67e08bd94e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Domain; -import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Verify Request. - */ -public interface IBaseDomainVerifyRequest { - - /** - * Creates the DomainVerify - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the DomainVerify - * - * @return the Domain - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Domain post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDomainVerifyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDomainVerifyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequestBuilder.java deleted file mode 100644 index 1c45e440353..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDomainVerifyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDomainVerifyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Domain Verify Request Builder. - */ -public interface IBaseDomainVerifyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDomainVerifyRequest - * - * @return the IDomainVerifyRequest instance - */ - IDomainVerifyRequest buildRequest(); - - /** - * Creates the IDomainVerifyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDomainVerifyRequest instance - */ - IDomainVerifyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionPage.java deleted file mode 100644 index c0374b126ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Collection Page. - */ -public interface IBaseDriveCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequest.java deleted file mode 100644 index eee988a5210..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Collection Request. - */ -public interface IBaseDriveCollectionRequest { - - void get(final ICallback callback); - - IDriveCollectionPage get() throws ClientException; - - void post(final Drive newDrive, final ICallback callback); - - Drive post(final Drive newDrive) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequestBuilder.java deleted file mode 100644 index 5cb7c0aa35b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Collection Request Builder. - */ -public interface IBaseDriveCollectionRequestBuilder extends IRequestBuilder { - - IDriveCollectionRequest buildRequest(); - - IDriveCollectionRequest buildRequest(final java.util.List requestOptions); - - IDriveRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionPage.java deleted file mode 100644 index ca942070137..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Collection Page. - */ -public interface IBaseDriveItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequest.java deleted file mode 100644 index f63200a573f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Collection Request. - */ -public interface IBaseDriveItemCollectionRequest { - - void get(final ICallback callback); - - IDriveItemCollectionPage get() throws ClientException; - - void post(final DriveItem newDriveItem, final ICallback callback); - - DriveItem post(final DriveItem newDriveItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequestBuilder.java deleted file mode 100644 index 69c0b3e8b18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Collection Request Builder. - */ -public interface IBaseDriveItemCollectionRequestBuilder extends IRequestBuilder { - - IDriveItemCollectionRequest buildRequest(); - - IDriveItemCollectionRequest buildRequest(final java.util.List requestOptions); - - IDriveItemRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequest.java deleted file mode 100644 index 22e44e2000a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItem; -import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Copy Request. - */ -public interface IBaseDriveItemCopyRequest { - - void post(final ICallback callback); - - DriveItem post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemCopyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemCopyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemCopyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequestBuilder.java deleted file mode 100644 index 3e2b9c292a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCopyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemCopyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Copy Request Builder. - */ -public interface IBaseDriveItemCopyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDriveItemCopyRequest - * - * @return the IDriveItemCopyRequest instance - */ - IDriveItemCopyRequest buildRequest(); - - /** - * Creates the IDriveItemCopyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDriveItemCopyRequest instance - */ - IDriveItemCopyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequest.java deleted file mode 100644 index b6f0b2459e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Permission; -import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Create Link Request. - */ -public interface IBaseDriveItemCreateLinkRequest { - - void post(final ICallback callback); - - Permission post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemCreateLinkRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemCreateLinkRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemCreateLinkRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequestBuilder.java deleted file mode 100644 index 055770b1b64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateLinkRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Create Link Request Builder. - */ -public interface IBaseDriveItemCreateLinkRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDriveItemCreateLinkRequest - * - * @return the IDriveItemCreateLinkRequest instance - */ - IDriveItemCreateLinkRequest buildRequest(); - - /** - * Creates the IDriveItemCreateLinkRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDriveItemCreateLinkRequest instance - */ - IDriveItemCreateLinkRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequest.java deleted file mode 100644 index 65383c065b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UploadSession; -import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Create Upload Session Request. - */ -public interface IBaseDriveItemCreateUploadSessionRequest { - - void post(final ICallback callback); - - UploadSession post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemCreateUploadSessionRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemCreateUploadSessionRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemCreateUploadSessionRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequestBuilder.java deleted file mode 100644 index f7b8c511eb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemCreateUploadSessionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Create Upload Session Request Builder. - */ -public interface IBaseDriveItemCreateUploadSessionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDriveItemCreateUploadSessionRequest - * - * @return the IDriveItemCreateUploadSessionRequest instance - */ - IDriveItemCreateUploadSessionRequest buildRequest(); - - /** - * Creates the IDriveItemCreateUploadSessionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDriveItemCreateUploadSessionRequest instance - */ - IDriveItemCreateUploadSessionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionPage.java deleted file mode 100644 index 2a3fb0b0d93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Delta Collection Page. - */ -public interface IBaseDriveItemDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequest.java deleted file mode 100644 index 49607c448c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Delta Collection Request. - */ -public interface IBaseDriveItemDeltaCollectionRequest { - - void get(final ICallback callback); - - IDriveItemDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequestBuilder.java deleted file mode 100644 index 0f656f5cb98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Delta Collection Request Builder. - */ -public interface IBaseDriveItemDeltaCollectionRequestBuilder extends IRequestBuilder { - - IDriveItemDeltaCollectionRequest buildRequest(); - - IDriveItemDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionPage.java deleted file mode 100644 index 0e1a8994032..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Invite Collection Page. - */ -public interface IBaseDriveItemInviteCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequest.java deleted file mode 100644 index 3892958f755..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Invite Collection Request. - */ -public interface IBaseDriveItemInviteCollectionRequest { - - void post(final ICallback callback); - - IDriveItemInviteCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemInviteCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemInviteCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemInviteCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequestBuilder.java deleted file mode 100644 index 19b5d0dc2ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemInviteCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Invite Collection Request Builder. - */ -public interface IBaseDriveItemInviteCollectionRequestBuilder extends IRequestBuilder { - - IDriveItemInviteCollectionRequest buildRequest(); - - IDriveItemInviteCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequest.java deleted file mode 100644 index 58560018dd1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ItemPreviewInfo; -import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Preview Request. - */ -public interface IBaseDriveItemPreviewRequest { - - void post(final ICallback callback); - - ItemPreviewInfo post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemPreviewRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemPreviewRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemPreviewRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequestBuilder.java deleted file mode 100644 index 5345695a0ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemPreviewRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Preview Request Builder. - */ -public interface IBaseDriveItemPreviewRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDriveItemPreviewRequest - * - * @return the IDriveItemPreviewRequest instance - */ - IDriveItemPreviewRequest buildRequest(); - - /** - * Creates the IDriveItemPreviewRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDriveItemPreviewRequest instance - */ - IDriveItemPreviewRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequest.java deleted file mode 100644 index c975a62c8e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Request. - */ -public interface IBaseDriveItemRequest extends IHttpRequest { - - /** - * Gets the DriveItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DriveItem from the service - * - * @return the DriveItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DriveItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DriveItem with a source - * - * @param sourceDriveItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DriveItem sourceDriveItem, final ICallback callback); - - /** - * Patches this DriveItem with a source - * - * @param sourceDriveItem the source object with updates - * @return the updated DriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DriveItem patch(final DriveItem sourceDriveItem) throws ClientException; - - /** - * Posts a DriveItem with a new object - * - * @param newDriveItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DriveItem newDriveItem, final ICallback callback); - - /** - * Posts a DriveItem with a new object - * - * @param newDriveItem the new object to create - * @return the created DriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DriveItem post(final DriveItem newDriveItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDriveItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDriveItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequestBuilder.java deleted file mode 100644 index 3f28d9589fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemRequestBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemRequest; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IPermissionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPermissionRequestBuilder; -import com.microsoft.graph.requests.extensions.IThumbnailSetCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IThumbnailSetRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemVersionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemStreamRequestBuilder; -import com.microsoft.graph.models.extensions.ItemReference; -import com.microsoft.graph.requests.extensions.IDriveItemCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemCreateLinkRequestBuilder; -import com.microsoft.graph.models.extensions.DriveItemUploadableProperties; -import com.microsoft.graph.requests.extensions.IDriveItemCreateUploadSessionRequestBuilder; -import com.microsoft.graph.models.extensions.DriveRecipient; -import com.microsoft.graph.requests.extensions.IDriveItemInviteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemPreviewRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemDeltaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemSearchCollectionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Request Builder. - */ -public interface IBaseDriveItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDriveItemRequest instance - */ - IDriveItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDriveItemRequest instance - */ - IDriveItemRequest buildRequest(final java.util.List requestOptions); - - IDriveItemCollectionRequestBuilder children(); - - IDriveItemRequestBuilder children(final String id); - - /** - * Gets the request builder for ListItem - * - * @return the IListItemRequestBuilder instance - */ - IListItemRequestBuilder listItem(); - - IPermissionCollectionRequestBuilder permissions(); - - IPermissionRequestBuilder permissions(final String id); - - IThumbnailSetCollectionRequestBuilder thumbnails(); - - IThumbnailSetRequestBuilder thumbnails(final String id); - - IDriveItemVersionCollectionRequestBuilder versions(); - - IDriveItemVersionRequestBuilder versions(final String id); - - /** - * Gets the request builder for Workbook - * - * @return the IWorkbookRequestBuilder instance - */ - IWorkbookRequestBuilder workbook(); - - IDriveItemStreamRequestBuilder content(); - IDriveItemCopyRequestBuilder copy(final String name, final ItemReference parentReference); - IDriveItemCreateLinkRequestBuilder createLink(final String type, final String scope); - IDriveItemCreateUploadSessionRequestBuilder createUploadSession(final DriveItemUploadableProperties item); - - IDriveItemInviteCollectionRequestBuilder invite(final Boolean requireSignIn, final java.util.List roles, final Boolean sendInvitation, final String message, final java.util.List recipients); - IDriveItemPreviewRequestBuilder preview(final String page, final Double zoom); - - IDriveItemDeltaCollectionRequestBuilder delta(final String token); - - IDriveItemDeltaCollectionRequestBuilder delta(); - - IDriveItemSearchCollectionRequestBuilder search(final String q); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionPage.java deleted file mode 100644 index fa1dfefcb65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Search Collection Page. - */ -public interface IBaseDriveItemSearchCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequest.java deleted file mode 100644 index 4f42ea5e2a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Search Collection Request. - */ -public interface IBaseDriveItemSearchCollectionRequest { - - void get(final ICallback callback); - - IDriveItemSearchCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemSearchCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemSearchCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemSearchCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequestBuilder.java deleted file mode 100644 index 720c4d9c442..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemSearchCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Search Collection Request Builder. - */ -public interface IBaseDriveItemSearchCollectionRequestBuilder extends IRequestBuilder { - - IDriveItemSearchCollectionRequest buildRequest(); - - IDriveItemSearchCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequest.java deleted file mode 100644 index 8ed491afe1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Stream Request. - */ -public interface IBaseDriveItemStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - DriveItem put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequestBuilder.java deleted file mode 100644 index 2a69e300941..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemStreamRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemStreamRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Stream Request Builder. - */ -public interface IBaseDriveItemStreamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDriveItemStreamRequest instance - */ - IDriveItemStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDriveItemStreamRequest instance - */ - IDriveItemStreamRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionPage.java deleted file mode 100644 index 7a117f4b148..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Collection Page. - */ -public interface IBaseDriveItemVersionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequest.java deleted file mode 100644 index 3641168c8c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Collection Request. - */ -public interface IBaseDriveItemVersionCollectionRequest { - - void get(final ICallback callback); - - IDriveItemVersionCollectionPage get() throws ClientException; - - void post(final DriveItemVersion newDriveItemVersion, final ICallback callback); - - DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveItemVersionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveItemVersionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveItemVersionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequestBuilder.java deleted file mode 100644 index 34d35982215..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Collection Request Builder. - */ -public interface IBaseDriveItemVersionCollectionRequestBuilder extends IRequestBuilder { - - IDriveItemVersionCollectionRequest buildRequest(); - - IDriveItemVersionCollectionRequest buildRequest(final java.util.List requestOptions); - - IDriveItemVersionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequest.java deleted file mode 100644 index b8dd59a1885..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.DriveItemVersion; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Request. - */ -public interface IBaseDriveItemVersionRequest extends IHttpRequest { - - /** - * Gets the DriveItemVersion from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the DriveItemVersion from the service - * - * @return the DriveItemVersion from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DriveItemVersion get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this DriveItemVersion with a source - * - * @param sourceDriveItemVersion the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final DriveItemVersion sourceDriveItemVersion, final ICallback callback); - - /** - * Patches this DriveItemVersion with a source - * - * @param sourceDriveItemVersion the source object with updates - * @return the updated DriveItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DriveItemVersion patch(final DriveItemVersion sourceDriveItemVersion) throws ClientException; - - /** - * Posts a DriveItemVersion with a new object - * - * @param newDriveItemVersion the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final DriveItemVersion newDriveItemVersion, final ICallback callback); - - /** - * Posts a DriveItemVersion with a new object - * - * @param newDriveItemVersion the new object to create - * @return the created DriveItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDriveItemVersionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDriveItemVersionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequestBuilder.java deleted file mode 100644 index 8291d698af7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRequestBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRequest; -import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Request Builder. - */ -public interface IBaseDriveItemVersionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDriveItemVersionRequest instance - */ - IDriveItemVersionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDriveItemVersionRequest instance - */ - IDriveItemVersionRequest buildRequest(final java.util.List requestOptions); - - IDriveItemVersionStreamRequestBuilder content(); - IDriveItemVersionRestoreVersionRequestBuilder restoreVersion(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequest.java deleted file mode 100644 index a6ef1b70ad2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Restore Version Request. - */ -public interface IBaseDriveItemVersionRestoreVersionRequest { - - /** - * Creates the DriveItemVersionRestoreVersion - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the DriveItemVersionRestoreVersion - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequestBuilder.java deleted file mode 100644 index fd229a00932..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionRestoreVersionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionRestoreVersionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Restore Version Request Builder. - */ -public interface IBaseDriveItemVersionRestoreVersionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IDriveItemVersionRestoreVersionRequest - * - * @return the IDriveItemVersionRestoreVersionRequest instance - */ - IDriveItemVersionRestoreVersionRequest buildRequest(); - - /** - * Creates the IDriveItemVersionRestoreVersionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IDriveItemVersionRestoreVersionRequest instance - */ - IDriveItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequest.java deleted file mode 100644 index 4961fc01663..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Stream Request. - */ -public interface IBaseDriveItemVersionStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - DriveItemVersion put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequestBuilder.java deleted file mode 100644 index 782270c167e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveItemVersionStreamRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveItemVersionStreamRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Item Version Stream Request Builder. - */ -public interface IBaseDriveItemVersionStreamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDriveItemVersionStreamRequest instance - */ - IDriveItemVersionStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDriveItemVersionStreamRequest instance - */ - IDriveItemVersionStreamRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionPage.java deleted file mode 100644 index a187d22adfb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Recent Collection Page. - */ -public interface IBaseDriveRecentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequest.java deleted file mode 100644 index 53676ada703..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Recent Collection Request. - */ -public interface IBaseDriveRecentCollectionRequest { - - void get(final ICallback callback); - - IDriveRecentCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveRecentCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveRecentCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveRecentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequestBuilder.java deleted file mode 100644 index bb7a33d67f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRecentCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Recent Collection Request Builder. - */ -public interface IBaseDriveRecentCollectionRequestBuilder extends IRequestBuilder { - - IDriveRecentCollectionRequest buildRequest(); - - IDriveRecentCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequest.java deleted file mode 100644 index d2780992097..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Drive; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Request. - */ -public interface IBaseDriveRequest extends IHttpRequest { - - /** - * Gets the Drive from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Drive from the service - * - * @return the Drive from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Drive get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Drive with a source - * - * @param sourceDrive the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Drive sourceDrive, final ICallback callback); - - /** - * Patches this Drive with a source - * - * @param sourceDrive the source object with updates - * @return the updated Drive - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Drive patch(final Drive sourceDrive) throws ClientException; - - /** - * Posts a Drive with a new object - * - * @param newDrive the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Drive newDrive, final ICallback callback); - - /** - * Posts a Drive with a new object - * - * @param newDrive the new object to create - * @return the created Drive - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Drive post(final Drive newDrive) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseDriveRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseDriveRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequestBuilder.java deleted file mode 100644 index 76af1315c9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IDriveRequest; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRecentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveSearchCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveSharedWithMeCollectionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Request Builder. - */ -public interface IBaseDriveRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IDriveRequest instance - */ - IDriveRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IDriveRequest instance - */ - IDriveRequest buildRequest(final java.util.List requestOptions); - - IDriveItemCollectionRequestBuilder items(); - - IDriveItemRequestBuilder items(final String id); - - /** - * Gets the request builder for List - * - * @return the IListRequestBuilder instance - */ - IListRequestBuilder list(); - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - IDriveItemRequestBuilder root(); - - IDriveItemCollectionRequestBuilder special(); - - IDriveItemRequestBuilder special(final String id); - - IDriveRecentCollectionRequestBuilder recent(); - - IDriveSearchCollectionRequestBuilder search(final String q); - - IDriveSharedWithMeCollectionRequestBuilder sharedWithMe(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionPage.java deleted file mode 100644 index 26c7475c484..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Search Collection Page. - */ -public interface IBaseDriveSearchCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequest.java deleted file mode 100644 index fc7ee7dee87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Search Collection Request. - */ -public interface IBaseDriveSearchCollectionRequest { - - void get(final ICallback callback); - - IDriveSearchCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveSearchCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveSearchCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveSearchCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequestBuilder.java deleted file mode 100644 index 66e6f071537..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSearchCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Search Collection Request Builder. - */ -public interface IBaseDriveSearchCollectionRequestBuilder extends IRequestBuilder { - - IDriveSearchCollectionRequest buildRequest(); - - IDriveSearchCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionPage.java deleted file mode 100644 index e78dc499283..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Shared With Me Collection Page. - */ -public interface IBaseDriveSharedWithMeCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequest.java deleted file mode 100644 index 16daf93d63c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Shared With Me Collection Request. - */ -public interface IBaseDriveSharedWithMeCollectionRequest { - - void get(final ICallback callback); - - IDriveSharedWithMeCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IDriveSharedWithMeCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IDriveSharedWithMeCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IDriveSharedWithMeCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequestBuilder.java deleted file mode 100644 index 1dcb4bd130a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseDriveSharedWithMeCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Drive Shared With Me Collection Request Builder. - */ -public interface IBaseDriveSharedWithMeCollectionRequestBuilder extends IRequestBuilder { - - IDriveSharedWithMeCollectionRequest buildRequest(); - - IDriveSharedWithMeCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequest.java deleted file mode 100644 index 8606f823ef6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EBookInstallSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base EBook Install Summary Request. - */ -public interface IBaseEBookInstallSummaryRequest extends IHttpRequest { - - /** - * Gets the EBookInstallSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EBookInstallSummary from the service - * - * @return the EBookInstallSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EBookInstallSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EBookInstallSummary with a source - * - * @param sourceEBookInstallSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EBookInstallSummary sourceEBookInstallSummary, final ICallback callback); - - /** - * Patches this EBookInstallSummary with a source - * - * @param sourceEBookInstallSummary the source object with updates - * @return the updated EBookInstallSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EBookInstallSummary patch(final EBookInstallSummary sourceEBookInstallSummary) throws ClientException; - - /** - * Posts a EBookInstallSummary with a new object - * - * @param newEBookInstallSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EBookInstallSummary newEBookInstallSummary, final ICallback callback); - - /** - * Posts a EBookInstallSummary with a new object - * - * @param newEBookInstallSummary the new object to create - * @return the created EBookInstallSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EBookInstallSummary post(final EBookInstallSummary newEBookInstallSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEBookInstallSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEBookInstallSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequestBuilder.java deleted file mode 100644 index 1c458503c09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEBookInstallSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base EBook Install Summary Request Builder. - */ -public interface IBaseEBookInstallSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEBookInstallSummaryRequest instance - */ - IEBookInstallSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEBookInstallSummaryRequest instance - */ - IEBookInstallSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequest.java deleted file mode 100644 index b84ad2678da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EditionUpgradeConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Edition Upgrade Configuration Request. - */ -public interface IBaseEditionUpgradeConfigurationRequest extends IHttpRequest { - - /** - * Gets the EditionUpgradeConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EditionUpgradeConfiguration from the service - * - * @return the EditionUpgradeConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EditionUpgradeConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EditionUpgradeConfiguration with a source - * - * @param sourceEditionUpgradeConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration, final ICallback callback); - - /** - * Patches this EditionUpgradeConfiguration with a source - * - * @param sourceEditionUpgradeConfiguration the source object with updates - * @return the updated EditionUpgradeConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EditionUpgradeConfiguration patch(final EditionUpgradeConfiguration sourceEditionUpgradeConfiguration) throws ClientException; - - /** - * Posts a EditionUpgradeConfiguration with a new object - * - * @param newEditionUpgradeConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration, final ICallback callback); - - /** - * Posts a EditionUpgradeConfiguration with a new object - * - * @param newEditionUpgradeConfiguration the new object to create - * @return the created EditionUpgradeConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EditionUpgradeConfiguration post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEditionUpgradeConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEditionUpgradeConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequestBuilder.java deleted file mode 100644 index 53c7b9353b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEditionUpgradeConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEditionUpgradeConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Edition Upgrade Configuration Request Builder. - */ -public interface IBaseEditionUpgradeConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEditionUpgradeConfigurationRequest instance - */ - IEditionUpgradeConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEditionUpgradeConfigurationRequest instance - */ - IEditionUpgradeConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionPage.java deleted file mode 100644 index 83fcabf0647..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection Page. - */ -public interface IBaseEducationClassCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequest.java deleted file mode 100644 index eb8eb51ffdf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection Reference Request. - */ -public interface IBaseEducationClassCollectionReferenceRequest { - - void post(final EducationClass newEducationClass, final ICallback callback); - - EducationClass post(final EducationClass newEducationClass) throws ClientException; - - IEducationClassCollectionReferenceRequest select(final String value); - - IEducationClassCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequestBuilder.java deleted file mode 100644 index 4c786eebb87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection Reference Request Builder. - */ -public interface IBaseEducationClassCollectionReferenceRequestBuilder extends IRequestBuilder { - - IEducationClassCollectionReferenceRequest buildRequest(); - - IEducationClassCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequest.java deleted file mode 100644 index 29569cef00b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection Request. - */ -public interface IBaseEducationClassCollectionRequest { - - void get(final ICallback callback); - - IEducationClassCollectionPage get() throws ClientException; - - void post(final EducationClass newEducationClass, final ICallback callback); - - EducationClass post(final EducationClass newEducationClass) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEducationClassCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEducationClassCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEducationClassCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequestBuilder.java deleted file mode 100644 index ba283a93e2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection Request Builder. - */ -public interface IBaseEducationClassCollectionRequestBuilder extends IRequestBuilder { - - IEducationClassCollectionRequest buildRequest(); - - IEducationClassCollectionRequest buildRequest(final java.util.List requestOptions); - - IEducationClassRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesPage.java deleted file mode 100644 index 4769d34b859..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection With References Page. - */ -public interface IBaseEducationClassCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequest.java deleted file mode 100644 index ceed0f4df8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection With References Request. - */ -public interface IBaseEducationClassCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IEducationClassCollectionWithReferencesPage get() throws ClientException; - - IEducationClassCollectionWithReferencesRequest expand(final String value); - - IEducationClassCollectionWithReferencesRequest select(final String value); - - IEducationClassCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 357573c8623..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Collection With References Request Builder. - */ -public interface IBaseEducationClassCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IEducationClassCollectionWithReferencesRequest buildRequest(); - - IEducationClassCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IEducationClassWithReferenceRequestBuilder byId(final String id); - - IEducationClassCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequest.java deleted file mode 100644 index a1aef4735a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Reference Request. - */ -public interface IBaseEducationClassReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - EducationClass delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationClassReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationClassReferenceRequest expand(final String value); - - /** - * Puts the EducationClass - * - * @param srcEducationClass the EducationClass to PUT - * @param callback the callback to be called after success or failure - */ - void put(EducationClass srcEducationClass, final ICallback callback); - - /** - * Puts the EducationClass - * - * @param srcEducationClass the EducationClass to PUT - * @return the EducationClass - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - EducationClass put(EducationClass srcEducationClass) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequestBuilder.java deleted file mode 100644 index 9fa041682ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Reference Request Builder. - */ -public interface IBaseEducationClassReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEducationClassReferenceRequest instance - */ - IEducationClassReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationClassReferenceRequest instance - */ - IEducationClassReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequest.java deleted file mode 100644 index c6d9394797d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationClass; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Request. - */ -public interface IBaseEducationClassRequest extends IHttpRequest { - - /** - * Gets the EducationClass from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EducationClass from the service - * - * @return the EducationClass from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationClass get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EducationClass with a source - * - * @param sourceEducationClass the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EducationClass sourceEducationClass, final ICallback callback); - - /** - * Patches this EducationClass with a source - * - * @param sourceEducationClass the source object with updates - * @return the updated EducationClass - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationClass patch(final EducationClass sourceEducationClass) throws ClientException; - - /** - * Posts a EducationClass with a new object - * - * @param newEducationClass the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EducationClass newEducationClass, final ICallback callback); - - /** - * Posts a EducationClass with a new object - * - * @param newEducationClass the new object to create - * @return the created EducationClass - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationClass post(final EducationClass newEducationClass) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationClassRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationClassRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequestBuilder.java deleted file mode 100644 index c884939b0f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationClassRequest; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class Request Builder. - */ -public interface IBaseEducationClassRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEducationClassRequest instance - */ - IEducationClassRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationClassRequest instance - */ - IEducationClassRequest buildRequest(final java.util.List requestOptions); - - IEducationSchoolCollectionWithReferencesRequestBuilder schools(); - - IEducationSchoolWithReferenceRequestBuilder schools(final String id); - - IEducationUserCollectionWithReferencesRequestBuilder members(); - - IEducationUserWithReferenceRequestBuilder members(final String id); - - IEducationUserCollectionWithReferencesRequestBuilder teachers(); - - IEducationUserWithReferenceRequestBuilder teachers(final String id); - - /** - * Gets the request builder for Group - * - * @return the IGroupWithReferenceRequestBuilder instance - */ - IGroupWithReferenceRequestBuilder group(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequest.java deleted file mode 100644 index ef1660aafd4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class With Reference Request. - */ -public interface IBaseEducationClassWithReferenceRequest extends IHttpRequest { - - void post(final EducationClass newEducationClass, final IJsonBackedObject payload, final ICallback callback); - - EducationClass post(final EducationClass newEducationClass, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - EducationClass get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final EducationClass sourceEducationClass, final ICallback callback); - - EducationClass patch(final EducationClass sourceEducationClass) throws ClientException; - - IBaseEducationClassWithReferenceRequest select(final String value); - - IBaseEducationClassWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequestBuilder.java deleted file mode 100644 index cebe3899d17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationClassWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Class With Reference Request Builder. - */ -public interface IBaseEducationClassWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEducationClassWithReferenceRequest instance - */ - IEducationClassWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationClassWithReferenceRequest instance - */ - IEducationClassWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IEducationClassReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequest.java deleted file mode 100644 index d26fa1bfc03..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationOrganization; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Organization Request. - */ -public interface IBaseEducationOrganizationRequest extends IHttpRequest { - - /** - * Gets the EducationOrganization from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EducationOrganization from the service - * - * @return the EducationOrganization from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationOrganization get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EducationOrganization with a source - * - * @param sourceEducationOrganization the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EducationOrganization sourceEducationOrganization, final ICallback callback); - - /** - * Patches this EducationOrganization with a source - * - * @param sourceEducationOrganization the source object with updates - * @return the updated EducationOrganization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationOrganization patch(final EducationOrganization sourceEducationOrganization) throws ClientException; - - /** - * Posts a EducationOrganization with a new object - * - * @param newEducationOrganization the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EducationOrganization newEducationOrganization, final ICallback callback); - - /** - * Posts a EducationOrganization with a new object - * - * @param newEducationOrganization the new object to create - * @return the created EducationOrganization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationOrganization post(final EducationOrganization newEducationOrganization) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationOrganizationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationOrganizationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequestBuilder.java deleted file mode 100644 index 8385cb361a8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationOrganizationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationOrganizationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Organization Request Builder. - */ -public interface IBaseEducationOrganizationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEducationOrganizationRequest instance - */ - IEducationOrganizationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationOrganizationRequest instance - */ - IEducationOrganizationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequest.java deleted file mode 100644 index d963c5476c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationRoot; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Root Request. - */ -public interface IBaseEducationRootRequest extends IHttpRequest { - - /** - * Gets the EducationRoot from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EducationRoot from the service - * - * @return the EducationRoot from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationRoot get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EducationRoot with a source - * - * @param sourceEducationRoot the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EducationRoot sourceEducationRoot, final ICallback callback); - - /** - * Patches this EducationRoot with a source - * - * @param sourceEducationRoot the source object with updates - * @return the updated EducationRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationRoot patch(final EducationRoot sourceEducationRoot) throws ClientException; - - /** - * Posts a EducationRoot with a new object - * - * @param newEducationRoot the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EducationRoot newEducationRoot, final ICallback callback); - - /** - * Posts a EducationRoot with a new object - * - * @param newEducationRoot the new object to create - * @return the created EducationRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationRoot post(final EducationRoot newEducationRoot) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationRootRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationRootRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequestBuilder.java deleted file mode 100644 index 02f837880a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationRootRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationRootRequest; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education Root Request Builder. - */ -public interface IBaseEducationRootRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEducationRootRequest instance - */ - IEducationRootRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationRootRequest instance - */ - IEducationRootRequest buildRequest(final java.util.List requestOptions); - - IEducationClassCollectionRequestBuilder classes(); - - IEducationClassRequestBuilder classes(final String id); - - IEducationSchoolCollectionRequestBuilder schools(); - - IEducationSchoolRequestBuilder schools(final String id); - - IEducationUserCollectionRequestBuilder users(); - - IEducationUserRequestBuilder users(final String id); - - /** - * Gets the request builder for EducationUser - * - * @return the IEducationUserRequestBuilder instance - */ - IEducationUserRequestBuilder me(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionPage.java deleted file mode 100644 index 3aba7a31c7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection Page. - */ -public interface IBaseEducationSchoolCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequest.java deleted file mode 100644 index b4785815eb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection Reference Request. - */ -public interface IBaseEducationSchoolCollectionReferenceRequest { - - void post(final EducationSchool newEducationSchool, final ICallback callback); - - EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; - - IEducationSchoolCollectionReferenceRequest select(final String value); - - IEducationSchoolCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequestBuilder.java deleted file mode 100644 index d1074c4f15f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection Reference Request Builder. - */ -public interface IBaseEducationSchoolCollectionReferenceRequestBuilder extends IRequestBuilder { - - IEducationSchoolCollectionReferenceRequest buildRequest(); - - IEducationSchoolCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequest.java deleted file mode 100644 index 0f7e37df547..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection Request. - */ -public interface IBaseEducationSchoolCollectionRequest { - - void get(final ICallback callback); - - IEducationSchoolCollectionPage get() throws ClientException; - - void post(final EducationSchool newEducationSchool, final ICallback callback); - - EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEducationSchoolCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEducationSchoolCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEducationSchoolCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequestBuilder.java deleted file mode 100644 index 315ef0bffba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection Request Builder. - */ -public interface IBaseEducationSchoolCollectionRequestBuilder extends IRequestBuilder { - - IEducationSchoolCollectionRequest buildRequest(); - - IEducationSchoolCollectionRequest buildRequest(final java.util.List requestOptions); - - IEducationSchoolRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesPage.java deleted file mode 100644 index dfafcd2b13b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection With References Page. - */ -public interface IBaseEducationSchoolCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequest.java deleted file mode 100644 index 81ec5a6ba39..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection With References Request. - */ -public interface IBaseEducationSchoolCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IEducationSchoolCollectionWithReferencesPage get() throws ClientException; - - IEducationSchoolCollectionWithReferencesRequest expand(final String value); - - IEducationSchoolCollectionWithReferencesRequest select(final String value); - - IEducationSchoolCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 788db58f2bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Collection With References Request Builder. - */ -public interface IBaseEducationSchoolCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IEducationSchoolCollectionWithReferencesRequest buildRequest(); - - IEducationSchoolCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IEducationSchoolWithReferenceRequestBuilder byId(final String id); - - IEducationSchoolCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequest.java deleted file mode 100644 index 675ea6d30c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Reference Request. - */ -public interface IBaseEducationSchoolReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - EducationSchool delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationSchoolReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationSchoolReferenceRequest expand(final String value); - - /** - * Puts the EducationSchool - * - * @param srcEducationSchool the EducationSchool to PUT - * @param callback the callback to be called after success or failure - */ - void put(EducationSchool srcEducationSchool, final ICallback callback); - - /** - * Puts the EducationSchool - * - * @param srcEducationSchool the EducationSchool to PUT - * @return the EducationSchool - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - EducationSchool put(EducationSchool srcEducationSchool) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequestBuilder.java deleted file mode 100644 index 38cc01e0d6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Reference Request Builder. - */ -public interface IBaseEducationSchoolReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEducationSchoolReferenceRequest instance - */ - IEducationSchoolReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationSchoolReferenceRequest instance - */ - IEducationSchoolReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequest.java deleted file mode 100644 index f2e8e2490ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationSchool; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Request. - */ -public interface IBaseEducationSchoolRequest extends IHttpRequest { - - /** - * Gets the EducationSchool from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EducationSchool from the service - * - * @return the EducationSchool from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationSchool get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EducationSchool with a source - * - * @param sourceEducationSchool the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EducationSchool sourceEducationSchool, final ICallback callback); - - /** - * Patches this EducationSchool with a source - * - * @param sourceEducationSchool the source object with updates - * @return the updated EducationSchool - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException; - - /** - * Posts a EducationSchool with a new object - * - * @param newEducationSchool the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EducationSchool newEducationSchool, final ICallback callback); - - /** - * Posts a EducationSchool with a new object - * - * @param newEducationSchool the new object to create - * @return the created EducationSchool - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationSchoolRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationSchoolRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequestBuilder.java deleted file mode 100644 index deec3af2fb8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationSchoolRequest; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationUserWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School Request Builder. - */ -public interface IBaseEducationSchoolRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEducationSchoolRequest instance - */ - IEducationSchoolRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationSchoolRequest instance - */ - IEducationSchoolRequest buildRequest(final java.util.List requestOptions); - - IEducationClassCollectionWithReferencesRequestBuilder classes(); - - IEducationClassWithReferenceRequestBuilder classes(final String id); - - IEducationUserCollectionWithReferencesRequestBuilder users(); - - IEducationUserWithReferenceRequestBuilder users(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequest.java deleted file mode 100644 index 5a436560a65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School With Reference Request. - */ -public interface IBaseEducationSchoolWithReferenceRequest extends IHttpRequest { - - void post(final EducationSchool newEducationSchool, final IJsonBackedObject payload, final ICallback callback); - - EducationSchool post(final EducationSchool newEducationSchool, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - EducationSchool get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final EducationSchool sourceEducationSchool, final ICallback callback); - - EducationSchool patch(final EducationSchool sourceEducationSchool) throws ClientException; - - IBaseEducationSchoolWithReferenceRequest select(final String value); - - IBaseEducationSchoolWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequestBuilder.java deleted file mode 100644 index 34cd95dcd8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationSchoolWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education School With Reference Request Builder. - */ -public interface IBaseEducationSchoolWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEducationSchoolWithReferenceRequest instance - */ - IEducationSchoolWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationSchoolWithReferenceRequest instance - */ - IEducationSchoolWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IEducationSchoolReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionPage.java deleted file mode 100644 index 8e498755c19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection Page. - */ -public interface IBaseEducationUserCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequest.java deleted file mode 100644 index 814fe3640c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection Reference Request. - */ -public interface IBaseEducationUserCollectionReferenceRequest { - - void post(final EducationUser newEducationUser, final ICallback callback); - - EducationUser post(final EducationUser newEducationUser) throws ClientException; - - IEducationUserCollectionReferenceRequest select(final String value); - - IEducationUserCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequestBuilder.java deleted file mode 100644 index 876092f9c57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection Reference Request Builder. - */ -public interface IBaseEducationUserCollectionReferenceRequestBuilder extends IRequestBuilder { - - IEducationUserCollectionReferenceRequest buildRequest(); - - IEducationUserCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequest.java deleted file mode 100644 index 07315aa5ee8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection Request. - */ -public interface IBaseEducationUserCollectionRequest { - - void get(final ICallback callback); - - IEducationUserCollectionPage get() throws ClientException; - - void post(final EducationUser newEducationUser, final ICallback callback); - - EducationUser post(final EducationUser newEducationUser) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEducationUserCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEducationUserCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEducationUserCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequestBuilder.java deleted file mode 100644 index fdaee544a56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection Request Builder. - */ -public interface IBaseEducationUserCollectionRequestBuilder extends IRequestBuilder { - - IEducationUserCollectionRequest buildRequest(); - - IEducationUserCollectionRequest buildRequest(final java.util.List requestOptions); - - IEducationUserRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesPage.java deleted file mode 100644 index ba1dc6ed25c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection With References Page. - */ -public interface IBaseEducationUserCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequest.java deleted file mode 100644 index 747373c8e4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection With References Request. - */ -public interface IBaseEducationUserCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IEducationUserCollectionWithReferencesPage get() throws ClientException; - - IEducationUserCollectionWithReferencesRequest expand(final String value); - - IEducationUserCollectionWithReferencesRequest select(final String value); - - IEducationUserCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 674eabd77f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Collection With References Request Builder. - */ -public interface IBaseEducationUserCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IEducationUserCollectionWithReferencesRequest buildRequest(); - - IEducationUserCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IEducationUserWithReferenceRequestBuilder byId(final String id); - - IEducationUserCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequest.java deleted file mode 100644 index 23c39343cb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Reference Request. - */ -public interface IBaseEducationUserReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - EducationUser delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationUserReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationUserReferenceRequest expand(final String value); - - /** - * Puts the EducationUser - * - * @param srcEducationUser the EducationUser to PUT - * @param callback the callback to be called after success or failure - */ - void put(EducationUser srcEducationUser, final ICallback callback); - - /** - * Puts the EducationUser - * - * @param srcEducationUser the EducationUser to PUT - * @return the EducationUser - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - EducationUser put(EducationUser srcEducationUser) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequestBuilder.java deleted file mode 100644 index 60be78c9a8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Reference Request Builder. - */ -public interface IBaseEducationUserReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEducationUserReferenceRequest instance - */ - IEducationUserReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationUserReferenceRequest instance - */ - IEducationUserReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequest.java deleted file mode 100644 index 443678bd25d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EducationUser; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Request. - */ -public interface IBaseEducationUserRequest extends IHttpRequest { - - /** - * Gets the EducationUser from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EducationUser from the service - * - * @return the EducationUser from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationUser get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EducationUser with a source - * - * @param sourceEducationUser the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EducationUser sourceEducationUser, final ICallback callback); - - /** - * Patches this EducationUser with a source - * - * @param sourceEducationUser the source object with updates - * @return the updated EducationUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationUser patch(final EducationUser sourceEducationUser) throws ClientException; - - /** - * Posts a EducationUser with a new object - * - * @param newEducationUser the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EducationUser newEducationUser, final ICallback callback); - - /** - * Posts a EducationUser with a new object - * - * @param newEducationUser the new object to create - * @return the created EducationUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EducationUser post(final EducationUser newEducationUser) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEducationUserRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEducationUserRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequestBuilder.java deleted file mode 100644 index e546f8ae1ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEducationUserRequest; -import com.microsoft.graph.requests.extensions.IEducationSchoolCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationSchoolWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IEducationClassWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User Request Builder. - */ -public interface IBaseEducationUserRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEducationUserRequest instance - */ - IEducationUserRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationUserRequest instance - */ - IEducationUserRequest buildRequest(final java.util.List requestOptions); - - IEducationSchoolCollectionWithReferencesRequestBuilder schools(); - - IEducationSchoolWithReferenceRequestBuilder schools(final String id); - - IEducationClassCollectionWithReferencesRequestBuilder classes(); - - IEducationClassWithReferenceRequestBuilder classes(final String id); - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - IUserWithReferenceRequestBuilder user(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequest.java deleted file mode 100644 index 24f61c3be23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User With Reference Request. - */ -public interface IBaseEducationUserWithReferenceRequest extends IHttpRequest { - - void post(final EducationUser newEducationUser, final IJsonBackedObject payload, final ICallback callback); - - EducationUser post(final EducationUser newEducationUser, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - EducationUser get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final EducationUser sourceEducationUser, final ICallback callback); - - EducationUser patch(final EducationUser sourceEducationUser) throws ClientException; - - IBaseEducationUserWithReferenceRequest select(final String value); - - IBaseEducationUserWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequestBuilder.java deleted file mode 100644 index 6ffadafe136..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEducationUserWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Education User With Reference Request Builder. - */ -public interface IBaseEducationUserWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEducationUserWithReferenceRequest instance - */ - IEducationUserWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEducationUserWithReferenceRequest instance - */ - IEducationUserWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IEducationUserReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionPage.java deleted file mode 100644 index 2d8c9e61ff5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Configuration Assignment Collection Page. - */ -public interface IBaseEnrollmentConfigurationAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequest.java deleted file mode 100644 index 932bc4323dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Configuration Assignment Collection Request. - */ -public interface IBaseEnrollmentConfigurationAssignmentCollectionRequest { - - void get(final ICallback callback); - - IEnrollmentConfigurationAssignmentCollectionPage get() throws ClientException; - - void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback); - - EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEnrollmentConfigurationAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEnrollmentConfigurationAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEnrollmentConfigurationAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 646cc45adf5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Configuration Assignment Collection Request Builder. - */ -public interface IBaseEnrollmentConfigurationAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IEnrollmentConfigurationAssignmentCollectionRequest buildRequest(); - - IEnrollmentConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IEnrollmentConfigurationAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequest.java deleted file mode 100644 index 4c1d29c01dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EnrollmentConfigurationAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Configuration Assignment Request. - */ -public interface IBaseEnrollmentConfigurationAssignmentRequest extends IHttpRequest { - - /** - * Gets the EnrollmentConfigurationAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EnrollmentConfigurationAssignment from the service - * - * @return the EnrollmentConfigurationAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EnrollmentConfigurationAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EnrollmentConfigurationAssignment with a source - * - * @param sourceEnrollmentConfigurationAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment, final ICallback callback); - - /** - * Patches this EnrollmentConfigurationAssignment with a source - * - * @param sourceEnrollmentConfigurationAssignment the source object with updates - * @return the updated EnrollmentConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EnrollmentConfigurationAssignment patch(final EnrollmentConfigurationAssignment sourceEnrollmentConfigurationAssignment) throws ClientException; - - /** - * Posts a EnrollmentConfigurationAssignment with a new object - * - * @param newEnrollmentConfigurationAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback); - - /** - * Posts a EnrollmentConfigurationAssignment with a new object - * - * @param newEnrollmentConfigurationAssignment the new object to create - * @return the created EnrollmentConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEnrollmentConfigurationAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEnrollmentConfigurationAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequestBuilder.java deleted file mode 100644 index 2692f175069..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentConfigurationAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEnrollmentConfigurationAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Configuration Assignment Request Builder. - */ -public interface IBaseEnrollmentConfigurationAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEnrollmentConfigurationAssignmentRequest instance - */ - IEnrollmentConfigurationAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEnrollmentConfigurationAssignmentRequest instance - */ - IEnrollmentConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequest.java deleted file mode 100644 index 0d49235b8df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EnrollmentTroubleshootingEvent; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Troubleshooting Event Request. - */ -public interface IBaseEnrollmentTroubleshootingEventRequest extends IHttpRequest { - - /** - * Gets the EnrollmentTroubleshootingEvent from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EnrollmentTroubleshootingEvent from the service - * - * @return the EnrollmentTroubleshootingEvent from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EnrollmentTroubleshootingEvent get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EnrollmentTroubleshootingEvent with a source - * - * @param sourceEnrollmentTroubleshootingEvent the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent, final ICallback callback); - - /** - * Patches this EnrollmentTroubleshootingEvent with a source - * - * @param sourceEnrollmentTroubleshootingEvent the source object with updates - * @return the updated EnrollmentTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EnrollmentTroubleshootingEvent patch(final EnrollmentTroubleshootingEvent sourceEnrollmentTroubleshootingEvent) throws ClientException; - - /** - * Posts a EnrollmentTroubleshootingEvent with a new object - * - * @param newEnrollmentTroubleshootingEvent the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent, final ICallback callback); - - /** - * Posts a EnrollmentTroubleshootingEvent with a new object - * - * @param newEnrollmentTroubleshootingEvent the new object to create - * @return the created EnrollmentTroubleshootingEvent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EnrollmentTroubleshootingEvent post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEnrollmentTroubleshootingEventRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEnrollmentTroubleshootingEventRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequestBuilder.java deleted file mode 100644 index 7a9f9e73907..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEnrollmentTroubleshootingEventRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEnrollmentTroubleshootingEventRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Enrollment Troubleshooting Event Request Builder. - */ -public interface IBaseEnrollmentTroubleshootingEventRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEnrollmentTroubleshootingEventRequest instance - */ - IEnrollmentTroubleshootingEventRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEnrollmentTroubleshootingEventRequest instance - */ - IEnrollmentTroubleshootingEventRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequest.java deleted file mode 100644 index abafbb102fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Entity Reference Request. - */ -public interface IBaseEntityReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - Entity delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEntityReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEntityReferenceRequest expand(final String value); - - /** - * Puts the Entity - * - * @param srcEntity the Entity to PUT - * @param callback the callback to be called after success or failure - */ - void put(Entity srcEntity, final ICallback callback); - - /** - * Puts the Entity - * - * @param srcEntity the Entity to PUT - * @return the Entity - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Entity put(Entity srcEntity) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequestBuilder.java deleted file mode 100644 index 0d0e94c13d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Entity Reference Request Builder. - */ -public interface IBaseEntityReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEntityReferenceRequest instance - */ - IEntityReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEntityReferenceRequest instance - */ - IEntityReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequest.java deleted file mode 100644 index ed77fd1df36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequest.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Entity; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Entity Request. - */ -public interface IBaseEntityRequest extends IHttpRequest { - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEntityRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEntityRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequestBuilder.java deleted file mode 100644 index d71dc00b7e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEntityRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Entity Request Builder. - */ -public interface IBaseEntityRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEntityRequest instance - */ - IEntityRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEntityRequest instance - */ - IEntityRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequest.java deleted file mode 100644 index 95e2103c294..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Entity With Reference Request. - */ -public interface IBaseEntityWithReferenceRequest extends IHttpRequest { - - void post(final Entity newEntity, final IJsonBackedObject payload, final ICallback callback); - - Entity post(final Entity newEntity, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - Entity get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final Entity sourceEntity, final ICallback callback); - - Entity patch(final Entity sourceEntity) throws ClientException; - - IBaseEntityWithReferenceRequest select(final String value); - - IBaseEntityWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequestBuilder.java deleted file mode 100644 index e475fd81b95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEntityWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Entity With Reference Request Builder. - */ -public interface IBaseEntityWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IEntityWithReferenceRequest instance - */ - IEntityWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEntityWithReferenceRequest instance - */ - IEntityWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IEntityReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequest.java deleted file mode 100644 index 8b01949bb00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventAcceptRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Accept Request. - */ -public interface IBaseEventAcceptRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEventAcceptRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEventAcceptRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEventAcceptRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequestBuilder.java deleted file mode 100644 index 01285504803..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventAcceptRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventAcceptRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Accept Request Builder. - */ -public interface IBaseEventAcceptRequestBuilder extends IRequestBuilder { - - /** - * Creates the IEventAcceptRequest - * - * @return the IEventAcceptRequest instance - */ - IEventAcceptRequest buildRequest(); - - /** - * Creates the IEventAcceptRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IEventAcceptRequest instance - */ - IEventAcceptRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionPage.java deleted file mode 100644 index 30154085ea3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Collection Page. - */ -public interface IBaseEventCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequest.java deleted file mode 100644 index 6ea94496cd1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Collection Request. - */ -public interface IBaseEventCollectionRequest { - - void get(final ICallback callback); - - IEventCollectionPage get() throws ClientException; - - void post(final Event newEvent, final ICallback callback); - - Event post(final Event newEvent) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEventCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEventCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEventCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequestBuilder.java deleted file mode 100644 index 5efa8353913..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Collection Request Builder. - */ -public interface IBaseEventCollectionRequestBuilder extends IRequestBuilder { - - IEventCollectionRequest buildRequest(); - - IEventCollectionRequest buildRequest(final java.util.List requestOptions); - - IEventRequestBuilder byId(final String id); - - - IEventDeltaCollectionRequestBuilder delta(); - - IEventDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequest.java deleted file mode 100644 index 5ef49973664..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDeclineRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Decline Request. - */ -public interface IBaseEventDeclineRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEventDeclineRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEventDeclineRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEventDeclineRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequestBuilder.java deleted file mode 100644 index fe4e6a37d63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeclineRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDeclineRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Decline Request Builder. - */ -public interface IBaseEventDeclineRequestBuilder extends IRequestBuilder { - - /** - * Creates the IEventDeclineRequest - * - * @return the IEventDeclineRequest instance - */ - IEventDeclineRequest buildRequest(); - - /** - * Creates the IEventDeclineRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IEventDeclineRequest instance - */ - IEventDeclineRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionPage.java deleted file mode 100644 index 1bb00f03a78..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Delta Collection Page. - */ -public interface IBaseEventDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequest.java deleted file mode 100644 index 40d889301d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Delta Collection Request. - */ -public interface IBaseEventDeltaCollectionRequest { - - void get(final ICallback callback); - - IEventDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEventDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEventDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEventDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequestBuilder.java deleted file mode 100644 index aa359d7ece4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Delta Collection Request Builder. - */ -public interface IBaseEventDeltaCollectionRequestBuilder extends IRequestBuilder { - - IEventDeltaCollectionRequest buildRequest(); - - IEventDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequest.java deleted file mode 100644 index c38ac78f795..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Dismiss Reminder Request. - */ -public interface IBaseEventDismissReminderRequest { - - /** - * Creates the EventDismissReminder - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the EventDismissReminder - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequestBuilder.java deleted file mode 100644 index 375a9531464..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventDismissReminderRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventDismissReminderRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Dismiss Reminder Request Builder. - */ -public interface IBaseEventDismissReminderRequestBuilder extends IRequestBuilder { - - /** - * Creates the IEventDismissReminderRequest - * - * @return the IEventDismissReminderRequest instance - */ - IEventDismissReminderRequest buildRequest(); - - /** - * Creates the IEventDismissReminderRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IEventDismissReminderRequest instance - */ - IEventDismissReminderRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequest.java deleted file mode 100644 index 8f31d23943f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.EventMessage; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Message Request. - */ -public interface IBaseEventMessageRequest extends IHttpRequest { - - /** - * Gets the EventMessage from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the EventMessage from the service - * - * @return the EventMessage from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EventMessage get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this EventMessage with a source - * - * @param sourceEventMessage the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final EventMessage sourceEventMessage, final ICallback callback); - - /** - * Patches this EventMessage with a source - * - * @param sourceEventMessage the source object with updates - * @return the updated EventMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EventMessage patch(final EventMessage sourceEventMessage) throws ClientException; - - /** - * Posts a EventMessage with a new object - * - * @param newEventMessage the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final EventMessage newEventMessage, final ICallback callback); - - /** - * Posts a EventMessage with a new object - * - * @param newEventMessage the new object to create - * @return the created EventMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - EventMessage post(final EventMessage newEventMessage) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEventMessageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEventMessageRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequestBuilder.java deleted file mode 100644 index b61fe35ef83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventMessageRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventMessageRequest; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Message Request Builder. - */ -public interface IBaseEventMessageRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEventMessageRequest instance - */ - IEventMessageRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEventMessageRequest instance - */ - IEventMessageRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Event - * - * @return the IEventRequestBuilder instance - */ - IEventRequestBuilder event(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequest.java deleted file mode 100644 index bf70ad4e043..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Event; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Request. - */ -public interface IBaseEventRequest extends IHttpRequest { - - /** - * Gets the Event from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Event from the service - * - * @return the Event from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Event get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Event with a source - * - * @param sourceEvent the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Event sourceEvent, final ICallback callback); - - /** - * Patches this Event with a source - * - * @param sourceEvent the source object with updates - * @return the updated Event - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Event patch(final Event sourceEvent) throws ClientException; - - /** - * Posts a Event with a new object - * - * @param newEvent the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Event newEvent, final ICallback callback); - - /** - * Posts a Event with a new object - * - * @param newEvent the new object to create - * @return the created Event - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Event post(final Event newEvent) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseEventRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseEventRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequestBuilder.java deleted file mode 100644 index 9d370a7ddda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventRequestBuilder.java +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventRequest; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventAcceptRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventDeclineRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequestBuilder; -import com.microsoft.graph.models.extensions.DateTimeTimeZone; -import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventDismissReminderRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Request Builder. - */ -public interface IBaseEventRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IEventRequest instance - */ - IEventRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IEventRequest instance - */ - IEventRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Calendar - * - * @return the ICalendarRequestBuilder instance - */ - ICalendarRequestBuilder calendar(); - - IEventCollectionRequestBuilder instances(); - - IEventRequestBuilder instances(final String id); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - - IAttachmentCollectionRequestBuilder attachments(); - - IAttachmentRequestBuilder attachments(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - IEventAcceptRequestBuilder accept(final String comment, final Boolean sendResponse); - IEventDeclineRequestBuilder decline(final String comment, final Boolean sendResponse); - IEventTentativelyAcceptRequestBuilder tentativelyAccept(final String comment, final Boolean sendResponse); - IEventSnoozeReminderRequestBuilder snoozeReminder(final DateTimeTimeZone newReminderTime); - IEventDismissReminderRequestBuilder dismissReminder(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequest.java deleted file mode 100644 index d89deedf1ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Snooze Reminder Request. - */ -public interface IBaseEventSnoozeReminderRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEventSnoozeReminderRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEventSnoozeReminderRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEventSnoozeReminderRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequestBuilder.java deleted file mode 100644 index 9857937585d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventSnoozeReminderRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventSnoozeReminderRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Snooze Reminder Request Builder. - */ -public interface IBaseEventSnoozeReminderRequestBuilder extends IRequestBuilder { - - /** - * Creates the IEventSnoozeReminderRequest - * - * @return the IEventSnoozeReminderRequest instance - */ - IEventSnoozeReminderRequest buildRequest(); - - /** - * Creates the IEventSnoozeReminderRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IEventSnoozeReminderRequest instance - */ - IEventSnoozeReminderRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequest.java deleted file mode 100644 index cc3384d4af5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Tentatively Accept Request. - */ -public interface IBaseEventTentativelyAcceptRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IEventTentativelyAcceptRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IEventTentativelyAcceptRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IEventTentativelyAcceptRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequestBuilder.java deleted file mode 100644 index 4ec9cf36a2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseEventTentativelyAcceptRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IEventTentativelyAcceptRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Event Tentatively Accept Request Builder. - */ -public interface IBaseEventTentativelyAcceptRequestBuilder extends IRequestBuilder { - - /** - * Creates the IEventTentativelyAcceptRequest - * - * @return the IEventTentativelyAcceptRequest instance - */ - IEventTentativelyAcceptRequest buildRequest(); - - /** - * Creates the IEventTentativelyAcceptRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IEventTentativelyAcceptRequest instance - */ - IEventTentativelyAcceptRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionPage.java deleted file mode 100644 index 3786bc56d48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Extension Collection Page. - */ -public interface IBaseExtensionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequest.java deleted file mode 100644 index d1856ef652a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Extension Collection Request. - */ -public interface IBaseExtensionCollectionRequest { - - void get(final ICallback callback); - - IExtensionCollectionPage get() throws ClientException; - - void post(final Extension newExtension, final ICallback callback); - - Extension post(final Extension newExtension) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IExtensionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IExtensionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IExtensionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequestBuilder.java deleted file mode 100644 index 9f9bb40b13d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Extension Collection Request Builder. - */ -public interface IBaseExtensionCollectionRequestBuilder extends IRequestBuilder { - - IExtensionCollectionRequest buildRequest(); - - IExtensionCollectionRequest buildRequest(final java.util.List requestOptions); - - IExtensionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequest.java deleted file mode 100644 index 2bafd2832dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Extension; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Extension Request. - */ -public interface IBaseExtensionRequest extends IHttpRequest { - - /** - * Gets the Extension from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Extension from the service - * - * @return the Extension from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Extension get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Extension with a source - * - * @param sourceExtension the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Extension sourceExtension, final ICallback callback); - - /** - * Patches this Extension with a source - * - * @param sourceExtension the source object with updates - * @return the updated Extension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Extension patch(final Extension sourceExtension) throws ClientException; - - /** - * Posts a Extension with a new object - * - * @param newExtension the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Extension newExtension, final ICallback callback); - - /** - * Posts a Extension with a new object - * - * @param newExtension the new object to create - * @return the created Extension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Extension post(final Extension newExtension) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseExtensionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseExtensionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequestBuilder.java deleted file mode 100644 index 57d9dcc7034..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseExtensionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IExtensionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Extension Request Builder. - */ -public interface IBaseExtensionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IExtensionRequest instance - */ - IExtensionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IExtensionRequest instance - */ - IExtensionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequest.java deleted file mode 100644 index 459bfaa9a9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.FieldValueSet; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Field Value Set Request. - */ -public interface IBaseFieldValueSetRequest extends IHttpRequest { - - /** - * Gets the FieldValueSet from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the FieldValueSet from the service - * - * @return the FieldValueSet from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - FieldValueSet get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this FieldValueSet with a source - * - * @param sourceFieldValueSet the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final FieldValueSet sourceFieldValueSet, final ICallback callback); - - /** - * Patches this FieldValueSet with a source - * - * @param sourceFieldValueSet the source object with updates - * @return the updated FieldValueSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - FieldValueSet patch(final FieldValueSet sourceFieldValueSet) throws ClientException; - - /** - * Posts a FieldValueSet with a new object - * - * @param newFieldValueSet the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final FieldValueSet newFieldValueSet, final ICallback callback); - - /** - * Posts a FieldValueSet with a new object - * - * @param newFieldValueSet the new object to create - * @return the created FieldValueSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - FieldValueSet post(final FieldValueSet newFieldValueSet) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseFieldValueSetRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseFieldValueSetRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequestBuilder.java deleted file mode 100644 index 36bf271ea1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseFieldValueSetRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Field Value Set Request Builder. - */ -public interface IBaseFieldValueSetRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IFieldValueSetRequest instance - */ - IFieldValueSetRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IFieldValueSetRequest instance - */ - IFieldValueSetRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequest.java deleted file mode 100644 index 40a845029cd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.FileAttachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base File Attachment Request. - */ -public interface IBaseFileAttachmentRequest extends IHttpRequest { - - /** - * Gets the FileAttachment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the FileAttachment from the service - * - * @return the FileAttachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - FileAttachment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this FileAttachment with a source - * - * @param sourceFileAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final FileAttachment sourceFileAttachment, final ICallback callback); - - /** - * Patches this FileAttachment with a source - * - * @param sourceFileAttachment the source object with updates - * @return the updated FileAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - FileAttachment patch(final FileAttachment sourceFileAttachment) throws ClientException; - - /** - * Posts a FileAttachment with a new object - * - * @param newFileAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final FileAttachment newFileAttachment, final ICallback callback); - - /** - * Posts a FileAttachment with a new object - * - * @param newFileAttachment the new object to create - * @return the created FileAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - FileAttachment post(final FileAttachment newFileAttachment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseFileAttachmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseFileAttachmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequestBuilder.java deleted file mode 100644 index 9de27be281d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseFileAttachmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IFileAttachmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base File Attachment Request Builder. - */ -public interface IBaseFileAttachmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IFileAttachmentRequest instance - */ - IFileAttachmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IFileAttachmentRequest instance - */ - IFileAttachmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequest.java deleted file mode 100644 index 5491e3868c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Add Favorite Request. - */ -public interface IBaseGroupAddFavoriteRequest { - - /** - * Creates the GroupAddFavorite - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the GroupAddFavorite - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequestBuilder.java deleted file mode 100644 index 00b5859280a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupAddFavoriteRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Add Favorite Request Builder. - */ -public interface IBaseGroupAddFavoriteRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupAddFavoriteRequest - * - * @return the IGroupAddFavoriteRequest instance - */ - IGroupAddFavoriteRequest buildRequest(); - - /** - * Creates the IGroupAddFavoriteRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupAddFavoriteRequest instance - */ - IGroupAddFavoriteRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionPage.java deleted file mode 100644 index f2cb4f980aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Collection Page. - */ -public interface IBaseGroupCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequest.java deleted file mode 100644 index af57dd1675f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Collection Request. - */ -public interface IBaseGroupCollectionRequest { - - void get(final ICallback callback); - - IGroupCollectionPage get() throws ClientException; - - void post(final Group newGroup, final ICallback callback); - - Group post(final Group newGroup) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequestBuilder.java deleted file mode 100644 index d360454c7c4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Collection Request Builder. - */ -public interface IBaseGroupCollectionRequestBuilder extends IRequestBuilder { - - IGroupCollectionRequest buildRequest(); - - IGroupCollectionRequest buildRequest(final java.util.List requestOptions); - - IGroupRequestBuilder byId(final String id); - - - IGroupDeltaCollectionRequestBuilder delta(); - - IGroupDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionPage.java deleted file mode 100644 index 5ffac5251d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Delta Collection Page. - */ -public interface IBaseGroupDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequest.java deleted file mode 100644 index 9289f0adf23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Delta Collection Request. - */ -public interface IBaseGroupDeltaCollectionRequest { - - void get(final ICallback callback); - - IGroupDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequestBuilder.java deleted file mode 100644 index 0bde9cf7b07..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Delta Collection Request Builder. - */ -public interface IBaseGroupDeltaCollectionRequestBuilder extends IRequestBuilder { - - IGroupDeltaCollectionRequest buildRequest(); - - IGroupDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequest.java deleted file mode 100644 index c9bf2571d66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Add Group Request. - */ -public interface IBaseGroupLifecyclePolicyAddGroupRequest { - - void post(final ICallback callback); - - Boolean post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupLifecyclePolicyAddGroupRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupLifecyclePolicyAddGroupRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupLifecyclePolicyAddGroupRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequestBuilder.java deleted file mode 100644 index 96dbb49029b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyAddGroupRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Add Group Request Builder. - */ -public interface IBaseGroupLifecyclePolicyAddGroupRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupLifecyclePolicyAddGroupRequest - * - * @return the IGroupLifecyclePolicyAddGroupRequest instance - */ - IGroupLifecyclePolicyAddGroupRequest buildRequest(); - - /** - * Creates the IGroupLifecyclePolicyAddGroupRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupLifecyclePolicyAddGroupRequest instance - */ - IGroupLifecyclePolicyAddGroupRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionPage.java deleted file mode 100644 index bec89a449b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Collection Page. - */ -public interface IBaseGroupLifecyclePolicyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequest.java deleted file mode 100644 index dbcf86deb20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Collection Request. - */ -public interface IBaseGroupLifecyclePolicyCollectionRequest { - - void get(final ICallback callback); - - IGroupLifecyclePolicyCollectionPage get() throws ClientException; - - void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback); - - GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupLifecyclePolicyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupLifecyclePolicyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupLifecyclePolicyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequestBuilder.java deleted file mode 100644 index 80e68f95cea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Collection Request Builder. - */ -public interface IBaseGroupLifecyclePolicyCollectionRequestBuilder extends IRequestBuilder { - - IGroupLifecyclePolicyCollectionRequest buildRequest(); - - IGroupLifecyclePolicyCollectionRequest buildRequest(final java.util.List requestOptions); - - IGroupLifecyclePolicyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequest.java deleted file mode 100644 index bd5124741a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Remove Group Request. - */ -public interface IBaseGroupLifecyclePolicyRemoveGroupRequest { - - void post(final ICallback callback); - - Boolean post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupLifecyclePolicyRemoveGroupRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupLifecyclePolicyRemoveGroupRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupLifecyclePolicyRemoveGroupRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java deleted file mode 100644 index 8694c371884..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Remove Group Request Builder. - */ -public interface IBaseGroupLifecyclePolicyRemoveGroupRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupLifecyclePolicyRemoveGroupRequest - * - * @return the IGroupLifecyclePolicyRemoveGroupRequest instance - */ - IGroupLifecyclePolicyRemoveGroupRequest buildRequest(); - - /** - * Creates the IGroupLifecyclePolicyRemoveGroupRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupLifecyclePolicyRemoveGroupRequest instance - */ - IGroupLifecyclePolicyRemoveGroupRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequest.java deleted file mode 100644 index cbad20b567e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupLifecyclePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Request. - */ -public interface IBaseGroupLifecyclePolicyRequest extends IHttpRequest { - - /** - * Gets the GroupLifecyclePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the GroupLifecyclePolicy from the service - * - * @return the GroupLifecyclePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupLifecyclePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this GroupLifecyclePolicy with a source - * - * @param sourceGroupLifecyclePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy, final ICallback callback); - - /** - * Patches this GroupLifecyclePolicy with a source - * - * @param sourceGroupLifecyclePolicy the source object with updates - * @return the updated GroupLifecyclePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupLifecyclePolicy patch(final GroupLifecyclePolicy sourceGroupLifecyclePolicy) throws ClientException; - - /** - * Posts a GroupLifecyclePolicy with a new object - * - * @param newGroupLifecyclePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback); - - /** - * Posts a GroupLifecyclePolicy with a new object - * - * @param newGroupLifecyclePolicy the new object to create - * @return the created GroupLifecyclePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseGroupLifecyclePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseGroupLifecyclePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequestBuilder.java deleted file mode 100644 index 7c80b9e4272..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupLifecyclePolicyRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequest; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyAddGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRemoveGroupRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Lifecycle Policy Request Builder. - */ -public interface IBaseGroupLifecyclePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IGroupLifecyclePolicyRequest instance - */ - IGroupLifecyclePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupLifecyclePolicyRequest instance - */ - IGroupLifecyclePolicyRequest buildRequest(final java.util.List requestOptions); - IGroupLifecyclePolicyAddGroupRequestBuilder addGroup(final String groupId); - IGroupLifecyclePolicyRemoveGroupRequestBuilder removeGroup(final String groupId); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequest.java deleted file mode 100644 index cc173b8ae27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Reference Request. - */ -public interface IBaseGroupReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - Group delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseGroupReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseGroupReferenceRequest expand(final String value); - - /** - * Puts the Group - * - * @param srcGroup the Group to PUT - * @param callback the callback to be called after success or failure - */ - void put(Group srcGroup, final ICallback callback); - - /** - * Puts the Group - * - * @param srcGroup the Group to PUT - * @return the Group - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Group put(Group srcGroup) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequestBuilder.java deleted file mode 100644 index dbd1cacf893..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Reference Request Builder. - */ -public interface IBaseGroupReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IGroupReferenceRequest instance - */ - IGroupReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupReferenceRequest instance - */ - IGroupReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequest.java deleted file mode 100644 index b825c05af94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Remove Favorite Request. - */ -public interface IBaseGroupRemoveFavoriteRequest { - - /** - * Creates the GroupRemoveFavorite - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the GroupRemoveFavorite - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequestBuilder.java deleted file mode 100644 index 6eab3f5e76f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRemoveFavoriteRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Remove Favorite Request Builder. - */ -public interface IBaseGroupRemoveFavoriteRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupRemoveFavoriteRequest - * - * @return the IGroupRemoveFavoriteRequest instance - */ - IGroupRemoveFavoriteRequest buildRequest(); - - /** - * Creates the IGroupRemoveFavoriteRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupRemoveFavoriteRequest instance - */ - IGroupRemoveFavoriteRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequest.java deleted file mode 100644 index d1b4415bd9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRenewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Renew Request. - */ -public interface IBaseGroupRenewRequest { - - /** - * Creates the GroupRenew - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the GroupRenew - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequestBuilder.java deleted file mode 100644 index 5353b57650e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRenewRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRenewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Renew Request Builder. - */ -public interface IBaseGroupRenewRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupRenewRequest - * - * @return the IGroupRenewRequest instance - */ - IGroupRenewRequest buildRequest(); - - /** - * Creates the IGroupRenewRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupRenewRequest instance - */ - IGroupRenewRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequest.java deleted file mode 100644 index e20dae7030d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Group; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Request. - */ -public interface IBaseGroupRequest extends IHttpRequest { - - /** - * Gets the Group from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Group from the service - * - * @return the Group from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Group get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Group with a source - * - * @param sourceGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Group sourceGroup, final ICallback callback); - - /** - * Patches this Group with a source - * - * @param sourceGroup the source object with updates - * @return the updated Group - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Group patch(final Group sourceGroup) throws ClientException; - - /** - * Posts a Group with a new object - * - * @param newGroup the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Group newGroup, final ICallback callback); - - /** - * Posts a Group with a new object - * - * @param newGroup the new object to create - * @return the created Group - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Group post(final Group newGroup) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseGroupRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseGroupRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequestBuilder.java deleted file mode 100644 index e91b174f2a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupRequestBuilder.java +++ /dev/null @@ -1,191 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupSettingCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupSettingRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationThreadCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationThreadRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConversationRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupAddFavoriteRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRemoveFavoriteRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRenewRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Request Builder. - */ -public interface IBaseGroupRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IGroupRequest instance - */ - IGroupRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupRequest instance - */ - IGroupRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectCollectionWithReferencesRequestBuilder members(); - - IDirectoryObjectWithReferenceRequestBuilder members(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf(); - - IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id); - - /** - * Gets the request builder for DirectoryObject - * - * @return the IDirectoryObjectWithReferenceRequestBuilder instance - */ - IDirectoryObjectWithReferenceRequestBuilder createdOnBehalfOf(); - - IDirectoryObjectCollectionWithReferencesRequestBuilder owners(); - - IDirectoryObjectWithReferenceRequestBuilder owners(final String id); - - IGroupSettingCollectionRequestBuilder settings(); - - IGroupSettingRequestBuilder settings(final String id); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - - IConversationThreadCollectionRequestBuilder threads(); - - IConversationThreadRequestBuilder threads(final String id); - - /** - * Gets the request builder for Calendar - * - * @return the ICalendarRequestBuilder instance - */ - ICalendarRequestBuilder calendar(); - - IEventCollectionRequestBuilder calendarView(); - - IEventRequestBuilder calendarView(final String id); - - IEventCollectionRequestBuilder events(); - - IEventRequestBuilder events(final String id); - - IConversationCollectionRequestBuilder conversations(); - - IConversationRequestBuilder conversations(final String id); - - /** - * Gets the request builder for ProfilePhoto - * - * @return the IProfilePhotoRequestBuilder instance - */ - IProfilePhotoRequestBuilder photo(); - - IProfilePhotoCollectionRequestBuilder photos(); - - IProfilePhotoRequestBuilder photos(final String id); - - IDirectoryObjectCollectionRequestBuilder acceptedSenders(); - - IDirectoryObjectRequestBuilder acceptedSenders(final String id); - - IDirectoryObjectCollectionRequestBuilder rejectedSenders(); - - IDirectoryObjectRequestBuilder rejectedSenders(final String id); - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - IDriveRequestBuilder drive(); - - IDriveCollectionRequestBuilder drives(); - - IDriveRequestBuilder drives(final String id); - - ISiteCollectionRequestBuilder sites(); - - ISiteRequestBuilder sites(final String id); - - /** - * Gets the request builder for PlannerGroup - * - * @return the IPlannerGroupRequestBuilder instance - */ - IPlannerGroupRequestBuilder planner(); - - /** - * Gets the request builder for Onenote - * - * @return the IOnenoteRequestBuilder instance - */ - IOnenoteRequestBuilder onenote(); - - IGroupLifecyclePolicyCollectionRequestBuilder groupLifecyclePolicies(); - - IGroupLifecyclePolicyRequestBuilder groupLifecyclePolicies(final String id); - - /** - * Gets the request builder for Team - * - * @return the ITeamRequestBuilder instance - */ - ITeamRequestBuilder team(); - IGroupSubscribeByMailRequestBuilder subscribeByMail(); - IGroupUnsubscribeByMailRequestBuilder unsubscribeByMail(); - IGroupAddFavoriteRequestBuilder addFavorite(); - IGroupRemoveFavoriteRequestBuilder removeFavorite(); - IGroupResetUnseenCountRequestBuilder resetUnseenCount(); - IGroupRenewRequestBuilder renew(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequest.java deleted file mode 100644 index 93e8e9f1c18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Reset Unseen Count Request. - */ -public interface IBaseGroupResetUnseenCountRequest { - - /** - * Creates the GroupResetUnseenCount - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the GroupResetUnseenCount - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequestBuilder.java deleted file mode 100644 index 2ae88588e4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupResetUnseenCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupResetUnseenCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Reset Unseen Count Request Builder. - */ -public interface IBaseGroupResetUnseenCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupResetUnseenCountRequest - * - * @return the IGroupResetUnseenCountRequest instance - */ - IGroupResetUnseenCountRequest buildRequest(); - - /** - * Creates the IGroupResetUnseenCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupResetUnseenCountRequest instance - */ - IGroupResetUnseenCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionPage.java deleted file mode 100644 index 87d2f93f0cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Collection Page. - */ -public interface IBaseGroupSettingCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequest.java deleted file mode 100644 index 190bdf601c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Collection Request. - */ -public interface IBaseGroupSettingCollectionRequest { - - void get(final ICallback callback); - - IGroupSettingCollectionPage get() throws ClientException; - - void post(final GroupSetting newGroupSetting, final ICallback callback); - - GroupSetting post(final GroupSetting newGroupSetting) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupSettingCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupSettingCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupSettingCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequestBuilder.java deleted file mode 100644 index 6fb3a30e3ff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Collection Request Builder. - */ -public interface IBaseGroupSettingCollectionRequestBuilder extends IRequestBuilder { - - IGroupSettingCollectionRequest buildRequest(); - - IGroupSettingCollectionRequest buildRequest(final java.util.List requestOptions); - - IGroupSettingRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequest.java deleted file mode 100644 index f86b30d2daf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupSetting; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Request. - */ -public interface IBaseGroupSettingRequest extends IHttpRequest { - - /** - * Gets the GroupSetting from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the GroupSetting from the service - * - * @return the GroupSetting from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupSetting get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this GroupSetting with a source - * - * @param sourceGroupSetting the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final GroupSetting sourceGroupSetting, final ICallback callback); - - /** - * Patches this GroupSetting with a source - * - * @param sourceGroupSetting the source object with updates - * @return the updated GroupSetting - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupSetting patch(final GroupSetting sourceGroupSetting) throws ClientException; - - /** - * Posts a GroupSetting with a new object - * - * @param newGroupSetting the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final GroupSetting newGroupSetting, final ICallback callback); - - /** - * Posts a GroupSetting with a new object - * - * @param newGroupSetting the new object to create - * @return the created GroupSetting - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupSetting post(final GroupSetting newGroupSetting) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseGroupSettingRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseGroupSettingRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequestBuilder.java deleted file mode 100644 index d9ba9e6f590..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSettingRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Request Builder. - */ -public interface IBaseGroupSettingRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IGroupSettingRequest instance - */ - IGroupSettingRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupSettingRequest instance - */ - IGroupSettingRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionPage.java deleted file mode 100644 index fd7251a48fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Template Collection Page. - */ -public interface IBaseGroupSettingTemplateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequest.java deleted file mode 100644 index f166c4a6b67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Template Collection Request. - */ -public interface IBaseGroupSettingTemplateCollectionRequest { - - void get(final ICallback callback); - - IGroupSettingTemplateCollectionPage get() throws ClientException; - - void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback); - - GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IGroupSettingTemplateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IGroupSettingTemplateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IGroupSettingTemplateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequestBuilder.java deleted file mode 100644 index 0f51fefc895..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Template Collection Request Builder. - */ -public interface IBaseGroupSettingTemplateCollectionRequestBuilder extends IRequestBuilder { - - IGroupSettingTemplateCollectionRequest buildRequest(); - - IGroupSettingTemplateCollectionRequest buildRequest(final java.util.List requestOptions); - - IGroupSettingTemplateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequest.java deleted file mode 100644 index 52559e77c0f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.GroupSettingTemplate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Template Request. - */ -public interface IBaseGroupSettingTemplateRequest extends IHttpRequest { - - /** - * Gets the GroupSettingTemplate from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the GroupSettingTemplate from the service - * - * @return the GroupSettingTemplate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupSettingTemplate get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this GroupSettingTemplate with a source - * - * @param sourceGroupSettingTemplate the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final GroupSettingTemplate sourceGroupSettingTemplate, final ICallback callback); - - /** - * Patches this GroupSettingTemplate with a source - * - * @param sourceGroupSettingTemplate the source object with updates - * @return the updated GroupSettingTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupSettingTemplate patch(final GroupSettingTemplate sourceGroupSettingTemplate) throws ClientException; - - /** - * Posts a GroupSettingTemplate with a new object - * - * @param newGroupSettingTemplate the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback); - - /** - * Posts a GroupSettingTemplate with a new object - * - * @param newGroupSettingTemplate the new object to create - * @return the created GroupSettingTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseGroupSettingTemplateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseGroupSettingTemplateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequestBuilder.java deleted file mode 100644 index d5f24e389c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSettingTemplateRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSettingTemplateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Setting Template Request Builder. - */ -public interface IBaseGroupSettingTemplateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IGroupSettingTemplateRequest instance - */ - IGroupSettingTemplateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupSettingTemplateRequest instance - */ - IGroupSettingTemplateRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequest.java deleted file mode 100644 index e2c94827206..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Subscribe By Mail Request. - */ -public interface IBaseGroupSubscribeByMailRequest { - - /** - * Creates the GroupSubscribeByMail - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the GroupSubscribeByMail - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequestBuilder.java deleted file mode 100644 index c49b154a8a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupSubscribeByMailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupSubscribeByMailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Subscribe By Mail Request Builder. - */ -public interface IBaseGroupSubscribeByMailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupSubscribeByMailRequest - * - * @return the IGroupSubscribeByMailRequest instance - */ - IGroupSubscribeByMailRequest buildRequest(); - - /** - * Creates the IGroupSubscribeByMailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupSubscribeByMailRequest instance - */ - IGroupSubscribeByMailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequest.java deleted file mode 100644 index e908fba84b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Unsubscribe By Mail Request. - */ -public interface IBaseGroupUnsubscribeByMailRequest { - - /** - * Creates the GroupUnsubscribeByMail - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the GroupUnsubscribeByMail - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequestBuilder.java deleted file mode 100644 index 907a4db75f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupUnsubscribeByMailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IGroupUnsubscribeByMailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group Unsubscribe By Mail Request Builder. - */ -public interface IBaseGroupUnsubscribeByMailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IGroupUnsubscribeByMailRequest - * - * @return the IGroupUnsubscribeByMailRequest instance - */ - IGroupUnsubscribeByMailRequest buildRequest(); - - /** - * Creates the IGroupUnsubscribeByMailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IGroupUnsubscribeByMailRequest instance - */ - IGroupUnsubscribeByMailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequest.java deleted file mode 100644 index 5e8dc218ab4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group With Reference Request. - */ -public interface IBaseGroupWithReferenceRequest extends IHttpRequest { - - void post(final Group newGroup, final IJsonBackedObject payload, final ICallback callback); - - Group post(final Group newGroup, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - Group get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final Group sourceGroup, final ICallback callback); - - Group patch(final Group sourceGroup) throws ClientException; - - IBaseGroupWithReferenceRequest select(final String value); - - IBaseGroupWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequestBuilder.java deleted file mode 100644 index 7dba1d108b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseGroupWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Group With Reference Request Builder. - */ -public interface IBaseGroupWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IGroupWithReferenceRequest instance - */ - IGroupWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IGroupWithReferenceRequest instance - */ - IGroupWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IGroupReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionPage.java deleted file mode 100644 index e6dc7a072a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Override Collection Page. - */ -public interface IBaseInferenceClassificationOverrideCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequest.java deleted file mode 100644 index 5a63fb8d5f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Override Collection Request. - */ -public interface IBaseInferenceClassificationOverrideCollectionRequest { - - void get(final ICallback callback); - - IInferenceClassificationOverrideCollectionPage get() throws ClientException; - - void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback); - - InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IInferenceClassificationOverrideCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IInferenceClassificationOverrideCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IInferenceClassificationOverrideCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequestBuilder.java deleted file mode 100644 index 6caaec0a703..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Override Collection Request Builder. - */ -public interface IBaseInferenceClassificationOverrideCollectionRequestBuilder extends IRequestBuilder { - - IInferenceClassificationOverrideCollectionRequest buildRequest(); - - IInferenceClassificationOverrideCollectionRequest buildRequest(final java.util.List requestOptions); - - IInferenceClassificationOverrideRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequest.java deleted file mode 100644 index 249a443a3d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.InferenceClassificationOverride; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Override Request. - */ -public interface IBaseInferenceClassificationOverrideRequest extends IHttpRequest { - - /** - * Gets the InferenceClassificationOverride from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the InferenceClassificationOverride from the service - * - * @return the InferenceClassificationOverride from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - InferenceClassificationOverride get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this InferenceClassificationOverride with a source - * - * @param sourceInferenceClassificationOverride the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final InferenceClassificationOverride sourceInferenceClassificationOverride, final ICallback callback); - - /** - * Patches this InferenceClassificationOverride with a source - * - * @param sourceInferenceClassificationOverride the source object with updates - * @return the updated InferenceClassificationOverride - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - InferenceClassificationOverride patch(final InferenceClassificationOverride sourceInferenceClassificationOverride) throws ClientException; - - /** - * Posts a InferenceClassificationOverride with a new object - * - * @param newInferenceClassificationOverride the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback); - - /** - * Posts a InferenceClassificationOverride with a new object - * - * @param newInferenceClassificationOverride the new object to create - * @return the created InferenceClassificationOverride - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseInferenceClassificationOverrideRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseInferenceClassificationOverrideRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequestBuilder.java deleted file mode 100644 index 2d6ea3fd26a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationOverrideRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Override Request Builder. - */ -public interface IBaseInferenceClassificationOverrideRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IInferenceClassificationOverrideRequest instance - */ - IInferenceClassificationOverrideRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IInferenceClassificationOverrideRequest instance - */ - IInferenceClassificationOverrideRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequest.java deleted file mode 100644 index 5b26ebb4560..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.InferenceClassification; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Request. - */ -public interface IBaseInferenceClassificationRequest extends IHttpRequest { - - /** - * Gets the InferenceClassification from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the InferenceClassification from the service - * - * @return the InferenceClassification from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - InferenceClassification get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this InferenceClassification with a source - * - * @param sourceInferenceClassification the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final InferenceClassification sourceInferenceClassification, final ICallback callback); - - /** - * Patches this InferenceClassification with a source - * - * @param sourceInferenceClassification the source object with updates - * @return the updated InferenceClassification - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - InferenceClassification patch(final InferenceClassification sourceInferenceClassification) throws ClientException; - - /** - * Posts a InferenceClassification with a new object - * - * @param newInferenceClassification the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final InferenceClassification newInferenceClassification, final ICallback callback); - - /** - * Posts a InferenceClassification with a new object - * - * @param newInferenceClassification the new object to create - * @return the created InferenceClassification - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - InferenceClassification post(final InferenceClassification newInferenceClassification) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseInferenceClassificationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseInferenceClassificationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequestBuilder.java deleted file mode 100644 index 9f6fc097332..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInferenceClassificationRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInferenceClassificationRequest; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IInferenceClassificationOverrideRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Inference Classification Request Builder. - */ -public interface IBaseInferenceClassificationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IInferenceClassificationRequest instance - */ - IInferenceClassificationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IInferenceClassificationRequest instance - */ - IInferenceClassificationRequest buildRequest(final java.util.List requestOptions); - - IInferenceClassificationOverrideCollectionRequestBuilder overrides(); - - IInferenceClassificationOverrideRequestBuilder overrides(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionPage.java deleted file mode 100644 index c52cd06fe34..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Invitation Collection Page. - */ -public interface IBaseInvitationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequest.java deleted file mode 100644 index 3429f85c7d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Invitation Collection Request. - */ -public interface IBaseInvitationCollectionRequest { - - void get(final ICallback callback); - - IInvitationCollectionPage get() throws ClientException; - - void post(final Invitation newInvitation, final ICallback callback); - - Invitation post(final Invitation newInvitation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IInvitationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IInvitationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IInvitationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequestBuilder.java deleted file mode 100644 index ff1c3e06c2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Invitation Collection Request Builder. - */ -public interface IBaseInvitationCollectionRequestBuilder extends IRequestBuilder { - - IInvitationCollectionRequest buildRequest(); - - IInvitationCollectionRequest buildRequest(final java.util.List requestOptions); - - IInvitationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequest.java deleted file mode 100644 index 783c2cdb2d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Invitation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Invitation Request. - */ -public interface IBaseInvitationRequest extends IHttpRequest { - - /** - * Gets the Invitation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Invitation from the service - * - * @return the Invitation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Invitation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Invitation with a source - * - * @param sourceInvitation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Invitation sourceInvitation, final ICallback callback); - - /** - * Patches this Invitation with a source - * - * @param sourceInvitation the source object with updates - * @return the updated Invitation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Invitation patch(final Invitation sourceInvitation) throws ClientException; - - /** - * Posts a Invitation with a new object - * - * @param newInvitation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Invitation newInvitation, final ICallback callback); - - /** - * Posts a Invitation with a new object - * - * @param newInvitation the new object to create - * @return the created Invitation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Invitation post(final Invitation newInvitation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseInvitationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseInvitationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequestBuilder.java deleted file mode 100644 index 5f8f51e76a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseInvitationRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IInvitationRequest; -import com.microsoft.graph.requests.extensions.IUserWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Invitation Request Builder. - */ -public interface IBaseInvitationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IInvitationRequest instance - */ - IInvitationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IInvitationRequest instance - */ - IInvitationRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for User - * - * @return the IUserWithReferenceRequestBuilder instance - */ - IUserWithReferenceRequestBuilder invitedUser(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequest.java deleted file mode 100644 index deb539127d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosCertificateProfile; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Certificate Profile Request. - */ -public interface IBaseIosCertificateProfileRequest extends IHttpRequest { - - /** - * Gets the IosCertificateProfile from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosCertificateProfile from the service - * - * @return the IosCertificateProfile from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCertificateProfile get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosCertificateProfile with a source - * - * @param sourceIosCertificateProfile the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosCertificateProfile sourceIosCertificateProfile, final ICallback callback); - - /** - * Patches this IosCertificateProfile with a source - * - * @param sourceIosCertificateProfile the source object with updates - * @return the updated IosCertificateProfile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCertificateProfile patch(final IosCertificateProfile sourceIosCertificateProfile) throws ClientException; - - /** - * Posts a IosCertificateProfile with a new object - * - * @param newIosCertificateProfile the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosCertificateProfile newIosCertificateProfile, final ICallback callback); - - /** - * Posts a IosCertificateProfile with a new object - * - * @param newIosCertificateProfile the new object to create - * @return the created IosCertificateProfile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCertificateProfile post(final IosCertificateProfile newIosCertificateProfile) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosCertificateProfileRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosCertificateProfileRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequestBuilder.java deleted file mode 100644 index 5c8ac664f29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCertificateProfileRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCertificateProfileRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Certificate Profile Request Builder. - */ -public interface IBaseIosCertificateProfileRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosCertificateProfileRequest instance - */ - IIosCertificateProfileRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosCertificateProfileRequest instance - */ - IIosCertificateProfileRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequest.java deleted file mode 100644 index 2fee83418db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Compliance Policy Request. - */ -public interface IBaseIosCompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the IosCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosCompliancePolicy from the service - * - * @return the IosCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosCompliancePolicy with a source - * - * @param sourceIosCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosCompliancePolicy sourceIosCompliancePolicy, final ICallback callback); - - /** - * Patches this IosCompliancePolicy with a source - * - * @param sourceIosCompliancePolicy the source object with updates - * @return the updated IosCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCompliancePolicy patch(final IosCompliancePolicy sourceIosCompliancePolicy) throws ClientException; - - /** - * Posts a IosCompliancePolicy with a new object - * - * @param newIosCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosCompliancePolicy newIosCompliancePolicy, final ICallback callback); - - /** - * Posts a IosCompliancePolicy with a new object - * - * @param newIosCompliancePolicy the new object to create - * @return the created IosCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCompliancePolicy post(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosCompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosCompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequestBuilder.java deleted file mode 100644 index 57d69a4b681..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Compliance Policy Request Builder. - */ -public interface IBaseIosCompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosCompliancePolicyRequest instance - */ - IIosCompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosCompliancePolicyRequest instance - */ - IIosCompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequest.java deleted file mode 100644 index b0807dd6af7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Custom Configuration Request. - */ -public interface IBaseIosCustomConfigurationRequest extends IHttpRequest { - - /** - * Gets the IosCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosCustomConfiguration from the service - * - * @return the IosCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCustomConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosCustomConfiguration with a source - * - * @param sourceIosCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosCustomConfiguration sourceIosCustomConfiguration, final ICallback callback); - - /** - * Patches this IosCustomConfiguration with a source - * - * @param sourceIosCustomConfiguration the source object with updates - * @return the updated IosCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCustomConfiguration patch(final IosCustomConfiguration sourceIosCustomConfiguration) throws ClientException; - - /** - * Posts a IosCustomConfiguration with a new object - * - * @param newIosCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosCustomConfiguration newIosCustomConfiguration, final ICallback callback); - - /** - * Posts a IosCustomConfiguration with a new object - * - * @param newIosCustomConfiguration the new object to create - * @return the created IosCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosCustomConfiguration post(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosCustomConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosCustomConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequestBuilder.java deleted file mode 100644 index 89b17ee9af6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosCustomConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Custom Configuration Request Builder. - */ -public interface IBaseIosCustomConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosCustomConfigurationRequest instance - */ - IIosCustomConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosCustomConfigurationRequest instance - */ - IIosCustomConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequest.java deleted file mode 100644 index 4cf204c12dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosDeviceFeaturesConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Device Features Configuration Request. - */ -public interface IBaseIosDeviceFeaturesConfigurationRequest extends IHttpRequest { - - /** - * Gets the IosDeviceFeaturesConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosDeviceFeaturesConfiguration from the service - * - * @return the IosDeviceFeaturesConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosDeviceFeaturesConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosDeviceFeaturesConfiguration with a source - * - * @param sourceIosDeviceFeaturesConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration, final ICallback callback); - - /** - * Patches this IosDeviceFeaturesConfiguration with a source - * - * @param sourceIosDeviceFeaturesConfiguration the source object with updates - * @return the updated IosDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosDeviceFeaturesConfiguration patch(final IosDeviceFeaturesConfiguration sourceIosDeviceFeaturesConfiguration) throws ClientException; - - /** - * Posts a IosDeviceFeaturesConfiguration with a new object - * - * @param newIosDeviceFeaturesConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration, final ICallback callback); - - /** - * Posts a IosDeviceFeaturesConfiguration with a new object - * - * @param newIosDeviceFeaturesConfiguration the new object to create - * @return the created IosDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosDeviceFeaturesConfiguration post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosDeviceFeaturesConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosDeviceFeaturesConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequestBuilder.java deleted file mode 100644 index d69132671a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosDeviceFeaturesConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosDeviceFeaturesConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Device Features Configuration Request Builder. - */ -public interface IBaseIosDeviceFeaturesConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosDeviceFeaturesConfigurationRequest instance - */ - IIosDeviceFeaturesConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosDeviceFeaturesConfigurationRequest instance - */ - IIosDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequest.java deleted file mode 100644 index 826baf943a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios General Device Configuration Request. - */ -public interface IBaseIosGeneralDeviceConfigurationRequest extends IHttpRequest { - - /** - * Gets the IosGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosGeneralDeviceConfiguration from the service - * - * @return the IosGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosGeneralDeviceConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosGeneralDeviceConfiguration with a source - * - * @param sourceIosGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration, final ICallback callback); - - /** - * Patches this IosGeneralDeviceConfiguration with a source - * - * @param sourceIosGeneralDeviceConfiguration the source object with updates - * @return the updated IosGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosGeneralDeviceConfiguration patch(final IosGeneralDeviceConfiguration sourceIosGeneralDeviceConfiguration) throws ClientException; - - /** - * Posts a IosGeneralDeviceConfiguration with a new object - * - * @param newIosGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration, final ICallback callback); - - /** - * Posts a IosGeneralDeviceConfiguration with a new object - * - * @param newIosGeneralDeviceConfiguration the new object to create - * @return the created IosGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosGeneralDeviceConfiguration post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosGeneralDeviceConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosGeneralDeviceConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index 708633ca49a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios General Device Configuration Request Builder. - */ -public interface IBaseIosGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosGeneralDeviceConfigurationRequest instance - */ - IIosGeneralDeviceConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosGeneralDeviceConfigurationRequest instance - */ - IIosGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequest.java deleted file mode 100644 index 8fe5be4ac28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Lob App Request. - */ -public interface IBaseIosLobAppRequest extends IHttpRequest { - - /** - * Gets the IosLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosLobApp from the service - * - * @return the IosLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosLobApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosLobApp with a source - * - * @param sourceIosLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosLobApp sourceIosLobApp, final ICallback callback); - - /** - * Patches this IosLobApp with a source - * - * @param sourceIosLobApp the source object with updates - * @return the updated IosLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosLobApp patch(final IosLobApp sourceIosLobApp) throws ClientException; - - /** - * Posts a IosLobApp with a new object - * - * @param newIosLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosLobApp newIosLobApp, final ICallback callback); - - /** - * Posts a IosLobApp with a new object - * - * @param newIosLobApp the new object to create - * @return the created IosLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosLobApp post(final IosLobApp newIosLobApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosLobAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosLobAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequestBuilder.java deleted file mode 100644 index 9c0c38b9eef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosLobAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosLobAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Lob App Request Builder. - */ -public interface IBaseIosLobAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosLobAppRequest instance - */ - IIosLobAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosLobAppRequest instance - */ - IIosLobAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionPage.java deleted file mode 100644 index b9b6d3c83a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Protection Collection Page. - */ -public interface IBaseIosManagedAppProtectionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequest.java deleted file mode 100644 index 2af91791fb4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Protection Collection Request. - */ -public interface IBaseIosManagedAppProtectionCollectionRequest { - - void get(final ICallback callback); - - IIosManagedAppProtectionCollectionPage get() throws ClientException; - - void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback); - - IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IIosManagedAppProtectionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IIosManagedAppProtectionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IIosManagedAppProtectionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequestBuilder.java deleted file mode 100644 index 2aa8588d04b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Protection Collection Request Builder. - */ -public interface IBaseIosManagedAppProtectionCollectionRequestBuilder extends IRequestBuilder { - - IIosManagedAppProtectionCollectionRequest buildRequest(); - - IIosManagedAppProtectionCollectionRequest buildRequest(final java.util.List requestOptions); - - IIosManagedAppProtectionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequest.java deleted file mode 100644 index 84399846afd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Protection Request. - */ -public interface IBaseIosManagedAppProtectionRequest extends IHttpRequest { - - /** - * Gets the IosManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosManagedAppProtection from the service - * - * @return the IosManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosManagedAppProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosManagedAppProtection with a source - * - * @param sourceIosManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosManagedAppProtection sourceIosManagedAppProtection, final ICallback callback); - - /** - * Patches this IosManagedAppProtection with a source - * - * @param sourceIosManagedAppProtection the source object with updates - * @return the updated IosManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosManagedAppProtection patch(final IosManagedAppProtection sourceIosManagedAppProtection) throws ClientException; - - /** - * Posts a IosManagedAppProtection with a new object - * - * @param newIosManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback); - - /** - * Posts a IosManagedAppProtection with a new object - * - * @param newIosManagedAppProtection the new object to create - * @return the created IosManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosManagedAppProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosManagedAppProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 1e3890ddff6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Protection Request Builder. - */ -public interface IBaseIosManagedAppProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosManagedAppProtectionRequest instance - */ - IIosManagedAppProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosManagedAppProtectionRequest instance - */ - IIosManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); - - IManagedMobileAppCollectionRequestBuilder apps(); - - IManagedMobileAppRequestBuilder apps(final String id); - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequest.java deleted file mode 100644 index 469316de6c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosManagedAppRegistration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Registration Request. - */ -public interface IBaseIosManagedAppRegistrationRequest extends IHttpRequest { - - /** - * Gets the IosManagedAppRegistration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosManagedAppRegistration from the service - * - * @return the IosManagedAppRegistration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosManagedAppRegistration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosManagedAppRegistration with a source - * - * @param sourceIosManagedAppRegistration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosManagedAppRegistration sourceIosManagedAppRegistration, final ICallback callback); - - /** - * Patches this IosManagedAppRegistration with a source - * - * @param sourceIosManagedAppRegistration the source object with updates - * @return the updated IosManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosManagedAppRegistration patch(final IosManagedAppRegistration sourceIosManagedAppRegistration) throws ClientException; - - /** - * Posts a IosManagedAppRegistration with a new object - * - * @param newIosManagedAppRegistration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosManagedAppRegistration newIosManagedAppRegistration, final ICallback callback); - - /** - * Posts a IosManagedAppRegistration with a new object - * - * @param newIosManagedAppRegistration the new object to create - * @return the created IosManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosManagedAppRegistration post(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosManagedAppRegistrationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosManagedAppRegistrationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequestBuilder.java deleted file mode 100644 index 5e527c81476..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosManagedAppRegistrationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosManagedAppRegistrationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Managed App Registration Request Builder. - */ -public interface IBaseIosManagedAppRegistrationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosManagedAppRegistrationRequest instance - */ - IIosManagedAppRegistrationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosManagedAppRegistrationRequest instance - */ - IIosManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequest.java deleted file mode 100644 index d12062a6f21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosMobileAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Mobile App Configuration Request. - */ -public interface IBaseIosMobileAppConfigurationRequest extends IHttpRequest { - - /** - * Gets the IosMobileAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosMobileAppConfiguration from the service - * - * @return the IosMobileAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosMobileAppConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosMobileAppConfiguration with a source - * - * @param sourceIosMobileAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration, final ICallback callback); - - /** - * Patches this IosMobileAppConfiguration with a source - * - * @param sourceIosMobileAppConfiguration the source object with updates - * @return the updated IosMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosMobileAppConfiguration patch(final IosMobileAppConfiguration sourceIosMobileAppConfiguration) throws ClientException; - - /** - * Posts a IosMobileAppConfiguration with a new object - * - * @param newIosMobileAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosMobileAppConfiguration newIosMobileAppConfiguration, final ICallback callback); - - /** - * Posts a IosMobileAppConfiguration with a new object - * - * @param newIosMobileAppConfiguration the new object to create - * @return the created IosMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosMobileAppConfiguration post(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosMobileAppConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosMobileAppConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequestBuilder.java deleted file mode 100644 index d8cc891d286..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosMobileAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosMobileAppConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Mobile App Configuration Request Builder. - */ -public interface IBaseIosMobileAppConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosMobileAppConfigurationRequest instance - */ - IIosMobileAppConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosMobileAppConfigurationRequest instance - */ - IIosMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequest.java deleted file mode 100644 index 9960d15d70f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Store App Request. - */ -public interface IBaseIosStoreAppRequest extends IHttpRequest { - - /** - * Gets the IosStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosStoreApp from the service - * - * @return the IosStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosStoreApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosStoreApp with a source - * - * @param sourceIosStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosStoreApp sourceIosStoreApp, final ICallback callback); - - /** - * Patches this IosStoreApp with a source - * - * @param sourceIosStoreApp the source object with updates - * @return the updated IosStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosStoreApp patch(final IosStoreApp sourceIosStoreApp) throws ClientException; - - /** - * Posts a IosStoreApp with a new object - * - * @param newIosStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosStoreApp newIosStoreApp, final ICallback callback); - - /** - * Posts a IosStoreApp with a new object - * - * @param newIosStoreApp the new object to create - * @return the created IosStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosStoreApp post(final IosStoreApp newIosStoreApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosStoreAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosStoreAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequestBuilder.java deleted file mode 100644 index b8cf527920d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosStoreAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosStoreAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Store App Request Builder. - */ -public interface IBaseIosStoreAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosStoreAppRequest instance - */ - IIosStoreAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosStoreAppRequest instance - */ - IIosStoreAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequest.java deleted file mode 100644 index 116fcc81788..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosUpdateConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Configuration Request. - */ -public interface IBaseIosUpdateConfigurationRequest extends IHttpRequest { - - /** - * Gets the IosUpdateConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosUpdateConfiguration from the service - * - * @return the IosUpdateConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosUpdateConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosUpdateConfiguration with a source - * - * @param sourceIosUpdateConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosUpdateConfiguration sourceIosUpdateConfiguration, final ICallback callback); - - /** - * Patches this IosUpdateConfiguration with a source - * - * @param sourceIosUpdateConfiguration the source object with updates - * @return the updated IosUpdateConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosUpdateConfiguration patch(final IosUpdateConfiguration sourceIosUpdateConfiguration) throws ClientException; - - /** - * Posts a IosUpdateConfiguration with a new object - * - * @param newIosUpdateConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosUpdateConfiguration newIosUpdateConfiguration, final ICallback callback); - - /** - * Posts a IosUpdateConfiguration with a new object - * - * @param newIosUpdateConfiguration the new object to create - * @return the created IosUpdateConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosUpdateConfiguration post(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosUpdateConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosUpdateConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequestBuilder.java deleted file mode 100644 index 87cee7e2385..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosUpdateConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Configuration Request Builder. - */ -public interface IBaseIosUpdateConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosUpdateConfigurationRequest instance - */ - IIosUpdateConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosUpdateConfigurationRequest instance - */ - IIosUpdateConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionPage.java deleted file mode 100644 index 72a94662b8e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Device Status Collection Page. - */ -public interface IBaseIosUpdateDeviceStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequest.java deleted file mode 100644 index 9eaf2a29498..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Device Status Collection Request. - */ -public interface IBaseIosUpdateDeviceStatusCollectionRequest { - - void get(final ICallback callback); - - IIosUpdateDeviceStatusCollectionPage get() throws ClientException; - - void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback); - - IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IIosUpdateDeviceStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IIosUpdateDeviceStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IIosUpdateDeviceStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index 90359df2be8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Device Status Collection Request Builder. - */ -public interface IBaseIosUpdateDeviceStatusCollectionRequestBuilder extends IRequestBuilder { - - IIosUpdateDeviceStatusCollectionRequest buildRequest(); - - IIosUpdateDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IIosUpdateDeviceStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequest.java deleted file mode 100644 index 72ac3d5dc4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Device Status Request. - */ -public interface IBaseIosUpdateDeviceStatusRequest extends IHttpRequest { - - /** - * Gets the IosUpdateDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosUpdateDeviceStatus from the service - * - * @return the IosUpdateDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosUpdateDeviceStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosUpdateDeviceStatus with a source - * - * @param sourceIosUpdateDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus, final ICallback callback); - - /** - * Patches this IosUpdateDeviceStatus with a source - * - * @param sourceIosUpdateDeviceStatus the source object with updates - * @return the updated IosUpdateDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosUpdateDeviceStatus patch(final IosUpdateDeviceStatus sourceIosUpdateDeviceStatus) throws ClientException; - - /** - * Posts a IosUpdateDeviceStatus with a new object - * - * @param newIosUpdateDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback); - - /** - * Posts a IosUpdateDeviceStatus with a new object - * - * @param newIosUpdateDeviceStatus the new object to create - * @return the created IosUpdateDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosUpdateDeviceStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosUpdateDeviceStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequestBuilder.java deleted file mode 100644 index b41f232222f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosUpdateDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosUpdateDeviceStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Update Device Status Request Builder. - */ -public interface IBaseIosUpdateDeviceStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosUpdateDeviceStatusRequest instance - */ - IIosUpdateDeviceStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosUpdateDeviceStatusRequest instance - */ - IIosUpdateDeviceStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequest.java deleted file mode 100644 index 44431172f90..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosVppApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Vpp App Request. - */ -public interface IBaseIosVppAppRequest extends IHttpRequest { - - /** - * Gets the IosVppApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosVppApp from the service - * - * @return the IosVppApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosVppApp with a source - * - * @param sourceIosVppApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosVppApp sourceIosVppApp, final ICallback callback); - - /** - * Patches this IosVppApp with a source - * - * @param sourceIosVppApp the source object with updates - * @return the updated IosVppApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppApp patch(final IosVppApp sourceIosVppApp) throws ClientException; - - /** - * Posts a IosVppApp with a new object - * - * @param newIosVppApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosVppApp newIosVppApp, final ICallback callback); - - /** - * Posts a IosVppApp with a new object - * - * @param newIosVppApp the new object to create - * @return the created IosVppApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppApp post(final IosVppApp newIosVppApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosVppAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosVppAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequestBuilder.java deleted file mode 100644 index 4b96baee93d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Vpp App Request Builder. - */ -public interface IBaseIosVppAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosVppAppRequest instance - */ - IIosVppAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosVppAppRequest instance - */ - IIosVppAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequest.java deleted file mode 100644 index 1477dc510f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosVppEBookAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Vpp EBook Assignment Request. - */ -public interface IBaseIosVppEBookAssignmentRequest extends IHttpRequest { - - /** - * Gets the IosVppEBookAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosVppEBookAssignment from the service - * - * @return the IosVppEBookAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppEBookAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosVppEBookAssignment with a source - * - * @param sourceIosVppEBookAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosVppEBookAssignment sourceIosVppEBookAssignment, final ICallback callback); - - /** - * Patches this IosVppEBookAssignment with a source - * - * @param sourceIosVppEBookAssignment the source object with updates - * @return the updated IosVppEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppEBookAssignment patch(final IosVppEBookAssignment sourceIosVppEBookAssignment) throws ClientException; - - /** - * Posts a IosVppEBookAssignment with a new object - * - * @param newIosVppEBookAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosVppEBookAssignment newIosVppEBookAssignment, final ICallback callback); - - /** - * Posts a IosVppEBookAssignment with a new object - * - * @param newIosVppEBookAssignment the new object to create - * @return the created IosVppEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppEBookAssignment post(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosVppEBookAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosVppEBookAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequestBuilder.java deleted file mode 100644 index c60acad91af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppEBookAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Vpp EBook Assignment Request Builder. - */ -public interface IBaseIosVppEBookAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosVppEBookAssignmentRequest instance - */ - IIosVppEBookAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosVppEBookAssignmentRequest instance - */ - IIosVppEBookAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequest.java deleted file mode 100644 index 545f2ff639f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.IosVppEBook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Vpp EBook Request. - */ -public interface IBaseIosVppEBookRequest extends IHttpRequest { - - /** - * Gets the IosVppEBook from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the IosVppEBook from the service - * - * @return the IosVppEBook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppEBook get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this IosVppEBook with a source - * - * @param sourceIosVppEBook the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final IosVppEBook sourceIosVppEBook, final ICallback callback); - - /** - * Patches this IosVppEBook with a source - * - * @param sourceIosVppEBook the source object with updates - * @return the updated IosVppEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppEBook patch(final IosVppEBook sourceIosVppEBook) throws ClientException; - - /** - * Posts a IosVppEBook with a new object - * - * @param newIosVppEBook the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final IosVppEBook newIosVppEBook, final ICallback callback); - - /** - * Posts a IosVppEBook with a new object - * - * @param newIosVppEBook the new object to create - * @return the created IosVppEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - IosVppEBook post(final IosVppEBook newIosVppEBook) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseIosVppEBookRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseIosVppEBookRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequestBuilder.java deleted file mode 100644 index c624984c165..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseIosVppEBookRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IIosVppEBookRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Ios Vpp EBook Request Builder. - */ -public interface IBaseIosVppEBookRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IIosVppEBookRequest instance - */ - IIosVppEBookRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IIosVppEBookRequest instance - */ - IIosVppEBookRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequest.java deleted file mode 100644 index 0ddb3a945ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ItemAttachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Item Attachment Request. - */ -public interface IBaseItemAttachmentRequest extends IHttpRequest { - - /** - * Gets the ItemAttachment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ItemAttachment from the service - * - * @return the ItemAttachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ItemAttachment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ItemAttachment with a source - * - * @param sourceItemAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ItemAttachment sourceItemAttachment, final ICallback callback); - - /** - * Patches this ItemAttachment with a source - * - * @param sourceItemAttachment the source object with updates - * @return the updated ItemAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ItemAttachment patch(final ItemAttachment sourceItemAttachment) throws ClientException; - - /** - * Posts a ItemAttachment with a new object - * - * @param newItemAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ItemAttachment newItemAttachment, final ICallback callback); - - /** - * Posts a ItemAttachment with a new object - * - * @param newItemAttachment the new object to create - * @return the created ItemAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ItemAttachment post(final ItemAttachment newItemAttachment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseItemAttachmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseItemAttachmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequestBuilder.java deleted file mode 100644 index 3ae2c83169c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseItemAttachmentRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IItemAttachmentRequest; -import com.microsoft.graph.requests.extensions.IOutlookItemRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Item Attachment Request Builder. - */ -public interface IBaseItemAttachmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IItemAttachmentRequest instance - */ - IItemAttachmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IItemAttachmentRequest instance - */ - IItemAttachmentRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for OutlookItem - * - * @return the IOutlookItemRequestBuilder instance - */ - IOutlookItemRequestBuilder item(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionPage.java deleted file mode 100644 index 381ad350ee9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base License Details Collection Page. - */ -public interface IBaseLicenseDetailsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequest.java deleted file mode 100644 index 20f005ef96c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base License Details Collection Request. - */ -public interface IBaseLicenseDetailsCollectionRequest { - - void get(final ICallback callback); - - ILicenseDetailsCollectionPage get() throws ClientException; - - void post(final LicenseDetails newLicenseDetails, final ICallback callback); - - LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ILicenseDetailsCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ILicenseDetailsCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ILicenseDetailsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequestBuilder.java deleted file mode 100644 index cb810d25c6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base License Details Collection Request Builder. - */ -public interface IBaseLicenseDetailsCollectionRequestBuilder extends IRequestBuilder { - - ILicenseDetailsCollectionRequest buildRequest(); - - ILicenseDetailsCollectionRequest buildRequest(final java.util.List requestOptions); - - ILicenseDetailsRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequest.java deleted file mode 100644 index 6fec1c82472..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.LicenseDetails; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base License Details Request. - */ -public interface IBaseLicenseDetailsRequest extends IHttpRequest { - - /** - * Gets the LicenseDetails from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the LicenseDetails from the service - * - * @return the LicenseDetails from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - LicenseDetails get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this LicenseDetails with a source - * - * @param sourceLicenseDetails the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final LicenseDetails sourceLicenseDetails, final ICallback callback); - - /** - * Patches this LicenseDetails with a source - * - * @param sourceLicenseDetails the source object with updates - * @return the updated LicenseDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - LicenseDetails patch(final LicenseDetails sourceLicenseDetails) throws ClientException; - - /** - * Posts a LicenseDetails with a new object - * - * @param newLicenseDetails the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final LicenseDetails newLicenseDetails, final ICallback callback); - - /** - * Posts a LicenseDetails with a new object - * - * @param newLicenseDetails the new object to create - * @return the created LicenseDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseLicenseDetailsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseLicenseDetailsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequestBuilder.java deleted file mode 100644 index 37405255b36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLicenseDetailsRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ILicenseDetailsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base License Details Request Builder. - */ -public interface IBaseLicenseDetailsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ILicenseDetailsRequest instance - */ - ILicenseDetailsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ILicenseDetailsRequest instance - */ - ILicenseDetailsRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionPage.java deleted file mode 100644 index 351be1d5e26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Collection Page. - */ -public interface IBaseListCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequest.java deleted file mode 100644 index acd577777aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Collection Request. - */ -public interface IBaseListCollectionRequest { - - void get(final ICallback callback); - - IListCollectionPage get() throws ClientException; - - void post(final List newList, final ICallback callback); - - List post(final List newList) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IListCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IListCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IListCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequestBuilder.java deleted file mode 100644 index 0834b11d141..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Collection Request Builder. - */ -public interface IBaseListCollectionRequestBuilder extends IRequestBuilder { - - IListCollectionRequest buildRequest(); - - IListCollectionRequest buildRequest(final java.util.List requestOptions); - - IListRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionPage.java deleted file mode 100644 index e48433eb31d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Collection Page. - */ -public interface IBaseListItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequest.java deleted file mode 100644 index 5dd6065bf58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Collection Request. - */ -public interface IBaseListItemCollectionRequest { - - void get(final ICallback callback); - - IListItemCollectionPage get() throws ClientException; - - void post(final ListItem newListItem, final ICallback callback); - - ListItem post(final ListItem newListItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IListItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IListItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IListItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequestBuilder.java deleted file mode 100644 index f100f348d30..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Collection Request Builder. - */ -public interface IBaseListItemCollectionRequestBuilder extends IRequestBuilder { - - IListItemCollectionRequest buildRequest(); - - IListItemCollectionRequest buildRequest(final java.util.List requestOptions); - - IListItemRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequest.java deleted file mode 100644 index 4b14b280d36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ListItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Request. - */ -public interface IBaseListItemRequest extends IHttpRequest { - - /** - * Gets the ListItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ListItem from the service - * - * @return the ListItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ListItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ListItem with a source - * - * @param sourceListItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ListItem sourceListItem, final ICallback callback); - - /** - * Patches this ListItem with a source - * - * @param sourceListItem the source object with updates - * @return the updated ListItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ListItem patch(final ListItem sourceListItem) throws ClientException; - - /** - * Posts a ListItem with a new object - * - * @param newListItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ListItem newListItem, final ICallback callback); - - /** - * Posts a ListItem with a new object - * - * @param newListItem the new object to create - * @return the created ListItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ListItem post(final ListItem newListItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseListItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseListItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequestBuilder.java deleted file mode 100644 index e856664100e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemRequestBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemRequest; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemVersionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemVersionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Request Builder. - */ -public interface IBaseListItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IListItemRequest instance - */ - IListItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IListItemRequest instance - */ - IListItemRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - IDriveItemRequestBuilder driveItem(); - - /** - * Gets the request builder for FieldValueSet - * - * @return the IFieldValueSetRequestBuilder instance - */ - IFieldValueSetRequestBuilder fields(); - - IListItemVersionCollectionRequestBuilder versions(); - - IListItemVersionRequestBuilder versions(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionPage.java deleted file mode 100644 index 317992e182b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Collection Page. - */ -public interface IBaseListItemVersionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequest.java deleted file mode 100644 index 1690e1eaccd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Collection Request. - */ -public interface IBaseListItemVersionCollectionRequest { - - void get(final ICallback callback); - - IListItemVersionCollectionPage get() throws ClientException; - - void post(final ListItemVersion newListItemVersion, final ICallback callback); - - ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IListItemVersionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IListItemVersionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IListItemVersionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequestBuilder.java deleted file mode 100644 index 4d3aef0e183..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Collection Request Builder. - */ -public interface IBaseListItemVersionCollectionRequestBuilder extends IRequestBuilder { - - IListItemVersionCollectionRequest buildRequest(); - - IListItemVersionCollectionRequest buildRequest(final java.util.List requestOptions); - - IListItemVersionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequest.java deleted file mode 100644 index a5ac6836511..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ListItemVersion; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Request. - */ -public interface IBaseListItemVersionRequest extends IHttpRequest { - - /** - * Gets the ListItemVersion from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ListItemVersion from the service - * - * @return the ListItemVersion from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ListItemVersion get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ListItemVersion with a source - * - * @param sourceListItemVersion the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ListItemVersion sourceListItemVersion, final ICallback callback); - - /** - * Patches this ListItemVersion with a source - * - * @param sourceListItemVersion the source object with updates - * @return the updated ListItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ListItemVersion patch(final ListItemVersion sourceListItemVersion) throws ClientException; - - /** - * Posts a ListItemVersion with a new object - * - * @param newListItemVersion the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ListItemVersion newListItemVersion, final ICallback callback); - - /** - * Posts a ListItemVersion with a new object - * - * @param newListItemVersion the new object to create - * @return the created ListItemVersion - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseListItemVersionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseListItemVersionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequestBuilder.java deleted file mode 100644 index e87cb7667f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRequestBuilder.java +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRequest; -import com.microsoft.graph.requests.extensions.IFieldValueSetRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Request Builder. - */ -public interface IBaseListItemVersionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IListItemVersionRequest instance - */ - IListItemVersionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IListItemVersionRequest instance - */ - IListItemVersionRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for FieldValueSet - * - * @return the IFieldValueSetRequestBuilder instance - */ - IFieldValueSetRequestBuilder fields(); - IListItemVersionRestoreVersionRequestBuilder restoreVersion(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequest.java deleted file mode 100644 index dff78a3674f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Restore Version Request. - */ -public interface IBaseListItemVersionRestoreVersionRequest { - - /** - * Creates the ListItemVersionRestoreVersion - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ListItemVersionRestoreVersion - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequestBuilder.java deleted file mode 100644 index 1851b92acda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListItemVersionRestoreVersionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListItemVersionRestoreVersionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Item Version Restore Version Request Builder. - */ -public interface IBaseListItemVersionRestoreVersionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IListItemVersionRestoreVersionRequest - * - * @return the IListItemVersionRestoreVersionRequest instance - */ - IListItemVersionRestoreVersionRequest buildRequest(); - - /** - * Creates the IListItemVersionRestoreVersionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IListItemVersionRestoreVersionRequest instance - */ - IListItemVersionRestoreVersionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListRequest.java deleted file mode 100644 index 3d2b2f036a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.List; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Request. - */ -public interface IBaseListRequest extends IHttpRequest { - - /** - * Gets the List from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the List from the service - * - * @return the List from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - List get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this List with a source - * - * @param sourceList the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final List sourceList, final ICallback callback); - - /** - * Patches this List with a source - * - * @param sourceList the source object with updates - * @return the updated List - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - List patch(final List sourceList) throws ClientException; - - /** - * Posts a List with a new object - * - * @param newList the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final List newList, final ICallback callback); - - /** - * Posts a List with a new object - * - * @param newList the new object to create - * @return the created List - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - List post(final List newList) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseListRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseListRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseListRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseListRequestBuilder.java deleted file mode 100644 index 66a3894433c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseListRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IListRequest; -import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base List Request Builder. - */ -public interface IBaseListRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IListRequest instance - */ - IListRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IListRequest instance - */ - IListRequest buildRequest(final java.util.List requestOptions); - - IColumnDefinitionCollectionRequestBuilder columns(); - - IColumnDefinitionRequestBuilder columns(final String id); - - IContentTypeCollectionRequestBuilder contentTypes(); - - IContentTypeRequestBuilder contentTypes(final String id); - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - IDriveRequestBuilder drive(); - - IListItemCollectionRequestBuilder items(); - - IListItemRequestBuilder items(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionPage.java deleted file mode 100644 index ed058b2e52f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Localized Notification Message Collection Page. - */ -public interface IBaseLocalizedNotificationMessageCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequest.java deleted file mode 100644 index 012b9f58611..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Localized Notification Message Collection Request. - */ -public interface IBaseLocalizedNotificationMessageCollectionRequest { - - void get(final ICallback callback); - - ILocalizedNotificationMessageCollectionPage get() throws ClientException; - - void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback); - - LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ILocalizedNotificationMessageCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ILocalizedNotificationMessageCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ILocalizedNotificationMessageCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequestBuilder.java deleted file mode 100644 index 5f91ba96728..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Localized Notification Message Collection Request Builder. - */ -public interface IBaseLocalizedNotificationMessageCollectionRequestBuilder extends IRequestBuilder { - - ILocalizedNotificationMessageCollectionRequest buildRequest(); - - ILocalizedNotificationMessageCollectionRequest buildRequest(final java.util.List requestOptions); - - ILocalizedNotificationMessageRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequest.java deleted file mode 100644 index 84f45e471c4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.LocalizedNotificationMessage; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Localized Notification Message Request. - */ -public interface IBaseLocalizedNotificationMessageRequest extends IHttpRequest { - - /** - * Gets the LocalizedNotificationMessage from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the LocalizedNotificationMessage from the service - * - * @return the LocalizedNotificationMessage from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - LocalizedNotificationMessage get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this LocalizedNotificationMessage with a source - * - * @param sourceLocalizedNotificationMessage the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage, final ICallback callback); - - /** - * Patches this LocalizedNotificationMessage with a source - * - * @param sourceLocalizedNotificationMessage the source object with updates - * @return the updated LocalizedNotificationMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - LocalizedNotificationMessage patch(final LocalizedNotificationMessage sourceLocalizedNotificationMessage) throws ClientException; - - /** - * Posts a LocalizedNotificationMessage with a new object - * - * @param newLocalizedNotificationMessage the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback); - - /** - * Posts a LocalizedNotificationMessage with a new object - * - * @param newLocalizedNotificationMessage the new object to create - * @return the created LocalizedNotificationMessage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseLocalizedNotificationMessageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseLocalizedNotificationMessageRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequestBuilder.java deleted file mode 100644 index df716364a71..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseLocalizedNotificationMessageRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Localized Notification Message Request Builder. - */ -public interface IBaseLocalizedNotificationMessageRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ILocalizedNotificationMessageRequest instance - */ - ILocalizedNotificationMessageRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ILocalizedNotificationMessageRequest instance - */ - ILocalizedNotificationMessageRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequest.java deleted file mode 100644 index ef029b3c665..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MacOSCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSCompliance Policy Request. - */ -public interface IBaseMacOSCompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the MacOSCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MacOSCompliancePolicy from the service - * - * @return the MacOSCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSCompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MacOSCompliancePolicy with a source - * - * @param sourceMacOSCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy, final ICallback callback); - - /** - * Patches this MacOSCompliancePolicy with a source - * - * @param sourceMacOSCompliancePolicy the source object with updates - * @return the updated MacOSCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSCompliancePolicy patch(final MacOSCompliancePolicy sourceMacOSCompliancePolicy) throws ClientException; - - /** - * Posts a MacOSCompliancePolicy with a new object - * - * @param newMacOSCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MacOSCompliancePolicy newMacOSCompliancePolicy, final ICallback callback); - - /** - * Posts a MacOSCompliancePolicy with a new object - * - * @param newMacOSCompliancePolicy the new object to create - * @return the created MacOSCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSCompliancePolicy post(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMacOSCompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMacOSCompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequestBuilder.java deleted file mode 100644 index 8023a11db03..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSCompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSCompliance Policy Request Builder. - */ -public interface IBaseMacOSCompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMacOSCompliancePolicyRequest instance - */ - IMacOSCompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMacOSCompliancePolicyRequest instance - */ - IMacOSCompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequest.java deleted file mode 100644 index a3544050270..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MacOSCustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSCustom Configuration Request. - */ -public interface IBaseMacOSCustomConfigurationRequest extends IHttpRequest { - - /** - * Gets the MacOSCustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MacOSCustomConfiguration from the service - * - * @return the MacOSCustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSCustomConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MacOSCustomConfiguration with a source - * - * @param sourceMacOSCustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration, final ICallback callback); - - /** - * Patches this MacOSCustomConfiguration with a source - * - * @param sourceMacOSCustomConfiguration the source object with updates - * @return the updated MacOSCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSCustomConfiguration patch(final MacOSCustomConfiguration sourceMacOSCustomConfiguration) throws ClientException; - - /** - * Posts a MacOSCustomConfiguration with a new object - * - * @param newMacOSCustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MacOSCustomConfiguration newMacOSCustomConfiguration, final ICallback callback); - - /** - * Posts a MacOSCustomConfiguration with a new object - * - * @param newMacOSCustomConfiguration the new object to create - * @return the created MacOSCustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSCustomConfiguration post(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMacOSCustomConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMacOSCustomConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequestBuilder.java deleted file mode 100644 index 1f0521b51f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSCustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSCustomConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSCustom Configuration Request Builder. - */ -public interface IBaseMacOSCustomConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMacOSCustomConfigurationRequest instance - */ - IMacOSCustomConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMacOSCustomConfigurationRequest instance - */ - IMacOSCustomConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequest.java deleted file mode 100644 index af63ca14f0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MacOSDeviceFeaturesConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSDevice Features Configuration Request. - */ -public interface IBaseMacOSDeviceFeaturesConfigurationRequest extends IHttpRequest { - - /** - * Gets the MacOSDeviceFeaturesConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MacOSDeviceFeaturesConfiguration from the service - * - * @return the MacOSDeviceFeaturesConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSDeviceFeaturesConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MacOSDeviceFeaturesConfiguration with a source - * - * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration, final ICallback callback); - - /** - * Patches this MacOSDeviceFeaturesConfiguration with a source - * - * @param sourceMacOSDeviceFeaturesConfiguration the source object with updates - * @return the updated MacOSDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSDeviceFeaturesConfiguration patch(final MacOSDeviceFeaturesConfiguration sourceMacOSDeviceFeaturesConfiguration) throws ClientException; - - /** - * Posts a MacOSDeviceFeaturesConfiguration with a new object - * - * @param newMacOSDeviceFeaturesConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration, final ICallback callback); - - /** - * Posts a MacOSDeviceFeaturesConfiguration with a new object - * - * @param newMacOSDeviceFeaturesConfiguration the new object to create - * @return the created MacOSDeviceFeaturesConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSDeviceFeaturesConfiguration post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMacOSDeviceFeaturesConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMacOSDeviceFeaturesConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequestBuilder.java deleted file mode 100644 index 45e5df0fed3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSDeviceFeaturesConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSDeviceFeaturesConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSDevice Features Configuration Request Builder. - */ -public interface IBaseMacOSDeviceFeaturesConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMacOSDeviceFeaturesConfigurationRequest instance - */ - IMacOSDeviceFeaturesConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMacOSDeviceFeaturesConfigurationRequest instance - */ - IMacOSDeviceFeaturesConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequest.java deleted file mode 100644 index 34cd9aea045..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MacOSGeneralDeviceConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSGeneral Device Configuration Request. - */ -public interface IBaseMacOSGeneralDeviceConfigurationRequest extends IHttpRequest { - - /** - * Gets the MacOSGeneralDeviceConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MacOSGeneralDeviceConfiguration from the service - * - * @return the MacOSGeneralDeviceConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSGeneralDeviceConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MacOSGeneralDeviceConfiguration with a source - * - * @param sourceMacOSGeneralDeviceConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration, final ICallback callback); - - /** - * Patches this MacOSGeneralDeviceConfiguration with a source - * - * @param sourceMacOSGeneralDeviceConfiguration the source object with updates - * @return the updated MacOSGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSGeneralDeviceConfiguration patch(final MacOSGeneralDeviceConfiguration sourceMacOSGeneralDeviceConfiguration) throws ClientException; - - /** - * Posts a MacOSGeneralDeviceConfiguration with a new object - * - * @param newMacOSGeneralDeviceConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration, final ICallback callback); - - /** - * Posts a MacOSGeneralDeviceConfiguration with a new object - * - * @param newMacOSGeneralDeviceConfiguration the new object to create - * @return the created MacOSGeneralDeviceConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSGeneralDeviceConfiguration post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMacOSGeneralDeviceConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMacOSGeneralDeviceConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequestBuilder.java deleted file mode 100644 index afff19996fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSGeneralDeviceConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSGeneralDeviceConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSGeneral Device Configuration Request Builder. - */ -public interface IBaseMacOSGeneralDeviceConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMacOSGeneralDeviceConfigurationRequest instance - */ - IMacOSGeneralDeviceConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMacOSGeneralDeviceConfigurationRequest instance - */ - IMacOSGeneralDeviceConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequest.java deleted file mode 100644 index 38a3e7d96ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MacOSOfficeSuiteApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSOffice Suite App Request. - */ -public interface IBaseMacOSOfficeSuiteAppRequest extends IHttpRequest { - - /** - * Gets the MacOSOfficeSuiteApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MacOSOfficeSuiteApp from the service - * - * @return the MacOSOfficeSuiteApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSOfficeSuiteApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MacOSOfficeSuiteApp with a source - * - * @param sourceMacOSOfficeSuiteApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp, final ICallback callback); - - /** - * Patches this MacOSOfficeSuiteApp with a source - * - * @param sourceMacOSOfficeSuiteApp the source object with updates - * @return the updated MacOSOfficeSuiteApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSOfficeSuiteApp patch(final MacOSOfficeSuiteApp sourceMacOSOfficeSuiteApp) throws ClientException; - - /** - * Posts a MacOSOfficeSuiteApp with a new object - * - * @param newMacOSOfficeSuiteApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp, final ICallback callback); - - /** - * Posts a MacOSOfficeSuiteApp with a new object - * - * @param newMacOSOfficeSuiteApp the new object to create - * @return the created MacOSOfficeSuiteApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MacOSOfficeSuiteApp post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMacOSOfficeSuiteAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMacOSOfficeSuiteAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequestBuilder.java deleted file mode 100644 index 105f0c73020..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMacOSOfficeSuiteAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMacOSOfficeSuiteAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mac OSOffice Suite App Request Builder. - */ -public interface IBaseMacOSOfficeSuiteAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMacOSOfficeSuiteAppRequest instance - */ - IMacOSOfficeSuiteAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMacOSOfficeSuiteAppRequest instance - */ - IMacOSOfficeSuiteAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionPage.java deleted file mode 100644 index 85bde63e82b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Collection Page. - */ -public interface IBaseMailFolderCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequest.java deleted file mode 100644 index 704a21e8b06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Collection Request. - */ -public interface IBaseMailFolderCollectionRequest { - - void get(final ICallback callback); - - IMailFolderCollectionPage get() throws ClientException; - - void post(final MailFolder newMailFolder, final ICallback callback); - - MailFolder post(final MailFolder newMailFolder) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMailFolderCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMailFolderCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMailFolderCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequestBuilder.java deleted file mode 100644 index 8f64bf78710..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Collection Request Builder. - */ -public interface IBaseMailFolderCollectionRequestBuilder extends IRequestBuilder { - - IMailFolderCollectionRequest buildRequest(); - - IMailFolderCollectionRequest buildRequest(final java.util.List requestOptions); - - IMailFolderRequestBuilder byId(final String id); - - - IMailFolderDeltaCollectionRequestBuilder delta(); - - IMailFolderDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequest.java deleted file mode 100644 index da04c2e9524..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Copy Request. - */ -public interface IBaseMailFolderCopyRequest { - - void post(final ICallback callback); - - MailFolder post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMailFolderCopyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMailFolderCopyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMailFolderCopyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequestBuilder.java deleted file mode 100644 index 120326452e1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderCopyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderCopyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Copy Request Builder. - */ -public interface IBaseMailFolderCopyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMailFolderCopyRequest - * - * @return the IMailFolderCopyRequest instance - */ - IMailFolderCopyRequest buildRequest(); - - /** - * Creates the IMailFolderCopyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMailFolderCopyRequest instance - */ - IMailFolderCopyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionPage.java deleted file mode 100644 index fdb07ad4fef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Delta Collection Page. - */ -public interface IBaseMailFolderDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequest.java deleted file mode 100644 index 026a03b9ddb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Delta Collection Request. - */ -public interface IBaseMailFolderDeltaCollectionRequest { - - void get(final ICallback callback); - - IMailFolderDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMailFolderDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMailFolderDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMailFolderDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequestBuilder.java deleted file mode 100644 index 4612fbdd797..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Delta Collection Request Builder. - */ -public interface IBaseMailFolderDeltaCollectionRequestBuilder extends IRequestBuilder { - - IMailFolderDeltaCollectionRequest buildRequest(); - - IMailFolderDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequest.java deleted file mode 100644 index 0d789bbaf1c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolder; -import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Move Request. - */ -public interface IBaseMailFolderMoveRequest { - - void post(final ICallback callback); - - MailFolder post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMailFolderMoveRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMailFolderMoveRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMailFolderMoveRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequestBuilder.java deleted file mode 100644 index d8491bab006..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderMoveRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderMoveRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Move Request Builder. - */ -public interface IBaseMailFolderMoveRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMailFolderMoveRequest - * - * @return the IMailFolderMoveRequest instance - */ - IMailFolderMoveRequest buildRequest(); - - /** - * Creates the IMailFolderMoveRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMailFolderMoveRequest instance - */ - IMailFolderMoveRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequest.java deleted file mode 100644 index 7e77243c277..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MailFolder; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Request. - */ -public interface IBaseMailFolderRequest extends IHttpRequest { - - /** - * Gets the MailFolder from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MailFolder from the service - * - * @return the MailFolder from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MailFolder get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MailFolder with a source - * - * @param sourceMailFolder the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MailFolder sourceMailFolder, final ICallback callback); - - /** - * Patches this MailFolder with a source - * - * @param sourceMailFolder the source object with updates - * @return the updated MailFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MailFolder patch(final MailFolder sourceMailFolder) throws ClientException; - - /** - * Posts a MailFolder with a new object - * - * @param newMailFolder the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MailFolder newMailFolder, final ICallback callback); - - /** - * Posts a MailFolder with a new object - * - * @param newMailFolder the new object to create - * @return the created MailFolder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MailFolder post(final MailFolder newMailFolder) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMailFolderRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMailFolderRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequestBuilder.java deleted file mode 100644 index 9e59e6d5260..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMailFolderRequestBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMailFolderRequest; -import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRuleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRuleRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderMoveRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mail Folder Request Builder. - */ -public interface IBaseMailFolderRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMailFolderRequest instance - */ - IMailFolderRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMailFolderRequest instance - */ - IMailFolderRequest buildRequest(final java.util.List requestOptions); - - IMessageCollectionRequestBuilder messages(); - - IMessageRequestBuilder messages(final String id); - - IMessageRuleCollectionRequestBuilder messageRules(); - - IMessageRuleRequestBuilder messageRules(final String id); - - IMailFolderCollectionRequestBuilder childFolders(); - - IMailFolderRequestBuilder childFolders(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - IMailFolderCopyRequestBuilder copy(final String destinationId); - IMailFolderMoveRequestBuilder move(final String destinationId); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequest.java deleted file mode 100644 index fc7cff55b1f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAndroidLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Android Lob App Request. - */ -public interface IBaseManagedAndroidLobAppRequest extends IHttpRequest { - - /** - * Gets the ManagedAndroidLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAndroidLobApp from the service - * - * @return the ManagedAndroidLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAndroidLobApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAndroidLobApp with a source - * - * @param sourceManagedAndroidLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp, final ICallback callback); - - /** - * Patches this ManagedAndroidLobApp with a source - * - * @param sourceManagedAndroidLobApp the source object with updates - * @return the updated ManagedAndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAndroidLobApp patch(final ManagedAndroidLobApp sourceManagedAndroidLobApp) throws ClientException; - - /** - * Posts a ManagedAndroidLobApp with a new object - * - * @param newManagedAndroidLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAndroidLobApp newManagedAndroidLobApp, final ICallback callback); - - /** - * Posts a ManagedAndroidLobApp with a new object - * - * @param newManagedAndroidLobApp the new object to create - * @return the created ManagedAndroidLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAndroidLobApp post(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAndroidLobAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAndroidLobAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequestBuilder.java deleted file mode 100644 index ea5a32a04d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidLobAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAndroidLobAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Android Lob App Request Builder. - */ -public interface IBaseManagedAndroidLobAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAndroidLobAppRequest instance - */ - IManagedAndroidLobAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAndroidLobAppRequest instance - */ - IManagedAndroidLobAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequest.java deleted file mode 100644 index 5365ac2d7ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAndroidStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Android Store App Request. - */ -public interface IBaseManagedAndroidStoreAppRequest extends IHttpRequest { - - /** - * Gets the ManagedAndroidStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAndroidStoreApp from the service - * - * @return the ManagedAndroidStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAndroidStoreApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAndroidStoreApp with a source - * - * @param sourceManagedAndroidStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp, final ICallback callback); - - /** - * Patches this ManagedAndroidStoreApp with a source - * - * @param sourceManagedAndroidStoreApp the source object with updates - * @return the updated ManagedAndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAndroidStoreApp patch(final ManagedAndroidStoreApp sourceManagedAndroidStoreApp) throws ClientException; - - /** - * Posts a ManagedAndroidStoreApp with a new object - * - * @param newManagedAndroidStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAndroidStoreApp newManagedAndroidStoreApp, final ICallback callback); - - /** - * Posts a ManagedAndroidStoreApp with a new object - * - * @param newManagedAndroidStoreApp the new object to create - * @return the created ManagedAndroidStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAndroidStoreApp post(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAndroidStoreAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAndroidStoreAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequestBuilder.java deleted file mode 100644 index ef50df6f659..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAndroidStoreAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAndroidStoreAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Android Store App Request Builder. - */ -public interface IBaseManagedAndroidStoreAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAndroidStoreAppRequest instance - */ - IManagedAndroidStoreAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAndroidStoreAppRequest instance - */ - IManagedAndroidStoreAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequest.java deleted file mode 100644 index 3f036fb8703..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Configuration Request. - */ -public interface IBaseManagedAppConfigurationRequest extends IHttpRequest { - - /** - * Gets the ManagedAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppConfiguration from the service - * - * @return the ManagedAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppConfiguration with a source - * - * @param sourceManagedAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppConfiguration sourceManagedAppConfiguration, final ICallback callback); - - /** - * Patches this ManagedAppConfiguration with a source - * - * @param sourceManagedAppConfiguration the source object with updates - * @return the updated ManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppConfiguration patch(final ManagedAppConfiguration sourceManagedAppConfiguration) throws ClientException; - - /** - * Posts a ManagedAppConfiguration with a new object - * - * @param newManagedAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppConfiguration newManagedAppConfiguration, final ICallback callback); - - /** - * Posts a ManagedAppConfiguration with a new object - * - * @param newManagedAppConfiguration the new object to create - * @return the created ManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppConfiguration post(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequestBuilder.java deleted file mode 100644 index d8c11c13965..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Configuration Request Builder. - */ -public interface IBaseManagedAppConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppConfigurationRequest instance - */ - IManagedAppConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppConfigurationRequest instance - */ - IManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionPage.java deleted file mode 100644 index c12ff238321..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Operation Collection Page. - */ -public interface IBaseManagedAppOperationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequest.java deleted file mode 100644 index 57ee7898b09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Operation Collection Request. - */ -public interface IBaseManagedAppOperationCollectionRequest { - - void get(final ICallback callback); - - IManagedAppOperationCollectionPage get() throws ClientException; - - void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback); - - ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppOperationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppOperationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppOperationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequestBuilder.java deleted file mode 100644 index ba6df053ed7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Operation Collection Request Builder. - */ -public interface IBaseManagedAppOperationCollectionRequestBuilder extends IRequestBuilder { - - IManagedAppOperationCollectionRequest buildRequest(); - - IManagedAppOperationCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedAppOperationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequest.java deleted file mode 100644 index bfa1ed46063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Operation Request. - */ -public interface IBaseManagedAppOperationRequest extends IHttpRequest { - - /** - * Gets the ManagedAppOperation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppOperation from the service - * - * @return the ManagedAppOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppOperation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppOperation with a source - * - * @param sourceManagedAppOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppOperation sourceManagedAppOperation, final ICallback callback); - - /** - * Patches this ManagedAppOperation with a source - * - * @param sourceManagedAppOperation the source object with updates - * @return the updated ManagedAppOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppOperation patch(final ManagedAppOperation sourceManagedAppOperation) throws ClientException; - - /** - * Posts a ManagedAppOperation with a new object - * - * @param newManagedAppOperation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppOperation newManagedAppOperation, final ICallback callback); - - /** - * Posts a ManagedAppOperation with a new object - * - * @param newManagedAppOperation the new object to create - * @return the created ManagedAppOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppOperationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppOperationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequestBuilder.java deleted file mode 100644 index d3fd86afc73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppOperationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppOperationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Operation Request Builder. - */ -public interface IBaseManagedAppOperationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppOperationRequest instance - */ - IManagedAppOperationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppOperationRequest instance - */ - IManagedAppOperationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionPage.java deleted file mode 100644 index 319ac3a7b7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Collection Page. - */ -public interface IBaseManagedAppPolicyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequest.java deleted file mode 100644 index 9314a535a39..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Collection Request. - */ -public interface IBaseManagedAppPolicyCollectionRequest { - - void get(final ICallback callback); - - IManagedAppPolicyCollectionPage get() throws ClientException; - - void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback); - - ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppPolicyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppPolicyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppPolicyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequestBuilder.java deleted file mode 100644 index fd17a9a058d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Collection Request Builder. - */ -public interface IBaseManagedAppPolicyCollectionRequestBuilder extends IRequestBuilder { - - IManagedAppPolicyCollectionRequest buildRequest(); - - IManagedAppPolicyCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedAppPolicyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequest.java deleted file mode 100644 index e3dba960baf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Deployment Summary Request. - */ -public interface IBaseManagedAppPolicyDeploymentSummaryRequest extends IHttpRequest { - - /** - * Gets the ManagedAppPolicyDeploymentSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppPolicyDeploymentSummary from the service - * - * @return the ManagedAppPolicyDeploymentSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppPolicyDeploymentSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppPolicyDeploymentSummary with a source - * - * @param sourceManagedAppPolicyDeploymentSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary, final ICallback callback); - - /** - * Patches this ManagedAppPolicyDeploymentSummary with a source - * - * @param sourceManagedAppPolicyDeploymentSummary the source object with updates - * @return the updated ManagedAppPolicyDeploymentSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppPolicyDeploymentSummary patch(final ManagedAppPolicyDeploymentSummary sourceManagedAppPolicyDeploymentSummary) throws ClientException; - - /** - * Posts a ManagedAppPolicyDeploymentSummary with a new object - * - * @param newManagedAppPolicyDeploymentSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary, final ICallback callback); - - /** - * Posts a ManagedAppPolicyDeploymentSummary with a new object - * - * @param newManagedAppPolicyDeploymentSummary the new object to create - * @return the created ManagedAppPolicyDeploymentSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppPolicyDeploymentSummary post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppPolicyDeploymentSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppPolicyDeploymentSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequestBuilder.java deleted file mode 100644 index bb723b1f088..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyDeploymentSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Deployment Summary Request Builder. - */ -public interface IBaseManagedAppPolicyDeploymentSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppPolicyDeploymentSummaryRequest instance - */ - IManagedAppPolicyDeploymentSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppPolicyDeploymentSummaryRequest instance - */ - IManagedAppPolicyDeploymentSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequest.java deleted file mode 100644 index 1e62abd4b44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Request. - */ -public interface IBaseManagedAppPolicyRequest extends IHttpRequest { - - /** - * Gets the ManagedAppPolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppPolicy from the service - * - * @return the ManagedAppPolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppPolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppPolicy with a source - * - * @param sourceManagedAppPolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppPolicy sourceManagedAppPolicy, final ICallback callback); - - /** - * Patches this ManagedAppPolicy with a source - * - * @param sourceManagedAppPolicy the source object with updates - * @return the updated ManagedAppPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppPolicy patch(final ManagedAppPolicy sourceManagedAppPolicy) throws ClientException; - - /** - * Posts a ManagedAppPolicy with a new object - * - * @param newManagedAppPolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback); - - /** - * Posts a ManagedAppPolicy with a new object - * - * @param newManagedAppPolicy the new object to create - * @return the created ManagedAppPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppPolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppPolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequestBuilder.java deleted file mode 100644 index 6c266617ce7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Request Builder. - */ -public interface IBaseManagedAppPolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppPolicyRequest instance - */ - IManagedAppPolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppPolicyRequest instance - */ - IManagedAppPolicyRequest buildRequest(final java.util.List requestOptions); - IManagedAppPolicyTargetAppsRequestBuilder targetApps(final java.util.List apps); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequest.java deleted file mode 100644 index 7cb972f5e94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Target Apps Request. - */ -public interface IBaseManagedAppPolicyTargetAppsRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppPolicyTargetAppsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppPolicyTargetAppsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppPolicyTargetAppsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequestBuilder.java deleted file mode 100644 index 85cebf6ae6c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppPolicyTargetAppsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyTargetAppsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Policy Target Apps Request Builder. - */ -public interface IBaseManagedAppPolicyTargetAppsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedAppPolicyTargetAppsRequest - * - * @return the IManagedAppPolicyTargetAppsRequest instance - */ - IManagedAppPolicyTargetAppsRequest buildRequest(); - - /** - * Creates the IManagedAppPolicyTargetAppsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedAppPolicyTargetAppsRequest instance - */ - IManagedAppPolicyTargetAppsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequest.java deleted file mode 100644 index bb7225a75bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Protection Request. - */ -public interface IBaseManagedAppProtectionRequest extends IHttpRequest { - - /** - * Gets the ManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppProtection from the service - * - * @return the ManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppProtection with a source - * - * @param sourceManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppProtection sourceManagedAppProtection, final ICallback callback); - - /** - * Patches this ManagedAppProtection with a source - * - * @param sourceManagedAppProtection the source object with updates - * @return the updated ManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppProtection patch(final ManagedAppProtection sourceManagedAppProtection) throws ClientException; - - /** - * Posts a ManagedAppProtection with a new object - * - * @param newManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppProtection newManagedAppProtection, final ICallback callback); - - /** - * Posts a ManagedAppProtection with a new object - * - * @param newManagedAppProtection the new object to create - * @return the created ManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppProtection post(final ManagedAppProtection newManagedAppProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequestBuilder.java deleted file mode 100644 index fc7ede6a145..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionRequest; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Protection Request Builder. - */ -public interface IBaseManagedAppProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppProtectionRequest instance - */ - IManagedAppProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppProtectionRequest instance - */ - IManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); - IManagedAppProtectionTargetAppsRequestBuilder targetApps(final java.util.List apps); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequest.java deleted file mode 100644 index 5c46134cfac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Protection Target Apps Request. - */ -public interface IBaseManagedAppProtectionTargetAppsRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppProtectionTargetAppsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppProtectionTargetAppsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppProtectionTargetAppsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequestBuilder.java deleted file mode 100644 index f97352908ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppProtectionTargetAppsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppProtectionTargetAppsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Protection Target Apps Request Builder. - */ -public interface IBaseManagedAppProtectionTargetAppsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedAppProtectionTargetAppsRequest - * - * @return the IManagedAppProtectionTargetAppsRequest instance - */ - IManagedAppProtectionTargetAppsRequest buildRequest(); - - /** - * Creates the IManagedAppProtectionTargetAppsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedAppProtectionTargetAppsRequest instance - */ - IManagedAppProtectionTargetAppsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionPage.java deleted file mode 100644 index ca2fbde1d18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection Page. - */ -public interface IBaseManagedAppRegistrationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequest.java deleted file mode 100644 index 47f15a2aa02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection Reference Request. - */ -public interface IBaseManagedAppRegistrationCollectionReferenceRequest { - - void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); - - ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; - - IManagedAppRegistrationCollectionReferenceRequest select(final String value); - - IManagedAppRegistrationCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequestBuilder.java deleted file mode 100644 index a74694f1e22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection Reference Request Builder. - */ -public interface IBaseManagedAppRegistrationCollectionReferenceRequestBuilder extends IRequestBuilder { - - IManagedAppRegistrationCollectionReferenceRequest buildRequest(); - - IManagedAppRegistrationCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequest.java deleted file mode 100644 index a8af875d7e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection Request. - */ -public interface IBaseManagedAppRegistrationCollectionRequest { - - void get(final ICallback callback); - - IManagedAppRegistrationCollectionPage get() throws ClientException; - - void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); - - ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppRegistrationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppRegistrationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppRegistrationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequestBuilder.java deleted file mode 100644 index 31a8def36ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection Request Builder. - */ -public interface IBaseManagedAppRegistrationCollectionRequestBuilder extends IRequestBuilder { - - IManagedAppRegistrationCollectionRequest buildRequest(); - - IManagedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedAppRegistrationRequestBuilder byId(final String id); - - - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder getUserIdsWithFlaggedAppRegistration(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesPage.java deleted file mode 100644 index c0d07bf2a04..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection With References Page. - */ -public interface IBaseManagedAppRegistrationCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequest.java deleted file mode 100644 index 7f6f22d4202..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection With References Request. - */ -public interface IBaseManagedAppRegistrationCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IManagedAppRegistrationCollectionWithReferencesPage get() throws ClientException; - - IManagedAppRegistrationCollectionWithReferencesRequest expand(final String value); - - IManagedAppRegistrationCollectionWithReferencesRequest select(final String value); - - IManagedAppRegistrationCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 3fe61472868..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Collection With References Request Builder. - */ -public interface IBaseManagedAppRegistrationCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IManagedAppRegistrationCollectionWithReferencesRequest buildRequest(); - - IManagedAppRegistrationCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IManagedAppRegistrationWithReferenceRequestBuilder byId(final String id); - - IManagedAppRegistrationCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java deleted file mode 100644 index 8e44688a2f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Page. - */ -public interface IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java deleted file mode 100644 index d331155dbec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Request. - */ -public interface IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest { - - void get(final ICallback callback); - - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java deleted file mode 100644 index 8df0c991546..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Get User Ids With Flagged App Registration Collection Request Builder. - */ -public interface IBaseManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequestBuilder extends IRequestBuilder { - - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest(); - - IManagedAppRegistrationGetUserIdsWithFlaggedAppRegistrationCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequest.java deleted file mode 100644 index 3bf84cfb025..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Reference Request. - */ -public interface IBaseManagedAppRegistrationReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - ManagedAppRegistration delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppRegistrationReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppRegistrationReferenceRequest expand(final String value); - - /** - * Puts the ManagedAppRegistration - * - * @param srcManagedAppRegistration the ManagedAppRegistration to PUT - * @param callback the callback to be called after success or failure - */ - void put(ManagedAppRegistration srcManagedAppRegistration, final ICallback callback); - - /** - * Puts the ManagedAppRegistration - * - * @param srcManagedAppRegistration the ManagedAppRegistration to PUT - * @return the ManagedAppRegistration - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - ManagedAppRegistration put(ManagedAppRegistration srcManagedAppRegistration) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequestBuilder.java deleted file mode 100644 index a3920e85008..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Reference Request Builder. - */ -public interface IBaseManagedAppRegistrationReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IManagedAppRegistrationReferenceRequest instance - */ - IManagedAppRegistrationReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppRegistrationReferenceRequest instance - */ - IManagedAppRegistrationReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequest.java deleted file mode 100644 index b5504b0743c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppRegistration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Request. - */ -public interface IBaseManagedAppRegistrationRequest extends IHttpRequest { - - /** - * Gets the ManagedAppRegistration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppRegistration from the service - * - * @return the ManagedAppRegistration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppRegistration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppRegistration with a source - * - * @param sourceManagedAppRegistration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback); - - /** - * Patches this ManagedAppRegistration with a source - * - * @param sourceManagedAppRegistration the source object with updates - * @return the updated ManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException; - - /** - * Posts a ManagedAppRegistration with a new object - * - * @param newManagedAppRegistration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); - - /** - * Posts a ManagedAppRegistration with a new object - * - * @param newManagedAppRegistration the new object to create - * @return the created ManagedAppRegistration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppRegistrationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppRegistrationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequestBuilder.java deleted file mode 100644 index 4775860f367..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationRequestBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationRequest; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppOperationRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration Request Builder. - */ -public interface IBaseManagedAppRegistrationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppRegistrationRequest instance - */ - IManagedAppRegistrationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppRegistrationRequest instance - */ - IManagedAppRegistrationRequest buildRequest(final java.util.List requestOptions); - - IManagedAppPolicyCollectionRequestBuilder appliedPolicies(); - - IManagedAppPolicyRequestBuilder appliedPolicies(final String id); - - IManagedAppPolicyCollectionRequestBuilder intendedPolicies(); - - IManagedAppPolicyRequestBuilder intendedPolicies(final String id); - - IManagedAppOperationCollectionRequestBuilder operations(); - - IManagedAppOperationRequestBuilder operations(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequest.java deleted file mode 100644 index 536bf80229e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration With Reference Request. - */ -public interface IBaseManagedAppRegistrationWithReferenceRequest extends IHttpRequest { - - void post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload, final ICallback callback); - - ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - ManagedAppRegistration get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final ManagedAppRegistration sourceManagedAppRegistration, final ICallback callback); - - ManagedAppRegistration patch(final ManagedAppRegistration sourceManagedAppRegistration) throws ClientException; - - IBaseManagedAppRegistrationWithReferenceRequest select(final String value); - - IBaseManagedAppRegistrationWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequestBuilder.java deleted file mode 100644 index 2819fa89352..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRegistrationWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Registration With Reference Request Builder. - */ -public interface IBaseManagedAppRegistrationWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IManagedAppRegistrationWithReferenceRequest instance - */ - IManagedAppRegistrationWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppRegistrationWithReferenceRequest instance - */ - IManagedAppRegistrationWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IManagedAppRegistrationReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequest.java deleted file mode 100644 index de8e29aabff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Request. - */ -public interface IBaseManagedAppRequest extends IHttpRequest { - - /** - * Gets the ManagedApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedApp from the service - * - * @return the ManagedApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedApp with a source - * - * @param sourceManagedApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedApp sourceManagedApp, final ICallback callback); - - /** - * Patches this ManagedApp with a source - * - * @param sourceManagedApp the source object with updates - * @return the updated ManagedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedApp patch(final ManagedApp sourceManagedApp) throws ClientException; - - /** - * Posts a ManagedApp with a new object - * - * @param newManagedApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedApp newManagedApp, final ICallback callback); - - /** - * Posts a ManagedApp with a new object - * - * @param newManagedApp the new object to create - * @return the created ManagedApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedApp post(final ManagedApp newManagedApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequestBuilder.java deleted file mode 100644 index cfb42ad9885..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Request Builder. - */ -public interface IBaseManagedAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppRequest instance - */ - IManagedAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppRequest instance - */ - IManagedAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionPage.java deleted file mode 100644 index 72679d56989..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Collection Page. - */ -public interface IBaseManagedAppStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequest.java deleted file mode 100644 index d39d7f4e059..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Collection Request. - */ -public interface IBaseManagedAppStatusCollectionRequest { - - void get(final ICallback callback); - - IManagedAppStatusCollectionPage get() throws ClientException; - - void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback); - - ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedAppStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedAppStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedAppStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequestBuilder.java deleted file mode 100644 index f75dd9c3d69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Collection Request Builder. - */ -public interface IBaseManagedAppStatusCollectionRequestBuilder extends IRequestBuilder { - - IManagedAppStatusCollectionRequest buildRequest(); - - IManagedAppStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedAppStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequest.java deleted file mode 100644 index f6ed6ebd737..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppStatusRaw; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Raw Request. - */ -public interface IBaseManagedAppStatusRawRequest extends IHttpRequest { - - /** - * Gets the ManagedAppStatusRaw from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppStatusRaw from the service - * - * @return the ManagedAppStatusRaw from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppStatusRaw get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppStatusRaw with a source - * - * @param sourceManagedAppStatusRaw the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw, final ICallback callback); - - /** - * Patches this ManagedAppStatusRaw with a source - * - * @param sourceManagedAppStatusRaw the source object with updates - * @return the updated ManagedAppStatusRaw - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppStatusRaw patch(final ManagedAppStatusRaw sourceManagedAppStatusRaw) throws ClientException; - - /** - * Posts a ManagedAppStatusRaw with a new object - * - * @param newManagedAppStatusRaw the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppStatusRaw newManagedAppStatusRaw, final ICallback callback); - - /** - * Posts a ManagedAppStatusRaw with a new object - * - * @param newManagedAppStatusRaw the new object to create - * @return the created ManagedAppStatusRaw - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppStatusRaw post(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppStatusRawRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppStatusRawRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequestBuilder.java deleted file mode 100644 index 8446197e634..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRawRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRawRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Raw Request Builder. - */ -public interface IBaseManagedAppStatusRawRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppStatusRawRequest instance - */ - IManagedAppStatusRawRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppStatusRawRequest instance - */ - IManagedAppStatusRawRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequest.java deleted file mode 100644 index 8a639928e3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedAppStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Request. - */ -public interface IBaseManagedAppStatusRequest extends IHttpRequest { - - /** - * Gets the ManagedAppStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedAppStatus from the service - * - * @return the ManagedAppStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedAppStatus with a source - * - * @param sourceManagedAppStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedAppStatus sourceManagedAppStatus, final ICallback callback); - - /** - * Patches this ManagedAppStatus with a source - * - * @param sourceManagedAppStatus the source object with updates - * @return the updated ManagedAppStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppStatus patch(final ManagedAppStatus sourceManagedAppStatus) throws ClientException; - - /** - * Posts a ManagedAppStatus with a new object - * - * @param newManagedAppStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedAppStatus newManagedAppStatus, final ICallback callback); - - /** - * Posts a ManagedAppStatus with a new object - * - * @param newManagedAppStatus the new object to create - * @return the created ManagedAppStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedAppStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedAppStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequestBuilder.java deleted file mode 100644 index 15608d9ce1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedAppStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedAppStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed App Status Request Builder. - */ -public interface IBaseManagedAppStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedAppStatusRequest instance - */ - IManagedAppStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedAppStatusRequest instance - */ - IManagedAppStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequest.java deleted file mode 100644 index 11bd67d28fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Bypass Activation Lock Request. - */ -public interface IBaseManagedDeviceBypassActivationLockRequest { - - /** - * Creates the ManagedDeviceBypassActivationLock - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceBypassActivationLock - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequestBuilder.java deleted file mode 100644 index 3dabf25061c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceBypassActivationLockRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Bypass Activation Lock Request Builder. - */ -public interface IBaseManagedDeviceBypassActivationLockRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceBypassActivationLockRequest - * - * @return the IManagedDeviceBypassActivationLockRequest instance - */ - IManagedDeviceBypassActivationLockRequest buildRequest(); - - /** - * Creates the IManagedDeviceBypassActivationLockRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceBypassActivationLockRequest instance - */ - IManagedDeviceBypassActivationLockRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequest.java deleted file mode 100644 index e5f73eec652..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Clean Windows Device Request. - */ -public interface IBaseManagedDeviceCleanWindowsDeviceRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceCleanWindowsDeviceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceCleanWindowsDeviceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceCleanWindowsDeviceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequestBuilder.java deleted file mode 100644 index 7a7748ec766..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCleanWindowsDeviceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Clean Windows Device Request Builder. - */ -public interface IBaseManagedDeviceCleanWindowsDeviceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceCleanWindowsDeviceRequest - * - * @return the IManagedDeviceCleanWindowsDeviceRequest instance - */ - IManagedDeviceCleanWindowsDeviceRequest buildRequest(); - - /** - * Creates the IManagedDeviceCleanWindowsDeviceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceCleanWindowsDeviceRequest instance - */ - IManagedDeviceCleanWindowsDeviceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionPage.java deleted file mode 100644 index 1329d80d94b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection Page. - */ -public interface IBaseManagedDeviceCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequest.java deleted file mode 100644 index d49b89b54a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection Reference Request. - */ -public interface IBaseManagedDeviceCollectionReferenceRequest { - - void post(final ManagedDevice newManagedDevice, final ICallback callback); - - ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; - - IManagedDeviceCollectionReferenceRequest select(final String value); - - IManagedDeviceCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequestBuilder.java deleted file mode 100644 index 35366431f45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection Reference Request Builder. - */ -public interface IBaseManagedDeviceCollectionReferenceRequestBuilder extends IRequestBuilder { - - IManagedDeviceCollectionReferenceRequest buildRequest(); - - IManagedDeviceCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequest.java deleted file mode 100644 index 0f768c38405..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection Request. - */ -public interface IBaseManagedDeviceCollectionRequest { - - void get(final ICallback callback); - - IManagedDeviceCollectionPage get() throws ClientException; - - void post(final ManagedDevice newManagedDevice, final ICallback callback); - - ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequestBuilder.java deleted file mode 100644 index 212ec8ced8e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection Request Builder. - */ -public interface IBaseManagedDeviceCollectionRequestBuilder extends IRequestBuilder { - - IManagedDeviceCollectionRequest buildRequest(); - - IManagedDeviceCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesPage.java deleted file mode 100644 index 28b15af4122..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection With References Page. - */ -public interface IBaseManagedDeviceCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequest.java deleted file mode 100644 index be5bdf759ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection With References Request. - */ -public interface IBaseManagedDeviceCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IManagedDeviceCollectionWithReferencesPage get() throws ClientException; - - IManagedDeviceCollectionWithReferencesRequest expand(final String value); - - IManagedDeviceCollectionWithReferencesRequest select(final String value); - - IManagedDeviceCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 30fd9a16635..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Collection With References Request Builder. - */ -public interface IBaseManagedDeviceCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IManagedDeviceCollectionWithReferencesRequest buildRequest(); - - IManagedDeviceCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceWithReferenceRequestBuilder byId(final String id); - - IManagedDeviceCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java deleted file mode 100644 index f2813a2cd62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Delete User From Shared Apple Device Request. - */ -public interface IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceDeleteUserFromSharedAppleDeviceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceDeleteUserFromSharedAppleDeviceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceDeleteUserFromSharedAppleDeviceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java deleted file mode 100644 index e4b5b8b2121..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Delete User From Shared Apple Device Request Builder. - */ -public interface IBaseManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest - * - * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance - */ - IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest(); - - /** - * Creates the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceDeleteUserFromSharedAppleDeviceRequest instance - */ - IManagedDeviceDeleteUserFromSharedAppleDeviceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequest.java deleted file mode 100644 index c7d377a2c55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Disable Lost Mode Request. - */ -public interface IBaseManagedDeviceDisableLostModeRequest { - - /** - * Creates the ManagedDeviceDisableLostMode - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceDisableLostMode - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequestBuilder.java deleted file mode 100644 index 116433fa624..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceDisableLostModeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Disable Lost Mode Request Builder. - */ -public interface IBaseManagedDeviceDisableLostModeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceDisableLostModeRequest - * - * @return the IManagedDeviceDisableLostModeRequest instance - */ - IManagedDeviceDisableLostModeRequest buildRequest(); - - /** - * Creates the IManagedDeviceDisableLostModeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceDisableLostModeRequest instance - */ - IManagedDeviceDisableLostModeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequest.java deleted file mode 100644 index 4bac6803c2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Locate Device Request. - */ -public interface IBaseManagedDeviceLocateDeviceRequest { - - /** - * Creates the ManagedDeviceLocateDevice - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceLocateDevice - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequestBuilder.java deleted file mode 100644 index a095bfa544d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLocateDeviceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Locate Device Request Builder. - */ -public interface IBaseManagedDeviceLocateDeviceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceLocateDeviceRequest - * - * @return the IManagedDeviceLocateDeviceRequest instance - */ - IManagedDeviceLocateDeviceRequest buildRequest(); - - /** - * Creates the IManagedDeviceLocateDeviceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceLocateDeviceRequest instance - */ - IManagedDeviceLocateDeviceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java deleted file mode 100644 index dae1e689ceb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Logout Shared Apple Device Active User Request. - */ -public interface IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequest { - - /** - * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceLogoutSharedAppleDeviceActiveUser - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java deleted file mode 100644 index e6ed867c525..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Logout Shared Apple Device Active User Request Builder. - */ -public interface IBaseManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest - * - * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance - */ - IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest(); - - /** - * Creates the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest instance - */ - IManagedDeviceLogoutSharedAppleDeviceActiveUserRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequest.java deleted file mode 100644 index 8001122bc69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assign Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java deleted file mode 100644 index 60a5c767a89..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assign Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceMobileAppConfigurationAssignRequest - * - * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance - */ - IManagedDeviceMobileAppConfigurationAssignRequest buildRequest(); - - /** - * Creates the IManagedDeviceMobileAppConfigurationAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceMobileAppConfigurationAssignRequest instance - */ - IManagedDeviceMobileAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java deleted file mode 100644 index 63800038c3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assignment Collection Page. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java deleted file mode 100644 index 1cebec7bd2f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assignment Collection Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequest { - - void get(final ICallback callback); - - IManagedDeviceMobileAppConfigurationAssignmentCollectionPage get() throws ClientException; - - void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); - - ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java deleted file mode 100644 index b5f43fd7e9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assignment Collection Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest(); - - IManagedDeviceMobileAppConfigurationAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequest.java deleted file mode 100644 index e7df6bb1379..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assignment Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignmentRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceMobileAppConfigurationAssignment from the service - * - * @return the ManagedDeviceMobileAppConfigurationAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source - * - * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); - - /** - * Patches this ManagedDeviceMobileAppConfigurationAssignment with a source - * - * @param sourceManagedDeviceMobileAppConfigurationAssignment the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationAssignment patch(final ManagedDeviceMobileAppConfigurationAssignment sourceManagedDeviceMobileAppConfigurationAssignment) throws ClientException; - - /** - * Posts a ManagedDeviceMobileAppConfigurationAssignment with a new object - * - * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); - - /** - * Posts a ManagedDeviceMobileAppConfigurationAssignment with a new object - * - * @param newManagedDeviceMobileAppConfigurationAssignment the new object to create - * @return the created ManagedDeviceMobileAppConfigurationAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java deleted file mode 100644 index d6a72997fea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Assignment Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance - */ - IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationAssignmentRequest instance - */ - IManagedDeviceMobileAppConfigurationAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionPage.java deleted file mode 100644 index 25589c32781..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Collection Page. - */ -public interface IBaseManagedDeviceMobileAppConfigurationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequest.java deleted file mode 100644 index 3a4abd74e99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Collection Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationCollectionRequest { - - void get(final ICallback callback); - - IManagedDeviceMobileAppConfigurationCollectionPage get() throws ClientException; - - void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback); - - ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java deleted file mode 100644 index 6880bf9bfa4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Collection Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationCollectionRequestBuilder extends IRequestBuilder { - - IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest(); - - IManagedDeviceMobileAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceMobileAppConfigurationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java deleted file mode 100644 index ab31b082210..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Status Collection Page. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java deleted file mode 100644 index ed97b1fc885..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Status Collection Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest { - - void get(final ICallback callback); - - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage get() throws ClientException; - - void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); - - ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java deleted file mode 100644 index 4a034175154..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Status Collection Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder extends IRequestBuilder { - - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest(); - - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java deleted file mode 100644 index b6dc5969ffb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Status Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceStatus from the service - * - * @return the ManagedDeviceMobileAppConfigurationDeviceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationDeviceStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceStatus the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationDeviceStatus patch(final ManagedDeviceMobileAppConfigurationDeviceStatus sourceManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; - - /** - * Posts a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); - - /** - * Posts a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceStatus the new object to create - * @return the created ManagedDeviceMobileAppConfigurationDeviceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java deleted file mode 100644 index 384e24b668f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Status Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance - */ - IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationDeviceStatusRequest instance - */ - IManagedDeviceMobileAppConfigurationDeviceStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java deleted file mode 100644 index 516be2f2e1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Summary Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceMobileAppConfigurationDeviceSummary from the service - * - * @return the ManagedDeviceMobileAppConfigurationDeviceSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationDeviceSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback); - - /** - * Patches this ManagedDeviceMobileAppConfigurationDeviceSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationDeviceSummary the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationDeviceSummary patch(final ManagedDeviceMobileAppConfigurationDeviceSummary sourceManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException; - - /** - * Posts a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback); - - /** - * Posts a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationDeviceSummary the new object to create - * @return the created ManagedDeviceMobileAppConfigurationDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationDeviceSummary post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java deleted file mode 100644 index 81ddb63f102..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Device Summary Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance - */ - IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequest instance - */ - IManagedDeviceMobileAppConfigurationDeviceSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequest.java deleted file mode 100644 index e8536acb7dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceMobileAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceMobileAppConfiguration from the service - * - * @return the ManagedDeviceMobileAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceMobileAppConfiguration with a source - * - * @param sourceManagedDeviceMobileAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration, final ICallback callback); - - /** - * Patches this ManagedDeviceMobileAppConfiguration with a source - * - * @param sourceManagedDeviceMobileAppConfiguration the source object with updates - * @return the updated ManagedDeviceMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfiguration patch(final ManagedDeviceMobileAppConfiguration sourceManagedDeviceMobileAppConfiguration) throws ClientException; - - /** - * Posts a ManagedDeviceMobileAppConfiguration with a new object - * - * @param newManagedDeviceMobileAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback); - - /** - * Posts a ManagedDeviceMobileAppConfiguration with a new object - * - * @param newManagedDeviceMobileAppConfiguration the new object to create - * @return the created ManagedDeviceMobileAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequestBuilder.java deleted file mode 100644 index 892eee33589..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationAssignRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationRequest instance - */ - IManagedDeviceMobileAppConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationRequest instance - */ - IManagedDeviceMobileAppConfigurationRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceMobileAppConfigurationAssignmentCollectionRequestBuilder assignments(); - - IManagedDeviceMobileAppConfigurationAssignmentRequestBuilder assignments(final String id); - - IManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestBuilder deviceStatuses(); - - IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder deviceStatuses(final String id); - - IManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder userStatuses(); - - IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder userStatuses(final String id); - - /** - * Gets the request builder for ManagedDeviceMobileAppConfigurationDeviceSummary - * - * @return the IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder instance - */ - IManagedDeviceMobileAppConfigurationDeviceSummaryRequestBuilder deviceStatusSummary(); - - /** - * Gets the request builder for ManagedDeviceMobileAppConfigurationUserSummary - * - * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder instance - */ - IManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder userStatusSummary(); - IManagedDeviceMobileAppConfigurationAssignRequestBuilder assign(final java.util.List assignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java deleted file mode 100644 index 5b2aa947318..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Status Collection Page. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java deleted file mode 100644 index eff269cbe37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Status Collection Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequest { - - void get(final ICallback callback); - - IManagedDeviceMobileAppConfigurationUserStatusCollectionPage get() throws ClientException; - - void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); - - ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java deleted file mode 100644 index 87f79257ead..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Status Collection Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserStatusCollectionRequestBuilder extends IRequestBuilder { - - IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest(); - - IManagedDeviceMobileAppConfigurationUserStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceMobileAppConfigurationUserStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequest.java deleted file mode 100644 index a65abcee274..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Status Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserStatusRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserStatus from the service - * - * @return the ManagedDeviceMobileAppConfigurationUserStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationUserStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserStatus with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserStatus the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationUserStatus patch(final ManagedDeviceMobileAppConfigurationUserStatus sourceManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; - - /** - * Posts a ManagedDeviceMobileAppConfigurationUserStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); - - /** - * Posts a ManagedDeviceMobileAppConfigurationUserStatus with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserStatus the new object to create - * @return the created ManagedDeviceMobileAppConfigurationUserStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationUserStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationUserStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java deleted file mode 100644 index baef9b92f0f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserStatusRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Status Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance - */ - IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationUserStatusRequest instance - */ - IManagedDeviceMobileAppConfigurationUserStatusRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java deleted file mode 100644 index 940e86c1440..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Summary Request. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceMobileAppConfigurationUserSummary from the service - * - * @return the ManagedDeviceMobileAppConfigurationUserSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationUserSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback); - - /** - * Patches this ManagedDeviceMobileAppConfigurationUserSummary with a source - * - * @param sourceManagedDeviceMobileAppConfigurationUserSummary the source object with updates - * @return the updated ManagedDeviceMobileAppConfigurationUserSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationUserSummary patch(final ManagedDeviceMobileAppConfigurationUserSummary sourceManagedDeviceMobileAppConfigurationUserSummary) throws ClientException; - - /** - * Posts a ManagedDeviceMobileAppConfigurationUserSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback); - - /** - * Posts a ManagedDeviceMobileAppConfigurationUserSummary with a new object - * - * @param newManagedDeviceMobileAppConfigurationUserSummary the new object to create - * @return the created ManagedDeviceMobileAppConfigurationUserSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceMobileAppConfigurationUserSummary post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceMobileAppConfigurationUserSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java deleted file mode 100644 index dd6aa43c15f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceMobileAppConfigurationUserSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Mobile App Configuration User Summary Request Builder. - */ -public interface IBaseManagedDeviceMobileAppConfigurationUserSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance - */ - IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceMobileAppConfigurationUserSummaryRequest instance - */ - IManagedDeviceMobileAppConfigurationUserSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequest.java deleted file mode 100644 index 651eed996c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Overview Reference Request. - */ -public interface IBaseManagedDeviceOverviewReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - ManagedDeviceOverview delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceOverviewReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceOverviewReferenceRequest expand(final String value); - - /** - * Puts the ManagedDeviceOverview - * - * @param srcManagedDeviceOverview the ManagedDeviceOverview to PUT - * @param callback the callback to be called after success or failure - */ - void put(ManagedDeviceOverview srcManagedDeviceOverview, final ICallback callback); - - /** - * Puts the ManagedDeviceOverview - * - * @param srcManagedDeviceOverview the ManagedDeviceOverview to PUT - * @return the ManagedDeviceOverview - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - ManagedDeviceOverview put(ManagedDeviceOverview srcManagedDeviceOverview) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequestBuilder.java deleted file mode 100644 index 0b684995e2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Overview Reference Request Builder. - */ -public interface IBaseManagedDeviceOverviewReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IManagedDeviceOverviewReferenceRequest instance - */ - IManagedDeviceOverviewReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceOverviewReferenceRequest instance - */ - IManagedDeviceOverviewReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequest.java deleted file mode 100644 index dc0fb909108..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDeviceOverview; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Overview Request. - */ -public interface IBaseManagedDeviceOverviewRequest extends IHttpRequest { - - /** - * Gets the ManagedDeviceOverview from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDeviceOverview from the service - * - * @return the ManagedDeviceOverview from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceOverview get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDeviceOverview with a source - * - * @param sourceManagedDeviceOverview the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback); - - /** - * Patches this ManagedDeviceOverview with a source - * - * @param sourceManagedDeviceOverview the source object with updates - * @return the updated ManagedDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException; - - /** - * Posts a ManagedDeviceOverview with a new object - * - * @param newManagedDeviceOverview the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDeviceOverview newManagedDeviceOverview, final ICallback callback); - - /** - * Posts a ManagedDeviceOverview with a new object - * - * @param newManagedDeviceOverview the new object to create - * @return the created ManagedDeviceOverview - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceOverviewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceOverviewRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequestBuilder.java deleted file mode 100644 index 7efa8e6f43c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceOverviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Overview Request Builder. - */ -public interface IBaseManagedDeviceOverviewRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceOverviewRequest instance - */ - IManagedDeviceOverviewRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceOverviewRequest instance - */ - IManagedDeviceOverviewRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequest.java deleted file mode 100644 index 2a09d521994..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Overview With Reference Request. - */ -public interface IBaseManagedDeviceOverviewWithReferenceRequest extends IHttpRequest { - - void post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload, final ICallback callback); - - ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - ManagedDeviceOverview get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final ManagedDeviceOverview sourceManagedDeviceOverview, final ICallback callback); - - ManagedDeviceOverview patch(final ManagedDeviceOverview sourceManagedDeviceOverview) throws ClientException; - - IBaseManagedDeviceOverviewWithReferenceRequest select(final String value); - - IBaseManagedDeviceOverviewWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequestBuilder.java deleted file mode 100644 index eb7d76eed5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceOverviewWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Overview With Reference Request Builder. - */ -public interface IBaseManagedDeviceOverviewWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IManagedDeviceOverviewWithReferenceRequest instance - */ - IManagedDeviceOverviewWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceOverviewWithReferenceRequest instance - */ - IManagedDeviceOverviewWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceOverviewReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequest.java deleted file mode 100644 index e465ad93a23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Reboot Now Request. - */ -public interface IBaseManagedDeviceRebootNowRequest { - - /** - * Creates the ManagedDeviceRebootNow - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceRebootNow - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequestBuilder.java deleted file mode 100644 index dab1478af0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRebootNowRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Reboot Now Request Builder. - */ -public interface IBaseManagedDeviceRebootNowRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceRebootNowRequest - * - * @return the IManagedDeviceRebootNowRequest instance - */ - IManagedDeviceRebootNowRequest buildRequest(); - - /** - * Creates the IManagedDeviceRebootNowRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRebootNowRequest instance - */ - IManagedDeviceRebootNowRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequest.java deleted file mode 100644 index 28168a2bd84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Recover Passcode Request. - */ -public interface IBaseManagedDeviceRecoverPasscodeRequest { - - /** - * Creates the ManagedDeviceRecoverPasscode - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceRecoverPasscode - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequestBuilder.java deleted file mode 100644 index 90aaa8b4de4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRecoverPasscodeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Recover Passcode Request Builder. - */ -public interface IBaseManagedDeviceRecoverPasscodeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceRecoverPasscodeRequest - * - * @return the IManagedDeviceRecoverPasscodeRequest instance - */ - IManagedDeviceRecoverPasscodeRequest buildRequest(); - - /** - * Creates the IManagedDeviceRecoverPasscodeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRecoverPasscodeRequest instance - */ - IManagedDeviceRecoverPasscodeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequest.java deleted file mode 100644 index 20b48a1a527..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Reference Request. - */ -public interface IBaseManagedDeviceReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - ManagedDevice delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceReferenceRequest expand(final String value); - - /** - * Puts the ManagedDevice - * - * @param srcManagedDevice the ManagedDevice to PUT - * @param callback the callback to be called after success or failure - */ - void put(ManagedDevice srcManagedDevice, final ICallback callback); - - /** - * Puts the ManagedDevice - * - * @param srcManagedDevice the ManagedDevice to PUT - * @return the ManagedDevice - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - ManagedDevice put(ManagedDevice srcManagedDevice) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequestBuilder.java deleted file mode 100644 index 6ff030841ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Reference Request Builder. - */ -public interface IBaseManagedDeviceReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IManagedDeviceReferenceRequest instance - */ - IManagedDeviceReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceReferenceRequest instance - */ - IManagedDeviceReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequest.java deleted file mode 100644 index 15483e36cad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Remote Lock Request. - */ -public interface IBaseManagedDeviceRemoteLockRequest { - - /** - * Creates the ManagedDeviceRemoteLock - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceRemoteLock - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequestBuilder.java deleted file mode 100644 index fcc44516391..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRemoteLockRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Remote Lock Request Builder. - */ -public interface IBaseManagedDeviceRemoteLockRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceRemoteLockRequest - * - * @return the IManagedDeviceRemoteLockRequest instance - */ - IManagedDeviceRemoteLockRequest buildRequest(); - - /** - * Creates the IManagedDeviceRemoteLockRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRemoteLockRequest instance - */ - IManagedDeviceRemoteLockRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequest.java deleted file mode 100644 index 1def7db22f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedDevice; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Request. - */ -public interface IBaseManagedDeviceRequest extends IHttpRequest { - - /** - * Gets the ManagedDevice from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedDevice from the service - * - * @return the ManagedDevice from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDevice get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedDevice with a source - * - * @param sourceManagedDevice the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedDevice sourceManagedDevice, final ICallback callback); - - /** - * Patches this ManagedDevice with a source - * - * @param sourceManagedDevice the source object with updates - * @return the updated ManagedDevice - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException; - - /** - * Posts a ManagedDevice with a new object - * - * @param newManagedDevice the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedDevice newManagedDevice, final ICallback callback); - - /** - * Posts a ManagedDevice with a new object - * - * @param newManagedDevice the new object to create - * @return the created ManagedDevice - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedDeviceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedDeviceRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestBuilder.java deleted file mode 100644 index 6f0a5175e8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestBuilder.java +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequest; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceConfigurationStateRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceCompliancePolicyStateRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRemoteLockRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceDisableLostModeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceLocateDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceBypassActivationLockRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRebootNowRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRecoverPasscodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceCleanWindowsDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder; -import com.microsoft.graph.models.extensions.UpdateWindowsDeviceAccountActionParameter; -import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Request Builder. - */ -public interface IBaseManagedDeviceRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedDeviceRequest instance - */ - IManagedDeviceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceRequest instance - */ - IManagedDeviceRequest buildRequest(final java.util.List requestOptions); - - IDeviceConfigurationStateCollectionRequestBuilder deviceConfigurationStates(); - - IDeviceConfigurationStateRequestBuilder deviceConfigurationStates(final String id); - - /** - * Gets the request builder for DeviceCategory - * - * @return the IDeviceCategoryRequestBuilder instance - */ - IDeviceCategoryRequestBuilder deviceCategory(); - - IDeviceCompliancePolicyStateCollectionRequestBuilder deviceCompliancePolicyStates(); - - IDeviceCompliancePolicyStateRequestBuilder deviceCompliancePolicyStates(final String id); - IManagedDeviceRetireRequestBuilder retire(); - IManagedDeviceWipeRequestBuilder wipe(final Boolean keepEnrollmentData, final Boolean keepUserData, final String macOsUnlockCode); - IManagedDeviceResetPasscodeRequestBuilder resetPasscode(); - IManagedDeviceRemoteLockRequestBuilder remoteLock(); - IManagedDeviceRequestRemoteAssistanceRequestBuilder requestRemoteAssistance(); - IManagedDeviceDisableLostModeRequestBuilder disableLostMode(); - IManagedDeviceLocateDeviceRequestBuilder locateDevice(); - IManagedDeviceBypassActivationLockRequestBuilder bypassActivationLock(); - IManagedDeviceRebootNowRequestBuilder rebootNow(); - IManagedDeviceShutDownRequestBuilder shutDown(); - IManagedDeviceRecoverPasscodeRequestBuilder recoverPasscode(); - IManagedDeviceCleanWindowsDeviceRequestBuilder cleanWindowsDevice(final Boolean keepUserData); - IManagedDeviceLogoutSharedAppleDeviceActiveUserRequestBuilder logoutSharedAppleDeviceActiveUser(); - IManagedDeviceDeleteUserFromSharedAppleDeviceRequestBuilder deleteUserFromSharedAppleDevice(final String userPrincipalName); - IManagedDeviceSyncDeviceRequestBuilder syncDevice(); - IManagedDeviceWindowsDefenderScanRequestBuilder windowsDefenderScan(final Boolean quickScan); - IManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder windowsDefenderUpdateSignatures(); - IManagedDeviceUpdateWindowsDeviceAccountRequestBuilder updateWindowsDeviceAccount(final UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequest.java deleted file mode 100644 index 7164b08262a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Request Remote Assistance Request. - */ -public interface IBaseManagedDeviceRequestRemoteAssistanceRequest { - - /** - * Creates the ManagedDeviceRequestRemoteAssistance - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceRequestRemoteAssistance - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java deleted file mode 100644 index 87807e60b7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestRemoteAssistanceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Request Remote Assistance Request Builder. - */ -public interface IBaseManagedDeviceRequestRemoteAssistanceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceRequestRemoteAssistanceRequest - * - * @return the IManagedDeviceRequestRemoteAssistanceRequest instance - */ - IManagedDeviceRequestRemoteAssistanceRequest buildRequest(); - - /** - * Creates the IManagedDeviceRequestRemoteAssistanceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRequestRemoteAssistanceRequest instance - */ - IManagedDeviceRequestRemoteAssistanceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequest.java deleted file mode 100644 index bf5e624aa0b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Reset Passcode Request. - */ -public interface IBaseManagedDeviceResetPasscodeRequest { - - /** - * Creates the ManagedDeviceResetPasscode - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceResetPasscode - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequestBuilder.java deleted file mode 100644 index e7d7a070717..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceResetPasscodeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceResetPasscodeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Reset Passcode Request Builder. - */ -public interface IBaseManagedDeviceResetPasscodeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceResetPasscodeRequest - * - * @return the IManagedDeviceResetPasscodeRequest instance - */ - IManagedDeviceResetPasscodeRequest buildRequest(); - - /** - * Creates the IManagedDeviceResetPasscodeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceResetPasscodeRequest instance - */ - IManagedDeviceResetPasscodeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequest.java deleted file mode 100644 index 54d521ee90a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Retire Request. - */ -public interface IBaseManagedDeviceRetireRequest { - - /** - * Creates the ManagedDeviceRetire - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceRetire - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequestBuilder.java deleted file mode 100644 index 85c33535bdf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceRetireRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceRetireRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Retire Request Builder. - */ -public interface IBaseManagedDeviceRetireRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceRetireRequest - * - * @return the IManagedDeviceRetireRequest instance - */ - IManagedDeviceRetireRequest buildRequest(); - - /** - * Creates the IManagedDeviceRetireRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceRetireRequest instance - */ - IManagedDeviceRetireRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequest.java deleted file mode 100644 index 9674eed8d19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Shut Down Request. - */ -public interface IBaseManagedDeviceShutDownRequest { - - /** - * Creates the ManagedDeviceShutDown - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceShutDown - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequestBuilder.java deleted file mode 100644 index fae09abb682..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceShutDownRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceShutDownRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Shut Down Request Builder. - */ -public interface IBaseManagedDeviceShutDownRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceShutDownRequest - * - * @return the IManagedDeviceShutDownRequest instance - */ - IManagedDeviceShutDownRequest buildRequest(); - - /** - * Creates the IManagedDeviceShutDownRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceShutDownRequest instance - */ - IManagedDeviceShutDownRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequest.java deleted file mode 100644 index 3074393bc50..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Sync Device Request. - */ -public interface IBaseManagedDeviceSyncDeviceRequest { - - /** - * Creates the ManagedDeviceSyncDevice - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceSyncDevice - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequestBuilder.java deleted file mode 100644 index c5a90dab5c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceSyncDeviceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceSyncDeviceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Sync Device Request Builder. - */ -public interface IBaseManagedDeviceSyncDeviceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceSyncDeviceRequest - * - * @return the IManagedDeviceSyncDeviceRequest instance - */ - IManagedDeviceSyncDeviceRequest buildRequest(); - - /** - * Creates the IManagedDeviceSyncDeviceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceSyncDeviceRequest instance - */ - IManagedDeviceSyncDeviceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequest.java deleted file mode 100644 index 3ac5a407b64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Update Windows Device Account Request. - */ -public interface IBaseManagedDeviceUpdateWindowsDeviceAccountRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceUpdateWindowsDeviceAccountRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceUpdateWindowsDeviceAccountRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceUpdateWindowsDeviceAccountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java deleted file mode 100644 index 4d2d34cff56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceUpdateWindowsDeviceAccountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Update Windows Device Account Request Builder. - */ -public interface IBaseManagedDeviceUpdateWindowsDeviceAccountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest - * - * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance - */ - IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest(); - - /** - * Creates the IManagedDeviceUpdateWindowsDeviceAccountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceUpdateWindowsDeviceAccountRequest instance - */ - IManagedDeviceUpdateWindowsDeviceAccountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequest.java deleted file mode 100644 index f112545349f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Windows Defender Scan Request. - */ -public interface IBaseManagedDeviceWindowsDefenderScanRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceWindowsDefenderScanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceWindowsDefenderScanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceWindowsDefenderScanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequestBuilder.java deleted file mode 100644 index 85ddf5f3da0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderScanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderScanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Windows Defender Scan Request Builder. - */ -public interface IBaseManagedDeviceWindowsDefenderScanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceWindowsDefenderScanRequest - * - * @return the IManagedDeviceWindowsDefenderScanRequest instance - */ - IManagedDeviceWindowsDefenderScanRequest buildRequest(); - - /** - * Creates the IManagedDeviceWindowsDefenderScanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceWindowsDefenderScanRequest instance - */ - IManagedDeviceWindowsDefenderScanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java deleted file mode 100644 index f910e55a277..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Windows Defender Update Signatures Request. - */ -public interface IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequest { - - /** - * Creates the ManagedDeviceWindowsDefenderUpdateSignatures - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the ManagedDeviceWindowsDefenderUpdateSignatures - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java deleted file mode 100644 index 9657df1cd36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWindowsDefenderUpdateSignaturesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Windows Defender Update Signatures Request Builder. - */ -public interface IBaseManagedDeviceWindowsDefenderUpdateSignaturesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest - * - * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance - */ - IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest(); - - /** - * Creates the IManagedDeviceWindowsDefenderUpdateSignaturesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceWindowsDefenderUpdateSignaturesRequest instance - */ - IManagedDeviceWindowsDefenderUpdateSignaturesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequest.java deleted file mode 100644 index be1f69e1170..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Wipe Request. - */ -public interface IBaseManagedDeviceWipeRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedDeviceWipeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedDeviceWipeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedDeviceWipeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequestBuilder.java deleted file mode 100644 index 71a2343f547..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWipeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedDeviceWipeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device Wipe Request Builder. - */ -public interface IBaseManagedDeviceWipeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedDeviceWipeRequest - * - * @return the IManagedDeviceWipeRequest instance - */ - IManagedDeviceWipeRequest buildRequest(); - - /** - * Creates the IManagedDeviceWipeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedDeviceWipeRequest instance - */ - IManagedDeviceWipeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequest.java deleted file mode 100644 index 1019e3c7cca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device With Reference Request. - */ -public interface IBaseManagedDeviceWithReferenceRequest extends IHttpRequest { - - void post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload, final ICallback callback); - - ManagedDevice post(final ManagedDevice newManagedDevice, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - ManagedDevice get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final ManagedDevice sourceManagedDevice, final ICallback callback); - - ManagedDevice patch(final ManagedDevice sourceManagedDevice) throws ClientException; - - IBaseManagedDeviceWithReferenceRequest select(final String value); - - IBaseManagedDeviceWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequestBuilder.java deleted file mode 100644 index 297961ff039..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedDeviceWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Device With Reference Request Builder. - */ -public interface IBaseManagedDeviceWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IManagedDeviceWithReferenceRequest instance - */ - IManagedDeviceWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedDeviceWithReferenceRequest instance - */ - IManagedDeviceWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IManagedDeviceReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequest.java deleted file mode 100644 index 425e217fa34..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assign Request. - */ -public interface IBaseManagedEBookAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedEBookAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedEBookAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedEBookAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequestBuilder.java deleted file mode 100644 index 810742464b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assign Request Builder. - */ -public interface IBaseManagedEBookAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the IManagedEBookAssignRequest - * - * @return the IManagedEBookAssignRequest instance - */ - IManagedEBookAssignRequest buildRequest(); - - /** - * Creates the IManagedEBookAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IManagedEBookAssignRequest instance - */ - IManagedEBookAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionPage.java deleted file mode 100644 index 56ecee454af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assignment Collection Page. - */ -public interface IBaseManagedEBookAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequest.java deleted file mode 100644 index 8bff004df61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assignment Collection Request. - */ -public interface IBaseManagedEBookAssignmentCollectionRequest { - - void get(final ICallback callback); - - IManagedEBookAssignmentCollectionPage get() throws ClientException; - - void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback); - - ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedEBookAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedEBookAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedEBookAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequestBuilder.java deleted file mode 100644 index fd0855ea837..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assignment Collection Request Builder. - */ -public interface IBaseManagedEBookAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IManagedEBookAssignmentCollectionRequest buildRequest(); - - IManagedEBookAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedEBookAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequest.java deleted file mode 100644 index 5599cf0862a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assignment Request. - */ -public interface IBaseManagedEBookAssignmentRequest extends IHttpRequest { - - /** - * Gets the ManagedEBookAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedEBookAssignment from the service - * - * @return the ManagedEBookAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedEBookAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedEBookAssignment with a source - * - * @param sourceManagedEBookAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedEBookAssignment sourceManagedEBookAssignment, final ICallback callback); - - /** - * Patches this ManagedEBookAssignment with a source - * - * @param sourceManagedEBookAssignment the source object with updates - * @return the updated ManagedEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedEBookAssignment patch(final ManagedEBookAssignment sourceManagedEBookAssignment) throws ClientException; - - /** - * Posts a ManagedEBookAssignment with a new object - * - * @param newManagedEBookAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback); - - /** - * Posts a ManagedEBookAssignment with a new object - * - * @param newManagedEBookAssignment the new object to create - * @return the created ManagedEBookAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedEBookAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedEBookAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequestBuilder.java deleted file mode 100644 index f4c7455a3b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Assignment Request Builder. - */ -public interface IBaseManagedEBookAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedEBookAssignmentRequest instance - */ - IManagedEBookAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedEBookAssignmentRequest instance - */ - IManagedEBookAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionPage.java deleted file mode 100644 index fa3b3a64da4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Collection Page. - */ -public interface IBaseManagedEBookCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequest.java deleted file mode 100644 index 6fd319c9aef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Collection Request. - */ -public interface IBaseManagedEBookCollectionRequest { - - void get(final ICallback callback); - - IManagedEBookCollectionPage get() throws ClientException; - - void post(final ManagedEBook newManagedEBook, final ICallback callback); - - ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedEBookCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedEBookCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedEBookCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequestBuilder.java deleted file mode 100644 index 317c7b15ccf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Collection Request Builder. - */ -public interface IBaseManagedEBookCollectionRequestBuilder extends IRequestBuilder { - - IManagedEBookCollectionRequest buildRequest(); - - IManagedEBookCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedEBookRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequest.java deleted file mode 100644 index 7de9a6561bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedEBook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Request. - */ -public interface IBaseManagedEBookRequest extends IHttpRequest { - - /** - * Gets the ManagedEBook from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedEBook from the service - * - * @return the ManagedEBook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedEBook get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedEBook with a source - * - * @param sourceManagedEBook the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedEBook sourceManagedEBook, final ICallback callback); - - /** - * Patches this ManagedEBook with a source - * - * @param sourceManagedEBook the source object with updates - * @return the updated ManagedEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedEBook patch(final ManagedEBook sourceManagedEBook) throws ClientException; - - /** - * Posts a ManagedEBook with a new object - * - * @param newManagedEBook the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedEBook newManagedEBook, final ICallback callback); - - /** - * Posts a ManagedEBook with a new object - * - * @param newManagedEBook the new object to create - * @return the created ManagedEBook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedEBookRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedEBookRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequestBuilder.java deleted file mode 100644 index cc1359463a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedEBookRequestBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedEBookRequest; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IEBookInstallSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequestBuilder; -import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.requests.extensions.IManagedEBookAssignRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed EBook Request Builder. - */ -public interface IBaseManagedEBookRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedEBookRequest instance - */ - IManagedEBookRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedEBookRequest instance - */ - IManagedEBookRequest buildRequest(final java.util.List requestOptions); - - IManagedEBookAssignmentCollectionRequestBuilder assignments(); - - IManagedEBookAssignmentRequestBuilder assignments(final String id); - - /** - * Gets the request builder for EBookInstallSummary - * - * @return the IEBookInstallSummaryRequestBuilder instance - */ - IEBookInstallSummaryRequestBuilder installSummary(); - - IDeviceInstallStateCollectionRequestBuilder deviceStates(); - - IDeviceInstallStateRequestBuilder deviceStates(final String id); - - IUserInstallStateSummaryCollectionRequestBuilder userStateSummary(); - - IUserInstallStateSummaryRequestBuilder userStateSummary(final String id); - IManagedEBookAssignRequestBuilder assign(final java.util.List managedEBookAssignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequest.java deleted file mode 100644 index 52e4653a514..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedIOSLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed IOSLob App Request. - */ -public interface IBaseManagedIOSLobAppRequest extends IHttpRequest { - - /** - * Gets the ManagedIOSLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedIOSLobApp from the service - * - * @return the ManagedIOSLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedIOSLobApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedIOSLobApp with a source - * - * @param sourceManagedIOSLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedIOSLobApp sourceManagedIOSLobApp, final ICallback callback); - - /** - * Patches this ManagedIOSLobApp with a source - * - * @param sourceManagedIOSLobApp the source object with updates - * @return the updated ManagedIOSLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedIOSLobApp patch(final ManagedIOSLobApp sourceManagedIOSLobApp) throws ClientException; - - /** - * Posts a ManagedIOSLobApp with a new object - * - * @param newManagedIOSLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedIOSLobApp newManagedIOSLobApp, final ICallback callback); - - /** - * Posts a ManagedIOSLobApp with a new object - * - * @param newManagedIOSLobApp the new object to create - * @return the created ManagedIOSLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedIOSLobApp post(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedIOSLobAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedIOSLobAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequestBuilder.java deleted file mode 100644 index 6e344cc18dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSLobAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedIOSLobAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed IOSLob App Request Builder. - */ -public interface IBaseManagedIOSLobAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedIOSLobAppRequest instance - */ - IManagedIOSLobAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedIOSLobAppRequest instance - */ - IManagedIOSLobAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequest.java deleted file mode 100644 index c97315bcd01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedIOSStoreApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed IOSStore App Request. - */ -public interface IBaseManagedIOSStoreAppRequest extends IHttpRequest { - - /** - * Gets the ManagedIOSStoreApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedIOSStoreApp from the service - * - * @return the ManagedIOSStoreApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedIOSStoreApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedIOSStoreApp with a source - * - * @param sourceManagedIOSStoreApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp, final ICallback callback); - - /** - * Patches this ManagedIOSStoreApp with a source - * - * @param sourceManagedIOSStoreApp the source object with updates - * @return the updated ManagedIOSStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedIOSStoreApp patch(final ManagedIOSStoreApp sourceManagedIOSStoreApp) throws ClientException; - - /** - * Posts a ManagedIOSStoreApp with a new object - * - * @param newManagedIOSStoreApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedIOSStoreApp newManagedIOSStoreApp, final ICallback callback); - - /** - * Posts a ManagedIOSStoreApp with a new object - * - * @param newManagedIOSStoreApp the new object to create - * @return the created ManagedIOSStoreApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedIOSStoreApp post(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedIOSStoreAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedIOSStoreAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequestBuilder.java deleted file mode 100644 index 17859995b7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedIOSStoreAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedIOSStoreAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed IOSStore App Request Builder. - */ -public interface IBaseManagedIOSStoreAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedIOSStoreAppRequest instance - */ - IManagedIOSStoreAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedIOSStoreAppRequest instance - */ - IManagedIOSStoreAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionPage.java deleted file mode 100644 index ab5b9846c6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile App Collection Page. - */ -public interface IBaseManagedMobileAppCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequest.java deleted file mode 100644 index d0757b3272d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile App Collection Request. - */ -public interface IBaseManagedMobileAppCollectionRequest { - - void get(final ICallback callback); - - IManagedMobileAppCollectionPage get() throws ClientException; - - void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback); - - ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IManagedMobileAppCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IManagedMobileAppCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IManagedMobileAppCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequestBuilder.java deleted file mode 100644 index 404e10bb09d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile App Collection Request Builder. - */ -public interface IBaseManagedMobileAppCollectionRequestBuilder extends IRequestBuilder { - - IManagedMobileAppCollectionRequest buildRequest(); - - IManagedMobileAppCollectionRequest buildRequest(final java.util.List requestOptions); - - IManagedMobileAppRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequest.java deleted file mode 100644 index 44432256e5c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedMobileApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile App Request. - */ -public interface IBaseManagedMobileAppRequest extends IHttpRequest { - - /** - * Gets the ManagedMobileApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedMobileApp from the service - * - * @return the ManagedMobileApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedMobileApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedMobileApp with a source - * - * @param sourceManagedMobileApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedMobileApp sourceManagedMobileApp, final ICallback callback); - - /** - * Patches this ManagedMobileApp with a source - * - * @param sourceManagedMobileApp the source object with updates - * @return the updated ManagedMobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedMobileApp patch(final ManagedMobileApp sourceManagedMobileApp) throws ClientException; - - /** - * Posts a ManagedMobileApp with a new object - * - * @param newManagedMobileApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedMobileApp newManagedMobileApp, final ICallback callback); - - /** - * Posts a ManagedMobileApp with a new object - * - * @param newManagedMobileApp the new object to create - * @return the created ManagedMobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedMobileAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedMobileAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequestBuilder.java deleted file mode 100644 index 7ca1804ea9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile App Request Builder. - */ -public interface IBaseManagedMobileAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedMobileAppRequest instance - */ - IManagedMobileAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedMobileAppRequest instance - */ - IManagedMobileAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequest.java deleted file mode 100644 index 1669c6fdff4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ManagedMobileLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile Lob App Request. - */ -public interface IBaseManagedMobileLobAppRequest extends IHttpRequest { - - /** - * Gets the ManagedMobileLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ManagedMobileLobApp from the service - * - * @return the ManagedMobileLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedMobileLobApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ManagedMobileLobApp with a source - * - * @param sourceManagedMobileLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ManagedMobileLobApp sourceManagedMobileLobApp, final ICallback callback); - - /** - * Patches this ManagedMobileLobApp with a source - * - * @param sourceManagedMobileLobApp the source object with updates - * @return the updated ManagedMobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedMobileLobApp patch(final ManagedMobileLobApp sourceManagedMobileLobApp) throws ClientException; - - /** - * Posts a ManagedMobileLobApp with a new object - * - * @param newManagedMobileLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ManagedMobileLobApp newManagedMobileLobApp, final ICallback callback); - - /** - * Posts a ManagedMobileLobApp with a new object - * - * @param newManagedMobileLobApp the new object to create - * @return the created ManagedMobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ManagedMobileLobApp post(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseManagedMobileLobAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseManagedMobileLobAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequestBuilder.java deleted file mode 100644 index a809b0dd7e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseManagedMobileLobAppRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IManagedMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Managed Mobile Lob App Request Builder. - */ -public interface IBaseManagedMobileLobAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IManagedMobileLobAppRequest instance - */ - IManagedMobileLobAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IManagedMobileLobAppRequest instance - */ - IManagedMobileLobAppRequest buildRequest(final java.util.List requestOptions); - - IMobileAppContentCollectionRequestBuilder contentVersions(); - - IMobileAppContentRequestBuilder contentVersions(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionPage.java deleted file mode 100644 index cc5425ecd49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mdm Windows Information Protection Policy Collection Page. - */ -public interface IBaseMdmWindowsInformationProtectionPolicyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequest.java deleted file mode 100644 index 39e92c0cfc4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mdm Windows Information Protection Policy Collection Request. - */ -public interface IBaseMdmWindowsInformationProtectionPolicyCollectionRequest { - - void get(final ICallback callback); - - IMdmWindowsInformationProtectionPolicyCollectionPage get() throws ClientException; - - void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback); - - MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMdmWindowsInformationProtectionPolicyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMdmWindowsInformationProtectionPolicyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMdmWindowsInformationProtectionPolicyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java deleted file mode 100644 index 8bbd947aa44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mdm Windows Information Protection Policy Collection Request Builder. - */ -public interface IBaseMdmWindowsInformationProtectionPolicyCollectionRequestBuilder extends IRequestBuilder { - - IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest(); - - IMdmWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions); - - IMdmWindowsInformationProtectionPolicyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequest.java deleted file mode 100644 index 7797d48c917..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mdm Windows Information Protection Policy Request. - */ -public interface IBaseMdmWindowsInformationProtectionPolicyRequest extends IHttpRequest { - - /** - * Gets the MdmWindowsInformationProtectionPolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MdmWindowsInformationProtectionPolicy from the service - * - * @return the MdmWindowsInformationProtectionPolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MdmWindowsInformationProtectionPolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MdmWindowsInformationProtectionPolicy with a source - * - * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy, final ICallback callback); - - /** - * Patches this MdmWindowsInformationProtectionPolicy with a source - * - * @param sourceMdmWindowsInformationProtectionPolicy the source object with updates - * @return the updated MdmWindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MdmWindowsInformationProtectionPolicy patch(final MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy) throws ClientException; - - /** - * Posts a MdmWindowsInformationProtectionPolicy with a new object - * - * @param newMdmWindowsInformationProtectionPolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback); - - /** - * Posts a MdmWindowsInformationProtectionPolicy with a new object - * - * @param newMdmWindowsInformationProtectionPolicy the new object to create - * @return the created MdmWindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMdmWindowsInformationProtectionPolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMdmWindowsInformationProtectionPolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequestBuilder.java deleted file mode 100644 index 98efca19ce0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMdmWindowsInformationProtectionPolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMdmWindowsInformationProtectionPolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mdm Windows Information Protection Policy Request Builder. - */ -public interface IBaseMdmWindowsInformationProtectionPolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMdmWindowsInformationProtectionPolicyRequest instance - */ - IMdmWindowsInformationProtectionPolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMdmWindowsInformationProtectionPolicyRequest instance - */ - IMdmWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionPage.java deleted file mode 100644 index 7e4d64ec0e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Collection Page. - */ -public interface IBaseMessageCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequest.java deleted file mode 100644 index f4d5c3c6c9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Collection Request. - */ -public interface IBaseMessageCollectionRequest { - - void get(final ICallback callback); - - IMessageCollectionPage get() throws ClientException; - - void post(final Message newMessage, final ICallback callback); - - Message post(final Message newMessage) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequestBuilder.java deleted file mode 100644 index 44e1b488b3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Collection Request Builder. - */ -public interface IBaseMessageCollectionRequestBuilder extends IRequestBuilder { - - IMessageCollectionRequest buildRequest(); - - IMessageCollectionRequest buildRequest(final java.util.List requestOptions); - - IMessageRequestBuilder byId(final String id); - - - IMessageDeltaCollectionRequestBuilder delta(); - - IMessageDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequest.java deleted file mode 100644 index b7526160fe8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCopyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Copy Request. - */ -public interface IBaseMessageCopyRequest { - - void post(final ICallback callback); - - Message post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageCopyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageCopyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageCopyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequestBuilder.java deleted file mode 100644 index 7be48f6c25e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCopyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCopyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Copy Request Builder. - */ -public interface IBaseMessageCopyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageCopyRequest - * - * @return the IMessageCopyRequest instance - */ - IMessageCopyRequest buildRequest(); - - /** - * Creates the IMessageCopyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageCopyRequest instance - */ - IMessageCopyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequest.java deleted file mode 100644 index 08e3755eef0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Create Forward Request. - */ -public interface IBaseMessageCreateForwardRequest { - - /** - * Creates the MessageCreateForward - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the MessageCreateForward - * - * @return the Message - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Message post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageCreateForwardRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageCreateForwardRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequestBuilder.java deleted file mode 100644 index 96833b78a21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateForwardRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Create Forward Request Builder. - */ -public interface IBaseMessageCreateForwardRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageCreateForwardRequest - * - * @return the IMessageCreateForwardRequest instance - */ - IMessageCreateForwardRequest buildRequest(); - - /** - * Creates the IMessageCreateForwardRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageCreateForwardRequest instance - */ - IMessageCreateForwardRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequest.java deleted file mode 100644 index f25d5e5b5d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Create Reply All Request. - */ -public interface IBaseMessageCreateReplyAllRequest { - - /** - * Creates the MessageCreateReplyAll - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the MessageCreateReplyAll - * - * @return the Message - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Message post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageCreateReplyAllRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageCreateReplyAllRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequestBuilder.java deleted file mode 100644 index fe245a5e9d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyAllRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Create Reply All Request Builder. - */ -public interface IBaseMessageCreateReplyAllRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageCreateReplyAllRequest - * - * @return the IMessageCreateReplyAllRequest instance - */ - IMessageCreateReplyAllRequest buildRequest(); - - /** - * Creates the IMessageCreateReplyAllRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageCreateReplyAllRequest instance - */ - IMessageCreateReplyAllRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequest.java deleted file mode 100644 index 1ebda718e90..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Create Reply Request. - */ -public interface IBaseMessageCreateReplyRequest { - - /** - * Creates the MessageCreateReply - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the MessageCreateReply - * - * @return the Message - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Message post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageCreateReplyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageCreateReplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequestBuilder.java deleted file mode 100644 index 274a8d6d4e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageCreateReplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Create Reply Request Builder. - */ -public interface IBaseMessageCreateReplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageCreateReplyRequest - * - * @return the IMessageCreateReplyRequest instance - */ - IMessageCreateReplyRequest buildRequest(); - - /** - * Creates the IMessageCreateReplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageCreateReplyRequest instance - */ - IMessageCreateReplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionPage.java deleted file mode 100644 index 10d6bddc1bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Delta Collection Page. - */ -public interface IBaseMessageDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequest.java deleted file mode 100644 index 790698e3b58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Delta Collection Request. - */ -public interface IBaseMessageDeltaCollectionRequest { - - void get(final ICallback callback); - - IMessageDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequestBuilder.java deleted file mode 100644 index d3cccdbd87e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Delta Collection Request Builder. - */ -public interface IBaseMessageDeltaCollectionRequestBuilder extends IRequestBuilder { - - IMessageDeltaCollectionRequest buildRequest(); - - IMessageDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequest.java deleted file mode 100644 index 2b7db4f281b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageForwardRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Forward Request. - */ -public interface IBaseMessageForwardRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageForwardRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageForwardRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageForwardRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequestBuilder.java deleted file mode 100644 index 5bbc4b481e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageForwardRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageForwardRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Forward Request Builder. - */ -public interface IBaseMessageForwardRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageForwardRequest - * - * @return the IMessageForwardRequest instance - */ - IMessageForwardRequest buildRequest(); - - /** - * Creates the IMessageForwardRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageForwardRequest instance - */ - IMessageForwardRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequest.java deleted file mode 100644 index f6f2b68d1fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IMessageMoveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Move Request. - */ -public interface IBaseMessageMoveRequest { - - void post(final ICallback callback); - - Message post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageMoveRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageMoveRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageMoveRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequestBuilder.java deleted file mode 100644 index a08dd3a533f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageMoveRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageMoveRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Move Request Builder. - */ -public interface IBaseMessageMoveRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageMoveRequest - * - * @return the IMessageMoveRequest instance - */ - IMessageMoveRequest buildRequest(); - - /** - * Creates the IMessageMoveRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageMoveRequest instance - */ - IMessageMoveRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequest.java deleted file mode 100644 index f9c17839662..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Reply All Request. - */ -public interface IBaseMessageReplyAllRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageReplyAllRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageReplyAllRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageReplyAllRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequestBuilder.java deleted file mode 100644 index cd2cbf069f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyAllRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageReplyAllRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Reply All Request Builder. - */ -public interface IBaseMessageReplyAllRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageReplyAllRequest - * - * @return the IMessageReplyAllRequest instance - */ - IMessageReplyAllRequest buildRequest(); - - /** - * Creates the IMessageReplyAllRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageReplyAllRequest instance - */ - IMessageReplyAllRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequest.java deleted file mode 100644 index 9bbe4ac3cca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Reply Request. - */ -public interface IBaseMessageReplyRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageReplyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageReplyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageReplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequestBuilder.java deleted file mode 100644 index 5a57e465318..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageReplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageReplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Reply Request Builder. - */ -public interface IBaseMessageReplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageReplyRequest - * - * @return the IMessageReplyRequest instance - */ - IMessageReplyRequest buildRequest(); - - /** - * Creates the IMessageReplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageReplyRequest instance - */ - IMessageReplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequest.java deleted file mode 100644 index e971d4b75fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Message; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Request. - */ -public interface IBaseMessageRequest extends IHttpRequest { - - /** - * Gets the Message from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Message from the service - * - * @return the Message from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Message get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Message with a source - * - * @param sourceMessage the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Message sourceMessage, final ICallback callback); - - /** - * Patches this Message with a source - * - * @param sourceMessage the source object with updates - * @return the updated Message - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Message patch(final Message sourceMessage) throws ClientException; - - /** - * Posts a Message with a new object - * - * @param newMessage the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Message newMessage, final ICallback callback); - - /** - * Posts a Message with a new object - * - * @param newMessage the new object to create - * @return the created Message - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Message post(final Message newMessage) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMessageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMessageRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequestBuilder.java deleted file mode 100644 index ec01713d8a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRequestBuilder.java +++ /dev/null @@ -1,76 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageRequest; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCopyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageMoveRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCreateReplyAllRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCreateForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageReplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageReplyAllRequestBuilder; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.requests.extensions.IMessageForwardRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageSendRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Request Builder. - */ -public interface IBaseMessageRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMessageRequest instance - */ - IMessageRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMessageRequest instance - */ - IMessageRequest buildRequest(final java.util.List requestOptions); - - IAttachmentCollectionRequestBuilder attachments(); - - IAttachmentRequestBuilder attachments(final String id); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - IMessageCopyRequestBuilder copy(final String destinationId); - IMessageMoveRequestBuilder move(final String destinationId); - IMessageCreateReplyRequestBuilder createReply(); - IMessageCreateReplyAllRequestBuilder createReplyAll(); - IMessageCreateForwardRequestBuilder createForward(); - IMessageReplyRequestBuilder reply(final String comment); - IMessageReplyAllRequestBuilder replyAll(final String comment); - IMessageForwardRequestBuilder forward(final String comment, final java.util.List toRecipients); - IMessageSendRequestBuilder send(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionPage.java deleted file mode 100644 index 115dc785f4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Rule Collection Page. - */ -public interface IBaseMessageRuleCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequest.java deleted file mode 100644 index 8e4ed98b7c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Rule Collection Request. - */ -public interface IBaseMessageRuleCollectionRequest { - - void get(final ICallback callback); - - IMessageRuleCollectionPage get() throws ClientException; - - void post(final MessageRule newMessageRule, final ICallback callback); - - MessageRule post(final MessageRule newMessageRule) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMessageRuleCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMessageRuleCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMessageRuleCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequestBuilder.java deleted file mode 100644 index cd1191d5fb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Rule Collection Request Builder. - */ -public interface IBaseMessageRuleCollectionRequestBuilder extends IRequestBuilder { - - IMessageRuleCollectionRequest buildRequest(); - - IMessageRuleCollectionRequest buildRequest(final java.util.List requestOptions); - - IMessageRuleRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequest.java deleted file mode 100644 index 2f78f26b4e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MessageRule; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Rule Request. - */ -public interface IBaseMessageRuleRequest extends IHttpRequest { - - /** - * Gets the MessageRule from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MessageRule from the service - * - * @return the MessageRule from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MessageRule get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MessageRule with a source - * - * @param sourceMessageRule the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MessageRule sourceMessageRule, final ICallback callback); - - /** - * Patches this MessageRule with a source - * - * @param sourceMessageRule the source object with updates - * @return the updated MessageRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MessageRule patch(final MessageRule sourceMessageRule) throws ClientException; - - /** - * Posts a MessageRule with a new object - * - * @param newMessageRule the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MessageRule newMessageRule, final ICallback callback); - - /** - * Posts a MessageRule with a new object - * - * @param newMessageRule the new object to create - * @return the created MessageRule - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MessageRule post(final MessageRule newMessageRule) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMessageRuleRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMessageRuleRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequestBuilder.java deleted file mode 100644 index f35c28f9842..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageRuleRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageRuleRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Rule Request Builder. - */ -public interface IBaseMessageRuleRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMessageRuleRequest instance - */ - IMessageRuleRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMessageRuleRequest instance - */ - IMessageRuleRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequest.java deleted file mode 100644 index c6f22d68ed3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageSendRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Send Request. - */ -public interface IBaseMessageSendRequest { - - /** - * Creates the MessageSend - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the MessageSend - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequestBuilder.java deleted file mode 100644 index 996bd29a583..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMessageSendRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMessageSendRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Message Send Request Builder. - */ -public interface IBaseMessageSendRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMessageSendRequest - * - * @return the IMessageSendRequest instance - */ - IMessageSendRequest buildRequest(); - - /** - * Creates the IMessageSendRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMessageSendRequest instance - */ - IMessageSendRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequest.java deleted file mode 100644 index 3eb3a273068..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MicrosoftStoreForBusinessApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Microsoft Store For Business App Request. - */ -public interface IBaseMicrosoftStoreForBusinessAppRequest extends IHttpRequest { - - /** - * Gets the MicrosoftStoreForBusinessApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MicrosoftStoreForBusinessApp from the service - * - * @return the MicrosoftStoreForBusinessApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MicrosoftStoreForBusinessApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MicrosoftStoreForBusinessApp with a source - * - * @param sourceMicrosoftStoreForBusinessApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp, final ICallback callback); - - /** - * Patches this MicrosoftStoreForBusinessApp with a source - * - * @param sourceMicrosoftStoreForBusinessApp the source object with updates - * @return the updated MicrosoftStoreForBusinessApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MicrosoftStoreForBusinessApp patch(final MicrosoftStoreForBusinessApp sourceMicrosoftStoreForBusinessApp) throws ClientException; - - /** - * Posts a MicrosoftStoreForBusinessApp with a new object - * - * @param newMicrosoftStoreForBusinessApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp, final ICallback callback); - - /** - * Posts a MicrosoftStoreForBusinessApp with a new object - * - * @param newMicrosoftStoreForBusinessApp the new object to create - * @return the created MicrosoftStoreForBusinessApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MicrosoftStoreForBusinessApp post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMicrosoftStoreForBusinessAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMicrosoftStoreForBusinessAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequestBuilder.java deleted file mode 100644 index d17c5d3bc2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMicrosoftStoreForBusinessAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMicrosoftStoreForBusinessAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Microsoft Store For Business App Request Builder. - */ -public interface IBaseMicrosoftStoreForBusinessAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMicrosoftStoreForBusinessAppRequest instance - */ - IMicrosoftStoreForBusinessAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMicrosoftStoreForBusinessAppRequest instance - */ - IMicrosoftStoreForBusinessAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequest.java deleted file mode 100644 index a3c4663fe5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assign Request. - */ -public interface IBaseMobileAppAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequestBuilder.java deleted file mode 100644 index 1ef067df175..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assign Request Builder. - */ -public interface IBaseMobileAppAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMobileAppAssignRequest - * - * @return the IMobileAppAssignRequest instance - */ - IMobileAppAssignRequest buildRequest(); - - /** - * Creates the IMobileAppAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMobileAppAssignRequest instance - */ - IMobileAppAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionPage.java deleted file mode 100644 index 1d4889f487a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assignment Collection Page. - */ -public interface IBaseMobileAppAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequest.java deleted file mode 100644 index d007944fae2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assignment Collection Request. - */ -public interface IBaseMobileAppAssignmentCollectionRequest { - - void get(final ICallback callback); - - IMobileAppAssignmentCollectionPage get() throws ClientException; - - void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback); - - MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequestBuilder.java deleted file mode 100644 index fdd70a3b023..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assignment Collection Request Builder. - */ -public interface IBaseMobileAppAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IMobileAppAssignmentCollectionRequest buildRequest(); - - IMobileAppAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IMobileAppAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequest.java deleted file mode 100644 index e20514fb3d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assignment Request. - */ -public interface IBaseMobileAppAssignmentRequest extends IHttpRequest { - - /** - * Gets the MobileAppAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileAppAssignment from the service - * - * @return the MobileAppAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileAppAssignment with a source - * - * @param sourceMobileAppAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileAppAssignment sourceMobileAppAssignment, final ICallback callback); - - /** - * Patches this MobileAppAssignment with a source - * - * @param sourceMobileAppAssignment the source object with updates - * @return the updated MobileAppAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppAssignment patch(final MobileAppAssignment sourceMobileAppAssignment) throws ClientException; - - /** - * Posts a MobileAppAssignment with a new object - * - * @param newMobileAppAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileAppAssignment newMobileAppAssignment, final ICallback callback); - - /** - * Posts a MobileAppAssignment with a new object - * - * @param newMobileAppAssignment the new object to create - * @return the created MobileAppAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileAppAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileAppAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequestBuilder.java deleted file mode 100644 index 31e68379edb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Assignment Request Builder. - */ -public interface IBaseMobileAppAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileAppAssignmentRequest instance - */ - IMobileAppAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppAssignmentRequest instance - */ - IMobileAppAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionPage.java deleted file mode 100644 index f68ac333d37..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection Page. - */ -public interface IBaseMobileAppCategoryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequest.java deleted file mode 100644 index ba63eb27ed8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequest.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection Reference Request. - */ -public interface IBaseMobileAppCategoryCollectionReferenceRequest { - - void post(final MobileAppCategory newMobileAppCategory, final ICallback callback); - - MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; - - IMobileAppCategoryCollectionReferenceRequest select(final String value); - - IMobileAppCategoryCollectionReferenceRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequestBuilder.java deleted file mode 100644 index bf7fbe2b789..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionReferenceRequestBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection Reference Request Builder. - */ -public interface IBaseMobileAppCategoryCollectionReferenceRequestBuilder extends IRequestBuilder { - - IMobileAppCategoryCollectionReferenceRequest buildRequest(); - - IMobileAppCategoryCollectionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequest.java deleted file mode 100644 index 615c318eaab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection Request. - */ -public interface IBaseMobileAppCategoryCollectionRequest { - - void get(final ICallback callback); - - IMobileAppCategoryCollectionPage get() throws ClientException; - - void post(final MobileAppCategory newMobileAppCategory, final ICallback callback); - - MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppCategoryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppCategoryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppCategoryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequestBuilder.java deleted file mode 100644 index d518ac26a5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection Request Builder. - */ -public interface IBaseMobileAppCategoryCollectionRequestBuilder extends IRequestBuilder { - - IMobileAppCategoryCollectionRequest buildRequest(); - - IMobileAppCategoryCollectionRequest buildRequest(final java.util.List requestOptions); - - IMobileAppCategoryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesPage.java deleted file mode 100644 index 85aff304c51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection With References Page. - */ -public interface IBaseMobileAppCategoryCollectionWithReferencesPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequest.java deleted file mode 100644 index bcaa14f4d2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequest.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection With References Request. - */ -public interface IBaseMobileAppCategoryCollectionWithReferencesRequest { - - void get(final ICallback callback); - - IMobileAppCategoryCollectionWithReferencesPage get() throws ClientException; - - IMobileAppCategoryCollectionWithReferencesRequest expand(final String value); - - IMobileAppCategoryCollectionWithReferencesRequest select(final String value); - - IMobileAppCategoryCollectionWithReferencesRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java deleted file mode 100644 index 09c92818637..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Collection With References Request Builder. - */ -public interface IBaseMobileAppCategoryCollectionWithReferencesRequestBuilder extends IRequestBuilder { - - IMobileAppCategoryCollectionWithReferencesRequest buildRequest(); - - IMobileAppCategoryCollectionWithReferencesRequest buildRequest(final java.util.List requestOptions); - - IMobileAppCategoryWithReferenceRequestBuilder byId(final String id); - - IMobileAppCategoryCollectionReferenceRequestBuilder references(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequest.java deleted file mode 100644 index cdbb57bef2f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Reference Request. - */ -public interface IBaseMobileAppCategoryReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - MobileAppCategory delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileAppCategoryReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileAppCategoryReferenceRequest expand(final String value); - - /** - * Puts the MobileAppCategory - * - * @param srcMobileAppCategory the MobileAppCategory to PUT - * @param callback the callback to be called after success or failure - */ - void put(MobileAppCategory srcMobileAppCategory, final ICallback callback); - - /** - * Puts the MobileAppCategory - * - * @param srcMobileAppCategory the MobileAppCategory to PUT - * @return the MobileAppCategory - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - MobileAppCategory put(MobileAppCategory srcMobileAppCategory) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequestBuilder.java deleted file mode 100644 index d0cb03239f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Reference Request Builder. - */ -public interface IBaseMobileAppCategoryReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IMobileAppCategoryReferenceRequest instance - */ - IMobileAppCategoryReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppCategoryReferenceRequest instance - */ - IMobileAppCategoryReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequest.java deleted file mode 100644 index 22d10635dee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppCategory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Request. - */ -public interface IBaseMobileAppCategoryRequest extends IHttpRequest { - - /** - * Gets the MobileAppCategory from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileAppCategory from the service - * - * @return the MobileAppCategory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppCategory get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileAppCategory with a source - * - * @param sourceMobileAppCategory the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback); - - /** - * Patches this MobileAppCategory with a source - * - * @param sourceMobileAppCategory the source object with updates - * @return the updated MobileAppCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException; - - /** - * Posts a MobileAppCategory with a new object - * - * @param newMobileAppCategory the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileAppCategory newMobileAppCategory, final ICallback callback); - - /** - * Posts a MobileAppCategory with a new object - * - * @param newMobileAppCategory the new object to create - * @return the created MobileAppCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileAppCategoryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileAppCategoryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequestBuilder.java deleted file mode 100644 index 2eae5950441..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category Request Builder. - */ -public interface IBaseMobileAppCategoryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileAppCategoryRequest instance - */ - IMobileAppCategoryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppCategoryRequest instance - */ - IMobileAppCategoryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequest.java deleted file mode 100644 index 7dd703d9417..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category With Reference Request. - */ -public interface IBaseMobileAppCategoryWithReferenceRequest extends IHttpRequest { - - void post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload, final ICallback callback); - - MobileAppCategory post(final MobileAppCategory newMobileAppCategory, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - MobileAppCategory get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final MobileAppCategory sourceMobileAppCategory, final ICallback callback); - - MobileAppCategory patch(final MobileAppCategory sourceMobileAppCategory) throws ClientException; - - IBaseMobileAppCategoryWithReferenceRequest select(final String value); - - IBaseMobileAppCategoryWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequestBuilder.java deleted file mode 100644 index 385e2b69fac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCategoryWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Category With Reference Request Builder. - */ -public interface IBaseMobileAppCategoryWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IMobileAppCategoryWithReferenceRequest instance - */ - IMobileAppCategoryWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppCategoryWithReferenceRequest instance - */ - IMobileAppCategoryWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IMobileAppCategoryReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionPage.java deleted file mode 100644 index 5200242bfda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Collection Page. - */ -public interface IBaseMobileAppCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequest.java deleted file mode 100644 index 2c2b006e613..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Collection Request. - */ -public interface IBaseMobileAppCollectionRequest { - - void get(final ICallback callback); - - IMobileAppCollectionPage get() throws ClientException; - - void post(final MobileApp newMobileApp, final ICallback callback); - - MobileApp post(final MobileApp newMobileApp) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequestBuilder.java deleted file mode 100644 index 725ab33c06f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Collection Request Builder. - */ -public interface IBaseMobileAppCollectionRequestBuilder extends IRequestBuilder { - - IMobileAppCollectionRequest buildRequest(); - - IMobileAppCollectionRequest buildRequest(final java.util.List requestOptions); - - IMobileAppRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionPage.java deleted file mode 100644 index e04798f3dea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content Collection Page. - */ -public interface IBaseMobileAppContentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequest.java deleted file mode 100644 index a0bb320f090..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content Collection Request. - */ -public interface IBaseMobileAppContentCollectionRequest { - - void get(final ICallback callback); - - IMobileAppContentCollectionPage get() throws ClientException; - - void post(final MobileAppContent newMobileAppContent, final ICallback callback); - - MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppContentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppContentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppContentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequestBuilder.java deleted file mode 100644 index 3cc9502f96b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content Collection Request Builder. - */ -public interface IBaseMobileAppContentCollectionRequestBuilder extends IRequestBuilder { - - IMobileAppContentCollectionRequest buildRequest(); - - IMobileAppContentCollectionRequest buildRequest(final java.util.List requestOptions); - - IMobileAppContentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionPage.java deleted file mode 100644 index 5919e8f9645..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Collection Page. - */ -public interface IBaseMobileAppContentFileCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequest.java deleted file mode 100644 index d2a8454012d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Collection Request. - */ -public interface IBaseMobileAppContentFileCollectionRequest { - - void get(final ICallback callback); - - IMobileAppContentFileCollectionPage get() throws ClientException; - - void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback); - - MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppContentFileCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppContentFileCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppContentFileCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequestBuilder.java deleted file mode 100644 index b24dd1f3c0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Collection Request Builder. - */ -public interface IBaseMobileAppContentFileCollectionRequestBuilder extends IRequestBuilder { - - IMobileAppContentFileCollectionRequest buildRequest(); - - IMobileAppContentFileCollectionRequest buildRequest(final java.util.List requestOptions); - - IMobileAppContentFileRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequest.java deleted file mode 100644 index ff6d90c5d53..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Commit Request. - */ -public interface IBaseMobileAppContentFileCommitRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileAppContentFileCommitRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileAppContentFileCommitRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileAppContentFileCommitRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequestBuilder.java deleted file mode 100644 index 2767d8ce9a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileCommitRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Commit Request Builder. - */ -public interface IBaseMobileAppContentFileCommitRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMobileAppContentFileCommitRequest - * - * @return the IMobileAppContentFileCommitRequest instance - */ - IMobileAppContentFileCommitRequest buildRequest(); - - /** - * Creates the IMobileAppContentFileCommitRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMobileAppContentFileCommitRequest instance - */ - IMobileAppContentFileCommitRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequest.java deleted file mode 100644 index cd0ac399948..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Renew Upload Request. - */ -public interface IBaseMobileAppContentFileRenewUploadRequest { - - /** - * Creates the MobileAppContentFileRenewUpload - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the MobileAppContentFileRenewUpload - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequestBuilder.java deleted file mode 100644 index 9c5e3b7929b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRenewUploadRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Renew Upload Request Builder. - */ -public interface IBaseMobileAppContentFileRenewUploadRequestBuilder extends IRequestBuilder { - - /** - * Creates the IMobileAppContentFileRenewUploadRequest - * - * @return the IMobileAppContentFileRenewUploadRequest instance - */ - IMobileAppContentFileRenewUploadRequest buildRequest(); - - /** - * Creates the IMobileAppContentFileRenewUploadRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IMobileAppContentFileRenewUploadRequest instance - */ - IMobileAppContentFileRenewUploadRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequest.java deleted file mode 100644 index e6563468689..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContentFile; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Request. - */ -public interface IBaseMobileAppContentFileRequest extends IHttpRequest { - - /** - * Gets the MobileAppContentFile from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileAppContentFile from the service - * - * @return the MobileAppContentFile from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppContentFile get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileAppContentFile with a source - * - * @param sourceMobileAppContentFile the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileAppContentFile sourceMobileAppContentFile, final ICallback callback); - - /** - * Patches this MobileAppContentFile with a source - * - * @param sourceMobileAppContentFile the source object with updates - * @return the updated MobileAppContentFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppContentFile patch(final MobileAppContentFile sourceMobileAppContentFile) throws ClientException; - - /** - * Posts a MobileAppContentFile with a new object - * - * @param newMobileAppContentFile the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileAppContentFile newMobileAppContentFile, final ICallback callback); - - /** - * Posts a MobileAppContentFile with a new object - * - * @param newMobileAppContentFile the new object to create - * @return the created MobileAppContentFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileAppContentFileRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileAppContentFileRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequestBuilder.java deleted file mode 100644 index c37a8528a8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentFileRequestBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequest; -import com.microsoft.graph.models.extensions.FileEncryptionInfo; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCommitRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRenewUploadRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content File Request Builder. - */ -public interface IBaseMobileAppContentFileRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileAppContentFileRequest instance - */ - IMobileAppContentFileRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppContentFileRequest instance - */ - IMobileAppContentFileRequest buildRequest(final java.util.List requestOptions); - IMobileAppContentFileCommitRequestBuilder commit(final FileEncryptionInfo fileEncryptionInfo); - IMobileAppContentFileRenewUploadRequestBuilder renewUpload(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequest.java deleted file mode 100644 index e514fb3dcae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileAppContent; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content Request. - */ -public interface IBaseMobileAppContentRequest extends IHttpRequest { - - /** - * Gets the MobileAppContent from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileAppContent from the service - * - * @return the MobileAppContent from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppContent get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileAppContent with a source - * - * @param sourceMobileAppContent the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileAppContent sourceMobileAppContent, final ICallback callback); - - /** - * Patches this MobileAppContent with a source - * - * @param sourceMobileAppContent the source object with updates - * @return the updated MobileAppContent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppContent patch(final MobileAppContent sourceMobileAppContent) throws ClientException; - - /** - * Posts a MobileAppContent with a new object - * - * @param newMobileAppContent the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileAppContent newMobileAppContent, final ICallback callback); - - /** - * Posts a MobileAppContent with a new object - * - * @param newMobileAppContent the new object to create - * @return the created MobileAppContent - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileAppContentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileAppContentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequestBuilder.java deleted file mode 100644 index 5e605c91192..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppContentRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequest; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentFileRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Content Request Builder. - */ -public interface IBaseMobileAppContentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileAppContentRequest instance - */ - IMobileAppContentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppContentRequest instance - */ - IMobileAppContentRequest buildRequest(final java.util.List requestOptions); - - IMobileAppContentFileCollectionRequestBuilder files(); - - IMobileAppContentFileRequestBuilder files(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequest.java deleted file mode 100644 index 8dc7dad96bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Request. - */ -public interface IBaseMobileAppRequest extends IHttpRequest { - - /** - * Gets the MobileApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileApp from the service - * - * @return the MobileApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileApp with a source - * - * @param sourceMobileApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileApp sourceMobileApp, final ICallback callback); - - /** - * Patches this MobileApp with a source - * - * @param sourceMobileApp the source object with updates - * @return the updated MobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileApp patch(final MobileApp sourceMobileApp) throws ClientException; - - /** - * Posts a MobileApp with a new object - * - * @param newMobileApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileApp newMobileApp, final ICallback callback); - - /** - * Posts a MobileApp with a new object - * - * @param newMobileApp the new object to create - * @return the created MobileApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileApp post(final MobileApp newMobileApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequestBuilder.java deleted file mode 100644 index fbabe3a6d9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileAppRequestBuilder.java +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileAppRequest; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppCategoryWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.MobileAppAssignment; -import com.microsoft.graph.requests.extensions.IMobileAppAssignRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile App Request Builder. - */ -public interface IBaseMobileAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileAppRequest instance - */ - IMobileAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileAppRequest instance - */ - IMobileAppRequest buildRequest(final java.util.List requestOptions); - - IMobileAppCategoryCollectionWithReferencesRequestBuilder categories(); - - IMobileAppCategoryWithReferenceRequestBuilder categories(final String id); - - IMobileAppAssignmentCollectionRequestBuilder assignments(); - - IMobileAppAssignmentRequestBuilder assignments(final String id); - IMobileAppAssignRequestBuilder assign(final java.util.List mobileAppAssignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequest.java deleted file mode 100644 index c650368a138..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileLobApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Lob App Request. - */ -public interface IBaseMobileLobAppRequest extends IHttpRequest { - - /** - * Gets the MobileLobApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileLobApp from the service - * - * @return the MobileLobApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileLobApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileLobApp with a source - * - * @param sourceMobileLobApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileLobApp sourceMobileLobApp, final ICallback callback); - - /** - * Patches this MobileLobApp with a source - * - * @param sourceMobileLobApp the source object with updates - * @return the updated MobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileLobApp patch(final MobileLobApp sourceMobileLobApp) throws ClientException; - - /** - * Posts a MobileLobApp with a new object - * - * @param newMobileLobApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileLobApp newMobileLobApp, final ICallback callback); - - /** - * Posts a MobileLobApp with a new object - * - * @param newMobileLobApp the new object to create - * @return the created MobileLobApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileLobApp post(final MobileLobApp newMobileLobApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileLobAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileLobAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequestBuilder.java deleted file mode 100644 index a2b67e1ec62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileLobAppRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileLobAppRequest; -import com.microsoft.graph.requests.extensions.IMobileAppContentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMobileAppContentRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Lob App Request Builder. - */ -public interface IBaseMobileLobAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileLobAppRequest instance - */ - IMobileLobAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileLobAppRequest instance - */ - IMobileLobAppRequest buildRequest(final java.util.List requestOptions); - - IMobileAppContentCollectionRequestBuilder contentVersions(); - - IMobileAppContentRequestBuilder contentVersions(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionPage.java deleted file mode 100644 index d7b7d944d08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Threat Defense Connector Collection Page. - */ -public interface IBaseMobileThreatDefenseConnectorCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequest.java deleted file mode 100644 index 960f3e741a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Threat Defense Connector Collection Request. - */ -public interface IBaseMobileThreatDefenseConnectorCollectionRequest { - - void get(final ICallback callback); - - IMobileThreatDefenseConnectorCollectionPage get() throws ClientException; - - void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback); - - MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMobileThreatDefenseConnectorCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMobileThreatDefenseConnectorCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMobileThreatDefenseConnectorCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequestBuilder.java deleted file mode 100644 index c90f80a1b6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Threat Defense Connector Collection Request Builder. - */ -public interface IBaseMobileThreatDefenseConnectorCollectionRequestBuilder extends IRequestBuilder { - - IMobileThreatDefenseConnectorCollectionRequest buildRequest(); - - IMobileThreatDefenseConnectorCollectionRequest buildRequest(final java.util.List requestOptions); - - IMobileThreatDefenseConnectorRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequest.java deleted file mode 100644 index 76451c133c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Threat Defense Connector Request. - */ -public interface IBaseMobileThreatDefenseConnectorRequest extends IHttpRequest { - - /** - * Gets the MobileThreatDefenseConnector from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MobileThreatDefenseConnector from the service - * - * @return the MobileThreatDefenseConnector from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileThreatDefenseConnector get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MobileThreatDefenseConnector with a source - * - * @param sourceMobileThreatDefenseConnector the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector, final ICallback callback); - - /** - * Patches this MobileThreatDefenseConnector with a source - * - * @param sourceMobileThreatDefenseConnector the source object with updates - * @return the updated MobileThreatDefenseConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileThreatDefenseConnector patch(final MobileThreatDefenseConnector sourceMobileThreatDefenseConnector) throws ClientException; - - /** - * Posts a MobileThreatDefenseConnector with a new object - * - * @param newMobileThreatDefenseConnector the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback); - - /** - * Posts a MobileThreatDefenseConnector with a new object - * - * @param newMobileThreatDefenseConnector the new object to create - * @return the created MobileThreatDefenseConnector - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMobileThreatDefenseConnectorRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMobileThreatDefenseConnectorRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequestBuilder.java deleted file mode 100644 index 5e94a3bb6f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMobileThreatDefenseConnectorRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMobileThreatDefenseConnectorRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Mobile Threat Defense Connector Request Builder. - */ -public interface IBaseMobileThreatDefenseConnectorRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMobileThreatDefenseConnectorRequest instance - */ - IMobileThreatDefenseConnectorRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMobileThreatDefenseConnectorRequest instance - */ - IMobileThreatDefenseConnectorRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionPage.java deleted file mode 100644 index 2af072e07f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Multi Value Legacy Extended Property Collection Page. - */ -public interface IBaseMultiValueLegacyExtendedPropertyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequest.java deleted file mode 100644 index c8273ca86fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Multi Value Legacy Extended Property Collection Request. - */ -public interface IBaseMultiValueLegacyExtendedPropertyCollectionRequest { - - void get(final ICallback callback); - - IMultiValueLegacyExtendedPropertyCollectionPage get() throws ClientException; - - void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback); - - MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IMultiValueLegacyExtendedPropertyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IMultiValueLegacyExtendedPropertyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IMultiValueLegacyExtendedPropertyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java deleted file mode 100644 index dd40cdff400..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Multi Value Legacy Extended Property Collection Request Builder. - */ -public interface IBaseMultiValueLegacyExtendedPropertyCollectionRequestBuilder extends IRequestBuilder { - - IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest(); - - IMultiValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions); - - IMultiValueLegacyExtendedPropertyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequest.java deleted file mode 100644 index ff11287e094..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Multi Value Legacy Extended Property Request. - */ -public interface IBaseMultiValueLegacyExtendedPropertyRequest extends IHttpRequest { - - /** - * Gets the MultiValueLegacyExtendedProperty from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the MultiValueLegacyExtendedProperty from the service - * - * @return the MultiValueLegacyExtendedProperty from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MultiValueLegacyExtendedProperty get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this MultiValueLegacyExtendedProperty with a source - * - * @param sourceMultiValueLegacyExtendedProperty the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty, final ICallback callback); - - /** - * Patches this MultiValueLegacyExtendedProperty with a source - * - * @param sourceMultiValueLegacyExtendedProperty the source object with updates - * @return the updated MultiValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MultiValueLegacyExtendedProperty patch(final MultiValueLegacyExtendedProperty sourceMultiValueLegacyExtendedProperty) throws ClientException; - - /** - * Posts a MultiValueLegacyExtendedProperty with a new object - * - * @param newMultiValueLegacyExtendedProperty the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback); - - /** - * Posts a MultiValueLegacyExtendedProperty with a new object - * - * @param newMultiValueLegacyExtendedProperty the new object to create - * @return the created MultiValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseMultiValueLegacyExtendedPropertyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseMultiValueLegacyExtendedPropertyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequestBuilder.java deleted file mode 100644 index fe564d3c3f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseMultiValueLegacyExtendedPropertyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Multi Value Legacy Extended Property Request Builder. - */ -public interface IBaseMultiValueLegacyExtendedPropertyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IMultiValueLegacyExtendedPropertyRequest instance - */ - IMultiValueLegacyExtendedPropertyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IMultiValueLegacyExtendedPropertyRequest instance - */ - IMultiValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionPage.java deleted file mode 100644 index 3162d8c3319..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Collection Page. - */ -public interface IBaseNotebookCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequest.java deleted file mode 100644 index f2cd8f2b768..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Collection Request. - */ -public interface IBaseNotebookCollectionRequest { - - void get(final ICallback callback); - - INotebookCollectionPage get() throws ClientException; - - void post(final Notebook newNotebook, final ICallback callback); - - Notebook post(final Notebook newNotebook) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - INotebookCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - INotebookCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - INotebookCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequestBuilder.java deleted file mode 100644 index f681660d36c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Collection Request Builder. - */ -public interface IBaseNotebookCollectionRequestBuilder extends IRequestBuilder { - - INotebookCollectionRequest buildRequest(); - - INotebookCollectionRequest buildRequest(final java.util.List requestOptions); - - INotebookRequestBuilder byId(final String id); - - - INotebookGetRecentNotebooksCollectionRequestBuilder getRecentNotebooks(final Boolean includePersonalNotebooks); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequest.java deleted file mode 100644 index 00d43315c57..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Copy Notebook Request. - */ -public interface IBaseNotebookCopyNotebookRequest { - - void post(final ICallback callback); - - OnenoteOperation post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - INotebookCopyNotebookRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - INotebookCopyNotebookRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - INotebookCopyNotebookRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequestBuilder.java deleted file mode 100644 index 83e8241b248..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookCopyNotebookRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Copy Notebook Request Builder. - */ -public interface IBaseNotebookCopyNotebookRequestBuilder extends IRequestBuilder { - - /** - * Creates the INotebookCopyNotebookRequest - * - * @return the INotebookCopyNotebookRequest instance - */ - INotebookCopyNotebookRequest buildRequest(); - - /** - * Creates the INotebookCopyNotebookRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the INotebookCopyNotebookRequest instance - */ - INotebookCopyNotebookRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionPage.java deleted file mode 100644 index de71867f1f8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Get Recent Notebooks Collection Page. - */ -public interface IBaseNotebookGetRecentNotebooksCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequest.java deleted file mode 100644 index 876841010d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Get Recent Notebooks Collection Request. - */ -public interface IBaseNotebookGetRecentNotebooksCollectionRequest { - - void get(final ICallback callback); - - INotebookGetRecentNotebooksCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - INotebookGetRecentNotebooksCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - INotebookGetRecentNotebooksCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - INotebookGetRecentNotebooksCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequestBuilder.java deleted file mode 100644 index 655c43ee5ff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookGetRecentNotebooksCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Get Recent Notebooks Collection Request Builder. - */ -public interface IBaseNotebookGetRecentNotebooksCollectionRequestBuilder extends IRequestBuilder { - - INotebookGetRecentNotebooksCollectionRequest buildRequest(); - - INotebookGetRecentNotebooksCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequest.java deleted file mode 100644 index 6c8f716057d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Notebook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Request. - */ -public interface IBaseNotebookRequest extends IHttpRequest { - - /** - * Gets the Notebook from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Notebook from the service - * - * @return the Notebook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Notebook get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Notebook with a source - * - * @param sourceNotebook the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Notebook sourceNotebook, final ICallback callback); - - /** - * Patches this Notebook with a source - * - * @param sourceNotebook the source object with updates - * @return the updated Notebook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Notebook patch(final Notebook sourceNotebook) throws ClientException; - - /** - * Posts a Notebook with a new object - * - * @param newNotebook the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Notebook newNotebook, final ICallback callback); - - /** - * Posts a Notebook with a new object - * - * @param newNotebook the new object to create - * @return the created Notebook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Notebook post(final Notebook newNotebook) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseNotebookRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseNotebookRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequestBuilder.java deleted file mode 100644 index d236f2d751c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotebookRequestBuilder.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotebookRequest; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.INotebookCopyNotebookRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notebook Request Builder. - */ -public interface IBaseNotebookRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the INotebookRequest instance - */ - INotebookRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the INotebookRequest instance - */ - INotebookRequest buildRequest(final java.util.List requestOptions); - - IOnenoteSectionCollectionRequestBuilder sections(); - - IOnenoteSectionRequestBuilder sections(final String id); - - ISectionGroupCollectionRequestBuilder sectionGroups(); - - ISectionGroupRequestBuilder sectionGroups(final String id); - INotebookCopyNotebookRequestBuilder copyNotebook(final String groupId, final String renameAs, final String notebookFolder, final String siteCollectionId, final String siteId); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionPage.java deleted file mode 100644 index 7af82f90433..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Collection Page. - */ -public interface IBaseNotificationMessageTemplateCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequest.java deleted file mode 100644 index 35f30840a8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Collection Request. - */ -public interface IBaseNotificationMessageTemplateCollectionRequest { - - void get(final ICallback callback); - - INotificationMessageTemplateCollectionPage get() throws ClientException; - - void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback); - - NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - INotificationMessageTemplateCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - INotificationMessageTemplateCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - INotificationMessageTemplateCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequestBuilder.java deleted file mode 100644 index c6671d3b90d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Collection Request Builder. - */ -public interface IBaseNotificationMessageTemplateCollectionRequestBuilder extends IRequestBuilder { - - INotificationMessageTemplateCollectionRequest buildRequest(); - - INotificationMessageTemplateCollectionRequest buildRequest(final java.util.List requestOptions); - - INotificationMessageTemplateRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequest.java deleted file mode 100644 index 8a600662daf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.NotificationMessageTemplate; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Request. - */ -public interface IBaseNotificationMessageTemplateRequest extends IHttpRequest { - - /** - * Gets the NotificationMessageTemplate from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the NotificationMessageTemplate from the service - * - * @return the NotificationMessageTemplate from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - NotificationMessageTemplate get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this NotificationMessageTemplate with a source - * - * @param sourceNotificationMessageTemplate the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final NotificationMessageTemplate sourceNotificationMessageTemplate, final ICallback callback); - - /** - * Patches this NotificationMessageTemplate with a source - * - * @param sourceNotificationMessageTemplate the source object with updates - * @return the updated NotificationMessageTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - NotificationMessageTemplate patch(final NotificationMessageTemplate sourceNotificationMessageTemplate) throws ClientException; - - /** - * Posts a NotificationMessageTemplate with a new object - * - * @param newNotificationMessageTemplate the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback); - - /** - * Posts a NotificationMessageTemplate with a new object - * - * @param newNotificationMessageTemplate the new object to create - * @return the created NotificationMessageTemplate - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseNotificationMessageTemplateRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseNotificationMessageTemplateRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequestBuilder.java deleted file mode 100644 index 4c5af36cfcf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateRequest; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ILocalizedNotificationMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Request Builder. - */ -public interface IBaseNotificationMessageTemplateRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the INotificationMessageTemplateRequest instance - */ - INotificationMessageTemplateRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the INotificationMessageTemplateRequest instance - */ - INotificationMessageTemplateRequest buildRequest(final java.util.List requestOptions); - - ILocalizedNotificationMessageCollectionRequestBuilder localizedNotificationMessages(); - - ILocalizedNotificationMessageRequestBuilder localizedNotificationMessages(final String id); - INotificationMessageTemplateSendTestMessageRequestBuilder sendTestMessage(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequest.java deleted file mode 100644 index 662dfe49a32..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Send Test Message Request. - */ -public interface IBaseNotificationMessageTemplateSendTestMessageRequest { - - /** - * Creates the NotificationMessageTemplateSendTestMessage - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the NotificationMessageTemplateSendTestMessage - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequestBuilder.java deleted file mode 100644 index 8addc34725c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseNotificationMessageTemplateSendTestMessageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.INotificationMessageTemplateSendTestMessageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Notification Message Template Send Test Message Request Builder. - */ -public interface IBaseNotificationMessageTemplateSendTestMessageRequestBuilder extends IRequestBuilder { - - /** - * Creates the INotificationMessageTemplateSendTestMessageRequest - * - * @return the INotificationMessageTemplateSendTestMessageRequest instance - */ - INotificationMessageTemplateSendTestMessageRequest buildRequest(); - - /** - * Creates the INotificationMessageTemplateSendTestMessageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the INotificationMessageTemplateSendTestMessageRequest instance - */ - INotificationMessageTemplateSendTestMessageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequest.java deleted file mode 100644 index 7f0998f70f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OfficeGraphInsights; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Office Graph Insights Request. - */ -public interface IBaseOfficeGraphInsightsRequest extends IHttpRequest { - - /** - * Gets the OfficeGraphInsights from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OfficeGraphInsights from the service - * - * @return the OfficeGraphInsights from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OfficeGraphInsights get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OfficeGraphInsights with a source - * - * @param sourceOfficeGraphInsights the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OfficeGraphInsights sourceOfficeGraphInsights, final ICallback callback); - - /** - * Patches this OfficeGraphInsights with a source - * - * @param sourceOfficeGraphInsights the source object with updates - * @return the updated OfficeGraphInsights - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OfficeGraphInsights patch(final OfficeGraphInsights sourceOfficeGraphInsights) throws ClientException; - - /** - * Posts a OfficeGraphInsights with a new object - * - * @param newOfficeGraphInsights the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OfficeGraphInsights newOfficeGraphInsights, final ICallback callback); - - /** - * Posts a OfficeGraphInsights with a new object - * - * @param newOfficeGraphInsights the new object to create - * @return the created OfficeGraphInsights - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OfficeGraphInsights post(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOfficeGraphInsightsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOfficeGraphInsightsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequestBuilder.java deleted file mode 100644 index f439b83fbb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOfficeGraphInsightsRequestBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequest; -import com.microsoft.graph.requests.extensions.ITrendingCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITrendingRequestBuilder; -import com.microsoft.graph.requests.extensions.ISharedInsightCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISharedInsightRequestBuilder; -import com.microsoft.graph.requests.extensions.IUsedInsightCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUsedInsightRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Office Graph Insights Request Builder. - */ -public interface IBaseOfficeGraphInsightsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOfficeGraphInsightsRequest instance - */ - IOfficeGraphInsightsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOfficeGraphInsightsRequest instance - */ - IOfficeGraphInsightsRequest buildRequest(final java.util.List requestOptions); - - ITrendingCollectionRequestBuilder trending(); - - ITrendingRequestBuilder trending(final String id); - - ISharedInsightCollectionRequestBuilder shared(); - - ISharedInsightRequestBuilder shared(final String id); - - IUsedInsightCollectionRequestBuilder used(); - - IUsedInsightRequestBuilder used(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequest.java deleted file mode 100644 index 19a76d9f5b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base On Premises Conditional Access Settings Request. - */ -public interface IBaseOnPremisesConditionalAccessSettingsRequest extends IHttpRequest { - - /** - * Gets the OnPremisesConditionalAccessSettings from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnPremisesConditionalAccessSettings from the service - * - * @return the OnPremisesConditionalAccessSettings from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnPremisesConditionalAccessSettings get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnPremisesConditionalAccessSettings with a source - * - * @param sourceOnPremisesConditionalAccessSettings the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings, final ICallback callback); - - /** - * Patches this OnPremisesConditionalAccessSettings with a source - * - * @param sourceOnPremisesConditionalAccessSettings the source object with updates - * @return the updated OnPremisesConditionalAccessSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnPremisesConditionalAccessSettings patch(final OnPremisesConditionalAccessSettings sourceOnPremisesConditionalAccessSettings) throws ClientException; - - /** - * Posts a OnPremisesConditionalAccessSettings with a new object - * - * @param newOnPremisesConditionalAccessSettings the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings, final ICallback callback); - - /** - * Posts a OnPremisesConditionalAccessSettings with a new object - * - * @param newOnPremisesConditionalAccessSettings the new object to create - * @return the created OnPremisesConditionalAccessSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnPremisesConditionalAccessSettings post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnPremisesConditionalAccessSettingsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnPremisesConditionalAccessSettingsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequestBuilder.java deleted file mode 100644 index ff9ba6b9759..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnPremisesConditionalAccessSettingsRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnPremisesConditionalAccessSettingsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base On Premises Conditional Access Settings Request Builder. - */ -public interface IBaseOnPremisesConditionalAccessSettingsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnPremisesConditionalAccessSettingsRequest instance - */ - IOnPremisesConditionalAccessSettingsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnPremisesConditionalAccessSettingsRequest instance - */ - IOnPremisesConditionalAccessSettingsRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequest.java deleted file mode 100644 index 0b964aa98ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteEntityBaseModel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Entity Base Model Request. - */ -public interface IBaseOnenoteEntityBaseModelRequest extends IHttpRequest { - - /** - * Gets the OnenoteEntityBaseModel from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenoteEntityBaseModel from the service - * - * @return the OnenoteEntityBaseModel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntityBaseModel get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenoteEntityBaseModel with a source - * - * @param sourceOnenoteEntityBaseModel the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel, final ICallback callback); - - /** - * Patches this OnenoteEntityBaseModel with a source - * - * @param sourceOnenoteEntityBaseModel the source object with updates - * @return the updated OnenoteEntityBaseModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntityBaseModel patch(final OnenoteEntityBaseModel sourceOnenoteEntityBaseModel) throws ClientException; - - /** - * Posts a OnenoteEntityBaseModel with a new object - * - * @param newOnenoteEntityBaseModel the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel, final ICallback callback); - - /** - * Posts a OnenoteEntityBaseModel with a new object - * - * @param newOnenoteEntityBaseModel the new object to create - * @return the created OnenoteEntityBaseModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntityBaseModel post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteEntityBaseModelRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteEntityBaseModelRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequestBuilder.java deleted file mode 100644 index f4a33d08307..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityBaseModelRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntityBaseModelRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Entity Base Model Request Builder. - */ -public interface IBaseOnenoteEntityBaseModelRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteEntityBaseModelRequest instance - */ - IOnenoteEntityBaseModelRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteEntityBaseModelRequest instance - */ - IOnenoteEntityBaseModelRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequest.java deleted file mode 100644 index 9ce1c6f01b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Entity Hierarchy Model Request. - */ -public interface IBaseOnenoteEntityHierarchyModelRequest extends IHttpRequest { - - /** - * Gets the OnenoteEntityHierarchyModel from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenoteEntityHierarchyModel from the service - * - * @return the OnenoteEntityHierarchyModel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntityHierarchyModel get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenoteEntityHierarchyModel with a source - * - * @param sourceOnenoteEntityHierarchyModel the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel, final ICallback callback); - - /** - * Patches this OnenoteEntityHierarchyModel with a source - * - * @param sourceOnenoteEntityHierarchyModel the source object with updates - * @return the updated OnenoteEntityHierarchyModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntityHierarchyModel patch(final OnenoteEntityHierarchyModel sourceOnenoteEntityHierarchyModel) throws ClientException; - - /** - * Posts a OnenoteEntityHierarchyModel with a new object - * - * @param newOnenoteEntityHierarchyModel the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel, final ICallback callback); - - /** - * Posts a OnenoteEntityHierarchyModel with a new object - * - * @param newOnenoteEntityHierarchyModel the new object to create - * @return the created OnenoteEntityHierarchyModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntityHierarchyModel post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteEntityHierarchyModelRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteEntityHierarchyModelRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequestBuilder.java deleted file mode 100644 index 68989b18209..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntityHierarchyModelRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntityHierarchyModelRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Entity Hierarchy Model Request Builder. - */ -public interface IBaseOnenoteEntityHierarchyModelRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteEntityHierarchyModelRequest instance - */ - IOnenoteEntityHierarchyModelRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteEntityHierarchyModelRequest instance - */ - IOnenoteEntityHierarchyModelRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequest.java deleted file mode 100644 index bbba854f8aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Entity Schema Object Model Request. - */ -public interface IBaseOnenoteEntitySchemaObjectModelRequest extends IHttpRequest { - - /** - * Gets the OnenoteEntitySchemaObjectModel from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenoteEntitySchemaObjectModel from the service - * - * @return the OnenoteEntitySchemaObjectModel from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntitySchemaObjectModel get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenoteEntitySchemaObjectModel with a source - * - * @param sourceOnenoteEntitySchemaObjectModel the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel, final ICallback callback); - - /** - * Patches this OnenoteEntitySchemaObjectModel with a source - * - * @param sourceOnenoteEntitySchemaObjectModel the source object with updates - * @return the updated OnenoteEntitySchemaObjectModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntitySchemaObjectModel patch(final OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel) throws ClientException; - - /** - * Posts a OnenoteEntitySchemaObjectModel with a new object - * - * @param newOnenoteEntitySchemaObjectModel the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, final ICallback callback); - - /** - * Posts a OnenoteEntitySchemaObjectModel with a new object - * - * @param newOnenoteEntitySchemaObjectModel the new object to create - * @return the created OnenoteEntitySchemaObjectModel - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteEntitySchemaObjectModel post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteEntitySchemaObjectModelRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteEntitySchemaObjectModelRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequestBuilder.java deleted file mode 100644 index 2dc340c9789..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteEntitySchemaObjectModelRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteEntitySchemaObjectModelRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Entity Schema Object Model Request Builder. - */ -public interface IBaseOnenoteEntitySchemaObjectModelRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteEntitySchemaObjectModelRequest instance - */ - IOnenoteEntitySchemaObjectModelRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteEntitySchemaObjectModelRequest instance - */ - IOnenoteEntitySchemaObjectModelRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionPage.java deleted file mode 100644 index 0b47ebaf1e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Operation Collection Page. - */ -public interface IBaseOnenoteOperationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequest.java deleted file mode 100644 index fba0590bead..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Operation Collection Request. - */ -public interface IBaseOnenoteOperationCollectionRequest { - - void get(final ICallback callback); - - IOnenoteOperationCollectionPage get() throws ClientException; - - void post(final OnenoteOperation newOnenoteOperation, final ICallback callback); - - OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenoteOperationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenoteOperationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenoteOperationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequestBuilder.java deleted file mode 100644 index dad70889f3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Operation Collection Request Builder. - */ -public interface IBaseOnenoteOperationCollectionRequestBuilder extends IRequestBuilder { - - IOnenoteOperationCollectionRequest buildRequest(); - - IOnenoteOperationCollectionRequest buildRequest(final java.util.List requestOptions); - - IOnenoteOperationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequest.java deleted file mode 100644 index 12f0ee91dcc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Operation Request. - */ -public interface IBaseOnenoteOperationRequest extends IHttpRequest { - - /** - * Gets the OnenoteOperation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenoteOperation from the service - * - * @return the OnenoteOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteOperation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenoteOperation with a source - * - * @param sourceOnenoteOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenoteOperation sourceOnenoteOperation, final ICallback callback); - - /** - * Patches this OnenoteOperation with a source - * - * @param sourceOnenoteOperation the source object with updates - * @return the updated OnenoteOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteOperation patch(final OnenoteOperation sourceOnenoteOperation) throws ClientException; - - /** - * Posts a OnenoteOperation with a new object - * - * @param newOnenoteOperation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnenoteOperation newOnenoteOperation, final ICallback callback); - - /** - * Posts a OnenoteOperation with a new object - * - * @param newOnenoteOperation the new object to create - * @return the created OnenoteOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteOperationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteOperationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequestBuilder.java deleted file mode 100644 index b209b2a5bf5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteOperationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteOperationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Operation Request Builder. - */ -public interface IBaseOnenoteOperationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteOperationRequest instance - */ - IOnenoteOperationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteOperationRequest instance - */ - IOnenoteOperationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionPage.java deleted file mode 100644 index a31e473df54..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Collection Page. - */ -public interface IBaseOnenotePageCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequest.java deleted file mode 100644 index 57b9e65daff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Collection Request. - */ -public interface IBaseOnenotePageCollectionRequest { - - void get(final ICallback callback); - - IOnenotePageCollectionPage get() throws ClientException; - - void post(final byte[] newOnenotePage, final ICallback callback); - - OnenotePage post(final byte[] newOnenotePage) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenotePageCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenotePageCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenotePageCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequestBuilder.java deleted file mode 100644 index a765d015c96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Collection Request Builder. - */ -public interface IBaseOnenotePageCollectionRequestBuilder extends IRequestBuilder { - - IOnenotePageCollectionRequest buildRequest(); - - IOnenotePageCollectionRequest buildRequest(final java.util.List requestOptions); - - IOnenotePageRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequest.java deleted file mode 100644 index 95146b715c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Copy To Section Request. - */ -public interface IBaseOnenotePageCopyToSectionRequest { - - void post(final ICallback callback); - - OnenoteOperation post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenotePageCopyToSectionRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenotePageCopyToSectionRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenotePageCopyToSectionRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequestBuilder.java deleted file mode 100644 index 7f3d0226019..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageCopyToSectionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Copy To Section Request Builder. - */ -public interface IBaseOnenotePageCopyToSectionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IOnenotePageCopyToSectionRequest - * - * @return the IOnenotePageCopyToSectionRequest instance - */ - IOnenotePageCopyToSectionRequest buildRequest(); - - /** - * Creates the IOnenotePageCopyToSectionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IOnenotePageCopyToSectionRequest instance - */ - IOnenotePageCopyToSectionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequest.java deleted file mode 100644 index 51ff3573385..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Onenote Patch Content Request. - */ -public interface IBaseOnenotePageOnenotePatchContentRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenotePageOnenotePatchContentRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenotePageOnenotePatchContentRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenotePageOnenotePatchContentRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequestBuilder.java deleted file mode 100644 index ba1bc105121..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageOnenotePatchContentRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Onenote Patch Content Request Builder. - */ -public interface IBaseOnenotePageOnenotePatchContentRequestBuilder extends IRequestBuilder { - - /** - * Creates the IOnenotePageOnenotePatchContentRequest - * - * @return the IOnenotePageOnenotePatchContentRequest instance - */ - IOnenotePageOnenotePatchContentRequest buildRequest(); - - /** - * Creates the IOnenotePageOnenotePatchContentRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IOnenotePageOnenotePatchContentRequest instance - */ - IOnenotePageOnenotePatchContentRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequest.java deleted file mode 100644 index 3322e003fa1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePagePreview; -import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Preview Request. - */ -public interface IBaseOnenotePagePreviewRequest { - - /** - * Gets the OnenotePagePreview - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenotePagePreview - * - * @return the OnenotePagePreview - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - OnenotePagePreview get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenotePagePreviewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenotePagePreviewRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequestBuilder.java deleted file mode 100644 index 7117df946fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePagePreviewRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Preview Request Builder. - */ -public interface IBaseOnenotePagePreviewRequestBuilder extends IRequestBuilder { - - /** - * Creates the IOnenotePagePreviewRequest - * - * @return the IOnenotePagePreviewRequest instance - */ - IOnenotePagePreviewRequest buildRequest(); - - /** - * Creates the IOnenotePagePreviewRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IOnenotePagePreviewRequest instance - */ - IOnenotePagePreviewRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequest.java deleted file mode 100644 index 5fed400c7b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenotePage; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Request. - */ -public interface IBaseOnenotePageRequest extends IHttpRequest { - - /** - * Gets the OnenotePage from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenotePage from the service - * - * @return the OnenotePage from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenotePage get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenotePage with a source - * - * @param sourceOnenotePage the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenotePage sourceOnenotePage, final ICallback callback); - - /** - * Patches this OnenotePage with a source - * - * @param sourceOnenotePage the source object with updates - * @return the updated OnenotePage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenotePage patch(final OnenotePage sourceOnenotePage) throws ClientException; - - /** - * Posts a OnenotePage with a new object - * - * @param newOnenotePage the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final byte[] newOnenotePage, final ICallback callback); - - /** - * Posts a OnenotePage with a new object - * - * @param newOnenotePage the new object to create - * @return the created OnenotePage - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenotePage post(final byte[] newOnenotePage) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenotePageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenotePageRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequestBuilder.java deleted file mode 100644 index da5798fec83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageRequest; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequestBuilder; -import com.microsoft.graph.models.extensions.OnenotePatchContentCommand; -import com.microsoft.graph.requests.extensions.IOnenotePageOnenotePatchContentRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageCopyToSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePagePreviewRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Request Builder. - */ -public interface IBaseOnenotePageRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenotePageRequest instance - */ - IOnenotePageRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenotePageRequest instance - */ - IOnenotePageRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for OnenoteSection - * - * @return the IOnenoteSectionRequestBuilder instance - */ - IOnenoteSectionRequestBuilder parentSection(); - - /** - * Gets the request builder for Notebook - * - * @return the INotebookRequestBuilder instance - */ - INotebookRequestBuilder parentNotebook(); - - IOnenotePageStreamRequestBuilder content(); - IOnenotePageOnenotePatchContentRequestBuilder onenotePatchContent(final java.util.List commands); - IOnenotePageCopyToSectionRequestBuilder copyToSection(final String id, final String groupId, final String siteCollectionId, final String siteId); - IOnenotePagePreviewRequestBuilder preview(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequest.java deleted file mode 100644 index 61c7b90b98e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Stream Request. - */ -public interface IBaseOnenotePageStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - OnenotePage put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequestBuilder.java deleted file mode 100644 index bda16f81ce1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenotePageStreamRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenotePageStreamRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Page Stream Request Builder. - */ -public interface IBaseOnenotePageStreamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenotePageStreamRequest instance - */ - IOnenotePageStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenotePageStreamRequest instance - */ - IOnenotePageStreamRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequest.java deleted file mode 100644 index 51bb61cd35f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Onenote; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Request. - */ -public interface IBaseOnenoteRequest extends IHttpRequest { - - /** - * Gets the Onenote from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Onenote from the service - * - * @return the Onenote from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Onenote get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Onenote with a source - * - * @param sourceOnenote the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Onenote sourceOnenote, final ICallback callback); - - /** - * Patches this Onenote with a source - * - * @param sourceOnenote the source object with updates - * @return the updated Onenote - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Onenote patch(final Onenote sourceOnenote) throws ClientException; - - /** - * Posts a Onenote with a new object - * - * @param newOnenote the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Onenote newOnenote, final ICallback callback); - - /** - * Posts a Onenote with a new object - * - * @param newOnenote the new object to create - * @return the created Onenote - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Onenote post(final Onenote newOnenote) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequestBuilder.java deleted file mode 100644 index 2b3fc6347d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteRequestBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteRequest; -import com.microsoft.graph.requests.extensions.INotebookCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteResourceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteResourceRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteOperationRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Request Builder. - */ -public interface IBaseOnenoteRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteRequest instance - */ - IOnenoteRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteRequest instance - */ - IOnenoteRequest buildRequest(final java.util.List requestOptions); - - INotebookCollectionRequestBuilder notebooks(); - - INotebookRequestBuilder notebooks(final String id); - - IOnenoteSectionCollectionRequestBuilder sections(); - - IOnenoteSectionRequestBuilder sections(final String id); - - ISectionGroupCollectionRequestBuilder sectionGroups(); - - ISectionGroupRequestBuilder sectionGroups(final String id); - - IOnenotePageCollectionRequestBuilder pages(); - - IOnenotePageRequestBuilder pages(final String id); - - IOnenoteResourceCollectionRequestBuilder resources(); - - IOnenoteResourceRequestBuilder resources(final String id); - - IOnenoteOperationCollectionRequestBuilder operations(); - - IOnenoteOperationRequestBuilder operations(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionPage.java deleted file mode 100644 index 5ec11b80fcf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Collection Page. - */ -public interface IBaseOnenoteResourceCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequest.java deleted file mode 100644 index 67ffb39b5a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Collection Request. - */ -public interface IBaseOnenoteResourceCollectionRequest { - - void get(final ICallback callback); - - IOnenoteResourceCollectionPage get() throws ClientException; - - void post(final OnenoteResource newOnenoteResource, final ICallback callback); - - OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenoteResourceCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenoteResourceCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenoteResourceCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequestBuilder.java deleted file mode 100644 index dead14409af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Collection Request Builder. - */ -public interface IBaseOnenoteResourceCollectionRequestBuilder extends IRequestBuilder { - - IOnenoteResourceCollectionRequest buildRequest(); - - IOnenoteResourceCollectionRequest buildRequest(final java.util.List requestOptions); - - IOnenoteResourceRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequest.java deleted file mode 100644 index 782ebd4b5c4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteResource; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Request. - */ -public interface IBaseOnenoteResourceRequest extends IHttpRequest { - - /** - * Gets the OnenoteResource from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenoteResource from the service - * - * @return the OnenoteResource from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteResource get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenoteResource with a source - * - * @param sourceOnenoteResource the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenoteResource sourceOnenoteResource, final ICallback callback); - - /** - * Patches this OnenoteResource with a source - * - * @param sourceOnenoteResource the source object with updates - * @return the updated OnenoteResource - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteResource patch(final OnenoteResource sourceOnenoteResource) throws ClientException; - - /** - * Posts a OnenoteResource with a new object - * - * @param newOnenoteResource the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnenoteResource newOnenoteResource, final ICallback callback); - - /** - * Posts a OnenoteResource with a new object - * - * @param newOnenoteResource the new object to create - * @return the created OnenoteResource - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteResourceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteResourceRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequestBuilder.java deleted file mode 100644 index b069933983b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteResourceRequest; -import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Request Builder. - */ -public interface IBaseOnenoteResourceRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteResourceRequest instance - */ - IOnenoteResourceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteResourceRequest instance - */ - IOnenoteResourceRequest buildRequest(final java.util.List requestOptions); - - IOnenoteResourceStreamRequestBuilder content(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequest.java deleted file mode 100644 index ee99c8485b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Stream Request. - */ -public interface IBaseOnenoteResourceStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - OnenoteResource put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequestBuilder.java deleted file mode 100644 index 3f1e5655736..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteResourceStreamRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteResourceStreamRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Resource Stream Request Builder. - */ -public interface IBaseOnenoteResourceStreamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteResourceStreamRequest instance - */ - IOnenoteResourceStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteResourceStreamRequest instance - */ - IOnenoteResourceStreamRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionPage.java deleted file mode 100644 index 355e2217a27..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Collection Page. - */ -public interface IBaseOnenoteSectionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequest.java deleted file mode 100644 index 7d9ac63a759..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Collection Request. - */ -public interface IBaseOnenoteSectionCollectionRequest { - - void get(final ICallback callback); - - IOnenoteSectionCollectionPage get() throws ClientException; - - void post(final OnenoteSection newOnenoteSection, final ICallback callback); - - OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenoteSectionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenoteSectionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenoteSectionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequestBuilder.java deleted file mode 100644 index ba5ec48c4f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Collection Request Builder. - */ -public interface IBaseOnenoteSectionCollectionRequestBuilder extends IRequestBuilder { - - IOnenoteSectionCollectionRequest buildRequest(); - - IOnenoteSectionCollectionRequest buildRequest(final java.util.List requestOptions); - - IOnenoteSectionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequest.java deleted file mode 100644 index 933990e5ce8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Copy To Notebook Request. - */ -public interface IBaseOnenoteSectionCopyToNotebookRequest { - - void post(final ICallback callback); - - OnenoteOperation post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenoteSectionCopyToNotebookRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenoteSectionCopyToNotebookRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenoteSectionCopyToNotebookRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequestBuilder.java deleted file mode 100644 index 2a2667f36da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToNotebookRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Copy To Notebook Request Builder. - */ -public interface IBaseOnenoteSectionCopyToNotebookRequestBuilder extends IRequestBuilder { - - /** - * Creates the IOnenoteSectionCopyToNotebookRequest - * - * @return the IOnenoteSectionCopyToNotebookRequest instance - */ - IOnenoteSectionCopyToNotebookRequest buildRequest(); - - /** - * Creates the IOnenoteSectionCopyToNotebookRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IOnenoteSectionCopyToNotebookRequest instance - */ - IOnenoteSectionCopyToNotebookRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequest.java deleted file mode 100644 index 0c05f10b7e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteOperation; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Copy To Section Group Request. - */ -public interface IBaseOnenoteSectionCopyToSectionGroupRequest { - - void post(final ICallback callback); - - OnenoteOperation post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOnenoteSectionCopyToSectionGroupRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOnenoteSectionCopyToSectionGroupRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOnenoteSectionCopyToSectionGroupRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequestBuilder.java deleted file mode 100644 index 793de0259ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionCopyToSectionGroupRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Copy To Section Group Request Builder. - */ -public interface IBaseOnenoteSectionCopyToSectionGroupRequestBuilder extends IRequestBuilder { - - /** - * Creates the IOnenoteSectionCopyToSectionGroupRequest - * - * @return the IOnenoteSectionCopyToSectionGroupRequest instance - */ - IOnenoteSectionCopyToSectionGroupRequest buildRequest(); - - /** - * Creates the IOnenoteSectionCopyToSectionGroupRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IOnenoteSectionCopyToSectionGroupRequest instance - */ - IOnenoteSectionCopyToSectionGroupRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequest.java deleted file mode 100644 index 90af601a72d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OnenoteSection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Request. - */ -public interface IBaseOnenoteSectionRequest extends IHttpRequest { - - /** - * Gets the OnenoteSection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OnenoteSection from the service - * - * @return the OnenoteSection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteSection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OnenoteSection with a source - * - * @param sourceOnenoteSection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OnenoteSection sourceOnenoteSection, final ICallback callback); - - /** - * Patches this OnenoteSection with a source - * - * @param sourceOnenoteSection the source object with updates - * @return the updated OnenoteSection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteSection patch(final OnenoteSection sourceOnenoteSection) throws ClientException; - - /** - * Posts a OnenoteSection with a new object - * - * @param newOnenoteSection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OnenoteSection newOnenoteSection, final ICallback callback); - - /** - * Posts a OnenoteSection with a new object - * - * @param newOnenoteSection the new object to create - * @return the created OnenoteSection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOnenoteSectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOnenoteSectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequestBuilder.java deleted file mode 100644 index 15c206f287b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOnenoteSectionRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequest; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenotePageRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToNotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCopyToSectionGroupRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Onenote Section Request Builder. - */ -public interface IBaseOnenoteSectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOnenoteSectionRequest instance - */ - IOnenoteSectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOnenoteSectionRequest instance - */ - IOnenoteSectionRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Notebook - * - * @return the INotebookRequestBuilder instance - */ - INotebookRequestBuilder parentNotebook(); - - /** - * Gets the request builder for SectionGroup - * - * @return the ISectionGroupRequestBuilder instance - */ - ISectionGroupRequestBuilder parentSectionGroup(); - - IOnenotePageCollectionRequestBuilder pages(); - - IOnenotePageRequestBuilder pages(final String id); - IOnenoteSectionCopyToNotebookRequestBuilder copyToNotebook(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId); - IOnenoteSectionCopyToSectionGroupRequestBuilder copyToSectionGroup(final String id, final String groupId, final String renameAs, final String siteCollectionId, final String siteId); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequest.java deleted file mode 100644 index d469cb68a26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OpenTypeExtension; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Open Type Extension Request. - */ -public interface IBaseOpenTypeExtensionRequest extends IHttpRequest { - - /** - * Gets the OpenTypeExtension from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OpenTypeExtension from the service - * - * @return the OpenTypeExtension from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OpenTypeExtension get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OpenTypeExtension with a source - * - * @param sourceOpenTypeExtension the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OpenTypeExtension sourceOpenTypeExtension, final ICallback callback); - - /** - * Patches this OpenTypeExtension with a source - * - * @param sourceOpenTypeExtension the source object with updates - * @return the updated OpenTypeExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OpenTypeExtension patch(final OpenTypeExtension sourceOpenTypeExtension) throws ClientException; - - /** - * Posts a OpenTypeExtension with a new object - * - * @param newOpenTypeExtension the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OpenTypeExtension newOpenTypeExtension, final ICallback callback); - - /** - * Posts a OpenTypeExtension with a new object - * - * @param newOpenTypeExtension the new object to create - * @return the created OpenTypeExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OpenTypeExtension post(final OpenTypeExtension newOpenTypeExtension) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOpenTypeExtensionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOpenTypeExtensionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequestBuilder.java deleted file mode 100644 index 17128bc185a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOpenTypeExtensionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOpenTypeExtensionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Open Type Extension Request Builder. - */ -public interface IBaseOpenTypeExtensionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOpenTypeExtensionRequest instance - */ - IOpenTypeExtensionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOpenTypeExtensionRequest instance - */ - IOpenTypeExtensionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequest.java deleted file mode 100644 index e49921b8761..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Operation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Operation Request. - */ -public interface IBaseOperationRequest extends IHttpRequest { - - /** - * Gets the Operation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Operation from the service - * - * @return the Operation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Operation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Operation with a source - * - * @param sourceOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Operation sourceOperation, final ICallback callback); - - /** - * Patches this Operation with a source - * - * @param sourceOperation the source object with updates - * @return the updated Operation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Operation patch(final Operation sourceOperation) throws ClientException; - - /** - * Posts a Operation with a new object - * - * @param newOperation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Operation newOperation, final ICallback callback); - - /** - * Posts a Operation with a new object - * - * @param newOperation the new object to create - * @return the created Operation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Operation post(final Operation newOperation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOperationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOperationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequestBuilder.java deleted file mode 100644 index d38a9f8c843..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOperationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOperationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Operation Request Builder. - */ -public interface IBaseOperationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOperationRequest instance - */ - IOperationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOperationRequest instance - */ - IOperationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionPage.java deleted file mode 100644 index b7b2a485fd3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Collection Page. - */ -public interface IBaseOrganizationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequest.java deleted file mode 100644 index 190110740de..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Collection Request. - */ -public interface IBaseOrganizationCollectionRequest { - - void get(final ICallback callback); - - IOrganizationCollectionPage get() throws ClientException; - - void post(final Organization newOrganization, final ICallback callback); - - Organization post(final Organization newOrganization) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOrganizationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOrganizationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOrganizationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequestBuilder.java deleted file mode 100644 index a4bc0bd491a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Collection Request Builder. - */ -public interface IBaseOrganizationCollectionRequestBuilder extends IRequestBuilder { - - IOrganizationCollectionRequest buildRequest(); - - IOrganizationCollectionRequest buildRequest(final java.util.List requestOptions); - - IOrganizationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequest.java deleted file mode 100644 index e4a56109d17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Organization; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Request. - */ -public interface IBaseOrganizationRequest extends IHttpRequest { - - /** - * Gets the Organization from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Organization from the service - * - * @return the Organization from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Organization get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Organization with a source - * - * @param sourceOrganization the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Organization sourceOrganization, final ICallback callback); - - /** - * Patches this Organization with a source - * - * @param sourceOrganization the source object with updates - * @return the updated Organization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Organization patch(final Organization sourceOrganization) throws ClientException; - - /** - * Posts a Organization with a new object - * - * @param newOrganization the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Organization newOrganization, final ICallback callback); - - /** - * Posts a Organization with a new object - * - * @param newOrganization the new object to create - * @return the created Organization - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Organization post(final Organization newOrganization) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOrganizationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOrganizationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequestBuilder.java deleted file mode 100644 index 7a1f151c972..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationRequest; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Request Builder. - */ -public interface IBaseOrganizationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOrganizationRequest instance - */ - IOrganizationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOrganizationRequest instance - */ - IOrganizationRequest buildRequest(final java.util.List requestOptions); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - IOrganizationSetMobileDeviceManagementAuthorityRequestBuilder setMobileDeviceManagementAuthority(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequest.java deleted file mode 100644 index 48edce44098..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Set Mobile Device Management Authority Request. - */ -public interface IBaseOrganizationSetMobileDeviceManagementAuthorityRequest { - - /** - * Creates the OrganizationSetMobileDeviceManagementAuthority - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the OrganizationSetMobileDeviceManagementAuthority - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOrganizationSetMobileDeviceManagementAuthorityRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOrganizationSetMobileDeviceManagementAuthorityRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java deleted file mode 100644 index f96314db038..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOrganizationSetMobileDeviceManagementAuthorityRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Organization Set Mobile Device Management Authority Request Builder. - */ -public interface IBaseOrganizationSetMobileDeviceManagementAuthorityRequestBuilder extends IRequestBuilder { - - /** - * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest - * - * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance - */ - IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest(); - - /** - * Creates the IOrganizationSetMobileDeviceManagementAuthorityRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IOrganizationSetMobileDeviceManagementAuthorityRequest instance - */ - IOrganizationSetMobileDeviceManagementAuthorityRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionPage.java deleted file mode 100644 index 85ecec24bd3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Category Collection Page. - */ -public interface IBaseOutlookCategoryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequest.java deleted file mode 100644 index 2ee3441a92c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Category Collection Request. - */ -public interface IBaseOutlookCategoryCollectionRequest { - - void get(final ICallback callback); - - IOutlookCategoryCollectionPage get() throws ClientException; - - void post(final OutlookCategory newOutlookCategory, final ICallback callback); - - OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOutlookCategoryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOutlookCategoryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOutlookCategoryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequestBuilder.java deleted file mode 100644 index 7deda930394..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Category Collection Request Builder. - */ -public interface IBaseOutlookCategoryCollectionRequestBuilder extends IRequestBuilder { - - IOutlookCategoryCollectionRequest buildRequest(); - - IOutlookCategoryCollectionRequest buildRequest(final java.util.List requestOptions); - - IOutlookCategoryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequest.java deleted file mode 100644 index 90d3bff378c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OutlookCategory; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Category Request. - */ -public interface IBaseOutlookCategoryRequest extends IHttpRequest { - - /** - * Gets the OutlookCategory from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OutlookCategory from the service - * - * @return the OutlookCategory from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookCategory get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OutlookCategory with a source - * - * @param sourceOutlookCategory the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OutlookCategory sourceOutlookCategory, final ICallback callback); - - /** - * Patches this OutlookCategory with a source - * - * @param sourceOutlookCategory the source object with updates - * @return the updated OutlookCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookCategory patch(final OutlookCategory sourceOutlookCategory) throws ClientException; - - /** - * Posts a OutlookCategory with a new object - * - * @param newOutlookCategory the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OutlookCategory newOutlookCategory, final ICallback callback); - - /** - * Posts a OutlookCategory with a new object - * - * @param newOutlookCategory the new object to create - * @return the created OutlookCategory - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOutlookCategoryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOutlookCategoryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequestBuilder.java deleted file mode 100644 index 2dcb76fd786..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookCategoryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookCategoryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Category Request Builder. - */ -public interface IBaseOutlookCategoryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOutlookCategoryRequest instance - */ - IOutlookCategoryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOutlookCategoryRequest instance - */ - IOutlookCategoryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequest.java deleted file mode 100644 index 160d0cbc810..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OutlookItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Item Request. - */ -public interface IBaseOutlookItemRequest extends IHttpRequest { - - /** - * Gets the OutlookItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OutlookItem from the service - * - * @return the OutlookItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OutlookItem with a source - * - * @param sourceOutlookItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OutlookItem sourceOutlookItem, final ICallback callback); - - /** - * Patches this OutlookItem with a source - * - * @param sourceOutlookItem the source object with updates - * @return the updated OutlookItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookItem patch(final OutlookItem sourceOutlookItem) throws ClientException; - - /** - * Posts a OutlookItem with a new object - * - * @param newOutlookItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OutlookItem newOutlookItem, final ICallback callback); - - /** - * Posts a OutlookItem with a new object - * - * @param newOutlookItem the new object to create - * @return the created OutlookItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookItem post(final OutlookItem newOutlookItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOutlookItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOutlookItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequestBuilder.java deleted file mode 100644 index 4191d29fcd9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookItemRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookItemRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook Item Request Builder. - */ -public interface IBaseOutlookItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOutlookItemRequest instance - */ - IOutlookItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOutlookItemRequest instance - */ - IOutlookItemRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequest.java deleted file mode 100644 index ec898c8cb29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.OutlookUser; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Request. - */ -public interface IBaseOutlookUserRequest extends IHttpRequest { - - /** - * Gets the OutlookUser from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the OutlookUser from the service - * - * @return the OutlookUser from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookUser get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this OutlookUser with a source - * - * @param sourceOutlookUser the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final OutlookUser sourceOutlookUser, final ICallback callback); - - /** - * Patches this OutlookUser with a source - * - * @param sourceOutlookUser the source object with updates - * @return the updated OutlookUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookUser patch(final OutlookUser sourceOutlookUser) throws ClientException; - - /** - * Posts a OutlookUser with a new object - * - * @param newOutlookUser the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final OutlookUser newOutlookUser, final ICallback callback); - - /** - * Posts a OutlookUser with a new object - * - * @param newOutlookUser the new object to create - * @return the created OutlookUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - OutlookUser post(final OutlookUser newOutlookUser) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseOutlookUserRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseOutlookUserRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequestBuilder.java deleted file mode 100644 index 29b898dbb28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IOutlookUserRequest; -import com.microsoft.graph.requests.extensions.IOutlookCategoryCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookCategoryRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookUserSupportedLanguagesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; -import com.microsoft.graph.models.generated.TimeZoneStandard; -import com.microsoft.graph.requests.extensions.IOutlookUserSupportedTimeZonesCollectionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Request Builder. - */ -public interface IBaseOutlookUserRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IOutlookUserRequest instance - */ - IOutlookUserRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IOutlookUserRequest instance - */ - IOutlookUserRequest buildRequest(final java.util.List requestOptions); - - IOutlookCategoryCollectionRequestBuilder masterCategories(); - - IOutlookCategoryRequestBuilder masterCategories(final String id); - - IOutlookUserSupportedLanguagesCollectionRequestBuilder supportedLanguages(); - - IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones(); - - IOutlookUserSupportedTimeZonesCollectionRequestBuilder supportedTimeZones(final TimeZoneStandard timeZoneStandard); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionPage.java deleted file mode 100644 index 5f0461e7d79..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Supported Languages Collection Page. - */ -public interface IBaseOutlookUserSupportedLanguagesCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequest.java deleted file mode 100644 index 4d531563574..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Supported Languages Collection Request. - */ -public interface IBaseOutlookUserSupportedLanguagesCollectionRequest { - - void get(final ICallback callback); - - IOutlookUserSupportedLanguagesCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOutlookUserSupportedLanguagesCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOutlookUserSupportedLanguagesCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOutlookUserSupportedLanguagesCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java deleted file mode 100644 index e4fd6e205ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Supported Languages Collection Request Builder. - */ -public interface IBaseOutlookUserSupportedLanguagesCollectionRequestBuilder extends IRequestBuilder { - - IOutlookUserSupportedLanguagesCollectionRequest buildRequest(); - - IOutlookUserSupportedLanguagesCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionPage.java deleted file mode 100644 index e2869c4a674..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Supported Time Zones Collection Page. - */ -public interface IBaseOutlookUserSupportedTimeZonesCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequest.java deleted file mode 100644 index 3852e0d624e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Supported Time Zones Collection Request. - */ -public interface IBaseOutlookUserSupportedTimeZonesCollectionRequest { - - void get(final ICallback callback); - - IOutlookUserSupportedTimeZonesCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IOutlookUserSupportedTimeZonesCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IOutlookUserSupportedTimeZonesCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IOutlookUserSupportedTimeZonesCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java deleted file mode 100644 index b07cb4ba10a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Outlook User Supported Time Zones Collection Request Builder. - */ -public interface IBaseOutlookUserSupportedTimeZonesCollectionRequestBuilder extends IRequestBuilder { - - IOutlookUserSupportedTimeZonesCollectionRequest buildRequest(); - - IOutlookUserSupportedTimeZonesCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionPage.java deleted file mode 100644 index 57e5279ed6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Permission Collection Page. - */ -public interface IBasePermissionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequest.java deleted file mode 100644 index 6f73da92e9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Permission Collection Request. - */ -public interface IBasePermissionCollectionRequest { - - void get(final ICallback callback); - - IPermissionCollectionPage get() throws ClientException; - - void post(final Permission newPermission, final ICallback callback); - - Permission post(final Permission newPermission) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPermissionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPermissionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPermissionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequestBuilder.java deleted file mode 100644 index bf8243a45d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Permission Collection Request Builder. - */ -public interface IBasePermissionCollectionRequestBuilder extends IRequestBuilder { - - IPermissionCollectionRequest buildRequest(); - - IPermissionCollectionRequest buildRequest(final java.util.List requestOptions); - - IPermissionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequest.java deleted file mode 100644 index 0c245aa290e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Permission; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Permission Request. - */ -public interface IBasePermissionRequest extends IHttpRequest { - - /** - * Gets the Permission from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Permission from the service - * - * @return the Permission from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Permission get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Permission with a source - * - * @param sourcePermission the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Permission sourcePermission, final ICallback callback); - - /** - * Patches this Permission with a source - * - * @param sourcePermission the source object with updates - * @return the updated Permission - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Permission patch(final Permission sourcePermission) throws ClientException; - - /** - * Posts a Permission with a new object - * - * @param newPermission the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Permission newPermission, final ICallback callback); - - /** - * Posts a Permission with a new object - * - * @param newPermission the new object to create - * @return the created Permission - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Permission post(final Permission newPermission) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePermissionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePermissionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequestBuilder.java deleted file mode 100644 index 0a296146da0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePermissionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPermissionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Permission Request Builder. - */ -public interface IBasePermissionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPermissionRequest instance - */ - IPermissionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPermissionRequest instance - */ - IPermissionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionPage.java deleted file mode 100644 index 35550bc5ed1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Person Collection Page. - */ -public interface IBasePersonCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequest.java deleted file mode 100644 index e10e288caeb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Person Collection Request. - */ -public interface IBasePersonCollectionRequest { - - void get(final ICallback callback); - - IPersonCollectionPage get() throws ClientException; - - void post(final Person newPerson, final ICallback callback); - - Person post(final Person newPerson) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPersonCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPersonCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPersonCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequestBuilder.java deleted file mode 100644 index af557668134..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Person Collection Request Builder. - */ -public interface IBasePersonCollectionRequestBuilder extends IRequestBuilder { - - IPersonCollectionRequest buildRequest(); - - IPersonCollectionRequest buildRequest(final java.util.List requestOptions); - - IPersonRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequest.java deleted file mode 100644 index c030f01e7bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Person; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Person Request. - */ -public interface IBasePersonRequest extends IHttpRequest { - - /** - * Gets the Person from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Person from the service - * - * @return the Person from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Person get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Person with a source - * - * @param sourcePerson the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Person sourcePerson, final ICallback callback); - - /** - * Patches this Person with a source - * - * @param sourcePerson the source object with updates - * @return the updated Person - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Person patch(final Person sourcePerson) throws ClientException; - - /** - * Posts a Person with a new object - * - * @param newPerson the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Person newPerson, final ICallback callback); - - /** - * Posts a Person with a new object - * - * @param newPerson the new object to create - * @return the created Person - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Person post(final Person newPerson) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePersonRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePersonRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequestBuilder.java deleted file mode 100644 index 33fc943e5a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePersonRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPersonRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Person Request Builder. - */ -public interface IBasePersonRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPersonRequest instance - */ - IPersonRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPersonRequest instance - */ - IPersonRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequest.java deleted file mode 100644 index 75439b85978..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Assigned To Task Board Task Format Request. - */ -public interface IBasePlannerAssignedToTaskBoardTaskFormatRequest extends IHttpRequest { - - /** - * Gets the PlannerAssignedToTaskBoardTaskFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerAssignedToTaskBoardTaskFormat from the service - * - * @return the PlannerAssignedToTaskBoardTaskFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerAssignedToTaskBoardTaskFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerAssignedToTaskBoardTaskFormat with a source - * - * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat, final ICallback callback); - - /** - * Patches this PlannerAssignedToTaskBoardTaskFormat with a source - * - * @param sourcePlannerAssignedToTaskBoardTaskFormat the source object with updates - * @return the updated PlannerAssignedToTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerAssignedToTaskBoardTaskFormat patch(final PlannerAssignedToTaskBoardTaskFormat sourcePlannerAssignedToTaskBoardTaskFormat) throws ClientException; - - /** - * Posts a PlannerAssignedToTaskBoardTaskFormat with a new object - * - * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat, final ICallback callback); - - /** - * Posts a PlannerAssignedToTaskBoardTaskFormat with a new object - * - * @param newPlannerAssignedToTaskBoardTaskFormat the new object to create - * @return the created PlannerAssignedToTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerAssignedToTaskBoardTaskFormat post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerAssignedToTaskBoardTaskFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerAssignedToTaskBoardTaskFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java deleted file mode 100644 index d345bf8493e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Assigned To Task Board Task Format Request Builder. - */ -public interface IBasePlannerAssignedToTaskBoardTaskFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance - */ - IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerAssignedToTaskBoardTaskFormatRequest instance - */ - IPlannerAssignedToTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionPage.java deleted file mode 100644 index ebc07f38344..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Collection Page. - */ -public interface IBasePlannerBucketCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequest.java deleted file mode 100644 index 09712c1c6f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Collection Request. - */ -public interface IBasePlannerBucketCollectionRequest { - - void get(final ICallback callback); - - IPlannerBucketCollectionPage get() throws ClientException; - - void post(final PlannerBucket newPlannerBucket, final ICallback callback); - - PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPlannerBucketCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPlannerBucketCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPlannerBucketCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequestBuilder.java deleted file mode 100644 index f2af84051a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Collection Request Builder. - */ -public interface IBasePlannerBucketCollectionRequestBuilder extends IRequestBuilder { - - IPlannerBucketCollectionRequest buildRequest(); - - IPlannerBucketCollectionRequest buildRequest(final java.util.List requestOptions); - - IPlannerBucketRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequest.java deleted file mode 100644 index d8ff2753d74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerBucket; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Request. - */ -public interface IBasePlannerBucketRequest extends IHttpRequest { - - /** - * Gets the PlannerBucket from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerBucket from the service - * - * @return the PlannerBucket from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerBucket get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerBucket with a source - * - * @param sourcePlannerBucket the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerBucket sourcePlannerBucket, final ICallback callback); - - /** - * Patches this PlannerBucket with a source - * - * @param sourcePlannerBucket the source object with updates - * @return the updated PlannerBucket - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerBucket patch(final PlannerBucket sourcePlannerBucket) throws ClientException; - - /** - * Posts a PlannerBucket with a new object - * - * @param newPlannerBucket the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerBucket newPlannerBucket, final ICallback callback); - - /** - * Posts a PlannerBucket with a new object - * - * @param newPlannerBucket the new object to create - * @return the created PlannerBucket - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerBucketRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerBucketRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequestBuilder.java deleted file mode 100644 index d11c059c33f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Request Builder. - */ -public interface IBasePlannerBucketRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerBucketRequest instance - */ - IPlannerBucketRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerBucketRequest instance - */ - IPlannerBucketRequest buildRequest(final java.util.List requestOptions); - - IPlannerTaskCollectionRequestBuilder tasks(); - - IPlannerTaskRequestBuilder tasks(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequest.java deleted file mode 100644 index 98e561134b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Task Board Task Format Request. - */ -public interface IBasePlannerBucketTaskBoardTaskFormatRequest extends IHttpRequest { - - /** - * Gets the PlannerBucketTaskBoardTaskFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerBucketTaskBoardTaskFormat from the service - * - * @return the PlannerBucketTaskBoardTaskFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerBucketTaskBoardTaskFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerBucketTaskBoardTaskFormat with a source - * - * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat, final ICallback callback); - - /** - * Patches this PlannerBucketTaskBoardTaskFormat with a source - * - * @param sourcePlannerBucketTaskBoardTaskFormat the source object with updates - * @return the updated PlannerBucketTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerBucketTaskBoardTaskFormat patch(final PlannerBucketTaskBoardTaskFormat sourcePlannerBucketTaskBoardTaskFormat) throws ClientException; - - /** - * Posts a PlannerBucketTaskBoardTaskFormat with a new object - * - * @param newPlannerBucketTaskBoardTaskFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat, final ICallback callback); - - /** - * Posts a PlannerBucketTaskBoardTaskFormat with a new object - * - * @param newPlannerBucketTaskBoardTaskFormat the new object to create - * @return the created PlannerBucketTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerBucketTaskBoardTaskFormat post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerBucketTaskBoardTaskFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerBucketTaskBoardTaskFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequestBuilder.java deleted file mode 100644 index f7c6134e066..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerBucketTaskBoardTaskFormatRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Bucket Task Board Task Format Request Builder. - */ -public interface IBasePlannerBucketTaskBoardTaskFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerBucketTaskBoardTaskFormatRequest instance - */ - IPlannerBucketTaskBoardTaskFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerBucketTaskBoardTaskFormatRequest instance - */ - IPlannerBucketTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequest.java deleted file mode 100644 index f2a34320de3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerGroup; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Group Request. - */ -public interface IBasePlannerGroupRequest extends IHttpRequest { - - /** - * Gets the PlannerGroup from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerGroup from the service - * - * @return the PlannerGroup from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerGroup get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerGroup with a source - * - * @param sourcePlannerGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerGroup sourcePlannerGroup, final ICallback callback); - - /** - * Patches this PlannerGroup with a source - * - * @param sourcePlannerGroup the source object with updates - * @return the updated PlannerGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerGroup patch(final PlannerGroup sourcePlannerGroup) throws ClientException; - - /** - * Posts a PlannerGroup with a new object - * - * @param newPlannerGroup the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerGroup newPlannerGroup, final ICallback callback); - - /** - * Posts a PlannerGroup with a new object - * - * @param newPlannerGroup the new object to create - * @return the created PlannerGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerGroup post(final PlannerGroup newPlannerGroup) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerGroupRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerGroupRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequestBuilder.java deleted file mode 100644 index 94c5940dfd4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerGroupRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerGroupRequest; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Group Request Builder. - */ -public interface IBasePlannerGroupRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerGroupRequest instance - */ - IPlannerGroupRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerGroupRequest instance - */ - IPlannerGroupRequest buildRequest(final java.util.List requestOptions); - - IPlannerPlanCollectionRequestBuilder plans(); - - IPlannerPlanRequestBuilder plans(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionPage.java deleted file mode 100644 index 4e835a2affe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Collection Page. - */ -public interface IBasePlannerPlanCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequest.java deleted file mode 100644 index 9201f5c9af2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Collection Request. - */ -public interface IBasePlannerPlanCollectionRequest { - - void get(final ICallback callback); - - IPlannerPlanCollectionPage get() throws ClientException; - - void post(final PlannerPlan newPlannerPlan, final ICallback callback); - - PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPlannerPlanCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPlannerPlanCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPlannerPlanCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequestBuilder.java deleted file mode 100644 index e46fc28c56f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Collection Request Builder. - */ -public interface IBasePlannerPlanCollectionRequestBuilder extends IRequestBuilder { - - IPlannerPlanCollectionRequest buildRequest(); - - IPlannerPlanCollectionRequest buildRequest(final java.util.List requestOptions); - - IPlannerPlanRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequest.java deleted file mode 100644 index 162cb01ccae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerPlanDetails; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Details Request. - */ -public interface IBasePlannerPlanDetailsRequest extends IHttpRequest { - - /** - * Gets the PlannerPlanDetails from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerPlanDetails from the service - * - * @return the PlannerPlanDetails from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerPlanDetails get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerPlanDetails with a source - * - * @param sourcePlannerPlanDetails the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerPlanDetails sourcePlannerPlanDetails, final ICallback callback); - - /** - * Patches this PlannerPlanDetails with a source - * - * @param sourcePlannerPlanDetails the source object with updates - * @return the updated PlannerPlanDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerPlanDetails patch(final PlannerPlanDetails sourcePlannerPlanDetails) throws ClientException; - - /** - * Posts a PlannerPlanDetails with a new object - * - * @param newPlannerPlanDetails the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerPlanDetails newPlannerPlanDetails, final ICallback callback); - - /** - * Posts a PlannerPlanDetails with a new object - * - * @param newPlannerPlanDetails the new object to create - * @return the created PlannerPlanDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerPlanDetails post(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerPlanDetailsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerPlanDetailsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequestBuilder.java deleted file mode 100644 index 21b22f40280..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanDetailsRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Details Request Builder. - */ -public interface IBasePlannerPlanDetailsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerPlanDetailsRequest instance - */ - IPlannerPlanDetailsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerPlanDetailsRequest instance - */ - IPlannerPlanDetailsRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequest.java deleted file mode 100644 index 0281d78bdad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerPlan; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Request. - */ -public interface IBasePlannerPlanRequest extends IHttpRequest { - - /** - * Gets the PlannerPlan from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerPlan from the service - * - * @return the PlannerPlan from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerPlan get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerPlan with a source - * - * @param sourcePlannerPlan the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerPlan sourcePlannerPlan, final ICallback callback); - - /** - * Patches this PlannerPlan with a source - * - * @param sourcePlannerPlan the source object with updates - * @return the updated PlannerPlan - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerPlan patch(final PlannerPlan sourcePlannerPlan) throws ClientException; - - /** - * Posts a PlannerPlan with a new object - * - * @param newPlannerPlan the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerPlan newPlannerPlan, final ICallback callback); - - /** - * Posts a PlannerPlan with a new object - * - * @param newPlannerPlan the new object to create - * @return the created PlannerPlan - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerPlanRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerPlanRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequestBuilder.java deleted file mode 100644 index d5d16a34df0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerPlanRequestBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanDetailsRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Plan Request Builder. - */ -public interface IBasePlannerPlanRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerPlanRequest instance - */ - IPlannerPlanRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerPlanRequest instance - */ - IPlannerPlanRequest buildRequest(final java.util.List requestOptions); - - IPlannerTaskCollectionRequestBuilder tasks(); - - IPlannerTaskRequestBuilder tasks(final String id); - - IPlannerBucketCollectionRequestBuilder buckets(); - - IPlannerBucketRequestBuilder buckets(final String id); - - /** - * Gets the request builder for PlannerPlanDetails - * - * @return the IPlannerPlanDetailsRequestBuilder instance - */ - IPlannerPlanDetailsRequestBuilder details(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequest.java deleted file mode 100644 index 7b77b619667..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Progress Task Board Task Format Request. - */ -public interface IBasePlannerProgressTaskBoardTaskFormatRequest extends IHttpRequest { - - /** - * Gets the PlannerProgressTaskBoardTaskFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerProgressTaskBoardTaskFormat from the service - * - * @return the PlannerProgressTaskBoardTaskFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerProgressTaskBoardTaskFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerProgressTaskBoardTaskFormat with a source - * - * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat, final ICallback callback); - - /** - * Patches this PlannerProgressTaskBoardTaskFormat with a source - * - * @param sourcePlannerProgressTaskBoardTaskFormat the source object with updates - * @return the updated PlannerProgressTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerProgressTaskBoardTaskFormat patch(final PlannerProgressTaskBoardTaskFormat sourcePlannerProgressTaskBoardTaskFormat) throws ClientException; - - /** - * Posts a PlannerProgressTaskBoardTaskFormat with a new object - * - * @param newPlannerProgressTaskBoardTaskFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat, final ICallback callback); - - /** - * Posts a PlannerProgressTaskBoardTaskFormat with a new object - * - * @param newPlannerProgressTaskBoardTaskFormat the new object to create - * @return the created PlannerProgressTaskBoardTaskFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerProgressTaskBoardTaskFormat post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerProgressTaskBoardTaskFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerProgressTaskBoardTaskFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequestBuilder.java deleted file mode 100644 index 8e632ba16ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerProgressTaskBoardTaskFormatRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Progress Task Board Task Format Request Builder. - */ -public interface IBasePlannerProgressTaskBoardTaskFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerProgressTaskBoardTaskFormatRequest instance - */ - IPlannerProgressTaskBoardTaskFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerProgressTaskBoardTaskFormatRequest instance - */ - IPlannerProgressTaskBoardTaskFormatRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequest.java deleted file mode 100644 index f7c3100c195..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Planner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Request. - */ -public interface IBasePlannerRequest extends IHttpRequest { - - /** - * Gets the Planner from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Planner from the service - * - * @return the Planner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Planner get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Planner with a source - * - * @param sourcePlanner the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Planner sourcePlanner, final ICallback callback); - - /** - * Patches this Planner with a source - * - * @param sourcePlanner the source object with updates - * @return the updated Planner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Planner patch(final Planner sourcePlanner) throws ClientException; - - /** - * Posts a Planner with a new object - * - * @param newPlanner the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Planner newPlanner, final ICallback callback); - - /** - * Posts a Planner with a new object - * - * @param newPlanner the new object to create - * @return the created Planner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Planner post(final Planner newPlanner) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequestBuilder.java deleted file mode 100644 index ad1742bc657..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerRequestBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Request Builder. - */ -public interface IBasePlannerRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerRequest instance - */ - IPlannerRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerRequest instance - */ - IPlannerRequest buildRequest(final java.util.List requestOptions); - - IPlannerTaskCollectionRequestBuilder tasks(); - - IPlannerTaskRequestBuilder tasks(final String id); - - IPlannerPlanCollectionRequestBuilder plans(); - - IPlannerPlanRequestBuilder plans(final String id); - - IPlannerBucketCollectionRequestBuilder buckets(); - - IPlannerBucketRequestBuilder buckets(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionPage.java deleted file mode 100644 index bcd76861857..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Collection Page. - */ -public interface IBasePlannerTaskCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequest.java deleted file mode 100644 index 7cf59803442..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Collection Request. - */ -public interface IBasePlannerTaskCollectionRequest { - - void get(final ICallback callback); - - IPlannerTaskCollectionPage get() throws ClientException; - - void post(final PlannerTask newPlannerTask, final ICallback callback); - - PlannerTask post(final PlannerTask newPlannerTask) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPlannerTaskCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPlannerTaskCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPlannerTaskCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequestBuilder.java deleted file mode 100644 index 82ce8a109ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Collection Request Builder. - */ -public interface IBasePlannerTaskCollectionRequestBuilder extends IRequestBuilder { - - IPlannerTaskCollectionRequest buildRequest(); - - IPlannerTaskCollectionRequest buildRequest(final java.util.List requestOptions); - - IPlannerTaskRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequest.java deleted file mode 100644 index f00b6230175..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerTaskDetails; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Details Request. - */ -public interface IBasePlannerTaskDetailsRequest extends IHttpRequest { - - /** - * Gets the PlannerTaskDetails from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerTaskDetails from the service - * - * @return the PlannerTaskDetails from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerTaskDetails get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerTaskDetails with a source - * - * @param sourcePlannerTaskDetails the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerTaskDetails sourcePlannerTaskDetails, final ICallback callback); - - /** - * Patches this PlannerTaskDetails with a source - * - * @param sourcePlannerTaskDetails the source object with updates - * @return the updated PlannerTaskDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerTaskDetails patch(final PlannerTaskDetails sourcePlannerTaskDetails) throws ClientException; - - /** - * Posts a PlannerTaskDetails with a new object - * - * @param newPlannerTaskDetails the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerTaskDetails newPlannerTaskDetails, final ICallback callback); - - /** - * Posts a PlannerTaskDetails with a new object - * - * @param newPlannerTaskDetails the new object to create - * @return the created PlannerTaskDetails - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerTaskDetails post(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerTaskDetailsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerTaskDetailsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequestBuilder.java deleted file mode 100644 index dc4d5cd0c7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskDetailsRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Details Request Builder. - */ -public interface IBasePlannerTaskDetailsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerTaskDetailsRequest instance - */ - IPlannerTaskDetailsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerTaskDetailsRequest instance - */ - IPlannerTaskDetailsRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequest.java deleted file mode 100644 index 87bed4c95a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerTask; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Request. - */ -public interface IBasePlannerTaskRequest extends IHttpRequest { - - /** - * Gets the PlannerTask from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerTask from the service - * - * @return the PlannerTask from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerTask get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerTask with a source - * - * @param sourcePlannerTask the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerTask sourcePlannerTask, final ICallback callback); - - /** - * Patches this PlannerTask with a source - * - * @param sourcePlannerTask the source object with updates - * @return the updated PlannerTask - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerTask patch(final PlannerTask sourcePlannerTask) throws ClientException; - - /** - * Posts a PlannerTask with a new object - * - * @param newPlannerTask the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerTask newPlannerTask, final ICallback callback); - - /** - * Posts a PlannerTask with a new object - * - * @param newPlannerTask the new object to create - * @return the created PlannerTask - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerTask post(final PlannerTask newPlannerTask) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerTaskRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerTaskRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequestBuilder.java deleted file mode 100644 index 565ee7b6091..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerTaskRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerAssignedToTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerProgressTaskBoardTaskFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerBucketTaskBoardTaskFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner Task Request Builder. - */ -public interface IBasePlannerTaskRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerTaskRequest instance - */ - IPlannerTaskRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerTaskRequest instance - */ - IPlannerTaskRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for PlannerTaskDetails - * - * @return the IPlannerTaskDetailsRequestBuilder instance - */ - IPlannerTaskDetailsRequestBuilder details(); - - /** - * Gets the request builder for PlannerAssignedToTaskBoardTaskFormat - * - * @return the IPlannerAssignedToTaskBoardTaskFormatRequestBuilder instance - */ - IPlannerAssignedToTaskBoardTaskFormatRequestBuilder assignedToTaskBoardFormat(); - - /** - * Gets the request builder for PlannerProgressTaskBoardTaskFormat - * - * @return the IPlannerProgressTaskBoardTaskFormatRequestBuilder instance - */ - IPlannerProgressTaskBoardTaskFormatRequestBuilder progressTaskBoardFormat(); - - /** - * Gets the request builder for PlannerBucketTaskBoardTaskFormat - * - * @return the IPlannerBucketTaskBoardTaskFormatRequestBuilder instance - */ - IPlannerBucketTaskBoardTaskFormatRequestBuilder bucketTaskBoardFormat(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequest.java deleted file mode 100644 index 69047c994fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.PlannerUser; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner User Request. - */ -public interface IBasePlannerUserRequest extends IHttpRequest { - - /** - * Gets the PlannerUser from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the PlannerUser from the service - * - * @return the PlannerUser from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerUser get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this PlannerUser with a source - * - * @param sourcePlannerUser the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final PlannerUser sourcePlannerUser, final ICallback callback); - - /** - * Patches this PlannerUser with a source - * - * @param sourcePlannerUser the source object with updates - * @return the updated PlannerUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerUser patch(final PlannerUser sourcePlannerUser) throws ClientException; - - /** - * Posts a PlannerUser with a new object - * - * @param newPlannerUser the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final PlannerUser newPlannerUser, final ICallback callback); - - /** - * Posts a PlannerUser with a new object - * - * @param newPlannerUser the new object to create - * @return the created PlannerUser - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - PlannerUser post(final PlannerUser newPlannerUser) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePlannerUserRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePlannerUserRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequestBuilder.java deleted file mode 100644 index 09aa2d8164a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePlannerUserRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPlannerUserRequest; -import com.microsoft.graph.requests.extensions.IPlannerTaskCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerTaskRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerPlanRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Planner User Request Builder. - */ -public interface IBasePlannerUserRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPlannerUserRequest instance - */ - IPlannerUserRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPlannerUserRequest instance - */ - IPlannerUserRequest buildRequest(final java.util.List requestOptions); - - IPlannerTaskCollectionRequestBuilder tasks(); - - IPlannerTaskRequestBuilder tasks(final String id); - - IPlannerPlanCollectionRequestBuilder plans(); - - IPlannerPlanRequestBuilder plans(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionPage.java deleted file mode 100644 index bb100c458ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Collection Page. - */ -public interface IBasePostCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequest.java deleted file mode 100644 index fbc59277d94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Collection Request. - */ -public interface IBasePostCollectionRequest { - - void get(final ICallback callback); - - IPostCollectionPage get() throws ClientException; - - void post(final Post newPost, final ICallback callback); - - Post post(final Post newPost) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPostCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPostCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPostCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequestBuilder.java deleted file mode 100644 index a998763add5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Collection Request Builder. - */ -public interface IBasePostCollectionRequestBuilder extends IRequestBuilder { - - IPostCollectionRequest buildRequest(); - - IPostCollectionRequest buildRequest(final java.util.List requestOptions); - - IPostRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequest.java deleted file mode 100644 index a21d170dc7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostForwardRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Forward Request. - */ -public interface IBasePostForwardRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPostForwardRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPostForwardRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPostForwardRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequestBuilder.java deleted file mode 100644 index fec81b86592..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostForwardRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostForwardRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Forward Request Builder. - */ -public interface IBasePostForwardRequestBuilder extends IRequestBuilder { - - /** - * Creates the IPostForwardRequest - * - * @return the IPostForwardRequest instance - */ - IPostForwardRequest buildRequest(); - - /** - * Creates the IPostForwardRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IPostForwardRequest instance - */ - IPostForwardRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequest.java deleted file mode 100644 index b434d5bdb3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostReplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Reply Request. - */ -public interface IBasePostReplyRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IPostReplyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IPostReplyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IPostReplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequestBuilder.java deleted file mode 100644 index a4b84e8b939..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostReplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostReplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Reply Request Builder. - */ -public interface IBasePostReplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IPostReplyRequest - * - * @return the IPostReplyRequest instance - */ - IPostReplyRequest buildRequest(); - - /** - * Creates the IPostReplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IPostReplyRequest instance - */ - IPostReplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostRequest.java deleted file mode 100644 index 8d9e590e0c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Post; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Request. - */ -public interface IBasePostRequest extends IHttpRequest { - - /** - * Gets the Post from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Post from the service - * - * @return the Post from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Post get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Post with a source - * - * @param sourcePost the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Post sourcePost, final ICallback callback); - - /** - * Patches this Post with a source - * - * @param sourcePost the source object with updates - * @return the updated Post - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Post patch(final Post sourcePost) throws ClientException; - - /** - * Posts a Post with a new object - * - * @param newPost the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Post newPost, final ICallback callback); - - /** - * Posts a Post with a new object - * - * @param newPost the new object to create - * @return the created Post - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Post post(final Post newPost) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBasePostRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBasePostRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBasePostRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBasePostRequestBuilder.java deleted file mode 100644 index 9c43fc71239..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBasePostRequestBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IPostRequest; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPostRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttachmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMultiValueLegacyExtendedPropertyRequestBuilder; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.requests.extensions.IPostForwardRequestBuilder; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.requests.extensions.IPostReplyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Post Request Builder. - */ -public interface IBasePostRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IPostRequest instance - */ - IPostRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IPostRequest instance - */ - IPostRequest buildRequest(final java.util.List requestOptions); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - - /** - * Gets the request builder for Post - * - * @return the IPostRequestBuilder instance - */ - IPostRequestBuilder inReplyTo(); - - IAttachmentCollectionRequestBuilder attachments(); - - IAttachmentRequestBuilder attachments(final String id); - - ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties(); - - ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id); - - IMultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties(); - - IMultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(final String id); - IPostForwardRequestBuilder forward(final String comment, final java.util.List toRecipients); - IPostReplyRequestBuilder reply(final Post post); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionPage.java deleted file mode 100644 index 68b2ee45271..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Collection Page. - */ -public interface IBaseProfilePhotoCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequest.java deleted file mode 100644 index d9aa9509daa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Collection Request. - */ -public interface IBaseProfilePhotoCollectionRequest { - - void get(final ICallback callback); - - IProfilePhotoCollectionPage get() throws ClientException; - - void post(final ProfilePhoto newProfilePhoto, final ICallback callback); - - ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IProfilePhotoCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IProfilePhotoCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IProfilePhotoCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequestBuilder.java deleted file mode 100644 index 3ccce8d00cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Collection Request Builder. - */ -public interface IBaseProfilePhotoCollectionRequestBuilder extends IRequestBuilder { - - IProfilePhotoCollectionRequest buildRequest(); - - IProfilePhotoCollectionRequest buildRequest(final java.util.List requestOptions); - - IProfilePhotoRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequest.java deleted file mode 100644 index a143ac94c95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ProfilePhoto; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Request. - */ -public interface IBaseProfilePhotoRequest extends IHttpRequest { - - /** - * Gets the ProfilePhoto from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ProfilePhoto from the service - * - * @return the ProfilePhoto from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ProfilePhoto get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ProfilePhoto with a source - * - * @param sourceProfilePhoto the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ProfilePhoto sourceProfilePhoto, final ICallback callback); - - /** - * Patches this ProfilePhoto with a source - * - * @param sourceProfilePhoto the source object with updates - * @return the updated ProfilePhoto - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ProfilePhoto patch(final ProfilePhoto sourceProfilePhoto) throws ClientException; - - /** - * Posts a ProfilePhoto with a new object - * - * @param newProfilePhoto the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ProfilePhoto newProfilePhoto, final ICallback callback); - - /** - * Posts a ProfilePhoto with a new object - * - * @param newProfilePhoto the new object to create - * @return the created ProfilePhoto - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseProfilePhotoRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseProfilePhotoRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequestBuilder.java deleted file mode 100644 index ab69d5e9d38..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequest; -import com.microsoft.graph.requests.extensions.IProfilePhotoStreamRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Request Builder. - */ -public interface IBaseProfilePhotoRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IProfilePhotoRequest instance - */ - IProfilePhotoRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IProfilePhotoRequest instance - */ - IProfilePhotoRequest buildRequest(final java.util.List requestOptions); - - IProfilePhotoStreamRequestBuilder content(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequest.java deleted file mode 100644 index ca4083987cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Stream Request. - */ -public interface IBaseProfilePhotoStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - ProfilePhoto put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequestBuilder.java deleted file mode 100644 index 2e7bd44d05d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseProfilePhotoStreamRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Profile Photo Stream Request Builder. - */ -public interface IBaseProfilePhotoStreamRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IProfilePhotoStreamRequest instance - */ - IProfilePhotoStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IProfilePhotoStreamRequest instance - */ - IProfilePhotoStreamRequest buildRequest(final java.util.List requestOptions); - - - - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequest.java deleted file mode 100644 index 18478cf59bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ReferenceAttachment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Reference Attachment Request. - */ -public interface IBaseReferenceAttachmentRequest extends IHttpRequest { - - /** - * Gets the ReferenceAttachment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ReferenceAttachment from the service - * - * @return the ReferenceAttachment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ReferenceAttachment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ReferenceAttachment with a source - * - * @param sourceReferenceAttachment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ReferenceAttachment sourceReferenceAttachment, final ICallback callback); - - /** - * Patches this ReferenceAttachment with a source - * - * @param sourceReferenceAttachment the source object with updates - * @return the updated ReferenceAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ReferenceAttachment patch(final ReferenceAttachment sourceReferenceAttachment) throws ClientException; - - /** - * Posts a ReferenceAttachment with a new object - * - * @param newReferenceAttachment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ReferenceAttachment newReferenceAttachment, final ICallback callback); - - /** - * Posts a ReferenceAttachment with a new object - * - * @param newReferenceAttachment the new object to create - * @return the created ReferenceAttachment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ReferenceAttachment post(final ReferenceAttachment newReferenceAttachment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseReferenceAttachmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseReferenceAttachmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequestBuilder.java deleted file mode 100644 index 28158fb1a74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReferenceAttachmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReferenceAttachmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Reference Attachment Request Builder. - */ -public interface IBaseReferenceAttachmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IReferenceAttachmentRequest instance - */ - IReferenceAttachmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IReferenceAttachmentRequest instance - */ - IReferenceAttachmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequest.java deleted file mode 100644 index 7bbdb6e8b42..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Begin Onboarding Request. - */ -public interface IBaseRemoteAssistancePartnerBeginOnboardingRequest { - - /** - * Creates the RemoteAssistancePartnerBeginOnboarding - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the RemoteAssistancePartnerBeginOnboarding - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java deleted file mode 100644 index 54a84536f01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Begin Onboarding Request Builder. - */ -public interface IBaseRemoteAssistancePartnerBeginOnboardingRequestBuilder extends IRequestBuilder { - - /** - * Creates the IRemoteAssistancePartnerBeginOnboardingRequest - * - * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance - */ - IRemoteAssistancePartnerBeginOnboardingRequest buildRequest(); - - /** - * Creates the IRemoteAssistancePartnerBeginOnboardingRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IRemoteAssistancePartnerBeginOnboardingRequest instance - */ - IRemoteAssistancePartnerBeginOnboardingRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionPage.java deleted file mode 100644 index ca41f2f21fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Collection Page. - */ -public interface IBaseRemoteAssistancePartnerCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequest.java deleted file mode 100644 index 516f1e93213..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Collection Request. - */ -public interface IBaseRemoteAssistancePartnerCollectionRequest { - - void get(final ICallback callback); - - IRemoteAssistancePartnerCollectionPage get() throws ClientException; - - void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback); - - RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IRemoteAssistancePartnerCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IRemoteAssistancePartnerCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IRemoteAssistancePartnerCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequestBuilder.java deleted file mode 100644 index f4ffc82b326..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Collection Request Builder. - */ -public interface IBaseRemoteAssistancePartnerCollectionRequestBuilder extends IRequestBuilder { - - IRemoteAssistancePartnerCollectionRequest buildRequest(); - - IRemoteAssistancePartnerCollectionRequest buildRequest(final java.util.List requestOptions); - - IRemoteAssistancePartnerRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequest.java deleted file mode 100644 index 63bcf1ab22b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Disconnect Request. - */ -public interface IBaseRemoteAssistancePartnerDisconnectRequest { - - /** - * Creates the RemoteAssistancePartnerDisconnect - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the RemoteAssistancePartnerDisconnect - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequestBuilder.java deleted file mode 100644 index b5c3eac77f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerDisconnectRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Disconnect Request Builder. - */ -public interface IBaseRemoteAssistancePartnerDisconnectRequestBuilder extends IRequestBuilder { - - /** - * Creates the IRemoteAssistancePartnerDisconnectRequest - * - * @return the IRemoteAssistancePartnerDisconnectRequest instance - */ - IRemoteAssistancePartnerDisconnectRequest buildRequest(); - - /** - * Creates the IRemoteAssistancePartnerDisconnectRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IRemoteAssistancePartnerDisconnectRequest instance - */ - IRemoteAssistancePartnerDisconnectRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequest.java deleted file mode 100644 index b7edc3898d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RemoteAssistancePartner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Request. - */ -public interface IBaseRemoteAssistancePartnerRequest extends IHttpRequest { - - /** - * Gets the RemoteAssistancePartner from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the RemoteAssistancePartner from the service - * - * @return the RemoteAssistancePartner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RemoteAssistancePartner get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this RemoteAssistancePartner with a source - * - * @param sourceRemoteAssistancePartner the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final RemoteAssistancePartner sourceRemoteAssistancePartner, final ICallback callback); - - /** - * Patches this RemoteAssistancePartner with a source - * - * @param sourceRemoteAssistancePartner the source object with updates - * @return the updated RemoteAssistancePartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RemoteAssistancePartner patch(final RemoteAssistancePartner sourceRemoteAssistancePartner) throws ClientException; - - /** - * Posts a RemoteAssistancePartner with a new object - * - * @param newRemoteAssistancePartner the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback); - - /** - * Posts a RemoteAssistancePartner with a new object - * - * @param newRemoteAssistancePartner the new object to create - * @return the created RemoteAssistancePartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseRemoteAssistancePartnerRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseRemoteAssistancePartnerRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequestBuilder.java deleted file mode 100644 index 5e1b17bb2c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRemoteAssistancePartnerRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerRequest; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerBeginOnboardingRequestBuilder; -import com.microsoft.graph.requests.extensions.IRemoteAssistancePartnerDisconnectRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Remote Assistance Partner Request Builder. - */ -public interface IBaseRemoteAssistancePartnerRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IRemoteAssistancePartnerRequest instance - */ - IRemoteAssistancePartnerRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IRemoteAssistancePartnerRequest instance - */ - IRemoteAssistancePartnerRequest buildRequest(final java.util.List requestOptions); - IRemoteAssistancePartnerBeginOnboardingRequestBuilder beginOnboarding(); - IRemoteAssistancePartnerDisconnectRequestBuilder disconnect(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequest.java deleted file mode 100644 index 0e4dc106adb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Device Configuration Device Activity Request. - */ -public interface IBaseReportRootDeviceConfigurationDeviceActivityRequest { - - /** - * Patches the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootDeviceConfigurationDeviceActivity - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootDeviceConfigurationDeviceActivityRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootDeviceConfigurationDeviceActivityRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java deleted file mode 100644 index d7064e83952..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Device Configuration Device Activity Request Builder. - */ -public interface IBaseReportRootDeviceConfigurationDeviceActivityRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootDeviceConfigurationDeviceActivityRequest - * - * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance - */ - IReportRootDeviceConfigurationDeviceActivityRequest buildRequest(); - - /** - * Creates the IReportRootDeviceConfigurationDeviceActivityRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootDeviceConfigurationDeviceActivityRequest instance - */ - IReportRootDeviceConfigurationDeviceActivityRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequest.java deleted file mode 100644 index 10548133f75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Device Configuration User Activity Request. - */ -public interface IBaseReportRootDeviceConfigurationUserActivityRequest { - - /** - * Patches the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootDeviceConfigurationUserActivity - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootDeviceConfigurationUserActivityRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootDeviceConfigurationUserActivityRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequestBuilder.java deleted file mode 100644 index 29ddc12ebbe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootDeviceConfigurationUserActivityRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Device Configuration User Activity Request Builder. - */ -public interface IBaseReportRootDeviceConfigurationUserActivityRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootDeviceConfigurationUserActivityRequest - * - * @return the IReportRootDeviceConfigurationUserActivityRequest instance - */ - IReportRootDeviceConfigurationUserActivityRequest buildRequest(); - - /** - * Creates the IReportRootDeviceConfigurationUserActivityRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootDeviceConfigurationUserActivityRequest instance - */ - IReportRootDeviceConfigurationUserActivityRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequest.java deleted file mode 100644 index 9b456cd155a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email Activity Counts Request. - */ -public interface IBaseReportRootGetEmailActivityCountsRequest { - - /** - * Patches the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequestBuilder.java deleted file mode 100644 index 2e74f1f5bae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email Activity Counts Request Builder. - */ -public interface IBaseReportRootGetEmailActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailActivityCountsRequest - * - * @return the IReportRootGetEmailActivityCountsRequest instance - */ - IReportRootGetEmailActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailActivityCountsRequest instance - */ - IReportRootGetEmailActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequest.java deleted file mode 100644 index 1a6c3b51021..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email Activity User Counts Request. - */ -public interface IBaseReportRootGetEmailActivityUserCountsRequest { - - /** - * Patches the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequestBuilder.java deleted file mode 100644 index 9f998899b73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetEmailActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailActivityUserCountsRequest - * - * @return the IReportRootGetEmailActivityUserCountsRequest instance - */ - IReportRootGetEmailActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailActivityUserCountsRequest instance - */ - IReportRootGetEmailActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequest.java deleted file mode 100644 index 5d8bb3419f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email Activity User Detail Request. - */ -public interface IBaseReportRootGetEmailActivityUserDetailRequest { - - /** - * Patches the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailActivityUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailActivityUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequestBuilder.java deleted file mode 100644 index ede00055399..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email Activity User Detail Request Builder. - */ -public interface IBaseReportRootGetEmailActivityUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailActivityUserDetailRequest - * - * @return the IReportRootGetEmailActivityUserDetailRequest instance - */ - IReportRootGetEmailActivityUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailActivityUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailActivityUserDetailRequest instance - */ - IReportRootGetEmailActivityUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequest.java deleted file mode 100644 index f33d2bd0463..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage Apps User Counts Request. - */ -public interface IBaseReportRootGetEmailAppUsageAppsUserCountsRequest { - - /** - * Patches the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailAppUsageAppsUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailAppUsageAppsUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailAppUsageAppsUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java deleted file mode 100644 index fb83462b292..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage Apps User Counts Request Builder. - */ -public interface IBaseReportRootGetEmailAppUsageAppsUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest - * - * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance - */ - IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailAppUsageAppsUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageAppsUserCountsRequest instance - */ - IReportRootGetEmailAppUsageAppsUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequest.java deleted file mode 100644 index f1f4a9a1218..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage User Counts Request. - */ -public interface IBaseReportRootGetEmailAppUsageUserCountsRequest { - - /** - * Patches the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailAppUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailAppUsageUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailAppUsageUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java deleted file mode 100644 index 27bf589e926..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage User Counts Request Builder. - */ -public interface IBaseReportRootGetEmailAppUsageUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailAppUsageUserCountsRequest - * - * @return the IReportRootGetEmailAppUsageUserCountsRequest instance - */ - IReportRootGetEmailAppUsageUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailAppUsageUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageUserCountsRequest instance - */ - IReportRootGetEmailAppUsageUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequest.java deleted file mode 100644 index b226edd130c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage User Detail Request. - */ -public interface IBaseReportRootGetEmailAppUsageUserDetailRequest { - - /** - * Patches the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailAppUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailAppUsageUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailAppUsageUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java deleted file mode 100644 index d44ed04778f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage User Detail Request Builder. - */ -public interface IBaseReportRootGetEmailAppUsageUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailAppUsageUserDetailRequest - * - * @return the IReportRootGetEmailAppUsageUserDetailRequest instance - */ - IReportRootGetEmailAppUsageUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailAppUsageUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageUserDetailRequest instance - */ - IReportRootGetEmailAppUsageUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java deleted file mode 100644 index 71706ff814d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage Versions User Counts Request. - */ -public interface IBaseReportRootGetEmailAppUsageVersionsUserCountsRequest { - - /** - * Patches the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetEmailAppUsageVersionsUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetEmailAppUsageVersionsUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetEmailAppUsageVersionsUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java deleted file mode 100644 index da594376dd4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Email App Usage Versions User Counts Request Builder. - */ -public interface IBaseReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest - * - * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance - */ - IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetEmailAppUsageVersionsUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetEmailAppUsageVersionsUserCountsRequest instance - */ - IReportRootGetEmailAppUsageVersionsUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequest.java deleted file mode 100644 index a4e7349ab7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Detail Request. - */ -public interface IBaseReportRootGetMailboxUsageDetailRequest { - - /** - * Patches the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetMailboxUsageDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetMailboxUsageDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetMailboxUsageDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequestBuilder.java deleted file mode 100644 index 35c6a2e3563..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Detail Request Builder. - */ -public interface IBaseReportRootGetMailboxUsageDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetMailboxUsageDetailRequest - * - * @return the IReportRootGetMailboxUsageDetailRequest instance - */ - IReportRootGetMailboxUsageDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetMailboxUsageDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageDetailRequest instance - */ - IReportRootGetMailboxUsageDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequest.java deleted file mode 100644 index ef6319c4c62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Mailbox Counts Request. - */ -public interface IBaseReportRootGetMailboxUsageMailboxCountsRequest { - - /** - * Patches the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetMailboxUsageMailboxCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetMailboxUsageMailboxCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetMailboxUsageMailboxCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java deleted file mode 100644 index c8a3c7aedc0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Mailbox Counts Request Builder. - */ -public interface IBaseReportRootGetMailboxUsageMailboxCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetMailboxUsageMailboxCountsRequest - * - * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance - */ - IReportRootGetMailboxUsageMailboxCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetMailboxUsageMailboxCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageMailboxCountsRequest instance - */ - IReportRootGetMailboxUsageMailboxCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java deleted file mode 100644 index 3f2004a30e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Quota Status Mailbox Counts Request. - */ -public interface IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest { - - /** - * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetMailboxUsageQuotaStatusMailboxCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java deleted file mode 100644 index 69a39301aac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Quota Status Mailbox Counts Request Builder. - */ -public interface IBaseReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest - * - * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance - */ - IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest instance - */ - IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequest.java deleted file mode 100644 index 51b5142a2c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Storage Request. - */ -public interface IBaseReportRootGetMailboxUsageStorageRequest { - - /** - * Patches the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetMailboxUsageStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetMailboxUsageStorageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetMailboxUsageStorageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequestBuilder.java deleted file mode 100644 index 472be9f8fd5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetMailboxUsageStorageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Mailbox Usage Storage Request Builder. - */ -public interface IBaseReportRootGetMailboxUsageStorageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetMailboxUsageStorageRequest - * - * @return the IReportRootGetMailboxUsageStorageRequest instance - */ - IReportRootGetMailboxUsageStorageRequest buildRequest(); - - /** - * Creates the IReportRootGetMailboxUsageStorageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetMailboxUsageStorageRequest instance - */ - IReportRootGetMailboxUsageStorageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequest.java deleted file mode 100644 index 73818588012..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Activation Counts Request. - */ -public interface IBaseReportRootGetOffice365ActivationCountsRequest { - - /** - * Patches the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365ActivationCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365ActivationCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365ActivationCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequestBuilder.java deleted file mode 100644 index fb2e620a69d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Activation Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365ActivationCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365ActivationCountsRequest - * - * @return the IReportRootGetOffice365ActivationCountsRequest instance - */ - IReportRootGetOffice365ActivationCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365ActivationCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActivationCountsRequest instance - */ - IReportRootGetOffice365ActivationCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequest.java deleted file mode 100644 index 083ee08d197..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Activations User Counts Request. - */ -public interface IBaseReportRootGetOffice365ActivationsUserCountsRequest { - - /** - * Patches the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365ActivationsUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365ActivationsUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365ActivationsUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java deleted file mode 100644 index 5446636f4fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Activations User Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365ActivationsUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365ActivationsUserCountsRequest - * - * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance - */ - IReportRootGetOffice365ActivationsUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365ActivationsUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActivationsUserCountsRequest instance - */ - IReportRootGetOffice365ActivationsUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequest.java deleted file mode 100644 index 5cf90ff3a8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Activations User Detail Request. - */ -public interface IBaseReportRootGetOffice365ActivationsUserDetailRequest { - - /** - * Patches the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365ActivationsUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365ActivationsUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365ActivationsUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java deleted file mode 100644 index 66d74f00912..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Activations User Detail Request Builder. - */ -public interface IBaseReportRootGetOffice365ActivationsUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365ActivationsUserDetailRequest - * - * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance - */ - IReportRootGetOffice365ActivationsUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365ActivationsUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActivationsUserDetailRequest instance - */ - IReportRootGetOffice365ActivationsUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequest.java deleted file mode 100644 index 2bf24c97cc6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Active User Counts Request. - */ -public interface IBaseReportRootGetOffice365ActiveUserCountsRequest { - - /** - * Patches the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365ActiveUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365ActiveUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365ActiveUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java deleted file mode 100644 index 907898abbe5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Active User Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365ActiveUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365ActiveUserCountsRequest - * - * @return the IReportRootGetOffice365ActiveUserCountsRequest instance - */ - IReportRootGetOffice365ActiveUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365ActiveUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActiveUserCountsRequest instance - */ - IReportRootGetOffice365ActiveUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequest.java deleted file mode 100644 index 52765837b6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Active User Detail Request. - */ -public interface IBaseReportRootGetOffice365ActiveUserDetailRequest { - - /** - * Patches the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365ActiveUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365ActiveUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365ActiveUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java deleted file mode 100644 index 9741a179584..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Active User Detail Request Builder. - */ -public interface IBaseReportRootGetOffice365ActiveUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365ActiveUserDetailRequest - * - * @return the IReportRootGetOffice365ActiveUserDetailRequest instance - */ - IReportRootGetOffice365ActiveUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365ActiveUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ActiveUserDetailRequest instance - */ - IReportRootGetOffice365ActiveUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequest.java deleted file mode 100644 index 97982d69260..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Counts Request. - */ -public interface IBaseReportRootGetOffice365GroupsActivityCountsRequest { - - /** - * Patches the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365GroupsActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java deleted file mode 100644 index 3e82322f37a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365GroupsActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365GroupsActivityCountsRequest - * - * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance - */ - IReportRootGetOffice365GroupsActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365GroupsActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityCountsRequest instance - */ - IReportRootGetOffice365GroupsActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequest.java deleted file mode 100644 index 73aaf382605..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Detail Request. - */ -public interface IBaseReportRootGetOffice365GroupsActivityDetailRequest { - - /** - * Patches the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365GroupsActivityDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java deleted file mode 100644 index 61882d56d46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Detail Request Builder. - */ -public interface IBaseReportRootGetOffice365GroupsActivityDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365GroupsActivityDetailRequest - * - * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance - */ - IReportRootGetOffice365GroupsActivityDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365GroupsActivityDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityDetailRequest instance - */ - IReportRootGetOffice365GroupsActivityDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequest.java deleted file mode 100644 index 6f1323a4304..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity File Counts Request. - */ -public interface IBaseReportRootGetOffice365GroupsActivityFileCountsRequest { - - /** - * Patches the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365GroupsActivityFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityFileCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityFileCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java deleted file mode 100644 index d99a2d66764..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity File Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365GroupsActivityFileCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest - * - * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance - */ - IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365GroupsActivityFileCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityFileCountsRequest instance - */ - IReportRootGetOffice365GroupsActivityFileCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java deleted file mode 100644 index b7af2c9bed7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Group Counts Request. - */ -public interface IBaseReportRootGetOffice365GroupsActivityGroupCountsRequest { - - /** - * Patches the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365GroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityGroupCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityGroupCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java deleted file mode 100644 index 945701b8b88..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Group Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest - * - * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance - */ - IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365GroupsActivityGroupCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityGroupCountsRequest instance - */ - IReportRootGetOffice365GroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequest.java deleted file mode 100644 index 53eab1d1d42..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Storage Request. - */ -public interface IBaseReportRootGetOffice365GroupsActivityStorageRequest { - - /** - * Patches the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365GroupsActivityStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityStorageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365GroupsActivityStorageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java deleted file mode 100644 index dbb1dc7db2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Groups Activity Storage Request Builder. - */ -public interface IBaseReportRootGetOffice365GroupsActivityStorageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365GroupsActivityStorageRequest - * - * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance - */ - IReportRootGetOffice365GroupsActivityStorageRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365GroupsActivityStorageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365GroupsActivityStorageRequest instance - */ - IReportRootGetOffice365GroupsActivityStorageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequest.java deleted file mode 100644 index 944e0e30bb2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Services User Counts Request. - */ -public interface IBaseReportRootGetOffice365ServicesUserCountsRequest { - - /** - * Patches the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOffice365ServicesUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOffice365ServicesUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOffice365ServicesUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java deleted file mode 100644 index f19e9368fd4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Office365Services User Counts Request Builder. - */ -public interface IBaseReportRootGetOffice365ServicesUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOffice365ServicesUserCountsRequest - * - * @return the IReportRootGetOffice365ServicesUserCountsRequest instance - */ - IReportRootGetOffice365ServicesUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOffice365ServicesUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOffice365ServicesUserCountsRequest instance - */ - IReportRootGetOffice365ServicesUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequest.java deleted file mode 100644 index 567ff904030..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Activity File Counts Request. - */ -public interface IBaseReportRootGetOneDriveActivityFileCountsRequest { - - /** - * Patches the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveActivityFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveActivityFileCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveActivityFileCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java deleted file mode 100644 index 2d3d78af602..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Activity File Counts Request Builder. - */ -public interface IBaseReportRootGetOneDriveActivityFileCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveActivityFileCountsRequest - * - * @return the IReportRootGetOneDriveActivityFileCountsRequest instance - */ - IReportRootGetOneDriveActivityFileCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveActivityFileCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveActivityFileCountsRequest instance - */ - IReportRootGetOneDriveActivityFileCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequest.java deleted file mode 100644 index 93e6e2bfc97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Activity User Counts Request. - */ -public interface IBaseReportRootGetOneDriveActivityUserCountsRequest { - - /** - * Patches the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java deleted file mode 100644 index 281ed678fb1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetOneDriveActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveActivityUserCountsRequest - * - * @return the IReportRootGetOneDriveActivityUserCountsRequest instance - */ - IReportRootGetOneDriveActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveActivityUserCountsRequest instance - */ - IReportRootGetOneDriveActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequest.java deleted file mode 100644 index 1919c980daa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Activity User Detail Request. - */ -public interface IBaseReportRootGetOneDriveActivityUserDetailRequest { - - /** - * Patches the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveActivityUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveActivityUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java deleted file mode 100644 index f313c470c62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Activity User Detail Request Builder. - */ -public interface IBaseReportRootGetOneDriveActivityUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveActivityUserDetailRequest - * - * @return the IReportRootGetOneDriveActivityUserDetailRequest instance - */ - IReportRootGetOneDriveActivityUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveActivityUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveActivityUserDetailRequest instance - */ - IReportRootGetOneDriveActivityUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequest.java deleted file mode 100644 index 2c5e8dc5ce4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage Account Counts Request. - */ -public interface IBaseReportRootGetOneDriveUsageAccountCountsRequest { - - /** - * Patches the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveUsageAccountCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveUsageAccountCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveUsageAccountCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java deleted file mode 100644 index 6ecccb1e85f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage Account Counts Request Builder. - */ -public interface IBaseReportRootGetOneDriveUsageAccountCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveUsageAccountCountsRequest - * - * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance - */ - IReportRootGetOneDriveUsageAccountCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveUsageAccountCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageAccountCountsRequest instance - */ - IReportRootGetOneDriveUsageAccountCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequest.java deleted file mode 100644 index 0a5e215a6fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage Account Detail Request. - */ -public interface IBaseReportRootGetOneDriveUsageAccountDetailRequest { - - /** - * Patches the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveUsageAccountDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveUsageAccountDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveUsageAccountDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java deleted file mode 100644 index 22b46bff6f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage Account Detail Request Builder. - */ -public interface IBaseReportRootGetOneDriveUsageAccountDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveUsageAccountDetailRequest - * - * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance - */ - IReportRootGetOneDriveUsageAccountDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveUsageAccountDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageAccountDetailRequest instance - */ - IReportRootGetOneDriveUsageAccountDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequest.java deleted file mode 100644 index 2f4ffb315a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage File Counts Request. - */ -public interface IBaseReportRootGetOneDriveUsageFileCountsRequest { - - /** - * Patches the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveUsageFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveUsageFileCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveUsageFileCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java deleted file mode 100644 index 60eac9a7519..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage File Counts Request Builder. - */ -public interface IBaseReportRootGetOneDriveUsageFileCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveUsageFileCountsRequest - * - * @return the IReportRootGetOneDriveUsageFileCountsRequest instance - */ - IReportRootGetOneDriveUsageFileCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveUsageFileCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageFileCountsRequest instance - */ - IReportRootGetOneDriveUsageFileCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequest.java deleted file mode 100644 index e038ab8b305..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage Storage Request. - */ -public interface IBaseReportRootGetOneDriveUsageStorageRequest { - - /** - * Patches the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetOneDriveUsageStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetOneDriveUsageStorageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetOneDriveUsageStorageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequestBuilder.java deleted file mode 100644 index 1cc0612fae7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetOneDriveUsageStorageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get One Drive Usage Storage Request Builder. - */ -public interface IBaseReportRootGetOneDriveUsageStorageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetOneDriveUsageStorageRequest - * - * @return the IReportRootGetOneDriveUsageStorageRequest instance - */ - IReportRootGetOneDriveUsageStorageRequest buildRequest(); - - /** - * Creates the IReportRootGetOneDriveUsageStorageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetOneDriveUsageStorageRequest instance - */ - IReportRootGetOneDriveUsageStorageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequest.java deleted file mode 100644 index 49635237787..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity File Counts Request. - */ -public interface IBaseReportRootGetSharePointActivityFileCountsRequest { - - /** - * Patches the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointActivityFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointActivityFileCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointActivityFileCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequestBuilder.java deleted file mode 100644 index e5674d64e46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityFileCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity File Counts Request Builder. - */ -public interface IBaseReportRootGetSharePointActivityFileCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointActivityFileCountsRequest - * - * @return the IReportRootGetSharePointActivityFileCountsRequest instance - */ - IReportRootGetSharePointActivityFileCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointActivityFileCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityFileCountsRequest instance - */ - IReportRootGetSharePointActivityFileCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequest.java deleted file mode 100644 index 743f535162d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity Pages Request. - */ -public interface IBaseReportRootGetSharePointActivityPagesRequest { - - /** - * Patches the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointActivityPages - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointActivityPagesRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointActivityPagesRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequestBuilder.java deleted file mode 100644 index 88f19d23acc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityPagesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity Pages Request Builder. - */ -public interface IBaseReportRootGetSharePointActivityPagesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointActivityPagesRequest - * - * @return the IReportRootGetSharePointActivityPagesRequest instance - */ - IReportRootGetSharePointActivityPagesRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointActivityPagesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityPagesRequest instance - */ - IReportRootGetSharePointActivityPagesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequest.java deleted file mode 100644 index a684b46c815..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity User Counts Request. - */ -public interface IBaseReportRootGetSharePointActivityUserCountsRequest { - - /** - * Patches the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequestBuilder.java deleted file mode 100644 index f1121578c76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetSharePointActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointActivityUserCountsRequest - * - * @return the IReportRootGetSharePointActivityUserCountsRequest instance - */ - IReportRootGetSharePointActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityUserCountsRequest instance - */ - IReportRootGetSharePointActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequest.java deleted file mode 100644 index bbc4e8dab09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity User Detail Request. - */ -public interface IBaseReportRootGetSharePointActivityUserDetailRequest { - - /** - * Patches the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointActivityUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointActivityUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequestBuilder.java deleted file mode 100644 index 329080999a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Activity User Detail Request Builder. - */ -public interface IBaseReportRootGetSharePointActivityUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointActivityUserDetailRequest - * - * @return the IReportRootGetSharePointActivityUserDetailRequest instance - */ - IReportRootGetSharePointActivityUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointActivityUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointActivityUserDetailRequest instance - */ - IReportRootGetSharePointActivityUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequest.java deleted file mode 100644 index 0fdb59fd405..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Detail Request. - */ -public interface IBaseReportRootGetSharePointSiteUsageDetailRequest { - - /** - * Patches the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointSiteUsageDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java deleted file mode 100644 index 3da059e311d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Detail Request Builder. - */ -public interface IBaseReportRootGetSharePointSiteUsageDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointSiteUsageDetailRequest - * - * @return the IReportRootGetSharePointSiteUsageDetailRequest instance - */ - IReportRootGetSharePointSiteUsageDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointSiteUsageDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageDetailRequest instance - */ - IReportRootGetSharePointSiteUsageDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequest.java deleted file mode 100644 index b5452a4a172..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage File Counts Request. - */ -public interface IBaseReportRootGetSharePointSiteUsageFileCountsRequest { - - /** - * Patches the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointSiteUsageFileCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageFileCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageFileCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java deleted file mode 100644 index 3d928bd3379..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage File Counts Request Builder. - */ -public interface IBaseReportRootGetSharePointSiteUsageFileCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest - * - * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance - */ - IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointSiteUsageFileCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageFileCountsRequest instance - */ - IReportRootGetSharePointSiteUsageFileCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequest.java deleted file mode 100644 index 465276d48f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Pages Request. - */ -public interface IBaseReportRootGetSharePointSiteUsagePagesRequest { - - /** - * Patches the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointSiteUsagePages - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsagePagesRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsagePagesRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java deleted file mode 100644 index 1d0a3f3fbcd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Pages Request Builder. - */ -public interface IBaseReportRootGetSharePointSiteUsagePagesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointSiteUsagePagesRequest - * - * @return the IReportRootGetSharePointSiteUsagePagesRequest instance - */ - IReportRootGetSharePointSiteUsagePagesRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointSiteUsagePagesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsagePagesRequest instance - */ - IReportRootGetSharePointSiteUsagePagesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequest.java deleted file mode 100644 index 37537284e02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Site Counts Request. - */ -public interface IBaseReportRootGetSharePointSiteUsageSiteCountsRequest { - - /** - * Patches the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointSiteUsageSiteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageSiteCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageSiteCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java deleted file mode 100644 index fffd50c95ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Site Counts Request Builder. - */ -public interface IBaseReportRootGetSharePointSiteUsageSiteCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest - * - * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance - */ - IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointSiteUsageSiteCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageSiteCountsRequest instance - */ - IReportRootGetSharePointSiteUsageSiteCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequest.java deleted file mode 100644 index e2c853e14aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Storage Request. - */ -public interface IBaseReportRootGetSharePointSiteUsageStorageRequest { - - /** - * Patches the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSharePointSiteUsageStorage - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageStorageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSharePointSiteUsageStorageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java deleted file mode 100644 index a3c6232db93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Share Point Site Usage Storage Request Builder. - */ -public interface IBaseReportRootGetSharePointSiteUsageStorageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSharePointSiteUsageStorageRequest - * - * @return the IReportRootGetSharePointSiteUsageStorageRequest instance - */ - IReportRootGetSharePointSiteUsageStorageRequest buildRequest(); - - /** - * Creates the IReportRootGetSharePointSiteUsageStorageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSharePointSiteUsageStorageRequest instance - */ - IReportRootGetSharePointSiteUsageStorageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequest.java deleted file mode 100644 index 807c3346666..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Activity Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessActivityCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java deleted file mode 100644 index 2ea559d0939..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Activity Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java deleted file mode 100644 index 8c11165aeb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Activity User Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessActivityUserCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java deleted file mode 100644 index 1d3aca66cf7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java deleted file mode 100644 index 94fd29584f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Activity User Detail Request. - */ -public interface IBaseReportRootGetSkypeForBusinessActivityUserDetailRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessActivityUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessActivityUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java deleted file mode 100644 index dbb0bc290dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Activity User Detail Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest - * - * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance - */ - IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessActivityUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessActivityUserDetailRequest instance - */ - IReportRootGetSkypeForBusinessActivityUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java deleted file mode 100644 index fe2b816990c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Device Usage Distribution User Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java deleted file mode 100644 index b97d7f5772e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Device Usage Distribution User Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java deleted file mode 100644 index 1c3580519be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Device Usage User Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java deleted file mode 100644 index 346cc74e090..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Device Usage User Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java deleted file mode 100644 index dfabc692874..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Device Usage User Detail Request. - */ -public interface IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java deleted file mode 100644 index 7414416abfa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Device Usage User Detail Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest - * - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance - */ - IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest instance - */ - IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java deleted file mode 100644 index ad32755156c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Organizer Activity Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java deleted file mode 100644 index 99c56ef7010..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Organizer Activity Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessOrganizerActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java deleted file mode 100644 index 324061ef293..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Organizer Activity Minute Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java deleted file mode 100644 index 7e28fe56a49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Organizer Activity Minute Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest - * - * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance - */ - IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest instance - */ - IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java deleted file mode 100644 index 6a3169b724e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Organizer Activity User Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessOrganizerActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java deleted file mode 100644 index 742749a03aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Organizer Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java deleted file mode 100644 index 5fdc0a4cc97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Participant Activity Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessParticipantActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessParticipantActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java deleted file mode 100644 index 9ab72b1720e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Participant Activity Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessParticipantActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessParticipantActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java deleted file mode 100644 index 6edb3e783ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Participant Activity Minute Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java deleted file mode 100644 index 6ba01a63d8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Participant Activity Minute Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest - * - * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance - */ - IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest instance - */ - IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java deleted file mode 100644 index 0606f7a078c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Participant Activity User Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessParticipantActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java deleted file mode 100644 index 19c095ed178..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Participant Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java deleted file mode 100644 index 6a4e4e81c4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Peer To Peer Activity Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java deleted file mode 100644 index 2432fc7dbf3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Peer To Peer Activity Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest - * - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest instance - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java deleted file mode 100644 index 9844b2fa618..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java deleted file mode 100644 index aa82604cbcf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Peer To Peer Activity Minute Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest - * - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest instance - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java deleted file mode 100644 index 05d177a1425..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Peer To Peer Activity User Counts Request. - */ -public interface IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest { - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetSkypeForBusinessPeerToPeerActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java deleted file mode 100644 index cca6393b47a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Skype For Business Peer To Peer Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest - * - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest instance - */ - IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java deleted file mode 100644 index ba98204f068..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams Device Usage Distribution User Counts Request. - */ -public interface IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequest { - - /** - * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetTeamsDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java deleted file mode 100644 index 382d1efcbaf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams Device Usage Distribution User Counts Request Builder. - */ -public interface IBaseReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest - * - * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance - */ - IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest instance - */ - IReportRootGetTeamsDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequest.java deleted file mode 100644 index 5be152aefd6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams Device Usage User Counts Request. - */ -public interface IBaseReportRootGetTeamsDeviceUsageUserCountsRequest { - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetTeamsDeviceUsageUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetTeamsDeviceUsageUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java deleted file mode 100644 index 3098d96ac09..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams Device Usage User Counts Request Builder. - */ -public interface IBaseReportRootGetTeamsDeviceUsageUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest - * - * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance - */ - IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsDeviceUsageUserCountsRequest instance - */ - IReportRootGetTeamsDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequest.java deleted file mode 100644 index 4b2b75c7f3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams Device Usage User Detail Request. - */ -public interface IBaseReportRootGetTeamsDeviceUsageUserDetailRequest { - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetTeamsDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetTeamsDeviceUsageUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetTeamsDeviceUsageUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java deleted file mode 100644 index f5d783b24a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams Device Usage User Detail Request Builder. - */ -public interface IBaseReportRootGetTeamsDeviceUsageUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest - * - * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance - */ - IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetTeamsDeviceUsageUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsDeviceUsageUserDetailRequest instance - */ - IReportRootGetTeamsDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequest.java deleted file mode 100644 index 81cf6e4cb58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams User Activity Counts Request. - */ -public interface IBaseReportRootGetTeamsUserActivityCountsRequest { - - /** - * Patches the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetTeamsUserActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetTeamsUserActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetTeamsUserActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequestBuilder.java deleted file mode 100644 index 237ed4ebfa0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams User Activity Counts Request Builder. - */ -public interface IBaseReportRootGetTeamsUserActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetTeamsUserActivityCountsRequest - * - * @return the IReportRootGetTeamsUserActivityCountsRequest instance - */ - IReportRootGetTeamsUserActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetTeamsUserActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsUserActivityCountsRequest instance - */ - IReportRootGetTeamsUserActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequest.java deleted file mode 100644 index 4c32a9e1300..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams User Activity User Counts Request. - */ -public interface IBaseReportRootGetTeamsUserActivityUserCountsRequest { - - /** - * Patches the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetTeamsUserActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetTeamsUserActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetTeamsUserActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java deleted file mode 100644 index 618c74dba76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams User Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetTeamsUserActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetTeamsUserActivityUserCountsRequest - * - * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance - */ - IReportRootGetTeamsUserActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetTeamsUserActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsUserActivityUserCountsRequest instance - */ - IReportRootGetTeamsUserActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequest.java deleted file mode 100644 index ea85e0c9a7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams User Activity User Detail Request. - */ -public interface IBaseReportRootGetTeamsUserActivityUserDetailRequest { - - /** - * Patches the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetTeamsUserActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetTeamsUserActivityUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetTeamsUserActivityUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java deleted file mode 100644 index 42a01857516..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Teams User Activity User Detail Request Builder. - */ -public interface IBaseReportRootGetTeamsUserActivityUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetTeamsUserActivityUserDetailRequest - * - * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance - */ - IReportRootGetTeamsUserActivityUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetTeamsUserActivityUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetTeamsUserActivityUserDetailRequest instance - */ - IReportRootGetTeamsUserActivityUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequest.java deleted file mode 100644 index 809892a0d8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Activity Counts Request. - */ -public interface IBaseReportRootGetYammerActivityCountsRequest { - - /** - * Patches the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequestBuilder.java deleted file mode 100644 index b78c5d2bc03..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Activity Counts Request Builder. - */ -public interface IBaseReportRootGetYammerActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerActivityCountsRequest - * - * @return the IReportRootGetYammerActivityCountsRequest instance - */ - IReportRootGetYammerActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerActivityCountsRequest instance - */ - IReportRootGetYammerActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequest.java deleted file mode 100644 index ea117e930ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Activity User Counts Request. - */ -public interface IBaseReportRootGetYammerActivityUserCountsRequest { - - /** - * Patches the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerActivityUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerActivityUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerActivityUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequestBuilder.java deleted file mode 100644 index 2d95882902d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Activity User Counts Request Builder. - */ -public interface IBaseReportRootGetYammerActivityUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerActivityUserCountsRequest - * - * @return the IReportRootGetYammerActivityUserCountsRequest instance - */ - IReportRootGetYammerActivityUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerActivityUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerActivityUserCountsRequest instance - */ - IReportRootGetYammerActivityUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequest.java deleted file mode 100644 index 51ac01387b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Activity User Detail Request. - */ -public interface IBaseReportRootGetYammerActivityUserDetailRequest { - - /** - * Patches the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerActivityUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerActivityUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerActivityUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequestBuilder.java deleted file mode 100644 index 79b7b14a68f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerActivityUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Activity User Detail Request Builder. - */ -public interface IBaseReportRootGetYammerActivityUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerActivityUserDetailRequest - * - * @return the IReportRootGetYammerActivityUserDetailRequest instance - */ - IReportRootGetYammerActivityUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerActivityUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerActivityUserDetailRequest instance - */ - IReportRootGetYammerActivityUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java deleted file mode 100644 index b4d87694ca9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Device Usage Distribution User Counts Request. - */ -public interface IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequest { - - /** - * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerDeviceUsageDistributionUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerDeviceUsageDistributionUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerDeviceUsageDistributionUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java deleted file mode 100644 index 0adc88f2b48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Device Usage Distribution User Counts Request Builder. - */ -public interface IBaseReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest - * - * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance - */ - IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerDeviceUsageDistributionUserCountsRequest instance - */ - IReportRootGetYammerDeviceUsageDistributionUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequest.java deleted file mode 100644 index 38ff759ead9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Device Usage User Counts Request. - */ -public interface IBaseReportRootGetYammerDeviceUsageUserCountsRequest { - - /** - * Patches the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerDeviceUsageUserCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerDeviceUsageUserCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerDeviceUsageUserCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java deleted file mode 100644 index 065720493ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Device Usage User Counts Request Builder. - */ -public interface IBaseReportRootGetYammerDeviceUsageUserCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest - * - * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance - */ - IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerDeviceUsageUserCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerDeviceUsageUserCountsRequest instance - */ - IReportRootGetYammerDeviceUsageUserCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequest.java deleted file mode 100644 index 359346110ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Device Usage User Detail Request. - */ -public interface IBaseReportRootGetYammerDeviceUsageUserDetailRequest { - - /** - * Patches the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerDeviceUsageUserDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerDeviceUsageUserDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerDeviceUsageUserDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java deleted file mode 100644 index 15a38123759..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Device Usage User Detail Request Builder. - */ -public interface IBaseReportRootGetYammerDeviceUsageUserDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest - * - * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance - */ - IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerDeviceUsageUserDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerDeviceUsageUserDetailRequest instance - */ - IReportRootGetYammerDeviceUsageUserDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequest.java deleted file mode 100644 index 265a5a5ee86..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Groups Activity Counts Request. - */ -public interface IBaseReportRootGetYammerGroupsActivityCountsRequest { - - /** - * Patches the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerGroupsActivityCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerGroupsActivityCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerGroupsActivityCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java deleted file mode 100644 index e4cef2ba27c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Groups Activity Counts Request Builder. - */ -public interface IBaseReportRootGetYammerGroupsActivityCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerGroupsActivityCountsRequest - * - * @return the IReportRootGetYammerGroupsActivityCountsRequest instance - */ - IReportRootGetYammerGroupsActivityCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerGroupsActivityCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerGroupsActivityCountsRequest instance - */ - IReportRootGetYammerGroupsActivityCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequest.java deleted file mode 100644 index 77be76efe2d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Groups Activity Detail Request. - */ -public interface IBaseReportRootGetYammerGroupsActivityDetailRequest { - - /** - * Patches the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerGroupsActivityDetail - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerGroupsActivityDetailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerGroupsActivityDetailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java deleted file mode 100644 index e047f51f9be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Groups Activity Detail Request Builder. - */ -public interface IBaseReportRootGetYammerGroupsActivityDetailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerGroupsActivityDetailRequest - * - * @return the IReportRootGetYammerGroupsActivityDetailRequest instance - */ - IReportRootGetYammerGroupsActivityDetailRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerGroupsActivityDetailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerGroupsActivityDetailRequest instance - */ - IReportRootGetYammerGroupsActivityDetailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequest.java deleted file mode 100644 index 7e058e1154e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Groups Activity Group Counts Request. - */ -public interface IBaseReportRootGetYammerGroupsActivityGroupCountsRequest { - - /** - * Patches the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Report srcReport, final ICallback callback); - - /** - * Patches the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report with which to PATCH - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report patch(Report srcReport) throws ClientException; - - /** - * Puts the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @param callback the callback to be called after success or failure - */ - void put(Report srcReport, final ICallback callback); - - /** - * Puts the ReportRootGetYammerGroupsActivityGroupCounts - * - * @param srcReport the Report to PUT - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(Report srcReport) throws ClientException; - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootGetYammerGroupsActivityGroupCountsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootGetYammerGroupsActivityGroupCountsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java deleted file mode 100644 index f0fd3a5c46b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Get Yammer Groups Activity Group Counts Request Builder. - */ -public interface IBaseReportRootGetYammerGroupsActivityGroupCountsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest - * - * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance - */ - IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest(); - - /** - * Creates the IReportRootGetYammerGroupsActivityGroupCountsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootGetYammerGroupsActivityGroupCountsRequest instance - */ - IReportRootGetYammerGroupsActivityGroupCountsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java deleted file mode 100644 index 3bccf00b630..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Managed Device Enrollment Failure Details Request. - */ -public interface IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequest { - - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootManagedDeviceEnrollmentFailureDetailsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootManagedDeviceEnrollmentFailureDetailsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java deleted file mode 100644 index 27574f178eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Managed Device Enrollment Failure Details Request Builder. - */ -public interface IBaseReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest - * - * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance - */ - IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest(); - - /** - * Creates the IReportRootManagedDeviceEnrollmentFailureDetailsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootManagedDeviceEnrollmentFailureDetailsRequest instance - */ - IReportRootManagedDeviceEnrollmentFailureDetailsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java deleted file mode 100644 index c810c26a1fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Report; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Managed Device Enrollment Top Failures Request. - */ -public interface IBaseReportRootManagedDeviceEnrollmentTopFailuresRequest { - - /** - * Gets the Report - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Report - * - * @return the Report - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IReportRootManagedDeviceEnrollmentTopFailuresRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IReportRootManagedDeviceEnrollmentTopFailuresRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java deleted file mode 100644 index e0c3243273f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Managed Device Enrollment Top Failures Request Builder. - */ -public interface IBaseReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder extends IRequestBuilder { - - /** - * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest - * - * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance - */ - IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest(); - - /** - * Creates the IReportRootManagedDeviceEnrollmentTopFailuresRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IReportRootManagedDeviceEnrollmentTopFailuresRequest instance - */ - IReportRootManagedDeviceEnrollmentTopFailuresRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequest.java deleted file mode 100644 index 316d22ecd05..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ReportRoot; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Request. - */ -public interface IBaseReportRootRequest extends IHttpRequest { - - /** - * Gets the ReportRoot from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ReportRoot from the service - * - * @return the ReportRoot from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ReportRoot get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ReportRoot with a source - * - * @param sourceReportRoot the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ReportRoot sourceReportRoot, final ICallback callback); - - /** - * Patches this ReportRoot with a source - * - * @param sourceReportRoot the source object with updates - * @return the updated ReportRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ReportRoot patch(final ReportRoot sourceReportRoot) throws ClientException; - - /** - * Posts a ReportRoot with a new object - * - * @param newReportRoot the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ReportRoot newReportRoot, final ICallback callback); - - /** - * Posts a ReportRoot with a new object - * - * @param newReportRoot the new object to create - * @return the created ReportRoot - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ReportRoot post(final ReportRoot newReportRoot) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseReportRootRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseReportRootRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequestBuilder.java deleted file mode 100644 index 7aad14f682c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportRootRequestBuilder.java +++ /dev/null @@ -1,211 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportRootRequest; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActivationsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ServicesUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365ActiveUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageMailboxCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetMailboxUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageAccountCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetOneDriveUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointActivityPagesRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageFileCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsageStorageRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSharePointSiteUsagePagesRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetYammerGroupsActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsUserActivityUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationUserActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootDeviceConfigurationDeviceActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; -import com.microsoft.graph.requests.extensions.IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Root Request Builder. - */ -public interface IBaseReportRootRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IReportRootRequest instance - */ - IReportRootRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IReportRootRequest instance - */ - IReportRootRequest buildRequest(final java.util.List requestOptions); - IReportRootGetOffice365ActivationsUserDetailRequestBuilder getOffice365ActivationsUserDetail(); - IReportRootGetOffice365ActivationCountsRequestBuilder getOffice365ActivationCounts(); - IReportRootGetOffice365ActivationsUserCountsRequestBuilder getOffice365ActivationsUserCounts(); - IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetOffice365ActiveUserDetailRequestBuilder getOffice365ActiveUserDetail(final String period); - IReportRootGetOffice365ServicesUserCountsRequestBuilder getOffice365ServicesUserCounts(final String period); - IReportRootGetOffice365ActiveUserCountsRequestBuilder getOffice365ActiveUserCounts(final String period); - IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetOffice365GroupsActivityDetailRequestBuilder getOffice365GroupsActivityDetail(final String period); - IReportRootGetOffice365GroupsActivityCountsRequestBuilder getOffice365GroupsActivityCounts(final String period); - IReportRootGetOffice365GroupsActivityGroupCountsRequestBuilder getOffice365GroupsActivityGroupCounts(final String period); - IReportRootGetOffice365GroupsActivityStorageRequestBuilder getOffice365GroupsActivityStorage(final String period); - IReportRootGetOffice365GroupsActivityFileCountsRequestBuilder getOffice365GroupsActivityFileCounts(final String period); - IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetEmailActivityUserDetailRequestBuilder getEmailActivityUserDetail(final String period); - IReportRootGetEmailActivityCountsRequestBuilder getEmailActivityCounts(final String period); - IReportRootGetEmailActivityUserCountsRequestBuilder getEmailActivityUserCounts(final String period); - IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetEmailAppUsageUserDetailRequestBuilder getEmailAppUsageUserDetail(final String period); - IReportRootGetEmailAppUsageAppsUserCountsRequestBuilder getEmailAppUsageAppsUserCounts(final String period); - IReportRootGetEmailAppUsageUserCountsRequestBuilder getEmailAppUsageUserCounts(final String period); - IReportRootGetEmailAppUsageVersionsUserCountsRequestBuilder getEmailAppUsageVersionsUserCounts(final String period); - IReportRootGetMailboxUsageDetailRequestBuilder getMailboxUsageDetail(final String period); - IReportRootGetMailboxUsageMailboxCountsRequestBuilder getMailboxUsageMailboxCounts(final String period); - IReportRootGetMailboxUsageQuotaStatusMailboxCountsRequestBuilder getMailboxUsageQuotaStatusMailboxCounts(final String period); - IReportRootGetMailboxUsageStorageRequestBuilder getMailboxUsageStorage(final String period); - IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetOneDriveActivityUserDetailRequestBuilder getOneDriveActivityUserDetail(final String period); - IReportRootGetOneDriveActivityUserCountsRequestBuilder getOneDriveActivityUserCounts(final String period); - IReportRootGetOneDriveActivityFileCountsRequestBuilder getOneDriveActivityFileCounts(final String period); - IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetOneDriveUsageAccountDetailRequestBuilder getOneDriveUsageAccountDetail(final String period); - IReportRootGetOneDriveUsageAccountCountsRequestBuilder getOneDriveUsageAccountCounts(final String period); - IReportRootGetOneDriveUsageFileCountsRequestBuilder getOneDriveUsageFileCounts(final String period); - IReportRootGetOneDriveUsageStorageRequestBuilder getOneDriveUsageStorage(final String period); - IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetSharePointActivityUserDetailRequestBuilder getSharePointActivityUserDetail(final String period); - IReportRootGetSharePointActivityFileCountsRequestBuilder getSharePointActivityFileCounts(final String period); - IReportRootGetSharePointActivityUserCountsRequestBuilder getSharePointActivityUserCounts(final String period); - IReportRootGetSharePointActivityPagesRequestBuilder getSharePointActivityPages(final String period); - IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetSharePointSiteUsageDetailRequestBuilder getSharePointSiteUsageDetail(final String period); - IReportRootGetSharePointSiteUsageFileCountsRequestBuilder getSharePointSiteUsageFileCounts(final String period); - IReportRootGetSharePointSiteUsageSiteCountsRequestBuilder getSharePointSiteUsageSiteCounts(final String period); - IReportRootGetSharePointSiteUsageStorageRequestBuilder getSharePointSiteUsageStorage(final String period); - IReportRootGetSharePointSiteUsagePagesRequestBuilder getSharePointSiteUsagePages(final String period); - IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetSkypeForBusinessActivityUserDetailRequestBuilder getSkypeForBusinessActivityUserDetail(final String period); - IReportRootGetSkypeForBusinessActivityCountsRequestBuilder getSkypeForBusinessActivityCounts(final String period); - IReportRootGetSkypeForBusinessActivityUserCountsRequestBuilder getSkypeForBusinessActivityUserCounts(final String period); - IReportRootGetSkypeForBusinessPeerToPeerActivityCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityCounts(final String period); - IReportRootGetSkypeForBusinessPeerToPeerActivityUserCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityUserCounts(final String period); - IReportRootGetSkypeForBusinessPeerToPeerActivityMinuteCountsRequestBuilder getSkypeForBusinessPeerToPeerActivityMinuteCounts(final String period); - IReportRootGetSkypeForBusinessOrganizerActivityCountsRequestBuilder getSkypeForBusinessOrganizerActivityCounts(final String period); - IReportRootGetSkypeForBusinessOrganizerActivityUserCountsRequestBuilder getSkypeForBusinessOrganizerActivityUserCounts(final String period); - IReportRootGetSkypeForBusinessOrganizerActivityMinuteCountsRequestBuilder getSkypeForBusinessOrganizerActivityMinuteCounts(final String period); - IReportRootGetSkypeForBusinessParticipantActivityCountsRequestBuilder getSkypeForBusinessParticipantActivityCounts(final String period); - IReportRootGetSkypeForBusinessParticipantActivityUserCountsRequestBuilder getSkypeForBusinessParticipantActivityUserCounts(final String period); - IReportRootGetSkypeForBusinessParticipantActivityMinuteCountsRequestBuilder getSkypeForBusinessParticipantActivityMinuteCounts(final String period); - IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetSkypeForBusinessDeviceUsageUserDetailRequestBuilder getSkypeForBusinessDeviceUsageUserDetail(final String period); - IReportRootGetSkypeForBusinessDeviceUsageDistributionUserCountsRequestBuilder getSkypeForBusinessDeviceUsageDistributionUserCounts(final String period); - IReportRootGetSkypeForBusinessDeviceUsageUserCountsRequestBuilder getSkypeForBusinessDeviceUsageUserCounts(final String period); - IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetYammerActivityUserDetailRequestBuilder getYammerActivityUserDetail(final String period); - IReportRootGetYammerActivityCountsRequestBuilder getYammerActivityCounts(final String period); - IReportRootGetYammerActivityUserCountsRequestBuilder getYammerActivityUserCounts(final String period); - IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetYammerDeviceUsageUserDetailRequestBuilder getYammerDeviceUsageUserDetail(final String period); - IReportRootGetYammerDeviceUsageDistributionUserCountsRequestBuilder getYammerDeviceUsageDistributionUserCounts(final String period); - IReportRootGetYammerDeviceUsageUserCountsRequestBuilder getYammerDeviceUsageUserCounts(final String period); - IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetYammerGroupsActivityDetailRequestBuilder getYammerGroupsActivityDetail(final String period); - IReportRootGetYammerGroupsActivityGroupCountsRequestBuilder getYammerGroupsActivityGroupCounts(final String period); - IReportRootGetYammerGroupsActivityCountsRequestBuilder getYammerGroupsActivityCounts(final String period); - IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetTeamsUserActivityUserDetailRequestBuilder getTeamsUserActivityUserDetail(final String period); - IReportRootGetTeamsUserActivityCountsRequestBuilder getTeamsUserActivityCounts(final String period); - IReportRootGetTeamsUserActivityUserCountsRequestBuilder getTeamsUserActivityUserCounts(final String period); - IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final com.microsoft.graph.models.extensions.DateOnly date); - IReportRootGetTeamsDeviceUsageUserDetailRequestBuilder getTeamsDeviceUsageUserDetail(final String period); - IReportRootGetTeamsDeviceUsageUserCountsRequestBuilder getTeamsDeviceUsageUserCounts(final String period); - IReportRootGetTeamsDeviceUsageDistributionUserCountsRequestBuilder getTeamsDeviceUsageDistributionUserCounts(final String period); - IReportRootDeviceConfigurationUserActivityRequestBuilder deviceConfigurationUserActivity(); - IReportRootDeviceConfigurationDeviceActivityRequestBuilder deviceConfigurationDeviceActivity(); - IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails(); - IReportRootManagedDeviceEnrollmentFailureDetailsRequestBuilder managedDeviceEnrollmentFailureDetails(final Integer skip, final Integer top, final String filter, final String skipToken); - IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures(); - IReportRootManagedDeviceEnrollmentTopFailuresRequestBuilder managedDeviceEnrollmentTopFailures(final String period); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequest.java deleted file mode 100644 index 1f5b8dec68e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Stream Request. - */ -public interface IBaseReportStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Report put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequestBuilder.java deleted file mode 100644 index 952181b68c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseReportStreamRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IReportStreamRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Report Stream Request Builder. - */ -public interface IBaseReportStreamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IReportStreamRequest instance - */ - IReportStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IReportStreamRequest instance - */ - IReportStreamRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionPage.java deleted file mode 100644 index 713bea54740..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Resource Operation Collection Page. - */ -public interface IBaseResourceOperationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequest.java deleted file mode 100644 index 51219610210..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Resource Operation Collection Request. - */ -public interface IBaseResourceOperationCollectionRequest { - - void get(final ICallback callback); - - IResourceOperationCollectionPage get() throws ClientException; - - void post(final ResourceOperation newResourceOperation, final ICallback callback); - - ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IResourceOperationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IResourceOperationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IResourceOperationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequestBuilder.java deleted file mode 100644 index 94e5642c0e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Resource Operation Collection Request Builder. - */ -public interface IBaseResourceOperationCollectionRequestBuilder extends IRequestBuilder { - - IResourceOperationCollectionRequest buildRequest(); - - IResourceOperationCollectionRequest buildRequest(final java.util.List requestOptions); - - IResourceOperationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequest.java deleted file mode 100644 index 2e9e4dcba91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ResourceOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Resource Operation Request. - */ -public interface IBaseResourceOperationRequest extends IHttpRequest { - - /** - * Gets the ResourceOperation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ResourceOperation from the service - * - * @return the ResourceOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ResourceOperation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ResourceOperation with a source - * - * @param sourceResourceOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ResourceOperation sourceResourceOperation, final ICallback callback); - - /** - * Patches this ResourceOperation with a source - * - * @param sourceResourceOperation the source object with updates - * @return the updated ResourceOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ResourceOperation patch(final ResourceOperation sourceResourceOperation) throws ClientException; - - /** - * Posts a ResourceOperation with a new object - * - * @param newResourceOperation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ResourceOperation newResourceOperation, final ICallback callback); - - /** - * Posts a ResourceOperation with a new object - * - * @param newResourceOperation the new object to create - * @return the created ResourceOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseResourceOperationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseResourceOperationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequestBuilder.java deleted file mode 100644 index 4865631a1e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseResourceOperationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IResourceOperationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Resource Operation Request Builder. - */ -public interface IBaseResourceOperationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IResourceOperationRequest instance - */ - IResourceOperationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IResourceOperationRequest instance - */ - IResourceOperationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionPage.java deleted file mode 100644 index 635b9c01996..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Assignment Collection Page. - */ -public interface IBaseRoleAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequest.java deleted file mode 100644 index 85730bb723b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Assignment Collection Request. - */ -public interface IBaseRoleAssignmentCollectionRequest { - - void get(final ICallback callback); - - IRoleAssignmentCollectionPage get() throws ClientException; - - void post(final RoleAssignment newRoleAssignment, final ICallback callback); - - RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IRoleAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IRoleAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IRoleAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 57755aed1a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Assignment Collection Request Builder. - */ -public interface IBaseRoleAssignmentCollectionRequestBuilder extends IRequestBuilder { - - IRoleAssignmentCollectionRequest buildRequest(); - - IRoleAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - IRoleAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequest.java deleted file mode 100644 index 1c8f807fbe9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RoleAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Assignment Request. - */ -public interface IBaseRoleAssignmentRequest extends IHttpRequest { - - /** - * Gets the RoleAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the RoleAssignment from the service - * - * @return the RoleAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RoleAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this RoleAssignment with a source - * - * @param sourceRoleAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final RoleAssignment sourceRoleAssignment, final ICallback callback); - - /** - * Patches this RoleAssignment with a source - * - * @param sourceRoleAssignment the source object with updates - * @return the updated RoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RoleAssignment patch(final RoleAssignment sourceRoleAssignment) throws ClientException; - - /** - * Posts a RoleAssignment with a new object - * - * @param newRoleAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final RoleAssignment newRoleAssignment, final ICallback callback); - - /** - * Posts a RoleAssignment with a new object - * - * @param newRoleAssignment the new object to create - * @return the created RoleAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseRoleAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseRoleAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequestBuilder.java deleted file mode 100644 index c67b6c6a53b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleAssignmentRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRoleAssignmentRequest; -import com.microsoft.graph.requests.extensions.IRoleDefinitionWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Assignment Request Builder. - */ -public interface IBaseRoleAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IRoleAssignmentRequest instance - */ - IRoleAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IRoleAssignmentRequest instance - */ - IRoleAssignmentRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for RoleDefinition - * - * @return the IRoleDefinitionWithReferenceRequestBuilder instance - */ - IRoleDefinitionWithReferenceRequestBuilder roleDefinition(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionPage.java deleted file mode 100644 index 3f1b8ad9593..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Collection Page. - */ -public interface IBaseRoleDefinitionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequest.java deleted file mode 100644 index 954f5f568dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Collection Request. - */ -public interface IBaseRoleDefinitionCollectionRequest { - - void get(final ICallback callback); - - IRoleDefinitionCollectionPage get() throws ClientException; - - void post(final RoleDefinition newRoleDefinition, final ICallback callback); - - RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IRoleDefinitionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IRoleDefinitionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IRoleDefinitionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequestBuilder.java deleted file mode 100644 index 2bb8cb6ab54..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Collection Request Builder. - */ -public interface IBaseRoleDefinitionCollectionRequestBuilder extends IRequestBuilder { - - IRoleDefinitionCollectionRequest buildRequest(); - - IRoleDefinitionCollectionRequest buildRequest(final java.util.List requestOptions); - - IRoleDefinitionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequest.java deleted file mode 100644 index 97db4a89461..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Reference Request. - */ -public interface IBaseRoleDefinitionReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - RoleDefinition delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseRoleDefinitionReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseRoleDefinitionReferenceRequest expand(final String value); - - /** - * Puts the RoleDefinition - * - * @param srcRoleDefinition the RoleDefinition to PUT - * @param callback the callback to be called after success or failure - */ - void put(RoleDefinition srcRoleDefinition, final ICallback callback); - - /** - * Puts the RoleDefinition - * - * @param srcRoleDefinition the RoleDefinition to PUT - * @return the RoleDefinition - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - RoleDefinition put(RoleDefinition srcRoleDefinition) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequestBuilder.java deleted file mode 100644 index 06092194a56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Reference Request Builder. - */ -public interface IBaseRoleDefinitionReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IRoleDefinitionReferenceRequest instance - */ - IRoleDefinitionReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IRoleDefinitionReferenceRequest instance - */ - IRoleDefinitionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequest.java deleted file mode 100644 index a817b638bfb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.RoleDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Request. - */ -public interface IBaseRoleDefinitionRequest extends IHttpRequest { - - /** - * Gets the RoleDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the RoleDefinition from the service - * - * @return the RoleDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RoleDefinition get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this RoleDefinition with a source - * - * @param sourceRoleDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback); - - /** - * Patches this RoleDefinition with a source - * - * @param sourceRoleDefinition the source object with updates - * @return the updated RoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException; - - /** - * Posts a RoleDefinition with a new object - * - * @param newRoleDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final RoleDefinition newRoleDefinition, final ICallback callback); - - /** - * Posts a RoleDefinition with a new object - * - * @param newRoleDefinition the new object to create - * @return the created RoleDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseRoleDefinitionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseRoleDefinitionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequestBuilder.java deleted file mode 100644 index 731491348ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IRoleDefinitionRequest; -import com.microsoft.graph.requests.extensions.IRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IRoleAssignmentRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition Request Builder. - */ -public interface IBaseRoleDefinitionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IRoleDefinitionRequest instance - */ - IRoleDefinitionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IRoleDefinitionRequest instance - */ - IRoleDefinitionRequest buildRequest(final java.util.List requestOptions); - - IRoleAssignmentCollectionRequestBuilder roleAssignments(); - - IRoleAssignmentRequestBuilder roleAssignments(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequest.java deleted file mode 100644 index 4c1bd65b4a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition With Reference Request. - */ -public interface IBaseRoleDefinitionWithReferenceRequest extends IHttpRequest { - - void post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload, final ICallback callback); - - RoleDefinition post(final RoleDefinition newRoleDefinition, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - RoleDefinition get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final RoleDefinition sourceRoleDefinition, final ICallback callback); - - RoleDefinition patch(final RoleDefinition sourceRoleDefinition) throws ClientException; - - IBaseRoleDefinitionWithReferenceRequest select(final String value); - - IBaseRoleDefinitionWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequestBuilder.java deleted file mode 100644 index 67cf3d66208..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseRoleDefinitionWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Role Definition With Reference Request Builder. - */ -public interface IBaseRoleDefinitionWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IRoleDefinitionWithReferenceRequest instance - */ - IRoleDefinitionWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IRoleDefinitionWithReferenceRequest instance - */ - IRoleDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IRoleDefinitionReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionPage.java deleted file mode 100644 index 9eb6d933880..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Schema Extension Collection Page. - */ -public interface IBaseSchemaExtensionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequest.java deleted file mode 100644 index 172848a5772..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Schema Extension Collection Request. - */ -public interface IBaseSchemaExtensionCollectionRequest { - - void get(final ICallback callback); - - ISchemaExtensionCollectionPage get() throws ClientException; - - void post(final SchemaExtension newSchemaExtension, final ICallback callback); - - SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISchemaExtensionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISchemaExtensionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISchemaExtensionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequestBuilder.java deleted file mode 100644 index f0a3f0543ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Schema Extension Collection Request Builder. - */ -public interface IBaseSchemaExtensionCollectionRequestBuilder extends IRequestBuilder { - - ISchemaExtensionCollectionRequest buildRequest(); - - ISchemaExtensionCollectionRequest buildRequest(final java.util.List requestOptions); - - ISchemaExtensionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequest.java deleted file mode 100644 index f8ae396489d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SchemaExtension; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Schema Extension Request. - */ -public interface IBaseSchemaExtensionRequest extends IHttpRequest { - - /** - * Gets the SchemaExtension from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SchemaExtension from the service - * - * @return the SchemaExtension from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SchemaExtension get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SchemaExtension with a source - * - * @param sourceSchemaExtension the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SchemaExtension sourceSchemaExtension, final ICallback callback); - - /** - * Patches this SchemaExtension with a source - * - * @param sourceSchemaExtension the source object with updates - * @return the updated SchemaExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SchemaExtension patch(final SchemaExtension sourceSchemaExtension) throws ClientException; - - /** - * Posts a SchemaExtension with a new object - * - * @param newSchemaExtension the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SchemaExtension newSchemaExtension, final ICallback callback); - - /** - * Posts a SchemaExtension with a new object - * - * @param newSchemaExtension the new object to create - * @return the created SchemaExtension - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSchemaExtensionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSchemaExtensionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequestBuilder.java deleted file mode 100644 index 1f59f790d3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSchemaExtensionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISchemaExtensionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Schema Extension Request Builder. - */ -public interface IBaseSchemaExtensionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISchemaExtensionRequest instance - */ - ISchemaExtensionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISchemaExtensionRequest instance - */ - ISchemaExtensionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionPage.java deleted file mode 100644 index 385e51105f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Section Group Collection Page. - */ -public interface IBaseSectionGroupCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequest.java deleted file mode 100644 index 055ca6fb718..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Section Group Collection Request. - */ -public interface IBaseSectionGroupCollectionRequest { - - void get(final ICallback callback); - - ISectionGroupCollectionPage get() throws ClientException; - - void post(final SectionGroup newSectionGroup, final ICallback callback); - - SectionGroup post(final SectionGroup newSectionGroup) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISectionGroupCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISectionGroupCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISectionGroupCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequestBuilder.java deleted file mode 100644 index d4a63314bf8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Section Group Collection Request Builder. - */ -public interface IBaseSectionGroupCollectionRequestBuilder extends IRequestBuilder { - - ISectionGroupCollectionRequest buildRequest(); - - ISectionGroupCollectionRequest buildRequest(final java.util.List requestOptions); - - ISectionGroupRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequest.java deleted file mode 100644 index 4c0c33d29fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SectionGroup; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Section Group Request. - */ -public interface IBaseSectionGroupRequest extends IHttpRequest { - - /** - * Gets the SectionGroup from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SectionGroup from the service - * - * @return the SectionGroup from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SectionGroup get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SectionGroup with a source - * - * @param sourceSectionGroup the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SectionGroup sourceSectionGroup, final ICallback callback); - - /** - * Patches this SectionGroup with a source - * - * @param sourceSectionGroup the source object with updates - * @return the updated SectionGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SectionGroup patch(final SectionGroup sourceSectionGroup) throws ClientException; - - /** - * Posts a SectionGroup with a new object - * - * @param newSectionGroup the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SectionGroup newSectionGroup, final ICallback callback); - - /** - * Posts a SectionGroup with a new object - * - * @param newSectionGroup the new object to create - * @return the created SectionGroup - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SectionGroup post(final SectionGroup newSectionGroup) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSectionGroupRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSectionGroupRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequestBuilder.java deleted file mode 100644 index bb7933edcae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSectionGroupRequestBuilder.java +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISectionGroupRequest; -import com.microsoft.graph.requests.extensions.INotebookRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteSectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISectionGroupRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Section Group Request Builder. - */ -public interface IBaseSectionGroupRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISectionGroupRequest instance - */ - ISectionGroupRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISectionGroupRequest instance - */ - ISectionGroupRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Notebook - * - * @return the INotebookRequestBuilder instance - */ - INotebookRequestBuilder parentNotebook(); - - /** - * Gets the request builder for SectionGroup - * - * @return the ISectionGroupRequestBuilder instance - */ - ISectionGroupRequestBuilder parentSectionGroup(); - - IOnenoteSectionCollectionRequestBuilder sections(); - - IOnenoteSectionRequestBuilder sections(final String id); - - ISectionGroupCollectionRequestBuilder sectionGroups(); - - ISectionGroupRequestBuilder sectionGroups(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequest.java deleted file mode 100644 index 81b27568170..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Security; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Security Request. - */ -public interface IBaseSecurityRequest extends IHttpRequest { - - /** - * Gets the Security from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Security from the service - * - * @return the Security from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Security get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Security with a source - * - * @param sourceSecurity the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Security sourceSecurity, final ICallback callback); - - /** - * Patches this Security with a source - * - * @param sourceSecurity the source object with updates - * @return the updated Security - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Security patch(final Security sourceSecurity) throws ClientException; - - /** - * Posts a Security with a new object - * - * @param newSecurity the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Security newSecurity, final ICallback callback); - - /** - * Posts a Security with a new object - * - * @param newSecurity the new object to create - * @return the created Security - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Security post(final Security newSecurity) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSecurityRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSecurityRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequestBuilder.java deleted file mode 100644 index 64d87479105..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSecurityRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISecurityRequest; -import com.microsoft.graph.requests.extensions.IAlertCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAlertRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Security Request Builder. - */ -public interface IBaseSecurityRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISecurityRequest instance - */ - ISecurityRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISecurityRequest instance - */ - ISecurityRequest buildRequest(final java.util.List requestOptions); - - IAlertCollectionRequestBuilder alerts(); - - IAlertRequestBuilder alerts(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionPage.java deleted file mode 100644 index aa8bb9fb100..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Setting State Device Summary Collection Page. - */ -public interface IBaseSettingStateDeviceSummaryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequest.java deleted file mode 100644 index 46949deec9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Setting State Device Summary Collection Request. - */ -public interface IBaseSettingStateDeviceSummaryCollectionRequest { - - void get(final ICallback callback); - - ISettingStateDeviceSummaryCollectionPage get() throws ClientException; - - void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback); - - SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISettingStateDeviceSummaryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISettingStateDeviceSummaryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISettingStateDeviceSummaryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequestBuilder.java deleted file mode 100644 index 6728b2e1006..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Setting State Device Summary Collection Request Builder. - */ -public interface IBaseSettingStateDeviceSummaryCollectionRequestBuilder extends IRequestBuilder { - - ISettingStateDeviceSummaryCollectionRequest buildRequest(); - - ISettingStateDeviceSummaryCollectionRequest buildRequest(final java.util.List requestOptions); - - ISettingStateDeviceSummaryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequest.java deleted file mode 100644 index 40e8442d32c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Setting State Device Summary Request. - */ -public interface IBaseSettingStateDeviceSummaryRequest extends IHttpRequest { - - /** - * Gets the SettingStateDeviceSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SettingStateDeviceSummary from the service - * - * @return the SettingStateDeviceSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SettingStateDeviceSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SettingStateDeviceSummary with a source - * - * @param sourceSettingStateDeviceSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary, final ICallback callback); - - /** - * Patches this SettingStateDeviceSummary with a source - * - * @param sourceSettingStateDeviceSummary the source object with updates - * @return the updated SettingStateDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SettingStateDeviceSummary patch(final SettingStateDeviceSummary sourceSettingStateDeviceSummary) throws ClientException; - - /** - * Posts a SettingStateDeviceSummary with a new object - * - * @param newSettingStateDeviceSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback); - - /** - * Posts a SettingStateDeviceSummary with a new object - * - * @param newSettingStateDeviceSummary the new object to create - * @return the created SettingStateDeviceSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSettingStateDeviceSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSettingStateDeviceSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequestBuilder.java deleted file mode 100644 index 51afc95daa0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSettingStateDeviceSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISettingStateDeviceSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Setting State Device Summary Request Builder. - */ -public interface IBaseSettingStateDeviceSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISettingStateDeviceSummaryRequest instance - */ - ISettingStateDeviceSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISettingStateDeviceSummaryRequest instance - */ - ISettingStateDeviceSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionPage.java deleted file mode 100644 index 7ef55d69811..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Drive Item Collection Page. - */ -public interface IBaseSharedDriveItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequest.java deleted file mode 100644 index 77aff8cc771..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Drive Item Collection Request. - */ -public interface IBaseSharedDriveItemCollectionRequest { - - void get(final ICallback callback); - - ISharedDriveItemCollectionPage get() throws ClientException; - - void post(final SharedDriveItem newSharedDriveItem, final ICallback callback); - - SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISharedDriveItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISharedDriveItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISharedDriveItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequestBuilder.java deleted file mode 100644 index 751fae24072..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Drive Item Collection Request Builder. - */ -public interface IBaseSharedDriveItemCollectionRequestBuilder extends IRequestBuilder { - - ISharedDriveItemCollectionRequest buildRequest(); - - ISharedDriveItemCollectionRequest buildRequest(final java.util.List requestOptions); - - ISharedDriveItemRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequest.java deleted file mode 100644 index d4da5be58f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedDriveItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Drive Item Request. - */ -public interface IBaseSharedDriveItemRequest extends IHttpRequest { - - /** - * Gets the SharedDriveItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SharedDriveItem from the service - * - * @return the SharedDriveItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedDriveItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SharedDriveItem with a source - * - * @param sourceSharedDriveItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SharedDriveItem sourceSharedDriveItem, final ICallback callback); - - /** - * Patches this SharedDriveItem with a source - * - * @param sourceSharedDriveItem the source object with updates - * @return the updated SharedDriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedDriveItem patch(final SharedDriveItem sourceSharedDriveItem) throws ClientException; - - /** - * Posts a SharedDriveItem with a new object - * - * @param newSharedDriveItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SharedDriveItem newSharedDriveItem, final ICallback callback); - - /** - * Posts a SharedDriveItem with a new object - * - * @param newSharedDriveItem the new object to create - * @return the created SharedDriveItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSharedDriveItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSharedDriveItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequestBuilder.java deleted file mode 100644 index e6c83301562..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedDriveItemRequestBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedDriveItemRequest; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListRequestBuilder; -import com.microsoft.graph.requests.extensions.IListItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Drive Item Request Builder. - */ -public interface IBaseSharedDriveItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISharedDriveItemRequest instance - */ - ISharedDriveItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISharedDriveItemRequest instance - */ - ISharedDriveItemRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - IDriveItemRequestBuilder driveItem(); - - IDriveItemCollectionRequestBuilder items(); - - IDriveItemRequestBuilder items(final String id); - - /** - * Gets the request builder for List - * - * @return the IListRequestBuilder instance - */ - IListRequestBuilder list(); - - /** - * Gets the request builder for ListItem - * - * @return the IListItemRequestBuilder instance - */ - IListItemRequestBuilder listItem(); - - /** - * Gets the request builder for DriveItem - * - * @return the IDriveItemRequestBuilder instance - */ - IDriveItemRequestBuilder root(); - - /** - * Gets the request builder for Site - * - * @return the ISiteRequestBuilder instance - */ - ISiteRequestBuilder site(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionPage.java deleted file mode 100644 index 579cdbea3b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Insight Collection Page. - */ -public interface IBaseSharedInsightCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequest.java deleted file mode 100644 index 26bc16032b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Insight Collection Request. - */ -public interface IBaseSharedInsightCollectionRequest { - - void get(final ICallback callback); - - ISharedInsightCollectionPage get() throws ClientException; - - void post(final SharedInsight newSharedInsight, final ICallback callback); - - SharedInsight post(final SharedInsight newSharedInsight) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISharedInsightCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISharedInsightCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISharedInsightCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequestBuilder.java deleted file mode 100644 index f26310a023c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Insight Collection Request Builder. - */ -public interface IBaseSharedInsightCollectionRequestBuilder extends IRequestBuilder { - - ISharedInsightCollectionRequest buildRequest(); - - ISharedInsightCollectionRequest buildRequest(final java.util.List requestOptions); - - ISharedInsightRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequest.java deleted file mode 100644 index 5d9fc1e653c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedInsight; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Insight Request. - */ -public interface IBaseSharedInsightRequest extends IHttpRequest { - - /** - * Gets the SharedInsight from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SharedInsight from the service - * - * @return the SharedInsight from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedInsight get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SharedInsight with a source - * - * @param sourceSharedInsight the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SharedInsight sourceSharedInsight, final ICallback callback); - - /** - * Patches this SharedInsight with a source - * - * @param sourceSharedInsight the source object with updates - * @return the updated SharedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedInsight patch(final SharedInsight sourceSharedInsight) throws ClientException; - - /** - * Posts a SharedInsight with a new object - * - * @param newSharedInsight the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SharedInsight newSharedInsight, final ICallback callback); - - /** - * Posts a SharedInsight with a new object - * - * @param newSharedInsight the new object to create - * @return the created SharedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedInsight post(final SharedInsight newSharedInsight) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSharedInsightRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSharedInsightRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequestBuilder.java deleted file mode 100644 index 628189f7ea0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedInsightRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedInsightRequest; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared Insight Request Builder. - */ -public interface IBaseSharedInsightRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISharedInsightRequest instance - */ - ISharedInsightRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISharedInsightRequest instance - */ - ISharedInsightRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - IEntityWithReferenceRequestBuilder lastSharedMethod(); - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - IEntityWithReferenceRequestBuilder resource(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequest.java deleted file mode 100644 index af24491fdb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SharedPCConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared PCConfiguration Request. - */ -public interface IBaseSharedPCConfigurationRequest extends IHttpRequest { - - /** - * Gets the SharedPCConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SharedPCConfiguration from the service - * - * @return the SharedPCConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedPCConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SharedPCConfiguration with a source - * - * @param sourceSharedPCConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SharedPCConfiguration sourceSharedPCConfiguration, final ICallback callback); - - /** - * Patches this SharedPCConfiguration with a source - * - * @param sourceSharedPCConfiguration the source object with updates - * @return the updated SharedPCConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedPCConfiguration patch(final SharedPCConfiguration sourceSharedPCConfiguration) throws ClientException; - - /** - * Posts a SharedPCConfiguration with a new object - * - * @param newSharedPCConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SharedPCConfiguration newSharedPCConfiguration, final ICallback callback); - - /** - * Posts a SharedPCConfiguration with a new object - * - * @param newSharedPCConfiguration the new object to create - * @return the created SharedPCConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SharedPCConfiguration post(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSharedPCConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSharedPCConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequestBuilder.java deleted file mode 100644 index ae6a32d346b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSharedPCConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISharedPCConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Shared PCConfiguration Request Builder. - */ -public interface IBaseSharedPCConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISharedPCConfigurationRequest instance - */ - ISharedPCConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISharedPCConfigurationRequest instance - */ - ISharedPCConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionPage.java deleted file mode 100644 index 510789b87be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Single Value Legacy Extended Property Collection Page. - */ -public interface IBaseSingleValueLegacyExtendedPropertyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequest.java deleted file mode 100644 index 2cc5cd5a8ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Single Value Legacy Extended Property Collection Request. - */ -public interface IBaseSingleValueLegacyExtendedPropertyCollectionRequest { - - void get(final ICallback callback); - - ISingleValueLegacyExtendedPropertyCollectionPage get() throws ClientException; - - void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback); - - SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISingleValueLegacyExtendedPropertyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISingleValueLegacyExtendedPropertyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISingleValueLegacyExtendedPropertyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java deleted file mode 100644 index 52b152eb907..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Single Value Legacy Extended Property Collection Request Builder. - */ -public interface IBaseSingleValueLegacyExtendedPropertyCollectionRequestBuilder extends IRequestBuilder { - - ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest(); - - ISingleValueLegacyExtendedPropertyCollectionRequest buildRequest(final java.util.List requestOptions); - - ISingleValueLegacyExtendedPropertyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequest.java deleted file mode 100644 index 806ae66e92b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Single Value Legacy Extended Property Request. - */ -public interface IBaseSingleValueLegacyExtendedPropertyRequest extends IHttpRequest { - - /** - * Gets the SingleValueLegacyExtendedProperty from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SingleValueLegacyExtendedProperty from the service - * - * @return the SingleValueLegacyExtendedProperty from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SingleValueLegacyExtendedProperty get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SingleValueLegacyExtendedProperty with a source - * - * @param sourceSingleValueLegacyExtendedProperty the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty, final ICallback callback); - - /** - * Patches this SingleValueLegacyExtendedProperty with a source - * - * @param sourceSingleValueLegacyExtendedProperty the source object with updates - * @return the updated SingleValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SingleValueLegacyExtendedProperty patch(final SingleValueLegacyExtendedProperty sourceSingleValueLegacyExtendedProperty) throws ClientException; - - /** - * Posts a SingleValueLegacyExtendedProperty with a new object - * - * @param newSingleValueLegacyExtendedProperty the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback); - - /** - * Posts a SingleValueLegacyExtendedProperty with a new object - * - * @param newSingleValueLegacyExtendedProperty the new object to create - * @return the created SingleValueLegacyExtendedProperty - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSingleValueLegacyExtendedPropertyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSingleValueLegacyExtendedPropertyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequestBuilder.java deleted file mode 100644 index 8b1d5430720..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSingleValueLegacyExtendedPropertyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISingleValueLegacyExtendedPropertyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Single Value Legacy Extended Property Request Builder. - */ -public interface IBaseSingleValueLegacyExtendedPropertyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISingleValueLegacyExtendedPropertyRequest instance - */ - ISingleValueLegacyExtendedPropertyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISingleValueLegacyExtendedPropertyRequest instance - */ - ISingleValueLegacyExtendedPropertyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionPage.java deleted file mode 100644 index dacf89dcf18..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Collection Page. - */ -public interface IBaseSiteCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequest.java deleted file mode 100644 index 4d4a12f8f63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Collection Request. - */ -public interface IBaseSiteCollectionRequest { - - void get(final ICallback callback); - - ISiteCollectionPage get() throws ClientException; - - void post(final Site newSite, final ICallback callback); - - Site post(final Site newSite) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISiteCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISiteCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISiteCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequestBuilder.java deleted file mode 100644 index 5b2d8148555..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Collection Request Builder. - */ -public interface IBaseSiteCollectionRequestBuilder extends IRequestBuilder { - - ISiteCollectionRequest buildRequest(); - - ISiteCollectionRequest buildRequest(final java.util.List requestOptions); - - ISiteRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequest.java deleted file mode 100644 index e0970d86436..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Site; -import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Get By Path Request. - */ -public interface IBaseSiteGetByPathRequest { - - /** - * Patches the SiteGetByPath - * - * @param srcSite the Site with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(Site srcSite, final ICallback callback); - - /** - * Patches the SiteGetByPath - * - * @param srcSite the Site with which to PATCH - * @return the Site - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Site patch(Site srcSite) throws ClientException; - - /** - * Puts the SiteGetByPath - * - * @param srcSite the Site to PUT - * @param callback the callback to be called after success or failure - */ - void put(Site srcSite, final ICallback callback); - - /** - * Puts the SiteGetByPath - * - * @param srcSite the Site to PUT - * @return the Site - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Site put(Site srcSite) throws ClientException; - /** - * Gets the Site - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Site - * - * @return the Site - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Site get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISiteGetByPathRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISiteGetByPathRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequestBuilder.java deleted file mode 100644 index e80ecc5da85..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteGetByPathRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISiteGetByPathRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Get By Path Request Builder. - */ -public interface IBaseSiteGetByPathRequestBuilder extends IRequestBuilder { - - /** - * Creates the ISiteGetByPathRequest - * - * @return the ISiteGetByPathRequest instance - */ - ISiteGetByPathRequest buildRequest(); - - /** - * Creates the ISiteGetByPathRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ISiteGetByPathRequest instance - */ - ISiteGetByPathRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequest.java deleted file mode 100644 index add9bf0bc02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Site; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Request. - */ -public interface IBaseSiteRequest extends IHttpRequest { - - /** - * Gets the Site from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Site from the service - * - * @return the Site from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Site get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Site with a source - * - * @param sourceSite the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Site sourceSite, final ICallback callback); - - /** - * Patches this Site with a source - * - * @param sourceSite the source object with updates - * @return the updated Site - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Site patch(final Site sourceSite) throws ClientException; - - /** - * Posts a Site with a new object - * - * @param newSite the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Site newSite, final ICallback callback); - - /** - * Posts a Site with a new object - * - * @param newSite the new object to create - * @return the created Site - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Site post(final Site newSite) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSiteRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSiteRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequestBuilder.java deleted file mode 100644 index ec5b69ea4ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSiteRequestBuilder.java +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISiteRequest; -import com.microsoft.graph.requests.extensions.IColumnDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IColumnDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContentTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IBaseItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IBaseItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IListCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IListRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.ISiteGetByPathRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Site Request Builder. - */ -public interface IBaseSiteRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISiteRequest instance - */ - ISiteRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISiteRequest instance - */ - ISiteRequest buildRequest(final java.util.List requestOptions); - - IColumnDefinitionCollectionRequestBuilder columns(); - - IColumnDefinitionRequestBuilder columns(final String id); - - IContentTypeCollectionRequestBuilder contentTypes(); - - IContentTypeRequestBuilder contentTypes(final String id); - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - IDriveRequestBuilder drive(); - - IDriveCollectionRequestBuilder drives(); - - IDriveRequestBuilder drives(final String id); - - IBaseItemCollectionRequestBuilder items(); - - IBaseItemRequestBuilder items(final String id); - - IListCollectionRequestBuilder lists(); - - IListRequestBuilder lists(final String id); - - ISiteCollectionRequestBuilder sites(); - - ISiteRequestBuilder sites(final String id); - - /** - * Gets the request builder for Onenote - * - * @return the IOnenoteRequestBuilder instance - */ - IOnenoteRequestBuilder onenote(); - ISiteGetByPathRequestBuilder getByPath(final String path); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequest.java deleted file mode 100644 index a94dc851108..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Software Update Status Summary Reference Request. - */ -public interface IBaseSoftwareUpdateStatusSummaryReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - SoftwareUpdateStatusSummary delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSoftwareUpdateStatusSummaryReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSoftwareUpdateStatusSummaryReferenceRequest expand(final String value); - - /** - * Puts the SoftwareUpdateStatusSummary - * - * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary to PUT - * @param callback the callback to be called after success or failure - */ - void put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary, final ICallback callback); - - /** - * Puts the SoftwareUpdateStatusSummary - * - * @param srcSoftwareUpdateStatusSummary the SoftwareUpdateStatusSummary to PUT - * @return the SoftwareUpdateStatusSummary - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - SoftwareUpdateStatusSummary put(SoftwareUpdateStatusSummary srcSoftwareUpdateStatusSummary) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java deleted file mode 100644 index f43053d8ff3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Software Update Status Summary Reference Request Builder. - */ -public interface IBaseSoftwareUpdateStatusSummaryReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ISoftwareUpdateStatusSummaryReferenceRequest instance - */ - ISoftwareUpdateStatusSummaryReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISoftwareUpdateStatusSummaryReferenceRequest instance - */ - ISoftwareUpdateStatusSummaryReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequest.java deleted file mode 100644 index cdc66e8ed29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Software Update Status Summary Request. - */ -public interface IBaseSoftwareUpdateStatusSummaryRequest extends IHttpRequest { - - /** - * Gets the SoftwareUpdateStatusSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SoftwareUpdateStatusSummary from the service - * - * @return the SoftwareUpdateStatusSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SoftwareUpdateStatusSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SoftwareUpdateStatusSummary with a source - * - * @param sourceSoftwareUpdateStatusSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback); - - /** - * Patches this SoftwareUpdateStatusSummary with a source - * - * @param sourceSoftwareUpdateStatusSummary the source object with updates - * @return the updated SoftwareUpdateStatusSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException; - - /** - * Posts a SoftwareUpdateStatusSummary with a new object - * - * @param newSoftwareUpdateStatusSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final ICallback callback); - - /** - * Posts a SoftwareUpdateStatusSummary with a new object - * - * @param newSoftwareUpdateStatusSummary the new object to create - * @return the created SoftwareUpdateStatusSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSoftwareUpdateStatusSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSoftwareUpdateStatusSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequestBuilder.java deleted file mode 100644 index 6d60a153ecc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISoftwareUpdateStatusSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Software Update Status Summary Request Builder. - */ -public interface IBaseSoftwareUpdateStatusSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISoftwareUpdateStatusSummaryRequest instance - */ - ISoftwareUpdateStatusSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISoftwareUpdateStatusSummaryRequest instance - */ - ISoftwareUpdateStatusSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequest.java deleted file mode 100644 index 42ac4140d4c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Software Update Status Summary With Reference Request. - */ -public interface IBaseSoftwareUpdateStatusSummaryWithReferenceRequest extends IHttpRequest { - - void post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload, final ICallback callback); - - SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - SoftwareUpdateStatusSummary get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary, final ICallback callback); - - SoftwareUpdateStatusSummary patch(final SoftwareUpdateStatusSummary sourceSoftwareUpdateStatusSummary) throws ClientException; - - IBaseSoftwareUpdateStatusSummaryWithReferenceRequest select(final String value); - - IBaseSoftwareUpdateStatusSummaryWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java deleted file mode 100644 index cc6a5c718ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Software Update Status Summary With Reference Request Builder. - */ -public interface IBaseSoftwareUpdateStatusSummaryWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance - */ - ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISoftwareUpdateStatusSummaryWithReferenceRequest instance - */ - ISoftwareUpdateStatusSummaryWithReferenceRequest buildRequest(final java.util.List requestOptions); - - ISoftwareUpdateStatusSummaryReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionPage.java deleted file mode 100644 index 5fd9e483349..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscribed Sku Collection Page. - */ -public interface IBaseSubscribedSkuCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequest.java deleted file mode 100644 index e350be90735..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscribed Sku Collection Request. - */ -public interface IBaseSubscribedSkuCollectionRequest { - - void get(final ICallback callback); - - ISubscribedSkuCollectionPage get() throws ClientException; - - void post(final SubscribedSku newSubscribedSku, final ICallback callback); - - SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISubscribedSkuCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISubscribedSkuCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISubscribedSkuCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequestBuilder.java deleted file mode 100644 index ce12f57086e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscribed Sku Collection Request Builder. - */ -public interface IBaseSubscribedSkuCollectionRequestBuilder extends IRequestBuilder { - - ISubscribedSkuCollectionRequest buildRequest(); - - ISubscribedSkuCollectionRequest buildRequest(final java.util.List requestOptions); - - ISubscribedSkuRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequest.java deleted file mode 100644 index 1f9a55a55a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.SubscribedSku; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscribed Sku Request. - */ -public interface IBaseSubscribedSkuRequest extends IHttpRequest { - - /** - * Gets the SubscribedSku from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the SubscribedSku from the service - * - * @return the SubscribedSku from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SubscribedSku get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this SubscribedSku with a source - * - * @param sourceSubscribedSku the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final SubscribedSku sourceSubscribedSku, final ICallback callback); - - /** - * Patches this SubscribedSku with a source - * - * @param sourceSubscribedSku the source object with updates - * @return the updated SubscribedSku - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SubscribedSku patch(final SubscribedSku sourceSubscribedSku) throws ClientException; - - /** - * Posts a SubscribedSku with a new object - * - * @param newSubscribedSku the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final SubscribedSku newSubscribedSku, final ICallback callback); - - /** - * Posts a SubscribedSku with a new object - * - * @param newSubscribedSku the new object to create - * @return the created SubscribedSku - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSubscribedSkuRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSubscribedSkuRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequestBuilder.java deleted file mode 100644 index 306a16f2333..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscribedSkuRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISubscribedSkuRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscribed Sku Request Builder. - */ -public interface IBaseSubscribedSkuRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISubscribedSkuRequest instance - */ - ISubscribedSkuRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISubscribedSkuRequest instance - */ - ISubscribedSkuRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionPage.java deleted file mode 100644 index 2d8e61d7596..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscription Collection Page. - */ -public interface IBaseSubscriptionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequest.java deleted file mode 100644 index 3ccaf3a2049..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscription Collection Request. - */ -public interface IBaseSubscriptionCollectionRequest { - - void get(final ICallback callback); - - ISubscriptionCollectionPage get() throws ClientException; - - void post(final Subscription newSubscription, final ICallback callback); - - Subscription post(final Subscription newSubscription) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ISubscriptionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ISubscriptionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ISubscriptionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequestBuilder.java deleted file mode 100644 index 02852920b78..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscription Collection Request Builder. - */ -public interface IBaseSubscriptionCollectionRequestBuilder extends IRequestBuilder { - - ISubscriptionCollectionRequest buildRequest(); - - ISubscriptionCollectionRequest buildRequest(final java.util.List requestOptions); - - ISubscriptionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequest.java deleted file mode 100644 index 98df54d2b9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Subscription; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscription Request. - */ -public interface IBaseSubscriptionRequest extends IHttpRequest { - - /** - * Gets the Subscription from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Subscription from the service - * - * @return the Subscription from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Subscription get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Subscription with a source - * - * @param sourceSubscription the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Subscription sourceSubscription, final ICallback callback); - - /** - * Patches this Subscription with a source - * - * @param sourceSubscription the source object with updates - * @return the updated Subscription - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Subscription patch(final Subscription sourceSubscription) throws ClientException; - - /** - * Posts a Subscription with a new object - * - * @param newSubscription the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Subscription newSubscription, final ICallback callback); - - /** - * Posts a Subscription with a new object - * - * @param newSubscription the new object to create - * @return the created Subscription - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Subscription post(final Subscription newSubscription) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseSubscriptionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseSubscriptionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequestBuilder.java deleted file mode 100644 index 7421e86e6fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseSubscriptionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ISubscriptionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Subscription Request Builder. - */ -public interface IBaseSubscriptionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ISubscriptionRequest instance - */ - ISubscriptionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ISubscriptionRequest instance - */ - ISubscriptionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequest.java deleted file mode 100644 index e1d766b7b66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Assign Request. - */ -public interface IBaseTargetedManagedAppConfigurationAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITargetedManagedAppConfigurationAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITargetedManagedAppConfigurationAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITargetedManagedAppConfigurationAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequestBuilder.java deleted file mode 100644 index a9b237d79cd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Assign Request Builder. - */ -public interface IBaseTargetedManagedAppConfigurationAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITargetedManagedAppConfigurationAssignRequest - * - * @return the ITargetedManagedAppConfigurationAssignRequest instance - */ - ITargetedManagedAppConfigurationAssignRequest buildRequest(); - - /** - * Creates the ITargetedManagedAppConfigurationAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITargetedManagedAppConfigurationAssignRequest instance - */ - ITargetedManagedAppConfigurationAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionPage.java deleted file mode 100644 index 050133c423a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Collection Page. - */ -public interface IBaseTargetedManagedAppConfigurationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequest.java deleted file mode 100644 index 6e6a1065184..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Collection Request. - */ -public interface IBaseTargetedManagedAppConfigurationCollectionRequest { - - void get(final ICallback callback); - - ITargetedManagedAppConfigurationCollectionPage get() throws ClientException; - - void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback); - - TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITargetedManagedAppConfigurationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITargetedManagedAppConfigurationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITargetedManagedAppConfigurationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequestBuilder.java deleted file mode 100644 index 11ed23c46a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Collection Request Builder. - */ -public interface IBaseTargetedManagedAppConfigurationCollectionRequestBuilder extends IRequestBuilder { - - ITargetedManagedAppConfigurationCollectionRequest buildRequest(); - - ITargetedManagedAppConfigurationCollectionRequest buildRequest(final java.util.List requestOptions); - - ITargetedManagedAppConfigurationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequest.java deleted file mode 100644 index d3b658ce8d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Request. - */ -public interface IBaseTargetedManagedAppConfigurationRequest extends IHttpRequest { - - /** - * Gets the TargetedManagedAppConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TargetedManagedAppConfiguration from the service - * - * @return the TargetedManagedAppConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TargetedManagedAppConfiguration with a source - * - * @param sourceTargetedManagedAppConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration, final ICallback callback); - - /** - * Patches this TargetedManagedAppConfiguration with a source - * - * @param sourceTargetedManagedAppConfiguration the source object with updates - * @return the updated TargetedManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppConfiguration patch(final TargetedManagedAppConfiguration sourceTargetedManagedAppConfiguration) throws ClientException; - - /** - * Posts a TargetedManagedAppConfiguration with a new object - * - * @param newTargetedManagedAppConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback); - - /** - * Posts a TargetedManagedAppConfiguration with a new object - * - * @param newTargetedManagedAppConfiguration the new object to create - * @return the created TargetedManagedAppConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTargetedManagedAppConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTargetedManagedAppConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequestBuilder.java deleted file mode 100644 index b10afea797b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationRequest; -import com.microsoft.graph.requests.extensions.IManagedMobileAppCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedMobileAppRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppPolicyDeploymentSummaryRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationAssignRequestBuilder; -import com.microsoft.graph.models.extensions.ManagedMobileApp; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Request Builder. - */ -public interface IBaseTargetedManagedAppConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITargetedManagedAppConfigurationRequest instance - */ - ITargetedManagedAppConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITargetedManagedAppConfigurationRequest instance - */ - ITargetedManagedAppConfigurationRequest buildRequest(final java.util.List requestOptions); - - IManagedMobileAppCollectionRequestBuilder apps(); - - IManagedMobileAppRequestBuilder apps(final String id); - - /** - * Gets the request builder for ManagedAppPolicyDeploymentSummary - * - * @return the IManagedAppPolicyDeploymentSummaryRequestBuilder instance - */ - IManagedAppPolicyDeploymentSummaryRequestBuilder deploymentSummary(); - - ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments(); - - ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id); - ITargetedManagedAppConfigurationAssignRequestBuilder assign(final java.util.List assignments); - ITargetedManagedAppConfigurationTargetAppsRequestBuilder targetApps(final java.util.List apps); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequest.java deleted file mode 100644 index 422833ad41b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Target Apps Request. - */ -public interface IBaseTargetedManagedAppConfigurationTargetAppsRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITargetedManagedAppConfigurationTargetAppsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITargetedManagedAppConfigurationTargetAppsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITargetedManagedAppConfigurationTargetAppsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java deleted file mode 100644 index 3b33cb4067c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppConfigurationTargetAppsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Configuration Target Apps Request Builder. - */ -public interface IBaseTargetedManagedAppConfigurationTargetAppsRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITargetedManagedAppConfigurationTargetAppsRequest - * - * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance - */ - ITargetedManagedAppConfigurationTargetAppsRequest buildRequest(); - - /** - * Creates the ITargetedManagedAppConfigurationTargetAppsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITargetedManagedAppConfigurationTargetAppsRequest instance - */ - ITargetedManagedAppConfigurationTargetAppsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionPage.java deleted file mode 100644 index 611b41054b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Policy Assignment Collection Page. - */ -public interface IBaseTargetedManagedAppPolicyAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequest.java deleted file mode 100644 index e4f2752a28a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Policy Assignment Collection Request. - */ -public interface IBaseTargetedManagedAppPolicyAssignmentCollectionRequest { - - void get(final ICallback callback); - - ITargetedManagedAppPolicyAssignmentCollectionPage get() throws ClientException; - - void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback); - - TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITargetedManagedAppPolicyAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITargetedManagedAppPolicyAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITargetedManagedAppPolicyAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java deleted file mode 100644 index cb90c6a0a99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Policy Assignment Collection Request Builder. - */ -public interface IBaseTargetedManagedAppPolicyAssignmentCollectionRequestBuilder extends IRequestBuilder { - - ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest(); - - ITargetedManagedAppPolicyAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - ITargetedManagedAppPolicyAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequest.java deleted file mode 100644 index e8ba617ba21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Policy Assignment Request. - */ -public interface IBaseTargetedManagedAppPolicyAssignmentRequest extends IHttpRequest { - - /** - * Gets the TargetedManagedAppPolicyAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TargetedManagedAppPolicyAssignment from the service - * - * @return the TargetedManagedAppPolicyAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppPolicyAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TargetedManagedAppPolicyAssignment with a source - * - * @param sourceTargetedManagedAppPolicyAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment, final ICallback callback); - - /** - * Patches this TargetedManagedAppPolicyAssignment with a source - * - * @param sourceTargetedManagedAppPolicyAssignment the source object with updates - * @return the updated TargetedManagedAppPolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppPolicyAssignment patch(final TargetedManagedAppPolicyAssignment sourceTargetedManagedAppPolicyAssignment) throws ClientException; - - /** - * Posts a TargetedManagedAppPolicyAssignment with a new object - * - * @param newTargetedManagedAppPolicyAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback); - - /** - * Posts a TargetedManagedAppPolicyAssignment with a new object - * - * @param newTargetedManagedAppPolicyAssignment the new object to create - * @return the created TargetedManagedAppPolicyAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTargetedManagedAppPolicyAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTargetedManagedAppPolicyAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequestBuilder.java deleted file mode 100644 index b5f8eac8ddb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppPolicyAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Policy Assignment Request Builder. - */ -public interface IBaseTargetedManagedAppPolicyAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITargetedManagedAppPolicyAssignmentRequest instance - */ - ITargetedManagedAppPolicyAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITargetedManagedAppPolicyAssignmentRequest instance - */ - ITargetedManagedAppPolicyAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequest.java deleted file mode 100644 index 0d6842edb64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Protection Assign Request. - */ -public interface IBaseTargetedManagedAppProtectionAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITargetedManagedAppProtectionAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITargetedManagedAppProtectionAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITargetedManagedAppProtectionAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequestBuilder.java deleted file mode 100644 index f84d3988747..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Protection Assign Request Builder. - */ -public interface IBaseTargetedManagedAppProtectionAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITargetedManagedAppProtectionAssignRequest - * - * @return the ITargetedManagedAppProtectionAssignRequest instance - */ - ITargetedManagedAppProtectionAssignRequest buildRequest(); - - /** - * Creates the ITargetedManagedAppProtectionAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITargetedManagedAppProtectionAssignRequest instance - */ - ITargetedManagedAppProtectionAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequest.java deleted file mode 100644 index 1d578336050..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Protection Request. - */ -public interface IBaseTargetedManagedAppProtectionRequest extends IHttpRequest { - - /** - * Gets the TargetedManagedAppProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TargetedManagedAppProtection from the service - * - * @return the TargetedManagedAppProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TargetedManagedAppProtection with a source - * - * @param sourceTargetedManagedAppProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection, final ICallback callback); - - /** - * Patches this TargetedManagedAppProtection with a source - * - * @param sourceTargetedManagedAppProtection the source object with updates - * @return the updated TargetedManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppProtection patch(final TargetedManagedAppProtection sourceTargetedManagedAppProtection) throws ClientException; - - /** - * Posts a TargetedManagedAppProtection with a new object - * - * @param newTargetedManagedAppProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TargetedManagedAppProtection newTargetedManagedAppProtection, final ICallback callback); - - /** - * Posts a TargetedManagedAppProtection with a new object - * - * @param newTargetedManagedAppProtection the new object to create - * @return the created TargetedManagedAppProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TargetedManagedAppProtection post(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTargetedManagedAppProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTargetedManagedAppProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequestBuilder.java deleted file mode 100644 index 0e9832006a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTargetedManagedAppProtectionRequestBuilder.java +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionRequest; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppProtectionAssignRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Targeted Managed App Protection Request Builder. - */ -public interface IBaseTargetedManagedAppProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITargetedManagedAppProtectionRequest instance - */ - ITargetedManagedAppProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITargetedManagedAppProtectionRequest instance - */ - ITargetedManagedAppProtectionRequest buildRequest(final java.util.List requestOptions); - - ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments(); - - ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id); - ITargetedManagedAppProtectionAssignRequestBuilder assign(final java.util.List assignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequest.java deleted file mode 100644 index ded78a78ac7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Archive Request. - */ -public interface IBaseTeamArchiveRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamArchiveRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamArchiveRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamArchiveRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequestBuilder.java deleted file mode 100644 index 5d64dc731f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamArchiveRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamArchiveRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Archive Request Builder. - */ -public interface IBaseTeamArchiveRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITeamArchiveRequest - * - * @return the ITeamArchiveRequest instance - */ - ITeamArchiveRequest buildRequest(); - - /** - * Creates the ITeamArchiveRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITeamArchiveRequest instance - */ - ITeamArchiveRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequest.java deleted file mode 100644 index bd03ab27249..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamCloneRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Clone Request. - */ -public interface IBaseTeamCloneRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamCloneRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamCloneRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamCloneRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequestBuilder.java deleted file mode 100644 index 1bd298936e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCloneRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamCloneRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Clone Request Builder. - */ -public interface IBaseTeamCloneRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITeamCloneRequest - * - * @return the ITeamCloneRequest instance - */ - ITeamCloneRequest buildRequest(); - - /** - * Creates the ITeamCloneRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITeamCloneRequest instance - */ - ITeamCloneRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionPage.java deleted file mode 100644 index 97f33a5ef8e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Collection Page. - */ -public interface IBaseTeamCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequest.java deleted file mode 100644 index 4ce6d9624d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Collection Request. - */ -public interface IBaseTeamCollectionRequest { - - void get(final ICallback callback); - - ITeamCollectionPage get() throws ClientException; - - void post(final Team newTeam, final ICallback callback); - - Team post(final Team newTeam) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequestBuilder.java deleted file mode 100644 index 3d21638d135..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Collection Request Builder. - */ -public interface IBaseTeamCollectionRequestBuilder extends IRequestBuilder { - - ITeamCollectionRequest buildRequest(); - - ITeamCollectionRequest buildRequest(final java.util.List requestOptions); - - ITeamRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequest.java deleted file mode 100644 index 3eda8757664..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Team; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Request. - */ -public interface IBaseTeamRequest extends IHttpRequest { - - /** - * Gets the Team from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Team from the service - * - * @return the Team from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Team get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Team with a source - * - * @param sourceTeam the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Team sourceTeam, final ICallback callback); - - /** - * Patches this Team with a source - * - * @param sourceTeam the source object with updates - * @return the updated Team - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Team patch(final Team sourceTeam) throws ClientException; - - /** - * Posts a Team with a new object - * - * @param newTeam the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Team newTeam, final ICallback callback); - - /** - * Posts a Team with a new object - * - * @param newTeam the new object to create - * @return the created Team - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Team post(final Team newTeam) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequestBuilder.java deleted file mode 100644 index 51e5466a4eb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamRequest; -import com.microsoft.graph.requests.extensions.IChannelCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IChannelRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequestBuilder; -import com.microsoft.graph.models.generated.TeamVisibilityType; -import com.microsoft.graph.models.generated.ClonableTeamParts; -import com.microsoft.graph.requests.extensions.ITeamCloneRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamArchiveRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Request Builder. - */ -public interface IBaseTeamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITeamRequest instance - */ - ITeamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamRequest instance - */ - ITeamRequest buildRequest(final java.util.List requestOptions); - - IChannelCollectionRequestBuilder channels(); - - IChannelRequestBuilder channels(final String id); - - ITeamsAppInstallationCollectionRequestBuilder installedApps(); - - ITeamsAppInstallationRequestBuilder installedApps(final String id); - - ITeamsAsyncOperationCollectionRequestBuilder operations(); - - ITeamsAsyncOperationRequestBuilder operations(final String id); - ITeamCloneRequestBuilder clone(final String displayName, final String description, final String mailNickname, final String classification, final TeamVisibilityType visibility, final EnumSet partsToClone); - ITeamArchiveRequestBuilder archive(final Boolean shouldSetSpoSiteReadOnlyForMembers); - ITeamUnarchiveRequestBuilder unarchive(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequest.java deleted file mode 100644 index 8417d9440fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Unarchive Request. - */ -public interface IBaseTeamUnarchiveRequest { - - /** - * Creates the TeamUnarchive - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the TeamUnarchive - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequestBuilder.java deleted file mode 100644 index 0928491feaa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamUnarchiveRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamUnarchiveRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Team Unarchive Request Builder. - */ -public interface IBaseTeamUnarchiveRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITeamUnarchiveRequest - * - * @return the ITeamUnarchiveRequest instance - */ - ITeamUnarchiveRequest buildRequest(); - - /** - * Creates the ITeamUnarchiveRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITeamUnarchiveRequest instance - */ - ITeamUnarchiveRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionPage.java deleted file mode 100644 index 513453686c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Collection Page. - */ -public interface IBaseTeamsAppCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequest.java deleted file mode 100644 index a35f532ea40..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Collection Request. - */ -public interface IBaseTeamsAppCollectionRequest { - - void get(final ICallback callback); - - ITeamsAppCollectionPage get() throws ClientException; - - void post(final TeamsApp newTeamsApp, final ICallback callback); - - TeamsApp post(final TeamsApp newTeamsApp) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamsAppCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamsAppCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamsAppCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequestBuilder.java deleted file mode 100644 index b8550177960..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Collection Request Builder. - */ -public interface IBaseTeamsAppCollectionRequestBuilder extends IRequestBuilder { - - ITeamsAppCollectionRequest buildRequest(); - - ITeamsAppCollectionRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionPage.java deleted file mode 100644 index 9039e4fde1e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Collection Page. - */ -public interface IBaseTeamsAppDefinitionCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequest.java deleted file mode 100644 index 2641c91e5ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Collection Request. - */ -public interface IBaseTeamsAppDefinitionCollectionRequest { - - void get(final ICallback callback); - - ITeamsAppDefinitionCollectionPage get() throws ClientException; - - void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback); - - TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamsAppDefinitionCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamsAppDefinitionCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamsAppDefinitionCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequestBuilder.java deleted file mode 100644 index a32b925ae8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Collection Request Builder. - */ -public interface IBaseTeamsAppDefinitionCollectionRequestBuilder extends IRequestBuilder { - - ITeamsAppDefinitionCollectionRequest buildRequest(); - - ITeamsAppDefinitionCollectionRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppDefinitionRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequest.java deleted file mode 100644 index dac0ecf4142..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Reference Request. - */ -public interface IBaseTeamsAppDefinitionReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - TeamsAppDefinition delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsAppDefinitionReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsAppDefinitionReferenceRequest expand(final String value); - - /** - * Puts the TeamsAppDefinition - * - * @param srcTeamsAppDefinition the TeamsAppDefinition to PUT - * @param callback the callback to be called after success or failure - */ - void put(TeamsAppDefinition srcTeamsAppDefinition, final ICallback callback); - - /** - * Puts the TeamsAppDefinition - * - * @param srcTeamsAppDefinition the TeamsAppDefinition to PUT - * @return the TeamsAppDefinition - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - TeamsAppDefinition put(TeamsAppDefinition srcTeamsAppDefinition) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequestBuilder.java deleted file mode 100644 index 00733d86a8a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Reference Request Builder. - */ -public interface IBaseTeamsAppDefinitionReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ITeamsAppDefinitionReferenceRequest instance - */ - ITeamsAppDefinitionReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppDefinitionReferenceRequest instance - */ - ITeamsAppDefinitionReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequest.java deleted file mode 100644 index 35f2c897bf1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAppDefinition; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Request. - */ -public interface IBaseTeamsAppDefinitionRequest extends IHttpRequest { - - /** - * Gets the TeamsAppDefinition from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TeamsAppDefinition from the service - * - * @return the TeamsAppDefinition from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAppDefinition get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TeamsAppDefinition with a source - * - * @param sourceTeamsAppDefinition the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback); - - /** - * Patches this TeamsAppDefinition with a source - * - * @param sourceTeamsAppDefinition the source object with updates - * @return the updated TeamsAppDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException; - - /** - * Posts a TeamsAppDefinition with a new object - * - * @param newTeamsAppDefinition the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback); - - /** - * Posts a TeamsAppDefinition with a new object - * - * @param newTeamsAppDefinition the new object to create - * @return the created TeamsAppDefinition - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsAppDefinitionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsAppDefinitionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequestBuilder.java deleted file mode 100644 index 5357d9d2a40..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition Request Builder. - */ -public interface IBaseTeamsAppDefinitionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITeamsAppDefinitionRequest instance - */ - ITeamsAppDefinitionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppDefinitionRequest instance - */ - ITeamsAppDefinitionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequest.java deleted file mode 100644 index 2118518c324..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition With Reference Request. - */ -public interface IBaseTeamsAppDefinitionWithReferenceRequest extends IHttpRequest { - - void post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload, final ICallback callback); - - TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - TeamsAppDefinition get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final TeamsAppDefinition sourceTeamsAppDefinition, final ICallback callback); - - TeamsAppDefinition patch(final TeamsAppDefinition sourceTeamsAppDefinition) throws ClientException; - - IBaseTeamsAppDefinitionWithReferenceRequest select(final String value); - - IBaseTeamsAppDefinitionWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequestBuilder.java deleted file mode 100644 index 443575760f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppDefinitionWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Definition With Reference Request Builder. - */ -public interface IBaseTeamsAppDefinitionWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ITeamsAppDefinitionWithReferenceRequest instance - */ - ITeamsAppDefinitionWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppDefinitionWithReferenceRequest instance - */ - ITeamsAppDefinitionWithReferenceRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppDefinitionReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionPage.java deleted file mode 100644 index d9172db8123..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Collection Page. - */ -public interface IBaseTeamsAppInstallationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequest.java deleted file mode 100644 index ade077b7b93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Collection Request. - */ -public interface IBaseTeamsAppInstallationCollectionRequest { - - void get(final ICallback callback); - - ITeamsAppInstallationCollectionPage get() throws ClientException; - - void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback); - - TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamsAppInstallationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamsAppInstallationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamsAppInstallationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequestBuilder.java deleted file mode 100644 index 740a4f912b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Collection Request Builder. - */ -public interface IBaseTeamsAppInstallationCollectionRequestBuilder extends IRequestBuilder { - - ITeamsAppInstallationCollectionRequest buildRequest(); - - ITeamsAppInstallationCollectionRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppInstallationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequest.java deleted file mode 100644 index 344fe022586..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Request. - */ -public interface IBaseTeamsAppInstallationRequest extends IHttpRequest { - - /** - * Gets the TeamsAppInstallation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TeamsAppInstallation from the service - * - * @return the TeamsAppInstallation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAppInstallation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TeamsAppInstallation with a source - * - * @param sourceTeamsAppInstallation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TeamsAppInstallation sourceTeamsAppInstallation, final ICallback callback); - - /** - * Patches this TeamsAppInstallation with a source - * - * @param sourceTeamsAppInstallation the source object with updates - * @return the updated TeamsAppInstallation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAppInstallation patch(final TeamsAppInstallation sourceTeamsAppInstallation) throws ClientException; - - /** - * Posts a TeamsAppInstallation with a new object - * - * @param newTeamsAppInstallation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback); - - /** - * Posts a TeamsAppInstallation with a new object - * - * @param newTeamsAppInstallation the new object to create - * @return the created TeamsAppInstallation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsAppInstallationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsAppInstallationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequestBuilder.java deleted file mode 100644 index d0d91324f94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationRequestBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Request Builder. - */ -public interface IBaseTeamsAppInstallationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITeamsAppInstallationRequest instance - */ - ITeamsAppInstallationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppInstallationRequest instance - */ - ITeamsAppInstallationRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for TeamsApp - * - * @return the ITeamsAppWithReferenceRequestBuilder instance - */ - ITeamsAppWithReferenceRequestBuilder teamsApp(); - - /** - * Gets the request builder for TeamsAppDefinition - * - * @return the ITeamsAppDefinitionWithReferenceRequestBuilder instance - */ - ITeamsAppDefinitionWithReferenceRequestBuilder teamsAppDefinition(); - ITeamsAppInstallationUpgradeRequestBuilder upgrade(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequest.java deleted file mode 100644 index 9f8e4ec84ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Upgrade Request. - */ -public interface IBaseTeamsAppInstallationUpgradeRequest { - - /** - * Creates the TeamsAppInstallationUpgrade - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the TeamsAppInstallationUpgrade - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequestBuilder.java deleted file mode 100644 index 3bb9bedb3fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppInstallationUpgradeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppInstallationUpgradeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Installation Upgrade Request Builder. - */ -public interface IBaseTeamsAppInstallationUpgradeRequestBuilder extends IRequestBuilder { - - /** - * Creates the ITeamsAppInstallationUpgradeRequest - * - * @return the ITeamsAppInstallationUpgradeRequest instance - */ - ITeamsAppInstallationUpgradeRequest buildRequest(); - - /** - * Creates the ITeamsAppInstallationUpgradeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the ITeamsAppInstallationUpgradeRequest instance - */ - ITeamsAppInstallationUpgradeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequest.java deleted file mode 100644 index 74e44de1a24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Reference Request. - */ -public interface IBaseTeamsAppReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - TeamsApp delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsAppReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsAppReferenceRequest expand(final String value); - - /** - * Puts the TeamsApp - * - * @param srcTeamsApp the TeamsApp to PUT - * @param callback the callback to be called after success or failure - */ - void put(TeamsApp srcTeamsApp, final ICallback callback); - - /** - * Puts the TeamsApp - * - * @param srcTeamsApp the TeamsApp to PUT - * @return the TeamsApp - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - TeamsApp put(TeamsApp srcTeamsApp) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequestBuilder.java deleted file mode 100644 index 6d151ec915c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Reference Request Builder. - */ -public interface IBaseTeamsAppReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ITeamsAppReferenceRequest instance - */ - ITeamsAppReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppReferenceRequest instance - */ - ITeamsAppReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequest.java deleted file mode 100644 index 9b2259ad667..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Request. - */ -public interface IBaseTeamsAppRequest extends IHttpRequest { - - /** - * Gets the TeamsApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TeamsApp from the service - * - * @return the TeamsApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TeamsApp with a source - * - * @param sourceTeamsApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TeamsApp sourceTeamsApp, final ICallback callback); - - /** - * Patches this TeamsApp with a source - * - * @param sourceTeamsApp the source object with updates - * @return the updated TeamsApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException; - - /** - * Posts a TeamsApp with a new object - * - * @param newTeamsApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TeamsApp newTeamsApp, final ICallback callback); - - /** - * Posts a TeamsApp with a new object - * - * @param newTeamsApp the new object to create - * @return the created TeamsApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsApp post(final TeamsApp newTeamsApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequestBuilder.java deleted file mode 100644 index 918949a1dac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAppRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamsAppDefinitionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App Request Builder. - */ -public interface IBaseTeamsAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITeamsAppRequest instance - */ - ITeamsAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppRequest instance - */ - ITeamsAppRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppDefinitionCollectionRequestBuilder appDefinitions(); - - ITeamsAppDefinitionRequestBuilder appDefinitions(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequest.java deleted file mode 100644 index c08307fca7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App With Reference Request. - */ -public interface IBaseTeamsAppWithReferenceRequest extends IHttpRequest { - - void post(final TeamsApp newTeamsApp, final IJsonBackedObject payload, final ICallback callback); - - TeamsApp post(final TeamsApp newTeamsApp, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - TeamsApp get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final TeamsApp sourceTeamsApp, final ICallback callback); - - TeamsApp patch(final TeamsApp sourceTeamsApp) throws ClientException; - - IBaseTeamsAppWithReferenceRequest select(final String value); - - IBaseTeamsAppWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequestBuilder.java deleted file mode 100644 index 68f1bd98a96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAppWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams App With Reference Request Builder. - */ -public interface IBaseTeamsAppWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ITeamsAppWithReferenceRequest instance - */ - ITeamsAppWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAppWithReferenceRequest instance - */ - ITeamsAppWithReferenceRequest buildRequest(final java.util.List requestOptions); - - ITeamsAppReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionPage.java deleted file mode 100644 index 8ed19d84674..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Async Operation Collection Page. - */ -public interface IBaseTeamsAsyncOperationCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequest.java deleted file mode 100644 index 0bfd81695ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Async Operation Collection Request. - */ -public interface IBaseTeamsAsyncOperationCollectionRequest { - - void get(final ICallback callback); - - ITeamsAsyncOperationCollectionPage get() throws ClientException; - - void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback); - - TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamsAsyncOperationCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamsAsyncOperationCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamsAsyncOperationCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequestBuilder.java deleted file mode 100644 index 09b3aa32c0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Async Operation Collection Request Builder. - */ -public interface IBaseTeamsAsyncOperationCollectionRequestBuilder extends IRequestBuilder { - - ITeamsAsyncOperationCollectionRequest buildRequest(); - - ITeamsAsyncOperationCollectionRequest buildRequest(final java.util.List requestOptions); - - ITeamsAsyncOperationRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequest.java deleted file mode 100644 index 4c4eb79a9cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsAsyncOperation; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Async Operation Request. - */ -public interface IBaseTeamsAsyncOperationRequest extends IHttpRequest { - - /** - * Gets the TeamsAsyncOperation from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TeamsAsyncOperation from the service - * - * @return the TeamsAsyncOperation from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAsyncOperation get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TeamsAsyncOperation with a source - * - * @param sourceTeamsAsyncOperation the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TeamsAsyncOperation sourceTeamsAsyncOperation, final ICallback callback); - - /** - * Patches this TeamsAsyncOperation with a source - * - * @param sourceTeamsAsyncOperation the source object with updates - * @return the updated TeamsAsyncOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAsyncOperation patch(final TeamsAsyncOperation sourceTeamsAsyncOperation) throws ClientException; - - /** - * Posts a TeamsAsyncOperation with a new object - * - * @param newTeamsAsyncOperation the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback); - - /** - * Posts a TeamsAsyncOperation with a new object - * - * @param newTeamsAsyncOperation the new object to create - * @return the created TeamsAsyncOperation - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsAsyncOperationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsAsyncOperationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequestBuilder.java deleted file mode 100644 index 681069a3aaa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsAsyncOperationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsAsyncOperationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Async Operation Request Builder. - */ -public interface IBaseTeamsAsyncOperationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITeamsAsyncOperationRequest instance - */ - ITeamsAsyncOperationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsAsyncOperationRequest instance - */ - ITeamsAsyncOperationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionPage.java deleted file mode 100644 index 4a9f8f02d6b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Tab Collection Page. - */ -public interface IBaseTeamsTabCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequest.java deleted file mode 100644 index ada757f7cbb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Tab Collection Request. - */ -public interface IBaseTeamsTabCollectionRequest { - - void get(final ICallback callback); - - ITeamsTabCollectionPage get() throws ClientException; - - void post(final TeamsTab newTeamsTab, final ICallback callback); - - TeamsTab post(final TeamsTab newTeamsTab) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITeamsTabCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITeamsTabCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITeamsTabCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequestBuilder.java deleted file mode 100644 index f192a44cbf0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Tab Collection Request Builder. - */ -public interface IBaseTeamsTabCollectionRequestBuilder extends IRequestBuilder { - - ITeamsTabCollectionRequest buildRequest(); - - ITeamsTabCollectionRequest buildRequest(final java.util.List requestOptions); - - ITeamsTabRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequest.java deleted file mode 100644 index 0014dc41396..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TeamsTab; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Tab Request. - */ -public interface IBaseTeamsTabRequest extends IHttpRequest { - - /** - * Gets the TeamsTab from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TeamsTab from the service - * - * @return the TeamsTab from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsTab get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TeamsTab with a source - * - * @param sourceTeamsTab the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TeamsTab sourceTeamsTab, final ICallback callback); - - /** - * Patches this TeamsTab with a source - * - * @param sourceTeamsTab the source object with updates - * @return the updated TeamsTab - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsTab patch(final TeamsTab sourceTeamsTab) throws ClientException; - - /** - * Posts a TeamsTab with a new object - * - * @param newTeamsTab the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TeamsTab newTeamsTab, final ICallback callback); - - /** - * Posts a TeamsTab with a new object - * - * @param newTeamsTab the new object to create - * @return the created TeamsTab - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TeamsTab post(final TeamsTab newTeamsTab) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTeamsTabRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTeamsTabRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequestBuilder.java deleted file mode 100644 index 3026c830c14..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTeamsTabRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITeamsTabRequest; -import com.microsoft.graph.requests.extensions.ITeamsAppWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Teams Tab Request Builder. - */ -public interface IBaseTeamsTabRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITeamsTabRequest instance - */ - ITeamsTabRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITeamsTabRequest instance - */ - ITeamsTabRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for TeamsApp - * - * @return the ITeamsAppWithReferenceRequestBuilder instance - */ - ITeamsAppWithReferenceRequestBuilder teamsApp(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionPage.java deleted file mode 100644 index 24e7e0a8980..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Telecom Expense Management Partner Collection Page. - */ -public interface IBaseTelecomExpenseManagementPartnerCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequest.java deleted file mode 100644 index f1a2b39b265..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Telecom Expense Management Partner Collection Request. - */ -public interface IBaseTelecomExpenseManagementPartnerCollectionRequest { - - void get(final ICallback callback); - - ITelecomExpenseManagementPartnerCollectionPage get() throws ClientException; - - void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback); - - TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITelecomExpenseManagementPartnerCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITelecomExpenseManagementPartnerCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITelecomExpenseManagementPartnerCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java deleted file mode 100644 index 13ac49d922e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Telecom Expense Management Partner Collection Request Builder. - */ -public interface IBaseTelecomExpenseManagementPartnerCollectionRequestBuilder extends IRequestBuilder { - - ITelecomExpenseManagementPartnerCollectionRequest buildRequest(); - - ITelecomExpenseManagementPartnerCollectionRequest buildRequest(final java.util.List requestOptions); - - ITelecomExpenseManagementPartnerRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequest.java deleted file mode 100644 index d5c7e99bd45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Telecom Expense Management Partner Request. - */ -public interface IBaseTelecomExpenseManagementPartnerRequest extends IHttpRequest { - - /** - * Gets the TelecomExpenseManagementPartner from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TelecomExpenseManagementPartner from the service - * - * @return the TelecomExpenseManagementPartner from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TelecomExpenseManagementPartner get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TelecomExpenseManagementPartner with a source - * - * @param sourceTelecomExpenseManagementPartner the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner, final ICallback callback); - - /** - * Patches this TelecomExpenseManagementPartner with a source - * - * @param sourceTelecomExpenseManagementPartner the source object with updates - * @return the updated TelecomExpenseManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TelecomExpenseManagementPartner patch(final TelecomExpenseManagementPartner sourceTelecomExpenseManagementPartner) throws ClientException; - - /** - * Posts a TelecomExpenseManagementPartner with a new object - * - * @param newTelecomExpenseManagementPartner the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback); - - /** - * Posts a TelecomExpenseManagementPartner with a new object - * - * @param newTelecomExpenseManagementPartner the new object to create - * @return the created TelecomExpenseManagementPartner - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTelecomExpenseManagementPartnerRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTelecomExpenseManagementPartnerRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequestBuilder.java deleted file mode 100644 index d283eae9582..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTelecomExpenseManagementPartnerRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITelecomExpenseManagementPartnerRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Telecom Expense Management Partner Request Builder. - */ -public interface IBaseTelecomExpenseManagementPartnerRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITelecomExpenseManagementPartnerRequest instance - */ - ITelecomExpenseManagementPartnerRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITelecomExpenseManagementPartnerRequest instance - */ - ITelecomExpenseManagementPartnerRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionPage.java deleted file mode 100644 index a21baa6ca9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Acceptance Status Collection Page. - */ -public interface IBaseTermsAndConditionsAcceptanceStatusCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequest.java deleted file mode 100644 index 02b15711533..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Acceptance Status Collection Request. - */ -public interface IBaseTermsAndConditionsAcceptanceStatusCollectionRequest { - - void get(final ICallback callback); - - ITermsAndConditionsAcceptanceStatusCollectionPage get() throws ClientException; - - void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback); - - TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITermsAndConditionsAcceptanceStatusCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITermsAndConditionsAcceptanceStatusCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITermsAndConditionsAcceptanceStatusCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java deleted file mode 100644 index dd6b726caaa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Acceptance Status Collection Request Builder. - */ -public interface IBaseTermsAndConditionsAcceptanceStatusCollectionRequestBuilder extends IRequestBuilder { - - ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest(); - - ITermsAndConditionsAcceptanceStatusCollectionRequest buildRequest(final java.util.List requestOptions); - - ITermsAndConditionsAcceptanceStatusRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequest.java deleted file mode 100644 index 4aae2646d9e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditionsAcceptanceStatus; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Acceptance Status Request. - */ -public interface IBaseTermsAndConditionsAcceptanceStatusRequest extends IHttpRequest { - - /** - * Gets the TermsAndConditionsAcceptanceStatus from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TermsAndConditionsAcceptanceStatus from the service - * - * @return the TermsAndConditionsAcceptanceStatus from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditionsAcceptanceStatus get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TermsAndConditionsAcceptanceStatus with a source - * - * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus, final ICallback callback); - - /** - * Patches this TermsAndConditionsAcceptanceStatus with a source - * - * @param sourceTermsAndConditionsAcceptanceStatus the source object with updates - * @return the updated TermsAndConditionsAcceptanceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditionsAcceptanceStatus patch(final TermsAndConditionsAcceptanceStatus sourceTermsAndConditionsAcceptanceStatus) throws ClientException; - - /** - * Posts a TermsAndConditionsAcceptanceStatus with a new object - * - * @param newTermsAndConditionsAcceptanceStatus the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback); - - /** - * Posts a TermsAndConditionsAcceptanceStatus with a new object - * - * @param newTermsAndConditionsAcceptanceStatus the new object to create - * @return the created TermsAndConditionsAcceptanceStatus - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTermsAndConditionsAcceptanceStatusRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTermsAndConditionsAcceptanceStatusRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequestBuilder.java deleted file mode 100644 index db126c2111c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAcceptanceStatusRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequest; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Acceptance Status Request Builder. - */ -public interface IBaseTermsAndConditionsAcceptanceStatusRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITermsAndConditionsAcceptanceStatusRequest instance - */ - ITermsAndConditionsAcceptanceStatusRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsAcceptanceStatusRequest instance - */ - ITermsAndConditionsAcceptanceStatusRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for TermsAndConditions - * - * @return the ITermsAndConditionsWithReferenceRequestBuilder instance - */ - ITermsAndConditionsWithReferenceRequestBuilder termsAndConditions(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionPage.java deleted file mode 100644 index 3e49aa01f9a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Assignment Collection Page. - */ -public interface IBaseTermsAndConditionsAssignmentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequest.java deleted file mode 100644 index 64e7de2206f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Assignment Collection Request. - */ -public interface IBaseTermsAndConditionsAssignmentCollectionRequest { - - void get(final ICallback callback); - - ITermsAndConditionsAssignmentCollectionPage get() throws ClientException; - - void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback); - - TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITermsAndConditionsAssignmentCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITermsAndConditionsAssignmentCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITermsAndConditionsAssignmentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequestBuilder.java deleted file mode 100644 index 87be8e157a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Assignment Collection Request Builder. - */ -public interface IBaseTermsAndConditionsAssignmentCollectionRequestBuilder extends IRequestBuilder { - - ITermsAndConditionsAssignmentCollectionRequest buildRequest(); - - ITermsAndConditionsAssignmentCollectionRequest buildRequest(final java.util.List requestOptions); - - ITermsAndConditionsAssignmentRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequest.java deleted file mode 100644 index 1306f0f388c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditionsAssignment; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Assignment Request. - */ -public interface IBaseTermsAndConditionsAssignmentRequest extends IHttpRequest { - - /** - * Gets the TermsAndConditionsAssignment from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TermsAndConditionsAssignment from the service - * - * @return the TermsAndConditionsAssignment from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditionsAssignment get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TermsAndConditionsAssignment with a source - * - * @param sourceTermsAndConditionsAssignment the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment, final ICallback callback); - - /** - * Patches this TermsAndConditionsAssignment with a source - * - * @param sourceTermsAndConditionsAssignment the source object with updates - * @return the updated TermsAndConditionsAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditionsAssignment patch(final TermsAndConditionsAssignment sourceTermsAndConditionsAssignment) throws ClientException; - - /** - * Posts a TermsAndConditionsAssignment with a new object - * - * @param newTermsAndConditionsAssignment the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback); - - /** - * Posts a TermsAndConditionsAssignment with a new object - * - * @param newTermsAndConditionsAssignment the new object to create - * @return the created TermsAndConditionsAssignment - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTermsAndConditionsAssignmentRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTermsAndConditionsAssignmentRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequestBuilder.java deleted file mode 100644 index 933603a9fa3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsAssignmentRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Assignment Request Builder. - */ -public interface IBaseTermsAndConditionsAssignmentRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITermsAndConditionsAssignmentRequest instance - */ - ITermsAndConditionsAssignmentRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsAssignmentRequest instance - */ - ITermsAndConditionsAssignmentRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionPage.java deleted file mode 100644 index 3e9d4f002f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Collection Page. - */ -public interface IBaseTermsAndConditionsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequest.java deleted file mode 100644 index bf2e444ff8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Collection Request. - */ -public interface IBaseTermsAndConditionsCollectionRequest { - - void get(final ICallback callback); - - ITermsAndConditionsCollectionPage get() throws ClientException; - - void post(final TermsAndConditions newTermsAndConditions, final ICallback callback); - - TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITermsAndConditionsCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITermsAndConditionsCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITermsAndConditionsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequestBuilder.java deleted file mode 100644 index 9b63c760f7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Collection Request Builder. - */ -public interface IBaseTermsAndConditionsCollectionRequestBuilder extends IRequestBuilder { - - ITermsAndConditionsCollectionRequest buildRequest(); - - ITermsAndConditionsCollectionRequest buildRequest(final java.util.List requestOptions); - - ITermsAndConditionsRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequest.java deleted file mode 100644 index 417e3f3d659..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Reference Request. - */ -public interface IBaseTermsAndConditionsReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - TermsAndConditions delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTermsAndConditionsReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTermsAndConditionsReferenceRequest expand(final String value); - - /** - * Puts the TermsAndConditions - * - * @param srcTermsAndConditions the TermsAndConditions to PUT - * @param callback the callback to be called after success or failure - */ - void put(TermsAndConditions srcTermsAndConditions, final ICallback callback); - - /** - * Puts the TermsAndConditions - * - * @param srcTermsAndConditions the TermsAndConditions to PUT - * @return the TermsAndConditions - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - TermsAndConditions put(TermsAndConditions srcTermsAndConditions) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequestBuilder.java deleted file mode 100644 index 6e576b29ebb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Reference Request Builder. - */ -public interface IBaseTermsAndConditionsReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ITermsAndConditionsReferenceRequest instance - */ - ITermsAndConditionsReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsReferenceRequest instance - */ - ITermsAndConditionsReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequest.java deleted file mode 100644 index 3ef3ceefeb5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.TermsAndConditions; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Request. - */ -public interface IBaseTermsAndConditionsRequest extends IHttpRequest { - - /** - * Gets the TermsAndConditions from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the TermsAndConditions from the service - * - * @return the TermsAndConditions from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditions get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this TermsAndConditions with a source - * - * @param sourceTermsAndConditions the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback); - - /** - * Patches this TermsAndConditions with a source - * - * @param sourceTermsAndConditions the source object with updates - * @return the updated TermsAndConditions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException; - - /** - * Posts a TermsAndConditions with a new object - * - * @param newTermsAndConditions the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final TermsAndConditions newTermsAndConditions, final ICallback callback); - - /** - * Posts a TermsAndConditions with a new object - * - * @param newTermsAndConditions the new object to create - * @return the created TermsAndConditions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTermsAndConditionsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTermsAndConditionsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequestBuilder.java deleted file mode 100644 index 2d191d2598f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsRequestBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsRequest; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITermsAndConditionsAcceptanceStatusRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions Request Builder. - */ -public interface IBaseTermsAndConditionsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITermsAndConditionsRequest instance - */ - ITermsAndConditionsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsRequest instance - */ - ITermsAndConditionsRequest buildRequest(final java.util.List requestOptions); - - ITermsAndConditionsAssignmentCollectionRequestBuilder assignments(); - - ITermsAndConditionsAssignmentRequestBuilder assignments(final String id); - - ITermsAndConditionsAcceptanceStatusCollectionRequestBuilder acceptanceStatuses(); - - ITermsAndConditionsAcceptanceStatusRequestBuilder acceptanceStatuses(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequest.java deleted file mode 100644 index 4225bed67d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions With Reference Request. - */ -public interface IBaseTermsAndConditionsWithReferenceRequest extends IHttpRequest { - - void post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload, final ICallback callback); - - TermsAndConditions post(final TermsAndConditions newTermsAndConditions, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - TermsAndConditions get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final TermsAndConditions sourceTermsAndConditions, final ICallback callback); - - TermsAndConditions patch(final TermsAndConditions sourceTermsAndConditions) throws ClientException; - - IBaseTermsAndConditionsWithReferenceRequest select(final String value); - - IBaseTermsAndConditionsWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequestBuilder.java deleted file mode 100644 index 49c94654d86..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTermsAndConditionsWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Terms And Conditions With Reference Request Builder. - */ -public interface IBaseTermsAndConditionsWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the ITermsAndConditionsWithReferenceRequest instance - */ - ITermsAndConditionsWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITermsAndConditionsWithReferenceRequest instance - */ - ITermsAndConditionsWithReferenceRequest buildRequest(final java.util.List requestOptions); - - ITermsAndConditionsReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequest.java deleted file mode 100644 index bf66f101d3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Thumbnail; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Request. - */ -public interface IBaseThumbnailRequest extends IHttpRequest { - - /** - * Gets the Thumbnail from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Thumbnail from the service - * - * @return the Thumbnail from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Thumbnail get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Thumbnail with a source - * - * @param sourceThumbnail the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Thumbnail sourceThumbnail, final ICallback callback); - - /** - * Patches this Thumbnail with a source - * - * @param sourceThumbnail the source object with updates - * @return the updated Thumbnail - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Thumbnail patch(final Thumbnail sourceThumbnail) throws ClientException; - - /** - * Posts a Thumbnail with a new object - * - * @param newThumbnail the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Thumbnail newThumbnail, final ICallback callback); - - /** - * Posts a Thumbnail with a new object - * - * @param newThumbnail the new object to create - * @return the created Thumbnail - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Thumbnail post(final Thumbnail newThumbnail) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseThumbnailRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseThumbnailRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequestBuilder.java deleted file mode 100644 index 5be09377811..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailRequest; -import com.microsoft.graph.requests.extensions.IThumbnailStreamRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Request Builder. - */ -public interface IBaseThumbnailRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IThumbnailRequest instance - */ - IThumbnailRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IThumbnailRequest instance - */ - IThumbnailRequest buildRequest(final java.util.List requestOptions); - - IThumbnailStreamRequestBuilder content(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionPage.java deleted file mode 100644 index c5902ac0050..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Set Collection Page. - */ -public interface IBaseThumbnailSetCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequest.java deleted file mode 100644 index cb405a13445..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Set Collection Request. - */ -public interface IBaseThumbnailSetCollectionRequest { - - void get(final ICallback callback); - - IThumbnailSetCollectionPage get() throws ClientException; - - void post(final ThumbnailSet newThumbnailSet, final ICallback callback); - - ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IThumbnailSetCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IThumbnailSetCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IThumbnailSetCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequestBuilder.java deleted file mode 100644 index a42cafadf2b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Set Collection Request Builder. - */ -public interface IBaseThumbnailSetCollectionRequestBuilder extends IRequestBuilder { - - IThumbnailSetCollectionRequest buildRequest(); - - IThumbnailSetCollectionRequest buildRequest(final java.util.List requestOptions); - - IThumbnailSetRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequest.java deleted file mode 100644 index 2b5f082837d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.ThumbnailSet; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Set Request. - */ -public interface IBaseThumbnailSetRequest extends IHttpRequest { - - /** - * Gets the ThumbnailSet from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the ThumbnailSet from the service - * - * @return the ThumbnailSet from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ThumbnailSet get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this ThumbnailSet with a source - * - * @param sourceThumbnailSet the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final ThumbnailSet sourceThumbnailSet, final ICallback callback); - - /** - * Patches this ThumbnailSet with a source - * - * @param sourceThumbnailSet the source object with updates - * @return the updated ThumbnailSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ThumbnailSet patch(final ThumbnailSet sourceThumbnailSet) throws ClientException; - - /** - * Posts a ThumbnailSet with a new object - * - * @param newThumbnailSet the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final ThumbnailSet newThumbnailSet, final ICallback callback); - - /** - * Posts a ThumbnailSet with a new object - * - * @param newThumbnailSet the new object to create - * @return the created ThumbnailSet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseThumbnailSetRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseThumbnailSetRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequestBuilder.java deleted file mode 100644 index bd1d203bb5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailSetRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailSetRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Set Request Builder. - */ -public interface IBaseThumbnailSetRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IThumbnailSetRequest instance - */ - IThumbnailSetRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IThumbnailSetRequest instance - */ - IThumbnailSetRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequest.java deleted file mode 100644 index 5f896cc08df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import java.io.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Stream Request. - */ -public interface IBaseThumbnailStreamRequest extends IHttpStreamRequest { - - /** - * Gets the contents of this stream - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the contents of this stream - * - * @return the stream that the caller needs to close - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - InputStream get() throws ClientException; - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @param callback the callback to be called after success or failure - */ - void put(final byte[] fileContents, final ICallback callback); - - /** - * Uploads to the stream - * - * @param fileContents the contents of the stream to upload - * @return the result of the upload - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Thumbnail put(final byte[] fileContents) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequestBuilder.java deleted file mode 100644 index e92ceacc6f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseThumbnailStreamRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IThumbnailStreamRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Thumbnail Stream Request Builder. - */ -public interface IBaseThumbnailStreamRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IThumbnailStreamRequest instance - */ - IThumbnailStreamRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IThumbnailStreamRequest instance - */ - IThumbnailStreamRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionPage.java deleted file mode 100644 index 048b04d413c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Trending Collection Page. - */ -public interface IBaseTrendingCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequest.java deleted file mode 100644 index 5ba9316cd73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Trending Collection Request. - */ -public interface IBaseTrendingCollectionRequest { - - void get(final ICallback callback); - - ITrendingCollectionPage get() throws ClientException; - - void post(final Trending newTrending, final ICallback callback); - - Trending post(final Trending newTrending) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - ITrendingCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - ITrendingCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - ITrendingCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequestBuilder.java deleted file mode 100644 index 08d5f1de651..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Trending Collection Request Builder. - */ -public interface IBaseTrendingCollectionRequestBuilder extends IRequestBuilder { - - ITrendingCollectionRequest buildRequest(); - - ITrendingCollectionRequest buildRequest(final java.util.List requestOptions); - - ITrendingRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequest.java deleted file mode 100644 index 322698cd120..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Trending; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Trending Request. - */ -public interface IBaseTrendingRequest extends IHttpRequest { - - /** - * Gets the Trending from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Trending from the service - * - * @return the Trending from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Trending get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Trending with a source - * - * @param sourceTrending the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Trending sourceTrending, final ICallback callback); - - /** - * Patches this Trending with a source - * - * @param sourceTrending the source object with updates - * @return the updated Trending - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Trending patch(final Trending sourceTrending) throws ClientException; - - /** - * Posts a Trending with a new object - * - * @param newTrending the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Trending newTrending, final ICallback callback); - - /** - * Posts a Trending with a new object - * - * @param newTrending the new object to create - * @return the created Trending - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Trending post(final Trending newTrending) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseTrendingRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseTrendingRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequestBuilder.java deleted file mode 100644 index cfa69306108..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseTrendingRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.ITrendingRequest; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Trending Request Builder. - */ -public interface IBaseTrendingRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the ITrendingRequest instance - */ - ITrendingRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the ITrendingRequest instance - */ - ITrendingRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - IEntityWithReferenceRequestBuilder resource(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionPage.java deleted file mode 100644 index af44e92d6a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Used Insight Collection Page. - */ -public interface IBaseUsedInsightCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequest.java deleted file mode 100644 index dddd9d27499..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Used Insight Collection Request. - */ -public interface IBaseUsedInsightCollectionRequest { - - void get(final ICallback callback); - - IUsedInsightCollectionPage get() throws ClientException; - - void post(final UsedInsight newUsedInsight, final ICallback callback); - - UsedInsight post(final UsedInsight newUsedInsight) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUsedInsightCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUsedInsightCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUsedInsightCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequestBuilder.java deleted file mode 100644 index ccde313f3e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Used Insight Collection Request Builder. - */ -public interface IBaseUsedInsightCollectionRequestBuilder extends IRequestBuilder { - - IUsedInsightCollectionRequest buildRequest(); - - IUsedInsightCollectionRequest buildRequest(final java.util.List requestOptions); - - IUsedInsightRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequest.java deleted file mode 100644 index 863341cf107..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UsedInsight; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Used Insight Request. - */ -public interface IBaseUsedInsightRequest extends IHttpRequest { - - /** - * Gets the UsedInsight from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the UsedInsight from the service - * - * @return the UsedInsight from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UsedInsight get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this UsedInsight with a source - * - * @param sourceUsedInsight the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final UsedInsight sourceUsedInsight, final ICallback callback); - - /** - * Patches this UsedInsight with a source - * - * @param sourceUsedInsight the source object with updates - * @return the updated UsedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UsedInsight patch(final UsedInsight sourceUsedInsight) throws ClientException; - - /** - * Posts a UsedInsight with a new object - * - * @param newUsedInsight the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final UsedInsight newUsedInsight, final ICallback callback); - - /** - * Posts a UsedInsight with a new object - * - * @param newUsedInsight the new object to create - * @return the created UsedInsight - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UsedInsight post(final UsedInsight newUsedInsight) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUsedInsightRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUsedInsightRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequestBuilder.java deleted file mode 100644 index dfdc21731f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUsedInsightRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUsedInsightRequest; -import com.microsoft.graph.requests.extensions.IEntityWithReferenceRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Used Insight Request Builder. - */ -public interface IBaseUsedInsightRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IUsedInsightRequest instance - */ - IUsedInsightRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUsedInsightRequest instance - */ - IUsedInsightRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for Entity - * - * @return the IEntityWithReferenceRequestBuilder instance - */ - IEntityWithReferenceRequestBuilder resource(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionPage.java deleted file mode 100644 index 3fef768a292..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Collection Page. - */ -public interface IBaseUserActivityCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequest.java deleted file mode 100644 index 08638dc1f0d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Collection Request. - */ -public interface IBaseUserActivityCollectionRequest { - - void get(final ICallback callback); - - IUserActivityCollectionPage get() throws ClientException; - - void post(final UserActivity newUserActivity, final ICallback callback); - - UserActivity post(final UserActivity newUserActivity) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserActivityCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserActivityCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserActivityCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequestBuilder.java deleted file mode 100644 index dc9c222e6d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Collection Request Builder. - */ -public interface IBaseUserActivityCollectionRequestBuilder extends IRequestBuilder { - - IUserActivityCollectionRequest buildRequest(); - - IUserActivityCollectionRequest buildRequest(final java.util.List requestOptions); - - IUserActivityRequestBuilder byId(final String id); - - - IUserActivityRecentCollectionRequestBuilder recent(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionPage.java deleted file mode 100644 index 8827d4bcbeb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Recent Collection Page. - */ -public interface IBaseUserActivityRecentCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequest.java deleted file mode 100644 index d33087159a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Recent Collection Request. - */ -public interface IBaseUserActivityRecentCollectionRequest { - - void get(final ICallback callback); - - IUserActivityRecentCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserActivityRecentCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserActivityRecentCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserActivityRecentCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequestBuilder.java deleted file mode 100644 index fb00b61c20d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRecentCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Recent Collection Request Builder. - */ -public interface IBaseUserActivityRecentCollectionRequestBuilder extends IRequestBuilder { - - IUserActivityRecentCollectionRequest buildRequest(); - - IUserActivityRecentCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequest.java deleted file mode 100644 index 5aa81775381..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Reference Request. - */ -public interface IBaseUserActivityReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - UserActivity delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUserActivityReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUserActivityReferenceRequest expand(final String value); - - /** - * Puts the UserActivity - * - * @param srcUserActivity the UserActivity to PUT - * @param callback the callback to be called after success or failure - */ - void put(UserActivity srcUserActivity, final ICallback callback); - - /** - * Puts the UserActivity - * - * @param srcUserActivity the UserActivity to PUT - * @return the UserActivity - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - UserActivity put(UserActivity srcUserActivity) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequestBuilder.java deleted file mode 100644 index 3c73c24372e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Reference Request Builder. - */ -public interface IBaseUserActivityReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IUserActivityReferenceRequest instance - */ - IUserActivityReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserActivityReferenceRequest instance - */ - IUserActivityReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequest.java deleted file mode 100644 index 28e435ffed7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserActivity; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Request. - */ -public interface IBaseUserActivityRequest extends IHttpRequest { - - /** - * Gets the UserActivity from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the UserActivity from the service - * - * @return the UserActivity from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserActivity get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this UserActivity with a source - * - * @param sourceUserActivity the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final UserActivity sourceUserActivity, final ICallback callback); - - /** - * Patches this UserActivity with a source - * - * @param sourceUserActivity the source object with updates - * @return the updated UserActivity - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserActivity patch(final UserActivity sourceUserActivity) throws ClientException; - - /** - * Posts a UserActivity with a new object - * - * @param newUserActivity the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final UserActivity newUserActivity, final ICallback callback); - - /** - * Posts a UserActivity with a new object - * - * @param newUserActivity the new object to create - * @return the created UserActivity - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserActivity post(final UserActivity newUserActivity) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUserActivityRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUserActivityRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequestBuilder.java deleted file mode 100644 index 7e5bd479a1f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserActivityRequest; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IActivityHistoryItemRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity Request Builder. - */ -public interface IBaseUserActivityRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IUserActivityRequest instance - */ - IUserActivityRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserActivityRequest instance - */ - IUserActivityRequest buildRequest(final java.util.List requestOptions); - - IActivityHistoryItemCollectionRequestBuilder historyItems(); - - IActivityHistoryItemRequestBuilder historyItems(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequest.java deleted file mode 100644 index 27640955b12..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity With Reference Request. - */ -public interface IBaseUserActivityWithReferenceRequest extends IHttpRequest { - - void post(final UserActivity newUserActivity, final IJsonBackedObject payload, final ICallback callback); - - UserActivity post(final UserActivity newUserActivity, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - UserActivity get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final UserActivity sourceUserActivity, final ICallback callback); - - UserActivity patch(final UserActivity sourceUserActivity) throws ClientException; - - IBaseUserActivityWithReferenceRequest select(final String value); - - IBaseUserActivityWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequestBuilder.java deleted file mode 100644 index fbd324be44b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserActivityWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Activity With Reference Request Builder. - */ -public interface IBaseUserActivityWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IUserActivityWithReferenceRequest instance - */ - IUserActivityWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserActivityWithReferenceRequest instance - */ - IUserActivityWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IUserActivityReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequest.java deleted file mode 100644 index 5cf4f346b98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Assign License Request. - */ -public interface IBaseUserAssignLicenseRequest { - - void post(final ICallback callback); - - User post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserAssignLicenseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserAssignLicenseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserAssignLicenseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequestBuilder.java deleted file mode 100644 index fd981256334..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserAssignLicenseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Assign License Request Builder. - */ -public interface IBaseUserAssignLicenseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserAssignLicenseRequest - * - * @return the IUserAssignLicenseRequest instance - */ - IUserAssignLicenseRequest buildRequest(); - - /** - * Creates the IUserAssignLicenseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserAssignLicenseRequest instance - */ - IUserAssignLicenseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequest.java deleted file mode 100644 index 58799eb6dc5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Change Password Request. - */ -public interface IBaseUserChangePasswordRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserChangePasswordRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserChangePasswordRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserChangePasswordRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequestBuilder.java deleted file mode 100644 index 36bb3ec6ad6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserChangePasswordRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserChangePasswordRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Change Password Request Builder. - */ -public interface IBaseUserChangePasswordRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserChangePasswordRequest - * - * @return the IUserChangePasswordRequest instance - */ - IUserChangePasswordRequest buildRequest(); - - /** - * Creates the IUserChangePasswordRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserChangePasswordRequest instance - */ - IUserChangePasswordRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionPage.java deleted file mode 100644 index 136f757f930..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Collection Page. - */ -public interface IBaseUserCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequest.java deleted file mode 100644 index 8d4ddf03641..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Collection Request. - */ -public interface IBaseUserCollectionRequest { - - void get(final ICallback callback); - - IUserCollectionPage get() throws ClientException; - - void post(final User newUser, final ICallback callback); - - User post(final User newUser) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequestBuilder.java deleted file mode 100644 index 89c4d2d94a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Collection Request Builder. - */ -public interface IBaseUserCollectionRequestBuilder extends IRequestBuilder { - - IUserCollectionRequest buildRequest(); - - IUserCollectionRequest buildRequest(final java.util.List requestOptions); - - IUserRequestBuilder byId(final String id); - - - IUserDeltaCollectionRequestBuilder delta(); - - IUserDeltaCollectionRequestBuilder delta(final String deltaLink); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionPage.java deleted file mode 100644 index 48f2c512708..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionPage.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Delta Collection Page. - */ -public interface IBaseUserDeltaCollectionPage extends IBaseCollectionPage { - /** - * The deltaLink to make future delta requests - * - * @return String The deltaLink URL - */ - public String deltaLink(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequest.java deleted file mode 100644 index f6c68991128..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Delta Collection Request. - */ -public interface IBaseUserDeltaCollectionRequest { - - void get(final ICallback callback); - - IUserDeltaCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserDeltaCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserDeltaCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserDeltaCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequestBuilder.java deleted file mode 100644 index 2c5bf93aebb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserDeltaCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Delta Collection Request Builder. - */ -public interface IBaseUserDeltaCollectionRequestBuilder extends IRequestBuilder { - - IUserDeltaCollectionRequest buildRequest(); - - IUserDeltaCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequest.java deleted file mode 100644 index 7f445a55214..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Export Personal Data Request. - */ -public interface IBaseUserExportPersonalDataRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserExportPersonalDataRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserExportPersonalDataRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserExportPersonalDataRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequestBuilder.java deleted file mode 100644 index 4e298dae8d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserExportPersonalDataRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Export Personal Data Request Builder. - */ -public interface IBaseUserExportPersonalDataRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserExportPersonalDataRequest - * - * @return the IUserExportPersonalDataRequest instance - */ - IUserExportPersonalDataRequest buildRequest(); - - /** - * Creates the IUserExportPersonalDataRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserExportPersonalDataRequest instance - */ - IUserExportPersonalDataRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequest.java deleted file mode 100644 index 9d143dbefba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.MeetingTimeSuggestionsResult; -import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Find Meeting Times Request. - */ -public interface IBaseUserFindMeetingTimesRequest { - - void post(final ICallback callback); - - MeetingTimeSuggestionsResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserFindMeetingTimesRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserFindMeetingTimesRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserFindMeetingTimesRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequestBuilder.java deleted file mode 100644 index 61537fe50ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserFindMeetingTimesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Find Meeting Times Request Builder. - */ -public interface IBaseUserFindMeetingTimesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserFindMeetingTimesRequest - * - * @return the IUserFindMeetingTimesRequest instance - */ - IUserFindMeetingTimesRequest buildRequest(); - - /** - * Creates the IUserFindMeetingTimesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserFindMeetingTimesRequest instance - */ - IUserFindMeetingTimesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionPage.java deleted file mode 100644 index e539c0ed222..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Mail Tips Collection Page. - */ -public interface IBaseUserGetMailTipsCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequest.java deleted file mode 100644 index 5626fafd957..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Mail Tips Collection Request. - */ -public interface IBaseUserGetMailTipsCollectionRequest { - - void post(final ICallback callback); - - IUserGetMailTipsCollectionPage post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserGetMailTipsCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserGetMailTipsCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserGetMailTipsCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequestBuilder.java deleted file mode 100644 index 24c721255c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetMailTipsCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Mail Tips Collection Request Builder. - */ -public interface IBaseUserGetMailTipsCollectionRequestBuilder extends IRequestBuilder { - - IUserGetMailTipsCollectionRequest buildRequest(); - - IUserGetMailTipsCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionPage.java deleted file mode 100644 index a9f05ffbd34..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Managed App Diagnostic Statuses Collection Page. - */ -public interface IBaseUserGetManagedAppDiagnosticStatusesCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java deleted file mode 100644 index ea27605d910..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Managed App Diagnostic Statuses Collection Request. - */ -public interface IBaseUserGetManagedAppDiagnosticStatusesCollectionRequest { - - void get(final ICallback callback); - - IUserGetManagedAppDiagnosticStatusesCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserGetManagedAppDiagnosticStatusesCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserGetManagedAppDiagnosticStatusesCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserGetManagedAppDiagnosticStatusesCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java deleted file mode 100644 index 865682971ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Managed App Diagnostic Statuses Collection Request Builder. - */ -public interface IBaseUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder extends IRequestBuilder { - - IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest(); - - IUserGetManagedAppDiagnosticStatusesCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionPage.java deleted file mode 100644 index 30eb7ce0a0b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Managed App Policies Collection Page. - */ -public interface IBaseUserGetManagedAppPoliciesCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequest.java deleted file mode 100644 index a8c364c3420..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Managed App Policies Collection Request. - */ -public interface IBaseUserGetManagedAppPoliciesCollectionRequest { - - void get(final ICallback callback); - - IUserGetManagedAppPoliciesCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserGetManagedAppPoliciesCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserGetManagedAppPoliciesCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserGetManagedAppPoliciesCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequestBuilder.java deleted file mode 100644 index 77f7283ba91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserGetManagedAppPoliciesCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Get Managed App Policies Collection Request Builder. - */ -public interface IBaseUserGetManagedAppPoliciesCollectionRequestBuilder extends IRequestBuilder { - - IUserGetManagedAppPoliciesCollectionRequest buildRequest(); - - IUserGetManagedAppPoliciesCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionPage.java deleted file mode 100644 index c1f4d3a2eb8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Install State Summary Collection Page. - */ -public interface IBaseUserInstallStateSummaryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequest.java deleted file mode 100644 index 9039861a2be..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Install State Summary Collection Request. - */ -public interface IBaseUserInstallStateSummaryCollectionRequest { - - void get(final ICallback callback); - - IUserInstallStateSummaryCollectionPage get() throws ClientException; - - void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback); - - UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserInstallStateSummaryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserInstallStateSummaryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserInstallStateSummaryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequestBuilder.java deleted file mode 100644 index 273fc800800..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Install State Summary Collection Request Builder. - */ -public interface IBaseUserInstallStateSummaryCollectionRequestBuilder extends IRequestBuilder { - - IUserInstallStateSummaryCollectionRequest buildRequest(); - - IUserInstallStateSummaryCollectionRequest buildRequest(final java.util.List requestOptions); - - IUserInstallStateSummaryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequest.java deleted file mode 100644 index 04df1c37559..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserInstallStateSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Install State Summary Request. - */ -public interface IBaseUserInstallStateSummaryRequest extends IHttpRequest { - - /** - * Gets the UserInstallStateSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the UserInstallStateSummary from the service - * - * @return the UserInstallStateSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserInstallStateSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this UserInstallStateSummary with a source - * - * @param sourceUserInstallStateSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final UserInstallStateSummary sourceUserInstallStateSummary, final ICallback callback); - - /** - * Patches this UserInstallStateSummary with a source - * - * @param sourceUserInstallStateSummary the source object with updates - * @return the updated UserInstallStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserInstallStateSummary patch(final UserInstallStateSummary sourceUserInstallStateSummary) throws ClientException; - - /** - * Posts a UserInstallStateSummary with a new object - * - * @param newUserInstallStateSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback); - - /** - * Posts a UserInstallStateSummary with a new object - * - * @param newUserInstallStateSummary the new object to create - * @return the created UserInstallStateSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUserInstallStateSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUserInstallStateSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequestBuilder.java deleted file mode 100644 index 35b90e3b154..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserInstallStateSummaryRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserInstallStateSummaryRequest; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceInstallStateRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Install State Summary Request Builder. - */ -public interface IBaseUserInstallStateSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IUserInstallStateSummaryRequest instance - */ - IUserInstallStateSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserInstallStateSummaryRequest instance - */ - IUserInstallStateSummaryRequest buildRequest(final java.util.List requestOptions); - - IDeviceInstallStateCollectionRequestBuilder deviceStates(); - - IDeviceInstallStateRequestBuilder deviceStates(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequest.java deleted file mode 100644 index aad895438f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequest.java +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Reference Request. - */ -public interface IBaseUserReferenceRequest extends IHttpRequest { - - void delete(final ICallback callback); - - User delete() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUserReferenceRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUserReferenceRequest expand(final String value); - - /** - * Puts the User - * - * @param srcUser the User to PUT - * @param callback the callback to be called after success or failure - */ - void put(User srcUser, final ICallback callback); - - /** - * Puts the User - * - * @param srcUser the User to PUT - * @return the User - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - User put(User srcUser) throws ClientException; -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequestBuilder.java deleted file mode 100644 index ad2fb5577f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReferenceRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Reference Request Builder. - */ -public interface IBaseUserReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IUserReferenceRequest instance - */ - IUserReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserReferenceRequest instance - */ - IUserReferenceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionPage.java deleted file mode 100644 index d898e116ba9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Reminder View Collection Page. - */ -public interface IBaseUserReminderViewCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequest.java deleted file mode 100644 index 05f85a3a0ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequest.java +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; -import com.google.gson.annotations.*; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Reminder View Collection Request. - */ -public interface IBaseUserReminderViewCollectionRequest { - - void get(final ICallback callback); - - IUserReminderViewCollectionPage get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserReminderViewCollectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserReminderViewCollectionRequest expand(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserReminderViewCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequestBuilder.java deleted file mode 100644 index aae69441ae9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserReminderViewCollectionRequestBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Reminder View Collection Request Builder. - */ -public interface IBaseUserReminderViewCollectionRequestBuilder extends IRequestBuilder { - - IUserReminderViewCollectionRequest buildRequest(); - - IUserReminderViewCollectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequest.java deleted file mode 100644 index 9de54f04878..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Remove All Devices From Management Request. - */ -public interface IBaseUserRemoveAllDevicesFromManagementRequest { - - /** - * Creates the UserRemoveAllDevicesFromManagement - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the UserRemoveAllDevicesFromManagement - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequestBuilder.java deleted file mode 100644 index d2e663f720b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRemoveAllDevicesFromManagementRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Remove All Devices From Management Request Builder. - */ -public interface IBaseUserRemoveAllDevicesFromManagementRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserRemoveAllDevicesFromManagementRequest - * - * @return the IUserRemoveAllDevicesFromManagementRequest instance - */ - IUserRemoveAllDevicesFromManagementRequest buildRequest(); - - /** - * Creates the IUserRemoveAllDevicesFromManagementRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserRemoveAllDevicesFromManagementRequest instance - */ - IUserRemoveAllDevicesFromManagementRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequest.java deleted file mode 100644 index e1d84856b2c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.User; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Request. - */ -public interface IBaseUserRequest extends IHttpRequest { - - /** - * Gets the User from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the User from the service - * - * @return the User from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - User get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this User with a source - * - * @param sourceUser the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final User sourceUser, final ICallback callback); - - /** - * Patches this User with a source - * - * @param sourceUser the source object with updates - * @return the updated User - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - User patch(final User sourceUser) throws ClientException; - - /** - * Posts a User with a new object - * - * @param newUser the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final User newUser, final ICallback callback); - - /** - * Posts a User with a new object - * - * @param newUser the new object to create - * @return the created User - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - User post(final User newUser) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUserRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUserRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequestBuilder.java deleted file mode 100644 index b1177782428..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserRequestBuilder.java +++ /dev/null @@ -1,289 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserRequest; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.ILicenseDetailsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ILicenseDetailsRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOutlookUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMessageRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IMailFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ICalendarGroupRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IPersonCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPersonRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContactFolderRequestBuilder; -import com.microsoft.graph.requests.extensions.IInferenceClassificationRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProfilePhotoRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDriveRequestBuilder; -import com.microsoft.graph.requests.extensions.IPlannerUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnenoteRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationCollectionWithReferencesRequestBuilder; -import com.microsoft.graph.requests.extensions.IManagedAppRegistrationWithReferenceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDeviceManagementTroubleshootingEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserActivityCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserActivityRequestBuilder; -import com.microsoft.graph.requests.extensions.IOfficeGraphInsightsRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserSettingsRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; -import com.microsoft.graph.models.extensions.AssignedLicense; -import com.microsoft.graph.requests.extensions.IUserAssignLicenseRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserChangePasswordRequestBuilder; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.requests.extensions.IUserSendMailRequestBuilder; -import com.microsoft.graph.models.extensions.AttendeeBase; -import com.microsoft.graph.models.extensions.LocationConstraint; -import com.microsoft.graph.models.extensions.TimeConstraint; -import com.microsoft.graph.requests.extensions.IUserFindMeetingTimesRequestBuilder; -import com.microsoft.graph.models.generated.MailTipsType; -import com.microsoft.graph.requests.extensions.IUserGetMailTipsCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserRemoveAllDevicesFromManagementRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserExportPersonalDataRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserReminderViewCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IUserGetManagedAppPoliciesCollectionRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Request Builder. - */ -public interface IBaseUserRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IUserRequest instance - */ - IUserRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserRequest instance - */ - IUserRequest buildRequest(final java.util.List requestOptions); - - IDirectoryObjectCollectionWithReferencesRequestBuilder ownedDevices(); - - IDirectoryObjectWithReferenceRequestBuilder ownedDevices(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder registeredDevices(); - - IDirectoryObjectWithReferenceRequestBuilder registeredDevices(final String id); - - /** - * Gets the request builder for DirectoryObject - * - * @return the IDirectoryObjectWithReferenceRequestBuilder instance - */ - IDirectoryObjectWithReferenceRequestBuilder manager(); - - IDirectoryObjectCollectionWithReferencesRequestBuilder directReports(); - - IDirectoryObjectWithReferenceRequestBuilder directReports(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder memberOf(); - - IDirectoryObjectWithReferenceRequestBuilder memberOf(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder createdObjects(); - - IDirectoryObjectWithReferenceRequestBuilder createdObjects(final String id); - - IDirectoryObjectCollectionWithReferencesRequestBuilder ownedObjects(); - - IDirectoryObjectWithReferenceRequestBuilder ownedObjects(final String id); - - ILicenseDetailsCollectionRequestBuilder licenseDetails(); - - ILicenseDetailsRequestBuilder licenseDetails(final String id); - - IExtensionCollectionRequestBuilder extensions(); - - IExtensionRequestBuilder extensions(final String id); - - /** - * Gets the request builder for OutlookUser - * - * @return the IOutlookUserRequestBuilder instance - */ - IOutlookUserRequestBuilder outlook(); - - IMessageCollectionRequestBuilder messages(); - - IMessageRequestBuilder messages(final String id); - - IMailFolderCollectionRequestBuilder mailFolders(); - - IMailFolderRequestBuilder mailFolders(final String id); - - /** - * Gets the request builder for Calendar - * - * @return the ICalendarRequestBuilder instance - */ - ICalendarRequestBuilder calendar(); - - ICalendarCollectionRequestBuilder calendars(); - - ICalendarRequestBuilder calendars(final String id); - - ICalendarGroupCollectionRequestBuilder calendarGroups(); - - ICalendarGroupRequestBuilder calendarGroups(final String id); - - IEventCollectionRequestBuilder calendarView(); - - IEventRequestBuilder calendarView(final String id); - - IEventCollectionRequestBuilder events(); - - IEventRequestBuilder events(final String id); - - IPersonCollectionRequestBuilder people(); - - IPersonRequestBuilder people(final String id); - - IContactCollectionRequestBuilder contacts(); - - IContactRequestBuilder contacts(final String id); - - IContactFolderCollectionRequestBuilder contactFolders(); - - IContactFolderRequestBuilder contactFolders(final String id); - - /** - * Gets the request builder for InferenceClassification - * - * @return the IInferenceClassificationRequestBuilder instance - */ - IInferenceClassificationRequestBuilder inferenceClassification(); - - /** - * Gets the request builder for ProfilePhoto - * - * @return the IProfilePhotoRequestBuilder instance - */ - IProfilePhotoRequestBuilder photo(); - - IProfilePhotoCollectionRequestBuilder photos(); - - IProfilePhotoRequestBuilder photos(final String id); - - /** - * Gets the request builder for Drive - * - * @return the IDriveRequestBuilder instance - */ - IDriveRequestBuilder drive(); - - IDriveCollectionRequestBuilder drives(); - - IDriveRequestBuilder drives(final String id); - - /** - * Gets the request builder for PlannerUser - * - * @return the IPlannerUserRequestBuilder instance - */ - IPlannerUserRequestBuilder planner(); - - /** - * Gets the request builder for Onenote - * - * @return the IOnenoteRequestBuilder instance - */ - IOnenoteRequestBuilder onenote(); - - IManagedDeviceCollectionRequestBuilder managedDevices(); - - IManagedDeviceRequestBuilder managedDevices(final String id); - - IManagedAppRegistrationCollectionWithReferencesRequestBuilder managedAppRegistrations(); - - IManagedAppRegistrationWithReferenceRequestBuilder managedAppRegistrations(final String id); - - IDeviceManagementTroubleshootingEventCollectionRequestBuilder deviceManagementTroubleshootingEvents(); - - IDeviceManagementTroubleshootingEventRequestBuilder deviceManagementTroubleshootingEvents(final String id); - - IUserActivityCollectionRequestBuilder activities(); - - IUserActivityRequestBuilder activities(final String id); - - /** - * Gets the request builder for OfficeGraphInsights - * - * @return the IOfficeGraphInsightsRequestBuilder instance - */ - IOfficeGraphInsightsRequestBuilder insights(); - - /** - * Gets the request builder for UserSettings - * - * @return the IUserSettingsRequestBuilder instance - */ - IUserSettingsRequestBuilder settings(); - - IGroupCollectionRequestBuilder joinedTeams(); - - IGroupRequestBuilder joinedTeams(final String id); - IUserAssignLicenseRequestBuilder assignLicense(final java.util.List addLicenses, final java.util.List removeLicenses); - IUserChangePasswordRequestBuilder changePassword(final String currentPassword, final String newPassword); - IUserSendMailRequestBuilder sendMail(final Message message, final Boolean saveToSentItems); - IUserFindMeetingTimesRequestBuilder findMeetingTimes(final java.util.List attendees, final LocationConstraint locationConstraint, final TimeConstraint timeConstraint, final javax.xml.datatype.Duration meetingDuration, final Integer maxCandidates, final Boolean isOrganizerOptional, final Boolean returnSuggestionReasons, final Double minimumAttendeePercentage); - - IUserGetMailTipsCollectionRequestBuilder getMailTips(final java.util.List emailAddresses, final EnumSet mailTipsOptions); - IUserRemoveAllDevicesFromManagementRequestBuilder removeAllDevicesFromManagement(); - IUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder wipeManagedAppRegistrationsByDeviceTag(final String deviceTag); - IUserExportPersonalDataRequestBuilder exportPersonalData(final String storageLocation); - - IUserReminderViewCollectionRequestBuilder reminderView(final String startDateTime, final String endDateTime); - - IUserGetManagedAppDiagnosticStatusesCollectionRequestBuilder getManagedAppDiagnosticStatuses(); - - IUserGetManagedAppPoliciesCollectionRequestBuilder getManagedAppPolicies(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequest.java deleted file mode 100644 index 15455b50281..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserSendMailRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Send Mail Request. - */ -public interface IBaseUserSendMailRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserSendMailRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserSendMailRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserSendMailRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequestBuilder.java deleted file mode 100644 index 53d5c5b8171..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSendMailRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserSendMailRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Send Mail Request Builder. - */ -public interface IBaseUserSendMailRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserSendMailRequest - * - * @return the IUserSendMailRequest instance - */ - IUserSendMailRequest buildRequest(); - - /** - * Creates the IUserSendMailRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserSendMailRequest instance - */ - IUserSendMailRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequest.java deleted file mode 100644 index eab63253bd4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.UserSettings; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Settings Request. - */ -public interface IBaseUserSettingsRequest extends IHttpRequest { - - /** - * Gets the UserSettings from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the UserSettings from the service - * - * @return the UserSettings from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserSettings get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this UserSettings with a source - * - * @param sourceUserSettings the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final UserSettings sourceUserSettings, final ICallback callback); - - /** - * Patches this UserSettings with a source - * - * @param sourceUserSettings the source object with updates - * @return the updated UserSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserSettings patch(final UserSettings sourceUserSettings) throws ClientException; - - /** - * Posts a UserSettings with a new object - * - * @param newUserSettings the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final UserSettings newUserSettings, final ICallback callback); - - /** - * Posts a UserSettings with a new object - * - * @param newUserSettings the new object to create - * @return the created UserSettings - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - UserSettings post(final UserSettings newUserSettings) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseUserSettingsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseUserSettingsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequestBuilder.java deleted file mode 100644 index 10e667d9ef4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserSettingsRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserSettingsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Settings Request Builder. - */ -public interface IBaseUserSettingsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IUserSettingsRequest instance - */ - IUserSettingsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserSettingsRequest instance - */ - IUserSettingsRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java deleted file mode 100644 index 4bf47b991a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Wipe Managed App Registrations By Device Tag Request. - */ -public interface IBaseUserWipeManagedAppRegistrationsByDeviceTagRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IUserWipeManagedAppRegistrationsByDeviceTagRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IUserWipeManagedAppRegistrationsByDeviceTagRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IUserWipeManagedAppRegistrationsByDeviceTagRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java deleted file mode 100644 index d8bd0ceedd2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IUserWipeManagedAppRegistrationsByDeviceTagRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User Wipe Managed App Registrations By Device Tag Request Builder. - */ -public interface IBaseUserWipeManagedAppRegistrationsByDeviceTagRequestBuilder extends IRequestBuilder { - - /** - * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest - * - * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance - */ - IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest(); - - /** - * Creates the IUserWipeManagedAppRegistrationsByDeviceTagRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IUserWipeManagedAppRegistrationsByDeviceTagRequest instance - */ - IUserWipeManagedAppRegistrationsByDeviceTagRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequest.java deleted file mode 100644 index 231591f8209..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User With Reference Request. - */ -public interface IBaseUserWithReferenceRequest extends IHttpRequest { - - void post(final User newUser, final IJsonBackedObject payload, final ICallback callback); - - User post(final User newUser, final IJsonBackedObject payload) throws ClientException; - - void get(final ICallback callback); - - User get() throws ClientException; - - void delete(final ICallback callback); - - void delete() throws ClientException; - - void patch(final User sourceUser, final ICallback callback); - - User patch(final User sourceUser) throws ClientException; - - IBaseUserWithReferenceRequest select(final String value); - - IBaseUserWithReferenceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequestBuilder.java deleted file mode 100644 index 6ddfc957deb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseUserWithReferenceRequestBuilder.java +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base User With Reference Request Builder. - */ -public interface IBaseUserWithReferenceRequestBuilder extends IRequestBuilder { - - /** - * Creates the request - * - * @return the IUserWithReferenceRequest instance - */ - IUserWithReferenceRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IUserWithReferenceRequest instance - */ - IUserWithReferenceRequest buildRequest(final java.util.List requestOptions); - - IUserReferenceRequestBuilder reference(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionPage.java deleted file mode 100644 index a0eadbc8184..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Collection Page. - */ -public interface IBaseVppTokenCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequest.java deleted file mode 100644 index 82a14c5e23a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Collection Request. - */ -public interface IBaseVppTokenCollectionRequest { - - void get(final ICallback callback); - - IVppTokenCollectionPage get() throws ClientException; - - void post(final VppToken newVppToken, final ICallback callback); - - VppToken post(final VppToken newVppToken) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IVppTokenCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IVppTokenCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IVppTokenCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequestBuilder.java deleted file mode 100644 index 20bc9d1aa5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Collection Request Builder. - */ -public interface IBaseVppTokenCollectionRequestBuilder extends IRequestBuilder { - - IVppTokenCollectionRequest buildRequest(); - - IVppTokenCollectionRequest buildRequest(final java.util.List requestOptions); - - IVppTokenRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequest.java deleted file mode 100644 index c7456e30174..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.VppToken; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Request. - */ -public interface IBaseVppTokenRequest extends IHttpRequest { - - /** - * Gets the VppToken from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the VppToken from the service - * - * @return the VppToken from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - VppToken get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this VppToken with a source - * - * @param sourceVppToken the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final VppToken sourceVppToken, final ICallback callback); - - /** - * Patches this VppToken with a source - * - * @param sourceVppToken the source object with updates - * @return the updated VppToken - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - VppToken patch(final VppToken sourceVppToken) throws ClientException; - - /** - * Posts a VppToken with a new object - * - * @param newVppToken the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final VppToken newVppToken, final ICallback callback); - - /** - * Posts a VppToken with a new object - * - * @param newVppToken the new object to create - * @return the created VppToken - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - VppToken post(final VppToken newVppToken) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseVppTokenRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseVppTokenRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequestBuilder.java deleted file mode 100644 index bee186d18c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IVppTokenRequest; -import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Request Builder. - */ -public interface IBaseVppTokenRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IVppTokenRequest instance - */ - IVppTokenRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IVppTokenRequest instance - */ - IVppTokenRequest buildRequest(final java.util.List requestOptions); - IVppTokenSyncLicensesRequestBuilder syncLicenses(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequest.java deleted file mode 100644 index cd7b8e9aa31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.VppToken; -import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Sync Licenses Request. - */ -public interface IBaseVppTokenSyncLicensesRequest { - - /** - * Creates the VppTokenSyncLicenses - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the VppTokenSyncLicenses - * - * @return the VppToken - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - VppToken post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IVppTokenSyncLicensesRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IVppTokenSyncLicensesRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequestBuilder.java deleted file mode 100644 index 5739b72b364..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseVppTokenSyncLicensesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IVppTokenSyncLicensesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Vpp Token Sync Licenses Request Builder. - */ -public interface IBaseVppTokenSyncLicensesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IVppTokenSyncLicensesRequest - * - * @return the IVppTokenSyncLicensesRequest instance - */ - IVppTokenSyncLicensesRequest buildRequest(); - - /** - * Creates the IVppTokenSyncLicensesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IVppTokenSyncLicensesRequest instance - */ - IVppTokenSyncLicensesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequest.java deleted file mode 100644 index 7cd8a52e4f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WebApp; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Web App Request. - */ -public interface IBaseWebAppRequest extends IHttpRequest { - - /** - * Gets the WebApp from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WebApp from the service - * - * @return the WebApp from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WebApp get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WebApp with a source - * - * @param sourceWebApp the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WebApp sourceWebApp, final ICallback callback); - - /** - * Patches this WebApp with a source - * - * @param sourceWebApp the source object with updates - * @return the updated WebApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WebApp patch(final WebApp sourceWebApp) throws ClientException; - - /** - * Posts a WebApp with a new object - * - * @param newWebApp the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WebApp newWebApp, final ICallback callback); - - /** - * Posts a WebApp with a new object - * - * @param newWebApp the new object to create - * @return the created WebApp - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WebApp post(final WebApp newWebApp) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWebAppRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWebAppRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequestBuilder.java deleted file mode 100644 index bb505f41106..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWebAppRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWebAppRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Web App Request Builder. - */ -public interface IBaseWebAppRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWebAppRequest instance - */ - IWebAppRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWebAppRequest instance - */ - IWebAppRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequest.java deleted file mode 100644 index 12f9b149d3b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10CompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Compliance Policy Request. - */ -public interface IBaseWindows10CompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the Windows10CompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10CompliancePolicy from the service - * - * @return the Windows10CompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10CompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10CompliancePolicy with a source - * - * @param sourceWindows10CompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy, final ICallback callback); - - /** - * Patches this Windows10CompliancePolicy with a source - * - * @param sourceWindows10CompliancePolicy the source object with updates - * @return the updated Windows10CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10CompliancePolicy patch(final Windows10CompliancePolicy sourceWindows10CompliancePolicy) throws ClientException; - - /** - * Posts a Windows10CompliancePolicy with a new object - * - * @param newWindows10CompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10CompliancePolicy newWindows10CompliancePolicy, final ICallback callback); - - /** - * Posts a Windows10CompliancePolicy with a new object - * - * @param newWindows10CompliancePolicy the new object to create - * @return the created Windows10CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10CompliancePolicy post(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10CompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10CompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequestBuilder.java deleted file mode 100644 index b86f45ccf11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10CompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Compliance Policy Request Builder. - */ -public interface IBaseWindows10CompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10CompliancePolicyRequest instance - */ - IWindows10CompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10CompliancePolicyRequest instance - */ - IWindows10CompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequest.java deleted file mode 100644 index 97738e9f4ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10CustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Custom Configuration Request. - */ -public interface IBaseWindows10CustomConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows10CustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10CustomConfiguration from the service - * - * @return the Windows10CustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10CustomConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10CustomConfiguration with a source - * - * @param sourceWindows10CustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration, final ICallback callback); - - /** - * Patches this Windows10CustomConfiguration with a source - * - * @param sourceWindows10CustomConfiguration the source object with updates - * @return the updated Windows10CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10CustomConfiguration patch(final Windows10CustomConfiguration sourceWindows10CustomConfiguration) throws ClientException; - - /** - * Posts a Windows10CustomConfiguration with a new object - * - * @param newWindows10CustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10CustomConfiguration newWindows10CustomConfiguration, final ICallback callback); - - /** - * Posts a Windows10CustomConfiguration with a new object - * - * @param newWindows10CustomConfiguration the new object to create - * @return the created Windows10CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10CustomConfiguration post(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10CustomConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10CustomConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequestBuilder.java deleted file mode 100644 index 59112f9578d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10CustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10CustomConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Custom Configuration Request Builder. - */ -public interface IBaseWindows10CustomConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10CustomConfigurationRequest instance - */ - IWindows10CustomConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10CustomConfigurationRequest instance - */ - IWindows10CustomConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequest.java deleted file mode 100644 index 40083f29088..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10EndpointProtectionConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Endpoint Protection Configuration Request. - */ -public interface IBaseWindows10EndpointProtectionConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows10EndpointProtectionConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10EndpointProtectionConfiguration from the service - * - * @return the Windows10EndpointProtectionConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10EndpointProtectionConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10EndpointProtectionConfiguration with a source - * - * @param sourceWindows10EndpointProtectionConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration, final ICallback callback); - - /** - * Patches this Windows10EndpointProtectionConfiguration with a source - * - * @param sourceWindows10EndpointProtectionConfiguration the source object with updates - * @return the updated Windows10EndpointProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10EndpointProtectionConfiguration patch(final Windows10EndpointProtectionConfiguration sourceWindows10EndpointProtectionConfiguration) throws ClientException; - - /** - * Posts a Windows10EndpointProtectionConfiguration with a new object - * - * @param newWindows10EndpointProtectionConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration, final ICallback callback); - - /** - * Posts a Windows10EndpointProtectionConfiguration with a new object - * - * @param newWindows10EndpointProtectionConfiguration the new object to create - * @return the created Windows10EndpointProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10EndpointProtectionConfiguration post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10EndpointProtectionConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10EndpointProtectionConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequestBuilder.java deleted file mode 100644 index 0893bb8c443..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EndpointProtectionConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10EndpointProtectionConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Endpoint Protection Configuration Request Builder. - */ -public interface IBaseWindows10EndpointProtectionConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10EndpointProtectionConfigurationRequest instance - */ - IWindows10EndpointProtectionConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10EndpointProtectionConfigurationRequest instance - */ - IWindows10EndpointProtectionConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequest.java deleted file mode 100644 index 3688accac28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10EnterpriseModernAppManagementConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Enterprise Modern App Management Configuration Request. - */ -public interface IBaseWindows10EnterpriseModernAppManagementConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10EnterpriseModernAppManagementConfiguration from the service - * - * @return the Windows10EnterpriseModernAppManagementConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10EnterpriseModernAppManagementConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source - * - * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback); - - /** - * Patches this Windows10EnterpriseModernAppManagementConfiguration with a source - * - * @param sourceWindows10EnterpriseModernAppManagementConfiguration the source object with updates - * @return the updated Windows10EnterpriseModernAppManagementConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10EnterpriseModernAppManagementConfiguration patch(final Windows10EnterpriseModernAppManagementConfiguration sourceWindows10EnterpriseModernAppManagementConfiguration) throws ClientException; - - /** - * Posts a Windows10EnterpriseModernAppManagementConfiguration with a new object - * - * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback); - - /** - * Posts a Windows10EnterpriseModernAppManagementConfiguration with a new object - * - * @param newWindows10EnterpriseModernAppManagementConfiguration the new object to create - * @return the created Windows10EnterpriseModernAppManagementConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10EnterpriseModernAppManagementConfiguration post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10EnterpriseModernAppManagementConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10EnterpriseModernAppManagementConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java deleted file mode 100644 index 8286f4242d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10EnterpriseModernAppManagementConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Enterprise Modern App Management Configuration Request Builder. - */ -public interface IBaseWindows10EnterpriseModernAppManagementConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance - */ - IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10EnterpriseModernAppManagementConfigurationRequest instance - */ - IWindows10EnterpriseModernAppManagementConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequest.java deleted file mode 100644 index 0c4b7404abd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10GeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10General Configuration Request. - */ -public interface IBaseWindows10GeneralConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows10GeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10GeneralConfiguration from the service - * - * @return the Windows10GeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10GeneralConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10GeneralConfiguration with a source - * - * @param sourceWindows10GeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration, final ICallback callback); - - /** - * Patches this Windows10GeneralConfiguration with a source - * - * @param sourceWindows10GeneralConfiguration the source object with updates - * @return the updated Windows10GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10GeneralConfiguration patch(final Windows10GeneralConfiguration sourceWindows10GeneralConfiguration) throws ClientException; - - /** - * Posts a Windows10GeneralConfiguration with a new object - * - * @param newWindows10GeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration, final ICallback callback); - - /** - * Posts a Windows10GeneralConfiguration with a new object - * - * @param newWindows10GeneralConfiguration the new object to create - * @return the created Windows10GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10GeneralConfiguration post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10GeneralConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10GeneralConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequestBuilder.java deleted file mode 100644 index c445002c147..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10GeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10GeneralConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10General Configuration Request Builder. - */ -public interface IBaseWindows10GeneralConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10GeneralConfigurationRequest instance - */ - IWindows10GeneralConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10GeneralConfigurationRequest instance - */ - IWindows10GeneralConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequest.java deleted file mode 100644 index e7ccdb052ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10MobileCompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Mobile Compliance Policy Request. - */ -public interface IBaseWindows10MobileCompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the Windows10MobileCompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10MobileCompliancePolicy from the service - * - * @return the Windows10MobileCompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10MobileCompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10MobileCompliancePolicy with a source - * - * @param sourceWindows10MobileCompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy, final ICallback callback); - - /** - * Patches this Windows10MobileCompliancePolicy with a source - * - * @param sourceWindows10MobileCompliancePolicy the source object with updates - * @return the updated Windows10MobileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10MobileCompliancePolicy patch(final Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy) throws ClientException; - - /** - * Posts a Windows10MobileCompliancePolicy with a new object - * - * @param newWindows10MobileCompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, final ICallback callback); - - /** - * Posts a Windows10MobileCompliancePolicy with a new object - * - * @param newWindows10MobileCompliancePolicy the new object to create - * @return the created Windows10MobileCompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10MobileCompliancePolicy post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10MobileCompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10MobileCompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequestBuilder.java deleted file mode 100644 index b53284a8389..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10MobileCompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10MobileCompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Mobile Compliance Policy Request Builder. - */ -public interface IBaseWindows10MobileCompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10MobileCompliancePolicyRequest instance - */ - IWindows10MobileCompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10MobileCompliancePolicyRequest instance - */ - IWindows10MobileCompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequest.java deleted file mode 100644 index 546db59c0fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10SecureAssessmentConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Secure Assessment Configuration Request. - */ -public interface IBaseWindows10SecureAssessmentConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows10SecureAssessmentConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10SecureAssessmentConfiguration from the service - * - * @return the Windows10SecureAssessmentConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10SecureAssessmentConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10SecureAssessmentConfiguration with a source - * - * @param sourceWindows10SecureAssessmentConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration, final ICallback callback); - - /** - * Patches this Windows10SecureAssessmentConfiguration with a source - * - * @param sourceWindows10SecureAssessmentConfiguration the source object with updates - * @return the updated Windows10SecureAssessmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10SecureAssessmentConfiguration patch(final Windows10SecureAssessmentConfiguration sourceWindows10SecureAssessmentConfiguration) throws ClientException; - - /** - * Posts a Windows10SecureAssessmentConfiguration with a new object - * - * @param newWindows10SecureAssessmentConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration, final ICallback callback); - - /** - * Posts a Windows10SecureAssessmentConfiguration with a new object - * - * @param newWindows10SecureAssessmentConfiguration the new object to create - * @return the created Windows10SecureAssessmentConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10SecureAssessmentConfiguration post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10SecureAssessmentConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10SecureAssessmentConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequestBuilder.java deleted file mode 100644 index d5654218868..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10SecureAssessmentConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10SecureAssessmentConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Secure Assessment Configuration Request Builder. - */ -public interface IBaseWindows10SecureAssessmentConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10SecureAssessmentConfigurationRequest instance - */ - IWindows10SecureAssessmentConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10SecureAssessmentConfigurationRequest instance - */ - IWindows10SecureAssessmentConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequest.java deleted file mode 100644 index 2c40a0c865a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows10TeamGeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Team General Configuration Request. - */ -public interface IBaseWindows10TeamGeneralConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows10TeamGeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows10TeamGeneralConfiguration from the service - * - * @return the Windows10TeamGeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10TeamGeneralConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows10TeamGeneralConfiguration with a source - * - * @param sourceWindows10TeamGeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration, final ICallback callback); - - /** - * Patches this Windows10TeamGeneralConfiguration with a source - * - * @param sourceWindows10TeamGeneralConfiguration the source object with updates - * @return the updated Windows10TeamGeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10TeamGeneralConfiguration patch(final Windows10TeamGeneralConfiguration sourceWindows10TeamGeneralConfiguration) throws ClientException; - - /** - * Posts a Windows10TeamGeneralConfiguration with a new object - * - * @param newWindows10TeamGeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration, final ICallback callback); - - /** - * Posts a Windows10TeamGeneralConfiguration with a new object - * - * @param newWindows10TeamGeneralConfiguration the new object to create - * @return the created Windows10TeamGeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows10TeamGeneralConfiguration post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows10TeamGeneralConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows10TeamGeneralConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequestBuilder.java deleted file mode 100644 index b197d32a72e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows10TeamGeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows10TeamGeneralConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows10Team General Configuration Request Builder. - */ -public interface IBaseWindows10TeamGeneralConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows10TeamGeneralConfigurationRequest instance - */ - IWindows10TeamGeneralConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows10TeamGeneralConfigurationRequest instance - */ - IWindows10TeamGeneralConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequest.java deleted file mode 100644 index 4ec7fd1cd35..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows81CompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows81Compliance Policy Request. - */ -public interface IBaseWindows81CompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the Windows81CompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows81CompliancePolicy from the service - * - * @return the Windows81CompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows81CompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows81CompliancePolicy with a source - * - * @param sourceWindows81CompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy, final ICallback callback); - - /** - * Patches this Windows81CompliancePolicy with a source - * - * @param sourceWindows81CompliancePolicy the source object with updates - * @return the updated Windows81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows81CompliancePolicy patch(final Windows81CompliancePolicy sourceWindows81CompliancePolicy) throws ClientException; - - /** - * Posts a Windows81CompliancePolicy with a new object - * - * @param newWindows81CompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows81CompliancePolicy newWindows81CompliancePolicy, final ICallback callback); - - /** - * Posts a Windows81CompliancePolicy with a new object - * - * @param newWindows81CompliancePolicy the new object to create - * @return the created Windows81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows81CompliancePolicy post(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows81CompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows81CompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequestBuilder.java deleted file mode 100644 index d0f138dd640..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81CompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows81CompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows81Compliance Policy Request Builder. - */ -public interface IBaseWindows81CompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows81CompliancePolicyRequest instance - */ - IWindows81CompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows81CompliancePolicyRequest instance - */ - IWindows81CompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequest.java deleted file mode 100644 index 8afe3dc9775..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Windows81GeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows81General Configuration Request. - */ -public interface IBaseWindows81GeneralConfigurationRequest extends IHttpRequest { - - /** - * Gets the Windows81GeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Windows81GeneralConfiguration from the service - * - * @return the Windows81GeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows81GeneralConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Windows81GeneralConfiguration with a source - * - * @param sourceWindows81GeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration, final ICallback callback); - - /** - * Patches this Windows81GeneralConfiguration with a source - * - * @param sourceWindows81GeneralConfiguration the source object with updates - * @return the updated Windows81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows81GeneralConfiguration patch(final Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) throws ClientException; - - /** - * Posts a Windows81GeneralConfiguration with a new object - * - * @param newWindows81GeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration, final ICallback callback); - - /** - * Posts a Windows81GeneralConfiguration with a new object - * - * @param newWindows81GeneralConfiguration the new object to create - * @return the created Windows81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Windows81GeneralConfiguration post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindows81GeneralConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindows81GeneralConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequestBuilder.java deleted file mode 100644 index d0e248ba1db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindows81GeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindows81GeneralConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows81General Configuration Request Builder. - */ -public interface IBaseWindows81GeneralConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindows81GeneralConfigurationRequest instance - */ - IWindows81GeneralConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindows81GeneralConfigurationRequest instance - */ - IWindows81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java deleted file mode 100644 index ca5a079d61e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsDefenderAdvancedThreatProtectionConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Defender Advanced Threat Protection Configuration Request. - */ -public interface IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest extends IHttpRequest { - - /** - * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service - * - * @return the WindowsDefenderAdvancedThreatProtectionConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsDefenderAdvancedThreatProtectionConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source - * - * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback); - - /** - * Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source - * - * @param sourceWindowsDefenderAdvancedThreatProtectionConfiguration the source object with updates - * @return the updated WindowsDefenderAdvancedThreatProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsDefenderAdvancedThreatProtectionConfiguration patch(final WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException; - - /** - * Posts a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object - * - * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback); - - /** - * Posts a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object - * - * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the new object to create - * @return the created WindowsDefenderAdvancedThreatProtectionConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsDefenderAdvancedThreatProtectionConfiguration post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java deleted file mode 100644 index bfb7fbb2ede..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsDefenderAdvancedThreatProtectionConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Defender Advanced Threat Protection Configuration Request Builder. - */ -public interface IBaseWindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance - */ - IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsDefenderAdvancedThreatProtectionConfigurationRequest instance - */ - IWindowsDefenderAdvancedThreatProtectionConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java deleted file mode 100644 index 141549a05cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Learning Summary Collection Page. - */ -public interface IBaseWindowsInformationProtectionAppLearningSummaryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java deleted file mode 100644 index 7b5e59da0f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Learning Summary Collection Request. - */ -public interface IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequest { - - void get(final ICallback callback); - - IWindowsInformationProtectionAppLearningSummaryCollectionPage get() throws ClientException; - - void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback); - - WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWindowsInformationProtectionAppLearningSummaryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWindowsInformationProtectionAppLearningSummaryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWindowsInformationProtectionAppLearningSummaryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java deleted file mode 100644 index 1fedf6827f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Learning Summary Collection Request Builder. - */ -public interface IBaseWindowsInformationProtectionAppLearningSummaryCollectionRequestBuilder extends IRequestBuilder { - - IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest(); - - IWindowsInformationProtectionAppLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions); - - IWindowsInformationProtectionAppLearningSummaryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequest.java deleted file mode 100644 index 9fff10acdab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Learning Summary Request. - */ -public interface IBaseWindowsInformationProtectionAppLearningSummaryRequest extends IHttpRequest { - - /** - * Gets the WindowsInformationProtectionAppLearningSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsInformationProtectionAppLearningSummary from the service - * - * @return the WindowsInformationProtectionAppLearningSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionAppLearningSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsInformationProtectionAppLearningSummary with a source - * - * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary, final ICallback callback); - - /** - * Patches this WindowsInformationProtectionAppLearningSummary with a source - * - * @param sourceWindowsInformationProtectionAppLearningSummary the source object with updates - * @return the updated WindowsInformationProtectionAppLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionAppLearningSummary patch(final WindowsInformationProtectionAppLearningSummary sourceWindowsInformationProtectionAppLearningSummary) throws ClientException; - - /** - * Posts a WindowsInformationProtectionAppLearningSummary with a new object - * - * @param newWindowsInformationProtectionAppLearningSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback); - - /** - * Posts a WindowsInformationProtectionAppLearningSummary with a new object - * - * @param newWindowsInformationProtectionAppLearningSummary the new object to create - * @return the created WindowsInformationProtectionAppLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsInformationProtectionAppLearningSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsInformationProtectionAppLearningSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java deleted file mode 100644 index 2af871bbb99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLearningSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Learning Summary Request Builder. - */ -public interface IBaseWindowsInformationProtectionAppLearningSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance - */ - IWindowsInformationProtectionAppLearningSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionAppLearningSummaryRequest instance - */ - IWindowsInformationProtectionAppLearningSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionPage.java deleted file mode 100644 index 89c8ebf45e2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Locker File Collection Page. - */ -public interface IBaseWindowsInformationProtectionAppLockerFileCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequest.java deleted file mode 100644 index 83cd6820ff3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Locker File Collection Request. - */ -public interface IBaseWindowsInformationProtectionAppLockerFileCollectionRequest { - - void get(final ICallback callback); - - IWindowsInformationProtectionAppLockerFileCollectionPage get() throws ClientException; - - void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback); - - WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWindowsInformationProtectionAppLockerFileCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWindowsInformationProtectionAppLockerFileCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWindowsInformationProtectionAppLockerFileCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java deleted file mode 100644 index c61cacd9d67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Locker File Collection Request Builder. - */ -public interface IBaseWindowsInformationProtectionAppLockerFileCollectionRequestBuilder extends IRequestBuilder { - - IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest(); - - IWindowsInformationProtectionAppLockerFileCollectionRequest buildRequest(final java.util.List requestOptions); - - IWindowsInformationProtectionAppLockerFileRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequest.java deleted file mode 100644 index 6dda122ff08..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLockerFile; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Locker File Request. - */ -public interface IBaseWindowsInformationProtectionAppLockerFileRequest extends IHttpRequest { - - /** - * Gets the WindowsInformationProtectionAppLockerFile from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsInformationProtectionAppLockerFile from the service - * - * @return the WindowsInformationProtectionAppLockerFile from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionAppLockerFile get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsInformationProtectionAppLockerFile with a source - * - * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile, final ICallback callback); - - /** - * Patches this WindowsInformationProtectionAppLockerFile with a source - * - * @param sourceWindowsInformationProtectionAppLockerFile the source object with updates - * @return the updated WindowsInformationProtectionAppLockerFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionAppLockerFile patch(final WindowsInformationProtectionAppLockerFile sourceWindowsInformationProtectionAppLockerFile) throws ClientException; - - /** - * Posts a WindowsInformationProtectionAppLockerFile with a new object - * - * @param newWindowsInformationProtectionAppLockerFile the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback); - - /** - * Posts a WindowsInformationProtectionAppLockerFile with a new object - * - * @param newWindowsInformationProtectionAppLockerFile the new object to create - * @return the created WindowsInformationProtectionAppLockerFile - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsInformationProtectionAppLockerFileRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsInformationProtectionAppLockerFileRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequestBuilder.java deleted file mode 100644 index fee1171aacb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAppLockerFileRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection App Locker File Request Builder. - */ -public interface IBaseWindowsInformationProtectionAppLockerFileRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsInformationProtectionAppLockerFileRequest instance - */ - IWindowsInformationProtectionAppLockerFileRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionAppLockerFileRequest instance - */ - IWindowsInformationProtectionAppLockerFileRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequest.java deleted file mode 100644 index fe42b92ab69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Assign Request. - */ -public interface IBaseWindowsInformationProtectionAssignRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWindowsInformationProtectionAssignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWindowsInformationProtectionAssignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWindowsInformationProtectionAssignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequestBuilder.java deleted file mode 100644 index 1f1edf2990e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionAssignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Assign Request Builder. - */ -public interface IBaseWindowsInformationProtectionAssignRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWindowsInformationProtectionAssignRequest - * - * @return the IWindowsInformationProtectionAssignRequest instance - */ - IWindowsInformationProtectionAssignRequest buildRequest(); - - /** - * Creates the IWindowsInformationProtectionAssignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWindowsInformationProtectionAssignRequest instance - */ - IWindowsInformationProtectionAssignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java deleted file mode 100644 index 260a948e47f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Network Learning Summary Collection Page. - */ -public interface IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java deleted file mode 100644 index a7a02d31936..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Network Learning Summary Collection Request. - */ -public interface IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequest { - - void get(final ICallback callback); - - IWindowsInformationProtectionNetworkLearningSummaryCollectionPage get() throws ClientException; - - void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); - - WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java deleted file mode 100644 index f3f562ca461..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Network Learning Summary Collection Request Builder. - */ -public interface IBaseWindowsInformationProtectionNetworkLearningSummaryCollectionRequestBuilder extends IRequestBuilder { - - IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest(); - - IWindowsInformationProtectionNetworkLearningSummaryCollectionRequest buildRequest(final java.util.List requestOptions); - - IWindowsInformationProtectionNetworkLearningSummaryRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequest.java deleted file mode 100644 index 5fc0606cb45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Network Learning Summary Request. - */ -public interface IBaseWindowsInformationProtectionNetworkLearningSummaryRequest extends IHttpRequest { - - /** - * Gets the WindowsInformationProtectionNetworkLearningSummary from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsInformationProtectionNetworkLearningSummary from the service - * - * @return the WindowsInformationProtectionNetworkLearningSummary from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionNetworkLearningSummary get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsInformationProtectionNetworkLearningSummary with a source - * - * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); - - /** - * Patches this WindowsInformationProtectionNetworkLearningSummary with a source - * - * @param sourceWindowsInformationProtectionNetworkLearningSummary the source object with updates - * @return the updated WindowsInformationProtectionNetworkLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionNetworkLearningSummary patch(final WindowsInformationProtectionNetworkLearningSummary sourceWindowsInformationProtectionNetworkLearningSummary) throws ClientException; - - /** - * Posts a WindowsInformationProtectionNetworkLearningSummary with a new object - * - * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); - - /** - * Posts a WindowsInformationProtectionNetworkLearningSummary with a new object - * - * @param newWindowsInformationProtectionNetworkLearningSummary the new object to create - * @return the created WindowsInformationProtectionNetworkLearningSummary - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsInformationProtectionNetworkLearningSummaryRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsInformationProtectionNetworkLearningSummaryRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java deleted file mode 100644 index f2dc3f0d48f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionNetworkLearningSummaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Network Learning Summary Request Builder. - */ -public interface IBaseWindowsInformationProtectionNetworkLearningSummaryRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance - */ - IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionNetworkLearningSummaryRequest instance - */ - IWindowsInformationProtectionNetworkLearningSummaryRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionPage.java deleted file mode 100644 index 98381534893..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Policy Collection Page. - */ -public interface IBaseWindowsInformationProtectionPolicyCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequest.java deleted file mode 100644 index 7d168c7b493..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Policy Collection Request. - */ -public interface IBaseWindowsInformationProtectionPolicyCollectionRequest { - - void get(final ICallback callback); - - IWindowsInformationProtectionPolicyCollectionPage get() throws ClientException; - - void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback); - - WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWindowsInformationProtectionPolicyCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWindowsInformationProtectionPolicyCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWindowsInformationProtectionPolicyCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java deleted file mode 100644 index 757bbda62c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Policy Collection Request Builder. - */ -public interface IBaseWindowsInformationProtectionPolicyCollectionRequestBuilder extends IRequestBuilder { - - IWindowsInformationProtectionPolicyCollectionRequest buildRequest(); - - IWindowsInformationProtectionPolicyCollectionRequest buildRequest(final java.util.List requestOptions); - - IWindowsInformationProtectionPolicyRequestBuilder byId(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequest.java deleted file mode 100644 index 9b07400f36c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Policy Request. - */ -public interface IBaseWindowsInformationProtectionPolicyRequest extends IHttpRequest { - - /** - * Gets the WindowsInformationProtectionPolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsInformationProtectionPolicy from the service - * - * @return the WindowsInformationProtectionPolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionPolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsInformationProtectionPolicy with a source - * - * @param sourceWindowsInformationProtectionPolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy, final ICallback callback); - - /** - * Patches this WindowsInformationProtectionPolicy with a source - * - * @param sourceWindowsInformationProtectionPolicy the source object with updates - * @return the updated WindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionPolicy patch(final WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy) throws ClientException; - - /** - * Posts a WindowsInformationProtectionPolicy with a new object - * - * @param newWindowsInformationProtectionPolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback); - - /** - * Posts a WindowsInformationProtectionPolicy with a new object - * - * @param newWindowsInformationProtectionPolicy the new object to create - * @return the created WindowsInformationProtectionPolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsInformationProtectionPolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsInformationProtectionPolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequestBuilder.java deleted file mode 100644 index d1151483bea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionPolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionPolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Policy Request Builder. - */ -public interface IBaseWindowsInformationProtectionPolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsInformationProtectionPolicyRequest instance - */ - IWindowsInformationProtectionPolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionPolicyRequest instance - */ - IWindowsInformationProtectionPolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequest.java deleted file mode 100644 index 416e16028ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsInformationProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Request. - */ -public interface IBaseWindowsInformationProtectionRequest extends IHttpRequest { - - /** - * Gets the WindowsInformationProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsInformationProtection from the service - * - * @return the WindowsInformationProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsInformationProtection with a source - * - * @param sourceWindowsInformationProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsInformationProtection sourceWindowsInformationProtection, final ICallback callback); - - /** - * Patches this WindowsInformationProtection with a source - * - * @param sourceWindowsInformationProtection the source object with updates - * @return the updated WindowsInformationProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtection patch(final WindowsInformationProtection sourceWindowsInformationProtection) throws ClientException; - - /** - * Posts a WindowsInformationProtection with a new object - * - * @param newWindowsInformationProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsInformationProtection newWindowsInformationProtection, final ICallback callback); - - /** - * Posts a WindowsInformationProtection with a new object - * - * @param newWindowsInformationProtection the new object to create - * @return the created WindowsInformationProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsInformationProtection post(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsInformationProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsInformationProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequestBuilder.java deleted file mode 100644 index c492303c79c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsInformationProtectionRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionRequest; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAppLockerFileRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITargetedManagedAppPolicyAssignmentRequestBuilder; -import com.microsoft.graph.models.extensions.TargetedManagedAppPolicyAssignment; -import com.microsoft.graph.requests.extensions.IWindowsInformationProtectionAssignRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Information Protection Request Builder. - */ -public interface IBaseWindowsInformationProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsInformationProtectionRequest instance - */ - IWindowsInformationProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsInformationProtectionRequest instance - */ - IWindowsInformationProtectionRequest buildRequest(final java.util.List requestOptions); - - IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder protectedAppLockerFiles(); - - IWindowsInformationProtectionAppLockerFileRequestBuilder protectedAppLockerFiles(final String id); - - IWindowsInformationProtectionAppLockerFileCollectionRequestBuilder exemptAppLockerFiles(); - - IWindowsInformationProtectionAppLockerFileRequestBuilder exemptAppLockerFiles(final String id); - - ITargetedManagedAppPolicyAssignmentCollectionRequestBuilder assignments(); - - ITargetedManagedAppPolicyAssignmentRequestBuilder assignments(final String id); - IWindowsInformationProtectionAssignRequestBuilder assign(final java.util.List assignments); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequest.java deleted file mode 100644 index e6b944a6527..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsMobileMSI; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Mobile MSIRequest. - */ -public interface IBaseWindowsMobileMSIRequest extends IHttpRequest { - - /** - * Gets the WindowsMobileMSI from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsMobileMSI from the service - * - * @return the WindowsMobileMSI from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsMobileMSI get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsMobileMSI with a source - * - * @param sourceWindowsMobileMSI the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsMobileMSI sourceWindowsMobileMSI, final ICallback callback); - - /** - * Patches this WindowsMobileMSI with a source - * - * @param sourceWindowsMobileMSI the source object with updates - * @return the updated WindowsMobileMSI - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsMobileMSI patch(final WindowsMobileMSI sourceWindowsMobileMSI) throws ClientException; - - /** - * Posts a WindowsMobileMSI with a new object - * - * @param newWindowsMobileMSI the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsMobileMSI newWindowsMobileMSI, final ICallback callback); - - /** - * Posts a WindowsMobileMSI with a new object - * - * @param newWindowsMobileMSI the new object to create - * @return the created WindowsMobileMSI - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsMobileMSI post(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsMobileMSIRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsMobileMSIRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequestBuilder.java deleted file mode 100644 index 5181396e249..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsMobileMSIRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsMobileMSIRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Mobile MSIRequest Builder. - */ -public interface IBaseWindowsMobileMSIRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsMobileMSIRequest instance - */ - IWindowsMobileMSIRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsMobileMSIRequest instance - */ - IWindowsMobileMSIRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequest.java deleted file mode 100644 index 36f5ccef398..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsPhone81CompliancePolicy; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Phone81Compliance Policy Request. - */ -public interface IBaseWindowsPhone81CompliancePolicyRequest extends IHttpRequest { - - /** - * Gets the WindowsPhone81CompliancePolicy from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsPhone81CompliancePolicy from the service - * - * @return the WindowsPhone81CompliancePolicy from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81CompliancePolicy get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsPhone81CompliancePolicy with a source - * - * @param sourceWindowsPhone81CompliancePolicy the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy, final ICallback callback); - - /** - * Patches this WindowsPhone81CompliancePolicy with a source - * - * @param sourceWindowsPhone81CompliancePolicy the source object with updates - * @return the updated WindowsPhone81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81CompliancePolicy patch(final WindowsPhone81CompliancePolicy sourceWindowsPhone81CompliancePolicy) throws ClientException; - - /** - * Posts a WindowsPhone81CompliancePolicy with a new object - * - * @param newWindowsPhone81CompliancePolicy the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy, final ICallback callback); - - /** - * Posts a WindowsPhone81CompliancePolicy with a new object - * - * @param newWindowsPhone81CompliancePolicy the new object to create - * @return the created WindowsPhone81CompliancePolicy - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81CompliancePolicy post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsPhone81CompliancePolicyRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsPhone81CompliancePolicyRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequestBuilder.java deleted file mode 100644 index 37d1a85d112..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CompliancePolicyRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81CompliancePolicyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Phone81Compliance Policy Request Builder. - */ -public interface IBaseWindowsPhone81CompliancePolicyRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsPhone81CompliancePolicyRequest instance - */ - IWindowsPhone81CompliancePolicyRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsPhone81CompliancePolicyRequest instance - */ - IWindowsPhone81CompliancePolicyRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequest.java deleted file mode 100644 index a7912ef5728..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsPhone81CustomConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Phone81Custom Configuration Request. - */ -public interface IBaseWindowsPhone81CustomConfigurationRequest extends IHttpRequest { - - /** - * Gets the WindowsPhone81CustomConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsPhone81CustomConfiguration from the service - * - * @return the WindowsPhone81CustomConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81CustomConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsPhone81CustomConfiguration with a source - * - * @param sourceWindowsPhone81CustomConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration, final ICallback callback); - - /** - * Patches this WindowsPhone81CustomConfiguration with a source - * - * @param sourceWindowsPhone81CustomConfiguration the source object with updates - * @return the updated WindowsPhone81CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81CustomConfiguration patch(final WindowsPhone81CustomConfiguration sourceWindowsPhone81CustomConfiguration) throws ClientException; - - /** - * Posts a WindowsPhone81CustomConfiguration with a new object - * - * @param newWindowsPhone81CustomConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration, final ICallback callback); - - /** - * Posts a WindowsPhone81CustomConfiguration with a new object - * - * @param newWindowsPhone81CustomConfiguration the new object to create - * @return the created WindowsPhone81CustomConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81CustomConfiguration post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsPhone81CustomConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsPhone81CustomConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequestBuilder.java deleted file mode 100644 index 2591ebb163e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81CustomConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81CustomConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Phone81Custom Configuration Request Builder. - */ -public interface IBaseWindowsPhone81CustomConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsPhone81CustomConfigurationRequest instance - */ - IWindowsPhone81CustomConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsPhone81CustomConfigurationRequest instance - */ - IWindowsPhone81CustomConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequest.java deleted file mode 100644 index 31f2face889..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsPhone81GeneralConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Phone81General Configuration Request. - */ -public interface IBaseWindowsPhone81GeneralConfigurationRequest extends IHttpRequest { - - /** - * Gets the WindowsPhone81GeneralConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsPhone81GeneralConfiguration from the service - * - * @return the WindowsPhone81GeneralConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81GeneralConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsPhone81GeneralConfiguration with a source - * - * @param sourceWindowsPhone81GeneralConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration, final ICallback callback); - - /** - * Patches this WindowsPhone81GeneralConfiguration with a source - * - * @param sourceWindowsPhone81GeneralConfiguration the source object with updates - * @return the updated WindowsPhone81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81GeneralConfiguration patch(final WindowsPhone81GeneralConfiguration sourceWindowsPhone81GeneralConfiguration) throws ClientException; - - /** - * Posts a WindowsPhone81GeneralConfiguration with a new object - * - * @param newWindowsPhone81GeneralConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration, final ICallback callback); - - /** - * Posts a WindowsPhone81GeneralConfiguration with a new object - * - * @param newWindowsPhone81GeneralConfiguration the new object to create - * @return the created WindowsPhone81GeneralConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsPhone81GeneralConfiguration post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsPhone81GeneralConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsPhone81GeneralConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequestBuilder.java deleted file mode 100644 index 9499c0f03b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsPhone81GeneralConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsPhone81GeneralConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Phone81General Configuration Request Builder. - */ -public interface IBaseWindowsPhone81GeneralConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsPhone81GeneralConfigurationRequest instance - */ - IWindowsPhone81GeneralConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsPhone81GeneralConfigurationRequest instance - */ - IWindowsPhone81GeneralConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequest.java deleted file mode 100644 index 28e4bd82e59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsUniversalAppX; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Universal App XRequest. - */ -public interface IBaseWindowsUniversalAppXRequest extends IHttpRequest { - - /** - * Gets the WindowsUniversalAppX from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsUniversalAppX from the service - * - * @return the WindowsUniversalAppX from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsUniversalAppX get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsUniversalAppX with a source - * - * @param sourceWindowsUniversalAppX the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsUniversalAppX sourceWindowsUniversalAppX, final ICallback callback); - - /** - * Patches this WindowsUniversalAppX with a source - * - * @param sourceWindowsUniversalAppX the source object with updates - * @return the updated WindowsUniversalAppX - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsUniversalAppX patch(final WindowsUniversalAppX sourceWindowsUniversalAppX) throws ClientException; - - /** - * Posts a WindowsUniversalAppX with a new object - * - * @param newWindowsUniversalAppX the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsUniversalAppX newWindowsUniversalAppX, final ICallback callback); - - /** - * Posts a WindowsUniversalAppX with a new object - * - * @param newWindowsUniversalAppX the new object to create - * @return the created WindowsUniversalAppX - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsUniversalAppX post(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsUniversalAppXRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsUniversalAppXRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequestBuilder.java deleted file mode 100644 index 49941641063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUniversalAppXRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsUniversalAppXRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Universal App XRequest Builder. - */ -public interface IBaseWindowsUniversalAppXRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsUniversalAppXRequest instance - */ - IWindowsUniversalAppXRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsUniversalAppXRequest instance - */ - IWindowsUniversalAppXRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequest.java deleted file mode 100644 index bb2cf5f5f51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WindowsUpdateForBusinessConfiguration; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Update For Business Configuration Request. - */ -public interface IBaseWindowsUpdateForBusinessConfigurationRequest extends IHttpRequest { - - /** - * Gets the WindowsUpdateForBusinessConfiguration from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WindowsUpdateForBusinessConfiguration from the service - * - * @return the WindowsUpdateForBusinessConfiguration from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsUpdateForBusinessConfiguration get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WindowsUpdateForBusinessConfiguration with a source - * - * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration, final ICallback callback); - - /** - * Patches this WindowsUpdateForBusinessConfiguration with a source - * - * @param sourceWindowsUpdateForBusinessConfiguration the source object with updates - * @return the updated WindowsUpdateForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsUpdateForBusinessConfiguration patch(final WindowsUpdateForBusinessConfiguration sourceWindowsUpdateForBusinessConfiguration) throws ClientException; - - /** - * Posts a WindowsUpdateForBusinessConfiguration with a new object - * - * @param newWindowsUpdateForBusinessConfiguration the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration, final ICallback callback); - - /** - * Posts a WindowsUpdateForBusinessConfiguration with a new object - * - * @param newWindowsUpdateForBusinessConfiguration the new object to create - * @return the created WindowsUpdateForBusinessConfiguration - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WindowsUpdateForBusinessConfiguration post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWindowsUpdateForBusinessConfigurationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWindowsUpdateForBusinessConfigurationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequestBuilder.java deleted file mode 100644 index 0b9d9dbe35c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWindowsUpdateForBusinessConfigurationRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWindowsUpdateForBusinessConfigurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Windows Update For Business Configuration Request Builder. - */ -public interface IBaseWindowsUpdateForBusinessConfigurationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWindowsUpdateForBusinessConfigurationRequest instance - */ - IWindowsUpdateForBusinessConfigurationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWindowsUpdateForBusinessConfigurationRequest instance - */ - IWindowsUpdateForBusinessConfigurationRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequest.java deleted file mode 100644 index f4bfa4b4ce9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Application Calculate Request. - */ -public interface IBaseWorkbookApplicationCalculateRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookApplicationCalculateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookApplicationCalculateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookApplicationCalculateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequestBuilder.java deleted file mode 100644 index 4323f02308c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationCalculateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Application Calculate Request Builder. - */ -public interface IBaseWorkbookApplicationCalculateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookApplicationCalculateRequest - * - * @return the IWorkbookApplicationCalculateRequest instance - */ - IWorkbookApplicationCalculateRequest buildRequest(); - - /** - * Creates the IWorkbookApplicationCalculateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookApplicationCalculateRequest instance - */ - IWorkbookApplicationCalculateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequest.java deleted file mode 100644 index a7dc323a209..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookApplication; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Application Request. - */ -public interface IBaseWorkbookApplicationRequest extends IHttpRequest { - - /** - * Gets the WorkbookApplication from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookApplication from the service - * - * @return the WorkbookApplication from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookApplication get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookApplication with a source - * - * @param sourceWorkbookApplication the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookApplication sourceWorkbookApplication, final ICallback callback); - - /** - * Patches this WorkbookApplication with a source - * - * @param sourceWorkbookApplication the source object with updates - * @return the updated WorkbookApplication - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookApplication patch(final WorkbookApplication sourceWorkbookApplication) throws ClientException; - - /** - * Posts a WorkbookApplication with a new object - * - * @param newWorkbookApplication the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookApplication newWorkbookApplication, final ICallback callback); - - /** - * Posts a WorkbookApplication with a new object - * - * @param newWorkbookApplication the new object to create - * @return the created WorkbookApplication - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookApplication post(final WorkbookApplication newWorkbookApplication) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookApplicationRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookApplicationRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequestBuilder.java deleted file mode 100644 index 1010d38dc92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookApplicationRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequest; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationCalculateRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Application Request Builder. - */ -public interface IBaseWorkbookApplicationRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookApplicationRequest instance - */ - IWorkbookApplicationRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookApplicationRequest instance - */ - IWorkbookApplicationRequest buildRequest(final java.util.List requestOptions); - IWorkbookApplicationCalculateRequestBuilder calculate(final String calculationType); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequest.java deleted file mode 100644 index f27552cfef3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Add Request. - */ -public interface IBaseWorkbookChartAddRequest { - - void post(final ICallback callback); - - WorkbookChart post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartAddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartAddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartAddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequestBuilder.java deleted file mode 100644 index f320116e283..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Add Request Builder. - */ -public interface IBaseWorkbookChartAddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartAddRequest - * - * @return the IWorkbookChartAddRequest instance - */ - IWorkbookChartAddRequest buildRequest(); - - /** - * Creates the IWorkbookChartAddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartAddRequest instance - */ - IWorkbookChartAddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequest.java deleted file mode 100644 index 98cc8f9ed99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAreaFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Area Format Request. - */ -public interface IBaseWorkbookChartAreaFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartAreaFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartAreaFormat from the service - * - * @return the WorkbookChartAreaFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAreaFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartAreaFormat with a source - * - * @param sourceWorkbookChartAreaFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat, final ICallback callback); - - /** - * Patches this WorkbookChartAreaFormat with a source - * - * @param sourceWorkbookChartAreaFormat the source object with updates - * @return the updated WorkbookChartAreaFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAreaFormat patch(final WorkbookChartAreaFormat sourceWorkbookChartAreaFormat) throws ClientException; - - /** - * Posts a WorkbookChartAreaFormat with a new object - * - * @param newWorkbookChartAreaFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat, final ICallback callback); - - /** - * Posts a WorkbookChartAreaFormat with a new object - * - * @param newWorkbookChartAreaFormat the new object to create - * @return the created WorkbookChartAreaFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAreaFormat post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartAreaFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartAreaFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequestBuilder.java deleted file mode 100644 index 3fb1e73753f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAreaFormatRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Area Format Request Builder. - */ -public interface IBaseWorkbookChartAreaFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartAreaFormatRequest instance - */ - IWorkbookChartAreaFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAreaFormatRequest instance - */ - IWorkbookChartAreaFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - IWorkbookChartFillRequestBuilder fill(); - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - IWorkbookChartFontRequestBuilder font(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequest.java deleted file mode 100644 index 487baf18789..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAxes; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axes Request. - */ -public interface IBaseWorkbookChartAxesRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartAxes from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartAxes from the service - * - * @return the WorkbookChartAxes from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxes get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartAxes with a source - * - * @param sourceWorkbookChartAxes the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartAxes sourceWorkbookChartAxes, final ICallback callback); - - /** - * Patches this WorkbookChartAxes with a source - * - * @param sourceWorkbookChartAxes the source object with updates - * @return the updated WorkbookChartAxes - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxes patch(final WorkbookChartAxes sourceWorkbookChartAxes) throws ClientException; - - /** - * Posts a WorkbookChartAxes with a new object - * - * @param newWorkbookChartAxes the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartAxes newWorkbookChartAxes, final ICallback callback); - - /** - * Posts a WorkbookChartAxes with a new object - * - * @param newWorkbookChartAxes the new object to create - * @return the created WorkbookChartAxes - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxes post(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartAxesRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartAxesRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequestBuilder.java deleted file mode 100644 index 319a4d683d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxesRequestBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axes Request Builder. - */ -public interface IBaseWorkbookChartAxesRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartAxesRequest instance - */ - IWorkbookChartAxesRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxesRequest instance - */ - IWorkbookChartAxesRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartAxis - * - * @return the IWorkbookChartAxisRequestBuilder instance - */ - IWorkbookChartAxisRequestBuilder categoryAxis(); - - /** - * Gets the request builder for WorkbookChartAxis - * - * @return the IWorkbookChartAxisRequestBuilder instance - */ - IWorkbookChartAxisRequestBuilder seriesAxis(); - - /** - * Gets the request builder for WorkbookChartAxis - * - * @return the IWorkbookChartAxisRequestBuilder instance - */ - IWorkbookChartAxisRequestBuilder valueAxis(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequest.java deleted file mode 100644 index a4d742a4aec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAxisFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Format Request. - */ -public interface IBaseWorkbookChartAxisFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartAxisFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartAxisFormat from the service - * - * @return the WorkbookChartAxisFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartAxisFormat with a source - * - * @param sourceWorkbookChartAxisFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat, final ICallback callback); - - /** - * Patches this WorkbookChartAxisFormat with a source - * - * @param sourceWorkbookChartAxisFormat the source object with updates - * @return the updated WorkbookChartAxisFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisFormat patch(final WorkbookChartAxisFormat sourceWorkbookChartAxisFormat) throws ClientException; - - /** - * Posts a WorkbookChartAxisFormat with a new object - * - * @param newWorkbookChartAxisFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat, final ICallback callback); - - /** - * Posts a WorkbookChartAxisFormat with a new object - * - * @param newWorkbookChartAxisFormat the new object to create - * @return the created WorkbookChartAxisFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisFormat post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartAxisFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartAxisFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequestBuilder.java deleted file mode 100644 index 99c24f7d821..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisFormatRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Format Request Builder. - */ -public interface IBaseWorkbookChartAxisFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartAxisFormatRequest instance - */ - IWorkbookChartAxisFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisFormatRequest instance - */ - IWorkbookChartAxisFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - IWorkbookChartFontRequestBuilder font(); - - /** - * Gets the request builder for WorkbookChartLineFormat - * - * @return the IWorkbookChartLineFormatRequestBuilder instance - */ - IWorkbookChartLineFormatRequestBuilder line(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequest.java deleted file mode 100644 index 63b01a9951f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAxis; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Request. - */ -public interface IBaseWorkbookChartAxisRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartAxis from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartAxis from the service - * - * @return the WorkbookChartAxis from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxis get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartAxis with a source - * - * @param sourceWorkbookChartAxis the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartAxis sourceWorkbookChartAxis, final ICallback callback); - - /** - * Patches this WorkbookChartAxis with a source - * - * @param sourceWorkbookChartAxis the source object with updates - * @return the updated WorkbookChartAxis - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxis patch(final WorkbookChartAxis sourceWorkbookChartAxis) throws ClientException; - - /** - * Posts a WorkbookChartAxis with a new object - * - * @param newWorkbookChartAxis the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartAxis newWorkbookChartAxis, final ICallback callback); - - /** - * Posts a WorkbookChartAxis with a new object - * - * @param newWorkbookChartAxis the new object to create - * @return the created WorkbookChartAxis - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxis post(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartAxisRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartAxisRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequestBuilder.java deleted file mode 100644 index 1490b1cf1fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisRequestBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Request Builder. - */ -public interface IBaseWorkbookChartAxisRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartAxisRequest instance - */ - IWorkbookChartAxisRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisRequest instance - */ - IWorkbookChartAxisRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartAxisFormat - * - * @return the IWorkbookChartAxisFormatRequestBuilder instance - */ - IWorkbookChartAxisFormatRequestBuilder format(); - - /** - * Gets the request builder for WorkbookChartGridlines - * - * @return the IWorkbookChartGridlinesRequestBuilder instance - */ - IWorkbookChartGridlinesRequestBuilder majorGridlines(); - - /** - * Gets the request builder for WorkbookChartGridlines - * - * @return the IWorkbookChartGridlinesRequestBuilder instance - */ - IWorkbookChartGridlinesRequestBuilder minorGridlines(); - - /** - * Gets the request builder for WorkbookChartAxisTitle - * - * @return the IWorkbookChartAxisTitleRequestBuilder instance - */ - IWorkbookChartAxisTitleRequestBuilder title(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequest.java deleted file mode 100644 index 7ebc6e2b815..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitleFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Title Format Request. - */ -public interface IBaseWorkbookChartAxisTitleFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartAxisTitleFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartAxisTitleFormat from the service - * - * @return the WorkbookChartAxisTitleFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisTitleFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartAxisTitleFormat with a source - * - * @param sourceWorkbookChartAxisTitleFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat, final ICallback callback); - - /** - * Patches this WorkbookChartAxisTitleFormat with a source - * - * @param sourceWorkbookChartAxisTitleFormat the source object with updates - * @return the updated WorkbookChartAxisTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisTitleFormat patch(final WorkbookChartAxisTitleFormat sourceWorkbookChartAxisTitleFormat) throws ClientException; - - /** - * Posts a WorkbookChartAxisTitleFormat with a new object - * - * @param newWorkbookChartAxisTitleFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat, final ICallback callback); - - /** - * Posts a WorkbookChartAxisTitleFormat with a new object - * - * @param newWorkbookChartAxisTitleFormat the new object to create - * @return the created WorkbookChartAxisTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisTitleFormat post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartAxisTitleFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartAxisTitleFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequestBuilder.java deleted file mode 100644 index a38da39d06a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleFormatRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Title Format Request Builder. - */ -public interface IBaseWorkbookChartAxisTitleFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartAxisTitleFormatRequest instance - */ - IWorkbookChartAxisTitleFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisTitleFormatRequest instance - */ - IWorkbookChartAxisTitleFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - IWorkbookChartFontRequestBuilder font(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequest.java deleted file mode 100644 index be9298a2303..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartAxisTitle; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Title Request. - */ -public interface IBaseWorkbookChartAxisTitleRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartAxisTitle from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartAxisTitle from the service - * - * @return the WorkbookChartAxisTitle from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisTitle get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartAxisTitle with a source - * - * @param sourceWorkbookChartAxisTitle the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle, final ICallback callback); - - /** - * Patches this WorkbookChartAxisTitle with a source - * - * @param sourceWorkbookChartAxisTitle the source object with updates - * @return the updated WorkbookChartAxisTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisTitle patch(final WorkbookChartAxisTitle sourceWorkbookChartAxisTitle) throws ClientException; - - /** - * Posts a WorkbookChartAxisTitle with a new object - * - * @param newWorkbookChartAxisTitle the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle, final ICallback callback); - - /** - * Posts a WorkbookChartAxisTitle with a new object - * - * @param newWorkbookChartAxisTitle the new object to create - * @return the created WorkbookChartAxisTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartAxisTitle post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartAxisTitleRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartAxisTitleRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequestBuilder.java deleted file mode 100644 index efe56bed468..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartAxisTitleRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxisTitleFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Axis Title Request Builder. - */ -public interface IBaseWorkbookChartAxisTitleRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartAxisTitleRequest instance - */ - IWorkbookChartAxisTitleRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartAxisTitleRequest instance - */ - IWorkbookChartAxisTitleRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartAxisTitleFormat - * - * @return the IWorkbookChartAxisTitleFormatRequestBuilder instance - */ - IWorkbookChartAxisTitleFormatRequestBuilder format(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionPage.java deleted file mode 100644 index 75b3ec413e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Collection Page. - */ -public interface IBaseWorkbookChartCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequest.java deleted file mode 100644 index 35082ea1d45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Collection Request. - */ -public interface IBaseWorkbookChartCollectionRequest { - - void get(final ICallback callback); - - IWorkbookChartCollectionPage get() throws ClientException; - - void post(final WorkbookChart newWorkbookChart, final ICallback callback); - - WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequestBuilder.java deleted file mode 100644 index 96abae47089..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCollectionRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Collection Request Builder. - */ -public interface IBaseWorkbookChartCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookChartCollectionRequest buildRequest(); - - IWorkbookChartCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookChartRequestBuilder byId(final String id); - - IWorkbookChartAddRequestBuilder add(final String type, final com.google.gson.JsonElement sourceData, final String seriesBy); - IWorkbookChartItemRequestBuilder item(final String name); - IWorkbookChartItemAtRequestBuilder itemAt(final Integer index); - IWorkbookChartCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequest.java deleted file mode 100644 index 6c1355278f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Count Request. - */ -public interface IBaseWorkbookChartCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequestBuilder.java deleted file mode 100644 index 213acd3618b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Count Request Builder. - */ -public interface IBaseWorkbookChartCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartCountRequest - * - * @return the IWorkbookChartCountRequest instance - */ - IWorkbookChartCountRequest buildRequest(); - - /** - * Creates the IWorkbookChartCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartCountRequest instance - */ - IWorkbookChartCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequest.java deleted file mode 100644 index f2e63ed3792..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Data Label Format Request. - */ -public interface IBaseWorkbookChartDataLabelFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartDataLabelFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartDataLabelFormat from the service - * - * @return the WorkbookChartDataLabelFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartDataLabelFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartDataLabelFormat with a source - * - * @param sourceWorkbookChartDataLabelFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat, final ICallback callback); - - /** - * Patches this WorkbookChartDataLabelFormat with a source - * - * @param sourceWorkbookChartDataLabelFormat the source object with updates - * @return the updated WorkbookChartDataLabelFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartDataLabelFormat patch(final WorkbookChartDataLabelFormat sourceWorkbookChartDataLabelFormat) throws ClientException; - - /** - * Posts a WorkbookChartDataLabelFormat with a new object - * - * @param newWorkbookChartDataLabelFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat, final ICallback callback); - - /** - * Posts a WorkbookChartDataLabelFormat with a new object - * - * @param newWorkbookChartDataLabelFormat the new object to create - * @return the created WorkbookChartDataLabelFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartDataLabelFormat post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartDataLabelFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartDataLabelFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequestBuilder.java deleted file mode 100644 index 90ea29c6fa8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelFormatRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Data Label Format Request Builder. - */ -public interface IBaseWorkbookChartDataLabelFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartDataLabelFormatRequest instance - */ - IWorkbookChartDataLabelFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartDataLabelFormatRequest instance - */ - IWorkbookChartDataLabelFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - IWorkbookChartFillRequestBuilder fill(); - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - IWorkbookChartFontRequestBuilder font(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequest.java deleted file mode 100644 index f91f2654332..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartDataLabels; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Data Labels Request. - */ -public interface IBaseWorkbookChartDataLabelsRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartDataLabels from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartDataLabels from the service - * - * @return the WorkbookChartDataLabels from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartDataLabels get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartDataLabels with a source - * - * @param sourceWorkbookChartDataLabels the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels, final ICallback callback); - - /** - * Patches this WorkbookChartDataLabels with a source - * - * @param sourceWorkbookChartDataLabels the source object with updates - * @return the updated WorkbookChartDataLabels - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartDataLabels patch(final WorkbookChartDataLabels sourceWorkbookChartDataLabels) throws ClientException; - - /** - * Posts a WorkbookChartDataLabels with a new object - * - * @param newWorkbookChartDataLabels the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartDataLabels newWorkbookChartDataLabels, final ICallback callback); - - /** - * Posts a WorkbookChartDataLabels with a new object - * - * @param newWorkbookChartDataLabels the new object to create - * @return the created WorkbookChartDataLabels - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartDataLabels post(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartDataLabelsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartDataLabelsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequestBuilder.java deleted file mode 100644 index 8097727fcec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartDataLabelsRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Data Labels Request Builder. - */ -public interface IBaseWorkbookChartDataLabelsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartDataLabelsRequest instance - */ - IWorkbookChartDataLabelsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartDataLabelsRequest instance - */ - IWorkbookChartDataLabelsRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartDataLabelFormat - * - * @return the IWorkbookChartDataLabelFormatRequestBuilder instance - */ - IWorkbookChartDataLabelFormatRequestBuilder format(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequest.java deleted file mode 100644 index b765864c886..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Fill Clear Request. - */ -public interface IBaseWorkbookChartFillClearRequest { - - /** - * Creates the WorkbookChartFillClear - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookChartFillClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequestBuilder.java deleted file mode 100644 index cb966d810e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillClearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Fill Clear Request Builder. - */ -public interface IBaseWorkbookChartFillClearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartFillClearRequest - * - * @return the IWorkbookChartFillClearRequest instance - */ - IWorkbookChartFillClearRequest buildRequest(); - - /** - * Creates the IWorkbookChartFillClearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartFillClearRequest instance - */ - IWorkbookChartFillClearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequest.java deleted file mode 100644 index 8d809bfebd6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartFill; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Fill Request. - */ -public interface IBaseWorkbookChartFillRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartFill from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartFill from the service - * - * @return the WorkbookChartFill from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartFill get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartFill with a source - * - * @param sourceWorkbookChartFill the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartFill sourceWorkbookChartFill, final ICallback callback); - - /** - * Patches this WorkbookChartFill with a source - * - * @param sourceWorkbookChartFill the source object with updates - * @return the updated WorkbookChartFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartFill patch(final WorkbookChartFill sourceWorkbookChartFill) throws ClientException; - - /** - * Posts a WorkbookChartFill with a new object - * - * @param newWorkbookChartFill the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartFill newWorkbookChartFill, final ICallback callback); - - /** - * Posts a WorkbookChartFill with a new object - * - * @param newWorkbookChartFill the new object to create - * @return the created WorkbookChartFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartFill post(final WorkbookChartFill newWorkbookChartFill) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartFillRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartFillRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequestBuilder.java deleted file mode 100644 index 39535d1c1f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillRequestBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillClearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Fill Request Builder. - */ -public interface IBaseWorkbookChartFillRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartFillRequest instance - */ - IWorkbookChartFillRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartFillRequest instance - */ - IWorkbookChartFillRequest buildRequest(final java.util.List requestOptions); - IWorkbookChartFillClearRequestBuilder clear(); - IWorkbookChartFillSetSolidColorRequestBuilder setSolidColor(final String color); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequest.java deleted file mode 100644 index 6854894ee26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Fill Set Solid Color Request. - */ -public interface IBaseWorkbookChartFillSetSolidColorRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartFillSetSolidColorRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartFillSetSolidColorRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartFillSetSolidColorRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequestBuilder.java deleted file mode 100644 index 9af10761eda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFillSetSolidColorRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillSetSolidColorRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Fill Set Solid Color Request Builder. - */ -public interface IBaseWorkbookChartFillSetSolidColorRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartFillSetSolidColorRequest - * - * @return the IWorkbookChartFillSetSolidColorRequest instance - */ - IWorkbookChartFillSetSolidColorRequest buildRequest(); - - /** - * Creates the IWorkbookChartFillSetSolidColorRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartFillSetSolidColorRequest instance - */ - IWorkbookChartFillSetSolidColorRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequest.java deleted file mode 100644 index 3f2cfc8ecdf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartFont; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Font Request. - */ -public interface IBaseWorkbookChartFontRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartFont from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartFont from the service - * - * @return the WorkbookChartFont from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartFont get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartFont with a source - * - * @param sourceWorkbookChartFont the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartFont sourceWorkbookChartFont, final ICallback callback); - - /** - * Patches this WorkbookChartFont with a source - * - * @param sourceWorkbookChartFont the source object with updates - * @return the updated WorkbookChartFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartFont patch(final WorkbookChartFont sourceWorkbookChartFont) throws ClientException; - - /** - * Posts a WorkbookChartFont with a new object - * - * @param newWorkbookChartFont the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartFont newWorkbookChartFont, final ICallback callback); - - /** - * Posts a WorkbookChartFont with a new object - * - * @param newWorkbookChartFont the new object to create - * @return the created WorkbookChartFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartFont post(final WorkbookChartFont newWorkbookChartFont) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartFontRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartFontRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequestBuilder.java deleted file mode 100644 index 59b00510eb7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartFontRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Font Request Builder. - */ -public interface IBaseWorkbookChartFontRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartFontRequest instance - */ - IWorkbookChartFontRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartFontRequest instance - */ - IWorkbookChartFontRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequest.java deleted file mode 100644 index f9a631a711d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartGridlinesFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Gridlines Format Request. - */ -public interface IBaseWorkbookChartGridlinesFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartGridlinesFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartGridlinesFormat from the service - * - * @return the WorkbookChartGridlinesFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartGridlinesFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartGridlinesFormat with a source - * - * @param sourceWorkbookChartGridlinesFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat, final ICallback callback); - - /** - * Patches this WorkbookChartGridlinesFormat with a source - * - * @param sourceWorkbookChartGridlinesFormat the source object with updates - * @return the updated WorkbookChartGridlinesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartGridlinesFormat patch(final WorkbookChartGridlinesFormat sourceWorkbookChartGridlinesFormat) throws ClientException; - - /** - * Posts a WorkbookChartGridlinesFormat with a new object - * - * @param newWorkbookChartGridlinesFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat, final ICallback callback); - - /** - * Posts a WorkbookChartGridlinesFormat with a new object - * - * @param newWorkbookChartGridlinesFormat the new object to create - * @return the created WorkbookChartGridlinesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartGridlinesFormat post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartGridlinesFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartGridlinesFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequestBuilder.java deleted file mode 100644 index b219fcba63c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesFormatRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Gridlines Format Request Builder. - */ -public interface IBaseWorkbookChartGridlinesFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartGridlinesFormatRequest instance - */ - IWorkbookChartGridlinesFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartGridlinesFormatRequest instance - */ - IWorkbookChartGridlinesFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartLineFormat - * - * @return the IWorkbookChartLineFormatRequestBuilder instance - */ - IWorkbookChartLineFormatRequestBuilder line(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequest.java deleted file mode 100644 index 23be684a6ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartGridlines; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Gridlines Request. - */ -public interface IBaseWorkbookChartGridlinesRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartGridlines from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartGridlines from the service - * - * @return the WorkbookChartGridlines from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartGridlines get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartGridlines with a source - * - * @param sourceWorkbookChartGridlines the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartGridlines sourceWorkbookChartGridlines, final ICallback callback); - - /** - * Patches this WorkbookChartGridlines with a source - * - * @param sourceWorkbookChartGridlines the source object with updates - * @return the updated WorkbookChartGridlines - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartGridlines patch(final WorkbookChartGridlines sourceWorkbookChartGridlines) throws ClientException; - - /** - * Posts a WorkbookChartGridlines with a new object - * - * @param newWorkbookChartGridlines the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartGridlines newWorkbookChartGridlines, final ICallback callback); - - /** - * Posts a WorkbookChartGridlines with a new object - * - * @param newWorkbookChartGridlines the new object to create - * @return the created WorkbookChartGridlines - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartGridlines post(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartGridlinesRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartGridlinesRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequestBuilder.java deleted file mode 100644 index b71263beb1e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartGridlinesRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartGridlinesFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Gridlines Request Builder. - */ -public interface IBaseWorkbookChartGridlinesRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartGridlinesRequest instance - */ - IWorkbookChartGridlinesRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartGridlinesRequest instance - */ - IWorkbookChartGridlinesRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartGridlinesFormat - * - * @return the IWorkbookChartGridlinesFormatRequestBuilder instance - */ - IWorkbookChartGridlinesFormatRequestBuilder format(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequest.java deleted file mode 100644 index f59124b56d7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Image Request. - */ -public interface IBaseWorkbookChartImageRequest { - - /** - * Gets the String - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the String - * - * @return the String - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - String get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartImageRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartImageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequestBuilder.java deleted file mode 100644 index 944327af8d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartImageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Image Request Builder. - */ -public interface IBaseWorkbookChartImageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartImageRequest - * - * @return the IWorkbookChartImageRequest instance - */ - IWorkbookChartImageRequest buildRequest(); - - /** - * Creates the IWorkbookChartImageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartImageRequest instance - */ - IWorkbookChartImageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequest.java deleted file mode 100644 index 215aa7101f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Item At Request. - */ -public interface IBaseWorkbookChartItemAtRequest { - - /** - * Patches the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookChart srcWorkbookChart, final ICallback callback); - - /** - * Patches the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException; - - /** - * Puts the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookChart srcWorkbookChart, final ICallback callback); - - /** - * Puts the WorkbookChartItemAt - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException; - /** - * Gets the WorkbookChart - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChart - * - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChart get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequestBuilder.java deleted file mode 100644 index d984c630fc7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Item At Request Builder. - */ -public interface IBaseWorkbookChartItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartItemAtRequest - * - * @return the IWorkbookChartItemAtRequest instance - */ - IWorkbookChartItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookChartItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartItemAtRequest instance - */ - IWorkbookChartItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequest.java deleted file mode 100644 index 3dffabade59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Item Request. - */ -public interface IBaseWorkbookChartItemRequest { - - /** - * Patches the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookChart srcWorkbookChart, final ICallback callback); - - /** - * Patches the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart with which to PATCH - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChart patch(WorkbookChart srcWorkbookChart) throws ClientException; - - /** - * Puts the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookChart srcWorkbookChart, final ICallback callback); - - /** - * Puts the WorkbookChartItem - * - * @param srcWorkbookChart the WorkbookChart to PUT - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChart put(WorkbookChart srcWorkbookChart) throws ClientException; - /** - * Gets the WorkbookChart - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChart - * - * @return the WorkbookChart - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChart get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartItemRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequestBuilder.java deleted file mode 100644 index b8da6723a9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartItemRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartItemRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Item Request Builder. - */ -public interface IBaseWorkbookChartItemRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartItemRequest - * - * @return the IWorkbookChartItemRequest instance - */ - IWorkbookChartItemRequest buildRequest(); - - /** - * Creates the IWorkbookChartItemRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartItemRequest instance - */ - IWorkbookChartItemRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequest.java deleted file mode 100644 index 13de18e660c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartLegendFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Legend Format Request. - */ -public interface IBaseWorkbookChartLegendFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartLegendFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartLegendFormat from the service - * - * @return the WorkbookChartLegendFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLegendFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartLegendFormat with a source - * - * @param sourceWorkbookChartLegendFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat, final ICallback callback); - - /** - * Patches this WorkbookChartLegendFormat with a source - * - * @param sourceWorkbookChartLegendFormat the source object with updates - * @return the updated WorkbookChartLegendFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLegendFormat patch(final WorkbookChartLegendFormat sourceWorkbookChartLegendFormat) throws ClientException; - - /** - * Posts a WorkbookChartLegendFormat with a new object - * - * @param newWorkbookChartLegendFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat, final ICallback callback); - - /** - * Posts a WorkbookChartLegendFormat with a new object - * - * @param newWorkbookChartLegendFormat the new object to create - * @return the created WorkbookChartLegendFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLegendFormat post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartLegendFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartLegendFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequestBuilder.java deleted file mode 100644 index fcb2c80667b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendFormatRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Legend Format Request Builder. - */ -public interface IBaseWorkbookChartLegendFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartLegendFormatRequest instance - */ - IWorkbookChartLegendFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartLegendFormatRequest instance - */ - IWorkbookChartLegendFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - IWorkbookChartFillRequestBuilder fill(); - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - IWorkbookChartFontRequestBuilder font(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequest.java deleted file mode 100644 index 22d337cb58c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartLegend; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Legend Request. - */ -public interface IBaseWorkbookChartLegendRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartLegend from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartLegend from the service - * - * @return the WorkbookChartLegend from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLegend get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartLegend with a source - * - * @param sourceWorkbookChartLegend the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartLegend sourceWorkbookChartLegend, final ICallback callback); - - /** - * Patches this WorkbookChartLegend with a source - * - * @param sourceWorkbookChartLegend the source object with updates - * @return the updated WorkbookChartLegend - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLegend patch(final WorkbookChartLegend sourceWorkbookChartLegend) throws ClientException; - - /** - * Posts a WorkbookChartLegend with a new object - * - * @param newWorkbookChartLegend the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartLegend newWorkbookChartLegend, final ICallback callback); - - /** - * Posts a WorkbookChartLegend with a new object - * - * @param newWorkbookChartLegend the new object to create - * @return the created WorkbookChartLegend - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLegend post(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartLegendRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartLegendRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequestBuilder.java deleted file mode 100644 index c51ff905daf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLegendRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Legend Request Builder. - */ -public interface IBaseWorkbookChartLegendRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartLegendRequest instance - */ - IWorkbookChartLegendRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartLegendRequest instance - */ - IWorkbookChartLegendRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartLegendFormat - * - * @return the IWorkbookChartLegendFormatRequestBuilder instance - */ - IWorkbookChartLegendFormatRequestBuilder format(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequest.java deleted file mode 100644 index 83ca2a849f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Line Format Clear Request. - */ -public interface IBaseWorkbookChartLineFormatClearRequest { - - /** - * Creates the WorkbookChartLineFormatClear - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookChartLineFormatClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequestBuilder.java deleted file mode 100644 index fd598d85f55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatClearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Line Format Clear Request Builder. - */ -public interface IBaseWorkbookChartLineFormatClearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartLineFormatClearRequest - * - * @return the IWorkbookChartLineFormatClearRequest instance - */ - IWorkbookChartLineFormatClearRequest buildRequest(); - - /** - * Creates the IWorkbookChartLineFormatClearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartLineFormatClearRequest instance - */ - IWorkbookChartLineFormatClearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequest.java deleted file mode 100644 index 73d726ad6fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartLineFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Line Format Request. - */ -public interface IBaseWorkbookChartLineFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartLineFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartLineFormat from the service - * - * @return the WorkbookChartLineFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLineFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartLineFormat with a source - * - * @param sourceWorkbookChartLineFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat, final ICallback callback); - - /** - * Patches this WorkbookChartLineFormat with a source - * - * @param sourceWorkbookChartLineFormat the source object with updates - * @return the updated WorkbookChartLineFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLineFormat patch(final WorkbookChartLineFormat sourceWorkbookChartLineFormat) throws ClientException; - - /** - * Posts a WorkbookChartLineFormat with a new object - * - * @param newWorkbookChartLineFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartLineFormat newWorkbookChartLineFormat, final ICallback callback); - - /** - * Posts a WorkbookChartLineFormat with a new object - * - * @param newWorkbookChartLineFormat the new object to create - * @return the created WorkbookChartLineFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartLineFormat post(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartLineFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartLineFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequestBuilder.java deleted file mode 100644 index 19e7850c5f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartLineFormatRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatClearRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Line Format Request Builder. - */ -public interface IBaseWorkbookChartLineFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartLineFormatRequest instance - */ - IWorkbookChartLineFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartLineFormatRequest instance - */ - IWorkbookChartLineFormatRequest buildRequest(final java.util.List requestOptions); - IWorkbookChartLineFormatClearRequestBuilder clear(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionPage.java deleted file mode 100644 index 8125373148c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Collection Page. - */ -public interface IBaseWorkbookChartPointCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequest.java deleted file mode 100644 index 06dfb6932ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Collection Request. - */ -public interface IBaseWorkbookChartPointCollectionRequest { - - void get(final ICallback callback); - - IWorkbookChartPointCollectionPage get() throws ClientException; - - void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback); - - WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartPointCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartPointCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartPointCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequestBuilder.java deleted file mode 100644 index 063d5921eaa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Collection Request Builder. - */ -public interface IBaseWorkbookChartPointCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookChartPointCollectionRequest buildRequest(); - - IWorkbookChartPointCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookChartPointRequestBuilder byId(final String id); - - IWorkbookChartPointItemAtRequestBuilder itemAt(final Integer index); - IWorkbookChartPointCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequest.java deleted file mode 100644 index 2da13fc3723..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Count Request. - */ -public interface IBaseWorkbookChartPointCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartPointCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartPointCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequestBuilder.java deleted file mode 100644 index 1a10c06ce3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Count Request Builder. - */ -public interface IBaseWorkbookChartPointCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartPointCountRequest - * - * @return the IWorkbookChartPointCountRequest instance - */ - IWorkbookChartPointCountRequest buildRequest(); - - /** - * Creates the IWorkbookChartPointCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartPointCountRequest instance - */ - IWorkbookChartPointCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequest.java deleted file mode 100644 index 81d81de09b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartPointFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Format Request. - */ -public interface IBaseWorkbookChartPointFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartPointFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartPointFormat from the service - * - * @return the WorkbookChartPointFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartPointFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartPointFormat with a source - * - * @param sourceWorkbookChartPointFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat, final ICallback callback); - - /** - * Patches this WorkbookChartPointFormat with a source - * - * @param sourceWorkbookChartPointFormat the source object with updates - * @return the updated WorkbookChartPointFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartPointFormat patch(final WorkbookChartPointFormat sourceWorkbookChartPointFormat) throws ClientException; - - /** - * Posts a WorkbookChartPointFormat with a new object - * - * @param newWorkbookChartPointFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartPointFormat newWorkbookChartPointFormat, final ICallback callback); - - /** - * Posts a WorkbookChartPointFormat with a new object - * - * @param newWorkbookChartPointFormat the new object to create - * @return the created WorkbookChartPointFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartPointFormat post(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartPointFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartPointFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequestBuilder.java deleted file mode 100644 index 03d20ac8cf1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointFormatRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Format Request Builder. - */ -public interface IBaseWorkbookChartPointFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartPointFormatRequest instance - */ - IWorkbookChartPointFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartPointFormatRequest instance - */ - IWorkbookChartPointFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - IWorkbookChartFillRequestBuilder fill(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequest.java deleted file mode 100644 index c7ca1545229..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Item At Request. - */ -public interface IBaseWorkbookChartPointItemAtRequest { - - /** - * Patches the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback); - - /** - * Patches the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint with which to PATCH - * @return the WorkbookChartPoint - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChartPoint patch(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException; - - /** - * Puts the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookChartPoint srcWorkbookChartPoint, final ICallback callback); - - /** - * Puts the WorkbookChartPointItemAt - * - * @param srcWorkbookChartPoint the WorkbookChartPoint to PUT - * @return the WorkbookChartPoint - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChartPoint put(WorkbookChartPoint srcWorkbookChartPoint) throws ClientException; - /** - * Gets the WorkbookChartPoint - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartPoint - * - * @return the WorkbookChartPoint - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChartPoint get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartPointItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartPointItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequestBuilder.java deleted file mode 100644 index f62d0bcfe99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Item At Request Builder. - */ -public interface IBaseWorkbookChartPointItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartPointItemAtRequest - * - * @return the IWorkbookChartPointItemAtRequest instance - */ - IWorkbookChartPointItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookChartPointItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartPointItemAtRequest instance - */ - IWorkbookChartPointItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequest.java deleted file mode 100644 index fd5b97d41d1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartPoint; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Request. - */ -public interface IBaseWorkbookChartPointRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartPoint from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartPoint from the service - * - * @return the WorkbookChartPoint from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartPoint get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartPoint with a source - * - * @param sourceWorkbookChartPoint the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartPoint sourceWorkbookChartPoint, final ICallback callback); - - /** - * Patches this WorkbookChartPoint with a source - * - * @param sourceWorkbookChartPoint the source object with updates - * @return the updated WorkbookChartPoint - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartPoint patch(final WorkbookChartPoint sourceWorkbookChartPoint) throws ClientException; - - /** - * Posts a WorkbookChartPoint with a new object - * - * @param newWorkbookChartPoint the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback); - - /** - * Posts a WorkbookChartPoint with a new object - * - * @param newWorkbookChartPoint the new object to create - * @return the created WorkbookChartPoint - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartPointRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartPointRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequestBuilder.java deleted file mode 100644 index 6c05a8dd3bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartPointRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Point Request Builder. - */ -public interface IBaseWorkbookChartPointRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartPointRequest instance - */ - IWorkbookChartPointRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartPointRequest instance - */ - IWorkbookChartPointRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartPointFormat - * - * @return the IWorkbookChartPointFormatRequestBuilder instance - */ - IWorkbookChartPointFormatRequestBuilder format(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequest.java deleted file mode 100644 index 07435fa82e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChart; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Request. - */ -public interface IBaseWorkbookChartRequest extends IHttpRequest { - - /** - * Gets the WorkbookChart from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChart from the service - * - * @return the WorkbookChart from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChart get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChart with a source - * - * @param sourceWorkbookChart the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChart sourceWorkbookChart, final ICallback callback); - - /** - * Patches this WorkbookChart with a source - * - * @param sourceWorkbookChart the source object with updates - * @return the updated WorkbookChart - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChart patch(final WorkbookChart sourceWorkbookChart) throws ClientException; - - /** - * Posts a WorkbookChart with a new object - * - * @param newWorkbookChart the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChart newWorkbookChart, final ICallback callback); - - /** - * Posts a WorkbookChart with a new object - * - * @param newWorkbookChart the new object to create - * @return the created WorkbookChart - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequestBuilder.java deleted file mode 100644 index 49593b454b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartRequestBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartAxesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartDataLabelsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartAreaFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartLegendRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartImageRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Request Builder. - */ -public interface IBaseWorkbookChartRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartRequest instance - */ - IWorkbookChartRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartRequest instance - */ - IWorkbookChartRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartAxes - * - * @return the IWorkbookChartAxesRequestBuilder instance - */ - IWorkbookChartAxesRequestBuilder axes(); - - /** - * Gets the request builder for WorkbookChartDataLabels - * - * @return the IWorkbookChartDataLabelsRequestBuilder instance - */ - IWorkbookChartDataLabelsRequestBuilder dataLabels(); - - /** - * Gets the request builder for WorkbookChartAreaFormat - * - * @return the IWorkbookChartAreaFormatRequestBuilder instance - */ - IWorkbookChartAreaFormatRequestBuilder format(); - - /** - * Gets the request builder for WorkbookChartLegend - * - * @return the IWorkbookChartLegendRequestBuilder instance - */ - IWorkbookChartLegendRequestBuilder legend(); - - IWorkbookChartSeriesCollectionRequestBuilder series(); - - IWorkbookChartSeriesRequestBuilder series(final String id); - - /** - * Gets the request builder for WorkbookChartTitle - * - * @return the IWorkbookChartTitleRequestBuilder instance - */ - IWorkbookChartTitleRequestBuilder title(); - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - IWorkbookWorksheetRequestBuilder worksheet(); - IWorkbookChartSetDataRequestBuilder setData(final com.google.gson.JsonElement sourceData, final String seriesBy); - IWorkbookChartSetPositionRequestBuilder setPosition(final com.google.gson.JsonElement startCell, final com.google.gson.JsonElement endCell); - IWorkbookChartImageRequestBuilder image(); - IWorkbookChartImageRequestBuilder image(final Integer width); - IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height); - IWorkbookChartImageRequestBuilder image(final Integer width, final Integer height, final String fittingMode); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionPage.java deleted file mode 100644 index a9124f35caa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Collection Page. - */ -public interface IBaseWorkbookChartSeriesCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequest.java deleted file mode 100644 index b11bdb0e4fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Collection Request. - */ -public interface IBaseWorkbookChartSeriesCollectionRequest { - - void get(final ICallback callback); - - IWorkbookChartSeriesCollectionPage get() throws ClientException; - - void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback); - - WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartSeriesCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartSeriesCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartSeriesCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequestBuilder.java deleted file mode 100644 index d7732344581..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Collection Request Builder. - */ -public interface IBaseWorkbookChartSeriesCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookChartSeriesCollectionRequest buildRequest(); - - IWorkbookChartSeriesCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookChartSeriesRequestBuilder byId(final String id); - - IWorkbookChartSeriesItemAtRequestBuilder itemAt(final Integer index); - IWorkbookChartSeriesCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequest.java deleted file mode 100644 index d96372918b1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Count Request. - */ -public interface IBaseWorkbookChartSeriesCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartSeriesCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartSeriesCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequestBuilder.java deleted file mode 100644 index 112b070d6c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Count Request Builder. - */ -public interface IBaseWorkbookChartSeriesCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartSeriesCountRequest - * - * @return the IWorkbookChartSeriesCountRequest instance - */ - IWorkbookChartSeriesCountRequest buildRequest(); - - /** - * Creates the IWorkbookChartSeriesCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSeriesCountRequest instance - */ - IWorkbookChartSeriesCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequest.java deleted file mode 100644 index 97f751da4a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSeriesFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Format Request. - */ -public interface IBaseWorkbookChartSeriesFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartSeriesFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartSeriesFormat from the service - * - * @return the WorkbookChartSeriesFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartSeriesFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartSeriesFormat with a source - * - * @param sourceWorkbookChartSeriesFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat, final ICallback callback); - - /** - * Patches this WorkbookChartSeriesFormat with a source - * - * @param sourceWorkbookChartSeriesFormat the source object with updates - * @return the updated WorkbookChartSeriesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartSeriesFormat patch(final WorkbookChartSeriesFormat sourceWorkbookChartSeriesFormat) throws ClientException; - - /** - * Posts a WorkbookChartSeriesFormat with a new object - * - * @param newWorkbookChartSeriesFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat, final ICallback callback); - - /** - * Posts a WorkbookChartSeriesFormat with a new object - * - * @param newWorkbookChartSeriesFormat the new object to create - * @return the created WorkbookChartSeriesFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartSeriesFormat post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartSeriesFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartSeriesFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequestBuilder.java deleted file mode 100644 index 517aa8c655c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesFormatRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartLineFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Format Request Builder. - */ -public interface IBaseWorkbookChartSeriesFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartSeriesFormatRequest instance - */ - IWorkbookChartSeriesFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartSeriesFormatRequest instance - */ - IWorkbookChartSeriesFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - IWorkbookChartFillRequestBuilder fill(); - - /** - * Gets the request builder for WorkbookChartLineFormat - * - * @return the IWorkbookChartLineFormatRequestBuilder instance - */ - IWorkbookChartLineFormatRequestBuilder line(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequest.java deleted file mode 100644 index 8a79f5acb70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Item At Request. - */ -public interface IBaseWorkbookChartSeriesItemAtRequest { - - /** - * Patches the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback); - - /** - * Patches the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries with which to PATCH - * @return the WorkbookChartSeries - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChartSeries patch(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException; - - /** - * Puts the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookChartSeries srcWorkbookChartSeries, final ICallback callback); - - /** - * Puts the WorkbookChartSeriesItemAt - * - * @param srcWorkbookChartSeries the WorkbookChartSeries to PUT - * @return the WorkbookChartSeries - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChartSeries put(WorkbookChartSeries srcWorkbookChartSeries) throws ClientException; - /** - * Gets the WorkbookChartSeries - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartSeries - * - * @return the WorkbookChartSeries - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookChartSeries get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartSeriesItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartSeriesItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequestBuilder.java deleted file mode 100644 index 362d7603c0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Item At Request Builder. - */ -public interface IBaseWorkbookChartSeriesItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartSeriesItemAtRequest - * - * @return the IWorkbookChartSeriesItemAtRequest instance - */ - IWorkbookChartSeriesItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookChartSeriesItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSeriesItemAtRequest instance - */ - IWorkbookChartSeriesItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequest.java deleted file mode 100644 index 80df63abd95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartSeries; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Request. - */ -public interface IBaseWorkbookChartSeriesRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartSeries from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartSeries from the service - * - * @return the WorkbookChartSeries from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartSeries get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartSeries with a source - * - * @param sourceWorkbookChartSeries the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartSeries sourceWorkbookChartSeries, final ICallback callback); - - /** - * Patches this WorkbookChartSeries with a source - * - * @param sourceWorkbookChartSeries the source object with updates - * @return the updated WorkbookChartSeries - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartSeries patch(final WorkbookChartSeries sourceWorkbookChartSeries) throws ClientException; - - /** - * Posts a WorkbookChartSeries with a new object - * - * @param newWorkbookChartSeries the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback); - - /** - * Posts a WorkbookChartSeries with a new object - * - * @param newWorkbookChartSeries the new object to create - * @return the created WorkbookChartSeries - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartSeriesRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartSeriesRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequestBuilder.java deleted file mode 100644 index 9959c183769..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSeriesRequestBuilder.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartSeriesFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartPointRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Series Request Builder. - */ -public interface IBaseWorkbookChartSeriesRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartSeriesRequest instance - */ - IWorkbookChartSeriesRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartSeriesRequest instance - */ - IWorkbookChartSeriesRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartSeriesFormat - * - * @return the IWorkbookChartSeriesFormatRequestBuilder instance - */ - IWorkbookChartSeriesFormatRequestBuilder format(); - - IWorkbookChartPointCollectionRequestBuilder points(); - - IWorkbookChartPointRequestBuilder points(final String id); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequest.java deleted file mode 100644 index 3849d856ab7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Set Data Request. - */ -public interface IBaseWorkbookChartSetDataRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartSetDataRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartSetDataRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartSetDataRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequestBuilder.java deleted file mode 100644 index 84fe165e014..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetDataRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetDataRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Set Data Request Builder. - */ -public interface IBaseWorkbookChartSetDataRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartSetDataRequest - * - * @return the IWorkbookChartSetDataRequest instance - */ - IWorkbookChartSetDataRequest buildRequest(); - - /** - * Creates the IWorkbookChartSetDataRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSetDataRequest instance - */ - IWorkbookChartSetDataRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequest.java deleted file mode 100644 index f9e5e339a7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Set Position Request. - */ -public interface IBaseWorkbookChartSetPositionRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookChartSetPositionRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookChartSetPositionRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookChartSetPositionRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequestBuilder.java deleted file mode 100644 index 03ac2572715..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartSetPositionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartSetPositionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Set Position Request Builder. - */ -public interface IBaseWorkbookChartSetPositionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookChartSetPositionRequest - * - * @return the IWorkbookChartSetPositionRequest instance - */ - IWorkbookChartSetPositionRequest buildRequest(); - - /** - * Creates the IWorkbookChartSetPositionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookChartSetPositionRequest instance - */ - IWorkbookChartSetPositionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequest.java deleted file mode 100644 index 50f8346710a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartTitleFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Title Format Request. - */ -public interface IBaseWorkbookChartTitleFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartTitleFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartTitleFormat from the service - * - * @return the WorkbookChartTitleFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartTitleFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartTitleFormat with a source - * - * @param sourceWorkbookChartTitleFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat, final ICallback callback); - - /** - * Patches this WorkbookChartTitleFormat with a source - * - * @param sourceWorkbookChartTitleFormat the source object with updates - * @return the updated WorkbookChartTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartTitleFormat patch(final WorkbookChartTitleFormat sourceWorkbookChartTitleFormat) throws ClientException; - - /** - * Posts a WorkbookChartTitleFormat with a new object - * - * @param newWorkbookChartTitleFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat, final ICallback callback); - - /** - * Posts a WorkbookChartTitleFormat with a new object - * - * @param newWorkbookChartTitleFormat the new object to create - * @return the created WorkbookChartTitleFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartTitleFormat post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartTitleFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartTitleFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequestBuilder.java deleted file mode 100644 index 6c4519c2709..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleFormatRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartFontRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Title Format Request Builder. - */ -public interface IBaseWorkbookChartTitleFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartTitleFormatRequest instance - */ - IWorkbookChartTitleFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartTitleFormatRequest instance - */ - IWorkbookChartTitleFormatRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartFill - * - * @return the IWorkbookChartFillRequestBuilder instance - */ - IWorkbookChartFillRequestBuilder fill(); - - /** - * Gets the request builder for WorkbookChartFont - * - * @return the IWorkbookChartFontRequestBuilder instance - */ - IWorkbookChartFontRequestBuilder font(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequest.java deleted file mode 100644 index 3df7d9ccb84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookChartTitle; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Title Request. - */ -public interface IBaseWorkbookChartTitleRequest extends IHttpRequest { - - /** - * Gets the WorkbookChartTitle from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookChartTitle from the service - * - * @return the WorkbookChartTitle from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartTitle get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookChartTitle with a source - * - * @param sourceWorkbookChartTitle the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookChartTitle sourceWorkbookChartTitle, final ICallback callback); - - /** - * Patches this WorkbookChartTitle with a source - * - * @param sourceWorkbookChartTitle the source object with updates - * @return the updated WorkbookChartTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartTitle patch(final WorkbookChartTitle sourceWorkbookChartTitle) throws ClientException; - - /** - * Posts a WorkbookChartTitle with a new object - * - * @param newWorkbookChartTitle the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookChartTitle newWorkbookChartTitle, final ICallback callback); - - /** - * Posts a WorkbookChartTitle with a new object - * - * @param newWorkbookChartTitle the new object to create - * @return the created WorkbookChartTitle - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookChartTitle post(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookChartTitleRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookChartTitleRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequestBuilder.java deleted file mode 100644 index 34fab602e63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookChartTitleRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartTitleFormatRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Chart Title Request Builder. - */ -public interface IBaseWorkbookChartTitleRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookChartTitleRequest instance - */ - IWorkbookChartTitleRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookChartTitleRequest instance - */ - IWorkbookChartTitleRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookChartTitleFormat - * - * @return the IWorkbookChartTitleFormatRequestBuilder instance - */ - IWorkbookChartTitleFormatRequestBuilder format(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequest.java deleted file mode 100644 index e9dd92745d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Close Session Request. - */ -public interface IBaseWorkbookCloseSessionRequest { - - /** - * Creates the WorkbookCloseSession - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookCloseSession - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequestBuilder.java deleted file mode 100644 index 50e7a312ef6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCloseSessionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Close Session Request Builder. - */ -public interface IBaseWorkbookCloseSessionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookCloseSessionRequest - * - * @return the IWorkbookCloseSessionRequest instance - */ - IWorkbookCloseSessionRequest buildRequest(); - - /** - * Creates the IWorkbookCloseSessionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookCloseSessionRequest instance - */ - IWorkbookCloseSessionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequest.java deleted file mode 100644 index bab594e027c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookSessionInfo; -import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Create Session Request. - */ -public interface IBaseWorkbookCreateSessionRequest { - - void post(final ICallback callback); - - WorkbookSessionInfo post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookCreateSessionRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookCreateSessionRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookCreateSessionRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequestBuilder.java deleted file mode 100644 index e1157d3de0a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookCreateSessionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Create Session Request Builder. - */ -public interface IBaseWorkbookCreateSessionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookCreateSessionRequest - * - * @return the IWorkbookCreateSessionRequest instance - */ - IWorkbookCreateSessionRequest buildRequest(); - - /** - * Creates the IWorkbookCreateSessionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookCreateSessionRequest instance - */ - IWorkbookCreateSessionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequest.java deleted file mode 100644 index 25eb7600092..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Bottom Items Filter Request. - */ -public interface IBaseWorkbookFilterApplyBottomItemsFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyBottomItemsFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyBottomItemsFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyBottomItemsFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java deleted file mode 100644 index e16027d7795..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Bottom Items Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyBottomItemsFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyBottomItemsFilterRequest - * - * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance - */ - IWorkbookFilterApplyBottomItemsFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyBottomItemsFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyBottomItemsFilterRequest instance - */ - IWorkbookFilterApplyBottomItemsFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequest.java deleted file mode 100644 index af54085facd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Bottom Percent Filter Request. - */ -public interface IBaseWorkbookFilterApplyBottomPercentFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyBottomPercentFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyBottomPercentFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyBottomPercentFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java deleted file mode 100644 index 3aede5e8160..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Bottom Percent Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyBottomPercentFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyBottomPercentFilterRequest - * - * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance - */ - IWorkbookFilterApplyBottomPercentFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyBottomPercentFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyBottomPercentFilterRequest instance - */ - IWorkbookFilterApplyBottomPercentFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequest.java deleted file mode 100644 index d54a405945c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Cell Color Filter Request. - */ -public interface IBaseWorkbookFilterApplyCellColorFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyCellColorFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyCellColorFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyCellColorFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequestBuilder.java deleted file mode 100644 index 8e365b2bf6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCellColorFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Cell Color Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyCellColorFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyCellColorFilterRequest - * - * @return the IWorkbookFilterApplyCellColorFilterRequest instance - */ - IWorkbookFilterApplyCellColorFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyCellColorFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyCellColorFilterRequest instance - */ - IWorkbookFilterApplyCellColorFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequest.java deleted file mode 100644 index f5a16a02a67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Custom Filter Request. - */ -public interface IBaseWorkbookFilterApplyCustomFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyCustomFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyCustomFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyCustomFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequestBuilder.java deleted file mode 100644 index fdf3a11158d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyCustomFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Custom Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyCustomFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyCustomFilterRequest - * - * @return the IWorkbookFilterApplyCustomFilterRequest instance - */ - IWorkbookFilterApplyCustomFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyCustomFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyCustomFilterRequest instance - */ - IWorkbookFilterApplyCustomFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequest.java deleted file mode 100644 index b89fba06adc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Dynamic Filter Request. - */ -public interface IBaseWorkbookFilterApplyDynamicFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyDynamicFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyDynamicFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyDynamicFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequestBuilder.java deleted file mode 100644 index ad4be5594bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyDynamicFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Dynamic Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyDynamicFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyDynamicFilterRequest - * - * @return the IWorkbookFilterApplyDynamicFilterRequest instance - */ - IWorkbookFilterApplyDynamicFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyDynamicFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyDynamicFilterRequest instance - */ - IWorkbookFilterApplyDynamicFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequest.java deleted file mode 100644 index 220812c94c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Font Color Filter Request. - */ -public interface IBaseWorkbookFilterApplyFontColorFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyFontColorFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyFontColorFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyFontColorFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequestBuilder.java deleted file mode 100644 index 74a4db3aba9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyFontColorFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Font Color Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyFontColorFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyFontColorFilterRequest - * - * @return the IWorkbookFilterApplyFontColorFilterRequest instance - */ - IWorkbookFilterApplyFontColorFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyFontColorFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyFontColorFilterRequest instance - */ - IWorkbookFilterApplyFontColorFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequest.java deleted file mode 100644 index 0c033005a42..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Icon Filter Request. - */ -public interface IBaseWorkbookFilterApplyIconFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyIconFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyIconFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyIconFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequestBuilder.java deleted file mode 100644 index e668062fced..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyIconFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Icon Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyIconFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyIconFilterRequest - * - * @return the IWorkbookFilterApplyIconFilterRequest instance - */ - IWorkbookFilterApplyIconFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyIconFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyIconFilterRequest instance - */ - IWorkbookFilterApplyIconFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequest.java deleted file mode 100644 index 0fc59ea80e6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Request. - */ -public interface IBaseWorkbookFilterApplyRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequestBuilder.java deleted file mode 100644 index fd32c1b3403..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Request Builder. - */ -public interface IBaseWorkbookFilterApplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyRequest - * - * @return the IWorkbookFilterApplyRequest instance - */ - IWorkbookFilterApplyRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyRequest instance - */ - IWorkbookFilterApplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequest.java deleted file mode 100644 index acfda386212..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Top Items Filter Request. - */ -public interface IBaseWorkbookFilterApplyTopItemsFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyTopItemsFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyTopItemsFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyTopItemsFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java deleted file mode 100644 index c108a697197..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Top Items Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyTopItemsFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyTopItemsFilterRequest - * - * @return the IWorkbookFilterApplyTopItemsFilterRequest instance - */ - IWorkbookFilterApplyTopItemsFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyTopItemsFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyTopItemsFilterRequest instance - */ - IWorkbookFilterApplyTopItemsFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequest.java deleted file mode 100644 index 82d00d36b6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Top Percent Filter Request. - */ -public interface IBaseWorkbookFilterApplyTopPercentFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyTopPercentFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyTopPercentFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyTopPercentFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java deleted file mode 100644 index c697cf85421..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Top Percent Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyTopPercentFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyTopPercentFilterRequest - * - * @return the IWorkbookFilterApplyTopPercentFilterRequest instance - */ - IWorkbookFilterApplyTopPercentFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyTopPercentFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyTopPercentFilterRequest instance - */ - IWorkbookFilterApplyTopPercentFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequest.java deleted file mode 100644 index 137c9f88596..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Values Filter Request. - */ -public interface IBaseWorkbookFilterApplyValuesFilterRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFilterApplyValuesFilterRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFilterApplyValuesFilterRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFilterApplyValuesFilterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequestBuilder.java deleted file mode 100644 index d2cc6bc199e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterApplyValuesFilterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Apply Values Filter Request Builder. - */ -public interface IBaseWorkbookFilterApplyValuesFilterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterApplyValuesFilterRequest - * - * @return the IWorkbookFilterApplyValuesFilterRequest instance - */ - IWorkbookFilterApplyValuesFilterRequest buildRequest(); - - /** - * Creates the IWorkbookFilterApplyValuesFilterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterApplyValuesFilterRequest instance - */ - IWorkbookFilterApplyValuesFilterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequest.java deleted file mode 100644 index 98312e806fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Clear Request. - */ -public interface IBaseWorkbookFilterClearRequest { - - /** - * Creates the WorkbookFilterClear - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFilterClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequestBuilder.java deleted file mode 100644 index 51d1ab40918..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterClearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Clear Request Builder. - */ -public interface IBaseWorkbookFilterClearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFilterClearRequest - * - * @return the IWorkbookFilterClearRequest instance - */ - IWorkbookFilterClearRequest buildRequest(); - - /** - * Creates the IWorkbookFilterClearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFilterClearRequest instance - */ - IWorkbookFilterClearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequest.java deleted file mode 100644 index 6a51c8acabf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFilter; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Request. - */ -public interface IBaseWorkbookFilterRequest extends IHttpRequest { - - /** - * Gets the WorkbookFilter from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookFilter from the service - * - * @return the WorkbookFilter from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFilter get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookFilter with a source - * - * @param sourceWorkbookFilter the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookFilter sourceWorkbookFilter, final ICallback callback); - - /** - * Patches this WorkbookFilter with a source - * - * @param sourceWorkbookFilter the source object with updates - * @return the updated WorkbookFilter - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFilter patch(final WorkbookFilter sourceWorkbookFilter) throws ClientException; - - /** - * Posts a WorkbookFilter with a new object - * - * @param newWorkbookFilter the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookFilter newWorkbookFilter, final ICallback callback); - - /** - * Posts a WorkbookFilter with a new object - * - * @param newWorkbookFilter the new object to create - * @return the created WorkbookFilter - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFilter post(final WorkbookFilter newWorkbookFilter) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookFilterRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookFilterRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequestBuilder.java deleted file mode 100644 index 170fd601bd9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFilterRequestBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFilterRequest; -import com.microsoft.graph.models.extensions.WorkbookFilterCriteria; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomItemsFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyBottomPercentFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCellColorFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyCustomFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyDynamicFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyFontColorFilterRequestBuilder; -import com.microsoft.graph.models.extensions.WorkbookIcon; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyIconFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopItemsFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyTopPercentFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterApplyValuesFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFilterClearRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Filter Request Builder. - */ -public interface IBaseWorkbookFilterRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookFilterRequest instance - */ - IWorkbookFilterRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookFilterRequest instance - */ - IWorkbookFilterRequest buildRequest(final java.util.List requestOptions); - IWorkbookFilterApplyRequestBuilder apply(final WorkbookFilterCriteria criteria); - IWorkbookFilterApplyBottomItemsFilterRequestBuilder applyBottomItemsFilter(final Integer count); - IWorkbookFilterApplyBottomPercentFilterRequestBuilder applyBottomPercentFilter(final Integer percent); - IWorkbookFilterApplyCellColorFilterRequestBuilder applyCellColorFilter(final String color); - IWorkbookFilterApplyCustomFilterRequestBuilder applyCustomFilter(final String criteria1, final String criteria2, final String oper); - IWorkbookFilterApplyDynamicFilterRequestBuilder applyDynamicFilter(final String criteria); - IWorkbookFilterApplyFontColorFilterRequestBuilder applyFontColorFilter(final String color); - IWorkbookFilterApplyIconFilterRequestBuilder applyIconFilter(final WorkbookIcon icon); - IWorkbookFilterApplyTopItemsFilterRequestBuilder applyTopItemsFilter(final Integer count); - IWorkbookFilterApplyTopPercentFilterRequestBuilder applyTopPercentFilter(final Integer percent); - IWorkbookFilterApplyValuesFilterRequestBuilder applyValuesFilter(final com.google.gson.JsonElement values); - IWorkbookFilterClearRequestBuilder clear(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequest.java deleted file mode 100644 index 36c74af9798..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFormatProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Format Protection Request. - */ -public interface IBaseWorkbookFormatProtectionRequest extends IHttpRequest { - - /** - * Gets the WorkbookFormatProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookFormatProtection from the service - * - * @return the WorkbookFormatProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFormatProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookFormatProtection with a source - * - * @param sourceWorkbookFormatProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookFormatProtection sourceWorkbookFormatProtection, final ICallback callback); - - /** - * Patches this WorkbookFormatProtection with a source - * - * @param sourceWorkbookFormatProtection the source object with updates - * @return the updated WorkbookFormatProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFormatProtection patch(final WorkbookFormatProtection sourceWorkbookFormatProtection) throws ClientException; - - /** - * Posts a WorkbookFormatProtection with a new object - * - * @param newWorkbookFormatProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookFormatProtection newWorkbookFormatProtection, final ICallback callback); - - /** - * Posts a WorkbookFormatProtection with a new object - * - * @param newWorkbookFormatProtection the new object to create - * @return the created WorkbookFormatProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFormatProtection post(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookFormatProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookFormatProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequestBuilder.java deleted file mode 100644 index c76f16853fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFormatProtectionRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Format Protection Request Builder. - */ -public interface IBaseWorkbookFormatProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookFormatProtectionRequest instance - */ - IWorkbookFormatProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookFormatProtectionRequest instance - */ - IWorkbookFormatProtectionRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequest.java deleted file mode 100644 index 49f3939b563..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Function Result Request. - */ -public interface IBaseWorkbookFunctionResultRequest extends IHttpRequest { - - /** - * Gets the WorkbookFunctionResult from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookFunctionResult from the service - * - * @return the WorkbookFunctionResult from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFunctionResult get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookFunctionResult with a source - * - * @param sourceWorkbookFunctionResult the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookFunctionResult sourceWorkbookFunctionResult, final ICallback callback); - - /** - * Patches this WorkbookFunctionResult with a source - * - * @param sourceWorkbookFunctionResult the source object with updates - * @return the updated WorkbookFunctionResult - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFunctionResult patch(final WorkbookFunctionResult sourceWorkbookFunctionResult) throws ClientException; - - /** - * Posts a WorkbookFunctionResult with a new object - * - * @param newWorkbookFunctionResult the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookFunctionResult newWorkbookFunctionResult, final ICallback callback); - - /** - * Posts a WorkbookFunctionResult with a new object - * - * @param newWorkbookFunctionResult the new object to create - * @return the created WorkbookFunctionResult - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFunctionResult post(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookFunctionResultRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookFunctionResultRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequestBuilder.java deleted file mode 100644 index 3a08ebd2931..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionResultRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionResultRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Function Result Request Builder. - */ -public interface IBaseWorkbookFunctionResultRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookFunctionResultRequest instance - */ - IWorkbookFunctionResultRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookFunctionResultRequest instance - */ - IWorkbookFunctionResultRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequest.java deleted file mode 100644 index ad5e9a9c091..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Abs Request. - */ -public interface IBaseWorkbookFunctionsAbsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAbsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAbsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAbsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequestBuilder.java deleted file mode 100644 index 7999e33fa8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAbsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Abs Request Builder. - */ -public interface IBaseWorkbookFunctionsAbsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAbsRequest - * - * @return the IWorkbookFunctionsAbsRequest instance - */ - IWorkbookFunctionsAbsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAbsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAbsRequest instance - */ - IWorkbookFunctionsAbsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequest.java deleted file mode 100644 index 70ae3a30f40..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Accr Int MRequest. - */ -public interface IBaseWorkbookFunctionsAccrIntMRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAccrIntMRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAccrIntMRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAccrIntMRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequestBuilder.java deleted file mode 100644 index b733cd11c86..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntMRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Accr Int MRequest Builder. - */ -public interface IBaseWorkbookFunctionsAccrIntMRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAccrIntMRequest - * - * @return the IWorkbookFunctionsAccrIntMRequest instance - */ - IWorkbookFunctionsAccrIntMRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAccrIntMRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAccrIntMRequest instance - */ - IWorkbookFunctionsAccrIntMRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequest.java deleted file mode 100644 index 5154763ca20..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Accr Int Request. - */ -public interface IBaseWorkbookFunctionsAccrIntRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAccrIntRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAccrIntRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAccrIntRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequestBuilder.java deleted file mode 100644 index b861b186aaf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAccrIntRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Accr Int Request Builder. - */ -public interface IBaseWorkbookFunctionsAccrIntRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAccrIntRequest - * - * @return the IWorkbookFunctionsAccrIntRequest instance - */ - IWorkbookFunctionsAccrIntRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAccrIntRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAccrIntRequest instance - */ - IWorkbookFunctionsAccrIntRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequest.java deleted file mode 100644 index df968982d8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acos Request. - */ -public interface IBaseWorkbookFunctionsAcosRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAcosRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAcosRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAcosRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequestBuilder.java deleted file mode 100644 index b0220331879..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcosRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acos Request Builder. - */ -public interface IBaseWorkbookFunctionsAcosRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAcosRequest - * - * @return the IWorkbookFunctionsAcosRequest instance - */ - IWorkbookFunctionsAcosRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAcosRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcosRequest instance - */ - IWorkbookFunctionsAcosRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequest.java deleted file mode 100644 index 9d66e958f99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acosh Request. - */ -public interface IBaseWorkbookFunctionsAcoshRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAcoshRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAcoshRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAcoshRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequestBuilder.java deleted file mode 100644 index 7f0da3cc3fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcoshRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acosh Request Builder. - */ -public interface IBaseWorkbookFunctionsAcoshRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAcoshRequest - * - * @return the IWorkbookFunctionsAcoshRequest instance - */ - IWorkbookFunctionsAcoshRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAcoshRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcoshRequest instance - */ - IWorkbookFunctionsAcoshRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequest.java deleted file mode 100644 index e8a165105f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acot Request. - */ -public interface IBaseWorkbookFunctionsAcotRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAcotRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAcotRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAcotRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequestBuilder.java deleted file mode 100644 index 2efe49cba46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcotRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acot Request Builder. - */ -public interface IBaseWorkbookFunctionsAcotRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAcotRequest - * - * @return the IWorkbookFunctionsAcotRequest instance - */ - IWorkbookFunctionsAcotRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAcotRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcotRequest instance - */ - IWorkbookFunctionsAcotRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequest.java deleted file mode 100644 index 7c20c1f3179..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acoth Request. - */ -public interface IBaseWorkbookFunctionsAcothRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAcothRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAcothRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAcothRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequestBuilder.java deleted file mode 100644 index bfc55ea4f1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAcothRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Acoth Request Builder. - */ -public interface IBaseWorkbookFunctionsAcothRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAcothRequest - * - * @return the IWorkbookFunctionsAcothRequest instance - */ - IWorkbookFunctionsAcothRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAcothRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAcothRequest instance - */ - IWorkbookFunctionsAcothRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequest.java deleted file mode 100644 index cd37d7ebdeb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Amor Degrc Request. - */ -public interface IBaseWorkbookFunctionsAmorDegrcRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAmorDegrcRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAmorDegrcRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAmorDegrcRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequestBuilder.java deleted file mode 100644 index 9651e687bda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorDegrcRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Amor Degrc Request Builder. - */ -public interface IBaseWorkbookFunctionsAmorDegrcRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAmorDegrcRequest - * - * @return the IWorkbookFunctionsAmorDegrcRequest instance - */ - IWorkbookFunctionsAmorDegrcRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAmorDegrcRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAmorDegrcRequest instance - */ - IWorkbookFunctionsAmorDegrcRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequest.java deleted file mode 100644 index 21812f01f91..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Amor Linc Request. - */ -public interface IBaseWorkbookFunctionsAmorLincRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAmorLincRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAmorLincRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAmorLincRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequestBuilder.java deleted file mode 100644 index bb4932ae043..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAmorLincRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Amor Linc Request Builder. - */ -public interface IBaseWorkbookFunctionsAmorLincRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAmorLincRequest - * - * @return the IWorkbookFunctionsAmorLincRequest instance - */ - IWorkbookFunctionsAmorLincRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAmorLincRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAmorLincRequest instance - */ - IWorkbookFunctionsAmorLincRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequest.java deleted file mode 100644 index 6f4c8a52cc4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions And Request. - */ -public interface IBaseWorkbookFunctionsAndRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAndRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAndRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAndRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequestBuilder.java deleted file mode 100644 index 3e52024f7b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAndRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions And Request Builder. - */ -public interface IBaseWorkbookFunctionsAndRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAndRequest - * - * @return the IWorkbookFunctionsAndRequest instance - */ - IWorkbookFunctionsAndRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAndRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAndRequest instance - */ - IWorkbookFunctionsAndRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequest.java deleted file mode 100644 index 137e63548ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Arabic Request. - */ -public interface IBaseWorkbookFunctionsArabicRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsArabicRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsArabicRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsArabicRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequestBuilder.java deleted file mode 100644 index 92010221e33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsArabicRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Arabic Request Builder. - */ -public interface IBaseWorkbookFunctionsArabicRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsArabicRequest - * - * @return the IWorkbookFunctionsArabicRequest instance - */ - IWorkbookFunctionsArabicRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsArabicRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsArabicRequest instance - */ - IWorkbookFunctionsArabicRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequest.java deleted file mode 100644 index 4968c0081bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Areas Request. - */ -public interface IBaseWorkbookFunctionsAreasRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAreasRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAreasRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAreasRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequestBuilder.java deleted file mode 100644 index 5aaf8c462a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAreasRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Areas Request Builder. - */ -public interface IBaseWorkbookFunctionsAreasRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAreasRequest - * - * @return the IWorkbookFunctionsAreasRequest instance - */ - IWorkbookFunctionsAreasRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAreasRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAreasRequest instance - */ - IWorkbookFunctionsAreasRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequest.java deleted file mode 100644 index 1480605964c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Asc Request. - */ -public interface IBaseWorkbookFunctionsAscRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAscRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAscRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAscRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequestBuilder.java deleted file mode 100644 index 655cad19891..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAscRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Asc Request Builder. - */ -public interface IBaseWorkbookFunctionsAscRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAscRequest - * - * @return the IWorkbookFunctionsAscRequest instance - */ - IWorkbookFunctionsAscRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAscRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAscRequest instance - */ - IWorkbookFunctionsAscRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequest.java deleted file mode 100644 index 254dd3f970a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Asin Request. - */ -public interface IBaseWorkbookFunctionsAsinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAsinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAsinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAsinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequestBuilder.java deleted file mode 100644 index b8d5ebc6b7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Asin Request Builder. - */ -public interface IBaseWorkbookFunctionsAsinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAsinRequest - * - * @return the IWorkbookFunctionsAsinRequest instance - */ - IWorkbookFunctionsAsinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAsinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAsinRequest instance - */ - IWorkbookFunctionsAsinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequest.java deleted file mode 100644 index 100ec2ea2f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Asinh Request. - */ -public interface IBaseWorkbookFunctionsAsinhRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAsinhRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAsinhRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAsinhRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequestBuilder.java deleted file mode 100644 index 65aabb6eab1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAsinhRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Asinh Request Builder. - */ -public interface IBaseWorkbookFunctionsAsinhRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAsinhRequest - * - * @return the IWorkbookFunctionsAsinhRequest instance - */ - IWorkbookFunctionsAsinhRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAsinhRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAsinhRequest instance - */ - IWorkbookFunctionsAsinhRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2Request.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2Request.java deleted file mode 100644 index 39ab1883668..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2Request.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Atan2Request. - */ -public interface IBaseWorkbookFunctionsAtan2Request { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAtan2Request select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAtan2Request top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAtan2Request expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2RequestBuilder.java deleted file mode 100644 index afdac0a1a46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtan2RequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2Request; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Atan2Request Builder. - */ -public interface IBaseWorkbookFunctionsAtan2RequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAtan2Request - * - * @return the IWorkbookFunctionsAtan2Request instance - */ - IWorkbookFunctionsAtan2Request buildRequest(); - - /** - * Creates the IWorkbookFunctionsAtan2Request with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAtan2Request instance - */ - IWorkbookFunctionsAtan2Request buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequest.java deleted file mode 100644 index e669f2aa3f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Atan Request. - */ -public interface IBaseWorkbookFunctionsAtanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAtanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAtanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAtanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequestBuilder.java deleted file mode 100644 index 32f2d9de639..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Atan Request Builder. - */ -public interface IBaseWorkbookFunctionsAtanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAtanRequest - * - * @return the IWorkbookFunctionsAtanRequest instance - */ - IWorkbookFunctionsAtanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAtanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAtanRequest instance - */ - IWorkbookFunctionsAtanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequest.java deleted file mode 100644 index 5375a9d0192..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Atanh Request. - */ -public interface IBaseWorkbookFunctionsAtanhRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAtanhRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAtanhRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAtanhRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequestBuilder.java deleted file mode 100644 index 0a2ad32417e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAtanhRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Atanh Request Builder. - */ -public interface IBaseWorkbookFunctionsAtanhRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAtanhRequest - * - * @return the IWorkbookFunctionsAtanhRequest instance - */ - IWorkbookFunctionsAtanhRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAtanhRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAtanhRequest instance - */ - IWorkbookFunctionsAtanhRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequest.java deleted file mode 100644 index 8da329faf06..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ave Dev Request. - */ -public interface IBaseWorkbookFunctionsAveDevRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAveDevRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAveDevRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAveDevRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequestBuilder.java deleted file mode 100644 index d5563922bed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAveDevRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ave Dev Request Builder. - */ -public interface IBaseWorkbookFunctionsAveDevRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAveDevRequest - * - * @return the IWorkbookFunctionsAveDevRequest instance - */ - IWorkbookFunctionsAveDevRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAveDevRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAveDevRequest instance - */ - IWorkbookFunctionsAveDevRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequest.java deleted file mode 100644 index 12b7e9695f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average ARequest. - */ -public interface IBaseWorkbookFunctionsAverageARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAverageARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAverageARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAverageARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequestBuilder.java deleted file mode 100644 index a0b75816e61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average ARequest Builder. - */ -public interface IBaseWorkbookFunctionsAverageARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAverageARequest - * - * @return the IWorkbookFunctionsAverageARequest instance - */ - IWorkbookFunctionsAverageARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAverageARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageARequest instance - */ - IWorkbookFunctionsAverageARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequest.java deleted file mode 100644 index 60b3ee37816..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average If Request. - */ -public interface IBaseWorkbookFunctionsAverageIfRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAverageIfRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAverageIfRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAverageIfRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequestBuilder.java deleted file mode 100644 index 4c8ec2e9298..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average If Request Builder. - */ -public interface IBaseWorkbookFunctionsAverageIfRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAverageIfRequest - * - * @return the IWorkbookFunctionsAverageIfRequest instance - */ - IWorkbookFunctionsAverageIfRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAverageIfRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageIfRequest instance - */ - IWorkbookFunctionsAverageIfRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequest.java deleted file mode 100644 index 181f713aa99..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average Ifs Request. - */ -public interface IBaseWorkbookFunctionsAverageIfsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAverageIfsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAverageIfsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAverageIfsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequestBuilder.java deleted file mode 100644 index e478d0c9850..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageIfsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average Ifs Request Builder. - */ -public interface IBaseWorkbookFunctionsAverageIfsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAverageIfsRequest - * - * @return the IWorkbookFunctionsAverageIfsRequest instance - */ - IWorkbookFunctionsAverageIfsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAverageIfsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageIfsRequest instance - */ - IWorkbookFunctionsAverageIfsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequest.java deleted file mode 100644 index 131ed07fc70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average Request. - */ -public interface IBaseWorkbookFunctionsAverageRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsAverageRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsAverageRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsAverageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequestBuilder.java deleted file mode 100644 index 8baf11be25b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsAverageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Average Request Builder. - */ -public interface IBaseWorkbookFunctionsAverageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsAverageRequest - * - * @return the IWorkbookFunctionsAverageRequest instance - */ - IWorkbookFunctionsAverageRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsAverageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsAverageRequest instance - */ - IWorkbookFunctionsAverageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequest.java deleted file mode 100644 index 865b7054b51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Baht Text Request. - */ -public interface IBaseWorkbookFunctionsBahtTextRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBahtTextRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBahtTextRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBahtTextRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequestBuilder.java deleted file mode 100644 index e6bd35e287d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBahtTextRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Baht Text Request Builder. - */ -public interface IBaseWorkbookFunctionsBahtTextRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBahtTextRequest - * - * @return the IWorkbookFunctionsBahtTextRequest instance - */ - IWorkbookFunctionsBahtTextRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBahtTextRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBahtTextRequest instance - */ - IWorkbookFunctionsBahtTextRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequest.java deleted file mode 100644 index 341291b3e97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Base Request. - */ -public interface IBaseWorkbookFunctionsBaseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBaseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBaseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBaseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequestBuilder.java deleted file mode 100644 index 92981c32e15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBaseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Base Request Builder. - */ -public interface IBaseWorkbookFunctionsBaseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBaseRequest - * - * @return the IWorkbookFunctionsBaseRequest instance - */ - IWorkbookFunctionsBaseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBaseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBaseRequest instance - */ - IWorkbookFunctionsBaseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequest.java deleted file mode 100644 index 9fa375f1a33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel IRequest. - */ -public interface IBaseWorkbookFunctionsBesselIRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBesselIRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBesselIRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBesselIRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequestBuilder.java deleted file mode 100644 index 7864255b802..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselIRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel IRequest Builder. - */ -public interface IBaseWorkbookFunctionsBesselIRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBesselIRequest - * - * @return the IWorkbookFunctionsBesselIRequest instance - */ - IWorkbookFunctionsBesselIRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBesselIRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselIRequest instance - */ - IWorkbookFunctionsBesselIRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequest.java deleted file mode 100644 index 33491c93a68..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel JRequest. - */ -public interface IBaseWorkbookFunctionsBesselJRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBesselJRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBesselJRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBesselJRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequestBuilder.java deleted file mode 100644 index 43e0d32e8f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselJRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel JRequest Builder. - */ -public interface IBaseWorkbookFunctionsBesselJRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBesselJRequest - * - * @return the IWorkbookFunctionsBesselJRequest instance - */ - IWorkbookFunctionsBesselJRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBesselJRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselJRequest instance - */ - IWorkbookFunctionsBesselJRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequest.java deleted file mode 100644 index e40619ecce4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel KRequest. - */ -public interface IBaseWorkbookFunctionsBesselKRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBesselKRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBesselKRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBesselKRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequestBuilder.java deleted file mode 100644 index b3d82099fe8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselKRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel KRequest Builder. - */ -public interface IBaseWorkbookFunctionsBesselKRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBesselKRequest - * - * @return the IWorkbookFunctionsBesselKRequest instance - */ - IWorkbookFunctionsBesselKRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBesselKRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselKRequest instance - */ - IWorkbookFunctionsBesselKRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequest.java deleted file mode 100644 index 3e66ca5ccd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel YRequest. - */ -public interface IBaseWorkbookFunctionsBesselYRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBesselYRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBesselYRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBesselYRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequestBuilder.java deleted file mode 100644 index 3f667b776b2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBesselYRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bessel YRequest Builder. - */ -public interface IBaseWorkbookFunctionsBesselYRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBesselYRequest - * - * @return the IWorkbookFunctionsBesselYRequest instance - */ - IWorkbookFunctionsBesselYRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBesselYRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBesselYRequest instance - */ - IWorkbookFunctionsBesselYRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequest.java deleted file mode 100644 index decdf72dbd0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Beta_Dist Request. - */ -public interface IBaseWorkbookFunctionsBeta_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBeta_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBeta_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBeta_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequestBuilder.java deleted file mode 100644 index 030f800ced7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Beta_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsBeta_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBeta_DistRequest - * - * @return the IWorkbookFunctionsBeta_DistRequest instance - */ - IWorkbookFunctionsBeta_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBeta_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBeta_DistRequest instance - */ - IWorkbookFunctionsBeta_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequest.java deleted file mode 100644 index c80f789d112..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Beta_Inv Request. - */ -public interface IBaseWorkbookFunctionsBeta_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBeta_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBeta_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBeta_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequestBuilder.java deleted file mode 100644 index 5458990593f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBeta_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Beta_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsBeta_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBeta_InvRequest - * - * @return the IWorkbookFunctionsBeta_InvRequest instance - */ - IWorkbookFunctionsBeta_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBeta_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBeta_InvRequest instance - */ - IWorkbookFunctionsBeta_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequest.java deleted file mode 100644 index 56d820fdb6e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bin2Dec Request. - */ -public interface IBaseWorkbookFunctionsBin2DecRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBin2DecRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBin2DecRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBin2DecRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequestBuilder.java deleted file mode 100644 index 1830c4135fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2DecRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bin2Dec Request Builder. - */ -public interface IBaseWorkbookFunctionsBin2DecRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBin2DecRequest - * - * @return the IWorkbookFunctionsBin2DecRequest instance - */ - IWorkbookFunctionsBin2DecRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBin2DecRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBin2DecRequest instance - */ - IWorkbookFunctionsBin2DecRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequest.java deleted file mode 100644 index e5cc69a93f3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bin2Hex Request. - */ -public interface IBaseWorkbookFunctionsBin2HexRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBin2HexRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBin2HexRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBin2HexRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequestBuilder.java deleted file mode 100644 index 8a02a447782..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2HexRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bin2Hex Request Builder. - */ -public interface IBaseWorkbookFunctionsBin2HexRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBin2HexRequest - * - * @return the IWorkbookFunctionsBin2HexRequest instance - */ - IWorkbookFunctionsBin2HexRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBin2HexRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBin2HexRequest instance - */ - IWorkbookFunctionsBin2HexRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequest.java deleted file mode 100644 index 2bca1e66fcd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bin2Oct Request. - */ -public interface IBaseWorkbookFunctionsBin2OctRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBin2OctRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBin2OctRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBin2OctRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequestBuilder.java deleted file mode 100644 index 9c8638d3cd7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBin2OctRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bin2Oct Request Builder. - */ -public interface IBaseWorkbookFunctionsBin2OctRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBin2OctRequest - * - * @return the IWorkbookFunctionsBin2OctRequest instance - */ - IWorkbookFunctionsBin2OctRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBin2OctRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBin2OctRequest instance - */ - IWorkbookFunctionsBin2OctRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequest.java deleted file mode 100644 index 08ae1a0f38f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Binom_Dist Request. - */ -public interface IBaseWorkbookFunctionsBinom_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBinom_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBinom_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBinom_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequestBuilder.java deleted file mode 100644 index 9d554d0150f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Binom_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsBinom_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBinom_DistRequest - * - * @return the IWorkbookFunctionsBinom_DistRequest instance - */ - IWorkbookFunctionsBinom_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBinom_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBinom_DistRequest instance - */ - IWorkbookFunctionsBinom_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequest.java deleted file mode 100644 index 14a0d125ee5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Binom_Dist_Range Request. - */ -public interface IBaseWorkbookFunctionsBinom_Dist_RangeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBinom_Dist_RangeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBinom_Dist_RangeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBinom_Dist_RangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java deleted file mode 100644 index bfea69f1ab5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Binom_Dist_Range Request Builder. - */ -public interface IBaseWorkbookFunctionsBinom_Dist_RangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest - * - * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance - */ - IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBinom_Dist_RangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBinom_Dist_RangeRequest instance - */ - IWorkbookFunctionsBinom_Dist_RangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequest.java deleted file mode 100644 index 93401b0dbed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Binom_Inv Request. - */ -public interface IBaseWorkbookFunctionsBinom_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBinom_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBinom_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBinom_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequestBuilder.java deleted file mode 100644 index bee0964e339..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBinom_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Binom_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsBinom_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBinom_InvRequest - * - * @return the IWorkbookFunctionsBinom_InvRequest instance - */ - IWorkbookFunctionsBinom_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBinom_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBinom_InvRequest instance - */ - IWorkbookFunctionsBinom_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequest.java deleted file mode 100644 index 6f84775036e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitand Request. - */ -public interface IBaseWorkbookFunctionsBitandRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBitandRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBitandRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBitandRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequestBuilder.java deleted file mode 100644 index 844ff8f5897..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitandRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitand Request Builder. - */ -public interface IBaseWorkbookFunctionsBitandRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBitandRequest - * - * @return the IWorkbookFunctionsBitandRequest instance - */ - IWorkbookFunctionsBitandRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBitandRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitandRequest instance - */ - IWorkbookFunctionsBitandRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequest.java deleted file mode 100644 index dd7485a0a31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitlshift Request. - */ -public interface IBaseWorkbookFunctionsBitlshiftRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBitlshiftRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBitlshiftRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBitlshiftRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequestBuilder.java deleted file mode 100644 index bfb3be2a21d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitlshiftRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitlshift Request Builder. - */ -public interface IBaseWorkbookFunctionsBitlshiftRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBitlshiftRequest - * - * @return the IWorkbookFunctionsBitlshiftRequest instance - */ - IWorkbookFunctionsBitlshiftRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBitlshiftRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitlshiftRequest instance - */ - IWorkbookFunctionsBitlshiftRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequest.java deleted file mode 100644 index de237d06f73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitor Request. - */ -public interface IBaseWorkbookFunctionsBitorRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBitorRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBitorRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBitorRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequestBuilder.java deleted file mode 100644 index d9c8cedf824..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitorRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitor Request Builder. - */ -public interface IBaseWorkbookFunctionsBitorRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBitorRequest - * - * @return the IWorkbookFunctionsBitorRequest instance - */ - IWorkbookFunctionsBitorRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBitorRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitorRequest instance - */ - IWorkbookFunctionsBitorRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequest.java deleted file mode 100644 index dc4ea1d1b33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitrshift Request. - */ -public interface IBaseWorkbookFunctionsBitrshiftRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBitrshiftRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBitrshiftRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBitrshiftRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequestBuilder.java deleted file mode 100644 index 0d7bf971995..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitrshiftRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitrshift Request Builder. - */ -public interface IBaseWorkbookFunctionsBitrshiftRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBitrshiftRequest - * - * @return the IWorkbookFunctionsBitrshiftRequest instance - */ - IWorkbookFunctionsBitrshiftRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBitrshiftRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitrshiftRequest instance - */ - IWorkbookFunctionsBitrshiftRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequest.java deleted file mode 100644 index 85b209721e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitxor Request. - */ -public interface IBaseWorkbookFunctionsBitxorRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsBitxorRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsBitxorRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsBitxorRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequestBuilder.java deleted file mode 100644 index 9e56d9e4219..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsBitxorRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Bitxor Request Builder. - */ -public interface IBaseWorkbookFunctionsBitxorRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsBitxorRequest - * - * @return the IWorkbookFunctionsBitxorRequest instance - */ - IWorkbookFunctionsBitxorRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsBitxorRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsBitxorRequest instance - */ - IWorkbookFunctionsBitxorRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequest.java deleted file mode 100644 index 8a81f60e818..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ceiling_Math Request. - */ -public interface IBaseWorkbookFunctionsCeiling_MathRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCeiling_MathRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCeiling_MathRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCeiling_MathRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequestBuilder.java deleted file mode 100644 index b8e9f0c832c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_MathRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ceiling_Math Request Builder. - */ -public interface IBaseWorkbookFunctionsCeiling_MathRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCeiling_MathRequest - * - * @return the IWorkbookFunctionsCeiling_MathRequest instance - */ - IWorkbookFunctionsCeiling_MathRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCeiling_MathRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCeiling_MathRequest instance - */ - IWorkbookFunctionsCeiling_MathRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequest.java deleted file mode 100644 index d2df2f93962..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ceiling_Precise Request. - */ -public interface IBaseWorkbookFunctionsCeiling_PreciseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCeiling_PreciseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCeiling_PreciseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCeiling_PreciseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java deleted file mode 100644 index e80386ae2a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ceiling_Precise Request Builder. - */ -public interface IBaseWorkbookFunctionsCeiling_PreciseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCeiling_PreciseRequest - * - * @return the IWorkbookFunctionsCeiling_PreciseRequest instance - */ - IWorkbookFunctionsCeiling_PreciseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCeiling_PreciseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCeiling_PreciseRequest instance - */ - IWorkbookFunctionsCeiling_PreciseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequest.java deleted file mode 100644 index d42762473fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Char Request. - */ -public interface IBaseWorkbookFunctionsCharRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCharRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCharRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCharRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequestBuilder.java deleted file mode 100644 index 47ab73102f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCharRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Char Request Builder. - */ -public interface IBaseWorkbookFunctionsCharRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCharRequest - * - * @return the IWorkbookFunctionsCharRequest instance - */ - IWorkbookFunctionsCharRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCharRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCharRequest instance - */ - IWorkbookFunctionsCharRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequest.java deleted file mode 100644 index 3e8521cbd94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Dist Request. - */ -public interface IBaseWorkbookFunctionsChiSq_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsChiSq_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequestBuilder.java deleted file mode 100644 index 870bb504245..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsChiSq_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsChiSq_DistRequest - * - * @return the IWorkbookFunctionsChiSq_DistRequest instance - */ - IWorkbookFunctionsChiSq_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsChiSq_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_DistRequest instance - */ - IWorkbookFunctionsChiSq_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequest.java deleted file mode 100644 index b5e202044cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Dist_RTRequest. - */ -public interface IBaseWorkbookFunctionsChiSq_Dist_RTRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_Dist_RTRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsChiSq_Dist_RTRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_Dist_RTRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java deleted file mode 100644 index 3754d2beb36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Dist_RTRequest Builder. - */ -public interface IBaseWorkbookFunctionsChiSq_Dist_RTRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest - * - * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance - */ - IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsChiSq_Dist_RTRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_Dist_RTRequest instance - */ - IWorkbookFunctionsChiSq_Dist_RTRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequest.java deleted file mode 100644 index 667c21948af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Inv Request. - */ -public interface IBaseWorkbookFunctionsChiSq_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsChiSq_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequestBuilder.java deleted file mode 100644 index 135a4638c5d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsChiSq_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsChiSq_InvRequest - * - * @return the IWorkbookFunctionsChiSq_InvRequest instance - */ - IWorkbookFunctionsChiSq_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsChiSq_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_InvRequest instance - */ - IWorkbookFunctionsChiSq_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequest.java deleted file mode 100644 index 8b170e05401..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Inv_RTRequest. - */ -public interface IBaseWorkbookFunctionsChiSq_Inv_RTRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_Inv_RTRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsChiSq_Inv_RTRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsChiSq_Inv_RTRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java deleted file mode 100644 index ad95707b5d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Chi Sq_Inv_RTRequest Builder. - */ -public interface IBaseWorkbookFunctionsChiSq_Inv_RTRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest - * - * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance - */ - IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsChiSq_Inv_RTRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChiSq_Inv_RTRequest instance - */ - IWorkbookFunctionsChiSq_Inv_RTRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequest.java deleted file mode 100644 index 501b0ede571..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Choose Request. - */ -public interface IBaseWorkbookFunctionsChooseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsChooseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsChooseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsChooseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequestBuilder.java deleted file mode 100644 index 8c946a2bccc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsChooseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Choose Request Builder. - */ -public interface IBaseWorkbookFunctionsChooseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsChooseRequest - * - * @return the IWorkbookFunctionsChooseRequest instance - */ - IWorkbookFunctionsChooseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsChooseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsChooseRequest instance - */ - IWorkbookFunctionsChooseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequest.java deleted file mode 100644 index 62a0aefb75e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Clean Request. - */ -public interface IBaseWorkbookFunctionsCleanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCleanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCleanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCleanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequestBuilder.java deleted file mode 100644 index b9c8f5c3834..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCleanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Clean Request Builder. - */ -public interface IBaseWorkbookFunctionsCleanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCleanRequest - * - * @return the IWorkbookFunctionsCleanRequest instance - */ - IWorkbookFunctionsCleanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCleanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCleanRequest instance - */ - IWorkbookFunctionsCleanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequest.java deleted file mode 100644 index b0278dac6f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Code Request. - */ -public interface IBaseWorkbookFunctionsCodeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCodeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCodeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCodeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequestBuilder.java deleted file mode 100644 index 7ec1cedf39a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCodeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Code Request Builder. - */ -public interface IBaseWorkbookFunctionsCodeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCodeRequest - * - * @return the IWorkbookFunctionsCodeRequest instance - */ - IWorkbookFunctionsCodeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCodeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCodeRequest instance - */ - IWorkbookFunctionsCodeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequest.java deleted file mode 100644 index 5e09ed63c15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Columns Request. - */ -public interface IBaseWorkbookFunctionsColumnsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsColumnsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsColumnsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsColumnsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequestBuilder.java deleted file mode 100644 index 3d5cb2d07f5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsColumnsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Columns Request Builder. - */ -public interface IBaseWorkbookFunctionsColumnsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsColumnsRequest - * - * @return the IWorkbookFunctionsColumnsRequest instance - */ - IWorkbookFunctionsColumnsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsColumnsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsColumnsRequest instance - */ - IWorkbookFunctionsColumnsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequest.java deleted file mode 100644 index 307f636f4fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Combin Request. - */ -public interface IBaseWorkbookFunctionsCombinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCombinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCombinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCombinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequestBuilder.java deleted file mode 100644 index bc64acfe6fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Combin Request Builder. - */ -public interface IBaseWorkbookFunctionsCombinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCombinRequest - * - * @return the IWorkbookFunctionsCombinRequest instance - */ - IWorkbookFunctionsCombinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCombinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCombinRequest instance - */ - IWorkbookFunctionsCombinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequest.java deleted file mode 100644 index 5d66c3cbbbf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Combina Request. - */ -public interface IBaseWorkbookFunctionsCombinaRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCombinaRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCombinaRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCombinaRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequestBuilder.java deleted file mode 100644 index bd2febcf800..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCombinaRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Combina Request Builder. - */ -public interface IBaseWorkbookFunctionsCombinaRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCombinaRequest - * - * @return the IWorkbookFunctionsCombinaRequest instance - */ - IWorkbookFunctionsCombinaRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCombinaRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCombinaRequest instance - */ - IWorkbookFunctionsCombinaRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequest.java deleted file mode 100644 index e39a71bc9ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Complex Request. - */ -public interface IBaseWorkbookFunctionsComplexRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsComplexRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsComplexRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsComplexRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequestBuilder.java deleted file mode 100644 index 29174776b6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsComplexRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Complex Request Builder. - */ -public interface IBaseWorkbookFunctionsComplexRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsComplexRequest - * - * @return the IWorkbookFunctionsComplexRequest instance - */ - IWorkbookFunctionsComplexRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsComplexRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsComplexRequest instance - */ - IWorkbookFunctionsComplexRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequest.java deleted file mode 100644 index 156e4a2f191..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Concatenate Request. - */ -public interface IBaseWorkbookFunctionsConcatenateRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsConcatenateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsConcatenateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsConcatenateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequestBuilder.java deleted file mode 100644 index c94896c6766..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConcatenateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Concatenate Request Builder. - */ -public interface IBaseWorkbookFunctionsConcatenateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsConcatenateRequest - * - * @return the IWorkbookFunctionsConcatenateRequest instance - */ - IWorkbookFunctionsConcatenateRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsConcatenateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConcatenateRequest instance - */ - IWorkbookFunctionsConcatenateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequest.java deleted file mode 100644 index 0fcd4f0c310..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Confidence_Norm Request. - */ -public interface IBaseWorkbookFunctionsConfidence_NormRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsConfidence_NormRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsConfidence_NormRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsConfidence_NormRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequestBuilder.java deleted file mode 100644 index 80a5c9931b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_NormRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Confidence_Norm Request Builder. - */ -public interface IBaseWorkbookFunctionsConfidence_NormRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsConfidence_NormRequest - * - * @return the IWorkbookFunctionsConfidence_NormRequest instance - */ - IWorkbookFunctionsConfidence_NormRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsConfidence_NormRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConfidence_NormRequest instance - */ - IWorkbookFunctionsConfidence_NormRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequest.java deleted file mode 100644 index d2a63acf5fa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Confidence_TRequest. - */ -public interface IBaseWorkbookFunctionsConfidence_TRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsConfidence_TRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsConfidence_TRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsConfidence_TRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequestBuilder.java deleted file mode 100644 index ac544f1edc8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConfidence_TRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Confidence_TRequest Builder. - */ -public interface IBaseWorkbookFunctionsConfidence_TRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsConfidence_TRequest - * - * @return the IWorkbookFunctionsConfidence_TRequest instance - */ - IWorkbookFunctionsConfidence_TRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsConfidence_TRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConfidence_TRequest instance - */ - IWorkbookFunctionsConfidence_TRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequest.java deleted file mode 100644 index 2594a3e6ab5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Convert Request. - */ -public interface IBaseWorkbookFunctionsConvertRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsConvertRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsConvertRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsConvertRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequestBuilder.java deleted file mode 100644 index c68375d267b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsConvertRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Convert Request Builder. - */ -public interface IBaseWorkbookFunctionsConvertRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsConvertRequest - * - * @return the IWorkbookFunctionsConvertRequest instance - */ - IWorkbookFunctionsConvertRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsConvertRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsConvertRequest instance - */ - IWorkbookFunctionsConvertRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequest.java deleted file mode 100644 index d4333573c19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cos Request. - */ -public interface IBaseWorkbookFunctionsCosRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCosRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCosRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCosRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequestBuilder.java deleted file mode 100644 index 86c12ab7f6c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCosRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cos Request Builder. - */ -public interface IBaseWorkbookFunctionsCosRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCosRequest - * - * @return the IWorkbookFunctionsCosRequest instance - */ - IWorkbookFunctionsCosRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCosRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCosRequest instance - */ - IWorkbookFunctionsCosRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequest.java deleted file mode 100644 index 209b7b06ecf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cosh Request. - */ -public interface IBaseWorkbookFunctionsCoshRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoshRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoshRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoshRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequestBuilder.java deleted file mode 100644 index f1dc45309a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoshRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cosh Request Builder. - */ -public interface IBaseWorkbookFunctionsCoshRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoshRequest - * - * @return the IWorkbookFunctionsCoshRequest instance - */ - IWorkbookFunctionsCoshRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoshRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoshRequest instance - */ - IWorkbookFunctionsCoshRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequest.java deleted file mode 100644 index c30c90534ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cot Request. - */ -public interface IBaseWorkbookFunctionsCotRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCotRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCotRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCotRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequestBuilder.java deleted file mode 100644 index 97c53914250..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCotRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cot Request Builder. - */ -public interface IBaseWorkbookFunctionsCotRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCotRequest - * - * @return the IWorkbookFunctionsCotRequest instance - */ - IWorkbookFunctionsCotRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCotRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCotRequest instance - */ - IWorkbookFunctionsCotRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequest.java deleted file mode 100644 index 366dedb92b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coth Request. - */ -public interface IBaseWorkbookFunctionsCothRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCothRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCothRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCothRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequestBuilder.java deleted file mode 100644 index 715fb8d8926..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCothRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coth Request Builder. - */ -public interface IBaseWorkbookFunctionsCothRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCothRequest - * - * @return the IWorkbookFunctionsCothRequest instance - */ - IWorkbookFunctionsCothRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCothRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCothRequest instance - */ - IWorkbookFunctionsCothRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequest.java deleted file mode 100644 index ff5d6d62267..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count ARequest. - */ -public interface IBaseWorkbookFunctionsCountARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCountARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCountARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCountARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequestBuilder.java deleted file mode 100644 index fec3e7ac52a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count ARequest Builder. - */ -public interface IBaseWorkbookFunctionsCountARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCountARequest - * - * @return the IWorkbookFunctionsCountARequest instance - */ - IWorkbookFunctionsCountARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCountARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountARequest instance - */ - IWorkbookFunctionsCountARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequest.java deleted file mode 100644 index 0b7e8a3294f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count Blank Request. - */ -public interface IBaseWorkbookFunctionsCountBlankRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCountBlankRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCountBlankRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCountBlankRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequestBuilder.java deleted file mode 100644 index d8598cfd7f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountBlankRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count Blank Request Builder. - */ -public interface IBaseWorkbookFunctionsCountBlankRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCountBlankRequest - * - * @return the IWorkbookFunctionsCountBlankRequest instance - */ - IWorkbookFunctionsCountBlankRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCountBlankRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountBlankRequest instance - */ - IWorkbookFunctionsCountBlankRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequest.java deleted file mode 100644 index 81128dedfe0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count If Request. - */ -public interface IBaseWorkbookFunctionsCountIfRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCountIfRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCountIfRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCountIfRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequestBuilder.java deleted file mode 100644 index f0e3db9a166..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count If Request Builder. - */ -public interface IBaseWorkbookFunctionsCountIfRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCountIfRequest - * - * @return the IWorkbookFunctionsCountIfRequest instance - */ - IWorkbookFunctionsCountIfRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCountIfRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountIfRequest instance - */ - IWorkbookFunctionsCountIfRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequest.java deleted file mode 100644 index b90da050151..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count Ifs Request. - */ -public interface IBaseWorkbookFunctionsCountIfsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCountIfsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCountIfsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCountIfsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequestBuilder.java deleted file mode 100644 index b6ecfbef91a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountIfsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count Ifs Request Builder. - */ -public interface IBaseWorkbookFunctionsCountIfsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCountIfsRequest - * - * @return the IWorkbookFunctionsCountIfsRequest instance - */ - IWorkbookFunctionsCountIfsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCountIfsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountIfsRequest instance - */ - IWorkbookFunctionsCountIfsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequest.java deleted file mode 100644 index 2408db1e836..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count Request. - */ -public interface IBaseWorkbookFunctionsCountRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCountRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCountRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequestBuilder.java deleted file mode 100644 index e7c6716a562..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Count Request Builder. - */ -public interface IBaseWorkbookFunctionsCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCountRequest - * - * @return the IWorkbookFunctionsCountRequest instance - */ - IWorkbookFunctionsCountRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCountRequest instance - */ - IWorkbookFunctionsCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequest.java deleted file mode 100644 index 80e8958dd8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Day Bs Request. - */ -public interface IBaseWorkbookFunctionsCoupDayBsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoupDayBsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoupDayBsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoupDayBsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequestBuilder.java deleted file mode 100644 index 1e587dc8a3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDayBsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Day Bs Request Builder. - */ -public interface IBaseWorkbookFunctionsCoupDayBsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoupDayBsRequest - * - * @return the IWorkbookFunctionsCoupDayBsRequest instance - */ - IWorkbookFunctionsCoupDayBsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoupDayBsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupDayBsRequest instance - */ - IWorkbookFunctionsCoupDayBsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequest.java deleted file mode 100644 index 0445352964e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Days Nc Request. - */ -public interface IBaseWorkbookFunctionsCoupDaysNcRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoupDaysNcRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoupDaysNcRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoupDaysNcRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequestBuilder.java deleted file mode 100644 index 0ee48c152b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysNcRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Days Nc Request Builder. - */ -public interface IBaseWorkbookFunctionsCoupDaysNcRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoupDaysNcRequest - * - * @return the IWorkbookFunctionsCoupDaysNcRequest instance - */ - IWorkbookFunctionsCoupDaysNcRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoupDaysNcRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupDaysNcRequest instance - */ - IWorkbookFunctionsCoupDaysNcRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequest.java deleted file mode 100644 index 79aa9cd5c98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Days Request. - */ -public interface IBaseWorkbookFunctionsCoupDaysRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoupDaysRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoupDaysRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoupDaysRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequestBuilder.java deleted file mode 100644 index c0566fb788d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupDaysRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Days Request Builder. - */ -public interface IBaseWorkbookFunctionsCoupDaysRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoupDaysRequest - * - * @return the IWorkbookFunctionsCoupDaysRequest instance - */ - IWorkbookFunctionsCoupDaysRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoupDaysRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupDaysRequest instance - */ - IWorkbookFunctionsCoupDaysRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequest.java deleted file mode 100644 index ee56a7bc443..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Ncd Request. - */ -public interface IBaseWorkbookFunctionsCoupNcdRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoupNcdRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoupNcdRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoupNcdRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequestBuilder.java deleted file mode 100644 index ca9ca1769d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNcdRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Ncd Request Builder. - */ -public interface IBaseWorkbookFunctionsCoupNcdRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoupNcdRequest - * - * @return the IWorkbookFunctionsCoupNcdRequest instance - */ - IWorkbookFunctionsCoupNcdRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoupNcdRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupNcdRequest instance - */ - IWorkbookFunctionsCoupNcdRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequest.java deleted file mode 100644 index 6202155c413..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Num Request. - */ -public interface IBaseWorkbookFunctionsCoupNumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoupNumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoupNumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoupNumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequestBuilder.java deleted file mode 100644 index ec571d87537..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupNumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Num Request Builder. - */ -public interface IBaseWorkbookFunctionsCoupNumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoupNumRequest - * - * @return the IWorkbookFunctionsCoupNumRequest instance - */ - IWorkbookFunctionsCoupNumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoupNumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupNumRequest instance - */ - IWorkbookFunctionsCoupNumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequest.java deleted file mode 100644 index e67ca3f2a59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Pcd Request. - */ -public interface IBaseWorkbookFunctionsCoupPcdRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCoupPcdRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCoupPcdRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCoupPcdRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequestBuilder.java deleted file mode 100644 index 8bbc6bae6f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCoupPcdRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Coup Pcd Request Builder. - */ -public interface IBaseWorkbookFunctionsCoupPcdRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCoupPcdRequest - * - * @return the IWorkbookFunctionsCoupPcdRequest instance - */ - IWorkbookFunctionsCoupPcdRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCoupPcdRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCoupPcdRequest instance - */ - IWorkbookFunctionsCoupPcdRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequest.java deleted file mode 100644 index e1a9fa0a2cd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Csc Request. - */ -public interface IBaseWorkbookFunctionsCscRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCscRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCscRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCscRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequestBuilder.java deleted file mode 100644 index 98916d6e917..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCscRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Csc Request Builder. - */ -public interface IBaseWorkbookFunctionsCscRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCscRequest - * - * @return the IWorkbookFunctionsCscRequest instance - */ - IWorkbookFunctionsCscRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCscRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCscRequest instance - */ - IWorkbookFunctionsCscRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequest.java deleted file mode 100644 index a93d34df454..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Csch Request. - */ -public interface IBaseWorkbookFunctionsCschRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCschRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCschRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCschRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequestBuilder.java deleted file mode 100644 index e32c87f0c22..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCschRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Csch Request Builder. - */ -public interface IBaseWorkbookFunctionsCschRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCschRequest - * - * @return the IWorkbookFunctionsCschRequest instance - */ - IWorkbookFunctionsCschRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCschRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCschRequest instance - */ - IWorkbookFunctionsCschRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequest.java deleted file mode 100644 index 03f2484a512..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cum IPmt Request. - */ -public interface IBaseWorkbookFunctionsCumIPmtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCumIPmtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCumIPmtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCumIPmtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequestBuilder.java deleted file mode 100644 index 7355277c8e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumIPmtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cum IPmt Request Builder. - */ -public interface IBaseWorkbookFunctionsCumIPmtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCumIPmtRequest - * - * @return the IWorkbookFunctionsCumIPmtRequest instance - */ - IWorkbookFunctionsCumIPmtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCumIPmtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCumIPmtRequest instance - */ - IWorkbookFunctionsCumIPmtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequest.java deleted file mode 100644 index 2a7754e55d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cum Princ Request. - */ -public interface IBaseWorkbookFunctionsCumPrincRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsCumPrincRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsCumPrincRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsCumPrincRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequestBuilder.java deleted file mode 100644 index bd9882e68cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsCumPrincRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Cum Princ Request Builder. - */ -public interface IBaseWorkbookFunctionsCumPrincRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsCumPrincRequest - * - * @return the IWorkbookFunctionsCumPrincRequest instance - */ - IWorkbookFunctionsCumPrincRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsCumPrincRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsCumPrincRequest instance - */ - IWorkbookFunctionsCumPrincRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequest.java deleted file mode 100644 index 2555e639629..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Date Request. - */ -public interface IBaseWorkbookFunctionsDateRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequestBuilder.java deleted file mode 100644 index 8c2a3676c47..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Date Request Builder. - */ -public interface IBaseWorkbookFunctionsDateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDateRequest - * - * @return the IWorkbookFunctionsDateRequest instance - */ - IWorkbookFunctionsDateRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDateRequest instance - */ - IWorkbookFunctionsDateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequest.java deleted file mode 100644 index 14cded5f1f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Datevalue Request. - */ -public interface IBaseWorkbookFunctionsDatevalueRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDatevalueRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDatevalueRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDatevalueRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequestBuilder.java deleted file mode 100644 index 29ebf0ffefd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDatevalueRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Datevalue Request Builder. - */ -public interface IBaseWorkbookFunctionsDatevalueRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDatevalueRequest - * - * @return the IWorkbookFunctionsDatevalueRequest instance - */ - IWorkbookFunctionsDatevalueRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDatevalueRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDatevalueRequest instance - */ - IWorkbookFunctionsDatevalueRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequest.java deleted file mode 100644 index 25494197d1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Daverage Request. - */ -public interface IBaseWorkbookFunctionsDaverageRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDaverageRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDaverageRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDaverageRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequestBuilder.java deleted file mode 100644 index 58e208d1d6f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaverageRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Daverage Request Builder. - */ -public interface IBaseWorkbookFunctionsDaverageRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDaverageRequest - * - * @return the IWorkbookFunctionsDaverageRequest instance - */ - IWorkbookFunctionsDaverageRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDaverageRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDaverageRequest instance - */ - IWorkbookFunctionsDaverageRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequest.java deleted file mode 100644 index 42938b2d1c7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Day Request. - */ -public interface IBaseWorkbookFunctionsDayRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDayRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDayRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDayRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequestBuilder.java deleted file mode 100644 index f663ff332bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDayRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Day Request Builder. - */ -public interface IBaseWorkbookFunctionsDayRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDayRequest - * - * @return the IWorkbookFunctionsDayRequest instance - */ - IWorkbookFunctionsDayRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDayRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDayRequest instance - */ - IWorkbookFunctionsDayRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360Request.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360Request.java deleted file mode 100644 index f4ffd0b3fd3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360Request.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Days360Request. - */ -public interface IBaseWorkbookFunctionsDays360Request { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDays360Request select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDays360Request top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDays360Request expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360RequestBuilder.java deleted file mode 100644 index f055370ed7f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDays360RequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360Request; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Days360Request Builder. - */ -public interface IBaseWorkbookFunctionsDays360RequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDays360Request - * - * @return the IWorkbookFunctionsDays360Request instance - */ - IWorkbookFunctionsDays360Request buildRequest(); - - /** - * Creates the IWorkbookFunctionsDays360Request with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDays360Request instance - */ - IWorkbookFunctionsDays360Request buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequest.java deleted file mode 100644 index aad961c1678..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Days Request. - */ -public interface IBaseWorkbookFunctionsDaysRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDaysRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDaysRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDaysRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequestBuilder.java deleted file mode 100644 index a7d0b150f32..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDaysRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Days Request Builder. - */ -public interface IBaseWorkbookFunctionsDaysRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDaysRequest - * - * @return the IWorkbookFunctionsDaysRequest instance - */ - IWorkbookFunctionsDaysRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDaysRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDaysRequest instance - */ - IWorkbookFunctionsDaysRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequest.java deleted file mode 100644 index 98c9e529221..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Db Request. - */ -public interface IBaseWorkbookFunctionsDbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequestBuilder.java deleted file mode 100644 index 40bba0448fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Db Request Builder. - */ -public interface IBaseWorkbookFunctionsDbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDbRequest - * - * @return the IWorkbookFunctionsDbRequest instance - */ - IWorkbookFunctionsDbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDbRequest instance - */ - IWorkbookFunctionsDbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequest.java deleted file mode 100644 index 65f7e9fe3e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dbcs Request. - */ -public interface IBaseWorkbookFunctionsDbcsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDbcsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDbcsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDbcsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequestBuilder.java deleted file mode 100644 index 0f2685f476e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDbcsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dbcs Request Builder. - */ -public interface IBaseWorkbookFunctionsDbcsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDbcsRequest - * - * @return the IWorkbookFunctionsDbcsRequest instance - */ - IWorkbookFunctionsDbcsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDbcsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDbcsRequest instance - */ - IWorkbookFunctionsDbcsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequest.java deleted file mode 100644 index 6cc3a4e3e15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dcount ARequest. - */ -public interface IBaseWorkbookFunctionsDcountARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDcountARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDcountARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDcountARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequestBuilder.java deleted file mode 100644 index b6a302c4044..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dcount ARequest Builder. - */ -public interface IBaseWorkbookFunctionsDcountARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDcountARequest - * - * @return the IWorkbookFunctionsDcountARequest instance - */ - IWorkbookFunctionsDcountARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDcountARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDcountARequest instance - */ - IWorkbookFunctionsDcountARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequest.java deleted file mode 100644 index 5796493a06a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dcount Request. - */ -public interface IBaseWorkbookFunctionsDcountRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDcountRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDcountRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDcountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequestBuilder.java deleted file mode 100644 index 96ca2232e8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDcountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dcount Request Builder. - */ -public interface IBaseWorkbookFunctionsDcountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDcountRequest - * - * @return the IWorkbookFunctionsDcountRequest instance - */ - IWorkbookFunctionsDcountRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDcountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDcountRequest instance - */ - IWorkbookFunctionsDcountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequest.java deleted file mode 100644 index c7501fec938..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ddb Request. - */ -public interface IBaseWorkbookFunctionsDdbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDdbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDdbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDdbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequestBuilder.java deleted file mode 100644 index 627087d3a31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDdbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ddb Request Builder. - */ -public interface IBaseWorkbookFunctionsDdbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDdbRequest - * - * @return the IWorkbookFunctionsDdbRequest instance - */ - IWorkbookFunctionsDdbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDdbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDdbRequest instance - */ - IWorkbookFunctionsDdbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequest.java deleted file mode 100644 index b98f648f785..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dec2Bin Request. - */ -public interface IBaseWorkbookFunctionsDec2BinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDec2BinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDec2BinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDec2BinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequestBuilder.java deleted file mode 100644 index 4bcb3d1447a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2BinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dec2Bin Request Builder. - */ -public interface IBaseWorkbookFunctionsDec2BinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDec2BinRequest - * - * @return the IWorkbookFunctionsDec2BinRequest instance - */ - IWorkbookFunctionsDec2BinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDec2BinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDec2BinRequest instance - */ - IWorkbookFunctionsDec2BinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequest.java deleted file mode 100644 index fc9492bc44b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dec2Hex Request. - */ -public interface IBaseWorkbookFunctionsDec2HexRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDec2HexRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDec2HexRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDec2HexRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequestBuilder.java deleted file mode 100644 index d232391fae1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2HexRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dec2Hex Request Builder. - */ -public interface IBaseWorkbookFunctionsDec2HexRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDec2HexRequest - * - * @return the IWorkbookFunctionsDec2HexRequest instance - */ - IWorkbookFunctionsDec2HexRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDec2HexRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDec2HexRequest instance - */ - IWorkbookFunctionsDec2HexRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequest.java deleted file mode 100644 index b9c4504bc8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dec2Oct Request. - */ -public interface IBaseWorkbookFunctionsDec2OctRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDec2OctRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDec2OctRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDec2OctRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequestBuilder.java deleted file mode 100644 index 073077ba3c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDec2OctRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dec2Oct Request Builder. - */ -public interface IBaseWorkbookFunctionsDec2OctRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDec2OctRequest - * - * @return the IWorkbookFunctionsDec2OctRequest instance - */ - IWorkbookFunctionsDec2OctRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDec2OctRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDec2OctRequest instance - */ - IWorkbookFunctionsDec2OctRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequest.java deleted file mode 100644 index 9538c422114..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Decimal Request. - */ -public interface IBaseWorkbookFunctionsDecimalRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDecimalRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDecimalRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDecimalRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequestBuilder.java deleted file mode 100644 index 79e67081acd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDecimalRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Decimal Request Builder. - */ -public interface IBaseWorkbookFunctionsDecimalRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDecimalRequest - * - * @return the IWorkbookFunctionsDecimalRequest instance - */ - IWorkbookFunctionsDecimalRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDecimalRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDecimalRequest instance - */ - IWorkbookFunctionsDecimalRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequest.java deleted file mode 100644 index 589f2e350b9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Degrees Request. - */ -public interface IBaseWorkbookFunctionsDegreesRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDegreesRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDegreesRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDegreesRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequestBuilder.java deleted file mode 100644 index eac605c7871..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDegreesRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Degrees Request Builder. - */ -public interface IBaseWorkbookFunctionsDegreesRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDegreesRequest - * - * @return the IWorkbookFunctionsDegreesRequest instance - */ - IWorkbookFunctionsDegreesRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDegreesRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDegreesRequest instance - */ - IWorkbookFunctionsDegreesRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequest.java deleted file mode 100644 index 4374cf745d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Delta Request. - */ -public interface IBaseWorkbookFunctionsDeltaRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDeltaRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDeltaRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDeltaRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequestBuilder.java deleted file mode 100644 index 8482464cb47..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDeltaRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Delta Request Builder. - */ -public interface IBaseWorkbookFunctionsDeltaRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDeltaRequest - * - * @return the IWorkbookFunctionsDeltaRequest instance - */ - IWorkbookFunctionsDeltaRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDeltaRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDeltaRequest instance - */ - IWorkbookFunctionsDeltaRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequest.java deleted file mode 100644 index 52fe845235d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dev Sq Request. - */ -public interface IBaseWorkbookFunctionsDevSqRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDevSqRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDevSqRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDevSqRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequestBuilder.java deleted file mode 100644 index ecc294d5f1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDevSqRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dev Sq Request Builder. - */ -public interface IBaseWorkbookFunctionsDevSqRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDevSqRequest - * - * @return the IWorkbookFunctionsDevSqRequest instance - */ - IWorkbookFunctionsDevSqRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDevSqRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDevSqRequest instance - */ - IWorkbookFunctionsDevSqRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequest.java deleted file mode 100644 index b5f91633c93..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dget Request. - */ -public interface IBaseWorkbookFunctionsDgetRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDgetRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDgetRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDgetRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequestBuilder.java deleted file mode 100644 index 15096130158..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDgetRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dget Request Builder. - */ -public interface IBaseWorkbookFunctionsDgetRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDgetRequest - * - * @return the IWorkbookFunctionsDgetRequest instance - */ - IWorkbookFunctionsDgetRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDgetRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDgetRequest instance - */ - IWorkbookFunctionsDgetRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequest.java deleted file mode 100644 index b7412d79b72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Disc Request. - */ -public interface IBaseWorkbookFunctionsDiscRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDiscRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDiscRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDiscRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequestBuilder.java deleted file mode 100644 index 5783ee5c92f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDiscRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Disc Request Builder. - */ -public interface IBaseWorkbookFunctionsDiscRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDiscRequest - * - * @return the IWorkbookFunctionsDiscRequest instance - */ - IWorkbookFunctionsDiscRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDiscRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDiscRequest instance - */ - IWorkbookFunctionsDiscRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequest.java deleted file mode 100644 index 1a596c39095..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dmax Request. - */ -public interface IBaseWorkbookFunctionsDmaxRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDmaxRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDmaxRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDmaxRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequestBuilder.java deleted file mode 100644 index 2e40a270017..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDmaxRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dmax Request Builder. - */ -public interface IBaseWorkbookFunctionsDmaxRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDmaxRequest - * - * @return the IWorkbookFunctionsDmaxRequest instance - */ - IWorkbookFunctionsDmaxRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDmaxRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDmaxRequest instance - */ - IWorkbookFunctionsDmaxRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequest.java deleted file mode 100644 index 5227ac41260..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dmin Request. - */ -public interface IBaseWorkbookFunctionsDminRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDminRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDminRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDminRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequestBuilder.java deleted file mode 100644 index 8aeec29b019..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDminRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dmin Request Builder. - */ -public interface IBaseWorkbookFunctionsDminRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDminRequest - * - * @return the IWorkbookFunctionsDminRequest instance - */ - IWorkbookFunctionsDminRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDminRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDminRequest instance - */ - IWorkbookFunctionsDminRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequest.java deleted file mode 100644 index 15362be744d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dollar De Request. - */ -public interface IBaseWorkbookFunctionsDollarDeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDollarDeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDollarDeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDollarDeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequestBuilder.java deleted file mode 100644 index 53f78651f0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarDeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dollar De Request Builder. - */ -public interface IBaseWorkbookFunctionsDollarDeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDollarDeRequest - * - * @return the IWorkbookFunctionsDollarDeRequest instance - */ - IWorkbookFunctionsDollarDeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDollarDeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDollarDeRequest instance - */ - IWorkbookFunctionsDollarDeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequest.java deleted file mode 100644 index 85cced02183..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dollar Fr Request. - */ -public interface IBaseWorkbookFunctionsDollarFrRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDollarFrRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDollarFrRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDollarFrRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequestBuilder.java deleted file mode 100644 index 1a00d039e94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarFrRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dollar Fr Request Builder. - */ -public interface IBaseWorkbookFunctionsDollarFrRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDollarFrRequest - * - * @return the IWorkbookFunctionsDollarFrRequest instance - */ - IWorkbookFunctionsDollarFrRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDollarFrRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDollarFrRequest instance - */ - IWorkbookFunctionsDollarFrRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequest.java deleted file mode 100644 index c15a337c3b5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dollar Request. - */ -public interface IBaseWorkbookFunctionsDollarRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDollarRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDollarRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDollarRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequestBuilder.java deleted file mode 100644 index 94d1df1fb9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDollarRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dollar Request Builder. - */ -public interface IBaseWorkbookFunctionsDollarRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDollarRequest - * - * @return the IWorkbookFunctionsDollarRequest instance - */ - IWorkbookFunctionsDollarRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDollarRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDollarRequest instance - */ - IWorkbookFunctionsDollarRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequest.java deleted file mode 100644 index 5e720daf129..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dproduct Request. - */ -public interface IBaseWorkbookFunctionsDproductRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDproductRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDproductRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDproductRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequestBuilder.java deleted file mode 100644 index e1577022170..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDproductRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dproduct Request Builder. - */ -public interface IBaseWorkbookFunctionsDproductRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDproductRequest - * - * @return the IWorkbookFunctionsDproductRequest instance - */ - IWorkbookFunctionsDproductRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDproductRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDproductRequest instance - */ - IWorkbookFunctionsDproductRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequest.java deleted file mode 100644 index ed0ee3bd437..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dst Dev PRequest. - */ -public interface IBaseWorkbookFunctionsDstDevPRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDstDevPRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDstDevPRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDstDevPRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequestBuilder.java deleted file mode 100644 index 760166cbfda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevPRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dst Dev PRequest Builder. - */ -public interface IBaseWorkbookFunctionsDstDevPRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDstDevPRequest - * - * @return the IWorkbookFunctionsDstDevPRequest instance - */ - IWorkbookFunctionsDstDevPRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDstDevPRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDstDevPRequest instance - */ - IWorkbookFunctionsDstDevPRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequest.java deleted file mode 100644 index 9cf23bb9880..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dst Dev Request. - */ -public interface IBaseWorkbookFunctionsDstDevRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDstDevRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDstDevRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDstDevRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequestBuilder.java deleted file mode 100644 index 7241865d326..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDstDevRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dst Dev Request Builder. - */ -public interface IBaseWorkbookFunctionsDstDevRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDstDevRequest - * - * @return the IWorkbookFunctionsDstDevRequest instance - */ - IWorkbookFunctionsDstDevRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDstDevRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDstDevRequest instance - */ - IWorkbookFunctionsDstDevRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequest.java deleted file mode 100644 index 23f8d2ee800..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dsum Request. - */ -public interface IBaseWorkbookFunctionsDsumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDsumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDsumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDsumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequestBuilder.java deleted file mode 100644 index 5a33f982082..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDsumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dsum Request Builder. - */ -public interface IBaseWorkbookFunctionsDsumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDsumRequest - * - * @return the IWorkbookFunctionsDsumRequest instance - */ - IWorkbookFunctionsDsumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDsumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDsumRequest instance - */ - IWorkbookFunctionsDsumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequest.java deleted file mode 100644 index f59c8f69a83..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Duration Request. - */ -public interface IBaseWorkbookFunctionsDurationRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDurationRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDurationRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDurationRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequestBuilder.java deleted file mode 100644 index 77094cf735b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDurationRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Duration Request Builder. - */ -public interface IBaseWorkbookFunctionsDurationRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDurationRequest - * - * @return the IWorkbookFunctionsDurationRequest instance - */ - IWorkbookFunctionsDurationRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDurationRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDurationRequest instance - */ - IWorkbookFunctionsDurationRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequest.java deleted file mode 100644 index 8b64122e2e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dvar PRequest. - */ -public interface IBaseWorkbookFunctionsDvarPRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDvarPRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDvarPRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDvarPRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequestBuilder.java deleted file mode 100644 index 273d0c04e16..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarPRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dvar PRequest Builder. - */ -public interface IBaseWorkbookFunctionsDvarPRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDvarPRequest - * - * @return the IWorkbookFunctionsDvarPRequest instance - */ - IWorkbookFunctionsDvarPRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDvarPRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDvarPRequest instance - */ - IWorkbookFunctionsDvarPRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequest.java deleted file mode 100644 index c7637c015a6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dvar Request. - */ -public interface IBaseWorkbookFunctionsDvarRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsDvarRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsDvarRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsDvarRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequestBuilder.java deleted file mode 100644 index 8bc219995f2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsDvarRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Dvar Request Builder. - */ -public interface IBaseWorkbookFunctionsDvarRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsDvarRequest - * - * @return the IWorkbookFunctionsDvarRequest instance - */ - IWorkbookFunctionsDvarRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsDvarRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsDvarRequest instance - */ - IWorkbookFunctionsDvarRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequest.java deleted file mode 100644 index 573186e565b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ecma_Ceiling Request. - */ -public interface IBaseWorkbookFunctionsEcma_CeilingRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsEcma_CeilingRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsEcma_CeilingRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsEcma_CeilingRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequestBuilder.java deleted file mode 100644 index 1825ae83ee1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEcma_CeilingRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ecma_Ceiling Request Builder. - */ -public interface IBaseWorkbookFunctionsEcma_CeilingRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsEcma_CeilingRequest - * - * @return the IWorkbookFunctionsEcma_CeilingRequest instance - */ - IWorkbookFunctionsEcma_CeilingRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsEcma_CeilingRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEcma_CeilingRequest instance - */ - IWorkbookFunctionsEcma_CeilingRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequest.java deleted file mode 100644 index e571dd19316..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Edate Request. - */ -public interface IBaseWorkbookFunctionsEdateRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsEdateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsEdateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsEdateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequestBuilder.java deleted file mode 100644 index ddfea3fcf44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEdateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Edate Request Builder. - */ -public interface IBaseWorkbookFunctionsEdateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsEdateRequest - * - * @return the IWorkbookFunctionsEdateRequest instance - */ - IWorkbookFunctionsEdateRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsEdateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEdateRequest instance - */ - IWorkbookFunctionsEdateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequest.java deleted file mode 100644 index 42d670a63db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Effect Request. - */ -public interface IBaseWorkbookFunctionsEffectRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsEffectRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsEffectRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsEffectRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequestBuilder.java deleted file mode 100644 index 044c6528253..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEffectRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Effect Request Builder. - */ -public interface IBaseWorkbookFunctionsEffectRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsEffectRequest - * - * @return the IWorkbookFunctionsEffectRequest instance - */ - IWorkbookFunctionsEffectRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsEffectRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEffectRequest instance - */ - IWorkbookFunctionsEffectRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequest.java deleted file mode 100644 index b4927b12f7d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Eo Month Request. - */ -public interface IBaseWorkbookFunctionsEoMonthRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsEoMonthRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsEoMonthRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsEoMonthRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequestBuilder.java deleted file mode 100644 index 8ecef88fe73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEoMonthRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Eo Month Request Builder. - */ -public interface IBaseWorkbookFunctionsEoMonthRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsEoMonthRequest - * - * @return the IWorkbookFunctionsEoMonthRequest instance - */ - IWorkbookFunctionsEoMonthRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsEoMonthRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEoMonthRequest instance - */ - IWorkbookFunctionsEoMonthRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequest.java deleted file mode 100644 index 212c6c3033a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf CRequest. - */ -public interface IBaseWorkbookFunctionsErfCRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsErfCRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsErfCRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsErfCRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequestBuilder.java deleted file mode 100644 index 4b8b0746475..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfCRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf CRequest Builder. - */ -public interface IBaseWorkbookFunctionsErfCRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsErfCRequest - * - * @return the IWorkbookFunctionsErfCRequest instance - */ - IWorkbookFunctionsErfCRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsErfCRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErfCRequest instance - */ - IWorkbookFunctionsErfCRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequest.java deleted file mode 100644 index bfe040ac131..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf C_Precise Request. - */ -public interface IBaseWorkbookFunctionsErfC_PreciseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsErfC_PreciseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsErfC_PreciseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsErfC_PreciseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequestBuilder.java deleted file mode 100644 index 1d03a5cbf58..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfC_PreciseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf C_Precise Request Builder. - */ -public interface IBaseWorkbookFunctionsErfC_PreciseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsErfC_PreciseRequest - * - * @return the IWorkbookFunctionsErfC_PreciseRequest instance - */ - IWorkbookFunctionsErfC_PreciseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsErfC_PreciseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErfC_PreciseRequest instance - */ - IWorkbookFunctionsErfC_PreciseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequest.java deleted file mode 100644 index 2a1cd929023..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf Request. - */ -public interface IBaseWorkbookFunctionsErfRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsErfRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsErfRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsErfRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequestBuilder.java deleted file mode 100644 index 09a3a3862a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErfRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf Request Builder. - */ -public interface IBaseWorkbookFunctionsErfRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsErfRequest - * - * @return the IWorkbookFunctionsErfRequest instance - */ - IWorkbookFunctionsErfRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsErfRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErfRequest instance - */ - IWorkbookFunctionsErfRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequest.java deleted file mode 100644 index c4df7916e70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf_Precise Request. - */ -public interface IBaseWorkbookFunctionsErf_PreciseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsErf_PreciseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsErf_PreciseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsErf_PreciseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequestBuilder.java deleted file mode 100644 index e5aedff9ab5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsErf_PreciseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Erf_Precise Request Builder. - */ -public interface IBaseWorkbookFunctionsErf_PreciseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsErf_PreciseRequest - * - * @return the IWorkbookFunctionsErf_PreciseRequest instance - */ - IWorkbookFunctionsErf_PreciseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsErf_PreciseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsErf_PreciseRequest instance - */ - IWorkbookFunctionsErf_PreciseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequest.java deleted file mode 100644 index 876cfbf229c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Error_Type Request. - */ -public interface IBaseWorkbookFunctionsError_TypeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsError_TypeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsError_TypeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsError_TypeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequestBuilder.java deleted file mode 100644 index 877c93cf0aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsError_TypeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Error_Type Request Builder. - */ -public interface IBaseWorkbookFunctionsError_TypeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsError_TypeRequest - * - * @return the IWorkbookFunctionsError_TypeRequest instance - */ - IWorkbookFunctionsError_TypeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsError_TypeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsError_TypeRequest instance - */ - IWorkbookFunctionsError_TypeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequest.java deleted file mode 100644 index 6e86c5a36d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Even Request. - */ -public interface IBaseWorkbookFunctionsEvenRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsEvenRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsEvenRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsEvenRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequestBuilder.java deleted file mode 100644 index 100facba033..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsEvenRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Even Request Builder. - */ -public interface IBaseWorkbookFunctionsEvenRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsEvenRequest - * - * @return the IWorkbookFunctionsEvenRequest instance - */ - IWorkbookFunctionsEvenRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsEvenRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsEvenRequest instance - */ - IWorkbookFunctionsEvenRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequest.java deleted file mode 100644 index 44aeac82f2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Exact Request. - */ -public interface IBaseWorkbookFunctionsExactRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsExactRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsExactRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsExactRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequestBuilder.java deleted file mode 100644 index b4dca05a324..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExactRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Exact Request Builder. - */ -public interface IBaseWorkbookFunctionsExactRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsExactRequest - * - * @return the IWorkbookFunctionsExactRequest instance - */ - IWorkbookFunctionsExactRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsExactRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsExactRequest instance - */ - IWorkbookFunctionsExactRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequest.java deleted file mode 100644 index 038703a1a56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Exp Request. - */ -public interface IBaseWorkbookFunctionsExpRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsExpRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsExpRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsExpRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequestBuilder.java deleted file mode 100644 index a5bdf6426c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Exp Request Builder. - */ -public interface IBaseWorkbookFunctionsExpRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsExpRequest - * - * @return the IWorkbookFunctionsExpRequest instance - */ - IWorkbookFunctionsExpRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsExpRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsExpRequest instance - */ - IWorkbookFunctionsExpRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequest.java deleted file mode 100644 index 82461ac75c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Expon_Dist Request. - */ -public interface IBaseWorkbookFunctionsExpon_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsExpon_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsExpon_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsExpon_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequestBuilder.java deleted file mode 100644 index 3eae837d4b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsExpon_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Expon_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsExpon_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsExpon_DistRequest - * - * @return the IWorkbookFunctionsExpon_DistRequest instance - */ - IWorkbookFunctionsExpon_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsExpon_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsExpon_DistRequest instance - */ - IWorkbookFunctionsExpon_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequest.java deleted file mode 100644 index 0d9338274bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Dist Request. - */ -public interface IBaseWorkbookFunctionsF_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsF_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsF_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsF_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequestBuilder.java deleted file mode 100644 index ff72313ef05..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsF_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsF_DistRequest - * - * @return the IWorkbookFunctionsF_DistRequest instance - */ - IWorkbookFunctionsF_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsF_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_DistRequest instance - */ - IWorkbookFunctionsF_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequest.java deleted file mode 100644 index a67a03c2297..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Dist_RTRequest. - */ -public interface IBaseWorkbookFunctionsF_Dist_RTRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsF_Dist_RTRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsF_Dist_RTRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsF_Dist_RTRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequestBuilder.java deleted file mode 100644 index 2665b868b5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Dist_RTRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Dist_RTRequest Builder. - */ -public interface IBaseWorkbookFunctionsF_Dist_RTRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsF_Dist_RTRequest - * - * @return the IWorkbookFunctionsF_Dist_RTRequest instance - */ - IWorkbookFunctionsF_Dist_RTRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsF_Dist_RTRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_Dist_RTRequest instance - */ - IWorkbookFunctionsF_Dist_RTRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequest.java deleted file mode 100644 index dbfe3cc56a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Inv Request. - */ -public interface IBaseWorkbookFunctionsF_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsF_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsF_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsF_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequestBuilder.java deleted file mode 100644 index 78166e5bf4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsF_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsF_InvRequest - * - * @return the IWorkbookFunctionsF_InvRequest instance - */ - IWorkbookFunctionsF_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsF_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_InvRequest instance - */ - IWorkbookFunctionsF_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequest.java deleted file mode 100644 index f6159e87088..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Inv_RTRequest. - */ -public interface IBaseWorkbookFunctionsF_Inv_RTRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsF_Inv_RTRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsF_Inv_RTRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsF_Inv_RTRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequestBuilder.java deleted file mode 100644 index 01445365dbc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsF_Inv_RTRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions F_Inv_RTRequest Builder. - */ -public interface IBaseWorkbookFunctionsF_Inv_RTRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsF_Inv_RTRequest - * - * @return the IWorkbookFunctionsF_Inv_RTRequest instance - */ - IWorkbookFunctionsF_Inv_RTRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsF_Inv_RTRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsF_Inv_RTRequest instance - */ - IWorkbookFunctionsF_Inv_RTRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequest.java deleted file mode 100644 index 59e69bd8b2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fact Double Request. - */ -public interface IBaseWorkbookFunctionsFactDoubleRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFactDoubleRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFactDoubleRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFactDoubleRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequestBuilder.java deleted file mode 100644 index b208a0c33f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactDoubleRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fact Double Request Builder. - */ -public interface IBaseWorkbookFunctionsFactDoubleRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFactDoubleRequest - * - * @return the IWorkbookFunctionsFactDoubleRequest instance - */ - IWorkbookFunctionsFactDoubleRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFactDoubleRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFactDoubleRequest instance - */ - IWorkbookFunctionsFactDoubleRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequest.java deleted file mode 100644 index e73f2515e84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fact Request. - */ -public interface IBaseWorkbookFunctionsFactRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFactRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFactRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFactRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequestBuilder.java deleted file mode 100644 index 4546e731623..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFactRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fact Request Builder. - */ -public interface IBaseWorkbookFunctionsFactRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFactRequest - * - * @return the IWorkbookFunctionsFactRequest instance - */ - IWorkbookFunctionsFactRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFactRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFactRequest instance - */ - IWorkbookFunctionsFactRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequest.java deleted file mode 100644 index 581b1e54b8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions False Request. - */ -public interface IBaseWorkbookFunctionsFalseRequest { - - /** - * Creates the WorkbookFunctionsFalse - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsFalse - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFalseRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFalseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequestBuilder.java deleted file mode 100644 index 0325f74d7b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFalseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions False Request Builder. - */ -public interface IBaseWorkbookFunctionsFalseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFalseRequest - * - * @return the IWorkbookFunctionsFalseRequest instance - */ - IWorkbookFunctionsFalseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFalseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFalseRequest instance - */ - IWorkbookFunctionsFalseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequest.java deleted file mode 100644 index fe7c6261891..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Find BRequest. - */ -public interface IBaseWorkbookFunctionsFindBRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFindBRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFindBRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFindBRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequestBuilder.java deleted file mode 100644 index 5f07e94dc63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindBRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Find BRequest Builder. - */ -public interface IBaseWorkbookFunctionsFindBRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFindBRequest - * - * @return the IWorkbookFunctionsFindBRequest instance - */ - IWorkbookFunctionsFindBRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFindBRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFindBRequest instance - */ - IWorkbookFunctionsFindBRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequest.java deleted file mode 100644 index 8f07ecff4c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Find Request. - */ -public interface IBaseWorkbookFunctionsFindRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFindRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFindRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFindRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequestBuilder.java deleted file mode 100644 index 8cd10d3e12b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFindRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Find Request Builder. - */ -public interface IBaseWorkbookFunctionsFindRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFindRequest - * - * @return the IWorkbookFunctionsFindRequest instance - */ - IWorkbookFunctionsFindRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFindRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFindRequest instance - */ - IWorkbookFunctionsFindRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequest.java deleted file mode 100644 index 829c511e010..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fisher Inv Request. - */ -public interface IBaseWorkbookFunctionsFisherInvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFisherInvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFisherInvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFisherInvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequestBuilder.java deleted file mode 100644 index 517ecfe872e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherInvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fisher Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsFisherInvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFisherInvRequest - * - * @return the IWorkbookFunctionsFisherInvRequest instance - */ - IWorkbookFunctionsFisherInvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFisherInvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFisherInvRequest instance - */ - IWorkbookFunctionsFisherInvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequest.java deleted file mode 100644 index 9b14dbb9064..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fisher Request. - */ -public interface IBaseWorkbookFunctionsFisherRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFisherRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFisherRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFisherRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequestBuilder.java deleted file mode 100644 index 4a73c530813..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFisherRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fisher Request Builder. - */ -public interface IBaseWorkbookFunctionsFisherRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFisherRequest - * - * @return the IWorkbookFunctionsFisherRequest instance - */ - IWorkbookFunctionsFisherRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFisherRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFisherRequest instance - */ - IWorkbookFunctionsFisherRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequest.java deleted file mode 100644 index 0fa36aed087..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fixed Request. - */ -public interface IBaseWorkbookFunctionsFixedRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFixedRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFixedRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFixedRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequestBuilder.java deleted file mode 100644 index cc0aa71c690..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFixedRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fixed Request Builder. - */ -public interface IBaseWorkbookFunctionsFixedRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFixedRequest - * - * @return the IWorkbookFunctionsFixedRequest instance - */ - IWorkbookFunctionsFixedRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFixedRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFixedRequest instance - */ - IWorkbookFunctionsFixedRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequest.java deleted file mode 100644 index 37f46b854bb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Floor_Math Request. - */ -public interface IBaseWorkbookFunctionsFloor_MathRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFloor_MathRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFloor_MathRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFloor_MathRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequestBuilder.java deleted file mode 100644 index 8719ed3cae9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_MathRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Floor_Math Request Builder. - */ -public interface IBaseWorkbookFunctionsFloor_MathRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFloor_MathRequest - * - * @return the IWorkbookFunctionsFloor_MathRequest instance - */ - IWorkbookFunctionsFloor_MathRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFloor_MathRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFloor_MathRequest instance - */ - IWorkbookFunctionsFloor_MathRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequest.java deleted file mode 100644 index 4883e8d8a73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Floor_Precise Request. - */ -public interface IBaseWorkbookFunctionsFloor_PreciseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFloor_PreciseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFloor_PreciseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFloor_PreciseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequestBuilder.java deleted file mode 100644 index a0be21fc115..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFloor_PreciseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Floor_Precise Request Builder. - */ -public interface IBaseWorkbookFunctionsFloor_PreciseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFloor_PreciseRequest - * - * @return the IWorkbookFunctionsFloor_PreciseRequest instance - */ - IWorkbookFunctionsFloor_PreciseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFloor_PreciseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFloor_PreciseRequest instance - */ - IWorkbookFunctionsFloor_PreciseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequest.java deleted file mode 100644 index 6c1c51aad36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fv Request. - */ -public interface IBaseWorkbookFunctionsFvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequestBuilder.java deleted file mode 100644 index c9c52efa539..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fv Request Builder. - */ -public interface IBaseWorkbookFunctionsFvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFvRequest - * - * @return the IWorkbookFunctionsFvRequest instance - */ - IWorkbookFunctionsFvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFvRequest instance - */ - IWorkbookFunctionsFvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequest.java deleted file mode 100644 index 78bced585cb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fvschedule Request. - */ -public interface IBaseWorkbookFunctionsFvscheduleRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsFvscheduleRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsFvscheduleRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsFvscheduleRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequestBuilder.java deleted file mode 100644 index 189c526eab3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsFvscheduleRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Fvschedule Request Builder. - */ -public interface IBaseWorkbookFunctionsFvscheduleRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsFvscheduleRequest - * - * @return the IWorkbookFunctionsFvscheduleRequest instance - */ - IWorkbookFunctionsFvscheduleRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsFvscheduleRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsFvscheduleRequest instance - */ - IWorkbookFunctionsFvscheduleRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequest.java deleted file mode 100644 index 192fbb152a3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma Ln Request. - */ -public interface IBaseWorkbookFunctionsGammaLnRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGammaLnRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGammaLnRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGammaLnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequestBuilder.java deleted file mode 100644 index a3769d8a7e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma Ln Request Builder. - */ -public interface IBaseWorkbookFunctionsGammaLnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGammaLnRequest - * - * @return the IWorkbookFunctionsGammaLnRequest instance - */ - IWorkbookFunctionsGammaLnRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGammaLnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGammaLnRequest instance - */ - IWorkbookFunctionsGammaLnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequest.java deleted file mode 100644 index bff2c2c9479..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma Ln_Precise Request. - */ -public interface IBaseWorkbookFunctionsGammaLn_PreciseRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGammaLn_PreciseRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGammaLn_PreciseRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGammaLn_PreciseRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java deleted file mode 100644 index bb20ca295a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma Ln_Precise Request Builder. - */ -public interface IBaseWorkbookFunctionsGammaLn_PreciseRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGammaLn_PreciseRequest - * - * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance - */ - IWorkbookFunctionsGammaLn_PreciseRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGammaLn_PreciseRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGammaLn_PreciseRequest instance - */ - IWorkbookFunctionsGammaLn_PreciseRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequest.java deleted file mode 100644 index ddb10770099..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma Request. - */ -public interface IBaseWorkbookFunctionsGammaRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGammaRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGammaRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGammaRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequestBuilder.java deleted file mode 100644 index eb002d6ddb9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGammaRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma Request Builder. - */ -public interface IBaseWorkbookFunctionsGammaRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGammaRequest - * - * @return the IWorkbookFunctionsGammaRequest instance - */ - IWorkbookFunctionsGammaRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGammaRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGammaRequest instance - */ - IWorkbookFunctionsGammaRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequest.java deleted file mode 100644 index 39bd3b0024a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma_Dist Request. - */ -public interface IBaseWorkbookFunctionsGamma_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGamma_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGamma_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGamma_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequestBuilder.java deleted file mode 100644 index 68c39686b16..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsGamma_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGamma_DistRequest - * - * @return the IWorkbookFunctionsGamma_DistRequest instance - */ - IWorkbookFunctionsGamma_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGamma_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGamma_DistRequest instance - */ - IWorkbookFunctionsGamma_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequest.java deleted file mode 100644 index 8604a30f75b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma_Inv Request. - */ -public interface IBaseWorkbookFunctionsGamma_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGamma_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGamma_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGamma_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequestBuilder.java deleted file mode 100644 index 01d7482ad9b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGamma_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gamma_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsGamma_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGamma_InvRequest - * - * @return the IWorkbookFunctionsGamma_InvRequest instance - */ - IWorkbookFunctionsGamma_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGamma_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGamma_InvRequest instance - */ - IWorkbookFunctionsGamma_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequest.java deleted file mode 100644 index 02b8313c675..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gauss Request. - */ -public interface IBaseWorkbookFunctionsGaussRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGaussRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGaussRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGaussRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequestBuilder.java deleted file mode 100644 index c7449a32439..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGaussRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gauss Request Builder. - */ -public interface IBaseWorkbookFunctionsGaussRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGaussRequest - * - * @return the IWorkbookFunctionsGaussRequest instance - */ - IWorkbookFunctionsGaussRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGaussRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGaussRequest instance - */ - IWorkbookFunctionsGaussRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequest.java deleted file mode 100644 index 2ba4367329b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gcd Request. - */ -public interface IBaseWorkbookFunctionsGcdRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGcdRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGcdRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGcdRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequestBuilder.java deleted file mode 100644 index 8f4c29b69fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGcdRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Gcd Request Builder. - */ -public interface IBaseWorkbookFunctionsGcdRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGcdRequest - * - * @return the IWorkbookFunctionsGcdRequest instance - */ - IWorkbookFunctionsGcdRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGcdRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGcdRequest instance - */ - IWorkbookFunctionsGcdRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequest.java deleted file mode 100644 index 1fd183fe5e1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ge Step Request. - */ -public interface IBaseWorkbookFunctionsGeStepRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGeStepRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGeStepRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGeStepRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequestBuilder.java deleted file mode 100644 index 2fd37540a46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeStepRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ge Step Request Builder. - */ -public interface IBaseWorkbookFunctionsGeStepRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGeStepRequest - * - * @return the IWorkbookFunctionsGeStepRequest instance - */ - IWorkbookFunctionsGeStepRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGeStepRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGeStepRequest instance - */ - IWorkbookFunctionsGeStepRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequest.java deleted file mode 100644 index f5ce205e493..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Geo Mean Request. - */ -public interface IBaseWorkbookFunctionsGeoMeanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsGeoMeanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsGeoMeanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsGeoMeanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequestBuilder.java deleted file mode 100644 index 02624b32569..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsGeoMeanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Geo Mean Request Builder. - */ -public interface IBaseWorkbookFunctionsGeoMeanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsGeoMeanRequest - * - * @return the IWorkbookFunctionsGeoMeanRequest instance - */ - IWorkbookFunctionsGeoMeanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsGeoMeanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsGeoMeanRequest instance - */ - IWorkbookFunctionsGeoMeanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequest.java deleted file mode 100644 index aeb6906712e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Har Mean Request. - */ -public interface IBaseWorkbookFunctionsHarMeanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHarMeanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHarMeanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHarMeanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequestBuilder.java deleted file mode 100644 index 9640ae928bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHarMeanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Har Mean Request Builder. - */ -public interface IBaseWorkbookFunctionsHarMeanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHarMeanRequest - * - * @return the IWorkbookFunctionsHarMeanRequest instance - */ - IWorkbookFunctionsHarMeanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHarMeanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHarMeanRequest instance - */ - IWorkbookFunctionsHarMeanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequest.java deleted file mode 100644 index 288cfdca5c1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hex2Bin Request. - */ -public interface IBaseWorkbookFunctionsHex2BinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHex2BinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHex2BinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHex2BinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequestBuilder.java deleted file mode 100644 index a026a6e6af4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2BinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hex2Bin Request Builder. - */ -public interface IBaseWorkbookFunctionsHex2BinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHex2BinRequest - * - * @return the IWorkbookFunctionsHex2BinRequest instance - */ - IWorkbookFunctionsHex2BinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHex2BinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHex2BinRequest instance - */ - IWorkbookFunctionsHex2BinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequest.java deleted file mode 100644 index b2efa81b7b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hex2Dec Request. - */ -public interface IBaseWorkbookFunctionsHex2DecRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHex2DecRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHex2DecRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHex2DecRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequestBuilder.java deleted file mode 100644 index 60c7267b9ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2DecRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hex2Dec Request Builder. - */ -public interface IBaseWorkbookFunctionsHex2DecRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHex2DecRequest - * - * @return the IWorkbookFunctionsHex2DecRequest instance - */ - IWorkbookFunctionsHex2DecRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHex2DecRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHex2DecRequest instance - */ - IWorkbookFunctionsHex2DecRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequest.java deleted file mode 100644 index c0afe7b5816..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hex2Oct Request. - */ -public interface IBaseWorkbookFunctionsHex2OctRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHex2OctRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHex2OctRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHex2OctRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequestBuilder.java deleted file mode 100644 index cece60f69d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHex2OctRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hex2Oct Request Builder. - */ -public interface IBaseWorkbookFunctionsHex2OctRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHex2OctRequest - * - * @return the IWorkbookFunctionsHex2OctRequest instance - */ - IWorkbookFunctionsHex2OctRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHex2OctRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHex2OctRequest instance - */ - IWorkbookFunctionsHex2OctRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequest.java deleted file mode 100644 index aff184aaa67..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hlookup Request. - */ -public interface IBaseWorkbookFunctionsHlookupRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHlookupRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHlookupRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHlookupRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequestBuilder.java deleted file mode 100644 index bfcd9f85773..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHlookupRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hlookup Request Builder. - */ -public interface IBaseWorkbookFunctionsHlookupRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHlookupRequest - * - * @return the IWorkbookFunctionsHlookupRequest instance - */ - IWorkbookFunctionsHlookupRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHlookupRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHlookupRequest instance - */ - IWorkbookFunctionsHlookupRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequest.java deleted file mode 100644 index ca49aeaed7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hour Request. - */ -public interface IBaseWorkbookFunctionsHourRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHourRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHourRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHourRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequestBuilder.java deleted file mode 100644 index 743ec066b78..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHourRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hour Request Builder. - */ -public interface IBaseWorkbookFunctionsHourRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHourRequest - * - * @return the IWorkbookFunctionsHourRequest instance - */ - IWorkbookFunctionsHourRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHourRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHourRequest instance - */ - IWorkbookFunctionsHourRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequest.java deleted file mode 100644 index 246d0a5f7e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hyp Geom_Dist Request. - */ -public interface IBaseWorkbookFunctionsHypGeom_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHypGeom_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHypGeom_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHypGeom_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequestBuilder.java deleted file mode 100644 index c308b82fa70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHypGeom_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hyp Geom_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsHypGeom_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHypGeom_DistRequest - * - * @return the IWorkbookFunctionsHypGeom_DistRequest instance - */ - IWorkbookFunctionsHypGeom_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHypGeom_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHypGeom_DistRequest instance - */ - IWorkbookFunctionsHypGeom_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequest.java deleted file mode 100644 index 0d75b5e67b7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hyperlink Request. - */ -public interface IBaseWorkbookFunctionsHyperlinkRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsHyperlinkRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsHyperlinkRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsHyperlinkRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequestBuilder.java deleted file mode 100644 index a483651f0f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsHyperlinkRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Hyperlink Request Builder. - */ -public interface IBaseWorkbookFunctionsHyperlinkRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsHyperlinkRequest - * - * @return the IWorkbookFunctionsHyperlinkRequest instance - */ - IWorkbookFunctionsHyperlinkRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsHyperlinkRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsHyperlinkRequest instance - */ - IWorkbookFunctionsHyperlinkRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequest.java deleted file mode 100644 index 14b8baa8338..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions If Request. - */ -public interface IBaseWorkbookFunctionsIfRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIfRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIfRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIfRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequestBuilder.java deleted file mode 100644 index 60933db585d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIfRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions If Request Builder. - */ -public interface IBaseWorkbookFunctionsIfRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIfRequest - * - * @return the IWorkbookFunctionsIfRequest instance - */ - IWorkbookFunctionsIfRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIfRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIfRequest instance - */ - IWorkbookFunctionsIfRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequest.java deleted file mode 100644 index 248bb03006d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Abs Request. - */ -public interface IBaseWorkbookFunctionsImAbsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImAbsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImAbsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImAbsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequestBuilder.java deleted file mode 100644 index 13528cebef7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImAbsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Abs Request Builder. - */ -public interface IBaseWorkbookFunctionsImAbsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImAbsRequest - * - * @return the IWorkbookFunctionsImAbsRequest instance - */ - IWorkbookFunctionsImAbsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImAbsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImAbsRequest instance - */ - IWorkbookFunctionsImAbsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequest.java deleted file mode 100644 index 711163462f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Argument Request. - */ -public interface IBaseWorkbookFunctionsImArgumentRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImArgumentRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImArgumentRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImArgumentRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequestBuilder.java deleted file mode 100644 index 0dda8e5a1c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImArgumentRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Argument Request Builder. - */ -public interface IBaseWorkbookFunctionsImArgumentRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImArgumentRequest - * - * @return the IWorkbookFunctionsImArgumentRequest instance - */ - IWorkbookFunctionsImArgumentRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImArgumentRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImArgumentRequest instance - */ - IWorkbookFunctionsImArgumentRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequest.java deleted file mode 100644 index b8ee89c3cc5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Conjugate Request. - */ -public interface IBaseWorkbookFunctionsImConjugateRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImConjugateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImConjugateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImConjugateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequestBuilder.java deleted file mode 100644 index 31e3614bf63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImConjugateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Conjugate Request Builder. - */ -public interface IBaseWorkbookFunctionsImConjugateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImConjugateRequest - * - * @return the IWorkbookFunctionsImConjugateRequest instance - */ - IWorkbookFunctionsImConjugateRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImConjugateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImConjugateRequest instance - */ - IWorkbookFunctionsImConjugateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequest.java deleted file mode 100644 index 2fac2c08f77..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Cos Request. - */ -public interface IBaseWorkbookFunctionsImCosRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImCosRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImCosRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImCosRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequestBuilder.java deleted file mode 100644 index 6869ea69faa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCosRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Cos Request Builder. - */ -public interface IBaseWorkbookFunctionsImCosRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImCosRequest - * - * @return the IWorkbookFunctionsImCosRequest instance - */ - IWorkbookFunctionsImCosRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImCosRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCosRequest instance - */ - IWorkbookFunctionsImCosRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequest.java deleted file mode 100644 index 877078471dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Cosh Request. - */ -public interface IBaseWorkbookFunctionsImCoshRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImCoshRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImCoshRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImCoshRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequestBuilder.java deleted file mode 100644 index 3f6a67e82ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCoshRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Cosh Request Builder. - */ -public interface IBaseWorkbookFunctionsImCoshRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImCoshRequest - * - * @return the IWorkbookFunctionsImCoshRequest instance - */ - IWorkbookFunctionsImCoshRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImCoshRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCoshRequest instance - */ - IWorkbookFunctionsImCoshRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequest.java deleted file mode 100644 index fcef8b14705..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Cot Request. - */ -public interface IBaseWorkbookFunctionsImCotRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImCotRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImCotRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImCotRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequestBuilder.java deleted file mode 100644 index 3708e9851df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCotRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Cot Request Builder. - */ -public interface IBaseWorkbookFunctionsImCotRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImCotRequest - * - * @return the IWorkbookFunctionsImCotRequest instance - */ - IWorkbookFunctionsImCotRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImCotRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCotRequest instance - */ - IWorkbookFunctionsImCotRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequest.java deleted file mode 100644 index e5fb577eea6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Csc Request. - */ -public interface IBaseWorkbookFunctionsImCscRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImCscRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImCscRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImCscRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequestBuilder.java deleted file mode 100644 index 154cec2d9d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCscRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Csc Request Builder. - */ -public interface IBaseWorkbookFunctionsImCscRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImCscRequest - * - * @return the IWorkbookFunctionsImCscRequest instance - */ - IWorkbookFunctionsImCscRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImCscRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCscRequest instance - */ - IWorkbookFunctionsImCscRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequest.java deleted file mode 100644 index 46efb360d3a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Csch Request. - */ -public interface IBaseWorkbookFunctionsImCschRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImCschRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImCschRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImCschRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequestBuilder.java deleted file mode 100644 index c3bd7ea37a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImCschRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Csch Request Builder. - */ -public interface IBaseWorkbookFunctionsImCschRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImCschRequest - * - * @return the IWorkbookFunctionsImCschRequest instance - */ - IWorkbookFunctionsImCschRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImCschRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImCschRequest instance - */ - IWorkbookFunctionsImCschRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequest.java deleted file mode 100644 index 796321991db..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Div Request. - */ -public interface IBaseWorkbookFunctionsImDivRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImDivRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImDivRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImDivRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequestBuilder.java deleted file mode 100644 index 6dc7042be6a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImDivRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Div Request Builder. - */ -public interface IBaseWorkbookFunctionsImDivRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImDivRequest - * - * @return the IWorkbookFunctionsImDivRequest instance - */ - IWorkbookFunctionsImDivRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImDivRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImDivRequest instance - */ - IWorkbookFunctionsImDivRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequest.java deleted file mode 100644 index 8289f251e4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Exp Request. - */ -public interface IBaseWorkbookFunctionsImExpRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImExpRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImExpRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImExpRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequestBuilder.java deleted file mode 100644 index 3fa05c6dc73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImExpRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Exp Request Builder. - */ -public interface IBaseWorkbookFunctionsImExpRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImExpRequest - * - * @return the IWorkbookFunctionsImExpRequest instance - */ - IWorkbookFunctionsImExpRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImExpRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImExpRequest instance - */ - IWorkbookFunctionsImExpRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequest.java deleted file mode 100644 index e1ed1fb25ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Ln Request. - */ -public interface IBaseWorkbookFunctionsImLnRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImLnRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImLnRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImLnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequestBuilder.java deleted file mode 100644 index e81fad72422..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Ln Request Builder. - */ -public interface IBaseWorkbookFunctionsImLnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImLnRequest - * - * @return the IWorkbookFunctionsImLnRequest instance - */ - IWorkbookFunctionsImLnRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImLnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImLnRequest instance - */ - IWorkbookFunctionsImLnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10Request.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10Request.java deleted file mode 100644 index bd977ae7063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10Request.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Log10Request. - */ -public interface IBaseWorkbookFunctionsImLog10Request { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImLog10Request select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImLog10Request top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImLog10Request expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10RequestBuilder.java deleted file mode 100644 index 91931168f41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog10RequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10Request; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Log10Request Builder. - */ -public interface IBaseWorkbookFunctionsImLog10RequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImLog10Request - * - * @return the IWorkbookFunctionsImLog10Request instance - */ - IWorkbookFunctionsImLog10Request buildRequest(); - - /** - * Creates the IWorkbookFunctionsImLog10Request with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImLog10Request instance - */ - IWorkbookFunctionsImLog10Request buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2Request.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2Request.java deleted file mode 100644 index 0bd3ad21e70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2Request.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Log2Request. - */ -public interface IBaseWorkbookFunctionsImLog2Request { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImLog2Request select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImLog2Request top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImLog2Request expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2RequestBuilder.java deleted file mode 100644 index 4562b228e1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImLog2RequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2Request; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Log2Request Builder. - */ -public interface IBaseWorkbookFunctionsImLog2RequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImLog2Request - * - * @return the IWorkbookFunctionsImLog2Request instance - */ - IWorkbookFunctionsImLog2Request buildRequest(); - - /** - * Creates the IWorkbookFunctionsImLog2Request with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImLog2Request instance - */ - IWorkbookFunctionsImLog2Request buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequest.java deleted file mode 100644 index 68d2b4b8e36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Power Request. - */ -public interface IBaseWorkbookFunctionsImPowerRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImPowerRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImPowerRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImPowerRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequestBuilder.java deleted file mode 100644 index ad4661866d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImPowerRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Power Request Builder. - */ -public interface IBaseWorkbookFunctionsImPowerRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImPowerRequest - * - * @return the IWorkbookFunctionsImPowerRequest instance - */ - IWorkbookFunctionsImPowerRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImPowerRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImPowerRequest instance - */ - IWorkbookFunctionsImPowerRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequest.java deleted file mode 100644 index afeb8a978f9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Product Request. - */ -public interface IBaseWorkbookFunctionsImProductRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImProductRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImProductRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImProductRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequestBuilder.java deleted file mode 100644 index c47736876c6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImProductRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Product Request Builder. - */ -public interface IBaseWorkbookFunctionsImProductRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImProductRequest - * - * @return the IWorkbookFunctionsImProductRequest instance - */ - IWorkbookFunctionsImProductRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImProductRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImProductRequest instance - */ - IWorkbookFunctionsImProductRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequest.java deleted file mode 100644 index 35dd09d07cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Real Request. - */ -public interface IBaseWorkbookFunctionsImRealRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImRealRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImRealRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImRealRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequestBuilder.java deleted file mode 100644 index 7dddd4036f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImRealRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Real Request Builder. - */ -public interface IBaseWorkbookFunctionsImRealRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImRealRequest - * - * @return the IWorkbookFunctionsImRealRequest instance - */ - IWorkbookFunctionsImRealRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImRealRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImRealRequest instance - */ - IWorkbookFunctionsImRealRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequest.java deleted file mode 100644 index c17f784b5fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sec Request. - */ -public interface IBaseWorkbookFunctionsImSecRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSecRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSecRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSecRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequestBuilder.java deleted file mode 100644 index 4817de71270..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSecRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sec Request Builder. - */ -public interface IBaseWorkbookFunctionsImSecRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSecRequest - * - * @return the IWorkbookFunctionsImSecRequest instance - */ - IWorkbookFunctionsImSecRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSecRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSecRequest instance - */ - IWorkbookFunctionsImSecRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequest.java deleted file mode 100644 index ecd6526b4b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sech Request. - */ -public interface IBaseWorkbookFunctionsImSechRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSechRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSechRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSechRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequestBuilder.java deleted file mode 100644 index 976938dff66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSechRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sech Request Builder. - */ -public interface IBaseWorkbookFunctionsImSechRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSechRequest - * - * @return the IWorkbookFunctionsImSechRequest instance - */ - IWorkbookFunctionsImSechRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSechRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSechRequest instance - */ - IWorkbookFunctionsImSechRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequest.java deleted file mode 100644 index 14fae39a89b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sin Request. - */ -public interface IBaseWorkbookFunctionsImSinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequestBuilder.java deleted file mode 100644 index 1b0f15104a9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sin Request Builder. - */ -public interface IBaseWorkbookFunctionsImSinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSinRequest - * - * @return the IWorkbookFunctionsImSinRequest instance - */ - IWorkbookFunctionsImSinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSinRequest instance - */ - IWorkbookFunctionsImSinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequest.java deleted file mode 100644 index 16268e595e7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sinh Request. - */ -public interface IBaseWorkbookFunctionsImSinhRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSinhRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSinhRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSinhRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequestBuilder.java deleted file mode 100644 index a220412d9ff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSinhRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sinh Request Builder. - */ -public interface IBaseWorkbookFunctionsImSinhRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSinhRequest - * - * @return the IWorkbookFunctionsImSinhRequest instance - */ - IWorkbookFunctionsImSinhRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSinhRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSinhRequest instance - */ - IWorkbookFunctionsImSinhRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequest.java deleted file mode 100644 index b1530d44016..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sqrt Request. - */ -public interface IBaseWorkbookFunctionsImSqrtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSqrtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSqrtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSqrtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequestBuilder.java deleted file mode 100644 index 65a41c45eef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSqrtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sqrt Request Builder. - */ -public interface IBaseWorkbookFunctionsImSqrtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSqrtRequest - * - * @return the IWorkbookFunctionsImSqrtRequest instance - */ - IWorkbookFunctionsImSqrtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSqrtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSqrtRequest instance - */ - IWorkbookFunctionsImSqrtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequest.java deleted file mode 100644 index c6c843347fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sub Request. - */ -public interface IBaseWorkbookFunctionsImSubRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSubRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSubRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSubRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequestBuilder.java deleted file mode 100644 index 27c2d37294a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSubRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sub Request Builder. - */ -public interface IBaseWorkbookFunctionsImSubRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSubRequest - * - * @return the IWorkbookFunctionsImSubRequest instance - */ - IWorkbookFunctionsImSubRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSubRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSubRequest instance - */ - IWorkbookFunctionsImSubRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequest.java deleted file mode 100644 index 4c8ac35ba15..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sum Request. - */ -public interface IBaseWorkbookFunctionsImSumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImSumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImSumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImSumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequestBuilder.java deleted file mode 100644 index 120690a2894..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImSumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Sum Request Builder. - */ -public interface IBaseWorkbookFunctionsImSumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImSumRequest - * - * @return the IWorkbookFunctionsImSumRequest instance - */ - IWorkbookFunctionsImSumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImSumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImSumRequest instance - */ - IWorkbookFunctionsImSumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequest.java deleted file mode 100644 index 90d6c257ab1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Tan Request. - */ -public interface IBaseWorkbookFunctionsImTanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImTanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImTanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImTanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequestBuilder.java deleted file mode 100644 index ecea76c6104..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImTanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Im Tan Request Builder. - */ -public interface IBaseWorkbookFunctionsImTanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImTanRequest - * - * @return the IWorkbookFunctionsImTanRequest instance - */ - IWorkbookFunctionsImTanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImTanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImTanRequest instance - */ - IWorkbookFunctionsImTanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequest.java deleted file mode 100644 index 2e4f1b66f98..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Imaginary Request. - */ -public interface IBaseWorkbookFunctionsImaginaryRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsImaginaryRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsImaginaryRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsImaginaryRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequestBuilder.java deleted file mode 100644 index 9b5b4fd9467..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsImaginaryRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Imaginary Request Builder. - */ -public interface IBaseWorkbookFunctionsImaginaryRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsImaginaryRequest - * - * @return the IWorkbookFunctionsImaginaryRequest instance - */ - IWorkbookFunctionsImaginaryRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsImaginaryRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsImaginaryRequest instance - */ - IWorkbookFunctionsImaginaryRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequest.java deleted file mode 100644 index 61f80249675..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Int Rate Request. - */ -public interface IBaseWorkbookFunctionsIntRateRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIntRateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIntRateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIntRateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequestBuilder.java deleted file mode 100644 index c4795c13baf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Int Rate Request Builder. - */ -public interface IBaseWorkbookFunctionsIntRateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIntRateRequest - * - * @return the IWorkbookFunctionsIntRateRequest instance - */ - IWorkbookFunctionsIntRateRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIntRateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIntRateRequest instance - */ - IWorkbookFunctionsIntRateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequest.java deleted file mode 100644 index bd8eee0527b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Int Request. - */ -public interface IBaseWorkbookFunctionsIntRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIntRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIntRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIntRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequestBuilder.java deleted file mode 100644 index b0a00234d5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIntRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Int Request Builder. - */ -public interface IBaseWorkbookFunctionsIntRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIntRequest - * - * @return the IWorkbookFunctionsIntRequest instance - */ - IWorkbookFunctionsIntRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIntRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIntRequest instance - */ - IWorkbookFunctionsIntRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequest.java deleted file mode 100644 index 02de2f6ec70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ipmt Request. - */ -public interface IBaseWorkbookFunctionsIpmtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIpmtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIpmtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIpmtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequestBuilder.java deleted file mode 100644 index 7b3fbf1fb75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIpmtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ipmt Request Builder. - */ -public interface IBaseWorkbookFunctionsIpmtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIpmtRequest - * - * @return the IWorkbookFunctionsIpmtRequest instance - */ - IWorkbookFunctionsIpmtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIpmtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIpmtRequest instance - */ - IWorkbookFunctionsIpmtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequest.java deleted file mode 100644 index 93742f937ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Irr Request. - */ -public interface IBaseWorkbookFunctionsIrrRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIrrRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIrrRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIrrRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequestBuilder.java deleted file mode 100644 index 43c9bb79a02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIrrRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Irr Request Builder. - */ -public interface IBaseWorkbookFunctionsIrrRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIrrRequest - * - * @return the IWorkbookFunctionsIrrRequest instance - */ - IWorkbookFunctionsIrrRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIrrRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIrrRequest instance - */ - IWorkbookFunctionsIrrRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequest.java deleted file mode 100644 index f582c45567d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Err Request. - */ -public interface IBaseWorkbookFunctionsIsErrRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsErrRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsErrRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsErrRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequestBuilder.java deleted file mode 100644 index 58b13aca689..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Err Request Builder. - */ -public interface IBaseWorkbookFunctionsIsErrRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsErrRequest - * - * @return the IWorkbookFunctionsIsErrRequest instance - */ - IWorkbookFunctionsIsErrRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsErrRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsErrRequest instance - */ - IWorkbookFunctionsIsErrRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequest.java deleted file mode 100644 index 8b1f51eda73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Error Request. - */ -public interface IBaseWorkbookFunctionsIsErrorRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsErrorRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsErrorRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsErrorRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequestBuilder.java deleted file mode 100644 index e9267b70d36..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsErrorRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Error Request Builder. - */ -public interface IBaseWorkbookFunctionsIsErrorRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsErrorRequest - * - * @return the IWorkbookFunctionsIsErrorRequest instance - */ - IWorkbookFunctionsIsErrorRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsErrorRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsErrorRequest instance - */ - IWorkbookFunctionsIsErrorRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequest.java deleted file mode 100644 index f99fcd5aa9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Even Request. - */ -public interface IBaseWorkbookFunctionsIsEvenRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsEvenRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsEvenRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsEvenRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequestBuilder.java deleted file mode 100644 index a690d8fe19b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsEvenRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Even Request Builder. - */ -public interface IBaseWorkbookFunctionsIsEvenRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsEvenRequest - * - * @return the IWorkbookFunctionsIsEvenRequest instance - */ - IWorkbookFunctionsIsEvenRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsEvenRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsEvenRequest instance - */ - IWorkbookFunctionsIsEvenRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequest.java deleted file mode 100644 index a6656dcea49..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Formula Request. - */ -public interface IBaseWorkbookFunctionsIsFormulaRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsFormulaRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsFormulaRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsFormulaRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequestBuilder.java deleted file mode 100644 index c87abbaf7fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsFormulaRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Formula Request Builder. - */ -public interface IBaseWorkbookFunctionsIsFormulaRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsFormulaRequest - * - * @return the IWorkbookFunctionsIsFormulaRequest instance - */ - IWorkbookFunctionsIsFormulaRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsFormulaRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsFormulaRequest instance - */ - IWorkbookFunctionsIsFormulaRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequest.java deleted file mode 100644 index 58be07e3e31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Logical Request. - */ -public interface IBaseWorkbookFunctionsIsLogicalRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsLogicalRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsLogicalRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsLogicalRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequestBuilder.java deleted file mode 100644 index 3d8caf34383..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsLogicalRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Logical Request Builder. - */ -public interface IBaseWorkbookFunctionsIsLogicalRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsLogicalRequest - * - * @return the IWorkbookFunctionsIsLogicalRequest instance - */ - IWorkbookFunctionsIsLogicalRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsLogicalRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsLogicalRequest instance - */ - IWorkbookFunctionsIsLogicalRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequest.java deleted file mode 100644 index 3367275dc9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is NARequest. - */ -public interface IBaseWorkbookFunctionsIsNARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsNARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsNARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsNARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequestBuilder.java deleted file mode 100644 index a234712eff0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is NARequest Builder. - */ -public interface IBaseWorkbookFunctionsIsNARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsNARequest - * - * @return the IWorkbookFunctionsIsNARequest instance - */ - IWorkbookFunctionsIsNARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsNARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsNARequest instance - */ - IWorkbookFunctionsIsNARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequest.java deleted file mode 100644 index 6eb8dccf8d8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Non Text Request. - */ -public interface IBaseWorkbookFunctionsIsNonTextRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsNonTextRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsNonTextRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsNonTextRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequestBuilder.java deleted file mode 100644 index de713588425..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNonTextRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Non Text Request Builder. - */ -public interface IBaseWorkbookFunctionsIsNonTextRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsNonTextRequest - * - * @return the IWorkbookFunctionsIsNonTextRequest instance - */ - IWorkbookFunctionsIsNonTextRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsNonTextRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsNonTextRequest instance - */ - IWorkbookFunctionsIsNonTextRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequest.java deleted file mode 100644 index d0671a386f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Number Request. - */ -public interface IBaseWorkbookFunctionsIsNumberRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsNumberRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsNumberRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsNumberRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequestBuilder.java deleted file mode 100644 index 39fe274c0fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsNumberRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Number Request Builder. - */ -public interface IBaseWorkbookFunctionsIsNumberRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsNumberRequest - * - * @return the IWorkbookFunctionsIsNumberRequest instance - */ - IWorkbookFunctionsIsNumberRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsNumberRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsNumberRequest instance - */ - IWorkbookFunctionsIsNumberRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequest.java deleted file mode 100644 index bc17508b94b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Odd Request. - */ -public interface IBaseWorkbookFunctionsIsOddRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsOddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsOddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsOddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequestBuilder.java deleted file mode 100644 index f9bd1446d7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsOddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Odd Request Builder. - */ -public interface IBaseWorkbookFunctionsIsOddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsOddRequest - * - * @return the IWorkbookFunctionsIsOddRequest instance - */ - IWorkbookFunctionsIsOddRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsOddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsOddRequest instance - */ - IWorkbookFunctionsIsOddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequest.java deleted file mode 100644 index 5d91133abe6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Text Request. - */ -public interface IBaseWorkbookFunctionsIsTextRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsTextRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsTextRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsTextRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequestBuilder.java deleted file mode 100644 index dd495097e64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsTextRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Is Text Request Builder. - */ -public interface IBaseWorkbookFunctionsIsTextRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsTextRequest - * - * @return the IWorkbookFunctionsIsTextRequest instance - */ - IWorkbookFunctionsIsTextRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsTextRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsTextRequest instance - */ - IWorkbookFunctionsIsTextRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequest.java deleted file mode 100644 index 63e71715ca0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Iso Week Num Request. - */ -public interface IBaseWorkbookFunctionsIsoWeekNumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsoWeekNumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsoWeekNumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsoWeekNumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequestBuilder.java deleted file mode 100644 index f26bd00cc3d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsoWeekNumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Iso Week Num Request Builder. - */ -public interface IBaseWorkbookFunctionsIsoWeekNumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsoWeekNumRequest - * - * @return the IWorkbookFunctionsIsoWeekNumRequest instance - */ - IWorkbookFunctionsIsoWeekNumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsoWeekNumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsoWeekNumRequest instance - */ - IWorkbookFunctionsIsoWeekNumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequest.java deleted file mode 100644 index 1e2e64b715b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Iso_Ceiling Request. - */ -public interface IBaseWorkbookFunctionsIso_CeilingRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIso_CeilingRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIso_CeilingRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIso_CeilingRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequestBuilder.java deleted file mode 100644 index 578dad5fc42..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIso_CeilingRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Iso_Ceiling Request Builder. - */ -public interface IBaseWorkbookFunctionsIso_CeilingRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIso_CeilingRequest - * - * @return the IWorkbookFunctionsIso_CeilingRequest instance - */ - IWorkbookFunctionsIso_CeilingRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIso_CeilingRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIso_CeilingRequest instance - */ - IWorkbookFunctionsIso_CeilingRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequest.java deleted file mode 100644 index 0939338d7e8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ispmt Request. - */ -public interface IBaseWorkbookFunctionsIspmtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIspmtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIspmtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIspmtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequestBuilder.java deleted file mode 100644 index a3815322c55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIspmtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ispmt Request Builder. - */ -public interface IBaseWorkbookFunctionsIspmtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIspmtRequest - * - * @return the IWorkbookFunctionsIspmtRequest instance - */ - IWorkbookFunctionsIspmtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIspmtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIspmtRequest instance - */ - IWorkbookFunctionsIspmtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequest.java deleted file mode 100644 index 932fd6a3393..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Isref Request. - */ -public interface IBaseWorkbookFunctionsIsrefRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsIsrefRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsIsrefRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsIsrefRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequestBuilder.java deleted file mode 100644 index 6f9e2f257b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsIsrefRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Isref Request Builder. - */ -public interface IBaseWorkbookFunctionsIsrefRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsIsrefRequest - * - * @return the IWorkbookFunctionsIsrefRequest instance - */ - IWorkbookFunctionsIsrefRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsIsrefRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsIsrefRequest instance - */ - IWorkbookFunctionsIsrefRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequest.java deleted file mode 100644 index dcd600bfede..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Kurt Request. - */ -public interface IBaseWorkbookFunctionsKurtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsKurtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsKurtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsKurtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequestBuilder.java deleted file mode 100644 index 6e9956d69d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsKurtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Kurt Request Builder. - */ -public interface IBaseWorkbookFunctionsKurtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsKurtRequest - * - * @return the IWorkbookFunctionsKurtRequest instance - */ - IWorkbookFunctionsKurtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsKurtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsKurtRequest instance - */ - IWorkbookFunctionsKurtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequest.java deleted file mode 100644 index f91f5007db5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Large Request. - */ -public interface IBaseWorkbookFunctionsLargeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLargeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLargeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLargeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequestBuilder.java deleted file mode 100644 index 5f8e394869d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLargeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Large Request Builder. - */ -public interface IBaseWorkbookFunctionsLargeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLargeRequest - * - * @return the IWorkbookFunctionsLargeRequest instance - */ - IWorkbookFunctionsLargeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLargeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLargeRequest instance - */ - IWorkbookFunctionsLargeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequest.java deleted file mode 100644 index 940ab181e7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lcm Request. - */ -public interface IBaseWorkbookFunctionsLcmRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLcmRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLcmRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLcmRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequestBuilder.java deleted file mode 100644 index c6ff8a1afe4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLcmRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lcm Request Builder. - */ -public interface IBaseWorkbookFunctionsLcmRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLcmRequest - * - * @return the IWorkbookFunctionsLcmRequest instance - */ - IWorkbookFunctionsLcmRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLcmRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLcmRequest instance - */ - IWorkbookFunctionsLcmRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequest.java deleted file mode 100644 index 2bf574274fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Left Request. - */ -public interface IBaseWorkbookFunctionsLeftRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLeftRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLeftRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLeftRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequestBuilder.java deleted file mode 100644 index c721f0195c9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Left Request Builder. - */ -public interface IBaseWorkbookFunctionsLeftRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLeftRequest - * - * @return the IWorkbookFunctionsLeftRequest instance - */ - IWorkbookFunctionsLeftRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLeftRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLeftRequest instance - */ - IWorkbookFunctionsLeftRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequest.java deleted file mode 100644 index 3dc9c262ea3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Leftb Request. - */ -public interface IBaseWorkbookFunctionsLeftbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLeftbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLeftbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLeftbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequestBuilder.java deleted file mode 100644 index e4e3bbfed75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLeftbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Leftb Request Builder. - */ -public interface IBaseWorkbookFunctionsLeftbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLeftbRequest - * - * @return the IWorkbookFunctionsLeftbRequest instance - */ - IWorkbookFunctionsLeftbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLeftbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLeftbRequest instance - */ - IWorkbookFunctionsLeftbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequest.java deleted file mode 100644 index ef0173442ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Len Request. - */ -public interface IBaseWorkbookFunctionsLenRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLenRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLenRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLenRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequestBuilder.java deleted file mode 100644 index d2b67c5bb17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Len Request Builder. - */ -public interface IBaseWorkbookFunctionsLenRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLenRequest - * - * @return the IWorkbookFunctionsLenRequest instance - */ - IWorkbookFunctionsLenRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLenRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLenRequest instance - */ - IWorkbookFunctionsLenRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequest.java deleted file mode 100644 index e4ea32d1e13..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lenb Request. - */ -public interface IBaseWorkbookFunctionsLenbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLenbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLenbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLenbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequestBuilder.java deleted file mode 100644 index c5605f76182..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLenbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lenb Request Builder. - */ -public interface IBaseWorkbookFunctionsLenbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLenbRequest - * - * @return the IWorkbookFunctionsLenbRequest instance - */ - IWorkbookFunctionsLenbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLenbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLenbRequest instance - */ - IWorkbookFunctionsLenbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequest.java deleted file mode 100644 index 99ccc037233..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ln Request. - */ -public interface IBaseWorkbookFunctionsLnRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLnRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLnRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequestBuilder.java deleted file mode 100644 index 3952593a13c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ln Request Builder. - */ -public interface IBaseWorkbookFunctionsLnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLnRequest - * - * @return the IWorkbookFunctionsLnRequest instance - */ - IWorkbookFunctionsLnRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLnRequest instance - */ - IWorkbookFunctionsLnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10Request.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10Request.java deleted file mode 100644 index 205aace3faa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10Request.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log10Request. - */ -public interface IBaseWorkbookFunctionsLog10Request { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLog10Request select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLog10Request top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLog10Request expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10RequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10RequestBuilder.java deleted file mode 100644 index 4394867d02c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLog10RequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10Request; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log10Request Builder. - */ -public interface IBaseWorkbookFunctionsLog10RequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLog10Request - * - * @return the IWorkbookFunctionsLog10Request instance - */ - IWorkbookFunctionsLog10Request buildRequest(); - - /** - * Creates the IWorkbookFunctionsLog10Request with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLog10Request instance - */ - IWorkbookFunctionsLog10Request buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequest.java deleted file mode 100644 index f053ea3834c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log Norm_Dist Request. - */ -public interface IBaseWorkbookFunctionsLogNorm_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLogNorm_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLogNorm_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLogNorm_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequestBuilder.java deleted file mode 100644 index 3ca043865aa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log Norm_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsLogNorm_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLogNorm_DistRequest - * - * @return the IWorkbookFunctionsLogNorm_DistRequest instance - */ - IWorkbookFunctionsLogNorm_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLogNorm_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLogNorm_DistRequest instance - */ - IWorkbookFunctionsLogNorm_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequest.java deleted file mode 100644 index 7f0430f9386..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log Norm_Inv Request. - */ -public interface IBaseWorkbookFunctionsLogNorm_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLogNorm_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLogNorm_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLogNorm_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequestBuilder.java deleted file mode 100644 index a96141f0ff6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogNorm_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log Norm_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsLogNorm_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLogNorm_InvRequest - * - * @return the IWorkbookFunctionsLogNorm_InvRequest instance - */ - IWorkbookFunctionsLogNorm_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLogNorm_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLogNorm_InvRequest instance - */ - IWorkbookFunctionsLogNorm_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequest.java deleted file mode 100644 index 856193ae3b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log Request. - */ -public interface IBaseWorkbookFunctionsLogRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLogRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLogRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLogRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequestBuilder.java deleted file mode 100644 index 2ebb0b3b9d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLogRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Log Request Builder. - */ -public interface IBaseWorkbookFunctionsLogRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLogRequest - * - * @return the IWorkbookFunctionsLogRequest instance - */ - IWorkbookFunctionsLogRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLogRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLogRequest instance - */ - IWorkbookFunctionsLogRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequest.java deleted file mode 100644 index 0bff5e0fd8d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lookup Request. - */ -public interface IBaseWorkbookFunctionsLookupRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLookupRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLookupRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLookupRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequestBuilder.java deleted file mode 100644 index fb250606221..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLookupRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lookup Request Builder. - */ -public interface IBaseWorkbookFunctionsLookupRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLookupRequest - * - * @return the IWorkbookFunctionsLookupRequest instance - */ - IWorkbookFunctionsLookupRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLookupRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLookupRequest instance - */ - IWorkbookFunctionsLookupRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequest.java deleted file mode 100644 index b41ed92f1cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lower Request. - */ -public interface IBaseWorkbookFunctionsLowerRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsLowerRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsLowerRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsLowerRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequestBuilder.java deleted file mode 100644 index cd199eccefd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsLowerRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Lower Request Builder. - */ -public interface IBaseWorkbookFunctionsLowerRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsLowerRequest - * - * @return the IWorkbookFunctionsLowerRequest instance - */ - IWorkbookFunctionsLowerRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsLowerRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsLowerRequest instance - */ - IWorkbookFunctionsLowerRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequest.java deleted file mode 100644 index 8b85e6a4d8b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Match Request. - */ -public interface IBaseWorkbookFunctionsMatchRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMatchRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMatchRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMatchRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequestBuilder.java deleted file mode 100644 index dae77ef7130..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMatchRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Match Request Builder. - */ -public interface IBaseWorkbookFunctionsMatchRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMatchRequest - * - * @return the IWorkbookFunctionsMatchRequest instance - */ - IWorkbookFunctionsMatchRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMatchRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMatchRequest instance - */ - IWorkbookFunctionsMatchRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequest.java deleted file mode 100644 index 40c00062b72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Max ARequest. - */ -public interface IBaseWorkbookFunctionsMaxARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMaxARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMaxARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMaxARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequestBuilder.java deleted file mode 100644 index dd65b9ba1c4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Max ARequest Builder. - */ -public interface IBaseWorkbookFunctionsMaxARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMaxARequest - * - * @return the IWorkbookFunctionsMaxARequest instance - */ - IWorkbookFunctionsMaxARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMaxARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMaxARequest instance - */ - IWorkbookFunctionsMaxARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequest.java deleted file mode 100644 index c3339f39f2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Max Request. - */ -public interface IBaseWorkbookFunctionsMaxRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMaxRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMaxRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMaxRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequestBuilder.java deleted file mode 100644 index ee333622dff..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMaxRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Max Request Builder. - */ -public interface IBaseWorkbookFunctionsMaxRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMaxRequest - * - * @return the IWorkbookFunctionsMaxRequest instance - */ - IWorkbookFunctionsMaxRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMaxRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMaxRequest instance - */ - IWorkbookFunctionsMaxRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequest.java deleted file mode 100644 index f728e867109..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mduration Request. - */ -public interface IBaseWorkbookFunctionsMdurationRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMdurationRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMdurationRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMdurationRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequestBuilder.java deleted file mode 100644 index 37e09d8b67c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMdurationRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mduration Request Builder. - */ -public interface IBaseWorkbookFunctionsMdurationRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMdurationRequest - * - * @return the IWorkbookFunctionsMdurationRequest instance - */ - IWorkbookFunctionsMdurationRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMdurationRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMdurationRequest instance - */ - IWorkbookFunctionsMdurationRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequest.java deleted file mode 100644 index d654e87c855..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Median Request. - */ -public interface IBaseWorkbookFunctionsMedianRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMedianRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMedianRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMedianRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequestBuilder.java deleted file mode 100644 index 5ae920206e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMedianRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Median Request Builder. - */ -public interface IBaseWorkbookFunctionsMedianRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMedianRequest - * - * @return the IWorkbookFunctionsMedianRequest instance - */ - IWorkbookFunctionsMedianRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMedianRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMedianRequest instance - */ - IWorkbookFunctionsMedianRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequest.java deleted file mode 100644 index cfb06f4a49e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mid Request. - */ -public interface IBaseWorkbookFunctionsMidRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMidRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMidRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMidRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequestBuilder.java deleted file mode 100644 index 23f39e0fe19..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mid Request Builder. - */ -public interface IBaseWorkbookFunctionsMidRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMidRequest - * - * @return the IWorkbookFunctionsMidRequest instance - */ - IWorkbookFunctionsMidRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMidRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMidRequest instance - */ - IWorkbookFunctionsMidRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequest.java deleted file mode 100644 index 9fa672d1acb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Midb Request. - */ -public interface IBaseWorkbookFunctionsMidbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMidbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMidbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMidbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequestBuilder.java deleted file mode 100644 index e39c5284b51..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMidbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Midb Request Builder. - */ -public interface IBaseWorkbookFunctionsMidbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMidbRequest - * - * @return the IWorkbookFunctionsMidbRequest instance - */ - IWorkbookFunctionsMidbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMidbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMidbRequest instance - */ - IWorkbookFunctionsMidbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequest.java deleted file mode 100644 index edf131f7e7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Min ARequest. - */ -public interface IBaseWorkbookFunctionsMinARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMinARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMinARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMinARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequestBuilder.java deleted file mode 100644 index 8a2b83f9e96..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Min ARequest Builder. - */ -public interface IBaseWorkbookFunctionsMinARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMinARequest - * - * @return the IWorkbookFunctionsMinARequest instance - */ - IWorkbookFunctionsMinARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMinARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMinARequest instance - */ - IWorkbookFunctionsMinARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequest.java deleted file mode 100644 index 515a6a00034..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Min Request. - */ -public interface IBaseWorkbookFunctionsMinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequestBuilder.java deleted file mode 100644 index 5475c09c9a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Min Request Builder. - */ -public interface IBaseWorkbookFunctionsMinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMinRequest - * - * @return the IWorkbookFunctionsMinRequest instance - */ - IWorkbookFunctionsMinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMinRequest instance - */ - IWorkbookFunctionsMinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequest.java deleted file mode 100644 index 88b0294f028..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Minute Request. - */ -public interface IBaseWorkbookFunctionsMinuteRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMinuteRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMinuteRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMinuteRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequestBuilder.java deleted file mode 100644 index 4543dc8d42c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMinuteRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Minute Request Builder. - */ -public interface IBaseWorkbookFunctionsMinuteRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMinuteRequest - * - * @return the IWorkbookFunctionsMinuteRequest instance - */ - IWorkbookFunctionsMinuteRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMinuteRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMinuteRequest instance - */ - IWorkbookFunctionsMinuteRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequest.java deleted file mode 100644 index b80e3c768bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mirr Request. - */ -public interface IBaseWorkbookFunctionsMirrRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMirrRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMirrRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMirrRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequestBuilder.java deleted file mode 100644 index 30bba9b09a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMirrRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mirr Request Builder. - */ -public interface IBaseWorkbookFunctionsMirrRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMirrRequest - * - * @return the IWorkbookFunctionsMirrRequest instance - */ - IWorkbookFunctionsMirrRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMirrRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMirrRequest instance - */ - IWorkbookFunctionsMirrRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequest.java deleted file mode 100644 index 9bc5c39d2f0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mod Request. - */ -public interface IBaseWorkbookFunctionsModRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsModRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsModRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsModRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequestBuilder.java deleted file mode 100644 index 45778d3e81a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsModRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mod Request Builder. - */ -public interface IBaseWorkbookFunctionsModRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsModRequest - * - * @return the IWorkbookFunctionsModRequest instance - */ - IWorkbookFunctionsModRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsModRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsModRequest instance - */ - IWorkbookFunctionsModRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequest.java deleted file mode 100644 index 4cc01434eb0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Month Request. - */ -public interface IBaseWorkbookFunctionsMonthRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMonthRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMonthRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMonthRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequestBuilder.java deleted file mode 100644 index 1d870e4788d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMonthRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Month Request Builder. - */ -public interface IBaseWorkbookFunctionsMonthRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMonthRequest - * - * @return the IWorkbookFunctionsMonthRequest instance - */ - IWorkbookFunctionsMonthRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMonthRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMonthRequest instance - */ - IWorkbookFunctionsMonthRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequest.java deleted file mode 100644 index 815003b3c02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mround Request. - */ -public interface IBaseWorkbookFunctionsMroundRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMroundRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMroundRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMroundRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequestBuilder.java deleted file mode 100644 index 1f51cc75849..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMroundRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Mround Request Builder. - */ -public interface IBaseWorkbookFunctionsMroundRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMroundRequest - * - * @return the IWorkbookFunctionsMroundRequest instance - */ - IWorkbookFunctionsMroundRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMroundRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMroundRequest instance - */ - IWorkbookFunctionsMroundRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequest.java deleted file mode 100644 index 34bfc96883a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Multi Nomial Request. - */ -public interface IBaseWorkbookFunctionsMultiNomialRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsMultiNomialRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsMultiNomialRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsMultiNomialRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequestBuilder.java deleted file mode 100644 index e1225001f4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsMultiNomialRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Multi Nomial Request Builder. - */ -public interface IBaseWorkbookFunctionsMultiNomialRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsMultiNomialRequest - * - * @return the IWorkbookFunctionsMultiNomialRequest instance - */ - IWorkbookFunctionsMultiNomialRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsMultiNomialRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsMultiNomialRequest instance - */ - IWorkbookFunctionsMultiNomialRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequest.java deleted file mode 100644 index 2a6ee943063..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions NRequest. - */ -public interface IBaseWorkbookFunctionsNRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequestBuilder.java deleted file mode 100644 index 1597e9171ba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions NRequest Builder. - */ -public interface IBaseWorkbookFunctionsNRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNRequest - * - * @return the IWorkbookFunctionsNRequest instance - */ - IWorkbookFunctionsNRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNRequest instance - */ - IWorkbookFunctionsNRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequest.java deleted file mode 100644 index 83f4de30e47..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Na Request. - */ -public interface IBaseWorkbookFunctionsNaRequest { - - /** - * Creates the WorkbookFunctionsNa - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsNa - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNaRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNaRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequestBuilder.java deleted file mode 100644 index 184bc9d761f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNaRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Na Request Builder. - */ -public interface IBaseWorkbookFunctionsNaRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNaRequest - * - * @return the IWorkbookFunctionsNaRequest instance - */ - IWorkbookFunctionsNaRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNaRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNaRequest instance - */ - IWorkbookFunctionsNaRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequest.java deleted file mode 100644 index 8a14c05a526..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Neg Binom_Dist Request. - */ -public interface IBaseWorkbookFunctionsNegBinom_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNegBinom_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNegBinom_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNegBinom_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequestBuilder.java deleted file mode 100644 index 50f9afd889a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNegBinom_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Neg Binom_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsNegBinom_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNegBinom_DistRequest - * - * @return the IWorkbookFunctionsNegBinom_DistRequest instance - */ - IWorkbookFunctionsNegBinom_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNegBinom_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNegBinom_DistRequest instance - */ - IWorkbookFunctionsNegBinom_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequest.java deleted file mode 100644 index 7f6023a064e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Network Days Request. - */ -public interface IBaseWorkbookFunctionsNetworkDaysRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNetworkDaysRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNetworkDaysRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNetworkDaysRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequestBuilder.java deleted file mode 100644 index 540b9d1e7bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDaysRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Network Days Request Builder. - */ -public interface IBaseWorkbookFunctionsNetworkDaysRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNetworkDaysRequest - * - * @return the IWorkbookFunctionsNetworkDaysRequest instance - */ - IWorkbookFunctionsNetworkDaysRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNetworkDaysRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNetworkDaysRequest instance - */ - IWorkbookFunctionsNetworkDaysRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequest.java deleted file mode 100644 index 7c73ad382d3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Network Days_Intl Request. - */ -public interface IBaseWorkbookFunctionsNetworkDays_IntlRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNetworkDays_IntlRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNetworkDays_IntlRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNetworkDays_IntlRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java deleted file mode 100644 index 08c425b4866..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Network Days_Intl Request Builder. - */ -public interface IBaseWorkbookFunctionsNetworkDays_IntlRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNetworkDays_IntlRequest - * - * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance - */ - IWorkbookFunctionsNetworkDays_IntlRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNetworkDays_IntlRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNetworkDays_IntlRequest instance - */ - IWorkbookFunctionsNetworkDays_IntlRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequest.java deleted file mode 100644 index 050a360933e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Nominal Request. - */ -public interface IBaseWorkbookFunctionsNominalRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNominalRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNominalRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNominalRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequestBuilder.java deleted file mode 100644 index de992d13fde..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNominalRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Nominal Request Builder. - */ -public interface IBaseWorkbookFunctionsNominalRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNominalRequest - * - * @return the IWorkbookFunctionsNominalRequest instance - */ - IWorkbookFunctionsNominalRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNominalRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNominalRequest instance - */ - IWorkbookFunctionsNominalRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequest.java deleted file mode 100644 index d68ab8fb53b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_Dist Request. - */ -public interface IBaseWorkbookFunctionsNorm_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNorm_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNorm_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNorm_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequestBuilder.java deleted file mode 100644 index 5692b884a63..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsNorm_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNorm_DistRequest - * - * @return the IWorkbookFunctionsNorm_DistRequest instance - */ - IWorkbookFunctionsNorm_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNorm_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_DistRequest instance - */ - IWorkbookFunctionsNorm_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequest.java deleted file mode 100644 index 0e8e4437e9d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_Inv Request. - */ -public interface IBaseWorkbookFunctionsNorm_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNorm_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNorm_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNorm_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequestBuilder.java deleted file mode 100644 index 62ff8bb8b4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsNorm_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNorm_InvRequest - * - * @return the IWorkbookFunctionsNorm_InvRequest instance - */ - IWorkbookFunctionsNorm_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNorm_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_InvRequest instance - */ - IWorkbookFunctionsNorm_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequest.java deleted file mode 100644 index b9a9753500e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_S_Dist Request. - */ -public interface IBaseWorkbookFunctionsNorm_S_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNorm_S_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNorm_S_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNorm_S_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequestBuilder.java deleted file mode 100644 index 7c53c4d19c0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_S_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsNorm_S_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNorm_S_DistRequest - * - * @return the IWorkbookFunctionsNorm_S_DistRequest instance - */ - IWorkbookFunctionsNorm_S_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNorm_S_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_S_DistRequest instance - */ - IWorkbookFunctionsNorm_S_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequest.java deleted file mode 100644 index 4048abd7b82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_S_Inv Request. - */ -public interface IBaseWorkbookFunctionsNorm_S_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNorm_S_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNorm_S_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNorm_S_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequestBuilder.java deleted file mode 100644 index 2c4c8c9c467..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNorm_S_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Norm_S_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsNorm_S_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNorm_S_InvRequest - * - * @return the IWorkbookFunctionsNorm_S_InvRequest instance - */ - IWorkbookFunctionsNorm_S_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNorm_S_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNorm_S_InvRequest instance - */ - IWorkbookFunctionsNorm_S_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequest.java deleted file mode 100644 index 7b5c65a59e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Not Request. - */ -public interface IBaseWorkbookFunctionsNotRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNotRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNotRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNotRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequestBuilder.java deleted file mode 100644 index f0d4b667074..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNotRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Not Request Builder. - */ -public interface IBaseWorkbookFunctionsNotRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNotRequest - * - * @return the IWorkbookFunctionsNotRequest instance - */ - IWorkbookFunctionsNotRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNotRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNotRequest instance - */ - IWorkbookFunctionsNotRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequest.java deleted file mode 100644 index b9c21c0c3fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Now Request. - */ -public interface IBaseWorkbookFunctionsNowRequest { - - /** - * Creates the WorkbookFunctionsNow - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsNow - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNowRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNowRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequestBuilder.java deleted file mode 100644 index 24699a99413..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNowRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Now Request Builder. - */ -public interface IBaseWorkbookFunctionsNowRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNowRequest - * - * @return the IWorkbookFunctionsNowRequest instance - */ - IWorkbookFunctionsNowRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNowRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNowRequest instance - */ - IWorkbookFunctionsNowRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequest.java deleted file mode 100644 index 9ae164b8ada..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Nper Request. - */ -public interface IBaseWorkbookFunctionsNperRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNperRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNperRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNperRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequestBuilder.java deleted file mode 100644 index eaf5960a037..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNperRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Nper Request Builder. - */ -public interface IBaseWorkbookFunctionsNperRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNperRequest - * - * @return the IWorkbookFunctionsNperRequest instance - */ - IWorkbookFunctionsNperRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNperRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNperRequest instance - */ - IWorkbookFunctionsNperRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequest.java deleted file mode 100644 index 754b373bd33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Npv Request. - */ -public interface IBaseWorkbookFunctionsNpvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNpvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNpvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNpvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequestBuilder.java deleted file mode 100644 index d82dc42eae1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNpvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Npv Request Builder. - */ -public interface IBaseWorkbookFunctionsNpvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNpvRequest - * - * @return the IWorkbookFunctionsNpvRequest instance - */ - IWorkbookFunctionsNpvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNpvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNpvRequest instance - */ - IWorkbookFunctionsNpvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequest.java deleted file mode 100644 index 6d7e7f60031..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Number Value Request. - */ -public interface IBaseWorkbookFunctionsNumberValueRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsNumberValueRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsNumberValueRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsNumberValueRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequestBuilder.java deleted file mode 100644 index 11bcf9cb1ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsNumberValueRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Number Value Request Builder. - */ -public interface IBaseWorkbookFunctionsNumberValueRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsNumberValueRequest - * - * @return the IWorkbookFunctionsNumberValueRequest instance - */ - IWorkbookFunctionsNumberValueRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsNumberValueRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsNumberValueRequest instance - */ - IWorkbookFunctionsNumberValueRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequest.java deleted file mode 100644 index 704fcd8a278..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Oct2Bin Request. - */ -public interface IBaseWorkbookFunctionsOct2BinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOct2BinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOct2BinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOct2BinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequestBuilder.java deleted file mode 100644 index 34a4da5e768..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2BinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Oct2Bin Request Builder. - */ -public interface IBaseWorkbookFunctionsOct2BinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOct2BinRequest - * - * @return the IWorkbookFunctionsOct2BinRequest instance - */ - IWorkbookFunctionsOct2BinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOct2BinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOct2BinRequest instance - */ - IWorkbookFunctionsOct2BinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequest.java deleted file mode 100644 index 91621d71376..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Oct2Dec Request. - */ -public interface IBaseWorkbookFunctionsOct2DecRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOct2DecRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOct2DecRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOct2DecRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequestBuilder.java deleted file mode 100644 index 105e845bb87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2DecRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Oct2Dec Request Builder. - */ -public interface IBaseWorkbookFunctionsOct2DecRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOct2DecRequest - * - * @return the IWorkbookFunctionsOct2DecRequest instance - */ - IWorkbookFunctionsOct2DecRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOct2DecRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOct2DecRequest instance - */ - IWorkbookFunctionsOct2DecRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequest.java deleted file mode 100644 index 0d15884b03e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Oct2Hex Request. - */ -public interface IBaseWorkbookFunctionsOct2HexRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOct2HexRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOct2HexRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOct2HexRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequestBuilder.java deleted file mode 100644 index 84abdad9e6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOct2HexRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Oct2Hex Request Builder. - */ -public interface IBaseWorkbookFunctionsOct2HexRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOct2HexRequest - * - * @return the IWorkbookFunctionsOct2HexRequest instance - */ - IWorkbookFunctionsOct2HexRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOct2HexRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOct2HexRequest instance - */ - IWorkbookFunctionsOct2HexRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequest.java deleted file mode 100644 index af639911a95..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd FPrice Request. - */ -public interface IBaseWorkbookFunctionsOddFPriceRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOddFPriceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOddFPriceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOddFPriceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequestBuilder.java deleted file mode 100644 index 990e44c67a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFPriceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd FPrice Request Builder. - */ -public interface IBaseWorkbookFunctionsOddFPriceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOddFPriceRequest - * - * @return the IWorkbookFunctionsOddFPriceRequest instance - */ - IWorkbookFunctionsOddFPriceRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOddFPriceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddFPriceRequest instance - */ - IWorkbookFunctionsOddFPriceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequest.java deleted file mode 100644 index 6f48eeacf6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd FYield Request. - */ -public interface IBaseWorkbookFunctionsOddFYieldRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOddFYieldRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOddFYieldRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOddFYieldRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequestBuilder.java deleted file mode 100644 index 405fd85fc39..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddFYieldRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd FYield Request Builder. - */ -public interface IBaseWorkbookFunctionsOddFYieldRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOddFYieldRequest - * - * @return the IWorkbookFunctionsOddFYieldRequest instance - */ - IWorkbookFunctionsOddFYieldRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOddFYieldRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddFYieldRequest instance - */ - IWorkbookFunctionsOddFYieldRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequest.java deleted file mode 100644 index d0fb35e9a65..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd LPrice Request. - */ -public interface IBaseWorkbookFunctionsOddLPriceRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOddLPriceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOddLPriceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOddLPriceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequestBuilder.java deleted file mode 100644 index 62916b6b959..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLPriceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd LPrice Request Builder. - */ -public interface IBaseWorkbookFunctionsOddLPriceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOddLPriceRequest - * - * @return the IWorkbookFunctionsOddLPriceRequest instance - */ - IWorkbookFunctionsOddLPriceRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOddLPriceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddLPriceRequest instance - */ - IWorkbookFunctionsOddLPriceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequest.java deleted file mode 100644 index 4c2e967fdfb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd LYield Request. - */ -public interface IBaseWorkbookFunctionsOddLYieldRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOddLYieldRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOddLYieldRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOddLYieldRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequestBuilder.java deleted file mode 100644 index a1a27cb5a23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddLYieldRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd LYield Request Builder. - */ -public interface IBaseWorkbookFunctionsOddLYieldRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOddLYieldRequest - * - * @return the IWorkbookFunctionsOddLYieldRequest instance - */ - IWorkbookFunctionsOddLYieldRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOddLYieldRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddLYieldRequest instance - */ - IWorkbookFunctionsOddLYieldRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequest.java deleted file mode 100644 index 2e47a06a622..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd Request. - */ -public interface IBaseWorkbookFunctionsOddRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequestBuilder.java deleted file mode 100644 index 48122930939..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Odd Request Builder. - */ -public interface IBaseWorkbookFunctionsOddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOddRequest - * - * @return the IWorkbookFunctionsOddRequest instance - */ - IWorkbookFunctionsOddRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOddRequest instance - */ - IWorkbookFunctionsOddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequest.java deleted file mode 100644 index c703e3682b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Or Request. - */ -public interface IBaseWorkbookFunctionsOrRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsOrRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsOrRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsOrRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequestBuilder.java deleted file mode 100644 index 82a8d3ba440..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsOrRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Or Request Builder. - */ -public interface IBaseWorkbookFunctionsOrRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsOrRequest - * - * @return the IWorkbookFunctionsOrRequest instance - */ - IWorkbookFunctionsOrRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsOrRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsOrRequest instance - */ - IWorkbookFunctionsOrRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequest.java deleted file mode 100644 index edd8a19e23b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pduration Request. - */ -public interface IBaseWorkbookFunctionsPdurationRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPdurationRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPdurationRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPdurationRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequestBuilder.java deleted file mode 100644 index c46e632f67c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPdurationRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pduration Request Builder. - */ -public interface IBaseWorkbookFunctionsPdurationRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPdurationRequest - * - * @return the IWorkbookFunctionsPdurationRequest instance - */ - IWorkbookFunctionsPdurationRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPdurationRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPdurationRequest instance - */ - IWorkbookFunctionsPdurationRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequest.java deleted file mode 100644 index 52e3c994c2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percent Rank_Exc Request. - */ -public interface IBaseWorkbookFunctionsPercentRank_ExcRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPercentRank_ExcRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPercentRank_ExcRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPercentRank_ExcRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java deleted file mode 100644 index 1b83b2efbf1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percent Rank_Exc Request Builder. - */ -public interface IBaseWorkbookFunctionsPercentRank_ExcRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPercentRank_ExcRequest - * - * @return the IWorkbookFunctionsPercentRank_ExcRequest instance - */ - IWorkbookFunctionsPercentRank_ExcRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPercentRank_ExcRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentRank_ExcRequest instance - */ - IWorkbookFunctionsPercentRank_ExcRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequest.java deleted file mode 100644 index 27d555c7510..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percent Rank_Inc Request. - */ -public interface IBaseWorkbookFunctionsPercentRank_IncRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPercentRank_IncRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPercentRank_IncRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPercentRank_IncRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequestBuilder.java deleted file mode 100644 index 4d8a5d0cd88..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentRank_IncRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percent Rank_Inc Request Builder. - */ -public interface IBaseWorkbookFunctionsPercentRank_IncRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPercentRank_IncRequest - * - * @return the IWorkbookFunctionsPercentRank_IncRequest instance - */ - IWorkbookFunctionsPercentRank_IncRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPercentRank_IncRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentRank_IncRequest instance - */ - IWorkbookFunctionsPercentRank_IncRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequest.java deleted file mode 100644 index 7bbb85d4e73..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percentile_Exc Request. - */ -public interface IBaseWorkbookFunctionsPercentile_ExcRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPercentile_ExcRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPercentile_ExcRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPercentile_ExcRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequestBuilder.java deleted file mode 100644 index acbdb1a0910..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_ExcRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percentile_Exc Request Builder. - */ -public interface IBaseWorkbookFunctionsPercentile_ExcRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPercentile_ExcRequest - * - * @return the IWorkbookFunctionsPercentile_ExcRequest instance - */ - IWorkbookFunctionsPercentile_ExcRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPercentile_ExcRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentile_ExcRequest instance - */ - IWorkbookFunctionsPercentile_ExcRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequest.java deleted file mode 100644 index 62bf9d06a44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percentile_Inc Request. - */ -public interface IBaseWorkbookFunctionsPercentile_IncRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPercentile_IncRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPercentile_IncRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPercentile_IncRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequestBuilder.java deleted file mode 100644 index 579c0d88812..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPercentile_IncRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Percentile_Inc Request Builder. - */ -public interface IBaseWorkbookFunctionsPercentile_IncRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPercentile_IncRequest - * - * @return the IWorkbookFunctionsPercentile_IncRequest instance - */ - IWorkbookFunctionsPercentile_IncRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPercentile_IncRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPercentile_IncRequest instance - */ - IWorkbookFunctionsPercentile_IncRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequest.java deleted file mode 100644 index d205ba4ee2e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Permut Request. - */ -public interface IBaseWorkbookFunctionsPermutRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPermutRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPermutRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPermutRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequestBuilder.java deleted file mode 100644 index 55c7ef11cb6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Permut Request Builder. - */ -public interface IBaseWorkbookFunctionsPermutRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPermutRequest - * - * @return the IWorkbookFunctionsPermutRequest instance - */ - IWorkbookFunctionsPermutRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPermutRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPermutRequest instance - */ - IWorkbookFunctionsPermutRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequest.java deleted file mode 100644 index 9a280096943..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Permutationa Request. - */ -public interface IBaseWorkbookFunctionsPermutationaRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPermutationaRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPermutationaRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPermutationaRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequestBuilder.java deleted file mode 100644 index 66e41d0101a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPermutationaRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Permutationa Request Builder. - */ -public interface IBaseWorkbookFunctionsPermutationaRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPermutationaRequest - * - * @return the IWorkbookFunctionsPermutationaRequest instance - */ - IWorkbookFunctionsPermutationaRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPermutationaRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPermutationaRequest instance - */ - IWorkbookFunctionsPermutationaRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequest.java deleted file mode 100644 index 05fc1fa35e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Phi Request. - */ -public interface IBaseWorkbookFunctionsPhiRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPhiRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPhiRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPhiRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequestBuilder.java deleted file mode 100644 index 2122b35fdc9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPhiRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Phi Request Builder. - */ -public interface IBaseWorkbookFunctionsPhiRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPhiRequest - * - * @return the IWorkbookFunctionsPhiRequest instance - */ - IWorkbookFunctionsPhiRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPhiRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPhiRequest instance - */ - IWorkbookFunctionsPhiRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequest.java deleted file mode 100644 index 6610309df87..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pi Request. - */ -public interface IBaseWorkbookFunctionsPiRequest { - - /** - * Creates the WorkbookFunctionsPi - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsPi - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPiRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPiRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequestBuilder.java deleted file mode 100644 index 8cc09908371..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPiRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pi Request Builder. - */ -public interface IBaseWorkbookFunctionsPiRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPiRequest - * - * @return the IWorkbookFunctionsPiRequest instance - */ - IWorkbookFunctionsPiRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPiRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPiRequest instance - */ - IWorkbookFunctionsPiRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequest.java deleted file mode 100644 index 2d532f2de76..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pmt Request. - */ -public interface IBaseWorkbookFunctionsPmtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPmtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPmtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPmtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequestBuilder.java deleted file mode 100644 index 1b94987a61b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPmtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pmt Request Builder. - */ -public interface IBaseWorkbookFunctionsPmtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPmtRequest - * - * @return the IWorkbookFunctionsPmtRequest instance - */ - IWorkbookFunctionsPmtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPmtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPmtRequest instance - */ - IWorkbookFunctionsPmtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequest.java deleted file mode 100644 index 944b546e8cd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Poisson_Dist Request. - */ -public interface IBaseWorkbookFunctionsPoisson_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPoisson_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPoisson_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPoisson_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequestBuilder.java deleted file mode 100644 index 9c3d91fd8df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPoisson_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Poisson_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsPoisson_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPoisson_DistRequest - * - * @return the IWorkbookFunctionsPoisson_DistRequest instance - */ - IWorkbookFunctionsPoisson_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPoisson_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPoisson_DistRequest instance - */ - IWorkbookFunctionsPoisson_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequest.java deleted file mode 100644 index 819ad408c0e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Power Request. - */ -public interface IBaseWorkbookFunctionsPowerRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPowerRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPowerRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPowerRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequestBuilder.java deleted file mode 100644 index 8356d2e3c1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPowerRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Power Request Builder. - */ -public interface IBaseWorkbookFunctionsPowerRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPowerRequest - * - * @return the IWorkbookFunctionsPowerRequest instance - */ - IWorkbookFunctionsPowerRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPowerRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPowerRequest instance - */ - IWorkbookFunctionsPowerRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequest.java deleted file mode 100644 index 7a26b3fb71c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ppmt Request. - */ -public interface IBaseWorkbookFunctionsPpmtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPpmtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPpmtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPpmtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequestBuilder.java deleted file mode 100644 index 0d4d4898a59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPpmtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Ppmt Request Builder. - */ -public interface IBaseWorkbookFunctionsPpmtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPpmtRequest - * - * @return the IWorkbookFunctionsPpmtRequest instance - */ - IWorkbookFunctionsPpmtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPpmtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPpmtRequest instance - */ - IWorkbookFunctionsPpmtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequest.java deleted file mode 100644 index 3871c413c9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Price Disc Request. - */ -public interface IBaseWorkbookFunctionsPriceDiscRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPriceDiscRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPriceDiscRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPriceDiscRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequestBuilder.java deleted file mode 100644 index 992008f5751..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceDiscRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Price Disc Request Builder. - */ -public interface IBaseWorkbookFunctionsPriceDiscRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPriceDiscRequest - * - * @return the IWorkbookFunctionsPriceDiscRequest instance - */ - IWorkbookFunctionsPriceDiscRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPriceDiscRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPriceDiscRequest instance - */ - IWorkbookFunctionsPriceDiscRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequest.java deleted file mode 100644 index 8a4f147b8c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Price Mat Request. - */ -public interface IBaseWorkbookFunctionsPriceMatRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPriceMatRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPriceMatRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPriceMatRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequestBuilder.java deleted file mode 100644 index afc05a36f8e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceMatRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Price Mat Request Builder. - */ -public interface IBaseWorkbookFunctionsPriceMatRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPriceMatRequest - * - * @return the IWorkbookFunctionsPriceMatRequest instance - */ - IWorkbookFunctionsPriceMatRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPriceMatRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPriceMatRequest instance - */ - IWorkbookFunctionsPriceMatRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequest.java deleted file mode 100644 index 9445fcdfb5a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Price Request. - */ -public interface IBaseWorkbookFunctionsPriceRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPriceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPriceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPriceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequestBuilder.java deleted file mode 100644 index 3849c8dcb1a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPriceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Price Request Builder. - */ -public interface IBaseWorkbookFunctionsPriceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPriceRequest - * - * @return the IWorkbookFunctionsPriceRequest instance - */ - IWorkbookFunctionsPriceRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPriceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPriceRequest instance - */ - IWorkbookFunctionsPriceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequest.java deleted file mode 100644 index eba9aa9c2b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Product Request. - */ -public interface IBaseWorkbookFunctionsProductRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsProductRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsProductRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsProductRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequestBuilder.java deleted file mode 100644 index 9a6ebe026c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProductRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Product Request Builder. - */ -public interface IBaseWorkbookFunctionsProductRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsProductRequest - * - * @return the IWorkbookFunctionsProductRequest instance - */ - IWorkbookFunctionsProductRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsProductRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsProductRequest instance - */ - IWorkbookFunctionsProductRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequest.java deleted file mode 100644 index e1adc9b38ee..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Proper Request. - */ -public interface IBaseWorkbookFunctionsProperRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsProperRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsProperRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsProperRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequestBuilder.java deleted file mode 100644 index 9ec990613e0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsProperRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Proper Request Builder. - */ -public interface IBaseWorkbookFunctionsProperRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsProperRequest - * - * @return the IWorkbookFunctionsProperRequest instance - */ - IWorkbookFunctionsProperRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsProperRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsProperRequest instance - */ - IWorkbookFunctionsProperRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequest.java deleted file mode 100644 index 10f1163a593..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pv Request. - */ -public interface IBaseWorkbookFunctionsPvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsPvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsPvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsPvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequestBuilder.java deleted file mode 100644 index 9aaa4ab1d5b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsPvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Pv Request Builder. - */ -public interface IBaseWorkbookFunctionsPvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsPvRequest - * - * @return the IWorkbookFunctionsPvRequest instance - */ - IWorkbookFunctionsPvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsPvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsPvRequest instance - */ - IWorkbookFunctionsPvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequest.java deleted file mode 100644 index 1e9cd6aba61..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Quartile_Exc Request. - */ -public interface IBaseWorkbookFunctionsQuartile_ExcRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsQuartile_ExcRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsQuartile_ExcRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsQuartile_ExcRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequestBuilder.java deleted file mode 100644 index 892ea58accd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_ExcRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Quartile_Exc Request Builder. - */ -public interface IBaseWorkbookFunctionsQuartile_ExcRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsQuartile_ExcRequest - * - * @return the IWorkbookFunctionsQuartile_ExcRequest instance - */ - IWorkbookFunctionsQuartile_ExcRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsQuartile_ExcRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsQuartile_ExcRequest instance - */ - IWorkbookFunctionsQuartile_ExcRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequest.java deleted file mode 100644 index c7c05c2401d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Quartile_Inc Request. - */ -public interface IBaseWorkbookFunctionsQuartile_IncRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsQuartile_IncRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsQuartile_IncRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsQuartile_IncRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequestBuilder.java deleted file mode 100644 index 4f7b3b09a1b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuartile_IncRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Quartile_Inc Request Builder. - */ -public interface IBaseWorkbookFunctionsQuartile_IncRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsQuartile_IncRequest - * - * @return the IWorkbookFunctionsQuartile_IncRequest instance - */ - IWorkbookFunctionsQuartile_IncRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsQuartile_IncRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsQuartile_IncRequest instance - */ - IWorkbookFunctionsQuartile_IncRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequest.java deleted file mode 100644 index f0e13be3e1d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Quotient Request. - */ -public interface IBaseWorkbookFunctionsQuotientRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsQuotientRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsQuotientRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsQuotientRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequestBuilder.java deleted file mode 100644 index 896c50d1a45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsQuotientRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Quotient Request Builder. - */ -public interface IBaseWorkbookFunctionsQuotientRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsQuotientRequest - * - * @return the IWorkbookFunctionsQuotientRequest instance - */ - IWorkbookFunctionsQuotientRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsQuotientRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsQuotientRequest instance - */ - IWorkbookFunctionsQuotientRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequest.java deleted file mode 100644 index eb7fdd79239..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Radians Request. - */ -public interface IBaseWorkbookFunctionsRadiansRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRadiansRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRadiansRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRadiansRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequestBuilder.java deleted file mode 100644 index 9587c11da74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRadiansRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Radians Request Builder. - */ -public interface IBaseWorkbookFunctionsRadiansRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRadiansRequest - * - * @return the IWorkbookFunctionsRadiansRequest instance - */ - IWorkbookFunctionsRadiansRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRadiansRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRadiansRequest instance - */ - IWorkbookFunctionsRadiansRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequest.java deleted file mode 100644 index d8a4a11fd1c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rand Between Request. - */ -public interface IBaseWorkbookFunctionsRandBetweenRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRandBetweenRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRandBetweenRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRandBetweenRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequestBuilder.java deleted file mode 100644 index 70e97526ee5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandBetweenRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rand Between Request Builder. - */ -public interface IBaseWorkbookFunctionsRandBetweenRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRandBetweenRequest - * - * @return the IWorkbookFunctionsRandBetweenRequest instance - */ - IWorkbookFunctionsRandBetweenRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRandBetweenRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRandBetweenRequest instance - */ - IWorkbookFunctionsRandBetweenRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequest.java deleted file mode 100644 index 5dac8cb1877..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rand Request. - */ -public interface IBaseWorkbookFunctionsRandRequest { - - /** - * Creates the WorkbookFunctionsRand - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsRand - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRandRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRandRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequestBuilder.java deleted file mode 100644 index bed727a793e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRandRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rand Request Builder. - */ -public interface IBaseWorkbookFunctionsRandRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRandRequest - * - * @return the IWorkbookFunctionsRandRequest instance - */ - IWorkbookFunctionsRandRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRandRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRandRequest instance - */ - IWorkbookFunctionsRandRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequest.java deleted file mode 100644 index aac3b59ef29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rank_Avg Request. - */ -public interface IBaseWorkbookFunctionsRank_AvgRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRank_AvgRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRank_AvgRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRank_AvgRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequestBuilder.java deleted file mode 100644 index 1305f7db581..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_AvgRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rank_Avg Request Builder. - */ -public interface IBaseWorkbookFunctionsRank_AvgRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRank_AvgRequest - * - * @return the IWorkbookFunctionsRank_AvgRequest instance - */ - IWorkbookFunctionsRank_AvgRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRank_AvgRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRank_AvgRequest instance - */ - IWorkbookFunctionsRank_AvgRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequest.java deleted file mode 100644 index 68572ae5061..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rank_Eq Request. - */ -public interface IBaseWorkbookFunctionsRank_EqRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRank_EqRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRank_EqRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRank_EqRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequestBuilder.java deleted file mode 100644 index ef04c5ae6ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRank_EqRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rank_Eq Request Builder. - */ -public interface IBaseWorkbookFunctionsRank_EqRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRank_EqRequest - * - * @return the IWorkbookFunctionsRank_EqRequest instance - */ - IWorkbookFunctionsRank_EqRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRank_EqRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRank_EqRequest instance - */ - IWorkbookFunctionsRank_EqRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequest.java deleted file mode 100644 index 922967ed3cf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rate Request. - */ -public interface IBaseWorkbookFunctionsRateRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRateRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRateRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRateRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequestBuilder.java deleted file mode 100644 index 5747879eaad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRateRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rate Request Builder. - */ -public interface IBaseWorkbookFunctionsRateRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRateRequest - * - * @return the IWorkbookFunctionsRateRequest instance - */ - IWorkbookFunctionsRateRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRateRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRateRequest instance - */ - IWorkbookFunctionsRateRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequest.java deleted file mode 100644 index 825a68e6f74..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Received Request. - */ -public interface IBaseWorkbookFunctionsReceivedRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsReceivedRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsReceivedRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsReceivedRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequestBuilder.java deleted file mode 100644 index 0e5dc717f10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReceivedRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Received Request Builder. - */ -public interface IBaseWorkbookFunctionsReceivedRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsReceivedRequest - * - * @return the IWorkbookFunctionsReceivedRequest instance - */ - IWorkbookFunctionsReceivedRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsReceivedRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReceivedRequest instance - */ - IWorkbookFunctionsReceivedRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequest.java deleted file mode 100644 index 0ed4bd751da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Replace BRequest. - */ -public interface IBaseWorkbookFunctionsReplaceBRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsReplaceBRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsReplaceBRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsReplaceBRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequestBuilder.java deleted file mode 100644 index 09c8a8eeb25..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceBRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Replace BRequest Builder. - */ -public interface IBaseWorkbookFunctionsReplaceBRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsReplaceBRequest - * - * @return the IWorkbookFunctionsReplaceBRequest instance - */ - IWorkbookFunctionsReplaceBRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsReplaceBRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReplaceBRequest instance - */ - IWorkbookFunctionsReplaceBRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequest.java deleted file mode 100644 index 63828ee6af8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Replace Request. - */ -public interface IBaseWorkbookFunctionsReplaceRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsReplaceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsReplaceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsReplaceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequestBuilder.java deleted file mode 100644 index d8da9700f44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReplaceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Replace Request Builder. - */ -public interface IBaseWorkbookFunctionsReplaceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsReplaceRequest - * - * @return the IWorkbookFunctionsReplaceRequest instance - */ - IWorkbookFunctionsReplaceRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsReplaceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReplaceRequest instance - */ - IWorkbookFunctionsReplaceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequest.java deleted file mode 100644 index 4b3952cdd3f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rept Request. - */ -public interface IBaseWorkbookFunctionsReptRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsReptRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsReptRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsReptRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequestBuilder.java deleted file mode 100644 index b3799ff647a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsReptRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rept Request Builder. - */ -public interface IBaseWorkbookFunctionsReptRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsReptRequest - * - * @return the IWorkbookFunctionsReptRequest instance - */ - IWorkbookFunctionsReptRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsReptRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsReptRequest instance - */ - IWorkbookFunctionsReptRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequest.java deleted file mode 100644 index a3b74a4ab3a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctions; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Request. - */ -public interface IBaseWorkbookFunctionsRequest extends IHttpRequest { - - /** - * Gets the WorkbookFunctions from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookFunctions from the service - * - * @return the WorkbookFunctions from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFunctions get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookFunctions with a source - * - * @param sourceWorkbookFunctions the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookFunctions sourceWorkbookFunctions, final ICallback callback); - - /** - * Patches this WorkbookFunctions with a source - * - * @param sourceWorkbookFunctions the source object with updates - * @return the updated WorkbookFunctions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFunctions patch(final WorkbookFunctions sourceWorkbookFunctions) throws ClientException; - - /** - * Posts a WorkbookFunctions with a new object - * - * @param newWorkbookFunctions the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookFunctions newWorkbookFunctions, final ICallback callback); - - /** - * Posts a WorkbookFunctions with a new object - * - * @param newWorkbookFunctions the new object to create - * @return the created WorkbookFunctions - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookFunctions post(final WorkbookFunctions newWorkbookFunctions) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookFunctionsRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookFunctionsRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequestBuilder.java deleted file mode 100644 index 1eba8d6c054..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRequestBuilder.java +++ /dev/null @@ -1,765 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequest; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAbsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAccrIntMRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcosRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcoshRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAcothRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorDegrcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAmorLincRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAndRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsArabicRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAreasRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAsinhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtan2RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAtanhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAveDevRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsAverageIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBahtTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBaseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselIRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselJRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselKRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBesselYRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBeta_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBin2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_Dist_RangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBinom_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitandRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitlshiftRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitrshiftRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsBitxorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_MathRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCeiling_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCharRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChiSq_Inv_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsChooseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCleanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsColumnsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCombinaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsComplexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConcatenateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_NormRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConfidence_TRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsConvertRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCosRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoshRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCothRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountBlankRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCountIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDayBsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupDaysNcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNcdRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupNumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCoupPcdRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCschRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumIPmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsCumPrincRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaverageRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDcountARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDgetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDmaxRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDminRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDproductRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDstDevPRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDsumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDvarPRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDatevalueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDays360RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDbcsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDdbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDec2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDecimalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDegreesRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDeltaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDevSqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarDeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDollarFrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsDurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEcma_CeilingRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEdateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEffectRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEoMonthRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfCRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErfC_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsErf_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsError_TypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsEvenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExactRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsExpon_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvscheduleRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsF_Inv_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFactDoubleRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFalseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFindBRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFisherInvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFixedRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_MathRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFloor_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsFvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGammaLn_PreciseRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGamma_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGaussRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGcdRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeStepRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsGeoMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHlookupRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHarMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHex2OctRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHourRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHypGeom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsHyperlinkRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIso_CeilingRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImAbsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImArgumentRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImConjugateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCosRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCoshRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImCschRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImDivRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImExpRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog10RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImLog2RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImPowerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImProductRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImRealRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSechRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSinhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSqrtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSubRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImSumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImTanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsImaginaryRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIntRateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIpmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIrrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsErrorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsEvenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsFormulaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsLogicalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNonTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsNumberRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsOddRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsoWeekNumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIspmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsIsrefRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsKurtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLargeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLcmRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLeftbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLenbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLog10RequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLogNorm_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLookupRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsLowerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMdurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMirrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMroundRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMatchRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMaxARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMedianRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMidbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMinuteRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsModRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMonthRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsMultiNomialRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNperRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNegBinom_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDaysRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNetworkDays_IntlRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNominalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNorm_S_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNotRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNpvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsNumberValueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2BinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2DecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOct2HexRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddFYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOddLYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsOrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPdurationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentRank_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPercentile_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPermutationaRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPhiRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPiRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPoisson_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPowerRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPpmtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPriceMatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProductRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsProperRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsPvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_ExcRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuartile_IncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsQuotientRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRadiansRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRandBetweenRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_AvgRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRank_EqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRateRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReceivedRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReplaceBRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsReptRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Request Builder. - */ -public interface IBaseWorkbookFunctionsRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookFunctionsRequest instance - */ - IWorkbookFunctionsRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookFunctionsRequest instance - */ - IWorkbookFunctionsRequest buildRequest(final java.util.List requestOptions); - IWorkbookFunctionsAbsRequestBuilder abs(final com.google.gson.JsonElement number); - IWorkbookFunctionsAccrIntRequestBuilder accrInt(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstInterest, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis, final com.google.gson.JsonElement calcMethod); - IWorkbookFunctionsAccrIntMRequestBuilder accrIntM(final com.google.gson.JsonElement issue, final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement par, final com.google.gson.JsonElement basis); - IWorkbookFunctionsAcosRequestBuilder acos(final com.google.gson.JsonElement number); - IWorkbookFunctionsAcoshRequestBuilder acosh(final com.google.gson.JsonElement number); - IWorkbookFunctionsAcotRequestBuilder acot(final com.google.gson.JsonElement number); - IWorkbookFunctionsAcothRequestBuilder acoth(final com.google.gson.JsonElement number); - IWorkbookFunctionsAmorDegrcRequestBuilder amorDegrc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis); - IWorkbookFunctionsAmorLincRequestBuilder amorLinc(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement datePurchased, final com.google.gson.JsonElement firstPeriod, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement period, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement basis); - IWorkbookFunctionsAndRequestBuilder and(final com.google.gson.JsonElement values); - IWorkbookFunctionsArabicRequestBuilder arabic(final com.google.gson.JsonElement text); - IWorkbookFunctionsAreasRequestBuilder areas(final com.google.gson.JsonElement reference); - IWorkbookFunctionsAscRequestBuilder asc(final com.google.gson.JsonElement text); - IWorkbookFunctionsAsinRequestBuilder asin(final com.google.gson.JsonElement number); - IWorkbookFunctionsAsinhRequestBuilder asinh(final com.google.gson.JsonElement number); - IWorkbookFunctionsAtanRequestBuilder atan(final com.google.gson.JsonElement number); - IWorkbookFunctionsAtan2RequestBuilder atan2(final com.google.gson.JsonElement xNum, final com.google.gson.JsonElement yNum); - IWorkbookFunctionsAtanhRequestBuilder atanh(final com.google.gson.JsonElement number); - IWorkbookFunctionsAveDevRequestBuilder aveDev(final com.google.gson.JsonElement values); - IWorkbookFunctionsAverageRequestBuilder average(final com.google.gson.JsonElement values); - IWorkbookFunctionsAverageARequestBuilder averageA(final com.google.gson.JsonElement values); - IWorkbookFunctionsAverageIfRequestBuilder averageIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement averageRange); - IWorkbookFunctionsAverageIfsRequestBuilder averageIfs(final com.google.gson.JsonElement averageRange, final com.google.gson.JsonElement values); - IWorkbookFunctionsBahtTextRequestBuilder bahtText(final com.google.gson.JsonElement number); - IWorkbookFunctionsBaseRequestBuilder base(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix, final com.google.gson.JsonElement minLength); - IWorkbookFunctionsBesselIRequestBuilder besselI(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); - IWorkbookFunctionsBesselJRequestBuilder besselJ(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); - IWorkbookFunctionsBesselKRequestBuilder besselK(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); - IWorkbookFunctionsBesselYRequestBuilder besselY(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n); - IWorkbookFunctionsBeta_DistRequestBuilder beta_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b); - IWorkbookFunctionsBeta_InvRequestBuilder beta_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement a, final com.google.gson.JsonElement b); - IWorkbookFunctionsBin2DecRequestBuilder bin2Dec(final com.google.gson.JsonElement number); - IWorkbookFunctionsBin2HexRequestBuilder bin2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsBin2OctRequestBuilder bin2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsBinom_DistRequestBuilder binom_Dist(final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsBinom_Dist_RangeRequestBuilder binom_Dist_Range(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement numberS2); - IWorkbookFunctionsBinom_InvRequestBuilder binom_Inv(final com.google.gson.JsonElement trials, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement alpha); - IWorkbookFunctionsBitandRequestBuilder bitand(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); - IWorkbookFunctionsBitlshiftRequestBuilder bitlshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount); - IWorkbookFunctionsBitorRequestBuilder bitor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); - IWorkbookFunctionsBitrshiftRequestBuilder bitrshift(final com.google.gson.JsonElement number, final com.google.gson.JsonElement shiftAmount); - IWorkbookFunctionsBitxorRequestBuilder bitxor(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); - IWorkbookFunctionsCeiling_MathRequestBuilder ceiling_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode); - IWorkbookFunctionsCeiling_PreciseRequestBuilder ceiling_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); - IWorkbookFunctionsCharRequestBuilder msgraphChar(final com.google.gson.JsonElement number); - IWorkbookFunctionsChiSq_DistRequestBuilder chiSq_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsChiSq_Dist_RTRequestBuilder chiSq_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsChiSq_InvRequestBuilder chiSq_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsChiSq_Inv_RTRequestBuilder chiSq_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsChooseRequestBuilder choose(final com.google.gson.JsonElement indexNum, final com.google.gson.JsonElement values); - IWorkbookFunctionsCleanRequestBuilder clean(final com.google.gson.JsonElement text); - IWorkbookFunctionsCodeRequestBuilder code(final com.google.gson.JsonElement text); - IWorkbookFunctionsColumnsRequestBuilder columns(final com.google.gson.JsonElement array); - IWorkbookFunctionsCombinRequestBuilder combin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); - IWorkbookFunctionsCombinaRequestBuilder combina(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); - IWorkbookFunctionsComplexRequestBuilder complex(final com.google.gson.JsonElement realNum, final com.google.gson.JsonElement iNum, final com.google.gson.JsonElement suffix); - IWorkbookFunctionsConcatenateRequestBuilder concatenate(final com.google.gson.JsonElement values); - IWorkbookFunctionsConfidence_NormRequestBuilder confidence_Norm(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size); - IWorkbookFunctionsConfidence_TRequestBuilder confidence_T(final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement size); - IWorkbookFunctionsConvertRequestBuilder convert(final com.google.gson.JsonElement number, final com.google.gson.JsonElement fromUnit, final com.google.gson.JsonElement toUnit); - IWorkbookFunctionsCosRequestBuilder cos(final com.google.gson.JsonElement number); - IWorkbookFunctionsCoshRequestBuilder cosh(final com.google.gson.JsonElement number); - IWorkbookFunctionsCotRequestBuilder cot(final com.google.gson.JsonElement number); - IWorkbookFunctionsCothRequestBuilder coth(final com.google.gson.JsonElement number); - IWorkbookFunctionsCountRequestBuilder count(final com.google.gson.JsonElement values); - IWorkbookFunctionsCountARequestBuilder countA(final com.google.gson.JsonElement values); - IWorkbookFunctionsCountBlankRequestBuilder countBlank(final com.google.gson.JsonElement range); - IWorkbookFunctionsCountIfRequestBuilder countIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsCountIfsRequestBuilder countIfs(final com.google.gson.JsonElement values); - IWorkbookFunctionsCoupDayBsRequestBuilder coupDayBs(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsCoupDaysRequestBuilder coupDays(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsCoupDaysNcRequestBuilder coupDaysNc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsCoupNcdRequestBuilder coupNcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsCoupNumRequestBuilder coupNum(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsCoupPcdRequestBuilder coupPcd(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsCscRequestBuilder csc(final com.google.gson.JsonElement number); - IWorkbookFunctionsCschRequestBuilder csch(final com.google.gson.JsonElement number); - IWorkbookFunctionsCumIPmtRequestBuilder cumIPmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type); - IWorkbookFunctionsCumPrincRequestBuilder cumPrinc(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement type); - IWorkbookFunctionsDaverageRequestBuilder daverage(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDcountRequestBuilder dcount(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDcountARequestBuilder dcountA(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDgetRequestBuilder dget(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDmaxRequestBuilder dmax(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDminRequestBuilder dmin(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDproductRequestBuilder dproduct(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDstDevRequestBuilder dstDev(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDstDevPRequestBuilder dstDevP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDsumRequestBuilder dsum(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDvarRequestBuilder dvar(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDvarPRequestBuilder dvarP(final com.google.gson.JsonElement database, final com.google.gson.JsonElement field, final com.google.gson.JsonElement criteria); - IWorkbookFunctionsDateRequestBuilder date(final com.google.gson.JsonElement year, final com.google.gson.JsonElement month, final com.google.gson.JsonElement day); - IWorkbookFunctionsDatevalueRequestBuilder datevalue(final com.google.gson.JsonElement dateText); - IWorkbookFunctionsDayRequestBuilder day(final com.google.gson.JsonElement serialNumber); - IWorkbookFunctionsDaysRequestBuilder days(final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement startDate); - IWorkbookFunctionsDays360RequestBuilder days360(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement method); - IWorkbookFunctionsDbRequestBuilder db(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement month); - IWorkbookFunctionsDbcsRequestBuilder dbcs(final com.google.gson.JsonElement text); - IWorkbookFunctionsDdbRequestBuilder ddb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement period, final com.google.gson.JsonElement factor); - IWorkbookFunctionsDec2BinRequestBuilder dec2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsDec2HexRequestBuilder dec2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsDec2OctRequestBuilder dec2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsDecimalRequestBuilder decimal(final com.google.gson.JsonElement number, final com.google.gson.JsonElement radix); - IWorkbookFunctionsDegreesRequestBuilder degrees(final com.google.gson.JsonElement angle); - IWorkbookFunctionsDeltaRequestBuilder delta(final com.google.gson.JsonElement number1, final com.google.gson.JsonElement number2); - IWorkbookFunctionsDevSqRequestBuilder devSq(final com.google.gson.JsonElement values); - IWorkbookFunctionsDiscRequestBuilder disc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); - IWorkbookFunctionsDollarRequestBuilder dollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals); - IWorkbookFunctionsDollarDeRequestBuilder dollarDe(final com.google.gson.JsonElement fractionalDollar, final com.google.gson.JsonElement fraction); - IWorkbookFunctionsDollarFrRequestBuilder dollarFr(final com.google.gson.JsonElement decimalDollar, final com.google.gson.JsonElement fraction); - IWorkbookFunctionsDurationRequestBuilder duration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsEcma_CeilingRequestBuilder ecma_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); - IWorkbookFunctionsEdateRequestBuilder edate(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months); - IWorkbookFunctionsEffectRequestBuilder effect(final com.google.gson.JsonElement nominalRate, final com.google.gson.JsonElement npery); - IWorkbookFunctionsEoMonthRequestBuilder eoMonth(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement months); - IWorkbookFunctionsErfRequestBuilder erf(final com.google.gson.JsonElement lowerLimit, final com.google.gson.JsonElement upperLimit); - IWorkbookFunctionsErfCRequestBuilder erfC(final com.google.gson.JsonElement x); - IWorkbookFunctionsErfC_PreciseRequestBuilder erfC_Precise(final com.google.gson.JsonElement x); - IWorkbookFunctionsErf_PreciseRequestBuilder erf_Precise(final com.google.gson.JsonElement x); - IWorkbookFunctionsError_TypeRequestBuilder error_Type(final com.google.gson.JsonElement errorVal); - IWorkbookFunctionsEvenRequestBuilder even(final com.google.gson.JsonElement number); - IWorkbookFunctionsExactRequestBuilder exact(final com.google.gson.JsonElement text1, final com.google.gson.JsonElement text2); - IWorkbookFunctionsExpRequestBuilder exp(final com.google.gson.JsonElement number); - IWorkbookFunctionsExpon_DistRequestBuilder expon_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement lambda, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsFvscheduleRequestBuilder fvschedule(final com.google.gson.JsonElement principal, final com.google.gson.JsonElement schedule); - IWorkbookFunctionsF_DistRequestBuilder f_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsF_Dist_RTRequestBuilder f_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2); - IWorkbookFunctionsF_InvRequestBuilder f_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2); - IWorkbookFunctionsF_Inv_RTRequestBuilder f_Inv_RT(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom1, final com.google.gson.JsonElement degFreedom2); - IWorkbookFunctionsFactRequestBuilder fact(final com.google.gson.JsonElement number); - IWorkbookFunctionsFactDoubleRequestBuilder factDouble(final com.google.gson.JsonElement number); - IWorkbookFunctionsFalseRequestBuilder msgraphFalse(); - IWorkbookFunctionsFindRequestBuilder find(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum); - IWorkbookFunctionsFindBRequestBuilder findB(final com.google.gson.JsonElement findText, final com.google.gson.JsonElement withinText, final com.google.gson.JsonElement startNum); - IWorkbookFunctionsFisherRequestBuilder fisher(final com.google.gson.JsonElement x); - IWorkbookFunctionsFisherInvRequestBuilder fisherInv(final com.google.gson.JsonElement y); - IWorkbookFunctionsFixedRequestBuilder fixed(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals, final com.google.gson.JsonElement noCommas); - IWorkbookFunctionsFloor_MathRequestBuilder floor_Math(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance, final com.google.gson.JsonElement mode); - IWorkbookFunctionsFloor_PreciseRequestBuilder floor_Precise(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); - IWorkbookFunctionsFvRequestBuilder fv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement type); - IWorkbookFunctionsGammaRequestBuilder gamma(final com.google.gson.JsonElement x); - IWorkbookFunctionsGammaLnRequestBuilder gammaLn(final com.google.gson.JsonElement x); - IWorkbookFunctionsGammaLn_PreciseRequestBuilder gammaLn_Precise(final com.google.gson.JsonElement x); - IWorkbookFunctionsGamma_DistRequestBuilder gamma_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsGamma_InvRequestBuilder gamma_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta); - IWorkbookFunctionsGaussRequestBuilder gauss(final com.google.gson.JsonElement x); - IWorkbookFunctionsGcdRequestBuilder gcd(final com.google.gson.JsonElement values); - IWorkbookFunctionsGeStepRequestBuilder geStep(final com.google.gson.JsonElement number, final com.google.gson.JsonElement step); - IWorkbookFunctionsGeoMeanRequestBuilder geoMean(final com.google.gson.JsonElement values); - IWorkbookFunctionsHlookupRequestBuilder hlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement rowIndexNum, final com.google.gson.JsonElement rangeLookup); - IWorkbookFunctionsHarMeanRequestBuilder harMean(final com.google.gson.JsonElement values); - IWorkbookFunctionsHex2BinRequestBuilder hex2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsHex2DecRequestBuilder hex2Dec(final com.google.gson.JsonElement number); - IWorkbookFunctionsHex2OctRequestBuilder hex2Oct(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsHourRequestBuilder hour(final com.google.gson.JsonElement serialNumber); - IWorkbookFunctionsHypGeom_DistRequestBuilder hypGeom_Dist(final com.google.gson.JsonElement sampleS, final com.google.gson.JsonElement numberSample, final com.google.gson.JsonElement populationS, final com.google.gson.JsonElement numberPop, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsHyperlinkRequestBuilder hyperlink(final com.google.gson.JsonElement linkLocation, final com.google.gson.JsonElement friendlyName); - IWorkbookFunctionsIso_CeilingRequestBuilder iso_Ceiling(final com.google.gson.JsonElement number, final com.google.gson.JsonElement significance); - IWorkbookFunctionsIfRequestBuilder msgraphIf(final com.google.gson.JsonElement logicalTest, final com.google.gson.JsonElement valueIfTrue, final com.google.gson.JsonElement valueIfFalse); - IWorkbookFunctionsImAbsRequestBuilder imAbs(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImArgumentRequestBuilder imArgument(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImConjugateRequestBuilder imConjugate(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImCosRequestBuilder imCos(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImCoshRequestBuilder imCosh(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImCotRequestBuilder imCot(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImCscRequestBuilder imCsc(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImCschRequestBuilder imCsch(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImDivRequestBuilder imDiv(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2); - IWorkbookFunctionsImExpRequestBuilder imExp(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImLnRequestBuilder imLn(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImLog10RequestBuilder imLog10(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImLog2RequestBuilder imLog2(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImPowerRequestBuilder imPower(final com.google.gson.JsonElement inumber, final com.google.gson.JsonElement number); - IWorkbookFunctionsImProductRequestBuilder imProduct(final com.google.gson.JsonElement values); - IWorkbookFunctionsImRealRequestBuilder imReal(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImSecRequestBuilder imSec(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImSechRequestBuilder imSech(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImSinRequestBuilder imSin(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImSinhRequestBuilder imSinh(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImSqrtRequestBuilder imSqrt(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImSubRequestBuilder imSub(final com.google.gson.JsonElement inumber1, final com.google.gson.JsonElement inumber2); - IWorkbookFunctionsImSumRequestBuilder imSum(final com.google.gson.JsonElement values); - IWorkbookFunctionsImTanRequestBuilder imTan(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsImaginaryRequestBuilder imaginary(final com.google.gson.JsonElement inumber); - IWorkbookFunctionsIntRequestBuilder msgraphInt(final com.google.gson.JsonElement number); - IWorkbookFunctionsIntRateRequestBuilder intRate(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); - IWorkbookFunctionsIpmtRequestBuilder ipmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); - IWorkbookFunctionsIrrRequestBuilder irr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement guess); - IWorkbookFunctionsIsErrRequestBuilder isErr(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsErrorRequestBuilder isError(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsEvenRequestBuilder isEven(final com.google.gson.JsonElement number); - IWorkbookFunctionsIsFormulaRequestBuilder isFormula(final com.google.gson.JsonElement reference); - IWorkbookFunctionsIsLogicalRequestBuilder isLogical(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsNARequestBuilder isNA(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsNonTextRequestBuilder isNonText(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsNumberRequestBuilder isNumber(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsOddRequestBuilder isOdd(final com.google.gson.JsonElement number); - IWorkbookFunctionsIsTextRequestBuilder isText(final com.google.gson.JsonElement value); - IWorkbookFunctionsIsoWeekNumRequestBuilder isoWeekNum(final com.google.gson.JsonElement date); - IWorkbookFunctionsIspmtRequestBuilder ispmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv); - IWorkbookFunctionsIsrefRequestBuilder isref(final com.google.gson.JsonElement value); - IWorkbookFunctionsKurtRequestBuilder kurt(final com.google.gson.JsonElement values); - IWorkbookFunctionsLargeRequestBuilder large(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); - IWorkbookFunctionsLcmRequestBuilder lcm(final com.google.gson.JsonElement values); - IWorkbookFunctionsLeftRequestBuilder left(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars); - IWorkbookFunctionsLeftbRequestBuilder leftb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes); - IWorkbookFunctionsLenRequestBuilder len(final com.google.gson.JsonElement text); - IWorkbookFunctionsLenbRequestBuilder lenb(final com.google.gson.JsonElement text); - IWorkbookFunctionsLnRequestBuilder ln(final com.google.gson.JsonElement number); - IWorkbookFunctionsLogRequestBuilder log(final com.google.gson.JsonElement number, final com.google.gson.JsonElement base); - IWorkbookFunctionsLog10RequestBuilder log10(final com.google.gson.JsonElement number); - IWorkbookFunctionsLogNorm_DistRequestBuilder logNorm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsLogNorm_InvRequestBuilder logNorm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev); - IWorkbookFunctionsLookupRequestBuilder lookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupVector, final com.google.gson.JsonElement resultVector); - IWorkbookFunctionsLowerRequestBuilder lower(final com.google.gson.JsonElement text); - IWorkbookFunctionsMdurationRequestBuilder mduration(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement coupon, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsMirrRequestBuilder mirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement financeRate, final com.google.gson.JsonElement reinvestRate); - IWorkbookFunctionsMroundRequestBuilder mround(final com.google.gson.JsonElement number, final com.google.gson.JsonElement multiple); - IWorkbookFunctionsMatchRequestBuilder match(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement lookupArray, final com.google.gson.JsonElement matchType); - IWorkbookFunctionsMaxRequestBuilder max(final com.google.gson.JsonElement values); - IWorkbookFunctionsMaxARequestBuilder maxA(final com.google.gson.JsonElement values); - IWorkbookFunctionsMedianRequestBuilder median(final com.google.gson.JsonElement values); - IWorkbookFunctionsMidRequestBuilder mid(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars); - IWorkbookFunctionsMidbRequestBuilder midb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes); - IWorkbookFunctionsMinRequestBuilder min(final com.google.gson.JsonElement values); - IWorkbookFunctionsMinARequestBuilder minA(final com.google.gson.JsonElement values); - IWorkbookFunctionsMinuteRequestBuilder minute(final com.google.gson.JsonElement serialNumber); - IWorkbookFunctionsModRequestBuilder mod(final com.google.gson.JsonElement number, final com.google.gson.JsonElement divisor); - IWorkbookFunctionsMonthRequestBuilder month(final com.google.gson.JsonElement serialNumber); - IWorkbookFunctionsMultiNomialRequestBuilder multiNomial(final com.google.gson.JsonElement values); - IWorkbookFunctionsNRequestBuilder n(final com.google.gson.JsonElement value); - IWorkbookFunctionsNperRequestBuilder nper(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); - IWorkbookFunctionsNaRequestBuilder na(); - IWorkbookFunctionsNegBinom_DistRequestBuilder negBinom_Dist(final com.google.gson.JsonElement numberF, final com.google.gson.JsonElement numberS, final com.google.gson.JsonElement probabilityS, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsNetworkDaysRequestBuilder networkDays(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement holidays); - IWorkbookFunctionsNetworkDays_IntlRequestBuilder networkDays_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays); - IWorkbookFunctionsNominalRequestBuilder nominal(final com.google.gson.JsonElement effectRate, final com.google.gson.JsonElement npery); - IWorkbookFunctionsNorm_DistRequestBuilder norm_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsNorm_InvRequestBuilder norm_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev); - IWorkbookFunctionsNorm_S_DistRequestBuilder norm_S_Dist(final com.google.gson.JsonElement z, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsNorm_S_InvRequestBuilder norm_S_Inv(final com.google.gson.JsonElement probability); - IWorkbookFunctionsNotRequestBuilder not(final com.google.gson.JsonElement logical); - IWorkbookFunctionsNowRequestBuilder now(); - IWorkbookFunctionsNpvRequestBuilder npv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values); - IWorkbookFunctionsNumberValueRequestBuilder numberValue(final com.google.gson.JsonElement text, final com.google.gson.JsonElement decimalSeparator, final com.google.gson.JsonElement groupSeparator); - IWorkbookFunctionsOct2BinRequestBuilder oct2Bin(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsOct2DecRequestBuilder oct2Dec(final com.google.gson.JsonElement number); - IWorkbookFunctionsOct2HexRequestBuilder oct2Hex(final com.google.gson.JsonElement number, final com.google.gson.JsonElement places); - IWorkbookFunctionsOddRequestBuilder odd(final com.google.gson.JsonElement number); - IWorkbookFunctionsOddFPriceRequestBuilder oddFPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsOddFYieldRequestBuilder oddFYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement firstCoupon, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsOddLPriceRequestBuilder oddLPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsOddLYieldRequestBuilder oddLYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement lastInterest, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsOrRequestBuilder or(final com.google.gson.JsonElement values); - IWorkbookFunctionsPdurationRequestBuilder pduration(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv); - IWorkbookFunctionsPercentRank_ExcRequestBuilder percentRank_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance); - IWorkbookFunctionsPercentRank_IncRequestBuilder percentRank_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement significance); - IWorkbookFunctionsPercentile_ExcRequestBuilder percentile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); - IWorkbookFunctionsPercentile_IncRequestBuilder percentile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); - IWorkbookFunctionsPermutRequestBuilder permut(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); - IWorkbookFunctionsPermutationaRequestBuilder permutationa(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numberChosen); - IWorkbookFunctionsPhiRequestBuilder phi(final com.google.gson.JsonElement x); - IWorkbookFunctionsPiRequestBuilder pi(); - IWorkbookFunctionsPmtRequestBuilder pmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); - IWorkbookFunctionsPoisson_DistRequestBuilder poisson_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsPowerRequestBuilder power(final com.google.gson.JsonElement number, final com.google.gson.JsonElement power); - IWorkbookFunctionsPpmtRequestBuilder ppmt(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement per, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); - IWorkbookFunctionsPriceRequestBuilder price(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsPriceDiscRequestBuilder priceDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); - IWorkbookFunctionsPriceMatRequestBuilder priceMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement yld, final com.google.gson.JsonElement basis); - IWorkbookFunctionsProductRequestBuilder product(final com.google.gson.JsonElement values); - IWorkbookFunctionsProperRequestBuilder proper(final com.google.gson.JsonElement text); - IWorkbookFunctionsPvRequestBuilder pv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type); - IWorkbookFunctionsQuartile_ExcRequestBuilder quartile_Exc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart); - IWorkbookFunctionsQuartile_IncRequestBuilder quartile_Inc(final com.google.gson.JsonElement array, final com.google.gson.JsonElement quart); - IWorkbookFunctionsQuotientRequestBuilder quotient(final com.google.gson.JsonElement numerator, final com.google.gson.JsonElement denominator); - IWorkbookFunctionsRadiansRequestBuilder radians(final com.google.gson.JsonElement angle); - IWorkbookFunctionsRandRequestBuilder rand(); - IWorkbookFunctionsRandBetweenRequestBuilder randBetween(final com.google.gson.JsonElement bottom, final com.google.gson.JsonElement top); - IWorkbookFunctionsRank_AvgRequestBuilder rank_Avg(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order); - IWorkbookFunctionsRank_EqRequestBuilder rank_Eq(final com.google.gson.JsonElement number, final com.google.gson.JsonElement ref, final com.google.gson.JsonElement order); - IWorkbookFunctionsRateRequestBuilder rate(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pmt, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv, final com.google.gson.JsonElement type, final com.google.gson.JsonElement guess); - IWorkbookFunctionsReceivedRequestBuilder received(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement investment, final com.google.gson.JsonElement discount, final com.google.gson.JsonElement basis); - IWorkbookFunctionsReplaceRequestBuilder replace(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numChars, final com.google.gson.JsonElement newText); - IWorkbookFunctionsReplaceBRequestBuilder replaceB(final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement startNum, final com.google.gson.JsonElement numBytes, final com.google.gson.JsonElement newText); - IWorkbookFunctionsReptRequestBuilder rept(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numberTimes); - IWorkbookFunctionsRightRequestBuilder right(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numChars); - IWorkbookFunctionsRightbRequestBuilder rightb(final com.google.gson.JsonElement text, final com.google.gson.JsonElement numBytes); - IWorkbookFunctionsRomanRequestBuilder roman(final com.google.gson.JsonElement number, final com.google.gson.JsonElement form); - IWorkbookFunctionsRoundRequestBuilder round(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); - IWorkbookFunctionsRoundDownRequestBuilder roundDown(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); - IWorkbookFunctionsRoundUpRequestBuilder roundUp(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); - IWorkbookFunctionsRowsRequestBuilder rows(final com.google.gson.JsonElement array); - IWorkbookFunctionsRriRequestBuilder rri(final com.google.gson.JsonElement nper, final com.google.gson.JsonElement pv, final com.google.gson.JsonElement fv); - IWorkbookFunctionsSecRequestBuilder sec(final com.google.gson.JsonElement number); - IWorkbookFunctionsSechRequestBuilder sech(final com.google.gson.JsonElement number); - IWorkbookFunctionsSecondRequestBuilder second(final com.google.gson.JsonElement serialNumber); - IWorkbookFunctionsSeriesSumRequestBuilder seriesSum(final com.google.gson.JsonElement x, final com.google.gson.JsonElement n, final com.google.gson.JsonElement m, final com.google.gson.JsonElement coefficients); - IWorkbookFunctionsSheetRequestBuilder sheet(final com.google.gson.JsonElement value); - IWorkbookFunctionsSheetsRequestBuilder sheets(final com.google.gson.JsonElement reference); - IWorkbookFunctionsSignRequestBuilder sign(final com.google.gson.JsonElement number); - IWorkbookFunctionsSinRequestBuilder sin(final com.google.gson.JsonElement number); - IWorkbookFunctionsSinhRequestBuilder sinh(final com.google.gson.JsonElement number); - IWorkbookFunctionsSkewRequestBuilder skew(final com.google.gson.JsonElement values); - IWorkbookFunctionsSkew_pRequestBuilder skew_p(final com.google.gson.JsonElement values); - IWorkbookFunctionsSlnRequestBuilder sln(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life); - IWorkbookFunctionsSmallRequestBuilder small(final com.google.gson.JsonElement array, final com.google.gson.JsonElement k); - IWorkbookFunctionsSqrtRequestBuilder sqrt(final com.google.gson.JsonElement number); - IWorkbookFunctionsSqrtPiRequestBuilder sqrtPi(final com.google.gson.JsonElement number); - IWorkbookFunctionsStDevARequestBuilder stDevA(final com.google.gson.JsonElement values); - IWorkbookFunctionsStDevPARequestBuilder stDevPA(final com.google.gson.JsonElement values); - IWorkbookFunctionsStDev_PRequestBuilder stDev_P(final com.google.gson.JsonElement values); - IWorkbookFunctionsStDev_SRequestBuilder stDev_S(final com.google.gson.JsonElement values); - IWorkbookFunctionsStandardizeRequestBuilder standardize(final com.google.gson.JsonElement x, final com.google.gson.JsonElement mean, final com.google.gson.JsonElement standardDev); - IWorkbookFunctionsSubstituteRequestBuilder substitute(final com.google.gson.JsonElement text, final com.google.gson.JsonElement oldText, final com.google.gson.JsonElement newText, final com.google.gson.JsonElement instanceNum); - IWorkbookFunctionsSubtotalRequestBuilder subtotal(final com.google.gson.JsonElement functionNum, final com.google.gson.JsonElement values); - IWorkbookFunctionsSumRequestBuilder sum(final com.google.gson.JsonElement values); - IWorkbookFunctionsSumIfRequestBuilder sumIf(final com.google.gson.JsonElement range, final com.google.gson.JsonElement criteria, final com.google.gson.JsonElement sumRange); - IWorkbookFunctionsSumIfsRequestBuilder sumIfs(final com.google.gson.JsonElement sumRange, final com.google.gson.JsonElement values); - IWorkbookFunctionsSumSqRequestBuilder sumSq(final com.google.gson.JsonElement values); - IWorkbookFunctionsSydRequestBuilder syd(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement per); - IWorkbookFunctionsTRequestBuilder t(final com.google.gson.JsonElement value); - IWorkbookFunctionsTbillEqRequestBuilder tbillEq(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount); - IWorkbookFunctionsTbillPriceRequestBuilder tbillPrice(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement discount); - IWorkbookFunctionsTbillYieldRequestBuilder tbillYield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr); - IWorkbookFunctionsT_DistRequestBuilder t_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsT_Dist_2TRequestBuilder t_Dist_2T(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsT_Dist_RTRequestBuilder t_Dist_RT(final com.google.gson.JsonElement x, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsT_InvRequestBuilder t_Inv(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsT_Inv_2TRequestBuilder t_Inv_2T(final com.google.gson.JsonElement probability, final com.google.gson.JsonElement degFreedom); - IWorkbookFunctionsTanRequestBuilder tan(final com.google.gson.JsonElement number); - IWorkbookFunctionsTanhRequestBuilder tanh(final com.google.gson.JsonElement number); - IWorkbookFunctionsTextRequestBuilder text(final com.google.gson.JsonElement value, final com.google.gson.JsonElement formatText); - IWorkbookFunctionsTimeRequestBuilder time(final com.google.gson.JsonElement hour, final com.google.gson.JsonElement minute, final com.google.gson.JsonElement second); - IWorkbookFunctionsTimevalueRequestBuilder timevalue(final com.google.gson.JsonElement timeText); - IWorkbookFunctionsTodayRequestBuilder today(); - IWorkbookFunctionsTrimRequestBuilder trim(final com.google.gson.JsonElement text); - IWorkbookFunctionsTrimMeanRequestBuilder trimMean(final com.google.gson.JsonElement array, final com.google.gson.JsonElement percent); - IWorkbookFunctionsTrueRequestBuilder msgraphTrue(); - IWorkbookFunctionsTruncRequestBuilder trunc(final com.google.gson.JsonElement number, final com.google.gson.JsonElement numDigits); - IWorkbookFunctionsTypeRequestBuilder type(final com.google.gson.JsonElement value); - IWorkbookFunctionsUsdollarRequestBuilder usdollar(final com.google.gson.JsonElement number, final com.google.gson.JsonElement decimals); - IWorkbookFunctionsUnicharRequestBuilder unichar(final com.google.gson.JsonElement number); - IWorkbookFunctionsUnicodeRequestBuilder unicode(final com.google.gson.JsonElement text); - IWorkbookFunctionsUpperRequestBuilder upper(final com.google.gson.JsonElement text); - IWorkbookFunctionsVlookupRequestBuilder vlookup(final com.google.gson.JsonElement lookupValue, final com.google.gson.JsonElement tableArray, final com.google.gson.JsonElement colIndexNum, final com.google.gson.JsonElement rangeLookup); - IWorkbookFunctionsValueRequestBuilder value(final com.google.gson.JsonElement text); - IWorkbookFunctionsVarARequestBuilder varA(final com.google.gson.JsonElement values); - IWorkbookFunctionsVarPARequestBuilder varPA(final com.google.gson.JsonElement values); - IWorkbookFunctionsVar_PRequestBuilder var_P(final com.google.gson.JsonElement values); - IWorkbookFunctionsVar_SRequestBuilder var_S(final com.google.gson.JsonElement values); - IWorkbookFunctionsVdbRequestBuilder vdb(final com.google.gson.JsonElement cost, final com.google.gson.JsonElement salvage, final com.google.gson.JsonElement life, final com.google.gson.JsonElement startPeriod, final com.google.gson.JsonElement endPeriod, final com.google.gson.JsonElement factor, final com.google.gson.JsonElement noSwitch); - IWorkbookFunctionsWeekNumRequestBuilder weekNum(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType); - IWorkbookFunctionsWeekdayRequestBuilder weekday(final com.google.gson.JsonElement serialNumber, final com.google.gson.JsonElement returnType); - IWorkbookFunctionsWeibull_DistRequestBuilder weibull_Dist(final com.google.gson.JsonElement x, final com.google.gson.JsonElement alpha, final com.google.gson.JsonElement beta, final com.google.gson.JsonElement cumulative); - IWorkbookFunctionsWorkDayRequestBuilder workDay(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement holidays); - IWorkbookFunctionsWorkDay_IntlRequestBuilder workDay_Intl(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement days, final com.google.gson.JsonElement weekend, final com.google.gson.JsonElement holidays); - IWorkbookFunctionsXirrRequestBuilder xirr(final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates, final com.google.gson.JsonElement guess); - IWorkbookFunctionsXnpvRequestBuilder xnpv(final com.google.gson.JsonElement rate, final com.google.gson.JsonElement values, final com.google.gson.JsonElement dates); - IWorkbookFunctionsXorRequestBuilder xor(final com.google.gson.JsonElement values); - IWorkbookFunctionsYearRequestBuilder year(final com.google.gson.JsonElement serialNumber); - IWorkbookFunctionsYearFracRequestBuilder yearFrac(final com.google.gson.JsonElement startDate, final com.google.gson.JsonElement endDate, final com.google.gson.JsonElement basis); - IWorkbookFunctionsYieldRequestBuilder yield(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement frequency, final com.google.gson.JsonElement basis); - IWorkbookFunctionsYieldDiscRequestBuilder yieldDisc(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement redemption, final com.google.gson.JsonElement basis); - IWorkbookFunctionsYieldMatRequestBuilder yieldMat(final com.google.gson.JsonElement settlement, final com.google.gson.JsonElement maturity, final com.google.gson.JsonElement issue, final com.google.gson.JsonElement rate, final com.google.gson.JsonElement pr, final com.google.gson.JsonElement basis); - IWorkbookFunctionsZ_TestRequestBuilder z_Test(final com.google.gson.JsonElement array, final com.google.gson.JsonElement x, final com.google.gson.JsonElement sigma); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequest.java deleted file mode 100644 index 4dc0b6d1831..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Right Request. - */ -public interface IBaseWorkbookFunctionsRightRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRightRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRightRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRightRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequestBuilder.java deleted file mode 100644 index 7972c7d3cdd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Right Request Builder. - */ -public interface IBaseWorkbookFunctionsRightRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRightRequest - * - * @return the IWorkbookFunctionsRightRequest instance - */ - IWorkbookFunctionsRightRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRightRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRightRequest instance - */ - IWorkbookFunctionsRightRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequest.java deleted file mode 100644 index ee28fd39765..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rightb Request. - */ -public interface IBaseWorkbookFunctionsRightbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRightbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRightbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRightbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequestBuilder.java deleted file mode 100644 index f2a7da74379..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRightbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRightbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rightb Request Builder. - */ -public interface IBaseWorkbookFunctionsRightbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRightbRequest - * - * @return the IWorkbookFunctionsRightbRequest instance - */ - IWorkbookFunctionsRightbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRightbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRightbRequest instance - */ - IWorkbookFunctionsRightbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequest.java deleted file mode 100644 index 0e975de0815..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Roman Request. - */ -public interface IBaseWorkbookFunctionsRomanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRomanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRomanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRomanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequestBuilder.java deleted file mode 100644 index 4889420248f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRomanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRomanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Roman Request Builder. - */ -public interface IBaseWorkbookFunctionsRomanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRomanRequest - * - * @return the IWorkbookFunctionsRomanRequest instance - */ - IWorkbookFunctionsRomanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRomanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRomanRequest instance - */ - IWorkbookFunctionsRomanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequest.java deleted file mode 100644 index 2de4cfda12c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Round Down Request. - */ -public interface IBaseWorkbookFunctionsRoundDownRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRoundDownRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRoundDownRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRoundDownRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequestBuilder.java deleted file mode 100644 index 33c9b09b165..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundDownRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundDownRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Round Down Request Builder. - */ -public interface IBaseWorkbookFunctionsRoundDownRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRoundDownRequest - * - * @return the IWorkbookFunctionsRoundDownRequest instance - */ - IWorkbookFunctionsRoundDownRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRoundDownRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRoundDownRequest instance - */ - IWorkbookFunctionsRoundDownRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequest.java deleted file mode 100644 index 824f9c05b24..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Round Request. - */ -public interface IBaseWorkbookFunctionsRoundRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRoundRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRoundRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRoundRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequestBuilder.java deleted file mode 100644 index b588d73e09d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Round Request Builder. - */ -public interface IBaseWorkbookFunctionsRoundRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRoundRequest - * - * @return the IWorkbookFunctionsRoundRequest instance - */ - IWorkbookFunctionsRoundRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRoundRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRoundRequest instance - */ - IWorkbookFunctionsRoundRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequest.java deleted file mode 100644 index 83ab4c204df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Round Up Request. - */ -public interface IBaseWorkbookFunctionsRoundUpRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRoundUpRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRoundUpRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRoundUpRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequestBuilder.java deleted file mode 100644 index 4d865e68187..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRoundUpRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRoundUpRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Round Up Request Builder. - */ -public interface IBaseWorkbookFunctionsRoundUpRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRoundUpRequest - * - * @return the IWorkbookFunctionsRoundUpRequest instance - */ - IWorkbookFunctionsRoundUpRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRoundUpRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRoundUpRequest instance - */ - IWorkbookFunctionsRoundUpRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequest.java deleted file mode 100644 index 6945c061c48..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rows Request. - */ -public interface IBaseWorkbookFunctionsRowsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRowsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRowsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRowsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequestBuilder.java deleted file mode 100644 index 5566b06ebf4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRowsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRowsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rows Request Builder. - */ -public interface IBaseWorkbookFunctionsRowsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRowsRequest - * - * @return the IWorkbookFunctionsRowsRequest instance - */ - IWorkbookFunctionsRowsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRowsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRowsRequest instance - */ - IWorkbookFunctionsRowsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequest.java deleted file mode 100644 index 6f2387e9820..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rri Request. - */ -public interface IBaseWorkbookFunctionsRriRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsRriRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsRriRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsRriRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequestBuilder.java deleted file mode 100644 index 134182eccd9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsRriRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRriRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Rri Request Builder. - */ -public interface IBaseWorkbookFunctionsRriRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsRriRequest - * - * @return the IWorkbookFunctionsRriRequest instance - */ - IWorkbookFunctionsRriRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsRriRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsRriRequest instance - */ - IWorkbookFunctionsRriRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequest.java deleted file mode 100644 index f86dce5790c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sec Request. - */ -public interface IBaseWorkbookFunctionsSecRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSecRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSecRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSecRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequestBuilder.java deleted file mode 100644 index 0a51b278705..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sec Request Builder. - */ -public interface IBaseWorkbookFunctionsSecRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSecRequest - * - * @return the IWorkbookFunctionsSecRequest instance - */ - IWorkbookFunctionsSecRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSecRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSecRequest instance - */ - IWorkbookFunctionsSecRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequest.java deleted file mode 100644 index 17c09a55f23..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sech Request. - */ -public interface IBaseWorkbookFunctionsSechRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSechRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSechRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSechRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequestBuilder.java deleted file mode 100644 index 88b8842f1b4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSechRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSechRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sech Request Builder. - */ -public interface IBaseWorkbookFunctionsSechRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSechRequest - * - * @return the IWorkbookFunctionsSechRequest instance - */ - IWorkbookFunctionsSechRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSechRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSechRequest instance - */ - IWorkbookFunctionsSechRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequest.java deleted file mode 100644 index 322d7cfb3a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Second Request. - */ -public interface IBaseWorkbookFunctionsSecondRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSecondRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSecondRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSecondRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequestBuilder.java deleted file mode 100644 index b3d02bb5aa1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSecondRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSecondRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Second Request Builder. - */ -public interface IBaseWorkbookFunctionsSecondRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSecondRequest - * - * @return the IWorkbookFunctionsSecondRequest instance - */ - IWorkbookFunctionsSecondRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSecondRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSecondRequest instance - */ - IWorkbookFunctionsSecondRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequest.java deleted file mode 100644 index f4fec0296e3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Series Sum Request. - */ -public interface IBaseWorkbookFunctionsSeriesSumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSeriesSumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSeriesSumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSeriesSumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequestBuilder.java deleted file mode 100644 index 63703733406..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSeriesSumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSeriesSumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Series Sum Request Builder. - */ -public interface IBaseWorkbookFunctionsSeriesSumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSeriesSumRequest - * - * @return the IWorkbookFunctionsSeriesSumRequest instance - */ - IWorkbookFunctionsSeriesSumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSeriesSumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSeriesSumRequest instance - */ - IWorkbookFunctionsSeriesSumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequest.java deleted file mode 100644 index 2d5a33e58c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sheet Request. - */ -public interface IBaseWorkbookFunctionsSheetRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSheetRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSheetRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSheetRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequestBuilder.java deleted file mode 100644 index bbb58ae9d84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sheet Request Builder. - */ -public interface IBaseWorkbookFunctionsSheetRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSheetRequest - * - * @return the IWorkbookFunctionsSheetRequest instance - */ - IWorkbookFunctionsSheetRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSheetRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSheetRequest instance - */ - IWorkbookFunctionsSheetRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequest.java deleted file mode 100644 index 82b9d7d3053..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sheets Request. - */ -public interface IBaseWorkbookFunctionsSheetsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSheetsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSheetsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSheetsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequestBuilder.java deleted file mode 100644 index 5c95d30d603..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSheetsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSheetsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sheets Request Builder. - */ -public interface IBaseWorkbookFunctionsSheetsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSheetsRequest - * - * @return the IWorkbookFunctionsSheetsRequest instance - */ - IWorkbookFunctionsSheetsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSheetsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSheetsRequest instance - */ - IWorkbookFunctionsSheetsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequest.java deleted file mode 100644 index 8846ac659a1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sign Request. - */ -public interface IBaseWorkbookFunctionsSignRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSignRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSignRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSignRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequestBuilder.java deleted file mode 100644 index 7e2f51aa5e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSignRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSignRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sign Request Builder. - */ -public interface IBaseWorkbookFunctionsSignRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSignRequest - * - * @return the IWorkbookFunctionsSignRequest instance - */ - IWorkbookFunctionsSignRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSignRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSignRequest instance - */ - IWorkbookFunctionsSignRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequest.java deleted file mode 100644 index fcb4164a123..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sin Request. - */ -public interface IBaseWorkbookFunctionsSinRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSinRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSinRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSinRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequestBuilder.java deleted file mode 100644 index 1c294ec9e97..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sin Request Builder. - */ -public interface IBaseWorkbookFunctionsSinRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSinRequest - * - * @return the IWorkbookFunctionsSinRequest instance - */ - IWorkbookFunctionsSinRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSinRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSinRequest instance - */ - IWorkbookFunctionsSinRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequest.java deleted file mode 100644 index 8d32e3c9f0a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sinh Request. - */ -public interface IBaseWorkbookFunctionsSinhRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSinhRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSinhRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSinhRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequestBuilder.java deleted file mode 100644 index ce712dc25c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSinhRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSinhRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sinh Request Builder. - */ -public interface IBaseWorkbookFunctionsSinhRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSinhRequest - * - * @return the IWorkbookFunctionsSinhRequest instance - */ - IWorkbookFunctionsSinhRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSinhRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSinhRequest instance - */ - IWorkbookFunctionsSinhRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequest.java deleted file mode 100644 index cd4fcacbffb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Skew Request. - */ -public interface IBaseWorkbookFunctionsSkewRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSkewRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSkewRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSkewRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequestBuilder.java deleted file mode 100644 index 603f244d28e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkewRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Skew Request Builder. - */ -public interface IBaseWorkbookFunctionsSkewRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSkewRequest - * - * @return the IWorkbookFunctionsSkewRequest instance - */ - IWorkbookFunctionsSkewRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSkewRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSkewRequest instance - */ - IWorkbookFunctionsSkewRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequest.java deleted file mode 100644 index 801c018a5c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Skew_p Request. - */ -public interface IBaseWorkbookFunctionsSkew_pRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSkew_pRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSkew_pRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSkew_pRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequestBuilder.java deleted file mode 100644 index d8c32fb323e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSkew_pRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSkew_pRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Skew_p Request Builder. - */ -public interface IBaseWorkbookFunctionsSkew_pRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSkew_pRequest - * - * @return the IWorkbookFunctionsSkew_pRequest instance - */ - IWorkbookFunctionsSkew_pRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSkew_pRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSkew_pRequest instance - */ - IWorkbookFunctionsSkew_pRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequest.java deleted file mode 100644 index 412aa202485..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sln Request. - */ -public interface IBaseWorkbookFunctionsSlnRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSlnRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSlnRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSlnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequestBuilder.java deleted file mode 100644 index 4ada078c887..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSlnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSlnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sln Request Builder. - */ -public interface IBaseWorkbookFunctionsSlnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSlnRequest - * - * @return the IWorkbookFunctionsSlnRequest instance - */ - IWorkbookFunctionsSlnRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSlnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSlnRequest instance - */ - IWorkbookFunctionsSlnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequest.java deleted file mode 100644 index 4a406e6d2ac..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Small Request. - */ -public interface IBaseWorkbookFunctionsSmallRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSmallRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSmallRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSmallRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequestBuilder.java deleted file mode 100644 index 2f6485b80ef..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSmallRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSmallRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Small Request Builder. - */ -public interface IBaseWorkbookFunctionsSmallRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSmallRequest - * - * @return the IWorkbookFunctionsSmallRequest instance - */ - IWorkbookFunctionsSmallRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSmallRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSmallRequest instance - */ - IWorkbookFunctionsSmallRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequest.java deleted file mode 100644 index e231d60794a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sqrt Pi Request. - */ -public interface IBaseWorkbookFunctionsSqrtPiRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSqrtPiRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSqrtPiRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSqrtPiRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequestBuilder.java deleted file mode 100644 index bd6a332254b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtPiRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtPiRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sqrt Pi Request Builder. - */ -public interface IBaseWorkbookFunctionsSqrtPiRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSqrtPiRequest - * - * @return the IWorkbookFunctionsSqrtPiRequest instance - */ - IWorkbookFunctionsSqrtPiRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSqrtPiRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSqrtPiRequest instance - */ - IWorkbookFunctionsSqrtPiRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequest.java deleted file mode 100644 index b8b62a1d584..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sqrt Request. - */ -public interface IBaseWorkbookFunctionsSqrtRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSqrtRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSqrtRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSqrtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequestBuilder.java deleted file mode 100644 index ed578896757..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSqrtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSqrtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sqrt Request Builder. - */ -public interface IBaseWorkbookFunctionsSqrtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSqrtRequest - * - * @return the IWorkbookFunctionsSqrtRequest instance - */ - IWorkbookFunctionsSqrtRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSqrtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSqrtRequest instance - */ - IWorkbookFunctionsSqrtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequest.java deleted file mode 100644 index a7c7b8bfe44..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev ARequest. - */ -public interface IBaseWorkbookFunctionsStDevARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsStDevARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsStDevARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsStDevARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequestBuilder.java deleted file mode 100644 index f440d5117af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev ARequest Builder. - */ -public interface IBaseWorkbookFunctionsStDevARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsStDevARequest - * - * @return the IWorkbookFunctionsStDevARequest instance - */ - IWorkbookFunctionsStDevARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsStDevARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDevARequest instance - */ - IWorkbookFunctionsStDevARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequest.java deleted file mode 100644 index 08e2af63e4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev PARequest. - */ -public interface IBaseWorkbookFunctionsStDevPARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsStDevPARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsStDevPARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsStDevPARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequestBuilder.java deleted file mode 100644 index cfe544243c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDevPARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDevPARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev PARequest Builder. - */ -public interface IBaseWorkbookFunctionsStDevPARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsStDevPARequest - * - * @return the IWorkbookFunctionsStDevPARequest instance - */ - IWorkbookFunctionsStDevPARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsStDevPARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDevPARequest instance - */ - IWorkbookFunctionsStDevPARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequest.java deleted file mode 100644 index c97a54c7b3c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev_PRequest. - */ -public interface IBaseWorkbookFunctionsStDev_PRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsStDev_PRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsStDev_PRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsStDev_PRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequestBuilder.java deleted file mode 100644 index 978924b226a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_PRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_PRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev_PRequest Builder. - */ -public interface IBaseWorkbookFunctionsStDev_PRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsStDev_PRequest - * - * @return the IWorkbookFunctionsStDev_PRequest instance - */ - IWorkbookFunctionsStDev_PRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsStDev_PRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDev_PRequest instance - */ - IWorkbookFunctionsStDev_PRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequest.java deleted file mode 100644 index 1b4d10db8e1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev_SRequest. - */ -public interface IBaseWorkbookFunctionsStDev_SRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsStDev_SRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsStDev_SRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsStDev_SRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequestBuilder.java deleted file mode 100644 index 08ce005c667..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStDev_SRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStDev_SRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions St Dev_SRequest Builder. - */ -public interface IBaseWorkbookFunctionsStDev_SRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsStDev_SRequest - * - * @return the IWorkbookFunctionsStDev_SRequest instance - */ - IWorkbookFunctionsStDev_SRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsStDev_SRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStDev_SRequest instance - */ - IWorkbookFunctionsStDev_SRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequest.java deleted file mode 100644 index 2620190ad4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Standardize Request. - */ -public interface IBaseWorkbookFunctionsStandardizeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsStandardizeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsStandardizeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsStandardizeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequestBuilder.java deleted file mode 100644 index 66cd496fabd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsStandardizeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsStandardizeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Standardize Request Builder. - */ -public interface IBaseWorkbookFunctionsStandardizeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsStandardizeRequest - * - * @return the IWorkbookFunctionsStandardizeRequest instance - */ - IWorkbookFunctionsStandardizeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsStandardizeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsStandardizeRequest instance - */ - IWorkbookFunctionsStandardizeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequest.java deleted file mode 100644 index 6a67daa5e82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Substitute Request. - */ -public interface IBaseWorkbookFunctionsSubstituteRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSubstituteRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSubstituteRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSubstituteRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequestBuilder.java deleted file mode 100644 index 2862df00d10..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubstituteRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubstituteRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Substitute Request Builder. - */ -public interface IBaseWorkbookFunctionsSubstituteRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSubstituteRequest - * - * @return the IWorkbookFunctionsSubstituteRequest instance - */ - IWorkbookFunctionsSubstituteRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSubstituteRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSubstituteRequest instance - */ - IWorkbookFunctionsSubstituteRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequest.java deleted file mode 100644 index b0cc3365a8f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Subtotal Request. - */ -public interface IBaseWorkbookFunctionsSubtotalRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSubtotalRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSubtotalRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSubtotalRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequestBuilder.java deleted file mode 100644 index 84fad594439..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSubtotalRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSubtotalRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Subtotal Request Builder. - */ -public interface IBaseWorkbookFunctionsSubtotalRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSubtotalRequest - * - * @return the IWorkbookFunctionsSubtotalRequest instance - */ - IWorkbookFunctionsSubtotalRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSubtotalRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSubtotalRequest instance - */ - IWorkbookFunctionsSubtotalRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequest.java deleted file mode 100644 index 18bfcebf19e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum If Request. - */ -public interface IBaseWorkbookFunctionsSumIfRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSumIfRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSumIfRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSumIfRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequestBuilder.java deleted file mode 100644 index 83eea23a195..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum If Request Builder. - */ -public interface IBaseWorkbookFunctionsSumIfRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSumIfRequest - * - * @return the IWorkbookFunctionsSumIfRequest instance - */ - IWorkbookFunctionsSumIfRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSumIfRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumIfRequest instance - */ - IWorkbookFunctionsSumIfRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequest.java deleted file mode 100644 index ade4102c96e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum Ifs Request. - */ -public interface IBaseWorkbookFunctionsSumIfsRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSumIfsRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSumIfsRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSumIfsRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequestBuilder.java deleted file mode 100644 index 7ef8757de8c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumIfsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumIfsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum Ifs Request Builder. - */ -public interface IBaseWorkbookFunctionsSumIfsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSumIfsRequest - * - * @return the IWorkbookFunctionsSumIfsRequest instance - */ - IWorkbookFunctionsSumIfsRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSumIfsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumIfsRequest instance - */ - IWorkbookFunctionsSumIfsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequest.java deleted file mode 100644 index 5ba0160f896..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum Request. - */ -public interface IBaseWorkbookFunctionsSumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequestBuilder.java deleted file mode 100644 index f75d5458c11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum Request Builder. - */ -public interface IBaseWorkbookFunctionsSumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSumRequest - * - * @return the IWorkbookFunctionsSumRequest instance - */ - IWorkbookFunctionsSumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumRequest instance - */ - IWorkbookFunctionsSumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequest.java deleted file mode 100644 index 0043b83b461..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum Sq Request. - */ -public interface IBaseWorkbookFunctionsSumSqRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSumSqRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSumSqRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSumSqRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequestBuilder.java deleted file mode 100644 index d10494eccd8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSumSqRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSumSqRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Sum Sq Request Builder. - */ -public interface IBaseWorkbookFunctionsSumSqRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSumSqRequest - * - * @return the IWorkbookFunctionsSumSqRequest instance - */ - IWorkbookFunctionsSumSqRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSumSqRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSumSqRequest instance - */ - IWorkbookFunctionsSumSqRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequest.java deleted file mode 100644 index 8954067bcbb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Syd Request. - */ -public interface IBaseWorkbookFunctionsSydRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsSydRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsSydRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsSydRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequestBuilder.java deleted file mode 100644 index e3770fc0b6c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsSydRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsSydRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Syd Request Builder. - */ -public interface IBaseWorkbookFunctionsSydRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsSydRequest - * - * @return the IWorkbookFunctionsSydRequest instance - */ - IWorkbookFunctionsSydRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsSydRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsSydRequest instance - */ - IWorkbookFunctionsSydRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequest.java deleted file mode 100644 index 6da2b243f82..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions TRequest. - */ -public interface IBaseWorkbookFunctionsTRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequestBuilder.java deleted file mode 100644 index 59a04c22124..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions TRequest Builder. - */ -public interface IBaseWorkbookFunctionsTRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTRequest - * - * @return the IWorkbookFunctionsTRequest instance - */ - IWorkbookFunctionsTRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTRequest instance - */ - IWorkbookFunctionsTRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequest.java deleted file mode 100644 index c861bede6ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Dist Request. - */ -public interface IBaseWorkbookFunctionsT_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsT_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsT_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsT_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequestBuilder.java deleted file mode 100644 index 24ee2561d79..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsT_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsT_DistRequest - * - * @return the IWorkbookFunctionsT_DistRequest instance - */ - IWorkbookFunctionsT_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsT_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_DistRequest instance - */ - IWorkbookFunctionsT_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequest.java deleted file mode 100644 index 4355461bb94..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Dist_2TRequest. - */ -public interface IBaseWorkbookFunctionsT_Dist_2TRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsT_Dist_2TRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsT_Dist_2TRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsT_Dist_2TRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequestBuilder.java deleted file mode 100644 index 246fed413ae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_2TRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_2TRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Dist_2TRequest Builder. - */ -public interface IBaseWorkbookFunctionsT_Dist_2TRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsT_Dist_2TRequest - * - * @return the IWorkbookFunctionsT_Dist_2TRequest instance - */ - IWorkbookFunctionsT_Dist_2TRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsT_Dist_2TRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_Dist_2TRequest instance - */ - IWorkbookFunctionsT_Dist_2TRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequest.java deleted file mode 100644 index 322002b1d1f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Dist_RTRequest. - */ -public interface IBaseWorkbookFunctionsT_Dist_RTRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsT_Dist_RTRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsT_Dist_RTRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsT_Dist_RTRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequestBuilder.java deleted file mode 100644 index 857b65c9e69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Dist_RTRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Dist_RTRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Dist_RTRequest Builder. - */ -public interface IBaseWorkbookFunctionsT_Dist_RTRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsT_Dist_RTRequest - * - * @return the IWorkbookFunctionsT_Dist_RTRequest instance - */ - IWorkbookFunctionsT_Dist_RTRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsT_Dist_RTRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_Dist_RTRequest instance - */ - IWorkbookFunctionsT_Dist_RTRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequest.java deleted file mode 100644 index 560249f46f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Inv Request. - */ -public interface IBaseWorkbookFunctionsT_InvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsT_InvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsT_InvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsT_InvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequestBuilder.java deleted file mode 100644 index f1480579a43..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_InvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_InvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Inv Request Builder. - */ -public interface IBaseWorkbookFunctionsT_InvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsT_InvRequest - * - * @return the IWorkbookFunctionsT_InvRequest instance - */ - IWorkbookFunctionsT_InvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsT_InvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_InvRequest instance - */ - IWorkbookFunctionsT_InvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequest.java deleted file mode 100644 index 7af1b173470..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Inv_2TRequest. - */ -public interface IBaseWorkbookFunctionsT_Inv_2TRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsT_Inv_2TRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsT_Inv_2TRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsT_Inv_2TRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequestBuilder.java deleted file mode 100644 index bf19dd13d33..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsT_Inv_2TRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsT_Inv_2TRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions T_Inv_2TRequest Builder. - */ -public interface IBaseWorkbookFunctionsT_Inv_2TRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsT_Inv_2TRequest - * - * @return the IWorkbookFunctionsT_Inv_2TRequest instance - */ - IWorkbookFunctionsT_Inv_2TRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsT_Inv_2TRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsT_Inv_2TRequest instance - */ - IWorkbookFunctionsT_Inv_2TRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequest.java deleted file mode 100644 index a57ac5502df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tan Request. - */ -public interface IBaseWorkbookFunctionsTanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequestBuilder.java deleted file mode 100644 index 8bef8403fdf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tan Request Builder. - */ -public interface IBaseWorkbookFunctionsTanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTanRequest - * - * @return the IWorkbookFunctionsTanRequest instance - */ - IWorkbookFunctionsTanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTanRequest instance - */ - IWorkbookFunctionsTanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequest.java deleted file mode 100644 index facda88c5fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tanh Request. - */ -public interface IBaseWorkbookFunctionsTanhRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTanhRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTanhRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTanhRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequestBuilder.java deleted file mode 100644 index 6b4f286de46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTanhRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTanhRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tanh Request Builder. - */ -public interface IBaseWorkbookFunctionsTanhRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTanhRequest - * - * @return the IWorkbookFunctionsTanhRequest instance - */ - IWorkbookFunctionsTanhRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTanhRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTanhRequest instance - */ - IWorkbookFunctionsTanhRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequest.java deleted file mode 100644 index 1de21a619fc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tbill Eq Request. - */ -public interface IBaseWorkbookFunctionsTbillEqRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTbillEqRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTbillEqRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTbillEqRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequestBuilder.java deleted file mode 100644 index 80c4592e294..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillEqRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillEqRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tbill Eq Request Builder. - */ -public interface IBaseWorkbookFunctionsTbillEqRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTbillEqRequest - * - * @return the IWorkbookFunctionsTbillEqRequest instance - */ - IWorkbookFunctionsTbillEqRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTbillEqRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTbillEqRequest instance - */ - IWorkbookFunctionsTbillEqRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequest.java deleted file mode 100644 index 70c867d5133..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tbill Price Request. - */ -public interface IBaseWorkbookFunctionsTbillPriceRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTbillPriceRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTbillPriceRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTbillPriceRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequestBuilder.java deleted file mode 100644 index 52b5628ca75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillPriceRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillPriceRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tbill Price Request Builder. - */ -public interface IBaseWorkbookFunctionsTbillPriceRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTbillPriceRequest - * - * @return the IWorkbookFunctionsTbillPriceRequest instance - */ - IWorkbookFunctionsTbillPriceRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTbillPriceRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTbillPriceRequest instance - */ - IWorkbookFunctionsTbillPriceRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequest.java deleted file mode 100644 index e370a9fc449..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tbill Yield Request. - */ -public interface IBaseWorkbookFunctionsTbillYieldRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTbillYieldRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTbillYieldRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTbillYieldRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequestBuilder.java deleted file mode 100644 index 910b32bed6c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTbillYieldRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTbillYieldRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Tbill Yield Request Builder. - */ -public interface IBaseWorkbookFunctionsTbillYieldRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTbillYieldRequest - * - * @return the IWorkbookFunctionsTbillYieldRequest instance - */ - IWorkbookFunctionsTbillYieldRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTbillYieldRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTbillYieldRequest instance - */ - IWorkbookFunctionsTbillYieldRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequest.java deleted file mode 100644 index d0f98f397b3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Text Request. - */ -public interface IBaseWorkbookFunctionsTextRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTextRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTextRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTextRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequestBuilder.java deleted file mode 100644 index a7a99595f71..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTextRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTextRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Text Request Builder. - */ -public interface IBaseWorkbookFunctionsTextRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTextRequest - * - * @return the IWorkbookFunctionsTextRequest instance - */ - IWorkbookFunctionsTextRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTextRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTextRequest instance - */ - IWorkbookFunctionsTextRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequest.java deleted file mode 100644 index b4b70bec4d5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Time Request. - */ -public interface IBaseWorkbookFunctionsTimeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTimeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTimeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTimeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequestBuilder.java deleted file mode 100644 index a0d767dd0ce..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Time Request Builder. - */ -public interface IBaseWorkbookFunctionsTimeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTimeRequest - * - * @return the IWorkbookFunctionsTimeRequest instance - */ - IWorkbookFunctionsTimeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTimeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTimeRequest instance - */ - IWorkbookFunctionsTimeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequest.java deleted file mode 100644 index e456445a6ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Timevalue Request. - */ -public interface IBaseWorkbookFunctionsTimevalueRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTimevalueRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTimevalueRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTimevalueRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequestBuilder.java deleted file mode 100644 index 1ea1e2655a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTimevalueRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTimevalueRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Timevalue Request Builder. - */ -public interface IBaseWorkbookFunctionsTimevalueRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTimevalueRequest - * - * @return the IWorkbookFunctionsTimevalueRequest instance - */ - IWorkbookFunctionsTimevalueRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTimevalueRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTimevalueRequest instance - */ - IWorkbookFunctionsTimevalueRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequest.java deleted file mode 100644 index 97c0fedd300..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Today Request. - */ -public interface IBaseWorkbookFunctionsTodayRequest { - - /** - * Creates the WorkbookFunctionsToday - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsToday - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTodayRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTodayRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequestBuilder.java deleted file mode 100644 index 0c0cb40e4c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTodayRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTodayRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Today Request Builder. - */ -public interface IBaseWorkbookFunctionsTodayRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTodayRequest - * - * @return the IWorkbookFunctionsTodayRequest instance - */ - IWorkbookFunctionsTodayRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTodayRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTodayRequest instance - */ - IWorkbookFunctionsTodayRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequest.java deleted file mode 100644 index 9a311cdc7dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Trim Mean Request. - */ -public interface IBaseWorkbookFunctionsTrimMeanRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTrimMeanRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTrimMeanRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTrimMeanRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequestBuilder.java deleted file mode 100644 index 98a0d741cfc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimMeanRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimMeanRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Trim Mean Request Builder. - */ -public interface IBaseWorkbookFunctionsTrimMeanRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTrimMeanRequest - * - * @return the IWorkbookFunctionsTrimMeanRequest instance - */ - IWorkbookFunctionsTrimMeanRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTrimMeanRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTrimMeanRequest instance - */ - IWorkbookFunctionsTrimMeanRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequest.java deleted file mode 100644 index 2e65be4d922..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Trim Request. - */ -public interface IBaseWorkbookFunctionsTrimRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTrimRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTrimRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTrimRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequestBuilder.java deleted file mode 100644 index f7783fcc7b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrimRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrimRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Trim Request Builder. - */ -public interface IBaseWorkbookFunctionsTrimRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTrimRequest - * - * @return the IWorkbookFunctionsTrimRequest instance - */ - IWorkbookFunctionsTrimRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTrimRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTrimRequest instance - */ - IWorkbookFunctionsTrimRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequest.java deleted file mode 100644 index f1c81eeb691..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions True Request. - */ -public interface IBaseWorkbookFunctionsTrueRequest { - - /** - * Creates the WorkbookFunctionsTrue - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookFunctionsTrue - * - * @return the WorkbookFunctionResult - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTrueRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTrueRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequestBuilder.java deleted file mode 100644 index 0425da35e7a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTrueRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTrueRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions True Request Builder. - */ -public interface IBaseWorkbookFunctionsTrueRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTrueRequest - * - * @return the IWorkbookFunctionsTrueRequest instance - */ - IWorkbookFunctionsTrueRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTrueRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTrueRequest instance - */ - IWorkbookFunctionsTrueRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequest.java deleted file mode 100644 index 870c799de31..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Trunc Request. - */ -public interface IBaseWorkbookFunctionsTruncRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTruncRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTruncRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTruncRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequestBuilder.java deleted file mode 100644 index 1cef9177b56..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTruncRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTruncRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Trunc Request Builder. - */ -public interface IBaseWorkbookFunctionsTruncRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTruncRequest - * - * @return the IWorkbookFunctionsTruncRequest instance - */ - IWorkbookFunctionsTruncRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTruncRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTruncRequest instance - */ - IWorkbookFunctionsTruncRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequest.java deleted file mode 100644 index 8ab5c2221da..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Type Request. - */ -public interface IBaseWorkbookFunctionsTypeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsTypeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsTypeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsTypeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequestBuilder.java deleted file mode 100644 index 6f688bace7c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsTypeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsTypeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Type Request Builder. - */ -public interface IBaseWorkbookFunctionsTypeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsTypeRequest - * - * @return the IWorkbookFunctionsTypeRequest instance - */ - IWorkbookFunctionsTypeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsTypeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsTypeRequest instance - */ - IWorkbookFunctionsTypeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequest.java deleted file mode 100644 index 0529e7c1da7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Unichar Request. - */ -public interface IBaseWorkbookFunctionsUnicharRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsUnicharRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsUnicharRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsUnicharRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequestBuilder.java deleted file mode 100644 index 351e919a002..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicharRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicharRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Unichar Request Builder. - */ -public interface IBaseWorkbookFunctionsUnicharRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsUnicharRequest - * - * @return the IWorkbookFunctionsUnicharRequest instance - */ - IWorkbookFunctionsUnicharRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsUnicharRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUnicharRequest instance - */ - IWorkbookFunctionsUnicharRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequest.java deleted file mode 100644 index 9c3a9f6760d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Unicode Request. - */ -public interface IBaseWorkbookFunctionsUnicodeRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsUnicodeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsUnicodeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsUnicodeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequestBuilder.java deleted file mode 100644 index 7b5ff0db2fb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUnicodeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUnicodeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Unicode Request Builder. - */ -public interface IBaseWorkbookFunctionsUnicodeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsUnicodeRequest - * - * @return the IWorkbookFunctionsUnicodeRequest instance - */ - IWorkbookFunctionsUnicodeRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsUnicodeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUnicodeRequest instance - */ - IWorkbookFunctionsUnicodeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequest.java deleted file mode 100644 index 04cfb628eda..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Upper Request. - */ -public interface IBaseWorkbookFunctionsUpperRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsUpperRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsUpperRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsUpperRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequestBuilder.java deleted file mode 100644 index 1b3b16b48a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUpperRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUpperRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Upper Request Builder. - */ -public interface IBaseWorkbookFunctionsUpperRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsUpperRequest - * - * @return the IWorkbookFunctionsUpperRequest instance - */ - IWorkbookFunctionsUpperRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsUpperRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUpperRequest instance - */ - IWorkbookFunctionsUpperRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequest.java deleted file mode 100644 index bf52b86bb6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Usdollar Request. - */ -public interface IBaseWorkbookFunctionsUsdollarRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsUsdollarRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsUsdollarRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsUsdollarRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequestBuilder.java deleted file mode 100644 index 034eb2c4519..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsUsdollarRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsUsdollarRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Usdollar Request Builder. - */ -public interface IBaseWorkbookFunctionsUsdollarRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsUsdollarRequest - * - * @return the IWorkbookFunctionsUsdollarRequest instance - */ - IWorkbookFunctionsUsdollarRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsUsdollarRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsUsdollarRequest instance - */ - IWorkbookFunctionsUsdollarRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequest.java deleted file mode 100644 index 04b257e83a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Value Request. - */ -public interface IBaseWorkbookFunctionsValueRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsValueRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsValueRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsValueRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequestBuilder.java deleted file mode 100644 index d4dcdc53ad1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsValueRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsValueRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Value Request Builder. - */ -public interface IBaseWorkbookFunctionsValueRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsValueRequest - * - * @return the IWorkbookFunctionsValueRequest instance - */ - IWorkbookFunctionsValueRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsValueRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsValueRequest instance - */ - IWorkbookFunctionsValueRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequest.java deleted file mode 100644 index daf204366ea..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var ARequest. - */ -public interface IBaseWorkbookFunctionsVarARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsVarARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsVarARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsVarARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequestBuilder.java deleted file mode 100644 index d01cc6b34ed..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var ARequest Builder. - */ -public interface IBaseWorkbookFunctionsVarARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsVarARequest - * - * @return the IWorkbookFunctionsVarARequest instance - */ - IWorkbookFunctionsVarARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsVarARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVarARequest instance - */ - IWorkbookFunctionsVarARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequest.java deleted file mode 100644 index 3adfdf87abc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var PARequest. - */ -public interface IBaseWorkbookFunctionsVarPARequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsVarPARequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsVarPARequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsVarPARequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequestBuilder.java deleted file mode 100644 index b6dd35a9634..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVarPARequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVarPARequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var PARequest Builder. - */ -public interface IBaseWorkbookFunctionsVarPARequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsVarPARequest - * - * @return the IWorkbookFunctionsVarPARequest instance - */ - IWorkbookFunctionsVarPARequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsVarPARequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVarPARequest instance - */ - IWorkbookFunctionsVarPARequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequest.java deleted file mode 100644 index 49d5a22f5f4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var_PRequest. - */ -public interface IBaseWorkbookFunctionsVar_PRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsVar_PRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsVar_PRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsVar_PRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequestBuilder.java deleted file mode 100644 index d00c572ce35..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_PRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_PRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var_PRequest Builder. - */ -public interface IBaseWorkbookFunctionsVar_PRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsVar_PRequest - * - * @return the IWorkbookFunctionsVar_PRequest instance - */ - IWorkbookFunctionsVar_PRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsVar_PRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVar_PRequest instance - */ - IWorkbookFunctionsVar_PRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequest.java deleted file mode 100644 index 2f3e4b4516a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var_SRequest. - */ -public interface IBaseWorkbookFunctionsVar_SRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsVar_SRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsVar_SRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsVar_SRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequestBuilder.java deleted file mode 100644 index 6eb0b6ff87d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVar_SRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVar_SRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Var_SRequest Builder. - */ -public interface IBaseWorkbookFunctionsVar_SRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsVar_SRequest - * - * @return the IWorkbookFunctionsVar_SRequest instance - */ - IWorkbookFunctionsVar_SRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsVar_SRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVar_SRequest instance - */ - IWorkbookFunctionsVar_SRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequest.java deleted file mode 100644 index f50ef8b8b7e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Vdb Request. - */ -public interface IBaseWorkbookFunctionsVdbRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsVdbRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsVdbRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsVdbRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequestBuilder.java deleted file mode 100644 index 701862c620e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVdbRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVdbRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Vdb Request Builder. - */ -public interface IBaseWorkbookFunctionsVdbRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsVdbRequest - * - * @return the IWorkbookFunctionsVdbRequest instance - */ - IWorkbookFunctionsVdbRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsVdbRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVdbRequest instance - */ - IWorkbookFunctionsVdbRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequest.java deleted file mode 100644 index 71f7d7414df..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Vlookup Request. - */ -public interface IBaseWorkbookFunctionsVlookupRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsVlookupRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsVlookupRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsVlookupRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequestBuilder.java deleted file mode 100644 index c1eb6a4c85f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsVlookupRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsVlookupRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Vlookup Request Builder. - */ -public interface IBaseWorkbookFunctionsVlookupRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsVlookupRequest - * - * @return the IWorkbookFunctionsVlookupRequest instance - */ - IWorkbookFunctionsVlookupRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsVlookupRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsVlookupRequest instance - */ - IWorkbookFunctionsVlookupRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequest.java deleted file mode 100644 index 194ec5769e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Week Num Request. - */ -public interface IBaseWorkbookFunctionsWeekNumRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsWeekNumRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsWeekNumRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsWeekNumRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequestBuilder.java deleted file mode 100644 index 81a6b6e5c12..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekNumRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekNumRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Week Num Request Builder. - */ -public interface IBaseWorkbookFunctionsWeekNumRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsWeekNumRequest - * - * @return the IWorkbookFunctionsWeekNumRequest instance - */ - IWorkbookFunctionsWeekNumRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsWeekNumRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWeekNumRequest instance - */ - IWorkbookFunctionsWeekNumRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequest.java deleted file mode 100644 index 6fa90e34ef3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Weekday Request. - */ -public interface IBaseWorkbookFunctionsWeekdayRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsWeekdayRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsWeekdayRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsWeekdayRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequestBuilder.java deleted file mode 100644 index dce4adfe096..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeekdayRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeekdayRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Weekday Request Builder. - */ -public interface IBaseWorkbookFunctionsWeekdayRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsWeekdayRequest - * - * @return the IWorkbookFunctionsWeekdayRequest instance - */ - IWorkbookFunctionsWeekdayRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsWeekdayRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWeekdayRequest instance - */ - IWorkbookFunctionsWeekdayRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequest.java deleted file mode 100644 index 547173f919f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Weibull_Dist Request. - */ -public interface IBaseWorkbookFunctionsWeibull_DistRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsWeibull_DistRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsWeibull_DistRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsWeibull_DistRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequestBuilder.java deleted file mode 100644 index 69c5b996baf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWeibull_DistRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWeibull_DistRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Weibull_Dist Request Builder. - */ -public interface IBaseWorkbookFunctionsWeibull_DistRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsWeibull_DistRequest - * - * @return the IWorkbookFunctionsWeibull_DistRequest instance - */ - IWorkbookFunctionsWeibull_DistRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsWeibull_DistRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWeibull_DistRequest instance - */ - IWorkbookFunctionsWeibull_DistRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequest.java deleted file mode 100644 index dd9634de451..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Work Day Request. - */ -public interface IBaseWorkbookFunctionsWorkDayRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsWorkDayRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsWorkDayRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsWorkDayRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequestBuilder.java deleted file mode 100644 index 85655bdce9c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDayRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDayRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Work Day Request Builder. - */ -public interface IBaseWorkbookFunctionsWorkDayRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsWorkDayRequest - * - * @return the IWorkbookFunctionsWorkDayRequest instance - */ - IWorkbookFunctionsWorkDayRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsWorkDayRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWorkDayRequest instance - */ - IWorkbookFunctionsWorkDayRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequest.java deleted file mode 100644 index 73611d664bc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Work Day_Intl Request. - */ -public interface IBaseWorkbookFunctionsWorkDay_IntlRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsWorkDay_IntlRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsWorkDay_IntlRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsWorkDay_IntlRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java deleted file mode 100644 index bd838961807..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsWorkDay_IntlRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Work Day_Intl Request Builder. - */ -public interface IBaseWorkbookFunctionsWorkDay_IntlRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsWorkDay_IntlRequest - * - * @return the IWorkbookFunctionsWorkDay_IntlRequest instance - */ - IWorkbookFunctionsWorkDay_IntlRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsWorkDay_IntlRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsWorkDay_IntlRequest instance - */ - IWorkbookFunctionsWorkDay_IntlRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequest.java deleted file mode 100644 index 47bcb712e26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Xirr Request. - */ -public interface IBaseWorkbookFunctionsXirrRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsXirrRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsXirrRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsXirrRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequestBuilder.java deleted file mode 100644 index d58ea731cf5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXirrRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXirrRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Xirr Request Builder. - */ -public interface IBaseWorkbookFunctionsXirrRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsXirrRequest - * - * @return the IWorkbookFunctionsXirrRequest instance - */ - IWorkbookFunctionsXirrRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsXirrRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsXirrRequest instance - */ - IWorkbookFunctionsXirrRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequest.java deleted file mode 100644 index 7e520146fb3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Xnpv Request. - */ -public interface IBaseWorkbookFunctionsXnpvRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsXnpvRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsXnpvRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsXnpvRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequestBuilder.java deleted file mode 100644 index 9e332ad39e9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXnpvRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXnpvRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Xnpv Request Builder. - */ -public interface IBaseWorkbookFunctionsXnpvRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsXnpvRequest - * - * @return the IWorkbookFunctionsXnpvRequest instance - */ - IWorkbookFunctionsXnpvRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsXnpvRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsXnpvRequest instance - */ - IWorkbookFunctionsXnpvRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequest.java deleted file mode 100644 index ccce154d368..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Xor Request. - */ -public interface IBaseWorkbookFunctionsXorRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsXorRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsXorRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsXorRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequestBuilder.java deleted file mode 100644 index 1439c2203a2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsXorRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsXorRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Xor Request Builder. - */ -public interface IBaseWorkbookFunctionsXorRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsXorRequest - * - * @return the IWorkbookFunctionsXorRequest instance - */ - IWorkbookFunctionsXorRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsXorRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsXorRequest instance - */ - IWorkbookFunctionsXorRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequest.java deleted file mode 100644 index 9d87194f562..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Year Frac Request. - */ -public interface IBaseWorkbookFunctionsYearFracRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsYearFracRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsYearFracRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsYearFracRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequestBuilder.java deleted file mode 100644 index c67d62a9bf4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearFracRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearFracRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Year Frac Request Builder. - */ -public interface IBaseWorkbookFunctionsYearFracRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsYearFracRequest - * - * @return the IWorkbookFunctionsYearFracRequest instance - */ - IWorkbookFunctionsYearFracRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsYearFracRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYearFracRequest instance - */ - IWorkbookFunctionsYearFracRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequest.java deleted file mode 100644 index ba34a847109..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Year Request. - */ -public interface IBaseWorkbookFunctionsYearRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsYearRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsYearRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsYearRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequestBuilder.java deleted file mode 100644 index 24792dc27e4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Year Request Builder. - */ -public interface IBaseWorkbookFunctionsYearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsYearRequest - * - * @return the IWorkbookFunctionsYearRequest instance - */ - IWorkbookFunctionsYearRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsYearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYearRequest instance - */ - IWorkbookFunctionsYearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequest.java deleted file mode 100644 index 5dc8951b482..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Yield Disc Request. - */ -public interface IBaseWorkbookFunctionsYieldDiscRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsYieldDiscRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsYieldDiscRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsYieldDiscRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequestBuilder.java deleted file mode 100644 index b6da679e0d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldDiscRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldDiscRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Yield Disc Request Builder. - */ -public interface IBaseWorkbookFunctionsYieldDiscRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsYieldDiscRequest - * - * @return the IWorkbookFunctionsYieldDiscRequest instance - */ - IWorkbookFunctionsYieldDiscRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsYieldDiscRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYieldDiscRequest instance - */ - IWorkbookFunctionsYieldDiscRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequest.java deleted file mode 100644 index 6b0a79eca45..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Yield Mat Request. - */ -public interface IBaseWorkbookFunctionsYieldMatRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsYieldMatRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsYieldMatRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsYieldMatRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequestBuilder.java deleted file mode 100644 index 6323bf90491..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldMatRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldMatRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Yield Mat Request Builder. - */ -public interface IBaseWorkbookFunctionsYieldMatRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsYieldMatRequest - * - * @return the IWorkbookFunctionsYieldMatRequest instance - */ - IWorkbookFunctionsYieldMatRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsYieldMatRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYieldMatRequest instance - */ - IWorkbookFunctionsYieldMatRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequest.java deleted file mode 100644 index 8047818684a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Yield Request. - */ -public interface IBaseWorkbookFunctionsYieldRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsYieldRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsYieldRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsYieldRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequestBuilder.java deleted file mode 100644 index 9b0470c2099..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsYieldRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsYieldRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Yield Request Builder. - */ -public interface IBaseWorkbookFunctionsYieldRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsYieldRequest - * - * @return the IWorkbookFunctionsYieldRequest instance - */ - IWorkbookFunctionsYieldRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsYieldRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsYieldRequest instance - */ - IWorkbookFunctionsYieldRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequest.java deleted file mode 100644 index 0778f7924a0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookFunctionResult; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Z_Test Request. - */ -public interface IBaseWorkbookFunctionsZ_TestRequest { - - void post(final ICallback callback); - - WorkbookFunctionResult post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookFunctionsZ_TestRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookFunctionsZ_TestRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookFunctionsZ_TestRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequestBuilder.java deleted file mode 100644 index cec10da233c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookFunctionsZ_TestRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsZ_TestRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Functions Z_Test Request Builder. - */ -public interface IBaseWorkbookFunctionsZ_TestRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookFunctionsZ_TestRequest - * - * @return the IWorkbookFunctionsZ_TestRequest instance - */ - IWorkbookFunctionsZ_TestRequest buildRequest(); - - /** - * Creates the IWorkbookFunctionsZ_TestRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookFunctionsZ_TestRequest instance - */ - IWorkbookFunctionsZ_TestRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequest.java deleted file mode 100644 index 02a0afae137..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Add Formula Local Request. - */ -public interface IBaseWorkbookNamedItemAddFormulaLocalRequest { - - void post(final ICallback callback); - - WorkbookNamedItem post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookNamedItemAddFormulaLocalRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookNamedItemAddFormulaLocalRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookNamedItemAddFormulaLocalRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java deleted file mode 100644 index 42d4eaf9d02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddFormulaLocalRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Add Formula Local Request Builder. - */ -public interface IBaseWorkbookNamedItemAddFormulaLocalRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookNamedItemAddFormulaLocalRequest - * - * @return the IWorkbookNamedItemAddFormulaLocalRequest instance - */ - IWorkbookNamedItemAddFormulaLocalRequest buildRequest(); - - /** - * Creates the IWorkbookNamedItemAddFormulaLocalRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookNamedItemAddFormulaLocalRequest instance - */ - IWorkbookNamedItemAddFormulaLocalRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequest.java deleted file mode 100644 index f88c767e368..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Add Request. - */ -public interface IBaseWorkbookNamedItemAddRequest { - - void post(final ICallback callback); - - WorkbookNamedItem post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookNamedItemAddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookNamedItemAddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookNamedItemAddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequestBuilder.java deleted file mode 100644 index 5eb39fefa70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemAddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemAddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Add Request Builder. - */ -public interface IBaseWorkbookNamedItemAddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookNamedItemAddRequest - * - * @return the IWorkbookNamedItemAddRequest instance - */ - IWorkbookNamedItemAddRequest buildRequest(); - - /** - * Creates the IWorkbookNamedItemAddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookNamedItemAddRequest instance - */ - IWorkbookNamedItemAddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionPage.java deleted file mode 100644 index 1f824fce2ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Collection Page. - */ -public interface IBaseWorkbookNamedItemCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequest.java deleted file mode 100644 index 9d085ac5040..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Collection Request. - */ -public interface IBaseWorkbookNamedItemCollectionRequest { - - void get(final ICallback callback); - - IWorkbookNamedItemCollectionPage get() throws ClientException; - - void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback); - - WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookNamedItemCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookNamedItemCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookNamedItemCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequestBuilder.java deleted file mode 100644 index e7eb7fc140a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Collection Request Builder. - */ -public interface IBaseWorkbookNamedItemCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookNamedItemCollectionRequest buildRequest(); - - IWorkbookNamedItemCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookNamedItemRequestBuilder byId(final String id); - - IWorkbookNamedItemAddRequestBuilder add(final String name, final com.google.gson.JsonElement reference, final String comment); - IWorkbookNamedItemAddFormulaLocalRequestBuilder addFormulaLocal(final String name, final String formula, final String comment); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequest.java deleted file mode 100644 index 779a21038dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Range Request. - */ -public interface IBaseWorkbookNamedItemRangeRequest { - - /** - * Patches the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookNamedItemRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookNamedItemRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookNamedItemRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequestBuilder.java deleted file mode 100644 index cdc13bc7204..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Range Request Builder. - */ -public interface IBaseWorkbookNamedItemRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookNamedItemRangeRequest - * - * @return the IWorkbookNamedItemRangeRequest instance - */ - IWorkbookNamedItemRangeRequest buildRequest(); - - /** - * Creates the IWorkbookNamedItemRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookNamedItemRangeRequest instance - */ - IWorkbookNamedItemRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequest.java deleted file mode 100644 index a3fa38d1254..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookNamedItem; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Request. - */ -public interface IBaseWorkbookNamedItemRequest extends IHttpRequest { - - /** - * Gets the WorkbookNamedItem from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookNamedItem from the service - * - * @return the WorkbookNamedItem from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookNamedItem get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookNamedItem with a source - * - * @param sourceWorkbookNamedItem the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookNamedItem sourceWorkbookNamedItem, final ICallback callback); - - /** - * Patches this WorkbookNamedItem with a source - * - * @param sourceWorkbookNamedItem the source object with updates - * @return the updated WorkbookNamedItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookNamedItem patch(final WorkbookNamedItem sourceWorkbookNamedItem) throws ClientException; - - /** - * Posts a WorkbookNamedItem with a new object - * - * @param newWorkbookNamedItem the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback); - - /** - * Posts a WorkbookNamedItem with a new object - * - * @param newWorkbookNamedItem the new object to create - * @return the created WorkbookNamedItem - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookNamedItemRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookNamedItemRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequestBuilder.java deleted file mode 100644 index 593135d4780..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookNamedItemRequestBuilder.java +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequest; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRangeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Named Item Request Builder. - */ -public interface IBaseWorkbookNamedItemRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookNamedItemRequest instance - */ - IWorkbookNamedItemRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookNamedItemRequest instance - */ - IWorkbookNamedItemRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - IWorkbookWorksheetRequestBuilder worksheet(); - IWorkbookNamedItemRangeRequestBuilder range(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionPage.java deleted file mode 100644 index 184dcda925e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Collection Page. - */ -public interface IBaseWorkbookPivotTableCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequest.java deleted file mode 100644 index c0c7ac2393b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Collection Request. - */ -public interface IBaseWorkbookPivotTableCollectionRequest { - - void get(final ICallback callback); - - IWorkbookPivotTableCollectionPage get() throws ClientException; - - void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback); - - WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookPivotTableCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookPivotTableCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookPivotTableCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequestBuilder.java deleted file mode 100644 index 14e043b9a62..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableCollectionRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Collection Request Builder. - */ -public interface IBaseWorkbookPivotTableCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookPivotTableCollectionRequest buildRequest(); - - IWorkbookPivotTableCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookPivotTableRequestBuilder byId(final String id); - - IWorkbookPivotTableRefreshAllRequestBuilder refreshAll(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequest.java deleted file mode 100644 index 6bb4819e051..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Refresh All Request. - */ -public interface IBaseWorkbookPivotTableRefreshAllRequest { - - /** - * Creates the WorkbookPivotTableRefreshAll - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookPivotTableRefreshAll - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequestBuilder.java deleted file mode 100644 index bcdba46fa4a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshAllRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshAllRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Refresh All Request Builder. - */ -public interface IBaseWorkbookPivotTableRefreshAllRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookPivotTableRefreshAllRequest - * - * @return the IWorkbookPivotTableRefreshAllRequest instance - */ - IWorkbookPivotTableRefreshAllRequest buildRequest(); - - /** - * Creates the IWorkbookPivotTableRefreshAllRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookPivotTableRefreshAllRequest instance - */ - IWorkbookPivotTableRefreshAllRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequest.java deleted file mode 100644 index 2a51a963168..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Refresh Request. - */ -public interface IBaseWorkbookPivotTableRefreshRequest { - - /** - * Creates the WorkbookPivotTableRefresh - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookPivotTableRefresh - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequestBuilder.java deleted file mode 100644 index 3baa1c7d7ca..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRefreshRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Refresh Request Builder. - */ -public interface IBaseWorkbookPivotTableRefreshRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookPivotTableRefreshRequest - * - * @return the IWorkbookPivotTableRefreshRequest instance - */ - IWorkbookPivotTableRefreshRequest buildRequest(); - - /** - * Creates the IWorkbookPivotTableRefreshRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookPivotTableRefreshRequest instance - */ - IWorkbookPivotTableRefreshRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequest.java deleted file mode 100644 index 0632cd45d21..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookPivotTable; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Request. - */ -public interface IBaseWorkbookPivotTableRequest extends IHttpRequest { - - /** - * Gets the WorkbookPivotTable from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookPivotTable from the service - * - * @return the WorkbookPivotTable from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookPivotTable get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookPivotTable with a source - * - * @param sourceWorkbookPivotTable the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookPivotTable sourceWorkbookPivotTable, final ICallback callback); - - /** - * Patches this WorkbookPivotTable with a source - * - * @param sourceWorkbookPivotTable the source object with updates - * @return the updated WorkbookPivotTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookPivotTable patch(final WorkbookPivotTable sourceWorkbookPivotTable) throws ClientException; - - /** - * Posts a WorkbookPivotTable with a new object - * - * @param newWorkbookPivotTable the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback); - - /** - * Posts a WorkbookPivotTable with a new object - * - * @param newWorkbookPivotTable the new object to create - * @return the created WorkbookPivotTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookPivotTableRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookPivotTableRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequestBuilder.java deleted file mode 100644 index efcc580935f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookPivotTableRequestBuilder.java +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequest; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRefreshRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Pivot Table Request Builder. - */ -public interface IBaseWorkbookPivotTableRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookPivotTableRequest instance - */ - IWorkbookPivotTableRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookPivotTableRequest instance - */ - IWorkbookPivotTableRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - IWorkbookWorksheetRequestBuilder worksheet(); - IWorkbookPivotTableRefreshRequestBuilder refresh(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequest.java deleted file mode 100644 index fe8a1bf1028..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Process Query Request. - */ -public interface IBaseWorkbookProcessQueryRequest { - - void post(final ICallback callback); - - java.io.InputStream post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookProcessQueryRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookProcessQueryRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookProcessQueryRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequestBuilder.java deleted file mode 100644 index 27ef53e1387..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookProcessQueryRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Process Query Request Builder. - */ -public interface IBaseWorkbookProcessQueryRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookProcessQueryRequest - * - * @return the IWorkbookProcessQueryRequest instance - */ - IWorkbookProcessQueryRequest buildRequest(); - - /** - * Creates the IWorkbookProcessQueryRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookProcessQueryRequest instance - */ - IWorkbookProcessQueryRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionPage.java deleted file mode 100644 index 172c73b7fd7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Collection Page. - */ -public interface IBaseWorkbookRangeBorderCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequest.java deleted file mode 100644 index 5f37261c24c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Collection Request. - */ -public interface IBaseWorkbookRangeBorderCollectionRequest { - - void get(final ICallback callback); - - IWorkbookRangeBorderCollectionPage get() throws ClientException; - - void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback); - - WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeBorderCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeBorderCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeBorderCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequestBuilder.java deleted file mode 100644 index 64ee698ce92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCollectionRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Collection Request Builder. - */ -public interface IBaseWorkbookRangeBorderCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookRangeBorderCollectionRequest buildRequest(); - - IWorkbookRangeBorderCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookRangeBorderRequestBuilder byId(final String id); - - IWorkbookRangeBorderItemAtRequestBuilder itemAt(final Integer index); - IWorkbookRangeBorderCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequest.java deleted file mode 100644 index 62f049c3e75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Count Request. - */ -public interface IBaseWorkbookRangeBorderCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeBorderCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeBorderCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequestBuilder.java deleted file mode 100644 index cce09b2e638..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Count Request Builder. - */ -public interface IBaseWorkbookRangeBorderCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeBorderCountRequest - * - * @return the IWorkbookRangeBorderCountRequest instance - */ - IWorkbookRangeBorderCountRequest buildRequest(); - - /** - * Creates the IWorkbookRangeBorderCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeBorderCountRequest instance - */ - IWorkbookRangeBorderCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequest.java deleted file mode 100644 index 13adc6e29c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Item At Request. - */ -public interface IBaseWorkbookRangeBorderItemAtRequest { - - /** - * Patches the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback); - - /** - * Patches the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder with which to PATCH - * @return the WorkbookRangeBorder - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeBorder patch(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException; - - /** - * Puts the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRangeBorder srcWorkbookRangeBorder, final ICallback callback); - - /** - * Puts the WorkbookRangeBorderItemAt - * - * @param srcWorkbookRangeBorder the WorkbookRangeBorder to PUT - * @return the WorkbookRangeBorder - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeBorder put(WorkbookRangeBorder srcWorkbookRangeBorder) throws ClientException; - /** - * Gets the WorkbookRangeBorder - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeBorder - * - * @return the WorkbookRangeBorder - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeBorder get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeBorderItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeBorderItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequestBuilder.java deleted file mode 100644 index dd1c98f70f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Item At Request Builder. - */ -public interface IBaseWorkbookRangeBorderItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeBorderItemAtRequest - * - * @return the IWorkbookRangeBorderItemAtRequest instance - */ - IWorkbookRangeBorderItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookRangeBorderItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeBorderItemAtRequest instance - */ - IWorkbookRangeBorderItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequest.java deleted file mode 100644 index db9829a860a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeBorder; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Request. - */ -public interface IBaseWorkbookRangeBorderRequest extends IHttpRequest { - - /** - * Gets the WorkbookRangeBorder from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeBorder from the service - * - * @return the WorkbookRangeBorder from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeBorder get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRangeBorder with a source - * - * @param sourceWorkbookRangeBorder the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRangeBorder sourceWorkbookRangeBorder, final ICallback callback); - - /** - * Patches this WorkbookRangeBorder with a source - * - * @param sourceWorkbookRangeBorder the source object with updates - * @return the updated WorkbookRangeBorder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeBorder patch(final WorkbookRangeBorder sourceWorkbookRangeBorder) throws ClientException; - - /** - * Posts a WorkbookRangeBorder with a new object - * - * @param newWorkbookRangeBorder the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback); - - /** - * Posts a WorkbookRangeBorder with a new object - * - * @param newWorkbookRangeBorder the new object to create - * @return the created WorkbookRangeBorder - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeBorderRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeBorderRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequestBuilder.java deleted file mode 100644 index 4239947674c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBorderRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Border Request Builder. - */ -public interface IBaseWorkbookRangeBorderRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeBorderRequest instance - */ - IWorkbookRangeBorderRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeBorderRequest instance - */ - IWorkbookRangeBorderRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequest.java deleted file mode 100644 index 925bc43b8d6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Bounding Rect Request. - */ -public interface IBaseWorkbookRangeBoundingRectRequest { - - /** - * Patches the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeBoundingRect - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeBoundingRectRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeBoundingRectRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequestBuilder.java deleted file mode 100644 index 9375e6f3f00..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeBoundingRectRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Bounding Rect Request Builder. - */ -public interface IBaseWorkbookRangeBoundingRectRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeBoundingRectRequest - * - * @return the IWorkbookRangeBoundingRectRequest instance - */ - IWorkbookRangeBoundingRectRequest buildRequest(); - - /** - * Creates the IWorkbookRangeBoundingRectRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeBoundingRectRequest instance - */ - IWorkbookRangeBoundingRectRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequest.java deleted file mode 100644 index 254b7b8972b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Cell Request. - */ -public interface IBaseWorkbookRangeCellRequest { - - /** - * Patches the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeCellRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeCellRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequestBuilder.java deleted file mode 100644 index c55ea4350fe..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeCellRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Cell Request Builder. - */ -public interface IBaseWorkbookRangeCellRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeCellRequest - * - * @return the IWorkbookRangeCellRequest instance - */ - IWorkbookRangeCellRequest buildRequest(); - - /** - * Creates the IWorkbookRangeCellRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeCellRequest instance - */ - IWorkbookRangeCellRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequest.java deleted file mode 100644 index f1d8a3a1732..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Clear Request. - */ -public interface IBaseWorkbookRangeClearRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeClearRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeClearRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeClearRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequestBuilder.java deleted file mode 100644 index fc8e6577215..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeClearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Clear Request Builder. - */ -public interface IBaseWorkbookRangeClearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeClearRequest - * - * @return the IWorkbookRangeClearRequest instance - */ - IWorkbookRangeClearRequest buildRequest(); - - /** - * Creates the IWorkbookRangeClearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeClearRequest instance - */ - IWorkbookRangeClearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequest.java deleted file mode 100644 index c80665b281a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Column Request. - */ -public interface IBaseWorkbookRangeColumnRequest { - - /** - * Patches the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeColumnRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeColumnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequestBuilder.java deleted file mode 100644 index 44d7edbccf6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Column Request Builder. - */ -public interface IBaseWorkbookRangeColumnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeColumnRequest - * - * @return the IWorkbookRangeColumnRequest instance - */ - IWorkbookRangeColumnRequest buildRequest(); - - /** - * Creates the IWorkbookRangeColumnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeColumnRequest instance - */ - IWorkbookRangeColumnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequest.java deleted file mode 100644 index 6bc849007ab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Columns After Request. - */ -public interface IBaseWorkbookRangeColumnsAfterRequest { - - /** - * Patches the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeColumnsAfter - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeColumnsAfterRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeColumnsAfterRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequestBuilder.java deleted file mode 100644 index 09f28cf4a3a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsAfterRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Columns After Request Builder. - */ -public interface IBaseWorkbookRangeColumnsAfterRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeColumnsAfterRequest - * - * @return the IWorkbookRangeColumnsAfterRequest instance - */ - IWorkbookRangeColumnsAfterRequest buildRequest(); - - /** - * Creates the IWorkbookRangeColumnsAfterRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeColumnsAfterRequest instance - */ - IWorkbookRangeColumnsAfterRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequest.java deleted file mode 100644 index d1b8741236a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Columns Before Request. - */ -public interface IBaseWorkbookRangeColumnsBeforeRequest { - - /** - * Patches the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeColumnsBefore - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeColumnsBeforeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeColumnsBeforeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequestBuilder.java deleted file mode 100644 index 34b749714d4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeColumnsBeforeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Columns Before Request Builder. - */ -public interface IBaseWorkbookRangeColumnsBeforeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeColumnsBeforeRequest - * - * @return the IWorkbookRangeColumnsBeforeRequest instance - */ - IWorkbookRangeColumnsBeforeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeColumnsBeforeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeColumnsBeforeRequest instance - */ - IWorkbookRangeColumnsBeforeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequest.java deleted file mode 100644 index 962044a1c5e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Delete Request. - */ -public interface IBaseWorkbookRangeDeleteRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeDeleteRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeDeleteRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeDeleteRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequestBuilder.java deleted file mode 100644 index ee20ef3bbdc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeDeleteRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Delete Request Builder. - */ -public interface IBaseWorkbookRangeDeleteRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeDeleteRequest - * - * @return the IWorkbookRangeDeleteRequest instance - */ - IWorkbookRangeDeleteRequest buildRequest(); - - /** - * Creates the IWorkbookRangeDeleteRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeDeleteRequest instance - */ - IWorkbookRangeDeleteRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequest.java deleted file mode 100644 index 37b9afc9f64..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Entire Column Request. - */ -public interface IBaseWorkbookRangeEntireColumnRequest { - - /** - * Patches the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeEntireColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeEntireColumnRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeEntireColumnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequestBuilder.java deleted file mode 100644 index 2c9b362b29f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireColumnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Entire Column Request Builder. - */ -public interface IBaseWorkbookRangeEntireColumnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeEntireColumnRequest - * - * @return the IWorkbookRangeEntireColumnRequest instance - */ - IWorkbookRangeEntireColumnRequest buildRequest(); - - /** - * Creates the IWorkbookRangeEntireColumnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeEntireColumnRequest instance - */ - IWorkbookRangeEntireColumnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequest.java deleted file mode 100644 index 741c5383e75..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Entire Row Request. - */ -public interface IBaseWorkbookRangeEntireRowRequest { - - /** - * Patches the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeEntireRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeEntireRowRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeEntireRowRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequestBuilder.java deleted file mode 100644 index 5e535f84de9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeEntireRowRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Entire Row Request Builder. - */ -public interface IBaseWorkbookRangeEntireRowRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeEntireRowRequest - * - * @return the IWorkbookRangeEntireRowRequest instance - */ - IWorkbookRangeEntireRowRequest buildRequest(); - - /** - * Creates the IWorkbookRangeEntireRowRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeEntireRowRequest instance - */ - IWorkbookRangeEntireRowRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequest.java deleted file mode 100644 index 766c59dc4c2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Fill Clear Request. - */ -public interface IBaseWorkbookRangeFillClearRequest { - - /** - * Creates the WorkbookRangeFillClear - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookRangeFillClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequestBuilder.java deleted file mode 100644 index 1f9e4dcd809..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillClearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Fill Clear Request Builder. - */ -public interface IBaseWorkbookRangeFillClearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeFillClearRequest - * - * @return the IWorkbookRangeFillClearRequest instance - */ - IWorkbookRangeFillClearRequest buildRequest(); - - /** - * Creates the IWorkbookRangeFillClearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeFillClearRequest instance - */ - IWorkbookRangeFillClearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequest.java deleted file mode 100644 index 74adcf2e59d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeFill; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Fill Request. - */ -public interface IBaseWorkbookRangeFillRequest extends IHttpRequest { - - /** - * Gets the WorkbookRangeFill from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeFill from the service - * - * @return the WorkbookRangeFill from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFill get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRangeFill with a source - * - * @param sourceWorkbookRangeFill the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRangeFill sourceWorkbookRangeFill, final ICallback callback); - - /** - * Patches this WorkbookRangeFill with a source - * - * @param sourceWorkbookRangeFill the source object with updates - * @return the updated WorkbookRangeFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFill patch(final WorkbookRangeFill sourceWorkbookRangeFill) throws ClientException; - - /** - * Posts a WorkbookRangeFill with a new object - * - * @param newWorkbookRangeFill the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRangeFill newWorkbookRangeFill, final ICallback callback); - - /** - * Posts a WorkbookRangeFill with a new object - * - * @param newWorkbookRangeFill the new object to create - * @return the created WorkbookRangeFill - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFill post(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeFillRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeFillRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequestBuilder.java deleted file mode 100644 index cb72b5bfbf8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFillRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillClearRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Fill Request Builder. - */ -public interface IBaseWorkbookRangeFillRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeFillRequest instance - */ - IWorkbookRangeFillRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeFillRequest instance - */ - IWorkbookRangeFillRequest buildRequest(final java.util.List requestOptions); - IWorkbookRangeFillClearRequestBuilder clear(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequest.java deleted file mode 100644 index 18574175407..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeFont; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Font Request. - */ -public interface IBaseWorkbookRangeFontRequest extends IHttpRequest { - - /** - * Gets the WorkbookRangeFont from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeFont from the service - * - * @return the WorkbookRangeFont from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFont get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRangeFont with a source - * - * @param sourceWorkbookRangeFont the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRangeFont sourceWorkbookRangeFont, final ICallback callback); - - /** - * Patches this WorkbookRangeFont with a source - * - * @param sourceWorkbookRangeFont the source object with updates - * @return the updated WorkbookRangeFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFont patch(final WorkbookRangeFont sourceWorkbookRangeFont) throws ClientException; - - /** - * Posts a WorkbookRangeFont with a new object - * - * @param newWorkbookRangeFont the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRangeFont newWorkbookRangeFont, final ICallback callback); - - /** - * Posts a WorkbookRangeFont with a new object - * - * @param newWorkbookRangeFont the new object to create - * @return the created WorkbookRangeFont - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFont post(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeFontRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeFontRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequestBuilder.java deleted file mode 100644 index e8540de4c26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFontRequestBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Font Request Builder. - */ -public interface IBaseWorkbookRangeFontRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeFontRequest instance - */ - IWorkbookRangeFontRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeFontRequest instance - */ - IWorkbookRangeFontRequest buildRequest(final java.util.List requestOptions); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequest.java deleted file mode 100644 index eb939616bdd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Format Autofit Columns Request. - */ -public interface IBaseWorkbookRangeFormatAutofitColumnsRequest { - - /** - * Creates the WorkbookRangeFormatAutofitColumns - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookRangeFormatAutofitColumns - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java deleted file mode 100644 index 920068fff39..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Format Autofit Columns Request Builder. - */ -public interface IBaseWorkbookRangeFormatAutofitColumnsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeFormatAutofitColumnsRequest - * - * @return the IWorkbookRangeFormatAutofitColumnsRequest instance - */ - IWorkbookRangeFormatAutofitColumnsRequest buildRequest(); - - /** - * Creates the IWorkbookRangeFormatAutofitColumnsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeFormatAutofitColumnsRequest instance - */ - IWorkbookRangeFormatAutofitColumnsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequest.java deleted file mode 100644 index e0da053c721..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Format Autofit Rows Request. - */ -public interface IBaseWorkbookRangeFormatAutofitRowsRequest { - - /** - * Creates the WorkbookRangeFormatAutofitRows - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookRangeFormatAutofitRows - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequestBuilder.java deleted file mode 100644 index 03df024058b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatAutofitRowsRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Format Autofit Rows Request Builder. - */ -public interface IBaseWorkbookRangeFormatAutofitRowsRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeFormatAutofitRowsRequest - * - * @return the IWorkbookRangeFormatAutofitRowsRequest instance - */ - IWorkbookRangeFormatAutofitRowsRequest buildRequest(); - - /** - * Creates the IWorkbookRangeFormatAutofitRowsRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeFormatAutofitRowsRequest instance - */ - IWorkbookRangeFormatAutofitRowsRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequest.java deleted file mode 100644 index 745bf0f9ab1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeFormat; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Format Request. - */ -public interface IBaseWorkbookRangeFormatRequest extends IHttpRequest { - - /** - * Gets the WorkbookRangeFormat from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeFormat from the service - * - * @return the WorkbookRangeFormat from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFormat get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRangeFormat with a source - * - * @param sourceWorkbookRangeFormat the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRangeFormat sourceWorkbookRangeFormat, final ICallback callback); - - /** - * Patches this WorkbookRangeFormat with a source - * - * @param sourceWorkbookRangeFormat the source object with updates - * @return the updated WorkbookRangeFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFormat patch(final WorkbookRangeFormat sourceWorkbookRangeFormat) throws ClientException; - - /** - * Posts a WorkbookRangeFormat with a new object - * - * @param newWorkbookRangeFormat the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRangeFormat newWorkbookRangeFormat, final ICallback callback); - - /** - * Posts a WorkbookRangeFormat with a new object - * - * @param newWorkbookRangeFormat the new object to create - * @return the created WorkbookRangeFormat - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeFormat post(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeFormatRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeFormatRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequestBuilder.java deleted file mode 100644 index f16b2f656d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeFormatRequestBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBorderRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFillRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFontRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFormatProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitColumnsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatAutofitRowsRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Format Request Builder. - */ -public interface IBaseWorkbookRangeFormatRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeFormatRequest instance - */ - IWorkbookRangeFormatRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeFormatRequest instance - */ - IWorkbookRangeFormatRequest buildRequest(final java.util.List requestOptions); - - IWorkbookRangeBorderCollectionRequestBuilder borders(); - - IWorkbookRangeBorderRequestBuilder borders(final String id); - - /** - * Gets the request builder for WorkbookRangeFill - * - * @return the IWorkbookRangeFillRequestBuilder instance - */ - IWorkbookRangeFillRequestBuilder fill(); - - /** - * Gets the request builder for WorkbookRangeFont - * - * @return the IWorkbookRangeFontRequestBuilder instance - */ - IWorkbookRangeFontRequestBuilder font(); - - /** - * Gets the request builder for WorkbookFormatProtection - * - * @return the IWorkbookFormatProtectionRequestBuilder instance - */ - IWorkbookFormatProtectionRequestBuilder protection(); - IWorkbookRangeFormatAutofitColumnsRequestBuilder autofitColumns(); - IWorkbookRangeFormatAutofitRowsRequestBuilder autofitRows(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequest.java deleted file mode 100644 index 59aba869f2a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Insert Request. - */ -public interface IBaseWorkbookRangeInsertRequest { - - void post(final ICallback callback); - - WorkbookRange post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeInsertRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeInsertRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeInsertRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequestBuilder.java deleted file mode 100644 index c9f85ecf2dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeInsertRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Insert Request Builder. - */ -public interface IBaseWorkbookRangeInsertRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeInsertRequest - * - * @return the IWorkbookRangeInsertRequest instance - */ - IWorkbookRangeInsertRequest buildRequest(); - - /** - * Creates the IWorkbookRangeInsertRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeInsertRequest instance - */ - IWorkbookRangeInsertRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequest.java deleted file mode 100644 index e972ca7f7a5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Intersection Request. - */ -public interface IBaseWorkbookRangeIntersectionRequest { - - /** - * Patches the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeIntersection - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeIntersectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeIntersectionRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequestBuilder.java deleted file mode 100644 index 16e2e79e415..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeIntersectionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Intersection Request Builder. - */ -public interface IBaseWorkbookRangeIntersectionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeIntersectionRequest - * - * @return the IWorkbookRangeIntersectionRequest instance - */ - IWorkbookRangeIntersectionRequest buildRequest(); - - /** - * Creates the IWorkbookRangeIntersectionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeIntersectionRequest instance - */ - IWorkbookRangeIntersectionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequest.java deleted file mode 100644 index 16b05681ce7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Last Cell Request. - */ -public interface IBaseWorkbookRangeLastCellRequest { - - /** - * Patches the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeLastCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeLastCellRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeLastCellRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequestBuilder.java deleted file mode 100644 index 482b4546707..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastCellRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Last Cell Request Builder. - */ -public interface IBaseWorkbookRangeLastCellRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeLastCellRequest - * - * @return the IWorkbookRangeLastCellRequest instance - */ - IWorkbookRangeLastCellRequest buildRequest(); - - /** - * Creates the IWorkbookRangeLastCellRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeLastCellRequest instance - */ - IWorkbookRangeLastCellRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequest.java deleted file mode 100644 index 1dfd183f38e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Last Column Request. - */ -public interface IBaseWorkbookRangeLastColumnRequest { - - /** - * Patches the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeLastColumn - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeLastColumnRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeLastColumnRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequestBuilder.java deleted file mode 100644 index eaf4381cfeb..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastColumnRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Last Column Request Builder. - */ -public interface IBaseWorkbookRangeLastColumnRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeLastColumnRequest - * - * @return the IWorkbookRangeLastColumnRequest instance - */ - IWorkbookRangeLastColumnRequest buildRequest(); - - /** - * Creates the IWorkbookRangeLastColumnRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeLastColumnRequest instance - */ - IWorkbookRangeLastColumnRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequest.java deleted file mode 100644 index e8f43c55c05..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Last Row Request. - */ -public interface IBaseWorkbookRangeLastRowRequest { - - /** - * Patches the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeLastRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeLastRowRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeLastRowRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequestBuilder.java deleted file mode 100644 index 3aea1dbb868..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeLastRowRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Last Row Request Builder. - */ -public interface IBaseWorkbookRangeLastRowRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeLastRowRequest - * - * @return the IWorkbookRangeLastRowRequest instance - */ - IWorkbookRangeLastRowRequest buildRequest(); - - /** - * Creates the IWorkbookRangeLastRowRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeLastRowRequest instance - */ - IWorkbookRangeLastRowRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequest.java deleted file mode 100644 index 831cad953dc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Merge Request. - */ -public interface IBaseWorkbookRangeMergeRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeMergeRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeMergeRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeMergeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequestBuilder.java deleted file mode 100644 index f4b4179e691..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeMergeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Merge Request Builder. - */ -public interface IBaseWorkbookRangeMergeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeMergeRequest - * - * @return the IWorkbookRangeMergeRequest instance - */ - IWorkbookRangeMergeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeMergeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeMergeRequest instance - */ - IWorkbookRangeMergeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequest.java deleted file mode 100644 index 64e369eeef4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Offset Range Request. - */ -public interface IBaseWorkbookRangeOffsetRangeRequest { - - /** - * Patches the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeOffsetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeOffsetRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeOffsetRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequestBuilder.java deleted file mode 100644 index 65c6fe29a02..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeOffsetRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Offset Range Request Builder. - */ -public interface IBaseWorkbookRangeOffsetRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeOffsetRangeRequest - * - * @return the IWorkbookRangeOffsetRangeRequest instance - */ - IWorkbookRangeOffsetRangeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeOffsetRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeOffsetRangeRequest instance - */ - IWorkbookRangeOffsetRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequest.java deleted file mode 100644 index eb5e93644b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Request. - */ -public interface IBaseWorkbookRangeRequest extends IHttpRequest { - - /** - * Gets the WorkbookRange from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange from the service - * - * @return the WorkbookRange from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRange get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRange with a source - * - * @param sourceWorkbookRange the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRange sourceWorkbookRange, final ICallback callback); - - /** - * Patches this WorkbookRange with a source - * - * @param sourceWorkbookRange the source object with updates - * @return the updated WorkbookRange - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRange patch(final WorkbookRange sourceWorkbookRange) throws ClientException; - - /** - * Posts a WorkbookRange with a new object - * - * @param newWorkbookRange the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRange newWorkbookRange, final ICallback callback); - - /** - * Posts a WorkbookRange with a new object - * - * @param newWorkbookRange the new object to create - * @return the created WorkbookRange - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRange post(final WorkbookRange newWorkbookRange) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequestBuilder.java deleted file mode 100644 index a4d4baedad4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRequestBuilder.java +++ /dev/null @@ -1,113 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeFormatRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeClearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeDeleteRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeInsertRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeMergeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeBoundingRectRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeCellRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsAfterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeColumnsBeforeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeEntireRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeIntersectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastCellRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeLastRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeOffsetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Request Builder. - */ -public interface IBaseWorkbookRangeRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeRequest instance - */ - IWorkbookRangeRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeRequest instance - */ - IWorkbookRangeRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookRangeFormat - * - * @return the IWorkbookRangeFormatRequestBuilder instance - */ - IWorkbookRangeFormatRequestBuilder format(); - - /** - * Gets the request builder for WorkbookRangeSort - * - * @return the IWorkbookRangeSortRequestBuilder instance - */ - IWorkbookRangeSortRequestBuilder sort(); - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - IWorkbookWorksheetRequestBuilder worksheet(); - IWorkbookRangeClearRequestBuilder clear(final String applyTo); - IWorkbookRangeDeleteRequestBuilder delete(final String shift); - IWorkbookRangeInsertRequestBuilder insert(final String shift); - IWorkbookRangeMergeRequestBuilder merge(final Boolean across); - IWorkbookRangeUnmergeRequestBuilder unmerge(); - IWorkbookRangeBoundingRectRequestBuilder boundingRect(final String anotherRange); - IWorkbookRangeCellRequestBuilder cell(final Integer row, final Integer column); - IWorkbookRangeColumnRequestBuilder column(final Integer column); - IWorkbookRangeColumnsAfterRequestBuilder columnsAfter(); - IWorkbookRangeColumnsAfterRequestBuilder columnsAfter(final Integer count); - IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore(); - IWorkbookRangeColumnsBeforeRequestBuilder columnsBefore(final Integer count); - IWorkbookRangeEntireColumnRequestBuilder entireColumn(); - IWorkbookRangeEntireRowRequestBuilder entireRow(); - IWorkbookRangeIntersectionRequestBuilder intersection(final String anotherRange); - IWorkbookRangeLastCellRequestBuilder lastCell(); - IWorkbookRangeLastColumnRequestBuilder lastColumn(); - IWorkbookRangeLastRowRequestBuilder lastRow(); - IWorkbookRangeOffsetRangeRequestBuilder offsetRange(final Integer rowOffset, final Integer columnOffset); - IWorkbookRangeResizedRangeRequestBuilder resizedRange(final Integer deltaRows, final Integer deltaColumns); - IWorkbookRangeRowRequestBuilder row(final Integer row); - IWorkbookRangeRowsAboveRequestBuilder rowsAbove(); - IWorkbookRangeRowsAboveRequestBuilder rowsAbove(final Integer count); - IWorkbookRangeRowsBelowRequestBuilder rowsBelow(); - IWorkbookRangeRowsBelowRequestBuilder rowsBelow(final Integer count); - IWorkbookRangeUsedRangeRequestBuilder usedRange(); - IWorkbookRangeUsedRangeRequestBuilder usedRange(final Boolean valuesOnly); - IWorkbookRangeVisibleViewRequestBuilder visibleView(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequest.java deleted file mode 100644 index bf71d2159f1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Resized Range Request. - */ -public interface IBaseWorkbookRangeResizedRangeRequest { - - /** - * Patches the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeResizedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeResizedRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeResizedRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequestBuilder.java deleted file mode 100644 index 741f1ddd8cc..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeResizedRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeResizedRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Resized Range Request Builder. - */ -public interface IBaseWorkbookRangeResizedRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeResizedRangeRequest - * - * @return the IWorkbookRangeResizedRangeRequest instance - */ - IWorkbookRangeResizedRangeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeResizedRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeResizedRangeRequest instance - */ - IWorkbookRangeResizedRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequest.java deleted file mode 100644 index 01ab6191670..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Row Request. - */ -public interface IBaseWorkbookRangeRowRequest { - - /** - * Patches the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeRow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeRowRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeRowRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequestBuilder.java deleted file mode 100644 index 47d0270c456..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Row Request Builder. - */ -public interface IBaseWorkbookRangeRowRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeRowRequest - * - * @return the IWorkbookRangeRowRequest instance - */ - IWorkbookRangeRowRequest buildRequest(); - - /** - * Creates the IWorkbookRangeRowRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeRowRequest instance - */ - IWorkbookRangeRowRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequest.java deleted file mode 100644 index 6468ce0be0c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Rows Above Request. - */ -public interface IBaseWorkbookRangeRowsAboveRequest { - - /** - * Patches the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeRowsAbove - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeRowsAboveRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeRowsAboveRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequestBuilder.java deleted file mode 100644 index 03120ec2a4d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsAboveRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsAboveRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Rows Above Request Builder. - */ -public interface IBaseWorkbookRangeRowsAboveRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeRowsAboveRequest - * - * @return the IWorkbookRangeRowsAboveRequest instance - */ - IWorkbookRangeRowsAboveRequest buildRequest(); - - /** - * Creates the IWorkbookRangeRowsAboveRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeRowsAboveRequest instance - */ - IWorkbookRangeRowsAboveRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequest.java deleted file mode 100644 index 4548675a8a7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Rows Below Request. - */ -public interface IBaseWorkbookRangeRowsBelowRequest { - - /** - * Patches the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeRowsBelow - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeRowsBelowRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeRowsBelowRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequestBuilder.java deleted file mode 100644 index 542ca2b2470..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeRowsBelowRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeRowsBelowRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Rows Below Request Builder. - */ -public interface IBaseWorkbookRangeRowsBelowRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeRowsBelowRequest - * - * @return the IWorkbookRangeRowsBelowRequest instance - */ - IWorkbookRangeRowsBelowRequest buildRequest(); - - /** - * Creates the IWorkbookRangeRowsBelowRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeRowsBelowRequest instance - */ - IWorkbookRangeRowsBelowRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequest.java deleted file mode 100644 index 3f496a54a80..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Sort Apply Request. - */ -public interface IBaseWorkbookRangeSortApplyRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeSortApplyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeSortApplyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeSortApplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequestBuilder.java deleted file mode 100644 index a8f482dd1c8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortApplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Sort Apply Request Builder. - */ -public interface IBaseWorkbookRangeSortApplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeSortApplyRequest - * - * @return the IWorkbookRangeSortApplyRequest instance - */ - IWorkbookRangeSortApplyRequest buildRequest(); - - /** - * Creates the IWorkbookRangeSortApplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeSortApplyRequest instance - */ - IWorkbookRangeSortApplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequest.java deleted file mode 100644 index ae375048e28..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeSort; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Sort Request. - */ -public interface IBaseWorkbookRangeSortRequest extends IHttpRequest { - - /** - * Gets the WorkbookRangeSort from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeSort from the service - * - * @return the WorkbookRangeSort from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeSort get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRangeSort with a source - * - * @param sourceWorkbookRangeSort the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRangeSort sourceWorkbookRangeSort, final ICallback callback); - - /** - * Patches this WorkbookRangeSort with a source - * - * @param sourceWorkbookRangeSort the source object with updates - * @return the updated WorkbookRangeSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeSort patch(final WorkbookRangeSort sourceWorkbookRangeSort) throws ClientException; - - /** - * Posts a WorkbookRangeSort with a new object - * - * @param newWorkbookRangeSort the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRangeSort newWorkbookRangeSort, final ICallback callback); - - /** - * Posts a WorkbookRangeSort with a new object - * - * @param newWorkbookRangeSort the new object to create - * @return the created WorkbookRangeSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeSort post(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeSortRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeSortRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequestBuilder.java deleted file mode 100644 index 1a2d3e4f98f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeSortRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortRequest; -import com.microsoft.graph.models.extensions.WorkbookSortField; -import com.microsoft.graph.requests.extensions.IWorkbookRangeSortApplyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Sort Request Builder. - */ -public interface IBaseWorkbookRangeSortRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeSortRequest instance - */ - IWorkbookRangeSortRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeSortRequest instance - */ - IWorkbookRangeSortRequest buildRequest(final java.util.List requestOptions); - IWorkbookRangeSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final Boolean hasHeaders, final String orientation, final String method); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequest.java deleted file mode 100644 index 5eafacd1527..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Unmerge Request. - */ -public interface IBaseWorkbookRangeUnmergeRequest { - - /** - * Creates the WorkbookRangeUnmerge - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookRangeUnmerge - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequestBuilder.java deleted file mode 100644 index e2ec3a8cb11..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUnmergeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUnmergeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Unmerge Request Builder. - */ -public interface IBaseWorkbookRangeUnmergeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeUnmergeRequest - * - * @return the IWorkbookRangeUnmergeRequest instance - */ - IWorkbookRangeUnmergeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeUnmergeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeUnmergeRequest instance - */ - IWorkbookRangeUnmergeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequest.java deleted file mode 100644 index 5f3cebec19d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Used Range Request. - */ -public interface IBaseWorkbookRangeUsedRangeRequest { - - /** - * Patches the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeUsedRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeUsedRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequestBuilder.java deleted file mode 100644 index 1865a29cae4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeUsedRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeUsedRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Used Range Request Builder. - */ -public interface IBaseWorkbookRangeUsedRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeUsedRangeRequest - * - * @return the IWorkbookRangeUsedRangeRequest instance - */ - IWorkbookRangeUsedRangeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeUsedRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeUsedRangeRequest instance - */ - IWorkbookRangeUsedRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionPage.java deleted file mode 100644 index 32d7306df01..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Collection Page. - */ -public interface IBaseWorkbookRangeViewCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequest.java deleted file mode 100644 index 19fa9d81323..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Collection Request. - */ -public interface IBaseWorkbookRangeViewCollectionRequest { - - void get(final ICallback callback); - - IWorkbookRangeViewCollectionPage get() throws ClientException; - - void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback); - - WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeViewCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeViewCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookRangeViewCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequestBuilder.java deleted file mode 100644 index a2533c0be4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewCollectionRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Collection Request Builder. - */ -public interface IBaseWorkbookRangeViewCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookRangeViewCollectionRequest buildRequest(); - - IWorkbookRangeViewCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookRangeViewRequestBuilder byId(final String id); - - IWorkbookRangeViewItemAtRequestBuilder itemAt(final Integer index); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequest.java deleted file mode 100644 index d64d135b61c..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Item At Request. - */ -public interface IBaseWorkbookRangeViewItemAtRequest { - - /** - * Patches the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); - - /** - * Patches the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException; - - /** - * Puts the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); - - /** - * Puts the WorkbookRangeViewItemAt - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException; - /** - * Gets the WorkbookRangeView - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeView - * - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeView get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeViewItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeViewItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequestBuilder.java deleted file mode 100644 index f58bc83cd5f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Item At Request Builder. - */ -public interface IBaseWorkbookRangeViewItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeViewItemAtRequest - * - * @return the IWorkbookRangeViewItemAtRequest instance - */ - IWorkbookRangeViewItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookRangeViewItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeViewItemAtRequest instance - */ - IWorkbookRangeViewItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequest.java deleted file mode 100644 index f22c6500d46..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Range Request. - */ -public interface IBaseWorkbookRangeViewRangeRequest { - - /** - * Patches the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookRangeViewRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeViewRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeViewRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequestBuilder.java deleted file mode 100644 index 1a9e6905ede..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Range Request Builder. - */ -public interface IBaseWorkbookRangeViewRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeViewRangeRequest - * - * @return the IWorkbookRangeViewRangeRequest instance - */ - IWorkbookRangeViewRangeRequest buildRequest(); - - /** - * Creates the IWorkbookRangeViewRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeViewRangeRequest instance - */ - IWorkbookRangeViewRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequest.java deleted file mode 100644 index 192bf5afeec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Request. - */ -public interface IBaseWorkbookRangeViewRequest extends IHttpRequest { - - /** - * Gets the WorkbookRangeView from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeView from the service - * - * @return the WorkbookRangeView from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeView get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookRangeView with a source - * - * @param sourceWorkbookRangeView the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookRangeView sourceWorkbookRangeView, final ICallback callback); - - /** - * Patches this WorkbookRangeView with a source - * - * @param sourceWorkbookRangeView the source object with updates - * @return the updated WorkbookRangeView - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeView patch(final WorkbookRangeView sourceWorkbookRangeView) throws ClientException; - - /** - * Posts a WorkbookRangeView with a new object - * - * @param newWorkbookRangeView the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookRangeView newWorkbookRangeView, final ICallback callback); - - /** - * Posts a WorkbookRangeView with a new object - * - * @param newWorkbookRangeView the new object to create - * @return the created WorkbookRangeView - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRangeViewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRangeViewRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequestBuilder.java deleted file mode 100644 index ce1a01d27bf..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeViewRequestBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequest; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRangeViewRangeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range View Request Builder. - */ -public interface IBaseWorkbookRangeViewRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRangeViewRequest instance - */ - IWorkbookRangeViewRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRangeViewRequest instance - */ - IWorkbookRangeViewRequest buildRequest(final java.util.List requestOptions); - - IWorkbookRangeViewCollectionRequestBuilder rows(); - - IWorkbookRangeViewRequestBuilder rows(final String id); - IWorkbookRangeViewRangeRequestBuilder range(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequest.java deleted file mode 100644 index 4b5528efea1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRangeView; -import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Visible View Request. - */ -public interface IBaseWorkbookRangeVisibleViewRequest { - - /** - * Patches the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); - - /** - * Patches the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView with which to PATCH - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeView patch(WorkbookRangeView srcWorkbookRangeView) throws ClientException; - - /** - * Puts the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRangeView srcWorkbookRangeView, final ICallback callback); - - /** - * Puts the WorkbookRangeVisibleView - * - * @param srcWorkbookRangeView the WorkbookRangeView to PUT - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeView put(WorkbookRangeView srcWorkbookRangeView) throws ClientException; - /** - * Gets the WorkbookRangeView - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRangeView - * - * @return the WorkbookRangeView - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRangeView get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookRangeVisibleViewRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookRangeVisibleViewRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequestBuilder.java deleted file mode 100644 index 6a4b5a8c702..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRangeVisibleViewRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRangeVisibleViewRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Range Visible View Request Builder. - */ -public interface IBaseWorkbookRangeVisibleViewRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRangeVisibleViewRequest - * - * @return the IWorkbookRangeVisibleViewRequest instance - */ - IWorkbookRangeVisibleViewRequest buildRequest(); - - /** - * Creates the IWorkbookRangeVisibleViewRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRangeVisibleViewRequest instance - */ - IWorkbookRangeVisibleViewRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequest.java deleted file mode 100644 index bd7a571e2e5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Refresh Session Request. - */ -public interface IBaseWorkbookRefreshSessionRequest { - - /** - * Creates the WorkbookRefreshSession - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookRefreshSession - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequestBuilder.java deleted file mode 100644 index 33de9a64e92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRefreshSessionRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Refresh Session Request Builder. - */ -public interface IBaseWorkbookRefreshSessionRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookRefreshSessionRequest - * - * @return the IWorkbookRefreshSessionRequest instance - */ - IWorkbookRefreshSessionRequest buildRequest(); - - /** - * Creates the IWorkbookRefreshSessionRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookRefreshSessionRequest instance - */ - IWorkbookRefreshSessionRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequest.java deleted file mode 100644 index 7d1fa72b188..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.Workbook; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Request. - */ -public interface IBaseWorkbookRequest extends IHttpRequest { - - /** - * Gets the Workbook from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Workbook from the service - * - * @return the Workbook from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Workbook get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this Workbook with a source - * - * @param sourceWorkbook the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final Workbook sourceWorkbook, final ICallback callback); - - /** - * Patches this Workbook with a source - * - * @param sourceWorkbook the source object with updates - * @return the updated Workbook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Workbook patch(final Workbook sourceWorkbook) throws ClientException; - - /** - * Posts a Workbook with a new object - * - * @param newWorkbook the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final Workbook newWorkbook, final ICallback callback); - - /** - * Posts a Workbook with a new object - * - * @param newWorkbook the new object to create - * @return the created Workbook - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - Workbook post(final Workbook newWorkbook) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequestBuilder.java deleted file mode 100644 index d2f43fead26..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookRequestBuilder.java +++ /dev/null @@ -1,75 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookRequest; -import com.microsoft.graph.requests.extensions.IWorkbookApplicationRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookFunctionsRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookCreateSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookCloseSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookRefreshSessionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookProcessQueryRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Request Builder. - */ -public interface IBaseWorkbookRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookRequest instance - */ - IWorkbookRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookRequest instance - */ - IWorkbookRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookApplication - * - * @return the IWorkbookApplicationRequestBuilder instance - */ - IWorkbookApplicationRequestBuilder application(); - - IWorkbookNamedItemCollectionRequestBuilder names(); - - IWorkbookNamedItemRequestBuilder names(final String id); - - IWorkbookTableCollectionRequestBuilder tables(); - - IWorkbookTableRequestBuilder tables(final String id); - - IWorkbookWorksheetCollectionRequestBuilder worksheets(); - - IWorkbookWorksheetRequestBuilder worksheets(final String id); - - /** - * Gets the request builder for WorkbookFunctions - * - * @return the IWorkbookFunctionsRequestBuilder instance - */ - IWorkbookFunctionsRequestBuilder functions(); - IWorkbookCreateSessionRequestBuilder createSession(final Boolean persistChanges); - IWorkbookCloseSessionRequestBuilder closeSession(); - IWorkbookRefreshSessionRequestBuilder refreshSession(); - IWorkbookProcessQueryRequestBuilder processQuery(final byte[] input); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequest.java deleted file mode 100644 index d9703107d7b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Add Request. - */ -public interface IBaseWorkbookTableAddRequest { - - void post(final ICallback callback); - - WorkbookTable post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableAddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableAddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableAddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequestBuilder.java deleted file mode 100644 index 0898102a0ec..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableAddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableAddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Add Request Builder. - */ -public interface IBaseWorkbookTableAddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableAddRequest - * - * @return the IWorkbookTableAddRequest instance - */ - IWorkbookTableAddRequest buildRequest(); - - /** - * Creates the IWorkbookTableAddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableAddRequest instance - */ - IWorkbookTableAddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequest.java deleted file mode 100644 index 7117cdb69b6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Clear Filters Request. - */ -public interface IBaseWorkbookTableClearFiltersRequest { - - /** - * Creates the WorkbookTableClearFilters - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookTableClearFilters - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequestBuilder.java deleted file mode 100644 index 368d13977d2..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableClearFiltersRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Clear Filters Request Builder. - */ -public interface IBaseWorkbookTableClearFiltersRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableClearFiltersRequest - * - * @return the IWorkbookTableClearFiltersRequest instance - */ - IWorkbookTableClearFiltersRequest buildRequest(); - - /** - * Creates the IWorkbookTableClearFiltersRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableClearFiltersRequest instance - */ - IWorkbookTableClearFiltersRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionPage.java deleted file mode 100644 index a6e03253256..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Collection Page. - */ -public interface IBaseWorkbookTableCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequest.java deleted file mode 100644 index 40048de5d84..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Collection Request. - */ -public interface IBaseWorkbookTableCollectionRequest { - - void get(final ICallback callback); - - IWorkbookTableCollectionPage get() throws ClientException; - - void post(final WorkbookTable newWorkbookTable, final ICallback callback); - - WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequestBuilder.java deleted file mode 100644 index f68b76ddfaa..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCollectionRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Collection Request Builder. - */ -public interface IBaseWorkbookTableCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookTableCollectionRequest buildRequest(); - - IWorkbookTableCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookTableRequestBuilder byId(final String id); - - IWorkbookTableAddRequestBuilder add(final String address, final Boolean hasHeaders); - IWorkbookTableItemAtRequestBuilder itemAt(final Integer index); - IWorkbookTableCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequest.java deleted file mode 100644 index 84c6be785fd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Add Request. - */ -public interface IBaseWorkbookTableColumnAddRequest { - - void post(final ICallback callback); - - WorkbookTableColumn post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnAddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableColumnAddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnAddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequestBuilder.java deleted file mode 100644 index f16fdd06888..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnAddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnAddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Add Request Builder. - */ -public interface IBaseWorkbookTableColumnAddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnAddRequest - * - * @return the IWorkbookTableColumnAddRequest instance - */ - IWorkbookTableColumnAddRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnAddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnAddRequest instance - */ - IWorkbookTableColumnAddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionPage.java deleted file mode 100644 index 4ee89bc15af..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Collection Page. - */ -public interface IBaseWorkbookTableColumnCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequest.java deleted file mode 100644 index 3696124a0d0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Collection Request. - */ -public interface IBaseWorkbookTableColumnCollectionRequest { - - void get(final ICallback callback); - - IWorkbookTableColumnCollectionPage get() throws ClientException; - - void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback); - - WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableColumnCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequestBuilder.java deleted file mode 100644 index df9f8da3a92..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCollectionRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Collection Request Builder. - */ -public interface IBaseWorkbookTableColumnCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookTableColumnCollectionRequest buildRequest(); - - IWorkbookTableColumnCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookTableColumnRequestBuilder byId(final String id); - - IWorkbookTableColumnAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values, final String name); - IWorkbookTableColumnItemAtRequestBuilder itemAt(final Integer index); - IWorkbookTableColumnCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequest.java deleted file mode 100644 index 5ede11076c5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Count Request. - */ -public interface IBaseWorkbookTableColumnCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequestBuilder.java deleted file mode 100644 index 4952ed8eecd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Count Request Builder. - */ -public interface IBaseWorkbookTableColumnCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnCountRequest - * - * @return the IWorkbookTableColumnCountRequest instance - */ - IWorkbookTableColumnCountRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnCountRequest instance - */ - IWorkbookTableColumnCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequest.java deleted file mode 100644 index 4bb35a8a1dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Data Body Range Request. - */ -public interface IBaseWorkbookTableColumnDataBodyRangeRequest { - - /** - * Patches the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableColumnDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnDataBodyRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnDataBodyRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequestBuilder.java deleted file mode 100644 index b66f2eceff5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnDataBodyRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Data Body Range Request Builder. - */ -public interface IBaseWorkbookTableColumnDataBodyRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnDataBodyRangeRequest - * - * @return the IWorkbookTableColumnDataBodyRangeRequest instance - */ - IWorkbookTableColumnDataBodyRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnDataBodyRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnDataBodyRangeRequest instance - */ - IWorkbookTableColumnDataBodyRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequest.java deleted file mode 100644 index e846167db54..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Header Row Range Request. - */ -public interface IBaseWorkbookTableColumnHeaderRowRangeRequest { - - /** - * Patches the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableColumnHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnHeaderRowRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnHeaderRowRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java deleted file mode 100644 index 06d86ee60dd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Header Row Range Request Builder. - */ -public interface IBaseWorkbookTableColumnHeaderRowRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnHeaderRowRangeRequest - * - * @return the IWorkbookTableColumnHeaderRowRangeRequest instance - */ - IWorkbookTableColumnHeaderRowRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnHeaderRowRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnHeaderRowRangeRequest instance - */ - IWorkbookTableColumnHeaderRowRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequest.java deleted file mode 100644 index 7d13a6e139d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Item At Request. - */ -public interface IBaseWorkbookTableColumnItemAtRequest { - - /** - * Patches the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback); - - /** - * Patches the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn with which to PATCH - * @return the WorkbookTableColumn - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTableColumn patch(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException; - - /** - * Puts the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookTableColumn srcWorkbookTableColumn, final ICallback callback); - - /** - * Puts the WorkbookTableColumnItemAt - * - * @param srcWorkbookTableColumn the WorkbookTableColumn to PUT - * @return the WorkbookTableColumn - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTableColumn put(WorkbookTableColumn srcWorkbookTableColumn) throws ClientException; - /** - * Gets the WorkbookTableColumn - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTableColumn - * - * @return the WorkbookTableColumn - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTableColumn get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequestBuilder.java deleted file mode 100644 index a2359888f3e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Item At Request Builder. - */ -public interface IBaseWorkbookTableColumnItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnItemAtRequest - * - * @return the IWorkbookTableColumnItemAtRequest instance - */ - IWorkbookTableColumnItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnItemAtRequest instance - */ - IWorkbookTableColumnItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequest.java deleted file mode 100644 index 11132630486..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Range Request. - */ -public interface IBaseWorkbookTableColumnRangeRequest { - - /** - * Patches the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableColumnRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequestBuilder.java deleted file mode 100644 index 95d226423bd..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Range Request Builder. - */ -public interface IBaseWorkbookTableColumnRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnRangeRequest - * - * @return the IWorkbookTableColumnRangeRequest instance - */ - IWorkbookTableColumnRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnRangeRequest instance - */ - IWorkbookTableColumnRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequest.java deleted file mode 100644 index c4c759fca29..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableColumn; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Request. - */ -public interface IBaseWorkbookTableColumnRequest extends IHttpRequest { - - /** - * Gets the WorkbookTableColumn from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTableColumn from the service - * - * @return the WorkbookTableColumn from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableColumn get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookTableColumn with a source - * - * @param sourceWorkbookTableColumn the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookTableColumn sourceWorkbookTableColumn, final ICallback callback); - - /** - * Patches this WorkbookTableColumn with a source - * - * @param sourceWorkbookTableColumn the source object with updates - * @return the updated WorkbookTableColumn - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableColumn patch(final WorkbookTableColumn sourceWorkbookTableColumn) throws ClientException; - - /** - * Posts a WorkbookTableColumn with a new object - * - * @param newWorkbookTableColumn the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback); - - /** - * Posts a WorkbookTableColumn with a new object - * - * @param newWorkbookTableColumn the new object to create - * @return the created WorkbookTableColumn - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookTableColumnRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookTableColumnRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequestBuilder.java deleted file mode 100644 index 3838ee8eaa7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnRequestBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequest; -import com.microsoft.graph.requests.extensions.IWorkbookFilterRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnDataBodyRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnHeaderRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Request Builder. - */ -public interface IBaseWorkbookTableColumnRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookTableColumnRequest instance - */ - IWorkbookTableColumnRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookTableColumnRequest instance - */ - IWorkbookTableColumnRequest buildRequest(final java.util.List requestOptions); - - /** - * Gets the request builder for WorkbookFilter - * - * @return the IWorkbookFilterRequestBuilder instance - */ - IWorkbookFilterRequestBuilder filter(); - IWorkbookTableColumnDataBodyRangeRequestBuilder dataBodyRange(); - IWorkbookTableColumnHeaderRowRangeRequestBuilder headerRowRange(); - IWorkbookTableColumnRangeRequestBuilder range(); - IWorkbookTableColumnTotalRowRangeRequestBuilder totalRowRange(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequest.java deleted file mode 100644 index fd2ac455f17..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Total Row Range Request. - */ -public interface IBaseWorkbookTableColumnTotalRowRangeRequest { - - /** - * Patches the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableColumnTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableColumnTotalRowRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableColumnTotalRowRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequestBuilder.java deleted file mode 100644 index edef498cdab..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableColumnTotalRowRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnTotalRowRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Column Total Row Range Request Builder. - */ -public interface IBaseWorkbookTableColumnTotalRowRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableColumnTotalRowRangeRequest - * - * @return the IWorkbookTableColumnTotalRowRangeRequest instance - */ - IWorkbookTableColumnTotalRowRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableColumnTotalRowRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableColumnTotalRowRangeRequest instance - */ - IWorkbookTableColumnTotalRowRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequest.java deleted file mode 100644 index 0b72ad4f5f7..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequest.java +++ /dev/null @@ -1,56 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Convert To Range Request. - */ -public interface IBaseWorkbookTableConvertToRangeRequest { - - /** - * Creates the WorkbookTableConvertToRange - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookTableConvertToRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableConvertToRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableConvertToRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequestBuilder.java deleted file mode 100644 index ec179709b88..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableConvertToRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Convert To Range Request Builder. - */ -public interface IBaseWorkbookTableConvertToRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableConvertToRangeRequest - * - * @return the IWorkbookTableConvertToRangeRequest instance - */ - IWorkbookTableConvertToRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableConvertToRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableConvertToRangeRequest instance - */ - IWorkbookTableConvertToRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequest.java deleted file mode 100644 index 499787e6486..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Count Request. - */ -public interface IBaseWorkbookTableCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequestBuilder.java deleted file mode 100644 index 57b881b03f6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Count Request Builder. - */ -public interface IBaseWorkbookTableCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableCountRequest - * - * @return the IWorkbookTableCountRequest instance - */ - IWorkbookTableCountRequest buildRequest(); - - /** - * Creates the IWorkbookTableCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableCountRequest instance - */ - IWorkbookTableCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequest.java deleted file mode 100644 index 2f936f6a295..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Data Body Range Request. - */ -public interface IBaseWorkbookTableDataBodyRangeRequest { - - /** - * Patches the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableDataBodyRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableDataBodyRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableDataBodyRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequestBuilder.java deleted file mode 100644 index aa611f80ee5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableDataBodyRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Data Body Range Request Builder. - */ -public interface IBaseWorkbookTableDataBodyRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableDataBodyRangeRequest - * - * @return the IWorkbookTableDataBodyRangeRequest instance - */ - IWorkbookTableDataBodyRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableDataBodyRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableDataBodyRangeRequest instance - */ - IWorkbookTableDataBodyRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequest.java deleted file mode 100644 index 2af7deb0ff1..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Header Row Range Request. - */ -public interface IBaseWorkbookTableHeaderRowRangeRequest { - - /** - * Patches the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableHeaderRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableHeaderRowRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableHeaderRowRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequestBuilder.java deleted file mode 100644 index fc3a4071a70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableHeaderRowRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Header Row Range Request Builder. - */ -public interface IBaseWorkbookTableHeaderRowRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableHeaderRowRangeRequest - * - * @return the IWorkbookTableHeaderRowRangeRequest instance - */ - IWorkbookTableHeaderRowRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableHeaderRowRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableHeaderRowRangeRequest instance - */ - IWorkbookTableHeaderRowRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequest.java deleted file mode 100644 index 738bf25fa69..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTable; -import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Item At Request. - */ -public interface IBaseWorkbookTableItemAtRequest { - - /** - * Patches the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookTable srcWorkbookTable, final ICallback callback); - - /** - * Patches the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable with which to PATCH - * @return the WorkbookTable - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTable patch(WorkbookTable srcWorkbookTable) throws ClientException; - - /** - * Puts the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookTable srcWorkbookTable, final ICallback callback); - - /** - * Puts the WorkbookTableItemAt - * - * @param srcWorkbookTable the WorkbookTable to PUT - * @return the WorkbookTable - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTable put(WorkbookTable srcWorkbookTable) throws ClientException; - /** - * Gets the WorkbookTable - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTable - * - * @return the WorkbookTable - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTable get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequestBuilder.java deleted file mode 100644 index b9706a75b80..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Item At Request Builder. - */ -public interface IBaseWorkbookTableItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableItemAtRequest - * - * @return the IWorkbookTableItemAtRequest instance - */ - IWorkbookTableItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookTableItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableItemAtRequest instance - */ - IWorkbookTableItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequest.java deleted file mode 100644 index 022c67d010b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Range Request. - */ -public interface IBaseWorkbookTableRangeRequest { - - /** - * Patches the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequestBuilder.java deleted file mode 100644 index 9e7d68fd77a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Range Request Builder. - */ -public interface IBaseWorkbookTableRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableRangeRequest - * - * @return the IWorkbookTableRangeRequest instance - */ - IWorkbookTableRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRangeRequest instance - */ - IWorkbookTableRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequest.java deleted file mode 100644 index 91192b2afa6..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Reapply Filters Request. - */ -public interface IBaseWorkbookTableReapplyFiltersRequest { - - /** - * Creates the WorkbookTableReapplyFilters - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookTableReapplyFilters - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequestBuilder.java deleted file mode 100644 index dfd42fb8b72..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableReapplyFiltersRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Reapply Filters Request Builder. - */ -public interface IBaseWorkbookTableReapplyFiltersRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableReapplyFiltersRequest - * - * @return the IWorkbookTableReapplyFiltersRequest instance - */ - IWorkbookTableReapplyFiltersRequest buildRequest(); - - /** - * Creates the IWorkbookTableReapplyFiltersRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableReapplyFiltersRequest instance - */ - IWorkbookTableReapplyFiltersRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequest.java deleted file mode 100644 index 10ccf4acc4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTable; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Request. - */ -public interface IBaseWorkbookTableRequest extends IHttpRequest { - - /** - * Gets the WorkbookTable from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTable from the service - * - * @return the WorkbookTable from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTable get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookTable with a source - * - * @param sourceWorkbookTable the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookTable sourceWorkbookTable, final ICallback callback); - - /** - * Patches this WorkbookTable with a source - * - * @param sourceWorkbookTable the source object with updates - * @return the updated WorkbookTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTable patch(final WorkbookTable sourceWorkbookTable) throws ClientException; - - /** - * Posts a WorkbookTable with a new object - * - * @param newWorkbookTable the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookTable newWorkbookTable, final ICallback callback); - - /** - * Posts a WorkbookTable with a new object - * - * @param newWorkbookTable the new object to create - * @return the created WorkbookTable - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookTableRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookTableRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequestBuilder.java deleted file mode 100644 index e214b10f17b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRequestBuilder.java +++ /dev/null @@ -1,75 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequest; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableColumnRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableClearFiltersRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableConvertToRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableReapplyFiltersRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableDataBodyRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableHeaderRowRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Request Builder. - */ -public interface IBaseWorkbookTableRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookTableRequest instance - */ - IWorkbookTableRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookTableRequest instance - */ - IWorkbookTableRequest buildRequest(final java.util.List requestOptions); - - IWorkbookTableColumnCollectionRequestBuilder columns(); - - IWorkbookTableColumnRequestBuilder columns(final String id); - - IWorkbookTableRowCollectionRequestBuilder rows(); - - IWorkbookTableRowRequestBuilder rows(final String id); - - /** - * Gets the request builder for WorkbookTableSort - * - * @return the IWorkbookTableSortRequestBuilder instance - */ - IWorkbookTableSortRequestBuilder sort(); - - /** - * Gets the request builder for WorkbookWorksheet - * - * @return the IWorkbookWorksheetRequestBuilder instance - */ - IWorkbookWorksheetRequestBuilder worksheet(); - IWorkbookTableClearFiltersRequestBuilder clearFilters(); - IWorkbookTableConvertToRangeRequestBuilder convertToRange(); - IWorkbookTableReapplyFiltersRequestBuilder reapplyFilters(); - IWorkbookTableDataBodyRangeRequestBuilder dataBodyRange(); - IWorkbookTableHeaderRowRangeRequestBuilder headerRowRange(); - IWorkbookTableRangeRequestBuilder range(); - IWorkbookTableTotalRowRangeRequestBuilder totalRowRange(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequest.java deleted file mode 100644 index b1849f89991..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Add Request. - */ -public interface IBaseWorkbookTableRowAddRequest { - - void post(final ICallback callback); - - WorkbookTableRow post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableRowAddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableRowAddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableRowAddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequestBuilder.java deleted file mode 100644 index 6aed5a1b540..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowAddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowAddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Add Request Builder. - */ -public interface IBaseWorkbookTableRowAddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableRowAddRequest - * - * @return the IWorkbookTableRowAddRequest instance - */ - IWorkbookTableRowAddRequest buildRequest(); - - /** - * Creates the IWorkbookTableRowAddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowAddRequest instance - */ - IWorkbookTableRowAddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionPage.java deleted file mode 100644 index 1b2390992b8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Collection Page. - */ -public interface IBaseWorkbookTableRowCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequest.java deleted file mode 100644 index ee50036f490..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Collection Request. - */ -public interface IBaseWorkbookTableRowCollectionRequest { - - void get(final ICallback callback); - - IWorkbookTableRowCollectionPage get() throws ClientException; - - void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback); - - WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableRowCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableRowCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableRowCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequestBuilder.java deleted file mode 100644 index 1874841fa4e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCollectionRequestBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Collection Request Builder. - */ -public interface IBaseWorkbookTableRowCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookTableRowCollectionRequest buildRequest(); - - IWorkbookTableRowCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookTableRowRequestBuilder byId(final String id); - - IWorkbookTableRowAddRequestBuilder add(final Integer index, final com.google.gson.JsonElement values); - IWorkbookTableRowItemAtRequestBuilder itemAt(final Integer index); - IWorkbookTableRowCountRequestBuilder count(); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequest.java deleted file mode 100644 index 2b9c4670bd4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Count Request. - */ -public interface IBaseWorkbookTableRowCountRequest { - - /** - * Gets the Integer - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the Integer - * - * @return the Integer - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - Integer get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableRowCountRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableRowCountRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequestBuilder.java deleted file mode 100644 index feb5796aaae..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowCountRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowCountRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Count Request Builder. - */ -public interface IBaseWorkbookTableRowCountRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableRowCountRequest - * - * @return the IWorkbookTableRowCountRequest instance - */ - IWorkbookTableRowCountRequest buildRequest(); - - /** - * Creates the IWorkbookTableRowCountRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowCountRequest instance - */ - IWorkbookTableRowCountRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequest.java deleted file mode 100644 index a6692ce4f66..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRow; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Item At Request. - */ -public interface IBaseWorkbookTableRowItemAtRequest { - - /** - * Patches the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookTableRow srcWorkbookTableRow, final ICallback callback); - - /** - * Patches the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow with which to PATCH - * @return the WorkbookTableRow - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTableRow patch(WorkbookTableRow srcWorkbookTableRow) throws ClientException; - - /** - * Puts the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookTableRow srcWorkbookTableRow, final ICallback callback); - - /** - * Puts the WorkbookTableRowItemAt - * - * @param srcWorkbookTableRow the WorkbookTableRow to PUT - * @return the WorkbookTableRow - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTableRow put(WorkbookTableRow srcWorkbookTableRow) throws ClientException; - /** - * Gets the WorkbookTableRow - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTableRow - * - * @return the WorkbookTableRow - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookTableRow get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableRowItemAtRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableRowItemAtRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequestBuilder.java deleted file mode 100644 index 3f4920898c3..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowItemAtRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowItemAtRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Item At Request Builder. - */ -public interface IBaseWorkbookTableRowItemAtRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableRowItemAtRequest - * - * @return the IWorkbookTableRowItemAtRequest instance - */ - IWorkbookTableRowItemAtRequest buildRequest(); - - /** - * Creates the IWorkbookTableRowItemAtRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowItemAtRequest instance - */ - IWorkbookTableRowItemAtRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequest.java deleted file mode 100644 index 551b836260a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Range Request. - */ -public interface IBaseWorkbookTableRowRangeRequest { - - /** - * Patches the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableRowRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableRowRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequestBuilder.java deleted file mode 100644 index d85a051a341..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Range Request Builder. - */ -public interface IBaseWorkbookTableRowRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableRowRangeRequest - * - * @return the IWorkbookTableRowRangeRequest instance - */ - IWorkbookTableRowRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableRowRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableRowRangeRequest instance - */ - IWorkbookTableRowRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequest.java deleted file mode 100644 index 782f0483e4f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableRow; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Request. - */ -public interface IBaseWorkbookTableRowRequest extends IHttpRequest { - - /** - * Gets the WorkbookTableRow from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTableRow from the service - * - * @return the WorkbookTableRow from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableRow get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookTableRow with a source - * - * @param sourceWorkbookTableRow the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookTableRow sourceWorkbookTableRow, final ICallback callback); - - /** - * Patches this WorkbookTableRow with a source - * - * @param sourceWorkbookTableRow the source object with updates - * @return the updated WorkbookTableRow - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableRow patch(final WorkbookTableRow sourceWorkbookTableRow) throws ClientException; - - /** - * Posts a WorkbookTableRow with a new object - * - * @param newWorkbookTableRow the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookTableRow newWorkbookTableRow, final ICallback callback); - - /** - * Posts a WorkbookTableRow with a new object - * - * @param newWorkbookTableRow the new object to create - * @return the created WorkbookTableRow - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookTableRowRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookTableRowRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequestBuilder.java deleted file mode 100644 index c1e011da0a4..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableRowRequestBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRequest; -import com.microsoft.graph.requests.extensions.IWorkbookTableRowRangeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Row Request Builder. - */ -public interface IBaseWorkbookTableRowRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookTableRowRequest instance - */ - IWorkbookTableRowRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookTableRowRequest instance - */ - IWorkbookTableRowRequest buildRequest(final java.util.List requestOptions); - IWorkbookTableRowRangeRequestBuilder range(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequest.java deleted file mode 100644 index 8e879b5d151..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Apply Request. - */ -public interface IBaseWorkbookTableSortApplyRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableSortApplyRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookTableSortApplyRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableSortApplyRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequestBuilder.java deleted file mode 100644 index dc96786e778..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortApplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Apply Request Builder. - */ -public interface IBaseWorkbookTableSortApplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableSortApplyRequest - * - * @return the IWorkbookTableSortApplyRequest instance - */ - IWorkbookTableSortApplyRequest buildRequest(); - - /** - * Creates the IWorkbookTableSortApplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableSortApplyRequest instance - */ - IWorkbookTableSortApplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequest.java deleted file mode 100644 index 17cc311a3b0..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Clear Request. - */ -public interface IBaseWorkbookTableSortClearRequest { - - /** - * Creates the WorkbookTableSortClear - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookTableSortClear - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequestBuilder.java deleted file mode 100644 index 5a318c34cc5..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortClearRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Clear Request Builder. - */ -public interface IBaseWorkbookTableSortClearRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableSortClearRequest - * - * @return the IWorkbookTableSortClearRequest instance - */ - IWorkbookTableSortClearRequest buildRequest(); - - /** - * Creates the IWorkbookTableSortClearRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableSortClearRequest instance - */ - IWorkbookTableSortClearRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequest.java deleted file mode 100644 index afb684e393b..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Reapply Request. - */ -public interface IBaseWorkbookTableSortReapplyRequest { - - /** - * Creates the WorkbookTableSortReapply - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookTableSortReapply - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequestBuilder.java deleted file mode 100644 index f9dceafee70..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortReapplyRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Reapply Request Builder. - */ -public interface IBaseWorkbookTableSortReapplyRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableSortReapplyRequest - * - * @return the IWorkbookTableSortReapplyRequest instance - */ - IWorkbookTableSortReapplyRequest buildRequest(); - - /** - * Creates the IWorkbookTableSortReapplyRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableSortReapplyRequest instance - */ - IWorkbookTableSortReapplyRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequest.java deleted file mode 100644 index 2bc84c69426..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookTableSort; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Request. - */ -public interface IBaseWorkbookTableSortRequest extends IHttpRequest { - - /** - * Gets the WorkbookTableSort from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookTableSort from the service - * - * @return the WorkbookTableSort from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableSort get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookTableSort with a source - * - * @param sourceWorkbookTableSort the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookTableSort sourceWorkbookTableSort, final ICallback callback); - - /** - * Patches this WorkbookTableSort with a source - * - * @param sourceWorkbookTableSort the source object with updates - * @return the updated WorkbookTableSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableSort patch(final WorkbookTableSort sourceWorkbookTableSort) throws ClientException; - - /** - * Posts a WorkbookTableSort with a new object - * - * @param newWorkbookTableSort the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookTableSort newWorkbookTableSort, final ICallback callback); - - /** - * Posts a WorkbookTableSort with a new object - * - * @param newWorkbookTableSort the new object to create - * @return the created WorkbookTableSort - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookTableSort post(final WorkbookTableSort newWorkbookTableSort) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookTableSortRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookTableSortRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequestBuilder.java deleted file mode 100644 index 045bbc58160..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableSortRequestBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortRequest; -import com.microsoft.graph.models.extensions.WorkbookSortField; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortApplyRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortClearRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableSortReapplyRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Sort Request Builder. - */ -public interface IBaseWorkbookTableSortRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookTableSortRequest instance - */ - IWorkbookTableSortRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookTableSortRequest instance - */ - IWorkbookTableSortRequest buildRequest(final java.util.List requestOptions); - IWorkbookTableSortApplyRequestBuilder apply(final java.util.List fields, final Boolean matchCase, final String method); - IWorkbookTableSortClearRequestBuilder clear(); - IWorkbookTableSortReapplyRequestBuilder reapply(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequest.java deleted file mode 100644 index 11ab2a71937..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Total Row Range Request. - */ -public interface IBaseWorkbookTableTotalRowRangeRequest { - - /** - * Patches the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookTableTotalRowRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookTableTotalRowRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookTableTotalRowRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequestBuilder.java deleted file mode 100644 index 2836f829e6d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookTableTotalRowRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookTableTotalRowRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Table Total Row Range Request Builder. - */ -public interface IBaseWorkbookTableTotalRowRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookTableTotalRowRangeRequest - * - * @return the IWorkbookTableTotalRowRangeRequest instance - */ - IWorkbookTableTotalRowRangeRequest buildRequest(); - - /** - * Creates the IWorkbookTableTotalRowRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookTableTotalRowRangeRequest instance - */ - IWorkbookTableTotalRowRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequest.java deleted file mode 100644 index 2314e5acab8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequest.java +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Add Request. - */ -public interface IBaseWorkbookWorksheetAddRequest { - - void post(final ICallback callback); - - WorkbookWorksheet post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookWorksheetAddRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookWorksheetAddRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookWorksheetAddRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequestBuilder.java deleted file mode 100644 index 4d1c5883f59..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetAddRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetAddRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Add Request Builder. - */ -public interface IBaseWorkbookWorksheetAddRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookWorksheetAddRequest - * - * @return the IWorkbookWorksheetAddRequest instance - */ - IWorkbookWorksheetAddRequest buildRequest(); - - /** - * Creates the IWorkbookWorksheetAddRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetAddRequest instance - */ - IWorkbookWorksheetAddRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequest.java deleted file mode 100644 index 08db0999694..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Cell Request. - */ -public interface IBaseWorkbookWorksheetCellRequest { - - /** - * Patches the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookWorksheetCell - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookWorksheetCellRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookWorksheetCellRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequestBuilder.java deleted file mode 100644 index 169620d583a..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCellRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Cell Request Builder. - */ -public interface IBaseWorkbookWorksheetCellRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookWorksheetCellRequest - * - * @return the IWorkbookWorksheetCellRequest instance - */ - IWorkbookWorksheetCellRequest buildRequest(); - - /** - * Creates the IWorkbookWorksheetCellRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetCellRequest instance - */ - IWorkbookWorksheetCellRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionPage.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionPage.java deleted file mode 100644 index 49d01d7127f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionPage.java +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -import com.google.gson.JsonObject; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Collection Page. - */ -public interface IBaseWorkbookWorksheetCollectionPage extends IBaseCollectionPage { -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequest.java deleted file mode 100644 index e551d63d953..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequest.java +++ /dev/null @@ -1,59 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Collection Request. - */ -public interface IBaseWorkbookWorksheetCollectionRequest { - - void get(final ICallback callback); - - IWorkbookWorksheetCollectionPage get() throws ClientException; - - void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback); - - WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException; - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookWorksheetCollectionRequest expand(final String value); - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookWorksheetCollectionRequest select(final String value); - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookWorksheetCollectionRequest top(final int value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequestBuilder.java deleted file mode 100644 index 1c54c5d9df9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetCollectionRequestBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; - -import com.microsoft.graph.concurrency.*; -import com.microsoft.graph.core.*; -import com.microsoft.graph.models.extensions.*; -import com.microsoft.graph.models.generated.*; -import com.microsoft.graph.http.*; -import com.microsoft.graph.requests.extensions.*; -import com.microsoft.graph.requests.generated.*; -import com.microsoft.graph.options.*; -import com.microsoft.graph.serializer.*; - -import java.util.Arrays; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Collection Request Builder. - */ -public interface IBaseWorkbookWorksheetCollectionRequestBuilder extends IRequestBuilder { - - IWorkbookWorksheetCollectionRequest buildRequest(); - - IWorkbookWorksheetCollectionRequest buildRequest(final java.util.List requestOptions); - - IWorkbookWorksheetRequestBuilder byId(final String id); - - IWorkbookWorksheetAddRequestBuilder add(final String name); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequest.java deleted file mode 100644 index 1be717f7338..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequest.java +++ /dev/null @@ -1,46 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Protection Protect Request. - */ -public interface IBaseWorkbookWorksheetProtectionProtectRequest { - - void post(final ICallback callback); - - Void post() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookWorksheetProtectionProtectRequest select(final String value) ; - - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - IWorkbookWorksheetProtectionProtectRequest top(final int value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookWorksheetProtectionProtectRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequestBuilder.java deleted file mode 100644 index ee34f1fc164..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionProtectRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Protection Protect Request Builder. - */ -public interface IBaseWorkbookWorksheetProtectionProtectRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookWorksheetProtectionProtectRequest - * - * @return the IWorkbookWorksheetProtectionProtectRequest instance - */ - IWorkbookWorksheetProtectionProtectRequest buildRequest(); - - /** - * Creates the IWorkbookWorksheetProtectionProtectRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetProtectionProtectRequest instance - */ - IWorkbookWorksheetProtectionProtectRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequest.java deleted file mode 100644 index bd8e46dd70d..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtection; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Protection Request. - */ -public interface IBaseWorkbookWorksheetProtectionRequest extends IHttpRequest { - - /** - * Gets the WorkbookWorksheetProtection from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookWorksheetProtection from the service - * - * @return the WorkbookWorksheetProtection from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookWorksheetProtection get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookWorksheetProtection with a source - * - * @param sourceWorkbookWorksheetProtection the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection, final ICallback callback); - - /** - * Patches this WorkbookWorksheetProtection with a source - * - * @param sourceWorkbookWorksheetProtection the source object with updates - * @return the updated WorkbookWorksheetProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookWorksheetProtection patch(final WorkbookWorksheetProtection sourceWorkbookWorksheetProtection) throws ClientException; - - /** - * Posts a WorkbookWorksheetProtection with a new object - * - * @param newWorkbookWorksheetProtection the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection, final ICallback callback); - - /** - * Posts a WorkbookWorksheetProtection with a new object - * - * @param newWorkbookWorksheetProtection the new object to create - * @return the created WorkbookWorksheetProtection - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookWorksheetProtection post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookWorksheetProtectionRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookWorksheetProtectionRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequestBuilder.java deleted file mode 100644 index cfd75e9c14e..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionRequestBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequest; -import com.microsoft.graph.models.extensions.WorkbookWorksheetProtectionOptions; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionProtectRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Protection Request Builder. - */ -public interface IBaseWorkbookWorksheetProtectionRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookWorksheetProtectionRequest instance - */ - IWorkbookWorksheetProtectionRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookWorksheetProtectionRequest instance - */ - IWorkbookWorksheetProtectionRequest buildRequest(final java.util.List requestOptions); - IWorkbookWorksheetProtectionProtectRequestBuilder protect(final WorkbookWorksheetProtectionOptions options); - IWorkbookWorksheetProtectionUnprotectRequestBuilder unprotect(); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequest.java deleted file mode 100644 index 56c86cad9d9..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequest.java +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Protection Unprotect Request. - */ -public interface IBaseWorkbookWorksheetProtectionUnprotectRequest { - - /** - * Creates the WorkbookWorksheetProtectionUnprotect - * - * @param callback the callback to be called after success or failure - */ - void post(final ICallback callback); - - /** - * Creates the WorkbookWorksheetProtectionUnprotect - * - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - void post() throws ClientException; - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java deleted file mode 100644 index 04bd7277547..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionUnprotectRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Protection Unprotect Request Builder. - */ -public interface IBaseWorkbookWorksheetProtectionUnprotectRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookWorksheetProtectionUnprotectRequest - * - * @return the IWorkbookWorksheetProtectionUnprotectRequest instance - */ - IWorkbookWorksheetProtectionUnprotectRequest buildRequest(); - - /** - * Creates the IWorkbookWorksheetProtectionUnprotectRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetProtectionUnprotectRequest instance - */ - IWorkbookWorksheetProtectionUnprotectRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequest.java deleted file mode 100644 index 5cd03224b9f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Range Request. - */ -public interface IBaseWorkbookWorksheetRangeRequest { - - /** - * Patches the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookWorksheetRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookWorksheetRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookWorksheetRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequestBuilder.java deleted file mode 100644 index 351f07dbcb8..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Range Request Builder. - */ -public interface IBaseWorkbookWorksheetRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookWorksheetRangeRequest - * - * @return the IWorkbookWorksheetRangeRequest instance - */ - IWorkbookWorksheetRangeRequest buildRequest(); - - /** - * Creates the IWorkbookWorksheetRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetRangeRequest instance - */ - IWorkbookWorksheetRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequest.java deleted file mode 100644 index 0aa615b0a55..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequest.java +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookWorksheet; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.http.IHttpRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Request. - */ -public interface IBaseWorkbookWorksheetRequest extends IHttpRequest { - - /** - * Gets the WorkbookWorksheet from the service - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookWorksheet from the service - * - * @return the WorkbookWorksheet from the request - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookWorksheet get() throws ClientException; - - /** - * Delete this item from the service - * - * @param callback the callback when the deletion action has completed - */ - void delete(final ICallback callback); - - /** - * Delete this item from the service - * - * @throws ClientException if there was an exception during the delete operation - */ - void delete() throws ClientException; - - /** - * Patches this WorkbookWorksheet with a source - * - * @param sourceWorkbookWorksheet the source object with updates - * @param callback the callback to be called after success or failure - */ - void patch(final WorkbookWorksheet sourceWorkbookWorksheet, final ICallback callback); - - /** - * Patches this WorkbookWorksheet with a source - * - * @param sourceWorkbookWorksheet the source object with updates - * @return the updated WorkbookWorksheet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookWorksheet patch(final WorkbookWorksheet sourceWorkbookWorksheet) throws ClientException; - - /** - * Posts a WorkbookWorksheet with a new object - * - * @param newWorkbookWorksheet the new object to create - * @param callback the callback to be called after success or failure - */ - void post(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback); - - /** - * Posts a WorkbookWorksheet with a new object - * - * @param newWorkbookWorksheet the new object to create - * @return the created WorkbookWorksheet - * @throws ClientException this exception occurs if the request was unable to complete for any reason - */ - WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IBaseWorkbookWorksheetRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IBaseWorkbookWorksheetRequest expand(final String value); - -} - diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequestBuilder.java deleted file mode 100644 index 4a34427ccba..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetRequestBuilder.java +++ /dev/null @@ -1,75 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRequest; -import com.microsoft.graph.requests.extensions.IWorkbookChartCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookChartRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookNamedItemRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookPivotTableRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetProtectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookTableRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetCellRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequestBuilder; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; -import java.util.EnumSet; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Request Builder. - */ -public interface IBaseWorkbookWorksheetRequestBuilder extends IRequestBuilder { - /** - * Creates the request - * - * @return the IWorkbookWorksheetRequest instance - */ - IWorkbookWorksheetRequest buildRequest(); - - /** - * Creates the request with specific options instead of the existing options - * - * @param requestOptions the options for this request - * @return the IWorkbookWorksheetRequest instance - */ - IWorkbookWorksheetRequest buildRequest(final java.util.List requestOptions); - - IWorkbookChartCollectionRequestBuilder charts(); - - IWorkbookChartRequestBuilder charts(final String id); - - IWorkbookNamedItemCollectionRequestBuilder names(); - - IWorkbookNamedItemRequestBuilder names(final String id); - - IWorkbookPivotTableCollectionRequestBuilder pivotTables(); - - IWorkbookPivotTableRequestBuilder pivotTables(final String id); - - /** - * Gets the request builder for WorkbookWorksheetProtection - * - * @return the IWorkbookWorksheetProtectionRequestBuilder instance - */ - IWorkbookWorksheetProtectionRequestBuilder protection(); - - IWorkbookTableCollectionRequestBuilder tables(); - - IWorkbookTableRequestBuilder tables(final String id); - IWorkbookWorksheetCellRequestBuilder cell(final Integer row, final Integer column); - IWorkbookWorksheetRangeRequestBuilder range(); - IWorkbookWorksheetRangeRequestBuilder range(final String address); - IWorkbookWorksheetUsedRangeRequestBuilder usedRange(); - IWorkbookWorksheetUsedRangeRequestBuilder usedRange(final Boolean valuesOnly); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequest.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequest.java deleted file mode 100644 index 9cd93985d7f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequest.java +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.models.extensions.WorkbookRange; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; - -import com.microsoft.graph.concurrency.ICallback; -import com.microsoft.graph.concurrency.IExecutors; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseRequest; -import com.microsoft.graph.http.HttpMethod; -import com.microsoft.graph.options.Option; -import com.microsoft.graph.options.QueryOption; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Used Range Request. - */ -public interface IBaseWorkbookWorksheetUsedRangeRequest { - - /** - * Patches the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @param callback the callback to be called after success or failure - */ - void patch(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Patches the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange with which to PATCH - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange patch(WorkbookRange srcWorkbookRange) throws ClientException; - - /** - * Puts the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @param callback the callback to be called after success or failure - */ - void put(WorkbookRange srcWorkbookRange, final ICallback callback); - - /** - * Puts the WorkbookWorksheetUsedRange - * - * @param srcWorkbookRange the WorkbookRange to PUT - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange put(WorkbookRange srcWorkbookRange) throws ClientException; - /** - * Gets the WorkbookRange - * - * @param callback the callback to be called after success or failure - */ - void get(final ICallback callback); - - /** - * Gets the WorkbookRange - * - * @return the WorkbookRange - * @throws ClientException an exception occurs if there was an error while the request was sent - */ - WorkbookRange get() throws ClientException; - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - IWorkbookWorksheetUsedRangeRequest select(final String value); - - /** - * Sets the expand clause for the request - * - * @param value the expand clause - * @return the updated request - */ - IWorkbookWorksheetUsedRangeRequest expand(final String value); - -} diff --git a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequestBuilder.java deleted file mode 100644 index 5df3d683089..00000000000 --- a/src/main/java/com/microsoft/graph/requests/generated/IBaseWorkbookWorksheetUsedRangeRequestBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. -// ------------------------------------------------------------------------------ - -package com.microsoft.graph.requests.generated; -import com.microsoft.graph.requests.extensions.IWorkbookWorksheetUsedRangeRequest; - -import com.microsoft.graph.http.IRequestBuilder; -import com.microsoft.graph.options.Option; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The interface for the Base Workbook Worksheet Used Range Request Builder. - */ -public interface IBaseWorkbookWorksheetUsedRangeRequestBuilder extends IRequestBuilder { - - /** - * Creates the IWorkbookWorksheetUsedRangeRequest - * - * @return the IWorkbookWorksheetUsedRangeRequest instance - */ - IWorkbookWorksheetUsedRangeRequest buildRequest(); - - /** - * Creates the IWorkbookWorksheetUsedRangeRequest with specific options instead of the existing options - * - * @param requestOptions the options for the request - * @return the IWorkbookWorksheetUsedRangeRequest instance - */ - IWorkbookWorksheetUsedRangeRequest buildRequest(final java.util.List requestOptions); -} diff --git a/src/test/java/com/microsoft/graph/functional/PlannerTests.java b/src/test/java/com/microsoft/graph/functional/PlannerTests.java index 93d26eea342..632118c60bb 100644 --- a/src/test/java/com/microsoft/graph/functional/PlannerTests.java +++ b/src/test/java/com/microsoft/graph/functional/PlannerTests.java @@ -134,7 +134,7 @@ public void testUpdateTask() throws InterruptedException { IPlannerTaskRequest req = prb .tasks(planTask.id) .buildRequest(); - req.addHeader("If-Match", planTask.etag); + req.addHeader("If-Match", planTask.additionalDataManager().get("@odata.etag").getAsString()); req.patch(task); Thread.sleep(4000); @@ -190,8 +190,8 @@ public void testUpdateTaskDetailsChecklist() throws InterruptedException { .tasks(planTask.id) .details() .buildRequest(); - req.addHeader("If-Match", d.etag); - req.addHeader("If-None-Match", d.etag); + req.addHeader("If-Match", d.additionalDataManager().get("@odata.etag").getAsString()); + req.addHeader("If-None-Match", d.additionalDataManager().get("@odata.etag").getAsString()); req.patch(details); Thread.sleep(2000); @@ -230,8 +230,8 @@ public void testUpdateTaskDetailsReferences() { .tasks(planTask.id) .details() .buildRequest(); - req.addHeader("If-Match", d.etag); - req.addHeader("If-None-Match", d.etag); + req.addHeader("If-Match", d.additionalDataManager().get("@odata.etag").getAsString()); + req.addHeader("If-None-Match", d.additionalDataManager().get("@odata.etag").getAsString()); req.addHeader("Prefer", "return=representation"); PlannerTaskDetails updatedTaskDetails = req.patch(details); @@ -259,7 +259,7 @@ public void testUpdateTaskCompletion() throws InterruptedException { task.percentComplete = 50; IPlannerTaskRequest req = prb.tasks(planTask.id).buildRequest(); - req.addHeader("If-Match", planTask.etag); + req.addHeader("If-Match", planTask.additionalDataManager().get("@odata.etag").getAsString()); req.patch(task); Thread.sleep(4000); @@ -275,7 +275,7 @@ public void testUpdateTaskStartDate() throws InterruptedException { task.startDateTime = Calendar.getInstance(); IPlannerTaskRequest req = prb.tasks(planTask.id).buildRequest(); - req.addHeader("If-Match", planTask.etag); + req.addHeader("If-Match", planTask.additionalDataManager().get("@odata.etag").getAsString()); req.patch(task); Thread.sleep(2000); @@ -294,7 +294,7 @@ public void testUpdateTaskDueDate() throws InterruptedException { IPlannerTaskRequest req = prb.tasks(planTask.id).buildRequest(); planTask = prb.tasks(planTask.id).buildRequest().get(); - req.addHeader("If-Match", planTask.etag); + req.addHeader("If-Match", planTask.additionalDataManager().get("@odata.etag").getAsString()); req.patch(task); Thread.sleep(6000); @@ -322,8 +322,8 @@ public void testUpdateTaskCategories() { PlannerTask newTask = prb.tasks(planTask.id).buildRequest().get(); IPlannerTaskRequest req = prb.tasks(planTask.id).buildRequest(); - req.addHeader("If-Match", newTask.etag); - req.addHeader("If-None-Match", newTask.etag); + req.addHeader("If-Match", newTask.additionalDataManager().get("@odata.etag").getAsString()); + req.addHeader("If-None-Match", newTask.additionalDataManager().get("@odata.etag").getAsString()); req.addHeader("Prefer", "return=representation"); PlannerTask updatedTask = req.patch(task); @@ -341,8 +341,8 @@ public void testUpdatePlanDetails() { PlannerPlanDetails newDetails = prb.plans(planId).details().buildRequest().get(); IPlannerPlanDetailsRequest req = prb.plans(planId).details().buildRequest(); - req.addHeader("If-Match", newDetails.etag); - req.addHeader("If-None-Match", newDetails.etag); + req.addHeader("If-Match", newDetails.additionalDataManager().get("@odata.etag").getAsString()); + req.addHeader("If-None-Match", newDetails.additionalDataManager().get("@odata.etag").getAsString()); req.addHeader("Prefer", "return=representation"); PlannerPlanDetails updatedPlanDetails = req.patch(planDetails); @@ -359,7 +359,7 @@ public void testDeleteTask() { PlannerTask task = prb.tasks().buildRequest().post(newTask); IPlannerTaskRequest req = testBase.graphClient.planner().tasks(task.id).buildRequest(); - req.addHeader("If-Match", task.etag); + req.addHeader("If-Match", task.additionalDataManager().get("@odata.etag").getAsString()); req.delete(); } @@ -379,7 +379,7 @@ public void testUpdateBucket() { patchBucket.name = "RenamedBucket"; IPlannerBucketRequest req = prb.buckets(planBucket.id).buildRequest(); - req.addHeader("If-Match", planBucket.etag); + req.addHeader("If-Match", planBucket.additionalDataManager().get("@odata.etag").getAsString()); req.patch(patchBucket); PlannerBucket updatedBucket = prb.buckets(planBucket.id).buildRequest().get(); @@ -388,7 +388,7 @@ public void testUpdateBucket() { patchBucket.name = "Test Bucket"; IPlannerBucketRequest req2 = testBase.graphClient.planner().buckets(planBucket.id).buildRequest(); - req2.addHeader("If-Match", updatedBucket.etag); + req2.addHeader("If-Match", updatedBucket.additionalDataManager().get("@odata.etag").getAsString()); req2.patch(patchBucket); } @@ -401,7 +401,7 @@ public void testDeleteBucket() { PlannerBucket createdBucket = testBase.graphClient.planner().buckets().buildRequest().post(newBucket); IPlannerBucketRequest req = testBase.graphClient.planner().buckets(createdBucket.id).buildRequest(); - req.addHeader("If-Match", createdBucket.etag); + req.addHeader("If-Match", createdBucket.additionalDataManager().get("@odata.etag").getAsString()); req.delete(); } @@ -458,12 +458,12 @@ public static void tearDown() throws InterruptedException { //This may have updated since we last saw it PlannerTask task = testBase.graphClient.planner().tasks(planTask.id).buildRequest().get(); IPlannerTaskRequest taskReq = testBase.graphClient.planner().tasks(planTask.id).buildRequest(); - taskReq.addHeader("If-Match", task.etag); + taskReq.addHeader("If-Match", task.additionalDataManager().get("@odata.etag").getAsString()); taskReq.delete(); PlannerBucket bucket = testBase.graphClient.planner().buckets(planBucket.id).buildRequest().get(); IPlannerBucketRequest bucketReq = testBase.graphClient.planner().buckets(planBucket.id).buildRequest(); - bucketReq.addHeader("If-Match", bucket.etag); + bucketReq.addHeader("If-Match", bucket.additionalDataManager().get("@odata.etag").getAsString()); bucketReq.delete(); //Fails with 403 Forbidden diff --git a/src/test/java/com/microsoft/graph/serializer/AdditionalDataTests.java b/src/test/java/com/microsoft/graph/serializer/AdditionalDataTests.java index 5545009496a..6659446ff55 100644 --- a/src/test/java/com/microsoft/graph/serializer/AdditionalDataTests.java +++ b/src/test/java/com/microsoft/graph/serializer/AdditionalDataTests.java @@ -80,7 +80,7 @@ public void testHashMapChildAnnotationData() { String serializedObject = serializer.serializeObject(task); - assertEquals("{\"assignments\":{\"id\":{\"@odata.type\":\"#microsoft.graph.plannerAssignment\",\"orderHint\":\"!\",\"additionalData\":\"additionalValue\"}},\"@odata.type\":\"#microsoft.graph.plannerTask\"}", serializedObject); + assertEquals("{\"assignments\":{\"id\":{\"orderHint\":\"!\",\"additionalData\":\"additionalValue\"}}}", serializedObject); } @Test diff --git a/src/test/java/com/microsoft/graph/serializer/DefaultSerializerTests.java b/src/test/java/com/microsoft/graph/serializer/DefaultSerializerTests.java index 4e65910604f..4c1359cd61d 100644 --- a/src/test/java/com/microsoft/graph/serializer/DefaultSerializerTests.java +++ b/src/test/java/com/microsoft/graph/serializer/DefaultSerializerTests.java @@ -16,7 +16,7 @@ import com.microsoft.graph.models.extensions.Drive; import com.microsoft.graph.models.extensions.FileAttachment; import com.microsoft.graph.models.extensions.User; -import com.microsoft.graph.models.generated.BaseRecurrenceRange; +import com.microsoft.graph.models.extensions.RecurrenceRange; import com.microsoft.graph.models.generated.RecurrenceRangeType; public class DefaultSerializerTests { @@ -48,7 +48,7 @@ public void testRecurrenceRangeDeserialization() throws Exception { " \"recurrenceTimeZone\": \"China Standard Time\",\n" + " \"numberOfOccurrences\": 0\n" + "}"; - BaseRecurrenceRange baseRecurrenceRange = serializer.deserializeObject(source, BaseRecurrenceRange.class); + RecurrenceRange baseRecurrenceRange = serializer.deserializeObject(source, RecurrenceRange.class); assertNotNull(source); assertEquals(RecurrenceRangeType.NO_END, baseRecurrenceRange.type); assertEquals("2016-04-27", baseRecurrenceRange.startDate.toString()); @@ -61,7 +61,7 @@ public void testRecurrenceRangeDeserialization() throws Exception { public void testRecurrenceRangeSerialization() throws Exception { final String expected = "{\"type\":\"endDate\",\"startDate\":\"2016-04-25\",\"endDate\":\"2016-05-25\",\"recurrenceTimeZone\":\"PST\",\"numberOfOccurrences\":4}"; final DefaultSerializer serializer = new DefaultSerializer(new DefaultLogger()); - BaseRecurrenceRange brr = new BaseRecurrenceRange(); + RecurrenceRange brr = new RecurrenceRange(); brr.type = RecurrenceRangeType.END_DATE; brr.startDate = new DateOnly(2016, 4, 25); brr.endDate = new DateOnly(2016, 5, 25);